SPDXVersion: SPDX-2.1 DataLicense: CC0-1.0 SPDXID: SPDXRef-DOCUMENT DocumentName: project DocumentNamespace: http://spdx.org/spdxdocs/spdx-v2.1-46f1a0a8-9f6a-4fdc-b486-7a10dedb7714 Creator: Person: Anonymous () Creator: Organization: Anonymous () Creator: Tool: reuse-6.1.0 Created: 2026-10-27T09:48:46Z CreatorComment: This document was created automatically using available reuse information consistent with REUSE. Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-40852a449c8b0753ab5417d94bb5fb3b Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-73cc2fde0495f273ad8d47f33381c7ba Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-0518e74720aae44b21fd35ebaabcfa85 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-d059e4764645890d2d8dcda3d3cea269 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-0eb583029f0d69aef0a9bf90dbe2732e Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-fdb51e7787455fafb4e37c2a04b07b8a Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-50bbaddfef3ab0a9b4f2ebe1a15be3a6 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-543e73250e40c9e794276b6d242d5104 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-84184da62e9b04ac0012a04ece5a391c Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-f7105b222e56bab8c1838f9a93faa879 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-dc11bfc9ef33af2c8b9a467069ab745e Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-7bce7bd337a3be02bd719f6905bea5ae Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-5e1c8d0bfae47164485e13ae1690da7b Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-a5268bff3e210610a6f2273b7f668bd6 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-f7beacdd1c348464e877cae7147ee39b Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-d1a93b1df84fd0b8eaf503bbeb9ffa90 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-a9a2eb306539ef595d62fb66e6b5998d Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-423ea6600a88e7a6c344700f9f776ab0 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-318c931f832bd0dfa47b577533bbc853 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-4523000e61a681d9a84d56962efc7b12 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-833d62a382aade4b225719cb55cbaab1 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-fac2ad63b7cb7f061832dae6e1bc90f8 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-bc8045183becfad9256fe2d0fce509d4 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-f71bf5b0ff121c65f2eb399c5cfe2e1e Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-79ef1d9fdf4f9c967b94e74dca64b4b5 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-2668cb8d24a2ad7c1ef997b110a75ad9 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-c00a1eb8934328e2710569d08a7e8b92 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-8a28d1309eae0d2308b5784340d7cedc Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-a86fc532a95f1145f9810acc017c5c48 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-33f1aae8a6f1718d94f88145acf64374 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-f4e4a4ad0dd3c749320c1d5a1b05cf3f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-181cac5f89fcadd407d6a7336128f8a1 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-7768f800c4ed6713b5a30414ed130ced Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-4750558783387c2e1b09d061b181763f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-ff28e9a007185f5d0214650844d041f6 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-1a9f119054f10020651b308eb34195ad Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-9697c6edc45e2ba3bdbff0298dfebbeb Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-44c688ab48111c78b64f1c6d0d8526f4 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-967ebd6285af6f6bc27668430ac1237b Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-0157ac37f9c46ad8d9e691fa20e1b65d Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-64cd5188105c5900c4e9dd5c7ca8feed Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-5d44442be0453eb058ab10ca4ee4c96a Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-9d19d764efe570125a8632284c543106 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-61b58e8af0aa2e8d9782e38b05f7098a Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-a00e52b4385b17871444bc7157091146 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-e0968fa9105c6c9cbf969c92d8dcc826 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-433158eaa9a204af5bf32497bcd84bc6 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-315304e75e642de14fe1fb96b0d19de4 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-2543b0c200388e377733e00d73f92f65 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-067ffdc30366b9d2889f2955f4ce27fd Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-dc489de8748eface5bcd7d7850039c7f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-4523fa70625b9b57579bf7ff4d4c670c Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-43e8a8cc062704c73e2db7536c26123b Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-8c57cf05b2a50783d0143ca959d1a057 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-6928d8ecde5e8120ec6e0ed682353aa3 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-83367d32d420a1dd3b6995685e439536 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-8b649a867bce9e046d103551b3e4f5db Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-f96e76cfaccccea5d9f896144fe6328e Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-b6d2d07b4e548e9e3294514086896692 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-20d8b71b659ea243bb29bac1df108eb4 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-3c1dea5cd8e7148f37600e83dd90c36d Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-73e4c070c3dda990ac180cc79c47b93c Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-bad181100013c3713ec487196d573e20 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-f389b2f18ff3796397863f5906af8e43 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-ae42abdaa6c4d629f37ff8efa797858d Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-47e8e7e25c6de2363656287927e3c686 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-e67a609e08f6295265f7d7ed1d8a4194 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-42460e2a285542a3652ae14714a1543e Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-c03d3bc3406bc3a039d7bb0f162d2956 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-8fb7f3e3a71d2e4c529478a784dbf38f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-f5fd1ce1eb66013b66b54025e58cec43 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-2594611c04c8b29ffe1caed460466c6f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-745ec54a3b4a845540c40d605c419336 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-30968169b456345d08c0c4e4cbcf826f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-2679fb52a51fab6b414da5e5c8283367 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-c0e031f1526950ae58991d9144047952 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-2ee76e8948cab2032fdaaad1882e8afa Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-e8aa93d0eae3d65e203347ad4ecb43c1 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-231f25aa0b8be74028ab47151c1aabfa Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-596a18224021a44a5d90a03792a4444f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-c797fa8828e86fce8ec6fa8aaf918b4d Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-81f4f53a71af51519af5f5e0f36aac72 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-7f51f2e5299befaa49f107ac56e1aa4f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-29777c37e62e9540b034467e4cd79ae1 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-07b9af99c2050cc6fe8a4ebe7fe16657 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-4f468a04785e1a85682af39391057e1f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-e807d7efd46d6a7bace7344933b0a8e0 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-87df58b2583c3d66375474700a7e06d2 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-138e887e2cb2fa6f1bcdb04f855cc632 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-fe167c8ed47f7490ed51108e86c7503b Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-f242034627bb492ee113fd82bd7acabb Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-1c2d33d08c57b836386eab1afd6c334f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-fc9f13acbcb7c920aef90bc10f9316c3 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-018b96a1c202e4c2681a62e4f8445825 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-982c471f5d156be732a313dd130347e1 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-7f540042fc1620497d31f63752d48f89 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-4bff18c779d354019cbbd69ed60bda3a Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-abd50099b7072eda85ab1267eb408c5a Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-23904aff05b5f5c85363f513566dadca Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-88ba34b3f8b997f437ad67dde4f8bf38 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-2a4e15613a7317aeb40a76cadb908683 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-592b205aa74afeacb8bea112d2602bb9 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-eee21a77a304bcc7cdce98cac230c407 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-6d3f83f87bffcdffd41af964a13826db Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-9400a8d2b4fa2a6a03c5ee0afd800796 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-05262cc7b0ea931481d2871789e73ce4 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-ebebe677061a54c50b9f7af914e0e17e Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-edc210c56fbfc0cd2ecbd142d20ebf33 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-ed814c53ad490e9a635f604b182a2a21 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-c2adbe83ce8ab613afb631966e40212e Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-d6adb5c8b167a2e5cd77975ceea72ff9 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-8ee9a30b36cf65c6f01d3d55ef3b8fa7 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-57aca94de3ffa9db0133f099a29de174 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-2af3b52ff1e5d9c53dac12d3b6002e9e Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-5abe08b50b2d4745204d548f1a05150a Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-0e7b90522023aedab1ab76a91ecc3f42 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-a26e2245e7f5cad7b537f94279d5157f Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-4fda61dd2c56c1f7df52899e2aefb2cc Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-00643b28fa10be9e27ce00ca21407188 Relationship: SPDXRef-DOCUMENT DESCRIBES SPDXRef-6e086ee4617f3e1dbd1bb65b3591723c FileName: ./.claude/skills/analyze-optimize-front-end/SKILL.md SPDXID: SPDXRef-40852a449c8b0753ab5417d94bb5fb3b FileChecksum: SHA1: 52cde9712c5068b983986cdaa1871db673306ed5 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./.gitignore SPDXID: SPDXRef-73cc2fde0495f273ad8d47f33381c7ba FileChecksum: SHA1: 623e6565783601a9eb321cafd6317eb578399b3a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./CONTRIBUTING.md SPDXID: SPDXRef-0518e74720aae44b21fd35ebaabcfa85 FileChecksum: SHA1: fb128cfa344910e0ad3b74d43561728f72189c97 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./HAR_files/example-incidents-app-dist-build-mdc.har SPDXID: SPDXRef-d059e4764645890d2d8dcda3d3cea269 FileChecksum: SHA1: a13ed46fa82702c37deca0edcf93bf8c5be15cee LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: Copyright 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/ImageEditorContainer\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/core/Control\",\"sap/suite/ui/commons/library\",\"sap/ui/core/library\",\"sap/m/library\",\"./ImageEditor\",\"sap/m/OverflowToolbar\",\"sap/m/OverflowToolbarButton\",\"sap/m/OverflowToolbarToggleButton\",\"sap/m/ToggleButton\",\"sap/m/ToolbarSeparator\",\"sap/m/ToolbarSpacer\",\"sap/m/Label\",\"sap/m/Slider\",\"sap/m/Input\",\"sap/ui/model/json/JSONModel\",\"sap/m/Button\",\"sap/m/ResponsivePopover\",\"sap/m/List\",\"sap/m/StandardListItem\",\"sap/m/CustomListItem\",\"sap/m/FlexBox\",\"sap/m/FlexItemData\",\"sap/m/IconTabBar\",\"sap/m/IconTabFilter\",\"sap/ui/core/Icon\",\"sap/ui/core/HTML\",\"sap/m/Switch\",\"sap/suite/ui/commons/ControlProxy\",\"sap/base/Log\",\"sap/ui/unified/FileUploader\",\"sap/ui/base/ManagedObjectObserver\",\"sap/ui/core/ResizeHandler\",\"sap/ui/core/Core\",\"sap/ui/core/Lib\",\"sap/ui/model/type/Integer\",\"sap/ui/core/Theming\",\"./ImageEditorContainerRenderer\"],function(jQuery,t,e,o,i,r,s,a,n,l,p,h,d,u,g,c,m,_,I,f,y,T,C,b,S,M,E,R,O,P,L,B,w,A,v,F,x){\"use strict\";var G=v.getResourceBundleFor(\"sap.suite.ui.commons\");var H=i.InputType,z=i.ListType,D=e.ImageEditorMode,N=e.ImageEditorContainerMode,Z=e.ImageEditorContainerButton,k=o.ValueState,V=i.ListMode,U=i.ButtonType,K=i.FlexDirection,W=i.FlexRendertype,X=i.FlexJustifyContent,j=i.FlexAlignItems,Y=i.IconTabDensityMode,$=i.BackgroundDesign,J=i.SwitchType,q=o.TextAlign,Q=Object.freeze({WIDTH:{min:r.LIMITS.WIDTH_MIN,max:r.LIMITS.WIDTH_MAX,callback:\"_setWidth\"},HEIGHT:{min:r.LIMITS.HEIGHT_MIN,max:r.LIMITS.HEIGHT_MAX,callback:\"_setHeight\"},ROTATION:{min:r.LIMITS.ROTATION_MIN,max:r.LIMITS.ROTATION_MAX,callback:\"_rotate\"},FILTER:{callback:\"_applyCurrentFilter\"}}),tt=Object.freeze({CUSTOMSIZE:\"sap-icon://write-new-document\",ORIGINALSIZE:\"sap-icon://table-view\",ROTATELEFT:\"sap-icon://response\",ROTATERIGHT:\"sap-icon://forward\",CROPRECTANGLE:\"sap-icon://color-fill\",CROPELLIPSE:\"sap-icon://circle-task-2\",CROPCUSTOMSHAPE:\"sap-icon://add-favorite\",TRANSFORM:\"sap-icon://draw-rectangle\",FILTER:\"sap-icon://palette\",CROP:\"sap-icon://crop\",UNDO:\"sap-icon://undo\",DROPDOWN:\"sap-icon://slim-arrow-down\",ZONES:\"sap-icon://tag\",LOCK:\"sap-icon://locked\",RESET:\"sap-icon://reset\",FLIPVERTICAL:\"sap-icon://resize-vertical\",FLIPHORIZONTAL:\"sap-icon://resize-horizontal\",RELATIVE:\"sap-icon://resize\",ZOOMIN:\"sap-icon://zoom-in\",ZOOMOUT:\"sap-icon://zoom-out\",ZOOMFIT:\"sap-icon://popup-window\"});var et=t.extend(\"sap.suite.ui.commons.imageeditor.ImageEditorContainer\",{metadata:{library:\"sap.suite.ui.commons\",properties:{mode:{type:\"sap.suite.ui.commons.ImageEditorContainerMode\",defaultValue:N.Filter},enabledButtons:{type:\"sap.suite.ui.commons.ImageEditorContainerButton[]\",defaultValue:[Z.Filter,Z.Transform,Z.Crop]}},defaultAggregation:\"imageEditor\",aggregations:{imageEditor:{type:\"sap.suite.ui.commons.imageeditor.ImageEditor\",multiple:false,singularName:\"imageEditor\"},customToolbarControls:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"customToolbarControl\"},customResizeItems:{type:\"sap.suite.ui.commons.imageeditor.CustomSizeItem\",multiple:true,singularName:\"customResizeItem\"},customRectangleCropItems:{type:\"sap.suite.ui.commons.imageeditor.CustomSizeItem\",multiple:true,singularName:\"customRectangleCropItem\"},customEllipseCropItems:{type:\"sap.suite.ui.commons.imageeditor.CustomSizeItem\",multiple:true,singularName:\"customEllipseCropItem\"}}}});var ot=Object.freeze({NUM_KEPT_ITEMS:2});et.prototype.init=function(){var t={enabled:false,mode:null,zoom:100,transform:{keepAspectRatio:true,width:null,height:null,widthValueState:k.None,widthValueStateText:null,heightValueState:k.None,heightValueStateText:null,rotate:0,rotateValueState:k.None,rotateValueStateText:null,selectedTypeKey:\"Resize\",flipVertical:false,flipHorizontal:false,resizes:[{key:\"custom\",text:G.getText(\"IMGEDITOR_CUSTOM_SIZE\"),icon:tt.CUSTOMSIZE,unlockRatio:true},{key:\"original\",text:G.getText(\"IMGEDITOR_ORIGINAL_SIZE\"),icon:tt.ORIGINALSIZE}],rotates:[{key:\"90left\",text:G.getText(\"IMGEDITOR_ROTATE_90LEFT\"),rotate:-90,icon:tt.ROTATELEFT},{key:\"90right\",text:G.getText(\"IMGEDITOR_ROTATE_90RIGHT\"),rotate:90,icon:tt.ROTATERIGHT},{key:\"45left\",text:G.getText(\"IMGEDITOR_ROTATE_45LEFT\"),rotate:-45,icon:tt.ROTATELEFT},{key:\"45right\",text:G.getText(\"IMGEDITOR_ROTATE_45RIGHT\"),rotate:45,icon:tt.ROTATERIGHT}],flips:[{key:\"vertical\",text:G.getText(\"IMGEDITOR_FLIP_VERTICAL\"),icon:tt.FLIPVERTICAL,flipVertical:true,flipHorizontal:false},{key:\"horizontal\",text:G.getText(\"IMGEDITOR_FLIP_HORIZONTAL\"),icon:tt.FLIPHORIZONTAL,flipVertical:false,flipHorizontal:true}]},crop:{scaleCropArea:false,customShapeLoaded:false,zoom:100,zoomValueState:k.None,zoomValueStateText:null,width:null,widthValueState:k.None,widthValueStateText:null,height:null,heightValueState:k.None,heightValueStateText:null,keepAspectRatio:true,selectedTypeKey:\"Rectangle\",selectedType:null,enabled:true,areaRectangle:{x:10,y:10,width:80,height:80},types:[{key:\"Rectangle\",text:\"\",icon:tt.CROPRECTANGLE,apply:\"applyVisibleCrop\"},{key:\"Ellipse\",text:\"\",icon:tt.CROPELLIPSE,apply:\"applyVisibleCrop\"},{key:\"CustomShape\",text:\"\",icon:tt.CROPCUSTOMSHAPE,apply:\"applyVisibleCrop\"}],ratiosRectangle:[{key:\"custom\",text:G.getText(\"IMGEDITOR_CUSTOM_SIZE\"),icon:tt.CUSTOMSIZE,unlockRatio:true,relative:true},{key:\"original\",text:G.getText(\"IMGEDITOR_CROP_RATIO_ORIGINAL\"),width:null,height:null,icon:tt.ORIGINALSIZE,relative:true}],ratiosCircle:[{key:\"custom\",text:G.getText(\"IMGEDITOR_CUSTOM_SIZE\"),icon:tt.CUSTOMSIZE,unlockRatio:true,relative:true},{key:\"original\",text:G.getText(\"IMGEDITOR_CROP_RATIO_ORIGINAL\"),width:null,height:null,icon:tt.ORIGINALSIZE,relative:true}],ratiosCustomShape:[{key:\"custom\",text:G.getText(\"IMGEDITOR_CUSTOM_SIZE\"),icon:tt.CUSTOMSIZE,unlockRatio:true,relative:true},{key:\"original\",text:G.getText(\"IMGEDITOR_CROP_RATIO_ORIGINAL\"),callback:\"_setCustomShapeCropAreaRatio\",icon:tt.ORIGINALSIZE,relative:true}]},filter:{filterValueState:k.None,filterValueStateText:null,selectedFilter:null,filters:[{text:G.getText(\"IMGEDITOR_FILTER_BRIGHTNESS\"),type:\"brightness\",value:100,defaultValue:100,unit:\"%\",min:r.LIMITS.BRIGHTNESS_MIN,max:r.LIMITS.BRIGHTNESS_MAX},{text:G.getText(\"IMGEDITOR_FILTER_CONTRAST\"),type:\"contrast\",value:100,defaultValue:100,unit:\"%\",min:r.LIMITS.CONTRAST_MIN,max:r.LIMITS.CONTRAST_MAX},{text:G.getText(\"IMGEDITOR_FILTER_SATURATION\"),type:\"saturate\",value:100,defaultValue:100,unit:\"%\",min:r.LIMITS.SATURATE_MIN,max:r.LIMITS.SATURATE_MAX},{text:G.getText(\"IMGEDITOR_FILTER_GRAYSCALE\"),type:\"grayscale\",value:0,defaultValue:0,unit:\"%\",min:r.LIMITS.GRAYSCALE_MIN,max:r.LIMITS.GRAYSCALE_MAX},{text:G.getText(\"IMGEDITOR_FILTER_INVERT\"),type:\"invert\",value:0,defaultValue:0,unit:\"%\",min:r.LIMITS.INVERT_MIN,max:r.LIMITS.INVERT_MAX},{text:G.getText(\"IMGEDITOR_FILTER_SEPIA\"),type:\"sepia\",value:0,defaultValue:0,unit:\"%\",min:r.LIMITS.SEPIA_MIN,max:r.LIMITS.SEPIA_MAX}]},history:[],historyIndex:0};this._bFirstTimeRendered=true;this._oObserver=new B(this._onManagedObjectChange.bind(this));this._oObserver.observe(this,{properties:[\"enabledButtons\"],aggregations:[\"customToolbarControls\"]});this._oModel=new c(t);this._oThumbnailCanvas=document.createElement(\"canvas\");this._updateToolbarsContent();this[\"_setMode\"+this.getMode()]()};et.prototype.onBeforeRendering=function(){if(this._sResizeHandlerId){w.deregister(this._sResizeHandlerId)}};et.prototype.onAfterRendering=function(){var t=this;this._bIsSmallSize=this._isSmallSize();function e(){t._zoomToFit()}if(this._bFirstTimeRendered&&this.getImageEditor()){this._bFirstTimeRendered=false;x.attachApplied(e)}this._sResizeHandlerId=w.register(this,this._onResize.bind(this))};et.prototype.onExit=function(){if(this._sResizeHandlerId){w.deregister(this._sResizeHandlerId)}};et.prototype._onResize=function(){var t=this._isSmallSize();if(this._bIsSmallSize!==t){this._bIsSmallSize=t;this.rerender()}};et.prototype._isSmallSize=function(){var t=600;return this.$()[0]&&this.$().width()0)}else if(t.object===this){this._updateToolbarsContent()}};et.prototype._refreshImageSize=function(){if(!this.getImageEditor()||!this.getImageEditor().getLoaded()){return}var t=this.getImageEditor().getWidth(),e=this.getImageEditor().getHeight();this._oModel.setProperty(\"/transform/resizes/1/width\",t);this._oModel.setProperty(\"/transform/resizes/1/height\",e);this._oModel.setProperty(\"/crop/ratiosRectangle/1/width\",t);this._oModel.setProperty(\"/crop/ratiosRectangle/1/height\",e);this._oModel.setProperty(\"/crop/ratiosCircle/1/width\",t);this._oModel.setProperty(\"/crop/ratiosCircle/1/height\",e);this._updateCurrentSize(t,e)};et.prototype._refreshCropAreaSize=function(){var t=this.getImageEditor().getCropArea();if(!t){return}this._updateCropSize(Math.round(t.width),Math.round(t.height))};et.prototype._onImageLoaded=function(){var t=this.getImageEditor();this._resetValueStates();this._oModel.setProperty(\"/enabled\",!!t.getSrc());if(!t.getSrc()){this._changeOptionsPanelContent();return}this[\"_setMode\"+this.getMode()]();this._refreshImageSize();this._oModel.setProperty(\"/history\",[]);this._oModel.setProperty(\"/historyIndex\",0);this._zoomToFit();this._updateOrigThumbnail();this._resetCurrentPanel()};et.prototype._onCustomShapeLoaded=function(){var t=this.getImageEditor();if(t.getCustomShapeSrc()&&t.getLoaded()&&t.getMode()===D.CropCustomShape){this._setCustomShapeCropAreaRatio()}this._oModel.setProperty(\"/crop/customShapeLoaded\",!!t.getCustomShapeSrc())};et.prototype._onImageError=function(){this._resetValueStates();this._changeOptionsPanelContent();this._oModel.setProperty(\"/enabled\",false)};et.prototype._onCropAreaChange=function(t){this._resetValueStates();this._updateCropSize(Math.round(t.getParameter(\"cropArea\").width),Math.round(t.getParameter(\"cropArea\").height))};et.prototype._onHistoryChange=function(t){var e=t.getParameter(\"history\"),o=t.getParameter(\"index\");this._resetValueStates();this._refreshImageSize();e.push({noChange:\"NoChange\"});this._oModel.setProperty(\"/history\",e);this._oModel.setProperty(\"/historyIndex\",o)};et.prototype._onSizeChange=function(t){this._resetValueStates();this._updateCurrentSize(t.getParameter(\"width\"),t.getParameter(\"height\"));this._selectResizeCustomSizeItem(this.getImageEditor().getKeepResizeAspectRatio())};et.prototype._onZoomChange=function(t){var e=t.getParameter(\"zoom\");this._oModel.setProperty(\"/zoom\",e);this._refreshCropAreaSize()};et.prototype._updateCropSize=function(t,e){this._oModel.setProperty(\"/crop/width\",t);this._oModel.setProperty(\"/crop/height\",e)};et.prototype._updateCurrentSize=function(t,e){this._oModel.setProperty(\"/transform/width\",t);this._oModel.setProperty(\"/transform/height\",e)};et.prototype._updateOrigThumbnail=function(){var t=this.$(\"origThumbnail\"),e=this.getImageEditor(),o,i,r=this._oThumbnailCanvas.getContext(\"2d\");if(e.getWidth()>=e.getHeight()){o=300;i=Math.round(e.getHeight()*o/e.getWidth())}else{i=300;o=Math.round(e.getWidth()*i/e.getHeight())}this._oThumbnailCanvas.width=o;this._oThumbnailCanvas.height=i;r.clearRect(0,0,o,i);r.drawImage(e._oCanvas,0,0,o,i);t.attr({href:this._oThumbnailCanvas.toDataURL()});if(t[0]){t[0].setAttribute(\"viewBox\",\"0 0 \"+o+\" \"+i)}};et.prototype._getHeaderToolbar=function(){if(!this._oHeaderToolbar){this._oHeaderToolbar=new s({enabled:\"{/enabled}\"}).addStyleClass(\"sapSuiteUiCommonsImageEditorContainerHeaderToolbar\");this._oHeaderToolbar.setModel(this._oModel);this.addDependent(this._oHeaderToolbar)}return this._oHeaderToolbar};et.prototype._destroyDisabledToolbarButtons=function(){const t=this.getEnabledButtons();[Z.Filter,Z.Transform,Z.Crop].forEach(function(e){if(t.indexOf(e)===-1){if(e===Z.Filter){if(this._oFilterButton){this._oFilterButton.destroy();this._oFilterButton=null}if(this._oMobileFilterButton){this._oMobileFilterButton.destroy();this._oMobileFilterButton=null}}if(e===Z.Crop){if(this._oCropButton){this._oCropButton.destroy();this._oCropButton=null}if(this._oMobileCropButton){this._oMobileCropButton.destroy();this._oMobileCropButton=null}}if(e===Z.Transform){if(this._oTransformButton){this._oTransformButton.destroy();this._oTransformButton=null}if(this._oMobileTransformButton){this._oMobileTransformButton.destroy();this._oMobileTransformButton=null}}}}.bind(this))};et.prototype._updateToolbarsContent=function(){var t=this._getHeaderToolbar(),e=this._getMobileHeaderToolbar(),o=this._getMobileFooterToolbar(),i=this.getEnabledButtons(),r;t.removeAllContent();e.removeAllContent();o.removeAllContent();this._destroyDisabledToolbarButtons();this._getHistoryItems().forEach(function(e){t.addContent(e)});this._getMobileHistoryItems().forEach(function(t){o.addContent(t)});this._getZoomItems().forEach(function(e){t.addContent(e)});t.addContent(this._getToolbarSeparator());for(r=0;r0){e.addContent(this._getMobileHeaderToolbarSpacer())}this.getCustomToolbarControls().forEach(function(o){var i=new O,r=new O;this.addDependent(i);i.setAssociation(\"control\",o);t.addContent(i);this.addDependent(r);r.setAssociation(\"control\",o);e.addContent(r)},this)};et.prototype._getToolbarSpacer=function(){if(!this._oSpacer){this._oSpacer=new h({id:this.getId()+\"-spacer\"});this.addDependent(this._oSpacer)}return this._oSpacer};et.prototype._getMobileHeaderToolbarSpacer=function(){if(!this._oMobileHeaderSpacer){this._oMobileHeaderSpacer=new h({id:this.getId()+\"-mobileSpacer\"});this.addDependent(this._oMobileHeaderSpacer)}return this._oMobileHeaderSpacer};et.prototype._getMobileFooterToolbarSpacer=function(){if(!this._oMobileFooterSpacer){this._oMobileFooterSpacer=new h({id:this.getId()+\"-mobileFooterSpacer\"});this.addDependent(this._oMobileFooterSpacer)}return this._oMobileFooterSpacer};et.prototype._getMobileHeaderToolbar=function(){if(!this._oMobileHeaderToolbar){this._oMobileHeaderToolbar=new s({enabled:\"{/enabled}\",visible:false}).addStyleClass(\"sapSuiteUiCommonsImageEditorContainerMobileToolbar\");this.addDependent(this._oMobileHeaderToolbar);this._oObserver.observe(this._oMobileHeaderToolbar,{aggregations:[\"content\"]})}return this._oMobileHeaderToolbar};et.prototype._getMobileZoomToolbar=function(){if(!this._oMobileZoomToolbar){this._oMobileZoomToolbar=new s({enabled:\"{/enabled}\",content:[this._getMobileZoomInButton(),this._getMobileZoomLabel(),this._getMobileZoomOutButton(),this._getMobileZoomToFitButton(),this._getMobileScaleSwitch(),this._getMobileScaleLabel()]}).addStyleClass(\"sapSuiteUiCommonsImageEditorContainerMobileToolbar\");this._oMobileZoomToolbar.setModel(this._oModel);this.addDependent(this._oMobileZoomToolbar)}return this._oMobileZoomToolbar};et.prototype._getMobileFooterToolbar=function(){if(!this._oMobileFooterToolbar){this._oMobileFooterToolbar=new s({enabled:\"{/enabled}\"}).addStyleClass(\"sapSuiteUiCommonsImageEditorContainerMobileToolbar\");this._oMobileFooterToolbar.setModel(this._oModel);this.addDependent(this._oMobileFooterToolbar);if(this._oMobileFooterToolbar._applyContextClassFor){this._oMobileFooterToolbar._applyContextClassFor(\"footer\")}else{P.warning(\"ImageEditorContainer: _applyContextClassFor method doesn't exist, footer look is not applied on mobile footer toolbar\")}}return this._oMobileFooterToolbar};et.prototype._getHistoryPopover=function(){var t=this;if(!this._oHistoryPopover){this._oHistoryPopover=new _({title:{path:\"/history\",formatter:function(t){return G.getText(\"IMGEDITOR_HISTORY_TITLE\",[t.length-1])}},endButton:new m({text:G.getText(\"IMGEDITOR_HISTORY_CLOSE\"),press:function(){t._oHistoryPopover.close()}}),afterOpen:function(){var e=t._oModel.getProperty(\"/historyIndex\"),o=t._oHistoryList.getItems()[e];t._oHistoryList.setSelectedItem(o);o.focus()}});this._oHistoryList=new I({mode:V.SingleSelectMaster,selectionChange:function(e){var o=e.getParameter(\"listItem\"),i=o.getParent().indexOfItem(o);t._jumpToHistory(i)},items:{path:\"/history\",factory:this._historyItemFactory.bind(this)}});this._oHistoryPopover.setModel(this._oModel);this._oHistoryPopover.addContent(this._oHistoryList);this.addDependent(this._oHistoryPopover)}return this._oHistoryPopover};et.prototype._historyItemFactory=function(t,e){var o=this._oModel.getProperty(\"/history\").indexOf(e.getProperty()),i=e.getProperty(),r,s,a,n;switch(i.noChange||i.getMetadata().getName()){case\"sap.suite.ui.commons.imageeditor.RotateHistoryItem\":{s=G.getText(\"IMGEDITOR_ROTATE\");a=i.getDegrees();n=tt.TRANSFORM;break}case\"sap.suite.ui.commons.imageeditor.ResizeHistoryItem\":{s=G.getText(\"IMGEDITOR_RESIZE\");a=G.getText(\"IMGEDITOR_HISTORY_TEXT\",[i.getOldWidth()+\" x \"+i.getOldHeight(),i.getWidth()+\" x \"+i.getHeight()]);n=tt.TRANSFORM;break}case\"sap.suite.ui.commons.imageeditor.FlipHistoryItem\":{s=G.getText(\"IMGEDITOR_FLIP\");if(i.getVertical()&&i.getHorizontal()){a=G.getText(\"IMGEDITOR_FLIP_BOTH\");n=tt.FLIPHORIZONTAL}else{a=i.getVertical()?G.getText(\"IMGEDITOR_FLIP_VERTICAL\"):G.getText(\"IMGEDITOR_FLIP_HORIZONTAL\");n=i.getVertical()?tt.FLIPVERTICAL:tt.FLIPHORIZONTAL}break}case\"sap.suite.ui.commons.imageeditor.FilterHistoryItem\":{s=i.getType();s=s[0].toUpperCase()+s.slice(1);a=i.getValue();n=tt.FILTER;break}case\"sap.suite.ui.commons.imageeditor.CropRectangleHistoryItem\":case\"sap.suite.ui.commons.imageeditor.CropEllipseHistoryItem\":case\"sap.suite.ui.commons.imageeditor.CropCustomShapeHistoryItem\":{s=G.getText(\"IMGEDITOR_CROP\");a=G.getText(\"IMGEDITOR_HISTORY_TEXT\",[i.getOldWidth()+\" x \"+i.getOldHeight(),i.getWidth()+\" x \"+i.getHeight()]);n=tt.CROP;break}case\"NoChange\":{s=G.getText(\"IMGEDITOR_HISTORY_ORIGINAL\");a=G.getText(\"IMGEDITOR_HISTORY_ORIGINAL_TEXT\");n=tt.RESET;break}default:{break}}r=new f({title:s,description:a,icon:n,selected:{path:\"/historyIndex\",formatter:function(t){return o===t}}});return r};et.prototype._getHistoryItems=function(){if(!this._aHistoryItems){this._aHistoryItems=[this._getUndoButton(),this._getHistoryArrowButton()]}return this._aHistoryItems};et.prototype._getMobileHistoryItems=function(){if(!this._aMobileHistoryItems){this._aMobileHistoryItems=[this._getMobileUndoButton(),this._getMobileHistoryArrowButton()]}return this._aMobileHistoryItems};et.prototype._getUndoButton=function(){if(!this._oHistoryButton){this._oHistoryButton=this._createUndoButton(this.getId()+\"-undoButton\");this.addDependent(this._oHistoryButton)}return this._oHistoryButton};et.prototype._getMobileUndoButton=function(){if(!this._oMobileHistoryButton){this._oMobileHistoryButton=this._createUndoButton(this.getId()+\"-mobileUndoButton\");this.addDependent(this._oMobileHistoryButton)}return this._oMobileHistoryButton};et.prototype._createUndoButton=function(t){var e=this;return new a({id:t,type:U.Transparent,icon:tt.UNDO,enabled:{parts:[\"/history\",\"/historyIndex\"],formatter:function(t,e){return t.length>1&&e1}},press:e,tooltip:G.getText(\"IMGEDITOR_PANEL_HISTORY\")})};et.prototype._getZoomItems=function(){if(!this._aZoomItems){this._aZoomItems=[this._getZoomInButton(),this._getZoomLabel(),this._getZoomOutButton(),this._getZoomToFitButton()]}return this._aZoomItems};et.prototype._getZoomInButton=function(){if(!this._oZoomInButton){this._oZoomInButton=this._createZoomInButton(this.getId()+\"-zoominButton\");this.addDependent(this._oZoomInButton)}return this._oZoomInButton};et.prototype._getMobileZoomInButton=function(){if(!this._oMobileZoomInButton){this._oMobileZoomInButton=this._createZoomInButton(this.getId()+\"-mobileZoominButton\");this.addDependent(this._oMobileZoomInButton)}return this._oMobileZoomInButton};et.prototype._createZoomInButton=function(t){var e=this;return new a({id:t,type:U.Transparent,icon:tt.ZOOMIN,press:function(){var t=e.getImageEditor();t.zoomIn();e._oModel.setProperty(\"/zoom\",t.getZoomLevel());e._refreshCropAreaSize()},tooltip:G.getText(\"IMGEDITOR_PANEL_ZOOMIN\")})};et.prototype._getZoomLabel=function(){if(!this._oZoomLabel){this._oZoomLabel=this._createZoomLabel(this.getId()+\"-zoomLabel\");this.addDependent(this._oZoomLabel)}return this._oZoomLabel};et.prototype._getMobileZoomLabel=function(){if(!this._oMobileZoomLabel){this._oMobileZoomLabel=this._createZoomLabel(this.getId()+\"-mobileZoomLabel\");this.addDependent(this._oMobileZoomLabel)}return this._oMobileZoomLabel};et.prototype._createZoomLabel=function(t){return new d({id:t,text:{path:\"/zoom\",formatter:function(t){return t+\"%\"}}})};et.prototype._getZoomOutButton=function(){if(!this._oZoomOutButton){this._oZoomOutButton=this._createZoomOutButton(this.getId()+\"-zoomoutButton\");this.addDependent(this._oZoomOutButton)}return this._oZoomOutButton};et.prototype._getMobileZoomOutButton=function(){if(!this._oMobileZoomOutButton){this._oMobileZoomOutButton=this._createZoomOutButton(this.getId()+\"-mobileZoomoutButton\");this.addDependent(this._oMobileZoomOutButton)}return this._oMobileZoomOutButton};et.prototype._createZoomOutButton=function(t){var e=this;return new a({id:t,type:U.Transparent,icon:tt.ZOOMOUT,press:function(){var t=e.getImageEditor();t.zoomOut();e._oModel.setProperty(\"/zoom\",t.getZoomLevel());e._refreshCropAreaSize()},tooltip:G.getText(\"IMGEDITOR_PANEL_ZOOMOUT\")})};et.prototype._getZoomToFitButton=function(){if(!this._oZoomToFit){this._oZoomToFit=this._createZoomToFitButton(this.getId()+\"-zoomToFitButton\");this.addDependent(this._oZoomToFit)}return this._oZoomToFit};et.prototype._getMobileZoomToFitButton=function(){if(!this._oMobileZoomToFit){this._oMobileZoomToFit=this._createZoomToFitButton(this.getId()+\"-mobileZoomToFitButton\");this.addDependent(this._oMobileZoomToFit)}return this._oMobileZoomToFit};et.prototype._createZoomToFitButton=function(t){var e=this;return new a({id:t,type:U.Transparent,icon:tt.ZOOMFIT,press:e._zoomToFit.bind(e),tooltip:G.getText(\"IMGEDITOR_PANEL_ZOOMTOFIT\")})};et.prototype._getScaleSwitch=function(){if(!this._oScaleSwitch){this._oScaleSwitch=this._createScaleSwitch(this.getId()+\"-scaleSwitch\");this.addDependent(this._oScaleSwitch)}return this._oScaleSwitch};et.prototype._getMobileScaleSwitch=function(){if(!this._oMobileScaleSwitch){this._oMobileScaleSwitch=this._createScaleSwitch(this.getId()+\"-mobileScaleSwitch\");this.addDependent(this._oMobileScaleSwitch)}return this._oMobileScaleSwitch};et.prototype._createScaleSwitch=function(t){var e=this;return new R({id:t,type:J.AcceptReject,state:\"{/crop/scaleCropArea}\",visible:{path:\"/mode\",formatter:function(t){return t===\"Crop\"}},change:function(t){e._setScaleCropArea(t.getParameter(\"state\"))}}).addStyleClass(\"sapUiTinyMarginEnd\")};et.prototype._getScaleLabel=function(){if(!this._oScaleLabel){this._oScaleLabel=this._createScaleLabel(this.getId()+\"-scaleLabel\");this.addDependent(this._oScaleLabel)}return this._oScaleLabel};et.prototype._getMobileScaleLabel=function(){if(!this._oMobileScaleLabel){this._oMobileScaleLabel=this._createScaleLabel(this.getId()+\"-mobileScaleLabel\");this.addDependent(this._oMobileScaleLabel)}return this._oMobileScaleLabel};et.prototype._createScaleLabel=function(t){return new d({text:G.getText(\"IMGEDITOR_CROP_SCALE\"),labelFor:t,visible:{path:\"/mode\",formatter:function(t){return t===\"Crop\"}}})};et.prototype._getToolbarSeparator=function(){if(!this._oSeparator){this._oSeparator=new p({id:this.getId()+\"-separator\"});this.addDependent(this._oSeparator)}return this._oSeparator};et.prototype._getTransformButton=function(){if(!this._oTransformButton){this._oTransformButton=this._createTransformButton(this.getId()+\"-transformButton\");this.addDependent(this._oTransformButton)}return this._oTransformButton};et.prototype._getMobileTransformButton=function(){if(!this._oMobileTransformButton){this._oMobileTransformButton=this._createTransformButton(this.getId()+\"-mobileTransformButton\");this.addDependent(this._oMobileTransformButton)}return this._oMobileTransformButton};et.prototype._createTransformButton=function(t){return new n({id:t,icon:tt.TRANSFORM,type:U.Transparent,pressed:{path:\"/mode\",formatter:function(t){return t===N.Transform}},enabled:{path:\"/mode\",formatter:function(t){return t!==N.Transform}},press:this._onButtonPress.bind(this,this._setModeTransform.bind(this)),tooltip:G.getText(\"IMGEDITOR_PANEL_TRANSFORM\")})};et.prototype._getCropButton=function(){if(!this._oCropButton){this._oCropButton=this._createCropButton(this.getId()+\"-cropButton\");this.addDependent(this._oCropButton)}return this._oCropButton};et.prototype._getMobileCropButton=function(){if(!this._oMobileCropButton){this._oMobileCropButton=this._createCropButton(this.getId()+\"-mobileCropButton\");this.addDependent(this._oMobileCropButton)}return this._oMobileCropButton};et.prototype._createCropButton=function(t){return new n({id:t,icon:tt.CROP,type:U.Transparent,pressed:{path:\"/mode\",formatter:function(t){return t===N.Crop}},enabled:{path:\"/mode\",formatter:function(t){return t!==N.Crop}},press:this._onButtonPress.bind(this,this._setModeCrop.bind(this)),tooltip:G.getText(\"IMGEDITOR_PANEL_CROP\")})};et.prototype._getFilterButton=function(){if(!this._oFilterButton){this._oFilterButton=this._createFilterButton(this.getId()+\"-filterButton\");this.addDependent(this._oFilterButton)}return this._oFilterButton};et.prototype._getMobileFilterButton=function(){if(!this._oMobileFilterButton){this._oMobileFilterButton=this._createFilterButton(this.getId()+\"-mobileFilterButton\");this.addDependent(this._oMobileFilterButton)}return this._oMobileFilterButton};et.prototype._createFilterButton=function(t){return new n({id:t,icon:tt.FILTER,type:U.Transparent,pressed:{path:\"/mode\",formatter:function(t){return t===N.Filter}},enabled:{path:\"/mode\",formatter:function(t){return t!==N.Filter}},press:this._onButtonPress.bind(this,this._setModeFilter.bind(this)),tooltip:G.getText(\"IMGEDITOR_PANEL_FILTER\")})};et.prototype._getMobileApplyButton=function(){if(!this._oMobileApplyButton){this._oMobileApplyButton=new m({id:this.getId()+\"-mobileApplyButton\",text:G.getText(\"IMGEDITOR_APPLY\"),type:U.Default,press:this._applyPreview.bind(this)})}return this._oMobileApplyButton};et.prototype._changeOptionsPanelContent=function(t){var e=this._getOptionsPanel();e.removeAllItems();if(!this.getImageEditor()||!this.getImageEditor().getLoaded()||!t){return}t().forEach(function(t){e.addItem(t)})};et.prototype._onButtonPress=function(t){this.getImageEditor()._cancelPreview();t()};et.prototype._setModeTransform=function(t){this._changeOptionsPanelContent(this._getTransformPanelContent.bind(this));if(this.getImageEditor()){this.getImageEditor().setMode(D.Resize)}if(this.getMode()!==N.Transform){this.setProperty(\"mode\",N.Transform,true)}this._setTransformTypeByKey(t||\"Resize\");this._oModel.setProperty(\"/mode\",N.Transform)};et.prototype._setModeCrop=function(t){this._changeOptionsPanelContent(this._getCropPanelContent.bind(this));if(this.getImageEditor()){this._setCropTypeByKey(t||\"Rectangle\")}if(this.getMode()!==N.Crop){this.setProperty(\"mode\",N.Crop,true)}this._oModel.setProperty(\"/mode\",N.Crop);this._setScaleCropArea(this._oModel.getProperty(\"/crop/scaleCropArea\"))};et.prototype._setModeFilter=function(){this._changeOptionsPanelContent(this._getFilterPanelContent.bind(this));if(this.getImageEditor()){this.getImageEditor().setMode(D.Default)}if(this.getMode()!==N.Filter){this.setProperty(\"mode\",N.Filter,true)}this._resetFilterValues();this._selectFilterItem(0);this._oModel.setProperty(\"/mode\",N.Filter)};et.prototype._constraintValue=function(t,e,o){var i=o.getBinding(\"value\"),r=o.getBinding(\"valueState\"),s=o.getBinding(\"valueStateText\"),a;if(isNaN(t)||te.max){a=G.getText(\"IMGEDITOR_BAD_NUMBER\",[e.min,e.max]);t=this._oModel.getProperty(i.getPath())}if(a){this._oModel.setProperty(r.getPath(),k.Warning);this._oModel.setProperty(s.getPath(),a)}this._oModel.setProperty(i.getPath(),t);o.setValue(t);return t};et.prototype._onNumberInputChange=function(t,e){var o=e.getParameter(\"value\"),i=e.getParameter(\"newValue\"),r;this._resetValueStates();if(typeof o===\"number\"){r=o}else if(typeof i===\"number\"){r=i}else{r=parseInt(e.getParameter(\"value\")||e.getParameter(\"newValue\"),10)}r=this._constraintValue(r,t,e.getSource());this[t.callback](r)};et.prototype._setRatio=function(t,e){if(!this.getImageEditor()||!this.getImageEditor().getLoaded()){return}this.getImageEditor().setCropAreaByRatio(t,e);this._refreshCropAreaSize()};et.prototype._setCropAreaBySize=function(t,e){this.getImageEditor().setCropAreaBySize(t,e);this._refreshCropAreaSize()};et.prototype._setRatioByKey=function(t){if(t===\"Rectangle\"){this._setRatio(this._oModel.getProperty(\"/crop/ratiosRectangle/1/width\"),this._oModel.getProperty(\"/crop/ratiosRectangle/1/height\"))}else if(t===\"Ellipse\"){this._setRatio(1,1)}else if(t===\"CustomShape\"&&this.getImageEditor().getCustomShapeLoaded()){this._setCustomShapeCropAreaRatio()}};et.prototype._setCustomShapeCropAreaRatio=function(){this.getImageEditor().setCustomShapeCropAreaRatio();this._refreshCropAreaSize()};et.prototype._setTransformTypeByKey=function(t){var e=t===\"Resize\"?D.Resize:D.Default;if(t===\"Resize\"){this._refreshImageSize();this._selectResizeCustomSizeItem()}else if(t===\"Rotate\"){this._oModel.setProperty(\"/transform/rotate\",0)}else if(t===\"Flip\"){this._resetFlips()}this._oModel.setProperty(\"/transform/selectedTypeKey\",t);this._resetValueStates();if(this.getImageEditor()){this.getImageEditor()._cancelPreview();this.getImageEditor().setMode(e)}};et.prototype._setCropTypeByKey=function(t,e){var o=this._oModel.getProperty(\"/crop/types\").filter(function(e){return e.key===t})[0];this._setRatioByKey(t);this._oModel.setProperty(\"/crop/selectedTypeKey\",t);this._oModel.setProperty(\"/crop/selectedType\",o);if(this[\"_select\"+t+\"CropCustomSizeItem\"]){this[\"_select\"+t+\"CropCustomSizeItem\"](e)}this.getImageEditor().setMode(\"Crop\"+t);this._resetValueStates()};et.prototype._resetCurrentPanel=function(){this.getImageEditor().cancelPreview();switch(this.getMode()){case N.Transform:{this._setTransformTypeByKey(this._oModel.getProperty(\"/transform/selectedTypeKey\"));break}case N.Crop:{this._setCropTypeByKey(this._oModel.getProperty(\"/crop/selectedTypeKey\"));break}case N.Filter:{this._selectFilterItem(this._getSelectedFilterIndex());break}default:break}this._resetValueStates()};et.prototype._undo=function(){this.getImageEditor().undo();this._resetCurrentPanel()};et.prototype._redo=function(){this.getImageEditor().redo();this._resetCurrentPanel()};et.prototype._jumpToHistory=function(t){this.getImageEditor().jumpToHistory(t);this._resetCurrentPanel()};et.prototype._setZoom=function(t){this._oModel.setProperty(\"/zoom\",t);this.getImageEditor().zoom(t);this._refreshCropAreaSize()};et.prototype._setWidth=function(t){this.getImageEditor().setWidth(t,true);this._oModel.setProperty(\"/transform/height\",this.getImageEditor().getPreviewHeight());this._selectResizeCustomSizeItem(this.getImageEditor().getKeepResizeAspectRatio())};et.prototype._setHeight=function(t){this.getImageEditor().setHeight(t,true);this._oModel.setProperty(\"/transform/width\",this.getImageEditor().getPreviewWidth());this._selectResizeCustomSizeItem(this.getImageEditor().getKeepResizeAspectRatio())};et.prototype._setSize=function(t,e,o){if(o){t=this.getImageEditor().getWidth()*t;e=this.getImageEditor().getHeight()*e}this._updateCurrentSize(t,e);if(this.getImageEditor().getPreviewWidth()===t&&this.getImageEditor().getPreviewHeight()===e){return}this.getImageEditor().setSize(t,e,true)};et.prototype._rotate=function(t){t=t>r.LIMITS.ROTATION_MAX?r.LIMITS.ROTATION_MAX:t;t=t0&&t.getHeight()>0){i.push({width:t.getWidth(),height:t.getHeight(),text:t.getLabel(),icon:t.getIcon(),relative:t.getRelative()})}});t._oModel.setProperty(e.path,i)})};et.prototype._createGridListItem=function(t){return new y({type:z.Active,content:[t,new d({text:\"{text}\",wrapping:false,textAlign:q.Center,layoutData:[new C({growFactor:0,shrinkFactor:0,baseSize:\"auto\"})]}).addStyleClass(\"sapSuiteUiCommonsImageEditorContainerGridItemLabel\")]}).addStyleClass(\"sapSuiteUiCommonsImageEditorContainerGridItem\")};et.prototype._createGridItemRectShape=function(t,e){var o,i;if(t<100){t*=10;e*=10}else if(t>100){t/=10;e/=10}o=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");o.setAttribute(\"class\",\"sapSuiteUiCommonsImageEditorContainerGridItemHeaderContent\");o.setAttribute(\"viewBox\",\"-1 -1 \"+(t+2)+\" \"+(e+2));i=document.createElement(\"rect\");i.setAttribute(\"x\",\"0\");i.setAttribute(\"y\",\"0\");i.setAttribute(\"width\",t);i.setAttribute(\"height\",e);o.appendChild(i);return new E({content:(new XMLSerializer).serializeToString(o)})};et.prototype._createGridItemCircleShape=function(t,e){var o,i;t*=100;e*=100;o=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");o.setAttribute(\"class\",\"sapSuiteUiCommonsImageEditorContainerGridItemHeaderContent\");o.setAttribute(\"viewBox\",\"-\"+(t+2)+\" -\"+(e+2)+\" \"+(t*2+4)+\" \"+(e*2+4));i=document.createElement(\"ellipse\");i.setAttribute(\"cx\",\"0\");i.setAttribute(\"cy\",\"0\");i.setAttribute(\"rx\",t);i.setAttribute(\"ry\",e);o.appendChild(i);return new E({content:(new XMLSerializer).serializeToString(o)})};et.prototype._gridFilterItemFactory=function(t,e){var o,i,r;i=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");i.setAttribute(\"class\",\"sapSuiteUiCommonsImageEditorContainerGridItemHeaderContent sapSuiteUiCommonsImageEditorContainerGridItemHeaderFilterContent\");r=document.createElementNS(\"http://www.w3.org/2000/svg\",\"use\");r.setAttribute(\"href\",\"#\"+this.getId()+\"-origThumbnail\");r.setAttribute(\"filter\",\"url(#\"+this.getId()+\"-\"+e.getProperty(\"type\")+\")\");i.appendChild(r);o=new E({content:(new XMLSerializer).serializeToString(i)});return this._createGridListItem(o)};et.prototype._getTransformPanelContent=function(){var t=this;if(!this._oTransformToolbarContent){this._oTransformToolbarContent=[new u({min:r.LIMITS.ROTATION_MIN,max:r.LIMITS.ROTATION_MAX,showAdvancedTooltip:true,visible:{path:\"/transform/selectedTypeKey\",formatter:function(t){return t===\"Rotate\"}},value:{path:\"/transform/rotate\",mode:\"OneWay\"},liveChange:this._onNumberInputChange.bind(this,Q.ROTATION),progress:true,ariaLabelledBy:[this.getId()+\"-transformAngle\"]}).addStyleClass(\"sapSuiteUiCommonsImageEditorContainerMobileSlider\"),new b({tabDensityMode:Y.Compact,backgroundDesign:$.Transparent,headerBackgroundDesign:$.Transparent,expandable:false,select:function(e){var o=e.getParameter(\"key\");t._setTransformTypeByKey(o)},selectedKey:\"{/transform/selectedTypeKey}\",items:[new S({key:\"Resize\",text:G.getText(\"IMGEDITOR_RESIZE\"),content:[this._getResizeGridList(),new T({renderType:W.Bare,direction:K.Column,items:[new T({renderType:W.Bare,justifyContent:X.SpaceBetween,items:[new T({renderType:W.Bare,direction:K.Column,items:[new d({text:G.getText(\"IMGEDITOR_WIDTH\"),labelFor:this.getId()+\"-transformWidth\"}),new g({id:this.getId()+\"-transformWidth\",type:H.Number,textAlign:q Copyright 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n * This extension is for OVP Analytical cards delivered in 2208.\n */\nsap.ui.predefine(\"sap/insights/CardExtension\", [\"sap/ui/integration/Extension\",\"sap/ui/core/format/NumberFormat\",\"sap/fe/navigation/SelectionVariant\",\"sap/base/Log\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/library\",\"sap/m/library\",\"sap/ui/integration/util/Utils\",\"sap/m/DynamicDateUtil\",\"sap/fe/navigation/NavError\",\"sap/insights/utils/UrlGenerateHelper\",\"sap/insights/utils/AppConstants\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/Lib\",\"sap/insights/base/CacheData\",\"sap/insights/utils/InsightsUtils\",\"sap/m/MessageToast\",\"./CardHelper\"],function(e,t,r,a,i,n,s,o,f,l,c,u,p,g,m,v,d,h){\"use strict\";var b=n.ValueState;var S=s.ValueColor;var N={StateValues:{None:\"None\",Negative:\"Error\",Critical:\"Warning\",Positive:\"Success\"},ColorValues:{None:\"Neutral\",Negative:\"Error\",Critical:\"Critical\",Positive:\"Good\"}};var O=a.getLogger(\"sap.insights.CardExtension\");var y=m.getInstance();const P=\"refreshTime\";var C=function(e,t){return e&&e.indexOf(t,e.length-t.length)!==-1};var D=function(e,t){var r;if(t){r=t.None;if(e&&e.EnumMember){var a=e.EnumMember;if(C(a,\"Negative\")){r=t.Negative}else if(C(a,\"Critical\")){r=t.Critical}else if(C(a,\"Positive\")){r=t.Positive}}}return r};var I=function(e,t,r,a,i,n,s){var o={};o.EnumMember=\"None\";var f=Number.NEGATIVE_INFINITY;var l=Number.POSITIVE_INFINITY;if(!i&&i!==0&&(r||r===0)){i=r}if(!n&&n!==0&&(a||a===0)){n=a}if(!r&&r!==0){r=f}if(!a&&a!==0){a=l}if(e!==undefined){e=Number(e);if(C(t,\"Minimize\")||C(t,\"Minimizing\")){if((n||n===0)&&(a||a===0)){if(e<=parseFloat(n)){o.EnumMember=\"Positive\"}else if(e>parseFloat(a)){o.EnumMember=\"Negative\"}else{o.EnumMember=\"Critical\"}}}else if(C(t,\"Maximize\")||C(t,\"Maximizing\")){if((i||i===0)&&(r||r===0)){if(e>=parseFloat(i)){o.EnumMember=\"Positive\"}else if(e=parseFloat(i)&&e<=parseFloat(n)){o.EnumMember=\"Positive\"}else if(eparseFloat(a)){o.EnumMember=\"Negative\"}else{o.EnumMember=\"Critical\"}}}}return D(o,s)};var F=function(e,t,r,a){if(!e||!t){return}e=Number(e);if(!a&&e-t>=0){return\"Up\"}if(!r&&e-t<=0){return\"Down\"}if(t&&a&&e-t>=a){return\"Up\"}if(t&&r&&e-t<=r){return\"Down\"}};var E=function(e,r,a){var i=r||{},n=e;var s=t.getFloatInstance({minFractionDigits:i.NumberOfFractionalDigits,maxFractionDigits:i.NumberOfFractionalDigits,style:\"short\",showScale:true,shortRefNumber:n});var o=s.format(Number(n)),f=s.getScale()||\"\";if(!a&&o){var l=o[o.length-1];return l===f?o.slice(0,o.length-1):o}if(a&&i.percentageAvailable){return f+\"%\"}if(a&&!i.percentageAvailable){return f}return\"\"};var w=function(){var e=this.getCard().getCombinedParameters();return e._headerDataUrl};var M=function(){var e=this.getCard().getCombinedParameters();return e._contentDataUrl};var T=function(e,r,a){var i,n,s;if(isNaN(+e)){return\"\"}if(e==0){s=r}else{s=e}if(a.NumberOfFractionalDigits){n=+a.NumberOfFractionalDigits}if(r){i=r}else if(a.manifestTarget){i=a.manifestTarget}if(!n||n<0){n=0}else if(n>2){n=2}if(i){var o=t.getFloatInstance({minFractionDigits:n,maxFractionDigits:n,style:\"short\",showScale:true,shortRefNumber:s});return o.format(+i)}};var V=function(e,r,a){var i,n;if(isNaN(+e)){return\"\"}e=+e;if(a.NumberOfFractionalDigits){i=+a.NumberOfFractionalDigits}if(r){n=+r}else if(a.manifestTarget){n=+a.manifestTarget}if(!i||i<0){i=0}else if(i>2){i=2}if(n){var s=(e-n)/n;var o=t.getPercentInstance({style:\"short\",minFractionDigits:i,maxFractionDigits:i,showScale:true});return o.format(s)}};var x=function(e){var t={};t.EnumMember=\"None\";if(Number(e)===1){t.EnumMember=\"Negative\"}else if(Number(e)===2){t.EnumMember=\"Critical\"}else if(Number(e)===3){t.EnumMember=\"Positive\"}return D(t,N.ColorValues)};var U=function(){var e=arguments[arguments.length-1];var t=1;return I(arguments[0],e.sImprovementDirection,e.bIsDeviationLowBinding?arguments[t++]:e.deviationLow,e.bIsDeviationHighBinding?arguments[t++]:e.deviationHigh,e.bIsToleranceLowBinding?arguments[t++]:e.toleranceLow,e.bIsToleranceHighBinding?arguments[t++]:e.toleranceHigh,e.oCriticalityConfigValues)};var A=function(){var e=arguments[arguments.length-1];var t=1;return F(arguments[0],e.bIsRefValBinding?arguments[t++]:e.referenceValue,e.bIsDownDiffBinding?arguments[t++]:e.downDifference,e.bIsUpDiffBinding?arguments[t++]:e.upDifference)};var R=function(e){var t;var r=arguments[arguments.length-1],a=r&&r.propertyType;switch(a){case\"yearmonth\":var i=parseInt(e.substr(0,4),10),n=e.substr(4),s=parseInt(n,10)-1;t=p.getInstance(Date.UTC(i,s));break;case\"yearquarter\":var i=parseInt(e.substr(0,4),10),o=e.substr(4),f=parseInt(o,10)*3-2,s=f-1;t=p.getInstance(Date.UTC(i,s));break;case\"yearweek\":var i=parseInt(e.substr(0,4),10),l=e.substr(4),c=1+(parseInt(l,10)-1)*7;t=p.getInstance(Date.UTC(i,0,c));break;default:break}return t};var _=function(e,t){if(e){var r=o.parseJsonDateTime(e);return i.getInstance(t).format(p.getInstance(r),t.bUTC)}};var H=function(e){if(e){var r=t.getIntegerInstance({minFractionDigits:0,maxFractionDigits:1,decimalSeparator:\".\",style:\"short\"});return r.format(Number(e))}};var L=function(){var e=arguments[0],r=arguments[1],a=Number(arguments[2]),i=arguments[3];var n=t.getCurrencyInstance({style:\"short\",showMeasure:true,shortRefNumber:e.scaleFactor,minFractionDigits:e.numberOfFractionalDigits,maxFractionDigits:e.numberOfFractionalDigits});var s=n.format(a,i);if(!r){return s}else{var o=arguments[arguments.length-1];return s+\" (\"+o+\")\"}};var J=function(e,r,a,i,n){var s;if(e){e.maxFractionDigits=e.numberOfFractionalDigits||0;e.minFractionDigits=e.numberOfFractionalDigits||0;e.style=e.style||\"short\";e.showScale=e.showScale||true;e.shortRefNumber=e.scaleFactor;s=t.getFloatInstance(e)}var o=[];if(!isNaN(parseFloat(a))&&s){o.push(s.format(a))}else{o.push(a)}if(!isNaN(parseFloat(i))&&s){o.push(s.format(i))}else{o.push(i)}if(!isNaN(parseFloat(n))&&s){o.push(s.format(n))}else{o.push(n)}var f=\"\";if(r&&r.length){r.forEach(function(e){if(typeof e===\"number\"){f=f+o[e]}else{f=f+e}})}return f};var k=function(e,t){if(t===\"state\"){switch(String(e)){case\"1\":case\"Error\":return b.Error;case\"2\":case\"Warning\":return b.Warning;case\"3\":case\"Success\":return b.Success;default:return b.None}}if(t===\"color\"){switch(String(e)){case\"1\":case\"Error\":return S.Error;case\"2\":case\"Critical\":return S.Critical;case\"3\":case\"Good\":return S.Good;default:return S.Neutral}}};var B=function(e,t,r){var a;if(r&&r.indexOf(\"sap.ui.model.odata.v4.ODataModel\")>-1){a=this.getCard().getModel().getProperty(\"/content/value\")||this.getCard().getModel().getProperty(\"/value\")||[]}else{a=this.getCard().getModel().getProperty(\"/content/d/results\")||this.getCard().getModel().getProperty(\"/d/results\")||[]}var i=a.map(function(t){return t[e]});if(i.indexOf(\"0\")===-1){i.push(0)}return Math[t].apply(Math,i)};var j=function(e,t,r){var a=1;var i=2;var n=4;for(var s in e){if(e.hasOwnProperty(s)){var o=e[s];if(o instanceof Date){o=o.toJSON()}else if(Array.isArray(o)||o&&typeof o===\"object\"){o=JSON.stringify(o)}else if(typeof o===\"number\"||typeof o===\"boolean\"){o=o.toString()}if(o===\"\"){if(r&a){O.info(\"Semantic attribute \"+s+\" is an empty string and due to the chosen Suppression Behiavour is being ignored.\");continue}}if(o===null){if(r&i){throw new O.error(\"NavigationHandler.INVALID_INPUT\")}else{O.warning(\"Semantic attribute \"+s+\" is null and ignored for mix in to selection variant\");continue}}if(o===undefined){if(r&n){throw new O.error(\"NavigationHandler.INVALID_INPUT\")}else{O.warning(\"Semantic attribute \"+s+\" is undefined and ignored for mix in to selection variant\");continue}}if(typeof o===\"string\"||o instanceof String){t.addSelectOption(s,\"I\",\"EQ\",o)}else{throw new O.error(\"NavigationHandler.INVALID_INPUT\")}}}return t};var G=function(e,t,a){var i=new r(t);var n=new r;if(i.getFilterContextUrl()){n.setFilterContextUrl(i.getFilterContextUrl())}if(i.getParameterContextUrl()){n.setParameterContextUrl(i.getParameterContextUrl())}if(Array.isArray(e)){e.forEach(function(e){j(e,n,a)})}else{j(e,n,a)}var s=i.getParameterNames();var o;for(o=0;o.\")}}function f(e){return d.delete(l(e)).then(function(){return e}).catch(function(e){C(\"Failed to delete card\")})}function g(){var e=\"sap.insights is not enabled for this system.\";try{var t=window[\"sap-ushell-config\"];var r=t.apps.insights.enabled;var i=t.ushell.homeApp.component.name;var a=t.ushell.spaces.enabled;if(r&&i&&a){return Promise.resolve(true)}return Promise.reject(new Error(e))}catch(t){return Promise.reject(new Error(e))}}function C(e){c.error(e);throw new Error(e)}function v(e){var t=false;if(e&&e.parameters&&e.parameters.ibnTarget&&e.parameters.ibnTarget.semanticObject& Copyright 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n *//*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}.suiteUiCard{border:solid #808080 1px;min-height:43px}.suiteUiCardContainer{position:relative;overflow:hidden}.suiteUiCardIcon{width:32px;height:32px}.suiteUiCardTypeHolder{margin-left:5px}.suiteUiCardIconHolder{position:absolute;top:5px;left:5px}.suiteUiCardNameHolder{margin-top:3px;margin-left:47px}.suiteUiCardDescHolder{margin-left:47px}.suiteUiCardContent{margin-left:47px}.suiteUiCardType{width:100%}.suiteUiCardName{width:100%}.suiteUiCardDesc{width:100%}.sapCalculationBuilderInner{display:flex;align-items:center}.sapCalculationBuilderInner:focus{outline:none}.sapCalculationBuilderWrapItems .sapCalculationBuilderInner{flex-wrap:wrap}.sapCalculationBuilderInsideWrapper{overflow:auto;padding-bottom:0.5rem}.sapUiSizeCozy .sapCalculationBuilderInsideWrapper{padding-bottom:1rem}.sapUiSizeCozy .sapCalculationBuilderToolbar{margin-bottom:1rem}.sapCalculationBuilderToolbar{margin-bottom:0.5rem;height:3rem}.sapCalculationBuilderToolbar .sapMBtn{padding:0}.sapCalculationBuilderToolbar .sapMBtnInner{height:2rem}.sapCalculationBuilderToolbar .sapMBtnInner .sapMBtnIcon{line-height:30px;max-height:2rem}.sapUiSizeCompact .sapCalculationBuilderToolbar{height:3rem}.sapCalculationBuilderOverlay{width:100%;min-height:100%;background-color:#fff}.sapCalculationBuilderDelimiterLine{height:1px;background-color:#a8b3bd}.sapMListUl>.sapMLIB.sapMGHLI.sapCalculationBuilderSuggestionListHeader{height:auto;padding-top:0}.sapCalculationBuilderDisplayNone{display:none}.sapCalculationBuilderDelimiter{display:flex;width:0.5rem;min-width:0.5rem;height:3rem;align-self:stretch;align-items:center;justify-items:center;border:1px solid transparent;background:transparent;z-index:50;position:relative}.sapUiSizeCozy .sapCalculationBuilderDelimiter{width:auto}.sapCalculationBuilderDelimiterNewButton{display:none;left:-14px;width:32px;height:32px;position:absolute;border-radius:3px;z-index:10000;justify-content:center;align-items:center;cursor:pointer;outline:none;border:1px solid #0064d9;background-color:#fff;color:#0064d9}.sapCalculationBuilderDelimiterNewButton:hover{background-color:#eaecee}.sapCalculationBuilderDelimiterNewButtonIcon{pointer-events:none;line-height:34px;margin-left:9px}.ui-selectable-helper{border:1px dashed #788fa6;position:absolute;z-index:40}.sapCalculationBuilderWrapItems{position:relative}.sapCalculationBuilderWrapItems .sapCalculationBuilderSelected{flex-wrap:wrap}.sapCalculationBuilderSelected{display:flex;align-items:center}.sapCalculationBuilderDraggingSelectedClone{display:flex;align-items:center}.sapCalculationBuilderNavMainPage .sapMLIB{padding:0}.sapCalculationBuilderNavMainPage .sapMSLIImgIcon{font-size:1rem}.sapCalculationBuilderNavMainPage .sapMLIB.sapMSLI{height:4.5rem}.sapCalculationBuilderPopoverOperatorsButton .sapMBtn{padding:0}.sapCalculationBuilderPopoverOperatorsButton .sapMBtnInner{height:2rem}.sapCalculationBuilderPopoverOperatorsButton .sapMBtnContent{line-height:30px;font-size:1rem;font-weight:bold}.sapCalculationBuilderPopoverOperatorsButton .sapMBtnIcon{line-height:30px}.sapCalculationBuilderExpressionErrorIcon{color:#f53232;position:absolute;display:none;top:0;right:2px}.sapCalculationBuilderExpressionSAPFont{font-family:'SAP-icons'}.sapCalculationBuilderInput{border:1px solid #a8b3bd;padding:0.75rem;min-height:2.5rem;position:relative;user-select:text;box-sizing:border-box}.sapCalculationBuilderInput:focus{outline:none}.sapCalculationBuilderInput:focus::before{content:\"\";position:absolute;top:2px;left:2px;right:2px;bottom:2px;border:.125rem solid #0032a5;pointer-events:none}.sapUiSizeCompact .sapCalculationBuilderInput{padding:0.25rem;min-height:1.725rem}html.sap-phone .sapCalculationBuilderInput span,html.sap-tablet:not(.sap-desktop) .sapCalculationBuilderInput span{-webkit-user-select:text}.sapCalculationBuilderInputError.sapCalculationBuilderInput{border-color:#e90b0b;border-width:2px}.sapCalculationBuilderInputWrapper{background-color:#fff}.sapCalculationBuilderInputOuterWrapperMargin{margin-top:1rem}.sapCalculationBuilderInputToolbar{border:none;height:3rem}.sapCalculationBuilderInputToolbar .sapCalculationBuilderInputToolbarFunctionMenu{margin-left:0.75rem}.sapCalculationBuilderInputToolbar .sapCalculationBuilderInputToolbarMenuButtons .sapMBtnInner{height:2rem}.sapCalculationBuilderInputToolbar .sapCalculationBuilderInputToolbarMenuButtons .sapMBtnContent{line-height:30px}.sapCalculationBuilderInputToolbar .sapCalculationBuilderInputToolbarMenuButtons.sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner::after{height:30px;line-height:30px Copyright 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/KeyboardNavigator\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/base/Object\",\"./Group\",\"./Node\",\"./Line\",\"sap/ui/events/KeyCodes\",\"sap/ui/dom/containsOrEquals\",\"sap/base/Log\",\"sap/ui/core/Lib\"],function(jQuery,t,e,o,i,s,n,r,u){\"use strict\";var a={LEFT:\"left\",RIGHT:\"right\",UP:\"up\",DOWN:\"down\"};var l=/^on.*|setFocus|setItems$/;function h(t){var e,o=t.prototype;for(e in o){if(o.hasOwnProperty(e)&&typeof o[e]===\"function\"&&l.test(e)){o[e]=f(o[e])}}}function f(t){return function(){try{return t.apply(this,arguments)}catch(t){this._handleError(t)}return undefined}}var c=t.extend(\"sap.suite.ui.commons.networkgraph.KeyboardNavigator\",{constructor:function(e){t.apply(this,arguments);this._oGraph=e;this._aItems=[[]];this._iRows=0;this._iColumns=0;this._iPageSize=5;this._oFocus=null;this._oFocusPosition=null;this._oWrapperDom=null;this.isFromFullscreen=null}});c.prototype.getFocus=function(){var t=this._oGraph.getFocus();if(this._oFocus!==t){this._oFocus=t?{item:t.item,button:t.button}:null;this._oFocusPosition=null}if(this._oFocus!=null&&this._oFocus.item===null&&this._oFocus.button===null){return null}return this._oFocus?{item:this._oFocus.item,button:this._oFocus.button}:null};c.prototype.getFocusPosition=function(){var t=this.getFocus();if(!this._oFocusPosition){var e,o;this._oFocusPosition={iX:null,iY:null};if(!t){return this._oFocusPosition}for(o=0;o=0;f+=o?1:-1){r=e&&h>=0&&h=0&&l=i){break}}}if(i=-1&&h<=this._iRows&&l>=-1&&l<=this._iColumns);if(a&&a!==n){s.item=a;s.button=null;this._oGraph.setFocus(s);t.stopPropagation()}};c.prototype._handleArrow=function(t,e){if(this._ignoreEvent(t)||!this.getFocus()){return}this._moveItemFocus(t,e,true)};c.prototype._moveItemFocus=function(t,s,n){var r,u=s===a.LEFT&&t.key===\"Tab\",l,h,f;if(typeof s===\"string\"){l=this._findNextPosition(s)}else{l=s}h=this._getItemAtPosition(l);r={item:h,button:null};if(u&&h!==null){if(h instanceof o&&h.hasVisibleActionButtons()){f=h.getEnabledActionButtons();if(f.length>0){r.button=f[f.length-1]}}else if(h instanceof i&&h._hasVisibleActionButtons()){f=h._getEnabledActionButtons();if(f.length>0){r.button=f[f.length-1]}}else if(h instanceof e){r.button=e.BUTTONS.COLLAPSE}}if(h||!n){this._oGraph.setFocus(r)}if(t&&h){t.preventDefault();t.stopPropagation()}};c.prototype._getItemAtPosition=function(t){var e;if(!t||t.iX===null){return null}else{e=this._aItems[t.iY];return e?e[t.iX]:null}};c.prototype._findNextPosition=function(t){var e,o,i=true;if(this.getFocusPosition().iX===null){if(t===a.LEFT&&!this.isFromFullscreen){e=this._iColumns-1;o=this._iRows-1}else if(t===a.LEFT&&this.isFromFullscreen){e=0;o=0;i=false}else{e=0;o=0}if(this._aItems[o][e]!==null&&i){return{iX:e,iY:o}}}else{e=this.getFocusPosition().iX;o=this.getFocusPosition().iY}do{switch(t){case a.RIGHT:e+=1;if(e>=this._iColumns){o+=1;e=0}break;case a.LEFT:e-=1;if(e<0){o-=1;e=this._iColumns-1}break;case a.UP:o-=1;if(o<0&&e>0){e-=1;o=this._iRows-1}break;case a.DOWN:o+=1;if(o>=this._iRows&&e=0&&o=this._iRows){this.isFromFullscreen=false;return null}else{return{iX:e,iY:o}}};c.prototype._onCtrlA=function(t){if(this._ignoreEvent(t)){return}var o=true;this._forEach(function(t){if(t instanceof e){return false}if(!t.getSelected()){o=false;return true}return false});o=!o;this._forEach(function(t){if(!(t instanceof e)){t.setSelected(o)}});t.preventDefault();t.stopPropagation()};c.prototype._forEach=function(t){var e,o,i,s;for(o=0;o=2){if(this.getArrowOrientation()===p.Both){if(this.getArrowPosition()===a.Middle){f(p.ParentOf,a.Middle)}else{f(p.ChildOf,a.Start,\"arrow\");f(p.ParentOf,a.End,\"arrow1\")}}else{f()}}if(this._aNipples){var _=g?g:\"\";this._aNipples.forEach(function(t){o.openStart(\"path\");this.applyStyles(o,this.getStyleObject(_));o.class(\"sapSuiteUiCommonsNetworkLineNipple\");((l||\"\").split(\" \")||[]).forEach(t=>{o.class(t)});o.attr(\"d\",y(t.x,t.y,t.orientation));o.openEnd();o.close(\"path\")}.bind(this))}o.close(\"g\")};T.prototype._renderFocusWrapper=function(){var t=function(t){var e=this._createElement(\"path\",{d:this._createPath(t),class:\"sapSuiteUiCommonsNetworkLineFocus\"});this.$()[0].appendChild(e)}.bind(this);if(!this._bFocusRendered){t(c);t(-c);this._bFocusRendered=true}};T.prototype._resetLayoutData=function(){this._aNipples=null};T.prototype._createPath=function(t){if(!this.getSource()||!this.getTarget()){return}var e=[{x:this.getSource().getX(),y:this.getSource().getY()}],i=\"M\"+this.getSource().getX()+\",\"+this.getSource().getY(),r,s,n=this._isTopBottom(),a=n?\"x\":\"y\",h=n?\"getX\":\"getY\",p=this.getBends().concat([this.getTarget()]);for(var g=0;g0&&this._doesLineFragmentCrossCollapsedGroup(r)){r--}if(s(r)=h&&!this._doesLineFragmentCrossCollapsedGroup(p)){r=p}}}if(r<0||r>i-1){r=0}return{center:{x:e[r].getX(),y:e[r].getY()},apex:{x:e[r+1].getX(),y:e[r+1].getY()}}};T.prototype._doesLineFragmentCrossCollapsedGroup=function(t){var e=this.getParent(),i=this.getCoordinates()[t],r=this.getCoordinates()[t+1];return e.getGroups().some(function(t){return t.getCollapsed()&&o.doLineRectangleIntersect({p1:{x:Math.min(i.getX(),r.getX())+1,y:Math.min(i.getY(),r.getY())+1},p2:{x:Math.max(i.getX(),r.getX())-1,y:Math.max(i.getY(),r.getY())-1}},{p1:{x:t.getX(),y:t.getY()},p2:{x:t.getX()+t._iWidth,y:t.getY()+t._iHeight}})})};T.prototype._getArrowPoints=function(t,e){var i,r,s,n,h=[];t=t||this.getArrowOrientation();e=e||this.getArrowPosition();var u=function(u){var l=y;if(e===a.Middle){s={x:(r.apex.x-r.center.x)*f+r.center.x,y:(r.apex.y-r.center.y)*f+r.center.y}}else{if(!(this.getToNode()._oGroup&&this.getToNode()._oGroup.getCollapsed())&&this.getToNode().getShape()===g.Circle&&e===a.End){l+=this.getToNode()._getCircleSize()/2}else if(!(this.getFromNode()._oGroup&&this.getFromNode()._oGroup.getCollapsed())&&this.getFromNode().getShape()===g.Circle&&e===a.Start){l+=this.getFromNode()._getCircleSize()/2}i=o.getNormalizedVector(r,l);if(e===a.Start){s=r.center}else if(e===a.End){i=o.getRotatedVector(i,Math.PI);s=r.apex}s=o.getPointSum(s,i.apex)}n=o.getAngleOfVector(r);if(t===p.ChildOf){n+=Math.PI}h.push(o.getPointSum(s,o.getRotatedPoint(u,n)))}.bind(this);r=this._getArrowFragmentVector(e);if(this._isBothMiddleArrow()){u(m.Apex);u(m.Second);u(m.Third);u(S.Apex);u(S.Second);u(S.Third)}else{u(_.Apex);u(_.Second);u(_.Third)}return h};T.prototype._getAccessibilityLabel=function(){var t=this.getFromNode().getTitle();var e=t?t:this.getFromNode().getAltText();var o=this.getToNode().getTitle();var i=o?o:this.getToNode().getAltText();var r=this.getSelected()?v.getText(\"NETWORK_GRAPH_SELECTED_NODE\"):\"\";var s=v.getText(\"NETWORK_GRAPH_ACCESSIBILITY_LINE_LABEL\",[e,i])+\" \"+this.getTitle();s=s.trim();if(r){s+=\" \"+r}return s+\".\"+v.getText(\"NETWORK_GRAPH_ACCESSIBILITY_TOGGLE_STATE\")};T.prototype.getFromNode=function(){this._checkForProcessData();if(!this._oFrom&&this.getParent()){this._oFrom=this.getParent().getNodeByKey(this.getFrom())}return this._oFrom};T.prototype.getToNode=function(){this._checkForProcessData();if(!this._oTo&&this.getParent()){this._oTo=this.getParent().getNodeByKey(this.getTo())}return this._oTo};T.prototype.setSource=function(t){var e;if(this.getCoordinates().length===0){e=new i;this.addAggregation(\"coordinates\",e,true)}e=this.getCoordinates()[0];if(t.x||t.x===0){e.setX(t.x)}if(t.y||t.y===0){e.setY(t.y)}};T.prototype.getSource=function(){return this.getCoordinates()[0]};T.prototype.getTarget=function(){return this.getCoordinates().length>0?this.getCoordinates()[this.getCoordinates().length-1]:null};T.prototype.setTarget=function(t){var e;if(this.getCoordinates().length<2){e=new i;this.addAggregation(\"coordinates\",e,true)}e=this.getCoordinates()[this.getCoordinates().length-1];if(t.x||t.x===0){e.setX(t.x)}if(t.y||t.y===0){e.setY(t.y)}};T.prototype.getBends=function(){return this.getCoordinates().filter(function(t,e){return e>0&&e\",{class:t,css:{top:e.top,left:e.left,right:e.right,bottom:e.bottom}});g.append(o);s++}};var a=this.getParent(),h=a.$(\"divlinebuttons\"),g=a.$(\"linetooltip\"),u=a.$(\"linetooltipbuttons\");var l=this.getFromNode(),d=this.getToNode();var c=10;a._aShadedNodes=[];var f=l.getTitle();var y=f?f:l.getAltText();var _=''+y+\"\";if(this._isBothArrow()){_+=''+''+\"
\"}else if(this.getArrowOrientation()===p.ChildOf){_+=''+\"
\"}else if(this.getArrowOrientation()===p.ParentOf){_+=''+\"
\"}else{_+=''+\"
\"}var m=d.getTitle();var S=m?m:d.getAltText();_+=''+S+\"\";g.html(_);u.html(\"\");this.getActionButtons().forEach(function(t){this._appendActionButton({icon:t.getIcon(),enable:t.getEnabled(),title:t.getTitle(),id:t.getId(),click:function(e){t.firePress({buttonElement:e.target})}},u)}.bind(this));h.show();var C=t.y-g.outerHeight()/2,v=t.x-g.outerWidth()/2,T=C+g.outerHeight(),A=v+g.outerWidth();e(d,T,v+h.width());var w=e(l,C+g.height(),v),x=e(d,T,v+g.outerWidth()+c);if(a._isLayered()){var N={x:v,y:C};var L={x:A,y:C};var P={x:A,y:T};var E={x:v,y:T};var F=this.getCoordinates();for(var b=0;b \"+r.trimText(n,t)+\")\"};T.prototype._isInCollapsedGroup=function(){var t=this.getFromNode(),e=this.getToNode();return t._oGroup===e._oGroup&&t._isInCollapsedGroup()};T.prototype._isBothMiddleArrow=function(){return this.getArrowOrientation()===p.Both&&this.getArrowPosition()===a.Middle};T.prototype._isBothArrow=function(){return this.getArrowOrientation()===p.Both};T.prototype._isOnScreen=function(t,o,i,r){var s=this.getCoordinates(),n,a;for(n=1;n0,n=this.mEventRegistry.press;return t||e||i||r||n};L.prototype._render=function(t){var e=this.getParent(),i=e&&e._isUseNodeHtml();if(this._isIgnored()){return\"\"}t=t||{};if(t.mapRender){if(this._oGroup&&!this._oGroup.getVisible()||!this.getVisible()){return\"\"}}return i?this._renderHtml(t):this._renderSvg(t)};L.prototype._renderHtmlInfoIcon=function(t,e){t=t||{};e=e||{};var i=this.getStatusIcon(),s=this._convertToStyle(t,undefined,true),r=e.renderManager;r.openStart(\"div\");r.attr(\"id\",this._getElementId(e.idSufix)+\"-statusiconwrapper\");r.attr(\"title\",b.getText(\"NETWORK_GRAPH_COLLAPSED\"));this.applyStyles(r,this.getStyleObject(s));r.class(\"sapSuiteUiCommonsNetworkNodeDivInfoWrapper\").class(\"sapSuiteUiCommonsNetworkNodeInfoWrapper\");r.openEnd();r.openStart(\"div\").class(\"sapSuiteUiCommonsNetworkNodeDivInfoIcon\").class(\"sapSuiteUiCommonsNetworkGraphDivNodeIcon\").openEnd();this._renderHtmlIcon(i||\"sap-icon://hint\",null,null,null,null,r);r.close(\"div\");r.close(\"div\")};L.prototype._renderHtmlText=function(t,e,i,s,r){var n=()=>{r.openStart(\"span\");if(this.getNodeTitleBackground()){r.class(\"sapNodeTitleBackground\")}r.openEnd();r.text(t);r.close(\"span\");r.close(\"div\")};if(f.hasOwnProperty(s)){var o=c.SEMANTIC_CLASS_NAME.TEXT+s;this._renderHtmlElement(\"div\",{\"-webkit-line-clamp\":e===0?\"\":e},{class:\"sapSuiteUiCommonsNetworkGraphDivNodeText \"+(i||\"\")+(e===1?\" sapSuiteUiCommonsNetworkGraphDivTextBreakAll \":\" \")+o},r);n()}else if(!s){this._renderHtmlElement(\"div\",{\"-webkit-line-clamp\":e===0?\"\":e,color:s},{class:\"sapSuiteUiCommonsNetworkGraphDivNodeText \"+(i||\"\")+(e===1?\" sapSuiteUiCommonsNetworkGraphDivTextBreakAll \":\"\")},r);n()}else{{this._renderHtmlElement(\"div\",{\"-webkit-line-clamp\":e===0?\"\":e,color:s},{class:\"sapSuiteUiCommonsNetworkGraphDivNodeText \"+(i||\"\")+(e===1?\" sapSuiteUiCommonsNetworkGraphDivTextBreakAll \":\"\")},r);n()}}};L.prototype._renderHtmlTitle=function(t,e){var i=this.getTitle();var s=i?i:this.getAltText();if(s){this._renderHtmlText(s,this.getTitleLineSize(),\"sapSuiteUiCommonsNetworkGraphDivNodeTitleText sapSuiteUiCommonsNetworkGraphDivNodeTitle\",t,e);e.openStart(\"div\").style(\"clear\",\"both\").openEnd().close(\"div\")}};L.prototype._renderHtmlDescription=function(t,e){var i=this.getDescriptionLineSize(),s=this.getDescription();if(s&&i!=-1){this._renderHtmlText(s,i,\"sapSuiteUiCommonsNetworkGraphDivNodeDescription\",t,e)}};L.prototype._renderHtmlTitleAndDescription=function(t){this._renderHtmlTitle(null,t);this._renderHtmlDescription(null,t)};L.prototype._renderHtmlAttributes=function(t){var e=this.getVisibleAttributes();if(!t.renderManager){return}if(e.length>0){t.renderManager.openStart(\"div\").class(\"sapSuiteUiCommonsNetworkGraphDivNodeAttributes\").openEnd();e.forEach(function(e){this._renderClonedControl(t,e)}.bind(this));t.renderManager.close(\"div\")}};L.prototype._showDivActionButtons=function(t){var e=this,i=this.$(\"rightdivbuttons\"),s=this.$(\"leftdivbuttons\");if(t&&!this._bActionButtonsRendered){i.html(\"\");s.html(\"\");var r=0,n=0;if(this.getShowExpandButton()){this._appendActionButton({class:\"sapSuiteUiCommonsNetworkNodeActionCollapseIcon\",icon:this._getExpandIcon(true),enable:this._hasVisibleChildren(),title:this._oExpandState===v.EXPANDED?b.getText(\"NETWORK_GRAPH_EXPANDED\"):b.getText(\"NETWORK_GRAPH_COLLAPSED\"),id:this._getDomId(\"actionCollapse\"),click:this._expandClick.bind(this)},i);r++}if(this.getShowDetailButton()){var o=this.getTitle();this._appendActionButton({icon:\"sap-icon://menu2\",enable:this._hasDetailData()||(o?o:this.getAltText()),id:this._getDomId(\"actionDetail\"),title:b.getText(\"NETWORK_GRAPH_NODE_DETAILS\"),click:function(t){this._detailClick(t.target)}.bind(this)},i);if(document.getElementById(this._getDomId(\"actionDetail\"))){document.getElementById(this._getDomId(\"actionDetail\")).setAttribute(\"aria-haspopup\",\"dialog\")}r++}if(this.getShowActionLinksButton()){this._appendActionButton({icon:\"sap-icon://chain-link\",enable:this._hasActionLinks(),title:b.getText(\"NETWORK_GRAPH_NODE_LINKS\"),id:this._getDomId(\"actionLinks\"),click:function(t){this._linksClick(t.target)}.bind(this)},i);if(document.getElementById(this._getDomId(\"actionLinks\"))){document.getElementById(this._getDomId(\"actionLinks\")).setAttribute(\"aria-haspopup\",\"dialog\")}r++}for(var a=0;r+n=T){o=o===_.Left?_.Right:_.Left}var h=o===_.Right?i:s;e._appendActionButton({icon:t.getIcon(),enable:t.getEnabled(),title:t.getTitle(),id:t.getId(),click:function(i){t.firePress({buttonElement:i.target});setTimeout(function(){if(t&&t.getDomRef()){e.getParent().setFocus({item:t.getParent(),button:t.getDomRef()})}},0)}},h)})(this.getActionButtons()[a])}this._bActionButtonsRendered=true}var h=t?\"addClass\":\"removeClass\";this.$().find(\".sapSuiteUiCommonsNetworkGraphDivActionButtons\")[h](this.VISIBLE_ACTIONS_BUTTONS_CLASS)};L.prototype._getCorrectWidth=function(){var t=this._iWidth||this.getWidth()||\"auto\",e=\"\";if(this.getMaxWidth()){e=this.getMaxWidth()+\"px\"}if(t!==\"\"&&t!==\"auto\"){t+=\"px\"}return{width:t,maxWidth:e}};L.prototype._renderHtml=function(t){var e=this._getElementId(t.idSufix),i=this._isCircle(),s=this._getCorrectWidth(),r=this._getNodeClass(),n={id:e,\"data-sap-ui\":e,class:r};if(r.includes(\"sapSuiteUiCommonsNetworkBox\")&&this.getTooltip_AsString()){n[\"title\"]=this.getTooltip_AsString()}this._renderHtmlElement(\"div\",{width:i?s.width:\"\",\"max-width\":i?s.maxWidth:\"\",top:!this._bMainRender&&this.getY()?this.getY()+\"px\":\"\",left:!this._bMainRender&&this.getX()?this.getX()+\"px\":\"\",\"min-width\":y+\"px\"},n,t.renderManager);this.renderContent(t);t.renderManager.close(\"div\")};L.prototype._renderHtmlContent=function(t){t=t||{};var i=this._getElementId(t.idSufix),s=this._iHeight||this.getHeight()||I.Circle.HEIGHT,r=this._isCircle();var n=function(){var e=this.getContent();if(e){t.renderManager.openStart(\"div\",this.getId()+\"-contentwrapper\");t.renderManager.openEnd();this._renderClonedControl(t,e);t.renderManager.close(\"div\")}else{this.renderItemContent(t)}}.bind(this);let o=(t=\"\",e)=>{(t.split(\" \")||[]).forEach(t=>{e.class(t)})};let{style:a,class:h}=this._getStatusStyle({\"border-color\":e.ColorType.Focus},false);if(r){this._iCircleSize=this._iCircleSize||s;let{style:r,class:n}=this._getStatusStyle({\"border-color\":e.ColorType.Border});var l=this._convertToStyle({width:this._iCircleSize+\"px\",height:this._iCircleSize+\"px\"},r,true);let{style:d,class:p}=this._getStatusStyle({\"border-color\":e.ColorType.Background},false);let{style:u,class:c}=this._getStatusStyle({\"border-color\":e.ColorType.Border,\"background-color\":this.getSelected()?e.ColorType.SelectedBackground:\"\",\"border-width\":e.ColorType.BorderWidth,\"border-style\":e.ColorType.BorderStyle},false);t.renderManager.openStart(\"div\",i+\"-wrapperwithbuttons\");t.renderManager.class(\"sapSuiteUiCommonsNetworkGraphDivInnerWrapper\");o(n,t.renderManager);this.applyStyles(t.renderManager,this.getStyleObject(l));t.renderManager.openEnd();this.renderHtmlActionButtons(t);t.renderManager.openStart(\"div\",i+\"-wrapper\");this.applyStyles(t.renderManager,this.getStyleObject(u));t.renderManager.class(\"sapSuiteUiCommonsNetworkGraphDivInner\");o(c,t.renderManager);t.renderManager.openEnd();t.renderManager.openStart(\"div\");if(this.getTooltip_AsString()){t.renderManager.attr(\"title\",this.getTooltip_AsString())}t.renderManager.class(\"sapSuiteUiCommonsNetworkDivCircleWrapper\");t.renderManager.openEnd();this._renderHtmlInfoIcon({},t);t.renderManager.openStart(\"div\",i+\"-focus\");this.applyStyles(t.renderManager,this.getStyleObject(a));t.renderManager.class(\"sapSuiteUiCommonsNetworkDivFocus\");o(h,t.renderManager);t.renderManager.openEnd();t.renderManager.openStart(\"div\",i+\"-status\");this.applyStyles(t.renderManager,this.getStyleObject(d));t.renderManager.class(\"sapSuiteUiCommonsNetworkDivCircleStatus\");o(p,t.renderManager);t.renderManager.openEnd();this.renderItemContent(t);t.renderManager.close(\"div\");t.renderManager.close(\"div\");t.renderManager.close(\"div\");t.renderManager.close(\"div\");t.renderManager.close(\"div\");this._renderHtmlTitleAndDescription(t.renderManager)}else{var d=this._getCorrectWidth();let{style:s,class:r}=this._getStatusStyle({\"border-color\":e.ColorType.Border,\"background-color\":this.getSelected()?e.ColorType.SelectedBackground:\"\",\"border-width\":e.ColorType.BorderWidth,\"border-style\":e.ColorType.BorderStyle});var l=this._convertToStyle({width:d.width,\"max-width\":d.maxWidth?d.maxWidth:\"inherit\",\"min-width\":y+\"px\"},s,true);this.renderHtmlActionButtons(t);t.renderManager.openStart(\"div\",i+\"-wrapper\");this.applyStyles(t.renderManager,this.getStyleObject(l));t.renderManager.class(\"sapSuiteUiCommonsNetworkGraphDivInner\");o(r,t.renderManager);t.renderManager.openEnd();t.renderManager.openStart(\"div\",i+\"-focus\");this.applyStyles(t.renderManager,this.getStyleObject(a));t.renderManager.class(\"sapSuiteUiCommonsNetworkDivFocus\");o(h,t.renderManager);t.renderManager.openEnd();t.renderManager.close(\"div\");let{style:u,class:c}=this._getStatusStyle({\"background-color\":e.ColorType.Background},false);var p=this._getColor(this.getSelected()?e.ColorType.Content:e.ColorType.HeaderContent);t.renderManager.openStart(\"div\",i+\"-header\");this.applyStyles(t.renderManager,this.getStyleObject(u));t.renderManager.class(\"sapSuiteUiCommonsNetworkGraphDivHeader\");o(c,t.renderManager);if(this._hasHeaderContent()){t.renderManager.class(\"sapSuiteUiCommonsNetworkGraphDivHeaderColor\")}if(!this._hasAdditionalContent()){t.renderManager.class(\"sapSuiteUiCommonsNetworkGraphDivHeaderOnly\")}t.renderManager.openEnd();if(this._showHeaderCheckBox()){this._renderClonedControl(t,this._getHeaderCheckbox())}this._renderHtmlTitleIcon(\"sapSuiteUiCommonsNetworkGraphDivNodeIconTitle\",t.renderManager);this._renderHtmlTitle(p,t.renderManager);this._renderHtmlStatusIcon(\"sapSuiteUiCommonsNetworkGraphDivNodeIconStatus\",t.renderManager);t.renderManager.close(\"div\");n();t.renderManager.close(\"div\");this._renderHtmlInfoIcon({},t)}};L.prototype._getHeaderCheckbox=function(){var t=this.getAggregation(\"_checkBox\"),e=this;if(!t){t=new a(this.getId()+\"-checkbox\").addStyleClass(\"sapSuiteUiCommonsNetworkGraphHeaderCheckboxInner\");t.addEventDelegate({onAfterRendering:function(){t.$().on(\"mousedown\",function(i){var s=!t.getSelected();t.setSelected(s);e.fireHeaderCheckBoxPress({checked:s});i.stopPropagation()})}});this.setAggregation(\"_checkBox\",t,true)}return t};L.prototype._renderHtmlStatusIcon=function(t,i){var s=k[this.getStatus()],r=this.getIconSize()?'style=\"font-size:'+this.getIconSize()+'px\"':\"\",{style:n,class:o}=this._getStatusStyle({color:this._isBox()?e.ColorType.HeaderContent:e.ColorType.Content},false);if(s){t=t+\" \"+o;i.openStart(\"div\");this.applyStyles(i,this.getStyleObject(n));t.split(\" \").forEach(function(t){if(t){i.class(t)}});i.openEnd();this._renderHtmlIcon(s,this.getStatus(),null,r,null,i);i.close(\"div\")}};L.prototype._renderHtmlTitleIcon=function(t,i){var s=this.getIcon(),r=this.getImage(),n=this.getIconSize()?'style=\"font-size:'+this.getIconSize()+'px\"':\"\",o;var{style:a,class:h}=this._getStatusStyle({color:this._isBox()?e.ColorType.HeaderContent:e.ColorType.Content},false);t=(t||\"\")+\" sapSuiteUiCommonsNetworkGraphDivNodeTitleText sapSuiteUiCommonsNetworkGraphDivNodeIcon \"+h;if(r){o=this._getImageSize();this._renderHtmlElement(\"img\",{width:o.width+\"px\",height:o.height+\"px\"},{src:r.getSrc(),class:\"sapSuiteUiCommonsNetworkGraphDivNodeImage\"},i)}else if(s){i.openStart(\"div\");this.applyStyles(i,this.getStyleObject(a));t.split(\" \").forEach(function(t){if(t){i.class(t)}});i.openEnd();this._renderHtmlIcon(s,null,null,n,null,i);i.close(\"div\")}};L.prototype._renderHtmlBoxContent=function(t){var i=this._hasAdditionalContent(),s=this._getElementId(t.idSufix);if(i){t.renderManager.openStart(\"div\",s+\"-additionalwarpper\");t.renderManager.class(\"sapSuiteUiCommonsNetworkGraphDivAdditionalContent\").openEnd();var r=this._getColor(e.ColorType.Content);this._renderHtmlDescription(r,t.renderManager);this._renderHtmlAttributes(t);t.renderManager.close(\"div\")}};L.prototype._renderHtmlCircleContent=function(t){this._renderHtmlTitleIcon(\"sapSuiteUiCommonsNetworkGraphDivNodeCircleIcon\",t.renderManager)};L.prototype._renderSvg=function(t){t=t||{};var e=t.renderManager,i=this._getElementId(t.idSufix),s=this._getNodeClass(),r={id:i,\"data-sap-ui\":i,nodeid:n(this.getKey()),class:s};if(s.includes(\"sapSuiteUiCommonsNetworkBox\")&&this.getTooltip_AsString()){r[\"title\"]=this.getTooltip_AsString()}if(!e){var o=this._renderControl(\"g\",r,false);o+=this._renderControl(\"g\",{id:i+\"-wrapper\",class:\"sapSuiteUiCommonsNetworkNodeShape\"},false);o+=this._renderContent(t);o+=\"\";o+=\"\";return o}this._renderControl(\"g\",r,false,e);this._renderControl(\"g\",{id:i+\"-wrapper\",class:\"sapSuiteUiCommonsNetworkNodeShape\"},false,e);var a=this._renderContent(t);e.close(\"g\");e.close(\"g\");if(a&&typeof a===\"string\"){return a}};L.prototype._renderSvgContent=function(t){t=t||{};var e=t.renderManager;var i=this.getParent()._bIsRtl,s,r;if(this._isCircle()){var n=this._iCircleSize/8,o=this._iCircleSize/5.3;s=i?this._getCirclePosition().x+this._iCircleSize-n:this._getCirclePosition().x+n;r=this.getY()+o}else{s=this.getX();r=this.getY()}if(!e){var a=this._isBox()?this._renderBox(t):this._renderCircle(t);a+=this.renderStatusIcon({x:s-this.getX(),y:r-this.getY()});return a}var h=this._isBox()?this._renderBox(t):this._renderCircle(t);this.renderStatusIcon({x:s-this.getX(),y:r-this.getY(),renderManager:e});if(h&&typeof h===\"string\"){return h}};L.prototype._renderContent=function(t){return this.renderContent(t)};L.prototype._renderCircleContent=function(t){var i=this._iCircleSize,s=this.getParent()._bIsRtl,r=this.getImage(),n,a=this.getX(),h=this.getY();var l,d,p,u,c,g,_,S;t=t||{};var f=t.renderManager;d=this.getTitle();p=d?d:this.getAltText();if(this._displayImage(r)){n=this._getImageSize();l={\"xlink:href\":r.getSrc(),x:a+this._iWidth/2-n.width/2,y:h+i/2-n.height/2,width:n.width,height:n.height}}else if(this.getIcon()){var{style:C,class:m}=this._getStatusStyle({fill:e.ColorType.Content});u={attributes:{class:\"sapSuiteUiCommonsNetworkGraphIcon sapSuiteUiCommonsNetworkCircleNodeIcon sapSuiteUiCommonsNetworkStatusText \"+m,style:(this.getIconSize()?\"font-size:\"+this.getIconSize()+\"px;\":\"\")+C,x:a+this._iWidth/2,y:h+i/2},icon:this.getIcon(),height:this.getIconSize()?this.getIconSize()-2:22}}if(p){if(!this._aTitleLines||this._aTitleLines.length===1){c={class:\"sapSuiteUiCommonsNetworkNodeTitle sapSuiteUiCommonsNetworkNodeText\",x:a+this._iWidth/2,y:h+i+I.Title.OFFSET,title:o(p),maxWidth:this._iWidth-5};g={id:this.getId()+\"-title-clip\",x:a,y:h+i+I.Title.OFFSET-10,height:I.Title.LINESIZE*2}}else{_={x:a+this._iWidth/2,y:h+i+I.Title.OFFSET*2}}}if(this._displayDescription()){S={x:s?a+this._iWidth-I.Title.OFFSET:a+I.Title.OFFSET,y:h+this._getTitleHeight()+i+I.Title.OFFSET*2+I.Title.OFFSET/2}}if(!f){var y=\"\";if(this._displayImage(r)){y+=this._renderControl(\"image\",l)}else if(this.getIcon()){y+=this._renderIcon(u)}if(p){if(!this._aTitleLines||this._aTitleLines.length===1){y+=this._renderClipPath(g);y+=this._renderTitle(c)}else{y+=this._renderMultilineTitle(_)}}if(this._displayDescription()){y+=this._renderDescription(S)}return y}if(this._displayImage(r)){this._renderControl(\"image\",l,null,f)}else if(this.getIcon()){u.renderManager=f;this._renderIcon(u)}if(p){if(!this._aTitleLines||this._aTitleLines.length===1){g.renderManager=f;c.renderManager=f;this._renderClipPath(g);this._renderTitle(c)}else{_.renderManager=f;this._renderMultilineTitle(_)}}if(this._displayDescription()){S.renderManager=f;this._renderDescription(S)}};L.prototype._renderCircle=function(t){var i=this.getX(),s=this.getY(),r=2,n=this._iCircleSize;t=t||{};var o=t.renderManager;var{style:a,class:h}=this._getStatusStyle({stroke:e.ColorType.Border});var l={id:this.getId()+\"-innerBox\",cx:i+this._iWidth/2,cy:s+n/2,style:a,r:n/2,class:\"sapSuiteUiCommonsNetworkInnerCircle \"+h};var{style:d,class:p}=this._getStatusStyle({stroke:e.ColorType.Focus});var u={id:this.getId()+\"-focusCircle\",cx:i+this._iWidth/2,cy:s+n/2,style:d,r:n/2+r,class:\"sapSuiteUiCommonsNetworkCircleFocus \"+p};if(!o){var c=\"\";c+=this._renderControl(\"circle\",l);c+=this._renderControl(\"circle\",u);c+=this.renderItemContent();return c}this._renderControl(\"circle\",l,null,o);this._renderControl(\"circle\",u,null,o);return this.renderItemContent({renderManager:o})};L.prototype._renderBoxContent=function(t){var i=C/2,s=I.Title.ICON_X_OFFSET,r=this.getParent()._bIsRtl,n=this.getImage(),a=this.getY(),h=this.getX(),l,d=this._getImageSize();var p,u,c,g,_,S;t=t||{};var f=t.renderManager;var y=this.getTitle();var T=y?y:this.getAltText();if(this._displayImage(n)){d=this._getImageSize();p={\"xlink:href\":n.getSrc(),x:r?h+this._iWidth-I.Title.ICON_X_OFFSET-d.width:h+I.Title.ICON_X_OFFSET,y:a+I.Title.IMAGE_OFFSET_Y,width:d.width,height:d.height};s+=d.width+I.Title.ICON_X_OFFSET}else if(this.getIcon()){var{style:v,class:N}=this._getStatusStyle({fill:e.ColorType.Content});u={attributes:{style:v,class:\"sapSuiteUiCommonsNetworkGraphIcon sapSuiteUiCommonsNetworkNodeTitleIcon sapSuiteUiCommonsNetworkStatusText \"+N,x:r?h+this._iWidth-I.Title.ICON_X_OFFSET:h+I.Title.ICON_X_OFFSET,y:a+i},icon:this.getIcon(),height:I.Title.LINESIZE};s+=I.Title.ICON_SIZE+I.Title.ICON_X_OFFSET}if(T){l=this._iWidth-s-m;if(l>0){if(!this._aTitleLines||this._aTitleLines.length===1){c={id:this.getId()+\"-title-clip\",x:h,y:a,height:C};var{style:A,class:x}=this._getStatusStyle({fill:e.ColorType.Content});g={class:\"sapSuiteUiCommonsNetworkNodeTitle sapSuiteUiCommonsNetworkNodeText sapSuiteUiCommonsNetworkStatusText \"+x,style:A,x:r?h+this._iWidth-s:h+s,y:a+i,maxWidth:l,title:o(T)}}else{_={x:r?h+this._iWidth-s:h+s,y:a+I.Title.OFFSET*2}}}}if(this._displayDescription()){S={x:r?h+this._iWidth-I.Title.OFFSET:h+I.Title.OFFSET-I.Title.OFFSET/3,y:a+this._getTitleHeight()+(this._hasMultiLineTitle()?I.Title.OFFSET*2+I.Title.OFFSET/2:I.Title.OFFSET*4)}}if(!f){var E=\"\";if(this._displayImage(n)){d=this._getImageSize();E+=this._renderControl(\"image\",p)}else if(this.getIcon()){E+=this._renderIcon(u)}if(T){if(l>0){if(!this._aTitleLines||this._aTitleLines.length===1){E+=this._renderClipPath(c);E+=this._renderTitle(g)}else{E+=this._renderMultilineTitle(_)}}}if(this._displayDescription()){E+=this._renderDescription(S)}if(this._displayAttributes()){E+=t.sizeDetermination?this._renderAttributesForSize():this._renderAttributes({y:this.getY()+this._getDescriptionHeight()+this._getTitleHeight()+I.Title.OFFSET+(!this._hasMultiLineTitle()?I.Attributes.OFFSET:0)})}return E}if(this._displayImage(n)){this._renderControl(\"image\",p,null,f)}else if(this.getIcon()){u.renderManage Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ControlProxy\", [\"./library\",\"sap/ui/core/Control\",\"sap/ui/core/Core\",\"sap/ui/core/Element\"],function(t,o,s,e){\"use strict\";var a=o.extend(\"sap.suite.ui.commons.ControlProxy\",{metadata:{library:\"sap.suite.ui.commons\",association:{control:{type:\"sap.ui.core.Control\",multiple:false}}},renderer:function(t,o){var s=o.getAssociation(\"control\"),a=e.getElementById(s);t.renderControl(a)}});a.prototype.setAssociation=function(t,s){o.prototype.setAssociation.apply(this,arguments);var a=this.getAssociation(\"control\"),i=e.getElementById(a);if(i&&Array.isArray(this.aCustomStyleClasses)){this.aCustomStyleClasses.forEach(function(t){i.addStyleClass(t)})}};a.prototype.addStyleClass=function(t){o.prototype.addStyleClass.apply(this,arguments);var s=this.getAssociation(\"control\"),a=e.getElementById(s);if(a){a.addStyleClass(t)}};return a});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/MicroProcessFlow\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/ui/core/Control\",\"sap/ui/core/Icon\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/ui/core/ResizeHandler\",\"sap/ui/core/Lib\",\"sap/base/i18n/Localization\",\"sap/ui/core/Theming\"],function(jQuery,t,e,i,s,o,r,n,l){\"use strict\";var a=t.MicroProcessFlowRenderType;var c=r.getResourceBundleFor(\"sap.suite.ui.commons\");var h=function(t){return t[t.length-1]};var p=e.extend(\"sap.suite.ui.commons.MicroProcessFlow\",{metadata:{library:\"sap.suite.ui.commons\",interfaces:[\"sap.ui.core.IFormContent\"],properties:{ariaLabel:{type:\"string\",defaultValue:null},renderType:{type:\"sap.suite.ui.commons.MicroProcessFlowRenderType\",defaultValue:sap.suite.ui.commons.MicroProcessFlowRenderType.Wrap},width:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"}},aggregations:{content:{type:\"sap.suite.ui.commons.MicroProcessFlowItem\",multiple:true,singularName:\"content\"}}},renderer:{apiVersion:2,render:function(t,e){var i=e.getContent(),s=e.getWidth(),o=i.length,r=e.getAriaLabel();if(!e._bThemeApplied){return}t.openStart(\"div\",e);t.attr(\"role\",\"listbox\");t.attr(\"aria-roledescription\",c.getText(\"ACC_CTR_TYPE_MICRO_PROCESS_FLOW\"));t.attr(\"aria-label\",r);if(s){t.style(\"width\",s)}t.class(\"sapSuiteUiCommonsMicroProcessFlow\");t.openEnd();if(e._hasScrolling()){t.openStart(\"div\");t.attr(\"tabindex\",\"-1\");t.attr(\"id\",e.getId()+\"-leftscroller\");t.class(\"sapSuiteUiCommonsMicroProcessFlowScroller\").class(\"sapSuiteUiCommonsMicroProcessFlowLeftScroller\");t.openEnd();t.renderControl(e._getLeftScroller());t.openStart(\"span\");t.attr(\"id\",e.getId()+\"-leftlabel\");t.class(\"sapSuiteUiCommonsMicroProcessFlowLeftLabel\");t.openEnd();t.close(\"span\");t.close(\"div\")}t.openStart(\"div\");t.attr(\"id\",e.getId()+\"-content\");t.class(\"sapSuiteUiCommonsMicroProcessFlowContent\");t.openEnd();t.openStart(\"div\");t.attr(\"id\",e.getId()+\"-scrolling\");t.class(\"sapSuiteUiCommonsMicroProcessFlowScrolling\").class(\"sapSuiteUiCommonsMicroProcessFlowScrollingTransition\");if(e.getRenderType()===a.Wrap){t.style(\"flex-wrap\",\"wrap\")}t.openEnd();i.forEach(function(e,i){e._setAccessibilityData(i+1,o);t.renderControl(e)});t.close(\"div\");t.close(\"div\");if(e._hasScrolling()){t.openStart(\"div\");t.attr(\"id\",e.getId()+\"-rightscroller\");t.attr(\"tabindex\",\"-1\");t.class(\"sapSuiteUiCommonsMicroProcessFlowScroller\").class(\"sapSuiteUiCommonsMicroProcessFlowRightScroller\");t.openEnd();t.openStart(\"span\");t.attr(\"id\",e.getId()+\"-rightlabel\");t.class(\"sapSuiteUiCommonsMicroProcessFlowRightLabel\");t.openEnd();t.close(\"span\");t.renderControl(e._getRightScroller());t.close(\"div\")}t.close(\"div\")}}});p.prototype.exit=function(){if(this._oLeftScroller){this._oLeftScroller.destroy()}if(this._oRightScroller){this._oRightScroller.destroy()}};p.prototype.init=function(){l.attachApplied(function(){this._bThemeApplied=true;this.invalidate()}.bind(this));this._iScrollingIndex=0;this._iLastVisibleIndex=0;this._aEdges=[];this._aWidths=[];this._aSeperatorWidth=[]};p.prototype.onAfterRendering=function(){this._correctSeparatorWidth();this._setupKeyboard();if(this._hasScrolling()){this._setupScrolling();this._collectEdgesAndWidths();this._updateScrollingElements();if(this.getRenderType()===a.ScrollingWithResizer){this._oResizer=o.register(this,this._performResizeChanges.bind(this))}}};p.prototype._performResizeChanges=function(){this._collectEdgesAndWidths();this._updateScrollingElements()};p.prototype._isLastItem=function(t){return t===this.getContent()[this.getContent().length-1]};p.prototype._getMaxHeight=function(t){return Math.max.apply(null,this.$().find(\".sapSuiteUiCommonsMicroProcessFlowItemWrapper\").map(function(){return jQuery(this).height()}).get())};p.prototype._correctSeparatorWidth=function(){var t=this._getMaxHeight();if(t){this.getContent().forEach(function(e){var i=e.getStepWidth(),s;if(i.indexOf(\"%\")!==-1){s=parseInt(i,10);if(!isNaN(s)){e.$(\"separator\").width(t/s*100)}}},this)}};p.prototype._firePress=function(t){if(this._oItemNavigation){var e=this._oItemNavigation.getFocusedIndex(),i=this.getContent()[e];if(i){i._firePress(t)}}};p.prototype._setupKeyboard=function(){var t=this.getDomRef(),e=this.getContent(),i=[];e.forEach(function(t,e){var s=t._getAccessibleItem();i.push(s[0])});if(!this._oItemNavigation){this._oItemNavigation=new s;this.addDelegate(this._oItemNavigation)}this._oItemNavigation.setRootDomRef(t);this._oItemNavigation.setItemDomRefs(i);this._oItemNavigation.setCycling(false);this._oItemNavigation.attachEvent(s.Events.AfterFocus,function(t){if(this._bKeyBoard===true){this._findEdgeItems(t.getParameter(\"index\"));this._updateScrollingElements()}this._bKeyBoard=false}.bind(this))};p.prototype._hasScrolling=function(){var t=this.getRenderType();return t===a.Scrolling||t===a.ScrollingWithResizer};p.prototype._setupScrolling=function(){var t=this.$(\"leftscroller\"),e=this.$(\"rightscroller\");this._iScrollingIndex=0;this._iLastVisibleIndex=0;t.off(\"click\").on(\"click\",this._scroll.bind(this,-1));e.off(\"click\").on(\"click\",this._scroll.bind(this,1));this._iScrollingIndex<=0?t.hide():t.show()};p.prototype._updateScrollingElements=function(t){var e=this.getContent(),i=this.$(\"leftscroller\"),s=this.$(\"rightscroller\");i[this._iScrollingIndex<=0?\"hide\":\"show\"]();this._iLastVisibleIndex=this._findLastVisibleItemIndex(t);s[this._iLastVisibleIndex>=e.length-1?\"hide\":\"show\"]();this.$(\"leftlabel\").text(this._iScrollingIndex);this.$(\"rightlabel\").text(e.length-1-this._iLastVisibleIndex)};p.prototype._scroll=function(t,e){e.stopPropagation();var i=this.$(\"rightscroller\"),s=this.$(\"leftscroller\"),o=n.getRTL(),r,l,a;var c=function(){if(t>0){var e=this.$(\"content\").width()-(s.is(\":visible\")?0:s.width()),o=h(this._aEdges)+h(this._aWidths);if(r+e>o){r-=r+e-o+i.width();for(var n=0;nr){this._iScrollingIndex=n;break}}}}}.bind(this);var p=function(){if(!o&&g[0].scrollLeft!=0){this._clearScroll(g)}if(o){a=g.scrollRightRTL();if(a){this._clearScroll(g)}}}.bind(this);var d=this.$(\"scrolling\"),g=d.parent();this._bKeyBoard=false;if(t<0&&this._iScrollingIndex<=0){return}p();t<0?i.show():s.show();this._iScrollingIndex+=t;r=this._aEdges[this._iScrollingIndex];c();l=\"translateX(\"+(o?1:-1)*r+\"px)\";this.$(\"scrolling\").css(\"transform\",l);if(!d.hasClass(\"sapSuiteUiCommonsMicroProcessFlowScrollingTransition\")){setTimeout(function(){d.addClass(\"sapSuiteUiCommonsMicroProcessFlowScrollingTransition\")},0)}this._updateScrollingElements(t);p()};p.prototype._clearScroll=function(t){var e=n.getRTL();if(t&&t[0]){e?t.scrollLeftRTL(t[0].scrollWidth-t[0].clientWidth):t[0].scrollLeft=0}};p.prototype._findLastVisibleItemIndex=function(t){var e=this._aEdges[this._iScrollingIndex],i=this.$(\"content\").width(),s=i+this.$(\"rightscroller\").width(),o,r=0,n;for(var l=0;l=o){l=c}if(a===-1&&n+this._aWidths[c]>o+r+5){a=c-1;break}}this._iScrollingIndex=l;this._iLastVisibleIndex=a!==-1?a:s.length-2};p.prototype._processKeyPress=function(){if(this._hasScrolling()){var t=this.$(\"scrolling\");this._bKeyBoard=true;t.removeClass(\"sapSuiteUiCommonsMicroProcessFlowScrollingTransition\");t.css(\"transform\",\"\")}};p.prototype.onsapspace=function(t){this._firePress(t)};p.prototype.onsapenter=function(t){this._firePress(t)};p.prototype.onsapnext=function(t){this._processKeyPress()};p.prototype.onsapprevious=function(){this._processKeyPress()};p.prototype.onsaphome=function(t){this._processKeyPress()};p.prototype.onsapend=function(){this._processKeyPress()};p.prototype.getAccessibilityInfo=function(){var t=\"\";this.getAggregation(\"content\").forEach(function(e){t=t.concat(e._getAriaText())});return{type:c.getText(\"ACC_CTR_TYPE_MICRO_PROCESS_FLOW\"),description:t}};p.prototype.getFormDoNotAdjustWidth=function(){return true};return p});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/MicroProcessFlowItem\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/ui/core/library\",\"sap/ui/core/Control\",\"sap/suite/ui/commons/MicroProcessFlow\",\"sap/ui/core/Lib\"],function(jQuery,e,t,s,i,o){\"use strict\";var r=o.getResourceBundleFor(\"sap.suite.ui.commons\"),a={Error:\"sap-icon://message-error\",None:null,Success:\"sap-icon://message-success\",Warning:\"sap-icon://message-warning\",Information:\"sap-icon://message-information\"},n=t.ValueState;var c=s.extend(\"sap.suite.ui.commons.MicroProcessFlowItem\",{metadata:{library:\"sap.suite.ui.commons\",properties:{key:{type:\"string\",group:\"Misc\",defaultValue:null},icon:{type:\"string\",group:\"Appearance\",defaultValue:null},title:{type:\"string\",group:\"Misc\",defaultValue:null},state:{type:\"sap.ui.core.ValueState\",group:\"Appearance\",defaultValue:n.Standard},showIntermediary:{type:\"boolean\",group:\"Appearance\",defaultValue:false},stepWidth:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:null},showSeparator:{type:\"boolean\",group:\"Appearance\",defaultValue:true}},aggregations:{customControl:{type:\"sap.ui.core.Control\",multiple:false,singularName:\"customControl\"},intermediary:{type:\"sap.ui.core.Control\",multiple:false,singularName:\"intermediary\"}},events:{press:{allowPreventDefault:true,parameters:{item:\"object\"}}}},onAfterRendering:function(){this._setItemAccessibility()},renderer:{apiVersion:2,render:function(e,t){var s=function(){e.openStart(\"div\");e.attr(\"id\",t.getId()+\"-separator\");e.class(\"sapSuiteUiCommonsMicroProcessFlowItemSeparatorWrapper\");e.style(\"width\",t._getStepWidth());e.openEnd();e.openStart(\"div\");e.class(\"sapSuiteUiCommonsMicroProcessFlowItemSeparator\");if(!t.getShowSeparator()||r){e.class(\"sapSuiteUiCommonsMicroProcessFlowItemHiddenSeparator\")}e.openEnd();e.close(\"div\");if(n){i()}e.close(\"div\")};var i=function(){var s=t.getIntermediary();e.openStart(\"div\");e.class(\"sapSuiteUiCommonsMicroProcessFlowItemIntermediary\");e.openEnd();if(s){e.renderControl(s)}else{e.openStart(\"div\");e.class(\"sapSuiteUiCommonsMicroProcessFlowItemOnHoldElement\");e.openEnd();e.close(\"div\")}e.close(\"div\")};var o=t.getIcon()||t._getIconByState(),r=t.getParent()._isLastItem(t),a=t.getId(),n=t.getShowIntermediary(),c=t.getCustomControl(),p=t.getTitle();e.openStart(\"div\",t);e.class(\"sapSuiteUiCommonsMicroProcessFlowItemWrapper\");e.openEnd();e.openStart(\"div\");e.attr(\"id\",a+\"-item\");if(p){e.attr(\"title\",p)}e.class(\"sapSuiteUiCommonsMicroProcessFlowItemContent\");e.openEnd();if(c){e.renderControl(c)}else{e.openStart(\"div\");e.attr(\"id\",a+\"-itemContent\");e.attr(\"tabindex\",\"0\");e.class(\"sapSuiteUiCommonsMicroProcessFlowItem\").class(\"sapSuiteUiCommonsMicroProcessFlowItem\"+t.getState());e.attr(\"aria-label\",t._getAriaText());e.attr(\"role\",\"option\");e.attr(\"aria-roledescription\",`${t._iIndex} of ${t._iItemsCount}`);e.attr(\"aria-selected\",\"false\");e.openEnd();if(o){e.renderControl(new sap.ui.core.Icon({tooltip:t.getTitle(),src:o}).addStyleClass(\"sapSuiteUiCommonsMicroProcessFlowItemIcon\"))}e.close(\"div\")}e.close(\"div\");if(!r||n){s()}e.close(\"div\")}}});c.prototype.getFocusDomRef=function(){var e=this.getCustomControl();return e?e.getFocusDomRef():this.getDomRef(\"itemContent\")};c.prototype._setItemAccessibility=function(){var e=this._getAccessibleItem(),t=this._getAriaText();if(e.attr(\"tabindex\")!==\"0\"){e.attr(\"tabindex\",0)}e.attr(\"aria-label\",t);e.attr(\"role\",\"option\");e.attr(\"aria-posinset\",this._iIndex);e.attr(\"aria-setsize\",this._iItemsCount);this._setItemContentAccessibility()};c.prototype._getAccessibleItem=function(){var e=jQuery(this.getFocusDomRef());return e.attr(\"tabindex\")===\"0\"?e:this.$(\"item\")};c.prototype._setItemContentAccessibility=function(){var e=this.$(\"item\"),t=this.hasListeners(\"press\");if(t){e.css(\"cursor\",\"pointer\");e.attr(\"role\",\"button\");e.attr(\"aria-hidden\",\"true\")}};c.prototype.onclick=function(e){this._setItemContentAccessibility();this._click(e)};c.prototype.onmousedown=function(){this._setItemContentAccessibility();this.$(\"item\").addClass(\"sapSuiteUiCommonsMicroProcessFlowItemPressed\")};c.prototype.onmouseup=function(){this._setItemContentAccessibility();this.$(\"item\").removeClass(\"sapSuiteUiCommonsMicroProcessFlowItemPressed\")};c.prototype._getAriaText=function(){var e=r.getText(\"MICRO_PROCESS_FLOW_ITEM\");switch(this.getState()){case n.Error:e+=\" - \"+r.getText(\"MICRO_PROCESS_FLOW_ERROR\");break;case n.Warning:e+=\" - \"+r.getText(\"MICRO_PROCESS_FLOW_WARNING\");break;case n.Success:e+=\" - \"+r.getText(\"MICRO_PROCESS_FLOW_SUCCESS\");break;case n.Information:e+=\" - \"+r.getText(\"MICRO_PROCESS_FLOW_INFORMATION\");break}if(this.getTitle()){e+=\" - \"+this.getTitle()}return e};c.prototype._isCompact=function(){return jQuery(\"body\").hasClass(\"sapUiSizeCompact\")||this.$().is(\".sapUiSizeCompact\")||this.$().closest(\".sapUiSizeCompact\").length>0};c.prototype._getStepWidth=function(){var e=this.getStepWidth();if(!e){e=this._isCompact()?\"1rem\":\"1.5rem\"}return e};c.prototype._setAccessibilityData=function(e,t){this._iIndex=e;this._iItemsCount=t};c.prototype._click=function(e){var t=this.getParent();if(t){t._bKeyBoard=false}this._firePress(e)};c.prototype._firePress=function(e){if(this.hasListeners(\"press\")){this.firePress({item:this.getFocusDomRef()});if(e.preventDefault){e.preventDefault()}if(e.stopPropagation){e.stopPropagation()}}var t=document.getElementsByClassName(\"sapSuiteMicroProcessFlowItemSelected\")[0];var s=this._getAccessibleItem()[0];if(t){t.setAttribute(\"aria-selected\",false);t.classList.remove(\"sapSuiteMicroProcessFlowItemSelected\")}if(s.tabIndex==\"0\"){s.setAttribute(\"aria-selected\",true);s.classList.add(\"sapSuiteMicroProcessFlowItemSelected\")}};c.prototype._getIconByState=function(){return a[this.getState()]};return c});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ProcessFlow\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/m/library\",\"sap/m/ImageHelper\",\"sap/ui/core/Control\",\"sap/suite/ui/commons/ProcessFlowConnection\",\"sap/suite/ui/commons/ProcessFlowLaneHeader\",\"sap/ui/Device\",\"sap/ui/core/ResizeHandler\",\"sap/base/Log\",\"sap/ui/events/KeyCodes\",\"./ProcessFlowRenderer\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/Core\",\"sap/ui/core/Lib\",\"sap/ui/core/Element\",\"./AriaProperties\",\"sap/base/i18n/Localization\"],function(jQuery,e,t,i,o,s,a,n,r,l,c,h,u,g,d,_,f,p){\"use strict\";var m=o.extend(\"sap.suite.ui.commons.ProcessFlow\",{metadata:{library:\"sap.suite.ui.commons\",properties:{foldedCorners:{type:\"boolean\",group:\"Misc\",defaultValue:false},scrollable:{type:\"boolean\",group:\"Misc\",defaultValue:true},wheelZoomable:{type:\"boolean\",group:\"Behavior\",defaultValue:true},showLabels:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},defaultAggregation:\"lanes\",aggregations:{_connections:{type:\"sap.suite.ui.commons.ProcessFlowConnection\",multiple:true,singularName:\"_connection\",visibility:\"hidden\"},nodes:{type:\"sap.suite.ui.commons.ProcessFlowNode\",multiple:true,singularName:\"node\"},lanes:{type:\"sap.suite.ui.commons.ProcessFlowLaneHeader\",multiple:true,singularName:\"lane\"},ariaProperties:{type:\"sap.suite.ui.commons.AriaProperties\",multiple:false,group:\"Misc\",defaultClass:f}},events:{nodeTitlePress:{deprecated:true,parameters:{oEvent:{type:\"object\"}}},nodePress:{parameters:{oEvent:{type:\"object\"}}},labelPress:{parameters:{oEvent:{type:\"object\"}}},headerPress:{parameters:{oEvent:{type:\"object\"}}},onError:{parameters:{oEvent:{type:\"object\"}}}},dnd:{draggable:false,droppable:true}}});m.prototype._resBundle=null;m._cellEdgeConstants={LU:\"tl\",LD:\"lb\",DU:\"tb\",LR:\"rl\",DR:\"rt\",UR:\"rb\"};m._constants={scrollContainer:\"scrollContainer\",counterLeft:\"counterLeft\",counterRight:\"counterRight\",arrowScrollRight:\"arrowScrollRight\",arrowScrollRightMinus:\"-arrowScrollRight\",arrowScrollLeft:\"arrowScrollLeft\",arrowScrollLeftMinus:\"-arrowScrollLeft\",top:\"top\",px:\"px\",parents:\"parents\",left:\"left\",right:\"right\"};m._mouseEvents={mouseMove:\"mousemove\",mouseDown:\"mousedown\",mouseUp:\"mouseup\",mouseLeave:\"mouseleave\",mouseEnter:\"mouseenter\",touchStart:\"touchstart\",sapTouchStart:\"saptouchstart\",touchEnd:\"touchend\",sapTouchCancel:\"saptouchcancel\"};m._enumMoveDirection={LEFT:\"left\",RIGHT:\"right\",UP:\"up\",DOWN:\"down\"};m.prototype._zoomLevel=e.ProcessFlowZoomLevel.Two;m.prototype._wheelTimeout=null;m.prototype._isFocusChanged=false;m.prototype._wheelTimestamp=null;m.prototype._wheelCalled=false;m.prototype._internalCalcMatrix=false;m.prototype._internalConnectionMap=null;m.prototype._internalLanes=false;m.prototype._jumpOverElements=5;m.prototype._lastNavigationFocusElement=null;m.prototype._bHighlightedMode=false;m.prototype._isLayoutOptimized=false;m.prototype._defaultCursorClass=\"sapSuiteUiDefaultCursorPF\";if(n.browser.edge){m.prototype._grabCursorClass=\"sapSuiteUiGrabCursorIEPF\";m.prototype._grabbingCursorClass=\"sapSuiteUiGrabbingCursorIEPF\"}else{m.prototype._grabCursorClass=\"sapSuiteUiGrabCursorPF\";m.prototype._grabbingCursorClass=\"sapSuiteUiGrabbingCursorPF\"}m.prototype._mousePreventEvents=\"contextmenu dblclick\";m.prototype._mouseEvents=\"contextmenu mousemove mouseleave mousedown mouseup mouseenter\";m.prototype._mouseWheelEvent=n.browser.mozilla?\"DOMMouseScroll MozMousePixelScroll\":\"mousewheel wheel\";m.prototype._headerHasFocus=false;m.prototype._isInitialZoomLevelNeeded=true;m.prototype._bDoScroll=!n.system.desktop||n.os.windows&&n.os.version>=8;m.prototype._scrollStep=192;m.prototype._bPreviousScrollForward=false;m.prototype._bPreviousScrollBack=false;m.prototype._iInitialArrowTop=undefined;m.prototype._iInitialCounterTop=undefined;m.prototype._bRtl=false;m.prototype._arrowScrollable=null;m.prototype._iTouchStartScrollTop=undefined;m.prototype._iTouchStartScrollLeft=undefined;m.prototype._bSetFocusOnce=true;m.prototype.init=function(){this._bRtl=p.getRTL();if(!this._resBundle){this._resBundle=d.getResourceBundleFor(\"sap.suite.ui.commons\")}this._internalLanes=[];if(this._getScrollContainer()){this._getScrollContainer().on(\"keydown\",this.onkeydown.bind(this))}};m.prototype.exit=function(){var e=this.getNodes(),t;if(e){for(t=0;t500){this.onAfterRendering();this._iLastResizeHandlingTime=e}}else{this._iLastResizeHandlingTime=null}this._iLastResizeEventTime=e};m.prototype._registerMouseEvents=function(e){if(e&&!e.isDefaultPrevented()){e.preventDefault()}switch(e.type){case m._mouseEvents.mouseMove:if(this._getScrollContainer().hasClass(this._grabbingCursorClass)){if(p.getRTL()){this._getScrollContainer().scrollLeftRTL(this.iCursorPositionX-e.pageX)}else{this._getScrollContainer().scrollLeft(this.iCursorPositionX-e.pageX)}this._getScrollContainer().scrollTop(this.iCursorPositionY-e.pageY);this._adjustAndShowArrow()}break;case m._mouseEvents.mouseDown:this._switchCursors(this._getScrollContainer(),this._defaultCursorClass,this._grabbingCursorClass);if(p.getRTL()){this.iCursorPositionX=this._getScrollContainer().scrollLeftRTL()+e.pageX}else{this.iCursorPositionX=this._getScrollContainer().scrollLeft()+e.pageX}this.iCursorPositionY=this._getScrollContainer().scrollTop()+e.pageY;if(n.system.combi){this._iTouchStartScrollLeft=this._getScrollContainer().scrollLeft();if(this.getScrollable()){this._iTouchStartScrollTop=this._getScrollContainer().scrollTop()}}break;case m._mouseEvents.mouseUp:this._switchCursors(this._getScrollContainer(),this._grabbingCursorClass,this._grabCursorClass);break;case m._mouseEvents.mouseLeave:this._getScrollContainer().removeClass(this._grabbingCursorClass);this._getScrollContainer().removeClass(this._grabCursorClass);this._getScrollContainer().addClass(this._defaultCursorClass);break;case m._mouseEvents.mouseEnter:this._getScrollContainer().removeClass(this._defaultCursorClass);if(e.buttons===null){if(e.which===1){this._getScrollContainer().addClass(this._grabbingCursorClass)}else{this._getScrollContainer().addClass(this._grabCursorClass)}}else if(e.buttons===0){this._getScrollContainer().addClass(this._grabCursorClass)}else if(e.buttons===1){this._getScrollContainer().addClass(this._grabbingCursorClass)}break;default:}if(e.target&&e.target.parentElement&&e.target.parentElement.parentElement&&e.target.parentElement.parentElement.getMetadata&&e.target.parentElement.parentElement.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowConnectionLabel\"){if(e&&!e.isPropagationStopped()){e.stopPropagation()}if(e&&!e.isImmediatePropagationStopped()){e.stopImmediatePropagation()}}};m.prototype.onfocusin=function(e){var t;if(e&&e.target&&e.target.id){t=_.getElementById(e.target.id)}if(this._isHeaderMode()||this._checkNodesVisibility()){this._setFocusOnHeader(true)}else if(this._bSetFocusOnce&&!(t&&e.target.id.indexOf(\"arrowScroll\"))){this._bSetFocusOnce=false;if(t&&t.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowConnectionLabel\"){this._changeNavigationFocus(null,t)}else if(!this._lastNavigationFocusElement){var i=this.$(\"scroll-content\").children().children().children(1).children(\"td[tabindex='0']\").first().children();var o=_.getElementById(i[0].id);this._changeNavigationFocus(null,o)}else if(this._lastNavigationFocusElement){this._changeNavigationFocus(null,this._lastNavigationFocusElement)}}};m.prototype._checkNodesVisibility=function(){var e=true;this.getNodes().forEach(function(t){if(t.getVisible()){e=false}});return e};m.prototype.onfocusout=function(){this._bSetFocusOnce=true;if(this._lastNavigationFocusElement&&this._lastNavigationFocusElement._getNavigationFocus()){this._lastNavigationFocusElement._setNavigationFocus(false);if(this._lastNavigationFocusElement.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowNode\"){this._lastNavigationFocusElement.rerender()}}};m.prototype.onsapplus=function(){this._isFocusChanged=true;this.zoomIn()};m.prototype.onsapminus=function(){this._isFocusChanged=true;this.zoomOut()};m.prototype.onsaptabnext=function(e){var t=true;var i=e.target;var o=_.getElementById(i.id);if(!o&&i&&i.childElementCount>0){i=i.childNodes[0];o=_.getElementById(i.id)}if(!o||o.getMetadata().getName()!==\"sap.suite.ui.commons.ProcessFlowNode\"&&o.getMetadata().getName()!==\"sap.suite.ui.commons.ProcessFlowConnectionLabel\"){if(!this._isHeaderMode()&&!this._lastNavigationFocusElement&&!this._checkNodesVisibility()){var s=this.$(\"scroll-content\").children().children().children(1).children(\"td[tabindex='0']\").first().children();var a=_.getElementById(s[0].id);this._changeNavigationFocus(null,a);t=false}else if(this._lastNavigationFocusElement){this._changeNavigationFocus(null,this._lastNavigationFocusElement);t=false}}if((this._isHeaderMode()||this._checkNodesVisibility())&&t){if(!this._headerHasFocus){this._setFocusOnHeader(true)}else{this._setFocusOnHeader(false)}}else if(this._lastNavigationFocusElement&&this._lastNavigationFocusElement.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowNode\"){this._lastNavigationFocusElement.rerender()}var n;if(t){n=this.$().nextAll(\":focusable\").first();if(n.length===0){n=this.$().nextAll().find(\":focusable\").first();if(n.length===0){r.apply(this)}}n.focus();l.debug(\"saptabnext: Keyboard focus has been changed to element: id='\"+n.id+\"' outerHTML='\"+n.outerHTML+\"'\");n=null}e.preventDefault();function r(){var e=this.$().parent();do{n=e.next(\":focusable\");if(n.length===0){n=e.nextAll().find(\":focusable\").first()}e=e.parent()}while(e.length!==0&&n.length===0);if(n.length===0){n=jQuery(\":focusable\")[0]}}};m.prototype.onsaptabprevious=function(e){var t=null;var i=e.target;if((!this._lastNavigationFocusElement||!this._lastNavigationFocusElement._getNavigationFocus())&&e.target&&e.target.childElementCount>0){i=e.target.childNodes[0]}var o=_.getElementById(i.id);if(o&&(o.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowNode\"||o.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowNode\")){if(!this._isHeaderMode()&&!this._lastNavigationFocusElement){var s=this.$(\"scroll-content\").children().children().children(1).children(\"td[tabindex='0']\").first().children();var a=_.getElementById(s[0].id);this._changeNavigationFocus(null,a)}else if(this._lastNavigationFocusElement){this._changeNavigationFocus(null,this._lastNavigationFocusElement);e.preventDefault();return}}if(this._isHeaderMode()){if(!this._headerHasFocus){this._setFocusOnHeader(true)}else{this._setFocusOnHeader(false);t=this.$().prevAll().find(\":focusable\").last()}}else{t=this.$().prev(\":focusable\");if(t.length===0){t=this.$().prevAll().find(\":focusable\").last()}if(this._lastNavigationFocusElement){this._lastNavigationFocusElement._setNavigationFocus(false)}if(this._lastNavigationFocusElement&&this._lastNavigationFocusElement.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowNode\"){this._lastNavigationFocusElement.rerender()}}if(t){if(t.length===0){n.apply(this)}else if(t.first().length!==0){t=jQuery(t.first())}t.focus();l.debug(\"saptabnext: Keyboard focus has been set on element: id='\"+t.id+\"' outerHTML='\"+t.outerHTML+\"'\");t=null}e.preventDefault();function n(){var e=this.$();do{t=e.prev(\":focusable\");if(t.length===0){t=e.prevAll().find(\":focusable\").last()}e=e.parent()}while(e.length!==0&&t.length===0)}};m.prototype._handleKeySelect=function(e){if(this._isHeaderMode()){this._internalLanes=[];this.fireHeaderPress(this);var t=this.$(\"scroll-content\").children().children().children(1).children(\"td[tabindex='0']\").first().children();var i=_.getElementById(t[0].id);this._changeNavigationFocus(null,i)}else if(this._lastNavigationFocusElement&&this._lastNavigationFocusElement.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowNode\"&&this._lastNavigationFocusElement._getNavigationFocus()){var o=this._lastNavigationFocusElement;o._handleEvents(e)}};m.prototype.onkeyup=function(e){var t=e.keyCode?e.keyCode:e.which;switch(t){case c.ENTER:case c.SPACE:var i=this._lastNavigationFocusElement;if(i){this.fireNodePress(this._lastNavigationFocusElement);i._handleEvents(e)}break;default:break}};m.prototype.onkeydown=function(e){var t=e.keyCode?e.keyCode:e.which;l.debug(\"ProcessFlow::keyboard input has been catched and action going to start: keycode=\"+t);var i=false;var o=e.ctrlKey;var s=e.altKey;var a=this._lastNavigationFocusElement;switch(t){case c.ARROW_RIGHT:i=this._moveToNextElement(m._enumMoveDirection.RIGHT);break;case c.ARROW_LEFT:i=this._moveToNextElement(m._enumMoveDirection.LEFT);break;case c.ARROW_DOWN:i=this._moveToNextElement(m._enumMoveDirection.DOWN);break;case c.ARROW_UP:i=this._moveToNextElement(m._enumMoveDirection.UP);break;case c.PAGE_UP:i=this._moveOnePage(m._enumMoveDirection.UP,s);break;case c.PAGE_DOWN:i=this._moveOnePage(m._enumMoveDirection.DOWN,s);break;case c.HOME:i=this._moveHomeEnd(m._enumMoveDirection.LEFT,o);break;case c.END:i=this._moveHomeEnd(m._enumMoveDirection.RIGHT,o);break;case c.NUMPAD_0:case c.DIGIT_0:this._initZoomLevel();break;case c.ENTER:case c.SPACE:this._handleKeySelect(e);e.preventDefault();return;default:return}e.preventDefault();if(i){this._changeNavigationFocus(a,this._lastNavigationFocusElement)}};m.prototype._onArrowClick=function(e){var t=e.target.id||e.srcControl.getId();if(t){var i=this.getId();e.preventDefault();if(t===i+m._constants.arrowScrollLeftMinus&&n.system.desktop){this._scroll(-this._scrollStep,500)}else if(t===i+m._constants.arrowScrollRightMinus&&n.system.desktop){this._scroll(this._scrollStep,500)}}};m.prototype._onScroll=function(){var e=this._getScrollContainer().scrollLeft();var t=Math.abs(e-this._iTouchStartScrollLeft);if(t>this._scrollStep/4&&!this._isFocusChanged){this._adjustAndShowArrow();this._iTouchStartScrollLeft=e}else if(this.getScrollable()){var i=this._getScrollContainer().scrollTop();var o=Math.abs(i-this._iTouchStartScrollTop);if(o>10){this._moveArrowAndCounterVertical();this._iTouchStartScrollTop=i}}};m.prototype.ontouchstart=function(){this._iTouchStartScrollLeft=this._getScrollContainer().scrollLeft();if(this.getScrollable()){this._iTouchStartScrollTop=this._getScrollContainer().scrollTop()}};m.prototype.ontouchmove=function(e){e.setMarked()};m.prototype._handleLabelClick=function(e){if(e){var t=e.getSource();if(t&&t.getMetadata().getName()===\"sap.ui.core.Icon\"){t=t.getParent()}if(t&&t.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowConnectionLabel\"){var i=this._getConnectionMapEntries(t);var o=this._createLabelPressEventArgs(t,i);this.fireLabelPress(o)}}};m.prototype._onFocusChanged=function(){var e=this._lastNavigationFocusElement,t=e?e.$():null,i,o,s,a,n,r,c,h,u,g,d,_,f,p,m,v,C=500;if(e&&this.getScrollable()){l.debug(\"The actually focused element is \"+e.getId());if(e.getMetadata().getName()===\"sap.suite.ui.commons.ProcessFlowConnectionLabel\"){h=t.parent().parent().parent().outerWidth();u=t.parent().parent().parent().outerHeight();g=t.parent().parent().parent().position()}else{h=t.outerWidth();u=t.outerHeight();g=t.position()}l.debug(\"Element outer width x height [\"+h+\" x \"+u+\"]\");l.debug(\"Position of element in the content is [\"+g.left+\", \"+g.top+\"]\");n=this.$(\"scroll-content\");i=this._getScrollContainer().innerWidth();o=this._getScrollContainer().innerHeight();l.debug(\"Scroll container inner width x height [\"+i+\" x \"+o+\"]\");s=this._getScrollContainer().scrollLeft();a=this._getScrollContainer().scrollTop();l.debug(\"Current scroll offset is [\"+s+\", \"+a+\"]\");r=n.innerWidth();c=n.innerHeight();l.debug(\"Scroll content inner width x height [\"+r+\" x \"+c+\"]\");d=-s+g.left;f=d+h;_=-a+g.top;p=_+u;if(f>i||d<0||p>o||_<0){m=Math.round((i-h)/2);m=Math.max(i-r+g.left,m);m=Math.min(g.left,m);v=Math.round((o-u)/2);v=Math.max(o-c+g.top,v);v=Math.min(g.top,v);l.debug(\"Element lies outside the scroll container, scrolling from [\"+d+\",\"+_+\"] to [\"+m+\",\"+v+\"]\");this._isFocusChanged=true;this._getScrollContainer().animate({scrollTop:g.top-v,scrollLeft:g.left-m},C,\"swing\",this._adjustAndShowArrow.bind(this))}else{l.debug(\"Element lies inside the scroll container, no scrolling happens.\");this._setFocusToNode(e)}}else{this._setFocusToNode(e);this._adjustAndShowArrow()}};m.prototype._setScrollWidth=function(){switch(this.getZoomLevel()){case e.ProcessFlowZoomLevel.One:this._scrollStep=240;break;case e.ProcessFlowZoomLevel.Two:this._scrollStep=192;break;case e.ProcessFlowZoomLevel.Three:this._scrollStep=168;break;case e.ProcessFlowZoomLevel.Four:this._scrollStep=128;break;default:this._scrollStep=192}};m.prototype._getLastNavigationFocusElement=function(){return this._lastNavigationFocusElement};m.prototype._getNode=function(e,t){for(var i=0;i0){this._setParentForNodes(e);for(o=0;o-1&&e[s].getLaneId()===e[o].getLaneId()){e.splice(s,0,e[o]);e.splice(o+1,1);e=this._arrangeNodesByParentChildRelation(e);break}}}}return e};m.prototype._getOrCreateProcessFlow=function(){if(!this._internalLanes||this._internalLanes.length<=0){this._updateLanesFromNodes()}else if(this._isLanesUpdated()){this._resetLanesFromModel();this._updateLanesFromNodes()}this.applyNodeDisplayState();var e=this.getNodes();var t=m.NodeElement._createNodeElementsFromProcessFlowNodes(e,this._internalLanes);var i=t.elementById;var o=t.elementsByLane;var s=this._calculateMatrix(i);s=this._addFirstAndLastColumn(s);m.NodeElement._calculateLaneStatePieChart(o,this._internalLanes,e,this);for(var a=0;a=0){if(e[a].hasArrow){o.arrow=true}}}return o};r.prototype._createLine=function(t,o,a){var r={draw:a.draw,type:a.type,state:a.state};if(t.flowLine.indexOf(o)>=0){r.draw=true;if(t.targetNodeState===e.ProcessFlowNodeState.Neutral||t.targetNodeState===e.ProcessFlowNodeState.Positive||t.targetNodeState===e.ProcessFlowNodeState.Negative||t.targetNodeState===e.ProcessFlowNodeState.Critical){r.type=e.ProcessFlowConnectionType.Normal}else if(t.targetNodeState===e.ProcessFlowNodeState.Planned||t.targetNodeState===e.ProcessFlowNodeState.PlannedNegative){if(r.type!==e.ProcessFlowConnectionType.Normal){r.type=e.ProcessFlowConnectionType.Planned}}if(t.displayState===e.ProcessFlowDisplayState.Selected||t.displayState===e.ProcessFlowDisplayState.SelectedHighlighted||t.displayState===e.ProcessFlowDisplayState.SelectedHighlightedFocused||t.displayState===e.ProcessFlowDisplayState.SelectedFocused){r.state=e.ProcessFlowConnectionState.Selected}else if(t.displayState===e.ProcessFlowDisplayState.Highlighted||t.displayState===e.ProcessFlowDisplayState.HighlightedFocused){if(r.state!==e.ProcessFlowConnectionState.Selected){r.state=e.ProcessFlowConnectionState.Highlighted}}else if(t.displayState===e.ProcessFlowDisplayState.Regular||t.displayState===e.ProcessFlowDisplayState.RegularFocused){if(r.state!==e.ProcessFlowConnectionState.Highlighted&&r.state!==e.ProcessFlowConnectionState.Selected){r.state=e.ProcessFlowConnectionState.Regular}}else if(t.displayState===e.ProcessFlowDisplayState.Dimmed||t.displayState===e.ProcessFlowDisplayState.DimmedFocused){if(r.state!==e.ProcessFlowConnectionState.Highlighted&&r.state!==e.ProcessFlowConnectionState.Regular&&r.state!==e.ProcessFlowConnectionState.Selected){r.state=e.ProcessFlowConnectionState.Dimmed}}}return r};r.prototype.addConnectionData=function(e){var t=this.getDrawData();if(!t){t=[]}t.push(e);this.setDrawData(t);return t};r.prototype.destroyAggregation=function(e,t){this.removeAllAggregation(\"_labels\",true)};return r});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ProcessFlowConnectionLabel\", [\"sap/m/Button\",\"./library\",\"sap/ui/core/InvisibleText\",\"./ProcessFlowConnectionLabelRenderer\",\"sap/ui/core/Lib\"],function(e,t,s,i,o){\"use strict\";var a=e.extend(\"sap.suite.ui.commons.ProcessFlowConnectionLabel\",{metadata:{library:\"sap.suite.ui.commons\",properties:{priority:{type:\"int\",group:\"Misc\",defaultValue:0},state:{type:\"sap.suite.ui.commons.ProcessFlowConnectionLabelState\",group:\"Appearance\",defaultValue:\"Neutral\"}}}});a.prototype._bNavigationFocus=false;a.prototype._bSelected=false;a.prototype._bHighlighted=false;a.prototype.ACTIVE_CSS_CLASS=\"sapSuiteUiCommonsProcessFlowLabelActive\";a.prototype.HOVER_CSS_CLASS=\"sapSuiteUiCommonsProcessFlowLabelHover\";a.prototype.MOUSE_EVENTS=\"mouseenter mousedown mouseup mouseleave\";a.prototype._oResBundle=null;a.prototype._bDimmed=false;a.prototype.init=function(){if(e.prototype.init){e.prototype.init.apply(this,arguments)}this.addStyleClass(\"sapSuiteUiCommonsProcessFlowConnectionLabel\");if(!this._oResBundle){this._oResBundle=o.getResourceBundleFor(\"sap.suite.ui.commons\")}};a.prototype.exit=function(){this.$().off(this.MOUSE_EVENTS,this._handleEvents)};a.prototype.onBeforeRendering=function(){this.$().off(this.MOUSE_EVENTS,this._handleEvents);this._configureStateClasses();this._setLabelWidth();this._setAriaDetails()};a.prototype.onAfterRendering=function(){if(!this.getText()){if(this.$().children().hasClass(\"sapMBtnIconFirst\")){this.$().children().removeClass(\"sapMBtnIconFirst\")}}this.$().on(this.MOUSE_EVENTS,this._handleEvents.bind(this));document.getElementById(this.getId()).setAttribute(\"aria-haspopup\",\"dialog\")};a.prototype._handleEvents=function(e){var t=sap.ui.require(\"sap/suite/ui/commons/ProcessFlow\");if(!t){return}switch(e.type){case t._mouseEvents.mouseEnter:this.$().find(\"*\").addClass(this.HOVER_CSS_CLASS);break;case t._mouseEvents.mouseDown:this.$().find(\"*\").removeClass(this.HOVER_CSS_CLASS);this.$().find(\"*\").addClass(this.ACTIVE_CSS_CLASS);break;case t._mouseEvents.mouseUp:this.$().find(\"*\").removeClass(this.ACTIVE_CSS_CLASS);this.$().find(\"*\").addClass(this.HOVER_CSS_CLASS);break;case t._mouseEvents.mouseLeave:this.$().find(\"*\").removeClass(this.ACTIVE_CSS_CLASS);this.$().find(\"*\").removeClass(this.HOVER_CSS_CLASS);break;default:}};a.prototype._getNavigationFocus=function(){return this._bNavigationFocus};a.prototype._setNavigationFocus=function(e){this._bNavigationFocus=e};a.prototype._setSelected=function(e){this._bSelected=e};a.prototype._getSelected=function(){return this._bSelected};a.prototype._setHighlighted=function(e){this._bHighlighted=e};a.prototype._getHighlighted=function(){return this._bHighlighted};a.prototype._setDimmed=function(e){this._bDimmed=e};a.prototype._getDimmed=function(){return this._bDimmed};a.prototype.setWidth=function(){return this};a.prototype.setIconFirst=function(){return this};a.prototype._setLabelWidth=function(){if(this.getIcon()){if(this.getText()){this.setProperty(\"width\",\"4.5rem\",false)}else{this.setProperty(\"width\",\"2rem\",false)}}else if(this.getText()&&this.getText().length>2){this.setProperty(\"width\",\"4.5rem\",false)}else{this.setProperty(\"width\",\"2rem\",false)}};a.prototype._configureStateClasses=function(){switch(this.getState()){case t.ProcessFlowConnectionLabelState.Positive:this.addStyleClass(\"sapSuiteUiCommonsLabelStatePositive\");break;case t.ProcessFlowConnectionLabelState.Critical:this.addStyleClass(\"sapSuiteUiCommonsLabelStateCritical\");break;case t.ProcessFlowConnectionLabelState.Negative:this.addStyleClass(\"sapSuiteUiCommonsLabelStateNegative\");break;default:this.addStyleClass(\"sapSuiteUiCommonsLabelStateNeutral\")}if(this._getDimmed()&&this.getEnabled()){this.addStyleClass(\"sapSuiteUiCommonsLabelDimmed\")}else{this.removeStyleClass(\"sapSuiteUiCommonsLabelDimmed\")}if(this._getSelected()){this.addStyleClass(\"sapSuiteUiCommonsLabelSelected\")}else{this.removeStyleClass(\"sapSuiteUiCommonsLabelSelected\")}if(this._getHighlighted()){this.addStyleClass(\"sapSuiteUiCommonsLabelHighlighted\")}else{this.removeStyleClass(\"sapSuiteUiCommonsLabelHighlighted\")}};a.prototype._setAriaDetails=function(){var e=new s;e.setText(this._oResBundle.getText(\"PF_CONNECTIONLABEL\"));e.toStatic();if(this.getAriaLabelledBy().length===0){this.addAriaLabelledBy(e)}};return a});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ProcessFlowConnectionLabelRenderer\", [\"sap/m/ButtonRenderer\",\"sap/ui/core/Renderer\"],function(e,r){\"use strict\";var n=r.extend(e);n.apiVersion=2;return n},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ProcessFlowConnectionRenderer\", [\"./library\"],function(e){\"use strict\";var o={apiVersion:2};o.render=function(e,o){var s=o._traverseConnectionData();var t=o.getZoomLevel();e.openStart(\"div\");e.attr(\"id\",o.getId());e.attr(\"role\",\"presentation\");e.attr(\"aria-label\",o._getAriaText(s));e.openEnd();if(o._isHorizontalLine(s)){this._writeHorizontalLine(e,s,t,o)}else if(o._isVerticalLine(s)){this._writeVerticalLine(e,s,t,o._getShowLabels())}else{this._writeSpecialLine(e,s,t,o)}e.close(\"div\")};o._writeVerticalLine=function(s,t,i,a){s.openStart(\"div\");s.class(\"sapSuiteUiCommonsFloatLeft\");if(a){s.class(\"sapSuiteUiCommonsPFWithLabel\")}switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxZoom1Width\");s.class(\"sapSuiteUiCommonsBoxWideZoom1Height\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxZoom3Width\");s.class(\"sapSuiteUiCommonsBoxWideZoom3Height\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxZoom4Width\");s.class(\"sapSuiteUiCommonsBoxWideZoom4Height\");break;default:s.class(\"sapSuiteUiCommonsBoxZoom2Width\");s.class(\"sapSuiteUiCommonsBoxWideZoom2Height\")}s.openEnd();s.close(\"div\");s.openStart(\"div\");s.class(\"sapSuiteUiCommonsFloatLeft\");s.class(\"sapSuiteUiCommonsBoxMiddleBorderWidth\");switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxWideZoom1Height\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxWideZoom3Height\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxWideZoom4Height\");break;default:s.class(\"sapSuiteUiCommonsBoxWideZoom2Height\")}s.class(\"sapSuiteUiCommonsBorderLeft\");if(t.top.type===e.ProcessFlowConnectionType.Planned){s.class(\"sapSuiteUiCommonsBorderLeftTypePlanned\")}else{s.class(\"sapSuiteUiCommonsBorderLeftTypeNormal\")}if(t.top.state===e.ProcessFlowConnectionState.Highlighted){s.class(\"sapSuiteUiCommonsBorderLeftStateHighlighted\");s.class(\"sapSuiteUiCommonsStateHighlighted\")}else if(t.top.state===e.ProcessFlowConnectionState.Dimmed){s.class(\"sapSuiteUiCommonsBorderLeftStateDimmed\")}else if(t.top.state===e.ProcessFlowConnectionState.Selected){s.class(\"sapSuiteUiCommonsBorderLeftStateSelected\");s.class(\"sapSuiteUiCommonsStateSelected\")}else{s.class(\"sapSuiteUiCommonsBorderLeftStateRegular\");s.class(\"sapSuiteUiCommonsStateRegular\")}s.openEnd();s.close(\"div\");o._resetFloat(s)};o._writeHorizontalLine=function(s,t,i,a){s.openStart(\"div\");s.class(\"sapSuiteUiCommonsBoxWideWidth\");switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxTopZoom1Height\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxTopZoom3Height\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxTopZoom4Height\");break;default:s.class(\"sapSuiteUiCommonsBoxTopZoom2Height\")}s.openEnd();s.close(\"div\");s.openStart(\"div\");if(t.arrow){s.class(\"sapSuiteUiCommonsParentPosition\");if(a._getShowLabels()){s.class(\"sapSuiteUiCommonsPFWithLabel\")}switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxWideArrowZoom1Width\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxWideArrowZoom3Width\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxWideArrowZoom4Width\");break;default:s.class(\"sapSuiteUiCommonsBoxWideArrowZoom2Width\")}}else{s.class(\"sapSuiteUiCommonsBoxWideWidth\")}s.class(\"sapSuiteUiCommonsBoxMiddleBorderHeight\");s.class(\"sapSuiteUiCommonsBorderBottom\");if(t.right.type===e.ProcessFlowConnectionType.Planned){s.class(\"sapSuiteUiCommonsBorderBottomTypePlanned\")}else{s.class(\"sapSuiteUiCommonsBorderBottomTypeNormal\")}if(t.right.state===e.ProcessFlowConnectionState.Highlighted){s.class(\"sapSuiteUiCommonsBorderBottomStateHighlighted\");s.class(\"sapSuiteUiCommonsStateHighlighted\")}else if(t.right.state===e.ProcessFlowConnectionState.Dimmed){s.class(\"sapSuiteUiCommonsBorderBottomStateDimmed\")}else if(t.right.state===e.ProcessFlowConnectionState.Selected){s.class(\"sapSuiteUiCommonsBorderBottomStateSelected\");s.class(\"sapSuiteUiCommonsStateSelected\")}else{s.class(\"sapSuiteUiCommonsBorderBottomStateRegular\");s.class(\"sapSuiteUiCommonsStateRegular\")}s.openEnd();if(t.labels&&a._showLabels){o._renderLabel(s,a,t)}if(t.arrow){s.openStart(\"div\");s.class(\"sapSuiteUiCommonsArrowRight\");if(t.right.state===e.ProcessFlowConnectionState.Highlighted){s.class(\"sapSuiteUiCommonsBorderLeftStateHighlighted\")}else if(t.right.state===e.ProcessFlowConnectionState.Dimmed){s.class(\"sapSuiteUiCommonsBorderLeftStateDimmed\")}else if(t.right.state===e.ProcessFlowConnectionState.Selected){s.class(\"sapSuiteUiCommonsBorderLeftStateSelected\")}else{s.class(\"sapSuiteUiCommonsBorderLeftStateRegular\")}s.openEnd();s.close(\"div\")}s.close(\"div\")};o._writeSpecialLine=function(e,s,t,i){o._writeFirstRowOfSpecialLine(e,s,t,i);o._writeSecondRowOfSpecialLine(e,s,t,i);o._writeThirdRowOfSpecialLine(e,s,t,i);o._resetFloat(e)};o._writeFirstRowOfSpecialLine=function(o,s,t,i){o.openStart(\"div\");o.class(\"sapSuiteUiCommonsFloatLeft\");if(i._getShowLabels()){o.class(\"sapSuiteUiCommonsPFWithLabel\")}switch(t){case e.ProcessFlowZoomLevel.One:o.class(\"sapSuiteUiCommonsBoxZoom1Width\");o.class(\"sapSuiteUiCommonsBoxTopZoom1Height\");break;case e.ProcessFlowZoomLevel.Three:o.class(\"sapSuiteUiCommonsBoxZoom3Width\");o.class(\"sapSuiteUiCommonsBoxTopZoom3Height\");break;case e.ProcessFlowZoomLevel.Four:o.class(\"sapSuiteUiCommonsBoxZoom4Width\");o.class(\"sapSuiteUiCommonsBoxTopZoom4Height\");break;default:o.class(\"sapSuiteUiCommonsBoxZoom2Width\");o.class(\"sapSuiteUiCommonsBoxTopZoom2Height\")}o.openEnd();o.close(\"div\");o.openStart(\"div\");if(i._getShowLabels()){o.class(\"sapSuiteUiCommonsPFWithLabel\")}o.class(\"sapSuiteUiCommonsFloatLeft\");switch(t){case e.ProcessFlowZoomLevel.One:o.class(\"sapSuiteUiCommonsBoxTopZoom1Height\");break;case e.ProcessFlowZoomLevel.Three:o.class(\"sapSuiteUiCommonsBoxTopZoom3Height\");break;case e.ProcessFlowZoomLevel.Four:o.class(\"sapSuiteUiCommonsBoxTopZoom4Height\");break;default:o.class(\"sapSuiteUiCommonsBoxTopZoom2Height\")}if(s.hasOwnProperty(\"top\")&&s.top.draw){o.class(\"sapSuiteUiCommonsBoxMiddleBorderWidth\");o.class(\"sapSuiteUiCommonsBorderLeft\");if(s.top.type===e.ProcessFlowConnectionType.Planned){o.class(\"sapSuiteUiCommonsBorderLeftTypePlanned\")}else{o.class(\"sapSuiteUiCommonsBorderLeftTypeNormal\")}if(s.top.state===e.ProcessFlowConnectionState.Highlighted){o.class(\"sapSuiteUiCommonsBorderLeftStateHighlighted\");o.class(\"sapSuiteUiCommonsStateHighlighted\")}else if(s.top.state===e.ProcessFlowConnectionState.Dimmed){o.class(\"sapSuiteUiCommonsBorderLeftStateDimmed\")}else if(s.top.state===e.ProcessFlowConnectionState.Selected){o.class(\"sapSuiteUiCommonsBorderLeftStateSelected\");o.class(\"sapSuiteUiCommonsStateSelected\")}else{o.class(\"sapSuiteUiCommonsBorderLeftStateRegular\");o.class(\"sapSuiteUiCommonsStateRegular\")}}else{o.class(\"sapSuiteUiCommonsBoxMiddleWidth\")}o.openEnd();o.close(\"div\")};o._writeSecondRowOfSpecialLine=function(s,t,i,a){o._resetFloat(s);s.openStart(\"div\");s.class(\"sapSuiteUiCommonsFloatLeft\");if(a._getShowLabels()){s.class(\"sapSuiteUiCommonsPFWithLabel\")}switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxZoom1Width\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxZoom3Width\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxZoom4Width\");break;default:s.class(\"sapSuiteUiCommonsBoxZoom2Width\")}if(t.hasOwnProperty(\"left\")&&t.left.draw){s.class(\"sapSuiteUiCommonsBoxMiddleBorderHeight\");s.class(\"sapSuiteUiCommonsBorderBottom\");if(t.left.type===e.ProcessFlowConnectionType.Planned){s.class(\"sapSuiteUiCommonsBorderBottomTypePlanned\")}else{s.class(\"sapSuiteUiCommonsBorderBottomTypeNormal\")}if(t.left.state===e.ProcessFlowConnectionState.Highlighted){s.class(\"sapSuiteUiCommonsBorderBottomStateHighlighted\");s.class(\"sapSuiteUiCommonsStateHighlighted\")}else if(t.left.state===e.ProcessFlowConnectionState.Dimmed){s.class(\"sapSuiteUiCommonsBorderBottomStateDimmed\")}else if(t.left.state===e.ProcessFlowConnectionState.Selected){s.class(\"sapSuiteUiCommonsBorderBottomStateSelected\");s.class(\"sapSuiteUiCommonsStateSelected\")}else{s.class(\"sapSuiteUiCommonsBorderBottomStateRegular\");s.class(\"sapSuiteUiCommonsStateRegular\")}}else{s.class(\"sapSuiteUiCommonsBoxMiddleHeight\")}s.openEnd();s.close(\"div\");s.openStart(\"div\");s.class(\"sapSuiteUiCommonsFloatLeft\");if(a._getShowLabels()){s.class(\"sapSuiteUiCommonsPFWithLabel\")}s.class(\"sapSuiteUiCommonsBoxMiddleWidth\");s.class(\"sapSuiteUiCommonsBoxMiddleBorderHeight\");if(t.hasOwnProperty(\"left\")&&t.left.draw||t.hasOwnProperty(\"right\")&&t.right.draw||t.hasOwnProperty(\"top\")&&t.top.draw||t.hasOwnProperty(\"bottom\")&&t.bottom.draw){s.class(\"sapSuiteUiCommonsBorderBottom\");s.class(\"sapSuiteUiCommonsBorderBottomTypeNormal\");if(t.right.state===e.ProcessFlowConnectionState.Highlighted||t.top.state===e.ProcessFlowConnectionState.Highlighted||t.left.state===e.ProcessFlowConnectionState.Highlighted||t.bottom.state===e.ProcessFlowConnectionState.Highlighted){s.class(\"sapSuiteUiCommonsBorderBottomStateHighlighted\");s.class(\"sapSuiteUiCommonsStateHighlighted\")}else if(t.right.state===e.ProcessFlowConnectionState.Selected||t.top.state===e.ProcessFlowConnectionState.Selected||t.left.state===e.ProcessFlowConnectionState.Selected||t.bottom.state===e.ProcessFlowConnectionState.Selected){s.class(\"sapSuiteUiCommonsBorderBottomStateSelected\");s.class(\"sapSuiteUiCommonsStateSelected\")}else if(t.right.state===e.ProcessFlowConnectionState.Dimmed||t.top.state===e.ProcessFlowConnectionState.Dimmed||t.left.state===e.ProcessFlowConnectionState.Dimmed||t.bottom.state===e.ProcessFlowConnectionState.Dimmed){s.class(\"sapSuiteUiCommonsBorderBottomStateDimmed\")}else{s.class(\"sapSuiteUiCommonsBorderBottomStateRegular\");s.class(\"sapSuiteUiCommonsStateRegular\")}}s.openEnd();s.close(\"div\");s.openStart(\"div\");if(a._getShowLabels()&&t.arrow||!a._getShowLabels()){s.class(\"sapSuiteUiCommonsFloatLeft\")}if(a._getShowLabels()){s.class(\"sapSuiteUiCommonsPFWithLabel\")}if(t.arrow){s.class(\"sapSuiteUiCommonsParentPosition\");switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxArrowZoom1Width\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxArrowZoom3Width\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxArrowZoom4Width\");break;default:s.class(\"sapSuiteUiCommonsBoxArrowZoom2Width\")}}else if(a._getShowLabels()){switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxZoom1WidthWithLabel\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxZoom3WidthWithLabel\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxZoom4WidthWithLabel\");break;default:s.class(\"sapSuiteUiCommonsBoxZoom2WidthWithLabel\")}}else{switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxZoom1Width\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxZoom3Width\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxZoom4Width\");break;default:s.class(\"sapSuiteUiCommonsBoxZoom2Width\")}}if(t.hasOwnProperty(\"right\")&&t.right.draw){s.class(\"sapSuiteUiCommonsBoxMiddleBorderHeight\");s.class(\"sapSuiteUiCommonsBorderBottom\");if(t.right.type===e.ProcessFlowConnectionType.Planned){s.class(\"sapSuiteUiCommonsBorderBottomTypePlanned\")}else{s.class(\"sapSuiteUiCommonsBorderBottomTypeNormal\")}if(t.right.state===e.ProcessFlowConnectionState.Highlighted){s.class(\"sapSuiteUiCommonsBorderBottomStateHighlighted\");s.class(\"sapSuiteUiCommonsStateHighlighted\")}else if(t.right.state===e.ProcessFlowConnectionState.Dimmed){s.class(\"sapSuiteUiCommonsBorderBottomStateDimmed\")}else if(t.right.state===e.ProcessFlowConnectionState.Selected){s.class(\"sapSuiteUiCommonsBorderBottomStateSelected\");s.class(\"sapSuiteUiCommonsStateSelected\")}else{s.class(\"sapSuiteUiCommonsBorderBottomStateRegular\");s.class(\"sapSuiteUiCommonsStateRegular\")}}else{s.class(\"sapSuiteUiCommonsBoxMiddleHeight\")}s.openEnd();if(t.labels&&a._showLabels){o._renderLabel(s,a,t)}if(t.arrow){s.openStart(\"div\");s.class(\"sapSuiteUiCommonsArrowRight\");if(t.hasOwnProperty(\"right\")){if(t.right.state===e.ProcessFlowConnectionState.Highlighted){s.class(\"sapSuiteUiCommonsBorderLeftStateHighlighted\")}else if(t.right.state===e.ProcessFlowConnectionState.Dimmed){s.class(\"sapSuiteUiCommonsBorderLeftStateDimmed\")}else if(t.right.state===e.ProcessFlowConnectionState.Selected){s.class(\"sapSuiteUiCommonsBorderLeftStateSelected\")}else{s.class(\"sapSuiteUiCommonsBorderLeftStateRegular\")}}s.openEnd();s.close(\"div\")}s.close(\"div\")};o._writeThirdRowOfSpecialLine=function(s,t,i,a){o._resetFloat(s);s.openStart(\"div\");s.class(\"sapSuiteUiCommonsFloatLeft\");if(a._getShowLabels()){s.class(\"sapSuiteUiCommonsPFWithLabel\")}switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxZoom1Width\");s.class(\"sapSuiteUiCommonsBoxBottomZoom1Height\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxZoom3Width\");s.class(\"sapSuiteUiCommonsBoxBottomZoom3Height\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxZoom4Width\");s.class(\"sapSuiteUiCommonsBoxBottomZoom4Height\");break;default:s.class(\"sapSuiteUiCommonsBoxZoom2Width\");s.class(\"sapSuiteUiCommonsBoxBottomZoom2Height\")}s.openEnd();s.close(\"div\");s.openStart(\"div\");if(a._getShowLabels()){s.class(\"sapSuiteUiCommonsPFWithLabel\")}s.class(\"sapSuiteUiCommonsFloatLeft\");switch(i){case e.ProcessFlowZoomLevel.One:s.class(\"sapSuiteUiCommonsBoxBottomZoom1Height\");break;case e.ProcessFlowZoomLevel.Three:s.class(\"sapSuiteUiCommonsBoxBottomZoom3Height\");break;case e.ProcessFlowZoomLevel.Four:s.class(\"sapSuiteUiCommonsBoxBottomZoom4Height\");break;default:s.class(\"sapSuiteUiCommonsBoxBottomZoom2Height\")}if(t.hasOwnProperty(\"bottom\")&&t.bottom.draw){s.class(\"sapSuiteUiCommonsBoxMiddleBorderWidth\");s.class(\"sapSuiteUiCommonsBorderLeft\");if(t.bottom.type===e.ProcessFlowConnectionType.Planned){s.class(\"sapSuiteUiCommonsBorderLeftTypePlanned\")}else{s.class(\"sapSuiteUiCommonsBorderLeftTypeNormal\")}if(t.bottom.state===e.ProcessFlowConnectionState.Highlighted){s.class(\"sapSuiteUiCommonsBorderLeftStateHighlighted\");s.class(\"sapSuiteUiCommonsStateHighlighted\")}else if(t.bottom.state===e.ProcessFlowConnectionState.Dimmed){s.class(\"sapSuiteUiCommonsBorderLeftStateDimmed\")}else if(t.bottom.state===e.ProcessFlowConnectionState.Selected){s.class(\"sapSuiteU Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/manageCards/CardsList\", [\"sap/base/Log\",\"sap/ui/core/Core\",\"sap/ui/core/Control\",\"sap/ui/core/Icon\",\"sap/ui/core/dnd/DragDropInfo\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/integration/widgets/Card\",\"sap/m/MessageStrip\",\"sap/m/FlexBox\",\"sap/m/HBox\",\"sap/m/VBox\",\"sap/m/Text\",\"sap/m/Button\",\"sap/m/ToggleButton\",\"sap/m/Title\",\"sap/m/SearchField\",\"sap/m/ScrollContainer\",\"sap/m/Table\",\"sap/m/Column\",\"sap/m/ColumnListItem\",\"sap/m/Link\",\"sap/m/MessageBox\",\"sap/m/FormattedText\",\"sap/m/MessageToast\",\"sap/m/Popover\",\"sap/m/Page\",\"sap/m/Label\",\"sap/m/Switch\",\"../CardHelper\",\"sap/m/IllustratedMessage\",\"../utils/CardPreviewManager\",\"../utils/DeviceType\",\"../utils/AppConstants\",\"sap/ui/performance/trace/FESRHelper\",\"../utils/CardDndConfig\",\"../utils/InsightsUtils\",\"sap/f/GridContainer\",\"sap/f/GridContainerSettings\",\"sap/m/IllustratedMessageSize\",\"sap/m/IllustratedMessageType\"],function(e,t,i,s,a,r,n,o,l,d,h,g,p,u,c,C,f,m,x,b,y,B,T,v,w,I,_,S,P,M,V,F,A,H,L,R,D,E,k,N,W){\"use strict\";var U=e.getLogger(\"sap.insights.manageCards.CardsList\");var O;var j;var z=i.extend(\"sap.insights.manageCards.CardsList\",{metadata:{properties:{enableResetAllCards:{type:\"boolean\",group:\"Behavior\",defaultValue:false},_count:{type:\"int\",group:\"Appearance\",defaultValue:0},_visibleCount:{type:\"int\",group:\"Appearance\",defaultValue:0},_dtCards:{type:\"array\",group:\"Appearance\",defaultValue:[]}},aggregations:{_page:{type:\"sap.m.Page\",multiple:false,visibility:\"hidden\"}},events:{listPress:{allowPreventDefault:true,parameters:{manifest:\"string\",listRefresh:\"array\"}}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t);e.style(\"height\",\"100%\");e.style(\"width\",\"100%\");e.openEnd();e.renderControl(t.getAggregation(\"_page\"));e.close(\"div\");return}}});z.prototype.init=function(){this._oWrapperFlexBox=new d(this.getId()+\"--flexContainerCardsContent\",{alignItems:\"Start\",justifyContent:\"Start\",height:\"100%\",width:\"100%\",direction:\"Column\",busy:\"{/isLoading}\"}).addStyleClass(\"flexContainerCards\");this.i18Bundle=D.getResourceBundle();var e=new _(this.getId()+\"--insightCardPage\",{title:this.i18Bundle.getText(\"insightsCards\"),showHeader:true,backgroundDesign:\"List\",enableScrolling:false,content:this._oWrapperFlexBox,titleLevel:\"H3\"});this.setAggregation(\"_page\",e)};z.prototype._handleModelChange=function(){if(this.getModel()){var e=this.getModel().getProperty(\"/cards\");if(e.length>0){this._setHeaderStaticControls();this._setProperties();this._createTableContent();if(this.oNoCardVBox){this.oNoCardVBox.setVisible(false)}}else{this._createNoCardContent()}}};z.prototype._setHeaderStaticControls=function(){if(!this.oMessageStrip){this.oMessageStrip=new l(this.getId()+\"--insightMaxCardMsg\",{text:this.i18Bundle.getText(\"insightMaxCardText\"),type:\"Warning\",showIcon:true});this.oTextMessage=new p(this.getId()+\"--insightCardText\",{text:this.i18Bundle.getText(\"insightCardTabText\"),textAlign:\"Begin\",width:\"100%\"}).addStyleClass(\"sapUiSmallMarginTop\");this.oMessageVBox=new g(this.getId()+\"--insightCardMessageVBox\",{alignItems:\"Start\",width:\"calc(100% - 2rem)\",items:[this.oMessageStrip,this.oTextMessage]}).addStyleClass(\"sapUiSmallMarginTop sapUiSmallMarginBegin\");this.oCardListHeaderHBox=new h(this.getId()+\"--insightCardListHeaderVBox\",{width:\"calc(100% - 2rem)\",alignItems:\"Center\"}).addStyleClass(\"sapUiSmallMarginTop sapUiSmallMarginBegin insightsCardTitleFlex\");this.oCardCountTitle=new C(this.getId()+\"--availableInsightsCardsTitle\",{titleStyle:\"H4\"});this.oCardListHeaderHBox.addItem(this.oCardCountTitle);var e=new h(this.getId()+\"--insightCardSearchHBox\",{width:\"100%\",justifyContent:\"End\"});var t=new h(this.getId()+\"--insightCardVisFilterHBox\",{width:\"50%\",alignItems:\"Center\",justifyContent:\"End\"});t.addItem(new S(this.getId()+\"--showVisibleOnlyLabel\",{text:this.i18Bundle.getText(\"cardsVisibleFilter\")}));this._oVisibleFilterSwitch=new P(this.getId()+\"--insightCardSwitchBtn\",{customTextOn:\" \",customTextOff:\" \",ariaLabelledBy:[this.getId()+\"--availableInsightsCardsTitle\",this.getId()+\"--showVisibleOnlyLabel\"],change:this._handleVisibleFilterChange.bind(this)});L.setSemanticStepname(this._oVisibleFilterSwitch,\"change\",\"visibleFilterSwitch\");t.addItem(this._oVisibleFilterSwitch);e.addItem(t);this._oSearchField=new f(this.getId()+\"--insightCardSearch\",{liveChange:this._onCardSearch.bind(this),width:\"100%\"});e.addItem(this._oSearchField);this.oCardListHeaderHBox.addItem(e);this._oWrapperFlexBox.addItem(this.oMessageVBox);this._oWrapperFlexBox.addItem(this.oCardListHeaderHBox)}else{this.oMessageVBox.setVisible(true);this.oCardListHeaderHBox.setVisible(true)}};z.prototype._applyFilters=function(e,t){var i;var s=[];if(t){i=new r(\"visibility\",n.EQ,true);s.push(i)}if(this._oSearchField.getValue()){i=new r(\"descriptorContent/sap.card/header/title\",n.Contains,e);s.push(i)}var a=this._oTable.getBinding(\"items\");a.filter(s,\"Application\")};z.prototype._handleVisibleFilterChange=function(e){var t=e.getSource().getState();this._applyFilters(this._oSearchField.getValue(),t)};z.prototype._createResetBox=function(){if(!this.oRefreshHBox){this.oRefreshHBox=new h(this.getId()+\"--insightCardMessageHBox\",{alignItems:\"Center\"});this.oRefreshHBox.addItem(new p(this.getId()+\"--insightsRefreshText\",{text:this.i18Bundle.getText(\"refreshText\")}));this.oRefreshBtn=new u(this.getId()+\"--insightsRefreshIcon\",{tooltip:this.i18Bundle.getText(\"refresh\"),icon:\"sap-icon://refresh\",type:\"Transparent\",press:this._refreshCardList.bind(this),ariaLabelledBy:[this.getId()+\"--insightsRefreshText\"]});this.oRefreshHBox.addItem(this.oRefreshBtn);L.setSemanticStepname(this.oRefreshBtn,\"press\",\"refreshCards\");this.oMessageVBox.addItem(this.oRefreshHBox)}else{this.oRefreshHBox.setVisible(true)}};z.prototype._setProperties=function(){var e=this.getModel().getProperty(\"/cards\");this.setProperty(\"_count\",e.length);var t=e.filter(function(e){return e.descriptorContent[\"sap.insights\"].isDtCardCopy});this.setProperty(\"_dtCards\",t);var i=e.filter(function(e){return e.visibility});this.setProperty(\"_visibleCount\",i.length);this.bEnableResetAll=this.getEnableResetAllCards();if(this.getProperty(\"_visibleCount\")>9){this.oMessageStrip.setVisible(true);this.oTextMessage.setVisible(false)}else{this.oTextMessage.setVisible(true);this.oMessageStrip.setVisible(false)}this.oCardCountTitle.addStyleClass(\"editInsightsTitleFontSize\");this.oCardCountTitle.setText(this.i18Bundle.getText(\"availableCards\")+\" (\"+this.getProperty(\"_visibleCount\")+\"/\"+this.getProperty(\"_count\")+\")\");if(this.bEnableResetAll||this.getProperty(\"_dtCards\").length>0){this._createResetBox()}else if(this.oRefreshHBox){this.oRefreshHBox.setVisible(false)}if(this._oTable){this._oTable.updateAggregation(\"items\")}};z.prototype._createNoCardContent=function(){if(!this.oNoCardVBox){var e=new V(this.getId()+\"--editInsightNoInsightsCardsMsg\",{illustrationSize:N.Auto,illustrationType:W.NoEntries,title:this.i18Bundle.getText(\"editInsightsEmptyCardTitle\"),description:this.i18Bundle.getText(\"editInsightsEmptyCardSubTitle\")}).addStyleClass(\"sapFIllustratedMessageAlign sapFFrequentIllustratedMessageAlign sapUiMargin-24Top\");var t=new m(this.getId()+\"--idNoCardCardsScrollContainer\",{vertical:true,horizontal:false,height:\"100%\",width:\"100%\",content:[e]});this.oNoCardVBox=new g(this.getId()+\"--idNoCardVBox\",{height:\"100%\",width:\"100%\",items:[t]});this._oWrapperFlexBox.addItem(this.oNoCardVBox)}else{this.oNoCardVBox.setVisible(true)}if(this.oCardListHeaderHBox){this.oCardListHeaderHBox.setVisible(false)}if(this.oMessageVBox){this.oMessageVBox.setVisible(false)}if(this.oTableFlexBox){this.oTableFlexBox.setVisible(false)}};z.prototype._handleTableItemsChange=function(e){if(e&&e.getParameters()&&e.getParameters().reason!==\"filter\"){this._handleModelChange()}};z.prototype._createTableContent=function(){if(!this.oTableFlexBox){this.oTableFlexBox=new d(this.getId()+\"--editInsightsCardsFlex\",{alignItems:\"Start\",justifyContent:\"Start\",height:\"100%\",width:\"calc(100% - 2rem)\",direction:\"Row\"}).addStyleClass(\"sapUiSmallMarginBegin sapUiSmallMarginTop flexContainerCards\");this.oTableVBox=new g(this.getId()+\"--insightsCardsVBox\",{height:\"100%\",width:\"100%\",justifyContent:\"Start\",direction:\"Column\"});this.oScrollContainer=new m(this.getId()+\"--idCardsScrollContainer\",{vertical:true,horizontal:false,height:\"100%\",width:\"100%\",content:this._createTable()});this.oTableVBox.addItem(this.oScrollContainer);this.oTableFlexBox.addItem(this.oTableVBox);this._oWrapperFlexBox.addItem(this.oTableFlexBox);this._oTable.getBinding(\"items\").attachChange(this._handleTableItemsChange.bind(this))}else{this.oTableFlexBox.setVisible(true)}};z.prototype._onCardSearch=function(e,t){var i=e?e.getSource().getValue():t;this._applyFilters(i,this._oVisibleFilterSwitch.getState())};z.prototype._createTable=function(){if(!this._oTable){this._oTable=new x(this.getId()+\"--insightsCardsListTable\",{columns:[new b(this.getId()+\"--idTableDnDIconColumn\",{hAlign:\"Center\",width:A.getDialogBasedDevice()!==H.DEVICE_TYPES.Mobile?\"5%\":\"7%\"}),new b(this.getId()+\"--idSectionTitleColumn\",{width:A.getDialogBasedDevice()!==H.DEVICE_TYPES.Mobile?\"85%\":\"76%\"}),new b(this.getId()+\"--idSectionVisColumn\",{width:A.getDialogBasedDevice()!==H.DEVICE_TYPES.Mobile?\"10%\":\"17%\"})],updateFinished:function(){if(O>=0){this.getItems()[O].focus()}if(j){var e=this.getItems().findIndex(function(e){return e.getBindingContextPath()===j});if(e>=0){this.getItems()[e].getCells()[2].getItems()[0].focus()}}}}).addStyleClass(\"sapContrastPlus\");this._oTable.bindAggregation(\"items\",{path:\"/cards\",length:100,factory:this._generateTableColumnsTemplate.bind(this)});this._oTable.addDragDropConfig(new a({sourceAggregation:\"items\",targetAggregation:\"items\",drop:this._handleDrop.bind(this)}));this._oTable.attachBrowserEvent(\"keydown\",this._attachDndHandler.bind(this,this._oTable,this._handleDrop.bind(this)))}return this._oTable};z.prototype._generateTableColumnsTemplate=function(){var e=new y({press:this._handleCardListItemPress.bind(this),type:\"Navigation\",ariaLabelledBy:[this.getId()+\"--availableInsightsCardsTitle\"]}).addStyleClass(\"insightsListItem insightsListMargin\");var t=new h({items:[new s({src:\"sap-icon://BusinessSuiteInAppSymbols/icon-grip\"}).addStyleClass(\"insightsDndIcon\")]});var i=new g({items:[new B({text:\"{descriptorContent/sap.card/header/title}\",wrapping:true,press:this._showCardPreviewPopover.bind(this)}),new h({visible:\"{= ${descriptorContent/sap.card/header/subTitle} ? true : false }\",items:[new p({text:\"{descriptorContent/sap.card/header/subTitle}\"})]}).addStyleClass(\"cardsSubTitleMargin\")]}).addStyleClass(\"cardsTitlePadding\");var a=new h({items:[new c({type:{path:\"visibility\",formatter:function(e){return e==true?\"Emphasized\":\"Default\"}},pressed:{path:\"visibility\",mode:\"TwoWay\",formatter:function(e){return!e}},enabled:{path:\"descriptorContent/sap.insights\",mode:\"TwoWay\",formatter:function(e){if(e.visible==false&&this.getProperty(\"_visibleCount\")>=10||e.error){return false}return true}.bind(this)},press:this._handleCardVisibilityToggle.bind(this),icon:\"sap-icon://show\",tooltip:{path:\"visibility\",formatter:function(e){return e==true?this.i18Bundle.getText(\"hideBtn\"):this.i18Bundle.getText(\"showBtn\")}.bind(this)}})]});e.addCell(t);e.addCell(i);e.addCell(a);return e};z.prototype._refreshCardList=function(){var e;if(this.bEnableResetAll){e=this.i18Bundle.getText(\"deleteAllCardsMsg\")}else{var t=this.getProperty(\"_dtCards\");var i=\"

\"+this.i18Bundle.getText(\"refreshAllCards\")+\"

\";i+=\"
    \";t.forEach(function(e){i+='
  • '+e.descriptorContent[\"sap.card\"].header.title+\"
  • \"});i+=\"
\";e=new v({htmlText:i})}T.show(e,{icon:T.Icon.WARNING,title:this.i18Bundle.getText(\"refresh\"),actions:[T.Action.OK,T.Action.CANCEL],emphasizedAction:T.Action.OK,onClose:function(e){if(e===T.Action.OK){M.getServiceAsync().then(function(e){return e._refreshUserCards(this.bEnableResetAll).then(function(){this.cardListRefreshed=true;return this._handleModelChange()}.bind(this))}.bind(this))}}.bind(this)})};z.prototype._handleCardListItemPress=function(e,t){if(e){this.currentCardPreviewPath=e.getSource().getBindingContextPath()}else if(t){this.currentCardPreviewPath=t.getBindingContextPath()}var i=this.getModel().getProperty(this.currentCardPreviewPath);var s=this.getProperty(\"_dtCards\");if(this.cardListRefreshed&&s.length){this.fireListPress({manifest:JSON.stringify(i),listRefresh:s.map(e=>e.descriptorContent[\"sap.app\"][\"id\"])})}else{this.fireListPress({manifest:JSON.stringify(i)})}this.cardListRefreshed=false};z.prototype._handleCardVisibilityToggle=function(e){this._oWrapperFlexBox.setBusy(true);var t=e.getSource();j=t.getBindingContext().sPath;var i=t.getBindingContext().getPath();var s=this.getModel().getProperty(i);var a=!s.visibility;s.visibility=a;s.descriptorContent[\"sap.insights\"].visible=a;M.getServiceAsync().then(function(e){e._updateCard(s.descriptorContent,true).then(function(){this._oWrapperFlexBox.setBusy(false);this._handleModelChange();if(this._oTable){this._oTable.updateAggregation(\"items\");this._applyFilters(this._oSearchField.getValue(),this._oVisibleFilterSwitch.getState())}return}.bind(this)).catch(function(e){this._oWrapperFlexBox.setBusy(false);w.show(e.message);U.error(e.message)}.bind(this))}.bind(this))};z.prototype._showCardPreviewPopover=function(e){var t=this.getModel();var i=e.getSource().getParent().getBindingContext().getPath();var s=t.getProperty(i);var a=e.getSource();var r=new g({alignItems:\"Center\",justifyContent:\"Center\",renderType:\"Bare\"}).addStyleClass(\"sapUiSmallMargin\");var n=new o({manifest:F.getCardPreviewManifest(s.descriptorContent),width:\"17rem\",height:\"23.5rem\"});var l=new E({snapToRow:true,containerQuery:true,inlineBlockLayout:true,allowDenseFill:false,items:[new g({width:\"17rem\",height:\"100%\",alignItems:\"Center\",justifyContent:\"Center\",items:[n]})],layout:new k({rowSize:\"23.5rem\",columnSize:\"17rem\"})});r.addItem(l);var d=new I({title:this.i18Bundle.getText(\"preview\"),placement:\"VerticalPreferredBottom\",showHeader:true}).addStyleClass(\"sapContrastPlus previewPopoverBackground\");d.addContent(r);d.openBy(a)};z.prototype._handleDrop=function(e){var t=e.getParameter?e.getParameter(\"draggedControl\"):e.draggedControl,i=t.getParent().indexOfItem(t),s=e.getParameter?e.getParameter(\"droppedControl\"):e.droppedControl,a=t.getParent().indexOfItem(s);if(i!==a){var r=this._oTable.getItems()[i].getBindingContext().getObject().rank,n=this._oTable.getItems()[a].getBindingContext().getObject().rank,o=this.getModel().getProperty(\"/cards\");var l=o.findIndex(function(e){return e.rank===r});var d=o.findIndex(function(e){return e.rank===n});var h=R.updateCardsRanking(l,d,o);try{this._oWrapperFlexBox.setBusy(true);M.getServiceAsync().then(function(e){e._updateMultipleCards(h,\"PUT\").then(function(){var e=this.getModel().getProperty(\"/cards\");e[l].descriptorContent[\"sap.insights\"].ranking=e[l].rank;e=e.sort(function(e,t){if(e.ranke.getId()===o);if(l>=0&&l=0&&d\");e.write(\"\");this.renderHeader(e,t);e.write(\"\");e.write(\"\");e.renderControl(t._getNavBar());e.write(\"\");e.write(\"\");this.renderHeaderContent(e,t);e.write(\"\");e.write(\"\");this.renderFacetContent(e,t);e.write(\"\");if(t.getLogo()){e.write(\"\");e.write(\"\");e.write(\"\")}e.write(\"\")};i.renderHeader=function(e,t){var i=t.getMenuContent().length;e.write(\"\");if(t.getIcon()){e.write(\"\")}if(i>0){e.renderControl(t._oMenuButton)}e.write(\"\");e.writeEscaped(t.getType());e.write(\"\");e.write(\"\");e.writeEscaped(t.getTitle());e.write(\"\");e.write(\"\");e.writeEscaped(t.getSubtitle());e.write(\"\");e.write(\"\");this.renderFlyOutMenu(e,t)};i.renderFacetContent=function(e,t){var i=t.getFacetContent();for(var r=0;r\");e.write(\"\");e.write(\"\");e.writeEscaped(a.getTitle());e.write(\"\");e.write(\"\");e.write(\"\");var s=a.getContent();for(var d=0;d\");e.write(\"\")}};i.renderFlyOutMenu=function(e,t){e.write(\"\");var i=t.getMenuContent();for(var r=0;r\")};return i},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/Timeline\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/ui/core/Control\",\"sap/ui/core/ResizeHandler\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/ClientListBinding\",\"sap/ui/model/FilterType\",\"sap/suite/ui/commons/TimelineNavigator\",\"sap/suite/ui/commons/util/DateUtils\",\"sap/suite/ui/commons/util/ManagedObjectRegister\",\"sap/ui/model/json/JSONModel\",\"sap/ui/model/Sorter\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/base/ManagedObject\",\"sap/suite/ui/commons/TimelineItem\",\"sap/suite/ui/commons/TimelineRenderManager\",\"sap/ui/core/delegate/ScrollEnablement\",\"sap/ui/base/Object\",\"sap/base/assert\",\"sap/base/Log\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/Configuration\",\"./TimelineRenderer\",\"sap/ui/core/Lib\",\"sap/base/i18n/Localization\"],function(jQuery,t,e,i,r,s,n,o,a,l,u,h,p,c,g,f,d,_,m,y,I,D,F,S,b,T){\"use strict\";var M=t.TimelineScrollingFadeout,v=t.TimelineAlignment,C=t.TimelineGroupType,B=t.TimelineFilterType,w=t.TimelineAxisOrientation;var N=e.extend(\"sap.suite.ui.commons.Timeline\",{metadata:{library:\"sap.suite.ui.commons\",properties:{alignment:{type:\"sap.suite.ui.commons.TimelineAlignment\",group:\"Misc\",defaultValue:\"Right\"},axisOrientation:{type:\"sap.suite.ui.commons.TimelineAxisOrientation\",group:\"Misc\",defaultValue:\"Vertical\"},data:{type:\"object\",group:\"Misc\",defaultValue:null,deprecated:true},enableAllInFilterItem:{type:\"boolean\",group:\"Behavior\",defaultValue:true,deprecated:true},enableBackendFilter:{type:\"boolean\",group:\"Misc\",defaultValue:true,deprecated:true},enableBusyIndicator:{type:\"boolean\",group:\"Misc\",defaultValue:true},enableDoubleSided:{type:\"boolean\",group:\"Misc\",defaultValue:false},enableModelFilter:{type:\"boolean\",group:\"Misc\",defaultValue:true},enableScroll:{type:\"boolean\",group:\"Misc\",defaultValue:true},enableSocial:{type:\"boolean\",group:\"Misc\",defaultValue:false},filterTitle:{type:\"string\",group:\"Misc\",defaultValue:null},forceGrowing:{type:\"boolean\",group:\"Misc\",defaultValue:false},group:{type:\"boolean\",group:\"Misc\",defaultValue:false,deprecated:true},groupBy:{type:\"string\",group:\"Misc\",defaultValue:null},groupByType:{type:\"sap.suite.ui.commons.TimelineGroupType\",group:\"Misc\",defaultValue:\"None\"},growing:{type:\"boolean\",group:\"Misc\",defaultValue:true,deprecated:true},growingThreshold:{type:\"int\",group:\"Misc\",defaultValue:5},height:{type:\"sap.ui.core.CSSSize\",group:\"Misc\",defaultValue:\"\"},lazyLoading:{type:\"boolean\",group:\"Dimension\",defaultValue:false},noDataText:{type:\"string\",group:\"Misc\",defaultValue:null},scrollingFadeout:{type:\"sap.suite.ui.commons.TimelineScrollingFadeout\",group:\"Misc\",defaultValue:\"None\"},showFilterBar:{type:\"boolean\",group:\"Misc\",defaultValue:true,deprecated:true},showHeaderBar:{type:\"boolean\",group:\"Misc\",defaultValue:true},showIcons:{type:\"boolean\",group:\"Misc\",defaultValue:true},showItemFilter:{type:\"boolean\",group:\"Misc\",defaultValue:true},showSearch:{type:\"boolean\",group:\"Misc\",defaultValue:true},showSort:{type:\"boolean\",group:\"Misc\",defaultValue:true},showSuggestion:{type:\"boolean\",group:\"Behavior\",defaultValue:true,deprecated:true},showTimeFilter:{type:\"boolean\",group:\"Misc\",defaultValue:true},sort:{type:\"boolean\",group:\"Misc\",defaultValue:true},dateTimePath:{type:\"string\",group:\"Misc\",defaultValue:\"\"},sortOldestFirst:{type:\"boolean\",group:\"Misc\",defaultValue:false},textHeight:{type:\"string\",group:\"Misc\",defaultValue:\"\"},width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:\"100%\"}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.suite.ui.commons.TimelineItem\",multiple:true,singularName:\"content\"},customFilter:{type:\"sap.ui.core.Control\",multiple:false},filterList:{type:\"sap.suite.ui.commons.TimelineFilterListItem\",multiple:true,singularName:\"filterList\"},suggestionItems:{type:\"sap.m.StandardListItem\",multiple:true,singularName:\"suggestionItem\",deprecated:true}},events:{addPost:{deprecated:true,parameters:{value:{type:\"string\"}}},customMessageClosed:{},filterOpen:{},filterSelectionChange:{parameters:{type:{type:\"sap.suite.ui.commons.TimelineFilterType\"},searchTerm:{type:\"string\"},selectedItem:{type:\"string\"},selectedItems:{type:\"object\"},timeKeys:{type:\"object\"},clear:{type:\"boolean\"}}},grow:{},itemFiltering:{parameters:{item:{type:\"sap.suite.ui.commons.TimelineItem\"},reasons:{type:\"object\"},dataKeys:{type:\"object\"},timeKeys:{type:\"object\"},searchTerm:{type:\"string\"}}},select:{parameters:{selectedItem:{type:\"sap.suite.ui.commons.TimelineItem\"},userAction:{type:\"boolean\"}}},suggest:{deprecated:true,parameters:{suggestValue:{type:\"string\"}}},suggestionItemSelected:{deprecated:true,parameters:{selectedItem:{type:\"sap.ui.core.Item\"}}}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},designTime:true}});function G(t,e){var i;Object.defineProperty(t,e,{get:function(){return typeof i===\"function\"?i():i},set:function(t){i=t}})}var x=b.getResourceBundleFor(\"sap.suite.ui.commons\"),E=Object.freeze({ASCENDING:\"ASCENDING\",DESCENDING:\"DESCENDING\"}),P=Object.freeze({UP:\"UP\",DOWN:\"DOWN\",NONE:\"NONE\"}),L={Year:r.getDateInstance({pattern:\"yyyy\"}),Quarter:r.getDateInstance({pattern:\"QQQQ yyyy\"}),Month:r.getDateInstance({format:\"yyyyMMMM\"}),Week:r.getDateInstance({pattern:\"w\"}),Day:r.getDateInstance({style:\"long\"}),MonthDay:r.getDateInstance({style:\"medium\"}),YearQuarter:r.getDateInstance({pattern:\"yyyy/QQ\"}),YearMonth:r.getDateInstance({pattern:\"yyyy/MM\"}),YearMonthWeek:r.getDateInstance({pattern:\"yyyy/MM/w\"}),YearMonthDay:r.getDateInstance({pattern:\"yyyy/MM/dd\"})};function A(t,e){var i;y(Array.isArray(t),\"aArray must be an array.\");if(typeof t.findIndex===\"function\"){return t.findIndex(e)}for(i=0;i500){return C.Year}else if(t>200){return C.Quarter}else if(t>62){return C.Month}return C.Day};N.prototype._setRangeFilter=function(){var t=this._fnDateDiff(this._rangeFilterType);this._objects.getTimeRangeSlider().setMin(0);this._objects.getTimeRangeSlider().setMax(t);this._objects.getTimeRangeSlider().setRange([0,t]);this._objects.getTimeRangeSlider().invalidate();var e=this._objects.getTimeRangeSlider().getRange();if(e[1]-e[0]===0){this._objects.getTimeRangeSlider().addStyleClass(\"sapTimelineRangeFilterNoDiff\")}else{this._objects.getTimeRangeSlider().removeStyleClass(\"sapTimelineRangeFilterNoDiff\")}};N.prototype._sortClick=function(){var t,e;this._sortOrder=this._sortOrder===E.ASCENDING?E.DESCENDING:E.ASCENDING;this._objects.getSortIcon().setIcon(this._getSorterIcon());this._objects.getSortIcon().setTooltip(this._sortOrder===E.ASCENDING?x.getText(\"TIMELINE_SORT_ASCENDING\"):x.getText(\"TIMELINE_SORT_DESCENDING\"));if(this._useModelFilter()){t=this.getBinding(\"content\");e=this._findDateTimeBindingPath();t.sort(this._getDefaultSorter(e,this._sortOrder===E.ASCENDING))}else{this.invalidate()}};N.prototype._getSorterIcon=function(){return this._sortOrder===E.ASCENDING?\"sap-icon://sort-ascending\":\"sap-icon://sort-descending\"};N.prototype._sort=function(t,e){var i=e||this._sortOrder;t.sort(function(t,e){var r=t.getDateTime(),s=e.getDateTime(),n=i===E.ASCENDING?-1:1;return r0){this._filter=new p(s,true);r.push(this._filter)}if(r.length){this.aPrevFilters=r.map(function(t){return t});e.filter(r,n.Control)}else{if(this.aPrevFilters.length==0&&s.length==0){this._setBusy(false);return}else{this.aPrevFilters=r.map(function(t){return t});e.filter(r,n.Control)}}}else{this.invalidate()}};N.prototype._getRangeMessage=function(){var t=this._rangeMessage;if(!t){var e=this._formatGroupBy(this._startDate,this._rangeFilterType).title,i=this._formatGroupBy(this._endDate,this._rangeFilterType).title;if(T.getTimezone()!==Intl.DateTimeFormat().resolvedOptions().timeZone&&e instanceof Date&&i instanceof Date){e=r.getDateTimeWithTimezoneInstance().format(e);i=r.getDateTimeWithTimezoneInstance().format(i)}t=x.getText(\"TIMELINE_RANGE_SELECTION\")+\" (\";t+=e+\" - \"+i+\")\"}return t};N.prototype._getFilterMessage=function(){var t=\"\",e=null;if(this._dataMessage){t=this._dataMessage}else if(this._currentFilterKeys.length>0){t=this._currentFilterKeys.map(function(t){return t.text?t.text:t.key}).join(\", \");t=this._getFilterTitle()+\" (\"+t+\")\"}if(this._rangeDataFilter||this._rangeMessage||this._startDate&&this._endDate){t=t?t+\", \":\"\";t+=this._getRangeMessage()}if(this._customFilterMessage){t=t?t+\", \"+this._customFilterMessage:this._customFilterMessage}if(t){e=x.getText(\"TIMELINE_FILTER_INFO_BY\",[t])}return e};N.prototype.refreshContent=function(){var t=this.getBinding(\"content\"),e=this.getBindingInfo(\"content\"),i=this.getGrowingThreshold();this._setBusy(true);if(t&&e){this._iItemCount=t.sOperationMode===\"Default\"||t.sOperationMode===\"Server\"?0:this._iItemCount;t.getContexts(0,i);e.length=i}else{this.updateAggregation(\"content\")}};N.prototype.updateContent=function(){this._setBusy(false);this._updateDone=true;this.updateAggregation(\"content\");var t=this._objects.getSortIcon();var e=this._objects.getFilterIcon();if(this.getAggregation(\"content\").length<=1){t.setEnabled(false);e.setEnabled(false)}else{t.setEnabled(true);e.setEnabled(true)}this.invalidate()};N.prototype.destroyContent=function(){var t=this.$(\"line\"),e=this.$().find(\".sapSuiteUiCommonsTimelineItemGetMoreButton\");if(t.get(0)){t.remove()}if(e.get(0)){e.remove()}this.destroyAggregation(\"content\");return this};N.prototype._search=function(t){var e=this,i,r,s,n,o=[];this._searchValue=t;if(this._useModelFilter()){i=this._fireSelectionChange({searchTerm:this._searchValue,type:B.Search});if(i){this._searchFilter=null;if(this._searchValue||this._searchValue===\"\"){r=this._findBindingPaths(\"text\");s=this._findBindingPaths(\"title\");n=this._findBindingPaths(\"userName\");if(r.length>0){o.push(r)}if(s.length>0){o.push(s)}if(n.length>0){o.push(n)}if(o.length>0){this._searchFilter=new p(o.map(function(t){return new p(t.map(function(t){return new p(t,c.Contains,e._searchValue)}),false)}))}}this.recreateFilter()}}else{this.invalidate()}};N.prototype._filterData=function(t){var e,i;this._dataMessage=\"\";if(this._useModelFilter()){this._dataFilter=null;e=this._fireSelectionChange({selectedItem:this._currentFilterKeys[0]?this._currentFilterKeys[0].key:\"\",selectedItems:this._currentFilterKeys,type:B.Data});if(e){if(this._currentFilterKeys.length>0){i=this._findBindingPath(\"filterValue\");if(i){this._dataFilter=new p(this._currentFilterKeys.map(function(t){return new p(i,c.EQ,t.key)}),false)}}}this._rangeDataFilter=null;if(t){e=this._fireSelectionChange({type:B.Time,timeKeys:{from:this._startDate,to:this._endDate}});if(e){i=this._findDateTimeBindingPath();if(i){this._rangeDataFilter=new p({path:i,operator:c.BT,value1:this._startDate,value2:this._endDate})}}}this._setBusy(true);this.recreateFilter()}else{this.invalidate()}};N.prototype._filterRangeData=function(){var t,e;this._rangeMessage=\"\";if(this._useModelFilter()){t=this._fireSelectionChange({from:this._startDate,to:this._endDate,type:B.Time});if(t){e=this._findDateTimeBindingPath();this._rangeDataFilter=null;if(e){this._rangeDataFilter=new p({path:e,operator:c.BT,value1:this._startDate,value2:this._endDate})}this._setBusy(true);this.recreateFilter()}}else{this.invalidate()}};N.prototype.applySettings=function(t,e){g.prototype.applySettings.apply(this,[t,e]);this._settingsApplied=true;if(this._bindOptions){this.bindAggregation(\"content\",this._bindOptions);this._bindOptions=null}};N.prototype._setFilterList=function(){var t=false,e,i,r,s={},n,o;this._aFilterList=[];if(this._useModelFilter()){this._aFilterList=this.getFilterList().map(function(t){return{key:t.getProperty(\"key\"),text:t.getProperty(\"text\")}});if(this._aFilterList.length===0){o=this._findBindingData(\"filterValue\");n=this.getBinding(\"content\");if(o&&n){e=n.getDistinctValues(o.path);if(Array.isArray(e)){this._aFilterList=e.map(function(t){return{key:t,text:o.formatter?o.formatter(t):t}});this._aFilterList=this._aFilterList.filter(function(t){return t.key})}t=true}}}else{i=this.getContent();t=true;for(var a=0;ae.text}})}};N.prototype._clearFilter=function(){var t=function(){var t,e=this._objects.getTimeRangeSlider();this._startDate=null;this._endDate=null;this._rangeMessage=null;e.setRange([e.getMin(),e.getMax()]);if(this._useModelFilter()){t=this._fireSelectionChange({clear:true,timeKeys:{from:null,to:null},type:B.Range})}return t}.bind(this),e=function(){var t;this._currentFilterKeys=[];if(this._useModelFilter()){t=this._fireSelectionChange({clear:true,selectedItems:[],selectedItem:\"\",type:B.Data})}return t}.bind(this);var i=e(),r=t();this._customFilterMessage=\"\";if(i||r){if(i){this._dataFilter=null}if(r){this._rangeDataFilter=null}this.recreateFilter(true)}else{this.invalidate()}this._objects.destroyObject(\"FilterContent\");this._setupFilterDialog()};N.prototype._getTimeFilterData=function(){var t=this,e,i,r,s,n=function(e,i){return l(e,t[i]).then(function(e){if(e){if(!t._objects.getTimeFilterSelect().getEnabled()){t._objects.getTimeFilterSelect().setEnabled(true)}var r=a.parseDate(e);if(r instanceof Date){t[i]=r}}}).catch(function(){t._objects.getTimeFilterSelect().setEnabled(false)})},o=function(e){var i,r,s,n,o,l=\"sap_suite_ui_commons_Timeline\";i=this.getBinding(\"content\").getModel();if(!i){return Promise.reject()}r=this._findDateTimeBindingPath();if(!r){return}s=new h(r,e);n=this.getBinding(\"content\");if(!n){return Promise.reject()}if(i.submitBatch){o={$$groupId:l}}var u=i.bindList(n.getPath(),n.getContext(),s,undefined,o);u.initialize();var c=u.getContexts(0,1);if(m.isA(u,\"sap.ui.model.json.JSONListBinding\")&&c.length===0){return Promise.reject()}else if(c.length>0&&c[0].getProperty(r)){return Promise.resolve(a.parseDate(c[0].getProperty(r)))}else if(m.isA(u,\"sap.ui.model.odata.v4.ODataListBinding\")){t._setBusy(true);return new Promise(function(e,s){i.submitBatch(l).then(function(){t._setBusy(false);p(u,r,e,s)})})}else if(u&&u.attachDataReceived){t._setBusy(true);return new Promise(function(e,i){u.attachDataReceived(function(){t._setBusy(false);p(u,r,e,i)})})}return Promise.reject()}.bind(this),l=function(t,e){if(e){return Promise.resolve(e)}return o(t===\"max\")},u=function(){e=this.getContent();if(e.length>0){this._minDate=e[0].getDateTime();this._maxDate=e[0].getDateTime();for(var t=1;tthis._maxDate){this._maxDate=s}}}},p=function(t,e,i,r){var s=t.getContexts(0,1);if(s.length>0){i(a.parseDate(s[0].getProperty(e)))}else{r()}};return new Promise(function(e,s){if(!t._maxDate||!t._minDate){if(t._useModelFilter()){i=n(\"min\",\"_minDate\",i);r=n(\"max\",\"_maxDate\",r);Promise.all([i,r]).then(function(){e()}).catch(function(){s()})}else{u.call(t);e()}}else{e()}})};N.prototype._openFilterDialog=function(){var t=this.getCustomFilter();if(t){if(typeof t.openBy===\"function\"){t.openBy(this._objects.getFilterIcon())}else if(typeof t.open===\"function\"){t.open()}else{I.error(\"CustomFilter is expected to have an openBy or open function. The provided instance doesn't have either.\")}this.fireFilterOpen();return}this._filterState={data:false,range:false};this._objects.getFilterContent().open();this._objects.getTimestampFilterPicker().resizeDialog(this._objects);this.fireFilterOpen()};N.prototype._createGroupHeader=function(t,e){var i=this.getId()+\"-timelinegroupheader-\"+this._groupId,r=t.key,s=new f(i,{text:\"GroupHeader\",dateTime:t.date,userName:r,title:t.title,icon:\"sap-icon://arrow-down\"});s._isGroupHeader=true;if(e){s.setParent(this,\"content\");this._aGroups.push(s)}else{this.addAggregation(\"content\",s,false)}this._groupId++;return s};N.prototype._getDefaultSorter=function(t,e){var i=this;if(t){return new h(t,!e,function(e){var r=e.getProperty(t),s=a.parseDate(r);return s instanceof Date?i._formatGroupBy(s,i.getGroupByType()):{date:s}})}};N.prototype._findBindingInfoFromTemplate=function(t,e){if(!e){var i=this.getBindingInfo(\"content\");if(i){e=i.template}}if(e){var r=e.getBindingInfo(t);if(r&&r.parts&&r.parts[0]){return r}}return null};N.prototype._findBindingPaths=function(t,e){var i=this._findBindingInfoFromTemplate(t,e);if(i&&i.parts){return i.parts.map(function(t){return t.path})}return[]};N.prototype._findDateTimeBindingPath=function(t){var e=this.getDateTimePath();if(e){return e}var i=this._findBindingInfoFromTemplate(\"dateTime\",t);if(i){return i.parts[0].path}return null};N.prototype._findBindingPath=function(t,e){var i=this._findBindingInfoFromTemplate(t,e);if(i){return i.parts[0].path}return null};N.prototype._findBindingData=function(t,e){var i=this._findBindingInfoFromTemplate(t,e);if(i){return{path:i.parts[0].path,formatter:i.formatter}}return null};N.prototype._bindGroupingAndSorting=function(t){if(!this._isGrouped()&&this.getSort()){var e=this._findDateTimeBindingPath(t.template);if(e){t.sorter=this._getDefaultSorter(e,this.getSortOldestFirst())}}t.groupHeaderFactory=null;if(this._isGrouped()){t.sorter=this._getDefaultSorter(this.getGroupBy(),this.getSortOldestFirst());t.groupHeaderFactory=this._createGroupHeader.bind(this)}};N.prototype.updateBindingContext=function(){this.reset();return g.prototype.updateBindingContext.apply(this,arguments)};N.prototype.bindAggregation=function(t,e){if(t===\"content\"){if(!this._settingsApplied){this._bindOptions=e;return null}this._bindGroupingAndSorting(e);if(this._lazyLoading()){this._iItemCount=this._calculateItemCountToLoad(jQuery(window));if(!this._loadAllData(true)){e.length=this._iItemCount}}else if(this._displayShowMore()&&!this._loadAllData(e.template||e.factory)){this._iItemCount=this.getGrowingThreshold();e.length=this._iItemCount}this._oOptions=e}return g.prototype.bindAggregation.apply(this,[t,e])};N.prototype._calculateItemCountToLoad=function(t){var e=w.Vertical===this.getAxisOrientation(),i=e?t.height():t.width(),r=this.getEnableDoubleSided(),s=r?.6:1,n=e?1200:2e3,o=e?120:280,a=13*s,l;if(!i){i=n}l=i/(o*s)*1.5;return Math.floor(Math.max(l,a))};N.prototype.onBeforeRendering=function(){var t=this.getGrowingThreshold(),e;this._bRtlMode=T.getRTL();this._objects.getSortIcon().setIcon(this._getSorterIcon());this._objects.getSortIcon().setTooltip(this._sortOrder===E.ASCENDING?x.getText(\"TIMELINE_SORT_ASCENDING\"):x.getText(\"TIMELINE_SORT_DESCENDING\"));this._aGroups=[];this._bRendered=false;e=this.getContent();if(!this._iItemCount&&!this._useBinding()&&this._lazyLoading()){this._iItemCount=this._calculateItemCountToLoad(jQuery(window))}if(!this._iItemCount){if(t!==0){this._iItemCount=t}}if(!this._iItemCount||!this._useGrowing()){this._iItemCount=e.filter(function(t){return!t._isGroupHeader}).length}this._setOutput(e)};N.prototype.addContentGroup=function(t){};N.prototype._performScroll=function(t){var e=this,i=this._isVertical()?this._$content.get(0).scrollTop+t:this._$content.get(0).scrollLeft+t;i=Math.max(i,0);if(this._isVertical()){this._$content.get(0).scrollTop=i}else{this._$content.get(0).scrollLeft=i}if(this._manualScrolling){setTimeout(e._performScroll.bind(e,t),50)}};N.prototype._moveScrollBar=function(t){if(this._lastScrollPosition.more||this._lastScrollPosition.backup){if(t){this._lastScrollPosition.more=this._lastScrollPosition.backup}if(!t){this._lastScrollPosition.backup=this._lastScrollPosition.more}this._lastScrollPosition.more=0}};N.prototype.onAfterRendering=function(){var t=this.$();if(this._isVertical()){this._$content=this.$(\"content\");this._$scroll=this.$(\"scroll\")}else{this._$content=this.$(\"contentH\");this._$scroll=this.$(\"scrollH\")}if(this._updateDone||this._loadMoreDone){this.setBusy(false);this._updateDone=false;this._loadMoreDone=false}if(!this._oScroller){this._oScroller=new _(this,this._$scroll.attr(\"id\"),{})}this._oScroller._$Container=this._$scroll.parent();this._oScroller.setVertical(this._isVertical());this._oScroller.setHorizontal(!this._isVertical());this._startItemNavigation();if(!this.getShowHeaderBar()){this.oItemNavigation.iFocusedIndex=0}this._scrollersSet=false;this._scrollMoreEvent=true;this._lastStateDblSided=null;this._showCustomMessage();this._setupScrollEvent();this._performUiChanges();this._moveScrollBar();this._bRendered=true;t.css(\"opacity\",1)};N.prototype._clientFilter=function(t){var e=[],i,r,s,n,o,a,l,u,h,p;function c(t){return t.key===i.getProperty(\"filterValue\")}for(var g=0;g0){n=A(this._currentFilterKeys,c);if(n===-1){r=true;s[B.Data]=1}}if(this._startDate&&this._endDate){o=i.getDateTime();if(othis._endDate){r=true;s[B.Time]=1}}if(this._searchValue){a=this._searchValue.toLowerCase();l=i.getProperty(\"text\")||\"\";u=i.getProperty(\"title\")||\"\";h=i.getProperty(\"userName\")||\"\";if(!(l.toLowerCase().indexOf(a)!==-1||u.toLowerCase().indexOf(a)!==-1||h.toLowerCase().indexOf(a)!==-1)){r=true;s[B.Search]=1}}p=!this.fireEvent(\"itemFiltering\",{item:i,reasons:s,dataKeys:this._currentFilterKeys,timeKeys:{from:this._startDate,to:this._endDate},searchTerm:this._searchValue},true);if(p){r=!r}if(!r){e.push(i)}}return e};N.prototype._setOutput=function(t){var e;var i=function(){var t=0,i=[],r=0;if(this._iItemCount!==e.length){for(;rthis._iItemCount){break}i.push(e[r])}e=i}},r=function(){var t=[],i,r,s={key:\"\"};for(var n=0;nthis._iItemCount;if(!this._showMore&&this._useModelFilter()){this._showMore=e.length===this._iItemCount&&this._iItemCount1){t.rows.push(s);s=[]}s.push(e)});if(s.length>0){t.rows.push(s)}}else{i=[];r=[];this._outputItem.forEach(function(t){if(t._placementLine===\"top\"){i.push(t)}else{while(r.length+1n){n=t.length}return t.map(function(t){return t===null?null:t.getFocusDomRef()})});t.rows.forEach(function(t){while(t.length0){t.rows.push(t.rows[0].map(function(t,i,r){if(i===r.length-1){return e}else{return null}}))}else{t.rows.push([e])}}else{t.rows.forEach(function(t,i,r){if(i===r.length-1){t.push(e)}else{t.push(null)}})}}}return t};N.prototype.setShowItemFilter=function(t){this.setProperty(\"showItemFilter\",t,true);if(this._objects.isObjectInitialized(\"FilterContent\")){this._setupFilterFirstPage(this._objects.getFilterContent())}this._objects.getFilterIcon().setVisible(t||this.getShowTimeFilter());return this};N.prototype.setShowTimeFilter=function(t){this.setProperty(\"showTimeFilter\",t,true);if(this._objects.isObjectInitialized(\"FilterContent\")){this._setupFilterFirstPage(this._objects.getFilterContent())}this._objects.getFilterIcon().setVisible(t||this.getShowItemFilter());return this};N.prototype._getFilterTitle=function(){var t=this.getFilterTitle();if(!t){t=x.getText(\"TIMELINE_FILTER_ITEMS\")}return t};N.prototype.getNoDataText=function(){var t=this.getProperty(\"noDataText\");if(!t){t=x.getText(\"TIMELINE_NO_DATA\")}return t};N.prototype.setSortOldestFirst=function(t){this._sortOrder=t?E.ASCENDING:E.DESCENDING;this._objects.getSortIcon().setIcon(this._getSorterIcon());this._objects.getSortIcon().setTooltip(this._sortOrder===E.ASCENDING?x.getText(\"TIMELINE_SORT_ASCENDING\"):x.getText(\"TIMELINE_SORT_DESCENDING\"));this.setProperty(\"sortOldestFirst\",t);return this};N.prototype.setGrowingThreshold=function(t){this.setProperty(\"growingThreshold\",t,true);this._iItemCount=t;return this};N.prototype.setShowHeaderBar=function(t){this.setProperty(\"showHeaderBar\",t,true);this._objects.getHeaderBar().setVisible(t);return this};N.prototype.setSort=function(t){this.setProperty(\"sort\",t);this._objects.getSortIcon().setVisible(t&&this.getShowSort());return this};N.prototype.setAxisOrientation=function(t){this.setProperty(\"axisOrientation\",t);if(this._oScroller){this._oScroller.destroy();this._oScroller=null}return this};N.prototype.setEnableDoubleSided=function(t){this.setProperty(\"enableDoubleSided\",t);this._renderDblSided=t;return this};N.prototype.getCurrentFilter=function(){return this._currentFilterKeys.map(function(t){return{key:t.key,text:t.text||t.key}})};N.prototype.reset=function(){this._iItemCount=0;this._aFilterList=[];this._collapsedGroups={};this._renderDblSided=null;this._groupId=0;this._lastScrollPosition={x:0,y:0,more:0};this._sortOrder=this.getSortOldestFirst()?E.ASCENDING:E.DESCENDING;this._scrollersSet=false;this._currentFilterKeys=[];if(this._objects?.getFilterContent){this._objects.destroyObject(\"FilterContent\");this._setupFilterDialog()}this._bRendered=false;this._noAnimation=true};N.prototype.setShowFilterBar=function(t){this.setProperty(\"showFilterBar\",t,true);this.setShowHeaderBar(t);return this};N.prototype.setShowSearch=function(t){this.setProperty(\"showSearch\",t,true);this._objects.getSearchField().setVisible(!!t);return this};N.prototype.setShowSort=function(t){this.setProperty(\"showSort\",t,true);this._objects.getSortIcon().setVisible(this.getSort()&&t);return this};N.prototype.setCustomMessage=function(t){this._customMessage=t;this._showCustomMessage();return this};N.prototype.getHeaderBar=function(){return this._objects.getHeaderBar()};N.prototype.getMessageStrip=function(){return this._objects.getMessageStrip()};N.prototype.setContent=function(t){this.removeAllContent();var e=0;for(var i=0;i\"+t}return i};if(typeof t===\"undefined\"){return this}r=o(\"/\",e);i.setData(t);this.setModel(i,e);this.setProperty(\"data\",t,true);s={path:r,sorter:this._getDefaultSorter(\"dateTime\",this.getSortOldestFirst()),factory:n.bind(this)};if(this._isGrouped()){s.groupHeaderFactory=this._getGroupHeader.bind(this)}this.bindAggregation(\"content\",s);return this};N.prototype.getSuspendSocialFeature=function(){return this._suspenseSocial};N.prototype.setSuspendSocialFeature=function(t){this._suspenseSocial=t;if(!this.getEnableSocial()){return}var e=this.getContent();for(var i=0;i=this._getMaxItemsCount()};N.prototype._useModelFilter=function(t){return this.getEnableModelFilter()&&(t||this._useTemplateBinding()||this._useFactoryBinding())};N.prototype._scrollingFadeout=function(t){return false};N.prototype._setBusy=function(t){if(this.getEnableBusyIndicator()){this.setBusy(t)}};N.prototype._fireSelectionChange=function(t){return this.fireEvent(\"filterSelectionChange\",t,true)};N.prototype._isLeftAlignment=function(){return this.getAlignment()===v.Left||this.getAlignment()===v.Top};N.prototype._useBinding=function(t){return this.getBindingInfo(\"content\")!=null};N.prototype._useTemplateBinding=function(){var t=this.getBindingInfo(\"content\");return t&&t.template!=null};N.prototype._useFactoryBinding=function(){var t=this.getBindingInfo(\"content\");return t&&t.factory!=null};N.prototype._useAutomaticHeight=function(){return this.getTextHeight().toLowerCase()===\"automatic\"&&!this._isVertical()};N.prototype._getItemsCount=function(){return this._outputItem?this._outputItem.length:0};d.extendTimeline(N);return N});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/TimelineFilterListItem\", [\"./library\",\"sap/ui/core/Control\"],function(e,t){\"use strict\";var r=t.extend(\"sap.suite.ui.commons.TimelineFilterListItem\",{metadata:{library:\"sap.suite.ui.commons\",properties:{key:{type:\"string\",group:\"Data\",defaultValue:null},text:{type:\"string\",group:\"Misc\",defaultValue:null}}},renderer:null});return r});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/TimelineItem\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/core/Control\",\"sap/m/Text\",\"sap/m/Toolbar\",\"sap/m/Link\",\"sap/m/TextArea\",\"sap/m/Popover\",\"sap/m/ToolbarSpacer\",\"sap/m/Avatar\",\"sap/m/Button\",\"sap/ui/Device\",\"sap/suite/ui/commons/util/ManagedObjectRegister\",\"sap/suite/ui/commons/util/DateUtils\",\"sap/ui/core/Icon\",\"sap/m/library\",\"sap/ui/core/format/DateFormat\",\"sap/ui/base/Object\",\"sap/ui/dom/containsOrEquals\",\"sap/base/security/encodeXML\",\"./TimelineItemRenderer\",\"sap/ui/events/KeyCodes\",\"sap/ui/core/Lib\"],function(jQuery,e,t,i,s,o,r,n,a,l,p,u,c,h,g,d,f,m,_,y,T,x){\"use strict\";var C=g.PlacementType;var I=g.ToolbarDesign;var v=g.AvatarShape;var b=g.AvatarSize;var S=e.extend(\"sap.suite.ui.commons.TimelineItem\",{metadata:{library:\"sap.suite.ui.commons\",properties:{dateTime:{type:\"any\",group:\"Misc\",defaultValue:null},filterValue:{type:\"string\",group:\"Misc\",defaultValue:null},icon:{type:\"string\",group:\"Misc\",defaultValue:null},iconDisplayShape:{type:\"sap.m.AvatarShape\",defaultValue:v.Circle},iconInitials:{type:\"string\",defaultValue:\"\"},iconSize:{type:\"sap.m.AvatarSize\",defaultValue:b.XS},iconTooltip:{type:\"string\",group:\"Misc\",defaultValue:null},useIconTooltip:{type:\"boolean\",group:\"Accessibility\",defaultValue:true},maxCharacters:{type:\"int\",group:\"Behavior\",defaultValue:null},replyCount:{type:\"int\",group:\"Misc\",defaultValue:null},status:{type:\"string\",group:\"Misc\",defaultValue:null},title:{type:\"string\",group:\"Misc\",defaultValue:null},text:{type:\"string\",group:\"Misc\",defaultValue:null},userName:{type:\"string\",group:\"Misc\",defaultValue:null},userNameClickable:{type:\"boolean\",group:\"Misc\",defaultValue:false},userPicture:{type:\"sap.ui.core.URI\",group:\"Misc\",defaultValue:null}},defaultAggregation:\"embeddedControl\",aggregations:{customAction:{type:\"sap.ui.core.CustomData\",multiple:true,singularName:\"customAction\"},customReply:{type:\"sap.ui.core.Control\",multiple:false},embeddedControl:{type:\"sap.ui.core.Control\",multiple:false},replyList:{type:\"sap.m.List\",multiple:false},suggestionItems:{type:\"sap.m.StandardListItem\",multiple:true,singularName:\"suggestionItem\",deprecated:true}},events:{userNameClicked:{parameters:{uiElement:{type:\"sap.ui.core.Control\"}}},select:{},press:{},replyPost:{parameters:{value:{type:\"string\"}}},replyListOpen:{},customActionClicked:{parameters:{value:{type:\"string\"},key:{type:\"string\"},linkObj:{type:\"sap.m.Link\"}}},suggest:{deprecated:true,parameters:{suggestValue:{type:\"string\"}}},suggestionItemSelected:{deprecated:true,parameters:{selectedItem:{type:\"sap.ui.core.Item\"}}}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}}}});var E=x.getResourceBundleFor(\"sap.suite.ui.commons\"),L={Warning:\"sapSuiteUiCommonsTimelineStatusWarning\",Error:\"sapSuiteUiCommonsTimelineStatusError\",Success:\"sapSuiteUiCommonsTimelineStatusSuccess\",Information:\"sapSuiteUiCommonsTimelineStatusInformation\"};S.prototype.init=function(){this._customReply=false;this._objects=new u;this._nMaxCharactersMobile=500;this._nMaxCharactersDesktop=800;this._sTextShowMore=E.getText(\"TIMELINE_TEXT_SHOW_MORE\");this._registerControls();this._registerPopup();this._orientation=\"V\"};S.prototype.setCustomMessage=function(e){this._objects.getInfoText().setText(e);this._objects.getInfoBar().setVisible(e&&e.length>0);this.invalidate()};S.prototype.setDateTime=function(e){var t=\"\";var i=RegExp(/^(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?(?:[ T][0-9]{2}:[0-9]{2}:[0-9]{2})(?:[.][0-9]{1,12})?[Z]/);var s=RegExp(/^(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?(?:[ T][0-9]{2}:[0-9]{2}:[0-9]{2})/);if(i.test(e)){if(e.indexOf(\".\")>0&&e.split(\".\")[1]){var o=e.split(\".\")[1].length-1;for(var r=0;r-1)||i instanceof sap.m.Avatar){return}if(i instanceof s){this.firePress()}else{this.fireSelect()}};S.prototype.onkeydown=function(e){if(e.which===T.ENTER||e.which===T.SPACE){if(e.srcControl.getId().indexOf(\"userNameLink\")>-1){return}else if(e.srcControl instanceof s){this.firePress()}else{this.fireSelect()}}};S.prototype._performExpandCollapse=function(e){var t=false,i=this._isGroupCollapsed(e);var s=function(e,t){var i=e.find(\".sapSuiteUiCommonsTimelineItemBarV\"),s,o;if(t.get(0)){s=t.attr(\"groupId\");o=!this._isGroupCollapsed(s);if(o){i.addClass(\"sapSuiteUiCommonsTimelineGroupNextExpanded\")}else{i.removeClass(\"sapSuiteUiCommonsTimelineGroupNextExpanded\")}}}.bind(this),o=function(){var e,i,s;if(!t){e=this._objects.getGroupCollapseIcon&&this._objects.getGroupCollapseIcon();i=this.$();s=this._isGroupCollapsed();if(!s){i.removeClass(\"sapSuiteUiCommonsTimelineGroupCollapsed\");i.addClass(\"sapSuiteUiCommonsTimelineGroupExpanded\")}else{i.addClass(\"sapSuiteUiCommonsTimelineGroupCollapsed\");i.removeClass(\"sapSuiteUiCommonsTimelineGroupExpanded\")}e.setSrc(this._getCorrectGroupIcon());t=true}}.bind(this),r=function(){if(this.getParent()){this.getParent()._collapsedGroups[e]=!i}}.bind(this),n=this.$(),a=this,l=n.parent(),p,u,c,h,g,d;r();if(this._orientation===\"H\"){p=this.$(\"line\")}else{p=n.find(\".sapSuiteUiCommonsTimelineGroupHeaderBarWrapper\");u=l.next().children(\"li\").first();c=l.prev().children(\":visible:last\");if(c.get(0)){s(c,n)}if(i){h=l.children().last();s(h,u)}else{s(n,u)}}if(i){p.hide()}else{p.show()}d=n.find(\".sapSuiteUiCommonsTimelineGroupHeaderMainWrapper\");d.attr(\"aria-expanded\",!!i);n.attr(\"aria-expanded\",!!i);if(i){d.attr(\"aria-label\",E.getText(\"TIMELINE_ACCESSIBILITY_GROUP_HEADER\")+\": \"+d.prevObject[0].outerText+\" \"+E.getText(\"TIMELINE_ACCESSIBILITY_GROUP_EXPAND\"),true)}else{d.attr(\"aria-label\",E.getText(\"TIMELINE_ACCESSIBILITY_GROUP_HEADER\")+\": \"+d.prevObject[0].outerText+\" \"+E.getText(\"TIMELINE_ACCESSIBILITY_GROUP_COLLAPSE\"),true)}if(this._orientation!==\"H\"||i){o()}g=this._callParentFn(\"_performExpandCollapse\",e,i,this);if(g){return new Promise(function(e,t){g.then(function(){o();a._callParentFn(\"_performUiChanges\");e()})})}};S.prototype._getStatusColorClass=function(){var e=this.getStatus();return L[e]||\"\"};S.prototype._getLineIcon=function(){var e=this,t;this._objects.register(\"lineIcon\",function(){var i=\"sap-icon://circle-task\",s=e.getText()===\"GroupHeader\";if(!s){i=e.getIcon()?e.getIcon():\"sap-icon://activity-items\"}t=new h(e.getId()+\"-icon\",{src:i,tooltip:e.getIconTooltip(),useIconTooltip:e.getUseIconTooltip()});t.addStyleClass(\"sapSuiteUiCommonsTimelineBarIcon\");return t});return this._objects.getLineIcon()};S.prototype._isGroupCollapsed=function(e){var t=this.getParent();e=e||this._groupID;return t&&t._collapsedGroups&&t._collapsedGroups[e]};S.prototype._getCollapsedText=function(){var e=this.getText().substring(0,this._nMaxCollapsedLength);var t=e.lastIndexOf(\" \");if(t>0){this._sShortText=e.substr(0,t)}else{this._sShortText=e}return this._sShortText};S.prototype._toggleTextExpanded=function(e){var t=this,i=e.getSource(),s=i.$(),o=this.$(\"realtext\"),r=s.height(),n=s.position().top,a=o.parent().position().top,l=s.parent().prev(),p,u,c=this.getParent()&&this.getParent()._noAnimation,h=8,g=function(){return t.getParent()&&t.getParent()._renderDblSided},d=function(e,i,s){l.css(\"-webkit-line-clamp\",s+\"px\");if(g()||c){l.css(\"height\",e+\"px\");t._callParentFn(\"_performUiChanges\")}else{l.animate({height:i},250,t._callParentFn(\"_performUiChanges\"))}};if(this._orientation===\"V\"){u=this.$(\"threeDots\");p=l.children().first();if(!this._expanded){this._textProperties={height:l.css(\"height\"),clamp:l.css(\"-webkit-line-clamp\"),text:p.html()};l.attr(\"expanded\",true);u.hide();p.html(this._encodeHTMLAndLineBreak(this.getText()));var f=E.getText(\"TIMELINE_TEXT_SHOW_LESS\");i.setText(f);d(\"\",p.height(),\"\")}else{l.attr(\"expanded\",false);i.setText(this._sTextShowMore);u.show();p.html(this._textProperties.text);d(this._textProperties.height,this._textProperties.height,this._textProperties.clamp)}t._expanded=!t._expanded}else{var m=a-n-r-h,_=jQuery(window).height()-s.offset().top,y=200;if(_this._nMaxCollapsedLength};S.prototype.onBeforeRendering=function(){var e=this;if(!this._list){this._list=this.getReplyList()}if(this.getReplyCount()>0){this._objects.getReplyLink().setText(E.getText(\"TIMELINE_REPLY\")+\" (\"+this.getReplyCount()+\")\")}else if(this._list&&this._list.getItems().length>0){this._objects.getReplyLink().setText(E.getText(\"TIMELINE_REPLY\")+\" (\"+this._list.getItems().length+\")\")}this._objects.getSocialBar().removeAllContent();if(this._callParentFn(\"getEnableSocial\")){this._objects.getSocialBar().addContent(this._objects.getReplyLink())}this._actionList=this.getCustomAction();function t(t,i){e.fireCustomActionClicked({value:i.value,key:i.key,linkObj:this})}for(var i=0;i\")};S.prototype._getUserPictureControl=function(){var e=this.getId()+\"-userPictureControl\",t=this.getUserPicture(),i=this.getIconInitials(),s=this.getIconDisplayShape(),o=this.getIconSize();if(!t){return null}this._objects.register(\"userPictureControl\",function(){var r=new a({id:e,src:t,initials:i,displayShape:s,displaySize:o,tooltip:E.getText(\"TIMELINE_USER_PICTURE\")});return r});return this._objects.getUserPictureControl()};S.prototype._getUserNameLinkControl=function(){var e=this;if(this.getUserNameClickable()){this._objects.register(\"userNameLink\",function(){var t=new s(e.getId()+\"-userNameLink\",{text:e.getUserName(),press:function(t){e.fireUserNameClicked({uiElement:this})}});t.addStyleClass(\"sapUiSelectable\");return t});return this._objects.getUserNameLink()}};S.prototype.onAfterRendering=function(){this._expanded=false;this._callParentFn(\"_itemRendered\")};S.prototype._registerControls=function(){var e=this;this._objects.register(\"infoText\",new t(this.getId()+\"-infoText\",{maxLines:1,width:\"100%\"}));this._objects.register(\"infoBar\",new i(this.getId()+\"-infoBar\",{id:this.getId()+\"-customMessageInfoBar\",content:[this._objects.getInfoText()],design:I.Info,visible:false}));this._objects.register(\"replyLink\",function(){var t=new s(e.getId()+\"-replyLink\",{text:E.getText(\"TIMELINE_REPLY\"),press:[e._openReplyDialog,e]});t.addStyleClass(\"sapSuiteUiCommonsTimelineItemActionLink\");return t});this._objects.register(\"socialBar\",function(){var t=new i(e.getId()+\"-socialBar\",{});t.data(\"sap-ui-fastnavgroup\",null);return t});this._objects.register(\"replyInputArea\",new o(this.getId()+\"-replyInputArea\",{height:\"4rem\",width:\"100%\"}));this._objects.register(\"replyPop\",function(){return new r(e.getId()+\"-replyPop\",{initialFocus:e._objects.getReplyInputArea(),title:E.getText(\"TIMELINE_REPLIES\"),placement:C.Vertical,footer:new i({content:[new n,new l(e.getId()+\"-replyButton\",{type:g.ButtonType.Emphasized,text:E.getText(\"TIMELINE_REPLY\"),press:function(){e._replyPost();e._objects.getReplyPop().close()}})]}),contentHeight:\"15rem\",contentWidth:\"20rem\"})})};S.prototype.exit=function(){this._objects.destroyAll()};S.prototype.getDateTimeWithoutStringParse=function(){var e=this.getProperty(\"dateTime\");return c.parseDate(e,false)||\"\"};S.prototype.setCustomReply=function(e){if(e){this._customReply=true;this.setAggregation(\"customReply\",e,true)}else{this._customReply=false}return this};S.prototype.setReplyList=function(e){if(e===null){return this}this.setAggregation(\"replyList\",e,true);var t=this;this.getReplyList().attachUpdateFinished(function(e){var i=t._objects.getReplyInputArea().getDomRef(\"inner\");if(i){jQuery(i.id).focus()}});return this};S.prototype.getDateTime=function(){var e=this.getProperty(\"dateTime\");e=c.parseDate(e);if(typeof e===\"string\"&&this instanceof S&&this.getBinding(\"dateTime\")){var t=this.getBinding(\"dateTime\").getValue();if(t instanceof Date){return t}else{return c.parseDate(t)}}else{return e}};S.prototype.onkeyup=function(e){if(e.which==T.ENTER||e.which==T.SPACE){if(m(this.$(\"outline\").get(0),e.target)){if(this._isGroupHeader){this._performExpandCollapse(this._groupID)}}}};return S});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/TimelineItemRenderer\", [\"./library\",\"sap/suite/ui/commons/util/HtmlElement\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/Icon\",\"sap/base/security/encodeXML\",\"sap/base/security/encodeCSS\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/Lib\"],function(e,i,t,a,d,s,l,n,o){\"use strict\";var r=e.TimelineAlignment;var m=e.TimelineGroupType;var p={apiVersion:2};var C=o.getResourceBundleFor(\"sap.suite.ui.commons\"),u=24*60*60*1e3,T=\"\";p.render=function(e,i){this._getTimelineItemElement(i).getRenderer().render(e)};p._getTimelineItemElement=function(e){if(e._orientation===\"V\"){return this._getVerticalTimelineItemElement(e)}else{return this._getHorizontalTimelineItemElement(e)}};p._getFormatedDateTime=function(e,i){i=i||{};var a=i.resBundle||C,d=i.dateFormat||t.getDateInstance({style:\"short\"}),s=i.timeFormat||t.getTimeInstance({style:\"short\"}),l=e.getDateTimeWithoutStringParse(),o,r,m,p;if(!(l instanceof Date)||isNaN(l.getTime())){return l}o=Date.UTC(l.getFullYear(),l.getMonth(),l.getDate());r=n.getInstance();r=Date.UTC(r.getFullYear(),r.getMonth(),r.getDate());m=Math.floor((r-o)/u);switch(m){case 0:p=a.getText(\"TIMELINE_TODAY\");break;case 1:p=a.getText(\"TIMELINE_YESTERDAY\");break;default:p=d.format(l)}T=p+\" \"+a.getText(\"TIMELINE_AT\")+\" \"+this._formatTimeForAriaLabel(s.format(l));return p+\" \"+a.getText(\"TIMELINE_AT\")+\" \"+s.format( Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/Graph\", [\"sap/suite/ui/commons/library\",\"sap/ui/thirdparty/jquery\",\"sap/ui/core/Control\",\"./SvgBase\",\"./Node\",\"./Line\",\"./Group\",\"./layout/LayeredLayout\",\"./Tooltip\",\"sap/ui/model/json/JSONModel\",\"sap/m/SuggestionItem\",\"./Utils\",\"sap/m/Label\",\"sap/m/OverflowToolbar\",\"sap/m/OverflowToolbarButton\",\"sap/m/SearchField\",\"sap/m/ToolbarSpacer\",\"sap/ui/core/CustomData\",\"sap/ui/model/Filter\",\"sap/m/OverflowToolbarLayoutData\",\"./KeyboardNavigator\",\"sap/base/Log\",\"sap/ui/performance/Measurement\",\"sap/base/security/encodeXML\",\"sap/m/ToggleButton\",\"sap/m/library\",\"sap/suite/ui/commons/util/FullScreenUtil\",\"sap/ui/core/InvisibleMessage\",\"sap/ui/core/library\",\"sap/ui/core/Core\",\"sap/ui/core/Lib\",\"sap/ui/core/Element\",\"sap/base/i18n/Localization\",\"sap/ui/core/RenderManager\",\"sap/ui/core/Theming\",\"sap/ui/core/InvisibleText\",\"./GraphRenderer\"],function(e,jQuery,t,i,s,o,n,r,a,h,l,u,c,g,p,f,d,_,m,y,L,v,T,b,S,N,E,I,C,A,O,w,F,R,x,G,$){\"use strict\";var U=N.ButtonType,D=e.networkgraph.Orientation,P=e.networkgraph.LayoutRenderType,k=e.networkgraph.RenderType,B=e.SemanticColorType;var M=\"nodes\",H=\"lines\",Z=\"groups\";var W=[.05,.1,.25,.33,.5,.67,.75,.8,.9,1,1.1,1.25,1.5,1.75,2,2.5,3,4,5],K=1,Y=.4,z=100;var X={Group:\"group\",Node:\"node\",Line:\"line\",IsLastKey:\"islast\",TypeKey:\"type\"};var V=Object.freeze({Node:\"Node\",Line:\"Line\",Group:\"Group\"});var q=O.getResourceBundleFor(\"sap.suite.ui.commons\");var j=C.InvisibleMessageMode;var J=i.extend(\"sap.suite.ui.commons.networkgraph.Graph\",{metadata:{library:\"sap.suite.ui.commons\",properties:{height:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"100%\"},width:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"100%\"},orientation:{type:\"sap.suite.ui.commons.networkgraph.Orientation\",group:\"Behavior\",defaultValue:D.LeftRight},enableZoom:{type:\"boolean\",group:\"Behavior\",defaultValue:true},enableWheelZoom:{type:\"boolean\",group:\"Behavior\",defaultValue:true},backgroundImage:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:null},backgroundColor:{type:\"sap.suite.ui.commons.networkgraph.BackgroundColor\",group:\"Appearance\",defaultValue:\"White\"},renderType:{type:\"sap.suite.ui.commons.networkgraph.RenderType\",group:\"Appearance\",defaultValue:k.Html},noData:{type:\"boolean\",group:\"Behavior\",defaultValue:false},noDataText:{type:\"string\",group:\"Behavior\",defaultValue:\"\"},_smoothWheelZoom:{type:\"int\",group:\"Behavior\",defaultValue:125,visibility:\"hidden\"}},aggregations:{lines:{type:\"sap.suite.ui.commons.networkgraph.Line\",multiple:true,singularName:\"line\"},nodes:{type:\"sap.suite.ui.commons.networkgraph.Node\",multiple:true,singularName:\"node\"},groups:{type:\"sap.suite.ui.commons.networkgraph.Group\",multiple:true,singularName:\"group\"},legend:{type:\"sap.ui.core.Control\",multiple:false},layoutAlgorithm:{type:\"sap.suite.ui.commons.networkgraph.layout.LayoutAlgorithm\",multiple:false},statuses:{type:\"sap.suite.ui.commons.networkgraph.Status\",multiple:true,singularName:\"status\"}},associations:{ariaDescribedBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaDescribedBy\"},ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},events:{graphReady:{},afterLayouting:{},beforeLayouting:{},zoomChanged:{},failure:{parameters:{type:\"string\",message:\"string\"}},selectionChange:{parameters:{items:{type:\"sap.suite.ui.commons.networkgraph.ElementBase[]\"}}},searchSuggest:{parameters:{term:{type:\"string\"}}},search:{parameters:{term:{type:\"string\"},key:{type:\"string\"}}}}}});J.FAILURE_TYPE={INCONSISTENT_MODEL:\"Inconsistent model\",LAYOUT_FAILURE:\"Layout failure\"};J.prototype.ZOOM_100=K;J.prototype.init=function(){this._fZoomLevel=1;this._mSelectedNodes={};this._mSelectedLines={};this._bIsLayedOut=false;this._bIsFullScreen=false;this._mNodes={};this._bNeedNodeProcessing=true;this._oFullScreenContainer=null;this._bRequiresDataProcessing=true;this._oPanning={};this._oLegendLabels={};this._iRunningLayouts=0;this._oLastLayout=null;this._bIsRtl=F.getRTL();this._oFocus=null;this._tooltip=this._createTooltip();this._bIsInvalid=false;this._oStatuses={};this._aShadedNodes=[];this._bEventsAdded=false;this._createToolbar()};J.prototype.onBeforeRendering=function(){this._bIsRtl=F.getRTL();this.setBusy(false);this.setBusyIndicatorDelay(0);this._iNodeMaxWidth=0;this.getNodes().forEach(function(e){e._resetDimensions();var t=e.getMaxWidth();if(t>this._iNodeMaxWidth){this._iNodeMaxWidth=t}}.bind(this));this.getLines().forEach(function(e){e._resetLayoutData()});if(!this.getNoData()){this.setDisableToolbarButtons(true);this._loadData()}else{this.setDisableToolbarButtons(false)}};J.prototype.onAfterRendering=function(){var e=this.getNodes();var t=new R;this.$divnodes=this.$(\"divnodes\");this.$divgroups=this.$(\"divgroups\");this.$background=this.$(\"background\");this.$tooltips=this.$(\"tooltiplayer\");this.$scroller=this.$(\"scroller\");this._$innerscroller=this.$(\"innerscroller\");this.$legend=this.$(\"legend\");if(this._oFullScreenContainer&&this._bIsFullScreen){this._oFullScreenContainer.$content=this.$();this.$().addClass(\"sapSuiteUiCommonsNetworkGraphFullScreen\")}if(e.length===0||this._bIsInvalid||this.getNoData()){if(this._bIsInvalid){t.openStart(\"span\");t.class(\"sapSuiteNetworkGraphErrorText\");t.openEnd();t.close(\"span\");t.flush(this.$scroller[0])}if(this._oSuggestionItemsModel){this._oSuggestionItemsModel.setData(\"\")}this.fireGraphReady();return}this.setBusy(true);e.forEach(function(e){e.bOutput=true});if(this._isDelayedLayouting()){var i=function(){if(this._iNodeMaxWidth){this.$divnodes.css(\"width\",this._iNodeMaxWidth+50+\"px\")}if(this._isUseNodeHtml()){this._createDivNodes()}else{t.openStart(\"svg\",this.getId()+\"-sizesvg\");if(this._bIsRtl){t.attr(\"direction\",\"rtl\")}t.class(\"sapSuiteUiCommonsNetworkGraphSvg\");t.openEnd();e.forEach(function(e){e._setupWidthAndHeight();e._render({sizeDetermination:true,renderManager:t});t.close(\"g\")});t.openStart(\"rect\");t.class(\"sapSuiteFlickerFreeRect\");t.attr(\"x\",\"0\").attr(\"y\",\"0\");t.openEnd();t.close(\"rect\");t.close(\"svg\");t.flush(this._$innerscroller[0],true,this._$innerscroller.children().length)}e.forEach(function(e){if(this._isUseNodeHtml()){e._setupDivDimensions()}else{e.calculateSizes();e._setupWidthAndHeight()}}.bind(this));this._preprocessData();x.detachApplied(i)}.bind(this);x.attachApplied(i)}this.oInvisibleMessage=I.getInstance();t.destroy()};J.prototype.exit=function(){if(this._oFullScreenUtil){this._oFullScreenUtil.cleanUpFullScreen(this)}};J.prototype._beforeRender=function(){this.fireEvent(\"afterLayouting\")};J.prototype._fireFailure=function(e,t){var i=t;if(typeof t===\"object\"&&t.text){i=t.text}var s=\"Graph failure: \"+e+\": \"+i;if(e===J.FAILURE_TYPE.INCONSISTENT_MODEL){s+=\" This may be due to the model size restriction. For its increase use model's 'setSizeLimit' method.\"}this.fireFailure([e.toString(),i]);v.error(s)};J.prototype.isFullScreen=function(){return this._bIsFullScreen};J.prototype.toggleFullScreen=function(){this._toggleFullScreen()};J.prototype.preventInvalidation=function(e){this._bPreventInvalidation=e};J.prototype.scrollToElement=function(e){this._scrollToElement(e)};J.prototype.setSearchSuggestionItems=function(e){var t=[];if(e){e.forEach(function(e){t.push({text:e.getText(),icon:e.getIcon(),key:e.getKey(),description:e.getDescription()})})}this._oSuggestionItemsModel.setData({items:t})};J.prototype.destroyAllElements=function(){this.destroyAggregation(M,false);this.destroyAggregation(Z,false);this.destroyAggregation(H,false)};J.prototype.deselect=function(e){var t=[],i=this.$(),s=function(e){Object.keys(e).forEach(function(i){t.push(e[i]);e[i].setSelected(false)},this)}.bind(this);i.find(\".\"+this.HIGHLIGHT_CLASS).removeClass(this.HIGHLIGHT_CLASS);i.find(\".\"+this.SELECT_CLASS).removeClass(this.SELECT_CLASS);i.find(\".\"+this.VISIBLE_ACTIONS_BUTTONS_CLASS).removeClass(this.VISIBLE_ACTIONS_BUTTONS_CLASS);s(this._mSelectedNodes);s(this._mSelectedLines);this._aShadedNodes.forEach(function(e){e._setNodeOpacity(false)});this._aShadedNodes=[];this.$(this.LINEBUTTONSID).hide();if(!e&&t.length){this.fireSelectionChange({items:t})}return t};J.prototype.getFocus=function(){return this._oFocus};J.prototype.getToolbar=function(){return this._toolbar};J.prototype.getNodeByKey=function(e){if(this._bRequiresDataProcessing){this._processData()}return this._mNodes[e]};J.prototype.setCustomLegendLabel=function(e){var t;if(e.isGroup===true){t=V.Group}else if(e.isLine===true){t=V.Line}else{t=e.isNode===false?V.Line:V.Node}if(e.status){this._oLegendLabels[t+e.status]=e.label;this._createLegend()}};J.prototype.updateLegend=function(){this._createLegend()};J.prototype.zoom=function(e){e=e||{};e.deltaY=e.zoomin!==false?1:-1;if(e.x&&e.y){e.point={x:e.x,y:e.y}}this._zoom(e)};J.prototype.getZoomLevelMilestones=function(){return W};J.prototype.getCurrentZoomLevel=function(){return this._fZoomLevel};J.prototype.setCurrentZoomLevel=function(e){this._fZoomLevel=e;this._zoomLabel.setText(this._getZoomText());this._oZoomLevelInvisibleText.setText(q.getText(\"NETWORK_GRAPH_ZOOM_LEVEL\")+\": \"+this._getZoomText())};J.prototype.getCorrectMousePosition=function(e){var t=this.$svg.offset(),i=1,s=1;if(this._iWidth!==this.$svg.width()||this._iHeight!==this.$svg.height()){i=this._iWidth/this.$svg.width();s=this._iHeight/this.$svg.height()}return{x:parseInt((e.x-t.left)*i,10),y:parseInt((e.y-t.top)*s,10)}};J.prototype._createTooltip=function(){var e=new a(this.getId()+\"-tooltip\");this.addDependent(e);e.create(this);e.attachEvent(\"afterClose\",function(){var e=this.getFocus();if(e){this.setFocus(e);if(e.button==\"menu\"){e.item._setMenuButtonFocus(true)}}}.bind(this));return e};J.prototype.defocus=function(){this.$().find(\".\"+this.FOCUS_CLASS).removeClass(this.FOCUS_CLASS)};J.prototype.setFocus=function(e,t){if(!e&&!this._oFocus||e&&this._oFocus&&e.item===this._oFocus.item&&e.button===this._oFocus.button&&e.groupInFocused===this._oFocus.groupInFocused){if(t||this._oFocus&&this._oFocus.item&&(this._oFocus.item.isA(\"sap.suite.ui.commons.networkgraph.Line\")||this._oFocus.item.isA(\"sap.suite.ui.commons.networkgraph.Node\"))){this._updateAccessibility(e)}this._updateAccessibility(e);return}this.defocus();if(this.getFocusDomRef()){this.getFocusDomRef().focus()}if(e){if(e.button){if(e.item instanceof s||e.item instanceof o){e.item._setActionButtonFocus(e.button,true)}else if(e.item instanceof n){if(e.button===n.BUTTONS.MENU){e.item._setMenuButtonFocus(true)}else if(e.button===n.BUTTONS.COLLAPSE){e.item._setCollapseButtonFocus(true)}}}else if(e.item){if(e.item instanceof n){if(e.item.sParentAggregationName===\"groups\"&&!this._oFocus?.groupInFocused){e.item._setFocus(true);e.groupInFocused=true}else{e.item._setMenuButtonFocus(true);e.button=n.BUTTONS.MENU}}else{e.item._setFocus(true)}}}this._oFocus=e;this._ensureOnScreen(e?e.item:null);this._updateAccessibility(e)};J.prototype._updateAccessibility=function(e){var t=function(){this._setAccessibilityTitle(q.getText(\"NETWORK_GRAPH_ACCESSIBILITY_CONTENT\"))}.bind(this),i=function(t){var i=t+\" \"+q.getText(\"NETWORK_GRAPH_ACCESSIBILITY_ACTION_BUTTON\");if(t===\"Expand/Collapse\"){if(e.item.getCollapsed()){i=i+\" \"+q.getText(\"NETWORK_GRAPH_COLLAPSED\")}else{i=i+\" \"+q.getText(\"NETWORK_GRAPH_EXPANDED\")}return i+\".\"+q.getText(\"NETWORK_GRAPH_ACCESSIBILITY_TOGGLE_STATE\")}return i};if(this.getDomRef(\"wrapper\")){this.getDomRef(\"wrapper\").setAttribute(\"aria-live\",\"assertive\");this._setAriaLabelForWrapper()}if(e){if(e.button){if(e.item instanceof s){if(e.button.title===\"Expand/Collapse\"){this._setAccessibilityTitle(e.item._getActionButtonTitle(e.button,this)+\" \"+e.item._oExpandState)}else{this._setAccessibilityTitle(e.item._getActionButtonTitle(e.button,this))}}else if(e.item instanceof n){if(e.button===n.BUTTONS.MENU){this._setAccessibilityTitle(i(q.getText(\"NETWORK_GRAPH_GROUP_DETAIL\")))}else if(e.button===n.BUTTONS.COLLAPSE){this._setAccessibilityTitle(i(q.getText(\"NETWORK_GRAPH_EXPAND_COLLAPSE\")))}else{t()}}else{t()}}else if(e.item){this._setAccessibilityTitle(e.item._getAccessibilityLabel(this))}else{this._setAriaLabelForWrapper(q.getText(\"NETWORK_GRAPH_ACCESSIBILITY_CONTENT\"));this._setAccessibilityTitle(\" \")}}else{t()}};J.prototype._setAriaLabelForWrapper=function(e){e=e?e:\" \";this.getDomRef(\"wrapper\").setAttribute(\"aria-label\",e)};J.prototype._processProperties=function(){if(this._bNeedNodeProcessing){this._mSelectedNodes={};this._mSelectedLines={};this.getNodes().forEach(function(e){if(e.getSelected()){this._mSelectedNodes[e.getKey()]=e}if(e.getCollapsed()){e.setCollapsed(true)}},this);this.getLines().forEach(function(e){if(e.getSelected()){this._mSelectedLines[e._getLineId()]=e}},this);this._bNeedNodeProcessing=false}};J.prototype._loadData=function(){if(this.getNodes().length>0){if(!this._processData()){return}if(!this._isDelayedLayouting()){setTimeout(this._preprocessData.bind(this),0)}}};J.prototype._preprocessData=function(){this._bIsLayedOut=false;this._bImageLoaded=false;this.fireBeforeLayouting();this._applyLayout().then(this._render.bind(this))};J.prototype._getAllElements=function(){return this.getNodes().concat(this.getGroups())};J.prototype._render=function(){this._beforeRender();this._iRunningLayouts--;if(this._iRunningLayouts>0){return}this._oLastLayout=null;this._createSearchSuggestItems();this._innerRender();this._createLegend();this._processProperties();if(this._fZoomLevel!==1){this.$svg[0].setAttribute(\"viewBox\",\"0 0 \"+this.$svg.width()+\" \"+this.$svg.height());var e=this.$svg.width(),t=this.$svg.height();this.$svg.width(e*this._fZoomLevel);this.$svg.height(t*this._fZoomLevel);this.$background.width(e*this._fZoomLevel);this.$background.height(t*this._fZoomLevel);if(this._isUseNodeHtml()){var i=\"scale(\"+this._fZoomLevel+\")\";this.$(\"divnodes\").css(\"transform\",i)}this.$(\"tooltiplayer\").css(\"transform\",i);this.$(\"divgroups\").css(\"transform\",i)}this._setLineClasses();if(this._selectElementAfterScroll){this._scrollToElement(this._selectElementAfterScroll);this._selectElementAfterScroll=null}if(this._oFocus&&this._oFocus.button===n.BUTTONS.COLLAPSE){this._oFocus.item._setCollapseButtonFocus(true)}this._bIsLayedOut=true;this._setupEvents();this._setupKeyboardNavigation();this.setFocus(this.getFocus());if(!this.getBackgroundImage()||this._bImageLoaded){this.setBusy(false);this.fireGraphReady()}if(!this._isSwimLane()&&!this._isTwoColumnsLayout()){this.$(\"innerscroller\").addClass(\" sapSuiteUiCommonsNetworkGraphInnerScrollerCenter \")}};J.prototype._createDivNodes=function(){var e=new R;this.getNodes().forEach(function(t){t._bMainRender=true;e.renderControl(t);t._bMainRender=false});e.flush(this.$divnodes[0]);e.destroy()};J.prototype._innerRender=function(e){var t=function(){this.$svg.find(\".sapSuiteFlickerFreeRect\").remove();this._bImageLoaded=true;if(this._bIsLayedOut){this.setBusy(false);this.fireGraphReady()}}.bind(this);var i=function(){var e=new R;this.getGroups().forEach(function(t){e.renderControl(t)});e.flush(this.$(\"divgroups\")[0],false,true);e.destroy()}.bind(this);var s=20,o=50,n=function(){var e=0,i=0;var n=function(t,s){if(t>e){e=t}if(s>i){i=s}};this._iWidth=0;this._iHeight=0;this._getAllElements().forEach(function(e){if(!e._isIgnored()){n(e._iWidth+e.getX(),e._iHeight+e.getY())}},this);this.getLines().forEach(function(e){if(!e._isIgnored()){e.getCoordinates().forEach(function(e){n(e.getX(),e.getY())})}},this);if(this.getBackgroundImage()){var r=new Image;r.onload=function(){this._iWidth=Math.max(this._iWidth,r.width);this._iHeight=Math.max(this._iHeight,r.height);this.$svg.width(this._iWidth);this.$svg.height(this._iHeight);this.$background.width(this._iWidth);this.$background.height(this._iHeight);this.$svg.css(\"background-image\",\"url(\"+this.getBackgroundImage()+\")\");this.$svg.css(\"background-size\",\"cover\");t()}.bind(this);r.onerror=function(){v.warning(\"Unable to load background image.\");t()};r.src=this.getBackgroundImage()}this._iWidth=Math.round(e+(this._isTwoColumnsLayout()?0:o));this._iHeight=Math.round(i+s);if(this.getWidth()===\"auto\"){this.$().width(this._iWidth)}if(this.getHeight()===\"auto\"){this.$(\"wrapper\").height(this._iHeight)}if(this._isTwoColumnsLayout()){var a=this._$innerscroller.width();if(this._iWidth-1}),new m(\"description\",function(t){return(t.toLowerCase()||\"\").indexOf(e.toLowerCase())>-1})],false)]}this._searchField.getBinding(\"suggestionItems\").filter(n);o()}this._searchField.suggest()};J.prototype._getElementSelectFunctionName=function(e){var t=\"\";if(e instanceof s){t=\"_selectNode\"}if(e instanceof o){t=\"_selectLine\"}if(e instanceof n){t=\"_selectGroup\"}return t};J.prototype._search=function(e,t){var i,s,o;s=this.fireEvent(\"search\",{term:e,key:t},true);if(!s){return}if(e){o=u.find(this.getNodes(),function(i){return t?i.getKey()===t:i.getTitle()===e});if(!o){o=u.find(this.getLines(),function(i){if(i._isLoop()){return false}return t?i._getLineId()===t:i._createSuggestionHelpText()===e})}if(!o){o=u.find(this.getGroups(),function(i){return i.aNodes.length>0&&(t?i.getKey()===t:i.getTitle()===e)})}if(o){i=this._getElementSelectFunctionName(o);if(i){this[i]({element:o,scroll:true,alwaysSelect:true})}}}else{this.deselect(false);this.setFocus(null)}};J.prototype._createToolbar=function(){var e=this;this._toolbar=new g(this.getId()+\"-toolbar\",{content:[new d]}).addStyleClass(\"sapSuiteUiCommonsNetworkGraphToolbar\");this.addDependent(this._toolbar);this._toolbar.ontouchstart=function(){this.setFocus(null);this.getDomRef(\"wrapper\").setAttribute(\"aria-live\",\"off\");this._setAriaLabelForWrapper(q.getText(\"NETWORK_GRAPH_ACCESSIBILITY_LABEL\"))}.bind(this);this._searchField=new f({layoutData:new y({priority:sap.m.OverflowToolbarPriority.NeverOverflow,shrinkable:true}),enableSuggestions:true,suggest:function(t){e._suggest(t.getParameter(\"suggestValue\"))},search:function(t){var i=t.getParameter(\"query\"),s=t.getParameter(\"suggestionItem\"),o;if(s){o=s.getProperty(\"key\")}e._search(i,o)}}).addStyleClass(\"sapSuiteUiCommonsNetworkGraphSearchField\");this._toolbar.addContent(this._searchField);this._toolbar.addContent(new S({id:this.getId()+\"-legendButton\",type:U.Transparent,icon:\"sap-icon://legend\",tooltip:q.getText(\"NETWORK_GRAPH_LEGEND\"),press:function(t){if(e.$legend.is(\":visible\")){e.$legend.hide()}else{e.$legend.show()}}}));if(this.getEnableZoom()){if(!this._oZoomLevelInvisibleText){this._oZoomLevelInvisibleText=new G;this._oZoomLevelInvisibleText.toStatic()}this._zoomLabel=new c({layoutData:new y({group:1,priority:sap.m.OverflowToolbarPriority.Disappear}),text:\"100%\"});this._oZoomLevelInvisibleText.setText(q.getText(\"NETWORK_GRAPH_ZOOM_LEVEL\")+\": \"+\"100%\");this._zoomIn=new p({layoutData:new y({group:1}),type:U.Transparent,ariaDescribedBy:[this._oZoomLevelInvisibleText.getId()],text:q.getText(\"CHARTCONTAINER_ZOOMIN\"),icon:\"sap-icon://zoom-in\",tooltip:q.getText(\"CHARTCONTAINER_ZOOMIN\"),press:function(t){e._zoom({deltaY:1})}});this._toolbar.addContent(this._zoomIn);this._toolbar.addContent(this._zoomLabel);this._zoomOut=new p({layoutData:new y({group:1}),type:U.Transparent,ariaDescribedBy:[this._oZoomLevelInvisibleText.getId()],text:q.getText(\"CHARTCONTAINER_ZOOMOUT\"),icon:\"sap-icon://zoom-out\",tooltip:q.getText(\"CHARTCONTAINER_ZOOMOUT\"),press:function(t){e._zoom({deltaY:-1})}});this._toolbar.addContent(this._zoomOut)}this._toolbar.addContent(new p({type:U.Transparent,icon:\"sap-icon://popup-window\",tooltip:q.getText(\"NETWORK_GRAPH_ZOOMTOFIT\"),text:q.getText(\"NETWORK_GRAPH_ZOOMTOFIT\"),press:this._fitToScreen.bind(this)}));this._oFullScreenButton=new p({type:U.Transparent,text:q.getText(\"CALCULATION_BUILDER_ENTER_FULL_SCREEN_BUTTON\"),icon:\"sap-icon://full-screen\",tooltip:q.getText(\"CALCULATION_BUILDER_ENTER_FULL_SCREEN_BUTTON\"),press:this._toggleFullScreen.bind(this)});this._toolbar.addContent(this._oFullScreenButton)};J.prototype._fitToScreen=function(){var e=this.$scroller.height()/this._iHeight,t=this.$scroller.width()/this._iWidth,i=Math.min(e,t),s=W.slice(-1);for(var o=1;oe.getX()){s=e.getX()}if(o>e.getY()){o=e.getY()}});e.push({item:t,x:s,y:o})});this.getGroups().forEach(function(t){if(t.isHidden()||t._isEmpty()||!t.getVisible()){return}e.push({item:t,x:t.getX(),y:t.getY()})});e.sort(function(e,t){if(e.yt.y){return 1}else if(e.xt.x){return 1}else{return 0}});if(e.length>0){s=[e[0]];t=[s];i=e[0];e.forEach(function(e,o){if(o===0){return}if(e.y===i.y){s.push(e)}else{s=[e];t.push(s)}i=e})}t=this._normalizeGrid(t,e);if(!this._oKeyboardNavigator){this._oKeyboardNavigator=new L(this);this.addDelegate(this._oKeyboardNavigator)}this._oKeyboardNavigator.setItems(t);this._oKeyboardNavigator.setWrapperDom(this.getFocusDomRef())};J.prototype._normalizeGrid=function(e,t){if(t.length===0){return e}var i=t[0],s=i.x,o=i.x,n=1,r,a,h=[],l;t.forEach(function(e){if(e.xo){o=e.x}});e.forEach(function(e){if(e.length>n){n=e.length}});r=Math.abs(o-s)/n;a=s;for(l=0;l0?u.throttle(this._zoom.bind(this),t):this._zoom.bind(this);i({point:{x:e.x,y:e.y},deltaY:-e.deltaY});this._zoomLabel.setText(this._getZoomText());this._oZoomLevelInvisibleText.setText(q.getText(\"NETWORK_GRAPH_ZOOM_LEVEL\")+\": \"+this._getZoomText());return true}};J.prototype._endDragging=function(){this._oPanning.dragging=false;this.$scroller.removeClass(\"sapSuiteUiCommonsNetworkGraphPanning\")};J.prototype._mouseMove=function(e,t){var i=this.$scroller[0];if(this._oPanning.dragging){if(!this.$scroller.hasClass(\"sapSuiteUiCommonsNetworkGraphPanning\")){this.$scroller.addClass(\"sapSuiteUiCommonsNetworkGraphPanning\")}i.scrollTop=i.scrollTop-(t-this._oPanning.lastY);i.scrollLeft=i.scrollLeft-(e-this._oPanning.lastX);this._oPanning.lastX=e;this._oPanning.lastY=t}};J.prototype._mouseDown=function(e,t){this.deselect(false);this.setFocus(null);this._oPanning.lastX=e;this._oPanning.lastY=t;this._oPanning.dragging=true;this._tooltip.instantClose()};J.prototype._mouseUp=function(){this._endDragging()};J.prototype._preventZoomToChangeLineWidth=function(){return this._isLayered()&&(this._fZoomLevel>=.5&&this._fZoomLevel<2)};J.prototype._setLineClasses=function(){var e=this.$(),t=this._preventZoomToChangeLineWidth()?\"addClass\":\"removeClass\",i=this._fZoomLevel<.5?\"removeClass\":\"addClass\";e[t](\"sapSuiteUiCommonsNetworkGraphDefaultLineWidth\");e[i](\"sapSuiteUiCommonsNetworkGraphCrispEdges\")};J.prototype._zoom=function(e){var t=this.$svg[0].getAttribute(\"viewBox\"),i=e.deltaY<0?-1:1,s,o,n,r;var a=function(e){var t=0,i;W.forEach(function(s,o){var n=Math.abs(e-s);if(nW[n]){n=i<0?n:n+i}else{n=i>0?n:n+i}}else{n+=i}if(n<0){n=0}else if(n>W.length-1){n=W.length-1}this._fZoomLevel=W[n]}if(this._fZoomLevel<0){this._fZoomLevel=0}if(!t){r=\"0 0 \"+Math.round(this.$svg.width())+\" \"+Math.round(this.$svg.height());this.$svg[0].setAttribute(\"viewBox\",r)}this.$svg.width(Math.round(this._iWidth*this._fZoomLevel));this.$svg.height(Math.round(this._iHeight*this._fZoomLevel));this.$background.width(Math.round(this._iWidth*this._fZoomLevel));this.$background.height(Math.round(this._iHeight*this._fZoomLevel));o=this.getCorrectMousePosition({x:e.point.x,y:e.point.y});this.$scroller[0].scrollLeft+=(s.x-o.x)*this._fZoomLevel;this.$scroller[0].scrollTop+=(s.y-o.y)*this._fZoomLevel;this._zoomLabel.setText(this._getZoomText());this._oZoomLevelInvisibleText.setText(q.getText(\"NETWORK_GRAPH_ZOOM_LEVEL\")+\": \"+this._getZoomText());if(this._fZoomLevel0){t.items.push({text:s?s:i.getKey(),key:i.getKey(),type:X.Group,description:\"(\"+q.getText(\"NETWORK_GRAPH_GROUP\")+\")\"})}});this._oSuggestionItemsModel.setData(t);this._searchField.setModel(this._oSuggestionItemsModel);this._searchField.bindAggregation(\"suggestionItems\",{path:\"/items\",template:new l({text:\"{text}\",icon:\"{icon}\",key:\"{key}\",description:\"{description}\",customData:new _({key:\"type\",value:\"{type}\"})})})};J.prototype._scrollToElement=function(e){var t=e._oGroup&&e._oGroup.getCollapsed(),i,s,n,r,a,h;if(t){e=e._oGroup}if(e instanceof o){a=e.getSource();h=e.getTarget();n=Math.abs(h.getX()-a.getX());r=Math.abs(h.getY()-a.getY());i=Math.min(a.getX(),h.getX());s=Math.max(a.getY(),h.getY())}else{i=e.getX();s=e.getY();n=e._iWidth;r=e._iHeight}this.$scroller.get(0).scrollLeft=(i+(n?n:0)/2)*this._fZoomLevel-this.$scroller.width()/2;this.$scroller.get(0).scrollTop=(s+(r?r:0)/2)*this._fZoomLevel-this.$scroller.height()/2};J.prototype._ensureOnScreen=function(e){if(!e||!this.$scroller){return}var t,i,r,a=this.$scroller[0],h=a.scrollLeft/this._fZoomLevel,l=a.scrollTop/this._fZoomLevel,u=h+this.$scroller.width()/this._fZoomLevel,c=l+this.$scroller.height()/this._fZoomLevel;if(!e._isOnScreen(h,u,l,c)){if(e instanceof s){i=e.getX()+e._iWidth/2;r=e.getY()+e._iHeight/2}else if(e instanceof o){t=e._getArrowFragmentVector();i=(t.center.x+t.apex.x)/2;r=(t.center.y+t.apex.y)/2}else if(e instanceof n){i=e.getX();r=e.getY()}if(iu){a.scrollLeft=i*this._fZoomLevel-this.$scroller.width()/2}if(rc){a.scrollTop=r*this._fZoomLevel-this.$scroller.height()/2}}};J.prototype._createLegend=function(){var e=new R;var t=this.$(\"legend\"),i=this,s={},o={},n={};var r=function(e,t){var i=b(e.getStatus());if(i){if(t[i]){t[i].push(e)}else{t[i]=[e]}}};var a=function(e){return Object.keys(e).length>0};var h=function(t,s,o){var n=this._oStatuses[t],r=n&&n._getLegendColor(),a=B.hasOwnProperty(r),h=r&&!a?\"background-color:\"+r:\"\",l=r&&a?u.SEMANTIC_CLASS_NAME.BACKGROUND+r:\"\";this._renderControl.call(i,\"div\",{status:t,elementtype:o,class:\"sapSuiteUiCommonsNetworkGraphLegendLine\"},false,e);this._renderControl.call(i,\"div\",{class:\"sapSuiteUiCommonsNetworkGraphLegendColorLine \"+this._getStatusClass(t)+\" \"+l,style:h},null,e);this._renderControl.call(i,\"label\",{class:\"sapSuiteUiCommonsNetworkGraphLegendLineLabel\"},false,e);e.text(this._oLegendLabels[o+t]?this._oLegendLabels[o+t]:s);e.close(\"label\");e.close(\"div\")}.bind(this);var l=function(t,i,s,o,n){t.forEach(function(e){r(e,i)});if(a(i)){e.openStart(\"div\").class(s).openEnd();e.openStart(\"label\").class(\"sapSuiteUiCommonsNetworkGraphLegendTitle\").openEnd();e.text(q.getText(o));e.close(\"label\");e.close(\"div\");var l=Object.keys(i).reduce(function(e,t){var i;if(this._oLegendLabels[n+t]){i=this._oLegendLabels[n+t]}else{var s=this._oStatuses[t];i=s?s.getTitle()||t:q.getText(\"NETWORK_GRAPH_\"+t.toUpperCase())}e[t]=i;return e}.bind(this),{});Object.keys(i).sort(function(e,t){return(l[e]||\"\").localeCompare(l[t])}).forEach(function(e){h(e,l[e],n)})}}.bind(this);if(this.getLegend()){return}if(!t[0]){return}l(this.getNodes(),s,\"sapSuiteUiCommonsNetworkGraphLegendTitleNode\",\"NETWORK_GRAPH_NODES\",V.Node);l(this.getLines(),o,\"sapSuiteUiCommonsNetworkGraphLegendTitleLine\",\"NETWORK_GRAPH_LINES\",V.Line);l(this.getGroups(),n,\"sapSuiteUiCommonsNetworkGraphLegendTitleLine\",\"NETWORK_GRAPH_GROUPS\",V.Group);e.flush(t[0]);e.destroy();if(w.getElementById(this.getId()+\"-legendButton\").getPressed()){this.getDomRef(\"legend\").style.display=\"block\"}this.$().find(\".sapSuiteUiCommonsNetworkGraphLegendLine\").on(\"click\",function(e){var t=jQuery(this).attr(\"status\"),n=jQuery(this).attr(\"elementtype\"),r;if(n===V.Node){r=s}if(n===V.Line){r=o}if(!e.ctrlKey){i.deselect(false);i.setFocus(null)}if(n!==V.Group&&r[t]){r[t].forEach(function(e){e.setSelected(true)})}})};J.prototype._selectElement=function(e){var t=e.element&&!e.element.getSelected(),i=[];var s=function(t){e.element.setSelected(t);if(e.setFocus!==false){this.setFocus({item:e.element})}}.bind(this);this.$(\"svg\").find(\".\"+this.VISIBLE_ACTIONS_BUTTONS_CLASS).removeClass(this.VISIBLE_ACTIONS_BUTTONS_CLASS);if(!e.preventDeselect){i=this.deselect(true);if(e.setFocus){this.setFocus(null)}s(t||e.alwaysSelect)}else{s(t)}if(!e.element._hasFocus()&&e.forceFocus){this.setFocus({item:e.element})}if(!i.some(function(t){return t===e.element})){i.push(e.element)}this.fireSelectionChange({items:i})};J.prototype._selectLine=function(e){var t=e.element.getFromNode(),i=e.element.getToNode(),s=t._isInCollapsedGroup()&&t._oGroup===i._oGroup?i._oGroup:null;if(e.scroll){this._scrollToElement(s||e.element)}if(!s){this._selectElement(e)}};J.prototype._selectNode=function(e){var t=e.element._isInCollapsedGroup()?e.element._oGroup:null;if(e.scroll){this._scrollToElement(t||e.element)}if(!t){this._selectElement(e);if(e.renderActionButtons!==false){e.element.showActionButtons(true)}}};J.prototype._selectGroup=function(e){if(e.scroll){this._scrollToElement(e.element)}this.setFocus({item:e.element})};J.prototype._applyLayout=function(){var e;this._iRunningLayouts++;e=this._getLayoutAlgorithm().layout().catch(function(e){this._fireFailure(J.FAILURE_TYPE.LAYOUT_FAILURE,e);return Promise.reject()}.bind(this)).then(function(){return new Promise(function(t,i){if(e.isTerminated()){t();return}if(this._validateLayout()){t()}else{i()}}.bind(this))}.bind(this));if(this._oLastLayout&&this._iRunningLayouts>1){this._oLastLayout.terminate()}this._oLastLayout=e;return e};J.prototype._setAccessibilityTitle=function(e){var t,i=this.$(\"accessibility\");if(e===null){t=q.getText(\"NETWORK_GRAPH_ACCESSIBILITY_CONTENT\")}else if(typeof e===\"string\"){t=e}else{t=e._getAccessibilityLabel(this)}if(i){i.html(b(t))}};J.prototype._isTopBottom=function(){return this.getOrientation()===D.TopBottom||this.getOrientation()===D.BottomTop};J.prototype._getLayoutAlgorithm=function(){return this.getLayoutAlgorithm()||this._getDefalutLayout()};J.prototype._isUseNodeHtml=function(){return this.getRenderType()===k.Html};J.prototype._getDefalutLayout=function(){if(!this._oDefalutLayout){this._oDefaultLayout=new r;this._oDefaultLayout.setParent(this,null,true)}return this._oDefaultLayout};J.prototype._isLayered=function(){var e=this._getLayoutAlgorithm().getLayoutRenderType();return e===P.SwimLanes||e===P.LayeredWithGroups||e===P.TwoColumns};J.prototype._isSwimLane=function(){return this._getLayoutAlgorithm().getLayoutRenderType()===P.SwimLanes};J.prototype._isTwoColumnsLayout=function(){return this._getLayoutAlgorithm().getLayoutRenderType()===P.TwoColumns};J.prototype._isDelayedLayouting=function(){if(this._isUseNodeHtml()){return true}return this.getNodes().some(function(e){var t=e.hasListeners(\"computeSizes\");return t||e._useAutomaticSize()||e.getTitleLineSize()!==1||e._displayDescription()})};J.prototype._isLayedOut=function(){return this._bIsLayedOut};J.prototype.setEnableZoom=function(e){if(this._toolbar){this._zoomLabel.setVisible(e);this._zoomIn.setVisible(e);this._zoomOut.setVisible(e)}this.setProperty(\"enableZoom\",e);return this};J.prototype.setDisableToolbarButtons=function(e){this._toolbar.setEnabled(e);return this};J.prototype.destroyAggregation=function(e,i){this._bRequiresDataProcessing=true;t.prototype.destroyAggregation.call(this,e,i)};J.prototype.insertAggregation=function(e,i,s,o){this._bRequiresDataProcessing=true;t.prototype.insertAggregation.call(this,e,i,s,o)};J.prototype.removeAggregation=function(e,i,s){this._bRequiresDataProcessing=true;t.prototype.removeAggregation.call(this,e,i,s)};J.prototype.addAggregation=function(e,i,s){this._bRequiresDataProcessing=true;t.prototype.addAggregation.call(this,e,i,s)};J.prototype.removeAllAggregation=function(e,i){this._bRequiresDataProcessing=true;t.prototype.removeAllAggregation.call(this,e,i)};J.prototype.updateAggregation=function(e){this._bNeedNodeProcessing=true;t.prototype.updateAggregation.call(this,e)};J.prototype.invalidate=function(){if(this._bPreventInvalidation!==true){t.prototype.invalidate.call(this)}};return J});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/GraphMap\", [\"sap/ui/thirdparty/jquery\",\"./SvgBase\",\"sap/ui/core/ResizeHandler\",\"sap/ui/core/Lib\",\"sap/ui/core/Element\",\"sap/base/i18n/Localization\",\"sap/ui/core/RenderManager\",\"./GraphMapRenderer\"],function(jQuery,t,e,i,r,s,o,a){\"use strict\";var h=4;var n=i.getResourceBundleFor(\"sap.suite.ui.commons\");var p=t.extend(\"sap.suite.ui.commons.networkgraph.GraphMap\",{metadata:{library:\"sap.suite.ui.commons\",properties:{height:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"\"},width:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"\"},directRenderNodeLimit:{type:\"int\",group:\"Behavior\",defaultValue:250},title:{type:\"string\",group:\"Misc\",defaultValue:\"\"}},associations:{graph:{type:\"sap.suite.ui.commons.networkgraph.Graph\",multiple:false,singularName:\"graph\"}},events:{mapReady:{}}}});p.prototype.init=function(){this._oResizeListener=null;this.setBusyIndicatorDelay(0)};p.prototype.onAfterRendering=function(){var t=this.getGraph();if(t&&t._bIsLayedOut){this._renderMap()}else{this.setBusy(true)}};p.prototype._renderMap=function(){var t=this.getGraph();if(!t){return}var e,i,r,a,p,d,u,l=this,g=t._fZoomLevel,f=t.getNodes().length===0,c=t._isUseNodeHtml(),m=\"\";var v=function(t,e){if(e){t.forEach(function(t){t._render({mapRender:true,idSufix:l.getId(),renderManager:e})})}else{t.forEach(function(t){m+=t._render({mapRender:true,idSufix:l.getId()})})}};var _=function(t,e){var i=new o;t.forEach(function(t){t._render({mapRender:true,renderManager:i,idSufix:l.getId()})});i.flush(e);i.destroy()};var y=function(){var e=new o;t.getGroups().forEach(function(t){t._render({mapRender:true,renderManager:e,idSufix:l.getId()})});e.flush(this.getDomRef(\"divgroups\"));e.destroy()}.bind(this);var G=function(e,i){if(!i){a+=this._renderControl(\"rect\",{x:h/2,y:h/2,width:Math.min((t.$scroller.width()-h/2)/g,(t.$svg.width()-h/2)/g),height:Math.min((t.$scroller.height()-h/2)/g,(t.$svg.height()-h/2)/g),class:e,id:this._getDomId(\"mapNavigator\")})}else{this._renderControl(\"rect\",{x:h/2,y:h/2,width:Math.min((t.$scroller.width()-h/2)/g,(t.$svg.width()-h/2)/g),height:Math.min((t.$scroller.height()-h/2)/g,(t.$svg.height()-h/2)/g),class:e,id:this._getDomId(\"mapNavigator\")},null,i)}}.bind(this);if(!t._iWidth||!t._iHeight||f){if(t._bIsInvalid||f){this.setBusy(false);this.$().find(\".sapSuiteUiCommonsNetworkGraphMapContent\").html(\"\");this.fireMapReady()}return}e=t.$(\"networkGraphSvg\").attr(\"viewBox\");if(!e){e=\"0 0 \"+t._iWidth+\" \"+t._iHeight}var w=new o;w.openStart(\"svg\",this._getDomId(\"svg\"));w.attr(\"width\",\"100%\");w.attr(\"height\",\"100%\");w.class(\"sapSuiteUiCommonsNetworkGraphMapSvg\");w.attr(\"aria-label\",n.getText(\"NETWORK_GRAPH_OVERVIEW_SVG_ACCESSIBILITY_LABEL\"));w.attr(\"viewBox\",e);w.attr(\"aria-hidden\",\"true\");if(t._bIsRtl){w.attr(\"direction\",\"rtl\")}w.openEnd();if(this._useGraphClone()){this._renderControl(\"use\",{\"xlink:href\":\"#\"+t._getDomId(\"svgbody\")},null,w)}else{v(t.getLines(),w);if(!c){v(t.getNodes(),w)}}this._renderControl(\"rect\",{x:0,y:0,width:t._iWidth,height:t._iHeight,class:\"sapSuiteUiCommonsNetworkGraphMapBoundary\",\"pointer-events\":\"fill\"},null,w);if(!c){G(\"sapSuiteUiCommonsNetworkGraphMapNavigator\",w)}w.close(\"svg\");w.openStart(\"div\",this._getDomId(\"divgroups\"));w.class(\"sapSuiteUiCommonsNetworkGraphMapDivGroups\");if(s.getRTL()){w.class(\"sapSuiteUiCommonsNetworkGraphMapDivGroupsLeft\")}w.openEnd();w.close(\"div\");if(c){w.openStart(\"div\",this._getDomId(\"divnodes\"));w.class(\"sapSuiteUiCommonsNetworkGraphMapDivNodes\");if(s.getRTL()){w.class(\"sapSuiteUiCommonsNetworkGraphMapDivGroupsLeft\")}w.openEnd();w.close(\"div\");w.openStart(\"svg\");w.class(\"sapSuiteUiCommonsNetworkGraphSvgNavigator\");w.attr(\"aria-label\",n.getText(\"NETWORK_GRAPH_NAVIGATOR_SVG_ACCESSIBILITY_LABEL\"));w.attr(\"width\",\"100%\");w.attr(\"height\",\"100%\");w.attr(\"viewBox\",e);w.openEnd();G(\"sapSuiteUiCommonsNetworkGraphMapNavigator\",w);w.close(\"svg\")}var L=this.$();w.flush(L.find(\".sapSuiteUiCommonsNetworkGraphMapContent\")[0],true,false);w.destroy();y();if(c){var N=this.getDomRef(\"divnodes\");_(t.getNodes(),N)}p=this.$(\"svg\");i=t._iWidth;r=t._iHeight;d=Math.max(i/p.width(),r/p.height());this._setHtmlNodesPosition(d);u=Math.ceil(d/5);this._iStrokeWidth=u;this._correctLineWidth();this.$(\"svg\").find(\"circle\").css(\"stroke-width\",u+\"px\");this._setupEvents();this._correctPosition();this.setBusy(false);this.fireMapReady()};p.prototype._setHtmlNodesPosition=function(t){var e=this.getGraph(),i=this.$(\"svg\"),r=1/t,s,o;s=Math.floor(i.width()/2-e._iWidth/2*r);o=Math.floor(i.height()/2-e._iHeight/2*r);this.$(\"divgroups\").css(\"transform\",\"matrix(\"+r+\", 0, 0, \"+r+\", \"+s+\", \"+o+\")\");if(e._isUseNodeHtml){this.$(\"divnodes\").css(\"transform\",\"matrix(\"+r+\", 0, 0, \"+r+\", \"+s+\", \"+o+\")\")}};p.prototype._useGraphClone=function(){var t=this.getDirectRenderNodeLimit(),e=this.getGraph();if(e){return t>e.getNodes().length&&!e._isUseNodeHtml()}return false};p.prototype._correctLineWidth=function(t){var t=this.getGraph(),e=this._isMSBrowser()||(!this._useGraphClone()||t._preventZoomToChangeLineWidth());this.$(\"svg\").css(\"stroke-width\",e?this._iStrokeWidth+\"px\":\"1px\")};p.prototype._correctMapNavigator=function(){var t=this.$(\"mapNavigator\"),e=parseFloat(t.attr(\"width\")),i=parseFloat(t.attr(\"height\")),r=parseFloat(t.attr(\"x\")),s=parseFloat(t.attr(\"y\")),o=this.getGraph(),a=o._iWidth,h=o._iHeight;if(e+r>a){t.attr(\"width\",a-r)}if(i+s>h){t.attr(\"height\",h-s)}};p.prototype._resize=function(){var t=this.getGraph(),e=t.$scroller,i=this.$(\"mapNavigator\");i.attr(\"x\",Math.max(h/2,e[0].scrollLeft/t._fZoomLevel));i.attr(\"y\",Math.max(h/2,e[0].scrollTop/t._fZoomLevel));i.attr(\"width\",e.width()/t._fZoomLevel);i.attr(\"height\",e.height()/t._fZoomLevel);this._correctLineWidth();this._correctMapNavigator()};p.prototype._resizeHandler=function(){this._resize();var t=this.getGraph();if(t._isUseNodeHtml()){var e=this.$(\"svg\"),i=this.getGraph().$svg;if(i){var r=Math.max(i.width()/e.width(),i.height()/e.height())*(1/t._fZoomLevel);this._setHtmlNodesPosition(r)}}};p.prototype._correctPosition=function(){var t=this.getGraph(),e=t&&t.$scroller,i=this.$(\"mapNavigator\");if(t&&e[0]){i.attr(\"x\",Math.max(h/2,e[0].scrollLeft/t._fZoomLevel));i.attr(\"y\",Math.max(h/2,e[0].scrollTop/t._fZoomLevel));this._correctMapNavigator()}};p.prototype._setupEvents=function(){var t=false,e=this.getGraph(),i=this.$(\"svg\"),r=e.$scroller;var s=function(t){var s=e.$svg,o=Math.max(s.width()/i.width(),s.height()/i.height()),a=i.find(\".sapSuiteUiCommonsNetworkGraphMapBoundary\"),h=r[0],n=a.offset().left,p=a.offset().top;h.scrollLeft=(t.pageX-n)*o-r.width()/2;h.scrollTop=(t.pageY-p)*o-r.height()/2};var o=function(){i.removeClass(\"sapSuiteUiCommonsNetworkGraphPanning\");t=false};r.on(\"scroll\",function(){this._correctPosition()}.bind(this));i.off();i.on(\"mousedown\",function(e){t=true;s(e);e.preventDefault()});i.on(\"mousemove\",function(e){if(t){if(!i.hasClass(\"sapSuiteUiCommonsNetworkGraphPanning\")){i.addClass(\"sapSuiteUiCommonsNetworkGraphPanning\")}s(e)}});i.on(\"mouseleave\",function(t){o()});i.on(\"mouseup\",function(t){o()})};p.prototype._onBeforeDataProcess=function(){if(this.getDomRef(\"svg\")){this.$(\"svg\").html(\"\");this.setBusy(true)}};p.prototype._onGraphReady=function(){if(this.getVisible()){setTimeout(this._renderMap.bind(this),0);if(this._oResizeListener){e.deregister(this._oResizeListener)}this._oResizeListener=e.register(this.getGraph().$(\"wrapper\")[0],this._resizeHandler.bind(this))}};p.prototype._removeListeners=function(){var t=this.getGraph();if(t){t.detachBeforeLayouting(this._onBeforeDataProcess,this);t.detachGraphReady(this._onGraphReady,this);t.detachZoomChanged(this._resize,this)}};p.prototype.destroy=function(){this._removeListeners();t.prototype.destroy.apply(this,arguments)};p.prototype.exit=function(){if(this._oResizeListener){e.deregister(this._oResizeListener);this._oResizeListener=null}};p.prototype.getTitle=function(){var t=this.getProperty(\"title\");return t?t:n.getText(\"NETWORK_GRAPH_MAP_TITLE\")};p.prototype.getGraph=function(){var t=this.getAssociation(\"graph\");return t?r.getElementById(t):null||null};p.prototype.setGraph=function(t){this._removeListeners();this.setAssociation(\"graph\",t);var e=this.getGraph();if(e){e.attachBeforeLayouting(this._onBeforeDataProcess,this);e.attachGraphReady(this._onGraphReady,this);e.attachZoomChanged(this._resize,this);if(e._isLayedOut()){this._onGraphReady()}}return this};return p});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/GraphMapRenderer\", [\"sap/ui/core/Renderer\",\"sap/ui/Device\"],function(e,t){\"use strict\";return{_appendHeightAndWidth:function(e,t){t.style(\"height\",e.getHeight());t.style(\"width\",e.getWidth())},apiVersion:2,render:function(e,i){e.openStart(\"div\",i);e.class(\"sapSuiteUiCommonsNetworkGraphMap\");this._appendHeightAndWidth(i,e);e.openEnd();e.openStart(\"div\");e.class(\"sapSuiteUiCommonsNetworkGraphMapTitle\");e.openEnd();e.openStart(\"span\");e.class(\"sapSuiteUiCommonsNetworkGraphMapTitleText\");e.openEnd();e.text(i.getTitle());e.close(\"span\");e.close(\"div\");e.openStart(\"div\");e.class(\"sapSuiteUiCommonsNetworkGraphMapContent\");if(t.browser.msie){if(i.getHeight()){e.style(\"flex-direction\",\"row-reverse\");e.style(\"height\",\"100%\")}else{e.style(\"flex-direction\",\"row-reverse\")}}else{if(i.getHeight()){e.style(\"height\",\"100%\")}}e.openEnd();e.close(\"div\");e.close(\"div\")}}},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/GraphRenderer\", [\"sap/suite/ui/commons/library\",\"sap/ui/core/Lib\",\"sap/ui/Device\"],function(e,t,o){\"use strict\";var i=t.getResourceBundleFor(\"sap.suite.ui.commons\");var a=e.networkgraph.BackgroundColor;return{_appendHeightAndWidth:function(e,t){t.style(\"height\",e.getHeight());t.style(\"width\",e.getWidth())},apiVersion:2,render:function(e,t){var r=t._isLayered()?\"sapSuiteUiCommonsNetworkGraphLayered\":\"sapSuiteUiCommonsNetworkGraphNotLayered\",s=t._isSwimLane()?\"sapSuiteUiCommonsNetworkGraphSwimLane\":\"\";e.openStart(\"div\",t);e.class(\"sapSuiteUiCommonsNetworkGraph\");e.class(s);e.class(r);e.attr(\"tabindex\",\"0\");this._appendHeightAndWidth(t,e);this._writeAriaTags(e,t);e.openEnd();e.renderControl(t._toolbar);e.openStart(\"div\",t.getId()+\"-wrapper\");e.class(\"sapSuiteUiCommonsNetworkGraphContentWrapper\");e.attr(\"tabindex\",\"0\");e.attr(\"aria-live\",\"assertive\");e.attr(\"aria-label\",i.getText(\"NETWORK_GRAPH_ACCESSIBILITY_LABEL\"));e.attr(\"role\",\"application\");e.openEnd();e.openStart(\"div\",t.getId()+\"-accessibility\");e.class(\"sapSuiteUiCommonsNetworkGraphContentWrapperAccessibility\");e.openEnd();e.text(i.getText(\"NETWORK_GRAPH_ACCESSIBILITY_CONTENT\"));e.close(\"div\");e.openStart(\"div\",t.getId()+\"-scroller\");e.class(\"sapSuiteUiCommonsNetworkGraphScroller\");if(t.getBackgroundColor()===a.White){e.class(\"sapSuiteUiCommonsNetworkGraphBackgroundWhite\")}else{e.class(\"sapSuiteUiCommonsNetworkGraphBackgroundDefault\")}e.openEnd();if(t.getNoData()){this._renderNoData(e,t);e.close(\"div\");e.close(\"div\");e.close(\"div\");return}e.openStart(\"div\",t.getId()+\"-innerscroller\");e.class(\"sapSuiteUiCommonsNetworkGraphInnerScroller\");if(t._isTwoColumnsLayout()){e.style(\"width\",\"100%\")}e.openEnd();e.openStart(\"div\",t.getId()+\"-tooltiplayer\");e.class(\"sapSuiteUiCommonsNetworkGraphTooltips\");e.openEnd();e.openStart(\"div\",t.getId()+\"-divlinebuttons\");e.style(\"display\",\"none\");e.class(\"sapSuiteUiCommonsNetworkGraphLineButtons\");e.openEnd();e.openStart(\"div\",t.getId()+\"-linetooltip\");e.class(\"sapSuiteUiCommonsNetworkGraphLineTooltip\");e.openEnd();e.close(\"div\");e.openStart(\"div\",t.getId()+\"-linetooltipbuttons\");e.class(\"sapSuiteUiCommonsNetworkGraphLineActionButtons\");e.openEnd();e.close(\"div\");e.close(\"div\");e.close(\"div\");e.openStart(\"div\",t.getId()+\"-divgroups\");e.class(\"sapSuiteUiCommonsNetworkGraphDivGroups\");e.attr(\"aria-hidden\",\"true\");e.openEnd();e.close(\"div\");if(t._isUseNodeHtml()){e.openStart(\"div\",t.getId()+\"-divnodes\");e.class(\"sapSuiteUiCommonsNetworkGraphDivNodes\");e.style(\"opacity\",\"0\");e.attr(\"aria-hidden\",\"true\");e.openEnd();e.close(\"div\")}e.close(\"div\");e.close(\"div\");e.openStart(\"div\",t.getId()+\"-ctrlalert\");e.class(\"sapSuiteUiCommonsNetworkAlertWrapper\");e.openEnd();e.openStart(\"p\");e.class(\"sapSuiteUiCommonsNetworkAlertText\");e.openEnd();e.text(i.getText(\"NETWORK_GRAPH_ZOOMCTRL\"));e.close(\"p\");e.close(\"div\");e.openStart(\"div\",t.getId()+\"-legend\");e.style(\"display\",\"none\");if(o.system.phone){e.style(\"width\",\"100%\")}e.class(\"sapSuiteUiCommonsNetworkGraphLegend\");e.openEnd();if(t.getLegend()){e.renderControl(t.getLegend())}e.close(\"div\");e.close(\"div\");e.close(\"div\")},_writeAriaTags:function(e,t){var o=t.getAriaLabelledBy(),a=t.getAriaDescribedBy();e.attr(\"role\",\"graphics-document\");e.attr(\"aria-roledescription\",i.getText(\"NETWORK_GRAPH_ACCESSIBILITY_LABEL\"));if(o.length>0){e.attr(\"aria-labelledby\",o.join(\" \"))}else{e.attr(\"aria-label\",i.getText(\"NETWORK_GRAPH_ACCESSIBILITY_LABEL\"))}if(a.length>0){e.attr(\"aria-describedby\",a.join(\" \"))}},_renderNoData:function(e,t){e.openStart(\"div\");e.class(\"sapSuiteUiCommonsNetworkGraphNoDataWrapper\");e.attr(\"tabindex\",\"0\");e.openEnd();t._renderHtmlIcon(\"sap-icon://document\",\"sapSuiteUiCommonsNetworkGraphNoDataIcon\",null,null,null,e);var o=t.getNoDataText(),a=o?o:i.getText(\"NETWORK_GRAPH_NO_DATA\");e.openStart(\"div\");e.class(\"sapSuiteUiCommonsNetworkGraphNoDataLabel\");e.openEnd();e.text(a);e.close(\"div\");e.close(\"div\")}}},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/Group\", [\"sap/suite/ui/commons/library\",\"sap/ui/thirdparty/jquery\",\"./ElementBase\",\"sap/ui/core/IconPool\",\"sap/m/CheckBox\",\"sap/ui/core/Core\",\"sap/ui/core/Lib\",\"sap/base/i18n/Localization\",\"./Utils\"],function(e,jQuery,t,o,s,i,r,n,a){\"use strict\";const l=e.networkgraph.ElementStatus,p=e.networkgraph.HeaderCheckboxState,u=e.SemanticColorType;var h={COLLAPSED_HEIGHT:32,COLLAPSED_WIDTH:160,ROUNDING:6,ICON_OFFSET:8,ICON_SIZE:15,HEADER_SIZE:32};var d=\"expand-all\",c=\"collapse-all\",f=\"horizontal-grip\";var g=r.getResourceBundleFor(\"sap.suite.ui.commons\");var _=t.extend(\"sap.suite.ui.commons.networkgraph.Group\",{metadata:{library:\"sap.suite.ui.commons\",properties:{headerCheckBoxState:{type:\"sap.suite.ui.commons.networkgraph.HeaderCheckboxState\",group:\"Misc\",defaultValue:p.Hidden},key:{type:\"string\",group:\"Misc\",defaultValue:null},collapsed:{type:\"boolean\",group:\"Misc\",defaultValue:false},icon:{type:\"string\",group:\"Appearance\",defaultValue:null},minWidth:{type:\"float\",defaultValue:undefined},parentGroupKey:{type:\"string\",group:\"Misc\",defaultValue:null}},events:{headerCheckBoxPress:{parameters:{checked:\"boolean\"}},collapseExpand:{},showDetail:{}},aggregations:{_checkBox:{type:\"sap.m.CheckBox\",multiple:false,visibility:\"hidden\"}}},renderer:{apiVersion:2,render:function(e,t){t._render({renderManager:e})}},onAfterRendering:function(){this._afterRenderingBase()}});_.prototype.aProcessRequiredProperties=[\"key\",\"parentGroupKey\"];_.BUTTONS={MENU:\"menu\",COLLAPSE:\"collapse\"};_.prototype.init=function(){this._iWidth=h.COLLAPSED_WIDTH;this._iHeight=h.COLLAPSED_HEIGHT;this._oActionButtons={};this._clearChildren();this._bIsHidden=false};_.prototype._afterRendering=function(){this._setupEvents();if(!this._isVisible()){this.$().hide()}if(this.$().find(\".sapSuiteUiCommonsNetworkGraphHeaderCheckboxInner\").length!==0){this.$().find(\".sapSuiteUiCommonsNetworkGraphHeaderCheckboxInner\").attr(\"aria-label\",this.getTitle())}this._removeFromInvalidatedControls()};_.prototype._renderTopGroup=function(e){var t=this._getElementId(e.idSufix),o=this._iTopGroupIndex===0,s=e.renderManager;var i=this.getIcon(),r=this.getTitle();var n=this._iTopGroupIndex*50;if(this.getParent()._bIsRtl){o=!o;n=o?0:50}if(o){s.openStart(\"div\").class(\"sapSuiteUiCommonsNetworkTopGroupDelimiter\").openEnd().close(\"div\")}this._renderHtmlElement(\"div\",{top:0,left:n+\"%\",width:\"50%\",height:\"32px\"},{id:t,\"data-sap-ui\":t,class:\"sapSuiteUiCommonsNetworkTopGroup \"+(!o?\"sapSuiteUiCommonsNetworkTopGroupRight\":\"\")},s);s.openStart(\"div\").class(\"sapSuiteUiCommonsNetworkTopGroupHeader\").openEnd();if(i){this._renderHtmlIcon(i,null,null,null,null,s)}if(r){s.openStart(\"div\").class(\"sapSuiteUiCommonsNetworkGroupHeaderTitle\").attr(\"title\",r).openEnd().text(r).close(\"div\")}s.close(\"div\");s. Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/AriaProperties\", [\"./library\",\"sap/ui/core/Element\"],function(e,a){\"use strict\";var l=a.extend(\"sap.suite.ui.commons.AriaProperties\",{metadata:{library:\"sap.suite.ui.commons\",properties:{label:{type:\"string\",defaultValue:null},labelledBy:{type:\"string\",defaultValue:null},describedBy:{type:\"string\",defaultValue:null},role:{type:\"string\",defaultValue:null},hasPopup:{type:\"string\",defaultValue:null}}}});l.writeAriaProperties=function(e,a,l){var t=l&&l.getLabel()||a.label;if(t){e.attr(\"aria-label\",t)}var r=l&&l.getLabelledBy()||a.labelledBy;if(r){e.attr(\"aria-labelledby\",r)}var i=l&&l.getDescribedBy()||a.describedBy;if(i){e.attr(\"aria-describedby\",i)}var u=l&&l.getRole()||a.role;if(u){e.attr(\"role\",u)}var s=l&&l.getHasPopup()||a.hasPopup;if(s){e.attr(\"aria-haspopup\",s)}};return l});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/CalculationBuilder\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/ui/core/Control\",\"./CalculationBuilderItem\",\"./CalculationBuilderExpression\",\"./CalculationBuilderInput\",\"./CalculationBuilderFunction\",\"./CalculationBuilderVariable\",\"./CalculationBuilderGroup\",\"sap/m/OverflowToolbar\",\"sap/m/OverflowToolbarToggleButton\",\"sap/m/OverflowToolbarButton\",\"sap/m/ToolbarSpacer\",\"sap/m/Title\",\"sap/m/MessageBox\",\"sap/base/Log\",\"sap/base/util/uid\",\"sap/ui/core/library\",\"sap/m/library\",\"sap/suite/ui/commons/util/FullScreenUtil\",\"sap/ui/core/Lib\"],function(jQuery,t,e,i,r,o,n,s,a,l,u,p,d,c,_,h,f,g,E,y,b){\"use strict\";var T=E.ButtonType;var m=g.TitleLevel;var I=Object.freeze({SHOW_EXPRESSION:\"sap-icon://notification-2\",EXPAND_VARIABLE:\"sap-icon://disconnected\",FULL_SCREEN:\"sap-icon://full-screen\",EXIT_FULL_SCREEN:\"sap-icon://exit-full-screen\"});var x=b.getResourceBundleFor(\"sap.suite.ui.commons\");var B=t.CalculationBuilderOperatorType,C=t.CalculationBuilderLogicalOperatorType,S=t.CalculationBuilderComparisonOperatorType,L=t.CalculationBuilderItemType,O=t.CalculationBuilderFunctionType,w=t.CalculationBuilderLayoutType,A=t.CalculationBuilderValidationMode;var V=new RegExp(String.fromCharCode(160),\"g\");var F={abs:{key:\"ABS\",title:\"ABS - Absolute Value\",allowed:true},round:{key:\"Round\",title:\"Round\",template:[\"\",\",\",\"\"],allowed:true},roundup:{key:\"RoundUp\",title:\"Round Up\",template:[\"\",\",\",\"\"],allowed:true},rounddown:{key:\"RoundDown\",title:\"Round Down\",template:[\"\",\",\",\"\"],allowed:true},sqrt:{key:\"SQRT\",title:\"SQRT\",allowed:true},case:{key:\"Case\",title:\"Case\",description:'CASE ( \"When\" Expression \"Then\" Expression \"Else\" Expression )',template:[\"\",\",\",\"\",\",\",\"\"]},ndiv0:{key:\"NDIV0\",title:\"NDIV0\"},nodim:{key:\"NODIM\",title:\"NODIM\",description:\"NODIM ( Variable )\"},sumct:{key:\"SUMCT\",title:\"SUMCT\",description:\"SUMGT ( Variable )\"},sumgt:{key:\"SUMGT\",title:\"SUMGT\",description:\"SUMGT ( Variable )\"},sumrt:{key:\"SUMRT\",title:\"SUMRT\",description:\"SUMRT ( Variable )\"}};var v=e.extend(\"sap.suite.ui.commons.CalculationBuilder\",{metadata:{library:\"sap.suite.ui.commons\",properties:{expression:{type:\"string\",group:\"Misc\",defaultValue:null},title:{type:\"string\",group:\"Misc\",defaultValue:null},showToolbar:{type:\"boolean\",group:\"Misc\",defaultValue:true},wrapItemsInExpression:{type:\"boolean\",group:\"Misc\",defaultValue:true},layoutType:{type:\"string\",group:\"Misc\",defaultValue:\"Default\"},showInputToolbar:{type:\"boolean\",group:\"Misc\",defaultValue:false},readOnly:{type:\"boolean\",group:\"Misc\",defaultValue:false},allowComparisonOperators:{type:\"boolean\",group:\"Misc\",defaultValue:true},allowLogicalOperators:{type:\"boolean\",group:\"Misc\",defaultValue:true},allowSuggestions:{type:\"boolean\",group:\"Misc\",defaultValue:true},allowStringConstants:{type:\"boolean\",group:\"Misc\",defaultValue:false},allowStringLiterals:{type:\"boolean\",group:\"Misc\",defaultValue:false},validationMode:{type:\"sap.suite.ui.commons.CalculationBuilderValidationMode\",group:\"Misc\",defaultValue:A.LiveChange},disabledDefaultTokens:{type:\"string\",group:\"Misc\",defaultValue:\"\"}},defaultAggregation:\"items\",aggregations:{items:{type:\"sap.suite.ui.commons.CalculationBuilderItem\",defaultClass:i,multiple:true,singularName:\"item\",bindable:\"bindable\",forwarding:{idSuffix:\"-expression\",aggregation:\"items\",forwardBinding:true}},variables:{type:\"sap.suite.ui.commons.CalculationBuilderVariable\",defaultClass:s,multiple:true,singularName:\"Variable\",forwarding:{idSuffix:\"-expression\",aggregation:\"variables\",forwardBinding:true}},functions:{type:\"sap.suite.ui.commons.CalculationBuilderFunction\",defaultClass:n,multiple:true,singularName:\"Function\",forwarding:{idSuffix:\"-expression\",aggregation:\"functions\",forwardBinding:true}},operators:{type:\"sap.ui.core.Item\",multiple:true,singularName:\"Operator\",forwarding:{idSuffix:\"-expression\",aggregation:\"operators\",forwardBinding:true}},groups:{type:\"sap.suite.ui.commons.CalculationBuilderGroup\",defaultClass:a,multiple:true,singularName:\"Group\",forwarding:{idSuffix:\"-expression\",aggregation:\"groups\",forwardBinding:true}}},events:{validateFunction:{parameters:{definition:\"object\",customFunction:\"object\",result:\"sap.suite.ui.commons.CalculationBuilderValidationResult\"}},change:{},afterValidation:{}}},renderer:{apiVersion:2,render:function(t,e){var i=e.getWrapItemsInExpression()?\"sapCalculationBuilderWrapItems\":\"\",r=e.getLayoutType()===w.TextualOnly,o=e._bShowInput||r,n=e._isExpressionVisible(),s=e._isInputVisible(),a=e.getReadOnly();t.openStart(\"div\",e);t.class(\"sapCalculationBuilder\");if(e.getReadOnly()){t.class(\"sapCalculationBuilderReadOnly\")}t.class(\"oCalculationBuilder\");t.openEnd();if(e.getShowToolbar()&&!r){t.renderControl(e.getToolbar())}if(n){e._oExpressionBuilder._bReadOnly=a;t.openStart(\"div\");t.class(\"sapCalculationBuilderInsideWrapper\").class(i);t.openEnd();t.renderControl(e._oExpressionBuilder);t.close(\"div\")}if(n&&s){t.openStart(\"div\");t.class(\"sapCalculationBuilderDelimiterLine\");t.openEnd();t.close(\"div\")}if(s){e._oInput._bReadOnly=a||e.getLayoutType()===w.VisualTextualReadOnly;t.openStart(\"div\");t.class(\"sapCalculationBuilderInputOuterWrapper\");if(e._oInput._bReadOnly){t.class(\"sapCalculationBuilderReadOnly\")}if(e.getLayoutType()===w.Default||e.getLayoutType()===w.VisualTextualReadOnly){t.class(\"sapCalculationBuilderInputOuterWrapperMargin\")}if(!o){t.class(\"sapCalculationBuilderDisplayNone\")}t.openEnd();t.renderControl(e._oInput);t.close(\"div\")}t.close(\"div\")}}});v.prototype.init=function(){this._mDisabledTokens={};this._bShowInput=true;this._oFullScreenContainer=null;this._bIsFullScreen=false;this._oExpressionBuilder=new r(this.getId()+\"-expression\",{change:function(){this._expressionChanged();this.fireChange()}.bind(this)});this.addDependent(this._oExpressionBuilder);this._oInput=new o(this.getId()+\"-input\",{change:function(t){var e=t.getParameter(\"value\"),i=this._oInput._stringToItems(e),r=t.getParameter(\"position\");this._oExpressionBuilder._smartRender(i);this._setExpression(this._oInput._convertEmptyHashes(e));if(this.getValidationMode()!==A.FocusOut){this._validateInput(e,r)}else{this._oInput._recreateText({text:e,position:r,errors:this._oExpressionBuilder._aErrors})}this._enableOrDisableExpandAllButton();this.fireChange()}.bind(this)});this.addDependent(this._oInput)};v.prototype._expressionChanged=function(){var t=\"\";this._oExpressionBuilder._aErrors=this._oExpressionBuilder._validateSyntax();t=this._oInput._itemsToString({items:this._oExpressionBuilder.getItems(),errors:this._oExpressionBuilder._aErrors});this._setExpression(t);this.fireAfterValidation();this._oInput._displayError(this._oExpressionBuilder._aErrors.length!==0);this._oExpressionBuilder._printErrors();this._enableOrDisableExpandAllButton()};v.prototype.clone=function(t){var i=e.prototype.clone.apply(this,[t,undefined,{cloneChildren:false,cloneBindings:true}]);return i};v.prototype.onBeforeRendering=function(){this._resetItems();this._createToolbar();this._oExpressionBuilder._createVariablesMap();this._oInput._aVariables=this.getVariables();if(this._bExpressionSet){this._oExpressionBuilder._setItems(this._oInput._stringToItems(this._sExpressionDirectValue))}this._bExpressionSet=false;this._sExpressionDirectValue=\"\";if(!this._isExpressionVisible()){this._oExpressionBuilder._aErrors=this._oExpressionBuilder._validateSyntax()}this._bRendered=false};v.prototype.onAfterRendering=function(){this._setExpression(this._oInput._itemsToString({items:this._oExpressionBuilder.getItems(),errors:this._oExpressionBuilder._aErrors}));this._bRendered=true;this._oInput._displayError(this._oExpressionBuilder._aErrors.length>0)};v.prototype.exit=function(){if(this._oFullScreenUtil){this._oFullScreenUtil.cleanUpFullScreen(this)}};v.prototype.getToolbar=function(){return this._oToolbar};v.prototype.getInputToolbar=function(){return this._oInput&&this._oInput._oInputToolbar};v.prototype.validateParts=function(t){t=t||{};return this._oExpressionBuilder._validateSyntax({items:t.items,from:t.from,to:t.to})};v.prototype.appendError=function(t){this._oExpressionBuilder._aErrors.push(t)};v.prototype.getErrors=function(){return this._oExpressionBuilder._aErrors};v.prototype.validate=function(){this._resetItems();this._oExpressionBuilder._aErrors=this._oExpressionBuilder._validateSyntax();this.updateErrorsDisplay()};v.prototype.updateErrorsDisplay=function(){var t=this._oExpressionBuilder._aErrors;if(this._isInputVisible()){this._oInput._recreateText({errors:t});this._oInput._displayError(t.length>0)}if(this._isExpressionVisible()){this._oExpressionBuilder._printErrors()}};v.prototype.allowFunction=function(t,e){if(!t){return}var i=F[t.toLowerCase()];if(i){i.allowed=e}};v.prototype.updateOrCreateItem=function(t){this._oExpressionBuilder._updateOrCreateItem({key:t})};v.prototype.getErrors=function(){return this._oExpressionBuilder&&this._oExpressionBuilder._aErrors};v.prototype.getAllowStringConstants=function(){h.warning(\"This function is deprecated, please use getAllowStringLiterals instead\");return this.getAllowStringLiterals()};v.prototype.setAllowStringConstants=function(t){h.warning(\"This function is deprecated, please use setAllowStringLiterals instead\");return this.setAllowStringLiterals(t)};v.prototype._resetItems=function(){this.getItems().forEach(function(t){t._reset()})};v.prototype._validateInput=function(t,e){this._oExpressionBuilder._aErrors=this._oExpressionBuilder._validateSyntax();this.fireAfterValidation();this._oInput._recreateText({text:t,position:e,errors:this._oExpressionBuilder._aErrors});this._oExpressionBuilder._printErrors();this._oInput._displayError(this._oExpressionBuilder._aErrors.length>0)};v.prototype._findInArray=function(t,e,i){return e.some(function(e){var r=i?e[\"get\"+i]():e;return r.toLowerCase()===t})};v.prototype._findInChildren=function(t,e){var i;switch(e){case\"Variable\":i=this._oExpressionBuilder._mVariableMap;break;case\"Function\":i=this._oExpressionBuilder._mFunctionMap;break;case\"Operator\":i=this._oExpressionBuilder._mOperatorMap;break;default:i={};break}return i[t.toLowerCase()]};v.prototype._findInItems=function(t,e){t=(t||\"\").toLowerCase();return e.some(function(e){return e.getKey().toLowerCase()===t})};v.prototype._createErrorText=function(t,e){t=t||this.getErrors();var i=\"\",r=0,o=5;for(var n=0;n=2&&t[0]==='\"'&&t[t.length-1]==='\"'};v.prototype._getType=function(t){t=(t||\"\").toLowerCase();if(!t){return L.Empty}if(this._isOperator(t)){return L.Operator}if(this._isCustomOperator(t)){return L.CustomOperator}if(this._findInChildren(t,\"Variable\")){return L.Variable}if(this._isFunction(t)){return L.Function}if(this._findInChildren(t,\"Function\")){return L.CustomFunction}if(this.getAllowStringLiterals()&&this._isStringLiteral(t)){return L.Literal}if(!isNaN(t)){return L.Literal}return L.Error};v.prototype._createToolbar=function(){if(this._oToolbar){this._oShowInputButton&&this._oShowInputButton.setVisible(this._isInputVisible());this._oToolbarTitle.setText(this.getTitle());this._oToolbarTitle.setVisible(!!this.getTitle());return}this._oToolbarTitle=new c({titleStyle:m.H4,text:this.getTitle(),visible:!!this.getTitle()});this._oToolbar=new l(this.getId()+\"-toolbar\",{content:[this._oToolbarTitle,new d]}).addStyleClass(\"sapCalculationBuilderToolbar\");this._oShowInputButton=new u({type:T.Transparent,icon:I.SHOW_EXPRESSION,tooltip:x.getText(\"CALCULATION_BUILDER_TOGGLE_EXPRESSION_BUTTON\"),pressed:true,press:function(){this.$().find(\".sapCalculationBuilderInputOuterWrapper\").toggle();this._bShowInput=!this._bShowInput}.bind(this)});this._oToolbar.addContent(this._oShowInputButton);this._oToolbar.addContent(this._getExpandAllVariablesButton());this._oToolbar.addContent(new u({type:T.Transparent,icon:I.FULL_SCREEN,tooltip:x.getText(\"CALCULATION_BUILDER_ENTER_FULL_SCREEN_BUTTON\"),press:function(t){var e=t.getSource();this._toggleFullScreen(e);e.setAggregation(\"tooltip\",this._bIsFullScreen?x.getText(\"CALCULATION_BUILDER_EXIT_FULL_SCREEN_BUTTON\"):x.getText(\"CALCULATION_BUILDER_ENTER_FULL_SCREEN_BUTTON\"),true);e.setProperty(\"icon\",this._bIsFullScreen?I.EXIT_FULL_SCREEN:I.FULL_SCREEN,true);e.focus()}.bind(this)}));this.addDependent(this._oToolbar)};v.prototype._getExpandAllVariablesButton=function(){if(!this._oExpandAllVariablesButton){this._oExpandAllVariablesButton=new p({type:T.Transparent,icon:I.EXPAND_VARIABLE,tooltip:x.getText(\"CALCULATION_BUILDER_EXPAND_ALL_BUTTON\"),press:function(t){_.show(x.getText(\"CALCULATION_BUILDER_EXPAND_ALL_MESSAGE_TEXT\"),{icon:_.Icon.WARNING,title:x.getText(\"CALCULATION_BUILDER_EXPAND_ALL_MESSAGE_TITLE\"),actions:[_.Action.OK,_.Action.CANCEL],onClose:function(t){if(t===_.Action.OK){this._oExpressionBuilder._expandAllVariables()}}.bind(this)})}.bind(this)})}return this._oExpandAllVariablesButton};v.prototype._enableOrDisableExpandAllButton=function(){var t=this.getReadOnly()||this.getLayoutType()===w.VisualTextualReadOnly,e=this._getExpandAllVariablesButton().$();if(e[0]){this._getExpandAllVariablesButton().setEnabled(!t&&this.getItems().some(function(t){return t._isVariable()&&t.isExpandable()}))}};v.prototype.setExpression=function(t){this.setProperty(\"expression\",t);this._sExpressionDirectValue=t;if(this._bRendered||this._sExpressionDirectValue){this._bExpressionSet=true}this._oInput._setupAriaLabel();return this};v.prototype.getExpression=function(){if(this._bExpressionSet){return this._sExpressionDirectValue}return this._oInput._itemsToString({createInputText:false,items:this.getItems()})};v.prototype._setExpression=function(t){if(t){t=t.replace(V,\" \")}this.setProperty(\"expression\",t,true);this._oInput._setupAriaLabel()};v.prototype._toggleFullScreen=function(t){this._oFullScreenButton=t;this._bIsFullScreen=!this._bIsFullScreen;if(!this._oFullScreenUtil){this._oFullScreenUtil=y}this._oFullScreenUtil.toggleFullScreen(this,this._bIsFullScreen,this._oFullScreenButton,this._toggleFullScreen)};v.prototype._getGroupMap=function(){return this._oExpressionBuilder._mGroups};v.prototype._isExpressionVisible=function(){return this.getLayoutType()!==w.TextualOnly};v.prototype._isInputVisible=function(){return this.getLayoutType()!==w.VisualOnly};v.prototype._createFunctionObject=function(t){if(!t){return null}return t instanceof n?{key:t.getKey(),title:t._getLabel(),description:this._getFunctionDescription({key:t.getKey(),description:t.getDescription(),template:this._convertToTemplate(t.getItems())}),type:L.CustomFunction,functionObject:t}:{key:t.key,title:t.title,description:this._getFunctionDescription(t),type:L.Function,functionObject:t}};v.prototype._getAllFunctions=function(){var t=[];Object.keys(F).forEach(function(e){if(F[e].allowed&&this._isTokenAllowed(e)){t.push(this._createFunctionObject(F[e]))}}.bind(this));this.getFunctions().forEach(function(e){t.push(this._createFunctionObject(e))}.bind(this));return t.sort(function(t,e){if(t.title\":\"CALCULATION_BUILDER_GREATER_THAN_TOOLTIP\",\"<=\":\"CALCULATION_BUILDER_LESS_THAN_OR_EQUALS_TO_TOOLTIP\",\">=\":\"CALCULATION_BUILDER_GREATER_THAN_OR_EQUALS_TO_TOOLTIP\",\"=\":\"CALCULATION_BUILDER_EQUALS_TO_TOOLTIP\",\"!=\":\"CALCULATION_BUILDER_NOT_EQUALS_TO_TOOLTIP\",AND:\"CALCULATION_BUILDER_LOGICAL_CONJUNCTION_TOOLTIP\",OR:\"CALCULATION_BUILDER_LOGICAL_DISJUNCTION_TOOLTIP\",XOR:\"CALCULATION_BUILDER_EXCLUSIVE_DISJUNCTION_TOOLTIP\",NOT:\"CALCULATION_BUILDER_NEGATION_TOOLTIP\"})};Q.prototype._renderDelimiter=function(e,t){e.openStart(\"div\");e.attr(\"index\",t);e.class(\"sapCalculationBuilderDelimiter\").class(\"sapCalculationBuilderDroppable\");e.openEnd();e.openStart(\"div\");e.class(\"sapCalculationBuilderDroppableLine\");e.openEnd();e.close(\"div\");e.openStart(\"div\");e.class(\"sapCalculationBuilderDroppableCircle\");e.openEnd();e.close(\"div\");e.openStart(\"div\");e.class(\"sapCalculationBuilderDelimiterNewButton\");e.openEnd();e.openStart(\"span\");e.attr(\"role\",\"presentation\");e.attr(\"aria-hidden\",\"true\");e.attr(\"data-sap-ui-icon-content\",\"\");e.class(\"sapUiIcon\").class(\"sapUiIconMirrorInRTL\").class(\"sapCalculationBuilderDelimiterNewButtonIcon\").class(\"sapCalculationBuilderExpressionSAPFont\");e.openEnd();e.close(\"span\");e.close(\"div\");e.close(\"div\")};Q.prototype.onBeforeRendering=function(){this._createMap();if(!this.getParent()._oInput._aVariables.length){this._createVariablesMap();this.getParent()._oInput._aVariables=this.getParent().getVariables()}this._reset();this._createPopup();this.getParent()._enableOrDisableExpandAllButton();this._aErrors=this._validateSyntax();this._fireAfterValidation();this._bIsCalculationBuilderRendering=true;this._bRendered=false};Q.prototype.onAfterRendering=function(){this._bIsCalculationBuilderRendering=false;if(!this._bReadOnly){this._setupDroppable();this._setupSelectable();this._setupNewButtonEvents()}this._setupKeyboard();this._bRendered=true;var e=this.getParent();if(e._bRendered){e._setExpression(e._oInput._itemsToString({items:this.getItems(),errors:this._aErrors}));e._oInput._displayError(this._aErrors.length!==0)}};Q.prototype.onsapfocusleave=function(){if(!this._bAreSelectedItemsDeleting){this._deselect()}};Q.prototype.onsapenter=function(e){this._handleEnter(e)};Q.prototype.onsapspace=function(e){if(jQuery(e.target).hasClass(\"sapCalculationBuilderItem\")){this._handleSpace(e)}this._handleEnter(e)};Q.prototype.onsappreviousmodifiers=function(e){if(e.ctrlKey){this._handleCtrlPrevious(e)}};Q.prototype.onsapnextmodifiers=function(e){if(e.ctrlKey){this._handleCtrlNext(e)}};Q.prototype.onsapdelete=function(e){this._handleDelete(e)};Q.prototype.exit=function(){if(this._oPopover){this._oPopover.destroy()}if(this._oItemNavigation){this.removeDelegate(this._oItemNavigation);this._oItemNavigation.destroy()}if(this._oErrorIcon){this._oErrorIcon.destroy();this._oErrorIcon=null}};Q.prototype._getErrorIcon=function(){if(!this._oErrorIcon){this._oErrorIcon=new y({src:\"sap-icon://message-error\",useIconTooltip:false,size:\"20px\"})}return this._oErrorIcon};Q.prototype._createPopup=function(){var e={footerButtons:[]};this._createPopoverLayout(e);this._createPopoverFunctionsItems(e);this._createPopoverOperatorsItems(e);this._createPopoverNavContainer(e);this._createPopover(e)};Q.prototype._reset=function(){this.getItems().forEach(function(e){e._reset()});if(this._oPopover){this._oPopover.destroy();this._oPopover=null}};Q.prototype._createPopoverLayout=function(e){var t=function(e){return new s({text:e,tooltip:this._operatorTooltip[e]?z.getText(this._operatorTooltip[e]):this._operatorTooltip[e],press:this._updateOrCreateItem.bind(this,{type:M.Operator,key:e})}).addStyleClass(\"sapUiTinyMarginEnd\")}.bind(this);var i=new l({renderType:w.Div,width:\"100%\"});i.addStyleClass(\"sapCalculationBuilderItemPopupOperators\");i.addStyleClass(\"sapCalculationBuilderItemPopupOptionItem\");Object.keys(G).forEach(function(e){if(this.getParent()._isTokenAllowed(e)){var r=t(G[e]);if(e===G[\",\"]){this._attachAriaLabelToButton(r,z.getText(\"CALCULATION_BUILDER_COMMA_ARIA_LABEL\"))}else if(e===G[\"-\"]){this._attachAriaLabelToButton(r,z.getText(\"CALCULATION_BUILDER_MINUS_ARIA_LABEL\"))}i.addItem(r)}}.bind(this));var r=this._createPopoverLiteralLabelAndInput(e);var n=new u({items:[i,r],alignItems:\"Start\"});n.addStyleClass(\"sapCalculationBuilderItemPopupOperatorsAndInputWrapper\");e.layout=n.getItems().length>0?n:null};Q.prototype._createPopoverLiteralLabelAndInput=function(e){var t=new C({id:this.getId()+$.LABEL_LITERALS,text:z.getText(\"CALCULATION_BUILDER_LITERAL_INPUT_LABEL\")});var i;if(this.getParent().getAllowStringLiterals()){i=new c({id:this.getId()+$.INPUT_LITERALS,width:\"100%\",placeholder:z.getText(\"CALCULATION_BUILDER_ADD_LITERAL_FIELD_PLACEHOLDER_ANY_STRING\"),valueStateText:z.getText(\"CALCULATION_BUILDER_ADD_LITERAL_FIELD_PLACEHOLDER_ERROR\"),liveChange:function(t){var i=t.getSource(),r=t.getParameter(\"value\"),n=r.indexOf('\"')===-1;i.setValueState(n?V.None:V.Error);e.footerButtons.okButton.setEnabled(r.length>0&&n)},submit:function(e){this._submitLiteralInput(i)}.bind(this)})}else{i=new _({width:\"100%\",placeholder:z.getText(\"CALCULATION_BUILDER_ADD_LITERAL_FIELD_PLACEHOLDER\"),textAlign:F.Right,valueStateText:z.getText(\"CALCULATION_BUILDER_ADD_LITERAL_FIELD_ERROR_TEXT\"),displayValuePrecision:3,change:function(){e.footerButtons.okButton.setEnabled(true)}});if(i._getInput){var r=i._getInput();if(r){r.attachSubmit(function(e){this._submitLiteralInput(i)},this)}}}i.addAriaLabelledBy(t);e.literalInput=i;var n=new u({renderType:w.Div,items:[t,i],width:\"100%\"});n.addStyleClass(\"sapCalculationBuilderItemPopupOptionItem\");n.addStyleClass(\"sapCalculationBuilderItemPopupLiteralLabelAndInput\");return n};Q.prototype._createPopoverVariablesItems=function(e){if(!e){return[]}var t=[];e.forEach(function(e){var i=new I({title:e._getLabel()});i._calculationBuilderKey=e.getKey();t.push(i)},this);t=t.sort(function(e,t){return e.getTitle().localeCompare(t.getTitle())});var i=new h({mode:D.SingleSelectMaster,selectionChange:function(e){this._updateOrCreateItem({type:M.Variable,key:e.getParameter(\"listItem\")._calculationBuilderKey})}.bind(this),items:t});this._oSearchField=new f({placeholder:z.getText(\"CALCULATION_BUILDER_SEARCH_VARIABLE\"),liveChange:function(e){var r=e.getSource().getValue();if(r||r===\"\"){i.removeAllItems();t.forEach(function(e){if(e.getTitle().toLowerCase().indexOf(r.toLowerCase())!==-1){i.addItem(e)}})}}});this._aVariableLists.push(i);return[this._oSearchField,i]};Q.prototype._createPopoverFunctionsItems=function(e){var t=this,i=this.getParent();var r=function(e){return new I({title:e.title,description:e.description,type:x.Active,customData:[{key:\"functionKey\",value:e.key}],press:e.press})};e.functionList=new h({mode:D.SingleSelectMaster,itemPress:function(){this.getSelectedItem().firePress()}});i._getAllFunctions().forEach(function(i){e.functionList.addItem(r({key:i.key,title:i.title,description:i.description,press:t._updateOrCreateItem.bind(t,{key:i.key,type:i.type,functionObject:i.functionObject})}))})};Q.prototype._createPopoverOperatorsItems=function(e){var t=this.getParent();var i=function(e,i){var r=[];Object.keys(e).forEach(function(n){var a,o,l=e[n];if(t._isTokenAllowed(n)){if(typeof l===\"object\"){o=l.getText();a=l.getKey()}else{a=o=l}var u=new s({text:o,tooltip:this._operatorTooltip[o]?z.getText(this._operatorTooltip[o]):o,press:this._updateOrCreateItem.bind(this,{type:i,key:a})}).addStyleClass(\"sapCalculationBuilderPopoverOperatorsButton\").addStyleClass(\"sapUiTinyMarginEnd\");if(n===K[\"!=\"]){this._attachAriaLabelToButton(u,z.getText(\"CALCULATION_BUILDER_NOT_EQUAL_ARIA_LABEL\"))}r.push(u)}}.bind(this));return r}.bind(this);var r=function(e,t,r){var n=i(t,r);if(n.length>0){return new T({content:[new C({width:\"100%\",text:e}).addStyleClass(\"sapUiTinyMarginBottom\"),n]})}return null};e.operatorsItems=[];if(this.getParent().getAllowComparisonOperators()){var n=r(z.getText(\"CALCULATION_BUILDER_COMPARISON_TITLE_SELECT\"),K,M.Operator);n&&e.operatorsItems.push(n)}if(this.getParent().getAllowLogicalOperators()){var a=r(z.getText(\"CALCULATION_BUILDER_LOGICAL_TITLE_SELECT\"),k,M.Operator);a&&e.operatorsItems.push(a)}var o=this.getParent().getOperators();if(o.length>0){e.operatorsItems.push(r(z.getText(\"CALCULATION_BUILDER_OPERATORS_TITLE\"),o,M.CustomOperator))}};Q.prototype._createPopoverNavContainer=function(e){var t=function(e){var t=l.getPage(e);l.to(t)};var i=function(){var e=new E({type:\"Error\",showIcon:true}).addStyleClass(\"sapUiTinyMarginBegin sapUiTinyMarginEnd sapUiTinyMarginTop\");this._aStrips.push(e);return e}.bind(this);this._aStrips=[];var r=[];var n=this._createPopoverVariablesItems(this._mGroups[q]);if(n.length>0){r.push(new I({title:z.getText(\"CALCULATION_BUILDER_VARIABLES_TITLE\"),description:z.getText(\"CALCULATION_BUILDER_VARIABLES_CATEGORY_DESCRIPTION\"),wrapping:true,icon:X.VARIABLES_CATEGORY,press:t.bind(this,this.getId()+$.PAGE_VARIABLE),type:x.Active}))}var a=e.functionList.getItems();if(a.length>0){r.push(new I({title:z.getText(\"CALCULATION_BUILDER_FUNCTIONS_TITLE\"),type:x.Active,description:z.getText(\"CALCULATION_BUILDER_FUNCTIONS_CATEGORY_DESCRIPTION\"),wrapping:true,icon:X.FUNCTIONS_CATEGORY,press:t.bind(this,this.getId()+$.PAGE_FUNCTIONS)}))}if(e.operatorsItems.length>0){r.unshift(new I({title:z.getText(\"CALCULATION_BUILDER_OPERATORS_TITLE\"),type:x.Active,description:z.getText(\"CALCULATION_BUILDER_OPERATORS_CATEGORY_DESCRIPTION\"),wrapping:true,icon:X.OPERATORS_CATEGORY,press:t.bind(this,this.getId()+$.PAGE_OPERATORS)}))}this.getGroups().forEach(function(e){r.push(new I({title:e._getTitle(),type:x.Active,description:e.getDescription(),icon:e.getIcon(),press:t.bind(this,this.getId()+e.getKey())}))}.bind(this));var s=new d({id:this.getId()+$.PAGE_MAIN,showHeader:false,content:[i(),e.layout,new o({direction:Y.Column,items:[new h({items:r})]}).addStyleClass(\"sapUiSmallMarginBeginEnd\").addStyleClass(\"sapUiTinyMarginTop\").addStyleClass(\"sapCalculationBuilderNavMainPage\")]});s.setFooter(this._getPageFooter(s.getId(),e));var l=new g({defaultTransitionName:\"show\",navigate:function(t){var i=t.getParameters().to;i.setFooter(this._getPageFooter(i.getId(),e))}.bind(this),pages:[s]});if(e.operatorsItems.length>0){l.addPage(new d({id:this.getId()+$.PAGE_OPERATORS,content:[i(),new o({direction:Y.Column,items:[e.operatorsItems]}).addStyleClass(\"sapUiSmallMarginBeginEnd\").addStyleClass(\"sapUiTinyMarginTop\")],showNavButton:true,title:z.getText(\"CALCULATION_BUILDER_OPERATORS_PAGE_TITLE\"),navButtonPress:t.bind(this,this.getId()+$.PAGE_MAIN)}))}if(n.length>0){l.addPage(new d({id:this.getId()+$.PAGE_VARIABLE,content:[i(),new o({direction:Y.Column,items:n}).addStyleClass(\"sapUiSmallMarginBeginEnd\").addStyleClass(\"sapUiTinyMarginTop\")],showNavButton:true,title:z.getText(\"CALCULATION_BUILDER_VARIABLES_PAGE_TITLE\"),navButtonPress:t.bind(this,this.getId()+$.PAGE_MAIN)}))}if(a.length>0){l.addPage(new d({id:this.getId()+$.PAGE_FUNCTIONS,content:[i(),new o({direction:Y.Column,items:[e.functionList]}).addStyleClass(\"sapUiSmallMarginBeginEnd\").addStyleClass(\"sapUiTinyMarginTop\")],showNavButton:true,title:z.getText(\"CALCULATION_BUILDER_FUNCTIONS_PAGE_TITLE\"),navButtonPress:t.bind(this,this.getId()+$.PAGE_MAIN)}))}this.getGroups().forEach(function(e){var r=new d({id:this.getId()+e.getKey(),showNavButton:true,title:e._getTitle(),navButtonPress:t.bind(this,this.getId()+$.PAGE_MAIN),content:i()});var n=e.getCustomView();if(n){var a=new v;a.setAssociation(\"control\",n);r.addContent(a)}else{r.addContent(new o({direction:Y.Column,items:this._createPopoverVariablesItems(this._mGroups[e.getKey()])}).addStyleClass(\"sapUiSmallMarginBeginEnd\").addStyleClass(\"sapUiTinyMarginTop\"))}l.addPage(r)}.bind(this));e.navContainer=l};Q.prototype._callFunctionFireSelection=function(e){this.getGroups().forEach(function(t){if(t.getCustomView()){t.fireSetSelection({key:e})}})};Q.prototype._clearVariableLists=function(){this._aVariableLists.forEach(function(e){var t=e.getSelectedItem();if(t){e.setSelectedItem(t,false)}});this._callFunctionFireSelection()};Q.prototype._setVariableListSelection=function(e){for(var t=0;t0){t.forEach(function(e){i(e)})}else{i(\"\")}i(\")\")};Q.prototype._updateOrCreateItem=function(e){var t=!this._oCurrentItem||this._oCurrentItem._bIsNew,i=this._oCurrentItem&&!this._oCurrentItem.getKey(),r=this.getParent(),n=e.functionObject,a=this.getItems();var s=function(){var t=e.type===M.Function?n.template:r._convertToTemplate(n.getItems());this._insertFunctionItems(u,t)}.bind(this);var o=function(){var e=isNaN(this._iCurrentIndex)?this.getItems().length:this._iCurrentIndex,t=this._getKeys();this._smartRender(t.slice(0,e).concat(u,t.slice(e)))}.bind(this);var l=function(){for(var e=0;ethis._iLastSelectedIndex){n=this._iFirstSelectedIndex;a=i+1}else{n=i;a=this._iLastSelectedIndex+1}this._deselect();o=r.find('.sapCalculationBuilderDelimiter[index=\"'+n+'\"]');l=r.find('.sapCalculationBuilderDelimiter[index=\"'+a+'\"]');s=o.nextUntil(l,\".sapCalculationBuilderItem\");this._selectItems(s)};Q.prototype._selectItems=function(e){for(var t=0;t0&&r[r.length-1].text===\")\"){r.pop()}i.push(r);if(i.length!==t){m.push({index:e.index,title:z.getText(i.length0){i.forEach(function(t){if(t.length>0){jQuery.merge(m,this._validateSyntax({from:t[0].index,to:t[t.length-1].index+1}))}else{m.push({index:e.index,title:z.getText(\"CALCULATION_BUILDER_EMPTY_PARAMETER\")})}}.bind(this))}}.bind(this);var o=0;var l=function(){var e=d.getKey()===\"+\"||d.getKey()===\"-\";if(e){o++;if(o>2){m.push({index:L,title:z.getText(\"CALCULATION_BUILDER_SYNTAX_ERROR_TEXT\")})}}else{o=0}};var u={\"#op#\":[\"(\",\"#col#\",\"#fun#\",\"not\",\"+\",\"-\"],\"(\":[\"(\",\"+\",\"-\",\"#col#\",\"#fun#\",\"not\"],\")\":[\"#op#\",\")\"],\"#col#\":[\"#op#\",\")\"],\"#fun#\":[\"(\",\"+\",\"-\",\"#col#\",\"#fun#\"],not:[\"#col#\",\"#fun#\",\"not\",\"(\"]};e=e||{};var p=e.items||this.getItems(),_,c,d,h,I,g=e.from||0,f=e.to||p.length,C=g===0&&f===p.length,T=[],m=[];if(p.length>0){if(!t()){m.push({index:g,title:z.getText(\"CALCULATION_BUILDER_FIRST_CHAR_ERROR_TEXT\")})}if(!i()){m.push({index:f-1,title:z.getText(\"CALCULATION_BUILDER_LAST_CHAR_ERROR_TEXT\")})}}for(var L=g;L1?jQuery(a[0]).children():a.children();if(e===H.KEY_PREVIOUS){o=this._iFirstSelectedIndex-1}else if(e===H.KEY_NEXT){o=this._iLastSelectedIndex+2}else if(e===H.MOUSE){o=t}if(o<0||o===n.length+1){return}s=this.$().find('.sapCalculationBuilderDelimiter[index=\"'+o+'\"]');for(var p=0;p0){s.flush(i[0],false,i.children().index(i.find(\".sapCalculationBuilderDelimiter\").last()[0])+1);r.forEach(function(e){e._afterRendering()});this._setupDroppable(i.find(\".sapCalculationBuilderDroppable\").filter(function(){return parseInt(jQuery(this).attr(\"index\"),10)>a}))}this._bRendered=true;this._setupKeyboard();this._setupNewButtonEvents();this._bIsCalculationBuilderRendering=false};Q.prototype._fireChange=function(){this.fireEvent(\"change\")};Q.prototype._setVariables=function(){var e=this[\"getVariables\"]();e.forEach(e=>{this._mVariableMap[e.getKey().toLowerCase()]=e})};Q.prototype._setFunctions=function(){var e=this[\"getFunctions\"]();e.forEach(e=>{this._mFunctionMap[e.getKey().toLowerCase()]=e})};Q.prototype._setOperators=function(){var e=this[\"getOperators\"]();e.forEach(e=>{this._mOperatorMap[e.getKey().toLowerCase()]=e})};return Q});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/CalculationBuilderFunction\", [\"./library\",\"sap/ui/core/Control\",\"./CalculationBuilderItem\"],function(e,t,u){\"use strict\";var l=t.extend(\"sap.suite.ui.commons.CalculationBuilderFunction\",{metadata:{library:\"sap.suite.ui.commons\",properties:{key:{type:\"string\",group:\"Misc\",defaultValue:null},label:{type:\"string\",group:\"Misc\",defaultValue:null},description:{type:\"string\",group:\"Misc\",defaultValue:null},useDefaultValidation:{type:\"boolean\",group:\"Misc\",defaultValue:false}},aggregations:{items:{type:\"sap.suite.ui.commons.CalculationBuilderItem\",defaultClass:u,multiple:true,singularName:\"item\"}}},renderer:null});l.prototype._getLabel=function(){return this.getLabel()||this.getKey()};return l});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/CalculationBuilderGroup\", [\"./library\",\"sap/ui/core/Control\"],function(e,t){\"use strict\";var i=t.extend(\"sap.suite.ui.commons.CalculationBuilderGroup\",{metadata:{library:\"sap.suite.ui.commons\",properties:{key:{type:\"string\",group:\"Misc\",defaultValue:null},title:{type:\"string\",group:\"Misc\",defaultValue:null},description:{type:\"string\",group:\"Misc\",defaultValue:null},icon:{type:\"string\",group:\"Misc\",defaultValue:null}},events:{setSelection:{parameters:{key:\"string\"}}},aggregations:{customView:{type:\"sap.ui.core.Control\",multiple:false}}},renderer:null});i.prototype._getTitle=function(){return this.getTitle()||this.getKey()};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/CalculationBuilderInput\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/ui/core/Control\",\"./CalculationBuilderItem\",\"sap/m/List\",\"sap/m/StandardListItem\",\"sap/m/Popover\",\"sap/m/Button\",\"sap/m/Menu\",\"sap/m/MenuButton\",\"sap/m/MenuItem\",\"sap/m/OverflowToolbar\",\"sap/m/ToolbarSeparator\",\"sap/m/ToolbarSpacer\",\"sap/m/Title\",\"sap/m/OverflowToolbarToggleButton\",\"sap/ui/core/CustomData\",\"sap/ui/model/Sorter\",\"sap/ui/model/json/JSONModel\",\"sap/ui/Device\",\"sap/ui/dom/containsOrEquals\",\"sap/m/library\",\"sap/ui/core/Core\",\"sap/ui/core/Lib\",\"sap/ui/core/Element\",\"sap/base/i18n/Localization\"],function(jQuery,t,e,i,n,o,r,s,a,u,p,l,h,g,f,c,d,_,C,T,S,I,m,y,v,L){\"use strict\";var b=I.ButtonType;var x=I.PlacementType;var E=I.ListMode;var w=\"  \";var O=\"┘┘\";var A=t.CalculationBuilderItemType,P=t.CalculationBuilderValidationMode;var B=y.getResourceBundleFor(\"sap.suite.ui.commons\");var R=function(t){if(typeof t.which===\"undefined\"){return true}else if(typeof t.which===\"number\"&&t.which>0){return!t.ctrlKey&&!t.metaKey&&!t.altKey&&t.which!==8}return false};var N=function(t,e){var i,n=\"\",o=0;if(t instanceof jQuery){t=t[0]}var r=t.nodeType;if(!r){while(i=t[o++]){n+=N(i,e)}}else if(r===1||r===9||r===11){for(t=t.firstChild;t;t=t.nextSibling){n+=N(t,e)}}else if(r===3||r===4){n+=e&&jQuery(t).parent().hasClass(\"sapCalculationBuilderItemTextEmpty\")&&t.nodeValue===\"  \"?\"┘┘\":t.nodeValue}return n};var D=e.extend(\"sap.suite.ui.commons.CalculationBuilderInput\",{metadata:{library:\"sap.suite.ui.commons\",events:{change:{parameters:{value:\"String\",position:\"integer\",validate:\"boolean\"}}}},renderer:{apiVersion:2,render:function(t,e){if(e.getParent().getShowInputToolbar()&&!e._bReadOnly){t.openStart(\"div\");t.class(\"sapCalculationBuilderInputToolbarWrapper\");t.openEnd();t.renderControl(e._oInputToolbar);t.close(\"div\")}t.openStart(\"div\",e);t.class(\"sapCalculationBuilderInputWrapper\");t.attr(\"aria-label\",\"\");t.openEnd();t.openStart(\"div\");t.attr(\"aria-label\",\"\");t.attr(\"aria-describedby\",e.getId()+\"-error\" Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ProcessFlowLaneHeader\", [\"sap/ui/thirdparty/jquery\",\"sap/m/Image\",\"./library\",\"sap/ui/core/Control\",\"sap/ui/core/IconPool\",\"sap/ui/Device\",\"sap/ui/core/Icon\",\"./ProcessFlowLaneHeaderRenderer\",\"sap/ui/core/Lib\"],function(jQuery,e,t,o,s,i,r,n,a){\"use strict\";var l=o.extend(\"sap.suite.ui.commons.ProcessFlowLaneHeader\",{metadata:{library:\"sap.suite.ui.commons\",properties:{text:{type:\"string\",group:\"Misc\",defaultValue:null},iconSrc:{type:\"sap.ui.core.URI\",group:\"Misc\",defaultValue:null},position:{type:\"int\",group:\"Misc\",defaultValue:null},laneId:{type:\"string\",group:\"Misc\",defaultValue:null},state:{type:\"object\",group:\"Misc\",defaultValue:null},zoomLevel:{type:\"sap.suite.ui.commons.ProcessFlowZoomLevel\",group:\"Misc\",defaultValue:null}},events:{press:{parameters:{oEvent:{type:\"object\"}}}}}});l.prototype._oResBundle=null;l.prototype._mergedLanePosition=null;l.symbolType={startSymbol:\"startSymbol\",endSymbol:\"endSymbol\",processSymbol:\"processSymbol\",standardType:\"standardType\"};l._constants={halfGapSize:.0241,minPercentage:.025,ringThickness:5,ringInnerRadius:23,positionX:32,positionY:32,outerCircleRadius:31,outerCircleStrokeColor:\"OuterCircleStrikeColor\",outerCircleStrokeWidth:1,sectorPositiveColor:\"suiteUiCommonsProcessFlowHeaderPositiveColor\",sectorNegativeColor:\"suiteUiCommonsProcessFlowHeaderNegativeColor\",sectorNeutralColor:\"suiteUiCommonsProcessFlowHeaderNeutralColor\",sectorCriticalColor:\"suiteUiCommonsProcessFlowHeaderCriticalColor\",sectorPlannedColor:\"suiteUiCommonsProcessFlowHeaderPlannedColor\",ellipsis:\"...\",ellipsisLength:3};l.prototype.init=function(){this._virtualTableSpan=1;if(!this._oResBundle){this._oResBundle=a.getResourceBundleFor(\"sap.suite.ui.commons\")}};l.prototype.exit=function(){this._destroyImage();this.$().off(\"click\",this.ontouchend)};l.prototype.onBeforeRendering=function(){this._boundOnTouchEnd=this.ontouchend.bind(this);this.$(\"lh-icon\").off(\"click\",this._boundOnTouchEnd);this.$().off(\"click\",this.ontouchend)};l.prototype.onAfterRendering=function(){var e=this.$();var t=this.$(\"lh-icon\");var o=\"click\";if(i.support.touch){o=\"touchend\"}if(t.length>0){t.on(o,this.ontouchend.bind(this));t.css(\"cursor\",\"inherit\")}this.$().on(\"click\",this.ontouchend.bind(this));if(this._isHeaderMode()){e.addClass(\"suiteUiProcessFlowLaneHeaderPointer\")}else{e.removeClass(\"suiteUiProcessFlowLaneHeaderPointer\")}if(i.browser.mozilla){this.$(\"lh-text\").css(\"word-break\",\"break-all\")}if(!this._ellipsisDisabled&&!l._hasNativeLineClamp){this._clampText()}};l.prototype.ontouchend=function(e){if(e&&!e.isDefaultPrevented()){e.preventDefault()}if(this){this.firePress(this)}if(e&&!e.isPropagationStopped()){e.stopPropagation()}if(e&&!e.isImmediatePropagationStopped()){e.stopImmediatePropagation()}};l.prototype._setMergedPosition=function(e){this._mergedLanePosition=e};l.prototype._getSymbolType=function(){return this._oSymbolType?this._oSymbolType:l.symbolType.standardType};l.prototype._setSymbolType=function(e,t){t._oSymbolType=e};l.prototype._getImage=function(t,o){this._destroyImage();if(this._oImageControl){this._oImageControl.setSrc(o)}else{this._oImageControl=s.createControlByURI(o,e);this._oImageControl.sId=t;this._oImageControl.setParent(this,null,true)}if(this._oImageControl instanceof r){this._oImageControl.setUseIconTooltip(false)}return this._oImageControl};l.prototype._setHeaderMode=function(e){this._bHeaderMode=e};l._setVirtualTableSpan=function(e){this._virtualTableSpan=e};l._getVirtualTableSpan=function(){return this._virtualTableSpan};l.prototype._isHeaderMode=function(){return this._bHeaderMode};l.prototype._clampValues=function(e,t,o){var s=e.length-1,i=false,r;while(s>=0){r=e[s];if(r=0){n=e[s];if(n>0){if(n<=t){r++}else{o+=e[s]}i++}s--}o-=(i-r)*t;a=(1-i*t)/o;s=e.length-1;while(s>=0){n=e[s];if(n>0){if(n<=t){e[s]=t}else{e[s]=(n-t)*a+t}}s--}};l.prototype._countGaps=function(e){var t=e.length-1,o=0;while(t>=0){if(e[t]>0){o++}t--}if(o===1){o=0}return o};l.prototype._rescaleByFactor=function(e,t){var o=e.length-1;while(o>=0){e[o]*=t;o--}};l.prototype._colorMap=[l._constants.sectorPositiveColor,l._constants.sectorNegativeColor,l._constants.sectorNeutralColor,l._constants.sectorPlannedColor,l._constants.sectorCriticalColor];l.prototype._calculateSectorRangeDefinitions=function(e,t){var o=[],s=-Math.PI/2,i,r=e.length,n=0;while(n0){i=s+2*Math.PI*e[n];o.push({start:s,end:i,color:this._colorMap[n]});s=i+t}n++}return o};l.prototype._renderDonutPercentages=function(e){var o=this.getState(),s=0,i,r=[0,0,0,0],n,a,c=l._constants.halfGapSize,u=l._constants.ringInnerRadius,p=l._constants.ringThickness,d=l._constants.ringInnerRadius+p,h=l._constants.outerCircleStrokeColor,_=l._constants.outerCircleStrokeWidth,y=l._constants.outerCircleRadius,f=l._constants.positionX,g=l._constants.positionY,m=l._constants.minPercentage;if(o&&Object.prototype.toString.call(o)===\"[object Array]\"&&o.length>0){o.forEach(function(e){switch(e.state){case t.ProcessFlowNodeState.Positive:r[0]=e.value;break;case t.ProcessFlowNodeState.Negative:r[1]=e.value;break;case t.ProcessFlowNodeState.Neutral:r[2]=e.value;break;case t.ProcessFlowNodeState.Planned:r[3]=e.value;break;case t.ProcessFlowNodeState.Critical:r[4]=e.value;break;default:r[3]=e.value}});this._clampValues(r,0,0);this._rescaleToUnit(r);this._rescaleToUnit(r,m);s=this._countGaps(r);n=1-s*c/Math.PI;this._rescaleByFactor(r,n);this._renderCircle(e,h,_,f,g,y);if(s>0){i=this._calculateSectorRangeDefinitions(r,2*c);this._renderDonutSectors(e,i,f,g,u,d)}else{a=this._selectColor(r);this._renderCircle(e,a,p,f,g,u+p/2,true)}}else{this._renderCircle(e,h,_,f,g,y)}};l.prototype._renderCircle=function(e,t,o,s,i,r,n){e.openStart(\"circle\");var a=n?this.getId()+\"-donut-circle-inner\":this.getId()+\"-donut-circle\";e.attr(\"id\",a);if(t!==l._constants.outerCircleStrokeColor){e.class(\"suiteUiCommonsProcessFlowHeaderIconFill\").class(t)}else{e.class(\"suiteUiCommonsProcessFlowHeaderIconFill\")}e.attr(\"stroke-width\",o);e.attr(\"cx\",s);e.attr(\"cy\",i);e.attr(\"r\",r);e.openEnd().close(\"circle\")};l.prototype._renderDonutSectors=function(e,t,o,s,i,r){var n=0,a=t.length,l,c;while(nMath.PI){n=1}d=Math.cos(o);h=Math.cos(s);_=Math.sin(o);y=Math.sin(s);a=(e+i*d).toFixed(3)+\",\"+(t+i*_).toFixed(3);l=(e+r*d).toFixed(3)+\",\"+(t+r*_).toFixed(3);c=(e+r*h).toFixed(3)+\",\"+(t+r*y).toFixed(3);u=(e+i*h).toFixed(3)+\",\"+(t+i*y).toFixed(3);p=\"M\"+a+\"L\"+l+\"A\"+r+\",\"+r+\" 0 \"+n+\" 1 \"+c+\"L\"+u+\"A\"+i+\",\"+i+\" 0 \"+n+\" 0 \"+a+\"z\";return p};l.prototype._destroyImage=function(){if(this._oImageControl){this._oImageControl.destroy()}this._oImageControl=null};l.prototype._clampText=function(){var e=this.$(\"lh-text\").length?this.$(\"lh-text\"):null,t=this.getText(),o=\"\",s=l._constants.ellipsis,i=l._constants.ellipsisLength,r=i+1,n,a=t.length,c,u;if(e){c=parseInt(e.css(\"height\").slice(0,-2),10);if(e[0].scrollHeight>c){u=e.css(\"visibility\");e.css(\"visibility\",\"hidden\");o=t;do{n=r+a>>1;e.textContent=t.slice(0,n-i)+s;if(e.scrollHeight>c){a=n}else{r=n;o=e.textContent}}while(a-r>1);e.css(\"visibility\",u)}if(e.scrollHeight>c){e.textContent=o}}};l._hasNativeLineClamp=function(){return document.documentElement.style.webkitLineClamp!==undefined}();l.prototype._getAriaTextForStatusValue=function(e){switch(e){case t.ProcessFlowNodeState.Positive:return this._oResBundle.getText(\"PF_ARIA_STATUS_POSITIVE\");case t.ProcessFlowNodeState.Negative:return this._oResBundle.getText(\"PF_ARIA_STATUS_NEGATIVE\");case t.ProcessFlowNodeState.Critical:return this._oResBundle.getText(\"PF_ARIA_STATUS_CRITICAL\");case t.ProcessFlowNodeState.Planned:return this._oResBundle.getText(\"PF_ARIA_STATUS_PLANNED\");case t.ProcessFlowNodeState.PlannedNegative:return this._oResBundle.getText(\"PF_ARIA_STATUS_PLNNEGATIVE\");case t.ProcessFlowNodeState.Neutral:default:return this._oResBundle.getText(\"PF_ARIA_STATUS_NEUTRAL\")}};l.prototype._getAriaText=function(){var e=this.getText();var t=this.getState();if(t){var o=[];for(var s in t){o.push(t[s].value)}this._clampValues(o,0,0);this._rescaleToUnit(o);var i=this._oResBundle.getText(\"PF_ARIA_STATUS\");var r=false;for(var n in t){if(t[n].value!==0){var a=this._getAriaTextForStatusValue(t[n].state);var l=\" \"+Math.round(o[n]*100)+\"% \"+a+\",\";i=i.concat(l);r=true}}if(r){if(e==\"\"){e=i.slice(0,-1)}else{e=e+\", \"+i.slice(0,-1)}}}return e};l.prototype._getSymbolAriaText=function(){var e=\"\";switch(this._getSymbolType()){case l.symbolType.startSymbol:e=this._oResBundle.getText(\"PF_ARIA_SYMBOL_LANE_START\");break;case l.symbolType.endSymbol:e=this._oResBundle.getText(\"PF_ARIA_SYMBOL_LANE_END\");break;case l.symbolType.processSymbol:e=this._oResBundle.getText(\"PF_ARIA_SYMBOL_LANE_PROCESS\");break;default:}return e};l.createNewStartSymbol=function(e){var t=new l({laneId:\"processFlowLaneStart\"});t._setSymbolType(l.symbolType.startSymbol,t);t._setHeaderMode(e);return t};l.createNewEndSymbol=function(e){var t=new l({laneId:\"processFlowLaneEnd\"});t._setSymbolType(l.symbolType.endSymbol,t);t._setHeaderMode(e);return t};l.createNewProcessSymbol=function(e){var t=new l({laneId:\"processFlowLaneProcess\",iconSrc:\"sap-icon://process\"});t._setSymbolType(l.symbolType.processSymbol,t);t._setHeaderMode(e);return t};l.enableEllipsisSupportForText=function(e){this._ellipsisDisabled=!e};l.prototype.getPosition=function(){if(this._mergedLanePosition){return this._mergedLanePosition}else{return this.getProperty(\"position\")}};return l});\n/*\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ProcessFlowLaneHeaderRenderer\", [\"sap/base/security/encodeXML\"],function(e){\"use strict\";var t;var o={apiVersion:2};o.render=function(e,o){t=t||sap.ui.require(\"sap/suite/ui/commons/ProcessFlowLaneHeader\");switch(o._getSymbolType()){case t.symbolType.startSymbol:this._writeSymbolNodeType(e,o,\"-start\",[\"suiteUiProcessFlowLaneHeaderStartEndSymbol\",\"suiteUiProcessFlowLaneHeaderStartSymbol\"],[\"suiteUiProcessFlowLaneHeaderStartEndSymbolContainer\",\"suiteUiProcessFlowLaneHeaderNoSelection\"],false,o._isHeaderMode());break;case t.symbolType.endSymbol:this._writeSymbolNodeType(e,o,\"-end\",[\"suiteUiProcessFlowLaneHeaderStartEndSymbol\",\"suiteUiProcessFlowLaneHeaderEndSymbol\"],[\"suiteUiProcessFlowLaneHeaderStartEndSymbolContainer\",\"suiteUiProcessFlowLaneHeaderNoSelection\"],false,o._isHeaderMode());break;case t.symbolType.processSymbol:this._writeSymbolNodeType(e,o,\"-process\",[\"suiteUiProcessFlowLaneHeaderProcessSymbol\"],[\"suiteUiProcessFlowLaneHeaderProcessSymbolContainer\",\"suiteUiProcessFlowLaneHeaderNoSelection\"],true,o._isHeaderMode());break;default:this._writeDefaultNodeType(e,o)}};o._writeSymbolNodeType=function(t,o,a,r,s,i){t.openStart(\"div\",o);s.forEach(function(o){t.class(e(o))});t.attr(\"role\",\"separator\");t.attr(\"aria-label\",o._getSymbolAriaText());t.openEnd();t.openStart(\"div\");t.attr(\"id\",o.getId()+a);r.forEach(function(o){t.class(e(o))});t.openEnd();if(i){var n=o.getIconSrc();if(n){var d=o._getImage(o.getId()+\"-lh-icon\",n);t.renderControl(d)}}t.close(\"div\");t.close(\"div\")};o._writeDefaultNodeType=function(e,t){e.openStart(\"div\",t);e.class(\"suiteUiProcessFlowLaneHeaderContainer\");e.class(\"suiteUiProcessFlowLaneHeaderNoSelection\");e.openEnd();e.openStart(\"div\");e.attr(\"id\",t.getId()+\"-standard\");e.attr(\"role\",\"img\");var o=t._getAriaText();e.attr(\"aria-label\",o);var a=t.getTooltip()?t.getTooltip():o;e.attr(\"title\",a);e.class(\"suiteUiProcessFlowLaneHeaderBodyContainer\");e.openEnd();e.openStart(\"div\");e.attr(\"id\",t.getId()+\"-horizontal-line\");e.class(\"suiteUiProcessFlowLaneHeaderHorizontalLine\");e.openEnd().close(\"div\");e.openStart(\"svg\");e.attr(\"id\",t.getId()+\"-donut-chart\");e.class(\"suiteUiProcessFlowLaneHeaderDonutSvg\");e.openEnd();t._renderDonutPercentages(e);e.close(\"svg\");e.openStart(\"div\");e.attr(\"id\",t.getId()+\"-lh-icon-container\");e.class(\"suiteUiProcessFlowLaneHeaderIconContainer\");e.openEnd();var r=t.getIconSrc();if(r){var s=t._getImage(t.getId()+\"-lh-icon\",r);s.addStyleClass(\"suiteUiProcessFlowLaneHeaderProcessSymbolIcon\");e.renderControl(s)}e.close(\"div\");e.close(\"div\");e.openStart(\"div\");e.attr(\"id\",t.getId()+\"-lh-text-container\");e.class(\"suiteUiProcessFlowLaneHeaderTextContainer\");e.openEnd();e.openStart(\"span\");e.attr(\"id\",t.getId()+\"-lh-text\");e.class(\"suiteUiProcessFlowLaneHeaderText\");e.attr(\"aria-hidden\",true);e.openEnd();e.text(t.getText());e.close(\"span\");e.close(\"div\");e.close(\"div\")};return o},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ProcessFlowNode\", [\"sap/ui/thirdparty/jquery\",\"sap/m/Text\",\"./library\",\"sap/ui/core/Control\",\"sap/ui/core/IconPool\",\"sap/ui/Device\",\"sap/ui/core/Icon\",\"sap/base/Log\",\"./ProcessFlowNodeRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Lib\",\"./AriaProperties\",\"sap/base/i18n/Localization\"],function(jQuery,e,s,o,t,a,r,l,i,d,n,C,c){\"use strict\";var m=o.extend(\"sap.suite.ui.commons.ProcessFlowNode\",{metadata:{library:\"sap.suite.ui.commons\",properties:{title:{type:\"string\",group:\"Misc\",defaultValue:null},isTitleClickable:{type:\"boolean\",group:\"Behavior\",defaultValue:false,deprecated:true},laneId:{type:\"string\",group:\"Misc\",defaultValue:null},nodeId:{type:\"string\",group:\"Misc\",defaultValue:null},state:{type:\"sap.suite.ui.commons.ProcessFlowNodeState\",group:\"Appearance\",defaultValue:\"Neutral\"},type:{type:\"sap.suite.ui.commons.ProcessFlowNodeType\",group:\"Appearance\",defaultValue:\"Single\"},children:{type:\"any[]\",group:\"Misc\",defaultValue:null},titleAbbreviation:{type:\"string\",group:\"Data\",defaultValue:null},stateText:{type:\"string\",group:\"Data\",defaultValue:null},texts:{type:\"string[]\",group:\"Misc\",defaultValue:null},highlighted:{type:\"boolean\",group:\"Appearance\",defaultValue:false},focused:{type:\"boolean\",group:\"Appearance\",defaultValue:false},tag:{type:\"object\",group:\"Misc\",defaultValue:null},selected:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},aggregations:{zoomLevelOneContent:{type:\"sap.ui.core.Control\",multiple:false,group:\"Misc\"},zoomLevelTwoContent:{type:\"sap.ui.core.Control\",multiple:false,group:\"Misc\"},zoomLevelThreeContent:{type:\"sap.ui.core.Control\",multiple:false,group:\"Misc\"},zoomLevelFourContent:{type:\"sap.ui.core.Control\",multiple:false,group:\"Misc\"},ariaProperties:{type:\"sap.suite.ui.commons.AriaProperties\",multiple:false,group:\"Misc\",defaultClass:C}},associations:{parents:{type:\"sap.suite.ui.commons.ProcessFlowNode\",multiple:true,singularName:\"parent\"}},events:{titlePress:{deprecated:true,parameters:{oEvent:{type:\"object\"}}},press:{parameters:{oEvent:{type:\"object\"}}}}}});m.prototype._zoomLevel=s.ProcessFlowZoomLevel.Two;m.prototype._tag=null;m.prototype._displayState=s.ProcessFlowDisplayState.Regular;m.prototype._oResBundle=null;m.prototype._mergedLaneId=null;m.prototype._foldedCorner=false;m.prototype._foldedCornerControl=null;m.prototype._parent=null;m.prototype._headerControl=null;m.prototype._stateTextControl=null;m.prototype._iconControl=null;m.prototype._text1Control=null;m.prototype._text2Control=null;m.prototype._navigationFocus=false;m.prototype._sMouseEvents=\" mousedown mouseup mouseenter mouseleave \";m.prototype._sMouseTouchEvents=a.support.touch?\"saptouchstart saptouchcancel touchstart touchend\":\"\";m.prototype._grabCursorClass=\"sapSuiteUiGrabCursorPF\";m.prototype._grabbingCursorClass=\"sapSuiteUiGrabbingCursorPF\";m.prototype._nodeHoverClass=\"sapSuiteUiCommonsProcessFlowNodeHover\";m.prototype._nodeActiveClass=\"sapSuiteUiCommonsProcessFlowNodeActive\";m.prototype._nodePlannedClass=\"sapSuiteUiCommonsProcessFlowNodeStatePlanned\";m.prototype._nodePlannedClassIdentifier=\".\"+m.prototype._nodePlannedClass;m.prototype._nodeFCHoverClass=\"sapSuiteUiCommonsProcessFlowFoldedCornerNodeHover\";m.prototype._nodeFCActiveClass=\"sapSuiteUiCommonsProcessFlowFoldedCornerNodeActive\";m.prototype._nodeFCIconHoverClass=\"sapSuiteUiCommonsProcessFlowFoldedCornerNodeIconHover\";m.prototype._nodeAggregatedClass=\"sapSuiteUiCommonsProcessFlowNodeAggregated\";m.prototype._nodeAggregatedHoveredClass=\"sapSuiteUiCommonsProcessFlowNodeAggregatedHovered\";m.prototype._nodeAggregatedDimmedClass=\"sapSuiteUiCommonsProcessFlowNodeAggregatedDimmed\";m.prototype._nodeAggregatedFocusedClass=\"sapSuiteUiCommonsProcessFlowNodeAggregatedFocused\";m.prototype._nodeAggregatedPressedClass=\"sapSuiteUiCommonsProcessFlowNodeAggregatedPressed\";m.prototype._nodeAggregatedDimmedPressedClass=\"sapSuiteUiCommonsProcessFlowNodeAggregatedDimmedPressed\";m.prototype._nodeAggregatedDimmedHoveredClass=\"sapSuiteUiCommonsProcessFlowNodeAggregatedDimmedHovered\";m.prototype._nodeAggregatedClassZoomLevel4=\"sapSuiteUiCommonsProcessFlowNodeAggregatedZoomLevel4\";m.prototype._nodeAggregatedHoveredClassZoomLevel4=\"sapSuiteUiCommonsProcessFlowNodeAggregatedHoveredZoomLevel4\";m.prototype._nodeAggregatedPressedClassZoomLevel4=\"sapSuiteUiCommonsProcessFlowNodeAggregatedPressedZoomLevel4\";m.prototype._nodeAggregatedDimmedClassZoomLevel4=\"sapSuiteUiCommonsProcessFlowNodeAggregatedDimmedZoomLevel4\";m.prototype._nodeAggregatedFocusedClassZoomLevel4=\"sapSuiteUiCommonsProcessFlowNodeAggregatedFocusedZoomLevel4\";m.prototype._nodeAggregatedDimmedPressedClassZoomLevel4=\"sapSuiteUiCommonsProcessFlowNodeAggregatedDimmedPressedZoomLevel4\";m.prototype._nodeAggregatedDimmedHoveredClassZoomLevel4=\"sapSuiteUiCommonsProcessFlowNodeAggregatedDimmedHoveredZoomLevel4\";m.prototype.init=function(){t.addIcon(\"context-menu\",\"businessSuite\",\"PFBusinessSuiteInAppSymbols\",\"e02b\",true);if(!this._oResBundle){this._oResBundle=n.getResourceBundleFor(\"sap.suite.ui.commons\")}};m.prototype.exit=function(){if(this._foldedCornerControl){this._foldedCornerControl.destroy();this._foldedCornerControl=null}if(this._headerControl){this._headerControl.destroy();this._headerControl=null}if(this._stateTextControl){this._stateTextControl.destroy();this._stateTextControl=null}if(this._iconControl){this._iconControl.destroy();this._iconControl=null}if(this._text1Control){this._text1Control.destroy();this._text1Control=null}if(this._text2Control){this._text2Control.destroy();this._text2Control=null}this.$().off(this._sMouseEvents,this._handleEvents);if(a.support.touch){this.$().off(this._sMouseTouchEvents,this._handleEvents)}};m.prototype.onBeforeRendering=function(){this.$().off(this._sMouseEvents,this._handleEvents);if(a.support.touch){this.$().off(this._sMouseTouchEvents,this._handleEvents)}};m.prototype.onAfterRendering=function(){this._sMouseEvents=this._sMouseEvents.concat(\" \",this._sMouseTouchEvents);this.$().on(this._sMouseEvents,this._handleEvents.bind(this))};m.prototype._handleClick=function(e){if(this._parent&&this._parent._bHighlightedMode&&this._getDisplayState()===s.ProcessFlowDisplayState.Dimmed||this._getDisplayState()===s.ProcessFlowDisplayState.DimmedFocused){l.info(\"Event ignored, node in dimmed state.\")}else if(this._parent){this.getParent()._changeNavigationFocus(this.getParent()._getLastNavigationFocusElement(),this);this._parent.fireNodePress(this)}if(e&&!e.isPropagationStopped()){e.stopPropagation()}if(e&&!e.isImmediatePropagationStopped()){e.stopImmediatePropagation()}};m.prototype.onclick=function(e){if(e&&!e.isDefaultPrevented()){e.preventDefault()}this._handleClick(e)};m.prototype._handleEvents=function(e){var o=this.$().find(\"*\");var t=this.$().attr(\"id\");var r=this._getFoldedCorner();var l=this.getParent();var i=o.not(\".sapUiIconTitle\");if(e&&!e.isDefaultPrevented()){e.preventDefault()}if(this._parent&&this._parent._bHighlightedMode&&this._getDimmed()){return}if(this.getType()===s.ProcessFlowNodeType.Aggregated){this._adjustClassesForAggregation(e)}var d=sap.ui.require(\"sap/suite/ui/commons/ProcessFlow\");if(!d){return}function n(e){return e.replace(/([:.\\[\\],=@])/g,\"\\\\$1\")}switch(e.type){case d._mouseEvents.mouseDown:case\"keydown\":this.$().removeClass(this._nodeHoverClass).addClass(this._nodeActiveClass);o.removeClass(this._nodeHoverClass);i.addClass(this._nodeActiveClass);if(r){jQuery(document.getElementById(t)).removeClass(this._nodeFCHoverClass+\" \"+this._nodeActiveClass).addClass(this._nodeFCActiveClass);jQuery(\"div[id^=\"+n(t)+\"][id$=-corner-container]\").removeClass(this._nodeFCIconHoverClass+\" \"+this._nodeActiveClass).addClass(this._nodeFCActiveClass);jQuery(\"span[id^=\"+n(t)+\"][id$=-corner-icon]\").removeClass(this._nodeFCIconHoverClass+\" \"+this._nodeActiveClass).addClass(this._nodeFCActiveClass)}break;case d._mouseEvents.mouseUp:if(l.$().hasClass(this._grabbingCursorClass)){l.$().removeClass(this._grabbingCursorClass)}this.$().removeClass(this._nodeActiveClass).addClass(this._nodeHoverClass);o.removeClass(this._nodeActiveClass).addClass(this._nodeHoverClass);if(r){jQuery(document.getElementById(t)).removeClass(this._nodeHoverClass+\" \"+this._nodeFCActiveClass).addClass(this._nodeFCHoverClass);jQuery(\"div[id^=\"+n(t)+\"][id$=-corner-container]\").removeClass(this._nodeHoverClass+\" \"+this._nodeFCActiveClass).addClass(this._nodeFCIconHoverClass);jQuery(\"span[id^=\"+n(t)+\"][id$=-corner-icon]\").removeClass(this._nodeHoverClass+\" \"+this._nodeFCActiveClass).addClass(this._nodeFCIconHoverClass)}break;case d._mouseEvents.mouseEnter:if(!l.$().hasClass(this._grabbingCursorClass)){this.$().addClass(this._nodeHoverClass);i.addClass(this._nodeHoverClass);this.$().find(this._nodePlannedClassIdentifier).find(\"*\").addClass(this._nodePlannedClass);if(r){jQuery(document.getElementById(t)).removeClass(this._nodeHoverClass).addClass(this._nodeFCHoverClass);jQuery(\"div[id^=\"+n(t)+\"][id$=-corner-container]\").removeClass(this._nodeHoverClass).addClass(this._nodeFCIconHoverClass);jQuery(\"span[id^=\"+n(t)+\"][id$=-corner-icon]\").removeClass(this._nodeHoverClass).addClass(this._nodeFCIconHoverClass)}}break;case d._mouseEvents.mouseLeave:case\"keyup\":this.$().removeClass(this._nodeActiveClass+\" \"+this._nodeHoverClass);o.removeClass(this._nodeActiveClass+\" \"+this._nodeHoverClass);if(r){jQuery(document.getElementById(t)).removeClass(this._nodeFCActiveClass+\" \"+this._nodeFCHoverClass);jQuery(\"div[id^=\"+n(t)+\"][id$=-corner-container]\").removeClass(this._nodeFCActiveClass+\" \"+this._nodeFCIconHoverClass);jQuery(\"span[id^=\"+n(t)+\"][id$=-corner-icon]\").removeClass(this._nodeFCActiveClass+\" \"+this._nodeFCIconHoverClass)}if(!l.$().hasClass(this._grabbingCursorClass)){l.$().addClass(this._grabCursorClass)}break;case d._mouseEvents.touchStart:if(a.support.touch){this.$().addClass(this._nodeActiveClass);i.addClass(this._nodeActiveClass);if(r){jQuery(document.getElementById(t)).removeClass(this._nodeActiveClass).addClass(this._nodeFCActiveClass);jQuery(\"div[id^=\"+n(t)+\"][id$=-corner-container]\").removeClass(this._nodeActiveClass).addClass(this._nodeFCActiveClass);jQuery(\"span[id^=\"+n(t)+\"][id$=-corner-icon]\").removeClass(this._nodeActiveClass).addClass(this._nodeFCActiveClass)}}break;case d._mouseEvents.sapTouchStart:this.$().removeClass(this._nodeHoverClass).addClass(this._nodeActiveClass);o.removeClass(this._nodeHoverClass);i.addClass(this._nodeActiveClass);if(r){jQuery(document.getElementById(t)).removeClass(this._nodeFCHoverClass+\" \"+this._nodeActiveClass).addClass(this._nodeFCActiveClass);jQuery(\"div[id^=\"+n(t)+\"][id$=-corner-container]\").removeClass(this._nodeFCIconHoverClass+\" \"+this._nodeActiveClass).addClass(this._nodeFCActiveClass);jQuery(\"span[id^=\"+n(t)+\"][id$=-corner-icon]\").removeClass(this._nodeFCIconHoverClass+\" \"+this._nodeActiveClass).addClass(this._nodeFCActiveClass)}break;case d._mouseEvents.touchEnd:if(a.support.touch){this.$().removeClass(this._nodeActiveClass+\" \"+this._nodeHoverClass);o.removeClass(this._nodeActiveClass+\" \"+this._nodeHoverClass);if(r){jQuery(document.getElementById(t)).removeClass(this._nodeFCActiveClass+\" \"+this._nodeFCHoverClass);jQuery(\"div[id^=\"+n(t)+\"][id$=-corner-container]\").removeClass(this._nodeFCActiveClass+\" \"+this._nodeFCIconHoverClass);jQuery(\"span[id^=\"+n(t)+\"][id$=-corner-icon]\").removeClass(this._nodeFCActiveClass+\" \"+this._nodeFCIconHoverClass)}}this._handleClick(e);break;case d._mouseEvents.sapTouchCancel:this.$().removeClass(this._nodeActiveClass).addClass(this._nodeHoverClass);o.removeClass(this._nodeActiveClass).addClass(this._nodeHoverClass);if(r){jQuery(document.getElementById(t)).removeClass(this._nodeFCActiveClass+\" \"+this._nodeHoverClass).addClass(this._nodeFCHoverClass);jQuery(\"div[id^=\"+n(t)+\"][id$=-corner-container]\").removeClass(this._nodeFCActiveClass+\" \"+this._nodeHoverClass).addClass(this._nodeFCIconHoverClass);jQuery(\"span[id^=\"+n(t)+\"][id$=-corner-icon]\").removeClass(this._nodeFCActiveClass+\" \"+this._nodeHoverClass).addClass(this._nodeFCIconHoverClass)}break;default:break}};m.prototype._setMergedLaneId=function(e){this._mergedLaneId=e};m.prototype._setParentFlow=function(e){this._parent=e};m.prototype._getFoldedCornerControl=function(){if(this._foldedCornerControl){this._foldedCornerControl.destroy()}this._foldedCornerControl=new r({id:this.getId()+\"-corner-icon\",src:t.getIconURI(\"context-menu\",\"businessSuite\"),visible:true});if(this._parent&&!this._parent._bHighlightedMode||!this._getDimmed()){this._foldedCornerControl.addStyleClass(\"sapUiIconPointer\")}switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:this._foldedCornerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode1ZoomLevel1\");break;case s.ProcessFlowZoomLevel.Two:this._foldedCornerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode1ZoomLevel2\");break;case s.ProcessFlowZoomLevel.Three:this._foldedCornerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode1ZoomLevel3\");break;case s.ProcessFlowZoomLevel.Four:this._foldedCornerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode1ZoomLevel4\");break;default:break}this._foldedCornerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode1\");return this._foldedCornerControl};m.prototype._getHeaderControl=function(){if(this._headerControl){this._headerControl.destroy()}var o=0;var t=\"\";var a=true;var r=this.getTitle();switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:o=3;break;case s.ProcessFlowZoomLevel.Two:o=3;break;case s.ProcessFlowZoomLevel.Three:o=2;r=this.getTitleAbbreviation();break;case s.ProcessFlowZoomLevel.Four:r=\"\";o=0;t=\"0px\";a=false;break;default:break}this._headerControl=new e({id:this.getId()+\"-nodeid-anchor-title\",text:r,visible:a,wrapping:true,wrappingType:sap.m.WrappingType.Hyphenated,width:t,maxLines:o});switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:this._headerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TitleZoomLevel1\");break;case s.ProcessFlowZoomLevel.Two:this._headerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TitleZoomLevel2\");break;case s.ProcessFlowZoomLevel.Three:this._headerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TitleZoomLevel3\");break;case s.ProcessFlowZoomLevel.Four:this._headerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TitleZoomLevel4\");break;default:break}this._headerControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3Title\");return this._headerControl};m.prototype._getIconControl=function(){if(this._iconControl){this._iconControl.destroy()}var e=null;var o=true;switch(this.getState()){case s.ProcessFlowNodeState.Positive:e=\"sap-icon://message-success\";break;case s.ProcessFlowNodeState.Negative:case s.ProcessFlowNodeState.PlannedNegative:e=\"sap-icon://message-error\";break;case s.ProcessFlowNodeState.Planned:e=null;break;case s.ProcessFlowNodeState.Neutral:e=\"sap-icon://process\";break;case s.ProcessFlowNodeState.Critical:e=\"sap-icon://message-warning\";break;default:break}this._iconControl=new r({id:this.getId()+\"-icon\",src:e,visible:o});if(this._parent&&!this._parent._bHighlightedMode||!this._getDimmed()){this._iconControl.addStyleClass(\"sapUiIconPointer\")}var t=c.getRTL();if(t){this._iconControl.addStyleClass(\"sapUiIconSuppressMirrorInRTL\")}switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:case s.ProcessFlowZoomLevel.Two:var a=\"sapSuiteUiCommonsProcessFlowNode3StateIconLeft\";if(t){a=\"sapSuiteUiCommonsProcessFlowNode3StateIconRight\"}this._iconControl.addStyleClass(a);break;case s.ProcessFlowZoomLevel.Three:case s.ProcessFlowZoomLevel.Four:this._iconControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateIconCenter\");break;default:break}switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:this._iconControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateIconZoomLevel1\");break;case s.ProcessFlowZoomLevel.Two:this._iconControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateIconZoomLevel2\");break;case s.ProcessFlowZoomLevel.Three:this._iconControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateIconZoomLevel3\");break;case s.ProcessFlowZoomLevel.Four:this._iconControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateIconZoomLevel4\");break;default:break}this._iconControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateIcon\");return this._iconControl};m.prototype._getStateTextControl=function(){if(this._stateTextControl){this._stateTextControl.destroy()}var o=2;var t=\"\";var a=true;var r=this.getState();var l=r===s.ProcessFlowNodeState.Planned?\"\":this.getStateText();if(r===s.ProcessFlowNodeState.PlannedNegative&&l.length===0){l=\"Planned Negative\"}switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:case s.ProcessFlowZoomLevel.Two:case s.ProcessFlowZoomLevel.Three:o=2;break;case s.ProcessFlowZoomLevel.Four:l=\"\";o=0;t=\"0px\";a=false;break;default:break}this._stateTextControl=new e({id:this.getId()+\"-stateText\",text:l,visible:a,wrapping:true,wrappingType:sap.m.WrappingType.Hyphenated,width:t,maxLines:o});switch(r){case s.ProcessFlowNodeState.Positive:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StatePositive\");break;case s.ProcessFlowNodeState.Negative:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNodeStateNegative\");break;case s.ProcessFlowNodeState.Planned:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StatePlanned\");break;case s.ProcessFlowNodeState.Neutral:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateNeutral\");break;case s.ProcessFlowNodeState.PlannedNegative:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StatePlanned\");break;case s.ProcessFlowNodeState.Critical:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateCritical\");break;default:break}switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateTextZoomLevel1\");break;case s.ProcessFlowZoomLevel.Two:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateTextZoomLevel2\");break;case s.ProcessFlowZoomLevel.Three:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateTextZoomLevel3\");break;case s.ProcessFlowZoomLevel.Four:this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateTextZoomLevel4\");break;default:break}this._stateTextControl.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3StateText\");return this._stateTextControl};m.prototype._getZoomLevel=function(){return this._zoomLevel};m.prototype._setZoomLevel=function(e){this._zoomLevel=e};m.prototype._setNavigationFocus=function(e){this._navigationFocus=e};m.prototype._getNavigationFocus=function(){return this._navigationFocus};m.prototype._setFoldedCorner=function(e){this._foldedCorner=e};m.prototype._getFoldedCorner=function(){return this._foldedCorner};m.prototype._setTag=function(e){this._tag=e};m.prototype._getTag=function(){return this._tag};m.prototype._setDimmedState=function(){var e=this.getFocused();var o=this.getHighlighted();var t=this.getSelected();if(o||t){throw new Error(\"Cannot set highlighed or selected node to dimmed state\"+this.getNodeId())}this._displayState=s.ProcessFlowDisplayState.Dimmed;if(e){this._displayState=s.ProcessFlowDisplayState.DimmedFocused}};m.prototype._setRegularState=function(){this._displayState=s.ProcessFlowDisplayState.Regular};m.prototype._getLane=function(){var e=this.getParent();var s=null;if(e){s=e._getLane(this.getLaneId())}return s};m.prototype._getDimmed=function(){return this._displayState===s.ProcessFlowDisplayState.Dimmed||this._displayState===s.ProcessFlowDisplayState.DimmedFocused};m.prototype._getAriaText=function(){var e=this.getParents().length;var o=this._getCurrentZoomLevelContent();var t=0;if(this._hasChildren()){t=this.getChildren().length}var a=\"\";var r=this._getLane();if(r){a=r.getText();if(!a){a=this._oResBundle.getText(\"PF_VALUE_UNDEFINED\")}}var l=\"\";var i=this.getTexts();if(i){for(var d in i){if(i[d]){var n=i[d].concat(\", \");l=l.concat(n)}}l=l.slice(0,-1)}var C=this.getTitle();if(!C&&!o){C=this._oResBundle.getText(\"PF_VALUE_UNDEFINED\")}var c=this.getState();if(!c){c=this._oResBundle.getText(\"PF_VALUE_UNDEFINED\")}var m=this.getStateText();if(this.getState()===s.ProcessFlowNodeState.Planned){m=\"\"}var p=\"\";if(this.getType()===s.ProcessFlowNodeType.Aggregated){p=this._oResBundle.getText(\"PF_ARIA_TYPE\")}return this._oResBundle.getText(\"PF_ARIA_NODE\",[C,c,m,a,l,e,t,p])};m.prototype._getDisplayState=function(){var e=this.getFocused();var o=this.getHighlighted();var t=this.getSelected();if(this._displayState===s.ProcessFlowDisplayState.Dimmed||this._displayState===s.ProcessFlowDisplayState.DimmedFocused){return this._displayState}if(t){if(o){if(e){this._displayState=s.ProcessFlowDisplayState.SelectedHighlightedFocused}else{this._displayState=s.ProcessFlowDisplayState.SelectedHighlighted}}else if(e){this._displayState=s.ProcessFlowDisplayState.SelectedFocused}else{this._displayState=s.ProcessFlowDisplayState.Selected}}else if(e&&o){this._displayState=s.ProcessFlowDisplayState.HighlightedFocused}else if(e){this._displayState=s.ProcessFlowDisplayState.RegularFocused}else if(o){this._displayState=s.ProcessFlowDisplayState.Highlighted}else if(this._displayState===s.ProcessFlowDisplayState.HighlightedFocused||this._displayState===s.ProcessFlowDisplayState.RegularFocused||this._displayState===s.ProcessFlowDisplayState.Highlighted||this._displayState===s.ProcessFlowDisplayState.Selected){this._setRegularState()}return this._displayState};m.prototype._createTextControlInternal=function(o,t,a){if(a){a.destroy()}var r=2;var l=\"\";var i=true;var d=t;switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:case s.ProcessFlowZoomLevel.Two:r=2;break;case s.ProcessFlowZoomLevel.Three:r=0;l=\"0px\";i=false;break;case s.ProcessFlowZoomLevel.Four:d=\"\";r=0;l=\"0px\";i=false;break;default:break}if(this.getState){a=new e({id:this.getId()+o,text:d,visible:i,wrapping:true,wrappingType:sap.m.WrappingType.Hyphenated,width:l,maxLines:r})}return a};m.prototype._createText1Control=function(){var e=this.getTexts();if(e&&e.length>0){e=e[0]}this._text1Control=this._createTextControlInternal(\"-text1-control\",e,this._text1Control);switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:this._text1Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextWithGapZoomLevel1\");this._text1Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel1\");break;case s.ProcessFlowZoomLevel.Two:this._text1Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextWithGapZoomLevel2\");this._text1Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel2\");break;case s.ProcessFlowZoomLevel.Three:this._text1Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel3\");break;case s.ProcessFlowZoomLevel.Four:this._text1Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel4\");break;default:break}this._text1Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3Text\");return this._text1Control};m.prototype._createText2Control=function(){var e=this.getTexts();if(e&&e.length>1){e=e[1]}else{e=\"\"}this._text2Control=this._createTextControlInternal(\"-text2-control\",e,this._text2Control);switch(this._getZoomLevel()){case s.ProcessFlowZoomLevel.One:this._text2Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel1\");break;case s.ProcessFlowZoomLevel.Two:this._text2Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel2\");break;case s.ProcessFlowZoomLevel.Three:this._text2Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel3\");break;case s.ProcessFlowZoomLevel.Four:this._text2Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel4\");break;default:break}this._text2Control.addStyleClass(\"sapSuiteUiCommonsProcessFlowNode3Text\");return this._text2Control};m.prototype._adjustClassesForAggregation=function(e){var o=[s.ProcessFlowDisplayState.RegularFocused,s.ProcessFlowDisplayState.HighlightedFocused,s.ProcessFlowDisplayState.DimmedFocused];var t=[s.ProcessFlowDisplayState.DimmedFocused,s.ProcessFlowDisplayState.Dimmed];var a=sap.ui.require(\"sap/suite/ui/commons/ProcessFlow\");if(!a){return}switch(e.type){case a._mouseEvents.mouseDown:case a._mouseEvents.touchStart:case a._mouseEvents.sapTouchStart:r(this);break;case a._mouseEvents.mouseUp:l(this);break;case a._mouseEvents.sapTouchCancel:case a._mouseEvents.touchEnd:l(this);d(this);break;case a._mouseEvents.mouseEnter:i(this);break;case a._mouseEvents.mouseLeave:l(this);d(this);break;default:break}function r(e){if(e._getZoomLevel()===s.ProcessFlowZoomLevel.Four){if(t&&Array.prototype.indexOf.call(t,e._getDisplayState())>=0){e.$().removeClass(e._nodeAggregatedDimmedHoveredClassZoomLevel4).addClass(e._nodeAggregatedDimmedPressedClassZoomLevel4)}else{e.$().removeClass(e._nodeAggregatedClassZoomLevel4).removeClass(e._nodeAggregatedHoveredClassZoomLevel4).addClass(e._nodeAggregatedPressedClassZoomLevel4)}}else if(t&&Array.prototype.indexOf.call(t,e._getDisplayState())>=0){e.$().removeClass(e._nodeAggregatedDimmedHoveredClass).addClass(e._nodeAggregatedDimmedPressedClass)}else{e.$().removeClass(e._nodeAggregatedClass).removeClass(e._nodeAggregatedHoveredClass).addClass(e._nodeAggregatedPressedClass)}}function l(e){if(o&&Array.prototype.indexOf.call(o,e._getDisplayState())>=0&&(e.$().hasClass(e._nodeAggregatedPressedClass)||e.$().hasClass(e._nodeAggregatedPressedClassZoomLevel4))){if(e._getZoomLevel()===s.ProcessFlowZoomLevel.Four){e.$().removeClass(e._nodeAggregatedPressedClassZoomLevel4).addClass(e._nodeAggregatedFocusedClassZoomLevel4)}else{e.$().removeClass(e._nodeAggregatedPressedClass).addClass(e._nodeAggregatedFocusedClass)}}else if(e.$().hasClass(e._nodeAggregatedDimmedPressedClass)||e.$().hasClass(e._nodeAggregatedDimmedPressedClassZoomLevel4)){if(e._getZoomLevel()===s.ProcessFlowZoomLevel.Four){e.$().removeClass(e._nodeAggregatedDimmedPressedClassZoomLevel4).addClass(e._nodeAggregatedDimmedHoveredClassZoomLevel4)}else{e.$().removeClass(e._nodeAggregatedDimmedPressedClass).addClass(e._nodeAggregatedDimmedHoveredClass)}}else if(e.$().hasClass(e._nodeAggregatedPressedClass)||e.$().hasClass(e._nodeAggregatedPressedClassZoomLevel4)){if(e._getZoomLevel()===s.ProcessFlowZoomLevel.Four){e.$().removeClass(e._nodeAggregatedPressedClassZoomLevel4).addClass(e._nodeAggregatedClassZoomLevel4)}else{e.$().removeClass(e._nodeAggregatedPressedClass).addClass(e._nodeAggregatedClass)}}}function i(e){if(t&&Array.prototype.indexOf.call(t,e._getDisplayState())>=0){if(e._getZoomLevel()===s.ProcessFlowZoomLevel.Four){e.$().removeClass(e._nodeAggregatedDimmedClassZoomLevel4).addClass(e._nodeAggregatedDimmedHoveredClassZoomLevel4)}else{e.$().removeClass(e._nodeAggregatedDimmedClass).addClass(e._nodeAggregatedDimmedHoveredClass)}}else if(e._getZoomLevel()===s.ProcessFlowZoomLevel.Four){e.$().addClass(e._nodeAggregatedHoveredClassZoomLevel4)}else{e.$().addClass(e._nodeAggregatedHoveredClass)}}function d(e){if(t&&Array.prototype.indexOf.call(t,e._getDisplayState())>=0){if(e._getZoomLevel()===s.ProcessFlowZoomLevel.Four){e.$().removeClass(e._nodeAggregatedDimmedHoveredClassZoomLevel4).addClass(e._nodeAggregatedDimmedClassZoomLevel4)}else{e.$().removeClass(e._nodeAggregatedDimmedHoveredClass).addClass(e._nodeAggregatedDimmedClass)}}else if(e._getZoomLevel()===s.ProcessFlowZoomLevel.Four){e.$().removeClass(e._nodeAggregatedHoveredClassZoomLevel4)}else{e.$().removeClass(e._nodeAggregatedHoveredClass)}}};m.prototype._hasChildren=function(){var e=this.getChildren();return e&&e.length>0};m.prototype._hasChildrenWithNodeId=function(e){var s=this.getChildren();if(s&&s.length>0){for(var o=0;oa._nodeLevels.iLevel0){switch(t.getState()){case e.ProcessFlowNodeState.Planned:if(l===a._nodeLevels.iLevel1&&t._getFoldedCorner()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerPlanned\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNodeStatePlanned\");o.class(\"sapSuiteUiCommonsProcessFlowNodeStatePlannedDashedBorder\")}break;case e.ProcessFlowNodeState.PlannedNegative:if(l===a._nodeLevels.iLevel1&&t._getFoldedCorner()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerPlanned\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNodeStatePlanned\");o.class(\"sapSuiteUiCommonsProcessFlowNodeStatePlannedDashedBorder\")}break;default:}if(t._getNavigationFocus()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerDisplayStateNavigation\")}switch(t._getDisplayState()){case e.ProcessFlowDisplayState.RegularFocused:case e.ProcessFlowDisplayState.HighlightedFocused:case e.ProcessFlowDisplayState.DimmedFocused:case e.ProcessFlowDisplayState.SelectedHighlightedFocused:case e.ProcessFlowDisplayState.SelectedFocused:if(l===a._nodeLevels.iLevel1&&t._getFoldedCorner()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerDisplayStateFocused\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNodeDisplayStateFocused\")}break;default:}switch(t._getDisplayState()){case e.ProcessFlowDisplayState.Regular:case e.ProcessFlowDisplayState.RegularFocused:case e.ProcessFlowDisplayState.Selected:if(l===a._nodeLevels.iLevel1&&t._getFoldedCorner()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerDisplayStateRegular\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNodeDisplayStateRegular\")}break;case e.ProcessFlowDisplayState.Highlighted:case e.ProcessFlowDisplayState.HighlightedFocused:case e.ProcessFlowDisplayState.SelectedHighlighted:case e.ProcessFlowDisplayState.SelectedHighlightedFocused:if(l===a._nodeLevels.iLevel1&&t._getFoldedCorner()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerDisplayStateHighlighted\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNodeDisplayStateHighlighted\")}break;case e.ProcessFlowDisplayState.Dimmed:case e.ProcessFlowDisplayState.DimmedFocused:if(l===a._nodeLevels.iLevel1&&t._getFoldedCorner()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerDisplayStateDimmed\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNodeDisplayStateDimmed\")}break;default:}}if(l===a._nodeLevels.iLevel0){if(t._getNavigationFocus()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerDisplayStateNavigation\")}if(t._getDisplayState()===e.ProcessFlowDisplayState.Highlighted){o.class(\"sapSuiteUiCommonsProcessFlowNodeDisplayStateHighlighted\")}if(t.getType()===e.ProcessFlowNodeType.Aggregated){a._assignAggregatedNodeClasses(o,t)}}switch(t._getZoomLevel()){case e.ProcessFlowZoomLevel.One:o.class(s(\"sapSuiteUiCommonsProcessFlowNode\"+l+\"ZoomLevel1\"));break;case e.ProcessFlowZoomLevel.Two:o.class(s(\"sapSuiteUiCommonsProcessFlowNode\"+l+\"ZoomLevel2\"));break;case e.ProcessFlowZoomLevel.Three:o.class(s(\"sapSuiteUiCommonsProcessFlowNode\"+l+\"ZoomLevel3\"));break;case e.ProcessFlowZoomLevel.Four:o.class(s(\"sapSuiteUiCommonsProcessFlowNode\"+l+\"ZoomLevel4\"));break;default:}if(l===a._nodeLevels.iLevel1){if(t._getFoldedCorner()){o.class(\"sapSuiteUiCommonsProcessFlowNode1FoldedBorderStyle\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNode1BorderStyle\");o.class(\"sapSuiteUiCommonsProcessFlowNodeBorderStandard\")}}else if(l>a._nodeLevels.iLevel1){o.class(s(\"sapSuiteUiCommonsProcessFlowNode\"+l+\"BorderStyle\"));o.class(\"sapSuiteUiCommonsProcessFlowNodeBorderStandard\")}if(l===a._nodeLevels.iLevel1&&t._getFoldedCorner()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerNode1\")}else{o.class(s(\"sapSuiteUiCommonsProcessFlowNode\"+l))}if(l===a._nodeLevels.iLevel0&&t._getFoldedCorner()){o.class(\"sapSuiteUiCommonsProcessFlowFoldedCornerIndication\")}};a._assignAggregatedNodeClasses=function(o,s){switch(s._getDisplayState()){case e.ProcessFlowDisplayState.Highlighted:case e.ProcessFlowDisplayState.Regular:case e.ProcessFlowDisplayState.Selected:if(s._getZoomLevel()===e.ProcessFlowZoomLevel.Four){o.class(\"sapSuiteUiCommonsProcessFlowNodeAggregatedZoomLevel4\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNodeAggregated\")}break;case e.ProcessFlowDisplayState.Dimmed:if(s._getZoomLevel()===e.ProcessFlowZoomLevel.Four){o.class(\"sapSuiteUiCommonsProcessFlowNodeAggregatedDimmedZoomLevel4\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNodeAggregatedDimmed\")}break;default:if(s._getZoomLevel()===e.ProcessFlowZoomLevel.Four){o.class(\"sapSuiteUiCommonsProcessFlowNodeAggregatedFocusedZoomLevel4\")}else{o.class(\"sapSuiteUiCommonsProcessFlowNodeAggregatedFocused\")}break}};a._assignShadowClasses=function(e,s,t){e.class(\"sapSuiteUiCommonsShadowedDivCommon\");switch(t){case a._constants.top:if(s._getFoldedCorner()){e.class(\"sapSuiteUiCommonsShadowedDivFoldedCornerBorderTop\")}else{e.class(\"sapSuiteUiCommonsShadowedDivBorderTop\")}break;case a._constants.right:e.class(\"sapSuiteUiCommonsShadowedDivBorderRight\");break;case a._constants.bottom:e.class(\"sapSuiteUiCommonsShadowedDivBorderBottom\");break;case a._constants.left:if(s._getFoldedCorner()){e.class(\"sapSuiteUiCommonsShadowedDivFoldedCornerBorderLeft\")}else{e.class(\"sapSuiteUiCommonsShadowedDivBorderLeft\")}break;case a._constants.corner:if(o.browser.safari){e.class(\"sapSuiteUiCommonsShadowedDivFoldedCornerSafari\")}else{e.class(\"sapSuiteUiCommonsShadowedDivFoldedCorner\")}break;default:}};a._assignNodeTitleClasses=function(o,s){o.attr(\"id\",s.getId()+\"-title\");switch(s._getZoomLevel()){case e.ProcessFlowZoomLevel.One:o.class(\"sapSuiteUiCommonsProcessFlowNode3TitleZoomLevel1\");break;case e.ProcessFlowZoomLevel.Two:o.class(\"sapSuiteUiCommonsProcessFlowNode3TitleZoomLevel2\");break;case e.ProcessFlowZoomLevel.Three:o.class(\"sapSuiteUiCommonsProcessFlowNode3TitleZoomLevel3\");break;case e.ProcessFlowZoomLevel.Four:o.class(\"sapSuiteUiCommonsProcessFlowNode3TitleZoomLevel4\");break;default:}o.class(\"sapSuiteUiCommonsProcessFlowNode3Title\")};a._assignNodeStateClasses=function(o,s){o.attr(\"id\",s.getId()+\"-state\");switch(s._getZoomLevel()){case e.ProcessFlowZoomLevel.One:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateZoomLevel1\");break;case e.ProcessFlowZoomLevel.Two:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateZoomLevel2\");break;case e.ProcessFlowZoomLevel.Three:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateZoomLevel3\");break;case e.ProcessFlowZoomLevel.Four:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateZoomLevel4\");break;default:}o.class(\"sapSuiteUiCommonsProcessFlowNode3State\")};a._assignNodeIconClasses=function(o,s){o.attr(\"id\",s.getId()+\"-icon-container\");switch(s.getState()){case e.ProcessFlowNodeState.Positive:o.class(\"sapSuiteUiCommonsProcessFlowNodeStatePositive\");break;case e.ProcessFlowNodeState.Negative:o.class(\"sapSuiteUiCommonsProcessFlowNodeStateNegative\");break;case e.ProcessFlowNodeState.Planned:o.class(\"sapSuiteUiCommonsProcessFlowNodeStatePlanned\");break;case e.ProcessFlowNodeState.Neutral:o.class(\"sapSuiteUiCommonsProcessFlowNodeStateNeutral\");break;case e.ProcessFlowNodeState.PlannedNegative:o.class(\"sapSuiteUiCommonsProcessFlowNodeStateNegative\");break;case e.ProcessFlowNodeState.Critical:o.class(\"sapSuiteUiCommonsProcessFlowNodeStateCritical\");break;default:}switch(s._getZoomLevel()){case e.ProcessFlowZoomLevel.One:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateIconZoomLevel1\");break;case e.ProcessFlowZoomLevel.Two:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateIconZoomLevel2\");break;case e.ProcessFlowZoomLevel.Three:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateIconZoomLevel3\");break;case e.ProcessFlowZoomLevel.Four:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateIconZoomLevel4\");break;default:}o.class(\"sapSuiteUiCommonsProcessFlowNode3StateIcon\")};a._assignNodeStateTextClasses=function(o,s){o.attr(\"id\",s.getId()+\"-state-text\");switch(s.getState()){case e.ProcessFlowNodeState.Positive:o.class(\"sapSuiteUiCommonsProcessFlowNodeStatePositive\");break;case e.ProcessFlowNodeState.Negative:o.class(\"sapSuiteUiCommonsProcessFlowNodeStateNegative\");break;case e.ProcessFlowNodeState.Planned:o.class(\"sapSuiteUiCommonsProcessFlowNodeStatePlanned\");break;case e.ProcessFlowNodeState.Neutral:o.class(\"sapSuiteUiCommonsProcessFlowNodeStateNeutral\");break;case e.ProcessFlowNodeState.PlannedNegative:o.class(\"sapSuiteUiCommonsProcessFlowNodeStateNegative\");break;case e.ProcessFlowNodeState.Critical:o.class(\"sapSuiteUiCommonsProcessFlowNodeStateCritical\");break;default:}switch(s._getZoomLevel()){case e.ProcessFlowZoomLevel.One:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateTextZoomLevel1\");break;case e.ProcessFlowZoomLevel.Two:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateTextZoomLevel2\");break;case e.ProcessFlowZoomLevel.Three:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateTextZoomLevel3\");break;case e.ProcessFlowZoomLevel.Four:o.class(\"sapSuiteUiCommonsProcessFlowNode3StateTextZoomLevel4\");break;default:}o.class(\"sapSuiteUiCommonsProcessFlowNode3StateText\")};a._assignNodeText1Classes=function(o,s){o.attr(\"id\",s.getId()+\"-text1\");switch(s._getZoomLevel()){case e.ProcessFlowZoomLevel.One:o.class(\"sapSuiteUiCommonsProcessFlowNode3TextWithGapZoomLevel1\");o.class(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel1\");break;case e.ProcessFlowZoomLevel.Two:o.class(\"sapSuiteUiCommonsProcessFlowNode3TextWithGapZoomLevel2\");o.class(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel2\");break;case e.ProcessFlowZoomLevel.Three:o.class(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel3\");break;case e.ProcessFlowZoomLevel.Four:o.class(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel4\");break;default:}o.class(\"sapSuiteUiCommonsProcessFlowNode3Text\")};a._assignNodeText2Classes=function(o,s){o.attr(\"id\",s.getId()+\"-text2\");switch(s._getZoomLevel()){case e.ProcessFlowZoomLevel.One:o.class(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel1\");break;case e.ProcessFlowZoomLevel.Two:o.class(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel2\");break;case e.ProcessFlowZoomLevel.Three:o.class(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel3\");break;case e.ProcessFlowZoomLevel.Four:o.class(\"sapSuiteUiCommonsProcessFlowNode3TextZoomLevel4\");break;default:}o.class(\"sapSuiteUiCommonsProcessFlowNode3Text\")};return a},true);\n/*\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ProcessFlowRenderer\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"./ProcessFlowLaneHeader\",\"./AriaProperties\",\"sap/ui/Device\",\"sap/base/security/encodeXML\",\"sap/ui/core/Element\",\"sap/ui/core/Core\",\"sap/ui/core/Lib\",\"sap/ui/core/InvisibleText\"],function(jQuery,e,t,o,r,n,a,s,l,i){\"use strict\";var d=e.ProcessFlowZoomLevel;var c={apiVersion:2};c.render=function(e,t){var o=this._getZoomStyleClass(t),r,a,s,d=c,p,g;if(!this._oResBundle){this._oResBundle=l.getResourceBundleFor(\"sap.suite.ui.commons\")}if(!t._oInvisibleText){t._oInvisibleText=new i;t._oInvisibleText.toStatic();t._oInvisibleText.setText(this._oResBundle.getText(\"PF_ARIA_PROCESS_FLOW_NODE_DESC\"))}g=d._renderBasicStructure(e,t);if(g){return}try{r=t._getOrCreateProcessFlow();a=t._getOrCreateLaneMap();p=t._getConnectionsMap()}catch(e){t._handleException(e);return}e.openStart(\"table\");e.attr(\"id\",t.getId()+\"-table\");e.attr(\"aria-label\",t._getAriaText());e.class(\"sapSuiteUiCommonsPF\");e.class(n(o));e.openEnd();s=Object.keys(a).length;d._renderTableHeader(e,t,a,s);d._renderTableBody(e,t,s,r,p);e.close(\"table\");e.close(\"div\");e.close(\"div\");this._writeCounter(e,t,\"Right\");e.renderControl(t._getScrollingArrow(\"right\"));e.close(\"div\")};c._renderNormalNodeHeader=function(e,o,r,n,a){e.openStart(\"th\").attr(\"scope\",\"colgroup\").attr(\"colspan\",\"3\").attr(\"id\",o.getId()+\"-colgroup\"+n).openEnd();e.renderControl(r);e.close(\"th\");if(n0){e.attr(\"tabindex\",0)}e.openEnd();e.openStart(\"span\").class(\"sapUiPseudoInvisibleText\").openEnd();e.text(this._oResBundle.getText(\"PF_ARIA_PROCESS_FLOW_EMPTY_NODE_DESC\"));e.close(\"span\");r=false}o.setZoomLevel(t.getZoomLevel());t.addAggregation(\"_connections\",o);e.renderControl(o);return r};c._renderTableHeader=function(e,o,r,n){var a,s=null,l=null,i,d;e.openStart(\"thead\");e.attr(\"id\",o.getId()+\"-thead\");e.openEnd();e.openStart(\"tr\");e.class(\"sapSuiteUiCommonsPFHeader\");e.class(\"sapSuiteUiCommonsPFHeaderHidden\");if(o.getShowLabels()){e.class(\"sapSuiteUiPFWithLabel\")}e.openEnd();e.openStart(\"th\").openEnd().close(\"th\");a=0;while(a0){e.openStart(\"tr\").openEnd();e.openStart(\"td\");e.attr(\"colspan\",(o*5).toString());e.openEnd();e.openStart(\"span\").class(\"sapUiPseudoInvisibleText\").openEnd();e.text(this._oResBundle.getText(\"PF_ARIA_PROCESS_FLOW_EMPTY_NODE_DESC\"));e.close(\"span\");e.close(\"td\");e.close(\"tr\")}s=0;while(s0){const n=this.providers[this.providers.length-1].getContext();return n.then(function(n){return this.withAppInfo(n)}.bind(this))}else{return this.withAppInfo({})}},withAppInfo:function(n){return this.getAppInfo().then(function(e){if(e&&n){n[\"nw.core.flp.shell\"]={appInfo:e}}return n}).catch(function(){return n})},getAppInfo:function(){return new Promise(function(n){const e=sap.ui.require(\"sap/ushell/Container\");if(e){e.getServiceAsync(\"AppLifeCycle\").then(function(n){if(n&&n.getCurrentApplication){return n.getCurrentApplication().getAllAppInfo()}return undefined}).then(function(e){n(e)}).catch(function(){n()})}else{n()}})}});var t;return{getInstance:function(){if(!t){t=new e;return t.init()}else{return Promise.resolve(t)}}}});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/library\", [\"sap/ui/core/Lib\",\"sap/f/library\",\"sap/m/library\",\"sap/ui/core/library\"],function(s){\"use strict\";var e=s.init({apiVersion:2,name:\"sap.insights\",dependencies:[\"sap.m\",\"sap.f\",\"sap.ui.core\"],types:[],interfaces:[],controls:[\"sap.insights.ManageCards\"],elements:[],version:\"1.139.0\",extensions:{}});return e});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/manageCardPreview/ColumnListPreview\", [\"sap/ui/core/Control\",\"sap/ui/core/Core\",\"sap/m/Label\",\"sap/m/Title\",\"sap/m/Text\",\"sap/m/VBox\",\"sap/m/Page\",\"sap/m/FlexBox\",\"sap/m/ScrollContainer\",\"sap/m/Toolbar\",\"sap/m/OverflowToolbar\",\"sap/m/ToolbarSpacer\",\"sap/m/HBox\",\"sap/ui/integration/widgets/Card\",\"sap/m/Panel\",\"sap/m/Button\",\"../utils/CardPreviewManager\",\"../utils/DeviceType\",\"sap/ui/Device\",\"sap/m/Table\",\"sap/m/SearchField\",\"sap/m/Column\",\"sap/ui/core/dnd/DragInfo\",\"sap/ui/core/dnd/DropInfo\",\"sap/ui/core/Icon\",\"sap/m/ColumnListItem\",\"sap/m/CheckBox\",\"sap/m/ObjectIdentifier\",\"sap/m/SegmentedButton\",\"sap/m/SegmentedButtonItem\",\"../utils/Transformations\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/json/JSONModel\",\"../utils/AppConstants\",\"sap/ui/core/Element\",\"../utils/InsightsUtils\"],function(e,t,i,s,o,n,r,a,l,d,h,C,u,g,m,p,c,f,w,v,b,P,S,I,T,B,x,y,D,V,_,L,E,O,M,A,F){var k=e.extend(\"sap.insights.manageCardPreview.ColumnListPreview\",{metadata:{properties:{manifest:{type:\"string\",group:\"Behavior\",defaultValue:\"\"},dialogTitle:{type:\"string\",defaultValue:\"\"}},aggregations:{_page:{type:\"sap.m.Page\",multiple:false,visibility:\"hidden\"}},events:{enableAddButton:{parameters:{enableButton:{type:\"boolean\"}}}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t);e.style(\"height\",\"100%\");e.style(\"width\",\"100%\");e.openEnd();e.renderControl(t.getAggregation(\"_page\"));e.close(\"div\")}}});k.prototype.init=function(){this.i18Bundle=F.getResourceBundle();this._innerModel=new O;this._iDroppedIndex=null;this._selectDefaultColumns=true;this.setModel(this._innerModel);w.resize.attachHandler(this._adjustLayoutStyles.bind(this));this.oCardColumnPageHeader=new h(this.getId()+\"--insightCardColumnPage-header\",{});this.oCardColumnPageTitle=new s(this.getId()+\"--insightCardPreviewTitle\",{text:this.i18Bundle.getText(\"INT_PREVIEW_POPOVER_BUTTON_TITLE\"),level:\"H1\"});this.oCardColumnPage=new r(this.getId()+\"--insightCardColumnPage\",{showSubHeader:true,backgroundDesign:\"List\",enableScrolling:false,headerContent:[],content:[],customHeader:[this.oCardColumnPageHeader]});this.setAggregation(\"_page\",this.oCardColumnPage);this.createStaticControls();this.oCardColumnPageHeader.addContent(this.oCardColumnPageTitle);this.oCardColumnPageHeader.addContent(new C(this.getId()+\"--insightCardColumnPage-headerSpacer\"));this.oCardColumnPageHeader.addContent(this.oCardPreviewBtn);this.oCardColumnPageHeader.addContent(this.oHideCardPreviewBtn);this.oCardColumnPage.addContent(this.oFlexContainerColumnContent)};k.prototype.onBeforeRendering=function(){this.oManifest=this.getManifest();if(this.oManifest){this.oManifest=JSON.parse(this.oManifest)}this._initConfigureCard(this.oManifest);if(this._selectDefaultColumns){const e=_.getDefaultColumns(this.oConfCard);if(e.length){this.oConfCard=_.selectColumnsForListCard(this.oConfCard,e);this.iVisibleColumnCount=e.length;this._innerModel.setProperty(\"/visibleColumnCount\",this.iVisibleColumnCount);const t=this._findIdentifierTitle(this.cardColumn);this.oConfCard[\"sap.card\"].content.item.attributes=t;this._selectDefaultColumns=false}}this._adjustLayoutStyles();this.oInsightsColCardLayer.setVisible(this.oManifest[\"sap.card\"].type===\"Analytical\"?false:true);this.oInsightsColCardLayerSD.setVisible(this.oManifest[\"sap.card\"].type===\"Analytical\"?false:true)};k.prototype.createStaticControls=function(){this.oCardPreviewBtn=new p(this.getId()+\"--cardPreviewId\",{text:this.i18Bundle.getText(\"INT_DIALOG_CardPreview\"),press:this._callPreview.bind(this),enabled:true});this.oHideCardPreviewBtn=new p(this.getId()+\"--hideCardPreviewId\",{text:this.i18Bundle.getText(\"INT_DIALOG_HidePreview\"),press:this._callClosePreview.bind(this),enabled:true});this.oDefaultTitle=new s(this.getId()+\"--defaultTitle\",{text:this.i18Bundle.getText(\"INT_COLUMN_TITLE\"),level:\"H4\"});this.oDefaultSubText=new o(this.getId()+\"--defaultSubText\",{text:this.i18Bundle.getText(\"INT_COLUMN_SUBTITLE\")});this.oInsightsColumnEditVBox=new n(this.getId()+\"--insightsColumnEditVBox\",{direction:\"Column\",items:[this.oDefaultTitle,this.oDefaultSubText]}).addStyleClass(\"sapUiSmallMarginBegin sapUiSmallMarginTop sapUiTinyMarginBottom\");this.oColumnSearch=new b(this.getId()+\"--columnSearch\",{placeholder:this.i18Bundle.getText(\"INT_COL_SEARCH\"),liveChange:this._onColumnSearch.bind(this),ariaLabelledBy:[this.getId()+\"--defaultTitle\",this.getId()+\"--defaultSubText\"]}).addStyleClass(\"sapUiTinyMarginBottom\");this.oColumnSearchVBox=new n(this.getId()+\"--columnSearchVBox\",{renderType:\"Bare\",items:[this.oColumnSearch]});this.oEditColumnsTableCheckBox=new P(this.getId()+\"--editColumnsTableCheckBox\",{hAlign:\"Center\"});this.oEditColumnsName=new P(this.getId()+\"--editColumnsName\",{});this.oColumnDrag=new S(this.getId()+\"--idColumnDrag\",{groupName:\"editColumns\",sourceAggregation:\"items\"});this.oColumnDrop=new I(this.getId()+\"--idColumnDrop\",{groupName:\"editColumns\",targetAggregation:\"items\",dropPosition:\"On\",drop:this._onColumnDrop.bind(this)});this.oInsightsCardsEditColumnsListTable=new v(this.getId()+\"--insightsCardsEditColumnsListTable\",{fixedLayout:\"true\",columns:[this.oEditColumnsTableCheckBox,this.oEditColumnsName],dragDropConfig:[this.oColumnDrag,this.oColumnDrop],updateFinished:function(){if(this._iDroppedIndex&&this._iDroppedIndex>=0){this.oInsightsCardsEditColumnsListTable.getItems()[this._iDroppedIndex].focus()}}.bind(this)}).addStyleClass(\"sapContrastPlus\");this.oInsightsCardsEditColumnsListTable.attachBrowserEvent(\"keydown\",this._attachDndHandler.bind(this,this.oInsightsCardsEditColumnsListTable,this._onColumnDrop.bind(this)));this.oEditColumnsScrollContainer=new l(this.getId()+\"--idEditColumnsScrollContainer\",{vertical:true,horizontal:false,height:\"90%\",width:\"100%\",content:[this.oInsightsCardsEditColumnsListTable]});this.oInsightsColumnEditFlexBox=new a(this.getId()+\"--insightsColumnEditFlexBox\",{height:\"92%\",width:\"95%\",direction:\"Column\",renderType:\"Bare\",items:[this.oColumnSearchVBox,this.oEditColumnsScrollContainer]}).addStyleClass(\"sapUiSmallMarginBegin sapUiSmallMarginEnd\");this.oLabelColLayout=new i(this.getId()+\"--labelColLayout\",{text:this.i18Bundle.getText(\"INT_COL_LAYOUT\")});this.oListViewSD=new V(this.getId()+\"--idListViewSD\",{icon:\"sap-icon://list\",key:\"List\"});this.oTableViewSD=new V(this.getId()+\"--idTableViewSD\",{icon:\"sap-icon://table-view\",key:\"Table\"});this.oSdColumnSegButton=new D(this.getId()+\"--sdColumnSegButton\",{width:\"3.75rem\",selectionChange:this._onSegmentedSelectionChange.bind(this),tooltip:this.i18Bundle.getText(\"INT_LAYOUT_TOOLTIP\"),items:[this.oListViewSD,this.oTableViewSD]});this.oPreviewVBoxSD=new n(this.getId()+\"--previewVBoxSD\",{direction:\"Column\",height:\"4rem\",backgroundDesign:\"Solid\",items:[this.oLabelColLayout,this.oSdColumnSegButton]}).addStyleClass(\"sapUiSmallMarginBegin sapUiTinyMarginTop\");this.oPreviewColCardSD=new g(this.getId()+\"--previewColCardSD\",{manifestApplied:this._setPreviewCardAriaText.bind(this,this.i18Bundle.getText(\"INT_DIALOG_TITLE_CardPreview\")),width:\"19rem\",height:\"32rem\"}).addStyleClass(\"sapUiTinyMarginBeginEnd sapUiTinyMarginTopBottom\");this.oInsightsColOverflowInnerHBoxSD=new u(this.getId()+\"--insightsColOverflowInnerHBoxSD\",{}).addStyleClass(\"insightsCardOverflowLayer insightsPreviewCardOverLay insightsColOverLayPositionSD\");this.oInsightsColCardLayerSD=new u(this.getId()+\"--insightsColCardLayerSD\",{height:\"0\",items:[this.oInsightsColOverflowInnerHBoxSD]}).addStyleClass(\"sapMFlexBoxJustifyCenter\");this.oColCardsScrollSD=new l(this.getId()+\"--colCardsScrollSD\",{vertical:true,horizontal:false,height:\"100%\",content:[this.oPreviewColCardSD,this.oInsightsColCardLayerSD]});this.oPreviewColCardVBox=new n(this.getId()+\"--previewColCardVBox\",{width:\"100%\",height:\"calc(100% - 4rem)\",alignItems:\"Center\",backgroundDesign:\"Solid\",justifyContent:\"SpaceAround\",items:[this.oColCardsScrollSD]});this.oPreviewColCardFlex=new a(this.getId()+\"--previewColCardFlex\",{direction:\"Column\",height:\"100%\",width:\"100%\",items:[this.oPreviewVBoxSD,this.oPreviewColCardVBox]});this.oEditColumnInsightsCardsFlex=new a(this.getId()+\"--editColumnInsightsCardsFlex\",{height:\"100%\",width:\"62%\",direction:\"Column\",items:[this.oInsightsColumnEditVBox,this.oInsightsColumnEditFlexBox,this.oPreviewColCardFlex]});this.oInsightPreviewText=new s(this.getId()+\"--insightPreviewText\",{text:this.i18Bundle.getText(\"INT_DIALOG_TITLE_CardPreview\"),textAlign:\"Left\"}).addStyleClass(\"sapUiTinyMarginTop sapUiSmallMarginEnd\");this.oListViewLD=new V(this.getId()+\"--idListViewLD\",{icon:\"sap-icon://list\",key:\"List\"});this.oTableViewLD=new V(this.getId()+\"--idTableViewLD\",{icon:\"sap-icon://table-view\",key:\"Table\"});this.oColumnSegButton=new D(this.getId()+\"--columnSegButton\",{width:\"3.75rem\",selectionChange:this._onSegmentedSelectionChange.bind(this),tooltip:this.i18Bundle.getText(\"INT_LAYOUT_TOOLTIP\"),items:[this.oListViewLD,this.oTableViewLD],ariaLabelledBy:[this.getId()+\"--insightPreviewText\",this.getId()+\"--columnSegButton\"]});this.oPreviewTextHBox=new u(this.getId()+\"--idPreviewTextHBox\",{width:\"100%\",justifyContent:\"Start\",backgroundDesign:\"Transparent\",renderType:\"Bare\",items:[this.oInsightPreviewText,this.oColumnSegButton]});this.oPreviewPanelToolBar=new d(this.getId()+\"--previewPanelToolBar\",{style:\"Clear\",design:\"Auto\",content:[this.oPreviewTextHBox]}).addStyleClass(\"sapThemeBaseBG\");this.oPreviewCard=new g(this.getId()+\"--previewCard\",{manifestApplied:this._setPreviewCardAriaText.bind(this,this.i18Bundle.getText(\"INT_DIALOG_TITLE_CardPreview\")),width:\"19rem\",height:\"35rem\"}).addStyleClass(\"sapMFlexBoxJustifyCenter\");this.oInsightsColOverflowInnerHBox=new u(this.getId()+\"--insightsColOverflowInnerHBox\",{}).addStyleClass(\"insightsCardOverflowLayer insightsPreviewCardOverLay insightsColOverLayPositionLS\");this.oInsightsColCardLayer=new u(this.getId()+\"--insightsColCardLayer\",{height:\"0\",items:[this.oInsightsColOverflowInnerHBox]}).addStyleClass(\"insightsCardOverflowLayer insightsPreviewCardOverLay\");this.oCardsPreviewVBox=new n(this.getId()+\"--idCardsPreviewVBox\",{height:\"100%\",alignItems:\"Center\",backgroundDesign:\"Transparent\",justifyContent:\"SpaceAround\",items:[this.oPreviewCard,this.oInsightsColCardLayer]});this.oPreviewPanelContainer=new m(this.getId()+\"--previewPanelContainer\",{expanded:false,height:\"100%\",backgroundDesign:\"Transparent\",headerToolbar:[this.oPreviewPanelToolBar],content:[this.oCardsPreviewVBox]});this.oColCardsScroll=new l(this.getId()+\"--colCardsScroll\",{vertical:true,horizontal:false,height:\"100%\",content:[this.oPreviewPanelContainer]});this.oColumnPreviewCardFlexbox=new a(this.getId()+\"--columnPreviewCardFlexbox\",{direction:\"Column\",width:\"38%\",height:\"100%\",renderType:\"Bare\",items:[this.oColCardsScroll]}).addStyleClass(\"sapMPageBgStandard\");this.oFlexContainerColumnContent=new n(this.getId()+\"--flexContainerColumnContent\",{height:\"100%\",width:\"100%\",direction:\"Row\",justifyContent:\"SpaceBetween\",items:[this.oEditColumnInsightsCardsFlex,this.oColumnPreviewCardFlexbox]})};k.prototype.resetSelectCountData=function(){this._selectDefaultColumns=true;this.iVisibleColumnCount=0;this._innerModel.setProperty(\"/visibleColumnCount\",this.iVisibleColumnCount)};k.prototype._setPreviewCardAriaText=function(e,t){var i=t.getSource()._ariaText.getText();var s=this.i18Bundle.getText(e);t.getSource()._ariaText.setText(s+i)};k.prototype._callPreview=function(){var e,t;t=f.getDialogBasedDevice()!==M.DEVICE_TYPES.Desktop;if(t){this.bShowPreview=true;this.oCardPreviewBtn.setVisible(false);this.oHideCardPreviewBtn.setVisible(true);this.oPreviewColCardVBox.setVisible(true);this.oPreviewColCardFlex.setVisible(true);this.oInsightsColumnEditFlexBox.setVisible(false);this.oColumnPreviewCardFlexbox.setVisible(false);this.oInsightsColumnEditVBox.setVisible(false);e=t?this.oPreviewColCardSD:this.oPreviewCard}if(e){e.refresh()}};k.prototype._callClosePreview=function(){this.bShowPreview=false;this.oHideCardPreviewBtn.setVisible(false);this.oCardPreviewBtn.setVisible(true);this.oPreviewColCardFlex.setVisible(false);this.oInsightsColumnEditFlexBox.setVisible(true);this.oColumnPreviewCardFlexbox.setVisible(false);this.oInsightsColumnEditVBox.setVisible(true)};k.prototype._onColumnSearch=function(e){var t=\"\";if(e){t=e.getSource().getValue()}var i=new L(\"title\",E.Contains,t);var s=[];s.push(i);var o=this.oInsightsCardsEditColumnsListTable;var n=o.getBinding(\"items\");n.filter(s,\"Application\")};k.prototype._refreshShowPreview=function(){this.bShowPreview=true;var e=f.getDialogBasedDevice()===M.DEVICE_TYPES.Desktop;var t=e?this.oPreviewCard:this.oPreviewColCardSD;if(t){t.refresh()}};k.prototype._onColumnDrop=function(e){var t=e.getParameter?e.getParameter(\"dropPosition\"):e.dropPosition,i=e.getParameter?e.getParameter(\"draggedControl\"):e.draggedControl,s=e.getParameter?e.getParameter(\"droppedControl\"):e.droppedControl,o=i.getBindingContextPath().split(\"/\"),n=Number(o[2]),r=s.getBindingContextPath().split(\"/\"),a=Number(r[2]),l=this.cardColumn;if(t===\"Before\"&&n===a-1){a--}else if(t===\"After\"&&n===a+1){a++}if(n!==a){if(t===\"Before\"&&na){a++}var d=l.splice(n,1)[0];l.splice(a,0,d);this.cardColumn=l;this._innerModel.setProperty(\"/cardColumn\",this.cardColumn);var h=this.cardColumn.filter(function(e){return!e.identifier});if(this.oConfCard[\"sap.card\"]&&this.oConfCard[\"sap.card\"].content&&this.oConfCard[\"sap.card\"].content.item){this.oConfCard[\"sap.card\"].content.item.attributes=h}var C=f.getDialogBasedDevice()===M.DEVICE_TYPES.Desktop;var u=C?this.oPreviewCard:this.oPreviewColCardSD;if(u){u.setManifest(this.oConfCard)}if(f.getDialogBasedDevice()===M.DEVICE_TYPES.Desktop){this._refreshShowPreview()}}};k.prototype._handleColumnVisibilityToggle=function(e){var t=e.getSource();this.sColumnPath=t.getBindingContext().getPath();var i=this._innerModel.getProperty(this.sColumnPath);var s=t.getSelected();i[\"visible\"]=s;var o=this.iVisibleColumnCount;this.iVisibleColumnCount=s?o+1:o-1;if(this.oConfCard[\"sap.card\"].content.row){this.oConfCard[\"sap.card\"].content.row.columns=this.cardColumn}else{var n=this._findIdentifierTitle(this.cardColumn);if(i.identifier&&this.oConfCard[\"sap.card\"].content&&this.oConfCard[\"sap.card\"].content.item){if(s){this.oConfCard[\"sap.card\"].content.item.title=this._oListTitle}else{delete this.oConfCard[\"sap.card\"].content.item.title}}this.oConfCard[\"sap.card\"].content.item.attributes=n}this._innerModel.setProperty(\"/visibleColumnCount\",this.iVisibleColumnCount);if(this.iVisibleColumnCount>0){this.fireEnableAddButton({enableButton:true})}else{this.fireEnableAddButton({enableButton:false})}if(f.getDialogBasedDevice()===M.DEVICE_TYPES.Desktop){this.oPreviewCard.setPreviewMode(this.iVisibleColumnCount>0?\"Off\":\"Abstract\");this._refreshShowPreview()}else{this.oPreviewColCardSD.setPreviewMode(this.iVisibleColumnCount>0?\"Off\":\"Abstract\")}};k.prototype._onSegmentedSelectionChange=function(){var e=f.getDialogBasedDevice()===M.DEVICE_TYPES.Desktop?this.oColumnSegButton:this.oSdColumnSegButton,t=e.getSelectedKey();if(t===\"Table\"){if(this.oConfCard[\"sap.card\"].content&&this.oConfCard[\"sap.card\"].content.item&&this._oListTitle){if(this.oConfCard[\"sap.card\"].content.item.title){delete this.oConfCard[\"sap.card\"].content.item.title}this.oConfCard[\"sap.card\"].content.item.attributes=this.cardColumn}var i=_.createListOptions(this.oConfCard);var s=i.filter(function(e){if(e){return e[\"sap.card\"].type===\"Table\"}});if(s.length){this.oConfCard=s[0];var o=s[0][\"sap.card\"].content.row.columns;this.cardColumn=o}}else if(t===\"List\"){var n=_.createTableOptions(this.oConfCard);var r=n.filter(function(e){if(e){return e[\"sap.card\"].type===\"List\"}});if(r.length){this.oConfCard=r[0];this.cardColumn=r[0][\"sap.card\"].content.item.attributes}var a=this._findIdentifierTitle(this.cardColumn);if(this.oConfCard[\"sap.card\"].content&&this.oConfCard[\"sap.card\"].content.item){this.oConfCard[\"sap.card\"].content.item.attributes=a;this.oConfCard[\"sap.card\"].content.item.title=this._oListTitle&&this._oListTitle.visible?this._oListTitle:null}}this._innerModel.setProperty(\"/cardColumn\",this.cardColumn);var l=f.getDialogBasedDevice()===M.DEVICE_TYPES.Desktop;var d=l?this.oPreviewCard:this.oPreviewColCardSD;if(d){d.setManifest(this.oConfCard)}};k.prototype._setCardColumnValue=function(e){var t=e[\"sap.card\"];if(t.type===\"Table\"){var i;i=t.content.row.columns;this.cardColumn=i;var s=i.map(function(e){e[\"visible\"]=e[\"visible\"]?e[\"visible\"]:false;return e}).filter(function(e){return e.visible});this.iVisibleColumnCount=s.length;this._innerModel.setProperty(\"/visibleColumnCount\",this.iVisibleColumnCount);var o=_.createTableOptions(this.oConfCard);var n=o.filter(function(e){return e[\"sap.card\"].type===\"List\"});if(n.length){this.oConfCard=n[0];var r=n[0][\"sap.card\"].content.item.attributes;this.cardColumn=r}this._innerModel.setProperty(\"/cardColumn\",this.cardColumn);this.oInsightsCardsEditColumnsListTable.bindAggregation(\"items\",{path:\"/cardColumn\",factory:this._generateTableColumnsTemplate.bind(this)})}};k.prototype._generateTableColumnsTemplate=function(){var e=new B({});var t=new y({title:\"{title}\",tooltip:\"{title}\"}).addStyleClass(\"sapUiNoPadding\");var i=new u({items:[new T({src:\"sap-icon://BusinessSuiteInAppSymbols/icon-grip\"}).addStyleClass(\"compositeDndIcon\"),new x({selected:\"{= ${visible} ? true : false}\",enabled:\"{= !(!${visible} && (${/visibleColumnCount} > 2)) ? true : false}\",select:this._handleColumnVisibilityToggle.bind(this),ariaLabelledBy:[t.getId()]})]}).addStyleClass(\"sapUiNoPadding\");e.addCell(i);e.addCell(t);return e};k.prototype._adjustLayoutStyles=function(){if(f.getDialogBasedDevice()!==M.DEVICE_TYPES.Desktop){this.bDesktop=false;if(this.bShowPreview===true){this.oCardPreviewBtn.setVisible(false);this.oHideCardPreviewBtn.setVisible(true);this.oPreviewColCardFlex.setVisible(true);this.oInsightsColumnEditFlexBox.setVisible(false);this.oInsightsColumnEditVBox.setVisible(false)}else{this.oCardPreviewBtn.setVisible(true);this.oHideCardPreviewBtn.setVisible(false);this.oPreviewColCardFlex.setVisible(false);this.oInsightsColumnEditFlexBox.setVisible(true);this.oInsightsColumnEditVBox.setVisible(true);this.oEditColumnInsightsCardsFlex.setWidth(\"100%\")}this.oColumnPreviewCardFlexbox.setVisible(false);this.oPreviewColCardSD.setManifest(this.oConfCard);this.oColumnSearch.setWidth(\"90%\");this.oEditColumnsTableCheckBox.setWidth(\"20%\");this.oEditColumnsName.setWidth(\"80%\");this.oSdColumnSegButton.setSelectedKey(this.oConfCard[\"sap.card\"].type);this.oPreviewColCardSD.refresh()}else{this.bDesktop=true;this.oColumnSearch.setWidth(\"100%\");this.oEditColumnsTableCheckBox.setWidth(\"10%\");this.oEditColumnsName.setWidth(\"90%\");this.oPreviewCard.setManifest(this.oConfCard);this.oColumnSegButton.setSelectedKey(this.oConfCard[\"sap.card\"].type);this.oCardPreviewBtn.setVisible(false);this.oHideCardPreviewBtn.setVisible(false);this.oPreviewColCardFlex.setVisible(false);this.oInsightsColumnEditVBox.setVisible(true);this.oInsightsColumnEditFlexBox.setVisible(true);this.oColumnPreviewCardFlexbox.setVisible(true);this.oPreviewCard.refresh()}var e=!this.bDesktop&&this.bShowPreview;this.oPreviewColCardVBox.setVisible(e?true:false);this.oPreviewColCardFlex.setVisible(e?true:false);this.oCardColumnPage.setTitle(this.getDialogTitle())};k.prototype._initConfigureCard=function(e){var t=e,i;var s=A.getElementById(\"myhomeSettingsView--INSIGHTS_CARDS\");this.oOrgCard=t;i=JSON.parse(JSON.stringify(t));i=c.getCardPreviewManifest(i);this.oConfCard=i;this.iVisibleColumnCount=this.iVisibleColumnCount?this.iVisibleColumnCount:0;if(i){var o=i[\"sap.card\"];if(o.type===\"Table\"){var n=f.getDialogBasedDevice()===M.DEVICE_TYPES.Desktop?this.oColumnSegButton:this.oSdColumnSegButton;n.setSelectedKey(this.oManifest[\"sap.card\"].type);this._setCardColumnValue(i,s)}}};k.prototype._attachDndHandler=function(e,i,s){var o=s.metaKey||s.ctrlKey;if(o&&(s.key===\"ArrowUp\"||s.key===\"ArrowDown\")){s.preventDefault();var n=s.key===\"ArrowUp\"?\"Before\":\"After\";var r=e.getItems();var a=t.getCurrentFocusedControlId();var l=r.findIndex(e=>e.getId()===a);if(l>=0&&l=0&&d{if(e.identifier){this._oListTitle=e}return!e.identifier});return t};return k});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/manageCardPreview/HouseOfCards\", [\"sap/ui/core/Control\",\"sap/ui/core/Item\",\"sap/ui/core/Icon\",\"sap/m/Title\",\"sap/m/Text\",\"sap/m/VBox\",\"sap/m/Page\",\"sap/m/FlexBox\",\"sap/m/ComboBox\",\"sap/m/ScrollContainer\",\"sap/m/Toolbar\",\"sap/m/OverflowToolbar\",\"sap/m/ToolbarSpacer\",\"sap/m/HBox\",\"sap/m/Panel\",\"sap/m/Button\",\"sap/m/Table\",\"sap/m/Column\",\"sap/m/ColumnListItem\",\"sap/m/ObjectIdentifier\",\"sap/m/SearchField\",\"sap/ui/Device\",\"sap/ui/integration/widgets/Card\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/json/JSONModel\",\"sap/ui/model/resource/ResourceModel\",\"../utils/CardPreviewManager\",\"../utils/DeviceType\",\"../utils/AppConstants\",\"../utils/Transformations\",\"../utils/InsightsUtils\"],function(e,t,i,o,r,a,s,n,h,l,d,c,C,p,g,_,f,u,y,v,w,T,P,m,S,H,b,x,M,B,I,D){var V=e.extend(\"sap.insights.manageCardPreview.HouseOfCards\",{metadata:{properties:{manifest:{type:\"string\",group:\"Behavior\",defaultValue:\"\"},dialogTitle:{type:\"string\",defaultValue:\"\"}},aggregations:{_page:{type:\"sap.m.Page\",multiple:false,visibility:\"hidden\"}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t);e.style(\"height\",\"100%\");e.style(\"width\",\"100%\");e.openEnd();e.renderControl(t.getAggregation(\"_page\"));e.close(\"div\")}}});V.prototype.init=function(){this.i18Bundle=D.getResourceBundle();this._innerHocModel=new H;if(this._bDesktop){this._bShowPreview=true}else{this._bShowPreview=false}this._createHocFlex();T.resize.attachHandler(this._adjustLayoutStyles.bind(this));this.oCardColumnPageTitle=new o(this.getId()+\"--insightHouseOfCardTitle\",{text:this.i18Bundle.getText(\"INT_PREVIEW_POPOVER_BUTTON_TITLE\"),level:\"H1\"});this._oPreviewButton=new _({text:this.i18Bundle.getText(\"INT_DIALOG_CardPreview\"),press:this._callPreview.bind(this)});this._oHidePreviewButton=new _({text:this.i18Bundle.getText(\"INT_DIALOG_HidePreview\"),press:this._callClosePreview.bind(this)});this.oHOCPageHeader=new c(this.getId()+\"--insightHouseOfCard-header\",{content:[this.oCardColumnPageTitle,new C(this.getId()+\"--insightHouseOfCard-headerSpacer\"),this._oPreviewButton,this._oHidePreviewButton]});var e=M.getDialogBasedDevice();this._bDesktop=e===B.DEVICE_TYPES.Desktop;this.oParentPage=new s(this.getId()+\"--insightHouseOfCardPage\",{showSubHeader:true,backgroundDesign:\"List\",enableScrolling:false,content:[new a(this.getId()+\"--hocbox1\",{height:\"100%\",width:\"100%\",direction:\"Row\",justifyContent:\"SpaceBetween\",items:[this._oHocflexbox1,this._oHocflexbox2]})],customHeader:[this.oHOCPageHeader]});this._innerHocModel.setData({oSelected:{},aCards:[],aPreviewCards:[1,2,3],aAllowedChartTypes:[],sOriginalChartType:\"\",selectedPath:\"\"});this.oConfCard=null;this.oParentPage.setModel(this._innerHocModel,\"hocModel\");this.setAggregation(\"_page\",this.oParentPage)};V.prototype.onBeforeRendering=function(){this._oManifest=this.getManifest();if(this._oManifest){this._oManifest=JSON.parse(this._oManifest)}this.oConfCard=this._oManifest;this._innerHocModel.setProperty(\"/oSelected\",this._oManifest);this._oHocChartCombo.bindAggregation(\"items\",{path:\"hocModel>/aPreviewCards\",template:new t({key:\"{hocModel>sap.card/content/chartType}\",text:{parts:[{path:\"hocModel>sap.card/content/chartType\"},{value:\"title\"}],formatter:this._setChartDetail}})});this._oCardsTypeTable.bindAggregation(\"items\",{path:\"hocModel>/aPreviewCards\",template:new y({type:\"Active\",selected:\"{= ${hocModel>sap.card/content/chartType} === ${hocModel>/oSelected/sap.card/content/chartType} ? true : false}\",cells:[new p({items:[new i({src:{parts:[{path:\"hocModel>sap.card/content/chartType\"},{value:\"icon\"}],formatter:this._setChartDetail}})]}).addStyleClass(\"sapUiNoPadding\"),new v({title:{parts:[{path:\"hocModel>sap.card/content/chartType\"},{value:\"title\"}],formatter:this._setChartDetail},tooltip:\"{hocModel>sap.card/content/chartType}\"}).addStyleClass(\"sapUiNoPadding\")]})});this._oCardContainer.bindAggregation(\"items\",{path:\"hocModel>/aPreviewCards\",template:new P({width:\"17rem\",height:\"29.5rem\",manifest:\"{= ${hocModel>}}\",host:\"HouseOfCardsHost\",manifestReady:this._onCardRender.bind(this)}).addStyleClass(\"sapUiSmallMarginBegin sapUiTinyMarginTopBottom\")});this._adjustLayoutStyles()};V.prototype._createHocFlex=function(){this._oCardContainer=new a(\"CardContainer\",{fitContainer:true,alignItems:\"Start\",justifyContent:\"Start\",renderType:\"Bare\",alignContent:\"Start\",wrap:\"Wrap\",width:\"100%\",direction:\"Row\"});this._oHoCScrollContainer=new l(\"idHoCScrollContainer\",{vertical:true,horizontal:false,height:\"100%\",width:\"100%\",content:[this._oCardContainer]});this._oHocChartCombo=new h(\"hocChartCombo\",{ariaLabelledBy:\"previewChartInfoTitle previewChartInfoSubTitle hocChartCombo\",maxWidth:\"33%\",selectionChange:this._onSelectionChange.bind(this)}).addStyleClass(\"sapUiSmallMarginBegin sapUiTinyMarginTopBottom\");this._oCardContainerFlex=new n(this.getId()+\"--cardContainerFlex\",{renderType:\"Bare\",height:\"100%\",direction:\"Column\",items:[new a(\"chartSelectVBox\",{direction:\"Column\",items:[new o(\"previewChartInfoTitle\",{text:this.i18Bundle.getText(\"INT_CHART_TITLE\"),level:\"H4\"}).addStyleClass(\"sapUiSmallMarginTop\"),new r(\"previewChartInfoSubTitle\",{text:this.i18Bundle.getText(\"INT_CHART_SUBTITLE\")})]}).addStyleClass(\"sapUiSmallMarginBegin\"),new n(\"hocflexbox3\",{height:\"calc(100% - 4rem)\",width:\"100%\",visible:this._bDesktop,direction:\"Column\",renderType:\"Bare\",items:[this._oHocChartCombo,this._oHoCScrollContainer]})]});this._oCardsTypeTable=new f(\"insightsCardsTypeTable\",{width:\"90%\",fixedLayout:true,mode:\"SingleSelectMaster\",itemPress:this._onChartTypePress.bind(this),columns:[new u(\"chartIconColumn\",{hAlign:\"Center\",width:\"10%\"}),new u(\"chartTypeNameColumn\",{width:\"90%\"})]}).addStyleClass(\"sapContrastPlus sapUiSmallMarginBeginEnd\");this._oChartTypeSearch=new w(\"chartTypeSearch\",{ariaLabelledBy:\"previewChartInfoTitle previewChartInfoSubTitle chartTypeSearch\",placeholder:this.i18Bundle.getText(\"INT_CHART_SEARCH\"),width:\"90%\",liveChange:this._onChartTypeSearch.bind(this)}).addStyleClass(\"sapUiSmallMarginBegin\");this._oPreviewPanelCardContainer=new n(\"previewPanelCardContainer\",{height:\"100%\",width:\"100%\",direction:\"Column\",renderType:\"Bare\",items:[this._oChartTypeSearch,new l(\"insightsCardsTypeScroll\",{vertical:true,horizontal:false,height:\"94%\",width:\"100%\",content:[this._oCardsTypeTable]}).addStyleClass(\"sapUiTinyMarginTop\")]});this._oPreviewCardHoCSD=new P(\"previewCardHoCSD\",{manifest:\"{hocModel>/oSelected}\",width:\"19rem\",height:\"33rem\"}).addStyleClass(\"sapUiTinyMarginBeginEnd\");this._oPreviewCardHoCVBox=new a(\"previewCardHoCVBox\",{height:\"100%\",width:\"100%\",alignItems:\"Center\",backgroundDesign:\"Solid\",items:[this._oPreviewCardHoCSD]}).addStyleClass(\"sapUiSmallMarginTop sapUiTinyMarginBottom\");this._oPanelFlexHoC=new n(\"panelFlexHoC\",{height:\"100%\",width:\"100%\",renderType:\"Bare\",justifyContent:\"Center\",items:[new l(\"hoCCardsScrollSD\",{vertical:true,horizontal:false,height:\"100%\",content:[this._oPreviewCardHoCVBox]})]});this._oPanelFlexCard=new n(this.getId()+\"--panelFlexCard\",{width:\"100%\",height:\"calc(100% - 3rem)\",direction:\"Column\",renderType:\"Bare\",items:[this._oPreviewPanelCardContainer,this._oPanelFlexHoC]});this._oPreviewCardHoC=new P(\"previewCardHoC\",{manifest:\"{ path: 'hocModel>/oSelected', mode: 'TwoWay' }\",manifestApplied:this._setPreviewCardAriaText.bind(this),host:\"HouseOfCardsHost\",width:\"19rem\",height:\"33rem\"});var e=new g(\"hocPreviewPanelContainer\",{expanded:false,height:\"100%\",backgroundDesign:\"Transparent\",headerToolbar:[new d(\"hocPreviewToolBar\",{width:\"100%\",height:\"2.7rem\",style:\"Clear\",design:\"Auto\",content:[new p(\"hocPreviewCardTextHBox\",{width:\"100%\",justifyContent:\"Start\",backgroundDesign:\"Transparent\",items:[new o(\"hocInsightPreviewCardText\",{text:this.i18Bundle.getText(\"INT_DIALOG_TITLE_CardPreview\"),textAlign:\"Left\"}).addStyleClass(\"sapUiTinyMarginTop\")]})]}).addStyleClass(\"sapThemeBaseBG\")],content:[new a(\"hocCardsPreviewVBox1\",{height:\"calc(100% - 2.8rem)\",alignItems:\"Center\",backgroundDesign:\"Transparent\",justifyContent:\"SpaceAround\",items:[this._oPreviewCardHoC]})]});this._oHocflexbox1=new n(this.getId()+\"--hocflexbox1\",{height:\"100%\",width:\"100%\",direction:\"Column\",justifyContent:\"Center\",items:[this._oCardContainerFlex,this._oPanelFlexCard]});this._oHocflexbox2=new n(\"hocflexbox2\",{direction:\"Column\",width:\"38%\",height:\"100%\",renderType:\"Bare\",fitContainer:true,items:[new l(\"hoCCardsScroll\",{vertical:true,horizontal:false,height:\"100%\",content:[e]})]}).addStyleClass(\"sapMPageBgStandard\")};V.prototype._onChartTypeSearch=function(e){var t=\"\";if(e){t=e.getSource().getValue()}var i=new m(\"sap.card/content/chartType\",S.Contains,t);var o=[];o.push(i);var r=this._oCardsTypeTable.getBinding(\"items\");if(r){r.filter(o,\"Application\")}};V.prototype._setChartDetail=function(e,t){var i=B.CHART_TYPE_DETAILS;if(t===\"icon\"&&e){return i[e]?i[e].icon:i[\"default\"].icon}if(t===\"title\"&&e){return i[e]?i[e].title:e.replaceAll(\"_\",\" \")}};V.prototype._setPreviewCardAriaText=function(e){var t=e.getSource()._ariaText.getText();var i=this.i18Bundle.getText(\"INT_DIALOG_TITLE_CardPreview\");e.getSource()._ariaText.setText(i+t)};V.prototype._onSelectionChange=function(e){var t=e.getParameters();var i=t.selectedItem;var o=i&&i.getBindingContext(\"hocModel\").getPath();this._onClickFunction(null,o)};V.prototype._onCardLoadFailure=function(e){var t=this._oManifest[\"sap.card\"].content.chartType;var i=e.getManifest()[\"sap.card\"].content.chartType;if(i!==t){var o=this._oCardContainer.removeItem(e.sId);if(o){o.destroy()}}};V.prototype._onCardStateChanged=function(e){var t=e.getAggregation(\"_content\")&&e.getAggregation(\"_content\").getAggregation(\"_content\");if(t&&t.attachRenderComplete){t.attachRenderComplete(function(t){var i=t.getSource()._errorType;if(i){var o=this._oCardContainer.removeItem(e.sId);if(o){o.destroy()}}}.bind(this))}var i=e.getManifest()[\"sap.card\"].content.chartType;var o=this._innerHocModel.getProperty(\"/sOriginalChartType\");if(!x.hasVizData(e)&&i!==o){var r=this._innerHocModel.getProperty(\"/aPreviewCards\");var a=r.findIndex(function(e){return e[\"sap.card\"].content.chartType===i});if(a>-1){var s=this._oCardContainer.removeItem(a);if(s){s.destroy()}r.splice(a,1);this._innerHocModel.setProperty(\"/aPreviewCards\",r)}}};V.prototype._callPreview=function(){var e=this._bDesktop?this._oPreviewCardHoC:this._oPreviewCardHoCSD;this._bShowPreview=true;if(e){e.refresh()}this._adjustLayoutStyles()};V.prototype._callClosePreview=function(){this._bShowPreview=false;this._adjustLayoutStyles()};V.prototype._setFocusOnElement=function(){if(this._bDesktop){this._oHocChartCombo.focus()}else{this._oChartTypeSearch.focus()}};V.prototype._onCardRender=function(e){var t=e.getSource();t.attachManifestApplied(function(e){var t=e.getSource();var i=this._oCardContainer.getItems();i.forEach(function(e){if(e.getBindingContext(\"hocModel\")){var i=e.getBindingContext(\"hocModel\").getPath();if(this._innerHocModel.getProperty(\"/selectedPath\")===i&&e.sId===t.sId){e.addStyleClass(\"sapThemeHighlight-asBorderColor\");e.focus()}}}.bind(this));if(t.getCardHeader()){var o=t.getCardHeader();o.addStyleClass(\"sapFCardHeaderToolbarFocused\")}t.attachEvent(\"_error\",this._onCardLoadFailure.bind(this,t));t.attachEvent(\"stateChanged\",this._onCardStateChanged.bind(this,t))}.bind(this));var i=t.getDomRef();i.removeEventListener(\"click\",this._onClickFunction.bind(this,t));i.addEventListener(\"click\",this._onClickFunction.bind(this,t),{capture:true})};V.prototype._onClickFunction=function(e,t){var i;var o=this._oCardContainer.getItems();var r=this._innerHocModel.getProperty(\"/selectedPath\");o.forEach(function(o){if(o.getBindingContext(\"hocModel\")){var a=o.getBindingContext(\"hocModel\").getPath();if(t&&!e&&a===t){e=o}if(a===r&&r!==t){i=o}}});if(this._oCardContainer.getItems()[0].hasStyleClass(\"sapThemeHighlight-asBorderColor\")){this._oCardContainer.getItems()[0].removeStyleClass(\"sapThemeHighlight-asBorderColor\")}else if(i){i.removeStyleClass(\"sapThemeHighlight-asBorderColor\")}if(e){setTimeout(function(){e.addStyleClass(\"sapThemeHighlight-asBorderColor\")},0);this._oHoCScrollContainer.scrollToElement(e);this._oHocChartCombo.focus();var a=e.getBindingContext(\"hocModel\").getPath();this._innerHocModel.setProperty(\"/selectedPath\",a);var s=a.split(\"/\");var n=s[s.length-1];var h=this._innerHocModel.getProperty(\"/aCards/\"+n);this._innerHocModel.setProperty(\"/oSelected\",e.getManifest());if(this.oConfCard){this.oConfCard=h;this._oPreviewCardHoC.refresh()}this._oHocChartCombo.setSelectedKey(e.getManifest()[\"sap.card\"].content.chartType)}};V.prototype._onChartTypePress=function(e){var t=e.getParameter(\"listItem\");if(t.getBindingContext(\"hocModel\")){var i=t.getBindingContext(\"hocModel\").getPath();var o=this._innerHocModel.getProperty(i);var r;var a=this._oCardContainer.getItems();var s=this._innerHocModel.getProperty(\"/selectedPath\");a.forEach(function(e){if(e.getBindingContext(\"hocModel\")){var t=e.getBindingContext(\"hocModel\").getPath();if(t===s&&s!==i){r=e}}});if(r){r.removeStyleClass(\"sapThemeHighlight-asBorderColor\")}this._innerHocModel.setProperty(\"/oSelected\",o);this._innerHocModel.setProperty(\"/selectedPath\",i);var n=i.split(\"/\");var h=n[n.length-1];var l=this._innerHocModel.getProperty(\"/aCards/\"+h);if(this.oConfCard){this.oConfCard=l;this._oPreviewCardHoCSD.refresh()}this._oHocChartCombo.setSelectedKey(o[\"sap.card\"].content.chartType)}};V.prototype.showHouseOfCardsDialog=function(){var e=this.getManifest();if(e){e=JSON.parse(e)}this._oManifest=e;if(this._bDesktop){this._bShowPreview=true}else{this._bShowPreview=false}if(!Object.keys(this._innerHocModel.getProperty(\"/oSelected\")).length){this._innerHocModel.setProperty(\"/selectedPath\",\"\");if(this._oChartTypeSearch){this._oChartTypeSearch.setValue(\"\");this._onChartTypeSearch()}this._createHouseOfCards()}else if(this._innerHocModel.getProperty(\"/selectedPath\")){this._setBorderStyleSelectedCard(this._innerHocModel.getProperty(\"/selectedPath\"))}};V.prototype._setBorderStyleSelectedCard=function(e){var t=this._oCardContainer.getItems();var i;t.forEach(function(t){if(t.getBindingContext(\"hocModel\")){var o=t.getBindingContext(\"hocModel\").getPath();if(e&&!i&&o===e){i=t}}});if(i){setTimeout(function(){i.addStyleClass(\"sapThemeHighlight-asBorderColor\")},0);i.focus()}};V.prototype.getChartTypeSearch=function(){return this._oChartTypeSearch};V.prototype._createHouseOfCards=function(){var e=this._oManifest;var t=e[\"sap.card\"].content.chartType;this._innerHocModel.setProperty(\"/sOriginalChartType\",t);this._innerHocModel.setProperty(\"/aCards\",[]);this._innerHocModel.setProperty(\"/aPreviewCards\",[]);var i=JSON.parse(JSON.stringify(e));var o=i[\"sap.card\"];var r=this._oCardContainer.getMetadata().getDefaultAggregation();var a=[],s=[];var n;this._oCardContainer.removeAllAggregation(r.name);if(o.type===\"Analytical\"){var h=e[\"sap.insights\"].allowedChartTypes;var l=[];if(h){this._innerHocModel.setProperty(\"/aAllowedChartTypes\",h);l=h.map(function(e){return e.key});var d=l.filter(function(e){return!!e});if(d.length===0){l=h.map(function(e){return e.chart})}}a=I.transformAnalyticalManifest(i,l)}a=a.filter(function(e){return!!e});if(a.length===0){a.push(i)}else{var c=a.findIndex(function(e){return e[\"sap.card\"].content.chartType===t});a.splice(c,1);a.unshift(i)}a.forEach(function(e){var t=JSON.parse(JSON.stringify(e));var i=x.getCardPreviewManifest(t);s.push(i)});this._innerHocModel.setProperty(\"/aCards\",a);this._innerHocModel.setProperty(\"/aPreviewCards\",s);if(!this._innerHocModel.getProperty(\"/selectedPath\")){this._oHoCScrollContainer.scrollTo(0);this._oChartTypeSearch.setValue(\"\");this._onChartTypeSearch()}if(!this._innerHocModel.getProperty(\"/oSelected\")||Object.keys(this._innerHocModel.getProperty(\"/oSelected\")).length===0){this._innerHocModel.setProperty(\"/oSelected\",s[0]);if(this.oConfCard){this.oConfCard=a[0]}this._innerHocModel.setProperty(\"/selectedPath\",\"/aPreviewCards/0\")}else{n=this._innerHocModel.getProperty(\"/oSelected\");n[\"sap.card\"].header.title=this.oConfCard[\"sap.card\"].header.title;n[\"sap.card\"].header.subTitle=this.oConfCard[\"sap.card\"].header.subTitle;this._oPreviewCardHoC.refresh()}n=this._innerHocModel.getProperty(\"/oSelected\");this._oHocChartCombo.setSelectedKey(n[\"sap.card\"].content.chartType)};V.prototype._adjustLayoutStyles=function(){var e=M.getDialogBasedDevice();this._bDesktop=e===B.DEVICE_TYPES.Desktop;if(this._bDesktop){this._oPreviewButton.setVisible(false);this._oHidePreviewButton.setVisible(false);this._oCardContainerFlex.setVisible(true);this._oPanelFlexCard.setVisible(false);this._oPanelFlexHoC.setVisible(false);this._oPreviewPanelCardContainer.setVisible(false);this._oPreviewPanelCardContainer.setVisible(false);this._oHocflexbox1.setWidth(this._bShowPreview?\"62%\":\"100%\");this._oPreviewCardHoCVBox.setVisible(false);this._oCardsTypeTable.getColumns()[0].setWidth(\"10%\");this._oCardsTypeTable.getColumns()[1].setWidth(\"90%\");this._oHocflexbox2.setVisible(true);this._oCardContainerFlex.getItems()[1].setVisible(true);this._oHoCScrollContainer.setVisible(true)}else{this._oPreviewButton.setVisible(!this._bShowPreview);this._oHidePreviewButton.setVisible(this._bShowPreview);this._oCardContainerFlex.setVisible(!this._bShowPreview);this._oCardContainerFlex.setHeight(!this._bShowPreview?\"4rem\":\"100%\");this._oPanelFlexCard.setVisible(true);this._oPanelFlexHoC.setVisible(true);this._oPreviewPanelCardContainer.setVisible(!this._bShowPreview);this._oPreviewCardHoCVBox.setVisible(this._bShowPreview);this._oHocflexbox1.setWidth(\"100%\");this._oCardsTypeTable.getColumns()[0].setWidth(\"20%\");this._oCardsTypeTable.getColumns()[1].setWidth(\"80%\");this._oHocflexbox2.setVisible(false);this._oCardContainerFlex.getItems()[1].setVisible(false)}this._setFocusOnElement();this.oParentPage.setTitle(this.getDialogTitle())};return V});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/manageCardPreview/Preview\", [\"sap/ui/layout/library\",\"sap/ui/core/Control\",\"sap/ui/layout/form/SimpleForm\",\"sap/m/Input\",\"sap/m/Label\",\"sap/m/Title\",\"sap/m/VBox\",\"sap/m/Page\",\"sap/m/FlexBox\",\"sap/m/ScrollContainer\",\"sap/m/Toolbar\",\"sap/m/OverflowToolbar\",\"sap/m/ToolbarSpacer\",\"sap/m/HBox\",\"sap/ui/integration/widgets/Card\",\"sap/m/Panel\",\"sap/m/Button\",\"../utils/DeviceType\",\"../utils/Transformations\",\"sap/ui/Device\",\"sap/m/MessageStrip\",\"../utils/AppConstants\",\"../utils/InsightsUtils\"],function(e,t,i,s,a,r,l,o,n,h,d,u,f,g,w,v,p,P,T,C,x,S,D){const{SimpleFormLayout:I}=e.form;var b=t.extend(\"sap.insights.manageCardPreview.Preview\",{metadata:{properties:{manifest:{type:\"string\",group:\"Behavior\",defaultValue:\"\"},cardMessageInfo:{type:\"object\",group:\"Appearance\",defaultValue:null},transformation:{type:\"boolean\",group:\"Behavior\",defaultValue:false},dialogTitle:{type:\"string\",defaultValue:\"\"}},aggregations:{_page:{type:\"sap.m.Page\",multiple:false,visibility:\"hidden\"}},events:{titleCheck:{parameters:{enableButton:{type:\"boolean\"}}}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t);e.style(\"height\",\"100%\");e.style(\"width\",\"100%\");e.openEnd();e.renderControl(t.getAggregation(\"_page\"));e.close(\"div\")}}});b.prototype.init=function(){this.bInitialPreviewLoad=true;this.i18Bundle=D.getResourceBundle();C.resize.attachHandler(this._adjustLayoutStyles.bind(this));this.oPreviewPageHeader=new u(this.getId()+\"--insightCardPreviewPage-header\",{});this.oPreviewPageTitle=new r(this.getId()+\"--insightCardPreviewTitle\",{text:this.i18Bundle.getText(\"INT_PREVIEW_POPOVER_BUTTON_TITLE\"),level:\"H1\"});this.oPreviewPage=new o(this.getId()+\"--insightCardPreviewPage\",{showSubHeader:true,backgroundDesign:\"List\",enableScrolling:false,headerContent:[],content:[],customHeader:[this.oPreviewPageHeader]}).addStyleClass(\"sapMPageBgStandard\");this.setAggregation(\"_page\",this.oPreviewPage);this.createStaticControls();this.oPreviewPageHeader.addContent(this.oPreviewPageTitle);this.oPreviewPageHeader.addContent(new f(this.getId()+\"--insightCardPreviewPage-headerSpacer\"));this.oPreviewPageHeader.addContent(this.oCardPreviewBtn);this.oPreviewPageHeader.addContent(this.oHideCardPreviewBtn);this.oPreviewPage.addContent(this.oDefaultVBox)};b.prototype.onBeforeRendering=function(){this.bShowCardPreview=false;this.oManifest=this.getManifest();if(this.oManifest){this.oManifest=JSON.parse(this.oManifest)}this.oTitleTextInput.setValue(this.oManifest[\"sap.card\"].header.title);this.oSubTitleTextInput.setValue(this.oManifest[\"sap.card\"].header.subTitle);this._formatTitle(this.oTitleTextInput.getValue());this._adjustLayoutStyles();this.oInsightsPreviewOverflowLayerSD.setVisible(this.oManifest[\"sap.card\"].type===\"Analytical\"?false:true);this.oInsightsCardOverflowLayer.setVisible(this.oManifest[\"sap.card\"].type===\"Analytical\"?false:true)};b.prototype.createStaticControls=function(){this.oCardPreviewBtn=new p(this.getId()+\"--cardPreviewId\",{text:this.i18Bundle.getText(\"INT_DIALOG_CardPreview\"),press:this._callPreview.bind(this),enabled:true});this.oHideCardPreviewBtn=new p(this.getId()+\"--hideCardPreviewId\",{text:this.i18Bundle.getText(\"INT_DIALOG_HidePreview\"),press:this._callClosePreview.bind(this),enabled:true});this.oDefaultTitle=new r(this.getId()+\"--defaultTitle\",{text:this.i18Bundle.getText(\"INT_CARD_TITLEINFO\"),level:\"H4\"}).addStyleClass(\"sapUiSmallMarginTop\");this.oDefaultSubText=new a(this.getId()+\"--defaultSubText\",{wrapping:true});this.oDefaultInfoVBox=new l(this.getId()+\"--defaultInfoVBox\",{direction:\"Column\",items:[this.oDefaultTitle,this.oDefaultSubText]}).addStyleClass(\"sapUiSmallMarginBegin sapUiSmallMarginEnd\");this.oLabelTitle=new a(this.getId()+\"--labelTitle\",{text:this.i18Bundle.getText(\"INT_Preview_CARDTITLE\"),required:true,labelFor:this.getId()+\"--titleTextInput\"}).addStyleClass(\"sapUiTinyMarginTop\");this.oTitleTextInput=new s(this.getId()+\"--titleTextInput\",{change:this._handleTitleChange.bind(this),required:true,ariaLabelledBy:[this.getId()+\"--invisibleText\",this.getId()+\"--defaultTitle\",this.getId()+\"--defaultSubText\",this.getId()+\"--labelTitle\"]});this.oLabelSubTitle=new a(this.getId()+\"--labelSubTitle\",{text:this.i18Bundle.getText(\"INT_Preview_SubTitleTitleField_Label\"),required:false,labelFor:\"subTitleTextInput\"}).addStyleClass(\"sapUiTinyMarginTop\");this.oSubTitleTextInput=new s(this.getId()+\"--subTitleTextInput\",{change:this._handleSubTitleChange.bind(this)});this.oSimpleForm=new i(this.getId()+\"--defaultPreviewForm\",{width:\"100%\",layout:I.ColumnLayout,editable:true,adjustLabelSpan:true,labelSpanXL:12,labelSpanL:12,labelSpanM:12,labelSpanS:12,content:[this.oLabelTitle,this.oTitleTextInput,this.oLabelSubTitle,this.oSubTitleTextInput]});this.oDefaultPreviewFormFlex=new l(this.getId()+\"--defaultPreviewFormFlex\",{height:\"100%\",width:\"100%\",items:[this.oSimpleForm]});this.oDefaultPreviewCardSD=new w(this.getId()+\"--defaultPreviewCardSD\",{manifestApplied:this._setAriaTextOnManifest.bind(this),width:\"19rem\",height:\"33rem\"}).addStyleClass(\"sapUiTinyMarginBeginEnd\");this.oInsightsPreviewOverflowInnerHBoxSD=new g(this.getId()+\"--insightsPreviewOverflowInnerHBoxSD\",{}).addStyleClass(\"insightsCardOverflowLayer insightsPreviewCardOverLay insightsPreviewOVPOverLayPositionSD\");this.oInsightsPreviewOverflowLayerSD=new g(this.getId()+\"--insightsPreviewOverflowLayerSD\",{height:\"0\",items:[this.oInsightsPreviewOverflowInnerHBoxSD]}).addStyleClass(\"sapMFlexBoxJustifyCenter\");this.oDefaultPreviewCardVBox=new l(this.getId()+\"--defaultPreviewCardVBox\",{width:\"100%\",height:\"100%\",alignItems:\"Center\",backgroundDesign:\"Transparent\",justifyContent:\"SpaceAround\",items:[this.oDefaultPreviewCardSD,this.oInsightsPreviewOverflowLayerSD]}).addStyleClass(\"sapUiSmallMarginTop sapUiTinyMarginBottom\");this.oDefaultPreviewScrollSD=new h(this.getId()+\"--defaultPreviewScrollSD\",{vertical:true,horizontal:false,height:\"100%\",content:[this.oDefaultPreviewCardVBox]});this.oDefaultPreviewFlexBox=new n(this.getId()+\"--defaultPreviewFlexBox\",{height:\"100%\",width:\"100%\",visible:false,justifyContent:\"Center\",items:[this.oDefaultPreviewScrollSD]});this.oMessageStrip=new x(this.getId()+\"--messageStripId\",{showIcon:true,showCloseButton:false}).addStyleClass(\"sapUiSmallMargin\");this.oCardMessageStrip=new l(this.getId()+\"--cardMessageId\",{items:[this.oMessageStrip]});this.oDefaultFlexBox=new n(this.getId()+\"--defaultFlexBox\",{height:\"100%\",direction:\"Column\",items:[this.oDefaultInfoVBox,this.oCardMessageStrip,this.oDefaultPreviewFormFlex,this.oDefaultPreviewFlexBox]});this.oDefaultPreviewCardText=new r(this.getId()+\"--defaultPreviewCardText\",{text:this.i18Bundle.getText(\"INT_DIALOG_TITLE_CardPreview\"),textAlign:\"Left\"}).addStyleClass(\"sapUiTinyMarginTop\");this.oDefaultPreviewHBox=new g(this.getId()+\"--defaultPreviewHBox\",{width:\"100%\",justifyContent:\"Start\",backgroundDesign:\"Transparent\",items:[this.oDefaultPreviewCardText]}).addStyleClass(\"sapUiTinyMarginBegin\");this.oDefaultPreviewToolBar=new d(this.getId()+\"--defaultPreviewToolBar\",{width:\"100%\",height:\"2.7rem\",style:\"Clear\",design:\"Auto\",content:[this.oDefaultPreviewHBox]}).addStyleClass(\"sapThemeBaseBG\");this.oInsightsCardOverflowInnerHBox=new g(this.getId()+\"--insightsCardOverflowInnerHBox\",{width:\"19rem\",height:\"2rem\"}).addStyleClass(\"insightsCardOverflowLayer insightsCardOverflowTop\");this.oDefaultPreviewCardLS=new w(this.getId()+\"--defaultPreviewCardLS\",{manifestApplied:this._setAriaTextOnManifest.bind(this),width:\"19rem\",height:\"33rem\"});this.oInsightsCardOverflowLayer=new g(this.getId()+\"--insightsCardOverflowLayer\",{height:\"0\",items:[this.oInsightsCardOverflowInnerHBox]}).addStyleClass(\"sapMFlexBoxJustifyCenter\");this.oDefaultPreviewVBox=new l(this.getId()+\"--defaultPreviewVBox\",{height:\"100%\",alignItems:\"Center\",backgroundDesign:\"Transparent\",justifyContent:\"SpaceAround\",items:[this.oDefaultPreviewCardLS,this.oInsightsCardOverflowLayer]});this.oDefaultPreviewPanel=new v(this.getId()+\"--defaultPreviewPanel\",{expanded:false,height:\"100%\",backgroundDesign:\"Transparent\",content:[this.oDefaultPreviewVBox]});this.oDefaultPreviewPanelFlex=new n(this.getId()+\"--defaultPreviewPanelFlex\",{height:\"calc(100% - 2.8rem)\",backgroundDesign:\"Transparent\",justifyContent:\"Center\",items:[this.oDefaultPreviewPanel]});this.oDefaultPreviewScroll=new h(this.getId()+\"--defaultPreviewScroll\",{vertical:true,horizontal:false,height:\"100%\",content:[this.oDefaultPreviewToolBar,this.oDefaultPreviewPanelFlex]});this.oPreviewFlexBox=new n(this.getId()+\"--defaultPreviewFlex\",{height:\"100%\",width:\"38%\",direction:\"Column\",renderType:\"Bare\",items:[this.oDefaultPreviewScroll]}).addStyleClass(\"sapMPageBgStandard\");this.oDefaultVBox=new l(this.getId()+\"--defaultVBox\",{height:\"100%\",width:\"100%\",direction:\"Row\",justifyContent:\"SpaceBetween\",items:[this.oDefaultFlexBox,this.oPreviewFlexBox]})};b.prototype.setPreviewModeOfCard=function(){var e=P.getDialogBasedDevice()===S.DEVICE_TYPES.Desktop;var t=e?this.oDefaultPreviewCardLS:this.oDefaultPreviewCardSD;if(t&&this.getTransformation()&&(this.oManifest[\"sap.card\"].type===\"Table\"||this.oManifest[\"sap.card\"].type===\"List\")){t.setPreviewMode(\"Abstract\")}else{t.setPreviewMode(\"Off\")}};b.prototype._setCardMessageInfo=function(){var e=this.getCardMessageInfo();if(e&&e.text&&e.text.trim()!==\"\"){if(P.getDialogBasedDevice()===S.DEVICE_TYPES.Desktop){this.oCardMessageStrip.setVisible(true)}else{this.oCardMessageStrip.setVisible(this.bShowCardPreview?false:true)}if(this.oMessageStrip){this.oMessageStrip.setText(e.text);this.oMessageStrip.setType(e.type)}}else{e=null;this.oCardMessageStrip.setVisible(false)}};b.prototype._callPreview=function(){this.bShowCardPreview=true;this.oCardPreviewBtn.setVisible(false);this.oHideCardPreviewBtn.setVisible(true);this.oDefaultInfoVBox.setVisible(false);this.oDefaultPreviewFormFlex.setVisible(false);this.oDefaultPreviewFlexBox.setVisible(true);if(P.getDialogBasedDevice()===S.DEVICE_TYPES.Desktop){this.oDefaultPreviewCardLS.refresh()}else{this.oDefaultPreviewCardSD.refresh()}this._setCardMessageInfo()};b.prototype._callClosePreview=function(){this.bShowCardPreview=false;this.oCardPreviewBtn.setVisible(true);this.oHideCardPreviewBtn.setVisible(false);this.oDefaultInfoVBox.setVisible(true);this.oDefaultPreviewFormFlex.setVisible(true);this.oDefaultPreviewFlexBox.setVisible(false);this._setCardMessageInfo()};b.prototype._handleTitleChange=function(e){var t=e.getSource();var i=t.getValue().trim();var s;if(P.getDialogBasedDevice()===S.DEVICE_TYPES.Desktop){s=this.oDefaultPreviewCardLS}else{s=this.oDefaultPreviewCardSD}if(s.getCardHeader()){this.oManifest[\"sap.card\"].header.title=i;this.bInitialPreviewLoad=true}if(i){t.setValueState(\"None\");t.setValueStateText(\"\");this.fireTitleCheck({enableButton:true})}else{t.setValueState(\"Error\");t.setValueStateText(this.i18Bundle.getText(\"INT_Preview_Title_ValueStateText\"));this.fireTitleCheck({enableButton:false})}this.setManifest(JSON.stringify(this.oManifest));s.refresh()};b.prototype._handleSubTitleChange=function(e){var t=e.getSource();var i=t.getValue();var s;if(P.getDialogBasedDevice()===S.DEVICE_TYPES.Desktop){s=this.oDefaultPreviewCardLS}else{s=this.oDefaultPreviewCardSD}if(s.getCardHeader()){this.oManifest[\"sap.card\"].header.subTitle=i;this.bInitialPreviewLoad=true}s.refresh();this.setManifest(JSON.stringify(this.oManifest))};b.prototype._adjustLayoutStyles=function(){if(P.getDialogBasedDevice()!==S.DEVICE_TYPES.Desktop){if(this.bShowCardPreview){this.oDefaultInfoVBox.setVisible(false);this.oDefaultPreviewFormFlex.setVisible(false);this.oDefaultPreviewFlexBox.setVisible(true);this.oCardPreviewBtn.setVisible(false);this.oHideCardPreviewBtn.setVisible(true)}else{this.oDefaultPreviewFlexBox.setVisible(false);this.oDefaultInfoVBox.setVisible(true);this.oDefaultPreviewFormFlex.setVisible(true);this.oCardPreviewBtn.setVisible(true);this.oHideCardPreviewBtn.setVisible(false)}this.oPreviewFlexBox.setVisible(false);this.oDefaultPreviewCardSD.setManifest(this._setCardTypeForColumn(this.oManifest));this.oDefaultPreviewCardSD.refresh();this.oDefaultPreviewFormFlex.setWidth(\"100%\");this.oDefaultFlexBox.setWidth(\"100%\")}else{this.oPreviewFlexBox.setVisible(true);this.oDefaultInfoVBox.setVisible(true);this.oDefaultPreviewFormFlex.setVisible(true);this.oDefaultPreviewFlexBox.setVisible(false);this.oCardPreviewBtn.setVisible(false);this.oHideCardPreviewBtn.setVisible(false);this.oDefaultPreviewFormFlex.setWidth(\"50%\");this.oDefaultFlexBox.setWidth(\"62%\");this.oDefaultPreviewCardLS.setManifest(this._setCardTypeForColumn(this.oManifest));this.oDefaultPreviewCardLS.refresh()}this._setCardMessageInfo();this.oPreviewPage.setTitle(this.getDialogTitle())};b.prototype._setCardTypeForColumn=function(e){if(e[\"sap.card\"].type===\"Table\"&&this.bInitialPreviewLoad&&this.getTransformation()){var t=T.createTableOptions(e);var i=t.filter(function(e){return e[\"sap.card\"].type===\"List\"});if(i.length){e=i[0]}this.bInitialPreviewLoad=false}return e};b.prototype._setAriaTextOnManifest=function(e){var t=e.getSource()._ariaText.getText();var i=this.i18Bundle.getText(\"INT_DIALOG_TITLE_CardPreview\");e.getSource()._ariaText.setText(i+t)};b.prototype._formatTitle=function(e){var t=this.oTitleTextInput;if(e&&e.trim()){t.setValueState(\"None\");t.setValueStateText(\"\");this.fireTitleCheck({enableButton:true})}else{t.setValueState(\"Error\");t.setValueStateText(this.i18Bundle.getText(\"INT_Preview_Title_ValueStateText\"));this.fireTitleCheck({enableButton:false})}};return b});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/manageCards/CardDetails\", [\"sap/ui/core/Control\",\"sap/m/FlexBox\",\"sap/m/VBox\",\"sap/m/HBox\",\"sap/m/ScrollContainer\",\"sap/m/Title\",\ Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/TimelineNavigator\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/base/assert\",\"sap/ui/dom/containsOrEquals\",\"sap/ui/events/KeyCodes\"],function(jQuery,t,e,i,s){\"use strict\";function o(t,e){var i=t.length-e.length;return i>=0&&t.lastIndexOf(e)===i}var n=t.extend(\"sap.suite.ui.commons.TimelineNavigator\",{constructor:function(e,i,s,o){t.apply(this,arguments);this.setDisabledModifiers({sapnext:[\"alt\"],sapprevious:[\"alt\"]});this.setCycling(false);this._aRows=o;this.iActiveTabIndex=0;this.iTabIndex=0;this.bRefocusOnNextUpdate=false;this.oLastFocused=null}});n.prototype.updateReferences=function(t,e,i){this.oDomRef=t;this.setItemDomRefs(e);this._aRows=i;if(this.bRefocusOnNextUpdate){this._refocusItem();this.bRefocusOnNextUpdate=false}this.setBeforeAfterTabIndex()};n.prototype.refocusOnNextUpdate=function(){this.bRefocusOnNextUpdate=true};n.prototype._refocusItem=function(){var t=this.iFocusedIndex;if(t<0){return}while(!jQuery(this.aItemDomRefs[t]).is(\":visible\")){t++;if(t>=this.aItemDomRefs.length){t=0}if(t===this.iFocusedIndex){break}}setTimeout(function(){if(this.aItemDomRefs){this.focusItem(t)}}.bind(this),0)};n.prototype.setItemDomRefs=function(t){e(Array.isArray(t),\"aItemDomRefs must be an array of DOM elements\");this.aItemDomRefs=t;if(this.iFocusedIndex>t.length-1){this.iFocusedIndex=t.length-1}for(var i=0;ithis.aItemDomRefs.length-1){t=this.aItemDomRefs.length-1}if(this.iFocusedIndex!==-1&&this.aItemDomRefs.length>this.iFocusedIndex){jQuery(this.aItemDomRefs[this.iFocusedIndex]).attr(\"tabIndex\",this.iTabIndex);e=jQuery(this.aItemDomRefs[this.iFocusedIndex]);if(e.data(\"sap.INRoot\")&&t!=this.iFocusedIndex){jQuery(e.data(\"sap.INRoot\").aItemDomRefs[e.data(\"sap.INRoot\").iFocusedIndex]).attr(\"tabIndex\",this.iTabIndex)}}this.iFocusedIndex=t;var i=this.aItemDomRefs[this.iFocusedIndex];e=jQuery(this.aItemDomRefs[this.iFocusedIndex]);if(!e.data(\"sap.INRoot\")){jQuery(i).attr(\"tabIndex\",this.iActiveTabIndex)}return this};n.prototype._callParent=function(e,i){if(typeof t.prototype[e]===\"function\"){t.prototype[e].apply(this,i)}};n.prototype._onF7=function(t){if(!i(this.oDomRef,t.target)){return}var e=this.getFocusedIndex();if(e>=0){this.focusItem(e,t);t.preventDefault();t.stopPropagation()}};n.prototype.onsapspace=function(t){this.onsapenter(t)};n.prototype.onsapenter=function(t){var e,i;if(this._skipNavigation(t,false,true)){return}i=jQuery(this.getFocusedDomRef());e=i.attr(\"id\");if(o(e,\"-outline\")){if(i.hasClass(\"sapSuiteUiCommonsTimelineGroupHeaderMainWrapper\")){e=e.substr(0,e.length-\"outline\".length)+\"groupCollapseIcon\";i.find(\"#\"+e).keyup()}else{i.find(\"div[role='toolbar']\").children().first().mousedown().mouseup().click();this.fireEvent(\"Enter\",{domRef:i.get(0)})}t.preventDefault();t.stopPropagation()}};n.prototype.onsaphome=function(t){if(this.aItemDomRefs.length===0){return}if(this._skipNavigation(t,false,false)){return}this._callParent(\"onsaphome\",arguments)};n.prototype.onkeydown=function(t){this._callParent(\"onkeydown\",arguments);if(t.keyCode===s.F7){this._onF7(t)}};n.prototype.onmousedown=function(t){var e=t.target;var s=function(t,e){var i=false;var s=jQuery(t);while(!s.is(\":sapFocusable\")&&s.get(0)!=e){s=s.parent()}if(s.get(0)!=e){i=true}return i};if(i(this.oDomRef,e)){for(var o=0;o=this._aRows.length){if(n.iX+1>=this._aRows[this._aRows.length-1].length){return}n.iY=0;n.iX++}}else{n.iX++;if(n.iX>=this._aRows[n.iY].length){if(n.iY+1>=this._aRows.length){return}n.iX=0;n.iY++}}if(n.iX===o.iX&&n.iY===o.iY){if(i){i=false}else{return}}a=this._aRows[n.iY][n.iX]}while(!a||!jQuery(a).is(\":sapFocusable\"));e=this._findIndex(n);this.focusItem(e,t)};n.prototype.onsapprevious=function(t){var e,i=true,o,n,a;if(!this._aRows){this._callParent(\"onsapprevious\",arguments);return}if(this._skipNavigation(t,true,false)){return}t.preventDefault();t.stopPropagation();if(this.getFocusedIndex()<0){return}o=this._findPosition(this.iFocusedIndex);if(o===null){throw new Error(\"TimelineNavigation cannot obtain a position of focused item and hance it cannot senect next.\")}n=Object.assign({},o);do{if(t.keyCode===s.ARROW_UP){n.iY--;if(n.iY<0){if(n.iX<=0){return}n.iY=this._aRows.length-1;n.iX--}}else{n.iX--;if(n.iX<0){if(n.iY<=0){return}n.iX=this._aRows[n.iY].length-1;n.iY--}}if(n.iX===o.iX&&n.iY===o.iY){if(i){i=false}else{return}}a=this._aRows[n.iY][n.iX]}while(!a||!jQuery(a).is(\":sapFocusable\"));e=this._findIndex(n);this.focusItem(e,t)};n.prototype._isInDomRefs=function(t){return this.aItemDomRefs.indexOf(t)>-1};n.prototype._isInTimeline=function(t){while(t){if(this._isInDomRefs(t)){return true}t=t.parentElement}return false};n.prototype._hasTabbableChildren=function(t){if(t&&t.tabIndex>=0){return true}var e=this;if(t&&t.childElementCount>0){t.childNodes.forEach(function(t){return e._hasTabbableChildren(t)})}return false};n.prototype._isLastChildInTimeline=function(t){return this._isInTimeline(t.target)&&!this._hasTabbableChildren(t.target)};n.prototype.onsaptabnext=function(t){if(t.target.id&&this._isLastChildInTimeline(t)){var e=this.oDomRef.id+\"-after\";jQuery(window.document.getElementById(e)).focus()}};n.prototype.onsaptabprevious=function(t){if(this._isInDomRefs(t.target)){var e=this.oDomRef.id+\"-before\";jQuery(window.document.getElementById(e)).focus()}};n.prototype.onfocusin=function(t){if(this._isInTimeline(t.target)){this.oLastFocused=t.target}if(!t.relatedTarget||!this._isInTimeline(t.relatedTarget)){if(this._isInTimeline(t.target)&&this.oLastFocused&&this.oLastFocused!==t.target){jQuery(this.oLastFocused).focus()}}};n.prototype._findPosition=function(t){var e,i,s=this.aItemDomRefs[t];for(i=0;i li\").not(\".sapSuiteUiCommonsTimelineGroupHeader\");n.eq(1).css(\"margin-top\",this._renderDblSided?\"40px\":\"auto\");for(var a=0;a=M;if(this._renderDblSided!==this._lastStateDblSided||e){this._performDoubleSidedChanges()}this._lastStateDblSided=this._renderDblSided}this._calculateTextHeight();this._calculateHeightV()};e.prototype._calculateHeightV=function(){var e=this.$(),t=this.$(\"headerBar\").outerHeight()||0,i=this.$(\"filterMessage\").outerHeight()||0,s=this.$(\"messageStrip\").outerHeight()||0,r=s+i+t,o=function(e,t){var i,s,r,o,n,a,l,m=e.length,p=this.getShowIcons()?\".sapSuiteUiCommonsTimelineItemBarIconWrapperV:visible\":\".sapSuiteUiCommonsTimelineItemNoIcon:visible\",c=t.length>0?t.find(p+\", .sapSuiteUiCommonsTimelineItemBarIconWrapperV:visible\").eq(0):jQuery(),g=8;for(var u=0;u0&&n.length>0){a=r.offset().top;l=n.offset().top+n.height();o=s.find(\".sapSuiteUiCommonsTimelineItemBarV\");g=8;o.height(a-l-g)}}},n=function(e){var t,i,s,r,o,n=40,a=100,l=function(){var e=H(s,\"margin-top\")+s.position().top+s.height()-t.position().top;i.css(\"margin-bottom\",e+n+\"px\")};for(var m=2;ma){l()}else{var p=t.position().top-i.position().top,c=H(s,\"margin-bottom\");if(p li:not(.sapSuiteUiCommonsTimelineGroupHeader):visible\");c.css(\"margin-bottom\",\"\");n.call(this,c,m);o.call(this,c,p)}}};e.prototype._performResizeChanges=function(){this._performUiChanges()};e.prototype._calculateTextHeight=function(){var e=this.$(),t=this.getTextHeight(),i,s,r=function(t,i){e.find(\".sapSuiteUiCommonsTimelineItemTextWrapper:visible\").each(function(e,s){var r=jQuery(s),o=r.children().first(),n=o.get(0).getClientRects(),a=0,l=0,m,p=-1e5,c=0,g=E.getText(\"TIMELINE_TEXT_SHOW_MORE\"),u=r.attr(\"expanded\");u=u==\"true\";r.height(\"auto\");r.css(\"-webkit-line-clamp\",\"\");if(n&&n.length>0){m=n[0].top;c=0;for(var f=0;f0&&n[f+1].bottom-m>t){l=c;a=n[f].bottom-m;break}if(i>0&&c===i){a=n[f].bottom-n[0].top;l=i;break}}}if(!u){if(a>0){r.height(a);r.css(\"-webkit-line-clamp\",l.toString());r.next().show()}else if(!r.attr(\"expandable\")){r.next().hide()}}else{for(var h=f;h0&&cn.height){n.height=i;n.item=jQuery(this)}});if(n.item){a=n.item.parent().find(\".sapSuiteUiCommonsTimelineItemShowMore:hidden\").height();return n.height-o-a-l}return 1};if(t){if(this._useAutomaticHeight()){n(a.call(this))}else if(Number.isFinite(Number(t))){o(t)}else{i=/([0-9]*\\.?[0-9]+)(px)+/i;s=i.exec(t);if(s&&s.length>1){n(s[1])}else if(x.isValid(t)){e.find(\".sapSuiteUiCommonsTimelineItemTextWrapper\").height(t)}}}};e.prototype._fixScrollerPositionH=function(){var e=this.$(),t=e.find(\".sapSuiteUiCommonsTimelineHorizontalMiddleLine\"),i=e.find(\".sapSuiteUiCommonsTimelineHorizontalScroller\"),s,r=this._$content.position().top;if(t.get(0)){s=t.position().top;e.find(\".sapSuiteUiCommonsTimelineScrollerIconWrapper\").css(\"top\",s-5+\"px\");i.css(\"top\",r+\"px\");i.height(this._$content.outerHeight()-15)}};e.prototype._setupScrollers=function(){var e=this.$(),t=450,i=\"rgba(0, 0, 0, 0)\",s,r,o,n,a,l,m,p,c,g,u,f,h,d=function(e){var t=i;e.parents().each(function(e,s){var r=jQuery(s).css(\"background-color\"),o=jQuery(s).css(\"background-image\");if(o!==\"none\"){t=i;return}if(r!==i&&r!==\"transparent\"){t=r}});return t};if(this._scrollingFadeout()){s=this._isVertical()?e.height():e.width();if(s=4){n=parseInt(o[1],10);a=parseInt(o[2],10);l=parseInt(o[3],10);m=\"rgba(\"+n+\",\"+a+\",\"+l+\", 0)\";c=\"rgba(\"+n+\",\"+a+\",\"+l+\", 0.7)\";p=\"rgba(\"+n+\",\"+a+\",\"+l+\", 1)\";g=e.find(\".sapSuiteUiCommonsTimelineHorizontalLeftScroller, .sapSuiteUiCommonsTimelineTopScroller \");u=e.find(\".sapSuiteUiCommonsTimelineHorizontalRightScroller, .sapSuiteUiCommonsTimelineBottomScroller\");f=this._isVertical()?\"top\":\"left\";h=this._isVertical()?\"bottom\":\"right\";g.css(\"background-image\",\"linear-gradient(to \"+f+\", \"+m+\", \"+p+\")\");u.css(\"background-image\",\"linear-gradient(to \"+h+\", \"+m+\", \"+p+\")\");g.css(\"background-image\",\"-webkit-linear-gradient(\"+h+\", \"+m+\", \"+c+\" 30%,\"+p+\")\");u.css(\"background-image\",\"-webkit-linear-gradient(\"+f+\", \"+m+\", \"+c+\" 30%,\"+p+\")\");this._scrollersSet=true;if(this.getContent().length>0){if(!this._isVertical()&&this._$content.get(0).scrollWidth>this._$content.outerWidth()||this._isVertical()&&this._$content.get(0).scrollHeight>this._$content.outerHeight()){u.show()}}}}else{e.find(\".sapSuiteUiCommonsTimelineHorizontalScroller\").hide()}}if(!this._isVertical()){this._fixScrollerPositionH()}}};e.prototype._setupScrollEvent=function(){var e=this.$(),t=e.find(\".sapSuiteUiCommonsTimelineHorizontalLeftScroller .sapSuiteUiCommonsTimelineScrollerIconWrapper, .sapSuiteUiCommonsTimelineTopScroller .sapSuiteUiCommonsTimelineScrollerIconWrapper\"),i=e.find(\".sapSuiteUiCommonsTimelineHorizontalRightScroller .sapSuiteUiCommonsTimelineScrollerIconWrapper, .sapSuiteUiCommonsTimelineBottomScroller .sapSuiteUiCommonsTimelineScrollerIconWrapper\"),s=e.find(\".sapSuiteUiCommonsTimelineHorizontalLeftScroller, .sapSuiteUiCommonsTimelineTopScroller\"),r=e.find(\".sapSuiteUiCommonsTimelineHorizontalRightScroller, .sapSuiteUiCommonsTimelineBottomScroller\"),o=this._$content,n=this;if(n._lazyLoading()||n._scrollingFadeout()){o.on(\"scroll\",function(e){var o=jQuery(e.currentTarget),a=o.get(0).scrollLeft,l=o.get(0).scrollTop,m=false,p=200,c=5,g=false,u,f,h,d,_;if(n._isVertical()){u=o.outerHeight();f=o.get(0).scrollHeight;g=l+u>f-p;m=l+u>=f-c}else{h=o.width();d=o.get(0).scrollWidth;g=a+h>d-p;m=a+h>=d-c-185}if(n._lazyLoading()&&n._scrollMoreEvent){if(g&&!n._isMaxed()){n._scrollMoreEvent=false;n._loadMore()}}if(n._scrollersSet){if(a>50||l>50){s.show()}else{s.hide();n._manualScrolling=false}if(m){r.hide()}else{r.show()}var S;if(n._isVertical()){S=o.get(0).scrollTop;_=S>n._lastScrollPosition.y?i:t;n._lastScrollPosition.y=S}else{S=o.get(0).scrollLeft;_=S>n._lastScrollPosition.x?i:t;n._lastScrollPosition.x=S}_.addClass(\"sapSuiteUiCommonsTimelineScrolling\");clearTimeout(jQuery.data(this,\"scrollTimer\"));jQuery.data(this,\"scrollTimer\",setTimeout(function(){t.removeClass(\"sapSuiteUiCommonsTimelineScrolling\");i.removeClass(\"sapSuiteUiCommonsTimelineScrolling\")},350))}});this.$().find(\".sapSuiteUiCommonsTimelineScrollerIconWrapper\").on(\"mousedown\",function(e){var t=90,i=jQuery(this).hasClass(\"sapSuiteUiCommonsTimelineScrollerIconWrapperLeft\")||jQuery(this).hasClass(\"sapSuiteUiCommonsTimelineScrollerIconWrapperTop\")?-t:t;n._manualScrolling=true;n._performScroll(i)});this.$().find(\".sapSuiteUiCommonsTimelineScrollerIconWrapper\").on(\"mouseup\",function(){n._manualScrolling=false}).on(\"mouseout\",function(){n._manualScrolling=false})}if(this.getEnableScroll()&&!n._isVertical()){this._$content.on(\"wheel\",function(e){if(e.originalEvent.deltaX){return}var t=e.originalEvent.deltaY,i=30;if(ti*-1){t=t>0?i:i*-1}this.scrollLeft+=t*2});e.find(\".sapSuiteUiCommonsTimelineHorizontalScroller, .sapSuiteUiCommonsTimelineVerticalScroller\").on(\"wheel\",function(e){var t=e.originalEvent.deltaY;if(n._isVertical()){n._$content.get(0).scrollTop+=t*2}else{n._$content.get(0).scrollLeft+=t*2}})}};e.prototype._setupMessageStrip=function(){var e=this;this._objects.register(\"messageStrip\",function(){return new h(e.getId()+\"-messageStrip\",{close:function(){e.setCustomMessage(\"\");e.fireCustomMessageClosed()},showCloseButton:true})});this._objects.register(\"filterMessageText\",function(){return new t(e.getId()+\"-filterMessageText\",{})});this._objects.register(\"filterMessage\",function(){var t=e._objects.getFilterMessageText(),s,r;r=new i(e.getId()+\"filterMessageIcon\",{src:\"sap-icon://decline\",decorative:false,press:[e._clearFilter,e]});r.setTooltip(E.getText(\"TIMELINE_CLEAR_ICN_TOOLTIP\"));s=new l(e.getId()+\"-filterMessage\",{design:\"Info\",content:[t,new n,r]});s.addStyleClass(\"sapSuiteUiCommonsTimelineFilterInfoBar\");s.setHeight(\"auto\");return s})};e.prototype._setMessageBars=function(e){var t=this._getFilterMessage();if(t){e.addChild(this._objects.getFilterMessage());this._objects.getFilterMessageText().setText(t);this._objects.getFilterMessageText().setTooltip(t)}};e.prototype._setupRangeFilterPage=function(){var e=this;this._rangeFilterType=null;this._objects.register(\"timestampFilterPicker\",function(){return new v(e.getId(),{dateChanged:function(t){var i=t.getSource(),s=i.getStartDate()||e._minDate,r=i.getEndDate()||e._maxDate;e._filterDialogRangePage.setFilterCount(+(s!==e._minDate||r!==e._maxDate))}},undefined,E,e._objects)});this._objects.register(\"timeFilterSelect\",function(){var t=new m(e.getId()+\"-timeFilterSelect\",{ariaLabelledBy:e._objects.getRangeTypeLbl().getId(),change:function(t){e._rangeFilterType=t.getParameter(\"selectedItem\").getProperty(\"key\");e.toggleGroupTypeSelector(e._rangeFilterType);e._setRangeFilter();var i=e._objects.getFilterContent()._getDialog();var s=i.getBeginButton();s.setEnabled(true);if(e._objects.getTimeFilterSelect().getSelectedItem().getText()===E.getText(\"TIMELINE_CUSTOM_RANGE\")){e._objects.getTimestampFilterPicker()._checkDatePickerStatus()}},items:[new o({text:E.getText(\"TIMELINE_YEAR\"),key:R.Year}),new o({text:E.getText(\"TIMELINE_QUARTER\"),key:R.Quarter}),new o({text:E.getText(\"TIMELINE_MONTH\"),key:R.Month}),new o({text:E.getText(\"TIMELINE_DAY\"),key:R.Day}),new o({text:E.getText(\"TIMELINE_CUSTOM_RANGE\"),key:R.None})]});t.addStyleClass(\"sapSuiteUiCommonsTimelineRangeSelect\");return t});this._objects.register(\"timeRangeSlider\",function(){var t=function(t){if(typeof t===\"string\"){t=Number(t)}var i=e._fnAddDate(t);return e._formatGroupBy(i,e._rangeFilterType).title};var i=new U;i.getLabel=t;var s=new p(e.getId()+\"-timeRangeSlider\",{enableTickmarks:true,visible:false,showAdvancedTooltip:true,step:1,change:function(t){var i=s.getMin(),r=s.getMax(),o=s.getRange();e._filterDialogRangePage.setFilterCount(+(o[0]!==i||o[1]!==r))},customTooltips:[new y({mapFunction:t}),new y({mapFunction:t,fetchValue2:true})],scale:i});s.addStyleClass(\"sapSuiteUiCommonsTimelineRangeFilter\");return s});this._objects.register(\"rangeTypeLbl\",function(){return new c(e.getId()+\"-rangeTypeLbl\",{text:E.getText(\"TIMELINE_GROUP_BY_PERIOD\")+\":\"})});this._objects.register(\"rangeTypePanel\",function(){var t=new g(e.getId()+\"-rangeTypePanel\",{content:[e._objects.getRangeTypeLbl(),e._objects.getTimeFilterSelect()]});t.addStyleClass(\"sapSuiteUiCommonsTimelineRangeFilterPanel\");t.addStyleClass(\"sapSuiteUiCommonsTimelineRangeFilterPanelShadowed\");return t});this._objects.register(\"rangePanel\",function(){return new u(e.getId()+\"rangePanel\",{direction:\"Column\",items:[e._objects.getRangeTypePanel(),e._objects.getTimeRangeSlider(),e._objects.getTimestampFilterPicker().getTimestampPanelRadio(),e._objects.getTimestampFilterPicker().getTimestampPanelPicker()]})})};e.prototype._setupFilterFirstPage=function(e){if(e){e.removeAllAggregation(\"filterItems\");if(this.getShowItemFilter()){e.addAggregation(\"filterItems\",new d({key:\"items\",text:this._getFilterTitle()}))}if(this.getShowTimeFilter()){this._filterDialogRangePage=new _({key:\"range\",text:E.getText(\"TIMELINE_RANGE_SELECTION\"),customControl:[this._objects.getRangePanel()]});e.addAggregation(\"filterItems\",this._filterDialogRangePage)}}};e.prototype._setupFilterDialog=function(){var e=this;this._setupRangeFilterPage();this._objects.register(\"filterContent\",function(){var t,i,r=function(t){if(!e._filterState.data){e._setFilterList();t.removeAllItems();e._aFilterList.forEach(function(i){var s=jQuery.grep(e._currentFilterKeys,function(e){return i.key===e.key}).length>0;t.addItem(new d({key:i.key,text:i.text,selected:s}))})}e._filterState.data=true},o=function(){b.show(E.getText(\"TIMELINE_NO_LIMIT_DATA\"))},n=function(){if(!e._filterState.range){a.setBusy(true);e._getTimeFilterData().then(function(){a.setBusy(false);if(!e._minDate||!e._maxDate||(!(e._minDate instanceof Date)||!(e._maxDate instanceof Date))){o();return}if(!e._rangeFilterType){e._rangeFilterType=e._calculateRangeTypeFilter()}if(!e._startDate&&!e._endDate){e._setRangeFilter()}else{var s=e._objects.getTimeRangeSlider(),r=e._fnDateDiff(e._rangeFilterType),n=s.getMin(),l=s.getMax();if(l-n!==r){e._setRangeFilter()}t=e._fnDateDiff(e._rangeFilterType,e._minDate,e._startDate);i=e._fnDateDiff(e._rangeFilterType,e._minDate,e._endDate);s.setRange([t,i])}e.toggleGroupTypeSelector(e._rangeFilterType);e._objects.getTimeFilterSelect().setSelectedKey(e._rangeFilterType)}).catch(function(){a.setBusy(false);o()});e._filterState.range=true}},a=new s(e.getId()+\"-filterContent\",{confirm:function(t){var i=t.getParameter(\"filterItems\"),s,r,o,n,a;e._currentFilterKeys=i.map(function(e){return{key:e.getProperty(\"key\"),text:e.getProperty(\"text\")}});e._startDate=null;e._endDate=null;if(e._objects.getTimestampFilterPicker().getVisible()){var l=e._objects.getTimestampFilterPicker().getStartDate()||e._minDate,m=e._objects.getTimestampFilterPicker().getEndDate()||e._maxDate;if(l!==e._minDate||m!==e._maxDate){e._startDate=l;e._endDate=m;a=true}}else{s=e._objects.getTimeRangeSlider();n=s.getRange();r=s.getMin();o=s.getMax();if(n[0]!==r||n[1]!==o){e._startDate=e._fnAddDate(Math.min.apply(null,n),P.DOWN);e._endDate=e._fnAddDate(Math.max.apply(null,n),P.UP);a=true}}e._filterData(a)},resetFilters:function(t){var i=e._objects.getTimeRangeSlider();i.setValue(i.getMin());i.setValue2(i.getMax());e._filterDialogRangePage.setFilterCount(0);e._objects.getTimestampFilterPicker().clearDates();if(e._rangeFilterType==\"None\"){e.toggleGroupTypeSelector(e._rangeFilterType)}},filterDetailPageOpened:function(e){var t=e.getParameter(\"parentFilterItem\").getProperty(\"key\");if(t===\"items\"){r(e.getParameter(\"parentFilterItem\"))}if(t===\"range\"){n()}}});e._setupFilterFirstPage(a);return a})};e.prototype._setupHeaderToolbar=function(){var e=this,t=function(t){e._objects.register(t.name,function(){var i=new f(e.getId()+\"-\"+t.name,{type:L.Transparent,icon:t.icon,tooltip:t.tooltip,press:t.fnPress});i.setLayoutData(new S({priority:t.priority}));return i})};t({name:\"filterIcon\",icon:\"sap-icon://add-filter\",tooltip:E.getText(\"TIMELINE_FILTER_BY\"),fnPress:[e._openFilterDialog,e],priority:w.NeverOverflow,visible:e.getShowItemFilter()||e.getShowTimeFilter()});t({name:\"sortIcon\",icon:\"sap-icon://arrow-bottom\",tooltip:E.getText(\"TIMELINE_SORT\"),fnPress:[e._sortClick,e],priority:w.High,visible:e.getSort()&&e.getShowSort()});var i=new n;this._objects.register(\"searchFieldLabel\",function(){return new C(e.getId()+\"-searchFieldLabel\",{text:E.getText(\"TIMELINE_ACCESSIBILITY_SEARCH\")})});this._objects.register(\"searchField\",function(){var t=new a(e.getId()+\"-searchField\",{width:\"14rem\",ariaLabelledBy:e._objects.getSearchFieldLabel().getId(),search:function(t){e._search(t.getSource().getValue())},visible:e.getShowSearch()});t.setLayoutData(new S({priority:w.Low}));return t});this._objects.register(\"headerBar\",function(){var t=[i,e._objects.getSearchFieldLabel(),e._objects.getSearchField(),e._objects.getSortIcon(),e._objects.getFilterIcon()];var s=new l(e.getId()+\"-headerBar\",{content:t,visible:e.getShowHeaderBar()});s.addStyleClass(\"sapSuiteUiCommonsTimelineHeaderBar\");s.setParent(e);return s})};e.prototype._setupAccessibilityItems=function(){var e=this;this._objects.register(\"accessibilityTitle\",function(){return new C(e.getId()+\"-accessibilityTitle\",{text:E.getText(\"TIMELINE_ACCESSIBILITY_TITLE\")})})};e.prototype.toggleGroupTypeSelector=function(e){var t=e!==R.None;this._objects.getTimestampFilterPicker().setVisible(!t);this._objects.getTimeRangeSlider().setVisible(t)}}};return V},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/TimelineRenderManagerTimestamp\", [\"sap/ui/base/ManagedObject\",\"sap/m/RadioButtonGroup\",\"sap/m/RadioButton\",\"sap/m/Panel\",\"sap/m/DateTimePicker\",\"sap/m/Label\",\"sap/ui/core/library\",\"sap/ui/core/date/UI5Date\"],function(e,t,i,a,n,s,o,r){\"use strict\";var l=o.ValueState;var g={RANGE:0,START:1,END:2};var u=e.extend(\"sap.suite.ui.commons.TimelineRenderManagerTimestamp\",{constructor:function(t,i,a,n,s){var o;var r;this.getText=n.getText.bind(n);this.oObject=s;this.getTimestampPanelPicker=function(){if(!o){o=this._createTimestampPanelPicker()}return o};this.getTimestampPanelRadio=function(){if(!r){r=this._createTimestampPanelRadio()}return r};e.call(this,t,i,a);this.setVisible(false)},metadata:{events:{dateChanged:{}}}});u.prototype._createTimestampPanelPicker=function(){var e=this.getId()+\"-timestamp-panel-picker\";var t;var i=new s({text:this.getText(\"TIMELINE_FROM\")+\":\"});var o=new s({text:this.getText(\"TIMELINE_TO\")+\":\"});var r=new a({id:e,content:[i,new s({text:this.getText(\"TIMELINE_NOW\"),visible:false}),new n({width:\"auto\",ariaLabelledBy:[i],change:this._handlerTimePickerRange.bind(this)}),o,new s({text:this.getText(\"TIMELINE_NOW\"),visible:false}),new n({width:\"auto\",ariaLabelledBy:[o],change:this._handlerTimePickerRange.bind(this)})]});r.addStyleClass(\"sapSuiteUiCommonsTimelineRangeFilterPanel\");t=r.getContent();t[1].addStyleClass(\"sapSuiteUiCommonsTimelineRangeLabelNow\");t[2].addStyleClass(\"sapSuiteUiCommonsTimelineRangeDatePicker\");t[4].addStyleClass(\"sapSuiteUiCommonsTimelineRangeLabelNow\");t[5].addStyleClass(\"sapSuiteUiCommonsTimelineRangeDatePicker\");return r};u.prototype._createTimestampPanelRadio=function(){var e=this.getId()+\"-timestamp-panel-radio\";return new a({id:e,content:[new t({columns:3,select:this.handlerSelectRadioButton.bind(this),buttons:[new i({id:e+\"-range-of-dates\",text:this.getText(\"TIMELINE_TIMESTAMP_RANGE_OF_DATES\")}),new i({id:e+\"-starting-date\",text:this.getText(\"TIMELINE_TIMESTAMP_STARTING_DATE\")}),new i({id:e+\"-ending-date\",text:this.getText(\"TIMELINE_TIMESTAMP_ENDING_DATE\")})]})]})};u.prototype.resizeDialog=function(e){e.getFilterContent()._getDialog().setContentWidth(\"50em\")};u.prototype.setVisible=function(e){this.getTimestampPanelPicker().setVisible(e);this.getTimestampPanelRadio().setVisible(e)};u.prototype.setPickerView=function(e,t){t.getContent()[1].setVisible(e===g.END);t.getContent()[2].setVisible(e===g.START||e===g.RANGE);t.getContent()[4].setVisible(e===g.START);t.getContent()[5].setVisible(e===g.END||e===g.RANGE)};u.prototype.handlerSelectRadioButton=function(e){this.setPickerView(e.getParameter(\"selectedIndex\"),this.getTimestampPanelPicker())};u.prototype.getVisible=function(){return this.getTimestampPanelPicker().getVisible()&&this.getTimestampPanelRadio().getVisible()};u.prototype.getStartDate=function(){var e;var t=this.getTimestampPanelPicker().getContent()[2];if(t.getVisible()){e=t.getDateValue()}else{e=function(){return r.getInstance()}}return e};u.prototype.clearDates=function(){var e=this.getTimestampPanelPicker().getContent()[2],t=this.getTimestampPanelPicker().getContent()[5];var i=this.oObject.getFilterContent()._getDialog();var a=i.getBeginButton();e.setValueState(l.None);t.setValueState(l.None);a.setEnabled(true);e.setDateValue();t.setDateValue()};u.prototype.getEndDate=function(){var e;var t=this.getTimestampPanelPicker().getContent()[5];if(t.getVisible()){e=t.getDateValue()}else{e=function(){return r.getInstance()}}return e};u.prototype.destroy=function(){this.getTimestampPanelPicker().destroy();this.getTimestampPanelRadio().destroy();e.prototype.destroy.call(this)};u.prototype._handlerTimePickerRange=function(e){var t=this.getTimestampPanelPicker().getContent()[2],i=this.getTimestampPanelPicker().getContent()[5];var a=e.getSource();var n=a.getDateValue();var s=e.getParameter(\"valid\");var o=this.oObject.getFilterContent()._getDialog();var r=o.getBeginButton();var g=s?l.None:l.Error;if(a===t){if(i.getDateValue()n){t.setInitialFocusedDateValue(n)}t.setMaxDate(n)}if(e.oSource.sId===t.getId()){t.setValueState(g)}else if(e.oSource.sId===i.getId()){i.setValueState(g)}if(t.getValueState()===l.None&&i.getValueState()===l.None){r.setEnabled(true)}else{r.setEnabled(false)}};u.prototype._checkDatePickerStatus=function(){var e=this.getTimestampPanelPicker().getContent()[2],t=this.getTimestampPanelPicker().getContent()[5];var i=this.oObject.getFilterContent()._getDialog();var a=i.getBeginButton();if(e.getValueState()===l.None&&t.getValueState()===l.None){a.setEnabled(true)}else{a.setEnabled(false)}};return u});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/TimelineRenderer\", [\"./library\",\"sap/suite/ui/commons/util/HtmlElement\",\"sap/ui/core/Icon\",\"sap/m/Button\",\"sap/base/security/encodeXML\",\"sap/ui/core/Lib\"],function(e,i,t,s,a,d){\"use strict\";var o=e.TimelineAxisOrientation,n=e.TimelineScrollingFadeout;var l={apiVersion:2},r=d.getResourceBundleFor(\"sap.suite.ui.commons\");l.render=function(e,i){var t=this._getHtmlModel(i);t.getRenderer().render(e)};l._getHtmlModel=function(e){if(e.getAxisOrientation()===o.Horizontal){return this._getHorizontalTimelineElement(e)}else{return this._getVerticalTimelineElement(e)}};l._getScrollerIcon=function(e,s,d){var o=new i(\"div\"),n=\"scrollerIcon\"+d,l=\"getScrollerIcon\"+d;o.addClass(a(\"sapSuiteUiCommonsTimelineScrollerIconWrapper sapSuiteUiCommonsTimelineScrollerIconWrapper\"+d));e._objects.register(n,function(){return new t({src:\"sap-icon://step\"})});o.addChild(e._objects[l]());return o};l._setWidthAndHeight=function(e,i){var t=e.getHeight(),s=e.getWidth();if(t&&!e._isVertical()){i.addStyle(\"height\",t)}if(s&&(e._isVertical()||e.getEnableScroll())){i.addStyle(\"width\",s)}};l._getHorizontalTimelineElement=function(e){var t=e.getEnableDoubleSided(),s=e._isLeftAlignment(),a=e._outputItem,d=0,o=true,n,l,r,m,u,C,p=e._isMaxed(),c,S=function(){var e=new i(\"ul\");e.setAttribute(\"role\",\"list\");return e};var g=new i(\"div\"),h=new i(\"div\"),T=new i(\"div\"),f=new i(\"div\"),_=new i(\"div\"),I=S(),U=new i(\"div\"),v=S(),H=new i(\"div\"),b=S(),w=new i(\"div\"),G=new i(\"div\"),A=new i(\"div\"),B=new i(\"div\");g.addControlData(e);g.addClass(\"sapSuiteUiCommonsTimelineH\");if(!e.getEnableScroll()){g.addClass(\"sapSuiteUiCommonsTimelineNoScroll\")}if(e._useAutomaticHeight()){g.addClass(\"sapSuiteUiCommonsTimelineAutomaticLineHeight\")}this._addAccessibilityTags(g,e);this._setWidthAndHeight(e,g);if(t){g.addClass(\"sapSuiteUiCommonsTimelineDblSidedH\")}else{g.addClass(s?\"sapSuiteUiCommonsTimelineRight\":\"sapSuiteUiCommonsTimelineLeft\")}if(e._isGrouped()){g.addClass(\"sapSuiteUiCommonsTimelineGrouped\")}g.addChild(e._objects.getHeaderBar());e._setMessageBars(g);A.setId(e.getId()+\"-contentH-before\");g.addChild(A);h.setId(e.getId()+\"-contentH\");h.addClass(\"sapSuiteUiCommonsTimelineContentsH\");g.addChild(h);B.setId(e.getId()+\"-contentH-after\");g.addChild(B);T.setId(e.getId()+\"-scrollH\");T.addClass(\"sapSuiteUiCommonsTimelineScrollH\");h.addChild(T);_.addClass(\"sapSuiteUiCommonsTimelineHorizontalTopLine\");U.addClass(\"sapSuiteUiCommonsTimelineHorizontalMiddleLine\");U.addChild(v);H.addClass(\"sapSuiteUiCommonsTimelineHorizontalBottomLine\");if(t||s){_.addChild(I)}if(t||!s){H.addChild(b)}I.addClass(\"sapSuiteUiCommonsTimelineHorizontalScrollingLine\");b.addClass(\"sapSuiteUiCommonsTimelineHorizontalScrollingLine\");v.addClass(\"sapSuiteUiCommonsTimelineHorizontalScrollingLine\");if(a.length>0){if(e._scrollingFadeout()){g.addChild(w);g.addChild(G);w.addClass(\"sapSuiteUiCommonsTimelineHorizontalLeftScroller sapSuiteUiCommonsTimelineHorizontalScroller\");G.addClass(\"sapSuiteUiCommonsTimelineHorizontalRightScroller sapSuiteUiCommonsTimelineHorizontalScroller\")}f.addClass(\"sapSuiteUiCommonsTimelineHorizontalScrollContainer\");T.addChild(f);f.addChild(_);f.addChild(U);f.addChild(H);v.addChild(this._getFirstHorizontalDelimiterLine(a[0]));for(var E=0;E0){o.addChild(u);for(var _=0;_1){return}e.preventDefault();var n=e.originalEvent.changedTouches[0],u=document.createEvent(\"MouseEvents\");u.initMouseEvent(t,true,true,window,1,n.screenX,n.screenY,n.clientX,n.clientY,false,false,false,false,0,null);e.target.dispatchEvent(u)};var u=false;t.bind({touchstart:function(e){if(u){return}u=true;n(e,\"mouseover\");n(e,\"mousemove\");n(e,\"mousedown\")},touchmove:function(e){if(!u){return}n(e,\"mousemove\")},touchend:function(e){if(!u){return}n(e,\"mouseup\");n(e,\"mouseout\");n(e,\"click\");u=false}})}};return t},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/BaseHelperService\", [\"sap/ui/base/Object\"],function(t){\"use strict\";var o=t.extend(\"sap.suite.ui.commons.collaboration.BaseHelperService\",{constructor:function(t){this._providerConfig=t}});o.prototype.getProviderConfig=function(){return this._providerConfig};o.prototype.getOptions=function(t){return[]};o.prototype.share=function(t,o){};o.prototype.isContactsCollaborationSupported=function(){return false};o.prototype.enableContactsCollaboration=async function(t,o){return Promise.resolve({})};o.prototype.getTeamsContactCollabOptions=async function(){return Promise.resolve({})};o.prototype.isFeatureFlagEnabled=function(){return false};o.prototype.getTeamsContactStatus=async function(t){return Promise.resolve({})};o.prototype.getCollaborationPopover=function(t,o,e,n,r){};return o});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/CollaborationCardHelper\", [\"sap/ui/base/Object\",\"sap/base/Log\"],function(t,e){\"use strict\";var a=\"/sap/opu/odata4/sap/aps_ui_card_srv/srvd_a2x/sap/\";var r=a+\"aps_ui_card/0001/\";var n=\"Card\";var o=a+\"aps_ui_card/0001/\"+n;var i=\"POST\";var s=\"HEAD\";var c=e.getLogger(\"sap.suite.ui.commons.collaboration.CollaborationCardHelper\");var d=t.extend(\"sap.suite.ui.commons.collaboration.CollaborationCardHelper\");d.fetchCSRFToken=function(){return fetch(r,{method:s,headers:{\"X-CSRF-Token\":\"Fetch\"}}).then(function(t){var e=t.headers.get(\"X-CSRF-Token\");if(t.ok&&e){return e}return undefined})};d.postCard=function(t,e){return this.fetchCSRFToken().then(function(a){let r=JSON.stringify(e);try{r=btoa(JSON.stringify(e))}catch(t){c.error(\"Error while encoding the card content to base64 so original content passed to API: \"+t)}var n=JSON.stringify({content:r,card_id:t});return fetch(o,{method:i,headers:{\"X-CSRF-Token\":a,\"content-type\":\"application/json;odata.metadata=minimal;charset=utf-8\"},body:n}).then(function(t){return t.json()})})};return d});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/CollaborationContactInfoHelper\", [\"sap/ui/base/Object\"],function(t){\"use strict\";var n=\"/sap/opu/odata4/sap/aps_ui_contact_srv/srvd_a2x/sap/\";var e=n+\"aps_ui_contact/0001/\";var a=\"APS_UI_C_CONTACT\";var o=n+\"aps_ui_contact/0001/\"+a;var r=n+\"aps_ui_contact/0001/\"+a;var c=\"APS_UI_C_PRESENCE\";var i=n+\"aps_ui_contact/0001/\"+c;var u=\"APS_UI_C_CALENDAR\";var h=n+\"aps_ui_contact/0001/\"+u;var f=n+\"aps_ui_contact/0001/\"+\"APS_UI_C_CHECK_SERVICE\";var s=\"GET\";var C=\"HEAD\";var d=t.extend(\"sap.suite.ui.commons.collaboration.CollaborationContactInfoHelper\");d.fetchCSRFToken=function(){return fetch(e,{method:C,headers:{\"X-CSRF-Token\":\"Fetch\"}}).then(function(t){var n=t.headers.get(\"X-CSRF-Token\");if(t.ok&&n){return n}return undefined})};d.fetchContact=function(t){return this.fetchCSRFToken().then(function(n){return fetch(o+\"/\"+t,{method:s,headers:{\"X-CSRF-Token\":n,\"content-type\":\"application/json;odata.metadata=minimal;charset=utf-8\"}}).then(function(t){return t.json()})})};d.fetchContactCalendar=function(t){var n=new Date;var e=h+\"?$filter=mail eq '\"+t+\"'\";if(n){e=h+\"?$filter=(mail eq '\"+t+\"'&start_datetime eq '\"+n.toISOString()+\"')\"}return this.fetchCSRFToken().then(function(t){return fetch(e,{method:s,headers:{\"X-CSRF-Token\":t,\"content-type\":\"application/json;odata.metadata=minimal;charset=utf-8\"}}).then(function(t){return t.json()})})};d.fetchContactPicture=function(t){return this.fetchCSRFToken().then(function(n){return fetch(r+\"/\"+t+\"/photo\",{method:s,headers:{\"X-CSRF-Token\":n}}).then(function(t){return t.blob()})})};d.fetchContactStatus=function(t){return this.fetchCSRFToken().then(function(n){return fetch(i+\"?$filter=id eq '\"+t+\"'\",{method:s,headers:{\"X-CSRF-Token\":n,\"content-type\":\"application/json;odata.metadata=minimal;charset=utf-8\"}}).then(function(t){return t.json()})})};d.fetchServiceStatus=function(){return this.fetchCSRFToken().then(function(t){return fetch(f,{method:s,headers:{\"X-CSRF-Token\":t,\"content-type\":\"application/json;odata.metadata=minimal;charset=utf-8\"}}).then(function(t){return t.json()})})};return d});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/CollaborationHelper\", [\"sap/base/Log\",\"sap/ui/base/Object\",\"sap/ui/core/Element\",\"../windowmessages/CollaborationMessageConsumer\"],function(e,t,i,n){\"use strict\";var r=\"sap-url-hash\";var s=\"&sap-ui-cardTitle\";var a=\"&sap-stageview-hash\";var o=\"&sap-ui-cardId\";var c=\"&sap-ui-xx-cardId\";var u=\"&info=\";var l=\"transient\";var f=e.getLogger(\"sap.suite.ui.commons.collaboration.CollaborationHelper\");var p=t.extend(\"sap.suite.ui.commons.collaboration.CollaborationHelper\");p.compactHash=function(e){const t=sap.ui.require(\"sap/ushell/Container\");if(!t){return{url:e}}return t&&t.getServiceAsync(\"AppState\").then(async function(t){var i=t.createEmptyAppState(undefined,false);var n=this._getNextKey(i);if(!this._isEligibleForBackendPersistency(t)){f.warning(\"Transient flag is true. URL will not be shortened\");return{url:e}}var s=this._extractURLBeforeHash(e);var a=await this._extractSemanticObjectAndAction(e);var o=false;try{o=await this._isMinificationFeasible(e)}catch(e){}if(!a||!o){return{url:e}}return this._storeUrl(e,i).then(function(){return{url:s+\"#\"+a+\"&/\"+r+\"=\"+n}}).catch(function(t){f.warning(\"URL is not shortened due to an error.\"+t.toString());return{url:e}})}.bind(this))};p._getCurrentUrl=function(){const e=sap.ui.require(\"sap/ushell/Container\");return e&&e?new Promise(function(t){e.getFLPUrlAsync(true).then(function(e){t(e)})}):Promise.resolve(document.URL)};p.processAndExpandHash=async function(){const e=await this.isTeamsModeActive();this._hideAvatarFromShellbar(e);return this._getCurrentUrl().then(async function(t){if(t.indexOf(r)>-1){var i=t.split(r)[1].split(\"=\")[1];if(t.indexOf(a)>0){i=i.split(a)[0]}else if(t.includes(\"info=\")){i=i.includes(\",\")?i.split(\",\")[0]:i.split(\"&\")[0]}else if(t.indexOf(o)>0||t.indexOf(c)>0){if(t.indexOf(o)>0){i=i.split(o)[0]}else{i=i.split(c)[0]}}else if(t.indexOf(s)>0){i=i.split(s)[0]}return this._retrieveURL(i).then(function(e){if(e.getData()){this._redirectToUrl(e.getData())}else{const e=t.split(r)[0];this._redirectToUrl(e)}return Promise.resolve()}.bind(this))}else if(t.indexOf(o)>-1){const e=t.split(o)[0];this._redirectToUrl(e)}else if(t.indexOf(s)>-1){const e=t.split(s)[0];await this._redirectBasedOnRuntime(e)}else if(e&&t.includes(u)){const e=t.split(u)[0];await this._redirectBasedOnRuntime(e)}return Promise.resolve()}.bind(this))};p._redirectBasedOnRuntime=async function(e){const t=sap.ui.require(\"sap/ushell/Container\");if(t&&t.inAppRuntime()){await n.updateTopLevelURLforAppRuntime(e)}else{const t=this._stripTeamsParams(e);this._redirectToUrl(t)}};p._removeTeamsParams=function(e){try{const t=e.split(\"#\");const i=t[0];const n=t[1]?\"#\"+t[1]:\"\";const[r,s]=i.split(\"?\");if(!s){return e}const a=new URLSearchParams(s);a.delete(\"sap-ushell-config\");a.delete(\"sap-collaboration-teams\");const o=a.toString()?`${r}?${a.toString()}`:r;return o+n}catch(t){return e}};p._stripTeamsParams=function(e){if(this._isTopWindow()){return this._removeTeamsParams(e)}return e};p._isTopWindow=function(){return window.self===window.top};p._redirectToUrl=function(e){window.location.replace(e)};p._hideAvatarFromShellbar=function(e){if(e){var t=i.getElementById(\"userActionsMenuHeaderButton\");if(t){t.setVisible(false)}}};p.isTeamsModeActive=function(){var e=false;const t=sap.ui.require(\"sap/ushell/Container\");if(t){return t.getServiceAsync(\"URLParsing\").then(function(t){return this._getCurrentUrl().then(function(i){var n=i.split(\"#\")[0];if(n.indexOf(\"?\")!==-1){var r=t&&t.parseParameters(n.substring(n.indexOf(\"?\")));if(r&&r[\"sap-collaboration-teams\"]&&r[\"sap-collaboration-teams\"][0]&&r[\"sap-collaboration-teams\"][0]===\"true\"){e=true}var s=false;if(r&&r[\"sap-ushell-config\"]&&r[\"sap-ushell-config\"][0]&&r[\"sap-ushell-config\"][0]===\"lean\"){s=true}return Promise.resolve(e&&s)}else{return Promise.resolve(false)}})}.bind(this))}else{return Promise.resolve(false)}};p._retrieveURL=function(e){const t=sap.ui.require(\"sap/ushell/Container\");return t&&t.getServiceAsync(\"AppState\").then(function(t){return t.getAppState(e)})};p._isEligibleForBackendPersistency=function(e){return e&&e._oConfig&&l in e._oConfig&&!e._oConfig[l]};p._getNextKey=function(e){return e.getKey()};p._extractSemanticObjectAndAction=function(e){const t=sap.ui.require(\"sap/ushell/Container\");return t&&t.getServiceAsync(\"URLParsing\").then(function(t){var i=t.parseShellHash(this._extractURLHash(e));if(i){return Promise.resolve(i.contextRaw?i.semanticObject+\"-\"+i.action+\"~\"+i.contextRaw:i.semanticObject+\"-\"+i.action)}}.bind(this))};p._isMinificationFeasible=async function(e){const t=sap.ui.require(\"sap/ushell/Container\");if(t){const r=await t.getServiceAsync(\"NavTargetResolution\");const s=await t.getServiceAsync(\"URLParsing\");var i=s.parseShellHash(this._extractURLHash(e));var n=Object.keys(i.params).length;if(n>0){retu Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/NodeImage\", [\"sap/ui/core/Element\"],function(e){\"use strict\";var a=e.extend(\"sap.suite.ui.commons.networkgraph.NodeImage\",{metadata:{library:\"sap.suite.ui.commons\",properties:{src:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:null},width:{type:\"int\",group:\"Appearance\",defaultValue:null},height:{type:\"int\",group:\"Appearance\",defaultValue:null}}}});return a});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/NodeRenderer\", [\"sap/ui/core/Renderer\"],function(){\"use strict\";return{apiVersion:2,render:function(e,r){var n=r._render({renderManager:e});if(n){e.unsafeHtml(n)}}}},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/Status\", [\"sap/ui/core/Element\",\"../library\",\"sap/m/library\",\"sap/ui/core/theming/Parameters\"],function(e,r,t,o){\"use strict\";const l=r.SemanticColorType;const a=t.ValueCSSColor;var n=e.extend(\"sap.suite.ui.commons.networkgraph.Status\",{metadata:{library:\"sap.suite.ui.commons\",properties:{key:{type:\"string\",group:\"Appearance\",defaultValue:null},title:{type:\"string\",group:\"Appearance\",defaultValue:null},borderColor:{type:\"string\",group:\"Appearance\",defaultValue:null},backgroundColor:{type:\"string\",group:\"Appearance\",defaultValue:null},contentColor:{type:\"string\",group:\"Appearance\",defaultValue:null},headerContentColor:{type:\"string\",group:\"Appearance\",defaultValue:null},hoverBackgroundColor:{type:\"string\",group:\"Appearance\",defaultValue:null},hoverBorderColor:{type:\"string\",group:\"Appearance\",defaultValue:null},hoverContentColor:{type:\"string\",group:\"Appearance\",defaultValue:null},selectedBackgroundColor:{type:\"string\",group:\"Appearance\",defaultValue:null},selectedBorderColor:{type:\"string\",group:\"Appearance\",defaultValue:null},selectedContentColor:{type:\"string\",group:\"Appearance\",defaultValue:null},legendColor:{type:\"string\",group:\"Appearance\",defaultValue:null},useFocusColorAsContentColor:{type:\"boolean\",group:\"Appearance\",defaultValue:false},borderWidth:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:null},borderStyle:{type:\"string\",group:\"Appearance\",defaultValue:null}}}});n.prototype.setBackgroundColor=function(e,r){var t=false;if(l.hasOwnProperty(e)){t=true}else{t=a.isValid(e)}return this.setProperty(\"backgroundColor\",t?e:null,r)};n.prototype.setContentColor=function(e,r){var t=false;if(l.hasOwnProperty(e)){t=true}else{t=a.isValid(e)}return this.setProperty(\"contentColor\",t?e:null,r)};n.prototype.setHeaderContentColor=function(e,r){var t=false;if(l.hasOwnProperty(e)){t=true}else{t=a.isValid(e)}return this.setProperty(\"headerContentColor\",t?e:null,r)};n.prototype._getLegendColor=function(){var e=this.getLegendColor()||this.getBackgroundColor();if(l.hasOwnProperty(e)){return e}else{{var r=o.get(e);if(!r&&a.isValid(e)){r=e}return r}}};return n});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/SvgBase\", [\"sap/suite/ui/commons/library\",\"sap/ui/core/Control\",\"sap/ui/core/IconPool\",\"sap/ui/Device\",\"sap/base/security/encodeXML\",\"sap/base/i18n/Localization\"],function(t,e,r,n,o,i){\"use strict\";var s=t.networkgraph.ElementStatus;var a=\"http://www.w3.org/2000/svg\";var f=e.extend(\"sap.suite.ui.commons.networkgraph.SvgBase\",{metadata:{library:\"sap.suite.ui.commons\"},renderer:null});f.prototype.HIGHLIGHT_CLASS=\"sapSuiteUiCommonsNetworkElementHighlight\";f.prototype.SELECT_CLASS=\"sapSuiteUiCommonsNetworkElementSelected\";f.prototype.VISIBLE_ACTIONS_BUTTONS_CLASS=\"sapSuiteUiCommonsNetworkNodeActionButtonsVisible\";f.prototype.FOCUS_CLASS=\"sapSuiteUiCommonsNetworkElementFocus\";f.prototype.LINEBUTTONSID=\"divlinebuttons\";f.prototype._createElement=function(t,e){var r=document.createElementNS(a,t);return this._setAttributes(r,e)};f.prototype._setAttributes=function(t,e){e=e||{};Object.keys(e).forEach(function(r){t.setAttribute(r,e[r])});return t};f.prototype._getStatusClass=function(t){var e=t||this.getStatus();switch(e){case s.Warning:return\" sapSuiteUiCommonsNetworkElementWarning \";case s.Error:return\" sapSuiteUiCommonsNetworkElementError \";case s.Success:return\" sapSuiteUiCommonsNetworkElementSuccess \";case s.Information:return\" sapSuiteUiCommonsNetworkElementInformation \";default:return\"\"}};f.prototype._getAccessibilityLabel=function(){throw new Error(\"To be implemented by an extending class.\")};f.prototype._renderRoundRect=function(t){t=t||{};var e=t.renderManager;if(!e){return this._renderControl(\"path\",{d:this._renderRoundRectPath(t),style:t.style,class:t.class,id:t.id})}else{this._renderControl(\"path\",{d:this._renderRoundRectPath(t),style:t.style,class:t.class,id:t.id},null,e)}};f.prototype._renderRoundRectPath=function(t){t.topRight=t.topRight||0;t.topLeft=t.topLeft||0;t.bottomRight=t.bottomRight||0;t.bottomLeft=t.bottomLeft||0;var e=t.x+t.width,r=t.y+t.height,n=\"\",o=function(t,e,r){n+=\" A\"+t+\",\"+t+\" 0 0,1 \"+e+\",\"+r},i=function(t,e){n+=\" L\"+t+\",\"+e};n=\"M\"+(t.x+t.topLeft)+\",\"+t.y;i(e-t.topRight,t.y);if(t.topRight){o(t.topRight,e,t.y+t.topRight)}i(e,r-t.bottomRight);if(t.bottomRight){o(t.bottomRight,e-t.bottomRight,r)}i(t.x+t.bottomLeft,r);if(t.bottomLeft){o(t.bottomLeft,t.x,r-t.bottomLeft)}i(t.x,t.y+t.topLeft);if(t.topLeft){o(t.topLeft,t.x+t.topLeft,t.y)}return n};f.prototype._appendTextAnchor=function(t){var e=i.getRTL();if(e&&this._isMSBrowser()){t[\"text-anchor\"]=\"end\"}};f.prototype._renderText=function(t){t=t||{};var e=t.renderManager;if(t.height&&this._isMSBrowser()){t.attributes.dy=t.height/2}this._appendTextAnchor(t.attributes);if(!e){var r;r=this._renderControl(\"text\",t.attributes,false);r+=t.text?o(t.text):\"\";if(t.close!==false){r+=\"
\"}return r}else{this._renderControl(\"text\",t.attributes,false,e);if(!!t.text){e.text(t.text)}if(t.close!==false){e.close(\"text\")}}};f.prototype._renderSpanText=function(t,e,r){t=t||{};var n=t.renderManager;if(r&&this._isMSBrowser()){t.dy=r/2}if(!n){var i=this._renderControl(\"text\",t,false);i+=this._renderControl(\"tspan\",{},false);i+=o(e);i+=\"\";return i}else{this._renderControl(\"text\",t,false,n);this._renderControl(\"tspan\",{},false,n);n.text(e);n.close(\"tspan\");n.close(\"text\")}};f.prototype._cannotAppendInnerHtml=function(){return this._isMSBrowser()||n.browser.safari};f.prototype._isMSBrowser=function(){return n.browser.edge||n.browser.msie};f.prototype._renderIcon=function(t){t=t||{};var e=t.renderManager;var n=r.getIconInfo(t.icon);if(!e){if(n){return this._renderText({attributes:t.attributes,text:n.content,height:t.height})}return\"\"}else{if(n){this._renderText({attributes:t.attributes,text:n.content,height:t.height,renderManager:e})}}};f.prototype._renderControl=function(t,e,r,n){if(!n){var o=\"<\"+t+\" \";e=e||{};Object.keys(e).forEach(function(t){if(typeof e[t]!==\"undefined\"){o+=t;o+=\"=\";o+='\"'+e[t]+'\"'}});o+=\">\";r=r!==false;if(r){o+=\"\"}return o}else{delete e[\"renderManager\"];var i=[\"img\",\"br\",\"input\",\"area\",\"hr\",\"col\",\"link\"];var s=i.indexOf(t)!==-1;n=s?n.voidStart(t):n.openStart(t);if(e){Object.keys(e).forEach(function(t){var r=e[t];if(typeof r!==\"undefined\"&&r!==\"\"){switch(t){case\"id\":n.attr(t,r);break;case\"class\":r.split(\" \").forEach(function(t){if(t){n.class(t)}});break;case\"style\":this.applyStyles(n,this.getStyleObject(r));break;default:n.attr(t,r)}}}.bind(this))}n=s?n.voidEnd():n.openEnd();r=r!==false;if(r&&!s){n.close(t)}}};f.prototype.getStyleObject=function(t){var e={};if(t){var r=t.split(\";\");for(var n=0;n0){d=t.getBBox().width;if(d>f){a=true;while(true){n/=2;h=i.length+(s?-1:1)*Math.ceil(n);i=e.text.substring(0,h);r.textContent=i+(o?u:\"\");d=t.getBBox().width;s=d>f;if(n<.5&&!s){if(d>f){i=e.text.substring(0,i.length-Math.ceil(n*2));r.textContent=i+ +(o?u:\"\")}break}}}}if(e.hCenter&&!a){t.setAttribute(\"text-anchor\",\"middle\");t.setAttribute(\"x\",l+p/2)}return a};f.prototype._createIcon=function(t,e,n){var o=r.getIconInfo(e),i;if(o){if(n&&this._isMSBrowser()){t.dy=n/2}i=this._createElement(\"text\",t);i.textContent=o.content;return i}return null};f.prototype._getDomId=function(t){var e=this.getId();if(t){e+=\"-\"+t}return e};f.prototype._convertToSvg=function(t){var e;var r=function(t){var e={},r;if(t.attributes){for(var n=0;n\";return o}else{n=t===\"img\"?n.voidStart(\"img\"):n.openStart(t);var i=this._convertToStyle(e,undefined,true);this.applyStyles(n,this.getStyleObject(i));if(r){Object.keys(r).forEach(function(t){var e=r[t];if(typeof e!==\"undefined\"&&e!==\"\"){if(t===\"class\"){e.split(\" \").forEach(function(t){if(t){n.class(t)}})}else if(t===\"style\"){this.applyStyles(n,this.getStyleObject(e))}else{n.attr(t,e)}}}.bind(this))}n=t===\"img\"?n.voidEnd():n.openEnd()}};f.prototype._renderHtmlIcon=function(t,e,n,i,s,a){var f=r.getIconInfo(t),l=\"\",c=\"\";if(!a){n=n?'id=\"'+this.getId()+\"-\"+n+'\"':\"\";e=e||\"\";if(f){if(f.fontFamily){c='style=\"font-family:'+o(f.fontFamily)+'\"'}l=s?' aria-label=\"'+o(s)+'\" ':\"\";s=s?' title=\"'+o(s)+'\" ':\"\";return\"
\"+o(f.content)+\"
\"}return\"\"}else{if(f){a.openStart(\"div\");if(n){a.attr(\"id\",this.getId()+\"-\"+n)}if(s){a.attr(\"title\",s)}if(s){a.attr(\"aria-label\",s)}a.class(\"sapSuiteUiCommonsNetworkGraphIcon\");if(e){e.split(\" \").forEach(function(t){if(t){a.class(t)}})}this.applyStyles(a,this.getStyleObject(i));a.openEnd();a.openStart(\"span\");if(f.fontFamily){a.style(\"font-family\",o(f.fontFamily))}a.openEnd().text(f.content).close(\"span\");a.close(\"div\")}}};return f});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/Tooltip\", [\"sap/ui/thirdparty/jquery\",\"./SvgBase\",\"./Line\",\"./Node\",\"./Group\",\"sap/m/ResponsivePopover\",\"sap/m/Popover\",\"sap/m/List\",\"sap/m/OverflowToolbar\",\"sap/m/Button\",\"sap/m/CustomListItem\",\"sap/m/FlexBox\",\"sap/m/HBox\",\"sap/m/IconTabBar\",\"sap/m/IconTabFilter\",\"sap/m/Panel\",\"sap/m/StandardListItem\",\"sap/m/Text\",\"sap/m/ToolbarSpacer\",\"sap/ui/core/Icon\",\"sap/m/FlexItemData\",\"sap/ui/core/library\",\"sap/m/library\",\"sap/suite/ui/commons/library\",\"sap/ui/Device\",\"sap/ui/core/Lib\",\"sap/ui/core/Element\"],function(jQuery,t,e,o,i,n,s,r,p,a,l,d,h,c,u,m,_,f,g,T,w,v,y,C,S,P,A){\"use strict\";var N=y.PlacementType;var x=C.networkgraph.LineArrowOrientation;var b=P.getResourceBundleFor(\"sap.suite.ui.commons\");var L=t.extend(\"sap.suite.ui.commons.networkgraph.Tooltip\",{metadata:{library:\"sap.suite.ui.commons\",events:{afterOpen:{},afterClose:{}}},renderer:null});L.prototype.init=function(){this._oPopover=null;this._oElement=null};L.prototype.create=function(t){var e;this._oPopover=new n(this.getId()+\"-tooltip\",{showHeader:false,placement:this.getParent()._bIsRtl?N.PreferredLeftOrFlip:N.PreferredRightOrFlip,afterOpen:function(){this.fireAfterOpen()}.bind(this),afterClose:function(){this.fireAfterClose()}.bind(this),beforeOpen:function(){this._fnCreate();this._oPopover.setInitialFocus(A.getElementById(this.getId()+\"-detailsSection\"))}.bind(this),contentWidth:\"350px\"}).addStyleClass(\"sapSuiteUiCommonsNetworkTooltip\");this._oSimpleTooltip=new s({contentMinWidth:\"350px\",showHeader:false});this.addDependent(this._oPopover);e=this._oPopover.getAggregation(\"_popup\");if(e){e._afterAdjustPositionAndArrowHook=function(){var t=this.$(\"arrow\"),e=this.$().position().top,o=t.position().top,i=15,n=jQuery(window).height(),s=e+o-i;if(n>s+this.$().height()){t.css(\"top\",i+\"px\");this.$().css(\"top\",s+\"px\")}}}};L.prototype.instantClose=function(){var t=this._oPopover.getAggregation(\"_popup\");if(t&&t.oPopup&&t.oPopup.close){t.oPopup.close(0)}if(this._oSimpleTooltip.oPopup&&this._oSimpleTooltip.oPopup.close){this._oSimpleTooltip.oPopup.close(0)}};L.prototype.close=function(){this._oPopover.close()};L.prototype.openDetail=function(t){var e=t.opener||this._getOpener(t.item,t.point);if(t.item instanceof o&&!t.item._hasDetailData()){this._oSimpleTooltip.removeAllContent();var i=t.item.getTitle();var n=i?i:t.item.getAltText();this._appendHeader(n,this._oSimpleTooltip);this._oSimpleTooltip.openBy(e);return}this._fnCreate=this._createDetail;this._oElement=t.item;this._oPopover.openBy(e)};L.prototype._createDetail=function(){var t=this._getTooltipCreateFunction(this._oElement);this._oPopover.removeAllContent();this._appendFooter();t(this._oElement)};L.prototype.openLink=function(t){this._oElement=t.item;this._fnCreate=this._createLink;this._oPopover.openBy(t.opener)};L.prototype._createLink=function(t){var e=new r,o=this._oElement;this._oPopover.removeAllContent();this._appendHeader(b.getText(\"NETWORK_GRAPH_TOOLTIP_EXTERNAL_LINKS\"));o.getActionLinks().forEach(function(t){e.addItem(new l({content:[new h({renderType:\"Bare\",items:t.clone(null,null,{cloneChildren:true,cloneBindings:false}).addStyleClass(\"sapUiTinyMargin\")})]}))});this._oPopover.addContent(e);this._appendFooter()};L.prototype._getOpener=function(t,o){if(t instanceof e&&o){if(this._oElement===t&&this._tooltipRect){var i=parseInt(this._tooltipRect.getAttribute(\"x\"),10),n=parseInt(this._tooltipRect.getAttribute(\"y\"),10),s=10;if(Math.abs(i-o.x)0){t.forEach(function(t){o.addItem(new l({content:[new h({items:[new f({layoutData:[new w({baseSize:\"50%\"})],text:t.getLabel()}),new f({layoutData:[new w({baseSize:\"50%\"})],text:t.getValue(),width:\"100%\",textAlign:v.TextAlign.End})]}).addStyleClass(\"sapSuiteUiCommonsNetworkTooltipLine\")]}));i.addContent(o)})}};L.prototype._appendNodesList=function(t,e){var o=new r;t.aNodes.forEach(function(t){var e=t.getTitle();var i=e?e:t.getAltText();if(t.getTitle()){o.addItem(new _({title:i,icon:t.getIcon()}))}});e.addContent(o)};L.prototype._appendFooter=function(){var t=this;this.oCloseButton=new a({text:b.getText(\"NETWORK_GRAPH_CLOSE\"),press:function(){t._oPopover.close()}});this._oPopover.setEndButton(this.oCloseButton)};L.prototype._appendHeader=function(t,e){e=e||this._oPopover;if(t){var o=new f({width:\"100%\",textAlign:v.TextAlign.Center,text:t});e.insertContent(new m({width:\"100%\",content:[o]}).addStyleClass(\"sapSuiteUiCommonsNetworkTooltipArea\"),0);e.addAriaLabelledBy(o)}};L.prototype._createGroupTooltip=function(t){var e=function(){return t.getAttributes().length>0||t.getDescription()};var o,i;this._appendHeader(t.getTitle());if(e()){i=new u({id:this.getId()+\"-nodesSection\",text:b.getText(\"NETWORK_GRAPH_TOOLTIP_LIST_OF_NODES\")});o=new u({id:this.getId()+\"-detailsSection\",text:b.getText(\"NETWORK_GRAPH_TOOLTIP_INFORMATION\")});this._oPopover.addContent(new c({items:[o,i]}));this._oPopover.addStyleClass(\"sapSuiteUiCommonsNetworkGroupTooltipTabBar\");this._appendDescription(t,o);this._appendAttributes(t.getAttributes(),o);this._appendNodesList(t,i)}else{this._appendNodesList(t,this._oPopover)}};L.prototype._createNodeTooltip=function(t){this._appendDescription(t);this._appendAttributes(t.getAttributes());var e=t.getTitle();var o=e?e:t.getAltText();this._appendHeader(o)};L.prototype._createLineTooltip=function(t,e){var o=function(){var e=t.getFromNode().getTitle();var o=t.getToNode().getTitle();var i=new f({width:\"50%\",text:e?e:t.getFromNode().getAltText()}).addStyleClass(\"sapSuiteUiCommonsNetworkGraphNoPointerEvents sapSuiteUiCommonsNetworkLineTooltipLabel\"),n=new T({src:\"sap-icon://arrow-right\"}).addStyleClass(\"sapUiTinyMarginEnd sapSuiteUiCommonsNetworkGraphNoPointerEvents sapSuiteUiCommonsNetworkLineTooltipFromToIcon\"),s=new T({src:\"sap-icon://arrow-left\"}).addStyleClass(\"sapUiTinyMarginBegin sapSuiteUiCommonsNetworkGraphNoPointerEvents sapSuiteUiCommonsNetworkLineTooltipFromToIcon\"),r=new T({src:\"sap-icon://less\"}).addStyleClass(\"sapUiTinyMarginBegin sapSuiteUiCommonsNetworkGraphNoPointerEvents sapSuiteUiCommonsNetworkLineTooltipFromToIcon\"),p=new f({textAlign:v.TextAlign.End,width:\"50%\",text:o?o:t.getToNode().getAltText()}).addStyleClass(\"sapSuiteUiCommonsNetworkGraphNoPointerEvents sapSuiteUiCommonsNetworkLineTooltipLabel\"),a=new d({renderType:\"Bare\",width:\"100%\",justifyContent:\"Center\",items:[i]}).addStyleClass(\"sapSuiteUiCommonsNetworkLineTooltipFromTo\");t._isBothArrow()?a.addItem(s):n.addStyleClass(\"sapUiTinyMarginBegin\");if(t.getArrowOrientation()===x.ChildOf){a.addItem(s)}else if(t.getArrowOrientation()===x.None){a.addItem(r)}else{a.addItem(n)}a.addItem(p);return a},i=function(){var e=t.getTitle();this._oPopover.addContent(o());if(e){this._appendHeader(e)}this._appendDescription(t);this._appendAttributes(t.getAttributes())}.bind(this);i(t)};return L});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/Utils\", [],function(){\"use strict\";var t={},n=null;t.SEMANTIC_CLASS_NAME={BACKGROUND:\"backgroundSemanticColor\",\"BACKGROUND-COLOR\":\"backgroundSemanticColor\",BORDER:\"borderSemanticColor\",\"BORDER-COLOR\":\"borderSemanticColor\",TEXT:\"textSemanticColor\",FILL:\"fillSemanticColor\",STROKE:\"strokeSemanticColor\",COLOR:\"textSemanticColor\"};t.find=function(t,n,r){var e;if(typeof t.find===\"function\"){return t.find(n,r)}else{for(e=0;en){return t.substring(0,n)+\" ... \"}return t};t.throttle=(t,r)=>(...e)=>{if(n===null){t(...e);n=setTimeout(()=>{n=null},r)}};return t},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/D3ForceWrapper\", [],function(){\"use strict\";var n;var r={};r._d3Path=sap.ui.require.toUrl(\"sap/ui/thirdparty\")+\"/d3.js\";r.run=function(n,t){r.getD3().then(function(r){var i=n.graph;var e=r.layout.force().nodes(i.nodes).links(i.links).alpha(n.alpha).friction(n.friction).charge(n.charge).start();setTimeout(e.stop,n.maximumDuration);e.on(\"end\",function(){t(i)})})};r.layout=function(n){return new Promise(function(t,i){r.run(n,t)})};r.getD3=function(){if(n){return Promise.resolve(n)}else{return new Promise(function(r){sap.ui.require([\"sap/ui/thirdparty/d3\"],function(t){n=t;r(t)})})}};return r},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/ForceBasedLayout\", [\"sap/suite/ui/commons/library\",\"./LayoutAlgorithm\",\"./Geometry\",\"./D3ForceWrapper\",\"./LayoutTask\",\"sap/ui/performance/Measurement\"],function(e,t,a,r,o,i){\"use strict\";var n=e.networkgraph.LayoutRenderType,u=12;var s=t.extend(\"sap.suite.ui.commons.networkgraph.layout.ForceBasedLayout\",{metadata:{library:\"sap.suite.ui.commons\",properties:{alpha:{type:\"float\",group:\"Behavior\",defaultValue:.3},charge:{type:\"float\",group:\"Behavior\",defaultValue:-30},friction:{type:\"float\",group:\"Behavior\",defaultValue:.9},maximumDuration:{type:\"int\",group:\"Behavior\",defaultValue:1e3}}}});s.prototype.getLayoutRenderType=function(){return n.Forces};s.prototype.isLayered=function(){return false};s.prototype.layout=function(){return new o(function(e,t,o){var n={nodes:[],links:[]},s=this.getParent();if(!s){t(\"The algorithm must be associated with a graph.\");return}i.start(\"NetworkGraph - ForceBasedLayout\",\"Layouting of a graph \"+s.getId());s.getNodes().forEach(function(e,t){n.nodes.push({id:e.getKey()});e.iIndex=t});s.getNodes().forEach(function(e){e.aChildren.forEach(function(t){n.links.push({source:e.iIndex,target:t.iIndex,value:1})})});r.layout({graph:n,alpha:this.getAlpha(),friction:this.getFriction(),charge:this.getCharge(),maximumDuration:this.getMaximumDuration()}).then(function(t){if(o.isTerminated()){e();return}var r=t.graph||t;var i=a.getBoundingBox(r.nodes),n=i.p1.x*-u+100,p=i.p1.y*-u+100;r.nodes.forEach(function(e){var t=s.getNodeByKey(e.id);t.setX(e.x*u+n);t.setY(e.y*u+p)});this._normalizeLines();this._alignCoordinatesWithView();e()}.bind(this),t)}.bind(this))};return s});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/ForceDirectedLayout\", [\"sap/suite/ui/commons/library\",\"./LayoutAlgorithm\",\"./Geometry\",\"./LayoutTask\",\"sap/ui/performance/Measurement\"],function(t,e,i,o,n){\"use strict\";var r=e.extend(\"sap.suite.ui.commons.networkgraph.layout.ForceDirectedLayout\",{metadata:{library:\"sap.suite.ui.commons\",properties:{optimalDistanceConstant:{type:\"float\",defaultValue:.2},maxIterations:{type:\"int\",defaultValue:200},maxTime:{type:\"int\",defaultValue:2e3},initialTemperature:{type:\"float\",defaultValue:200},coolDownStep:{type:\"float\",defaultValue:1},staticNodes:{type:\"string[]\",defaultValue:[]}}}});var a=t.networkgraph.LayoutRenderType,s=200,h=2.3999632297286535;r.prototype.getLayoutRenderType=function(){return a.Forces};r.prototype.isLayered=function(){return false};r.prototype.layout=function(){return new o(function(t,e,i){var o=this.getParent();if(!o){e(\"The algorithm must be associated with a graph.\");return}this.oGraph=o;n.start(\"NetworkGraph - ForceDirectedLayout\",\"Layouting of a graph \"+o.getId());this._initPhyllotaxisPattern();this._runSimulation();this._normalizeLines();this._alignCoordinatesWithView();t()}.bind(this))};r.prototype._initPhyllotaxisPattern=function(){var t=s*Math.sqrt(this.oGraph.getNodes().length),e=0,o={center:{x:0,y:0},apex:{x:0,y:0}};this.aCenters=[];this.oGraph.getNodes().forEach(function(n,r){if(this.getStaticNodes().indexOf(n.getKey())>-1){n.center={x:n.getCenterPosition().x,y:n.getCenterPosition().y}}else{o.apex.x=Math.sqrt(r+1)*s;o.apex.y=0;e+=h;o=i.getRotatedVector(o,e);n.center={x:o.apex.x+t,y:o.apex.y+t}}this.aCenters.push(n.center)}.bind(this))};r.prototype._runSimulation=function(){var t=this.getMaxIterations(),e=this.getInitialTemperature(),o=this.getCoolDownStep(),n=this.getMaxTime()>0?this.getMaxTime()+Date.now():0,r=0,a,s,h,p,u,y,c;var d=i.getBoundingBox(this.aCenters),g=(d.p2.x-d.p1.x)*(d.p2.y-d.p1.y),f=this.getOptimalDistanceConstant()*Math.sqrt(g/this.oGraph.getNodes().length);var l=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},x=function(t){return t*t/f},m=function(t){return f*f/t};while(e>0&&r-1){return}s=l(t.disp);h=Math.min(s,e)/s;t.center.x+=t.disp.x*h;t.center.y+=t.disp.y*h}.bind(this));e-=o;r++}this.oGraph.getNodes().forEach(function(t){t.setX(t.center.x-t._iWidth/2);t.setY(t.center.y-t._iHeight/2)})};r.prototype.destroy=function(){this.aCenters=null;this.oGraph=null;e.prototype.destroy.apply(this)};return r});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/Geometry\", [],function(){\"use strict\";var e={};var t=1e-10;e.ge Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/utils/CardRanking\", [\"./BatchHelper\"],function(r){\"use strict\";function n(r,n){if(!r){r=\"!\"}if(!n){n=\"~\"}return String.fromCharCode(Math.floor((r.charCodeAt(0)+n.charCodeAt(0))/2))}function e(r,e){if(!r){r=\"!\"}if(!e){e=\"~\"}if(r>=e){throw new Error(\"Second Argument should be greater than the first one\")}var t=\"\";var a=r.length>e.length?r.length:e.length;for(var o=0;o=e){throw new Error(\"No Mid possible between \"+r+\" and \"+e)}return t}function t(r){var n=r.length;var e=0;for(var t=0;tu){h=n-1;d=c=n}else{d=h=t;c=t+1}try{r[d].rank=e(r[h].rank,r[c].rank)}catch(n){i=i.concat(o(r,h,c));r[d].rank=e(r[h].rank,r[c].rank)}i.push(r[d]);return i}function i(r,n,t){var a=[],i=r[n],f=t-1,u=t,h=r[f],c=r[u],d=h?h.rank:undefined,k=c?c.rank:undefined;try{i.rank=e(d,k)}catch(n){a=a.concat(o(r,f,u));i.rank=e(d,k)}a.push(i);return a}return{reorder:i}});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/utils/CardSkeletonManifest\", [],function(){\"use strict\";return{_version:\"1.20.0\",\"sap.app\":{id:\"card.explorer.integration.hostContext\",type:\"card\",title:\"Sample of an Object Card\",subTitle:\"Sample of an Object Card\",applicationVersion:{version:\"1.0.0\"},shortTitle:\"A short title for this card\",info:\"Additional information about this card\",description:\"A long description for this card\",tags:{keywords:[\"host\",\"Context\",\"Card\",\"Sample\"]}},\"sap.card\":{type:\"Object\",header:{type:\"Numeric\",title:\"{data}\",subTitle:\"{data}\",icon:{src:\"{data}\",size:\"XS\"},dataTimestamp:\"\",unitOfMeasurement:\"{data}\",mainIndicator:{number:\"{data}\",unit:\"{data}\",trend:\"{data}\"},details:\"{data}\"},content:{maxItems:\"15\",item:{title:\"{data}\",description:\"{data}\"}}}}});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/utils/DeviceType\", [\"sap/ui/base/Object\",\"sap/ui/Device\",\"./AppConstants\"],function(e,i,t){\"use strict\";var s={phone:240,tablet:600,desktop:1024,xxsmall:240,xsmall:320,small:480,medium:560,large:768,xlarge:960,xxlarge:1120,xxxlarge:1440};var a=e.extend(\"sap.insights.utils.DeviceType\",{});a.getDeviceType=function(){var e;if(i.resize.width>=s.xsmall&&i.resize.width=s.tablet&&i.resize.width{const a=new XMLHttpRequest;const c={...r};if(s===e.HEAD){c[\"X-CSRF-Token\"]=\"Fetch\"}if(s!==e.GET&&s!==e.HEAD){c[\"X-CSRF-Token\"]=o}if(s===e.POST||s===e.PUT){c[\"content-type\"]=\"application/json;odata.metadata=minimal;charset=utf-8\"}a.open(s,n,true);Object.keys(c).forEach(e=>{a.setRequestHeader(e,c[e])});a.onreadystatechange=this._onReadyStateChange.bind(this,a,s,t,i);if(u){a.send(u)}else{a.send()}})};t._onReadyStateChange=(t,n,s,r)=>{if(t.readyState===4){if(t.status>=200&&t.status<300){if(n===e.HEAD){const e=t.getResponseHeader(\"x-csrf-token\");if(e){s(e)}else{r(\"No CSRF token found in response header\")}}else if(n===e.DELETE){s()}s(JSON.parse(t.responseText))}else{r({error:t?.error||true,message:\"unexpected error\"})}}};return t},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/utils/InsightsUtils\", [\"sap/ui/core/Lib\"],function(n){\"use strict\";return{getResourceBundle:function(){if(!this.i18nBundle){this.i18nBundle=n.getResourceBundleFor(\"sap.insights\")}return this.i18nBundle},getDataFromRawValue:function(n){var e=[];var t=[];var i=[];try{t=n.split(\"\\r\\n\")}catch(n){throw new Error}t.forEach(function(n){if(n!==\"\"){i.push(n)}});var r=\"\";for(var u=1;u\";s=\"\"}else{u+=e.Text?e.Text:e.Low;s=e.Low}break;case\"NE\":u+=\"!\"+e.Low;s=\"range_\"+i++;break;case\"GT\":u+=\">\"+e.Low;s=\"range_\"+i++;break;case\"GE\":u+=\">=\"+e.Low;s=\"range_\"+i++;break;case\"LT\":u+=\"<\"+e.Low;s=\"range_\"+i++;break;case\"LE\":u+=\"<=\"+e.Low;s=\"range_\"+i++;break}if(e.Sign===\"E\"){u=\"!\"+n(u)}var c=new a({key:s,text:e.Text?e.Text:u});if(s!==e.Low){c.addCustomData(w(e,r))}c.addCustomData(new t({key:\"selectOption\",value:e}));o.push(c)});return o};var p=function(){var e=new r;return e.toJSONString()};var L=function(e){switch(e.Option){case\"BT\":e.Text+=e.Low+\" .. \"+e.High;break;case\"EQ\":if(e.Low===\"\"){e.Text+=\"\"}else{e.Text+=e.Low}break;case\"NE\":e.Text+=\"!\"+e.Low;break;case\"GT\":e.Text+=\">\"+e.Low;break;case\"GE\":e.Text+=\">=\"+e.Low;break;case\"LT\":e.Text+=\"<\"+e.Low;break;case\"LE\":e.Text+=\"<=\"+e.Low;break;default:e.Text+=e.Low;break}return e.Text};var g=function(e,a){var t={Sign:e.exclude?\"E\":\"I\",Option:e.operation,Low:e.value1.toString(),High:e.value2?e.value2.toString():\"\",Text:a?a:\"\"};switch(e.operation){case\"Contains\":t.Option=\"CP\";if(e.value1){t.Low=\"*\"+e.value1+\"*\"}break;case\"StartsWith\":t.Option=\"CP\";if(e.value1){t.Low=e.value1+\"*\"}break;case\"EndsWith\":t.Option=\"CP\";if(e.value1){t.Low=\"*\"+e.value1}break;case\"Empty\":t.Option=\"EQ\";t.Low=\"\";break}if(!t.Text){t.Text=L(t)}return t};return{getFilterQueryFromSV:c,getParameterQueryFromSV:f,getTokenFromSelectOptions:l,getEmptySVStringforProperty:p,getSelectOptionFromRange:g}});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/utils/Transformations\", [\"sap/ui/base/BindingParser\"],function(e){var t=function(t){var r=e.complexParser(t);return r.path||r.parts&&r.parts[0].path};var r={bar_series:[\"bar\",\"column\",\"line\",\"bullet\",\"stacked_bar\",\"stacked_column\",\"vertical_bullet\",\"100_stacked_bar\",\"100_stacked_column\",\"waterfall\",\"horizontal_waterfall\",\"area\",\"radar\"],pie_series:[\"pie\",\"donut\"]};var a={bar_series:r[\"bar_series\"].concat(\"combination\",\"stacked_combination\",\"horizontal_stacked_combination\"),pie_series:r[\"pie_series\"],dual_series:[\"dual_bar\",\"dual_column\",\"dual_line\",\"dual_stacked_bar\",\"dual_stacked_column\",\"dual_combination\",\"dual_horizontal_combination\",\"dual_stacked_combination\",\"dual_horizontal_stacked_combination\",\"100_dual_stacked_bar\",\"100_dual_stacked_column\"],scatter_series:[\"scatter\"],heatmap_series:[\"heatmap\"],bubble_series:[\"bubble\"]};var n=function(e){var t=e.content.measures.length;return t>1?a:r};var i=function(e,t){var r=null;var a=Object.keys(t);a.forEach(function(a){if(t[a].includes(e)){r=a}});return r};var s=function(e,t){var r=[];t.forEach(function(t){var a=JSON.parse(e);var n=a[\"sap.card\"];var i=n.content;i.chartType=t;r.push(a)});return r};var u=function(e,t){var r=JSON.parse(e);var a=r[\"sap.card\"];var n=a.content;if(n.chartProperties&&n.chartProperties.legend){n.chartProperties.legend[\"visible\"]=false}n.feeds=[{uid:\"categoryAxis\",type:\"Dimension\",values:n.dimensions.map(function(e){return e.label||e.name})},{uid:\"valueAxis\",type:\"Measure\",values:n.measures.map(function(e){return e.label||e.name})}];return s(JSON.stringify(r),t)};var l=function(e,t){var r=JSON.parse(e);var a=r[\"sap.card\"];var n=a.content;if(n.chartProperties&&n.chartProperties.legend){n.chartProperties.legend[\"visible\"]=true}n.feeds=[{uid:\"size\",type:\"Measure\",values:n.measures.map(function(e){return e.label||e.name})},{uid:\"color\",type:\"Dimension\",values:n.dimensions.map(function(e){return e.label||e.name})}];return s(JSON.stringify(r),t)};var c=function(e,t){var r=JSON.parse(e);var a=r[\"sap.card\"];var n=a.content;if(n.chartProperties&&n.chartProperties.legend){n.chartProperties.legend[\"visible\"]=false}n.feeds=[{uid:\"categoryAxis\",type:\"Dimension\",values:n.dimensions.map(function(e){return e.label||e.name})}].concat(n.measures.map(function(e,t){return{uid:\"valueAxis\"+(t===0?\"\":t+1),type:\"Measure\",values:[e.label||e.name]}}));return s(JSON.stringify(r),t)};var o=function(e,t){var r=JSON.parse(e);var a=r[\"sap.card\"];var n=a.content;if(n.chartProperties&&n.chartProperties.legend){n.chartProperties.legend[\"visible\"]=false}n.feeds=[{uid:\"color\",type:\"Dimension\",values:n.dimensions.map(function(e){return e.label||e.name})}].concat(n.measures.map(function(e,t){var r=\"valueAxis\";if(t!==0){if(t===1){r=\"valueAxis2\"}else{if(t!==n.measures.length-1){r=r+(t+1)}if(t===n.measures.length-1){r=\"bubbleWidth\"}}}return{uid:r,type:\"Measure\",values:[e.label||e.name]}}));return s(JSON.stringify(r),t)};var f=function(e,t){var r=JSON.parse(e);var a=r[\"sap.card\"];var n=a.content;if(n.chartProperties&&n.chartProperties.legend){n.chartProperties.legend[\"visible\"]=true}n.feeds=[{uid:\"color\",type:\"Measure\",values:[n.measures[0].name||n.measures[0].label]},{uid:\"categoryAxis\",type:\"Dimension\",values:n.dimensions.map(function(e){return e.name||e.label})}];return s(JSON.stringify(r),t)};var d=function(e,t){var r=JSON.parse(e);var a=r[\"sap.card\"];var n=a.content;if(n.measures.length<3){return null}if(n.chartProperties&&n.chartProperties.legend){n.chartProperties.legend[\"visible\"]=true}n.feeds=[{uid:\"color\",type:\"Dimension\",values:[n.dimensions[0].name||n.dimensions[0].label]},{uid:\"valueAxis\",type:\"Measure\",values:[n.measures[0].name||n.measures[0].label]},{uid:\"valueAxis2\",type:\"Measure\",values:[n.measures[1].name||n.measures[1].label]},{uid:\"bubbleWidth\",type:\"Measure\",values:[n.measures[2].name||n.measures[2].label]}];return s(JSON.stringify(r),t)};var p=function(e,t,r){switch(t){case\"bar_series\":return u(e,r);case\"pie_series\":return l(e,r);case\"dual_series\":return c(e,r);case\"scatter_series\":return o(e,r);case\"heatmap_series\":return f(e,r);case\"bubble_series\":return d(e,r);default:return null}};function v(e,t){var r=n(e[\"sap.card\"]);var a=e[\"sap.card\"].content.chartType;var u=JSON.stringify(e);var l=[];var c=Object.keys(r);if(t&&Array.isArray(t)&&t.length){t.forEach(function(e){var t=i(e,r);if(t){l=l.concat(p(u,t,[e]))}else{l.push(null)}})}else{if(e[\"sap.card\"].data){e[\"sap.card\"].data.request[\"timeout\"]=1e5}c.forEach(function(e){var t=r[e];if(t.includes(a)){l=l.concat(s(u,t))}else{l=l.concat(p(u,e,t))}})}return l}var h=[function e(t){return t},function e(t){var r=t[\"sap.card\"].content.item;if(r.chart){if(!r.info&&r.chart.displayValue){r.info={value:r.chart.displayValue};if(r.chart.color){r.info.state=r.chart.color}}delete r.chart;return t}return null},function e(t){var r=t[\"sap.card\"].content.item;if(r.info){delete r.info;return t}return null},function e(t){var r=t[\"sap.card\"].content.item;if(r.attributes&&r.attributes.length>0){delete r.attributes;delete r.attributesLayoutType;return t}return null},function e(r){var a=r[\"sap.card\"].content.item;if(a.info){r[\"sap.card\"].content.group={title:a.info.value,order:{path:t(a.info.value),dir:\"DESC\"}};delete a.info;return r}return null},function e(r){var a=r[\"sap.card\"].content.item;if(a.attributes&&a.attributes.length>0){r[\"sap.card\"].content.group={title:a.attributes[0].value,order:{path:t(a.attributes[0].value),dir:\"DESC\"}};delete a.attributes;delete a.attributesLayoutType;return r}return null},function e(t){var r=t[\"sap.card\"].content;var a=r.item;var n=[];var i=[];if(a.title){n.push(a.title.value?a.title:{value:a.title})}if(a.actions&&a.actions.length){i=i.concat(a.actions)}if(a.chart&&a.chart.displayValue){n.push({value:a.chart.displayValue});if(a.chart.color){n[n.length-1].state=a.chart.color}}if(a.attributes&&a.attributes.length>0){n=n.concat(a.attributes)}if(a.info){n.push(a.info)}if(n.length>0){r.row={columns:n};if(i.length>0){r.row[\"actions\"]=i}if(a.highlight){r.row[\"highlight\"]=a.highlight;if(a.highlightText){r.row[\"highlightText\"]=a.highlightText}}delete r.item;t[\"sap.card\"].type=\"Table\";return t}return null}];function m(e,t){var r=JSON.stringify(e);return t.map(function(e){var t=JSON.parse(r);return e(t)})}function b(e){return m(e,h)}var g=[function e(t){return t},function e(t){var r=t[\"sap.card\"].content;var a={attributesLayoutType:\"OneColumn\"};var n=r.row.columns||[];if(n.length>0){if(r.row.highlight){a.highlight=r.row.highlight;if(r.row.highlightText){a.highlightText=r.row.highlightText}}n.forEach(function(e,t){a.attributes=a.attributes||[];a.attributes.push(e)});if(r.row.actions&&r.row.actions.length){a[\"actions\"]=r.row.actions}t[\"sap.card\"].type=\"List\";r.item=a;delete r.row;return t}return null}];function _(e){return m(e,g)}var y=[function e(t){var r=t[\"sap.card\"].content;var a=r.data;var n=r.dimensions||[];var i=r.measures||[];var s=n.map(function(e){return{title:e.label,value:e.displayValue||e.value}});s=s.concat(i.map(function(e){return{title:e.label,value:e.value}}));if(s.length>0){t[\"sap.card\"].type=\"Table\";t[\"sap.card\"].content={data:a,row:{columns:s}};return t}return null}];function O(e){return m(e,y)}function P(e,t){if(e[\"sap.card\"].type===\"List\"){const r=e[\"sap.card\"].content.item.attributes;r.forEach(e=>{if(t.includes(e.title)){e.visible=true}});const a=r.findIndex(e=>e.identifier);const n=r[a];if(n?.visible===true){e[\"sap.card\"].content.item.title=n}}return e}function S(e){if(!e){return[]}const t=e[\"sap.card\"].content?.item?.attributes?.some(e=>e.visible);if(t){return[]}return e[\"sap.card\"].content?.item?.attributes?.map(e=>e.title).slice(0,3)||[]}return{transformAnalyticalManifest:v,createListOptions:b,createTableOptions:_,createChartToListOrTableOptions:O,selectColumnsForListCard:P,getDefaultColumns:S}});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/utils/UrlGenerateHelper\", [\"../utils/SelectionVariantHelper\",\"sap/fe/navigation/SelectionVariant\",\"sap/m/DynamicDateUtil\",\"sap/ui/comp/util/DateTimeUtil\",\"sap/ui/core/format/DateFormat\",\"../utils/AppConstants\",\"sap/ui/model/odata/v2/ODataModel\",\"sap/ui/core/date/UI5Date\",\"sap/ui/comp/odata/type/StringDate\"],function(e,a,t,r,i,n,o,s,u){function l(t,r,i){var n=t.descriptorContent[\"sap.card\"].configuration.parameters;var o=t.descriptorContent[\"sap.card\"][\"data\"][\"request\"];var s=false,u={},l={};if(o&&o.batch){s=true;u=o.batch.header||{};l=o.batch.content||{}}var T=t&&n._headerDataUrl,D=t&&n._contentDataUrl;var g=new a;var h=n._relevantODataFilters.value;var E=n._relevantODataParameters.value;var S=f(n);c(n,g,false);p(n,g,false);var y=n._entitySet.value;var A=y;if(E.length){var O={};E.forEach(function(e){O[e]=n[e].type});A+=e.getParameterQueryFromSV(g,O);var I=A;if(I&&Array.isArray(I.match(/%27datetime[a-zA-Z0-9%-:]*[,)%2c]/gm))&&I.match(/%27datetime[a-zA-Z0-9%-:]*[,)%2c]/gm).length){A=d(I)}}if(n._urlSuffix.value){A+=n._urlSuffix.value}var L={};h.forEach(function(e){L[e]=n[e].type});var M=e.getFilterQueryFromSV(g,L);var H=M;if(H&&Array.isArray(H.match(/%27datetime[a-zA-Z0-9%-:]*[,)%2c]/gm))&&H.match(/%27datetime[a-zA-Z0-9%-:]*[,)%2c]/gm).length){M=d(H)}var w=\"\",_=\"\",R=\"\",V=\"\",N={header:\"\",content:\"\"};if(s){w=m(n,\"_header\",M,t.descriptorContent[\"sap.card\"].type);_=w?A+\"?\"+w:A;if(T&&T.value){var P=v(S,_);if(P){u.url=\"{= extension.formatters.formatHeaderDataUrlForSemanticDate() }\";T.value=\"\"}else{T.value=_;if(r){r._headerDataUrl=T.value}}}else if(T){if(r&&!i){T.value=_;r._headerDataUrl=T.value}N.header=_}}if(n._contentDataUrl){R=m(n,\"_content\",M,t.descriptorContent[\"sap.card\"].type);V=R?A+\"?\"+R:A;if(n._contentDataUrl.value){var Q=v(S,V);if(Q){if(s){l.url=\"{= extension.formatters.formatContentDataUrlForSemanticDate() }\"}else{o.url=\"{= extension.formatters.formatContentDataUrlForSemanticDate() }\"}D.value=\"\"}else{D.value=V;if(r){r._contentDataUrl=D.value}}}else{if(r&&!i){D.value=V;r._contentDataUrl=D.value}N.content=V;return N}if(i){N.header=_;N.content=V;return N}}}function f(e){var a=e._semanticDateRangeSetting,t=[];if(a){a=JSON.parse(a.value);t=Object.keys(a)||[]}return t}function c(e,t,r,i){var n=f(e);var s=e._relevantODataFilters.value;s.forEach(function(s){var u=new a(e[s].value);var l=u.getSelectOption(s);var f=[];if(l&&l.length){if(n.includes(s)){f=T(l[0],\"Filter\",e[s].type,r);if(f.length){l[0].Low=f[0];l[0].High=f[1]?f[1]:null;if(l[0].Low&&l[0].High&&l[0].Option!==\"BT\"){l[0].Option=\"BT\"}t.massAddSelectOption(s,l)}else if(o&&o.prototype.formatValue&&l[0]){l[0].Low=o.prototype.formatValue(l[0].Low,\"Edm.DateTime\");if(l[0].High){l[0].High=o.prototype.formatValue(l[0].High,\"Edm.DateTime\")}t.massAddSelectOption(s,l)}}else{if(o&&o.prototype.formatValue&&l[0]&&e[s].type===\"datetime\"){l[0].Low=o.prototype.formatValue(l[0].Low,\"Edm.DateTime\");if(l[0].High){l[0].High=o.prototype.formatValue(l[0].High,\"Edm.DateTime\")}t.massAddSelectOption(s,l)}t.massAddSelectOption(s,l)}if(r&&l.length===1&&l[0].Sign===\"I\"&&l[0].Option!==\"EQ\"){delete i.ibnParams[s]}}})}function p(e,a,t,r){var i=f(e);var n=e._relevantODataParameters.value;n.forEach(function(n){var u=\"\";if(e[n].value){if(e[n].value.value||typeof e[n].value.value==\"string\"){u=e[n].value.value.toString()}else if(e[n].value instanceof Date){u=e[n].value}else{u=e[n].value.toString()}}if(e[n].type===\"datetime\"&&!i.includes(n)&&!u.includes(\"datetime\")){if(o&&o.prototype.formatValue){u=o.prototype.formatValue(u,\"Edm.DateTime\");a.addParameter(n,u)}}else if(e[n].type===\"datetime\"&&i.includes(n)){u=typeof e[n].value===\"string\"&&Date.parse(e[n].value)?T(s.getInstance(u),\"Parameter\",e[n].type,t):T(u,\"Parameter\",e[n].type,t);if(u[0]){a.addParameter(n,u[0])}else{a.addParameter(n,\"\")}}else{a.addParameter(n,u)}if(t){r.ibnParams[n]=u}})}function v(e,a){var t=e.length?e:[];if(t.length&&a){return t.some(function(e){return a&&a.indexOf(e)>-1})}}function m(e,a,t,r){var i=[];if(t){i.push(t)}if(e[a+\"SelectQuery\"]&&e[a+\"SelectQuery\"].value){i.push(e[a+\"SelectQuery\"].value)}if(e[a+\"ExpandQuery\"]&&e[a+\"ExpandQuery\"].value){i.push(e[a+\"ExpandQuery\"].value)}if(e[a+\"SortQuery\"]&&e[a+\"SortQuery\"].value){var n=e[a+\"SortQuery\"].value;i.push(decodeURI(n)===n?encodeURI(n):n)}if(r===\"Table\"||r===\"List\"){i.push(\"$inlinecount=allpages\");i.push(\"$skip=0&$top=13\")}else{if(e[a+\"TopQuery\"]&&e[a+\"TopQuery\"].value){i.push(e[a+\"TopQuery\"].value)}if(e[a+\"SkipQuery\"]&&e[a+\"SkipQuery\"].value){i.push(e[a+\"SkipQuery\"].value)}}return i.length?i.join(\"&\"):null}function d(e){var a=e.match(/%27datetime[a-zA-Z0-9%-:]*[,)%2c]/gm).length;var t=function(){var a=e.match(/%27datetime[a-zA-Z0-9%-:]*[,)%2c]/gm)[0];var t=a;t=t.replace(\"%27\",\"\");var r=t.lastIndexOf(\"%27\");var i=t.substr(0,r)+t.substr(r+3,t.length-1);return i};for(var r=0;r0};c.prototype.getVariable=function(){var t=this.getParent();return this._hasCorrectParent(t)&&t._getVariableByKey(this.getKey())};c.prototype.getType=function(){return this._getType()};c.prototype._setupDraggable=function(){var t=this.getParent(),e=t.$(),i=this.$();i.draggable({revert:\"invalid\",axis:\"x\",delay:100,cursor:\"move\",helper:function(t){var e=i.clone();e.addClass(\"sapCalculationBuilderDragging\");e.css(\"pointer-events\",\"none\");return e},scope:t.getId()+\"-scope\",start:function(){e.find(\".sapCalculationBuilderBracket\").removeClass(\"sapCalculationBuilderBracket\");e.find(\".sapCalculationBuilderItemContent\").css(\"cursor\",\"move\");jQuery(this).addClass(\"sapCalculationBuilderDragging\");t._bDragging=true;if(!jQuery(this).hasClass(\"ui-selected\")){t._deselect()}},stop:function(){jQuery(this).removeClass(\"sapCalculationBuilderDragging\");e.find(\".sapCalculationBuilderItemContent\").css(\"cursor\",\"pointer\");t._bDragging=false}});n._setupMobileDraggable(i)};c.prototype._setBracketHover=function(){var t=this.$(\"content\"),e=this._isFunction()?l[\"(\"]:this.getKey(),i=e===l[\")\"],r=i?l[\"(\"]:l[\")\"],a;t.mouseenter(function(t){var n,s,o=0,l=this._hasCorrectParent()&&this.getParent().getItems()||[],u=i?l.length:0;for(;i?u>=0:u0){for(var o=0;o0&&h!==u){this._rememberOriginalHeight(n);n.setHeight(h+\"px\")}}else if(this.$(\"chartArea\").innerWidth()&&n.$().innerWidth()!==this.$(\"chartArea\").innerWidth()){this.invalidate()}}}}};R.prototype._rememberOriginalHeight=function(t){var e;if(typeof t.getHeight===\"function\"){e=t.getHeight()}else{e=0}this._mOriginalVizFrameHeights[t.getId()]=e};R.prototype._switchChart=function(t){var e=this._findChartById(t);this._setSelectedContent(e);this.fireContentChange({selectedItemId:t});this.invalidate()};R.prototype._chartChange=function(){var t=this.getContent();this._destroyButtons(this._aUsedContentIcons);this._aUsedContentIcons=[];if(this.getContent().length===0){this._oChartSegmentedButton.removeAllItems();this._setDefaultOnSegmentedButton();this.switchChart(null)}if(t){var e=this.getShowLegend();var o;var i;for(var n=0;n1){for(t=0;tthis._aDimensionSelectors.length){o=this._aDimensionSelectors.length}else{o=e}if(o!==e){C.warning(\"ManagedObject.insertAggregation: index '\"+e+\"' out of range [0,\"+this._aDimensionSelectors.length+\"], forced to \"+o)}this._aDimensionSelectors.splice(o,0,t);return this};R.prototype.destroyDimensionSelectors=function(){if(this._oToolBar){for(var t=0;t0){for(var o=0;o0){n=t.getContent()[0];e.renderControl(n)}e.close(\"div\");e.close(\"div\");e.close(\"div\")};return e},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ChartContainerToolbarPlaceholder\", [\"sap/ui/core/Control\",\"./ChartContainerToolbarPlaceholderRenderer\"],function(e,r){\"use strict\";var a=e.extend(\"sap.suite.ui.commons.ChartContainerToolbarPlaceholder\",{metadata:{library:\"sap.suite.ui.commons\"}});return a});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/ChartContainerToolbarPlaceholderRenderer\", function(){\"use strict\";var e={apiVersion:2};e.render=function(e,n){};return e},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/CloudFileInfo\", [\"sap/ui/base/ManagedObject\"],function(e){\"use strict\";var t=e.extend(\"sap.suite.ui.commons.CloudFileInfo\",{metadata:{library:\"sap.suite.ui.commons\",properties:{fileShareId:{type:\"string\",group:\"Data\"},fileShareItemId:{type:\"string\",group:\"Data\"},isFolder:{type:\"boolean\",group:\"Data\"},parentFileShareItemId:{type:\"string\",group:\"Data\"},fileShareItemName:{type:\"string\",group:\"Data\"},createdByUser:{type:\"string\",group:\"Data\"},creationDateTime:{type:\"string\",group:\"Data\"},lastChangedByUser:{type:\"string\",group:\"Data\"},lastChangeDateTime:{type:\"string\",group:\"Data\"},fileShareItemContent:{type:\"string\",group:\"Data\"},fileShareItemContentType:{type:\"string\",group:\"Data\"},fileShareItemContentSize:{type:\"string\",group:\"Data\"},fileShareItemContentLink:{type:\"string\",group:\"Data\"},isDocumentCreationAllowed:{type:\"boolean\",group:\"Data\"},fileShareItemHumanContentType:{type:\"string\",group:\"Data\"}}}});return t});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/CloudFilePicker\", [\"sap/m/Button\",\"sap/m/Dialog\",\"sap/m/DialogRenderer\",\"sap/m/HBox\",\"sap/m/Table\",\"sap/m/ColumnListItem\",\"sap/m/Column\",\"sap/ui/model/odata/v4/ODataModel\",\"sap/m/Select\",\"sap/m/Label\",\"sap/m/Input\",\"sap/ui/layout/form/SimpleForm\",\"sap/ui/core/IconPool\",\"sap/ui/core/Icon\",\"sap/m/Page\",\"sap/m/Breadcrumbs\",\"sap/m/Link\",\"sap/m/Text\",\"./CloudFileInfo\",\"./library\",\"sap/m/library\",\"sap/ui/core/library\",\"sap/ui/layout/FixFlex\",\"sap/m/OverflowToolbar\",\"sap/m/ToolbarSpacer\",\"sap/m/Title\",\"sap/m/ColumnPopoverSelectListItem\",\"sap/m/ColumnHeaderPopover\",\"sap/ui/core/CustomData\",\"sap/ui/model/Sorter\",\"sap/m/SearchField\",\"sap/m/OverflowToolbarLayoutData\",\"sap/ui/Device\",\"sap/base/Log\",\"sap/ui/model/odata/type/DateTimeOffset\",\"sap/ui/core/Item\",\"sap/m/IllustratedMessage\",\"sap/m/IllustratedMessageType\",\"sap/m/IllustratedMessageSize\",\"sap/ui/core/format/FileSizeFormat\",\"sap/m/MessageToast\",\"sap/m/CheckBox\",\"sap/ui/core/Lib\"],function(e,t,i,n,o,a,s,r,l,h,u,d,c,m,p,g,f,C,F,S,T,b,I,y,v,_,w,x,E,L,N,B,D,P,k,M,O,V,A,R,U,K,z){\"use strict\";var H=T.DialogType;var j=T.ButtonType;var W=b.SortOrder;var $=b.ValueState;var q=S.FilePickerModes;var G=S.FilePickerType;var Y=S.SelectionModes;var X=z.getResourceBundleFor(\"sap.suite.ui.commons\");var Q=t.extend(\"sap.suite.ui.commons.CloudFilePicker\",{metadata:{library:\"sap.suite.ui.commons\",properties:{serviceUrl:{type:\"sap.ui.core.URI\",group:\"Data\",defaultValue:\"\"},sharedModel:{type:\"object\",group:\"Misc\",defaultValue:null},confirmButtonText:{type:\"string\",group:\"Data\",defaultValue:X.getText(\"CFP_BUTTON_SELECT\")},filePickerMode:{type:\"sap.suite.ui.commons.FilePickerModes\",group:\"Data\",defaultValue:\"All\"},title:{type:\"string\",group:\"Data\"},enableDuplicateCheck:{type:\"boolean\",group:\"Data\",defaultValue:false},duplicateMessage:{type:\"string\",group:\"Data\"},suggestedFileName:{type:\"string\",group:\"Data\"},fileNameMandatory:{type:\"boolean\",group:\"Data\",defaultValue:false},filePickerType:{type:\"sap.suite.ui.commons.FilePickerType\",group:\"Data\",defaultValue:\"Export\"},MIMEType:{type:\"string\",group:\"Data\"},selectionMode:{type:\"sap.suite.ui.commons.SelectionModes\",group:\"Data\",defaultValue:\"SingleSelectMaster\"}},events:{select:{parameters:{replaceExistingFile:\"boolean\",selectedFileName:\"string\",selectedFiles:{type:\"sap.suite.ui.commons.CloudFileInfo[]\"},selectedFolder:{type:\"sap.suite.ui.commons.CloudFileInfo\"}}},cancel:{}}},constructor:function(){t.prototype.constructor.apply(this,arg Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/ImageEditorContainerRenderer\", [\"sap/ui/Device\",\"sap/ui/core/Lib\"],function(t,e){\"use strict\";var r=e.getResourceBundleFor(\"sap.suite.ui.commons\");var n={apiVersion:2};n.render=function(t,e){t.openStart(\"div\",e).class(\"sapSuiteUiCommonsImageEditorContainer\").attr(\"tabindex\",\"0\").attr(\"aria-label\",r.getText(\"IMGEDITOR_ACCESSIBILITY_LABEL\")).openEnd();this.renderSvgFilters(t,e);this.renderHeaderToolbar(t,e);this.renderMobileHeaderToolbar(t,e);t.openStart(\"div\").class(\"sapSuiteUiCommonsImageEditorContainerContent\").openEnd();this.renderOptionsPanel(t,e);this.renderImageEditor(t,e);t.close(\"div\");this.renderMobileZoomToolbar(t,e);this.renderMobileFooterToolbar(t,e);t.close(\"div\")};n.renderSvgFilters=function(t,e){t.openStart(\"svg\").attr(\"width\",\"0\").attr(\"height\",\"0\").style(\"position\",\"absolute\").openEnd();t.openStart(\"defs\").openEnd();this.renderOriginalThumbnail(t,e);this.renderSepiaFilter(t,e);this.renderGrayscaleFilter(t,e);this.renderSaturateFilter(t,e);this.renderInvertFilter(t,e);this.renderBrightnessFilter(t,e);this.renderContrastFilter(t,e);this.renderHueRotateFilter(t,e);t.close(\"defs\");t.close(\"svg\")};n.renderOriginalThumbnail=function(t,e){var r=e.getImageEditor();if(!r||!r._oCanvas){return}t.voidStart(\"image\").attr(\"xmlns\",\"http://www.w3.org/1999/xlink\").attr(\"id\",e.getId()+\"-origThumbnail\").attr(\"preserveAspectRatio\",\"xMidYMid slice\").attr(\"viewBox\",\"0 0 \"+e._oThumbnailCanvas.width+\" \"+e._oThumbnailCanvas.height).attr(\"href\",r._oCanvas.toDataURL()).attr(\"width\",\"100%\").attr(\"height\",\"100%\").voidEnd()};n.renderSepiaFilter=function(t,e){t.openStart(\"filter\").attr(\"id\",e.getId()+\"-sepia\").openEnd();t.voidStart(\"feColorMatrix\").attr(\"type\",\"matrix\").attr(\"values\",\"0.393 0.769 0.189 0 0 0.349 0.686 0.168 0 0 0.272 0.534 0.131 0 0 0 0 0 1 0\").voidEnd();t.close(\"filter\")};n.renderGrayscaleFilter=function(t,e){t.openStart(\"filter\").attr(\"id\",e.getId()+\"-grayscale\").openEnd();t.voidStart(\"feColorMatrix\").attr(\"type\",\"matrix\").attr(\"values\",\"0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0\").voidEnd();t.close(\"filter\")};n.renderSaturateFilter=function(t,e){t.openStart(\"filter\").attr(\"id\",e.getId()+\"-saturate\").openEnd();t.voidStart(\"feColorMatrix\").attr(\"type\",\"saturate\").attr(\"values\",\"3\").voidEnd();t.close(\"filter\")};n.renderInvertFilter=function(t,e){t.openStart(\"filter\").attr(\"id\",e.getId()+\"-invert\").openEnd();t.openStart(\"feComponentTransfer\").openEnd();t.voidStart(\"feFuncR\").attr(\"type\",\"table\").attr(\"tableValues\",\"1 0\").voidEnd();t.voidStart(\"feFuncG\").attr(\"type\",\"table\").attr(\"tableValues\",\"1 0\").voidEnd();t.voidStart(\"feFuncB\").attr(\"type\",\"table\").attr(\"tableValues\",\"1 0\").voidEnd();t.close(\"feComponentTransfer\");t.close(\"filter\")};n.renderBrightnessFilter=function(t,e){t.openStart(\"filter\").attr(\"id\",e.getId()+\"-brightness\").openEnd();t.openStart(\"feComponentTransfer\").openEnd();t.voidStart(\"feFuncR\").attr(\"type\",\"linear\").attr(\"slope\",\"3\").voidEnd();t.voidStart(\"feFuncG\").attr(\"type\",\"linear\").attr(\"slope\",\"3\").voidEnd();t.voidStart(\"feFuncB\").attr(\"type\",\"linear\").attr(\"slope\",\"3\").voidEnd();t.close(\"feComponentTransfer\");t.close(\"filter\")};n.renderContrastFilter=function(t,e){t.openStart(\"filter\").attr(\"id\",e.getId()+\"-contrast\").openEnd();t.openStart(\"feComponentTransfer\").openEnd();t.voidStart(\"feFuncR\").attr(\"type\",\"linear\").attr(\"slope\",\"3\").attr(\"intercept\",\"-0.3\").voidEnd();t.voidStart(\"feFuncG\").attr(\"type\",\"linear\").attr(\"slope\",\"3\").attr(\"intercept\",\"-0.3\").voidEnd();t.voidStart(\"feFuncB\").attr(\"type\",\"linear\").attr(\"slope\",\"3\").attr(\"intercept\",\"-0.3\").voidEnd();t.close(\"feComponentTransfer\");t.close(\"filter\")};n.renderHueRotateFilter=function(t,e){t.openStart(\"filter\").attr(\"id\",e.getId()+\"-hueRotate\").openEnd();t.voidStart(\"feColorMatrix\").attr(\"type\",\"hueRotate\").attr(\"values\",\"90\").voidEnd();t.close(\"filter\")};n.renderHeaderToolbar=function(e,r){if(!t.system.phone&&!r._isSmallSize()){var n=r._getHeaderToolbar();e.renderControl(n)}};n.renderMobileHeaderToolbar=function(e,r){if(t.system.phone||r._isSmallSize()){var n=r._getMobileHeaderToolbar();e.renderControl(n)}};n.renderMobileZoomToolbar=function(t,e){var r=e._getMobileZoomToolbar();t.renderControl(r)};n.renderMobileFooterToolbar=function(t,e){var r=e._getMobileFooterToolbar();t.renderControl(r)};n.renderOptionsPanel=function(t,e){var r=e._getOptionsPanel();t.renderControl(r);e._refreshGridListsItems()};n.renderImageEditor=function(t,e){var r=e.getImageEditor();t.openStart(\"div\").class(\"sapSuiteUiCommonsImageEditorContainerWrapper\").openEnd();if(r){t.renderControl(r)}t.close(\"div\")};return n},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/ImageEditorRenderer\", [\"sap/ui/Device\",\"sap/ui/core/Lib\"],function(t,e){\"use strict\";var r=e.getResourceBundleFor(\"sap.suite.ui.commons\");var a={apiVersion:2};var o={nw:{vertical:\"sapSuiteUiCommonsImageEditorTop\",horizontal:\"sapSuiteUiCommonsImageEditorLeft\",handlers:[\"Horizontal\",\"Vertical\"],types:[\"Rectangle\",\"CustomShape\"]},ne:{vertical:\"sapSuiteUiCommonsImageEditorTop\",horizontal:\"sapSuiteUiCommonsImageEditorRight\",handlers:[\"Horizontal\",\"Vertical\"],types:[\"Rectangle\",\"CustomShape\"]},sw:{vertical:\"sapSuiteUiCommonsImageEditorBottom\",horizontal:\"sapSuiteUiCommonsImageEditorLeft\",handlers:[\"Horizontal\",\"Vertical\"],types:[\"Rectangle\",\"CustomShape\"]},se:{vertical:\"sapSuiteUiCommonsImageEditorBottom\",horizontal:\"sapSuiteUiCommonsImageEditorRight\",handlers:[\"Horizontal\",\"Vertical\"],types:[\"Rectangle\",\"CustomShape\"]},n:{vertical:\"sapSuiteUiCommonsImageEditorTop\",horizontal:\"sapSuiteUiCommonsImageEditorCenter\",handlers:[\"Horizontal\"],types:[\"Rectangle\",\"CustomShape\",\"Ellipse\"]},s:{vertical:\"sapSuiteUiCommonsImageEditorBottom\",horizontal:\"sapSuiteUiCommonsImageEditorCenter\",handlers:[\"Horizontal\"],types:[\"Rectangle\",\"CustomShape\",\"Ellipse\"]},w:{vertical:\"sapSuiteUiCommonsImageEditorMiddle\",horizontal:\"sapSuiteUiCommonsImageEditorLeft\",handlers:[\"Vertical\"],types:[\"Rectangle\",\"CustomShape\",\"Ellipse\"]},e:{vertical:\"sapSuiteUiCommonsImageEditorMiddle\",horizontal:\"sapSuiteUiCommonsImageEditorRight\",handlers:[\"Vertical\"],types:[\"Rectangle\",\"CustomShape\",\"Ellipse\"]}};a.render=function(t,e){t.openStart(\"div\",e);t.class(\"sapSuiteUiCommonsImageEditor\").class(\"sapSuiteUiCommonsImageEditorEmpty\").class(\"sapSuiteUiCommonsImageEditorMode\"+e.getMode());if(e.getCustomShapeLoaded()){t.class(\"sapSuiteUiCommonsImageEditorModeCropCustomShapeLoaded\")}t.openEnd();this.renderNoData(t,e);t.openStart(\"div\");t.attr(\"id\",e.getId()+\"-canvasInnerContainer\");t.attr(\"tabindex\",\"0\");t.attr(\"role\",\"img\");t.class(\"sapSuiteUiCommonsImageEditorCanvasInnerContainer\");t.openEnd();this.renderTransformHandlers(t);this.renderSvgOverlay(t,e);this.renderCropArea(t,e);t.close(\"div\");t.close(\"div\")};a.renderNoData=function(t,e){t.openStart(\"div\");t.class(\"sapSuiteUiCommonsImageEditorNoData\");t.openEnd();t.openStart(\"div\");t.attr(\"tabindex\",\"0\");t.attr(\"aria-label\",r.getText(\"IMGEDITOR_NO_IMAGE\"));t.class(\"sapSuiteUiCommonsImageEditorNoDataText\");t.openEnd();t.text(r.getText(\"IMGEDITOR_NO_IMAGE\"));t.close(\"div\");t.close(\"div\")};a.renderSvgOverlay=function(t,e){t.openStart(\"svg\").class(\"sapSuiteUiCommonsImageEditorCropOverlayContainer\").openEnd();t.openStart(\"defs\").openEnd();t.voidStart(\"rect\").attr(\"id\",e.getId()+\"-overlayMaskRect\").voidEnd();t.voidStart(\"ellipse\").attr(\"id\",e.getId()+\"-overlayMaskEllipse\").voidEnd();t.openStart(\"image\").attr(\"xmlns\",\"http://www.w3.org/1999/xlink\").attr(\"id\",e.getId()+\"-overlayMaskCustomBlack\").attr(\"preserveAspectRatio\",\"none\").attr(\"x\",\"0\").attr(\"y\",\"0\").attr(\"width\",\"100%\").attr(\"height\",\"100%\");if(e._sBlackCustomShapeUrl){t.attr(\"href\",e._sBlackCustomShapeUrl)}t.openEnd().close(\"image\");t.openStart(\"image\").attr(\"xmlns\",\"http://www.w3.org/1999/xlink\").attr(\"id\",e.getId()+\"-overlayMaskCustomWhite\").attr(\"preserveAspectRatio\",\"none\").attr(\"x\",\"0\").attr(\"y\",\"0\").attr(\"width\",\"100%\").attr(\"height\",\"100%\");if(e._sWhiteCustomShapeUrl){t.attr(\"href\",e._sWhiteCustomShapeUrl)}t.openEnd().close(\"image\");t.openStart(\"mask\").attr(\"id\",e.getId()+\"-darkOverlayMask\").openEnd();t.voidStart(\"rect\").attr(\"fill\",\"white\").attr(\"x\",\"0\").attr(\"y\",\"0\").attr(\"width\",\"100%\").attr(\"height\",\"100%\").voidEnd();t.voidStart(\"use\").class(\"sapSuiteUiCommonsImageEditorCropItemRectangle\").attr(\"fill\",\"black\").attr(\"href\",\"#\"+e.getId()+\"-overlayMaskRect\").voidEnd();t.voidStart(\"use\").class(\"sapSuiteUiCommonsImageEditorCropItemEllipse\").attr(\"fill\",\"black\").attr(\"href\",\"#\"+e.getId()+\"-overlayMaskEllipse\").voidEnd();t.voidStart(\"use\").class(\"sapSuiteUiCommonsImageEditorCropItemCustomShape\").attr(\"href\",\"#\"+e.getId()+\"-overlayMaskCustomBlack\").voidEnd();t.close(\"mask\");t.openStart(\"mask\").attr(\"id\",e.getId()+\"-lightOverlayClip\").openEnd();t.voidStart(\"use\").class(\"sapSuiteUiCommonsImageEditorCropItemRectangle\").attr(\"fill\",\"white\").attr(\"href\",\"#\"+e.getId()+\"-overlayMaskRect\").voidEnd();t.voidStart(\"use\").class(\"sapSuiteUiCommonsImageEditorCropItemEllipse\").attr(\"fill\",\"white\").attr(\"href\",\"#\"+e.getId()+\"-overlayMaskEllipse\").voidEnd();t.voidStart(\"use\").class(\"sapSuiteUiCommonsImageEditorCropItemCustomShape\").attr(\"href\",\"#\"+e.getId()+\"-overlayMaskCustomWhite\").voidEnd();t.close(\"mask\");t.close(\"defs\");t.voidStart(\"rect\").class(\"sapSuiteUiCommonsImageEditorCropOverlayBlack\").attr(\"mask\",\"url(#\"+e.getId()+\"-darkOverlayMask)\").attr(\"x\",\"0\").attr(\"y\",\"0\").attr(\"width\",\"100%\").attr(\"height\",\"100%\").voidEnd();t.voidStart(\"rect\").class(\"sapSuiteUiCommonsImageEditorCropOverlayWhite\").attr(\"mask\",\"url(#\"+e.getId()+\"-lightOverlayClip)\").attr(\"fill\",\"white\").attr(\"x\",\"0\").attr(\"y\",\"0\").attr(\"width\",\"100%\").attr(\"height\",\"100%\").voidEnd();t.close(\"svg\")};a.renderCropArea=function(t,e){t.openStart(\"div\").class(\"sapSuiteUiCommonsImageEditorCropInnerRectangle\").openEnd();t.openStart(\"svg\").class(\"sapSuiteUiCommonsImageEditorCropSvg\").openEnd();t.openStart(\"defs\").openEnd();t.openStart(\"mask\").attr(\"id\",e.getId()+\"-thirdsMask\").attr(\"maskContentUnits\",\"objectBoundingBox\").openEnd();t.voidStart(\"rect\").class(\"sapSuiteUiCommonsImageEditorCropItemRectangle\").attr(\"fill\",\"white\").attr(\"width\",\"1\").attr(\"height\",\"1\").voidEnd();t.voidStart(\"ellipse\").class(\"sapSuiteUiCommonsImageEditorCropItemEllipse\").attr(\"fill\",\"white\").attr(\"cx\",\"0.5\").attr(\"cy\",\"0.5\").attr(\"rx\",\"0.5\").attr(\"ry\",\"0.5\").voidEnd();t.close(\"mask\");this.renderShadowFilter(t,e.getId()+\"-bottomShadow\",0,2);this.renderShadowFilter(t,e.getId()+\"-topShadow\",0,-2);this.renderShadowFilter(t,e.getId()+\"-rightShadow\",2,0);this.renderShadowFilter(t,e.getId()+\"-leftShadow\",-2,0);t.close(\"defs\");t.voidStart(\"ellipse\").class(\"sapSuiteUiCommonsImageEditorCropItemEllipse\").attr(\"fill\",\"transparent\").attr(\"stroke-width\",\"1\").attr(\"stroke\",\"white\").attr(\"cx\",\"50%\").attr(\"cy\",\"50%\").attr(\"rx\",\"50%\").attr(\"ry\",\"50%\").voidEnd();this.renderRectBorders(t,e);this.renderThirdLines(t,e);t.close(\"svg\");this.renderCropAreaDragHandler(t,e);this.renderCropAreaResizeHandlers(t);t.close(\"div\")};a.renderZones=function(t,e){t.openStart(\"div\").class(\"sapSuiteUiCommonsImageEditorZones\").openEnd();e.getZones().forEach(function(r){this.renderZone(t,e,r)},this);t.close(\"div\")};a.renderZone=function(t,e,r){t.openStart(\"div\",r);t.class(\"sapSuiteUiCommonsImageEditorZone\");if(r.getEditable()){t.class(\"sapSuiteUiCommonsImageEditorZoneEditable\")}if(r.getHighlighted()){t.class(\"sapSuiteUiCommonsImageEditorZoneHighlighted\")}t.openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsImageEditorZoneInner\").openEnd();if(!r.getEditable()&&!r.getHighlighted()){t.openStart(\"div\").class(\"sapSuiteUiCommonsImageEditorZoneInnerColoring\").openEnd().close(\"div\")}if(r.getHighlighted()){t.openStart(\"div\").class(\"sapSuiteUiCommonsImageEditorZoneLabel\").openEnd();t.openStart(\"span\");t.text(r.getLabel());t.close(\"span\");t.close(\"div\")}if(r.getEditable()){this.renderBWBorder(t)}t.close(\"div\");if(r.getEditable()){this.renderZoneResizeHandlers(t)}t.close(\"div\")};a.renderBWBorder=function(t){t.openStart(\"svg\").class(\"sapSuiteUiCommonsImageEditorZoneEditBorder\").attr(\"x\",\"0\").attr(\"y\",\"0\").attr(\"width\",\"100%\").attr(\"height\",\"100%\").openEnd();this.renderStrokeRect(t,\"black\",5,5,5,.5);this.renderStrokeRect(t,\"white\",5,5,0,.5);t.close(\"svg\")};a.renderStrokeRect=function(t,e,r,a,o,i){t.openStart(\"rect\").attr(\"x\",\"0\").attr(\"y\",\"0\").attr(\"width\",\"100%\").attr(\"height\",\"100%\").attr(\"fill\",\"none\").attr(\"stroke\",e).attr(\"stroke-dasharray\",r+\",\"+a).openEnd();t.openStart(\"animate\").attr(\"attributeName\",\"stroke-dashoffset\").attr(\"repeatCount\",\"indefinite\").attr(\"from\",o).attr(\"to\",o+r+a).attr(\"dur\",i).openEnd().close(\"animate\");t.close(\"rect\")};a.renderShadowFilter=function(t,e,r,a){t.openStart(\"filter\").attr(\"id\",e).attr(\"x\",\"0\").attr(\"y\",\"0\").attr(\"width\",\"100%\").attr(\"height\",\"100%\").attr(\"filterUnits\",\"userSpaceOnUse\").openEnd();t.voidStart(\"feGaussianBlur\").attr(\"in\",\"SourceAlpha\").attr(\"stdDeviation\",\"2\").attr(\"result\",\"blur\").voidEnd();t.voidStart(\"feOffset\").attr(\"in\",\"blur\").attr(\"result\",\"offOut\").attr(\"x\",r).attr(\"y\",a).voidEnd();t.voidStart(\"feBlend\").attr(\"in\",\"SourceGraphic\").attr(\"in2\",\"offOut\").attr(\"mode\",\"normal\").voidEnd();t.close(\"filter\")};a.renderRectBorders=function(t,e){t.openStart(\"g\").class(\"sapSuiteUiCommonsImageEditorCropItemRectangle\").class(\"sapSuiteUiCommonsImageEditorCropItemCustomShape\").openEnd();this.renderCropLine(t,e,\"bottomShadow\",0,0,100,0);this.renderCropLine(t,e,\"leftShadow\",100,0,100,100);this.renderCropLine(t,e,\"topShadow\",100,100,0,100);this.renderCropLine(t,e,\"rightShadow\",0,100,0,0);t.close(\"g\")};a.renderThirdLines=function(t,e){t.openStart(\"g\").class(\"sapSuiteUiCommonsImageEditorCropThirds\").attr(\"mask\",\"url(\"+\"#\"+e.getId()+\"-thirdsMask\"+\")\").openEnd();this.renderCropLine(t,e,\"rightShadow\",100/3,0,100/3,100);this.renderCropLine(t,e,\"rightShadow\",100*2/3,0,100*2/3,100);this.renderCropLine(t,e,\"bottomShadow\",0,100/3,100,100/3);this.renderCropLine(t,e,\"bottomShadow\",0,100*2/3,100,100*2/3);t.close(\"g\")};a.renderCropLine=function(e,r,a,o,i,n,s){e.voidStart(\"line\").class(\"sapSuiteUiCommonsImageEditorCropLine\");if(!t.browser.msie&&!t.browser.edge){e.attr(\"filter\",\"url(#\"+r.getId()+\"-\"+a+\")\")}e.attr(\"x1\",o+\"%\").attr(\"y1\",i+\"%\").attr(\"x2\",n+\"%\").attr(\"y2\",s+\"%\").voidEnd()};a.renderTransformHandlers=function(t){t.openStart(\"div\").class(\"sapSuiteUiCommonsImageEditorTransformHandlers\").openEnd();Object.keys(o).forEach(function(e){this.renderTransformHandler(t,e)},this);t.close(\"div\")};a.renderTransformHandler=function(t,e){var r=o[e],a;t.openStart(\"div\");a=this.getCommonHandlerClasses(e);a.push(\"sapSuiteUiCommonsImageEditorHandlerContainer\");a.forEach(function(e){t.class(e)});t.openEnd();r.handlers.forEach(function(e){this.renderDiv(t,[\"sapSuiteUiCommonsImageEditorHandler\",\"sapSuiteUiCommonsImageEditorHandler\"+e])},this);t.close(\"div\")};a.renderCropAreaDragHandler=function(t,e){var r=e._getCropAreaDragIcon();t.openStart(\"div\").class(\"sapSuiteUiCommonsImageEditorDragHandlerContainer\").openEnd();t.renderControl(r);t.close(\"div\")};a.renderCropAreaResizeHandlers=function(t){Object.keys(o).forEach(function(e){this.renderCropAreaResizeHandler(t,e)},this)};a.renderCropAreaResizeHandler=function(t,e){var r=o[e],a;t.openStart(\"div\");a=this.getCommonHandlerClasses(e);a.push(\"sapSuiteUiCommonsImageEditorHandlerContainer\");r.types.forEach(function(t){a.push(\"sapSuiteUiCommonsImageEditorCropItem\"+t)});a.forEach(function(e){t.class(e)});t.openEnd();r.handlers.forEach(function(e){this.renderDiv(t,[\"sapSuiteUiCommonsImageEditorHandler\",\"sapSuiteUiCommonsImageEditorHandler\"+e])},this);t.close(\"div\")};a.renderDiv=function(t,e){t.openStart(\"div\");e.forEach(function(e){t.class(e)});t.openEnd();t.close(\"div\")};a.renderZoneResizeHandlers=function(t){Object.keys(o).forEach(function(e){this.renderZoneResizeHandler(t,e)},this)};a.renderZoneResizeHandler=function(t,e){var r=this.getCommonHandlerClasses(e);r.push(\"sapSuiteUiCommonsImageEditorZoneResizeHandler\");this.renderDiv(t,r)};a.getCommonHandlerClasses=function(t){var e=o[t];return[\"ui-resizable-handle\",\"ui-resizable-\"+t,e.vertical,e.horizontal]};return a},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer\", [\"sap/suite/ui/commons/imageeditor/ImageEditorContainer\",\"./ImageEditorContainerRenderer\",\"sap/ui/Device\",\"sap/m/Button\",\"sap/m/Dialog\",\"sap/m/Bar\",\"sap/m/Title\",\"sap/suite/ui/commons/ControlProxy\",\"sap/ui/core/Lib\"],function(e,t,o,i,n,s,r,a,p){\"use strict\";var l=p.getResourceBundleFor(\"sap.suite.ui.commons\");var u=e.extend(\"sap.suite.ui.commons.imageeditor.ImageEditorResponsiveContainer\",{metadata:{library:\"sap.suite.ui.commons\"},renderer:function(e,i){if(!o.system.phone||i._bInDialog){t.render.apply(this,arguments)}else{e.renderControl(i._getOpenButton())}}});u.prototype._onImageLoaded=function(){e.prototype._onImageLoaded.apply(this,arguments);this._refreshTitle()};u.prototype._getOpenButton=function(){var e=this;if(!this._oOpenButton){this._oOpenButton=new i({text:l.getText(\"IMGEDITOR_RESPONSIVE_OPEN\"),press:function(){e._refreshTitle();e._getDialog().open()}});this.addDependent(this._oOpenButton)}return this._oOpenButton};u.prototype._getTitle=function(){if(!this._oTitle){this._oTitle=new r;this.addDependent(this._oTitle)}return this._oTitle};u.prototype._refreshTitle=function(){var e=this.getImageEditor(),t=l.getText(\"IMGEDITOR_DIALOG_TITLE\");if(e&&e.getFileName()){t+=\" - \"+e.getFileName()}this._getTitle().setText(t)};u.prototype._getDialog=function(){var e=this;if(!this._oDialog){var t=new a(\"test\");t.setAssociation(\"control\",this);this._oDialog=new n({stretch:true,verticalScrolling:false,beforeOpen:function(){e._bInDialog=true},afterOpen:function(){e._zoomToFit()},beforeClose:function(){e._bInDialog=false},customHeader:new s({contentMiddle:[e._getTitle()],contentRight:[new i({icon:\"sap-icon://decline\",tooltip:l.getText(\"IMGEDITOR_DIALOG_CLOSE\"),press:function(){e._oDialog.close()}})]}),content:[t]});this.addDependent(this._oDialog)}return this._oDialog};return u});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/ResizeHistoryItem\", [\"./HistoryItem\",\"sap/base/assert\"],function(t,e){\"use strict\";var i=t.extend(\"sap.suite.ui.commons.imageeditor.ResizeHistoryItem\",{constructor:function(i){t.apply(this,arguments);i=i||{};e(typeof i.width===\"number\",\"Width must be a number.\");e(typeof i.height===\"number\",\"Height value must be a number.\");e(typeof i.oldWidth===\"number\",\"Old width value must be a number.\");e(typeof i.oldHeight===\"number\",\"Old height value must be a number.\");this._iWidth=i.width;this._iHeight=i.height;this._iOldWidth=i.oldWidth;this._iOldHeight=i.oldHeight}});i.prototype.getWidth=function(){return this._iWidth};i.prototype.getHeight=function(){return this._iHeight};i.prototype.getOldWidth=function(){return this._iOldWidth};i.prototype.getOldHeight=function(){return this._iOldHeight};i.prototype.compare=function(t){var e=[\"getWidth\",\"getHeight\"];return this._compare(t,e)};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/RotateHistoryItem\", [\"./HistoryItem\",\"sap/base/assert\"],function(e,t){\"use strict\";var r=e.extend(\"sap.suite.ui.commons.imageeditor.RotateHistoryItem\",{constructor:function(r){e.apply(this,arguments);r=r||{};t(typeof r.degrees===\"number\",\"Degrees must be a number.\");this._iDegrees=r.degrees}});r.prototype.getDegrees=function(){return this._iDegrees};r.prototype.compare=function(){return false};return r});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/library\", [\"sap/ui/core/Core\",\"sap/ui/core/Lib\",\"sap/ui/base/DataType\",\"sap/ui/core/library\",\"sap/m/library\"],function(e,i,o){\"use strict\";var t=i.init({apiVersion:2,name:\"sap.suite.ui.commons\",dependencies:[\"sap.ui.core\",\"sap.m\"],types:[\"sap.suite.ui.commons.BulletChartMode\",\"sap.suite.ui.commons.CalculationBuilderComparisonOperatorType\",\"sap.suite.ui.commons.CalculationBuilderFunctionType\",\"sap.suite.ui.commons.CalculationBuilderItemType\",\"sap.suite.ui.commons.CalculationBuilderLayoutType\",\"sap.suite.ui.commons.CalculationBuilderLogicalOperatorType\",\"sap.suite.ui.commons.CalculationBuilderOperatorType\",\"sap.suite.ui.commons.CalculationBuilderValidationMode\",\"sap.suite.ui.commons.CommonBackground\",\"sap.suite.ui.commons.ComparisonChartView\",\"sap.suite.ui.commons.DeviationIndicator\",\"sap.suite.ui.commons.FacetOverviewHeight\",\"sap.suite.ui.commons.FrameType\",\"sap.suite.ui.commons.HeaderContainerView\",\"sap.suite.ui.commons.ImageEditorContainerMode\",\"sap.suite.ui.commons.ImageEditorMode\",\"sap.suite.ui.commons.ImageFormat\",\"sap.suite.ui.commons.InfoTileSize\",\"sap.suite.ui.commons.InfoTileTextColor\",\"sap.suite.ui.commons.InfoTileValueColor\",\"sap.suite.ui.commons.LoadState\",\"sap.suite.ui.commons.MicroAreaChartView\",\"sap.suite.ui.commons.MicroProcessFlowRenderType\",\"sap.suite.ui.commons.networkgraph.ActionButtonPosition\",\"sap.suite.ui.commons.networkgraph.BackgroundColor\",\"sap.suite.ui.commons.networkgraph.ElementStatus\",\"sap.suite.ui.commons.networkgraph.LayoutRenderType\",\"sap.suite.ui.commons.networkgraph.LineArrowOrientation\",\"sap.suite.ui.commons.networkgraph.LineArrowPosition\",\"sap.suite.ui.commons.networkgraph.LineType\",\"sap.suite.ui.commons.networkgraph.HeaderCheckboxState\",\"sap.suite.ui.commons.networkgraph.NodePlacement\",\"sap.suite.ui.commons.networkgraph.NodeShape\",\"sap.suite.ui.commons.networkgraph.Orientation\",\"sap.suite.ui.commons.networkgraph.RenderType\",\"sap.suite.ui.commons.ProcessFlowConnectionLabelState\",\"sap.suite.ui.commons.ProcessFlowConnectionState\",\"sap.suite.ui.commons.ProcessFlowConnectionType\",\"sap.suite.ui.commons.ProcessFlowDisplayState\",\"sap.suite.ui.commons.ProcessFlowLaneState\",\"sap.suite.ui.commons.ProcessFlowNodeState\",\"sap.suite.ui.commons.ProcessFlowNodeType\",\"sap.suite.ui.commons.ProcessFlowZoomLevel\",\"sap.suite.ui.commons.SelectionState\",\"sap.suite.ui.commons.statusindicator.FillingType\",\"sap.suite.ui.commons.statusindicator.FillingDirectionType\",\"sap.suite.ui.commons.statusindicator.HorizontalAlignmentType\",\"sap.suite.ui.commons.statusindicator.VerticalAlignmentType\",\"sap.suite.ui.commons.statusindicator.SizeType\",\"sap.suite.ui.commons.statusindicator.LabelPositionType\",\"sap.suite.ui.commons.taccount.TAccountPanelState\",\"sap.suite.ui.commons.ThingGroupDesign\",\"sap.suite.ui.commons.TimelineAlignment\",\"sap.suite.ui.commons.TimelineAxisOrientation\",\"sap.suite.ui.commons.TimelineFilterType\",\"sap.suite.ui.commons.TimelineGroupType\",\"sap.suite.ui.commons.TimelineScrollingFadeout\",\"sap.suite.ui.commons.ValueStatus\",\"sap.suite.ui.commons.SemanticColorType\",\"sap.suite.ui.commons.ImageEditorContainerButton\",\"sap.suite.ui.commons.FilePickerModes\",\"sap.suite.ui.commons.FilePickerType\",\"sap.suite.ui.commons.SelectionModes\"],interfaces:[],controls:[\"sap.suite.ui.commons.BulletChart\",\"sap.suite.ui.commons.BusinessCard\",\"sap.suite.ui.commons.CalculationBuilder\",\"sap.suite.ui.commons.CalculationBuilderExpression\",\"sap.suite.ui.commons.CalculationBuilderFunction\",\"sap.suite.ui.commons.CalculationBuilderInput\",\"sap.suite.ui.commons.CalculationBuilderItem\",\"sap.suite.ui.commons.CalculationBuilderVariable\",\"sap.suite.ui.commons.ChartContainer\",\"sap.suite.ui.commons.ChartContainerContent\",\"sap.suite.ui.commons.ChartContainerToolbarPlaceholder\",\"sap.suite.ui.commons.ChartTile\",\"sap.suite.ui.commons.ColumnMicroChart\",\"sap.suite.ui.commons.ComparisonChart\",\"sap.suite.ui.commons.CloudFilePicker\",\"sap.suite.ui.commons.DateRangeScroller\",\"sap.suite.ui.commons.DateRangeSlider\",\"sap.suite.ui.commons.DateRangeSliderInternal\",\"sap.suite.ui.commons.DeltaMicroChart\",\"sap.suite.ui.commons.DynamicContainer\",\"sap.suite.ui.commons.FacetOverview\",\"sap.suite.ui.commons.FeedItemHeader\",\"sap.suite.ui.commons.FeedTile\",\"sap.suite.ui.commons.GenericTile\",\"sap.suite.ui.commons.GenericTile2X2\",\"sap.suite.ui.commons.HarveyBallMicroChart\",\"sap.suite.ui.commons.HeaderCell\",\"sap.suite.ui.commons.HeaderContainer\",\"sap.suite.ui.commons.imageeditor.ImageEditor\",\"sap.suite.ui.commons.imageeditor.ImageEditorContainer\",\"sap.suite.ui.commons.InfoTile\",\"sap.suite.ui.commons.JamContent\",\"sap.suite.ui.commons.KpiTile\",\"sap.suite.ui.commons.LaunchTile\",\"sap.suite.ui.commons.LinkActionSheet\",\"sap.suite.ui.commons.MicroAreaChart\",\"sap.suite.ui.commons.MonitoringContent\",\"sap.suite.ui.commons.MonitoringTile\",\"sap.suite.ui.commons.networkgraph.Graph\",\"sap.suite.ui.commons.networkgraph.Node\",\"sap.suite.ui.commons.NewsContent\",\"sap.suite.ui.commons.NoteTaker\",\"sap.suite.ui.commons.NoteTakerCard\",\"sap.suite.ui.commons.NoteTakerFeeder\",\"sap.suite.ui.commons.NumericContent\",\"sap.suite.ui.commons.NumericTile\",\"sap.suite.ui.commons.PictureZoomIn\",\"sap.suite.ui.commons.ProcessFlow\",\"sap.suite.ui.commons.ProcessFlowConnection\",\"sap.suite.ui.commons.ProcessFlowConnectionLabel\",\"sap.suite.ui.commons.ProcessFlowLaneHeader\",\"sap.suite.ui.commons.ProcessFlowNode\",\"sap.suite.ui.commons.RepeaterViewConfiguration\",\"sap.suite.ui.commons.SplitButton\",\"sap.suite.ui.commons.statusindicator.StatusIndicator\",\"sap.suite.ui.commons.statusindicator.ShapeGroup\",\"sap.suite.ui.commons.statusindicator.Shape\",\"sap.suite.ui.commons.statusindicator.Rectangle\",\"sap.suite.ui.commons.statusindicator.Circle\",\"sap.suite.ui.commons.statusindicator.CustomShape\",\"sap.suite.ui.commons.statusindicator.PropertyThreshold\",\"sap.suite.ui.commons.statusindicator.DiscreteThreshold\",\"sap.suite.ui.commons.statusindicator.LibraryShape\",\"sap.suite.ui.commons.taccount.TAccount\",\"sap.suite.ui.commons.TargetFilter\",\"sap.suite.ui.commons.ThingCollection\",\"sap.suite.ui.commons.ThreePanelThingInspector\",\"sap.suite.ui.commons.ThreePanelThingViewer\",\"sap.suite.ui.commons.TileContent\",\"sap.suite.ui.commons.TileContent2X2\",\"sap.suite.ui.commons.Timeline\",\"sap.suite.ui.commons.TimelineFilterListItem\",\"sap.suite.ui.commons.TimelineItem\",\"sap.suite.ui.commons.UnifiedThingGroup\",\"sap.suite.ui.commons.UnifiedThingInspector\",\"sap.suite.ui.commons.VerticalNavigationBar\",\"sap.suite.ui.commons.ViewRepeater\"],elements:[\"sap.suite.ui.commons.BulletChartData\",\"sap.suite.ui.commons.CalculationBuilderValidationResult\",\"sap.suite.ui.commons.ColumnData\",\"sap.suite.ui.commons.ColumnMicroChartLabel\",\"sap.suite.ui.commons.ComparisonData\",\"sap.suite.ui.commons.CountingNavigationItem\",\"sap.suite.ui.commons.FeedItem\",\"sap.suite.ui.commons.HarveyBallMicroChartItem\",\"sap.suite.ui.commons.HeaderCellItem\",\"sap.suite.ui.commons.imageeditor.CustomSizeItem\",\"sap.suite.ui.commons.MicroAreaChartItem\",\"sap.suite.ui.commons.MicroAreaChartLabel\",\"sap.suite.ui.commons.MicroAreaChartPoint\",\"sap.suite.ui.commons.TargetFilterColumn\",\"sap.suite.ui.commons.TargetFilterMeasureColumn\",\"sap.suite.ui.commons.AriaProperties\"],version:\"1.139.0\",extensions:{flChangeHandlers:{\"sap.suite.ui.commons.Timeline\":\"sap/suite/ui/commons/flexibility/Timeline\"}}});t.BulletChartMode={Actual:\"Actual\",Delta:\"Delta\"};o.registerEnum(\"sap.suite.ui.commons.BulletChartMode\",t.BulletChartMode);t.CommonBackground={Lightest:\"Lightest\",ExtraLight:\"ExtraLight\",Light:\"Light\",MediumLight:\"MediumLight\",Medium:\"Medium\",Dark:\"Dark\",ExtraDark:\"ExtraDark\",Darkest:\"Darkest\"};o.registerEnum(\"sap.suite.ui.commons.CommonBackground\",t.CommonBackground);t.ComparisonChartView={Normal:\"Normal\",Wide:\"Wide\"};o.registerEnum(\"sap.suite.ui.commons.ComparisonChartView\",t.ComparisonChartView);t.CalculationBuilderComparisonOperatorType={\"<\":\"<\",\">\":\">\",\"<=\":\"<=\",\">=\":\">=\",\"=\":\"=\",\"!=\":\"!=\"};o.registerEnum(\"sap.suite.ui.commons.CalculationBuilderComparisonOperatorType\",t.CalculationBuilderComparisonOperatorType);t.CalculationBuilderFunctionType={ABS:\"ABS\",Round:\"ROUND\",RoundUp:\"RoundUp\",RoundDown:\"RoundDown\",Case:\"CASE\",SQRT:\"SQRT\",NDIV0:\"NDIV0\",NODIM:\"NODIM\",SUMCT:\"SUMCT\",SUMGT:\"SUMGT\",SUMRT:\"SUMRT\"};o.registerEnum(\"sap.suite.ui.commons.CalculationBuilderFunctionType\",t.CalculationBuilderFunctionType);t.CalculationBuilderItemType={Operator:\"Operator\",CustomOperator:\"CustomOperator\",Variable:\"Variable\",Constant:\"Constant\",Literal:\"Literal\",Function:\"Function\",CustomFunction:\"CustomFunction\",Empty:\"Empty\",Error:\"Error\"};o.registerEnum(\"sap.suite.ui.commons.CalculationBuilderItemType\",t.CalculationBuilderItemType);t.CalculationBuilderLogicalOperatorType={AND:\"AND\",OR:\"OR\",XOR:\"XOR\",NOT:\"NOT\"};o.registerEnum(\"sap.suite.ui.commons.CalculationBuilderLogicalOperatorType\",t.CalculationBuilderLogicalOperatorType);t.CalculationBuilderLayoutType={Default:\"Default\",VisualTextualReadOnly:\"VisualTextualReadOnly\",VisualOnly:\"VisualOnly\",TextualOnly:\"TextualOnly\"};o.registerEnum(\"sap.suite.ui.commons.CalculationBuilderLayoutType\",t.CalculationBuilderLayoutType);t.CalculationBuilderOperatorType={\"+\":\"+\",\"-\":\"-\",\"/\":\"/\",\"*\":\"*\",\"(\":\"(\",\")\":\")\",\",\":\",\"};o.registerEnum(\"sap.suite.ui.commons.CalculationBuilderOperatorType\",t.CalculationBuilderOperatorType);t.CalculationBuilderValidationMode={FocusOut:\"FocusOut\",LiveChange:\"LiveChange\"};o.registerEnum(\"sap.suite.ui.commons.CalculationBuilderValidationMode\",t.CalculationBuilderValidationMode);t.DeviationIndicator={Up:\"Up\",Down:\"Down\",None:\"None\"};o.registerEnum(\"sap.suite.ui.commons.DeviationIndicator\",t.DeviationIndicator);t.FacetOverviewHeight={XS:\"XS\",S:\"S\",M:\"M\",L:\"L\",XL:\"XL\",XXL:\"XXL\",Auto:\"Auto\",None:\"None\"};o.registerEnum(\"sap.suite.ui.commons.FacetOverviewHeight\",t.FacetOverviewHeight);t.FrameType={OneByOne:\"OneByOne\",TwoByOne:\"TwoByOne\",TwoThirds:\"TwoThirds\",Auto:\"Auto\"};o.registerEnum(\"sap.suite.ui.commons.FrameType\",t.FrameType);t.HeaderContainerView={Horizontal:\"Horizontal\",Vertical:\"Vertical\"};o.registerEnum(\"sap.suite.ui.commons.HeaderContainerView\",t.HeaderContainerView);t.InfoTileSize={XS:\"XS\",S:\"S\",M:\"M\",L:\"L\",Auto:\"Auto\"};o.registerEnum(\"sap.suite.ui.commons.InfoTileSize\",t.InfoTileSize);t.InfoTileTextColor={Positive:\"Positive\",Critical:\"Critical\",Negative:\"Negative\"};o.registerEnum(\"sap.suite.ui.commons.InfoTileTextColor\",t.InfoTileTextColor);t.InfoTileValueColor={Neutral:\"Neutral\",Good:\"Good\",Critical:\"Critical\",Error:\"Error\"};o.registerEnum(\"sap.suite.ui.commons.InfoTileValueColor\",t.InfoTileValueColor);t.LoadState={Loading:\"Loading\",Loaded:\"Loaded\",Failed:\"Failed\",Disabled:\"Disabled\"};o.registerEnum(\"sap.suite.ui.commons.LoadState\",t.LoadState);t.MicroAreaChartView={Normal:\"Normal\",Wide:\"Wide\"};o.registerEnum(\"sap.suite.ui.commons.MicroAreaChartView\",t.MicroAreaChartView);t.MicroProcessFlowRenderType={Wrap:\"Wrap\",NoWrap:\"NoWrap\",Scrolling:\"Scrolling\",ScrollingWithResizer:\"ScrollingWithResizer\"};o.registerEnum(\"sap.suite.ui.commons.MicroProcessFlowRenderType\",t.MicroProcessFlowRenderType);t.networkgraph=t.networkgraph||{};t.networkgraph.BackgroundColor={Default:\"Default\",White:\"White\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.BackgroundColor\",t.networkgraph.BackgroundColor);t.networkgraph.ActionButtonPosition={Left:\"Left\",Right:\"Right\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.ActionButtonPosition\",t.networkgraph.ActionButtonPosition);t.networkgraph.NodeShape={Circle:\"Circle\",Box:\"Box\",Custom:\"Custom\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.NodeShape\",t.networkgraph.NodeShape);t.networkgraph.LineType={Solid:\"Solid\",Dashed:\"Dashed\",Dotted:\"Dotted\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.LineType\",t.networkgraph.LineType);t.networkgraph.NodePlacement={BrandesKoepf:\"BrandesKoepf\",LinearSegments:\"LinearSegments\",Simple:\"Simple\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.NodePlacement\",t.networkgraph.NodePlacement);t.networkgraph.ElementStatus={Standard:\"Standard\",Success:\"Success\",Warning:\"Warning\",Error:\"Error\",Information:\"Information\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.ElementStatus\",t.networkgraph.ElementStatus);t.networkgraph.Orientation={LeftRight:\"LeftRight\",RightLeft:\"RightLeft\",TopBottom:\"TopBottom\",BottomTop:\"BottomTop\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.Orientation\",t.networkgraph.Orientation);t.networkgraph.RenderType={Html:\"Html\",Svg:\"Svg\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.RenderType\",t.networkgraph.RenderType);t.networkgraph.LineArrowOrientation={ParentOf:\"ParentOf\",ChildOf:\"ChildOf\",None:\"None\",Both:\"Both\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.LineArrowOrientation\",t.networkgraph.LineArrowOrientation);t.networkgraph.LineArrowPosition={Start:\"Start\",Middle:\"Middle\",End:\"End\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.LineArrowPosition\",t.networkgraph.LineArrowPosition);t.networkgraph.LayoutRenderType={LayeredWithGroups:\"LayeredWithGroups\",SwimLanes:\"SwimLanes\",Forces:\"Forces\",TwoColumns:\"TwoColumns\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.LayoutRenderType\",t.networkgraph.LayoutRenderType);t.networkgraph.HeaderCheckboxState={Hidden:\"Hidden\",Checked:\"Checked\",Unchecked:\"Unchecked\"};o.registerEnum(\"sap.suite.ui.commons.networkgraph.HeaderCheckboxState\",t.networkgraph.HeaderCheckboxState);t.SemanticColorType={Neutral:\"Neutral\",None:\"None\",Good:\"Good\",Information:\"Information\",Critical:\"Critical\",Error:\"Error\",Sequence1:\"Sequence1\",Sequence2:\"Sequence2\",Sequence3:\"Sequence3\",Sequence4:\"Sequence4\",Sequence5:\"Sequence5\",Sequence6:\"Sequence6\",Sequence7:\"Sequence7\",Sequence8:\"Sequence8\",Sequence9:\"Sequence9\",Sequence10:\"Sequence10\",Sequence11:\"Sequence11\",Sequence12:\"Sequence12\"};o.registerEnum(\"sap.suite.ui.commons.SemanticColorType\",t.SemanticColorType);t.ProcessFlowConnectionLabelState={Neutral:\"Neutral\",Positive:\"Positive\",Critical:\"Critical\",Negative:\"Negative\"};o.registerEnum(\"sap.suite.ui.commons.ProcessFlowConnectionLabelState\",t.ProcessFlowConnectionLabelState);t.ProcessFlowConnectionState={Highlighted:\"Highlighted\",Dimmed:\"Dimmed\",Regular:\"Regular\",Selected:\"Selected\"};o.registerEnum(\"sap.suite.ui.commons.ProcessFlowConnectionState\",t.ProcessFlowConnectionState);t.ProcessFlowConnectionType={Planned:\"Planned\",Normal:\"Normal\"};o.registerEnum(\"sap.suite.ui.commons.ProcessFlowConnectionType\",t.ProcessFlowConnectionType);t.ProcessFlowDisplayState={Regular:\"Regular\",RegularFocused:\"RegularFocused\",Highlighted:\"Highlighted\",HighlightedFocused:\"HighlightedFocused\",Dimmed:\"Dimmed\",DimmedFocused:\"DimmedFocused\",Selected:\"Selected\",SelectedHighlighted:\"SelectedHighlighted\",SelectedHighlightedFocused:\"SelectedHighlightedFocused\",SelectedFocused:\"SelectedFocused\"};o.registerEnum(\"sap.suite.ui.commons.ProcessFlowDisplayState\",t.ProcessFlowDisplayState);t.ProcessFlowLaneState={value:\"value\",state:\"state\"};o.registerEnum(\"sap.suite.ui.commons.ProcessFlowLaneState\",t.ProcessFlowLaneState);t.ProcessFlowNodeState={Positive:\"Positive\",Negative:\"Negative\",Critical:\"Critical\",Planned:\"Planned\",Neutral:\"Neutral\",PlannedNegative:\"PlannedNegative\"};o.registerEnum(\"sap.suite.ui.commons.ProcessFlowNodeState\",t.ProcessFlowNodeState);t.ProcessFlowNodeType={Single:\"Single\",Aggregated:\"Aggregated\"};o.registerEnum(\"sap.suite.ui.commons.ProcessFlowNodeType\",t.ProcessFlowNodeType);t.ProcessFlowZoomLevel={One:\"One\",Two:\"Two\",Three:\"Three\",Four:\"Four\"};o.registerEnum(\"sap.suite.ui.commons.ProcessFlowZoomLevel\",t.ProcessFlowZoomLevel);t.SelectionState={Selected:\"Selected\",NotSelected:\"NotSelected\",Semantic:\"Semantic\"};o.registerEnum(\"sap.suite.ui.commons.SelectionState\",t.SelectionState);t.statusindicator=t.statusindicator||{};t.statusindicator.FillingDirectionType={Up:\"Up\",Down:\"Down\",Left:\"Left\",Right:\"Right\",Clockwise:\"Clockwise\",CounterClockwise:\"CounterClockwise\"};o.registerEnum(\"sap.suite.ui.commons.statusindicator.FillingDirectionType\",t.statusindicator.FillingDirectionType);t.statusindicator.HorizontalAlignmentType={Left:\"Left\",Middle:\"Middle\",Right:\"Right\"};o.registerEnum(\"sap.suite.ui.commons.statusindicator.HorizontalAlignmentType\",t.statusindicator.HorizontalAlignmentType);t.statusindicator.VerticalAlignmentType={Top:\"Top\",Middle:\"Middle\",Bottom:\"Bottom\"};o.registerEnum(\"sap.suite.ui.commons.statusindicator.VerticalAlignmentType\",t.statusindicator.VerticalAlignmentType);t.statusindicator.SizeType={None:\"None\",Small:\"Small\",Medium:\"Medium\",Large:\"Large\",ExtraLarge:\"ExtraLarge\"};o.registerEnum(\"sap.suite.ui.commons.statusindicator.SizeType\",t.statusindicator.SizeType);t.statusindicator.LabelPositionType={Top:\"Top\",Right:\"Right\",Bottom:\"Bottom\",Left:\"Left\"};o.registerEnum(\"sap.suite.ui.commons.statusindicator.LabelPositionType\",t.statusindicator.LabelPositionType);t.statusindicator.FillingType={Linear:\"Linear\",Radial:\"Radial\",Circular:\"Circular\",None:\"None\"};o.registerEnum(\"sap.suite.ui.commons.statusindicator.FillingType\",t.statusindicator.FillingType);t.taccount=t.taccount||{};t.taccount.TAccountPanelState={Default:\"Default\",Table:\"Table\"};o.registerEnum(\"sap.suite.ui.commons.taccount.TAccountPanelState\",t.taccount.TAccountPanelState);t.ThingGroupDesign={ZeroIndent:\"ZeroIndent\",TopIndent:\"TopIndent\"};o.registerEnum(\"sap.suite.ui.commons.ThingGroupDesign\",t.ThingGroupDesign);t.TimelineAlignment={Right:\"Right\",Left:\"Left\",Top:\"Top\",Bottom:\"Bottom\"};o.registerEnum(\"sap.suite.ui.commons.TimelineAlignment\",t.TimelineAlignment);t.TimelineAxisOrientation={Vertical:\"Vertical\",Horizontal:\"Horizontal\"};o.registerEnum(\"sap.suite.ui.commons.TimelineAxisOrientation\",t.TimelineAxisOrientation);t.TimelineFilterType={Data:\"Data\",Time:\"Time\",Search:\"Search\"};o.registerEnum(\"sap.suite.ui.commons.TimelineFilterType\",t.TimelineFilterType);t.TimelineGroupType={None:\"None\",Year:\"Year\",Month:\"Month\",Quarter:\"Quarter\",Week:\"Week\",Day:\"Day\"};o.registerEnum(\"sap.suite.ui.commons.TimelineGroupType\",t.TimelineGroupType);t.TimelineScrollingFadeout={None:\"None\",Area:\"Area\",AreaWithButtons:\"AreaWithButtons\"};o.registerEnum(\"sap.suite.ui.commons.TimelineScrollingFadeout\",t.TimelineScrollingFadeout);t.ValueStatus={Good:\"Good\",Neutral:\"Neutral\",Critical:\"Critical\",Bad:\"Bad\"};o.registerEnum(\"sap.suite.ui.commons.ValueStatus\",t.ValueStatus);t.ImageEditorMode={Resize:\"Resize\",CropRectangle:\"CropRectangle\",CropEllipse:\"CropEllipse\",CropCustomShape:\"CropCustomShape\",Default:\"Default\"};o.registerEnum(\"sap.suite.ui.commons.ImageEditorMode\",t.ImageEditorMode);t.ImageEditorContainerMode={Transform:\"Transform\",Crop:\"Crop\",Filter:\"Filter\"};o.registerEnum(\"sap.suite.ui.commons.ImageEditorContainerMode\",t.ImageEditorContainerMode);t.ImageFormat={Png:\"Png\",Jpeg:\"Jpeg\"};o.registerEnum(\"sap.suite.ui.commons.ImageFormat\",t.ImageFormat);t.ImageEditorContainerButton={Transform:\"Transform\",Crop:\"Crop\",Filter:\"Filter\"};o.registerEnum(\"sap.suite.ui.commons.ImageEditorContainerButton\",t.ImageEditorContainerButton);t.FilePickerModes={All:\"All\",FileOnly:\"FileOnly\",FolderOnly:\"FolderOnly\"};o.registerEnum(\"sap.suite.ui.commons.FilePickerModes\",t.FilePickerModes);t.FilePickerType={Export:\"Export\",Upload:\"Upload\"};o.registerEnum(\"sap.suite.ui.commons.FilePickerType\",t.FilePickerType);t.SelectionModes={SingleSelect:\"SingleSelectMaster\",MultiSelect:\"MultiSelect\"};o.registerEnum(\"sap.suite.ui.commons.SelectionModes\",t.SelectionModes);return t});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/mockserver/mockServer\", [\"sap/ui/base/ManagedObject\",\"jquery.sap.global\",\"sap/ui/thirdparty/sinon\"],function(e,jQuery,t){\"use strict\";return e.extend(\"sap.ovp.Mockserver.mockServer\",{started:null,init:function(){this.started=jQuery.get(\"test-resources/sap/suite/ui/commons/demokit/sample/CloudFilePicker/mockserver/FileShareItems.json\").then(function(e,t,a){this.mockData=e;return jQuery.get(\"test-resources/sap/suite/ui/commons/demokit/sample/CloudFilePicker/mockserver/metadata.xml\")}.bind(this)).then(function(e,a,n){this.metadata=n.responseText;var r=t.fakeServer.create();r.autoRespond=true;r.xhr.useFilters=true;r.xhr.addFilter(function(e,t){return!t.match(/\\/sap\\/opu\\/odata4\\//)});var i=this.metadata;var o=this.mockData;s(r);function s(e){e.respondWith(\"GET\",RegExp(\"/sap\",\"i\"),function(e,t){if(e.url.indexOf(\"metadata\")>-1){return e.respond(200,{\"Content-Type\":\"application/xml\",\"OData-Version\":\"4.0\"},i)}});e.respondWith(\"POST\",RegExp(\"/sap\",\"i\"),function(e,a){var n=new RegExp(\"\\\\$batch([?#].*)?\");var r={};r[\"@odata.context\"]=o[\"@odata.context\"];r[\"@odata.metadataEtag\"]=o[\"@odata.metadataEtag\"];if(e.requestBody.includes(\"FileShareItems(FileShare='ZPERSONAL',FileShareItem='0ACGgV1bbQGeXUk9PVA')/_Children\")){if(e.requestBody.includes(\"POST\")||e.requestBody.includes(\"1WxgMHSZO9QEGLEHMthmavGBm_1gvdTFC\")){r[\"@odata.context\"]=\"../../$metadata#FileShareItems/$entity\";r[\"@odata.metadataEtag\"]='W/\"20220721182137\"';r[\"FileShareItem\"]=\"1WxgMHSZO9QEGLEHMthmavGBm_1gvdTFC\";r[\"FileShare\"]=\"ZPERSONAL\";r[\"CreatedByUser\"]=\"tester_em_go@sapworkspace.com\";r[\"CreationDateTime\"]=\"2023-09-21T08:34:44.615Z\";r[\"FileShareItemContent@odata.mediaContentType\"]=null;r[\"FileShareItemContentLink\"]=\"\";r[\"FileShareItemContentSize\"]=\"0\";r[\"FileShareItemContentType\"]=\"\";r[\"FileShareItemConvertToMimeType\"]=\"\";r[\"FileShareItemHumanContentType\"]=\"Folder\";r[\"FileShareItemKind\"]=\"folder\";r[\"FileShareItemName\"]=\"New Folder\";r[\"LastChangeDateTime\"]=\"2023-09-21T08:34:44.615Z\";r[\"LastChangedByUser\"]=\"tester_em_go@sapworkspace.com\";r[\"ParentFileShareItem\"]=\"0ACGgV1bbQGeXUk9PVA\";r[\"__CreateByAssociationControl\"]={_Children:true};r[\"__EntityControl\"]={Deletable:true,Updatable:true};if(e.requestBody.includes(\"POST\")){o[\"fileShareItemsChildrenValue\"].unshift(r)}}else{r[\"value\"]=o[\"fileShareItemsChildrenValue\"]}t(e,n,r)}else if(e.requestBody.includes(\"GET FileShareQuery\")){r[\"value\"]=[];t(e,n,r)}else{r[\"value\"]=o[\"value\"];if(e.requestBody.includes(\"GET FileShares\")||e.requestBody.includes(\"GET FileShares('ZPERSONAL')/_Root\")){t(e,n,r)}}});function t(e,t,a){if(t.test(e.url)){var n=e.requestBody;var r=new RegExp(\"--batch_[a-z0-9-]*\");var i=r.exec(n)[0];if(i){var o=n.split(i);var s=new RegExp(\"GET (.*) HTTP\");var d=new RegExp(\"POST (.*) HTTP\");var u=\"--165E5739E3F501AD01EF9E72DC8ED0870\";o.forEach(function(t,n){if(s.exec(t)){var r;var i=a;if(e.url.indexOf(\"$count\")!==-1){r=l(i,\"text/plain\")}else{r=l(i)}u=u+\"\\r\\n\"+\"Content-Type: application/http\"+\"\\r\\n\"+\"Content-Length:\"+r.length+\"\\r\\n\"+\"content-transfer-encoding: binary\"+\"\\r\\n\\r\\n\"+r+\"--165E5739E3F501AD01EF9E72DC8ED0870\"}else if(d.exec(t)){var r;var i=a;r=l(i);u=u+\"\\r\\n\"+\"Content-Type: application/http\"+\"\\r\\n\"+\"Content-Length:\"+r.length+\"\\r\\n\"+\"content-transfer-encoding: binary\"+\"\\r\\n\\r\\n\"+r+\"--165E5739E3F501AD01EF9E72DC8ED0870\"}});u+=\"--\";return e.respond(200,{\"Content-Type\":\"multipart/mixed; boundary=165E5739E3F501AD01EF9E72DC8ED0870\",\"OData-Version\":\"4.0\"},u)}}}}function l(e,t){var a;a=JSON.stringify(e)||\"\";t=t||\"application/json;ieee754compatible=true;odata.metadata=minimal\";return\"HTTP/1.1 \"+\"200 OK\"+\"\\r\\nContent-Type:\"+t+\"\\r\\nContent-Length: \"+a.length+\"\\r\\nodata-version: 4.0\"+\"\\r\\ncache-control: no-cache, no-store, must-revalidate\\r\\n\\r\\n\"+a+\"\\r\\n\"}}.bind(this))}})},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/ActionButton\", [\"sap/ui/core/Element\"],function(t){\"use strict\";var e=t.extend(\"sap.suite.ui.commons.networkgraph.ActionButton\",{metadata:{library:\"sap.suite.ui.commons\",properties:{icon:{type:\"string\",group:\"Appearance\",defaultValue:null},title:{type:\"string\",group:\"Appearance\",defaultValue:null},enabled:{type:\"boolean\",group:\"Appearance\",defaultValue:true},position:{type:\"sap.suite.ui.commons.networkgraph.ActionButtonPosition\",group:\"Appearance\",defaultValue:\"Right\"}},events:{press:{parameters:{buttonElement:{type:\"object\"}}}}}});e.prototype.invalidate=function(){var t=this.getParent();if(t&&t._bActionButtonsRendered&&!this._bTimeoutRunning){this._bTimeoutRunning=true;setTimeout(function(){this._bTimeoutRunning=false;t._bActionButtonsRendered=false;t.showActionButtons(true)}.bind(this),0)}};return e});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/Coordinate\", [\"sap/ui/core/Element\"],function(t){\"use strict\";var e=t.extend(\"sap.suite.ui.commons.networkgraph.Coordinate\",{metadata:{library:\"sap.suite.ui.commons\",properties:{x:{type:\"float\",group:\"Misc\",defaultValue:undefined},y:{type:\"float\",group:\"Misc\",defaultValue:undefined}}}});e.prototype.setX=function(t){this.setProperty(\"x\",t,true);return this};e.prototype.setY=function(t){this.setProperty(\"y\",t,true);return this};return e});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/ElementAttribute\", [\"sap/ui/core/Control\",\"sap/m/Text\",\"sap/suite/ui/commons/networkgraph/ElementBase\",\"../library\",\"./Utils\"],function(e,t,o,s,a){\"use strict\";const i=s.SemanticColorType;var l=e.extend(\"sap.suite.ui.commons.networkgraph.ElementAttribute\",{metadata:{library:\"sap.suite.ui.commons\",properties:{label:{type:\"string\",group:\"Misc\",defaultValue:null},value:{type:\"string\",group:\"Misc\",defaultValue:null},labelStatus:{type:\"string\",group:\"Misc\",defaultValue:null},valueStatus:{type:\"string\",group:\"Misc\",defaultValue:null},visible:{type:\"boolean\",group:\"Misc\",defaultValue:true},icon:{type:\"string\",group:\"Misc\",defaultValue:\"\"}}},renderer:{apiVersion:2,render:function(e,t){var o=t.getId();e.openStart(\"div\",o);e.attr(\"data-sap-ui\",o);e.class(\"sapSuiteUiCommonsNetworkGraphDivNodeAttributesRow\").openEnd();if(t.getVisible()){e.openStart(\"div\").class(\"sapSuiteUiCommonsNetworkGraphDivNodeAttributesIcons\").openEnd();if(t.getIcon()){e.openStart(\"div\",t.getId()+\"-icon\");e.class(\"sapSuiteUiCommonsNetworkGraphDivNodeText\").class(\"sapSuiteUiCommonsNetworkGraphDivAttributeIcon\").openEnd();t.getParent()._renderHtmlIcon(t.getIcon(),null,null,null,null,e);e.close(\"div\")}e.close(\"div\");e.openStart(\"div\").class(\"sapSuiteUiCommonsNetworkGraphDivNodeLabels\").openEnd();e.renderControl(t._getLabelControl());e.close(\"div\");e.openStart(\"div\").class(\"sapSuiteUiCommonsNetworkGraphDivNodeValues\").openEnd();e.renderControl(t._getValueControl());e.close(\"div\")}e.close(\"div\")}},onAfterRendering:function(){var e=this.getParent(),t=this.getLabelStatus()||e.getStatus(),s=this.getValueStatus()||e.getStatus();if(t){var l=e._getColor(o.ColorType.Content,t);if(i.hasOwnProperty(l)){this.$(\"label\").addClass(a.SEMANTIC_CLASS_NAME.TEXT+l);this.$(\"icon\").addClass(a.SEMANTIC_CLASS_NAME.TEXT+l)}else{{if(l){this.$(\"label\").css(\"color\",l);this.$(\"icon\").css(\"color\",l)}}}}if(s){var l=e._getColor(o.ColorType.Content,s);if(i.hasOwnProperty(l)){this.$(\"value\").addClass(a.SEMANTIC_CLASS_NAME.TEXT+l)}else{{if(l){this.$(\"value\").css(\"color\",l)}}}}}});l.prototype._getLabelControl=function(e){if(!this._oLabel){this._oLabel=new t(this.getId()+\"-label\",{textAlign:\"Left\",wrappingType:\"Hyphenated\"}).addStyleClass(\"sapSuiteUiCommonsNetworkGraphDivNodeText\")}this._oLabel.setText(this.getLabel());return this._oLabel};l.prototype._getValueControl=function(e){if(!this._oValue){this._oValue=new t(this.getId()+\"-value\",{textAlign:\"Right\",wrappingType:\"Hyphenated\"}).addStyleClass(\"sapSuiteUiCommonsNetworkGraphDivNodeText\")}this._oValue.setText(this.getValue());return this._oValue};l.prototype.exit=function(){if(this._oValue){this._oValue.destroy();this._oValue=null}if(this._oLabel){this._oLabel.destroy();this._oLabel=null}};l.Type=Object.freeze({Label:\"Label\",Value:\"Value\"});return l});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/ElementBase\", [\"sap/ui/thirdparty/jquery\",\"../library\",\"./SvgBase\",\"sap/ui/base/ManagedObject\",\"sap/ui/core/theming/Parameters\",\"sap/m/library\",\"sap/ui/core/RenderManager\",\"./Utils\"],function(jQuery,t,e,r,i,o,s,n){\"use strict\";const a=o.ValueCSSColor;const u=t.networkgraph.ElementStatus,l=t.networkgraph.HeaderCheckboxState,c=t.SemanticColorType;var h=e.extend(\"sap.suite.ui.commons.networkgraph.ElementBase\",{metadata:{library:\"sap.suite.ui.commons\",properties:{title:{type:\"string\",group:\"Misc\",defaultValue:null},description:{type:\"string\",group:\"Misc\",defaultValue:null},status:{type:\"string\",group:\"Appearance\",defaultValue:u.Standard}},aggregations:{attributes:{type:\"sap.suite.ui.commons.networkgraph.ElementAttribute\",multiple:true,singularName:\"attribute\"}}},renderer:null});h.prototype.scrollToElement=function(){var t=this.getParent();if(t){t._scrollToElement(this)}};h.prototype._afterRenderingBase=function(){var t=this.getParent();var e=t&&t._isUseNodeHtml()&&this.isA(\"sap.suite.ui.commons.networkgraph.Node\"),r=this.isA(\"sap.suite.ui.commons.networkgraph.Group\");var i=new s;if(!e&&!r){var o=this._render({renderManager:i});if(o){this.$()[0].outerHTML=o}else{i.flush(this.$()[0],true,false);i.destroy()}}this._afterRendering()};h.prototype._removeFromInvalidatedControls=function(){try{this.getUIArea()._onControlRendered(this)}catch(t){}};h.prototype._setFocus=function(t){var e=t?\"addClass\":\"removeClass\";this.$()[e](this.FOCUS_CLASS)};h.prototype._replaceId=function(t,e){if(t.attr(\"id\")){t.attr(\"id\",t.attr(\"id\")+e)}t.removeAttr(\"data-sap-ui\");var r=t.children();if(r.length===0){return}r.each(function(t,r){this._replaceId(jQuery(r),e)}.bind(this))};h.prototype._useInLayout=function(){return true};h.prototype._hasFocus=function(){return this.$().hasClass(this.FOCUS_CLASS)};h.prototype._hasDefaultStatus=function(t){t=t||this.getStatus();return t===u.Error||t===u.Information||t===u.Warning||t===u.Success};h.prototype._hasCustomStatus=function(t){t=t||this.getStatus();if(t===u.Standard||this._hasDefaultStatus(t)){return false}return!!t};h.prototype._isCustomStatusColor=function(t){return t!==h.ColorType.BorderWidth&&t!==h.ColorType.BorderStyle};h.prototype._getElementId=function(t){return t?this.getId()+t:this.getId()};h.prototype._getColor=function(t,e){var r=this.getParent(),o,s,n=\"\";var u=function(){if(typeof this.getSelected===\"function\"&&this.getSelected()){if(t===h.ColorType.Background||t===h.ColorType.Content||t===h.ColorType.Border){t=\"Selected\"+t}if(t==h.ColorType.HeaderContent&&this._isBox()){t=h.ColorType.Content}}}.bind(this);e=e||this.getStatus();if(!this._hasCustomStatus(e)){return\"\"}if(!r||!t){return\"\"}s=r._oStatuses[e];if(s){if(t.indexOf(\"Focus\")!==-1){if(!s.getUseFocusColorAsContentColor()){return\"\"}t=t.replace(\"Focus\",\"Content\")}u();o=\"get\"+t+\"Color\";var l=s[o]?.();if(c.hasOwnProperty(l)){n=l}else{{if(l){var n=i.get(l);if(!n&&a.isValid(l)){n=l}}}}}return n?n:\"\"};h.prototype._getStatusValue=function(t,e){var r=this. Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/taccount/TAccountPanelRenderer\", [\"sap/ui/core/Renderer\",\"sap/m/PanelRenderer\"],function(e,n){\"use strict\";var t=e.extend(n),a;t.renderContent=function(e,t){a=t;n.renderContent.apply(this,[e,t])};t.apiVersion=2;t.renderChildren=function(e,n){var t=a&&a.getId();if(a){var r=a.getTable();if(r){e.openStart(\"div\").attr(\"id\",t+\"-table\").class(\"sapSuiteUiCommonsAccountPanelTable\").openEnd();e.renderControl(r);e.close(\"div\")}}e.openStart(\"div\").attr(\"id\",t+\"-datacontent\").class(\"sapSuiteUiCommonsAccountPanelContent\").openEnd();n.forEach(e.renderControl);e.close(\"div\");var o=a&&a.getShowOverlay()?\"sapSuiteUiCommonsAccountPanelOverlayVisible\":\"\";e.openStart(\"div\").attr(\"id\",t+\"-overlay\").class(\"sapSuiteUiCommonsAccountPanelOverlay\").class(o).openEnd();e.close(\"div\")};return t},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/taccount/TAccountUtils\", [\"sap/ui/core/format/NumberFormat\",\"sap/ui/core/Core\",\"sap/base/i18n/Localization\",\"sap/ui/core/Locale\"],function(r,e,t,a){\"use strict\";var o={};o._oCurrencyFormatter=null;o.formatCurrency=function(r,e,t){return o._getCurrencyFormatter(t).format(r,e)||\"\"};o._getCurrencyFormatter=function(e){o._oCurrencyFormatter=r.getCurrencyInstance({showMeasure:false,maxFractionDigits:e});return o._oCurrencyFormatter};return o},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/util/DateUtils\", [\"sap/base/Log\",\"sap/ui/core/date/UI5Date\"],function(e,t){\"use strict\";var a=function(){throw new Error};a.resetDateToStartOfDay=function(e){if(a.isValidDate(e)){e.setHours(0);e.setMinutes(0);e.setSeconds(0);e.setMilliseconds(0)}};a.resetDateToEndOfDay=function(e){if(a.isValidDate(e)){e.setHours(23);e.setMinutes(59);e.setSeconds(59);e.setMilliseconds(999)}};a.resetDateToStartOfMonth=function(e){if(a.isValidDate(e)){e.setDate(1);a.resetDateToStartOfDay(e)}};a.resetDateToEndOfMonth=function(e){if(a.isValidDate(e)){e.setDate(1);e.setMonth(e.getMonth()+1);e.setDate(0);a.resetDateToEndOfDay(e)}};a.resetDateToStartOfYear=function(e){if(a.isValidDate(e)){e.setMonth(0);a.resetDateToStartOfMonth(e)}};a.resetDateToEndOfYear=function(e){if(a.isValidDate(e)){e.setMonth(11);a.resetDateToEndOfMonth(e)}};a.resetDateToStartOfWeek=function(t,n){if(a.isValidDate(t)){if(n===undefined){n=1}else if(isNaN(n)||!isFinite(n)){e.error(\"DateUtils iFirstDayOfWeek value ='\"+n+\"' is invalid.\");return}t.setDate(t.getDate()-(t.getDay()-n+7)%7);a.resetDateToStartOfDay(t)}};a.resetDateToEndOfWeek=function(t,n){if(a.isValidDate(t)){var i;if(n&&!(n instanceof Object)){e.error(\"DateUtils oSettings is not an object.\");return}if(!n){n={}}if(n.iDuration===undefined){i=7}else{i=n.iDuration;if(isNaN(i)||!isFinite(i)){e.error(\"DateUtils duration value ='\"+i+\"' is invalid.\");return}}a.resetDateToStartOfWeek(t,n.iFirstDayOfWeek);t.setDate(t.getDate()+i-1);a.resetDateToEndOfDay(t)}};a.isValidDate=function(t){if(Object.prototype.toString.call(t)!==\"[object Date]\"||isNaN(t.getTime())){e.error(\"DateUtils invalid date=\"+t);return false}return true};a.dateDaysEqual=function(e,t){if(a.isValidDate(e)&&a.isValidDate(t)){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}return false};a.dateMonthsEqual=function(e,t){if(a.isValidDate(e)&&a.isValidDate(t)){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}return false};a.incrementDateByIndex=function(e,n){var i=null;if(a.isValidDate(e)&&isFinite(n)){i=t.getInstance(e);i.setDate(e.getDate()+parseInt(n,10))}return i};a.incrementMonthByIndex=function(e,n){var i=null;if(a.isValidDate(e)&&isFinite(n)){i=t.getInstance(e);a.resetDateToStartOfMonth(i);i.setMonth(e.getMonth()+parseInt(n,10))}return i};a.numberOfMonthsApart=function(e,n){e=t.getInstance(e);n=t.getInstance(n);a.resetDateToStartOfMonth(e);a.resetDateToStartOfMonth(n);var i=e.getTime()<=n.getTime();var r=0,s=0,o=0;for(r=0,s=0;!(e.getDate()===n.getDate()&&e.getMonth()===n.getMonth()&&e.getFullYear()===n.getFullYear());r++,s--){if(i){e.setMonth(e.getMonth()+1)}else{e.setMonth(e.getMonth()-1)}}if(i){o=r}else{o=s}return o};a.numberOfDaysApart=function(e,n){e=t.getInstance(e);n=t.getInstance(n);a.resetDateToStartOfDay(e);a.resetDateToStartOfDay(n);var i=24*60*60*1e3;var r=Math.round(Math.abs((e.getTime()-n.getTime())/i));if(e.getTime()>n.getTime()){return-r}else{return r}};a.parseDate=function(e,a){if(e instanceof Date||!e){return e}a=a!==false;if(typeof e===\"string\"){var n=/Date\\((-*\\d+)\\)/.exec(e);if(n===null){if(a){var i=Date.parse(e);if(!isNaN(i)){e=t.getInstance(i)}else if(!isNaN(e)){e=t.getInstance(parseInt(e,10))}}}else{e=t.getInstance(parseInt(n[1],10))}}else{e=t.getInstance(parseInt(e,10))}return e};return a},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/util/FullScreenUtil\", [\"sap/m/Dialog\",\"sap/ui/core/HTML\",\"sap/base/Log\"],function(e,l,o){\"use strict\";var r={toggleFullScreen:function(o,r,t,n){var a;if(r){a=o.getDomRef();if(a){if(!o._oHTML){o._oHTML=new l({preferDOM:false,afterRendering:function(){if(o&&o._oHTML){var e=o._oHTML.getDomRef();if(e){e.style.height=\"100%\";e.append(o.getDomRef());o._prevOverflowX=o.getDomRef().style.overflowX;o._prevOverflowY=o.getDomRef().style.overflowY;o.getDomRef().style.overflowX=\"\";o.getDomRef().style.overflowY=\"\"}}}})}if(!o._oFullScreenDialog){o._oFullScreenDialog=new e({showHeader:false,stretch:true,horizontalScrolling:false,verticalScrolling:false,beforeClose:function(){if(o&&o._placeHolder&&n){n.call(o,false)}},content:[o._oHTML]});if(t){o._oFullScreenDialog.attachAfterOpen(function(){t.focus()});o._oFullScreenDialog.attachAfterClose(function(){t.focus()})}}o._placeHolder=document.createElement(\"div\");a.parentNode.insertBefore(o._placeHolder,a);o._oHTML.setContent(\"
\")}o._oFullScreenDialog.open();o._oFullScreenDialog.getDomRef().querySelector(\".sapMDialogScroll\").classList.add(\"sapMDialogChartContainerScroll\")}else if(o._placeHolder&&o._oHTML){var c=o.getHeight&&o.getHeight();var i=o.getDomRef();if(c&&c!==i.style.height){i.style.height=c}a=o._oHTML.getDomRef();o._placeHolder.parentNode.replaceChild(a.children[0],o._placeHolder);o._placeHolder=null;a=null;o.getDomRef().style.overflowX=o._prevOverflowX;o.getDomRef().style.overflowY=o._prevOverflowY;if(o._oFullScreenDialog){o._oFullScreenDialog.close()}}},cleanUpFullScreen:function(e){if(e._oFullScreenDialog){e._oFullScreenDialog.destroy();e._oFullScreenDialog=null}e._placeHolder=null;e._oHTML=null},toggleFullScreenBrowserAPI:function(e,l){if(l){e.getDomRef().requestFullscreen().catch(e=>{o.error(`Error attempting to enable fullscreen mode: ${e.message} (${e.name})`)})}else{e._bFromFullScreenButtonPress=true;document.exitFullscreen().catch(e=>{o.error(`Error attempting to enable fullscreen mode: ${e.message} (${e.name})`)})}},attachFullScreenChangeEvent:function(e){e.getDomRef().removeEventListener(\"fullscreenchange\",this.onFullScreenChange.bind(e));e.getDomRef().addEventListener(\"fullscreenchange\",this.onFullScreenChange.bind(e));e._bIsFullScreenListenerAdded=true},onFullScreenChange:function(){if(!document.fullscreenElement&&!this._bFromFullScreenButtonPress){this._toggleFullScreenButtonState()}else{this._bFromFullScreenButtonPress=false}}};return r},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/util/HtmlElement\", [\"sap/ui/base/Object\",\"sap/ui/core/Control\",\"./HtmlElementRenderer\",\"sap/base/assert\",\"sap/base/security/encodeXML\",\"sap/base/Log\"],function(t,s,e,i,r,a){\"use strict\";var n=t.extend(\"sap.suite.ui.commons.util.HtmlElement\",{constructor:function(s){t.apply(this,arguments);i(typeof s===\"string\",\"Element name must be a string.\");this._sName=s;this._mAttributes={};this._aChildren=[]}});n.prototype.getRenderer=function(){return new e(this)};n.prototype.setId=function(t,s){i(typeof t===\"string\",\"Id must by a string.\");this.setAttribute(\"id\",t);if(s){this.setAttribute(\"data-sap-ui\",t)}};n.prototype.setAttribute=function(t,s,e){i(typeof t===\"string\",\"Key must by a string.\");i(typeof s===\"string\"||typeof s===\"number\"||typeof s===\"boolean\",\"Value must be a string, number or boolean\");var n=String(s);if(e){n=r(n)}if(t in this._mAttributes){a.warning(\"Replacing an already existing attribute.\",\"Attribute key = \"+t+\", old value = \"+this._mAttributes[t]+\", new value = \"+n,this)}if(t===\"style\"){var o=n.split(\";\");if(!this._mAttributes.style){this._mAttributes.style={}}for(var u=0;u0){t.aCustomStyleClasses.forEach(function(t){e.addClass(r(t))})}};n.prototype.addChild=function(t){i(typeof t===\"string\"||t instanceof n||t instanceof s,\"Child must be a string, HtmlElement or a Control.\");this._aChildren.push(t)};n.prototype.addChildEscaped=function(t,s){i(typeof t===\"string\",\"sText must be a string\");t=r(t);if(s){t=t.replace(/ /g,\"
\")}this._aChildren.push(t)};return n});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/util/HtmlElementRenderer\", [\"sap/ui/base/Object\",\"sap/ui/core/Control\",\"sap/base/Log\"],function(e,t,r){\"use strict\";var n;var i=e.extend(\"sap.suite.ui.commons.util.HtmlElementRenderer\",{constructor:function(t){e.apply(this,arguments);this._oHtmlElement=t}});i.apiVersion=2;i.prototype.render=function(e){e.openStart(this._oHtmlElement._sName);this._renderAttributes(e);e.openEnd();if(this._oHtmlElement._aChildren.length>0){this._renderChildren(e)}e.close(this._oHtmlElement._sName)};i.prototype._renderAttributes=function(e){var t=this._oHtmlElement._mAttributes;for(var r in t){if(!t.hasOwnProperty(r)){continue}var n=t[r];switch(r){case\"class\":if(Array.isArray(n)){for(var i in n){e.class(n[i])}}else{e.class(n)}break;case\"style\":if(typeof n===\"object\"&&!!n){for(var s in n){e.style(s,n[s])}}break;default:if(Array.isArray(n)){n=n.join(\"\")}e.attr(r,n)}}};i.prototype._renderChildren=function(e){if(typeof n===\"undefined\"){n=sap.ui.require(\"sap/suite/ui/commons/util/HtmlElement\")}this._oHtmlElement._aChildren.forEach(function(i){if(typeof i===\"string\"){e.unsafeHtml(i)}else if(n&&i instanceof n){i.getRenderer().render(e)}else if(i instanceof t){e.renderControl(i)}else{r.error(typeof i+\" cannot be a child of a HTML element. Skipping rendering for this child.\")}})};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/util/ManagedObjectRegister\", [\"sap/ui/base/Object\",\"sap/ui/base/ManagedObject\",\"sap/base/assert\",\"sap/base/Log\"],function(e,t,i,s){\"use strict\";var r=e.extend(\"sap.suite.ui.commons.util.ManagedObjectRegister\",{constructor:function(){e.apply(this,arguments);this._mRegister={}}});r.prototype.register=function(e,r){i(typeof e===\"string\",\"Key must be a string.\");e=e[0].toUpperCase()+e.substr(1);var o=\"get\"+e;if(typeof this._mRegister[e]!==\"undefined\"){this.destroyObject(e)}if(typeof r===\"function\"){this._mRegister[e]={fFactory:r,oValue:undefined}}else if(r instanceof t){this._mRegister[e]={fFactory:undefined,oValue:r}}else{s.error(\"oFactoryFunction must be either a factory function or a managed object.\");return}if(o!==\"getObject\"){this[o]=function(){return this.getObject(e)}}};r.prototype.getObject=function(e){var s;e=e||\"Object\";s=this._mRegister[e];if(s){if(typeof s.oValue===\"undefined\"){s.oValue=s.fFactory(e);i(s.oValue instanceof t,\"Factory class must return a managed object.\")}return s.oValue}return null};r.prototype.isObjectInitialized=function(e){var t;t=this._mRegister[e];return t&&typeof t.oValue!==\"undefined\"};r.prototype.destroyObject=function(e){var t;i(typeof e===\"string\",\"Key must be a string.\");t=this._mRegister[e];if(t){if(t.oValue){t.oValue.destroy()}if(e!==\"Object\"){delete this[\"get\"+e]}delete this._mRegister[e]}};r.prototype.destroyAll=function(){var e,t;for(e in this._mRegister){t=this._mRegister[e];if(t.oValue){t.oValue.destroy()}if(e!==\"Object\"){delete this[\"get\"+e]}}this._mRegister={}};return r});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/util/RenderUtils\", [\"sap/ui/base/Object\",\"sap/base/security/encodeXML\"],function(e,t){\"use strict\";var r=function(e){this._rm=e};r.prototype=Object.create(e.prototype||null);r.prototype._getRenderManager=function(){if(!this._rm){throw new Error(\"Render manager not defined\")}return this._rm};r.prototype.writeOpeningTag=function(e,r){r=r||{};var i=this._getRenderManager();var s;i.write(\"<\");i.writeEscaped(e);if(r.classes){for(var a=0;a\")};r.prototype.writeClosingTag=function(e){var t=this._getRenderManager();t.write(\"\")};return r},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/util/StringSliderTooltip\", [\"sap/m/SliderTooltipBase\"],function(t){\"use strict\";var e=t.extend(\"sap.suite.ui.commons.util.StringSliderTooltip\",{metadata:{library:\"sap.suite.ui.commons.util\",properties:{mapFunction:{type:\"any\",group:\"Misc\"},fetchValue2:{type:\"boolean\",group:\"Misc\",defaultValue:false}}},renderer:{apiVersion:2,render:function(t,e){var i=e.getStringValue();if(!i){return}t.openStart(\"div\",e);t.class(\"sapMSliderTooltip\").class(\"sapSuiteUiCommonsStringSliderTooltip\");t.openEnd();t.text(i);t.close(\"div\")}}});e.prototype.getStringValue=function(){var t=this.getParent();if(!t){return null}var e=this.getFetchValue2()?t.getValue2():t.getValue();var i=this.getMapFunction()||String;return i(e)};e.prototype.sliderValueChanged=function(t){var e=this.getMapFunction()||String,i=e(t);this.$().text(i)};return e});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/windowmessages/CollaborationMessageBroker\", [\"sap/base/Log\",\"sap/ui/core/Lib\"],function(e,n){\"use strict\";let o;const s=e.getLogger(\"sap.suite.ui.commons.windowmessages.CollaborationMessageBroker\");function t(e){s.info(\"CollaborationMessageBroker instance is created\");const n=\"sap-suite-ui-commons-collaboration-message-broker\";const o=\"collaboration-channel\";const t=\"get-provider-config\";const i=\"update-top-level-url\";const a=sap.ui.require(\"sap/ushell/Container\");const c=sap.ui.require(\"sap/suite/ui/commons/collaboration/CollaborationHelper\");if(!a){s.info(\"UShell Container instance doesn't exist\");return}const r=[{channelId:o,version:\"1.0\"}];const l=async function(e,t,i){try{const c=await a.getServiceAsync(\"MessageBroker\");const r=JSON.stringify(i);await c.publish(o,n,Date.now().toString(),t,[e],r);s.info(`Published successfully to CLIENT_ID: ${e} on CHANNEL_ID: ${o} DATA: ${r}`)}catch(e){s.error(`Failed to publish message: ${e}`)}};const u=function(e,n,o){l(e,n,o)};const f=function(e,n,o){if(!o){return}try{const t=JSON.parse(o);if(t?.url){const o=t.url;const s=c._stripTeamsParams(o);l(e,n,{success:true});window.location.replace(s);window.location.reload()}else{s.info(\"Invalid URL in the message data.\")}}catch(e){s.error(\"Failed to parse the message data: \"+e)}};const g=function(n,o,a,c){s.info(\"Message Received from CLIENT_ID: \"+n+\" on CHANNEL_ID: \"+o);switch(a){case t:u(n,a,e);break;case i:f(n,a,c);break;default:s.info(\"Message: '\"+a+\"' is not supported\")}};a.getServiceAsync(\"MessageBroker\").then(function(e){e.connect(n).then(function(){s.info(\"Client ID: \"+n+\" is connected successfully\");e.subscribe(n,r,g,Function.prototype)})})}return{startInstance:function(e){s.info(\"CollaborationMessageBroker=>startInstance method is being called\");if(!o){o=new t(e)}}}});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/windowmessages/CollaborationMessageConsumer\", [\"sap/base/Log\"],function(n){\"use strict\";const t=n.getLogger(\"sap.suite.ui.commons.windowmessages.CollaborationMessageConsumer\");let e;let o;const s=\"sap-suite-ui-commons-collaboration-client-appruntime\";const i=\"collaboration-channel\";const c=\"get-provider-config\";const r=\"update-top-level-url\";const a=[{channelId:i,version:\"1.0\"}];const u=[\"sap-suite-ui-commons-collaboration-message-broker\"];const l=function(n,e,o,s,i,c){t.info(`Message Received from CLIENT_ID: ${n} on CHANNEL_ID: ${e}`);if(o===i){c(s)}else{t.info(`Message: '${o}' is not supported`)}};const f=function(n,t,s,i){l(n,t,s,i,c,function(n){e=JSON.parse(n);o(e)})};const p=function(n,e,o,s){l(n,e,o,s,r,function(n){const{success:e}=JSON.parse(n);if(e){t.info(\"Parent page URL successfully updated.\")}})};const d=function(n){e={};n(e)};const g=async function(n,e,o){const i=sap.ui.require(\"sap/ushell/Container\");let c;try{c=await i.getServiceAsync(\"MessageBroker\");try{await c.connect(n);t.info(`Client ID: ${n} is connected successfully`)}catch{t.warn(\"Could not connect to the Message Broker\");return null}await c.subscribe(n,e,o,Function.prototype);return c}catch(n){t.error(`Error during connect or subscribe: ${n}`);c?.disconnect(s);return null}};return{getProviderConfiguration:function(){return new Promise(async function(n){if(e){n(e);return}o=n;const r=sap.ui.require(\"sap/ushell/Container\");if(!r){t.info(\"UShell Container instance doesn't exist\");d(n);return}let l;try{l=await g(s,a,f);if(l){await l.publish(i,s,Date.now().toString(),c,u);try{l.disconnect(s)}catch(t){n(e)}}else{d(n)}}catch(e){t.info(\"Provider Configuration doesn't exist\");l?.disconnect(s);d(n)}})},updateTopLevelURLforAppRuntime:async function(n){let e;try{e=await g(s,a,p);if(e){const o=JSON.stringify({url:n});await e.publish(i,s,Date.now().toString(),r,u,o);try{e.disconnect(s);t.info(`Client ID: ${s} disconnected successfully`)}catch(n){t.info(\"Disconnect failed\")}}}catch(n){e?.disconnect(s)}}}});\nsap.ui.require.preload({\n\t\"sap/suite/ui/commons/collaboration/CollaborationBusyDialog.fragment.xml\":'',\n\t\"sap/suite/ui/commons/collaboration/ContactPopover.fragment.xml\":'/isUserExistsInTeams}\">/photo} ? ${userData>/photo} : \\'sap-icon://person-placeholder\\' }\"\\n displaySize=\"M\" class=\"sapUiSmallMarginEnd\" displayShape=\"Circle\" macrodata:email=\"{userData>/mail}\" fesr:press=\"MST:ContactAction\"\\n macrodata:type=\"chat\" tooltip=\"{userData>/badgeTooltip}\" badgeValueState=\"{userData>/badgeValueState}\" badgeTooltip=\"{userData>/badgeTooltip}\" badgeIcon=\"{userData>/badgeIcon}\"/>/displayname}\" level=\"H3\" /><Text text=\"{userData>/jobtitle}\"/></VBox></HBox><OverflowToolbar visible=\"{userData>/isDirectCommunicationEnabled}\" class=\"sapMFlexItem sapUiNoContentPadding sapUiTinyMarginTop\"><Title text=\"{i18n>COLLABORATION_MSTEAMS_SHARE}\" level=\"H5\"/><ToolbarSpacer/><Button\\n press=\"handleMSTeamsPress\"\\n macrodata:email=\"{userData>/mail}\"\\n macrodata:type=\"chat\"\\n tooltip=\"{i18n>CHAT_BUTTON_TOOLTIP}\"\\n icon=\"sap-icon://discussion\"\\n type=\"Transparent\"\\n\\t\\t\\t\\t\\tclass=\"sapUiTinyMarginEnd\"\\n fesr:press=\"MST:ContactAction\"\\n /><Button\\n press=\"handleMSTeamsPress\"\\n macrodata:email=\"{userData>/mail}\"\\n macrodata:type=\"videoCall\"\\n tooltip=\"{i18n>VIDEOCALL_BUTTON_TOOLTIP}\"\\n icon=\"sap-icon://video\"\\n type=\"Transparent\"\\n\\t\\t\\t\\t\\tclass=\"sapUiTinyMarginEnd\"\\n fesr:press=\"MST:ContactAction\"\\n /><Button\\n press=\"handleMSTeamsPress\"\\n macrodata:email=\"{userData>/mail}\"\\n macrodata:type=\"call\"\\n tooltip=\"{i18n>CALL_BUTTON_TOOLTIP}\"\\n icon=\"sap-icon://call\"\\n type=\"Transparent\"\\n\\t\\t\\t\\t\\tclass=\"sapUiTinyMarginEnd\"\\n fesr:press=\"MST:ContactAction\"\\n /></OverflowToolbar ><VBox class=\"sapMFlexItem sapUiNoContentPadding sapUiSmallMarginTop\"><Title text=\"{i18n>POPOVER_CONTACT_DETAILS}\" level=\"H5\" class=\"sapUiTinyMarginBottom sapUiTinyMarginTop\" /><VBox visible=\"{= !!${userData>/mobilephone}}\" class=\"sapUiTinyMarginTop sapUiTinyMarginBottom\" ><Label id=\"UserMobile\" text=\"{i18n>POPOVER_CONTACT_SECTION_MOBILE}:\" /><Link text=\"{userData>/mobilephone}\" href=\"{path: \\'userData>/mobilephone\\', formatter: \\'.formatUri\\'}\" ariaLabelledBy=\"UserMobile\"/></VBox><VBox visible=\"{= !!${userData>/businessphone}}\" class=\"sapUiTinyMarginTop sapUiTinyMarginBottom\" ><Label id=\"UserPhone\" text=\"{i18n>POPOVER_CONTACT_SECTION_PHONE}:\" /><Link text=\"{userData>/businessphone}\" href=\"{path: \\'userData>/businessphone\\', formatter: \\'.formatUri\\'}\" ariaLabelledBy=\"UserPhone\"/></VBox><VBox visible=\"{= !!${userData>/mail}}\" class=\"sapUiTinyMarginTop sapUiTinyMarginBottom\" ><Label id=\"UserEmail\" text=\"{i18n>POPOVER_CONTACT_SECTION_EMAIL}:\" /><Link text=\"{userData>/mail}\" href=\"{path: \\'userData>/mail\\', formatter: \\'.formatUri\\'}\" ariaLabelledBy=\"UserEmail\"/></VBox><VBox visible=\"{= !!${userData>/officelocation}}\" class=\"sapUiTinyMarginTop sapUiTinyMarginBottom\" ><Label text=\"{i18n>POPOVER_CONTACT_SECTION_OFFICE_LOCATION}:\" /><Text text=\"{userData>/officelocation}\" /></VBox></VBox></VBox><HBox class=\"sapUiTinyMarginTop\" visible=\"{= !${userData>/isUserExistsInTeams}}\"><IllustratedMessage illustrationType=\"tnt-NoUsers\" illustrationSize=\"Dialog\" title=\"{i18n>POPOVER_NO_CONTACT_TITLE}\"\\n description=\"{i18n>POPOVER_NO_CONTACT_DESCRIPTION}\" ><additionalContent><Button id=\"mail\" text=\"{i18n>POPOVER_CONTINUE}\" press=\"afterContinue\" type=\"Emphasized\" class=\"sapUiTinyMarginEnd\"/><Button text=\"{i18n>POPOVER_CANCEL}\" press=\"afterClose\"/></additionalContent></IllustratedMessage ></HBox></Popover></core:FragmentDefinition>\\n',\n\t\"sap/suite/ui/commons/collaboration/MinimalContactPopover.fragment.xml\":'<core:FragmentDefinition\\n\\txmlns=\"sap.m\"\\n\\txmlns:core=\"sap.ui.core\"\\n xmlns:fesr=\"http://schemas.sap.com/sapui5/extension/sap.ui.core.FESR/1\"\\n xmlns:macrodata=\"http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1\"><Popover\\n id=\"ContactPopover\"\\n class=\"sapUiContentPadding\"\\n placement=\"Auto\"\\n initialFocus=\"action\"\\n showHeader=\"false\"\\n contentWidth=\"25rem\"\\n afterClose=\"afterClose\"><VBox><HBox><Title text=\"{i18n>COLLABORATION_MSTEAMS_SHARE}\" level=\"H5\" class=\"sapUiTinyMarginTop\"/><Button\\n press=\"handleMSTeamsPress\"\\n macrodata:email=\"{userData>/mail}\"\\n macrodata:type=\"chat\"\\n tooltip=\"{i18n>CHAT_BUTTON_TOOLTIP}\"\\n icon=\"sap-icon://discussion\"\\n type=\"Transparent\"\\n class=\"sapUiLargeMarginBegin sapUiTinyMarginEnd\"\\n fesr:press=\"MST:ContactAction\"\\n /><Button\\n press=\"handleMSTeamsPress\"\\n macrodata:email=\"{userData>/mail}\"\\n macrodata:type=\"videoCall\"\\n tooltip=\"{i18n>VIDEOCALL_BUTTON_TOOLTIP}\"\\n icon=\"sap-icon://video\"\\n type=\"Transparent\"\\n class=\"sapUiTinyMarginEnd\"\\n fesr:press=\"MST:ContactAction\"\\n /><Button\\n press=\"handleMSTeamsPress\"\\n macrodata:email=\"{userData>/mail}\"\\n macrodata:type=\"call\"\\n tooltip=\"{i18n>CALL_BUTTON_TOOLTIP}\"\\n icon=\"sap-icon://call\"\\n type=\"Transparent\"\\n class=\"sapUiTinyMarginEnd\"\\n fesr:press=\"MST:ContactAction\"\\n /></HBox><HBox class=\"sapUiTinyMarginTop\"><core:Icon\\n src=\"sap-icon://email\"></core:Icon><Link text=\"{userData>/mail}\" href=\"{parts: [{path: \\'userData>/mail\\'}, {path: \\'userData>/params\\'}], formatter: \\'.formatUri\\'}\" class=\"sapUiSmallMarginBegin sapUiTinyMarginBottom\" /></HBox></VBox></Popover></core:FragmentDefinition>\\n',\n\t\"sap/suite/ui/commons/collaboration/flpplugins/msplugin/manifest.json\":'{\"_version\":\"1.68.0\",\"sap.app\":{\"id\":\"sap.suite.ui.commons.collaboration.flpplugins.msplugin\",\"type\":\"component\",\"title\":\"\",\"description\":\"\",\"applicationVersion\":{\"version\":\"1.108\"},\"ach\":\"CA-FLP-EXT-COL\"},\"sap.ui\":{\"technology\":\"UI5\",\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":true}},\"sap.ui5\":{\"dependencies\":{\"minUI5Version\":\"1.108\"}}}',\n\t\"sap/suite/ui/commons/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"id\":\"sap.suite.ui.commons\",\"type\":\"library\",\"embeds\":[\"collaboration/flpplugins/msplugin\"],\"applicationVersion\":{\"version\":\"1.139.0\"},\"title\":\"SAP UI library: sap.suite.ui.commons\",\"description\":\"SAP UI library: sap.suite.ui.commons\",\"ach\":\"CA-UI5-SC\",\"resources\":\"resources.json\",\"offline\":true},\"sap.ui\":{\"technology\":\"UI5\",\"supportedThemes\":[\"base\",\"sap_belize\",\"sap_belize_base\",\"sap_belize_hcb\",\"sap_belize_hcw\",\"sap_belize_plus\",\"sap_bluecrystal\",\"sap_bluecrystal_base\",\"sap_fiori_3\",\"sap_fiori_3_dark\",\"sap_fiori_3_hcb\",\"sap_fiori_3_hcw\",\"sap_hcb\",\"sap_horizon\",\"sap_horizon_dark\",\"sap_horizon_hcb\",\"sap_horizon_hcw\"]},\"sap.ui5\":{\"dependencies\":{\"minUI5Version\":\"1.139\",\"libs\":{\"sap.ui.core\":{\"minVersion\":\"1.139.0\"},\"sap.m\":{\"minVersion\":\"1.139.0\"},\"sap.suite.ui.microchart\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.ui.ux3\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.ui.comp\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.viz\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.ui.commons\":{\"minVersion\":\"1.139.0\",\"lazy\":true}}},\"library\":{\"i18n\":{\"bundleUrl\":\"messagebundle.properties\",\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-sappsd\",\"en-US-saprigi\",\"en-US-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]},\"content\":{\"controls\":[\"sap.suite.ui.commons.BulletChart\",\"sap.suite.ui.commons.BusinessCard\",\"sap.suite.ui.commons.CalculationBuilder\",\"sap.suite.ui.commons.CalculationBuilderExpression\",\"sap.suite.ui.commons.CalculationBuilderFunction\",\"sap.suite.ui.commons.CalculationBuilderInput\",\"sap.suite.ui.commons.CalculationBuilderItem\",\"sap.suite.ui.commons.CalculationBuilderVariable\",\"sap.suite.ui.commons.ChartContainer\",\"sap.suite.ui.commons.ChartContainerContent\",\"sap.suite.ui.commons.ChartContainerToolbarPlaceholder\",\"sap.suite.ui.commons.ChartTile\",\"sap.suite.ui.commons.ColumnMicroChart\",\"sap.suite.ui.commons.ComparisonChart\",\"sap.suite.ui.commons.CloudFilePicker\",\"sap.suite.ui.commons.DateRangeScroller\",\"sap.suite.ui.commons.DateRangeSlider\",\"sap.suite.ui.commons.DateRangeSliderInternal\",\"sap.suite.ui.commons.DeltaMicroChart\",\"sap.suite.ui.commons.DynamicContainer\",\"sap.suite.ui.commons.FacetOverview\",\"sap.suite.ui.commons.FeedItemHeader\",\"sap.suite.ui.commons.FeedTile\",\"sap.suite.ui.commons.GenericTile\",\"sap.suite.ui.commons.GenericTile2X2\",\"sap.suite.ui.commons.HarveyBallMicroChart\",\"sap.suite.ui.commons.HeaderCell\",\"sap.suite.ui.commons.HeaderContainer\",\"sap.suite.ui.commons.imageeditor.ImageEditor\",\"sap.suite.ui.commons.imageeditor.ImageEditorContainer\",\"sap.suite.ui.commons.InfoTile\",\"sap.suite.ui.commons.JamContent\",\"sap.suite.ui.commons.KpiTile\",\"sap.suite.ui.commons.LaunchTile\",\"sap.suite.ui.commons.LinkActionSheet\",\"sap.suite.ui.commons.MicroAreaChart\",\"sap.suite.ui.commons.MonitoringContent\",\"sap.suite.ui.commons.MonitoringTile\",\"sap.suite.ui.commons.networkgraph.Graph\",\"sap.suite.ui.commons.networkgraph.Node\",\"sap.suite.ui.commons.NewsContent\",\"sap.suite.ui.commons.NoteTaker\",\"sap.suite.ui.commons.NoteTakerCard\",\"sap.suite.ui.commons.NoteTakerFeeder\",\"sap.suite.ui.commons.NumericContent\",\"sap.suite.ui.commons.NumericTile\",\"sap.suite.ui.commons.PictureZoomIn\",\"sap.suite.ui.commons.ProcessFlow\",\"sap.suite.ui.commons.ProcessFlowConnection\",\"sap.suite.ui.commons.ProcessFlowConnectionLabel\",\"sap.suite.ui.commons.ProcessFlowLaneHeader\",\"sap.suite.ui.commons.ProcessFlowNode\",\"sap.suite.ui.commons.RepeaterViewConfiguration\",\"sap.suite.ui.commons.SplitButton\",\"sap.suite.ui.commons.statusindicator.StatusIndicator\",\"sap.suite.ui.commons.statusindicator.ShapeGroup\",\"sap.suite.ui.commons.statusindicator.Shape\",\"sap.suite.ui.commons.statusindicator.Rectangle\",\"sap.suite.ui.commons.statusindicator.Circle\",\"sap.suite.ui.commons.statusindicator.CustomShape\",\"sap.suite.ui.commons.statusindicator.PropertyThreshold\",\"sap.suite.ui.commons.statusindicator.DiscreteThreshold\",\"sap.suite.ui.commons.statusindicator.LibraryShape\",\"sap.suite.ui.commons.taccount.TAccount\",\"sap.suite.ui.commons.TargetFilter\",\"sap.suite.ui.commons.ThingCollection\",\"sap.suite.ui.commons.ThreePanelThingInspector\",\"sap.suite.ui.commons.ThreePanelThingViewer\",\"sap.suite.ui.commons.TileContent\",\"sap.suite.ui.commons.TileContent2X2\",\"sap.suite.ui.commons.Timeline\",\"sap.suite.ui.commons.TimelineFilterListItem\",\"sap.suite.ui.commons.TimelineItem\",\"sap.suite.ui.commons.UnifiedThingGroup\",\"sap.suite.ui.commons.UnifiedThingInspector\",\"sap.suite.ui.commons.VerticalNavigationBar\",\"sap.suite.ui.commons.ViewRepeater\"],\"elements\":[\"sap.suite.ui.commons.BulletChartData\",\"sap.suite.ui.commons.CalculationBuilderValidationResult\",\"sap.suite.ui.commons.ColumnData\",\"sap.suite.ui.commons.ColumnMicroChartLabel\",\"sap.suite.ui.commons.ComparisonData\",\"sap.suite.ui.commons.CountingNavigationItem\",\"sap.suite.ui.commons.FeedItem\",\"sap.suite.ui.commons.HarveyBallMicroChartItem\",\"sap.suite.ui.commons.HeaderCellItem\",\"sap.suite.ui.commons.imageeditor.CustomSizeItem\",\"sap.suite.ui.commons.MicroAreaChartItem\",\"sap.suite.ui.commons.MicroAreaChartLabel\",\"sap.suite.ui.commons.MicroAreaChartPoint\",\"sap.suite.ui.commons.TargetFilterColumn\",\"sap.suite.ui.commons.TargetFilterMeasureColumn\",\"sap.suite.ui.commons.AriaProperties\"],\"types\":[\"sap.suite.ui.commons.BulletChartMode\",\"sap.suite.ui.commons.CalculationBuilderComparisonOperatorType\",\"sap.suite.ui.commons.CalculationBuilderFunctionType\",\"sap.suite.ui.commons.CalculationBuilderItemType\",\"sap.suite.ui.commons.CalculationBuilderLayoutType\",\"sap.suite.ui.commons.CalculationBuilderLogicalOperatorType\",\"sap.suite.ui.commons.CalculationBuilderOperatorType\",\"sap.suite.ui.commons.CalculationBuilderValidationMode\",\"sap.suite.ui.commons.CommonBackground\",\"sap.suite.ui.commons.ComparisonChartView\",\"sap.suite.ui.commons.DeviationIndicator\",\"sap.suite.ui.commons.FacetOverviewHeight\",\"sap.suite.ui.commons.FrameType\",\"sap.suite.ui.commons.HeaderContainerView\",\"sap.suite.ui.commons.ImageEditorContainerMode\",\"sap.suite.ui.commons.ImageEditorMode\",\"sap.suite.ui.commons.ImageFormat\",\"sap.suite.ui.commons.InfoTileSize\",\"sap.suite.ui.commons.InfoTileTextColor\",\"sap.suite.ui.commons.InfoTileValueColor\",\"sap.suite.ui.commons.LoadState\",\"sap.suite.ui.commons.MicroAreaChartView\",\"sap.suite.ui.commons.MicroProcessFlowRenderType\",\"sap.suite.ui.commons.networkgraph.ActionButtonPosition\",\"sap.suite.ui.commons.networkgraph.BackgroundColor\",\"sap.suite.ui.commons.networkgraph.ElementStatus\",\"sap.suite.ui.commons.networkgraph.LayoutRenderType\",\"sap.suite.ui.commons.networkgraph.LineArrowOrientation\",\"sap.suite.ui.commons.networkgraph.LineArrowPosition\",\"sap.suite.ui.commons.networkgraph.LineType\",\"sap.suite.ui.commons.networkgraph.HeaderCheckboxState\",\"sap.suite.ui.commons.networkgraph.NodePlacement\",\"sap.suite.ui.commons.networkgraph.NodeShape\",\"sap.suite.ui.commons.networkgraph.Orientation\",\"sap.suite.ui.commons.networkgraph.RenderType\",\"sap.suite.ui.commons.ProcessFlowConnectionLabelState\",\"sap.suite.ui.commons.ProcessFlowConnectionState\",\"sap.suite.ui.commons.ProcessFlowConnectionType\",\"sap.suite.ui.commons.ProcessFlowDisplayState\",\"sap.suite.ui.commons.ProcessFlowLaneState\",\"sap.suite.ui.commons.ProcessFlowNodeState\",\"sap.suite.ui.commons.ProcessFlowNodeType\",\"sap.suite.ui.commons.ProcessFlowZoomLevel\",\"sap.suite.ui.commons.SelectionState\",\"sap.suite.ui.commons.statusindicator.FillingType\",\"sap.suite.ui.commons.statusindicator.FillingDirectionType\",\"sap.suite.ui.commons.statusindicator.HorizontalAlignmentType\",\"sap.suite.ui.commons.statusindicator.VerticalAlignmentType\",\"sap.suite.ui.commons.statusindicator.SizeType\",\"sap.suite.ui.commons.statusindicator.LabelPositionType\",\"sap.suite.ui.commons.taccount.TAccountPanelState\",\"sap.suite.ui.commons.ThingGroupDesign\",\"sap.suite.ui.commons.TimelineAlignment\",\"sap.suite.ui.commons.TimelineAxisOrientation\",\"sap.suite.ui.commons.TimelineFilterType\",\"sap.suite.ui.commons.TimelineGroupType\",\"sap.suite.ui.commons.TimelineScrollingFadeout\",\"sap.suite.ui.commons.ValueStatus\",\"sap.suite.ui.commons.SemanticColorType\",\"sap.suite.ui.commons.ImageEditorContainerButton\",\"sap.suite.ui.commons.FilePickerModes\",\"sap.suite.ui.commons.FilePickerType\",\"sap.suite.ui.commons.SelectionModes\"],\"interfaces\":[]}}}}'\n});\n//# sourceMappingURL=library-preload.js.map\n" Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/ShapeGroup\", [\"sap/ui/core/Control\",\"sap/ui/core/Core\",\"sap/ui/core/Configuration\",\"sap/ui/core/ControlBehavior\",\"sap/suite/ui/commons/statusindicator/util/ProgressHandler\",\"sap/base/Log\"],function(e,t,i,r,o,a){\"use strict\";var s=e.extend(\"sap.suite.ui.commons.statusindicator.ShapeGroup\",{metadata:{library:\"sap.suite.ui.commons\",properties:{weight:{type:\"int\",defaultValue:10}},defaultAggregation:\"shapes\",aggregations:{shapes:{type:\"sap.suite.ui.commons.statusindicator.Shape\",multiple:true}}},renderer:null});s.prototype.init=function(){this._iTargetValue=0;this._oAnimationPropertiesResolver=null;this._iLastDirectValueUpdate=0};s.prototype.discreteThresholdsChangeHandler=function(e){var t=this._oAnimationPropertiesResolver._getGroupValue(this,e);if(t!==this._iLastDirectValueUpdate){this.getShapes().forEach(function(e){e._updateDom(t,true)});this._iLastDirectValueUpdate=t}};s.prototype.propertyThresholdsChangeHandler=function(e){this.getShapes().forEach(function(t){if(t.getDisplayedValue()!==0){t.getRenderer()._updateDomColor(t,e)}})};s.prototype._injectAnimationPropertiesResolver=function(e){this._oAnimationPropertiesResolver=e;this._oAnimationPropertiesResolver.addDiscreteThresholdChange(this.discreteThresholdsChangeHandler.bind(this));this._oAnimationPropertiesResolver.addPropertyThresholdChange(this.propertyThresholdsChangeHandler.bind(this));this.getShapes().forEach(function(t){t._injectAnimationPropertiesResolver(e)})};s.prototype.addShape=function(e){this.addAggregation(\"shapes\",e,true);e._injectAnimationPropertiesResolver(this._oAnimationPropertiesResolver);return this};s.prototype._setValue=function(e,t){var i=this;t=t||false;this._iTargetValue=e;if(!this._isAnimationAllowed()||t){this.getShapes().forEach(function(e){e._updateDom(i._iTargetValue)});return Promise.resolve()}this.getShapes().forEach(function(e){if(!e.getAnimationOnChange()){e._updateDom(i._iTargetValue)}});if(this.oCurrentProgressHandler&&this.oCurrentProgressHandler.isInProgress()){this.oCurrentProgressHandler.cancel()}this.oCurrentProgressHandler=new o(function(e){var t=performance.now();i._animationStep(t,e,t)});return this.oCurrentProgressHandler.start()};s.prototype._animationStep=function(e,t,i){a.debug(\"AnimationStep at time: \"+i.toString(10),null,this);i=Math.max(i,e);if(t.isCanceled()){t.stop({cancelled:true});return}var r=true;var o=this._iTargetValue;this.getShapes().forEach(function(t){var a=t.getDisplayedValue();if(a===o){return}var s=e+250*Math.abs(o-a)/100;var n=o;if(i<s){var u=o-a;var h=s-e;var p=(i-e)/h;n=u*p+a;r=false}t._updateDom(n)});if(r){t.finish()}else{window.requestAnimationFrame(this._animationStep.bind(this,i,t))}};s.prototype._showsFullProgress=function(){return!this.getShapes().some(function(e){return e.getDisplayedValue()!==100})};s.prototype._setInitialValue=function(e){this._iTargetValue=e;this._iLastDirectValueUpdate=e;this.getShapes().forEach(function(t){t._setInitialValue(e)})};s.prototype._isAnimationAllowed=function(){var e=r.getAnimationMode();return e!==i.AnimationMode.none};return s});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/SimpleShape\", [\"../library\",\"sap/m/library\",\"sap/ui/core/Control\",\"sap/suite/ui/commons/statusindicator/Shape\",\"sap/suite/ui/commons/statusindicator/util/ThemingUtil\",\"sap/base/Log\",\"./SimpleShapeRenderer\"],function(e,t,o,i,r,s,a){\"use strict\";var n=e.SemanticColorType;var p=t.ValueCSSColor;var l=i.extend(\"sap.suite.ui.commons.statusindicator.SimpleShape\",{metadata:{abstract:true,library:\"sap.suite.ui.commons\",properties:{strokeWidth:{type:\"float\",defaultValue:.25},strokeColor:{type:\"string\",defaultValue:\"Neutral\"}}}});l.prototype._getSimpleShapeElement=function(){s.fatal(\"Must be overriden!\")};l.prototype.init=function(){if(i.prototype.init){i.prototype.init.apply(this,arguments)}this._iDisplayedValue=0;this._sViewBox=null};l.prototype.onBeforeRendering=function(){if(i.prototype.onBeforeRendering){i.prototype.onBeforeRendering.apply(this,arguments)}this.getRenderer()._clearDomReferences(this)};l.prototype._updateDom=function(e,t){s.debug(\"Updating to \"+e,null,this);var o=this.getRenderer();if(!t){var i=this.getDisplayedFillColor(e);o._updateDomColor(this,i);this._oAnimationPropertiesResolver.propagateColorChange(this,e)}var r=t?e:this._oAnimationPropertiesResolver.getValue(this,e);if(this._useGradientForAnimation()){o._updateDomGradient(this,r)}else{o._updateDomPolygon(this,r)}if(!t){this._oAnimationPropertiesResolver.propagateValueChange(this,e);this._iDisplayedValue=e}};l.prototype.getDisplayedValue=function(){return this._iDisplayedValue};l.prototype._setInitialValue=function(e){this._iDisplayedValue=e};l.prototype._setStyle=function(e){this._sStyleAttribute=e};l.prototype._setInternalViewBox=function(e){this._sViewBox=e};l.prototype._getInternalViewBox=function(){return this._sViewBox};l.prototype._getCssStrokeColor=function(){return r.resolveColor(this.getStrokeColor())};l.prototype.setStrokeColor=function(e,t){var o=false;if(n.hasOwnProperty(e)){o=true}else{o=p.isValid(e)}if(e!=null&&!o){throw new Error(`Value ${e} is not valid for property \"strokeColor\"`)}return this.setProperty(\"strokeColor\",o?e:null,t)};return l});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/SimpleShapeRenderer\", [\"../library\",\"sap/m/library\",\"sap/suite/ui/commons/util/HtmlElement\",\"sap/ui/core/Renderer\"],function(e,t,i,r){\"use strict\";var l=e.statusindicator.FillingType;var a=e.SemanticColorType;var o=t.ValueCSSColor;var n=r.extend(\"sap.suite.ui.commons.statusindicator.SimpleShapeRenderer\");n.apiVersion=2;n.render=function(e,t){var i=this._getHtmlModel(t);i.getRenderer().render(e)};n._getHtmlModel=function(e){var t=e._buildIdString(e.getId(),\"mask\");var r=new i(\"svg\");r.setAttribute(\"xlmns\",\"http://www.w3.org/2000/svg\");var n=e._getInternalViewBox();if(n){r.setAttribute(\"viewBox\",n)}r.setAttribute(\"preserveAspectRatio\",e._buildPreserveAspectRatioAttribute());r.setAttribute(\"overflow\",\"visible\");r.addControlData(e);var s=new i(\"defs\");if(e.getFillingType()!==l.None){if(e._useGradientForAnimation()){s.addChild(e._getGradientElement(e._iDisplayedValue))}var d=e._getMaskElement(t);s.addChild(d);r.addChild(s)}var u=e._buildIdString(e.getId(),\"shape\");var p=e._getSimpleShapeElement(u);var f=e._resolveFillColor();if(a.hasOwnProperty(f)){p.addClass(\"fillSemanticColor\"+f)}if(o.isValid(f)){p.setAttribute(\"fill\",f)}p.setAttribute(\"mask\",e._buildSvgUrlString(t));if(e._sStyleAttribute){p.setAttribute(\"style\",e._sStyleAttribute)}p.setAttribute(\"stroke-width\",0);r.addChild(p);var g=e._getSimpleShapeElement(e._buildIdString(u,\"border\"));g.setAttribute(\"fill\",\"transparent\");r.addChild(g);return r};n._updateDomColor=function(e,t){if(a.hasOwnProperty(t)){e.$(\"shape\").addClass(\"fillSemanticColor\"+t)}if(o.isValid(t)){e.$(\"shape\").attr(\"fill\",t)}};n._updateDomGradient=function(e,t){if(!e.$stopNodes){e.$stopNodes=e.$(e.GRADIENT_ID).find(e.STOP_ID)}e.$stopNodes.attr(\"offset\",e._getDisplayedGradientOffset(t))};n._updateDomPolygon=function(e,t){if(!e.$polygon){e.$polygon=e.$(\"polygon\")}var i=e._getPolygonPoints(t).reduce(function(e,t){return e+t.x+\",\"+t.y+\" \"},\"\");e.$polygon.attr(\"points\",i)};n._clearDomReferences=function(e){e.$polygon=null;e.$stopNodes=null};return n},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/StatusIndicator\", [\"../library\",\"sap/m/library\",\"sap/ui/core/Control\",\"sap/ui/core/Core\",\"sap/suite/ui/commons/statusindicator/util/AnimationPropertiesResolver\",\"sap/suite/ui/commons/statusindicator/util/ThemingUtil\",\"sap/m/Text\",\"sap/base/Log\",\"./StatusIndicatorRenderer\",\"sap/ui/core/Lib\",\"sap/ui/core/Theming\"],function(e,t,r,o,s,i,a,u,n,l,h){\"use strict\";var p=e.statusindicator.SizeType;var d=e.statusindicator.LabelPositionType;var c=t.ValueColor;var g=r.extend(\"sap.suite.ui.commons.statusindicator.StatusIndicator\",{metadata:{library:\"sap.suite.ui.commons\",properties:{width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\"},value:{type:\"int\",defaultValue:0},viewBox:{type:\"string\",defaultValue:null},ariaLabel:{type:\"string\",defaultValue:null},size:{type:\"sap.suite.ui.commons.statusindicator.SizeType\",defaultValue:p.None},labelPosition:{type:\"sap.suite.ui.commons.statusindicator.LabelPositionType\",defaultValue:d.Left},showLabel:{type:\"boolean\",defaultValue:false}},defaultAggregation:\"groups\",aggregations:{groups:{type:\"sap.suite.ui.commons.statusindicator.ShapeGroup\",multiple:true},propertyThresholds:{type:\"sap.suite.ui.commons.statusindicator.PropertyThreshold\",multiple:true},discreteThresholds:{type:\"sap.suite.ui.commons.statusindicator.DiscreteThreshold\",multiple:true},label:{type:\"sap.m.Text\",multiple:false}},associations:{ariaDescribedBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaDescribedBy\"},ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},events:{press:{}}}});g.prototype.init=function(){if(r.prototype.init){r.prototype.init.apply(this,arguments)}this._sortedPropertyThresholds=[];this._sortedDiscreteThresholds=[];this._bStarted=false;this._oCurrentAnimationPromise=null;this._oAnimationPropertiesResolver=new s(this);this._oDefaultLabel=null;o.ready(this._handleCoreInitialized.bind(this))};g.prototype._handleCoreInitialized=function(){h.attachApplied(function(){this.invalidate()}.bind(this))};g.prototype._internalIds=Object.freeze({svgNodeId:\"svg\"});g.prototype.getLabel=function(){var e=this.getAggregation(\"label\");if(e!==null){return e}if(this._oDefaultLabel!==null){return this._oDefaultLabel}this._oDefaultLabel=new a(this.getId()+\"-label\");this.addDependent(this._oDefaultLabel);return this._oDefaultLabel};g.prototype.addPropertyThreshold=function(e){this.addAggregation(\"propertyThresholds\",e,true);if(this._sortedPropertyThresholds.filter(function(t){return t.getToValue()===e.getToValue()}).length>0){u.fatal(\"There are two or more property thresholds with the same toValue in thresholds \"+\"aggregation. The last threshold from them has the highest priority\")}this._sortedPropertyThresholds.push(e);this._sortedPropertyThresholds.sort(function(e,t){return e.getToValue()-t.getToValue()});return this};g.prototype.addDiscreteThreshold=function(e){this.addAggregation(\"discreteThresholds\",e,true);if(this._sortedDiscreteThresholds.filter(function(t){return t.getValue()===e.getValue()}).length>0){u.fatal(\"There are two or more discrete thresholds with the same value in thresholds \"+\"aggregation. The last threshold from them has the highest priority\")}this._sortedDiscreteThresholds.push(e);this._sortedDiscreteThresholds.sort(function(e,t){return e.getValue()-t.getValue()});return this};g.prototype._discreteThresholdsEnabled=function(){return this._sortedDiscreteThresholds.length>0};g.prototype._getDiscreteThresholdForValue=function(e){var t=null;this._sortedDiscreteThresholds.every(function(r){if(e>=r.getValue()){t=r;return true}return false});return t};g.prototype._propertyThresholdsEnabled=function(){return this._sortedPropertyThresholds.length>0};g.prototype._getPropertyThresholdForValue=function(e){var t=null;this._sortedPropertyThresholds.some(function(r){if(e<=r.getToValue()){t=r;return true}return false});return t};g.prototype._getFullId=function(e){return this.getId()+\"-\"+e};g.prototype.onBeforeRendering=function(){var e=this;this.getGroups().forEach(function(t){t._injectAnimationPropertiesResolver(e._oAnimationPropertiesResolver)})};g.prototype.onAfterRendering=function(){this._setValueToLabel(this.getValue());this._start()};g.prototype._start=function(){this._bStarted=true;this._propagateValueToGroups()};g.prototype._shouldInvertGroupUpdateOrder=function(e){var t;e.some(function(e,r){t=r;return e.newValue!==100});var r;this.getGroups().some(function(e,t){r=t;return!e._showsFullProgress()});return t<r};g.prototype._propagateValueToGroups=function(){var e=this.getSize()===p.Small;var t=this._computeGroupValueDistribution();var r=this._shouldInvertGroupUpdateOrder(t);if(r){t=t.reverse()}this._updateAccessibilityDOM();this._oCurrentAnimationPromise=t.reduce(function(t,r){return t.then(function(t){if(t&&t.cancelled){u.debug(\"Group animation cancelled.\");return t}else{return r.group._setValue(r.newValue,e)}})},Promise.resolve());return this._oCurrentAnimationPromise};g.prototype._computeGroupValueDistribution=function(){var e=this.getValue();var t=this._getTotalWeight();return this.getGroups().map(function(r){var o=r.getWeight()/t;var s;if(e===0){s=0}else if(e>=100*o){s=100}else{s=e/o}e-=s*o;return{group:r,newValue:Number(s.toFixed(3))}})};g.prototype.setValue=function(e){e=Math.round(e);if(e>100){e=100}if(e<0){e=0}this.setProperty(\"value\",e,true);this._setValueToLabel(e);if(this._bStarted){this._propagateValueToGroups()}return this};g.prototype._setValueToLabel=function(e){var t=this.getLabel();var r;t.setText(Math.floor(e)+\"%\");r=i.resolveColor(c.Neutral);if(this._propertyThresholdsEnabled()){var o=this._getPropertyThresholdForValue(e);if(o){r=o._getCssFillColor()}}var s=t.$();if(s){s.css(\"color\",r)}};g.prototype._getTotalWeight=function(){return this.getGroups().reduce(function(e,t){return e+t.getWeight()},0)};g.prototype.ontap=g.prototype.firePress;g.prototype.onsapenter=g.prototype.firePress;g.prototype.onsapspace=g.prototype.firePress;g.prototype._getGroupShapes=function(){return this.getGroups().reduce(function(e,t){return e.concat(t.getShapes())},[])};g.prototype._updateAccessibilityDOM=function(){var e=this.getValue();this.$().attr(\"aria-valuenow\",e);this.$().attr(\"aria-valuetext\",this._createValueTextMessage(e))};g.prototype._createValueTextMessage=function(e){var t=null;var r=null;var o=null;var s=l.getResourceBundleFor(\"sap.suite.ui.commons\");if(this._discreteThresholdsEnabled()){var i=this._getDiscreteThresholdForValue(e);if(i){t=i.getAriaLabel();r=true}else{t=this._sortedDiscreteThresholds[0].getAriaLabel();r=false}}if(this._propertyThresholdsEnabled()){var a=this._getPropertyThresholdForValue(e);if(a){o=a.getAriaLabel()}}var u;if(t){if(o){if(r){u=s.getText(\"STATUS_INDICATOR_VALUE_ABOVE_THRESHOLD_COLOR\",[e,t,o])}else{u=s.getText(\"STATUS_INDICATOR_VALUE_BELOW_THRESHOLD_COLOR\",[e,t,o])}}else{if(r){u=s.getText(\"STATUS_INDICATOR_VALUE_ABOVE_THRESHOLD\",[e,t])}else{u=s.getText(\"STATUS_INDICATOR_VALUE_BELOW_THRESHOLD\",[e,t])}}}else if(o){u=s.getText(\"STATUS_INDICATOR_VALUE_COLOR\",[e,o])}else{u=s.getText(\"STATUS_INDICATOR_VALUE\",[e])}return u};return g});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/StatusIndicatorRenderer\", [\"../library\",\"sap/ui/core/library\",\"sap/suite/ui/commons/util/HtmlElement\",\"sap/ui/core/Renderer\",\"sap/base/Log\",\"sap/ui/core/Lib\"],function(e,t,a,i,s,r){\"use strict\";var o=e.statusindicator.SizeType;var d=e.statusindicator.LabelPositionType;var n=t.TextAlign;var u=r.getResourceBundleFor(\"sap.suite.ui.commons\");function l(e,t){var a=\"\";t=typeof t===\"string\"?t:\"\";switch(e.getSize()){case o.Small:a=\"sapSuiteUiCommonsStatusIndicatorSmall\";break;case o.Medium:a=\"sapSuiteUiCommonsStatusIndicatorMedium\";break;case o.Large:a=\"sapSuiteUiCommonsStatusIndicatorLarge\";break;case o.ExtraLarge:a=\"sapSuiteUiCommonsStatusIndicatorExtraLarge\";break;case o.None:break;default:s.error(\"Unknown size. Expecting size defined in sap.suite.ui.commons.statusindicator.SizeType,\"+\" but '\"+e.getSize()+\"' given.\");a=\"sapSuiteUiCommonsStatusIndicatorSmall\"}if(a){return a+t}else{return\"\"}}function S(e){var t=e.getLabelPosition();var a=e.getSize();return\"sapSuiteUiCommonsStatusIndicator\"+a+t+\"Label\"}var g=i.extend(\"sap.suite.ui.commons.StatusIndicatorRenderer\");g.apiVersion=2;g.render=function(e,t){var a=this._getHtmlModel(t);a.getRenderer().render(e)};g._getHtmlModel=function(e){var t=e.getLabelPosition();var i=t===d.Left||t===d.Right,s=t===d.Left||t===d.Top;var r=new a(\"div\");r.addControlData(e);r.addClass(\"sapSuiteUiCommonsStatusIndicator\");r.setAttribute(\"role\",\"progressbar\");r.setAttribute(\"aria-roledescription\",u.getText(\"STATUS_INDICATOR_ARIA_ROLE_DESCRIPTION\"));var o=e.getAriaLabel();r.setAttribute(\"aria-label\",o?o:u.getText(\"STATUS_INDICATOR_ARIA_LABEL\"),true);var g=e.getAriaLabelledBy();if(g&&g.length>0){r.setAttribute(\"aria-labelledby\",g.join(\" \"),true)}var m=e.getAriaDescribedBy();if(m&&m.length>0){r.setAttribute(\"aria-describedby\",m.join(\" \"),true)}r.setAttribute(\"tabindex\",\"0\");r.setAttribute(\"aria-valuemin\",0);r.setAttribute(\"aria-valuemax\",100);if(i){r.addClass(\"sapSuiteUiCommonsStatusIndicatorHorizontal\")}else{r.addClass(\"sapSuiteUiCommonsStatusIndicatorVertical\")}if(e.getShowLabel()){var c=new a(\"div\");if(s){c.addClass(\"sapSuiteUiCommonsStatusIndicatorLabelBeforeSvg\")}else{c.addClass(\"sapSuiteUiCommonsStatusIndicatorLabelAfterSvg\")}var b=e.getLabel();b.addStyleClass(\"sapSuiteUiCommonsStatusIndicatorLabel\");b.addStyleClass(l(e,\"Label\"));b.addStyleClass(S(e));b.setTextAlign(i?n.Left:n.Center);c.addChild(b);r.addChild(c)}var v=new a(\"div\");v.setAttribute(\"focusable\",false);v.addClass(\"sapSuiteUiCommonsStatusIndicatorSvg\");v.addClass(l(e,\"Svg\"));if(e.getWidth()){v.addStyle(\"width\",e.getWidth())}if(e.getHeight()){v.addStyle(\"height\",e.getHeight())}v.addChild(this._getSvgElement(e));r.addChild(v);return r};g._getSvgElement=function(e){var t=new a(\"svg\");t.setId(e._getFullId(e._internalIds.svgNodeId));t.setAttribute(\"version\",\"1.1\");t.setAttribute(\"xlmns\",\"http://www.w3.org/2000/svg\");t.setAttribute(\"preserveAspectRatio\",\"xMidYMid meet\");t.addStyle(\"width\",\"100%\");t.addStyle(\"height\",\"100%\");t.setAttribute(\"focusable\",false);if(e.getViewBox()){t.setAttribute(\"viewBox\",e.getViewBox())}e._getGroupShapes().forEach(function(e){t.addChild(e)});return t};return g},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/shapes/ShapeFactory\", [\"sap/ui/base/Object\",\"sap/ui/thirdparty/jquery\"],function(e,jQuery){\"use strict\";var t={};var a=e.extend(\"sap.suite.ui.commons.statusindicator.shapes.ShapeFactory\");a.prototype.getShapeById=function(e){var t=this._getLoadedShapes(),a=t[e]||null;if(!a){return new Promise(function(a,o){jQuery.ajax({url:sap.ui.require.toUrl(\"sap/suite/ui/commons/statusindicator\")+\"/shapes/\"+e+\".svg\",dataType:\"text\"}).done(function(o){t[e]=o;a(o)}).fail(function(e){o(e)})})}return Promise.resolve(a)};a.prototype._getLoadedShapes=function(){return t};a.prototype._removeAllLoadedShapes=function(){t={}};return a});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/util/AnimationPropertiesResolver\", [\"sap/suite/ui/commons/statusindicator/Shape\",\"sap/suite/ui/commons/statusindicator/ShapeGroup\",\"sap/suite/ui/commons/statusindicator/CustomShape\",\"sap/base/Log\"],function(t,e,r,a){\"use strict\";var o=function(t){this._oStatusIndicator=t;this.aOnDiscreteThresholdChange=[];this.aOnPropertyThresholdChange=[]};o.prototype.addDiscreteThresholdChange=function(t){this.aOnDiscreteThresholdChange.push(t)};o.prototype.addPropertyThresholdChange=function(t){this.aOnPropertyThresholdChange.push(t)};o.prototype.getValue=function(t,r){var o=t.getParent();if(!o instanceof e){a.fatal(\"Shape should be always direct child of ShapeGroup.\");return r}if(!this._oStatusIndicator._discreteThresholdsEnabled()){return r}return this._getGroupValue(o,this._getCappedValue(o,r))};o.prototype._getCappedValue=function(t,e){var r=this._getStatusIndicatorValue(t,e);var a=this._oStatusIndicator._getDiscreteThresholdForValue(r);return a?a.getValue():0};o.prototype.propagateValueChange=function(t,e){if(!this._oStatusIndicator._discreteThresholdsEnabled()){return}var r=t.getParent();var a=this._getCappedValue(r,t.getDisplayedValue());var o=this._getCappedValue(r,e);if(a!==o){this.aOnDiscreteThresholdChange.forEach(function(t){t(o)})}};o.prototype.getColor=function(t,e){var a=t.getParent();if(a instanceof r){e=a.getDisplayedValue();a=a.getParent()}var o=this._getStatusIndicatorSliderValue();var i=t._getCssFillColor();if(this._oStatusIndicator._propertyThresholdsEnabled()){var s=this._oStatusIndicator._getPropertyThresholdForValue(o);if(s){i=s._getCssFillColor()}}return i};o.prototype.propagateColorChange=function(t,e){if(!this._oStatusIndicator._propertyThresholdsEnabled()){return}var r=t.getParent();var a=this._getPropertyThreshold(r,e);var o=this._getPropertyThreshold(r,t.getDisplayedValue());if(a!==o){this.aOnPropertyThresholdChange.forEach(function(t){t(a._getCssFillColor())})}};o.prototype._getPropertyThreshold=function(t,e){var r=this._getStatusIndicatorValue(t,e);return this._oStatusIndicator._getPropertyThresholdForValue(r)};o.prototype._getStatusIndicatorValue=function(t,e){var r=this;var a=this._oStatusIndicator.getGroups();var o=0;a.some(function(a){var i=a.getWeight()/r._getTotalWeight();if(a!==t){var s=100*i;o+=s;return false}var n=e*i;o+=n;return true});return Number(o.toPrecision(3))};o.prototype._getStatusIndicatorSliderValue=function(){var t=0;if(this._oStatusIndicator){t=this._oStatusIndicator.getValue()}return t};o.prototype._getGroupValue=function(t,e){var r=this._oStatusIndicator.getGroups();var a=this._getTotalWeight();var o=0;r.some(function(r){var i=r.getWeight()/a;var s;if(e===0){s=0}else if(e>=100*i){s=100}else{s=e/i}e-=s*i;if(t!==r){return false}o=s;return true});return o};o.prototype._getTotalWeight=function(){return this._oStatusIndicator.getGroups().reduce(function(t,e){return t+e.getWeight()},0)};return o});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/util/ProgressHandler\", [],function(){\"use strict\";var s=function(s){var e=this;this._fnResolveCallback=null;this._oPromise=null;this._bInProgress=false;this._fnProgress=s;this._oInnerProgressHandler={finish:function(){e.finish()},stop:function(s){e.stop(s)},isCanceled:function(){return e.isCanceled()}}};s.prototype.start=function(){var s=this;if(this._oPromise){return this._oPromise}this._oPromise=new Promise(function(e,n){s._fnResolveCallback=e;s._bInProgress=true;s._fnProgress(s._oInnerProgressHandler)});return this._oPromise};s.prototype.finish=function(){this._bInProgress=false;if(this._fnResolveCallback){this._fnResolveCallback();this._fnResolveCallback=null}};s.prototype.stop=function(s){this._bInProgress=false;if(this._fnResolveCallback){this._fnResolveCallback(s);this._fnResolveCallback=null}};s.prototype.cancel=function(){this._bCancelled=true};s.prototype.isCanceled=function(){return this._bCancelled};s.prototype.isInProgress=function(){return this._bInProgress};return s},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/util/ThemingUtil\", [\"sap/ui/core/theming/Parameters\",\"sap/m/library\",\"sap/ui/core/library\",\"../../library\"],function(r,e,t,a){\"use strict\";var o=e.ValueColor;var i=a.SemanticColorType;var l=t.CSSColor;var s=function(){throw new Error};s.resolveColor=function(e){if(l.isValid(e)){return e}switch(e){case o.Good:if(r.get(\"sapPositiveColor\")){return r.get(\"sapPositiveColor\")}return e;case o.Error:if(r.get(\"sapNegativeColor\")){return r.get(\"sapNegativeColor\")}return e;case o.Critical:if(r.get(\"sapCriticalColor\")){return r.get(\"sapCriticalColor\")}return e;case o.Neutral:if(r.get(\"sapNeutralColor\")){return r.get(\"sapNeutralColor\")}return e;default:if(i.hasOwnProperty(e)){return e}else{return r.get(e)}}};return s},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/taccount/TAccount\", [\"sap/suite/ui/commons/library\",\"sap/ui/Device\",\"sap/ui/core/Control\",\"sap/ui/core/delegate/ItemNavigation\",\"./TAccountGroup\",\"./TAccountPanel\",\"sap/ui/core/IconPool\",\"sap/m/Button\",\"sap/ui/core/InvisibleText\",\"sap/base/security/encodeXML\",\"./TAccountUtils\",\"sap/suite/ui/commons/Utils\",\"sap/ui/thirdparty/bignumber\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/Lib\",\"sap/ui/thirdparty/jqueryui/jquery-ui-core\",\"sap/ui/thirdparty/jqueryui/jquery-ui-widget\",\"sap/ui/thirdparty/jqueryui/jquery-ui-mouse\",\"sap/ui/thirdparty/jqueryui/jquery-ui-draggable\",\"sap/ui/thirdparty/jqueryui/jquery-ui-droppable\",\"sap/ui/thirdparty/jqueryui/jquery-ui-selectable\"],function(t,e,i,o,n,s,a,r,p,u,c,d,l,g,m){\"use strict\";var h=m.getResourceBundleFor(\"sap.suite.ui.commons\");var f=Object.freeze({UP:\"UP\",DOWN:\"DOWN\",PREVIOUS:\"PREVIOUS\",NEXT:\"NEXT\"});var C=e.os.macintosh?\"metaKey\":\"ctrlKey\";var S=i.extend(\"sap.suite.ui.commons.taccount.TAccount\",{metadata:{library:\"sap.suite.ui.commons\",properties:{measureOfUnit:{type:\"string\",group:\"Misc\",defaultValue:\"\"},collapsed:{type:\"boolean\",group:\"Misc\",defaultValue:false},title:{type:\"string\",group:\"Misc\",defaultValue:null},subtitle:{type:\"string\",group:\"Misc\",defaultValue:null},orderBy:{type:\"string\",group:\"Misc\",defaultValue:\"\"},opening:{type:\"boolean\",group:\"Misc\",defaultValue:false},openingDebit:{type:\"any\",group:\"Misc\",defaultValue:0},openingCredit:{type:\"any\",group:\"Misc\",defaultValue:0}},aggregations:{debit:{type:\"sap.suite.ui.commons.taccount.TAccountItem\",multiple:true,singularName:\"debit\"},credit:{type:\"sap.suite.ui.commons.taccount.TAccountItem\",multiple:true,singularName:\"credit\"}}},renderer:{apiVersion:2,render:function(t,e){var i=function(e,i){e.forEach(function(o,n){o._bIsDebit=i;o._index=n+1;o._indexSize=e.length;t.renderControl(o)})};var o=function(i){var o=e.getOrderBy();i.forEach(function(t){var e=t.getProperties();t._sOrderBy=\"\";for(var i=0;i<e.length;i++){if(e[i].getKey().toLowerCase()===o.toLowerCase()){t._sOrderBy=e[i].getValue();break}}});i.sort(function(t,e){return g.getInstance(t._sOrderBy)>=g.getInstance(e._sOrderBy)?1:-1});e._setItemsAttrs(i);i.forEach(function(e){t.renderControl(e.addStyleClass(e._bIsDebit?\"sapSuiteUiCommonsAccountItemLeft\":\"sapSuiteUiCommonsAccountItemRight\"))})};var n=e._getPanel();var s=function(t){var i=t?e.getDebit():e.getCredit(),o=new l(t?e.getOpeningDebit():e.getOpeningCredit());i.forEach(function(t){o=o.plus(new l(t.getValue()))});return c.formatCurrency(o,e.getMeasureOfUnit(),n?n.getMaxFractionDigits():0)};var a=e.getMeasureOfUnit(),r=c.formatCurrency(e.getOpeningDebit(),a,n?n.getMaxFractionDigits():0),p=c.formatCurrency(e.getOpeningCredit(),a,n?n.getMaxFractionDigits():0),d=e.getDebit().length>0||e.getCredit().length>0;t.openStart(\"div\",e);if(e.getCollapsed()){t.class(\"sapSuiteUiCommonsAccountCollapsed\")}t.class(\"sapSuiteUiCommonsAccount\");if(!d){t.class(\"sapSuiteUiCommonsAccountEmpty\")}t.attr(\"role\",\"region\");t.attr(\"aria-describedby\",e.getId());t.attr(\"aria-label\",e._getAriaLabelText());t.attr(\"tabindex\",\"0\");t.openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsTAccountDropZoneTop\").openEnd().close(\"div\");t.openStart(\"div\").class(\"sapSuiteUiCommonsTAccountDropZoneBottom\").openEnd().close(\"div\");t.openStart(\"div\").class(\"sapSuiteUiCommonsTAccountInfoIconWrapper\").class(\"sapSuiteUiCommonsTAccountBaseInfoIconWrapper\").attr(\"aria-labelledby\",e.getId()+\"-mark-text\").attr(\"title\",h.getText(\"TACCOUNT_SELECTED\")).openEnd();t.renderControl(e._getAriaMarkText());t.openStart(\"div\").class(\"sapSuiteUiCommonsInfoIcon\").openEnd();t.text(\"!\");t.close(\"div\");t.close(\"div\");t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountHeader\").openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountHeaderFirst\").openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountHeaderExpandWrapper\").openEnd();t.renderControl(e._getDownArrow());t.close(\"div\");var m=u(e.getTitle()).replace(/ |\\n/g,\"<br>\");if(e.getSubtitle()){var f=u(e.getSubtitle()).replace(/ |\\n/g,\"<br>\");t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountHeaderTitleWrapper\").openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountHeaderTitleWithSubtitle\").attr(\"id\",e.getId()+\"-title\").openEnd().unsafeHtml(m).close(\"div\");t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountHeaderSubtitle\").openEnd().unsafeHtml(f).close(\"div\");t.close(\"div\")}else{t.openStart(\"span\").attr(\"id\",e.getId()+\"-title\").class(\"sapSuiteUiCommonsAccountHeaderTitle\").openEnd().unsafeHtml(m).close(\"span\")}t.close(\"div\");t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountHeaderSecond\").openEnd();t.openStart(\"span\").attr(\"id\",e.getId()+\"-sum\").class(\"sapSuiteUiCommonsAccountHeaderSUM\").openEnd().text(e._getSumText()).close(\"span\");t.close(\"div\");t.close(\"div\");t.openStart(\"div\").attr(\"id\",e.getId()+\"-content\").class(\"sapSuiteUiCommonsAccountTWrapper\");if(e.getCollapsed()){t.style(\"display\",\"none\")}t.openEnd();if(d||e.getOpening()){t.openStart(\"div\");t.class(\"sapSuiteUiCommonsAccountTHeader\");if(e.getOpening()){t.class(\"sapSuiteUiCommonsAccountTHeaderOpening\")}t.openEnd();t.openStart(\"span\").attr(\"id\",e.getId()+\"-debit-text\").class(\"sapSuiteUiCommonsAccountTHeaderTitle\").openEnd().text(h.getText(\"TACCOUNT_DEBIT\")).close(\"span\");t.openStart(\"span\").attr(\"id\",e.getId()+\"-credit-text\").class(\"sapSuiteUiCommonsAccountTHeaderTitle\").openEnd().text(h.getText(\"TACCOUNT_CREDIT\")).close(\"span\");t.close(\"div\");if(d){if(e.getOpening()){t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountOpeningHeader\").openEnd();t.openStart(\"span\").attr(\"id\",e.getId()+\"-opening-debit-text\").class(\"sapSuiteUiCommonsAccountTHeaderOpeningDebitTitle\").openEnd().text(r+\" \"+a).close(\"span\");t.openStart(\"span\").attr(\"id\",e.getId()+\"-opening-credit-text\").class(\"sapSuiteUiCommonsAccountTHeaderOpeningCreditTitle\").openEnd().text(p+\" \"+a).close(\"span\");t.close(\"div\")}t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountTBody\").attr(\"role\",\"listbox\").openEnd();if(e._isOrdered()){t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountDebitCredit\").attr(\"role\",\"listbox\").attr(\"aria-labelledby\",e.getId()+\"-debit-text \"+e.getId()+\"-credit-text\").openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountMiddleBorder\").openEnd().close(\"div\");o(e.getDebit().concat(e.getCredit()))}else{t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountDebit\").attr(\"role\",\"listbox\").attr(\"aria-labelledby\",e.getId()+\"-debit-text\").openEnd();i(e.getDebit(),true)}t.close(\"div\");if(!e._isOrdered()){t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountCredit\").attr(\"role\",\"listbox\").attr(\"aria-labelledby\",e.getId()+\"-credit-text\").openEnd();i(e.getCredit(),false);t.close(\"div\")}t.close(\"div\")}}else{t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountNoData\").openEnd();t.text(h.getText(\"TACCOUNT_NO_DATA\"));t.close(\"div\")}if(e.getOpening()){t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountClosingHeaderLine\").openEnd().close(\"div\");t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountClosingHeader\").openEnd();t.openStart(\"span\").attr(\"id\",e.getId()+\"-closing-debit-text\").class(\"sapSuiteUiCommonsAccountTHeaderOpeningDebitTitle\").openEnd().text(s(true)+\" \"+a).close(\"span\");t.openStart(\"span\").attr(\"id\",e.getId()+\"-closing-credit-text\").class(\"sapSuiteUiCommonsAccountTHeaderOpeningCreditTitle\").openEnd().text(s(false)+\" \"+a).close(\"span\");t.close(\"div\")}t.close(\"div\");t.close(\"div\")}}});S.prototype.onBeforeRendering=function(){this._bRendered=false;this._iOldSum=this._iSum;this._iSum=null};S.prototype.onAfterRendering=function(){var t=this.getParent();this._bRendered=true;this._setupDraggable();this._setupKeyboard();if(t&&this._hasGroupParent(t)){if(!t._bRendered){t.addEventDelegate({onAfterRendering:this._setupTooltips.bind(this)})}if(t._bRendered&&this._iOldSum!=null){var e=this._iSum-this._iOldSum;t._valueChanged(e)}}else{this._setupTooltips()}this.$().find(\".sapSuiteUiCommonsAccountGroupCollapseIcon\").attr(\"aria-pressed\",!this.getCollapsed())};S.prototype.onsapdownmodifiers=function(t){if(t[C]){this._handleArrowMoveEvent(t,f.DOWN)}};S.prototype.onsapupmodifiers=function(t){if(t[C]){this._handleArrowMoveEvent(t,f.UP)}};S.prototype.onsappreviousmodifiers=function(t){if(t[C]){this._handleArrowMoveEvent(t,f.PREVIOUS)}};S.prototype.onsapnextmodifiers=function(t){if(t[C]){this._handleArrowMoveEvent(t,f.NEXT)}};S.prototype.reset=function(){this._oSum=null};S.prototype._isOrdered=function(){return!!this.getOrderBy()};S.prototype._setupKeyboard=function(){if(!this._oItemNavigation){this._oItemNavigation=new o;this.addDelegate(this._oItemNavigation)}this._oItemNavigation.setRootDomRef(this.$().find(\".sapSuiteUiCommonsAccountTBody\")[0]);this._oItemNavigation.setItemDomRefs(this.$().find(\".sapSuiteUiCommonsAccountItem\"));this._oItemNavigation.setCycling(true)};S.prototype._isInGroup=function(){return this.getParent()instanceof n};S.prototype._getPanel=function(){if(this._isInGroup()){var t=this.getParent().getParent();if(t instanceof s){return t}}return null};S.prototype._setupDraggable=function(){if(this._isInGroup()){var t=this.$(),e=this.getParent();t.draggable({revert:\"invalid\",delay:100,helper:function(){return t.clone().width(t.width()).css(\"z-index\",500)},opacity:.6,scope:e.getId()+\"-content\",handle:\".sapSuiteUiCommonsAccountHeader\",start:function(){t.addClass(\"sapSuiteUiCommonsAccountItemDragging\");e.$().find(\".sapSuiteUiCommonsAccountGroupDroppingArea\").addClass(\"sapSuiteUiCommonsAccountGroupDroppingAreaHighlight\");e.$().find(\".sapSuiteUiCommonsAccountHeader\").css(\"cursor\",\"grabbing\")},stop:function(){t.removeClass(\"sapSuiteUiCommonsAccountItemDragging\");e.$().find(\".sapSuiteUiCommonsAccountGroupDroppingArea\").removeClass(\"sapSuiteUiCommonsAccountGroupDroppingAreaHighlight\");e.$().find(\".sapSuiteUiCommonsAccountHeader\").css(\"cursor\",\"grab\")}});d._setupMobileDraggable(t)}};S.prototype._setItemsAttrs=function(t){t.forEach(function(e,i){e._index=i+1;e._indexSize=t.length});this.getDebit().forEach(function(t){t._bIsDebit=true})};S.prototype._getExpandAltText=function(t){return(t?h.getText(\"TACCOUNT_COLLAPSE\"):h.getText(\"TACCOUNT_EXPAND\"))+(\" \"+h.getText(\"TACCOUNT_TITLE\"))};S.prototype._getDownArrow=function(){var t=this.getCollapsed();if(!this._oArrowDown){this._oArrowDown=new r({type:\"Transparent\",tooltip:this._getExpandAltText(!t),icon:t?\"sap-icon://navigation-right-arrow\":\"sap-icon://navigation-down-arrow\",press:function(){this.setCollapsed(!this.getCollapsed())}.bind(this)}).addStyleClass(\"sapSuiteUiCommonsAccountGroupCollapseIcon\")}return this._oArrowDown};S.prototype._getAriaMarkText=function(){if(!this._oMarkText){this._oMarkText=new p({id:this.getId()+\"-mark-text\",text:h.getText(\"TACCOUNT_SELECTED\")});this.addDependent(this._oMarkText)}return this._oMarkText};S.prototype._getSum=function(){if(this._iSum==null){var t=new l(\"0\");this.getCredit().forEach(function(e){t=t.plus(new l(e.getValue()))});this.getDebit().forEach(function(e){t=t.minus(new l(e.getValue()))});if(this.getOpening()){t=t.plus(new l(this.getOpeningCredit()));t=t.minus(new l(this.getOpeningDebit()))}this._iSum=t}return this._iSum};S.prototype._getAriaLabelText=function(){return this.getTitle()+\" \"+this.getSubtitle()+\" \"+this._getSumText()+\" \"+h.getText(\"TACCOUNT_NAVIGATION\")};S.prototype._getSumText=function(){var t=this.getMeasureOfUnit();var e=this._getSum();e=e.isLessThan(0)?e.times(-1):e;var i=this._getPanel();var o=c.formatCurrency(e,t,i?i.getMaxFractionDigits():0);return(this._getSum().isGreaterThan(0)?h.getText(\"TACCOUNT_CREDIT\"):h.getText(\"TACCOUNT_DEBIT\"))+\": \"+o+\" \"+u(t)};S.prototype._valueChanged=function(t,e){if(this._bRendered){if(e){this._iSum=this._getSum().minus(t)}else{this._iSum=this._getSum().plus(t)}this.$(\"sum\").text(this._getSumText());var i=this.getParent();if(this._hasGroupParent(i)){i._valueChanged(t,e)}}};S.prototype._hasGroupParent=function(t){return(t||this.getParent())instanceof n};S.prototype._handleArrowMoveEvent=function(t,e){this._moveTAccount(e);t.preventDefault();t.stopImmediatePropagation()};S.prototype._moveTAccount=function(t){var e,i,o,n,s=t===f.UP,a=true,r=this.$();var p=function(t){if(o.length===0){a=false;return}r.detach();e.detach();o[t](r);o[t](e)};if(s||t===f.DOWN){n=s?[\"next\",\"prev\",\"insertBefore\",\"append\"]:[\"prev\",\"next\",\"insertAfter\",\"prepend\"];e=r[n[0]](\".sapSuiteUiCommonsAccountGroupDroppingArea\");i=r[n[1]]()[n[1]](\".sapSuiteUiCommonsAccount\");if(i.length!==0){r.detach()[n[2]](i);e.detach()[n[2]](i)}else{o=r.parent()[n[1]](\".sapSuiteUiCommonsAccountGroupColumn\");p(n[3])}}else{e=r.prev(\".sapSuiteUiCommonsAccountGroupDroppingArea\");o=r.parent()[t===f.NEXT?\"next\":\"prev\"](\".sapSuiteUiCommonsAccountGroupColumn\");p(\"append\")}if(a){r.focus()}};S.prototype._setControlKeyName=function(t){C=t};S.prototype._setupTooltips=function(){var t=function(t){var e=this.$().find(t);if(e[0]&&e[0].clientHeight<e[0].scrollHeight){e.attr(\"title\",e.html())}}.bind(this);if(this.getSubtitle()){t(\".sapSuiteUiCommonsAccountHeaderTitleWithSubtitle\");t(\".sapSuiteUiCommonsAccountHeaderSubtitle\")}else{t(\".sapSuiteUiCommonsAccountHeaderTitle\")}};S.prototype.updateBindingContext=function(){this.reset();return i.prototype.updateBindingContext.apply(this,arguments)};S.prototype.setMeasureOfUnit=function(t){this.setProperty(\"measureOfUnit\",t,true);if(this._bRendered){this.$(\"sum\").text(this._getSumText());var e=this.getParent();if(this._hasGroupParent(e)){e._measureChanged(t)}}this.invalidate();return this};S.prototype.invalidate=function(){this._bRendered=false;i.prototype.invalidate.apply(this,arguments)};S.prototype.setCollapsed=function(t){this.setProperty(\"collapsed\",t);var e=this._getExpandAltText(!t);this._getDownArrow().setTooltip(e);this._getDownArrow().setIcon(!t?\"sap-icon://navigation-down-arrow\":\"sap-icon://navigation-right-arrow\");this.$()[t?\"addClass\":\"removeClass\"](\"sapSuiteUiCommonsAccountCollapsed\");this.$().find(\".sapSuiteUiCommonsAccountGroupCollapseIcon\").attr(\"aria-pressed\",!t);if(this.getDomRef()){this.$(\"content\")[t?\"hide\":\"show\"](\"medium\")}return this};return S});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/taccount/TAccountGroup\", [\"sap/ui/thirdparty/jquery\",\"sap/suite/ui/commons/library\",\"sap/ui/core/Control\",\"sap/ui/core/theming/Parameters\",\"./TAccountPanel\",\"sap/ui/core/IconPool\",\"sap/m/Button\",\"sap/base/security/encodeXML\",\"sap/ui/core/Configuration\",\"sap/ui/core/delegate/ItemNavigation\",\"./TAccountUtils\",\"sap/ui/core/ResizeHandler\",\"sap/ui/thirdparty/bignumber\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/Core\",\"sap/ui/core/Lib\",\"sap/ui/core/Theming\"],function(jQuery,t,e,o,i,n,s,a,r,p,u,c,l,d,h,m,_){\"use strict\";var C=m.getResourceBundleFor(\"sap.suite.ui.commons\");var g=e.extend(\"sap.suite.ui.commons.taccount.TAccountGroup\",{metadata:{library:\"sap.suite.ui.commons\",properties:{title:{type:\"string\",group:\"Misc\",defaultValue:null},collapsed:{type:\"boolean\",group:\"Misc\",defaultValue:false}},aggregations:{accounts:{type:\"sap.suite.ui.commons.taccount.TAccount\",multiple:true,singularName:\"account\"}},events:{}},renderer:{apiVersion:2,render:function(t,e){if(!e._bThemeApplied){return}t.openStart(\"div\",e);t.class(\"sapSuiteUiCommonsAccountGroup\");if(e.getCollapsed()){t.class(\"sapSuiteUiCommonsAccountGroupCollapsed\")}t.attr(\"tabindex\",0);t.attr(\"role\",\"attribute\");t.attr(\"aria-label\",e._getAriaText());t.openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsGroupHeader\").openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsGroupHeaderExpandWrapper\").openEnd();t.renderControl(e._getExpandCollapse());t.close(\"div\");t.openStart(\"div\").class(\"sapSuiteUiCommonsGroupHeaderFirst\").openEnd();t.openStart(\"span\").class(\"sapSuiteUiCommonsGroupHeaderTitle\").openEnd().unsafeHtml(a(e.getTitle())).close(\"span\");t.openStart(\"span\").attr(\"id\",e.getId()+\"-sum\").class(\"sapSuiteUiCommonsGrouptHeaderSUM\").openEnd().text(e._getSumText()).close(\"span\");t.openStart(\"div\").class(\"sapSuiteUiCommonsGroupInfoIconWrapper\").class(\"sapSuiteUiCommonsTAccountBaseInfoIconWrapper\").attr(\"title\",C.getText(\"TACCOUNT_SELECTED\")).openEnd();t.openStart(\"span\").class(\"sapSuiteUiCommonsInfoIcon\").openEnd();t.text(\"!\");t.close(\"span\");t.close(\"div\");t.close(\"div\");t.openStart(\"div\").class(\"sapSuiteUiCommonsGroupHeaderSecond\").openEnd();t.renderControl(e._getExpandAllAccounts());t.renderControl(e._getCollapseAllAccounts());t.close(\"div\");t.close(\"div\");t.openStart(\"div\").attr(\"id\",e.getId()+\"-content\").class(\"sapSuiteUiCommonsAccountGroupContent\").openEnd();e.getAccounts().forEach(function(e){t.renderControl(e)});t.close(\"div\");t.close(\"div\")}}});g.prototype.init=function(){_.attachApplied(function(){this._bThemeApplied=true;this.invalidate()}.bind(this));if(!this._sResizeHandlerId){this._sResizeHandlerId=c.register(this,this._adjustUI.bind(this))}this._oInvisibleText=new d;this._oInvisibleText.toStatic()};g.prototype.exit=function(){if(this._oIconExpand){this._oIconExpand.destroy()}if(this._oIconCollapse){this._oIconCollapse.destroy()}if(this._sResizeHandlerId){c.deregister(this._sResizeHandlerId);this._sResizeHandlerId=\"\"}this._bAttachEventListener=false};g.prototype.onBeforeRendering=function(){this._bRendered=false;this._oSum=null;this._iColumnCount=-1};g.prototype.onAfterRendering=function(){this._adjustUI();this._bRendered=true;var t=this.getParent();if(t&&this._hasPanelParent(t)&&t._bRendered){t._recalculate()}if(this.getCollapsed()){this.$(\"content\").hide()}};g.prototype.reset=function(){this._oSum=null};g.prototype.updateBindingContext=function(){this.reset();return e.prototype.updateBindingContext.apply(this,arguments)};g.prototype._hasPanelParent=function(t){return(t||this.getParent())instanceof i};g.prototype._getExpandCollapse=function(){var t=this.getCollapsed(),e=this._getExpandAltText(!t);if(!this._oArrowDown){this._oArrowDown=new s({type:\"Transparent\",icon:t?\"sap-icon://navigation-right-arrow\":\"sap-icon://navigation-down-arrow\",tooltip:e,press:function(){this._expandCollapse()}.bind(this)})}return this._oArrowDown};g.prototype._getExpandAltText=function(t){return(t?C.getText(\"TACCOUNT_COLLAPSE\"):C.getText(\"TACCOUNT_EXPAND\"))+\" \"+(this.getTitle()?this.getTitle():C.getText(\"TACCOUNT_GROUP_TITLE\"))};g.prototype._expandCollapse=function(){var t=this.getCollapsed(),e=this._getExpandAltText(t);this._getExpandCollapse().setTooltip(e);this._getExpandCollapse().setIcon(t?\"sap-icon://navigation-down-arrow\":\"sap-icon://navigation-right-arrow\");this.setProperty(\"collapsed\",!t);this._bIsExpanding=true;this.$(\"content\")[t?\"show\":\"hide\"](\"medium\",function(){this._bIsExpanding=false}.bind(this));this.$()[!t?\"addClass\":\"removeClass\"](\"sapSuiteUiCommonsAccountGroupCollapsed\")};g.prototype._expandCollapseAllAccounts=function(t){this.getAccounts().forEach(function(e){e.setCollapsed(!!t)});if(t==true){this._oInvisibleText.setText(C.getText(\"TACCOUNT_COLLAPSE_ALL\"))}else{this._oInvisibleText.setText(C.getText(\"TACCOUNT_EXPAND_ALL\"))}};g.prototype._getExpandAllAccounts=function(){if(!this._oIconExpand){this._oIconExpand=new s({icon:\"sap-icon://expand-all\",type:\"Transparent\",tooltip:C.getText(\"TACCOUNT_EXPAND\")+\" \"+C.getText(\"TACCOUNT_ALL\")+\" \"+C.getText(\"TACCOUNT_TITLE\"),ariaDescribedBy:this._oInvisibleText.getId(),press:function(){this._expandCollapseAllAccounts(false);if(!this._bAttachEventListener){this._focusOutOnExpandCollapse();this._bAttachEventListener=true}}.bind(this)}).addStyleClass(\"sapSuiteUiCommonsGroupHeaderIcon\")}return this._oIconExpand};g.prototype._getCollapseAllAccounts=function(){if(!this._oIconCollapse){this._oIconCollapse=new s({icon:\"sap-icon://collapse-all\",type:\"Transparent\",tooltip:C.getText(\"TACCOUNT_COLLAPSE\")+\" \"+C.getText(\"TACCOUNT_ALL\")+\" \"+C.getText(\"TACCOUNT_TITLE\"),ariaDescribedBy:this._oInvisibleText.getId(),press:function(){this._expandCollapseAllAccounts(true);if(!this._bAttachEventListener){this._focusOutOnExpandCollapse();this._bAttachEventListener=true}}.bind(this)}).addStyleClass(\"sapSuiteUiCommonsGroupHeaderIcon\")}return this._oIconCollapse};g.prototype._focusOutOnExpandCollapse=function(){this._oIconCollapse.getDomRef().addEventListener(\"focusout\",function(){this._oInvisibleText.setText()}.bind(this));this._oIconExpand.getDomRef().addEventListener(\"focusout\",function(){this._oInvisibleText.setText()}.bind(this))};g.prototype._getSum=function(t){var e=this.getAccounts(),o=new l(\"0\"),i=\"\",n=true;if(!this._oSum||t){for(var s=0;s<e.length;s++){var a=e[s];if(i&&i!==a.getMeasureOfUnit()){n=false;break}i=a.getMeasureOfUnit();o=o.plus(a._getSum())}this._oSum={sum:o,measure:i,correct:n}}return this._oSum};g.prototype._getSumText=function(){var t=this._getSum();var e=this.getParent();if(t&&t.correct){var o=u.formatCurrency(t.sum,t.measure,e instanceof i?e.getMaxFractionDigits():0);return(t.sum>0?C.getText(\"TACCOUNT_CREDIT\"):C.getText(\"TACCOUNT_DEBIT\"))+\": \"+o+\" \"+a(t.measure)}return\"-\"};g.prototype._getAriaText=function(){return C.getText(\"TACCOUNT_GROUP_TITLE\")+\" \"+(this.getTitle()?this.getTitle()+\" \":\"\")+this._getSumText()};g.prototype._adjustUI=function(){var t=320,e=16,o=t+e;var i=this.$(\"content\"),n=i.width(),s=Math.max(Math.ceil(n/o)-1,1);if(s===this._iColumnCount){return}if(this._bIsExpanding||this._bRendered&&this.getCollapsed()){return}var a=jQuery('<div id=\"'+this.getId()+'-content\" class=\"sapSuiteUiCommonsAccountGroupContent\"></div>'),r=Array.apply(null,Array(s)).map(Number.prototype.valueOf,0);var p=this.$().find(\".sapSuiteUiCommonsAccount\"),u=0;this._iColumnCount=s;this._iDivs=[];var c='<div class=\"sapSuiteUiCommonsAccountGroupDroppingArea\"><div class=\"sapSuiteUiCommonsAccountGroupDroppingAreaInner\">'+'</div><div class=\"sapSuiteUiCommonsAccountGroupDroppingAreaInnerBall\"></div><div class=\"sapSuiteUiCommonsAccountGroupDroppingAreaInnerText\">'+C.getText(\"TACCOUNT_DROP_HERE\")+\"</div></div>\";for(var l=0;l<s;l++){var d='<div class=\"sapSuiteUiCommonsAccountGroupColumn\">'+c+\"</div>\",h=jQuery(d);a.append(h);this._iDivs.push(h)}for(var l=0;l<p.length;l++){var m=jQuery(p[l]),_=m.height(),g=this._iDivs[u];var f=Number.MAX_VALUE,T=0;for(var v=0;v<s;v++){var A=r[v];if(A<f){f=A;T=v}}var g=this._iDivs[T];m.detach().appendTo(g);jQuery(c).appendTo(g);r[T]+=_}i.detach();this.$().append(a);this._setupDroppable()};g.prototype._setupDroppable=function(){var t=function(t){var e=jQuery(t);return e.hasClass(\"sapSuiteUiCommonsTAccountDropZoneTop\")?e.parent().prev():e.parent().next()};var e=function(t,e){var o=e.draggable,i=o.next();if(i[0]!==t[0]){i.detach().insertAfter(t);o.detach().insertAfter(t)}else{o.detach().insertBefore(t)}t.removeClass(\"sapSuiteUiCommonsAccountGroupDroppingAreaActiveSide\");o.css(\"left\",\"0px\");o.css(\"top\",\"0px\")};var o=this.$().find(\".sapSuiteUiCommonsAccountGroupDroppingArea\");o.droppable({scope:this.getId()+\"-content\",tolerance:\"pointer\",activeClass:\"sapSuiteUiCommonsAccountGroupDroppingAreaActive\",hoverClass:\"sapSuiteUiCommonsAccountGroupDroppingAreaActive\",drop:function(t,o){var i=jQuery(this);e(i,o)}});var i=this.$().find(\".sapSuiteUiCommonsTAccountDropZoneBottom, .sapSuiteUiCommonsTAccountDropZoneTop\");i.droppable({scope:this.getId()+\"-content\",tolerance:\"pointer\",drop:function(t,o){var i=jQuery(this);i=i.hasClass(\"sapSuiteUiCommonsTAccountDropZoneTop\")?i.parent().prev():i.parent().next();e(i,o)},over:function(e,o){t(this).addClass(\"sapSuiteUiCommonsAccountGroupDroppingAreaActiveSide\")},out:function(e,o){t(this).removeClass(\"sapSuiteUiCommonsAccountGroupDroppingAreaActiveSide\")}})};g.prototype._valueChanged=function(t,e){if(this._oSum){if(e){this._oSum.sum=this._oSum.sum.minus(t)}else{this._oSum.sum=this._oSum.sum.plus(t)}this.$(\"sum\").text(this._getSumText());var o=this.getParent();if(this._hasPanelParent(o)){o._valueChanged(t,e)}}};g.prototype._measureChanged=function(t){if(this._oSum){if(this._oSum.measure===t&&!this._oSum.correct){this._recalculate();return}if(this._oSum.measure!==t&&this._oSum.correct){var e=this.getParent();this._oSum.correct=false;if(this._hasPanelParent(e)){e._setInvalid()}}this.$(\"sum\").text(this._getSumText())}};g.prototype._recalculate=function(){this._oSum=this._getSum(true);this.$(\"sum\").text(this._getSumText());var t=this.getParent();if(this._hasPanelParent(t)){t._recalculate()}};g.prototype._hasPanelParent=function(t){return(t||this.getParent())instanceof i};g.prototype.invalidate=function(){this._bRendered=false;e.prototype.invalidate.apply(this,arguments)};return g});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/taccount/TAccountItem\", [\"sap/ui/thirdparty/jquery\",\"sap/suite/ui/commons/library\",\"sap/ui/core/Control\",\"sap/ui/core/theming/Parameters\",\"sap/suite/ui/commons/taccount/TAccountPanel\",\"sap/suite/ui/commons/taccount/TAccountGroup\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/core/Core\",\"sap/ui/core/library\",\"./TAccountUtils\",\"sap/ui/thirdparty/bignumber\",\"sap/ui/core/Lib\",\"sap/ui/core/Element\",\"../library\",\"sap/m/library\"],function(jQuery,t,e,i,r,o,a,s,n,u,c,p,l,g,m){\"use strict\";var h=p.getResourceBundleFor(\"sap.suite.ui.commons\");var d=g.SemanticColorType;var f=m.ValueCSSColor;var C=e.extend(\"sap.suite.ui.commons.taccount.TAccountItem\",{metadata:{library:\"sap.suite.ui.commons\",properties:{value:{type:\"any\",group:\"Misc\",defaultValue:0},color:{type:\"string\",group:\"Misc\",defaultValue:null},group:{type:\"string\",group:\"Misc\",defaultValue:\"\"},ariaLabel:{type:\"string\",group:\"Misc\",defaultValue:\"\"}},aggregations:{properties:{type:\"sap.suite.ui.commons.taccount.TAccountItemProperty\",multiple:true,singularName:\"property\"}},events:{press:{}}},renderer:{apiVersion:2,render:function(t,e){var r=e.getColor(),o=e.getParent()&&e.getParent().getMeasureOfUnit(),a=e._getPanel(),s=u.formatCurrency(new c(e.getValue()),o,a?a.getMaxFractionDigits():0),p=s+\" \"+o;t.openStart(\"div\",e).attr(\"tabindex\",\"0\");t.class(\"sapSuiteUiCommonsAccountItem\");if(e.getGroup()){t.attr(\"group\",e.getGroup())}t.attr(\"aria-selected\",\"false\");t.attr(\"aria-setsize\",e._indexSize);t.attr(\"aria-posinset\",e._index);t.attr(\"role\",\"option\");t.attr(\"aria-label\",e._getAriaLabel(p));t.openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountColorBar\");if(r){if(d.hasOwnProperty(r)){t.class(\"backgroundSemanticColor\"+r)}if(n.CSSColor.isValid(r)){t.style(\"background-color\",r)}if(n.CSSColor.isValid(i.get(r))){t.style(\"background-color\",i.get(r))}}t.openEnd();t.close(\"div\");t.openStart(\"div\").attr(\"id\",e.getId()+\"-content\").class(\"sapSuiteUiCommonsAccountContent\").openEnd();t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountItemTitleWrapper\").openEnd();t.openStart(\"span\").class(\"sapSuiteUiCommonsAccountItemTitle\").openEnd();t.text(p);t.close(\"span\");t.close(\"div\");t.openStart(\"div\").class(\"sapSuiteUiCommonsAccountItemProperties\").openEnd();e.getProperties().forEach(function(e){t.renderControl(e)});t.close(\"div\");t.close(\"div\");t.close(\"div\")}}});C.prototype.onBeforeRendering=function(){this._prepareProperties()};C.prototype.onAfterRendering=function(){this.$().off(\"click\");this.$().on(\"click\",this._click.bind(this))};C.prototype._refreshAriaLabel=function(t){this.$().attr(\"aria-label\",this._getAriaLabel())};C.prototype._getAriaLabel=function(t){var e=this.getAriaLabel();if(e){return e}if(!t){var i=this.getParent()&&this.getParent().getMeasureOfUnit(),r=this._getPanel(),o=u.formatCurrency(this.getValue(),i,r?r.getMaxFractionDigits():0),t=o+\" \"+i}var a=(this._bIsDebit?h.getText(\"TACCOUNT_DEBIT\"):h.getText(\"TACCOUNT_CREDIT\"))+\" \"+h.getText(\"TACCOUNT_ITEM\");a+=\" \"+t+\" \";this.getProperties().forEach(function(t){if(t.getVisible()){a+=t.getLabel()+\":\"+t.getValue()+\" \"}});return a};C.prototype._click=function(){var t=this.fireEvent(\"press\",{},true);if(t){this._highlightItems()}};C.prototype._highlightItems=function(){var t=this.$(),e=this.getGroup(),i=!t.is(\".sapSuiteUiCommonsAccountItemSelected, .sapSuiteUiCommonsAccountItemSelectedByGroup\"),r=jQuery(\".sapSuiteUiCommonsAccountItemSelected\");this._setAriaHighlighted(r,false);this._setAriaHighlighted(t,i);r.removeClass(\"sapSuiteUiCommonsAccountItemSelected\");i?t.addClass(\"sapSuiteUiCommonsAccountItemSelected\"):t.removeClass(\"sapSuiteUiCommonsAccountItemSelected\");var a=this._findHighlightParent();if(a){var s=jQuery(\".sapSuiteUiCommonsAccountItemSelectedByGroup\");s.removeClass(\"sapSuiteUiCommonsAccountItemSelectedByGroup\");this._setAriaHighlighted(s,false);if(e&&i){var n=jQuery(\".sapSuiteUiCommonsAccountItem[group=\"+e+\"]\");n.addClass(\"sapSuiteUiCommonsAccountItemSelectedByGroup\");var u=this;n.each(function(t,e){var i=l.getElementById(e.id);if(i){u._setAriaHighlighted(i.$(),true);var r=i.getParent();if(r){r.$().addClass(\"sapSuiteUiCommonsAccountItemSelectedByGroup\");var a=r.getParent();if(a instanceof o){a.$().addClass(\"sapSuiteUiCommonsAccountItemSelectedByGroup\")}}}})}}};C.prototype.onsapenter=function(){this._highlightItems()};C.prototype.onsapspace=function(){this._highlightItems()};C.prototype._setAriaHighlighted=function(t,e){t.attr(\"aria-selected\",e);t.attr(\"aria-label\",e?h.getText(\"COLORED_ITEM_FROM\")+\" \"+this.getGroup():this._getAriaLabel())};C.prototype._findHighlightParent=function(){var t=this.getParent();t=t&&t.getParent();if(t instanceof o){var e=t.getParent();return e instanceof r||t}return null};C.prototype._getPanel=function(){var t=this.getParent();t=t&&t.getParent();if(t instanceof o){var e=t.getParent();if(e instanceof r){return e}}return null};C.prototype._prepareProperties=function(){this._mProperties={};this.getProperties().forEach(function(t){var e=t.getKey();if(e){this._mProperties[e]=t}}.bind(this))};C.prototype.setValue=function(t){var e=new c(t);var i=new c(this.getValue());var r=this._bIsDebit?-1:1;var o=new c(r).times(e.minus(i));var a=o.isGreaterThan(0);this.setProperty(\"value\",t);this.getParent()&&this.getParent()._valueChanged(o,this._bIsDebit&&!a)};C.prototype.setColor=function(t,e){var i=false;if(d.hasOwnProperty(t)){i=true}else{i=f.isValid(t)}if(t!=null&&!i){throw new Error(`Value ${t} is not valid for property \"color\"`)}return this.setProperty(\"color\",i?t:null,e)};return C});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/taccount/TAccountItemProperty\", [\"sap/suite/ui/commons/library\",\"sap/ui/core/Control\",\"sap/ui/core/theming/Parameters\"],function(e,t,a){\"use strict\";var i=t.extend(\"sap.suite.ui.commons.taccount.TAccountItemProperty\",{metadata:{library:\"sap.suite.ui.commons\",properties:{key:{type:\"string\",group:\"Misc\",defaultValue:null},value:{type:\"string\",group:\"Misc\",defaultValue:null},label:{type:\"string\",group:\"Misc\",defaultValue:null},displayLabel:{type:\"boolean\",group:\"Misc\",defaultValue:true},visible:{type:\"boolean\",group:\"Misc\",defaultValue:true}}},renderer:{apiVersion:2,render:function(e,t){var a=t.getValue(),i=t.getLabel(),o=t.getVisible();e.openStart(\"div\",t).class(\"sapSuiteUiCommonsAccountPropertyWrapper\").attr(\"key\",t.getKey());if(!o){e.style(\"display\",\"none\")}e.openEnd();if(i&&t.getDisplayLabel()){e.openStart(\"div\").class(\"sapSuiteUiCommonsAccountItemLabel\").openEnd().text(i+\":\").close(\"div\")}e.openStart(\"div\").class(\"sapSuiteUiCommonsAccountItemProperty\").openEnd().text(a).close(\"div\");e.close(\"div\")}}});i.prototype._getLabel=function(){return this.getValue()||this.getKey()};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/taccount/TAccountPanel\", [\"sap/ui/thirdparty/jquery\",\"sap/suite/ui/commons/library\",\"sap/ui/core/Control\",\"sap/ui/core/theming/Parameters\",\"sap/m/Panel\",\"sap/ui/model/json/JSONModel\",\"sap/m/Dialog\",\"sap/m/Button\",\"sap/m/FlexBox\",\"sap/m/Label\",\"sap/ui/model/Filter\",\"sap/m/SearchField\",\"sap/m/List\",\"sap/m/StandardListItem\",\"sap/m/CheckBox\",\"sap/m/Title\",\"sap/m/Toolbar\",\"sap/m/ToolbarSpacer\",\"sap/m/Text\",\"sap/m/SegmentedButton\",\"sap/m/SegmentedButtonItem\",\"sap/ui/model/FilterOperator\",\"sap/base/security/encodeXML\",\"sap/ui/base/Object\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/core/Core\",\"sap/ui/core/Configuration\",\"./TAccountUtils\",\"./TAccountPanelRenderer\",\"sap/m/library\",\"sap/ui/thirdparty/bignumber\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\"],function(jQuery,e,t,o,i,s,a,r,n,l,p,u,c,h,m,d,g,T,_,y,f,S,b,C,v,A,P,w,x,B,I,L,U){\"use strict\";var O=B.ButtonType;var E=U.getResourceBundleFor(\"sap.suite.ui.commons\");var D=e.taccount.TAccountPanelState;var k=i.extend(\"sap.suite.ui.commons.taccount.TAccountPanel\",{metadata:{library:\"sap.suite.ui.commons\",properties:{title:{type:\"string\",group:\"Misc\",defaultValue:null},state:{type:\"sap.suite.ui.commons.taccount.TAccountPanelState\",group:\"Misc\",defaultValue:\"Default\"},showOverlay:{type:\"boolean\",group:\"Misc\",defaultValue:false},maxFractionDigits:{type:\"int\",group:\"Misc\",defaultValue:2}},aggregations:{properties:{type:\"sap.suite.ui.commons.taccount.TAccountItemProperty\",multiple:true,singularName:\"property\"},table:{type:\"sap.ui.core.Control\",multiple:false}},events:{stateChanged:{parameters:{state:\"sap.suite.ui.commons.taccount.TAccountPanelState\"}},settingsApplied:{parameters:{properties:\"object\"}}}}});k.prototype.init=function(){this._bDisplayLabels=true};k.prototype.onBeforeRendering=function(){this._oSum=null;this._bRendered=false;this._prepareProperties();this._createToolbar()};k.prototype.onAfterRendering=function(){var e=this.$();this._switchContent(this.getState()===D.Table);this._bRendered=true;e.attr(\"aria-label\",this._getAriaLabelText());e.addClass(\"sapSuiteUiCommonsAccountPanel\");this._setTotalBalanceTitle()};k.prototype.getSum=function(){var e=new I(\"0\"),t=\"\",o=true,i=this.getContent();if(!this._oSum){for(var s=0;s<i.length;s++){var a=i[s];if(C.isA(a,\"sap.suite.ui.commons.taccount.TAccountGroup\")){var r=a._getSum();if(t&&t!==r.measure||!r.correct){o=false;break}t=r.measure;e=e.plus(r.sum)}}this._oSum={measure:t,sum:e||0,correct:o}}return this._oSum};k.prototype.switchContent=function(e){var t=e?D.Table:D.Default;this._switchContent(e);this.setProperty(\"state\",t,true)};k.prototype.getSettingsDialog=function(){return this._getPopover()};k.prototype.getToolbar=function(){return this._getToolbar()};k.prototype.openSettings=function(){this._oSelectAllCheckBox&&this._oSelectAllCheckBox.setText(this._getSelectAllText());this._getPopover().open()};k.prototype.reset=function(){this._oSum=null;if(this._oPopover){this._oPopover.destroy();this._oPopover=null}};k.prototype.setState=function(e){var t=e===D.Table;this._switchContent(t);this.setProperty(\"state\",e,true);return this};k.prototype.updateBindingContext=function(){this.reset();return t.prototype.updateBindingContext.apply(this,arguments)};k.prototype._switchContent=function(e){var t=e?D.Table:D.Default;this.$(\"table\")[e?\"show\":\"hide\"]();this.$(\"datacontent\")[e?\"hide\":\"show\"]();if(this._oDisplaySwitcher){this._oDisplaySwitcher.setSelectedKey(t)}};k.prototype._prepareProperties=function(){this._mProperties={};this.getProperties().forEach(function(e){var t=e.getKey();if(t){this._mProperties[t]=e}}.bind(this))};k.prototype._setPropertiesVisibility=function(e){var t=this.$();Object.keys(e).forEach(function(o){var i=e[o],s=t.find(\".sapSuiteUiCommonsAccountPropertyWrapper[key=\"+o+\"]\");s.each(function(e,t){var o=i.getVisible(),s=L.getElementById(t.id);if(s){s.setProperty(\"visible\",o,true);s.getParent()._refreshAriaLabel()}jQuery(t)[o?\"show\":\"hide\"]()})});t.find(\".sapSuiteUiCommonsAccountItemLabel\")[this._bDisplayLabels?\"show\":\"hide\"]()};k.prototype._getPopover=function(){if(!this._oPopover){this._createPopover()}return this._oPopover};k.prototype._getSelectAllText=function(e){var t=this.getProperties();if(!e&&e!==0){e=t.reduce(function(e,t){return e+(t.getVisible()?1:0)},0)}this._iSelectedCount=e;return E.getText(\"TACCOUNT_SELECTALL\")+\" (\"+e+\"/\"+t.length+\")\"};k.prototype._createPopover=function(){var e=this,t=false;if(!this._oPopover){this._oPopover=new a({contentWidth:\"450px\",title:E.getText(\"TACCOUNT_DISPLAYOPTIONS\"),afterOpen:function(){if(!t){var o=e._oPopover.$().height();e._oPopover.setProperty(\"contentHeight\",o+\"px\",true);t=true}}})}this._oPopover.setEndButton(new r({text:E.getText(\"TACCOUNT_CANCEL\"),press:function(t){e._oPopover.close();y.forEach((e,t)=>{_.getItems()[t].setSelected(e.mProperties.visible)})}}));this._oPopover.setBeginButton(new r({text:E.getText(\"TACCOUNT_OK\"),type:O.Emphasized,press:function(t){var o=_.getSelectedContexts(true),s=_.getModel();var a={},r={};o.forEach(function(t){var o=s.getProperty(t.sPath);if(o){var i=e._mProperties[o.key];a[o.key]=1;if(i&&!i.getVisible()){i.setProperty(\"visible\",true,true);r[o.key]=i}}});Object.keys(e._mProperties).forEach(function(t){var o=e._mProperties[t];if(o.getVisible()&&!a[t]){o.setProperty(\"visible\",false,true);r[t]=o}});e._bDisplayLabels=i.getSelected();if(e.fireEvent(\"settingsApplied\",{properties:r},true)){e._setPropertiesVisibility(r)}e._oPopover.close()}}));this._oPopover.removeAllContent();var o=new n({width:\"100%\",renderType:\"Bare\",direction:\"Column\"});this._oPopover.addContent(o);var i=new m({selected:this._bDisplayLabels}).addStyleClass(\"sapUiTinyMarginBegin\");var d=new n({renderType:\"Bare\",alignItems:\"Center\",items:[i,new l({text:\"Show labels\"}).addStyleClass(\"sapUiTinyMarginBegin\")]}).addStyleClass(\"sapUiTinyMarginBottom sapUiTinyMarginTop\");o.addItem(d);var g=function(e){var t=[],o=e.getSource().getValue();if(o&&o.length>0){t.push(new p(\"title\",S.Contains,o))}var i=_.getBinding(\"items\");i.filter(t,\"Application\")};var T=new u({width:\"100%\",liveChange:g}).addStyleClass(\"sapSuiteUiCommonsAccountsPopupSearch\");o.addItem(T);var _=new c({width:\"100%\",mode:\"MultiSelect\",includeItemInSelection:true,selectionChange:function(t){var o=t.getParameter(\"listItem\").getSelected();e._oSelectAllCheckBox.setText(e._getSelectAllText(e._iSelectedCount+(o?1:-1)));e._oSelectAllCheckBox.setSelected(y.length===e._iSelectedCount)}}).addStyleClass(\"sapSuiteUiCommonsAccountsPopupList\");_.bindAggregation(\"items\",{path:\"/items\",template:new h({title:\"{title}\",selected:\"{selected}\"})});var y=this.getProperties(),f=this._getSelectAllText();this._oSelectAllCheckBox=new m({selected:y.length===e._iSelectedCount,text:f,select:function(t){var o=t.getSource().getSelected();e._oSelectAllCheckBox.setText(e._getSelectAllText(o?y.length:0));_.getItems().forEach(function(e){e.setSelected(o)})}}).addStyleClass(\"sapUiTinyMarginBegin sapUiTinyMarginEnd sapSuiteUiCommonsAccountsPopupSelectAll\");var b=new n({renderType: Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/CollaborationManagerService\", [\"sap/base/Log\",\"sap/ui/core/Core\",\"./BaseHelperService\",\"sap/ui/Device\",\"sap/ui/core/Lib\",\"sap/suite/ui/commons/collaboration/channels/MessageChannel\"],function(e,o,a,s,t,i){\"use strict\";var n=a.extend(\"sap.suite.ui.commons.collaboration.CollaborationManagerService\");var r=t.getResourceBundleFor(\"sap.suite.ui.commons\");var l=e.getLogger(\"sap.suite.ui.commons.collaboration.CollaborationManagerService\");n.prototype.triggerH2HChat=function(e,o,a){this.publishData({sAppTitle:e,sCurrentURL:o,sEmailId:a})};n.prototype.getOptions=function(){var e=window[\"sap-ushell-config\"]&&window[\"sap-ushell-config\"].bootstrapPlugins&&window[\"sap-ushell-config\"].bootstrapPlugins.H2H_CHAT_PLUGIN;if(s.system.desktop){if(e){return{text:r.getText(\"COLLABORATION_MANGER\"),icon:\"sap-icon://BusinessSuiteInAppSymbols/icon-collaboration-manager\",press:this.triggerH2HChat.bind(this),fesrStepName:\"CM:ShareLink\"}}else{l.info(\"Consumer disable Collaboration Manager option\")}}else{l.info(\"Collaboration Manager is not supported in Phone and Tablet\")}return null};n.prototype.publishData=async function(e){try{const o=await i.getInstance();o.postMessage(e)}catch(e){l.error(\"Failed to publish data:\",e)}};return n});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/ContactHelper\", [\"sap/ui/core/mvc/Controller\",\"sap/ui/core/Fragment\",\"sap/ui/model/json/JSONModel\",\"sap/m/library\",\"sap/ui/core/Lib\",\"sap/ui/core/Core\",\"sap/ui/model/resource/ResourceModel\",\"./CollaborationContactInfoHelper\",\"sap/ui/performance/trace/FESRHelper\",\"sap/ui/core/Element\"],function(e,t,a,o,s,i,n,r,c,l){\"use strict\";var u=s.getResourceBundleFor(\"sap.suite.ui.commons\");return e.extend(\"sap.suite.ui.commons.collaboration.ContactHelper\",{constructor:function(){},getFullProfileByEmail:async function(e){var t=await r.fetchContact(e);if(t&&t.mail===\"\"){return t}if(t&&t.data!=\"\"){t.photo=\"data:image/png;base64,\"+t.data}t=this.determineContactStatus(t);return t},getTeamsContactOptions:function(){var e=this;return Promise.resolve([{key:\"chat\",icon:\"sap-icon://discussion\",tooltip:u.getText(\"CHAT_BUTTON_TOOLTIP\"),fesrStepName:\"MST:ContactAction\",callBackHandler:function(t){e.handleMSTeamsPress(t)}},{key:\"call\",icon:\"sap-icon://call\",tooltip:u.getText(\"CALL_BUTTON_TOOLTIP\"),fesrStepName:\"MST:ContactAction\",callBackHandler:function(t){e.handleMSTeamsPress(t)}},{key:\"videoCall\",icon:\"sap-icon://video\",tooltip:u.getText(\"VIDEOCALL_BUTTON_TOOLTIP\"),fesrStepName:\"MST:ContactAction\",callBackHandler:function(t){e.handleMSTeamsPress(t)}}])},getTeamsContactStatus:async function(e){var t=await r.fetchContact(e);t.calendar=await r.fetchContactCalendar(e);t=this.determineContactStatus(t);return[{key:\"profileStatus\",badgeIcon:t.badgeIcon,badgeValueState:t.badgeValueState,badgeTooltip:t.badgeTooltip,fesrStepName:\"MST:ContactAction\",calendar:t.calendar}]},handleMSTeamsPress:function(e){var t=e.getSource().data(\"email\");var a=e.getSource().data(\"type\");var s=\"\";switch(a){case\"chat\":s=\"https://teams.microsoft.com/l/chat/0/0?users=\"+t;break;case\"call\":s=\"https://teams.microsoft.com/l/call/0/0?users=\"+t;break;case\"videoCall\":s=\"https://teams.microsoft.com/l/call/0/0?users=\"+t+\"&withVideo=true\";break;default:break}o.URLHelper.redirect(s,true)},formatUri:function(e,t){var a=/^\\w+[\\w-+\\.]*\\@\\w+([-\\.]\\w+)*\\.[a-zA-Z]{2,}$/;if(a.test(e)){return\"mailto:\"+e+(t&&t.subject?\"?subject=\"+t.subject:\"\")+(t&&t.body?\"&body=\"+t.body:\"\")}else{return\"tel:\"+e}},loadContactPopover:function(e,o,s){this.afterClose();return t.load({name:\"sap.suite.ui.commons.collaboration.ContactPopover\",controller:this,type:\"XML\"}).then(function(t){c.setSemanticStepname(t,\"afterClose\",\"MST:ContactDetails\");this._oContactPopover=t;this.sEmail=e;this.oParams=o;t.setBusy(true);var i={setFamily:\"tnt\",setURI:sap.ui.require.toUrl(\"sap/tnt/themes/base/illustrations\")};sap.m.IllustrationPool.registerIllustrationSet(i,false);var n=new a({isUserExistsInTeams:true});this._oContactPopover.setModel(n,\"userData\");this.isDirectCommunicationEnabled=s;this._oContactPopover.setModel(new sap.ui.model.resource.ResourceModel({bundle:u}),\"i18n\");return t}.bind(this))},loadMinimalContactPopover:function(e,o){this.afterClose();var s=new a({mail:e,params:o});return t.load({name:\"sap.suite.ui.commons.collaboration.MinimalContactPopover\",controller:this,type:\"XML\"}).then(function(e){this._oMinContactPopover=e;c.setSemanticStepname(e,\"afterClose\",\"MST:ContactDetails\");e.setModel(s,\"userData\");e.setModel(new sap.ui.model.resource.ResourceModel({bundle:u}),\"i18n\");return e}.bind(this))},afterClose:function(){if(this._oContactPopover){this._oContactPopover.destroy()}if(this._oMinContactPopover){this._oMinContactPopover.destroy()}},afterOpen:function(){var e=this;this.getFullProfileByEmail(this.sEmail).then(function(t){e._oContactPopover.setBusy(false);if(t&&t.mail===\"\"){t.isUserExistsInTeams=false;t.mail=e.sEmail;t.params=e.oParams;e._oContactPopover.setInitialFocus(l.getElementById(\"mail\"))}else{t.isUserExistsInTeams=true;t.isDirectCommunicationEnabled=!!e.isDirectCommunicationEnabled;e._oContactPopover.setInitialFocus(l.getElementById(\"avatar\"))}var o=new a(t);o.setData(t);e._oContactPopover.setModel(o,\"userData\");c.setSemanticStepname(e._oContactPopover,\"afterClose\",\"MST:ContactDetails\")})},afterContinue:function(){var e=this.formatUri(this.sEmail,this.oParams);o.URLHelper.redirect(e,true)},determineContactStatus:function(e){const t=new Map([[\"OOO\",{badgeValueState:\"Information\",badgeIcon:\"sap-icon://offsite-work\"}],[\"BUSYOOO\",{badgeValueState:\"Error\",badgeIcon:\"sap-icon://circle-task\"}],[\"ONLINEOOO\",{badgeValueState:\"Success\",badgeIcon:\"sap-icon://sys-enter\"}],[\"AVAILABLE\",{badgeValueState:\"Success\",badgeIcon:\"sap-icon://sys-enter-2\"}],[\"AWAY\",{badgeValueState:\"Warning\",badgeIcon:\"sap-icon://pending\"}],[\"BUSY\",{badgeValueState:\"Error\",badgeIcon:\"sap-icon://circle-task-2\"}],[\"PRESENTING\",{badgeValueState:\"Error\",badgeIcon:\"sap-icon://sys-minus\"}],[\"OFFLINE\",{badgeValueState:\"Error\",badgeIcon:\"sap-icon://message-error\"}]]);const a=new Map([[\"Available\",\"AVAILABLE\"],[\"Away\",\"AWAY\"],[\"Inactive\",\"AWAY\"],[\"Busy\",\"BUSY\"],[\"DoNotDisturb\",\"PRESENTING\"],[\"InACall\",\"BUSY\"],[\"InAMeeting\",\"BUSY\"],[\"Presenting\",\"PRESENTING\"],[\"BeRightBack\",\"AWAY\"],[\"OffWork\",\"OFFLINE\"],[\"Offline\",\"OFFLINE\"]]);let o={};if(!!e.isoutofoffice){if(e.activity===\"Available\"){o=t.get(\"ONLINEOOO\");o.badgeTooltip=`${u.getText(\"AVAILABLE\")}, ${u.getText(\"OOO\")}`}else if(e.activity===\"Busy\"){o=t.get(\"BUSYOOO\");o.badgeTooltip=`${u.getText(\"BUSY\")}, ${u.getText(\"OOO\")}`}else if(e.activity===\"DoNotDisturb\"){o=t.get(\"PRESENTING\");o.badgeTooltip=`${u.getText(\"DONOTDISTURB\")}, ${u.getText(\"OOO\")}`}else{o=t.get(\"OOO\");o.badgeTooltip=u.getText(\"OOO\")}}else{const s=e.activity?a.get(e.activity):\"OFFLINE\";o=t.get(s);o.badgeTooltip=u.getText(e.activity.toUpperCase())}Object.assign(e,o);return e}})});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/ServiceContainer\", [\"sap/base/Log\",\"./BaseHelperService\",\"./TeamsHelperService\",\"./CollaborationManagerService\",\"../windowmessages/CollaborationMessageBroker\",\"../windowmessages/CollaborationMessageConsumer\",\"./CollaborationHelper\",\"sap/ui/core/Element\"],function(e,r,n,i,o,t,a,s){\"use strict\";var l=e.getLogger(\"sap.suite.ui.commons.collaboration.ServiceContainer\");var c;var u;function v(){var e;if(c&&Object.keys(c).length){var i=c.sProvider;var o=c.oProviderConfig;if(i===\"COLLABORATION_MSTEAMS\"){e=new n(o)}u=Promise.resolve(e);return u}e=new r({});l.info(\"Collaboration provider is not activated on the tenant\");return Promise.resolve(e)}function f(){}var g=new f;g.getServiceAsync=async function(){const e=sap.ui.require(\"sap/ushell/Container\");if(u){return u}if(e&&e.inAppRuntime()){c=await t.getProviderConfiguration()}return v()};g.getCollaborationServices=async function(){var e=await g.getServiceAsync();var r={oTeamsHelperService:e,oCMHelperService:new i};return Promise.resolve(r)};g.hidePluginsInMSTeams=async function(){try{const e=await a.isTeamsModeActive();if(e){let e=0;const r=1*1e3;const n={chatButton:true,\"sap.das.webclientplugin.s4.shellitem\":true};const i=setInterval(()=>{e++;if(e>10){clearInterval(i);return}Object.keys(n).forEach(e=>{const r=s.getElementById(e);if(r?.getVisible()===true){r.setVisible(false);n[e]=false}});const r=Object.values(n).every(e=>!e);if(r){clearInterval(i)}},r)}}catch(e){l.error(\"Error hiding the plugins in MS Teams\",e)}};g.setCollaborationType=function(e,r){l.info(\"Collaboration properties are now configured\");g.hidePluginsInMSTeams();c={sProvider:e,oProviderConfig:r};v();o.startInstance(c)};return g},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/TeamsHelperService\", [\"sap/base/Log\",\"sap/ui/core/Core\",\"sap/base/security/URLListValidator\",\"./CollaborationHelper\",\"./BaseHelperService\",\"sap/ui/core/Element\",\"./ContactHelper\",\"sap/ui/Device\",\"./CollaborationCardHelper\",\"sap/ui/core/Fragment\",\"sap/m/MessageBox\",\"sap/ui/core/Lib\",\"sap/m/Popover\",\"sap/m/HBox\",\"sap/m/VBox\",\"sap/m/MessageStrip\",\"sap/m/Button\",\"./CollaborationContactInfoHelper\",\"sap/m/library\",\"sap/m/FlexBox\",\"sap/base/i18n/Localization\",\"./CollaborationManagerService\",\"sap/m/FlexItemData\"],function(e,t,a,i,r,o,n,s,l,p,d,c,h,u,f,C,m,A,T,S,g,b,v){\"use strict\";var _=r.extend(\"sap.suite.ui.commons.collaboration.TeamsHelperService\",{constructor:function(e){this._providerConfig=e;this._providerConfig.shareAsLinkUrl=\"https://teams.microsoft.com/share\";this._getShareAsTabUrl().then(function(e){this._providerConfig.shareAsTabUrl=e}.bind(this))}});var y=\"db5b69c6-0430-4ae1-8d6e-a65c2220b50c\";var O=e.getLogger(\"sap.suite.ui.commons.collaboration.TeamsHelperService\");var L=\"https://saps4hana.azure-api.net/bot/redirect?target-url=\";var E=c.getResourceBundleFor(\"sap.suite.ui.commons\");var M=\"info\";var I;let B;const R=60*1e3;var x={};var U=\"width=720,height=720\";_.prototype.getOptions=function(e){x={isShareAsLinkEnabled:e&&typeof e.isShareAsLinkEnabled!==\"undefined\"?e.isShareAsLinkEnabled:true,isShareAsTabEnabled:e&&typeof e.isShareAsTabEnabled!==\"undefined\"?e.isShareAsTabEnabled:true,isShareAsCardEnabled:e&&typeof e.isShareAsCardEnabled!==\"undefined\"?e.isShareAsCardEnabled:false};var t=[];var a=[];if(s.system.desktop){if(x.isShareAsLinkEnabled){if(this._providerConfig.isShareAsLinkEnabled===\"X\"){t.push({text:E.getText(\"COLLABORATION_MSTEAMS_CHAT\"),key:\"COLLABORATION_MSTEAMS_CHAT\",icon:\"sap-icon://post\",fesrStepName:\"MST:ShareAsLink\"})}else{O.info(\"Share as Chat option is not enabled in the tenant\")}}else{O.info(\"Consumer disable Share as Chat option\")}}else{O.info(\"Share as Chat option is not supported in Phone and Tablet\")}if(s.system.desktop){if(x.isShareAsTabEnabled){if(this._providerConfig.isShareAsTabEnabled===\"X\"){t.push({text:E.getText(\"COLLABORATION_MSTEAMS_TAB\"),key:\"COLLABORATION_MSTEAMS_TAB\",icon:\"sap-icon://image-viewer\",fesrStepName:\"MST:ShareAsTab\"})}else{O.info(\"Share as Tab option is not enabled in the tenant\")}}else{O.info(\"Consumer disable Share as Tab option\")}}else{O.info(\"Share as Tab option is not supported in Phone and Tablet\")}if(s.system.desktop){if(x.isShareAsCardEnabled){const e=this._providerConfig.isShareAsCardEnabled;const a=this._providerConfig.isShareAsTabEnabled===\"X\";const i={text:E.getText(\"COLLABORATION_MSTEAMS_CARD\"),key:\"COLLABORATION_MSTEAMS_CARD\",icon:\"sap-icon://ui-notifications\",fesrStepName:\"MST:ShareAsCard\"};switch(e){case\"DISABLED\":O.info(\"Share as Card option is not enabled in the tenant\");break;case\"ENABLED\":case\"AUTHENABLE\":t.push(i);break;case\"\":case undefined:if(a){t.push(i)}else{O.info(\"Share as Card option is not enabled in the tenant\")}break;default:O.info(\"Share as Card option is not enabled in the tenant\");break}}else{O.info(\"Consumer disable Share as Card option\")}}else{O.info(\"Share as Card option is not supported in Phone and Tablet\")}if(t.length===1){a=t;if(a[0].key===\"COLLABORATION_MSTEAMS_CHAT\"){a[0].text=E.getText(\"COLLABORATION_MSTEAMS_CHAT_SINGLE\")}else if(a[0].key===\"COLLABORATION_MSTEAMS_TAB\"){a[0].text=E.getText(\"COLLABORATION_MSTEAMS_TAB_SINGLE\")}else if(a[0].key===\"COLLABORATION_MSTEAMS_CARD\"){a[0].text=E.getText(\"COLLABORATION_MSTEAMS_CARD_SINGLE\")}return a}if(t.length>1){a.push({type:\"microsoft\",text:E.getText(\"COLLABORATION_MSTEAMS_SHARE\"),icon:\"sap-icon://collaborate\",subOptions:t})}return a};_.prototype.share=function(e,t){if(!t.url){O.error(\"url is not supplied in object so terminating Click\");return}if(!a.validate(t.url)){O.error(\"Invalid URL supplied\");return}if(e.key===\"COLLABORATION_MSTEAMS_CHAT\"){this._shareAsChat(t);return}if(e.key===\"COLLABORATION_MSTEAMS_TAB\"){this._shareAsTab(t);return}if(e.key===\"COLLABORATION_MSTEAMS_CARD\"){this._shareAsCard(t);return}};_.prototype._shareAsChat=function(e){var t=window.open(\"\",\"_blank\",U);var a=e.appTitle;if(e.subTitle.length>0){a+=\": \"+e.subTitle}t.opener=null;if(e.minifyUrlForChat){i.compactHash(e.url,[]).then(async function(i){var r=await this._modifyUrlForNavigationContext(e.url,i.url);t.location=this._providerConfig.shareAsLinkUrl+\"?msgText=\"+encodeURIComponent(a)+\"&preview=false\"+\"&href=\"+encodeURIComponent(r)}.bind(this))}else{t.location=this._providerConfig.shareAsLinkUrl+\"?msgText=\"+encodeURIComponent(a)+\"&preview=false\"+\"&href=\"+encodeURIComponent(e.url)}};_.prototype._modifyUrlForShareAsTab=async function(e,t){var a=e;var i=a.indexOf(\"#\");if(i!==-1){var r=a.substring(0,i);var o=r.indexOf(\"?\",0);var n=\"sap-ushell-config=lean&sap-collaboration-teams=true&sap-ui-fesr-env=\"+t;if(o!==-1){r=r.substring(0,o+1)+n+\"&\"+r.substring(o+1)}else{r+=\"?\"+n}a=r+a.substring(i);a=await this._addNavmodeInUrl(a,\"explace\")}return a};_.prototype._shareAsTab=async function(e){var t=await this._modifyUrlForShareAsTab(e.url,\"MST:T\");var a={subEntityId:{url:t,appTitle:e.appTitle,subTitle:e.subTitle,mode:\"tab\"}};if(e.minifyUrlForChat){i.compactHash(t,[]).then(async function(e){var i=await this._modifyUrlForNavigationContext(t,e.url);a.subEntityId.url=await this._addNavmodeInUrl(i,\"explace\");var r=this._providerConfig.shareAsTabUrl+\"?&context=\"+encodeURIComponent(JSON.stringify(a));sap.m.URLHelper.redirect(r,true)}.bind(this))}else{var r=this._providerConfig.shareAsTabUrl+\"?&context=\"+encodeURIComponent(JSON.stringify(a));sap.m.URLHelper.redirect(r,true)}};_.prototype._addNavmodeInUrl=function(e,t){const a=sap.ui.require(\"sap/ushell/Container\");return a&&a.getServiceAsync(\"URLParsing\").then(function(a){var i=e;var r=i.indexOf(\"#\");var o=a.parseShellHash(i.substring(r));o.params[\"sap-ushell-navmode\"]=t;o.params[\"sap-ushell-next-navmode\"]=t;var n=a.constructShellHash(o);i=i.substring(0,r)+\"#\"+n;return Promise.resolve(i)})};_.prototype._modifyUrlForNavigationContext=function(e,t){if(e===t){return Promise.resolve(t)}const a=sap.ui.require(\"sap/ushell/Container\");return a&&a.getServiceAsync(\"URLParsing\").then(function(a){var i=e;var r=i.indexOf(\"#\");var o=a.parseShellHash(i.substring(r));var n=Object.keys(o.params).length;var s=new URL(t);if(n>0){if(!s.searchParams.has(\"sap-collaboration-teams\")){s.searchParams.set(\"sap-collaboration-teams\",\"true\")}else{s.searchParams.delete(\"sap-collaboration-teams\")}}return Promise.resolve(s.toString())})};_.prototype._shareAsCard=function(e){if(e.cardId&&e.cardId.length>0&&e.cardManifest&&this.isFeatureFlagEnabled()){e.cardManifest[\"rtl\"]=g.getRTL();p.load({name:\"sap.suite.ui.commons.collaboration.CollaborationBusyDialog\",controller:this,type:\"XML\"}).then(function(t){I=t;I.open();B=setTimeout(function(){I.close();I.destroy()},R);l.postCard(e.cardId,e.cardManifest).then(function(t){var a=true;var i={cardId:t.card_id,version:t.version};if(t.error){if(t.error.code===\"APS_UI_MSG/001\"){a=true;i.cardId=e.cardId;if(t.error.message.length>0){try{var r=JSON.parse(atob(t.error.message)).version;i.version=r}catch(e){a=false}}}else{a=false}}if(a){this._updateUrl(e,i)}else{d.error(E.getText(\"SAVE_CARD_ERROR\"));this._closeBusyDailog()}}.bind(this))}.bind(this))}else{this._updateUrl(e,{})}};_.prototype._updateUrl=async function(e,t){if(e.minifyUrlForChat){i.compactHash(e.url,[]).then(async function(a){var r=await this._modifyUrlForNavigationContext(e.url,a.url);if(x.isShareAsTabEnabled&&this._providerConfig.isShareAsTabEnabled){var o=await this._modifyUrlForShareAsTab(e.url,\"MST:C\");var n=await i.compactHash(o,[]);var s=n.url.split(\"sap-url-hash=\")[1];if(s){r+=`,${s}`}else{o=await this._modifyUrlForShareAsTab(r,\"MST:C\");r=await this._addNavmodeInUrl(o,\"inplace\")}this._closeBusyDialogAndOpenTeamsDialog(r,e,t)}else{this._closeBusyDialogAndOpenTeamsDialog(r,e,t)}}.bind(this))}else{var a=e.url;if(x.isShareAsTabEnabled&&this._providerConfig.isShareAsTabEnabled){var r=await this._modifyUrlForShareAsTab(a,\"MST:C\");a=await this._addNavmodeInUrl(r,\"inplace\")}this._closeBusyDialogAndOpenTeamsDialog(a,e,t)}};_.prototype._closeBusyDailog=function(){if(I){I.close();I.destroy();clearTimeout(B)}};_.prototype._closeBusyDialogAndOpenTeamsDialog=function(e,t,a){this._closeBusyDailog();var i=window.open(\"\",\"_blank\",U);i.opener=null;i.location=this._addCardParamsInUrl(e,t.appTitle,a)};_.prototype._addCardParamsInUrl=function(e,t,a){var i=[a.cardId||\"\",a.version||\"\",encodeURIComponent(t)].filter(Boolean);e+=`&${M}=${i.join(\",\")}`;const r=encodeURIComponent(e);return`${this._providerConfig.shareAsLinkUrl}?href=${encodeURIComponent(L+r)}`};_.prototype._getShareAsTabUrl=function(){return this._getApplicationID().then(function(e){return\"https://teams.microsoft.com/l/entity/\"+e+\"/tab\"})};_.prototype._getApplicationID=function(){const e=sap.ui.require(\"sap/ushell/Container\");return e&&e.getServiceAsync(\"URLParsing\").then(function(e){return i._getCurrentUrl().then(function(t){var a=t.split(\"#\")[0];if(a.indexOf(\"?\")!==-1){var i=e&&e.parseParameters(a.substring(a.indexOf(\"?\")));if(i&&i[\"sap-collaboration-xx-TeamsAppId\"]&&i[\"sap-collaboration-xx-TeamsAppId\"][0]&&i[\"sap-collaboration-xx-TeamsAppId\"][0].length>0){return Promise.resolve(i[\"sap-collaboration-xx-TeamsAppId\"][0])}return Promise.resolve(y)}else{return Promise.resolve(y)}})})};_.prototype.isFeatureFlagEnabled=function(){const e=this._providerConfig.isShareAsCardEnabled;return e===\"AUTHENABLE\"};_.prototype.isContactsCollaborationSupported=function(){return true};_.prototype.enableContactsCollaboration=async function(e,t){const a=await i.isTeamsModeActive();const r=await A.fetchServiceStatus();if(e&&r.value&&r.value&&r.value[0].FetchContacts===\"Active\"){if(!this.oContactHelper){this.oContactHelper=new n}if(this._providerConfig.isDirectCommunicationEnabled===\"ENABLED\"){return this.oContactHelper.loadContactPopover(e,t,true)}else{return this.oContactHelper.loadContactPopover(e,t)}}else if(a||!e||this._providerConfig.isDirectCommunicationEnabled!==\"ENABLED\"){return Promise.reject()}else{if(!this.oContactHelper){this.oContactHelper=new n}return this.oContactHelper.loadMinimalContactPopover(e,t)}};_.prototype.getTeamsContactCollabOptions=async function(){const e=await i.isTeamsModeActive();if(e||this._providerConfig.isDirectCommunicationEnabled!==\"ENABLED\"){return Promise.reject()}if(!this.oContactHelper){this.oContactHelper=new n}return this.oContactHelper.getTeamsContactOptions()};_.prototype.getTeamsContactStatus=async function(e){const t=await i.isTeamsModeActive();if(t){return Promise.reject()}if(!this.oContactHelper){this.oContactHelper=new n}return this.oContactHelper.getTeamsContactStatus(e)};_.prototype.getCollaborationPopover=function(e,t,a,i,r){if(t.data===undefined||t.data.trim()===\"\"){O.error(\"Popover cannnot be opened without data\");return}var o={isShareAsLinkEnabled:e&&typeof e.isShareAsLinkEnabled!==\"undefined\"?e.isShareAsLinkEnabled:true};var r={shareToTeams:r&&typeof r.shareToTeams!==\"undefined\"?r.shareToTeams:true,shareToEmail:r&&typeof r.shareToEmail!==\"undefined\"?r.shareToEmail:true,shareToCM:r&&typeof r.shareToCM!==\"undefined\"?r.shareToCM:false};var n=[];if(s.system.desktop){if(o.isShareAsLinkEnabled){if(this._providerConfig.isShareAsLinkEnabled===\"X\"&&r.shareToTeams){n.push({text:E.getText(\"COLLABORATION_POPOVER_TEAMS\"),icon:\"sap-icon://discussion\",key:\"COLLABORATION_POPOVER_TEAMS\"})}else{O.info(\"Share as Chat option is not enabled in the tenant\")}}else{O.info(\"Consumer disable Share as Chat option\")}}else{O.info(\"Share as Chat option is not supported in Phone and Tablet\")}if(r.shareToEmail){n.push({text:E.getText(\"COLLABORATION_POPOVER_MAIL\"),icon:\"sap-icon://email\",key:\"COLLABORATION_POPOVER_MAIL\"})}this.oCollaborationManager=new b;var l=this.oCollaborationManager.getOptions();if(l&&r.shareToCM){n.push({text:l.text,icon:l.icon,key:\"COLLABORATION_POPOVER_CM\"})}if(n.length===1&&!i&&n[0].key===\"COLLABORATION_POPOVER_MAIL\"){this._shareData(t,n[0],i);return}var p=this._getPopover(t,n,i);p.openBy(a)};_.prototype._getPopover=function(e,t,a){var i=new h({showHeader:false,placement:e.placement?e.placement:\"Auto\",verticalScrolling:false,horizontalScrolling:false,content:this._getPopoverContent(e,t,a)});return i};_.prototype._getPopoverContent=function(e,t,a){var i=new S({items:[],direction:T.FlexDirection.Column});var r=new S({direction:e.sFormat===\"Vertical\"?T.FlexDirection.Column:T.FlexDirection.Row,justifyContent:T.FlexJustifyContent.SpaceAround,items:[]});t.forEach(o=>{var n=new m({text:o.text,icon:o.icon,width:e.sFormat===\"Horizontal\"&&t.length===3?\"120px\":\"180px\",press:t=>{t.getSource().getParent().getParent().getParent().close();this._shareData(e,o,a)}}).addStyleClass(\"sapUiTinyMarginTop\").addStyleClass(\"sapUiTinyMarginBegin\");if(o.key===\"COLLABORATION_POPOVER_TEAMS\"){n.addStyleClass(\"sapSuiteUiCollaborationBarMSTeamsButton\"+(e.sFormat?e.sFormat:\"Horizontal\"))}else if(o.key===\"COLLABORATION_POPOVER_CM\"){n.addStyleClass(\"sapSuiteUiCollaborationBarCMButton\"+(e.sFormat?e.sFormat:\"Horizontal\"))}else{n.addStyleClass(\"sapSuiteUiCollaborationBarEmailButton\"+(e.sFormat?e.sFormat:\"Horizontal\"))}r.addItem(n);i.addItem(r)});if(a){var o=new S({justifyContent:e.sFormat===\"Vertical\"?T.FlexJustifyContent.Center:T.FlexJustifyContent.SpaceBetween,alignItems:T.FlexAlignItems.Center,items:[new m({text:E.getText(\"COLLABORATION_POPOVER_COPYURL_BUTTON\"),width:e.sFormat===\"Vertical\"?\"150px\":\"\",press:async()=>{await this._writeToClipBoard(e.data)}}).addStyleClass(\"sapUiTinyMarginBeginEnd\")]});if(e.sFormat===\"Horizontal\"||e.sFormat===undefined){o.insertItem(new C({text:E.getText(\"COLLABORATION_POPOVER_MSGSTRIP\"),showIcon:true}).addStyleClass(\"sapUiTinyMarginBeginEnd\").addStyleClass(\"sapSuiteCollaborationBarMsgStrip\"),0);o.addStyleClass(\"sapSuiteUiCollaborationBarMsgStripHBox\")}o.addStyleClass(\"sapUiTinyMarginBeginEnd\").addStyleClass(\"sapUiTinyMarginTopBottom\");i.addItem(o)}if(e.sFormat===\"Vertical\"){r.setHeight(t.length>1?t.length*50+50+\"px\":\"80px\");r.addStyleClass(\"sapUiSmallMarginBottom\").addStyleClass(\"sapUiTinyMarginEnd\")}else{r.setHeight(\"110px\");r.addStyleClass(\"sapUiTinyMarginEnd\")}return i};_.prototype._writeToClipBoard=async function(e){try{await navigator.clipboard.writeText(e)}catch(e){O.info(e)}};_.prototype._shareData=function(e,t,a){if(t.key===\"COLLABORATION_POPOVER_TEAMS\"){if(a){var i={url:e.data,appTitle:e.title?e.title:\"\",subTitle:\"\",minifyUrlForChat:true};this._shareAsChat(i)}else{var i={appTitle:e.title?e.title:\"\",message:e.data,showPreview:typeof e.showPreview!==undefined?e.showPreview:true};this._shareSummary(i)}}else if(t.key===\"COLLABORATION_POPOVER_MAIL\"){sap.m.URLHelper.triggerEmail(null,e.title&&e.title.trim()!==\"\"?e.title:null,e.data)}else if(t.key===\"COLLABORATION_POPOVER_CM\"){this.oCollaborationManager.triggerH2HChat(e.title,e.data)}};_.prototype._shareSummary=function(e){var t={subEntityId:{appTitle:e.appTitle,mode:\"summary\",message:e.message,showPreview:e.showPreview}};var a=this._providerConfig.shareAsTabUrl+\"?&context=\"+encodeURIComponent(JSON.stringify(t));sap.m.URLHelper.redirect(a,true)};return _});\n/*!\n* \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n* POC\n*/\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/channels/MessageChannel\", [\"sap/ui/base/Object\"],function(e){\"use strict\";var n;var s=e.extend(\"sap.suite.ui.commons.collaboration.channels.MessageChannel\",{postMessage:function(e,n){window.parent.postMessage({...e,_fromMessageChannel:true},n||\"*\")},subscribe:function(e){window.addEventListener(\"message\",function(n){if(n?.data?._fromMessageChannel&&typeof e===\"function\"){e(n)}})}});return{getInstance:function(){if(!n){n=new s}return Promise.resolve(n)}}});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/collaboration/flpplugins/msplugin/Component\", [\"sap/ui/core/Component\",\"sap/ushell/EventHub\",\"sap/base/Log\",\"../../ServiceContainer\",\"../../CollaborationHelper\"],function(n,a,e,t,o){\"use strict\";var i=e.getLogger(\"sap.suite.ui.commons.collaboration.flpplugins.msplugin.Component\");const r=\"sap-collaboration-authEndUrl\";const s=\"CollaborationMSPluginLoaded\";return n.extend(\"sap.suite.ui.commons.collaboration.flpplugins.msplugin.Component\",{metadata:{manifest:\"json\",properties:{isShareAsLinkEnabled:{name:\"isShareAsLinkEnabled\",type:\"string\"},isShareAsTabEnabled:{name:\"isShareAsTabEnabled\",type:\"string\"},isShareAsCardEnabled:{name:\"isShareAsCardEnabled\",type:\"string\"},applicationId:{name:\"applicationId\",type:\"string\"},tenantId:{name:\"tenantId\",type:\"string\"},isDirectCommunicationEnabled:{name:\"isDirectCommunicationEnabled\",type:\"string\"}}},init:function(){var n=this._loadPluginConfigData();if(n){o._getCurrentUrl().then(function(n){try{const a=new URL(n);if(a.searchParams.has(r)){const n=decodeURIComponent(a.searchParams.get(r));window.location.replace(n)}}catch(n){i.error(`Error while redirecting to auth end url`)}});t.setCollaborationType(\"COLLABORATION_MSTEAMS\",n)}else{i.error(\"Collaboration configuration for Microsoft Teams Integration could not be loaded.\")}a.emit(s)},_loadPluginConfigData:function(){var n=this.getComponentData();if(n){return n.config}}})});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/flexibility/Timeline.flexibility\", [\"./changeHandler/PropertyChangeMapper\",\"sap/base/Log\"],function(e,r){\"use strict\";var n=Object.freeze({\"-sortIcon\":\"showSort\",\"-filterIcon\":[\"showItemFilter\",\"showTimeFilter\"],\"-searchField\":\"showSearch\",\"-headerBar\":\"showHeaderBar\"});function t(e){var t;for(t in n){if(typeof t==\"string\"&&t.length>0&&e.endsWith(t)){return n[t]}}r.fatal(\"Unkonw id of an inner component: \"+e);return null}return{hideToolbarItem:new e(function(e){var r=e.removedElement.id;return t(r)},false),unhideToolbarItem:new e(function(e){var r=e.revealedElementId;return t(r)},true),hideControl:\"default\",unhideControl:\"default\",moveControls:\"default\"}},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper\", [\"sap/ui/base/Object\",\"sap/ui/fl/changeHandler/PropertyChange\",\"sap/base/Log\"],function(e,t,n){var r=e.extend(\"sap.suite.ui.commons.flexibility.changeHandler.PropertyChangeMapper\",{constructor:function(e,t){if(typeof e===\"function\"){this._fnProperty=e}else if(typeof e===\"string\"){this._fnProperty=function(){return e}}else{n.fatal(\"Incorrect type of property: \"+typeof e)}if(typeof t===\"function\"){this._fnValue=t}else{this._fnValue=function(){return t}}}});r.prototype.applyChange=function(e,n,r){var o=e.getDefinition().content,a=o.property;if(Array.isArray(a)){a.forEach(function(a){o.property=a;t.applyChange(e,n,r)})}else{t.applyChange(e,n,r)}};r.prototype.completeChangeContent=function(e,n){var r=this._fnProperty(n),o=Object.assign(n,{content:{property:r,newValue:this._fnValue(r)}});t.completeChangeContent(e,o)};r.revertChange=function(e,n,r){var o=e.getDefinition().content,a=o.property;if(Array.isArray(a)){a.forEach(function(a){o.property=a;t.revertChange(e,n,r)})}else{t.revertChange(e,n,r)}};return r});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem\", [\"./HistoryItem\",\"sap/base/assert\"],function(t,e){\"use strict\";var i=t.extend(\"sap.suite.ui.commons.imageeditor.CropCustomShapeHistoryItem\",{constructor:function(i){t.apply(this,arguments);i=i||{};e(typeof i.x===\"number\",\"X must be a number.\");e(typeof i.y===\"number\",\"Y must be a number.\");e(typeof i.width===\"number\",\"Width must be a number.\");e(typeof i.height===\"number\",\"Height value must be a number.\");e(typeof i.oldWidth===\"number\",\"Old width value must be a number.\");e(typeof i.oldHeight===\"number\",\"Old height value must be a number.\");this._iX=i.x;this._iY=i.y;this._iWidth=i.width;this._iHeight=i.height;this._iOldWidth=i.oldWidth;this._iOldHeight=i.oldHeight}});i.prototype.getX=function(){return this._iX};i.prototype.getY=function(){return this._iY};i.prototype.getWidth=function(){return this._iWidth};i.prototype.getHeight=function(){return this._iHeight};i.prototype.getOldWidth=function(){return this._iOldWidth};i.prototype.getOldHeight=function(){return this._iOldHeight};i.prototype.compare=function(t){var e=[\"getWidth\",\"getHeight\"];return this._compare(t,e)};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem\", [\"./HistoryItem\",\"sap/base/assert\"],function(t,e){\"use strict\";var i=t.extend(\"sap.suite.ui.commons.imageeditor.CropEllipseHistoryItem\",{constructor:function(i){t.apply(this,arguments);i=i||{};e(typeof i.x===\"number\",\"X must be a number.\");e(typeof i.y===\"number\",\"Y must be a number.\");e(typeof i.rx===\"number\",\"RX value must be a number.\");e(typeof i.ry===\"number\",\"RY value must be a number.\");e(typeof i.width===\"number\",\"Width must be a number.\");e(typeof i.height===\"number\",\"Height value must be a number.\");e(typeof i.oldWidth===\"number\",\"Old width value must be a number.\");e(typeof i.oldHeight===\"number\",\"Old height value must be a number.\");this._iX=i.x;this._iY=i.y;this._iRx=i.rx;this._iRy=i.ry;this._iWidth=i.width;this._iHeight=i.height;this._iOldWidth=i.oldWidth;this._iOldHeight=i.oldHeight}});i.prototype.getX=function(){return this._iX};i.prototype.getY=function(){return this._iY};i.prototype.getRx=function(){return this._iRx};i.prototype.getRy=function(){return this._iRy};i.prototype.getWidth=function(){return this._iWidth};i.prototype.getHeight=function(){return this._iHeight};i.prototype.getOldWidth=function(){return this._iOldWidth};i.prototype.getOldHeight=function(){return this._iOldHeight};i.prototype.compare=function(t){var e=[\"getWidth\",\"getHeight\"];return this._compare(t,e)};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem\", [\"./HistoryItem\",\"sap/base/assert\"],function(t,e){\"use strict\";var i=t.extend(\"sap.suite.ui.commons.imageeditor.CropRectangleHistoryItem\",{constructor:function(i){t.apply(this,arguments);i=i||{};e(typeof i.x===\"number\",\"X must be a number.\");e(typeof i.y===\"number\",\"Y must be a number.\");e(typeof i.width===\"number\",\"Width must be a number.\");e(typeof i.height===\"number\",\"Height value must be a number.\");e(typeof i.oldWidth===\"number\",\"Old width value must be a number.\");e(typeof i.oldHeight===\"number\",\"Old height value must be a number.\");this._iX=i.x;this._iY=i.y;this._iWidth=i.width;this._iHeight=i.height;this._iOldWidth=i.oldWidth;this._iOldHeight=i.oldHeight}});i.prototype.getX=function(){return this._iX};i.prototype.getY=function(){return this._iY};i.prototype.getWidth=function(){return this._iWidth};i.prototype.getHeight=function(){return this._iHeight};i.prototype.getOldWidth=function(){return this._iOldWidth};i.prototype.getOldHeight=function(){return this._iOldHeight};i.prototype.compare=function(t){var e=[\"getWidth\",\"getHeight\"];return this._compare(t,e)};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/CustomSizeItem\", [\"sap/ui/core/Element\"],function(e){\"use strict\";var t=e.extend(\"sap.suite.ui.commons.imageeditor.CustomSizeItem\",{metadata:{library:\"sap.suite.ui.commons\",properties:{width:{type:\"float\",defaultValue:0},height:{type:\"float\",defaultValue:0},label:{type:\"string\",defaultValue:\"\"},icon:{type:\"sap.ui.core.URI\",defaultValue:\"\"},relative:{type:\"boolean\",defaultValue:false}}}});return t});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/FilterHistoryItem\", [\"./HistoryItem\",\"sap/base/assert\"],function(t,e){\"use strict\";var i=t.extend(\"sap.suite.ui.commons.imageeditor.FilterHistoryItem\",{constructor:function(i){t.apply(this,arguments);i=i||{};e(typeof i.type===\"string\",\"Filter type must be a string.\");e(typeof i.value===\"number\",\"Filter value must be a number.\");e(typeof i.unit===\"string\",\"Filter unit must be a string.\");this._sType=i.type;this._iValue=i.value;this._sUnit=i.unit}});i.prototype.getType=function(){return this._sType};i.prototype.getValue=function(){return this._iValue};i.prototype.getUnit=function(){return this._sUnit};i.prototype.compare=function(t){return false};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/FilterUtils\", [],function(){\"use strict\";var a=function(){};a.grayscale=function(a,t){var d,n,r;for(var h=0;h<a.data.length;h+=4){d=a.data[h];n=a.data[h+1];r=a.data[h+2];a.data[h]=d*(.2126+.7874*(1-t))+n*(.7152-.7152*(1-t))+r*(.0722-.0722*(1-t));a.data[h+1]=d*(.2126-.2126*(1-t))+n*(.7152+.2848*(1-t))+r*(.0722-.0722*(1-t));a.data[h+2]=d*(.2126-.2126*(1-t))+n*(.7152-.7152*(1-t))+r*(.0722+.9278*(1-t))}};a.sepia=function(a,t){var d,n,r;for(var h=0;h<a.data.length;h+=4){d=a.data[h];n=a.data[h+1];r=a.data[h+2];a.data[h]=d*(.393+.607*(1-t))+n*(.769-.769*(1-t))+r*(.189-.189*(1-t));a.data[h+1]=d*(.349-.349*(1-t))+n*(.686+.314*(1-t))+r*(.168-.168*(1-t));a.data[h+2]=d*(.272-.272*(1-t))+n*(.534-.534*(1-t))+r*(.131+.869*(1-t))}};a.saturate=function(a,t){var d,n,r;for(var h=0;h<a.data.length;h+=4){d=a.data[h];n=a.data[h+1];r=a.data[h+2];a.data[h]=d*(.213+.787*t)+n*(.715-.715*t)+r*(.072-.072*t);a.data[h+1]=d*(.213-.213*t)+n*(.715+.285*t)+r*(.072-.072*t);a.data[h+2]=d*(.213-.213*t)+n*(.715-.715*t)+r*(.072+.928*t)}};a.invert=function(a,t){var d,n,r,h,o,s;for(var i=0;i<a.data.length;i+=4){d=a.data[i];n=a.data[i+1];r=a.data[i+2];h=255-d;o=255-n;s=255-r;a.data[i]=d-(d-h)*t;a.data[i+1]=n-(n-o)*t;a.data[i+2]=r-(r-s)*t}};a.brightness=function(a,t){var d,n,r;for(var h=0;h<a.data.length;h+=4){d=a.data[h];n=a.data[h+1];r=a.data[h+2];a.data[h]=d*t;a.data[h+1]=n*t;a.data[h+2]=r*t}};a.contrast=function(a,t){var d,n,r;for(var h=0;h<a.data.length;h+=4){d=a.data[h];n=a.data[h+1];r=a.data[h+2];a.data[h]=d*t+(-.5*t+.5)*255;a.data[h+1]=n*t+(-.5*t+.5)*255;a.data[h+2]=r*t+(-.5*t+.5)*255}};a.hueRotate=function(a,t){var d,n,r;for(var h=0;h<a.data.length;h+=4){d=a.data[h];n=a.data[h+1];r=a.data[h+2];a.data[h]=d*(.2126+Math.cos(t)*.7874-Math.sin(t)*.2126)+n*(.7152-Math.cos(t)*.7152-Math.sin(t)*.7152)+r*(.0722-Math.cos(t)*.0722+Math.sin(t)*.9278);a.data[h+1]=d*(.2126-Math.cos(t)*.2126+Math.sin(t)*.143)+n*(.7152+Math.cos(t)*.285+Math.sin(t)*.14)+r*(.0722-Math.cos(t)*.0722-Math.sin(t)*.283);a.data[h+2]=d*(.2126-Math.cos(t)*.2126-Math.sin(t)*.7874)+n*(.7152-Math.cos(t)*.7152+Math.sin(t)*.7152)+r*(.0722+Math.cos(t)*.9278+Math.sin(t)*.0722)}};return a},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/FlipHistoryItem\", [\"./HistoryItem\",\"sap/base/assert\"],function(t,o){\"use strict\";var e=t.extend(\"sap.suite.ui.commons.imageeditor.FlipHistoryItem\",{constructor:function(e){t.apply(this,arguments);e=e||{};o(typeof e.vertical===\"boolean\",\"Vertical must be a boolean.\");o(typeof e.horizontal===\"boolean\",\"Horizontal value must be a bolean.\");this._bVertical=e.vertical;this._bHorizontal=e.horizontal}});e.prototype.getVertical=function(){return this._bVertical};e.prototype.getHorizontal=function(){return this._bHorizontal};e.prototype.compare=function(t){return false};return e});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/HistoryItem\", [\"sap/ui/base/Object\"],function(t){\"use strict\";var e=t.extend(\"sap.suite.ui.commons.imageeditor.HistoryItem\",{metadata:{abstract:true}});e.prototype._isSameClass=function(t){return this.getMetadata().getName()===t.getMetadata().getName()};e.prototype._compare=function(t,e){var a=this;return this._isSameClass(t)&&e.reduce(function(e,r){return a[r]()===t[r]()},true)};return e});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/imageeditor/ImageEditor\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/core/Control\",\"sap/suite/ui/commons/library\",\"sap/ui/core/library\",\"sap/m/library\",\"sap/base/Log\",\"sap/ui/Device\",\"sap/m/MessageToast\",\"sap/ui/core/Icon\",\"./ResizeHistoryItem\",\"./RotateHistoryItem\",\"./CropRectangleHistoryItem\",\"./CropEllipseHistoryItem\",\"./CropCustomShapeHistoryItem\",\"./FilterHistoryItem\",\"./FlipHistoryItem\",\"./FilterUtils\",\"sap/ui/core/util/File\",\"sap/suite/ui/commons/Utils\",\"sap/ui/core/Lib\",\"./ImageEditorRenderer\",\"sap/ui/thirdparty/jqueryui/jquery-ui-draggable\",\"sap/ui/thirdparty/jqueryui/jquery-ui-resizable\"],function(jQuery,t,e,i,o,s,r,a,n,h,p,l,g,_,d,u,m,C,c,f){\"use strict\";var y=e.ImageEditorMode,I=e.ImageFormat,w=f.getResourceBundleFor(\"sap.suite.ui.commons\");var v=t.extend(\"sap.suite.ui.commons.imageeditor.ImageEditor\",{metadata:{library:\"sap.suite.ui.commons\",properties:{src:{type:\"any\",defaultValue:\"\"},customShapeSrc:{type:\"any\",defaultValue:\"\"},mode:{type:\"sap.suite.ui.commons.ImageEditorMode\",defaultValue:y.Default},keepCropAspectRatio:{type:\"boolean\",defaultValue:true},keepResizeAspectRatio:{type:\"boolean\",defaultValue:true},scaleCropArea:{type:\"boolean\",defaultValue:false},useExifOrientation:{type:\"boolean\",defaultValue:false}},events:{loaded:{},error:{},customShapeLoaded:{},customShapeError:{},sizeChanged:{parameters:{width:{type:\"int\"},height:{type:\"int\"},originalWidth:{type:\"int\"},originalHeight:{type:\"int\"}}},cropAreaChanged:{parameters:{cropArea:{type:\"object\"},originalCropArea:{type:\"object\"}}},zoomChanged:{parameters:{zoom:{type:\"int\"}}},historyChanged:{history:{type:\"sap.suite.ui.commons.imageeditor.HistoryItem[]\"},index:{type:\"int\"}}}}});v.LIMITS=Object.freeze({WIDTH_MIN:1,WIDTH_MAX:8192,HEIGHT_MIN:1,HEIGHT_MAX:8192,MAX_CANVAS_SIZE:67108864,MAX_SAFARI_MOBILE_CANVAS_SIZE:16777216,ROTATION_MIN:-360,ROTATION_MAX:360,SEPIA_MIN:0,SEPIA_MAX:100,GRAYSCALE_MIN:0,GRAYSCALE_MAX:100,SATURATE_MIN:0,SATURATE_MAX:500,INVERT_MIN:0,INVERT_MAX:100,BRIGHTNESS_MIN:0,BRIGHTNESS_MAX:500,CONTRAST_MIN:0,CONTRAST_MAX:500,CROP_AREA_MIN:1});v.ZOOM_MILESTONES=[5,10,25,33,50,67,75,80,90,100,110,125,150,175,200,250,300,400,500];var S=Object.freeze({CROP_AREA_SHORTER_SIDE_OFFSET:.8,DEFAULT_ZOOM_MILESTONE:100});v.prototype.init=function(){this._oCanvas=document.createElement(\"canvas\");this._initCanvas();this._initOrigImg();this._initCustomShapeImg();this._fZoom=S.DEFAULT_ZOOM_MILESTONE;this._oSavedImg=document.createElement(\"canvas\");this._oSavedImg.width=0;this._oSavedImg.height=0};v.prototype._initOrigImg=function(){var t=this;this._oOrigImg=new Image;this._oOrigImg.crossOrigin=\"Anonymous\";this._oOrigImg.onload=function(){t._bImageLoaded=true;t._drawImage(t._oOrigImg);t._storeCurrentImg();t._applyExifOrientation();if(t._isReady()){t._onAfterIsReady()}if(t.getCustomShapeLoaded()&&!r.browser.msie){t._renderCustomShapeMask()}t.fireLoaded()};this._oOrigImg.onerror=function(e){t.fireError()}};v.prototype._initCustomShapeImg=function(){var t=this;this._oCustomShapeImg=new Image;this._oCustomShapeImg.crossOrigin=\"Anonymous\";this._oCustomShapeImg.onload=function(){t._bCustomShapeLoaded=true;t.$().addClass(\"sapSuiteUiCommonsImageEditorModeCropCustomShapeLoaded\");t._renderCustomShapeMask();t.fireCustomShapeLoaded()};this._oCustomShapeImg.onerror=function(){t.fireCustomShapeError()}};v.prototype._getExifOrientation=function(t){var e=new FileReader,i,o,s,r,a,n,h,p,l,g,_={FIRST_CHECK:65496,SECOND_CHECK:9,THIRD_CHECK:65505,CORRECT_FORMAT_CHECK:1165519206,LITTLE_CHECK:18761,FOURTH_CHECK:65280,EXIF_CHECK:274,ERR_GENERAL:-1,ERR_FILE_FORMAT:-2,OFFSET_STEP:2,OFFSET_STEP_MED:4,OFFSET_STEP_BIG:6};return new Promise(function(d){e.onload=function(t){o=t.target.result;s=new DataView(o);r=s.byteLength;i=2;g=0;try{l=s.getUint16(0,false);if(l!==_.FIRST_CHECK){g=_.ERR_FILE_FORMAT}while(!g&&i<=r-1){l=s.getUint16(i+_.OFFSET_STEP,false);if(l<_.SECOND_CHECK){g=_.ERR_GENERAL;break}a=s.getUint16(i,false);i=i+2;if(a===_.THIRD_CHECK){l=s.getUint32(i+=_.OFFSET_STEP,false);if(l!==_.CORRECT_FORMAT_CHECK){g=_.ERR_GENERAL;break}n=s.getUint16(i+=_.OFFSET_STEP_BIG,false)===_.LITTLE_CHECK;i+=s.getUint32(i+_.OFFSET_STEP_MED,n);h=s.getUint16(i,n);i+=2;for(p=0;p<=h-1;p++){l=s.getUint16(i+p*12,n);if(l===_.EXIF_CHECK){return d(s.getUint16(i+p*12+8,n))}}}else if((a&_.FOURTH_CHECK)!==_.FOURTH_CHECK){g=_.ERR_GENERAL;break}else{i+=s.getUint16(i,false)}}return d(g)}catch(t){return d(_.ERR_FILE_FORMAT)}};e.readAsArrayBuffer(t)})};v.prototype._handleExifOrientation=function(t){var e=this;this._getExifOrientation(t).then(function(t){switch(t){case 1:e._iExifRotation=0;break;case 2:e._iExifRotation=0;e._bExifFlip=true;break;case 3:e._iExifRotation=180;break;case 4:e._bExifFlip=true;e._iExifRotation=180;break;case 5:e._bExifFlip=true;e._iExifRotation=90;break;case 6:e._iExifRotation=90;break;case 7:e._bExifFlip=true;e._iExifRotation=-90;break;case 8:e._iExifRotation=-90;break;default:e._iExifRotation=0;break}e._applyExifOrientation()})};v.prototype._applyExifOrientation=function(){if(this.getLoaded()){if(this._iExifRotation){this._setRotation(this._iExifRotation);this._storeCurrentImg()}if(this._bExifFlip){this._flipHorizontal();this._storeCurrentImg()}}};v.prototype._renderCustomShapeMask=function(){var t=document.createElement(\"canvas\"),e=t.getContext(\"2d\"),i,o;this._oCustomShapeImg.width=500;this._oCustomShapeImg.height=this._oCustomShapeImg.naturalHeight*this._oCustomShapeImg.width/this._oCustomShapeImg.naturalWidth;jQuery(\"body\").prepend(this._oCustomShapeImg);i=this._oCustomShapeImg.clientWidth;o=this._oCustomShapeImg.clientHeight;jQuery(this._oCustomShapeImg).remove();if(i>=o){t.width=this._oCanvas.width;t.height=o*(this._oCanvas.width/i)}else{t.height=this._oCanvas.height;t.width=i*(this._oCanvas.height/o)}this._oCustomShapeImg.width=t.width;this._oCustomShapeImg.height=t.height;e.drawImage(this._oCustomShapeImg,0,0,this._oCustomShapeImg.width,this._oCustomShapeImg.height);e.globalCompositeOperation=\"source-in\";e.fillStyle=\"black\";e.fillRect(0,0,t.width,t.height);this._sBlackCustomShapeUrl=t.toDataURL();if(this.$(\"overlayMaskCustomBlack\")[0]){this.$(\"overlayMaskCustomBlack\")[0].setAttributeNS(\"http://www.w3.org/1999/xlink\",\"href\",this._sBlackCustomShapeUrl)}e.fillStyle=\"white\";e.fillRect(0,0,t.width,t.height);this._sWhiteCustomShapeUrl=t.toDataURL();if(this.$(\"overlayMaskCustomWhite\")[0]){this.$(\"overlayMaskCustomWhite\")[0].setAttributeNS(\"http://www.w3.org/1999/xlink\",\"href\",this._sWhiteCustomShapeUrl)}};v.prototype.onAfterRendering=function(){this._$Container=this.$(\"canvasInnerContainer\");this._$Container.prepend(this._oCanvas);this._initContainer();this._initCropArea();if(this._isReady()){this._onAfterIsReady()}};v.prototype.setSrc=function(t){this.setProperty(\"src\",t,true);var e=this,i,o;this._reset();if(typeof t===\"string\"){i=t;this._oOriginalBlob=this._fetchUrlAsBlob(i).then(function(t){if(e.getUseExifOrientation()){e._handleExifOrientation(t)}e._oOriginalBlob=t;e._sOriginalFileType=t.type});if(!i.startsWith(\"data:image\")){this._sOriginalFileName=this._getFileNameFromUrl(i)}}else if(t instanceof Blob){o=window.URL;i=o.createObjectURL(t);o.revokeObjectURL(t);if(this.getUseExifOrientation()){e._handleExifOrientation(t)}this._oOriginalBlob=t;this._sOriginalFileType=t.type;if(t instanceof File){this._sOriginalFileName=t.name}}if(i){this._oOrigImg.src=i}else{this.fireLoaded()}return this};v.prototype.setScaleCropArea=function(t){this.setProperty(\"scaleCropArea\",t,true);return this};v.prototype.setCustomShapeSrc=function(t){this.setProperty(\"customShapeSrc\",t,true);var e=this,i,o;e._bCustomShapeLoaded=false;if(typeof t===\"string\"){if((r.browser.msie||r.browser.firefox)&&t.startsWith(\"data:image/svg+xml;base64,\")){this._handleSvgString(atob(t.slice(\"data:image/svg+xml;base64,\".length)))}else{i=t}}else if(t instanceof Blob){if(t instanceof File&&t.type===\"image/svg+xml\"){var s=new FileReader;s.onload=function(t){e._handleSvgString(t.target.result)};s.readAsText(t)}else{o=window.URL;i=o.createObjectURL(t);o.revokeObjectURL(t);this._setCustomShapeSrc(i)}}if(i){this._setCustomShapeSrc(i)}else if(!t){this._sBlackCustomShapeUrl=\"\";this._sWhiteCustomShapeUrl=\"\";if(this.$(\"overlayMaskCustomBlack\")[0]){this.$(\"overlayMaskCustomBlack\")[0].setAttributeNS(\"http://www.w3.org/1999/xlink\",\"href\",this._sBlackCustomShapeUrl)}if(this.$(\"overlayMaskCustomWhite\")[0]){this.$(\"overlayMaskCustomWhite\")[0].setAttributeNS(\"http://www.w3.org/1999/xlink\",\"href\",this._sWhiteCustomShapeUrl)}this.$().removeClass(\"sapSuiteUiCommonsImageEditorModeCropCustomShapeLoaded\");this.fireCustomShapeLoaded()}return this};v.prototype._handleSvgString=function(t){var e,i;if(r.browser.msie){throw Error(\"SVG files cannot be used as shapes for custom crop in Internet Explorer. Please use a different image source or a different browser.\")}var o=(new DOMParser).parseFromString(t,\"image/svg+xml\");if(o.documentElement.width.baseVal.value>0){o.documentElement.width.baseVal.valueAsString=o.documentElement.width.baseVal.value.toString()+\"px\"}if(o.documentElement.height.baseVal.value>0){o.documentElement.height.baseVal.valueAsString=o.documentElement.height.baseVal.value.toString()+\"px\"}i=(new XMLSerializer).serializeToString(o);e=\"data:image/svg+xml;base64,\"+btoa(i);this._setCustomShapeSrc(e)};v.prototype._setCustomShapeSrc=function(t){this._oCustomShapeImg.src=t};v.prototype.setKeepCropAspectRatio=function(t){this.setProperty(\"keepCropAspectRatio\",t,true);this._updateResizableCropAspectRatio();return this};v.prototype.setKeepResizeAspectRatio=function(t){this.setProperty(\"keepResizeAspectRatio\",t,true);this._updateResizableResizeAspectRatio();return this};v.prototype.getLoaded=function(){return!!this.getSrc()&&this._bImageLoaded};v.prototype.getCustomShapeLoaded=function(){return!!this.getCustomShapeSrc()&&this._bCustomShapeLoaded};v.prototype.setSize=function(t,e,i){this._throwIfNotLoaded(\"setSize\");var o,s,r;t=this._constraintValue(t,v.LIMITS.WIDTH_MIN,v.LIMITS.WIDTH_MAX);e=this._constraintValue(e,v.LIMITS.HEIGHT_MIN,v.LIMITS.HEIGHT_MAX);r=this._limitCanvasSize(t,e);t=r.width;e=r.height;this._cancelPreview();o=this.getWidth();s=this.getHeight();this._setCanvasSize(t,e);this._addHistory(new h({width:t,height:e,oldWidth:o,oldHeight:s}),i);return this};v.prototype.getWidth=function(){this._throwIfNotLoaded(\"getWidth\");return this._getLastImg().width};v.prototype.getPreviewWidth=function(){this._throwIfNotLoaded(\"getPreviewWidth\");return this._oCanvas.width};v.prototype.setWidth=function(t,e){this._throwIfNotLoaded(\"setWidth\");var i=this.getHeight(),o=this.getWidth(),s=this.getPreviewHeight(),r;t=this._constraintValue(t,v.LIMITS.WIDTH_MIN,v.LIMITS.WIDTH_MAX);if(this.getKeepResizeAspectRatio()){s=Math.round(t*s/this.getPreviewWidth())}r=this._limitCanvasSize(t,s);t=r.width;s=r.height;this._cancelPreview();this._setCanvasSize(t,s);this._addHistory(new h({width:t,height:s,oldWidth:o,oldHeight:i}),e);return this};v.prototype.getHeight=function(){this._throwIfNotLoaded(\"getHeight\");return this._getLastImg().height};v.prototype.getPreviewHeight=function(){this._throwIfNotLoaded(\"getPreviewHeight\");return this._oCanvas.height};v.prototype.setHeight=function(t,e){this._throwIfNotLoaded(\"setHeight\");var i=this.getWidth(),o=this.getHeight(),s=this.getPreviewWidth(),r;t=this._constraintValue(t,v.LIMITS.HEIGHT_MIN,v.LIMITS.HEIGHT_MAX);if(this.getKeepResizeAspectRatio()){s=Math.round(t*s/this.getPreviewHeight())}r=this._limitCanvasSize(s,t);s=r.width;t=r.height;this._cancelPreview();this._setCanvasSize(s,t);this._addHistory(new h({width:s,height:t,oldWidth:i,oldHeight:o}),e);return this};v.prototype.rotate=function(t,e){this._throwIfNotLoaded(\"rotate\");t=this._constraintValue(t,v.LIMITS.ROTATION_MIN,v.LIMITS.ROTATION_MAX);this._cancelPreview();this._setRotation(t);this._addHistory(new p({degrees:t}),e);return this};v.prototype.flipVertical=function(t){this._throwIfNotLoaded(\"flipVertical\");this._cancelPreview();this._flipVertical();this._addHistory(new u({vertical:true,horizontal:false}),t);return this};v.prototype.flipHorizontal=function(t){this._throwIfNotLoaded(\"flipHorizontal\");this._cancelPreview();this._flipHorizontal();this._addHistory(new u({vertical:false,horizontal:true}),t);return this};v.prototype.flip=function(t,e,i){this._throwIfNotLoaded(\"flip\");this._cancelPreview();this._flip(t,e);this._addHistory(new u({vertical:t,horizontal:e}),i);return this};v.prototype.applyVisibleCrop=function(t){this._throwIfNotReady(\"applyVisibleCrop\");switch(this.getMode()){case y.CropRectangle:{this._applyRectangleCrop(t);break}case y.CropEllipse:{this._applyEllipseCrop(t);break}case y.CropCustomShape:{this._throwIfCustomShapeNotLoaded(\"applyVisibleCrop CropCustomShape\");this._applyCustomShapeCrop(t);break}default:{s.warning(\"No cropping mode is selected, applyVisibleCrop does nothing\");break}}};v.prototype.rectangleCrop=function(t,e,i,o,s){this._throwIfNotLoaded(\"rectangleCrop\");var r=this.getWidth(),a=this.getHeight();this._cancelPreview();this._rectangleCrop(t,e,i,o);this._addHistory(new l({x:Math.round(t),y:Math.round(e),width:Math.round(i),height:Math.round(o),oldWidth:r,oldHeight:a}),s);this._limitCurrentCropArea()};v.prototype.ellipseCrop=function(t,e,i,o,s){this._throwIfNotLoaded(\"ellipseCrop\");var r=this.getWidth(),a=this.getHeight();this._cancelPreview();this._ellipseCrop(t,e,i,o);this._addHistory(new g({x:Math.round(t),y:Math.round(e),rx:Math.round(i),ry:Math.round(o),width:Math.round(i*2),height:Math.round(o*2),oldWidth:r,oldHeight:a}),s);this._limitCurrentCropArea()};v.prototype.customShapeCrop=function(t,e,i,o,s){this._throwIfNotLoaded(\"customShapeCrop\");this._throwIfCustomShapeNotLoaded(\"customShapeCrop\");var r=this.getWidth(),a=this.getHeight();this._cancelPreview();this._customShapeCrop(t,e,i,o);this._addHistory(new _({x:Math.round(t),y:Math.round(e),width:Math.round(i),height:Math.round(o),oldWidth:r,oldHeight:a}),s);this._limitCurrentCropArea()};v.prototype.setCropArea=function(t,e,i,o){this._throwIfNotLoaded(\"setCropArea\");var s=this._limitCropArea(t,e,i,o);this._setCropArea(s.x,s.y,s.width,s.height);return this};v.prototype.setCropAreaByRatio=function(t,e){this._throwIfNotLoaded(\"setCropAreaByRatio\");var i=this._oCanvas.width/this._oCanvas.height,o=t/e,s,r,a,n,h;if(typeof t!==\"number\"||typeof e!==\"number\"){return this}if(i>=o){r=S.CROP_AREA_SHORTER_SIDE_OFFSET;s=this._oCanvas.height*r*o;s=100*s/this._oCanvas.width;r*=100;a=(100-s)/2;n=(100-r)/2}else{s=S.CROP_AREA_SHORTER_SIDE_OFFSET;r=this._oCanvas.width*s/o;r=100*r/this._oCanvas.height;s*=100;n=(100-r)/2;a=(100-s)/2}h=this._transposePercentToImageCoordsPx(a,n,s,r);this._setCropArea(h.x,h.y,h.width,h.height);return this};v.prototype.setCustomShapeCropAreaRatio=function(){this._throwIfNotLoaded(\"setCustomShapeCropAreaRatio\");this._throwIfCustomShapeNotLoaded(\"setCustomShapeCropAreaRatio\");this.setCropAreaByRatio(this._oCustomShapeImg.width,this._oCustomShapeImg.height);return this};v.prototype.setCropAreaBySize=function(t,e){this._throwIfNotLoaded(\"setCropAreaBySize\");var i=this._limitCropArea(null,null,t,e);this._setCropArea(null,null,i.width,i.height);return this};v.prototype.getCropArea=function(){return this._oCropArea?jQuery.extend({},this._oCropArea):null};v.prototype.zoom=function(t,e){this._setZoom(t,e);return this};v.prototype.zoomIn=function(t){this._zoomIn(t);return this};v.prototype.zoomOut=function(t){this._zoomOut(t);return this};v.prototype.zoomToFit=function(){this._throwIfNotReady(\"zoomToFit\");this._zoomToFit();return this};v.prototype.getZoomLevel=function(){return this._fZoom};v.prototype.sepia=function(t,e){this._throwIfNotLoaded(\"sepia\");this._constraintValue(t,v.LIMITS.SEPIA_MIN,v.LIMITS.SEPIA_MAX);this._cancelPreview();this._addHistory(new d({type:\"sepia\",value:t,unit:\"%\"}),e)};v.prototype.grayscale=function(t,e){this._throwIfNotLoaded(\"grayscale\");this._constraintValue(t,v.LIMITS.GRAYSCALE_MIN,v.LIMITS.GRAYSCALE_MAX);this._cancelPreview();this._addHistory(new d({type:\"grayscale\",value:t,unit:\"%\"}),e)};v.prototype.saturate=function(t,e){this._throwIfNotLoaded(\"saturate\");this._constraintValue(t,v.LIMITS.SATURATE_MIN,v.LIMITS.SATURATE_MAX);this._cancelPreview();this._addHistory(new d({type:\"saturate\",value:t,unit:\"%\"}),e)};v.prototype.invert=function(t,e){this._throwIfNotLoaded(\"invert\");this._constraintValue(t,v.LIMITS.INVERT_MIN,v.LIMITS.INVERT_MAX);this._cancelPreview();this._addHistory(new d({type:\"invert\",value:t,unit:\"%\"}),e)};v.prototype.brightness=function(t,e){this._throwIfNotLoaded(\"brightness\");this._constraintValue(t,v.LIMITS.BRIGHTNESS_MIN,v.LIMITS.BRIGHTNESS_MAX);this._cancelPreview();this._addHistory(new d({type:\"brightness\",value:t,unit:\"%\"}),e)};v.prototype.contrast=function(t,e){this._throwIfNotLoaded(\"contrast\");this._constraintValue(t,v.LIMITS.CONTRAST_MIN,v.LIMITS.CONTRAST_MAX);this._cancelPreview();this._addHistory(new d({type:\"contrast\",value:t,unit:\"%\"}),e)};v.prototype.applyPreview=function(){this._throwIfNotLoaded(\"applyPreview\");this._applyPreview()};v.prototype.cancelPreview=function(){this._throwIfNotLoaded(\"cancelPreview\");this._cancelPreview()};v.prototype.undo=function(){this._throwIfNotLoaded(\"undo\");this._jumpToHistory(this._iHistoryIndex+1)};v.prototype.redo=function(){this._throwIfNotLoaded(\"redo\");this._jumpToHistory(this._iHistoryIndex-1)};v.prototype.jumpToHistory=function(t){this._throwIfNotLoaded(\"jumpToHistory\");this._jumpToHistory(t)};v.prototype.getHistory=function(){return this._aHistory};v.prototype.getHistoryIndex=function(){return this._iHistoryIndex};v.prototype.getImagePngDataURL=function(){this._throwIfNotLoaded(\"getImagePngDataURL\");return this._getFinalisedCanvas().toDataURL(\"image/png\")};v.prototype.getImageJpegDataURL=function(t){this._throwIfNotLoaded(\"getImageJpegDataURL\");return this._getFinalisedCanvas().toDataURL(\"image/jpeg\",t)};v.prototype.getImageDataURL=function(t,e){this._throwIfNotLoaded(\"getImageDataURL\");t=this._convertImageFormatEnumToMime(t)||this._getFileFormat();return this._getFinalisedCanvas().toDataURL(t,e)};v.prototype.getImageAsBlob=function(t,e){this._throwIfNotLoaded(\"getImageAsBlob\");var i=this,o;t=this._convertImageFormatEnumToMime(t)||this._getFileFormat();if(this._aHistory.length===0){o=this._getOriginalBlob()}else{o=new Promise(function(o,s){var r=i._getFinalisedCanvas();if(r.toBlob){r.toBlob(function(t){o(t)},t,e)}else{i._createBlob(r,t,e).then(function(t){o(t)})}})}return o};v.prototype.openSaveDialog=function(t,e,i){this._throwIfNotLoaded(\"openSaveDialog\");var o,s;t=t||this._getFileName();e=this._convertImageFormatEnumToMime(e)||this._getFileFormat();s=e.split(\"/\")[1];if(this._aHistory.length===0){this._getOriginalBlob().then(function(i){C.save(i,t,s,e)})}else{o=this._getFinalisedCanvas();if(o.toBlob){o.toBlob(function(i){C.save(i,t,s,e)},e,i)}else{this._createBlob(o,e,i).then(function(i){C.save(i,t,s,e)})}}};v.prototype.getFileName=function(){return this._getFullFileName()};v.prototype._throwIfNotLoaded=function(t){if(!this.getLoaded()){throw Error(\"Cannot call \"+t+\" before image is set and loaded\")}};v.prototype._throwIfNotReady=function(t){if(!this._isReady()){throw Error(\"Cannot call \"+t+\" before image is set and loaded and control is rendered\")}};v.prototype._throwIfCustomShapeNotLoaded=function(t){if(!this.getCustomShapeLoaded()){throw Error(\"Cannot call \"+t+\" before custom shape is set and loaded\")}};v.prototype._onAfterIsReady=function(){var t=this;this.$().removeClass(\"sapSuiteUiCommonsImageEditorEmpty\");t._refreshContainerSize();this._$Container.css({width:this._oCanvas.width*this._getScale()+\"px\",height:this._oCanvas.height*this._getScale()+\"px\"});if(!this.getCropArea()){this.setCropAreaByRatio(this.getWidth(),this.getHeight())}else{this._setCropArea(this._oCropArea.x,this._oCropArea.y,this._oCropArea.width,this._oCropArea.height)}this.getDomRef().onmousewheel=this._onMouseWheel.bind(this);this.getDomRef().onmousedown=this._onMouseDown.bind(this)};v.prototype._isReady=function(){return!!this._$Container&&this.getLoaded()};v.prototype._createBlob=function(t,e,i){var o=this;return new Promise(function(s,r){var a=t.toDataURL(e,i).split(\",\")[1];setTimeout(function(){s(o._convertDataUriToBlob(a,e))})})};v.prototype._convertDataUriToBlob=function(t,e){var i=atob(t),o=i.length,s=new Uint8Array(o);for(var r=0;r<o;r++){s[r]=i.charCodeAt(r)}return new Blob([s],{type:e})};v.prototype._fetchUrlAsBlob=function(t){var e,i,o,s;if(window.fetch){e=fetch(t).then(function(t){return t.blob()}).then(function(t){return t})}else{if(t.startsWith(\"data:image\")){i=t.split(\",\");o=i[1];s=i[0].split(\";\")[0].split(\":\")[1];e=Promise.resolve(this._convertDataUriToBlob(o,s))}else{e=new Promise(function(e,i){var o=new XMLHttpRequest;o.open(\"GET\",t);o.responseType=\"blob\";o.onreadystatechange=function(){if(this.readyState===XMLHttpRequest.DONE){if(this.status===200){e(o.response)}else{i()}}};o.send()})}}return e};v.prototype._getOriginalBlob=function(){var t;if(this._oOriginalBlob instanceof Promise){t=this._oOriginalBlob}else{t=Promise.resolve(this._oOriginalBlob)}return t};v.prototype._getFileNameFromUrl=function(t){return t.split(\"#\")[0].split(\"?\")[0].split(\"/\").pop()};v.prototype._getFileName=function(){var t=this._sOriginalFileName||\"image\",e;e=t.lastIndexOf(\".\");if(e>0){t=t.slice(0,e)}return t};v.prototype._getFullFileName=function(){return this._sOriginalFileName};v.prototype._convertImageFormatEnumToMime=function(t){switch(t){case I.Png:t=\"image/png\";break;case I.Jpeg:t=\"image/jpeg\";break;default:break}return t};v.prototype._getFileFormat=function(){return this._sOriginalFileType};v.prototype._updateTransformation=function(){this._oCanvas.style.transform=\"scale(\"+this._getScale()+\")\"};v.prototype._refreshContainerSize=function(){if(!this._$Container||!this._$Container[0]||!this._isReady()){return}this._$Container.css({width:this._oCanvas.width*this._getScale()+\"px\",height:this._oCanvas.height*this._getScale()+\"px\"});this._refreshOverlayMask()};v.prototype._refreshOverlayMask=function(){var t=this.$().find(\".sapSuiteUiCommonsImageEditorCropOverlayContainer\")[0];if(!t||!this._$Container){return}this._$Container[0].removeChild(t);this._$Container[0].insertBefore(t,this._oCanvas.nextSibling)};v.prototype._refreshCropContainerSize=function(){var t=this.getCropArea(),e,i;if(t){e=this._transposeImageCoordsPxToPercent(t.x,t.y,t.width,t.height);i=this.$().find(\".sapSuiteUiCommonsImageEditorCropInnerRectangle\");i.css({left:e.x+\"%\",top:e.y+\"%\"});i.width(e.width+\"%\");i.height(e.height+\"%\")}};v.prototype._refreshCropContainerLook=function(){function t(t){return t/parseFloat(getComputedStyle(document.documentElement).fontSize)}var e=this.$().find(\".sapSuiteUiCommonsImageEditorCropInnerRectangle\"),i=t(e.width()),o=t(e.height()),s=Math.min(i,o);e.removeClass(\"sapSuiteUiCommonsImageEditorCropInnerRectangleSmall sapSuiteUiCommonsImageEditorCropInnerRectangleVerySmall sapSuiteUiCommonsImageEditorCropInnerRectangleExtraSmall\");if(s<1.25){e.addClass(\"sapSuiteUiCommonsImageEditorCropInnerRectangleExtraSmall\")}else if(s<2){e.addClass(\"sapSuiteUiCommonsImageEditorCropInnerRectangleVerySmall\")}else if(s<3){e.addClass(\"sapSuiteUiCommonsImageEditorCropInnerRectangleSmall\")}};v.prototype._initCanvas=function(){this._oCanvas.id=this.getId()+\"-image\";this._oCanvas.classList.add(\"sapSuiteUiCommonsImageEditorCanvas\");this._oContext=this._oCanvas.getContext(\"2d\")};v.prototype._initContainer=function(){var t=this,e=this.$().find(\".sapSuiteUiCommonsImageEditorTransformHandlers .sapSuiteUiCommonsImageEditorHandlerContainer\");this._$Container.resizable({containment:\"parent\",aspectRatio:this.getKeepResizeAspectRatio(),start:function(e,i){t.$(\"image\").addClass(\"sapSuiteUiCommonsImageEditorCanvasResize\");t.$(\"image\").css(\"transform\",\"\");jQuery(this).css({top:i.position.top+\"px\",left:i.position.left+\"px\",width:i.size.width+\"px\",height:i.size.height+\"px\"})},stop:function(e,i){var o=i.size.width*t._oCanvas.width/i.originalSize.width,s=i.size.height*t._oCanvas.height/i.originalSize.height,r=t._oCanvas.width,a=t._oCanvas.height;t.$(\"image\").removeClass(\"sapSuiteUiCommonsImageEditorCanvasResize\");t._$Container.css({top:\"\",left:\"\"});t.setSize(o,s,true);t._refreshContainerSize();t._updateTransformation();t.fireSizeChanged({width:t.getPreviewWidth(),height:t.getPreviewHeight(),originalWidth:r,originalHeight:a})},handles:{nw:e.filter(\".ui-resizable-nw\"),ne:e.filter(\".ui-resizable-ne\"),sw:e.filter(\".ui-resizable-sw\"),se:e.filter(\".ui-resizable-se\"),n:e.filter(\".ui-resizable-n\"),s:e.filter(\".ui-resizable-s\"),w:e.filter(\".ui-resizable-w\"),e:e.filter(\".ui-resizable-e\")}});c._setupMobileDraggable(this._$Container)};v.prototype._initCropArea=function(){var t=this,e=this.$().find(\".sapSuiteUiCommonsImageEditorCropInnerRectangle\"),i=this.$().find(\".sapSuiteUiCommonsImageEditorCropInnerRectangle .sapSuiteUiCommonsImageEditorHandlerContainer\"),o=this.$().find(\".sapSuiteUiCommonsImageEditorDragHandlerContainer\")[0];function s(e,i){var o=getComputedStyle(i.helper[0]);t._setOverlayMaskSize(i.position.left,i.position.top,i.size?i.size.width:parseFloat(o.width),i.size?i.size.height:parseFloat(o.height),\"px\");t._refreshCropContainerLook()}function r(e,i){var o=jQuery(this),s=this.getBoundingClientRect(),r=o.position(),a=t._transposeViewportCoordsToImageCoords(r.left,r.top,s.width,s.height),n=t.getCropArea(),h;h=t._limitCropArea(a.x,a.y,a.width,a.height);t._setCropArea(h.x,h.y,h.width,h.height);h=t.getCropArea();t.fireCropAreaChanged({cropArea:h,originalCropArea:n})}e.resizable({aspectRatio:this.getKeepCropAspectRatio(),containment:\"parent\",minWidth:v.LIMITS.CROP_AREA_MIN,minHeight:v.LIMITS.CROP_AREA_MIN,resize:s,stop:r,handles:{nw:i.filter(\".ui-resizable-nw\"),ne:i.filter(\".ui-resizable-ne\"),sw:i.filter(\".ui-resizable-sw\"),se:i.filter(\".ui-resizable-se\"),n:i.filter(\".ui-resizable-n\"),s:i.filter(\".ui-resizable-s\"),w:i.filter(\".ui-resizable-w\"),e:i.filter(\".ui-resizable-e\")}});o.onmousewheel=this._onMouseWheel.bind(this);e.draggable({containment:\"parent\",handle:o,drag:s,stop:r});c._setupMobileDraggable(e);e.css(\"position\",\"absolute\")};v.prototype._getLastImg=function(){return this._oSavedImg};v.prototype._storeCurrentImg=function(){this._oSavedImg.width=this._oCanvas.width;this._oSavedImg.height=this._oCanvas.height;this._oSavedImg.getContext(\"2d\").drawImage(this._oCanvas,0,0)};v.prototype._addHistory=function(t,e){if(e){this._oPreview=t}else{this._addNewHistory(t);this._oPreview=null}this._updateFilters()};v.prototype._applyPreview=function(){if(!this._oPreview){return}this._addNewHistory(this._oPreview);this._oPreview=null};v.prototype._addNewHistory=function(t){this._aHistory=this._aHistory.slice(this._iHistoryIndex);this._iHistoryIndex=0;if(this._aHistory.length===0||!this._aHistory[0].compare(t)){this._aHistory.unshift(t);this._storeCurrentImg();this. Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/KlayWrapper\", [\"sap/ui/base/ObjectPool\",\"sap/ui/Device\"],function(e,r){\"use strict\";var o=\"sap.ui.thirdparty\";function t(){var e=sap.ui.require.toUrl(o.replace(/\\./g,\"/\"))+\"/klay.js\";this._worker=new Worker(e)}t.prototype.getWorker=function(){return this._worker};t.prototype.init=function(){};t.prototype.reset=function(){this._worker.onmessage=null;this._worker.onerror=null};var n={},i=!r.browser.firefox;n._pool=new e(t);n.layout=function(e){if(typeof Worker!==\"undefined\"&&i){try{var r=n._pool.borrowObject(),o=r.getWorker();o.postMessage({graph:e.graph,options:e.options});o.onmessage=function(o){if(o.data.stacktrace){e.error(o.data)}else{e.success(o.data)}n._pool.returnObject(r)};o.onerror=function(){n._pool.returnObject(r);n.run(e)}}catch(r){n.run(e)}}else{n.run(e)}};n.run=function(e){n.getKlay().then(function(r){r.layout(e)})};n.getKlay=function(){if(typeof $klay===\"undefined\"){return new Promise(function(e){var r=o.replace(/\\./g,\"/\")+\"/klay\";sap.ui.require([r],function(){e($klay)})})}else{return Promise.resolve($klay)}};return n},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/LayeredLayout\", [\"sap/suite/ui/commons/library\",\"./LayoutAlgorithm\",\"./Geometry\",\"./KlayWrapper\",\"./LayoutTask\",\"sap/ui/performance/Measurement\"],function(t,e,o,i,r,a){\"use strict\";var n=t.networkgraph.Orientation,s=t.networkgraph.NodePlacement,h=t.networkgraph.LayoutRenderType;var d=34,p=25,u=17,g=4,c=\"N_\",l=\"G_\",f=2;var y=function(){var t={};t[s.BrandesKoepf]=\"BRANDES_KOEPF\";t[s.LinearSegments]=\"LINEAR_SEGMENTS\";t[s.Simple]=\"SIMPLE\";return Object.freeze(t)}();var _=e.extend(\"sap.suite.ui.commons.networkgraph.layout.LayeredLayout\",{metadata:{library:\"sap.suite.ui.commons\",properties:{nodeSpacing:{type:\"float\",defaultValue:55},lineSpacingFactor:{type:\"float\",defaultValue:.25},nodePlacement:{type:\"sap.suite.ui.commons.networkgraph.NodePlacement\",defaultValue:s.BrandesKoepf},mergeEdges:{type:\"boolean\",defaultValue:false}}}});_.prototype.getLayoutRenderType=function(){return h.LayeredWithGroups};_.prototype.layout=function(){return new r(function(t,e,o){var r=this.getParent();if(!r){e(\"The algorithm must be associated with a graph.\");return}if(this._hasHierarchicalGroups()){e(\"Layered layout algorithm doesn't support hierarchical groups.\");return}this.oGraph=r;this.oKGraph={children:[],edges:[]};this.mLineMap={};a.start(\"NetworkGraph - LayeredLayout\",\"Layouting of a graph \"+r.getId());r.getGroups().forEach(this._addGroupToKlay,this);r.getNodes().forEach(this._addNodeToKlay,this);r.getLines().forEach(this._addLineToKlay,this);i.layout({graph:this.oKGraph,options:this._getOptions(),success:function(e){if(o.isTerminated()){t();return}this._copyStuffWithoutPrefixes(e);e.children.forEach(function(t){this._extractNodeFromKlay(t)},this);e.edges.forEach(function(t){this._extractLineFromKlay(t)},this);this._dealWithOrientation();this._makeExpandedGroupsBoxesAroundNodes();this._shrinkGroupsDownward();this._stretchLinesToCircleNodeAxes();this._alignCoordinatesWithView();a.end(\"NetworkGraph - LayeredLayout\");t()}.bind(this),error:function(t){e(t)}})}.bind(this))};_.prototype._buildNodeForKlay=function(t){var e={},o=t._isCircle();if(o||t.getCoreNodeSize()&&t._isCustom()){var i=o?t._getCircleSize():t.getCoreNodeSize();if(this.oGraph.getOrientation()!==n.TopBottom&&this.oGraph.getOrientation()!==n.BottomTop){var r=t._iHeight-i+g;e={additionalPortSpace:\"top=\"+g+\", bottom=\"+r}}else{var a=(t._iWidth-i)/2+g;e={additionalPortSpace:\"top=\"+a+\", bottom=\"+a}}}return{id:c+t.getKey(),width:t._iWidth,height:t._iHeight,properties:e}};_.prototype._addGroupToKlay=function(t){if(t._isIgnored()){return}var e=2*t._getBorderSize(),o={id:l+t.getKey(),width:t._iWidth+e,height:t._iHeight+e};this.oKGraph.children.push(o);if(!t.getCollapsed()){t.aNodes.forEach(function(t){if(!t._isIgnored()){if(!o.children){o.children=[]}o.children.push(this._buildNodeForKlay(t))}},this)}};_.prototype._addNodeToKlay=function(t){if(!t._oGroup&&!t._isIgnored()){this.oKGraph.children.push(this._buildNodeForKlay(t))}};_.prototype._addLineToKlay=function(t){var e,o,i;if(!t._isIgnored()){e=t.getFromNode()._oGroup&&t.getFromNode()._oGroup.getCollapsed()?l+t.getFromNode()._oGroup.getKey():c+t.getFrom();o=t.getToNode()._oGroup&&t.getToNode()._oGroup.getCollapsed()?l+t.getToNode()._oGroup.getKey():c+t.getTo();i=e+\"->\"+o+\"[\"+this.oKGraph.edges.length+\"]\";this.oKGraph.edges.push({id:i,source:e,target:o});this.mLineMap[i]=t}};_.prototype._getOptions=function(){var t=this.oGraph.getOrientation(),e;switch(t){case n.LeftRight:case n.RightLeft:e=\"RIGHT\";break;case n.TopBottom:case n.BottomTop:e=\"DOWN\";break;default:e=\"RIGHT\"}return{direction:e,spacing:this.getNodeSpacing(),nodePlace:y[this.getNodePlacement()],edgeSpacingFactor:this.getLineSpacingFactor(),mergeEdges:this.getMergeEdges()}};_.prototype._extractNodeFromKlay=function(t){var e=t.id.substring(0,f)===c?this.oGraph.getNodeByKey(t.originalId):undefined,o;if(!e){e=this.oGraph.mGroups[t.originalId];if(e&&!e.getCollapsed()&&t.children){t.children.forEach(function(e){o=this.oGraph.getNodeByKey(e.originalId);if(o){o.setX(Math.round(e.x+t.x));o.setY(Math.round(e.y+t.y))}},this)}}if(e){e.setX(Math.round(t.x));e.setY(Math.round(t.y))}};_.prototype._extractLineFromKlay=function(t){var e=this.mLineMap[t.id];e.setSource({x:Math.round(t.sourcePoint.x),y:Math.round(t.sourcePoint.y)});e.setTarget({x:Math.round(t.targetPoint.x),y:Math.round(t.targetPoint.y)});e.clearBends();if(t.bendPoints){t.bendPoints.forEach(function(t){e.addBend({x:Math.round(t.x),y:Math.round(t.y)})})}if(e.getFromNode()._oGroup&&!e.getFromNode()._oGroup.getCollapsed()){e._shift({x:e.getFromNode()._oGroup.getX(),y:e.getFromNode()._oGroup.getY()})}};_.prototype._dealWithOrientation=function(){if(!this.oGraph._bIsRtl&&this.oGraph.getOrientation()===n.RightLeft||this.oGraph._bIsRtl&&this.oGraph.getOrientation()!==n.RightLeft){this._verticalMirror(true)}if(this.oGraph.getOrientation()===n.BottomTop){this._horizontalMirror(true)}};_.prototype._makeExpandedGroupsBoxesAroundNodes=function(){var t=[],e;this.oGraph.getGroups().forEach(function(i){if(i.getCollapsed()||i.aNodes.length===0){return}t=this._getNodesPoints(i.aNodes);e=o.getBoundingBox(t);o.enlargeBox(e,p);i.setX(Math.round(e.p1.x));i.setY(Math.round(e.p1.y-d));i._iWidth=e.p2.x-e.p1.x;i._iHeight=e.p2.y-e.p1.y+d},this)};_.prototype._shrinkGroupsDownward=function(){var t;this.oGraph.getGroups().forEach(function(e){if(e.getCollapsed()){return}e.aNodes.forEach(function(o){t=(e.getY()+e._iHeight-o.getY())/e._iHeight;o.setY(o.getY()+t)});e.setY(e.getY()+u);e._iHeight-=u})};_.prototype._copyStuffWithoutPrefixes=function(t){t.children.forEach(function(t){t.originalId=t.id.substring(f);if(t.children){t.children.forEach(function(t){t.originalId=t.id.substring(f)})}});t.edges.forEach(function(t){t.originalSource=t.source.substring(f);t.originalTarget=t.target.substring(f)})};return _});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/LayoutAlgorithm\", [\"sap/suite/ui/commons/library\",\"sap/ui/core/Element\",\"./Geometry\"],function(t,e,o){\"use strict\";var i=e.extend(\"sap.suite.ui.commons.networkgraph.layout.LayoutAlgorithm\",{metadata:{library:\"sap.suite.ui.commons\",abstract:true,publicMethods:[\"getType\",\"isLayered\",\"layout\"]}});var n=50,r=.2;var g=t.networkgraph.Orientation,s=t.networkgraph.NodeShape;i.prototype._normalizeLines=function(){var t=this.getParent(),e={},i,n,g,s,a,c,u,p,f;t.getLines().forEach(function(t){i=t.getFrom()<t.getTo()?t.getFrom()+\"-\"+t.getTo():t.getTo()+\"-\"+t.getFrom();if(!e[i]){e[i]={from:t.getFromNode(),to:t.getToNode(),lines:[]}}e[i].lines.push(t)});Object.keys(e).forEach(function(t){n=e[t];if(n.lines.length===1){n.lines[0]._normalizePath();return}a=Math.min(n.from._getCircleSize(),n.to._getCircleSize())/2;u=2*(1-r)/(n.lines.length-1);g=-1;n.lines.forEach(function(t){g++;s={center:t.getFromNode().getCenterPosition(),apex:t.getToNode().getCenterPosition()};c=o.getNormalizedVector(s,a);c=o.getRotatedVector(c,Math.PI/2);p=(r-1+g*u)*c.apex.x;f=(r-1+g*u)*c.apex.y;t.setSource({x:t.getFromNode().getCenterPosition().x+p,y:t.getFromNode().getCenterPosition().y+f});t.setTarget({x:t.getToNode().getCenterPosition().x+p,y:t.getToNode().getCenterPosition().y+f})})})};i.prototype._stretchLinesToCircleNodeAxes=function(){var t=this.getParent(),e=t.getOrientation()!=g.TopBottom&&t.getOrientation()!=g.BottomTop,o,i;t.getLines().forEach(function(t){if(t._isIgnored()){return}var n=t.getStretchToCenter();var r=function(t){return(n&&t._isCustom()||t._isCircle())&&!t._isIgnored()};o=t.getFromNode();i=t.getToNode();if(e){if(r(o)){t.getSource()?.setX(Math.round(o.getX()+o._iWidth/2))}if(r(i)){t.getTarget()?.setX(Math.round(i.getX()+i._iWidth/2))}}else{if(r(o)){t.getSource()?.setY(Math.round(o.getY()+o._getShapeSize(e)/2))}if(r(i)){t.getTarget()?.setY(Math.round(i.getY()+i._getShapeSize(e)/2))}}})};i.prototype._cutLinesAtBoxNodeBorders=function(){var t=this.getParent(),e,i,n,r,g,a;t.getLines().forEach(function(t){e=t.getCoordinates();if(t.getFromNode().getShape()===s.Box){i={x:e[0].getX(),y:e[0].getY()};n={x:e[1].getX(),y:e[1].getY()};r=this._getNodePoints(t.getFromNode());g=o.getLineRectangleIntersections({p1:i,p2:n},{p1:r[0],p2:r[1]});if(g.length>1){if(o.getPointsDistance(g[0],n)<o.getPointsDistance(g[1],n)){t.setSource(g[0])}else{t.setSource(g[1])}}}if(t.getToNode().getShape()===s.Box){a=e.length-1;i={x:e[a-1].getX(),y:e[a-1].getY()};n={x:e[a].getX(),y:e[a].getY()};r=this._getNodePoints(t.getToNode());g=o.getLineRectangleIntersections({p1:i,p2:n},{p1:r[0],p2:r[1]});if(g.length>1){if(o.getPointsDistance(g[0],i)<o.getPointsDistance(g[1],i)){t.setTarget(g[0])}else{t.setTarget(g[1])}}}}.bind(this))};i.prototype._getNodePoints=function(t){return[{x:t.getX(),y:t.getY()},{x:t.getX()+t._iWidth,y:t.getY()+t._iHeight}]};i.prototype._getNodesPoints=function(t){var e=[];t.forEach(function(t){if(t._isIgnored&&!t._isIgnored()&&(!t._isInCollapsedGroup||!t._isInCollapsedGroup())){e.push({x:t.getX(),y:t.getY()});e.push({x:t.getX()+t._iWidth,y:t.getY()+t._iHeight})}});return e};i.prototype._getLinesPoints=function(){var t=this.getParent(),e=[];t.getLines().forEach(function(t){if(t._isIgnored()){return}if(t.getSource()){e.push({x:t.getSource().getX(),y:t.getSource().getY()})}if(t.getTarget()){e.push({x:t.getTarget().getX(),y:t.getTarget().getY()})}t.getBends().forEach(function(t){e.push({x:t.getX(),y:t.getY()})})});return e};i.prototype._verticalMirror=function(t){var e=this.getParent(),o=this._getGraphBoundingBox(),i=o.p1.x+o.p2.x,n;e.getNodes().forEach(function(t){t.setX(i-(t.getX()+t._iWidth))});e.getGroups().forEach(function(e){n=t?2*e._getBorderSize():0;e.setX(i-(e.getX()+e._iWidth+n))});e.getLines().forEach(function(t){if(t._isIgnored()){return}if(t.getSource()){t.setSource({x:i-t.getSource().getX()})}if(t.getTarget()){t.setTarget({x:i-t.getTarget().getX()})}t.getBends().forEach(function(t){t.setX(i-t.getX())});if(t._aNipples){t._aNipples.forEach(function(t){t.x=i-t.x;if(t.orientation===g.LeftRight){t.orientation=g.RightLeft}else if(t.orientation===g.RightLeft){t.orientation=g.LeftRight}})}})};i.prototype._horizontalMirror=function(t){var e=this.getParent(),o=this._getGraphBoundingBox(),i=o.p1.y+o.p2.y,n;e.getNodes().forEach(function(t){t.setY(i-(t.getY()+t._iHeight))});e.getGroups().forEach(function(e){n=t?2*e._getBorderSize():0;e.setY(i-(e.getY()+e._iHeight+n))});e.getLines().forEach(function(t){if(t._isIgnored()){return}if(t.getSource()){t.setSource({y:i-t.getSource().getY()})}if(t.getTarget()){t.setTarget({y:i-t.getTarget().getY()})}t.getBends().forEach(function(t){t.setY(i-t.getY())});if(t._aNipples){t._aNipples.forEach(function(t){t.y=i-t.y;if(t.orientation===g.TopBottom){t.orientation=g.BottomTop}else if(t.orientation===g.BottomTop){t.orientation=g.TopBottom}})}})};i.prototype._shiftGraph=function(t,e,o){var i=this.getParent();if(!o){i.getGroups().forEach(function(o){o.setX(o.getX()+t);o.setY(o.getY()+e)})}i.getNodes().forEach(function(o){o.setX(o.getX()+t);o.setY(o.getY()+e);o.aLines.forEach(function(o){o._shift({x:t,y:e})})})};i.prototype._getGraphBoundingBox=function(){var t=this.getParent(),e=this._getNodesPoints(t.getNodes()).concat(this._getNodesPoints(t.getGroups())).concat(this._getLinesPoints());return o.getBoundingBox(e)};i.prototype._alignCoordinatesWithView=function(){var t=this._getGraphBoundingBox(),e=n-t.p1.x,o=n-t.p1.y;this._shiftGraph(e,o)};i.prototype._hasHierarchicalGroups=function(){return this.getParent().getGroups().some(function(t){return t.getParentGroupKey()})};i.prototype.getLayoutRenderType=function(){throw new Error(\"To be overridden in implementing class.\")};i.prototype.isLayered=function(){throw new Error(\"To be overridden in implementing class.\")};i.prototype.layout=function(){throw new Error(\"To be overridden in implementing class.\")};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/LayoutTask\", [\"sap/ui/base/Object\"],function(t){\"use strict\";var i=t.extend(\"sap.suite.ui.commons.networkgraph.layout.LayoutTask\",{constructor:function(i){t.apply(this,arguments);this._bTerminated=false;this._oPromise=new Promise(function(t,e){i(t,e,this)}.bind(this))}});i.prototype.then=function(t,i){this._oPromise=this._oPromise.then(t,i).catch(()=>{});return this};i.prototype.catch=function(t){this._oPromise=this._oPromise.catch(t);return this};i.prototype.terminate=function(){this._bTerminated=true;return this};i.prototype.isTerminated=function(){return this._bTerminated};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/NoopLayout\", [\"sap/suite/ui/commons/library\",\"./LayoutAlgorithm\",\"./LayoutTask\"],function(t,e,r){\"use strict\";var a=t.networkgraph.LayoutRenderType;var i=e.extend(\"sap.suite.ui.commons.networkgraph.layout.NoopLayout\",{metadata:{library:\"sap.suite.ui.commons\"}});i.prototype.getLayoutRenderType=function(){return a.LayeredWithGroups};i.prototype.layout=function(){return new r(function(t,e,r){var a=this.getParent();if(r.isTerminated()){t();return}if(!a){e(\"The algorithm must be associated with a graph.\");return}this._normalizeLines();t()}.bind(this))};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/SwimLaneChainLayout\", [\"sap/suite/ui/commons/library\",\"./LayoutAlgorithm\",\"./Geometry\",\"./LayoutTask\"],function(e,t,i,n){\"use strict\";var s=e.networkgraph.Orientation;var o=e.networkgraph.LayoutRenderType,a=32,r=50,h=75,d=75,f=75,g=32,p=10,c=25;var u=t.extend(\"sap.suite.ui.commons.networkgraph.layout.SwimLaneChainLayout\",{metadata:{library:\"sap.suite.ui.commons\",properties:{}}});u.prototype.getLayoutRenderType=function(){return o.SwimLanes};u.prototype.layout=function(){return new n(function(e,t,i){var n=this.getParent(),o;if(!n){t(\"The algorithm must be associated with a graph.\");return}this.oGraph=n;o=this._validateGraphDefinition();if(o){t(o)}this.bVertLane=n.getOrientation()===s.LeftRight||n.getOrientation()===s.RightLeft;this._calcLanesProperties();this._findRoots();this._initGrid();this._traceAndStackNodes();this._calcRowsProperties();this._calcNodesCoordinates();this.oGraph.getLines().forEach(function(e){this._traceSingleLine(e);this._calcLineCentroid(e);e._aNipples=[]}.bind(this));this._indexAllLineFragments();this._cutLinesAtBoxNodeBorders();this._removeLineOverlays(this.aHorizontalFragments,true);this._removeLineOverlays(this.aVerticalFragments,false);this._calcLanesWidthsAndPositions();this._collapseShiftNodesAndLines();this._alignCoordinatesWithView();this._beautify();this._findAllNipples();this._cullLineFragmentsInCollapsedGroups();if(!this.oGraph._bIsRtl&&n.getOrientation()===s.RightLeft||this.oGraph._bIsRtl&&n.getOrientation()===s.LeftRight){this._verticalMirror()}else if(n.getOrientation()===s.BottomTop){this._horizontalMirror()}e()}.bind(this))};u.prototype._validateGraphDefinition=function(){var e=[];this.oGraph.getNodes().forEach(function(t){if(!t.getGroup()){e.push(t.getKey())}});if(e.length>0){return\"Some nodes are missing swim lanes: \"+e.join()}if(this._hasHierarchicalGroups()){return\"Swim lane layout algorithm doesn't support hierarchical groups.\"}return null};u.prototype._calcLanesProperties=function(){this.aLanes=[];this.oGraph.getGroups().forEach(function(e){if(this.bVertLane){e.setY(0)}else{e.setX(0)}this.aLanes.push(e.getKey())}.bind(this));this.aLanes.sort();this.oGraph.getNodes().forEach(function(e){e._iGroupIndex=this.aLanes.indexOf(e.getGroup())}.bind(this));var e;this.aLaneWidths={};this.aLaneOffsets={};this.oGraph.getNodes().forEach(function(t){e=this.bVertLane?t._iWidth:t._iHeight;if(!this.aLaneWidths[t._iGroupIndex]||this.aLaneWidths[t._iGroupIndex]<e){this.aLaneWidths[t._iGroupIndex]=e}}.bind(this));var t;this.aLaneGroups={};this.oGraph.getGroups().forEach(function(e){t=this.aLanes.indexOf(e.getKey());if(this.aLaneWidths[t]<e.getMinWidth()){this.aLaneWidths[t]=e.getMinWidth()}this.aLaneGroups[t]=e}.bind(this));var i=0;Object.keys(this.aLaneWidths).forEach(function(e){if(i>0){i+=d}this.aLaneOffsets[e]=i;i+=this.aLaneWidths[e]}.bind(this))};u.prototype._findRoots=function(){this.aRoots=[];this.oGraph.getNodes().forEach(function(e){if(e._iGroupIndex===0&&e.aParents.length===0){this.aRoots.push(e)}}.bind(this));this.oGraph.getNodes().forEach(function(e){if(e._iGroupIndex>0&&e.aParents.length===0){this.aRoots.push(e)}}.bind(this));this.oGraph.getNodes().forEach(function(e){this.aRoots.push(e)}.bind(this))};u.prototype._initGrid=function(){this.aGrid=[];this.oGraph.getNodes().forEach(function(e){if(!this.aGrid[e._iGroupIndex]){this.aGrid[e._iGroupIndex]=[]}e._bChainTraced=false}.bind(this))};u.prototype._traceAndStackNodes=function(){this.aRoots.forEach(function(e){if(!e._bChainTraced){this.aGrid[e._iGroupIndex].push(e);e._bChainTraced=true;this._traceNodeChainDepthFirst(e)}}.bind(this))};u.prototype._traceNodeChainDepthFirst=function(e){e.aChildren.forEach(function(e){if(!e._bChainTraced){e._bChainTraced=true;this.aGrid[e._iGroupIndex].push(e);this._traceNodeChainDepthFirst(e)}}.bind(this))};u.prototype._calcRowsProperties=function(){var e=0,t;this.aGrid.forEach(function(t){if(t.length>e){e=t.length}});this.aRowHeights=[];this.aRowOffsets=[];for(var i=0;i<e;i++){this.aGrid.forEach(function(e){if(!e[i]){return}t=this.bVertLane?e[i]._iHeight:e[i]._iWidth;if(!this.aRowHeights[i]||this.aRowHeights[i]<t){this.aRowHeights[i]=t}}.bind(this))}var n=-1,s=0;this.aRowHeights.forEach(function(e){n++;if(n>0){s+=d}this.aRowOffsets[n]=s;s+=e}.bind(this));this.fGridHeight=this.aRowOffsets[e-1]+this.aRowHeights[e-1];if(this.bVertLane){this.fGridHeight+=r}else{this.fGridHeight+=h}this.oGraph.getGroups().forEach(function(e){if(this.bVertLane){e._iHeight=this.fGridHeight}else{e._iWidth=this.fGridHeight}}.bind(this))};u.prototype._calcNodesCoordinates=function(){var e;this.aGrid.forEach(function(t){e=-1;t.forEach(function(t){e++;if(this.bVertLane){t.setX(this.aLaneOffsets[t._iGroupIndex]+this.aLaneWidths[t._iGroupIndex]/2-t._iWidth/2+d/2);t.setY(this.aRowOffsets[e]+this.aRowHeights[e]/2-t._iHeight/2+f/2)}else{t.setX(this.aRowOffsets[e]+this.aRowHeights[e]/2-t._iWidth/2+f/2);t.setY(this.aLaneOffsets[t._iGroupIndex]+this.aLaneWidths[t._iGroupIndex]/2-t._iHeight/2+d/2)}t.iRow=e}.bind(this))}.bind(this))};u.prototype._calcLineCentroid=function(e){var t=e.getBends().length+2,i=e.getSource().getX()+e.getTarget().getX(),n=e.getSource().getY()+e.getTarget().getY();e.getBends().forEach(function(e){i+=e.getX();n+=e.getY()});e._oCentroid={x:i/t,y:n/t}};u.prototype._indexAllLineFragments=function(){this.aVerticalFragments=[];this.aHorizontalFragments=[];this.oGraph.getLines().forEach(function(e){this._indexLineFragments(e)}.bind(this))};u.prototype._indexLineFragments=function(e){var t=this._getLinePointsList(e),i,n;for(var s=0;s<t.length-1;s++){i=t[s];n=t[s+1];if(i.x===n.x){if(i.y<n.y){this.aVerticalFragments.push({line:e,index:s,cc:i.x,c1:i.y,c2:n.y})}else{this.aVerticalFragments.push({line:e,index:s,cc:i.x,c1:n.y,c2:i.y,invert:true})}}else if(i.y===n.y){if(i.x<n.x){this.aHorizontalFragments.push({line:e,index:s,cc:i.y,c1:i.x,c2:n.x})}else{this.aHorizontalFragments.push({line:e,index:s,cc:i.y,c1:n.x,c2:i.x,invert:true})}}}};u.prototype._removeLineOverlays=function(e,t){var i,n,s,o,a;for(var r=0;r<e.length;r++){i=e[r];n=[i];for(var h=r+1;h<e.length;h++){if(this._doFragmentsIntersect(i,e[h])){n.push(e[h])}}if(n.length===1){continue}n.sort(function(e,i){if(t){return e.line._oCentroid.y-i.line._oCentroid.y}else{return e.line._oCentroid.x-i.line._oCentroid.x}});s=(n.length-1)*p;if(s>c){s=c}o=s/(n.length-1);a=i.cc-s/2;for(h=0;h<n.length;h++){this._shiftLineFragment(n[h],a,!t);a+=o}}};u.prototype._shiftLineFragment=function(e,t,i){var n=e.line.getCoordinates()[e.index],s=e.line.getCoordinates()[e.index+1];e.cc=t;if(i){n.setX(t);s.setX(t)}else{n.setY(t);s.setY(t)}};u.prototype._doFragmentsIntersect=function(e,t){return e.cc===t.cc&&!(e.c1<t.c1&&e.c1<t.c2&&e.c2<t.c1&&e.c2<t.c2||e.c1>t.c1&&e.c1>t.c2&&e.c2>t.c1&&e.c2>t.c2)};u.prototype._getLinePointsList=function(e){var t=[];t.push({x:e.getSource().getX(),y:e.getSource().getY()});e.getBends().forEach(function(e){t.push({x:e.getX(),y:e.getY()})});t.push({x:e.getTarget().getX(),y:e.getTarget().getY()});return t};u.prototype._calcLanesWidthsAndPositions=function(){var e,t=0;this.aLanes.forEach(function(i,n){e=this.oGraph.mGroups[i];e._fExpandedWidth=this.aLaneWidths[n]+d;e._fExpandedPosition=this.aLaneOffsets[n];if(this.bVertLane){e.setX(this.aLaneOffsets[n]+t)}else{e.setY(this.aLaneOffsets[n]+t)}if(e.getCollapsed()){if(this.bVertLane){e._iWidth=g}else{e._iHeight=g}if(e.getNodes().length>0){t+=g-(this.aLaneWidths[n]+d)}}else{if(this.bVertLane){e._iWidth=e._fExpandedWidth}else{e._iHeight=e._fExpandedWidth}}}.bind(this))};u.prototype._collapseShiftNodesAndLines=function(){var e,t,i;this.aLanes.forEach(function(n){i=this.oGraph.mGroups[n];t=g/i._fExpandedWidth;this.oGraph.getNodes().forEach(function(t){if(this.bVertLane){if(t.getCenterPosition().x>i._fExpandedPosition&&t.getCenterPosition().x<=i._fExpandedPosition+i._fExpandedWidth){e=i.getX()-i._fExpandedPosition;if(i.getCollapsed()){e+=(g-i._fExpandedWidth)/2}t.setX(t.getX()+e)}}else{if(t.getCenterPosition().y>i._fExpandedPosition&&t.getCenterPosition().y<=i._fExpandedPosition+i._fExpandedWidth){e=i.getY()-i._fExpandedPosition;if(i.getCollapsed()){e+=(g-i._fExpandedWidth)/2}t.setY(t.getY()+e)}}}.bind(this));this.oGraph.getLines().forEach(function(n){n.getCoordinates().forEach(function(n){if(this.bVertLane){if(n.getX()>i._fExpandedPosition&&n.getX()<=i._fExpandedPosition+i._fExpandedWidth){e=i.getX()-i._fExpandedPosition;if(i.getCollapsed()){e-=(n.getX()-i._fExpandedPosition)*(1-t)}n.setX(n.getX()+e)}}else{if(n.getY()>i._fExpandedPosition&&n.getY()<=i._fExpandedPosition+i._fExpandedWidth){e=i.getY()-i._fExpandedPosition;if(i.getCollapsed()){e-=(n.getY()-i._fExpandedPosition)*(1-t)}n.setY(n.getY()+e)}}}.bind(this))}.bind(this))}.bind(this))};u.prototype._traceSingleLine=function(e){var t,i,n,s;t=e.getFromNode();i=e.getToNode();n=t.getCenterPosition();s=i.getCenterPosition();e.setSource({x:n.x,y:n.y});e.setTarget({x:s.x,y:s.y});e.clearBends();var o=(this.aLaneWidths[t._iGroupIndex]+d)/2,a=(this.aLaneWidths[i._iGroupIndex]+d)/2,r=(this.aRowHeights[t.iRow]+f)/2,h=(this.aRowHeights[i.iRow]+f)/2;if(t._iGroupIndex===i._iGroupIndex&&Math.abs(t.iRow-i.iRow)===1||t.iRow===i.iRow&&Math.abs(t._iGroupIndex-i._iGroupIndex)===1){}else if(t._iGroupIndex===i._iGroupIndex){if(this.bVertLane){e.addBend({x:n.x+o,y:n.y});e.addBend({x:s.x+a,y:s.y})}else{e.addBend({x:n.x,y:n.y+o});e.addBend({x:s.x,y:s.y+a})}}else if(t.iRow===i.iRow){var g=true,p=Math.min(t._iGroupIndex,i._iGroupIndex),c=Math.max(t._iGroupIndex,i._iGroupIndex);for(var u=p+1;u<c;u++){if(this.aGrid[u]&&this.aGrid[u].length>t.iRow){g=false}}if(!g){if(this.bVertLane){e.addBend({x:n.x,y:n.y+r});e.addBend({x:s.x,y:s.y+h})}else{e.addBend({x:n.x+r,y:n.y});e.addBend({x:s.x+h,y:s.y})}}}else if(Math.abs(t.iRow-i.iRow)===1){if(this.bVertLane){if(t.iRow<i.iRow){e.addBend({x:n.x,y:n.y+r});e.addBend({x:s.x,y:s.y-h})}else{e.addBend({x:n.x,y:n.y-r});e.addBend({x:s.x,y:s.y+h})}}else{if(t.iRow<i.iRow){e.addBend({x:n.x+r,y:n.y});e.addBend({x:s.x-h,y:s.y})}else{e.addBend({x:n.x-r,y:n.y});e.addBend({x:s.x+h,y:s.y})}}}else if(Math.abs(t._iGroupIndex-i._iGroupIndex)===1){if(this.bVertLane){if(t._iGroupIndex<i._iGroupIndex){e.addBend({x:n.x+o,y:n.y});e.addBend({x:s.x-a,y:s.y})}else{e.addBend({x:n.x-o,y:n.y});e.addBend({x:s.x+a,y:s.y})}}else{if(t._iGroupIndex<i._iGroupIndex){e.addBend({x:n.x,y:n.y+o});e.addBend({x:s.x,y:s.y-a})}else{e.addBend({x:n.x,y:n.y-o});e.addBend({x:s.x,y:s.y+a})}}}else{var l,x;if(this.bVertLane){l=t._iGroupIndex<i._iGroupIndex?n.x+o:n.x-o;e.addBend({x:l,y:n.y});x=t.iRow<i.iRow?s.y-h:s.y+h;e.addBend({x:l,y:x});e.addBend({x:s.x,y:x})}else{x=t._iGroupIndex<i._iGroupIndex?n.y+o:n.y-o;e.addBend({x:n.x,y:x});l=t.iRow<i.iRow?s.x-h:s.x+h;e.addBend({x:l,y:x});e.addBend({x:l,y:s.y})}}var _,y;if(e.getBends().length>0){y=e.getBends()[e.getBends().length-1];_={x:y.getX(),y:y.getY()}}else{_=n}if(s.x===_.x){if(s.y<_.y){e.setTarget({x:s.x,y:s.y+i._iHeight/2})}else{e.setTarget({x:s.x,y:s.y-i._iHeight/2})}}else{if(s.x<_.x){e.setTarget({x:s.x+i._iWidth/2,y:s.y})}else{e.setTarget({x:s.x-i._iWidth/2,y:s.y})}}};u.prototype._beautify=function(){if(this.bVertLane){this.oGraph.getGroups().forEach(function(e){e._iHeight+=a;this._shiftGraph(0,4,true)}.bind(this))}else{this._shiftGraph(a/2,0,true)}};u.prototype._alignCoordinatesWithView=function(){var e=this._getGraphBoundingBox();this._shiftGraph(-e.p1.x,-e.p1.y)};u.prototype._findAllNipples=function(){var e,t,i,n,o,a,r,h,d,f,g,p;this._indexAllLineFragments();e=this.bVertLane?this.aHorizontalFragments:this.aVerticalFragments;e.forEach(function(e){t=Object.keys(this.aLaneOffsets).length-1;Object.keys(this.aLaneOffsets).forEach(function(c,u){if(u===t){return}i=this.aLaneGroups[c];n=this.aLaneGroups[Object.keys(this.aLaneOffsets)[u+1]];if(!i.getCollapsed()&&!n.getCollapsed()){return}o=e.line.getFromNode()._oGroup;a=e.line.getToNode()._oGroup;if(i.getCollapsed()&&n.getCollapsed()&&o===i&&a===n){return}r=i.getCollapsed()&&(i.getKey()===o.getKey()||i.getKey()===a.getKey());h=n.getCollapsed()&&(n.getKey()===o.getKey()||n.getKey()===a.getKey());g=undefined;d=i.getX()+i._iWidth;f=i.getY()+i._iHeight;if(this.bVertLane){if((r&&e.c1<=d&&e.c2>d||h&&e.c1<d&&e.c2>=d)&&e.cc>i.getY()&&e.cc<f){g={x:d,y:e.cc}}}else{if((r&&e.c1<=f&&e.c2>f||h&&e.c1<f&&e.c2>=f)&&e.cc>i.getX()&&e.cc<d){g={x:e.cc,y:f}}}if(g){if(r){if(this.bVertLane){p=s.LeftRight}else{p=s.TopBottom}}else if(h){if(this.bVertLane){p=s.RightLeft}else{p=s.BottomTop}}else{return}e.line._aNipples.push({x:g.x,y:g.y,orientation:p})}}.bind(this))}.bind(this))};u.prototype._cullLineFragmentsInCollapsedGroups=function(){var e,t,i=function(e,t){return e.getX()>=t.getX()&&e.getX()<=t.getX()+t._iWidth&&e.getY()>=t.getY()&&e.getY()<=t.getY()+t._iHeight},n=function(n,s){var o=s?n.getToNode():n.getFromNode(),a=function(){return s?n.getCoordinates().length-1:0},r;if(!o._isInCollapsedGroup()){return}r=o._oGroup;while(n.getCoordinates().length>0&&i(n.getCoordinates()[a()],r)){e=n.getCoordinates()[a()];t=n.getCoordinates()[a()+(s?-1:1)];if(t&&!i(t,r)){if(this.bVertLane){if(t.getX()<e.getX()){e.setX(r.getX())}else{e.setX(r.getX()+r._iWidth)}}else{if(t.getY()<e.getY()){e.setY(r.getY())}else{e.setY(r.getY()+r._iHeight)}}break}else{n.removeAggregation(\"coordinates\",a(),true)}}}.bind(this);this.oGraph.getLines().forEach(function(e){n(e,false);n(e,true)})};return u});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/layout/TwoColumnsLayout\", [\"sap/suite/ui/commons/library\",\"./LayoutAlgorithm\",\"./Geometry\",\"./LayoutTask\"],function(e,o,t,i){\"use strict\";var r=e.networkgraph.LayoutRenderType;var n=15,s=75,a=32,u=42,h=160,p=100,d=50,l=25,f=10,_=.6,g=20;var G=o.extend(\"sap.suite.ui.commons.networkgraph.layout.TwoColumnsLayout\",{metadata:{library:\"sap.suite.ui.commons\"}});G.prototype.getLayoutRenderType=function(){return r.TwoColumns};G.prototype.layout=function(){return new i(function(e,o,t){var i=this.getParent(),r;if(!i){o(\"The algorithm must be associated with a graph.\");return}this.oGraph=i;this.oLeftColumn=undefined;this.oRightColumn=undefined;r=this._validateGraphDefinition();if(r){o(r)}this._preprocessGroupsAndNodes();r=this._validateLines();if(r){o(r)}this._calcLanesProperties();this._createNodesGrid();this._calcNodeEndingAndStartingPoints();this._setNodesCoordinates();this._setGroupCoordinates();this._setLinesCoordinates();this._cutLinesAtBoxNodeBorders();if(this.oGraph._bIsRtl){this._verticalMirror()}e()}.bind(this))};G.prototype._validateGraphDefinition=function(){var e=[];this.oGraph.getNodes().forEach(function(o){if(!o.getGroup()){e.push(o.getKey())}});if(e.length>0){return\"Some nodes are missing group: \"+e.join()}return null};G.prototype._preprocessGroupsAndNodes=function(){if(this.oGraph.getGroups().some(function(e){e._oFirstNode=null;e._oLastNode=null;e._bNestedSet=false;if(!e._oParentGroup){if(!this.oLeftColumn){this.oLeftColumn=e}else if(!this.oRightColumn){this.oRightColumn=e}else{return true}}return false}.bind(this))){return\"There are too many columns, ie. groups without a parent group. Expected exactly 2.\"}if(!this.oRightColumn||!this.oLeftColumn){return\"There are too few columns, ie. groups without a parent group. Expected exactly 2.\"}this.oGraph.getNodes().forEach(function(e){e._iStartingGroupCount=0;e._iEndingGroupCount=0})};G.prototype._validateLines=function(){var e,o;if(this.oGraph.getLines().some(function(t){e=t.getFromNode()._oGroup._oTopParentGroup;o=t.getToNode()._oGroup._oTopParentGroup;return!(e===this.oLeftColumn&&o===this.oRightColumn||o===this.oLeftColumn&&e===this.oRightColumn)}.bind(this))){return\"For Two columns layout all lines have to go from one column to the other.\"}else{return null}};G.prototype._calcLanesProperties=function(){var e;this.aLanes=[];this.oGraph.getGroups().forEach(function(e){if(!e.getParentGroupKey()){this.aLanes.push(e.getKey())}}.bind(this));this.aLanes.sort();var o=this.aLanes.map(Number.prototype.valueOf,0);this.oGraph.getNodes().forEach(function(t){var i=t._oGroup,r=i._oTopParentGroup&&i._oTopParentGroup.getKey()||t.getGroup();e=this.aLanes.indexOf(r);t._iGroupIndex=i._iLaneIndex=e;if(i._iNestedLevel>o[e]){o[e]=i._iNestedLevel}}.bind(this));this.oGraph.getGroups().forEach(function(e){var o=e._oTopParentGroup&&e._oTopParentGroup.getKey()||e.getKey();e._iLaneIndex=this.aLanes.indexOf(o)}.bind(this));this.aLaneWidths=[];this.oGraph.getNodes().forEach(function(e){if(!this.aLaneWidths[e._iGroupIndex]||this.aLaneWidths[e._iGroupIndex]<e._iWidth){this.aLaneWidths[e._iGroupIndex]=e._iWidth}}.bind(this));this.aLaneWidths=this.aLaneWidths.map(function(e,o){var t=this.oGraph.mGroups[this.aLanes[o]],i=t.getMinWidth()||h;return Math.max(i,e)}.bind(this));this.aLaneGroupWidths=this.aLaneWidths.map(function(e,t){return e+o[t]*n*2});var t=this.oGraph.$(\"innerscroller\").width();t=Math.max(this.aLaneGroupWidths[0]+this.aLaneGroupWidths[1]+p+l*2,t);this.aLaneCenters=[l+this.aLaneGroupWidths[0]/2+(this.oGraph._bIsRtl?30:0),t-this.aLaneGroupWidths[1]/2-l*1.5]};G.prototype._createNodesGrid=function(){var e=this.oGraph.getGroups(),o=0;var t=e.filter(function(e){return e._iNestedLevel===0});this.aGrid=this.aLanes.map(function(e){return[]});var i=function(e){e.aNodes.forEach(function(t){var i=t._oGroup._oCollapsedByParent,r=i||e;if(!e.getCollapsed()&&!i){this.aGrid[o].push(t)}else if(r.getCollapsed()){while(r._oCollapsedByParent){r=r._oCollapsedByParent}if(!r._bNestedSet){r._bNestedSet=true;this.aGrid[o].push(t)}}}.bind(this));e.aChildGroups.forEach(function(e){i(e)})}.bind(this);t.forEach(function(e,t){e._iTopGroupIndex=t;i(e);o++})};G.prototype._calcNodeEndingAndStartingPoints=function(){var e=function(e,o,t,i,r){var n=e._oParentGroup;while(n&&n._iNestedLevel>0){if(!n[t]||r){n[t]=o;if(!n._oCollapsedByParent&&!n.getCollapsed()){o[i]++}}else{return}n=n._oParentGroup}};var o=function(o){if(!o._oGroup._oLastNode){o._oGroup._oLastNode=o;if(!o._oGroup._oCollapsedByParent&&!o._oGroup.getCollapsed()){o._iEndingGroupCount++}e(o._oGroup,o,\"_oLastNode\",\"_iEndingGroupCount\",false)}};var t=function(o){if(!o._oGroup._oFirstNode){o._oGroup._oFirstNode=o;if(!o._oGroup._oCollapsedByParent&&!o._oGroup.getCollapsed()){o._iStartingGroupCount++}e(o._oGroup,o,\"_oFirstNode\",\"_iStartingGroupCount\",false)}};for(var i=0;i<this.aGrid.length;i++){var r=null;for(var n=0;n<this.aGrid[i].length;n++){var s=this.aGrid[i][n];if(s._oGroup!==r){t(s);r=s._oGroup}}r=null;for(var n=this.aGrid[i].length-1;n>=0;n--){var s=this.aGrid[i][n];if(s._oGroup!==r){o(s);r=s._oGroup}}}};G.prototype._setGroupCoordinates=function(){var e=this.aLanes.map(Number.prototype.valueOf,0);var o=function(e,o){var t=o._oGroup._oCollapsedByParent||o._oGroup.getCollapsed()?0:1,i=o._oGroup._oParentGroup;if(e===o._oGroup){return t}while(i){if(!i._oCollapsedByParent&&!i.getCollapsed()){t++}if(e===i){break}i=i._oParentGroup}return t};var t=function(e,o){var t=0,i=o._oGroup._oParentGroup;if(e===o._oGroup){return t}while(i){if(!i._oCollapsedByParent&&!i.getCollapsed()){t++}if(e===i){break}i=i._oParentGroup}return t};this.oGraph.getGroups().forEach(function(o){e[o._iLaneIndex]=o._iNestedLevel>e[o._iLaneIndex]?o._iNestedLevel:e[o._iLaneIndex]});this.oGraph.getGroups().forEach(function(i){if(i._iNestedLevel===0){i.setX(this.aLaneCenters[i._iLaneIndex]-this.aLaneWidths[i._iLaneIndex]);i.setY(0)}else if(i._oLastNode&&i._oFirstNode){i._iWidth=this.aLaneWidths[i._iLaneIndex]+(e[i._iLaneIndex]-i._iNestedLevel)*n*2+n*2;i.setX(this.aLaneCenters[i._iLaneIndex]-i._iWidth/2);var r=t(i,i._oLastNode),s=r*(n/2)+n/2,h=o(i,i._oFirstNode),p=h*u;var d=i._oFirstNode.getY()-p,l=i._oLastNode._oGroup.getCollapsed()||i._oLastNode._oGroup._oCollapsedByParent?a:i._oLastNode._iHeight;i.setY(d);i._iHeight=i.getCollapsed()?a:i._oLastNode.getY()+l-d+s}}.bind(this))};G.prototype._setNodesCoordinates=function(){this.aGrid.forEach(function(e){var o=d;e.forEach(function(e){var t=e._oGroup._oCollapsedByParent||e._oGroup;e.setX(this.aLaneCenters[e._iGroupIndex]-e._iWidth/2);o+=e._iStartingGroupCount*u;e.setY(o);o+=s/2;o+=e._iEndingGroupCount*n/2;o+=t.getCollapsed()?a:e._iHeight}.bind(this))}.bind(this))};G.prototype._setLinesCoordinates=function(){var e,o,t,i,r=[],n=[],s=[],a=function(e){var o;if(!e._oGroup){return null}o=e._oGroup;while(o&&o._isCollapsed()){if(!o._oParentGroup||!o._oParentGroup._isCollapsed()){return o}o=o._oParentGroup}return null},u=function(e){var o;if(e._oTopParentGroup===this.oLeftColumn){o=e.getX()+e._iWidth+2*e._getBorderSize()}else{o=e.getX()}return{x:o,y:e.getY()+e._iHeight/2}},h=function(e){var o,t,i;if(e.groupDelegate){e.anchors.forEach(function(o){e.groupDelegate.anchors.push({node:e,line:o.line,oppositeY:o.oppositeY});if(e.isLeftie){s.push(o.line)}});return}o=(e._iHeight-2*f)/(e.anchors.length-1);t=e.anchors.length===1?e.getCenterPosition().y:e.getY()+f;i=t;e.anchors.sort(function(e,o){return e.oppositeY-o.oppositeY}).forEach(function(t){var r=t.line,n=e.getCenterPosition().x;if(e===r.getFromNode()){r.setSource({x:n,y:i})}else if(e===r.getToNode()){r.setTarget({x:n,y:i})}i+=o;if(e.isLeftie){s.push(r)}})},p=function(e){var o=u.bind(this)(e),t=(e._iHeight-2*f)/(e.anchors.length-1),i=e.anchors.length===1?u.bind(this)(e).y:e.getY()+f,r=i;e.anchors.sort(function(e,o){return e.oppositeY-o.oppositeY}).forEach(function(e){var i=e.line;if(e.node===i.getFromNode()){i.setSource({x:o.x,y:r})}else if(e.node===i.getToNode()){i.setTarget({x:o.x,y:r})}r+=t})},d=function(){var e=_*(this.oRightColumn.getX()-(this.oLeftColumn.getX()+this.oLeftColumn._iWidth)),o=this.oGraph.getLines().length-1,t=e/o,i=t<g?t:g,a=(r[0].getCenterPosition().x+n[0].getCenterPosition().x)/2,u=a-o*i/2,h=u,p=u;s.forEach(function(e){if(h>=n[0]._oGroup.getX()-i){h=p}else{h+=i}e.addBend({x:h,y:e.getSource().getY()});e.addBend({x:h,y:e.getTarget().getY()})})}.bind(this);this.oGraph.getNodes().forEach(function(e){if(e._oGroup){if(e._oGroup._oTopParentGroup===this.oLeftColumn){e.isLeftie=true;r.push(e)}else if(e._oGroup._oTopParentGroup===this.oRightColumn){e.isLeftie=false;n.push(e)}}e.groupDelegate=a(e);e.anchors=[]}.bind(this));this.oGraph.getLines().forEach(function(r){e=r.getFromNode();o=r.getToNode();t=e.getCenterPosition();i=o.getCenterPosition();e.anchors.push({line:r,oppositeY:i.y});o.anchors.push({line:r,oppositeY:t.y});r.setSource({x:0,y:0});r.clearBends()});this.oGraph.getGroups().forEach(function(e){e.anchors=[]});r.sort(function(e,o){return e.getY()-o.getY()}).forEach(h);n.sort(function(e,o){return e.getY()-o.getY()}).forEach(h);this.oGraph.getGroups().sort(function(e,o){return e.getY()-o.getY()}).forEach(p.bind(this));d()};return G});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/networkgraph/util/Dijkstra\", [],function(){\"use strict\";function e(e,t,i){this.oGraph=e;this.oSourceNode=t;this.oSettings=Object.assign({fnLineValue:function(){return 1},bIgnoreDirections:false,bIgnoreCollapsed:false},i);this._compute()}e.prototype._compute=function(){var e,t,i,o=[this.oSourceNode],n={},r={},s={},g=this.oSettings.fnLineValue,h=this.oSettings.bIgnoreDirections,u=this.oSettings.bIgnoreCollapsed;function f(e,t){for(var i=0;i<o.length;i++){if(t>r[o[i].getKey()]){o.splice(i,0,e);return}}o.push(e)}function l(t,i){var o=i?t.getFromNode():t.getToNode(),n=o.getKey(),h=r[e.getKey()]+g(t);if(h<r[n]){r[n]=h;s[n]={line:t,reverse:i};f(o,h)}}this.oGraph.getNodes().forEach(function(e){r[e.getKey()]=Number.MAX_VALUE});r[this.oSourceNode.getKey()]=0;while(o.length>0){e=o.shift();if(n[e.getKey()]){continue}if(u&&(e.isHidden()||e.getVisible()===false||e._isIgnored())){continue}n[e.getKey()]=true;t=e.getChildLines();for(i=0;i<t.length;i++){l(t[i],false)}if(h){t=e.getParentLines();for(i=0;i<t.length;i++){l(t[i],true)}}}this.mDist=r;this.mPath=s};e.prototype.getShortestPathTo=function(e){var t=this.mPath[e.getKey()],i=[],o,n;if(t){o=t.reverse?t.line.getFromNode():t.line.getToNode()}while(t&&o!==this.oSourceNode){i.push(t.line);n=t.reverse?t.line.getToNode():t.line.getFromNode();t=this.mPath[n.getKey()];if(t){o=t.reverse?t.line.getFromNode():t.line.getToNode()}}return i};return e},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/Circle\", [\"sap/suite/ui/commons/statusindicator/Shape\",\"sap/suite/ui/commons/util/HtmlElement\",\"sap/suite/ui/commons/statusindicator/SimpleShape\",\"sap/suite/ui/commons/statusindicator/SimpleShapeRenderer\",\"../library\",\"sap/m/library\"],function(t,e,i,s,r,a){\"use strict\";var o=r.SemanticColorType;var u=a.ValueCSSColor;var l=i.extend(\"sap.suite.ui.commons.statusindicator.Circle\",{metadata:{library:\"sap.suite.ui.commons\",properties:{cx:{type:\"float\",defaultValue:0},cy:{type:\"float\",defaultValue:0},r:{type:\"float\",defaultValue:0}}},renderer:s});l.prototype._getSimpleShapeElement=function(t){var i=new e(\"circle\");var s=this._getCssStrokeColor();i.setId(this._buildIdString(t));i.setAttribute(\"cx\",this.getCx());i.setAttribute(\"cy\",this.getCy());i.setAttribute(\"r\",this.getR());i.setAttribute(\"stroke-width\",this.getStrokeWidth());if(o.hasOwnProperty(s)){i.addClass(\"strokeSemanticColor\"+s)}if(u.isValid(s)){i.setAttribute(\"stroke\",s)}return i};return l});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/CustomShape\", [\"sap/ui/thirdparty/jquery\",\"../library\",\"sap/suite/ui/commons/statusindicator/ShapeGroup\",\"sap/suite/ui/commons/statusindicator/Shape\",\"sap/suite/ui/commons/statusindicator/Path\",\"sap/suite/ui/commons/statusindicator/Circle\",\"sap/suite/ui/commons/statusindicator/Rectangle\",\"sap/suite/ui/commons/util/HtmlElement\",\"sap/base/Log\",\"./CustomShapeRenderer\",\"sap/m/library\"],function(jQuery,e,t,i,r,o,a,s,n,p,l){\"use strict\";var u=e.SemanticColorType;var h=l.ValueCSSColor;var d=e.statusindicator.FillingType;var f=i.extend(\"sap.suite.ui.commons.statusindicator.CustomShape\",{metadata:{library:\"sap.suite.ui.commons\",properties:{x:{type:\"int\",defaultValue:0},y:{type:\"int\",defaultValue:0},width:{type:\"sap.ui.core.CSSSize\",defaultValue:\"100%\"},height:{type:\"sap.ui.core.CSSSize\",defaultValue:\"100%\"},strokeColor:{type:\"string\",defaultValue:\"Neutral\"},strokeWidth:{type:\"float\",defaultValue:.25},definition:{type:\"string\",defaultValue:null}},defaultAggregation:\"shapes\",aggregations:{shapes:{type:\"sap.suite.ui.commons.statusindicator.SimpleShape\",multiple:true,defaultValue:null},fillingOptions:{type:\"sap.suite.ui.commons.statusindicator.FillingOption\",multiple:true,defaultValue:null}}}});f.prototype.init=function(){if(i.prototype.init){i.prototype.init.apply(this,arguments)}this._iDisplayedValue=0;this._initShapeState()};f.prototype.onBeforeRendering=function(){this._refreshInternalStructure()};f.prototype.onAfterRendering=function(){this._updateDom(this.getDisplayedValue())};f.prototype.setStrokeColor=function(e,t){var i=false;if(u.hasOwnProperty(e)){i=true}else{i=h.isValid(e)}if(e!=null&&!i){throw new Error(`Value ${e} is not valid for property \"strokeColor\"`)}return this.setProperty(\"strokeColor\",i?e:null,t)};f.prototype.addFillingOption=function(e){var t=typeof e.getOrder()===\"undefined\";if(t){n.fatal(\"The passed FillingOption has to have set its order property.\");return this}var i=this.getFillingOptions().length>0&&this.getFillingOptions().filter(function(t){return t.getOrder()===e.getOrder()}).length>0;if(i){n.fatal(\"The property 'order' has to be unique within the FillingOptions aggregation, but option\"+\" with order: \"+e.getOrder()+\" is already inserted. No FillingOption added.\");return this}return this.addAggregation(\"fillingOptions\",e,true)};f.prototype._initShapeState=function(){this._aFillableSubShapes=[];this.oDefinition=[];this._sViewBox=null;this.destroyShapes()};f.prototype._refreshInternalStructure=function(){this._initShapeState();this._aFillableSubShapes.forEach(function(e){if(e.fillingOption){e.fillingOption.destroy()}e.shape.destroy()});if(!this.getDefinition()){if(!this.isA(\"sap.suite.ui.commons.statusindicator.LibraryShape\")){n.fatal(\"Definition has to be specified.\")}return}var e=jQuery(this.getDefinition());this._sViewBox=e[0].getAttribute(\"viewBox\");jQuery.map(e.children(),this._preprocessNode.bind(this))};f.prototype._preprocessNode=function(e){var t=jQuery(e),i=t.prop(\"tagName\"),r=this;switch(i){case\"g\":jQuery.map(t.children(),function(e){return r._preprocessLeafNode.call(r,jQuery(e))});break;default:this._preprocessLeafNode(t)}};f.prototype._preprocessLeafNode=function(e){var t=e.prop(\"tagName\");switch(t){case\"path\":this._preprocessPathNode(e);break;case\"circle\":this._preprocessCircleNode(e);break;case\"rect\":this._preprocessRectangleNode(e);break;case\"defs\":this._preprocessDefinitionsNode(e[0]);break;default:n.fatal(\"Unsupported node tag name ('\"+t+\"')\")}};f.prototype._preprocessPathNode=function(e){var t=new r({d:e.attr(\"d\")});this._prepareShape(t,e)};f.prototype._preprocessCircleNode=function(e){var t=new o({cx:Number(e.attr(\"cx\")),cy:Number(e.attr(\"cy\")),r:Number(e.attr(\"r\"))});this._prepareShape(t,e)};f.prototype._preprocessRectangleNode=function(e){var t=new a({x:Number(e.attr(\"x\")),y:Number(e.attr(\"y\")),width:Number(e.attr(\"width\")),height:Number(e.attr(\"height\"))});this._prepareShape(t,e)};f.prototype._preprocessDefinitionsNode=function(e){var t=new s(\"defs\");t.addChild(e.innerHTML);return t};f.prototype._setInitialValue=function(e){this._iDisplayedValue=e};f.prototype.getDisplayedValue=function(){return this._iDisplayedValue};f.prototype._prepareShape=function(e,t){e.setFillingAngle(this.getFillingAngle());e.setStrokeWidth(this.getStrokeWidth());e.setStrokeColor(this.getStrokeColor());this.addShape(e);e._injectAnimationPropertiesResolver(this._oAnimationPropertiesResolver);var i=t.attr(\"style\");if(!i){e.setFillingDirection(this.getFillingDirection());e.setFillColor(this.getFillColor());e.setFillingType(this.getFillingType());var r=t.data(\"shape-id\");var o={shape:e,fillingOption:r?this._getFillingOptionById(r):null};this._aFillableSubShapes.push(o);if(o.fillingOption){this._aFillableSubShapes.sort(function(e,t){var i=e.fillingOption;var r=t.fillingOption;if(!i){return-1}if(!r){return 1}return i.getOrder()-r.getOrder()})}}else{e.setFillingType(d.None);e._setStyle(i)}};f.prototype._updateDom=function(e,t){function i(e){var t=e.fillingOption;return t&&t.getWeight()!==0?t.getWeight():1}n.debug(\"Updating to \"+e,null,this);if(this._aFillableSubShapes.length===0){n.info(\"Update of DOM skipped. No shape for update found\");return}var r=this._aFillableSubShapes.reduce(function(e,t){return e+i(t)},0);try{var o=this;var a=t?e:this._oAnimationPropertiesResolver.getValue(this,e);this._aFillableSubShapes.forEach(function(s){var p=i(s);var l=p/r;var u;if(a===0){u=0}else if(a>=100*l){u=100}else{u=a/l}a-=u*l;if(!t){var h=s.shape.getRenderer();var d=o.getDisplayedFillColor(e);n.debug(\"Updating color to '\"+d+\"'\",null,s.shape);h._updateDomColor(s.shape,d)}s.shape._updateDom(u,true)})}catch(e){n.fatal(\"Update of DOM failed. Reason: \"+e.message);return}if(!t){this._oAnimationPropertiesResolver.propagateValueChange(this,e);this._oAnimationPropertiesResolver.propagateColorChange(this,e)}this._iDisplayedValue=e};f.prototype._getFillingOptionById=function(e){var t=null;this.getFillingOptions().some(function(i){if(i.getShapeId()===e){t=i;return true}return false});return t};f.prototype._getInternalViewBox=function(){return this._sViewBox};return f});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/CustomShapeRenderer\", [\"../library\",\"sap/suite/ui/commons/util/HtmlElement\",\"sap/ui/core/Renderer\"],function(t,e,r){\"use strict\";var i=r.extend(\"sap.suite.ui.commons.statusindicator.CustomShapeRenderer\");i.apiVersion=2;i.render=function(t,e){var r=this._getHtmlModel(e);r.getRenderer().render(t)};i._getHtmlModel=function(t){var r=new e(\"svg\");r.addControlData(t);r.setAttribute(\"version\",\"1.1\");r.setAttribute(\"xlmns\",\"http://www.w3.org/2000/svg\");var i=t._getInternalViewBox();if(i){r.setAttribute(\"viewBox\",i)}r.setAttribute(\"preserveAspectRatio\",t._buildPreserveAspectRatioAttribute());r.setAttribute(\"x\",t.getX());r.setAttribute(\"y\",t.getY());r.setAttribute(\"width\",t.getWidth());r.setAttribute(\"height\",t.getHeight());t.getShapes().forEach(r.addChild.bind(r));return r};i._updateDomColor=function(t,e){t._aFillableSubShapes.forEach(function(t){var r=t.shape;var i=r.getRenderer();i._updateDomColor(r,e)})};return i},true);\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/DiscreteThreshold\", [\"sap/ui/core/Control\"],function(e){\"use strict\";var t=e.extend(\"sap.suite.ui.commons.statusindicator.DiscreteThreshold\",{metadata:{library:\"sap.suite.ui.commons\",properties:{value:{type:\"int\",defaultValue:0},ariaLabel:{type:\"string\",defaultValue:null}}},renderer:null});return t});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/FillingOption\", [\"sap/ui/core/Control\",\"sap/base/Log\"],function(e,t){\"use strict\";var i=e.extend(\"sap.suite.ui.commons.statusindicator.FillingOption\",{metadata:{library:\"sap.suite.ui.commons\",properties:{shapeId:{type:\"string\",defaultValue:null},weight:{type:\"int\",defaultValue:1},order:{type:\"int\"}}},renderer:null});i.prototype.setWeight=function(e){if(e<=0){t.fatal(\"An invalid weight is passed. Weight should be a positive integer. Given: \"+e)}this.setProperty(\"weight\",e)};return i});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/LibraryShape\", [\"./CustomShape\",\"./CustomShapeRenderer\",\"./shapes/ShapeFactory\"],function(e,t,a){\"use strict\";var r=e.extend(\"sap.suite.ui.commons.statusindicator.LibraryShape\",{metadata:{library:\"sap.suite.ui.commons\",properties:{shapeId:{type:\"string\",group:\"Misc\",defaultValue:null}},events:{afterShapeLoaded:{}}},renderer:t});r.prototype.setShapeId=function(e){e=this._getValidShapeId(e);this.setProperty(\"shapeId\",e,true);(new a).getShapeById(e).then(function(e){this.setDefinition(e);this.fireAfterShapeLoaded()}.bind(this));return this};r.prototype._getValidShapeId=function(e){return e.replace(/[\\\\\\.\\/]/g,\"\")};return r});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/Path\", [\"sap/suite/ui/commons/util/HtmlElement\",\"sap/suite/ui/commons/statusindicator/SimpleShape\",\"sap/suite/ui/commons/statusindicator/SimpleShapeRenderer\",\"../library\",\"sap/m/library\"],function(t,e,s,i,a){\"use strict\";var r=i.SemanticColorType;var o=a.ValueCSSColor;var u=e.extend(\"sap.suite.ui.commons.statusindicator.Path\",{metadata:{library:\"sap.suite.ui.commons\",properties:{d:{type:\"string\",defaultValue:null}}},renderer:s});u.prototype._getSimpleShapeElement=function(e){var s=new t(\"path\");var i=this._getCssStrokeColor();s.setId(this._buildIdString(e));s.setAttribute(\"d\",this.getD());s.setAttribute(\"stroke-width\",this.getStrokeWidth());if(r.hasOwnProperty(i)){s.addClass(\"strokeSemanticColor\"+i)}if(o.isValid(i)){s.setAttribute(\"stroke\",i)}if(this.aCustomStyleClasses){this.aCustomStyleClasses.forEach(s.addClass.bind(s))}return s};return u});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/PropertyThreshold\", [\"sap/ui/core/Control\",\"sap/suite/ui/commons/statusindicator/util/ThemingUtil\",\"../library\",\"sap/m/library\"],function(l,r,t,o){\"use strict\";var e=t.SemanticColorType;var i=o.ValueCSSColor;var s=l.extend(\"sap.suite.ui.commons.statusindicator.PropertyThreshold\",{metadata:{library:\"sap.suite.ui.commons\",properties:{fillColor:{type:\"string\",defaultValue:\"Neutral\"},toValue:{type:\"int\",defaultValue:0},ariaLabel:{type:\"string\",defaultValue:null}}},renderer:null});s.prototype._getCssFillColor=function(){if(!this._cssFillColor){this._cssFillColor=r.resolveColor(this.getFillColor())}return this._cssFillColor};s.prototype.setFillColor=function(l,r){var t=false;if(e.hasOwnProperty(l)){t=true}else{t=i.isValid(l)}if(l!=null&&!t){throw new Error(`Value ${l} is not valid for property \"fillColor\"`)}return this.setProperty(\"fillColor\",t?l:null,r)};return s});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/Rectangle\", [\"sap/suite/ui/commons/util/HtmlElement\",\"sap/suite/ui/commons/statusindicator/SimpleShape\",\"sap/suite/ui/commons/statusindicator/SimpleShapeRenderer\",\"../library\",\"sap/m/library\"],function(t,e,i,s,r){\"use strict\";var a=s.SemanticColorType;var u=r.ValueCSSColor;var n=e.extend(\"sap.suite.ui.commons.statusindicator.Rectangle\",{metadata:{library:\"sap.suite.ui.commons\",properties:{x:{type:\"int\",defaultValue:0},y:{type:\"int\",defaultValue:0},rx:{type:\"int\",defaultValue:0},ry:{type:\"int\",defaultValue:0},width:{type:\"int\",defaultValue:0},height:{type:\"int\",defaultValue:0}}},renderer:i});n.prototype._getSimpleShapeElement=function(e){var i=new t(\"rect\");var s=this._getCssStrokeColor();i.setId(this._buildIdString(e));i.setAttribute(\"x\",this.getX());i.setAttribute(\"y\",this.getY());i.setAttribute(\"width\",this.getWidth());i.setAttribute(\"height\",this.getHeight());i.setAttribute(\"rx\",this.getRx());i.setAttribute(\"ry\",this.getRy());i.setAttribute(\"stroke-width\",this.getStrokeWidth());if(a.hasOwnProperty(s)){i.addClass(\"strokeSemanticColor\"+s)}if(u.isValid(s)){i.setAttribute(\"stroke\",s)}return i};return n});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/suite/ui/commons/statusindicator/Shape\", [\"sap/ui/thirdparty/jquery\",\"../library\",\"sap/ui/core/Control\",\"sap/suite/ui/commons/util/HtmlElement\",\"sap/suite/ui/commons/statusindicator/util/ThemingUtil\",\"sap/base/Log\",\"sap/m/library\"],function(jQuery,t,i,e,n,r,o){\"use strict\";var l=t.statusindicator.FillingType;var a=t.statusindicator.FillingDirectionType;var s=t.statusindicator.VerticalAlignmentType;var u=t.statusindicator.HorizontalAlignmentType;var g=t.SemanticColorType;var p=o.ValueCSSColor;var d=i.extend(\"sap.suite.ui.commons.statusindicator.Shape\",{metadata:{abstract:true,library:\"sap.suite.ui.commons\",properties:{fullAnimationDuration:{type:\"int\",defaultValue:0},fillColor:{type:\"string\",defaultValue:\"Neutral\"},animationOnStartup:{type:\"boolean\",defaultValue:false},animationOnChange:{type:\"boolean\",defaultValue:true},animationOnStartupDelay:{type:\"int\",defaultValue:0},fillingDirection:{type:\"sap.suite.ui.commons.statusindicator.FillingDirectionType\",defaultValue:a.Up},fillingType:{type:\"sap.suite.ui.commons.statusindicator.FillingType\",defaultValue:l.Linear},fillingAngle:{type:\"int\",defaultValue:undefined},verticalAlignment:{type:\"sap.suite.ui.commons.statusindicator.VerticalAlignmentType\",defaultValue:s.Middle},horizontalAlignment:{type:\"sap.suite.ui.commons.statusindicator.HorizontalAlignmentType\",defaultValue:u.Middle}}},renderer:null});d.prototype.GRADIENT_ID=\"gradient\";d.prototype.STOP_ID=\"stop\";d.prototype.getDisplayedValue=function(){r.fatal(\"Must be overridden!\")};d.prototype._setInitialValue=function(t){r.fatal(\"Must be overridden!\")};d.prototype._updateDom=function(t,i){r.fatal(\"Must be overridden!\")};d.prototype.init=function(){if(i.prototype.init){i.prototype.init.apply(this,arguments)}this._oAnimationPropertiesResolver=null};d.prototype.onBeforeRendering=function(){if(i.prototype.onBeforeRendering){i.prototype.onBeforeRendering.apply(this,arguments)}this._clearBoundingBox()};d.prototype.setFillColor=function(t,i){var e=false;if(g.hasOwnProperty(t)){e=true}else{e=p.isValid(t)}if(t!=null&&!e){throw new Error(`Value ${t} is not valid for property \"fillColor\"`)}return this.setProperty(\"fillColor\",e?t:null,i)};d.prototype._getCssFillColor=function(){return n.resolveColor(this.getFillColor())};d.prototype._resolveFillColor=function(){return this._oAnimationPropertiesResolver.getColor(this,this.getDisplayedValue())};d.prototype._injectAnimationPropertiesResolver=function(t){this._oAnimationPropertiesResolver=t};d.prototype.getDisplayedFillColor=function(t){return this._oAnimationPropertiesResolver.getColor(this,t)};d.prototype.getFullAnimationDuration=function(){return 250};d.prototype._buildPreserveAspectRatioAttribute=function(){var t=\"x\";switch(this.getHorizontalAlignment()){case u.Left:t+=\"Min\";break;case u.Middle:t+=\"Mid\";break;case u.Right:t+=\"Max\";break}t+=\"Y\";switch(this.getVerticalAlignment()){case s.Top:t+=\"Min\";break;case s.Middle:t+=\"Mid\";break;case s.Bottom:t+=\"Max\";break}t+=\" meet\";return t};d.prototype._getGradientElement=function(t){var i=new e(this.getFillingType()===l.Linear?\"linearGradient\":\"radialGradient\");i.setId(this._buildIdString(this.getId(),this.GRADIENT_ID));if(this.getFillingType()===l.Linear){var n=this.computeLinearFillingAngle();i.setAttribute(\"x1\",n===90?1:0);i.setAttribute(\"y1\",n===0?1:0);i.setAttribute(\"x2\",n===270?1:0);i.setAttribute(\"y2\",n===180?1:0)}var r=this._getDisplayedGradientOffset(t);var o=new e(this.STOP_ID);o.setAttribute(\"offset\",r);o.setAttribute(\"stop-color\",\"white\");i.addChild(o);var a=new e(this.STOP_ID);a.setAttribute(\"offset\",r);a.setAttribute(\"stop-color\",\"transparent\");i.addChild(a);return i};d.prototype.getPolygonElement=function(t){var i=new e(\"polygon\");i.setId(this._buildIdString(this.getId(),\"polygon\"));i.setAttribute(\"fill\",\"white\");return i};d.prototype.computeLinearFillingAngle=function(){if(this.getFillingAngle()!==undefined){return this._getNormalizedFillingAngle()}switch(this.getFillingDirection()){case a.Up:return 0;case a.Down:return 180;case a.Left:return 90;case a.Right:return 270;default:r.error(\"Unknown FillingDirection '\"+this.getFillingDirection()+\"'\");return 0}};d.prototype._useGradientForAnimation=function(){var t=this._getNormalizedFillingAngle();var i=this.getFillingType();return i===l.Radial||i===l.Linear&&(t===undefined||[0,90,180,270].indexOf(t)>-1)};d.prototype._getPolygonPoints=function(t){var i;switch(this.getFillingType()){case l.Linear:i=this._getPolygonPointsForLinearFilling(t);break;case l.Circular:i=this._getPolygonPointsForCircularFilling(t);break;default:r.error(\"Unknown FillingType '\"+this.getFillingType()+\"' given.\");i=this._getPolygonPointsForLinearFilling(t)}i=i.map(function(t){t.x=Number(t.x.toFixed(3));t.y=Number(t.y.toFixed(3));return t});return i};d.prototype._getPolygonPointsForLinearFilling=function(t){var i=180-this._getNormalizedFillingAngle();var e=Math.tan(i*Math.PI/180);var n=this._getBoundingPoints();var r=n.start;var o=n.end;var l=r.y-e*r.x;var a=o.y-e*o.x;var s=l+(a-l)/100*t;var u=r.x;var g=u*e+s;var p=r.y;var d=(p-s)/e;var h=[r,{x:u,y:g},{x:d,y:p}];return h};d.prototype._getPolygonPointsForCircularFilling=function(t){var i=this,e=3.6*t,n=this._getBoundingBox(),r=[];var o,l,s;var u=h(n.x+n.width/2,n.y);var g=h(n.x+n.width/2,n.y+n.height/2);function p(t){var e=Object.assign({},t);if(i.getFillingDirection()===a.CounterClockwise){var n=t.x-g.x;e.x=g.x-n}return e}function d(t,i,e){var n=Math.tan((i-t)*Math.PI/180);return n*e/2}r.push(u);if(0<e&&e<45){o=d(e,0,n.height);s=h(u.x-o,u.y);r.push(p(s))}if(45<=e){r.push(p(h(n.x+n.width,n.y)))}if(45<e&&e<135){l=d(e,90,n.width);s=h(n.x+n.width,n.y+n.height/2-l);r.push(p(s))}if(135<=e){r.push(p(h(n.x+n.width,n.y+n.height)))}if(135<e&&e<225){o=d(e,180,n.height);s=h(n.x+n.width/2+o,n.y+n.height);r.push(p(s))}if(225<=e){r.push(p(h(n.x,n.y+n.height)))}if(225<e&&e<315){l=d(e,270,n.width);s=h(n.x,n.y+n.height/2+l);r.push(p(s))}if(315<=e){r.push(p(h(n.x,n.y)))}if(315<e&&e<=360){o=d(e,360,n.height);s=h(n.x+n.width/2-o,n.y);r.push(p(s))}r.push(g);return r};d.prototype._isFillingAngleInFirstQuadrant=function(){var t=this._getNormalizedFillingAngle();return 0<t&&t<90};d.prototype._isFillingAngleInSecondQuadrant=function(){var t=this._getNormalizedFillingAngle();return 90<t&&t<180};d.prototype._isFillingAngleInTh Copyright 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2009-2015, 2203 SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/CardProvider\", [\"sap/ui/base/Object\",\"sap/insights/CardHelper\"],function(i,e){return i.extend(\"sap.insights.CardProvider\",{constructor:function(i,s){e.getServiceAsync().then(function(e){e.getCardsChannel().then(function(e){if(e.isEnabled()){this.channel=e;this.id=i;this.sharedCards=s;this.consumers={};this._registerProvider()}}.bind(this))}.bind(this))},_registerProvider:function(){if(this.channel){return this.channel.registerProvider(this.id,this).then(function(){this.registered=true}.bind(this))}},_unregisterProvider:function(){if(this.channel){return this.channel.unregister(this.id).then(function(){this.registered=false;this.consumers={};this.sharedCards=[]}.bind(this))}},_shareAvailableCards:function(i){var e=this.sharedCards.map(function(i){return{id:i.id,title:i.descriptorContent[\"sap.card\"].header.title,parentAppId:i.descriptorContent[\"sap.insights\"].parentAppId,description:i.descriptorContent[\"sap.card\"].header.subTitle?i.descriptorContent[\"sap.card\"].header.subTitle:\"\"}});this.channel.publishAvailableCards(this.id,e,i)},onConsumerConnected:function(i){if(!this.consumers[i]){this.consumers[i]=true;this._shareAvailableCards(i)}},onConsumerDisconnected:function(i){if(this.consumers[i]){delete this.consumers[i]}},onCardRequested:function(i,e){if(this.consumers[i]){var s=this.sharedCards.find(function(i){return i.id===e});if(s){this.publishCard(this.id,s,i)}}},onViewUpdate:function(i,e){if(this.registered!==i){if(i){this._registerProvider().then(function(){this.sharedCards=e;this._shareAvailableCards()}.bind(this))}else{this._unregisterProvider()}}else{if(this.registered){this.sharedCards=e;this._shareAvailableCards()}}}})});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n * POC\n */\nsap.ui.predefine(\"sap/insights/CardsChannel\", [\"sap/ui/base/Object\"],function(e){\"use strict\";var s=\"sap-insights\";var n=\"sap-insights\";var i={available:\"cardsAvailable\",requested:\"cardRequested\",provided:\"cardProvided\",subscribed:\"clientSubscribed\",cardCreationRequested:\"cardCreationRequested\",cardCreated:\"cardCreated\"};function t(){this.subscribers={};this.onMessage=function(e){if(typeof e.data===\"string\"){var n=JSON.parse(e.data);if(n.type===\"request\"){if(n.body.channelId===s&&this.onNewMessage){this.onNewMessage(n.body.clientId,n.body.channelId,n.body.messageName,n.body.data)}else if(this.onSubscriptionChange){if(n.body.messageName===\"clientSubscribed\"&&!this.subscribers[n.body.clientId]){this.subscribers[n.body.clientId]=true;this.onSubscriptionChange(n.body.messageName,n.body.clientId,n.body.channels)}else if(n.body.messageName===\"clientUnsubscribed\"&&this.subscribers[n.body.clientId]){delete this.subscribers[n.body.clientId];this.onSubscriptionChange(n.body.messageName,n.body.clientId,n.body.channels)}}}}};this.connect=function(e){return new Promise(function(n){var i=function(e){if(typeof e.data===\"string\"){var s=JSON.parse(e.data);if(s.body.messageName===\"connect\"){window.removeEventListener(\"message\",i);n()}}};window.addEventListener(\"message\",i);window.parent.postMessage(JSON.stringify({type:\"request\",service:\"sap.ushell.services.MessageBroker\",request_id:Date.now().toString(),body:{channelId:s,clientId:e,messageName:\"connect\"}}),\"*\")})};this.subscribe=function(e,s,n,i){this.onNewMessage=n;this.onSubscriptionChange=i;window.addEventListener(\"message\",this.onMessage.bind(this));window.parent.postMessage(JSON.stringify({type:\"request\",service:\"sap.ushell.services.MessageBroker\",request_id:Date.now().toString(),body:{channelId:\"sap.ushell.MessageBroker\",clientId:e,messageName:\"subscribe\",subscribedChannels:s}}),\"*\");return Promise.resolve()};this.publish=function(e,s,n,i,t,r){window.parent.postMessage(JSON.stringify({type:\"request\",service:\"sap.ushell.services.MessageBroker\",request_id:n,body:{channelId:e,clientId:s,messageName:i,targetClientIds:t,data:r}}),\"*\");return Promise.resolve()};this.unsubscribe=function(e,s){delete this.onNewMessage;delete this.onSubscriptionChange;window.addEventListener(\"message\",this.onMessage.bind(this));window.parent.postMessage(JSON.stringify({type:\"request\",service:\"sap.ushell.services.MessageBroker\",request_id:Date.now().toString(),body:{channelId:\"sap.ushell.MessageBroker\",clientId:e,messageName:\"unsubscribe\",subscribedChannels:s}}),\"*\");return Promise.resolve()};this.disconnect=function(e){window.removeEventListener(\"message\",this.onMessage.bind(this));window.parent.postMessage(JSON.stringify({type:\"request\",service:\"sap.ushell.services.MessageBroker\",request_id:Date.now().toString(),body:{channelId:s,clientId:e,messageName:\"disconnect\"}}),\"*\");return Promise.resolve()}.bind(this)}function r(e,n,t){this.onSubscriptionChange=function(i,t,r){if(e!==t&&r.find(function(e){return e.channelId===s})){if(i===\"clientSubscribed\"){n.onConsumerConnected(t)}else if(i===\"clientUnsubscribed\"){n.onConsumerDisconnected(t)}}};this.onNewMessage=function(r,o,a,c){if(o===s){switch(a){case i.subscribed:n.onConsumerConnected(r);break;case i.requested:n.onCardRequested(r,c);break;case i.cardCreationRequested:sap.ui.require([\"sap/insights/CardHelper\"],function(n){n.getServiceAsync().then(function(n){n._createCard(c.descriptorContent).then(function(o){n._getUserVisibleCardModel();t.publish(s,e,Date.now().toString(),i.cardCreated,[r],o)})})});break;default:break}}};this.register=function(){return t.connect(e).then(function(){return t.subscribe(e,[{channelId:s}],this.onNewMessage,this.onSubscriptionChange)}.bind(this))}}function o(e,n,t){this.onSubscriptionChange=function(r,o,a){if(e!==o&&a.find(function(e){return e.channelId===s})){if(r===\"clientSubscribed\"){t.publish(s,e,Date.now().toString(),i.subscribed,[o])}else if(r===\"clientUnsubscribed\"){n.onCardsAvailable(o,[])}}};this.onNewMessage=function(e,t,r,o){if(t===s){switch(r){case i.available:n.onCardsAvailable(e,o);break;case i.provided:n.onCardProvided(e,o);break;case i.cardCreated:n.onCardCreated(e,o);break;default:break}}};this.register=function(){return t.connect(e).then(function(){return t.subscribe(e,[{channelId:s}],this.onNewMessage,this.onSubscriptionChange)}.bind(this))}}var a=e.extend(\"sap.insights.CardsChannel\",{constructor:function(){this.clients={}},isEnabled:function(){return!!this.broker},init:function(){var e;const s=sap.ui.require(\"sap/ushell/Container\");if(s){e=s.getServiceAsync(\"MessageBroker\")}else{e=Promise.resolve(new t)}return e.then(function(e){this.broker=e;this.registerDefaultProvider()}.bind(this))},registerDefaultProvider:function(){const e={onConsumerConnected:function(e){},onConsumerDisconnected:function(e){}};this.registerProvider(n,e)},registerProvider:function(e,s){this.clients[e]=new r(e,s,this.broker);return this.clients[e].register()},registerConsumer:function(e,s){this.clients[e]=new o(e,s,this.broker);return this.clients[e].register()},publishAvailableCards:function(e,n,t){if(!t){t=\"*\"}return this.broker.publish(s,e,Date.now().toString(),i.available,[t],n)},requestCard:function(e,n,t){return this.broker.publish(s,e,Date.now().toString(),i.requested,[t],n)},requestCardCreation:function(e,n,t){return this.broker.publish(s,e,Date.now().toString(),i.cardCreationRequested,[t],n)},publishCard:function(e,n,t){if(!t){t=\"*\"}return this.broker.publish(s,e,Date.now().toString(),i.provided,[t],n)},unregister:function(e){return this.broker.unsubscribe(e,[{channelId:s}]).then(function(){delete this.clients[e];return this.broker.disconnect(e)}.bind(this))},destroy:function(){var e=[];for(var s in this.clients){e.push(this.unregister(s))}return Promise.all(e).then(function(){delete this.broker}.bind(this))}});return a});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n * This code handles S/4 cards in SAP Start and SAP Mobile Start\n */\nsap.ui.predefine(\"sap/insights/HandleNonS4Environment\", [\"sap/ushell/utils/UrlParsing\",\"sap/base/Log\",\"sap/ui/core/Configuration\"],function(a,t,e){\"use strict\";var r=\"(runtimeURL)\";var n=e.getSAPLogonLanguage();var i=function(){var a=\"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\";var t=\"\";var e=new window.Uint32Array(40);window.crypto.getRandomValues(e);var r=function(t){var r=e[t]%a.length;return a[r]};while(t.length<40){t+=r(t.length)}return t};var s=function(t,e){var r=JSON.parse(JSON.stringify(t)),n=\"\",i={};if(r.ibnParams&&r.ibnParams[\"sap-xapp-state-data\"]){delete r.ibnParams[\"sap-xapp-state-data\"]}i={target:r.ibnTarget,params:r.ibnParams};if(e){i.appStateKey=e}n=a.constructShellHash(i);n=encodeURI(n);n=\"#\"+n;return n};var o=function(a){var t;if(a){var e=a.getHostInstance();if(e){t=e.getDestination(r,a)}}if(!t){t=Promise.reject(\"S/4 runtime destination URL could not be determined!\")}return t};var u=async function(a,e){var r=a;if(r.indexOf(\"?\")<0){r+=\"?\"}else{r+=\"&\"}r+=\"sap-language=\"+n;try{var i=e?await(e.getHostInstance()?.getContextValue(\"navigation/flp/defaultQueryParams/value\")):null;if(i){i=JSON.parse(i);var s=Object.keys(i);if(s.length){s.forEach(function(a,t){r+=\"&\"+a+\"=\"+i[a]})}}}catch(a){t.error(a)}return r};var p=function(a,e,r){var n={id:e,sessionKey:\"\",component:\"\",appName:\"\",value:r.replaceAll(\"{\",\"\\\\{\")};return a.request({url:\"{{destinations.service}}/sap/opu/odata/UI2/INTEROP/GlobalContainers\",method:\"POST\",parameters:n,headers:{Accept:\"application/json\",\"X-CSRF-Token\":\"{{csrfTokens.token1}}\",\"content-type\":\"application/json\"}}).then(function(a){return}).catch(function(a){t.error(\"FAILED to save sap-xapp-state-data in S/4\")})};var c=async function(a){if(a.getParameter(\"type\")!==\"Navigation\"){return}var e=this.getCard();var r=a.getParameter(\"parameters\");if(r&&r.url){return}var n=r&&r.ibnParams&&r.ibnParams[\"sap-xapp-state-data\"];var c=n?i():\"\";var l=s(r,c);if(l){a.preventDefault(true);if(n){await p(e,c,r.ibnParams[\"sap-xapp-state-data\"])}try{var v=await o(this._oCard);if(v){var f=await u(v,this._oCard);f+=l;this.getCard().triggerAction({type:\"Navigation\",parameters:{url:f,target:\"_blank\"}})}}catch(a){t.error(a)}}};var l=function(a){a.attachAction(c.bind(a))};return{initialize:l,_:{createAppStateId:i,getIntent:s,getRuntimeDestinationUrl:o,addQueryParameter:u,saveXAppState:p,handleAction:c}}});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/ManageAddCardWithSearch\", [\"sap/ui/core/Control\",\"sap/m/Button\",\"sap/m/Dialog\",\"./utils/InsightsUtils\",\"sap/ui/integration/widgets/Card\",\"sap/m/VBox\",\"sap/m/HBox\",\"sap/m/ScrollContainer\",\"./utils/AppConstants\",\"./utils/CardSkeletonManifest\",\"sap/m/MessageToast\",\"sap/base/Log\",\"sap/m/IllustratedMessage\",\"sap/ui/performance/trace/FESRHelper\",\"sap/m/Title\",\"sap/m/Label\",\"sap/m/FlexBox\",\"sap/m/Toolbar\",\"sap/m/TextArea\",\"sap/m/Text\",\"sap/m/MessageStrip\",\"sap/ui/core/Icon\",\"sap/m/MessageBox\",\"sap/m/Token\",\"sap/m/Tokenizer\",\"sap/m/IllustratedMessageSize\",\"sap/m/IllustratedMessageType\",\"sap/m/FormattedText\",\"sap/m/ToggleButton\",\"sap/m/library\",\"sap/ui/core/library\"],function(e,t,s,a,i,n,r,o,l,d,g,u,h,p,c,f,m,T,B,y,x,_,S,C,b,v,w,I,E,M,A){\"use strict\";var D=M.FlexWrap;var R=A.ValueState;var U=JSON.parse(JSON.stringify(d));var P=JSON.parse(JSON.stringify(d));var O=e.extend(\"sap.insights.ManageAddCardWithSearch\",{renderer:null,metadata:{events:{onAddButtonPress:{parameters:{manifest:{type:\"string\"}}},onCardGenerated:{parameters:{manifest:{type:\"string\"}}}},aggregations:{_queryDialog:{type:\"sap.m.Dialog\",multiple:false,visibility:\"hidden\"}}}});O.prototype.init=function(){this.i18Bundle=a.getResourceBundle();this._createStaticControls();this._getQueryDialog()};O.prototype._getQueryDialog=function(){if(!this.getAggregation(\"_queryDialog\")){var e=new s({title:this.i18Bundle.getText(\"addToInsights\"),content:[this._getOuterVbox()],showHeader:true,contentHeight:\"41.1rem\",contentWidth:\"59.3rem\",verticalScrolling:false,horizontalScrolling:false,afterClose:this.resetDialog.bind(this,true),escapeHandler:this.closeDialog.bind(this),afterOpen:this.afterOpenDialog.bind(this),beginButton:this._getAddButton(),endButton:this._getCancelButton()});this.setAggregation(\"_queryDialog\",e,true)}return this.getAggregation(\"_queryDialog\")};O.prototype._createStaticControls=function(){var e={};e.searchedCard=new i(this.getId()+\"--searchedCard\",{manifest:U,manifestApplied:this._setAriaTextOnManifest.bind(this),width:\"20.18rem\",height:\"29rem\",previewMode:\"Abstract\",visible:true});e.placeholder=new i(this.getId()+\"--placeholderCard\",{manifest:P,manifestReady:this._onManifestReady.bind(this),width:\"20.18rem\",height:\"27.5rem\",previewMode:\"Off\",visible:false}).addStyleClass(\"sapUiTinyMarginTopBottom\");e.oAddButton=new t(this.getId()+\"--addButton\",{text:this.i18Bundle.getText(\"INT_DIALOG_Ok\"),press:this.addCard.bind(this),type:\"Emphasized\",enabled:false});p.setSemanticStepname(e.oAddButton,\"press\",l.FESR_AIGENERATE_ADD_CARD);e.oCancelButton=new t(this.getId()+\"--cancelButton\",{text:this.i18Bundle.getText(\"cancelButton\"),press:this.closeDialog.bind(this)});p.setSemanticStepname(e.oCancelButton,\"press\",l.FESR_AIGENERATE_CANCEL);e.oThumbsUpButton=new E(this.getId()+\"--thumbsUp\",{icon:\"sap-icon://thumb-up\",type:\"Transparent\",tooltip:this.i18Bundle.getText(\"thumbsUpButton\"),pressed:false,press:this._sendFeedback.bind(this,\"thumbsUp\")});p.setSemanticStepname(e.oThumbsUpButton,\"press\",l.FESR_AIGENERATE_THUMBSUP);e.oThumbsDownButton=new E(this.getId()+\"--thumbsDown\",{icon:\"sap-icon://thumb-down\",type:\"Transparent\",tooltip:this.i18Bundle.getText(\"thumbsDownButton\"),pressed:false,press:this._sendFeedback.bind(this,\"thumbsDown\")}).addStyleClass(\"sapUiTinyMarginBegin\");p.setSemanticStepname(e.oThumbsDownButton,\"press\",l.FESR_AIGENERATE_THUMBSDOWN);e.messageStripHbox=this._createMessageStripHBox();e.messageStripHbox.addItem(e.oThumbsUpButton);e.messageStripHbox.addItem(e.oThumbsDownButton);e.oNoCardMessage=new h(this.getId()+\"--editInsightNoInsightsCardsMsg\",{illustrationSize:v.Medium,illustrationType:w.NoEntries,description:\" \"}).addStyleClass(\"sapFIllustratedMessageAlign sapFFrequentIllustratedMessageAlign\");e.noCardBox=new n(this.getId()+\"--illusCardVbox\",{alignItems:\"Center\",height:\"100%\",renderType:\"Bare\",justifyContent:\"Center\",items:[e.oNoCardMessage],visible:false}).addStyleClass(\"aiErrorPadding\");var s=new y(this.getId()+\"--label\",{text:this.i18Bundle.getText(\"typed_text_label\"),wrapping:true}).addStyleClass(\"sapUiSmallMarginBeginEnd sapUiSmallMarginTop\");const a=500;e.oTextBox=new B(this.getId()+\"--textBox\",{width:\"calc(100% - 2rem)\",height:\"7rem\",placeholder:this.i18Bundle.getText(\"SAMPLE_QUERY_MSG\")+\" \"+this.i18Bundle.getText(\"SAMPLE_QUERY_TEXT\"),maxLength:a,showExceededText:true,liveChange:this.onChange.bind(this)}).addStyleClass(\"sapUiNoMarginBottom sapUiSmallMarginBeginEnd sapUiTinyMarginTop\");e.oTextBox.attachBrowserEvent(\"keydown\",function(t){if(t.keyCode===13&&e.oRegenerateButton.getEnabled()){this._onSearch()}}.bind(this));e.oRegenerateButton=new t(this.getId()+\"--searchButton\",{type:\"Default\",icon:\"sap-icon://ai\",text:this.i18Bundle.getText(\"GO\"),press:this._onSearch.bind(this),enabled:false}).addStyleClass(\"sapUiSmallMarginBegin\");p.setSemanticStepname(e.oRegenerateButton,\"press\",l.FESR_AIGENERATE_CARD);e.oClearButton=new t(this.getId()+\"--clearButton\",{type:\"Transparent\",text:this.i18Bundle.getText(\"Clear\"),enabled:false,press:this._onClear.bind(this)}).addStyleClass(\"sapUiTinyMarginBegin sapUiSmallMarginEnd\");p.setSemanticStepname(e.oClearButton,\"press\",l.FESR_AIGENERATE_CLEARALL);var d=new r(this.getId()+\"--buttonHBox\",{width:\"100%\",alignItems:\"End\",renderType:\"Bare\",justifyContent:\"End\",items:[e.oRegenerateButton,e.oClearButton]}).addStyleClass(\"sapUiTinyMarginTop\");var g=new _(this.getId()+\"--helpIcon\",{src:\"sap-icon://sys-help\",size:\"0.875rem\",height:\"0.875rem\",color:\"Neutral\"});var u=new f(this.getId()+\"--sampleQueryLabel\",{text:this.i18Bundle.getText(\"SAMPLE_QUERY\")}).addStyleClass(\"sapUiTinyMarginBegin\");var S=new r(this.getId()+\"--queryHbox\",{width:\"calc(100% - 1rem)\",justifyContent:\"Start\",backgroundDesign:\"Transparent\",renderType:\"Bare\",alignItems:\"Center\",items:[g,u]}).addStyleClass(\"sapUiSmallMarginBegin sapUiMediumMarginTop\");e.oFilterHBox=new n(this.getId()+\"--filterHBox\",{width:\"calc(100% - 1rem)\",alignItems:\"Start\",justifyContent:\"Start\",renderType:\"Bare\",items:[new f({text:this.i18Bundle.getText(\"INT_TOKEN_INFO\"),showColon:true,wrapping:true}).addStyleClass(\"sapUiSmallMarginBegin\"),new b({editable:false,renderMode:\"Narrow\",width:\"calc(100%)\",visible:true}).addStyleClass(\"sapUiTinyMarginTop sapUi-Std-PaddingS sapUiSmallMarginBegin customPaddingToken\")],visible:false}).addStyleClass(\"sapUiTinyMarginTop\");var C=e.oFilterHBox.getItems()?.[1];if(C){var I=\"mouse\";document.addEventListener(\"keydown\",function(){I=\"keyboard\"});C.attachRenderModeChange(function(){var e=C.getDomRef()?.contains(document.activeElement);var t=I===\"keyboard\"&&e?\"Loose\":\"Narrow\";C.setRenderMode(t)})}var M=new m(this.getId()+\"--defaultPreviewFormFlex\",{height:\"100%\",width:\"50%\",direction:\"Column\",renderType:\"Bare\",items:[s,e.oTextBox,d,e.oFilterHBox,S,this._createSampleQueryListBox()]});var A=new c(this.getId()+\"--defaultPreviewCardText\",{text:this.i18Bundle.getText(\"INT_DIALOG_TITLE_CardPreview\"),textAlign:\"Left\",titleStyle:\"H3\"}).addStyleClass(\"sapUiSmallMarginTop customCardsPreviewTitle\");var D=new r(this.getId()+\"--defaultPreviewHBox\",{width:\"100%\",height:\"100%\",justifyContent:\"Start\",backgroundDesign:\"Transparent\",renderType:\"Bare\",items:[A]}).addStyleClass(\"sapUiTinyMarginBegin\");var R=new T(this.getId()+\"--defaultPreviewToolBar\",{width:\"100%\",height:\"2rem\",style:\"Clear\",design:\"Auto\",content:[D]}).addStyleClass(\"sapThemeBaseBG\");var O=new r(this.getId()+\"--insightsCardOverflowInnerHBox\",{width:\"20.18rem\",height:\"2rem\"}).addStyleClass(\"insightsCardOverflowLayer insightsCardOverflowTop\");e.oInsightsCardOverflowLayer=new r(this.getId()+\"--insightsCardOverflowLayer\",{height:\"0\",visible:false,items:[O]}).addStyleClass(\"sapMFlexBoxJustifyCenter\");var L=new n(this.getId()+\"--defaultPreviewVBox\",{height:\"100%\",alignItems:\"Center\",backgroundDesign:\"Transparent\",justifyContent:\"SpaceAround\",items:[e.searchedCard,e.placeholder,e.oInsightsCardOverflowLayer,e.messageStripHbox]});var N=new n(this.getId()+\"--defaultPreviewInnerVBox\",{height:\"100%\",backgroundDesign:\"Transparent\",justifyContent:\"Center\",items:[L]}).addStyleClass(\"sapUiTinyMarginTop sapUiSmallMarginBeginEnd\");e.oDefaultPreviewPanelFlex=new m(this.getId()+\"--defaultPreviewPanelFlex\",{height:\"100%\",backgroundDesign:\"Transparent\",renderType:\"Bare\",justifyContent:\"Center\",items:[N]}).addStyleClass(\"sapUiSmallMarginTop\");var F=new x(this.getId()+\"--noHeaderNavigationStrip\",{text:this.i18Bundle.getText(\"NO_HEADER_NAVIGATION_MSG\"),showIcon:true,showCloseButton:false});e.noHeaderNavigationBox=new r(this.getId()+\"--noHeaderNavigationBox\",{alignItems:\"Center\",renderType:\"Bare\",width:\"calc(100% - 2rem)\",height:\"3rem\",visible:false,justifyContent:\"Start\",backgroundDesign:\"Transparent\",items:[F]}).addStyleClass(\"sapUiSmallMarginBeginEnd sapUiTinyMarginTopBottom\");var k=new x(this.getId()+\"--busyMessageStrip\",{text:this.i18Bundle.getText(\"CARD_GENERATE_MSG\"),showIcon:true,showCloseButton:false});e.busyMessageBox=new r(this.getId()+\"--busyMessageBox\",{alignItems:\"Center\",renderType:\"Bare\",width:\"calc(100% - 2rem)\",height:\"3rem\",visible:false,justifyContent:\"Start\",backgroundDesign:\"Transparent\",items:[k]}).addStyleClass(\"sapUiSmallMarginBeginEnd sapUiSmallMarginTop\");var H=new o(this.getId()+\"--defaultPreviewScroll\",{vertical:true,horizontal:false,height:\"100%\",content:[R,e.noHeaderNavigationBox,e.busyMessageBox,e.oDefaultPreviewPanelFlex,e.noCardBox]});var V=new m(this.getId()+\"--defaultPreviewFlex\",{height:\"100%\",width:\"50%\",direction:\"Column\",renderType:\"Bare\",items:[H]}).addStyleClass(\"sapMPageBgStandard\");e.oDefaultVBox=new n(this.getId()+\"--defaultVBox\",{height:\"100%\",width:\"100%\",direction:\"Row\",justifyContent:\"SpaceBetween\",items:[M,V]});this._setAccessMethods(e)};O.prototype._generateAIPolicyText=function(){const e=this.i18Bundle.getText(\"createdWithAI\");return this.i18Bundle.getText(\"aiPolicyText\",[e])};O.prototype._sendFeedback=function(e){const t={thumbsUp:this._getThumbsUpButton(),thumbsDown:this._getThumbsDownButton()};Object.values(t).forEach(function(e){e.setPressed(false)});if(t[e]){t[e].setPressed(true)}g.show(this.i18Bundle.getText(\"feedBackSent\"))};O.prototype._createMessageStripHBox=function(){var e=this._generateAIPolicyText();var t=new f(this.getId()+\"--createdwithAI\",{text:e}).addStyleClass(\"sapUiTinyMarginEnd\");var s=new r(this.getId()+\"--messageHBox\",{alignItems:\"Baseline\",renderType:\"Bare\",width:\"auto\",visible:false,height:\"auto\",justifyContent:\"Start\",backgroundDesign:\"Transparent\",wrap:D.Wrap,items:[t]}).addStyleClass(\"sapUiTinyMarginTop sapUiSmallMarginBegin\");return s};O.prototype._setQueryItem=function(e,t){var s=function(e){return e+\". \"};var a=new f(this.getId()+\"--queryItem\"+e,{text:s(e),wrapping:true}).addStyleClass(\"aiDialogText sapUiTinyMarginEnd\");var i=new f(this.getId()+\"--queryListItem\"+e,{showColon:false,text:this.i18Bundle.getText(t),wrapping:true}).addStyleClass(\"aiDialogText\");var n=new r(this.getId()+\"--queryListBox\"+e,{items:[a,i]}).addStyleClass(\"sapUiTinyMarginTop\");return n};O.prototype._createSampleQueryListBox=function(){var e=new n(this.getId()+\"--sampleQueryListBox\",{alignItems:\"Start\",justifyContent:\"Start\",backgroundDesign:\"Transparent\",renderType:\"Bare\",items:[this._setQueryItem(1,\"QUERY_LIST_ITEM1\"),this._setQueryItem(2,\"QUERY_LIST_ITEM2\"),this._setQueryItem(3,\"QUERY_LIST_ITEM3\")]}).addStyleClass(\"sapUiSmallMarginBeginEnd\");return e};O.prototype.getDialogInnerContent=function(){return this._getOuterVbox()};O.prototype._setAccessMethods=function(e){this._getSearchedCard=function(){return e&&e.searchedCard};this._getThumbsUpButton=function(){return e&&e.oThumbsUpButton};this._getThumbsDownButton=function(){return e&&e.oThumbsDownButton};this._getPlaceholder=function(){return e&&e.placeholder};this._getAddButton=function(){return e&&e.oAddButton};this._getCancelButton=function(){return e&&e.oCancelButton};this._enableFocusAddButton=function(t){if(e&&e.oAddButton){e.oAddButton.setEnabled(t);if(t){setTimeout(function(){e.oAddButton.focus()},0)}}};this._getTextBox=function(){return e&&e.oTextBox};this._setMessageStripOverflowVisibility=function(t){if(e&&e.messageStripHbox&&e.oInsightsCardOverflowLayer){e.messageStripHbox.setVisible(t);e.oInsightsCardOverflowLayer.setVisible(t)}};this._getNoCardMessage=function(){return e&&e.oNoCardMessage};this._getDefaultPreviewPanelFlex=function(){return e&&e.oDefaultPreviewPanelFlex};this.noHeaderNavigationBox=function(t){e.noHeaderNavigationBox.setVisible(t)};this._toggleCardBox=function(t){e.oDefaultPreviewPanelFlex.setVisible(t);e.noCardBox.setVisible(!t)};this._toggleButtonAndText=function(t){e.oTextBox.setEnabled(t);this._toggleStyleClass(t);e.busyMessageBox.setVisible(!t);e.oRegenerateButton.setEnabled(t);e.oThumbsUpButton.setPressed(!t);e.oThumbsDownButton.setPressed(!t);this._enableClearButton(t)};this._toggleStyleClass=function(t){if(t){if(!e.oDefaultPreviewPanelFlex.hasStyleClass(\"sapUiSmallMarginTop\")){e.oDefaultPreviewPanelFlex.addStyleClass(\"sapUiSmallMarginTop\")}}else{e.oDefaultPreviewPanelFlex.removeStyleClass(\"sapUiSmallMarginTop\")}};this._enableClearButton=function(t){e.oClearButton.setEnabled(t)};this._enableRegenerateButton=function(t){e.oRegenerateButton.setEnabled(t)};this._getOuterVbox=function(){return e&&e.oDefaultVBox};this._getFilterHBox=function(){return e&&e.oFilterHBox}};O.prototype._onClear=function(){this.resetDialog(true);g.show(this.i18Bundle.getText(\"Query_Deleted\"));this.fireOnCardGenerated({});this._getTextBox().focus()};O.prototype.addCard=function(){var e=this._getSearchedCard()&&this._getSearchedCard().getManifest();this.getAggregation(\"_queryDialog\").setBusy(true);sap.ui.require([\"sap/insights/CardHelper\"],function(t){t.getServiceAsync().then(function(t){t._createCard(e).then(function(e){this.getAggregation(\"_queryDialog\").setBusy(false);g.show(this.i18Bundle.getText(\"Card_Created\"));this.closeDialog();if(!e[\"sap.insights\"].visible){S.information(this.i18Bundle.getText(\"INT_CARD_LIMIT_MESSAGEBOX\"),{styleClass:\"msgBoxAlign\"})}if(this.hasListeners(\"onAddButtonPress\")){this.fireOnAddButtonPress()}}.bind(this))}.bind(this)).catch(function(e){this.getAggregation(\"_queryDialog\").setBusy(false);u.error(e.message);g.show(e.message)}.bind(this))}.bind(this))};O.prototype.closeDialog=function(){this.noHeaderNavigationBox(false);this._getQueryDialog().close()};O.prototype.openDialog=function(){this._getQueryDialog().open()};O.prototype.afterOpenDialog=function(){this._getTextBox().focus()};O.prototype._setAriaTextOnManifest=function(e){var t=e.getSource()._ariaText.getText();var s=this.i18Bundle.getText(\"INT_DIALOG_TITLE_CardPreview\");e.getSource()._ariaText.setText(s+t);var a=e.getSource().getManifest()[\"sap.app\"];if(a&&!(a.title===U[\"sap.app\"].title)){e.getSource().setPreviewMode(\"Off\")}};O.prototype._onManifestReady=function(e){var t=e.getSource();t.showLoadingPlaceholders()};O.prototype._setTextBoxValueState=function(e,t=\"\"){const s=this._getTextBox();s.setValueState(e);s.setValueStateText(t?this.i18Bundle.getText(t):\"\")};O.prototype._getValueState=function(e){const t=2;const s=500;const a={valueState:R.None,messageKey:undefined};if(e<t){a.valueState=R.Information;a.messageKey=\"minLengthRequired\"}else if(e>s){a.valueState=R.Warning;a.messageKey=\"maxLengthExceeded\"}return a};O.prototype.onChange=function(){const e=this._getTextBox().getValue()?.trim()||\"\";const t=e.length;const s=t>=2&&t<=500;this._enableClearButton(true);this._enableRegenerateButton(s);if(t===0){this.resetDialog();return}const a=this._getValueState(t);this._setTextBoxValueState(a.valueState,a.messageKey)};O.prototype._onSearch=function(){var e=this._getTextBox().getValue();var t=this._getSearchedCard();if(e&&e.trim().length){this._startGenerate=true;this.resetDialog();t.setVisible(false);this._getPlaceholder().setVisible(true);this._getCancelButton().focus();this._toggleButtonAndText(false);var s={UserInput:e};fetch(l.AI_INSIGHTCARD_BASEURL,{method:\"HEAD\",headers:{\"X-CSRF-Token\":\"Fetch\"}}).then(function(e){var t=e.headers.get(\"X-CSRF-Token\");return fetch(l.ADD_AI_INSIGHTCARD_COMPLETEURL,{method:l.POST,headers:{\"X-CSRF-Token\":t,\"content-type\":\"application/json;odata.metadata=minimal;charset=utf-8\"},body:JSON.stringify(s)})}).then(function(e){if(!e.ok){return e.json().then(function(e){return Promise.reject({message:e.message||e.error.message})})}return e.json()}).then(function(e){this._handleSearchSuccess(t,e)}.bind(this)).catch(function(e){this._handleSearchError(t,e)}.bind(this))}else{this._getTextBox().focus()}};O.prototype._handleSearchSuccess=function(e,t){if(this._startGenerate){this._toggleButtonAndText(true);var s=\"\";if(t&&t.CardManifest){s=JSON.parse(t.CardManifest);var a=s[\"sap.insights\"];var i=t.ApplicationInformation;if(a&&i&&i.SemanticObject&&i.SemanticAction){var n=\"#\"+i.SemanticObject+\"-\"+i.SemanticAction;a[\"parentAppUrl\"]=n}if(!s[\"sap.app\"]||!s[\"sap.app\"].dataSources){this.noHeaderNavigationBox(true)}}if(s){this._getPlaceholder().setVisible(false);e.setVisible(true);e.setManifest(s);this.fireOnCardGenerated(s);this._enableFocusAddButton(true);this._setMessageStripOverflowVisibility(true);this._toggleCardBox(true);var r=this._getFilterHBox();if(t.FilterTokens){var o=this._processFilterTokens(t.FilterTokens);o.forEach(function(e,t){if(e){var s=new C({text:e,key:t,editable:false}).addStyleClass(\"customTokenLineHeight\");r.getItems()?.[1]?.addToken(s)}});this._addTokenArias()}}this._startGenerate=false}};O.prototype._processFilterTokens=function(e){var t=[];if(e){var s=e.filters||[];var a=e.orders||[];const i=e.appwithlabel?.applabel??this.i18Bundle.getText(\"APP_LABEL\");const n=e.appwithlabel?.name??e.app?.name;if(n){t.push(`${i}: ${n}`)}const r=e.topwithlabel?.toplabel??this.i18Bundle.getText(\"TOP_LABEL\");const o=e.topwithlabel?.value??e.top;if(o){t.push(`${r}: ${o}`)}s.forEach(function(e){const s=e.propertylabel||e.name;const a=this._formatFilterToken(e.operator,s,e.values);if(a&&!t.includes(a)){t.push(a)}}.bind(this));a.forEach(function(e){t.push(e.propertylabel+\": \"+(e.operatorlabel||e.operator))})}return t};O.prototype._formatFilterToken=function(e,t,s){var a=s[0].value.replace(/^'|'$/g,\"\");var i=s[1]?.value?.replace(/^'|'$/g,\"\");const n={eq:\"\",ne:\"!=\",gt:\">\",ge:\">=\",lt:\"<\",le:\"<=\"};if(n[e]!==undefined){return`${t}: ${n[e]} ${a}`}const r={startswith:`${t}: ${a}*`,notstartswith:`${t}: !(${a}*)`,endswith:`${t}: *${a}`,notendswith:`${t}: !(*${a})`,contains:`${t}: *${a}*`,notcontains:`${t}: !(*${a}*)`,bt:`${t}: (${a}...${i})`,nb:`${t}: !(${a}...${i})`};return r[e]||`${t}: ${a}`};O.prototype._handleSearchError=function(e,t){if(this._startGenerate){this._toggleButtonAndText(true);u.error(t.message);this._getPlaceholder().setVisible(false);var s=/\\((\\d{2})\\d*\\)\\s*(.*)/;var a=t.message.match(s);var i=\"\",n=\"\";if(a){i=a[1]}n=t.message;var r=this.setErrorMessage(i,n);var o=this._getNoCardMessage();o.setTitle(r.title);o.setDescription(r.description);o.setIllustrationType(r.type);this._toggleCardBox(false);setTimeout(()=>{var e=o.getDomRef();e.tabIndex=0;e.focus()},0);this._startGenerate=false}else{this._getTextBox().focus()}};O.prototype._addTokenArias=function(){var e=this._getFilterHBox();var t=e.getItems()?.[1];var s=t&&t.getTokens();if(s&&s.length){e.setVisible(true);s.forEach(function(e){t.addAriaDescribedBy(e.getId())})}};O.prototype.setErrorMessage=function(e,t){var s={type1:\"sapIllus-UnableToLoad\",type2:\"sapIllus-NoSearchResults\",type3:\"sapIllus-NoData\",type4:\"sapIllus-UnableToUpload\"};var a={type:\"\",title:\"\",description:t};switch(e){case\"10\":a.type=s.type1;a.title=this.i18Bundle.getText(\"ERRORCODE_TITLE1\");break;case\"20\":a.type=s.type2;a.title=this.i18Bundle.getText(\"ERRORCODE_TITLE2\");break;case\"30\":a.type=s.type3;a.title=this.i18Bundle.getText(\"ERRORCODE_TITLE3\");break;case\"40\":a.type=s.type4;a.title=this.i18Bundle.getText(\"ERRORCODE_TITLE4\");break;default:a.type=s.type4;a.title=this.i18Bundle.getText(\"ERRORCODE_TITLE\");break}return a};O.prototype.resetDialog=function(e){if(e){this._getTextBox().setValue(\"\");this._getNoCardMessage().setDescription(\" \");this._toggleButtonAndText(true);this._startGenerate=false}this.noHeaderNavigationBox(false);this._getPlaceholder().setVisible(false);this._getSearchedCard().setVisible(true);var t=this._getFilterHBox();t.getItems()?.[1]?.removeAllAriaDescribedBy();t.getItems()?.[1]?.removeAllTokens();t.setVisible(false);this._setMessageStripOverflowVisibility(false);const s={\"/sap.card/header/dataTimestamp\":\"\"};var a=this._getSearchedCard();a.setManifestChanges([s]);a.setManifest(U);a.setPreviewMode(\"Abstract\");this._toggleCardBox(true);this._enableFocusAddButton(false);this._enableClearButton(false);this._enableRegenerateButton(false);this._setTextBoxValueState(R.None,\"\")};return O});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/ManageCards\", [\"sap/ui/core/Control\",\"sap/m/NavContainer\",\"sap/ui/model/resource/ResourceModel\",\"./manageCards/CardsList\",\"sap/insights/CardHelper\",\"sap/ui/core/Lib\",\"sap/ui/core/Core\",\"./utils/InsightsUtils\"],function(t,e,i,a,s,r,n,o){\"use strict\";var d=t.extend(\"sap.insights.ManageCards\",{metadata:{properties:{enableResetAllCards:{type:\"boolean\",group:\"Behavior\",defaultValue:false},cardId:{type:\"string\",group:\"Behavior\",defaultValue:null}},aggregations:{_navContainer:{type:\"sap.m.NavContainer\",multiple:false,visibility:\"hidden\"}}},renderer:{apiVersion:2,render:function(t,e){t.openStart(\"div\",e);t.style(\"height\",\"100%\");t.style(\"width\",\"100%\");t.openEnd();e._oNavContainer.to(e._oNavContainer.getInitialPage());t.renderControl(e.getAggregation(\"_navContainer\"));t.close(\"div\")}}});d.prototype.onAfterRendering=function(){var t;this._oNavContainer.setBusy(true);s.getServiceAsync().then(function(t){return t._getUserAllCardModel()}).then(function(e){t=e;if(!this._cardListPage){this._cardListPage=new a(this.getId()+\"cardList\",{enableResetAllCards:this.getEnableResetAllCards(),listPress:this._navToDetails.bind(this)});this._cardListPage.setModel(t);this._cardListPage._handleModelChange();t.bindProperty(\"/cards\").attachChange(function(t){this._cardListPage._handleModelChange()}.bind(this));this._oNavContainer.addPage(this._cardListPage)}var i=this.getCardId();if(i){var s=t.getProperty(\"/cards\");var r=s.find(function(t){return t.id===i});if(r){this.loadCardDetails().then(function(){this._oNavContainer.addPage(this._cardDetailControl);var t=JSON.stringify(r);this._cardDetailControl.setProperty(\"manifest\",t,false);this._oNavContainer.to(this._cardDetailControl)}.bind(this))}}else{this._oNavContainer.setInitialPage(this._cardListPage);this._oNavContainer.to(this._cardListPage)}this._oNavContainer.setBusy(false)}.bind(this))};d.prototype.loadCardDetails=function(){return new Promise(async function(t){if(!this._cardDetailControl){await r.load({name:\"sap/ui/mdc\"});sap.ui.require([\"sap/insights/manageCards/CardDetails\"],function(e){this._cardDetailControl=new e(this.getId()+\"previewPage\",{navigate:this.navigateTo.bind(this)});t()}.bind(this))}else{t()}}.bind(this))};d.prototype.init=function(){this._oNavContainer=new e(this.getId()+\"--selectionNavCon\",{busy:true});this._oNavContainer.setModel(new i({bundle:o.getResourceBundle()}),\"i18n\");this.setAggregation(\"_navContainer\",this._oNavContainer)};d.prototype.navigateTo=function(t,e){if(!t&&e){this._oNavContainer.to(e)}else{this._oNavContainer.to(this._cardListPage.getId())}};d.prototype._navToDetails=function(t){if(t&&t.getParameter(\"manifest\")){this._oNavContainer.setBusy(true);this.loadCardDetails().then(function(){this._cardDetailControl.setProperty(\"manifest\",t.getParameter(\"manifest\"),false);if(!this._oNavContainer.getPage(this._cardDetailControl.getId())){this._oNavContainer.addPage(this._cardDetailControl)}this._cardDetailControl.oPage.setShowNavButton(true);if(t.getParameter(\"listRefresh\")){this._cardDetailControl._refreshDTSmartForm(t.getParameter(\"listRefresh\"))}this._cardDetailControl.setEditable(false);this._oNavContainer.setBusy(false);this._oNavContainer.to(this._cardDetailControl)}.bind(this))}};d.prototype.clearPage=function(){if(this._cardListPage){this.navigateTo();if(this._cardListPage._oSearchField){this._cardListPage._oSearchField.clear()}if(this._cardListPage._oVisibleFilterSwitch&&this._cardListPage._oVisibleFilterSwitch.getState()){this._cardListPage._oVisibleFilterSwitch.setState(false);this._cardListPage._oVisibleFilterSwitch.fireChange()}}this.setProperty(\"cardId\",\"\")};return d});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n */\nsap.ui.predefine(\"sap/insights/ManagePreview\", [\"sap/ui/core/Control\",\"sap/m/NavContainer\",\"sap/insights/CardHelper\",\"sap/insights/manageCardPreview/Preview\",\"sap/insights/manageCardPreview/ColumnListPreview\",\"sap/insights/manageCardPreview/HouseOfCards\",\"sap/m/Button\",\"sap/m/Dialog\",\"sap/ui/model/resource/ResourceModel\",\"./utils/CardPreviewManager\",\"sap/m/MessageToast\",\"sap/m/MessageBox\",\"./utils/DeviceType\",\"sap/base/Log\",\"sap/insights/utils/AppConstants\",\"sap/ui/performance/trace/FESRHelper\",\"sap/ui/core/InvisibleText\",\"./utils/InsightsUtils\"],function(e,t,i,s,o,a,n,r,l,h,u,g,_,C,f,d,P,v){\"use strict\";var T=C.getLogger(\"sap.insights.ManagePreview\");var w=e.extend(\"sap.insights.ManagePreview\",{renderer:null,metadata:{properties:{manifest:{type:\"object\",group:\"Behavior\",defaultValue:null},transformation:{type:\"boolean\",group:\"Behavior\",defaultValue:false},cardMessageInfo:{type:\"object\",group:\"Appearance\",defaultValue:null},confirmButtonText:{type:\"string\",group:\"Appearance\",defaultValue:\"\"},dialogTitle:{type:\"string\",group:\"Appearance\",defaultValue:\"\"}},aggregations:{_manageDialog:{type:\"sap.m.Dialog\",multiple:false,visibility:\"hidden\"}},events:{onConfirmButtonPress:{parameters:{manifest:{type:\"string\"}}}}}});w.prototype.init=function(){this.i18Bundle=v.getResourceBundle();this.oInvisibleText=new P(this.getId()+\"--invisibleText\");this._createStaticControls();this._oNavContainer=new t(this.getId()+\"selectionNavCon\");this._oManageDialog=new r(this.getId()+\"--insightsListDialog\",{contentHeight:\"42.8rem\",contentWidth:\"65.6rem\",verticalScrolling:false,horizontalScrolling:false,resizable:false,draggable:true,showHeader:false,afterClose:this._afterCloseDialog.bind(this),content:[this._oNavContainer,this.oInvisibleText],buttons:[this.oBackButton,this.oAddButton,this.oNextButton,this.oCancelButton],ariaLabelledBy:[this.getId()+\"--invisibleText\"]}).addStyleClass(\"sapContrastPlus dialogScrollPadding\")};w.prototype._afterCloseDialog=function(){this.oManifest={};this._oPreviewPage.setManifest({});this._oPreviewPage.setCardMessageInfo(null);this._oPreviewPage.bInitialPreviewLoad=true;this.setConfirmButtonText(null);if(this.getTransformation()){if(this._oColumnListPreview){this._oColumnListPreview.bShowPreview=false;this._oColumnListPreview.bDialogOpen=false;this._oColumnListPreview.oConfCard={};this._oColumnListPreview.oOrgCard={};if(this._oColumnListPreview.oColumnSearch){this._oColumnListPreview.oColumnSearch.setValue(\"\")}}if(this._oHouseOfCards){this._oHouseOfCards.oConfCard={};this._oHouseOfCards._innerHocModel.setData({oSelected:{},aCards:[],aPreviewCards:[1,2,3],aAllowedChartTypes:[],sOriginalChartType:\"\",selectedPath:\"\"})}}};w.prototype.setConfirmButtonText=function(e){this.setProperty(\"confirmButtonText\",e);this.oAddButton.setText(e)};w.prototype._createStaticControls=function(){this.oBackButton=new n(this.getId()+\"--backButton\",{text:this.i18Bundle.getText(\"INT_DIALOG_BACK\"),press:this._onNavBack.bind(this)});this.oAddButton=new n(this.getId()+\"--addButton\",{text:this.getConfirmButtonText()?this.getConfirmButtonText():this.i18Bundle.getText(\"INT_DIALOG_Ok\"),press:this._save.bind(this),type:\"Emphasized\",enabled:true});d.setSemanticStepname(this.oAddButton,\"press\",f.FESR_STEP_NAME);this.oNextBtnInvisibleText=new P(this.getId()+\"--nextInvisibleText\");this.oNextBtnInvisibleText=this.i18Bundle.getText(\"INT_DIALOG_NEXT\");this.oNextButton=new n(this.getId()+\"--nextButton\",{text:this.i18Bundle.getText(\"INT_DIALOG_NEXT\"),press:this._callNextPage.bind(this),type:\"Emphasized\",enabled:false,ariaLabelledBy:[this.getId()+\"--nextInvisibleText\"]});this.oCancelButton=new n(this.getId()+\"--cancelButton\",{text:this.i18Bundle.getText(\"INT_DIALOG_CANCEL\"),press:this._closeDialog.bind(this)})};w.prototype._setEnableButton=function(e){if(this.getTransformation()&&!this.bColumnPage){this.oNextButton.setEnabled(e.getParameter(\"enableButton\"))}else{this.oAddButton.setEnabled(e.getParameter(\"enableButton\"))}};w.prototype.openPreviewDialog=function(){this.oManifest=this.getManifest();this.oBackButton.setVisible(false);var e=this.getConfirmButtonText()?this.getConfirmButtonText():this.i18Bundle.getText(\"INT_DIALOG_Ok\");this.oAddButton.setText(e);this._showPreview(this.oManifest);if(this.getTransformation()){this.oAddButton.setVisible(false);this.oNextButton.setVisible(true)}else{this.oAddButton.setVisible(true);this.oNextButton.setVisible(false)}};w.prototype._createColumnListDialog=function(){if(!this._oColumnListPreview){this._oColumnListPreview=new o({enableAddButton:this._setEnableButton.bind(this)})}this._oColumnListPreview.setManifest(this._oPreviewPage.getManifest());if(this.getDialogTitle()){this._oColumnListPreview.setDialogTitle(this.getDialogTitle())}else{this._oColumnListPreview.setDialogTitle(this.hasListeners(\"onConfirmButtonPress\")?this.i18Bundle.getText(\"INT_PREVIEW_POPOVER_BUTTON_TITLE_COLMANAGER\"):this.i18Bundle.getText(\"INT_PREVIEW_POPOVER_BUTTON_TITLE\"))}this._oNavContainer.addPage(this._oColumnListPreview);this._oNavContainer.to(this._oColumnListPreview);if(_.getDialogBasedDevice()===f.DEVICE_TYPES.Desktop){this._oColumnListPreview.oPreviewCard.setPreviewMode(this._oColumnListPreview.iVisibleColumnCount>0?\"Off\":\"Abstract\");this._oColumnListPreview._refreshShowPreview()}else{this._oColumnListPreview.oPreviewColCardSD.setPreviewMode(this._oColumnListPreview.iVisibleColumnCount>0?\"Off\":\"Abstract\")}};w.prototype._createHocDialog=function(){if(!this._oHouseOfCards){this._oHouseOfCards=new a({})}this._oHouseOfCards.setManifest(this._oPreviewPage.getManifest());if(this.getDialogTitle()){this._oHouseOfCards.setDialogTitle(this.getDialogTitle())}else{this._oHouseOfCards.setDialogTitle(this.hasListeners(\"onConfirmButtonPress\")?this.i18Bundle.getText(\"INT_PREVIEW_POPOVER_BUTTON_TITLE_COLMANAGER\"):this.i18Bundle.getText(\"INT_PREVIEW_POPOVER_BUTTON_TITLE\"))}};w.prototype._save=function(e){var t=JSON.parse(this._oPreviewPage.getManifest());if(this._oColumnListPreview&&Object.entries(this._oColumnListPreview.oConfCard).length){t=this._oColumnListPreview.oConfCard}else if(this._oHouseOfCards&&Object.entries(this._oHouseOfCards.oConfCard).length){t=this._oHouseOfCards.oConfCard}var s=h.insertActionsManifest(t,this.oManifest);if(this.hasListeners(\"onConfirmButtonPress\")){this.fireOnConfirmButtonPress({manifest:s});this._closeDialog()}else if(t[\"sap.card\"].header.title){var o=t[\"sap.insights\"].visible;t[\"sap.insights\"].visible=true;this._oManageDialog.setBusy(true);i.getServiceAsync().then(function(e){e._createCard(s).then(function(e){this._oManageDialog.setBusy(false);this._closeDialog();if(o){u.show(this.i18Bundle.getText(\"Card_Created\"))}else{g.information(this.i18Bundle.getText(\"INT_CARD_LIMIT_MESSAGEBOX\"),{styleClass:\"msgBoxAlign\"})}}.bind(this)).catch(function(e){if(e&&e.message===\"/UI2/INSIGHTS_MSG/007\"){g.error(this.i18Bundle.getText(\"INT_CARD_MAXLIMIT\"))}else{u.show(e.message)}this._oManageDialog.setBusy(false);this._closeDialog()}.bind(this))}.bind(this))}else{this._oNavContainer.to(this._oPreviewPage);this._oPreviewPage.oTitleTextInput.focus()}};w.prototype._callNextPage=function(){try{var e=JSON.parse(this._oPreviewPage.getManifest());if(e&&this._oPreviewPage.oTitleTextInput.getValue().trim()){var t=e[\"sap.card\"];if(t.type===\"Table\"||t.type===\"List\"){var i=_.getDialogBasedDevice()===f.DEVICE_TYPES.Desktop;this._createColumnListDialog();var s=i?this._oColumnListPreview.oColumnSegButton:this._oColumnListPreview.oSdColumnSegButton;if(!s.getSelectedKey()){s.setSelectedKey(\"list\")}this._oColumnListPreview.oColumnSearch.setValue(\"\");this._oColumnListPreview._onColumnSearch();this.bColumnPage=true;this.oNextButton.setVisible(false);this.oAddButton.setVisible(true);this.oBackButton.setVisible(true);this._oColumnListPreview.oColumnSearch.focus()}else if(t.type===\"Analytical\"){this._createHocDialog();this._oHouseOfCards.showHouseOfCardsDialog();this._oHouseOfCards.getChartTypeSearch().setValue(\"\");this._oHouseOfCards._onChartTypeSearch();this._oNavContainer.addPage(this._oHouseOfCards);this._oNavContainer.to(this._oHouseOfCards);this.oNextButton.setVisible(false);this.oAddButton.setVisible(true);this.oBackButton.setVisible(true);this.oAddButton.setEnabled(true)}else{this._oColumnListPreview._callPreview(e)}}}catch(e){T.error(e.message);u.show(e.message);throw new Error(e)}};w.prototype._callPreviewPage=function(e){if(this._oColumnListPreview){this._oColumnListPreview.bShowPreview=false}if(this._oNavContainer&&this._oPreviewPage){this._oPreviewPage.bShowCardPreview=false;this._oPreviewPage._adjustLayoutStyles();var t=this._oPreviewPage.oTitleTextInput;if(e){if(e[\"sap.card\"].header.title&&e[\"sap.card\"].header.title.trim()){this.oNextButton.setEnabled(true);t.setValueState(\"None\");t.setValueStateText(\"\")}else{this.oNextButton.setEnabled(false);t.setValueState(\"Error\");t.setValueStateText(this.i18Bundle.getText(\"INT_Preview_Title_ValueStateText\"))}}this.bColumnPage=false;this._oNavContainer.to(this._oPreviewPage);var i=_.getDialogBasedDevice()===f.DEVICE_TYPES.Desktop;var s=i?this._oPreviewPage.oDefaultPreviewCardLS:this._oPreviewPage.oDefaultPreviewCardSD;if(s&&(e[\"sap.card\"].type===\"Table\"||e[\"sap.card\"].type===\"List\")){if(this._oColumnListPreview&&this._oColumnListPreview.iVisibleColumnCount>0){s.setPreviewMode(\"Off\")}else{s.setPreviewMode(\"Abstract\")}}this._oPreviewPage.setManifest(JSON.stringify(e));this.oBackButton.setVisible(false);this.oAddButton.setVisible(false);this.oNextButton.setVisible(true)}};w.prototype._closeDialog=function(){this._oColumnListPreview?.resetSelectCountData();this._oManageDialog.close()};w.prototype._onNavBack=function(){if(this._oColumnListPreview&&this._oColumnListPreview.oConfCard&&Object.entries(this._oColumnListPreview.oConfCard).length){var e=this._oColumnListPreview.oConfCard[\"sap.card\"];if(e.type===\"Table\"||e.type===\"List\"){this._callPreviewPage(this._oColumnListPreview.oConfCard);this._oPreviewPage.oTitleTextInput.focus()}}else if(this._oHouseOfCards&&this._oHouseOfCards.oConfCard&&Object.entries(this._oHouseOfCards.oConfCard).length){this._callPreviewPage(this._oHouseOfCards.oConfCard)}};w.prototype.clearManifestChanges=function(){if(this._oPreviewPage){this._oPreviewPage.oDefaultPreviewCardSD.setManifestChanges(null);this._oPreviewPage.oDefaultPreviewCardLS.setManifestChanges(null)}if(this._oColumnListPreview){this._oColumnListPreview.oPreviewColCardSD.setManifestChanges(null);this._oColumnListPreview.oPreviewCard.setManifestChanges(null)}if(this._oHouseOfCards){this._oHouseOfCards._oPreviewCardHoCSD.setManifestChanges(null);this._oHouseOfCards._oPreviewCardHoC.setManifestChanges(null)}};w.prototype._showPreview=function(e){return i.getServiceAsync().then(function(t){return t._getUserAllCards().then(function(t){var i=t.filter(function(e){return e.visibility});if(i.length<10){e[\"sap.insights\"].visible=true}var o=e?JSON.parse(JSON.stringify(e)):\"\";o=h.getCardPreviewManifest(e);if(!this._oPreviewPage){this._oPreviewPage=new s(this.getId()+\"idPreviewPage\",{cardMessageInfo:this.getCardMessageInfo(),transformation:this.getTransformation(),titleCheck:this._setEnableButton.bind(this)})}else{this.clearManifestChanges();this._oPreviewPage.setCardMessageInfo(this.getCardMessageInfo());this._oPreviewPage.setTransformation(this.getTransformation())}this._oPreviewPage.setManifest(JSON.stringify(o));if(this.getDialogTitle()){this._oPreviewPage.setDialogTitle(this.getDialogTitle())}else{this._oPreviewPage.setDialogTitle(this.hasListeners(\"onConfirmButtonPress\")?this.i18Bundle.getText(\"INT_PREVIEW_POPOVER_BUTTON_TITLE_COLMANAGER\"):this.i18Bundle.getText(\"INT_PREVIEW_POPOVER_BUTTON_TITLE\"))}this.oInvisibleText.setText(this._oPreviewPage.getDialogTitle());this._oNavContainer.addPage(this._oPreviewPage);this._oNavContainer.to(this._oPreviewPage);this.bColumnPage=false;var a=this._oPreviewPage.oTitleTextInput;a.setValueState(\"None\");this._oManageDialog.open();this._oPreviewPage.setPreviewModeOfCard();if(this.hasListeners(\"onConfirmButtonPress\")){this._oPreviewPage.oDefaultSubText.setText(this.i18Bundle.getText(\"INT_CARD_SUBTITLE\"))}else{this._oPreviewPage.oDefaultSubText.setText(this.i18Bundle.getText(\"INT_CARD_SUBTITLE\")+\"\\n\"+this.i18Bundle.getText(\"INT_CARD_LIMIT_SUBTITLE\"))}return Promise.resolve()}.bind(this))}.bind(this)).catch(function(e){T.error(e.message);return Promise.reject(e)})};return w});\n/*!\n * \n\t\tSAP UI development toolkit for HTML5 (SAPUI5)\n\t\t(c) Copyright SAP SE. All rights reserved\n\t\n * This extension is for OVP cards delivered in onwards.\n */\nsap.ui.predefine(\"sap/insights/OVPCardExtension\", [\"sap/ui/integration/Extension\",\"sap/ui/core/format/NumberFormat\",\"sap/fe/navigation/SelectionVariant\",\"sap/base/Log\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/library\",\"sap/m/library\",\"./OVPChartFormatter\",\"sap/ui/integration/util/Utils\",\"sap/m/DynamicDateUtil\",\"sap/ui/core/date/UI5Date\"],function(e,t,r,a,i,n,o,s,l,f,u){\"use strict\";var c=o.ValueColor,g=n.ValueState;var m={StateValues:{None:\"None\",Negative:\"Error\",Critical:\"Warning\",Positive:\"Success\"},ColorValues:{None:\"Neutral\",Negative:\"Error\",Critical:\"Critical\",Positive:\"Good\"}};var v=a.getLogger(\"sap.insights.OVPCardExtension\");var p=function(e,t){return e&&e.indexOf(t,e.length-t.length)!==-1};var d=function(e,t){var r;if(t){r=t.None;if(e&&e.EnumMember){var a=e.EnumMember;if(p(a,\"Negative\")){r=t.Negative}else if(p(a,\"Critical\")){r=t.Critical}else if(p(a,\"Positive\")){r=t.Positive}}}return r};var b=function(e,t,r,a,i,n,o){var s={};s.EnumMember=\"None\";var l=Number.NEGATIVE_INFINITY;var f=Number.POSITIVE_INFINITY;if(!i&&i!==0&&(r||r===0)){i=r}if(!n&&n!==0&&(a||a===0)){n=a}if(!r&&r!==0){r=l}if(!a&&a!==0){a=f}if(e!==undefined){e=Number(e);if(p(t,\"Minimize\")||p(t,\"Minimizing\")){if((n||n===0)&&(a||a===0)){if(e<=parseFloat(n)){s.EnumMember=\"Positive\"}else if(e>parseFloat(a)){s.EnumMember=\"Negative\"}else{s.EnumMember=\"Critical\"}}}else if(p(t,\"Maximize\")||p(t,\"Maximizing\")){if((i||i===0)&&(r||r===0)){if(e>=parseFloat(i)){s.EnumMember=\"Positive\"}else if(e<parseFloat(r)){s.EnumMember=\"Negative\"}else{s.EnumMember=\"Critical\"}}}else if(p(t,\"Target\")){if((n||n===0)&&(a||a===0)&&(i||i===0)&&(r||r===0)){if(e>=parseFloat(i)&&e<=parseFloat(n)){s.EnumMember=\"Positive\"}else if(e<parseFloat(r)||e>parseFloat(a)){s.EnumMember=\"Negative\"}else{s.EnumMember=\"Critical\"}}}}return d(s,o)};var h=function(e,t,r,a){if(!e||!t){return}e=Number(e);if(!a&&e-t>=0){return\"Up\"}if(!r&&e-t<=0){return\"Down\"}if(t&&a&&e-t>=a){return\"Up\"}if(t&&r&&e-t<=r){return\"Down\"}};var N=function(e,r,a){var i=r||{},n=e;var o=t.getFloatInstance({minFractionDigits:i.NumberOfFractionalDigits,maxFractionDigits:i.NumberOfFractionalDigits,style:\"short\",showScale:true,shortRefNumber:n});var s=o.format(Number(n)),l=o.getScale()||\"\";if(!a&&s){var f=s[s.length-1];return f===l?s.slice(0,s.length-1):s}if(a&&i.percentageAvailable){return l+\"%\"}if(a&&!i.percentageAvailable){return l}return\"\"};var S=function(){var e=this.getCard().getCombinedParameters();return e._headerDataUrl};var D=function(){var e=this.getCard().getCombinedParameters();return e._contentDataUrl};var I=function(e,r,a){var i,n,o;if(isNaN(+e)){return\"\"}if(e==0){o=r}else{o=e}if(a.NumberOfFractionalDigits){n=+a.NumberOfFractionalDigits}if(r){i=r}else if(a.manifestTarget){i=a.manifestTarget}if(!n||n<0){n=0}else if(n>2){n=2}if(i){var s=t.getFloatInstance({minFractionDigits:n,maxFractionDigits:n,style:\"short\",showScale:true,shortRefNumber:o});return s.format(+i)}};var y=function(e,r,a){var i,n;if(isNaN(+e)){return\"\"}e=+e;if(a.NumberOfFractionalDigits){i=+a.NumberOfFractionalDigits}if(r){n=+r}else if(a.manifestTarget){n=+a.manifestTarget}if(!i||i<0){i=0}else if(i>2){i=2}if(n){var o=(e-n)/n;var s=t.getPercentInstance({style:\"short\",minFractionDigits:i,maxFractionDigits:i,showScale:true});return s.format(o)}};var O=function(e){var t={};t.EnumMember=\"None\";if(Number(e)===1){t.EnumMember=\"Negative\"}else if(Number(e)===2){t.EnumMember=\"Critical\"}else if(Number(e)===3){t.EnumMember=\"Positive\"}return d(t,m.ColorValues)};var F=function(){var e=arguments[arguments.length-1];var t=1;return b(arguments[0],e.sImprovementDirection,e.bIsDeviationLowBinding?arguments[t++]:e.deviationLow,e.bIsDeviationHighBinding?arguments[t++]:e.deviationHigh,e.bIsToleranceLowBinding?arguments[t++]:e.toleranceLow,e.bIsToleranceHighBinding?arguments[t++]:e.toleranceHigh,e.oCriticalityConfigValues)};var C=function(){var e=arguments[arguments.length-1];var t=1;return h(arguments[0],e.bIsRefValBinding?arguments[t++]:e.referenceValue,e.bIsDownDiffBinding?arguments[t++]:e.downDifference,e.bIsUpDiffBinding?arguments[t++]:e.upDifference)};var P=function(e){var t;var r=arguments[arguments.length-1],a=r&&r.propertyType;switch(a){case\"yearmonth\":var i=parseInt(e.substr(0,4),10),n=e.substr(4),o=parseInt(n,10)-1;t=u.getInstance(Date.UTC(i,o));break;case\"yearquarter\":var i=parseInt(e.substr(0,4),10),s=e.substr(4),l=parseInt(s,10)*3-2,o=l-1;t=u.getInstance(Date.UTC(i,o));break;case\"yearweek\":var i=parseInt(e.substr(0,4),10),f=e.substr(4),c=1+(parseInt(f,10)-1)*7;t=u.getInstance(Date.UTC(i,0,c));break;default:break}return t};var E=function(e,t){var r=l.parseJsonDateTime(e);return i.getInstance(t).format(u.getInstance(r),t.bUTC)};var w=function(e,r,a,i){var n;if(e){e.maxFractionDigits=e.numberOfFractionalDigits||0;e.minFractionDigits=e.numberOfFractionalDigits||0;e.style=e.style||\"short\";e.showScale=e.showScale||true;e.shortRefNumber=e.scaleFactor;n=t.getFloatInstance(e)}var o=[];if(!isNaN(parseFloat(a))&&n){o.push(n.format(a))}else{o.push(a)}if(!isNaN(parseFloat(i))&&n){o.push(n.format(i))}else{o.push(i)}var s=\"\";if(r&&r.length){r.forEach(function(e){if(typeof e===\"number\"){s=s+o[e]}else{s=s+e}})}return s};var V=function(e,t){if(t===\"state\"){switch(String(e)){case\"1\":case\"Error\":return g.Error;case\"2\":case\"Warning\":return g.Warning;case\"3\":case\"S Copyright (C) 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/AppInfoParameters\", [\"sap/base/Log\",\"sap/ushell/services/AppConfiguration\",\"sap/ui/thirdparty/hasher\",\"sap/base/util/deepClone\",\"sap/base/util/isPlainObject\",\"sap/base/util/restricted/_curry\",\"sap/base/util/restricted/_zipObject\",\"sap/ui/VersionInfo\",\"sap/ushell/Container\"],(t,e,r,a,n,i,s,o,p)=>{\"use strict\";const u=\"LAUNCHPAD\";const c=[\"productName\",\"theme\",\"appIntent\",\"url\"];const l=[\"productName\",\"theme\",\"languageTag\",\"appIntent\",\"technicalAppComponentId\",\"appId\",\"appVersion\",\"appSupportInfo\",\"appFrameworkVersion\",\"appFrameworkId\",\"title\",\"applicationParams\",\"shellFrameworkVersion\",\"url\",\"abap.transaction\"];class h{#t={theme:this.#e.bind(this,\"User.env.sap-theme-NWBC\"),languageTag:this.#e.bind(this,\"User.env.sap-languagebcp47\"),appIntent:this.#r.bind(this),appFrameworkId:this.#a.bind(this),appFrameworkVersion:this.#n.bind(this),appSupportInfo:this.#i.bind(this),technicalAppComponentId:this.#s.bind(this),appId:this.#o.bind(this),appVersion:this.#p.bind(this),productName:i(this.#u.bind(this))(\"productName\"),applicationParams:this.#c.bind(this),url:this.#l.bind(this),\"abap.transaction\":this.#h.bind(this)};#m={};#f={};#d(t){let e=t.applicationType;if(e===\"TR\"){e=\"GUI\"}return e}#g(){return e.getCurrentApplication()?.appCapabilities||{}}async#n(e){const r=this.#d(e);if(r===\"UI5\"){try{const t=await o.load();return`${t.version||\"\"} (${t.buildTimestamp||\"\"})`||\"\"}catch(e){t.error(\"VersionInfo coul Copyright (C) 2009-2025 SAP SE, All Rights Reserved\nsap.ui.require([\"sap/ca/ui/model/format/NumberFormat\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/suite/ui/commons/HarveyBallMicroChart\",\"sap/suite/ui/commons/HarveyBallMicroChartItem\",\"sap/suite/ui/commons/TileContent\",\"sap/suite/ui/commons/GenericTile\"],(e,a,i,t,s,o,l)=>{\"use strict\";sap.ui.getCore().loadLibrary(\"sap.suite.ui.commons\");sap.ui.jsview(\"tiles.indicatorHarveyBall.HarveyBallTile\",{getControllerName:function(){},createContent:function(){const e=new t({total:\"{/value}\",size:\"{/size}\",totalLabel:\"{/totalLabel}\",items:[new s({fraction:\"{/fractionValue}\",fractionLabel:\"{/fractionLabel}\",color:\"{/color}\"})]});const a=new o({size:\"{/size}\",content:e});this.oTile=new l({subheader:\"{/subheader}\",frameType:\"{/frameType}\",size:\"{/size}\",header:\"{/header}\",tileContent:[a]})}})});\n},\n\t\"sap/ushell/components/visualizationOrganizer/VisualizationOrganizerPopover.fragment.xml\":'<core:FragmentDefinition\\n xmlns=\"sap.m\"\\n xmlns:core=\"sap.ui.core\"><Popover\\n id=\"sapUshellVisualizationOrganizerPopover\"\\n class=\"sapContrastPlus\"\\n placement=\"VerticalPreferredBottom\"\\n contentHeight=\"220px\"\\n modal=\"true\"\\n titleAlignment=\"Start\"\\n showHeader=\"true\"\\n title=\"{i18n>VisualizationOrganizer.Title}\"><subHeader><HBox class=\"sapUiTinyMarginBeginEnd sapUiTinyMarginTop\"><SearchField\\n id=\"sapUshellVisualizationOrganizerSearch\"\\n tooltip=\"{i18n>VisualizationOrganizer.SearchField.Tooltip}\"\\n search=\"._onSearch\"\\n width=\"auto\"/><ToggleButton id=\"sapUshellVisualizationOrganizerSelectedPages\"\\n icon=\"sap-icon://multi-select\"\\n press=\"._onSearch\"\\n class=\"sapUiTinyMarginBeginEnd\"\\n tooltip=\"{i18n>VisualizationOrganizer.ToggleButton.Tooltip}\"/></HBox></subHeader><content><List\\n id=\"sapUshellVisualizationOrganizerSpacesList\"\\n mode=\"MultiSelect\"\\n items=\"{\\n path: \\'/pages\\',\\n sorter: { path: \\'\\', group: \\'.groupBySpace\\' },\\n groupHeaderFactory: \\'.getGroupHeader\\'\\n }\"\\n noDataText=\"{i18n>VisualizationOrganizer.PagesList.NoDataText}\"\\n selectionChange=\".onSelectionChange\"\\n includeItemInSelection=\"true\"><items><StandardListItem\\n title=\"{title}\"\\n type=\"Active\"\\n selected=\"{selected}\"/></items></List></content><footer><Bar><contentRight><Button\\n id=\"sapUshellVisualizationOrganizerOKButton\"\\n text=\"{i18n>okBtn}\"\\n type=\"Emphasized\"\\n press=\".okay\"/><Button\\n id=\"sapUshellVisualizationOrganizerCloseButton\"\\n text=\"{i18n>cancelBtn}\"\\n press=\".cancel\"/></contentRight></Bar></footer></Popover></core:FragmentDefinition>\\n',\n\t\"sap/ushell/components/workPageBuilder/manifest.json\":'{\"_version\":\"1.39.0\",\"sap.app\":{\"id\":\"sap.ushell.components.workPageBuilder\",\"applicationVersion\":{\"version\":\"1.139.0\"},\"i18n\":\"../../utils/workpage/resources/resources.properties\",\"ach\":\"CA-FLP-FE-UI\",\"type\":\"component\",\"title\":\"\"},\"sap.ui\":{\"fullWidth\":false,\"technology\":\"UI5\",\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":true}},\"sap.ui5\":{\"models\":{\"i18n\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"uri\":\"resources/resources.properties\",\"settings\":{\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-x-sappsd\",\"en-US-x-saprigi\",\"en-US-x-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]}}},\"componentName\":\"sap.ushell.components.workPageBuilder\",\"componentUsages\":{\"ContentFinder\":{\"settings\":{\"id\":\"contentFinder\",\"noItemsInCatalogDescription\":\"{{ContentFinder.AppSearch.IllustratedMessage.NoItems.InCatalog.Description}}\"},\"name\":\"sap.ushell.components.contentFinder.dialog\",\"lazy\":true}},\"rootView\":{\"viewName\":\"sap.ushell.components.workPageBuilder.view.WorkPageBuilder\",\"type\":\"XML\",\"id\":\"workPageBuilder\",\"async\":true},\"dependencies\":{\"minUI5Version\":\"1.99\",\"libs\":{\"sap.ui.core\":{},\"sap.m\":{},\"sap.f\":{}}},\"contentDensities\":{\"compact\":true,\"cozy\":true}}}',\n\t\"sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml\":'<mvc:View\\n xmlns=\"sap.m\"\\n xmlns:mvc=\"sap.ui.core.mvc\"\\n xmlns:dnd=\"sap.ui.core.dnd\"\\n xmlns:cep=\"sap.ushell.components.workPageBuilder.controls\"\\n xmlns:core=\"sap.ui.core\"\\n core:require=\"{\\n coreLibrary: \\'sap/ui/core/library\\'\\n }\"\\n controllerName=\"sap.ushell.components.workPageBuilder.controller.WorkPageBuilder\"\\n id=\"workPageBuilder\"\\n height=\"100%\"><Page\\n id=\"workpageBuilderPage\"\\n showHeader=\"false\"\\n showFooter=\"{= !!${/editMode} && !!${/showFooter} }\"\\n backgroundDesign=\"Transparent\"\\n floatingFooter=\"true\"\\n ><core:ComponentContainer\\n id=\"contentFinderComponentContainer\"\\n usage=\"ContentFinder\"\\n componentCreated=\".onContentFinderComponentCreated\"\\n async=\"true\"\\n /><cep:WorkPage\\n id=\"workPage\"\\n afterRendering=\".focusFirstItem\"\\n breakpoint=\"{viewSettings>/currentBreakpoint/name}\"\\n editMode=\"{/editMode}\"\\n showTitle=\"{= !!${/showPageTitle} && !!${descriptor/value/title}}\"\\n emptyIllustrationTitle=\"{i18n>WorkPage.EmptyPage.Title}\"\\n emptyIllustrationMessage=\"{i18n>WorkPage.EmptyPage.Message}\"\\n emptyIllustrationButtonText=\"{i18n>WorkPage.EmptyPage.Button.Add}\"\\n rows=\"{path: \\'rows\\', templateShareable: false, key: \\'id\\'}\"\\n loaded=\"{/loaded}\"\\n addFirstRow=\".onAddFirstRow\"><cep:title><Title\\n id=\"workPageTitle\"\\n text=\"{descriptor/value/title}\"\\n level=\"{= coreLibrary.TitleLevel.H2 }\"\\n titleStyle=\"{= coreLibrary.TitleLevel.H3 }\" /></cep:title><cep:WorkPageRow\\n id=\"workPageRow\"\\n addRowButtonTooltip=\"{i18n>WorkPage.Row.AddRowButtonTooltip}\"\\n editMode=\"{/editMode}\"\\n maxColumns=\"{/maxColumns}\"\\n columns=\"{path: \\'columns\\', templateShareable:false, key: \\'id\\'}\"\\n columnMinFlex=\"{viewSettings>/currentBreakpoint/columnMinFlex}\"\\n ariaLabel=\"{\\n parts: [\\n { path: \\'id\\' },\\n { path: \\'/data/workPage/rows\\' },\\n { path: \\'descriptor/value/title\\' }\\n ],\\n formatter: \\'.formatRowAriaLabel\\'\\n }\"\\n addRow=\".onAddRow\"><cep:controlButtons><Button\\n id=\"workPageDeleteButton\"\\n class=\"workPageRowControlButton\"\\n press=\".onDeleteRow\"\\n icon=\"sap-icon://delete\"\\n tooltip=\"{i18n>WorkPage.Row.OverflowToolbar.DeleteRowButtonTooltip}\"\\n visible=\"{/editMode}\" /></cep:controlButtons><cep:headerBar><OverflowToolbar\\n id=\"workPageRowToolbar\"\\n class=\"workPageRowToolbar\"\\n visible=\"{= ${/editMode} || !!${descriptor/value/title} }\"><Label\\n id=\"workPageRowInputTitleLabel\"\\n labelFor=\"workPageRowInputTitle\"\\n text=\"{i18n>WorkPage.Row.OverflowToolbar.RowTitleLabel}\"\\n visible=\"{/editMode}\"><layoutData><OverflowToolbarLayoutData group=\"1\" /></layoutData></Label><Input\\n id=\"workPageRowInputTitle\"\\n value=\"{descriptor/value/title}\"\\n editable=\"true\"\\n placeholder=\"{i18n>WorkPage.Row.OverflowToolbar.RowTitleOptional}\"\\n change=\".onEditTitle\"\\n visible=\"{/editMode}\"><layoutData><OverflowToolbarLayoutData\\n group=\"1\"\\n shrinkable=\"true\"\\n minWidth=\"12rem\" /></layoutData></Input></OverflowToolbar></cep:headerBar><cep:messageStrip><MessageStrip\\n id=\"workPageRowMessageStrip\"\\n type=\"Warning\"\\n showIcon=\"true\"\\n text=\"{i18n>WorkPage.Row.MessageStrip.DeprecatedColumnCount}\"\\n class=\"workPageRowMessageStrip\"\\n visible=\"{= ${/editMode} && ${columns}.length > ${/maxColumns}}\" /></cep:messageStrip><cep:title><Title\\n id=\"workPageRowSectionTitle\"\\n level=\"{= coreLibrary.TitleLevel.H3 }\"\\n wrapping=\"true\"\\n class=\"workPageRowSectionTitle\"\\n text=\"{descriptor/value/title}\"\\n visible=\"{= !${/editMode} && !!${descriptor/value/title} }\" /></cep:title><cep:WorkPageColumn\\n id=\"workPageColumn\"\\n editMode=\"{/editMode}\"\\n ariaLabelPlaceholder=\"{i18n>WorkPage.Column.AriaLabel}\"\\n columnWidth=\"{descriptor/value/columnWidth}\"\\n deleteColumnButtonTooltip=\"{i18n>WorkPage.Column.DeleteColumnButtonTooltip}\"\\n addColumnButtonTooltip=\"{i18n>WorkPage.Column.AddColumnButtonTooltip}\"\\n addWidgetButtonText=\"{i18n>WorkPage.Column.AddWidgetButtonText}\"\\n columnResized=\".onResize\"\\n columnResizeCompleted=\".onResizeCompleted\"\\n cells=\"{path: \\'cells\\', templateShareable:false, key: \\'id\\'}\"\\n addColumn=\".onAddColumn\"\\n removeColumn=\".onDeleteColumn\"\\n addWidget=\".openContentFinder\"><cep:WorkPageCell\\n id=\"workPageCell\"\\n editMode=\"{/editMode}\"\\n widgets=\"{path: \\'widgets\\', factory: \\'.widgetFactory\\', key: \\'id\\'}\"\\n tileMode=\"{\\n parts: [\\n { path: \\'widgets\\' }\\n ], formatter: \\'.tileMode\\'\\n }\"\\n moveVisualization=\".onGridDrop\"\\n gridColumnsChange=\".onGridColumnsChange\"\\n deleteWidgetTooltip=\"{i18n>WorkPage.WidgetContainer.DeleteWidgetButtonTooltip}\"\\n addApplicationButtonText=\"{i18n>WorkPage.Section.AddVizInstanceButtonText}\"\\n gridContainerGap=\"{viewSettings>/currentBreakpoint/gap}\"\\n gridContainerRowSize=\"{viewSettings>/currentBreakpoint/rowSize}\"\\n emptyIllustrationTitle=\"{i18n>WorkPage.Cell.EmptyIllustrationTitle}\"\\n emptyIllustrationMessage=\"{i18n>WorkPage.Cell.EmptyIllustrationDescription}\"\\n gridContainerBorderReached=\".onGridContainerBorderReached\"><cep:headerBar><OverflowToolbar\\n id=\"workPageCellOverflowToolbar\"\\n class=\"workPageCellOverflowToolbar\"\\n height=\"4rem\"\\n visible=\"{= ${/editMode} || !!${descriptor/value/title} }\"><ToolbarSpacer /><Button\\n id=\"openAppSearch\"\\n class=\"workPageCellControlButtons\"\\n icon=\"sap-icon://add\"\\n press=\".openTilesAppSearch\"\\n tooltip=\"{i18n>WorkPage.Cell.HeaderBar.AddTilesTooltip}\"\\n visible=\"{\\n parts: [\\n { path: \\'widgets\\' },\\n { path: \\'/editMode\\' }\\n ], formatter: \\'.showAppSearchButton\\'\\n }\"\\n type=\"Ghost\" /><Button\\n id=\"deleteCell\"\\n class=\"workPageCellControlButtons\"\\n icon=\"sap-icon://delete\"\\n press=\".onDeleteCell\"\\n tooltip=\"{i18n>WorkPage.Cell.HeaderBar.DeleteWidgetTooltip}\"\\n type=\"Ghost\" /></OverflowToolbar></cep:headerBar></cep:WorkPageCell><cep:dragDropConfig><dnd:DragInfo\\n enabled=\"{/editMode}\"\\n sourceAggregation=\"cells\"\\n groupName=\"Cell\" /><dnd:DropInfo\\n drop=\".onVisualizationDropBetweenCells($event)\"\\n targetAggregation=\"cells\"\\n groupName=\"CellGridContainer\"\\n dragEnter=\".onWidgetOnCellDragEnter($event, false)\"\\n dropPosition=\"Between\" /><dnd:DropInfo\\n drop=\".onVisualizationDropOnEmptyWidgetContainer($event)\"\\n targetAggregation=\"cells\"\\n groupName=\"CellGridContainer\"\\n dragEnter=\".onWidgetOnCellDragEnter($event, true)\"\\n dropPosition=\"On\" /><dnd:DropInfo\\n drop=\".onVisualizationDropOnCell($event)\"\\n groupName=\"CellGridContainer\"\\n targetAggregation=\"cells\"\\n dropPosition=\"On\" /><dnd:DropInfo\\n drop=\".onVisualizationDropOnCell($event)\"\\n enabled=\"{= ${cells} ? ${cells}.length === 0 : false}\"\\n groupName=\"CellGridContainer\"\\n dropPosition=\"On\" /><dnd:DropInfo\\n enabled=\"{= ${cells} ? ${cells}.length > 0 : false}\"\\n drop=\".onCellDrop($event)\"\\n dropPosition=\"Between\"\\n groupName=\"Cell\"\\n dropLayout=\"Vertical\"\\n targetAggregation=\"cells\" /><dnd:DropInfo\\n enabled=\"{= ${cells} ? ${cells}.length === 0 : false}\"\\n drop=\".onCellDropOnEmptyColumn($event)\"\\n dropPosition=\"On\"\\n groupName=\"Cell\" /></cep:dragDropConfig></cep:WorkPageColumn></cep:WorkPageRow></cep:WorkPage><footer><Bar id=\"workPageFooterBar\"><contentRight><Button\\n id=\"saveChanges\"\\n text=\"{i18n>WorkPage.EditMode.Save}\"\\n enabled=\"{/workPageHasChanges}\"\\n type=\"Emphasized\"\\n press=\".saveEditChanges\" /><Button\\n id=\"discardChanges\"\\n text=\"{i18n>WorkPage.EditMode.Cancel}\"\\n press=\".cancelEditChanges\" /></contentRight></Bar></footer><landmarkInfo><PageAccessibleLandmarkInfo\\n rootRole=\"Region\"\\n rootLabel=\"{i18n>WorkPage.Row.AriaLabel}\"\\n headerRole=\"None\"\\n contentRole=\"None\"\\n footerRole=\"None\" /></landmarkInfo></Page></mvc:View>\\n',\n\t\"sap/ushell/components/workPageBuilder/view/WorkPageCellDeleteDialog.fragment.xml\":'<core:FragmentDefinition\\n xmlns=\"sap.m\"\\n xmlns:core=\"sap.ui.core\"><Dialog\\n id=\"workPageCellDeleteDialog\"\\n state=\"Warning\"\\n type=\"Message\"\\n title=\"{i18n>WorkPage.Cell.DeleteDialog.Title}\"><Text\\n id=\"confirmationText\"\\n text=\"{i18n>WorkPage.Cell.DeleteDialog.ConfirmText}\" /><beginButton><Button\\n id=\"confirm\"\\n type=\"Emphasized\"\\n text=\"{i18n>WorkPage.Cell.DeleteDialog.Button.Confirm}\" /></beginButton><endButton><Button\\n id=\"cancel\"\\n text=\"{i18n>WorkPage.Cell.DeleteDialog.Button.Cancel}\"\\n press=\".onCellDeleteCancel\" /></endButton></Dialog></core:FragmentDefinition>\\n',\n\t\"sap/ushell/components/workPageBuilder/view/WorkPageRowDeleteDialog.fragment.xml\":'<core:FragmentDefinition\\n xmlns=\"sap.m\"\\n xmlns:core=\"sap.ui.core\"><Dialog\\n id=\"workPageRowDeleteDialog\"\\n type=\"Message\"\\n state=\"Warning\"\\n title=\"{i18n>WorkPage.Row.DeleteDialog.Title}\"><Text\\n id=\"confirmationText\"\\n text=\"{i18n>WorkPage.Row.DeleteDialog.ConfirmText}\" /><beginButton><Button\\n id=\"confirm\"\\n type=\"Emphasized\"\\n text=\"{i18n>WorkPage.Row.DeleteDialog.Button.Confirm}\" /></beginButton><endButton><Button\\n id=\"cancel\"\\n text=\"{i18n>WorkPage.Row.DeleteDialog.Button.Cancel}\"\\n press=\".onRowDeleteCancel\" /></endButton></Dialog></core:FragmentDefinition>\\n',\n\t\"sap/ushell/components/workPageRuntime/manifest.json\":'{\"_version\":\"1.39.0\",\"sap.app\":{\"id\":\"sap.ushell.components.workPageRuntime\",\"applicationVersion\":{\"version\":\"1.139.0\"},\"ach\":\"CA-FLP-FE-UI\",\"type\":\"component\",\"title\":\"\"},\"sap.ui\":{\"fullWidth\":false,\"technology\":\"UI5\",\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":true}},\"sap.ui5\":{\"componentUsages\":{\"pageBuilder\":{\"settings\":{\"id\":\"workPageBuilderComponent\"},\"name\":\"sap.ushell.components.workPageBuilder\",\"lazy\":true}},\"componentName\":\"sap.ushell.components.workPageRuntime\",\"rootView\":{\"viewName\":\"sap.ushell.components.workPageRuntime.view.WorkPageRuntime\",\"type\":\"XML\",\"id\":\"workPageRuntimeView\",\"async\":true},\"dependencies\":{\"minUI5Version\":\"1.99\",\"libs\":{\"sap.ui.core\":{},\"sap.m\":{}}},\"contentDensities\":{\"compact\":true,\"cozy\":true}}}',\n\t\"sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml\":'<mvc:View\\n xmlns=\"sap.m\"\\n xmlns:core=\"sap.ui.core\"\\n xmlns:mvc=\"sap.ui.core.mvc\"\\n controllerName=\"sap.ushell.components.workPageRuntime.controller.WorkPageRuntime\"\\n height=\"100%\"\\n core:require=\"{\\n mobileLibrary: \\'sap/m/library\\'\\n }\"><NavContainer id=\"workPageNavContainer\"><Page\\n id=\"workPage\"\\n busy=\"{= !${/loaded}}\"\\n enableScrolling=\"false\"\\n showHeader=\"false\"\\n backgroundDesign=\"{= mobileLibrary.PageBackgroundDesign.Transparent }\"><core:ComponentContainer\\n id=\"workPageBuilderComponentContainer\"\\n height=\"100%\"\\n usage=\"pageBuilder\"\\n manifest=\"true\"\\n async=\"true\"\\n componentCreated=\"onWorkPageBuilderCreated\" /></Page><Page\\n id=\"errorPage\"\\n showHeader=\"false\"><IllustratedMessage\\n illustrationType=\"{= mobileLibrary.IllustratedMessageType.PageNotFound }\" /></Page><Page\\n id=\"emptyPage\"\\n showHeader=\"false\"\\n backgroundDesign=\"{= mobileLibrary.PageBackgroundDesign.Transparent }\"/></NavContainer></mvc:View>\\n',\n\t\"sap/ushell/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"id\":\"sap.ushell\",\"type\":\"library\",\"embeds\":[\"appRuntime/ui5/plugins/rtaAgent\",\"appRuntime/ui5/plugins/rtaShell\",\"components/appfinder\",\"components/cepsearchresult/app\",\"components/cepsearchresult/app/cards/searchresultwidget\",\"components/contentFinder\",\"components/contentFinder/dialog\",\"components/contentFinderStandalone\",\"components/homeApp/error\",\"components/homepage\",\"components/pages\",\"components/runtimeSwitcher\",\"components/shell/FloatingContainer\",\"components/shell/MenuBar\",\"components/shell/NavigationBarMenu\",\"components/shell/Search\",\"components/shell/SearchCEPNew\",\"components/shell/Settings/userDefaults\",\"components/shell/ShellBar\",\"components/shell/SideNavigation\",\"components/tiles/cdm/applauncher\",\"components/tiles/cdm/applauncherdynamic\",\"components/workPageBuilder\",\"components/workPageRuntime\",\"plugins/appwarmup\",\"plugins/ghostapp\",\"plugins/rta\",\"plugins/rta-personalize\",\"renderer/rendererTargetWrapper\",\"renderer/search/searchComponent\"],\"applicationVersion\":{\"version\":\"1.139.0\"},\"title\":\"SAP library: sap.ushell\",\"description\":\"SAP library: sap.ushell\",\"ach\":\"CA-FLP-FE-UI\",\"resources\":\"resources.json\",\"offline\":true},\"sap.ui\":{\"technology\":\"UI5\",\"supportedThemes\":[\"base\",\"sap_belize\",\"sap_belize_base\",\"sap_belize_hcb\",\"sap_belize_hcw\",\"sap_belize_plus\",\"sap_bluecrystal\",\"sap_bluecrystal_base\",\"sap_fiori_3\",\"sap_fiori_3_dark\",\"sap_fiori_3_hcb\",\"sap_fiori_3_hcw\",\"sap_hcb\",\"sap_horizon\",\"sap_horizon_dark\",\"sap_horizon_hcb\",\"sap_horizon_hcw\"]},\"sap.ui5\":{\"dependencies\":{\"minUI5Version\":\"1.139\",\"libs\":{\"sap.f\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.m\":{\"minVersion\":\"1.139.0\"},\"sap.ui.core\":{\"minVersion\":\"1.139.0\"},\"sap.ui.layout\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.suite.ui.commons\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.suite.ui.microchart\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.ui.comp\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.ui.export\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.collaboration\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.ui.table\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.ui.integration\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.ui.generic.app\":{\"minVersion\":\"1.139.0\",\"lazy\":true},\"sap.esh.search.ui\":{\"minVersion\":\"1.139.0\",\"lazy\":true}}},\"library\":{\"i18n\":false,\"content\":{\"controls\":[\"sap.ushell.appIntegration.ApplicationContainer\",\"sap.ushell.appIntegration.IframeApplicationContainer\",\"sap.ushell.appIntegration.UI5ApplicationContainer\",\"sap.ushell.components.container.ApplicationContainer\",\"sap.ushell.components.factsheet.controls.PictureTile\",\"sap.ushell.components.factsheet.controls.PictureViewer\",\"sap.ushell.components.factsheet.controls.PictureViewerItem\",\"sap.ushell.components.shell.Settings.userDefaults.UserDefaultsForm\",\"sap.ushell.components.tiles.sbtilecontent\",\"sap.ushell.components.workPageBuilder.controls.WorkPage\",\"sap.ushell.components.workPageBuilder.controls.WorkPageButton\",\"sap.ushell.components.workPageBuilder.controls.WorkPageCell\",\"sap.ushell.components.workPageBuilder.controls.WorkPageColumn\",\"sap.ushell.components.workPageBuilder.controls.WorkPageColumnResizer\",\"sap.ushell.components.workPageBuilder.controls.WorkPageRow\",\"sap.ushell.renderer.NavContainer\",\"sap.ushell.ui.launchpad.VizInstance\",\"sap.ushell.ui.launchpad.VizInstanceBase\",\"sap.ushell.ui.launchpad.VizInstanceAbap\",\"sap.ushell.ui.launchpad.VizInstanceCdm\",\"sap.ushell.ui.launchpad.VizInstanceLaunchPage\",\"sap.ushell.ui.launchpad.VizInstanceLink\",\"sap.ushell.ui.AppContainer\",\"sap.ushell.ui.ContentNodeSelector\",\"sap.ushell.ui.ContentNodeTreeItem\",\"sap.ushell.ui.CustomGroupHeaderListItem\",\"sap.ushell.ui.ShellHeader\",\"sap.ushell.ui.appfinder.AppBox\",\"sap.ushell.ui.appfinder.AppBoxInternal\",\"sap.ushell.ui.appfinder.PinButton\",\"sap.ushell.ui.footerbar.AboutButton\",\"sap.ushell.ui.footerbar.AddBookmarkButton\",\"sap.ushell.ui.footerbar.ContactSupportButton\",\"sap.ushell.ui.footerbar.JamDiscussButton\",\"sap.ushell.ui.footerbar.JamShareButton\",\"sap.ushell.ui.footerbar.LogoutButton\",\"sap.ushell.ui.footerbar.SendAsEmailButton\",\"sap.ushell.ui.launchpad.ActionItem\",\"sap.ushell.ui.launchpad.AnchorItem\",\"sap.ushell.ui.launchpad.AnchorNavigationBar\",\"sap.ushell.ui.launchpad.CatalogEntryContainer\",\"sap.ushell.ui.launchpad.CatalogsContainer\",\"sap.ushell.ui.launchpad.DashboardGroupsContainer\",\"sap.ushell.ui.launchpad.GroupHeaderActions\",\"sap.ushell.ui.launchpad.GroupListItem\",\"sap.ushell.ui.launchpad.LinkTileWrapper\",\"sap.ushell.ui.launchpad.LoadingDialog\",\"sap.ushell.ui.launchpad.Page\",\"sap.ushell.ui.launchpad.PlusTile\",\"sap.ushell.ui.launchpad.Section\",\"sap.ushell.ui.launchpad.Tile\",\"sap.ushell.ui.launchpad.TileContainer\",\"sap.ushell.ui.launchpad.TileState\",\"sap.ushell.ui.launchpad.TileStateInternal\",\"sap.ushell.ui.launchpad.section.CompactArea\",\"sap.ushell.ui.shell.FloatingContainer\",\"sap.ushell.ui.shell.NavigationMiniTile\",\"sap.ushell.ui.shell.OverflowListItem\",\"sap.ushell.ui.shell.RightFloatingContainer\",\"sap.ushell.ui.shell.ShellAppTitle\",\"sap.ushell.ui.shell.ShellFloatingAction\",\"sap.ushell.ui.shell.ShellFloatingActions\",\"sap.ushell.ui.shell.ShellHeadItem\",\"sap.ushell.ui.shell.ShellNavigationMenu\",\"sap.ushell.ui.shell.SidePane\",\"sap.ushell.ui.shell.SubHeader\",\"sap.ushell.ui.shell.SysInfoBar\",\"sap.ushell.ui.shell.ToolArea\",\"sap.ushell.ui.shell.ToolAreaItem\",\"sap.ushell.ui.tile.DynamicTile\",\"sap.ushell.ui.tile.ImageTile\",\"sap.ushell.ui.tile.StaticTile\",\"sap.ushell.ui.tile.TileBase\"],\"elements\":[\"sap.ushell.ui.launchpad.AccessibilityCustomData\"],\"types\":[\"sap.ushell.AllMyAppsState\",\"sap.ushell.AllMyAppsProviderType\",\"sap.ushell.AppTitleState\",\"sap.ushell.ContentNodeType\",\"sap.ushell.appIntegration.contracts.StatefulType\",\"sap.ushell.components.container.ApplicationType\",\"sap.ushell.DisplayFormat\",\"sap.ushell.NavigationState\",\"sap.ushell.ui.launchpad.ViewPortState\",\"sap.ushell.ui.tile.State\",\"sap.ushell.ui.tile.StateArrow\",\"sap.ushell.VisualizationLoadState\",\"sap.ushell.AppType\",\"sap.ushell.FloatingNumberType\"],\"interfaces\":[\"sap.ushell.renderer.INavContainerPage\"]}}}}',\n\t\"sap/ushell/plugins/appwarmup/manifest.json\":'{\"_version\":\"1.1.0\",\"sap.app\":{\"_version\":\"1.1.0\",\"id\":\"sap.ushell.plugins.appwarmup\",\"type\":\"component\",\"applicationVersion\":{\"version\":\"1.0.0\"}},\"sap.ui\":{\"_version\":\"1.1.0\",\"technology\":\"UI5\",\"deviceTypes\":{\"desktop\":true,\"tablet\":false,\"phone\":false}},\"sap.ui5\":{\"_version\":\"1.1.0\",\"contentDensities\":{\"compact\":true,\"cozy\":false},\"dependencies\":{\"minUI5Version\":\"1.54.0\",\"libs\":{\"sap.ui.core\":{\"minVersion\":\"1.54.0\"}}}},\"sap.flp\":{\"type\":\"plugin\"}}',\n\t\"sap/ushell/plugins/ghostapp/manifest.json\":'{\"_version\":\"1.2.0\",\"sap.app\":{\"_version\":\"1.2.0\",\"id\":\"sap.ushell.plugins.ghostapp\",\"i18n\":\"i18n/i18n.properties\",\"type\":\"application\",\"applicationVersion\":{\"version\":\"11.7.0-SNAPSHOT\"},\"title\":\"Warmup Application\",\"description\":\"List report app for code warm-up during idle time\",\"tags\":{\"keywords\":[]},\"ach\":\"MM-FIO-IM-SGM\",\"dataSources\":{\"mainService\":{\"uri\":\"/ghostapp-c9f1f0bd-ff78-4660-9a1f-295814f00fe0/\",\"settings\":{\"localUri\":\"localService/metadata.xml\"}}},\"offline\":false,\"resources\":\"resources.json\",\"sourceTemplate\":{\"id\":\"ui5template.smarttemplate\",\"version\":\"1.0.0\"}},\"sap.fiori\":{\"_version\":\"1.1.0\",\"registrationIds\":[\"F0000\"],\"archeType\":\"analytical\"},\"sap.ui\":{\"_version\":\"1.1.0\",\"technology\":\"UI5\",\"icons\":{\"icon\":\"\",\"favIcon\":\"\",\"phone\":\"\",\"phone@2\":\"\",\"tablet\":\"\",\"tablet@2\":\"\"},\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":true}},\"sap.ui5\":{\"_version\":\"1.1.0\",\"services\":{\"ShellUIService\":{\"factoryName\":\"sap.ushell.plugins.appwarmup.ShellUIService\"}},\"resources\":{\"js\":[],\"css\":[]},\"config\":{\"sapFiori2Adaptation\":true},\"dependencies\":{\"minUI5Version\":\"1.53.0-SNAPSHOT\",\"libs\":{\"sap.ui.core\":{},\"sap.m\":{\"lazy\":false},\"sap.ui.comp\":{\"lazy\":false},\"sap.ui.generic.app\":{\"minVersion\":\"1.34.0\"},\"sap.uxap\":{\"lazy\":false},\"sap.suite.ui.generic.template\":{}}},\"models\":{\"\":{\"dataSource\":\"mainService\",\"preload\":true,\"type\":\"sap.ushell.plugins.ghostapp.FakeModel\",\"settings\":{\"defaultBindingMode\":\"TwoWay\",\"defaultCountMode\":\"Inline\",\"tokenHandling\":false,\"refreshAfterChange\":false}}},\"extends\":{\"extensions\":{}},\"contentDensities\":{\"compact\":true,\"cozy\":true},\"componentName\":\"sap.ushell.plugins.ghostapp\"},\"sap.ui.generic.app\":{\"_version\":\"1.1.0\",\"settings\":{\"ghostapp\":true},\"pages\":[{\"entitySet\":\"MaterialMultiStockByDates\",\"component\":{\"name\":\"sap.suite.ui.generic.template.ListReport\",\"list\":true,\"settings\":{\"smartVariantManagement\":true}}}]},\"sap.platform.abap\":{\"_version\":\"1.1.0\",\"uri\":\"/sap/bc/ui5_ui5/sap/stock_multimas1\"},\"sap.platform.hcp\":{\"_version\":\"1.1.0\",\"uri\":\"\"},\"sap.copilot\":{\"_version\":\"1.0.0\",\"contextAnalysis\":{\"allowAddingObjectsFromAppScreenToCollection\":false}}}',\n\t\"sap/ushell/plugins/rta-personalize/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"_version\":\"1.1.0\",\"id\":\"sap.ushell.plugins.rta-personalize\",\"type\":\"component\",\"applicationVersion\":{\"version\":\"1.0.0\"},\"ach\":\"CA-UI5-FL-RTA\",\"resources\":\"resources.json\",\"i18n\":{\"bundleUrl\":\"i18n/i18n.properties\",\"supportedLocales\":[\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-x-sappsd\",\"en-US-x-saprigi\",\"en-US-x-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]}},\"sap.ui\":{\"_version\":\"1.1.0\",\"technology\":\"UI5\",\"deviceTypes\":{\"desktop\":true,\"tablet\":false,\"phone\":false}},\"sap.ui5\":{\"_version\":\"1.1.0\",\"contentDensities\":{\"compact\":true,\"cozy\":false},\"dependencies\":{\"minUI5Version\":\"1.30.1\",\"libs\":{\"sap.ui.core\":{\"minVersion\":\"1.30.1\"},\"sap.m\":{\"minVersion\":\"1.30.1\"},\"sap.ui.dt\":{\"minVersion\":\"1.30.1\",\"lazy\":true},\"sap.ui.rta\":{\"minVersion\":\"1.30.1\",\"lazy\":true}}}},\"sap.flp\":{\"type\":\"plugin\"}}',\n\t\"sap/ushell/plugins/rta/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"_version\":\"1.1.0\",\"i18n\":{\"bundleUrl\":\"i18n/i18n.properties\",\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en\",\"en_US_sappsd\",\"en_US_saptrc\",\"es\",\"et\",\"fi\",\"fr\",\"hi\",\"hr\",\"hu\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh_CN\",\"zh_TW\"],\"fallbackLocale\":\"en\"},\"id\":\"sap.ushell.plugins.rta\",\"title\":\"{{APP_TITLE}}\",\"type\":\"component\",\"applicationVersion\":{\"version\":\"1.0.0\"},\"ach\":\"CA-UI5-FL-R Copyright (C) 2009-2025, 2009-2025 SAP SE, All Rights Reserved\n *//*!\n * Copyright (c) SAP SE, All Rights Reserved\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}html{overflow:hidden}.sapUshellIframeDialog .sapMDialogScrollCont{height:100%}.sapUShellFullHeight{height:100%;overflow-y:hidden}.sapUshellFullWidth{width:100%}.sapUshellZeroOpacity{opacity:0}.sapUshellTileActionLayerDiv{width:inherit;height:inherit;position:absolute;z-index:2;border-radius:0.25rem}.sapUshellTileActionLayerDivSelected{opacity:1;border-radius:0}.sapUshellTileActionIconDivBottom{position:absolute;left:2px;right:0.25rem;bottom:0.125rem;font-size:1.5rem;text-align:right;background:transparent;border-radius:1rem;height:2rem}.sapUshellTileActionIconDivBottom .sapUshellTileActionIconDivBottomInnerDiv{height:100%;position:relative}html[dir=rtl] .sapUshellTileActionIconDivBottom{text-align:left}.sapUshellTileDeleteClickArea{text-align:right;vertical-align:middle;height:2rem;width:2rem;margin-right:1px;position:absolute;top:-0.375rem;right:-0.375rem;z-index:1}html[dir=rtl] .sapUshellTileDeleteClickArea{text-align:left}.sapUshellTileDeleteIconOuterClass{display:inline-block;box-sizing:border-box;text-align:center;border-radius:50%;border:2px solid white;cursor:pointer;z-index:1;opacity:1;width:1.375rem;height:1.375rem}.sapUshellTileActionDivCenter{position:absolute;top:0;bottom:0;left:0;right:0;opacity:0.7;border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}.sapUshellTileDeleteIconInnerClass{font-size:0.75rem;line-height:1.25rem;cursor:pointer;z-index:1;opacity:1;width:100%;height:100%;display:block}.sapUshellVizInstanceEdit .sapMGTMoreIcon{display:none !important}html[dir=rtl] .sapUshellTileActionDivCenter{text-align:left}.sapUshellTileActionIconDivBottomInner{margin-right:1.2rem;font-size:1rem;z-index:1;position:relative;color:#0064d9}.sapUshellAddBookmarkForm{padding:0.5rem}.sapUshellAddBookmarkForm #saveAsTileHBox,.sapUshellAddBookmarkForm .sapUshellSaveAsTileHBox{position:relative;padding-top:2rem;padding-bottom:2rem}.sapUshellAddBookmarkForm #saveAsTileHBox:after,.sapUshellAddBookmarkForm .sapUshellSaveAsTileHBox:after{content:\" \";position:absolute;top:0;left:0;right:0;bottom:0}.sapUshellAddBookmarkForm label~label{padding-top:0.5rem}.sapUshellAddBookmarkForm .sapMInputBase,.sapUshellAddBookmarkForm .sapMSlt{margin:0}.sapUshellAddBookmarkForm .sapUshellTileBase{position:relative}.sapUshellAddBookmarkForm .sapUshellTile{float:none;list-style-type:none}.sapUshellAddBookmarkTileBackground{background-color:#eff1f2;pointer-events:none}.sapUshellAnchorItem{display:inline-block;padding-right:2rem;padding-left:0.25rem;box-sizing:border-box;min-width:5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sapUshellAnchorItem.sapUshellShellHidden{display:none}.sapUshellAnchorItem:hover{cursor:pointer}.sapUshellAnchorItemSelected .sapUshellAnchorItemInner:not(.sapUshellAnchorInnerMarker){border-bottom:2px solid #131e29}.sapUshellAnchorItemDropCollision{border-bottom:1px solid #131e29;bord Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/EventHub\", [\"sap/base/Log\"],e=>{\"use strict\";function n(){return{nextKey:0,objectToKey:new window.WeakMap,keyToObject:{}}}const t={pendingEvents:{},subscribers:{},dispatchOperations:{},store:n()};function r(n,t,r){e.error(n,t,\"sap.ushell.EventHub\");return}function o(e){const n=`An exception was raised while executing a registered callback on event '${e.eventName}'`;let t=`Data passed to the event were: '${e.eventData}'`;if(e.error.stack){t+=` Error details: ${e.error.stack}`}r(n,t,e.fnCausedBy)}function s(e,n,t){let r;try{r=n(t)}catch(r){o({eventName:e,eventData:t,fnCausedBy:n,error:r})}return r}function c(e,n){if(e.store.objectToKey.has(n)){return e.store.objectToKey.get(n)}e.store.nextKey++;const t=`<${typeof n}>#${e.store.nextKey}`;e.store.keyToObject[t]=n;e.store.objectToKey.set(n,t);return t}function i(e){if(typeof arguments[2]===\"function\"){return c(e,arguments[2])}return arguments[2]}function u(e,n){return e.store.keyToObject[n]}function a(e){if(typeof arguments[2]===\"string\"&&arguments[2].indexOf(\"<function\")===0){return u(e,arguments[2])}return arguments[2]}function f(e,n,t){if(typeof n===\"object\"||typeof n===\"function\"){try{const r=[n,i.bind(null,e)];if(t){r.push(3)}return JSON.stringify.apply(JSON,r)}catch(e){r(`${e}`,e.stack,f)}}return n}function l(e,n){try{return JSON.parse(n,a.bind(null,e))}catch(e){return n}}function p(e,n,t){if(!e.subscribers[n]){e.subscribers[n]=[]}e.subscribers[n].push(t)}function h(e,n,t){e.subscribers[n]=(e.subscribers[n]||[]).map(e=>e.filter(e=>e.fn!==t)).filter(e=>e.length>0)}function d(){let e;const n=new Promise(n=>{e=n});const t={dispatching:n,cancelled:false,cancel:function(){t.cancelled=true},complete:function(){e()}};return t}function b(e,n,t,r){const o=l(e,e.pendingEvents[n]);return Promise.resolve().then(()=>{if(t.called&&r.offed){return false}t.called=true;const c=r.offed;s(n,t.fn,o);const i=r.offed;if(i){h(e,n,t.fn)}return!c&&i})}function y(e,n,t,r,o){const s=t.length;const c=t.slice(o);return c.reduce((o,s)=>o.then(o=>{if(r.cancelled){if(o){h(e,n,s.fn)}return o}return b(e,n,s,t).then(e=>{if(e){r.cancelled=true}return e})}),Promise.resolve(false)).then(o=>{if(!o&&s<t.length){return y(e,n,t,r,s)}return o})}function m(e,n){if(!e.subscribers.hasOwnProperty(n)){return null}const t=d();const r=e.subscribers[n];const o=r.map(r=>y(e,n,r,t,0));Promise.all(o).then(t.complete,t.complete);return t}function v(e,n,t){return function(){t.forEach(t=>{h(e,n,t.fn)});t.offed=true;return{off:v(e,n,[])}}}function g(e,n,t){return function(r){const o={fn:r,called:false};t.push(o);if(e.pendingEvents.hasOwnProperty(n)){const r=e.dispatchOperations[n];if(!r){b(e,n,o,t)}else{r.dispatching.then(()=>{if(!o.called){b(e,n,o,t)}})}}return{do:g(e,n,t),off:v(e,n,t)}}}function O(e,n){const t=[];p(e,n,t);return{do:g(e,n,t),off:v(e,n,t)}}function w(e,n){const t=O(e,n);t.off();return t}function j(e,n,t,r){const o=f(e,t);if(!r&&e.pendingEvents.hasOwnProperty(n)&&e.pendingEvents[n]===o){return this}e.pendingEvents[n]=o;const s=e.dispatchOperations[n];if(s){s.cancel()}const c=m(e,n);e.dispatchOperations[n]=c;return this}function P(e,n){return l(e,e.pendingEvents[n])}function $(){const e=Array.prototype.slice.call(arguments);e.shift();let n=0;const t=new Array(e.length).join(\",\").split(\",\").map(()=>1);const r=[];const o={do:function(s){e.forEach((o,c)=>{o.do(((o,c)=>{r[o]=c;n+=t[o];t[o]=0;if(n===e.length){s.apply(null,r)}}).bind(null,c))});return{off:o.off}},off:function(){const n=e.reduce((e,n)=>n.off(),()=>{});return{off:n}}};return o}function E(e,n){const t=e.dispatchOperations[n];return t?t.dispatching:Promise.resolve()}function k(e){const t={};t.emit=j.bind(t,e);t.on=O.bind(null,e);t.once=w.bind(null,e);t.last=P.bind(null,e);t.join=$.bind(null,e);t.wait=E.bind(null,e);t._reset=function(e){e.pendingEvents={};e.subscribers={};e.dispatchOperations={};e.store=n()}.bind(null,e);return t}function x(e){const t={pendingEvents:{},subscribers:{},dispatchOperations:{},store:n()};const r=k(t);const o=l(t,f(t,e));function s(e){const n=e.charAt(0);if(n.match(/[a-zA-Z0-9]/)){throw new Error(`Invalid path separator '${n}'. Please ensure path starts with a non alphanumeric character`)}const t=e.split(n);t.shift();return t}function c(e,n){let t=e;let r=\"\";if(arguments.length===2){t=n;r=e}return`${r}/${t.join(\"/\")}`}function i(e){return Object.prototype.toString.apply(e)===\"[object Array]\"}function u(e){return Object(e)!==e}function a(e){return(i(e)?e.length:Object.keys(e).length)===0}function p(e,n,r,o){let s=\"\";let a=e;const l=[];r.reduce((e,n,p)=>{s=c(s,[n]);a=a[n];if(p===r.length-1){if(!u(o)&&!u(a)&&Object.keys(a).length>0){let e;const n=Object.keys(a).reduce((e,n)=>{e[n]=true;return e},{});const r=Object.keys(o).some(t=>{e=t;const r=n.hasOwnProperty(t);delete n[t];const o=!u(a[t])&&Object.keys(a[t]).length>0;return!r||o});const i=Object.keys(n).length>0;const p=r||i;if(p){const c=r?`One or more values are not defined in the channel contract or are defined as a non-empty object/array, for example, check '${e}'.`:`Some keys are missing in the event data: ${Object.keys(n).join(\", \")}.`;throw new Error(`Cannot write value '${f(t,o,true)}' to path '${s}'. ${c} All childrens in the value must appear in the channel contract and must have a simple value or should be defined as an empty complex value`)}const h=Object.keys(o).map(e=>({serializedPath:c(s,[e]),value:o[e]}));Array.prototype.push.apply(l,h)}e[n]=o}else if(!e.hasOwnProperty(n)){e[n]=i(a)?[]:{}}l.push({serializedPath:s,value:e[n]});return e[n]},n);return l}function h(e,n){let r=\"\";const o=n.reduce((e,n)=>{r+=`/${n}`;if(i(e)&&!n.match(/^[0-9]+$/)){throw new Error(`Invalid array index '${n}' provided in path '${r}'`)}if(!e.hasOwnProperty(n)){throw new Error(`The item '${n}' from path ${r} cannot be accessed in the object: ${f(t,e)}`)}return e[n]},e);return o}function d(e,n,t){return n.reduce((e,r,o)=>{const s=o===n.length-1;if(e.hasOwnProperty(r)){return e[r]}return s?t:{}},e)}function b(e,n){n.pop();let t=e;const r=[];return n.reduce((e,n)=>{t=t[n];r.push(n);e.push({serializedPath:c(r),value:t});return e},[])}function y(e){return e.map(e=>{const n=e.serializedPath;if(!t.subscribers.hasOwnProperty(n)||t.subscribers[n].length===0){return null}return{path:n,value:e.value}}).filter(e=>!!e)}function m(n,t){const c=s(n);h(e,c);const i=p(e,o,c,t);i.forEach(e=>{r.emit(e.serializedPath,e.value)})}function v(n){const t=s(n);const r=h(e,t);return d(o,t,r)}function g(n){const o=s(n);const i=c(o);let p=r.last(i);const d=t.pendingEvents.hasOwnProperty(i);if(d){return r.on(i)}p=h(e,o);if(typeof p!==\"undefined\"&&(u(p)||!a(l(r,f(r,p))))){r.emit(i,p)}return r.on(i)}function O(e){const n=g(e);n.off();return n}function w(e){const n=s(e);const t=b(o,n);const c=y(t).map(e=>r.wait(e.path,e.value));return Promise.all(c.concat(r.wait(e)))}return{emit:m,on:g,once:O,last:v,wait:w,join:$.bind(null,r)}}const A=k(t);A.createChannel=x.bind(null);return A});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/Fiori20Adapter\", [\"sap/ui/base/Object\",\"sap/ui/core/Component\",\"sap/ui/core/UIComponent\",\"sap/ui/core/ComponentHooks\",\"sap/ui/model/resource/ResourceModel\",\"sap/m/Fiori20Adapter\",\"sap/ui/thirdparty/hasher\",\"sap/base/util/extend\"],(e,t,i,n,o,r,s,a)=>{\"use strict\";n.onUIComponentInstanceDestroy.register(e=>{if(e._fioriAdapter){e._fioriAdapter.destroy()}if(e._oShellUIService){e._oShellUIService.destroy()}});const c=e.extend(\"AppInfo\",{constructor:function(t){e.call(this);this._oComponent=t},getDefaultTitle:async function(){const e=this._oComponent.getManifestEntry(\"sap.app\");if(e&&e.title){const t=e.title;if(this._isLocalizationKey(t)){const i=e.i18n||\"i18n/i18n.properties\";return this._getLocalized(t,i)}return t}const t=this._oComponent.getManifestEntry(\"sap.ui5\");if(t?.config?.resourceBundle&&t.config.titleResource){const e=t.config.titleResource;const i=t.config.resourceBundle;return this._getLocalized(e,i)}},_getLocalized:async function(e,t){const i=new o({async:true,bundleUrl:`${sap.ui.require.toUrl(this._oComponent.getMetadata().getComponentName())}/${t}`});const n=await i.getResourceBundle();return n.getText(e.replace(/^{{/,\"\").replace(/}}$/,\"\"))},_isLocalizationKey:function(e){return e.indexOf(\"{{\")===0&&e.indexOf(\"}}\")>0}});const h=e.extend(\"HeaderInfo\",{constructor:function(t,i,n){e.call(this);this._oConfig=i;this._oAppInfo=n;this._oShellUIService=t._oShellUIService;this._aHierarchy=[];this._pInit=this._oAppInfo.getDefaultTitle().then(e=>{this._sDefaultTitle=e})},registerView:async function(e){if(this._oConfig.bMoveTitle===true){if(!e.oTitleInfo&&e.oSubTitleInfo){e.oTitleInfo=e.oSubTitleInfo}this._oCurrentViewInfo=e;const t=e.oTitleInfo?e.oTitleInfo.text:undefined;if(t!==this._oShellUIService.getTitle()){try{this._oShellUIService.setTitle(t)}catch{}}await this._updateHierarchy(e)}this._setBackNavigation(e.oBackButton,e.oAdaptOptions)},_setBackNavigation:function(e,t){if(t&&t.bHideBackButton===false){return}let i;if(e){i=e.firePress.bind(e)}this._oShellUIService.setBackNavigation(i)},_updateHierarchy:async function(e){if(this._oConfig.bHierarchy===false){return}await this._pInit;if(!e){return}let t=true;const i=`#${s.getHash()}`;for(let n=this._aHierarchy.length-1;n>=0;n--){let o=this._aHierarchy[n];const r=o.id===e.sViewId;const s=o.intent===i;if(r||s){t=false;o=this._updateHierarchyEntry(o,e);this._aHierarchy[n]=o;this._aHierarchy=this._aHierarchy.slice(0,n+1);if(r){o.intent=i}break}}if(t){const t=this._createHierarchyEntry(e);this._aHierarchy.push(t)}const n=[];for(let e=this._aHierarchy.length-2;e>=0;e--){n.push(this._aHierarchy[e])}try{this._oShellUIService.setHierarchy(this._deleteUndefinedProperties(n))}catch{}},_createHierarchyEntry:function(e){return{id:e.sViewId,title:e.oTitleInfo?e.oTitleInfo.text:this._sDefaultTitle,subtitle:e.oSubTitleInfo?e.oSubTitleInfo.text:undefined,intent:`#${s.getHash()}`}},_updateHierarchyEntry:function(e,t){e.id=t.sViewId;e.title=t.oTitleInfo?t.oTitleInfo.text:this._sDefaultTitle;e.subtitle=t.oSubTitleInfo?t.oSubTitleInfo.text:undefined;return e},_deleteUndefinedProperties:function(e){e.forEach(e=>{for(const t in e){if(e.hasOwnProperty(t)&&!e[t]&&t!==\"title\"){delete e[t]}}});return e}});const f=e.extend(\"sap.ushell.Fiori20Adapter\",{constructor:function(t,i){e.call(this);this._oComponent=t;this._oConfig=i;this._oHeaderInfo=new h(t,i,new c(t));if(r){r.attachViewChange(this._onViewChange,this)}},init:function(){if(!r){return}const e=a({},this._oConfig);r.traverse(this._oComponent.getAggregation(\"rootControl\"),e)},destroy:function(){if(r){r.detachViewChange(this._onViewChange,this)}},_onViewChange:async function(e){await this._oHeaderInfo.registerView(e.getParameters())}});f.applyTo=function(e,n,o,r){let s=e instanceof i?e:t.getOwnerComponentFor(e);if(!s){s=n}if(!s){return}s._oShellUIService=r;if(!s._fioriAdapter){s._fioriAdapter=new f(s,o);s._fioriAdapter.init()}};return f});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/Fiori20AdapterTest\", [\"sap/base/Log\",\"sap/base/util/isEmptyObject\",\"sap/base/util/Version\",\"sap/ui/core/Configuration\",\"sap/ui/core/library\",\"sap/ui/core/service/ServiceFactoryRegistry\",\"sap/ui/core/UIComponent\",\"sap/ui/core/ComponentHooks\",\"sap/ushell/Fiori20Adapter\"],(e,i,t,n,s,a,r,o,u)=>{\"use strict\";const c={I_DEFAULT_SEARCH_DEPTH:5,B_DEFAULT_LATE_ADAPTATION:false,S_FIORI20ADAPTER_URL_PARAM_NAME:\"sap-ui-xx-fiori2Adaptation\",S_FIORI20ADAPTER_METADATA_PARAM_NAME:\"sapFiori2Adaptation\",A_ALLOWLIST:[\"fin.*\",\"ssuite.fin.*\",\"fscm.*\",\"sap.fin.*\",\"cus.sd.*\",\"cus.o2c.*\",\"sap.apf.*\",\"tl.ibp.*\",\"ux.fnd.apf.o2c.*\",\"fnd.apf.*\",\"fnd.pob.o2c.*\",\"fcg.sll.*\",\"ux.fnd.generic-apf-application.*\",\"hpa.cei.*\",\"query.viewbrowser.s1.*\",\"ssuite.vdm.viewbrowser.s1.*\",\"ssuite.smartbusiness.kpi.s1.*\",\"ssuite.smartbusiness.evaluation.s1.*\",\"ssuite.smartbusiness.association.s1.*\",\"ssuite.smartbusiness.drilldown.s1.*\",\"ssuite.smartbusiness.tile.s1.*\",\"ssuite.smartbusiness.tile.ce.s1.*\",\"ssuite.smartbusiness.workspace.s1.*\",\"ssuite.smartbusiness.runtime.s1.*\",\"gs.fin.customersummarycn.display.*\",\"gs.fin.financialstatement.structure.manage.*\",\"gs.fin.financialstatement.display.*\",\"uipsm.*\",\"publicservices.her.*\"],getConfiguration:function(e){let i;i=this._getURLParamConfiguration();if(!i){i=this._getMetadataConfiguration(e)}if(!i){i=this._getDefaultConfiguration(e)}i.iSearchDepth=i.iSearchDepth||c.I_DEFAULT_SEARCH_DEPTH;if(typeof i.iSearchDepth===\"string\"&&!isNaN(i.iSearchDepth)){i.iSearchDepth=parseInt(i.iSearchDepth,10)}return i},_getURLParamConfiguration:function(){if(!n||typeof n.getFiori2Adaptation!==\"function\"){return}const e=new URLSearchParams(window.location.search);if(!e.get(c.S_FIORI20ADAPTER_URL_PARAM_NAME)){return}const i=n.getFiori2Adaptation();let t;let s;if(typeof i===\"boolean\"){t=i}else if(i&&i.length>=1){s=i}if(!s&&t===undefined){return}return{bStylePage:s?s.indexOf(\"style\")>-1:t,bMoveTitle:s?s.indexOf(\"title\")>-1:t,bHideBackButton:s?s.indexOf(\"back\")>-1:t,bCollapseHeader:s?s.indexOf(\"collapse\")>-1:t,bHierarchy:s?s.indexOf(\"hierarchy\")>-1:t}},_getMetadataConfiguration:function(e){const t=e.getManifestEntry(\"/sap.ui5/config\")||{};const n=t[c.S_FIORI20ADAPTER_METADATA_PARAM_NAME];let s;let a;if(typeof n===\"boolean\"){s=n}else if(typeof n===\"object\"&&!i(n)){a=n}if(!a&&s===undefined){return}return{bStylePage:a?this._isSgnTrue(a.style):s,bMoveTitle:a?this._isSgnTrue(a.title):s,bHideBackButton:a?this._isSgnTrue(a.back):s,bCollapseHeader:a?this._isSgnTrue(a.collapse):s,bHierarchy:a?this._isSgnTrue(a.hierarchy):s,bLateAdaptation:a?this._isSgnTrue(a.lateAdaptation):c.B_DEFAULT_LATE_ADAPTATION}},_getDefaultConfiguration:function(e){const i=this._hasMinVersionSmallerThan(e,\"1.42\")&&this._isAllowed(e);return{bStylePage:i,bMoveTitle:i,bHideBackButton:i,bCollapseHeader:i,bHierarchy:i}},_isAllowed:function(e){const i=e.getMetadata().getName();for(let e=0;e<c.A_ALLOWLIST.length;e++){const t=c.A_ALLOWLIST[e].substring(0,c.A_ALLOWLIST[e].length-2);if(this._isPrefixedString(i,t)){return true}}return false},_isAdaptationRequired:function(e){for(const i in e){if(e[i]===true){return true}}return false},_isPrefixedString:function(e,i){return e&&i&&e.substring(0,i.length)===i},_hasMinVersionSmallerThan:function(e,i){const n=e.getManifestEntry(\"sap.ui5\");let s=true;if(n&&n.dependencies&&n.dependencies.minUI5Version){const e=new t(n.dependencies.minUI5Version);s=e.compareTo(new t(i))<0}return s},_isSgnTrue:function(e){return e===true||e===\"true\"}};o.onUIComponentInstanceInitialized.register(i=>{const t=i.getAggregation(\"rootControl\");if(!t||t.getId()===\"navContainerFlp\"||i.getId().indexOf(\"application-\")!==0){return}const n=c.getConfiguration(i);if(!c._isAdaptationRequired(n)){return}if(!s.service||!a||typeof a.get!==\"function\"){e.warning(\"Fiori20Adapter not loaded because static FactoryRegistry is not available\",\"sap.ui.core.service.ServiceFactoryRegistry should be a function\",\"sap.ushell.Fiori20AdapterTest\");return}const r={onBeforeRendering:function(){t.removeEventDelegate(r);const s=a.get(\"sap.ushell.ui5service.ShellUIService\");const o=s&&s.createInstance({scopeObject:i,scopeType:\"component\"});if(!s||!o){e.warning(\"Fiori20Adapter not loaded because ShellUIService is not available\",\"sap.ushell.ui5service.ShellUIService should be declared by configuration\",\"sap.ushell.Fiori20AdapterTest\");return}o.then(e=>u.applyTo(t,i,n,e)).catch(i=>{e.warning(\"Fiori20Adapter not loaded as ShellUIService is not available\",i,\"sap.ushell.Fiori20AdapterTest\")})}};t.addEventDelegate(r)})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/Layout\", [\"sap/base/i18n/Localization\",\"sap/base/util/extend\",\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(t,e,i,s,n,jQuery,o,r)=>{\"use strict\";function l(t){this.init(t)}l.prototype={settings:null,tileWidth:0,tileHeight:0,tileMargin:0,curTouchMatrixCords:null,tilesInRow:null,groupsList:null,item:null,matrix:null,tiles:null,collisionLeft:false,startGroup:null,currentGroup:null,endGroup:null,init:function(i){this.curTouchMatrixCords={column:null,row:null};this.endGroup=null;this.groupSwitched=false;this.item=null;this.matrix=null;this.tiles=null;this.collisionLeft=false;this.startArea=null;this.currentArea=null;this.endArea=undefined;this.startGroup=null;this.draggedTileDomRef=null;this.sDragStartGroupModelId=undefined;this.sDragTargetGroupModelId=undefined;this.currentGroup=null;this.groupsList=null;this.allGroups=null;this.settings=this.settings||i;e(this,this.settings);this.tileWidth=this.thisLayout.styleInfo.tileWidth;this.tileHeight=this.thisLayout.styleInfo.tileHeight;this.tileMargin=this.thisLayout.styleInfo.tileMarginWidth;this.aExcludedControlClass=this.aExcludedControlClass||[];this.reorderElementsCallback=this.reorderElementsCallback||function(){};this.rightToLeft=t.getRTL();this.tabBarArrowCollisionRight=false;this.tabBarArrowCollisionLeft=false;this.collidedLinkAreas=[];this.intersectedLink=null;this.aLinksBoundingRects=[];this.intersectedLinkPlaceHolder=undefined;this.isLinkPersonalizationSupported=this.thisLayout.oLaunchPageService?this.thisLayout.oLaunchPageService.isLinkPersonalizationSupported():null;this.isLinkMarkerShown=false;this.bIsTabBarCollision=false},moveDraggable:function(t,e,i){const s=this.getCollisionObject(t,e,i);let n;if(s){this._toggleAnchorItemHighlighting(false);if(s.collidedObjectType!==\"TabBar\"){this._toggleTabBarOverflowArrows(false);this.thisLayout.setOnTabBarElement(false);this._resetOverFlowButtonElements();this.bIsTabBarCollision=false}else{this.bIsTabBarCollision=true;this._toggleTabBarOverflowArrows(true);this.removePlaceHolders();this._handleTabBarCollision(t,i)}if(this.isLinkPersonalizationSupported&&s.collidedObjectType===\"Group-link\"){n=this._handleLinkAreaIntersection(s.collidedObject,t,e)}else if(s.collidedObjectType===\"Group-tile\"){n=this._handleTileAreaIntersection(s.collidedObject,t,e);this._toggleTileCloneHoverOpacity(false)}if(n||this.endAreaChanged){this.handlePlaceHolder(s.collidedObject)}}else{this._removeEmptyLinkAreaMark()}},_toggleAnchorItemHighlighting:function(t){if(this.targetGroup){this.targetGroup.classList.toggle(\"sapUshellAnchorItemDropCollision\",t);this.targetGroup.firstElementChild.classList.toggle(\"sapUshellAnchorInnerMarker\",t)}},removePlaceHolders:function(){this._removeLinkDropMarker();this._removeEmptyLinkAreaMark();this._handleChangedGroup(this.currentGroup)},handlePlaceHolder:function(t){if(this.endArea===\"tiles\"){if(this.endAreaChanged){this._removeLinkDropMarker()}this.handlePlaceholderChange()}else if(this.endArea===\"links\"&&this.intersectedLink){this._changeLinkPlaceholder(this.intersectedLink,t);if(this.endAreaChanged){this.handlePlaceholderChange()}}},switchLinkWithClone:function(t){if(t){this.intersectedLinkPlaceHolder=t.getDomRef().cloneNode(true);this.intersectedLinkPlaceHolder.setAttribute(\"id\",\"sapUshellIntersectedLinkPlaceHolder\");t.$().replaceWith(this.intersectedLinkPlaceHolder)}},_removeLinkDropMarker:function(){jQuery(\"#sapUshellLinkDropMarker\").remove();this.isLinkMarkerShown=false},saveLinkBoundingRects:function(t){const e=s.getElementById(t.getAttribute(\"id\"));this.draggedLinkBoundingRects=e.getBoundingRects()},_getMarkerOffset:function(t,e){const i=e.getDomRef().getElementsByClassName(\"sapUshellLineModeContainer\")[0].getBoundingClientRect();const s=i.left;const n=i.top;const o=this.rightToLeft?20:-1;const r=this.rightToLeft?42:21;let l=t[t.length-1].offset.x-s+t[t.length-1].width-o;let a=t[this.rightToLeft?t.length-1:0].offset.x-s-r;let h=t[this.rightToLeft?t.length-1:0].offset.y-n;let u=t[this.rightToLeft?0:t.length-1].offset.y-n;if(document.body.classList.contains(\"sapUiSizeCompact\")){h-=6;u-=6}if(this.rightToLeft){if(i.right-t[t.length-1].offset.x-t[t.length-1].width<16){l=l-8}}else if(a<16){a=0}return{right:l,left:a,topLeft:h,topRight:u}},_changeLinkPlaceholder:function(t,e){const i=this.aLinksBoundingRects[t.link.getId()];const s=i.left;const n=i.topLeft;const o=i.topRight;const r=i.right;if(!e.getDomRef().querySelector(\"#sapUshellLinkDropMarker\")){this._removeLinkDropMarker();const t=e.getDomRef().getElementsByClassName(\"sapUshellLinksInnerContainer\")[0];jQuery(t).prepend(this.LinkDropMarker)}this.LinkDropMarker.style.left=`${t.leftSide?s:r}px`;this.LinkDropMarker.style.top=`${t.leftSide?n:o}px`;this.isLinkMarkerShown=true},showTilePlaceholder:function(t,e,i){const s=this.curTouchMatrixCords.row;const n=this.curTouchMatrixCords.column;this.domRef=this.item.getDomRef()?this.item.getDomRef():this.domRef;this.domRef.style.display=\"\";this.removeExcludedElementsFromMatrix(this.aExcludedControlClass);const o=this.tiles||this.thisLayout.getGroupTiles(this.endGroup).slice(0);if(this.matrix[s]&&typeof this.matrix[s][n]===\"object\"){this.handleMatrixCollision(o,t,e,i);return}this._handleMoveOutOfBorders(o,t)},removeTilePlaceholder:function(){this.domRef=this.item.getDomRef()||this.domRef;let t=this.thisLayout.getGroupTiles(this.currentGroup);t=t.slice(0);if(this.startArea!==\"links\"&&t.indexOf(this.item)>-1){t.splice(t.indexOf(this.item),1)}if(!this.domRef.parentNode.contains(\"sapUshellLinksInnerContainer\")){this.domRef.style.display=\"none\"}this.thisLayout.initGroupDragMode(this.endGroup);const e=this.thisLayout.organizeGroup(t);this.thisLayout.renderLayoutGroup(this.currentGroup,e)},handlePlaceholderChange:function(){const t=this.currentGroup;const e=this.endGroup!==this.currentGroup;const i=this.endAreaChanged&&this.endArea===\"links\";const s=this.thisLayout.isTabBarActive()&&this.groupSwitched;this.tiles=this.thisLayout.getGroupTiles(this.endGroup).slice(0);this.matrix=this.thisLayout.organizeGroup(this.tiles);if(s){this.handleTabBarSwitch(t)}if(e){this._handleChangedGroup(t)}else if(i){this.removeTilePlaceholder()}if(!i){this.showTilePlaceholder(t,e,i)}},handleMatrixCollision:function(t,e,i,s){let n=this.matrix[this.curTouchMatrixCords.row][this.curTouchMatrixCords.column];const o=t.indexOf(n);const r=t.indexOf(this.item);if(this.rightToLeft){this.collisionLeft=!this.collisionLeft}if(r>-1&&r<o){n=t[o+1]}if(n===this.item){if(i||s){t.splice(t.indexOf(this.item),1)}this._handleTileReplace(t,e);return}const l=this.changeTilesOrder(this.item,n,t,this.matrix);if(l&&!this.isLinkMarkerShown){this._handleTileReplace(l,e)}},handleTabBarSwitch:function(t){this._appendTargetGroupDomRefWithDraggedTile();if(!this.item.getDomRef()){this.endGroup.getInnerContainersDomRefs()[0].appendChild(this.draggedTileDomRef)}else{this.endGroup.getInnerContainersDomRefs()[0].appendChild(this.item.getDomRef())}this.currentGroup=this.endGroup;const e=this.thisLayout.getGroupTiles(t);this.thisLayout.initGroupDragMode(this.endGroup);const i=this.thisLayout.organizeGroup(e);this.thisLayout.renderLayoutGroup(t,i)},_handleMoveOutOfBorders:function(t,e){const i=this.findTileToPlaceAfter(this.matrix,t);if(t[i+1]===this.item){return}let s;if(t[i+1]){s=t[i+1]}else if(this.currentGroup.getShowPlaceholder()){s=t[0]}const n=this.changeTilesOrder(this.item,s,t,this.matrix);if(n){this._handleTileReplace(n,e)}},_handleChangedGroup:function(t){let e=this.thisLayout.getGroupTiles(this.currentGroup);if(this.currentGroup===this.startGroup&&(this.startArea===\"tiles\"||this.intersectedLinkPlaceHolder)){e=e.slice(0);if(e.indexOf(this.item)>-1){e.splice(e.indexOf(this.item),1)}}if(this.startGroup===this.endGroup&&this.startArea===\"tiles\"){this.tiles.splice(this.tiles.indexOf(this.item),1)}const i=this.item.getDomRef()||this.domRef;if(this.startArea===\"links\"&&!this.intersectedLinkPlaceHolder){this.switchLinkWithClone(this.item)}if(this.endArea===\"tiles\"){this.endGroup.getInnerContainersDomRefs()[0].appendChild(i)}if(!i.parentNode.contains(\"sapUshellLinksInnerContainer\")){i.style.display=\"none\"}this.currentGroup=this.endGroup;this.thisLayout.initGroupDragMode(this.endGroup);const s=this.thisLayout.organizeGroup(e);this.thisLayout.renderLayoutGroup(t,s)},_handleTileReplace:function(t,e){this.reorderElementsCallback({currentGroup:e,endGroup:this.endGroup,tiles:t,item:this.item});this.reorderTilesView(t,this.endGroup);this.reorderTilesInDom();this.thisLayout.renderLayoutGroup(this.endGroup,this.matrix)},_getIntersectedLink:function(t,e,i){const s=document.getElementsByClassName(\"sapUshellLinkTile\")[0];if(!s){return}const n=t.getDomRef().querySelector(\".sapUshellLineModeContainer\").getBoundingClientRect();const o=!document.body.classList.contains(\"sapUiSizeCompact\");let r=Math.floor((i-n.top)/(o?45:31));const l=this.collidedLinkAreas[t.getId()];let a;if(this.rightToLeft){a=Math.floor((n.right-e)/20)}else{a=Math.floor((e-n.left)/20)}if(r<l.length&&l[r]&&a<l[r].length){return l[r][a]}else if(l.length){const e=l.length;if(r>=e){r=e-1}if(!this.collidedLinkAreas[t.getId()][r]){return}a=this.collidedLinkAreas[t.getId()][r].length;return this.collidedLinkAreas[t.getId()][r][a-1]}},_mapGroupLinks:function(t){const e=t.getId();if(!this.collidedLinkAreas[e]||this.bElapseGroupLinksMap){this.bElapseGroupLinksMap=false;const i=t.getLinks();const s=[];let n;let o;let r=0;this.collidedLinkAreas.push(t.getId());i.forEach(e=>{o=this._getLinkBoundingRects(e,t);o.forEach(i=>{if(i.offset.y>n){r++}n=i.offset.y;this._addLinkToHashMap(s,t,i,r,e)})});this.collidedLinkAreas[e]=s}},_getLinkBoundingRects:function(t,e){let i=t.getBoundingRects();if(this.item&&this.item.getId()===t.getId()){i=this.draggedLinkBoundingRects}if(i.length){this.aLinksBoundingRects[t.getId()]=this._getMarkerOffset(i,e)}return i},_addLinkToHashMap:function(t,e,i,s,n){if(!t[s]){t[s]=[]}for(let e=0;e<=(i.width+20)/20;e++){const o={link:n,leftSide:!this.rightToLeft};if(e>(i.width+20)/20/2){o.leftSide=this.rightToLeft}t[s].push(o)}},_isLinkAreaIntersection:function(t,e,i){const s=t.getInnerContainersDomRefs();if(s[1]){return this._isElementCollideByGivenCordinates(s[1],e,i)}return false},_isLinksEquals:function(t,e){if(!t||!e){return false}if(t.link.getId()!==e.link.getId()){return false}return t.link.leftSide===e.link.leftSide},_toggleTileCloneHoverOpacity:function(t){const e=document.getElementsByClassName(\"sapUshellTile-clone\");for(let i=0;i<e.length;++i){e[i].classList.toggle(\"sapUshellTileDragOpacity\",t)}},_handleLinkAreaIntersection:function(t,e,i){if(this.isLinkPersonalizationSupported){this._toggleTileCloneHoverOpacity(true)}this._mapGroupLinks(t);this.matrix=this.matrix||this.thisLayout.organizeGroup(this.thisLayout.getGroupTiles(t));const s=this._getIntersectedLink(t,e,i);let n=false;if(s){n=this._isLinksEquals(this.intersectedLink,s);this.intersectedLink=s}else{this.removeTilePlaceholder()}this._markEmptyLinkArea(t);return n},_markEmptyLinkArea:function(t){if(!t.getLinks().length){const e=t.getDomRef();if(e){const t=e.getElementsByClassName(\"sapUshellLineModeContainer\");for(let e=0;e<t.length;++e){t[e].classList.add(\"sapUshellEmptyLinkAreaHover\")}}}},_removeEmptyLinkAreaMark:function(){const t=document.getElementsByClassName(\"sapUshellLineModeContainer\");for(let e=0;e<t.length;++e){t[e].classList.remove(\"sapUshellEmptyLinkAreaHover\")}},reorderTilesInDom:function(){const t=this.item.getDomRef()?this.item.getDomRef():this.domRef;const e=jQuery(t).index();const i=jQuery(t).closest(\".sapUshellTilesContainer-sortable\");const s=this.calcDestIndexInGroup();const n=jQuery(this.endGroup.getDomRef()).find(\".sapUshellTilesContainer-sortable\");let o=n.find(\".sapUshellTile\");if(this.startArea===\"tiles\"){i.find(o[e]).remove()}else if(!this.intersectedLinkPlaceHolder){this.switchLinkWithClone(this.item)}if(this.endArea!==\"links\"){o=n.find(\".sapUshellTile\");n[0].insertBefore(t,o[s])}},isLinkIntersected:function(){return this.intersectedLink!==undefined},calcDestIndexInGroup:function(){let t;let e=0;let i;let s;let n=false;for(i=0;i<this.matrix.length&&!n;i++){for(s=0;s<this.matrix[i].length;s++){if(this.matrix[i][s]!==undefined){if(this.item.sId!==this.matrix[i][s].sId){if(t!==this.matrix[i][s].sId){t=this.matrix[i][s].sId;e++}}else{n=true;break}}}}return e},layoutStartCallback:function(t){this.init();this.item=s.getElementById(t.getAttribute(\"id\"));this.tilesInRow=this.thisLayout.getTilesInRow();this.groupsList=this.thisLayout.getGroups();this.allGroups=this.thisLayout.getAllGroups();this.startGroup=this.currentGroup=this.item.getParent();this.groupSwitched=false;this.startArea=this.isLinkPersonalizationSupported&&this.item.getMode&&this.item.getMode()===\"LineMode\"?\"links\":\"tiles\";this.currentArea=this.startArea;this.thisLayout.initDragMode();if(this.isLinkPersonalizationSupported){this.LinkDropMarker=this._getLinkDropMarkerElement()}},_getLinkDropMarkerElement:function(){const t=document.createElement(\"DIV\");const e=document.createElement(\"DIV\");const i=document.createElement(\"DIV\");t.setAttribute(\"id\",\"sapUshellLinkDropMarker\");e.setAttribute(\"id\",\"sapUshellLinkDropMarkerDot\");i.setAttribute(\"id\",\"sapUshellLinkDropMarkerLine\");t.appendChild(e);t.appendChild(i);return t},isAreaChanged:function(){return this.currentArea&&this.endArea?this.currentArea!==this.endArea:false},isOriginalAreaChanged:function(){return this.startArea&&this.endArea?this.startArea!==this.endArea:false},_getDestinationIndex:function(t){if(t===\"links\"){if(this.intersectedLink){let t=this.endGroup.getLinks().indexOf(this.intersectedLink.link);const e=this.endGroup.getLinks().indexOf(this.item);if(this.intersectedLink.leftSide){t=this.rightToLeft?t+1:t-1}if(e<0||e>t){t=this.rightToLeft?t:t+1}return t}return this.endGroup.getLinks().length}return this._getDestinationTileIndex()},layoutEndCallback:function(){this._removeLinkDropMarker();if(this.endArea!==\"links\"&&!this.tiles){return{tile:this.item}}const t=this._getDragSourceGroup();if(!u.isTabBarActive()||!this.bIsTabBarCollision){this.targetGroup=\"\"}const e=this._getDestGroupObject(this.targetGroup);const i={srcGroup:t,dstGroup:e,dstGroupData:this._getDropTargetGroup(),tile:this.item,dstTileIndex:this._getDestinationIndex(this.endArea),tileMovedFlag:true,srcArea:this.startArea,dstArea:this.bIsTabBarCollision?undefined:this.endArea};return i},_getDestGroupObject:function(t){return t?s.getElementById(t.getAttribute(\"id\")):this.endGroup},_getDragSourceGroup:function(){let t;t=this.startGroup;if(this.thisLayout.isTabBarActive()&&this.groupSwitched===true){t={groupId:this.sDragStartGroupModelId}}return t},_getDropTargetGroup:function(){let t;if(this.thisLayout.isTabBarActive()&&this.thisLayout.isOnTabBarElement()){t={groupId:this.sDragTargetGroupModelId}}else{t=this.endGroup}return t},_getDestinationTileIndex:function(){let t;let e;if(this.thisLayout.isTabBarActive()&&this.thisLayout.isOnTabBarElement()){t=this._getDropTargetGroup().groupId;e=this._getModelGroupById(t);return e.tiles.length}return this.tiles.indexOf(this.item)},compareArrays:function(t,e){if(t.length!==e.length){return false}for(let i=0;i<t.length;i++){if(t[i]!==e[i]){return false}}return true},reorderTilesView:function(t){this.tiles=t;this.matrix=this.thisLayout.organizeGroup(t)},changeTilesOrder:function(t,e,i,s){const n=i.slice(0);const o=n.indexOf(t);let r;let l;let a;if(o>-1){n.splice(o,1)}if(e){n.splice(n.indexOf(e),0,this.item)}else{n.push(t)}if(this.currentGroup===this.endGroup){if(this.compareArrays(i,n)){return false}r=this.thisLayout.organizeGroup(n);l=this.thisLayout.getTilePositionInMatrix(t,s);a=this.thisLayout.getTilePositionInMatrix(t,r);if(l.row===a.row&&l.col===a.col){return false}}this.tiles=n;this.currentGroup=this.endGroup;return n},setMatrix:function(t){this.matrix=t},findTileToPlaceAfter:function(t,e){let i=this.thisLayout.rightToLeft?0:this.curTouchMatrixCords.column;const s=this.thisLayout.rightToLeft?1:-1;let n=0;let o;let r;let l;const a=t[0].length;for(o=this.curTouchMatrixCords.row;o>=0;o--){for(r=i;r>=0&&r<a;r+=s){if(!t[o]||typeof t[o][r]!==\"object\"){continue}l=e.indexOf(t[o][r]);n=l>n?l:n}i=t[0].length-1}return n||e.length-1},_isElementCollideByGivenCordinates:function(t,e,i){let s=t.getBoundingClientRect();let n=false;let o=false;if(s.height===0&&!t.classList.contains(\"sapUshellNoLinksAreaPresent\")){s=t.parentNode.getBoundingClientRect()}n=s.right>=e&&s.left<=e;o=s.bottom>=i&&s.top<=i;return n&&o},_getMatrixCordinatesOfTouchedTile:function(t,i,s){let n=e({},this.curTouchMatrixCords);const o=t.getInnerContainersDomRefs()[0].getBoundingClientRect();this.matrix=this.matrix||this.thisLayout.organizeGroup(this.thisLayout.getGroupTiles(t));const r=this.rightToLeft?o.right+-1*i:o.left*-1+i;const l=(o.top*-1+s)/(this.tileHeight+this.tileMargin);const a=r/(this.tileWidth+this.tileMargin);n={row:Math.floor(l),column:Math.floor(a)};return n},_getCollidedGroup:function(t,e){for(let i=0;i<this.groupsList.length;i++){const s=this.groupsList[i];const n=s.getInnerContainersDomRefs();if(!n){continue}for(let o=0;o<n.length;o++){if(n[o]&&this._isElementCollideByGivenCordinates(n[o],t,e)){const t=!s.groupHasTiles();for(let e=this.groupsList.length-1;e>=i;e--){if(t){break}if(!this.groupsList[e].groupHasTiles()){const t=this.groupsList[e].getDomRef();if(!t||!t.classList.contains(\"sapUshellInDragMode\")){continue}const i=t.getElementsByClassName(\"sapUshellInner\");for(let t=0;t<i.length;t++){i[t].removeAttribute(\"style\")}}}return s}}}},_handleTileAreaIntersection:function(t,i,s){const n=this._getMatrixCordinatesOfTouchedTile(t,i,s);if(t===this.endGroup&&n.column===this.curTouchMatrixCords.column&&n.row===this.curTouchMatrixCords.row){return false}if(this.rightToLeft){this.collisionLeft=this.curTouchMatrixCords.column-n.column>0}else{this.collisionLeft=n.column-this.curTouchMatrixCords.column>0}if(n.column===this.curTouchMatrixCords.column){this.collisionLeft=false}e(this.curTouchMatrixCords,n);return true},_getGroupCollisionObject:function(t,e){const i=this._getCollidedGroup(t,e);if(!i||i.getIsGroupLocked()){return undefined}const s=this._isLinkAreaIntersection(i,t,e);this.endGroup=i;if(!this.tiles){this.tiles=this.thisLayout.getGroupTiles(this.endGroup).slice(0)}this.endArea=s?\"links\":\"tiles\";this.endAreaChanged=this.isAreaChanged();this.currentArea=this.endArea;return{collidedObjectType:s?\"Group-link\":\"Group-tile\",collidedObject:i}},getCollisionObject:function(t,e){if(this.thisLayout.oTabBarItemClickTimer){clearTimeout(this.thisLayout.oTabBarItemClickTimer)}if(this.thisLayout.isTabBarActive()&&this._isTabBarCollision(e)){return{collidedObjectType:\"TabBar\"}}return this._getGroupCollisionObject(t,e)},_isTabBarScrollArea:function(t){const e=jQuery(\"#anchorNavigationBar\").height()||0;const i=jQuery(\"#anchorNavigationBar\").offset();const s=i?i.top:0;const n=e+s;return e>0&&t>n&&t<n+30},_cancelLongDropTimmer:function(){clearTimeout(this.thisLayout.oTabBarItemClickTimer)},_isTabBarCollision:function(t){const e=jQuery(\"#anchorNavigationBar\").height()||0;const i=jQuery(\"#anchorNavigationBar\").offset();const s=i?i.top:0;return t<e+s&&t>s},_handleTabBarCollision:function(t,e){const i=this._getTabBarHoverItem(t,e);if(u.isTabBarActive()){this._toggleTileCloneHoverOpacity(true)}this.lastHighlitedTabItem=i;this.thisLayout.setOnTabBarElement(true);const s=this._handleOverflowCollision(t);if(s){return}if(!i){return}this.targetGroup=i;this.sDragTargetGroupModelId=i.getAttribute(\"modelGroupId\");const o=this._getTabBarGroupIndexByModelId(this.sDragTargetGroupModelId);if(this.thisLayout.oTabBarItemClickTimer){clearTimeout(this.thisLayout.oTabBarItemClickTimer)}const r=this._getModelGroupById(this._getDropTargetGroup().groupId);if(r.isGroupLocked){this._toggleTabBarOverflowArrows(false);this.thisLayout.setOnTabBarElement(false);this._resetOverFlowButtonElements();return}this._toggleAnchorItemHighlighting(true);if(!this.sDragStartGroupModelId){this.sDragStartGroupModelId=this.startGroup.getGroupId()}this.thisLayout.oTabBarItemClickTimer=setTimeout(()=>{const t=this._getSelectedTabBarItem();if(this.lastHighlitedTabItem===t){return}this.draggedTileModelPath=this.item.getBindingContext().getPath();this._prepareDomForDragAndDrop();this.startGroup.removeAggregation(\"tiles\",this.item,true);const e=this.sDragStartGroupModelId===this.sDragTargetGroupModelId;this.item.getBindingContext().oModel.setProperty(`${this.draggedTileModelPath}/draggedInTabBarToSourceGroup`,e);this.groupSwitched=true;n.getInstance().publish(\"launchpad\",\"switchTabBarItem\",{iGroupIndex:o});const i=this.thisLayout.getGroups();this.endGroup=i[0];this.bElapseGroupLinksMap=true},800);if(this.tiles===null&&this.endGroup){this.tiles=this.thisLayout.getGroupTiles(this.endGroup).slice(0)}const l=document.getElementsByClassName(\"sapUshellTabBarHoverOn\");for(let t=l.length-1;t>=0;--t){l[t].classList.remove(\"sapUshellTabBarHoverOn\")}i.classList.add(\"sapUshellTabBarHoverOn\");return true},_prepareDomForDragAndDrop:function(){const t=this.item.getDomRef();if(i.system.tablet){const e=t.cloneNode(true);const i=t.parentNode;this.origItemId=t.getAttribute(\"id\");this.origItemDataSapUi=t.getAttribute(\"data-sap-ui\");t.removeAttribute(\"id\");t.removeAttribute(\"data-sap-ui\");t.style.display=\"none\";e.style.display=\"none\";const s=document.getElementById(\"dashboardGroups\");s.parentNode.appendChild(t);i.appendChild(e);this.draggedTileDomRef=t}else if(!this.draggedTileDomRef){this.draggedTileDomRef=t}},_appendTargetGroupDomRefWithDraggedTile:function(){const t=this.endGroup.getInnerContainerDomRefs()?this.endGroup.getInnerContainerDomRefs()[0]:null;if(!this.item.getDomRef()){if(i.system.tablet){this.draggedTileDomRef.setAttribute(\"id\",this.origItemId);this.draggedTileDomRef.setAttribute(\"data-sap-ui\",this.origItemDataSapUi);this.draggedTileDomRef.style.display=\"\"}if(t){t.appendChild(this.draggedTileDomRef)}}else{if(t){t.appendChild(this.item.getDomRef())}if(i.system.tablet){this.item.getDomRef().style.display=\"\"}}},_getSelectedTabBarItem:function(){return document.getElementsByClassName(\"sapUshellAnchorItemSelected\")[0]},_getTabBarGroupIndexByModelId:function(t){let e;for(let i=0;i<this.allGroups.length;++i){e=this.allGroups[i].groupId;if(t===e){return i}}},_getModelGroupById:function(t){const e=this.thisLayout.getAllGroups();let i;let s;for(let n=0;n<e.length;++n){i=e[n];s=i.groupId;if(s===t){return i}}},_handleOverflowCollision:function(t){const e=s.getElementById(\"anchorNavigationBar\");const i=this._calculateOverflowButtonSideCollision(t);if(i===\"right\"){if(!this.tabBarArrowCollisionRight){e._scrollToGroupByGroupIndex(e.anchorItems.length-1,5e3);this.tabBarArrowCollisionRight=true}return true}else if(i===\"left\"){if(!this.tabBarArrowCollisionLeft){e._scrollToGroupByGroupIndex(0,5e3);this.tabBarArrowCollisionLeft=true}return true}this._resetOverFlowButtonElements();return false},_calculateOverflowButtonSideCollision:function(t){const e=jQuery(\".sapUshellAnchorRightOverFlowButton\");const i=e.offset().left;const s=jQuery(\".sapUshellAnchorItemOverFlow\");const n=s.offset().left;const o=jQuery(\".sapUshellAnchorLeftOverFlowButton\");const r=o.offset().left;const l=32;const a=jQuery(\"#anchorNavigationBar\");const h=a.offset().left;if(t>i&&t<n){return\"right\"}if(t>h&&t<r+l){return\"left\"}},_resetOverFlowButtonElements:function(){const t=i.system.tablet;const e=jQuery(t?\".sapUshellAnchorNavigationBarItemsScroll\":\".sapUshellAnchorNavigationBarItems\");e.stop();this.tabBarArrowCollisionRight=false;this.tabBarArrowCollisionLeft=false},_toggleTabBarOverflowArrows:function(t){const e=document.getElementsByClassName(\"sapUshellAnchorRightOverFlowButton\");const i=document.getElementsByClassName(\"sapUshellAnchorLeftOverFlowButton\");for(let i=0;i<e.length;++i){e[i].classList.toggle(\"sapUshellTabBarOverflowButton\",t)}for(let e=0;e<i.length;++e){i[e].classList.toggle(\"sapUshellTabBarOverflowButton\",t)}},_getTabBarHoverItem:function(t,e){const i=jQuery(\".sapUshellAnchorItem:not(.sapUshellShellHidden)\").eq(0).offset().left;if(t-i<=0){return}let s=Math.round((t-i)/10);if(s>=e.length){s=e.length-1}const n=e[s];const o=document.getElementsByClassName(\"sapUshellAnchorItem\");return o[n]},removeExcludedElementsFromMatrix:function(t){if(!t.length){return}if(!this.matrix){return}const e=this.matrix.map(e=>e.map(e=>{const i=t.some(t=>e instanceof t);return i?undefined:e}));this.setMatrix(e)},setExcludedControl:function(t){if(t){this.aExcludedControlClass.push(t)}},setReorderTilesCallback:function(t){if(typeof t===\"function\"){this.reorderElementsCallback=t}}};function a(){}let h;a.prototype={_initDeferred:new Promise(t=>{h=t}),init:function(t){const e=function(){const t=this.container&&this.container.getAttribute(\"id\")||\"\";if(t.includes(\"destroyed\")){return}const i=this.getStyleInfo(this.container);if(i.tileWidth>0){this.isInited=true;this.reRenderGroupsLayout();this.layoutEngine=new l({thisLayout:this});h();return}setTimeout(e,100)}.bind(this);this.cfg=t||this.cfg;this.minTilesinRow=2;this.container=this.cfg.container||document.getElementById(\"dashboardGroups\");this.oTabBarItemClickTimer=new Date;this.bTabBarModeActive=false;this.bOnTabBarElement=false;const i=r.getServiceAsync(\"FlpLaunchPage\");if(i){i.then(t=>{this.oLaunchPageService=t;e()})}else{e()}n.getInstance().subscribe(\"launchpad\",\"tabBarChange\",this._onTabBarChange,this);return this.getInitPromise()},setOnTabBarElement:function(t){this.bOnTabBarElement=t},isOnTabBarElement:function(){return this.bOnTabBarElement},_onTabBarChange:function(t,e,i){if(i===\"tabs\"){this.bTabBarModeActive=true}else{this.bTabBarModeActive=false}},tabBarTileDropped:function(){if(this.oTabBarItemClickTimer){clearTimeout(this.oTabBarItemClickTimer)}},getInitPromise:function(){return this._initDeferred},getLayoutEngine:function(){return this.layoutEngine},getStyleInfo:function(t){const e=document.createElement(\"div\");const i=t.getAttribute(\"id\");t=i?document.getElementById(i):t;if(!t){return{}}e.className=\"sapUshellTile\";const s=o.last(\"/core/home/sizeBehavior\");if(s===\"Small\"){e.classList.add(\"sapUshellSmall\")}e.style.position=\"absolute\";e.style.visibility=\"hidden\";t.appendChild(e);const n=window.getComputedStyle(e);const r=window.getComputedStyle(t);const l={tileMarginHeight:parseFloat(n.marginBottom,10)+parseFloat(n.marginTop,10),tileMarginWidth:parseFloat(n.marginLeft,10)+parseFloat(n.marginRight,10),tileWidth:e.offsetWidth,tileHeight:e.offsetHeight,containerWidth:r.width?parseInt(r.width,10):t.offsetWidth};t.removeChild(e);return l},getGroups:function(){return this.cfg.getGroups()},getAllGroups:function(){return this.cfg.getAllGroups?this.cfg.getAllGroups():[]},isTabBarActive:function(){return this.cfg.isTabBarActive?this.cfg.isTabBarActive():false},getTilesInRow:function(){return this.tilesInRow},setTilesInRow:function(t){this.tilesInRow=t},checkPlaceForTile:function(t,i,s,n,o){if(typeof i[s.y]===\"undefined\"){i.push(new Array(i[0].length))}if(typeof i[s.y+1]===\"undefined\"){i.push(new Array(i[0].length))}if(typeof i[s.y][s.x]!==\"undefined\"){return false}const r=e({},s);if(o||t&&t.getLong&&!t.getLong()){return[r]}const l=[r];if(t&&t.getLong&&t.getLong()){if(s.x+1>=i[0].length||typeof i[r.y][r.x+1]!==\"undefined\"){return false}l.push({y:r.y,x:r.x+1})}return l},placeTile:function(t,e,i){for(let s=0;s<i.length;s++){e[i[s].y][i[s].x]=t}},getTilePositionInMatrix:function(t,e){for(let i=0;i<e.length;i++){for(let s=0;s<e[i].length;s++){if(e[i][s]===t){return{row:i,col:s}}}}return false},fillRowsInLine:function(t,e,i,s){if(!e.length){return 0}let n;for(let o=0;o<t[0].length&&e.length;o++){n=this.checkPlaceForTile(e[0],t,{x:o,y:i},s);if(n){this.placeTile(e[0],t,n);e.shift()}}},organizeGroup:function(t,e){const i=t.slice(0);let s=[];let n=0;s.push(new Array(e?Math.floor(this.tilesInRow/2):this.tilesInRow));while(i.length){this.fillRowsInLine(s,i,n,e);n++}if(this.rightToLeft){for(let t=0;t<s.length;t++){s[t].reverse()}}s=this.cleanRows(s);return s},cleanRows:function(t){let e=false;for(let i=t.length-1;i>0&&!e;i--){for(let s=0;s<t[i].length&&!e;s++){if(typeof t[i][s]===\"object\"){e=true}}if(!e){t.pop()}}return t},setGroupsLayout:function(t,e){if(t.getIsGroupLocked()&&e.length>0){const e=t.getDomRef().parentElement;t.getDomRef().style.width=\"\";e.style.width=\"\";e.style.display=\"\"}},calcTilesInRow:function(t,e,i){let s=Math.floor(t/(e+i));s=s<this.minTilesinRow?this.minTilesinRow:s;return s},getGroupTiles:function(t){const e=t.getTiles();if(t.getShowPlaceholder()){e.push(t.oPlusTile)}return e},reRenderGroupsLayout:function(t){if(!this.isInited){return}const e=this.getStyleInfo(this.container);if(!e.tileWidth){return}this.styleInfo=e;this.tilesInRow=this.calcTilesInRow(e.containerWidth,e.tileWidth,e.tileMarginWidth);t=t||this.getGroups();for(let e=0;e<t.length;e++){if(t[e].getDomRef&&!t[e].getDomRef()){continue}const i=this.getGroupTiles(t[e]);const s=this.organizeGroup(i);this.setGroupsLayout(t[e],s)}},initDragMode:function(){this.initGroupDragMode(this.layoutEngine.currentGroup)},endDragMode:function(){const t=this.getGroups();for(let e=0;e<t.length;e++){const i=t[e].getDomRef();if(!i||!i.classList.contains(\"sapUshellInDragMode\")){continue}i.classList.remove(\"sapUshellInDragMode\");const s=this.getGroupTiles(t[e]);for(let t=0;t<s.length;t++){s[t].getDomRef().removeAttribute(\"style\")}const n=i.getElementsByClassName(\"sapUshellInner\");for(let t=0;t<n.length;t++){n[t].removeAttribute(\"style\")}}},initGroupDragMode:function(t){if(t.$().hasClass(\"sapUshellInDragMode\")){return}const e=this.getGroupTiles(t);const i=this.organizeGroup(e);t.$().addClass(\"sapUshellInDragMode\");this.renderLayoutGroup(t,i)},calcTranslate:function(t,e){let i=e*(this.styleInfo.tileWidth+this.styleInfo.tileMarginWidth);const s=t*(this.styleInfo.tileHeight+this.styleInfo.tileMarginHeight);if(this.layoutEngine.rightToLeft){i=-i}return{x:i,y:s}},renderLayoutGroup:function(t,e){let i;this.styleInfo=this.getStyleInfo(this.container);for(let t=0;t<e.length;t++){for(let s=0;s<e[t].length;s++){if(i===e[t][s]){continue}else{i=e[t][s]}if(typeof i===\"undefined\"){break}}}}};const u=new a;return u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/NWBCInterface\", [\"sap/ushell/EventHub\",\"sap/ushell/Config\"],(e,s)=>{\"use strict\";const t={};t.notifyUserActivity=function(){e.emit(\"nwbcUserIsActive\",Date.now())};t.getSessionTimeoutMinutes=function(){let e=0;if(s.last(\"/core/shell/sessionTimeoutIntervalInMinutes\")>0){e=s.last(\"/core/shell/sessionTimeoutIntervalInMinutes\")}return e};t.isAnyAppKeptAlive=function(){return new Promise(e=>{sap.ui.require([\"sap/ushell/appIntegration/KeepAliveApps\"],s=>{e(s.length()>0)})})};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/SessionHandler\", [\"sap/ui/core/EventBus\",\"sap/ushell/resources\",\"sap/ushell/Config\",\"sap/ushell/utils\",\"sap/m/Dialog\",\"sap/m/Button\",\"sap/m/Text\",\"sap/ui/model/json/JSONModel\",\"sap/m/VBox\",\"sap/ui/core/library\",\"sap/m/library\",\"sap/ushell/ui/launchpad/LoadingDialog\",\"sap/ui/thirdparty/jquery\",\"sap/ui/util/Storage\",\"sap/base/Log\",\"sap/ushell/appIntegration/PostMessageManager\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,i,t,s,n,o,a,r,u,l,d,c,jQuery,h,m,g,f,p)=>{\"use strict\";const S=d.ButtonType;const T=l.ValueState;let v=false;function I(){const l=this;let d=false;let I=false;this.init=function(e){m.debug(`SessionHandler.oConfig.sessionTimeoutIntervalInMinutes: ${e.sessionTimeoutIntervalInMinutes}`,\"\",\"SessionHandler\");m.debug(`SessionHandler.oConfig.sessionTimeoutReminderInMinutes: ${e.sessionTimeoutReminderInMinutes}`,\"\",\"SessionHandler\");m.debug(`SessionHandler.oConfig.enableAutomaticSignout: ${e.enableAutomaticSignout}`,\"\",\"SessionHandler\");if(e.enableAutomaticSignout===undefined){e.enableAutomaticSignout=false}if(e.sessionTimeoutReminderInMinutes===undefined){e.sessionTimeoutReminderInMinutes=0}if(e.sessionTimeoutIntervalInMinutes<-1){e.sessionTimeoutIntervalInMinutes=-1;m.warning(\"sessionTimeoutIntervalInMinutes was invalid and has been set to -1\",\"SessionHandler\")}if(e.sessionTimeoutReminderInMinutes<0){e.sessionTimeoutReminderInMinutes=0;m.warning(\"sessionTimeoutReminderInMinutes was negative and has been set to 0\",\"SessionHandler\")}if(e.sessionTimeoutIntervalInMinutes<=0){e.sessionTimeoutReminderInMinutes=0}else if(e.sessionTimeoutIntervalInMinutes<=e.sessionTimeoutReminderInMinutes){e.sessionTimeoutReminderInMinutes=e.sessionTimeoutIntervalInMinutes-1<0?0:e.sessionTimeoutIntervalInMinutes-1;m.error(\"sessionTimeoutReminderInMinutes needs to be smaller than sessionTimeoutIntervalInMinutes.\"+`sessionTimeoutReminderInMinutes adapted to: ${e.sessionTimeoutReminderInMinutes}`,\"SessionHandler\")}this.oConfig=e;this.oModel=new r;this.putTimestampInStorage(this._getCurrentDate());this.initLogout();this._fnOnVisibilityChange=this.onVisibilityChange.bind(this);p.getServiceAsync(\"AppLifeCycle\").then(i=>{this.oAppLifeCycleService=i;this.attachUserEvents();if(e.sessionTimeoutIntervalInMinutes>0){this.attachVisibilityEvents();this.initSessionTimeout()}if(e.sessionTimeoutTileStopRefreshIntervalInMinutes>0){this.initTileRequestTimeout()}f.on(\"nwbcUserIsActive\").do(this.userActivityHandler.bind(this));d=true})};this.isInitialized=function(){return d};this.initLogout=function(){if(I===false){p.registerLogout(this.logout);I=true}};this.initSessionTimeout=function(){this.oModel.setProperty(\"/SessionRemainingTimeInSeconds\",this.oConfig.sessionTimeoutReminderInMinutes*60);this.counter=0;this.oKeepAliveDialog=undefined;this.notifyServer();this.monitorUserIsInactive()};this.monitorUserIsInactive=function(e){m.debug(\"SessionHandler.monitorInactiveUser : Check started\",\"*****\",\"SessionHandler\");e=typeof e!==\"undefined\"?e:true;const i=this.timeLastInteraction();const t=this.timePopup();const s=this.timeNow();const n=this.timeOver();const o=t-s;const a=s-i;m.debug(`SessionHandler.monitorUserIsInactive :: time since last interaction : ${a}`,\"\",\"SessionHandler\");m.debug(`SessionHandler.monitorUserIsInactive :: remaining time until dialog : ${o}`,\"\",\"SessionHandler\");if(s<t&&e){const e=setTimeout(this.monitorUserIsInactive.bind(this),o*1e3);this.oMonitorUserIsInactiveTimer=this.oMonitorUserIsInactiveTimer||e;return}if(s>=t&&s<n&&this.oConfig.sessionTimeoutReminderInMinutes>0){this.detachUserEvents();this.detachVisibilityEvents();this.oContinueWorkingDialog=this.createContinueWorkingDialog();this.oContinueWorkingDialog.open();m.debug(\"SessionHandler.monitorUserIsInactive :: Dialog opened\",\"\",\"SessionHandler\");this.monitorCountdown(true);this._createSystemNotification()}if(s>=n){m.debug(\"SessionHandler.monitorUserIsInactive :: Session over detected\",\"\",\"SessionHandler\");this.handleSessionOver();return}m.debug(\"SessionHandler.monitorInactiveUser :: Check done\",\"*****\",\"SessionHandler\")};this.handleSessionOver=function(){clearTimeout(this.notifyServerTimer);e.getInstance().publish(\"launchpad\",\"sessionTimeout\");if(this.oConfig.enableAutomaticSignout===true){m.debug(\"SessionHandler.handleSessionOver :: Automatic signout gets initiated\",\"\",\"SessionHandler\");p.defaultLogout()}else{m.debug(\"SessionHandler.handleSessionOver :: Session expired dialog gets opened\",\"\",\"SessionHandler\");this.createSessionExpiredDialog().open()}};this.notifyServer=async function(){const e=this._getCurrentDate()-new Date(this.getTimestampFromStorage());const i=e/(1e3*60);const t=this.oConfig.sessionTimeoutIntervalInMinutes*30*1e3;if(i<=this.oConfig.sessionTimeoutIntervalInMinutes){p.sessionKeepAlive();g.sendRequestToAllApplications(\"sap.ushell.sessionHandler.extendSessionEvent\",{},false)}else{}this.notifyServerTimer=setTimeout(this.notifyServer.bind(this),s.sanitizeTimeoutDelay(t))};this.monitorCountdown=function(e){if(e){m.debug(\"SessionHandler.monitorCountdown :: Initiated from outside\",\"*****\",\"SessionHandler\")}else{m.debug(\"SessionHandler.monitorCountdown :: Initiated from internal call\",\"**\",\"SessionHandler\")}const i=this.timeLastInteraction();const t=this.timePopup();const s=this.timeNow();const n=this.timeOver();const o=s-i;m.debug(`SessionHandler.monitorCountdown :: timeNow : ${s}`,\"\",\"SessionHandler\");m.debug(`SessionHandler.monitorCountdown :: iTimeLastInteraction : ${i}`,\"\",\"SessionHandler\");m.debug(`SessionHandler.monitorCountdown :: timeSinceLastInteraction : ${o}`,\"\",\"SessionHandler\");m.debug(`SessionHandler.monitorCountdown :: iTimeOver : ${n}`,\"\",\"SessionHandler\");if(s<t){m.debug(\"SessionHandler.monitorCountdown :: Auto-click\",\"<=\",\"SessionHandler\");this.continueWorkingButtonPressHandler(true);return}const a=n-s;if(a>0){m.debug(`SessionHandler.monitorCountdown :: Remaining seconds : ${a} - iTimeOver : ${n}`,\"\",\"SessionHandler\");this.oModel.setProperty(\"/SessionRemainingTimeInSeconds\",a);this.remainingTimer=setTimeout(this.monitorCountdown.bind(this,false),500);return}if(a<=0){if(this.oSessionKeepAliveDial Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/_HomepageManager/TransientPageOperationAdapter\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/base/Object\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/ushell/components/MessagingHelper\",\"sap/m/GenericTile\",\"sap/m/ImageContent\",\"sap/m/TileContent\",\"sap/base/util/uid\",\"sap/base/Log\",\"sap/m/library\"],(jQuery,e,t,i,o,r,n,l,s,a,u)=>{\"use strict\";const c=u.GenericTileMode;const g=u.LoadState;const d=e.extend(\"sap.ushell.components._HomepageManager.TransientPageOperationAdapter.js\",{constructor:function(t){e.call(this);this.oPageBuilderService=t;this._createCatalogMap()},_createCatalogMap:function(){if(this.mCatalogTiles){return}const e=this.oPageBuilderService;const t=this;this.mCatalogTiles={};this._getAllCatalogTiles().then(i=>{for(let o=0;o<i.length;o++){for(let r=0;r<i[o].length;r++){t.mCatalogTiles[e.getCatalogTileId(i[o][r])]=i[o][r]}}})},getCurrentHiddenGroupIds:function(){return[]},getTileActions:function(e){e.isStub=function(){return true};const t=this.oPageBuilderService.getTileActions(e);delete e.isStub;return t},getPreparedTileModel:function(e,i,o){const n=s();let l=[];o=o||e.type;if(o===\"link\"){l=[new r({mode:c.LineMode})]}const a={isCustomTile:false,object:e,originalTileId:n,uuid:n,tileCatalogId:\"\",content:l,long:false,target:\"\",debugInfo:null,isTileIntentSupported:true,rgba:\"\",isLocked:i,showActionsIcon:t.last(\"/core/home/enableTileActionsIcon\"),isLinkPersonalizationSupported:true,navigationMode:undefined};if(o===\"card\"){a.isCard=true;a.manifest={}}return a},getPreparedGroupModel:function(e,t,i,r){const n=s();const l=e&&e.tiles||[];const u=[];const c=[];for(let e=0;e<l.length;++e){const t=l[e];const i=t.type.toLowerCase();if(i===\"tile\"||i===\"card\"){u.push(this.getPreparedTileModel(l[e],false,i))}else if(i===\"link\"){c.push(this.getPreparedTileModel(l[e],false,i))}else{a.error(`Unknown tile type: '${i}'`,undefined,\"sap.ushell.components.HomepageManager\")}}return{title:t&&o.getLocalizedText(\"my_group\")||e&&e.title||r&&r.title||\"\",object:e,groupId:n,links:c,pendingLinks:[],tiles:u,isDefaultGroup:!!t,editMode:!e,isGroupLocked:false,isFeatured:false,visibilityModes:[true,true],removable:true,sortable:true,isGroupVisible:true,isEnabled:!t,isLastGroup:i||false,isRendered:!!(r&&r.isRendered),isGroupSelected:false}},getPage:function(){return Promise.resolve([this.getPreparedGroupModel(null,false,true)])},addGroupAt:function(e,t,i){const o={title:e.title};return Promise.resolve(this.getPreparedGroupModel({},i,e.isLastGroup,o))},renameGroup:function(){return Promise.resolve()},deleteGroup:function(){return Promise.resolve()},moveGroup:function(){return Promise.resolve()},resetGroup:function(){return Promise.reject(\"Reset group not supported in transient mode\")},refreshGroup:function(){return Promise.reject(\"Refresh group not supported in transient mode\")},getIndexOfGroup:function(){return Promise.resolve(-1)},getOriginalGroupIndex:function(e,t){let i;for(let o=0;o<t.length;o++){if(t[o].groupId===e.groupId){i=o;break}}return Promise.resolve(i)},moveTile:function(e,t,i,o,r){const n=this._findCatalogTile(e.tileCatalogId);return Promise.resolve({content:this._getTileView(n,r),originalTileId:e.uuid,object:{id:e.uuid,type:r,title:this.oPageBuilderService.getCatalogTileTitle(n)}})},removeTile:function(){return Promise.resolve()},_getTileView:function(e,t){if(t===\"link\"){return new r({mode:c.LineMode,header:this.oPageBuilderService.getCatalogTileTitle(e),subheader:this.oPageBuilderService.getCatalogTilePreviewSubtitle(e)})}return new r({header:this.oPageBuilderService.getCatalogTileTitle(e),subheader:this.oPageBuilderService.getCatalogTilePreviewSubtitle(e),tileContent:new l({content:new n({src:this.oPageBuilderService.getCatalogTilePreviewIcon(e)})})})},refreshTile:function(){return},setTileVisible:function(){return},getTileType:function(e){return e.type},getTileSize:function(){return\"1x1\"},getTileId:function(e){return e.id},isLinkPersonalizationSupported:function(){return true},getTileTarget:function(e){const t=this._findCatalogTile(e.tileCatalogId);return this.oPageBuilderService.getCatalogTileTargetURL(t)},getTileTitle:function(e){return e.object.title},_getAllCatalogTiles:function(){const e=this.oPageBuilderService;function t(t){t.map(t=>{const i=e.getCatalogId(t)||\"\";return e.getCatalogTitle(t)||i.split(\":\").slice(1).join(\":\")});return Promise.all(t.map(t=>e.getCatalogTiles(t)))}return Promise.resolve(e.getCatalogs()).then(t)},_findCatalogTile:function(e){return this.mCatalogTiles[e]},getTileView:function(e){const t=this._findCatalogTile(e.tileCatalogId);const i=this._getTileView(t,e.object.type);const o=new jQuery.Deferred;o.resolve(i);return o.promise()},getFailedLinkView:function(e){const t=e.object.title||i.i18n.getText(\"cannotLoadLinkInformation\");const o=\"\";return new r({mode:c.LineMode,state:g.Failed,header:t,subheader:o})},getTileModelByCatalogTileId:function(e,t){t=t||\"tile\";const i=this._findCatalogTile(e);const o=this.getPreparedTileModel({},false,t);o.tileCatalogId=e;o.object={id:o.uuid,type:t,title:this.oPageBuilderService.getCatalogTileTitle(i)};const r=this._getTileView(i,t);o.content=[r];return o},transformGroupModel:function(e){const t=this;for(let i=0;i<e.length;i++){const o=e[i];o.object={};o.tiles.forEach(e=>{const i=e.object;e.tileCatalogId=t.oPageBuilderService.getCatalogTileId(i);e.object={id:e.uuid,type:\"tile\",title:t.oPageBuilderService.getTileTitle(i)}});o.links.forEach(e=>{const i=e.object;e.tileCatalogId=t.oPageBuilderService.getCatalogTileId(i);e.object={id:e.uuid,type:\"link\",title:t.oPageBuilderService.getTileTitle(i)}})}return e}});let p;return{getInstance:function(e){if(!p){p=new d(e)}return p},destroy:function(){p=null}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/AppFinder.controller\", [\"sap/base/util/extend\",\"sap/ui/core/EventBus\",\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/Controller\",\"sap/ui/core/Component\",\"sap/ushell/EventHub\",\"sap/ushell/components/appfinder/VisualizationOrganizerHelper\",\"sap/ui/core/routing/HashChanger\",\"sap/ui/thirdparty/jquery\",\"sap/ui/model/json/JSONModel\",\"sap/ui/Device\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Container\"],(e,t,s,o,n,a,r,i,jQuery,l,u,h,c)=>{\"use strict\";let p;return o.extend(\"sap.ushell.components.appfinder.AppFinder\",{onInit:function(){const e=n.getOwnerComponentFor(this.getView());this.oRouter=e.getRouter();const t=this.getView();const o=e.getModel();t.setModel(o);p=e.oCatalogsManager;this.bEnableEasyAccessSAPMenu=o.getProperty(\"/enableEasyAccessSAPMenu\");this.bEnableEasyAccessUserMenu=o.getProperty(\"/enableEasyAccessUserMenu\");this.bEnableEasyAccessOnTablet=o.getProperty(\"/enableEasyAccessOnTablet\");const a=this.bEnableEasyAccessSAPMenu||this.bEnableEasyAccessUserMenu;const l=!u.system.phone&&!u.system.tablet||u.system.tablet&&this.bEnableEasyAccessOnTablet||u.system.combi;this.bShowEasyAccessMenu=a&&l;this.getView().setModel(this._getSubHeaderModel(),\"subHeaderModel\");this.oConfig=e.getComponentData().config;this.pCatalogView=s.create({id:\"catalogView\",viewName:\"module:sap/ushell/components/appfinder/CatalogView\",height:\"100%\",viewData:{parentComponent:e,subHeaderModel:this._getSubHeaderModel(),CatalogsManager:p}});this.oVisualizationOrganizerHelper=r.getInstance();this.oInitPromise=this.pCatalogView.then(e=>{e.addStyleClass(\"sapUiGlobalBackgroundColor sapUiGlobalBackgroundColorForce\");return this.oVisualizationOrganizerHelper.loadAndUpdate()});this.oRouter.attachRouteMatched(this._handleAppFinderNavigation.bind(this));t.createSubHeader();u.resize.attachHandler(this._resizeHandler.bind(this));this.oRouter.oHashChanger=i.getInstance()},onExit:function(){this.pCatalogView.then(e=>{e.destroy()})},_resizeHandler:function(){const e=this._showOpenCloseSplitAppButton();const t=this.oSubHeaderModel.getProperty(\"/openCloseSplitAppButtonVisible\");if(e!==t){this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonVisible\",e);if(e){this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonToggled\",false)}}this._toggleViewWithToggleButtonClass(e)},_handleAppFinderNavigation:function(s){try{const e=c.getRendererInternal();e.getRootControl().getShellHeader()._oLastFocusedHeaderElement=null}catch{}const o=e({},s);if(this.firstView!==false){if(!this.bShowEasyAccessMenu){this.pCatalogView.then(e=>{this.getView().oPage.addContent(e);setTimeout(()=>{jQuery(\"#catalogSelect\").focus()},0)})}this.firstView=false}this.pCatalogView.then(e=>{e.getController().customRouteMatched(o)});const n=this.getView();this._preloadAppHandler();this._getPathAndHandleGroupContext(s);this._toggleViewWithToggleButtonClass(this._showOpenCloseSplitAppButton());if(this.bShowEasyAccessMenu){this.onShow(s)}else if(n._showSearch(\"catalog\")){n.updateSubHeader(\"catalog\",false);this._toggleViewWithSearchAndTagsClasses(\"catalog\")}t.getInstance().publish(\"showCatalog\");a.emit(\"CenterViewPointContentRendered\",\"appFinder\");a.emit(\"showCatalog\",{sId:\"showCatalog\",oData:Date.now()});t.getInstance().publish(\"launchpad\",\"contentRendered\");if(a.last(\"firstCatalogSegmentCompleteLoaded\")){a.emit(\"CloseFesrRecord\",Date.now())}},_showOpenCloseSplitAppButton:function(){return!u.orientation.landscape||u.system.phone||this.oView.getModel().getProperty(\"/isPhoneWidth\")},_resetSubHeaderModel:function(){this.oSubHeaderModel.setProperty(\"/activeMenu\",null);this.oSubHeaderModel.setProperty(\"/search\",{searchMode:false,searchTerm:null});this.oSubHeaderModel.setProperty(\"/tag\",{tagMode:false,selectedTags:[]});this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonVisible\",this._showOpenCloseSplitAppButton());this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonToggled\",false)},_getSubHeaderModel:function(){if(this.oSubHeaderModel){return this.oSubHeaderModel}this.oSubHeaderModel=new l;this._resetSubHeaderModel();return this.oSubHeaderModel},onTagsFilter:function(e){const t=e.getSource();const s=t.getModel(\"subHeaderModel\");const o=e.getSource().getSelectedItems();const n=o.length>0;const a={tagMode:n,selectedTags:[]};o.forEach(e=>{a.selectedTags.push(e.getText())});s.setProperty(\"/activeMenu\",this.getCurrentMenuName());s.setProperty(\"/tag\",a);this.pCatalogView.then(e=>{e.getController().onTag(a)})},searchHandler:function(e){let t=e.getSource().getValue();let s=false;if(t===null){return}const o=this.oSubHeaderModel.getProperty(\"/search\");let n=this.oSubHeaderModel.getProperty(\"/activeMenu\");if(this.getCurrentMenuName()!==n){n=this.getCurrentMenuName()}if(!o.searchMode&&!e.getParameter(\"clearButtonPressed\")){o.searchMode=true}if(o.searchMode&&u.system.phone){this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonToggled\",false)}if(t!==o.searchTerm){if(this.containsOnlyWhiteSpaces(t)){t=\"*\"}o.searchTerm=t;s=true}this.oSubHeaderModel.setProperty(\"/search\",o);this.oSubHeaderModel.setProperty(\"/activeMenu\",n);this.oSubHeaderModel.refresh(true);if(s){this.pCatalogView.then(e=>{e.getController().onSearch(o)})}},_preloadAppHandler:function(){setTimeout(()=>{const e=h.getHash()||\"\";if(!e.startsWith(\"Shell-appfinder\")){return}this._updateShellHeader(this.oView.oPage.getTitle())},0)},getCurrentMenuName:function(){return this.currentMenu},_navigateTo:function(e){const t=this.oVisualizationOrganizerHelper.getNavigationContextAsText.apply(this);if(t){this.oRouter.navTo(e,{filters:t},true)}else{this.oRouter.navTo(e,{},true)}},_filterSystemModelsOnTablet:function(e){const t=new jQuery.Deferred;if(this.bEnableEasyAccessOnTablet){c.getServiceAsync(\"NavTargetResolutionInternal\").then(s=>{const o=e.reduce((e,t)=>{const o=s.isNavigationSupported([{target:{semanticObject:\"Shell\",action:\"startWDA\"},params:{\"sap-system\":t.systemId,\"sap-ui2-wd-app-id\":\".\"}},{target:{semanticObject:\"Shell\",action:\"startGUI\"},params:{\"sap-system\":t.systemId,\"sap-ui2-tcode\":\".\"}}]);e.push(new Promise((e,s)=>{o.then(s=>{const o={system:t,isSupported:false};if(s[0].supported||s[1].supported){o.isSupported=true}e(o)}).fail(()=>{e({system:t,isSupported:false})})}));return e},[]);Promise.all(o).then(e=>{const s=e.reduce((e,t)=>{if(t.isSupported){e.push(t.system)}return e},[]);t.resolve(s)})})}else{t.resolve(e)}return t.promise()},getGroupNavigationContext:function(){const e=this.oView.getModel().getProperty(\"/groupContext\");const t=e?e.path:null;if(t){return JSON.stringify({targetGroup:encodeURIComponent(t)})}return null},getSystemsModels:function(){const e=this;if(this.getSystemsPromise){return this.getSystemsPromise}const t=new jQuery.Deferred;this.getSystemsPromise=t.promise();const s=[\"userMenu\",\"sapMenu\"].map(t=>{const s=new l;s.setProperty(\"/systemSelected\",null);s.setProperty(\"/systemsList\",[]);return e.getSystems(t).then(e._filterSystemModelsOnTablet.bind(e)).then(e=>{s.setProperty(\"/systemsList\",e);return s})});jQuery.when.apply(jQuery,s).then((e,s)=>{t.resolve(e,s)});return this.getSystemsPromise},onSegmentButtonClick:function(e){this.oSubHeaderModel.setProperty(\"/search/searchMode\",false);this.oSubHeaderModel.setProperty(\"/search/searchTerm\",\"\");const t=e.getParameter(\"id\");this._navigateTo(t)},onShow:function(e){const t=e.getParameter(\"name\");if(t===this.getCurrentMenuName()){return}const o=this.getView();o._updateSearchWithPlaceHolder(t);this._updateCurrentMenuName(t);this.getSystemsModels().then((e,t)=>{const a=t.getProperty(\"/systemsList\");const r=e.getProperty(\"/systemsList\");o.oPage.removeAllContent();const i=this.currentMenu===\"sapMenu\"?a:r;if(i&&i.length){o.updateSubHeader(this.currentMenu,true)}else if(o._showSearch(this.currentMenu)){o.updateSubHeader(this.currentMenu,false)}if(this.currentMenu===\"catalog\"){this.pCatalogView.then(e=>{o.oPage.addContent(e)})}else if(this.currentMenu===\"userMenu\"){if(!this.pUserMenuView){this.pUserMenuView=s.create({id:\"userMenuView\",viewName:\"module:sap/ushell/components/appfinder/EasyAccessView\",height:\"100%\",viewData:{menuName:\"USER_MENU\",easyAccessSystemsModel:e,parentComponent:n.getOwnerComponentFor(this.getView()),subHeaderModel:this._getSubHeaderModel(),enableSearch:this.getView()._showSearch(\"userMenu\"),CatalogsManager:p}})}this.pUserMenuView.then(e=>{o.oPage.addContent(e)})}else if(this.currentMenu===\"sapMenu\"){if(!this.pSapMenuView){this.pSapMenuView=s.create({id:\"sapMenuView\",viewName:\"module:sap/ushell/components/appfinder/EasyAccessView\",height:\"100%\",viewData:{menuName:\"SAP_MENU\",easyAccessSystemsModel:t,parentComponent:n.getOwnerComponentFor(this.getView()),subHeaderModel:this._getSubHeaderModel(),enableSearch:this.getView()._showSearch(\"sapMenu\"),CatalogsManager:p}})}this.pSapMenuView.then(e=>{o.oPage.addContent(e)})}this._setFocusToSegmentedButton(i);this.oSubHeaderModel.setProperty(\"/activeMenu\",this.currentMenu);if(this.oSubHeaderModel.getProperty(\"/openCloseSplitAppButtonVisible\")){this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonToggled\",false)}this.oSubHeaderModel.refresh(true)})},_updateCurrentMenuName:function(e){if(!this.bShowEasyAccessMenu||e===\"sapMenu\"&&!this.bEnableEasyAccessSAPMenu||e===\"userMenu\"&&!this.bEnableEasyAccessUserMenu){this.currentMenu=\"catalog\"}else{this.currentMenu=e}this._toggleViewWithSearchAndTagsClasses(e)},_toggleViewWithSearchAndTagsClasses:function(e){const t=this.getView();if(t._showSearch(e)){t.oPage.addStyleClass(\"sapUshellAppFinderSearch\")}else{t.oPage.removeStyleClass(\"sapUshellAppFinderSearch\")}if(t._showSearchTag(e)){t.oPage.addStyleClass(\"sapUshellAppFinderTags\")}else{t.oPage.removeStyleClass(\"sapUshellAppFinderTags\")}},_toggleViewWithToggleButtonClass:function(e){const t=this.getView();if(e){t.oPage.addStyleClass(\"sapUshellAppFinderToggleButton\")}else{t.oPage.removeStyleClass(\"sapUshellAppFinderToggleButton\")}},_setFocusToSegmentedButton:function(e){const t=this.getView();if(e&&e.length){const e=t.segmentedButton.getSelectedButton();setTimeout(()=>{jQuery(`#${e}`).focus()},0)}else{setTimeout(()=>{jQuery(\"#catalogSelect\").focus()},0)}},_getPathAndHandleGroupContext:function(e){const t=e.getParameter(\"arguments\");const s=t.filters;let o;try{o=JSON.parse(s)}catch(e){o=s}this.oVisualizationOrganizerHelper.updateModelWithContext.apply(this,[o])},_updateModelWithGroupContext:function(e){const t=this.oView.getModel();let s=e&&decodeURIComponent(e.targetGroup)||\"\";let o=t.getProperty(s);s=s===\"undefined\"?undefined:s;const n={path:s,id:\"\",title:o&&o.title};if(s&&s!==\"\"){c.getServiceAsync(\"FlpLaunchPage\").then(e=>{function a(){const r=t.getProperty(\"/groups\");if(r.length&&o?.object){o=t.getProperty(s);n.id=e.getGroupId(o.object);n.title=o.title||e.getGroupTitle(o.object);return}setTimeout(a,100)}a()})}t.setProperty(\"/groupContext\",n)},getSystems:function(e){const t=new jQuery.Deferred;c.getServiceAsync(\"ClientSideTargetResolution\").then(t=>t.getEasyAccessSystems(e)).then(e=>{const s=[];const o=Object.keys(e);for(let t=0;t<o.length;t++){const n=o[t];s[t]={systemName:e[n].text,systemId:n}}t.resolve(s)}).catch(e=>{t.reject(`An error occurred while retrieving the systems: ${e}`)});return t.promise()},_updateShellHeader:async function(e){const t=await this.getOwnerComponent().getService(\"ShellUIService\");t.setTitle(e);t.setHierarchy()},containsOnlyWhiteSpaces:function(e){if(!e||e===\"\"){return false}return!e.replace(/\\s/g,\"\").length}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/AppFinderView\", [\"sap/ui/core/Element\",\"sap/ui/core/mvc/View\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/ListItem\",\"sap/ui/model/Sorter\",\"sap/m/MultiComboBox\",\"sap/ui/model/BindingMode\",\"sap/m/SearchField\",\"sap/m/FlexBox\",\"sap/m/SegmentedButton\",\"sap/m/SegmentedButtonItem\",\"sap/m/ToggleButton\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"sap/m/Toolbar\",\"sap/m/Page\",\"sap/ushell/resources\",\"sap/ui/Device\"],(e,t,n,o,a,s,r,i,l,p,d,u,c,h,g,S,m)=>{\"use strict\";return t.extend(\"sap.ushell.components.appfinder.AppFinderView\",{createContent:function(){const e=S.i18n;this.oPage=new g(\"appFinderPage\",{showHeader:false,showSubHeader:false,showFooter:false,showNavButton:false,enableScrolling:false,title:{parts:[\"/groupContext/title\"],formatter:function(t){return!t?e.getText(\"appFinderTitle\"):e.getText(\"appFinder_group_context_title\",[t])}}});return this.oPage},_showSearch:function(e){let t=\"enableCatalogSearch\";if(e===\"userMenu\"){t=\"enableEasyAccessUserMenuSearch\"}else if(e===\"sapMenu\"){t=\"enableEasyAccessSAPMenuSearch\"}return this.getModel().getProperty(`/${t}`)},_showSearchTag:function(e){if(e===\"userMenu\"||e===\"sapMenu\"){return false}return this.getModel().getProperty(\"/enableCatalogTagFilter\")},createSubHeader:function(){this.oToolbar=new h(\"appFinderSubHeader\",{});if(m.system.desktop){this.oToolbar.addEventDelegate({onAfterRendering:function(){const e=document.getElementById(\"catalog-button\");if(e){e.setAttribute(\"accesskey\",\"a\")}}})}this.oToolbar.addStyleClass(\"sapUshellAppFinderHeader\");this.oPage.setSubHeader(this.oToolbar);this.oPage.setShowSubHeader(true);if(!this.openCloseSplitAppButton){this.openCloseSplitAppButton=new u(\"openCloseButtonAppFinderSubheader\",{icon:\"sap-icon://menu2\",visible:\"{/openCloseSplitAppButtonVisible}\",pressed:\"{/openCloseSplitAppButtonToggled}\",press:function(e){this.getController().oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonToggled\",e.getSource().getPressed());this.openCloseSplitAppButton.setTooltip(e.getParameter(\"pressed\")?S.i18n.getText(\"ToggleButtonHide\"):S.i18n.getText(\"ToggleButtonShow\"))}.bind(this),tooltip:S.i18n.getText(\"ToggleButtonShow\")});this.openCloseSplitAppButton.setModel(this.getController().oSubHeaderModel);this.oToolbar.addContent(this.openCloseSplitAppButton)}},updateSubHeader:function(e,t){let n;let o;this.oToolbar.removeAllContent();this.oToolbar.addContent(this.openCloseSplitAppButton);if(t){n=this.createSegmentedButtons(e);this.oPage.addStyleClass(\"sapUshellAppFinderWithEasyAccess\");this.oToolbar.addContent(n)}if(this._showSearch(e)){o=this.createSearchControl(e);this.oToolbar.addContent(o)}this.getController()._updateCurrentMenuName(e)},createSegmentedButtons:function(e){if(this.segmentedButton){this.segmentedButton.setSelectedKey(e);return this.segmentedButton}const t=this.getController();const o=S.i18n;const a=new n({text:o.getText(\"AppFinder.SegmentedButton.Catalog.Describedby\")}).toStatic();this.addDependent(a);this.segmentedButton=new p(\"appFinderSegmentedButtons\",{items:[new d(\"catalog\",{text:o.getText(\"appFinderCatalogTitle\"),key:\"catalog\",press:function(e){t.onSegmentButtonClick(e)},customData:[new c({key:\"aria-controls\",value:\"catalogView\",writeToDom:true}),new c({key:\"aria-describedby\",value:a.getId(),writeToDom:true})]})]});if(t.bEnableEasyAccessUserMenu){const e=new n({text:o.getText(\"AppFinder.SegmentedButton.UserMenu.Describedby\")}).toStatic();this.addDependent(e);this.segmentedButton.addItem(new d(\"userMenu\",{text:o.getText(\"appFinderUserMenuTitle\"),key:\"userMenu\",press:function(e){t.onSegmentButtonClick(e)},customData:[new c({key:\"aria-controls\",value:\"userMenuView\",writeToDom:true}),new c({key:\"aria-describedby\",value:e.getId(),writeToDom:true})]}))}if(t.bEnableEasyAccessSAPMenu){const e=new n({text:o.getText(\"AppFinder.SegmentedButton.SAPMenu.Describedby\")}).toStatic();this.addDependent(e);this.segmentedButton.addItem(new d(\"sapMenu\",{text:o.getText(\"appFinderSapMenuTitle\"),key:\"sapMenu\",press:function(e){t.onSegmentButtonClick(e)},customData:[new c({key:\"aria-controls\",value:\"sapMenuView\",writeToDom:true}),new c({key:\"aria-describedby\",value:e.getId(),writeToDom:true})]}))}this.segmentedButton.setSelectedKey(e);return this.segmentedButton},_handleSearch:function(){this.getController().searchHandler.apply(this.getController(),arguments);const t=e.getElementById(\"appFinderSearch\");if(t){t.focus()}},createSearchControl:function(t){if(!this.oAppFinderSearchContainer){this.oAppFinderSearchContainer=new l(\"appFinderSearchContainer\")}this.oAppFinderSearchContainer.removeAllItems();if(t===\"catalog\"&&this._showSearchTag(\"catalog\")){this.oAppFinderSearchContainer.addItem(this.createTagControl())}if(!this.oAppFinderSearchControl){this.oAppFinderSearchControl=new i(\"appFinderSearch\",{search:this._handleSearch.bind(this),value:{path:\"subHeaderModel>/search/searchTerm\",mode:r.OneWay}}).addStyleClass(\"help-id-catalogSearch\");this.oAppFinderSearchControl.addCustomData(new c({key:\"aria-controls\",value:\"\",writeToDom:true}));if(m.system.desktop){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\",\"sap/ushell/renderer/AccessKeysHandler\"],(t,n)=>{t.getInstance().then(t=>{this.oAppFinderSearchControl.addEventDelegate({onsaptabnext:function(o){const a=e.getElementById(\"openCloseButtonAppFinderSubheader\");if(a.getVisible()&&!a.getPressed()){o.preventDefault();n.setIsFocusHandledByAnotherHandler(true);t.setFocusOnCatalogTile()}}})})})}}this.oAppFinderSearchContainer.addItem(this.oAppFinderSearchControl);this._updateSearchWithPlaceHolder(t);return this.oAppFinderSearchContainer},_updateSearchWithPlaceHolder:function(e){let t=\"\";if(e===\"catalog\"){t=\"EasyAccessMenu_SearchPlaceHolder_Catalog\"}else if(e===\"userMenu\"){t=\"EasyAccessMenu_SearchPlaceHolder_UserMenu\"}else if(e===\"sapMenu\"){t=\"EasyAccessMenu_SearchPlaceHolder_SAPMenu\"}if(t&&this.oAppFinderSearchControl){this.oAppFinderSearchControl.setPlaceholder(S.i18n.getText(t));this.oAppFinderSearchControl.setTooltip(S.i18n.getText(t))}},createTagControl:function(){if(this.oAppFinderTagFilter){return this.oAppFinderTagFilter}const e=this.getController();this.oAppFinderTagFilter=new s(\"appFinderTagFilter\",{selectedKeys:{path:\"subHeaderModel>/tag/selectedTags\"},tooltip:\"{i18n>catalogTilesTagfilter_tooltip}\",placeholder:\"{i18n>catalogTilesTagfilter_HintText}\",visible:{path:\"/tagList\",formatter:function(e){return e.length>0}},items:{path:\"/tagList\",sorter:new a(\"tag\",false,false),template:new o({text:\"{tag}\",key:\"{tag}\"})},selectionChange:[e.onTagsFilter,e]}).addStyleClass(\"help-id-catalogTagFilter\");return this.oAppFinderTagFilter},getControllerName:function(){return\"sap.ushell.components.appfinder.AppFinder\"}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/Catalog.controller\", [\"sap/base/util/extend\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ushell/library\",\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/Controller\",\"sap/ushell/components/_HomepageManager/PagingManager\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/resources\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/m/library\",\"sap/ui/Device\",\"sap/ui/model/Context\",\"sap/m/MessageToast\",\"sap/ushell/Config\",\"sap/ushell/components/appfinder/VisualizationOrganizerHelper\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/EventHub\",\"sap/base/Log\",\"sap/ushell/Container\"],(e,t,i,o,s,r,a,jQuery,n,l,g,c,h,p,d,u,f,y,C,m,F)=>{\"use strict\";const P=c.SplitAppMode;const w=o.AppType;let M;return r.extend(\"sap.ushell.components.appfinder.Catalog\",{oPopover:null,onInit:function(){F.getServiceAsync(\"FlpLaunchPage\").then(e=>{this.oLaunchPageService=e});this.categoryFilter=\"\";this.preCategoryFilter=\"\";const e=this.getView();this.oMainModel=e.getModel();this.oSubHeaderModel=e.getModel(\"subHeaderModel\");this.resetPage=false;this.bIsInProcess=false;this.oVisualizationOrganizerHelper=e.oVisualizationOrganizerHelper;this.oCatalogsContainer=e.oCatalogsContainer;this.timeoutId=0;document.subHeaderModel=this.oSubHeaderModel;document.mainModel=this.oMainModel;const t=this.oSubHeaderModel.bindProperty(\"/openCloseSplitAppButtonToggled\");t.attachChange(this.handleToggleButtonModelChanged,this);e.oCatalogsContainer.setHandleSearchCallback(this.handleSearchModelChanged.bind(this));M=this.getView().getViewData().CatalogsManager&&this.getView().getViewData().CatalogsManager.getInstance()},customRouteMatched:function(e){this.onShow(e)},onBeforeRendering:function(){i.getInstance().publish(\"renderCatalog\")},onAfterRendering:function(){this.wasRendered=true;if(!this.PagingManager){this._setPagingManager()}if(this.PagingManager.currentPageIndex===0){this.allocateNextPage()}jQuery(window).resize(()=>{const e=jQuery(window).width();const t=jQuery(window).height();this.PagingManager.setContainerSize(e,t)});this._handleAppFinderWithDocking();i.getInstance().subscribe(\"launchpad\",\"appFinderWithDocking\",this._handleAppFinderWithDocking,this);i.getInstance().subscribe(\"sap.ushell\",\"appFinderAfterNavigate\",this._handleAppFinderAfterNavigate,this)},_setPagingManager:function(){this.lastCatalogId=0;this.PagingManager=new a(\"catalogPaging\",{supportedElements:{tile:{className:\"sapUshellTile\"}},containerHeight:window.innerHeight,containerWidth:window.innerWidth});this.oCatalogsContainer.setPagingManager(this.PagingManager)},_decodeUrlFilteringParameters:function(e){let t;try{t=JSON.parse(e)}catch(i){t=e}const i=t&&t.tagFilter&&t.tagFilter||[];if(i){try{this.tagFilter=JSON.parse(i)}catch(e){this.tagFilter=[]}}else{this.tagFilter=[]}this.categoryFilter=t&&t.catalogSelector&&t.catalogSelector||this.categoryFilter;if(this.categoryFilter){this.categoryFilter=window.decodeURIComponent(this.categoryFilter)}this.searchFilter=t&&t.tileFilter&&t.tileFilter||null;if(this.searchFilter){this.searchFilter=window.decodeURIComponent(this.searchFilter)}},_applyFilters:function(e){let t=false;if(this.categoryFilter){this.categoryFilter=n.i18n.getText(\"all\")===this.categoryFilter?\"\":this.categoryFilter;if(this.categoryFilter!==this.preCategoryFilter){t=true}this.oView.setCategoryFilterSelection(this.categoryFilter,t)}else{t=true;this.oView.setCategoryFilterSelection(\"\",t)}this.preCategoryFilter=this.categoryFilter;if(this.searchFilter&&this.searchFilter.length){this.searchFilter=this.searchFilter.replace(/\\*/g,\"\");this.searchFilter=this.searchFilter.trim();this.oSubHeaderModel.setProperty(\"/search\",{searchMode:true,searchTerm:this.searchFilter})}else if(e){this.oSubHeaderModel.setProperty(\"/search\",{searchMode:false,searchTerm:\"\"});this.resetPage=true}if(this.tagFilter&&this.tagFilter.length){this.oSubHeaderModel.setProperty(\"/tag\",{tagMode:true,selectedTags:this.tagFilter})}else if(e){this.oSubHeaderModel.setProperty(\"/tag\",{tagMode:false,selectedTags:[]});this.resetPage=true}this.handleSearchModelChanged()},_handleAppFinderAfterNavigate:function(){this.clearFilters()},clearFilters:function(){let e=false;if(this.categoryFilter!==this.preCategoryFilter){e=true}const t=this.oSubHeaderModel.getProperty(\"/search/searchMode\");const i=this.oSubHeaderModel.getProperty(\"/tag/tagMode\");if(t){this.oSubHeaderModel.setProperty(\"/search\",{searchMode:true,searchTerm:\"\"})}if(i){this.oSubHeaderModel.setProperty(\"/tag\",{tagMode:true,selectedTags:[]})}if(this.categoryFilter&&this.categoryFilter!==\"\"){this.selectedCategoryId=undefined;this.categoryFilter=undefined;this.getView().getModel().setProperty(\"/categoryFilter\",\"\");this.oView.setCategoryFilterSelection(\"\",e)}this.preCategoryFilter=this.categoryFilter;this.handleSearchModelChanged()},onShow:function(t){const i=t.getParameter(\"arguments\").filters;e(this.getView().getViewData(),t);this._decodeUrlFilteringParameters(i);if(this.wasRendered&&!i){this.clearFilters()}else{this._applyFilters(this.wasRendered)}},allocateNextPage:function(){if(!this.oCatalogsContainer.nAllocatedUnits||this.oCatalogsContainer.nAllocatedUnits===0){this.PagingManager.moveToNextPage();this.allocateTiles=this.PagingManager._calcElementsPerPage();this.oCatalogsContainer.applyPagingCategoryFilters(this.allocateTiles,this.categoryFilter)}},setTagsFilter:function(e){const t={catalogSelector:this.categoryFilter?this.categoryFilter:n.i18n.getText(\"all\"),tileFilter:this.searchFilter&&this.searchFilter.length?encodeURIComponent(this.searchFilter):\"\",tagFilter:e.length?JSON.stringify(e):[]};this._addNavigationContextToFilter(t);this.getView().parentComponent.getRouter().navTo(\"catalog\",{filters:JSON.stringify(t)})},setCategoryFilter:function(e){const t={catalogSelector:e,tileFilter:this.searchFilter?encodeURIComponent(this.searchFilter):\"\",tagFilter:this.tagFilter.length?JSON.stringify(this.tagFilter):[]};this._addNavigationContextToFilter(t);this.getView().parentComponent.getRouter().navTo(\"catalog\",{filters:JSON.stringify(t)})},setSearchFilter:function(e){const t={catalogSelector:this.categoryFilter?this.categoryFilter:n.i18n.getText(\"all\"),tileFilter:e?encodeURIComponent(e):\"\",tagFilter:this.tagFilter.length?JSON.stringify(this.tagFilter):[]};this._addNavigationContextToFilter(t);this.getView().parentComponent.getRouter().navTo(\"catalog\",{filters:JSON.stringify(t)})},_addNavigationContextToFilter:function(e){const t=this.oVisualizationOrganizerHelper.getNavigationContext.apply(this);if(t){Object.keys(t).forEach(i=>{e[i]=t[i]})}return e},onSearch:function(e){const t=this.oSubHeaderModel.getProperty(\"/activeMenu\");if(this.oView.getId().indexOf(t)!==-1){const t=e.searchTerm?e.searchTerm:\"\";this.setSearchFilter(t)}else{this._restoreSelectedMasterItem()}},onTag:function(e){const t=this.oSubHeaderModel.getProperty(\"/activeMenu\");if(this.oView.getId().indexOf(t)!==-1){const t=e.selectedTags?e.selectedTags:[];this.setTagsFilter(t)}else{this._restoreSelectedMasterItem()}},getGroupContext:function(){const e=this.getView().getModel();const t=e.getProperty(\"/groupContext/path\");return{targetGroup:encodeURIComponent(t||\"\")}},_isTagFilteringChanged:function(e){const t=e.length===this.tagFilter.length;let i=t;if(!i){return true}e.some(e=>{i=this.tagFilter&&Array.prototype.indexOf.call(this.tagFilter,e)!==-1;return!i});return i},_setUrlWithTagsAndSearchTerm:function(e,t){const i={tileFilter:e&&e.length?encodeURIComponent(e):\"\",tagFilter:t.length?JSON.stringify(t):[]};this._addNavigationContextToFilter(i);this.getView().parentComponent.getRouter().navTo(\"catalog\",{filters:JSON.stringify(i)})},handleSearchModelChanged:function(){const e=this.oSubHeaderModel.getProperty(\"/search/searchMode\");const i=this.oSubHeaderModel.getProperty(\"/tag/tagMode\");let o=this.oSubHeaderModel.getProperty(\"/search/searchTerm\");const s=this.oSubHeaderModel.getProperty(\"/tag/selectedTags\");const r=[];let a;let n;let c;if(!this.PagingManager){this._setPagingManager()}this.PagingManager.resetCurrentPageIndex();this.nAllocatedTiles=0;this.PagingManager.moveToNextPage();this.allocateTiles=this.PagingManager._calcElementsPerPage();this.oView.oCatalogsContainer.updateAllocatedUnits(this.allocateTiles);this.oView.oCatalogsContainer.resetCatalogPagination();const h=t.getElementById(\"catalogTilesDetailedPage\");if(h){h.scrollTo(0,0)}if(e||i||this.resetPage){if(s&&s.length>0){const e=new l(\"tags\",\"EQ\",\"v\");e.fnTest=function(e){if(s.length===0){return true}for(let t=0;t<s.length;t++){const i=s[t];if(e.indexOf(i)===-1){return false}}return true};a=new l([e],true)}o=o?o.replace(/\\*/g,\"\"):o;if(o){const e=o.split(/[\\s,]+/);const t=new l(jQuery.map(e,e=>e&&new l(\"keywords\",g.Contains,e)),true);const i=new l(jQuery.map(e,e=>e&&new l(\"title\",g.Contains,e)),true);const s=new l(jQuery.map(e,e=>e&&new l(\"subtitle\",g.Contains,e)),true);r.push(t);r.push(i);r.push(s);n=new l(r,false)}const e=this.oView.oCatalogsContainer.getCatalogs();this.oSearchResultsTotal=[];const t=this;if(a&&a.aFilters.length>0&&n){c=new l([n].concat([a]),true)}else if(a&&a.aFilters.length>0){c=new l([a],true)}else if(n&&n.aFilters.length>0){c=new l([n],true)}e.forEach(e=>{e.getBinding(\"customTilesContainer\").filter(c);e.getBinding(\"appBoxesContainer\").filter(c)});this.oView.oCatalogsContainer.bSearchResults=false;this.oView.oCatalogsContainer.applyPagingCategoryFilters(this.oView.oCatalogsContainer.nAllocatedUnits,this.categoryFilter);this.bSearchResults=this.oView.oCatalogsContainer.bSearchResults;this.oView.splitApp.toDetail(t.getView()._calculateDetailPageId());this.resetPage=false}else{this.oView.oCatalogsContainer.applyPagingCategoryFilters(this.oView.oCatalogsContainer.nAllocatedUnits,this.categoryFilter)}const p=this.getView()._calculateDetailPageId();this.oView.splitApp.toDetail(p)},_handleAppFinderWithDocking:function(){if(jQuery(\".sapUshellContainerDocked\").length>0){if(jQuery(\"#mainShell\").width()<710){if(window.innerWidth<1024){this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonVisible\",false);this.oView.splitApp.setMode(P.ShowHideMode)}else{this.oView.splitApp.setMode(P.HideMode);this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonVisible\",true)}}else{this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonVisible\",false);this.oView.splitApp.setMode(P.ShowHideMode)}}},_restoreSelectedMasterItem:function(){const e=this.oView.splitApp.getMasterPage(\"catalogSelect\");const i=t.getElementById(this.selectedCategoryId);if(i){this.categoryFilter=i.getTitle()}e.setSelectedItem(i)},handleToggleButtonModelChanged:function(){const e=this.oSubHeaderModel.getProperty(\"/openCloseSplitAppButtonVisible\");const i=this.oSubHeaderModel.getProperty(\"/openCloseSplitAppButtonToggled\");if(i!==this.bCurrentButtonToggled&&e){if(!h.system.phone){if(i&&!this.oView.splitApp.isMasterShown()){this.oView.splitApp.showMaster()}else if(this.oView.splitApp.isMasterShown()){this.oView.splitApp.hideMaster()}}else if(this.oView.splitApp.isMasterShown()){const e=t.getElementById(this.getView()._calculateDetailPageId());this.oView.splitApp.toDetail(e)}else if(i){const e=t.getElementById(\"catalogSelect\");this.oView.splitApp.toMaster(e,\"show\")}}this.bCurrentButtonToggled=i},_handleCatalogListItemPress:function(e){this.onCategoryFilter(e);if(this.oSubHeaderModel.getProperty(\"/search/searchTerm\")!==\"\"){this.oSubHeaderModel.setProperty(\"/search/searchMode\",true)}if(h.system.phone||h.system.tablet){this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonToggled\",!this.oSubHeaderModel.setProperty(\"/openCloseSplitAppButtonToggled\"))}},onCategoryFilter:function(e){const t=e.getSource();const i=t.getSelectedItem();const o=i.getBindingContext();const s=o.getModel();if(s.getProperty(\"static\",o)){s.setProperty(\"/showCatalogHeaders\",true);this.setCategoryFilter();this.selectedCategoryId=undefined;this.categoryFilter=undefined}else{s.setProperty(\"/showCatalogHeaders\",false);this.setCategoryFilter(window.encodeURIComponent(i.getBindingContext().getObject().title));this.categoryFilter=i.getTitle();this.selectedCategoryId=i.getId()}},onTileAfterRendering:function(e){const t=e.oSource.getDomRef();if(t){const e=t.getElementsByClassName(\"sapMGT\");for(let t=0;t<e.length;t++){e[t].setAttribute(\"tabindex\",\"-1\")}}},catalogTilePress:function(){i.getInstance().publish(\"launchpad\",\"catalogTileClick\")},onAppBoxPressed:function(e){const t=e.getSource();const i=t.getBindingContext().getObject();if(e.mParameters.srcControl.$().closest(\".sapUshellPinButton\").length){return}const o=this.oLaunchPageService.getAppBoxPressHandler(i);if(o){o(i)}else{const e=t.getProperty(\"url\");if(!e){m.info(\"AppBox url property is not set.\",null,\"sap.ushell.components.Catalog.controller\");return}C.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:e}});if(e.indexOf(\"#\")===0){hasher.setHash(e)}else{const i=u.last(\"/core/shell/enableRecentActivity\")&&u.last(\"/core/shell/enableRecentActivityLogging\");if(i){const i={title:t.getProperty(\"title\"),appType:w.URL,url:e,appId:e};F.getRendererInternal(\"fiori2\").logRecentActivity(i)}y.openURL(e,\"_blank\")}}},onTilePinButtonClick:function(e){const t=this.oLaunchPageService;const i=t.getDefaultGroup();i.done(i=>{const o=e.getSource();const r=o.getBindingContext();const a=this.getView().getModel();const n=a.getProperty(\"/groupContext/path\");if(n){const e=()=>{if(a.getProperty(n).object){this._handleTileFooterClickInGroupContext(r,n);return}setTimeout(e,100)};e()}else{const e=a.getProperty(\"/groups\");const n=this.getCatalogTileDataFromModel(r);const l=n.tileData.associatedGroups;const g=[];const c=e.map(e=>{const o=t.getGroupId(e.object);const s=!(l&&Array.prototype.indexOf.call(l,o)===-1);g.push({id:o,title:this._getGroupTitle(i,e.object),selected:s});return{selected:s,initiallySelected:s,oGroup:e}});let h;h=t.getCatalogTilePreviewTitle(a.getProperty(r.sPath).src);if(!h){h=t.getCatalogTileTitle(a.getProperty(r.sPath).src)}this.pPopoverView=s.create({id:\"sapUshellGroupsPopover\",viewName:\"module:sap/ushell/components/appfinder/GroupListPopoverView\",viewData:{title:h,enableHideGroups:a.getProperty(\"/enableHideGroups\"),enableHelp:a.getProperty(\"/enableHelp\"),sourceContext:r,catalogModel:this.getView().getModel(),catalogController:this}}).then(e=>{e.getController().initializeData({groupData:c});e.open(o).then(this._handlePopoverResponse.bind(this,r,n));this.getView().addDependent(e);return e})}})},_getGroupTitle:function(e,t){const i=this.oLaunchPageService;let o;if(e&&i.getGroupId(e)===i.getGroupId(t)){o=n.i18n.getText(\"my_group\")}else{o=i.getGroupTitle(t)}return o},_handlePopoverResponse:function(e,t,i){if(!i.addToGroups.length&&!i.newGroups.length&&!i.removeFromGroups.length){return}const o=this.getView().getModel();const s=o.getProperty(\"/groups\");const r=[];i.addToGroups.forEach(t=>{const i=s.indexOf(t);const a=new p(o,`/groups/${i}`);r.push(this._addTile(e,a))});i.removeFromGroups.forEach(t=>{const i=e.getModel().getProperty(e.getPath()).id;const o=s.indexOf(t);r.push(this._removeTile(i,o))});i.newGroups.forEach(t=>{const i=t.length>0?t:n.i18n.getText(\"new_group_name\");r.push(this._createGroupAndSaveTile(e,i))});jQuery.when.apply(jQuery,r).then(function(){const e=Array.prototype.slice.call(arguments);this._handlePopoverGroupsActionPromises(t,i,e)}.bind(this))},_handlePopoverGroupsActionPromises:function(e,t,i){const o=i.filter(e=>!e.status);if(o.length){const t=this.prepareErrorMessage(o,e.tileData.title);M.resetAssociationOnFailure(t.messageId,t.parameters);return}const s=[];const r=this.oLaunchPageService;t.allGroups.forEach(e=>{if(e.selected){const t=r.getGroupId(e.oGroup.object);s.push(t)}});const a=this.getView().getModel();if(t.newGroups.length){const e=a.getProperty(\"/groups\");const i=e.slice(e.length-t.newGroups.length);i.forEach(e=>{const t=r.getGroupId(e.object);s.push(t)})}a.setProperty(`${e.bindingContextPath}/associatedGroups`,s);let n=t.addToGroups[0]?t.addToGroups[0].title:\"\";if(n.length===0&&t.newGroups.length){n=t.newGroups[0]}const l=t.removeFromGroups[0]?t.removeFromGroups[0].title:\"\";const g=t.addToGroups.length+t.newGroups.length;const c=t.removeFromGroups.length;const h=this.prepareDetailedMessage(e.tileData.title,g,c,n,l);d.show(h)},_getCatalogTileIndexInModel:function(e){const t=e.sPath;const i=t.split(\"/\");const o=i[i.length-1];return o},_handleTileFooterClickInGroupContext:function(e,t){const i=this.oLaunchPageService;const o=this.getView().getModel();const s=this.getCatalogTileDataFromModel(e);const r=s.tileData.associatedGroups;const a=o.getProperty(t);const n=i.getGroupId(a.object);const l=r?Array.prototype.indexOf.call(r,n):-1;const g=s.bindingContextPath;if(s.isBeingProcessed){return}o.setProperty(`${g}/isBeingProcessed`,true);let c;let h;if(l===-1){const i=new p(e.getModel(),t);c=this._addTile(e,i);h=true}else{const i=e.getModel().getProperty(e.getPath(\"id\"));const o=parseInt(t.split(\"/\")[2],10);c=this._removeTile(i,o);h=false}c.done(t=>{if(t.status){this._groupContextOperationSucceeded(e,s,a,h)}else{this._groupContextOperationFailed(s,a,h)}});c.always(()=>{o.setProperty(`${g}/isBeingProcessed`,false)})},_groupContextOperationSucceeded:function(e,t,i,o){const s=this.oLaunchPageService;const r=s.getGroupId(i.object);const a=t.tileData.associatedGroups;let n;if(o){a.push(r);e.getModel().setProperty(`${t.bindingContextPath}/associatedGroups`,a);n=this.prepareDetailedMessage(t.tileData.title,1,0,i.title,\"\")}else{for(let e=0;e<a.length;e++){if(a[e]===r){a.splice(e,1);break}}e.getModel().setProperty(`${t.bindingContextPath}/associatedGroups`,a);n=this.prepareDetailedMessage(t.tileData.title,0,1,\"\",i.title)}d.show(n)},_groupContextOperationFailed:function(e,t,i){let o;if(i){o={messageId:\"fail_tile_operation_add_to_group\",parameters:[e.tileData.title,t.title]}}else{o={messageId:\"fail_tile_operation_remove_from_group\",parameters:[e.tileData.title,t.title]}}M.notifyOnActionFailure(o.messageId,o.parameters)},prepareErrorMessage:function(e,t){let i;let o;let s;let r=0;let a=0;let n=false;for(const t in e){const s=e[t].group;const l=e[t].action;if(l===\"add\"){r++;if(r===1){i=s.title}}else if(l===\"remove\"){a++;if(a===1){o=s.title}}else if(l===\"addTileToNewGroup\"){r++;if(r===1){i=s.title}}else{n=true}}if(n){if(e.length===1){s={messageId:\"fail_tile_operation_create_new_group\"}}else{s={messageId:\"fail_tile_operation_some_actions\"}}}else if(e.length===1){if(r){s={messageId:\"fail_tile_operation_add_to_group\",parameters:[t,i]}}else{s={messageId:\"fail_tile_operation_remove_from_group\",parameters:[t,o]}}}else if(a===0){s={messageId:\"fail_tile_operation_add_to_several_groups\",parameters:[t]}}else if(r===0){s={messageId:\"fail_tile_operation_remove_from_several_groups\",parameters:[t]}}else{s={messageId:\"fail_tile_operation_some_actions\"}}return s},prepareDetailedMessage:function(e,t,i,o,s){let r;if(t===0){if(i===1){r=n.i18n.getText(\"tileRemovedFromSingleGroup\",[e,s])}else if(i>1){r=n.i18n.getText(\"tileRemovedFromSeveralGroups\",[e,i])}}else if(t===1){if(i===0){r=n.i18n.getText(\"tileAddedToSingleGroup\",[e,o])}else if(i===1){r=n.i18n.getText(\"tileAddedToSingleGroupAndRemovedFromSingleGroup\",[e,o,s])}else if(i>1){r=n.i18n.getText(\"tileAddedToSingleGroupAndRemovedFromSeveralGroups\",[e,o,i])}}else if(t>1){if(i===0){r=n.i18n.getText(\"tileAddedToSeveralGroups\",[e,t])}else if(i===1){r=n.i18n.getText(\"tileAddedToSeveralGroupsAndRemovedFromSingleGroup\",[e,t,s])}else if(i>1){r=n.i18n.getText(\"tileAddedToSeveralGroupsAndRemovedFromSeveralGroups\",[e,t,i])}}return r},getCatalogTileDataFromModel:function(e){const t=e.getPath();const i=e.getModel();const o=i.getProperty(t);return{tileData:o,bindingContextPath:t,isBeingProcessed:o.isBeingProcessed}},_addTile:function(e,t){const i=jQuery.Deferred();const o=M.createTile({catalogTileContext:e,groupContext:t});o.done(e=>{i.resolve(e)});return i},_removeTile:function(e,t){const i=jQuery.Deferred();const o=M.deleteCatalogTileFromGroup({tileId:e,groupIndex:t});o.done(e=>{i.resolve(e)});return i},_createGroupAndSaveTile:function(e,t){const i=jQuery.Deferred();const o=M.createGroupAndSaveTile({catalogTileContext:e,newGroupName:t});o.done(e=>{i.resolve(e)});return i},onExit:function(){f.destroy();i.getInstance().unsubscribe(\"launchpad\",\"appFinderWithDocking\",this._handleAppFinderWithDocking,this);i.getInstance().unsubscribe(\"launchpad\",\"appFinderAfterNavigate\",this._handleAppFinderAfterNavigate,this)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/CatalogView\", [\"sap/m/BusyIndicator\",\"sap/m/library\",\"sap/m/List\",\"sap/m/IllustratedMessage\",\"sap/m/Page\",\"sap/m/PageAccessibleLandmarkInfo\",\"sap/m/SplitApp\",\"sap/m/StandardListItem\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ui/core/mvc/View\",\"sap/ui/core/library\",\"sap/ui/Device\",\"sap/ui/performance/Measurement\",\"sap/ushell/components/appfinder/VisualizationOrganizerHelper\",\"sap/ushell/ui/appfinder/AppBoxInternal\",\"sap/ushell/ui/appfinder/PinButton\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"sap/ushell/ui/launchpad/CatalogEntryContainer\",\"sap/ushell/ui/launchpad/CatalogsContainer\",\"sap/ushell/ui/launchpad/Tile\",\"sap/ushell/resources\"],(e,t,a,o,s,n,i,l,r,p,c,u,g,d,h,f,m,C,y,b,P,T)=>{\"use strict\";const S=t.ListSeparators;const B=t.ListMode;const I=u.AccessibleLandmarkRole;return c.extend(\"sap.ushell.components.appfinder.CatalogView\",{oController:null,oVisualizationOrganizerHelper:h.getInstance(),formatPinButtonTooltip:function(e,t){let a;if(t.path){const o=e?Array.prototype.indexOf.call(e,t.id):-1;a=o!==-1?\"removeAssociatedTileFromContextGroup\":\"addAssociatedTileToContextGroup\";return T.i18n.getText(a,[t.title])}a=e&&e.length?\"EasyAccessMenu_PinButton_Toggled_Tooltip\":\"EasyAccessMenu_PinButton_UnToggled_Tooltip\";return T.i18n.getText(a)},formatPinButtonSelectState:function(e,t,a,o){if(a){const t=e?Array.prototype.indexOf.call(e,o):-1;return t!==-1}return!!t},createContent:function(t){const c=this;this.oViewData=this.getViewData();this.parentComponent=this.oViewData.parentComponent;const u=this.parentComponent.getModel();this.setModel(u);this.setModel(this.oViewData.subHeaderModel,\"subHeaderModel\");this.oVisualizationOrganizerHelper.setModel(u);this.oController=t;function h(e){return e!==null&&(e===\"1x2\"||e===\"2x2\")||false}const A=new m({icon:{path:\"id\",formatter:this.oVisualizationOrganizerHelper.formatPinButtonIcon},type:{path:\"id\",formatter:this.oVisualizationOrganizerHelper.formatPinButtonType},selected:{parts:[\"associatedGroups\",\"associatedGroups/length\",\"/groupContext/path\",\"/groupContext/id\"],formatter:this.oVisualizationOrganizerHelper.formatPinButtonSelectState.bind(this)},tooltip:{parts:[\"associatedGroups\",\"/groupContext\",\"id\"],formatter:this.oVisualizationOrganizerHelper.formatPinButtonTooltip.bind(this)},press:[this.oVisualizationOrganizerHelper.onTilePinButtonClick,this],visible:false});const w=new m({icon:{path:\"id\",formatter:this.oVisualizationOrganizerHelper.formatPinButtonIcon},type:{path:\"id\",formatter:this.oVisualizationOrganizerHelper.formatPinButtonType},selected:{parts:[\"associatedGroups\",\"associatedGroups/length\",\"/groupContext/path\",\"/groupContext/id\"],formatter:this.oVisualizationOrganizerHelper.formatPinButtonSelectState.bind(this)},tooltip:{parts:[\"associatedGroups\",\"/groupContext\",\"id\"],formatter:this.oVisualizationOrganizerHelper.formatPinButtonTooltip.bind(this)},press:[this.oVisualizationOrganizerHelper.onTilePinButtonClick,this],visible:false});this.oAppBoxesTemplate=new f({title:\"{title}\",icon:\"{icon}\",subtitle:\"{subtitle}\",url:\"{url}\",navigationMode:\"{navigationMode}\",pinButton:w,contentProviderLabel:\"{contentProviderLabel}\",press:[t.onAppBoxPressed,t]});this.oVisualizationOrganizerHelper.shouldPinButtonBeVisible().then(e=>{w.setVisible(e);A.setVisible(e)});w.addCustomData(new C({key:\"tabindex\",value:\"-1\",writeToDom:true}));w.addStyleClass(\"sapUshellPinButton\");A.addCustomData(new C({key:\"tabindex\",value:\"-1\",writeToDom:true}));A.addStyleClass(\"sapUshellPinButton\");this.oTileTemplate=new P({tileViews:{path:\"content\",factory:function(e,t){return t.getObject()}},long:{path:\"size\",formatter:h},tileCatalogId:\"{id}\",tileCatalogIdStable:\"{tileCatalogIdStable}\",pinButton:A,press:[t.catalogTilePress,t],afterRendering:t.onTileAfterRendering});this.oCatalogSelect=new a(\"catalogSelect\",{visible:\"{/enableCatalogSelection}\",rememberSelections:true,showSeparators:S.None,mode:B.SingleSelectMaster,items:{path:\"/masterCatalogs\",template:new l({type:\"Active\",title:\"{title}\"})},showNoData:false,itemPress:[t._handleCatalogListItemPress,t],selectionChange:[t._handleCatalogListItemPress,t]});this.getCatalogSelect=function(){return this.oCatalogSelect};const M=this.oCatalogSelect.onAfterRendering;if(g.system.desktop){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\",\"sap/ushell/renderer/AccessKeysHandler\"],(e,t)=>{e.getInstance().then(e=>{this.oCatalogSelect.addEventDelegate({onsaptabnext:function(a){try{a.preventDefault();t.setIsFocusHandledByAnotherHandler(true);e.setFocusOnCatalogTile()}catch(e){}},onsapskipforward:function(a){try{a.preventDefault();t.setIsFocusHandledByAnotherHandler(true);e.setFocusOnCatalogTile()}catch(e){}},onsapskipback:function(a){try{a.preventDefault();t.setIsFocusHandledByAnotherHandler(true);const o=r.getElementById(\"openCloseButtonAppFinderSubheader\");if(o.getVisible()){o.focus()}else{e.appFinderFocusMenuButtons(a)}}catch(e){}}})})})}if(u.getProperty(\"/enableHelp\")){this.oCatalogSelect.addStyleClass(\"help-id-catalogCategorySelect\")}this.setCategoryFilterSelection=function(e,t){const a=c.getCatalogSelect();const o=a.getItems();let s=e;let n=0;if(!s||s===\"\"){s=T.i18n.getText(\"all\")}o.forEach((e,t)=>{if(e.getTitle()===s){n=t;a.setSelectedItem(e)}});if(o.length!==0&&t){o[n].focus()}};this.oCatalogSelect.onAfterRendering=function(){const e=c.oController.categoryFilter||T.i18n.getText(\"all\");c.setCategoryFilterSelection(e);if(M){M.apply(this,arguments)}if(!this.getSelectedItem()){this.setSelectedItem(this.getItems()[0])}setTimeout(()=>{const e=r.getElementById(\"appFinderSegmentedButtons\");if(e){e.focus()}},0)};const D=this.oCatalogSelect._onAfterRenderingPopover;this.oCatalogSelect._onAfterRenderingPopover=function(){if(this._oPopover){this._oPopover.setFollowOf(false)}if(D){D.apply(this,arguments)}};const x=p.getInstance();let v;const H=function(){this.splitApp.toMaster(\"catalogSelect\",\"show\");if(!g.system.phone){v=this._calculateDetailPageId();if(v!==this.splitApp.getCurrentDetailPage().getId()){this.splitApp.toDetail(v)}}}.bind(this);x.subscribe(\"launchpad\",\"catalogContentLoaded\",()=>{setTimeout(H,500)},this);x.subscribe(\"launchpad\",\"afterCatalogSegment\",H,this);const z=new y({header:\"{title}\",customTilesContainer:{path:\"customTiles\",template:this.oTileTemplate,templateShareable:true},appBoxesContainer:{path:\"appBoxes\",template:this.oAppBoxesTemplate,templateShareable:true}});this.oIllustratedMessage=new o({visible:true,title:T.i18n.getText(\"EasyAccessMenu_NoAppsToDisplayMessagePage_Text\"),description:\" \"}).addEventDelegate({onAfterRendering:function(){const e=this.oIllustratedMessage.getDomRef();if(e){const t=e.getElementsByClassName(\"sapMTitle\");if(t.length){t[0].setAttribute(\"tabindex\",\"0\")}}}.bind(this),onBeforeRendering:function(){const e=this.oIllustratedMessage.getDomRef();if(e){const t=e.getElementsByClassName(\"sapMTitle\");if(t.length){t[0].removeAttribute(\"tabindex\")}}}.bind(this)});this.oCatalogsContainer=new b(\"catalogTiles\",{categoryFilter:\"{/categoryFilter}\",catalogs:{path:\"/catalogs\",templateShareable:true,template:z},busy:true}).addStyleClass(\"sapUiTinyMarginTop\");this.oCatalogsContainer.addStyleClass(\"sapUshellCatalogTileContainer\");this.oCatalogsContainer.addEventDelegate({onsaptabprevious:function(e){const t=r.getElementById(\"openCloseButtonAppFinderSubheader\");const a=e.srcControl.getDomRef();if(t.getVisible()&&!t.getPressed()&&!a.classList.contains(\"sapUshellPinButton\")){e.preventDefault();const t=r.getElementById(\"appFinderSearch\");t.focus()}},onsapskipback:function(e){const t=r.getElementById(\"openCloseButtonAppFinderSubheader\");if(t.getVisible()&&!t.getPressed()){e.preventDefault();t.focus()}}});this.oCatalogsContainer.onAfterRendering=function(){const e=r.getElementById(\"catalogTilesDetailedPage\");if(!this.getBusy()){e.setBusy(false);d.end(\"FLP:AppFinderLoadingStartToEnd\")}else{e.setBusy(true)}document.getElementById(\"catalogTilesDetailedPage-cont\").addEventListener(\"scroll\",()=>{const e=r.getElementById(\"catalogTilesDetailedPage\");const t=e.getScrollDelegate();const a=t.getScrollTop();const o=t.getMaxScrollTop();if(o-a<=30+3*c.oController.PagingManager.getTileHeight()&&c.oController.bIsInProcess===false){c.oController.bIsInProcess=true;c.oController.allocateNextPage();setTimeout(()=>{c.oController.bIsInProcess=false},0)}})};const V=new s(\"catalogTilesDetailedPage\",{showHeader:false,showFooter:false,showNavButton:false,content:[this.oCatalogsContainer.addStyleClass(\"sapUshellCatalogPage\")],landmarkInfo:new n({contentLabel:T.i18n.getText(\"appFinderCatalogTitle\"),contentRole:I.None,rootRole:I.None})});const F=new s(\"catalogMessagePage\",{showHeader:false,showFooter:false,showNavButton:false,content:[this.oIllustratedMessage]});const E=new e(\"catalogSelectBusyIndicator\",{size:\"1rem\"});this.splitApp=new i(\"catalogViewMasterDetail\",{masterPages:[E,this.oCatalogSelect],detailPages:[V,F],mode:\"{= ${/isPhoneWidth} ? 'HideMode' : 'ShowHideMode'}\"});return this.splitApp},_calculateDetailPageId:function(){const e=this.getModel(\"subHeaderModel\");const t=e.getProperty(\"/search/searchMode\");const a=e.getProperty(\"/tag/tagMode\");const o=!!this.getModel().getProperty(\"/catalogsNoDataText\");let s;if(t||a){s=this.getController().bSearchResults?\"catalogTilesDetailedPage\":\"catalogMessagePage\"}else if(o){s=\"catalogMessagePage\"}else{s=\"catalogTilesDetailedPage\"}return s},getControllerName:function(){return\"sap.ushell.components.appfinder.Catalog\"}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/Component\", [\"sap/ui/core/UIComponent\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/components/CatalogsManager\",\"sap/ushell/resources\",\"sap/ushell/Config\",\"sap/ushell/bootstrap/common/common.load.model\",\"sap/ushell/components/SharedComponentUtils\",\"sap/base/util/UriParameters\",\"sap/ushell/Container\"],(e,t,o,s,a,n,i,l,r)=>{\"use strict\";return e.extend(\"sap.ushell.components.appfinder.Component\",{metadata:{interfaces:[\"sap.ui.core.IAsyncContentCreation\"],manifest:\"json\",library:\"sap.ushell\"},init:function(){e.prototype.init.apply(this,arguments);this.oModel=n.getModel();this.setModel(this.oModel);const l=a.last(\"/core/shell/enablePersonalization\");if(l){i.getEffectiveHomepageSetting(\"/core/home/homePageGroupDisplay\",\"/core/home/enableHomePageSettings\")}this.oCatalogsManager=new o(\"dashboardMgr\",{model:this.oModel});this.setModel(s.i18nModel,\"i18n\");i.toggleUserActivityLog();const c=t.getHash();Promise.all([r.getServiceAsync(\"ShellNavigationInternal\"),r.getServiceAsync(\"URLParsing\")]).then(e=>{const t=e[0];const o=e[1];const s=o.parseShellHash(c);if(s&&s.semanticObject===\"shell\"&&s.action===\"catalog\"){const e=this.parseOldCatalogParams(c);const o=this.getManifestEntry(\"/sap.ui5/config\");t.toExternal({target:{semanticObject:o.semanticObject,action:o.action}});this.getRouter().navTo(\"catalog\",{filters:JSON.stringify(e)})}})},parseOldCatalogParams:function(e){const t=l.fromURL(e).mParams;const o=Object.create(null);for(const e in t){if(Object.prototype.hasOwnProperty.call(t,e)){const s=t[e][0];o[e]=s.includes(\"/\")?encodeURIComponent(s):s}}return o},destroy:function(){return Promise.all([e.prototype.destroy.apply(this,arguments),this.oCatalogsManager&&this.oCatalogsManager.destroy()])}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/EasyAccess.controller\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Element\",\"sap/ui/core/mvc/Controller\",\"sap/ui/core/mvc/View\",\"sap/base/Log\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/thirdparty/datajs\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/resources\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(e,t,s,r,i,a,o,jQuery,n,l,c,h,u)=>{\"use strict\";return s.extend(\"sap.ushell.components.appfinder.EasyAccess\",{DEFAULT_URL:\"/sap/opu/odata/UI2\",DEFAULT_NUMBER_OF_LEVELS:3,SEARCH_RESULTS_PER_REQUEST:100,onInit:function(){const e=this;this.translationBundle=n.i18n;this.oView=this.getView();const t=this.oView.getModel(\"easyAccessSystemsModel\");const s=t.bindProperty(\"/systemSelected\");s.attachChange(e.adjustUiOnSystemChange.bind(this));this.menuName=this.oView.getViewData().menuName;this.systemId=null;this.easyAccessCache={};this.easyAccessModel=new l;this.easyAccessModel.setSizeLimit(1e3);Promise.all([this.oView.pHierarchyFolders,this.oView.pHierarchyApps]).then(e=>{e[0].setModel(this.easyAccessModel,\"easyAccess\");e[1].setModel(this.easyAccessModel,\"easyAccess\")});if(!h.last(\"/core/spaces/enabled\")){sap.ui.require([\"sap/ushell/components/HomepageManager\"],e=>{const t=this.getView().getModel();if(!t.getProperty(\"/catalogs\")){if(!t.getProperty(\"/groups\")||t.getProperty(\"/groups\").length===0){const t=e.prototype.getInstance();if(t){this.oHomepageManager=t;this.oHomepageManager.loadPersonalizedGroups()}else{i.error(\"The homepage manager was not initialized. Tiles in user and sap menu cannot be added to groups.\")}}}})}const r=this.oView.getModel(\"subHeaderModel\");const a=r.bindProperty(\"/openCloseSplitAppButtonToggled\");a.attachChange(e.handleToggleButtonModelChanged.bind(this));if(this.oView.getViewData().enableSearch){const t=r.bindProperty(\"/search\");t.attachChange(e.handleSearchModelChanged.bind(this))}this.checkIfSystemSelectedAndLoadData()},checkIfSystemSelectedAndLoadData:function(){const e=this.oView.getModel(\"easyAccessSystemsModel\").getProperty(\"/systemSelected\");if(e){this.systemId=e.systemId;this.loadMenuItemsFirstTime(this.oView.getViewData().menuName,e)}},navigateHierarchy:function(e,t){Promise.all([this.oView.pHierarchyFolders,this.oView.pHierarchyApps]).then(s=>{const r=s[0];const i=s[1];r.setBusy(false);const a=this.easyAccessModel.getProperty(e||\"/\");if(typeof a.folders!==\"undefined\"){r.updatePageBindings(e,t);i.getController().updatePageBindings(e);return}r.setBusy(true);this.getMenuItems(this.menuName,this.systemId,a.id,a.level).then(function(e,s){this.easyAccessModel.setProperty(`${e}/folders`,s.folders);this.easyAccessModel.setProperty(`${e}/apps`,s.apps);r.updatePageBindings(e,t);i.getController().updatePageBindings(e);r.setBusy(false)}.bind(this,e),e=>{this.handleGetMenuItemsError(e)})})},handleSearch:function(e){const t=!this.pHierarchyAppsSearchResults;if(t){this.pHierarchyAppsSearchResults=r.create({id:`${this.getView().getId()}hierarchyAppsSearchResults`,viewName:\"module:sap/ushell/components/appfinder/HierarchyAppsView\",height:\"100%\",viewData:{easyAccessSystemsModel:this.oView.getModel(\"easyAccessSystemsModel\"),getMoreSearchResults:this.getMoreSearchResults.bind(this),CatalogsManager:this.getView().getViewData().CatalogsManager}}).then(e=>{this.easyAccessSearchResultsModel=new l;this.easyAccessSearchResultsModel.setSizeLimit(1e4);e.setModel(this.easyAccessSearchResultsModel,\"easyAccess\");e.addStyleClass(\" sapUshellAppsView sapMShellGlobalInnerBackground\");e.addCustomData(new c({key:\"role\",value:\"region\",writeToDom:true}));e.addCustomData(new c({key:\"aria-label\",value:this.oView.oResourceBundle.getText(\"easyAccessTileContainer\"),writeToDom:true}));return e})}this.pHierarchyAppsSearchResults.then(s=>{this.searchResultFrom=0;this.oView.splitApp.getCurrentDetailPage().setBusy(true);this.easyAccessSearchResultsModel.setProperty(\"/apps\",[]);this.easyAccessSearchResultsModel.setProperty(\"/total\",0);this._getSearchResults(e,this.searchResultFrom).then(e=>{u.getServiceAsync(\"BookmarkV2\").then(r=>{e.results.forEach(e=>{r.countBookmarks(e.url).then(t=>{e.bookmarkCount=t})});this.easyAccessSearchResultsModel.setProperty(\"/apps\",e.results);this.easyAccessSearchResultsModel.setProperty(\"/total\",e.count);this.searchResultFrom=e.results.length;if(t){this.oView.splitApp.addDetailPage(s)}s.updateResultSetMessage(parseInt(e.count,10),true);this.oView.splitApp.getCurrentDetailPage().setBusy(false);if(this.oView.splitApp.getCurrentDetailPage()!==s){this.oView.splitApp.toDetail(`${this.getView().getId()}hierarchyAppsSearchResults`)}})},e=>{this.handleGetMenuItemsError(e);this.oView.splitApp.getCurrentDetailPage().setBusy(false)});return s})},getMoreSearchResults:function(){if(this.oView.splitApp.getCurrentDetailPage().setShowMoreResultsBusy){this.oView.splitApp.getCurrentDetailPage().setShowMoreResultsBusy(true)}const e=this.oView.getModel(\"subHeaderModel\");const t=e.getProperty(\"/search/searchTerm\");this._getSearchResults(t,this.searchResultFrom).then(e=>{const t=this.easyAccessSearchResultsModel.getProperty(\"/apps\");const s=t.slice();Array.prototype.push.apply(s,e.results);this.easyAccessSearchResultsModel.setProperty(\"/apps\",s);if(this.oView.splitApp.getCurrentDetailPage().setShowMoreResultsBusy){this.oView.splitApp.getCurrentDetailPage().setShowMoreResultsBusy(false)}this.searchResultFrom=s.length},e=>{this.handleGetMenuItemsError(e);if(this.oView.splitApp.getCurrentDetailPage().setShowMoreResultsBusy){this.oView.splitApp.getCurrentDetailPage().setShowMoreResultsBusy(true)}})},_getSearchResults:function(e,t){const s=new jQuery.Deferred;const r=this._getODataRequestForSearchUrl(this.menuName,this.systemId,e,t);const i={requestUri:r};const a=this._callODataService(i,this.handleSuccessOnReadFilterResults);a.done(e=>{s.resolve(e)});a.fail(e=>{s.reject(e)});return s.promise()},getSystemNameOrId:function(){const e=this.oView.getModel(\"easyAccessSystemsModel\").getProperty(\"/systemSelected\");if(e){return e.name||e.id}return undefined},adjustUiOnSystemChange:function(){const e=this.easyAccessModel.getData();if(this.systemId&&e&&e.id){this.easyAccessCache[this.systemId]=e}const t=this.oView.getModel(\"easyAccessSystemsModel\").getProperty(\"/systemSelected\");if(t){this.systemId=t.systemId;const e=this.easyAccessCache[this.systemId];if(e){this.easyAccessModel.setData(e);this.navigateHierarchy(\"\",false)}else{Promise.all([this.oView.pHierarchyFolders,this.oView.pHierarchyApps]).then(e=>{e[0].setBusy(true);e[1].setBusy(true)});this.loadMenuItemsFirstTime(this.menuName,t)}}},handleToggleButtonModelChanged:function(){const e=this.oView.getModel(\"subHeaderModel\");const t=e.getProperty(\"/openCloseSplitAppButtonVisible\");const s=e.getProperty(\"/openCloseSplitAppButtonToggled\");const r=this.getView().splitApp;if(t){if(s&&!r.isMasterShown()){r.showMaster()}else if(r.isMasterShown()){r.hideMaster()}}},handleSearchModelChanged:function(){const e=this.oView.getModel(\"subHeaderModel\");const s=e.getProperty(\"/activeMenu\");if(this.getView().getId().indexOf(s)===-1){return}const r=e.getProperty(\"/search/searchTerm\");const i=e.getProperty(\"/search/searchMode\");if(i){t.getElementById(\"appFinderSearch\").getCustomData()[0].setValue(`${this.getView().getId()}hierarchyAppsSearchResults`);if(r){this.handleSearch(r)}}else{t.getElementById(\"appFinderSearch\").getCustomData()[0].setValue(\"\");this.oView.splitApp.toDetail(`${this.getView().getId()}hierarchyApps`)}},loadM Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/suite/ui/microchart/ComparisonMicroChartData\",\"sap/suite/ui/microchart/ComparisonMicroChart\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\",\"sap/m/library\"],(e,i,t,o,s,a,n,r)=>{\"use strict\";sap.ui.getCore().loadLibrary(\"sap.suite.ui.microchart\");sap.ui.jsview(\"sap.ushell.components.tiles.indicatorcontribution.ContributionTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.indicatorcontribution.ContributionTile\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");const e=r.Size;const i=this;i.oGenericTileData={};i.oCmprsDataTmpl=new o({title:\"{title}\",value:\"{value}\",color:\"{color}\",displayValue:\"{displayValue}\"});i.oCmprsChrtTmpl=new s({size:e.Responsive,scale:\"{/scale}\",data:{template:i.oCmprsDataTmpl,path:\"/data\"}});i.oNVConfS=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerComp}\",content:i.oCmprsChrtTmpl});i.oGenericTile=new a({subheader:\"{/subheader}\",frameType:\"{/frameType}\",size:\"{/size}\",header:\"{/header}\",tileContent:[i.oNVConfS]});i.oGenericTileModel=new n;i.oGenericTileModel.setData(i.oGenericTileData);i.oGenericTile.setModel(i.oGenericTileModel);return i.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller\", [\"sap/ushell/components/tiles/generic\",\"sap/m/library\"],(e,t)=>{\"use strict\";const i=t.ValueColor;const o=t.LoadState;const r=t.FrameType;const l=e.extend(\"sap.ushell.components.tiles.indicatordeviation.DeviationTile\",{onInit:function(){this.KPI_VALUE_REQUIRED=true},doProcess:function(e,t){const i=this;let l;let s;l=t.targetValue;let a=Number(e);this.setThresholdValues();if(this.oConfig.EVALUATION.SCALING==-2){a*=100}let n=this.isCurrencyMeasure(this.oConfig.EVALUATION.COLUMN_NAME);s=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(a),this.oConfig.EVALUATION.SCALING,this.oConfig.EVALUATION.DECIMAL_PRECISION,n,this.CURRENCY_CODE);this.CALCULATED_KPI_VALUE=Number(e);const u={};const A=this.getThresholdsObjAndColor(t).returnColor;const h={value:Number(e),color:A};u.actualValueLabel=s.toString();u.actual=h;u.thresholds=[];u.thresholds=this.getThresholdsObjAndColor(t).arrObj;const C=this.DEFINITION_DATA.EVALUATION_VALUES;let c;if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){c=Number(l);if(this.oConfig.EVALUATION.SCALING==-2){c*=100}n=this.isCurrencyMeasure(this.oConfig.EVALUATION.COLUMN_NAME);l=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(c,this.oConfig.EVALUATION.SCALING,this.oConfig.EVALUATION.DECIMAL_PRECISION,n,this.CURRENCY_CODE);u.targetValue=Number(c);u.targetValueLabel=l.toString()}else{for(let e=0;e<C.length;e++){if(C[e].TYPE===\"TA\"){c=Number(l);if(this.oConfig.EVALUATION.SCALING==-2){c*=100}n=this.isCurrencyMeasure(this.oConfig.EVALUATION.COLUMN_NAME);l=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(c,this.oConfig.EVALUATION.SCALING,this.oConfig.EVALUATION.DECIMAL_PRECISION,n,this.CURRENCY_CODE);u.targetValue=Number(c);u.targetValueLabel=l.toString()}}}if(this.oConfig.EVALUATION.SCALING==-2){u.scale=\"%\"}this._updateTileModel(u);if(this.DEFINITION_DATA.TILE_PROPERTIES.frameType==r.TwoByOne){i.getView().getViewData().parentController._updateTileModel(this.getTile().getModel().getData());i.getView().getViewData().deferredObj.resolve();sap.ushell.components.tiles.indicatorTileUtils.util.setUnsetCallInProgress(`${i.oConfig.TILE_PROPERTIES.id}defferedRight`,false)}else{this.oKpiTileView.oGenericTile.setState(o.Loaded)}this.setToolTip(A,a,\"DT\");if(!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(this.oConfig)){if(i.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(this.oConfig)){sap.ushell.components.tiles.indicatorTileUtils.util.scheduleFetchDataJob.call(this,this.oTileApi.visible.isVisible())}}},getThresholdsObjAndColor:function(e){try{const t={};t.arrObj=[];t.returnColor=i.Neutral;const o=this.DEFINITION_DATA.EVALUATION.GOAL_TYPE;let r;let l;let s;let a;if(o===\"MI\"){s=Number(e.criticalHighValue)||0;a=Number(e.warningHighValue)||0;if(s&&a){s=window.parseFloat(s);a=window.parseFloat(a);t.arrObj.push({value:s,color:i.Error});t.arrObj.push({value:a,color:i.Critical});if(this.CALCULATED_KPI_VALUE<a){t.returnColor=i.Good}else if(this.CALCULATED_KPI_VALUE<=s){t.returnColor=i.Critical}else{t.returnColor=i.Error}}}else if(o===\"MA\"){l=Number(e.criticalLowValue)||0;r=Number(e.warningLowValue)||0;if(l&&r){l=window.parseFloat(l);r=window.parseFloat(r);t.arrObj.push({value:l,color:i.Error});t.arrObj.push({value:r,color:i.Critical});if(this.CALCULATED_KPI_VALUE<l){t.returnColor=i.Error}else if(this.CALCULATED_KPI_VALUE<=r){t.returnColor=i.Critical}else{t.returnColor=i.Good}}}else{s=Number(e.criticalHighValue)||0;a=Number(e.warningHighValue)||0;l=Number(e.criticalLowValue)||0;r=Number(e.warningLowValue)||0;if(r&&a&&l&&l){s=window.parseFloat(s);a=window.parseFloat(a);r=window.parseFloat(r);l=window.parseFloat(l);t.arrObj.push({value:s,color:i.Error});t.arrObj.push({value:a,color:i.Critical});t.arrObj.push({value:r,color:i.Critical});t.arrObj.push({value:l,color:i.Error});if(this.CALCULATED_KPI_VALUE<l||this.CALCULATED_KPI_VALUE>s){t.returnColor=i.Error}else if(this.CALCULATED_KPI_VALUE>=l&&this.CALCULATED_KPI_VALUE<=r||this.CALCULATED_KPI_VALUE>=a&&this.CALCULATED_KPI_VALUE<=s){t.returnColor=i.Critical}else{t.returnColor=i.Good}}}return t}catch(e){this.logError(e)}},doDummyProcess:function(){const e=this;this.setTextInTile();e._updateTileModel({actual:{value:120,color:i.Good},targetValue:100,thresholds:[{value:0,color:i.Error},{value:50,color:i.Critical},{value:150,color:i.Critical},{value:200,color:i.Error}],showActualValue:true,showTargetValue:true});this.oKpiTileView.oGenericTile.setState(o.Loaded)}});return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatordeviation/DeviationTile.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/m/library\",\"sap/suite/ui/microchart/BulletMicroChartData\",\"sap/suite/ui/microchart/BulletMicroChart\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\"],(e,t,a,i,s,l,o,n)=>{\"use strict\";const r=i.Size;const u=i.LoadState;sap.ui.getCore().loadLibrary(\"sap.suite.ui.microchart\");sap.ui.jsview(\"sap.ushell.components.tiles.indicatordeviation.DeviationTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.indicatordeviation.DeviationTile\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");let e=\"Lorem ipsum\";let t=\"Lorem ipsum\";const a=sap.ushell.components.tiles.indicatorTileUtils.util.getTileTitleSubtitle(this.getViewData().chip);if(a.title&&a.subTitle){e=a.title;t=a.subTitle}const i={subheader:t,header:e,footerNum:\"\",footerComp:\"\",frameType:\"OneByOne\",state:u.Loading,scale:\"\"};const c=new s({value:\"{value}\",color:\"{color}\"});this.oBCTmpl=new l({size:r.Responsive,scale:\"{/scale}\",actual:{value:\"{/actual/value}\",color:\"{/actual/color}\"},targetValue:\"{/targetValue}\",actualValueLabel:\"{/actualValueLabel}\",targetValueLabel:\"{/targetValueLabel}\",thresholds:{template:c,path:\"/thresholds\"},state:\"{/state}\",showActualValue:\"{/showActualValue}\",showTargetValue:\"{/showTargetValue}\"});this.oNVConfS=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:this.oBCTmpl});this.oGenericTile=new o({subheader:\"{/subheader}\",frameType:\"{/frameType}\",size:\"{/size}\",header:\"{/header}\",tileContent:[this.oNVConfS]});const h=new n;h.setData(i);this.oGenericTile.setModel(h);return this.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatornumeric/NumericTile.controller\", [\"sap/ushell/components/tiles/generic\",\"sap/m/library\"],(e,i)=>{\"use strict\";const t=i.DeviationIndicator;const o=i.ValueColor;const s=i.LoadState;const l=i.FrameType;const n=e.extend(\"sap.ushell.components.tiles.indicatornumeric.NumericTile\",{onInit:function(){this.KPI_VALUE_REQUIRED=true},doProcess:function(e,i){const t=this;this.CALCULATED_KPI_VALUE=e;const o=this.getTrendColor(i);const n=this.getTrendIndicator(i.trendValue);let a=\"\";let r=this.CALCULATED_KPI_VALUE;if(this.oConfig.EVALUATION.SCALING==-2){r*=100;this.getView().oNVConfContS.setFormatterValue(false)}const c=this.isCurrencyMeasure(this.oConfig.EVALUATION.COLUMN_NAME);a=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(r),this.oConfig.EVALUATION.SCALING,this.oConfig.EVALUATION.DECIMAL_PRECISION,c,this.CURRENCY_CODE);if(this.oConfig.EVALUATION.SCALING==-2){this._updateTileModel({scale:\"%\"})}this._updateTileModel({value:a.toString(),valueColor:o,indicator:n});if(t.oConfig.TILE_PROPERTIES.frameType==l.OneByOne){this.oKpiTileView.oGenericTile.setState(s.Loaded);this.setToolTip(o,r,\"NT\")}else{t.getView().getViewData().parentController._updateTileModel(this.getTile().getModel().getData());t.getView().getViewData().deferredObj.resolve();sap.ushell.components.tiles.indicatorTileUtils.util.setUnsetCallInProgress(`${t.oConfig.TILE_PROPERTIES.id}defferedLeft`,false)}this.setToolTip(o,r,\"NT\");if(!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(this.oConfig)){if(t.chipCacheTime){sap.ushell.components.tiles.indicatorTileUtils.util.scheduleFetchDataJob.call(this,t.oTileApi.visible.isVisible())}}},doDummyProcess:function(){const e=this;this.setTextInTile();if(!(e.oConfig.BLANKTILE||e.oConfig.TILE_PROPERTIES.blankTile)){e._updateTileModel({value:\"10.34\",scale:\"M\",valueColor:o.Neutral,indicator:t.None})}else{this.oKpiTileView.oNVConfContS.setIcon(\"sap-icon://BusinessSuiteInAppSymbols/icon-multiple-charts\")}this.oKpiTileView.oGenericTile.setState(s.Loaded)}});return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatornumeric/NumericTile.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/m/library\",\"sap/m/NumericContent\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\"],(e,t,i,o,s,n,a)=>{\"use strict\";const l=o.DeviationIndicator;const r=o.ValueColor;const u=o.LoadState;sap.ui.getCore().loadLibrary(\"sap.suite.ui.commons\");sap.ui.jsview(\"sap.ushell.components.tiles.indicatornumeric.NumericTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.indicatornumeric.NumericTile\"},createContent:function(){let e=\"Lorem ipsum\";let t=\"Lorem ipsum\";const i=sap.ushell.components.tiles.indicatorTileUtils.util.getTileTitleSubtitle(this.getViewData().chip);if(i.title&&i.subTitle){e=i.title;t=i.subTitle}const o={subheader:t,header:e,footerNum:\"\",footerComp:\"\",scale:\"\",unit:\"\",value:\"\",size:\"Auto\",frameType:\"OneByOne\",state:u.Loading,valueColor:r.Neutral,indicator:l.None,title:\"\",footer:\"\",description:\"\"};this.oNVConfContS=new s({value:\"{/value}\",scale:\"{/scale}\",unit:\"{/unit}\",indicator:\"{/indicator}\",valueColor:\"{/valueColor}\",size:\"{/size}\",formatterValue:true,truncateValueTo:5,nullifyValue:false});this.oNVConfS=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:this.oNVConfContS});this.oGenericTile=new n({subheader:\"{/subheader}\",frameType:\"{/frameType}\",size:\"{/size}\",header:\"{/header}\",tileContent:[this.oNVConfS]});const c=new a;c.setData(o);this.oGenericTile.setModel(c);return this.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/sbtilecontent\", [\"sap/m/TileContent\",\"sap/m/TileContentRenderer\",\"sap/ui/core/Control\"],(e,t,n)=>{\"use strict\";const i=n.extend(\"numeric.TileContent_Timestamp\",{ontap:function(e){if(this.getParent().getRefreshOption()){e.preventDefault();e.cancelBubble=true;if(e.stopPropagation){e.stopPropagation()}this.getParent().fireRefresh()}},renderer:function(e,t){e.write(\"<div\");e.writeElementData(t);e.addClass(\"sapMTileCntFtrTxt\");if(t.getParent().getRefreshOption()){e.addClass(\"sapMLnk\")}e.writeClasses();e.addStyle(\"position\",\"absolute\");e.addStyle(\"z-index\",\"2\");e.addStyle(e.getConfiguration().getRTL()?\"left\":\"right\",\"auto\");e.writeStyles();e.write(\">\");const n=t.getParent().getTimestamp();if(n){if(!t.getParent().getRefreshOption()){e.writeEscaped(n)}else if(e.getConfiguration().getRTL()){e.writeEscaped(`${n} `);e.writeIcon(\"sap-icon://refresh\",\"sapMCmpTileUnitInner\")}else{e.writeIcon(\"sap-icon://refresh\",\"sapMCmpTileUnitInner\");e.writeEscaped(` ${n}`)}}e.write(\"</div>\")}});return e.extend(\"sap.ushell.components.tiles.sbtilecontent\",{metadata:{properties:{timestamp:{type:\"string\"},refreshOption:{type:\"boolean\"}},events:{refresh:{}}},init:function(){this.addDependent(this._oTimestamp=new i)},getAltText:function(){let t=e.prototype.getAltText.apply(this,arguments);if(this.getTimestamp()){t+=(t===\"\"?\"\":\"\\n\")+this.getTimestamp()}return t},renderer:{_renderFooter:function(e,n){t._renderFooter.apply(this,arguments);e.renderControl(n._oTimestamp)}}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/utils\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Element\",\"sap/ui/core/Locale\",\"sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations\",\"sap/ushell/resources\",\"sap/ui/thirdparty/datajs\",\"sap/ui/core/mvc/View\",\"sap/ui/model/json/JSONModel\",\"sap/ui/core/library\",\"sap/m/library\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/core/IconPool\",\"sap/ui/core/Icon\",\"sap/m/SelectDialog\",\"sap/m/StandardListItem\",\"sap/m/Text\",\"sap/m/TableSelectDialog\",\"sap/m/Column\",\"sap/m/ColumnListItem\",\"sap/ui/core/CustomData\",\"sap/ui/core/Item\",\"sap/ui/core/message/MessageType\",\"sap/m/Label\",\"sap/ui/model/Sorter\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/ui/core/format/NumberFormat\"],(e,t,i,a,n,s,o,l,r,c,p,u,g,d,_,f,b,y,I,m,V,v,w,S,h,jQuery,x,T)=>{\"use strict\";const P=r.ValueState;const D=r.mvc.ViewType;const C=c.ButtonType;const A={};A.isInitial=function(e){return e===\"App Launcher – Static\"||e===\"App Launcher – Dynamic\"||e===\"Target Mapping\"};A.awaitResourceBundle=n.awaitResourceBundle;A.getResourceBundleModel=function(){return n.i18nModel};A.getResourceBundle=function(){return n.i18n};A.getEmptyRowObj=function(e){return{name:\"\",mandatory:false,value:\"\",isRegularExpression:false,defaultValue:\"\",valEnabled:false||!e,defValEnabled:true,editable:e}};A.getEmptyTileActionsRowObj=function(e){const t=A.getResourceBundle();return{menu_title:\"\",target_type:t.getText(\"configuration.tile_actions.table.target_type.url\"),navigation_target:\"\",action:\"\",icon:\"\",isTargetTypeIntent:false,editable:e}};function R(e,t){const i={};const a=A.getResourceBundle();i.menu_title=e.text;i.icon=e.icon;if(e.targetURL.charAt(0)===\"#\"){i.target_type=a.getText(\"configuration.tile_actions.table.target_type.intent\");const t=e.targetURL.split(\"-\");i.navigation_target=t[0].substring(1,t[0].length);i.action=t[1];i.isTargetTypeIntent=true}else{i.target_type=a.getText(\"configuration.tile_actions.table.target_type.url\");i.navigation_target=e.targetURL;i.action=\"\";i.isTargetTypeIntent=false}i.editable=t;return i}A.getTileNavigationActionsRows=function(e,t){let i=[];let a=[];a=this.getTileNavigationActions(e);if(a.length){for(let e=0;e<a.length;e++){i.push(R(a[e],t))}}else{i=[this.getEmptyTileActionsRowObj(t)]}return i};A.getTileNavigationActions=function(e){let t=[];let i=\"\";const a=e.bag.getBag(\"tileNavigationActions\");if(a.getPropertyNames().indexOf(\"tile_navigation_actions\")>=0){t=JSON.parse(a.getProperty(\"tile_navigation_actions\"));for(let e=0;e<t.length;e++){if(t[e].text){if(a.getTextNames().indexOf(`action_tile_${e+1}`)>=0){i=a.getText(`action_tile_${e+1}`)}t[e].text=i}}}return t};function E(e){const t={};t.text=e.menu_title;t.icon=e.icon;if(e.action){t.targetURL=`#${e.navigation_target}-${e.action}`}else{t.targetURL=e.navigation_target}return t}A.tileActionsRows2TileActionsArray=function(e){const t=[];for(let i=0;i<e.length;i++){if(e[i].menu_title){t.push(E(e[i]))}}return t};A.populateTileNavigationActionsBag=function(e,t){e.setProperty(\"tile_navigation_actions\",JSON.stringify(t));for(let i=0;i<t.length;i++){const a=t[i].text;e.setText(`action_tile_${i+1}`,a)}};A.getDefaultFormFactors=function(){return{appDefault:false,manual:{desktop:true,tablet:true,phone:true},defaultParam:true}};A.buildFormFactorsObject=function(e){return{appDefault:e.getProperty(\"/config/appFormFactor\"),manual:{desktop:e.getProperty(\"/config/desktopChecked\"),tablet:e.getProperty(\"/config/tabletChecked\"),phone:e.getProperty(\"/config/phoneChecked\")}}};A.tableHasDuplicateParameterNames=function(e){const t={};for(let i=0;i<e.length;i++){const a=e[i].name;if(a!==\"\"){if(t[a]){return true}t[a]=true}}return false};A.tableHasInvalidSapPrelaunchOperationValue=function(e){for(let t=0;t<e.length;t++){if(e[t].name===\"sap-prelaunch-operations\"){if(a.parseAndValidateOperations(e[t].defaultValue)===null){return false}break}}return true};function k(e){let t=\"\";if(e.mandatory){if(e.isRegularExpression){t=`{${e.name}=${encodeURIComponent(e.value)}}`}else{t=`${e.name}=${encodeURIComponent(e.value)}`}}else{t=`[${e.name}=${encodeURIComponent(e.defaultValue)}]`}return t}A.getMappingSignatureString=function(e,t){let i=\"\";for(let t=0;t<e.length;t++){if(e[t].name){i+=`${k(e[t])}&`}}return t?`${i}*=*`:i.substring(0,i.length-1)};function L(e,t){const i={};if(e.charAt(0)===\"[\"){i.mandatory=false;i.isRegularExpression=false;i.value=\"\";e=e.substring(1,e.length-1);i.name=e.substring(0,e.indexOf(\"=\"));i.defaultValue=decodeURIComponent(e.substring(e.indexOf(\"=\")+1))}else{i.mandatory=true;i.defaultValue=\"\";if(e.charAt(0)===\"{\"){i.isRegularExpression=true;e=e.substring(1,e.length-1)}else{i.isRegularExpression=false}i.name=e.substring(0,e.indexOf(\"=\"));i.value=decodeURIComponent(e.substring(e.indexOf(\"=\")+1))}i.editable=t;if(t){i.valEnabled=i.mandatory;i.defValEnabled=!i.mandatory}else{i.valEnabled=true;i.defValEnabled=true}return i}A.getMappingSignatureTableData=function(e,t){const i=[];const a=e.split(\"&\");for(let e=0;e<a.length;e++){const n=a[e];if(n!==\"*=*\"){i.push(L(a[e],t))}}return i};A.getAllowUnknownParametersValue=function(e){if(e&&e.substring(e.length-3,e.length)===\"*=*\"){return true}return false};A.getMappingSignature=function(e,t){const i=t?\"allowed\":\"ignored\";const a=new RegExp(\"%%UserDefault[.].+%%\");let n=[];const s={parameters:{},additional_parameters:i};e.forEach(e=>{s.parameters[e.name]={required:e.mandatory,rename_to:e.rename_to};if(e.defaultValue){n=a.exec(e.defaultValue);if(n){e.defaultValue=n[0]}s.parameters[e.name].defaultValue={value:e.defaultValue}}if(e.value){n=a.exec(e.value);if(n){e.value=n[0]}s.parameters[e.name].filter={value:e.value};if(e.isRegularExpression){s.parameters[e.name].filter.format=\"regexp\"}}});return s};A.getSignatureTableData=function(e,t){const i=[];let a={};let n={};const s=e.parameters;for(const e in s){n=s[e];a={};a.editable=t;a.name=e;a.mandatory=n.required;if(n.rename_to){a.rename_to=n.rename_to}else{a.rename_to=n.renameTo}if(t){a.valEnabled=a.mandatory;a.defValEnabled=!a.mandatory}else{a.valEnabled=true;a.defValEnabled=true}if(n.filter){a.value=n.filter.value;if(n.filter.format&&n.filter.format===\"regexp\"){a.isRegularExpression=true}}if(n.defaultValue){a.defaultValue=n.defaultValue.value}i.push(a)}return i};A.getTranslatedTitle=function(e){if(e.bag){const t=e.bag.getBag(\"tileProperties\");if(t.getTextNames().indexOf(\"display_title_text\")>=0){return t.getText(\"display_title_text\")}}if(e.title){return e.title.getTitle()}if(e.preview){return e.preview.getTitle()}return\"\"};A.getTranslatedSubtitle=function(e,t){if(e.bag){const t=e.bag.getBag(\"tileProperties\");if(t.getTextNames().indexOf(\"display_subtitle_text\")>=0){return t.getText(\"display_subtitle_text\")}}if(typeof t.display_subtitle_text===\"string\"){return t.display_subtitle_text}if(e.preview&&e.preview.getDescription&&e.preview.getDescription()){return e.preview.getDescription()}return\"\"};A.getTranslatedProperty=function(e,t,i){if(e.bag){const t=e.bag.getBag(\"tileProperties\");if(t.getTextNames().indexOf(i)>=0){return t.getText(i)}}return t[i]};A.getActionConfiguration=function(e,t){const i=e.configuration.getParameterValueAsString(\"tileConfiguration\");const a=JSON.parse(i||\"{}\");let n;if(typeof t===\"undefined\"){t=e.configurationUi.isEnabled()}if(t){n=A.getResourceBundle()}a.semantic_object=a.semantic_object||(t?`[${n.getText(\"configuration.semantic_object\")}]`:\"\");a.semantic_action=a.semantic_action||(t?`[${n.getText(\"configuration.semantic_action\")}]`:\"\");a.navigation_provider=a.navigation_provider||\"\";a.navigation_provider_role=a.navigation_provider_role||\"\";a.navigation_provider_instance=a.navigation_provider_instance||\"\";a.target_application_id=a.target_application_id||\"\";a.target_application_alias=a.target_application_alias||\"\";a.display_info_text=a.display_info_text||\"\";a.editable=true;if(e.configurationUi&&e.configurationUi.isReadOnly){if(e.configurationUi.isReadOnly()){a.editable=false}}return a};A.getViewConfiguration=function(e){const t=e.getViewData();const i=t.chip;const a=A.getAppLauncherConfig(i,true,true);return a};A.getConfigurationUi=function(e,t){let i;let a;let n;let s;let r;const c=e.getViewData();const p=A.getViewConfiguration(e);const u=new l({config:p,tileModel:e.getModel()});return o.create({type:D.XML,viewData:c,viewName:t}).then(t=>{t.setModel(u);i=t.byId(\"navigation_semantic_objectInput\")||t.byId(\"semantic_objectInput\");if(i){i.getModel().setProperty(\"/enabled\",p.navigation_use_semantic_object);i.getModel().setProperty(\"/value\",p.semantic_object||p.navigation_semantic_object)}a=t.byId(\"navigation_provider_roleInput\");if(a){a.getModel().setProperty(\"/value\",p.navigation_provider_role)}n=t.byId(\"navigation_provider_instanceInput\");if(n){n.getModel().setProperty(\"/value\",p.navigation_provider_instance)}s=t.byId(\"target_application_aliasInput\");if(s){s.getModel().setProperty(\"/value\",p.target_application_alias)}r=t.byId(\"targetTypeInput\");if(r){if(!t.getModel().getProperty(\"/config/transaction\")){t.getModel().setProperty(\"/config/transaction\",{})}if(!t.getModel().getProperty(\"/config/web_dynpro\")){t.getModel().setProperty(\"/config/web_dynpro\",{})}if(e.getModel().getProperty(\"/config/navigation_provider\")===\"LPD\"){A.displayLpdCustApplicationTypeFields(t)}else if(e.getModel().getProperty(\"/config/navigation_provider\")===\"WCF\"){r.setSelectedKey(\"WCF\");A.displayWCFApplicationTypeFields(t)}else if(e.getModel().getProperty(\"/config/navigation_provider\")===\"SAPUI5\"||e.getModel().getProperty(\"/config/navigation_provider\")===\"\"){r.setSelectedKey(\"SAPUI5\");A.displaySapui5ApplicationTypeFields(t)}else if(e.getModel().getProperty(\"/config/navigation_provider\")===\"TR\"){A.displayTransactionApplicationTypeFields(t)}else if(e.getModel().getProperty(\"/config/navigation_provider\")===\"WDA\"){A.displayWebDynproApplicationTypeFields(t)}else if(e.getModel().getProperty(\"/config/navigation_provider\")===\"URL\"){A.displayURLApplicationTypeFields(t)}else if(e.getModel().getProperty(\"/config/navigation_provider\")===\"URLT\"){A.displayURLTApplicationTypeFields(t);u.setProperty(\"/config/editable\",false);u.setProperty(\"/config/manualFormFactor\",false)}}return t})};A._updateTilePropertiesTexts=function(e,t){const i=t.getTextNames();const a=e.getModel();i.forEach(e=>{a.setProperty(`/data/${e}`,t.getText(e));a.setProperty(`/config/${e}`,t.getText(e))})};A._updateTileConfiguration=function(e,t){const i=e.getModel();const a=JSON.parse(t);let n;Object.keys(a).forEach(e=>{n=a[e];i.setProperty(`/data/${e}`,n);i.setProperty(`/config/${e}`,n);if(e===\"navigation_target_url\"){i.setProperty(`/nav/${e}`,n)}})};A.aData=[];A.aActionData=[];A.aRoleData=[];A.aAliasData=[];A.objectSelectDoSearch=function(e){const t=e.getParameter(\"value\");if(t!==undefined){e.getParameter(\"itemsBinding\").filter(new p([new p(\"name\",u.Contains,t),new p(\"obj\",u.Contains,t)],false))}};A.actionSelectDoSearch=function(e){const t=e.getParameter(\"value\");if(t!==undefined){e.getParameter(\"itemsBinding\").filter(new p([new p(\"text\",u.Contains,t)],false))}};A.roleSelectDoSearch=function(e){const t=e.getParameter(\"value\");if(t!==undefined){e.getParameter(\"itemsBinding\").filter(new p([new p(\"role\",u.Contains,t),new p(\"instance\",u.Contains,t)],false))}};A.instanceSelectDoSearch=function(e){const t=e.getParameter(\"value\");if(t!==undefined){const i=[];if(t!==\"\"){i.push(new p(\"instance\",u.Contains,t))}const a=e.getSource().getCustomData();const n=a[0].getValue();if(n!==\"\"){i.push(new p(\"role\",u.EQ,n))}if(i.length>0){e.getParameter(\"itemsBinding\").filter(new p(i,true))}}};A.instanceSuggest=function(e,t){const i=[];const a=t.getParameter(\"suggestValue\");if(a!==\"\"){i.push(new p(\"instance\",u.Contains,a))}const n=e.getView();const s=n.byId(\"navigation_provider_roleInput\");const o=s.getValue();if(o!==\"\"){i.push(new p(\"role\",u.EQ,o))}if(i.length>0){t.oSource.getBinding(\"suggestionItems\").filter(new p(i,true))}};A.aliasSuggest=function(e,t){const i=[];const a=t.getParameter(\"suggestValue\");if(a!==\"\"){i.push(new p(\"alias\",u.Contains,a))}const n=e.getView();const s=n.byId(\"navigation_provider_instanceInput\");const o=s.getValue();if(o!==\"\"){i.push(new p(\"instance\",u.EQ,o))}if(i.length>0){t.oSource.getBinding(\"suggestionItems\").filter(new p(i,true))}};A.aliasSelectDoSearch=function(e){const t=[];const i=e.getParameter(\"value\");if(i!==undefined){if(i!==\"\"){t.push(new p(\"alias\",u.Contains,i))}const a=e.getSource().getCustomData();const n=a[0].getValue();t.push(new p(\"instance\",u.EQ,n));e.getParameter(\"itemsBinding\").filter(new p(t,true))}};A.objectSelectUpdateDialog=function(e,t){if(t!==undefined){e.getBinding(\"items\").filter([new p(\"name\",u.Contains,t)])}};A.actionSelectUpdateDialog=function(e,t){if(t!==undefined){e.getBinding(\"items\").filter([new p(\"text\",u.Contains,t)])}};A.roleSelectUpdateDialog=function(e,t){if(t!==undefined){e.getBinding(\"items\").filter([new p(\"role\",u.Contains,t)])}};A.instanceSelectUpdateDialog=function(e,t){const i=[];if(t!==undefined){i.push(new p(\"instance\",u.Contains,t))}const a=e.getCustomData();const n=a[0].getValue();if(n!==\"\"){i.push(new p(\"role\",u.EQ,n))}if(i.length>0){e.getBinding(\"items\").filter(i,true)}};A.aliasSelectUpdateDialog=function(e,t){const i=[];if(t!==undefined){i.push(new p(\"alias\",u.Contains,t))}const a=e.getCustomData();const n=a[0].getValue();if(n!==\"\"){i.push(new p(\"instance\",u.EQ,n))}if(i.length>0){e.getBinding(\"items\").filter(i,true)}};A.sSelectedColor=(jQuery(\".sapMStdTileIconDiv\").css(\"color\")||\"#007cc0\").split(\" \").join(\"\");A.sDeselectedColor=(jQuery(\".sapMLabel:not(.sapFioriDropZoneText )\").css(\"color\")||\"#666666\").split(\" \").join(\"\");A.iconSelect=function(e,t){e.setColor(t?A.sSelectedColor:A.sDeselectedColor);e.setActiveColor(t?A.sDeselectedColor:A.sSelectedColor)};A.onSelectIcon=function(e,t,i,a){const n=e.getView();const s=n.getModel();let o;if(t){o=s.getProperty(\"/config/tile_actions_selected_icon\")}else{o=s.getProperty(\"/config/selected_icon\")}if(o){A.iconSelect(o,false)}o=a.getSource();A.iconSelect(o,true);s.setProperty(\"/config/ok.enabled\",true);if(t){s.setProperty(\"/config/tile_actions_selected_icon\",o)}else{s.setProperty(\"/config/selected_icon\",o)}n.byId(\"selectIconDialog\").setTitle(o.getSrc())};A.onSelectIconClose=function(e){e.byId(\"selectIconDialog\").close()};A.onSelectIconOk=function(e,t){let i=e.getModel().getProperty(\"/config/selected_icon\");if(!t){e.getModel().setProperty(\"/config/display_icon_url\",i.getSrc());e.byId(\"iconInput\").setValueState(P.None)}else{i=e.getModel().getProperty(\"/config/tile_actions_selected_icon\");if(i){t.setValue(i.getSrc());t.setValueState(P.None)}}A.onSelectIconClose(e)};A.iconSelectOnValueHelpRequest=function(e,i,a){const n=e.getView();const s=n.getModel();const o=n.byId(\"icons\");let l=g.getIconCollectionNames();const r=n.byId(\"selectIconDialog\");const c=n.byId(\"ok\");let p;let u;let _;let f;let b=false;o.destroyContent();if(a){u=t.getElementById(i.getParameter(\"id\"));p=u.getValue()}else{p=s.getProperty(\"/config/display_icon_url\")}c.attachEventOnce(\"press\",()=>{A.onSelectIconOk(n,u)});l.sort();l=l.filter(e=>{if(e===\"BusinessSuiteInAppSymbols\"){b=true;return false}return true});if(b){l.push(\"BusinessSuiteInAppSymbols\")}for(let t=0;t<l.length;++t){_=g.getIconNames(l[t]);_.sort();for(let i=0;i<_.length;++i){f=g.getIconURI(_[i],l[t]);o.addContent(new d({height:\"38px\",press:A.onSelectIcon.bind(null,e,a,u),size:\"2rem\",src:f,tooltip:f,width:\"38px\"}))}}const y=o.getContent();s.setProperty(\"/config/ok.enabled\",false);r.bindProperty(\"title\",{model:\"i18n\",path:\"configuration.select_icon\"});for(let e=0;e<y.length;++e){if(y[e].getSrc()===p){if(a){s.setProperty(\"/config/tile_actions_selected_icon\",y[e])}else{s.setProperty(\"/config/selected_icon\",y[e])}A.iconSelect(y[e],true);s.setProperty(\"/config/ok.enabled\",true);r.setTitle(p)}else{A.iconSelect(y[e],false)}}r.open()};A.objectSelectOnValueHelpRequest=function(e,i,a){const n=e.getView();const s=A.getResourceBundle().getText(\"configuration.semantic_object\");let o;const r=new l;let c=new _(\"semantic_object_select_dialog\",{title:s,search:A.objectSelectDoSearch,liveChange:A.objectSelectDoSearch});const p=new f({title:\"{obj}\"});if(a){o=t.getElementById(i.getParameter(\"id\"))}else{o=n.byId(\"semantic_objectInput\")||n.byId(\"navigation_semantic_objectInput\")}const u=o.getValue();c.open(u);r.setData(e.aDefaultObjects.concat(A.aData));c.bindAggregation(\"items\",\"/\",p);c.setModel(r);A.objectSelectUpdateDialog(c,u);c.attachCancel(e=>{o.setValue(u);if(!a){o.fireChange()}c.destroy();c=null});c.attachConfirm(e=>{const t=e.getParameter(\"selectedItem\");if(t){o.setValue(t.getTitle());if(!a){o.fireChange()}}c.destroy();c=null})};A.actionSelectOnValueHelpRequest=function(e,i,a){const n=e.getView();const s=A.getResourceBundle().getText(\"configuration.semantic_action\");let o;const r=new l;let c=new _(\"semantic_action_select_dialog\",{title:s,search:A.actionSelectDoSearch,liveChange:A.actionSelectDoSearch});const p=new f({title:\"{text}\"});if(a){o=t.getElementById(i.getParameter(\"id\"))}else{o=n.byId(\"semantic_actionInput\")||n.byId(\"navigation_semantic_actionInput\")}const u=o.getValue();c.open(u);r.setData(A.aActionData);c.bindAggregation(\"items\",\"/items\",p);c.setModel(r);A.actionSelectUpdateDialog(c,u);c.attachCancel(e=>{o.setValue(u);if(!a){o.fireChange()}c.destroy();c=null});c.attachConfirm(e=>{const t=e.getParameter(\"selectedItem\");if(t){o.setValue(t.getTitle());if(!a){o.fireChange();o.fireLiveChange({newValue:t.getTitle()})}}c.destroy();c=null})};A.roleSelectOnValueHelpRequest=function(e){const t=e.getView();const i=A.getResourceBundle().getText(\"configuration.navigation_provider_role\");const a=new l;let n=new y(\"role_select_dialog\",{title:i,search:A.roleSelectDoSearch,liveChange:A.roleSelectDoSearch,columns:[new I({header:[new b({text:A.getResourceBundle().getText(\"configuration.navigation_provider_role\")})]}),new I({header:[new b({text:A.getResourceBundle().getText(\"configuration.navigation_provider_instance\")})]})]});const s=new m({cells:[new b({text:\"{role}\"}),new b({text:\"{instance}\"})]});const o=t.byId(\"navigation_provider_roleInput\");const r=t.byId(\"navigation_provider_instanceInput\");const c=o.getValue();n.open(c);a.setData(e.aDefaultObjects.concat(A.aRoleData));n.bindAggregation(\"items\",\"/\",s);n.setModel(a);A.roleSelectUpdateDialog(n,c);n.attachCancel(e=>{o.setValue(c);o.fireChange();n.destroy();n=null});n.attachConfirm(e=>{const t=e.getParameter(\"selectedItem\");if(t){o.setValue(t.getCells()[0].getText());r.setValue(t.getCells()[1].getText());o.fireChange();r.fireChange()}n.destroy();n=null})};A.instanceSelectOnValueHelpRequest=function(e){const t=e.getView();const i=A.getResourceBundle().getText(\"configuration.navigation_provider_instance\");const a=new l;let n=new _(\"instance_select_dialog\",{title:i,search:A.instanceSelectDoSearch,liveChange:A.instanceSelectDoSearch});const s=new f({title:\"{instance}\"});const o=t.byId(\"navigation_provider_instanceInput\");const r=o.getValue();const c=t.byId(\"navigation_provider_roleInput\").getValue();n.addCustomData(new V({key:\"role\",value:c}));n.open(r);a.setData(e.aDefaultObjects.concat(A.aRoleData));n.bindAggregation(\"items\",\"/\",s);n.setModel(a);A.instanceSelectUpdateDialog(n,r);n.attachCancel(e=>{o.setValue(r);o.fireChange();n.destroy();n=null});n.attachConfirm(e=>{const t=e.getParameter(\"selectedItem\");if(t){o.setValue(t.getTitle());o.fireChange()}n.destroy();n=null})};A.applicationAliasSelectOnValueHelpRequest=function(e){const t=e.getView();const i=A.getResourceBundle().getText(\"configuration.target_application_alias\");const a=new l;let n=new _(\"alias_select_dialog\",{title:i,search:A.aliasSelectDoSearch,liveChange:A.aliasSelectDoSearch});const s=new f({title:\"{alias}\"});const o=t.byId(\"target_application_aliasInput\");const r=o.getValue();const c=t.byId(\"navigation_provider_instanceInput\").getValue();n.addCustomData(new V({key:\"instance\",value:c}));n.open(r);a.setData(e.aDefaultObjects.concat(A.aAliasData));n.bindAggregation(\"items\",\"/\",s);n.setModel(a);A.aliasSelectUpdateDialog(n,r);n.attachCancel(e=>{o.setValue(r);o.fireChange();n.destroy();n=null});n.attachConfirm(e=>{const t=e.getParameter(\"selectedItem\");if(t){o.setValue(t.getTitle());o.fireChange()}n.destroy();n=null})};A.onTargetTypeChange=function(e){const i=e.getParameter(\"id\");const a=t.getElementById(i).getParent().getCells();const n=e.getSource().getSelectedKey();if(n===\"INT\"){a[3].setEnabled(true);a[2].setShowValueHelp(true);a[2].setValue(\"\")}else{a[2].setShowValueHelp(false);a[2].setValue(\"\");a[3].setEnabled(false);a[3].setValue(\"\")}};A.addTileActionsRow=function(e){const t=e.getModel();const i=t.getProperty(\"/config/tile_actions_rows\");const a=this.getEmptyTileActionsRowObj();i.push(a);t.setProperty(\"/config/tile_actions_rows\",i)};A.deleteTileActionsRow=function(e){const t=e.getModel();const i=t.getProperty(\"/config/tile_actions_rows\");const a=e.byId(\"tileActions\");const n=a.getSelectedIndices();const s=n.sort((e,t)=>t-e).slice();for(let e=0;e<s.length;e++){a.removeSelectionInterval(s[e],s[e]);i.splice(s[e],1)}t.setProperty(\"/config/tile_actions_rows\",i)};A.checkInput=function(e,t){const i=A.getResourceBundle();const a=e.byId(\"iconInput\");const n=e.byId(\"useLpdCheckbox\");const s=e.byId(\"navigation_semantic_objectInput\")||e.byId(\"semantic_objectInput\");const o=e.byId(\"navigation_semantic_actionInput\")||e.byId(\"semantic_actionInput\");let l=P.None;let r=null;const c=String(t.getParameter(\"newValue\")||\"\").trim();switch(t.getSource()){case a:if(c!==\"\"&&c.substring(0,11)!==\"sap-icon://\"){l=P.Error;r=i.getText(\"configuration.display_icon_url.warning\")}break;case n:if(!n.getSelected()){o.setValueState(P.None);s.setValueState(P.None)}break;case s:if(/[-#&? ]/.test(c)){l=P.Error;r=i.getText(\"configuration.semantic_object.error_invalid_chars\")}else if(c===\"\"){l=P.Error}break;case o:if(/[-#&? ]/.test(c)){l=P.Error;r=i.getText(\"configuration.semantic_action.error_invalid_chars\")}else if(c===\"\"){l=P.Error}break;default:break}if(l){t.getSource().setValueState(l);if(r!==null){t.getSource().setValueStateText(r||\"\")}}};A.checkInputOnSaveConfig=function(e){const t=e.byId(\"iconInput\");const i=e.byId(\"navigation_semantic_objectInput\");const a=e.byId(\"navigation_semantic_actionInput\");const n=e.byId(\"useLpdCheckbox\");const s=A.getResourceBundle();let o=false;if(t.getValue()!==\"\"&&!A.isIconURIValid(t.getValue())){t.setValueState(P.Error);t.setValueStateText(s.getText(\"configuration.display_icon_url.warning\"));o=true}if(n.getSelected()&&/[-#&? ]/.test(i.getValue())){i.setValueState(P.Error);i.setValueStateText(s.getText(\"configuration.semantic_object.error_invalid_chars\"));o=true}else if(n.getSelected()&&i.getValue()===\"\"){i.setValueState(P.Error);o=true}if(/[-#&? ]/.test(a.getValue())){a.setValueState(P.Error);a.setValueStateText(s.getText(\"configuration.semantic_action.error_invalid_chars\"));o=true}else if(n.getSelected()&&a.getValue()===\"\"){a.setValueState(P.Error);o=true}return o};A.checkTileActions=function(e){const t=e.getModel().getProperty(\"/config/tile_actions_rows\");const i=A.getResourceBundle();let a=false;for(let e=0;e<t.length;e++){if(!t[e].menu_title&&(t[e].navigation_target||t.length>1)){t[e].valueState=P.Error;a=true}else{t[e].valueState=P.None}if(t[e].icon){if(!A.isIconURIValid(t[e].icon)){t[e].iconValueState=P.Error;t[e].iconValueStateText=i.getText(\"configuration.display_icon_url.warning\");a=true}}}e.getModel().setProperty(\"/config/tile_actions_rows\",t);return a};A.isIconURIValid=function(e){let t=[];let i=\"\";let a=\"\";let n=\"\";t=/sap-icon:\\/\\/(.+)\\//.exec(e);if(t){i=t[1];t=/\\/\\/.+\\/(.+)/.exec(e);if(t){a=t[1]}else{a=\"\"}n=g.getIconURI(a,i);if(n!==e){return false}}else{t=/sap-icon:\\/\\/(.+)/.exec(e);if(t){a=t[1];if(!g.getIconInfo(a)){return false}}else{return false}}return true};A.checkTMInput=function(e,t){const i=A.getResourceBundle();const a=e.byId(\"semantic_objectInput\");const n=e.byId(\"semantic_actionInput\");const s=e.byId(\"target_application_descriptionInput\");const o=e.byId(\"target_application_urlInput\");const l=e.byId(\"target_application_componentInput\");const r=e.byId(\"navigation_provider_roleInput\");const c=e.byId(\"navigation_provider_instanceInput\");const p=e.byId(\"target_application_aliasInput\");const u=e.byId(\"target_application_idInput\");const g=String(t.getParameter(\"newValue\")||\"\").trim();let d=P.None;let _=null;switch(t.getSource()){case a:if(/[-#&? ]/.test(g)){d=P.Error;_=i.getText(\"configuration.semantic_object.error_invalid_chars\")}if(n.getValue()===\"\"){n.setValueState(P.Error)}break;case n:if(/[-#&? ]/.test(g)){d=P.Error;_=i.getText(\"configuration.semantic_action.error_invalid_chars\")}else if(g===\"\"){d=P.Error}break;case s:if(g===\"\"){d=P.Error}break;case o:if(g!==\"\"&&!/^[-~+,;:?%&#=/.\\w]+$/.test(g)){d=P.Error;_=i.getText(\"configuration.target_application.url.error_invalid_chars\")}break;case l:if(g===\"\"){d=P.Error}else if(g.substring(0,17)===\"SAPUI5.Component=\"){d=P.Error;_=i.getText(\"configuration.target_application.component.error_invalid_input\")}break;case r:if(g===\"\"){d=P.Error}else if(!/^[\\w/]+$/.test(g)){d=P.Error;_=i.getText(\"configuration.target_application.role.error_invalid_chars\")}break;case c:if(g===\"\"){d=P.Error}else if(!/^[\\w/]+$/.test(g)){d=P.Error;_=i.getText(\"configuration.target_application.instance.error_invalid_chars\")}break;case p:if(g===\"\"&&u.getValue()===\"\"){d=P.Error;_=i.getText(\"configuration.target_application.alias_id.warning\")}else if(g!==\"\"&&u.getValue()!==\"\"){d=P.Error;_=i.getText(\"configuration.target_application.alias_id.warning\");u.setValueState(d);u.setValueStateText(_)}else{u.setValueState(P.None)}break;case u:if(g===\"\"&&p.getValue()===\"\"){d=P.Error;_=i.getText(\"configuration.target_application.alias_id.warning\")}else if(g!==\"\"&&p.getValue()!==\"\"){d=P.Error;_=i.getText(\"configuration.target_application.alias_id.warning\");p.setValueState(d);p.setValueStateText(_)}else if(g!==\"\"&&!/^[A-Fa-f0-9]+$/.test(g)){d=P.Error;_=i.getText(\"configuration.target_application.alias_id.error_invalid_chars\")}else{p.setValueState(P.None)}break;default:break}if(d){t.getSource().setValueState(d);if(_!==null){t.getSource().setValueStateText(_||\"\")}}};A.checkTMInputOnSaveConfig=function(e){const t=A.getResourceBundle();const i=e.byId(\"semantic_objectInput\");const a=e.byId(\"semantic_actionInput\");const n=e.byId(\"target_application_descriptionInput\");const s=e.byId(\"target_application_urlInput\");const o=e.byId(\"target_application_componentInput\");const l=e.byId(\"navigation_provider_roleInput\");const r=e.byId(\"navigation_provider_instanceInput\");const c=e.byId(\"target_application_aliasInput\");const p=e.byId(\"target_application_idInput\");const u=e.byId(\"targetTypeInput\");const g=e.byId(\"target_transactionInput\");const d=e.byId(\"target_web_dynpro_applicationInput\");const _=e.byId(\"target_wcf_application_idInput\");const f=e.byId(\"desktopCB\");const b=e.byId(\"tabletCB\");const y=e.byId(\"phoneCB\");let I=false;i.setValue(i.getValue().trim());if(/[-#&? ]/.test(i.getValue())){i.setValueState(P.Error);i.setValueStateText(t.getText(\"configuration.semantic_object.error_invalid_chars\"));I=true}a.setValue(a.getValue().trim());if(/[-#&? ]/.test(a.getValue())){a.setValueState(P.Error);a.setValueStateText(t.getText(\"configuration.semantic_action.error_invalid_chars\"));I=true}else if(a.getValue()===\"\"){a.setValueState(P.Error);I=true}const m=e.getModel().getProperty(\"/config/navigation_provider\");let V;if(m===\"SAPUI5\"){if(n.getValue()===\"\"){n.setValueState(P.Error);I=true}if(s.getValue()!==\"\"&&!/^[-~+,;:?%&#=/.\\w]+$/.test(s.getValue())){s.setValueState(P.Error);s.setValueStateText(t.getText(\"configuration.target_application.url.error_invalid_chars\"));I=true}if(o.getValue()===\"\"){o.setValueState(P.Error);I=true}else if(o.getValue().substring(0,17)===\"SAPUI5.Component=\"){o.setValueState(P.Error);o.setValueStateText(t.getText(\"configuration.target_application.component.error_invalid_input\"));I=true}}else if(m===\"LPD\"){if(l.getValue()===\"\"){l.setValueState(P.Error);I=true}if(!/^[\\w]+$/.test(l.getValue())){l.setValueState(P.Error);V=t.getText(\"configuration.target_application.role.error_invalid_chars\");l.setValueStateText(V);I=true}if(r.getValue()===\"\"){r.setValueState(P.Error);I=true}if(!/^[\\w]+$/.test(r.getValue())){r.setValueState(P.Error);V=t.getText(\"configuration.target_application.instance.error_invalid_chars\");r.setValueStateText(V);I=true}if(c.getValue()===\"\"&&p.getValue()===\"\"){V=t.getText(\"configuration.target_application.alias_id.warning\");c.setValueState(P.Error);c.setValueStateText(V);p.setValueState(P.Error);p.setValueStateText(V);I=true}if(c.getValue()!==\"\"&&p.getValue()!==\"\"){V=t.getText(\"configuration.target_application.alias_id.warning\");c.setValueState(P.Error);c.setValueStateText(V);p.setValueState(P.Error);p.setValueStateText(V);I=true}if(p.getValue()!==\"\"&&!/^[A-Fa-f0-9]+$/.test(p.getValue())){p.setValueState(P.Error);p.setValueStateText(t.getText(\"configuration.target_application.alias_id.error_invalid_chars\"));I=true}}else if(m===\"TR\"){if(g.getValue()===\"\"){g.setValueState(P.Error);I=true}}else if(m===\"WDA\"){if(d.getValue()===\"\"){d.setValueState(P.Error);I=true}}else if(m===\"WCF\"){if(_.getValue()===\"\"){_.setValueState(P.Error);I=true}}else if(m===\"URL\"){if(s.getValue()===\"\"){s.setValueState(P.Error);I=true}else if(!/^[-~+,;:?%&#=/.\\w]+$/.test(s.getValue())){s.setValueState(P.Error);s.setValueStateText(t.getText(\"configuration.target_application.url.error_invalid_chars\"));I=true}}else{u.setValueState(P.Error);u.setValueStateText(t.getText(\"configuration.navigation_provider.error_invalid_provider\"));I=true}if(!f.getSelected()&&!b.getSelected()&&!y.getSelected()){V=t.getText(\"configuration.form_factor.warning\");f.setValueState(P.Error);f.setValueStateText(V);b.setValueState(P.Error);b.setValueStateText(V);y.setValueState(P.Error);y.setValueStateText(V);I=true}return I};A.updateTooltipForDisabledProperties=function(e){const t=e.getModel();const i=t.getProperty(\"/config/isLocaleSuitable\");if(!i){const i=A.getResourceBundle();const a=i.getText(\"edit_configuration.original_locale_not_fit_tooltip\",[t.getProperty(\"/config/userLocale\"),t.getProperty(\"/config/orgLocale\")]);e.byId(\"titleInput\").setTooltip(a);e.byId(\"subtitleInput\").setTooltip(a);e.byId(\"keywordsInput\").setTooltip(a);e.byId(\"infoInput\").setTooltip(a)}};A.updateMessageStripForOriginalLanguage=function(e){const t=e.getModel();if(t.getProperty(\"/config/isLocaleSuitable\")===false){const i=A.getResourceBundle().getText(\"edit_configuration.original_locale_not_fit_message\",[t.getProperty(\"/config/orgLocale\").toUpperCase(),t.getProperty(\"/config/userLocale\").toUpperCase()]);const a=e.byId(\"messageStrip\");a.setVisible(true);a.setText(i);a.setType(w.Warning)}};A.createSemanticObjectModel=function(e,t,i){const a=e.getView();const n=\"/sap/opu/odata/UI2/INTEROP/SemanticObjects\";const o=[{obj:\"\",name:\"\"},{obj:\"*\",name:\"*\"}];const r=(i||o).slice(0);const c=new l;c.setSizeLimit(999999);c.setProperty(\"/value\",\"\");c.setProperty(\"/enabled\",true);t.bindAggregation(\"suggestionItems\",\"suggest>/items\",new v({text:\"{suggest>obj}\"}));t.setModel(c,\"suggest\");if(A.aData.length>0){setTimeout(()=>{c.setData({items:r.concat(A.aData)},true)},0);return}s.read({requestUri:n,headers:{Accept:\"application/json\"}},e=>{let t;let i;let a;for(a=0;a<e.results.length;a=a+1){t=e.results[a].id;i=e.results[a].text;A.aData.push({obj:t,name:i||t})}c.setData({items:r.concat(A.aData)},true)},e=>{let t=e&&e.message?e.message:e;if(e.response){t+=` - ${e.response.statusCode} ${e.response.statusText}`}x.error(`Could not fetch data: ${n}: ${t}`,null,a.getViewName()||\"sap.ushell.components.tiles.utils\")})};A.createRoleModel=function(e,t,i){const a=e.getView();const n=\"/sap/opu/odata/UI2/INTEROP/GetLPDInstances\";const o=new l;const r=new l;o.setSizeLimit(999999);r.setSizeLimit(999999);o.setProperty(\"/value\",\"\");o.setProperty(\"/enabled\",true);r.setProperty(\"/value\",\"\");r.setProperty(\"/enabled\",true);const c=new m({cells:[new S({text:\"{role}\"}),new S({text:\"{instance}\"})]});t.bindAggregation(\"suggestionRows\",\"/items\",c);i.bindAggregation(\"suggestionItems\",\"/items\",new v({text:\"{instance}\"}));i.setModel(r);t.setModel(o);t.attachSuggestionItemSelected(e=>{i.setValue(e.getParameter(\"selectedRow\").getCells()[1].getText());i.fireChange()});if(A.aRoleData.length>0){o.setData({items:A.aRoleData},false);r.setData({items:A.aRoleData},false);return}s.read({requestUri:n,headers:{Accept:\"application/json\"}},e=>{let t;let i;let a;for(a=0;a<e.results.length;a=a+1){t=e.results[a].lpdRole;i=e.results[a].instance;A.aRoleData.push({role:t,instance:i})}o.setData({items:A.aRoleData},true);r.setData({items:A.aRoleData},true)},e=>{let t=e&&e.message?e.message:e;if(e.response){t+=` - ${e.response.statusCode} ${e.response.statusText}`}x.error(`Could not fetch data: ${n}: ${t}`,null,a.getViewName()||\"sap.ushell.components.tiles.utils\")})};A.createAliasModel=function(e,t){const i=e.getView();let a=\"/sap/opu/odata/UI2/INTEROP/GetLPDAppAlias\";const n=new l;n.setSizeLimit(999999);n.setProperty(\"/value\",\"\");n.setProperty(\"/enabled\",true);t.bindAggregation(\"suggestionItems\",\"/items\",new v({text:\"{alias}\"}));t.setModel(n);const o=A.getAppLauncherConfig(i.oViewData.chip,true,true);if(o&&o.navigation_provider_role&&o.navigation_provider_instance){if(o.navigation_provider_role!==\"\"&&o.navigation_provider_instance!==\"\"){a=`${a}?role='${o.navigation_provider_role}'&instance='${o.navigation_provider_instance}'`}}s.read({requestUri:a,headers:{Accept:\"application/json\"}},e=>{let t;let i;let a;let s;let o;A.aAliasData=[];for(s=0;s<e.results.length;s=s+1){t=e.results[s].lpdApplicationAlias;i=e.results[s].lpdRole;a=e.results[s].lpdInstance;A.aAliasData.push({role:i,instance:a,alias:t})}o=n.getData();if(o){o.items=A.aAliasData}else{o={items:A.aAliasData}}n.setData(o,false)},e=>{let t=e&&e.message?e.message:e;if(e.response){t+=` - ${e.response.statusCode} ${e.response.statusText}`}x.error(`Could not fetch data: ${a}: ${t}`,null,i.getViewName()||\"sap.ushell.components.tiles.utils\")})};A.updateAliasModel=function(e,t){const i=t.getModel();const a=e.byId(\"navigation_provider_instanceInput\").getValue();const n=e.byId(\"navigation_provider_roleInput\").getValue();const o=`/sap/opu/odata/UI2/INTEROP/GetLPDAppAlias?role='${n}'&instance='${a}'`;s.read({requestUri:o,headers:{Accept:\"application/json\"}},e=>{let t;let a;let n;let s;A.aAliasData=[];for(let i=0;i<e.results.length;i=i+1){t=e.results[i].lpdApplicationAlias;n=e.results[i].lpdRole;s=e.results[i].lpdInstance;A.aAliasData.push({role:n,instance:s,alias:t})}a=i.getData();if(a){a.items=A.aAliasData}else{a={items:A.aAliasData}}i.setData(a,false)},t=>{let i=t&&t.message?t.message:t;if(t.response){i+=` - ${t.response.statusCode} ${t.response.statusText}`}x.error(`Could not fetch data: ${o}: ${i}`,null,e.getViewName()||\"sap.ushell.components.tiles.utils\")})};A.createActionModel=function(e,t){const i=new l;const a=e.getView();i.setData({items:[{text:\"display\"},{text:\"approve\"},{text:\"displayFactSheet\"},{text:\"manage\"},{text:\"create\"},{text:\"monitor\"},{text:\"track\"},{text:\"change\"},{text:\"register\"},{text:\"release\"},{text:\"analyzeKPIDetails\"},{text:\"lookup\"},{text:\"manageLineItems\"}]});A.aActionData=i.getData();const n=A.getAppLauncherConfig(a.oViewData.chip,true,true);const s=n.navigation_semantic_action||n.semantic_action;if(s){if(!i.getData().items.some(e=>e.text===s)){i.getData().items.push({text:s})}}t.bindAggregation(\"suggestionItems\",\"items>/items\",new v({text:\"{items>text}\"}));t.setModel(i,\"items\");t.getBinding(\"suggestionItems\").sort(new h(\"text\",false))};A.createNavigationProviderModel=function(e,t){const i=new l;const a=A.getResourceBundle();const n=[{key:\"SAPUI5\",text:a.getText(\"configuration.target_application.sapui5\")},{key:\"LPD\",text:a.getText(\"configuration.target_application.lpd_cust\")},{key:\"TR\",text:a.getText(\"configuration.target_application.transaction\")},{key:\"WDA\",text:a.getText(\"configuration.target_application.web_dynpro\")},{key:\"URL\",text:a.getText(\"configuration.target_application.url\")}];const s=A.getViewConfiguration(e.getView()).navigation_provider;if(s===\"WCF\"){n.push({key:\"WCF\",text:a.getText(\"configuration.target_application.wcf\")})}else if(s===\"URLT\"){n.push({key:\"URLT\",text:a.getText(\"configuration.target_application.urlt\")})}i.setData({items:n});t.bindItems(\"items>/items\",new v({key:\"{items>key}\",text:\"{items>text}\"}));t.setModel(i,\"items\");t.getBinding(\"items\").sort(new h(\"text\",false))};A.displayApplicationTypeFields=function(e,t){switch(e){case\"LPD\":A.displayLpdCustApplicationTypeFields(t);break;case\"SAPUI5\":A.displaySapui5ApplicationTypeFields(t);break;case\"TR\":A.displayTransactionApplicationTypeFields(t);break;case\"WDA\":A.displayWebDynproApplicationTypeFields(t);break;case\"URL\":A.displayURLApplicationTypeFields(t);break;case\"WCF\":A.displayWCFApplicationTypeFields(t);break;case\"URLT\":A.displayURLTApplicationTypeFields(t);break}};A.displayWCFApplicationTypeFields=function(e){e.byId(\"navigation_provider_role\").setVisible(false);e.byId(\"navigation_provider_roleInput\").setVisible(false);e.byId(\"navigation_provider_instance\").setVisible(false);e.byId(\"navigation_provider_instanceInput\").setVisible(false);e.byId(\"target_application_alias\").setVisible(false);e.byId(\"target_application_aliasInput\").setVisible(false);e.byId(\"target_application_id\").setVisible(false);e.byId(\"target_application_idInput\").setVisible(false);e.byId(\"application_description\").setVisible(true);e.byId(\"target_application_descriptionInput\").setVisible(true);e.byId(\"application_url\").setVisible(false);e.byId(\"target_application_urlInput\").setVisible(false);e.byId(\"application_component\").setVisible(false);e.byId(\"target_application_componentInput\").setVisible(false);e.byId(\"target_transaction\").setVisible(false);e.byId(\"target_transactionInput\").setVisible(false);e.byId(\"target_wcf_application_id\").setVisible(true);e.byId(\"target_wcf_application_idInput\").setVisible(true);e.byId(\"target_web_dynpro_application\").setVisible(false);e.byId(\"target_web_dynpro_applicationInput\").setVisible(false);e.byId(\"target_web_dynpro_configuration\").setVisible(false);e.byId(\"target_web_dynpro_configurationInput\").setVisible(false);e.byId(\"target_system_alias\").setVisible(true);e.byId(\"target_system_aliasInput\").setVisible(true);e.byId(\"urlt_application_component\").setVisible(false);e.byId(\"urlt_application_componentInput\").setVisible(false);e.byId(\"target_urlt_system_alias\").setVisible(false);e.byId(\"target_urlt_system_aliasInput\").setVisible(false);e.byId(\"application_type_deprecated\").setVisible(false)};A.displaySapui5ApplicationTypeFields=function(e){e.byId(\"navigation_provider_role\").setVisible(false);e.byId(\"navigation_provider_roleInput\").setVisible(false);e.byId(\"navigation_provider_instance\").setVisible(false);e.byId(\"navigation_provider_instanceInput\").setVisible(false);e.byId(\"target_application_alias\").setVisible(false);e.byId(\"target_application_aliasInput\").setVisible(false);e.byId(\"target_application_id\").setVisible(false);e.byId(\"target_application_idInput\").setVisible(false);e.byId(\"application_description\").setVisible(true);e.byId(\"target_application_descriptionInput\").setVisible(true);e.byId(\"application_url\").setVisible(true);e.byId(\"target_application_urlInput\").setVisible(true);e.byId(\"application_component\").setVisible(true);e.byId(\"target_application_componentInput\").setVisible(true);e.byId(\"target_transaction\").setVisible(false);e.byId(\"target_transactionInput\").setVisible(false);e.byId(\"target_wcf_application_id\").setVisible(false);e.byId(\"target_wcf_application_idInput\").setVisible(false);e.byId(\"target_web_dynpro_application\").setVisible(false);e.byId(\"target_web_dynpro_applicationInput\").setVisible(false);e.byId(\"target_web_dynpro_configuration\").setVisible(false);e.byId(\"target_web_dynpro_configurationInput\").setVisible(false);e.byId(\"target_system_alias\").setVisible(false);e.byId(\"target_system_aliasInput\").setVisible(false);e.byId(\"urlt_application_component\").setVisible(false);e.byId(\"urlt_application_componentInput\").setVisible(false);e.byId(\"target_urlt_system_alias\").setVisible(false);e.byId(\"target_urlt_system_aliasInput\").setVisible(false);e.byId(\"application_type_deprecated\").setVisible(false)};A.displayLpdCustApplicationTypeFields=function(e){e.byId(\"application_description\").setVisible(false);e.byId(\"target_application_descriptionInput\").setVisible(false);e.byId(\"application_url\").setVisible(false);e.byId(\"target_application_urlInput\").setVisible(false);e.byId(\"application_component\").setVisible(false);e.byId(\"target_application_componentInput\").setVisible(false);e.byId(\"navigation_provider_role\").setVisible(true);e.byId(\"navigation_provider_roleInput\").setVisible(true);e.byId(\"navigation_provider_instance\").setVisible(true);e.byId(\"navigation_provider_instanceInput\").setVisible(true);e.byId(\"target_application_alias\").setVisible(true);e.byId(\"target_application_aliasInput\").setVisible(true);e.byId(\"target_application_id\").setVisible(true);e.byId(\"target_application_idInput\").setVisible(true);e.byId(\"target_transaction\").setVisible(false);e.byId(\"target_transactionInput\").setVisible(false);e.byId(\"target_wcf_application_id\").setVisible(false);e.byId(\"target_wcf_application_idInput\").setVisible(false);e.byId(\"target_web_dynpro_application\").setVisible(false);e.byId(\"target_web_dynpro_applicationInput\").setVisible(false);e.byId(\"target_web_dynpro_configuration\").setVisible(false);e.byId(\"target_web_dynpro_configurationInput\").setVisible(false);e.byId(\"target_system_alias\").setVisible(false);e.byId(\"target_system_aliasInput\").setVisible(false);e.byId(\"urlt_application_component\").setVisible(false);e.byId(\"urlt_application_componentInput\").setVisible(false);e.byId(\"target_urlt_system_alias\").setVisible(false);e.byId(\"target_urlt_system_aliasInput\").setVisible(false);e.byId(\"application_type_deprecated\").setVisible(true)};A.displayTransactionApplicationTypeFields=function(e){e.byId(\"application_description\").setVisible(true);e.byId(\"target_application_descriptionInput\").setVisible(true);e.byId(\"application_url\").setVisible(false);e.byId(\"target_application_urlInput\").setVisible(false);e.byId(\"application_component\").setVisible(false);e.byId(\"target_application_componentInput\").setVisible(false);e.byId(\"navigation_provider_role\").setVisible(false);e.byId(\"navigation_provider_roleInput\").setVisible(false);e.byId(\"navigation_provider_instance\").setVisible(false);e.byId(\"navigation_provider_instanceInput\").setVisible(false);e.byId(\"target_application_alias\").setVisible(false);e.byId(\"target_application_aliasInput\").setVisible(false);e.byId(\"target_application_id\").setVisible(false);e.byId(\"target_application_idInput\").setVisible(false);e.byId(\"target_transaction\").setVisible(true);e.byId(\"target_transactionInput\").setVisible(true);e.byId(\"target_wcf_application_id\").setVisible(false);e.byId(\"target_wcf_application_idInput\").setVisible(false);e.byId(\"target_web_dynpro_application\").setVisible(false);e.byId(\"target_web_dynpro_applicationInput\").setVisible(false);e.byId(\"target_web_dynpro_configuration\").setVisible(false);e.byId(\"target_web_dynpro_configurationInput\").setVisible(false);e.byId(\"target_system_alias\").setVisible(true);e.byId(\"target_system_aliasInput\").setVisible(true);e.byId(\"urlt_application_component\").setVisible(false);e.byId(\"urlt_application_componentInput\").setVisible(false);e.byId(\"target_urlt_system_alias\").setVisible(false);e.byId(\"target_urlt_system_aliasInput\").setVisible(false);e.byId(\"application_type_deprecated\").setVisible(false)};A.displayWebDynproApplicationTypeFields=function(e){e.byId(\"application_description\").setVisible(true);e.byId(\"target_application_descriptionInput\").setVisible(true);e.byId(\"application_url\").setVisible(false);e.byId(\"target_application_urlInput\").setVisible(false);e.byId(\"application_component\").setVisible(false);e.byId(\"target_application_componentInput\").setVisible(false);e.byId(\"navigation_provider_role\").setVisible(false);e.byId(\"navigation_provider_roleInput\").setVisible(false);e.byId(\"navigation_provider_instance\").setVisible(false);e.byId(\"navigation_provider_instanceInput\").setVisible(false);e.byId(\"target_application_alias\").setVisible(false);e.byId(\"target_application_aliasInput\").setVisible(false);e.byId(\"target_application_id\").setVisible(false);e.byId(\"target_application_idInput\").setVisible(false);e.byId(\"target_transaction\").setVisible(false);e.byId(\"target_transactionInput\").setVisible(false);e.byId(\"target_wcf_application_id\").setVisible(false);e.byId(\"target_wcf_application_idInput\").setVisible(false);e.byId(\"target_web_dynpro_application\").setVisible(true);e.byId(\"target_web_dynpro_applicationInput\").setVisible(true);e.byId(\"target_web_dynpro_configuration\").setVisible(true);e.byId(\"target_web_dynpro_configurationInput\").setVisible(true);e.byId(\"target_system_alias\").setVisible(true);e.byId(\"target_system_aliasInput\").setVisible(true);e.byId(\"urlt_application_component\").setVisible(false);e.byId(\"urlt_application_componentInput\").setVisible(false);e.byId(\"target_urlt_system_alias\").setVisible(false);e.byId(\"target_urlt_system_aliasInput\").setVisible(false);e.byId(\"application_type_deprecated\").setVisible(false)};A.displayURLApplicationTypeFields=function(e){e.byId(\"navigation_provider_role\").setVisible(false);e.byId(\"navigation_provider_roleInput\").setVisible(false);e.byId(\"navigation_provider_instance\").setVisible(false);e.byId(\"navigation_provider_instanceInput\").setVisible(false);e.byId(\"target_application_alias\").setVisible(false);e.byId(\"target_application_aliasInput\").setVisible(false);e.byId(\"target_application_id\").setVisible(false);e.byId(\"target_application_idInput\").setVisible(false);e.byId(\"application_description\").setVisible(true);e.byId(\"target_application_descriptionInput\").setVisible(true);e.byId(\"application_url\").setVisible(true);e.byId(\"target_application_urlInput\").setVisible(true);e.byId(\"application_component\").setVisible(false);e.byId(\"target_application_componentInput\").setVisible(false);e.byId(\"target_transaction\").setVisible(false);e.byId(\"target_transactionInput\").setVisible(false);e.byId(\"target_wcf_application_id\").setVisible(false);e.byId(\"target_wcf_application_idInput\").setVisible(false);e.byId(\"target_web_dynpro_application\").setVisible(false);e.byId(\"target_web_dynpro_applicationInput\").setVisible(false);e.byId(\"target_web_dynpro_configuration\").setVisible(false);e.byId(\"target_web_dynpro_configurationInput\").setVisible(false);e.byId(\"target_system_alias\").setVisible(true);e.byId(\"target_system_aliasInput\").setVisible(true);e.byId(\"urlt_application_component\").setVisible(false);e.byId(\"urlt_application_componentInput\").setVisible(false);e.byId(\"target_urlt_system_alias\").setVisible(false);e.byId(\"target_urlt_system_aliasInput\").setVisible(false);e.byId(\"application_type_deprecated\").setVisible(false)};A.displayURLTApplicationTypeFields=function(e){e.byId(\"navigation_provider_role\").setVisible(false);e.byId(\"navigation_provider_roleInput\").setVisible(false);e.byId(\"navigation_provider_instance\").setVisible(false);e.byId(\"navigation_provider_instanceInput\").setVisible(false);e.byId(\"target_application_alias\").setVisible(false);e.byId(\"target_application_aliasInput\").setVisible(false);e.byId(\"target_application_id\").setVisible(false);e.byId(\"target_application_idInput\").setVisible(false);e.byId(\"application_description\").setVisible(true);e.byId(\"target_application_descriptionInput\").setVisible(true);e.byId(\"application_url\").setVisible(false);e.byId(\"target_application_urlInput\").setVisible(false);e.byId(\"application_component\").setVisible(false);e.byId(\"target_application_componentInput\").setVisible(false);e.byId(\"target_transaction\").setVisible(false);e.byId(\"target_transactionInput\").setVisible(false);e.byId(\"target_wcf_application_id\").setVisible(false);e.byId(\"target_wcf_application_idInput\").setVisible(false);e.byId(\"target_web_dynpro_application\").setVisible(false);e.byId(\"target_web_dynpro_applicationInput\").setVisible(false);e.byId(\"target_web_dynpro_configuration\").setVisible(false);e.byId(\"target_web_dynpro_configurationInput\").setVisible(false);e.byId(\"target_system_alias\").setVisible(false);e.byId(\"target_system_aliasInput\").setVisible(false);e.byId(\"urlt_application_component\").setVisible(true);e.byId(\"urlt_application_componentInput\").setVisible(true);e.byId(\"target_urlt_system_alias\").setVisible(true);e.byId(\"target_urlt_system_aliasInput\").setVisible(true);e.byId(\"application_type_deprecated\").setVisible(false)};A.getAppLauncherConfig=function(t,a,n){let s;const o=t.configuration.getParameterValueAsStr Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/visualizationOrganizer/Component\", [\"sap/base/Log\",\"sap/m/library\",\"sap/m/MessageBox\",\"sap/m/GroupHeaderListItem\",\"sap/ui/core/Element\",\"sap/ui/core/UIComponent\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/library\",\"sap/ushell/resources\"],(e,t,i,n,s,o,a,r,l,c,g,u,d)=>{\"use strict\";const h=t.ButtonType;const p=u.ContentNodeType;return o.extend(\"sap.ushell.components.visualizationOrganizer.Component\",{metadata:{version:\"1.139.0\",library:\"sap.ushell\",dependencies:{libs:[\"sap.m\"]},properties:{pressed:{type:\"boolean\",group:\"Misc\",defaultValue:false}}},init:function(){o.prototype.init.apply(this,arguments);this.aPersonalizablePages=[];this.mVizIdInPages=new Map;this.stVizIdInSection=new Set},requestData:function(){const e=!c.last(\"/core/shell/enablePersonalization\")&&c.last(\"/core/spaces/myHome/enabled\");const t=c.last(\"/core/spaces/myHome/myHomePageId\");return g.getServiceAsync(\"CommonDataModel\").then(e=>e.getAllPages()).then(i=>{if(e){i=i.filter(e=>e.identification.id===t)}this.aPersonalizablePages=i.map(e=>({id:e.identification.id,title:e.identification.title}));this._fillVizIdMaps(i);return this.aPersonalizablePages})},_fillVizIdMaps:function(e){this.mVizIdInPages=new Map;e.forEach(e=>{Object.keys(e.payload.sections).forEach(t=>{Object.keys(e.payload.sections[t].viz).forEach(i=>{const n=e.payload.sections[t].viz[i].vizId;if(this.mVizIdInPages.has(n)){this.mVizIdInPages.get(n).add(e.identification.id)}else{this.mVizIdInPages.set(n,new Set([e.identification.id]))}})})})},isVizIdPresent:function(e,t){if(t){return this.stVizIdInSection.has(e)}const i=this.mVizIdInPages.get(e);return!!(i&&i.size)},formatPinButtonIcon:function(e,t){return this.isVizIdPresent(decodeURIComponent(e),t)?\"sap-icon://accept\":\"sap-icon://add\"},formatPinButtonType:function(e,t){return this.isVizIdPresent(decodeURIComponent(e),t)?h.Emphasized:h.Default},formatPinButtonTooltip:function(e,t){const i=this.isVizIdPresent(decodeURIComponent(e),!!t);if(!t&&i){return d.i18n.getText(\"EasyAccessMenu_PinButton_Toggled_Tooltip\")}if(!t&&!i){return d.i18n.getText(\"EasyAccessMenu_PinButton_UnToggled_Tooltip\")}if(t.sectionID&&i){return d.i18n.getText(\"VisualizationOrganizer.Button.Tooltip.RemoveFromSection\")}if(t.sectionID&&!i){return d.i18n.getText(\"VisualizationOrganizer.Button.Tooltip.AddToSection\")}if(!t.sectionID&&i){return d.i18n.getText(\"VisualizationOrganizer.Button.Tooltip.RemoveFromPage\",[t.pageTitle])}return d.i18n.getText(\"VisualizationOrganizer.Button.Tooltip.AddToPage\",[t.pageTitle])},onTilePinButtonClick:function(e,t){const i=e.getSource();const n=i.getBindingContext().getProperty();if(i.getBusy()){return Promise.resolve()}if(t){i.setBusy(true);return this._applyOrganizationChangeToSection(i,n,t).then(()=>{i.setBusy(false)})}if(this.aPersonalizablePages.length===1){i.setBusy(true);return this._applyChangeToPage(i,n,this.aPersonalizablePages[0]).then(()=>{i.setBusy(false)})}return this.toggle(i,n)},open:function(e,t){let i=s.getElementById(\"sapUshellVisualizationOrganizerPopover\");let n=Promise.resolve();if(!i){n=new Promise((e,t)=>{sap.ui.require([\"sap/ui/core/Fragment\"],i=>{i.load({name:\"sap.ushell.components.visualizationOrganizer.VisualizationOrganizerPopover\",type:\"XML\",controller:this}).then(e).catch(t)})}).then(e=>{i=e;i.setModel(new l({pages:[],searchTerm:\"\"}));i.setModel(d.i18nModel,\"i18n\")})}return n.then(()=>{this.oOpenBy=e;this.sVisualizationId=decodeURIComponent(t.id);this.sVisualizationTitle=t.title;this.oVizInfo=t;this.fnResetPopup=this._resetPopup.bind(this);i.attachAfterClose(this.fnResetPopup);return Promise.all([g.getServiceAsync(\"Menu\"),g.getServiceAsync(\"Pages\")]).then(e=>{let i;const n=e[0];const s=e[1];if(t.isBookmark){i=s._findBookmarks({url:t.url}).then(e=>{const t=e.map(e=>e.pageId);return Promise.resolve(new Set(t))})}else{i=this.mVizIdInPages.get(this.sVisualizationId)}return Promise.all([n.getContentNodes([p.Space,p.Page]),i])}).then(t=>{let n=t[0];const s=t[1];const o=!c.last(\"/core/shell/enablePersonalization\")&&c.last(\"/core/spaces/myHome/enabled\");const a=c.last(\"/core/spaces/myHome/myHomeSpaceId\");const r=[];n=this._filterPersonalizableContentNodes(n);n.forEach(e=>{if(o&&e.id!==a){return}e.children.forEach(t=>{if(!this._isPersonalizablePage(t.id)){return}r.push({id:t.id,title:t.label,space:e.label,spaceId:e.id,selected:s&&s.has(t.id)})})});const l=i.getModel();l.setProperty(\"/pages\",r);l.setProperty(\"/pinnedPages\",s);this._updatePagesList();i.openBy(e)})})},_filterPersonalizableContentNodes:function(e){if(!Array.isArray(e)){return[]}return e.reduce((e,t)=>{t.children=this._filterPersonalizableContentNodes(t.children);if(t.type===p.HomepageGroup||t.type===p.Space||t.type===p.Page&&t.isContainer){e.push(t)}return e},[])},cancel:function(){const e=s.getElementById(\"sapUshellVisualizationOrganizerPopover\");const t=this._retrieveChangedPageIds();if(e&&t.deleteFromPageIds.length===0&&t.addToPageIds.length===0){e.close()}else{i.show(d.i18n.getText(\"VisualizationOrganizer.MessageBox.Description\"),{id:\"sapUshellVisualizationOrganizerDiscardDialog\",title:d.i18n.getText(\"VisualizationOrganizer.MessageBox.Title\"),actions:[d.i18n.getText(\"VisualizationOrganizer.MessageBox.ActionDiscard\"),i.Action.CANCEL],emphasizedAction:d.i18n.getText(\"VisualizationOrganizer.MessageBox.ActionDiscard\"),onClose:function(t){if(t===d.i18n.getText(\"VisualizationOrganizer.MessageBox.ActionDiscard\")){e.close()}}})}},toggle:function(e,t){const i=s.getElementById(\"sapUshellVisualizationOrganizerPopover\");if(i&&i.isOpen()&&i._oOpenBy&&i._oOpenBy.getId()===e.getId()){this.cancel();return Promise.resolve()}return this.open(e,t)},_applyOrganizationChangeToSection:function(e,t,i){return g.getServiceAsync(\"Pages\").then(n=>{let s;const o=decodeURIComponent(t.id);const a=t.title;const r=i.pageID;const l=i.sectionID;const c=this._getTextMsgSectionContext(i,o,a);if(this.stVizIdInSection.has(o)){s=n.findVisualization(r,l,o).then(e=>{if(e.length===0){return Promise.resolve()}let t;const i=n.getPageIndex(r);const s=e.sort((e,t)=>t.sectionIndex-e.sectionIndex);s.forEach(e=>{e.vizIndexes.sort((e,t)=>t-e)});s.forEach(e=>{const s=e.sectionIndex;e.vizIndexes.forEach(e=>{if(!t){t=n.deleteVisualization(i,s,e)}else{t=t.then(()=>n.deleteVisualization(i,s,e))}})});return t}).then(()=>{this.stVizIdInSection.delete(o)})}else{s=n.addVisualization(r,l,o).then(()=>{this.stVizIdInSection.add(o)})}return s.then(()=>{e.getBinding(\"icon\")?.refresh(true);e.getBinding(\"type\")?.refresh(true);e.getBinding(\"tooltip\")?.refresh(true);sap.ui.require([\"sap/m/MessageToast\"],e=>{e.show(c,{offset:\"0 -50\"})})})})},_getTextMsgSectionContext:function(e,t,i){const n=e.sectionID;const s=e.sectionTitle;const o=e.pageTitle;if(n&&this.stVizIdInSection.has(t)){return d.i18n.getText(\"VisualizationOrganizer.MessageToastSectionContextRemove\",[i||t,s,o])}if(n&&!this.stVizIdInSection.has(t)){return d.i18n.getText(\"VisualizationOrganizer.MessageToastSectionContextAdd\",[i||t,s,o])}if(!n&&this.stVizIdInSection.has(t)){return d.i18n.getText(\"VisualizationOrganizer.MessageToastPageRemove\",[i||t,o])}if(!n&&!this.stVizIdInSection.has(t)){return d.i18n.getText(\"VisualizationOrganizer.MessageToastPageAdd\",[i||t,o])}},_organizeVisualizations:function(){const e=this._retrieveChangedPageIds();if(this.oVizInfo.isBookmark){return this._applyBookmarkOrganizationChange(e,true)}return this._applyOrganizationChange(e,true)},_applyOrganizationChange:function(e,t){const i=e.addToPageIds.length+e.deleteFromPageIds.length;if(!i){return Promise.resolve()}const n=this.sVisualizationId;const s=this.oOpenBy;const o=new Set;let a;let r=g.getServiceAsync(\"Pages\").then(e=>{a=e});e.deleteFromPageIds.forEach(e=>{if(!o.has(e)){o.add(e);r=r.then(()=>a.findVisualization(e,null,n).then(e=>{const t=[];for(let i=e.length-1;i>=0;i--){const n=e[i];const s=a.getPageIndex(n.pageId);for(let e=n.vizIndexes.length-1;e>=0;e--){const i=n.vizIndexes[e];t.push(a.deleteVisualization(s,n.sectionIndex,i))}}return Promise.all(t)}))}this.mVizIdInPages.get(n).delete(e)});e.addToPageIds.forEach(e=>{r=r.then(()=>a.addVisualization(e,null,n));if(this.mVizIdInPages.has(n)){this.mVizIdInPages.get(n).add(e)}else{this.mVizIdInPages.set(n,new Set([e]))}});return r.then(()=>{if(s){s.getBinding(\"icon\")?.refresh(true);s.getBinding(\"type\")?.refresh(true);s.getBinding(\"tooltip\")?.refresh(true)}if(t){sap.ui.require([\"sap/m/MessageToast\"],e=>{e.show(d.i18n.getText(\"VisualizationOrganizer.MessageToast\"))})}})},_resetPopup:function(e){const t=s.getElementById(\"sapUshellVisualizationOrganizerPopover\");const i=s.getElementById(\"sapUshellVisualizationOrganizerSpacesList\");const n=s.getElementById(\"sapUshellVisualizationOrganizerSearch\");const o=s.getElementById(\"sapUshellVisualizationOrganizerSelectedPages\");t.detachAfterClose(this.fnResetPopup);n.setValue(\"\");o.setType(h.Default);i.getBinding(\"items\").filter(null);i.removeSelections();delete this.fnResetPopup;delete this.sVisualizationId;delete this.sVisualizationTitle},onSelectionChange:function(e){const t=e.getParameter(\"listItem\");const i=e.getParameter(\"selected\");this._changeSelectionForAllPagesWithTheSamePageId(t,i)},_changeSelectionForAllPagesWithTheSamePageId:function(e,t){const i=e.getModel();const n=e.getBindingContext();const s=n.getProperty(\"id\");const o=t!==undefined?t:!n.getProperty(\"selected\");const a=i.getProperty(\"/pages\");for(let e=0;e<a.length;e++){const t=a[e];if(t.id===s){t.selected=o}}i.setProperty(\"/pages\",a)},_onSearch:function(e){const t=s.getElementById(\"sapUshellVisualizationOrganizerSelectedPages\");let i=this.getPressed();if(e.sId===\"press\"){i=!i;this.setPressed(i);t.setPressed(i)}this._updatePagesList()},_updatePagesList:function(){const e=s.getElementById(\"sapUshellVisualizationOrganizerSpacesList\");const t=s.getElementById(\"sapUshellVisualizationOrganizerSearch\");const i=e.getBinding(\"items\");const n=t.getValue();const o=this.getPressed();if(o){i.filter(new a({filters:[new a({filters:[new a({path:\"title\",operator:r.Contains,value1:n}),new a({path:\"selected\",operator:r.EQ,value1:o})],and:true}),new a({filters:[new a({path:\"space\",operator:r.Contains,value1:n}),new a({path:\"selected\",operator:r.EQ,value1:o})],and:true})],and:false}))}else{i.filter(new a({filters:[new a({path:\"title\",operator:r.Contains,value1:n}),new a({path:\"space\",operator:r.Contains,value1:n})],and:false}))}if(i.getLength()===0){e.setNoDataText(d.i18n.getText(n?\"VisualizationOrganizer.PagesList.NoResultsText\":\"VisualizationOrganizer.PagesList.NoDataText\"))}},loadSectionContext:function(t){this.stVizIdInSection.clear();if(!t||!t.pageID){return Promise.resolve(null)}return g.getServiceAsync(\"Pages\").then(i=>{const n=decodeURIComponent(t.pageID);const s=t.sectionID?decodeURIComponent(t.sectionID):\"\";return i.loadPage(n).then(e=>{const t=i.getModel().getProperty(e);const n=this._createSectionContext(t,s);return n}).catch(()=>{e.warning(`${n} cannot be loaded. Please, check the id of the page.`);return Promise.resolve(null)})})},_createSectionContext:function(e,t){const i=e.sections;let n;if(t){n=i.find(e=>e.id===t);this._initVizIdsInSection(n);return{pageID:e.id,sectionID:t,pageTitle:e.title,sectionTitle:n.title}}i.forEach(e=>{this._initVizIdsInSection(e)});return{pageID:e.id,sectionID:t,pageTitle:e.title}},_initVizIdsInSection:function(e){e.visualizations.forEach(e=>{this.stVizIdInSection.add(e.vizId)})},getPersonalizablePages:function(){return this.aPersonalizablePages},_isPersonalizablePage:function(e){const t=this.aPersonalizablePages.findIndex(t=>t.id===e);return t>-1},_retrieveChangedPageIds:function(){const e=s.getElementById(\"sapUshellVisualizationOrganizerSpacesList\");const t=s.getElementById(\"sapUshellVisualizationOrganizerSearch\");const i=e.getModel();const n=i.getProperty(\"/pinnedPages\")||new Set;e.getBinding(\"items\").filter(null);const o=e.getItems().filter(e=>e.isA(\"sap.m.StandardListItem\"));t.fireSearch();const a={};const r=[];const l=[];o.forEach(e=>{const t=e.getBindingContext().getProperty(\"id\");if(!a[t]){a[t]=true;if(e.getSelected()&&!n.has(t)){r.push(t)}else if(!e.getSelected()&&n.has(t)){l.push(t)}}});return{addToPageIds:r,deleteFromPageIds:l}},okay:function(){const t=s.getElementById(\"sapUshellVisualizationOrganizerPopover\");if(t.getBusy()){return}t.setBusy(true);this._organizeVisualizations().then(()=>{t.setBusy(false);t.close()}).catch(t=>{e.error(\"Could not save the selected pages on the VisualizationOrganizerPopover\",t)})},onHierarchyAppsPinButtonClick:function(e,t){const i=e.getSource();const n=i.getParent().getBinding(\"title\").getContext().getObject();if(i.getBusy()){return Promise.resolve(false)}n.isBookmark=true;n.title=n.text;if(t){i.setBusy(true);return this._applyBookmarkTileChangeToSection(n,t).then(()=>{i.setBusy(false);return Promise.resolve(true)})}if(this.aPersonalizablePages.length===1){i.setBusy(true);return this._applyChangeToPage(i,n,this.aPersonalizablePages[0]).then(()=>{i.setBusy(false);return Promise.resolve(true)})}return new Promise(e=>{this.toggle(i,n).then(()=>{const t=s.getElementById(\"sapUshellVisualizationOrganizerPopover\");if(t&&t.isOpen()){t.attachEventOnce(\"afterClose\",()=>{e(true)})}else{e(false)}})})},_applyBookmarkOrganizationChange:function(e,t){const i=e.addToPageIds.length+e.deleteFromPageIds.length;if(!i){return Promise.resolve()}const n=this.oVizInfo;const s=new Set;let o;let a;let r=Promise.all([g.getServiceAsync(\"BookmarkV2\"),g.getServiceAsync(\"Pages\")]).then(e=>{o=e[0];a=e[1];return Promise.resolve()});e.deleteFromPageIds.forEach(e=>{if(!s.has(e)){s.add(e);r=r.then(()=>a.deleteBookmarks({url:n.url},e))}});e.addToPageIds.forEach(e=>{r=r.then(()=>{const t={url:n.url,title:n.text,subtitle:n.subtitle,icon:n.icon};const i={type:u.ContentNodeType.Page,id:e,isContainer:true};return o.addBookmark(t,i)})});return r.then(()=>{if(t){sap.ui.require([\"sap/m/MessageToast\"],e=>{e.show(d.i18n.getText(\"VisualizationOrganizer.MessageToast\"))})}})},_applyBookmarkTileChangeToSection:function(e,t){return g.getServiceAsync(\"Pages\").then(i=>{let n;let s;const o=e.url;const a=e.title;const r=t.pageID;const l=t.sectionID;if(e.bookmarkCount>0){s=d.i18n.getText(\"VisualizationOrganizer.MessageToastSectionContextRemove\",[a,t.sectionTitle,t.pageTitle]);n=i.deleteBookmarks({url:o},r,l)}else{const c={url:o,title:e.text,subtitle:e.subtitle,icon:e.icon};s=d.i18n.getText(\"VisualizationOrganizer.MessageToastSectionContextAdd\",[a,t.sectionTitle,t.pageTitle]);n=i.addBookmarkToPage(r,c,l)}return n.then(()=>{sap.ui.require([\"sap/m/MessageToast\"],e=>{e.show(s,{offset:\"0 -50\"})})})})},updateBookmarkCount:function(e,t){return g.getServiceAsync(\"Pages\").then(i=>{const n=e.map(e=>i._findBookmarks({url:e.url}).then(i=>{if(t){i=i.filter(e=>t.pageID===e.pageId&&t.sectionID===e.sectionId)}e.bookmarkCount=i.length;return e}));return Promise.all(n)})},formatBookmarkPinButtonTooltip:function(e,t){let i;if(t){if(e>0){i=\"VisualizationOrganizer.Button.Tooltip.RemoveFromSection\"}else{i=\"VisualizationOrganizer.Button.Tooltip.AddToSection\"}}else if(e>0){i=\"EasyAccessMenu_PinButton_Toggled_Tooltip\"}else{i=\"EasyAccessMenu_PinButton_UnToggled_Tooltip\"}return d.i18n.getText(i)},_applyChangeToPage:function(e,t,i){const n=decodeURIComponent(t.id);const s=t.title;const o=i.id;const a=t.isBookmark?t.bookmarkCount>0:this.isVizIdPresent(n);const r={addToPageIds:a?[]:[o],deleteFromPageIds:a?[o]:[]};const l=d.i18n.getText(a?\"VisualizationOrganizer.MessageToastPageRemove\":\"VisualizationOrganizer.MessageToastPageAdd\",[s||n,i.title]);this.oVizInfo=t;this.sVisualizationId=n;let c;if(t.isBookmark){c=this._applyBookmarkOrganizationChange(r,false)}else{c=this._applyOrganizationChange(r,false)}return c.then(()=>{e.getBinding(\"icon\")?.refresh(true);e.getBinding(\"type\")?.refresh(true);e.getBinding(\"tooltip\")?.refresh(true);sap.ui.require([\"sap/m/MessageToast\"],e=>{e.show(l,{offset:\"0 -50\"})})})},groupBySpace:function(e){return{key:e.getProperty(\"spaceId\"),title:e.getProperty(\"space\")}},getGroupHeader:function(e){return new n({title:e.title})},exit:function(){const e=s.getElementById(\"sapUshellVisualizationOrganizerPopover\");if(e){e.destroy()}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/Component\", [\"sap/ui/core/UIComponent\"],t=>{\"use strict\";return t.extend(\"sap.ushell.components.workPageBuilder.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"],events:{workPageEdited:{},visualizationFilterApplied:{parameters:{filters:{type:\"array\"}}},closeEditMode:{parameters:{saveChanges:{type:\"boolean\"}}}}},init:function(){t.prototype.init.apply(this,arguments)},getEditMode:function(){return this.getRootControl().getController().getEditMode()},setEditMode:function(t){this.getRootControl().getController().setEditMode(t)},setPreviewMode:function(t){this.getRootControl().getController().setPreviewMode(t)},getPreviewMode:function(){return this.getRootControl().getController().getPreviewMode()},getPageData:function(){return this.getRootControl().getController().getPageData()},setPageData:async function(t){this.getRootControl().getController().setPageData(t)},setVisualizationData:function(t){return this.getRootControl().getController().setVisualizationData(t)},setCategoryTree:async function(t){return this.getRootControl().getController().setCategoryTree(t)},getNavigationDisabled:function(){return this.getRootControl().getController().getNavigationDisabled()},setNavigationDisabled:function(t){this.getRootControl().getController().setNavigationDisabled(t)},getUshellContainer:function(){return sap.ui.require(\"sap/ushell/Container\")||window.parent.sap.ui.require(\"sap/ushell/Container\")},setShowFooter:function(t){this.getRootControl().getController().setShowFooter(t)},setShowPageTitle:function(t){this.getRootControl().getController().setShowPageTitle(t)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility\", [\"sap/f/library\"],t=>{\"use strict\";const o=t.NavigationDirection;function e(){this._oFocusHistory={oLastGrid:null,sLastDirection:null,iLastRow:null,iTargetRow:null};this._bInitialItemFocused=false}e.prototype._handleBorderReached=function(t,o){const e=this._getCurrentFocusElement();const i=t.getSource().getAggregation(\"_gridContainer\");const s=t.getParameter(\"direction\");const r=t.getParameter(\"row\");const n=t.getParameter(\"column\");if(this._isOppositeDirection(s)&&this._oFocusHistory.oLastGrid&&!this._oFocusHistory.oLastGrid.isDestroyed()&&r===this._oFocusHistory.iTargetRow){this._oFocusHistory.oLastGrid.focusItemByDirection(s,this._oFocusHistory.iLastRow,n);this._saveFocusHistory(i,s,r)}else{const t=this._findNextGrid(e,o,s);if(t){const o=this._findSuitableRowInGrid(t,e,s);t.focusItemByDirection(s,o,n);this._saveFocusHistory(i,s,r,o)}}};e.prototype._isOppositeDirection=function(t){switch(this._oFocusHistory.sLastDirection){case o.Right:return t===o.Left;case o.Left:return t===o.Right;case o.Up:return t===o.Down;case o.Down:return t===o.Up;default:return false}};e.prototype._findNextGrid=function(t,o,e){const i=this._getAllGrids(o);const s=[];i.forEach(o=>{if(o===t){return}const i=this._getDistanceToElementInDirection(t,o.getDomRef(),e);if(i){s.push({oGrid:o,iDistance:i})}});const r=s.sort((t,o)=>t.iDistance-o.iDistance);return r[0]?r[0].oGrid:null};e.prototype._getAllGrids=function(t){const o=t.getRows();const e=[];o.forEach(t=>{const o=t.getColumns();o.forEach(t=>{const o=t.getCells();o.forEach(t=>{const o=t.getAggregation(\"_gridContainer\");if(o){e.push(o)}})})});return e};e.prototype._findSuitableRowInGrid=function(t,o,e){const i=t.getNavigationMatrix();let s;const r=i.findIndex(t=>t.find(t=>{if(t===false||t===s){return false}s=t;if(this._getDistanceToElementInDirection(o,t,e)!==null){return true}}));return r>=0?r:0};e.prototype._getDistanceToElementInDirection=function(t,e,i){const s=e.getBoundingClientRect();const r=t.getBoundingClientRect();switch(i){case o.Right:if(r.right<s.left&&r.bottom>s.top&&r.top<s.bottom){return s.left-r.right}break;case o.Left:if(r.left>s.right&&r.bottom>s.top&&r.top<s.bottom){return r.left-s.right}break;case o.Down:if(r.bottom<s.top&&r.left<s.right&&r.right>s.left){return s.top-r.bottom}break;case o.Up:if(r.top>s.bottom&&r.left<s.right&&r.right>s.left){return r.top-s.bottom}break;default:break}return null};e.prototype._saveFocusHistory=function(t,o,e,i){this._oFocusHistory.oLastGrid=t;this._oFocusHistory.sLastDirection=o;this._oFocusHistory.iLastRow=e;this._oFocusHistory.iTargetRow=i};e.prototype._getCurrentFocusElement=function(){return document.activeElement};e.prototype.focusFirstItem=function(t){const o=this._getAllGrids(t);const e=o.find(t=>t.getItems().length>0);if(e&&!this._bInitialItemFocused){this._bInitialItemFocused=true;const t=e.getItems()[0];const o=t.getDomRef();if(o){const t=o.closest(\".sapFGridContainerItemWrapper\");if(t){t.focus({preventScroll:true})}}}};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/ObjectPath\",\"sap/base/util/deepExtend\",\"sap/f/GridContainerItemLayoutData\",\"sap/m/library\",\"sap/ui/core/Element\",\"sap/ui/core/Fragment\",\"sap/ui/core/InvisibleMessage\",\"sap/ui/core/library\",\"sap/ui/core/mvc/Controller\",\"sap/ui/integration/ActionDefinition\",\"sap/ushell/utils/workpage/WorkPageHost\",\"sap/ui/integration/widgets/Card\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/ushell/ui/launchpad/VizInstanceCdm\",\"sap/ushell/utils\",\"sap/ushell/utils/workpage/WorkPageVizInstantiation\",\"sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility\",\"sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout\",\"sap/ui/integration/library\"],(e,t,o,i,n,s,r,a,l,d,c,g,u,h,p,f,C,P,m,w,v,D,y,_)=>{\"use strict\";const M=d.ValueState;const E=[\"PR\",\"CO\",\"PG\"];const V=6;const k=24;const z=2;const A=4;const b=s.LoadState;const x=d.InvisibleMessageMode;const B=_.CardPreviewMode;return c.extend(\"sap.ushell.components.workPageBuilder.controller.WorkPageBuilder\",{onInit:async function(){const e=this.byId(\"workPage\");this._fnDeleteRowHandler=this.deleteRow.bind(this);this._fnDeleteCellHandler=this.deleteCell.bind(this);this._fnSaveCardConfiguration=this._onSaveCardEditor.bind(this);this._fnResetCardConfiguration=this._onResetCardConfigurations.bind(this);this.oModel=new p({maxColumns:A,editMode:false,previewMode:false,loaded:false,navigationDisabled:false,showFooter:false,showPageTitle:true,data:{workPage:null,visualizations:[],usedVisualizations:[]}});this.oModel.setSizeLimit(Infinity);this._saveHost();e.bindElement({path:\"/data/workPage\"});this.oWorkPageBuilderAccessibility=new D;this.oWorkPageVizInstantiation=await v.getInstance();this.getView().setModel(this.oModel);y.register(e);this.getView().setModel(y.getModel(),\"viewSettings\");this.oContentFinderPromise=new Promise(e=>{this.fnContentFinderPromiseResolve=e})},_onVisualizationFilterApplied:function(e){this.getOwnerComponent().fireEvent(\"visualizationFilterApplied\",e.getParameters())},onExit:function(){y.deregister();if(this.oContentFinderPromise){this.oContentFinderPromise.then(e=>{e.destroy()})}if(this.oCardEditorDialogPromise){this.oCardEditorDialogPromise.then(e=>{e.destroy()})}if(this.oCardResetDialogPromise){this.oCardResetDialogPromise.then(e=>{e.destroy()})}if(this.oDeleteCell){this.oDeleteCell.then(e=>{e.destroy()})}if(this.oLoadDeleteDialog){this.oLoadDeleteDialog.then(e=>{e.destroy()})}},onGridContainerBorderReached:function(e){const t=this.byId(\"workPage\");this.oWorkPageBuilderAccessibility._handleBorderReached(e,t)},onAddColumn:function(e){const t=this.getView().getModel();const o=e.getSource();const i=o.getParent();const n=i.indexOfAggregation(\"columns\",o);const s=i.getBindingContext().getPath();const r=`${s}/columns/`;const a=`${o.getBindingContext().getPath()}/descriptor/value/columnWidth`;const l=t.getProperty(r);const d=l.length;const c=e.getParameter(\"left\");if(d>=A){return}const g=o.getProperty(\"columnWidth\");const u=Math.floor(g/2)>=V?Math.floor(g/2):V;const h=u%2;t.setProperty(a,u+h);const p=i.indexOfAggregation(\"columns\",o)+(c===true?0:1);const f=this._createEmptyColumn(u-h);const C=[l.slice(0,p),f,l.slice(p)].flat();const P=C.reduce((e,t)=>e+this._getColumnWidth(t),0);if(P>k){this._calculateColWidths(C,n,P)}t.setProperty(r,C);this.getOwnerComponent().fireEvent(\"workPageEdited\")},focusFirstItem:function(e){const t=e.getSource();this.oWorkPageBuilderAccessibility.focusFirstItem(t)},setEditMode:function(e){this.oModel.setProperty(\"/editMode\",!!e)},setPreviewMode:function(e){this.oModel.setProperty(\"/previewMode\",!!e)},getPreviewMode:function(){return this.oModel.getProperty(\"/previewMode\")},getEditMode:function(){return this.oModel.getProperty(\"/editMode\")},setShowFooter:function(e){this.oModel.setProperty(\"/showFooter\",!!e)},setShowPageTitle:function(e){this.oModel.setProperty(\"/showPageTitle\",!!e)},setPageData:function(e){let t={};const i=o.get(\"workPage.usedVisualizations.nodes\",e);const n=o.get(\"workPage.contents\",e);if(i&&i.length>0){t=i.reduce((e,t)=>{e[t.id]=t;return e},{})}this.oModel.setProperty(\"/data/usedVisualizations\",t);this.oModel.setProperty(\"/data/workPage\",n);this.oModel.setProperty(\"/loaded\",true)},getPageData:function(){const e=this.oModel.getProperty(\"/data/usedVisualizations\")||{};return{workPage:{contents:this.oModel.getProperty(\"/data/workPage\"),usedVisualizations:{nodes:Object.values(e)}}}},setVisualizationData:function(e){return this.oContentFinderPromise.then(t=>{t.setVisualizationData(e)})},setCategoryTree:function(e){return this.oContentFinderPromise.then(t=>{t.setCategoryTree(e)})},onGridColumnsChange:function(e){const t=e.getParameter(\"columns\");const o=e.getSource();o.getWidgets().filter(e=>e.isA(\"sap.ui.integration.widgets.Card\")).forEach(e=>{e.setLayoutData(new n({columns:t,minRows:1}))})},onDeleteColumn:function(e){const t=this.getView().getModel();const o=e.getSource();const i=o.getColumnWidth();const n=o.getParent();const s=n.indexOfAggregation(\"columns\",o);const r=n.getBindingContext().getPath();const a=`${r}/columns/`;const l=t.getProperty(a);const d=l.filter((e,t)=>t!==s);let c=i/2;let g=s-1<0?s:s-1;while(c>0){const e=d[g];this._setColumnWidth(e,this._getColumnWidth(e)+z);g=++g>=d.length?0:g++;c--}t.setProperty(a,d);n.invalidate();this.getOwnerComponent().fireEvent(\"workPageEdited\")},onAddFirstRow:function(){const e=\"/data/workPage/rows/\";this.getView().getModel().setProperty(e,[this._createEmptyRow()]);this.getOwnerComponent().fireEvent(\"workPageEdited\")},onAddRow:function(e){const t=this.getView().getModel();const o=e.getSource();const i=this.byId(\"workPage\");const n=\"/data/workPage/rows/\";const s=t.getProperty(n);const r=this._createEmptyRow();const a=i.indexOfAggregation(\"rows\",o)+(e.getParameter(\"bottom\")===true?1:0);const l=[s.slice(0,a),r,s.slice(a)].flat();t.setProperty(n,l);this.getOwnerComponent().fireEvent(\"workPageEdited\")},onResize:function(e){const o=e.getParameter(\"posXDiff\");const i=e.getSource();const n=i.getParent();const s=n.getSingleColumnWidth();if(s<=0){return}const r=t.getRTL();const a=o/s;if(a>-1&&a<1){return}const l=a<0?Math.floor(o/s):Math.ceil(o/s);const d=l>=0?\"right\":\"left\";let c=d===\"right\"?z:-z;const g=n.indexOfAggregation(\"columns\",i);const u=g-1;const h=n.getColumnFlexValues();c=r?c:-c;if(!this._resizeAllowed(h.length,h[u],h[g],c)){return}h[u]-=c;h[g]+=c;n.setGridLayoutString(h);this._updateModelWithColumnWidths(n,u,g,h[u],h[g])},_resizeAllowed:function(e,t,o,i){const n=this.getView().getModel(\"viewSettings\");const s=n.getProperty(\"/currentBreakpoint/columnMinFlex\");if(t-i<s){return false}if(o+i<s){return false}const r=n.getProperty(\"/currentBreakpoint/maxColumnsPerRow\");if(e>r){return false}return true},onResizeCompleted:function(){this.getOwnerComponent().fireEvent(\"workPageEdited\")},onDeleteCell:function(e){const t=e.getSource().getParent().getParent();const o=t.getWidgets();if(o?.[0]&&o.length===1&&o[0].isA(\"sap.ui.integration.widgets.Card\")){return this.deleteCell(e,{cell:t,dialog:false})}if(!this.oDeleteCell){const e=this.getOwnerComponent().getRootControl();this.oDeleteCell=a.load({id:e.createId(\"cellDeleteDialog\"),name:\"sap.ushell.components.workPageBuilder.view.WorkPageCellDeleteDialog\",controller:this}).then(e=>{e.setModel(this.getView().getModel(\"i18n\"),\"i18n\");return e})}return this.oDeleteCell.then(e=>{e.getBeginButton().detachEvent(\"press\",this._fnDeleteCellHandler);e.getBeginButton().attachEvent(\"press\",{cell:t,dialog:true},this._fnDeleteCellHandler);e.open()})},deleteCell:function(e,t){const o=t.cell;const i=this.getView().getModel();const n=o.getParent();const s=n.indexOfAggregation(\"cells\",o);const r=`${n.getBindingContext().getPath()}/cells`;const a=i.getProperty(r);const l=a.filter((e,t)=>t!==s);i.setProperty(r,l);this.getOwnerComponent().fireEvent(\"workPageEdited\");if(t.dialog){return this.oDeleteCell.then(e=>{e.close()})}return Promise.resolve()},_deleteVisualization:function(e){const t=e.getParent().getParent();const o=e.getBindingContext();const i=o.getPath();const n=this.getView().getModel();const s=i.substring(0,i.lastIndexOf(\"/\"));const r=t.indexOfAggregation(\"widgets\",e);const a=n.getProperty(s);const l=a.filter((e,t)=>t!==r);n.setProperty(s,l);this.getOwnerComponent().fireEvent(\"workPageEdited\")},onEditTitle:function(){this.getOwnerComponent().fireEvent(\"workPageEdited\")},onWidgetAdded:function(){this.getOwnerComponent().fireEvent(\"workPageEdited\")},onContentFinderComponentCreated:async function(e){const t=e.getParameter(\"component\");t.attachContentFinderClosed(null,function(){t?.detachVisualizationsAdded(this._onAddVisualization,this);t?.detachVisualizationFilterApplied(this._onVisualizationFilterApplied,this);t?.setContextData({restrictedVisualizations:[]})},this);this.fnContentFinderPromiseResolve(t)},openContentFinder:function(e){const t=e.getSource();const o=this.getView().getModel(\"i18n\").getResourceBundle();return this.oContentFinderPromise.then(e=>{e.attachVisualizationsAdded(t,this._onAddVisualization,this);e.attachVisualizationFilterApplied(t,this._onVisualizationFilterApplied,this);e.show({visualizationFilters:{displayed:[\"tiles\",\"cards\"],selected:\"tiles\",available:[{key:\"tiles\",title:o.getText(\"ContentFinder.AppSearch.VisualizationsFilter.Tiles\"),types:[\"sap.ushell.StaticAppLauncher\",\"sap.ushell.DynamicAppLauncher\"]},{key:\"cards\",title:o.getText(\"ContentFinder.AppSearch.VisualizationsFilter.Cards\"),types:[\"sap.card\"]}]}})})},openTilesAppSearch:function(e){const t=e.getSource().getParent().getParent();const o=this.getView().getModel(\"i18n\").getResourceBundle();return this.oContentFinderPromise.then(e=>{e.setContextData({restrictedVisualizations:this._getRestrictedVisualizationIds(t)});e.attachVisualizationsAdded(t,this._onAddVisualization,this);e.attachVisualizationFilterApplied(t,this._onVisualizationFilterApplied,this);e.show({visualizationFilters:{displayed:[\"tiles\"],selected:\"tiles\",available:[{key:\"tiles\",title:o.getText(\"ContentFinder.AppSearch.VisualizationsFilter.Tiles\"),types:[\"sap.ushell.StaticAppLauncher\",\"sap.ushell.DynamicAppLauncher\"]}]}})})},_getRestrictedVisualizationIds:function(e){return e.getWidgets().map(e=>{if(e.isA(\"sap.ushell.ui.launchpad.VizInstanceCdm\")){return e.getProperty(\"vizRefId\")}})},_onAddVisualization:function(e,t){const o=this.getView().getModel();const i=e.getParameter(\"visualizations\");if(i.length>0){i.forEach(e=>{const t=`/data/usedVisualizations/${e.id}`;if(!o.getProperty(t)){o.setProperty(t,e.vizData)}});const e=this._instantiateWidgetData(i);if(t.isA(\"sap.ushell.components.workPageBuilder.controls.WorkPageCell\")){this._setCellData(t,e)}if(t.isA(\"sap.ushell.components.workPageBuilder.controls.WorkPageColumn\")){this._setColumnData(t,e)}}},_instantiateWidgetData:function(e){let t=[];let o;return e.map(e=>{o=this._generateUniqueId(t);t=t.concat([o]);return{id:o,visualization:{id:e.vizData.id}}})},_setCellData:function(e,t){const o=this.getView().getModel();const i=e.getBindingContext().getPath();const n=Object.assign({},o.getProperty(i));n.widgets=n.widgets.concat(t);o.setProperty(i,n);this.onWidgetAdded()},_setColumnData:function(e,t,o){const i=this.getView().getModel();const n=e.getBindingContext().getPath();const s=Object.assign({},i.getProperty(n));const r={id:this._generateUniqueId(),descriptor:{value:{},schemaVersion:\"3.2.0\"},widgets:t.concat([])};if(!s.cells){s.cells=[]}if(o===undefined||o>s.cells.length){o=s.cells.length}const a=s.cells.concat([]);a.splice(o,0,r);s.cells=a;i.setProperty(n,s);this.onWidgetAdded()},onDeleteRow:function(e){const t=this.getOwnerComponent().getRootControl();const o=e.getSource().getBindingContext();if(!this.oLoadDeleteDialog){this.oLoadDeleteDialog=a.load({id:t.createId(\"rowDeleteDialog\"),name:\"sap.ushell.components.workPageBuilder.view.WorkPageRowDeleteDialog\",controller:this}).then(e=>{e.setModel(this.getView().getModel(\"i18n\"),\"i18n\");return e})}return this.oLoadDeleteDialog.then(e=>{e.getBeginButton().detachEvent(\"press\",this._fnDeleteRowHandler);e.getBeginButton().attachEvent(\"press\",{rowContext:o},this._fnDeleteRowHandler);e.open()})},deleteRow:function(e,t){const o=this.getView().getModel();const i=t.rowContext;const n=o.getProperty(\"/data/workPage/rows\");const s=i.getObject();const r=n.filter(e=>e.id!==s.id);o.setProperty(\"/data/workPage/rows\",r);this.getOwnerComponent().fireEvent(\"workPageEdited\");return this.oLoadDeleteDialog.then(e=>{e.close()})},onRowDeleteCancel:function(){return this.oLoadDeleteDialog.then(e=>{e.close()})},onCellDeleteCancel:function(){return this.oDeleteCell.then(e=>{e.close()})},_createErrorTile:function(){return new m({state:b.Failed}).attachPress(this.onVisualizationPress,this).bindEditable(\"/editMode\").bindSizeBehavior(\"viewSettings>/currentBreakpoint/sizeBehavior\").setLayoutData(new n({columns:2,rows:2}))},widgetFactory:function(t,o){const i=o.getProperty(\"visualization/id\");if(!i){e.error(\"No vizId found in widget context.\");return this._createErrorTile()}const n=this.getView().getModel().getProperty(`/data/usedVisualizations/${i}`);if(!n||!n.type){e.error(`No viz or vizType found for vizId ${i}`);return this._createErrorTile()}const s=o.getProperty(\"configurations\")||[];const r=n.configurations||[];const a=this._getMergedAndSortedConfigurations(s,r);const l=o.getPath();switch(n.type){case\"sap.card\":return this._createCard(n,s,a,l);case\"sap.ushell.StaticAppLauncher\":case\"sap.ushell.DynamicAppLauncher\":case\"ssuite.smartbusiness.tiles.dual\":case\"ssuite.smartbusiness.tiles.numeric\":case\"ssuite.smartbusiness.tiles.contribution\":case\"ssuite.smartbusiness.tiles.deviation\":case\"ssuite.smartbusiness.tiles.trend\":case\"ssuite.smartbusiness.tiles.comparison\":return this._createVizInstance(n);default:e.error(`Unknown type for widget ${n.type}`);return this._createErrorTile()}},_getMergedAndSortedConfigurations:function(e,t){if(e.length===0&&t.length===0){return[]}const o=E.reduce((o,n)=>{const s=e.find(e=>e.level===n);const r=t.find(e=>e.level===n);const a=i({},r,s);if(Object.keys(a).length>0){o[n]=a}return o},{});return this._sortConfigurations(Object.values(o))},_sortConfigurations:function(e){const t=e&&e.sort((e,t)=>E.indexOf(e.level)-E.indexOf(t.level));return t.map(e=>e.settings.value)},_createVizInstance:function(t){const o=i({},t,{preview:this.oModel.getProperty(\"/previewMode\")});if(this.oModel.getProperty(\"/navigationDisabled\")&&o._siteData){delete o._siteData.target;delete o._siteData.targetURL}const s=this.oWorkPageVizInstantiation.createVizInstance(o);if(!s){e.error(\"No VizInstance was created.\");return this._createErrorTile()}return s.setActive(true).bindPreview(\"/previewMode\").attachPress(this.onVisualizationPress,this).bindEditable(\"/editMode\").bindSizeBehavior(\"viewSettings>/currentBreakpoint/sizeBehavior\").bindClickable({path:\"/navigationDisabled\",formatter:function(e){return!e}}).setLayoutData(new n(s.getLayout()))},formatRowAriaLabel:function(e,t=[],o){const i=this.getView().getModel(\"i18n\").getResourceBundle();if(o){return i.getText(\"WorkPage.Row.Named.AriaLabel\",[o])}const n=t.findIndex(t=>t.id===e);if(n<0){return\"\"}return i.getText(\"WorkPage.Row.Unnamed.AriaLabel\",[n+1])},onVisualizationPress:function(e){const t=e.getParameter(\"scope\");const o=e.getParameter(\"action\");if(t===\"Actions\"&&o===\"Remove\"){this._deleteVisualization(e.getSource())}},_createCard:function(t={},i=[],s=[],r=\"\"){const a={};const l=t.descriptor&&t.descriptor.value&&t.descriptor.value[\"sap.card\"];const d=t.descriptorResources&&(t.descriptorResources.baseUrl||t.descriptorResources.descriptorPath);const c=i.some(e=>e.level===\"PG\");let g;if(!l&&!d){e.error(\"No descriptor or descriptorResources for Card\");return(new h).setLayoutData(new n({columns:2,rows:2}))}if(l){a.manifest=t.descriptor.value;g=!!o.get([\"descriptor\",\"value\",\"sap.card\",\"configuration\"],t);if(d){a.baseUrl=t.descriptorResources.baseUrl+t.descriptorResources.descriptorPath}}else if(d){a.manifest=t.descriptorResources.baseUrl+t.descriptorResources.descriptorPath;if(!a.manifest.endsWith(\".json\")){a.manifest+=\"/manifest.json\"}}a.referenceId=t?.provider?.id;if(a.baseUrl&&a.baseUrl.substr(-1)!==\"/\"){a.baseUrl+=\"/\"}const u=new h(a);if(g){const e=this._createCardConfigurationActionDefinition(u,r,this._openCardConfigurationEditor.bind(this));u.addActionDefinition(e)}if(c){const e=this._createCardResetActionDefinition(i,r,this._openResetCardConfigurationDialog.bind(this));u.addActionDefinition(e)}return u.setModel(this.oModel,\"workPageModel\").bindProperty(\"previewMode\",{path:\"workPageModel>/previewMode\",formatter:function(e){return e?B.MockData:B.Off}}).setManifestChanges(s).addStyleClass(\"workpageCellWidget\").setHost(this.oHost).setLayoutData(new n({columns:16,minRows:1}))},_createCardConfigurationActionDefinition:function(e,t,o){const i=this.getView().getModel(\"i18n\").getResourceBundle().getText(\"WorkPage.Card.ActionDefinition.Configure\");const n=new g({type:\"Custom\",visible:\"{/editMode}\",buttonType:\"Transparent\",text:i});n.setModel(this.oModel);n.attachPress({card:e,widgetContextPath:t},o);return n},_createCardResetActionDefinition:function(e,t,o){const i=this.getView().getModel(\"i18n\").getResourceBundle().getText(\"WorkPage.Card.ActionDefinition.Reset\");const n=new g({type:\"Custom\",visible:\"{/editMode}\",buttonType:\"Transparent\",text:i});n.setModel(this.oModel);n.attachPress({widgetContextPath:t,widgetConfigurations:e},o);return n},_openCardConfigurationEditor:function(e,t){if(!this.oCardEditorDialogPromise){this.oCardEditorDialogPromise=this._createCardEditorDialog(t.card)}const o=this._createCardEditor(t.card);return Promise.all([o,this.oCardEditorDialogPromise]).then(e=>{this.oCardEditorDialog=e[1];this.oCardEditorDialog.removeAllContent();this.oCardEditorDialog.getBeginButton().detachPress(this._fnSaveCardConfiguration).attachPress(t.widgetContextPath,this._fnSaveCardConfiguration);this._setCardDialogTitle(this.oCardEditorDialog,t.card);this.oCardEditorDialog.addContent(e[0]);this.oCardEditorDialog.open()})},_openResetCardConfigurationDialog:function(e,t){if(!this.oCardResetDialogPromise){this.oCardResetDialogPromise=this._createResetCardConfigurationDialog()}return this.oCardResetDialogPromise.then(e=>{this.oCardResetDialog=e;this.getView().addDependent(this.oCardResetDialog);this.oCardResetDialog.getBeginButton().detachPress(this._fnResetCardConfiguration).attachPress(t,this._fnResetCardConfiguration);this.oCardResetDialog.open()})},_onResetCardConfigurations:function(e,t){const o=e.getSource().getParent();const i=t.widgetConfigurations;const n=`${t.widgetContextPath}/configurations`;const s=i.filter(e=>e.level!==\"PG\");this.oModel.setProperty(n,s);this.getOwnerComponent().fireEvent(\"workPageEdited\");o.close()},_createResetCardConfigurationDialog:function(){const e=this.getView().getModel(\"i18n\").getResourceBundle();const t=e.getText(\"WorkPage.CardEditor.DeleteConfigurationDialog.Title\");const o=e.getText(\"WorkPage.CardEditor.DeleteConfigurationDialog.Content\");const i=e.getText(\"WorkPage.CardEditor.DeleteConfigurationDialog.Accept\");const n=e.getText(\"WorkPage.CardEditor.DeleteConfigurationDialog.Deny\");return new Promise((e,r)=>{sap.ui.require([\"sap/m/Dialog\",\"sap/m/Button\",\"sap/m/Text\"],(r,a,l)=>{const d=new r({id:this.createId(\"cardConfigurationResetDialog\"),type:s.DialogType.Message,state:M.Warning,title:t,content:new l({text:o}),beginButton:new a({type:s.ButtonType.Emphasized,text:i}),endButton:new a({text:n,press:function(){d.close()}})});e(d)},r)})},_setCardDialogTitle:function(e,t){const o=this.getView().getModel(\"i18n\").getResourceBundle();const i=this._getCardTitle(t)?o.getText(\"WorkPage.CardEditor.Title\",[this._getCardTitle(t)]):o.getText(\"WorkPage.CardEditor.Title.NoCardTitle\");e.setTitle(i)},_createCardEditor:function(e){return new Promise((t,o)=>{sap.ui.require([\"sap-ui-integration-card-editor\"],()=>{sap.ui.require([\"sap/ui/integration/designtime/editor/CardEditor\"],o=>{t(new o({previewPosition:\"right\",card:e,mode:\"content\"}))},o)},o)})},_createCardEditorDialog:function(e){const t=this.getView().getModel(\"i18n\").getResourceBundle();const o=t.getText(\"WorkPage.CardEditor.Save\");const i=t.getText(\"WorkPage.CardEditor.Cancel\");return new Promise((e,t)=>{sap.ui.require([\"sap/m/Dialog\",\"sap/m/Button\"],(t,n)=>{const r=new t({id:this.createId(\"cardEditorDialog\"),contentWidth:\"40rem\",beginButton:new n({text:o,type:s.ButtonType.Emphasized}),endButton:new n({text:i,press:function(){r.close()}})});e(r)},t)})},_getCardTitle:function(e){if(e.getCardHeader()&&e.getCardHeader().getTitle()){return e.getCardHeader().getTitle()}},_onSaveCardEditor:function(e,t){const o=e.getSource().getParent();const n=o.getContent()[0];const s=n.getCard();const r=`${t}/configurations`;const a=n.getCurrentSettings();let l=this.oModel.getProperty(r)||[];let d=l.find(e=>e.level===\"PG\");if(!d){d={};d.id=this._generateUniqueId();d.level=\"PG\";d.settings={value:a,schemaVersion:\"3.2.0\"};l.push(d)}else{l=l.map(e=>{if(e.level===\"PG\"){e.settings.value=i({},e.settings.value,a)}return e})}this.oModel.setProperty(r,l);s.setManifestChanges([a]);this.getOwnerComponent().fireEvent(\"workPageEdited\");o.close()},saveEditChanges:function(){this.getOwnerComponent().fireEvent(\"closeEditMode\",{saveChanges:true})},cancelEditChanges:function(){this.getOwnerComponent().fireEvent(\"closeEditMode\",{saveChanges:false})},onCellDrop:function(e){const t=e.getParameter(\"draggedControl\");const o=e.getParameter(\"droppedControl\");const i=e.getParameter(\"dropPosition\");const n=t.getParent();const s=o.getParent();const r=n.indexOfAggregation(\"cells\",t);let a=s.indexOfAggregation(\"cells\",o);if(i===\"After\"){a++}this._moveCell(n,s,r,a)},onCellDropOnEmptyColumn:function(e){const t=e.getParameter(\"draggedControl\");const o=e.getParameter(\"droppedControl\");const i=t.getParent();const n=i.indexOfAggregation(\"cells\",t);const s=0;this._moveCell(i,o,n,s)},onVisualizationDropBetweenCells:function(e){const t=e.getParameter(\"draggedControl\");const o=e.getParameter(\"droppedControl\");const i=e.getParameter(\"dropPosition\");const n=t.getParent().getParent();const s=o.getParent();let r=s.indexOfAggregation(\"cells\",o);if(i===\"After\"){r++}this._moveVisualizationToCellOrColumn(t,n,s,r)},onVisualizationDropOnCell:function(e){const t=e.getParameter(\"draggedControl\");const o=e.getParameter(\"droppedControl\");const i=t.getParent().getParent();const n=0;this._moveVisualizationToCellOrColumn(t,i,o,n)},onVisualizationDropOnEmptyWidgetContainer:function(e){const t=e.getParameter(\"draggedControl\");const o=e.getParameter(\"droppedControl\");const i=t.getParent().getParent();this._moveVisualizationToCellOrColumn(t,i,o)},_moveVisualizationToCellOrColumn:function(e,t,o,i){const n=this.getView().getModel();const s=`${t.getBindingContext().getPath()}/widgets`;const r=n.getProperty(s);const a=t.indexOfAggregation(\"widgets\",e);const d=e.getBindingContext().getPath();const c=n.getProperty(d);r.splice(a,1);const g=[].concat(r);n.setProperty(s,g);if(o.isA(\"sap.ushell.components.workPageBuilder.controls.WorkPageCell\")){this._setCellData(o,[c])}else if(o.isA(\"sap.ushell.components.workPageBuilder.controls.WorkPageColumn\")){this._setColumnData(o,[c],i)}l.getInstance().announce(this.getView().getModel(\"i18n\").getResourceBundle().getText(\"WorkPage.Message.WidgetMoved\"),x.Assertive);this.getOwnerComponent().fireEvent(\"workPageEdited\")},_moveCell:function(e,t,o,i){const n=this.getView().getModel();const s=t.getId()===e.getId();const r=`${e.getBindingContext().getPath()}/cells`;const a=`${t.getBindingContext().getPath()}/cells`;const d=n.getProperty(r);let c=n.getProperty(a);if(s){if(o<i){i--}if(o===i){return}}const g=d.filter((e,t)=>t!==o);if(s){c=g}const u=[c.slice(0,i),d[o],c.slice(i)].flat();n.setProperty(r,g);n.setProperty(a,u);l.getInstance().announce(this.getView().getModel(\"i18n\").getResourceBundle().getText(\"WorkPage.Message.WidgetMoved\"),x.Assertive);this.getOwnerComponent().fireEvent(\"workPageEdited\")},onWidgetOnCellDrop:function(e){const t=e.getParameter(\"draggedControl\");const o=t.getParent().getParent();const i=e.getParameter(\"droppedControl\");const n=o.indexOfAggregation(\"widgets\",t);const s=i.getBindingContext().getProperty(\"widgets\").length;this._moveVisualization(o,i,n,s)},onWidgetOnCellDragEnter:function(e,t){const o=e.getParameter(\"target\");const i=!!o.getBindingContext().getProperty(\"widgets\").length;if(o.getTileMode()&&i||t===i){e.preventDefault()}},onGridDrop:function(e){const t=e.getSource();const o=e.getParameter(\"draggedControl\");const i=e.getParameter(\"droppedControl\");const n=e.getParameter(\"dropPosition\");const s=o.getParent().getParent();const r=s.indexOfAggregation(\"widgets\",o);let a=t.indexOfAggregation(\"widgets\",i);const l=t.getId()===s.getId();if(n===\"After\"){a++}if(l){if(r<a){a--}if(r===a){return}}this._moveVisualization(s,t,r,a)},_moveVisualization:function(e,t,o,i){const n=this.getView().getModel();const s=`${e.getBindingContext().getPath()}/widgets`;const r=`${t.getBindingContext().getPath()}/widgets`;const a=s===r;const d=n.getProperty(s);let c=n.getProperty(r);const g=d[o];const u=d.filter((e,t)=>t!==o);if(a){c=u}const h=[c.slice(0,i),g,c.slice(i)].flat();n.setProperty(s,u);n.setProperty(r,h);l.getInstance().announce(this.getView().getModel(\"i18n\").getResourceBundle().getText(\"WorkPage.Message.WidgetMoved\"),x.Assertive);this.getOwnerComponent().fireEvent(\"workPageEdited\")},tileMode:function(e){const t=this.getView().getModel();let i;return!!e&&(e.length>1||!e.some(e=>{i=t.getProperty(`/data/usedVisualizations/${o.get(\"visualization.id\",e)}`);return o.get(\"type\",i)===\"sap.card\"}))},showAppSearchButton:function(e,t){return this.tileMode(e)&&t},_updateModelWithColumnWidths:function(e,t,o,i,n){const s=this.getView().getModel();const r=e.getBindingContext();const a=r.getPath();const l=`${a}/columns/${t}/descriptor/value/columnWidth`;const d=`${a}/columns/${o}/descriptor/value/columnWidth`;s.setProperty(l,i);s.setProperty(d,n)},_getColumnWidth:function(e){return o.get(\"descriptor.value.columnWidth\",e)||k},_setColumnWidth:function(e,t){o.set(\"descriptor.value.columnWidth\",t,e)},_calculateColWidths:function(e,t,o){const i=e[t];if(this._getColumnWidth(i)-z>=V){this._setColumnWidth(i,this._getColumnWidth(i)-z);o=o-z}if(o>k){const i=t-1>=0?t-1:e.length-1;this._calculateColWidths(e,i,o)}return e},_createEmptyColumn:function(e){return{id:this._generateUniqueId(),descriptor:{value:{columnWidth:e},schemaVersion:\"3.2.0\"},configurations:[],cells:[]}},_createEmptyRow:function(){return{id:this._generateUniqueId(),descriptor:{value:{title:\"\"},schemaVersion:\"3.2.0\"},columns:[this._createEmptyColumn(k)]}},_saveHost:function(){this.oHost=r.getElementById(\"sap.shell.host.environment\");if(!this.oHost){this.oHost=new u(\"sap.shell.host.environment\");this.oHost._setContainer(this.getOwnerComponent().getUshellContainer());if(this.oModel){const e=this.oModel.bindProperty(\"/navigationDisabled\");this.oHost._setNavigationDisabled(e.getValue());e.attachChange(e=>{this.oHost._setNavigationDisabled(e.getSource().getValue())})}}},getNavigationDisabled:function(){return this.oModel.getProperty(\"/navigationDisabled\")},setNavigationDisabled:function(e){this.oModel.setProperty(\"/navigationDisabled\",e)},_generateUniqueId:function(e){let t=(e||[]).concat([]);const o=this.oModel.getProperty(\"/data/workPage\");const i=this._collectIds.bind(this);t=t.concat(i(o));(o.rows||[]).forEach(e=>{t=t.concat(i(e));(e.columns||[]).forEach(e=>{t=t.concat(i(e));(e.cells||[]).forEach(e=>{t=t.concat(i(e));(e.widgets||[]).forEach(e=>{t=t.concat(i(e))})})})});t=t.filter(e=>!!e);return w.generateUniqueId(t)},_collectIds:function(e){const t=[e.id];const o=e.configurations||[];const i=o.map(e=>e.id);return t.concat(i)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout\", [\"sap/m/library\",\"sap/ui/core/ResizeHandler\",\"sap/base/Log\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/utils\"],(e,t,i,o,l,s,n)=>{\"use strict\";const r=e.TileSizeBehavior;function a(){this._oLayoutModel=new o({currentBreakpoint:{}})}a.prototype._onLayoutChange=function(){let e;if(!this._oControl){return}if(this._oControl instanceof Element){e=this._oControl}else{e=this._oControl.isA(\"sap.ui.core.Control\")?this._oControl.getDomRef():null}if(!e){return}this.onResize({size:{width:e.getBoundingClientRect().width}})};a.prototype.register=function(e){if(this._sResizeHandlerId){i.warning(\"A ResizeHandler is already registered. Deregister first.\");return}this._oControl=e;this._sResizeHandlerId=t.register(this._oControl,this.onResize.bind(this));l.on(\"/core/home/sizeBehavior\").do(this._onLayoutChange.bind(this));s.on(\"themeChanged\").do(this._onLayoutChange.bind(this))};a.prototype.getModel=function(){return this._oLayoutModel};a.prototype.deregister=function(){if(this._sResizeHandlerId){t.deregister(this._sResizeHandlerId);this._sResizeHandlerId=null}};a.prototype.onResize=async function(e){if(this.iWidth===e.size.width){return}this.iWidth=e.size.width;const t=await this._getBreakpointSettingsForWidth(e.size.width);this._oLayoutModel.setProperty(\"/currentBreakpoint\",t)};a.prototype._getBreakpointSettingsForWidth=async function(e){const t=await this._getBreakpointSettings();for(const i in t){if(e<=t[i].high&&e>=t[i].low){return t[i]}}};a.prototype._formatNumericThemeParam=function(e){if(e&&e.indexOf(\".\")===0){e=`0${e}`}return e};a.prototype._getWorkPageColumnMinFlex=function(e){const t=this._oControl.getDomRef();if(!t){return 4}const i=t.querySelector(\".workPageRowInner\");if(!i){return 4}if(i.offsetWidth<=0){return 4}return Math.ceil(e/(i.offsetWidth/24))};a.prototype._getBreakpointSettings=async function(){const e=l.last(\"/core/home/sizeBehavior\");const t=e===r.Small?r.Small:r.Responsive;const i=e===r.Small?\"_sap_ushell_Tile_SpacingXS\":\"_sap_ushell_Tile_Spacing\";const o=e===r.Small?\"_sap_ushell_Tile_WidthXS\":\"_sap_ushell_Tile_Width\";const s={\"lt-lp\":this._getWorkPageColumnMinFlex(416),\"lt-sp\":this._getWorkPageColumnMinFlex(400),\"st-lp\":this._getWorkPageColumnMinFlex(352),\"st-sp\":this._getWorkPageColumnMinFlex(336)};const[a,h]=await n.getThemingParameters([i,\"_sap_ushell_Tile_SpacingXS\"]);const m={lt:this._formatNumericThemeParam(a),st:this._formatNumericThemeParam(h)};const[p,u]=await n.getThemingParameters([o,\"_sap_ushell_Tile_WidthXS\"]);const g={lt:this._formatNumericThemeParam(p),st:this._formatNumericThemeParam(u)};return[{high:Infinity,low:1724,sizeBehavior:t,gap:m.lt,rowSize:g.lt,name:\"lt-lp-4\",maxColumnsPerRow:4,columnMinFlex:s[\"lt-lp\"]},{high:1723,low:1660,sizeBehavior:t,gap:m.lt,rowSize:g.lt,name:\"lt-sp-4\",maxColumnsPerRow:4,columnMinFlex:s[\"lt-sp\"]},{high:1659,low:1468,sizeBehavior:r.Small,gap:m.st,rowSize:g.st,name:\"st-lp-4\",maxColumnsPerRow:4,columnMinFlex:s[\"st-lp\"]},{high:1467,low:1404,sizeBehavior:r.Small,gap:m.st,rowSize:g.st,name:\"st-sp-4\",maxColumnsPerRow:4,columnMinFlex:s[\"st-sp\"]},{high:1403,low:1296,sizeBehavior:t,gap:m.lt,rowSize:g.lt,name:\"lt-lp-3\",maxColumnsPerRow:3,columnMinFlex:s[\"lt-lp\"]},{high:1295,low:1248,sizeBehavior:t,gap:m.lt,rowSize:g.lt,name:\"lt-sp-3\",maxColumnsPerRow:3,columnMinFlex:s[\"lt-sp\"]},{high:1247,low:1104,sizeBehavior:r.Small,gap:m.st,rowSize:g.st,name:\"st-lp-3\",maxColumnsPerRow:3,columnMinFlex:s[\"st-lp\"]},{high:1103,low:1056,sizeBehavior:r.Small,gap:m.st,rowSize:g.st,name:\"st-sp-3\",maxColumnsPerRow:3,columnMinFlex:s[\"st-sp\"]},{high:1055,low:880,sizeBehavior:t,gap:m.lt,rowSize:g.lt,name:\"lt-lp-2\",maxColumnsPerRow:2,columnMinFlex:s[\"lt-lp\"]},{high:879,low:848,sizeBehavior:t,gap:m.lt,rowSize:g.lt,name:\"lt-sp-2\",maxColumnsPerRow:2,columnMinFlex:s[\"lt-sp\"]},{high:847,low:752,sizeBehavior:r.Small,gap:m.st,rowSize:g.st,name:\"st-lp-2\",maxColumnsPerRow:2,columnMinFlex:s[\"st-lp\"]},{high:751,low:720,sizeBehavior:r.Small,gap:m.st,rowSize:g.st,name:\"st-sp-2\",maxColumnsPerRow:2,columnMinFlex:s[\"st-sp\"]},{high:719,low:456,sizeBehavior:t,gap:m.lt,rowSize:g.lt,name:\"lt-lp-1\",maxColumnsPerRow:1,columnMinFlex:s[\"lt-lp\"]},{high:455,low:440,sizeBehavior:t,gap:m.lt,rowSize:g.lt,name:\"lt-sp-1\",maxColumnsPerRow:1,columnMinFlex:s[\"lt-sp\"]},{high:439,low:392,sizeBehavior:r.Small,gap:m.st,rowSize:g.st,name:\"st-lp-1\",maxColumnsPerRow:1,columnMinFlex:s[\"st-lp\"]},{high:391,low:376,sizeBehavior:r.Small,gap:m.st,rowSize:g.st,name:\"st-sp-1\",maxColumnsPerRow:1,columnMinFlex:s[\"st-sp\"]},{high:375,low:0,sizeBehavior:r.Small,gap:m.st,rowSize:g.st,name:\"st-sp-0\",maxColumnsPerRow:1,columnMinFlex:s[\"st-sp\"]}]};return new a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controls/WorkPage\", [\"sap/ui/core/Control\",\"sap/ushell/components/workPageBuilder/controls/WorkPageRenderer\",\"sap/m/IllustratedMessage\",\"sap/m/Button\",\"sap/m/library\",\"sap/ushell/utils\",\"sap/ushell/ui/launchpad/ExtendedChangeDetection\"],(e,t,i,a,s,l,r)=>{\"use strict\";const n=s.IllustratedMessageSize;const o=s.IllustratedMessageType;const u=e.extend(\"sap.ushell.components.workPageBuilder.controls.WorkPage\",{metadata:{library:\"sap.ushell\",properties:{editMode:{type:\"boolean\",group:\"Misc\",defaultValue:false,bindable:true},showTitle:{type:\"boolean\",group:\"Misc\",defaultValue:true,bindable:true},emptyIllustrationTitle:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true},emptyIllustrationMessage:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true},emptyIllustrationButtonText:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true},loaded:{type:\"boolean\",defaultValue:false,bindable:true},breakpoint:{type:\"string\",defaultValue:\"lt-lp-4\",bindable:true}},defaultAggregation:\"rows\",aggregations:{rows:{type:\"sap.ushell.components.workPageBuilder.controls.WorkPageRow\",multiple:true,singularName:\"row\",bindable:true},title:{type:\"sap.ui.core.Control\",multiple:false,defaultValue:null,bindable:true},_emptyIllustration:{type:\"sap.m.IllustratedMessage\",multiple:false,visibility:\"hidden\"}},events:{addFirstRow:{},afterRendering:{}}},renderer:t});u.prototype.init=function(){this._oRowsChangeDetection=new r(\"rows\",this);this.oDelegate={onAfterRendering:function(){l.setPerformanceMark(\"FLP -- work page after rendering\")}};this.addDelegate(this.oDelegate);e.prototype.init.apply(this,arguments)};u.prototype.onAfterRendering=function(){this.fireEvent(\"afterRendering\")};u.prototype.exit=function(){this._oRowsChangeDetection.destroy();this.removeDelegate(this.oDelegate);e.prototype.exit.apply(this,arguments)};u.prototype.getIllustratedMessage=function(){if(!this.getAggregation(\"_emptyIllustration\")){this.setAggregation(\"_emptyIllustration\",this._createIllustratedMessage())}return this.getAggregation(\"_emptyIllustration\")};u.prototype._createIllustratedMessage=function(){return new i(`${this.getId()}-emptyWorkpageMessage`,{illustrationType:o.AddColumn,illustrationSize:n.Small,title:this.getEmptyIllustrationTitle(),description:this.getEmptyIllustrationMessage(),additionalContent:[new a(`${this.getId()}-addFirstRowButton`,{text:this.getEmptyIllustrationButtonText(),press:function(){this.fireEvent(\"addFirstRow\")}.bind(this)}).addStyleClass(\"sapUiTinyMarginBegin sapUiTinyMarginEnd\")],visible:\"{/editMode}\"})};return u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controls/WorkPageButton\", [\"sap/ui/core/Control\",\"sap/ui/core/Icon\"],(t,e)=>{\"use strict\";const n=t.extend(\"sap.ushell.components.workPageBuilder.controls.WorkPageButton\",{metadata:{library:\"sap.ushell\",properties:{icon:{type:\"sap.ui.core.URI\",defaultValue:\"\",bindable:true},tooltip:{type:\"string\",defaultValue:\"\",bindable:true}},aggregations:{_icon:{type:\"sap.ui.core.Icon\",multiple:false,defaultValue:null,visibility:\"hidden\"}},events:{press:{}}},renderer:{apiVersion:2,render:function(t,e){t.openStart(\"button\",e);t.class(\"workPageButton\");t.attr(\"title\",e.getTooltip());t.openEnd();t.openStart(\"span\");t.class(\"workPageButtonInner\");t.openEnd();t.renderControl(e.getIconControl());t.close(\"span\");t.close(\"button\")}}});n.prototype.init=function(){this._fnHandleClick=this.onClick.bind(this);t.prototype.init.apply(this,arguments)};n.prototype.onClick=function(t){t.preventDefault();t.stopPropagation();this.fireEvent(\"press\")};n.prototype.onBeforeRendering=function(){if(this.getDomRef()){this.getDomRef().removeEventListener(\"click\",this._fnHandleClick)}};n.prototype.onAfterRen Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/Shell.view\", [\"sap/base/Log\",\"sap/m/Avatar\",\"sap/m/library\",\"sap/ui/core/Component\",\"sap/ui/core/Element\",\"sap/ushell/renderer/shellHeader/ShellHeader.controller\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/XMLView\",\"sap/ui/core/Fragment\",\"sap/ushell/api/NewExperience\",\"sap/ushell/renderer/ShellLayout\",\"sap/ushell/renderer/Shell.controller\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/state/BindingHelper\",\"sap/ui/core/ComponentContainer\"],(e,t,n,i,l,o,a,r,s,d,h,c,g,u,p,f,y,A,M,m,b,C)=>{\"use strict\";const S=n.AvatarSize;const w=A.Operation;const v=p.ShellArea;const P={Property:\"Property\",List:\"List\"};return h.extend(\"sap.ushell.renderer.Shell\",{getControllerName:function(){return\"sap.ushell.renderer.Shell\"},waitForShellLayout:function(){if(!this._oShellLayoutPromise){this._oShellLayoutPromise=new Promise(e=>{this.getController().addDoable(r.once(\"ShellLayoutApplied\").do(e))})}return this._oShellLayoutPromise},getViewDataConfig:function(){const e=this.getViewData()||{};const t=e.config||{};return t},createContent:function(){this._createUserActionsMenuButton(y.getConfigModel());this._allowUpToThreeActionInShellHeader();A.init(this.getViewDataConfig());this.initBackgroundImage();const e=this.createShellHeader();this.setNavigationBarMinHeight();const t=this.createRendererRootView();this.setDisplayBlock(true);d.setPerformanceMark(\"FLP - Shell.view rendering started!\");return Promise.all([t,e]).then(e=>{const t=e[0];return t})},initBackgroundImage:function(){this.waitForShellLayout().then(()=>{const e=document.getElementById(v.BackgroundImage);const t=[\"<div class='sapUiShellBackgroundImage sapUiGlobalBackgroundImageForce sapUshellShellBG sapContrastPlus'></div>\",\"<div class='sapMShellBG sapUiGlobalBackgroundImage'></div>\"].join(\"\\n\");e.insertAdjacentHTML(\"afterbegin\",t)})},createRendererRootView:function(){const e=this.getController();return g.load({name:\"sap.ushell.renderer.RendererRootView\",controller:e}).then(e=>{b.overrideUpdateAggregation(e);return e})},createRendererRootViewFallback:function(){const e=this.getController();return g.load({name:\"sap.ushell.renderer.RendererRootViewFallback\",controller:e}).then(e=>{b.overrideUpdateAggregation(e);return e})},createShellHeader:async function(){if(M.last(\"/core/shellBar/enabled\")){return i.create({name:\"sap.ushell.components.shell.ShellBar\"}).then(e=>{e.setModel(s.i18nModel,\"i18n\");e.setModel(u.getModel(),\"newExperience\");e.setModel(y.getModel(),\"shellModel\");this.waitForShellLayout().then(()=>{const t=new C({component:e,id:\"shell-header\",async:true});e.enhanceComponentContainerAPI(t);t.placeAt(v.ShellHeader,\"only\");this.addDanglingControl(t);this._oShellHeader=t})})}else if(!M.last(\"/core/shellBar/enabled\")){const e=new o;return g.load({name:\"sap.ushell.renderer.shellHeader.ShellHeader\",controller:e}).then(t=>{b.overrideUpdateAggregation(t);t.setModel(s.i18nModel,\"i18n\");t.setModel(u.getModel(),\"newExperience\");t.setModel(y.getModel(),\"shellModel\");this.addDanglingControl(t);this._oShellHeader=t;this.waitForShellLayout().then(()=>{t.placeAt(v.ShellHeader,\"only\");e.onInit()})})}},setNavigationBarMinHeight:function(){return m.getServiceAsync(\"Menu\").then(e=>e.isMenuEnabled()).then(e=>{if(!e){return}this.waitForShellLayout().then(()=>{const e=document.getElementById(v.NavigationBar);e.classList.add(\"sapUshellMenuBarHeight\")})}).catch(t=>{e.info(\"Could not apply min-height of the navigationBar\",t)})},createRightFloatingContainer:function(){this.addPendingInitialization(new Promise(e=>{sap.ui.require([\"sap/ushell/ui/shell/RightFloatingContainer\"],t=>{const n=new t({id:\"right-floating-container\",top:\"2\",right:\"2\",hideItemsAfterPresentation:true,visible:\"{shellModel>/rightFloatingContainer/visible}\",floatingContainerItems:{path:\"shellModel>/rightFloatingContainer/items\",factory:b.factory}});b.overrideUpdateAggregation(n);n.setModel(y.getModel(),\"shellModel\");this.addDanglingControl(n);this._oRightFloatingContainer=n;e();this.waitForShellLayout().then(()=>{n.placeAt(v.RightFloatingContainer,\"only\")})})}))},createSubHeader:function(){sap.ui.require([\"sap/ushell/ui/shell/SubHeader\"],e=>{const t=new e({id:\"subhdr\",content:{path:\"shellModel>/subHeader/items\",factory:b.factory}});b.overrideUpdateAggregation(t);t.setModel(y.getModel(),\"shellModel\");this.addDanglingControl(t);this.waitForShellLayout().then(()=>{t.placeAt(v.SubHeader,\"only\")})})},createFloatingContainer:async function(){const e=await i.create({name:\"sap.ushell.components.shell.FloatingContainer\"});this.addDanglingControl(e);return e},createSidePane:function(){sap.ui.require([\"sap/ushell/ui/shell/SidePane\"],e=>{const t=new e({id:\"shell-sidePane\",visible:\"{shellModel>/sidePane/visible}\",content:{path:\"shellModel>/sidePane/items\",factory:b.factory}});b.overrideUpdateAggregation(t);t.setModel(y.getModel(),\"shellModel\");this.addDanglingControl(t);this.waitForShellLayout().then(()=>{t.placeAt(v.SidePane,\"only\")})})},createToolArea:function(){sap.ui.require([\"sap/ushell/ui/shell/ToolArea\"],e=>{const t=new e({id:\"shell-toolArea\",visible:\"{shellModel>/toolArea/visible}\",toolAreaItems:{path:\"shellModel>/toolArea/items\",factory:b.factory}});b.overrideUpdateAggregation(t);t.setModel(y.getModel(),\"shellModel\");this.addDanglingControl(t);this.waitForShellLayout().then(()=>{t.placeAt(v.ToolArea,\"only\")})})},createFloatingActions:function(){sap.ui.require([\"sap/ushell/ui/shell/ShellFloatingActions\"],e=>{const t=new e({id:\"shell-floatingActions\",floatingActions:{path:\"shellModel>/floatingActions/items\",factory:b.factory}});b.overrideUpdateAggregation(t);t.setModel(y.getModel(),\"shellModel\");this.addDanglingControl(t);this.waitForShellLayout().then(()=>{t.placeAt(v.FloatingActions,\"only\")})})},initAllMyAppsView:function(){return m.getServiceAsync(\"AllMyApps\").then(e=>{if(e.isEnabled()){return this.createAllMyAppsView()}})},createAllMyAppsView:function(){return c.create({id:\"allMyAppsView\",viewName:\"sap.ushell.renderer.allMyApps.AllMyApps\"}).then(e=>{e.setModel(y.getConfigModel(),\"configModel\");e.setModel(s.i18nModel,\"i18n\");e.addCustomData(new a({key:\"aria-label\",value:s.i18n.getText(\"allMyApps_headerTitle\"),writeToDom:true}));this.addDanglingControl(e);if(M.last(\"/core/shellBar/enabled\")){l.getElementById(this.getShellHeader().getAppTitle()).setAllMyApps(e)}else{this.getShellHeader().getAppTitle().setAllMyApps(e)}})},createPostCoreExtControls:function(){const e=y.getModel();sap.ui.require([\"sap/ui/core/Popup\"],e=>{e.setInitialZIndex(11)});this.bindFactory({model:e,factory:this.createFloatingContainer.bind(this),bindingPath:\"/floatingContainer/items\",bindingType:P.List,valueCheck:function(e){return!!e.length}});this.bindFactory({model:e,factory:this.createRightFloatingContainer.bind(this),bindingPath:\"/rightFloatingContainer/visible\",bindingType:P.Property,valueCheck:function(e){return!!e}});this.bindFactory({model:e,factory:this.createSubHeader.bind(this),bindingPath:\"/subHeader/items\",bindingType:P.List,valueCheck:function(e){return!!e.length}});this.bindFactory({model:e,factory:this.createToolArea.bind(this),bindingPath:\"/toolArea/visible\",bindingType:P.Property,valueCheck:function(e){return!!e}});this.bindFactory({model:e,factory:this.createSidePane.bind(this),bindingPath:\"/sidePane/visible\",bindingType:P.Property,valueCheck:function(e){return!!e}});this.bindFactory({model:e,factory:this.createFloatingActions.bind(this),bindingPath:\"/floatingActions/items\",bindingType:P.List,valueCheck:function(e){return!!e.length}});this.addPendingInitialization(this.initAllMyAppsView())},_allowUpToThreeActionInShellHeader:function(){const e=[\"moveAppFinderActionToShellHeader\",\"moveUserSettingsActionToShellHeader\",\"moveContactSupportActionToShellHeader\",\"moveEditHomePageActionToShellHeader\"];const t=this.getViewDataConfig();e.reduce((e,n)=>{if(e>=3){t[n]=false;return e}if(t[n]){e++}return e},0)},_createUserActionsMenuButton:function(e){const n=m.getUser();const i=s.i18n.getText(\"UserActionsMenuToggleButtonAria\",[n.getFullName()||n.getId()]);const l=this.addDanglingControl.bind(this);let o;if(M.last(\"/core/shellBar/enabled\")){sap.ui.require([\"sap/ushell/gen/ui5/webcomponents/dist/Avatar\"],t=>{o=new t({id:\"userActionsMenuHeaderButton\",icon:\"{configModel>/userImage/personPlaceHolder}\",initials:n.getInitials(),tooltip:i,click:function(){r.emit(\"showUserActionsMenu\",Date.now())}});o.setModel(e,\"configModel\");l(o);A.updateAllBaseStates(\"header.headEndItems\",w.Add,\"userActionsMenuHeaderButton\")})}else{o=new t({id:\"userActionsMenuHeaderButton\",src:\"{configModel>/userImage/personPlaceHolder}\",initials:n.getInitials(),ariaHasPopup:\"Menu\",displaySize:S.XS,tooltip:i,press:function(){r.emit(\"showUserActionsMenu\",Date.now())}});o.setModel(e,\"configModel\");this.addDanglingControl(o);A.updateAllBaseStates(\"header.headEndItems\",w.Add,\"userActionsMenuHeaderButton\")}},getShellHeader:function(){return this._oShellHeader},getRightFloatingContainer:function(){return this._oRightFloatingContainer},bindFactory:function(e){const t=e.model;const n=e.factory;const i=e.bindingPath;const l=e.bindingType;const o=e.valueCheck;let a=t.getProperty(i);if(o(a)){n()}else{let e;switch(l){case P.List:e=t.bindList(i);break;default:e=t.bindProperty(i)}this.addDanglingBinding(e);e.attachChange(function(){a=e.getModel().getProperty(e.getPath());if(o(a)){this.removeDanglingBinding(e);e.destroy();n()}},this)}},addDanglingBinding:function(e){this.getController().addDanglingBinding(e)},removeDanglingBinding:function(e){this.getController().removeDanglingBinding(e)},addDanglingControl:function(e){this.getController().addDanglingControl(e)},addPendingInitialization:function(e){return this.getController().addPendingInitialization(e)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/ShellLayout\", [\"sap/base/Log\",\"sap/ui/base/EventProvider\",\"sap/ushell/EventHub\",\"sap/ushell/state/ShellModel\"],(e,t,a,o)=>{\"use strict\";const i={RootDomRef:\"shellLayout\",ShellHeader:\"header-shellArea\",RendererRootView:\"canvas\",SideNavigation:\"sideNavigation-shellArea\",SidePane:\"sidePane-shellArea\",Footer:\"footer-shellArea\",ToolArea:\"toolArea-shellArea\",SubHeader:\"subHeader-shellArea\",NavigationBar:\"navigationBar-shellArea\",FloatingActions:\"floatingActions-shellArea\",FloatingContainer:\"floatingContainer-shellArea\",FloatingContainerDockStart:\"floatingContainerDockStart-shellArea\",FloatingContainerDockEnd:\"floatingContainerDockEnd-shellArea\",RightFloatingContainer:\"rightFloatingContainer-shellArea\",BackgroundImage:\"backgroundImage-shellArea\",HelpContent:\"helpContent-shellArea\",WebComponents:\"WebComponents-shellArea\"};class n{#e=null;#t=false;#a=new t;#o=[];#i=[];#n=null;ShellArea=i;constructor(){this.#l()}#l(){this.#n=o.getModel();[this.#n.bindProperty(\"/sideNavigation/visible\"),this.#n.bindProperty(\"/sidePane/visible\"),this.#n.bindProperty(\"/toolArea/visible\")].forEach(e=>{e.attachChange(()=>{this.#s()});this.#o.push(e)});this.#i.push(a.on(\"sideNavigationModeChanged\").do(e=>{this.#e=e;this.#s()}));this.#t=this.hasAdjacentSideContentBeforeMain()}applyLayout(t){const a=document.getElementById(t);i.RendererRootView=t;const o=[`<div id='${i.RootDomRef}' class='sapUshellFlexRow'>`,` <div id='${i.BackgroundImage}' data-sap-ui-root-content=true></div>`,` <div id='${i.WebComponents}' data-sap-ui-root-content=true></div>`,\" <div id='sapUshellPopupWithinArea' class='sapUshellFlexGrowShrink sapUshellFlexRow'>\",` <div id='${i.FloatingContainerDockStart}' class='sapUshellFloatingContainerDock' data-sap-ui-root-content=true></div>`,\" <div class='sapUshellFlexGrowShrink sapUshellFlexColumn'>\",` <div id='${i.ShellHeader}' data-sap-ui-root-content=true></div>`,\" <div class='sapUshellFlexGrowShrink sapUshellFlexRow'>\",` <div id='${i.SideNavigation}' data-sap-ui-root-content=true></div>`,\" <div class='sapUshellFlexGrowShrink sapUshellFlexColumn'>\",` <div id='${i.SubHeader}' data-sap-ui-root-content=true></div>`,\" <div class='sapUshellFlexGrowShrink sapUshellFlexRow'>\",` <div id='${i.ToolArea}' class='sapUshellPositionRelative' data-sap-ui-root-content=true></div>`,` <div id='${i.SidePane}' data-sap-ui-root-content=true></div>`,\" <div class='sapUshellFlexGrowShrink sapUshellFlexColumn'>\",` <div id='${i.NavigationBar}' data-sap-ui-root-content=true></div>`,\" <div class='sapUshellFlexGrowShrink sapUshellPositionRelative sapUshellOverflowHidden sapUshellFlexColumn'>\",` <div id='${i.RendererRootView}' class='sapUshellFlexGrowShrink sapUshellPositionRelative sapUshellShell' data-sap-ui-root-content=true></div>`,` <div id='${i.FloatingActions}' data-sap-ui-root-content=true></div>`,` <div id='${i.RightFloatingContainer}' data-sap-ui-root-content=true></div>`,\" </div>\",\" </div>\",\" </div>\",\" </div>\",\" </div>\",` <footer id='${i.Footer}' class='sapUshellPositionStatic sapMPageFooter' data-sap-ui-root-content=true></footer>`,\" </div>\",` <div id='${i.FloatingContainerDockEnd}' class='sapUshellFloatingContainerDock' data-sap-ui-root-content=true></div>`,` <div id='${i.FloatingContainer}' data-sap-ui-root-content=true></div>`,\" </div>\",` <div id='${i.HelpContent}' data-sap-ui-root-content=true></div>`,\"</div>\"].join(\"\\n\");const n=Object.keys(i).some(e=>{if(e===\"RendererRootView\"){return false}const t=i[e];return!!document.getElementById(t)});if(n){e.warning(\"Found a ShellArea element. Did not apply the layout\",\"sap.ushell.renderer.ShellLayout\");return}document.body.insertAdjacentHTML(\"afterbegin\",`<div id='tmp'>${o}</div>`);const l=document.getElementById(\"tmp\");a.replaceWith.apply(a,Array.from(l.childNodes));l.remove()}destroyLayout(){const e=document.getElementById(i.RootDomRef);if(e){document.getElementById(i.RootDomRef).remove()}}hasAdjacentSideContentBeforeMain(){const e=this.#n.getProperty(\"/sideNavigation/visible\");const t=this.#n.getProperty(\"/sidePane/visible\");const a=this.#n.getProperty(\"/toolArea/visible\");if(t||a){return true}if(e&&this.#e===\"Docked\"){return true}return false}#s(){if(this.#t!==this.hasAdjacentSideContentBeforeMain()){this.#t=!this.#t;this.#a.fireEvent(\"adjacentSideContentBeforeMainChanged\",{hasAdjacentContentBefore:this.#t})}}attachAdjacentSideContentBeforeMainChanged(...e){this.#a.attachEvent(\"adjacentSideContentBeforeMainChanged\",...e)}detachAdjacentSideContentBeforeMainChanged(...e){this.#a.detachEvent(\"adjacentSideContentBeforeMainChanged\",...e)}reset(){this.#o.forEach(e=>{e.destroy()});this.#o=[];this.#i.forEach(e=>{e.off()});this.#i=[];this.#l()}}return new n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/allMyApps/AllMyApps.controller\", [\"sap/m/library\",\"sap/m/StandardListItem\",\"sap/ui/core/EventBus\",\"sap/ui/core/mvc/Controller\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ui/performance/Measurement\",\"sap/ushell/Config\",\"sap/ushell/library\",\"sap/ushell/renderer/allMyApps/AllMyAppsManager\",\"sap/ushell/resources\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/EventHub\",\"sap/ushell/state/ShellModel\",\"sap/ushell/Container\",\"sap/ushell/renderers/fiori2/allMyApps/AllMyAppsManager\"],(e,t,s,i,l,n,o,a,r,p,d,g,h,c,u,M)=>{\"use strict\";const A=e.ListType;const y=r.AllMyAppsState;const f=r.AllMyAppsProviderType;const L=r.AppTitleState;let m=false;return i.extend(\"sap.ushell.renderer.allMyApps.AllMyApps\",{iNumberOfProviders:0,onInit:function(){this.bFirstLoadOfAllMyApps=true;const e=new n;const t=this.getView();const i=s.getInstance();e.setSizeLimit(1e4);e.setProperty(\"/AppsData\",[]);e.setProperty(\"/catalogEnabled\",a.last(\"/core/catalog/enabled\"));t.setModel(d.i18nModel,\"i18n\");t.setModel(e,\"allMyAppsModel\");if(!this._fnResizeHandler){this._fnResizeHandler=this._adjustItemNavigationColumns.bind(this);window.addEventListener(\"resize\",this._fnResizeHandler)}i.subscribe(\"launchpad\",\"allMyAppsFirstCatalogLoaded\",this.updateMasterFocusAndDetailsContext,this);i.subscribe(\"launchpad\",\"allMyAppsFirstCatalogLoaded\",this.onDetailLoad,this);i.subscribe(\"launchpad\",\"allMyAppsMasterLoaded\",this.onMasterLoad,this);i.subscribe(\"launchpad\",\"allMyAppsNoCatalogsLoaded\",this.onNoCatalogsLoaded,this)},_getConfigModel:function(){return c.getConfigModel()},onExit:function(){const e=s.getInstance();if(this._fnResizeHandler){window.removeEventListener(\"resize\",this._fnResizeHandler);delete this._fnResizeHandler}const t=this.getView();const i=t&&t.byId(\"oItemsContainerlist\");const l=i&&i.getDomRef();if(this._fnFocusInHandler&&l){l.removeEventListener(\"focusin\",this._fnFocusInHandler);delete this._fnFocusInHandler}e.unsubscribe(\"launchpad\",\"allMyAppsFirstCatalogLoaded\",this.updateMasterFocusAndDetailsContext);e.unsubscribe(\"launchpad\",\"allMyAppsFirstCatalogLoaded\",this.onDetailLoad,this);e.unsubscribe(\"launchpad\",\"allMyAppsMasterLoaded\",this.onMasterLoad,this);e.unsubscribe(\"launchpad\",\"allMyAppsNoCatalogsLoaded\",this.onNoCatalogsLoaded,this)},_adjustItemNavigationColumns:function(){const e=this.getView();const t=e&&e.byId(\"oItemsContainerlist\");const s=t&&t.getItemNavigation();const i=t&&t.getItems();if(s&&i.length>1){const e=i[0].getDomRef();const t=i[1].getDomRef();if(e&&t){const i=e.getBoundingClientRect().y===t.getBoundingClientRect().y;s.setColumns(i?2:1)}}},onBeforeRendering:function(){const e=this.getView();const t=e&&e.byId(\"oItemsContainerlist\");const s=t&&t.getDomRef();if(this._fnFocusInHandler&&s){s.removeEventListener(\"focusin\",this._fnFocusInHandler);delete this._fnFocusInHandler}},onAfterRendering:function(){return new Promise((e,t)=>{const s=this;const i=this.getView();const n=i.getModel(\"allMyAppsModel\");const o=this._getSplitApp();const a=i.byId(\"sapUshellAllMyAppsMasterPage\");const r=i.byId(\"sapUshellAllMyAppsDetailsPage\");if(!this.bAfterInitialLoading){if(a){a.setBusy(true)}if(r){r.setBusy(true)}o.toMaster(this.createId(\"sapUshellAllMyAppsMasterPage\"),\"show\");if(!l.system.phone){o.toDetail(\"sapUshellAllMyAppsDetailsPage\",\"show\")}}if(this.bFirstLoadOfAllMyApps){n.setProperty(\"/AppsData\",[])}else{const e=n.getProperty(\"/AppsData\");n.setProperty(\"/AppsData\",e)}const p=i.byId(\"oItemsContainerlist\");const d=p&&p.getDomRef();if(!this._fnFocusInHandler&&d){this._fnFocusInHandler=this._adjustItemNavigationColumns.bind(this);d.addEventListener(\"focusin\",this._fnFocusInHandler)}setTimeout(()=>{s._getAllMyAppsManager().loadAppsData(n,s._getPopoverObject(),s.bFirstLoadOfAllMyApps);s._isSingleDataSource().then(t=>{m=t;s.switchToInitialState();s.bFirstLoadOfAllMyApps=false;e()})},0)})},switchToInitialState:function(){const e=this._getDataSourceList();return this._isSingleDataSource().then(t=>{if(t){this._getConfigModel().setProperty(\"/allMyAppsMasterLevel\",y.FirstLevelSpread);e.bindItems(\"allMyAppsModel>/AppsData/0/groups\",this._getMasterListItemTemplate)}else{this._getConfigModel().setProperty(\"/allMyAppsMasterLevel\",y.FirstLevel);e.bindItems(\"allMyAppsModel>/AppsData\",this._getMasterListItemTemplate())}if(l.system.phone){this._getSplitApp().toMaster(this.createId(\"sapUshellAllMyAppsMasterPage\"),\"show\")}e.invalidate();this.updateMasterFocusAndDetailsContext(undefined,undefined,{bFirstCatalogLoadedEvent:true});this._getPopoverHeaderLabel().setText(d.i18n.getText(\"allMyApps_headerTitle\"));this.updateHeaderButtonsState()})},handleSwitchToMasterAreaOnPhone:function(){const e=this._getDataSourcesSelectedPath();const t=e.split(\"/\");this._getSplitApp().toMaster(this.createId(\"sapUshellAllMyAppsMasterPage\"),\"show\");return this._isSingleDataSource().then(e=>{if(e){this._getConfigModel().setProperty(\"/allMyAppsMasterLevel\",y.FirstLevelSpread)}else if(t.length===3){this._getConfigModel().setProperty(\"/allMyAppsMasterLevel\",y.FirstLevel)}else{this._getConfigModel().setProperty(\"/allMyAppsMasterLevel\",y.SecondLevel)}this.updateHeaderButtonsState()})},handleMasterListItemPress:function(e){this.lastPressedMasterItem=e.getParameter(\"listItem\");const t=this._getClickedDataSourceItemPath(this.lastPressedMasterItem);const s=this.getView();const i=s.getModel(\"allMyAppsModel\");const l=i.getProperty(`${t}/type`);const n=this._getConfigModel().getProperty(\"/allMyAppsMasterLevel\");const o=this._getCustomPanel();const a=this._getCustomPanelLabel();const r=this._getCustomPanelLink();const p=l===f.CATALOG;let d;if(p||n===y.FirstLevelSpread||n===y.SecondLevel){d=this.handleMasterListItemPressToDetails(t)}else{d=this.handleMasterListItemPressToSecondLevel(t)}o.setBindingContext(d,\"allMyAppsModel\");a.setBindingContext(d,\"allMyAppsModel\");if(r&&r.getVisible&&r.getVisible()){r.setBindingContext(d,\"allMyAppsModel\")}},handleMasterListItemPressToSecondLevel:function(e){const t=this.getView();const s=t.getModel(\"allMyAppsModel\");const i=s.getProperty(`${e}/type`);const n=s.getProperty(`${e}/title`);const o=this._getSplitApp();const a=this._getDataSourceList();if(!l.system.phone){o.toDetail(this.createId(\"sapUshellAllMyAppsDetailsPage\"))}a.bindItems(`allMyAppsModel>${e}/groups`,this._getMasterListItemTemplate());this._getConfigModel().setProperty(\"/allMyAppsMasterLevel\",y.SecondLevel);const r=this._setBindingContext(`${e}/groups/0`,t.byId(\"oItemsContainerlist\"));a.invalidate();a.setSelectedItem(a.getItems()[0]);const p=a.getSelectedItem();if(p){p.focus()}if(i===f.HOME){this._getPopoverHeaderLabel().setText(d.i18n.getText(\"allMyApps_homeEntryTitle\"))}else if(i===f.EXTERNAL){this._getPopoverHeaderLabel().setText(n)}this._getDetailsHeaderLabel().setText(s.getProperty(`${e}/groups/0/title`));this.updateHeaderButtonsState();return r},handleMasterListItemPressToDetails:function(e){const t=this.getView();const s=t.getModel(\"allMyAppsModel\");const i=this._setBindingContext(e,t.byId(\"oItemsContainerlist\"));this._getDetailsHeaderLabel().setText(s.getProperty(`${e}/title`));if(l.system.phone){this._getSplitApp().toDetail(this.createId(\"sapUshellAllMyAppsDetailsPage\"));this._getConfigModel().setProperty(\"/allMyAppsMasterLevel\",y.Details)}this.updateHeaderButtonsState();return i},onMasterLoad:function(){const e=this.getView();const t=this._getPopoverHeaderBackButton();this.bAfterInitialLoading=true;e.byId(\"sapUshellAllMyAppsMasterPage\").setBusy(false);t.focus();this._isSingleDataSource().then(e=>{m=e;this.updateMasterFocusAndDetailsContext(undefined,undefined,{bFirstCatalogLoadedEvent:false})})},onDetailLoad:function(){const e=this.getView();const t=e.byId(\"sapUshellAllMyAppsDetailsPage\");t.setBusy(false);this.bAfterInitialLoading=true;if(!l.system.phone){this._getSplitApp().toDetail(this.createId(\"sapUshellAllMyAppsDetailsPage\"),\"show\")}},onNoCatalogsLoaded:function(){const e=this.getView();const t=e.byId(\"sapUshellAllMyAppsDetailsPage\");t.setBusy(false);this.bAfterInitialLoading=true;if(!l.system.phone&&!m){this._getSplitApp().toDetail(this.createId(\"sapUshellAllMyAppsEmptyDetailsPage\"),\"show\")}else if(!l.system.phone&&m){this._getSplitApp().toDetail(this.createId(\"sapUshellAllMyAppsDetailsPage\"))}},updateMasterFocusAndDetailsContext:function(e,t,s){const i=this.getView();const l=i.getModel(\"allMyAppsModel\");const n=this._getInitialFirstLevelSelectionIndex();const a=this._getDataSourceList();const r=this._getCustomPanelLabel();const p=this._getCustomPanelLink();let d;let g;if(m===true){d=l.createBindingContext(\"/AppsData/0/groups/0\");g=l.getProperty(d.getPath())}else{d=l.createBindingContext(`/AppsData/${n}`);g=l.getProperty(d.getPath())}i.byId(\"oItemsContainerlist\").setBindingContext(d,\"allMyAppsModel\");r.setBindingContext(d,\"allMyAppsModel\");i.byId(\"sapUshellAllMyAppsCustomPanel\").setBindingContext(d,\"allMyAppsModel\");if(p.getVisible()){p.setBindingContext(d,\"allMyAppsModel\")}if(g!==undefined){this._getDetailsHeaderLabel().setText(g.title)}if(s.bFirstCatalogLoadedEvent===true){a.invalidate()}if(s.bFirstCatalogLoadedEvent===false&&n===0){this.onNoCatalogsLoaded()}a.setSelectedItem(a.getItems()[n]);const h=a.getSelectedItem();if(h){setTimeout(()=>{h.focus()},0)}if(s.bFirstCatalogLoadedEvent){o.end(\"FLP:ShellAppTitle.onClick\");o.end(\"FLP:ShellNavMenu.footerClick\")}},handleCustomPanelLinkPress:function(e){const t=this.getView();const s=t.byId(\"sapUshellAllMyAppsCustomPanelLink\");const i=s.getVisible()?s.getBindingContext(\"allMyAppsModel\").getObject():{};if(i.handlePress){i.handlePress(e.getSource(),i)}},updateHeaderButtonsState:function(){this._getShellAppTitleToggleListButton().setVisible(this.getToggleListButtonVisible());this._getPopoverHeaderBackButton().setVisible(this.getBackButtonVisible())},getToggleListButtonVisible:function(){const e=this.getCurrentState();const t=l.media.getCurrentRange(l.media.RANGESETS.SAP_STANDARD).name===\"Phone\";const s=(t||l.system.phone)&&e===y.Details;return s},getBackButtonVisible:function(){const e=this._getConfigModel().getProperty(\"/shellAppTitleState\");if(e!==L.AllMyAppsOnly){return true}const t=this.getCurrentState();return t===y.SecondLevel||t===y.Details},onAppItemClick:function(e){const t=this.getView().getModel(\"allMyAppsModel\");const s=e.getSource().getBindingContext(\"allMyAppsModel\").getPath();const i=t.getProperty(`${s}/url`);if(i){h.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:i}});if(i[0]===\"#\"){hasher.setHash(i);setTimeout(()=>{this.getView().getParent().close()},50)}else{g.openURL(i,\"_blank\")}}},getCurrentState:function(){return this._getConfigModel().getProperty(\"/allMyAppsMasterLevel\")},_isSingleDataSource:function(){return u.getServiceAsync(\"AllMyApps\").then(e=>{if(e.isCatalogAppsEnabled()){return false}if(!e.isExternalProviderAppsEnabled()&&e.isHomePageAppsEnabled()){return true}return e.isExternalProviderAppsEnabled()&&Object.keys(e.getDataProviders()).length===1&&!e.isHomePageAppsEnabled()})},_getInitialFirstLevelSelectionIndex:function(){const e=this.getView();const t=e.getModel(\"allMyAppsModel\");const s=t.getProperty(\"/AppsData\");for(let e=0;e<s.length;e++){const t=s[e];if(t.type===f.CATALOG){return e}}return 0},_getPopoverHeaderBackButton:function(){if(!this._oPopoverHeaderBackButton){this._oPopoverHeaderBackButton=this._getPopoverHeaderContent(0)}return this._oPopoverHeaderBackButton},_getShellAppTitleToggleListButton:function(){if(!this._oShellAppTitleToggleListButton){this._oShellAppTitleToggleListButton=this._getPopoverHeaderContent(1)}return this._oShellAppTitleToggleListButton},_getPopoverHeaderContent:function(e){const t=this._getPopoverObject().getCustomHeader();const s=t.getContentLeft();const i=s[e];return i},_getPopoverHeaderLabel:function(){const e=this._getPopoverObject().getCustomHeader();const t=e.getContentMiddle();return t[0]},_getPopoverObject:function(){return this.getView().getParent()},_getDetailsHeaderLabel:function(){return this.getView().byId(\"sapUshellAllMyAppsDetailsHeaderLabel\")},_setBindingContext:function(e,t){const s=this.getView().getModel(\"allMyAppsModel\");const i=s.createBindingContext(e);t.setBindingContext(i,\"allMyAppsModel\");return i},_getClickedDataSourceItemPath:function(e){return e.getBindingContext(\"allMyAppsModel\").getPath()},_getAllMyAppsManager:function(){return p},_getDataSourcesSelectedPath:function(){return this.lastPressedMasterItem.getBindingContextPath()},getControllerName:function(){return\"sap.ushell.renderer.allMyApps.AllMyApps\"},formatListItemType:function(e,t){const s=l.system.phone||t===y.FirstLevel&&e!==f.CATALOG;return s?A.Navigation:A.Active},_getMasterListItemTemplate:function(){if(!this.oTemplate){this.oTemplate=new t({type:{parts:[\"allMyAppsModel>type\",\"/allMyAppsMasterLevel\"],formatter:this.formatListItemType},title:\"{allMyAppsModel>title}\",wrapping:true})}return this.oTemplate},_getSplitApp:function(){return this.getView().byId(\"sapUshellAllMyAppsMasterDetail\")},_getDataSourceList:function(){return this.getView().byId(\"sapUshellAllMyAppsDataSourcesList\")},_getCustomPanel:function(){return this.getView().byId(\"sapUshellAllMyAppsCustomPanel\")},_getCustomPanelLabel:function(){return this.getView().byId(\"sapUshellAllMyAppsCustomPanelLabel\")},_getCustomPanelLink:function(){return this.getView().byId(\"sapUshellAllMyAppsCustomPanelLink\")}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/allMyApps/AllMyAppsManager\", [\"sap/ui/core/EventBus\",\"sap/ui/thirdparty/hasher\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/resources\",\"sap/ushell/library\",\"sap/ushell/Container\"],(t,e,jQuery,s,o,i)=>{\"use strict\";const a=o.AllMyAppsProviderType;function r(){}r.prototype.loadAppsData=function(e,s,o){return i.getServiceAsync(\"AllMyApps\").then(i=>{this.oPopover=s;if(!i.isEnabled()){return}this.iNumberOfProviders=0;this.oModel=e;if(i.isHomePageAppsEnabled()){this._handleGroupsData()}if(i.isExternalProviderAppsEnabled()){this._handleExternalProvidersData(e)}if(i.isCatalogAppsEnabled()){this._handleCatalogs(o)}if(!i.isCatalogAppsEnabled()||i.isCatalogAppsEnabled()&&o){const e=t.getInstance();e.publish(\"launchpad\",\"allMyAppsMasterLoaded\")}})};r.prototype._handleGroupsData=function(){const t=this._getGroupsData();const e={title:s.i18n.getText(\"allMyApps_homeEntryTitle\")};let o;return new Promise((e,s)=>{t.done(e).fail(s)}).then(t=>{e.groups=t;e.type=a.HOME;if(t.length===0){return}o=this.oModel.getProperty(\"/AppsData\");if(o){const t=this._getIndexByType(o,e.type);if(t!==undefined){o[t]=e}else{o.unshift(e)}}this.oModel.setProperty(\"/AppsData\",o);this.iNumberOfProviders+=1})};r.prototype._getIndexByType=function(t,e){if(t.length<=0){return 0}for(let s=0;s<t.length;s++){if(t[s].type===e){return s}}};r.prototype._getGroupsData=function(){const t=new jQuery.Deferred;i.getServiceAsync(\"FlpLaunchPage\").then(t=>Promise.all([t.getDefaultGroup(),t.getGroups()])).then(t=>{this.oDefaultGroup=t[0];const e=t[1];const s=[];e.forEach(t=>{s.push(this._getFormattedGroup(t))});return Promise.all(s)}).then(e=>{const s=e.filter(t=>t&&(t.apps.length>0||t.numberCustomTiles>0));t.resolve(s)});return t.promise()};r.prototype._getFormattedGroup=function(t){let e;let o;let a;return i.getServiceAsync(\"FlpLaunchPage\").then(i=>{if(i.isGroupVisible(t)===false){return}if(i.getGroupId(t)===i.getGroupId(this.oDefaultGroup)){o=s.i18n.getText(\"my_group\")}else{o=i.getGroupTitle(t)}e={};e.title=o;e.apps=[];a=i.getGroupTiles(t);return this._getFormattedGroupApps(a)}).then(t=>{if(!t){return}e.apps=t.aFormattedApps;e.numberCustomTiles=t.iNumberOfCustomTiles;if(t.iNumberOfCustomTiles===1){e.sCustomLabel=s.i18n.getText(\"allMyApps_customStringSingle\");e.sCustomLink=s.i18n.getText(\"allMyApps_customLinkHomePageSingle\")}else{e.sCustomLabel=s.i18n.getText(\"allMyApps_customString\",[t.iNumberOfCustomTiles]);e.sCustomLink=s.i18n.getText(\"allMyApps_customLinkHomePage\")}e.handlePress=this._onHandleGroupPress;return e})};r.prototype._getFormattedGroupApps=function(t){const e=[];let s=0;return i.getServiceAsync(\"FlpLaunchPage\").then(o=>{const i=[];t.forEach(t=>{if(o.isTileIntentSupported(t)){const o=this._getAppEntityFromTile(t).then(t=>{if(t){e.push(t)}else{s++}});i.push(o)}});return Promise.all(i)}).then(()=>({iNumberOfCustomTiles:s,aFormattedApps:e}))};r.prototype._onHandleGroupPress=function(s,o){e.setHash(\"#Shell-home\");this.oPopover.close();const i=t.getInstance();i.subscribe(\"launchpad\",\"dashboardModelContentLoaded\",()=>{i.publish(\"launchpad\",\"scrollToGroupByName\",{groupName:o.title,isInEditTitle:false})},this);i.publish(\"launchpad\",\"scrollToGroupByName\",{groupName:o.title,isInEditTitle:false})};r.prototype._handleExternalProvidersData=function(){const e=this;return i.getServiceAsync(\"AllMyApps\").then(s=>{const o=s.getDataProviders();const i=Object.keys(o);let r;let l;let n;let p;let u;let g;if(i.length>0){for(u=0;u<i.length;u++){r=i[u];l=o[r];n=l.getTitle();p={};p.title=n;g=l.getData();g.done(function(s){if(s&&s.length>0){this.groups=s;this.type=a.EXTERNAL;e.oModel.setProperty(`/AppsData/${e.iNumberOfProviders}`,this);e.iNumberOfProviders+=1;const o=t.getInstance();o.publish(\"launchpad\",\"allMyAppsMasterLoaded\")}}.bind(p))}}})};r.prototype._handleNotFirstCatalogsLoad=function(){const e=this.oModel.getProperty(\"/AppsData\");const s=a.CATALOG;if(e.length&&e[e.length-1].type===s){this.bFirstCatalogLoaded=true;t.getInstance().publish(\"launchpad\",\"allMyAppsFirstCatalogLoaded\",{bFirstCatalogLoadedEvent:true})}};r.prototype._handleCatalogs=function(t){if(!t){this._handleNotFirstCatalogsLoad();return Promise.resolve()}this.bFirstCatalogLoaded=false;this.aPromises=[];return i.getServiceAsync(\"FlpLaunchPage\").then(t=>{t.getCatalogs().done(()=>{jQuery.when.apply(jQuery,this.aPromises).then(this._onDoneLoadingCatalogs.bind(this))}).fail(()=>{this._onGetCatalogsFail(s.i18n.getText(\"fail_to_load_catalog_msg\"))}).progress(this._addCatalogToModel.bind(this))})};r.prototype._addCatalogToModel=function(o){let r;let l={apps:[],numberCustomTiles:0,type:null};let n;const p=[i.getServiceAsync(\"FlpLaunchPage\")];if(this._oAddCatalogToModelPromise){p.push(this._oAddCatalogToModelPromise)}this._oAddCatalogToModelPromise=Promise.all(p).then(t=>{r=t[0];l.type=a.CATALOG;const e=r.getCatalogTiles(o);this.aPromises.push(e);return e}).then(t=>{if(t.length===0){return}const e=r.getCatalogTitle(o);const s=this.oModel.getProperty(\"/AppsData\");for(n=0;n<s.length;n++){if(s[n].type===a.CATALOG&&s[n].title===e){l=s[n];break}}l.title=r.getCatalogTitle(o);return this._getFormattedGroupApps(t)}).then(o=>{if(!o){return}Array.prototype.push.apply(l.apps,o.aFormattedApps);l.numberCustomTiles=o.iNumberOfCustomTiles;if(l.numberCustomTiles===1){l.sCustomLabel=s.i18n.getText(\"allMyApps_customStringSingle\");l.sCustomLink=s.i18n.getText(\"allMyApps_customLinkAppFinderSingle\")}else{l.sCustomLabel=s.i18n.getText(\"allMyApps_customString\",[l.numberCustomTiles]);l.sCustomLink=s.i18n.getText(\"allMyApps_customLinkAppFinder\")}l.handlePress=function(t,s){this.oPopover.close();e.setHash(`#Shell-home&/appFinder/catalog/${JSON.stringify({catalogSelector:s.title,tileFilter:\"\",tagFilter:\"[]\",targetGroup:\"\"})}`)}.bind(this);if(l.apps.length>0||l.numberCustomTiles>0){this.oModel.setProperty(`/AppsData/${n}`,l);if(this.bFirstCatalogLoaded===false){t.getInstance().publish(\"launchpad\",\"allMyAppsFirstCatalogLoaded\",{bFirstCatalogLoadedEvent:true});this.bFirstCatalogLoaded=true}this.iNumberOfProviders+=1}});return this._oAddCatalogToModelPromise};r.prototype._onGetCatalogsFail=function(t){return i.getServiceAsync(\"MessageInternal\").then(e=>{e.info(t)})};r.prototype._onDoneLoadingCatalogs=function(){const e=this.oModel.getProperty(\"/AppsData\");e.sort((t,e)=>{const s=t.title.toUpperCase();const o=e.title.toUpperCase();if(s<o){return-1}if(s>o){return 1}return 0});this.oModel.setProperty(\"/AppsData\",e);const s=t.getInstance();if(!this.bFirstCatalogLoaded){s.publish(\"launchpad\",\"allMyAppsNoCatalogsLoaded\")}};r.prototype._getAppEntityFromTile=function(t){return i.getServiceAsync(\"FlpLaunchPage\").then(e=>{let s;const o=e.getCatalogTilePreviewTitle(t);const i=e.getCatalogTilePreviewSubtitle(t);const a=e.getCatalogTileTargetURL(t);if(a&&(o||i)){s={};s.url=a;if(o){s.title=o;s.subTitle=i}else{s.title=i}return s}})};return new r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/rendererTargetWrapper/Component\", [\"sap/ui/core/UIComponent\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/resources\"],(t,e,n,o,s)=>{\"use strict\";return t.extend(\"sap.ushell.renderer.rendererTargetWrapper.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\"},init:function(){t.prototype.init.apply(this,arguments);const a=this.getComponentData();this.setModel(new e(a));this.setModel(s.i18nModel,\"i18n\");this._oReloadCurrentAppDoable=o.on(\"reloadCurrentApp\").do(async t=>{const e=t.sAppId;if(!e){return}const o=await this.rootControlLoaded();const s=o.getController();const a=await s.getComponentInstance();if(a&&a.getId()===e){await s.reloadApp();const t=await this.getComponentInstance();const e=await n.getServiceAsync(\"AppLifeCycle\");e.prepareCurrentAppObject(\"UI5\",t,true)}})},getComponentInstance:async function(){const t=await this.rootControlLoaded();const e=t.getController();return await e.getComponentInstance()},destroy:async function(){const e=await this.getComponentInstance();if(e){e.destroy()}this._oReloadCurrentAppDoable.off();delete this._oReloadCurrentAppDoable;t.prototype.destroy.apply(this,arguments)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/rendererTargetWrapper/RendererTarget.controller\", [\"sap/ui/core/EventBus\",\"sap/ui/core/mvc/Controller\"],(e,n)=>{\"use strict\";return n.extend(\"sap.ushell.renderer.rendererTargetWrapper.RendererTarget\",{onInit:function(){const e=this.byId(\"appContainer\");e.loadChild()},reloadApp:function(){const e=this.byId(\"appContainer\");e.destroyChild();return e.loadChild()},getComponentInstance:async function(){const e=this.byId(\"appContainer\");const n=await e.getChild();if(typeof n.getComponentInstance===\"function\"){return n.getComponentInstance()}},onChildDestroy:function(){e.getInstance().publish(\"sap.ushell.renderer.Renderer\",\"appClosed\",{})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/us Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/DestroyHelper\", [],()=>{\"use strict\";function t(t){let e;if(t&&t.content){for(e=0;e<t.content.length;e++){if(t.content[e].destroy){t.content[e].destroy()}}}}function e(e){let n;if(e){for(n=0;n<e.length;n++){t(e[n])}}}function n(t){if(t){e(t.tiles)}}function o(t){let e;if(t){for(e=0;e<t.length;e++){n(t[e])}}}return{destroyFLPAggregationModel:n,destroyFLPAggregationModels:o,destroyTileModel:t,destroyTileModels:e}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/GroupsHelper\", [],()=>{\"use strict\";function r(r,t){for(let e=0;e<r.length;e++){if(r[e].groupId===t){return e}}return-1}function t(t,e){const n=r(t,e);if(n<0){return null}return`/groups/${n}`}return{getIndexOfGroup:r,getModelPathOfGroup:t}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/HomepageManager\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\",\"sap/ui/base/Object\",\"sap/ui/Device\",\"sap/ui/model/Filter\",\"sap/ushell/ui/launchpad/TileState\",\"sap/ushell/components/_HomepageManager/PagingManager\",\"sap/ushell/components/_HomepageManager/DashboardLoadingManager\",\"sap/ushell/EventHub\",\"sap/ushell/Config\",\"sap/ushell/utils\",\"sap/ushell/resources\",\"sap/ushell/components/DestroyHelper\",\"sap/ushell/components/GroupsHelper\",\"sap/ushell/components/MessagingHelper\",\"sap/m/GenericTile\",\"sap/m/SelectDialog\",\"sap/m/StandardListItem\",\"sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter\",\"sap/ushell/components/_HomepageManager/TransientPageOperationAdapter\",\"sap/ui/model/FilterOperator\",\"sap/m/library\",\"sap/ui/model/Context\",\"sap/m/MessageToast\",\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ui/performance/Measurement\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(jQuery,e,t,o,i,s,n,r,l,a,d,u,p,h,c,g,f,b,m,M,P,T,G,_,y,I,k,w,L,S)=>{\"use strict\";const v=G.GenericTileScope;const A={PERSONALIZATION:\"FLP: Personalization\",RENAME_GROUP:\"FLP: Rename Group\",MOVE_GROUP:\"FLP: Move Group\",DELETE_GROUP:\"FLP: Delete Group\",RESET_GROUP:\"FLP: Reset Group\",DELETE_TILE:\"FLP: Delete Tile\",ADD_TILE:\"FLP: Add Tile\",MOVE_TILE:\"FLP: Move Tile\"};const O=[];let V;const x=o.extend(\"sap.ushell.components.HomepageManager\",{metadata:{publicMethods:[\"getModel\",\"getDashboardView\",\"loadPersonalizedGroups\",\"resetGroupsOnFailure\",\"addGroupToModel\",\"addTileToGroup\",\"deleteTilesFromGroup\"]},analyticsConstants:A,constructor:function(e,o){if(V){if(!V.view){V.setDashboardView(o.view)}return V}this.oServiceLoadingPromise=S.getServiceAsync(\"FlpLaunchPage\").then(e=>{this.oPageBuilderService=e;this.oPageBuilderService.registerTileActionsProvider(this._addFLPActionsToTile.bind(this));this.oPageOperationAdapter=M.getInstance(e);this.bLinkPersonalizationSupported=this.oPageOperationAdapter.isLinkPersonalizationSupported()});t.attachApplied(u.handleTilesVisibility);V=this;this.oModel=o.model;this.oRouter=o.router;this.oDashboardView=o.view;this.oSortableDeferred=new jQuery.Deferred;this.oSortableDeferred.resolve();this.registerEvents();this.tileViewUpdateQueue=[];this.tileViewUpdateTimeoutID=0;this.tileUuid=null;this.bIsGroupsModelLoading=false;this.bIsGroupsRequestPending=false;this.segmentsStore=[];this.bIsFirstSegment=true;this.bIsFirstSegmentViewLoaded=false;this.aGroupsFrame=null;this.iMinNumOfTilesForBlindLoading=this.oModel.getProperty(\"/optimizeTileLoadingThreshold\")||100;this.bIsScrollModeAccordingKPI=false;this.oGroupNotLockedFilter=new s(\"isGroupLocked\",T.EQ,false);this.oDashboardLoadingManager=new l(\"loadingManager\",{oDashboardManager:this});if(this.oRouter){const e=this.oRouter.getTarget(\"home\");e.attachDisplay(e=>{this.oDashboardView=e.getParameter(\"view\")})}let i=d.last(\"/core/home/enableTransientMode\");O.push(d.on(\"/core/home/enableTransientMode\").do(e=>{if(i===e){return}i=e;this._changeMode(e)}));this.oModel.bindProperty(\"/tileActionModeActive\").attachChange(this._changeLinksScope.bind(this));this._aRequestQueue=[];this._bRequestRunning=false;return undefined},_addRequest:function(e){this._aRequestQueue.push(e);if(!this._bRequestRunning){this._bRequestRunning=true;this._aRequestQueue.shift()()}},_checkRequestQueue:function(){if(this._aRequestQueue.length===0){this._bRequestRunning=false}else{this._aRequestQueue.shift()()}},_requestFailed:function(){this._aRequestQueue=[];this._bRequestRunning=false},isBlindLoading:function(){const e=d.last(\"/core/home/homePageGroupDisplay\");if((e===undefined||e===\"scroll\")&&this.bIsScrollModeAccordingKPI){I.info(\"isBlindLoading reason IsScrollModeAccordingKPI and IsScrollMode: true\");return true}if(this.oModel.getProperty(\"/tileActionModeActive\")){I.info(\"isBlindLoading reason TileActionModeActive : true\");return true}return false},createMoveActionDialog:function(e){const t=new b(e,{title:p.i18n.getText(\"moveTileDialog_title\"),rememberSelections:false,contentWidth:\"400px\",contentHeight:\"auto\",confirm:function(t){const o=t.getParameter(\"selectedContexts\");this.publishMoveActionEvents(o,e)}.bind(this),cancel:function(){const e=document.querySelector('.sapUshellTile[tabindex=\"0\"]');if(e){e.focus()}},items:{path:\"/groups\",template:new m({title:\"{title}\"})}});return t},publishMoveActionEvents:function(t,o){const s=e.getEventBus();if(t.length){const e=this.tileType===\"link\"?\"links\":\"tiles\";const n=t[0].getObject().groupId;const r={sTileId:this.tileUuid,sToItems:e,sFromItems:e,sTileType:e,toGroupId:t[0].getObject().groupId,toIndex:t[0].getObject()[this.tileType===\"link\"?\"links\":\"tiles\"].length,source:o};if(i.system.desktop){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\"],e=>{e.getInstance().then(e=>{r.callBack=e.callbackSetFocus.bind(e);s.publish(\"launchpad\",\"scrollToGroup\",{groupId:n});s.publish(\"launchpad\",\"movetile\",r)})})}else{s.publish(\"launchpad\",\"scrollToGroup\",{groupId:n});s.publish(\"launchpad\",\"movetile\",r)}}},_changeLinksScope:function(e){const t=this;if(this.bLinkPersonalizationSupported){const o=e.getSource().getValue();this.oModel.getProperty(\"/groups\").forEach((e,i)=>{if(!e.isGroupLocked){t._changeGroupLinksScope(e,o?\"Actions\":\"Display\")}})}},_changeGroupLinksScope:function(e,t){const o=this;e.links.forEach((e,i)=>{o._changeLinkScope(e.content[0],t)})},_changeLinkScope:function(e,t){let o;if(e.getScope){o=e}else if(e.getContent){o=e.getContent()[0]}if(this.bLinkPersonalizationSupported&&o&&o.setScope){o.setScope(t)}},registerEvents:function(){const t=e.getEventBus();t.subscribe(\"launchpad\",\"addBookmarkTile\",this._createBookmark,this);t.subscribe(\"launchpad\",\"tabSelected\",this.getSegmentTabContentViews,this);t.subscribe(\"sap.ushell.services.Bookmark\",\"bookmarkTileAdded\",this._addBookmarkToModel,this);t.subscribe(\"sap.ushell.services.Bookmark\",\"catalogTileAdded\",this._refreshGroupInModel,this);t.subscribe(\"sap.ushell.services.Bookmark\",\"bookmarkTileDeleted\",this.loadPersonalizedGroups,this);t.subscribe(\"launchpad\",\"loadDashboardGroups\",this.loadPersonalizedGroups,this);t.subscribe(\"launchpad\",\"createGroupAt\",this._createGroupAt,this);t.subscribe(\"launchpad\",\"deleteGroup\",this._deleteGroup,this);t.subscribe(\"launchpad\",\"resetGroup\",this._resetGroup,this);t.subscribe(\"launchpad\",\"changeGroupTitle\",this._changeGroupTitle,this);t.subscribe(\"launchpad\",\"moveGroup\",this._moveGroup,this);t.subscribe(\"launchpad\",\"deleteTile\",this._deleteTile,this);t.subscribe(\"launchpad\",\"movetile\",this._moveTile,this);t.subscribe(\"launchpad\",\"sortableStart\",this._sortableStart,this);t.subscribe(\"launchpad\",\"sortableStop\",this._sortableStop,this);t.subscribe(\"launchpad\",\"dashboardModelContentLoaded\",this._modelLoaded,this);t.subscribe(\"launchpad\",\"convertTile\",this._convertTile,this)},_changeMode:function(e){const t=this.getModel().getProperty(\"/groups\");if(e){this.oPageOperationAdapter=P.getInstance();const e=this.oPageOperationAdapter.transformGroupModel(t);this.getModel().setProperty(\"/groups\",e)}else{this.oPageOperationAdapter=M.getInstance();h.destroyFLPAggregationModels(t);this.getModel().setProperty(\"/groups\",[]);this.loadPersonalizedGroups()}},_addFLPActionsToTile:function(e){const t=[];if(d.last(\"/core/shell/enablePersonalization\")){const o=this.bLinkPersonalizationSupported&&this.oPageOperationAdapter.isLinkPersonalizationSupported(e);t.push(this._getMoveTileAction(e));if(o){t.push(this._getConvertTileAction(e))}}return t},getPersonalizableGroups:function(){const e=this.getModel().getProperty(\"/groups\");return e.filter(e=>!e.isGroupLocked)},_getConvertTileAction:function(t){const o=e.getEventBus();const s=this.oPageOperationAdapter.getTileType(t);const n=s===\"tile\"?\"ConvertToLink\":\"ConvertToTile\";return{id:n,text:p.i18n.getText(n),press:function(e){const t={tile:e};if(i.system.desktop){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\"],e=>{e.getInstance().then(e=>{t.callBack=e.callbackSetFocus.bind(e);o.publish(\"launchpad\",\"convertTile\",t)})})}else{o.publish(\"launchpad\",\"convertTile\",t)}}}},_getMoveTileAction:function(e){const t=\"moveTile_action\";return{id:t,text:p.i18n.getText(t),press:function(t){this.tileType=this.oPageOperationAdapter.getTileType(e);const o=this.tileType===\"tile\";this.tileUuid=this.getModelTileById(this.oPageOperationAdapter.getTileId(e),o?\"tiles\":\"links\").uuid;const i=t.getParent().getProperty(\"groupId\");const n=new s(\"groupId\",T.NE,i);const r=function(e){const t=e.getParameter(\"value\");const o=new s(\"title\",T.Contains,t);const i=e.getSource().getBinding(\"items\");i.filter([o,this.oGroupNotLockedFilter,n])}.bind(this);let l=o?this.moveTileDialog:this.moveLinkDialog;if(!l){l=this.createMoveActionDialog(`move${this.tileType}Dialog`);l.setModel(this.oModel);if(o){this.moveTileDialog=l}else{this.moveLinkDialog=l}}else{l.detachSearch(l._searchHandler)}l.getBinding(\"items\").filter([this.oGroupNotLockedFilter,n]);l.attachSearch(r);l._searchHandler=r;l.open()}.bind(this)}},_handleTileAppearanceAnimation:function(e){if(!e){return}const t=[\"webkit\",\"\"];function o(o,i){for(let o=0;o<t.length;o++){i=i.toLowerCase();e.attachBrowserEvent(t[o]+i,t=>{if(t.originalEvent&&t.originalEvent.animationName===\"sapUshellTileEntranceAnimation\"){e.removeStyleClass(\"sapUshellTileEntrance\")}},false)}}o(e,\"AnimationEnd\");e.addStyleClass(\"sapUshellTileEntrance\")},destroy:function(){const i=e.getEventBus();i.unsubscribe(\"launchpad\",\"addBookmarkTile\",this._createBookmark,this);i.unsubscribe(\"launchpad\",\"loadDashboardGroups\",this.loadPersonalizedGroups,this);i.unsubscribe(\"launchpad\",\"createGroupAt\",this._createGroupAt,this);i.unsubscribe(\"launchpad\",\"deleteGroup\",this._deleteGroup,this);i.unsubscribe(\"launchpad\",\"resetGroup\",this._resetGroup,this);i.unsubscribe(\"launchpad\",\"changeGroupTitle\",this._changeGroupTitle,this);i.unsubscribe(\"launchpad\",\"moveGroup\",this._moveGroup,this);i.unsubscribe(\"launchpad\",\"deleteTile\",this._deleteTile,this);i.unsubscribe(\"launchpad\",\"movetile\",this._moveTile,this);i.unsubscribe(\"launchpad\",\"sortableStart\",this._sortableStart,this);i.unsubscribe(\"launchpad\",\"sortableStop\",this._sortableStop,this);i.unsubscribe(\"launchpad\",\"dashboardModelContentLoaded\",this._modelLoaded,this);t.detachApplied(u.handleTilesVisibility);O.forEach(e=>{e.off()});M.destroy();P.destroy();V=undefined;o.prototype.destroy.apply(this,arguments)},_sortableStart:function(){this.oSortableDeferred=new jQuery.Deferred},_createBookmark:function(e,t,o){const i=o.group?o.group.object:\"\";delete o.group;function s(){S.getServiceAsync(\"BookmarkV2\").then(e=>{e.addBookmark(o,i).then(()=>{g.showLocalizedMessage(\"tile_created_msg\")}).catch(e=>{I.error(\"Failed to add bookmark\",e,\"sap.ushell.ui.footerbar.AddBookmarkButton\");g.showLocalizedError(\"fail_to_add_tile_msg\")}).finally(this._checkRequestQueue.bind(this))})}this._addRequest(s.bind(this))},_addBookmarkToModel:function(e,t,o){const i=o.tile;let s=o.group;if(!o||!i){this.bIsGroupsModelDirty=true;if(!this.bGroupsModelLoadingInProcess){this._handleBookmarkModelUpdate()}return}if(!s){const e=this.getModel().getProperty(\"/groups\");for(let t=0;t<e.length;t++){if(e[t].isDefaultGroup===true){s=e[t].object;break}}}const n=this._getIndexOfGroupByObject(s);const r=this.oModel.getProperty(`/groups/${n}`);const l=this.oPageOperationAdapter.getPreparedTileModel(i,r.isGroupLocked);this.getTileView(l);r.tiles.push(l);r.visibilityModes=u.calcVisibilityModes(r,true);const a=r.tiles.length;this._updateModelWithTileView(n,a);this.oModel.setProperty(`/groups/${n}`,r)},_refreshGroupInModel:function(e,t,o){const i=this;this.oPageOperationAdapter.refreshGroup(o).then(e=>{if(!e){return}const t=i._getIndexOfGroupByObject(e.object);e.visibilityModes=u.calcVisibilityModes(e.object,true);i.oModel.setProperty(`/groups/${t}`,e);if(e.tiles){e.tiles.forEach(e=>{i.getTileView(e)})}})},_sortableStop:function(){this.oSortableDeferred.resolve()},_handleAfterSortable:function(e){return function(){const t=Array.prototype.slice.call(arguments);this.oSortableDeferred.done(()=>{e.apply(null,t)})}.bind(this)},_createGroupAt:function(e,t,o){const i=parseInt(o.location,10);const s=this.oModel.getProperty(\"/groups\");const n=this.oPageOperationAdapter.getPreparedGroupModel(null,false,i===s.length,o);const r=this.oModel;let l;n.index=i;s.splice(i,0,n);for(l=0;l<s.length-1;l++){s[l].isLastGroup=false}for(l=i+1;l<s.length;l++){s[l].index++}r.setProperty(\"/groups\",s)},_getIndexOfGroupByObject:function(e){const t=this.oModel.getProperty(\"/groups\");return this.oPageOperationAdapter.getIndexOfGroup(t,e)},getTileActions:function(e){return this.oPageOperationAdapter.getTileActions(e)},addTileToGroup:function(e,t){const o=`${e}/tiles`;const i=this.oModel.getProperty(e);const s=this.oModel.getProperty(o).length;const n=this.oModel.getProperty(`${e}/isGroupLocked`);const r=this.oModel.getProperty(\"/personalization\");i.tiles[s]=this.oPageOperationAdapter.getPreparedTileModel(t,n);this.getTileView(i.tiles[s]);i.visibilityModes=u.calcVisibilityModes(i,r);this._updateModelWithTileView(i.index,s);this.oModel.setProperty(e,i)},addTilesToGroupByCatalogTileId:function(e,t){const o=e.getBindingContext();for(let e=0;e<t.length;e++){this.addTileToGroupByCatalogTileId(o.sPath,t[e])}},addTileToGroupByCatalogTileId:function(e,t){if(!d.last(\"/core/home/enableTransientMode\")){return}const o=this.oPageOperationAdapter.getTileModelByCatalogTileId(t);if(!o){return}this.oDashboardLoadingManager.setTileResolved(o);const i=this.oModel.getProperty(`${e}/tiles`).length;const s=this.oModel.getProperty(e);s.tiles[i]=o;this.oModel.setProperty(e,s)},_getPathOfTile:function(e){const t=this.oModel.getProperty(\"/groups\");for(let o=0;o<t.length;++o){const i=t[o];const s=i.tiles;const n=i.links;for(let t=0;t<s.length;++t){if(s[t].uuid===e){return`/groups/${o}/tiles/${t}`}}for(let t=0;t<n.length;++t){if(n[t].uuid===e){return`/groups/${o}/links/${t}`}}}return null},_moveInArray:function(e,t,o){if(o>=e.length){let t=o-e.length;while(t--+1){e.push(undefined)}}e.splice(o,0,e.splice(t,1)[0])},_updateGroupIndices:function(e){for(let t=0;t<e.length;t++){e[t].index=t}},_deleteGroup:function(t,o,i){const s=this.oModel;const n=i.groupId;const r=s.getProperty(\"/groups\");const l=c.getIndexOfGroup(r,n);const a=r.length-1===l;const d=a?l-1:l;h.destroyFLPAggregationModel(s.getProperty(`/groups/${l}`));const u=r.splice(l,1)[0];if(a){s.setProperty(`/groups/${d}/isLastGroup`,a)}s.setProperty(\"/groups\",r);this._updateGroupIndices(r);if(d>=0){window.setTimeout(()=>{e.getEventBus().publish(\"launchpad\",\"scrollToGroup\",{groupId:s.getProperty(\"/groups\")[d].groupId})},200)}function p(){this.oPageOperationAdapter.deleteGroup(u).then(()=>{g.showLocalizedMessage(\"group_deleted_msg\",[u.title]);this._checkRequestQueue()},()=>{this._resetGroupsOnFailure(\"fail_to_delete_group_msg\")})}this._addRequest(p.bind(this))},_resetGroup:function(t,o,i){const s=this;const n=i.groupId;const r=this.oModel;const l=r.getProperty(\"/groups\");const d=c.getIndexOfGroup(l,n);const p=s.oModel.getProperty(\"/groups/indexOfDefaultGroup\")===d;const h=r.getProperty(`/groups/${d}`);r.setProperty(`/groups/${d}/sortable`,false);function f(){s.oPageOperationAdapter.resetGroup(h,p).then(t=>{s._handleAfterSortable((t,o,i)=>{const n=s.oModel.getProperty(\"/groups\");const r=c.getIndexOfGroup(n,t);s._loadGroup(r,i||o);g.showLocalizedMessage(\"group_reset_msg\",[o.title]);s.oModel.setProperty(`/groups/${r}/sortable`,true);const l=e.byId(\"dashboardGroups\").getGroupControlByGroupId(t);const d=l.getBindingContext().getObject().links;if(d&&d.length&&!l.getIsGroupLocked()){s._changeGroupLinksScope(l.getBindingContext().getObject(),s.oModel.getProperty(\"/tileActionModeActive\")?v.Actions:v.Display)}if(l){l.invalidate();a.emit(\"updateGroups\",Date.now());u.handleTilesVisibility()}})(n,h,t);s._checkRequestQueue()},()=>{s._resetGroupsOnFailure(\"fail_to_reset_group_msg\")})}this._addRequest(f)},_moveGroup:function(e,t,o){if(isNaN(o.fromIndex)){return}let i=o.fromIndex;let s=o.toIndex;const n=this.oModel;let r=n.getProperty(\"/groups\");const l=n.getProperty(\"/tileActionModeActive\");const a=this;if(!l){i=this._adjustFromGroupIndex(i,r)}const d=r[i];const u=d.groupId;if(!l){s=this._adjustToGroupIndex(s,r,u)}const p=r[s];this._moveInArray(r,i,s);this._updateGroupIndices(r);for(let e=0;e<r.length-1;e++){r[e].isLastGroup=false}r[r.length-1].isLastGroup=true;n.setProperty(\"/groups\",r);function h(){r=n.getProperty(\"/groups\");const e=n.getProperty(c.getModelPathOfGroup(r,u));if(!e.object){return}a.oPageOperationAdapter.getOriginalGroupIndex(p,r).then(t=>{const o={iFromIndex:i,iToIndex:s};return a.oPageOperationAdapter.moveGroup(e,t,o)}).then(a._checkRequestQueue.bind(a),()=>{a._resetGroupsOnFailure(\"fail_to_move_group_msg\")})}this._addRequest(h)},_adjustToGroupIndex:function(e,t,o){let i=0;let s=false;let n;for(n=0;n<t.length&&i<e;n++){if(t[n].isGroupVisible){if(t[n].groupId===o){s=true}else{i++}}}if(s){return n-1}return n},_adjustFromGroupIndex:function(e,t){let o=0;for(let i=0;i<t.length;i++){if(t[i].isGroupVisible){o++}if(o===e+1){return i}}return e},_changeGroupTitle:function(e,t,o){const i=this;const s=o.newTitle;const n=this.oModel.getProperty(\"/groups\");const r=o.groupId;const l=c.getIndexOfGroup(n,r);const a=i.oModel.getProperty(\"/groups/indexOfDefaultGroup\")===l;const d=this.oModel.getProperty(`/groups/${l}`);const u=d.title;this.oModel.setProperty(`/groups/${l}/title`,s);function p(){let e;if(d.isLastGroup){e=i.oPageOperationAdapter.addGroupAt(d,undefined,a)}else{const t=i.oModel.getProperty(\"/groups\")[l+1];e=i.oPageOperationAdapter.getOriginalGroupIndex(t,n).then(e=>i.oPageOperationAdapter.addGroupAt(d,e,a))}e.then(e=>{i._handleAfterSortable((e,t)=>{const o=i.oModel.getProperty(\"/groups\");const s=c.getIndexOfGroup(o,e);const n=o[s];Object.keys(t).forEach(e=>{if(e===\"tiles\"||e===\"links\"){return}n[e]=t[e]});i.oModel.refresh();i._checkRequestQueue()})(r,e)},()=>{i._resetGroupsOnFailure(\"fail_to_create_group_msg\")})}function h(){this.oPageOperationAdapter.renameGroup(d,s,u).then(()=>{i._checkRequestQueue()},()=>{i._resetGroupsOnFailure(\"fail_to_rename_group_msg\")})}if(!d.object){this._checkRequestQueue();this._addRequest(p.bind(this))}else{this._addRequest(h.bind(this))}},addGroupToModel:function(e){const t=this.oPageOperationAdapter.getPreparedGroupModel(e,false,true,{isRendered:true});const o=this.oModel.getProperty(\"/groups\");const i=o.length;if(i>0){o[i-1].isLastGroup=false}t.index=i;o.push(t);this.oModel.setProperty(\"/groups/\",o);const s=new _(this.oModel,`/groups/${i}`);return s},_deleteTile:function(t,o,s){const n=s.tileId;const r=this.oModel.getProperty(\"/groups\");const l=s.items||\"tiles\";function a(e,t){this.oPageOperationAdapter.removeTile(e,t).then(this._checkRequestQueue.bind(this),this._resetGroupsOnFailure.bind(this,\"fail_to_remove_tile_msg\"))}function d(t,o,i){const s=e.byId(\"dashboardGroups\");const n=s.getGroupControlByGroupId(o.groupId);let r;if(i===\"tiles\"){if(t+1===o[i].length){r=n.oPlusTile}}else{const e=n.getLinks();if(t+1===e.length){if(e.length===1){r=n.oPlusTile}else{r=e[t-1]}}else{r=e[t+1]}}if(r){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\"],e=>{e.getInstance().then(e=>{e.moveScrollDashboard(r.$())})})}}for(let e=0;e<r.length;++e){const t=r[e];for(let o=0;o<t[l].length;++o){const s=t[l][o];if(s.uuid===n){if(i.system.desktop){d(o,t,l)}h.destroyTileModel(this.oModel.getProperty(`/groups/${e}/${l}/${o}`));const s=t[l].splice(o,1)[0];const n=this.oModel.getProperty(\"/personalization\");t.visibilityModes=u.calcVisibilityModes(t,n);this.oModel.setProperty(`/groups/${e}`,t);this._addRequest(a.bind(this,t,s));u.handleTilesVisibility();return}}}},deleteTilesFromGroup:function(e,t){const o=this.oModel.getProperty(\"/groups\");const i=c.getIndexOfGroup(o,e);const s=this.oModel.getProperty(`/groups/${i}`);let n=[];[\"tiles\",\"links\"].forEach(e=>{n=s[e].filter(e=>t.indexOf(e.uuid)<0);s[e]=n});s.visibilityModes=u.calcVisibilityModes(s,true);this.oModel.setProperty(`/groups/${i}`,s)},_getGroupIndex:function(e){const t=this.oModel.getProperty(\"/groups\");const o=this._getNewGroupInfo(t,e);if(o){return o.newGroupIndex}return undefined},_convertTile:function(e,t,o){const i=o.tile?o.tile:o;const s=o.srcGroupId?this._getGroupIndex(o.srcGroupId):undefined;const n=o.srcGroupId?this.oModel.getProperty(`/groups/${s}`):i.getParent().getBindingContext().getObject();const r=i.getBindingContext().sPath.split(\"/\");const l=i.getBindingContext().getObject();const d=r[r.length-2];const h=l.uuid;const c=parseInt(r[r.length-1],10);const g=o.toIndex!==undefined?o.toIndex:undefined;const f=this.oModel.getProperty(\"/tileActionModeActive\");const b=o.toGroupId?this._getGroupIndex(o.toGroupId):n.index;const m=o.toGroupId?this.oModel.getProperty(`/groups/${b}`):n;const M=this;const P=this._getIndexForConvert(d,c,g,n,m);const T={tileIndex:c,groupIndex:s,group:n};function G(){l.tileIsBeingMoved=true;const e=this.oPageOperationAdapter.moveTile(l,P,n,m,d===\"links\"?\"tile\":\"link\");e.then(e=>{M._handleAfterSortable((e,t)=>{const i=M._getPathOfTile(e);const s=t.content;if(i){if(d===\"tiles\"){M._attachLinkPressHandlers(s);M._changeLinkScope(s,f?\"Actions\":\"Display\")}if(n===m){y.show(p.i18n.getText(\"PageRuntime.Message.VisualizationConverted\"))}else{y.show(p.i18n.getText(\"PageRuntime.Message.VisualizationMovedAndConverted\"))}const e={tileIndex:g,groupIndex:b,group:m};const i={tile:l,view:s,type:d,tileObj:t.object};l.tileIsBeingMoved=true;M.replaceTileViewAfterConvert(T,e,i);a.emit(\"updateGroups\",Date.now());u.handleTilesVisibility();if(o.callBack){o.callBack(s)}}})(h,e);M._checkRequestQueue()},()=>{M._handleAfterSortable(M._resetGroupsOnFailure.bind(M))(\"fail_to_move_tile_msg\")})}this._addRequest(G.bind(this))},replaceTileViewAfterConvert:function(e,t,o){const i=o.tile;const s=i.content;i.tileIsBeingMoved=false;i.content=[o.view];i.object=o.tileObj;i.originalTileId=this.oPageOperationAdapter.getTileId(o.tileObj);e.group[o.type].splice(e.tileIndex,1);if(t.tileIndex!==undefined){t.group[o.type===\"tiles\"?\"links\":\"tiles\"].splice(t.tileIndex,0,i)}else{t.group[o.type===\"tiles\"?\"links\":\"tiles\"].push(i)}this.oModel.setProperty(`/groups/${t.groupIndex}`,t.group);this.oModel.setProperty(`/groups/${e.groupIndex}`,e.group);if(o.type===\"links\"){this._handleTileAppearanceAnimation(i.content[0].getParent())}else{this._handleTileAppearanceAnimation(i.content[0])}if(s&&s[0]){s[0].destroy()}},_getIndexForConvert:function(e,t,o,i,s){let n;if(e===\"tiles\"){if(o!==undefined){n=s[e].length+o}else{n=s[e].length+s.links.length}if(i.groupId===s.groupId){n--}}else{n=o||i.tiles.length;t+=i.tiles.length}return{tileIndex:t,newTileIndex:n}},_getIndexForMove:function(e,t,o,i,s){let n;if(e===\"tiles\"){n=o!==undefined?o:i[e].length}else{if(o!==undefined){n=i.tiles.length+o}else{n=i.tiles.length+i.links.length}t+=s.tiles.length}return{tileIndex:t,newTileIndex:n}},_getTileInfo:function(e,t,o){for(let i=0;i<e.length;++i){const s=e[i];for(let e=0;e<s[o].length;++e){const n=s[o][e];if(n.uuid===t){return{oTile:n,tileIndex:e,oGroup:s,groupIndex:i}}}}return},_getNewGroupInfo:function(e,t){for(let o=0;o<e.length;++o){const i=e[o];if(i.groupId===t){return{oNewGroup:i,newGroupIndex:o}}}return},_moveTile:function(e,t,o){let i=o.toIndex;const s=o.toGroupId;const n=o.sTileId;const r=o.source;const l=o.sTileType===\"tiles\"||o.sTileType===\"tile\"?\"tile\":\"link\";const d=o.sToItems;const h=o.sFromItems;const c=this.oModel.getProperty(\"/tileActionModeActive\");const g=this.oModel.getProperty(\"/groups\");const f=this._getTileInfo(g,n,h);const b=this._getNewGroupInfo(g,s);const m=this;const M=f.tileIndex===b.oNewGroup.tiles.length-1&&i>=b.oNewGroup.tiles.length;if((f.tileIndex===i||M)&&f.oGroup.groupId===b.oNewGroup.groupId){return}if(f.oGroup.groupId===b.oNewGroup.groupId&&(r===\"movetileDialog\"||i===null||r===\"movelinkDialog\")){if(o.callBack&&f.oTile&&f.oTile.content&&f.oTile.content.length){o.callBack(f.oTile.content[0])}return}if(l===\"link\"){f.oTile.content[0].addStyleClass(\"sapUshellZeroOpacity\")}if(l===\"tile\"&&d===\"tiles\"){if(i&&i>b.oNewGroup[d].length){i=b.oNewGroup[d].length}}if(f.oGroup.groupId===s&&d===h){if(i===null||i===undefined){f.oGroup[d].splice(f.tileIndex,1);i=f.oGroup[d].length;f.oGroup[d].push(f.oTile)}else{i=this._adjustTileIndex(i,f.oTile,f.oGroup,d);this._moveInArray(f.oGroup[d],f.tileIndex,i)}this.oModel.setProperty(`/groups/${f.groupIndex}/${d}`,f.oGroup[d])}else{const e=this.oModel.getProperty(\"/personalization\");f.oGroup[h].splice(f.tileIndex,1);f.oGroup.visibilityModes=u.calcVisibilityModes(f.oGroup,e);this.oModel.setProperty(`/groups/${f.groupIndex}/${h}`,f.oGroup[h]);if(i===null||i===undefined){i=b.oNewGroup[d].length;b.oNewGroup[d].push(f.oTile)}else{i=this._adjustTileIndex(i,f.oTile,b.oNewGroup,d);b.oNewGroup[d].splice(i,0,f.oTile)}b.oNewGroup.visibilityModes=u.calcVisibilityModes(b.oNewGroup,e);this.oModel.setProperty(`/groups/${b.newGroupIndex}/${d}`,b.oNewGroup[d])}a.emit(\"updateGroups\",Date.now());u.handleTilesVisibility();function P(){const e=this.oModel.getProperty(`/groups/${f.groupIndex}`);const t=this.oModel.getProperty(`/groups/${b.newGroupIndex}`);const s=this._getIndexForMove(h,f.tileIndex,i,b.oNewGroup,e);f.oTile.tileIsBeingMoved=true;this.oPageOperationAdapter.moveTile(f.oTile,s,e,t,l).then(e=>{const t=m._getPathOfTile(n);if(t){m.oModel.setProperty(`${t}/object`,e.object);m.oModel.setProperty(`${t}/originalTileId`,e.originalTileId);const i=m.oModel.getProperty(`${t}/content`);const s=e.content;if(d===\"links\"){m._changeLinkScope(s,c?\"Actions\":\"Display\");m._attachLinkPressHandlers(s);m._handleTileAppearanceAnimation(s);f.oTile.content=[s];m.oModel.setProperty(t,k({},f.oTile));m.oModel.setProperty(`/groups/${b.newGroupIndex}/${d}`,m.oModel.getProperty(`/groups/${b.newGroupIndex}/${d}`))}else{m.oModel.setProperty(`${t}/content`,[s])}if(i&&i[0]){const e=s.onAfterRendering;s.onAfterRendering=function(){e.apply(this);i[0].destroy();s.onAfterRendering=e}}m.oModel.setProperty(`${t}/tileIsBeingMoved`,false);if(o.callBack){o.callBack(s)}y.show(p.i18n.getText(\"PageRuntime.Message.VisualizationMoved\"))}m._checkRequestQueue()},()=>{m._resetGroupsOnFailure(\"fail_to_move_tile_msg\")})}this._addRequest(P.bind(this))},_adjustTileIndex:function(e,t,o,i){let s=0;let n=false;let r=0;for(r=0;r<o[i].length&&s<e;r++){if(o[i][r].isTileIntentSupported){if(o[i][r]===t){n=true}else{s++}}}if(n){return r-1}return r},getModel:function(){return this.oModel},getDashboardView:function(){return this.oDashboardView},setDashboardView:function(e){this.oDashboardView=e;return this},setTileVisible:function(e,t){this.oPageOperationAdapter.setTileVisible(e.object,t)},refreshTile:function(e){this.oPageOperationAdapter.refreshTile(e.object)},updateSettings:function(e){this.oModel=e.model||this.oModel;this.oConfig=e.config||this.oConfig;this.oRouter=e.router||this.oRouter;this.oDashboardView=e.view||this.oDashboardView},_resetGroupsOnFailure:function(e,t){this._requestFailed();g.showLocalizedError(e,t);this.bStartLoadRemainSegment=false;this.loadPersonalizedGroups();this.oModel.updateBindings(true)},resetGroupsOnFailure:function(){this._resetGroupsOnFailure.apply(this,arguments)},_bindSegment:function(e,t){for(let o=0;o<t.length;o++){const i=t[o];const s=i.index;const n=e[s];if(n){n.isRendered=true;n.tiles=n.tiles.concat(i.tiles);n.links=n.links.concat(i.links)}}return e},createGroupsModelFrame:function(e,t){const o=[];function i(e){const t=k({},e);t.tiles=[];t.pendingLinks=[];t.links=[];return t}for(let s=0;s<e.length;s++){const n=e[s];o[s]=i(n);o[s].isRendered=false;o[s].visibilityModes=u.calcVisibilityModes(n,t)}return o},_splitGroups:function(e,t){let o=[];let i=0;const s=this.oModel.getProperty(\"/homePageGroupDisplay\")===\"tabs\";const n=this.oModel.getProperty(\"/personalization\");let r=0;const l=500;for(let a=0;a<e.length;a++){const d=e[a];o.push(d);if(!this.segmentsStore.length){i+=this.PagingManager.getGroupHeight(d,t===a,n)}else{r+=d.tiles.length+d.links.length}if(s&&!this.segmentsStore.length&&i>0){o.loadTilesView=true;this.segmentsStore.push(o);o=[];i=0}if(i>=1||r>=l){this.segmentsStore.push(o);o=[];i=0;r=0}}if(o.length){this.segmentsStore.push(o)}},_processSegment:function(e){const t=this.segmentsStore.shift();if(!t){return e}if(this.isBlindLoading()===false){if(this.oModel.getProperty(\"/homePageGroupDisplay\")!==\"tabs\"||t.loadTilesView){this.getSegmentContentViews(t)}}e=this._bindSegment(e,t);return e},getSegmentContentViews:function(e){let t;let o;for(let i=0;i<e.length;i++){const s=e[i];for(t=0;t<s.tiles.length;t++){o=s.tiles[t];if(o.isTileIntentSupported){this.getTileView(o)}}for(t=0;t<s.links.length;t++){o=s.links[t];if(o.isTileIntentSupported){this.getTileView(o,s.index)}}}this.bIsFirstSegmentViewLoaded=true},getSegmentTabContentViews:function(e,t,o){let i;let s;const n=o.iSelectedGroup;const r=this.oModel.getProperty(`/groups/${n}`);for(i=0;i<r.tiles.length;i++){s=r.tiles[i];if(s.isTileIntentSupported){this.getTileView(s)}}for(i=0;i<r.links.length;i++){s=r.links[i];if(s.isTileIntentSupported){this.getTileView(s,n)}}},_handleBookmarkModelUpdate:function(){this.bIsGroupsModelDirty=false;this.bGroupsModelLoadingInProcess=true;this.loadPersonalizedGroups()},_modelLoaded:function(){this.bGroupsModelLoadingInProcess=false;if(this.bIsGroupsModelDirty){this._handleBookmarkModelUpdate()}},handleFirstSegmentLoaded:function(){const e=this.oModel.getProperty(\"/groups\");if(this.aGroupsFrame){Array.prototype.push.apply(e,this.aGroupsFrame);this.aGroupsFrame=null}this._initializeAnchorNavigationBar();if(!this.bStartLoadRemainSegment){this._processRemainingSegments()}},_initializeAnchorNavigationBar:function(){const e=V.getDashboardView();const t=e.getAnchorItemTemplate();this.oDashboardView.oAnchorNavigationBar.bindAggregation(\"groups\",{path:\"/groups\",template:t})},_processRemainingSegments:function(){let t;if(this.segmentsStore.length>0){window.setTimeout(()=>{t=this._processSegment(this.oModel.getProperty(\"/groups\"));this.oModel.setProperty(\"/groups\",t);this.bIsFirstSegment=false;this._processRemainingSegments()},0)}else{this.bIsGroupsModelLoading=false;this._updateModelWithTileView(0,0);u.handleTilesVisibility();e.getEventBus().publish(\"launchpad\",\"dashboardModelContentLoaded\");a.emit(\"updateGroups\",Date.now())}},tabsModeVisibilityChanged:function(){if(this.bIsFirstSegmentViewLoaded===false&&this.oModel.getProperty(\"/homePageGroupDisplay\")===\"tabs\"){this.oDashboardLoadingManager.manageTilesView();this.bIsFirstSegmentViewLoaded=true;a.emit(\"firstSegmentCompleteLoaded\",true)}},_setGroupModel:function(e){if(this.bIsGroupsModelLoading){I.info(\"Skip set the group model, because the group model is still loading\");return}let t=0;let o;let i=0;let s=0;let n=0;let l=null;let d=[];this.bIsGroupsModelLoading=true;try{i=this.oModel.getProperty(\"/groups\").length}catch(e){}for(t=e.length;t<i;++t){h.destroyFLPAggregationModel(this.oModel.getProperty(`/groups/${t}`))}if(!this.PagingManager){let e=jQuery(\"#dashboardGroups\").width();if(!e){e=window.innerWidth}let t=jQuery(\"#sapUshellDashboardPage-cont\").height();if(t<100){t=window.innerHeight}this.PagingManager=new r(\"dashboardPaging\",{supportedElements:{tile:{className:\"sapUshellTile\"},link:{className:\"sapUshellLinkTile\"}},containerHeight:t,containerWidth:e})}e.forEach(e=>{if(e.isGroupVisible){s+=e.tiles.length}});this.bIsScrollModeAccordingKPI=s>this.iMinNumOfTilesForBlindLoading;this.aGroupsFrame=this.createGroupsModelFrame(e,this.oModel.getProperty(\"/personalization\"));for(t=0;t<this.aGroupsFrame.length;t++){if(this.aGroupsFrame[t].isGroupVisible&&this.aGroupsFrame[t].visibilityModes[0]){if(l===null){l=t;this.aGroupsFrame[t].isGroupSelected=true;this.oModel.setProperty(\"/iSelectedGroup\",t)}n++;if(n>1){this.aGroupsFrame[l].showGroupHeader=false;break}}}this._splitGroups(e,l);const p=this.segmentsStore[0]?this.segmentsStore[0].length:0;const c=this.aGroupsFrame.splice(0,p);w.start(\"FLP:DashboardManager._processSegment\",\"_processSegment\",\"FLP\");d=this._processSegment(c);e.every((e,t)=>{if(e.isDefaultGroup){o=t;return false}return true});d.indexOfDefaultGroup=o;if(this.oModel.getProperty(\"/homePageGroupDisplay\")===\"tabs\"){const e=this.getDashboardView();if(e){const t=e.oDashboardGroupsBox;const o=t.getBinding(\"groups\");if(o){o.filter([e.oFilterSelectedGroup])}}}w.end(\"FLP:DashboardManager._processSegment\");this.oModel.setProperty(\"/groups\",d);this.aGroupModel=d;if(this.oDashboardView){a.once(\"firstSegmentCompleteLoaded\").do(()=>{u.setPerformanceMark(\"FLP-TTI-Homepage\",{bUseUniqueMark:true})}).do(this.handleFirstSegmentLoaded.bind(this))}else{setTimeout(()=>{Array.prototype.push.apply(this.aGroupModel,this.aGroupsFrame);this.aGroupsFrame=null;this.bStartLoadRemainSegment=true;this._processRemainingSegments()},0)}if(!this.bIsFirstSegmentViewLoaded&&this.isBlindLoading()){this.bIsFirstSegmentViewLoaded=!this._isAtLeastOneTileVisibleInASegment(c)}if(this.bIsFirstSegmentViewLoaded){a.emit(\"firstSegmentCompleteLoaded\",true)}w.end(\"FLP:DashboardManager.loadGroupsFromArray\")},_isAtLeastOneTileVisibleInASegment:function(e){let t;let o;for(let i=0;i<e.length;++i){t=e[i];for(let e=0;e<t.tiles.length;++e){o=t.tiles[e];if(o.isTileIntentSupported){return true}}}return false},getPreparedGroupModel:function(){return this.aGroupModel},_loadGroup:function(e,t){const o=this;const i=`/groups/${e}`;const s=o.oModel.getProperty(i);const n=s.isLastGroup;const r=s.groupId;h.destroyFLPAggregationModel(s);if(r){t.groupId=r}t.isLastGroup=n;t.index=e;t.isRendered=true;this.oModel.setProperty(i,t)},_hasPendingLinks:function(e){for(let t=0;t<e.length;t++){if(e[t].content[0]===undefined){return true}}return false},_addModelToTileViewUpdateQueue:function(e,t){this.tileViewUpdateQueue.push({uuid:e,view:t})},_updateModelWithTileView:function(e,t){const o=this;if(this.tileViewUpdateTimeoutID){clearTimeout(this.tileViewUpdateTimeoutID)}this.tileViewUpdateTimeoutID=window.setTimeout(()=>{o.tileViewUpdateTimeoutID=undefined;o.oSortableDeferred.done(()=>{o._updateModelWithTilesViews(e,t)})},50)},_updateGroupModelWithTilesViews:function(e,t,o,i){const s=t||0;for(let t=s;t<e.length;t=t+1){const s=e[t];for(let e=0;e<this.tileViewUpdateQueue.length;e++){const t=this.tileViewUpdateQueue[e];if(s.uuid===t.uuid){o.push(e);if(t.view){if(i){s.content=[t.view]}else{s.content[0].destroy();s.content=[t.view]}this.oDashboardLoadingManager.setTileResolved(s);const e=this.oPageOperationAdapter.getTileSize(s.object);const o=e!==null&&e===\"1x2\"||false;if(s.long!==o){s.long=o}}else{s.content[0].setState(\"Failed\")}break}}}},_updateModelWithTilesViews:function(e,t){const o=this.oModel.getProperty(\"/groups\");const i=e||0;const s=[];if(!o||this.tileViewUpdateQueue.length===0){return}for(let e=i;e<o.length;e=e+1){this._updateGroupModelWithTilesViews(o[e].tiles,t,s);if(o[e].links){this._updateGroupModelWithTilesViews(o[e].links,t,s,true);if(o[e].pendingLinks.length>0){if(!o[e].links){o[e].links=[]}o[e].links=o[e].links.concat(o[e].pendingLinks);o[e].pendingLinks=[]}}}const n=[];let r;for(r=0;r<this.tileViewUpdateQueue.length;r++){if(s.indexOf(r)===-1){n.push(this.tileViewUpdateQueue[r])}}this.tileViewUpdateQueue=n;this.oModel.setProperty(\"/groups\",o)},getModelTileById:function(e,t){const o=this.oModel.getProperty(\"/groups\");let i;let s=false;o.every(o=>{o[t].every(t=>{if(t.uuid===e||t.originalTileId===e){i=t;s=true}return!s});return!s});return i},_attachLinkPressHandlers:function(t){const o=e.getEventBus();const i=t.attachPress?t:t.getContent()[0];i.attachPress(function(e){const i=t.getBindingContext().getObject().tileIsBeingMoved;if(!i&&this.getScope&&this.getScope()===\"Actions\"){switch(e.getParameters().action){case\"Press\":const i=t.getState?t.getState():\"\";if(i!==\"Failed\"){const t=sap.ui.require(\"sap/ushell/components/homepage/ActionMode\");if(t){t._openActionsMenu(e)}else{I.error(\"Race condition occurred! - sap/ushell/components/homepage/ActionMode was not required in time.\")}}break;case\"Remove\":const s=t.getBindingContext().getObject().uuid;o.publish(\"launchpad\",\"deleteTile\",{tileId:s,items:\"links\"});break;default:break}}else{o.publish(\"launchpad\",\"dashboardTileLinkClick\")}})},handleDisplayModeChange:function(e){this.oModel.setProperty(\"/homePageGroupDisplay\",e);switch(e){case\"scroll\":this._handleDisplayModeChangeToScroll();break;case\"tabs\":this._handleDisplayModeChangeToTabs();break}},_handleDisplayModeChangeToTabs:function(){const e=this.oModel.getProperty(\"/iSelectedGroup\");const t=this.oModel.getProperty(\"/groups\");this.oDashboardLoadingManager.manageTilesView();if(t.length>0){for(let e=0;e<t.length;e++){this.oModel.setProperty(`/groups/${e}/isGroupSelected`,false)}this.oModel.setProperty(`/groups/${e}/isGroupSelected`,true)}},_handleDisplayModeChangeToScroll:function(){if(this.isBlindLoading()){return}const t=this.oModel.getProperty(\"/groups\");let o=[];let i;for(let e=0;e<t.length;e++){const s=t[e];const n=s.tiles||[];for(i=0;i<n.length;i++){const t=n[i];if(t.content.length===0){this.getTileView(t,e)}}o=s.links||[];for(i=0;i<o.length;i++){this.getTileView(o[i],e)}}this.oModel.refresh(false);const s=this.oModel.getProperty(\"/iSelectedGroup\");if(s){setTimeout(()=>{e.getEventBus().publish(\"launchpad\",\"scrollToGroup\",{groupId:t[s].groupId})},100)}},getTileViewsFromArray:function(e){const t=this;if(e.length===0){return}e.forEach(e=>{t.getTileView(e.oTile,e.iGroup)});this.oModel.refresh(false);if(this.bIsFirstSegmentViewLoaded===false){this.bIsFirstSegmentViewLoaded=true;a.emit(\"firstSegmentCompleteLoaded\",true)}},getTileView:function(e,t){const o=this.oPageOperationAdapter.getTileType(e.object);if(this.oDashboardLoadingManager.isTileViewRequestIssued(e)){return}this.oDashboardLoadingManager.setTileInProgress(e);this.oPageOperationAdapter.setTileVisible(e.object,false);if(o===\"card\"){this._loadCardData(e)}else{this._loadTileData(e,t,o)}},_loadCardData:function(t){const o=e.byId(t.controlId);if(o&&o.setManifest&&this.isBlindLoading()){o.setManifest(t.manifest)}t.content=[t.manifest];this.oDashboardLoadingManager.setTileResolved(t)},getCurrentHiddenGroupIds:function(e){return this.oPageOperationAdapter.getCurrentHiddenGroupIds(e)},_loadTileData:function(e,t,o){const i=this;const s=this.oPageOperationAdapter.getTileView(e);let r;const l=this._addModelToTileViewUpdateQueue;let a;let d=false;const u=e.uuid;let p=false;if(s.state()===\"resolved\"){p=true}s.done(o=>{if(o.oController&&o.oController.navigationTargetUrl&&!e.isCustomTile){e.target=o.oController.navigationTargetUrl}a=o;if(a.getComponentInstance){w.average(\"FLP:getComponentInstance\",\"get info for navMode\",\"FLP1\");const t=a.getComponentInstance().getComponentData();if(t&&t.properties){e.navigationMode=t.properties.navigationMode}w.end(\"FLP:getComponentInstance\")}i.oDashboardLoadingManager.setTileResolved(e);const s=o.getMode?o.getMode():\"ContentMode\";if(i.bLinkPersonalizationSupported&&s===\"LineMode\"){a.setScope(i.oModel.getProperty(\"/tileActionModeActive\")?\"Actions\":\"Display\");i._attachLinkPressHandlers(a);if(t>=0){const o=i.oModel.getProperty(\"/groups\");if(o[t]){e.content=[a];r=i.oModel.getProperty(`/groups/${t}/links`);i.oModel.setProperty(`/groups/${t}/links`,[]);i.oModel.setProperty(`/groups/${t}/links`,r)}}}else if(i.isBlindLoading()){if(e.content&&e.content.length>0){e.content[0].destroy()}e.content=[a];if(t>=0&&!p){i.oModel.refresh(false)}}if(i.isBlindLoading()){const t=i.oPageOperationAdapter.getTileSize(e.object);const o=t===\"1x2\";if(e.long!==o){e.long=o;i.oModel.refresh(false)}}else if(s===\"LineMode\"){e.content=[a];if(d){r=i.oModel.getProperty(`/groups/${t}/links`);i.oModel.setProperty(`/groups/${t}/links`,[]);i.oModel.setProperty(`/groups/${t}/links`,r)}}else if(e.content.length===0){e.content=[a]}else{l.apply(i,[u,a]);i._updateModelWithTileView(0,0)}});s.fail(()=>{if(i.oPageOperationAdapter.getTileType(e.object)===\"link\"&&i.bLinkPersonalizationSupported){a=i.oPageOperationAdapter.getFailedLinkView(e);i._attachLinkPressHandlers(a)}else{a=new n({state:\"Failed\"})}e.content=[a]});if(!a){if(i.oPageOperationAdapter.getTileType(e.object)===\"link\"){d=true;a=new f({mode:\"LineMode\"})}else{a=new n}e.content=[a]}},loadLibraryForCardModuleIfNeeded:function(){if(L.last(\"/core/home/featuredGroup/enable\")){return e.loadLibrary(\"sap.ui.integration\",{async:true})}return Promise.resolve()},loadPersonalizedGroups:function(){const e=this;const t=new jQuery.Deferred;if(this.bIsGroupsRequestPending){I.info(\"loadPersonalizedGroups was skipped because there is already a pending request.\");t.reject();return t.promise()}this.bIsGroupsRequestPending=true;this.oServiceLoadingPromise.then(e.loadLibraryForCardModuleIfNeeded).then(()=>e.oPageOperationAdapter.getPage()).then(o=>{e._setGroupModel(o);e.bIsGroupsRequestPending=false;t.resolve()}).catch(t=>{I.error(\"Loading of personalized groups failed.\",t,\"sap.ushell.components.HomepageManager\");g.showLocalizedError(\"fail_to_load_groups_msg\");e.bIsGroupsRequestPending=false});w.start(\"FLP:DashboardManager.loadPersonalizedGroups\",\"loadPersonalizedGroups\",\"FLP\");return t.promise()}});x.prototype.getInstance=function(){return V};return x});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/MessagingHelper\", [\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,n)=>{\"use strict\";function r(n,r){const s=Array.isArray(r)?r:[r];return e.i18n.getText(n,s)}function s(e,s){n.getServiceAsync(\"MessageInternal\").then(n=>{n.show(n.Type.ERROR,r(e,s),s)})}function t(e,n){return function(){s(e,n)}}function o(e,s,t){n.getServiceAsync(\"MessageInternal\").then(n=>{n.show(t||n.Type.INFO,r(e,s),s)})}return{getLocalizedText:r,showLocalizedError:s,showLocalizedErrorHelper:t,showLocalizedMessage:o}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/SharedComponentUtils\", [\"sap/ui/Device\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/base/Log\",\"sap/ui/core/Component\",\"sap/ushell/Container\"],(e,t,n,s,r,i)=>{\"use strict\";const o={PERS_KEY:\"flp.settings.FlpSettings\",bFlpSettingsAdded:false,toggleUserActivityLog:function(){n.join(n.once(\"CoreResourcesComplementLoaded\"),t.on(\"/core/extension/SupportTicket\")).do((e,t)=>{sap.ui.require([\"sap/ushell/UserActivityLog\"],e=>{if(t){e.activate()}else{e.deactivate()}})})},initializeAccessKeys:function(){if(e.system.desktop){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\",\"sap/ushell/renderer/AccessKeysHandler\"],(e,t)=>{e.getInstance().then(e=>{t.registerAppKeysHandler(e.handleFocusOnMe)})})}},getEffectiveHomepageSetting:function(e,n){if(t.last(n)===false){return Promise.resolve(t.last(e))}const s=e.split(\"/\").pop();return this._getPersonalization(s).then(n=>{if(typeof n===\"undefined\"){return t.last(e)}t.emit(e,n);return n}).catch(()=>t.last(e))},_getPersonalization:function(e){return o.getPersonalizer(e,i.getRendererInternal(\"fiori2\")).then(e=>e.getPersData()).catch(t=>{s.error(`Failed to load ${e} from the personalization`,t,\"sap.ushell.components.flp.settings.FlpSettings\");return Promise.reject(t)})},getPersonalizer:function(e,t){return i.getServiceAsync(\"PersonalizationV2\").then(n=>{const s=r.getOwnerComponentFor(t);const i={keyCategory:n.KeyCategory.FIXED_KEY,writeFrequency:n.WriteFrequency.LOW,clientStorageAllowed:true};const o={container:this.PERS_KEY,item:e};return n.getPersonalizer(o,i,s)})}};return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/_HomepageManager/DashboardLoadingManager\", [\"sap/base/util/deepExtend\",\"sap/ui/base/Object\",\"sap/ui/core/EventBus\",\"sap/ui/performance/Measurement\"],(e,i,s,t)=>{\"use strict\";const n=i.extend(\"sap.ushell.components._HomepageManager.DashboardLoadingManager\",{metadata:{},constructor:function(e,i){const t=s.getInstance();this.currentVisibleTiles=[];this.aRefreshTiles=[];this.oBusyIndicatorTiles={};this.oActiveDynamicTiles={};this.oResolvedTiles={};this.oInProgressTiles={};this.oDashboardManager=i.oDashboardManager;t.subscribe(\"launchpad\",\"visibleTilesChanged\",this._onVisibilityChanged,this);t.subscribe(\"launchpad\",\"dashboardTileClick\",this._addTileToRefreshArray,this);t.subscribe(\"launchpad\",\"refreshTiles\",this._refreshTiles,this);t.subscribe(\"launchpad\",\"setTilesNoVisibility\",this._setTilesNoVisibility,this);t.subscribe(\"launchpad\",\"onHiddenTab\",this._setTilesNoVisibility,this)},_onVisibilityChanged:function(e,i,s){this.currentVisibleTiles=s;if(this.oDashboardManager.isBlindLoading()){this.manageTilesView()}this.oDashboardManager.tabsModeVisibilityChanged();this.manageBusyIndicatorTiles();this.manageDynamicTiles()},manageDynamicTiles:function(){t.average(\"DashboardLoadingManagerActiveDynamicTile\",\"Manage Active Dynamic Tiles\",\"FLP_SHELL\");let i;let s;const n={};const l=e({},this.oActiveDynamicTiles);for(let e=0;e<this.currentVisibleTiles.length;e++){const i=this.currentVisibleTiles[e];if(!i.bIsExtanded){delete l[i.oTile.uuid]}}for(const e in l){i=this.oActiveDynamicTiles[e];s=i.object;this.oDashboardManager.setTileVisible(i,false)}for(let e=0;e<this.currentVisibleTiles.length;e++){const t=this.currentVisibleTiles[e];if(!t.bIsExtanded){i=t.oTile;s=i.object;if(this.oActiveDynamicTiles[i.uuid]===undefined&&s){this.oDashboardManager.setTileVisible(i,true)}n[i.uuid]=i}}this.oActiveDynamicTiles=n;t.end(\"DashboardLoadingManagerActiveDynamicTile\")},isTileViewRequestIssued:function(e){if(this.oInProgressTiles[e.uuid]===undefined&&this.oResolvedTiles[e.uuid]===undefined){return false}return true},manageBusyIndicatorTiles:function(){t.average(\"DashboardLoadingManagerBusyIndicators\",\"Manage Busy Indicators on Tiles\",\"FLP_SHELL\");let e;let i;let s;let n;const l=[];let o;const a=[];for(i in this.oBusyIndicatorTiles){o=true;n=this.oBusyIndicatorTiles[i];if(this.oResolvedTiles[i]===undefined){for(let e=0;e<this.currentVisibleTiles.length;e++){if(this.currentVisibleTiles[e].oTile.uuid===n.oTile.uuid){o=false;break}}if(o){l.push(n)}}}for(e=0;e<this.currentVisibleTiles.length;e++){s=this.currentVisibleTiles[e];if(this.oBusyIndicatorTiles[s.oTile.uuid]===undefined&&this.oResolvedTiles[s.oTile.uuid]===undefined){a.push(s)}}for(e=0;e<l.length;e++){s=l[e];if(s.oTile.content[0]&&s.oTile.content[0].setState){if(s.oTile.content[0].getState){if(s.oTile.content[0].getState()!==\"Failed\"){s.oTile.content[0].setState()}}else{s.oTile.content[0].setState()}}delete this.oBusyIndicatorTiles[s.oTile.uuid]}for(e=0;e<a.length;e++){s=a[e];if(s.oTile.content[0]&&s.oTile.content[0].setState){if(s.oTile.content[0].getState){if(s.oTile.content[0].getState()!==\"Failed\"){s.oTile.content[0].setState(\"Loading\")}}else{s.oTile.content[0].setState(\"Loading\")}}this.oBusyIndicatorTiles[s.oTile.uuid]=s}t.end(\"DashboardLoadingManagerBusyIndicators\")},setTileInProgress:function(e){this.oInProgressTiles[e.uuid]=e},setTileResolved:function(e){delete this.oInProgressTiles[e.uuid];this.oResolvedTiles[e.uuid]=e},_addTileToRefreshArray:function(e,i,s){this.aRefreshTiles.push(s.uuid)},_refreshTiles:function(){for(let e=0;e<this.currentVisibleTiles.length;e++){const i=this.currentVisibleTiles[e].oTile;const s=i.object;if(s){for(let e=0;e<this.aRefreshTiles.length;e++){if(i.uuid===this.aRefreshTiles[e]){this.aRefreshTiles.splice(e,1);this.oDashboardManager.setTileVisible(i,true);this.oDashboardManager.refreshTile(i);break}}}}},_setTilesNoVisibility:function(){for(let e=0;e<this.currentVisibleTiles.length;e++){const i=this.currentVisibleTiles[e].oTile;const s=i.object;if(s){this.oDashboardManager.setTileVisible(i,false)}delete this.oActiveDynamicTiles[i.uuid]}},manageTilesView:function(){let e;let i;const s=[];for(e=0;e<this.currentVisibleTiles.length;e++){i=this.currentVisibleTiles[e];if(this.oInProgressTiles[i.oTile.uuid]===undefined&&this.oResolvedTiles[i.oTile.uuid]===undefined){s.push(i)}}this.oDashboardManager.getTileViewsFromArray(s)}});return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/_HomepageManager/PagingManager\", [\"sap/ui/base/Object\",\"sap/ui/Device\",\"sap/ushell/Config\"],(e,t,i)=>{\"use strict\";const n=7;const s=e.extend(\"sap.ushell.components._HomepageManager.PagingManager\",{metadata:{publicMethods:[\"setElementClass\",\"GetGroupHeight\",\"setContainerSize\",\"getNumberOfAllocatedElements\",\"moveToNextPage\",\"getTileHeight\"]},constructor:function(e,t){this.currentPageIndex=0;this.containerHeight=t.containerHeight||0;this.containerWidth=t.containerWidth||0;this.supportedElements=t.supportedElements||\"\";this.tileHeight=0;this.tileSize={sapUshellTile:{width:100,height:100},sapUshellLinkTile:{width:40,height:20},default:{width:40,height:20}}},getTileHeight:function(){return this.tileHeight},setElementClass:function(e){this.supportedElements=e},_getTileHeight:function(e){return e?148:176},_getTileWidth:function(e,t){if(e){return t?304:360}return t?148:176},getGroupHeight:function(e,s,h){if(!e||e.isGroupVisible===false){return 0}const r=e.tiles;const l=e.links;const o=t.system.phone||i.last(\"/core/home/sizeBehavior\")===\"Small\";const a=this._getTileWidth(false,o);const c=this._getTileWidth(true,o);const u=48;const g=8;const d=this.containerWidth-g;let f=0;let p=1;let m;let E;const H=r.some(e=>!!e&&e.isTileIntentSupported!==false);if(!H){if(e.isGroupLocked||e.isDefaultGroup||!h||t.system.phone){return 0}return(u+g)/this.containerHeight}let P=g;if(!s){P+=u}if(l&&l.length){P+=44}let w;for(E=0;E<r.length;E++){if(P>this.containerHeight){break}w=r[E];if(!w||w.isTileIntentSupported===false){continue}m=w.long?c:a;if(f>0){f+=n}f+=m;if(f>d){p+=1;f=m}}P+=(this._getTileHeight(o)+n)*p;return P/this.containerHeight},setContainerSize:function(e,t){const i=this.getNumberOfAllocatedElements();this.containerHeight=e;this.containerWidth=t;this._changePageSize(i)},getNumberOfAllocatedElements:function(){return this._calcElementsPerPage()*this.currentPageIndex},_changePageSize:function(e){this.currentPageIndex=Math.ceil(e/this._calcElementsPerPage())},moveToNextPage:function(){this.currentPageIndex++},resetCurrentPageIndex:function(){this.currentPageIndex=0},getSizeofSupportedElementInUnits:function(e){return this.supportedElements[e].sizeInBaseUnits},_calcElementMatrix:function(e){const t=document.createElement(\"div\");t.classList.add(e);document.body.appendChild(t);const i=t.clientHeight;const n=t.clientWidth;let s;if(i<20||n<40){s=this.tileSize[e]||this.tileSize.default}else{s={width:n,height:i}}this.tileHeight=i;t.remove();return s},_calcElementsPerPage:function(){let e;let t;let i;let n;let s;for(e in this.supportedElements){i=this.supportedElements[e];n=this._calcElementMatrix(i.className);i.matrix=n;if(t){t.width=t.width>n.width?n.width:t.width;t.height=t.height>n.height?n.height:t.height}else{t={width:n.width,height:n.height}}}for(e in this.supportedElements){i=this.supportedElements[e];s=i.matrix;i.sizeInBaseUnits=Math.round(s.width/t.width*s.height/t.height)}const h=Math.round(this.containerWidth/t.width);const r=Math.round(this.containerHeight/t.height);if(!r||!h||h===Infinity||r===Infinity||h===0||r===0){return 10}return r*h}});return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter\", [\"sap/ui/base/Object\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/ushell/components/MessagingHelper\",\"sap/m/GenericTile\",\"sap/base/util/uid\",\"sap/base/Log\",\"sap/ui/performance/Measurement\",\"sap/m/library\",\"sap/base/util/deepEqual\",\"sap/ushell/Container\"],(e,t,r,i,o,n,s,l,a,u,d)=>{\"use strict\";const c=a.GenericTileMode;const g=a.LoadState;const p=e.extend(\"sap.ushell.components._HomepageManager.PersistentPageOperationAdapter\",{constructor:function(t){e.call(this);this.oPageBuilderService=t},_getIsAppBox:function(e){const t=this.oPageBuilderService;const r=!!(t.getCatalogTileTargetURL(e)&&(t.getCatalogTilePreviewTitle(e)||t.getCatalogTilePreviewSubtitle(e)));return r},getCurrentHiddenGroupIds:function(e){const t=e.getProperty(\"/groups\");const r=[];let i;let o;let n;for(o=0;o<t.length;o++){n=t[o]?t[o].isGroupVisible:true;if(t[o].object){i=this.oPageBuilderService.getGroupId(t[o].object)}if(!n&&i!==undefined){r.push(i)}}return r},getPreparedTileModel:function(e,r,i){const s=this.oPageBuilderService;const l=n();const a=s.getTileSize(e);let u=[];let d;i=i||s.getTileType(e);if(i===\"link\"){u=[new o({mode:c.LineMode})]}const g={isCustomTile:!this._getIsAppBox(e),object:e,originalTileId:s.getTileId(e),uuid:l,tileCatalogId:encodeURIComponent(s.getCatalogTileId(e)),tileCatalogIdStable:s.getStableCatalogTileId(e)||\"\",content:u,long:a===\"1x2\",target:s.getTileTarget(e)||\"\",debugInfo:s.getTileDebugInfo(e),isTileIntentSupported:s.isTileIntentSupported(e),rgba:\"\",isLocked:r,showActionsIcon:t.last(\"/core/home/enableTileActionsIcon\"),isLinkPersonalizationSupported:s.isLinkPersonalizationSupported(e),navigationMode:undefined};if(i===\"card\"){d=s.getCardManifest(e);g.isCard=true;if(d){g.manifest=d}}return g},getPreparedGroupModel:function(e,r,o,l){const a=this.oPageBuilderService;const u=e&&a.getGroupTiles(e)||[];const d=[];const c=[];let g;const p=t.last(\"/core/shell/model/personalization\");const f=t.last(\"/core/extension/enableHelp\");const h=!!(e&&a.isGroupLocked(e));const P=!!(e&&a.isGroupFeatured(e));for(g=0;g<u.length;++g){const e=u[g];const t=a.getTileType(e).toLowerCase();if(t===\"tile\"||t===\"card\"){d.push(this.getPreparedTileModel(u[g],h,t))}else if(t===\"link\"){c.push(this.getPreparedTileModel(u[g],h,t))}else{s.error(`Unknown tile type: '${t}'`,undefined,\"sap.ushell.components.HomepageManager\")}}return{title:r&&i.getLocalizedText(\"my_group\")||e&&a.getGroupTitle(e)||l&&l.title||\"\",object:e,groupId:n(),helpId:f&&e?a.getGroupId(e):null,links:c,pendingLinks:[],tiles:d,isDefaultGroup:!!r,editMode:!e,isGroupLocked:h,isFeatured:P,visibilityModes:[true,true],removable:!e||a.isGroupRemovable(e),sortable:p,isGroupVisible:!e||a.isGroupVisible(e),isEnabled:!r,isLastGroup:o||false,isRendered:!!(l&&l.isRendered),isGroupSelected:false}},getPage:function(){l.start(\"FLP:DashboardManager.loadPersonalizedGroups\",\"loadPersonalizedGroups\",\"FLP\");return this._getGroupsFromServer().then(this.loadGroupsFromArray.bind(this))},_getGroupsFromServer:function(){const e=this;return new Promise((t,r)=>{e.oPageBuilderService.getGroups().done(e=>{l.end(\"FLP:DashboardManager.loadPersonalizedGroups\");t(e)}).fail(r)})},loadGroupsFromArray:function(e){const t=this;l.start(\"FLP:DashboardManager.loadGroupsFromArray\",\"loadGroupsFromArray\",\"FLP\");l.start(\"FLP:DashboardManager.getDefaultGroup\",\"getDefaultGroup\",\"FLP\");return new Promise((r,i)=>{t.oPageBuilderService.getDefaultGroup().done(i=>{l.end(\"FLP:DashboardManager.getDefaultGroup\");if(e.length===0&&i===undefined){r([]);return}let o;const n=[];e=t._sortGroups(i,e);const s=e.findIndex(e=>u(e,i));const a=e.length;l.start(\"FLP:DashboardManager._getGroupModel\",\"_getGroupModel\",\"FLP\");for(let r=0;r<a;++r){o=t.getPreparedGroupModel(e[r],r===s,r===a-1);o.index=r;n.push(o)}l.end(\"FLP:DashboardManager._getGroupModel\");l.end(\"FLP:DashboardManager.loadGroupsFromArray\");r(n)}).fail(i)})},_sortGroups:function(e,r){let i=0;const o=this;const n=r.findIndex(t=>u(t,e));const s=[];let l;let a;if(n>-1){r.splice(n,1)}while(i<r.length){l=r[i];a=this.oPageBuilderService.isGroupLocked(l);if(a){s.push(l);r.splice(i,1)}else{i++}}if(!t.last(\"/core/home/disableSortedLockedGroups\")){s.sort((e,t)=>{const r=o.oPageBuilderService.getGroupTitle(e).toLowerCase();const i=o.oPageBuilderService.getGroupTitle(t).toLowerCase();return r<i?-1:1})}s.sort((e,t)=>{const r=o.oPageBuilderService.isGroupFeatured(e);const i=o.oPageBuilderService.isGroupFeatured(t);if(r===i){return 0}else if(r>i){return-1}return 1});const d=s;d.push(e);d.push.apply(d,r);return d},addGroupAt:function(e,t,r){const i=this;return new Promise((o,n)=>{try{if(t===undefined){i.oPageBuilderService.addGroup(e.title).done(t=>{o(i.getPreparedGroupModel(t,r,e.isLastGroup,undefined))}).fail(n)}else{i.oPageBuilderService.addGroupAt(e.title,t).done(t=>{o(i.getPreparedGroupModel(t,r,e.isLastGroup,undefined))}).fail(n)}}catch(e){n()}})},renameGroup:function(e,t,r){const i=this;return new Promise((r,o)=>{try{i.oPageBuilderService.setGroupTitle(e.object,t).done(()=>{r()}).fail(o)}catch(e){o()}})},deleteGroup:function(e){const t=this;const r=e.object;return new Promise((e,i)=>{try{t.oPageBuilderService.removeGroup(r).done(()=>{e()}).fail(i)}catch(e){i()}})},moveGroup:function(e,t,r){const i=this;return new Promise((r,o)=>{try{i.oPageBuilderService.moveGroup(e.object,t).done(()=>{r()}).fail(o)}catch(e){o()}})},resetGroup:function(e,t){const r=this;const i=e.object;return new Promise((o,n)=>{try{r.oPageBuilderService.resetGroup(i).done(n=>{o(r.getPreparedGroupModel(n||i,t,e.isLastGroup,undefined))}).fail(n)}catch(e){n()}})},refreshGroup:function(e){const t=this;const r=`Failed to refresh group with id:${e} in the model`;return new Promise(i=>{t.oPageBuilderService.getGroups().fail(()=>{s.error(r,null,\"sap.ushell.components.HomepageManager\");i(null)}).done(r=>{let o=null;for(let i=0;i<r.length;i++){if(t.oPageBuilderService.getGroupId(r[i])===e){o=r[i];break}}if(o){t.oPageBuilderService.getDefaultGroup().done(r=>{const n=e===r.getId();const s=t.getPreparedGroupModel(o,n,false,{isRendered:true});i(s)})}else{i(null)}})})},getIndexOfGroup:function(e,t){let r=-1;const i=this;const o=this.oPageBuilderService.getGroupId(t);e.every((e,t)=>{const n=i.oPageBuilderService.getGroupId(e.object);if(n===o){r=t;return false}return true});return r},getOriginalGroupIndex:function(e){const t=this.oPageBuilderService;const r=e.object;const i=this.oPageBuilderService.getGroups();return new Promise((e,o)=>{i.done(i=>{let o;for(let e=0;e<i.length;e++){if(t.getGroupId(i[e])===t.getGroupId(r)){o=e;break}}e(o)}).fail(o) Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/tools/ODataUrlTemplating\", [\"sap/ui/thirdparty/jquery\"],jQuery=>{\"use strict\";function e(e,t,r){this.parameter=e;this.template=t;this.semiConvertedUrl=r;this.message=\" is a missing key parameter for constructing the entity url\";this.toString=function(){return this.parameter+this.message}}const t={ParameterException:e,resolve:function(e,t){let r;let i;let n;let s;const o=e.match(/{\\s*[\\w.]+\\s*}/g);r=e;for(s=o.length-1;s>=0;s-=1){n=o[s];i=t[n.replace(/[{}]/g,\"\")];if(i!==undefined){if(typeof i!==\"string\"){i=i[0]}i=encodeURIComponent(decodeURIComponent(i));r=r.replace(n,i)}}n=r.match(/{\\s*[\\w.]+\\s*}/g);if(n){jQuery.sap.log.error(` ${r}`);throw new this.ParameterException(n,e,r)}return r}};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/views/ThingViewer.controller\", [\"sap/ui/model/odata/ODataModel\"],e=>{\"use strict\";sap.ui.controller(\"sap.ushell.components.factsheet.views.ThingViewer\",{setService:function(s){this.getView().setModel(new e(s))}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/views/ThingViewer.view\", [\"sap/ushell/components/factsheet/tools/ODataUrlTemplating\",\"sap/ushell/components/factsheet/factory/ThingInspector\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/core/Component\"],(e,t,a,n)=>{\"use strict\";sap.ui.jsview(\"sap.ushell.components.factsheet.views.ThingViewer\",{getControllerName:function(){return\"sap.ushell.components.factsheet.views.ThingViewer\"},createContent:function(){let s;let o;let r;let i;const p=this.getViewData();s=p.entity||p.service;if(!s){r=p.entityTemplateURI||p.template;if(r){if(typeof r!==\"string\"){r=r[0]}r=r.replace(/%25/g,\"%\");r=r.replace(/%28/g,\"(\");r=r.replace(/%29/g,\")\");r=r.replace(/%27/g,\"'\");r=r.replace(/%3D/g,\"=\");r=r.replace(/%7B/g,\"{\");r=r.replace(/%7D/g,\"}\");s=e.resolve(r,p)}}o=p.annotationURI||p.annotation;if(typeof s!==\"string\"){s=s[0]}if(typeof o!==\"string\"){o=o[0]}i=s.substr(0,s.lastIndexOf(\"/\"));function l(e,t){let n;if(sap.ui.model.odata&&a&&typeof a.setOrigin===\"function\"){if(!(e&&e.getComponentData())){throw new Error(\"no component passed\")}if(e&&e.getComponentData()&&e.getComponentData().startupParameters&&e.getComponentData().startupParameters[\"sap-system\"]){n=e.getComponentData().startupParameters[\"sap-system\"][0];t=a.setOrigin(t,{alias:n})}}return t}i=l(n.getOwnerComponentFor(this),i);i=i+s.substr(s.lastIndexOf(\"/\"));const c=t(i,o);c.addStyleClass(\"ThingInspector\");return c}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/homeApp/error/Component\", [\"sap/ui/core/UIComponent\",\"sap/ushell/resources\"],(e,s)=>{\"use strict\";return e.extend(\"sap.ushell.components.homeApp.error.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\"},init:function(){e.prototype.init.apply(this,arguments);this.setModel(s.i18nModel,\"i18n\")}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/homeApp/error/HomeAppError.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/m/MessageToast\",\"sap/ushell/resources\",\"sap/ushell/Config\",\"sap/ushell/utils\"],(e,o,s,t,n,p)=>{\"use strict\";const i=n.last(\"/core/homeApp/component\").messages||[];return e.extend(\"sap.ushell.components.homeApp.error.HomeAppError\",{onInit:function(){this._oModel=new o({icon:\"sap-icon://documents\",text:t.i18n.getText(\"HomeApp.GeneralError.Text\"),details:JSON.stringify(i,null,4)});this.getView().setModel(this._oModel)},onCopyErrorDetailsPress:function(){const e=p.copyToClipboard(this._oModel.getProperty(\"/details\"));if(e){s.show(t.i18n.getText(\"HomeApp.CannotLoadApp.CopySuccess\"),{closeOnBrowserNavigation:false})}else{s.show(t.i18n.getText(\"HomeApp.CannotLoadApp.CopyFail\"),{closeOnBrowserNavigation:false})}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/homepage/ActionMode\", [\"sap/base/Log\",\"sap/m/Button\",\"sap/m/library\",\"sap/m/Popover\",\"sap/m/Text\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ushell/components/HomepageManager\",\"sap/ushell/resources\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/EventHub\"],(e,t,o,n,i,s,a,l,r,c,d)=>{\"use strict\";const p=o.PlacementType;function g(){this.oEventBus=a.getInstance();this.init=function(e){this.oModel=e}}g.prototype._activate=function(){this.oModel.setProperty(\"/tileActionModeActive\",true);this.aOrigHiddenGroupsIds=this.getHomepageManager().getCurrentHiddenGroupIds(this.oModel);const e=s.getElementById(\"dashboardGroups\");e.addLinksToUnselectedGroups();const t=s.getElementById(\"ActionModeBtn\");if(t){t.setText(r.i18n.getText(\"exitEditMode\"));if(t.setSelected){t.setSelected(true)}}this.oEventBus.publish(\"launchpad\",\"actionModeActive\")};g.prototype._deactivate=function(){this.oModel.setProperty(\"/tileActionModeActive\",false);this.oEventBus.publish(\"launchpad\",\"actionModeInactive\",this.aOrigHiddenGroupsIds);const e=s.getElementById(\"TileActions\");if(e!==undefined){e.destroy()}const t=s.getElementById(\"ActionModeBtn\");if(t){t.setText(r.i18n.getText(\"activateEditMode\"));if(t.setSelected){t.setSelected(false)}}};g.prototype.toggleActionMode=function(e,t,o){o=o||[];const n=o.filter(e=>e.getVisible());const i={group:n[e.getProperty(\"/topGroupInViewPortIndex\")]};if(e.getProperty(\"/tileActionModeActive\")){this._deactivate();const e=document.querySelector(\".sapUshellTileContainerHeader[tabindex='0']\");if(e){const t=e.closest(\"sapUshellTileContainer\");if(t){i.restoreLastFocusedTileContainerById=t.getAttribute(\"id\")}}}else{this._activate()}setTimeout(()=>{this.oEventBus.publish(\"launchpad\",\"scrollToGroup\",i)},0)};g.prototype.activateGroupEditMode=function(e){const t=e.getDomRef().getElementsByClassName(\"sapUshellTileContainerContent\");for(let e=0;e<t.length;e++){t[e].classList.add(\"sapUshellTileContainerEditMode\")}};g.prototype.getHomepageManager=function(){if(!this.oHomepageManager){this.oHomepageManager=l.prototype.getInstance()}return this.oHomepageManager};g.prototype._filterActions=function(e,t){const o=t.getModel();const n=t.getParent().getBindingContext().getPath();if(o.getProperty(`${n}/isGroupLocked`)){[\"tileSettingsBtn\",\"linkSettingsBtn\",\"ConvertToTile\",\"ConvertToLink\",\"moveTile_action\"].forEach(t=>{e=e.filter(e=>e.id!==t)})}if(this.getHomepageManager().getPersonalizableGroups().length<2){e=e.filter(e=>e.id!==\"moveTile_action\")}return e};g.prototype._openActionsMenu=function(o){const n=o.getSource();const i=n.getBindingContext().getObject().object;let l=this.getHomepageManager().getTileActions(i);l=this._filterActions(l,n);const r=document.getElementsByClassName(\"sapUshellTileActionLayerDivSelected\");for(let e=0;e<r.length;e++){r[e].classList.remove(\"sapUshellTileActionLayerDivSelected\")}const c=n.getDomRef().getElementsByClassName(\"sapUshellTileActionLayerDiv\");for(let e=0;e<c.length;e++){c[e].classList.add(\"sapUshellTileActionLayerDivSelected\")}const d=[];l.forEach(o=>{if(!o.press&&!o.targetURL){e.warning(`Invalid Tile action discarded: ${JSON.stringify(o)}`);return}d.push(new t({text:o.text,icon:o.icon,press:this._handleActionPress.bind(this,o,n)}))});if(d.length===0){this._openNoActionsPopover(o);return}let g=n.getActionSheetIcon?n.getActionSheetIcon():undefined;if(!g){const e=s.getElementById(`${n.getId()}-action-more`);g=e||n}let u=s.getElementById(\"TileActions\");if(!u){sap.ui.require([\"sap/m/ActionSheet\"],e=>{u=new e(\"TileActions\",{placement:p.VerticalPreferedBottom,afterClose:function(){const e=document.getElementsByClassName(\"sapUshellTileActionLayerDivSelected\");for(let t=0;t<e.length;t++){e[t].classList.remove(\"sapUshellTileActionLayerDivSelected\")}const t=a.getInstance();t.publish(\"dashboard\",\"actionSheetClose\",n)}});this._openActionSheet(u,d,g)})}else{this._openActionSheet(u,d,g)}};g.prototype._openActionSheet=function(e,t=[],o){e.destroyButtons();t.forEach(t=>{e.addButton(t)});e.openBy(o)};g.prototype._openNoActionsPopover=function(e){const t=e.getSource();const o=new i({text:r.i18n.getText(\"tileHasNoActions\")});new n({placement:p.Bottom,showHeader:false,ariaLabelledBy:o.getId(),content:o}).addStyleClass(\"sapUiContentPadding\").openBy(t)};g.prototype._handleActionPress=function(e,t){if(e.press){e.press(t)}else if(e.targetURL){d.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:e.targetURL}});if(e.targetURL.indexOf(\"#\")===0){hasher.setHash(e.targetURL)}else{c.openURL(e.targetURL,\"_blank\")}}};return new g},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/homepage/Component\", [\"sap/ui/core/EventBus\",\"sap/ui/core/mvc/View\",\"sap/ui/core/UIComponent\",\"sap/ushell/bootstrap/common/common.load.model\",\"sap/ushell/components/HomepageManager\",\"sap/ushell/components/SharedComponentUtils\",\"sap/ushell/Config\",\"sap/ushell/resources\"],(e,o,s,t,a,n,i,r)=>{\"use strict\";return s.extend(\"sap.ushell.components.homepage.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},init:function(){this.oModel=t.getModel();this.setModel(this.oModel);s.prototype.init.apply(this,arguments);this.rootControlLoaded().then(o=>{this.oDashboardView=o;const s={model:this.oModel,view:this.oDashboardView};this.oHomepageManager=new a(\"dashboardMgr\",s);this.setModel(r.i18nModel,\"i18n\");e.getInstance().subscribe(\"sap.ushell.services.UsageAnalytics\",\"usageAnalyticsStarted\",()=>{sap.ui.require([\"sap/ushell/components/homepage/FLPAnalytics\"])});n.toggleUserActivityLog();n.getEffectiveHomepageSetting(\"/core/home/homePageGroupDisplay\",\"/core/home/enableHomePageSettings\");i.on(\"/core/home/homePageGroupDisplay\").do(e=>{this.oHomepageManager.handleDisplayModeChange(e)});n.getEffectiveHomepageSetting(\"/core/home/sizeBehavior\",\"/core/home/sizeBehaviorConfigurable\");i.on(\"/core/home/sizeBehavior\").do(e=>{const o=this.oHomepageManager.getModel();o.setProperty(\"/sizeBehavior\",e)})})},createContent:function(){return o.create({viewName:\"module:sap/ushell/components/homepage/DashboardContent.view\"})},exit:function(){this.oHomepageManager.destroy()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/homepage/DashboardContent.controller\", [\"sap/base/Log\",\"sap/ui/core/Core\",\"sap/ui/core/mvc/Controller\",\"sap/ui/Device\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/components/homepage/DashboardUIActions\",\"sap/ushell/components/HomepageManager\",\"sap/ushell/EventHub\",\"sap/ushell/Layout\",\"sap/ushell/resources\",\"sap/ushell/utils\"],(e,t,o,s,i,r,jQuery,n,a,l,u,d,p)=>{\"use strict\";return o.extend(\"sap.ushell.components.homepage.DashboardContent\",{onInit:function(){const e=t.getEventBus();this.handleDashboardScroll=function(){window.setTimeout(this._handleDashboardScroll.bind(this),0)}.bind(this);e.subscribe(\"sap.ushell\",\"appOpened\",this._appOpenedHandler,this);e.subscribe(\"launchpad\",\"dashboardModelContentLoaded\",this._modelLoaded,this);e.subscribe(\"launchpad\",\"actionModeInactive\",this._handleGroupVisibilityChanges,this);e.subscribe(\"launchpad\",\"switchTabBarItem\",this._handleTabBarItemPressEventHandler,this);window.document.addEventListener(\"visibilitychange\",p.handleTilesVisibility,false)},onExit:function(){const e=t.getEventBus();e.unsubscribe(\"sap.ushell\",\"appOpened\",this._appOpenedHandler,this);e.unsubscribe(\"launchpad\",\"dashboardModelContentLoaded\",this._modelLoaded,this);e.unsubscribe(\"launchpad\",\"actionModeInactive\",this._handleGroupVisibilityChanges,this);e.unsubscribe(\"launchpad\",\"switchTabBarItem\",this._handleTabBarItemPressEventHandler,this);window.document.removeEventListener(\"visibilitychange\",p.handleTilesVisibility,false);if(this.oDashboardUIActionsModule){this.oDashboardUIActionsModule.destroy();delete this.oDashboardUIActionsModule}window.removeEventListener(\"resize\",this._resizeHandler.bind(this))},onAfterRendering:function(){p.setPerformanceMark(\"FLP - dashboard after rendering\");const e=a.prototype.getInstance();if(!e.getPreparedGroupModel()){e.loadPersonalizedGroups()}else{l.once(\"firstSegmentCompleteLoaded\").do(e.handleFirstSegmentLoaded.bind(e))}const o=t.getEventBus();let i;let r;let n;let u;o.unsubscribe(\"launchpad\",\"scrollToGroup\",this._scrollToGroup,this);o.unsubscribe(\"launchpad\",\"scrollToGroupByName\",this._scrollToGroupByName,this);o.subscribe(\"launchpad\",\"scrollToGroup\",this._scrollToGroup,this);o.subscribe(\"launchpad\",\"scrollToGroupByName\",this._scrollToGroupByName,this);s.orientation.attachHandler(function(){const e=jQuery(\"#dashboardGroups\").find(\".sapUshellTileContainer\").filter(\":visible\");if(e.length){i=this.getView().getModel();r=i.getProperty(\"/topGroupInViewPortIndex\");if(e.get(r)){n=t.byId(e.get(r).id);u=i.getProperty(\"/editTitle\");this._publishAsync(\"launchpad\",\"scrollToGroup\",{group:n,isInEditTitle:u})}}},this);window.addEventListener(\"resize\",this._resizeHandler.bind(this));this._updateTopGroupInModel()},_resizeHandler:function(){clearTimeout(this._resizeTimer);this._resizeTimer=setTimeout(this.resizeHandler.bind(this),300)},_dashboardDeleteTileHandler:function(e){const o=e.getSource().getBindingContext().getObject();t.getEventBus().publish(\"launchpad\",\"deleteTile\",{tileId:o.uuid,items:\"tiles\"},this)},dashboardTilePress:function(e){const o=e.getSource();if(!o){return}t.getEventBus().publish(\"launchpad\",\"dashboardTileClick\",{uuid:o.getUuid()});if(s.system.desktop){const e=sap.ushell.Container.getRendererInternal();const t=e.getRouter().getRoute(\"home\");if(this._fnSetFocusOnLastVisitedTile){t.detachBeforeMatched(this._fnSetFocusOnLastVisitedTile)}this._fnSetFocusOnLastVisitedTile=this._setFocusOnLastVisitedTile.bind(this,o,t);t.attachBeforeMatched(this._fnSetFocusOnLastVisitedTile)}},_setFocusOnLastVisitedTile:function(e,t){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\"],o=>{o.getInstance().then(o=>{o.moveScrollDashboard(e.$());t.detachBeforeMatched(this._fnSetFocusOnLastVisitedTile);delete this._fnSetFocusOnLastVisitedTile})})},_updateTopGroupInModel:function(){const e=this.getView().getModel();const t=this._getIndexOfTopGroupInViewPort();const o=this._getModelGroupFromVisibleIndex(t);e.setProperty(\"/iSelectedGroup\",o);e.setProperty(\"/topGroupInViewPortIndex\",t)},_getIndexOfTopGroupInViewPort:function(){const e=this.getView().getDomRef();if(!e){return 0}const t=e.getElementsByTagName(\"section\")[0];const o=jQuery(t).find(\".sapUshellTileContainer\").not(\".sapUshellHidden\");if(!o){return 0}for(let e=0;e<o.length;e++){const s=o[e].parentElement;if(t.scrollTop<=s.offsetTop+s.offsetHeight){return e}}return o.length?o.length-1:0},_handleDashboardScroll:function(){const e=this.getView();const t=e.getModel();const o=100;const i=t.getProperty(\"/homePageGroupDisplay\");const r=i!==\"tabs\";const n=t.getProperty(\"/tileActionModeActive\");function a(){p.handleTilesVisibility()}clearTimeout(this.timeoutId);this.timeoutId=setTimeout(a,o);if(!s.system.phone){e.oAnchorNavigationBar.closeOverflowPopup()}if(r||n){this._updateTopGroupInModel()}e.oAnchorNavigationBar.reArrangeNavigationBarElements()},_handleGroupDeletion:function(e){sap.ui.require([\"sap/m/MessageBox\"],o=>{const s=t.getEventBus();const i=e.getObject();const r=i.removable;const n=i.title;const a=i.groupId;const l=d.i18n;const u=o.Action;const p=r?u.DELETE:l.getText(\"ResetGroupBtn\");sap.ushell.Container.getServiceAsync(\"MessageInternal\").then(e=>{e.confirm(l.getText(r?\"delete_group_msg\":\"reset_group_msg\",[n]),e=>{if(e===p){s.publish(\"launchpad\",r?\"deleteGroup\":\"resetGroup\",{groupId:a})}},l.getText(r?\"delete_group\":\"reset_group\"),[p,u.CANCEL])})})},_modelLoaded:function(){this.bModelInitialized=true;u.getInitPromise().then(()=>{this._initializeUIActions()})},_initializeUIActions:function(){if(!this.oDashboardUIActionsModule){this.oDashboardUIActionsModule=new n}this.oDashboardUIActionsModule.initializeUIActions(this)},resizeHandler:function(){p.recalculateBottomSpace();p.handleTilesVisibility();if(u&&jQuery(\"#dashboardGroups\").is(\":visible\")&&this.bModelInitialized){u.reRenderGroupsLayout(null);this._initializeUIActions()}},_appOpenedHandler:function(e,t,o){const s=this.getView().getModel();const i=o.additionalInformation||\"\";const r=this.getOwnerComponent();const n=r.getMetadata().getComponentName();if(i.indexOf(n)===-1){p.setTilesNoVisibility()}const a=sap.ui.require(\"sap/ushell/components/homepage/ActionMode\");if(s.getProperty(\"/tileActionModeActive\")&&a){a.toggleActionMode(s,\"Menu Item\");if(s.getProperty(\"/homePageGroupDisplay\")===\"tabs\"){this._deactivateActionModeInTabsState();this.getView().oAnchorNavigationBar.reArrangeNavigationBarElements()}}if(this.oDashboardUIActionsModule){this.oDashboardUIActionsModule.disableAllDashboardUiAction()}},_scrollToGroupByName:function(e,t,o){const s=this.getView().getModel().getProperty(\"/groups\");const i=o.groupName;sap.ushell.Container.getServiceAsync(\"FlpLaunchPage\").then(o=>{s.forEach(s=>{if(o.getGroupTitle(s.object)===i){this._scrollToGroup(e,t,{groupId:s.groupId})}})})},_scrollToGroup:function(t,o,i){const r=i.group?i.group.getGroupId():i.groupId;let n;if(this.oView.oDashboardGroupsBox.getGroups()){n=this.oView.oDashboardGroupsBox.getGroups().reduce((e,t)=>t&&t.getGroupId()===r?t:e,null)}const a=n&&n.getDomRef();if(!a){return e.warning(\"Could not scroll to group: Group is not rendered!\")}const l=a.querySelector(\".sapUshellTileContainerContent\");if(!l){return e.warning(\"Could not scroll to group: Group Content is not rendered!\")}const u=document.getElementById(\"dashboardGroups\");const d=l.getBoundingClientRect();const c=u.getBoundingClientRect();if(d.top===c.top){u.parentElement.scrollTop=0}else{l.scrollIntoView()}const g=new Promise(e=>{if(s.system.desktop&&(i.restoreLastFocusedTile||i.groupChanged)){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\"],t=>{t.getInstance().then(e=>{let t=n.$();if(i.restoreLastFocusedTile){let o=false;if(i.restoreLastFocusedTileContainerById){t=jQuery(`#${i.restoreLastFocusedTileContainerById}`);o=true}e.goToLastVisitedTile(t,o)}else if(i.groupChanged){const o=t.find(\".sapUshellTile, .sapMGTLineMode, .sapFCard\").filter(\":visible\").eq(0);if(o.length){e.moveScrollDashboard(o)}}}).then(e)})}else{e()}});g.then(()=>{if(i.isInEditTitle){n.setEditMode(true)}p.handleTilesVisibility()});return g},_handleDrop:function(e,o){const s=u.getLayoutEngine();const i=s.layoutEndCallback();const r=!i.dstArea;const n=t.getEventBus();let a;let l;let d=jQuery.Deferred();const p=this.getView();const c=p.getModel();const g=c.getProperty(\"/homePageGroupDisplay\")&&c.getProperty(\"/homePageGroupDisplay\")===\"tabs\";const h=c.getProperty(\"/tileActionModeActive\");let f=true;if(!i.tile){n.publish(\"launchpad\",\"sortableStop\");return null}u.getLayoutEngine()._toggleAnchorItemHighlighting(false);if(i.dstGroup){const e=i.dstGroup.getBindingContext();const t=e.getProperty(e.sPath).isGroupLocked;f=r&&t}const b=i.tile.getBindingContext().getObject().isLinkPersonalizationSupported;if(!i.tileMovedFlag||f||!b&&i.dstArea===\"links\"){n.publish(\"launchpad\",\"sortableStop\");return null}if(!h&&!g&&i.dstArea===\"links\"&&!i.dstGroupData.getLinks().length){n.publish(\"launchpad\",\"sortableStop\");return null}a=true;l=true;if(i.srcGroup!==i.dstGroup){a=l=false}else if(i.tile!==i.dstGroup.getTiles()[i.dstTileIndex]){l=false}const G=this._getTileUuid(i.tile);if(i.srcGroup&&i.srcGroup.removeAggregation&&i.srcArea){i.srcGroup.removeAggregation(\"tiles\",i.tile,a)}const m=i.dstGroupData&&i.dstGroupData.insertAggregation&&i.dstArea===i.srcArea;if(m){i.tile.sParentAggregationName=i.dstArea;i.dstGroupData.insertAggregation(i.dstArea,i.tile,i.dstTileIndex,l);d=this._handleSameTypeDrop(i,G,m)}else if(r){d=this._handleShortDrop(i,G,m)}else{d=this._handleConvertDrop(i,m,o)}if(this.getView().getModel()){this.getView().getModel().setProperty(\"/draggedTileLinkPersonalizationSupported\",true)}n.publish(\"launchpad\",\"sortableStop\");return d.promise()},_handleSameTypeDrop:function(e,o,s){const i=t.getEventBus();const r=jQuery.Deferred();e.tile._getBindingContext().oModel.setProperty(`${e.tile._getBindingContext().sPath}/draggedInTabBarToSourceGroup`,false);i.publish(\"launchpad\",\"movetile\",{sTileId:o,sToItems:e.dstArea?e.dstArea:\"tiles\",sFromItems:e.srcArea?e.srcArea:\"tiles\",sTileType:e.dstArea?e.dstArea.substr(0,e.dstArea.length-1):undefined,toGroupId:e.dstGroupData.getGroupId?e.dstGroupData.getGroupId():e.dstGroupData.groupId,toIndex:e.dstTileIndex,longDrop:s,callBack:function(){r.resolve()}});return r.promise()},_handleShortDrop:function(e,o,s){const i=t.getEventBus();const r=jQuery.Deferred();i.publish(\"launchpad\",\"movetile\",{sTileId:o,sToItems:e.srcArea||\"tiles\",sFromItems:e.srcArea||\"tiles\",sTileType:e.srcArea?e.srcArea.substr(0,e.srcArea.length-1):undefined,toGroupId:e.dstGroupData.getGroupId?e.dstGroupData.getGroupId():e.dstGroupData.groupId,toIndex:e.dstTileIndex,longDrop:s,callBack:function(){r.resolve()}});return r.promise()},_handleConvertDrop:function(e,o,s){const i=t.getEventBus();const r=jQuery.Deferred();i.publish(\"launchpad\",\"convertTile\",{toGroupId:e.dstGroupData.getGroupId?e.dstGroupData.getGroupId():e.dstGroupData.groupId,toIndex:e.dstTileIndex,tile:t.byId(s.id),srcGroupId:e.srcGroup.getGroupId?e.srcGroup.getGroupId():e.srcGroup.groupId,longDrop:o,callBack:function(){r.resolve()}});return r.promise()},_getTileUuid:function(e){if(e.getUuid){return e.getUuid()}const t=e.getBindingContext().getObject();if(t.getParent){return t.getParent().getUuid()}return t.uuid},_handleDrag:function(e,t){const o=u.getLayoutEngine().layoutEndCallback();const s=o.tile.getBindingContext().getObject();const i=this.getView().getModel();if(i){i.setProperty(\"/draggedTileLinkPersonalizationSupported\",s.isLinkPersonalizationSupported)}},_handleTabBarItemPressEventHandler:function(e,t,o){const s=this.getView();const i=s.getModel();const r=i.getProperty(\"/groups\");const n=o.iGroupIndex;for(let e=0;e<r.length;e++){i.setProperty(`/groups/${e}/isGroupSelected`,false)}i.setProperty(`/groups/${n}/isGroupSelected`,true);this._handleTabBarItemPress(e,t,n)},_handleTabBarItemPress:function(e,o,s,i){const r=this.getView();let n;if(i){n=i.getParameter(\"group\ Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/pages/controller/PagesAndSpaceId\", [\"sap/ui/thirdparty/hasher\",\"sap/ushell/resources\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(e,t,n,a)=>{\"use strict\";function i(){}i.prototype.getPageAndSpaceId=function(t){return a.getServiceAsync(\"URLParsing\").then(n=>{if(t===undefined){t=e.getHash()}const a=n.parseShellHash(t)||{};const i={semanticObject:a.semanticObject||\"\",action:a.action||\"\"};const s=a.params||{};const c=s.pageId||[];const r=s.spaceId||[];return this._parsePageAndSpaceId(c,r,i)})};i.prototype._parsePageAndSpaceId=function(e,n,a){return new Promise((i,s)=>{this.getUserMyHomeEnablement().then(()=>{if(e.length<1&&n.length<1){const e=a.semanticObject===\"Shell\"&&a.action===\"home\";const n=a.semanticObject===\"\"&&a.action===\"\";if(e||n){this._getUserDefaultSpaceAndPage().then(e=>{i(e)}).catch(e=>{s(e)});return}s(t.i18n.getText(\"PageRuntime.NoPageIdAndSpaceIdProvided\"))}if(e.length===1&&n.length===0){s(t.i18n.getText(\"PageRuntime.OnlyPageIdProvided\"))}if(e.length===0&&n.length===1){s(t.i18n.getText(\"PageRuntime.OnlySpaceIdProvided\"))}if(e.length>1||n.length>1){s(t.i18n.getText(\"PageRuntime.MultiplePageOrSpaceIdProvided\"))}if(e[0]===\"\"){s(t.i18n.getText(\"PageRuntime.InvalidPageId\"))}if(n[0]===\"\"){s(t.i18n.getText(\"PageRuntime.InvalidSpaceId\"))}i({pageId:e[0],spaceId:n[0]})})})};i.prototype.getUserMyHomeEnablement=function(){return new Promise((e,t)=>{const i=a.getUser().getShowMyHome();n.emit(\"/core/spaces/myHome/userEnabled\",i);e(i)})};i.prototype._getUserDefaultSpaceAndPage=function(){return new Promise((e,n)=>{Promise.all([a.getServiceAsync(\"Menu\"),this.getUserMyHomeEnablement()]).then(a=>{const i=a[0];i.getDefaultSpace().then(a=>{if(!a){n(t.i18n.getText(\"PageRuntime.NoAssignedSpace\"));return}const i=a&&a.children&&a.children[0];if(!i){n(t.i18n.getText(\"PageRuntime.NoAssignedPage\"));return}e({spaceId:a.id,pageId:i.id})})}).catch(e=>{n(e)})})};return new i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/runtimeSwitcher/Component\", [\"sap/ui/core/UIComponent\"],e=>{\"use strict\";return e.extend(\"sap.ushell.components.runtimeSwitcher.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ushell/components/pages/controller/PagesAndSpaceId\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/base/util/deepExtend\",\"sap/base/util/ObjectPath\",\"sap/ui/core/Component\",\"sap/ui/core/ComponentContainer\"],(e,t,o,n,i,a,s,r)=>{\"use strict\";return e.extend(\"sap.ushell.components.runtimeSwitcher.controller.RuntimeSwitcher\",{onInit:function(){this.oNavContainer=this.byId(\"switcherNavContainer\");this.oPagesRuntime=this.byId(\"pagesRuntime\");this.oWorkpageRuntime=this.byId(\"workpagesRuntime\");this.oWorkpageRuntime.addEventDelegate({onBeforeFirstShow:this._onBeforeFirstShowWorkpageRuntime.bind(this)});this.oPagesRuntime.addEventDelegate({onBeforeFirstShow:this._onBeforeFirstShowPagesRuntime.bind(this)});this._oInitPromise=this._handleRouter().then(()=>{const e=n.getRendererInternal();this.oContainerRouter=e.getRouter();this.oContainerRouter.getRoute(\"home\").attachMatched(this._handleRouter,this);this.oContainerRouter.getRoute(\"openFLPPage\").attachMatched(this._handleRouter,this)})},_createComponentContainer:function(e){return new r(e)},_onBeforeFirstShowPagesRuntime:async function(){const e=await s.create({name:\"sap.ushell.components.pages\",componentData:{navigationDisabled:true},asyncHints:{preloadBundles:[\"sap/ushell/preload-bundles/homepage-af-dep.js\"]},manifest:true});const t=this._createComponentContainer({component:e,height:\"100%\",async:true});t.placeAt(this.byId(\"pagesRuntime\"));this.oPageRuntimeComponent=e},_onBeforeFirstShowWorkpageRuntime:async function(){const e=this._getWorkpageComponentProperties();const t=await s.create(e);const o=new this._createComponentContainer({component:t,height:\"100%\",async:true});o.placeAt(this.byId(\"workpagesRuntime\"));this.oWorkPageRuntimeComponent=t;if(typeof this.oWorkPageRuntimeComponent?.setPageId===\"function\"&&this._sCurrentPageId){this.oWorkPageRuntimeComponent.setPageId(this._sCurrentPageId);this._sCurrentPageId=undefined}},_handleRouter:async function(){if(o.last(\"/core/workPages/myHome/pageId\")){this._toggleToWorkPagesRuntime(o.last(\"/core/workPages/myHome/pageId\"));return}try{const e=await t.getPageAndSpaceId();const o=e.pageId;const i=await n.getServiceAsync(\"Menu\");if(!o){throw new Error(\"No pageId found\")}const a=await i.isWorkPage(o);if(a||new URLSearchParams(window.location.search).get(\"sap-ushell-rt\")===\"workpage\"){this._toggleToWorkPagesRuntime(o)}else{this._toggleToPagesRuntime()}}catch(e){this._toggleToPagesRuntime()}},_toggleToPagesRuntime:function(){this.oNavContainer.to(this.oPagesRuntime);if(this.oWorkPageRuntimeComponent){if(typeof this.oWorkPageRuntimeComponent.hideRuntime===\"function\"){this.oWorkPageRuntimeComponent.hideRuntime()}}if(this.oPageRuntimeComponent){this.oPageRuntimeComponent.onRouteMatched()}},_toggleToWorkPagesRuntime:function(e){this.oNavContainer.to(this.oWorkpageRuntime);if(this.oPageRuntimeComponent){this.oPageRuntimeComponent.hideRuntime()}if(this.oWorkPageRuntimeComponent){if(typeof this.oWorkPageRuntimeComponent.onRouteMatched===\"function\"){this.oWorkPageRuntimeComponent.onRouteMatched()}else if(typeof this.oWorkPageRuntimeComponent.setPageId===\"function\"){this.oWorkPageRuntimeComponent.setPageId(e)}}else{this._sCurrentPageId=e}},onExit:function(){this.oContainerRouter.getRoute(\"home\").detachRouteMatched(this._handleRouter,this);this.oContainerRouter.getRoute(\"openFLPPage\").detachRouteMatched(this._handleRouter,this)},_getWorkpageComponentProperties:function(){const e=o.last(\"/core/customPreload/enabled\")?o.last(\"/core/customPreload/coreResourcesComplement\"):[];const t=i({componentData:{navigationDisabled:true,pageWidthSizeMode:n.getFLPPlatform(true)===\"MYHOME\"?\"large\":\"fullWidth\"},manifest:true},o.last(\"/core/workPages/component\"));const s=t.addCoreResourcesComplement===undefined?true:t.addCoreResourcesComplement;if(s){const o=a.get(\"asyncHints.preloadBundles\",t)||[];a.set(\"asyncHints.preloadBundles\",o.concat(e),t)}delete t.addCoreResourcesComplement;return t}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/FloatingContainer/Component\", [\"sap/base/i18n/Localization\",\"sap/base/Log\",\"sap/base/util/restricted/_debounce\",\"sap/base/util/restricted/_throttle\",\"sap/ui/core/Component\",\"sap/ui/core/EventBus\",\"sap/ui/core/Fragment\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ui/util/Storage\",\"sap/ushell/renderer/ShellLayout\",\"sap/ushell/state/BindingHelper\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\",\"sap/ushell/UIActions\"],(e,t,i,o,n,s,r,l,a,c,d,h,p,g,f)=>{\"use strict\";const u=d.ShellArea;const _=g.Operation;const y={start:\"start\",end:\"end\"};const k={floating:\"floating\",dockedRight:\"docked:right\",dockedLeft:\"docked:left\"};return n.extend(\"sap.ushell.components.shell.FloatingContainer.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\"},init:function(){this._bFirstTimeControlRender=true;this._oStorage=new c(c.Type.local,\"com.sap.ushell.adapters.local.FloatingContainer\");this._oWrapperDomRef=document.getElementById(u.FloatingContainer);this._fnDebouncedHandleUIActionActivation=i(this._handleUIActionActivation.bind(this),300);this._fnThrottledHandleDockingPreview=o(this._handleDockingPreview.bind(this),250);this.oModel=new a({docked:false,dockPosition:y.start,floatingContainer:{visible:false},containerStyles:{initialized:false,top:0,left:0,fullHeight:false,position:\"absolute\",display:\"block\"},dockingPreview:{open:false,dockPosition:y.start}});l.resize.attachHandler(this._handleResize,this);this.oDragSelectorBinding=p.getModel().bindProperty(\"/floatingContainer/dragSelector\");this.oDragSelectorBinding.attachChange(this._handleDragSelectorUpdate,this);this.oVisibleBinding=p.getModel().bindProperty(\"/floatingContainer/visible\");this.oVisibleBinding.attachChange(this._handleVisibilityUpdate,this);this.oDockedBinding=this.oModel.bindProperty(\"/docked\");this.oDockedBinding.attachChange(this._storeState,this);this.oDockPositionBinding=this.oModel.bindProperty(\"/dockPosition\");this.oDockPositionBinding.attachChange(this._storeState,this);this._restoreState();const e=this._createControl();this._initWrapper();this.oInitPromise=Promise.all([e])},_createControl:async function(){this.oFloatingContainer=await r.load({name:\"sap.ushell.components.shell.FloatingContainer.FloatingContainer\",controller:this});h.overrideUpdateAggregation(this.oFloatingContainer);this.oFloatingContainer.addEventDelegate({onAfterRendering:this._handleOnAfterRendering},this);this.oFloatingContainer.attachRerenderingPrevented(this._handleOnAfterRendering,this);this.oFloatingContainer.setModel(p.getModel(),\"shellModel\");this.oFloatingContainer.setModel(this.oModel);this.oFloatingContainer.placeAt(u.FloatingContainer,\"only\");if(this._getVisibility()){return new Promise(e=>{setTimeout(()=>{this._handleVisibilityUpdate();e()},0)})}},_initWrapper:function(){const e=this._getWrapperDomRef();const t=this._restoreWrapperStyles();if(!t){if(!this._isDocked()){const e=l.resize.height;const t=document.getElementById(u.ShellHeader).offsetHeight;const i=t/e*100;const o=60;this.oModel.setProperty(\"/containerStyles/left\",o);this.oModel.setProperty(\"/containerStyles/top\",i)}else{if(this.oModel.getProperty(\"/dockPosition\")===y.end){this.oModel.setProperty(\"/containerStyles/left\",100)}else{this.oModel.setProperty(\"/containerStyles/left\",0)}this.oModel.setProperty(\"/containerStyles/top\",0)}}e.classList.add(\"sapUshellFloatingContainerWrapper\");this._renderWrapperStyles()},_renderWrapperStyles:function(){const e=this._getWrapperDomRef();const t=this.oModel.getProperty(\"/containerStyles\");e.style.left=`${t.left}%`;e.style.top=`${t.top}%`;if(t.fullHeight){e.style.height=\"100%\"}else{e.style.height=\"\"}e.style.position=t.position;e.style.display=t.display;if(this.oModel.getProperty(\"/docked\")){e.classList.add(\"sapUshellContainerDocked\");if(this.oModel.getProperty(\"/dockPosition\")===y.start){e.classList.add(\"sapUshellContainerDockedStart\");e.classList.remove(\"sapUshellContainerDockedEnd\")}else{e.classList.add(\"sapUshellContainerDockedEnd\");e.classList.remove(\"sapUshellContainerDockedStart\")}}else{e.classList.remove(\"sapUshellContainerDocked\");e.classList.remove(\"sapUshellContainerDockedStart\");e.classList.remove(\"sapUshellContainerDockedEnd\")}this._storeWrapperStyles()},_getControl:function(){return this.oFloatingContainer},_getCloneDomRef:function(){return document.querySelector(\".sapUshellFloatingContainer-clone\")},_getWrapperDomRef:function(){return this._oWrapperDomRef},_getVisibility:function(){return p.getModel().getProperty(\"/floatingContainer/visible\")},_restoreWrapperStyles:function(){if(this._isDocked()){return false}const e=this._oStorage.get(\"floatingContainerStyle\");if(!e){return false}const i=e.split(\";\");i.forEach(e=>{if(!e.includes(\":\")){t.warning(`Cannot restore and parse property: '${e}'`);return}const[i,o]=e.split(\":\").map(e=>e.trim());switch(i){case\"left\":case\"top\":const e=parseFloat(o.replace(\"%\",\"\"));this.oModel.setProperty(`/containerStyles/${i}`,e);break;case\"position\":this.oModel.setProperty(`/containerStyles/${i}`,o);break;case\"display\":break;default:t.warning(`Cannot restore unknown property: '${i}'`)}});return true},_storeWrapperStyles:function(){const e=this._getWrapperDomRef();this._oStorage.put(\"floatingContainerStyle\",e.style.cssText)},_storeState:function(){const e=this._getState();this._oStorage.put(\"lastState\",e);g.updateAllBaseStates(\"floatingContainer.state\",_.Set,e)},_getState:function(){const t=this._isDocked();if(!t){return k.floating}const i=e.getRTL();const o=this.oModel.getProperty(\"/dockPosition\");let n;if(i){n=o===y.start?\"right\":\"left\"}else{n=o===y.end?\"right\":\"left\"}if(n===\"left\"){return k.dockedLeft}return k.dockedRight},_restoreState:function(){const t=this._oStorage.get(\"lastState\");if(t){const i=t.includes(\"docked\");const o=this._isDockSupported();this.oModel.setProperty(\"/docked\",i&&o);if(i&&o){const i=e.getRTL();const o=t.includes(\"left\")?\"left\":\"right\";let n;if(i){n=o===\"right\"?y.start:y.end}else{n=o===\"left\"?y.start:y.end}this.oModel.setProperty(\"/dockPosition\",n)}}},_getBoundingClientRect(e){return e.getBoundingClientRect()},_storeCurrentWrapperPosition:function(){const t=e.getRTL();const i=this._getWrapperDomRef();const o=this._getBoundingClientRect(i);const n=l.resize.width;const s=o.left;let r;if(t){const e=i.offsetWidth;r=(s+e)/n*100}else{r=s/n*100}const a=l.resize.height;const c=o.top;const d=c/a*100;this.oModel.setProperty(\"/containerStyles/left\",r);this.oModel.setProperty(\"/containerStyles/top\",d)},_isDocked:function(){return this.oModel.getProperty(\"/docked\")},_isFullScreen:function(){return window.matchMedia?window.matchMedia(\"(max-width: 417px)\").matches:false},_isDockingAreaOpen:function(){return!!this._getDockingPreview()},_isDockSupported:function(){const e=l.media.getCurrentRange(l.media.RANGESETS.SAP_STANDARD);return e.name===\"Desktop\"},_adjustPosition:function(){const t=this._getControl().getDomRef();const i=this._getWrapperDomRef();const o=this._isFullScreen();if(!t||!i||o){return}const n=l.resize.width;const s=l.resize.height;const r=t.offsetWidth;const a=t.offsetHeight;const c=e.getRTL();const d=this.oModel.getProperty(\"/containerStyles/left\");let h=n*d/100;const p=this.oModel.getProperty(\"/containerStyles/top\");let g=s*p/100;if(isNaN(h)||isNaN(g)){return}if(c){const e=h<r||h>n;if(e){h=h<r?r:n}}else{const e=h<0||n<h+r;if(e){h=h<0?0:n-r}}if(s<g+a){g=s-a}if(g<0){g=0}this.oModel.setProperty(\"/containerStyles/left\",h/n*100);this.oModel.setProperty(\"/containerStyles/top\",g/s*100);this.oModel.setProperty(\"/containerStyles/position\",\"absolute\");this._renderWrapperStyles()},_handleOnAfterRendering:function(){this._adjustPosition();this._handleDragSelectorUpdate()},_handleResize:function(){this._fnDebouncedHandleUIActionActivation();const e=this._getWrapperDomRef();const t=!!e;const i=this._isDocked();if(t&&!i){this._adjustPosition()}if(i){this._emitResizeWhileDockedEvent();this._emitAppFinderResizeEvent()}if(!this._isDockSupported()&&i){this._removeFromDock();this._adjustPosition();this._emitUndockedOnResizeEvent()}},_handleVisibilityUpdate:async function(){const e=this._getVisibility();if(!this._isDocked()){this.oModel.setProperty(\"/floatingContainer/visible\",e);return}if(e){if(this._isDockSupported()){const e=this.oModel.getProperty(\"/dockPosition\");this._moveIntoDock(e)}else{this.oModel.setProperty(\"/docked\",false)}}else{await this._startAnimation(false)}this.oModel.setProperty(\"/floatingContainer/visible\",e);this._emitAppFinderResizeEvent()},_handleUIActionActivation:function(){if(!this.oUIActions){return}if(this._isFullScreen()){this.oUIActions.disable()}else{this.oUIActions.enable()}},_handleDragSelectorUpdate:function(){const e=p.getModel().getProperty(\"/floatingContainer/dragSelector\");if(!e){if(this.oUIActions){this.oUIActions.disable()}return}const i=this._getControl().getDomRef();const o=i.querySelectorAll(e);if(o.length){o.forEach(e=>e.classList.add(\"sapUshellFloatingContainerSelector\"))}else{t.error(\"_handleDragSelectorUpdate could not find the element\",\"sap.ushell.renderer.Shell.controller\");if(this.oUIActions){this.oUIActions.disable()}return}if(!this.oUIActions){this.oUIActions=new f({containerSelector:\".sapUiBody\",wrapperSelector:\".sapUshellFloatingContainerWrapper\",draggableSelector:\".sapUshellFloatingContainerWrapper\",rootSelector:\".sapUiBody\",cloneClass:\"sapUshellFloatingContainer-clone\",dragCallback:this._handleDrag.bind(this),endCallback:this._handleDrop.bind(this),moveTolerance:3,onDragStartUIHandler:this._onDragStart.bind(this),dragAndScrollCallback:this._onDrag.bind(this),switchModeDelay:1e3,isLayoutEngine:false,isTouch:false,elementToCapture:e,defaultMouseMoveHandler:function(){},debug:t.getLevel()>=t.Level.DEBUG})}else{this.oUIActions.setElementsToCapture(o)}this._handleUIActionActivation()},_onDrag:function(t){if(!this._isDockSupported()){return}const i=l.resize.width;const o=e.getRTL();if(t.moveX>=i-64){const e=o?y.start:y.end;this.oModel.setProperty(\"/dockingPreview/open\",true);this.oModel.setProperty(\"/dockingPreview/dockPosition\",e)}else if(t.moveX<64){const e=o?y.end:y.start;this.oModel.setProperty(\"/dockingPreview/open\",true);this.oModel.setProperty(\"/dockingPreview/dockPosition\",e)}else{this.oModel.setProperty(\"/dockingPreview/open\",false)}this._fnThrottledHandleDockingPreview()},_expandToDock:function(){this.oModel.setProperty(\"/containerStyles/fullHeight\",true);this._renderWrapperStyles()},_shrinkToDragUI:function(){this.oModel.setProperty(\"/docked\",false);this.oModel.setProperty(\"/containerStyles/fullHeight\",false);this._renderWrapperStyles()},_removeFromDock:function(){if(!this._isDocked()){return}const e=this._getWrapperDomRef();const t=document.getElementById(u.RootDomRef);t.appendChild(e);this.oModel.setProperty(\"/docked\",false);this._renderWrapperStyles();this._emitUndockedEvent();this._shrinkToDragUI();this._emitAppFinderResizeEvent()},_onDragStart:function(){this._storeCurrentWrapperPosition();this._removeFromDock()},_startAnimation:function(e){this._clearAnimation();const t=this._getWrapperDomRef();return new Promise(i=>{if(e){t.classList.add(\"sapUshellContainerDockedExtendCoPilot\")}else{t.classList.add(\"sapUshellContainerDockedMinimizeCoPilot\")}this._attachAnimationEnd(t,()=>{this._clearAnimation();i()})})},_attachAnimationEnd:function(e,t){[\"webkitAnimationEnd\",\"onanimationend\",\"msAnimationEnd\",\"animationend\"].forEach(i=>{e.addEventListener(i,t,{once:true})})},_clearAnimation:function(){const e=this._getWrapperDomRef();e.classList.remove(\"sapUshellContainerDockedExtendCoPilot\");e.classList.remove(\"sapUshellContainerDockedMinimizeCoPilot\")},_getDockingPreview:function(){return document.getElementById(\"DockingAreaDiv\")},_createDockingPreview:function(){const e=document.createElement(\"div\");e.id=\"DockingAreaDiv\";return e},_handleDockingPreview:function(){const e=this._getCloneDomRef();const t=this.oModel.getProperty(\"/dockingPreview/open\");const i=this.oModel.getProperty(\"/dockingPreview/dockPosition\");if(t&&e&&!this._getDockingPreview()){const t=this._createDockingPreview();if(i===y.start){t.classList.add(\"sapUshellShellDisplayDockingAreaLeft\")}else{t.classList.add(\"sapUshellShellDisplayDockingAreaRight\")}e.parentElement.appendChild(t)}else if(!t){window.setTimeout(()=>{const e=this._getDockingPreview();e?.remove?.()},150)}},_moveIntoDock:function(e){const t=this._getWrapperDomRef();let i;if(e===y.start){i=document.getElementById(u.FloatingContainerDockStart)}else{i=document.getElementById(u.FloatingContainerDockEnd)}i.appendChild(t);this.oModel.setProperty(\"/docked\",true);this.oModel.setProperty(\"/dockPosition\",e);this._renderWrapperStyles();this._emitDockedEvent();this._expandToDock();this._startAnimation(true);this._emitAppFinderResizeEvent()},_handleDrop:function(e,t,i){const o=l.resize.width;const n=l.resize.height;let s=i.deltaX/o;let r=-i.deltaY/n;const a=this.oModel.getProperty(\"/containerStyles/left\");const c=this.oModel.getProperty(\"/containerStyles/top\");if(typeof a===\"number\"){s=a+100*i.deltaX/o}if(typeof c===\"number\"){r=c+100*i.deltaY/n}if(this._isDockingAreaOpen()){r=0}this.oModel.setProperty(\"/containerStyles/left\",s);this.oModel.setProperty(\"/containerStyles/top\",r);this.oModel.setProperty(\"/containerStyles/position\",\"absolute\");this.oModel.setProperty(\"/containerStyles/display\",\"block\");this._renderWrapperStyles();this._adjustPosition();if(this._isDockingAreaOpen()){this.oModel.setProperty(\"/dockingPreview/open\",false);this._handleDockingPreview();const e=this.oModel.getProperty(\"/dockingPreview/dockPosition\");this._moveIntoDock(e)}},_handleDrag:function(){this.oModel.setProperty(\"/containerStyles/display\",\"none\");this._renderWrapperStyles();if(window.getSelection){const e=window.getSelection();try{e.removeAllRanges()}catch(e){}}const e=this._getCloneDomRef();const t=e?.querySelector?.(\".sapUshellFloatingContainer\");if(t){t.classList.remove(\"sapUshellShellFloatingContainerFullHeight\");const e=this._getControl().getContent()[0];if(e&&e.getHeight){t.children[0].style.height=e.getHeight()}}},_emitAppFinderResizeEvent:function(){window.setTimeout(()=>{s.getInstance().publish(\"launchpad\",\"appFinderWithDocking\")},300)},_emitResizeWhileDockedEvent:function(){s.getInstance().publish(\"launchpad\",\"shellFloatingContainerDockedIsResize\")},_emitDockedEvent:function(){const e={visible:this._getVisibility()};s.getInstance().publish(\"launchpad\",\"shellFloatingContainerIsDocked\",e)},_emitUndockedEvent:function(){const e={visible:this._getVisibility()};s.getInstance().publish(\"launchpad\",\"shellFloatingContainerIsUnDocked\",e)},_emitUndockedOnResizeEvent:function(){const e={visible:this._getVisibility()};s.getInstance().publish(\"launchpad\",\"shellFloatingContainerIsUnDockedOnResize\",e)},exit:function(){this._getControl().destroy();this.oModel.destroy();l.resize.detachHandler(this._handleResize,this);this.oDragSelectorBinding.destroy();this.oVisibleBinding.destroy();this.oDockedBinding.destroy();this.oDockPositionBinding.destroy();if(this.oUIActions){this.oUIActions.disable()}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer\", [\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/ushell/library\"],(e,t,l)=>{\"use strict\";const i=e.extend(\"sap.ushell.components.shell.FloatingContainer.controls.FloatingContainer\",{metadata:{library:\"sap.ushell\",properties:{visible:{type:\"boolean\",defaultValue:true},fullHeight:{type:\"boolean\",defaultValue:false}},aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true}},events:{rerenderingPrevented:{}}},renderer:{apiVersion:2,render:function(e,l){e.openStart(\"div\",l);e.class(\"sapUshellFloatingContainer\");if(t.system.desktop){e.attr(\"tabindex\",\"-1\")}e.openEnd();if(l.getContent()&&l.getContent().length){e.renderControl(l.getContent()[0])}e.close(\"div\")}}});i.prototype.setFullHeight=function(e){const t=this.getProperty(\"fullHeight\")!==e&&this.getDomRef();if(e){this.addStyleClass(\"sapUshellShellFloatingContainerFullHeight\")}else{this.removeStyleClass(\"sapUshellShellFloatingContainerFullHeight\")}this.setProperty(\"fullHeight\",e,true);if(t){this.fireRerenderingPrevented()}return this};i.prototype.setVisible=function(e){const t=this.getProperty(\"visible\")!==e&&this.getDomRef();if(e){this.removeStyleClass(\"sapUshellShellHidden\")}else{this.addStyleClass(\"sapUshellShellHidden\")}this.setProperty(\"visible\",e,true);if(t){this.fireRerenderingPrevented()}return this};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/MenuBar/Component\", [\"sap/ui/core/UIComponent\",\"sap/ui/core/ComponentContainer\",\"sap/ui/core/mvc/XMLView\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/resources\"],(e,n,t,o,s,i)=>{\"use strict\";return e.extend(\"sap.ushell.components.shell.MenuBar.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},init:function(){e.prototype.init.apply(this,arguments);this.setModel(i.i18nModel,\"i18n\");this.oMenuModelPromise=s.getServiceAsync(\"Menu\").then(async e=>{const t=await e.isMenuEnabled();const o=await e.getMenuModel();this.setModel(o,\"menu\");if(t){await this.oViewPromise;const e=new n({id:\"menuBarComponentContainer\",component:this});s.getRendererInternal().setNavigationBar(e)}})},createContent:function(){let e=\"sap.ushell.components.shell.MenuBar.view.MenuBar\";if(o.last(\"/core/menu/personalization/enabled\")&&o.last(\"/core/menu/personalization/showNavigationBarMenuButton\")){e=\"sap.ushell.components.shell.MenuBar.view.MenuBarWithPersonalizationButton\"}else if(o.last(\"/core/menu/personalization/enabled\")){e=\"sap.ushell.components.shell.MenuBar.view.MenuBarPersonalized\"}this.oViewPromise=t.create({viewName:e});return this.oViewPromise}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/MenuBar/controller/MenuBar.controller\", [\"sap/ui/core/CustomData\",\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/hasher\",\"sap/base/util/ObjectPath\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/utils/WindowUtils\",\"sap/m/IconTabFilter\",\"sap/m/IconTabSeparator\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(e,t,n,i,a,s,o,r,u,c,h,g)=>{\"use strict\";return t.extend(\"sap.ushell.components.shell.MenuBar.controller.MenuBar\",{onInit:function(){this.oContainerRouter=g.getRendererInternal().getRouter();this.oContainerRouter.getRoute(\"home\").attachMatched(this._selectIndexAfterRouteChange,this);this.oContainerRouter.getRoute(\"openFLPPage\").attachMatched(this._selectIndexAfterRouteChange,this);this.oContainerRouter.getRoute(\"openWorkPage\").attachMatched(this._selectIndexAfterRouteChange,this);this.oEventHubListener=s.on(\"enableMenuBarNavigation\").do(e=>{this.getView().getModel(\"viewConfiguration\").setProperty(\"/enableMenuBarNavigation\",e)});const e=new n({selectedKey:\"None Existing Key\",enableMenuBarNavigation:true,ariaTexts:{headerLabel:o.i18n.getText(\"SpacePageNavgiationRegion\")}});this.getView().setModel(e,\"viewConfiguration\");this.oURLParsingService=g.getServiceAsync(\"URLParsing\");this.oGetDefaultSpacePromise=g.getServiceAsync(\"Menu\").then(e=>e.getDefaultSpace());this._selectIndexAfterRouteChange();const t=this.byId(\"navigationBar\");if(t){t.removeStyleClass(\"sapContrast\")}},onMenuItemSelection:function(e){const t=e.getParameter(\"key\");const n=this.getView().getModel(\"menu\");const i=n.getProperty(\"/\");const a=this._getNestedMenuEntryByUid(i,t);if(a.type===\"IBN\"){this._performNavigation(a.target)}if(a.type===\"URL\"){this._openURL(a.target)}},_getNestedMenuEntry:function(e,t){return e.reduce((e,n)=>{if(e){return e}if(t(n)){return n}if(n.menuEntries){return this._getNestedMenuEntry(n.menuEntries,t)}},undefined)},_getNestedMenuEntryByUid:function(e,t){function n(e){return e.uid===t}return this._getNestedMenuEntry(e,n)},_performNavigation:async function(e){const t=await g.getServiceAsync(\"Navigation\");const n={};e.parameters.forEach(e=>{if(e.name&&e.value){n[e.name]=[e.value]}});t.navigate({target:{semanticObject:e.semanticObject,action:e.action},params:n})},_openURL:function(e){r.openURL(e.url,\"_blank\")},_selectIndexAfterRouteChange:async function(){const e=this.getView().getModel(\"viewConfiguration\");const t=await this.oURLParsingService;const n=await this.oGetDefaultSpacePromise;await this.getOwnerComponent().oMenuModelPromise;let s;const o=i.getHash();const r=t.parseShellHash(o);const u=this.getView().getModel(\"menu\").getProperty(\"/\");if(r.semanticObject===\"Shell\"&&r.action===\"home\"){if(h.last(\"/core/homeApp/enabled\")){s=this._getHomeAppUID(u)||\"\"}else{const e=n&&n.children&&n.children[0];s=e?this._getMenuUID(u,n.id,e.id)||\"\":\"\"}e.setProperty(\"/selectedKey\",s)}else{const t=a.get(\"params.spaceId.0\",r);const n=a.get(\"params.pageId.0\",r);const i=e.getProperty(\"/selectedKey\");const o=this._getNestedMenuEntryByUid(u,i);if(this._hasSpaceIdAndPageId(o,t,n)){s=o.uid}else{s=this._getMenuUID(u,t,n)}if(s){e.setProperty(\"/selectedKey\",s)}else{e.setProperty(\"/selectedKey\",\"None Existing Key\")}}},_getMenuUID:function(e,t,n){function i(e){return this._hasSpaceIdAndPageId(e,t,n)}const a=this._getNestedMenuEntry(e,i.bind(this));return a&&a.uid},_getHomeAppUID:function(e){function t(e){return e.target.semanticObject===\"Shell\"&&e.target.action===\"home\"}const n=this._getNestedMenuEntry(e,t.bind(this));return n&&n.uid},_hasSpaceIdAndPageId:function(e,t,n){const i=a.get(\"target.parameters\",e)||[];const s=i.find(e=>e.name===\"spaceId\"&&e.value===t);const o=i.find(e=>e.name===\"pageId\"&&e.value===n);return s!==undefined&&o!==undefined},_menuFactory:function(t,n){const i=n.getModel();if(i.getProperty(n.sPath).type===\"separator\"){return new c}const a=n.getObject();return new u(t,{key:a.uid,text:\"{menu>title}\",enabled:\"{viewConfiguration>/enableMenuBarNavigation}\",items:{path:\"menu>menuEntries\",factory:this._menuFactory.bind(this)}}).addCustomData(new e({key:\"help-id\",value:\"{= 'MenuEntry-' + ${menu>help-id}}\",writeToDom:\"{= !!${menu>help-id}}\"}))},onExit:function(){this.oEventHubListener.off()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/NavigationBarMenu/Component\", [\"sap/ui/core/UIComponent\",\"sap/ui/core/mvc/XMLView\",\"sap/ushell/library\",\"sap/ushell/resources\"],(e,t,n,a)=>{\"use strict\";return e.extend(\"sap.ushell.components.shell.NavigationBarMenu.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"],properties:{renderType:{type:\"string\",defaultValue:\"Button\",group:\"Behavior\"}}},init:function(){const t=this.getComponentData();if(t?.renderType){this.setProperty(\"renderType\",t.renderType)}e.prototype.init.apply(this,arguments);this.setModel(a.i18nModel,\"i18n\")},createContent:function(){let e=\"sap.ushell.components.shell.NavigationBarMenu.view.NavigationBarMenuButton\";if(this.getRenderType()===n.NavigationBarMenuState.Menu){e=\"sap.ushell.components.shell.NavigationBarMenu.view.NavigationBarMenu\"}return t.create({viewName:e})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller\", [\"sap/ui/core/InvisibleMessage\",\"sap/ui/core/library\",\"sap/ui/core/mvc/Controller\",\"sap/ui/core/Fragment\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/Sorter\",\"sap/ushell/resources\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ui/model/json/JSONModel\"],(e,t,n,s,o,i,a,r,c,p,d,l,u)=>{\"use strict\";const g=t.dnd.RelativeDropPosition;const h=t.InvisibleMessageMode;return n.extend(\"sap.ushell.components.shell.NavigationBarMenu.controller.NavigationBarMenu\",{onInit:function(){this.pMenuServicePromise=d.getServiceAsync(\"Menu\");this._oInvisibleMessageInstance=e.getInstance();this.oViewConfigurationModel=new u({enableMenuBarNavigation:true,contextMenu:{enableMoveDown:false,enableMoveUp:false,enablePin:false,showMoveUp:false,showMoveDown:false}});this.getView().setModel(this.oViewConfigurationModel,\"viewConfiguration\");this._oEventHubListener=l.on(\"enableMenuBarNavigation\").do(e=>{this.oViewConfigurationModel.setProperty(\"/enableMenuBarNavigation\",e)});this._bindPinnedSpaces()},onExit:function(){if(this._oInvisibleMessageInstance){this._oInvisibleMessageInstance.destroy()}this._oEventHubListener.off()},_onPinnedSpacesUpdateFinished:function(e){const t=r.i18n.getText(\"NavigationBarMenu.PinnedSpaces.Title\",[e.getParameter(\"total\")||0]);this.byId(\"PinnedSpacesTreeTitle\").setText(t)},_configureContextMenuEnablement:function(e){const t=e.getParameter(\"listItem\");if(!t){return}const n=e.getSource();const s=n.getItems();const o=n.indexOfItem(t);const i=n.getId().includes(\"PinnedSpaces\");const a=t.getBindingContext(\"spaces\");const r=a.getProperty(\"pinned\")!==undefined;this.oViewConfigurationModel.setProperty(\"/contextMenu/enableMoveUp\",i&&o>0);this.oViewConfigurationModel.setProperty(\"/contextMenu/enableMoveDown\",i&&o<s.length-1);this.oViewConfigurationModel.setProperty(\"/contextMenu/enablePin\",r);this.oViewConfigurationModel.setProperty(\"/contextMenu/showMoveUp\",i);this.oViewConfigurationModel.setProperty(\"/contextMenu/showMoveDown\",i);if(!r){e.preventDefault()}},_moveSpaceUp:function(e){if(this._handleSpacesSwap(true)){e.preventDefault();e.stopPropagation?.()}},_moveSpaceDown:function(e){if(this._handleSpacesSwap(false)){e.preventDefault();e.stopPropagation?.()}},handlePinButtonPress:function(e){const t=e.getSource();const n=t.getBindingContext(\"spaces\").getPath();const s=this._getModel();const o=s.getProperty(`${n}/pinned`);if(!o){this._pinSpace(n)}else{this._unpinSpace(n,true)}if(!t.getId().includes(\"PinnedSpaces\")){return}this.byId(\"AllSpaces\").focus();const i=this.byId(\"PinnedSpaces\");const a={onAfterRendering:()=>{i.focus();i.removeEventDelegate(a)}};i.addEventDelegate(a)},unpinAllSpaces:function(){const e=this.byId(\"PinnedSpaces\");const t=e.getModel(\"spaces\").getData();const n=p.last(\"/core/spaces/myHome/myHomeSpaceId\");t.forEach(e=>{if(e.pinned&&e.type!==\"separator\"&&e.id!==n){e.pinned=false;e.pinnedSortOrder=\"-1\"}});this._savePinnedSpaces()},rearrangePinnedSpaces:function(e){const t=this.oModel||this.getOwnerComponent().getModel(\"spaces\");const n=e.getParameter(\"draggedControl\").getBindingContext(\"spaces\");const s=t.getProperty(n.getPath()).pinnedSortOrder;const o=e.getParameter(\"droppedControl\");const i=o.getBindingContext(\"spaces\");const a=t.getProperty(i.getPath()).pinnedSortOrder;const r=e.getParameter(\"dropPosition\");const c=a+(r===g.After?1:0);this._rearrangePinnedSpaces(s,c,o,r)},_rearrangePinnedSpaces:function(e,t,n,s){this.pMenuServicePromise.then(o=>{o.moveMenuEntry(e,t);const i=this.byId(\"PinnedSpaces\");const a={onAfterRendering:function(){const o=i.getItems();const r=i.indexOfItem(n);let c;if(e<t){c=r-(s===g.Before?1:0)}else{c=r+(s===g.After?1:0)}const p=o[c];if(p){p.focus()}n.removeEventDelegate(a)}};n.addEventDelegate(a);const c=r.i18n.getText(\"NavigationBarMenu.PinnedSpaces.Moved\");this._oInvisibleMessageInstance.announce(c,h.Polite);this._savePinnedSpaces()})},_bindPinnedSpaces:function(){const e=this.byId(\"PinnedSpaces\");if(!this._pCustomTreeItemPromise){this._pCustomTreeItemPromise=s.load({id:this.createId(\"CustomTreeItemFragment\"),type:\"XML\",async:true,controller:this,name:\"sap.ushell.components.shell.NavigationBarMenu.view.CustomTreeItem\"}).then(t=>{t.addEventDelegate({onsapdownmodifiers:this._moveSpaceDown.bind(this),onsapupmodifiers:this._moveSpaceUp.bind(this)});e.bindItems({path:\"spaces>/\",filters:[new o({path:\"pinned\",operator:i.EQ,value1:true}),new o({path:\"type\",operator:i.NE,value1:\"separator\"}),new o({path:\"isHomeEntry\",operator:i.EQ,value1:false})],sorter:[new a({path:\"pinnedSortOrder\",descending:false})],parameters:{arrayNames:[\"menuEntries\"]},template:t,templateShareable:false})})}return this._pCustomTreeItemPromise},_handleSpacesSwap:function(e){const t=this.byId(\"PinnedSpaces\");const n=t.getItems();let s;for(let t=0;t<n.length;++t){s=n[t];if(document.activeElement!==s.getFocusDomRef()){continue}const o=s.getBindingContext(\"spaces\");const i=this._getModel();const a=i.getProperty(o.getPath()).pinnedSortOrder;const r=n[e?t-1:t+1];if(!r){return false}const c=r.getBindingContext(\"spaces\");const p=i.getProperty(c.getPath()).pinnedSortOrder;this._rearrangePinnedSpaces(a,e?p:p+1,r,e?g.Before:g.After);return true}},allSpacesFactory:function(e,t){const n=t.getModel().getProperty(t.getPath());const s=n.menuEntries||[];const o=this.byId(\"AllSpaces\").getDependents()[0].clone(e);o.setType(\"Active\");o.attachPress(this.onMenuItemSelection,this);if(s.length<1){o.addStyleClass(\"sapMTreeItemBaseLeaf\")}if(n.type===\"separator\"||n.isHomeEntry){o.setVisible(false)}return o},_unpinSpace:function(e,t){const n=this._getModel();n.setProperty(`${e}/pinned`,false);n.setProperty(`${e}/pinnedSortOrder`,\"-1\");if(t){this._savePinnedSpaces()}},_pinSpace:function(e){const t=this.byId(\"PinnedSpaces\").getItems().length;const n=this._getModel();let s=2;if(t>0){const e=this.byId(\ Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view\", [\"sap/ui/core/mvc/View\",\"sap/m/GenericTile\",\"sap/m/TileContent\",\"sap/m/library\",\"sap/m/NumericContent\",\"sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller\"],(t,e,a,n,r)=>{\"use strict\";const i=n.ValueColor;return t.extend(\"sap.ushell.components.tiles.applauncherdynamic.DynamicTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.applauncherdynamic.DynamicTile\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");return this.getTileControl()},getTileControl:function(){const t=this.getController();if(this.getContent().length===1){return this.getContent()[0]}return new e({mode:\"{/mode}\",header:\"{/data/display_title_text}\",subheader:\"{/data/display_subtitle_text}\",sizeBehavior:\"{/sizeBehavior}\",wrappingType:\"{/wrappingType}\",url:{parts:[\"/targetURL\",\"/nav/navigation_target_url\"],formatter:t.formatters.leanURL},tileContent:[new a({footer:\"{/data/display_info_text}\",footerColor:{path:\"/data/display_info_state\",formatter:function(t){if(t===\"Positive\"){t=i.Good}if(t===\"Negative\"){t=i.Error}if(!i[t]){t=i.Neutral}return t}},unit:\"{/data/display_number_unit}\",content:[new r({scale:\"{/data/display_number_factor}\",value:\"{/data/display_number_value}\",truncateValueTo:5,indicator:\"{/data/display_state_arrow}\",valueColor:{path:\"/data/display_number_state\",formatter:function(t){if(!t||t===\"Neutral\"||!i[t]){return i.None}return t}},icon:\"{/data/display_icon_url}\",width:\"100%\",withMargin:false})]})],press:[t.onPress,t]})},getMode:function(){return this.getModel().getProperty(\"/mode\")}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/cdm/applauncher/Component\", [\"sap/ui/core/mvc/XMLView\",\"sap/ui/core/UIComponent\"],(e,t)=>{\"use strict\";return t.extend(\"sap.ushell.components.tiles.cdm.applauncher.Component\",{metadata:{interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},createContent:function(){const t=this.getComponentData();const o=t.properties.tilePersonalization||{};const n=t.startupParameters;if(n&&n[\"sap-system\"]){o[\"sap-system\"]=n[\"sap-system\"][0]}return e.create({viewName:\"sap.ushell.components.tiles.cdm.applauncher.StaticTile\",viewData:{properties:t.properties,configuration:o}}).then(e=>{this._oController=e.getController();e.getContent()[0].bindTileContent({path:\"/properties\",factory:this._oController._getTileContent.bind(this._oController)});return e})},tileSetVisualProperties:function(e){if(this._oController){this._oController.updatePropertiesHandler(e)}},tileRefresh:function(){},tileSetVisible:function(e){},tileSetEditMode:function(e){if(this._oController){this._oController.editModeHandler(e)}},tileSetSizeBehavior:function(e){if(this._oController){this._oController.sizeBehaviorHandler(e)}},exit:function(){this._oController=null}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller\", [\"sap/ushell/library\",\"sap/ui/core/mvc/Controller\",\"sap/ushell/Config\",\"sap/ushell/utils/WindowUtils\",\"sap/ui/model/json/JSONModel\",\"sap/m/library\",\"sap/base/Log\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,o,i,n,r,s,a,p,l)=>{\"use strict\";const c=r.GenericTileScope;const d=r.GenericTileMode;const g=e.DisplayFormat;const h=e.AppType;return t.extend(\"sap.ushell.components.tiles.cdm.applauncher.StaticTile\",{_aDoables:[],_getConfiguration:function(){const e=this.getView().getViewData();e.properties.configSizeBehavior=o.last(\"/core/home/sizeBehavior\");e.properties.wrappingType=o.last(\"/core/home/wrappingType\");return e},onInit:function(){const e=this.getView();const t=new n;t.setData(this._getConfiguration());e.setModel(t);this._aDoables.push(o.on(\"/core/home/sizeBehavior\").do(e=>{t.setProperty(\"/properties/configSizeBehavior\",e)}));const i=this.getView().getViewData();const r=i.properties;r.mode=r.mode||(r.icon?\"ContentMode\":\"HeaderMode\");if(r.displayFormat===g.Compact&&r.title&&r.targetURL){t.setProperty(\"/properties/mode\",d.LineMode)}switch(r.displayFormat){case g.Flat:t.setProperty(\"/properties/frameType\",\"OneByHalf\");break;case g.FlatWide:t.setProperty(\"/properties/frameType\",\"TwoByHalf\");break;case g.StandardWide:t.setProperty(\"/properties/frameType\",\"TwoByOne\");break;default:{t.setProperty(\"/properties/frameType\",\"OneByOne\")}}const s=o.last(\"/core/contentProviders/providerInfo/enabled\");const a=o.last(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\");t.setProperty(\"/properties/showContentProviderInfoInTooltip\",s);t.setProperty(\"/properties/showContentProviderInfoOnVisualizations\",s&&a);if(s){this._aDoables.push(o.on(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\").do(e=>{t.setProperty(\"/properties/showContentProviderInfoOnVisualizations\",e)}))}},onExit:function(){this._aDoables.forEach(e=>{e.off()});this._aDoables=[]},editModeHandler:function(e){const t=e?c.ActionMore:c.Display;this.getView().getModel().setProperty(\"/properties/scope\",t)},sizeBehaviorHandler:function(e){this.getView().getModel().setProperty(\"/properties/customSizeBehavior\",e)},onPress:function(e){const t=this.getView().getViewData().properties;if(e.getSource().getScope&&e.getSource().getScope()===c.Display){const e=this._createTargetUrl();if(!e){return}p.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:e}});if(e[0]===\"#\"){hasher.setHash(e)}else{const n=o.last(\"/core/shell/enableRecentActivity\")&&o.last(\"/core/shell/enableRecentActivityLogging\");if(n){const e={title:t.title,appType:h.URL,url:t.targetURL,appId:t.targetURL};l.getRendererInternal(\"fiori2\").logRecentActivity(e)}i.openURL(e,\"_blank\")}}},updatePropertiesHandler:function(e){const t=this.getView().getContent()[0];const o=t.getTileContent()[0];if(typeof e.title!==\"undefined\"){t.setHeader(e.title)}if(typeof e.subtitle!==\"undefined\"){t.setSubheader(e.subtitle)}if(typeof e.icon!==\"undefined\"){o.getContent().setSrc(e.icon)}if(typeof e.info!==\"undefined\"){o.setFooter(e.info)}},_createTargetUrl:function(){let e=this.getView().getViewData().properties.targetURL;const t=this.getView().getViewData().configuration[\"sap-system\"];let o;if(e&&t){if(a.isIntentUrl(e)){o=a.parseShellHash(e);if(!o.params){o.params={}}o.params[\"sap-system\"]=t;e=`#${a.constructShellHash(o)}`}else{e+=`${e.indexOf(\"?\")<0?\"?\":\"&\"}sap-system=${t}`}}return e},_getLeanUrl:function(){return i.getLeanURL(this._createTargetUrl())},_getTileContent:function(e,t){const o=t.getPath().split(\"/\");o.pop();const i=t.getProperty(o.join(\"/\"));if(i!==this.oLastBindingObject||this.oTileContent&&this.oTileContent.bIsDestroyed){this.oLastBindingObject=i;this.oTileContent=this.getView().byId(i.icon?\"imageTileContent\":\"standardTileContent\").clone()}return this.oTileContent},_getCurrentProperties:function(){const e=this.getView().getContent()[0];const t=e.getTileContent()[0];const i=o.last(\"/core/home/sizeBehavior\");return{title:e.getHeader(),subtitle:e.getSubheader(),info:t.getFooter(),icon:t.getContent().getSrc(),mode:e.getMode(),configSizeBehavior:i}}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/cdm/applauncher/StaticTile.view\", [\"sap/ui/core/mvc/View\",\"sap/m/GenericTile\",\"sap/m/ImageContent\",\"sap/m/TileContent\"],(e,t,r,i)=>{\"use strict\";return e.extend(\"sap.ushell.components.tiles.cdm.applauncher.StaticTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.cdm.applauncher.StaticTile\"},createContent:function(e){this.setHeight(\"100%\");this.setWidth(\"100%\");if(this.getContent().length===1){return this.getContent()[0]}return new t({mode:\"{/properties/mode}\",header:\"{/properties/title}\",scope:\"{/properties/scope}\",subheader:\"{/properties/subtitle}\",sizeBehavior:\"{= ${/properties/customSizeBehavior} || ${/properties/configSizeBehavior}}\",frameType:\"{/properties/frameType}\",wrappingType:\"{/properties/wrappingType}\",url:{path:\"/properties/targetURL\",formatter:e._getLeanUrl.bind(e)},tileContent:new i({footer:\"{/properties/info}\",content:new r({src:\"{/properties/icon}\"})}),press:[e.onPress,e],additionalTooltip:\"{/properties/contentProviderLabel}\"})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/cdm/applauncherdynamic/Component\", [\"sap/ui/core/mvc/XMLView\",\"sap/ui/core/UIComponent\"],(e,t)=>{\"use strict\";return t.extend(\"sap.ushell.components.tiles.cdm.applauncherdynamic.Component\",{metadata:{interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},createContent:function(){const t=this.getComponentData();const r=t.properties||{};const i=r.tilePersonalization||{};const o=r.indicatorDataSource;if(o&&o.path){i.serviceUrl=o.path;i.serviceRefreshInterval=o.refresh}else if(o&&o.url){i.serviceUrl=o.url;i.serviceRefreshInterval=o.refreshInterval}const s=t.startupParameters;if(s&&s[\"sap-system\"]&&s[\"sap-system\"][0]){i[\"sap-system\"]=s[\"sap-system\"][0]}if(i.serviceUrl&&i.serviceUrl.charAt(0)!==\"/\"&&r.dataSource&&r.dataSource.uri){let e=r.dataSource.uri;if(i[\"sap-system\"]){if(e.charAt(e.length-1)===\"/\"){e=e.slice(0,e.length-1)}e+=`;o=${i[\"sap-system\"]}`}if(e.charAt(e.length-1)!==\"/\"){e+=\"/\"}e+=i.serviceUrl;i.serviceUrl=e}return e.create({viewName:\"sap.ushell.components.tiles.cdm.applauncherdynamic.DynamicTile\",viewData:{properties:r,configuration:i}}).then(e=>{this._oController=e.getController();this._oController.visibleHandler(this.bIsVisible);return e})},tileSetVisualProperties:function(e){if(this._oController){this._oController.updateVisualPropertiesHandler(e)}},tileRefresh:function(){if(this._oController){this._oController.refreshHandler()}},tileSetVisible:function(e){if(this._oController){this._oController.visibleHandler(e)}else{this.bIsVisible=e}},tileSetEditMode:function(e){if(this._oController){this._oController.editModeHandler(e)}},tileSetSizeBehavior:function(e){if(this._oController){this._oController.sizeBehaviorHandler(e)}},tileSetPreview:function(e){if(this._oController){this._oController.previewHandler(e)}},exit:function(){this._oController=null}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ushell/components/tiles/utils\",\"sap/ui/core/format/NumberFormat\",\"sap/ushell/Config\",\"sap/ushell/utils/WindowUtils\",\"sap/ui/model/json/JSONModel\",\"sap/m/library\",\"sap/ushell/library\",\"sap/base/Log\",\"sap/base/util/merge\",\"sap/ushell/utils/DynamicTileRequest\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,i,r,o,s,n,a,l,u,p,c,f,d,h)=>{\"use strict\";const m=n.GenericTileScope;const g=n.DeviationIndicator;const b=n.ValueColor;const v=n.FrameType;const y=a.DisplayFormat;const _=a.AppType;const D=\"sap.ushell.components.tiles.cdm.applauncherdynamic.DynamicTile\";const R=\"<RESET>\";const w={title:\"\",subtitle:\"\",icon:\"\",info:\"\",infoState:b.Neutral,targetURL:\"\",number_value:\"...\",number_unit:\"\",number_factor:\"\",number_state_arrow:g.None,number_value_state:b.Neutral};return e.extend(D,{_aDoables:[],timer:null,iLastTimeoutStart:0,oDataRequest:null,bShouldNotRefreshDataAfterInit:false,_getConfiguration:function(e){const t={};let i;t.configuration=e.configuration;t.properties=e.properties;t.properties.info=t.properties.info||w.info;t.properties.number_value=t.properties.preview?1234:w.number_value;t.properties.number_value_state=w.number_value_state;t.properties.number_state_arrow=w.number_state_arrow;t.properties.number_factor=w.number_factor;t.properties.number_unit=t.properties.numberUnit||w.number_unit;const o=t.configuration[\"sap-system\"];let s=t.properties.targetURL;if(s&&o){if(f.isIntentUrl(s)){i=f.parseShellHash(s);if(!i.params){i.params={}}i.params[\"sap-system\"]=o;s=`#${f.constructShellHash(i)}`}else{s+=`${s.indexOf(\"?\")<0?\"?\":\"&\"}sap-system=${o}`}t.properties.targetURL=s}t.properties.configSizeBehavior=r.last(\"/core/home/sizeBehavior\");t.properties.wrappingType=r.last(\"/core/home/wrappingType\");switch(t.properties.displayFormat){case y.Flat:t.properties.frameType=v.OneByHalf;break;case y.FlatWide:t.properties.frameType=v.TwoByHalf;break;case y.StandardWide:t.properties.frameType=v.TwoByOne;break;default:{t.properties.frameType=v.OneByOne}}t.originalProperties=u({},e.properties);return t},onInit:function(){const e=this.getView();const t=new s;const i=e.getViewData();const o=i.properties;t.setData(this._getConfiguration(i));const n=r.last(\"/core/contentProviders/providerInfo/enabled\");const a=r.last(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\");t.setProperty(\"/properties/showContentProviderInfoInTooltip\",n);t.setProperty(\"/properties/showContentProviderInfoOnVisualizations\",n&&a);if(n){this._aDoables.push(r.on(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\").do(e=>{t.setProperty(\"/properties/showContentProviderInfoOnVisualizations\",e)}))}e.setModel(t);this._aDoables.push(r.on(\"/core/home/sizeBehavior\").do(e=>{t.setProperty(\"/properties/configSizeBehavior\",e)}));if(o.preview){this.previewHandler(true)}},refreshHandler:function(){this.loadData(0,true)},visibleHandler:function(e){if(e){if(!this.oDataRequest||this.timer===null){this.initRequestInterval()}}else{this.stopRequests()}},editModeHandler:function(e){const t=e?m.ActionMore:m.Display;this.getView().getModel().setProperty(\"/properties/scope\",t)},sizeBehaviorHandler:function(e){this.getView().getModel().setProperty(\"/properties/customSizeBehavior\",e)},previewHandler:function(e){const t=this.getView();const i=t.getModel();if(e){const e=t.getViewData();const r=u({},e,{properties:{preview:true}});const o=this._getConfiguration(r);const s=u({},o.properties,{customSizeBehavior:i.getProperty(\"/properties/customSizeBehavior\"),configSizeBehavior:i.getProperty(\"/properties/configSizeBehavior\")});i.setProperty(\"/properties\",s);return}i.setProperty(\"/properties/preview\",false)},updateVisualPropertiesHandler:function(e){const t=this.getView().getModel().getProperty(\"/properties\");const i=this.getView().getModel().getProperty(\"/originalProperties\");if(c.isDefined(e.title)){t.title=e.title;i.title=e.title}if(c.isDefined(e.subtitle)){t.subtitle=e.subtitle;i.subtitle=e.subtitle}if(c.isDefined(e.icon)){t.icon=e.icon;i.icon=e.icon}if(c.isDefined(e.targetURL)){t.targetURL=e.targetURL;i.targetURL=e.targetURL}if(c.isDefined(e.info)){t.info=e.info;i.info=e.info}this.getView().getModel().refresh()},stopRequests:function(){if(this.timer){clearTimeout(this.timer);this.timer=null}if(this.oDataRequest){this.oDataRequest.abort()}},onPress:function(e){if(e.getSource().getScope&&e.getSource().getScope()===m.Display){const e=this.getView().getModel().getProperty(\"/properties/targetURL\");const t=this.getView().getModel().getProperty(\"/properties/title\");if(!e){return}d.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:e}});if(e[0]===\"#\"){hasher.setHash(e)}else{const i=r.last(\"/core/shell/enableRecentActivity\")&&r.last(\"/core/shell/enableRecentActivityLogging\");if(i){const i={title:t,appType:_.URL,url:e,appId:e};h.getRendererInternal(\"fiori2\").logRecentActivity(i)}o.openURL(e,\"_blank\")}}},initRequestInterval:function(){const e=this.getView().getModel();let t=e.getProperty(\"/configuration/serviceRefreshInterval\");if(!t||t===\"0\"){t=0;if(this.oDataRequest){this.bShouldNotRefreshDataAfterInit=true}}else if(t<10){const i=e.getProperty(\"/configuration/serviceUrl\");l.warning(`Refresh Interval ${t} seconds for service URL ${i} is less than 10 seconds, which is not supported. Increased to 10 seconds automatically.`,null,D);t=10}this.loadData(t,false)},loadData:function(e,t){if(!t&&this.bShouldNotRefreshDataAfterInit){return}const i=this.getView().getModel();const r=i.getProperty(\"/properties/preview\");const o=i.getProperty(\"/configuration/serviceUrl\");if(r){l.info(\"Tile in preview mode\",D);return}if(!o){l.error(\"No service URL given!\",D);this._setTileIntoErrorState();return}const s=e*1e3-(Date.now()-this.iLastTimeoutStart);if(!t&&!this.timer&&s>0){l.info(`Started timeout to call ${o} again in ${Math.ceil(s/1e3)} seconds`,null,D);this.timer=setTimeout(this.loadData.bind(this,e,false),c.sanitizeTimeoutDelay(s));return}if(!this.oDataRequest||this.oDataRequest.sUrl!==o){if(this.oDataRequest){this.oDataRequest.destroy()}const e=i.getProperty(\"/properties/contentProviderId\");const t={dataSource:i.getProperty(\"/properties/dataSource\")};this.oDataRequest=new p(o,this.successHandlerFn.bind(this),this.errorHandlerFn.bind(this),e,t)}else if(this.oDataRequest){this.oDataRequest.refresh()}if(e>0){l.info(`Started timeout to call ${o} again in ${e} seconds`,null,D);this.iLastTimeoutStart=Date.now();this.timer=setTimeout(this.loadData.bind(this,e,false),c.sanitizeTimeoutDelay(e*1e3))}},successHandlerFn:function(e){this.updatePropertiesHandler(e)},errorHandlerFn:function(e){let t=e&&e.message?e.message:e;const i=this.getView().getModel().getProperty(\"/configuration/serviceUrl\");if(e.statusText===\"Abort\"||e.aborted===true){l.info(`Data request from service ${i} was aborted`,null,D);this.bShouldNotRefreshDataAfterInit=false}else{if(e.response){t+=` - ${e.response.statusCode} ${e.response.statusText}`}l.error(`Failed to update data via service ${i}: ${t}`,null,D);this._setTileIntoErrorState()}},_setTileIntoErrorState:function(){const e=t.getResourceBundle();this.updatePropertiesHandler({number:\"???\",info:e.getText(\"dynamic_data.error\")})},_normalizeNumber:function(e,t,r,o){let s;if(isNaN(e)){s=e}else{const t=i.getFloatInstance({maxFractionDigits:o});if(!r){const t=Math.abs(e);if(t>=1e9){r=\"B\";e/=1e9}else if(t>=1e6){r=\"M\";e/=1e6}else if(t>=1e3){r=\"K\";e/=1e3}}s=t.format(e)}let n=s;const a=n[t-1];t-=a===\".\"||a===\",\"?1:0;n=n.substring(0,t);return{displayNumber:n,numberFactor:r}},updatePropertiesHandler:function(e){const t=this.getView().getModel().getProperty(\"/originalProperties\");const o=this.getView().getModel().getProperty(\"/properties\");const s=[{dataField:\"title\",modelField:\"title\"},{dataField:\"subtitle\",modelField:\"subtitle\"},{dataField:\"icon\",modelField:\"icon\"},{dataField:\"info\",modelField:\"info\"},{dataField:\"infoState\",modelField:\"infoState\"},{dataField:\"targetURL\",modelField:\"targetURL\"},{dataField:\"stateArrow\",modelField:\"number_state_arrow\"},{dataField:\"numberState\",modelField:\"number_value_state\"},{dataField:\"numberUnit\",modelField:\"number_unit\"},{dataField:\"numberFactor\",modelField:\"number_factor\"}];s.forEach(i=>{const r=e[i.dataField];const s=!r;const n=w[i.modelField];if(s){o[i.modelField]=t[i.modelField]||n}else if(this._isResetValue(r)){o[i.modelField]=n}else{o[i.modelField]=r}});o.number_value=!isNaN(e.number)?e.number:w.number_value;o.number_digits=e.numberDigits>=0?e.numberDigits:4;const n=[];if(e.targetParams){n.push(e.targetParams)}if(e.results){let t;let i;let r=0;e.results.forEach(e=>{i=e.number||0;if(typeof i===\"string\"){i=parseFloat(i)}r+=i;t=e.targetParams;if(t){n.push(t)}});o.number_value=r}if(n.length>0){const e=o.targetURL.indexOf(\"?\")!==-1?\"&\":\"?\";o.targetURL+=e+n.join(\"&\")}if(!isNaN(e.number)){if(typeof e.number===\"string\"){e.number=e.number.trim()}const t=this._shouldProcessDigits(e.number,e.numberDigits);const r=o.icon?4:5;if(e.number&&e.number.toString().length>=r||t){const t=this._normalizeNumber(e.number,r,e.numberFactor,e.numberDigits);o.number_factor=t.numberFactor;o.number_value=t.displayNumber}else{const t=i.getFloatInstance({maxFractionDigits:r});o.number_value=t.format(e.number)}}o.configSizeBehavior=r.last(\"/core/home/sizeBehavior\");this.getView().getModel().refresh()},_shouldProcessDigits:function(e,t){let i;e=typeof e!==\"string\"?e.toString():e;if(e.indexOf(\".\")!==-1){i=e.split(\".\")[1].length;if(i>t){return true}}return false},_getLeanUrl:function(e){return o.getLeanURL(e)},_formatValueColor:function(e){if(e===\"Positive\"){return b.Good}if(e===\"Negative\"){return b.Error}return b[e]||b.Neutral},_getValueColor:function(e){const t=this._formatValueColor(e);if(t===b.Neutral){return b.None}return t},_isResetValue:function(e){if(typeof e!==\"string\"){return false}return e===R},onExit:function(){if(this.oDataRequest){this.stopRequests();this.oDataRequest.destroy()}this._aDoables.forEach(e=>{e.off()});this._aDoables=[]}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view\", [\"sap/ui/core/mvc/View\",\"sap/m/GenericTile\",\"sap/m/TileContent\",\"sap/m/NumericContent\",\"sap/m/library\"],(e,t,r,i,o)=>{\"use strict\";const n=o.ValueColor;return e.extend(\"sap.ushell.components.tiles.cdm.applauncherdynamic.DynamicTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.cdm.applauncherdynamic.DynamicTile\"},createContent:function(e){this.setHeight(\"100%\");this.setWidth(\"100%\");if(this.getContent().length===1){return this.getContent()[0]}return new t({header:\"{/properties/title}\",scope:\"{/properties/scope}\",subheader:\"{/properties/subtitle}\",sizeBehavior:\"{= ${/properties/customSizeBehavior} || ${/properties/configSizeBehavior}}\",frameType:\"{/properties/frameType}\",wrappingType:\"{/properties/wrappingType}\",url:{parts:[\"/properties/targetURL\"],formatter:e.formatters&&e.formatters.leanURL},tileContent:new r({footer:\"{/properties/info}\",footerColor:{path:\"/properties/infoState\",formatter:function(e){if(e===\"Positive\"){e=n.Good}if(e===\"Negative\"){e=n.Error}if(!n[e]){e=n.Neutral}return e}},unit:\"{/properties/number_unit}\",content:new i({truncateValueTo:5,scale:\"{/properties/number_factor}\",value:\"{/properties/number_value}\",indicator:\"{/properties/number_state_arrow}\",valueColor:{path:\"/properties/number_value_state\",formatter:function(e){if(!e||e===\"Neutral\"||!n[e]){return n.None}return e}},icon:\"{/properties/icon}\",withMargin:false,width:\"100%\"})}),additionalTooltip:\"{/properties/contentProviderLabel}\",press:[e.onPress,e]})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/generic\", [\"sap/ui/core/mvc/Controller\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/ushell/components/tiles/sbtilecontent\",\"sap/m/library\",\"sap/ui/core/format/DateFormat\",\"sap/m/MessageToast\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,i,t,l,a,s,o,n,jQuery,r)=>{\"use strict\";const u=a.DeviationIndicator;const c=a.ValueColor;const T=a.FrameType;const h=a.LoadState;const g=e.extend(\"sap.ushell.components.tiles.generic\",{getTile:function(){return this.oKpiTileView.oGenericTile},_updateTileModel:function(e){const i=this.getTile().getModel().getData();jQuery.extend(i,e);this.getTile().getModel().setData(i)},logError:function(e){this._updateTileModel({value:\"\",scale:\"\",unit:\"\"});r.error(e);if(this.getView().getViewData().deferredObj){this.getView().getViewData().deferredObj.reject()}else{this.oKpiTileView.oGenericTile.setState(h.Failed)}},getKeyForCallCheck:function(){if(this.oKpiTileView.getViewName()==\"sap.ushell.components.tiles.indicatornumeric.NumericTile\"){return`${this.oConfig.TILE_PROPERTIES.id}left`}return`${this.oConfig.TILE_PROPERTIES.id}right`},getRelativeTime:function(){let e=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate();let i;if(this.cacheTime instanceof Date){i=this.cacheTime}else{i=new Date(parseInt(this.cacheTime.substr(6),10))}const t=sap.ushell.components.tiles.indicatorTileUtils.util.getTimeDifference(e-i);let l;let a;switch(t.unit){case\"minutes\":a=sap.ushell.components.tiles.indicatorTileUtils.util.getMillisecond(t.time,\"minutes\");e=e-a;l=new Date(e);break;case\"hours\":a=sap.ushell.components.tiles.indicatorTileUtils.util.getMillisecond(t.time,\"hours\");e=e-a;l=new Date(e);break;case\"days\":a=sap.ushell.components.tiles.indicatorTileUtils.util.getMillisecond(t.time,\"days\");e=e-a;l=new Date(e);break}return l},setTimeStamp:function(){this.updateTimeStampjobScheduled=false;const e=s.getDateTimeInstance({relative:true,relativeSource:\"auto\",style:\"short\"});const i=e.format(this.getRelativeTime());this.oKpiTileView.oNVConfS.setRefreshOption(true);this.oKpiTileView.oNVConfS.setTimestamp(i);this.updateTimeStampjobScheduled=false;const t=`${this.oConfig.TILE_PROPERTIES.id}time`;let l=sap.ushell.components.tiles.indicatorTileUtils.util.getScheduledJob(t);if(l){clearTimeout(l);l=undefined}sap.ushell.components.tiles.indicatorTileUtils.util.scheduleTimeStampJob.call(this,this.oTileApi.visible.isVisible())},isACurrencyMeasure:function(e){const i=this.DEFINITION_DATA.EVALUATION.ODATA_ENTITYSET;return sap.ushell.components.tiles.indicatorTileUtils.util.getFormattingMetadata(this.oRunTimeODataModel,i,e)._hasCurrency},isCurrencyMeasure:function(e){const i=this;const t=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(i.oConfig.TILE_PROPERTIES.id);if(t&&t.Data){let l=t.Data&&JSON.parse(t.Data);if(sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(i.oConfig)){if(i.oKpiTileView.getViewName()==\"sap.ushell.components.tiles.indicatornumeric.NumericTile\"){l=l.leftData}else{l=l.rightData}}if(i.oKpiTileView.getViewName()==\"sap.ushell.components.tiles.indicatorcomparison.ComparisonTile\"||i.oConfig.TILE_PROPERTIES.tileType===\"CM\"){if(l&&l.data&&l.data.length){for(let t=0;t<l.data.length;t++){if(l.data[t]&&l.data[t].measure==e){if(typeof l.data[t].isCurM===\"boolean\"){return l.data[t].isCurM}return i.isACurrencyMeasure(e)}return i.isACurrencyMeasure(e)}}else{return i.isACurrencyMeasure(e)}}if(l&&typeof l.isCurM===\"boolean\"){return l.isCurM}return i.isACurrencyMeasure(e)}return i.isACurrencyMeasure(e)},formSelectStatement:function(e){const i=Object.keys(e);let t=\"\";for(let l=0;l<i.length;l++){if(e[i[l]]!==undefined&&e.fullyFormedMeasure){t=`${t},${e[i[l]]}`}}return t},setThresholdValues:function(){const e=this;try{const i={};i.fullyFormedMeasure=this.DEFINITION_DATA.EVALUATION.COLUMN_NAME;if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){const t=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(e.oConfig.TILE_PROPERTIES.id);switch(this.DEFINITION_DATA.EVALUATION.GOAL_TYPE){case\"MI\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);if(t&&t.Data&&t.Data.length){t.Data=JSON.parse(t.Data);i.trendValue=Number(t.Data.trend);i.targetValue=Number(t.Data.target);i.criticalHighValue=Number(t.Data.ch);i.warningHighValue=Number(t.Data.wh);t.Data=JSON.stringify(t.Data)}break;case\"MA\":i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);if(t&&t.Data&&t.Data.length){t.Data=JSON.parse(t.Data);i.criticalLowValue=Number(t.Data.cl);i.warningLowValue=Number(t.Data.wl);i.trendValue=Number(t.Data.trend);i.targetValue=Number(t.Data.target);t.Data=JSON.stringify(t.Data)}break;case\"RA\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);if(t&&t.Data&&t.Data.length){t.Data=JSON.parse(t.Data);i.criticalLowValue=Number(t.Data.cl);i.warningLowValue=Number(t.Data.wl);i.trendValue=Number(t.Data.trend);i.targetValue=Number(t.Data.target);i.criticalHighValue=Number(t.Data.ch);i.warningHighValue=Number(t.Data.wh);t.Data=JSON.stringify(t.Data)}break}}else if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"RELATIVE\"){i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);i.criticalHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"FIXED\");i.criticalLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"FIXED\");i.warningHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"FIXED\");i.warningLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"FIXED\")}else{i.criticalHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"FIXED\");i.criticalLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"FIXED\");i.warningHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"FIXED\");i.warningLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"FIXED\");i.targetValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"FIXED\");i.trendValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"FIXED\")}return i}catch(i){e.logError(i)}},setNoData:function(){const e=this.getView().getViewData();if(e.parentController){e.parentController.setNoData();if(e.deferredObj){e.deferredObj.resolve()}}else{try{this._updateTileModel({value:\"\",scale:\"\",unit:\"\",footerNum:this.oResourceBundle.getText(\"sb.noDataAvailable\"),footerComp:this.oResourceBundle.getText(\"sb.noDataAvailable\")});this.oKpiTileView.oGenericTile.setState(h.Loaded)}catch(e){}}},getLocalCache:function(e){const i={};i.ChipId=e.ChipId;i.Data=e.Data;i.CacheMaxAge=e.CacheMaxAgeUnit;i.CacheMaxAgeUnit=e.CacheMaxAgeUnit;i.CacheType=e.CacheType;i.CachedTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate();return i},fetchKpiValue:function(e,i,t,l){const a=this;let s=0;try{const o=this.DEFINITION_DATA.EVALUATION.ODATA_ENTITYSET;const n=this.setThresholdValues();const u=n.fullyFormedMeasure;const c=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(a.oConfig.TILE_PROPERTIES.id);const h=a.oTileApi.configuration.getParameterValueAsString(\"timeStamp\");const g=sap.ushell.components.tiles.indicatorTileUtils.util.isCacheValid(a.oConfig.TILE_PROPERTIES.id,h,a.chipCacheTime,a.chipCacheTimeUnit,a.tilePressed);const p=sap.ushell.components.tiles.indicatorTileUtils.util.getBoolValue(t);const d=this.getKeyForCallCheck();let m=true;if(sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)){m=sap.ushell.components.tiles.indicatorTileUtils.util.isCallInProgress(d);if(m==undefined){m=true}}if(m){let t;if(!c||!g&&a.oTileApi.visible.isVisible()||p||l&&a.oTileApi.visible.isVisible()||a.getView().getViewData().refresh){sap.ushell.components.tiles.indicatorTileUtils.util.setUnsetCallInProgress(d,false);if(a.kpiValueFetchDeferred){a.kpiValueFetchDeferred=false;const t=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(this.DEFINITION_DATA.EVALUATION_FILTERS,this.DEFINITION_DATA.ADDITIONAL_FILTERS);const l=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(a.oRunTimeODataModel,o,u,null,t);if(l){this.QUERY_SERVICE_MODEL=l.model;this.queryUriForKpiValue=l.uri;this.queryServiceUriODataReadRef=this.QUERY_SERVICE_MODEL.read(l.uri,null,null,true,i=>{a.backEndCallMade=true;a.kpiValueFetchDeferred=true;sap.ushell.components.tiles.indicatorTileUtils.util.setUnsetCallInProgress(d,true);if(i&&i.results&&i.results.length&&i.results[0][a.DEFINITION_DATA.EVALUATION.COLUMN_NAME]!=null){s=i.results[0][a.DEFINITION_DATA.EVALUATION.COLUMN_NAME];const t={};if(l.unit[0]){a._updateTileModel({unit:i.results[0][l.unit[0].name]});t.uom=i.results[0][l.unit[0].name]}if(a.oConfig.TILE_PROPERTIES.frameType==\"TwoByOne\"){t.numericValue=s}else{t.value=s}if(a.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){n.criticalHighValue=i.results[0][n.sCriticalHigh];n.criticalLowValue=i.results[0][n.sCriticalLow];n.warningHighValue=i.results[0][n.sWarningHigh];n.warningLowValue=i.results[0][n.sWarningLow];n.targetValue=i.results[0][n.sTarget];n.trendValue=i.results[0][n.sTrend]}else if(a.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"RELATIVE\"){n.targetValue=Number(i.results[0][n.sTarget]);n.criticalHighValue=n.targetValue*n.criticalHighValue/100;n.criticalLowValue=n.targetValue*n.criticalLowValue/100;n.warningHighValue=n.targetValue*n.warningHighValue/100;n.warningLowValue=n.targetValue*n.warningLowValue/100;n.trendValue=Number(i.results[0][n.sTrend])}t.cl=n.criticalLowValue;t.ch=n.criticalHighValue;t.wl=n.warningLowValue;t.wh=n.warningHighValue;t.trend=n.trendValue;t.target=n.targetValue;t.isCurM=a.isCurrencyMeasure(a.oConfig.EVALUATION.COLUMN_NAME);const o={};o.ChipId=a.oConfig.TILE_PROPERTIES.id;o.Data=JSON.stringify(t);o.CacheMaxAge=Number(a.chipCacheTime);o.CacheMaxAgeUnit=a.chipCacheTimeUnit;o.CacheType=1;const r=a.getLocalCache(o);if(!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)){sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,r);let e=false;if(c){e=true}if(a.chipCacheTime){sap.ushell.components.tiles.indicatorTileUtils.util.writeFrontendCacheByChipAndUserId(a.oTileApi,a.oConfig.TILE_PROPERTIES.id,o,e,e=>{if(e){a.cacheTime=e&&e.CachedTime;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,e);a.setTimeStamp(a.cacheTime)}if(a.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)){a.setTimeStamp(a.cacheTime)}})}}else{const e=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(a.oConfig.TILE_PROPERTIES.id);let i;if(e){if(!e.CachedTime){e.CachedTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate()}i=e.Data;if(i){i=JSON.parse(i);if(a.oKpiTileView.getViewName()==\"sap.ushell.components.tiles.indicatornumeric.NumericTile\"){i.leftData=t}else{i.rightData=t}}e.Data=JSON.stringify(i);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,e)}else{i={};if(a.oKpiTileView.getViewName()==\"sap.ushell.components.tiles.indicatornumeric.NumericTile\"){i.leftData=t}else{i.rightData=t}r.Data=JSON.stringify(i);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,r)}a.cacheWriteData=t}a.cacheTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate();a.updateDatajobScheduled=false;const u=`${a.oConfig.TILE_PROPERTIES.id}data`;let T=sap.ushell.components.tiles.indicatorTileUtils.util.getScheduledJob(u);if(T){clearTimeout(T);T=undefined}e.call(a,s,n)}else{sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,{empty:\"empty\"});a.setNoData()}},e=>{a.kpiValueFetchDeferred=true;sap.ushell.components.tiles.indicatorTileUtils.util.setUnsetCallInProgress(d,true);if(e&&e.response){r.error(`${e.message} : ${e.request.requestUri}`);i.call(a,e)}})}else{a.kpiValueFetchDeferred=true;sap.ushell.components.tiles.indicatorTileUtils.util.setUnsetCallInProgress(d,true);a.logError(\"Error Preparing Query Service URI\")}}}else if(a.DEFINITION_DATA.TILE_PROPERTIES.frameType==T.OneByOne){if(c&&c.Data){t=c.Data&&JSON.parse(c.Data);s=t.value;if(t.uom){a._updateTileModel({unit:t.uom})}if(a.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){n.criticalHighValue=t.ch;n.criticalLowValue=t.cl;n.warningHighValue=t.wh;n.warningLowValue=t.wl;n.targetValue=t.target;n.trendValue=t.trend}else if(a.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"RELATIVE\"){n.targetValue=Number(t.target);n.criticalHighValue=n.targetValue*n.ch/100;n.criticalLowValue=n.targetValue*n.cl/100;n.warningHighValue=n.targetValue*n.wh/100;n.warningLowValue=n.targetValue*n.wl/100;n.trendValue=Number(t.trend)}a.cacheTime=c.CachedTime;if(a.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)){a.setTimeStamp(c.CachedTime)}e.call(a,s,n)}else{a.setNoData()}}else if(c&&c.Data){t=c.Data&&JSON.parse(c.Data);if(a.oKpiTileView.getViewName()==\"sap.ushell.components.tiles.indicatornumeric.NumericTile\"){t=t.leftData}else{t=t.rightData}s=t.numericValue;if(t.unit){a._updateTileModel({unit:t.unit})}if(a.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){n.criticalHighValue=t.ch;n.criticalLowValue=t.cl;n.warningHighValue=t.wh;n.warningLowValue=t.wl;n.targetValue=t.target;n.trendValue=t.trend}else if(a.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"RELATIVE\"){n.targetValue=Number(t.target);n.criticalHighValue=n.targetValue*n.criticalHighValue/100;n.criticalLowValue=n.targetValue*n.criticalLowValue/100;n.warningHighValue=n.targetValue*n.warningHighValue/100;n.warningLowValue=n.targetValue*n.warningLowValue/100;n.trendValue=Number(t.trend)}a.cacheTime=c.CachedTime;if(a.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)){a.setTimeStamp(c.CachedTime)}e.call(a,s,n)}else{a.setNoData()}}}catch(e){a.logError(e)}},getRunTimeODataModel:function(e,i){if(window[\"sap-ushell-config\"].cacheBusting){e=sap.ushell.components.tiles.indicatorTileUtils.util.cacheBustingMechanism(e)}if(!this.oRunTimeODataModel){this.oRunTimeODataModel=sap.ushell.components.tiles.indicatorTileUtils.util.getODataModelByServiceUri(e)}if(this.oRunTimeODataModel.getServiceMetadata()){i()}else{this.oRunTimeODataModel.attachMetadataLoaded(i)}},parse_sapclient:function(){const e=this.oConfig.EVALUATION_FILTERS;if(e.constructor!==Array){return}if(e.length<1){return}let i;const t=\"P_SAPClient\";const l=\"$$$\";for(const a in e){i=e[a];if(i.NAME===t&&i.VALUE_1===l){break}i=null}if(i){jQuery.when(sap.ushell.components.tiles.indicatorTileUtils.util.getHanaClient()).done(e=>{i.VALUE_1=e})}},fetchEvaluation:function(e,i,t,l){const a=this;const s=this.oConfig.TILE_PROPERTIES.sb_metadata||\"HANA\";a.DEFINITION_DATA=e;a._updateTileModel(this.DEFINITION_DATA);const o=sap.ushell.components.tiles.indicatorTileUtils.util.getBoolValue(t);if(a.oTileApi.visible.isVisible()&&!a.firstTimeVisible||o||l){jQuery.when(sap.ushell.components.tiles.indicatorTileUtils.util.getFrontendCache(e,a.oTileApi)).done(e=>{a.firstTimeVisible=true;e=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(a.oConfig.TILE_PROPERTIES.id);if(e||Number(a.oTileApi.configuration.getParameterValueAsString(\"isSufficient\"))){i.call()}else{try{if(!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)||!a.dataCallInProgress){a.dataCallInProgress=true;const e=sap.ushell.components.tiles.indicatorTileUtils.cache.getEvaluationById(a.oConfig.TILE_PROPERTIES.id);if(e){a.oConfig.EVALUATION_FILTERS=e.EVALUATION_FILTERS;i.call()}else if(a.evaluationFetchDeferred){a.evaluationFetchDeferred=false;sap.ushell.components.tiles.indicatorTileUtils.util.getFilterFromRunTimeService(a.oConfig,a.oTileApi,e=>{a.evaluationFetchDeferred=true;a.oConfig.EVALUATION_FILTERS=e;if(s.toUpperCase()===\"HANA\"){a.parse_sapclient()}sap.ushell.components.tiles.indicatorTileUtils.cache.setEvaluationById(a.oConfig.TILE_PROPERTIES.id,a.oConfig);i.call()})}}}catch(e){a.evaluationFetchDeferred=true;a.logError(\"no evaluation data\")}}}).fail(()=>{a.firstTimeVisible=true;if(Number(a.oTileApi.configuration.getParameterValueAsString(\"isSufficient\"))){i.call()}else{try{const e=sap.ushell.components.tiles.indicatorTileUtils.cache.getEvaluationById(a.oConfig.TILE_PROPERTIES.id);if(e){a.oConfig.EVALUATION_FILTERS=e.EVALUATION_FILTERS;i.call()}else{sap.ushell.components.tiles.indicatorTileUtils.util.getFilterFromRunTimeService(a.oConfig,a.oTileApi,e=>{a.oConfig.EVALUATION_FILTERS=e;if(s.toUpperCase()===\"HANA\"){a.parse_sapclient()}sap.ushell.components.tiles.indicatorTileUtils.cache.setEvaluationById(a.oConfig.TILE_PROPERTIES.id,a.oConfig);i.call()})}}catch(e){a.logError(\"no evaluation data\")}}})}},refreshHandler:function(e,i){const t=this;const l=sap.ushell.components.tiles.indicatorTileUtils.util.getBoolValue(e);const a=sap.ushell.components.tiles.indicatorTileUtils.util.getBoolValue(i);if(!t.firstTimeVisible||l||a){t.fetchEvaluation(t.oConfig,()=>{let i;if(t.oConfig.TILE_PROPERTIES.tileType==\"NT\"||t.oConfig.TILE_PROPERTIES.tileType==\"AT\"||t.oKpiTileView.getViewName()==\"sap.ushell.components.tiles.indicatornumeric.NumericTile\"||t.oKpiTileView.getViewName()==\"sap.ushell.components.tiles.indicatordeviation.DeviationTile\"){i=t.oTileApi.url.addSystemToServiceUrl(t.oConfig.EVALUATION.ODATA_URL);t.getRunTimeODataModel(i,()=>{if(t.KPI_VALUE_REQUIRED){t.fetchKpiValue(function(e,i){this.KPIVALUE=e;t.doProcess(e,i)},t.logError,e,a)}else{t.doProcess()}})}else{i=t.oTileApi.url.addSystemToServiceUrl(t.oConfig.EVALUATION.ODATA_URL);t.getRunTimeODataModel(i,()=>{if(t.KPI_VALUE_REQUIRED){t.doProcess(t.KPIVALUE,t.setThresholdValues())}else{t.doProcess(l,a)}})}},e,a)}},visibleHandler:function(e){if(!e){this.firstTimeVisible=false;sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.queryServiceUriODataReadRef);sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.trendChartODataReadRef);sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.comparisionChartODataRef)}if(e){this.refreshHandler(this)}},getChipConfiguration:function(e){const i=this;try{sap.ushell.components.tiles.indicatorTileUtils.util.getParsedChip(i.oTileApi.configuration.getParameterValueAsString(\"tileConfiguration\"),i.oTileApi.preview.isEnabled(),t=>{i.oConfig=t;const l=sap.ushell.components.tiles.indicatorTileUtils.util.getChipTitle(i.oConfig);const a=sap.ushell.components.tiles.indicatorTileUtils.util.getChipSubTitle(i.oConfig);if(i.oTileApi.search){i.oTileApi.search.setKeywords([l,a])}if(i.oTileApi.preview){i.oTileApi.preview.setTargetUrl(sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(i.oConfig,i.system))}e.call()})}catch(e){i.logError(e.message)}},onAfterTileRendering:function(){const e=this;this.firstTimeVisible=false;this.oKpiTileView=this.getView();this.updateDatajobScheduled=false;this.updateTimeStampjobScheduled=false;this.oViewData=this.oKpiTileView.getViewData();this.tilePressed=false;this.kpiValueFetchDeferred=true;this.evaluationFetchDeferred=true;this.backEndCallMade=false;if(!sap.ushell.components.tiles.utils){sap.ui.require(\"sap.ushell.components.tiles.utils\")}this.oResourceBundle=sap.ushell.components.tiles.utils.getResourceBundle();this.oTileApi=this.oViewData.chip;this.system=this.oTileApi.url.getApplicationSystem();this.oKpiTileView.oGenericTile.setState(h.Loading);this.getChipConfiguration(()=>{let i;e.chipCacheTime=sap.ushell.components.tiles.indicatorTileUtils.util.getCachingTime(e.oConfig);e.chipCacheTimeUnit=sap.ushell.components.tiles.indicatorTileUtils.util.getCachingTimeUnit(e.oConfig);if(e.oTileApi.preview.isEnabled()){e.doDummyProcess();e.oKpiTileView.oGenericTile.attachPress(()=>{o.show(e.oResourceBundle.getText(\"sb.NavigationHelp\"))})}else if(e.oConfig.BLANKTILE||e.oConfig.TILE_PROPERTIES.blankTile){e.doDummyProcess();i=sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system);e.oKpiTileView.oGenericTile.$().wrap(`<a href ='${i}'></a>`);e.oKpiTileView.oGenericTile.attachPress(()=>{e.tilePressed=true;sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(e.queryServiceUriODataReadRef);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(e.oConfig.TILE_PROPERTIES.id,null);window.location.hash=i})}else{if(e.oTileApi.visible&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(e.oConfig)){e.oTileApi.visible.attachVisible(e.visibleHandler.bind(e))}i=sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system);e.oKpiTileView.oGenericTile.$().wrap(`<a href ='${i}></a>`).style=\"display:block;\";e.oKpiTileView.oGenericTile.attachPress(()=>{e.tilePressed=true;sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(e.queryServiceUriODataReadRef);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(e.oConfig.TILE_PROPERTIES.id,null);window.location.hash=i});if(!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(e.oConfig)){e.oKpiTileView.oNVConfS.attachRefresh(()=>{e.oKpiTileView.oGenericTile.setState(h.Loading);e.refreshHandler(true)})}e.fetchEvaluation(e.oConfig,()=>{e.DEFINITION_DATA=e.oConfig;const i=e.oTileApi.url.addSystemToServiceUrl(e.oConfig.EVALUATION.ODATA_URL);const t=e.oTileApi.configuration.getParameterValueAsString(\"timeStamp\");const l=sap.ushell.components.tiles.indicatorTileUtils.util.isCacheValid(e.oConfig.TILE_PROPERTIES.id,t,e.chipCacheTime,e.chipCacheTimeUnit,e.tilePressed);if(!l||e.getView().getViewData().refresh){e.getRunTimeODataModel(i,()=>{if(e.KPI_VALUE_REQUIRED){e.fetchKpiValue(function(i,t){this.KPIVALUE=i;e.doProcess(i,t)},e.logError)}else{e.doProcess()}})}else if(e.KPI_VALUE_REQUIRED){e.fetchKpiValue(function(i,t){this.KPIVALUE=i;e.doProcess(i,t)},e.logError)}else{e.doProcess()}})}})},onAfterRendering:function(){this.onAfterTileRendering()},_setLocalModelToTile:function(){if(!this.getTile().getModel()){this.getTile().setModel(new n({}))}},autoFormatter:function(e,i){i=i||false;if(!e){return\"\"}return sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(e),this.oConfig.EVALUATION.SCALING,this.oConfig.EVALUATION.DECIMAL_PRECISION,i)},setToolTip:function(e,i,t){const l=this;let a;const s=this.setThresholdValues();const o=this.oConfig.EVALUATION.COLUMN_NAME;const n=this.isCurrencyMeasure(o);let r;if(t==\"CONT\"||t==\"COMP\"){if(this.oKpiTileView.getContent()[0].getTileContent().length){a=l.oKpiTileView.getContent()[0].getTileContent()[0].getContent();let e;let s;let o;let u;let c;let T;let h;let g;let p;if(i&&i[0]){e=i[0].title;u=this.autoFormatter(i[0].value,n);h=sap.ushell.components.tiles.indicatorTileUtils.util.getSemanticColorName(i[0].color)}if(i&&i[1]){s=i[1].title;c=this.autoFormatter(i[1].value,n);g=sap.ushell.components.tiles.indicatorTileUtils.util.getSemanticColorName(i[1].color)}if(i&&i[2]){o=i[2].title;T=this.autoFormatter(i[2].value,n);p=sap.ushell.components.tiles.indicatorTileUtils.util.getSemanticColorName(i[2].color)}const d={};d[\"0\"]=`${this.oConfig.EVALUATION.COLUMN_NAME},asc`;d[\"1\"]=`${this.oConfig.EVALUATION.COLUMN_NAME},desc`;d[\"2\"]=`${this.oConfig.TILE_PROPERTIES.dimension},asc`;d[\"3\"]=`${this.oConfig.TILE_PROPERTIES.dimension},desc`;const m=d[this.oConfig.TILE_PROPERTIES.sortOrder||\"0\"].split(\",\");r={measure:this.oConfig.EVALUATION.COLUMN_NAME,contributionTile:m,m1:e,v1:u,c1:h,m2:s,v2:c,c2:g,m3:o,v3:T,c3:p};sap.ushell.components.tiles.indicatorTileUtils.util.setTooltipInTile(a,t,r)}}else{let o=\"\";if(e==\"Error\"){o=\"sb.error\"}if(e==\"Neutral\"){o=\"sb.neutral\"}if(e==\"Critical\"){o=\"sb.critical\"}if(e==\"Good\"){o=\"sb.good\"}r={status:o,actual:this.autoFormatter(i,n),target:this.autoFormatter(s.targetValue,n),cH:this.autoFormatter(s.criticalHighValue,n),wH:this.autoFormatter(s.warningHighValue,n),wL:this.autoFormatter(s.warningLowValue,n),cL:this.autoFormatter(s.criticalLowValue,n)};a=l.oKpiTileView.getContent()[0].getTileContent()[0]&&l.oKpiTileView.getContent()[0].getTileContent()[0].getContent();sap.ushell.components.tiles.indicatorTileUtils.util.setTooltipInTile(a,t,r)}},getTrendColor:function(e){const i=this;let t;let l;let a;let s;try{const i=this.DEFINITION_DATA.EVALUATION.GOAL_TYPE;let o=c.Neutral;if(i===\"MI\"){if(e.criticalHighValue&&e.warningHighValue){s=Number(e.criticalHighValue);a=Number(e.warningHighValue);if(this.CALCULATED_KPI_VALUE<a){o=c.Good}else if(this.CALCULATED_KPI_VALUE<=s){o=c.Critical}else{o=c.Error}}}else if(i===\"MA\"){if(e.criticalLowValue&&e.warningLowValue){l=Number(e.criticalLowValue);t=Number(e.warningLowValue);if(this.CALCULATED_KPI_VALUE<l){o=c.Error}else if(this.CALCULATED_KPI_VALUE<=t){o=c.Critical}else{o=c.Good}}}else if(e.warningLowValue&&e.warningHighValue&&e.criticalLowValue&&e.criticalHighValue){s=Number(e.criticalHighValue);a=Number(e.warningHighValue);t=Number(e.warningLowValue);l=Number(e.criticalLowValue);if(this.CALCULATED_KPI_VALUE<l||this.CALCULATED_KPI_VALUE>s){o=c.Error}else if(this.CALCULATED_KPI_VALUE>=l&&this.CALCULATED_KPI_VALUE<=t||this.CALCULATED_KPI_VALUE>=a&&this.CALCULATED_KPI_VALUE<=s){o=c.Critical}else{o=c.Good}}return o}catch(e){i.logError(e)}},getTrendIndicator:function(e){const i=this;e=Number(e);try{let i=u.None;if(e>this.CALCULATED_KPI_VALUE){i=u.Down}else if(e<this.CALCULATED_KPI_VALUE){i=u.Up}return i}catch(e){i.logError(e)}},setTextInTile:function(){const e=this;const i=sap.ushell.components.tiles.indicatorTileUtils.util.getTileTitleSubtitle(this.oTileApi);this._updateTileModel({header:i.title||sap.ushell.components.tiles.indicatorTileUtils.util.getChipTitle(e.oConfig),subheader:i.subTitle||sap.ushell.components.tiles.indicatorTileUtils.util.getChipSubTitle(e.oConfig)})},_getEvaluationThresholdMeasures:function(){const e=[];e.push(this.oConfig.EVALUATION.COLUMN_NAME);if(this.oConfig.EVALUATION.VALUES_SOURCE===\"MEASURE\"){const i=this.oConfig.EVALUATION_VALUES;if(i&&i.length){for(let t=0;t<i.length;t++){if(i[t].COLUMN_NAME&&!i[t].FIXED){e.push(i[t].COLUMN_NAME)}}}}return e},onExit:function(){sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.queryServiceUriODataReadRef);sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.trendChartODataReadRef);sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.comparisionChartODataRef)}});return g});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller\", [\"sap/ushell/components/tiles/generic\",\"sap/m/library\",\"sap/suite/ui/microchart/AreaMicroChartItem\",\"sap/suite/ui/microchart/AreaMicroChartPoint\"],(e,i,t,l)=>{\"use strict\";const a=i.FrameType;const s=i.LoadState;const r=e.extend(\"sap.ushell.components.tiles.indicatorArea.AreaChartTile\",{onInit:function(){this.KPI_VALUE_REQUIRED=false},doProcess:function(e,i){this.onAfterFinalEvaluation(e,i)},doDummyProcess:function(){const e=this;this.setTextInTile();e._updateTileModel({footer:\"\",description:\"\",width:\"100%\",height:\"100%\",chart:{color:\"Good\",data:[{day:0,balance:0},{day:30,balance:20},{day:60,balance:20},{day:100,balance:80}]},target:{color:\"Error\",data:[{day:0,balance:0},{day:30,balance:30},{day:60,balance:40},{day:100,balance:90}]},maxThreshold:{color:\"Good\",data:[{day:0,balance:0},{day:30,balance:40},{day:60,balance:50},{day:100,balance:100}]},innerMaxThreshold:{color:\"Error\",data:[]},innerMinThreshold:{color:\"Neutral\",data:[]},minThreshold:{color:\"Error\",data:[{day:0,balance:0},{day:30,balance:20},{day:60,balance:30},{day:100,balance:70}]},minXValue:0,maxXValue:100,minYValue:0,maxYValue:100,firstXLabel:{label:\"June 123\",color:\"Error\"},lastXLabel:{label:\"June 30\",color:\"Error\"},firstYLabel:{label:\"0M\",color:\"Good\"},lastYLabel:{label:\"80M\",color:\"Critical\"},minLabel:{},maxLabel:{}});this.oKpiTileView.oGenericTile.setState(s.Loaded)},scheduleJob:function(e){if(this.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(this.oConfig)){sap.ushell.components.tiles.indicatorTileUtils.util.scheduleFetchDataJob.call(this,this.oTileApi.visible.isVisible())}},onAfterFinalEvaluation:function(e,i){const r=this;const o=this.DEFINITION_DATA.EVALUATION.ODATA_ENTITYSET;const n=this.DEFINITION_DATA.EVALUATION.COLUMN_NAME;const c=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(this.DEFINITION_DATA.EVALUATION_FILTERS,this.DEFINITION_DATA.ADDITIONAL_FILTERS);let u=this.DEFINITION_DATA.TILE_PROPERTIES.dimension;if(u==undefined){this.logError();return}const h=this.DEFINITION_DATA.EVALUATION.GOAL_TYPE;const E=this.DEFINITION_DATA.EVALUATION_VALUES;const T=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(r.oConfig.TILE_PROPERTIES.id);if(sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(r.oConfig)){if(T){var d=T.Data&&JSON.parse(T.Data)}}const f=r.oTileApi.configuration.getParameterValueAsString(\"timeStamp\");const g=sap.ushell.components.tiles.indicatorTileUtils.util.isCacheValid(r.oConfig.TILE_PROPERTIES.id,f,r.chipCacheTime,r.chipCacheTimeUnit,r.tilePressed);let m=n;if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){switch(h){case\"MI\":r.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"WH\",\"MEASURE\");r.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"CH\",\"MEASURE\");r.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"TA\",\"MEASURE\");r.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"TC\",\"MEASURE\");if(r.sWarningHigh&&r.sCriticalHigh&&r.sTarget){m+=`,${r.sWarningHigh},${r.sCriticalHigh},${r.sTarget}`}break;case\"MA\":r.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"WL\",\"MEASURE\");r.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"CL\",\"MEASURE\");r.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"TA\",\"MEASURE\");r.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"TC\",\"MEASURE\");if(r.sWarningLow&&r.sCriticalLow&&r.sTarget){m+=`,${r.sWarningLow},${r.sCriticalLow},${r.sTarget}`}break;case\"RA\":r.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"WH\",\"MEASURE\");r.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"CH\",\"MEASURE\");r.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"TA\",\"MEASURE\");r.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"TC\",\"MEASURE\");r.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"WL\",\"MEASURE\");r.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(r.oConfig,\"CL\",\"MEASURE\");if(r.sWarningLow&&r.sCriticalLow&&r.sTarget&&r.sWarningHigh&&r.sCriticalHigh){m+=`,${r.sWarningLow},${r.sCriticalLow},${r.sTarget},${r.sWarningHigh},${r.sCriticalHigh}`}break}}const p=sap.ushell.components.tiles.indicatorTileUtils.util.getBoolValue(e);if(d&&!d.rightData||!T||!g&&r.oTileApi.visible.isVisible()||p||i&&r.oTileApi.visible.isVisible()||r.getView().getViewData().refresh){if(r.kpiValueFetchDeferred){r.kpiValueFetchDeferred=false;const e=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(r.oRunTimeODataModel,o,m,u,c);if(e){this.queryUriForTrendChart=e.uri;const i={};try{this.trendChartODataReadRef=e.model.read(e.uri,null,null,true,t=>{r.kpiValueFetchDeferred=true;if(t&&t.results&&t.results.length){if(e.unit[0]){r.unit=t.results[0][e.unit[0].name];r.CURRENCY_CODE=r.unit;i.unit=e.unit[0];i.unit.name=e.unit[0].name}r.queryUriResponseForTrendChart=t;u=sap.ushell.components.tiles.indicatorTileUtils.util.findTextPropertyForDimension(r.oRunTimeODataModel,o,u);t.results.splice(10);t.firstXlabel=t.results[0][u];t.lastXlabel=t.results[t.results.length-1][u];i.data=t;if(i&&i.data&&i.data.results&&i.data.results.length){for(let e=0;e<i.data.results.length;e++){delete i.data.results[e].__metadata}}i.isCurM=r.isCurrencyMeasure(r.oConfig.EVALUATION.COLUMN_NAME);i.dimensionName=u;C(t,r.DEFINITION_DATA.EVALUATION.VALUES_SOURCE);const l={};r.cacheTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate();l.ChipId=r.oConfig.TILE_PROPERTIES.id;l.Data=JSON.stringify(i);l.CacheMaxAge=Number(r.chipCacheTime);l.CacheMaxAgeUnit=r.chipCacheTimeUnit;l.CacheType=1;const n=r.getLocalCache(l);if(r.DEFINITION_DATA.TILE_PROPERTIES.frameType==a.TwoByOne){const e=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(r.oConfig.TILE_PROPERTIES.id);let t;if(e){if(!e.CachedTime){e.CachedTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate()}t=e.Data;if(t){t=JSON.parse(t);t.rightData=i}e.Data=JSON.stringify(t);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(r.oConfig.TILE_PROPERTIES.id,e)}else{t={};t.rightData=i;n.Data=JSON.stringify(t);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(r.oConfig.TILE_PROPERTIES.id,n)}r.cacheWriteData=i;r.getView().getViewData().deferredObj.resolve()}else{sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(r.oConfig.TILE_PROPERTIES.id,n);let e=false;if(T){e=true}if(r.chipCacheTime){sap.ushell.components.tiles.indicatorTileUtils.util.writeFrontendCacheByChipAndUserId(r.oTileApi,r.oConfig.TILE_PROPERTIES.id,l,e,e=>{if(e){r.cacheTime=e&&e.CachedTime;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(r.oConfig.TILE_PROPERTIES.id,e);r.setTimeStamp()}if(r.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(r.oConfig)){r.setTimeStamp(r.cacheTime)}})}r.oKpiTileView.oGenericTile.setState(s.Loaded);r.updateDatajobScheduled=false;const i=`${r.oConfig.TILE_PROPERTIES.id}data`;let t=sap.ushell.components.tiles.indicatorTileUtils.util.getScheduledJob(i);if(t){clearTimeout(t);t=undefined}r.scheduleJob(r.cacheTime)}}else{r.setNoData()}},e=>{r.kpiValueFetchDeferred=true;if(e&&e.response){r.logError(\"Data call failed\")}})}catch(e){r.kpiValueFetchDeferred=true;r.logError(e)}}else{r.kpiValueFetchDeferred=true;r.logError()}}}else if(T&&T.Data){try{let e;const i=r.oConfig&&r.oConfig.TILE_PROPERTIES&&r.oConfig.TILE_PROPERTIES.tileType;if(i.indexOf(\"DT-\")==-1){e=T.Data&&JSON.parse(T.Data)}else{e=T.Data&&JSON.parse(T.Data);e=e.rightData}if(e.unit){r.unit=e.data.results[0][e.unit.name];r.CURRENCY_CODE=r.unit}r.cacheTime=T.CachedTime;if(r.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(r.oConfig)){r.setTimeStamp(r.cacheTime)}r.queryUriResponseForTrendChart=e.data;u=e.dimensionName;C(e.data,r.DEFINITION_DATA.EVALUATION.VALUES_SOURCE);if(r.oConfig.TILE_PROPERTIES.frameType==a.OneByOne){r.oKpiTileView.oGenericTile.setState(s.Loaded)}else{r.getView().getViewData().deferredObj.resolve()}r.scheduleJob(r.cacheTime)}catch(e){r.logError(e)}}else{r.setNoData()}function C(e,i){const a=[];const s=[];const o=[];const c=[];const T=[];const d=[];let f=e.firstXlabel;let g;let m;let p;let C;let A;let L=e.lastXlabel;const N=Number(e.results[0][n]);const I=Number(e.results[e.results.length-1][n]);let U;for(U in e.results){e.results[U][u]=Number(U);e.results[U][n]=Number(e.results[U][n]);if(r.sWarningHigh){e.results[U][r.sWarningHigh]=Number(e.results[U][r.sWarningHigh])}if(r.sCriticalHigh){e.results[U][r.sCriticalHigh]=Number(e.results[U][r.sCriticalHigh])}if(r.sCriticalLow){e.results[U][r.sCriticalLow]=Number(e.results[U][r.sCriticalLow])}if(r.sWarningLow){e.results[U][r.sWarningLow]=Number(e.results[U][r.sWarningLow])}if(r.sTarget){e.results[U][r.sTarget]=Number(e.results[U][r.sTarget])}if(r.sWarningHigh){o.push(e.results[U][r.sWarningHigh])}if(r.sCriticalHigh){c.push(e.results[U][r.sCriticalHigh])}if(r.sCriticalLow){T.push(e.results[U][r.sCriticalLow])}if(r.sWarningLow){d.push(e.results[U][r.sWarningLow])}a.push(e.results[U][u]);s.push(e.results[U][n])}try{f=sap.ushell.components.tiles.indicatorTileUtils.util.formatOdataObjectToString(f);L=sap.ushell.components.tiles.indicatorTileUtils.util.formatOdataObjectToString(L)}catch(e){r.logError(e)}let b=Number(N);if(r.oConfig.EVALUATION.SCALING==-2){b*=100}const M=Math.min.apply(Math,s);let S=r.isCurrencyMeasure(r.oConfig.EVALUATION.COLUMN_NAME);let D=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(b,r.oConfig.EVALUATION.SCALING,r.oConfig.EVALUATION.DECIMAL_PRECISION,S,r.CURRENCY_CODE);if(r.oConfig.EVALUATION.SCALING==-2){D+=\" %\"}const w=D.toString();let R=Number(I);if(r.oConfig.EVALUATION.SCALING==-2){R*=100}const O=Math.max.apply(Math,s);S=r.isCurrencyMeasure(r.oConfig.EVALUATION.COLUMN_NAME);let V=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(R,r.oConfig.EVALUATION.SCALING,r.oConfig.EVALUATION.DECIMAL_PRECISION,S,r.CURRENCY_CODE);if(r.oConfig.EVALUATION.SCALING==-2){V+=\" %\"}const H=V.toString();try{var F=sap.ushell.components.tiles.indicatorTileUtils.util.formatOdataObjectToString(Math.min.apply(Math,a));var y=sap.ushell.components.tiles.indicatorTileUtils.util.formatOdataObjectToString(Math.max.apply(Math,a))}catch(e){r.logError(e)}if(i==\"MEASURE\"){if(o.length!=0){r.firstwH=o[F];r.lastwH=o[y]}if(c.length!=0){r.firstcH=c[F];r.lastcH=c[y]}if(T.length!=0){r.firstcL=T[F];r.lastcL=T[y]}if(d.length!=0){r.firstwL=d[F];r.lastwL=d[y]}}const P={width:\"100%\",height:\"100%\",unit:r.unit||\"\",chart:{color:\"Neutral\",data:e.results},size:\"Auto\",minXValue:F,maxXValue:y,minYValue:M,maxYValue:O,firstXLabel:{label:`${f}`,color:\"Neutral\"},lastXLabel:{label:`${L}`,color:\"Neutral\"},firstYLabel:{label:`${w}`,color:\"Neutral\"},lastYLabel:{label:`${H}`,color:\"Neutral\"},minLabel:{},maxLabel:{}};let _;switch(h){case\"MA\":for(U in E){if(E[U].TYPE==\"CL\"){P.minThreshold={color:\"Error\"};_={};_[u]=\"\";_[n]=Number(E[U].FIXED);r.cl=Number(E[U].FIXED);P.minThreshold.data=i==\"MEASURE\"?e.results:[_];g=i==\"MEASURE\"?r.sCriticalLow:n}else if(E[U].TYPE==\"WL\"){P.maxThreshold={color:\"Good\"};_={};_[u]=\"\";_[n]=Number(E[U].FIXED);P.maxThreshold.data=i==\"MEASURE\"?e.results:[_];m=i==\"MEASURE\"?r.sWarningLow:n;r.wl=Number(E[U].FIXED)}else if(E[U].TYPE==\"TA\"){_={};_[u]=\"\";_[n]=Number(E[U].FIXED);P.target={color:\"Neutral\"};P.target.data=i==\"MEASURE\"?e.results:[_];A=i==\"MEASURE\"?r.sTarget:n}}P.innerMinThreshold={data:[]};P.innerMaxThreshold={data:[]};if(i==\"FIXED\"){P.firstYLabel.color=N<r.cl?\"Error\":r.cl<=N&&N<=r.wl?\"Critical\":N>r.wl?\"Good\":\"Neutral\";P.lastYLabel.color=I<r.cl?\"Error\":r.cl<=I&&I<=r.wl?\"Critical\":I>r.wl?\"Good\":\"Neutral\"}else if(i==\"MEASURE\"&&r.firstwL&&r.lastwL&&r.firstcL&&r.lastcL){P.firstYLabel.color=N<r.firstcL?\"Error\":r.firstcL<=N&&N<=r.firstwL?\"Critical\":N>r.firstwL?\"Good\":\"Neutral\";P.lastYLabel.color=I<r.lastcL?\"Error\":r.lastcL<=I&&I<=r.lastwL?\"Critical\":I>r.lastwL?\"Good\":\"Neutral\"}break;case\"MI\":for(U in E){if(E[U].TYPE==\"CH\"){_={};_[u]=\"\";_[n]=Number(E[U].FIXED);r.ch=Number(E[U].FIXED);P.maxThreshold={color:\"Error\"};P.maxThreshold.data=i==\"MEASURE\"?e.results:[_];m=i==\"MEASURE\"?r.sCriticalHigh:n}else if(E[U].TYPE==\"WH\"){_={};_[u]=\"\";_[n]=Number(E[U].FIXED);r.wh=Number(E[U].FIXED);P.minThreshold={color:\"Good\"};P.minThreshold.data=i==\"MEASURE\"?e.results:[_];g=i==\"MEASURE\"?r.sWarningHigh:n}else if(E[U].TYPE==\"TA\"){_={};_[u]=\"\";_[n]=Number(E[U].FIXED);P.target={color:\"Neutral\"};P.target.data=i==\"MEASURE\"?e.results:[_];A=i==\"MEASURE\"?r.sTarget:n}}if(i==\"FIXED\"){P.firstYLabel.color=N>r.ch?\"Error\":r.wh<=N&&N<=r.ch?\"Critical\":N<r.wh?\"Good\":\"Neutral\";P.lastYLabel.color=I>r.ch?\"Error\":r.wh<=I&&I<=r.ch?\"Critical\":I<r.wh?\"Good\":\"Neutral\"}else if(i==\"MEASURE\"&&r.firstwH&&r.lastwH&&r.firstcH&&r.lastcH){P.firstYLabel.color=N>r.firstcH?\"Error\":r.firstwH<=N&&N<=r.firstcH?\"Critical\":N<r.firstwH?\"Good\":\"Neutral\";P.lastYLabel.color=I>r.lastcH?\"Error\":r.lastwH<=I&&I<=r.lastcH?\"Critical\":I<r.lastwH?\"Good\":\"Neutral\"}P.innerMaxThreshold={data:[]};P.innerMinThreshold={data:[]};break;case\"RA\":for(U in E){if(E[U].TYPE==\"CH\"){_={};_[u]=\"\";_[n]=Number(E[U].FIXED);r.ch=Number(E[U].FIXED);P.maxThreshold={color:\"Error\"};P.maxThreshold.data=i==\"MEASURE\"?e.results:[_];m=i==\"MEASURE\"?r.sCriticalHigh:n}else if(E[U].TYPE==\"WH\"){_={};_[u]=\"\";_[n]=Number(E[U].FIXED);r.wh=Number(E[U].FIXED);P.innerMaxThreshold={color:\"Good\"};P.innerMaxThreshold.data=i==\"MEASURE\"?e.results:[_];C=i==\"MEASURE\"?r.sWarningHigh:n}else if(E[U].TYPE==\"WL\"){_={};_[u]=\"\";_[n]=Number(E[U].FIXE Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Navigation/compatibility\", [\"sap/base/util/isPlainObject\",\"sap/ushell/Container\",\"sap/ushell/services/Navigation/utils\",\"sap/ushell/TechnicalParameters\",\"sap/ushell/utils\",\"sap/ushell/utils/type\"],(t,e,a,n,s,r)=>{\"use strict\";const i={};i.getLinks=async function(a={}){const n=await e.getServiceAsync(\"Navigation\");if(t(a)){const[t]=await n.getLinks([a]);return t}const s=a.reduce((t,[e])=>{t.push(e);return t},[]);const r=await n.getLinks(s);const i=r.reduce((t,e)=>{t.push([e]);return t},[]);return i};i.getAppStateData=async function(t){const a=await e.getServiceAsync(\"Navigation\");if(typeof t===\"string\"){const[e]=await a.getAppStateData([t]);return e}const n=t.reduce((t,[e])=>{t.push(e);return t},[]);const s=await a.getAppStateData(n);const r=s.reduce((t,e)=>{t.push([e]);return t},[]);return r};i.getSemanticObjectLinks=async function(t,i,c,o,p,u){const g=await e.getServiceAsync(\"Navigation\");const[l]=await s.requireAsync([\"sap/ushell/appIntegration/AppLifeCycle\"]);let m=await a.injectStickyParameters({args:{params:i},appLifeCycle:l,technicalParameters:n,type:r});m=g.getTargetWithCurrentSystem(m,o).params;m=g.amendTargetWithSapUshellEncTestParameter({params:m}).params;const y=await e.getServiceAsync(\"NavTargetResolutionInternal\");if(!Array.isArray(t)){const e=y.getLinks({semanticObject:t,params:m,ignoreFormFactor:c,ui5Component:o,appStateKey:p,compactIntents:!!u});return s.promisify(e)}return Promise.all(t.map(async t=>{const[e,a,n,r,i,c]=t;const o=y.getLinks({ignoreFormFactor:!!n,compactIntents:!!c,semanticObject:e,params:a,ui5Component:r,appStateKey:i});const p=await s.promisify(o);return[p]}))};i.isIntentSupported=async function(t,a){const n=await e.getServiceAsync(\"Navigation\");const r={};const i=t.map(t=>{const e=n.getTargetWithCurrentSystem(t,a);r[e]=t;return e});const c=await e.getServiceAsync(\"NavTargetResolutionInternal\");const o=c.isNavigationSupported(i);const p=await s.promisify(o);return p.reduce((t,e,a)=>{const n=i[a];const s=r[n];t[s]=e;return t},{})};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Navigation/utils\", [\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/ushell/Container\",\"sap/ushell/utils/UrlParsing\"],(t,e,r,n,a)=>{\"use strict\";const s={};s.extractGetLinksParameterOptions=function(t){return s._parseGetLinksParameters(t).filter(t=>Object.keys(t.options).length>0).map(t=>({name:t.name,options:t.options}))};s.extractGetLinksParameterDefinition=function(t){return s._parseGetLinksParameters(t).reduce((t,e)=>{t[e.name]=e.value;return t},{})};s._parseGetLinksParameters=function(t){if(Object.prototype.toString.apply(t)!==\"[object Object]\"){return[]}const e=JSON.parse(JSON.stringify(t));return Object.keys(e).map(t=>{let r=e[t];let n={};if(Object.prototype.toString.apply(r)===\"[object Object]\"){r=r.value;delete e[t].value;n=e[t]}return{name:t,value:r,options:n}})};s._safeParseToObject=function(t){try{return JSON.parse(t)}catch(e){r.error(\"Cannot parse the given string to object\",t)}return null};s._createAppStateFromData=function(t){return n.getServiceAsync(\"AppState\").then(e=>{const r=e.createEmptyAppState(null);r.setData(t);r.save();return r.getKey()})};s._extractParameter=function(n,c){let i;let o=null;if(typeof n===\"string\"){if(n.indexOf(`${c}=`)===-1){return{intent:n,data:null}}const t=a.parseShellHash(n);if(!t){return{intent:n,data:null}}o=t.params[c];delete t.params[c];i=a.constructShellHash(t);return{intent:i,data:o}}if(t(n)){const t=e.get(\"target.shellHash\",n);if(typeof t===\"string\"){const e=s._extractParameter(t,c);n.target.shellHash=e.intent;return{intent:n,data:e.data}}const r=n.params;if(r&&r[c]){const t=r[c];o=typeof t===\"string\"?[t]:t;delete r[c]}return{intent:n,data:o}}r.error(\"Invalid input parameter\",\"expected string or object\");return{intent:n}};s.addXAppStateFromParameter=function(t,e){const r=s._extractParameter(t,e);const n=r.intent;const a=r.data&&r.data[0];if(!a){return Promise.resolve()}const c=s._safeParseToObject(a);if(!c){return Promise.resolve()}return s._createAppStateFromData(c).then(t=>{s._injectParameter(n,\"sap-xapp-state\",t)})};s._injectParameter=function(t,r,n){if(typeof t===\"string\"){const e=a.parseShellHash(t);e.params[r]=n;return a.constructShellHash(e)}if(Object.prototype.toString.apply(t)===\"[object Object]\"){const a=e.get(\"target.shellHash\",t);if(typeof a===\"string\"){t.target.shellHash=s._injectParameter(a,r,n);return t}if(!t.params){t.params={}}t.params[r]=n}return t};s.injectParameters=function(t){const e=t.inject;const r=t.injectEmptyString||{};const n=t.type;const a=t.args;function c(t,e){return t||t===\"\"&&e}if(n.isPlainObject(a)){if(a.target&&a.target.shellHash){if(typeof a.target.shellHash===\"string\"){a.target.shellHash=s.injectParameters({inject:e,injectEmptyString:r,type:t.type,args:a.target.shellHash})}return a}const n=Object.keys(e).reduce((t,n)=>{const a=e[n];const s=r[n]===true;if(c(a,s)&&typeof t===\"string\"){const e=new RegExp(`[&]${n}`);const r=!e.test(t);if(r){const e=t?\"&\":\"\";t+=`${e+n}=${a}`}}else if(c(a,s)&&!t.hasOwnProperty(n)){t[n]=a}return t},a.params||{});if(n&&Object.keys(n).length>0){a.params=n}return a}let i=a;if(i){Object.keys(e).forEach(t=>{const n=e[t];const a=r[t]===true;const s=new RegExp(`[?&]${t}`);const o=!s.test(i);if(c(n,a)&&o){const e=i.indexOf(\"?\")>-1?\"&\":\"?\";i+=`${e+t}=${n}`}})}return i};s.injectStickyParameters=function(t){return n.getServiceAsync(\"AppLifeCycle\").then(e=>s._injectStickyParameters(t,e))};s._injectStickyParameters=function(t,e){if(!e||Object.keys(e).length<=0){return t.args}const r=e.getCurrentApplication();if(!r||Object.keys(r).length<=0){return t.args}const n=t.appLifeCycle;const a=t.technicalParameters;const c=a.getParameters({sticky:true}).reduce((t,e)=>{const s=e.name;const c=r.componentInstance;const i=r.applicationType;let o;if(i===\"UI5\"){o={}}else{o=n.getCurrentApplication().container}const p=a.getParameterValueSync(s,c,o,i);const l=e.stickyName||s;t[l]=p;return t},{});const i={type:t.type,inject:c,args:t.args};return s.injectParameters(i)};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/NavigationDataProvider\", [\"sap/ushell/resources\",\"sap/ushell/utils\"],(t,s)=>{\"use strict\";function e(){this.S_COMPONENT_NAME=\"sap.ushell.services.NavigationDataProvider\";this._init.apply(this,arguments)}e.prototype._init=function(t,s){this.oAdapter=t};e.prototype.getNavigationData=function(){return new Promise((e,i)=>{const a=this.oAdapter.getSystemAliases&&this.oAdapter.getSystemAliases()||{};s.promisify(this.oAdapter.getInbounds()).then(t=>{e({systemAliases:a,inbounds:t})}).catch(s=>{const e={component:this.S_COMPONENT_NAME,description:t.i18n.getText(\"NavigationDataProvider.CannotLoadData\"),detail:s};i(e)})})};e.hasNoAdapter=false;return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Notifications\", [\"sap/ui/thirdparty/jquery\",\"sap/ushell/Container\",\"sap/ushell/services/NotificationsV2\"],(jQuery,t)=>{\"use strict\";function i(i,n,e){this._getNotificationsV2=function(){if(!this.oNotificationsV2Promise){this.oNotificationsV2Promise=t.getServiceAsync(\"NotificationsV2\");this.oNotificationsV2Promise.then(t=>{this._oNotificationsV2Service=t})}return this.oNotificationsV2Promise};this._proxyV2=function(t,i){const n=new jQuery.Deferred;this._getNotificationsV2().then(n=>n[t].apply(n,i)).then(n.resolve).catch(n.reject);return n.promise()};this._proxyV2sync=function(t,i,n){const e=this._oNotificationsV2Service;return e[t].apply(e,n)};this.isEnabled=function(){const t=e?.config;return!!(t?.serviceUrl&&t?.enabled)};this.init=function(){this._proxyV2(\"init\")};this.getUnseenNotificationsCount=function(){return this._proxyV2(\"getUnseenNotificationsCount\")};this.getNotificationsCount=function(){return this._proxyV2sync(\"getNotificationsCount\",\"0\")};this.getNotificationsByTypeWithGroupHeaders=function(){return this._proxyV2(\"getNotificationsByTypeWithGroupHeaders\")};this.getNotificationsGroupHeaders=function(){return this._proxyV2(\"getNotificationsGroupHeaders\")};this.getNotificationsBufferInGroup=function(t,i,n){return this._proxyV2(\"getNotificationsBufferInGroup\",arguments)};this.getNotificationsBufferBySortingType=function(t,i,n){return this._proxyV2(\"getNotificationsBufferBySortingType\",arguments)};this.getNotifications=function(){return this._proxyV2(\"getNotifications\",arguments)};this.executeBulkAction=function(t,i){return this._proxyV2(\"executeBulkAction\",arguments)};this.dismissBulkNotifications=function(t){return this._proxyV2(\"dismissBulkNotifications\",arguments)};this.executeAction=function(t,i){return this._proxyV2(\"executeAction\",arguments)};this.sendBulkAction=function(t,i){return this._proxyV2(\"sendBulkAction\",arguments)};this.sendBulkDismiss=function(t){return this._proxyV2(\"sendBulkDismiss\",arguments)};this.markRead=function(t){return this._proxyV2(\"markRead\",arguments)};this.dismissNotification=function(t){return this._proxyV2(\"dismissNotification\",arguments)};this.registerNotificationsUpdateCallback=function(t){this._proxyV2(\"registerNotificationsUpdateCallback\",arguments)};this.registerDependencyNotificationsUpdateCallback=function(t,i){this._proxyV2(\"registerNotificationsUpdateCallback\",arguments)};this.registerNotificationCountUpdateCallback=function(t){this._proxyV2(\"registerNotificationCountUpdateCallback\",arguments)};this.notificationsSeen=function(){this._setNotificationsAsSeen()};this.isFirstDataLoaded=function(){return this._proxyV2sync(\"isFirstDataLoaded\",false)};this.readSettings=function(){return this._readSettingsFromServer()};this.saveSettingsEntry=function(t){return this._writeSettingsEntryToServer(t)};this.getUserSettingsFlags=function(){return this._proxyV2(\"getUserSettingsFlags\")};this.setUserSettingsFlags=function(t){this._proxyV2(\"setUserSettingsFlags\",arguments)};this._getNotificationSettingsMobileSupport=function(){return this._proxyV2sync(\"_getNotificationSettingsMobileSupport\",false)};this._getDismissNotifications=function(){return this._proxyV2sync(\"_getDismissNotifications\",[])};this.filterDismisssedItems=function(t,i){return this._proxyV2sync(\"_getDismissNotifications\",[],arguments)};this._addDismissNotifications=function(t){this._proxyV2sync(\"_getDismissNotifications\",null,arguments)};this._initializeDismissNotifications=function(){this._proxyV2sync(\"_initializeDismissNotifications\")};this._getNotificationSettingsEmailSupport=function(){return this._proxyV2sync(\"_getNotificationSettingsEmailSupport\",false)};this.destroy=function(){this._proxyV2sync(\"destroy\")};this._readUnseenNotificationsCount=function(t){return this._proxyV2(\"_readUnseenNotificationsCount\",arguments)};this.readNotificationsCount=function(){return this._proxyV2(\"readNotificationsCount\",arguments)};this._getNotificationSettingsAvailability=function(){return this._proxyV2(\"_getNotificationSettingsAvailability\")};this._setNotificationsAsSeen=function(){return this._proxyV2(\"_setNotificationsAsSeen\")};this._readNotificationsData=function(t){return this._proxyV2(\"_readNotificationsData\",arguments)};this._getHeaderXcsrfToken=function(){return this._proxyV2sync(\"_getHeaderXcsrfToken\")};this._getDataServiceVersion=function(){return this._proxyV2sync(\"_getDataServiceVersion\")};this._getRequestURI=function(t,i){return this._proxyV2sync(\"_getRequestURI\",\"\",arguments)};this._readSettingsFromServer=function(){return this._proxyV2(\"readSettings\")};this._readMobileSettingsFromServer=function(){return this._proxyV2sync(\"_readMobileSettingsFromServer\",\"\")};this._readEmailSettingsFromServer=function(){return this._proxyV2sync(\"_readEmailSettingsFromServer\",\"\")};this._readChannelSettingsFromServer=function(t){return this._proxyV2(\"_readChannelSettingsFromServer\",arguments)};this._checkWebSocketActivity=function(){return this._proxyV2(\"_checkWebSocketActivity\",arguments)};this._writeSettingsEntryToServer=function(t){return this._proxyV2(\"_writeSettingsEntryToServer\",arguments)};this._updateNotificationsConsumers=function(){this._proxyV2sync(\"_updateNotificationsConsumers\")};this._updateDependentNotificationsConsumers=function(){this._proxyV2sync(\"_updateDependentNotificationsConsumers\")};this._updateNotificationsCountConsumers=function(){this._proxyV2sync(\"_updateNotificationsCountConsumers\")};this._updateAllConsumers=function(){this._proxyV2sync(\"_updateAllConsumers\")};this._getModel=function(){return this._proxyV2sync(\"_getModel\")};this._getMode=function(){return this._proxyV2sync(\"_getMode\")};this._setWorkingMode=function(){this._proxyV2sync(\"_setWorkingMode\")};this._performFirstRead=function(){this._proxyV2sync(\"_performFirstRead\")};this._fioriClientStep=function(){this._proxyV2sync(\"_fioriClientStep\")};this._webSocketStep=function(){this._proxyV2sync(\"_webSocketStep\")};this._webSocketRecoveryStep=function(){this._proxyV2sync(\"_webSocketRecoveryStep\")};this._activatePollingAfterInterval=function(){this._proxyV2sync(\"_activatePollingAfterInterval\")};this._activatePolling=function(){this._proxyV2sync(\"_activatePolling\")};this._formatAsDate=function(t){return new Date(t)};this._notificationAlert=function(t){this._proxyV2sync(\"_notificationAlert\",arguments)};this._getFioriClientRemainingDelay=function(){return this._proxyV2sync(\"_getFioriClientRemainingDelay\",arguments)};this._establishWebSocketConnection=function(){this._proxyV2sync(\"_establishWebSocketConnection\",arguments)};this._isFioriClientMode=function(){return this._proxyV2sync(\"_isFioriClientMode\")};this._isPackagedMode=function(){return this._proxyV2sync(\"_isPackagedMode\")};this._setNativeIconBadge=function(t){this._proxyV2sync(\"_setNativeIconBadge\",arguments)};this._setNativeIconBadgeWithDelay=function(){this._proxyV2sync(\"_setNativeIconBadgeWithDelay\")};this._getIntentsFromConfiguration=function(t){return this._proxyV2sync(\"_getIntentsFromConfiguration\",[],arguments)};this._handlePushedNotification=function(t){this._proxyV2sync(\"_handlePushedNotification\",null,arguments)};this._registerForPush=function(){this._proxyV2sync(\"_registerForPush\")};this._addPushNotificationHandler=function(){this._proxyV2sync(\"_addPushNotificationHandler\")};this._isIntentBasedConsumption=function(){return this._proxyV2sync(\"_isIntentBasedConsumption\")};this._getConsumedIntents=function(t){return this._proxyV2sync(\"_getConsumedIntents\",\"\",arguments)};this._revalidateCsrfToken=function(){return this._proxyV2(\"_revalidateCsrfToken\")};this._csrfTokenInvalid=function(t){return this._proxyV2sync(\"_csrfTokenInvalid\",true,arguments)};this._invalidCsrfTokenRecovery=function(t,i,n){this._proxyV2sync(\"_invalidCsrfTokenRecovery\",null,arguments)};this._getWebSocketObjectObject=function(t,i){this._proxyV2sync(\"_getWebSocketObjectObject\",null,arguments)};this.getOperationEnum=function(){return this._proxyV2sync(\"getOperationEnum\",{})};this._readUserSettingsFlagsFromPersonalization=function(){this._proxyV2sync(\"_readUserSettingsFlagsFromPersonalization\")};this._writeUserSettingsFlagsToPersonalization=function(t){return this._proxyV2(\"_writeUserSettingsFlagsToPersonalization\",arguments)};this._getUserSettingsPersonalizer=function(){return this._proxyV2sync(\"_getUserSettingsPersonalizer\")};this._updateCSRF=function(t){this._proxyV2sync(\"_updateCSRF\",null,arguments)};this._userSettingInitialization=function(){this._proxyV2sync(\"_userSettingInitialization\")};this._closeConnection=function(){this._proxyV2sync(\"_closeConnection\")};this._resumeConnection=function(){this._proxyV2sync(\"_resumeConnection\")}}i.hasNoAdapter=true;return i},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/NotificationsV2\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/ui/core/EventBus\",\"sap/ushell/utils/Deferred\",\"sap/ui/core/ws/SapPcpWebSocket\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/datajs\",\"sap/ushell/utils\",\"sap/ushell/Container\"],(e,t,i,s,n,o,a,r,c)=>{\"use strict\";const u=\"/sap/bc/apc/iwngw/notification_push_apc\";const f=60;function l(l,d,h){this.Priority={LOW:\"LOW\",MEDIUM:\"MEDIUM\",HIGH:\"HIGH\"};this.Nature={POSITIVE:\"POSITIVE\",NEGATIVE:\"NEGATIVE\",NEUTRAL:\"NEUTRAL\"};const g=new o;const p=h&&h.config;const N={getNotifications:{},getNotificationsByType:{},getNotificationsInGroup:{},getBadgeNumber:{},resetBadgeNumber:{},getNotificationTypesSettings:{},getNotificationsGroupHeaders:{},getMobileSupportSettings:{},getEmailSupportSettings:{},getWebSocketValidity:{},getNotificationCount:{}};const _=[];const S=[];const T=5e3;const I=6e3;const v={NOTIFICATIONS:0,NOTIFICATIONS_BY_TYPE:1,GET_BADGE_NUMBER:2,RESET_BADGE_NUMBER:3,GET_SETTINGS:4,GET_MOBILE_SUPPORT_SETTINGS:5,NOTIFICATIONS_GROUP_HEADERS:6,NOTIFICATIONS_IN_GROUP:7,GET_NOTIFICATIONS_COUNT:8,VALIDATE_WEBSOCKET_CHANNEL:9,GET_EMAIL_SUPPORT_SETTINGS:10,NOTIFICATIONS_BY_DATE_DESCENDING:\"notificationsByDateDescending\",NOTIFICATIONS_BY_PRIORITY_DESCENDING:\"notificationsByPriorityDescending\",NOTIFICATIONS_BY_TYPE_DESCENDING:\"notificationsByTypeDescending\"};const C={PACKAGED_APP:0,FIORI_CLIENT:1,WEB_SOCKET:2,POLLING:3};const m=new s;const b=new s;const y=m.promise();const P=10;const E=new Date;let R;let D;let O;let A;let B;let U=false;let k=[];let G=false;let w=false;let q=true;let F=\"fetch\";let $;let M=false;let L;let H=false;let V=true;let W;let X;let x=false;let z=false;let J=[];let j;this.isEnabled=function(){if(!p.enabled||!p.serviceUrl){q=false;if(p.enabled&&!p.serviceUrl){e.warning(\"No serviceUrl was found in the service configuration\")}}else{q=true}return q};this.init=function(){if(!G&&this.isEnabled()){i.getInstance().subscribe(\"launchpad\",\"sessionTimeout\",this.destroy,this);j=this.fireInitialRequest();this.lastNotificationDate=new Date;this._setWorkingMode();G=true;this.bUpdateDependencyInitiatorExists=false;this._userSettingInitialization()}i.getInstance().subscribe(\"launchpad\",\"setConnectionToServer\",this._onSetConnectionToServer,this)};this.fireInitialRequest=async function(){return new Promise(e=>{const t={requestUri:`${p.serviceUrl}/GetBadgeNumber()`,headers:{\"X-CSRF-Token\":F}};a.request(t,t=>{if(t.response){this._updateCSRF(t.response)}e()},t=>{if(t.response){this._updateCSRF(t.response)}e()})})};this.fireODataRequest=async function(e){await j;if(e.headers&&e.headers[\"X-CSRF-Token\"]){e.headers[\"X-CSRF-Token\"]=F}a.request.apply(this,arguments)};this.fireODataRead=async function(e){await j;if(e.headers&&e.headers[\"X-CSRF-Token\"]){e.headers[\"X-CSRF-Token\"]=F}a.read.apply(this,arguments)};this._onSetConnectionToServer=function(e,t,i){if(i.active){this._resumeConnection()}else{this._closeConnection()}};this.getUnseenNotificationsCount=function(){return Promise.resolve(g.getProperty(\"/UnseenCount\"))};this.setUnseenNotificationsCount=function(e){return Promise.resolve(g.setProperty(\"/UnseenCount\",e))};this.getNotificationsCount=function(){return g.getProperty(\"/NotificationsCount\")||\"0\"};this._createRequest=function(e){const i={\"Accept-Language\":t.getLanguageTag().toString(),\"X-CSRF-Token\":this._getHeaderXcsrfToken()||\"fetch\"};return{requestUri:e,headers:i}};this.getNotificationsByTypeWithGroupHeaders=function(){const t=this._createRequest(this._getRequestURI(v.NOTIFICATIONS_BY_TYPE));return new Promise((i,s)=>{this.fireODataRequest(t,i,t=>{if(t.response&&t.response.statusCode===200&&t.response.body){i(t.response.body)}else{e.error(\"Notification service - oData executeAction failed: \",t,\"sap.ushell.services.NotificationsV2\");s(t)}})})};this.getNotificationsGroupHeaders=function(){const t=this._createRequest(this._getRequestURI(v.NOTIFICATIONS_GROUP_HEADERS));return new Promise((i,s)=>{this.fireODataRequest(t,i,t=>{if(t.response&&t.response.statusCode===200&&t.response.body){i(t.response.body)}else{e.error(\"Notification service - oData executeAction failed: \",t,\"sap.ushell.services.NotificationsV2\");s()}})})};this.getNotificationsBufferInGroup=function(t,i,s){const n=this;const o={group:t,skip:i,top:s};const a=this._createRequest(this._getRequestURI(v.NOTIFICATIONS_IN_GROUP,o));return new Promise((t,i)=>{this.fireODataRequest(a,e=>{n._updateCSRF(e.response);t(e.value)},s=>{if(s.response&&s.response.statusCode===200&&s.response.body){n._updateCSRF(s.response);t(JSON.parse(s.response.body).value)}else{e.error(\"Notification service - oData executeAction failed: \",s,\"sap.ushell.services.NotificationsV2\");i()}})})};this.getNotificationsBufferBySortingType=function(t,i,s){const n=this;const o={skip:i,top:s};const a=this._createRequest(this._getRequestURI(t,o));return new Promise((o,r)=>{this.fireODataRequest(a,e=>{n._updateCSRF(e.response);o(e.value)},a=>{if(a.response&&a.response.statusCode===200&&a.response.body){n._updateCSRF(a.response);const t=this._parseJSON(a.response.body);if(t){o(t.value)}else{e.error(\"Notification service - oData executeAction failed: \",a,\"sap.ushell.services.NotificationsV2\");r()}}else if(n._csrfTokenInvalid(a)&&x===false){n._invalidCsrfTokenRecovery(o,r,n.getNotificationsBufferBySortingType,[t,i,s])}else{e.error(\"Notification service - oData executeAction failed: \",a,\"sap.ushell.services.NotificationsV2\");r()}})})};this.getNotifications=function(){if(L===C.FIORI_CLIENT||L===C.PACKAGED_APP){return this._readNotificationsData(false).then(()=>g.getProperty(\"/Notifications\"))}return Promise.resolve(g.getProperty(\"/Notifications\"))};this.executeBulkAction=function(e,t){return new Promise((i,s)=>{this.sendBulkAction(e,t).then(e=>{const t=[];const n=[];e.forEach(e=>{const i=e.NotificationId;if(e.Success){t.push(i)}else{n.push(i)}});const o={succededNotifications:t,failedNotifications:n};if(n.length){s(o)}else{i(o)}})})};this.dismissBulkNotifications=function(e){return this.sendBulkDismiss(e)};this.executeAction=function(t,i){const s=this;const n=`${p.serviceUrl}/ExecuteAction`;const o={NotificationId:t,ActionId:i};const a={requestUri:n,method:\"POST\",data:o,headers:{\"X-Requested-With\":\"XMLHttpRequest\",\"Content-Type\":\"application/json\",DataServiceVersion:$,\"X-CSRF-Token\":F}};return new Promise((n,o)=>{this.fireODataRequest(a,e=>{const t={isSucessfull:true,message:\"\"};if(e&&e.response&&e.response.statusCode===200&&e.response.body){const i=JSON.parse(e.response.body);t.isSucessfull=i.Success;t.message=i.MessageText}n(t)},a=>{const r={isSucessfull:false,message:\"\"};if(a.response&&a.response.statusCode===200&&a.response.body){const e=JSON.parse(a.response.body);r.isSucessfull=e.Success;r.message=e.MessageText;n(r)}else if(s._csrfTokenInvalid(a)&&x===false){s._invalidCsrfTokenRecovery(n,o,s.executeAction,[t,i])}else{e.error(\"Notification service - oData executeAction failed: \",a,\"sap.ushell.services.NotificationsV2\");o(a)}})})};this.sendBulkAction=function(t,i){const s=this;const n=`${p.serviceUrl}/BulkActionByHeader`;const o={ParentId:t,ActionId:i};const a={requestUri:n,method:\"POST\",data:o,headers:{\"X-Requested-With\":\"XMLHttpRequest\",\"Content-Type\":\"application/json\",DataServiceVersion:$,\"X-CSRF-Token\":F}};return new Promise((n,o)=>{this.fireODataRequest(a,e=>{let t;if(e&&e.response&&e.response.statusCode===200&&e.response.body){const i=JSON.parse(e.response.body);t=i.value}n(t)},a=>{if(a.response&&a.response.statusCode===200&&a.response.body){const e=JSON.parse(a.response.body);const t=e.value;n(t)}else if(s._csrfTokenInvalid(a)&&x===false){s._invalidCsrfTokenRecovery(n,o,s.sendBulkAction,[t,i])}else{e.error(\"Notification service - oData executeBulkAction failed: \",a.message,\"sap.ushell.services.NotificationsV2\");o()}})})};this.sendBulkDismiss=function(t){const i=this;const s=`${p.serviceUrl}/DismissAll`;const n={ParentId:t};const o={requestUri:s,method:\"POST\",data:n,headers:{\"X-Requested-With\":\"XMLHttpRequest\",\"Content-Type\":\"application/json\",DataServiceVersion:$,\"X-CSRF-Token\":F}};return new Promise((s,n)=>{this.fireODataRequest(o,()=>s(),o=>{if(o.response&&o.response.statusCode===200){s()}else if(i._csrfTokenInvalid(o)&&x===false){i._invalidCsrfTokenRecovery(s,n,i.sendBulkDismiss,[t])}else{const t=o?o.message:\"\";e.error(\"Notification service - oData executeBulkAction failed: \",t,\"sap.ushell.services.NotificationsV2\");n()}})})};this.markRead=function(t){const i=this;const s=`${p.serviceUrl}/MarkRead`;const n={NotificationId:t};const o={requestUri:s,method:\"POST\",data:n,headers:{\"X-Requested-With\":\"XMLHttpRequest\",\"Content-Type\":\"application/json\",DataServiceVersion:$,\"X-CSRF-Token\":F}};return new Promise((s,n)=>{this.fireODataRequest(o,()=>s(),o=>{if(i._csrfTokenInvalid(o)&&x===false){i._invalidCsrfTokenRecovery(s,n,i.markRead,[t])}else{e.error(\"Notification service - oData reset badge number failed: \",o,\"sap.ushell.services.NotificationsV2\");n(o)}})})};this.dismissNotification=function(t){const i=`${p.serviceUrl}/Dismiss`;const s=this;const n={NotificationId:t};const o={requestUri:i,method:\"POST\",data:n,headers:{\"X-Requested-With\":\"XMLHttpRequest\",\"Content-Type\":\"application/json\",DataServiceVersion:$,\"X-CSRF-Token\":F}};return new Promise((i,n)=>{this.fireODataRequest(o,()=>{s._addDismissNotifications(t);i()},o=>{if(s._csrfTokenInvalid(o)&&x===false){s._invalidCsrfTokenRecovery(i,n,s.dismissNotification,[t])}else{e.error(\"Notification service - oData dismiss notification failed: \",o,\"sap.ushell.services.NotificationsV2\");n(o)}})})};this.registerNotificationsUpdateCallback=function(e){_.push(e)};this.registerNotificationCountUpdateCallback=function(e){S.push(e)};this.isFirstDataLoaded=function(){return H};this.getUserSettingsFlags=async function(){try{await r.promisify(y)}catch(e){}return{highPriorityBannerEnabled:V}};this.setUserSettingsFlags=function(e){V=e.highPriorityBannerEnabled;this._writeUserSettingsFlagsToPersonalization(e)};this._getNotificationSettingsMobileSupport=function(){return W};this._getDismissNotifications=function(){return J};this.filterDismisssedItems=function(e,t){return e.filter(e=>!t.some(t=>t===e.originalItemId))};this._addDismissNotifications=function(e){if(J.indexOf(e)===-1){J.push(e)}};this._initializeDismissNotifications=function(){J=[]};this._getNotificationSettingsEmailSupport=function(){return X};this.destroy=function(){w=true;if(D){clearTimeout(D)}else if(O){clearTimeout(O)}else if(A){clearTimeout(A)}if(L===C.WEB_SOCKET&&R){R.close()}i.getInstance().unsubscribe(\"launchpad\",\"sessionTimeout\",this.destroy,this);i.getInstance().unsubscribe(\"launchpad\",\"setConnectionToServer\",this._onSetConnectionToServer,this)};this._readUnseenNotificationsCount=function(){const t=this;const i=this._createRequest(this._getRequestURI(v.GET_BADGE_NUMBER));return new Promise((s,n)=>{this.fireODataRead(i,(e,i)=>{g.setProperty(\"/UnseenCount\",i.data.GetBadgeNumber.Number);t._setNativeIconBadge(i.data.GetBadgeNumber.Number);s(i.data.GetBadgeNumber.Number)},i=>{if(i.response&&i.response.statusCode===200&&i.response.body){const e=JSON.parse(i.response.body);g.setProperty(\"/UnseenCount\",e.value);t._setNativeIconBadge(e.value);s(e.value)}else{e.error(\"Notification service - oData read unseen notifications count failed: \",i.message,\"sap.ushell.services.NotificationsV2\");n(i)}})})};this.readNotificationsCount=function(){const t=this._createRequest(this._getRequestURI(v.GET_NOTIFICATIONS_COUNT));return new Promise((i,s)=>{this.fireODataRead(t,(e,t)=>i(t.data),t=>{if(t.response&&t.response.statusCode===200&&t.response.body){const e=JSON.parse(t.response.body);i(e.value)}else{e.error(\"Notification service - oData read notifications count failed: \",t.message,\"sap.ushell.services.NotificationsV2\");s(t)}})})};this._getNotificationSettingsAvailability=function(){return b.promise()};this.notificationsSeen=function(){const t=this;const i={requestUri:this._getRequestURI(v.RESET_BADGE_NUMBER),method:\"POST\",headers:{\"X-Requested-With\":\"XMLHttpRequest\",\"Content-Type\":\"application/json\",DataServiceVersion:$,\"X-CSRF-Token\":F}};if(this._isFioriClientMode()===true||this._isPackagedMode()===true){this._setNativeIconBadge(0)}return new Promise((s,n)=>{this.fireODataRequest(i,s,i=>{if(t._csrfTokenInvalid(i)){t._invalidCsrfTokenRecovery(s,n,t.notificationsSeen)}else{e.error(\"Notification service - oData reset badge number failed: \",i,\"sap.ushell.services.NotificationsV2\");n(i)}})})};this._readNotificationsData=function(e){const t=this;this.readNotificationsCount().then(e=>g.setProperty(\"/NotificationsCount\",e));const i=this._readUnseenNotificationsCount(e).then(()=>{if(e===true){t._updateNotificationsCountConsumers()}});const s=this.getNotificationsBufferBySortingType(v.NOTIFICATIONS_BY_DATE_DESCENDING,0,P).then(i=>{g.setProperty(\"/Notifications\",i);t._notificationAlert(i);if(e===true){t._updateNotificationsConsumers()}});return Promise.all([i,s])};this._getHeaderXcsrfToken=function(){return F};this._getDataServiceVersion=function(){return $};this._getRequestURI=function(e,t){const i=encodeURI(this._getConsumedIntents(e));let s;switch(e){case v.NOTIFICATIONS:if(N.getNotifications.basic===undefined){N.getNotifications.basic=`${p.serviceUrl}/Notifications?$expand=Actions,NavigationTargetParams&$filter=IsGroupHeader%20eq%20false`}if(this._isIntentBasedConsumption()){if(N.getNotifications.byIntents===undefined){N.getNotifications.byIntents=N.getNotifications.basic.concat(`&intents%20eq%20${i}`)}return N.getNotifications.byIntents}return N.getNotifications.basic;case v.NOTIFICATIONS_BY_TYPE:if(N.getNotificationsByType.basic===undefined){N.getNotificationsByType.basic=`${p.serviceUrl}/Notifications?$expand=Actions,NavigationTargetParams`}if(this._isIntentBasedConsumption()){if(N.getNotificationsByType.byIntents===undefined){N.getNotificationsByType.byIntents=N.getNotificationsByType.basic.concat(`&$filter=intents%20eq%20${i}`)}return N.getNotificationsByType.byIntents}return N.getNotificationsByType.basic;case v.NOTIFICATIONS_GROUP_HEADERS:if(N.getNotificationsGroupHeaders.basic===undefined){N.getNotificationsGroupHeaders.basic=`${p.serviceUrl}/Notifications?$expand=Actions,NavigationTargetParams&$filter=IsGroupHeader%20eq%20true`}if(this._isIntentBasedConsumption()){if(N.getNotificationsGroupHeaders.byIntents===undefined){N.getNotificationsGroupHeaders.byIntents=N.getNotificationsGroupHeaders.basic.concat(`&intents%20eq%20${i}`)}return N.getNotificationsGroupHeaders.byIntents}return N.getNotificationsGroupHeaders.basic;case v.NOTIFICATIONS_IN_GROUP:s=`${p.serviceUrl}/Notifications?$expand=Actions,NavigationTargetParams&$orderby=CreatedAt desc&$filter=IsGroupHeader eq false and ParentId eq ${t.group}&$skip=${t.skip}&$top=${t.top}`;if(this._isIntentBasedConsumption()===true){s=s.concat(`&intents%20eq%20${i}`)}break;case v.GET_BADGE_NUMBER:if(N.getBadgeNumber.basic===undefined){N.getBadgeNumber.basic=`${p.serviceUrl}/GetBadgeNumber()`}if(this._isIntentBasedConsumption()){if(N.getBadgeNumber.byIntents===undefined){N.getBadgeNumber.byIntents=`${p.serviceUrl}/GetBadgeCountByIntent(${i})`}return N.getBadgeNumber.byIntents}return N.getBadgeNumber.basic;case v.GET_NOTIFICATIONS_COUNT:if(N.getNotificationCount.basic===undefined){N.getNotificationCount.basic=`${p.serviceUrl}/Notifications/$count`}return N.getNotificationCount.basic;case v.RESET_BADGE_NUMBER:if(N.resetBadgeNumber.basic===undefined){N.resetBadgeNumber.basic=`${p.serviceUrl}/ResetBadgeNumber`}return N.resetBadgeNumber.basic;case v.GET_SETTINGS:if(N.getNotificationTypesSettings.basic===undefined){N.getNotificationTypesSettings.basic=`${p.serviceUrl}/NotificationTypePersonalizationSet`}return N.getNotificationTypesSettings.basic;case v.GET_MOBILE_SUPPORT_SETTINGS:if(N.getMobileSupportSettings.basic===undefined){N.getMobileSupportSettings.basic=`${p.serviceUrl}/Channels(ChannelId='SAP_SMP')`}return N.getMobileSupportSettings.basic;case v.GET_EMAIL_SUPPORT_SETTINGS:if(N.getEmailSupportSettings.basic===undefined){N.getEmailSupportSettings.basic=`${p.serviceUrl}/Channels(ChannelId='SAP_EMAIL')`}return N.getEmailSupportSettings.basic;case v.VALIDATE_WEBSOCKET_CHANNEL:if(N.getWebSocketValidity.basic===undefined){N.getWebSocketValidity.basic=`${p.serviceUrl}/Channels('SAP_WEBSOCKET')`}return N.getWebSocketValidity.basic;case v.NOTIFICATIONS_BY_DATE_DESCENDING:s=`${p.serviceUrl}/Notifications?$expand=Actions,NavigationTargetParams&$orderby=CreatedAt%20desc&$filter=IsGroupHeader%20eq%20false&$skip=${t.skip}&$top=${t.top}`;if(this._isIntentBasedConsumption()===true){s=s.concat(`&intents%20eq%20${i}`)}break;case v.NOTIFICATIONS_BY_PRIORITY_DESCENDING:s=`${p.serviceUrl}/Notifications?$expand=Actions,NavigationTargetParams&$orderby=Priority%20desc&$filter=IsGroupHeader%20eq%20false&$skip=${t.skip}&$top=${t.top}`;if(this._isIntentBasedConsumption()===true){s=s.concat(`&intents%20eq%20${i}`)}break;default:s=\"\"}return s};this.readSettings=function(){const t=this._createRequest(this._getRequestURI(v.GET_SETTINGS));return new Promise((i,s)=>{this.fireODataRequest(t,e=>i(e.results),t=>{if(t.response&&t.response.statusCode===200&&t.response.body){i(t.response.body)}else{e.error(\"Notification service - oData get settings failed: \",t,\"sap.ushell.services.NotificationsV2\");s(t)}})})};this._readMobileSettingsFromServer=function(){return this._readChannelSettingsFromServer(v.GET_MOBILE_SUPPORT_SETTINGS)};this._readEmailSettingsFromServer=function(){return this._readChannelSettingsFromServer(v.GET_EMAIL_SUPPORT_SETTINGS)};this._readChannelSettingsFromServer=function(t){const i=this._getRequestURI(t);const s=this._createRequest(i);let n;let o;return new Promise(t=>{this.fireODataRequest(s,e=>{if(typeof e.results===\"string\"){n=JSON.parse(e.results);n.successStatus=true;o=JSON.stringify(n);t(o)}else{e.results.successStatus=true;t(e.results)}},i=>{if(i.response&&i.response.statusCode===200&&i.response.body){n=JSON.parse(i.response.body);n.successStatus=true;o=JSON.stringify(n);t(o)}else{e.error(\"Notification service - oData get settings failed: \",i,\"sap.ushell.services.NotificationsV2\");t(JSON.stringify({successStatus:false}))}})})};this._checkWebSocketActivity=function(){const t=this._createRequest(this._getRequestURI(v.VALIDATE_WEBSOCKET_CHANNEL));return new Promise(i=>{this.fireODataRequest(t,e=>{if(typeof e.results===\"string\"){const t=JSON.parse(e.results);i(t.IsActive)}else{i(false)}},t=>{if(t.response&&t.response.statusCode===200&&t.response.body){const e=JSON.parse(t.response.body);i(e.IsActive)}else{e.error(\"Notification service - oData get settings failed: \",t,\"sap.ushell.services.NotificationsV2\");i(false)}})})};this.saveSettingsEntry=function(t){const i=this;const s=`${this._getRequestURI(v.GET_SETTINGS)}(NotificationTypeId=${t.NotificationTypeId})`;const n={requestUri:s,method:\"PUT\",headers:{\"X-Requested-With\":\"XMLHttpRequest\",\"Content-Type\":\"application/json\",DataServiceVersion:$,\"X-CSRF-Token\":F}};n.data=JSON.parse(JSON.stringify(t));n.data[\"@odata.context\"]=\"$metadata#NotificationTypePersonalizationSet/$entity\";return new Promise((s,o)=>{this.fireODataRequest(n,s,n=>{if(n.response&&n.response.statusCode===200&&n.response.body){s(n.response.body)}else if(i._csrfTokenInvalid(n)&&x===false){i._invalidCsrfTokenRecovery(s,o,i.saveSettingsEntry,[t])}else{e.error(\"Notification service - oData set settings entry failed: \",n,\"sap.ushell.services.NotificationsV2\");o(n)}})})};this._updateNotificationsConsumers=function(){_.forEach(e=>e())};this._updateNotificationsCountConsumers=function(){S.forEach(e=>e())};this._updateAllConsumers=function(){this._updateNotificationsConsumers();this._updateNotificationsCountConsumers()};this._getModel=function(){return g};this._getMode=function(){return L};this._setWorkingMode=function(){let e;if(p.intentBasedConsumption===true){k=this._getIntentsFromConfiguration(p.consumedIntents);if(k.length>0){U=true}}if(this._isPackagedMode()){L=C.PACKAGED_APP;e=this._getIntentsFromConfiguration(window.fiori_client_appConfig.applications);if(e.length>0){k=e}if(k.length>0){U=true}this._registerForPush();this._readNotificationsData(true);this._setNativeIconBadgeWithDelay();return}this._performFirstRead()};this._performFirstRead=function(){const t=this;this._readNotificationsData(true).then(()=>{const e=t._getFioriClientRemainingDelay();if(e<=0){t._fioriClientStep()}else{D=setTimeout(()=>{t._fioriClientStep()},e)}H=true}).catch(t=>{e.error(`Notifications oData read failed. Error: ${t}`)})};this._fioriClientStep=function(){if(this._isFioriClientMode()){L=C.FIORI_CLIENT;this._addPushNotificationHandler();this.getUnseenNotificationsCount().then(e=>{this._setNativeIconBadge(e)})}else{this._webSocketStep()}};this._webSocketStep=function(){L=C.WEB_SOCKET;this._establishWebSocketConnection()};this._webSocketRecoveryStep=function(){if(M===false){M=true;O=window.setTimeout(this._webSocketStep.bind(this),T)}else{this._activatePollingAfterInterval()}};this._activatePollingAfterInterval=function(){B=p.pollingIntervalInSeconds||f;window.clearTimeout(A);A=window.setTimeout(this._activatePolling.bind(this),r.sanitizeTimeoutDelay(B*1e3))};this._activatePolling=function(){B=p.pollingIntervalInSeconds||f;L=C.POLLING;this._readNotificationsData(true);window.clearTimeout(A);B=window.setTimeout(this._activatePolling.bind(this,B,false),r.sanitizeTimeoutDelay(B*1e3))};this._deactivatePolling=function(){if(L===C.POLLING){window.clearTimeout(B)}};this._formatAsDate=function(e){return new Date(e)};this._notificationAlert=function(e){if(V===false){return}const t=[];let s=0;for(const i in e){if(this.lastNotificationDate&&this._formatAsDate(e[i].CreatedAt)>this.lastNotificationDate){if(e[i].Priority===\"HIGH\"){t.push(e[i])}}if(s<this._formatAsDate(e[i].CreatedAt)){s=this._formatAsDate(e[i].CreatedAt)}}if(this.lastNotificationDate&&t.length>0){i.getInstance().publish(\"sap.ushell.services.Notifications\",\"onNewNotifications\",t)}this.lastNotificationDate=s};this._getFioriClientRemainingDelay=function(){return I-(new Date-E)};this._establishWebSocketConnection=function(){const t=this;let i=false;try{R=this._getWebSocketObjectObject(p.webSocketUrl||u,[n.SUPPORTED_PROTOCOLS.v10]);R.attachMessage(this,e=>{const i=e.getParameter(\"pcpFields\");if(i&&i.Command&&i.Command===\"Notification\"){t._readNotificationsData(true)}});R.attachOpen(this,()=>{t._checkWebSocketActivity().then(e=>{if(!e){i=true;R.close();t._activatePollingAfterInterval()}});e.info(\"Notifications UShell service WebSocket: webSocket connection opened\")});R.attachClose(this,s=>{e.warning(`Notifications UShell service WebSocket: attachClose called with code: ${s.mParameters.code} and reason: ${s.mParameters.reason}`);if(!w&&!i){t._webSocketRecoveryStep()}});R.attachError(this,()=>{e.warning(\"Notifications UShell service WebSocket: attachError called!\")})}catch(t){e.error(`Exception occurred while creating new sap.ui.core.ws.SapPcpWebSocket. Message: ${t.message}`)}};this._isFioriClientMode=function(){return!(sap.FioriClient===undefined)};this._isPackagedMode=function(){return window.fiori_client_appConfig&&window.fiori_client_appConfig.prepackaged===true};this._setNativeIconBadge=function(e){if(sap.Push&&sap.Push.setBadgeNumber){sap.Push.setBadgeNumber(e,()=>{})}};this._setNativeIconBadgeWithDelay=function(){setTimeout(()=>{this.getUnseenNotificationsCount().then(e=>{this._setNativeIconBadge(e)})},4e3)};this._getIntentsFromConfiguration=function(e){const t=[];if(e&&e.length>0){let i;for(let s=0;s<e.length;s++){i=e[s].intent;t.push(i)}}return t};this._handlePushedNotification=function(e){let t;let i;let s;let n=[];if(e!==undefined){if(e.additionalData===undefined||e.additionalData.foreground===true){this._readNotificationsData(true)}else{if(e.additionalData&&e.additionalData.NavigationTargetObject){t=e.additionalData.NavigationTargetObject}else{t=e.NavigationTargetObject}if(e.additionalData&&e.additionalData.NavigationTargetAction){i=e.additionalData.NavigationTargetAction}else{i=e.NavigationTargetAction}if(e.additionalData&&e.additionalData.NavigationTargetParam){s=e.additionalData.NavigationTargetParam}else{s=e.NavigationTargetParam}if(s){if(typeof s===\"string\"||s instanceof String){n[0]=s}else if(Array.isArray(s)===true){n=s}}const o=e.NotificationId;if(t&&i){r.toExternalWithParameters(t,i,n)}this.markRead(o);this._readNotificationsData(true)}}};this._registerForPush=function(){if(sap.Push){sap.Push.initPush(this._handlePushedNotification.bind(this))}};this._addPushNotificationHandler=function(){document.addEventListener(\"deviceready\",this._registerForPush.bind(this),false)};this._isIntentBasedConsumption=function(){return U};this._getConsumedIntents=function(e){let t=\"\";if(!this._isIntentBasedConsumption()){return t}if(k.length>0){if(e!==v.GET_BADGE_NUMBER){t=\"&\"}for(let i=0;i<k.length;i++){if(e===v.GET_BADGE_NUMBER){if(i===0){t=k[i]}else{t=`${t},${k[i]}`}}else{t=`${t}NavigationIntent%20eq%20%27${k[i]}%27`}}}return t};this._revalidateCsrfToken=function(){F=\"fetch\";z=false;return this.getNotificationsBufferBySortingType(v.NOTIFICATIONS_BY_DATE_DESCENDING,0,1)};this._csrfTokenInvalid=function(e){const t=e.response;const i=t&&t.statusCode===403;const s=t&&t.headers[\"x-csrf-token\"]||\"\";const n=s.toLowerCase()===\"required\";return i&&n};this._invalidCsrfTokenRecovery=function(t,i,s,n){const o=this;x=true;this._revalidateCsrfToken().then(()=>{s.apply(o,n).then(t).catch(e=>{if(e.response&&e.response.statusCode===200&&e.response.body){t(e.response.body)}else{i(e)}}).finally(()=>{x=false})}).catch(t=>{x=false;e.error(\"Notification service - oData markRead failed: \",t.message,\"sap.ushell.services.NotificationsV2\");i(t)})};this._getWebSocketObjectObject=function(e,t){return new n(e,t)};this.getOperationEnum=function(){return v};this._readUserSettingsFlagsFromPersonalization=function(){const t=this;this._getUserSettingsPersonalizer().then(i=>{i.getPersData().then(e=>{if(e===undefined){t._writeUserSettingsFlagsToPersonalization({highPriorityBannerEnabled:V})}else{V=e.highPriorityBannerEnabled}m.resolve()}).catch(()=>{e.error(\"Reading User Settings flags from Personalization service failed\");m.reject()})}).catch(t=>{e.error(\"Personalization service does not work:\");e.error(`${t.name}: ${t.message}`);e.error(\"Reading User Settings flags from Personalization service failed\")})};this._writeUserSettingsFlagsToPersonalization=function(t){return this._getUserSettingsPersonalizer().then(e=>e.setPersData(t)).catch(t=>{e.error(\"Personalization service does not work:\");e.error(`${t.name}: ${t.message}`)})};this._getUserSettingsPersonalizer=function(){if(!this.oUserSettingsPersonalizerPromise){this.oUserSettingsPersonalizerPromise=c.getServiceAsync(\"PersonalizationV2\").then(e=>{const t={keyCategory:e.KeyCategory.FIXED_KEY,writeFrequency:e.WriteFrequency.LOW,clientStorageAllowed:true};const i={container:\"sap.ushell.services.Notifications\",item:\"userSettingsData\"};return e.getPersonalizer(i,t)})}return this.oUserSettingsPersonalizerPromise};this._updateCSRF=function(e){if(z===true||e.headers===undefined){return}if(this._getHeaderXcsrfToken()===\"fetch\"){F=e.headers[\"x-csrf-token\"]||e.headers[\"X-CSRF-Token\"]||e.headers[\"X-Csrf-Token\"]||\"fetch\"}if(!this._getDataServiceVersion()){$=e.headers.DataServiceVersion||e.headers[\"odata-version\"]}z=true};this._userSettingInitialization=function(){if(this._bSettingsInitialized){return}this._bSettingsInitialized=true;const t={settingsAvailable:false,mobileAvailable:false,emailAvailable:false};this._readUserSettingsFlagsFromPersonalization();const i=this.readSettings();const s=this._readMobileSettingsFromServer();const n=this._readEmailSettingsFromServer();const o=[i,s,n];i.then(()=>{t.settingsAvailable=true}).catch(()=>{e.warning(\"User settings for the Notification service are not available.\");b.promise().catch(()=>{});b.reject()});s.then(e=>{const i=JSON.parse(e);if(i.successStatus){W=e?i.IsActive:false;t.mobileAvailable=W}else{W=false;t.mobileAvailable=false}}).catch(()=>{e.warning(\"Mobile settings for the Notification service are not available.\");W=false;t.mobileAvailable=false});n.then(e=>{const i=JSON.parse(e);if(i.successStatus){X=e?i.IsActive:false;t.emailAvailable=X}else{X=false;t.emailAvailable=false}}).catch(()=>{e.warning(\"Email settings for the Notification service are not available.\");X=false;t.emailAvailable=false});Promise.all(o).then(()=>{b.resolve(t)}).catch(()=>e.warning(\"Settings for the Notification service are not loaded completely.\"))};this._closeConnection=function(){if(!w){if(L===C.WEB_SOCKET&&R){R.close();w=true}if(L===C.POLLING&&A){window.clearTimeout(A);w=true}}};this._resumeConnection=function(){if(w){w=false;this._webSocketStep()}};this._parseJSON=function(e){try{return JSON.parse(e)}catch(e){this._deactivatePolling();return false}}}l.hasNoAdapter=true;return l},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PageBuilding\", [\"sap/ui/thirdparty/jquery\"],jQuery=>{\"use strict\";function e(e,t){this.getFactory=function(){return e.getFactory()};this.getPage=function(t){return e.getFactory().createPage(t)};this.getPageSet=function(t){const r=new jQuery.Deferred;e.getFactory().createPageSet(t,r.resolve.bind(r),r.reject.bind(r));return r.promise()}}e.hasNoAdapter=false;return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PagePersistence\", [],()=>{\"use strict\";function t(){this._init.apply(this,arguments)}t.prototype._init=function(t,e){this._oServiceConfiguration=e;this.oAdapter=t;this._pagesCache=[]};t.prototype.getPage=function(t){if(!this._pagesCache[t]){this._pagesCache[t]=this.oAdapter.getPage(t)}return this._pagesCache[t]};t.prototype.getPages=function(t){return this.oAdapter.getPages(t)};t.hasNoAdapter=false;return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PageReferencing\", [\"sap/ushell/services/_PageReferencing/PageReferencer\"],e=>{\"use strict\";function r(){}r.prototype.createReferencePage=function(r){return e.createReferencePage(r)};r.hasNoAdapter=true;return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Pages\", [\"sap/base/Log\",\"sap/ushell/utils/RestrictedJSONModel\",\"sap/base/util/deepClone\",\"sap/base/util/extend\",\"sap/base/util/deepExtend\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\",\"sap/base/util/ObjectPath\"],(e,t,i,a,o,s,n,r,c,l,d,u,g)=>{\"use strict\";function h(){this.COMPONENT_NAME=\"sap.ushell.services.Pages\";this._oCdmServicePromise=c.getServiceAsync(\"CommonDataModel\");this._oCSTRServicePromise=c.getServiceAsync(\"ClientSideTargetResolution\");this._oPagesModel=new t({pages:[]});this._bImplicitSaveEnabled=true;this._aPagesToBeSaved=[]}h.prototype._generateId=function(e){const t=[];const i=this.getModel().getProperty(this.getPagePath(e));i.sections.forEach(e=>{t.push(e.id);e.visualizations.forEach(e=>{t.push(e.id)})});return n.generateUniqueId(t)};h.prototype.getModel=function(){return this._oPagesModel};h.prototype.enableImplicitSave=function(e){this._bImplicitSaveEnabled=e};h.prototype.getPageIndex=function(e){const t=this._oPagesModel.getProperty(\"/pages\");for(let i=0;i<t.length;++i){if(t[i].id===e){return i}}return undefined};h.prototype.getPagePath=function(e){const t=this.getPageIndex(e);if(typeof t===\"undefined\"){return\"\"}return`/pages/${t}`};h.prototype.loadPage=async function(t){const i=this.getPagePath(t);if(i){return i}n.setPerformanceMark([\"FLP-Pages-Service-loadPage-start[\",t,\"]\"].join(\"\"));let a;try{a=await this._oCdmServicePromise}catch(t){e.error(\"Pages - loadPage: Couldn't resolve CDM Service.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{const e=await a.getPage(t);const i=await a.getCachedVisualizations();const o=await a.getApplications();const s=await a.getCachedVizTypes();const r=await this._getModelForPage(e,i,o,s);const c=this._oPagesModel.getProperty(\"/pages/\").length;const l=`/pages/${c}`;this._oPagesModel._setProperty(l,r);n.setPerformanceMark([\"FLP-Pages-Service-loadPage-end[\",t,\"]\"].join(\"\"));return l}catch(t){e.error(\"Pages - loadPage: Failed to gather site data.\",t,this.COMPONENT_NAME);return Promise.reject(t)}};h.prototype.loadPages=async function(t){let i;try{i=await this._oCdmServicePromise}catch(t){e.error(\"Pages - loadPages: Couldn't resolve CDM Service.\",t,this.COMPONENT_NAME);return Promise.reject(t)}await i.getPages(t);const a=await Promise.all(t.map(e=>this.loadPage(e)));const o={};t.forEach((e,t)=>{o[e]=a[t]});return o};h.prototype.findVisualization=async function(t,i,a,o){let s;try{s=await this._oCdmServicePromise}catch(t){e.error(\"Pages - findVisualization: Personalization cannot be saved: CDM Service cannot be retrieved.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{const e=await this.loadPage(t);await s.getCachedVisualizations();await s.getApplications();const n=this.getModel().getProperty(`${e}/sections`)||[];return n.reduce((e,s,n)=>{if(i&&s.id!==i){return e}const r=s.visualizations.reduce((e,t,i)=>{if(a&&t.vizId===a||o&&t.id===o){e.push(i)}return e},[]);if(r.length){e.push({pageId:t,sectionIndex:n,vizIndexes:r})}return e},[])}catch(t){e.error(\"Pages - findVisualization: Couldn't load page, get visualizations or applications.\",t,this.COMPONENT_NAME);return Promise.reject(t)}};h.prototype.moveVisualization=async function(t,a,o,s,n){if(a===s&&o===n){return Promise.resolve({visualizationIndex:n})}this.setPersonalizationActive(true);const r=this._oPagesModel.getProperty(`/pages/${t}`);const c=r.id;const l=r.sections;const d=l[a];const u=l[s];const g=d.id;const h=u.id;const P=d.visualizations[o];const p=P.id;d.visualizations=d.visualizations.concat([]);u.visualizations=u.visualizations.concat([]);d.visualizations.splice(o,1);if(n===-1){n=u.visualizations.length}u.visualizations.splice(n,0,P);let f;if(u.visualizations[n]){f=n-1}else{f=u.visualizations.length-2}let v;if(u.visualizations[f]){v=u.visualizations[f].id}if(d.default&&!d.visualizations.length){l.splice(a,1)}this._oPagesModel.refresh();let y;try{const e=await this._oCdmServicePromise;y=await e.getPage(c)}catch(t){this.setPersonalizationActive(false);e.error(\"Pages - moveVisualization: Personalization cannot be saved: CDM Service or Page cannot be retrieved.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{const e=y.payload.sections[g];const t=e.layout.vizOrder;const o=e.viz;const s=y.payload.sections[h];const r=s.layout.vizOrder;const l=s.viz;const d=i(o[p]);const u=t.indexOf(p);t.splice(u,1);const P=v?r.indexOf(v)+1:0;r.splice(P,0,p);if(g!==h){delete o[p];l[p]=d}if(e.default&&!Object.keys(o).length){delete y.payload.sections[g];y.payload.layout.sectionOrder.splice(a,1)}await this._conditionalSavePersonalization(c);return{visualizationIndex:n}}catch(e){this.setPersonalizationActive(false);return Promise.reject(e)}};h.prototype.deleteVisualization=async function(t,i,a){const o=this._oPagesModel.getProperty(`/pages/${t}`);const s=o.sections[i];if(s.default&&s.visualizations.length<2){return this.deleteSection(t,i)}this.setPersonalizationActive(true);const n=s.visualizations;const r=n[a];n.splice(a,1);this._oPagesModel.refresh();let c;try{const e=await this._oCdmServicePromise;c=await e.getPage(o.id)}catch(t){this.setPersonalizationActive(false);e.error(\"Pages - deleteVisualization: Personalization cannot be saved: CDM Service or Page cannot be retrieved.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{const e=c.payload.sections[s.id].layout.vizOrder;const t=c.payload.sections[s.id].viz;const i=e.indexOf(r.id);delete t[r.id];if(i>-1){e.splice(i,1)}return await this._conditionalSavePersonalization(c.identification.id)}catch(e){this.setPersonalizationActive(false);return Promise.reject(e)}};h.prototype._getSectionIndex=function(e,t){const i=this.getModel().getProperty(`${e}/sections`)||[];for(let e=0;e<i.length;e+=1){if(i[e].id===t){return e}}};h.prototype._getVisualizationData=async function(e,t,i,a,o,s,n){const r=a||{vizId:t};const c={applications:o,visualizations:i,vizTypes:s};const l=await d.getVizData(c,r,n);if(!l.id){l.id=this._generateId(e)}return l};h.prototype.addVisualization=async function(t,i,a,o){let n;try{n=await this._oCdmServicePromise}catch(t){e.error(\"Pages - addVisualization: Personalization cannot be saved: CDM Service cannot be retrieved.\",t,this.COMPONENT_NAME);throw t}try{let r;try{r=await Promise.all([this.loadPage(t),n.getVisualizations(),n.getApplications(),n.getVizTypes()])}catch(t){e.error(\"Pages - addVisualization: Personalization cannot be saved: Failed to load page, get visualizations or get applications.\",t,this.COMPONENT_NAME);throw t}const[c,l,d,u]=r;const g=this._getSectionIndex(c,i);const h=this.getModel().getProperty(`${c}/sections`)||[];const P=await this._getVisualizationData(t,a,l,null,d,u);if(o){P.displayFormatHint=o}let p;for(let e=0;e<h.length;e++){if(h[e].default){p=e}}if(g!==undefined||p!==undefined){this.setPersonalizationActive(true);const s=g!==undefined?g:p||0;const r=`${c}/sections/${s}/visualizations`;this.getModel().getProperty(r).push(P);this.getModel().refresh();let l;try{l=await n.getPage(t)}catch(t){e.error(\"Pages - addVisualization: Personalization cannot be saved: Failed to get page.\",t,this.COMPONENT_NAME);return Promise.reject(t)}const d=l.payload.sections[i||l.payload.layout.sectionOrder[0]];d.layout.vizOrder.push(P.id);d.viz[P.id]={id:P.id,vizId:a};if(o){d.viz[P.id].displayFormatHint=o}return this._conditionalSavePersonalization(t)}const f=parseInt(c.split(\"/\")[2],10);return await this.addSection(f,0,{title:s.i18n.getText(\"DefaultSection.Title\"),default:true,visualizations:[P]})}catch(e){this.setPersonalizationActive(false);throw e}};h.prototype.copyVisualization=function(e,t,i){const a=i.isBookmark;if(!a){return this.addVisualization(e,t,i.vizId,i.displayFormatHint)}return this.addBookmarkToPage(e,{title:i.title,subtitle:i.subtitle,url:i.targetURL,icon:i.icon,info:i.info,serviceUrl:i.indicatorDataSource?i.indicatorDataSource.path:\"\",serviceRefreshInterval:i.indicatorDataSource?i.indicatorDataSource.refresh:\"\",numberUnit:i.numberUnit,vizType:i.vizType,vizConfig:i.vizConfig},t)};h.prototype.moveSection=async function(t,i,a){if(i===a){return Promise.resolve()}this.setPersonalizationActive(true);const o=this._oPagesModel.getProperty(`/pages/${t}/id`);const s=this._oPagesModel.getProperty(`/pages/${t}/sections`);const n=this._oPagesModel.getProperty(`/pages/${t}/sections/${i}`);const r=n.id;s.splice(i,1);if(i<a){a--}s.splice(a,0,n);this._oPagesModel.refresh();let c;try{const e=await this._oCdmServicePromise;c=await e.getPage(o)}catch(t){this.setPersonalizationActive(false);e.error(\"Pages - moveSection: Personalization cannot be saved: CDM Service or Page cannot be retrieved.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{const e=c.payload.layout.sectionOrder;e.splice(e.indexOf(r),1);e.splice(a,0,r);return await this._conditionalSavePersonalization(o)}catch(e){this.setPersonalizationActive(false);return Promise.reject(e)}};h.prototype.addSection=async function(t,i,a){this.setPersonalizationActive(true);const o=a||{};const s=this._oPagesModel.getProperty(`/pages/${t}/sections`);const n=this._oPagesModel.getProperty(`/pages/${t}/id`);const r={id:o.id!==undefined?o.id:this._generateId(n),title:o.title!==undefined?o.title:\"\",visible:o.visible!==undefined?o.visible:true,preset:o.preset!==undefined?o.preset:false,locked:o.locked!==undefined?o.locked:false,default:o.default!==undefined?o.default:false,visualizations:o.visualizations!==undefined?o.visualizations:[]};s.splice(i,0,r);this._oPagesModel.refresh();let c;try{const e=await this._oCdmServicePromise;c=await e.getPage(n)}catch(t){this.setPersonalizationActive(false);e.error(\"Pages - addSection: Personalization cannot be saved: CDM Service or Page cannot be retrieved.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{const e={id:r.id,title:r.title,visible:r.visible,preset:r.preset,locked:r.locked,default:r.default,layout:{vizOrder:[]},viz:{}};if(r.visualizations){let t;for(let i=0;i<r.visualizations.length;i++){t=r.visualizations[i];e.layout.vizOrder.push(t.id);if(t.isBookmark){e.viz[t.id]=d.getVizRef(t)}else{e.viz[t.id]={id:t.id,vizId:t.vizId};if(t.displayFormatHint){e.viz[t.id].displayFormatHint=t.displayFormatHint}}}}c.payload.layout.sectionOrder.splice(i,0,r.id);c.payload.sections[r.id]=e;return await this._conditionalSavePersonalization(n)}catch(e){this.setPersonalizationActive(false);return Promise.reject(e)}};h.prototype.deleteSection=async function(t,i){this.setPersonalizationActive(true);const a=this._oPagesModel.getProperty(`/pages/${t}/id`);const o=this._oPagesModel.getProperty(`/pages/${t}/sections`);const s=o[i].id;o.splice(i,1);this._oPagesModel.refresh();let n;try{const e=await this._oCdmServicePromise;n=await e.getPage(a)}catch(t){this.setPersonalizationActive(false);e.error(\"Pages - deleteSection: Personalization cannot be saved: CDM Service or Page cannot be retrieved.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{delete n.payload.sections[s];n.payload.layout.sectionOrder.splice(i,1);return await this._conditionalSavePersonalization(a)}catch(e){this.setPersonalizationActive(false);return Promise.reject(e)}};h.prototype.setSectionVisibility=async function(t,i,a){this.setPersonalizationActive(true);const o=this._oPagesModel.getProperty(`/pages/${t}/id`);const s=this._oPagesModel.getProperty(`/pages/${t}/sections/${i}/id`);const n=this._oPagesModel.getProperty(`/pages/${t}/sections/${i}`);if(n.visible===a){return Promise.resolve()}n.visible=a;this._oPagesModel.refresh();let r;try{const e=await this._oCdmServicePromise;r=await e.getPage(o)}catch(t){this.setPersonalizationActive(false);e.error(\"Pages - setSectionVisibility: Personalization cannot be saved: CDM Service or Page cannot be retrieved.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{r.payload.sections[s].visible=a;return await this._conditionalSavePersonalization(o)}catch(e){this.setPersonalizationActive(false);return Promise.reject(e)}};h.prototype.renameSection=async function(t,i,a){this.setPersonalizationActive(true);const o=this._oPagesModel.getProperty(`/pages/${t}`);const s=o.sections[i];s.title=a;this._oPagesModel.refresh();let n;try{const e=await this._oCdmServicePromise;n=await e.getPage(o.id)}catch(t){this.setPersonalizationActive(false);e.error(\"Pages - renameSection: Personalization cannot be saved: CDM Service or Page cannot be retrieved.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{n.payload.sections[s.id].title=a;return await this._conditionalSavePersonalization(n.identification.id)}catch(e){this.setPersonalizationActive(false);return Promise.reject(e)}};h.prototype.resetSection=async function(t,a){this.setPersonalizationActive(true);const o=this._oPagesModel.getProperty(`/pages/${t}/id`);const s=this._oPagesModel.getProperty(`/pages/${t}/sections/${a}/id`);let n;let r;let c;let l;let d;try{const e=await this._oCdmServicePromise;n=await e.getCachedVisualizations();r=await e.getApplications();c=await e.getPage(o);l=await e.getOriginalPage(o);d=await e.getCachedVizTypes()}catch(t){this.setPersonalizationActive(false);e.error(\"Pages - resetSection: Personalization cannot be saved: Failed to gather data from CDM Service.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{const e=await this._getModelForPage(l,n,r,d);const u=i(e.sections.find(e=>e.id===s),20);const g=u.visualizations.map(e=>e.id);const h=this._oPagesModel.getProperty(`/pages/${t}`);h.sections.forEach(e=>{if(u.id!==e.id){e.visualizations.forEach(t=>{if(g.indexOf(t.id)!==-1){const a=this._generateId(o);const s=i(c.payload.sections[e.id].viz[t.id]);delete c.payload.sections[e.id].viz[t.id];const n=c.payload.sections[e.id].layout.vizOrder.indexOf(s.id);s.id=a;c.payload.sections[e.id].viz[a]=s;c.payload.sections[e.id].layout.vizOrder[n]=a;t.id=a}})}});this._oPagesModel._setProperty(`/pages/${t}/sections/${a}`,u);c.payload.sections[u.id]=l.payload.sections[u.id];return await this._conditionalSavePersonalization(c.identification.id)}catch(e){this.setPersonalizationActive(false);return Promise.reject(e)}};h.prototype.resetPage=async function(t){this.setPersonalizationActive(true);const a=this._oPagesModel.getProperty(`/pages/${t}/id`);let o;let s;let n;let r;let c;try{const e=await this._oCdmServicePromise;o=await e.getCachedVisualizations();s=await e.getApplications();n=await e.getPage(a);r=await e.getOriginalPage(a);c=await e.getCachedVizTypes()}catch(t){this.setPersonalizationActive(false);e.error(\"Pages - resetPage: Personalization cannot be saved: Failed to gather data from CDM Service.\",t,this.COMPONENT_NAME);return Promise.reject(t)}try{const e=await this._getModelForPage(r,o,s,c);this._oPagesModel._setProperty(`/pages/${t}`,e);n.payload=i(r.payload);return await this._conditionalSavePersonalization(n.identification.id)}catch(e){this.setPersonalizationActive(false);return Promise.reject(e)}};h.prototype.setPersonalizationActive=function(e){if(!this._bDirtyState&&e===true){this._bDirtyState=true;this._oCopiedModelData=i(this._oPagesModel.getProperty(\"/\"),20)}else if(this._bDirtyState&&e===false){this._oPagesModel._setData(this._oCopiedModelData);this._bDirtyState=false}};h.prototype.savePersonalization=async function(t){let a;if(!t){a=i(this._aPagesToBeSaved)}else{a=[t]}try{const e=await this._oCdmServicePromise;await Promise.all(a.map(t=>{const i=this._aPagesToBeSaved.indexOf(t);this._aPagesToBeSaved.splice(i,1);return new Promise((i,a)=>{e.save(t).then(i,a)}).catch(e=>{if(this._aPagesToBeSaved.indexOf(t)===-1){this._aPagesToBeSaved.push(t)}return Promise.reject(e)})}));this._bDirtyState=false}catch(t){e.error(\"Pages - savePersonalization: Personalization cannot be saved: CDM Service cannot be retrieved or the save process encountered an error.\",t,this.COMPONENT_NAME);return Promise.reject(t)}};h.prototype._conditionalSavePersonalization=function(e){if(this._bImplicitSaveEnabled){return this.savePersonalization(e)}if(this._aPagesToBeSaved.indexOf(e)===-1){this._aPagesToBeSaved.push(e)}return Promise.resolve()};h.prototype._getModelForPage=async function(t,i,a,o){const c={id:t&&t.identification&&t.identification.id||\"\",title:t&&t.identification&&t.identification.title||\"\",description:\"\",sections:[]};n.setPerformanceMark([\"FLP-Pages-Service-getModelForPage-start[\",c.id,\"]\"].join(\"\"));const l=await this._oCSTRServicePromise;const d=r.last(\"/core/catalog/enableHideGroups\");for(const n of t.payload.layout.sectionOrder){const r=t.payload.sections[n];const u={id:r.id||\"\",title:r.default?s.i18n.getText(\"DefaultSection.Title\"):r.title||\"\",visualizations:[],visible:!d||(r.visible!==undefined?r.visible:true),locked:r.locked!==undefined?r.locked:false,preset:r.preset!==undefined?r.preset:true,default:r.default!==undefined?r.default:false};c.sections.push(u);for(const s of r.layout.vizOrder){const n=r.viz[s];const c=n.vizId;const d=await l.getSystemContext(n.contentProviderId);const g=await this._getVisualizationData(t.identification.id,c,i,n,a,o,d);const h=await this._isIntentSupported(g,l);if(!h){e.warning(`The visualization with title '${g.title}' and ID '${g.vizId}' is filtered out, because intent '${g.targetURL}' is not supported.`,null,this.COMPONENT_NAME)}else{u.visualizations.push(g)}}}n.setPerformanceMark([\"FLP-Pages-Service-getModelForPage-end[\",c.id,\"]\"].join(\"\"));return c};h.prototype.removeUnsupportedVisualizations=async function(e,t){const i=await this._oCSTRServicePromise;const a=this.getModel().getProperty(`/pages/${e}/sections/${t}/visualizations/`);const o=[];for(let e=a.length-1;e>=0;--e){o.push(this._isIntentSupported(a[e],i).then(((e,t)=>{if(!t){a.splice(e,1)}return t}).bind(this,e)))}const s=await Promise.all(o);if(s.indexOf(false)!==-1){this.getModel().refresh()}};h.prototype._isIntentSupported=async function(e,t){if(e.target===undefined){return false}if(e.target.type===\"URL\"){if(u.isStandardVizType(e.vizType)){return Promise.resolve(!!e.target.url)}return true}try{const i=await t.isIntentSupported([e.targetURL]);return i[e.targetURL].supported}catch{return false}};h.prototype.addBookmarkToPage=async function(t,i,a,o){if(!t){throw new Error(\"Pages - addBookmarkToPage: Adding bookmark tile failed: No page id is provided.\")}const n=d.getBookmarkVizTypeIds(i);this.setPersonalizationActive(true);const[r,c]=await Promise.all([this._oCdmServicePromise,this._oCSTRServicePromise]);const u=await Promise.all(n.map(e=>r.getVizType(e)));const h={};u.forEach((e,t)=>{h[n[t]]=e;return h});let P;try{P=await Promise.all([this.loadPage(t),h,c.getSystemContext(o)])}catch(t){e.error(\"Pages - addBookmarkToPage: Personalization cannot be saved: Could not load page.\",t,this.COMPONENT_NAME);throw t}const[p,f,v]=P;const y={id:this._generateId(t),vizType:i.vizType,title:i.title,subTitle:i.subtitle,icon:i.icon,info:i.info,numberUnit:i.numberUnit,target:l.toTargetFromHash(i.url),indicatorDataSource:{path:i.serviceUrl,refre Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/workpage/WorkPageService\", [\"sap/base/i18n/Localization\",\"sap/ushell/utils/HttpClient\",\"sap/base/util/ObjectPath\",\"sap/ushell/Config\",\"sap/base/Log\",\"sap/ushell/Container\",\"sap/base/util/deepExtend\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\",\"sap/ushell/utils\",\"sap/base/util/uid\"],(e,t,n,a,s,i,r,o,p,c,u,l)=>{\"use strict\";function d(){this.httpClient=new t;this._sBaseUrl=a.last(\"/core/workPages/contentApiUrl\");const e=new URLSearchParams(window.location.search);this._sSiteId=e.get(\"siteId\")||a.last(\"/core/site/siteId\")}d.prototype._validateData=function(e){s.debug(\"cep/editMode: load Page: validate\",\"Work Page service\");if(e.errors&&e.errors.length>0){return Promise.reject(e.errors.map(e=>e.message).join(\",\\n\"))}if(!n.get(\"data.workPage\",e)){s.debug(\"cep/editMode: load Page: validate: reject: data is empty\",\"Work Page service\");return Promise.reject(\"Work Page data is empty\")}return Promise.resolve(e)};d.prototype.loadWorkPageAndVisualizations=async function(e,t){let n;let s;do{const i=a.last(\"/core/shell/intentNavigation\");const r=this._createWorkPageQuery(this._sSiteId,e,s===undefined,n?.endCursor,i,t);const o=await this._doRequest(r);const p=await this._validateData(o);const c=await this._parseWorkPageData(p);if(!s){s=c.workPage}else{s.usedVisualizations.nodes.push(...c.workPage.usedVisualizations.nodes)}n=c.pageInfo}while(n?.hasNextPage);return Promise.resolve({workPage:s})};d.prototype._createWorkPageQuery=function(e,t,n,a,s,i){if(!e||!t){throw new Error(`Invalid Arguments, missing either siteId: ${e} or pageId: ${t}`)}const r=u.getFormFactor();const o=`\\n queryInput: {\\n filterWidgets: {\\n visualization: {\\n targetApp: {\\n deviceType: { eq: \"${r}\" },\\n launchType: { in: [\"embedded\", \"standalone\"] }\\n }\\n }\\n }\\n }`;return`{\\n workPage(\\n siteId: \"${e}\",\\n workPageId: \"${t}\"\\n ) {\\n ${n?`\\n id,\\n contents${i?`(${o})`:\"\"},\\n editable,\\n `:\"\"}\\n usedVisualizations${a?`(after:\"${a}\")`:\"\"}{\\n pageInfo{\\n endCursor,\\n hasNextPage\\n }\\n nodes{\\n id,\\n ${s?`\\n targetAppIntent{\\n semanticObject,\\n action,\\n businessAppId\\n },`:\"\"}\\n type,\\n descriptor{\\n value\\n },\\n descriptorResources{\\n baseUrl,\\n descriptorPath\\n },\\n provider{\\n id\\n },\\n indicatorDataSource{\\n url,\\n refreshInterval\\n }\\n }\\n }\\n }\\n }`.replace(/\\s\\s+/g,\"\").replace(/\\n/gm,\"\")};d.prototype.loadSiteAndDataDestinationMappings=function(){const e=`{\\n site(siteId:\"${this._sSiteId}\") {\\n providers {\\n nodes {\\n id,\\n logicalDataDestinationMappings {\\n logicalDestinationName,\\n resolvedUrl\\n }\\n }\\n }\\n }\\n }`.replace(/\\s\\s+/g,\"\").replace(/\\n/gm,\"\");return this._doRequest(e)};d.prototype._parseWorkPageData=async function(e){const t=n.get(\"data.workPage.contents\",e);const a=n.get(\"data.workPage.usedVisualizations.nodes\",e)||[];const s=await this._transformVizData(a);const i=n.get(\"data.workPage.editable\",e)===true;const r=n.get(\"data.workPage.usedVisualizations.pageInfo\",e);return Promise.resolve({workPage:{contents:t,usedVisualizations:{nodes:s},editable:i},pageInfo:r})};d.prototype.loadVisualizations=function(e,t){let n=`\\n visualizations($queryInput: QueryVisualizationsInput) {\\n visualizations(queryInput: $queryInput, siteId: \"${this._sSiteId}\") {\\n totalCount,\\n nodes {\\n id,\\n type,\\n descriptor {\\n value,\\n schemaVersion\\n },\\n descriptorResources {\\n baseUrl,\\n descriptorPath\\n },\\n indicatorDataSource {\\n url,\\n refreshInterval\\n },\\n targetAppIntent {\\n semanticObject,\\n action,\\n businessAppId\\n },\\n systemLabel\\n }\\n }\\n }`;n=n.replace(/\\n/g,\"\").replace(/ /g,\"\");n=`query ${n}`;if(t){const t=u.getFormFactor();e.filter=e.filter||[{}];e.filter=e.filter.map(e=>({...e,targetApp:{deviceType:{eq:t},launchType:{in:[\"embedded\",\"standalone\"]}}}))}const a={queryInput:e};return this._doRequest(n,JSON.stringify(a)).then(e=>({visualizations:e.data.visualizations||[],totalCount:e.data.totalCount||0}))};d.prototype._doRequest=function(t,n){let s=`${this._sBaseUrl}?query=${encodeURIComponent(t)}`;if(n){s+=`&variables=${encodeURIComponent(n)}`}const i={\"Content-Type\":\"application/json\",Accept:\"application/json\",\"Accept-Language\":e.getLanguageTag().toString()};if(a.last(\"/core/site/sapCdmVersion\")){i[\"sap-cdm-content-version\"]=a.last(\"/core/site/sapCdmVersion\")}return this.httpClient.get(s,{headers:i}).then(e=>{if(e.status<200||e.status>=300){return Promise.reject(`HTTP request failed with status: ${e.status} - ${e.statusText}`)}return JSON.parse(e.responseText||\"{}\")})};d.prototype._transformVizData=async function(e){const t=e.find(e=>e.type===\"sap.ushell.StaticAppLauncher\"||e.type===\"sap.ushell.DynamicAppLauncher\"||this._isSmartBusinessVizType(e));if(!t){return Promise.resolve(e)}const n=await i.getServiceAsync(\"CommonDataModel\");const a=await n.getApplications();const s=await Promise.all(e.map(e=>{if(e.type===\"sap.ushell.StaticAppLauncher\"||e.type===\"sap.ushell.DynamicAppLauncher\"){return this._setApplicationProperties(e,a)}if(this._isSmartBusinessVizType(e)){return this._setSmartBusinessTilesProperties(e,n)}return e}));return Promise.resolve(s)};d.prototype._setApplicationProperties=async function(e,t){const s=n.get([\"descriptor\",\"value\",\"sap.flp\",\"target\",\"appId\"],e);const i=t[s];const u=n.get([\"descriptor\",\"value\",\"sap.flp\",\"indicatorDataSource\",\"dataSource\"],e);const l=n.get([\"sap.app\",\"dataSources\",u],i);const d=n.get([\"sap.app\",\"contentProviderId\"],i);const g=await p.getContentProviderLabel(d);const h=a.last(\"/core/shell/intentNavigation\");const y={vizConfig:n.get([\"descriptor\",\"value\"],e)};y.target=p.harmonizeTarget(c.getTarget(y)||{});if(h){e.target=y.target;e.targetURL=o.toHashFromTargetIntent(e.targetAppIntent,y.target)}const m=r({},e,{_siteData:{contentProviderId:d,contentProviderLabel:g,target:h?\"\":y.target,targetURL:h?\"\":o.toHashFromVizData(y,t),dataSource:l}});return m};d.prototype._isSmartBusinessVizType=function(e){return e.type.startsWith(\"ssuite.smartbusiness.tiles.\")};d.prototype._setSmartBusinessTilesProperties=async function(e,t){const n=await t.getVizTypes();const a=l();return p.getVizData({vizTypes:n,visualizations:{[e.id]:{vizType:e,vizConfig:e.descriptor.value}}},{id:a,vizId:e.id,vizType:e.type}).then(t=>r({},e,{_siteData:t,vizType:t._instantiationData.vizType,descriptor:{value:t.vizConfig}}))};return d},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/workpage/WorkPageVizInstantiation\", [\"sap/ushell/services/VisualizationInstantiation\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/deepClone\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\",\"sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults\",\"sap/ushell/utils/tilecard/TileCard\",\"sap/ushell/Config\"],(t,e,a,i,s,r,n,o,d,p,l)=>{\"use strict\";class c{static#t;#e;#a;static async getInstance(){if(!c.#t){const e=new t;const a=await d.getAll();c.#t=new c(e,a)}return c.#t}constructor(t,e){this.#e=t;this.#a=e}_getVizInstantiationData(t){const a=this.#a[t.type];if(!a&&t.type?.startsWith(\"ssuite.smartbusiness.tiles.\")){return this._getSMBVizInstantiationData(t)}const i=l.last(\"/core/contentProviders/providerInfo/enabled\");const s=i&&l.last(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\");const r=l.last(\"/core/shell/intentNavigation\");return{id:t.id,title:e.get([\"descriptor\",\"value\",\"sap.app\",\"title\"],t),subtitle:e.get([\"descriptor\",\"value\",\"sap.app\",\"subTitle\"],t),info:e.get([\"descriptor\",\"value\",\"sap.app\",\"info\"],t),icon:e.get([\"descriptor\",\"value\",\"sap.ui\",\"icons\",\"icon\"],t),keywords:e.get([\"descriptor\",\"value\",\"sap.app\",\"tags\",\"keywords\"],t)||[],_instantiationData:{platform:\"CDM\",vizType:a},indicatorDataSource:e.get(\"indicatorDataSource\",t),vizType:e.get(\"type\",t),dataSource:e.get([\"_siteData\",\"dataSource\"],t),contentProviderId:e.get([\"_siteData\",\"contentProviderId\"],t),contentProviderLabel:e.get([\"_siteData\",\"contentProviderLabel\"],t),displayProviderLabel:s,target:r?e.get(\"target\",t):e.get([\"_siteData\",\"target\"],t),targetURL:r?e.get(\"targetURL\",t):e.get([\"_siteData\",\"targetURL\"],t),vizConfig:e.get([\"descriptor\",\"value\"],t),supportedDisplayFormats:e.get([\"descriptor\",\"value\",\"sap.flp\",\"vizOptions\",\"displayFormats\",\"supported\"],t),displayFormatHint:e.get([\"descriptor\",\"value\",\"sap.flp\",\"vizOptions\",\"displayFormats\",\"default\"],t)||\"standard\",numberUnit:e.get([\"descriptor\",\"value\",\"sap.flp\",\"numberUnit\"],t),vizId:t.id,preview:t.preview}}_getSMBVizInstantiationData(t){const a=l.last(\"/core/contentProviders/providerInfo/enabled\");const i=a&&l.last(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\");const s=l.last(\"/core/shell/intentNavigation\");return{id:t.id,title:e.get([\"_siteData\",\"title\"],t),subtitle:e.get([\"_siteData\",\"subtitle\"],t),info:e.get([\"_siteData\",\"info\"],t),icon:e.get([\"_siteData\",\"icon\"],t),keywords:e.get([\"_siteData\",\"keywords\"],t),_instantiationData:{platform:\"CDM\",vizType:t.vizType},indicatorDataSource:e.get(\"indicatorDataSource\",t),vizType:t.type,dataSource:e.get([\"_siteData\",\"dataSource\"],t),contentProviderId:e.get([\"provider\",\"id\"],t),contentProviderLabel:e.get([\"_siteData\",\"contentProviderLabel\"],t),displayProviderLabel:i,target:s?e.get(\"target\",t):e.get([\"_siteData\",\"target\"],t),targetURL:s?e.get(\"targetURL\",t):e.get([\"_siteData\",\"targetURL\"],t),vizConfig:e.get([\"descriptor\",\"value\"],t),supportedDisplayFormats:e.get([\"_siteData\",\"supportedDisplayFormats\"],t),displayFormatHint:e.get([\"_siteData\",\"displayFormatHint\"],t)||\"standard\",numberUnit:e.get([\"descriptor\",\"value\",\"sap.flp\",\"numberUnit\"],t),vizId:t.id,preview:t.preview}}createVizInstance(t){const e=this.#e.instantiateVisualization(this._getVizInstantiationData(t));if(e){e.setActive(true)}return e}createTileCardConfiguration(t){return p.createTileCardConfiguration(this._getVizInstantiationData(t))}}return c},true);\nsap.ui.require.preload({\n\t\"sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.view.xml\":'<mvc:View controllerName=\"sap.ushell.adapters.cdm.Settings.UserLanguageAndRegion.UserLanguageAndRegion\"\\n xmlns=\"sap.m\"\\n xmlns:form=\"sap.ui.layout.form\"\\n xmlns:mvc=\"sap.ui.core.mvc\"\\n xmlns:core=\"sap.ui.core\"\\n xmlns:model=\"sap.ui.model\"\\n height=\"32rem\"\\n><FlexBox\\n class=\"sapUiSmallMargin sapUiFlexJustifyContentCenter\"\\n justifyContent=\"SpaceBetween\"\\n direction=\"Column\"\\n fitContainer=\"true\"\\n ><form:SimpleForm\\n id=\"languageForm\"\\n editable=\"true\"\\n layout=\"ResponsiveGridLayout\"\\n ariaLabelledBy=\"LanguageSettingsLabel\"\\n\\t\\t\\tlabelSpanXL=\"3\"\\n\\t\\t\\tlabelSpanL=\"3\"\\n\\t\\t\\tlabelSpanM=\"3\"\\n\\t\\t\\tlabelSpanS=\"12\"\\n\\t\\t\\temptySpanXL=\"4\"\\n\\t\\t\\temptySpanL=\"4\"\\n\\t\\t\\temptySpanM=\"4\"\\n\\t\\t\\tcolumnsXL=\"1\"\\n\\t\\t\\tcolumnsL=\"1\"\\n\\t\\t\\tcolumnsM=\"1\"\\n width=\"100%\"\\n ><form:content><Label text=\"{i18n>timeZoneFld}\"/><HBox alignItems=\"Center\"><Text id=\"selectedTimeZone\" text=\"{/selectedTimeZone}\" class=\"sapUiTinyMarginEnd\"/><core:Icon src=\"sap-icon://information\" tooltip=\"{i18n>timeZoneTooltip}\"/></HBox><Label id=\"languageSettingsFormLabel\" text=\"{i18n>languageAndRegionTit}\" visible=\"{= !${/languageList}}\" labelFor=\"languageSelectionText\"/><Text id=\"languageSelectionText\" text=\"{/selectedLanguageText}\" visible=\"{= !${/languageList} }\"/><Label id=\"languageSelectionLabel\" text=\"{i18n>languageAndRegionTit}\" visible=\"{= !!${/languageList}}\" labelFor=\"languageSelectionSelect\"/><ComboBox id=\"languageSelectionSelect\"\\n visible=\"{= !!${/languageList} }\"\\n items=\"{/languageList}\"\\n selectedKey=\"{/selectedLanguage}\"\\n valueState=\"{= ${/selectedLanguage} ? \\'None\\' : \\'Error\\'}\"\\n change=\"._handleLanguageSelectChange\"><core:Item key=\"{key}\" text=\"{text}\" /></ComboBox><Label text=\"{i18n>date}\"/><Text id=\"selectedDateFormat\" text=\"{/selectedDateFormat}\" /><Label text=\"{i18n>time}\"/><Text id=\"selectedTimeFormat\" text=\"{/selectedTimeFormat}\" /><Label text=\"{i18n>decimalFormat}\"/><Text id=\"selectedDecimalFormat\" text=\"{/selectedDecimalFormat}\" /><Label text=\"{i18n>workWeek}\"/><Text id=\"selectedWorkWeek\" text=\"{/selectedWorkWeek}\" /></form:content></form:SimpleForm><core:InvisibleText id=\"LanguageSettingsLabel\" text=\"{i18n>languageAndRegionForm}\" /><VBox><MessageStrip\\n text=\"{i18n>languageAndRegionsInfoPopup}\"\\n type=\"Information\"\\n showIcon=\"true\"\\n class=\"sapUiSmallMarginBottom\" /><Text text=\"{i18n>LanguageAndRegionHelpingText}\" class=\"sapUshellFlpSettingsWideDescription\" visible=\"{= !!${/languageList}}\" width=\"100%\"/></VBox></FlexBox></mvc:View>\\n',\n\t\"sap/ushell/appRuntime/ui5/AppRuntime.js\":function(){\n// Copyright (c) SAP SE, All Rights Reserved\nfunction _migrateV2ServiceConfig(e){\"use strict\";const t=sap.ui.require(\"sap/base/util/ObjectPath\");[{from:\"services.Bookmark\",to:\"services.BookmarkV2\"},{from:\"services.CrossApplicationNavigation\",to:\"services.Navigation\"},{from:\"services.Notifications\",to:\"services.NotificationsV2\"},{from:\"services.Personalization\",to:\"services.PersonalizationV2\"},{from:\"services.LaunchPage\",to:\"services.FlpLaunchPage\"},{from:\"services.ShellNavigation\",to:\"services.ShellNavigationInternal\"},{from:\"services.NavTargetResolution\",to:\"services.NavTargetResolutionInternal\"}].forEach(s=>{const i=s.from.split(\".\")[1];const a=t.get(s.from,e);const n=t.get(s.to,e);if(a&&!n){const n={...a};if(n.module===`sap.ushell.services.${i}`){delete n.module}t.set(s.to,n,e)}})}function prepareUshellConfig(){\"use strict\";const e=sap.ui.require(\"sap/base/util/ObjectPath\");let t={};const s=document.querySelector(\"meta[name='sap.ushellConfig.ui5appruntime']\");if(s){t=JSON.parse(s.content)}const i=new URLSearchParams(window.location.search);if(i.has(\"sap-spaces\")&&i.get(\"sap-spaces\")===\"true\"){e.set(\"ushell.spaces.enabled\",true,t)}if(i.has(\"sap-personalization\")&&i.get(\"sap-personalization\")===\"false\"){e.set(\"renderers.fiori2.componentData.config.enablePersonalization\",false,t)}window[\"sap-ushell-config\"]=t;_migrateV2ServiceConfig(window[\"sap-ushell-config\"])}function prepareModules(){\"use strict\";sap.ui.require([\"sap/ui/core/BusyIndicator\"],e=>{try{if(apprtBIdiv){document.body.classList.remove(\"apprtBIbg\");apprtBIdiv.parentNode.removeChild(apprtBIdiv);apprtBIstyle.parentNode.removeChild(apprtBIstyle)}e.show(0)}catch(t){e.show(0)}});if(document.URL.indexOf(\"ui5appruntime\")>0){sap.ui.define(\"sap/ushell/URLTemplateProcessor\",[],()=>({}));sap.ui.define(\"sap/ushell/ApplicationType/wdaResolution\",[],()=>({}));sap.ui.define(\"sap/ushell/ApplicationType/guiResolution\",[],()=>({}));if(document.URL.indexOf(\"sap-ui-app-id=\")>0){sap.ui.define(\"sap/ushell/ApplicationType\",[],()=>({URL:{type:\"URL\"},WDA:{type:\"WDA\"},TR:{type:\"TR\"},NWBC:{type:\"NWBC\"},WCF:{type:\"WCF\"},SAPUI5:{type:\"SAPUI5\"}}))}sap.ui.define(\"sap/ushell/components/applicationIntegration/AppLifeCycle\",[],()=>({}));sap.ui.define(\"sap/ushell/appIntegration/AppLifeCycle\",[],()=>({}));sap.ui.define(\"sap/ushell/services/appstate/WindowAdapter\",[],()=>function(){});sap.ui.define(\"sap/ushell/services/appstate/SequentializingAdapter\",[],()=>function(){});sap.ui.define(\"sap/ushell/services/appstate/Sequentializer\",[],()=>function(){});sap.ui.define(\"sap/ushell/services/Configuration\",[],()=>{function e(){this.attachSizeBehaviorUpdate=function(){};this.hasNoAdapter=true}e.hasNoAdapter=true;return e});sap.ui.define(\"sap/ushell/services/PluginManager/Extensions\",[],()=>function(){});sap.ui.define(\"sap/ushell/services/MessageBroker/MessageBrokerEngine\",[],()=>function(){});sap.ui.define(\"sap/ushell/bootstrap/common/common.load.core-min\",[],()=>({loaded:false,load:function(e){}}))}}prepareUshellConfig();prepareModules();sap.ui.define([\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/base/Log\",\"sap/base/util/ObjectPath\",\"sap/base/util/deepExtend\",\"sap/base/util/isEmptyObject\",\"sap/m/library\",\"sap/ui/core/BusyIndicator\",\"sap/ui/core/ComponentContainer\",\"sap/ui/core/Lib\",\"sap/ui/core/routing/History\",\"sap/ui/thirdparty/hasher\",\"sap/ui/thirdparty/jquery\",\"sap/ui/thirdparty/URI\",\"sap/ushell/appRuntime/ui5/AppCommunicationMgr\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/performance/FesrEnhancer\",\"sap/ushell/appRuntime/ui5/renderers/fiori2/AccessKeysAgent\",\"sap/ushell/appRuntime/ui5/services/AppConfiguration\",\"sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent\",\"sap/ushell/appRuntime/ui5/services/ShellUIService\",\"sap/ushell/appRuntime/ui5/SessionHandlerAgent\",\"sap/ushell/EventHub\",\"sap/ushell/iconfonts\",\"sap/ushell/UI5ComponentType\",\"sap/ushell/ui5service/UserStatus\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\",\"sap/ushell/renderer/utils\",\"sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer\"],(e,t,s,i,a,n,p,r,o,l,u,c,jQuery,d,h,m,f,g,y,v,C,A,R,b,S,I,P,F,U,w,L)=>{\"use strict\";const H=p.URLHelper;f.init();let D;let M;const N=(new d).search(true);let T=false;let E;let k=false;let O=false;let x=false;let B=false;let _;function W(){return{services:{CrossApplicationNavigation:{module:\"sap.ushell.appRuntime.ui5.services.CrossApplicationNavigation\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},Navigation:{module:\"sap.ushell.appRuntime.ui5.services.Navigation\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},NavTargetResolution:{module:\"sap.ushell.appRuntime.ui5.services.NavTargetResolution\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},NavTargetResolutionInternal:{module:\"sap.ushell.appRuntime.ui5.services.NavTargetResolutionInternal\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},ShellNavigation:{module:\"sap.ushell.appRuntime.ui5.services.ShellNavigation\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},ShellNavigationInternal:{module:\"sap.ushell.appRuntime.ui5.services.ShellNavigationInternal\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},ClientSideTargetResolution:{adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},AppConfiguration:{module:\"sap.ushell.appRuntime.ui5.services.AppConfiguration\"},Bookmark:{module:\"sap.ushell.appRuntime.ui5.services.Bookmark\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},BookmarkV2:{module:\"sap.ushell.appRuntime.ui5.services.BookmarkV2\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},Extension:{module:\"sap.ushell.appRuntime.ui5.services.Extension\"},FrameBoundExtension:{module:\"sap.ushell.appRuntime.ui5.services.FrameBoundExtension\"},LaunchPage:{module:\"sap.ushell.appRuntime.ui5.services.LaunchPage\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},FlpLaunchPage:{module:\"sap.ushell.appRuntime.ui5.services.FlpLaunchPage\"},UserInfo:{module:\"sap.ushell.appRuntime.ui5.services.UserInfo\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},UserDefaultParameters:{module:\"sap.ushell.appRuntime.ui5.services.UserDefaultParameters\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},AppState:{module:\"sap.ushell.appRuntime.ui5.services.AppState\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},AppLifeCycle:{module:\"sap.ushell.appRuntime.ui5.services.AppLifeCycle\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},PluginManager:{config:{isBlueBox:true}},CommonDataModel:{module:\"sap.ushell.appRuntime.ui5.services.CommonDataModel\",adapter:{module:\"sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter\"}},ReferenceResolver:{module:\"sap.ushell.appRuntime.ui5.services.ReferenceResolver\"},MessageBroker:{module:\"sap.ushell.appRuntime.ui5.services.MessageBroker\"},Ui5ComponentLoader:{config:{loadDefaultDependencies:false}},Container:{adapter:{config:{userProfile:{defaults:{setThemePermitted:true}}}}}},ushell:{customPreload:{enabled:false}}}}function j(){this.main=function(){let e=Promise.resolve();const t=D._getURI();jQuery(\"body\").css(\"height\",\"100%\").css(\"width\",\"100%\");h.init(true);this.getPageConfig(t);D.setModulePaths();const i=D.loadAdditionalLibs();if(t.hasOwnProperty(\"sap-remote-intent\")){e=m.postMessageToFLP(\"sap.ushell.services.UserInfo.getLocaleData\",undefined,undefined,3e3,{})}U.setAppLifeCycleAgent(v);v.expandSapIntentParams(D._getURI()).then(t=>{let a;let n;if(t.hasOwnProperty(\"sap-remote-intent\")===true){U.setIsScube(true);n=t[\"sap-remote-intent\"];if(n===undefined){s.error(\"Application cannot be opened. 'sAppIntent' is undefined\")}U.setRemoteSystemId(t[\"sap-remote-system\"]);D.adjustIframeURL()}else{a=t[\"sap-ui-app-id\"]}D.init();const p=new Promise(e=>{sap.ui.require([\"sap/ushell/appRuntime/ui5/services/UserInfo\"],e)});i.push(D.initServicesContainer());Promise.all(i).then(()=>{D.initPostMessages();if(U.getIsScube()===true){M.getServiceAsync(\"CommonDataModel\")}Promise.all([D.getAppInfo(a,n),p,e]).then(e=>{const s=e[0].oResolvedHashFragment;const i=e[0].oParsedHash;const p=e[2]||{};D._setUI5LocaleAttributes(p);A.init();g.init();D._setInitialAppRoute();D.createApplication(a,t,s,n,i).then(e=>{D.renderApplication(e)})})})})};this._setUI5LocaleAttributes=function(s){if(Object.keys(s).length>0){if(s.calendarType){e.setCalendarType(s.calendarType)}if(s.dateFormatShort){e.setDatePattern(\"short\",s.dateFormatShort)}if(s.dateFormatMedium){e.setDatePattern(\"medium\",s.dateFormatMedium)}if(s.numberFormatGroup){e.setNumberSymbol(\"group\",s.numberFormatGroup)}if(s.numberFormatDecimal){e.setNumberSymbol(\"decimal\",s.numberFormatDecimal)}if(s.timeFormatShort){e.setTimePattern(\"short\",s.timeFormatShort)}if(s.timeFormatMedium){e.setTimePattern(\"medium\",s.timeFormatMedium)}if(s.calendarMapping){e.setCustomIslamicCalendarData(s.calendarMapping)}if(s.timeZone){t.setTimezone(s.timeZone)}if(s.currencyFormats){e.setCustomCurrencies(s.currencyFormats)}}};this._setInitialAppRoute=function(){const e=P.parseShellHash(c.getHash());if(e&&e.appSpecificRoute&&e.appSpecificRoute.length>0){m.postMessageToFLP(\"sap.ushell.services.CrossApplicationNavigation.setInnerAppRoute\",{appSpecificRoute:e.appSpecificRoute})}};this._getURI=function(){return(new d).query(true)};this.init=function(){b.registerFiori2IconFont();B=this._getURIParams()[\"sap-manifest-width\"];y.setFullWidthFromManifest(B)};this.initPostMessages=function(){h.registerCommHandlers({\"sap.ushell.appRuntime\":{oServiceCalls:{hashChange:{executeServiceCallFn:async function(e){const t=e.oMessageData.body.sHash;if(typeof t===\"string\"){const e=P.parseShellHash(t);const s=P.parseShellHash(c.getHash());if(e&&s&&e.semanticObject===s.semanticObject&&e.action===s.action){c.replaceHash(t)}}}},innerAppRouteChange:{executeServiceCallFn:async function(e){const t=e?.oMessageData?.body?.oHash?.fullHash;if(typeof t===\"string\"){c.replaceHash(t)}}},setDirtyFlag:{executeServiceCallFn:async function(e){const t=e.oMessageData.body.bIsDirty;if(t!==M.getDirtyFlag()){M.setDirtyFlag(t)}}},getDirtyFlag:{executeServiceCallFn:async function(e){return M.getDirtyFlag()}},themeChange:{executeServiceCallFn:async function(e){const t=e.oMessageData.body.currentThemeId;M.getUser().setTheme(t)}},buttonClick:{executeServiceCallFn:async function(e){L.handleHeaderButtonClick(e.oMessageData.body.buttonId)}},executeLogoutFunctions:{executeServiceCallFn:async function(e){await M.executeAsyncAndSyncLogoutFunctions()}},uiDensityChange:{executeServiceCallFn:async function(e){const t=e.oMessageData.body.isTouch;jQuery(\"body\").toggleClass(\"sapUiSizeCompact\",t===\"0\").toggleClass(\"sapUiSizeCozy\",t===\"1\")}},handleDirtyStateProvider:{executeServiceCallFn:async function(e){return M.handleDirtyStateProvider(e.oMessageData.body.oNavigationContext)}}}},\"sap.ushell.services.MessageBroker\":{oServiceCalls:{_execute:{executeServiceCallFn:async function(e){const t=await M.getServiceAsync(\"MessageBroker\");await t.handleMessage(e.oMessageData.body)}}}}})};this.handleLinkElementOpen=function(e,t){try{if(t.isDefaultPrevented&&t.isDefaultPrevented()===true){return}const s=t.target;if(s&&s.tagName===\"A\"&&s.href&&s.href.indexOf(\"#\")>0){if(s.target===\"_blank\"){const i=s.href.split(\"#\");if(i[0].length===0||i[0]===document.URL.split(\"#\")[0]){D.rebuildNewAppUrl(s.href,e).then(e=>{F.openURL(e)});t.preventDefault()}}else if(s.target===undefined||s.target===\"\"||s.target===\"_top\"||s.target===\"_self\"){const e=s.href.split(\"#\");const i=document.URL.split(\"#\");if(e[0]===i[0]){const s=e[1]&&e[1].split(\"&/\");const a=i[1]&&i[1].split(\"&/\");if(typeof s[0]===\"string\"&&typeof a[0]===\"string\"&&s[0]!==a[0]){M.getServiceAsync(\"Navigation\").then(t=>{t.navigate({target:{shellHash:e[1]}})});t.preventDefault()}}}}}catch(e){}};this.rebuildNewAppUrl=async function(e,t){const s=e.split(\"#\");if(s[0].length===0||s[0]===document.URL.split(\"#\")[0]){if(U.getIsScube()){const e=await U.checkIntentsConversionForScube([{intent:`#${s[1]}`}]);return t+e[0].intent}return`${t}#${s[1]}`}return e};this.getPageConfig=function(e){window[\"sap-ushell-config\"]=a({},W(),window[\"sap-ushell-config\"]);if(e.hasOwnProperty(\"sap-remote-intent\")){const e=window[\"sap-ushell-config\"].bootstrapPlugins;if(e&&e.hasOwnProperty(\"WAPluginAgent\")&&e.WAPluginAgent.hasOwnProperty(\"config\")){delete e.WAPluginAgent.config[\"sap-plugin-agent\"]}}};this.setModulePaths=function(){if(window[\"sap-ushell-config\"].modulePaths){const e=Object.keys(window[\"sap-ushell-config\"].modulePaths);let t;for(const s in e){t=e[s];(function(e){const t={};t[e.replace(/\\./g,\"/\")]=window[\"sap-ushell-config\"].modulePaths[e];sap.ui.loader.config({paths:t})})(t)}}};this.loadAdditionalLibs=function(){const e=i.get(\"ui5.libs\",window[\"sap-ushell-config\"])||{};const t=[];Object.keys(e).forEach(s=>{if(e[s]===true){t.push(l.load(s))}});return t};this.adjustIframeURL=function(){};this.initServicesContainer=function(){return new Promise(e=>{sap.ui.require([\"sap/ushell/appRuntime/ui5/services/Container\"],t=>{M=t;M.init(\"apprt\",{apprt:\"sap.ushell.appRuntime.ui5.services.adapters\"}).then(()=>{M.getFLPUrlAsync().then(e=>{jQuery(document).on(\"click.appruntime\",D.handleLinkElementOpen.bind(D,e));jQuery(document).on(\"keydown.appruntime\",t=>{if(t.code===\"Enter\"){return D.handleLinkElementOpen(e,t)}})});M.getServiceAsync(\"ShellNavigationInternal\").then(t=>{_=t;_.init(()=>{});D._enableHistoryEntryReplacedDetection();e()})})})})};this._enableHistoryEntryReplacedDetection=function(){this._fnOriginalSetHash=c.setHash;this._fnOriginalReplaceHash=c.replaceHash;c.setHash=function(){if(c.disableCFLPUpdate===true){return this._fnOriginalSetHash.apply(c,arguments)}if(U.checkDataLossAndContinue()){return this._fnOriginalSetHash.apply(c,arguments)}}.bind(this);c.replaceHash=function(){if(c.disableCFLPUpdate===true){return this._fnOriginalReplaceHash.apply(c,arguments)}if(U.checkDataLossAndContinue()){return this._fnOriginalReplaceHash.apply(c,arguments)}}.bind(this)};this._getURIParams=function(){return N};this.getAppInfo=function(e,t){let s;let i;let a;if(e){s=window[\"sap-ushell-config\"].ui5appruntime.config.appIndex.data;i=window[\"sap-ushell-config\"].ui5appruntime.config.appIndex.module;a=window[\"sap-ushell-config\"].ui5appruntime.config.appIndex.enableCache}return new Promise(p=>{if(e&&s&&!n(s)){v.init(i,D.createApplication.bind(D),D.renderApplication.bind(D),a,e,s);p({oResolvedHashFragment:s})}else{v.init(i,D.createApplication.bind(D),D.renderApplication.bind(D),a);v.getAppInfo(e,document.URL,t).then(p)}})};this.setHashChangedCallback=function(){if(O===true){return}c.changed.add(this._treatHashChanged.bind(this),this);O=true};this._treatHashChanged=async function(e,t){if(c.disableCFLPUpdate===true){return}if(e&&typeof e===\"string\"&&e.length>0){if(t&&typeof t===\"string\"&&t.length>0){const s=P.compareHashes(e,t);if(!s.sameIntent||!s.sameParameters){M.getServiceAsync(\"Navigation\").then(t=>{t.navigate({target:{shellHash:e}})});return}}m.postMessageToFLP(\"sap.ushell.appRuntime.hashChange\",{newHash:e,direction:u.getInstance().getDirection()})}};this.createApplication=function(e,t,i,a,n){const p=P.getHash(window.location.href);return new Promise(r=>{let l=\"\";if(t.hasOwnProperty(\"sap-history-dir\")){l=t[\"sap-history-dir\"];_.hashChanger.fireEvent(\"hashReplaced\",{hash:_.hashChanger.getHash(),direction:l});s.debug(\"AppRuntime.createApplication :: Informed by the FLP, to change the History direction \"+`property in the Iframe to: ${l}`)}const u=new o({id:`${U.getIsScube()===true?a:e}-content`,width:\"100%\",height:\"100%\"});u.addStyleClass(\"sapAppRuntimeBaseStyle\");let c=\"0\";if(N.hasOwnProperty(\"sap-touch\")){c=N[\"sap-touch\"];if(c!==\"0\"&&c!==\"1\"){c=\"0\"}}jQuery(\"body\").toggleClass(\"sapUiSizeCompact\",c===\"0\").toggleClass(\"sapUiSizeCozy\",c===\"1\");if(x===false){const e=new C({scopeObject:u,scopeType:\"component\"});e.setBackNavigation();new I({scopeObject:u,scopeType:\"component\"});v.setShellUIService(e);w.init();x=true}(U.getIsScube()?Promise.resolve(\"\"):v.getApplicationParameters(t)).then(s=>{i.url+=s;D.setHashChangedCallback();Promise.all([M.getServiceAsync(\"Ui5ComponentLoader\"),M.getServiceAsync(\"AppLifeCycle\")]).then(s=>{const o=s[0];const l=s[1];if(i.asyncHints&&Array.isArray(i.asyncHints.libs)){i.asyncHints.libs=i.asyncHints.libs.filter(e=>e.name!==\"sap.ushell\")}let c;let d;if(U.getIsScube()===true){c=i;d=n}else{c={ui5ComponentName:e,applicationDependencies:i,url:i.url};d=P.parseShellHash(p)}o.createComponent(c,d,[],S.Application).then(e=>{let s;if(U.getIsScube()===true){try{if(p&&p.indexOf(\"Shell-startIntent\")===0){s=e.componentHandle.getInstance().getManifestEntry(\"/sap.app/title\");if(typeof s===\"string\"){setTimeout(()=>{m.postMessageToFLP(\"sap.ushell.services.ShellUIService.setTitle\",{sTitle:s})},2e3)}}}catch(e){}}u.setComponent(e.componentHandle.getInstance());f.setAppShortId(e.componentHandle);l.prepareCurrentAppObject(\"UI5\",e.componentHandle.getInstance(),false,undefined);D.getCurrentAppInfo(l,t,c,s);D.considerChangingTheDefaultFullWidthVal(e);D.overrideUrlHelperFuncs();r({oComponentContainer:u,oResolutionResultWithComponentHandle:e,sAppIntent:a||\"\",ui5ComponentName:c.ui5ComponentName})})})})})};this.getCurrentAppInfo=function(e,t,s,i){const a=[\"appFrameworkVersion\",\"appVersion\"];if(!t[\"sap-startup-params\"]||t[\"sap-startup-params\"].indexOf(\"sap-fiori-id\")===-1){a.push(\"appId\")}if(!t[\"sap-startup-params\"]||t[\"sap-startup-params\"].indexOf(\"sap-ach\")===-1){a.push(\"appSupportInfo\")}const n=e.getCurrentApplication();n.getInfo(a).then(e=>{for(const t in e){if(e[t]===undefined||e[t]===\"\"){delete e[t]}}e.appFrameworkId=\"UI5\";e.technicalAppComponentId=s.ui5ComponentName;if(typeof i===\"string\"){e.appTitle=i}v.setCurrentAppAttributes(e);setTimeout(()=>{m.postMessageToFLP(\"sap.ushell.services.AppLifeCycle.updateCurrentAppInfo\",{info:e})},500)})};this.considerChangingTheDefaultFullWidthVal=function(e){if(B===true||B===\"true\"){R.emit(\"appWidthChange\",false)}const t=e.componentHandle.getInstance();const s=t.getMetadata();if(s){const e=t.getManifestEntry(\"/sap.ui/fullWidth\");const s=t.getManifestEntry(\"/sap.ui5/config/fullWidth\");if(e===true||e===\"true\"||s===true||s===\"true\"){R.emit(\"appWidthChange\",true)}else if(e===false||e===\"false\"||s===false||s===\"false\"){R.emit(\"appWidthChange\",false)}}};this.overrideUrlHelperFuncs=function(){if(T===true){return}T=true;if(H){H.triggerEmail=function(e,t,s,i,a){m.postMessageToFLP(\"sap.ushell.services.ShellUIService.sendEmail\",{sTo:e,sSubject:t,sBody:s,sCc:i,sBcc:a,sIFrameURL:document.URL,bSetAppStateToPublic:true})};E=H.redirect;H.redirect=function(e,t){if(e&&t===true&&e.indexOf(\"#\")>=0){M.getFLPUrlAsync().then(s=>{D.rebuildNewAppUrl(e,s).then(e=>{E.call(H,e,t)})})}else{E.call(H,e,t)}}}};function p(e){e.registerPlugins({RTAPluginAgent:{component:\"sap.ushell.appRuntime.ui5.plugins.rtaAgent\",url:sap.ui.require.toUrl(\"sap/ushell/appRuntime/ui5/plugins/rtaAgent\"),config:{\"sap-plugin-agent\":true}}})}function j(e){e.registerPlugins({WAPluginAgent:{component:\"sap.ushell.appRuntime.ui5.plugins.scriptAgent\",url:sap.ui.require.toUrl(\"sap/ushell/appRuntime/ui5/plugins/scriptAgent\"),config:{\"sap-plugin-agent\":true,scube:false}}})}this.loadPlugins=function(){if(k===true){return}k=true;M.getServiceAsync(\"PluginManager\").then(e=>{p(e);if(U.getIsScube()===false){j(e)}e.loadPlugins(\"RendererExtensions\")})};this.renderApplication=function(e){e.oComponentContainer.placeAt(\"content\");r.hide();setTimeout(()=>{if(e.oResolutionResultWithComponentHandle.componentHandle.getInstance().active){e.oResolutionResultWithComponentHandle.componentHandle.getInstance().active()}D.loadPlugins()},0);v.setCurrentApp(e.oComponentContainer,e.sAppIntent,e.ui5ComponentName)}}const z=new j;z._prepareUshellConfig=prepareUshellConfig;D=z;z.main();return z});\nthis._migrateV2ServiceConfig=_migrateV2ServiceConfig;\nthis.prepareUshellConfig=prepareUshellConfig;\nthis.prepareModules=prepareModules;\n},\n\t\"sap/ushell/appRuntime/ui5/BusyIndicator.js\":'// Copyright (c) SAP SE, All Rights Reserved\\nvar apprtBIdiv;document.addEventListener(\"DOMContentLoaded\",function(){const e=document.getElementById(\"sap-ui-bootstrap\");if(!e){return}const t=e.src;if(!t){return}const d=t.split(\"/resources/\")[0];const n=document.createElement(\"link\");n.rel=\"stylesheet\";n.href=`${d}/resources/sap/ushell/appRuntime/ui5/BusyIndicator.css`;document.head.appendChild(n);apprtBIdiv=document.createElement(\"div\");apprtBIdiv.classList.add(\"apprtBIcenter\");apprtBIdiv.appendChild(document.createElement(\"div\"));apprtBIdiv.appendChild(document.createElement(\"div\"));apprtBIdiv.appendChild(document.createElement(\"div\"));document.body.appendChild(apprtBIdiv)});\\n',\n\t\"sap/ushell/appRuntime/ui5/libsPreload.js\":function(){\n// Copyright (c) SAP SE, All Rights Reserved\ntry{document.getElementById(\"sap-ui-bootstrap\").setAttribute(\"data-sap-ui-libs\",\"sap.ui.core,sap.m,sap.ui.fl\")}catch(t){}try{document.getElementById(\"sap-ui-bootstrap\").setAttribute(\"data-sap-ui-compatVersion\",\"edge\")}catch(t){}\n},\n\t\"sap/ushell/appRuntime/ui5/plugins/rtaAgent/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"_version\":\"1.1.0\",\"i18n\":{\"bundleUrl\":\"i18n/i18n.properties\",\"supportedLocales\":[\"\"],\"fallbackLocale\":\"\"},\"id\":\"sap.ushell.appRuntime.ui5.plugins.rtaAgent\",\"title\":\"{{APP_TITLE}}\",\"type\":\"component\",\"applicationVersion\":{\"version\":\"1.0.0\"},\"ach\":\"CA-UI5-FL-RTA\",\"embeddedBy\":\"../../../../\",\"resources\":\"resources.json\"},\"sap.ui\":{\"_version\":\"1.1.0\",\"technology\":\"UI5\",\"supportedThemes\":[],\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":false}},\"sap.ui5\":{\"_version\":\"1.1.0\",\"contentDensities\":{\"compact\":true,\"cozy\":false},\"dependencies\":{\"minUI5Version\":\"1.73.1\",\"libs\":{\"sap.ui.core\":{\"minVersion\":\"1.73.1\"},\"sap.ui.fl\":{\"minVersion\":\"1.73.1\"}}},\"models\":{\"i18n\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"uri\":\"i18n/i18n.properties\",\"settings\":{\"supportedLocales\":[\"\"],\"fallbackLocale\":\"\"}}}},\"sap.flp\":{\"type\":\"plugin\"}}',\n\t\"sap/ushell/appRuntime/ui5/plugins/rtaShell/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"_version\":\"1.1.0\",\"i18n\":{\"bundleUrl\":\"i18n/i18n.properties\",\"supportedLocales\":[\"\"],\"fallbackLocale\":\"\"},\"id\":\"sap.ushell.appRuntime.ui5.plugins.rtaShell\",\"title\":\"{{APP_TITLE}}\",\"type\":\"component\",\"applicationVersion\":{\"version\":\"1.0.0\"},\"ach\":\"CA-UI5-FL-RTA\",\"embeddedBy\":\"../../../../\",\"resources\":\"resources.json\"},\"sap.ui\":{\"_version\":\"1.1.0\",\"technology\":\"UI5\",\"supportedThemes\":[],\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":false}},\"sap.ui5\":{\"_version\":\"1.1.0\",\"contentDensities\":{\"compact\":true,\"cozy\":false},\"dependencies\":{\"minUI5Version\":\"1.73.1\",\"libs\":{\"sap.ui.core\":{\"minVersion\":\"1.73.1\"},\"sap.ui.fl\":{\"minVersion\":\"1.73.1\"}}},\"models\":{\"i18n\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"uri\":\"i18n/i18n.properties\",\"settings\":{\"supportedLocales\":[\"\"],\"fallbackLocale\":\"\"}}}},\"sap.flp\":{\"type\":\"plugin\"}}',\n\t\"sap/ushell/bootstrap/cdm/cdm-def-loader.js\":function(){\n// Copyright (c) SAP SE, All Rights Reserved\n(function(){\"use strict\";const t=document.getElementById(\"sap-ui-bootstrap\").getAttribute(\"data-sap-ui-async\");if(t&&t.toLowerCase()===\"true\"){sap.ui.require([\"sap/ushell/bootstrap/cdm/cdm-def\"]);return}sap.ui.requireSync(\"sap/ushell/bootstrap/cdm/cdm-def\")})();\n},\n\t\"sap/ushell/bootstrap/sandbox2.js\":function(){\n// Copyright (c) SAP SE, All Rights Reserved\n(function(){\"use strict\";if(true){function o(){return new Promise(o=>{sap.ui.require([\"sap/ushell/bootstrap/sandbox2/sandbox\"],n=>{n.bootstrap().then(o)})})}window[\"sap-ui-config\"]={\"xx-bootTask\":function(n){o().then(()=>{n()})}};return}if(!window[\"sap-ui-config\"]){window[\"sap-ui-config\"]={}}globalThis[\"sap-ui-config\"].bootManifest=\"sap/ushell/bootstrap/sandbox2/sandboxBoot.json\"})();\n},\n\t\"sap/ushell/bootstrap/sandbox2/sandbox.js\":'// Copyright (c) SAP SE, All Rights Reserved\\nconst OBJECT_PROTOTYPE_KEYS=Object.getOwnPropertyNames(Object.prototype);sap.ui.define([\"sap/base/Log\",\"sap/base/util/ObjectPath\",\"sap/ushell/bootstrap/common/common.util\",\"sap/ushell/utils\"],(t,e,i,o)=>{\"use strict\";const s={_loadJSON:async function(e){function i(){t.error(\"Failed to load Fiori Launchpad Sandbox configuration\",e)}try{const t=await fetch(e,{headers:{\"Content-Type\":\"application/json\"}});if(t.ok){const e=await t.json();return e}i()}catch(t){i()}},mergeConfig:function(t,e,i){if(typeof e!==\"object\"){return}const o=i?JSON.parse(JSON.stringify(e)):e;Object.entries(o).forEach(([e,i])=>{if(OBJECT_PROTOTYPE_KEYS.includes(e)){return}if(Object.prototype.toString.apply(t[e])===\"[object Object]\"&&Object.prototype.toString.apply(i)===\"[object Object]\"){this.mergeConfig(t[e],i,false);return}t[e]=i})},_addAppsToSite:function(t){const o={};function s(t){return t.additionalInformation.replace(\"SAPUI5.Component=\",\"\")}function n(t,e){const i=s(t);const o=t.title||i.split(\".\").pop();const n=e.split(\"-\");const a={\"sap.app\":{id:i,title:o,subTitle:t.description||\"\",ach:\"CA-FLP-FE-COR\",applicationVersion:{version:\"1.0.0\"},crossNavigation:{inbounds:{target:{semanticObject:n[0],action:n[1],signature:{parameters:{},additionalParameters:\"allowed\"}}}},tags:{keywords:o.split(\" \")}},\"sap.flp\":{type:\"application\"},\"sap.ui\":{technology:\"UI5\",icons:{icon:\"sap-icon://Fiori2/F0018\"},deviceTypes:{desktop:true,tablet:true,phone:true}},\"sap.ui5\":{componentName:i},\"sap.platform.runtime\":{componentProperties:{url:t.url}}};return a}function a(t){const e=t.resolutionResult||{};const i=e.ui5ComponentName||s(e);const o=t.title||i.split(\".\").pop();const n={\"sap.app\":{id:i,title:o,subTitle:e.description||\"\",ach:\"CA-FLP-FE-COR\",applicationVersion:{version:\"1.0.0\"},crossNavigation:{inbounds:{target:{semanticObject:t.semanticObject,action:t.action,signature:t.signature}}},tags:{keywords:o.split(\" \")}},\"sap.flp\":{type:\"application\"},\"sap.ui\":{technology:\"UI5\",icons:{icon:\"sap-icon://Fiori2/F0018\"},deviceTypes:t.deviceTypes},\"sap.ui5\":{componentName:i},\"sap.platform.runtime\":{componentProperties:{url:e.url}}};return n}function p(t,e){const i=s(t);const o=t.title||i.split(\".\").pop();const n={vizType:\"sap.ushell.StaticAppLauncher\",businessApp:i||\"sap.ushell.sandbox.BusinessApp\",vizConfig:{\"sap.app\":{title:o,subTitle:t.description||\"\"},\"sap.ui\":{icons:{icon:t.icon},deviceTypes:{desktop:true,tablet:true,phone:true}},\"sap.flp\":{target:{type:\"URL\",url:`#${e}`}}}};return n}const c=t.services.CommonDataModel.adapter.config.siteData;const r=e.get(\"applications\",t)||{};for(const[t,e]of Object.entries(r)){const i=`custom_viz_${t}`;const o=c.pages.page1.payload.sections.APPS;c.applications[t]=n(e,t);c.visualizations[t]=p(e,t);o.layout.vizOrder.push(i);o.viz[i]={id:i,vizId:t}}const l=JSON.parse(JSON.stringify(e.get(\"services.NavTargetResolutionInternal.adapter.config.applications\",t)||{}));e.set(\"services.NavTargetResolutionInternal.adapter.config.applications\",l,o);for(const[t,e]of Object.entries(l)){if(e.additionalInformation){c.applications[t]=n(e,t)}}const u=JSON.parse(JSON.stringify(e.get(\"services.ClientSideTargetResolution.adapter.config.inbounds\",t)||{}));e.set(\"services.ClientSideTargetResolution.adapter.config.inbounds\",u,o);for(const t of Object.values(u)){c.applications[`${t.semanticObject}-${t.action}`]=a(t)}const d=JSON.parse(JSON.stringify(e.get(\"services.LaunchPage.adapter.config.groups\",t)||[]));e.set(\"services.LaunchPage.adapter.config.groups\",d,o);d.forEach((t,e)=>{const i=t.id||`GROUP_${e}`;const o=c.pages.page1;o.payload.layout.sectionOrder.splice(e+1,0,i);o.payload.sections[i]={id:i,title:t.title,layout:{vizOrder:[]},viz:{}};const s=o.payload.sections[i];(t.tiles||[]).forEach((t,e)=>{const o=t.id||`${i}_tile_${e}`;s.layout.vizOrder.push(o);const n=t.formFactor||\"Desktop,Tablet,Phone\";const a=t.properties||{};const p={vizType:\"sap.ushell.StaticAppLauncher\",businessApp:\"sap.ushell.sandbox.BusinessApp\",vizConfig:{\"sap.app\":{title:t.title||a.title||\"\",subTitle:a.subtitle||\"\"},\"sap.ui\":{icons:{icon:a.icon},deviceTypes:{desktop:n.indexOf(\"Desktop\")>-1,tablet:n.indexOf(\"Tablet\")>-1,phone:n.indexOf(\"Phone\")>-1}},\"sap.flp\":{target:{type:\"URL\",url:a.targetURL||a.href||\"#\"}}}};c.visualizations[o]=p;s.viz[o]={id:o,vizId:o}})});delete t.applications;const f=i.getV2ServiceMigrationConfig(o);this.mergeConfig(t,f,true);this.mergeConfig(t,o,true);return t},_applyDefaultUshellConfig:function(t,e){const o=i.getV2ServiceMigrationConfig(t);this.mergeConfig(e,o,true);this.mergeConfig(e,t,true)},_applyDefaultSiteData:function(t,e){const i=e.services.CommonDataModel.adapter.config;i.siteData=t;delete i.siteDataUrl},_applyJsonApplicationConfig:async function(t,e){const o=/\\\\.json/i.test(t)?t:`${t}.json`;const s=await this._loadJSON(o);if(s){const t=i.getV2ServiceMigrationConfig(s);this.mergeConfig(e,t,true);this.mergeConfig(e,s,true)}},_getBootstrapScriptPath:function(){const t=window.document.getElementById(\"sap-ushell-bootstrap\");const e=`${t.src.split(\"?\")[0].split(\"/\").slice(0,-1).join(\"/\")}/`;return e},bootstrap:async function(){const t=new URLSearchParams(window.location.search).getAll(\"sap-ushell-sandbox-config\");const e=this._getBootstrapScriptPath();const s=`${e}./sandbox2/sandboxConfig.json`;const n=`${e}./sandbox2/sandboxSite.json`;if(t.length===0){t.push(\"/appconfig/fioriSandboxConfig.json\");t.push(\"../appconfig/fioriSandboxConfig.json\")}if(!window[\"sap-ushell-config\"]){window[\"sap-ushell-config\"]={}}const a=window[\"sap-ushell-config\"];i.migrateV2ServiceConfig(a);const[p,c]=await Promise.all([this._loadJSON(s),this._loadJSON(n)]);this._applyDefaultUshellConfig(p,a);this._applyDefaultSiteData(c,a);for(const e of t){await this._applyJsonApplicationConfig(e,a)}this._addAppsToSite(a);const r=sap.ui.require.toUrl(\"sap/ushell/demo\");if(r.indexOf(\"sap/ushell/demoapps\")===-1){sap.ui.loader.config({paths:{\"sap/ushell/demo\":\"/ushell/test-resources/sap/ushell/demoapps\"}})}if(a.modulePaths){const t=Object.keys(a.modulePaths).reduce((t,e)=>{t[e.replace(/\\\\./g,\"/\")]=a.modulePaths[e];return t},{});sap.ui.loader.config({paths:t})}const[l]=await o.requireAsync([\"sap/ushell/Container\"]);return l.init(\"cdm\")}};return s});\\n',\n\t\"sap/ushell/bootstrap/ui5loader-config.js\":function(){\n// Copyright (c) SAP SE, All Rights Reserved\n(function(){\"use strict\";const o=window.sap&&window.sap.ui&&window.sap.ui.loader;if(!o){throw new Error(\"FLP bootstrap: ui5loader is needed, but could not be found\")}const i={};const s=document.getElementById(\"sap-ui-bootstrap\");const t=s&&s.getAttribute(\"src\");const n=/^((?:.*\\/)?resources\\/~\\d{14}~\\/)/;let e;if(t&&n.test(t)){e=n.exec(t)[1];window[\"sap-ui-config\"]=window[\"sap-ui-config\"]||{};window[\"sap-ui-config\"].resourceRoots=window[\"sap-ui-config\"].resourceRoots||{};window[\"sap-ui-config\"].resourceRoots[\"\"]=e}o.config(i)})();\n},\n\t\"sap/ushell/components/appfinder/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"id\":\"sap.ushell.components.appfinder\",\"applicationVersion\":{\"version\":\"1.139.0\"},\"i18n\":{\"bundleUrl\":\"../../renderer/resources/resources.properties\",\"fallbackLocale\":\"en\"},\"ach\":\"CA-FLP-FE-COR\",\"type\":\"component\",\"title\":\"{{Component.AppFinder.Title}}\",\"resources\":\"resources.json\"},\"sap.ui\":{\"fullWidth\":true,\"hideLightBackground\":true,\"technology\":\"UI5\",\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":true}},\"sap.ui5\":{\"componentName\":\"sap.ushell.components.appfinder\",\"rootView\":{\"viewName\":\"module:sap/ushell/components/appfinder/AppFinderView\",\"async\":true},\"dependencies\":{\"minUI5Version\":\"1.30\",\"libs\":{\"sap.ui.core\":{},\"sap.m\":{}}},\"routing\":{\"config\":{\"routerClass\":\"sap.m.routing.Router\",\"controlId\":\"catalogViewMasterDetail\",\"controlAggregation\":\"detailPages\",\"clearAggregation\":false,\"async\":true},\"routes\":[{\"name\":\"userMenu\",\"pattern\":\"userMenu/:filters:\"},{\"name\":\"sapMenu\",\"pattern\":\"sapMenu/:filters:\"},{\"name\":\"catalog\",\"pattern\":[\"catalog/:filters:\",\"\",\":filters:\"]}]},\"services\":{\"ShellUIService\":{\"factoryName\":\"sap.ushell.ui5service.ShellUIService\"}},\"contentDensities\":{\"compact\":true,\"cozy\":true}}}',\n\t\"sap/ushell/components/cards/Card.view.xml\":'<mvc:View\\n xmlns=\"sap.m\"\\n xmlns:mvc=\"sap.ui.core.mvc\"\\n controllerName=\"sap.ushell.components.cards.Card\"><GenericTile\\n header=\"{/data/display_title_text}\"\\n subheader=\"{/data/display_subtitle_text}\"\\n press=\"onPress\"><TileContent footer=\"{i18n>cardTileCaption}\" /></GenericTile></mvc:View>\\n',\n\t\"sap/ushell/components/cards/Configuration.view.xml\":'<mvc:View\\n xmlns=\"sap.m\"\\n xmlns:mvc=\"sap.ui.core.mvc\"\\n xmlns:codeeditor=\"sap.ui.codeeditor\"\\n controllerName=\"sap.ushell.components.cards.Configuration\"\\n height=\"100%\"><VBox fitContainer=\"true\" justifyContent=\"SpaceBetween\"><MessageStrip\\n id=\"messageStrip\"\\n showIcon=\"true\"\\n showCloseButton=\"false\"\\n type=\"Warning\"\\n visible=\"{/config/displayOriginalLanguageWarning}\"\\n text=\"{\\n parts: [\\n \\'i18n>edit_configuration.original_locale_not_fit_message\\',\\n \\'/config/originalLanguage\\',\\n \\'/config/sapLogonLanguage\\'\\n ],\\n \\'formatter\\': \\'.formatter\\'\\n }\" /><Title text=\"{i18n>configuration.category.card_manifest}\" class=\"sapUiTinyMargin\" /><codeeditor:CodeEditor id=\"manifestEditor\" value=\"{/data/editorValue}\" editable=\"{/config/manifestEditorEditable}\" type=\"json\"><codeeditor:layoutData><FlexItemData growFactor=\"1\" /></codeeditor:layoutData></codeeditor:CodeEditor></VBox></mvc:View>\\n',\n\t\"sap/ushell/components/cepsearchresult/app/Main.view.xml\":'<mvc:View xmlns:mvc=\"sap.ui.core.mvc\"\\n xmlns=\"sap.m\"\\n xmlns:f=\"sap.f\"\\n width=\"100%\"\\n height=\"100%\"\\n controllerName=\"sap.ushell.components.cepsearchresult.app.Main\"\\n class=\"sapUiCEPSRApp\"\\n visible=\"false\"><VBox id=\"searchResultHeader\" class=\"sapUiCEPSRHeader\"><f:DynamicPageTitle><f:heading><Title id=\"titleText\"/></f:heading><f:navigationActions><Button id=\"titleButton\" icon=\"sap-icon://overflow\" type=\"Transparent\" press=\"openTitleMenu\"/></f:navigationActions></f:DynamicPageTitle><IconTabHeader id=\"searchCategoriesTabs\" mode=\"Inline\" select=\".tabSelectionChange\" class=\"sapUiCEPSRTabs\"></IconTabHeader></VBox><VBox class=\"sapUiCEPSRAppScroll\"><VBox class=\"sapUiCEPSRAppContent\" id=\"searchResultContent\"></VBox></VBox></mvc:View>\\n',\n\t\"sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/manifest.json\":'{\"sap.app\":{\"id\":\"sap.ushell.components.cepsearchresult.app.cards.searchresultwidget\",\"type\":\"card\",\"title\":\"{{CARD.Widget.Title}}\",\"subTitle\":\"{{CARD.Widget.SubTitle}}\",\"applicationVersion\":{\"version\":\"1.0.0\"},\"i18n\":{\"bundleUrl\":\"i18n/i18n.properties\",\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en\",\"en_US\",\"en_US_sappsd\",\"en_US_saptrc\",\"es\",\"et\",\"fi\",\"fr\",\"hi\",\"hr\",\"hu\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh_CN\",\"zh_TW\"],\"fallbackLocale\":\"en\"},\"shortTitle\":\"{{CARD.Widget.SubTitle}}\",\"info\":\"{{CARD.Widget.SubTitle}}\",\"description\":\"{{CARD.Widget.SubTitle}}\",\"tags\":{\"keywords\":[]}},\"sap.ui\":{\"technology\":\"UI5\",\"icons\":{\"icon\":\"sap-icon://search\"}},\"sap.ui5\":{\"dependencies\":{\"minUI5Version\":\"1.106\",\"libs\":{\"sap.m\":{},\"sap.f\":{},\"sap.ui.integration\":{}},\"components\":{\"sap.ushell.components.cepsearchresult.app\":{\"minVersion\":\"1.100.0\",\"lazy\":true}}},\"models\":{\"i18n\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"settings\":{\"bundleName\":\"sap.ushell.components.cepsearchresult.app.cards.searchresultwidget.i18n.i18n\",\"async\":true}}}},\"sap.card\":{\"type\":\"Component\",\"extension\":\"./Extension\",\"configuration\":{\"editor\":\"Config\",\"parameters\":{\"init\":{\"value\":false},\"category\":{\"value\":\"app\"},\"searchTerm\":{\"value\":\"\"},\"header\":{\"value\":\"default\"},\"headerNavigation\":{\"value\":true},\"view\":{\"value\":\"list\"},\"pageSize\":{\"value\":5},\"footer\":{\"value\":\"paginator\"},\"highlightResult\":{\"value\":false}}},\"header\":{\"title\":\"Custom Title (($count))\",\"subtitle\":\"Custom Subtitle \\'($searchText)\\'\",\"visible\":\"{= ${parameters>/header/value} !== \\'none\\' && ${parameters>/init/value}}\",\"icon\":{\"src\":\"sap-icon://search\",\"shape\":\"Square\",\"backgroundColor\":\"Accent10\"},\"actions\":[{\"type\":\"Navigation\",\"enabled\":\"{parameters>/headerNavigation/value}\",\"parameters\":{\"ibnTarget\":{\"semanticObject\":\"WorkZoneSearchResult\",\"action\":\"display\"},\"ibnParams\":{\"searchTerm\":\"{parameters>/searchTerm/value}\",\"category\":\"{parameters>/category/value}\",\"filter\":\"\"}}}]}}}',\n\t\"sap/ushell/components/cepsearchresult/app/manifest.json\":'{\"sap.app\":{\"id\":\"sap.ushell.components.cepsearchresult.app\",\"type\":\"application\",\"applicationVersion\":{\"version\":\"1.0.0\"},\"i18n\":{\"bundleUrl\":\"i18n/i18n.properties\"},\"title\":\"{{SEARCHRESULTAPP.App.Title}}\",\"subTitle\":\"{{SEARCHRESULTAPP.App.SubTitle}}\"},\"sap.ui\":{\"_version\":\"1.1.0\",\"icons\":{\"icon\":\"sap-icon://search\"},\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":true},\"supportedThemes\":[]},\"sap.ui5\":{\"dependencies\":{\"libs\":{\"sap.ui.core\":{},\"sap.m\":{},\"sap.ui.integration\":{}}},\"config\":{\"fullWidth\":true},\"models\":{\"appI18n\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"settings\":{\"bundleName\":\"sap.ushell.components.cepsearchresult.app.i18n.i18n\",\"async\":true}}},\"resources\":{\"css\":[{\"uri\":\"./css/style.css\"}]},\"contentDensities\":{\"compact\":true,\"cozy\":true},\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":true}}}',\n\t\"sap/ushell/components/contentFinder/dialog/manifest.json\":'{\"_version\":\"1.67.0\",\"sap.app\":{\"id\":\"sap.ushell.components.contentFinder\",\"applicationVersion\":{\"version\":\"1.139.0\"},\"i18n\":\"./resources/resources.properties\",\"ach\":\"CA-FLP-FE-UI\",\"type\":\"component\",\"title\":\"\"},\"sap.ui\":{\"fullWidth\":false,\"technology\":\"UI5\",\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":true}},\"sap.ui5\":{\"autoPrefixId\":true,\"componentName\":\"sap.ushell.components.contentFinder\",\"dependencies\":{\"minUI5Version\":\"1.99\",\"libs\":{\"sap.ui.core\":{},\"sap.m\":{},\"sap.f\":{}}},\"contentDensities\":{\"compact\":true,\"cozy\":true},\"models\":{\"i18n\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"settings\":{\"bundleName\":\"sap.ushell.components.contentFinder.resources.resources\",\"async\":true}}},\"rootView\":{\"viewName\":\"sap.ushell.components.contentFinder.view.ContentFinderDialog\",\"id\":\"contentFinderDialogView\",\"type\":\"XML\",\"async\":true}}}',\n\t\"sap/ushell/components/contentFinder/manifest.json\":'{\"_version\":\"1.67.0\",\"sap.app\":{\"id\":\"sap.ushell.components.contentFinder\",\"applicationVersion\":{\"version\":\"1.139.0\"},\"i18n\":{\"bundleUrl\":\"./resources/resources.properties\",\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-x-sappsd\",\"en-US-x-saprigi\",\"en-US-x-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]},\"ach\":\"CA-FLP-FE-UI\",\"type\":\"component\",\"title\":\"\"},\"sap.ui\":{\"fullWidth\":false,\"technology\":\"UI5\",\"deviceTypes\":{\"desktop\":true,\"tablet\":true,\"phone\":true}},\"sap.ui5\":{\"autoPrefixId\":true,\"componentName\":\"sap.ushell.components.contentFinder\",\"dependencies\":{\"minUI5Version\":\"1.99\",\"libs\":{\"sap.ui.core\":{},\"sap.m\":{},\"sap.f\":{}}},\"contentDensities\":{\"compact\":true,\"cozy\":true},\"models\":{\"i18n\":{\"type\":\"sap.ui.model.resource.ResourceModel\",\"settings\":{\"bundleName\":\"sap.ushell.components.contentFinder.resources.resources\",\"async\":true,\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-x-sappsd\",\"en-US-x-saprigi\",\"en-US-x-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]}}}}}',\n\t\"sap/ushell/components/contentFinder/view/AppSearch.view.xml\":'<mvc:View\\n xmlns=\"sap.m\"\\n xmlns:core=\"sap.ui.core\"\\n xmlns:mvc=\"sap.ui.core.mvc\"\\n xmlns:f=\"sap.f\"\\n xmlns:l=\"sap.ui.layout\"\\n xmlns:grid=\"sap.ui.layout.cssgrid\"\\n core:require=\"{\\n fLibrary: \\'sap/f/library\\',\\n mLibrary: \\'sap/m/library\\'\\n }\"\\n controllerName=\"sap.ushell.components.contentFinder.controller.AppSearch\"\\n id=\"contentFinderAppSearchView\"\\n height=\"100%\"\\n><VBox height=\"100%\"><MessageStrip\\n text=\"{i18n>ContentFinder.AppSearch.MessageStrip.AppFinderFallbackText}\"\\n type=\"Information\"\\n showCloseButton=\"true\"\\n class=\"sapUiResponsiveMargin\"\\n visible=\"{= !!${ui>/linkToAppFinder} }\"\\n ><link><Link text=\"{i18n>ContentFinder.AppSearch.MessageStrip.AppFinderFallbackLinkText}\"\\n target=\"_blank\"\\n href=\"{ui>/linkToAppFinder}\" /></link></MessageStrip><f:FlexibleColumnLayout\\n id=\"contentFinderAppSearchFlexibleColumnLayout\"\\n layout=\"{ui>/layoutType}\"\\n ><f:layoutData><FlexItemData growFactor=\"1\" /></f:layoutData><f:beginColumnPages><Page\\n id=\"contentFinderAppSearchCategoryTreePage\"\\n enableScrolling=\"true\"\\n showHeader=\"false\"\\n backgroundDesign=\"List\"\\n ><core:Fragment\\n fragmentName=\"sap.ushell.components.contentFinder.view.AppSearchCategoryTree\"\\n type=\"XML\"\\n id=\"CategoryTreeFragment\"\\n /><core:Fragment\\n fragmentName=\"sap.ushell.components.contentFinder.view.AppSearchCategoryTreeTable\"\\n type=\"XML\"\\n id=\"CategoryTreeTableFragment\"\\n /></Page></f:beginColumnPages><f:midColumnPages><Page\\n id=\"contentFinderAppSearchDetailPage\"\\n enableScrolling=\"false\"\\n showHeader=\"false\"\\n ><l:FixFlex\\n id=\"contentFinderAppSearchLayout\"\\n minFlexSize=\"1px\"\\n ><l:fixContent><OverflowToolbar\\n id=\"appSearchOverflowToolbar\"\\n asyncMode=\"false\"\\n style=\"Clear\"\\n class=\"contentFinderToolbar sapUiResponsiveMargin\"\\n ><OverflowToolbarToggleButton\\n id=\"categoryTreeToggleButton\"\\n icon=\"sap-icon://menu2\"\\n tooltip=\"{=\\n ${ui>/categoryTree/visible}\\n ? ${i18n>ContentFinder.AppSearch.Button.Tooltip.HideCatalogsTree}\\n : ${i18n>ContentFinder.AppSearch.Button.Tooltip.ShowCatalogsTree}\\n }\"\\n press=\".onCategoryTreeTogglePressed\"\\n visible=\"{= (${ui>/componentSettings/showCategoryTreeWhenEmpty} || ${ui>/categoryTree/hasData})}\"\\n pressed=\"{ui>/categoryTree/visible}\"\\n /><Title\\n id=\"appSearchVisualizationsTitle\"\\n titleStyle=\"H5\"\\n text=\"{\\n parts: [\\n \\'ui>/visualizations/filters/selected\\',\\n \\'ui>/visualizations/filters/available\\',\\n \\'ui>/visualizations/filters/filterIsTitle\\',\\n \\'ui>/visualizations/searchTerm\\',\\n \\'ui>/categoryTree/selectedTitle\\',\\n \\'ui>/visualizations/showSelectedPressed\\',\\n \\'selection>/visualizations/items/length\\',\\n \\'data>/visualizations/items\\',\\n \\'data>/visualizations/totalCount\\'\\n ], formatter: \\'.formatter.formatAppSearchTitle\\' }\"\\n ><layoutData><OverflowToolbarLayoutData\\n minWidth=\"6rem\"\\n shrinkable=\"true\"\\n priority=\"NeverOverflow\"\\n /></layoutData>/visualizations/filters/available}\"\\n selectedKey=\"{ui>/visualizations/filters/selected}\"\\n selectionChange=\".onSelectVisualizationsFilter\"\\n enabled=\"{= ${selection>/visualizations/items/length} === 0 && ${ui>/visualizations/loaded} }\"\\n visible=\"{= !${ui>/visualizations/showSelectedPressed}\\n && ${ui>/visualizations/filters/displayed/length} > 1\\n && ${ui>/visualizations/filters/available/length} > 1\\n }\"\\n >key}\"\\n text=\"{ui>title}\"\\n tooltip=\"{ui>title}\"\\n />ContentFinder.AppSearch.SearchPlaceholder}\"\\n search=\".onSearch\"\\n value=\"{ui>/visualizations/searchFieldValue}\"\\n >{\"use strict\";const B=t.AccessibleLandmarkRole;return a.extend(\"sap.ushell.components.homepage.DashboardContent\",{createContent:function(e){this.oModel=this.getController().getOwnerComponent().getModel();const t=this.oModel.getProperty(\"/personalization\");const a=this.oModel.getProperty(\"/enableTileActionsIcon\");this.isCombi=r.system.combi;this.isTouch=this.isCombi?false:r.system.phone||r.system.tablet;this.parentComponent=n.getOwnerComponentFor(this);this.addStyleClass(\"sapUshellDashboardView\");this.oRenderer=sap.ushell.Container.getRendererInternal(\"fiori2\");this.bIsHomeIntentRootIntent=b.isFlpHomeIntent(this.oRenderer.getShellConfig().rootIntent);s.getEventBus().subscribe(\"launchpad\",\"actionModeInactive\",this._handleEditModeChange,this);s.getEventBus().subscribe(\"launchpad\",\"actionModeActive\",this._handleEditModeChange,this);s.getEventBus().subscribe(\"launchpad\",\"contentRefresh\",this._onDashboardShown,this);s.getEventBus().subscribe(\"launchpad\",\"dashboardModelContentLoaded\",this._onDashboardShown,this);this.oDoable=u.once(\"CoreResourcesComplementLoaded\").do(()=>{this.oAnchorNavigationBar.setOverflowEnabled(true);if(t||a){A.init(this.oModel)}if(t){this._createFooter();this._createActionModeButton()}});this.oFilterSelectedGroup=new l(\"isGroupSelected\",h.EQ,true);this.oRenderer.getRouter().getRoute(\"home\").attachMatched(this._onHomeNavigation,this);this.oAnchorNavigationBar=this._getAnchorNavigationBar(e);this.oAnchorNavigationBar.setModel(this.oModel);this.oRenderer.setNavigationBar(this.oAnchorNavigationBar);const c=new d;this.oDashboardGroupsBox=c.createGroupsBox(e,this.oModel);this.oPage=new o(\"sapUshellDashboardPage\",{showHeader:false,landmarkInfo:new i({contentRole:B.Region,contentLabel:p.i18n.getText(\"Dashboard.Page.Content.AriaLabel\"),rootRole:B.None}),floatingFooter:true,content:[this.oDashboardGroupsBox]});this.oPage.addEventDelegate({onAfterRendering:function(){const t=this.getDomRef();const o=t.getElementsByTagName(\"section\");jQuery(o[0]).off(\"scrollstop\",e.handleDashboardScroll);jQuery(o[0]).on(\"scrollstop\",e.handleDashboardScroll)}.bind(this)});return this.oPage},getAnchorItemTemplate:function(){const e=this;const t=new g({index:\"{index}\",title:\"{title}\",groupId:\"{groupId}\",defaultGroup:\"{isDefaultGroup}\",helpId:\"{helpId}\",selected:false,isGroupRendered:\"{isRendered}\",visible:{parts:[\"/tileActionModeActive\",\"isGroupVisible\",\"visibilityModes\"],formatter:function(e,t,o){if(!o[e?1:0]){return false}return t||e}},locked:\"{isGroupLocked}\",isGroupDisabled:{parts:[\"isGroupLocked\",\"/isInDrag\",\"/homePageGroupDisplay\"],formatter:function(e,t,o){return e&&t&&o===\"tabs\"}},press:function(t){e.oAnchorNavigationBar.handleAnchorItemPress(t)}});t.attachBrowserEvent(\"focus\",function(){this.setNavigationBarItemsVisibility()}.bind(this.oAnchorNavigationBar));return t},_getAnchorNavigationBar:function(e){const t=new f(\"anchorNavigationBar\",{selectedItemIndex:\"{/topGroupInViewPortIndex}\",itemPress:[function(e){this._handleAnchorItemPress(e)},e],overflowEnabled:false});this._oAnchorNavigationBarDelegatePromise=new Promise((e,o)=>{if(r.system.desktop){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\"],o=>{o.getInstance().then(o=>{t.addEventDelegate({onBeforeFastNavigationFocus:function(e){if(jQuery(\".sapUshellAnchorItem\").is(\":visible\")){e.preventDefault();o.goToSelectedAnchorNavigationItem()}},onsapenter:function(e){e.srcControl.getDomRef().click()},onsapspace:function(e){e.srcControl.getDomRef().click()},onsaptabnext:function(){if(!s.byId(\"sapUshellAnchorBarOverflowButton\").getVisible()){o.goToLastVisitedTile()}}});e()})})}else{e()}});t.addStyleClass(\"sapContrastPlus\");return t},_actionModeButtonPress:function(){this.oDashboardGroupsBox.getBinding(\"groups\").filter([]);const e=this.oDashboardGroupsBox.getGroups();A.toggleActionMode(this.oModel,\"Menu Item\",e);this._updateAnchorNavigationBarVisibility();if(this.oModel.getProperty(\"/homePageGroupDisplay\")===\"tabs\"){if(this.oModel.getProperty(\"/tileActionModeActive\")){const e=this.oModel.getProperty(\"/groups\");let t;for(let o=0;o{this.oTileActionsButton=new t(e);if(c.last(\"/core/extension/enableHelp\")){this.oTileActionsButton.addStyleClass(\"help-id-ActionModeBtn\")}if(!this.bIsHomeIntentRootIntent){this.oRenderer.showHeaderEndItem(this.oTileActionsButton.getId(),true)}else{this.oRenderer.showHeaderEndItem(this.oTileActionsButton.getId(),false,[\"home\"])}})},_createActionModeButtonInUserMenu:function(e){const t={controlType:\"sap.ushell.ui.launchpad.ActionItem\",oControlProperties:e,bIsVisible:true,aStates:[\"home\"]};if(!this.bIsHomeIntentRootIntent){t.aStates=null;t.bCurrentState=true}this.oRenderer.addUserAction(t).done(e=>{this.oTileActionsButton=e;if(c.last(\"/core/extension/enableHelp\")){this.oTileActionsButton.addStyleClass(\"help-id-ActionModeBtn\")}})},_handleEditModeChange:function(){if(this.oTileActionsButton){this.oTileActionsButton.toggleStyleClass(\"sapUshellActionItemActive\")}},_createFooter:function(){sap.ui.require([\"sap/m/Bar\",\"sap/m/Button\",\"sap/m/ToolbarSpacer\"],(t,o,i)=>{this.oPage.setFooter(new t(\"sapUshellDashboardFooter\",{visible:\"{/tileActionModeActive}\",contentRight:[new i,new o(\"sapUshellDashboardFooterDoneBtn\",{type:e.ButtonType.Emphasized,text:p.i18n.getText(\"closeEditMode\"),tooltip:p.i18n.getText(\"exitEditMode\"),press:this._actionModeButtonPress.bind(this)})]}))})},_onDashboardShown:function(){const e=this.oRenderer&&this.oRenderer.getCurrentCoreView()===\"home\";if(e){if(!r.system.phone){this.oRenderer.showRightFloatingContainer(false)}this._updateAnchorNavigationBarVisibility();this.getController().resizeHandler();b.refreshTiles();if(r.system.desktop){const e=document.activeElement?document.activeElement.tagName:\"\";if(e!==\"INPUT\"&&e!==\"TEXTAREA\"){sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\"],e=>{e.getInstance().then(e=>{e.goToLastVisitedTile()})})}}}},_onHomeNavigation:function(){this._onDashboardShown();if(!this.bIsHomeIntentRootIntent){if(this.oRenderer.getShellConfig().moveEditHomePageActionToShellHeader){this.oRenderer.showHeaderEndItem(this.oTileActionsButton.getId(),true)}else{this.oRenderer.showActionButton(this.oTileActionsButton.getId(),true)}}if(u.last(\"firstSegmentCompleteLoaded\")){u.emit(\"CloseFesrRecord\",Date.now())}},_updateAnchorNavigationBarVisibility:function(){const e=this.oAnchorNavigationBar.getVisible();const t=this.getModel().getObject(\"/tileActionModeActive\");const o=this.getModel().getProperty(\"/groups\").filter(e=>{if(t){return e.isGroupVisible&&e.visibilityModes[1]}return e.isGroupVisible&&e.visibilityModes[0]});const i=o.length>1;this.oAnchorNavigationBar.setVisible(i);if(i&&!e){const e=this.getModel().getProperty(\"/groups\");const t=this.getModel().getProperty(\"/iSelectedGroup\");for(let i=0;i{\"use strict\";const _=u.InvisibleMessageMode;const w=s.extend(\"sap.ushell.components.homepage.DashboardGroupsBox\",{metadata:{publicMethods:[\"createGroupsBox\"]},constructor:function(){if(w.fnDashboardGroupsBoxGetter){return w.fnDashboardGroupsBoxGetter()}w.fnDashboardGroupsBoxGetter=function(e){return function(){return e}}(this.getInterface());this.oController=undefined;this.oGroupsContainer=undefined;this._oInvisibleMessageInstance=l.getInstance();a.getEventBus().subscribe(\"launchpad\",\"actionModeActive\",this._handleActionModeChange,this);a.getEventBus().subscribe(\"launchpad\",\"actionModeInactive\",this._handleActionModeChange,this);a.getEventBus().subscribe(\"launchpad\",\"GroupHeaderVisibility\",this._updateGroupHeaderVisibility,this);a.getEventBus().subscribe(\"launchpad\",\"AddTileContainerContent\",this._addTileContainersContent,this);return undefined},destroy:function(){a.getEventBus().unsubscribe(\"launchpad\",\"actionModeActive\",this._handleActionModeChange,this);a.getEventBus().unsubscribe(\"launchpad\",\"actionModeInactive\",this._handleActionModeChange,this);a.getEventBus().unsubscribe(\"launchpad\",\"GroupHeaderVisibility\",this._updateGroupHeaderVisibility,this);a.getEventBus().unsubscribe(\"launchpad\",\"AddTileContainerContent\",this._addTileContainersContent,this);if(this.oGroupsContainer){this.oGroupsContainer.destroy()}w.fnDashboardGroupsBoxGetter=undefined;if(this._oHost){this._oHost.destroy()}},calculateFilter:function(){const e=[];let t;const i=this.oModel.getProperty(\"/homePageGroupDisplay\");const n=this.oModel.getProperty(\"/tileActionModeActive\");if(!n){if(i&&i===\"tabs\"){t=new d(\"isGroupSelected\",p.EQ,true)}else{t=new d(\"isGroupVisible\",p.EQ,true)}e.push(t)}return e},zipPromiseAll:function(e,t){return Promise.all(t).then(t=>i(e,t))},loadCardModuleIfNeeded:function(){if(b.last(\"/core/home/featuredGroup/enable\")){return a.loadLibrary(\"sap.ui.integration\",{async:true}).then(()=>new Promise(e=>{sap.ui.require([\"sap/ui/integration/Host\",\"sap/ui/integration/widgets/Card\"],(t,i)=>{this.Card=i;this.Host=t;this._oHost=new t({action:this._onCardAction.bind(this)});e()})}))}return Promise.resolve()},createGroupsBox:function(e,i){this.oController=e;const n=this;function o(e){let t;let i;if(e&&(t=e.getDomRef())){i=t.querySelector(\".sapUshellPlusTile\");if(i){return i}}return null}function s(e){const t=o(e.currentGroup);const i=o(e.endGroup);const s=e.tiles[e.tiles.length-2]===e.item||e.endGroup.getTiles().length===0;if(s){n._hidePlusTile(i)}else{n._showPlusTile(i)}if(e.currentGroup!==e.endGroup){n._showPlusTile(t)}}function r(){G.getLayoutEngine().setExcludedControl(T);G.getLayoutEngine().setReorderTilesCallback.call(G.layoutEngine,s)}function l(){setTimeout(()=>{if(!G.isInited){G.init({getGroups:this.getGroups.bind(this),getAllGroups:n.getAllGroupsFromModel.bind(n),isTabBarActive:n.isTabBarActive.bind(n)}).then(r);c.media.attachHandler(function(){if(!this.bIsDestroyed){G.reRenderGroupsLayout(null)}},this,c.media.RANGESETS.SAP_STANDARD);const i=this.getDomRef();e.getView().sDashboardGroupsWrapperId=!t(i)&&i.parentNode?i.parentNode.id:\"\"}A.emit(\"CenterViewPointContentRendered\");a.getEventBus().publish(\"launchpad\",\"contentRendered\");a.getEventBus().publish(\"launchpad\",\"contentRefresh\");if(this.getBinding(\"groups\")){this.getBinding(\"groups\").filter(n.calculateFilter())}},0)}this.isTabBarActive=function(){return this.oModel.getProperty(\"/homePageGroupDisplay\")===\"tabs\"};this.oModel=i;const u=this.calculateFilter();this.oGroupsContainer=new m(\"dashboardGroups\",{displayMode:\"{/homePageGroupDisplay}\",afterRendering:l});this.zipPromiseAll([\"launchpadService\",\"\"],[sap.ushell.Container.getServiceAsync(\"FlpLaunchPage\"),n.loadCardModuleIfNeeded()]).then(t=>{this.isLinkPersonalizationSupported=t.launchpadService.isLinkPersonalizationSupported();this.oGroupsContainer.bindAggregation(\"groups\",{filters:u,path:\"/groups\",factory:function(){return n._createTileContainer(e,i)}})});if(c.system.desktop){this.oGroupsContainer.addEventDelegate({onBeforeFastNavigationFocus:function(e){e.preventDefault();sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\"],e=>{e.getInstance().then(e=>{e.goToLastVisitedTile()})})},onsaptabnext:function(e){const t=document.getElementById(\"sapUshellFloatingContainerWrapper\");const i=t&&!t.classList.contains(\"sapUshellShellHidden\");if(i&&e.originalEvent.srcElement.id!==\"\"){e.preventDefault();a.getEventBus().publish(\"launchpad\",\"shellFloatingContainerIsAccessible\")}}})}return this.oGroupsContainer},getAllGroupsFromModel:function(){return this.oModel.getProperty(\"/groups\")},_createTileContainer:function(e){const t=this;const i=new d(\"isTileIntentSupported\",p.EQ,true);const n=new I({headerText:\"{title}\",showEmptyLinksArea:{parts:[\"/tileActionModeActive\",\"links/length\",\"isGroupLocked\",\"/isInDrag\",\"/homePageGroupDisplay\"],formatter:function(e,t,i,n,o){if(t){return true}else if(i){return false}return e||n&&o===\"tabs\"}},showMobileActions:{parts:[\"/tileActionModeActive\"],formatter:function(e){return e&&!this.getDefaultGroup()}},showIcon:{parts:[\"/isInDrag\",\"/tileActionModeActive\"],formatter:function(e,t){return this.getIsGroupLocked()&&(e||t)}},deluminate:{parts:[\"/isInDrag\"],formatter:function(e){return this.getIsGroupLocked()&&e}},transformationError:{parts:[\"/isInDrag\",\"/draggedTileLinkPersonalizationSupported\"],formatter:function(e,t){return e&&!t}},showBackground:\"{/tileActionModeActive}\",tooltip:\"{title}\",tileActionModeActive:\"{/tileActionModeActive}\",enableHelp:b.last(\"/core/extension/enableHelp\"),groupId:\"{groupId}\",defaultGroup:\"{isDefaultGroup}\",isLastGroup:\"{isLastGroup}\",isGroupLocked:\"{isGroupLocked}\",isGroupSelected:\"{isGroupSelected}\",showHeader:true,showGroupHeader:\"{showGroupHeader}\",homePageGroupDisplay:\"{/homePageGroupDisplay}\",editMode:\"{editMode}\",supportLinkPersonalization:this.isLinkPersonalizationSupported,titleChange:function(e){a.getEventBus().publish(\"launchpad\",\"changeGroupTitle\",{groupId:e.getSource().getGroupId(),newTitle:e.getParameter(\"newTitle\")})},showEmptyLinksAreaPlaceHolder:{parts:[\"links/length\",\"/isInDrag\",\"/homePageGroupDisplay\"],formatter:function(e,t,i){return t&&i===\"tabs\"&&!e}},showPlaceholder:{parts:[\"/tileActionModeActive\",\"tiles/length\"],formatter:function(e){return e&&!this.getIsGroupLocked()}},visible:{parts:[\"/tileActionModeActive\",\"isGroupVisible\",\"visibilityModes\"],formatter:function(e,t,i){if(!i[e?1:0]){return false}return t||e}},hidden:{parts:[\"/tileActionModeActive\",\"isGroupVisible\"],formatter:function(e,t){return e&&!t}},links:this._getLinkTemplate(),tiles:{path:\"tiles\",factory:this._itemFactory.bind(this),filters:[i]},add:function(e){t._handleAddTileToGroup(e)}});return n},_getLinkTemplate:function(){const e=new d(\"isTileIntentSupported\",p.EQ,true);if(!this.isLinkPersonalizationSupported){return{path:\"links\",templateShareable:true,template:new y({uuid:\"{uuid}\",tileCatalogId:\"{tileCatalogId}\",tileCatalogIdStable:\"{tileCatalogIdStable}\",target:\"{target}\",isLocked:\"{isLocked}\",tileActionModeActive:\"{/tileActionModeActive}\",debugInfo:\"{debugInfo}\",tileViews:{path:\"content\",factory:function(e,t){return t.getObject()}},afterRendering:function(e){const t=this.getDomRef().getElementsByTagName(\"a\");for(let e=0;e{t.toExternal({target:{semanticObject:e.semanticObject,action:e.action},params:e.params,appSpecificRoute:e.appSpecificRoute})})},_createErrorTile:function(){return new P({tileViews:{path:\"content\",factory:function(){return new o({state:\"Failed\"})}}})},_createTile:function(){const e=new P({long:\"{long}\",isDraggedInTabBarToSourceGroup:\"{draggedInTabBarToSourceGroup}\",uuid:\"{uuid}\",tileCatalogId:\"{tileCatalogId}\",tileCatalogIdStable:\"{tileCatalogIdStable}\",isCustomTile:\"{isCustomTile}\",target:\"{target}\",isLocked:\"{isLocked}\",navigationMode:\"{navigationMode}\",tileActionModeActive:\"{/tileActionModeActive}\",showActionsIcon:\"{showActionsIcon}\",rgba:\"{rgba}\",debugInfo:\"{debugInfo}\",tileViews:{path:\"content\",factory:function(e,t){return t.getObject()}},coverDivPress:function(e){if(!e.oSource.getBindingContext().getObject().tileIsBeingMoved&&f){f._openActionsMenu(e)}},showActions:function(e){if(f){f._openActionsMenu(e)}},deletePress:[this.oController._dashboardDeleteTileHandler,this.oController],press:[this.oController.dashboardTilePress,this.oController]});const t=a.byId(\"viewPortContainer\");e.addEventDelegate({onclick:function(){h.start(\"FLP:DashboardGroupsBox.onclick\",\"Click on tile\",\"FLP\");h.start(\"FLP:OpenApplicationonClick\",\"Open Application\",\"FLP\");function e(){h.end(\"FLP:DashboardGroupsBox.onclick\");t.detachAfterNavigate(e)}t.attachAfterNavigate(e)}});return e},_updateGroupHeaderVisibility:function(){const e=this.oGroupsContainer.getGroups();const t=this.oModel.getProperty(\"/tileActionModeActive\");const i=this.oController.getView().oAnchorNavigationBar.getVisible();let n;let o=0;for(let t=0;t{\"use strict\";const a=o.extend(\"sap.ushell.components.homepage.DashboardUIActions\",{metadata:{publicMethods:[\"initializeUIActions\"]},constructor:function(){this.aTabBarItemsLocation=[];if(a.fnDashboardUIActionsGetter&&a.fnDashboardUIActionsGetter()){return a.fnDashboardUIActionsGetter()}a.fnDashboardUIActionsGetter=function(e){return function(){return e}}(this.getInterface());this.oTileUIActions=undefined;this.oLinkUIActions=undefined;this.oGroupUIActions=undefined;this.oController=undefined;this.UIActionsInitialized=false;n.getEventBus().subscribe(\"launchpad\",\"actionModeActive\",this._enableGroupUIActions,this);n.getEventBus().subscribe(\"launchpad\",\"actionModeInactive\",this._disableGroupUIActions,this)},destroy:function(){n.getEventBus().unsubscribe(\"launchpad\",\"actionModeActive\",this._enableGroupUIActions,this);n.getEventBus().unsubscribe(\"launchpad\",\"actionModeInactive\",this._disableGroupUIActions,this);a.fnDashboardUIActionsGetter=undefined;this.oGroupUIActions=null;this.oTileUIActions=null;this.oLinkUIActions=null},initializeUIActions:function(e){this.oController=e;if(e.getView().getModel().getProperty(\"/homePageGroupDisplay\")===\"tabs\"){this._fillTabBarItemsArray()}const o=jQuery(\"#sapUshellDashboardPage\").width();const n=e.getView().sDashboardGroupsWrapperId;let i;const l=s.getRTL();const a={containerSelector:\"#dashboardGroups\",wrapperSelector:n?`#${n}`:undefined,rootSelector:\"#mainShell\"};const r=t({},a,{switchModeDelay:1e3,isTouch:e.getView().isTouch,isCombi:e.getView().isCombi,debug:false});const c={draggableSelector:\".sapUshellLinkTile\",placeHolderClass:\"sapUshellLinkTile-placeholder\",cloneClass:\"sapUshellLinkTile-clone\",endCallback:this._handleLinkDrop.bind(this),dragCallback:this._handleStartDragTile.bind(this),onBeforeCreateClone:this._onBeforeCreateLinkClone.bind(this),dragAndScrollCallback:this._handleTileDragMove.bind(this),endDragAndScrollCallback:this._handleTileDragAndScrollContinuation.bind(this),moveTolerance:e.getView().isTouch||e.getView().isCombi?10:3,isLayoutEngine:true,disabledDraggableSelector:\"sapUshellLockedTile\",onDragStartUIHandler:this._markDisableGroups.bind(this),onDragEndUIHandler:this._endUIHandler.bind(this),offsetLeft:l?o:-o,defaultMouseMoveHandler:function(){}};const d={draggableSelector:\".sapUshellTile\",draggableSelectorExclude:\".sapUshellPlusTile\",placeHolderClass:\"sapUshellTile-placeholder\",cloneClass:\"sapUshellTile-clone\",deltaTop:-44,scrollContainerSelector:undefined,endCallback:this._handleTileDrop.bind(this),dragCallback:this._handleStartDragTile.bind(this),dragAndScrollCallback:this._handleTileDragMove.bind(this),endDragAndScrollCallback:this._handleTileDragAndScrollContinuation.bind(this),moveTolerance:e.getView().isTouch||e.getView().isCombi?10:3,isLayoutEngine:true,disabledDraggableSelector:\"sapUshellLockedTile\",onDragStartUIHandler:this._markDisableGroups.bind(this),onDragEndUIHandler:this._endUIHandler.bind(this),offsetLeft:l?o:-o,defaultMouseMoveHandler:function(){}};const h={draggableSelector:\".sapUshellDashboardGroupsContainerItem:not(.sapUshellDisableDragAndDrop)\",draggableSelectorBlocker:\".sapUshellTilesContainer-sortable, .sapUshellTileContainerBeforeContent, .sapUshellTileContainerAfterContent\",draggableSelectorExclude:\".sapUshellHeaderActionButton\",placeHolderClass:\"sapUshellDashboardGroupsContainerItem-placeholder\",cloneClass:\"sapUshellDashboardGroupsContainerItem-clone\",startCallback:this._handleGroupsUIStart.bind(this),endCallback:this._handleGroupDrop.bind(this),dragCallback:this._handleGroupStartDrag.bind(this),moveTolerance:e.getView().isTouch||e.getView().isCombi?10:.1,isLayoutEngine:false,isVerticalDragOnly:true,draggableElement:\".sapUshellTileContainerHeader\"};if(e.getView().oDashboardGroupsBox.getGroups().length){if(e.getView().getModel().getProperty(\"/personalization\")){sap.ui.require([\"sap/ushell/UIActions\"],o=>{sap.ushell.Container.getServiceAsync(\"FlpLaunchPage\").then(s=>{this._disableTileUIActions();this._disableGroupUIActions();this._disableLinkUIActions();this.oTileUIActions=new o(t({},r,d)).enable();this.oGroupUIActions=new o(t({},r,h));if(s.isLinkPersonalizationSupported()){this.oLinkUIActions=new o(t({},r,c)).enable()}i=e.getView().getModel().getProperty(\"/tileActionModeActive\");if(i){this.oGroupUIActions.enable()}})})}}},_enableGroupUIActions:function(){if(this.oGroupUIActions){this.oGroupUIActions.enable()}},disableAllDashboardUiAction:function(){this._disableTileUIActions();this._disableLinkUIActions();this._disableGroupUIActions()},_disableTileUIActions:function(){if(this.oTileUIActions){this.oTileUIActions.disable()}},_disableLinkUIActions:function(){if(this.oLinkUIActions){this.oLinkUIActions.disable()}},_disableGroupUIActions:function(){if(this.oGroupUIActions){this.oGroupUIActions.disable()}},_handleTileDragMove:function(e){if(!e.isScrolling){l.getLayoutEngine().moveDraggable(e.moveX,e.moveY,this.aTabBarItemsLocation)}},_handleTileDragAndScrollContinuation:function(e){const t=jQuery(\"#anchorNavigationBar\").offset();const o=t?t.top:0;if(e{const e=document.getElementById(\"dashboardGroups\");const t=e&&e.getElementsByClassName(\"sapUshellHidePlusTile\");for(let e=0;e{s.resolve()},0)})}else{setTimeout(()=>{s.resolve()},0)}return s.promise()},_handleTileDrop:function(e,t,o){if(l.getLayoutEngine().isOriginalAreaChanged()){return this._handleTileToLinkDrop(e,t,o)}return this._handleTileToTileDrop(e,t,o)},_handleTileToLinkDrop:function(e,t,o){return this._handleLinkDrop(e,t,o)},_handleTileToTileDrop:function(e,t,o){let s;function n(e,t){l.endDragMode();const o=document.getElementById(\"dashboardGroups\");const s=o&&o.getElementsByClassName(\"sapUshellHidePlusTile\");for(let e=0;e{c.resolve();n.call(this,e,t)},0);return c.promise()}n.apply(this,arguments)}if(o&&o.clone){c=jQuery.Deferred();s=jQuery(o.clone);setTimeout(()=>{c.resolve();n.call(this,e,t)},0);return c.promise()}setTimeout(()=>{n.call(this,e,t)},0)},_getTileTopOffset:function(e,t,o){const s=0;let n=s+o;n+=e.closest(\".sapUshellDashboardGroupsContainerItem\").position().top;n+=t.top;return n},_markDisableGroups:function(){if(this.oController.getView().getModel()){this.oController.getView().getModel().setProperty(\"/isInDrag\",true)}},_endUIHandler:function(){l.endDragMode();if(this.oController.getView().getModel()){this.oController.getView().getModel().setProperty(\"/isInDrag\",false)}},_handleGroupStartDrag:function(t,o){this.oTileUIActions.disable();if(this.oLinkUIActions){this.oLinkUIActions.disable()}const l=jQuery(\".sapUshellDashboardGroupsContainerItem-clone\");const a=l.find(\".sapUshellContainerTitle\");const r=a.height();const c=a.width();const d=s.getRTL();if(!i.system.phone){l.find(\".sapUshellTileContainerEditMode\").offset({top:this.oGroupUIActions.getMove().y-r,left:d?jQuery(\"#sapUshellDashboardPage\").width()+this.oGroupUIActions.getMove().x+c:this.oGroupUIActions.getMove().x-c/2});jQuery(\".sapUshellTileContainerBeforeContent\").addClass(\"sapUshellTileContainerHidden\")}else{jQuery(\".sapUshellTilesContainer-sortable\").addClass(\"sapUshellTileContainerRemoveContent\");jQuery(\".sapUshellLineModeContainer\").addClass(\"sapUshellTileContainerRemoveContent\");jQuery(\".sapUshellTileContainerBeforeContent\").addClass(\"sapUshellTileContainerRemoveContent\");jQuery(\".sapUshellContainerHeaderActions\").addClass(\"sapUshellTileContainerHidden\")}jQuery(\".sapUshellTileContainerAfterContent\").addClass(\"sapUshellTileContainerRemoveContent\");jQuery(o).find(\".sapUshellContainerHeaderActions\").addClass(\"sapUshellTileContainerHidden\");this.oController.getView().getModel().setProperty(\"/isInDrag\",true);jQuery(o).attr(\"startPos\",jQuery(o).index());e.info(`startPos - ${jQuery(o).index()}`);setTimeout(()=>{n.getEventBus().publish(\"launchpad\",\"sortableStart\")},0);const h=jQuery(\"#dashboardGroups\").offset().top;const p=jQuery(\".sapUshellDashboardGroupsContainerItem-placeholder\").offset().top;const u=jQuery(\".sapUshellDashboardGroupsContainerItem-clone\").offset().top;const g=p-h-u;jQuery(\".sapUshellDashboardView section\").css({scrollTop:g})},_handleGroupsUIStart:function(e,t){jQuery(t).find(\".sapUshellTileContainerContent\").css(\"outline-color\",\"transparent\")},_handleGroupDrop:function(e,t){const o=n.getEventBus();const s=jQuery(t);const i=jQuery(s.children()[0]).attr(\"id\");const l=n.byId(i);const a=n.byId(\"dashboardGroups\");const r={group:l,groupChanged:false,focus:false};const c=s.index();s.startPos=window.parseInt(s.attr(\"startPos\"),10);a.removeAggregation(\"groups\",l,true);a.insertAggregation(\"groups\",l,c,true);this._handleGroupMoved(e,{item:s});s.removeAttr(\"startPos\");n.getEventBus().publish(\"launchpad\",\"sortableStop\");setTimeout(()=>{jQuery(\".sapUshellContainerHeaderActions\").removeClass(\"sapUshellTileContainerHidden\");jQuery(\".sapUshellTileContainerBeforeContent\").removeClass(\"sapUshellTileContainerHidden\");jQuery(\".sapUshellTileContainerBeforeContent\").removeClass(\"sapUshellTileContainerRemoveContent\");jQuery(\".sapUshellTileContainerAfterContent\").removeClass(\"sapUshellTileContainerRemoveContent\");jQuery(\".sapUshellTilesContainer-sortable\").removeClass(\"sapUshellTileContainerRemoveContent\");jQuery(\".sapUshellLineModeContainer\").removeClass(\"sapUshellTileContainerRemoveContent\")},0);window.setTimeout(o.publish.bind(o,\"launchpad\",\"scrollToGroup\",r),1);this.oTileUIActions.enable();if(this.oLinkUIActions){this.oLinkUIActions.enable()}},_handleGroupMoved:function(e,t){const o=t.item.startPos;const s=t.item.index();const n=this.oController.getView().getModel();if(s!==-1){this.oController._publishAsync(\"launchpad\",\"moveGroup\",{fromIndex:o,toIndex:s});setTimeout(()=>{n.setProperty(\"/isInDrag\",false)},100)}},_setController:function(e){this.oController=e}});return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/pages/ActionMode\", [\"sap/ui/Device\",\"sap/m/MessageBox\",\"sap/m/MessageToast\",\"sap/ui/core/Element\",\"sap/ushell/resources\",\"sap/ushell/EventHub\",\"sap/base/Log\",\"sap/ushell/Container\"],(e,t,n,o,i,s,c,r)=>{\"use strict\";const a={};a.start=function(t,n){this.oController=t;const c=t.getView().getModel(\"viewSettings\");const r=c.getProperty(\"/addToMyHomeOnly\");if(!r){t.getView().getModel(\"viewSettings\").setProperty(\"/actionModeEditActive\",true)}t.getView().getModel(\"viewSettings\").setProperty(\"/actionModeActive\",true);t.handleMyHomeActionMode(true).catch(t.navigateToErrorPage.bind(t));s.emit(\"enableMenuBarNavigation\",false);const a=o.getElementById(\"ActionModeBtn\");this.sActionButtonActivateText=a.getText();n=n||i.i18n.getText(\"PageRuntime.EditMode.Exit\");a.setTooltip(n);a.setText(n);if(e.system.desktop){sap.ui.require([\"sap/ushell/renderer/AccessKeysHandler\"],e=>{e.attachEvent(\"editModeDone\",this.save,this)})}};a.cancel=function(){this._cleanup()};a.save=function(){c.info(\"store actions in pages service\");this._cleanup()};a._cleanup=function(){this.oController.getView().getModel(\"viewSettings\").setProperty(\"/actionModeActive\",false);this.oController.getView().getModel(\"viewSettings\").setProperty(\"/actionModeEditActive\",false);this.oController.handleMyHomeActionMode(false).catch(this.oController.navigateToErrorPage.bind(this.oController));s.emit(\"enableMenuBarNavigation\",true);const t=o.getElementById(\"ActionModeBtn\");t.setTooltip(this.sActionButtonActivateText);t.setText(this.sActionButtonActivateText);if(e.system.desktop){sap.ui.require([\"sap/ushell/renderer/AccessKeysHandler\"],e=>{e.detachEvent(\"editModeDone\",this.save,this)})}};a.addVisualization=function(e,t){const n=t.getBindingContext().getModel();const o=t.getBindingContext().getPath();const i=o.split(\"/\");const s=parseInt(i[2],10);const c=n.getProperty(`/pages/${s}/id`);const a=n.getProperty(`${o}/id`);r.getServiceAsync(\"Navigation\").then(e=>{const t=`Shell-appfinder?&/catalog/${JSON.stringify({pageID:encodeURIComponent(c),sectionID:encodeURIComponent(a)})}`;e.navigate({target:{shellHash:t}})})};a.addSection=function(e,t,n){const o=n.index;const i=t.getBindingContext().getPath();const s=i.split(\"/\");const c=parseInt(s[2],10);return this.oController.getOwnerComponent().getPagesService().then(e=>{e.addSection(c,o);const n={onAfterRendering:function(){setTimeout(()=>{t.getSections()[o].getTitleInput().focus()},0);t.removeEventDelegate(n)}};t.addEventDelegate(n)})};a.deleteSection=function(e,o){return r.getServiceAsync(\"MessageInternal\").then(e=>{const s=o.getTitle();const c=s?i.i18n.getText(\"PageRuntime.Message.Section.Delete\",[s]):i.i18n.getText(\"PageRuntime.Message.Section.DeleteNoTitle\");const r=i.i18n.getText(\"PageRuntime.Dialog.Title.Delete\");function a(e){if(e===t.Action.DELETE){this.oController.getOwnerComponent().getPagesService().then(e=>{const t=o.getBindingContext().getPath();const s=o.getParent();const c=t.split(\"/\");const r=parseInt(c[2],10);const a=parseInt(c[4],10);e.deleteSection(r,a);n.show(i.i18n.getText(\"PageRuntime.Message.SectionDeleted\"));const g=s.getSections();if(g.length){const e=g[a!==0?a-1:a];e.focus();const t={onAfterRendering:function(){e.focus();e.removeEventDelegate(t)}};e.addEventDelegate(t)}else{const e={onAfterRendering:function(){s.focus();s.removeEventDelegate(e)}};s.addEventDelegate(e)}})}}e.confirm(c,a.bind(this),r,[t.Action.DELETE,t.Action.CANCEL])})};a.resetSection=function(e,t){const o=t.getBindingContext().getPath();const s=o.split(\"/\");const c=parseInt(s[2],10);const r=parseInt(s[4],10);return this.oController.getOwnerComponent().getPagesService().then(e=>{e.resetSection(c,r);n.show(i.i18n.getText(\"PageRuntime.Message.SectionReset\"))})};a.changeSectionTitle=function(e,t,n){const o=t.getBindingContext().getPath();const i=t.getProperty(\"title\");const s=o.split(\"/\");const c=parseInt(s[2],10);const r=parseInt(s[4],10);return this.oController.getOwnerComponent().getPagesService().then(e=>{e.renameSection(c,r,i)})};a.moveSection=function(e,t,n){const o=n.draggedControl.getBindingContext().getPath();const i=n.droppedControl.getBindingContext().getPath();const s=n.dropPosition;const c=i.split(\"/\");const r=o.split(\"/\");const a=parseInt(r[2],10);const g=parseInt(r[4],10);let l=parseInt(c[4],10);if(g===l-1&&s===\"Before\"||g===l+1&&s===\"After\"){return Promise.resolve()}if(s===\"After\"){l=l+1}const d=this.oController.getOwnerComponent();return d.getPagesService().then(e=>e.moveSection(a,g,l)).then(()=>{t.announceMove();t.getSections()[l!==0&&l>g?l-1:l].focus()})};a.changeSectionVisibility=function(e,t,n){if(this.oController===undefined||n.visible===undefined){return Promise.resolve()}const o=t.getBindingContext().getPath();const i=n.visible;const s=o.split(\"/\");const c=parseInt(s[2],10);const r=parseInt(s[4],10);return this.oController.getOwnerComponent().getPagesService().then(e=>{e.setSectionVisibility(c,r,i)})};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/pages/Component\", [\"sap/ui/core/InvisibleMessage\",\"sap/ui/core/UIComponent\",\"sap/ushell/components/SharedComponentUtils\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,n,o,i)=>{\"use strict\";return t.extend(\"sap.ushell.components.pages.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},init:function(){t.prototype.init.apply(this,arguments);n.toggleUserActivityLog();n.getEffectiveHomepageSetting(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\",\"/core/contentProviders/providerInfo/userConfigurable\");n.getEffectiveHomepageSetting(\"/core/home/sizeBehavior\",\"/core/home/sizeBehaviorConfigurable\");this.setModel(o.i18nModel,\"i18n\");this._oPagesService=i.getServiceAsync(\"Pages\");this._oInvisibleMessageInstance=e.getInstance()},getNavigationDisabled:function(){const e=this.getComponentData()||{};return!!e.navigationDisabled},getPagesService:function(){return this._oPagesService},getInvisibleMessageInstance:function(){return this._oInvisibleMessageInstance},hideRuntime:function(){this.getRootControl().getController().hideRuntime()},onRouteMatched:function(){this.getRootControl().getController().onRouteMatched()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/pages/MyHomeImport\", [\"sap/base/i18n/Localization\",\"sap/ushell/EventHub\",\"sap/ushell/Config\",\"sap/ushell/utils/HttpClient\",\"sap/base/util/ObjectPath\",\"sap/ushell/Container\"],(e,t,s,n,r,o)=>{\"use strict\";const a={};const i=\"/UI2/Fiori2LaunchpadHome\";a.getData=function(){if(!this.oPageSetPromise){this.oPageSetPromise=new Promise((t,s)=>{const a=\"PageSets('%2FUI2%2FFiori2LaunchpadHome')\"+\"?$expand=Pages/PageChipInstances/ChipInstanceBags/ChipInstanceProperties,\"+\"Pages/PageChipInstances/Chip\"+\"&$format=json\";const i={\"Cache-Control\":\"no-cache, no-store, must-revalidate\",Pragma:\"no-cache\",Expires:\"0\",\"Accept-Language\":e.getLanguage()||\"\",Accept:\"application/json, text/plain\"};const c=o.getUser().getLanguage();if(c){i[\"sap-language\"]=c}const l=o.getLogonSystem();const u=l&&l.getClient();if(u){i[\"sap-client\"]=u}const p=window[\"sap-ushell-config\"].services&&window[\"sap-ushell-config\"].services.PageBuilding||{};const d=(r.get(\"config.services.pageBuilding.baseUrl\",p.adapter)||\"\").replace(/\\/?$/,\"/\");const g=new n(d,{headers:i});g.get(a).then(e=>{t(this.parseData.bind(this)(e))}).catch(s)})}return this.oPageSetPromise};a.isImportEnabled=function(){return o.getServiceAsync(\"UserInfo\").then(e=>{const t=e.getUser();const s=t.getImportBookmarksFlag();switch(s){case\"done\":case\"dismissed\":case\"not_required\":return false;case null:return this.getData().then(s=>{const n=!!s.length;const r=n?\"pending\":\"not_required\";t.setImportBookmarksFlag(r);e.updateUserPreferences();t.resetChangedProperty(\"importBookmarks\");return n});default:return true}})};a.parseData=function(e){try{let t=JSON.parse(e.responseText);if(t&&t.d){t=t.d}const n=t.configuration&&JSON.parse(t.configuration)||{};const r=n.hiddenGroups||[];const o=t.Pages.results.filter(e=>{const t=e.scope===\"PERSONALIZATION\";const s=e.PageChipInstances.results.length>0;const n=r.indexOf(e.id)===-1;return t&&s&&n});const a=n.order||[];o.sort((e,t)=>{if(a.indexOf(e.id)>a.indexOf(t.id)){return 1}if(a.indexOf(e.id){let t;if(e.layout){t=JSON.parse(e.layout)}const s={id:e.id,title:e.title,isLocked:e.isPersLocked===\"X\",isDefault:e.id===i,tileOrder:t&&t.order||[],linkOrder:t&&t.linkOrder||[],chips:e.PageChipInstances.results};if(s.isLocked){c.push(s)}else if(s.isDefault){l=s}else{u.push(s)}});if(!s.last(\"/core/home/disableSortedLockedGroups\")){c.sort((e,t)=>e.title.toLowerCase(){const s=t.getUser();const n=e?null:\"dismissed\";s.setImportBookmarksFlag(n);t.updateUserPreferences();s.resetChangedProperty(\"importBookmarks\")})};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/pages/StateManager\", [\"sap/ui/core/EventBus\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/utils\",\"sap/ushell/EventHub\"],(i,t,e,s)=>{\"use strict\";const a={};a.init=function(t,e){this.aRefreshVisualizations=[];this.oPagesVisibility={};this.oPagesRuntimeNavContainer=t;this.oPagesNavContainer=e;this.oPagesRuntimeNavContainer.attachNavigate(this._onOuterNavContainerNavigated,this);this.oPagesNavContainer.attachNavigate(this._onPageNavigated,this);this._onTabNavigatedBind=this._onTabNavigated.bind(this);document.addEventListener(\"visibilitychange\",this._onTabNavigatedBind);this.oEventBus=i.getInstance();this.oEventBus.subscribe(\"launchpad\",\"setConnectionToServer\",this._onEnableRequests,this);this.oEventBus.subscribe(\"sap.ushell\",\"navigated\",this._onShellNavigated,this);this.oEventHubListener=s.once(\"PagesRuntimeRendered\").do(()=>{this._setCurrentPageVisibility(true)})};a._onEnableRequests=function(i,t,e){if(!e||e.active===undefined){return}this._setCurrentPageVisibility(e.active)};a._setCurrentPageVisibility=function(i){const t=this.oPagesNavContainer.getCurrentPage();if(t){this._setPageVisibility(t,i,false)}};a._setPageVisibility=function(i,t,e){if(!i){return}if(i.getContent()[0].isA(\"sap.ushell.ui.launchpad.Page\")){const s=i.getBindingContext().getPath();if(this.oPagesVisibility[s]===t){return}this.oPagesVisibility[s]=t;this._visitVisualizations(i,i=>{i.setActive(t,e)})}};a._isPagesNavContainerVisible=function(){return this.oPagesRuntimeNavContainer.getCurrentPage()===this.oPagesNavContainer};a._visitVisualizations=function(i,t){if(!t){return}i.getContent()[0].getSections().forEach(i=>{i.getVisualizations().forEach(t)})};a._onShellNavigated=function(){const i=t.getHash();if(e.isFlpHomeIntent(i)&&this._isPagesNavContainerVisible()){this._setCurrentPageVisibility(true);this._refreshVisualizations()}else{this._setCurrentPageVisibility(false)}return Promise.resolve()};a.addVisualizationForRefresh=function(i){this.aRefreshVisualizations.push(i)};a._refreshVisualizations=function(){this.aRefreshVisualizations.forEach(i=>{i.setActive(i.getActive(),true)});this.aRefreshVisualizations=[]};a._onTabNavigated=function(){const i=t.getHash();if(e.isFlpHomeIntent(i)&&this._isPagesNavContainerVisible()){this._setCurrentPageVisibility(!document.hidden)}return Promise.resolve()};a._onPageNavigated=function(i){if(this._isPagesNavContainerVisible()){const t=i.getParameters();this._setPageVisibility(t.from,false,false);this._setPageVisibility(t.to,true,false)}};a._onOuterNavContainerNavigated=function(i){const t=i.getParameter(\"to\");const e=t===this.oPagesNavContainer;this._setCurrentPageVisibility(e)};a.getPageVisibility=function(i){return this.oPagesVisibility[i]};a.exit=function(){this.oEventBus.unsubscribe(\"sap.ushell\",\"navigated\",this._onShellNavigated,this);document.removeEventListener(\"visibilitychange\",this._onTabNavigatedBind);this.oPagesNavContainer.detachNavigate(this._onPageNavigated,this);this.oPagesRuntimeNavContainer.detachNavigate(this._onOuterNavContainerNavigated,this);this.oEventBus.unsubscribe(\"launchpad\",\"setConnectionToServer\",this._onEnableRequests,this);this.oEventHubListener.off()};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/pages/controller/ImportDialog.controller\", [\"sap/base/Log\",\"sap/ui/core/mvc/Controller\",\"sap/ui/core/Fragment\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/components/pages/MyHomeImport\",\"sap/ushell/Config\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/Container\"],(e,t,i,s,a,o,n,r,l,c)=>{\"use strict\";const u=n.DisplayFormat;const d={\"X-SAP-UI2-CHIP:SSB_NUMERIC\":\"ssuite/smartbusiness/tiles/numeric\",\"X-SAP-UI2-CHIP:SSB_CONTRIBUTION\":\"ssuite/smartbusiness/tiles/contribution\",\"X-SAP-UI2-CHIP:SSB_TREND\":\"ssuite/smartbusiness/tiles/trend\",\"X-SAP-UI2-CHIP:SSB_DEVIATION\":\"ssuite/smartbusiness/tiles/deviation\",\"X-SAP-UI2-CHIP:SSB_COMPARISON\":\"ssuite/smartbusiness/tiles/comparison\",\"X-SAP-UI2-CHIP:SSB_BLANK\":\"ssuite/smartbusiness/tiles/blank\",\"X-SAP-UI2-CHIP:SSB_DUAL\":\"ssuite/smartbusiness/tiles/dual\"};return t.extend(\"sap.ushell.components.pages.controller.ImportDialog\",{open:async function(){if(!this._oDialog){this._oDialog=await i.load({name:\"sap.ushell.components.pages.view.ImportDialog\",controller:this});this._oDialog.setModel(r.i18nModel,\"i18n\");this._oDialog.setModel(new s({busy:true,groups:[],PersonalizedGroups:[]}));try{const e=await a.getData();this._oDialog.getModel().setData({busy:false,groups:e,PersonalizedGroups:e.map(e=>({title:e.isDefault?r.i18n.getText(\"my_group\"):e.title,description:e.id,selected:true}))})}catch(e){const t=await c.getServiceAsync(\"MessageInternal\");t.error(e)}}this._oURLParsingService=await c.getServiceAsync(\"URLParsing\");this._oDialog.open();return this._oDialog},close:function(){if(this._oDialog){this._oDialog.close()}},doImport:function(){const e=this._oDialog.getModel();const t=[];e.getProperty(\"/PersonalizedGroups\").forEach(e=>{if(e.selected){t.push(e.description)}});const i=this._prepareImport(t);this._saveImport(i)},_moveVisualization:function(e,t,i,s,a){const o=this._getSectionIndex(e,t,i,a);const n=this._getDefaultSectionIndex(e);const r=this._getDefaultSection(e);let l=0;if(r&&r.visualizations&&r.visualizations.length){l=r.visualizations.length-1}return e.moveVisualization(this.iPageIndex,n,l,o,s)},_updateVisualization:async function(e,t,i,s,a,o){if(i.bUpdateNeeded){const n=this._getSectionIndex(e,t,s,o);const r=this._filterNonSupportedProperties(i,[\"title\",\"target\",\"subtitle\",\"icon\",\"info\",\"numberUnit\",\"indicatorDataSource\",\"displayFormatHint\"]);return e.updateVisualization(this.iPageIndex,n,a,r)}},_addVisualization:function(e,t,i,s,a,o,n){let r;if(t.isABookmark){if(t.isCustomBookmark){this.aPromiseChain.push(async()=>{r=this._filterNonSupportedProperties(t,[\"title\",\"url\",\"subtitle\",\"icon\",\"info\",\"vizConfig\",\"loadManifest\",\"chipConfig\"]);await a.bookmark.addCustomBookmark(t.vizType,r,o);await this._moveVisualization(a.pages,e,s,i,n);return this._updateVisualization(a.pages,e,t,s,i,n)})}else{this.aPromiseChain.push(async()=>{r=this._filterNonSupportedProperties(t,[\"title\",\"url\",\"icon\",\"info\",\"subtitle\",\"serviceUrl\",\"serviceRefreshInterval\",\"numberUnit\"]);await a.bookmark.addBookmark(r,o);await this._moveVisualization(a.pages,e,s,i,n);return this._updateVisualization(a.pages,e,t,s,i,n)})}}else{this.aPromiseChain.push(async()=>{const o=this._getSectionIndex(a.pages,e,s,n);const r=a.pages.getModel().getProperty(`/pages/${this.iPageIndex}/sections/${o}/id`);await a.pages.addVisualization(this.sPageId,r,t.vizId);return this._updateVisualization(a.pages,e,t,s,i,n)})}},_addToPresetSection:function(e,t,i,s,a){const o=this._getPresetSection(i.pages);const n=o.visualizations.filter(e=>e.displayFormatHint!==u.Compact).length;const r=o.visualizations.filter(e=>e.displayFormatHint===u.Compact).length;for(let o=0;o{const s=this._getSectionIndex(i.pages,e,t,a);return i.pages.addSection(this.iPageIndex,s,{title:e.title})});for(let o=0,n=e.tiles.length;oe.id===t);if(!s){return null}return s.children.find(e=>e.id===this.sPageId)},_saveImport:async function(e){this._oDialog.setBusy(true);this.sPageId=o.last(\"/core/spaces/myHome/myHomePageId\");this.aPromiseChain=[];const[t,i,s,a]=await Promise.all([c.getServiceAsync(\"BookmarkV2\"),c.getServiceAsync(\"MessageInternal\"),c.getServiceAsync(\"Pages\"),c.getServiceAsync(\"UserInfo\")]);try{const o=await this._getMyHomeContentNode(t);this.iPageIndex=s.getPageIndex(this.sPageId);s.enableImplicitSave(false);this._performImportOperations(e,{bookmark:t,message:i,pages:s,userInfo:a},o);await this._executeSequentially(this.aPromiseChain);await this._savePersonalizations(s);i.info(r.i18n.getText(\"MyHome.InitialPage.Message.ImportSuccessful\"));a.getUser().setImportBookmarksFlag(\"done\");await a.updateUserPreferences();l.refreshBrowser()}catch(e){i.error(e)}finally{this._oDialog.setBusy(false);this.close()}},_performImportOperations:function(e,t,i){let s;let a=false;for(let o=0,n=e.length;ot.then(()=>i()).catch(t=>{e.error(t)}),Promise.resolve())},_getSectionIndex:function(e,t,i,s){const a=this._getPresetSectionIndex(e);if(!t.isDefault&&!t.isLocked&&!s){return a+i+1}return a+i},_getPresetSectionIndex:function(e){const t=e.getModel().getProperty(`/pages/${this.iPageIndex}/sections/`);return t.findIndex(e=>e.id===o.last(\"/core/spaces/myHome/presetSectionId\"))},_getDefaultSectionIndex:function(e){const t=e.getModel().getProperty(`/pages/${this.iPageIndex}/sections/`);return t.findIndex(e=>e.default)},_getPresetSection:function(e){const t=e.getModel().getProperty(`/pages/${this.iPageIndex}/sections/`);return t.find(e=>e.id===o.last(\"/core/spaces/myHome/presetSectionId\"))},_getDefaultSection:function(e){const t=e.getModel().getProperty(`/pages/${this.iPageIndex}/sections/`);return t.find(e=>e.default)},_gatherVizDataObjectFromChipInstance:function(t){let i;const s={vizId:t.chipId,isABookmark:!!t.configuration};const a=t.Chip&&t.Chip.referenceChipId;if(a&&a!==\"O\"){s.vizId=t.Chip.referenceChipId}if(s.isABookmark){s.isCustomBookmark=[\"X-SAP-UI2-CHIP:/UI2/STATIC_APPLAUNCHER\",\"X-SAP-UI2-CHIP:/UI2/DYNAMIC_APPLAUNCHER\"].indexOf(t.chipId)===-1;i=JSON.parse(JSON.parse(t.configuration).tileConfiguration);s.title=i.display_title_text;s.url=i.navigation_target_url;s.icon=i.display_icon_url;s.info=i.display_info_text;s.subtitle=i.display_subtitle_text;s.serviceUrl=i.service_url;s.serviceRefreshInterval=i.service_refresh_interval;s.numberUnit=i.display_number_unit}if(s.isCustomBookmark){if(i.TILE_PROPERTIES){try{const e=JSON.parse(i.TILE_PROPERTIES);if(!s.url&&e.semanticObject&&e.semanticAction){const t={};if(e.evaluationId){t.EvaluationId=e.evaluationId}s.url=`#${this._oURLParsingService.constructShellHash({target:{semanticObject:e.semanticObject,action:e.semanticAction},params:t})}`}if(e.title){s.title=e.title}if(e.subtitle){s.subtitle=e.subtitle}}catch(t){e.error(`Could not create URL for custom bookmark with title: ${s.title}, Error Message: ${t.message}`)}}s.vizConfig={};s.loadManifest=true;s.vizType=d[t.chipId];s.chipConfig={chipId:t.chipId,bags:{},configuration:JSON.parse(t.configuration)}}const o=t.ChipInstanceBags.results;if(o.length){s.bUpdateNeeded=!s.isABookmark;if(s.isCustomBookmark){o.forEach(e=>{s.chipConfig.bags[e.id]={properties:{},texts:{}};e.ChipInstanceProperties.results.forEach(t=>{if(t.translatable===\"X\"){s.chipConfig.bags[e.id].texts[t.name]=t.value}else{s.chipConfig.bags[e.id].properties[t.name]=t.value}})})}o.filter(e=>e.id===\"tileProperties\").forEach(e=>{e.ChipInstanceProperties.results.forEach(e=>{switch(e.name){case\"display_title_text\":s.title=e.value||s.title;break;case\"display_subtitle_text\":s.subtitle=e.value||s.subtitle;break;case\"display_info_text\":s.info=e.value||s.info;break;case\"display_search_keywords\":s.searchKeyword=e.value;break;default:break}})});o.filter(e=>e.id===\"sb_tileProperties\").forEach(e=>{e.ChipInstanceProperties.results.forEach(e=>{switch(e.name){case\"title\":s.title=e.value;break;case\"description\":s.subtitle=e.value;break;default:break}})})}return s},_savePersonalizations:async function(e){e.enableImplicitSave(true);await e.savePersonalization(this.sPageId);e.enableImplicitSave(false)},_prepareImport:function(e){const t={};const i=this._oDialog.getModel();const s=i.getProperty(\"/groups\");let a;let o;s.forEach(i=>{if(e.indexOf(i.id)===-1){return}a={};i.chips.forEach(e=>{o=this._gatherVizDataObjectFromChipInstance(e);a[e.instanceId]=o});i.tiles=[];i.tileOrder.forEach(e=>{o=a[e];if(o){delete a[e];i.tiles.push(o)}});i.links=[];i.linkOrder.forEach(e=>{o=a[e];if(o){delete a[e];o.displayFormatHint=u.Compact;o.bUpdateNeeded=true;i.links.push(o)}});Object.keys(a).forEach(e=>{i.tiles.push(a[e])});t[i.id]=i});const n=[];let r;e.forEach(e=>{r=t[e];if(r){n.push(r)}});return n},_filterNonSupportedProperties:function(e,t){const i={};Object.keys(e).forEach(s=>{if(t.includes(s)){i[s]=e[s]}});return i}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/pages/controller/MyHome.controller\", [\"sap/ushell/components/pages/MyHomeImport\",\"sap/ui/model/json/JSONModel\",\"sap/ui/core/mvc/Controller\",\"sap/ushell/resources\",\"sap/ushell/EventHub\",\"sap/base/Log\"],(e,o,i,n,s,t)=>{\"use strict\";return i.extend(\"sap.ushell.components.pages.controller.MyHome\",{onInit:function(){this.oViewModel=new o({personalizationAvailable:false});const i=function(e){this.oViewModel.setProperty(\"/personalizationAvailable\",!!e)}.bind(this);this.getView().setModel(n.i18nModel,\"i18n\");this.getView().setModel(this.oViewModel,\"view\");e.isImportEnabled().then(i);this.oImportBookmarksFlagListener=s.on(\"importBookmarksFlag\").do(i)},onExit:function(){this.oImportBookmarksFlagListener.off()},connect:function(e){this.fnOnEdit=e.onEdit;this.fnOnOpenDialog=e.onOpenDialog},onEditPress:function(){if(this.fnOnEdit){this.fnOnEdit()}},onImportDialogPress:function(){if(this.fnOnOpenDialog){this.fnOnOpenDialog()}},onMessageStripClose:function(){this.oViewModel.setProperty(\"/personalizationAvailable\",false);e.setImportEnabled(false);sap.ui.require([\"sap/m/MessageBox\"],e=>{e.information(n.i18n.getText(\"MyHome.InitialPage.MessageStrip.Popup\"))})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/pages/controller/PageRuntime.controller\", [\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ui/core/CustomData\",\"sap/ushell/library\",\"sap/ui/core/mvc/Controller\",\"sap/ui/events/KeyCodes\",\"sap/m/GenericTile\",\"sap/ushell/resources\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/m/library\",\"sap/m/MessageToast\",\"sap/ushell/components/pages/StateManager\",\"sap/ushell/EventHub\",\"sap/ushell/utils\",\"sap/m/Button\",\"sap/base/strings/capitalize\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ushell/components/pages/controller/PagesAndSpaceId\",\"sap/ushell/components/pages/MyHomeImport\",\"sap/ui/thirdparty/hasher\",\"sap/base/Log\",\"sap/ushell/ui/launchpad/ActionItem\",\"sap/ushell/ui/launchpad/Section\",\"sap/ushell/Container\",\"sap/ushell/navigation/NavigationState\",\"sap/ui/dom/jquery/Focusable\"],(e,t,i,n,o,a,s,r,l,c,d,g,h,u,p,m,P,f,_,S,M,v,C,y,w,A,I)=>{\"use strict\";const b=d.LoadState;const T=n.DisplayFormat;return o.extend(\"sap.ushell.components.pages.controller.Pages\",{onInit:function(){this._setPerformanceMark(\"FLP-PagesRuntime-onInit\");this._oVisualizationInstantiationServicePromise=A.getServiceAsync(\"VisualizationInstantiation\");this._oURLParsingService=A.getServiceAsync(\"URLParsing\");this._oViewSettingsModel=new l({sizeBehavior:c.last(\"/core/home/sizeBehavior\"),actionModeActive:false,actionModeEditActive:false,showHideButton:c.last(\"/core/catalog/enableHideGroups\"),showAddButton:c.last(\"/core/catalog/enabled\"),personalizationEnabled:c.last(\"/core/shell/enablePersonalization\"),isNavigationRunning:I.isNavigationRunning(),addToMyHomeOnly:false,gridContainerGap:[],gridContainerRowSize:[]});this.getView().setModel(this._oViewSettingsModel,\"viewSettings\");this._sMyHomePageId=c.last(\"/core/spaces/myHome/myHomePageId\");this._aConfigListeners=c.on(\"/core/home/sizeBehavior\").do(e=>{this._oViewSetti Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller\", [\"sap/ui/core/InvisibleMessage\",\"./NavigationBarMenu.controller\",\"sap/ui/core/Fragment\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ui/model/json/JSONModel\"],(e,n,o,t,i,s)=>{\"use strict\";return n.extend(\"sap.ushell.components.shell.NavigationBarMenu.controller.NavigationBarMenuButton\",{onInit:function(){this.pMenuServicePromise=t.getServiceAsync(\"Menu\");this._oInvisibleMessageInstance=e.getInstance();this.oViewConfigurationModel=new s({enableMenuBarNavigation:true,contextMenu:{enableMoveDown:false,enableMoveUp:false,enablePin:false}});this.getView().setModel(this.oViewConfigurationModel,\"viewConfiguration\");this._oEventHubListener=i.on(\"enableMenuBarNavigation\").do(e=>{this.oViewConfigurationModel.setProperty(\"/enableMenuBarNavigation\",e)})},openNavigationBarMenuPopover:function(e){const n=e.getSource();if(!this._pPopoverPromise){this._pPopoverPromise=o.load({type:\"XML\",id:this.getView().getId(),controller:this,name:\"sap.ushell.components.shell.NavigationBarMenu.view.NavigationBarMenuPopover\"}).then(e=>{this.oModel=this.getOwnerComponent().oPropagatedProperties.oModels.menu;e.setModel(this.oModel,\"spaces\");this.getView().addDependent(e);return e})}return this._pPopoverPromise.then(e=>{this._bindPinnedSpaces().then(()=>{e.openBy(n)})})},closeNavigationBarMenuPopover:async function(){if(!this._pPopoverPromise){return}return this._pPopoverPromise.then(e=>{e.close()})},onMenuItemSelection:async function(e){await n.prototype.onMenuItemSelection.call(this,e);return this.closeNavigationBarMenuPopover()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Notifications/Component\", [\"sap/base/Log\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ui/core/IconPool\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/UIComponent\",\"sap/ui/thirdparty/hasher\",\"sap/ui/Device\",\"sap/m/library\",\"sap/m/Popover\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ushell/ui/shell/ShellHeadItem\",\"sap/ushell/Container\",\"sap/ushell/state/ShellModel\",\"sap/ui/core/mvc/XMLView\",\"sap/ui/core/Fragment\"],(t,e,i,o,n,s,a,r,l,c,h,f,d,u,p,g,N,m,b,v)=>{\"use strict\";const C=10;const y=l.PlacementType;const I=d.FloatingNumberType;function w(){return e.getElementById(\"NotificationsCountButton\")}function T(){return e.getElementById(\"shell-header\").getNotificationsBtnDomRef()}return s.extend(\"sap.ushell.components.shell.Notifications.Component\",{metadata:{version:\"1.139.0\",library:\"sap.ushell.components.shell.Notifications\",dependencies:{libs:[\"sap.m\"]}},createContent:function(){this._aTimeouts=[];this.oRenderer=N.getRendererInternal(\"fiori2\");this.oConfigModel=m.getConfigModel();N.getServiceAsync(\"NotificationsV2\").then(t=>{this.oNotificationsService=t;if(this.oNotificationsService.isEnabled()===true){i.getInstance().subscribe(\"sap.ushell.services.Notifications\",\"onNewNotifications\",this._handleAlerts,this);this.oConfigModel.setProperty(\"/enableNotifications\",true);this.oNotificationsService.init();if(this.oRenderer.getShellConfig().enableNotificationsUI===true){this.oConfigModel.setProperty(\"/enableNotificationsUI\",true);this.oNotificationsService.registerNotificationsUpdateCallback(this._updateCount.bind(this),true)}this._createNotificationButton(this.oConfigModel);f.on(\"showNotifications\").do(this._toggleNotifications.bind(this))}})},_createNotificationButton:function(t){const e=new g({id:\"NotificationsCountButton\",tooltip:u.i18n.getText(\"notificationsBtn_title\"),icon:o.getIconURI(\"bell\"),text:u.i18n.getText(\"notificationsBtn_title\"),ariaLabel:u.i18n.getText(\"notificationsBtn_title\"),ariaHaspopup:\"dialog\",enabled:true,selected:false,visible:\"{configModel>/enableNotifications}\",floatingNumber:\"{configModel>/notificationsCount}\",floatingNumberMaxValue:r.system.phone?99:999,floatingNumberType:I.Notifications,press:function(){f.emit(\"showNotifications\",Date.now())}});e.setModel(t,\"configModel\");e.setModel(u.i18nModel,\"i18n\");this.oRenderer.showHeaderEndItem([e.getId()],false,[\"home\",\"app\"])},_handleAlerts:function(t,e,i){(i||[]).forEach(this.handleNotification.bind(this))},handleNotification:function(t){const e=()=>{if(a.getHash()!==`${t.NavigationTargetObject}-${t.NavigationTargetAction}`){if(t.NavigationTargetObject&&t.NavigationTargetAction){p.toExternalWithParameters(t.NavigationTargetObject,t.NavigationTargetAction,t.NavigationTargetParams)}}this.oNotificationsService.markRead(t.Id)};if(h.last(\"/core/notifications/enabled\")){sap.ui.require([\"sap/ushell/gen/ui5/webcomponents/dist/Label\",\"sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList\",\"sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem\"],(i,o,n)=>{if(!this._oNotificationsAlertList){this._oNotificationsAlertList=new o({itemClick:e});this._oNotificationsAlertList.addStyleClass(\"sapUshellNotificationsAlertList\");this.oRenderer.addRightFloatingContainerItem({id:this._oNotificationsAlertList.getId()},true,true)}const s=t=>{t.destroy();if(this._oNotificationsAlertList.getItems().length<=0){this.oRenderer.showRightFloatingContainer(false)}};const a=new n({titleText:t.SensitiveText?t.SensitiveText:t.Text,showClose:true,importance:\"Important\",text:t.SubTitle,read:false,footnotes:[new i({text:t.NotificationTypeDesc}),new i({text:p.formatDate(t.CreatedAt)})],close:t=>{s(t.getSource())}});a.addStyleClass(\"sapUshellNotificationsAlertListItem\");this._oNotificationsAlertList.insertItem(a,0);this.oRenderer.showRightFloatingContainer(true);const r=setTimeout(s.bind(this,a),C*1e3);this._aTimeouts.push(r)})}else{const i=this.oRenderer.addRightFloatingContainerItem({press:e,close:function(){this.oRenderer.removeRightFloatingContainerItem(i.getId(),true)}.bind(this),datetime:u.i18n.getText(\"notification_arrival_time_now\"),title:t.SensitiveText?t.SensitiveText:t.Text,description:t.SubTitle,unread:t.IsRead,priority:\"High\",hideShowMoreButton:true},true,true);this.oRenderer.showRightFloatingContainer(true);const o=setTimeout(()=>{this.oRenderer.removeRightFloatingContainerItem(i.getId(),true)},C*1e3);this._aTimeouts.push(o)}},_updateCount:function(){this._getPopover().then(e=>{if(!e.isOpen()){this.oNotificationsService.getUnseenNotificationsCount().then(t=>{this.oConfigModel.setProperty(\"/notificationsCount\",parseInt(t,10))}).catch(e=>{t.error(\"Notifications - call to notificationsService.getCount failed: \",e)})}})},_wrapPopover:function(t,e){const i=new c(\"shellNotificationsPopover\",{showHeader:!!e,customHeader:e,placement:y.Bottom,showArrow:true,content:t,horizontalScrolling:false,beforeOpen:()=>{this._resetCount()},beforeClose:t=>{t.getSource().getContent()[0].invalidate()}});i._oAriaLabelledByText=new n(`${i.getId()}-labelledBy`,{text:u.i18n.getText(\"NotificationToggleButton.NoNewNotifications\")}).toStatic();i.addDependent(i._oAriaLabelledByText);i.addAriaLabelledBy(i._oAriaLabelledByText);i.addStyleClass(\"sapContrastPlus\");return i},_getPopover:function(){if(!this._oNotificationsPopoverPromise){if(h.last(\"/core/notifications/enabled\")){this._oNotificationsPopoverPromise=new Promise((t,e)=>{this.runAsOwner(()=>{b.create({id:this.createId(\"notificationsListContent\"),viewName:\"sap.ushell.components.shell.Notifications.NotificationsListPopoverContent\",viewData:{notificationsService:this.oNotificationsService}}).then(async e=>{const i=e.getController();const o=await v.load({id:this.createId(\"notificationsListCustomHeader\"),name:\"sap.ushell.components.shell.Notifications.NotificationsListPopoverHeader\",controller:i});o.setModel(e.getModel(\"i18n\"),\"i18n\");o.setModel(e.getModel());const n=this._wrapPopover(e,o);n.addStyleClass(\"sapUshellNotificationsListPopup\");n.attachBeforeOpen(()=>{this.oNotificationsService.setUnseenNotificationsCount(0);i.getNextPage(true)});n.setInitialFocus(i.byId(\"sapUshellNotificationsList\"));n.attachAfterClose(this._updateCount.bind(this));t(n)}).catch(e)})})}else{this._oNotificationsPopoverPromise=new Promise((t,e)=>{b.create({id:\"notificationsView\",viewName:\"sap.ushell.components.shell.Notifications.Notifications\",viewData:{notificationsService:this.oNotificationsService}}).then(e=>{const i=e.byId(\"notificationIconTabBar\");i.setAriaTexts({headerLabel:u.i18n.getText(\"Notifications.Popover.IconTabBar.Header.AriaLabel\")});const o=e.byId(\"sapUshellNotificationsListDate\");o.enhanceAccessibilityState=function(t,e){e.hidden=true;return e};const n=e.byId(\"sapUshellNotificationsListPriority\");n.enhanceAccessibilityState=function(t,e){e.hidden=true;return e};const s=e.byId(\"sapUshellNotificationsListType\");s.enhanceAccessibilityState=function(t,e){e.hidden=true;return e};const a=this._wrapPopover(e);a.addStyleClass(\"sapUshellNotificationsPopup\");t(a)}).catch(e)})}}return this._oNotificationsPopoverPromise},_toggleNotifications:function(t){this._getPopover().then(i=>{let o;if(h.last(\"/core/shellBar/enabled\")){o=T()}else{o=w();if(!o.$().width()){o=e.getElementById(\"endItemsOverflowBtn\")}}if(i.isOpen()){i.close()}else if(t!==false){this._resetCount();i.openBy(o)}})},_resetCount:function(){this.oConfigModel.setProperty(\"/notificationsCount\",0);this.oNotificationsService.notificationsSeen()},exit:function(){i.getInstance().unsubscribe(\"sap.ushell.services.Notifications\",\"onNewNotifications\",this._handleAlerts,this);if(this.oNotificationsService&&this.oNotificationsService.isEnabled()===true){this.oNotificationsService.destroy()}this.oNotificationsService=null;const t=w();if(t){this.oRenderer.hideHeaderEndItem(t,false);t.destroy()}this.oRenderer=null;let o=e.getElementById(\"notificationsView\");if(o){o.destroy();o=null}this._aTimeouts.forEach(window.clearTimeout)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Notifications/Notifications.controller\", [\"sap/base/Log\",\"sap/m/CustomListItem\",\"sap/m/library\",\"sap/m/MessageToast\",\"sap/m/Text\",\"sap/m/VBox\",\"sap/ui/core/library\",\"sap/ui/core/mvc/Controller\",\"sap/ui/core/StaticArea\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Container\",\"sap/ushell/resources\",\"sap/ushell/utils\"],(t,e,i,o,s,n,r,a,c,f,l,jQuery,h,u,g)=>{\"use strict\";const d=r.Priority;const I=i.ListType;const N=i.FlexAlignItems;async function T(t){const e=await h.getServiceAsync(\"MessageInternal\");e.error(t)}return a.extend(\"sap.ushell.components.shell.Notifications.Notifications\",{oPagingConfiguration:{MAX_NOTIFICATION_ITEMS_DESKTOP:400,MAX_NOTIFICATION_ITEMS_MOBILE:100,MIN_NOTIFICATION_ITEMS_PER_BUFFER:15,NOTIFICATION_ITEM_HEIGHT:f.system.phone||f.system.tablet?130:100,TAB_BAR_HEIGHT:100},onInit:function(){const t={};if(f.system.desktop){this.iMaxNotificationItemsForDevice=this.oPagingConfiguration.MAX_NOTIFICATION_ITEMS_DESKTOP}else{this.iMaxNotificationItemsForDevice=this.oPagingConfiguration.MAX_NOTIFICATION_ITEMS_MOBILE}const e=this.getView();this.oNotificationsService=e.getViewData().notificationsService;this.oSortingType=this.oNotificationsService.getOperationEnum();this.oKeyToSortingMap={sapUshellNotificationIconTabByDate:this.oSortingType.NOTIFICATIONS_BY_DATE_DESCENDING,sapUshellNotificationIconTabByType:this.oSortingType.NOTIFICATIONS_BY_TYPE_DESCENDING,sapUshellNotificationIconTabByPrio:this.oSortingType.NOTIFICATIONS_BY_PRIORITY_DESCENDING};t[this.oSortingType.NOTIFICATIONS_BY_DATE_DESCENDING]=this.getInitialSortingModelStructure();t[this.oSortingType.NOTIFICATIONS_BY_PRIORITY_DESCENDING]=this.getInitialSortingModelStructure();t[this.oSortingType.NOTIFICATIONS_BY_TYPE_DESCENDING]={};this.sCurrentSorting=this.oSortingType.NOTIFICATIONS_BY_DATE_DESCENDING;this.oPreviousTabKey=\"sapUshellNotificationIconTabByDate\";const i=new l(t);i.setSizeLimit(1500);e.setModel(i);e.setModel(u.i18nModel,\"i18n\");this.getNextBuffer()},onAfterRendering:function(){this.removeTabIndexFromList(this.sCurrentSorting);const t=this.getView();const e=t.byId(\"notificationIconTabBar--header\");if(e){e.getDomRef().classList.remove(\"sapContrastPlus\")}t.$(\"-sapUshellNotificationIconTabByDate-text\").attr(\"aria-label\",u.i18n.getText(\"Notifications.ByDateDescending.AriaLabel\"));t.$(\"-sapUshellNotificationIconTabByType-text\").attr(\"aria-label\",u.i18n.getText(\"Notifications.ByType.AriaLabel\"));t.$(\"-sapUshellNotificationIconTabByPrio-text\").attr(\"aria-label\",u.i18n.getText(\"Notifications.ByPriority.AriaLabel\"))},shouldFetchMoreNotifications:function(){const t=this.getModel();const e=t.getProperty(`/${this.sCurrentSorting}/hasMoreItemsInBackend`);const i=t.getProperty(`/${this.sCurrentSorting}/listMaxReached`);return e&&!i},getNextBuffer:async function(){const t=this.getModel();const e=this.getItemsFromModel(this.sCurrentSorting);let i;if(!this.shouldFetchMoreNotifications()){return}const o=this.getNumberOfItemsToFetchOnScroll(this.sCurrentSorting);if(o===0){t.setProperty(`/${this.sCurrentSorting}/hasMoreItems`,false);return}if(e!==undefined){i=e.length}if(i===0){this.addBusyIndicatorToTabFilter(this.sCurrentSorting)}t.setProperty(`/${this.sCurrentSorting}/inUpdate`,true);try{const t=await this.oNotificationsService.getNotificationsBufferBySortingType(this.sCurrentSorting,i,o);const e=this.oNotificationsService._getNotificationSettingsAvailability();if(e.state()===\"pending\"){this.oNotificationsService._userSettingInitialization()}this.addBufferToModel(this.sCurrentSorting,t)}catch(t){if(i===0){this.removeBusyIndicatorToTabFilter(this.sCurrentSorting);T(u.i18n.getText(\"errorOccurredMsg\"))}}},getNextBufferForType:async function(){const t=this.getModel();const e=this.oSortingType.NOTIFICATIONS_BY_TYPE_DESCENDING;const i=t.getProperty(`/${e}`);const o=i.find(t=>t.Id===this.sCurrentExpandedType);if(!o||!o.hasMoreItems){return}await this.updateGroupHeaders(true)},addBufferToModel:function(t,e){const i=this.getModel();if(!e){i.setProperty(`/${t}/hasMoreItemsInBackend`,false);return}const o=this.getItemsFromModel(t);const s=e.length>=this.getNumberOfItemsToFetchOnScroll(t);i.setProperty(`/${t}/hasMoreItemsInBackend`,s);const n=o.concat(e);i.setProperty(`/${t}/aNotifications`,n);i.setProperty(`/${t}/inUpdate`,false);if(n.length>=this.iMaxNotificationItemsForDevice){this.handleMaxReached(t)}if(o.length===0){this.removeBusyIndicatorToTabFilter(t)}},isMoreCircleExist:function(t){const e=this.getNotificationList(t);const i=e.getItems();const o=i.length;const s=i[o-1];return!!o&&s.getMetadata().getName()===\"sap.m.CustomListItem\"},handleMaxReached:function(t){const e=this.getNotificationList(t);const i=Math.floor(this.oNotificationsService.getNotificationsCount());const o=i-this.iMaxNotificationItemsForDevice;const s=this.isMoreCircleExist(t);const n=this.getModel();n.setProperty(`/${this.sCurrentSorting}/moreNotificationCount`,o);n.setProperty(`/${this.sCurrentSorting}/listMaxReached`,o>=0);if(o>0&&!s){e.addItem(this.getMoreCircle(this.sCurrentSorting))}else if(o<=0&&s){e.removeItem(this.oMoreListItem)}},updateGroupHeaders:async function(e){const i=this.getModel();const o=this.oSortingType.NOTIFICATIONS_BY_TYPE_DESCENDING;const s=i.getProperty(`/${o}`);s.inUpdate=true;let n=0;if(this.sCurrentExpandedType){const t=s.find(t=>t.Id===this.sCurrentExpandedType);if(t){n=t.aNotifications.length;if(e){n+=this.getBasicBufferSize()}t.Busy=true}}i.setProperty(`/${o}`,s);this.addBusyIndicatorToTabFilter(o);try{const t=await this.oNotificationsService.getNotificationsGroupHeaders();const e=JSON.parse(t).value;e.inUpdate=false;let s=-1;e.forEach((t,e)=>{if(t.Id&&this.sCurrentExpandedType===t.Id){t.Collapsed=false;s=e}else{t.Collapsed=true;t.aNotifications=[]}});const r=this.sCurrentExpandedType;if(r){const t=e[s];if(t){t.aNotifications=await this.oNotificationsService.getNotificationsBufferInGroup(r,0,this.getNumberOfItemsToFetchOnUpdate(n))||[];if(t.aNotifications.length{if(i.Id===t){i.IsRead=e;return true}return false});i.setProperty(o,r)},onTabSelected:function(t){const e=t.getParameter(\"key\");if(this.oPreviousTabKey!==e){this.sCurrentSorting=this.oKeyToSortingMap[e];this.oPreviousTabKey=e;this.refreshModel()}},getModel:function(){const t=this.getView();return t.getModel()},onNotificationItemPress:function(t){const e=this.getModel();const i=t.getSource();const o=i.getBindingContext();const s=o.getPath();const n=e.getProperty(s);const r=n.NavigationTargetObject;const a=n.NavigationTargetAction;const c=n.NavigationTargetParams;const f=n.Id;this.onListItemPress(f,r,a,c)},onNotificationItemClose:function(t){const e=this.getModel();this._retainFocus();const i=t.getSource();const o=i.getBindingContext();const s=o.getPath();const n=e.getProperty(s);const r=n.Id;this.dismissNotification(r)},onNotificationItemButtonPress:function(t){const e=this.getModel();const i=t.getSource();const s=i.getBindingContext();const n=s.getPath();const r=e.getProperty(n);const a=n.split(\"/\");const c=this.sCurrentSorting===this.oSortingType.NOTIFICATIONS_BY_TYPE_DESCENDING;const f=c?`/${a[1]}/${a[2]}/${a[3]}/${a[4]}`:`/${a[1]}/${a[2]}/${a[3]}`;const l=e.getProperty(f);const h=l.Id;e.setProperty(`${f}/Busy`,true);return this.executeAction(h,r.ActionId).then(t=>{if(t?.isSucessfull){if(t.message&&t.message.length){o.show(t.message,{duration:4e3})}else{const t=r.ActionText;o.show(u.i18n.getText(\"ActionAppliedToNotification\",[t]),{duration:4e3})}if(t.DeleteOnReturn!==false){this.refreshModel();this.oNotificationsService._addDismissNotifications(h)}}else if(t){T(t.message)}else{T(u.i18n.getText(\"notificationsFailedExecuteAction\"))}}).catch(()=>{T(u.i18n.getText(\"notificationsFailedExecuteAction\"))}).finally(()=>{this._retainFocus();e.setProperty(`${f}/Busy`,false)})},onNotificationGroupItemClose:function(t){const e=this.getModel();const i=t.getSource();const o=i.getBindingContext();const s=o.getPath();const n=s.split(\"/\");const r=e.getProperty(`/${n[1]}/${n[2]}`);this.dismissBulkNotifications(r)},onNotificationGroupItemCollapse:function(t){const e=this.getModel();const i=t.getSource();const o=i.getBindingContext();const s=o.getPath();if(i.getCollapsed()){delete this.sCurrentExpandedType}else{e.setProperty(`${s}/Busy`,true);this.onExpandGroup(i)}},onNotificationGroupItemButtonPress:function(t){const e=this.getModel();const i=t.getSource();const o=i.getBindingContext();const s=o.getPath();const n=e.getProperty(s);const r=s.split(\"/\");const a=`/${r[1]}/${r[2]}`;const c=e.getProperty(a);this._retainFocus();e.setProperty(`${a}/Busy`,true);this.executeBulkAction(n.ActionId,i.getProperty(\"text\"),c,a)},onListUpdateStarted:function(t){const e=this.getModel();if(t.getParameter(\"reason\")===\"Growing\"){if(!e.getProperty(`/${this.sCurrentSorting}/inUpdate`)){if(this.sCurrentSorting===this.oSortingType.NOTIFICATIONS_BY_TYPE_DESCENDING){this.getNextBufferForType()}else{this.getNextBuffer()}}}},getNumberOfItemsInScreen:function(){const t=jQuery(window).height();const e=(t-this.oPagingConfiguration.TAB_BAR_HEIGHT)/this.oPagingConfiguration.NOTIFICATION_ITEM_HEIGHT;return Math.ceil(e)},getBasicBufferSize:function(){return Math.max(this.getNumberOfItemsInScreen()*3,this.oPagingConfiguration.MIN_NOTIFICATION_ITEMS_PER_BUFFER)},getNumberOfItemsToFetchOnScroll:function(t){const e=(this.getItemsFromModel(t)||[]).length;const i=this.getBasicBufferSize();if(e>=this.iMaxNotificationItemsForDevice){return 0}if(e+i>this.iMaxNotificationItemsForDevice){return this.iMaxNotificationItemsForDevice-e}return i},getNumberOfItemsToFetchOnUpdate:function(t){const e=this.getBasicBufferSize();const i=Math.ceil(t/e);const o=i>0?i*e:e;return o>this.iMaxNotificationItemsForDevice?this.iMaxNotificationItemsForDevice:o},getItemsFromModel:function(t){const e=this.getModel();return e.getProperty(`/${t||this.sCurrentSorting}/aNotifications`)},getInitialSortingModelStructure:function(){return{hasMoreItemsInBackend:true,listMaxReached:false,aNotifications:[],inUpdate:false,moreNotificationCount:\"\"}},onExpandGroup:function(t){const e=this.getModel();const i=t.getBindingContextPath();const o=e.getProperty(i);this.sCurrentExpandedType=o.Id;this.refreshModel()},getNotificationList:function(t){const e=this.getView();switch(t){case this.oSortingType.NOTIFICATIONS_BY_DATE_DESCENDING:return e.byId(\"sapUshellNotificationsListDate\");case this.oSortingType.NOTIFICATIONS_BY_PRIORITY_DESCENDING:return e.byId(\"sapUshellNotificationsListPriority\");default:return e.byId(\"sapUshellNotificationsListType\")}},removeTabIndexFromList:function(t){const e=this.getNotificationList(t);const i=e.$().children().get(1);if(i){i.removeAttribute(\"tabindex\")}},getMoreCircle:function(t){const i=this.getModel();const o=new e({type:I.Inactive,content:new n({items:[new n({items:[new s({text:`{/${t}/moreNotificationCount}`}).addStyleClass(\"sapUshellNotificationsMoreCircleCount\").setModel(i),new s({text:u.i18n.getText(\"moreNotifications\")})],alignItems:N.Center}).addStyleClass(\"sapUshellNotificationsMoreCircle\"),new s({text:u.i18n.getText(\"moreNotificationsAvailable_message\"),textAlign:\"Center\"}).addStyleClass(\"sapUshellNotificationsMoreHelpingText\"),new s({text:u.i18n.getText(\"processNotifications_message\"),textAlign:\"Center\"}).addStyleClass(\"sapUshellNotificationsMoreHelpingText\")]}).addStyleClass(\"sapUshellNotificationsMoreVBox\")}).addStyleClass(\"sapUshellNotificationsMoreListItem\");this.oMoreListItem=o;return o},_retainFocus:function(){const t=document.activeElement;if(!t||document.body===t||!c.contains(t)){const t=this.getView();const e=t.byId(\"notificationIconTabBar\");const i=e.getSelectedKey();const o=e.getItems().find(t=>t.getKey()===i);if(o){o.focus()}}},priorityFormatter:function(t){if(t){t=t.charAt(0)+t.substr(1).toLowerCase();return d[t]}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Notifications/NotificationsList.controller\", [\"sap/base/util/deepExtend\",\"sap/m/MessageToast\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/Fragment\",\"sap/ui/core/mvc/Controller\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/utils\"],(t,e,i,o,s,n,a,r,c,f,g)=>{\"use strict\";async function u(t){const e=await r.getServiceAsync(\"MessageInternal\");e.error(t)}return s.extend(\"sap.ushell.components.shell.Notifications.Notifications\",{oPagingConfiguration:{MAX_NOTIFICATION_ITEMS_DESKTOP:400,MAX_NOTIFICATION_ITEMS_MOBILE:100,NOTIFICATIONS_COUNT_INITIAL:60,NOTIFICATIONS_COUNT:30},oSetFocusReason:{ListRefreshed:\"ListRefreshed\",MoreButtonPressed:\"MoreButtonPressed\",NotificationRemoved:\"NotificationRemoved\"},onInit:function(){if(n.system.desktop){this.iMaxNotificationItemsForDevice=this.oPagingConfiguration.MAX_NOTIFICATION_ITEMS_DESKTOP}else{this.iMaxNotificationItemsForDevice=this.oPagingConfiguration.MAX_NOTIFICATION_ITEMS_MOBILE}const t=this.getView();this.oNotificationsService=t.getViewData().notificationsService;this.oSortingTypes=this.oNotificationsService.getOperationEnum();this.sCurrentSorting=this.oSortingTypes.NOTIFICATIONS_BY_DATE_DESCENDING;this._oItemSet=new Set;const e=new a({settingsAvailable:false});e.setSizeLimit(1500);t.setModel(e);t.setModel(f.i18nModel,\"i18n\");this._resetModel();const i=this.oNotificationsService._getNotificationSettingsAvailability();if(i.state()===\"pending\"){this.oNotificationsService._userSettingInitialization()}this.oNotificationsService._getNotificationSettingsAvailability().then(t=>{if(t.settingsAvailable){this._getModel().setProperty(\"/settingsAvailable\",true)}})},onAfterRendering:function(){this._sortUpdateSelectionState()},getNextPage:async function(t){const e=this._getModel();let i;if(t){this.getView().setVisible(false);i=await this.getOwnerComponent()._getPopover();this._resetModel()}else{i=this.byId(\"sapUshellNotificationsListMoreButton\")}if(!this._moreNotificationsCanBeFetched()){return}const o=this._getNumberOfNotificationsToFetch();if(o===0){return}i.setBusy(true);e.setProperty(\"/inUpdate\",true);try{let i=0;const s=this._oItemSet.size;if(!t&&s>0){await this.oNotificationsService.getNotifications();i=parseInt(await this.oNotificationsService.getUnseenNotificationsCount(),10)}const n=s+i;const a=await this.oNotificationsService.getNotificationsBufferBySortingType(this.sCurrentSorting,n,o);if(!a||a.length===0){e.setProperty(\"/hasMoreItemsInBackend\",false)}else{const t=a.length>=this._getNumberOfNotificationsToFetch();e.setProperty(\"/hasMoreItemsInBackend\",t);const i=a.filter(t=>{if(!this._oItemSet.has(t.Id)){this._oItemSet.add(t.Id);return true}return false});const o=e.getProperty(\"/notifications\");const s=this._groupNotifications(o,i);e.setProperty(\"/notifications\",s);e.refresh(true)}}catch(t){await u(f.i18n.getText(\"errorOccurredMsg\"))}finally{this._updateListMaxReached();e.setProperty(\"/inUpdate\",false);this.getView().setVisible(true);i.setBusy(false);const o=t?this.oSetFocusReason.ListRefreshed:this.oSetFocusReason.MoreButtonPressed;await this._setFocus(o)}},_resetModel:function(){const t=this._getModel();t.setProperty(\"/notifications\",[]);this._oItemSet.clear();t.setProperty(\"/hasMoreItemsInBackend\",true);t.setProperty(\"/listMaxReached\",false);t.setProperty(\"/inUpdate\",false)},_groupNotifications:function(t,e){t=t.length>0?t:undefined;if(this.sCurrentSorting===this.oSortingTypes.NOTIFICATIONS_BY_PRIORITY_DESCENDING){return this._groupNotificationsByPriority(t,e)}return this._groupNotificationsByTimePeriods(t,e)},_groupNotificationsByPriority:function(t,e){const i=t||this._getGroupsForPriority();for(let t=0;t{if(t.data(\"sortBy\")===this.sCurrentSorting){t.setIcon(\"sap-icon://accept\");t.setSelected(true)}else{t.setIcon(\"\");t.setSelected(false)}})},_getModel:function(){return this.getView().getModel()},_getNumberOfNotificationsToFetch:function(){const t=this._oItemSet.size;const e=t>0?this.oPagingConfiguration.NOTIFICATIONS_COUNT:this.oPagingConfiguration.NOTIFICATIONS_COUNT_INITIAL;if(t>=this.iMaxNotificationItemsForDevice){return 0}if(t+e>this.iMaxNotificationItemsForDevice){return this.iMaxNotificationItemsForDevice-t}return e},_removeItemFromModel:async function(e,i){const o=this._getModel();const s=o.getObject(i)?.items||[];const n=s.findIndex(t=>t.Id===e);if(n===-1){return}s.splice(n,1);this._oItemSet.delete(e);o.setProperty(`${i}/items`,t([],s));this._updateListMaxReached();o.refresh(true);if(this._oItemSet.size===0&&!this._moreNotificationsCanBeFetched()){(await this.getOwnerComponent()._getPopover()).close()}},_setFocus:async function(t,e){const i=this._oItemSet.size>0;const o=this._moreNotificationsCanBeFetched();const s=this.byId(\"sapUshellNotificationsList\");const n=()=>{const t=this.byId(\"sapUshellNotificationsListNoData\");const e={onAfterRendering:()=>{t.focus();t.removeEventDelegate(e)}};t.addEventDelegate(e)};function a(t){t?.getParent()?.setCollapsed(false);const e={onAfterRendering:()=>{setTimeout(()=>{t?.getFocusDomRef()?.focus()},0);t.removeEventDelegate(e)}};t.addEventDelegate(e)}switch(t){case this.oSetFocusReason.ListRefreshed:if(i){const t=s.getItems()[0];const e=t?.getItems()[0];a(e)}else{n()}break;case this.oSetFocusReason.MoreButtonPressed:if(o){this.byId(\"sapUshellNotificationsListMoreButton\")?.focus()}else{const t=s.getItems().length-1;const e=s.getItems()[t];const i=e?.getItems().length-1;const o=e?.getItems()[i];a(o)}break;case this.oSetFocusReason.NotificationRemoved:if(i){if(!e){break}a(e)}else if(o){this.byId(\"sapUshellNotificationsListMoreButton\")?.focus();await this.getNextPage(false)}else{n()}break;default:(await this.getOwnerComponent()._getPopover()).focus();break}},_handleRemove:async function(t,e){const i=t.getParent();const o=i.getParent();const s=o.getItems().indexOf(i);const n=Math.max(s-1,0);const a=s-1<0;const r=i.getItems().length<=1;if(r){(await this.getOwnerComponent()._getPopover()).focus()}e().then(()=>{if(r){const t=o.getItems()[n];let e=0;if(!a){e=t?.getItems().length-1}const i=t?.getItems()[e];this._setFocus(this.oSetFocusReason.NotificationRemoved,i)}})},onLoadMorePress:async function(){const t=this._getModel();if(!t.getProperty(\"/inUpdate\")){await this.getNextPage(false)}},onSettingsPress:async function(){c.emit(\"openUserSettings\",{time:Date.now(),targetEntryId:\"notificationsEntry\"});(await this.getOwnerComponent()._getPopover()).close()},onSortMenuPress:function(){o.byId(this.getOwnerComponent().createId(\"notificationsListCustomHeader\"),\"sortMenu\").setOpen(true)},onSortMenuItemPress:async function(t){const e=t.getParameter(\"item\");this.sCurrentSorting=e.data(\"sortBy\")||this.oSortingTypes.NOTIFICATIONS_BY_DATE_DESCENDING;this._sortUpdateSelectionState(e.data(\"sortBy\"));await this.getNextPage(true)},onNotificationPress:async function(t){const e=t.getParameter(\"item\");if(this._bRemoving||!e?.isA||!e.isA(\"sap.ushell.gen.ui5.webcomponents-fiori.dist.NotificationListItem\")){return}const i=e.getBindingContext().getObject();const o=i.NavigationTargetObject;const s=i.NavigationTargetAction;const n=i.NavigationTargetParams;if(o&&s){g.toExternalWithParameters(o,s,n)}await this._markNotificationRead(e)},onNotificationRemovePress:async function(t){this._bRemoving=true;const e=t.getParameter(\"item\");const i=e.getParent().getBindingContext().getPath();return this._handleRemove(e,async()=>{const t=e.getBindingContext().getObject();return this.oNotificationsService.dismissNotification(t.Id).then(()=>this._removeItemFromModel(t.Id,i)).finally(()=>{this._bRemoving=false})}).catch(async()=>{await u(f.i18n.getText(\"notificationsFailedDismiss\"))})},onNotificationActionPress:async function(t){const i=t.getParameter(\"item\");const o=i.getBindingContext().getObject();const s=i.getParent().getParent();const n=s.getBindingContext().getObject();s.setBusy(true);this._bRemoving=true;return this.oNotificationsService.executeAction(n.Id,o.ActionId).then(async t=>{if(t?.isSucessfull){if(t.message&&t.message.length){e.show(t.message,{duration:4e3})}else{const t=o.ActionText;e.show(f.i18n.getText(\"ActionAppliedToNotification\",[t]),{duration:4e3})}if(t.DeleteOnReturn!==false){await this._handleRemove(s,async()=>{this.oNotificationsService._addDismissNotifications(n.Id);const t=s.getParent().getBindingContext().getPath();await this._removeItemFromModel(n.Id,t);s.setBusy(false)})}}else if(t){await u(t.message)}else{await u(f.i18n.getText(\"notificationsFailedExecuteAction\"))}}).catch(async()=>{await u(f.i18n.getText(\"notificationsFailedExecuteAction\"))}).finally(()=>{this._bRemoving=false;s.setBusy(false)})},formatShowNoDataIllustration:function(t,e){return this._oItemSet.size===0&&!t&&!e}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component\", [\"sap/base/i18n/Localization\",\"sap/ui/Device\",\"sap/ui/core/Component\",\"sap/ui/core/CustomData\",\"sap/ui/core/Element\",\"sap/ui/core/IconPool\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/ui/shell/ShellHeadItem\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\",\"sap/ushell/Container\",\"sap/ushell/utils/UrlParsing\"],(e,t,n,i,a,o,s,l,r,c,p,u,d,h,g)=>{\"use strict\";const f=r.AppTitleState;const b=r.FloatingNumberType;const B=d.LaunchpadState;const m=d.Operation;const S=d.ShellMode;const{Default:v,Standalone:A,Embedded:y,Lean:w,Merged:I}=S;let M=[];return n.extend(\"sap.ushell.components.shell.PostLoadingHeaderEnhancement.Component\",{metadata:{library:\"sap.ushell\"},init:function(){const e=h.getRendererInternal(\"fiori2\").getShellConfig();M.push(this._createBackButton());M.push(this._createOverflowButton());if(e.moveAppFinderActionToShellHeader&&s.last(\"/core/catalog/enabled\")&&!e.disableAppFinder){M.push(this._createAppFinderButton())}if(e.moveContactSupportActionToShellHeader){this._createSupportButton().then(e=>{M.push(e)})}this._createShellNavigationMenu();const t=a.getElementById(\"shell-header\");t.updateAggregation(\"headItems\");t.updateAggregation(\"headEndItems\")},_createBackButton:function(){const t=e.getRTL()?\"feeder-arrow\":\"nav-back\";const n=d.getShellMode();let i;if(s.last(\"/core/shellBar/enabled\")){const e=sap.ui.require(\"sap/ushell/gen/ui5/webcomponents/dist/Button\");i=new e({id:\"backBtn\",tooltip:c.i18n.getText(\"backBtn_tooltip\"),accessibleDescription:c.i18n.getText(\"backBtn_tooltip\"),icon:o.getIconURI(t),click:function(){l.emit(\"navigateBack\",Date.now())}})}else{i=new p({id:\"backBtn\",tooltip:c.i18n.getText(\"backBtn_tooltip\"),ariaLabel:c.i18n.getText(\"backBtn_tooltip\"),icon:o.getIconURI(t),press:function(){l.emit(\"navigateBack\",Date.now())}})}if([v,A,y,I].includes(n)){d.updateBaseStates([B.App],\"header.headItems\",m.Add,i.getId())}else if(n===w){this._boundSetBackButtonVisibilityAfterHashChanged=this._setBackButtonVisibilityAfterHashChanged.bind(this);window.addEventListener(\"hashchange\",this._boundSetBackButtonVisibilityAfterHashChanged)}return i.getId()},_setBackButtonVisibilityAfterHashChanged:function(e){const{oldURL:t,newURL:n}=e;const i=g.getHash(t);const a=g.getHash(n);const o=g.parseShellHash(i).appSpecificRoute;const s=g.parseShellHash(a).appSpecificRoute;const l=o!==s;if(l){d.updateBaseStates([B.App],\"header.headItems\",m.Add,\"backBtn\");window.removeEventListener(\"hashchange\",this._boundSetBackButtonVisibilityAfterHashChanged);delete this._boundSetBackButtonVisibilityAfterHashChanged}},_createOverflowButton:function(){if(s.last(\"/core/shellBar/enabled\")){return}var e=new p({id:\"endItemsOverflowBtn\",tooltip:{path:\"configModel>/notificationsCount\",formatter:function(e){return this.tooltipFormatter(e)}},ariaLabel:c.i18n.getText(\"shellHeaderOverflowBtn_tooltip\"),ariaHaspopup:\"dialog\",icon:\"sap-icon://overflow\",floatingNumber:\"{configModel>/notificationsCount}\",floatingNumberMaxValue:t.system.phone?99:999,floatingNumberType:b.OverflowButton,press:function(e){l.emit(\"showEndItemOverflow\",e.getSource().getId(),true)}});e.setModel(u.getConfigModel(),\"configModel\");return e.getId()},_createHeaderItem:function(e){if(s.last(\"/core/shellBar/enabled\")){const t=sap.ui.require(\"sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem\");e.click=e.press;delete e.press;e.accessibilityAttributes=e.accessibilityAttributes||{};e.accessibilityAttributes.hasPopup=e.accessibilityAttributes.hasPopup||e.ariaHaspopup;delete e.ariaHaspopup;delete e.ariaLabel;return new t(e)}return new p(e)},_createAppFinderButton:function(){var e=this._createHeaderItem({id:\"openCatalogBtn\",text:c.i18n.getText(\"open_appFinderBtn\"),ariaLabel:c.i18n.getText(\"open_appFinderBtn\"),tooltip:c.i18n.getText(\"open_appFinderBtn\"),icon:\"sap-icon://sys-find\",press:function(){h.getServiceAsync(\"Navigation\").then(e=>{e.navigate({target:{semanticObject:\"Shell\",action:\"appfinder\"}})})}});if(s.last(\"/core/extension/enableHelp\")){e.addStyleClass(\"help-id-openCatalogActionItem\")}d.updateAllBaseStates(\"userActions.items\",m.Add,e.getId());return e.getId()},_createSupportButton:function(){return new Promise(e=>{sap.ui.require([\"sap/ushell/ui/footerbar/ContactSupportButton\"],t=>{const n=\"ContactSupportBtn\";let i=a.getElementById(n);if(!i){const e=new t(\"tempContactSupportBtn\",{visible:true});const a=e.getIcon();const o=e.getText();i=this._createHeaderItem({id:n,icon:a,tooltip:o,text:o,ariaHaspopup:\"dialog\",press:function(){e.firePress()}})}d.updateAllBaseStates(\"userActions.items\",m.Add,n);e(n)})})},_createShellNavigationMenu:function(){return new Promise(function(e){sap.ui.require([\"sap/m/StandardListItem\",\"sap/ushell/ui/shell/NavigationMiniTile\",\"sap/ushell/ui/shell/ShellNavigationMenu\"],(t,n,o)=>{const s=\"shellNavigationMenu\";function r(e,n){const a=n.getProperty(\"icon\")||\"sap-icon://circle-task-2\";const o=n.getProperty(\"title\");const s=n.getProperty(\"subtitle\");const r=n.getProperty(\"intent\");const c=new t({type:\"Active\",title:o,description:s,icon:a,wrapping:true,customData:[new i({key:\"intent\",value:r})],press:function(){if(r&&r[0]===\"#\"){l.emit(\"navigateFromShellApplicationNavigationMenu\",r,true)}}}).addStyleClass(\"sapUshellNavigationMenuListItems\");return c}function c(e,t){const i=t.getProperty(\"icon\");const a=t.getProperty(\"title\");const o=t.getProperty(\"subtitle\");const s=t.getProperty(\"intent\");return new n({title:a,subtitle:o,icon:i,intent:s,press:function(){const e=this.getIntent();if(e&&e[0]===\"#\"){l.emit(\"navigateFromShellApplicationNavigationMenu\",e,true)}}})}const p=new o(s,{showRelatedApps:d.getShellMode()!==w,items:{path:\"shellModel>/application/hierarchy\",factory:r.bind(this)},miniTiles:{path:\"shellModel>/application/relatedApps\",factory:c.bind(this)},visible:{path:\"configModel>/shellAppTitleState\",formatter:function(e){return e===f.ShellNavMenu}}});p.setModel(u.getModel(),\"shellModel\");p.setModel(u.getConfigModel(),\"configModel\");const h=a.getElementById(\"shellAppTitle\");if(h){h.setNavigationMenu(p)}M.push(s);e(p)})})},exit:function(){M.forEach(e=>{const t=a.getElementById(e);if(t){t.destroy()}});M=[];if(this._boundSetBackButtonVisibilityAfterHashChanged){window.removeEventListener(\"hashchange\",this._boundSetBackButtonVisibilityAfterHashChanged)}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/ProductSwitch/Component\", [\"sap/base/Log\",\"sap/ui/core/Element\",\"sap/ui/core/UIComponent\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/ui/shell/ShellHeadItem\",\"sap/ushell/Container\",\"sap/ushell/EventHub\"],(e,t,o,n,s,r,i,l,c,u,d)=>{\"use strict\";function a(){return t.getElementById(\"productSwitchBtn\")}function h(){return t.getElementById(\"shell-header\").getProductSwitchDomRef()}function p(){return t.getElementById(\"sapUshellProductSwitchPopover\")}return o.extend(\"sap.ushell.components.shell.ProductSwitch.Component\",{metadata:{version:\"1.139.0\",library:\"sap.ushell.components.shell.ProductSwitch\",dependencies:{libs:{\"sap.m\":{},\"sap.f\":{lazy:true}}}},createContent:function(){this.oModel=this._getModel()},_getModel:function(){const t=this;const o=new s;o.loadData(r.last(\"/core/productSwitch/url\")).then(()=>{const n=o.getData();if(n.length===0){e.debug(\"There are no other profucts configured for your user. ProductSwitch button will be hidden.\")}else{t._addProductSwitchButtonToHeader()}}).catch(t=>{e.debug(t)});return o},_openProductSwitch:function(){let e=p();let o=Promise.resolve();if(!e){o=new Promise((e,t)=>{sap.ui.require([\"sap/ui/core/Fragment\"],o=>{o.load({name:\"sap.ushell.components.shell.ProductSwitch.ProductSwitch\",type:\"XML\",controller:this}).then(e).catch(t)},t)}).then(t=>{e=t;e.setModel(this.oModel);e.setModel(i.i18nModel,\"i18n\");if(n.system.phone){e.setShowHeader(true)}})}o.then(()=>{let o;if(r.last(\"/core/shellBar/enabled\")){o=h()}else{o=a();if(!o||!o.$().width()){o=t.getElementById(\"endItemsOverflowBtn\")}}e.openBy(o)});return o},onProductItemPress:function(e){const t=e.getParameter(\"itemPressed\").getTargetSrc();p().close();l.openURL(t,\"_blank\")},_addProductSwitchButtonToHeader:function(){const e=new c({id:\"productSwitchBtn\",icon:\"sap-icon://grid\",visible:true,text:i.i18n.getText(\"productSwitch\"),ariaHaspopup:\"dialog\",press:function(){d.emit(\"showProducts\",Date.now())}});u.getRendererInternal(\"fiori2\").showHeaderEndItem([e.getId()],false);d.on(\"showProducts\").do(this._openProductSwitch.bind(this))},exit:function(){const e=p();if(!e){e.destroy()}const t=a();if(t){t.destroy()}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Search/Component\", [\"sap/ui/core/EventBus\",\"sap/ushell/components/shell/Search/ESearch\",\"sap/ui/core/UIComponent\",\"sap/ui/core/Component\",\"sap/ushell/Config\",\"sap/ushell/utils\",\"sap/base/util/ObjectPath\",\"sap/ushell/Container\"],(e,s,a,t,n,l,o,c)=>{\"use strict\";return a.extend(\"sap.ushell.components.shell.Search.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\"},createContent:function(){const a=this;const r=o.get(\"sap-ushell-config.services.SearchCEP\")!==undefined;const h=c.getRendererInternal(\"fiori2\").getShellController();const i=h.getView();const p=(i.getViewData()?i.getViewData().config:{})||{};const u=p.enableSearch!==false;if(!u){e.getInstance().publish(\"shell\",\"searchCompLoaded\",{delay:0});return}c.getFLPPlatform().then(o=>{if(o===\"MYHOME\"||o===\"cFLP\"&&r===true){if(n.last(\"/core/shellBar/enabled\")&&n.last(\"/core/searchCEPNew/enabled\")){t.create({id:\"searchCEPNew\",name:\"sap.ushell.components.shell.SearchCEPNew\"})}else{t.create({manifest:false,name:\"sap.ushell.components.shell.SearchCEP\"})}}else{s.createContent(a);e.getInstance().publish(\"shell\",\"searchCompLoaded\",{delay:0})}l.setPerformanceMark(\"FLP -- search component is loaded\")})},exit:function(){s.exit()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Search/ESearch\", [\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ushell/resources\",\"sap/ui/core/IconPool\",\"sap/ui/core/routing/HashChanger\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/renderer/search/util\",\"sap/ushell/Container\",\"sap/ushell/Config\"],(e,a,s,r,t,jQuery,n,l,i)=>{\"use strict\";let h=false;function o(e){if(!e._searchShellHelperPromise){e._searchShellHelperPromise=new Promise(e=>{a.load(\"sap.esh.search.ui\").then(()=>{sap.ui.require([\"sap/esh/search/ui/SearchShellHelperAndModuleLoader\",\"sap/esh/search/ui/SearchShellHelper\"],(a,s)=>{s.init();e(s)})})})}return e._searchShellHelperPromise}function c(c){h=true;if(i.last(\"/core/shellBar/enabled\")){e.getElementById(\"shell-header\").attachSearchButtonPress(e=>{o(c).then(a=>{a.onShellSearchButtonPressed(e)})})}const d={id:\"sf\",tooltip:\"{i18n>openSearchBtn}\",text:\"{i18n>searchBtn}\",ariaLabel:\"{i18n>openSearchBtn}\",icon:r.getIconURI(\"search\"),visible:true,press:function(e){o(c).then(a=>{a.onShellSearchButtonPressed(e)})}};const u=l.getRendererInternal(\"fiori2\").addHeaderEndItem(\"sap.ushell.ui.shell.ShellHeadItem\",d,true,false);u.data(\"help-id\",\"shellHeader-search\",true);if(n.isSearchFieldExpandedByDefault()){u.setVisible(false)}u.setModel(s.i18nModel,\"i18n\");if(n.isSearchFieldExpandedByDefault()){o(c).then(e=>{if(e.expandSearch){e.expandSearch()}else{u.setVisible(true)}})}c.oHashChanger=t.getInstance();c.oHashChanger.attachEvent(\"shellHashChanged\",e=>{const s=e.mParameters;setTimeout(()=>{a.load(\"sap.esh.search.ui\").then(()=>{sap.ui.require([\"sap/esh/search/ui/HashChangeHandler\"],e=>{e.handle(s)})})},6e3)});u.addEventDelegate({onAfterRendering:function(){jQuery(\"#sf\").attr(\"aria-pressed\",false)}})}function d(){if(h){l.getRendererInternal(\"fiori2\").hideHeaderEndItem(\"sf\");const a=e.getElementById(\"sf\");if(a){a.destroy()}}}return{createContent:c,exit:d}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEP/Component\", [\"sap/base/Log\",\"sap/m/SearchField\",\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ui/core/IconPool\",\"sap/ui/core/UIComponent\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/components/shell/SearchCEP/SearchCEP.controller\",\"sap/ushell/resources\",\"sap/ushell/utils/UrlParsing\"],(e,t,s,i,n,h,o,jQuery,r,a,l,c,S)=>{\"use strict\";return o.extend(\"sap.ushell.components.shell.SearchCEP.Component\",{metadata:{version:\"1.139.0\",library:[\"sap.ushell\",\"sap.ushell.components.shell\"],dependencies:{libs:[\"sap.m\"]}},createContent:function(){try{this.oRenderer=a.getRendererInternal(\"fiori2\");this.oShellHeader=i.getElementById(\"shell-header\");if(r.last(\"/core/shellBar/enabled\")){this.oShellHeader.attachSearchButtonPress(this.onShellSearchButtonPressed.bind(this))}this.oRenderer.addHeaderEndItem({id:\"sf\",tooltip:\"{i18n>openSearchBtn}\",text:\"{i18n>search}\",ariaLabel:\"{i18n>openSearchBtn}\",icon:h.getIconURI(\"search\"),visible:true,press:this.onShellSearchButtonPressed.bind(this)},true,false);this.oShellSearchBtn=i.getElementById(\"sf\");this.oShellSearchBtn.data(\"help-id\",\"shellHeader-search\",true);this.oShellSearchBtn.addEventDelegate({onkeydown:this._keyDownSearchBtn.bind(this)});const e={width:\"90%\",placeholder:c.i18n.getText(\"search\"),tooltip:c.i18n.getText(\"search\"),enableSuggestions:true,suggest:this.onSuggest.bind(this),search:this.onSearch.bind(this)};this.oSF=new t(\"PlaceHolderSearchField\",e);this.oSF.addStyleClass(\"sapUshellCEPSearchCenter\");const s=this.getScreenSize();if(s===\"S\"){this.initSearchSSize()}else if(s===\"M\"||s===\"L\"){this.initSearchMLSizes()}else if(s===\"XL\"){this.initSearchXLSize()}this.oShellHeader.setSearch(this.oSF);this.oSearchCEPController=new l;this.oSF.addEventDelegate({onfocusin:this._onfocusin.bind(this),onAfterRendering:this._onAfterRendering.bind(this)});this.oSearchCEPController.getHomePageApps()}catch(t){e.info(`Failed to create CEP search field content${t}`)}n.getInstance().publish(\"shell\",\"searchCompLoaded\",{delay:0})},initSearchSSize:function(){this.oSF.setWidth(\"60%\");this.oShellHeader.setSearchState(\"COL\",35,false)},initSearchMLSizes:function(){this.oShellHeader.setSearchState(\"COL\",35,false)},initSearchXLSize:function(){this.oShellSearchBtn.setVisible(false);this.oShellHeader.setSearchState(\"EXP\",35,false)},_onAfterRendering:function(e){const t=jQuery(this.oShellHeader.getDomRef()).find(\"#shell-header-hdr-search\");t.addClass(\"CEPShellHeaderPadding\");jQuery(this.oSF.getDomRef()).find(\"#PlaceHolderSearchField-search\").attr(\"title\",c.i18n.getText(\"search\"));const s=a.getFLPUrl(true);const i=S.getHash(s);const n=i.split(\"&/\")[0];if(this.oSF.getValue()){if(n===\"Action-search\"||n===\"WorkZoneSearchResult-display\"){jQuery(this.oSF.getDomRef()).blur()}}},_onfocusin:function(e){if(this.oSF.getEnableSuggestions()&&s.system.phone){jQuery(this.oSF.getDomRef()).find(\"input\").attr(\"inputmode\",\"search\")}},onSuggest:function(e){if(this.oSF.getEnableSuggestions()&&s.system.phone){jQuery(this.oSF.getDomRef()).find(\"input\").attr(\"inputmode\",\"search\")}if(i.getElementById(\"CEPSearchField\")){this.oSearchCEPController.onSuggest(e)}else{this.oSearchCEPController.onInit()}},onSearch:function(e){if(i.getElementById(\"CEPSearchField\")){this.oSearchCEPController.onSearch(e)}},exit:function(){this.oSearchCEPController.onExit()},expandSearch:function(){this.oShellHeader.setSearchState(\"EXP_S\",35,false);this.oSF.focus()},onShellSearchButtonPressed:function(){this.oShellSearchBtn.setVisible(false);this.expandSearch()},collapseSearch:function(){this.oShellHeader.setSearchState(\"COL\",35,false);this.oShellSearchBtn.setVisible(true)},getScreenSize:function(){const e=s.media.getCurrentRange(s.media.RANGESETS.SAP_STANDARD_EXTENDED);if(e.from>=1440){return\"XL\"}else if(e.from>=1024){return\"L\"}else if(e.from>=600){return\"M\"}else if(e.from>=0){return\"S\"}},_keyDownSearchBtn:function(e){if(e.code===13||e.code===\"Enter\"){setTimeout(()=>{this.oSF.focus()},500)}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEP/SearchCEP.controller\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Element\",\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ui/core/Fragment\",\"sap/m/List\",\"sap/m/Text\",\"sap/m/StandardListItem\",\"sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/resources\",\"sap/ui/Device\",\"sap/ushell/EventHub\",\"sap/m/Avatar\",\"sap/ushell/Container\",\"sap/ushell/Config\",\"sap/ui/thirdparty/hasher\"],(e,t,s,i,o,n,r,a,l,jQuery,c,h,d,g,u,f,p)=>{\"use strict\";return s.extend(\"sap.ushell.components.shell.SearchCEP.SearchCEP\",{onInit:function(){this._bIsMyHome=false;this._bEscPressed=false;this.bGrowingReset=false;this._bClosedOnItemPress=false;this._SearchCEPService=u.getServiceAsync(\"SearchCEP\");this._SearchCEPService.then(e=>{this._registerDefaultProviders(e);this._listenToServiceEvents(e)});this._toggleSearchPopover(false);this._oPlaceHolderSF=t.getElementById(\"PlaceHolderSearchField\");this._registerHandleHashChange();const e=u.getFLPPlatform(true);if(e===\"MYHOME\"){this._bIsMyHome=true}},onSuggest:function(e){if(this._bEscPressed||this._bClosedOnItemPress){return}this.oSF.focus();const t=e.getParameter(\"suggestValue\");this._testProviders(t)},onfocusin:function(e){if(this.oSF.getEnableSuggestions()&&h.system.phone){jQuery(this.oSF.getDomRef()).find(\"input\").attr(\"inputmode\",\"search\");jQuery(this._oPlaceHolderSF.getDomRef()).find(\"input\").attr(\"inputmode\",\"search\")}},onSearch:function(e){let s=e.getParameter(\"query\");const i=e.getParameter(\"escPressed\");const o=e.getParameter(\"clearButtonPressed\");const n=t.getElementById(\"SearchResultList\");if(i){this._bEscPressed=i;if(this.oSF.getValue()||this._oPlaceHolderSF.getValue()){this.oSF.setValue(\"\");this._oPlaceHolderSF.setValue(\"\")}else{this._oPopover.close()}return}if(o){this.oSF.setValue(\"\");this._oPlaceHolderSF.setValue(\"\");this._testProviders();let e=true;const t=this._oPopover.getContent()[1].getItems();for(const s in t){if(t[s].getItems().length){e=false}}if(e){this._oPopover.close()}return}if(s){s=s.trim();this._oPlaceHolderSF.setValue(this.oSF.getValue());this._saveSearchTerm(s);if(this._bIsMyHome){if(n.getItems().length>0){const e=n.getItems()[0].getBindingContext(\"resultModel\");const t=e.getObject();this._navigateToApp(t)}}else{this._navigateToResultPage(s)}this._oPopover.close()}},onBeforeOpen:function(){let e=false;const s=t.getElementById(\"shell-header\");const i=s.getSearchState();if(i===\"COL\"){e=true}this._oPopover.addStyleClass(\"sapUshellCEPSearchFieldPopover\");s.setSearchState(\"EXP\",35,false);s.setSearchState(\"EXP_S\",35,true);if(e===true){s.setSearchState(\"COL\",35,false)}},onAfterOpen:function(){const e=document.getElementById(\"PlaceHolderSearchField\").clientHeight;document.getElementById(\"CEPSearchField\").style.height=`${e}px`;document.getElementById(\"CEPSearchField-search\").title=c.i18n.getText(\"search\")},onAfterClose:function(e){const s=t.getElementById(\"sf\");const i=t.getElementById(\"shell-header\");const o=this._getScreenSize();const n=this._oPopover.getContent()[1].getItems();this._oPlaceHolderSF.setValue(this.oSF.getValue());if(this._bClosedOnItemPress){this._bClosedOnItemPress=false}if(this._bEscPressed){this._bEscPressed=false;this._oPlaceHolderSF.focus()}if(o!==\"XL\"&&this.oSF.getValue()===\"\"){i.setSearchState(\"COL\",35,false);s.setVisible()}else{i.setSearchState(\"EXP\",35,false);i.setSearchState(\"EXP_S\",35,false)}n.forEach(t=>{const s=t._getProviderConfig();const i=this._getDefaultProviderGroupName(s.id);if(!i){if(typeof s.popoverClosed===\"function\"){const t=s.popoverClosed;t(e)}}})},getHomePageApps:function(){const e=\"homePageApplications\";const t=l.getDefaultProviders()[e];t.execSearch(\"\",e)},_registerHandleHashChange:function(){p.changed.add(e=>{if(e!==\"\"&&!/WorkZoneSearchResult-display|Action-search/.test(e)){if(this._oPlaceHolderSF&&this._oPlaceHolderSF.getValue()!==\"\"){this._oPlaceHolderSF.setValue(\"\")}if(this.oSF&&this.oSF.getValue()!==\"\"){this.oSF.setValue(\"\")}}})},_listenToServiceEvents:function(e){d.on(\"updateExtProviderLists\").do(this._updateExtProviderLists.bind(this,e))},_updateExtProviderLists:function(e){if(this._oPopover){const t=this._oPopover.getContent()[1];const s=t.getItems();const i=e.getExternalSearchProvidersPriorityArray();for(const e in s){const i=s[e];const o=i._getProviderConfig();const n=this._getDefaultProviderGroupName(o.id);if(!n){t.removeItem(i);i.destroy();this._oResultModel.setProperty(`/${o.name}`,[])}}if(!h.support.touch){this._sContentDensityClass=\"sapUiSizeCompact\"}else{this._sContentDensityClass=\"sapUiSizeCozy\"}i.then(e=>{for(const s in e){const i=this._createList(e[s],undefined);i.addStyleClass(this._sContentDensityClass);t.addItem(i)}if(this._oPopover.isOpen()){if(e.length){this._testProviders(this.oSF.getValue())}}})}},_registerDefaultProviders:function(e){for(const t in l.getDefaultProviders()){e.registerDefaultSearchProvider(l.getDefaultProviders()[t])}},_getScreenSize:function(){const e=h.media.getCurrentRange(h.media.RANGESETS.SAP_STANDARD_EXTENDED);if(e.from>=1440){return\"XL\"}else if(e.from>=1024){return\"L\"}else if(e.from>=600){return\"M\"}else if(e.from>=0){return\"S\"}},_focusNextList:function(e){const t=this._oPopover.getContent()[1].getItems();const s=t.map(e=>e.getId()).indexOf(e.getId());const i=t.slice(s+1);for(let e=0;ee.getId()).indexOf(e.getId());const o=s.slice(0,i);if(!o.length){this.oSF.focus();return}for(let e=o.length-1;e>=0;e--){if(o[e].getVisible()&&o[e].getItems().length){const s=o[e].getItems();const i=document.getElementById(`${o[e].getId()}-triggerList`);const n=window.getComputedStyle(i);if(n.display===\"none\"){s[s.length-1].focus()}else{t.getElementById(`${o[e].getId()}-trigger`).focus()}break}if(e===0){this.oSF.focus()}}},_keyDownHandler:function(e){const t=e.srcControl;const s=t.getParent();const i=s.getItems();if(e.code===40||e.code===\"ArrowDown\"){if(i[i.length-1]===t){const e=document.getElementById(`${s.getId()}-triggerList`);const t=window.getComputedStyle(e);if(t.display===\"none\"){this._focusNextList(s)}}if(t.getId().endsWith(\"-trigger\")){this._focusNextList(s)}}else if(e.code===38||e.code===\"ArrowUp\"){if(i[0]===t){this._focusPreviousList(s)}}},_setListNameToAriaLabelledBy:function(e,s){const i=e.getDomRef();const o=jQuery(i).attr(\"aria-labelledby\");const n=t.getElementById(o).getProperty(\"text\");jQuery(t.getElementById(o).getDomRef()).text(`${s}. ${n}`)},_getDefaultProviderGroupName:function(e){const t={SearchResultList:\"applications\",FrequentlyUsedAppsList:\"frequentApplications\",SearchHistoryList:\"recentSearches\",ProductsList:\"homePageApplications\",ExternalSearchAppsList:\"externalSearchApplications\"};return t[e]},_removeTopListDivider:function(){setTimeout(()=>{const e=jQuery(this._oPopover.getDomRef()).find(\".searchCEPList.sapUshellCEPListDivider\").not(\":hidden\");if(e.length){jQuery.each(e,t=>{if(jQuery(e[t]).hasClass(\"topCEPlist\")){jQuery(e[t]).removeClass(\"topCEPlist\")}});jQuery(e[0]).addClass(\"topCEPlist\")}},300)},_createList:function(e,t){const s=new n({id:e.id,showSeparators:\"None\",headerText:e.titleVisible?e.title:\"\",headerLevel:\"H1\",growing:true,showNoData:e.showNoData||false,growingThreshold:e.defaultItemCount,growingScrollToLoad:false,items:{path:`resultModel>/${e.name}`,factory:this._createListItem.bind(this,e.name)},growingStarted:this._listUpdateStart.bind(this),updateStarted:this._listUpdateStart.bind(this),updateFinished:this._listUpdateFinished.bind(this),itemPress:this._itemPress.bind(this)}).addStyleClass(\"searchCEPList sapUshellCEPListDivider\");s.setModel(t,\"resultModel\");s._providerConfig=e;s._getProviderConfig=function(){return this._providerConfig};s.addEventDelegate({onkeydown:this._keyDownHandler.bind(this),onsapdown:this._keyDownHandler.bind(this)});return s},_createListItem:function(e,t,s){const i={iconDensityAware:false,title:s.getProperty(\"text\"),type:\"Active\"};const o=s.getProperty(\"icon\");const n=this._getScreenSize();let r=s.getProperty(\"contentProviderLabel\");const l=[\"SearchResultList\",\"FrequentlyUsedAppsList\"];const c=f.last(\"/core/contentProviders/providerInfo/enabled\");const h=f.last(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\");if(c&&h&&l.includes(e)&&r!==undefined&&r!==\"\"){r=r.toUpperCase();if(n===\"S\"){i.description=r}else{i.title+=` - ${r}`}}const d=new g(\"\",{displaySize:\"XS\",backgroundColor:\"Transparent\",displayShape:\"Square\",src:o,imageFitType:\"Contain\",decorative:true});i.avatar=d;if(o.indexOf(\"sap-icon://\")>-1){d.addStyleClass(\"searchCEPlistItemIcon\")}const u=new a(i);if(n===\"S\"&&i.description!==undefined){u.addStyleClass(\"sapCEPSearchListItemMobileHeight\")}u.addStyleClass(\"sapUiTinyMarginBeginEnd\");return u},_itemPress:function(e){let t;const s=e.getParameter(\"srcControl\");const i=s.getParent();const o=i._getProviderConfig();let n=this._getDefaultProviderGroupName(o.id);if(n){n=n.charAt(0).toUpperCase()+n.substring(1);t=`_on${n}Press`;this[t](e)}else{t=o.itemPress;t(e);const n=i.getItems().indexOf(s);const r=this._oResultModel.getProperty(`/${o.name}`);const a=r[n];if(a.hasOwnProperty(\"press\")&&typeof a.press===\"function\"){t=a.press;t(e)}if(!a.hasOwnProperty(\"closePopover\")&&o.closePopover===true||a.hasOwnProperty(\"closePopover\")&&a.closePopover===true){this._bClosedOnItemPress=true;this._oPopover.close();jQuery(this.oSF.getDomRef()).find(\"input\").blur();jQuery(this._oPlaceHolderSF.getDomRef()).find(\"input\").blur()}}},_listUpdateStart:function(e){const t=e.getSource();const s=t._getProviderConfig();const i=e.getParameter(\"actual\");const o=e.getParameter(\"reason\");const n=this.bGrowingReset?s.maxItemCount:s.defaultItemCount;if(i&&i>0){if(o){switch(o.toLowerCase()){case\"growing\":this.bGrowingReset=true;const e=this._oResultModel.getProperty(`/${s.name}`);this._oResultModel.setProperty(`/${s.name}`,[]);this._oResultModel.setProperty(`/${s.name}`,e);t.setGrowingThreshold(s.maxItemCount);break;case\"change\":t.setGrowingThreshold(n);break;default:break}}else{t.setGrowingThreshold(n)}}},_listUpdateFinished:function(e){const t=e.getSource();const s=t._getProviderConfig();let i;if(this._getScreenSize()===\"S\"){i=t.$().find(\".sapMSLITitle, .sapMSLIDescription\")}else{i=t.$().find(\".sapMSLITitleOnly\")}jQuery.each(i,e=>{const o=i[e];if(o.scrollWidth>o.offsetWidth){o.parentNode.parentNode.title=o.innerText}if(s.id===\"SearchResultList\"){const e=t.getModel(\"resultModel\").getProperty(\"/query\");if(s.highlightResult&&s.highlightResult===true){const t=new RegExp(e,\"gi\");const i=o.innerHTML.replace(/<[^>]*>/g,\"\");const n=i.replace(t,e=>this._getBoldTitle(s,e));o.innerHTML=this._getHighlightedHtml(s,n)}}})},_getBoldTitle:function(e,t){if(e.highlightSearchStringPart&&e.highlightSearchStringPart===true){return`${t}`}return`${t}`},_getHighlightedHtml:function(e,t) Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/AppVariantPersonalizationAdapter\", [\"sap/ui/core/Lib\",\"sap/ushell/services/PersonalizationV2/constants\",\"sap/ui/fl/apply/api/UI2PersonalizationApplyAPI\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\"],(e,t,n,i,jQuery)=>{\"use strict\";function o(e){const t=\"sap.ushell.personalization#\";if(e.substring(0,t.length)!==t){i.error(`Unexpected ContainerKey ${e}`);return e}let n=e.substring(t.length);n=n.split(\"#\")[0];return n}r.prototype._determineCategory=function(e){if(!e){return\"U\"}if(e.keyCategory&&e.keyCategory===t.keyCategory.FIXED_KEY&&e.writeFrequency&&e.writeFrequency===t.writeFrequency.LOW&&e.clientStorageAllowed&&e.clientStorageAllowed===true){return\"P\"}return\"U\"};r.prototype.getMap=function(){return{category:this._category,service:this._oService,changedKeys:this._oChangedKeys,component:this._oComponent,deletedKeys:this._oDeletedKeys,container:this._aJSONContainer,scope:this._oScope,appName:this._sAppName,appVarId:this._sAppVarId,appVersion:this._sAppVersion,containerKey:this._sContainerKey}};function r(e,t,n,i){this._oService=t;this._oScope=n;this._sAppVarId=n.appVarId;this._sAppVersion=n.appVersion;this._oComponent=n.component;this._sContainerKey=o(e);this._sAppName=i||\"\";this._category=this._determineCategory(n);this._aJSONContainer=[];this._oChangedKeys={};this._oDeletedKeys={}}r.prototype._reset=function(){this._aJSONContainer=[]};r.prototype.load=function(){const t=new jQuery.Deferred;e.load(\"sap/ui/fl\").then(()=>n.load({selector:this._oComponent,containerKey:this._sContainerKey})).then(e=>{this._aJSONContainer=e||[];t.resolve(e)}).catch(e=>{i.warning(e);this._reset();t.reject(e)});return t.promise()};r.prototype.save=function(){const e=[];const t=new jQuery.Deferred;sap.ui.require([\"sap/ui/fl/write/api/UI2PersonalizationWriteAPI\"],n=>{Object.keys(this._oChangedKeys).forEach(function(t){const i=this._oChangedKeys[t];const o=Object.assign({selector:this._oComponent},i);e.push(n.create(o))},this);Object.keys(this._oDeletedKeys).forEach(function(t){e.push(n.deletePersonalization({selector:this._oComponent,containerKey:this._sContainerKey,itemName:t}))},this);Promise.all(e).then(e=>{this._oChangedKeys={};this._oDeletedKeys={};t.resolve()},e=>{t.reject(e)})});return t.promise()};r.prototype.del=function(){const e=new jQuery.Deferred;sap.ui.require([\"sap/ui/fl/write/api/UI2PersonalizationWriteAPI\"],t=>{this.load().then(()=>{const n=[];this._aJSONContainer.forEach(function(e){n.push(t.deletePersonalization({selector:this._oComponent,containerKey:this._sContainerKey,itemName:e.itemName}))},this);Promise.all(n).then(t=>{e.resolve()},t=>{e.reject(t)})})});return e.promise()};r.prototype.getItemKeys=function(){const e=[];this._aJSONContainer.forEach(t=>{if(t.category===\"V\"){e.push(`VARIANTSET#${t.itemName}`)}else if(t.category===\"I\"){e.push(`ITEM#${t.itemName}`)}});return e};r.prototype.containsItem=function(e){return this.getItemKeys().indexOf(e)>=0};r.prototype._findItemIndex=function(e,t){let n;for(n=0;n=0){t=this._aJSONContainer[i.index].content;n=t}return n};r.prototype.setItemValue=function(e,t){const n=this._locateItem(e);let i;if(n.index>=0){i=this._aJSONContainer[n.index];i.content=t}else{i={reference:this._sAppVarId,content:t,itemName:n.trueItemKey,category:n.category,containerKey:this._sContainerKey,containerCategory:this._category};this._aJSONContainer.push(i)}this._oChangedKeys[n.trueItemKey]=i;delete this._oDeletedKeys[n.trueItemKey]};r.prototype.delItem=function(e){const t=this._locateItem(e);if(t.index>=0){this._aJSONContainer.splice(t.index,1);this._oDeletedKeys[t.trueItemKey]=true;return}};const s=function(){};s.prototype.getAdapterContainer=function(e,t,n){return new r(e,this,t,n)};s.prototype.delAdapterContainer=function(e,t){return this.getAdapterContainer(e,t).del()};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter\", [\"sap/base/util/Version\",\"sap/ui/thirdparty/jquery\",\"sap/base/util/deepExtend\",\"sap/base/Log\",\"sap/ushell/Container\"],(e,jQuery,t,s,r)=>{\"use strict\";function i(i,o,n){this._oAdapterConfig=n&&n.config;let a=\"\";if(r.isInitialized()){a=r.getLogonSystem().getProductName()||\"\"}this._oLocalSystemAlias={http:{host:\"\",port:0,pathPrefix:\"/sap/bc/\"},https:{host:\"\",port:0,pathPrefix:\"/sap/bc/\"},rfc:{systemId:\"\",host:\"\",service:0,loginGroup:\"\",sncNameR3:\"\",sncQoPR3:\"\"},id:\"\",label:\"local\",client:\"\",language:\"\",properties:{productName:a}};this.getInbounds=function(){const t=this;if(!this._getInboundsDeferred){this._getInboundsDeferred=new jQuery.Deferred;r.getServiceAsync(\"CommonDataModel\").then(e=>e.getSiteWithoutPersonalization()).then(s=>{const r=s._version&&e(s._version).getMajor()===3?\"sap/ushell/adapters/cdm/v3/utilsCdm\":\"sap/ushell/utils/utilsCdm\";sap.ui.require([r],e=>{const r=e.formatSite(s)||[];t._getInboundsDeferred.resolve(r)})},e=>{t._getInboundsDeferred.reject(e)})}return this._getInboundsDeferred.promise()};this._createSIDMap=function(e){return Object.keys(e).sort().reduce((t,s)=>{const r=e[s];const i=`SID(${r.systemId}.${r.client})`;if(!t.hasOwnProperty(i)&&r.hasOwnProperty(\"systemId\")&&r.hasOwnProperty(\"client\")){t[i]=s}return t},{})};this._getSystemAliases=function(){const e=this;if(!this.oSystemAliasesDeferred){this.oSystemAliasesDeferred=new jQuery.Deferred;r.getServiceAsync(\"CommonDataModel\").then(e=>e.getSiteWithoutPersonalization()).then(s=>{const r=t({},s.systemAliases||{});Object.keys(r).forEach(e=>{r[e].id=e});e.oSystemAliasesDeferred.resolve(r)},t=>{e.oSystemAliasesDeferred.reject(t)})}return this.oSystemAliasesDeferred.promise()};this.resolveSystemAlias=function(e){const r=new jQuery.Deferred;const i=this;this._getSystemAliases().done(o=>{let n;if(o.hasOwnProperty(e)){n=o[e];if(e===\"\"){n.properties=t({},i._oLocalSystemAlias.properties,n.properties||{})}r.resolve(n);return}if(e===\"\"){r.resolve(i._oLocalSystemAlias);return}e=e.toUpperCase(e);if(!i._oSIDMap){i._oSIDMap=i._createSIDMap(o)}if(i._oSIDMap.hasOwnProperty(e)){const t=o[i._oSIDMap[e]];r.resolve(t);return}const a=`Cannot resolve system alias ${e}`;s.warning(a,\"The system alias cannot be found in the site response\",\"sap.ushell.adapters.cdm.ClientSideTargetResolutionAdapter\");r.reject(a)}).fail(e=>{r.reject(e)});return r.promise()};this.getContentProviderDataOriginsLookup=function(){const e=this;if(!this.oContentProviderDataOriginsDeferred){this.oContentProviderDataOriginsDeferred=new jQuery.Deferred;r.getServiceAsync(\"CommonDataModel\").then(e=>e.getSiteWithoutPersonalization()).then(s=>{let r=null;if(s.contentProviderDataOrigins){r=t({},s.contentProviderDataOrigins)}e.oContentProviderDataOriginsDeferred.resolve(r)},t=>{e.oContentProviderDataOriginsDeferred.reject(t)})}return this.oContentProviderDataOriginsDeferred.promise()}}return i},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/CommonDataModelAdapter\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/base/util/Version\",\"sap/ui/thirdparty/URI\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Container\"],(e,t,o,i,jQuery,n)=>{\"use strict\";function r(e,t,o){this.oAdapterConfiguration=o;if(o&&o.config&&o.config.siteData){this.oCdmSiteDataRequestPromise=(new jQuery.Deferred).resolve(o.config.siteData)}else if(o&&o.config&&o.config.siteDataPromise){this.oCdmSiteDataRequestPromise=o.config.siteDataPromise}else{const e=this._identifySiteUrlFromConfig(o);const t=this._normalizeUrl(e,location.href);this.oCdmSiteDataRequestPromise=this._requestSiteData(t)}}r.prototype._requestSiteData=function(t){const o=new jQuery.Deferred;if(!t){return o.reject(\"Cannot load site: configuration property 'siteDataUrl' is missing for CommonDataModelAdapter.\")}jQuery.ajax({type:\"GET\",dataType:\"json\",url:t}).done(e=>{o.resolve(e)}).fail(t=>{e.error(t.responseText);o.reject(\"CDM Site was requested but could not be loaded.\")});return o.promise()};r.prototype._normalizeUrl=function(e,t){if(typeof e!==\"string\"){return e}if(e.indexOf(\"http\")===0){return e}const o=document.getElementsByTagName(\"base\")[0];return new i(e,o).absoluteTo(t).toString()};r.prototype.getSite=function(){const e=new jQuery.Deferred;this.oCdmSiteDataRequestPromise.done(o=>{const i=t({},o);delete i.personalization;e.resolve(i)}).fail(t=>{e.reject(t)});return e.promise()};r.prototype.getPersonalization=function(){const o=new jQuery.Deferred;const i=this;this.oCdmSiteDataRequestPromise.done(n=>{const r=t({},n);const a=r._version;let s;if(i.oAdapterConfiguration&&i.oAdapterConfiguration.config&&i.oAdapterConfiguration.config.ignoreSiteDataPersonalization){delete r.personalization}if(r.personalization){s=r.personalization._version;if(Object.keys(r.personalization).length>0&&!i._isPersonalizationVersionValid(a,s)){e.error(\"Personalization version is not compatible to the site version and will not be loaded.\"+` Please proceed to personalize the homepage again if needed. Personalization version: ${s}; Site version: ${a}`);o.resolve();return}o.resolve(r.personalization)}else{i._readPersonalizationDataFromStorage(a).done(t=>{s=t._version;if(Object.keys(t).length>0&&!i._isPersonalizationVersionValid(a,s)){e.error(\"Personalization version is not compatible to the site version and will not be loaded.\"+` Please proceed to personalize the homepage again if needed. Personalization version: ${s}; Site version: ${a}`);o.resolve();return}o.resolve(t)}).fail(e=>{o.reject(e)})}}).fail(e=>{o.reject(e)});return o.promise()};r.prototype._isPersonalizationVersionValid=function(e,t){if(!e){return false}const i=new o(e).getMajor();const n=new o(t);if(i>=3){return n.getMajor()===i}return n.getMajor()<3};r.prototype.setPersonalization=function(t){const i=new jQuery.Deferred;n.getServiceAsync(\"PersonalizationV2\").then(async n=>{let r;const a={keyCategory:n.KeyCategory.FIXED_KEY,writeFrequency:n.WriteFrequency.LOW,clientStorageAllowed:true};let s={container:\"sap.ushell.cdm.personalization\",item:\"data\"};const l=new o(t.version);if(l.inRange(\"3.1.0\",\"4.0.0\")){s={container:\"sap.ushell.cdm3-1.personalization\",item:\"data\"}}const c=await n.getPersonalizer(s,a,r);c.setPersData(t).then(()=>{e.info(\"Personalization data has been stored successfully.\");i.resolve()}).catch(()=>{i.reject(\"Writing personalization data failed.\")})});return i.promise()};r.prototype._readPersonalizationDataFromStorage=function(e){const t=new jQuery.Deferred;n.getServiceAsync(\"PersonalizationV2\").then(async i=>{const n={keyCategory:i.KeyCategory.FIXED_KEY,writeFrequency:i.WriteFrequency.LOW,clientStorageAllowed:true};let r={container:\"sap.ushell.cdm.personalization\",item:\"data\"};if(e){const t=new o(e);if(t&&t.inRange(\"3.1.0\",\"4.0.0\")){r={container:\"sap.ushell.cdm3-1.personalization\",item:\"data\"}}}const a=await i.getPersonalizer(r,n);a.getPersData().then(e=>{t.resolve(e||{})}).catch(()=>{t.reject(\"Fetching personalization data failed.\")})});return t.promise()};r.prototype._identifySiteUrlFromConfig=function(e){const t=new URLSearchParams(window.location.search);let o=t.get(\"sap-ushell-cdm-site-url\");const i=e&&e.config;if(i&&!i.allowSiteSourceFromURLParameter&&o){o=null}if(i&&!o){o=i.siteDataUrl||i.cdmSiteUrl}this.sCdmSiteUrl=o;return o};return r},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter\", [\"sap/ushell/bootstrap/cdm/cdm.constants\",\"sap/base/util/deepClone\"],(e,t)=>{\"use strict\";return function(){this.getDefaultConfig=function(){return Promise.resolve(t(e.defaultConfig))}}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/ContainerAdapter\", [\"sap/base/Log\",\"sap/base/util/deepClone\",\"sap/base/util/extend\",\"sap/base/util/ObjectPath\",\"sap/ui/thirdparty/URI\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/System\",\"sap/ushell/User\",\"sap/ushell/utils\",\"sap/ushell/Container\",\"sap/ushell/resources\",\"sap/ushell/Config\"],(e,t,s,n,i,jQuery,o,r,a,l,c,u)=>{\"use strict\";const d=e.getLogger(\"sap/ushell/adapters/cdm/ContainerAdapter\",e.Level.INFO);function f(u,f,g){function m(e,t){if(e.systemProperties&&e.systemProperties.logoutUrl){return e.systemProperties.logoutUrl}return t}function h(){return{setThemePermitted:false,setAccessibilityPermitted:false,setContentDensityPermitted:false,getLanguageAndRegionSettingsEntry:async function(){const[e]=await a.requireAsync([\"sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegionEntry\"]);return e}}}function p(e,t,n){const i=s(h(),e,t);i.bootTheme=i.bootTheme||{theme:i.theme,root:\"\"};delete i.theme;if(n){if(n.editablePropterties){i.setThemePermitted=n.editablePropterties.indexOf(\"theme\")>-1;i.setAccessibilityPermitted=n.editablePropterties.indexOf(\"accessibility\")>-1;i.setContentDensityPermitted=n.editablePropterties.indexOf(\"contentDensity\")>-1}if(n.ranges){i.ranges=n.ranges}}return i}function y(e){const s=t(e);const n=[\"id\",\"email\",\"firstName\",\"lastName\",\"fullName\",\"isJamActive\",\"isAdminUser\",\"timeZone\",\"language\",\"languageBcp47\",\"image\",\"isImageConsent\",\"isLanguagePersonalized\",\"calendarWeekNumbering\",\"trackUsageAnalytics\",\"contentDensity\",\"setContentDensityPermitted\",\"accessibility\",\"setAccessibilityPermitted\",\"bootTheme\",\"themeRoot\",\"ranges\",\"setThemePermitted\",\"importBookmarks\",\"showMyHome\",\"detectDarkMode\",\"getLanguageAndRegionSettingsEntry\"];Object.keys(s).forEach(e=>{if(!n.includes(e)){delete s[e]}});return s}function P(e){let t;const s=e.userProfile;if(s){t=p(s.defaults,e.userProfilePersonalization,s.metadata)}const n=y(t||h());return new r(n)}function A(e,t){const s=t.systemProperties;let n=e.getAlias();let i=e.getPlatform();const r=e.getBaseUrl();let a;let l;let c;let u;let d;let f;let g;if(s){n=s.alias||n;i=s.platform||i;a=s.SID;l=s.client;c=s.productName;u=s.productVersion;d=s.systemName;f=s.systemRole;g=s.tenantRole}return new o({alias:n,platform:i,baseUrl:r,system:a,client:l,productName:c,productVersion:u,systemName:d,systemRole:f,tenantRole:g})}function b(e){const t=e&&e.systemProperties&&e.systemProperties.sessionKeepAlive;if(!t){return null}if(!t.url){d.error(\"Mandatory parameter 'url' missing in 'sessionKeepAlive' configuration.\");return null}if(t.method!==\"HEAD\"&&t.method!==\"GET\"){t.method=\"HEAD\"}return t}const R=\"/sap/public/bc/icf/logoff\";const w=m(g.config,R);const T=n.get(\"systemProperties.logoutMethod\",g.config)||\"GET\";const C=n.get(\"systemProperties.csrfTokenUrl\",g.config);const S=P(g.config);const L=A(u,g.config);const U=b(g.config);this._getLogoutUrl=function(){return w};this._setDocumentLocation=function(e){document.location=e};this._setWindowLocation=function(e){window.location.href=e};this.getSystem=function(){return L};this.getUser=function(){return S};this.load=function(){return jQuery.when()};this.getCurrentUrl=function(){return window.location.href};this.logout=async function(e){let t;if(!e){throw new Error(\"Not implemented\")}if(a.hasNativeLogoutCapability()){t=new i(this._getLogoutUrl()).absoluteTo(this.getCurrentUrl()).search(\"\").toString();a.getPrivateEpcm().doLogOff(t)}else{await this.logoutRedirect()}};this.logoutRedirect=async function(){const t=L.adjustUrl(this._getLogoutUrl());if(T===\"POST\"){e.info(\"performing logout from system via POST\",undefined,\"sap.ushell.adapters.cdm.ContainerAdapter::logoutRedirect\");let s=false;let n;try{n=await fetch(C,{method:\"HEAD\",headers:{\"X-CSRF-Token\":\"Fetch\"}})}catch(e){s=true}if(s||!n.ok){e.error(`fetching X-CSRF-Token for logout via POST failed for system: ${L.getAlias()}`,undefined,\"sap.ushell.adapters.cdm.ContainerAdapter::logoutRedirect\");if(n.status===401){a.reload();return}const t=await l.getServiceAsync(\"MessageInternal\");t.show(t.Type.ERROR,c.i18n.getText(\"LogoutFailed\"),{callback:a.reload});return}let i;try{i=await fetch(t,{method:\"POST\",headers:{\"X-CSRF-Token\":n.headers.get(\"X-CSRF-Token\")}});const e=await i.text();this._setWindowLocation(e)}catch(e){s=true}if(s||!i.ok){e.error(`logout via POST failed for system: ${L.getAlias()}`,undefined,\"sap.ushell.adapters.cdm.ContainerAdapter::logoutRedirect\")}}else{e.info(\"performing logout from system via GET (redirect)\",undefined,\"sap.ushell.adapters.cdm.ContainerAdapter::logoutRedirect\");this._setDocumentLocation(t)}};this.sessionKeepAlive=function(){if(!U){return}const e=new XMLHttpRequest;e.open(U.method,U.url,true);e.onreadystatechange=function(){if(this.readyState===4){d.debug(\"Server session was extended\")}};e.send()};this._getSessionKeepAliveConfig=function(){return U}}return f},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/LaunchPageAdapter\", [\"sap/ushell/adapters/cdm/_LaunchPage/readHome\",\"sap/ushell/adapters/cdm/_LaunchPage/modifyHome\",\"sap/ushell/adapters/cdm/_LaunchPage/readCatalogs\",\"sap/m/GenericTile\",\"sap/m/library\",\"sap/ui/core/ComponentContainer\",\"sap/ushell/adapters/cdm/_LaunchPage/uri.transform\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/navigationMode\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ushell/utils/utilsCdm\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/components/tiles/utils\",\"sap/base/util/Version\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/jquery\",\"sap/base/util/deepExtend\",\"sap/base/util/isPlainObject\",\"sap/base/util/isEmptyObject\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/ushell/UI5ComponentType\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,i,o,n,r,s,l,a,u,c,d,p,f,h,g,m,T,jQuery,v,R,_,b,S,C,y,I)=>{\"use strict\";const D=n.GenericTileMode;const j=S.getLogger(\"sap/ushell/adapters/cdm/LaunchPageAdapter\");const w=S.Level;function G(n,G,k){let L;const F=\"sap.ushell.components.tiles.cdm.applauncher\";const O=\"sap.ushell.components.tiles.cdm.applauncherdynamic\";this._mResolvedTiles={};this._mCatalogTilePromises={};this._mFailedResolvedCatalogTiles={};this._mFailedResolvedTiles={};Promise.all([I.getServiceAsync(\"URLParsing\"),I.getServiceAsync(\"CommonDataModel\")]).then(e=>{this.oURLParsingService=e[0];this.oCDMService=e[1]});this.getCdmVersionsSupported=function(){return{min:m(\"0\"),max:m(\"2.0.0\")}};this.isSiteSupported=function(e){if(e._version&&m(e._version).compareTo(this.getCdmVersionsSupported().max)>0){S.fatal(\"Invalid CDM site version: Only sites up to version 2.0.0 are supported\");return false}return true};this.TileType={Tile:\"tile\",Link:\"link\"};this.getGroups=function(){const e=new jQuery.Deferred;this._assureLoaded().done(t=>{d.setPerformanceMark(\"FLP - homepage groups processed\");e.resolve(t)}).fail(()=>{e.resolve([])});return e.promise()};this._getTileFromHashInContextOfSite=function(e,t,i){const o=new jQuery.Deferred;let n=t[i];if(!n){n=e(i);t[i]=n}n.done(e=>{const t={tileIntent:i,tileResolutionResult:e};o.resolve(t)}).fail(e=>{o.reject(`Hash '${i}' could not be resolved to a tile. ${e}`)});return o.promise()};this._getTileFromHash=function(e){const t=new jQuery.Deferred;I.getServiceAsync(\"ClientSideTargetResolution\").then(i=>{function o(...e){const t=new jQuery.Deferred;i.resolveTileIntent(...e).then(e=>{t.resolve(e)}).catch(e=>{t.reject(e)});return t.promise()}this._getTileFromHashInContextOfSite(o,this._mCatalogTilePromises,e).done(t.resolve).fail(t.reject)});return t.promise()};this._getTileForUrl=function(e){const t=e.indicatorDataSource?\"#Shell-dynamicTile\":\"#Shell-staticTile\";return{tileIntent:\"#\",tileResolutionResult:{tileComponentLoadInfo:t,isCustomTile:false}}};this._assureGroupItemsResolved=function(e,t){const i=[];let o;let n;if(e.payload&&e.payload.tiles){o=this._assureGroupTilesResolved(e.payload.tiles,t);Array.prototype.push.apply(i,o)}if(e.payload&&e.payload.links){n=this._assureGroupLinksResolved(e.payload.links,t);Array.prototype.push.apply(i,n)}return i};this._assureGroupTilesResolved=function(e,t){return(e||[]).map(function(e,i){return this._resolveGroupTile(e,t).then(e=>{e.isLink=false;return e})},this)};this._assureGroupLinksResolved=function(e,t){return(e||[]).map(function(e){return this._resolveGroupTile(e,t).then(e=>{e.isLink=true;return e})},this)};this._resolveGroupTile=function(e,t){const i=this._mResolvedTiles;const o=this._mFailedResolvedTiles;let n;function r(t){i[e.id]=t;if(o[e.id]){delete o[e.id]}return t}function s(e){const t=e.target;return t&&t.semanticObject===\"Shell\"&&t.action===\"launchURL\"}if(i[e.id]){return(new jQuery.Deferred).resolve(i[e.id]).promise()}if(e.target&&e.target.url){n=jQuery.when(this._getTileForUrl(e))}else if(e.isBookmark){n=this._resolveTileByIntent(e,t)}else if(s(e)){n=this._resolveTileByIntent(e,t)}else{n=this._resolveTileByAppId(e,t)}n.done(e=>{r(e)}).fail(t=>{o[e.id]=t});return n};this._resolveTileByAppId=function(e,t){function i(e,t){return(new jQuery.Deferred).reject({logLevel:e,message:t}).promise()}if(!R(e)){return i(w.ERROR,\"Cannot resolve tile: oTile must be an object\")}if(!R(t)){return i(w.ERROR,\"Cannot resolve tile: oSite must be an object\")}const o=e.appId||e.appIDHint;if(!o){return i(w.ERROR,[\"Cannot resolve tile '\",e.id,\"': either appId or appIDHint must be specified\"].join(\"\"))}const n=t.applications&&t.applications[o];if(!n){return i(w.INFO,[\"Tile '\",e.id,\"' filtered from result: no app found for appId '\",o,\"' (dangling app reference)\"].join(\"\"))}const r=this._getFirstInbound(n);if(!r){return i(w.ERROR,[\"Cannot resolve tile '\",e.id,\"': app '\",o,\"' has no navigation inbound\"].join(\"\"))}const s=p.mapOne(r.key,r.inbound,n);const a=s.resolutionResult.applicationType;const c=s.resolutionResult.additionalInformation;const d=l.last(\"/core/navigation/enableInPlaceForClassicUIs\");const f=d?d[a]:false;const h=s.tileResolutionResult;h.navigationMode=u.computeNavigationModeForHomepageTiles(a,c,f);h.isLink=false;if(!this._isFormFactorSupported(h)){return i(w.INFO,[\"Tile '\",e.id,\"' filtered from result: form factor not supported\"].join(\"\"))}const g=this._toHashFromInbound(r.inbound);return jQuery.when({tileResolutionResult:h,tileIntent:g})};this._isFormFactorSupported=function(t){const i=d.getFormFactor();return e.supportsFormFactor(t,i)};this._getFirstInbound=function(e){const t=Object.keys(e[\"sap.app\"].crossNavigation.inbounds).shift();const i=e[\"sap.app\"].crossNavigation.inbounds[t];return{key:t,inbound:i}};this._resolveTileByIntent=function(e,t){const i=this._prepareTileHash(e);return this._getTileFromHash(i)};this._prepareTileHash=function(e){const t={};let i;let o;if(this._isCatalogTile(e)){return e.tileIntent}if(this._isGroupTile(e)&&e.target){o=e.target.parameters||[];o.forEach(e=>{if(e.name&&e.value){t[e.name]=[e.value]}});i={target:{semanticObject:e.target.semanticObject,action:e.target.action},params:t,appSpecificRoute:e.target.appSpecificRoute};return`#${h.constructShellHash(i)}`}return undefined};this._allPromisesDone=function(e){const t=new jQuery.Deferred;let i;if(e.length===0){t.resolve([])}else{const o=e.map(e=>{i=new jQuery.Deferred;e.always(i.resolve.bind(i));return i.promise()});jQuery.when.apply(this,o).done(function(){const e=Array.prototype.slice.call(arguments);t.resolve(e)})}return t.promise()};this._assureLoaded=function(){const i=this;if(this._assureLoadedDeferred){return this._assureLoadedDeferred.promise()}const o=new jQuery.Deferred;this._assureLoadedDeferred=o;I.getServiceAsync(\"CommonDataModel\").then(o=>{o.getSite().done(o=>{if(!i.isSiteSupported(o)){throw new Error(\"Invalid CDM site version: Check configuration of launchpage adapter and version of FLP site\")}let n=[];let r=e.getGroupsArrayFromSite(o);let s=e.getDefaultGroup(r);if(!s){s=t.createDefaultGroup(d.generateUniqueId(e.getGroupIdsFromSite(o)));o=t.addGroupToSite(o,s,0);r=e.getGroupsArrayFromSite(o)}L=s;r.forEach(e=>{n=i._assureGroupItemsResolved(e,o).concat(n)});i._allPromisesDone(n).done(()=>{i._assureLoadedDeferred.resolve(r);delete i._assureLoadedDeferred;i._logTileResolutionFailures(i._mFailedResolvedTiles)})}).fail(e=>{S.error(`Delivering homepage groups failed - ${e}`);i._assureLoadedDeferred.resolve([]);delete i._assureLoadedDeferred})});return o.promise()};this._logTileResolutionFailures=function(e){const t={};if(!e){return}Object.keys(w).filter(e=>{const t=w[e];return t>=w.FATAL&&t<=w.ALL}).forEach(e=>{t[w[e]]=\"\"});Object.keys(e).forEach(i=>{const o=e[i];if(o.logLevel){t[o.logLevel]=t[o.logLevel].concat(o.message).concat(\"\\n\")}});if(t[w.FATAL]){j.fatal(t[w.FATAL])}if(t[w.ERROR]){j.error(t[w.ERROR])}if(t[w.WARNING]){j.warning(t[w.WARNING])}if(t[w.INFO]){j.info(t[w.INFO])}if(t[w.DEBUG]){j.debug(t[w.DEBUG])}if(t[w.TRACE]){j.trace(t[w.TRACE])}};this.getDefaultGroup=function(){const e=new jQuery.Deferred;let t;if(!L){t=this._assureLoaded()}if(t){t.done(()=>{e.resolve(L)}).fail(t=>{e.reject(`Failed to access default group. ${t}`)})}else{e.resolve(L)}return e.promise()};this._isValidTitle=function(e){if(typeof e!==\"string\"||!e){return false}return true};this._isGroupPreset=function(t){return e.isGroupPreset(t)};this._isGroupLocked=function(t){return e.isGroupLocked(t)};this.addGroup=function(i){const o=new jQuery.Deferred;const n=this.oCDMService;let r;const s=this;if(!this._isValidTitle(i)){return o.reject(\"No valid group title\").promise()}const l=`Failed to add the group with title '${i}' to the homepage. `;n.getSite().done(l=>{r=d.generateUniqueId(e.getGroupIdsFromSite(l));t.addGroupToSite(l,t.createEmptyGroup(r,i));n.save().done(()=>{delete s._assureLoadedDeferred;o.resolve(l.groups[r],r)}).fail(e=>{o.reject(e)})}).fail(e=>{o.reject(l+e)});return o.promise()};this.getGroupTitle=function(t){return e.getGroupTitle(t)};this.setGroupTitle=function(i,o){const n=this;const r=new jQuery.Deferred;const s=this.oCDMService;if(typeof i!==\"object\"||!e.getGroupId(i)){return r.reject(\"Unexpected group value\").promise()}if(!n._isValidTitle(o)){return r.reject(\"Unexpected oGroup title value\").promise()}const l=`Failed to set new title for group with id '${e.getGroupId(i)}'. `;const a=e.getGroupTitle(i);s.getSite().done(e=>{if(i){t.setGroupTitle(i,o)}s.save().done(()=>{r.resolve()}).fail(e=>{S.error(e);r.reject(a)})}).fail(e=>{r.reject(a,l+e)});return r.promise()};this.getGroupId=function(t){return e.getGroupId(t)};this.hideGroups=function(i){const o=new jQuery.Deferred;const n=this.oCDMService;let r;if(i&&Array.isArray(i)){r=\"Failed to hide group. \";n.getSite().done(r=>{e.getGroupsArrayFromSite(r).forEach(o=>{t.setGroupVisibility(o,i&&Array.prototype.indexOf.call(i,e.getGroupId(o))===-1)});n.save().done(()=>{o.resolve()}).fail(e=>{o.reject(`Hiding of groups did not work as expected - ${e}`)})}).fail(e=>{o.reject(r+e)})}else{o.reject(\"Invalid input parameter aHiddenGroupIds. Please pass a valid input parameter.\")}return o.promise()};this.isGroupVisible=function(t){return e.isGroupVisible(t)};this.moveGroup=function(i,o){const n=new jQuery.Deferred;const r=this.oCDMService;if(!i||!e.getGroupId(i)||o<0){return n.reject(\"Unable to move groups - invalid parameters\").promise()}const s=`Failed to move group with id '${i.identification.id}'. `;r.getSite().done(s=>{const l=e.getGroupIdsFromSite(s);const a=e.getGroupId(i);if(!l){return n.reject(\"groupsOrder not found - abort operation of adding a group.\")}else if(l.indexOf(a)===o){return n.resolve()}const u=d.moveElementInsideOfArray(l,l.indexOf(a),o);if(!u){return n.reject(\"invalid move group operation - abort.\")}t.setGroupsOrder(s,u);r.save().done(()=>{n.resolve()}).fail(e=>{n.reject(e)});return undefined}).fail(e=>{n.reject(s+e)});return n.promise()};this.removeGroup=function(i){const o=new jQuery.Deferred;const n=this.oCDMService;if(typeof i!==\"object\"){return o.reject(\"invalid group parameter\").promise()}const r=e.getGroupId(i);if(!r){return o.reject(\"group without id given\").promise()}const s=`Failed to remove group with id '${r}'. `;n.getSite().done(e=>{t.removeGroupFromSite(e,i);n.save().done(()=>{o.resolve()}).fail(e=>{o.reject(e)})}).fail(e=>{o.reject(s+e)});return o.promise()};this.resetGroup=function(i){const o=new jQuery.Deferred;const n=this.oCDMService;const r=[];const s=this;let l;let a;if(typeof i===\"object\"&&e.getGroupId(i)){a=e.getGroupId(i);l=`Failed to reset group with id '${a}'. `;n.getSite().done(l=>{v(r,e.getGroupsArrayFromSite(l));if(s.isGroupRemovable(i)===false){n.getGroupFromOriginalSite(a).done(i=>{if(typeof l===\"object\"&&e.getGroupFromSite(l,a)){t.overwriteGroup(l,i,a)}n.save().done(()=>{o.resolve(i)}).fail(e=>{o.reject(`Group could not be reset - ${e}`,r)})}).fail(e=>{o.reject(`Group could not be reset - ${e}`,r)})}else{o.reject(\"Group could not be reset as it was created by the user\",r)}}).fail(e=>{o.reject(l+e,[])})}return o.promise()};this.getTileTitle=function(t){return e.getTileTitle(this._mResolvedTiles,t)};this.getTileSubtitle=function(t){return e.getTileSubtitle(this._mResolvedTiles,t)};this.getTileIcon=function(t){return e.getTileIcon(this._mResolvedTiles,t)};this.getTileInfo=function(t){return e.getTileInfo(this._mResolvedTiles,t)};this.getTileIndicatorDataSource=function(e){const t=this._mResolvedTiles[e.id];const i={};if(e.indicatorDataSource){i.indicatorDataSource=v({},e.indicatorDataSource);if(e.dataSource){i.dataSource=v({},e.dataSource)}return i}if(!t){return i}const o=t.tileResolutionResult;if(o.indicatorDataSource){i.indicatorDataSource=v({},o.indicatorDataSource);if(o.indicatorDataSource.hasOwnProperty(\"dataSource\")){const e=o.indicatorDataSource.dataSource;const n=o.dataSources;if(n&&n.hasOwnProperty(e)){i.dataSource=v({},n[e])}else{S.warning(`datasource referenced but not found for tile: ${t.tileIntent}`)}}if(d.getMember(o,\"runtimeInformation.componentProperties.url\")){const e=d.getMember(i,\"indicatorDataSource.path\");const t=d.getMember(i,\"dataSource.uri\");const n=d.getMember(o,\"runtimeInformation.componentProperties.url\");const r=s(e,t,n,this.getWindowLocationHref());if(!r.error){if(e){i.indicatorDataSource.path=r.uri}if(t){i.dataSource.uri=r.uriParent}}}}return i};this.getWindowLocationHref=function(){return window.location.href};this.isGroupRemovable=function(e){return!this._isGroupPreset(e)};this.isGroupLocked=function(e){return this._isGroupLocked(e)};this.getGroupTiles=function(t){return e.getGroupTiles(t).concat(e.getGroupLinks(t))};this.getLinkTiles=function(t){return e.getGroupLinks(t)};this.getTileType=function(t){if(e.isLink(this._mResolvedTiles,t)){return this.TileType.Link}return this.TileType.Tile};this.getTileId=function(t){return e.getTileId(t)};this.getTileSize=function(t){return e.getTileSize(this._mResolvedTiles,t)||\"1x1\"};this.getTileTarget=function(t){let i;const o=e.getTileId(t);const n=this._mResolvedTiles[o];let r;if(t.target&&t.target.url){return t.target.url}if(n&&n.tileResolutionResult){i=n.tileResolutionResult;if(i.isCustomTile!==true){return n.tileIntent}if(i&&typeof i.targetOutbound===\"object\"){r=this._toHashFromOutbound(i.targetOutbound);if(r){return r}}}S.warning(`Could not find a target for Tile with id '${o}'`,\"sap.ushell.adapters.cdm.LaunchPageAdapter\");return\"\"};this.isLinkPersonalizationSupported=function(e){return true};this.isTileIntentSupported=function(e){return this._mFailedResolvedTiles[e.id]===undefined};this.isTileIntentSupportedAsync=function(e){return Promise.resolve(this.isTileIntentSupported(e))};this._notifyTileAboutRefresh=function(e){if(typeof e.tileRefresh===\"function\"){e.tileRefresh()}};this.refreshTile=function(e){const t=this._mResolvedTiles[e.id];if(t){if(t.tileComponent){this._notifyTileAboutRefresh(t.tileComponent)}}};this._notifyTileAboutVisibility=function(e,t,i){if(typeof e.tileSetVisible===\"function\"&&i!==t){e.tileSetVisible(t)}};this.setTileVisible=function(e,t){const i=this._mResolvedTiles[e.id];if(i){if(i.tileComponent){this._notifyTileAboutVisibility(i.tileComponent,t,i.visibility)}i.visibility=t}};this.getTileView=function(e){const t=this;return new jQuery.Deferred(i=>t._getTileView(e,false).then(e=>{i.resolve(e)},t=>{const o=`Tile with ID '${e.id}' could not be initialized${t?`:\\n${t}`:\".\"}`;S.error(o,null,e.tileType);i.reject(o)})).promise()};this._getTileUiComponentContainerSync=function(e,t,i){const n=this;let s;let l;let a;let u={};if(i===true){s=n._createTileComponentData(e,true,t)}else{s=n._createTileComponentData(e,false,t)}const d=t.tileResolutionResult;if(t.isLink){l=d.navigationMode;return n._createLinkInstance(e,i,l,o,c)}if(typeof d.tileComponentLoadInfo===\"string\"){if(s.properties.indicatorDataSource&&s.properties.indicatorDataSource.path){u.name=\"sap.ushell.components.tiles.cdm.applauncherdynamic\"}else{u.name=\"sap.ushell.components.tiles.cdm.applauncher\"}}else if(typeof d.tileComponentLoadInfo===\"object\"&&d.tileComponentLoadInfo!==null){u=d.tileComponentLoadInfo.componentProperties||{};u.name=d.tileComponentLoadInfo.componentName}u.componentData=s;if(u.manifest){u.componentData.properties=u.componentData.properties||{};u.componentData.properties.manifest=u.manifest}if(u.name){u.async=false;try{a=sap.ui.component(u)}catch(e){S.error(`${e.message}\\n-- An error occurred while instantiating `+`the tile component for ${u.name}`,e.stack?e.stack:\"\",\"sap.ushell.adapters.cdm.LaunchPageAdapter\");return null}const t=new r({component:a,height:\"100%\"});if(!i){n._mResolvedTiles[e.id].tileComponent=a}return t}return null};this._getTileUiComponentContainer=function(e,t,i){const n=this;let s;let l;let u;let d;const p=new jQuery.Deferred;if(i===true){s=n._createTileComponentData(e,true,t)}else{s=n._createTileComponentData(e,false,t)}const f=t.tileResolutionResult;if(t.isLink){l=f.navigationMode;p.resolve(n._createLinkInstance(e,i,l,o,c));return p.promise()}const h=this._createTileComponentProperties(s,f.tileComponentLoadInfo);if(!h.name){return p.reject(`Cannot find name of tile component for tile with id: '${e.id}'`).promise()}if(h.manifest){s.properties=s.properties||{};s.properties.manifest=h.manifest}const g=this.isCustomTile(h.name);function m(t){let o;u=t.componentHandle.getInstance();d=new r({component:u,height:\"100%\"});if(!i){o=n._mResolvedTiles[e.id];o.tileComponent=u;if(typeof o.visibility===\"boolean\"){n._notifyTileAboutVisibility(u,o.visibility)}}return d}function T(e){const t=new jQuery.Deferred;e.createComponent({loadCoreExt:g,loadDefaultDependencies:false,componentData:s,url:h.url,applicationConfiguration:{},reservedParameters:{},applicationDependencies:h,ui5ComponentName:h.name},{},[],C.Visualization).then(e=>{const i=m(e);t.resolve(i)}).catch(e=>{t.reject(e)});return t.promise()}function v(){const e={componentData:s,url:h.url,name:h.name,async:false};u=sap.ui.component(e);const t={componentHandle:{getInstance:function(){return u}}};return m(t)}if(g){a.once(\"CoreResourcesComplementLoaded\").do(()=>{I.getServiceAsync(\"Ui5ComponentLoader\").then(e=>{T(e).done(e=>{p.resolve(e)}).fail(e=>{p.reject(e)})})})}else{const e=v();p.resolve(e)}return p.promise()};this._createTileComponentProperties=function(e,t){let i={};if(typeof t===\"string\"){if(e.properties.indicatorDataSource&&e.properties.indicatorDataSource.path){i.name=O}else{i.name=F}return i}if(typeof t===\"object\"&&t!==null){i=t.componentProperties||{};i.name=t.componentName}return i};this._getTileView=function(e){let t;const i=new jQuery.Deferred;if(typeof e!==\"object\"||!e.id){t=`Invalid input parameter passed to _getTileView: ${e}`;S.error(t);return i.reject(t).promise()}const o=this._mResolvedTiles[e.id];if(o){return this._getTileUiComponentContainer(e,o,false)}t=`No resolved tile found for tile ID: ${e.id}`;S.error(t);return i.reject(t).promise()};this._getCatalogTileView=function(e){if(typeof e!==\"object\"){throw new Error(e)}return this._getTileUiComponentContainerSync(e,e,true)};this._getCatalogTileViewControl=function(e){const t=new jQuery.Deferred;if(typeof e!==\"object\"){const i=`Invalid input parameter passed to _getCatalogTileView: ${e}`;S.error(i);return t.reject(i).promise()}return this._getTileUiComponentContainer(e,e,true)};this._createTileComponentData=function(e,t,i){const o=t?this.getCatalogTileTitle(e):this.getTileTitle(e);const n=t?this.getCatalogTilePreviewSubtitle(e):this.getTileSubtitle(e);const r=t?this.getCatalogTilePreviewIcon(e):this.getTileIcon(e);const s=t?this.getCatalogTilePreviewInfo(e):this.getTileInfo(e);const l=t?this.getCatalogTileTargetURL(e):this.getTileTarget(e);const a=this.getTileIndicatorDataSource(e);const u={properties:{},startupParameters:{}};if(i.tileResolutionResult.isCustomTile===true&&i.tileResolutionResult.startupParameters){u.startupParameters=i.tileResolutionResult.startupParameters}if(o){u.properties.title=o}if(s){u.properties.info=s}if(n){u.properties.subtitle=n}if(r){u.properties.icon=r}if(l){u.properties.targetURL=l}if(a.indicatorDataSource){u.properties.indicatorDataSource=a.indicatorDataSource;if(a.dataSource){u.properties.dataSource=a.dataSource}}if(i.tileResolutionResult){u.properties.navigationMode=i.tileResolutionResult.navigationMode}return u};this._createLinkInstance=function(e,t,i,o,n){let r;let s;const l=this.getTileSubtitle(e);const a=o;if(t===true){r=this.getCatalogTileTitle(e)}else{r=this.getTileTitle(e)}const u=new a({mode:D.LineMode,subheader:l,header:r,url:f.getLeanURL(this.getTileTarget(e)),press:function(t){this._genericTilePressHandler(e,t)}.bind(this)});if(i){s=n.i18n.getText(`${i}NavigationMode`);u.setAriaLabel(`${s} ${r} ${l}`)}this._mResolvedTiles[e.id].linkTileControl=u;return u};this._genericTilePressHandler=function(e,t){let i;if(t.getSource().getScope&&t.getSource().getScope()===\"Display\"){i=this.getTileTarget(e);y.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:i}});if(i){if(i[0]===\"#\"){hasher.setHash(i)}else{f.openURL(i,\"_blank\")}}}};function P(e){return Object.keys(e).map(t=>{const i=e[t]&&e[t][0];return{name:t,value:i||\"\"}})}function A(e){const t={semanticObject:e.semanticObject,action:e.action,parameters:P(e.params)};if(e.appSpecificRoute){t.appSpecificRoute=e.appSpecificRoute}return t}this._addTileToSite=function(e,t,i,o){const n=this;const r=new jQuery.Deferred;const s=h.parseShellHash(i.properties.targetURL);const l={id:n.getTileId(i),target:{semanticObject:s.semanticObject,action:s.action,parameters:P(s.params)}};e.groups[t.identification.id].payload.tiles.push(l);o.save().done(()=>{r.resolve(l)}).fail(e=>{r.reject(e)});return r.promise()};function M(e,t,i){t=v({},t);if(i){e.target=i}if(t.title||t.title===\"\"){e.title=t.title}if(t.icon||t.icon===\"\"){e.icon=t.icon}if(t.subtitle||t.subtitle===\"\"){e.subTitle=t.subtitle}if(t.info||t.info===\"\"){e.info=t.info}if(t.dataSource){e.dataSource={};v(e.dataSource,t.dataSource)}if(t.serviceUrl||t.serviceUrl===\"\"){e.indicatorDataSource={path:t.serviceUrl}}if(e.indicatorDataSource&&(t.serviceRefreshInterval||t.serviceRefreshInterval===0)){e.indicatorDataSource.refresh=t.serviceRefreshInterval}}function H(e,t){const i={id:d.generateUniqueId([])};M(i,e,t);return i}function $(e,t){const i=H(e,t);i.isBookmark=true;return i}this.addTile=function(e,t){const i=new jQuery.Deferred;let o;const n=this.oCDMService;if(!t){t=L}const r=H();r.appId=e.tileResolutionResult.appId;this._mResolvedTiles[r.id]={tileIntent:e.tileIntent,tileResolutionResult:e.tileResolutionResult,isLink:false};n.getSite().done(e=>{e.groups[t.identification.id].payload.tiles.push(r);n.save().done(()=>{i.resolve(r)}).fail(e=>{i.reject(e)})}).fail(e=>{o=`Failed to add tile with id '${r.id}' to group with id '${t.identification.id}'. `;i.reject(o+e)});return i.promise()};this.removeTile=function(e,t,i){const o=this.oCDMService;const n=new jQuery.Deferred;const r=this;if(!e||typeof e!==\"object\"||!e.identification||!e.identification.id||!t||typeof t!==\"object\"||!t.id){return n.reject({},\"Failed to remove tile. No valid input parameters passed to removeTile method.\").promise()}const s=`Failed to remove tile with id '${t.id}' from group with id '${e.identification.id}'. `;o.getSite().done(l=>{let a;i=+i;try{a=l.groups[e.identification.id].payload}catch(t){n.reject(l.groups[e.identification.id],s)}const u=r.getTileType(t)===r.TileType.Link?\"links\":\"tiles\";if(r.getTileType(t)===r.TileType.Link){i-=a.tiles.length}if(i>=0){a[u].splice(i,1)}else{a[u]=a[u].filter(e=>e.id!==t.id)}o.save().done(()=>{n.resolve()}).fail(t=>{S.error(t);n.reject(l.groups[e.identification.id],t)})}).fail(e=>{n.reject({},s+e)});return n.promise()};this.moveTile=function(e,t,i,o,n,r){const s=new jQuery.Deferred;const l=this.oCDMService;const a=this;if(!e||_(e)||t===undefined||t<0||i===undefined||i<0||!o||!o.identification||!o.identification.id||!n||!n.identification||!n.identification.id){return s.reject(\"Invalid input parameters\").promise()}const u=`Failed to move tile with id '${e.id}'. `;l.getSite().done(c=>{let d;const p=a.getTileType(e)===a.TileType.Link?\"links\":\"tiles\";if(!r){r=a._mResolvedTiles[e.id].isLink?\"link\":\"tile\"}const f=r===\"link\"?\"links\":\"tiles\";if(p!==f&&a._mResolvedTiles[e.id]){a._mResolvedTiles[e.id].isLink=r===\"link\"}if(f===\"links\"){i-=c.groups[n.identification.id].payload.tiles.length}if(p===\"links\"){t-=c.groups[o.identification.id].payload.tiles.length}if(o.identification.id===n.identification.id){if(t!==i||p!==f){d=c.groups[n.identification.id].payload;d[p].splice(t,1);d[f].splice(i,0,e)}else{return s.resolve(e).promise()}}else{c.groups[o.identification.id].payload[p].splice(t,1);c.groups[n.identification.id].payload[f].splice(i,0,e)}l.save().done(()=>{s.resolve(e)}).fail(e=>{S.error(u+e);s.reject(u+e)});return undefined}).fail(e=>{S.error(u+e);s.reject(u+e)});return s.promise()};this._compareCatalogs=function(e,t){if(e.identification.id>t.identification.id){return 1}return-1};this.getCatalogs=function(){const e=this;const t=new jQuery.Deferred;const i=[];function o(e,t,i,o){const n=e.catalogs[t];i.push(n);o.notify(n)}I.getServiceAsync(\"CommonDataModel\").then(n=>{n.getSite().done(n=>{Object.keys(n.catalogs).forEach(e=>{o(n,e,i,t)});t.resolve(i.sort(e._compareCatalogs))})},0);return t.promise()};this._isStartableInbound=function(e){const t=[\"Shell-plugin\",\"Shell-bootConfig\"];if(!e.semanticObject||!e.action){return false}if(t.indexOf(`${e.semanticObject}-${e.action}`)>-1){return false}if(!b.get(\"signature.parameters\",e)){return true}const i=Object.keys(e.signature.parameters).every(t=>!e.signature.parameters[t].filter||(!!e.signature.parameters[t].launcherValue||t===\"sap-external-url\"));return i};this._isHiddenInbound=function(e){return!!e.hideLauncher};this._toHashFromInbound=function(e){const t=p.toHashFromInbound(e);if(!t){return undefined}return`#${t}`};this._getExternalUrlFromInbound=function(e){return b.get(\"signature.parameters.sap-external-url.launcherValue.value\",e)||null};this._toHashFromOutbound=function(e){const t=p.toHashFromOutbound(e);if(!t){return undefined}return`#${t}`};this._isCustomTile=function(e){if(d.getMember(e,\"sap|flp.type\")===\"tile\"){return true}return false};function U(e,t){const i=this;const o=new jQuery.Deferred;setTimeout(()=>{const n=(e.payload&&e.payload.appDescriptors||[]).reduce((e,o)=>{const n=t.applications[o.id];let r;let s;let a;let c;let d;let f;let h;if(!n){return e}const g=i._getMember(n,\"sap|app.crossNavigation.inbounds\");if(!g||Object.keys(g).length===0){return e}const m=Object.keys(g)[0];const T=g[m];if(i._isStartableInbound(T)&&!i._isHiddenInbound(T)){const t=p.mapOne(m,T,n);if(!t||!t.tileResolutionResult){return e}c=t.resolutionResult.applicationType;h=l.last(\"/core/navigation/enableInPlaceForClassicUIs\");f=h?h[c]:false;d=t.resolutionResult.additionalInformation;t.tileResolutionResult.navigationMode=u.computeNavigationModeForHomepageTiles(c,d,f);s=t.tileResolutionResult;r=i._toHashFromInbound(T);a={id:r,tileIntent:r,tileResolutionResult:s,isCatalogTile:true};e.push(a)}return e},[]);o.resolve(n)},0);return o.promise()}this.getCatalogTiles=function(e){const t=this;const i=new jQuery.Deferred;if(typeof e!==\"object\"||e===null){return i.reject(`Invalid input parameter '${e}' passed to getCatalogTiles.`).promise()}t.oCDMService.getSite().done(o=>{U.call(t,e,o).done(i.resolve).fail(i.reject)}).fail(e=>{i.reject(`Failed to get site: ${e}`)});return i.promise()};this.isCustomTile=function(e){return!(e===F||e===O)};this.getCatalogError=function(e){if(e.error){return e.error}return undefined};this.getCatalogId=function(e){return i.getCatalogId(e)};this.getCatalogTitle=function(e){return i.getCatalogTitle(e)};this._isGroupTile=function(t){return e.isGroupTile(t)};this._isCatalogTile=function(e){return!!(e&&e.isCatalogTile)};this._isFailedGroupTile=function(t){return!!(t&&this._mFailedResolvedTiles&&this._mFailedResolvedTiles[e.getTileId(t)])};this._isFailedCatalogTile=function(t){return!!(t&&this._mFailedResolvedCatalogTiles&&this._mFailedResolvedCatalogTiles[e.getTileId(t)])};this.getCatalogTileId=function(t){if(this._isGroupTile(t)){if(this._isFailedGroupTile(t)){return undefined}if(t.isBookmark&&b.get(\"target.url\",t)){return t.target.url}return(this._mResolvedTiles[e.getTileId(t)]||{}).tileIntent}if(this._isCatalogTile(t)){return t.id}return undefined};this.getCatalogTileTitle=function(e){if(this._isGroupTile(e)){if(this._isFailedGroupTile(e)){return\"\"}return this._mResolvedTiles[e.id].tileResolutionResult.title}if(this._isCatalogTile(e)){if(this._isFailedCatalogTile(e)){return undefined}return e.tileResolutionResult.title}return undefined};this.getCatalogTileSize=function(e){return e.tileResolutionResult.size||\"1x1\"};this.getCatalogTileView=function(e){return this._getCatalogTileView(e)};this.getCatalogTileViewControl=function(e){return this._getCatalogTileViewControl(e)};this.getCatalogTileTargetURL=function(e){if(!e){throw new Error(\"The given tile is falsy\")}if(this._isCatalogTile(e)){if(e.tileResolutionResult&&e.tileResolutionResult.isCustomTile){if(!e.tileResolutionResult.targetOutbound){return\"\"}return this._toHashFromOutbound(e.tileResolutionResult.targetOutbound)}return e.tileIntent||\"\"}return this.getTileTarget(e)};this.getCatalogTilePreviewTitle=function(e){if(this._isGroupTile(e)){return this.getTileTitle(e)}return e.tileResolutionResult&&e.tileResolutionResult.title||\"\"};this.getCatalogTilePreviewSubtitle=function(e){if(this._isGroupTile(e)){return this.getTileSubtitle(e)}return e.tileResolutionResult&&e.tileResolutionResult.subTitle||\"\"};this.getCatalogTilePreviewIcon=function(e){if(this._isGroupTile(e)){return this.getTileIcon(e)}return e.tileResolutionResult&&e.tileResolutionResult.icon||\"\"};this.getCatalogTilePreviewInfo=function(e){if(this._isGroupTile(e)){return this.getTileInfo(e)}return e.tileResolutionResult&&e.tileResolutionResult.info||\"\"};this.getCatalogTileKeywords=function(e){const t=[];let i=e;if(!i){S.error(\"Could not find the Tile\",\"sap.ushell.adapters.cdm.LaunchPageAdapter\");return t}if(this._mResolvedTiles&&this._mResolvedTiles[e.id]){i=this._mResolvedTiles[e.id]}if(i&&i.tileResolutionResult&&i.tileResolutionResult.title){t.push(i.tileResolutionResult.title)}if(i&&i.tileResolutionResult&&i.tileResolutionResult.subTitle){t.push(i.tileResolutionResult.subTitle)}return t};function V(e){return{url:e}}function E(e){return e.map(e=>e.name+e.value).sort().join()}function x(e,t){let i;let o;e=e||[];t=t||[];if(e.length===t.length){i=E(e);o=E(t);return i===o}return false}function N(e,t){if(e&&t){if(e.url){return e.url===t.url}return e.semanticObject===t.semanticObject&&e.action===t.action&&x(e.parameters,t.parameters)&&e.appSpecificRoute===t.appSpecificRoute}return e===t}this._visitBookmarks=function(e,t){const i=this.oCDMService;let o;const n=h.parseShellHash(e);if(n){o=A(n)}else{o=V(e)}return i.getSite().then(e=>{const i=e.groups;const n=Object.keys(i).filter(e=>!i[e].payload.locked).map(e=>i[e].payload.tiles.filter(e=>e.isBookmark&&N(o,e.target))).reduce((e,t)=>{Array.prototype.push.apply(e,t);return e},[]);if(!t){return n.length}return jQuery.when(n.map(t)).then(()=>n.length)})};this.addBookmark=function(e,t){const i=this;return new jQuery.Deferred(o=>{const n=i.oCDMService;jQuery.when(t||i.getDefaultGroup(),n.getSite()).done((t,r)=>{let s;const l=h.parseShellHash(e.url);let a;let u=false;if(!l){s=V(e.url);u=true}else{s=A(l)}const c=$(e,s);if(u){a=new jQuery.Deferred;a.resolve(i._getTileForUrl(c))}else{a=i._getTileFromHash(e.url)}a.done(e=>{e.isLink=false;i._mResolvedTiles[c.id]=e;r.groups[t.identification.id].payload.tiles.push(c);n.save().done(()=>{o.resolve(c)}).fail(e=>{o.reject(e)})}).fail(e=>{o.reject(`Bookmark creation failed because: ${e}`)})}).fail(e=>{o.reject(e)})}).promise()};this.countBookmarks=function(e){return this._visitBookmarks(e)};this.updateBookmarks=function(e,t){const i=this.oCDMService;const o=this._mResolvedTiles;function n(i){return new jQuery.Deferred(n=>{let r;let s;let l;let a=false;const u={};if(t.url||t.url===\"\"){r=h.parseShellHash(t.url);if(!r){s=V(t.url)}else{s=A(r)}}if(i.icon!==t.icon){u.icon=t.icon;a=true}if(i.title!==t.title){u.title=t.title;a=true}if(i.subTitle!==t.subtitle){u.subtitle=t.subtitle;a=true}if(t.url&&e!==t.url){u.targetURL=t.url;a=true}if(i.info!==t.info){u.info=t.info;a=true}M(i,t,s);if(a&&o[i.id]){l=o[i.id].tileComponent;if(l){l.tileSetVisualProperties(u)}}n.resolve(i)}).promise()}return this._visitBookmarks(e,n).then(e=>i.save().then(()=>e))};this.deleteBookmarks=function(e){const t=this.oCDMService;const i=h.parseShellHash(e);let o;if(i){o=A(i)}else{o=V(e)}return t.getSite().then(e=>{const i=e.groups;const n=Object.keys(i).map(e=>{const t=i[e].payload;let n=0;t.tiles=t.tiles.filter(e=>{if(e.isBookmark&&N(o,e.target)){++n;return false}return true});return n}).reduce((e,t)=>{e+=t;return e},0);return t.save().then(()=>n)})};this.onCatalogTileAdded=function(e){};this._onTileSettingsSave=function(e,t){const i=new jQuery.Deferred;if(!e||!e.id||!t){return i.reject().promise()}const o=t.oTitleInput.getValue();const n=t.oSubTitleInput.getValue();const r=t.oInfoInput.getValue();const s=this.getTileTitle(e);const l=this.getTileInfo(e);const a=this.getTileSubtitle(e);if(s===o&&a===n&&l===r){return i.resolve().promise()}const u={};if(s!==o){u.title=o;e.title=o}if(a!==n){u.subtitle=n;e.subTitle=n}if(l!==r){u.info=r;e.info=r}if(this._mResolvedTiles[e.id].tileComponent){this._mResolvedTiles[e.id].tileComponent.tileSetVisualProperties(u)}else if(this._mResolvedTiles[e.id].linkTileControl){if(u.title){this._mResolvedTiles[e.id].linkTileControl.setHeader(u.title)}if(u.subtitle){this._mResolvedTiles[e.id].linkTileControl.setSubheader(u.subtitle)}if(u.title||u.subtitle){this._mResolvedTiles[e.id].linkTileControl.rerender()}}I.getServiceAsync(\"CommonDataModel\").then(e=>{e.save().fail(e=>{S.error(e);i.reject(`Could not save personalization changes: ${e}`)}).done(()=>{i.resolve()})});return i.promise()};this.getTileActions=function(e){const t=[];let i;let o;if(this._isGroupTile(e)&&!this._isFailedGroupTile(e)){o=new T({config:{display_title_text:this.getTileTitle(e),display_subtitle_text:this.getTileSubtitle(e),display_info_text:this.getTileInfo(e)}});i=g.getTileSettingsAction(o,this._onTileSettingsSave.bind(this,e),this.getTileType(e));t.push(i)}return t}}G.prototype._getMember=function(e,t){return d.getMember(e,t)};return G},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/MenuAdapter\", [\"sap/ushell/library\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(e,t,n)=>{\"use strict\";const r=e.ContentNodeType;function i(){}i.prototype.isMenuEnabled=function(){if(!t.last(\"/core/menu/enabled\")){return Promise.resolve(false)}return n.getServiceAsync(\"CommonDataModel\").then(e=>e.getMenuEntries(\"main\").then(e=>e.length>0))};i.prototype.getMenuEntries=function(){return n.getServiceAsync(\"CommonDataModel\").then(e=>e.getMenuEntries(\"main\"))};i.prototype.getContentNodes=function(){return this.getMenuEntries().then(this._normalizeMenuEntries.bind(this)).then(this._buildContentNodes.bind(this))};i.prototype._normalizeMenuEntries=function(e){const t=[];return n.getServiceAsync(\"CommonDataModel\").then(n=>{e.forEach(e=>{if(this._isSpaceOrPage(e)&&e.menuEntries===undefined){const r=e.target.parameters.find(e=>e.name===\"pageId\");const i=r&&r.value;e.menuEntries=[{title:i,type:\"IBN\",target:e.target}];t.push(n.getPage(i).then(t=>{e.menuEntries[0].title=t.identification.title}))}});return Promise.allSettled(t)}).then(()=>e)};i.prototype._buildContentNodes=function(e){return e.filter(this._isSpaceOrPage).map(e=>{const t=e.target.parameters.find(e=>e.name===\"spaceId\").value;const n={id:t,label:e.title,type:r.Space,isContainer:false};n.children=e.menuEntries.filter(this._isSpaceOrPage).map(e=>{const t=e.target.parameters.find(e=>e.name===\"pageId\");const n=t&&t.value;if(!n){return null}return{id:n,label:e.title,type:r.Page,isContainer:true,children:[]}}).filter(e=>!!e);return n})};i.prototype._isSpaceOrPage=function(e){return e.type===\"IBN\"&&e.target&&e.target.semanticObject===\"Launchpad\"&&e.target.action===\"openFLPPage\"&&Array.isArray(e.target.parameters)};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/PagesCommonDataModelAdapter\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/ushell/adapters/cdm/util/cdmSiteUtils\",\"sap/base/util/extend\",\"sap/base/util/Version\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(e,t,i,s,n,jQuery,a,o)=>{\"use strict\";function r(){this._oCDMPagesRequests={};this._oUnstableVisualizations={};this._sComponent=\"sap.ushell.adapters.cdm.PagesCommonDataModelAdapter\";this.oSitePromise=new Promise((e,t)=>{this.fnSiteResolve=e;this.fnSiteReject=t})}r.prototype.getSite=function(){const e=new jQuery.Deferred;o.getServiceAsync(\"NavigationDataProvider\").then(e=>e.getNavigationData()).then(e=>{const s={};const n=e.inbounds;for(let e=0;e{e.reject(t);this.fnSiteReject(t)});return e.promise()};r.prototype.getPage=function(t){if(!t){const t=\"PagesCommonDataModelAdapter: getPage was called without a pageId\";e.fatal(t,null,this._sComponent);return Promise.reject(t)}return this.oSitePromise.then(i=>{if(i.pages[t]){return i.pages[t]}return Promise.all([o.getServiceAsync(\"PagePersistence\"),o.getServiceAsync(\"NavigationDataProvider\")]).then(e=>{const i=e[0];const s=e[1];return Promise.all([i.getPage(t),s.getNavigationData()])}).then(e=>{const t=e[0];const s=e[1];this._addVisualizationsToSite(i,t.visualizations);this._addVizTypesToSite(i,t);this._addPageToSite(i,t.page,s);this._storeUnstableVisualizations(t.page.id,t.unstableVisualizations);return i.pages[t.page.id]}).catch(t=>{e.fatal(\"PagesCommonDataModelAdapter encountered an error while fetching required services: \",t,this._sComponent);return Promise.reject(t)})})};r.prototype._storeUnstableVisualizations=function(e,t){if(!t){return}this._oUnstableVisualizations[e]=t};r.prototype._addVizTypesToSite=function(e,t){const n={};Object.keys(t.vizTypes).forEach(i=>{if(!e.vizTypes[i]){n[i]=t.vizTypes[i]}});s(e.vizTypes,i.getVizTypes(n))};r.prototype._addVisualizationsToSite=function(e,t,n){let a;if(n){a={};Object.keys(t).forEach(i=>{if(!e.visualizations[i]){a[i]=t[i]}})}else{a=t}s(e.visualizations,i.getVisualizations(a))};r.prototype._addPageToSite=function(t,i,s){const n={};const a=s.inbounds;for(let e=0;ee.id)},sections:{}}};let r;let l;for(let s=0;se.id)},viz:{}};let n;let a;for(let i=0;i{let s;const n=[];for(let e=0;e{const t=e[0];const i=e[1];return Promise.all([t.getPages(n),i.getNavigationData()])}).then(e=>{const t=e[0];const s=e[1];for(let e=0;e{e.fatal(\"PagesCommonDataModelAdapter encountered an error while fetching required services: \",t,this._sComponent);return Promise.reject(t)})}).then(e=>{const i={};t.forEach(t=>{const s=e[t];if(s){i[t]=s}});return i})};r.prototype.getPersonalization=function(t){const i=new jQuery.Deferred;o.getServiceAsync(\"PersonalizationV2\").then(async s=>{let a;const o=new n(t);a={container:\"sap.ushell.cdm.personalization\",item:\"data\"};if(o.inRange(\"3.1.0\",\"4.0.0\")){a={container:\"sap.ushell.cdm3-1.personalization\",item:\"data\"}}const r={validity:\"Infinity\",keyCategory:s.KeyCategory.GENERATED_KEY,writeFrequency:s.WriteFrequency.HIGH,clientStorageAllowed:false};const l=await s.getPersonalizer(a,r);l.getPersData().then(e=>{i.resolve(e||{})}).catch(t=>{e.error(\"Could not load page personalization\",t,this._sComponent);i.reject(t)})}).catch(()=>{i.reject(\"Personalization Service could not be loaded\")});return i.promise()};r.prototype.setPersonalization=function(e){const t=new jQuery.Deferred;o.getServiceAsync(\"PersonalizationV2\").then(async i=>{let s;const a=new n(e.version);s={container:\"sap.ushell.cdm.personalization\",item:\"data\"};if(a.inRange(\"3.1.0\",\"4.0.0\")){s={container:\"sap.ushell.cdm3-1.personalization\",item:\"data\"}}const o={validity:\"Infinity\",keyCategory:i.KeyCategory.GENERATED_KEY,writeFrequency:i.WriteFrequency.HIGH,clientStorageAllowed:false};const r=await i.getPersonalizer(s,o);r.setPersData(e).then(()=>{t.resolve(e)}).catch(e=>{t.reject(e)})}).catch(()=>{t.reject(\"Personalization Service could not be loaded\")});return t.promise()};r.prototype.getVisualizations=function(){return o.getServiceAsync(\"VisualizationDataProvider\").then(e=>Promise.all([e.getVisualizationData(),this.oSitePromise]).then(e=>{const t=e[0];const i=e[1];this._addVisualizationsToSite(i,t.visualizations);return i.visualizations}))};r.prototype.getVizTypes=function(){return o.getServiceAsync(\"VisualizationDataProvider\").then(e=>Promise.all([e.getVisualizationData(),this.oSitePromise]).then(e=>{const t=e[0];const i=e[1];this._addVizTypesToSite(i,t);return i.vizTypes}))};r.prototype.getVizType=function(e){return this.oSitePromise.then(t=>{const n=t.vizTypes[e];if(n){return n}if(!e.startsWith(\"X-SAP-UI2-CHIP:\")){return}return o.getServiceAsync(\"VisualizationDataProvider\").then(t=>t.loadVizType(e)).then(n=>{if(!n){return}const a={};a[e]=n;s(t.vizTypes,i.getVizTypes(a));return t.vizTypes[e]})})};r.prototype.getCachedVisualizations=function(){return this.oSitePromise.then(e=>e.visualizations)};r.prototype.getCachedVizTypes=function(){return this.oSitePromise.then(e=>e.vizTypes)};r.prototype.migratePersonalizedPages=function(e){const t=[];e.forEach(e=>{const i=e.identification.id;const s=this._oUnstableVisualizations[i];if(!s){return}Object.keys(e.payload.sections).forEach(n=>{const a=e.payload.sections[n];Object.keys(a.viz).forEach(e=>{const n=a.viz[e];const o=s[n.vizId];if(o){n.vizId=o.vizId;if(!t.includes(i)){t.push(i)}}})});this._oUnstableVisualizations[i]=null});return Promise.resolve(t)};return r},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/PersonalizationAdapter\", [\"sap/ushell/adapters/cdm/_Personalization/internals\",\"sap/ushell/utils/HttpClient\"],(l,e)=>{\"use strict\";return l.PersonalizationAdapter.bind(null,e,null)},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/PersonalizationV2Adapter\", [\"./PersonalizationAdapter\"],e=>{\"use strict\";return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.controller\", [\"sap/base/Log\",\"sap/base/i18n/Formatting\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ui/performance/Measurement\",\"sap/ushell/Container\",\"sap/ui/core/format/NumberFormat\",\"sap/base/i18n/Localization\",\"sap/ushell/resources\"],(e,t,a,n,s,g,o,r,i,u,l,c)=>{\"use strict\";return g.extend(\"sap.ushell.adapters.cdm.Settings.UserLanguageAndRegion.UserLanguageAndRegion\",{onInit:function(){this.oUser=i.getUser();const e=new a(t.getLanguageTag());const n=i.getRendererInternal(\"fiori2\").getShellConfig().enableSetLanguage||false;const s=this.oUser.isLanguagePersonalized();const{sTimeFormat:g,sExampleDate:r,sDecimalFormat:u,sWorkWeek:l,sTimeZone:c}=this._getParsedLocaleProperties(e);const d=new o({languageList:null,selectedLanguage:this.oUser.getLanguage(),selectedLanguageText:this.oUser.getLanguageText(),selectedDateFormat:r,selectedTimeFormat:g,selectedDecimalFormat:u,selectedTimeZone:c,isLanguagePersonalized:s,selectedWorkWeek:l});if(n){this.getView().setBusy(true);this._loadLanguagesList().then(e=>{if(e?.length>1){d.setProperty(\"/languageList\",e);if(!s){const t=e.some(e=>e.key===\"default\");if(t){d.setProperty(\"/selectedLanguage\",\"default\")}}}this.getView().setBusy(false)})}this.oView.setModel(d)},_loadLanguagesList:function(){r.start(\"FLP:UserLanguageAndRegion._getLanguagesList\",\"_getLanguagesList\",\"FLP\");return i.getServiceAsync(\"UserInfo\").then(t=>new Promise(a=>{r.start(\"FLP:UserLanguageAndRegion._getLanguagesList\",\"_getLanguagesList\",\"FLP\");t.getLanguageList().done(e=>{r.end(\"FLP:UserLanguageAndRegion._getLanguagesList\");a(e)}).fail(t=>{r.end(\"FLP:UserLanguageAndRegion._getLanguagesList\");e.error(\"Failed to load language list.\",t,\"sap.ushell.components.ushell.settings.UserLanguageAndRegion.UserLanguageAndRegion.controller\");a(null)})}))},_resetLanguage:function(){const e=this.oUser.getLanguage();const t=this.getView().getModel();const a=t.getData();const n=a.isLanguagePersonalized?e:\"default\";t.setProperty(\"/selectedLanguage\",n);this._updateTextFields(n)},onCancel:function(){const e=this.getView().getModel();const t=e.getData();const a=t.languageList;if(a&&a.length>0){this._resetLanguage()}},onSaveSuccess:function(t){const a={refresh:true};e.debug(\"[000] onSaveSuccess: oUser.resetChangedPropertyLanguage:\",\"UserLanguageAndRegion.controller\");t.resetChangedProperty(\"language\");a.obsoleteUrlParams=[\"sap-language\"];a.clearSapUserContextCookie=true;return a},onSave:function(t){const a=this.oUser;const n=this.getView().getModel().getData();const s=n.selectedLanguage;const g=a.getLanguage();const o=s&&s!==(n.isLanguagePersonalized?g:\"default\");const r=n.languageList&&n.languageList.length>0&&o;e.debug(\"[000] UserLanguageAndRegion:onSave:bUpdateLanguage:\",r,\"UserLanguageAndRegion.controller\");if(r){e.debug(\"[000] UserLanguageAndRegion:onSave:UserInfo: oUser.setLanguage:\",s,\"UserLanguageAndRegion.controller\");a.setLanguage(s);return t().then(()=>{e.debug(\"[000] onSave:fnUpdateUserPreferences\",\"UserLanguageAndRegion.controller\");return this.onSaveSuccess(a)}).catch(t=>{e.debug(\"[000] onSave:catch:errorMessage\",t,\"UserLanguageAndRegion.controller\");a.setLanguage(g);a.resetChangedProperty(\"language\");this._updateTextFields(g);e.error(\"Failed to save Language and Region Settings\",t,\"sap.ushell.adapters.cdm.Settings.cdmUserLanguageRegion.UserLanguageAndRegion.controller\");throw t})}this._resetLanguage();return Promise.resolve()},_handleLanguageSelectChange:function(e){const t=e.getSource().getSelectedKey();if(t){this._updateTextFields(t)}},_updateTextFields:function(e){t.setLanguageTag(e);const n=new a(e);const{sTimeFormat:s,sExampleDate:g,sDecimalFormat:o,sWorkWeek:r,sTimeZone:i}=this._getParsedLocale Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType\", [\"sap/ushell/Config\"],e=>{\"use strict\";function t(e,t,n){const s=arguments;return new Promise((e,t)=>{sap.ui.require([\"sap/ushell/ApplicationType/wdaResolution\"],n=>{n.generateWDAResolutionResult.apply(n,s).then(e,t)})})}function n(){const e=arguments;return new Promise((t,n)=>{sap.ui.require([\"sap/ushell/ApplicationType/wdaResolution\"],s=>{s.resolveEasyAccessMenuIntentWDA.apply(s,e).then(t,n)})})}function s(e,t,n){return new Promise((s,u)=>{sap.ui.require([\"sap/ushell/ApplicationType/guiResolution\"],l=>{l.generateTRResolutionResult(e,t,n).then(s,u)})})}function u(){const e=arguments;return new Promise((t,n)=>{sap.ui.require([\"sap/ushell/ApplicationType/guiResolution\"],s=>{s.resolveEasyAccessMenuIntentWebgui.apply(s,e).then(t,n)})})}function l(e,t,n){const s=arguments;return new Promise((e,t)=>{sap.ui.require([\"sap/ushell/ApplicationType/wcfResolution\"],n=>{n.generateWCFResolutionResult.apply(n,s).then(e,t)})})}function i(e,t,n){const s=arguments;return new Promise((e,t)=>{sap.ui.require([\"sap/ushell/ApplicationType/ui5Resolution\"],n=>{n.generateUI5ResolutionResult.apply(n,s).then(e,t)})})}function o(e,t,n){const s=arguments;return new Promise((e,t)=>{sap.ui.require([\"sap/ushell/ApplicationType/urlTemplateResolution\"],n=>{n.generateURLTemplateResolutionResult.apply(n,s).then(e,t)})})}function r(e,t,n){const s=arguments;return new Promise((e,t)=>{sap.ui.require([\"sap/ushell/ApplicationType/urlResolution\"],n=>{n.generateURLResolutionResult.apply(n,s).then(e,t)})})}const a={URL:{type:\"URL\",defaultFullWidthSetting:true,generateResolutionResult:function(e){const t=e.inbound.hasOwnProperty(\"templateContext\");return t?o.apply(null,arguments):r.apply(null,arguments)},easyAccessMenu:{intent:\"Shell-startURL\",resolver:null,showSystemSelectionInUserMenu:true,showSystemSelectionInSapMenu:false,systemSelectionPriority:1}},WDA:{type:\"WDA\",defaultFullWidthSetting:true,enableWdaCompatibilityMode:e.last(\"/core/navigation/enableWdaCompatibilityMode\"),generateResolutionResult:t,easyAccessMenu:{intent:\"Shell-startWDA\",resolver:n,showSystemSelectionInUserMenu:true,showSystemSelectionInSapMenu:true,systemSelectionPriority:2}},TR:{type:\"TR\",defaultFullWidthSetting:true,generateResolutionResult:s,easyAccessMenu:{intent:\"Shell-startGUI\",resolver:u,showSystemSelectionInUserMenu:true,showSystemSelectionInSapMenu:true,systemSelectionPriority:3}},NWBC:{type:\"NWBC\",defaultFullWidthSetting:true},WCF:{type:\"WCF\",generateResolutionResult:l,defaultFullWidthSetting:true},SAPUI5:{type:\"SAPUI5\",generateResolutionResult:i,defaultFullWidthSetting:false}};function p(){return Object.keys(a).map(e=>a[e]).filter(e=>typeof e.easyAccessMenu===\"object\")}function c(){const e={};p().forEach(t=>{e[t.easyAccessMenu.intent]=t.easyAccessMenu.resolver});return function(t,n){if(e[t]&&(!n||n!==\"SAPUI5\")){return e[t]}return null}}function y(e){return!!a[e]&&a[e].defaultFullWidthSetting}Object.defineProperty(a,\"enum\",{value:Object.keys(a).reduce((e,t)=>{if(a[t].type){e[t]=a[t].type}return e},{})});const R={getEasyAccessMenuResolver:c(),getEasyAccessMenuDefinitions:p,getDefaultFullWidthSetting:y};Object.keys(R).forEach(e=>{Object.defineProperty(a,e,{value:R[e]})});return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType/UrlPostProcessing\", [\"sap/ui/core/Supportability\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/library\",\"sap/ushell/User\",\"sap/ushell/utils\",\"sap/ushell/utils/UriParameters\",\"sap/ushell/utils/UrlParsing\"],(e,t,s,i,a,n,r,l,o)=>{\"use strict\";const c=a.appIntegration.contracts.StatefulType;const p={};p.processUrl=function(e,t,s,i){const a=r.isApplicationTypeEmbeddedInIframe(t,true);const n=i&&r.isApplicationTypeEmbeddedInIframe(i.getFrameworkId());if(!a&&!n){return e}let l;let o;let p;if(i){l=i.getTargetNavigationMode();o=i.getStatefulType()!==c.NotSupported;p=i.getUi5Version()}e=this._processUrl(e,t,l,o,s,p);return e};p._processUrl=function(e,t,i,a,n,l){const o={};o[\"sap-ie\"]=\"edge\";const c=this._getTheme(e);if(c){o[\"sap-theme\"]=c}if(this._getAccessibility()){o[\"sap-accessibility\"]=\"X\"}if(this._getStatistics(e)){o[\"sap-statistics\"]=\"true\"}const p=this._getDensity();if(p&&p.length>0){o[\"sap-touch\"]=p}if(!n){if(i){o[\"sap-target-navmode\"]=i}if(t===\"TR\"||t===\"GUI\"){o[\"sap-keepclientsession\"]=\"2\"}else if(a){o[\"sap-keepclientsession\"]=\"1\"}const n=this._getInAppState();if(n&&n.length>0){o[\"sap-iapp-state\"]=n}let c=0;if(s.last(\"/core/shell/sessionTimeoutIntervalInMinutes\")>0){c=s.last(\"/core/shell/sessionTimeoutIntervalInMinutes\")}o[\"sap-ushell-timeout\"]=c;e=this._addSearchOrShellParamsToURL(e,o);return r.appendSapShellParamSync(e,t,l)}return this._addSearchOrShellParamsToURL(e,o)};p._addSearchOrShellParamsToURL=function(e,t){if(e.indexOf(\"#\")===-1){return o.addParamsToUrl(e,t)}return o.addShellParamsToURL(e,t)};p._getAccessibility=function(){const e=r.getParameterValueBoolean(\"sap-accessibility\");if(e!==undefined){return e}return i.getUser().getAccessibilityMode()};p._getTheme=function(e){const t=l.fromURL(e)||{mParams:{}};if(t.mParams[\"sap-theme\"]===undefined){return i.getUser().getTheme(n.prototype.constants.themeFormat.NWBC)}return};p._getStatistics=function(t){let s=false;const i=l.fromURL(t)||{mParams:{}};s=e.isStatisticsEnabled()&&i.mParams[\"sap-statistics\"]===undefined;return s};p._getInAppState=function(){const e=t.getHash();let s=\"\";let i;if(e&&e.length>0&&e.indexOf(\"sap-iapp-state=\")>0){i=/(?:sap-iapp-state=)([^&/]+)/.exec(e);if(i&&i.length===2){s=i[1]}}return s};p._getDensity=function(){let e=\"\";const t=!!document.body?.classList.contains(\"sapUiSizeCompact\");const s=!!document.body?.classList.contains(\"sapUiSizeCozy\");if(t===true){e=\"0\"}else if(s){e=\"1\"}return e};return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType/guiResolution\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/ui/thirdparty/URI\",\"sap/ushell/ApplicationType/systemAlias\",\"sap/ushell/ApplicationType/utils\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/services/ClientSideTargetResolution/ParameterMapping\",\"sap/ushell/services/ClientSideTargetResolution/Utils\"],(e,t,s,n,a,r,i,o,l)=>{\"use strict\";function p(e,t){t.forEach(t=>{delete e[t]})}function u(e,t){return t&&t.signature&&t.signature&&t.signature.parameters&&t.signature.parameters[e]&&t.signature.parameters[e].required===true}function c(e,t){let s;if(arguments.length===1){s=e.split(/[=](.+)?/);if(s.length>1){return c.apply(null,s)}}return!(e.indexOf(\"sap-\")===0||e.indexOf(\"saml\")===0||e.charAt(0)===\"~\")}function m(e){const t=l.filterObject(e,c);return t}function f(e,t){const s=u(\"DYNP_OKCODE\",t)||u(\"DYNP_NO1ST\",t);let n=[];if(s){return[]}const a=m(e);function r(e){return e.toUpperCase()}const i=Object.keys(a).map(r).sort();function o(e,t){if(e.length!==t.length){return false}return e.every((s,n)=>e[n]===t[n])}if(o([\"DYNP_NO1ST\",\"DYNP_OKCODE\"],i)||o([\"DYNP_OKCODE\"],i)||o([\"DYNP_NO1ST\"],i)){n=Object.keys(a)}return n}function d(e,t,a,r){e=encodeURIComponent(e);const i=`/gui/sap/its/webgui?%7etransaction=${e}&%7enosplash=1`;const o=new s(i);return n.spliceSapSystemIntoURI(o,n.LOCAL_SYSTEM_ALIAS,t,a,\"NATIVEWEBGUI\",n.SYSTEM_ALIAS_SEMANTICS.apply,r)}function y(e){const t=\"^(.+?)(%20|(%20)(.+))?$\";const s=new RegExp(t,\"i\");const n={hasParameters:null,transactionParamName:\"\",transactionCode:\"\",parameters:[]};const a=e.split(\"=\");if(a.length>2){return{error:\"Found more than one assignment ('=') in the transaction query parameter\",details:`Only one '=' sign is expected in ${e}`}}if(a.length<2||typeof a[1]===\"undefined\"||a[1].length===0){return{error:\"The transaction query parameter must specify at least the transaction name\",details:`Got ${e} instead.`}}n.transactionParamName=a[0];const r=a[1];const i=r.match(s);if(!i){return{error:\"Cannot parse ~transaction query parameter value.\",details:`${r} should match /${t}/`}}n.transactionCode=i[1];if(i[2]&&i[2]!==\"%20\"){const e=i[4]||\"\";e.split(\"%3b\").forEach(e=>{const t=e.split(\"%3d\");const s=t[0];if(s&&typeof s===\"string\"&&s.length>0){n.parameters.push({name:s,value:t[1]})}})}n.hasParameters=false;if(n.parameters.length>0){n.hasParameters=true;n.transactionCode=n.transactionCode.replace(/^[*]/,\"\")}return n}function g(e){let t=\"\";if(e.hasOwnProperty(\"DYNP_SKIP_SEL_SCREEN\")){const s=e.DYNP_SKIP_SEL_SCREEN[0];delete e.DYNP_SKIP_SEL_SCREEN;if(s===\"\"||s===\" \"||s===\"0\"||s===0||typeof s===\"string\"&&s.toLowerCase()===\"false\"){t=\"0\"}else if(s===\"1\"||s===1||typeof s===\"string\"&&s.toLowerCase()===\"true\"){t=\"1\"}}return t}function P(t,s){const n=y(t);if(n.error){e.error(n.error,n.details,\"sap.ushell.services.ClientSideTargetResolution\");return t}const r=n.parameters.map(e=>`${e.name.toUpperCase()}%3d${e.value}`);const i=g(s);const o={};Object.keys(s).forEach(e=>{o[e.toUpperCase()]=s[e]});let l=a.getURLParsing().privparamsToString(o,\"%3b\",\"%3d\");if(l){if(Object.keys(s).length>0){l+=\"%3b\"}r.push(l)}const p=r.length>0;return`${n.transactionParamName}=${p&&(i===\"\"||i===\"1\")?\"*\":\"\"}${n.transactionCode}${p?\"%20\":\"\"}${r.join(\"%3b\")}`}function S(e){const t=l.filterObject(e,(e,t)=>!c(e,t));return t}function h(s,n,r){const i={\"sap-wd-run-sc\":true,\"sap-wd-auto-detect\":true,\"sap-ep-version\":true,\"sap-system\":true};const o={};const l=t({},n);const u=l[\"sap-system\"]&&l[\"sap-system\"][0];const m=l[\"sap-system-src\"]&&l[\"sap-system-src\"][0];o[\"sap-system\"]=u;if(typeof m===\"string\"){o[\"sap-system-src\"]=m}Object.keys(l).forEach(e=>{if(i[e.toLowerCase()]){delete l[e]}});const d=f(l,s||{});p(l,d);const y=S(l);p(l,Object.keys(y));const g=r.search();let h=g.split(\"&\").map(t=>{let s;if(!c(t)){if(t.indexOf(\"=\")>=0){s=t.split(\"=\");if(!y.hasOwnProperty(s[0])){y[s[0]]=s[1]}}else{e.error(\"Found no '=' separator of Webgui non-business parameter. Parameter will be skipped.\",`'${t}'`,\"sap.ushell.services.ClientSideTargetResolution\")}return undefined}if(t.indexOf(\"?%7etransaction\")===0||t.indexOf(\"%7etransaction\")===0){return P(t,l)}return t}).filter(e=>typeof e!==\"undefined\").join(\"&\");const R=a.getURLParsing().paramsToString(y);h=[h,R.replace(\"~\",\"%7e\")].join(\"&\");r.search(h);[\"additionalInformation\",\"applicationDependencies\",\"sap.platform.runtime\"].forEach(e=>{if(s.resolutionResult.hasOwnProperty(e)){o[e]=s.resolutionResult[e]}});o.url=r.toString();o.text=s.title;o.applicationType=\"TR\";a.setSystemAlias(o,s.resolutionResult);return o}function R(e,t,s){const n=e.inbound;const r=n&&n.resolutionResult;const i=e.mappedIntentParamsPlusSimpleDefaults||{};let l=r.systemAlias;if(i[\"sap-system\"]){l=i[\"sap-system\"][0]}let p;if(i[\"sap-system-src\"]){p=i[\"sap-system-src\"][0]}return d(n.resolutionResult[\"sap.gui\"].transaction,l,p,s).then(t=>{o.mapParameterNamesAndRemoveObjects(e);const s=h(e.inbound,e.mappedIntentParamsPlusSimpleDefaults,t);if(s&&e.inbound&&e.inbound.resolutionResult&&e.inbound.resolutionResult[\"sap.platform.runtime\"]){s[\"sap.platform.runtime\"]=e.inbound.resolutionResult[\"sap.platform.runtime\"]}s[\"sap-system\"]=l;a.setSystemAlias(s,n.resolutionResult);return s})}function b(e,r,i){const o=e.inbound;const l=o&&o.resolutionResult;const u={};const c=new s(r);const m=t({},e.mappedIntentParamsPlusSimpleDefaults);const d=m[\"sap-system\"]&&m[\"sap-system\"][0];const y=m[\"sap-system-src\"]&&m[\"sap-system-src\"][0];u[\"sap-system\"]=d;delete m[\"sap-system\"];if(typeof y===\"string\"){u[\"sap-system-src\"]=y;delete m[\"sap-system-src\"]}const g=f(m,o||{});p(m,g);return n.spliceSapSystemIntoURI(c,l.systemAlias,d,y,\"WEBGUI\",u.systemAliasSemantics||n.SYSTEM_ALIAS_SEMANTICS.applied,i).then(e=>{const t=a.getURLParsing().paramsToString(m);let s=e.search();if(t){s=s+(s.indexOf(\"?\")<0?\"?\":\"&\")+t}e.search(s);[\"additionalInformation\",\"applicationDependencies\"].forEach(e=>{if(o.resolutionResult.hasOwnProperty(e)){u[e]=o.resolutionResult[e]}});u.url=e.toString();u.text=o.title;u.applicationType=\"NWBC\";a.setSystemAlias(u,o.resolutionResult);return u})}function O(e,a,r){const i=e.inbound;const o=i&&i.resolutionResult;const l={\"sap-wd-run-sc\":true,\"sap-wd-auto-detect\":true,\"sap-ep-version\":true,\"sap-system\":true,\"sap-system-src\":true};const p=new s(a);const u=t({},e.mappedIntentParamsPlusSimpleDefaults);const c=u[\"sap-system\"]&&u[\"sap-system\"][0];const m=u[\"sap-system-src\"]&&u[\"sap-system-src\"][0];Object.keys(u).forEach(e=>{if(l[e.toLowerCase()]){delete u[e]}});return n.spliceSapSystemIntoURI(p,o.systemAlias,c,m,\"NATIVEWEBGUI\",o.systemAliasSemantics||n.SYSTEM_ALIAS_SEMANTICS.applied,r).then(t=>{const s=h(e.inbound,e.mappedIntentParamsPlusSimpleDefaults,t);return s})}function T(e,t,s,n,a){let r=false;const i=e+n;const o=t.split(s).map(e=>{if(e.indexOf(i)!==0){return e}r=true;return a(e)}).filter(e=>typeof e!==\"undefined\").join(s);return{found:r,query:o}}function I(e,t,s,n){const r=`P_OBJECT${n}`;const i=132;let o=a.getURLParsing().privparamsToString(t,\"%25\",\"%21\");if(!o){return e}let l=\"\";T(\"P_OBJECT\",e,s,n,e=>{const t=e.replace(r,\"\");l=decodeURIComponent(t);if(l.length>0){l=`${l}%25`}return r});o=l+o;const p={pObjX:\"\",pObject:\"\"};o.match(new RegExp(`.{1,${i}}`,\"g\")).map(e=>encodeURIComponent(e)).forEach((e,t)=>{let a=\"P_OBJECT\";let r=\"pObject\";if(t>0){a=`P_OBJ${t}`;r=\"pObjX\"}const i=p[r].length===0?\"\":s;p[r]=p[r]+i+a+n+e});const u=[p.pObjX,p.pObject].filter(e=>e.length>0).join(s);const c=T(\"P_OBJECT\",e,s,n,e=>u);if(c.found){return c.query}return e+(e.length===0?\"\":s)+u}function E(e,r,i){const o=e.inbound;const l=o&&o.resolutionResult;const p={};const u=new s(r);const c=t({},e.mappedIntentParamsPlusSimpleDefaults);const m=c[\"sap-system\"]&&c[\"sap-system\"][0];const f=c[\"sap-system-src\"]&&c[\"sap-system-src\"][0];p[\"sap-system\"]=m;delete c[\"sap-system\"];if(typeof f===\"string\"){p[\"sap-system-src\"]=f;delete c[\"sap-system-src\"]}return n.spliceSapSystemIntoURI(u,l.systemAlias,m,f,\"WEBGUI\",l.systemAliasSemantics||n.SYSTEM_ALIAS_SEMANTICS.applied,i).then(e=>{let t=e.search();t=I(t,c,\"&\",\"=\");e.search(t);[\"additionalInformation\",\"applicationDependencies\"].forEach(e=>{if(o.resolutionResult.hasOwnProperty(e)){p[e]=o.resolutionResult[e]}});p.url=e.toString();p.text=o.title;p.applicationType=\"NWBC\";a.setSystemAlias(p,o.resolutionResult);return p})}function A(e,r,i){const o=e.inbound;const l=o&&o.resolutionResult;const p={};const u=new s(r);const c=t({},e.mappedIntentParamsPlusSimpleDefaults);const m=c[\"sap-system\"]&&c[\"sap-system\"][0];const f=c[\"sap-system-src\"]&&c[\"sap-system-src\"][0];p[\"sap-system\"]=m;delete c[\"sap-system\"];if(typeof f===\"string\"){p[\"sap-system-src\"]=f;delete c[\"sap-system-src\"]}return n.spliceSapSystemIntoURI(u,l.systemAlias,m,f,\"NATIVEWEBGUI\",l.systemAliasSemantics||n.SYSTEM_ALIAS_SEMANTICS.applied,i).then(e=>{const t=e.search();const s=t.split(\"&\").map(e=>{let t;if(e.indexOf(\"?%7etransaction\")===0||e.indexOf(\"%7etransaction\")===0){t=I(e,c,\"%3b\",\"%3d\");return t}return e}).join(\"&\");e.search(s);[\"additionalInformation\",\"applicationDependencies\"].forEach(e=>{if(o.resolutionResult.hasOwnProperty(e)){p[e]=o.resolutionResult[e]}});p.url=e.toString();p.text=o.title;p.applicationType=\"TR\";a.setSystemAlias(p,o.resolutionResult);return p})}function C(e,t,s){const n=e.inbound;const o=n&&n.resolutionResult;let l;if(!(!n||!o||!o[\"sap.gui\"]||!(o.applicationType===\"TR\"))){l=R(e,t,s)}else if(!(!n||!o||!(o.applicationType===\"TR\")||!(o.url.indexOf(\"/~canvas;\")>=0)||!(o.url.indexOf(\"app/transaction/APB_LPD_CALL_\")===-1))){l=b(e,t,s)}else if(!(!n||!o||!(o.applicationType===\"TR\")||!(o.url.indexOf(\"/~canvas;\")>=0)||!(o.url.indexOf(\"app/transaction/APB_LPD_CALL_\")>=0))){l=E(e,t,s)}else if(!(!n||!o||!(o.applicationType===\"TR\")||!(o.url.indexOf(\"/its/webgui\")>=0)||!(o.url.indexOf(\"APB_LPD_CALL_\")===-1))){l=O(e,t,s)}else if(!(!n||!o||!(o.applicationType===\"TR\")||!(o.url.indexOf(\"/its/webgui\")>=0)||!(o.url.indexOf(\"APB_LPD_CALL_\")!==-1))){l=A(e,t,s)}if(l){return l.then(async t=>{if(t.url){t.url=a.appendParametersToUrl(\"sap-iframe-hint=GUI\",t.url);if(r.last(\"/core/extension/dap/enabled\")){const e=await i.getServiceAsync(\"PluginManager\");const s=e.isPluginConfigured(r.last(\"/core/extension/dap/pluginName\"));t.url=a.appendParametersToUrl(`sap-load-dap=${s}`,t.url)}else{t.url=a.appendParametersToUrl(\"sap-load-dap=false\",t.url)}}t.extendedInfo=a.getExtendedInfo(e);a.checkOpenWithPost(e,t);a.addKeepAliveToURLTemplateResult(t);return t})}throw new Error(\"Cannot generate TR resolution result\")}function _(e,t,s){return new Promise((n,r)=>{let i;if(e.params[\"sap-system-src\"]){i=e.params[\"sap-system-src\"][0]}const l=e.params[\"sap-system\"]?e.params[\"sap-system\"][0]:undefined;const p=e.params[\"sap-ui2-tcode\"]?e.params[\"sap-ui2-tcode\"][0]:undefined;d(p,l,i,s).then(e=>{delete t.intentParamsPlusAllDefaults[\"sap-ui2-tcode\"];o.mapParameterNamesAndRemoveObjects(t);const s=h(t.inbound,t.mappedIntentParamsPlusSimpleDefaults,e);if(s&&t.inbound&&t.inbound.resolutionResult&&t.inbound.resolutionResult[\"sap.platform.runtime\"]){s[\"sap.platform.runtime\"]=t.inbound.resolutionResult[\"sap.platform.runtime\"]}s[\"sap-system\"]=l;s.text=p;s.url=a.appendParametersToUrl(\"sap-iframe-hint=GUI\",s.url);n(s)}).catch(e=>{r(e)})})}return{generateTRResolutionResult:C,resolveEasyAccessMenuIntentWebgui:_,getUnnecessaryWebguiParameters:f,removeObjectKey:p,getExplicitSkipSelectionScreenParameter:g,injectEffectiveParametersIntoWebguiQueryParam:P,injectEffectiveParametersIntoWebguiPobjectParam:I,amendGuiParam:T,parseWebguiTransactionQueryParam:y,getWebguiNonBusinessParameters:S,getWebguiBusinessParameters:m,isWebguiBusinessParameter:c,buildNativeWebGuiURI:d,constructFullWebguiResolutionResult:R}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType/systemAlias\", [\"sap/ui/thirdparty/URI\",\"sap/ushell/utils\",\"sap/base/util/isPlainObject\",\"sap/base/Log\",\"sap/ushell/Container\"],(e,t,n,r,s)=>{\"use strict\";const i=\"\";const o={apply:\"apply\",applied:\"applied\"};function a(e){return(e.protocol()||\"\").length>0}function l(e,n,r){const s=typeof n===\"string\";const i=[e];if(s){i.unshift(n)}const o=t.generateLocalStorageKey(\"sap-system-data\",i);const a=t.getLocalStorage();const l=a.getItem(o);let p={};if(l){try{p=JSON.parse(l)}catch(e){return Promise.reject(`Cannot parse system data from local storage at key '${o}'. Data: ${l}`)}return Promise.resolve(p)}else if(s){return Promise.reject(`Cannot find data for system '${e}' in local storage using key '${o}'`)}if(!r){return Promise.reject(\"fallback: the adapter does not implement resolveSystemAlias\")}return new Promise((t,n)=>{r(e).done(e=>{t(e)}).catch(e=>{n(e)})})}function p(e){r.error(`Invalid system alias definition: ${e.debug}`,`ERRORS:${e.errors.map(e=>`\\n - ${e}`).join(\"\")}`,\"sap.ushell.ApplicationType\")}function c(e){function t(e){const t=[];if(typeof e.host!==\"string\"){t.push(\"host field must be a string\")}if(typeof e.port!==\"number\"&&typeof e.port!==\"string\"){t.push(\"port field must be a number or a string\")}if(typeof e.pathPrefix!==\"string\"){t.push(\"pathPrefix field must be a string\")}return t}const n=[];const r=e.hasOwnProperty(\"https\");const s=e.hasOwnProperty(\"http\");if(!s&&!r){n.push(\"at least one of 'http' or 'https' fields must be defined\")}if(r){t(e.https).forEach(e=>{n.push(`https>${e}`)})}if(s){t(e.http).forEach(e=>{n.push(`http>${e}`)})}if(n.length>0){return{isValid:false,errors:n,debug:JSON.stringify(e,null,3)}}return{isValid:true}}function f(e,t){if(e.hasOwnProperty(\"https\")){return\"https\"}if(e.hasOwnProperty(\"http\")){return\"http\"}r.error(\"Cannot select which system alias to pick between http/https\",\"make sure they are provided in the given system alias collection\",\"sap.ushell.services.ClientSideTargetResolution\");return undefined}function u(t,n,r,s){let i;const o=new Promise(o=>{if(n===\"URL\"&&r.length===0){o(t);return}o(l(\"\",undefined,s).then(s=>{const o=f(s,new e(window.location.toString()).protocol());const a=s[o].pathPrefix;const l=r===a;if(r.length>0&&!l){if((n===\"WDA\"||n===\"WEBGUI\")&&t.path().indexOf(\"~canvas\")>=0){i=t.path();i=`/~canvas${i.split(\"~canvas\")[1]}`;t.path(i)}}function p(e){const n=e+t.path();t.path(n.replace(/\\/+/g,\"/\"));return t}if(r.length===0){if(n===\"WCF\"&&a===\"/sap/bc/\"){return p(\"/sap(====)/bc/\")}return p(a)}return p(r)}))});return o}function h(e,t){let n;let s;let i;let o;const a=!!e.loginGroup;if(a){i=[e.systemId&&`~sysid=${e.systemId}`,e.loginGroup&&`~loginGroup=${e.loginGroup}`,e.sncNameR3&&`~messageServer=${encodeURIComponent(e.sncNameR3)}`,e.sncNameR3&&`~sncNameR3=${encodeURIComponent(e.sncNameR3)}`,e.sncQoPR3&&`~sncQoPR3=${e.sncQoPR3}`].filter(e=>typeof e===\"string\"&&e!==\"\")}else{o=e.host||\"\";s=o.toLowerCase()===t.toLowerCase();n=/^[/][HGMR][/].*/.test(o);if(o.length>0&&!s&&!n){r.error(\"Invalid connect string provided in 'host' field of system alias\",`Data for rfc destination provided are: ${JSON.stringify(e,null,3)}`,\"sap.ushell.services.ClientSideTargetResolution\")}i=[o&&!n&&!s&&`~rfcHostName=${o}`,n&&`~connectString=${encodeURIComponent(o)}`,e.service&&`~service=${e.service}`,e.sncNameR3&&`~sncNameR3=${encodeURIComponent(e.sncNameR3)}`,e.sncQoPR3&&`~sncQoPR3=${e.sncQoPR3}`].filter(e=>typeof e===\"string\"&&e!==\"\")}return i.join(\";\").replace(/(%[A-F0-9]{2})/g,e=>e.toLowerCase())}function d(t,n,o,a,d){const g=o;const m=new Promise((m,y)=>{l(t,n,d).catch(e=>{y(e)}).then(n=>{const l=c(n);if(!l.isValid){p(l);y(\"Invalid system alias definition\");return}let w=f(n,new e(window.location.toString()).protocol());const P=n[w];let S;let R;let $;if(t===i&&P.host===\"\"&&(P.port===0||P.port===\"\")){w=\"\"}g.protocol(w);g.hostname(P.host);g.port(P.port);u(g,a,P.pathPrefix,d).catch(e=>{y(e)}).then(e=>{S=e.query();if(typeof n.client===\"string\"&&n.client!==\"\"){S=`${S+(S.length>0?\"&\":\"\")}sap-client=${n.client}`}if(typeof n.language===\"string\"&&n.language!==\"\"){R=n.language}else{$=s.getUser();if(!$){r.error(\"Cannot retieve the User object via sap.ushell.Container while determining sap-language\",\"will default to 'en' language\",\"sap.ushell.services.ClientSideTargetResolution\");R=\"en\"}else{R=$.getLanguage()}}S=`${S+(S.length>0?\"&\":\"\")}sap-language=${R}`;e.query(S);if(n.hasOwnProperty(\"rfc\")&&a===\"NATIVEWEBGUI\"){const t=h(n.rfc,P.host);const r=`${e.path()};${t}`;e.path(r);o._parts.path=r}m(e)})})});return m}function g(e,t){const n={};let r;t.forEach(e=>{n[e]=true});r=e.query();r=r.split(\"&\").filter(e=>{const t=(e.split(\"=\")[0]||\"\").toLowerCase();return!n.hasOwnProperty(t)}).join(\"&\");e.query(r)}function m(t,n,r,s,o){const p=new Promise((p,c)=>{if(n===i||typeof n===\"undefined\"){if(a(t)){p(t);return}p(d(r,s,t,\"URL\",o).then(e=>e))}p(l(n,s,o).catch(e=>{c(e)}).then(n=>{const i=f(n,new e(window.location.toString()).protocol());const a=n[i];let l;if((t.protocol()||\"\").toLowerCase()===i&&(t.hostname()||\"\")===a.host&&t.path().indexOf(a.pathPrefix)===0){t.protocol(\"\");t.hostname(\"\");l=t.path().replace(a.pathPrefix,\"\");t.path(l);g(t,[\"sap-language\",\"sap-client\"]);return d(r,s,t,\"URL\",o).then(e=>e)}return t}))});return p}function y(t,r,s,i,o){t.protocol(\"\");t.hostname(\"\");t.port(\"\");const a=new Promise(a=>{g(t,[\"sap-client\",\"sap-language\"]);if(!n(i)||typeof r!==\"string\"){a(t)}const p=f(i,new e(window.location.toString()).protocol());const c=i[p];const u=new Promise((e,t)=>{const n=typeof c.pathPrefix===\"string\"&&c.pathPrefix;if(n!==\"\"){e(n)}else{l(\"\",undefined,o).catch(e=>{t(e)}).then(t=>{const n=t[p];e(n.pathPrefix)})}}).then(e=>{let n;if(e&&e.length>0){n=t.path();n=n.replace(e,\"\");if(e===\"/sap/bc/\"){n=n.replace(\"/sap(====)/bc/\",\"\")}if(n.indexOf(\"/\")!==0){n=`/${n}`}t.path(n)}if(s===\"NATIVEWEBGUI\"&&i.hasOwnProperty(\"rfc\")){n=t.path();n=n.split(\";\").filter(e=>e.indexOf(\"~sysid=\")!==0&&e.indexOf(\"~service=\")!==0&&e.indexOf(\"~loginGroup=\")!==0&&e.indexOf(\"~messageServer=\")!==0&&e.indexOf(\"~sncNameR3=\")!==0&&e.indexOf(\"~sncQoPR3=\")!==0).join(\";\");t.path(n)}return t});a(u)});return a}function w(e,t,n,r,s){const i=new Promise((i,o)=>{if(typeof t===\"undefined\"){i(y(e,t,r,undefined,s));return}i(l(t,n,s).then(n=>y(e,t,r,n,s)))});return i}function P(e,t,n,r,s,i,a){if(i!==o.apply&&i!==o.applied){throw new Error(`Invalid system alias semantic was provided: '${i}'`)}if(i===o.applied&&(typeof n===\"undefined\"||t===n)){return Promise.resolve(e)}if(i===o.apply&&typeof t===\"undefined\"&&typeof n===\"undefined\"){return Promise.resolve(e)}if(s===\"URL\"&&i===o.applied){return m(e,t,n,r,a)}const l=new Promise((l,p)=>{if(i===o.apply){l({targetUri:e,alias:n||t,sapSystemSrc:n?r:undefined});return}w(e,t,undefined,s,a).catch(e=>{p(e)}).then(e=>{l({targetUri:e,alias:n})})}).then(e=>d(e.alias,e.sapSystemSrc,e.targetUri,s,a));return l}function S(t,n){const r=n.getCurrentAppTargetResolution()||{};if(n.getFrameworkId()===\"WDA\"||r?.applicationType===\"WDA\"){const r=n.getSystemAlias();return new e(t).removeSearch(\"sap-system\").addSearch(\"sap-system\",r===\"\"?\"''\":r).toString()}return t}function R(e=\"\",t=\"\"){const n=e.split(\"_\");let r=\"\";let s=\"\";while(n.length>0){r+=n.shift();if(r===t){s=n.shift()||\"\";while(n.length>0){s=`${s}_${n.shift()}`}return s}r+=\"_\"}if(t===\"\"){return e}if(e.startsWith(t)){throw new Error(`Unexpected format for fully qualified systemAlias\"${e}\": missing underscore delimiter while content provider id is \"${t}\".`)}return e}return{LOCAL_SYSTEM_ALIAS:i,SYSTEM_ALIAS_SEMANTICS:o,spliceSapSystemIntoURI:P,isAbsoluteURI:a,getSystemAliasInProvider:R,addSystemAlias:S,_stripURI:w,_selectSystemAliasDataName:f,_constructNativeWebguiParameters:h}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType/ui5Resolution\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/ushell/ApplicationType/utils\"],(e,t,s)=>{\"use strict\";function a(a,n,i){const r=a.inbound;const o={};[\"applicationType\",\"additionalInformation\",\"applicationDependencies\"].forEach(e=>{if(r.resolutionResult.hasOwnProperty(e)){o[e]=r.resolutionResult[e]}});o.url=n;if(o.applicationDependencies&&typeof o.url===\"undefined\"){o.url=\"\"}if(typeof o.url===\"undefined\"){o.url=\"\";e.warning(\"The component url is undefined. We set it to empty string avoid rejection of the promise\")}const p=t({},a.mappedIntentParamsPlusSimpleDefaults);o.reservedParameters={};const u={\"sap-ui-fl-max-layer\":true,\"sap-ui-fl-control-variant-id\":true,\"sap-ui-fl-version\":true};Object.keys(u).forEach(e=>{const t=p[e];if(t){delete p[e];o.reservedParameters[e]=t}});a.mappedDefaultedParamNames=a.mappedDefaultedParamNames.filter(e=>!u[e]);if(a.mappedDefaultedParamNames.length>0){p[\"sap-ushell-defaultedParameterNames\"]=[JSON.stringify(a.mappedDefaultedParamNames)]}const l=p[\"sap-system\"]&&p[\"sap-system\"][0];const m=p[\"sap-system-src\"]&&p[\"sap-system-src\"][0];o[\"sap-system\"]=l;if(typeof m===\"string\"){o[\"sap-system-src\"]=m}a.effectiveParameters=p;const f=s.getURLParsing().paramsToString(p);if(f){o.url=o.url+(o.url.indexOf(\"?\")<0?\"?\":\"&\")+f}if(typeof r.resolutionResult.ui5ComponentName!==\"undefined\"){o.ui5ComponentName=r.resolutionResult.ui5ComponentName}o.text=r.title;o.extendedInfo=s.getExtendedInfo(a);return Promise.resolve(o)}return{generateUI5ResolutionResult:a}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType/urlResolution\", [\"sap/base/util/deepExtend\",\"sap/ui/thirdparty/URI\",\"sap/ushell/ApplicationType/systemAlias\",\"sap/ushell/ApplicationType/utils\",\"sap/ushell/Config\"],(e,s,t,n,a)=>{\"use strict\";function i(i,r,p){const o=i.inbound;const l=o&&o.resolutionResult;const c={};const m=new s(r);const u=e({},i.mappedIntentParamsPlusSimpleDefaults);if(i.inbound&&i.inbound.action===\"launchURL\"&&i.inbound.semanticObject===\"Shell\"){delete u[\"sap-external-url\"]}const d=u[\"sap-system\"]&&u[\"sap-system\"][0];const y=u[\"sap-system-src\"]&&u[\"sap-system-src\"][0];c[\"sap-system\"]=d;delete u[\"sap-system\"];if(typeof y===\"string\"){c[\"sap-system-src\"]=y;delete u[\"sap-system-src\"]}return new Promise((e,s)=>{if(n.absoluteUrlDefinedByUser(m,l.systemAlias,l.systemAliasSemantics)){e(r)}else{t.spliceSapSystemIntoURI(m,l.systemAlias,d,y,\"URL\",l.systemAliasSemantics||t.SYSTEM_ALIAS_SEMANTICS.applied,p).then(s=>{const t=s.toString();e(t)},s)}}).then(e=>{let s=false;const t=a.last(\"/core/navigation/flpURLDetectionPattern\");const i=new RegExp(t);if(u&&u.hasOwnProperty(\"sap-params-append\")){delete u[\"sap-params-append\"];s=true}const r=n.getURLParsing().paramsToString(u);return i.test(e)||s===true?n.appendParametersToIntentURL(u,e):n.appendParametersToUrl(r,e)},Promise.reject.bind(Promise)).then(e=>{[\"additionalInformation\",\"applicationDependencies\",\"systemAlias\"].forEach(e=>{if(o.resolutionResult.hasOwnProperty(e)){c[e]=o.resolutionResult[e]}});c.url=e;c.text=o.title;c.applicationType=\"URL\";return Promise.resolve(c)},Promise.reject.bind(Promise))}return{generateURLResolutionResult:i}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType/urlTemplateResolution\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/ui/thirdparty/hasher\",\"sap/base/util/ObjectPath\",\"sap/ushell/utils\",\"sap/ushell/User\",\"sap/ushell/Config\",\"sap/ui/thirdparty/URI\",\"sap/ui/core/routing/History\",\"sap/ushell/ApplicationType/utils\",\"sap/base/util/deepClone\",\"sap/base/util/isPlainObject\",\"sap/ushell/Container\",\"sap/ushell/ApplicationType/guiResolution\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/ApplicationType/systemAlias\"],(e,t,a,n,r,s,i,p,o,l,u,c,d,m,f,h)=>{\"use strict\";const g=new p(document.URL).search(true);const P=g[\"iframe-url\"];let A;function y(t){const n=t.payload;let r;const s=a.getHash()||A.getBrowserHash();const i=s.indexOf(\"&/\");let p=1;let o=false;if(t.siteAppSection?.[\"sap.integration\"]?.urlTemplateId===\"urltemplate.jam\"){o=true}if(i>0){if(n&&n.capabilities&&n.capabilities.appFrameworkId===\"UI5\"){p=2}r=s.substring(i+p);try{if(!o&&r&&r.length>0){r=decodeURIComponent(r)}}catch(t){e.warning(\"inner route should be double encoded\",t,\"sap.ushell.ApplicationType.getInnerAppRoute\")}}return r}function b(e){let t=e.targetNavigationMode;if(t===undefined||t===\"\"){if(r.isColdStart()){t=\"explace\"}else{t=\"inplace\"}}return t}function w(){const e=a&&a.getHash();let t=\"\";if(e&&e.length>0&&e.indexOf(\"sap-iapp-state=\")>0){const a=/(?:sap-iapp-state=)([^&/\\\\]+)/.exec(e);if(a&&a.length===2){t=a[1]}}return t}function S(){return new Promise(e=>{Promise.all([d.getServiceAsync(\"UserInfo\"),d.getServiceAsync(\"PluginManager\"),r.getUi5Version()]).then(a=>{const n=a[0];const r=a[1];const p=a[2];const l=n.getUser();const u=l.getContentDensity()||(document.body.classList.contains(\"sapUiSizeCompact\")?\"compact\":\"cozy\");let c=l.getTheme();if(c.indexOf(\"sap_\")!==0){const e=s.prototype.constants.themeFormat.THEME_NAME_PLUS_URL;c=l.getTheme(e)}const d=t.getLanguage();const m=t.getSAPLogonLanguage();const f=`${window.location.protocol}//${window.location.host}/comsapuitheming.runtime/themeroot/v1`;let h=0;if(i.last(\"/core/shell/sessionTimeoutIntervalInMinutes\")>0){h=i.last(\"/core/shell/sessionTimeoutIntervalInMinutes\")}let g=false;if(window[\"sap-ui-debug\"]!==false&&window[\"sap-ui-debug\"]!==undefined){g=window[\"sap-ui-debug\"]}const P=i.last(\"/core/shell/enablePersonalization\");e({language:d,logonLanguage:m,theme:c,themeServiceRoot:f,isDebugMode:g,ui5Version:p,contentDensity:u,sapPlugins:r._getNamesOfPluginsWithAgents(),innerAppState:w(),sessionTimeout:h,historyDirection:o.getInstance().getDirection()||\"\",enableShellPersonalization:P})})})}function v(e,t,a){if(c(t.startupParameter)&&Object.keys(t.startupParameter).length>0){t.startupParameter=u(t.startupParameter);const n={\"sap-wd-run-sc\":true,\"sap-wd-auto-detect\":true,\"sap-ep-version\":true};Object.keys(t.startupParameter).forEach(e=>{if(n[e.toLowerCase()]){delete t.startupParameter[e]}});const r=m.getUnnecessaryWebguiParameters(t.startupParameter,a||{});m.removeObjectKey(t.startupParameter,r);const s=m.getWebguiNonBusinessParameters(t.startupParameter);m.removeObjectKey(t.startupParameter,Object.keys(s));const i=m.getExplicitSkipSelectionScreenParameter(t.startupParameter);if(e?.parameters?.names?.skipScreenChar.length>0){e.parameters.names.skipScreenChar=Object.keys(t.startupParameter).length>0&&(i===\"\"||i===\"1\")?\"*\":\"\"}}}function T(e,t,a){try{if(e===\"urltemplate.url\"&&a.hasOwnProperty(\"sapit-external-ui5app\")){const e=u(t,20);e.urlTemplate=e.urlTemplate.replace(\",paramSapLocale\",\",appStartupParameters,paramSapLocale\");e.parameters.names={...e.parameters.names};e.parameters.names.appStartupParameters={renameTo:\"sap-startup-params\",value:\"{*|match(^(?!sap-ushell(-innerAppRoute\\\\|-navmode)$))|join(&,=)}\"};return e}}catch(e){}return t}function R(e){if(e.url&&typeof e.url===\"string\"){const t=e.url;const a=i.last(\"/core/spaces/enabled\");const n=t.indexOf(\"ui5appruntime.html\")>-1;const r=t.indexOf(\"ui5appruntimescube.html\")>-1;if(a===true&&(n||r)){l.appParameterToUrl(e,\"sap-spaces\",a)}}}function I(e,t,a){const r=n.get([\"sap.integration\",\"urlTemplateId\"],t);if(r===\"urltemplate.url-dynamic\"&&e.url.includes(\"sap/bc/bsp/sap/crm_ui_start/\")&&!e.url.includes(\"sap-language=\")){l.appParameterToUrl(e,\"sap-language\",a.env.language)}}function U(e,t,a){return new Promise((n,r)=>{const s=new p(e);const i=s.query(true);let o=true;let l=[\"sap-language\",\"sap-theme\",\"sap-shell\",\"sap-ui-app-id\",\"transaction\",\"sap-iframe-hint\",\"sap-keep-alive\",\"sap-ui-versionedLibCss\",\"sap-wd-configId\",\"wcf-target-id\",\"sap-ui-version\"];if(a&&a.mandatoryUrlParams){l=l.concat(a.mandatoryUrlParams.split(\",\"));l=l.filter((e,t)=>l.indexOf(e)===t)}if(t===\"explace\"){o=false}d.getServiceAsync(\"ShellNavigationInternal\").then(t=>{t.compactParams(i,l,undefined,o).done(t=>{if(!t.hasOwnProperty(\"sap-intent-param\")){n(e);return}let a;if(t[\"sap-theme\"]){const e=`sap-theme=${t[\"sap-theme\"]}`;t[\"sap-theme\"]=\"sap-theme-temp-placeholder\";s.query(t);a=s.toString();a=a.replace(\"sap-theme=sap-theme-temp-placeholder\",e)}else{s.query(t);a=s.toString()}n(a)}).fail(e=>{r(e)})})})}function L(e,t,a){if(typeof t.enabled===\"boolean\"){return t.enabled}const n=e.prepareExpandData({urlTemplate:\"\",parameters:{names:{enabled:t.enabled}}},{},{},a.siteAppSection,\"\");return typeof n.oResolvedParameters.enabled===\"boolean\"?n.oResolvedParameters.enabled:false}function x(t,a,r,s){return new Promise(i=>{const o=r.urlTransformation||{enabled:false};if(L(t,o,s)){const r=new p(a);const l=o.transformations[0];const u=l.service.uri;const c=t.prepareExpandData({urlTemplate:\"\",parameters:{names:u.queryOptions}},{},{urlComponent:{query:r.query(),fragment:r.fragment()}},s.siteAppSection,\"\");const d=p.expand(\"{+rootPath}/{+resourcePath}{?queryParams*}\",{rootPath:u.rootPath,resourcePath:u.resourcePath,queryParams:c.oResolvedParameters}).toString();sap.ui.require([\"sap/ui/thirdparty/datajs\"],t=>{t.read({requestUri:d,headers:{\"Cache-Control\":\"no-cache, no-store, must-revalidate\",Pragma:\"no-cache\",Expires:\"0\"}},t=>{let s=n.get(\"transformAppLaunchQueryString.value\",t);if(s===undefined){s=n.get(\"transformAppLaunchIntent.value\",t)}if(s===undefined){s=n.get(\"transformAppLaunchQueryString.queryString\",t)}e.info(\"URL Transformation Succeeded\",JSON.stringify({URLBeforeTransformation:a,URLAfterTransformation:s}),\"sap.ushell.ApplicationType\");let p=l.sourceURLComponent;if(p===undefined){p=\"query\"}if(p===\"query\"||p===\"fragment\"){a=r[p](s).toString()}else{e.error(`The ${p} component of the URL in URI.js is not transformed`,\"\",\"sap.ushell.ApplicationType\")}i(a)},t=>{e.error(\"URL Transformation Failed\",JSON.stringify(t),\"sap.ushell.ApplicationType\");i(a)})})}else{i(a)}})}function C(t,a){const n=r.getMember(a,\"sap|integration.navMode\");switch(n){case\"inplace\":if([\"embedded\",\"inplace\",\"newWindowThenEmbedded\"].includes(t)){return\"embedded\"}e.error(\"App-defined navigation mode was ignored\",\"Application requests to be opened inplace, but the template's navigation mode doesn't allow!\",\"sap.ushell.ApplicationType\");break;case\"explace\":if([\"embedded\",\"inplace\",\"newWindowThenEmbedded\"].includes(t)){return\"newWindowThenEmbedded\"}if([\"standalone\",\"explace\",\"newWindow\"].includes(t)){return\"newWindow\"}e.error(\"App-defined navigation mode was ignored\",\"Application requests to be opened explace, but the template's navigation mode doesn't allow!\",\"sap.ushell.ApplicationType\");break;default:e.error(\"App-defined navigation mode is not valid!\",\"Fallback to URL Template's capability\",\"sap.ushell.ApplicationType\");if([\"embedded\",\"inplace\",\"newWindowThenEmbedded\"].includes(t)){return\"embedded\"}break}return\"newWindow\"}function O(e){if([\"embedded\",\"inplace\",\"newWindowThenEmbedded\"].includes(e)){return\"embedded\"}if([\"standalone\",\"explace\",\"newWindow\"].includes(e)){return\"standalone\"}}function E(e,t,a){const n=u(e);n.navigationMode=C(e.navigationMode,t);n.templateNavigationMode=O(e.navigationMode);n.appId=a(e.appId||\"\");n.technicalAppComponentId=a(e.technicalAppComponentId||\"\");n.appSupportInfo=t[\"sap.app\"]&&t[\"sap.app\"].ach;n.appFrameworkId=e.appFrameworkId;delete n.urlTransformation;return n}function M(t,s,i){return new Promise(s=>{sap.ui.require([\"sap/ushell/URLTemplateProcessor\"],i=>{const p=t.inbound;const o=p.templateContext;const c=o.payload.capabilities||{};if(sap?.cf?.config?.siteId!==undefined&&o?.siteAppSection[\"sap.integration\"]?.navMode===\"inplace\"){e.warning(\"URL template's navigationMode capability is ignored! navigationMode is forced to 'embedded'.\");c.navigationMode=\"embedded\"}if(t.mappedIntentParamsPlusSimpleDefaults&&t.mappedIntentParamsPlusSimpleDefaults.hasOwnProperty(\"sap-ushell-innerAppRoute\")){let e=a.getHash();if(t.mappedIntentParamsPlusSimpleDefaults[\"sap-ushell-innerAppRoute\"].length>0&&e.indexOf(\"&/\")===-1){e+=`&/${t.mappedIntentParamsPlusSimpleDefaults[\"sap-ushell-innerAppRoute\"]}`;a.replaceHash(e)}}f.removeParametersWithEmptyValue(t.mappedIntentParamsPlusSimpleDefaults,[\"sap-system\"]);const m={innerAppRoute:y(o)||t.parsedIntent.appSpecificRoute,targetNavMode:b(t),defaultParameterNames:t.mappedDefaultedParamNames,startupParameter:t.mappedIntentParamsPlusSimpleDefaults,remoteApplication:{remoteSO:undefined,remoteAction:undefined}};S().then(a=>{m.env=a;const f=n.get([\"sap.integration\",\"urlTemplateParams\",\"query\"],o.siteAppSection)||{};if(f.hasOwnProperty(\"sap-cssurl\")){m.env.themeServiceRoot=undefined;m.env.theme=undefined}if(c.appFrameworkId===\"UI5\"&&m.startupParameter){for(const e in m.startupParameter){if(e!==\"sap-ushell-innerAppRoute\"){m.startupParameter[e][0]=encodeURIComponent(m.startupParameter[e][0])}if(e===\"sap-shell-so\"){m.remoteApplication.remoteSO=m.startupParameter[e][0]}if(e===\"sap-shell-action\"){m.remoteApplication.remoteAction=m.startupParameter[e][0]}}if(t.mappedDefaultedParamNames&&t.mappedDefaultedParamNames.length>0){const e=t.mappedDefaultedParamNames.filter(e=>e!==\"sap-shell-so\"&&e!==\"sap-shell-action\"&&e!==\"sap-system\");m.startupParameter[\"sap-ushell-defaultedParameterNames\"]=[JSON.stringify(e)]}delete m.startupParameter[\"sap-shell-so\"];delete m.startupParameter[\"sap-shell-action\"]}const g=\"/universal_search/search\";const y=m.innerAppRoute&&m.innerAppRoute.indexOf(g);let b;if(y===0){b=m.innerAppRoute.substring(1);m.innerAppRoute=\"/JAMSEARCHPATHH?JAMSEARCHVALUEE=VALUEE\"}const w=r.getMember(o.siteAppSection,\"sap|integration.urlTemplateId\");let S=o.payload;if(w===\"urltemplate.gui\"){S=u(o.payload,20);v(S,m,p)}S=T(w,S,f);let L=i.expand(S,o.site,m,o.siteAppSection,\"startupParameter\");if(y===0){L=L.replace(\"/JAMSEARCHPATHH?JAMSEARCHVALUEE=VALUEE\",`/${b}`)}if(m.env.theme===undefined){L=L.replace(\"&sap-theme=\",\"\")}if(c.appFrameworkId===\"UI5\"&&A.getBrowserHash().length>1){L=L.split(\"#\")[0]+A.getBrowserHash();e.debug(`- created URL with fixed hash: ${L}`,\"sap.ushell.ApplicationType\")}function C(e){const t=u(o.payload,20);t.urlTemplate=e;return i.expand(t,o.site,m,o.siteAppSection,\"startupParameter\")}const O=o.siteAppSection[\"sap.app\"]&&o.siteAppSection[\"sap.app\"].destination||o.siteAppSection.destination||\"\";const M=o?.siteAppSection[\"sap.app\"]?.contentProviderId||\"\";const H=h.getSystemAliasInProvider(O,M);const k={applicationType:\"URL\",text:p.title,appCapabilities:E(c,o.siteAppSection,C),url:L,extendedInfo:l.getExtendedInfo(t,o.siteAppSection,o.site),contentProviderId:p.contentProviderId||\"\",systemAlias:H};l.addIframeCacheHintToURL(k,k.appCapabilities.appFrameworkId);l.addKeepAliveToURLTemplateResult(k);R(k);I(k,o.siteAppSection,m);const q=new Promise(e=>{d.getServiceAsync(\"URLTemplate\").then(t=>{sap.ui.require([\"sap/ushell/appIntegration/ApplicationContainerCache\"],a=>{const n=!a.findFreeContainerByUrl(k.url);t.handlePostTemplateProcessing(k.url,o.siteAppSection,n).then(e)})})});q.then(e=>{if(P&&e.indexOf(\"ui5appruntime.html\")>0){const t=e.split(\"?\");t[0]=P;e=t.join(\"?\")}k.url=e;x(i,k.url,c,o).then(e=>{k.url=e;if(k.url&&typeof k.url===\"string\"&&k.url.indexOf(\"sap-iframe-hint=GUI\")>0){s(k)}else{U(k.url,m.targetNavMode,c).then(e=>{k.url=e;s(k)},()=>{s(k)})}})})})})})}function H(){return window.location.hash}A={generateURLTemplateResolutionResult:M,handleURLTransformation:x,getBrowserHash:H,_createEnv:S,_addLanguageToURLTemplateResult:I,compactURLParameters:U};return A});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType/utils\", [\"sap/ushell/utils/UrlParsing\",\"sap/ushell/ApplicationType/systemAlias\",\"sap/ushell/utils\",\"sap/ui/thirdparty/URI\",\"sap/base/util/ObjectPath\"],(e,s,t,a,n)=>{\"use strict\";const i=new a(document.URL).search(true);function r(){return e}function l(e,t,a){if(!a||a===s.SYSTEM_ALIAS_SEMANTICS.applied){return s.isAbsoluteURI(e)&&!t}if(a===s.SYSTEM_ALIAS_SEMANTICS.apply){return s.isAbsoluteURI(e)}throw new Error(`Invalid system alias semantics: '${a}'`)}function p(e,s){let t;let a;let n;if(typeof s===\"string\"){n=s}else{n=decodeURI(s.toString())}if(e){const s=n.match(/#.*/);if(s){a=s;t=n.replace(s,\"\")}else{t=n;a=\"\"}n=t+(n.indexOf(\"?\")<0?\"?\":\"&\")+e+a}return n}function o(s,t){const a=t.match(/#.*/);const n=a&&a[0];if(!n){const a=e.paramsToString(s);return p(a,t)}const i=e.parseShellHash(n);Object.keys(s).forEach(e=>{const t=s[e];i.params[e]=[t]});const r=Object.keys(i.params).reduce((e,s)=>{const t=i.params[s];const a=t.map(e=>encodeURIComponent(e));e[encodeURIComponent(s)]=a;return e},{});i.params=r;const l=t.replace(n,\"\");const o=e.constructShellHash(i);return`${l}#${o}`}function f(e,s){if(e[\"sap-system\"]&&e[\"sap-system\"]!==null&&e[\"sap-system\"]!==undefined&&e[\"sap-system\"]!==\"\"){e.systemAlias=e[\"sap-system\"]}else{e.systemAlias=s.systemAlias}if(e.systemAlias===undefined){delete e.systemAlias}}function u(e,s,a){const n={appParams:{},system:undefined};if(e&&e.mappedIntentParamsPlusSimpleDefaults){n.appParams=JSON.parse(JSON.stringify(e.mappedIntentParamsPlusSimpleDefaults))}if(s){const e=t.getMember(s,\"sap|app.destination\");if(typeof e===\"string\"&&e.length>0){n.system=a.systemAliases[e]&&JSON.parse(JSON.stringify(a.systemAliases[e]));if(typeof n.system===\"object\"){n.system.alias=e}}}return n}function c(e,s,t){if(e.url){const a=e.url.indexOf(\"#\");let n=e.url;let i=\"\";if(a>0){n=e.url.slice(0,a);i=e.url.slice(a)}e.url=`${n+(n.indexOf(\"?\")>=0?\"&\":\"?\")+s}=${t}${i}`}}function m(e,s){if(s){c(e,\"sap-iframe-hint\",s)}}function d(e,s){const t=e.intentParamsPlusAllDefaults;if(t&&t[\"sap-post\"]&&t[\"sap-post\"][0]===\"false\"){s.openWithPostByAppParam=false}}function y(e){let s;if(i&&i.hasOwnProperty(\"sap-keep-alive\")){s=i[\"sap-keep-alive\"]}else{s=n.get(\"extendedInfo.appParams.sap-keep-alive\",e);if(Array.isArray(s)){s=s[0]}}if(s!==undefined){c(e,\"sap-keep-alive\",s)}}return{getURLParsing:r,appParameterToUrl:c,appendParametersToUrl:p,appendParametersToIntentURL:o,absoluteUrlDefinedByUser:l,setSystemAlias:f,getExtendedInfo:u,addIframeCacheHintToURL:m,checkOpenWithPost:d,addKeepAliveToURLTemplateResult:y}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType/wcfResolution\", [\"sap/base/util/deepExtend\",\"sap/ui/thirdparty/URI\",\"sap/ushell/ApplicationType/systemAlias\",\"sap/ushell/ApplicationType/utils\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(e,s,t,a,n,i)=>{\"use strict\";async function l(l,p,o){const d=new s(p);const r=l.inbound;const c=r&&r.resolutionResult;const u=e({},l.mappedIntentParamsPlusSimpleDefaults);let m;let y;if(u[\"sap-system\"]){m=u[\"sap-system\"][0];delete u[\"sap-system\"]}if(u[\"sap-system-src\"]){y=u[\"sap-system-src\"][0];delete u[\"sap-system-src\"]}if(n.last(\"/core/extension/dap/enabled\")){const e=await i.getServiceAsync(\"PluginManager\");u[\"sap-load-dap\"]=e.isPluginConfigured(n.last(\"/core/extension/dap/pluginName\"))}else{u[\"sap-load-dap\"]=false}const f=await t.spliceSapSystemIntoURI(d,c.systemAlias,m,y,\"WCF\",c.systemAliasSemantics||t.SYSTEM_ALIAS_SEMANTICS.applied,o);const g=a.getURLParsing().paramsToString(u);const I=a.appendParametersToUrl(g,f);const S={url:I,text:c.text||\"\",additionalInformation:c.additionalInformation||\"\",applicationType:\"WCF\",fullWidth:true,extendedInfo:a.getExtendedInfo(l)};a.checkOpenWithPost(l,S);a.addKeepAliveToURLTemplateResult(S);a.addIframeCacheHintToURL(S,\"WCF\");return S}return{generateWCFResolutionResult:l}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ApplicationType/wdaResolution\", [\"sap/base/util/deepExtend\",\"sap/base/util/ObjectPath\",\"sap/ui/thirdparty/URI\",\"sap/ushell/ApplicationType/systemAlias\",\"sap/ushell/ApplicationType/utils\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(s,e,t,a,n,i,p)=>{\"use strict\";async function r(e,t){return new Promise(async(a,r)=>{const o=s({},e);if(t.length>0){o[\"sap-ushell-defaultedParameterNames\"]=[JSON.stringify(t)]}delete o[\"sap-system\"];if(i.last(\"/core/extension/dap/enabled\")){const s=await p.getServiceAsync(\"PluginManager\");o[\"sap-load-dap\"]=s.isPluginConfigured(i.last(\"/core/extension/dap/pluginName\"))}else{o[\"sap-load-dap\"]=false}if(o[\"sap-xapp-state-data\"]){const s=await p.getServiceAsync(\"AppState\");const e=s.createEmptyAppState(undefined,true);e.setData(JSON.parse(o[\"sap-xapp-state-data\"][0]));await e.save();o[\"sap-xapp-state\"]=[e.getKey()];delete o[\"sap-xapp-state-data\"]}const l=await p.getServiceAsync(\"ShellNavigationInternal\");l.compactParams(o,[\"sap-xapp-state\",\"sap-ushell-defaultedParameterNames\",\"sap-intent-params\",\"sap-iframe-hint\",\"sap-keep-alive\",\"sap-wd-configId\"],undefined,true).fail(s=>{r(s)}).then(s=>{const e=n.getURLParsing().paramsToString(s);a(e)})})}function o(s,e){let t=s.search();if(e){t=t+(t.indexOf(\"?\")<0?\"?\":\"&\")+e}return s.search(t).toString()}function l(s,e){return`/ui2/nwbc/~canvas;window=app/wda/${s}/?${e}`}function c(s,e){const t=s.indexOf(\"/\")!==0;if(t){s=`sap/${s}`}return`/webdynpro/${s}?${e}`}function u(e,i,p,r,o){let u;let m;let d;const f=s({},r);if(i){f[\"sap-wd-configId\"]=i}if(f[\"sap-system\"]){u=f[\"sap-system\"][0];delete f[\"sap-system\"]}if(f.hasOwnProperty(\"sap-system-src\")){m=f[\"sap-system-src\"][0];delete f[\"sap-system-src\"]}const y=n.getURLParsing().paramsToString(f);if(p){d=l(e,y)}else{d=c(e,y)}const A=new t(d);return a.spliceSapSystemIntoURI(A,a.LOCAL_SYSTEM_ALIAS,u,m,\"WDA\",a.SYSTEM_ALIAS_SEMANTICS.apply,o)}function m(s,e,t,a){const i={\"sap-system\":t,url:e,text:s.title,applicationType:\"WDA\"};if(typeof a===\"string\"){i[\"sap-system-src\"]=a}n.setSystemAlias(i,s.resolutionResult);[\"additionalInformation\",\"applicationDependencies\"].forEach(e=>{if(s.resolutionResult.hasOwnProperty(e)){i[e]=s.resolutionResult[e]}});i.url=n.appendParametersToUrl(`sap-iframe-hint=${i.url.indexOf(\"/ui2/nwbc/\")>=0?\"NWBC\":\"WDA\"}`,i.url);return i}function d(s,t,a){const n=e.get(\"inbound.resolutionResult\",s);const i=s.mappedIntentParamsPlusSimpleDefaults||{};let p=n.systemAlias;if(i[\"sap-system\"]){p=i[\"sap-system\"][0]}let l;if(i[\"sap-system-src\"]){l=i[\"sap-system-src\"][0]}const c={\"sap-system\":[p]};if(typeof l===\"string\"){c[\"sap-system-src\"]=[l]}let d=n[\"sap.wda\"].compatibilityMode;if(d===undefined){d=true}return Promise.all([u(n[\"sap.wda\"].applicationId,n[\"sap.wda\"].configId,d,c,a),r(i,s.mappedDefaultedParamNames)]).then(e=>{const t=e[0];const a=e[1];const n=o(t,a);const p=i[\"sap-system\"]&&i[\"sap-system\"][0];const r=i[\"sap-system-src\"]&&i[\"sap-system-src\"][0];const l=m(s.inbound,n,p,r);return l})}function f(s,e,n){const i=s.inbound;const p=i&&i.resolutionResult;const l=s.mappedIntentParamsPlusSimpleDefaults;const c=new t(e);const u=l[\"sap-system\"]&&l[\"sap-system\"][0];const d=l[\"sap-system-src\"]&&l[\"sap-system-src\"][0];return Promise.all([a.spliceSapSystemIntoURI(c,p.systemAlias,u,d,\"WDA\",p.systemAliasSemantics||a.SYSTEM_ALIAS_SEMANTICS.applied,n),r(l,s.mappedDefaultedParamNames)]).then(s=>{const e=s[0];const t=s[1];const a=o(e,t);const n=m(i,a,u,d);return n},s=>Promise.reject(s))}function y(s,t,a,i){const p=s.params[\"sap-ui2-wd-app-id\"][0];const r=(e.get(\"params.sap-ui2-wd-conf-id\",s)||[])[0];const o=Object.keys(s.params).reduce((e,t)=>{if(t!==\"sap-ui2-wd-app-id\"&&t!==\"sap-ui2-wd-conf-id\"){e[t]=s.params[t]}return e},{});return u(p,r,i,o,a).then(e=>{const a=s.params.hasOwnProperty(\"sap-system-src\")&&s.params[\"sap-system-src\"][0];const i=s.params.hasOwnProperty(\"sap-system\")&&s.params[\"sap-system\"][0]||\"\";const r={url:e.toString(),applicationType:\"WDA\",text:p,additionalInformation:\"\",\"sap-system\":i,systemAlias:i};if(typeof a===\"string\"){r[\"sap-system-src\"]=a}if(t&&t.inbound&&t.inbound.resolutionResult&&t.inbound.resolutionResult[\"sap.platform.runtime\"]){r[\"sap.platform.runtime\"]=t.inbound.resolutionResult[\"sap.platform.runtime\"]}r.url=n.appendParametersToUrl(`sap-iframe-hint=${r.url.indexOf(\"/ui2/nwbc/\")>=0?\"NWBC\":\"WDA\"}`,r.url);return r})}function A(s,e,t){return new Promise((a,i)=>{const p=s.inbound;const r=p&&p.resolutionResult;let o;if(p&&r){if(r[\"sap.wda\"]){o=d(s,e,t)}else{o=f(s,e,t)}}if(o){o.then(e=>{e.extendedInfo=n.getExtendedInfo(s);n.checkOpenWithPost(s,e);n.addKeepAliveToURLTemplateResult(e);return e}).then(a,i)}else{a()}})}return{generateWDAResolutionResult:A,resolveEasyAccessMenuIntentWDA:y,constructFullWDAResolutionResult:d,constructWDAResolutionResult:f,constructWDAURLParameters:r}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/Config\", [\"sap/ushell/EventHub\",\"sap/ushell/bootstrap/common/common.create.configcontract.core\",\"sap/ushell/Config/utils\"],(e,t,n)=>{\"use strict\";let r=t.createConfigContract(window[\"sap-ushell-config\"]);let o=e.createChannel(r);const c=Object.keys(o).reduce((t,n)=>{t[n]=function(){if(!o){o=e.createChannel(r)}return o[n].apply(o,arguments)};return t},{_reset:function(){o=null},_resetContract:function(){r=t.createConfigContract(window[\"sap-ushell-config\"]);this._reset()},registerConfiguration:function(e,t){r=t},createModel:function(t,c){if(!o){o=e.createChannel(r)}return n.createModel(o,r,t,c)}});return c},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/Config/utils\", [],()=>{\"use strict\";function t(t,n){const r=[];const e=[];let o=n;let c=false;const i=t.split(\"/\");i.shift();i.forEach(t=>{if(!c&&o.hasOwnProperty(t)){o=o[t];r.push(t);return}c=true;e.push(t)});return{contractPart:`/${r.join(\"/\")}`,nonContractPart:e}}function n(t){return t&&t.isA&&t.isA(\"sap.ui.model.Context\")}function r(t,n,r,e){let o=r;n.forEach((r,c)=>{if(c===n.length-1){o[r]=e;return}if(!o.hasOwnProperty(r)){throw new Error(`Cannot find ${r} inside ${t}`)}o=o[r]})}function e(t){if(typeof t===\"object\"){const n=\"/\";return function r(e){const o=e.split(n);o.shift();const c=o.shift();return t[c]+(o.length>0?n+o.join(n):\"\")}}return function n(r){return t+r}}function o(t,r,o){const c=e(o);let i=c(t);if(n(r)&&t.charAt(0)!==\"/\"){const n=`${r.getPath()}/${t}`;i=c(n)}return i}function c(n,e,c,i){c.setData=function(t,n){throw new Error(\"not yet implemented\")};c.setProperty=function(c,a,s){const u=o(c,s,i);const f=t(u,e);if(f.nonContractPart.length===0){n.emit(f.contractPart,a);return}const l=n.last(f.contractPart);r(f.contractPart,f.nonContractPart,l,a);n.emit(f.contractPart,l)};c.getProperty=function(r,c){const a=o(r,c,i);const s=t(a,e);return n.last(s.contractPart)};c.getData=function(t){if(typeof i===\"string\"){return c.getProperty(\"/\",t)}return Object.keys(i).reduce((n,r)=>{n[r]=this.getProperty(`/${r}`,t);return n},{})};return c}function i(t,n,r,e){let o;let i;let a;let s;if(typeof r===\"string\"){const i=r;s=i;const u=t.last(i);if(Object.prototype.toString.apply(u)!==\"[object Object]\"){throw new Error(`Cannot bind on leaf property of Configuration: '${i}'`)}o=new e(u);a=o.setData.bind(o);t.on(i).do(t=>{a(t)});return c(t,n,o,s)}if(Object.prototype.toString.apply(r)===\"[object Object]\"){const a=r;const s=Object.keys(a).reduce((n,r)=>{const e=a[r];n[r]=t.last(e);t.on(e).do(((t,n)=>{i(`/${t}`,n)}).bind(null,r));return n},{});o=new e(s);i=o.setProperty.bind(o);return c(t,n,o,a)}throw new Error(\"Invalid parameter provided to createModel. Must be an object or a string.\")}return{createModel:i}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/Container\", [\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/extend\",\"sap/base/util/uid\",\"sap/ui/base/EventProvider\",\"sap/ui/core/Control\",\"sap/ui/core/EventBus\",\"sap/ui/core/service/ServiceFactoryRegistry\",\"sap/ui/performance/Measurement\",\"sap/ui/thirdparty/jquery\",\"sap/ui/thirdparty/URI\",\"sap/ui/util/Mobile\",\"sap/ushell/bootstrap/common/common.util\",\"sap/ushell/EventHub\",\"sap/ushell/System\",\"sap/ushell/Ui5ServiceFactory\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/renderer/ShellLayout\",\"sap/base/util/Deferred\",\"sap/base/util/ObjectPath\",\"sap/ushell/api/BootstrapObserver\",\"sap/ushell/resources\"],(e,t,n,r,i,o,s,a,l,u,jQuery,c,f,d,p,h,g,m,y,v,w,S,C,P)=>{\"use strict\";const D=\"sap.ushell.Container\";const L=\"sap.ushell.Container.dirtyState.\";const A={};let b;let I;const E=[];let R;const F=[];function M(){close()}function U(){document.location=\"about:blank\"}function N(e){if(I&&I[e]){return I[e]}return`sap.ushell.adapters.${e}`}function T(e){const t=b.services;if(!t){return{}}if(e===\"Notifications\"||e===\"NotificationsV2\"){return t.Notifications||t.NotificationsV2||{}}return t[e]||{}}function O(e,t,n,r,i){const o=T(e).adapter||{};let s;async function a(e){let r;try{[r]=await m.requireAsync([e])}catch(t){if(e.endsWith(\"PersonalizationV2Adapter\")){const t=e.replace(\"PersonalizationV2Adapter\",\"PersonalizationAdapter\");return a(t)}if(e.endsWith(\"FlpLaunchPageAdapter\")){const t=e.replace(\"FlpLaunchPageAdapter\",\"LaunchPageAdapter\");return a(t)}throw t}const i=new r(t,n,{config:o.config||{}});return i}if(i===true){s=o.module;if(s===undefined){return r?Promise.resolve():undefined}}else{s=o.module||`${N(t.getPlatform())}.${e}Adapter`}const l=s.replace(/\\./g,\"/\");function u(e){let r;try{r=sap.ui.requireSync(e)}catch(t){if(e.endsWith(\"PersonalizationV2Adapter\")){const t=e.replace(\"PersonalizationV2Adapter\",\"PersonalizationAdapter\");r=sap.ui.requireSync(t)}else{throw t}}return new r(t,n,{config:o.config||{}})}if(!r){return u(l)}return a(l)}function $(e,t){e.forEach(e=>{const n=g.createServiceFactory(e,t);l.register(`sap.ushell.ui5service.${e}`,n)})}function _(){const l=new o;let d=false;let g=[];let N={};let _;const k={};let x;let q;let V=m.getLocalStorage();let Y=new m.Map;let B=new m.Map;let G;const H=this;let z;let K=false;let W=new w;function j(){if(typeof z.logoutRedirect===\"function\"){q=function(e){function t(){H._closeWindow();H._redirectWindow()}if(R!==H){return}if(e.key.indexOf(_)===0&&e.newValue&&e.newValue!==V.getItem(e.key)){m.localStorageSetItem(e.key,e.newValue)}if(e.key===G){if(e.newValue===\"pending\"){H._suppressOData();if(l.fireEvent(\"Logout\",true)){t()}else{setTimeout(t,1e3)}}}};window.addEventListener(\"storage\",q)}}this.init=async function(e,t){S.set(\"sap.ushell.Container\",R);const n=await Promise.all([this._init(e,t),P.awaitResourceBundle()]);z=n[0];_=`sap.ushell.Container.${z.getSystem().getPlatform()}.remoteSystem.`;G=`sap.ushell.Container.${z.getSystem().getPlatform()}.sessionTermination`;j();K=true;W.resolve();C.resolveBootstrappedContainer(this)};this.isInitialized=function(){return K};this.cancelLogon=function(){if(this.oFrameLogonManager){this.oFrameLogonManager.abortLogon()}};this.createRenderer=function(e,n){if(typeof e===\"boolean\"){n=e;e=undefined}const r={async:!!n};let i;u.start(\"FLP:Container.InitLoading\",\"Initial Loading\",\"FLP\");m.setPerformanceMark(\"FLP - renderer created\");e=e||b.defaultRenderer;if(!e){throw new Error(\"Missing renderer name\")}const o=b&&b.renderers&&b.renderers[e]||{};i=o.module||(e.indexOf(\".\")<0?`sap.ushell.renderers.${e}.Renderer`:e);if(i===\"sap.ushell.renderers.fiori2.Renderer\"){i=\"sap.ushell.renderer.Renderer\"}if(o.componentData&&o.componentData.config){r.config=o.componentData.config}function a(e){e.placeAt=function(e,t){let n=e;const r=\"canvas\";const i=document.body;if(e===i.id){n=document.createElement(\"div\");n.setAttribute(\"id\",r);n.classList.add(\"sapUShellFullHeight\");switch(t){case\"first\":if(i.firstChild){i.insertBefore(n,i.firstChild);break}case\"only\":i.innerHTML=\"\";default:i.appendChild(n)}e=r;t=\"\"}v.applyLayout(e);p.emit(\"ShellLayoutApplied\",Date.now());s.prototype.placeAt.call(this,e,t)}}function c(e){const t=e.destroy;e.destroy=function(){if(e.isA(\"sap.ui.core.ComponentContainer\")){return Promise.resolve(e.getComponentInstance().destroy()).then(function(){return t.apply(e,arguments)})}return Promise.resolve(t.apply(e,arguments))}}function f(t){const n=sap.ui.requireSync(t);const i=new n({componentData:r});let o;const u=sap.ui.requireSync(\"sap/ui/core/UIComponent\");if(i instanceof u){const e=sap.ui.requireSync(\"sap/ui/core/ComponentContainer\");o=new e({component:i,height:\"100%\",width:\"100%\"})}else{o=i}if(!(o instanceof s)){throw new Error(`Unsupported renderer type for name ${e}`)}a(o);c(o);N[e]=i;l.fireEvent(\"rendererCreated\",{renderer:i});return o}function d(t){return new Promise((n,i)=>{sap.ui.require([t,\"sap/ui/core/ComponentContainer\",\"sap/ui/core/UIComponent\",\"sap/ui/core/routing/Router\"],(t,o,u)=>{const f=new t({componentData:r});if(f instanceof u){const t=new o({component:f,height:\"100%\",width:\"100%\",async:true});a(t);c(t);N[e]=f;f.rootControlLoaded().then(()=>{l.fireEvent(\"rendererCreated\",{renderer:f});n(t)})}else if(f instanceof s){a(f);c(f);N[e]=f;l.fireEvent(\"rendererCreated\",{renderer:f});n(f)}else{i(new Error(\"Unsupported renderer type!\"))}})})}const h=i.replace(/\\./g,\"/\");if(n){return d(h)}t.error(\"sap.ushell.Container.createRenderer() should always be called with bAsync:true.\");return f(h)};this.createRendererInternal=async function(e){const t={async:true};let n;u.start(\"FLP:Container.InitLoading\",\"Initial Loading\",\"FLP\");m.setPerformanceMark(\"FLP - renderer created\");e=e||b.defaultRenderer;if(!e){throw new Error(\"Missing renderer name\")}const r=b.renderers&&b.renderers[e]||{};n=r.module||(e.indexOf(\".\")<0?`sap.ushell.renderers.${e}.Renderer`:e);if(n===\"sap.ushell.renderers.fiori2.Renderer\"){n=\"sap.ushell.renderer.Renderer\"}if(r.componentData&&r.componentData.config){t.config=r.componentData.config}function i(e){e.placeAt=function(e,t){let n=e;const r=\"canvas\";const i=document.body;if(e===i.id){n=document.createElement(\"div\");n.setAttribute(\"id\",r);n.classList.add(\"sapUShellFullHeight\");switch(t){case\"first\":if(i.firstChild){i.insertBefore(n,i.firstChild);break}case\"only\":i.innerHTML=\"\";default:i.appendChild(n)}e=r;t=\"\"}v.applyLayout(e);p.emit(\"ShellLayoutApplied\",Date.now());s.prototype.placeAt.call(this,e,t)}}function o(e){const t=e.destroy;e.destroy=function(){if(e.isA(\"sap.ui.core.ComponentContainer\")){return Promise.resolve(e.getComponentInstance().destroy()).then(function(){return t.apply(e,arguments)})}return Promise.resolve(t.apply(e,arguments))}}const a=n.replace(/\\./g,\"/\");const[c,f,d]=await m.requireAsync([a,\"sap/ui/core/ComponentContainer\",\"sap/ui/core/UIComponent\",\"sap/ui/core/routing/Router\"]);const h=new c({componentData:t});if(h instanceof d){const t=new f({component:h,height:\"100%\",width:\"100%\",async:true});i(t);o(t);N[e]=h;await h.rootControlLoaded();l.fireEvent(\"rendererCreated\",{renderer:h});return t}else if(h instanceof s){i(h);o(h);N[e]=h;l.fireEvent(\"rendererCreated\",{renderer:h});return h}throw new Error(\"Unsupported renderer type!\")};this.getRenderer=function(e){let n;e=e||b.defaultRenderer;if(e){n=N[e]}else{const e=Object.keys(N);if(e.length===1){n=N[e[0]]}else{t.warning(\"getRenderer() - cannot determine renderer, because no default renderer is configured and multiple instances exist.\",null,D)}}if(n&&n.isA(\"sap.ui.core.ComponentContainer\")){return n.getComponentInstance()}return n};this.getRendererInternal=functio Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution\", [\"sap/base/Log\",\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/base/util/extend\",\"sap/ushell/ApplicationType\",\"sap/ushell/navigationMode\",\"sap/ushell/services/ClientSideTargetResolution/Formatter\",\"sap/ushell/services/ClientSideTargetResolution/InboundIndex\",\"sap/ushell/services/ClientSideTargetResolution/InboundProvider\",\"sap/ushell/services/ClientSideTargetResolution/ParameterMapping\",\"sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations\",\"sap/ushell/services/ClientSideTargetResolution/Search\",\"sap/ushell/services/ClientSideTargetResolution/StagedLogger\",\"sap/ushell/services/ClientSideTargetResolution/SystemContext\",\"sap/ushell/services/ClientSideTargetResolution/Utils\",\"sap/ushell/services/ClientSideTargetResolution/VirtualInbounds\",\"sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/TechnicalParameters\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/Container\"],(e,t,n,s,i,a,o,r,l,u,c,d,p,f,g,h,m,jQuery,b,y,v,S)=>{\"use strict\";function w(e,t,n,s){this._init.apply(this,arguments)}w.prototype._init=function(t,n,s,i){this._iLogId=0;if(!this._implementsServiceInterface(t)){e.error(\"Cannot get Inbounds\",\"ClientSideTargetResolutionAdapter should implement getInbounds method\",\"sap.ushell.services.ClientSideTargetResolution\");return}this._oInboundProvider=new l(t.getInbounds.bind(t));this._oHaveEasyAccessSystemsDeferreds={userMenu:null,sapMenu:null};this._oServiceConfiguration=i;this._oAdapter=t};w.prototype._implementsServiceInterface=function(e){if(typeof e.getInbounds===\"function\"){return true}return false};w.prototype._extractInboundFilter=function(e){if(!this._oAdapter.hasSegmentedAccess){return undefined}if(typeof e!==\"string\"){return undefined}const t=e.indexOf(\"#\")===0?e:`#${e}`;const n=v.parseShellHash(t);if(!n||!n.semanticObject||!n.action){return undefined}return[{semanticObject:n.semanticObject,action:n.action}]};w.prototype.resolveHashFragment=async function(e){const t=this._extractInboundFilter(e);const n=await this._oInboundProvider.getInbounds(t);const s=await this._resolveHashFragment(e,n);return s};w.prototype._resolveHashFragmentWithFallback=async function(t,n,s){if(typeof this._oAdapter.resolveHashFragmentFallback!==\"function\"){e.error(\"Cannot resolve hash fragment\",`${t} has matched an inbound that cannot be resolved client side and no resolveHashFragmentFallback method was implemented in ClientSideTargetResolutionAdapter`,\"sap.ushell.services.ClientSideTargetResolution\");throw new Error(\"No fallback provided\")}const i=await y.promisify(this._oAdapter.resolveHashFragmentFallback(t,n,s));return i};w.prototype.resolveTileIntent=async function(e){const t=this._extractInboundFilter(e);const n=await this._oInboundProvider.getInbounds(t);const s=await this._resolveTileIntent(e,n);return s};w.prototype.resolveTileIntentInContext=async function(e,t){const n=r.createIndex(e.concat(h.getInbounds()));const s=await this._resolveTileIntent(t,n);return s};w.prototype._resolveHashFragment=async function(t,n){const s=t.indexOf(\"#\")===0?t:`#${t}`;const i=v.parseShellHash(s);if(i===undefined){e.error(`Could not parse shell hash '${t}'`,\"please specify a valid shell hash\",\"sap.ushell.services.ClientSideTargetResolution\");throw new Error(`Could not parse shell hash '${t}'please specify a valid shell hash`)}i.formFactor=y.getFormFactor();let a=await this._getMatchingInbounds(i,n,{bExcludeTileInbounds:true});if(a.length===0){e.warning(`Could not resolve ${t}`,\"rejecting promise\",\"sap.ushell.services.ClientSideTargetResolution\");throw new Error(`Could not resolve ${t}`)}a=this._applySapNavigationScopeFilter(a,i);const o=a[0];function r(e,t){return this[e]===undefined?\"\":t}function l(e,t){return e===\"_original\"?undefined:r.call(this,e,t)}if(e.getLevel()>=e.Level.DEBUG){const t=JSON.stringify(o,l,\" \");e.debug(\"The following target will now be resolved\",t,\"sap.ushell.services.ClientSideTargetResolution\")}return this._resolveSingleMatchingTarget(o,s)};w.prototype._applySapNavigationScopeFilter=function(e,t){const s=t&&t.params&&t.params[\"sap-navigation-scope-filter\"];if(!s){return e}const i=e.filter(e=>{const t=n.get(\"inbound.signature.parameters\",e);const i=t&&t[\"sap-navigation-scope\"];if(i){return s[0]===i.defaultValue.value}return undefined});return i.length>0?i:e};w.prototype._resolveSingleMatchingTarget=async function(t,s){const o=v.parseShellHash(s);const r=[o.semanticObject,o.action].join(\"-\");const l=(t.inbound.resolutionResult||{}).applicationType;let d;if(this._oAdapter.resolveSystemAlias){d=(...e)=>{const t=new jQuery.Deferred;y.promisify(this._oAdapter.resolveSystemAlias.apply(this._oAdapter,e)).then(t.resolve).catch(t.reject);return t}}const p=!!t.inbound.templateContext;const f=i.getEasyAccessMenuResolver(r,l);if(f&&!p){const e=await f(o,t,d,i.WDA.enableWdaCompatibilityMode);const n=a.getNavigationMode(e,(t.intentParamsPlusAllDefaults[\"sap-ushell-navmode\"]||[])[0],(t.intentParamsPlusAllDefaults[\"sap-ushell-next-navmode\"]||[])[0]);y.shallowMergeObject(e,n);e.inboundPermanentKey=t.inbound.permanentKey||t.inbound.id;return e}const g=this._getReservedParameters(t);u.mapParameterNamesAndRemoveObjects(t);const h=await S.getServiceAsync(\"AppState\");t=await m.mixAppStateIntoResolutionResultAndRename(t,h);delete t.intentParamsPlusAllDefaults[\"sap-tag\"];delete t.mappedIntentParamsPlusSimpleDefaults[\"sap-tag\"];t.mappedDefaultedParamNames=t.mappedDefaultedParamNames.filter(e=>e!==\"sap-tag\");const b=n.get(\"inbound.resolutionResult.url\",t);await c.executePrelaunchOperations(t,g[\"sap-prelaunch-operations\"]);try{let n;if(i[l]){n=i[l].generateResolutionResult}else{n=()=>this._constructFallbackResolutionResult(t,s)}const o=await n(t,b,d);const r=a.getNavigationMode(o,(t.intentParamsPlusAllDefaults[\"sap-ushell-navmode\"]||[])[0],(t.intentParamsPlusAllDefaults[\"sap-ushell-next-navmode\"]||[])[0]);y.shallowMergeObject(o,r);o.reservedParameters=g;o.inboundPermanentKey=t.inbound.permanentKey||t.inbound.id;if(t.inbound.resolutionResult?.appInfo){o.appInfo=t.inbound.resolutionResult.appInfo}e.debug(\"Intent was resolved to the following target\",JSON.stringify(o,null,3),\"sap.ushell.services.ClientSideTargetResolution\");y.shallowMergeObject(t.resolutionResult,o);return t.resolutionResult}catch(e){if(typeof e===\"string\"&&e.indexOf(\"fallback:\")>=0){const e=await this._constructFallbackResolutionResult(t,s);y.shallowMergeObject(t.resolutionResult,e);return t.resolutionResult}throw e}};w.prototype._getReservedParameters=function(e){const t=b.getParameters({injectFrom:\"startupParameter\"}).map(e=>e.name);const n=g.extractParameters(t,e.intentParamsPlusAllDefaults);b.getParameters({injectFrom:\"inboundParameter\"}).forEach(t=>{const s=t.name;const i=e.inbound&&e.inbound.signature&&e.inbound.signature.parameters;if(i&&Object.keys(i).length>0){const t=i[s];const a=t&&t.defaultValue&&t.defaultValue.hasOwnProperty(\"value\");const o=t&&t.filter&&t.filter.hasOwnProperty(\"value\");if(t&&(o||a)){if(a){n[s]=t.defaultValue.value}else{n[s]=t.filter.value}}else{delete n[s]}delete e.intentParamsPlusAllDefaults[s];const r=e.defaultedParamNames.indexOf(s);if(r>=0){e.defaultedParamNames.splice(r,1)}}});return n};w.prototype._resolveTileIntent=async function(t,n){const s=t.indexOf(\"#\")===0?t:`#${t}`;const i=v.parseShellHash(s);if(i===undefined){e.error(`Could not parse shell hash '${t}'`,\"please specify a valid shell hash\",\"sap.ushell.services.ClientSideTargetResolution\");throw new Error(\"Cannot parse shell hash\")}i.formFactor=y.getFormFactor();const a=await this._getMatchingInbounds(i,n,{bExcludeTileInbounds:false});if(a.length===0){e.warning(`Could not resolve ${t}`,\"no matching targets were found\",\"sap.ushell.services.ClientSideTargetResolution\");throw new Error(\"No matching targets found\")}const o=a[0];return this._resolveSingleMatchingTileIntent(o,s)};w.prototype._resolveSingleMatchingTileIntent=async function(t,o){const r=(t.inbound.resolutionResult||{}).applicationType;let l;if(this._oAdapter.resolveSystemAlias){l=(...e)=>{const t=new jQuery.Deferred;y.promisify(this._oAdapter.resolveSystemAlias.apply(this._oAdapter,e)).then(t.resolve).catch(t.reject);return t}}u.mapParameterNamesAndRemoveObjects(t);const c=await S.getServiceAsync(\"AppState\");t=await m.mixAppStateIntoResolutionResultAndRename(t,c);delete t.intentParamsPlusAllDefaults[\"sap-tag\"];delete t.mappedIntentParamsPlusSimpleDefaults[\"sap-tag\"];t.mappedDefaultedParamNames=t.mappedDefaultedParamNames.filter(e=>e!==\"sap-tag\");const d=n.get(\"inbound.resolutionResult.url\",t);let p;if(i[r]){p=i[r].generateResolutionResult}else{p=()=>this._constructFallbackResolutionResult(t,o)}const f=await p(t,d,l);y.shallowMergeObject(t.resolutionResult,f);const g=s({},t.inbound.tileResolutionResult);g.startupParameters=t.effectiveParameters;const h=a.getNavigationMode(f,(t.intentParamsPlusAllDefaults[\"sap-ushell-navmode\"]||[])[0],(t.intentParamsPlusAllDefaults[\"sap-ushell-next-navmode\"]||[])[0]);y.shallowMergeObject(g,h);e.debug(\"Tile Intent was resolved to the following target\",JSON.stringify(g,null,3),\"sap.ushell.services.ClientSideTargetResolution\");return g};w.prototype._constructFallbackResolutionResult=async function(t,n){const i={};Object.keys(t.intentParamsPlusAllDefaults).forEach(e=>{if(Array.isArray(t.intentParamsPlusAllDefaults[e])){i[e]=t.intentParamsPlusAllDefaults[e]}});const a=t.mappedDefaultedParamNames||t.defaultedParamNames;if(a.length>0){i[\"sap-ushell-defaultedParameterNames\"]=[JSON.stringify(a)]}e.warning(\"Cannot resolve hash fragment client side\",`${n} has matched an inbound that cannot be resolved client side. Using fallback logic`,\"sap.ushell.services.ClientSideTargetResolution\");const o=await this._resolveHashFragmentWithFallback(n,s({},t.inbound),i);const r={};[\"applicationType\",\"additionalInformation\",\"url\",\"applicationDependencies\",\"text\"].forEach(e=>{if(o.hasOwnProperty(e)){r[e]=o[e]}});return r};w.prototype.getDistinctSemanticObjects=async function(){const e={};const t=await this._oInboundProvider.getInbounds();t.getAllInbounds().forEach(t=>{if(typeof t.semanticObject===\"string\"&&t.semanticObject!==\"*\"&&!t.hideIntentLink&&t.semanticObject.length>0){e[t.semanticObject]=true}});return Object.keys(e).sort()};w.prototype.getLinks=async function(n){let i;if(arguments.length===1&&t(arguments[0])){const e=arguments[0];i=s({},e);[\"action\",\"semanticObject\"].forEach(t=>{if(e.hasOwnProperty(t)){i[t]=e[t]}});if(i.appStateKey){i.params=i.params||{};i.params[\"sap-xapp-state\"]=[i.appStateKey];delete i.appStateKey}}else if(arguments.length<=3){e.warning(\"Passing positional arguments to getLinks is deprecated\",\"Please use nominal arguments instead\",\"sap.ushell.services.ClientSideTargetResolution\");const t=arguments[0];const n=arguments[1];const s=arguments[2];i={semanticObject:t,params:n,ignoreFormFactor:s}}else{throw new Error(\"Invalid arguments for getLinks\")}const a=await this._oInboundProvider.getInbounds();const o=await this._getLinks(i,a);return o};w.prototype._validateGetSemanticObjectLinksArgs=function(t){const n=t.semanticObject;const s=t.action;const i=!t.hasOwnProperty(\"action\");if(typeof n!==\"undefined\"||i){if(typeof n!==\"string\"){e.error(\"invalid input for _getLinks\",`the semantic object must be a string, got ${Object.prototype.toString.call(n)} instead`,\"sap.ushell.services.ClientSideTargetResolution\");return\"invalid semantic object\"}if(i&&n.match(/^\\s+$/)){e.error(\"invalid input for _getLinks\",`the semantic object must be a non-empty string, got '${n}' instead`,\"sap.ushell.services.ClientSideTargetResolution\");return\"invalid semantic object\"}if(!i&&n.length===0){e.error(\"invalid input for _getLinks\",`the semantic object must not be an empty string, got '${n}' instead`,\"sap.ushell.services.ClientSideTargetResolution\");return\"invalid semantic object\"}}if(typeof s!==\"undefined\"){if(typeof s!==\"string\"){e.error(\"invalid input for _getLinks\",`the action must be a string, got ${Object.prototype.toString.call(s)} instead`,\"sap.ushell.services.ClientSideTargetResolution\");return\"invalid action\"}if(s.length===0){e.error(\"invalid input for _getLinks\",`the action must not be an empty string, got '${s}' instead`,\"sap.ushell.services.ClientSideTargetResolution\");return\"invalid action\"}}return undefined};w.prototype._getLinks=async function(t,s){const i=t.semanticObject;const a=t.action;const o=t.params;const r=!!t.withAtLeastOneUsedParam;const l=!!t.treatTechHintAsFilter;const u=t.ignoreFormFactor;const c=t.hasOwnProperty(\"sortResultsBy\")?t.sortResultsBy:\"intent\";if(t.hasOwnProperty(\"sortResultOnTexts\")){e.warning(\"the parameter 'sortResultOnTexts' was experimental and is no longer supported\",`getLinks results will be sorted by '${c}'`,\"sap.ushell.services.ClientSideTargetResolution\")}const d={bExcludeTileInbounds:true};const p=this._validateGetSemanticObjectLinksArgs(t);if(t.tags){d.tags=t.tags}if(p){throw new Error(p)}if(i===\"*\"){return[]}function f(e){const t=v.paramsToString(e);return t?`?${t}`:\"\"}const h=y.getFormFactor();const m=v.parseParameters(f(o));const b={semanticObject:i===\"\"?undefined:i,action:a,formFactor:u?undefined:h,params:m};if(l){b.treatTechHintAsFilter=true}const S=await this._getMatchingInbounds(b,s,d);const w={};const R=S.map(e=>{const s=i||e.inbound.semanticObject;const a=`#${s}-${e.inbound.action}`;let o;if(s===\"*\"){return undefined}if(e.inbound.action===\"*\"){return undefined}if(e.inbound&&e.inbound.hasOwnProperty(\"hideIntentLink\")&&e.inbound.hideIntentLink===true){return undefined}if(!w.hasOwnProperty(a)){w[a]={matchingInbound:e.inbound,count:1};if(e.inbound.signature.additionalParameters===\"ignored\"){o=g.filterObjectKeys(m,t=>t.indexOf(\"sap-\")===0||e.inbound.signature.parameters.hasOwnProperty(t),false)}else{o=m}if(r){const e=Object.keys(o).some(e=>e.indexOf(\"sap-\")!==0);if(!e){w[a].hideReason=\"getLinks called with 'withAtLeastOneUsedParam = true', but the inbound had no business parameters defined.\";return undefined}}const s=g.inboundSignatureMeetsParameterOptions(e.inbound.signature.parameters,t.paramsOptions||[]);if(!s){w[a].hideReason=\"inbound signature does not meet the requested parameter filter options\";return undefined}const i={intent:a+f(o),text:e.inbound.title};if(e.inbound.icon){i.icon=e.inbound.icon}if(e.inbound.subTitle){i.subTitle=e.inbound.subTitle}if(e.inbound.shortTitle){i.shortTitle=e.inbound.shortTitle}const l=n.get(\"inbound.signature.parameters.sap-tag.defaultValue.value\",e);if(l){i.tags=[l]}return i}w[a].count++;return undefined}).filter(e=>typeof e===\"object\");if(c!==\"priority\"){R.sort((e,t)=>e[c]=e.Level.DEBUG){if(e.getLevel()>=e.Level.TRACE){const t=[];const n=[];R.forEach(e=>{const s=e.intent.split(\"?\")[0];const i=w[s];let a=\"\";if(i.hideReason){a=`(${i.hideReason})`}else if(i.count>1){a=`(${i.count-1} others matched)`}const o=`- ${s}${a}\\n text: ${e.text}\\n full intent: ${e.intent}`;if(i.hideReason){n.push(o)}else{t.push(o)}});e.debug(\"_getLinks filtered to the following unique intents:\",`\\n${t.join(\"\\n\")}`,\"sap.ushell.services.ClientSideTargetResolution\");e.debug(\"_getLinks would have also returned the following unique intents, but something prevented this:\",n.join(\"\\n\"),\"sap.ushell.services.ClientSideTargetResolution\")}else{e.debug(\"_getLinks filtered to unique intents.\",`Reporting histogram: \\n - ${Object.keys(w).join(\"\\n - \")}`,\"sap.ushell.services.ClientSideTargetResolution\")}}return R};w.prototype._getMatchingInbounds=async function(t,n,s){let i;let a;let r;let l;if(s){i=s.tags;r=s.bExcludeTileInbounds}if(e.getLevel()>=e.Level.DEBUG){a=++this._iLogId}p.begin(()=>{function e(e){const t=e.action||(typeof e.action===\"undefined\"?\"\":\"\");const n=e.semanticObject||(typeof e.semanticObject===\"undefined\"?\"\":\"\");return v.constructShellHash({semanticObject:n,action:t,params:e.params})}const n=e(t);return{logId:a,title:`Matching Intent '${n}' to inbounds (form factor: ${t.formFactor||\"\"})`,moduleName:\"sap.ushell.services.ClientSideTargetResolution\",stages:[\"STAGE1: Find matching inbounds\",\"STAGE2: Resolve references\",\"STAGE3: Rematch with references\",\"STAGE4: Sort matched targets\"]}});function u(){p.end(()=>({logId:a}))}const c=t.semanticObject;const f=t.action;this._oShellHash=t;const g=i?n.getSegmentByTags(i):n.getSegment(c,f);if(r){l=g.filter(e=>!e.tileResolutionResult||!e.tileResolutionResult.isCustomTile)}else{l=g}let h=null;if(this._oAdapter.getContentProviderDataOriginsLookup){h=this._oAdapter.getContentProviderDataOriginsLookup.bind(this._oAdapter)}const m=await d.match(t,l,{},h,e.getLevel()>=e.Level.DEBUG);p.log(()=>({logId:a,stage:1,prefix:\"✘\",lines:Object.keys(m.noMatchReasons||{}).map(e=>`${e} ${m.noMatchReasons[e]}`)}));p.log(()=>{const e=m.matchResults.map(e=>o.formatInbound(e.inbound));return{logId:a,stage:1,prefix:e.length>0?\"✅\":\"✘\",lines:e.length>0?e:[\"No inbound was matched\"]}});const b={};let y=false;let w=Object.keys(m.missingReferences);w.forEach(e=>{const t=Object.keys(m.missingReferences[e]);y=y||t.length>0;b[e]=t});w=w.filter(e=>{if(b[e].length>0){return true}delete b[e];return false});let R;if(y){try{w.forEach(e=>{p.log(()=>({logId:a,stage:2,line:`@ Must resolve the following references with contentProviderId = \"${e}\":`,prefix:\"•\",lines:b[e]}))});const e=await S.getServiceAsync(\"ReferenceResolver\");const t=await Promise.all(w.map(e=>this.getSystemContext(e)));const n=await Promise.all(w.map((n,s)=>e.resolveReferences(b[n],t[s])));const s={matchResults:m.matchResults,referencesToInclude:{}};w.forEach((e,t)=>{const i=n[t];s.referencesToInclude[e]=i;if(Object.keys(i).length>0){p.log(()=>({logId:a,stage:2,line:`✅ resolved references with contentProviderId = \"${e}\" to the following values:`,prefix:\"•\",lines:Object.keys(i).map(e=>`${e}: '${i[e]}'`)}))}});R=s}catch(e){p.log(()=>({logId:a,stage:2,prefix:\"❌\",line:`Failed to resolve references: ${e}`}));u();return[]}}else{p.log(()=>({logId:a,stage:2,prefix:\"✅\",line:\"No need to resolve references\"}));R={matchResults:m.matchResults,referencesToInclude:null}}let I;if(R.referencesToInclude){const e=R.matchResults;const n=e.map(e=>e.inbound);I=await d.match(t,n,R.referencesToInclude,h,0);p.log(()=>{const e=I.matchResults||[];if(e.length>=1){return{logId:a,stage:3,line:\"The following inbounds re-matched:\",lines:e.map(e=>o.formatInbound(e.inbound)),prefix:\"✅\"}}return{logId:a,stage:3,line:\"No inbounds re-matched\",prefix:\"-\"}})}else{p.log(()=>({logId:a,stage:3,line:\"rematch was skipped (no references to resolve)\",prefix:\"✅\"}));I=R}const P=I.matchResults||[];if(P.length<=1){p.log(()=>({logId:a,stage:4,line:\"Nothing to sort\"}));u();return P}const T=d.sortMatchingResultsDeterministic(I.matchResults||[]);p.log(()=>{const e=T.map(e=>`${o.formatInbound(e.inbound||{})+(e.matchesVirtualInbound?\" (virtual)\":\"\")}\\n[ Sort Criteria ] `+`\\n * 1 * sap-priority: '${e[\"sap-priority\"]}'`+`\\n * 2 * Sort string: '${e.priorityString}\\n * 3 * Deterministic blob: '${d.serializeMatchingResult(e)}'`);return{logId:a,stage:4,line:\"Sorted inbounds as follows:\",lines:e,prefix:\".\",number:true}});u();return T};w.prototype._isIntentSupportedOne=async function(e,t){const n=v.parseShellHash(e);if(e===\"#\"){return true}if(n===undefined){throw new Error(`Could not parse shell hash '${e}'`)}n.formFactor=y.getFormFactor();const s=await this._getMatchingInbounds(n,t,{bExcludeTileInbounds:true});return s.length>0};w.prototype.isIntentSupported=async function(e){const t=await this._oInboundProvider.getInbounds();const n=await this._isIntentSupported(e,t);return n};w.prototype._isIntentSupported=async function(e,t){const n={};await Promise.all(e.map(async e=>{try{const s=await this._isIntentSupportedOne(e,t);n[e]={supported:s}}catch(e){throw new Error(`One or more input intents contain errors: ${e}`)}}));return n};w.prototype.getUserDefaultParameterNames=async function(e){const t=await this._oInboundProvider.getInbounds();const n=await this._getUserDefaultParameterNames(t.getAllInbounds(),e);return n};w.prototype._getUserDefaultParameterNames=function(e,t){const n={simple:{},extended:{}};e=e.filter(e=>{if(e.contentProviderId===undefined&&t.id===\"\"){return true}return e.contentProviderId===t.id});return S.getServiceAsync(\"ReferenceResolver\").then(t=>{e.forEach(e=>{const s=e.signature&&e.signature.parameters||[];Object.keys(s).forEach(e=>{const i=s[e];let a;if(i){if(i.filter&&i.filter.format===\"reference\"){a=i.filter.value}else if(i.defaultValue&&i.defaultValue.format===\"reference\"){a=i.defaultValue.value}if(typeof a===\"string\"){const e=t.extractUserDefaultReferenceName(a);if(typeof e===\"string\"){n.simple[e]={}}const s=t.extractExtendedUserDefaultReferenceName(a);if(typeof s===\"string\"){n.extended[s]={}}}}})});return n})};w.prototype.getEasyAccessSystems=function(e){e=e||\"sapMenu\";if(!this._oHaveEasyAccessSystemsDeferreds[e]){this._oHaveEasyAccessSystemsDeferreds[e]=this._getEasyAccessSystems(e)}return this._oHaveEasyAccessSystemsDeferreds[e]};w.prototype._getEasyAccessSystems=async function(s){const a={};const r=i.getEasyAccessMenuDefinitions().reduce((e,t)=>{const n=t.easyAccessMenu.intent.split(\"-\")[1];e[n]={appType:t.type,priority:t.easyAccessMenu.systemSelectionPriority};return e},{});let l;switch(s){case\"userMenu\":l=i.getEasyAccessMenuDefinitions().reduce((e,t)=>{const n=t.easyAccessMenu.intent;e[n]=t.easyAccessMenu.showSystemSelectionInUserMenu;return e},{});break;case\"sapMenu\":l=i.getEasyAccessMenuDefinitions().reduce((e,t)=>{const n=t.easyAccessMenu.intent;e[n]=t.easyAccessMenu.showSystemSelectionInSapMenu;return e},{});break;default:throw new Error(`Invalid menu type: '${s}'`)}const u=await this._oInboundProvider.getInbounds();const c={};const d=y.getFormFactor();u.getAllInbounds().filter(e=>{if(!e){return false}const t=[e.semanticObject,e.action].join(\"-\");return l[t]&&e.deviceTypes&&d!==undefined&&e.deviceTypes[d]}).forEach(s=>{let i;if(t(s.signature.parameters[\"sap-system\"])&&s.signature.parameters[\"sap-system\"].hasOwnProperty(\"filter\")){i=n.get(\"signature.parameters.sap-system.filter.value\",s)}if(typeof i===\"string\"){const e=r[s.action].priority;const t=r[s.action].appType;if(!a[i]){c[i]=-1;a[i]={appType:{}}}if(c[i]{\"use strict\";function e(e){const n=e||{};const t=n.parameters||{};const r={optional:\"[FORMAT]\",required:\"FORMAT\"};const o={regexp:\"/VALUE/\",reference:\"@VALUE@\",value:\"VALUE\",plain:\"VALUE\",_unknown:\"?VALUE?\"};const a={allowed:\"<+>\",notallowed:\"<->\",ignored:\"\",_unknown:\"\"};const u=t&&Object.prototype.toString.apply(t)===\"[object Object]\"&&Object.keys(t).length>0;if(!u){return`${a[n.additionalParameters]||a._unknown}`}const s=[];Object.keys(t).forEach(e=>{const n=t[e];const a=n.required?\"required\":\"optional\";const u=n.filter&&n.filter.value;const c=n.defaultValue&&n.defaultValue.value;const i=n.filter&&n.filter.format||\"plain\";const l=n.defaultValue&&n.defaultValue.format||\"plain\";const f=[];const p=o[i]||o._unknown;const d=o[l]||o._unknown;if(u){f.push(r.required.replace(\"FORMAT\",p.replace(\"VALUE\",u)))}if(c){f.push(r.optional.replace(\"FORMAT\",d.replace(\"VALUE\",c)))}s.push(r[a].replace(\"FORMAT\",`${e}:${f.join(\"\")}`))});return s.join(\",\")+(a[n.additionalParameters]||a._unknown)}function n(n){return`#${n.semanticObject}-${n.action}{${e(n.signature)}}`}function t(e){function n(e){const n=[{re:new RegExp(/^[/](.+)[/]$/),format:\"regexp\"},{re:new RegExp(/^[@](.+)[@]$/),format:\"reference\"},{re:new RegExp(/^[?](.+)[?]$/),format:\"???\"}].reduce((n,t)=>{const r=e.match(t.re);if(n){return n}if(!r){return null}return{format:t.format,value:r[1]}},null);if(n){return n}return{value:e}}function t(e){let t;let r;let o;const a=\"\";const u=\"[^\\\\]\\\\[]\";const s=`(${u}+?):(${u}*)(.*)`;const c=`\\\\[${s}\\\\]`;const i=`${a}|${c}|${s}`;const l=new RegExp(`^${i}$`);const f={success:false,name:null,value:{}};const p=e.match(l);if(!p){return f}const d=p.shift();while(p.length>0){o=p.shift();r=p.shift();t=p.shift();if(o){f.name=o;if(r){f.value.filter=n(r)}if(t){f.value.defaultValue=n(t.replace(/\\[(.+)\\]/,\"$1\"))}f.value.required=d.charAt(0)!==\"[\"}}f.success=true;return f}function r(e){return[{\"<+>\":\"allowed\"},{\"<->\":\"notallowed\"},{\"\":\"ignored\"}].reduce((n,t,r,o)=>{if(n){return n}const a=Object.keys(t)[0];if(e===a){return t[a]}return null},null)}function o(e){const n=[];e.split(\":\").reduce((e,t,r,o)=>{let a;let u;let s;if(r===0){return t}if(r1){u=s.pop();a=s.join(\",\")}else{return`${e}:${t}`}}else{a=t}n.push([e,a].join(\":\"));return u},\"\");return n}const a={parameters:{}};const u=e.substr(e.length-3,3);const s=!!u.match(/<[?o+-]>/);let c=e;if(s){c=e.substr(0,e.length-3)}const i=o(c);i.forEach(n=>{const r=t(n);if(!r.success){throw new Error(`Cannot parse parameters from ${e}`)}if(r.name){a.parameters[r.name]=r.value}});if(s){const e=r(u);if(e){a.additionalParameters=r(u)}}else{a.additionalParameters=\"ignored\"}return a}function r(e){const n=e.match(/^#(.+?)-(.+?)({(.+)})?$/);if(!n){throw new Error(\"Cannot parse inbound\")}const r={semanticObject:n[1],action:n[2],signature:{parameters:{}}};if(!n[3]){return r}r.signature=t(n[4]);return r}return{formatInboundSignature:e,parseInboundSignature:t,parseInbound:r,formatInbound:n}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/InboundIndex\", [\"sap/base/util/ObjectPath\",\"sap/base/Log\"],(e,n)=>{\"use strict\";function t(){return this.index.all}function i(e){if(e===\"*\"||e===undefined){return this.index.all}return(this.index.segment[e]||[]).concat(this.index.always)}function a(e){return e.map(function(e){return this.index.tag[e]||[]},this).reduce((e,n)=>{Array.prototype.push.apply(e,n.filter(e=>e.isAlreadyInUnion?false:e.isAlreadyInUnion=true));return e},[]).map(e=>{delete e.isAlreadyInUnion;return e})}const r={getSegment:i,getAllInbounds:t,getSegmentByTags:a};function s(n,t){const i=e.get(\"signature.parameters.sap-tag.defaultValue.value\",n);if(!i){return}if(!t.tag[i]){t.tag[i]=[]}t.tag[i].push(n)}function u(e,n){const t=e.semanticObject;if(t===\"*\"){n.always.push(e)}else{if(!n.segment[t]){n.segment[t]=[]}n.segment[t].push(e)}}function d(e){const t={all:e,segment:{},always:[],tag:{}};e.forEach((e,i)=>{if(!e){n.warning(\"Void inbound provided to indexer\",\"the inbound will be skipped\");return}s(e,t);u(e,t)});r.index=t;return r}return{createIndex:d,private:{tagInbound:s,createIndex:d,segmentInbound:u}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/InboundProvider\", [\"sap/ushell/services/ClientSideTargetResolution/VirtualInbounds\",\"sap/ushell/services/ClientSideTargetResolution/InboundIndex\",\"sap/ushell/utils\"],(n,e,t)=>{\"use strict\";function i(){this._init.apply(this,arguments)}i.prototype._init=function(n){this._fnRetrieveInbounds=n;this._oInboundsRetrievalPromise=null};i.prototype.getInbounds=function(n){if(n){return this._getSomeInbounds(n)}return this._getAllInbounds()};i.prototype._getSomeInbounds=async function(i){const s=await t.promisify(this._fnRetrieveInbounds(i));return e.createIndex(s.concat(n.getInbounds()))};i.prototype._getAllInbounds=function(){if(!this._oInboundsRetrievalPromise){this._oInboundsRetrievalPromise=t.promisify(this._fnRetrieveInbounds()).then(t=>e.createIndex((t||[]).concat(n.getInbounds())))}return this._oInboundsRetrievalPromise};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/ParameterMapping\", [\"sap/base/Log\"],e=>{\"use strict\";function a(e,a,r){if(!r||!Array.isArray(r)){return e}if(a&&a.parameters&&a.parameters[e]&&a.parameters[e].renameTo){return a.parameters[e].renameTo}return e}function r(r){const t={};const s=r.intentParamsPlusAllDefaults;Object.keys(s).sort().forEach(n=>{const i=a(n,r.inbound.signature,s[n]);if(Array.isArray(r.intentParamsPlusAllDefaults[n])){if(t[i]){e.error(`collision of values during parameter mapping : \"${n}\" -> \"${i}\"`)}else{t[i]=r.intentParamsPlusAllDefaults[n]}}});r.mappedIntentParamsPlusSimpleDefaults=t}return{mapParameterNamesAndRemoveObjects:r,getRenameParameterName:a}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/fe/navigation/SelectionVariant\",\"sap/ushell/utils\",\"sap/ushell/Container\"],(e,t,r,a,n)=>{\"use strict\";const i=\"sap.ushell.services.ClientSideTargetResolution.PrelaunchOperations\";async function s(e){if(!e){return null}return n.getServiceAsync(\"AppState\").then(t=>new Promise((r,a)=>{t.getAppState(e).done(e=>{r(e)}).fail(e=>{a(e)})}))}async function o(e,t,r,i,s){if(e.startupParametersModified){t.mappedIntentParamsPlusSimpleDefaults=i}if(e.defaultedParameterNamesModified){t.mappedDefaultedParamNames=s}if(e.selectionVariantModified){const e=await n.getServiceAsync(\"AppState\");const i=e.createEmptyAppState(undefined,true);i.setData({selectionVariant:r.toJSONObject()});await a.promisify(i.save());t.mappedIntentParamsPlusSimpleDefaults[\"sap-xapp-state\"]=[i.getKey()]}return Promise.resolve(t)}function l(e){const t=e.type;switch(t){case\"merge\":case\"split\":return`${t} - source: ${e.source} & target: ${e.target}`;case\"delete\":return`${t} - target: ${e.target}`;default:return\"\"}}function u(e,t){if(t.getSelectOption(e)){return t.getSelectOption(e)[0].Low}return undefined}function c(e,t){if(t.getSelectOption(e)){return t.getSelectOption(e)[0].High}return undefined}function d(e,t){if(t[e]){return t[e][0]}return undefined}function p(e,t,r){const a=e.source[0];const n=e.source[1];const i=u(a,t);const s=u(n,t);const o=d(a,r);const l=d(n,r);let c;let p;const f=e.target;function m(e,t){if(t===undefined||e===t){return e}return undefined}if(i&&s){c=m(i,o);p=m(s,l)}else if(o&&l){c=m(o,i);p=m(l,s)}if(c&&p&&!t.getSelectOption(f)&&!r.hasOwnProperty(f)){t.addSelectOption(f,\"I\",\"BT\",c,p);return{selectionVariantModified:true,startupParametersModified:false,defaultedParameterNamesModified:false}}return{}}function f(t,r,a){const n=t.target;const i=t.source;if(!r.getSelectOption(i)){e.error(`Invalid split operation: ${i} does not exist in selection variant`);return false}if(r.getSelectOption(n[0])){e.error(`Invalid split operation: ${n[0]} already exists in selection variant`);return false}if(r.getSelectOption(n[1])){e.error(`Invalid split operation: ${n[1]} already exists in selection variant`);return false}if(a[n[0]]){e.error(`Invalid split operation: ${n[0]} already exists in startup parameters`);return false}if(a[n[1]]){e.error(`Invalid split operation: ${n[1]} already exists in startup parameters`);return false}return true}function m(e,t,r){const a=e.target;const n=e.source;const i=f(e,t,r);if(i){const e=u(n,t);const i=c(n,t);t.addSelectOption(a[0],\"I\",\"EQ\",e,null);r[a[0]]=[e];t.addSelectOption(a[1],\"I\",\"EQ\",i||e,null);r[a[1]]=[i||e];return{selectionVariantModified:true,startupParametersModified:true,defaultedParameterNamesModified:false}}return{}}function g(t,r,a,n){const i=t.target;const s={selectionVariantModified:false,startupParametersModified:false,defaultedParameterNamesModified:false};for(let t=0;t-1){n.splice(l,1);s.defaultedParameterNamesModified=true}}return s}function y(t){let r;if(t===\"\"){return[]}t=t.replaceAll(\"“\",'\"');t=t.replaceAll(\"”\",'\"');try{r=JSON.parse(t)}catch(t){e.error(\"Cannot parse operation array: sap-prelaunch-operations should be in json format.\");return[]}if(!Array.isArray(r)){e.error(\"Invalid operation array: sap-prelaunch-operations should be an array.\");return[]}return r}function P(t){if(t.length===0){return null}const r={split:true,merge:true,delete:true};const a=t.filter(e=>!r[e.type]);if(a.length>0){e.error(`Invalid operation: the following sap-prelaunch-operations are invalid: ${a.join(\", \")}`);return null}const n=t.some(e=>e.type===\"split\"&&e.target[0]===e.target[1]);if(n){e.error(\"Invalid operation: split operation contains the same target value. Use two different target values instead.\");return null}const i=t.some(e=>{if(e.type===\"split\"){return!e.hasOwnProperty(\"source\")||!e.hasOwnProperty(\"target\")||typeof e.source!==\"string\"||!Array.isArray(e.target)||Object.keys(e).length!==3||Object.keys(e.target).length!==2}if(e.type===\"merge\"){return!e.hasOwnProperty(\"source\")||!e.hasOwnProperty(\"target\")||typeof e.target!==\"string\"||!Array.isArray(e.source)||Object.keys(e).length!==3||Object.keys(e.source).length!==2}if(e.type===\"delete\"){return!e.hasOwnProperty(\"target\")||!Array.isArray(e.target)||Object.keys(e).length!==2}});if(i){e.error(\"Invalid operation: one or more operations are specified in an incorrect format.\");return null}return t}function h(e){const t=y(e);return P(t)}function O(t,r,a,n){const s=e.getLevel()>=e.Level.DEBUG?[]:null;const o={selectionVariantModified:false,startupParametersModified:false};r.forEach(r=>{let i={};switch(r.type){case\"split\":i=m(r,t,a);break;case\"merge\":i=p(r,t,a);break;case\"delete\":i=g(r,t,a,n);break;default:e.error(`Invalid operation: ${r.type} prelaunch operation type is not supported`)}if(s){const e=Object.keys(i).length!==0?\"✅\":\"❌\";s.push(`${e} ${l(r)}`)}if(Object.keys(i).length===0){e.warning(`Cannot execute ${l(r)}`)}o.selectionVariantModified=o.selectionVariantModified||i.selectionVariantModified;o.startupParametersModified=o.startupParametersModified||i.startupParametersModified;o.defaultedParameterNamesModified=o.defaultedParameterNamesModified||i.defaultedParameterNamesModified});if(s){e.debug(`${i}\\n${s.join(\"\\n\")}`)}return o}function v(e,a){if(!a){return Promise.resolve(e)}const n=e.mappedIntentParamsPlusSimpleDefaults;const i=e.mappedDefaultedParamNames;const l=n[\"sap-xapp-state\"]&&n[\"sap-xapp-state\"][0];const u=h(a);if(!u||u.length===0){return Promise.resolve(e)}return s(l).then(a=>{const s=a?a.getData():{};const l=t({},n);const c=t([],i);let d;if(s.selectionVariant){d=new r(JSON.stringify(s.selectionVariant))}else{d=new r}const p=O(d,u,l,c);return o(p,e,d,l,c)})}return{executePrelaunchOperations:v,parseAndValidateOperations:h}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/Search\", [\"sap/ushell/utils\",\"sap/ushell/services/ClientSideTargetResolution/Utils\",\"sap/ushell/services/ClientSideTargetResolution/VirtualInbounds\",\"sap/ushell/services/ClientSideTargetResolution/Formatter\",\"sap/ushell/TechnicalParameters\",\"sap/base/Log\"],(e,t,n,r,a,i)=>{\"use strict\";const s=[undefined,\"GUI\",\"WDA\",\"UI5\"];function o(e,t){const n=e.inbound.resolutionResult;if(!n){return\"\"}return[\"applicationType\",\"ui5ComponentName\",\"url\",\"additionalInformation\",\"text\"].map(e=>{if(t){return n.hasOwnProperty(e)?`${e}:${n[e]}`:\"\"}return n.hasOwnProperty(e)?n[e]:\"\"}).join(\"\")}function u(e){return e.sort((e,t)=>{if((e[\"sap-priority\"]||0)-(t[\"sap-priority\"]||0)!==0){return-((e[\"sap-priority\"]||0)-(t[\"sap-priority\"]||0))}if(e.priorityStringt.priorityString){return-1}const n=o(e);const r=o(t);if(nr){return-1}return 0})}function l(e,t){let n;if(e&&e[\"sap-priority\"]&&e[\"sap-priority\"][0]){n=parseInt(e[\"sap-priority\"][0],10);if(!isNaN(n)){t[\"sap-priority\"]=n}}return}function c(e,t,n,r){if(!t){return true}if(!e&&e!==\"\"){return false}const a=t.value;if(t.format===\"reference\"){if(/UserDefault\\.extended\\./.test(a)){i.error(`Illegal inbound: extended user default '${a}' used as filter`);return false}if(n.hasOwnProperty(a)){return e===n[a]}r[a]=true;return true}if(t.format===\"value\"||t.format===\"plain\"||t.format===undefined){return e===t.value}else if(t.format===\"regexp\"){return!!e.match(`^${t.value}$`)}i.error(\"Illegal oFilter format\");return false}function f(e){return e.inbound&&e.inbound.resolutionResult&&e.inbound.resolutionResult[\"sap.ui\"]&&e.inbound.resolutionResult[\"sap.ui\"].technology}function d(e){return e.inbound&&e.inbound.resolutionResult&&e.inbound.resolutionResult.appId}function p(e,t,n,r,a){const i={};const s={};Object.keys(e).forEach(t=>{if(t!==\"sap-ushell-defaultedParameterNames\"){i[t]=e[t]}});if(!t){return i}Object.keys(t).forEach(e=>{const a=t[e];let o;let u=false;if(!i[e]&&a.hasOwnProperty(\"defaultValue\")){if(a.defaultValue.format&&a.defaultValue.format===\"reference\"){o=a.defaultValue.value;if(n.hasOwnProperty(o)){if(typeof n[o]===\"string\"){i[e]=[n[o]];u=true}else if(typeof n[o]===\"object\"){i[e]=n[o];u=true}}else{i[e]=[a.defaultValue];r.push(a.defaultValue.value)}}else{i[e]=[a.defaultValue.value];u=true}if(u){s[e]=true}}});Object.keys(s).sort().forEach(e=>{a.push(e)});return i}function m(e,t){e.resolutionResult={contentProviderId:t.contentProviderId};if(t&&t.resolutionResult&&t.resolutionResult.hasOwnProperty(\"sap.platform.runtime\")){e.resolutionResult[\"sap.platform.runtime\"]=t.resolutionResult[\"sap.platform.runtime\"]}Object.keys(e.intentParamsPlusAllDefaults).slice(0).forEach(t=>{if(!Array.isArray(e.intentParamsPlusAllDefaults[t])){if(!e.resolutionResult.oNewAppStateMembers){e.resolutionResult.oNewAppStateMembers={}}e.resolutionResult.oNewAppStateMembers[t]=e.intentParamsPlusAllDefaults[t]}})}function h(e,t){e.forEach(e=>{t[e]=true})}function P(e){const t=e.intentParamsPlusAllDefaults[\"sap-ui-tech-hint\"]&&e.intentParamsPlusAllDefaults[\"sap-ui-tech-hint\"][0];const n=e.defaultedParamNames&&e.defaultedParamNames.indexOf(\"sap-ui-tech-hint\")>=0;if(t&&f(e)===t){return n?1:2}return 0}function g(e){const t=e.intentParamsPlusAllDefaults[\"sap-ui-app-id-hint\"]&&e.intentParamsPlusAllDefaults[\"sap-ui-app-id-hint\"][0];if(t&&t===d(e)){return 1}return 0}function y(e){const t=f(e);const n=s.indexOf(t);return Math.max(0,n)}function b(e,t){function n(e){const t=`000${e}`;return t.substr(t.length-3)}return[`AIDM=${g(e)}`,`CURCP=${t.isCurrentContentProvider?\"1\":\"0\"}`,e.genericSO?\"g\":\"x\",`TECM=${P(e)}`,`MTCH=${n(t.countMatchingParams)}`,`MREQ=${n(t.countMatchingRequiredParams)}`,`NFIL=${n(t.countMatchingFilterParams)}`,`NDEF=${n(t.countDefaultedParams)}`,`POT=${n(t.countPotentiallyMatchingParams)}`,`RFRE=${n(999-t.countFreeInboundParams)}`,`TECP=${y(e)}`].join(\" \")}function R(e,t){let n=false;if(e.signature.additionalParameters===\"allowed\"||e.signature.additionalParameters===\"ignored\"){return true}if(e.signature.additionalParameters===\"notallowed\"||e.signature.additionalParameters===undefined){n=Object.keys(t).every(t=>!(!e.signature.parameters[t]&&t.indexOf(\"sap-\")!==0))}else{i.error(\"Unexpected value of inbound for signature.additionalParameters\")}return n}function O(e,t,n,r,i){const s=e.signature.parameters;let o=0;let u=0;let l=0;let c=0;let f=false;const d={};function p(e){return!a.isTechnicalParameter(e)}const m=Object.keys(n).filter(p);const h=r.filter(p);Object.keys(s).filter(p).forEach(e=>{const r=t[e];const a=r&&r[0];const i=s[e];const f=n.hasOwnProperty(e);if(f){++o;if(i.filter){++l}if(i.required){++u}}else if(a===null||a===undefined){++c}});if(i){d.countPotentiallyMatchingParams=m.filter(e=>s.hasOwnProperty(e)).length}else{d.countPotentiallyMatchingParams=m.length}if(n&&n[\"sap-app-origin-hint\"]&&(n[\"sap-app-origin-hint\"][0]||n[\"sap-app-origin-hint\"][0]===\"\")){const t=n[\"sap-app-origin-hint\"][0];f=t===e.contentProviderId}d.countDefaultedParams=h.length;d.countMatchingParams=o;d.countMatchingRequiredParams=u;d.countMatchingFilterParams=l;d.countFreeInboundParams=c;d.isCurrentContentProvider=f;return d}function I(e,t,n,r,a,i){const s=Object.keys(e).every(n=>{const r=t[n];const s=r&&r[0];const o=e[n];if(o.required&&(s===null||s===undefined)){return false}if(o.filter){if(!c(s,o.filter,a,i)){return false}}return true});return s}function $(e,a,i,s,o){const u={inbound:a};function c(e,t,n){e.matches=false;e.noMatchReason=t;e.noMatchDebug=n;return e}function d(t){t.matches=true;t.matchesVirtualInbound=n.isVirtualInbound(a);t.parsedIntent=e;return t}const P=a.semanticObject===\"*\";u.genericSO=P;const g=e.semanticObject===undefined||e.semanticObject===a.semanticObject||P;if(!g){return c(u,`Semantic object \"${e.semanticObject}\" did not match`)}const y=e.action===undefined||e.action===a.action;if(!y){return c(u,`Action \"${e.action}\" did not match`)}const $=!a.deviceTypes||e.formFactor===undefined||a.deviceTypes[e.formFactor];if(!$){return c(u,`Form factor \"${e.formFactor}\" did not match`,`Inbound: [${Object.keys(a.deviceTypes).filter(e=>!!a.deviceTypes[e]).join(\", \")}]`)}const M=e.params&&e.params[\"sap-ui-tech-hint\"]&&e.params[\"sap-ui-tech-hint\"][0];if(e.treatTechHintAsFilter&&M){const e=f({inbound:a});if(e!==M){return c(u,`Tech Hint as filter \"${M}\" did not match`,`Inbound: [${e}]`)}}const v=[];const D=[];const j=e.params||{};const A=p(j,a.signature&&a.signature.parameters,i,v,D);const w=A[\"sap-system\"]&&A[\"sap-system\"][0];const S=A[\"sap-app-origin\"]&&A[\"sap-app-origin\"][0];const T=a.contentProviderId;if(S&&S!==T){return c(u,`Content provider as filter \"${S}\" did not match`,`Inbound: [${T}]`)}if(w&&typeof T===\"string\"&&o&&!o[w]){return c(u,`Data origin \"${w}\" is not compatible with the content provider \"${T}\"`,`Inbound: [${Object.keys(o).join(\", \")}]`)}u.intentParamsPlusAllDefaults=A;u.defaultedParamNames=D;l(A,u);const F=I(a.signature.parameters,A,j,D,i,s);if(!F){return c(u,\"Inbound parameter signature did not match\",r.formatInboundSignature(a.signature))}const C=t.constructParameterDominatorMap(a.signature.parameters);const N=t.findDominatedDefaultParameters(A,D,C);const x=D.filter(e=>!N[e]);const E=t.filterObjectKeys(A,e=>!N[e]);if(!R(a,E)){return c(u,\"Additional parameters not allowed\",r.formatInboundSignature(a.signature))}const k=a.signature.additionalParameters===\"ignored\";if(k){t.filterObjectKeys(E,e=>{if(e.indexOf(\"sap-\")===0){return true}if(a.signature.parameters.hasOwnProperty(e)){return true}return false},true)}const V=O(a,A,j,D,k);m(u,a);u.intentParamsPlusAllDefaults=E;u.defaultedParamNames=x;u.priorityString=b(u,V);h(v,s);return d(u)}async function M(t,n,a,i,s){function o(e,t,n){const a=r.formatInbound(n);e[a]=t.noMatchReason+(t.noMatchDebug?`| DEBUG: ${t.noMatchDebug}`:\"\")}let u;if(i){u=await e.promisify(i())}const l=n.reduce((e,n)=>{const r=n.contentProviderId||\"\";const i=a[r]||{};if(!e.missingReferences[r]){e.missingReferences[r]={}}const l=$(t,n,i,e.missingReferences[r],u?u[r]:null);if(l.matches){e.matchResults.push(l)}else if(s){o(e.noMatchReasons,l,n)}return e},{matchResults:[],noMatchReasons:{},missingReferences:{}});return l}return{match:M,matchOne:$,sortMatchingResultsDeterministic:u,matchesFilter:c,checkAdditionalParameters:R,addDefaultParameterValues:p,extractSapPriority:l,serializeMatchingResult:o}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/StagedLogger\", [\"sap/base/Log\"],e=>{\"use strict\";const n={};function o(e){const o=e();if(!o.hasOwnProperty(\"logId\")){throw new Error(\"'logId' argument was not provided in #begin method of StagedLogger.\")}const t=o.logId;if(n[t]){throw new Error(`'cannot call #begin twice with same log id: '${t}'`)}else{n[t]={}}const l=n[t];l.title=o.title||null;l.moduleName=o.moduleName||null;function r(e,n){if(n===1){return e}return r(e,n-1)+e}l.stages=o.stages.map(e=>[e,r(\"-\",e.length)]);return t}function t(e){let o;let t;const l=e();if(!l.hasOwnProperty(\"logId\")){throw new Error(\"'logId' argument was not provided in #log method of StagedLogger.\")}const r=l.logId;const g=l.stage;t=l.prefix;const i=l.lines;o=l.line;const s=l.number;if(!i&&o&&t){o=`${t} ${o}`}const a=n[r].stages[g-1];if(o){a.push(o)}if(i){if(t){t=(o?\" \":\"\")+t}const e=i.map((e,n)=>(s?n+1:\"\")+(t?`${t} `:\"\")+e);a.push.apply(a,e)}}function l(o){const t=o();if(!t.hasOwnProperty(\"logId\")){throw new Error(\"'logId' argument was not provided in #log method of StagedLogger.\")}const l=t.logId;const r=n[l];if(typeof r!==\"object\"){throw new Error(\"Logger .end was called on an already ended logger\")}const g=r.stages.map(e=>e.join(\"\\n\")).join(\"\\n\\n\");e.debug(`[REPORT #${l}] ${r.title}`,`\\n${g}\\n`,r.moduleName);delete n[l]}function r(){return n}return{begin:function(){if(e.getLevel()>=e.Level.DEBUG){o.apply(null,arguments)}},log:function(){if(e.getLevel()>=e.Level.DEBUG){t.apply(null,arguments)}},end:function(){if(e.getLevel()>=e.Level.DEBUG){l.apply(null,arguments)}},_getLogs:r}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/SystemContext\", [\"sap/base/util/ObjectPath\",\"sap/ui/thirdparty/URI\"],(t,e)=>{\"use strict\";const r={};r._getProtocol=function(){return new e(window.location.toString()).protocol()};r.createSystemContextFromSystemAlias=function(r){return{id:r.id,label:r.label||r.id,getFullyQualifiedXhrUrl:function(i){const n=new e(i).protocol();if(n===\"http\"||n===\"https\"){return i}const o=this._getProtocol();let s=\"\";if(o===\"https\"){s=t.get(\"https.xhr.pathPrefix\",r)||\"\"}else if(o===\"http\"){s=t.get(\"http.xhr.pathPrefix\",r)||\"\"}if(s){if(i.indexOf(\"dynamic_dest\")>-1){return i}return e.joinPaths(s,i).query(new e(i).query()).href()}return i}.bind(this),getProperty:function(e){const i=t.get(\"properties\",r)||{};return i[e]}}};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/Utils\", [\"sap/base/util/deepExtend\"],e=>{\"use strict\";function t(e,t,n){const r={};t.forEach(o=>{const c=n[o].dominatedBy;const s=c.some(n=>{const r=!!e[n];const c=n!==o;const s=t.indexOf(n)===-1;return r&&s&&c});if(s){r[o]=true}});return r}function n(e){const t={};const n={};Object.keys(e).forEach(r=>{const o=e[r].renameTo||r;n[o]=n[o]||{renameTo:o,dominatedBy:[]};n[o].dominatedBy.push(r);n[o].dominatedBy=n[o].dominatedBy.sort();t[r]=n[o]});return t}function r(t,n,r){const o=r?t:e({},t);Object.keys(o).forEach(e=>{if(n(e)===false){delete o[e]}});return o}function o(e,t){const n=Object.keys(e).reduce((n,r)=>{const o=e[r];if(t(r,o)){n[r]=o}return n},{});return n}function c(e,t){return t.every(t=>{const n=t.name;const r=t.options;const o=e[n];return Object.keys(r).every(e=>{const t=r[e];if(e===\"required\"){return!!(o||{}).required===t}return false})})}function s(e,t){const n={};e.forEach(e=>{if(t[e]){n[e]=t[e];delete t[e]}});return n}return{inboundSignatureMeetsParameterOptions:c,filterObjectKeys:r,filterObject:o,constructParameterDominatorMap:n,findDominatedDefaultParameters:t,extractParameters:s}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/VirtualInbounds\", [],()=>{\"use strict\";const e={};const a=[{hideIntentLink:true,semanticObject:\"Action\",action:\"search\",deviceTypes:{desktop:true,tablet:true,phone:true},signature:{parameters:{},additionalParameters:\"notallowed\"},resolutionResult:{applicationType:\"SAPUI5\",ui5ComponentName:\"sap.ushell.renderer.search.searchComponent\",additionalInformation:\"SAPUI5.Component=sap.ushell.renderer.search.searchComponent\",url:sap.ui.require.toUrl(\"sap/ushell/renderer/search/searchComponent\"),loadCoreExt:true,loadDefaultDependencies:false}},{hideIntentLink:true,semanticObject:\"FLPPageTemplate\",action:\"manage\",deviceTypes:{desktop:true,tablet:false,phone:false},signature:{parameters:{pageTemplateId:{required:false,defaultValue:{value:\"\"}}},additionalParameters:\"ignored\"},resolutionResult:{applicationType:\"URL\",ui5ComponentName:\"nw.core.flp.pagecomposer.conf\",additionalInformation:\"SAPUI5.Component=nw.core.flp.pagecomposer.conf\",url:\"/sap/bc/ui5_ui5/sap/sui_paget_man\",applicationDependencies:{manifest:\"/sap/bc/lrep/content/apps/nw.core.flp.pagecomposer.conf/app/sap/sui_paget_man/manifest.appdescr\",name:\"nw.core.flp.pagecomposer.conf\",self:{name:\"nw.core.flp.pagecomposer.conf\",url:\"/sap/bc/ui5_ui5/sap/sui_paget_man\"},asyncHints:{libs:[{name:\"nw.core.flp.transport.cust\",url:{final:false,url:\"/sap/bc/ui5_ui5/sap/sui_tr_cust\"}}]}},async:true,loadDefaultDependencies:false}}];e.isVirtualInbound=function(e){return a.some(a=>a===e)};e.getInbounds=function(){return a};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing\", [\"sap/ushell/services/ClientSideTargetResolution/Utils\",\"sap/base/util/ObjectPath\",\"sap/base/util/isEmptyObject\",\"sap/base/util/isPlainObject\",\"sap/fe/navigation/SelectionVariant\",\"sap/base/Log\",\"sap/ushell/utils\"],(e,t,a,n,r,s,i)=>{\"use strict\";function o(e){return e.oNewAppStateMembers&&!a(e.oNewAppStateMembers)}function u(e){return e.inbound&&e.inbound.signature&&e.inbound.signature.parameters&&Object.keys(e.inbound.signature.parameters).some(t=>!!e.inbound.signature.parameters[t].renameTo)}function l(e){e.defaultedParamNames=e.defaultedParamNames.filter(t=>{if(e.intentParamsPlusAllDefaults[t]&&!Array.isArray(e.intentParamsPlusAllDefaults[t])){if(!(e.resolutionResult.oNewAppStateMembers&&e.resolutionResult.oNewAppStateMembers[t])){return false}}return true})}function m(e){const a=t.get(\"inbound.signature.parameters\",e)||{};const n={};e.defaultedParamNames.forEach(e=>{const t=a[e]&&a[e].renameTo||e;if(n[t]){s.error(`renaming of defaultedParamNames creates duplicates${e}->${t}`)}else{n[t]=true}});e.mappedDefaultedParamNames=Object.keys(n).sort()}function c(e){l(e);m(e);delete e.resolutionResult.oNewAppStateMembers}async function p(e,t){const a=await i.promisify(e.getAppState(t));return a.getData()}function d(e){return e===undefined||n(e)}function f(e,t){return Array.isArray(e)&&e.some(e=>t.indexOf(e)!==-1)}function g(e,t){if(e&&e.selectionVariant){const a=new r(JSON.stringify(e.selectionVariant));const n=a.getSelectOptionsPropertyNames()||[];const s=a.getParameterNames()||[];if(f(n,t)||f(s,t)){return true}}return false}function P(e,t,a,n){const i=new r;const o=e.getParameterNames()||[];const u=e.getSelectOptionsPropertyNames()||[];let l;let m;o.forEach(r=>{l=e.getParameter(r);if(n&&!a[r]){t.deleted=true;return}if(a[r]&&a[r].renameTo){if(i.getParameter(a[r].renameTo)===undefined&&i.getSelectOption(a[r].renameTo)===undefined){i.addParameter(a[r].renameTo,l);t.changed=true}else{s.error(`renaming of appstate creates duplicates ${r}->${a[r].renameTo}`)}}else if(i.getParameter(r)===undefined&&i.getSelectOption(r)===undefined){i.addParameter(r,l)}});u.forEach(r=>{m=e.getSelectOption(r);if(n&&!a[r]){t.deleted=true;return}if(a[r]&&a[r].renameTo){if(i.getSelectOption(a[r].renameTo)===undefined&&i.getParameter(a[r].renameTo)===undefined){i.massAddSelectOption(a[r].renameTo,m);t.changed=true}else{s.error(`renaming of appstate creates duplicates ${r}->${a[r].renameTo}`)}}else if(i.getSelectOption(r)===undefined&&i.getParameter(r)===undefined){i.massAddSelectOption(r,m)}});o.forEach(t=>{e.removeParameter(t)});u.forEach(t=>{e.removeSelectOption(t)});i.getParameterNames().forEach(t=>{e.addParameter(t,i.getParameter(t))});i.getSelectOptionsPropertyNames().forEach(t=>{e.massAddSelectOption(t,i.getSelectOption(t))});return e}async function S(e,t){const a=e.getData()||{};let n;const s={};const u=t.inbound.signature;const l=t.resolutionResult;if(a.selectionVariant){n=new r(JSON.stringify(a.selectionVariant))}else{n=new r}if(o(l)){Object.keys(l.oNewAppStateMembers).forEach(e=>{n.massAddSelectOption(e,l.oNewAppStateMembers[e].Ranges)})}const m=u.additionalParameters===\"ignored\";n=P(n,s,u.parameters,m);if(n.getParameterNames().length!==0||n.getSelectOptionsPropertyNames().length!==0||s.deleted){a.selectionVariant=n.toJSONObject()}if(!s.changed&&!s.deleted&&!o(l)){c(t);return}e.setData(a);await i.promisify(e.save());t.intentParamsPlusAllDefaults[\"sap-xapp-state\"]=[e.getKey()];t.mappedIntentParamsPlusSimpleDefaults[\"sap-xapp-state\"]=[e.getKey()];c(t)}async function b(t,a){let n;const r=t.resolutionResult;const s=t.inbound&&(t.inbound.signature||{});const i=o(r)||s.additionalParameters===\"ignored\"||u(t);if(!i){c(t);return t}const l=t.intentParamsPlusAllDefaults[\"sap-xapp-state\"]&&t.intentParamsPlusAllDefaults[\"sap-xapp-state\"][0];if(l){const i=await p(a,l);if(d(i)){if(o(r)){const t=e.constructParameterDominatorMap(s.parameters);Object.keys(r.oNewAppStateMembers).forEach(e=>{const a=t[e].dominatedBy;if(g(i,a)){delete r.oNewAppStateMembers[e]}})}const l=s.additionalParameters===\"ignored\";if(!o(r)&&!u(t)&&!l){c(t);return t}n=a.createEmptyAppState(undefined,true);if(n){n.setData(i);await S(n,t);return t}}else{delete r.oNewAppStateMembers;c(t);return t}}if(o(r)){const e=a.createEmptyAppState(undefined,true);await S(e,t);return t}c(t);return t}return{mixAppStateIntoResolutionResultAndRename:b,_hasRenameTo:u}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/CommonDataModel\", [\"sap/ushell/services/CommonDataModel/PersonalizationProcessor\",\"sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults\",\"sap/base/util/ObjectPath\",\"sap/ui/thirdparty/jquery\",\"sap/base/util/isPlainObject\",\"sap/ushell/services/CommonDataModel/SiteConverter\",\"sap/base/util/isEmptyObject\",\"sap/base/util/deepClone\",\"sap/base/util/deepExtend\",\"sap/base/util/extend\",\"sap/base/util/Version\",\"sap/ushell/Config\",\"sap/base/util/values\",\"sap/ushell/library\",\"sap/ushell/utils\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications\",\"sap/base/Log\",\"sap/ushell/Container\"],(e,t,i,jQuery,o,s,n,r,a,l,p,c,u,h,g,d,f,y)=>{\"use strict\";const P=h.DisplayFormat;const _=h.ContentNodeType;const m=\"sap.ushell.services.CommonDataModel\";function z(t,i,o,n){this._oAdapter=t;this._oPersonalizationProcessor=new e;this._oSiteConverter=new s;this._oSiteDeferred=new jQuery.Deferred;this._oOriginalSite={};this._bPersonalizationLoadingFailed=false;this._oPersonalizedSiteForCDMVersion30={};this._bLoadPersonalizationForCDMVersion30Late=false;this._oPersonalizedPages={};this._oPersonalizationDeltasForCDMVersion31={};this._mGetPagesPromises={};this._pGetSiteFromAdapter=t.getSite().then(e=>{this._oOriginalSite=a({},e);const t=new p(e._version);if(t.compareTo(\"3.1.0\")<0){const t=g.isFlpHomeIntent();if(t){this._loadAndApplyPersonalizationForCDMVersion30(e)}else{this._bLoadPersonalizationForCDMVersion30Late=true}}else{this._prepareSiteForCDMVersion31()}return e}).fail(e=>{this._oSiteDeferred.reject(e);this._bLoadPersonalizationForCDMVersion30Late=false})}z.prototype._loadAndApplyPersonalizationForCDMVersion30=async function(e){try{const t=await this._getPersonalization(e._version);this._oPersonalizedSiteForCDMVersion30=await this._triggerMixinPersonalizationInSite(e,t);this._oSiteDeferred.resolve(this._oPersonalizedSiteForCDMVersion30)}catch(e){this._oSiteDeferred.reject(e)}};z.prototype._prepareSiteForCDMVersion31=function(){this._ensureStandardVizTypesPresent(this._oOriginalSite).then(()=>{this._ensureProperDisplayFormats(this._oOriginalSite);this._oSiteDeferred.resolve(this._oOriginalSite)})};z.prototype._applyPagePersonalization=function(e,t){const i=e.identification.id;if(Object.keys(t).length){const e=t.classicHomePage;if(e&&e.version===\"3.1.0\"){Object.keys(e).forEach(i=>{if(!t[i]){t[i]=e[i]}});delete t.classicHomePage;t._version=t.version}const i=new p(t._version||t.version);if(i.compareTo(\"3.1.0\")<0){t={classicHomePage:t,_version:\"3.1.0\",version:\"3.1.0\"}}}this._oPersonalizationDeltasForCDMVersion31=t;const o=r(t[i],20)||{};const s=this._oSiteConverter.convertTo(\"3.0.0\",r(e,20));return this._triggerMixinPersonalizationInSite(s,o).then(e=>{this._oPersonalizedPages[i]=this._oSiteConverter.convertTo(\"3.1.0\",r(e,20));return this._oPersonalizedPages[i]})};z.prototype._migratePersonalizedPages=async function(e){if(typeof this._oAdapter.migratePersonalizedPages!==\"function\"){return e}const t=await this._oAdapter.migratePersonalizedPages(e);if(t.length){await this.save(t)}return e};z.prototype._triggerMixinPersonalizationInSite=async function(e,t){const i=await g.promisify(this._oPersonalizationProcessor.mixinPersonalization(e,t));this._ensureCompleteSite(i);this._ensureGroupsOrder(i);await this._ensureStandardVizTypesPresent(i);this._ensureProperDisplayFormats(i);return i};z.prototype.getHomepageGroups=function(){const e=new jQuery.Deferred;this.getSite().then(t=>{const i=t&&t.site&&t.site.payload&&t.site.payload.groupsOrder?t.site.payload.groupsOrder:[];e.resolve(i)});return e.promise()};z.prototype.getGroups=function(){const e=new jQuery.Deferred;this.getSite().then(t=>{const i=[];Object.keys(t.groups).forEach(e=>{i.push(t.groups[e])});e.resolve(i)});return e.promise()};z.prototype.getGroup=function(e){const t=new jQuery.Deferred;this.getSite().then(i=>{const o=i.groups[e];if(o){t.resolve(o)}else{t.reject(`Group ${e} not found`)}});return t.promise()};z.prototype.getSite=function(){if(this._bLoadPersonalizationForCDMVersion30Late){this.getSiteWithoutPersonalization().then(e=>this._loadAndApplyPersonalizationForCDMVersion30(e));this._bLoadPersonalizationForCDMVersion30Late=false}return this._oSiteDeferred.promise()};z.prototype.getSiteWithoutPersonalization=function(){return this._pGetSiteFromAdapter};z.prototype.getPage=async function(e){const t=c.last(\"/core/shell/enablePersonalization\");const i=c.last(\"/core/spaces/myHome/enabled\");const o=c.last(\"/core/spaces/myHome/myHomePageId\");await this._pGetSiteFromAdapter;if(this._oPersonalizedPages[e]){return this._oPersonalizedPages[e]}if(t||i&&e===o){let t;let i;let o;try{t=await this._getPageFromAdapter(e);i=await this._getPersonalization(this._oOriginalSite._version)}catch(t){return Promise.reject(`CommonDataModel Service: Cannot get page ${e}`)}try{o=await this._applyPagePersonalization(t,i)}catch(e){return Promise.reject(\"Personalization Processor: Cannot mixin the personalization.\")}const s=await this._migratePersonalizedPages([o]);return s[0]}return this._getPageFromAdapter(e)};z.prototype._getPageFromAdapter=async function(e){if(!this._oAdapter.getPage){return r(this._oOriginalSite.pages[e],20)}const t=await this._oAdapter.getPage(e);const i=await this.getCachedVisualizations();const o=await this.getCachedVizTypes();this._oOriginalSite.pages[e]=t;this._oOriginalSite.visualizations=i;this._oOriginalSite.vizTypes=o;return r(t,20)};z.prototype._filterForProperPages=function(e){return e.filter(e=>!!e)};z.prototype.getPages=function(e){const t=c.last(\"/core/shell/enablePersonalization\");const i=c.last(\"/core/spaces/myHome/enabled\");const o=c.last(\"/core/spaces/myHome/myHomePageId\");let s;if(this._mGetPagesPromises[e.toString()]){s=this._mGetPagesPromises[e.toString()]}else{s=Promise.resolve(this._pGetSiteFromAdapter).then(()=>{if(t||i){return Promise.all([this._getPagesFromAdapter(e),this._getPersonalization(this._oOriginalSite._version)]).catch(()=>Promise.reject(\"CommonDataModel Service: Cannot get pages\")).then(e=>{const i=e[0];const s=e[1];return Promise.all(Object.keys(i).map(e=>{if(this._oPersonalizedPages[e]){return Promise.resolve(this._oPersonalizedPages[e])}if(!t&&e!==o){return Promise.resolve(i[e])}return this._applyPagePersonalization(i[e],s).catch(()=>Promise.reject(\"Personalization Processor: Cannot mixin the personalization.\"))})).then(e=>this._migratePersonalizedPages(e)).then(e=>this._filterForProperPages(e))})}return this._getPagesFromAdapter(e).then(e=>this._filterForProperPages(u(e)))});this._mGetPagesPromises[e.toString()]=s}return s};z.prototype._getPagesFromAdapter=async function(e){if(!this._oAdapter.getPages){const t={};for(const i in this._oOriginalSite.pages){if(e.includes(this._oOriginalSite.pages[i].identification.id)){t[i]=this._oOriginalSite.pages[i]}}return r(t,20)}const t=await this._oAdapter.getPages(e);const i=await this.getCachedVisualizations();const o=await this.getCachedVizTypes();this._oOriginalSite.visualizations=i;this._oOriginalSite.vizTypes=o;Object.keys(t).forEach Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/CommonDataModel/PersonalizationProcessor\", [\"sap/base/Log\",\"sap/base/util/deepClone\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/ObjectPath\",\"sap/ui/thirdparty/jquery\"],(e,r,i,o,t,jQuery)=>{\"use strict\";function s(){}s.prototype._getItemIndex=function(e,r){let i;for(i=0;i=e.length?-1:i;return i};s.prototype._applyRenameGroup=function(e,r,i){let o;let t=false;if(!r){return false}if(e&&i&&i.groups&&i.groups[e]){o=i.groups[e];if(o.identification&&o.identification.title){i.groups[e].identification.title=r;t=true}}return t};s.prototype._applyGroupVisibility=function(e,r,i){let o=false;if(r===undefined){return false}if(e&&i&&i.groups&&i.groups[e]){i.groups[e].identification.isVisible=r;o=true}return o};s.prototype.mixinPersonalization=function(e,r){const i=new jQuery.Deferred;const t=this;if(!r||o(r)){return i.resolve(e).promise()}if(r.groups){Object.keys(r.groups).forEach(i=>{const o=r.groups[i];if(e.groups[i]){if(o.identification){if(o.identification.title){t._applyRenameGroup(i,o.identification.title,e)}if(o.identification.hasOwnProperty(\"isVisible\")&&o.identification.isVisible===false){t._applyGroupVisibility(i,false,e)}}}})}this._applyAddGroups(e,r);if(r.removedGroups&&Array.isArray(r.removedGroups)){r.removedGroups.forEach(r=>{t._applyRemoveGroup(e,r)})}this._applyMoveGroup(e,r);this._applyItemChanges(e,r);this._applyTileSettings(e,r);return i.resolve(e).promise()};s.prototype._applyAddGroups=function(e,i){const o=[];e.site=e.site||{};e.site.payload=e.site.payload||{};e.site.payload.groupsOrder=e.site.payload.groupsOrder||[];e.groups=e.groups||{};if(Array.isArray(i.groupOrder)){e.site.payload.groupsOrder.forEach(e=>{if(i.groupOrder.indexOf(e)===-1){if(i.removedGroups&&i.removedGroups.indexOf(e)===-1||!i.removedGroups){o.push(e)}}})}if(Array.isArray(i.groupOrder)&&i.addedGroups&&Object.keys(i.addedGroups).length>0){Object.keys(i.addedGroups).forEach(o=>{e.groups[o]=r(i.addedGroups[o],20);e.groups[o].payload.isPreset=false});e.site.payload.groupsOrder=i.groupOrder}o.forEach(r=>{e.site.payload.groupsOrder.push(r)})};s.prototype._checkRenameGroup=function(e,r,i,o){if(e&&r&&i){if(i[e]){if(r[e].identification.title!==i[e].identification.title){o=o||{};o.groups=o.groups||{};o.groups[e]=o.groups[e]||{};o.groups[e].identification=o.groups[e].identification||{};o.groups[e].identification.title=r[e].identification.title}}}return o};s.prototype._applyTileSettings=function(e,r){if(!r.modifiedTiles){return}const i=Object.keys(e.groups).map(function(e){return this[e]},e.groups);const o=Object.keys(r.modifiedTiles).map(function(e){return this[e]},r.modifiedTiles);i.some(e=>{[\"tiles\",\"links\"].forEach(r=>{if(e.payload[r]){e.payload[r].some(e=>{let r;o.some((i,o)=>{if(i.id===e.id){if(i.title!==undefined){e.title=i.title}if(i.subTitle!==undefined){e.subTitle=i.subTitle}if(i.info!==undefined){e.info=i.info}if(i.displayFormatHint!==undefined){e.displayFormatHint=i.displayFormatHint}r=o;return true}return false});if(r!==undefined){o.splice(r,1)}return o.length===0})}});return o.length===0})};s.prototype._checkGroupVisibility=function(e,r,i,o){if(e&&r&&i){if(i[e]){if(r[e].identification.isVisible!==i[e].identification.isVisible&&typeof r[e].identification.isVisible===\"boolean\"){o=o||{};o.groups=o.groups||{};o.groups[e]=o.groups[e]||{};o.groups[e].identification=o.groups[e].identification||{};o.groups[e].identification.isVisible=r[e].identification.isVisible}}}return o};s.prototype._addGroupToPersonalizationDelta=function(e,r,o){let t=false;let s;let a;if(e&&e.site&&e.site.payload&&e.site.payload.groupsOrder&&e.groups&&o&&e.groups[o]&&r){s=e.site.payload.groupsOrder;a=e.groups[o];r.addedGroups=r.addedGroups||{};r.addedGroups[o]={};r.addedGroups[o].identification=i({},a.identification);r.addedGroups[o].payload=i({},a.payload);r.addedGroups[o].payload.tiles=[];r.addedGroups[o].payload.links=[];r.groupOrder=s;t=true}return t};s.prototype.extractPersonalization=function(e,r){const i=new jQuery.Deferred;let t;const s={};let a;let l;const p=this;if(e&&e.groups&&r&&r.groups){t=e.groups;a=r.groups;l=this._getExtractHelperObject(r,e,s);Object.keys(a).forEach(i=>{p._checkRemoveGroup(e,s,i);p._extractFromOriginalSiteOneGroup(r,l,i,\"tiles\");p._extractFromOriginalSiteOneGroup(r,l,i,\"links\")});Object.keys(t).forEach(r=>{if(a[r]){p._checkRenameGroup(r,t,a,s);p._checkGroupVisibility(r,t,a,s)}else{p._addGroupToPersonalizationDelta(e,s,r)}p._extractFromPersonalizedSiteOneGroup(e,l,r,\"tiles\");p._extractFromPersonalizedSiteOneGroup(e,l,r,\"links\")});this._checkMoveGroup(e,r,s);this._cleanupRemovedGroups(r,s);if(l.oPersonalizationDelta.movedTiles&&o(l.oPersonalizationDelta.movedTiles)){delete l.oPersonalizationDelta.movedTiles}if(l.oPersonalizationDelta.movedLinks&&o(l.oPersonalizationDelta.movedLinks)){delete l.oPersonalizationDelta.movedLinks}}if(r._version){s._version=r._version}return i.resolve(s).promise()};s.prototype._checkRemoveGroup=function(e,r,i){let o=false;if(e&&e.groups&&r&&i){if(!e.groups[i]){r.removedGroups=r.removedGroups||[];r.groupOrder=r.groupOrder||[];if(r.removedGroups.indexOf(i)===-1){r.removedGroups.push(i)}if(e.site&&e.site.payload&&e.site.payload.groupsOrder&&Array.isArray(e.site.payload.groupsOrder)){r.groupOrder=e.site.payload.groupsOrder.slice(0)}}o=true}return o};s.prototype._applyRemoveGroup=function(e,r){let i;let o;let t;if(e&&e.groups&&e.site&&e.site.payload&&e.site.payload.groupsOrder&&r){i=e.groups;o=e.site.payload.groupsOrder;t=o.indexOf(r);if(!(t===-1)){o.splice(t,1);delete i[r];return true}}return false};s.prototype._checkMoveGroup=function(e,r,i){let o;let t;let s=false;let a=false;if(e.site&&e.site.payload&&Array.isArray(e.site.payload.groupsOrder)&&r.site&&r.site.payload&&Array.isArray(r.site.payload.groupsOrder)){o=e.site.payload.groupsOrder;t=r.site.payload.groupsOrder;if(o.length===t.length){s=function(){let e=false;let r;for(r=0;r0){r={};Object.keys(e.groups).forEach(i=>{const o=e.groups[i];let t;r[i]={};if(o.payload){[\"tiles\",\"links\"].forEach(e=>{r[i][e]={};if(Array.isArray(o.payload[e])){t=o.payload[e];t.forEach((o,t)=>{let s;if(o&&o.id){s=o.id;r[i][e][s]={iIndex:t,sItemId:o}}})}})}})}}return r};s.prototype._getExtractHelperObject=function(e,r,i){let o=null;o={};o.oHashedItemsOriginal=this._getHashedItemsFromSite(e)||{};o.oHashedItemsPersonalized=this._getHashedItemsFromSite(r);o.oPersonalizationDelta=i;return o};s.prototype._extractFromOriginalSiteOneGroup=function(e,r,i,o){let t=false;let s;let a;let l=\"movedTiles\";o=o||\"tiles\";if(o!==\"tiles\"){l=\"movedLinks\"}function p(e,r){a[e]=a[e]?a[e]:{};a[e].fromGroup=r;a[e].toGroup=null}if(r&&r.oHashedItemsPersonalized&&r.oPersonalizationDelta&&e&&e.groups&&e.groups[i]&&e.groups[i].payload&&Array.isArray(e.groups[i].payload[o])){s=e.groups[i].payload[o];r.oPersonalizationDelta[l]=r.oPersonalizationDelta[l]?r.oPersonalizationDelta[l]:{};a=r.oPersonalizationDelta[l];if(r.oHashedItemsPersonalized[i]){s.forEach(e=>{if(!r.oHashedItemsPersonalized[i][o][e.id]){p(e.id,i)}});t=true}else{s.forEach(e=>{p(e.id,i)});t=true}}return t};s.prototype._extractPersonalizationDeltaForTile=function(e,r,i,s){const a=t.get([\"oHashedItemsOriginal\",i,s,e.id,\"sItemId\"],r);if(!a){return false}const l={};if(e.title!==a.title){l.title=e.title}if(e.subTitle!==a.subTitle){l.subTitle=e.subTitle}if(e.info!==a.info){l.info=e.info}if(e.displayFormatHint!==a.displayFormatHint&&!(e.displayFormatHint===\"default\"&&!a.displayFormatHint)){l.displayFormatHint=e.displayFormatHint}if(o(l)){return false}if(!r.oPersonalizationDelta.modifiedTiles){r.oPersonalizationDelta.modifiedTiles={}}const p=r.oPersonalizationDelta.modifiedTiles;l.id=e.id;p[e.id]=l;return true};s.prototype._extractFromPersonalizedSiteOneGroup=function(r,i,o,t){let s=false;let a;let l;let p=false;let n;const u=this;let d=\"movedTiles\";t=t||\"tiles\";if(t!==\"tiles\"&&t!==\"links\"){return s}if(t!==\"tiles\"){d=\"movedLinks\"}if(i&&i.oPersonalizationDelta&&r&&r.groups&&r.groups[o]&&r.groups[o].payload&&Array.isArray(r.groups[o].payload[t])){n=r.groups[o].payload[t];i.oPersonalizationDelta[d]=i.oPersonalizationDelta[d]?i.oPersonalizationDelta[d]:{};a=i.oPersonalizationDelta[d];l=[];n.forEach((r,s)=>{if(!r){return}l.push(r.id);if(i.oHashedItemsOriginal[o]&&i.oHashedItemsOriginal[o][t][r.id]){if(a[r.id]){e.error(\"Extract personalization failed\",`The Tile ID ${r.id} is not unique in the site`,\"PersonalizationProcessor\");delete a[r.id]}if(i.oHashedItemsOriginal[o][t][r.id].iIndex!==s){p=true}u._extractPersonalizationDeltaForTile(r,i,o,t)}else{p=true;if(a[r.id]){if(a[r.id].fromGroup&&a[r.id].fromGroup!==o){if(!a[r.id].toGroup){a[r.id].toGroup=o;u._extractPersonalizationDeltaForTile(r,i,a[r.id].fromGroup,t)}}}else{a[r.id]={};a[r.id].fromGroup=null;a[r.id].toGroup=o;a[r.id].item=r}}});if(p){i.oPersonalizationDelta.groups=i.oPersonalizationDelta.groups||{};i.oPersonalizationDelta.groups[o]=i.oPersonalizationDelta.groups[o]||{};i.oPersonalizationDelta.groups[o].payload=i.oPersonalizationDelta.groups[o].payload||{};if(t===\"tiles\"){i.oPersonalizationDelta.groups[o].payload.tileOrder=l}else{i.oPersonalizationDelta.groups[o].payload.linkOrder=l}}s=true}return s};s.prototype._cleanupRemovedGroups=function(e,r){let i;let o;if(r.removedGroups&&r&&Array.isArray(r.removedGroups)&&r.removedGroups.length>0){r.removedGroups.forEach(t=>{if(e&&e.groups&&e.groups[t]&&e.groups[t].payload){[{sType:\"tiles\",sPersonalizationDeltaType:\"movedTiles\"},{sType:\"links\",sPersonalizationDeltaType:\"movedLinks\"}].forEach(s=>{if(Array.isArray(e.groups[t].payload[s.sType])){i=e.groups[t].payload[s.sType];i.forEach(e=>{if(r[s.sPersonalizationDeltaType]){o=r[s.sPersonalizationDeltaType][e.id];if(o&&o.fromGroup&&o.fromGroup===t&&!o.toGroup){delete r[s.sPersonalizationDeltaType][e.id]}}})}})}})}};s.prototype._setItemOrderOnSiteCollection=function(e,r){let i=true;const o=e.length;const t={};let s;let a;let l;let p;if(!Array.isArray(e)||!Array.isArray(e)||e.length!==r.length){return false}const n=e.splice(0,e.length);for(s=0;s0){a=n.shift();if(l===a.id){e.push(a);p=true;break}else{t[a.id]=a}}if(!p){i=false}}}if(e.length!==o){i=false}return i};s.prototype._setItemOrderOnSiteGroupForItemType=function(e,r,i){let o=true;let t;let s;if(i===\"tiles\"||i===\"links\"){s=i===\"tiles\"?\"tileOrder\":\"linkOrder\"}else{return false}if(r.payload&&Array.isArray(r.payload[s])&&r.payload[s].length>0){if(e.payload&&Array.isArray(e.payload[i])&&e.payload[i].length>0){t=this._setItemOrderOnSiteCollection(e.payload[i],r.payload[s]);if(!t){o=false}}else{o=false}}return o};s.prototype._setItemOrderOnSite=function(e,r){let i=true;let o;const t=this;if(e.groups&&r.groups){Object.keys(r.groups).forEach(s=>{if(r.groups[s]&&e.groups[s]){o=t._setItemOrderOnSiteGroupForItemType(e.groups[s],r.groups[s],\"tiles\");if(!o){i=false}o=t._setItemOrderOnSiteGroupForItemType(e.groups[s],r.groups[s],\"links\");if(!o){i=false}}})}return i};s.prototype._applyMoveItemsWithoutOrder=function(e,r,i){let t=true;let s;let a;let l=\"tileOrder\";let p;let n;let u;let d=[];const f=this;function y(o,t){let s=true;if(e.groups[t]&&e.groups[t].payload&&r.groups&&r.groups[t]&&r.groups[t].payload&&Array.isArray(r.groups[t].payload[l])&&r.groups[t].payload[l].length>0){if(!Array.isArray(e.groups[t].payload[i])){e.groups[t].payload[i]=[]}e.groups[t].payload[i].push(o)}else{s=false}return s}if(i===\"tiles\"||i===\"links\"){a=i===\"tiles\"?\"movedTiles\":\"movedLinks\";l=i===\"tiles\"?\"tileOrder\":\"linkOrder\"}else{return false}if(!e||!e.groups||!e.site||!e.site.payload||!Array.isArray(e.site.payload.groupsOrder)||!r){return false}if(r[a]){Object.keys(r[a]).forEach(l=>{p=r[a][l];if(p.fromGroup){if(p.toGroup){if(p.fromGroup!==p.toGroup){if(e.groups[p.fromGroup]&&e.groups[p.fromGroup].payload&&Array.isArray(e.groups[p.fromGroup].payload[i])){d=e.groups[p.fromGroup].payload[i];n=f._getItemIndex(d,l);if(n>=0){u=d.splice(n,1);s=y(u[0],p.toGroup);if(!s){t=false}}else{t=false}}else{t=false}}else{t=false}}else if(e.groups[p.fromGroup]&&e.groups[p.fromGroup].payload&&Array.isArray(e.groups[p.fromGroup].payload[i])){d=e.groups[p.fromGroup].payload[i];n=f._getItemIndex(d,l);if(n>=0){d.splice(n,1)}else{t=false}}else{t=false}}else if(p.toGroup){if(p.item&&!o(p.item)){s=y(p.item,p.toGroup);if(!s){t=false}}else{t=false}}else{t=false}})}return t};s.prototype._applyItemChanges=function(e,r){let i=true;let o;o=this._applyMoveItemsWithoutOrder(e,r,\"tiles\");if(!o){i=false}o=this._applyMoveItemsWithoutOrder(e,r,\"links\");if(!o){i=false}if(r.groups){o=this._setItemOrderOnSite(e,r);if(!o){i=false}}return i};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/CommonDataModel/SiteConverter\", [\"sap/base/Log\"],e=>{\"use strict\";function i(){}i.prototype.convertTo=function(i,t){if(t._version===\"3.0.0\"||t.identification&&t.payload){switch(i){case\"3.0.0\":return this._convertPageToSite(t);case\"3.1.0\":return this._convertSiteToPage(t);default:e.error(\"The received version for the site/page conversion is not supported\");return{}}}else{e.error(\"The site converter did not receive a correct page/site object.\");return{}}};i.prototype._convertPageToSite=function(e){const i={groups:{},_version:\"3.0.0\",site:{identification:e.identification,payload:{groupsOrder:e.payload.layout.sectionOrder}}};const t=e.payload.sections;for(let o=0;o{i.push(t.id);e[t.id]=t;return e},{});t.layout={vizOrder:i};t.viz=o;return t};i.prototype._convertVizPayloadObjectToArray=function(e){return e.layout.vizOrder.reduce((i,t)=>{i.push(e.viz[t]);return i},[])};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults\", [\"sap/base/Log\",\"sap/ui/core/Manifest\",\"sap/base/util/deepClone\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/ObjectPath\"],(s,e,a,t,n,i)=>{\"use strict\";const l={STATIC_LAUNCHER:\"sap.ushell.StaticAppLauncher\",DYNAMIC_LAUNCHER:\"sap.ushell.DynamicAppLauncher\",CARD:\"sap.ushell.Card\"};class c{static#s=null;#e=null;static async getAll(){if(!c.#s){c.#s=new c}return c.#s._getAll()}async _getAll(){if(!this.#e){this.#e={};const s={};s[l.STATIC_LAUNCHER]=\"sap/ushell/components/tiles/cdm/applauncher/manifest.json\";s[l.DYNAMIC_LAUNCHER]=\"sap/ushell/components/tiles/cdm/applauncherdynamic/manifest.json\";s[l.CARD]=\"sap/ushell/services/CommonDataModel/vizTypeDefaults/cardManifest.json\";await Promise.all(Object.keys(s).map(async e=>{const a=s[e];const t=await this._loadManifest(a);this.#e[e]=t}))}return this.#e}async _loadManifest(s){const t=sap.ui.require.toUrl(s);const n=await e.load({manifestUrl:t,async:true});return a(n.getRawJson())}}return c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Configuration\", [\"sap/ushell/Config\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Container\"],(e,jQuery,t)=>{\"use strict\";function s(){this.attachSizeBehaviorUpdate=function(t){const s=e.on(\"/core/home/sizeBehavior\");s.do(t);return{detach:s.off}};this.getAppsSystems=function(){const e=new jQuery.Deferred;t.getServiceAsync(\"CommonDataModel\").then(t=>{t.getSiteWithoutPersonalization().done(t=>{const s=t&&t.systemAliases&&JSON.parse(JSON.stringify(t.systemAliases))||{};e.resolve(s)}).catch(()=>{e.resolve({})})}).catch(()=>{e.resolve({})});return e.promise()}}s.hasNoAdapter=true;return s},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ConfigurationDefaults\", [\"sap/base/Log\",\"sap/ushell/bootstrap/common/common.create.configcontract.core\"],(t,e)=>{\"use strict\";function n(t){const n=e.getDefaultConfiguration();this.getDefaults=async function(e){const a=await t.getDefaultConfig();return e.reduce((t,e)=>{let o;if(this._isValidConfigPath(e)){const t=e.split(\"/\");const r=t.pop();let i=a;for(let e=0;e{\"use strict\";s.warning(\"The use of sap/ushell/services/Container is deprecated. Please use sap/ushell/Container instead!\");return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ContentExtensionAdapterFactory\", [\"sap/ushell/Config\",\"sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig\"],(t,e)=>{\"use strict\";const n={};n.getAdapters=async function(e){const r=n._getConfigAdapters(e);const s={};const i=r.map(async e=>{if(!t.last(e.configSwitch)){return}const r=await n._getAdapter(e);s[e.contentProviderName]=r});await Promise.all(i);return s};n._getConfigAdapters=function(t){if(!t){t=e._getConfigAdapters()}if(!Array.isArray(t)){t=[t]}return t};n._getAdapter=function(t){return new Promise((e,n)=>{const r=t.adapter.replaceAll(\".\",\"/\");sap.ui.require([r],n=>{if(!n){e(null);return}const r={config:t.configHandler?.()||{}};e(new n(t.system,null,r))},n)})};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/CrossApplicationNavigation\", [\"sap/ushell/services/AppConfiguration\",\"sap/ushell/services/_CrossApplicationNavigation/utils\",\"sap/ushell/utils/type\",\"sap/ushell/TechnicalParameters\",\"sap/ushell/appIntegration/AppLifeCycle\",\"sap/base/util/deepExtend\",\"sap/base/util/isPlainObject\",\"sap/ui/thirdparty/jquery\",\"sap/base/util/ObjectPath\",\"sap/base/util/merge\",\"sap/ushell/utils\",\"sap/ushell/ApplicationType\",\"sap/ushell/UI5ComponentType\",\"sap/base/Log\",\"sap/ushell/utils/UrlParsing\",\"sap/base/util/deepClone\",\"sap/ui/base/Object\",\"sap/ushell/api/common/ComponentInstantiation\"],(e,t,n,a,s,i,r,jQuery,o,p,c,l,u,h,f,g,m,d)=>{\"use strict\";function y(l,u,y){let A;if(y&&y.config){A=y.config}function v(a,s){let i;let o;let p;if(typeof a!==\"string\"&&!r(a)&&a!==undefined){h.error(\"Unexpected input type\",null,\"sap.ushell.services.CrossApplicationNavigation\");return undefined}if(a===undefined){return undefined}const c=e.getCurrentApplication();if(s){if(typeof s.getComponentData!==\"function\"||!r(s.getComponentData())||!s.getComponentData().startupParameters||!r(s.getComponentData().startupParameters)){h.error(\"Cannot call getComponentData on component\",\"the component should be an application root component\",\"sap.ushell.services.CrossApplicationNavigation\")}else{const e=s.getComponentData().startupParameters;if(e.hasOwnProperty(\"sap-system\")){i=e[\"sap-system\"][0]}if(e.hasOwnProperty(\"sap-ushell-next-navmode\")){o=e[\"sap-ushell-next-navmode\"][0]}}}else{if(c&&c[\"sap-system\"]){i=c[\"sap-system\"]}else if(c&&c.url){i=new URL(c.url,window.location.href).searchParams.get(\"sap-system\")}if(c&&c[\"sap-ushell-next-navmode\"]){o=c[\"sap-ushell-next-navmode\"]}else if(c&&c.url){o=new URL(c.url,window.location.href).searchParams.get(\"sap-ushell-next-navmode\")}}if(c){p=c.contentProviderId}const l=t._injectParameters({type:n,inject:{\"sap-system\":i,\"sap-ushell-navmode\":o,\"sap-app-origin-hint\":p},injectEmptyString:{\"sap-app-origin-hint\":true},args:a});return l}function S(e){if(localStorage&&localStorage[\"sap-ushell-enc-test\"]===\"false\"){return e}if(!A||!A[\"sap-ushell-enc-test\"]){if(localStorage&&localStorage[\"sap-ushell-enc-test\"]!==\"true\"){return e}}if(typeof e!==\"string\"&&!r(e)&&e!==undefined){h.error(\"Unexpected input type\",null,\"sap.ushell.services.CrossApplicationNavigation\");return undefined}if(e===undefined){return undefined}if(r(e)){const t=i({},e);if(t.target&&t.target.shellHash){if(typeof t.target.shellHash===\"string\"){if(t.target.shellHash!==\"#\"&&t.target.shellHash!==\"\"){t.target.shellHash=S(t.target.shellHash)}}return t}t.params=t.params||{};t.params[\"sap-ushell-enc-test\"]=[\"A B%20C\"];return t}let t=e;if(!/[?&]sap-system=/.test(t)){const e=t.indexOf(\"?\")>-1?\"&\":\"?\";t+=`${e}sap-ushell-enc-test=${encodeURIComponent(\"A B%20C\")}`}return t}this._extractInnerAppRoute=function(e){if(typeof e===\"string\"){const t=e.split(\"&/\");const n=t.shift();return{intent:n,innerAppRoute:t.length>0?`&/${t.join(\"&/\")}`:\"\"}}if(Object.prototype.toString.apply(e)===\"[object Object]\"){const t=o.get(\"target.shellHash\",e);if(typeof t===\"string\"){const n=this._extractInnerAppRoute(t);e.target.shellHash=n.intent;return{intent:e,innerAppRoute:n.innerAppRoute}}if(e.hasOwnProperty(\"appSpecificRoute\")){const t=e.appSpecificRoute;delete e.appSpecificRoute;const n=typeof t===\"string\"&&t.indexOf(\"&/\")!==0&&t.length>0;return{innerAppRoute:n?`&/${t}`:t,intent:e}}return{intent:e,innerAppRoute:\"\"}}h.error(\"Invalid input parameter\",\"expected string or object\",\"sap.ushell.services.CrossApplicationNavigation\");return{intent:e}};this._injectInnerAppRoute=function(e,t){if(!t){return e}if(typeof e===\"string\"){return e+t}if(Object.prototype.toString.apply(e)===\"[object Object]\"){const n=o.get(\"target.shellHash\",e);if(typeof n===\"string\"){e.target.shellHash=this._injectInnerAppRoute(n,t);return e}e.appSpecificRoute=t}return e};this.hrefForExternal=function(e,i,r){if(typeof i!==\"object\"&&i!==undefined&&i!==null){r=i;i=undefined}if(r){const t=new jQuery.Deferred;this.hrefForExternalAsync(e,i).then(t.resolve).catch(t.reject);return t.promise()}h.error(\"Deprecated option 'bAsync=false'. Please use 'bAsync=true' instead\",null,\"sap.ushell.services.CrossApplicationNavigation\");let o=p({},e);const c=this._extractInnerAppRoute(o);const l=c.intent;t.addXAppStateFromParameter(l,\"sap-xapp-state-data\");o=v(l,i);o=t.injectStickyParameters({args:o,appLifeCycle:s,technicalParameters:a,type:n});o=S(o);o=this._injectInnerAppRoute(o,c.innerAppRoute);const u=sap.ushell.Container.getService(\"ShellNavigationInternal\");if(!u){h.debug(\"Shell not available, no Cross App Navigation\");return\"\"}return u.hrefForExternalSync(o,undefined,i)};this.hrefForExternalAsync=async function(e,i){let r=p({},e);const o=this._extractInnerAppRoute(r);const c=o.intent;try{await t.addXAppStateFromParameterAsync(c,\"sap-xapp-state-data\");r=v(c,i);const e=await t.injectStickyParametersAsync({args:r,appLifeCycle:s,technicalParameters:a,type:n});r=e;r=S(r);r=this._injectInnerAppRoute(r,o.innerAppRoute);const p=await sap.ushell.Container.getServiceAsync(\"ShellNavigationInternal\");return new Promise((e,t)=>{p.hrefForExternal(r,undefined,i).then(e).catch(t)})}catch(e){h.debug(\"Shell not available, no Cross App Navigation\");return\"\"}};this.expandCompactHash=function(e){const t=new jQuery.Deferred;sap.ushell.Container.getServiceAsync(\"NavTargetResolutionInternal\").then(n=>{n.expandCompactHash(e).done(t.resolve).fail(t.reject)});return t.promise()};this.backToPreviousApp=async function(){const e=await this.isInitialNavigationAsync();if(e){return this.toExternal({target:{shellHash:\"#\"},writeHistory:false})}this.historyBack()};this.historyBack=function(e){let t=-1;if(e&&typeof e===\"number\"){if(e<=0){h.warning(\"historyBack called with an argument <= 0 and will result in a forward navigation or refresh\",\"expected was an argument > 0\",\"sap.ushell.services.CrossApplicationNavigation#historyBack\")}t=e*-1}window.history.go(t)};this.isInitialNavigation=function(){h.error(\"Deprecated API call of 'sap.ushell.CrossApplicationNavigation.isInitialNavigation'. Please use 'isInitialNavigationAsync' instead\",null,\"sap.ushell.services.CrossApplicationNavigation\");const e=o.get(\"sap.ushell.Container\");const t=e&&typeof e.getService===\"function\"&&e.getService(\"ShellNavigationInternal\");if(!t){h.debug(\"ShellNavigationInternal service not available\",\"This will be treated as the initial navigation\",\"sap.ushell.services.CrossApplicationNavigation\");return true}const n=t.isInitialNavigation();if(typeof n===\"undefined\"){return true}return n};this.isInitialNavigationAsync=async function(){try{const e=await sap.ushell.Container.getServiceAsync(\"ShellNavigationInternal\");const t=e.isInitialNavigation();if(typeof t===\"undefined\"){return true}return t}catch(e){h.debug(\"ShellNavigationInternal service not available\",\"This will be treated as the initial navigation\",\"sap.ushell.services.CrossApplicationNavigation\");return true}};this.toExternal=async function(e,i){const r=e.writeHistory;let o=p({},e);const c=p({},o);this._processShellHashWithParams(o);const l=this._extractInnerAppRoute(o);const u=l.intent;try{const e=await sap.ushell.Container.getServiceAsync(\"AppLifeCycle\");const p=await sap.ushell.Container.getServiceAsync(\"ShellNavigationInternal\");const h=e.getCurrentApplication();const f=h&&await h.getIntent();this._checkIfAppNeedsToBeReloaded(c,h,f,p.hashChanger);await t.addXAppStateFromParameterAsync(u,\"sap-xapp-state-data\");o=v(u,i);const g=await t.injectStickyParametersAsync({args:o,appLifeCycle:s,technicalParameters:a,type:n});o=g;o=S(o);delete o.writeHistory;o=this._injectInnerAppRoute(o,l.innerAppRoute);return await p.toExternal(o,i,r)}catch(e){h.error(\"CrossAppNavigation.toExternal failed\",e,\"sap.ushell.services.CrossApplicationNavigation\")}};this._checkIfAppNeedsToBeReloaded=function(e,t,n,a){if(!t||!n||!e||!e.target){return}if(e.target.shellHash){const t=f.parseShellHash(e.target.shellHash)||{};e.target={semanticObject:t.semanticObject,action:t.action,contextRaw:t.contextRaw};e.appSpecificRoute=t.appSpecificRoute;e.params=Object.assign({},e.params,t.params)}if(e.appSpecificRoute){return}if(t.applicationType!==\"UI5\"){return}if(e.target.semanticObject!==n.semanticObject){return}if(e.target.action!==n.action){return}const s={params:{}};if(e.params){Object.keys(e.params).forEach(t=>{const n=e.params[t];const a=Array.isArray(n)?n:[n];s.params[t]=a.map(e=>e.toString())})}if(!f.haveSameIntentParameters(s,n)){return}a.setReloadApplication(true)};this.hrefForAppSpecificHash=function(e){h.error(\"Deprecated API call of 'sap.ushell.CrossApplicationNavigation.hrefForAppSpecificHash'. Please use 'hrefForAppSpecificHashAsync' instead\",null,\"sap.ushell.services.CrossApplicationNavigation\");const t=o.get(\"sap.ushell.Container\");if(t&&typeof t.getService===\"function\"){const n=t.getService(\"ShellNavigationInternal\");if(n){return n.hrefForAppSpecificHash(e)}}h.debug(\"Shell not available, no Cross App Navigation; fallback to app-specific part only\");return`#${encodeURI(e)}`};this.hrefForAppSpecificHashAsync=async function(e){try{const t=await sap.ushell.Container.getServiceAsync(\"ShellNavigationInternal\");return t.hrefForAppSpecificHash(e)}catch(t){h.debug(\"Shell not available, no Cross App Navigation; fallback to app-specific part only\");return`#${encodeURI(e)}`}};this.getPrimaryIntent=function(e,t){const n={};let a;const s=/^#\\w+-displayFactSheet(?:$|\\?.)/;n.tags=[\"primaryAction\"];n.semanticObject=e;if(t){n.params=t}return this.getLinks(n).then(e=>{if(e.length===0){delete n.tags;n.action=\"displayFactSheet\";a=function(e,t){if(e.intent===t.intent){return 0}const n=s.test(e.intent)^s.test(t.intent);if(n){return s.test(e.intent)?-1:1}return e.intente.length===0?null:e.sort(a)[0])};this.getSemanticObjectLinks=function(e,i,r,o,p,l){const u=new jQuery.Deferred;Promise.resolve().then(()=>t.injectStickyParametersAsync({args:{params:i},appLifeCycle:s,technicalParameters:a,type:n})).then(t=>{t=v(t,o).params;t=S({params:t}).params;let n;if(Array.isArray(e)){n=[];e.forEach(e=>{n.push([{semanticObject:e[0],params:e[1],ignoreFormFactor:!!e[2],ui5Component:e[3],appStateKey:e[4],compactIntents:!!e[5]}])})}else{n={semanticObject:e,params:t,ignoreFormFactor:r,ui5Component:o,appStateKey:p,compactIntents:!!l}}return Promise.all([sap.ushell.Container.getServiceAsync(\"NavTargetResolutionInternal\"),n])}).then(e=>{const t=e[0];const n=e[1];c.invokeUnfoldingArrayArguments(t.getLinks.bind(t),[n]).done(u.resolve).fail(u.reject)});return u.promise()};this.getLinks=function(e){const t=c.invokeUnfoldingArrayArguments(this._getLinks.bind(this),[e]);return t};this._getLinks=function(e){const r=new jQuery.Deferred;if(typeof e===\"undefined\"){e={}}let o=i({},e);o.compactIntents=!!o.compactIntents;o.action=o.action||undefined;o.paramsOptions=t.extractGetLinksParameterOptions(o.params);Promise.resolve().then(()=>t.injectStickyParametersAsync({args:o,appLifeCycle:s,technicalParameters:a,type:n})).then(e=>{o=e;let n;if(o.params){n=t.extractGetLinksParameterDefinition(o.params)}else{n=o.params}let a=v({params:n},o.ui5Component).params;a=S({params:a}).params;if(o.appStateKey){a[\"sap-xapp-state\"]=[o.appStateKey];delete o.appStateKey}o.params=a;return sap.ushell.Container.getServiceAsync(\"NavTargetResolutionInternal\")}).then(e=>{e.getLinks(o).done(r.resolve).fail(r.reject)});return r.promise()};this.getDistinctSemanticObjects=function(){const e=new jQuery.Deferred;sap.ushell.Container.getServiceAsync(\"NavTargetResolutionInternal\").then(t=>{t.getDistinctSemanticObjects().done(e.resolve).fail(e.reject)});return e.promise()};this.isIntentSupported=function(e,t){const n=new jQuery.Deferred;const a={};const s=e.map(e=>{const n=v(e,t);a[n]=e;return n});sap.ushell.Container.getServiceAsync(\"NavTargetResolutionInternal\").then(e=>{e.isIntentSupported(s).done(e=>{const t={};Object.keys(e).forEach(n=>{t[a[n]]=e[n]});n.resolve(t)}).fail(n.reject.bind(n))});return n.promise()};this.isNavigationSupported=function(e,t){const n=new jQuery.Deferred;const a=g(e).map(e=>{const n=this._extractInnerAppRoute(e);return v(n.intent,t)});sap.ushell.Container.getServiceAsync(\"NavTargetResolutionInternal\").then(e=>{e.isNavigationSupported(a).done(n.resolve).fail(n.reject)});return n.promise()};this.isUrlSupported=function(e){return new Promise((t,n)=>{if(typeof e!==\"string\"){n()}if(f.isIntentUrl(e)){const a=f.getHash(e);const s={target:{shellHash:a}};this.isNavigationSupported([s]).done(e=>{if(e[0].supported){t()}else{n()}}).fail(n)}else{t()}})};this.createComponentInstance=function(e,t,n){const a=new jQuery.Deferred;const s=this._checkComponentConfig(t);if(s){a.reject(s);return a.promise()}const i=t?.componentData;d.createComponentInstance(e,i,n).then(a.resolve).catch(a.reject);return a.promise()};this.createComponentData=function(e,t){const n=this._checkComponentConfig(t);if(n){return Promise.reject(n)}const a=t?.componentData;return d.createComponentInstantiationData(e,a)};this._checkComponentConfig=function(e){if(e){const t=Object.keys(e).length;if(t>1||t===1&&!e.componentData){return\"`oConfig` argument should either be an empty object or contain only the `componentData` property.\"}}return null};this.createEmptyAppState=function(e,t,n,a){h.error(\"Deprecated API call of 'sap.ushell.CrossApplicationNavigation.createEmptyAppState'. Please use 'createEmptyAppStateAsync' instead\",null,\"sap.ushell.services.CrossApplicationNavigation\");const s=sap.ushell.Container.getService(\"AppState\");if(!m.isA(e,\"sap.ui.core.UIComponent\")){throw new Error(\"The passed oAppComponent must be a UI5 Component.\")}return s.createEmptyAppState(e,t,n,a)};this.createEmptyAppStateAsync=async function(e,t,n,a){if(!m.isA(e,\"sap.ui.core.UIComponent\")){return Promise.reject(\"The passed oAppComponent must be a UI5 Component.\")}const s=await sap.ushell.Container.getServiceAsync(\"AppState\");return s.createEmptyAppState(e,t,n,a)};this.getStartupAppState=function(e){this._checkComponent(e);const t=e.getComponentData();const n=t&&t[\"sap-xapp-state\"];const a=n&&n[0];return this.getAppState(e,a)};this._checkComponent=function(e){if(!m.isA(e,\"sap.ui.core.UIComponent\")){throw new Error(\"oComponent passed must be a UI5 Component\")}};this.getAppState=function(e,t){const n=new jQuery.Deferred;this._checkComponent(e);sap.ushell.Container.getServiceAsync(\"AppState\").then(a=>{if(typeof t!==\"string\"){if(t!==undefined){h.error(\"Illegal Argument sAppStateKey \")}setTimeout(()=>{const t=a.createEmptyUnmodifiableAppState(e);n.resolve(t)},0);return}a.getAppState(t).done(n.resolve).fail(n.reject)});return n.promise()};this.getAppStateData=function(e){return c.invokeUnfoldingArrayArguments(this._getAppStateData.bind(this),[e])};this._getAppStateData=function(e){const t=new jQuery.Deferred;sap.ushell.Container.getServiceAsync(\"AppState\").then(n=>{if(typeof e!==\"string\"){if(e!==undefined){h.error(\"Illegal Argument sAppStateKey \")}setTimeout(()=>{t.resolve(undefined)},0)}else{n.getAppState(e).done(e=>{t.resolve(e.getData())}).fail(t.resolve.bind(t,undefined))}});return t.promise()};this.saveMultipleAppStates=function(e){const t=[];const n=new jQuery.Deferred;e.forEach(e=>{t.push(e.save())});jQuery.when.apply(this,t).done(()=>{n.resolve(t)}).fail(()=>{n.reject(\"save failed\")});return n.promise()};this._processShellHashWithParams=function(e){if(e?.processParams===true&&e?.target?.shellHash&&e?.params){const t=f.parseShellHash(e.target.shellHash);e.target={semanticObject:t.semanticObject,action:t.action,contextRaw:t.contextRaw};e.appSpecificRoute=t.appSpecificRoute;e.params=Object.assign({},e.params,t.params)}};this.getSupportedAppStatePersistencyMethods=function(){h.error(\"Deprecated API call of 'sap.ushell.CrossApplicationNavigation.getSupportedAppStatePersistencyMethods'. Please use 'getSupportedAppStatePersistencyMethodsAsync' instead\",null,\"sap.ushell.services.CrossApplicationNavigation\");const e=sap.ushell.Container.getService(\"AppState\");return e.getSupportedPersistencyMethods()};this.getSupportedAppStatePersistencyMethodsAsync=async function(){const e=await sap.ushell.Container.getServiceAsync(\"AppState\");return e.getSupportedPersistencyMethods()};this.makeStatePersistent=function(e,t,n){const a=new jQuery.Deferred;sap.ushell.Container.getServiceAsync(\"AppState\").then(s=>{s.makeStatePersistent(e,t,n).done(a.resolve).fail(a.reject)});return a.promise()};this.resolveIntent=function(e){const t=new jQuery.Deferred;sap.ushell.Container.getServiceAsync(\"NavTargetResolutionInternal\").then(n=>{n.resolveHashFragment(e).then(e=>{t.resolve({url:e.url})}).fail(e=>{t.reject(e)})});return t.promise()}}y.hasNoAdapter=true;return y},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/DarkModeSupport\", [\"sap/base/Log\",\"sap/ui/core/Theming\",\"sap/ushell/Container\"],(e,t,o)=>{\"use strict\";const n=\"(prefers-color-scheme: dark)\";const s=\"(forced-colors: active)\";const r=\"(prefers-contrast: more)\";const i=[{id:\"sap_fiori_3_set\",type:\"SET\",label:\"SAP Quartz (Set)\",set:{themes:[{id:\"sap_fiori_3\",colorScheme:\"LIGHT\",contrast:\"LOW\"},{id:\"sap_fiori_3_dark\",colorScheme:\"DARK\",contrast:\"LOW\"},{id:\"sap_fiori_3_hcw\",colorScheme:\"LIGHT\",contrast:\"HIGH\"},{id:\"sap_fiori_3_hcb\",colorScheme:\"DARK\",contrast:\"HIGH\"}]}},{id:\"sap_horizon_set\",type:\"SET\",label:\"SAP Horizon (Set)\",set:{themes:[{id:\"sap_horizon\",colorScheme:\"LIGHT\",contrast:\"LOW\"},{id:\"sap_horizon_dark\",colorScheme:\"DARK\",contrast:\"LOW\"},{id:\"sap_horizon_hcw\",colorScheme:\"LIGHT\",contrast:\"HIGH\"},{id:\"sap_horizon_hcb\",colorScheme:\"DARK\",contrast:\"HIGH\"}]}}];function a(){}a.Mode={LIGHT:\"LIGHT\",DARK:\"DARK\"};a.prototype.prefersDark=function(){return window.matchMedia(n).matches};a.prototype.prefersContrast=function(){return window.matchMedia(s).matches||window.matchMedia(r).matches};a.prototype.setup=async function(){if(o.getUser().getDetectDarkMode()){await this.enableDarkModeBasedOnSystem()}};a.prototype.canAutomaticallyToggleDarkMode=function(){const e=new URLSearchParams(window.location.search);if(e.get(\"sap-theme\")||e.get(\"sap-ui-theme\")){return false}return true};a.prototype.isThemeSupportDarkMode=function(e){e=e||this._getCurrentTheme();return!!this._getThemeSet(e)};a.prototype._toggleDarkModeBasedOnSystemColorScheme=async function(){const e=this._getCurrentTheme();const t=this._getThemeSet(e);const n=this._getThemeFromSet(t,e);if(n){const e=this.prefersDark()?\"DARK\":\"LIGHT\";const s=this.prefersContrast()?\"HIGH\":\"LOW\";const r=this._findThemeInSet(t,e,s)||this._findThemeInSet(t,e,n.contrast);if(r?.id&&r.id!==n.id){const e=await o.getServiceAsync(\"UserInfo\");await e.updateThemeRoot(r.id);o.getUser().setTheme(r.id);e.updateUserPreferences(o.getUser())}}};a.prototype._applyDefaultUserTheme=function(){const e=o.getUser();if(e.constants&&e.constants.themeFormat){e.applyTheme(e.getTheme(e.constants.themeFormat.ORIGINAL_THEME))}};a.prototype._toggleMediaListener=function(e){if(e&&!this.fnOnMediaChange){this.fnOnMediaChange=this._toggleDarkModeBasedOnSystemColorScheme.bind(this);window.matchMedia(n).addEventListener(\"change\",this.fnOnMediaChange)}if(!e&&this.fnOnMediaChange){window.matchMedia(n).removeEventListener(\"change\",this.fnOnMediaChange);this.fnOnMediaChange=null}};a.prototype.enableDarkModeBasedOnSystem=async function(){if(!this.canAutomaticallyToggleDarkMode()){e.warning(\"Automatic dark mode detection is disabled when the theme is provided via url parameter\");return}const t=await o.getServiceAsync(\"UserInfo\");let n;if(t?.getThemeList){n=await t.getThemeList()}this._aThemeSets=n?.sets?.length?n.sets:i;await this._toggleDarkModeBasedOnSystemColorScheme();this._toggleMediaListener(true)};a.prototype.disableDarkModeBasedOnSystem=function(){this._toggleMediaListener(false);this._applyDefaultUserTheme()};a.prototype.toggleDetection=async function(e){if(e){await this.enableDarkModeBasedOnSystem()}else{this.disableDarkModeBasedOnSystem()}};a.prototype._getCurrentTheme=function(){return t.getTheme()};a.prototype._getThemeSet=function(e){const t=o.getUser().getThemeSet();const n=this._aThemeSets||[];function s(t){return!!t?.set.themes?.find?.(t=>t?.id===e)}const r=n.find(e=>e.id===t);return s(r)?r:n.find(s)};a.prototype._getThemeFromSet=function(e,t){return e?.set.themes.find(e=>e.id===t)};a.prototype._findThemeInSet=function(e,t,o){return e?.set.themes.find(e=>e?.colorScheme===t&&e?.contrast===o)};a.hasNoAdapter=true;return a},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/EndUserFeedback\", [\"sap/ui/thirdparty/URI\"],t=>{\"use strict\";function e(){this.sendFeedback=function(){return Promise.resolve()};this.getLegalText=function(){return\"\"};this.isEnabled=function(){return Promise.reject()};this.getPathOfURL=function(e){const n=new t(e);return n.pathname()}}e.hasNoAdapter=true;return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Extension\", [\"sap/base/Log\",\"sap/ui/core/Element\",\"sap/ushell/services/Extension/Item\",\"sap/ushell/Container\",\"sap/ushell/utils\"],(e,t,n,i,r)=>{\"use strict\";function o(){}o.prototype._createItemVisibilityHandler=function(e,t,n){return async function i(o,a,d){const s=d?[d]:undefined;if(o){await r.promisify(t(e,a,s));return}await r.promisify(n(e,a,s))}};o.prototype._createControl=async function(e,t){return r.promisify(e(...t))};o.prototype.createHeaderItem=async function(n,i={}){if(n.id){if(t.getElementById(n.id)){throw new Error(\"The control id is not allowed for header items! The id will be generated automatically and must not be set by the application.\")}e.error(\"The control id is not allowed for header items! The id will be generated automatically. - For plugins use sap.ushell.services.FrameBoundExtension instead.\");delete n.id}const{position:r,helpId:o}=i;const a=[\"begin\",\"end\",undefined];if(!a.includes(r)){throw new Error(`Unexpected Input: '${r}' is not a valid position!`)}if(r===\"begin\"){return this._createHeaderStartItem(n,o)}return this._createHeaderEndItem(n,o)};o.prototype._createHeaderStartItem=async function(e,t){const r=i.getRendererInternal();const o=[e,false,undefined,undefined];const a=r.addHeaderItem.bind(r);const d=r.showHeaderItem.bind(r);const s=r.hideHeaderItem.bind(r);const l=await this._createControl(a,o);const c=this._createItemVisibilityHandler(l.getId(),d,s);if(t){l.data(\"help-id\",t,true)}return new n(l,c)};o.prototype._createHeaderEndItem=async function(e,t){const r=i.getRendererInternal();const o=[e,false,undefined,undefined];const a=r.addHeaderEndItem.bind(r);const d=r.showHeaderEndItem.bind(r);const s=r.hideHeaderEndItem.bind(r);const l=await this._createControl(a,o);const c=this._createItemVisibilityHandler(l.getId(),d,s);if(t){l.data(\"help-id\",t,true)}return new n(l,c)};o.prototype.createUserAction=async function(r,o={}){if(r.id){if(t.getElementById(r.id)){throw new Error(\"The control id is not allowed for header items! The id will be generated automatically and must not be set by the application.\")}e.error(\"The control id is not allowed for header items! The id will be generated automatically. - For plugins use sap.ushell.services.FrameBoundExtension instead.\");delete r.id}const a=i.getRendererInternal();const d=[{controlType:o.controlType||\"sap.m.Button\",oControlProperties:r,bIsVisible:false,bCurrentState:undefined,aStates:undefined}];const s=a.addUserAction.bind(a);const l=a.showActionButton.bind(a);const c=a.hideActionButton.bind(a);const u=await this._createControl(s,d);const p=this._createItemVisibilityHandler(u.getId(),l,c);if(o.helpId){u.data(\"help-id\",o.helpId,true)}return new n(u,p)};o.prototype.setSecondTitle=async function(e){const t=i.getRendererInternal();t.setHeaderTitle(e)};o.hasNoAdapter=true;return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Extension/Item\", [\"sap/base/Log\",\"sap/ushell/state/StateManager\"],(t,i)=>{\"use strict\";class e{#t=null;#i={};#e=async(t,i,e)=>{throw new Error(\"Shall be implemented by item\")};constructor(t,e){this.#t=t;this.#e=e;i.removeManagedControl(this.#t.getId());i.addManagedControl(this.#t.getId())}async destroy(){this.hideForAllApps().hideForCurrentApp().hideOnHome();this.#t.destroy()}setVisibilityForCurrentApp(i){if(!i&&this.#i[this.#r()]){t.warning(\"The item was set to 'visible' for the current launchpad state and cannot be turned off for this app\")}this.#e(i,true,undefined)}setVisibilityForLaunchpadState(t,e){if(e){i.updateManagedControl(this.#t.getId(),true)}this.#i[t]=e;this.#e(e,false,t)}showForCurrentApp(){this.setVisibilityForCurrentApp(true);return this}hideForCurrentApp(){if(this.#i[this.#r()]){t.warning(\"The extension was set visible for the current launchpad state and cannot be turned off for this app\")}this.setVisibilityForCurrentApp(false);return this}showForAllApps(){this.setVisibilityForLaunchpadState(\"app\",true);return this}hideForAllApps(){this.setVisibilityForLaunchpadState(\"app\",false);return this}showOnHome(){this.setVisibilityForLaunchpadState(\"home\",true);return this}hideOnHome(){this.setVisibilityForLaunchpadState(\"home\",false);return this}#r(){const t=i.getLaunchpadState();return t}}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/FlpLaunchPage\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ushell/services/ContentExtensionAdapterFactory\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/resources\",\"sap/ushell/Config\",\"sap/m/library\",\"sap/m/GenericTile\",\"sap/ushell/Container\"],(e,t,r,jQuery,i,o,n,s,a)=>{\"use strict\";const l=n.LoadState;function u(n){const u=this;const d=[];this.oAdapters={default:n};const g=r.getAdapters();g.then(e=>{t(this.oAdapters,e)});this.getGroups=function(){if(o.last(\"/core/spaces/enabled\")){return(new jQuery.Deferred).resolve([]).promise()}const t=new jQuery.Deferred;g.then(()=>{const r=Object.keys(u.oAdapters).map(e=>u._getAdapter(e).getGroups());jQuery.when.apply(jQuery,r).done(function(){t.resolve([].concat.apply([],arguments))}).fail(()=>{e.error(\"getGroups failed\")})});return t.promise()};this.getGroupsForBookmarks=function(t){const r=new jQuery.Deferred;this.getGroups().then(o=>{this.getDefaultGroup().then(e=>{if(o.length>0){o=o.filter(e=>{if(t===true){return this.isGroupVisible(e)}return!this.isGroupLocked(e)&&this.isGroupVisible(e)});o=o.map(t=>({title:t===e&&i.i18n.getText(\"my_group\")||this.getGroupTitle(t),object:t}))}r.resolve(o)},t=>{e.error(`getGroupsForBookmarks - getDefaultGroup - failed: ${t.message}`)})},t=>{e.error(`getGroupsForBookmarks - getGroups - failed: ${t.message}`)});return r.promise()};this.getGroupTilesForSearch=function(e){const t=this._getAdapter(e.contentProvider);if(t.getGroupTileClones){return t.getGroupTileClones(e)}return Promise.resolve(this.getGroupTiles(e))};this.getDefaultGroup=function(){const t=this._getAdapter().getDefaultGroup();t.fail(()=>{e.error(\"getDefaultGroup failed\")});return t};this.getGroupTitle=function(e){return this._getAdapter(e.contentProvider).getGroupTitle(e)};this.getGroupId=function(e){return this._getAdapter(e.contentProvider).getGroupId(e)};this.getGroupById=function(e){const t=new jQuery.Deferred;this.getGroups().then(r=>{t.resolve(r.find(t=>this.getGroupId(t)===e))});return t.promise()};this.getGroupTiles=function(e){return this._getAdapter(e.contentProvider).getGroupTiles(e)};this.getTilesByGroupId=function(e){const t=new jQuery.Deferred;this.getGroupById(e).then(r=>{if(r){let i=this._getAdapter(r.contentProvider).getGroupTiles(r);if(i){i=i.map(t=>({id:this.getTileId(t),title:this.getTileTitle(t),subtitle:this.getCatalogTilePreviewSubtitle(t),url:this.getCatalogTileTargetURL(t),icon:this.getCatalogTilePreviewIcon(t),groupId:e}))}else{i=[]}t.resolve(i)}else{t.resolve([])}});return t.promise()};this.getLinkTiles=function(e){return this._getAdapter(e.contentProvider).getLinkTiles(e)};this.addGroupAt=function(t,r){let i;const o=r;const n=this._getAdapter();if(n.addGroupAt){i=n.addGroupAt(t,r);i.fail(()=>{e.error(`addGroup ${t} failed`)})}else{const r=new jQuery.Deferred;i=n.addGroup(t);i.done(e=>{const t=this.moveGroup(e,o);const i=e;t.done(()=>{r.resolve(i)});t.fail(r.reject)});i.fail(()=>{e.error(`addGroup ${t} failed`);r.reject()});return r.promise()}return i};this.addGroup=function(t){const r=this._getAdapter().addGroup(t);r.fail(()=>{e.error(`addGroup ${t} failed`)});return r};this.removeGroup=function(t,r){const i=this._getAdapter(t.contentProvider).removeGroup(t,r);i.fail(()=>{e.error(`Fail to removeGroup ${u.getGroupTitle(t)}`)});return i};this.resetGroup=function(t,r){const i=this._getAdapter(t.contentProvider).resetGroup(t,r);i.fail(()=>{e.error(`Fail to resetGroup ${u.getGroupTitle(t)}`)});return i};this.isGroupRemovable=function(e){return this._getAdapter(e.contentProvider).isGroupRemovable(e)};this.isGroupLocked=function(e){const t=this._getAdapter(e.contentProvider);if(typeof t.isGroupLocked===\"function\"){return t.isGroupLocked(e)}return false};this.isGroupFeatured=function(e){const t=this._getAdapter(e.contentProvider);if(typeof t.isGroupFeatured===\"function\"){return t.isGroupFeatured(e)}return false};this.moveGroup=function(t,r){const i=this._getAdapter(t.contentProvider).moveGroup(t,r);i.fail(()=>{e.error(`Fail to moveGroup ${u.getGroupTitle(t)}`)});return i};this.setGroupTitle=function(t,r){const i=this._getAdapter(t.contentProvider).setGroupTitle(t,r);i.fail(()=>{e.error(`Fail to set Group title: ${u.getGroupTitle(t)}`)});return i};this.hideGroups=function(t){const r=new jQuery.Deferred;const i=this._getAdapter();if(typeof i.hideGroups!==\"function\"){r.reject(\"hideGroups() is not implemented in the Adapter.\")}else{i.hideGroups(t).done(()=>{r.resolve()}).fail(t=>{e.error(`Fail to store groups visibility.${t}`);r.reject()})}return r.promise()};this.isGroupVisible=function(e){const t=this._getAdapter(e.contentProvider);if(typeof t.isGroupVisible===\"function\"){return t.isGroupVisible(e)}return true};this.addTile=function(t,r){return this._getAdapter(r.contentProvider).addTile(t,r).fail((r,i)=>{e.error(`Fail to add Tile: ${u.getCatalogTileId(t)}`,i,\"sap.ushell.services.LaunchPage\")})};this.removeTile=function(t,r,i){const o=new jQuery.Deferred;a.getServiceAsync(\"AppState\").then(n=>{this._getAdapter(t.contentProvider).removeTile(t,r,i).done(()=>{const e=this.getCatalogTileTargetURL(r);this.deleteURLStatesPersistentData(e,n);o.resolve()}).fail(t=>{e.error(`Fail to remove Tile: ${this.getTileId(r)}`);o.reject(t)})}).catch(o.reject);return o.promise()};this.moveTile=function(t,r,i,o,n,s){const a=this._getAdapter().moveTile(t,r,i,o,n,s);a.fail(()=>{e.error(`Fail to move Tile: ${u.getTileId(t)}`)});return a};this.isLinkPersonalizationSupported=function(e){const t=e&&e.contentProvider;const r=this._getAdapter(t);if(typeof r.isLinkPersonalizationSupported===\"function\"){return r.isLinkPersonalizationSupported(e)}return false};this.getTileId=function(e){const t=e&&e.contentProvider;return this._getAdapter(t).getTileId(e)};this.getTileTitle=function(e){const t=e&&e.contentProvider;return this._getAdapter(t).getTileTitle(e)};this.getTileType=function(e){const t=e&&e.contentProvider;const r=this._getAdapter(t);if(r.getTileType){return r.getTileType(e)}return\"tile\"};this.getTileView=function(e){const t=e&&e.contentProvider;let r=this._getAdapter(t).getTileView(e);if(typeof r.promise!==\"function\"){r=(new jQuery.Deferred).resolve(r).promise()}return r};this.getCardManifest=function(e){const t=e&&e.contentProvider;return this._getAdapter(t).getCardManifest(e)};this.getAppBoxPressHandler=function(e){const t=e&&e.contentProvider;const r=this._getAdapter(t);if(r.getAppBoxPressHandler){return r.getAppBoxPressHandler(e)}return undefined};this.getTileSize=function(e){const t=e&&e.contentProvider;return this._getAdapter(t).getTileSize(e)};this.getTileTarget=function(e){const t=e&&e.contentProvider;return this._getAdapter(t).getTileTarget(e)};this.getTileDebugInfo=function(e){const t=e&&e.contentProvider;const r=this._getAdapter(t);if(typeof r.getTileDebugInfo===\"function\"){return r.getTileDebugInfo(e)}return undefined};this.isTileIntentSupported=function(e){const t=e&&e.contentProvider;const r=this._getAdapter(t);if(typeof r.isTileIntentSupported===\"function\"){return r.isTileIntentSupported(e)}return true};this.refreshTile=function(e){const t=e&&e.contentProvider;this._getAdapter(t).refreshTile(e)};this.setTileVisible=function(e,t){const r=e&&e.contentProvider;this._getAdapter(r).setTileVisible(e,t)};this.registerTileActionsProvider=function(e){if(typeof e!==\"function\"){throw new Error(\"Tile actions Provider is not a function\")}d.push(e)};this.getTileActions=function(e){const t=[];let r;const i=e&&e.contentProvider;const o=this._getAdapter(i);if(typeof o.getTileActions===\"function\"){r=o.getTileActions(e);if(r&&r.length){t.push.apply(t,r)}}for(let i=0;i{e.error(`Fail to get Tiles of Catalog: ${u.getCatalogTitle(t)}`)});return r};this.getCatalogTileId=function(e){return this._getAdapter(e.contentProvider).getCatalogTileId(e)};this.getCatalogTileContentProviderId=function(e){if(this._getAdapter(e.contentProvider).getCatalogTileContentProviderId){return this._getAdapter(e.contentProvider).getCatalogTileContentProviderId(e)}return\"\"};this.getStableCatalogTileId=function(e){const t=this._getAdapter(e.contentProvider);if(t&&!t.getStableCatalogTileId){return null}return t.getStableCatalogTileId(e)};this.getCatalogTileTitle=function(e){const t=e&&e.contentProvider;return this._getAdapter(t).getCatalogTileTitle(e)};this.getCatalogTileSize=function(e){const t=e&&e.contentProvider;return this._getAdapter(t).getCatalogTileSize(e)};this.getCatalogTileViewControl=function(e,t){const r=e&&e.contentProvider;const i=this._getAdapter(r);if(typeof i.getCatalogTileViewControl===\"function\"){return i.getCatalogTileViewControl(e,t)}const o=new jQuery.Deferred;const n=this.getCatalogTileView(e,t);o.resolve(n);return o.promise()};this.getCatalogTileView=function(t,r){e.error(\"Deprecated API call of 'sap.ushell.LaunchPage.getCatalogTileView'. Please use 'getCatalogTileViewControl' instead\",null,\"sap.ushell.services.LaunchPage\");const i=t&&t.contentProvider;const o=this._getAdapter(i);if(o.getCatalogTileView){return o.getCatalogTileView(t,r)}const n=this.getTileTitle(t)||this.getCatalogTileTitle(t);return this._createErrorTile(n,\"The LaunchPageAdapter does not support getCatalogTileView\")};this._createErrorTile=function(e,t){const r=new s({state:l.Failed,header:e,subheader:t||\"\"}).addStyleClass(\"sapUshellTileError\");return r};this.getCatalogTileTargetURL=function(e){const t=e&&e.contentProvider;return this._getAdapter(t).getCatalogTileTargetURL(e)};this.getCata Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/System\", [],()=>{\"use strict\";function t(t){this._oData=t}t.prototype.getAlias=function(){return this._oData.alias};t.prototype.getBaseUrl=function(){return this._oData.baseUrl};t.prototype.getClient=function(){return this._oData.client};t.prototype.getClientRole=function(){return this._oData.clientRole};t.prototype.getName=function(){return this._oData.system};t.prototype.getPlatform=function(){return this._oData.platform};t.prototype.getProductVersion=function(){return this._oData.productVersion};t.prototype.getProductName=function(){return this._oData.productName};t.prototype.getSystemName=function(){return this._oData.systemName};t.prototype.getSystemRole=function(){return this._oData.systemRole};t.prototype.getTenantRole=function(){return this._oData.tenantRole};t.prototype.isTrial=function(){return!!this._oData.isTrialSystem};t.prototype.getSysInfoBar=function(){return!!this._oData.sysInfoBar};t.prototype.getSysInfoBarColor=function(){return this._oData.sysInfoBarColor};t.prototype.getSysInfoBarMainText=function(){return this._oData.sysInfoBarMainText};t.prototype.getSysInfoBarSecondaryText=function(){return this._oData.sysInfoBarSecondaryText};t.prototype.getSysInfoBarIcon=function(){return this._oData.sysInfoBarIcon};t.prototype.adjustUrl=function(t){if(t.indexOf(\"/\")!==0||t===\"/\"){throw new Error(`Invalid URL: ${t}`)}if(this._oData.baseUrl===\";o=\"){if(this._oData.alias){t=`${t};o=${this._oData.alias}`}}else if(this._oData.baseUrl){t=this._oData.baseUrl.replace(/\\/$/,\"\")+t}if(this._oData.client){t+=`${t.indexOf(\"?\")>=0?\"&\":\"?\"}sap-client=${this._oData.client}`}return t};t.prototype.toString=function(){return JSON.stringify(this._oData)};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/TechnicalParameters\", [\"sap/ushell/utils/type\"],e=>{\"use strict\";function t(e){return Promise.reject(`${e} is reserved for shell internal usage only`)}function r(e,t){if(t){const r=t.getComponentData()||{};const n=r.technicalParameters||{};return n[e]}return undefined}function n(t,r){let n=r.getManifestEntry(t);if(n&&!e.isArray(n)){n=[n]}return n}function a(e,t){const r=t.getReservedParameters();return r&&r[e]}const i={\"sap-navigation-scope\":{injectFrom:\"inboundParameter\",sticky:true,stickyName:\"sap-navigation-scope-filter\",isIntentParameter:true,getValue:function(e,t,n,i){return new Promise((s,u)=>{if(i===\"UI5\"){s(r(e,t))}else{s(a(e,n))}})}},\"sap-fiori-id\":{injectFrom:\"startupParameter\",isIntentParameter:true,getValue:function(e,t,i,s){return new Promise((u,o)=>{if(s===\"UI5\"){u(r(e,t)||n(\"/sap.fiori/registrationIds\",t))}else{u(a(e,i))}})}},\"sap-ui-fl-max-layer\":{injectFrom:\"startupParameter\",isIntentParameter:true,getValue:function(e,t){return Promise.resolve().then(r.bind(null,e,t))}},\"sap-ui-fl-control-variant-id\":{injectFrom:\"startupParameter\",isIntentParameter:false,getValue:function(e,t){return Promise.resolve().then(r.bind(null,e,t))}},\"sap-ui-fl-version\":{injectFrom:\"startupParameter\",isIntentParameter:true,getValue:function(e,t){return Promise.resolve().then(r.bind(null,e,t))}},\"sap-ui-app-id-hint\":{injectFrom:\"startupParameter\",isIntentParameter:true,getValue:t},\"sap-ach\":{injectFrom:\"startupParameter\",isIntentParameter:true,getValue:function(e,t,i,s){return new Promise((u,o)=>{if(s===\"UI5\"){u(r(e,t)||n(\"/sap.app/ach\",t))}else{u(a(e,i))}})}},\"sap-prelaunch-operations\":{injectFrom:\"inboundParameter\",isIntentParameter:true,getValue:t},\"sap-app-origin-hint\":{injectFrom:\"startupParameter\",isIntentParameter:false,getValue:t},\"sap-app-origin\":{injectFrom:\"startupParameter\",isIntentParameter:false,getValue:t}};function s(e,t,r,n){if(!i[e]){return Promise.reject(`${e} is not a known technical parameter`)}return i[e].getValue(e,t,r,n)}function u(e){if(!e){e={}}return Object.keys(i).filter(t=>{const r=i[t];return Object.keys(e).every(t=>{const n=e[t];const a=r.hasOwnProperty(t);if(a){return r[t]===n}return false})}).map(e=>Object.keys(i[e]).reduce((t,r)=>{t[r]=i[e][r];return t},{name:e}))}function o(){return Object.keys(i)}function c(e){return i.hasOwnProperty(e)}function m(e,t,n,i){if(i===\"UI5\"){return r(e,t)}return a(e,n)}return{getParameterValue:s,getParameterValueSync:m,getParameters:u,getParameterNames:o,isTechnicalParameter:c}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/UI5ComponentType\", [],()=>{\"use strict\";return{Application:\"Application\",Plugin:\"Plugin\",Visualization:\"Visualization\"}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/UIActions\", [\"sap/ui/core/Element\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,jQuery,t)=>{\"use strict\";function l(){const e=document.activeElement?document.activeElement.tagName:\"\";return e===\"INPUT\"||e===\"TEXTAREA\"}function s(s){if(!s||!s.rootSelector||!s.containerSelector||!s.draggableSelector){throw new Error(\"No configuration object to initialize User Interaction module.\")}this.captureStart=null;this.captureMove=null;this.captureEnd=null;this.clickCallback=null;this.clickEvent=null;this.clickHandler=null;this.clone=null;this.cloneClass=null;this.container=null;this.contextMenuEvent=null;this.debug=null;this.defaultMouseMoveEvent=null;this.deltaTop=0;this.disabledDraggableSelector=null;this.dragAndScrollCallback=null;this.dragAndScrollDuration=null;this.dragAndScrollTimer=null;this.draggable=null;this.placeHolderClass=null;this.draggableSelector=null;this.draggableSelectorExclude=null;this.doubleTapCallback=null;this.doubleTapDelay=null;this.element=null;this.endDragAndScrollCallback=null;this.endX=null;this.endY=null;this.isLayoutEngine=null;this.isTouch=null;this.isCombi=null;this.lastElement=null;this.lastTapTime=null;this.lockMode=null;this.log=null;this.mode=null;this.mouseDownEvent=null;this.mouseMoveEvent=null;this.mouseUpEvent=null;this.moveTolerance=null;this.moveX=null;this.moveY=null;this.noop=null;this.onDragStartUIHandler=null;this.onDragEndUIHandler=null;this.preventClickFlag=null;this.preventClickTimeoutId=null;this.scrollContainer=null;this.scrollContainerSelector=null;this.scrollEvent=null;this.scrollTimer=null;this.startX=null;this.startY=null;this.switchModeDelay=null;this.tapsNumber=null;this.timer=null;this.scrollHandler=null;this.touchCancelEvent=null;this.dragCallback=null;this.onBeforeCreateClone=null;this.endCallback=null;this.touchEndEvent=null;this.touchMoveEvent=null;this.startCallback=null;this.touchStartEvent=null;this.wrapper=null;this.wrapperRect=null;this.scrollCallback=null;this.draggableElement=null;this.offsetLeft=0;this.elementsToCapture=null;this.init=function(e){this.startX=-1;this.startY=-1;this.moveX=-1;this.moveY=-1;this.endX=-1;this.endY=-1;this.noop=function(){};this.isLayoutEngine=e.isLayoutEngine||false;if(this.isLayoutEngine){this.moveDraggable=this.noop}this.isTouch=e.isTouch?!!e.isTouch:false;this.isCombi=e.isCombi?!!e.isCombi:false;this.container=document.querySelector(e.containerSelector);this.scrollContainerSelector=e.scrollContainerSelector||e.containerSelector;this.switchModeDelay=e.switchModeDelay||1500;this.dragAndScrollDuration=e.dragAndScrollDuration||160;this.moveTolerance=e.moveTolerance===0?0:e.moveTolerance||16;this.draggableSelector=e.draggableSelector;this.draggableSelectorBlocker=e.draggableSelectorBlocker||e.rootSelector;this.draggableSelectorExclude=e.draggableSelectorExclude;this.mode=\"normal\";this.debug=e.debug||false;this.root=document.querySelector(e.rootSelector)||document.querySelector(\"#canvas\");this.tapsNumber=0;this.lastTapTime=0;this.log=this.debug?t.debug:this.noop;this.lockMode=false;this.placeHolderClass=e.placeHolderClass||\"\";this.cloneClass=e.cloneClass||\"\";this.deltaTop=e.deltaTop||0;this.wrapper=e.wrapperSelector?document.querySelector(e.wrapperSelector):this.container.parentNode;this.clickCallback=typeof e.clickCallback===\"function\"?e.clickCallback:this.noop;this.startCallback=typeof e.startCallback===\"function\"?e.startCallback:this.noop;this.doubleTapCallback=typeof e.doubleTapCallback===\"function\"?e.doubleTapCallback:this.noop;this.endCallback=typeof e.endCallback===\"function\"?e.endCallback:this.noop;this.dragCallback=typeof e.dragCallback===\"function\"?e.dragCallback:this.noop;this.onBeforeCreateClone=typeof e.onBeforeCreateClone===\"function\"?e.onBeforeCreateClone:this.noop;this.dragAndScrollCallback=typeof e.dragAndScrollCallback===\"function\"?e.dragAndScrollCallback:this.noop;this.endDragAndScrollCallback=typeof e.endDragAndScrollCallback===\"function\"?e.endDragAndScrollCallback:this.noop;this.scrollCallback=typeof e.scrollCallback===\"function\"?e.scrollCallback:this.noop;this.doubleTapDelay=e.doubleTapDelay||500;this.wrapperRect=this.wrapper.getBoundingClientRect();this.scrollEvent=\"scroll\";this.touchStartEvent=\"touchstart\";this.touchMoveEvent=\"touchmove\";this.touchEndEvent=\"touchend\";this.mouseDownEvent=\"mousedown\";this.mouseMoveEvent=\"mousemove\";this.mouseUpEvent=\"mouseup\";this.contextMenuEvent=\"contextmenu\";this.touchCancelEvent=\"touchcancel\";this.defaultMouseMoveEvent=\"mousemove\";this.clickEvent=\"click\";this.isVerticalDragOnly=e.isVerticalDragOnly||false;this.draggableElement=e.draggableElement;this.offsetLeft=e.offsetLeft;this.elementsToCapture=e.elementToCapture?jQuery(e.elementToCapture):this.root;this.disabledDraggableSelector=e.disabledDraggableSelector;this.onDragStartUIHandler=typeof e.onDragStartUIHandler===\"function\"?e.onDragStartUIHandler:this.noop;this.onDragEndUIHandler=typeof e.onDragEndUIHandler===\"function\"?e.onDragEndUIHandler:this.noop;this.defaultMouseMoveHandler=e.defaultMouseMoveHandler||this.noop};this.forEach=function(e,t){return Array.prototype.forEach.call(e,t)};this.indexOf=function(e,t){return Array.prototype.indexOf.call(e,t)};this.insertBefore=function(e,t,l){const s=Array.prototype.splice;const i=this.indexOf(e,t);const n=this.indexOf(e,l);s.call(e,n-(i0)){s=true}if(!s&&l&&this.indexOf(this.draggable,e)>=0){t=e}e=e.parentNode}return t};this.captureStart=function(e){let t;if(e.type===\"touchstart\"&&e.touches.length===1){t=e.touches[0]}else if(e.type===\"mousedown\"){t=e;if(e.which!==1){return}}if(t){this.element=this.getDraggableElement(t.target);this.startX=this.moveX=t.pageX;this.startY=this.moveY=t.pageY;this.lastMoveX=0;this.lastMoveY=0;if(this.lastTapTime&&this.lastElement&&this.element&&this.lastElement===this.element&&Math.abs(Date.now()-this.lastTapTime){if(!jQuery(this.element).hasClass(this.disabledDraggableSelector)){this.log(\"mode switched to drag\");this.mode=\"drag\";this.onBeforeCreateClone(e,this.element);this.createClone();this.dragCallback(e,this.element)}else{this.onDragStartUIHandler()}this.isTouchEvent=false},this.switchModeDelay)}}}}.bind(this);this.captureMove=function(e){let t;if(e.type===\"touchmove\"&&e.touches.length===1){t=e.touches[0]}else if(e.type===\"mousemove\"){t=e}if(t){this.moveX=t.pageX;this.moveY=t.pageY;this.log(`captureMove(${this.moveX}, ${this.moveY})`)}};this.moveHandler=function(e){if(l()){return}let t;this.log(\"moveHandler\");this.captureMove(e);if(this.element&&e.type===\"mousemove\"&&e.buttons===0){this.endHandler(e);return}switch(this.mode){case\"normal\":if(Math.abs(this.startX-this.moveX)>this.moveTolerance||Math.abs(this.startY-this.moveY)>this.moveTolerance){if(this.isTouch||this.isTouchEvent){this.log(\"-> normal\");clearTimeout(this.timer);delete this.timer}else if(this.element){this.onDragStartUIHandler();if(!jQuery(this.element).hasClass(this.disabledDraggableSelector)){this.log(\"mode switched to drag\");this.mode=\"drag\";this.onBeforeCreateClone(e,this.element);this.createClone()}else{this.preventClick();this.element=null}}}break;case\"drag\":e.preventDefault();this.onDragStartUIHandler();this.log(\"-> drag\");if(this.isVerticalDragOnly){this.mode=\"vertical-drag\"}else{this.mode=\"drag-and-scroll\"}window.addEventListener(this.mouseUpEvent,this.endHandler,true);this.translateClone();this.scrollContainer=document.querySelector(this.scrollContainerSelector);this.dragAndScroll();if(!this.isTouch){this.dragCallback(e,this.element)}break;case\"drag-and-scroll\":e.stopPropagation();e.preventDefault();this.log(\"-> drag-and-scroll\");t=this.dragAndScroll();this.translateClone();if(!t){this.moveDraggable()}this.dragAndScrollCallback({evt:e,clone:this.clone,isScrolling:t,moveX:this.moveX,moveY:this.moveY});break;case\"vertical-drag\":e.stopPropagation();e.preventDefault();t=this.dragAndScroll();this.translateClone();if(!t){this.moveDraggableVerticalOnly(this.moveX,this.moveY)}this.dragAndScrollCallback({evt:e,clone:this.clone,isScrolling:t,moveX:this.moveX,moveY:this.moveY});break;default:break}}.bind(this);this.captureEnd=function(e){let t;if((e.type===\"touchend\"||e.type===\"touchcancel\")&&e.changedTouches.length===1){t=e.changedTouches[0]}else if(e.type===\"mouseup\"){t=e}if(t){this.endX=t.pageX;this.endY=t.pageY;this.log(`captureEnd(${this.endX}, ${this.endY})`)}};this.contextMenuHandler=function(e){if(this.isTouch){e.preventDefault()}}.bind(this);this.clickHandler=function(e){if(this.preventClickFlag){this.preventClickFlag=false;e.preventDefault();e.stopPropagation();e.stopImmediatePropagation();clearTimeout(this.preventClickTimeoutId)}this.clickCallback()}.bind(this);this.preventClick=function(){this.preventClickFlag=true;this.preventClickTimeoutId=setTimeout(()=>{this.preventClickFlag=false},100)};this.endCallbackAdapter=function(e,t,l){const s=this.endCallback.apply(null,arguments);jQuery.when(s).then(()=>{this.removeClone(t,l.clone);this.onDragEndUIHandler(e)});this.preventClick()};this.endHandler=function(e){this.log(\"endHandler\");this.captureEnd(e);switch(this.mode){case\"normal\":this.onDragEndUIHandler(e);this.log(\"-> normal\");break;case\"drag\":this.log(\"-> drag\");this.endCallbackAdapter(e,this.element,{clone:this.clone});break;case\"drag-and-scroll\":this.log(\"-> drag-and-scroll\");window.removeEventListener(this.mouseUpEvent,this.endHandler,true);this.endCallbackAdapter(e,this.element,{deltaX:this.moveX-this.startX,deltaY:this.moveY-this.startY,clone:this.clone});e.stopPropagation();e.preventDefault();break;case\"vertical-drag\":this.log(\"-> vertical-drag\");window.removeEventListener(this.mouseUpEvent,this.endHandler,true);this.endCallbackAdapter(e,this.element,{clone:this.clone});e.stopPropagation();e.preventDefault();break;case\"double-tap\":this.log(\"-> double-tap\");this.doubleTapCallback(e,this.element);break;default:break}clearTimeout(this.timer);delete this.timer;this.lastMoveX=0;this.lastMoveY=0;this.element=null;this.clone=null;this.mode=\"normal\"}.bind(this);this.scrollHandler=function(){clearTimeout(this.scrollTimer);this.lockMode=true;this.scrollTimer=setTimeout(()=>{this.lockMode=false},500)}.bind(this);this.createClone=function(){let t;this.preventClickFlag=true;if(e.getElementById(this.element.id)&&e.getElementById(this.element.id).getBoundingRects){t=e.getElementById(this.element.id).getBoundingRects()[0];t.top=t.offset.y;t.left=t.offset.x;t.width+=5}else{t=this.element.getBoundingClientRect()}this.clone=this.element.cloneNode(true);this.clone.removeAttribute(\"id\");this.clone.removeAttribute(\"data-sap-ui\");this.clone.className+=` ${this.cloneClass}`;this.element.className+=` ${this.placeHolderClass}`;const l=this.clone.style;l.position=\"fixed\";l.display=\"block\";l.top=`${t.top+this.deltaTop}px`;l.left=`${t.left}px`;l.width=`${t.width}px`;l.zIndex=\"100\";this.root.appendChild(this.clone);this.log(\"createClone\")};this.removeClone=function(e,t){this.preventClick();e.className=e.className.split(` ${this.placeHolderClass}`).join(\" \");t.parentElement.removeChild(t);this.log(\"removeClone\")};this.translateClone=function(){const e=this.moveX-this.startX;const t=this.moveY-this.startY;this.clone.style.webkitTransform=`translate3d(${e}px, ${t}px, 0px)`;this.clone.style.mozTransform=`translate3d(${e}px, ${t}px, 0px)`;this.clone.style.msTransform=`translate(${e}px, ${t}px)`;this.clone.style.transform=`translate3d(${e}px, ${t}px, 0px)`;this.log(`translateClone (${e}, ${t})`)};this.dragAndScroll=function(){let e;let t;const l=this;function s(){let e;let t;if(l.clone){e=l.clone.getBoundingClientRect();t=l.wrapperRect.top-e.top;if(t>0){return t}t=l.wrapper.offsetTop+l.wrapper.offsetHeight-(e.top+l.clone.offsetHeight);if(t<0){return t}}return 0}function i(){if(l.endDragAndScrollCallback(l.moveY)){return false}if(e<0){return l.wrapper.getBoundingClientRect().top-(l.container.getBoundingClientRect().top+l.container.offsetHeight)+l.wrapper.offsetHeight<0}return l.container.getBoundingClientRect().top-(l.wrapper.getBoundingClientRect().top+l.container.offsetTop)<0}function n(){l.dragAndScrollTimer=setTimeout(()=>{l.wrapper.scrollTop-=e;l.dragAndScrollTimer=undefined;if((e=s())!==0&&i()){n()}l.scrollCallback()},t)}e=s();if(e!==0&&!this.dragAndScrollTimer&&i()){t=this.dragAndScrollDuration;this.scrollContainer=this.scrollContainer||document.querySelector(this.scrollContainerSelector);n()}this.log(`dragAndScroll (${e})`);return e!==0&&i()};this.moveDraggableVerticalOnly=function(){let e;let t;let l;let s=true;this.forEach(this.draggable,(i,n)=>{if(!e){l=i.getBoundingClientRect();t=!(l.bottomthis.moveY);if(t){e=i;if(l.top+l.height/2{if(!s){a=e.getBoundingClientRect();n=!(a.rightthis.moveX);o=!(a.bottomthis.moveY);if(n&&o){s=e;i=t}}});if(s&&this.element!==s){l=this.indexOf(this.draggable,this.element);if(Math.abs(this.lastMoveX-this.moveX)>=this.moveTolerance||Math.abs(this.lastMoveY-this.moveY)>=this.moveTolerance){if(i<=l){s.parentNode.insertBefore(this.element,s);this.insertBefore(this.draggable,this.element,s)}else if(i>l){s.parentNode.insertBefore(this.element,s.nextSibling);this.insertBefore(this.draggable,this.element,this.draggable[i+1])}this.lastMoveX=this.moveX;this.lastMoveY=this.moveY}}this.log(\"moveDraggable\")};this.enable=function(){this.log(\"enable\");this.root.addEventListener(this.touchMoveEvent,this.moveHandler,true);this.root.addEventListener(this.mouseMoveEvent,this.moveHandler,true);this.root.addEventListener(this.contextMenuEvent,this.contextMenuHandler,false);this.root.addEventListener(this.clickEvent,this.clickHandler,true);this.root.addEventListener(this.defaultMouseMoveEvent,this.defaultMouseMoveHandler,true);this.wrapper.addEventListener(this.scrollEvent,this.scrollHandler,false);if(this.elementsToCapture.length){const e=this;this.elementsToCapture.each(function(){this.addEventListener(e.touchStartEvent,e.startHandler,false);this.addEventListener(e.touchEndEvent,e.endHandler,false);this.addEventListener(e.touchCancelEvent,e.endHandler,false);this.addEventListener(e.mouseDownEvent,e.startHandler,false);this.addEventListener(e.mouseUpEvent,e.endHandler,false)})}else{this.elementsToCapture.addEventListener(this.touchStartEvent,this.startHandler,false);this.elementsToCapture.addEventListener(this.touchEndEvent,this.endHandler,false);this.elementsToCapture.addEventListener(this.touchCancelEvent,this.endHandler,false);this.elementsToCapture.addEventListener(this.mouseDownEvent,this.startHandler,false);this.elementsToCapture.addEventListener(this.mouseUpEvent,this.endHandler,false)}return this};this.delete=function(){this.log(\"delete\");this.disable();this.dragCallback=null;this.onBeforeCreateClone=null;this.endCallback=null;this.startCallback=null;this.scrollCallback=null;this.doubleTapCallback=null;this.clickCallback=null;this.dragAndScrollCallback=null;delete this};this.disable=function(){this.log(\"disable\");if(this.elementsToCapture.length){const e=this;this.elementsToCapture.each(function(){this.removeEventListener(e.touchStartEvent,e.startHandler,false);this.removeEventListener(e.touchEndEvent,e.endHandler,false);this.removeEventListener(e.touchCancelEvent,e.endHandler,false);this.removeEventListener(e.mouseDownEvent,e.startHandler,false);this.removeEventListener(e.mouseUpEvent,e.endHandler,false)})}else{this.elementsToCapture.removeEventListener(this.touchStartEvent,this.startHandler,false);this.elementsToCapture.removeEventListener(this.touchEndEvent,this.endHandler,false);this.elementsToCapture.removeEventListener(this.touchCancelEvent,this.endHandler,false);this.elementsToCapture.removeEventListener(this.mouseDownEvent,this.startHandler,false);this.elementsToCapture.removeEventListener(this.mouseUpEvent,this.endHandler,false)}this.root.removeEventListener(this.touchMoveEvent,this.moveHandler,true);this.root.removeEventListener(this.mouseMoveEvent,this.moveHandler,true);this.root.removeEventListener(this.contextMenuEvent,this.contextMenuHandler,false);this.root.removeEventListener(this.clickEvent,this.clickHandler,true);this.root.removeEventListener(this.defaultMouseMoveEvent,this.defaultMouseMoveHandler,true);this.wrapper.removeEventListener(this.scrollEvent,this.scrollHandler,false);return this};this.setElementsToCapture=function(e){this.elementsToCapture=jQuery(e)};this.init(s);this.getMove=function(){return{x:this.moveX,y:this.moveY}}}return s},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/URLTemplateProcessor\", [\"sap/base/Log\",\"sap/ui/thirdparty/URI\",\"sap/ui/thirdparty/URITemplate\",\"sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder\",\"sap/ushell/URLTemplateProcessor/DependencyGraph\",\"sap/ushell/URLTemplateProcessor/Resolvers\",\"sap/ushell/URLTemplateProcessor/TemplateParameterParser\",\"sap/ushell/URLTemplateProcessor/utils\"],(e,r,t,n,a,s,o,i)=>{\"use strict\";function p(r){e.debug(r,\"sap.ushell.URLTemplateProcessor\")}function l(e){if(typeof e===\"undefined\"){return\"\"}if(typeof e===\"string\"){if(e===\"\"){return\"\"}return`'${e}'`}if(typeof e===\"number\"){return`(number) ${e}`}if(typeof e===\"boolean\"){return`(bool) ${e}`}let r;if(typeof e===\"object\"){r=JSON.stringify(e);if(r.length>255){r=`${r.substr(0,255)}...`}}else{r=\"{other type}\"}return r}function c(e){const r=Object.keys(e).filter(r=>typeof e[r]===\"object\"&&e[r].hasOwnProperty(\"renameTo\"));const t=[];r.forEach(r=>{const n=e[r];if(n.hasOwnProperty(\"renameTo\")){t.push((e,t)=>{let a=t;a=t.replace(new RegExp(`${r}=`,\"g\"),`${n.renameTo}=`);return a})}});return t}function u(e,r,t,c,u){p(`[TEMPLATE EXPANSION] ${e.urlTemplate}`);const f=n.buildDefinitionParameterSet(e.parameters,r,u)||{};const m=i.removeArrayParameterNotation(t[u]||{});const d=o.parseTemplateParameterSet(f,u);const y=o.parseTemplateParameterSetAsLiterals(m);const P=i.mergeObject(y,d);p(`- parsed template parameters: ${JSON.stringify(P,null,3)}`);const h=a.buildDependencyGraph(P);p(`- created dependency graph: ${JSON.stringify(h,null,3)}`);const T=a.getDependencyResolutionOrder(h);p(`- resolving in order: ${T.join(\" > \")}`);const g=s.resolveAllParameters(P,T,r,t,c,u);Object.keys(g).forEach(e=>{const r=g[e];p(`${e} --\\x3e ${l(r)}`)});return{oDefinitionParamsSet:f,oResolvedParameters:g}}function f(e,t){const n=c(t.oDefinitionParamsSet||{});const a=e.urlTemplate;let s=r.expand(a,t.oResolvedParameters).toString();p(`- created URL: ${s}`);n.forEach(e=>{s=e(a,s)});if(n.length>0){p(`- created URL (post expansion): ${s}`)}return s}function m(e,r,t,n,a){const s=u(e,r,t,n,a);return f(e,s)}return{prepareExpandData:u,expand:m}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder\", [\"sap/ushell/URLTemplateProcessor/TemplateParameterParser\",\"sap/ushell/URLTemplateProcessor/Resolvers\",\"sap/ushell/URLTemplateProcessor/utils\",\"sap/ushell/utils/type\"],(e,r,t,s)=>{\"use strict\";const a=\"/payload/parameters/names\";function o(a,o,l){if(!a||!a.names){return{}}if(!a.hasOwnProperty(\"mergeWith\")){return a.names}const p=a&&a.mergeWith;if(Array.isArray(p)===false&&typeof p!==\"string\"){throw new Error(\"The value of 'mergeWith' can only be a string or an array\")}const c=a&&a.names;const h=i(a.mergeWith,o,l,{});const u=h.map(t=>{const a=e.parsePath(l,t);n(a);const i=r.resolvePath(a,{},o,{},{});if(!s.isPlainObject(i)){throw new Error(`Cannot merge parameters from '${t}'. The path must point to an object`)}return i}).reduce((e,r)=>{e=t.mergeObject(e,r);return e},{});return t.mergeObject(u,c)}function n(e){if(e.pathType===\"relative\"){throw new Error(\"Please only specify absolute paths via mergeWith\")}e.value.forEach(e=>{if(e.type!==\"literal\"){throw new Error(\"Please do not specify references in mergeWith paths\")}})}function i(t,s,o,l){if(Array.isArray(t)){return t.slice().reverse()}if(typeof t===\"string\"){if(l[t]){throw new Error(\"Detected circular dependency of templates caused by mergeWith statements: ensure the template merges its parameters with a base template.\")}l[t]=true;const p=e.parsePath(o,t);n(p);const c=r.resolvePath(p,{},s,{},{});if(!c){throw new Error(`The specified mergeWith path does cannot be resolved: '${t}'`)}const h=a.split(\"/\").slice(1).reduce((e,r)=>{if(e.result&&e.obj&&e.obj.hasOwnProperty(r)){e.obj=e.obj[r]}else{e.result=false}return e},{obj:c,result:true}).result;if(!h){throw new Error(`${t} does not contain ${a}. Please make sure ${t} points to the root of a URL template.`)}return i(c.payload.parameters.mergeWith,s,o,l).concat([t+a])}return[]}return{buildDefinitionParameterSet:o}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/URLTemplateProcessor/DependencyGraph\", [\"sap/base/util/deepExtend\"],e=>{\"use strict\";function n(e){return typeof e===\"string\"||e.type===\"wildcard\"||e.type===\"literal\"||e.type===\"intentParameter\"||e.type===\"reference\"}function t(e){return e.type===\"reference\"&&!e.namespace}function r(e,n,r){if(!e.hasOwnProperty(n)){e[n]=[]}if(t(r)){e[n].push(r.value)}}function c(e){const n=e.type;if(n===\"expression\"){return[e.value]}if(n===\"function\"){return(e.args||[]).concat(e.params||[])}if(n===\"pipe\"||n===\"path\"){return e.value}throw new Error(`Unknown type encountered while building dependency graph: '${n}'`)}function i(e,t,r){r(t,e);if(n(e)){return}const o=c(e);o.forEach(e=>{i(e,t,r)})}function o(e){const n={};const t=r.bind(null,n);Object.keys(e).forEach(n=>{const r=e[n];i(r,n,t)});return n}function s(n){const t=e({},n);let r;let c;const i=[];const o={};do{const e=Object.keys(t);r=e.length;e.forEach(e=>{if(t[e].length>0){t[e]=t[e].filter(e=>{const n=!o[e];const r=t.hasOwnProperty(e);return n&&r})}if(t[e].length===0){delete t[e];i.push(e);o[e]=true}});c=Object.keys(t).length}while(r!==c);if(c!==0){throw new Error(\"Graph of dependencies contains cyclic references\")}return i}return{buildDependencyGraph:o,getDependencyResolutionOrder:s}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/URLTemplateProcessor/Functions\", [\"sap/base/util/deepExtend\",\"sap/ui/thirdparty/URI\",\"sap/ushell/URLTemplateProcessor/utils\",\"sap/ushell/utils/type\"],(e,n,t,r)=>{\"use strict\";function i(e){if(typeof e===\"undefined\"){return true}if(typeof e===\"string\"){return e===\"\"}if(typeof e===\"object\"){return Object.keys(e).length===0}if(typeof e===\"number\"){return e===0}if(typeof e===\"boolean\"){return e===false}throw new Error(\"Unexpected type for value\")}function o(e){let n;if(r.isArray(e)){n=e}else if(r.isPlainObject(e)){n=[e]}else if(e===undefined){return[]}else{throw new Error(\"Unexpected type\")}return n}const u={url:{args:[\"urlPart?\"],minValues:0,maxValues:0,fn:function(e){const t=new n;const r=[\"protocol\",\"scheme\",\"username\",\"password\",\"hostname\",\"port\",\"host\",\"userinfo\",\"authority\",\"origin\",\"subdomain\",\"domain\",\"tld\",\"pathname\",\"path\",\"directory\",\"filename\",\"suffix\",\"search\",\"query\",\"hash\",\"fragment\",\"resource\"];let i=\"toString\";if(e.urlPart){if(r.indexOf(e.urlPart)===-1){throw new Error(`The URL part '${e.urlPart}' is not valid. Please use one of ${r.join(\", \")}`)}i=e.urlPart}return t[i]()}},if:{args:[\"trueCondition\"],minValues:1,maxValues:2,fn:function(e,n){const t=o(n);if(i(e.trueCondition)){return t.length===1?undefined:t.pop()}return t[0]}},and:{args:[\"emptyCondition?\"],minValues:1,fn:function(e,n){const r=o(n);if(typeof e.emptyCondition===\"undefined\"&&e.length>0){return undefined}if(typeof e.emptyCondition!==\"undefined\"&&i(e.emptyCondition)){return undefined}const u=r.pop();const s=r.every(t.hasValue);return s?u:undefined}},or:{args:[\"emptyCondition?\"],minValues:1,fn:function(e,n){const r=o(n);if(typeof e.emptyCondition===\"undefined\"&&e.length>0){return undefined}if(typeof e.emptyCondition!==\"undefined\"&&i(e.emptyCondition)){return undefined}return r.reduce((e,n)=>{if(t.hasValue(e)){return e}return t.hasValue(n)?n:undefined})}},replace:{args:[\"strRegExp\",\"strReplace\",\"flags?\"],minValues:1,maxValues:1,fn:function(e,n){const t=new RegExp(e.strRegExp,e.flags);const i=e.strReplace||\"\";if(typeof n===undefined||n===null){return n}if(r.isArray(n)){if(n.length===1){return u.replace.fn.call(this,e,n[0])}return n.map(function(n){return u.replace.fn.call(this,e,n)})}if(r.isPlainObject(n)){return Object.keys(n).reduce(function(t,r){const i=n[r];t[r]=u.replace.fn.call(this,e,i);return t},{})}if(typeof n===\"string\"){return n.replace(t,i)}return u.replace.fn.call(this,e,`${n}`)}},join:{args:[\"macroSeparator?\",\"microSeparator?\"],minValues:1,fnPipe:function(e,n){const t=[n];return u.join.fn.call(this,e,t)},fn:function(e,n){const i=e.macroSeparator||\"\";const o=e.microSeparator||\"\";n=n.map(e=>{if(!r.isPlainObject(e)&&!r.isArray(e)){return e}const n=Object.prototype.toString.apply(e);if(n===\"[object Object]\"){const n=t.removeArrayParameterNotation(e);return Object.keys(n).sort().map(n=>n+o+e[n]).join(i)}if(n===\"[object Array]\"){return e.join(i)}});return n.join(i)}},match:{args:[\"strRegex\"],minValues:1,fnPipe:function(e,n){const t=e.strRegex;const r=new RegExp(t);return Object.keys(n).reduce((e,t)=>{if(r.exec(t)){e[t]=n[t]}return e},{})},fn:function(e,n){if(n===undefined){return undefined}const t=e.strRegex;const i=new RegExp(t);const o=n.filter(e=>{let n;if(r.isPlainObject(e)){n=Object.keys(e)}else if(r.isArray(e)){n=e}else{n=[`${e}`]}return n.some(i.exec.bind(i))});return o.length===n.length?true:undefined}},value:{args:[\"name\"],minValues:1,fnPipe:function(e,n){if(r.isPlainObject(n)&&n.hasOwnProperty(e.name)){const t=n[e.name];return r.isArray(t)&&t.length>0&&t[0]}return undefined}},not:{args:[],minValues:1,fnPipe:function(e,n){return Object.keys(n).length>0?undefined:\"\"},fn:function(e,n){const t=u.and.fn(e,n);return t===undefined?\"\":undefined}},stringify:{args:[],minValues:1,fn:function(e,n){if(r.isArray(n)){if(n.length===0){return\"\"}if(n.length===1){n=n[0]}}if(typeof n===\"string\"){return n}return JSON.stringify(n)}},encodeURIComponent:{args:[],minValues:1,maxValues:1,fnPipe:function(e,n){return Object.keys(n).reduce((e,t)=>{e[t]=encodeURIComponent(n[t]);return e},{})},fn:function(e,n){const t=n[0];if(typeof t!==\"string\"){return t}return encodeURIComponent(t)}}};function s(e,n,t){if(t!==undefined&&!r.isPlainObject(t)){throw new Error(`Invalid value type passed to '${e}' in pipe context. An object is expected.`)}}function a(e,n,i){if(i!==undefined&&!r.isArray(i)){throw new Error(`Invalid value type passed to '${e}' in value context. An array is expected.`)}const o=r.isArray(i)?i.length:0;if(t.hasValue(n.maxValues)&&o>n.maxValues){throw new Error(`Too many values were passed to '${e}'. Please pass maximum ${n.maxValues} values.`)}if(t.hasValue(n.minValues)&&o{if(!e&&t){n=true}return t},true);return n}function c(e){return e.substr(0,e.length-1)}function p(n,t){const r=e([],u[n].args);if(l(r)){throw new Error(\"Invalid argument signature. Make sure all optional arguments appear in the end.\")}const i={length:t.length};const o=r.filter(f);const s=o>t.length;if(s){throw new Error(`${n} requires ${o} arguments but ${t.length} was specified`)}t.forEach(e=>{let n=r.shift();const o=!f(n);if(o){n=c(n)}if(t.length>0){i[n]=e}});return i}function d(e,n,t,r){if(!u.hasOwnProperty(n)){throw`Invalid function: ${n}`}const i=p(n,t);if(e){s(n,u[n],r)}else{a(n,u[n],r)}if(e){if(!u[n].fnPipe){throw new Error(`The function '${n}' cannot be executed in pipe context`)}return u[n].fnPipe(i,r)}return u[n].fn(i,r)}function m(e){return e.split(\"\").map(e=>{if(e===\"[\"){return\"[\\\\[]\"}return`[${e}]`}).join(\"\")}function h(){const e=Object.keys(u);return e.map(m).join(\"|\")}return{getPossibleFunctionsRegExpString:h,applyFunctionInValueContext:d.bind(null,false),applyFunctionInPipeContext:d.bind(null,true),_setURIDependency:function(e){n=e}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/URLTemplateProcessor/Resolvers\", [\"sap/base/util/deepExtend\",\"sap/ushell/URLTemplateProcessor/Functions\",\"sap/ushell/URLTemplateProcessor/utils\"],(e,n,t)=>{\"use strict\";let r;function o(e,n,t){let r=null;const o=[];let s=false;const a=n.join(\"/\");r=e;if(typeof r===\"undefined\"){s=true}n.forEach((e,n)=>{if(s){return}o.push(e);if(!r.hasOwnProperty(e)){r=undefined;s=true;return}if(!r.hasOwnProperty(e)){throw new Error(`Cannot find path '${a}' in given structure: '${e}' seems to be missing in the object.`)}r=r[e]});return r}function s(e){return e.value}function a(e,n,t,o,s,a){const i=e.type;if(r[i]){return r[i](e,n,t,o,s,a)}throw new Error(`Cannot resolve unknown parameter type: '${i}'`)}function i(e,n,t,r,s,i){const u=e.value.map(e=>a(e,n,t,r,s,i));const c=e.pathType===\"relative\";const p=c?r:t;return o(p,u,n)}function u(t,r,o,s,i,u){const c=t.value;if(c[0].type!==\"wildcard\"){throw new Error(\"Leading wildcard expected in pipe expression\")}if(c[0].value!==\"*\"){throw new Error(`Unsupported wildcard expression: ${c[0].value}`)}return c.slice(1).reduce((e,t)=>{if(t.type!==\"function\"){throw new Error(\"Invalid operation specified in pipe expression\")}return n.applyFunctionInPipeContext(t.name,t.args.map(e=>a(e,r,o,s,i,u)),e)},e({},i[u]||{}))}function c(e,t,r,o,s,i){const u=e.name;const c=e.args.map(e=>a(e,t,r,o,s,i));const p=e.params.map(e=>a(e,t,r,o,s,i));return n.applyFunctionInValueContext(u,c,p)}function p(e,n,t,o,s,i){const u=e.value;if(r[u.type]){return a(u,n,t,o,s,i)}throw new Error(`unknown expression type: ${u.type}`)}function l(e,n,t,r,o,s){const a=e.value;if(!e.hasOwnProperty(\"namespace\")){return n[a]}const i=e.namespace;const u=`The template attemps to take the value '${a}' from '${i}' namespace.`;if(!o.hasOwnProperty(i)){throw new Error(`${u} However this value was not defined at runtime. The template should reference only defined values.`)}const c=o[i];const p=a===\".\";if(p){return c}if(typeof c!==\"object\"){throw new Error(`${u} However the runtime did not define the namespace as an object. The template cannot access the desired value using the object notation in this case.`)}return c[a]}r={literal:s,expression:p,reference:l,function:c,path:i,pipe:u};function f(e,n,t,r,o,s){const i={};n.forEach(n=>{const u=e[n];const c=a(u,i,t,o,r,s);i[n]=c});return i}return{resolveLiteral:s,resolveExpression:p,resolveReference:l,resolveFunction:c,resolvePath:i,resolvePipe:u,resolveParameterValue:a,resolveAllParameters:f}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/URLTemplateProcessor/TemplateParameterParser\", [\"sap/ushell/URLTemplateProcessor/Functions\"],t=>{\"use strict\";function n(){const n=\"[a-zA-Z0-9]+?:\";const e=`((&(${n})?)?[.a-zA-Z0-9_-]+?)`;const r=\"('(.*?)')\";const s=\"([^' ]*?)\";const o=`{(${e})}`;const c=\"(\"+`[.]?([/](${e}|${o}))+`+\")\";const i=`(${c}|${r}|${e}|${o})`;const u=`(${i}(,${i})*)`;const a=`(${s}|${o})`;const l=`(${a}(,${a})*)`;const p=\"(\"+`[(]${l}[)]`+\")?\";const f=t.getPossibleFunctionsRegExpString();const h=\"(\"+`(${f})`+`(${p})`+\")\";const $=`([*]([|]${h})*)`;const d=`^{(${$}|`+`((${h})([ ](${u}))?)`+\"|\"+`(${i})`+\")}$\";const g=new RegExp(d);return g}function e(t){const n=t.split(\"\");n.shift();n.pop();return n.join(\"\")}function r(t,n,e){if(!n){return[]}const r=n.split(e).reduce((t,n,r)=>{if(r===0){t.push(n);return t}const s=t.length-1;const o=t[s];const c=o.length>0&&o.charAt(o.length-1)===\"\\\\\";let i=\"\";if(c){i=t.pop();i=i.substr(0,i.length-1)+e}t.push(i+n);return t},[]);return r}function s(t,n){if(t.indexOf(n)===0){return t.substr(n.length)}throw new Error(`Given string does not start with prefix '${n}'`)}function o(t){return{type:\"literal\",value:t}}function c(t,n){if(n.charAt(0)===\"{\"&&n.charAt(n.length-1)===\"}\"){return a(t,e(n))}return{type:\"literal\",value:n}}function i(t,n){const e=n.split(\"/\");let r=\"relative\";if(e[0]===\"\"){r=\"absolute\";e.shift()}if(e[0]===\".\"){e.shift()}return{type:\"path\",pathType:r,value:e.map(c.bind(null,t))}}function u(t){let n=t.substr(1);let e;if(n.indexOf(\":\")>=0){const t=n.split(\":\");e=t[0];n=t[1]}const r={type:\"reference\",value:n};if(e){r.namespace=e}return r}function a(t,n){if(n.charAt(0)===\"{\"&&n.charAt(n.length-1)===\"}\"){return a(t,e(n))}if(n.indexOf(\".\")===0||n.indexOf(\"/\")===0){return i(t,n)}if(n.charAt(0)===\"'\"&&n.charAt(n.length-1)===\"'\"){return o(e(n))}if(n.charAt(0)===\"&\"){return u(n)}return{type:\"reference\",value:n,namespace:t}}function l(t,n){const o=n.split(/[(\\s]/)[0];let c=s(n,o);c=c.replace(/^\\s+/,\"\");let i=\"\";if(c.charAt(0)===\"(\"){const t=c.search(/([)]\\s)|([)]$)/);if(t===-1){throw new Error(`Cannot find termination of function '${c}' in '${n}'`)}i=c.substr(1,t-1);c=s(c,`(${i})`);c=c.replace(/^\\s+/,\"\")}const u=c;return{type:\"function\",name:o,args:r(t,i,\",\").map(t=>t.charAt(0)===\"{\"?e(t):`'${t}'`).map(a.bind(null,t)),params:r(t,u,\",\").map(a.bind(null,t))}}function p(t,n){const e=r(t,n,\"|\");const s=e.shift();return{type:\"pipe\",value:[{type:\"wildcard\",value:s}].concat(e.map(l.bind(null,t)))}}function f(r,s){const o=n();const c=o.exec(s);if(c===null){throw new Error(`Cannot parse expression: '${s}'`)}const i=e(s);if(i.indexOf(\"*\")===0){return p(r,i)}const u=`^(${t.getPossibleFunctionsRegExpString()})[^a-z]`;const f=new RegExp(u);if(f.exec(i)){return l(r,i)}return a(r,i)}function h(t){const e=t.indexOf(\"{\")===0;const r=n();const s=r.exec(t);if(!s){if(e){throw new Error(`Expression was expected. But ${t} does not look like a valid expression`)}return null}return s[1]}function $(t){return h(t)!==null}function d(t){return typeof t===\"string\"&&!$(t)}function g(t,n){let e=n;let r=null;if(Object.prototype.toString.apply(n)===\"[object Object]\"){e=n.value;r=n.renameTo}const s=d(e);if(s){return o(e)}const c=\"expression\";const i=f(t,e);const u={type:c,value:i};if(r){i.renameTo=r}return u}function x(t,n){return Object.keys(t).reduce((e,r)=>{const s=t[r];e[r]=g(n,s);return e},{})}function m(t,n){return Object.keys(t).reduce((n,e)=>{const r=t[e];n[e]=o(r);return n},{})}return{parseTemplateParameterSet:x,parseTemplateParameterSetAsLiterals:m,parsePath:i,_isExpression:$,_parseList:r,_parseParameterValue:g}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/URLTemplateProcessor/utils\", [\"sap/base/util/deepExtend\"],e=>{\"use strict\";function r(e){return e!==null&&typeof e!==\"undefined\"}function t(e){return Object.keys(e).reduce((r,t)=>{const n=e[t];if(Object.prototype.toString.apply(n)===\"[object Array]\"){r[t]=n[0]}else if(typeof n===\"string\"){r[t]=n}else{throw new Error(\"Parameters should be passed as strings or array of strings\")}return r},{})}function n(r,t){const n=e({},r);const s=e({},t);return Object.keys(s).reduce((e,r)=>{e[r]=s[r];return e},n)}return{mergeObject:n,hasValue:r,removeArrayParameterNotation:t}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/Ui5NativeServiceFactory\", [\"sap/ui/core/service/ServiceFactory\"],e=>{\"use strict\";const r={_servicePromises:{},createServiceFactory:function(r){const s=this._servicePromises;const i=e.extend(`sap.ushell.ui5Service.${r}Factory`,{createInstance:function(){let e=s[r];if(!e){e=new Promise((e,s)=>{sap.ui.require([`sap/ushell/ui5service/${r}`],r=>{if(!r){s()}const i=new r;e(i)})});s[r]=e}return e}});return new i}};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/Ui5ServiceFactory\", [\"sap/ui/core/service/ServiceFactory\",\"sap/ui/core/service/Service\",\"sap/base/Log\",\"sap/base/util/ObjectPath\",\"sap/base/util/isPlainObject\"],(e,t,n,r,c)=>{\"use strict\";let o;function i(e){o=e}function s(){return o}function u(e){return!!/^[^_].+/.test(e)}function a(e){let t;const n=[];for(t in e){n.push(t)}return n}function f(e,t,r){const c=t[r];t[r]=function(){let o;const i=s();if(!e||e.scopeObject.getId()!==i){n.warning(`Call to ${r} is not allowed`,`This may be caused by an app component other than the active '${i}' that tries to call the method`,\"sap.ushell.Ui5ServiceFactory\");return undefined}const u=new Array(arguments.length);for(o=0;o{const r=e[n];t[n]=r;return typeof r===\"function\"}).forEach(c=>{t[c]=t[c].bind(e);if(r){f(n,t,c)}})}function l(e){if(typeof e===\"undefined\"){return true}if(!c(e)){return false}if(!e.scopeType){return false}const t=r.get(\"scopeObject.getId\",e);if(typeof t!==\"function\"){return false}return true}function h(e,t,n){const r={};if(n){n=typeof e===\"object\"}p(t,r,e,n);if(n&&e.scopeType===\"component\"&&e.scopeObject&&e.scopeObject.getId){i(e.scopeObject.getId())}return r}function y(e){return new Promise((t,n)=>{sap.ui.require([\"sap/ushell/Container\"],n=>{n.getServiceAsync(e).then(e=>{t(e)})})})}function b(r,c){const o=e.extend(`sap.ushell.ui5service.${r}Factory`,{createInstance:function(e){return new Promise((o,i)=>{y(r).then(s=>{if(!l(e)){n.error(`Invalid context for ${r} service interface`,\"The context must be empty or an object like { scopeType: ..., scopeObject: ... }\",\"sap.ushell.Ui5ServiceFactory\");i(`Invalid Context for ${r} service`);return}const u=h(e,s,c);const a=t.extend(`sap.ushell.ui5service.${r}`,{getInterface:function(){return u}});const f=new a(e);o(f)},e=>{i(e)})})}});return new o}return{createServiceFactory:b}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/User\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/deepExtend\",\"sap/ui/base/EventProvider\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/thirdparty/URI\",\"sap/ushell/utils\",\"sap/ui/core/Theming\"],(e,t,n,i,o,r,s,a,h)=>{\"use strict\";function m(e){if(e===undefined){return undefined}return n({},e)}function u(e){let t;if(e.host&&typeof e.host===\"function\"&&e.host()){t=e.host();if(typeof e.protocol===\"function\"&&e.protocol()){t=`${e.protocol()}://${t}`}return t}return\"\"}function c(e){return e.indexOf(\"sap_\")===0}function g(m={}){let l=[];let p;let f;const d=new i;const T={};m.userProfile?.forEach?.(e=>{if(e.id&&e.editState){T[e.id]=e.editState}});let y=m.userProfile?.find?.(e=>e.id===\"THEME_SET\")?.value||\"\";this.getEditState=function(e){return T[e]};this.getEmail=function(){return m.email};this.getFirstName=function(){return m.firstName};this.getFullName=function(){return m.fullName};this.getTimeZone=function(){return m.timeZone};this.getLanguageAndRegionSettingsEntry=async()=>{if(m.getLanguageAndRegionSettingsEntry){const e=await m.getLanguageAndRegionSettingsEntry();return e}const[e]=await a.requireAsync([\"sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry\"]);return e};this.getInitials=function(){const e=m.fullName||\"\";let t=\"\";let n=true;for(let i=0,o=e.length;i!(t===e.propertyName))};this.getTrackUsageAnalytics=function(){return m.trackUsageAnalytics};this.setTrackUsageAnalytics=function(e){this.setChangedProperties({propertyName:\"trackUsageAnalytics\",name:\"TRACKING_USAGE_ANALYTICS\"},m.trackUsageAnalytics,e);m.trackUsageAnalytics=e};this.setImageConsent=function(e){this.setChangedProperties({propertyName:\"isImageConsent\",name:\"ISIMAGECONSENT\"},m.isImageConsent,e);m.isImageConsent=e};this.getImageConsent=function(){return m.isImageConsent};this.getImportBookmarksFlag=function(){return m.importBookmarks||null};this.setImportBookmarksFlag=function(e){this.setChangedProperties({propertyName:\"importBookmarks\",name:\"MYHOME_IMPORT_FROM_CLASSIC\"},this.getImportBookmarksFlag()||\"\",e);m.importBookmarks=e};this.getShowMyHome=function(){return m.showMyHome!==false};this.setShowMyHome=function(e){e=!!e;this.setChangedProperties({propertyName:\"showMyHome\",name:\"MYHOME_ENABLEMENT\"},m.showMyHome,e);m.showMyHome=e};this.getDetectDarkMode=function(){return m.detectDarkMode!==false};this.setDetectDarkMode=function(e){e=!!e;this.setChangedProperties({propertyName:\"detectDarkMode\",name:\"THEME_DARKMODE_AUTO_DETECTION\"},m.detectDarkMode,e);m.detectDarkMode=e};const P={locationPathUi5:new s(sap.ui.require.toUrl(\"\")).absoluteTo(document.location).pathname(),locationPathCustom:m.themeRoot||\"\",locationOrigin:u(new s(document.location))};if(!P.locationPathUi5){e.warning(\"User: Could not set UI5 location path\")}if(!P.locationPathCustom){e.warning(\"User: Could not set location path for custom themes\")}if(!P.locationOrigin){e.warning(\"User: Could not set front-end server location origin\")}const E=m.bootTheme||{theme:\"\",root:\"\"};p=this._amendTheme(E,P);f=p;this.setTheme=function(t){if(this.isSetThemePermitted()===false){const t=\"setTheme not permitted\";e.error(t);throw new Error(t)}p=this._amendTheme({theme:t,root:this.getThemeRoot(t)},P);if(t!==f.originalTheme.theme){this.setChangedProperties({propertyName:\"theme\",name:\"THEME\"},f.originalTheme.theme,t);f=p}this.applyTheme(t)};this.applyTheme=function(e){const t=this._amendTheme({theme:e,root:this.getThemeRoot(e)},P);p=t;if(t.suppliedRoot){h.setThemeRoot(t.theme,`${t.suppliedRoot}/UI5/`)}else if(t.path){h.setThemeRoot(t.theme,`${t.path}/UI5/`)}h.setTheme(t.theme);sap.ui.require([\"sap/ushell/appIntegration/PostMessageManager\"],e=>{e.sendRequestToAllApplications(\"sap.ushell.appRuntime.themeChange\",{currentThemeId:this.getTheme(g.prototype.constants.themeFormat.NWBC),themeServiceRoute:`${window.location.protocol}//${window.location.host}/comsapuitheming.runtime/themeroot/v1`},false)})}}g.prototype._amendTheme=function(e,t){if(!e||!e.theme||!t){return{originalTheme:{theme:\"\",root:\"\"},theme:\"\",suppliedRoot:\"\",path:\"\",locationPath:\"\",locationOrigin:\"\"}}function n(e,t){const n=new s(e);const i=u(n);return{locationOrigin:i||t.locationOrigin,locationPath:i?n.path():e}}const i={originalTheme:m(e)};let o;if(i.originalTheme.theme.indexOf(\"@\")>0){const e=i.originalTheme.theme.split(\"@\",2);i.theme=e[0];i.suppliedRoot=e[1];o=n(e[1],t);i.locationPath=o.locationPath;i.path=i.locationPath;i.locationOrigin=o.locationOrigin;return i}i.theme=i.originalTheme.theme;if(i.originalTheme.root){i.suppliedRoot=i.originalTheme.root;o=n(i.originalTheme.root,t);i.locationPath=o.locationPath;i.path=i.locationPath;i.locationOrigin=o.locationOrigin;return i}i.suppliedRoot=\"\";if(c(i.theme)){i.locationOrigin=t.locationOrigin;i.locationPath=t.locationPathUi5;i.path=\"\";return i}i.locationOrigin=t.locationOrigin;i.locationPath=t.locationPathCustom;i.path=i.locationPath;return i};g.prototype.constants={themeFormat:{ORIGINAL_THEME:\"O\",THEME_NAME_PLUS_URL:\"N+U\",NWBC:\"NWBC\"}};return g},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/UserActivityLog\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/EventHub\",\"sap/ushell/ui/launchpad/Tile\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/Container\",\"sap/ushell/state/StateManager\"],(e,t,s,i,a,n,o,r,l,g,u)=>{\"use strict\";function c(){}c.prototype={_maxLoggedMessages:50,_maxMessageByteSize:2048,_maxQueueByteSize:30720,_isActive:false,_observedLaunchpadActions:[\"createGroupAt\",\"deleteGroup\",\"resetGroup\",\"changeGroupTitle\",\"moveGroup\",\"addTile\",\"deleteTile\",\"movetile\",\"externalSearch\",\"addBookmarkTile\"],_observedGeneralActions:[\"openApp\"],_observedEventHubEvents:[\"showCatalog\"],_aDoables:[],messageType:{ACTION:0,ERROR:1},_tileOntapOrigFunc:undefined,activate:function(){if(this._isActive){return}this._isActive=true;const t=i.getInstance();this._observedLaunchpadActions.forEach(e=>{t.subscribe(\"launchpad\",e,this._handleAction,this)});t.subscribe(\"sap.ushell\",\"appOpened\",this._handleAction,this);this._observedGeneralActions.forEach(e=>{t.subscribe(e,this._handleAction,this)});this._observedEventHubEvents.forEach(e=>{this._aDoables.push(n.on(e).do(this._handleActionEventHub.bind(this)))});e.addLogListener(this);this._tileOntapOrigFunc=o.prototype.ontap;o.prototype.ontap=this._tileOnTapDecorator(this._tileOntapOrigFunc)},deactivate:function(){if(!this._isActive){return}this._isActive=false;const t=i.getInstance();this._observedLaunchpadActions.forEach((e,s,i)=>{t.unsubscribe(\"launchpad\",e,this._handleAction,this)});t.unsubscribe(\"sap.ushell\",\"appOpened\",this._handleAction,this);this._observedGeneralActions.forEach((e,s,i)=>{t.unsubscribe(e,this._handleAction,this)});this._aDoables.forEach(e=>{e.off()});this._aDoables=[];e.removeLogListener(this);o.prototype.ontap=this._tileOntapOrigFunc},addMessage:function(e,t,s){if(this._isActive){this._addMessageInternal(e,t,s)}},getLog:function(){return this._getLoggingQueueFromStorage()},getMessageInfo:function(){return{userDetails:this._getUserDetails(),shellState:this._getShellState(),navigationData:this._getLastNavActionFromStorage(),userLog:this.getLog(),formFactor:r.getFormFactor()}},getMessageInfoAsString:function(e){return JSON.stringify(this.getMessageInfo(e))},onLogEntry:function(e){if(e.level<=2){let t=e.message;if(typeof e.details!==\"undefined\"&&e.details!==\"\"){t=`${t}, ${e.details}`}this.addMessage(this.messageType.ERROR,t)}},onAttachToLog:function(){},onDetachFromLog:function(){},_tileOnTapDecorator:function(e){const t=this;return function(){if(this.isA(\"sap.ushell.ui.launchpad.PlusTile\")){t.addMessage(t.messageType.ACTION,`Open Catalog for empty group ${this.getGroupId()}`)}else if(this.isA(\"sap.ushell.ui.launchpad.Tile\")){let e=a.getHash();if(e){const t=l.parseShellHash(e);e=`#${l.constructShellHash({target:{semanticObject:t.semanticObject,action:t.action}})}`}const i=t._getLastNavActionFromStorage();i.time=new Date;i.navigationHash=e;i.tileDebugInfo=this.getDebugInfo();const n=s.getElementById(this.getId());const o=n.getModel();const r=this.getBindingContext();const g=r.getPath();i.tileTitle=r.getModel().getProperty(g).title;t._putInSessionStorage(\"sap.ushell.UserActivityLog.lastNavigationActionData\",JSON.stringify(i));t.addMessage(t.messageType.ACTION,`Click on Tile: ${o.getData().title} Tile debugInfo: ${this.getDebugInfo()}`)}e.apply(this,arguments)}},_addMessageInternal:function(e,s,i){const a=this._getLoggingQueueFromStorage();const n={type:null};for(const t in this.messageType){if(e===this.messageType[t]){n.type=t;break}}if(n.type===null){return}t(n,{messageID:i,messageText:s,time:new Date,toString:function(){const e=[this.type,this.time];if(typeof this.messageID!==\"undefined\"){e.push(this.messageID)}e.push(this.messageText);return e.join(\" :: \")}});a.push(n);if(a.length>this._maxLoggedMessages){a.shift()}this._putInSessionStorage(\"sap.ushell.UserActivityLog.loggingQueue\",JSON.stringify(a))},_handleActionEventHub:function(e){this._handleAction(\"\",e.sId,e.oData)},_handleAction:function(e,t,s){let i;switch(t){case\"deleteTile\":i=`Delete Tile ${s.tileId||\"\"}`;break;case\"moveTile\":i=`Move Tile ${s.sTileId||\"\"} to Group ${s.toGroupId||\"\"}`;break;case\"createGroupAt\":i=\"Create Group\";break;case\"changeGroupTitle\":i=`Change Group Title of ${s.groupId||\"\"} to ${s.newTitle||\"\"}`;break;case\"deleteGroup\":i=`Delete Group ${s.groupId||\"\"}`;break;case\"addTile\":const e=s.catalogTileContext.oModel;const t=s.catalogTileContext.sPath;const a=e.getProperty(t);const n=a&&a.id||\"\";const o=s.groupContext.getObject();const r=o&&o.id||\"\";i=`Add Tile ${n} to Group ${r}`;break;case\"moveGroup\":i=`Move Group from index ${s.fromIndex||\"\"} to index ${s.toIndex||\"\"}`;break;case\"appOpened\":i=`Open application ${s.action}`;const l=this._getLastNavActionFromStorage();l.applicationInformation={};[\"applicationType\",\"ui5ComponentName\",\"url\",\"additionalInformation\",\"text\"].forEach(e=>{l.applicationInformation[e]=s[e]});if(!this._hashSegmentsEqual(l.navigationHash,s.sShellHash)){l.tileDebugInfo=\"\"}l.navigationHash=s.sShellHash;this._putInSessionStorage(\"sap.ushell.UserActivityLog.lastNavigationActionData\",JSON.stringify(l));break;case\"addBookmarkTile\":i=`Add Bookmark ${s.title||\"\"} ${s.subtitle||\"\"} for URL: ${s.url||\"\"}`;break;case\"showCatalog\":i=\"Show Catalog\";break;default:break}this.addMessage(this.messageType.ACTION,i)},_getUserDetails:function(){const e=g.getUser();return{fullName:e.get Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/AppLifeCycle/KeepAliveMode\", [],()=>{\"use strict\";const e={True:\"true\",Restricted:\"restricted\",False:\"\"};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/ApplicationContainer\", [\"sap/base/Log\",\"sap/ui/core/Control\",\"sap/ushell/appIntegration/ApplicationContainerRenderer\",\"sap/ushell/library\",\"sap/ushell/utils\"],(e,t,i,a,s)=>{\"use strict\";const r=a.appIntegration.contracts.StatefulType;const o=a.components.container.ApplicationType;const p=t.extend(\"sap.ushell.appIntegration.ApplicationContainer\",{metadata:{library:\"sap.ushell\",properties:{visible:{type:\"boolean\",defaultValue:true},height:{defaultValue:\"100%\",type:\"sap.ui.core.CSSSize\"},width:{defaultValue:\"100%\",type:\"sap.ui.core.CSSSize\"},active:{defaultValue:true,type:\"boolean\"},initialAppId:{defaultValue:\"\",type:\"string\"},currentAppId:{defaultValue:\"\",type:\"string\"},currentAppUrl:{defaultValue:\"\",type:\"string\"},shellUIService:{type:\"object\"},statefulType:{defaultValue:r.NotSupported,type:\"sap.ushell.appIntegration.contracts.StatefulType\"},beforeAppCloseEvent:{type:\"object\"},isKeepAlive:{defaultValue:false,type:\"boolean\"},isFetchedFromCache:{defaultValue:false,type:\"boolean\"},capabilities:{defaultValue:{},type:\"object\"},iframeReusedForApp:{defaultValue:false,type:\"boolean\"},isInvalidIframe:{defaultValue:false,type:\"boolean\"},isIframeValidTime:{defaultValue:{time:0},type:\"object\"},currentAppTargetResolution:{type:\"object\"},readyForRendering:{defaultValue:false,type:\"boolean\"},renderComplete:{defaultValue:false,type:\"boolean\"},frameworkId:{defaultValue:\"\",type:\"string\"},applicationType:{defaultValue:o.URL,type:\"sap.ushell.components.container.ApplicationType\"},openWithPostByAppParam:{defaultValue:true,type:\"boolean\"},reservedParameters:{type:\"object\"},systemAlias:{defaultValue:\"\",type:\"string\"},targetNavigationMode:{defaultValue:\"\",type:\"string\"},url:{defaultValue:\"\",type:\"string\"},dataHelpId:{type:\"string\",defaultValue:\"\"}},events:{applicationConfiguration:{parameters:{configuration:{type:\"object\"}}}},interfaces:[\"sap.ushell.renderer.INavContainerPage\"]},renderer:i});p.ui5version=null;p.ui5versionPromise=s.getUi5Version().then(t=>{e.debug(`Using ui5-version: ${t}`,null,\"sap.ushell.appIntegration.ApplicationContainer\");p.ui5version=t});p.prototype.getUi5Version=function(){return p.ui5version};p.prototype.init=function(){this.setProperty(\"capabilities\",{},true)};p.prototype.invalidate=function(){if(this.getRenderComplete()){return this}return t.prototype.invalidate.apply(this,arguments)};p.prototype.setVisibility=function(e){this.setProperty(\"visible\",e,true);if(e){this.removeStyleClass(\"sapUShellApplicationContainerHidden\")}else{this.addStyleClass(\"sapUShellApplicationContainerHidden\")}const t=this.getDomRef();if(t){t.setAttribute(\"aria-hidden\",!e)}};p.prototype.setDataHelpId=function(e){this.setProperty(\"dataHelpId\",e);const t=this.getDomRef();if(t){t.setAttribute(\"data-help-id\",e)}return this};p.prototype.setActive=function(e){this.setProperty(\"active\",e);const t=this.getDomRef();if(t){t.setAttribute(\"data-sap-ushell-active\",e)}return this};p.prototype.setInitialAppId=function(e){this.setProperty(\"initialAppId\",e);const t=this.getDomRef();if(t){t.setAttribute(\"data-sap-ushell-initial-app-id\",e)}return this};p.prototype.setCurrentAppId=function(e){this.setProperty(\"currentAppId\",e);const t=this.getDomRef();if(t){t.setAttribute(\"data-sap-ushell-current-app-id\",e)}return this};p.prototype.setStatefulType=function(e){this.setProperty(\"statefulType\",e);const t=this.getDomRef();if(t){t.setAttribute(\"data-sap-ushell-stateful-type\",e)}return this};p.prototype.setFrameworkId=function(e){this.setProperty(\"frameworkId\",e);const t=this.getDomRef();if(t){t.setAttribute(\"data-sap-ushell-framework-id\",e)}return this};p.prototype.sendBeforeAppCloseEvent=async function(){};p.setHandleMessageEvent=function(e){p.handleMessageEvent=e;return this};p.prototype.isTrustedPostMessageSource=function(e){return false};p.prototype.getPostMessageTarget=function(){};p.prototype.getPostMessageTargetOrigin=function(){return\"\"};p.prototype.addCapabilities=function(e){const t=this.getCapabilities();e.forEach(e=>{t[`${e}`.toLowerCase()]=true});return this};p.prototype.removeCapabilities=function(e){const t=this.getCapabilities();if(!e){this.setProperty(\"capabilities\",{},true);return this}e.forEach(e=>{delete t[`${e}`.toLowerCase()]});return this};p.prototype.supportsCapabilities=function(e){const t=this.getCapabilities();return e.every(e=>t[`${e}`.toLowerCase()])};p.prototype.supportsIframeInvalidation=function(){return this.supportsCapabilities([\"sap.ushell.services.appRuntime.iframeIsValid\"])};p._setCachedUI5Version=function(e){p.ui5version=e;p.ui5versionPromise=p.ui5versionPromise.then(()=>{p.ui5version=e})};return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/ApplicationContainerCache\", [\"sap/base/Log\"],e=>{\"use strict\";class t{#e=[];#t={};constructor(){this.init()}init(){this.#e=[];this.#t=[]}setContainerActive(t){if(!t){return}if(this.#e.includes(t)){e.warning(\"The container is already active\");return}this.removeByContainer(t);this.#e.push(t)}setContainerReadyForReuse(t,i){if(!t){return}if(!this.#e.includes(t)&&this.getById(t.getId())){e.warning(\"The container is already in pool\");return}this.removeByContainer(t);this.#t.push({url:i,key:this.#i(i),container:t})}findFreeContainerByUrl(e){const t=this.#i(e);const i=this.#t.reverse().find(e=>e.key===t);if(i){return i.container}}canBeReused(e,t){if(!e){return false}if(this.#e.includes(e)){return false}const i=this.#i(t);const n=this.#t.find(t=>t.container===e);return!!n&&n.key===i}getLength(){return this.#e.length}getPoolLength(){return this.#t.length}removeByContainer(e){if(!e){return}this.#e=this.#e.filter(t=>t!==e);this.#t=this.#t.filter(t=>t.container!==e)}getById(e){let t;this.forEach(i=>{if(i.getId()===e){t=i}});return t}getAll(){return[...this.#e,...this.#t.map(e=>e.container)]}forEach(e){this.#e.forEach(t=>{e(t)});this.#t.forEach(t=>{e(t.container)})}#i(e){let t;let i=\"\";let n=\"\";let a=\"\";let s=\"\";let r=\"\";const o=new URL(e,this._getWindowLocationHref());t=o.origin;if(o.port===\"\"){if(o.protocol===\"https:\"){t=`${t}:443`}else if(o.protocol===\"http:\"){t=`${t}:80`}}const h=o.searchParams;if(h.has(\"sap-iframe-hint\")){i=`@hint:${h.get(\"sap-iframe-hint\")}`}if(h.has(\"sap-ui-version\")){n=`@uiver:${h.get(\"sap-ui-version\")}`}if(h.has(\"sap-async-loading\")&&h.get(\"sap-async-loading\")!==\"true\"){a=`@async:${h.get(\"sap-async-loading\")}`}if(h.has(\"sap-enable-fesr\")&&h.get(\"sap-enable-fesr\")!==\"false\"){s=`@fesr:${h.get(\"sap-enable-fesr\")}`}if(h.has(\"sap-testcflp-iframeid\")){r=`@testid:${h.get(\"sap-testcflp-iframeid\")}`}return t.toLowerCase()+i+n+a+s+r}_getWindowLocationHref(){return window.location.href}_getStorageForDebug(){return{activeContainers:this.#e,reusableContainers:this.#t}}destroyAllContainers(){this.forEach(e=>{this.removeByContainer(e);e.destroy()})}}return new t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/ApplicationContainerRenderer\", [],()=>{\"use strict\";const t={apiVersion:2};t.waitForUI5Version=function(t){const e=t.getMetadata().getClass();if(e.ui5version===null){e.ui5versionPromise.then(()=>{t.invalidate()});return true}};t.render=function(t,e){t.openStart(\"div\",e);t.accessibilityState(e);t.attr(\"data-help-id\",e.getDataHelpId());t.attr(\"data-sap-ushell-active\",e.getActive());t.attr(\"data-sap-ushell-initial-app-id\",e.getInitialAppId());t.attr(\"data-sap-ushell-current-app-id\",e.getCurrentAppId());t.attr(\"data-sap-ushell-stateful-type\",e.getStatefulType());t.attr(\"data-sap-ushell-framework-id\",e.getFrameworkId());t.class(\"sapUShellApplicationContainer\");t.style(\"height\",e.getHeight());t.style(\"width\",e.getWidth());t.openEnd();t.close(\"div\")};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/ApplicationHandle\", [\"sap/ushell/state/StateManager\",\"sap/ushell/utils\"],(t,a)=>{\"use strict\";const i=t.LaunchpadState;class e{static#t=null;static#a=null;#i=null;#e=null;#s=null;#o=null;constructor(t,a,i,e){this.#i=t;this.#e=a;this.#s=i;this.#o=e}static init(t,a){this.#a=t;this.#t=a}async navTo(t){const s=this.#s.getId();e.#t.navTo(s);e.#a.switchViewState(t?i.Home:i.App,this.#i,this.#e.applicationType,this.#e.explicitNavMode);await a.awaitTimeout(0)}getNavigationRedirectHash(){return this.#o}}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/IframeApplicationContainer\", [\"sap/base/Log\",\"sap/base/util/uid\",\"sap/ui/Device\",\"sap/ui/thirdparty/URI\",\"sap/ushell/appIntegration/ApplicationContainer\",\"sap/ushell/appIntegration/IframeApplicationContainerRenderer\",\"sap/ushell/appIntegration/PostMessageManager\",\"sap/ushell/ApplicationType/UrlPostProcessing\",\"sap/ushell/ApplicationType/systemAlias\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/library\",\"sap/ushell/System\",\"sap/ushell/utils\",\"sap/ushell/utils/UriParameters\"],(e,t,i,s,r,a,n,o,l,p,h,g,u,f,c)=>{\"use strict\";const d=r.extend(\"sap.ushell.appIntegration.IframeApplicationContainer\",{metadata:{library:\"sap.ushell\",properties:{visible:{type:\"boolean\",defaultValue:true},globalDirtyStorageKey:{defaultValue:\"\",type:\"string\"},iframeUrl:{defaultValue:\"\",type:\"string\",visibility:\"hidden\"},iframePostAllParams:{defaultValue:false,type:\"boolean\"},iframeWithPost:{defaultValue:false,type:\"boolean\"}},interfaces:[\"sap.ushell.renderer.INavContainerPage\"]},renderer:a});d.prototype.init=function(){r.prototype.init.apply(this,arguments);this._aPendingRequestsWaitingForResponse=[];this.setProperty(\"isIframeValidTime\",{time:0},true);const e=`sap.ushell.Container.dirtyState.${t()}`;this.setProperty(\"globalDirtyStorageKey\",e,true);localStorage.removeItem(this.getGlobalDirtyStorageKey());this._fnStorageEventListener=this._handleStorageEvent.bind(this);addEventListener(\"storage\",this._fnStorageEventListener);this._fnPagehideEventListener=this.exit.bind(this);addEventListener(\"pagehide\",this._fnPagehideEventListener)};d.prototype.onBeforeRendering=function(){if(!this.getReadyForRendering()){return}this._attachLogoutEvent();this._initNWBCStorage();this._addRemoteSystemForUrl();this._calculateIframeUrl();this._calculateIframeWithPost();if(!this.getProperty(\"iframeWithPost\")){const e=this.getProperty(\"iframeUrl\");const t=l.addSystemAlias(e,this);this.setProperty(\"iframeUrl\",t,true)}};d.prototype.onAfterRendering=async function(){if(!this.getReadyForRendering()){return}const e=await h.getServiceAsync(\"MessageBroker\");const t=this.getPostMessageTargetOrigin();e.addAcceptedOrigin(t);if(i.os.ios&&this.$().prop(\"tagName\")===\"IFRAME\"){this.$().parent().css(\"overflow\",\"auto\")}};d.prototype.setVisibility=function(e){this.setProperty(\"visible\",e,true);const t=this.getDomRef();if(t){t.setAttribute(\"aria-hidden\",!e)}if(e){this.removeStyleClass(\"sapUShellApplicationContainerIframeHidden\");this.removeStyleClass(\"sapUShellApplicationContainerIframeHiddenButActive\");return}if(this._aPendingRequestsWaitingForResponse.length>0){this.addStyleClass(\"sapUShellApplicationContainerIframeHiddenButActive\")}else{this.addStyleClass(\"sapUShellApplicationContainerIframeHidden\")}};d.prototype.setDataHelpId=function(e){r.prototype.setDataHelpId.apply(this,arguments);if(!this.getDomRef()||!this.getIframeWithPost()){return this}const t=this._getIframe();if(t){t.setAttribute(\"data-help-id\",`${e}-iframe`)}return this};d.prototype._attachLogoutEvent=function(){const e=this.getApplicationType();if(f.isApplicationTypeEmbeddedInIframe(e)){this._fnLogout=this._handleLogout.bind(this);h.attachLogoutEvent(this._fnLogout)}};d.prototype._initNWBCStorage=function(){const e=this.getApplicationType();if(f.isApplicationTypeEmbeddedInIframe(e,true)||f.isApplicationTypeEmbeddedInIframe(this.getFrameworkId())){f.localStorageSetItem(this.getGlobalDirtyStorageKey(),h.DirtyState.INITIAL)}};d.prototype._calculateIframeWithPost=function(){const e=c.fromURL(document.URL);const t=this.getApplicationType();const i=p.last(\"/core/shell/enableOpenIframeWithPost\")??true;const s=e.get(\"sap-post\")===\"false\";const r=e.get(\"sap-post\")===\"true\";const a=this.getOpenWithPostByAppParam()===false;const n=[\"NWBC\",\"TR\",\"WDA\",\"WCF\"].includes(t);let o;if(r){o=true}else if(s){o=false}else if(a){o=false}else{o=i&&n}if(o&&t===\"TR\"){this.setProperty(\"iframePostAllParams\",true,true)}this.setProperty(\"iframeWithPost\",o,true)};d.prototype._calculateIframeUrl=function(){const e=this.getApplicationType();let t=this.getUrl();t=o.processUrl(t,e,false,this);t=this._injectParametersFromUrl(t);this.setProperty(\"iframeUrl\",t,true)};d.prototype._injectParametersFromUrl=function(e){const t=c.fromURL(document.URL);if(!t.has(\"sap-iframe-params\")){return e}const i=t.get(\"sap-iframe-params\")||\"\";const r=i.split(\",\");if(r.length===0){return e}const a=new s(e);r.forEach(e=>{if(e&&t.has(e)){a.addQuery(e,t.get(e))}});e=a.toString();return e};d.prototype._addRemoteSystemForUrl=function(){if(this._oSystem){return}const e=this.getUrl();const t=document.createElement(\"a\");const i=c.fromURL(e).get(\"sap-client\");t.href=e;const s=`${t.protocol}//${t.host}`;this._oSystem=new u({alias:i?`${s}?sap-client=${i}`:s,baseUrl:s,client:i||undefined,platform:\"abap\"});h.addRemoteSystem(this._oSystem)};d.prototype._handleStorageEvent=function(t){if(t.key!==this.getGlobalDirtyStorageKey()){return}if(t.newValue!==h.DirtyState.PENDING){return}const i=this.getPostMessageTarget();if(!i){return}e.debug(\"getGlobalDirty() send pro54_getGlobalDirty \",null,\"sap.ushell.appIntegration.ApplicationContainer\");const s=this.getPostMessageTargetOrigin();const r=JSON.stringify({action:\"pro54_getGlobalDirty\"});i.postMessage(r,s)};d.prototype._handleLogout=function(e){const t=this.getPostMessageTarget();const i=this.getApplicationType();if(t&&f.isApplicationTypeEmbeddedInIframe(i)){const i=this.getPostMessageTargetOrigin();t.postMessage(JSON.stringify({action:\"pro54_disableDirtyHandler\"}),i);e.preventDefault()}};d.prototype._getIframe=function(){const e=this.getDomRef();if(!e||e.tagName!==\"IFRAME\"){if(this.getIframeWithPost()===true&&e&&e.getAttribute&&e.getAttribute(\"data-sap-ushell-iframe-app\")===\"true\"){return document.getElementById(`${e.getAttribute(\"id\")}-iframe`)}return null}return e};d.prototype.getPostMessageTarget=function(){const e=this._getIframe();return e?.contentWindow};d.prototype.getPostMessageTargetOrigin=function(){let e;const t=this._getIframe();if(!t){return\"\"}if(this.getIframeWithPost()===true){const i=`${t.getAttribute(\"id\").replace(\"-iframe\",\"-form\")}`;const r=document.getElementById(i);e=r?.action;if(e===undefined&&(new s).query(true).hasOwnProperty(\"sap-isolation-enabled\")){e=t.src}}else{e=t.src}const i=new s(e);const r=`${i.protocol()}://${i.host()}`;return r};d.prototype.isTrustedPostMessageSource=function(e){if(!e){return false}if(e.source&&e.source===this.getPostMessageTarget()){return true}if(e.origin&&e.origin===this.getPostMessageTargetOrigin()){return true}return false};d.prototype.sendRequest=async function(e,t,i=false){if(!i){return n.sendRequestToApplication(e,t,this,false)}if(!this.getProperty(\"visible\")){this.addStyleClass(\"sapUShellApplicationContainerIframeHiddenButActive\");this.removeStyleClass(\"sapUShellApplicationContainerIframeHidden\")}const s=n.sendRequestToApplication(e,t,this,true);this._aPendingRequestsWaitingForResponse.push(s);const r=await s;this._aPendingRequestsWaitingForResponse=this._aPendingRequestsWaitingForResponse.filter(e=>e!==s);if(this._aPendingRequestsWaitingForResponse.length===0&&!this.getProperty(\"visible\")){this.addStyleClass(\"sapUShellApplicationContainerIframeHidden\");this.removeStyleClass(\"sapUShellApplicationContainerIframeHiddenButActive\")}return r};d.prototype.sendBeforeAppCloseEvent=async function(){const e=this.getBeforeAppCloseEvent&&this.getBeforeAppCloseEvent();if(e&&e.enabled&&e.enabled===true){return this.sendRequest(\"sap.ushell.services.CrossApplicationNavigation.beforeAppCloseEvent\",e.params,true)}};d.prototype.exit=function(){localStorage.removeItem(this.getGlobalDirtyStorageKey());if(this._fnStorageEventListener){removeEventListener(\"storage\",this._fnStorageEventListener)}if(this._fnPagehideEventListener){removeEventListener(\"pagehide\",this._fnPagehideEventListener)}if(this._fnLogout){h.detachLogoutEvent(this._fnLogout)}r.prototype.exit.apply(this,arguments)};return d});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/IframeApplicationContainerRenderer\", [\"sap/base/Log\",\"sap/ui/core/Renderer\",\"sap/ui/core/RenderManager\",\"sap/ui/thirdparty/URI\",\"sap/ushell/appIntegration/ApplicationContainerRenderer\",\"sap/ushell/ApplicationType/systemAlias\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ushell/utils/UriParameters\"],(t,e,a,r,i,s,n,l,o,p,d)=>{\"use strict\";let f=0;const c=e.extend(i);c.render=function(t,e){if(!e.getReadyForRendering()){i.render(t,e);return}if(this.waitForUI5Version(e)){return}if(e.getProperty(\"iframeWithPost\")){const a=e.getProperty(\"iframeUrl\");this._renderIframeWithPOST(t,e,a,++f)}else{this._renderIframe(t,e)}e.setRenderComplete(true)};c._renderIframe=function(t,e){const a=e.getProperty(\"iframeUrl\");e.fireEvent(\"applicationConfiguration\");t.openStart(\"iframe\",e);t.accessibilityState(e);t.attr(\"src\",a);t.attr(\"title\",o.i18n.getText(\"AppilcationContainer.IframeTitle\"));t.attr(\"data-help-id\",e.getDataHelpId());t.attr(\"data-sap-ushell-active\",e.getActive());t.attr(\"data-sap-ushell-iframe-idx\",++f);t.attr(\"data-sap-ushell-initial-app-id\",e.getInitialAppId());t.attr(\"data-sap-ushell-current-app-id\",e.getCurrentAppId());t.attr(\"data-sap-ushell-stateful-type\",e.getStatefulType());t.attr(\"data-sap-ushell-framework-id\",e.getFrameworkId());t.class(\"sapUShellApplicationContainer\");t.style(\"height\",e.getHeight());t.style(\"width\",e.getWidth());if(n.last(\"/core/shell/enableFeaturePolicyInIframes\")===true){t.attr(\"allow\",p.getIframeFeaturePolicies())}t.openEnd();t.close(\"iframe\")};c._renderIframeWithPOST=function(e,r,i,s){const n=p.filterOutParamsFromLegacyAppURL(i);this._renderPostWrapper(e,r);this._getAdditionalDataForPost(r,n).then(async t=>{const e=new a;const i=`${r.getId()}-form`;const l=`${r.getId()}-iframe`;const o=this._calculatePostUrls(r,n);this._renderPostForm(e,r,i,l,t,o.form,`${r.getDataHelpId()}-form`,o.iframeWithoutSystemAlias);this._renderPostIframe(e,r,l,o.iframe,o.form,`${r.getDataHelpId()}-iframe`,s);e.flush(r.getDomRef());e.destroy();r.fireEvent(\"applicationConfiguration\");await p.awaitTimeout(0);return i}).then(e=>{const a=document.getElementById(e);if(a){a.submit()}else{t.error(\"Form element not found\")}})};c._renderPostWrapper=function(t,e){t.openStart(\"div\",e);t.attr(\"data-help-id\",e.getDataHelpId());t.attr(\"data-sap-ushell-active\",e.getActive());t.attr(\"data-sap-ushell-iframe-app\",\"true\");t.attr(\"data-sap-ushell-initial-app-id\",e.getInitialAppId());t.attr(\"data-sap-ushell-current-app-id\",e.getCurrentAppId());t.attr(\"data-sap-ushell-stateful-type\",e.getStatefulType());t.attr(\"data-sap-ushell-framework-id\",e.getFrameworkId());t.class(\"sapUShellApplicationContainer\");t.style(\"height\",e.getHeight());t.style(\"width\",e.getWidth());t.openEnd();t.close(\"div\")};c._calculatePostUrls=function(t,e){const a=d.fromURL(e);const i=e;const n=s.addSystemAlias(i,t);let l=e;if(t.getIframePostAllParams()){if(this._getPostParameters(t,i).length){const t=a.get(\"sap-iframe-hint\");const i=a.get(\"sap-keep-alive\");const s=new r(e).query(\"\");if(typeof t===\"string\"){s.addSearch(\"sap-iframe-hint\",t)}if(typeof i===\"string\"){s.addSearch(\"sap-keep-alive\",i)}l=s.toString()}}return{iframeWithoutSystemAlias:i,iframe:n,form:l}};c._getAdditionalDataForPost=async function(t,e){let a=[];let r=[];const i=p.getParamKeys(e);if(i.aAppStateNamesArray.length){const t=await l.getServiceAsync(\"Navigation\");try{const e=await t.getAppStateData(i.aAppStateKeysArray);if(e){a=[...i.aAppStateNamesArray];r=[...e]}}catch{}}a.push(\"sap-flp-url\");r.push(l.getFLPUrl(true));a.push(\"system-alias\");r.push(t.getSystemAlias());const s={};a.forEach((t,e)=>{if(r[e]||t===\"system-alias\"){s[t]=r[e]}});return s};c._renderPostForm=function(t,e,a,r,i,s,n,l){const o=JSON.stringify(i);t.openStart(\"form\");t.attr(\"id\",a);t.attr(\"method\",\"post\");t.attr(\"name\",a);t.attr(\"target\",r);t.attr(\"action\",s);t.attr(\"data-help-id\",n);t.style(\"display\",\"none\");t.openEnd();t.voidStart(\"input\");t.attr(\"name\",\"sap-flp-params\");t.attr(\"value\",o);t.voidEnd();if(e.getIframePostAllParams()){const a=this._getPostParameters(e,l);a.forEach(e=>{t.voidStart(\"input\");t.attr(\"name\",e.key);t.attr(\"value\",e.value);t.voidEnd()})}t.close(\"form\")};c._renderPostIframe=function(t,e,a,i,s,l,d){t.openStart(\"iframe\",a);t.attr(\"name\",a);t.accessibilityState(e);t.attr(\"sap-orig-src\",i);t.attr(\"title\",o.i18n.getText(\"AppilcationContainer.IframeTitle\"));t.attr(\"data-help-id\",l);t.attr(\"data-sap-ushell-iframe-idx\",d);t.class(\"sapUShellApplicationContainer\");t.style(\"height\",e.getHeight());t.style(\"width\",e.getWidth());if(n.last(\"/core/shell/enableFeaturePolicyInIframes\")){t.attr(\"allow\",p.getIframeFeaturePolicies().replaceAll(\";\",` ${new r(s).origin()};`))}t.openEnd();t.close(\"iframe\")};c._getPostParameters=function(t,e){const a=d.fromURL(e);const r=[];let i=\"\";if(a.has(\"sap-iframe-hint\")){i=a.get(\"sap-iframe-hint\")}const s=a.mParams;if(t.getApplicationType()===\"TR\"||i===\"GUI\"){for(const t in s){if(t===\"sap-iframe-hint\"||t===\"sap-keep-alive\"){continue}r.push({key:t,value:s[t][0]})}}return r};return c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/KeepAliveApps\", [],()=>{\"use strict\";function t(){let t={};this._clean=function(){t={}};this.get=function(n){if(n&&t.hasOwnProperty(n)){return t[n]}return undefined};this.set=function(n,e){if(n){t[n]=e}};this.removeById=function(n){if(n&&t.hasOwnProperty(n)){delete t[n]}};this.removeByContainer=function(t,n){this.forEach((e,i)=>{if(e.container===t){if(n){n(e)}this.removeById(i)}})};this.forEach=function(n){Object.keys(t).forEach(function(e){n.apply(this,[t[e],e,this])})};this.length=function(){return Object.keys(t).length}}return new t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/PostMessageManager\", [\"sap/base/Log\",\"sap/base/util/Deferred\",\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/base/util/uid\"],(e,s,t,i,r)=>{\"use strict\";const n={provideApplicationContext:false,allowInactive:false};const a={preventBroadcast:false,onlyCurrentApplication:false,ignoreCapabilities:false};const o=Symbol(\"DoNotReply\");const l=e.getLogger(\"sap.ushell.appIntegration.PostMessageManager\");class c{#e=()=>{throw new Error(\"PostMessageManager is not initialized\")};#s=()=>{throw new Error(\"PostMessageManager is not initialized\")};#t=()=>{throw new Error(\"PostMessageManager is not initialized\")};#i=false;#r=false;#n=[];#a=[];#o={};#l={};#c=true;#d=[];init(e={}){if(this.#i){throw new Error(\"PostMessageManager is already initialized.\")}const s=i.get(\"sap-ushell-config.services.PostMessage.config\")||{};if(s.enabled===false){this.#r=true;this.#i=true;l.warning(\"PostMessageAPI is disabled by configuration.\");return}const t=e.getCurrentApplication||function(){};this.#s=t;const r=e.getAllApplications||function(){return[]};this.#t=r;if(e.skipReplay){this.#c=false}this.#e=this.#u.bind(this);addEventListener(\"message\",this.#e);this.#i=true}async#u(e){let s;try{s=this.#p(e)}catch{l.debug(\"Received Post Message with invalid JSON. Ignoring the message.\",e.data);return}const t=this.#g(e,s);e=t.event;s=t.message;if(!s.service){l.debug(\"Received Post Message without a service name. Ignoring the message.\");return}if(![\"response\",\"request\"].includes(s.type)){l.warning(`Received Post Message with an invalid type: '${s.type}'. Ignoring the message.`);return}const i=e.source;const r=e.origin;l.debug(`Received postMessage ${s.service} (${s.request_id}) from iframe with domain '${r}'`,JSON.stringify(s,null,2));if(!s.request_id){l.debug(\"Received Post Message without a request_id. Message might be not handled correctly.\")}if(s.type===\"response\"){const t=this.#f(e,s);if(t){l.debug(`Response for ${s.service} (${s.request_id}) was handled by a response handler.`)}return}s.body=s.body||{};let n;let a=true;try{const t=await this.#h(s,i,r,e);l.debug(`Service request for ${s.service} (${s.request_id}) was handled successfully.`);if(t===o){l.debug(`Service request for ${s.service} (${s.request_id}) was handled successfully, but no response is needed.`);return}if(t&&typeof t===\"object\"&&Object.hasOwn(t,\"_noresponse_\")){l.debug(`Service request for ${s.service} (${s.request_id}) was handled successfully, but no response is needed.`);return}n={result:t}}catch(e){a=false;l.error(`Service request for ${s.service} (${s.request_id}) failed.`,e);let t;let i=e;if(e instanceof Error){i=e.message;t=e.stack}n={message:i,stack:t}}const c=s.originalMessage?.service||s.service;return this.sendResponse(s.request_id,c,n,a,i,r)}#p(e){let s;if(typeof e.data===\"string\"){s=JSON.parse(e.data)}else if(t(e.data)){s=e.data}else{throw new Error(\"Invalid message format\")}return s}#g(e,s){let t;this.#n.forEach(i=>{if(t){return}t=i(e,s)});return{event:t?.event||e,message:t?.message||s}}#f(e,s){let t=false;this.#a.forEach(i=>{if(t){return}t=i(e,s)});return t}async#h(e,s,t,i){const r=e.service;const n=this.#b(r);if(!n){if(this.#c){this.#d.push(i);return o}await this.sendResponse(e.request_id,r,{code:-1,message:`Unknown service name: '${r}'`},false,s,t);return o}const a=this.#v(r);if(typeof a?.isValidRequest===\"function\"){const e=await a.isValidRequest(i);if(!e){throw new Error(`Invalid request for service ${r}.`)}}if(a.provideApplicationContext){const t=this.#w(s);if(!t){throw new Error(\"Cannot find the related application for the service request.\")}if(!t.getActive()&&!a?.allowInactive){throw new Error(\"Received Post Message from an inactive application.\")}if(!t.isTrustedPostMessageSource(i)){throw new Error(\"Received Post Message from an untrusted source.\")}l.debug(`Handling service request for ${r} (${e.request_id}) with application context ${t.getId()}.`);return n(e.body,t,i)}l.debug(`Handling service request for ${r} (${e.request_id}) without application context.`);return n(e.body,i)}#b(e){return this.#o[e]?.handler}#v(e){return this.#o[e]?.options}#w(e){let s;this.#t().forEach(t=>{if(s||!t.isA(\"sap.ushell.appIntegration.IframeApplicationContainer\")){return}const i=t.getPostMessageTarget();if(i===e){s=t}});if(s){return s}l.error(\"Cannot find the related application for the service request; using the current application as fallback. This fallback will be removed in future\");const t=this.#s();if(t&&t.isA(\"sap.ushell.appIntegration.IframeApplicationContainer\")){return t}}addEventPreprocessor(e){this.#n.push(e)}setRequestHandler(e,s,t={}){if(this.#o[e]){l.error(`Request handler for service ${e} is already defined. Overwriting the existing handler.`)}this.#o[e]={handler:s,options:{...n,...t}}}async sendRequest(e,s,t,i,n){if(this.#r){throw new Error(\"PostMessageAPI is disabled by configuration.\")}if(!this.#i){throw new Error(\"PostMessageManager is not initialized.\")}const a=r();const o={type:\"request\",request_id:a,service:e,body:s||{}};return this.#M(o,t,i,n)}async sendResponse(e,s,t,i,r,n){if(this.#r){throw new Error(\"PostMessageAPI is disabled by configuration.\")}if(!this.#i){throw new Error(\"PostMessageManager is not initialized.\")}const a={type:\"response\",request_id:e,service:s,status:i?\"success\":\"error\",body:t||{}};return this.#M(a,r,n,false)}async#M(e,s,t,i){if(!s){throw new Error(\"No content window provided.\")}const r=e.request_id;let n=Promise.resolve();if(i){l.debug(`Waiting for response on ${e.service} (${e.request_id}) from iframe with domain '${t}'`);n=this.#P(r,s)}const a=JSON.stringify(e);l.debug(`Sending post message on ${e.service} (${e.request_id}) to iframe with domain '${t}'`,JSON.stringify(e,null,2));s.postMessage(a,t);return n}#P(e,t){const i=new s;const r=this.#y.bind(this,i,e,t);this.#a.push(r);return i.promise}#y(e,s,t,i,r){if(t!==i.source){return false}if(r?.request_id!==s){return false}l.debug(`Received response for ${r.service} (${r.request_id}) from iframe with domain '${i.origin}'`);if(r.status===\"success\"){e.resolve(r.body)}else{let s;if(r.body?.message){s=new Error(r.body.message)}else{s=new Error(\"Unknown error\")}if(r.body?.stack){s.stack=r.body.stack}e.reject(s)}return true}async sendRequestToApplication(e,s,t,i){if(this.#r){throw new Error(\"PostMessageAPI is disabled by configuration.\")}if(!this.#i){throw new Error(\"PostMessageManager is not initialized.\")}const r=this.#q(e);if(r.onlyCurrentApplication){const e=this.#s();if(t!==e){throw new Error(\"Application is not the current application.\")}}const n=r.ignoreCapabilities||t.supportsCapabilities([e]);if(!n){throw new Error(`Application does not support the service request: ${e}`)}if(typeof r?.isValidRequestTarget===\"function\"){const e=r.isValidRequestTarget(t);if(!e){throw new Error(\"Application is not a valid request target.\")}}return this.sendRequest(e,s,t.getPostMessageTarget(),t.getPostMessageTargetOrigin(),i)}async sendRequestToAllApplications(e,s,t){if(this.#r){throw new Error(\"PostMessageAPI is disabled by configuration.\")}if(!this.#i){throw new Error(\"PostMessageManager is not initialized.\")}const i=this.#q(e);if(i.preventBroadcast){throw new Error(`Cannot send request to all applications for service request: ${e}. The distribution policy prevents broadcasting.`)}const r=[];if(i.onlyCurrentApplication){const e=this.#s();if(!e){return[]}r.push(e)}else{this.#t().forEach(e=>{r.push(e)})}const n=r.filter(s=>{if(!s.isA(\"sap.ushell.appIntegration.IframeApplicationContainer\")){return false}const t=i.ignoreCapabilities||s.supportsCapabilities([e]);if(!t){return false}if(typeof i?.isValidRequestTarget===\"function\"){const e=i.isValidRequestTarget(s);return e}return true});const a=n.map(i=>this.sendRequest(e,s,i.getPostMessageTarget(),i.getPostMessageTargetOrigin(),t));return Promise.allSettled(a).then(e=>{const s=e.filter(e=>e.status===\"rejected\").map(e=>e.reason);if(s.length>0){throw new Error(`Some requests failed: ${s.map(e=>e.message).join(\", \")}`)}return e.map(e=>e.value)})}#q(e){return this.#l[e]||a}setDistributionPolicy(e,s){if(this.#l[e]){l.error(`Distribution policy for service ${e} is already defined. Overwriting the existing policy.`)}this.#l[e]={...a,...s}}replayStoredMessages(){this.#c=false;this.#d.forEach(e=>{this.#u(e)});this.#d=[]}reset(){removeEventListener(\"message\",this.#e);this.#e=()=>{throw new Error(\"PostMessageManager is not initialized\")};this.#s=()=>{throw new Error(\"PostMessageManager is not initialized\")};this.#t=()=>{throw new Error(\"PostMessageManager is not initialized\")};this.#i=false;this.#r=false;this.#n=[];this.#o={};this.#a=[];this.#l={};this.#c=true;this.#d=[]}}return new c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler\", [\"sap/base/Log\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/appIntegration/PostMessageManager\",\"sap/ushell/Container\"],(e,a,i,t)=>{\"use strict\";const s={\"sap.ushell.appRuntime.keepAliveAppHide\":{preventBroadcast:true,ignoreCapabilities:true},\"sap.ushell.appRuntime.keepAliveAppShow\":{preventBroadcast:true,ignoreCapabilities:true},\"sap.ushell.sessionHandler.beforeApplicationHide\":{preventBroadcast:true,ignoreCapabilities:true},\"sap.ushell.sessionHandler.afterApplicationShow\":{preventBroadcast:true,ignoreCapabilities:true},\"sap.ushell.appRuntime.innerAppRouteChange\":{onlyCurrentApplication:true,ignoreCapabilities:true},\"sap.ushell.appRuntime.hashChange\":{onlyCurrentApplication:true,ignoreCapabilities:true},\"sap.ushell.appRuntime.themeChange\":{ignoreCapabilities:true},\"sap.ushell.appRuntime.uiDensityChange\":{ignoreCapabilities:true}};const n={\"sap.ushell.appRuntime.hashChange\":{async handler(i,s){const{newHash:n,direction:r}=i;a.disableBlueBoxHashChangeTrigger=true;a.replaceHash(n);a.disableBlueBoxHashChangeTrigger=false;if(r){const a=await t.getServiceAsync(\"ShellNavigationInternal\");a.hashChanger.fireEvent(\"hashReplaced\",{hash:a.hashChanger.getHash(),direction:r});e.debug(`PostMessageAPI.hashChange :: Informed by the Iframe, to change the History direction property in FLP to: ${r}`)}}},\"sap.ushell.appRuntime.iframeIsValid\":{async handler(e,a,i){a.setIsIframeValidTime({time:(new Date).getTime()})},options:{provideApplicationContext:true,allowInactive:true}},\"sap.ushell.appRuntime.iframeIsBusy\":{async handler(e,a){}},\"sap.ushell.appRuntime.isInvalidIframe\":{async handler(e,a,i){a.setIsInvalidIframe(e.bValue)},options:{provideApplicationContext:true,allowInactive:true}}};return{register(){Object.keys(s).forEach(e=>{const a=s[e];i.setDistributionPolicy(e,a)});Object.keys(n).forEach(e=>{const a=n[e];i.setRequestHandler(e,a.handler,a.options)})}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/PostMessageManager/ExtensionItems\", [\"sap/base/Log\",\"sap/base/util/uid\"],(e,t)=>{\"use strict\";class s{#e={};generateItemId(){const e=t();if(Object.hasOwn(this.#e,e)){return this.generateItemId()}this.#e[e]=null;return e}storeItem(e,t){this.#e[e]=t}getItem(e){return this.#e[e]}removeItem(e){delete this.#e[e]}visitItems(t,s){t.forEach(t=>{const i=this.getItem(t);if(i){s(i)}else{e.warning(`Item with id ${t} not found`)}})}applyItemVisibility(e,t){if(t){e.showForCurrentApp()}else{e.hideForCurrentApp()}}}return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/PostMessageManager/LifecycleHandler\", [\"sap/base/Log\",\"sap/base/util/Deferred\",\"sap/base/util/deepClone\",\"sap/m/library\",\"sap/ui/thirdparty/hasher\",\"sap/ui/thirdparty/URI\",\"sap/ushell/appIntegration/PostMessageManager\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/state/ShellModel\",\"sap/ushell/utils\"],(e,s,t,a,i,r,l,n,o,c,p,u,d)=>{\"use strict\";const h=a.URLHelper;const y=c.appIntegration.contracts.StatefulType;const v=[(e,s)=>{if(s.service?.startsWith(\"sap.ushell.services.appLifeCycle\")){const a=t(s);a.service=a.service.replace(/appLifeCycle/gi,\"AppLifeCycle\");a.originalMessage=s;const i=new MessageEvent(\"message\",{data:JSON.stringify(a),origin:e.origin,source:e.source});i.originalMessageEvent=e;return{event:i,message:a}}}];const g={\"sap.ushell.services.appLifeCycle.create\":{preventBroadcast:true},\"sap.ushell.services.appLifeCycle.destroy\":{preventBroadcast:true},\"sap.ushell.services.appLifeCycle.store\":{preventBroadcast:true},\"sap.ushell.services.appLifeCycle.restore\":{preventBroadcast:true},\"sap.ushell.sessionHandler.extendSessionEvent\":{ignoreCapabilities:true},\"sap.ushell.sessionHandler.logout\":{isValidRequestTarget(e){if(\",WCF,TR,WDA,\".includes(e.getApplicationType())){return false}return true}}};async function f(s=\"\",t=\"\",a=\"\",i=\"\",r=\"\",l,o){let c=d.getDocumentUrl();function p(e,s,i,r,l,n){t=t.includes(e)?t.replace(e,s):t;a=a.includes(e)?a.replace(e,s):a;if(i&&l){t=t.includes(i)?t.replaceAll(i,l):t;a=a.includes(i)?a.replaceAll(i,l):a}if(r&&n){t=t.includes(r)?t.replaceAll(r,n):t;a=a.includes(r)?a.replaceAll(r,n):a}}if(o){const o=await n.getServiceAsync(\"AppState\");o.setAppStateToPublic(l).then((e,n,o,u=\"\",d=\"\")=>{if(u){c=c.replace(n,u)}if(d){c=c.replace(o,d)}p(l,c,n,o,u,d);h.triggerEmail(s,t,a,i,r)},e.error)}else{p(l,c);h.triggerEmail(s,t,a,i,r)}}const S={\"sap.gui.loadFinished\":{async handler(e,s,t){s.setStatefulType(y.ContractV1);s.addCapabilities([\"sap.its.startService\",\"sap.gui.triggerCloseSession\"])},options:{provideApplicationContext:true,allowInactive:true}},\"sap.ushell.services.AppLifeCycle.subscribe\":{async handler(s,t,a){const i=s;if(!Array.isArray(i)){e.error(\"subscribe service call failed: capabilities must be an array\");throw new Error(\"subscribe service call failed: capabilities must be an array\")}const r=i.map(e=>`${e.service}.${e.action}`);t.addCapabilities(r)},options:{provideApplicationContext:true,allowInactive:true}},\"sap.ushell.services.AppLifeCycle.setup\":{async handler(e,s,t){const a=e;const i=[];if(a){if(a.isStateful){s.setStatefulType(y.ContractV2);i.push(\"sap.ushell.services.appLifeCycle.create\");i.push(\"sap.ushell.services.appLifeCycle.destroy\");const e=!d.isSAPLegacyApplicationType(s.getApplicationType(),s.getFrameworkId());if(e){i.push(\"sap.ushell.services.appLifeCycle.store\");i.push(\"sap.ushell.services.appLifeCycle.restore\")}}if(a.isIframeValid){i.push(\"sap.ushell.appRuntime.iframeIsValid\")}if(a.session?.bLogoutSupport){i.push(\"sap.ushell.sessionHandler.logout\")}s.addCapabilities(i)}},options:{provideApplicationContext:true,allowInactive:true}},\"sap.ushell.sessionHandler.notifyUserActive\":{async handler(e,s){const t=n.getRenderer().getShellController();const a=t._getSessionHandler();if(a?.isInitialized?.()){a.userActivityHandler()}}},\"sap.ushell.sessionHandler.extendSessionEvent\":{async handler(e,s){const t=n.getRenderer().getShellController();const a=t._getSessionHandler();if(a?.isInitialized?.()){a.userActivityHandler()}}},\"sap.ushell.ui5service.ShellUIService.setTitle\":{async handler(e,s,t){const{sTitle:a,oAdditionalInformation:i}=e;const r=s.getShellUIService();r.setTitle(a,i)},options:{provideApplicationContext:true}},\"sap.ushell.ui5service.ShellUIService.setBackNavigation\":{async handler(e,s,t){const a=s.getShellUIService();let i;if(e.callbackMessage?.service){s.addCapabilities([e.callbackMessage.service]);i=()=>{s.sendRequest(e.callbackMessage.service,null,false)}}a.setBackNavigation(i)},options:{provideApplicationContext:true}},\"sap.ushell.services.ShellUIService.setTitle\":{async handler(e,s,t){const{sTitle:a,oAdditionalInformation:i}=e;const r=s.getShellUIService();r.setTitle(a,i)},options:{provideApplicationContext:true}},\"sap.ushell.services.ShellUIService.setHierarchy\":{async handler(e,s,t){const{aHierarchyLevels:a}=e;const i=s.getShellUIService();i.setHierarchy(a)},options:{provideApplicationContext:true}},\"sap.ushell.services.ShellUIService.setRelatedApps\":{async handler(e,s,t){const{aRelatedApps:a}=e;const i=s.getShellUIService();i.setRelatedApps(a)},options:{provideApplicationContext:true}},\"sap.ushell.services.ShellUIService.setDirtyFlag\":{async handler(e,s){const{bIsDirty:t}=e;n.setDirtyFlag(t)}},\"sap.ushell.services.ShellUIService.showShellUIBlocker\":{async handler(e,s){}},\"sap.ushell.services.ShellUIService.getFLPUrl\":{async handler(e,s){const t=e.bIncludeHash;return n.getFLPUrlAsync(t)}},\"sap.ushell.services.ShellUIService.getShellGroupIDs\":{async handler(e,s){if(true){const{bGetAll:s}=e;const t=await n.getServiceAsync(\"BookmarkV2\");return t.getShellGroupIDs(s)}throw new Error(\"Bookmark.getShellGroupIDs is deprecated. Use BookmarkV2.getContentNodes instead.\")}},\"sap.ushell.services.ShellUIService.addBookmark\":{async handler(e,s){if(true){const{oParameters:s,groupId:t}=e;const a=await n.getServiceAsync(\"AppLifeCycle\");const i=await a.getCurrentApplication().getSystemContext();const r=await n.getServiceAsync(\"BookmarkV2\");return r.addBookmarkByGroupId(s,t,i.id)}throw new Error(\"Bookmark.addBookmarkByGroupId is deprecated. Use BookmarkV2.addBookmark instead.\")}},\"sap.ushell.services.ShellUIService.addBookmarkDialog\":{async handler(e,s){const[t]=await d.requireAsync([\"sap/ushell/ui/footerbar/AddBookmarkButton\"]);const a=new t;a.firePress({})}},\"sap.ushell.services.ShellUIService.getShellGroupTiles\":{async handler(e,s){if(true){const{groupId:s}=e;const t=await n.getServiceAsync(\"FlpLaunchPage\");const a=t.getTilesByGroupId(s);return d.promisify(a)}throw new Error(\"Classic homepage is deprecated.\")}},\"sap.ushell.services.ShellUIService.sendUrlAsEmail\":{async handler(e,s){const t=u.getModel().getProperty(\"/application/title\");let a;if(t===undefined){a=p.i18n.getText(\"linkToApplication\")}else{a=`${p.i18n.getText(\"linkTo\")} '${t}'`}f(\"\",a,document.URL,\"\",\"\",document.URL,true)}},\"sap.ushell.services.ShellUIService.sendEmailWithFLPButton\":{async handler(e,s){const{bSetAppStateToPublic:t}=e;const a=u.getModel().getProperty(\"/application/title\");let i;if(a===undefined){i=p.i18n.getText(\"linkToApplication\")}else{i=`${p.i18n.getText(\"linkTo\")} '${a}'`}f(\"\",i,document.URL,\"\",\"\",document.URL,t)}},\"sap.ushell.services.ShellUIService.sendEmail\":{async handler(e,s){const{sTo:t,sSubject:a,sBody:i,sCc:r,sBcc:l,sIFrameURL:n,bSetAppStateToPublic:o}=e;f(t,a,i,r,l,n,o)}},\"sap.ushell.services.ShellUIService.processHotKey\":{async handler(e,s){const{altKey:t,ctrlKey:a,shiftKey:i,key:r,keyCode:l}=e;const n=new KeyboardEvent(\"keydown\",{altKey:t,ctrlKey:a,shiftKey:i,key:r,keyCode:l});document.dispatchEvent(n)}},\"sap.ushell.services.Container.setDirtyFlag\":{async handler(e,s){const{bIsDirty:t}=e;n.setDirtyFlag(t)}},\"sap.ushell.services.Container.registerDirtyStateProvider\":{async handler(e,t,a){const{bRegister:i}=e;if(i){t.addCapabilities([\"sap.ushell.appRuntime.handleDirtyStateProvider\"]);n.setAsyncDirtyStateProvider(async e=>{const a=new s;const i=setTimeout(()=>{a.resolve(false)},2500);t.sendRequest(\"sap.ushell.appRuntime.handleDirtyStateProvider\",{oNavigationContext:e},true).then(e=>{if(i){clearTimeout(i)}a.resolve(e.result??false)});return a.promise})}else{n.setAsyncDirtyStateProvider()}},options:{provideApplicationContext:true}},\"sap.ushell.services.Container.getFLPUrl\":{async handler(e,s){const t=e.bIncludeHash;return n.getFLPUrlAsync(t)}},\"sap.ushell.services.Container.getFLPConfig\":{async handler(e,s){return n.getFLPConfig()}},\"sap.ushell.services.Container.getFLPPlatform\":{async handler(e,s){return n.getFLPPlatform()}},\"sap.ushell.services.Container.attachLogoutEvent\":{async handler(e,s,t){s.addCapabilities([\"sap.ushell.appRuntime.executeLogoutFunctions\"]);n.attachLogoutEvent(async()=>s.sendRequest(\"sap.ushell.appRuntime.executeLogoutFunctions\",{},true),true)},options:{provideApplicationContext:true}},\"sap.ushell.services.AppLifeCycle.reloadCurrentApp\":{async handler(e,s){o.emit(\"reloadCurrentApp\",{sCurrentHash:i.getHash(),date:Date.now()})}},\"sap.ushell.services.AppLifeCycle.getFullyQualifiedXhrUrl\":{async handler(e,s){const{path:t}=e;if(!t){return}const a=await n.getServiceAsync(\"AppLifeCycle\");const i=await a.getCurrentApplication().getSystemContext();const l=i.getFullyQualifiedXhrUrl(t);let o=\"\";let c=\"\";let p=\"\";const u=n.getFLPUrl(true);const d=new r(u);if(d.protocol()){c=`${d.protocol()}://`}if(d.hostname()){o=d.hostname()}if(d.port()){p=`:${d.port()}`}const h=c+o+p+l;return h}},\"sap.ushell.services.AppLifeCycle.getSystemAlias\":{async handler(e,s,t){const a=s.getCurrentAppTargetResolution();const i=a.systemAlias;const r=a.contentProviderId;const[l]=await d.requireAsync([\"sap/ushell/ApplicationType/systemAlias\"]);return l.getSystemAliasInProvider(i,r)},options:{provideApplicationContext:true}},\"sap.ushell.services.AppLifeCycle.setNewAppInfo\":{async handler(e,s){const t=e;const a=await n.getServiceAsync(\"AppLifeCycle\");a.setAppInfo(t,true)}},\"sap.ushell.services.AppLifeCycle.updateCurrentAppInfo\":{async handler(e,s){const t=e;const a=await n.getServiceAsync(\"AppLifeCycle\");a.setAppInfo(t,false)}},\"sap.ushell.services.AppConfiguration.setApplicationFullWidth\":{async handler(e,s){const{bValue:t}=e;const[a]=await d.requireAsync([\"sap/ushell/services/AppConfiguration\"]);a.setApplicationFullWidthInternal(t)}}};return{register(){v.forEach(e=>{l.addEventPreprocessor(e)});Object.keys(g).forEach(e=>{const s=g[e];l.setDistributionPolicy(e,s)});Object.keys(S).forEach(e=>{const s=S[e];l.setRequestHandler(e,s.handler,s.options)})},sendEmail:f}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/PostMessageManager/MessageBrokerHandler\", [\"sap/ushell/appIntegration/PostMessageManager\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/utils\"],(e,s,r,a)=>{\"use strict\";const t={\"sap.ushell.services.MessageBroker\":{async handler(e,s){await r.getServiceAsync(\"MessageBroker\");const[t]=await a.requireAsync([\"sap/ushell/services/MessageBroker/MessageBrokerEngine\"]);const n={oMessageData:JSON.parse(s.data),oMessage:s};return t.processPostMessage(n)},options:{async isValidRequest(e){const s=await r.getServiceAsync(\"MessageBroker\");const a=s.getAcceptedOrigins().find(s=>s===e.origin);if(a!==undefined){return true}return false}}}};return{register(){if(!s.last(\"/core/shell/enableMessageBroker\")){return}Object.keys(t).forEach(s=>{const r=t[s];e.setRequestHandler(s,r.handler,r.options)})}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/PostMessageManager/NWBCHandler\", [\"sap/base/Log\",\"sap/base/util/deepClone\",\"sap/base/util/uid\",\"sap/ushell/appIntegration/PostMessageManager\",\"sap/ushell/Container\",\"sap/ushell/utils\"],(e,t,a,s,r,o)=>{\"use strict\";const l=[(e,s)=>{if(s.action===\"pro54_setGlobalDirty\"){const r=t(s);r.service=\"sap.ushell.appIntegration.PostMessageManager.NWBCHandler.pro54_setGlobalDirty\";delete r.action;r.body=r.parameters;delete r.parameters;if(!r.request_id){r.request_id=a()}if(!r.type){r.type=\"request\"}const o=new MessageEvent(\"message\",{data:JSON.stringify(r),origin:e.origin,source:e.source});return{event:o,message:r}}}];const n={\"sap.ushell.appIntegration.PostMessageManager.NWBCHandler.pro54_setGlobalDirty\":{async handler(t,a,s){const l=a.getGlobalDirtyStorageKey();if(localStorage.getItem(l)===r.DirtyState.PENDING){e.debug(`getGlobalDirty() pro54_setGlobalDirty SetItem key:${l} value: ${t.globalDirty}`,null,\"sap.ushell.appIntegration.ApplicationContainer\");o.localStorageSetItem(l,t.globalDirty,true)}},options:{provideApplicationContext:true}}};return{register(){l.forEach(e=>{s.addEventPreprocessor(e)});Object.keys(n).forEach(e=>{const t=n[e];s.setRequestHandler(e,t.handler,t.options)})}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/PostMessageManager/ServiceHandler\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/ui/core/Element\",\"sap/ui/core/UIComponent\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/appIntegration/PostMessageManager\",\"sap/ushell/appIntegration/PostMessageManager/ExtensionItems\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/library\",\"sap/ushell/services/Navigation/compatibility\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\"],(e,t,s,a,n,r,i,o,c,l,p,d,u,g,v)=>{\"use strict\";const y=d.ContentNodeType;let m;const h=new r;function A(e,t){if(!e||!e.serviceUrl||!t){return}if(t.id===\"\"||t.id===\"saas_approuter\"){e.serviceUrl=undefined;s.warning(\"Dynamic data bookmarks tiles are not supported for local content providers\")}}function k(e){m.removeItem(e);const t=n.getElementById(e);if(t?.destroy){t.destroy()}}const S={\"sap.ushell.services.Navigation.getHref\":{async handler(e,t){const{oTarget:s}=e;const a=await l.getServiceAsync(\"Navigation\");return a.getHref(s)}},\"sap.ushell.services.Navigation.backToPreviousApp\":{async handler(e,t){const s=await l.getServiceAsync(\"Navigation\");await s.backToPreviousApp()}},\"sap.ushell.services.Navigation.historyBack\":{async handler(e,t){const{iSteps:s}=e;const a=await l.getServiceAsync(\"Navigation\");a.historyBack(s)}},\"sap.ushell.services.Navigation.isInitialNavigation\":{async handler(e,t){const s=await l.getServiceAsync(\"Navigation\");return s.isInitialNavigation()}},\"sap.ushell.services.Navigation.navigate\":{async handler(e,t){const{oTarget:s}=e;const n=await l.getServiceAsync(\"Navigation\");const r=a({},s);g.storeSapSystemToLocalStorage(r);await n.navigate(r)}},\"sap.ushell.services.Navigation.getPrimaryIntent\":{async handler(e,t){const{sSemanticObject:s,oLinkFilter:a}=e;const n=await l.getServiceAsync(\"Navigation\");return n.getPrimaryIntent(s,a)}},\"sap.ushell.services.Navigation.getLinks\":{async handler(e,t){const s=e;const a=await l.getServiceAsync(\"Navigation\");return a.getLinks(s)}},\"sap.ushell.services.Navigation.getSemanticObjects\":{async handler(e,t){const s=await l.getServiceAsync(\"Navigation\");return s.getSemanticObjects()}},\"sap.ushell.services.Navigation.isNavigationSupported\":{async handler(e,t){const{aTargets:s}=e;const a=await l.getServiceAsync(\"Navigation\");return a.isNavigationSupported(s)}},\"sap.ushell.services.Navigation.getAppState\":{async handler(e,t){const{sAppStateKey:s}=e;const a=await l.getServiceAsync(\"Navigation\");const n=await a.getAppState(h,s);delete n._oServiceInstance;return n}},\"sap.ushell.services.Navigation.resolveIntent\":{async handler(e,t){const{sHashFragment:s}=e;const a=await l.getServiceAsync(\"Navigation\");return a.resolveIntent(s)}},\"sap.ushell.services.Navigation.isUrlSupported\":{async handler(e,t){const{sUrl:s}=e;const a=await l.getServiceAsync(\"Navigation\");await a.isUrlSupported(s)}},\"sap.ushell.services.CrossApplicationNavigation.hrefForExternal\":{async handler(e,t){const{oArgs:s}=e;const a=await l.getServiceAsync(\"Navigation\");return a.getHref(s)}},\"sap.ushell.services.CrossApplicationNavigation.getSemanticObjectLinks\":{async handler(e,t){const{sSemanticObject:s,mParameters:a,bIgnoreFormFactors:n,sAppStateKey:r,bCompactIntents:i}=e;return u.getSemanticObjectLinks(s,a,n,undefined,r,i)}},\"sap.ushell.services.CrossApplicationNavigation.isIntentSupported\":{async handler(e,t){const{aIntents:s}=e;return u.isIntentSupported(s)}},\"sap.ushell.services.CrossApplicationNavigation.isNavigationSupported\":{async handler(e,t){const{aIntents:s}=e;const a=await l.getServiceAsync(\"Navigation\");return a.isNavigationSupported(s)}},\"sap.ushell.services.CrossApplicationNavigation.backToPreviousApp\":{async handler(e,t){const s=await l.getServiceAsync(\"Navigation\");return s.backToPreviousApp()}},\"sap.ushell.services.CrossApplicationNavigation.historyBack\":{async handler(e,t){const{iSteps:s}=e;const a=await l.getServiceAsync(\"Navigation\");return a.historyBack(s)}},\"sap.ushell.services.CrossApplicationNavigation.toExternal\":{async handler(e,t){const{oArgs:s}=e;const n=await l.getServiceAsync(\"Navigation\");const r=a({},s);g.storeSapSystemToLocalStorage(r);await n.navigate(r)}},\"sap.ushell.services.CrossApplicationNavigation.registerBeforeAppCloseEvent\":{async handler(e,t,s){const a=e;t.addCapabilities([\"sap.ushell.services.CrossApplicationNavigation.beforeAppCloseEvent\"]);t.setBeforeAppCloseEvent({enabled:true,params:a})},options:{provideApplicationContext:true,allowInactive:true}},\"sap.ushell.services.CrossApplicationNavigation.expandCompactHash\":{async handler(e,t){const{sHashFragment:s}=e;const a=await l.getServiceAsync(\"NavTargetResolutionInternal\");const n=a.expandCompactHash(s);return g.promisify(n)}},\"sap.ushell.services.CrossApplicationNavigation.getDistinctSemanticObjects\":{async handler(e,t){const s=await l.getServiceAsync(\"Navigation\");return s.getSemanticObjects()}},\"sap.ushell.services.CrossApplicationNavigation.getLinks\":{async handler(e,t){const s=e;return u.getLinks(s)}},\"sap.ushell.services.CrossApplicationNavigation.getPrimaryIntent\":{async handler(e,t){const{sSemanticObject:s,mParameters:a}=e;const n=await l.getServiceAsync(\"Navigation\");return n.getPrimaryIntent(s,a)}},\"sap.ushell.services.CrossApplicationNavigation.hrefForAppSpecificHash\":{async handler(e,t){const{sAppHash:s}=e;const a=await l.getServiceAsync(\"Navigation\");return a.getHref({appSpecificRoute:s})}},\"sap.ushell.services.CrossApplicationNavigation.isInitialNavigation\":{async handler(e,t){const s=await l.getServiceAsync(\"Navigation\");return s.isInitialNavigation()}},\"sap.ushell.services.CrossApplicationNavigation.getAppState\":{async handler(e,t){const{sAppStateKey:s}=e;const a=await l.getServiceAsync(\"Navigation\");const n=await a.getAppState(h,s);delete n._oServiceInstance;return n}},\"sap.ushell.services.CrossApplicationNavigation.getAppStateData\":{async handler(e,t){const{sAppStateKey:s}=e;return u.getAppStateData(s)}},\"sap.ushell.services.CrossApplicationNavigation.setInnerAppStateData\":{handler:async e=>{const{sData:t}=e;let s;if(t!==undefined){try{s=JSON.parse(t)}catch(e){s=t}}else{s={}}const a=await l.getServiceAsync(\"AppState\");const n=a.createEmptyAppState();n.setData(s);await g.promisify(n.save());const r=n.getKey();let o=i.getHash();if(o.indexOf(\"&/\")>0){if(o.indexOf(\"sap-iapp-state=\")>0){const e=/(?:sap-iapp-state=)([^&/]+)/.exec(o)[1];o=o.replace(e,r)}else{o=`${o}/sap-iapp-state=${r}`}}else{o=`${o}&/sap-iapp-state=${r}`}i.disableBlueBoxHashChangeTrigger=true;i.replaceHash(o);i.disableBlueBoxHashChangeTrigger=false;return r}},\"sap.ushell.services.CrossApplicationNavigation.setInnerAppRoute\":{async handler(e,t){const{appSpecificRoute:s,writeHistory:a}=e;const n=v.parseShellHash(i.getHash());if(n.appSpecificRoute===s){return}n.appSpecificRoute=s;const r=`#${v.constructShellHash(n)}`;i.disableBlueBoxHashChangeTrigger=true;if(a===true||a===\"true\"){i.setHash(r)}else{i.replaceHash(r)}i.disableBlueBoxHashChangeTrigger=false}},\"sap.ushell.services.CrossApplicationNavigation.resolveIntent\":{async handler(e,t){const{sHashFragment:s}=e;const a=await l.getServiceAsync(\"Navigation\");return a.resolveIntent(s)}},\"sap.ushell.services.AppState.getAppState\":{async handler(e,t){const{sKey:s}=e;const a=await l.getServiceAsync(\"AppState\");const n=a.getAppState(s);const r=await g.promisify(n);delete r._oServiceInstance;return r}},\"sap.ushell.services.AppState._saveAppState\":{async handler(e,t){const{sKey:s,sData:a,sAppName:n,sComponent:r,bTransient:i,iPersistencyMethod:o,oPersistencySettings:c}=e;const p=await l.getServiceAsync(\"AppState\");const d=p._saveAppState(s,a,n,r,i,o,c);await g.promisify(d)}},\"sap.ushell.services.AppState.deleteAppState\":{async handler(e,t){const{sKey:s}=e;const a=await l.getServiceAsync(\"AppState\");const n=a.deleteAppState(s);await g.promisify(n)}},\"sap.ushell.services.AppState.makeStatePersistent\":{async handler(e,t){const{sKey:s,iPersistencyMethod:a,oPersistencySettings:n}=e;const r=await l.getServiceAsync(\"AppState\");const i=r.makeStatePersistent(s,a,n);return g.promisify(i)}},\"sap.ushell.services.Bookmark.addBookmarkUI5\":{async handler(e,t){const{oParameters:s,vContainer:a}=e;const n=await l.getServiceAsync(\"AppLifeCycle\");const r=await n.getCurrentApplication().getSystemContext();A(s,r);const i=await l.getServiceAsync(\"BookmarkV2\");await i.addBookmark(s,a,r.id)}},\"sap.ushell.services.Bookmark.addBookmark\":{async handler(e,t){if(true){const{oParameters:t,groupId:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();const r=await l.getServiceAsync(\"BookmarkV2\");await r.addBookmarkByGroupId(t,s,n.id);return}throw new Error(\"Bookmark.addBookmarkByGroupId is deprecated. Please use BookmarkV2.addBookmark instead.\")}},\"sap.ushell.services.Bookmark.getShellGroupIDs\":{async handler(e,t){if(true){const e=await l.getServiceAsync(\"BookmarkV2\");return e.getShellGroupIDs()}throw new Error(\"Bookmark.getShellGroupIDs is deprecated. Please use BookmarkV2.getContentNodes instead.\")}},\"sap.ushell.services.Bookmark.addCatalogTileToGroup\":{async handler(e,t){s.error(\"Bookmark.addCatalogTileToGroup is deprecated. Please use BookmarkV2.addBookmark instead.\");if(true){const{sCatalogTileId:t,sGroupId:s,oCatalogData:a}=e;const n=await l.getServiceAsync(\"Bookmark\");const r=n.addCatalogTileToGroup(t,s,a);await g.promisify(r);return}throw new Error(\"Bookmark.addCatalogTileToGroup is deprecated. Please use BookmarkV2.addBookmark instead.\")}},\"sap.ushell.services.Bookmark.countBookmarks\":{async handler(e,t){const{sUrl:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();const r=await l.getServiceAsync(\"BookmarkV2\");return r.countBookmarks(s,n.id)}},\"sap.ushell.services.Bookmark.deleteBookmarks\":{async handler(e,t){const{sUrl:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();const r=await l.getServiceAsync(\"BookmarkV2\");return r.deleteBookmarks(s,n.id)}},\"sap.ushell.services.Bookmark.updateBookmarks\":{async handler(e,t){const{sUrl:s,oParameters:a}=e;const n=await l.getServiceAsync(\"AppLifeCycle\");const r=await n.getCurrentApplication().getSystemContext();const i=await l.getServiceAsync(\"BookmarkV2\");return i.updateBookmarks(s,a,r.id)}},\"sap.ushell.services.Bookmark.getContentNodes\":{async handler(e,t){const s=await l.getServiceAsync(\"BookmarkV2\");return s.getContentNodes()}},\"sap.ushell.services.Bookmark.addCustomBookmark\":{async handler(e,t){const{sVizType:s,oConfig:a,vContentNodes:n}=e;const r=await l.getServiceAsync(\"AppLifeCycle\");const i=await r.getCurrentApplication().getSystemContext();const o=await l.getServiceAsync(\"BookmarkV2\");await o.addCustomBookmark(s,a,n,i.id)}},\"sap.ushell.services.Bookmark.countCustomBookmarks\":{async handler(e,t){const{oIdentifier:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();s.contentProviderId=n.id;const r=await l.getServiceAsync(\"BookmarkV2\");return r.countCustomBookmarks(s)}},\"sap.ushell.services.Bookmark.updateCustomBookmarks\":{async handler(e,t){const{oIdentifier:s,oConfig:a}=e;const n=await l.getServiceAsync(\"AppLifeCycle\");const r=await n.getCurrentApplication().getSystemContext();s.contentProviderId=r.id;const i=await l.getServiceAsync(\"BookmarkV2\");return i.updateCustomBookmarks(s,a)}},\"sap.ushell.services.Bookmark.deleteCustomBookmarks\":{async handler(e,t){const{oIdentifier:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();s.contentProviderId=n.id;const r=await l.getServiceAsync(\"BookmarkV2\");return r.deleteCustomBookmarks(s)}},\"sap.ushell.services.Bookmark.addBookmarkToPage\":{async handler(e,t){const{oParameters:s,sPageId:a}=e;const n=await l.getServiceAsync(\"AppLifeCycle\");const r=await n.getCurrentApplication().getSystemContext();const i=await l.getServiceAsync(\"BookmarkV2\");await i.addBookmarkToPage(s,a,r.id)}},\"sap.ushell.services.BookmarkV2.addBookmarkUI5\":{async handler(e,t){const{oParameters:s,vContainer:a}=e;const n=await l.getServiceAsync(\"AppLifeCycle\");const r=await n.getCurrentApplication().getSystemContext();A(s,r);const i=await l.getServiceAsync(\"BookmarkV2\");return i.addBookmark(s,a,r.id)}},\"sap.ushell.services.BookmarkV2.addBookmark\":{async handler(e,t){if(true){const{oParameters:t,groupId:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();const r=await l.getServiceAsync(\"BookmarkV2\");await r.addBookmarkByGroupId(t,s,n.id);return}throw new Error(\"BookmarkV2.addBookmarkByGroupId is deprecated. Please use BookmarkV2.addBookmark instead.\")}},\"sap.ushell.services.BookmarkV2.getShellGroupIDs\":{async handler(e,t){if(true){const e=await l.getServiceAsync(\"BookmarkV2\");return e.getShellGroupIDs()}throw new Error(\"BookmarkV2.getShellGroupIDs is deprecated. Please use BookmarkV2.getContentNodes instead.\")}},\"sap.ushell.services.BookmarkV2.countBookmarks\":{async handler(e,t){const{sUrl:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();const r=await l.getServiceAsync(\"BookmarkV2\");return r.countBookmarks(s,n.id)}},\"sap.ushell.services.BookmarkV2.deleteBookmarks\":{async handler(e,t){const{sUrl:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();const r=await l.getServiceAsync(\"BookmarkV2\");return r.deleteBookmarks(s,n.id)}},\"sap.ushell.services.BookmarkV2.updateBookmarks\":{async handler(e,t){const{sUrl:s,oParameters:a}=e;const n=await l.getServiceAsync(\"AppLifeCycle\");const r=await n.getCurrentApplication().getSystemContext();const i=await l.getServiceAsync(\"BookmarkV2\");return i.updateBookmarks(s,a,r.id)}},\"sap.ushell.services.BookmarkV2.getContentNodes\":{async handler(e,t){const s=await l.getServiceAsync(\"BookmarkV2\");return s.getContentNodes()}},\"sap.ushell.services.BookmarkV2.addCustomBookmark\":{async handler(e,t){const{sVizType:s,oConfig:a,vContentNodes:n}=e;const r=await l.getServiceAsync(\"AppLifeCycle\");const i=await r.getCurrentApplication().getSystemContext();const o=await l.getServiceAsync(\"BookmarkV2\");await o.addCustomBookmark(s,a,n,i.id)}},\"sap.ushell.services.BookmarkV2.countCustomBookmarks\":{async handler(e,t){const{oIdentifier:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();s.contentProviderId=n.id;const r=await l.getServiceAsync(\"BookmarkV2\");return r.countCustomBookmarks(s)}},\"sap.ushell.services.BookmarkV2.updateCustomBookmarks\":{async handler(e,t){const{oIdentifier:s,oConfig:a}=e;const n=await l.getServiceAsync(\"AppLifeCycle\");const r=await n.getCurrentApplication().getSystemContext();s.contentProviderId=r.id;const i=await l.getServiceAsync(\"BookmarkV2\");return i.updateCustomBookmarks(s,a)}},\"sap.ushell.services.BookmarkV2.deleteCustomBookmarks\":{async handler(e,t){const{oIdentifier:s}=e;const a=await l.getServiceAsync(\"AppLifeCycle\");const n=await a.getCurrentApplication().getSystemContext();s.contentProviderId=n.id;const r=await l.getServiceAsync(\"BookmarkV2\");return r.deleteCustomBookmarks(s)}},\"sap.ushell.services.BookmarkV2.addBookmarkToPage\":{async handler(e,t){const{oParameters:s,sPageId:a}=e;const n=await l.getServiceAsync(\"AppLifeCycle\");const r=await n.getCurrentApplication().getSystemContext();const i=await l.getServiceAsync(\"BookmarkV2\");await i.addBookmarkToPage(s,a,r.id)}},\"sap.ushell.services.UserInfo.getThemeList\":{async handler(e,t){const s=await l.getServiceAsync(\"UserInfo\");const a=s.getThemeList();return g.promisify(a)}},\"sap.ushell.services.UserInfo.getShellUserInfo\":{async handler(e,t){const s=await l.getServiceAsync(\"UserInfo\");return s.getShellUserInfo()}},\"sap.ushell.services.UserInfo.getLanguageList\":{async handler(e,t){const s=await l.getServiceAsync(\"UserInfo\");const a=s.getLanguageList();return g.promisify(a)}},\ Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/Edition\", [\"sap/m/IconTabFilter\",\"sap/ushell/components/cepsearchresult/app/util/controls/Category\",\"sap/ushell/components/cepsearchresult/app/util/resources\"],(t,e,n)=>{\"use strict\";const s={standard:null,advanced:null};function o(t){this._sEdition=t;this._mCategories={};if(!s[t]){s[t]=new Promise((e,n)=>{const s=t.charAt(0).toUpperCase()+t.slice(1);sap.ui.require([`sap/ushell/components/cepsearchresult/app/util/Edition${s}`],t=>{e(t)},()=>{n()})})}this._loaded=s[t].then(t=>{this._oConfig=t;this._oConfig.categories.map(t=>{this._mCategories[t.name]=Object.assign({},t)})})}o.prototype.loaded=function(){return this._loaded};o.prototype.getConfiguration=function(){return this._oConfig};o.prototype.getCategoryList=function(){return this._oConfig.categories};o.prototype.createCategoryInstance=function(t,n){const s=this._mCategories[t];if(!s.class){s.class=e}return new s.class(s,this,n)};o.prototype.getCategoryInstance=function(t){const e=this._mCategories[t];if(!e){return null}if(e.instance&&!e.instance.isDestroyed()){return e.instance}e.instance=this.createCategoryInstance(t);e.instance.setUseIllustrations(true);return e.instance};o.prototype.getDefaultCategory=function(){const t=this._oConfig.defaultCategory||\"all\";return this.getCategoryInstance(t)};o.prototype.getAppMenuItems=function(){const t=[];if(this._mCategories.all){const e=this.createMenuItem(this._mCategories.all);if(e){t.push(e)}const n=this.getSubMenuItems(this._mCategories.all);if(n.length===1){return n}return t.concat(this.getSubMenuItems(this._mCategories.all))}return[]};o.prototype.getSubMenuItems=function(t){const e=[];if(t&&t.subCategories){t.subCategories.map(t=>{this.addMenuItem(this._mCategories[t.name],e)})}return e};o.prototype.addMenuItem=function(t,e){const n=this.createMenuItem(t);if(n){e.push(n)}};o.prototype.createMenuItem=function(e){if(e){let n=[];if(e.name!==\"all\"){n=this.getSubMenuItems(e)}const s=new t({key:e.name,text:e.shortTitle,icon:e.icon.src,count:`{counts>/${e.name}}`,tooltip:e.title,items:n});s._getCategoryInstance=function(){return this.getCategoryInstance(e.name)}.bind(this);return s}return null};o.getEditionName=function(){if(window[\"sap-ushell-config\"]&&window[\"sap-ushell-config\"].ushell&&window[\"sap-ushell-config\"].ushell.cepSearchConfig){return window[\"sap-ushell-config\"].ushell.cepSearchConfig||\"standard\"}return\"standard\"};o.prototype.translate=function(t){try{return n.bundle.getText(t)}catch(e){return t}};o.prototype.getCategoryListItems=function(){const t=this.getCategoryList();const e=[];t.forEach(t=>{if(t.name===\"all\"){return}e.push({key:t.name,icon:t.icon.src,text:this.translate(t.title.substring(6,t.title.length-1))})});return e};o.prototype.getCategoryViews=function(t){const e=typeof t===\"string\"?this.createCategoryInstance(t):t;const n=e.getViewSettings();n.views.sort((t,e)=>{if(t.key===n.default){return-1}return t.key>e}).forEach(t=>{const e=t.key.charAt(0).toUpperCase()+t.key.slice(1);t.text=this.translate(`CATEGORY.Views.${e}ButtonText`)});return n};return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/EditionAdvanced\", [\"sap/ushell/components/cepsearchresult/app/util/controls/categories/All\",\"sap/ushell/components/cepsearchresult/app/util/controls/categories/Application\",\"sap/ushell/components/cepsearchresult/app/util/controls/categories/Workpage\",\"sap/ushell/components/cepsearchresult/app/util/controls/categories/People\",\"sap/ushell/components/cepsearchresult/app/util/controls/categories/Event\"],(e,t,i,a,n)=>{\"use strict\";return{defaultCategory:\"all\",categories:[{class:e,name:\"all\",translation:\"CATEGORIES.All\",title:\"{i18n>CATEGORIES.All.Title}\",shortTitle:\"{i18n>CATEGORIES.All.ShortTitle}\",icon:{src:\"sap-icon://search\",backgroundColor:\"Accent9\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.All.Card.Title}\",subTitle:\"{i18n>CATEGORIES.All.Card.SubTitle}\"},showSubCategories:false,subCategories:[{name:\"app\",pageSize:7},{name:\"workpage\",pageSize:5},{name:\"workspace\",pageSize:5},{name:\"content\",pageSize:5},{name:\"people\",pageSize:5},{name:\"event\",pageSize:5},{name:\"knowledgeBase\",pageSize:5},{name:\"forum\",pageSize:5},{name:\"task\",pageSize:5},{name:\"tag\",pageSize:5},{name:\"comment\",pageSize:5},{name:\"businessrecord\",pageSize:10}],noDataText:\"{i18n>CATEGORIES.All.NoData}\",loadingDataText:\"{i18n>CATEGORIES.All.LoadingData}\"},{class:t,name:\"app\",translation:\"CATEGORIES.App\",title:\"{i18n>CATEGORIES.App.Title}\",shortTitle:\"{i18n>CATEGORIES.App.ShortTitle}\",icon:{src:\"sap-icon://header\",backgroundColor:\"Accent9\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.App.Card.Title}\",subTitle:\"{i18n>CATEGORIES.App.Card.SubTitle}\"}},{class:i,name:\"workpage\",translation:\"CATEGORIES.WorkPage\",title:\"{i18n>CATEGORIES.WorkPage.Title}\",shortTitle:\"{i18n>CATEGORIES.WorkPage.ShortTitle}\",icon:{src:\"sap-icon://document-text\",backgroundColor:\"Accent1\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.WorkPage.Card.Title}\",subTitle:\"{i18n>CATEGORIES.WorkPage.Card.SubTitle}\"}},{name:\"workspace\",title:\"{i18n>CATEGORIES.WorkSpace.Title}\",translation:\"CATEGORIES.WorkSpace\",shortTitle:\"{i18n>CATEGORIES.WorkSpace.ShortTitle}\",icon:{src:\"sap-icon://meeting-room\",backgroundColor:\"Accent2\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.WorkSpace.Card.Title}\",subTitle:\"{i18n>CATEGORIES.WorkSpace.Card.SubTitle}\"}},{name:\"content\",translation:\"CATEGORIES.Content\",title:\"{i18n>CATEGORIES.Content.Title}\",shortTitle:\"{i18n>CATEGORIES.Content.ShortTitle}\",icon:{src:\"sap-icon://document\",backgroundColor:\"Accent7\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.Content.Card.Title}\",subTitle:\"{i18n>CATEGORIES.Content.Card.SubTitle}\"},subCategories:[{name:\"document\",pageSize:10},{name:\"video\",pageSize:10}]},{name:\"people\",class:a,translation:\"CATEGORIES.People\",title:\"{i18n>CATEGORIES.People.Title}\",shortTitle:\"{i18n>CATEGORIES.People.ShortTitle}\",icon:{src:\"sap-icon://person-placeholder\",backgroundColor:\"Accent8\",shape:\"Circle\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.People.Card.Title}\",subTitle:\"{i18n>CATEGORIES.People.Card.SubTitle}\"}},{name:\"event\",class:n,translation:\"CATEGORIES.Event\",title:\"{i18n>CATEGORIES.Event.Title}\",shortTitle:\"{i18n>CATEGORIES.Event.ShortTitle}\",icon:{src:\"sap-icon://calendar\",backgroundColor:\"Accent6\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.Event.Card.Title}\",subTitle:\"{i18n>CATEGORIES.Event.Card.SubTitle}\"}},{name:\"knowledgeBase\",translation:\"CATEGORIES.KnowledgeBase\",title:\"{i18n>CATEGORIES.KnowledgeBase.Title}\",shortTitle:\"{i18n>CATEGORIES.KnowledgeBase.ShortTitle}\",icon:{src:\"sap-icon://study-leave\",backgroundColor:\"Accent5\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.KnowledgeBase.Card.Title}\",subTitle:\"{i18n>CATEGORIES.KnowledgeBase.Card.SubTitle}\"}},{name:\"forum\",translation:\"CATEGORIES.Forum\",title:\"{i18n>CATEGORIES.Forum.Title}\",shortTitle:\"{i18n>CATEGORIES.Forum.ShortTitle}\",icon:{src:\"sap-icon://discussion-2\",backgroundColor:\"Accent4\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.Forum.Card.Title}\",subTitle:\"{i18n>CATEGORIES.Forum.Card.SubTitle}\"}},{name:\"task\",translation:\"CATEGORIES.Task\",title:\"{i18n>CATEGORIES.Task.Title}\",shortTitle:\"{i18n>CATEGORIES.Task.ShortTitle}\",icon:{src:\"sap-icon://checklist\",backgroundColor:\"Accent3\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.Task.Card.Title}\",subTitle:\"{i18n>CATEGORIES.Task.Card.SubTitle}\"}},{name:\"tag\",translation:\"CATEGORIES.Tag\",title:\"{i18n>CATEGORIES.Tag.Title}\",shortTitle:\"{i18n>CATEGORIES.Tag.ShortTitle}\",icon:{src:\"sap-icon://blank-tag-2\",backgroundColor:\"Accent6\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.Tag.Card.Title}\",subTitle:\"{i18n>CATEGORIES.Tag.Card.SubTitle}\"}},{name:\"comment\",translation:\"CATEGORIES.Comment\",title:\"{i18n>CATEGORIES.Comment.Title}\",shortTitle:\"{i18n>CATEGORIES.Comment.ShortTitle}\",icon:{src:\"sap-icon://comment\",backgroundColor:\"Accent1\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.Comment.Card.Title}\",subTitle:\"{i18n>CATEGORIES.Comment.Card.SubTitle}\"}},{name:\"businessrecord\",translation:\"CATEGORIES.BusinessRecord\",title:\"{i18n>CATEGORIES.BusinessRecord.Title}\",shortTitle:\"{i18n>CATEGORIES.BusinessRecord.ShortTitle}\",icon:{src:\"sap-icon://tools-opportunity\",backgroundColor:\"Accent10\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.BusinessRecord.Card.Title}\",subTitle:\"{i18n>CATEGORIES.BusinessRecord.Card.SubTitle}\"}},{name:\"document\",translation:\"CATEGORIES.Document\",title:\"{i18n>CATEGORIES.Document.Title}\",shortTitle:\"{i18n>CATEGORIES.Document.ShortTitle}\",icon:{src:\"sap-icon://document-text\",backgroundColor:\"Accent3\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.Document.Card.Title}\",subTitle:\"{i18n>CATEGORIES.Document.Card.SubTitle}\"}},{name:\"video\",translation:\"CATEGORIES.Video\",title:\"{i18n>CATEGORIES.Video.Title}\",shortTitle:\"{i18n>CATEGORIES.Video.ShortTitle}\",icon:{src:\"sap-icon://video\",backgroundColor:\"Accent3\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.Video.Card.Title}\",subTitle:\"{i18n>CATEGORIES.Video.Card.SubTitle}\"}}]}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/EditionStandard\", [\"sap/ushell/components/cepsearchresult/app/util/controls/categories/Application\",\"sap/ushell/components/cepsearchresult/app/util/controls/categories/All\"],(e,a)=>{\"use strict\";return{defaultCategory:\"app\",categories:[{class:a,name:\"all\",translation:\"CATEGORIES.All\",title:\"{i18n>CATEGORIES.All.Title}\",shortTitle:\"{i18n>CATEGORIES.All.ShortTitle}\",icon:{src:\"sap-icon://search\",backgroundColor:\"Accent9\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.All.Card.Title}\",subTitle:\"{i18n>CATEGORIES.All.Card.SubTitle}\"},subCategories:[{name:\"app\",pageSize:15}],noDataText:\"{i18n>CATEGORIES.All.NoData}\",loadingDataText:\"{i18n>CATEGORIES.All.LoadingData}\"},{class:e,name:\"app\",translation:\"CATEGORIES.App\",title:\"{i18n>CATEGORIES.App.Title}\",shortTitle:\"{i18n>CATEGORIES.App.ShortTitle}\",icon:{src:\"sap-icon://header\",backgroundColor:\"Accent9\",shape:\"Square\",size:\"S\"},card:{title:\"{i18n>CATEGORIES.App.Card.Title}\",subTitle:\"{i18n>CATEGORIES.App.Card.SubTitle}\"}}]}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/appendStyleVars\", [\"sap/ui/core/theming/Parameters\",\"sap/ui/core/Theming\"],(e,t)=>{\"use strict\";let r=[];function i(t,i){let n=e.get({name:t});if(typeof n===\"string\"){const e=n;n={};n[t[0]]=e}if(i){r=[]}for(const e in n){if(r.indexOf(e)===-1){r.push(e);document.body.style.setProperty(`--${e}`,n[e])}}}t.attachApplied(()=>{for(let e=0;e{\"use strict\";f([\"sapUiShadowLevel0\",\"sapUiElementBorderCornerRadius\",\"sapUiContentLabelColor\",\"sapUiMarginSmall\",\"sapUiMarginMedium\",\"sapUiMarginTiny\",\"sapUiListBorderColor\",\"sapUiListBackground\",\"sapUiLink\",\"sapMFontMediumSize\",\"sapUiIndication8HoverBackground\",\"sapUiButtonCriticalBackground\",\"sapUiAccentBackgroundColor10\",\"sapUiButtonNegativeActiveBackground\",\"sapUiButtonSuccessActiveBackground\",\"sapUiButtonNeutralBackground\",\"sapUiTileBackground\",\"sapUiExtraLightBG\",\"sapUiButtonLiteActionSelectHoverBackground\"]);m(sap.ui.require.toUrl(\"sap/ushell/components/cepsearchresult/app/util/controls/Category.css\"));const w=S.IllustratedMessageType;const T={tile:190,card:400};n.prototype._handlePress=function(t){const e=t.target;if(this.getTitleActive()&&this.getDomRef().querySelector(\".sapMObjectIdentifierTitle\").contains(e)){this.fireTitlePress({domRef:e});t.setMarked()}};const I=t.extend(\"sap.ushell.components.cepsearchresult.app.util.controls.Category\",{constructor:function(e,i,s){this._oCategoryConfig=e;t.apply(this,[s])},metadata:{properties:{pageSize:{type:\"int\",defaultValue:10},showHeader:{type:\"boolean\",defaultValue:true},showFooter:{type:\"boolean\",defaultValue:true},allowViewSwitch:{type:\"boolean\",defaultValue:true},currentView:{type:\"string\",defaultValue:\"categoryDefault\"},highlightResult:{type:\"boolean\",defaultValue:true},useIllustrations:{type:\"boolean\",defaultValue:false},initialPlaceholder:{type:\"boolean\",defaultValue:false}},aggregations:{_header:{type:\"sap.ui.core.Control\",multiple:false},_list:{type:\"sap.ui.core.Control\",multiple:false},_footer:{type:\"sap.ui.core.Control\",multiple:false},_nodata:{type:\"sap.ui.core.Control\",multiple:false}},events:{itemNavigate:{},viewAll:{},beforeSearch:{},afterSearch:{},afterRendering:{}}},renderer:function(t,e){t.openStart(\"div\",e);t.class(\"sapUiCEPSearchCat\");t.openEnd();const i=e.getAggregation(\"_header\");const s=e.getAggregation(\"_list\");const o=e.getAggregation(\"_footer\");const a=e.getAggregation(\"_nodata\");if(i){t.renderControl(i)}if(e.getUseIllustrations()&&a&&a.getVisible()){t.renderControl(a)}else if(s){t.renderControl(s)}if(o){t.renderControl(o)}t.close(\"div\")}});I._iDataRefreshMs=1e9;I._iCountRefreshMs=1e9;I.CustomListItem=o.extend(\"sap.ushell.components.cepsearchresult.app.util.controls.Category.CustomListItem\",{renderer:o.getMetadata().getRenderer()});I.CustomListItem.prototype.onAfterRendering=function(){if(o.prototype.onAfterRendering){o.prototype.onAfterRendering.apply(this,arguments);const t=this.getDomRef();const e=this.getParent().getParent().getPaginator();if(!t||!e){return}t.setAttribute(\"aria-setsize\",e.getCount());t.setAttribute(\"aria-posinset\",(e.getCurrentPage()-1)*e.getPageSize()+parseInt(t.getAttribute(\"aria-posinset\"),10))}this._activeHandling(this.$())};I.CustomListItem.prototype._activeHandling=function(t){t.removeClass(\"sapMLIBActive\");t.removeClass(\"sapMLIBActionable\");t.removeClass(\"sapMLIBHoverable\");t.toggleClass(\"sapUiCEPSearchCatLIActive\",this._active);if(this.isActionable(true)){t.toggleClass(\"sapUiCEPSearchCatLIHoverable\",!this._active)}};I.SearchResultList=s.extend(\"sap.ushell.components.cepsearchresult.app.util.controls.Category.SearchResultList\",{renderer:s.getMetadata().getRenderer()});I.SearchResultList.prototype._getCurrentColCount=function(){if(this.getDomRef()){const t=this.getDomRef().querySelectorAll(\".sapMListItems > LI\");let e=1;const i=t[0].offsetTop;for(let s=1;s1&&e.length>0){this._oItemNavigation.setTableMode(false,true).setColumns(t)}else if(this._oItemNavigation){this._oItemNavigation.setTableMode(false,true).setColumns(t)}};I.prototype.init=function(){this.setModel(_.model,\"i18n\");this.setModel(new e({}),\"data\");this._iCurrentCount=0;this._oDirty={iDataFetchRequired:0,iCountFetchRequired:0};this._oNoDataIllustration=null;this._oErrorIllustration=null;this._iCurrentHeight=0;this._iAfterRendering=0;this._iAfterRenderingEventDelay=60;this._oPaginator=null;this.addContent()};I.prototype.getPaginator=function(){return this._oPaginator};I.prototype.addContent=function(){this.setAggregation(\"_header\",this.createHeader());this.setAggregation(\"_list\",this.createList());this.setAggregation(\"_footer\",this.createFooter())};I.prototype.getKey=function(){return this._oCategoryConfig.name};I.prototype.translate=function(t,e){const i=this._oCategoryConfig.translation;return _.bundle.getText(`${i}.${t}`,e||[])};I.prototype.updateDataModel=function(t){this.setModel(new e(t),\"data\")};I.prototype.initialData=function(t){const e=this.getModel(\"data\");if(!e&&this.getInitialPlaceholder()&&this.getPlaceholderData()){const e=[];for(let i=0;iDate.now()))||!s&&this._oDirty.iCountFetchRequired>Date.now()){return false}this._sSearchTerm=t;this._iSkip=e;this._iTop=i;return true};I.prototype.resetData=function(){this._bResetData=true;this.updateDataModel({})};I.prototype.search=function(t,e,i,s){i=isNaN(i)||i<0?this._iTop||this.getPageSize():i;e=isNaN(e)||e<0?this._iSkip||0:e;if(typeof t!==\"string\"){t=this.getSearchTerm()}const o=this.getVisible();const a=this._sSearchTerm!==t;let r;const n=this.getModel(\"data\").getData()||{};if(!s&&!this.resetDataRequired(t,e,i)){this.fireFetchEvent(\"before\",\"skipped\",n);this.fireFetchEvent(\"after\",\"skipped\",n);return}this._iCurrentCount=0;this._bResetData=false;this._bIsLoading=true;this.fireFetchEvent(\"before\",o?\"data\":\"count\",performance.now(),n);if(o){this.setNoDataText(this.translate(\"LoadingData\"),\"Loading\");this.initialData(i);this.showLoadingPlaceholder(true);this._oDirty.iDataFetchRequired=Date.now()+I._iDataRefreshMs;r=this.fetchData(t,e,i);r=r.then(this.applyDataChange.bind(this,a))}else{r=this.fetchCount(t,e,i);r=r.then(this.applyCount.bind(this))}this._oDirty.iCountFetchRequired=Date.now()+I._iCountRefreshMs;if(r){r.then(t=>{this._iCurrentCount=t.count||0;setTimeout(()=>{this.setNoDataText(this.translate(\"NoData\"),\"NoData\")},100);this.fireFetchEvent(\"after\",o?\"data\":\"count\",t)})}};I.prototype.getMaxRowItemsAsync=function(){if(!this.getDomRef()){return new Promise(t=>{setTimeout(()=>{t(this._getMaxRowItems())},200)})}return Promise.resolve(this._getMaxRowItems())};I.prototype._getMaxRowItems=function(){if(this.getDomRef()){const t=this.getDomRef().clientWidth;return Math.floor(t/(T[this.getCurrentView()]||t))}return 1};I.prototype.applyDataChange=function(t,e){const i={count:e.count,top:this.getPageSize(),skip:this._iSkip,page:Math.floor(this._iSkip/this.getPageSize())+1,data:e.data};this.showLoadingPlaceholder(false,()=>{this.updateDataModel(i);this.fixHeight(t)});return i};I.prototype.applyCount=function(t){const e={count:t.count,top:this._iTop,skip:this._iSkip,page:Math.floor(this._iSkip/this._iTop)+1,data:[]};this.updateDataModel(e);return e};I.prototype.fireFetchEvent=function(t,e,i){const s={count:i?i.count||0:0,category:this.getKey(),top:this._iTop,skip:this._iSkip,page:this._iSkip/this._iTop+1,searchTerm:this._sSearchTerm,visible:this.getVisible(),time:performance.now(),fetchType:e};if(t===\"before\"){this.fireBeforeSearch(s)}else if(t===\"after\"){this.fireAfterSearch(s)}};I.prototype.fetchData=function(t,e,i){return Promise.resolve({data:[],count:0})};I.prototype.fetchCount=function(t,e,i){return Promise.resolve({data:[],count:0})};I.prototype.showLoadingPlaceholder=function(t,e){if(t){if(this._iShowLoader){clearTimeout(this._iShowLoader)}this._iShowLoader=setTimeout(()=>{this._oList.addStyleClass(\"loading\")},200)}else if(this._iShowLoader){clearTimeout(this._iShowLoader);this._iShowLoader=setTimeout(()=>{this._oList.removeStyleClass(\"loading\");if(e){e()}this.invalidate();this._bIsLoading=false},this._oList.hasStyleClass(\"loading\")?100:0)}};I.prototype.isLoading=function(){return this._bIsLoading};I.prototype.getPlaceholderData=function(){return{text:\" \",description:\" \"}};I.prototype.refreshData=function(){this._oDirty.iDataFetchRequired=0;this.search(this.getSearchTerm(),0,this.getPageSize())};I.prototype.bindListViewItems=function(t){const e=this.getItemTemplate(t);this._oList.addStyleClass(t);this._oList.bindItems({path:\"data>/data\",template:e,templateShareable:false})};I.prototype.setNoDataText=function(t,e){this.updateIllustration(t,\"Hide\");if(this._oList&&!this.bPaging){this._oList.setNoDataText(\" \");this.updateIllustration(t,e);this._oList.setNoDataText(t)}};I.prototype.getItemTemplate=function(t){let e=null;switch(t){case\"card\":e=this.createCardItemTemplate();break;case\"tile\":e=this.createTileItemTemplate();break;default:e=this.createListItemTemplate()}return e.addStyleClass(`sapUiCEPSearchCatLI ${t} ${this.getKey()}`)};I.prototype.setFooter=function(t){if(t===\"viewAll\"){this.setAggregation(\"_footer\",this.createFooter(t))}};I.prototype.focusCategory=function(){if(!this.bPaging){this._forceFocus=\"parent\"}this.bPaging=false};I.prototype.createHeader=function(){this._oHeader=new h({content:[new l({width:\".5rem\"}),this.createTitle(),this.createCounter(),new l,this.createViewButtons(),new l({width:\"1rem\"})]}).addStyleClass(\"sapUiCEPSearchCatHeaderTB\");return this._oHeader};I.prototype.getPaginatorSettings=function(){return{visible:true,count:\"{= ${data>/count}}\",pageSize:\"{= ${data>/top}}\",currentPage:\"{= ${data>/page}}\",selectPage:function(t){this.fixHeight();this.bPaging=true;this._forceFocus=\"page\";this._forceFocusPage=t.mParameters.page;this.search(this.getSearchTerm(),t.getParameter(\"startIndex\"),t.getParameter(\"pageSize\"))}.bind(this)}};I.prototype.getSearchTerm=function(){return this._sSearchTerm||\"\"};I.prototype.getResultCount=function(){return this.getModel(\"data\").getProperty(\"/count\")};I.prototype.getViewSettings=function(){return{views:[{key:\"list\",icon:\"sap-icon://text-align-justified\"},{key:\"card\",icon:\"sap-icon://business-card\"}],default:\"list\"}};I.prototype.getDefaultIcon=function(){return this._oCategoryConfig.icon.src};I.prototype.getCurrentView=function(){const t=this.getProperty(\"currentView\");if(t===\"categoryDefault\"){this.setProperty(\"currentView\",this.getViewSettings().default);return this.getViewSettings().default}return t};I.prototype.setShowHeader=function(t){this._oHeader.setVisible(t);this._oList.removeStyleClass(\"noheader\");if(!t){this._oList.addStyleClass(\"noheader\")}return this.setProperty(\"showHeader\",t)};I.prototype.setShowFooter=function(t){this.getAggregation(\"_footer\").setVisible(t);return this.setProperty(\"showFooter\",t)};I.prototype.setAllowViewSwitch=function(t){this._oViewSwitch.setVisible(t&&this._oViewSwitch.getItems().length>1);return this.setProperty(\"allowViewSwitch\",t)};I.prototype.setCurrentView=function(t){const e=this.getCurrentView();if(e!==t){this._oList.unbindItems();this.setProperty(\"currentView\",t);t=this.getCurrentView();this._oViewSwitch.setSelectedKey(t);this._oList.removeStyleClass(e);this.bindListViewItems(t);this._oList.addStyleClass(t);this._iCurrentHeight=0;this.search(this._sSearchTerm,this._iSkip,this.iTop,true)}return this};I.prototype.setPageSize=function(t){this.setProperty(\"pageSize\",t);if(this.getDomRef()){this.refreshData()}return this};I.prototype.createCounter=function(){return new i({text:\"{= isNaN(${data>/count}) ? '...' : '('+ ${data>/count} + ')'}\",level:\"H4\"})};I.prototype.createTitle=function(){this._oTitle=new i({text:this._oCategoryConfig.title,level:\"H4\"});return this._oTitle};I.prototype.createList=function(){this._oList=new I.SearchResultList({inset:false,noDataText:\" \",growing:true,growingThreshold:\"{= ${data>/count}}\"});this._oList.addStyleClass(\"sapUiCEPSearchCatList\");this.bindListViewItems(this.getCurrentView());return this._oList};I.prototype.createViewButtons=function(){const t=this.getViewSettings();const e=t.views.map(t=>{const e=t.key.charAt(0).toUpperCase()+t.key.slice(1);t.tooltip=`{i18n>CATEGORY.Views.${e}ButtonTooltip}`;return new p(t)});this._oViewSwitch=new c({selectedKey:this.getCurrentView(),visible:e.length>1,items:e,selectionChange:function(t){const e=t.getParameter(\"item\");this.setCurrentView(e.getKey())}.bind(this)});return this._oViewSwitch};I.prototype.createDefaultItemTemplate=function(){const t=new r(this.getItemAvatarSettings()).addStyleClass(\"sapUiSmallMarginBegin\");const e=new I.CustomListItem({press:this.itemNavigate.bind(this),type:\"Active\",content:[new a({direction:\"Column\",items:[new a({direction:\"Row\",items:[t,this.getItemObjectIdentifier()]})]})]});return e};I.prototype.getItemObjectIdentifier=function(){return new n(this.getItemObjectIdentifierSettings()).addStyleClass(\"sapUiSmallMarginBeginEnd\")};I.prototype.getItemObjectIdentifierSettings=function(){return{text:\"{data>description}\",title:\"{data>title}\",titleActive:\"{= !!${data>_navigation} || !!${data>url}}\",titlePress:this.itemNavigate.bind(this)}};I.prototype.getItemAvatarSettings=function(t){return{fallbackIcon:this._oCategoryConfig.icon.src,src:t||\"{data>icon}\",displaySize:this._oCategoryConfig.icon.size,displayShape:this._oCategoryConfig.icon.shape,imageFitType:this._oCategoryConfig.icon.imageFitType||\"Contain\",backgroundColor:this._oCategoryConfig.icon.backgroundColor}};I.prototype.createListItemTemplate=function(){return this.createDefaultItemTemplate().addStyleClass(\"list\")};I.prototype.createCardItemTemplate=function(){return this.createListItemTemplate().addStyleClass(\"card\")};I.prototype.createTileItemTemplate=function(){return this.createListItemTemplate().addStyleClass(\"tile\")};I.prototype.createFooter=function(t){if(t===\"viewAll\"){this._oFooter=new h({style:\"Clear\",content:[new l,new u({text:\"{i18n>CATEGORIES.All.ViewAll}\",press:function(){this.fireViewAll({key:this.getKey(),currentView:this.getCurrentView()})}.bind(this)}),new l({width:\"1rem\"})]}).addStyleClass(\"sapCEPCategoryFooterTB\")}else{this._oPaginator=new d(this.getPaginatorSettings());this._oFooter=new h({style:\"Clear\",content:[new l,this._oPaginator]}).addStyleClass(\"sapCEPCategoryFooterTB\")}return this._oFooter};I.prototype.itemNavigate=function(t){};I.prototype.updateIllustration=function(t,e){if(!this.getUseIllustrations()){return}if(!this._oNoDataIllustration){this._oNoDataIllustration=new g({illustrationType:w.NoSearchResults,enableDefaultTitleAndDescription:false,illustrationSize:\"Spot\",additionalContent:[new u({text:_.bundle.getText(\"CATEGORY.Views.RefreshButton\"),visible:false,press:function(){this.fixHeight();setTimeout(()=>{this.refreshData()},600);this.updateIllustration(this.translate(\"LoadingData\"),\"Loading\")}.bind(this)})]});this._oNoDataIllustration.addStyleClass(\"sapUiCEPSearchCatNoDataIllustration\")}if(this._iCurrentCount===0){if(e===\"NoData\"){if(this._iCurrentCount===0){this._oNoDataIllustration.setTitle(t);this._oNoDataIllustration.setIllustrationType(w.NoSearchResults);this.setAggregation(\"_nodata\",this._oNoDataIllustration);this._oNoDataIllustration.getAdditionalContent()[0].setVisible(true)}}else if(e===\"Loading\"){if(this._iCurrentCount===0){this._oNoDataIllustration.setTitle(t);this._oNoDataIllustration.setIllustrationType(w.NoSearchResults);this.setAggregation(\"_nodata\",this._oNoDataIllustration);this._oNoDataIllustration.getAdditionalContent()[0].setVisible(false)}}}else{this.setAggregation(\"_nodata\",null)}};I.prototype.fixHeight=function(t){if(!this.getDomRef()){return}if(t){this.getDomRef().style.setProperty(\"--tmpPageSize\",\"unset\");this._iCurrentHeight=0;return}if(this._oList&&this._oList.getVisible()&&this._oList.getDomRef()){this._iCurrentHeight=Math.max(this._oList.getDomRef().offsetHeight,this._iCurrentHeight)}if(this._iCurrentHeight){this.getDomRef().style.setProperty(\"--tmpPageSize\",`${this._iCurrentHeight}px`)}};I.prototype.onResize=function(t){if(this._oList&&this._oList._oItemNavigation){this._oList._oItemNavigation.setColumns(this._oList._getCurrentColCount())}this.fixHeight(true);if(Math.abs(t.oldSize.width-t.size.width)>50){if(this._iResizeTimer){clearTimeout(this._iResizeTimer)}this._iResizeTimer=setTimeout(()=>{this.search(this._sSearchTerm,this._iSkip,this._iTop)},300)}if(t.oldSize&&t.size&&t.oldSize.width!==t.size.width){this._iCurrentHeight=0}};I.prototype.onBeforeRendering=function(){if(this._oHighlighter){this._oHighlighter.destroy()}this._oHighlighter=null;if(this._iResizeListenerId){C.deregister(this._iResizeListenerId);this._iResizeListenerId=null}};I.prototype.onAfterRendering=function(){if(!this._iResizeListenerId){this._fnResizeListener=this.onResize.bind(this);this._iResizeListenerId=C.register(this,this._fnResizeListener)}if(!this._oHighlighter&&this.getHighlightResult()){this._oHighlighter=new y(this.getDomRef(),{isCaseSensitive:false,shouldBeObserved:true,querySelector:\".sapUiCEPSearchCatLI\"});this._oHighlighter.highlight(this.getSearchTerm())}this.fixHeight();if(this._iAfterRendering){clearTimeout(this._iAfterRendering)}this._iAfterRendering=setTimeout(()=>{this.fireAfterRendering.bind(this)();this._iAfterRendering=null;const t=this.getDomRef();const e=this.get_header();const i=this.getPaginator();if(t&&e){const s=e.getContent()[1].getText();const o=e.getContent()[2].getText();const a=[s,o,i?_.bundle.getText(\"CATEGORY.Views.PageTooltip\",[i.getCurrentPage(),i.getCount()]):\"\"].join(\" \");t.setAttribute(\"aria-label\",a);t.setAttribute(\"tabIndex\",\"0\");if(this._forceFocus===\"parent\"){t.focus();this._forceFocus=\"\"}}if(this._forceFocus===\"parent\"){if(t){t.focus();this._forceFocus=\"\"}}else if(this._forceFocus===\"page\"){i?.focusPage(this._forceFocusPage);this._forceFocusPage=null;this._forceFocus=\"\"}},this._iAfterRenderingEventDelay)};return I});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/controls/Highlighter\", [],()=>{\"use strict\";const e={};e.CURRENTLY_HIGHLIGHTED_DOM_REFS=[];e.MUTATION_OBSERVER=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;function t(e,t){this._bIsCaseSensitive=!!t.isCaseSensitive;this._aPreviouslyHighlightedNodes=[];this._aPreviouslyOriginalNodes=[];this._aOldTerms=[];this._aRegExTerms=[];this._bUseExternalStyles=!!t.useExternalStyles;this._oObserver=null;this._sQuerySelector=t.querySelector;if(Array.isArray(e)){this._oDomRef=e}else{this._oDomRef=[e]}if(t.shouldBeObserved){this._addMutationObserver()}}t.prototype.highlight=function(e){if(!e){this._aRegExTerms=[];this._aOldTerms=[];return}const t=this._formatTerms(e);if(!t||!t.length||this._isNewTermsSameAsOld(t)){return}this._aOldTerms=t;this._cacheRegExTerms();this._toggleMutationObserver(false);this._oDomRef.forEach(function(e){this._highlightSubTree(e)},this);this._toggleMutationObserver(true)};t.prototype._cacheRegExTerms=function(){let e;this._aRegExTerms=[];this._aOldTerms.forEach(function(t){t=this._escapeRegExp(t);e=this._bIsCaseSensitive?new RegExp(t,\"g\"):new RegExp(t,\"gi\");this._aRegExTerms.push(e)},this)};t.prototype._escapeRegExp=function(e){return e.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,\"\\\\$&\")};t.prototype._isNewTermsSameAsOld=function(e){const t=this._aOldTerms.length;let s;if(t!==e.length){return false}for(s=0;s{if(e.indexOf(t)===-1){e.push(t)}return e},[]);return s.sort((e,t)=>t.length-e.length)};t.prototype._replaceNode=function(e,t){if(e.parentNode&&e.parentNode.closest&&e.parentNode.closest(this._sQuerySelector)){e.parentNode.replaceChild(t,e);this._aPreviouslyHighlightedNodes.push(t);this._aPreviouslyOriginalNodes.push(e)}};t.prototype._restorePreviouslyHighlightedNodes=function(){let e;let t;this._toggleMutationObserver(false);for(let s=0;st}const o=Object.keys(e).sort(r);let n;let l=0;for(let s=0;s-1){t.classList.add(\"defaultHighlightedText\")}s.appendChild(t)}return s};t.prototype._addMutationObserver=function(){this._instantiateMutationObserver();this._toggleMutationObserver(true)};t.prototype._removeMutationObserver=function(){this._toggleMutationObserver(false);this._oObserver=null;this._oDomRef=[]};t.prototype._toggleMutationObserver=function(e){if(e){this._oDomRef.forEach(function(e){this._oObserver.observe(e,this.oObserverConfig)},this)}else if(this._oObserver){this._oObserver.disconnect()}};t.prototype._bIsDomNodeDescendant=function(e,t){return e.contains(t)};t.prototype._instantiateMutationObserver=function(){this.oObserverConfig={attributes:false,childList:true,characterData:true,subtree:true};this._oObserver=new e.MUTATION_OBSERVER(this._onMutationDetectionCallback.bind(this))};t.prototype._onMutationDetectionCallback=function(e){let t;let s;this._toggleMutationObserver(false);e.forEach(function(e){if(e.type===\"childList\"){t=e.addedNodes;for(let e=0;e{\"use strict\";n([\"sapUiBaseText\",\"sapUiLinkActiveColor\"]);s(sap.ui.require.toUrl(\"sap/ushell/components/cepsearchresult/app/util/controls/Paginator.css\"));const a=t.extend(\"sap.ushell.components.cepsearchresult.app.util.controls.Paginator\",{metadata:{properties:{pageSize:{type:\"int\",defaultValue:5},count:{type:\"int\",defaultValue:0},currentPage:{type:\"int\",defaultValue:1},segmentSize:{type:\"int\",defaultValue:7}},aggregations:{_buttons:{type:\"sap.m.Button\",multiple:true,hidden:true}},events:{selectPage:{}}},renderer:function(t,e){t.openStart(\"nav\",e);t.attr(\"tabIndex\",\"0\");t.class(\"sapUiCEPSearchPag\");t.attr(\"role\",\"navigation\");t.attr(\"aria-label\",o.bundle.getText(\"CATEGORY.Views.PaginationTooltip\"));t.openEnd();const i=e.getAggregation(\"_buttons\")||[];for(let e=0;e1,visible:t>1,tooltip:o.bundle.getText(\"CATEGORY.Views.PageTooltip\",[Math.max(i-1,1),t]),press:function(){this._setCurrentPageWithEvent(i-1)}.bind(this)});this.addAggregation(\"_buttons\",r);if(s>1){const a=new e({text:\"1\",enabled:i>1,visible:i>1,tooltip:o.bundle.getText(\"CATEGORY.Views.PageTooltip\",[1,t]),press:function(){this._setCurrentPageWithEvent(1)}.bind(this)});this.addAggregation(\"_buttons\",a);const r=new e({text:s===3?2:\"...\",tooltip:o.bundle.getText(\"CATEGORY.Views.PageTooltip\",[s-1,t]),enabled:i>=s,visible:t>n&&s>2,press:function(){this._setCurrentPageWithEvent(s-1)}.bind(this)});this.addAggregation(\"_buttons\",r)}for(let n=s;n<=a;n++){const s=new e({text:`${n}`,pressed:n===i,tooltip:o.bundle.getText(\"CATEGORY.Views.PageTooltip\",[n,t]),enabled:true,visible:t>1,press:function(t,e){return function(i){if(e===t.getCurrentPage()){i.getSource().setPressed(true);return}t._setCurrentPageWithEvent(e)}}(this,n)});s.data(\"page\",n.toString(),true);s.addStyleClass(\"sapUiCEPSearchPagNumber\");this.addAggregation(\"_buttons\",s)}if(a1,press:function(){this._setCurrentPageWithEvent(t)}.bind(this)});this.addAggregation(\"_buttons\",n)}const g=new e({icon:\"sap-icon://navigation-right-arrow\",enabled:i1,press:function(){this._setCurrentPageWithEvent(i+1)}.bind(this)});this.addAggregation(\"_buttons\",g)};a.prototype._removeKeyboardNavigation=function(){if(this._oItemNavigation){this.removeDelegate(this._oItemNavigation);this._oItemNavigation.destroy();this._oItemNavigation=null}};a.prototype._initKeyboardNavigation=function(){this._removeKeyboardNavigation();this._oItemNavigation=new i;const t=Array.from(this.getDomRef().querySelectorAll(\".sapMBtn\"));this._oItemNavigation.setCycling(false).setTableMode(true,true).setColumns(this.getAggregation(\"_buttons\").length).setRootDomRef(this.getDomRef()).setPageSize(this.getPageSize()).setItemDomRefs(t);this.addDelegate(this._oItemNavigation)};a.prototype.focusPage=function(t){const e=this.getDomRef().querySelector(`.sapMBtn[data-page='${t}']`);if(e){e.setAttribute(\"aria-current\",\"page\");e.focus()}};a.prototype.onBeforeRendering=function(){this._addButtons()};a.prototype.onAfterRendering=function(){this._initKeyboardNavigation()};a.prototype.destroy=function(){this._removeKeyboardNavigation();this.destroyAggregation(\"_buttons\")};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/controls/categories/All\", [\"sap/ushell/components/cepsearchresult/app/util/controls/Category\"],t=>{\"use strict\";const e=t.extend(\"sap.ushell.components.cepsearchresult.app.util.controls.categories.All\",{metadata:{aggregations:{_content:{type:\"sap.ui.core.Control\",multiple:true}}},renderer:function(t,e){t.openStart(\"div\",e);t.class(\"sapUiCEPSearchCatGroup\");t.openEnd();const a=e.getAggregation(\"_content\");a.forEach(e=>{t.renderControl(e)});t.close(\"div\")},constructor:function(e,a,n){this._oEdition=a;t.apply(this,[e,a,n])}});e.prototype.addContent=function(){const t=this._oCategoryConfig.subCategories;t.forEach(t=>{t.instance=this._oEdition.createCategoryInstance(t.name);t.instance.setFooter(\"viewAll\");t.instance.setPageSize(t.pageSize);t.instance.attachBeforeSearch(t=>{this.fireBeforeSearch(t.getParameters())});t.instance.attachAfterSearch(t=>{this.fireAfterSearch(t.getParameters())});t.instance.attachItemNavigate(t=>{this.fireItemNavigateSearch(t.getParameters())});t.instance.attachViewAll(t=>{this.fireViewAll(t.getParameters())});this.addAggregation(\"_content\",t.instance)})};e.prototype.resetData=function(){this.getAggregation(\"_content\").forEach(t=>{t.resetData()})};e.prototype.search=function(t,e,a){this.getAggregation(\"_content\").forEach(n=>{n.setVisible(this.getVisible());n.search(t,e,a)})};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/controls/categories/Application\", [\"sap/ushell/components/cepsearchresult/app/util/controls/Category\",\"sap/ushell/services/VisualizationInstantiation\",\"sap/m/Text\",\"sap/m/Link\",\"sap/m/FlexBox\",\"sap/m/library\",\"sap/ui/base/Event\",\"sap/ushell/Container\"],(t,e,a,i,n,s,o,r)=>{\"use strict\";const l=s.LinkAccessibleRole;const d=t.extend(\"sap.ushell.components.cepsearchresult.app.util.controls.categories.Application\",{renderer:t.getMetadata().getRenderer()});const p=new e;const c=500;d.prototype.getViewSettings=function(){return{views:[{key:\"list\",icon:\"sap-icon://text-align-justified\"},{key:\"tile\",icon:\"sap-icon://grid\"}],default:\"tile\"}};d.prototype.createListItemTemplate=function(){const e=t.prototype.createListItemTemplate.apply(this).addStyleClass(\"sapMLIBHoverable\");e.getContent()[0].addItem(new a({visible:\"{= !!${data>longDescription}}\",text:\"{= ${data>longDescription}}\"}).addStyleClass(\"diminishedText\").addStyleClass(\"sapUiSmallMarginBeginEnd\").addStyleClass(\"sapUiTinyMarginTop\").addStyleClass(\"resetHighlight\"));e.getContent()[0].addItem(new n({items:{path:\"data>visualization/keywords\",templateShareable:true,template:new a({visible:\"{= !!${data>}}\",text:\"{= ${data>}}\"}).addStyleClass(\"diminishedText\").addStyleClass(\"keywordText\").addStyleClass(\"sapUiTinyMarginEnd\")}}).addStyleClass(\"sapUiSmallMarginBeginEnd\"));e.attachModelContextChange(this.addTile.bind(this));return e};d.prototype.createCardItemTemplate=function(){const e=t.prototype.createListItemTemplate.apply(this);e.attachModelContextChange(this.addTile.bind(this));return e};d.prototype.createTileItemTemplate=function(){const e=new t.CustomListItem({type:\"Active\",press:this.itemNavigate.bind(this)});e.attachModelContextChange(this.addTile.bind(this));return e};d.prototype.addTile=function(t){const e=t.getSource();if(e.getBindingContext(\"data\")){const t=e.getBindingContext(\"data\").getObject();const a=t.visualization;if(!a){return}if(e._oViz){e._oViz.destroy()}const i=p.instantiateVisualization(a);i.addStyleClass(a.displayFormatHint);e._oViz=i;if(this.getCurrentView()===\"tile\"){e.destroyContent();e.addContent(i);this.activateTile(i,true,c)}else{e.getContent()[0].getItems()[0].addItem(i.addStyleClass(\"hiddentile\"));const t=e.getContent()[0].getItems()[0].getItems()[0];e.addDelegate({onAfterRendering:function(){setTimeout(()=>{t.setSrc(t.getSrc());t.invalidate()},5)}})}}};d.prototype.activateTile=function(t,e,a){setTimeout(()=>{r.getServiceAsync(\"ReferenceResolver\").then(()=>{if(!t.isDestroyed()){t.setActive(e,false);this.activateTile(t,false,1e3)}})},a)};d.prototype.onsapenter=function(t){const e=new o(\"customEventOnEnter\",t.srcControl,{});this.itemNavigate(e)};d.prototype.itemNavigate=function(t){if(this.bIgnoreNextItemNavigation){this.bIgnoreNextItemNavigation=false;return}if(this.isLoading()){return}let e=t.getSource();this.bIgnoreNextItemNavigation=e.isA(\"sap.m.CustomListItem\");while(e&&!e.isA(\"sap.m.CustomListItem\")){e=e.getParent()}if(!e&&!e._oViz){return}const a=e._oViz.mProperties.targetURL;r.getServiceAsync(\"Navigation\").then(t=>{t.navigate({target:{shellHash:a}})})};d.prototype.getItemObjectIdentifier=function(){const t=new i({text:\"{data>title}\",press:this.itemNavigate.bind(this),accessibleRole:l.Button}).addStyleClass(\"appTitleText\");t.setHref();return new n({direction:\"Column\",items:[new n({items:[t,new a({text:\"–\",visible:\"{= !!${data>title} && !!${data>description}}\"}).addStyleClass(\"appTitleSeparator\"),new a({text:\"{data>description}\"}).addStyleClass(\"appDescriptionText\")]}).addStyleClass(\"appTitle\"),new n({items:[new a({text:\"{data>contentProviderLabel}\"}).addStyleClass(\"appProviderText\").addStyleClass(\"diminishedText\"),new a({text:\" • \",visible:\"{= !!${data>contentProviderLabel} && !!${data>visualization/info}}\"}).addStyleClass(\"appProviderInfoSeparator diminishedText\"),new a({text:\"{data>visualization/info}\",visible:\"{= !!${data>visualization/info}}\"}).addStyleClass(\"appInfoText\").addStyleClass(\"diminishedText\")]}).addStyleClass(\"appProvider\")]}).addStyleClass(\"appObjectIdentifier\")};d.prototype._getSearchParameters=function(t,e,a){return{includeAppsWithoutVisualizations:false,enableVisualizationPreview:false,searchTerm:t,skip:e,top:a,filter:{filters:[{path:\"technicalAttributes\",operator:\"NotContains\",value1:\"APPTYPE_SEARCHAPP\"},{path:\"technicalAttributes\",operator:\"NotContains\",value1:\"APPTYPE_HOMEPAGE\"}],and:true},sort:{path:\"title\",descending:false}}};d.prototype.fetchData=function(t,e,a){return this.getMaxRowItemsAsync().then(i=>{const n=Math.ceil(a/i)*i;return this.getData(this._getSearchParameters(t,e,n)).then(t=>{const e=t.data;e.forEach((t,i)=>{if(e.length>a&&t.visualization.displayFormatHint===\"standardWide\"){e.pop()}});t.pageGap=e.length-a;return t})})};d.prototype.fetchCount=function(t,e,a){return this.getData(this._getSearchParameters(t,e,a))};d.prototype.getPlaceholderData=function(){return{title:new Array(10).join(\" \"),description:new Array(35).join(\" \"),keywords:\"\",icon:\"sap-icon://person-placeholder\",label:new Array(17).join(\" \"),url:\"\"}};d.prototype.getData=function(t){return r.getServiceAsync(\"SearchCEP\").then(e=>e.search(t))};return d});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/controls/categories/Event\", [\"sap/ushell/components/cepsearchresult/app/util/controls/Category\",\"sap/m/Text\",\"sap/m/Label\",\"sap/m/FlexBox\",\"sap/m/Avatar\",\"sap/m/ObjectIdentifier\",\"sap/ui/core/Theming\",\"sap/ui/core/theming/Parameters\",\"sap/ui/core/format/DateFormat\"],(t,e,a,i,n,r,s,o,l)=>{\"use strict\";let c={};function m(){c=o.get({name:[\"sapUiAccent2\",\"sapUiAccentBackgroundColor2\",\"sapUiAccent10\",\"sapUiAccentBackgroundColor10\",\"sapUiFontFamily\"]})}s.attachApplied(m);m();function p(t,e){if(typeof e===\"string\"){e=new Date(e)}if(!(e instanceof Date)){return\"\"}if(e.toString()===\"Invalid Date\"){return\"\"}if(!t){t={style:\"short\"}}return l.getDateInstance(t).format(e)}function d(t,e){if(typeof e===\"string\"){e=new Date(e)}if(!(e instanceof Date)){return\"\"}if(e.toString()===\"Invalid Date\"){return\"\"}if(!t){t={style:\"short\"}}return l.getDateTimeInstance(t).format(e)}const g=['','','','{sMonth}','{sDay}\",'{sWeekday}',\"\"].join(\"\");function f(t,e,a){const i=g.replace(\"{sMonth}\",e.substring(0,3)).replace(\"{sDay}\",a).replace(\"{sWeekday}\",t.substring(0,2)).replace(/\\{mParams.sapUiAccentBackgroundColor2\\}/g,c.sapUiAccentBackgroundColor2).replace(/\\{mParams.sapUiAccentBackgroundColor10\\}/g,c.sapUiAccentBackgroundColor10).replace(/\\{mParams.sapUiAccent2\\}/g,c.sapUiAccent2).replace(/\\{mParams.sapUiAccent10\\}/g,c.sapUiAccent10).replace(/\\{mParams.sapUiFontFamily\\}/g,c.sapUiFontFamily);return`data:image/svg+xml;base64,${btoa(i)}`}const u=t.extend(\"sap.ushell.components.cepsearchresult.app.util.controls.categories.Event\",{renderer:t.getMetadata().getRenderer()});u.prototype.getItemAvatarSettings=function(){const e=t.prototype.getItemAvatarSettings.apply(this,[\"{data>icon}\"]);e.src={path:\"data>\",formatter:function(t){if(!t){return\"\"}return f(p({format:\"EEE\"},t.from),p({format:\"MMM\"},t.from),p({format:\"D\"},t.from))}};return e};u.prototype.createDefaultItemTemplate=function(){return new t.CustomListItem({press:this.itemNavigate.bind(this),type:\"Active\",content:[new i({direction:\"Column\",items:[new i({direction:\"Row\",wrap:\"Wrap\",items:[new n(this.getItemAvatarSettings()).addStyleClass(\"sapUiSmallMarginBegin sapUiTinyMarginBottom event\"),new r({text:\"{data>description}\",title:\"{data>title}\",titleActive:\"{= !!${data>_navigation} || !!${data>url}}\",titlePress:this.itemNavigate.bind(this)}).addStyleClass(\"sapUiSmallMarginBeginEnd sapUiSmallMarginBottom\"),new i({direction:\"Column\",items:[this.createDateRow(\"From\",\"data>from\"),this.createDateRow(\"To\",\"data>to\")]}).addStyleClass(\"infoTextSection\")]}).addStyleClass(\"sapUiSmallMarginEnd\")]}).addStyleClass(\"status\")]})};u.prototype.createDateRow=function(t,n){const r={path:n,formatter:p.bind(null,{style:\"medium\"})};const s={path:n,formatter:d.bind(null,{pattern:\"hh:mm\"})};return new i({direction:\"Row\",items:[new a({text:t,width:\"3rem\"}).addStyleClass(\"sapUiSmallMarginBegin\"),new e({text:r,width:\"6rem\"}).addStyleClass(\"sapUiSmallMarginBeginEnd\"),new e({text:s,width:\"4rem\"}).addStyleClass(\"sapUiSmallMarginBeginEnd\")]}).addStyleClass(\"tinyTop\")};return u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/controls/categories/People\", [\"sap/ushell/components/cepsearchresult/app/util/controls/Category\",\"sap/m/CustomListItem\",\"sap/m/Link\",\"sap/m/Text\",\"sap/m/Label\",\"sap/m/FlexBox\",\"sap/m/Avatar\",\"sap/m/ObjectIdentifier\",\"sap/ui/core/CustomData\"],(t,e,a,i,n,o,s,r,l)=>{\"use strict\";const d=t.extend(\"sap.ushell.components.cepsearchresult.app.util.controls.categories.People\",{renderer:t.getMetadata().getRenderer()});d.prototype.getItemAvatarSettings=function(){const e=t.prototype.getItemAvatarSettings.apply(this,[\"{data>icon}\"]);e.initials={path:\"data>text\",formatter:function(t){try{const e=t.split(\" \");return(e[0].charAt(0)+e[e.length-1].charAt(0)).toUpperCase()}catch(t){return\"\"}}};return e};d.prototype.createDefaultItemTemplate=function(){return new t.CustomListItem({press:this.itemNavigate.bind(this),type:\"Active\",content:[new o({direction:\"Column\",customData:new l({key:\"status\",value:\"{= ${data>status} || 'unknown'}\",writeToDom:true}),items:[new o({direction:\"Row\",wrap:\"Wrap\",items:[new s(this.getItemAvatarSettings()).addStyleClass(\"sapUiSmallMarginBegin sapUiTinyMarginBottom people\"),new r({text:\"{data>description}\",title:\"{data>text}\",titleActive:\"{= !!${data>_navigation} || !!${data>url}}\",titlePress:this.itemNavigate.bind(this)}).addStyleClass(\"sapUiSmallMarginBeginEnd sapUiSmallMarginBottom\"),new o({direction:\"Column\",items:[this.createInfoRow(\"Office\",\"{data>location}\"),this.createInfoRow(\"Manager\",\"{data>manager}\",\"mailto:{data>manager}\")]}).addStyleClass(\"infoTextSection\"),new o({direction:\"Column\",items:[this.createInfoRow(\"Mail\",\"{data>mail}\",\"mailto:{data>mail}\"),this.createInfoRow(\"Mobile\",\"{data>mobile}\",\"tel:{data>mobile}\"),this.createInfoRow(\"Work\",\"{data>work}\",\"tel:{data>work}\")]}).addStyleClass(\"infoTextSection\")]}).addStyleClass(\"sapUiSmallMarginEnd\")]}).addStyleClass(\"status\")]})};d.prototype.createInfoRow=function(t,e,s){return new o({direction:\"Row\",visible:`{= !!$${e}}`,items:[new n({text:t,width:\"3rem\"}).addStyleClass(\"sapUiSmallMarginBegin\"),s?new a({text:e,href:s}).addStyleClass(\"sapUiSmallMarginBeginEnd\"):new i({text:e}).addStyleClass(\"sapUiSmallMarginBeginEnd\")]}).addStyleClass(\"tinyTop\")};d.prototype.getPlaceholderData=function(){return{text:new Array(20).join(\" \"),description:new Array(14).join(\" \"),mail:new Array(25).join(\" \"),location:new Array(7).join(\" \"),mobile:new Array(17).join(\" \"),status:\"offline\",icon:\"sap-icon://person-placeholder\"}};return d});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/controls/categories/Workpage\", [\"sap/ushell/components/cepsearchresult/app/util/controls/Category\"],t=>{\"use strict\";const e=t.extend(\"sap.ushell.components.cepsearchresult.app.util.controls.categories.Workpage\",{renderer:t.getMetadata().getRenderer()});e.prototype.getViewSettings=function(){return{views:[{key:\"list\",icon:\"sap-icon://text-align-justified\"}],default:\"list\"}};e.prototype.getItemAvatarSettings=function(){return t.prototype.getItemAvatarSettings.apply(this,[\"{data>icon}\"])};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/resources\", [\"sap/ui/model/resource/ResourceModel\"],e=>{\"use strict\";const u={};u.bundle=null;u.model=new e({bundleName:\"sap.ushell.components.cepsearchresult.app.util.i18n.i18n\",async:true});u._pResourceBundle=u.model.getResourceBundle().then(e=>{u.bundle=e});u.awaitResourceBundle=async function(){await u._pResourceBundle};return u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinder/CatalogService\", [\"sap/base/i18n/Localization\",\"sap/ushell/utils/HttpClient\",\"sap/ushell/Config\"],(t,e,n)=>{\"use strict\";function s(){this.httpClient=new e;this._sBaseUrl=n.last(\"/core/workPages/contentApiUrl\");const t=new URLSearchParams(window.location.search);this._sSiteId=t.get(\"siteId\")||n.last(\"/core/site/siteId\")}s.prototype.getCatalogs=function(){const t=this._getCatalogs();const e=[t];let n;let s;const a=new Promise((t,e)=>{n=t;s=e});t.then(t=>{let s=t.catalogs.length;const a=s;const o=t.totalCount;while(s{const e=t.reduce((t,e)=>t.concat(e.catalogs),[]);n({catalogs:e,totalCount:t[0].totalCount})})}).catch(t=>{s(t)});return a};s.prototype._getCatalogs=function(t,e,n){let s=`\\n getCatalogs ($siteId: String, $queryInput: QueryCatalogsInput!){\\n catalogs(siteId: $siteId, queryInput: $queryInput) {\\n totalCount,\\n nodes {\\n id,\\n descriptor { value }\\n provider {\\n id\\n },\\n systemLabel,\\n },\\n }\\n }`;s=s.replace(/\\n/g,\"\").replace(/ /g,\"\");s=`query ${s}`;const a={...n};a.skip=t||0;if(e){a.top=e}const o={siteId:this._sSiteId,queryInput:a};return this._doRequest(s,JSON.stringify(o)).then(t=>{const e=[];if(t.data.catalogs){t.data.catalogs.nodes.forEach((t,n)=>{if(t.descriptor.value){let n={id:t.id,title:t.descriptor.value.title};if(t.provider?.id&&t.provider.id!==\"SUB_ACCOUNT\"){n={...n,contentProviderId:t.provider.id}}if(t.systemLabel){n={...n,contentProviderLabel:t.systemLabel}}e.push(n)}})}return{catalogs:e,totalCount:t.data.catalogs.totalCount||0}})};s.prototype.loadVisualizations=function(t,e){if(!t){return Promise.reject(\"Catalog ID is mandatory\")}let n=`\\n getCatalog($siteId: String, $filterQuery: QueryCatalogVisualizationsInput) {\\n catalog(siteId: $siteId, catalogId: \"${t}\") {\\n id,\\n descriptor { value },\\n visualizations(queryInput: $filterQuery) {\\n totalCount,\\n nodes{\\n id,\\n type,\\n descriptor {\\n value,\\n schemaVersion\\n },\\n descriptorResources {\\n baseUrl,\\n descriptorPath\\n },\\n indicatorDataSource {\\n url,\\n refreshInterval\\n },\\n targetAppIntent {\\n semanticObject,\\n action,\\n businessAppId\\n },\\n systemLabel\\n }\\n }\\n }\\n }`;n=n.replace(/\\n/g,\"\").replace(/ /g,\"\");n=`query ${n}`;const s={siteId:this._sSiteId,filterQuery:e};return this._doRequest(n,JSON.stringify(s)).then(t=>({visualizations:t.data?.catalog.visualizations||[],totalCount:t.data?.catalog.visualizations.totalCount||0}))};s.prototype._doRequest=function(e,s){let a=`${this._sBaseUrl}?query=${encodeURIComponent(e)}`;if(s){a+=`&variables=${encodeURIComponent(s)}`}const o={\"Content-Type\":\"application/json\",Accept:\"application/json\",\"Accept-Language\":t.getLanguageTag().toString()};if(n.last(\"/core/site/sapCdmVersion\")){o[\"sap-cdm-content-version\"]=n.last(\"/core/site/sapCdmVersion\")}return this.httpClient.get(a,{headers:o}).then(t=>{if(t.status<200||t.status>=300){return Promise.reject(`HTTP request failed with status: ${t.status} - ${t.statusText}`)}return JSON.parse(t.responseText||\"{}\")})};return s},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinder/Component\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/ObjectPath\",\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/ViewType\",\"sap/ui/core/UIComponent\",\"sap/ushell/components/contentFinder/model/GraphQLModel\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/f/library\"],(e,t,i,o,s,a,n,r,l,d,u)=>{\"use strict\";const p=u.LayoutType;const c=500;return a.extend(\"sap.ushell.components.contentFinder.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"],properties:{enablePersonalization:{type:\"boolean\",defaultValue:true,group:\"Behavior\"},noItemsInCatalogDescription:{type:\"string\",defaultValue:\"\",group:\"Appearance\"},showAppBoxFieldsPlaceholder:{type:\"boolean\",defaultValue:true,group:\"Appearance\"},showCategoryTreeWhenEmpty:{type:\"boolean\",defaultValue:true,group:\"Appearance\"},showApplicationLaunchButton:{type:\"boolean\",defaultValue:false,group:\"Appearance\"}},events:{visualizationFilterApplied:{allowPreventDefault:true,parameters:{types:{type:\"string[]\"},searchTerm:{type:\"string\"},pagination:{type:{skip:\"integer\",top:\"integer\"}},filter:{type:\"any\"},categoryId:{type:\"string\"}}},contentFinderClosed:{parameters:{}},widgetSelected:{parameters:{widgetId:{type:\"string\"}}},visualizationsAdded:{parameters:{visualizations:{type:\"object[]\"}}}}},logComponent:\"sap.ushell.components.ContentFinder.Component\",init:function(){a.prototype.init.apply(this,arguments);this.setModel(this.getUiModel(),\"ui\");this.setModel(this.getDataModel());this.setModel(this.getDataModel(),\"data\");this.setModel(this.getSelectionModel(),\"selection\");this.initializeUiModel(false);this.initializeDataModel();this.initializeSelectionModel();this._initializeSidebarStatus();const e=this.getComponentData();if(e?.visualizationFilters){this.setVisualizationsFilters(e.visualizationFilters)}this.oRestrictedVisualizationsMap=new Map;this._bLoading=false},createContent:async function(){this._oResourceBundle=await this.getModel(\"i18n\").getResourceBundle();return this.runAsOwner(()=>o.create({viewName:\"sap.ushell.components.contentFinder.view.AppSearch\",id:\"contentFinderView\",type:s.XML}))},getResourceBundle:function(){return this._oResourceBundle},setVisualizationsFilters:function(e){const t=this.getUiModel();if(e?.available){t.setProperty(\"/visualizations/filters/available\",e.available)}if(e?.displayed){t.setProperty(\"/visualizations/filters/displayed\",e.displayed)}if(e?.selected){t.setProperty(\"/visualizations/filters/selected\",e.selected)}},getUiModel:function(){if(!this.oUiModel){this.oUiModel=new r}return this.oUiModel},getDataModel:function(){if(!this.oDataModel){this.oDataModel=new n;this.oDataModel.setSizeLimit(Infinity)}return this.oDataModel},getSelectionModel:function(){if(!this.oSelectionModel){this.oSelectionModel=new r;this.oSelectionModel.setSizeLimit(Infinity)}return this.oSelectionModel},_setComponentSettingsProperty:function(e,t){this.setProperty(e,t);this.getModel(\"ui\").setProperty(`/componentSettings/${e}`,t);return this},setEnablePersonalization:function(e){return this._setComponentSettingsProperty(\"enablePersonalization\",!!e)},setNoItemsInCatalogDescription:function(e){return this._setComponentSettingsProperty(\"noItemsInCatalogDescription\",e)},setShowAppBoxFieldsPlaceholder:function(e){return this._setComponentSettingsProperty(\"showAppBoxFieldsPlaceholder\",!!e)},setShowCategoryTreeWhenEmpty:function(e){return this._setComponentSettingsProperty(\"showCategoryTreeWhenEmpty\",!!e)},setShowApplicationLaunchButton:function(e){return this._setComponentSettingsProperty(\"showApplicationLaunchButton\",!!e)},setCategoryTree:function(t){const i=this.getDataModel();if(!Array.isArray(t)){e.error(\"Category tree data must be an array.\");t=[]}i.setProperty(\"/categoryTree\",t)},queryVisualizations:function(e,t,i){const o=this.getUiModel();const s=o.getProperty(\"/visualizations/filters/selected\");const a=o.getProperty(\"/visualizations/filters/available\");const n=a.find(e=>e.key===s);if(!this._bLoading){this._bLoading=true;o.setProperty(\"/visualizations/loaded\",false);this.fireEvent(\"visualizationFilterApplied\",{pagination:{skip:e||0,top:o.getProperty(\"/visualizations/growingThreshold\")},types:n?.types||[],search:t||null,categoryId:i||null})}},getSelectedVisualizationFilter:function(){this.oUiModel=this.getUiModel();const e=this.oUiModel.getProperty(\"/visualizations/filters/selected\");const t=this.oUiModel.getProperty(\"/visualizations/filters/available\");let i={};if(t?.length>0){i=t.find(t=>t.key===e)||t[0]}return i},setVisualizationData:function(e,t=false,o){const s=i.get(\"visualizations.nodes\",e)||[];const a=i.get(\"visualizations.totalCount\",e)||0;const n=this.getDataModel();const r=this.getUiModel();const l=this._prepareVisualizations(s);let d;if(t){d=[]}else{d=n.getProperty(\"/visualizations/items\")}n.setProperty(\"/visualizations/items\",d.concat(l));if(Number(a)>0){n.setProperty(\"/visualizations/totalCount\",a)}r.setProperty(\"/visualizations/loaded\",true);r.setProperty(\"/customErrorMessage\",o);this._bLoading=false},setContextData:function(e){const o=i.get(\"restrictedVisualizations\",e)||[];const s=this.getDataModel();this.oRestrictedVisualizationsMap.clear();o.forEach(e=>{this.oRestrictedVisualizationsMap.set(e,true)});s.setProperty(\"/visualizations/restrictedItems\",t([],o))},addVisualizations:function(e){if(e.length>0){this.fireEvent(\"visualizationsAdded\",{visualizations:e})}},triggerContentFinderClosed:function(){this.fireEvent(\"contentFinderClosed\")},triggerWidgetSelected:function(e){if(e){this.fireEvent(\"widgetSelected\",{widgetId:e})}},resetAppSearch:function(){this.initializeUiModel(true);this.initializeSelectionModel();this.useSelectionModel(false);this.updateSidebarStatus()},useSelectionModel:function(e){let t;if(e){t=this.getSelectionModel()}else{t=this.getDataModel()}this.setModel(t,\"data\")},initializeUiModel:function(e=false){const t=this.getUiModel();let i;if(e){i={preservedLayoutType:t.getProperty(\"/preservedLayoutType\"),categoryTree:t.getProperty(\"/categoryTree\"),visualizations:{filters:t.getProperty(\"/visualizations/filters\"),listView:t.getProperty(\"/visualizations/listView\")}}}t.setData({layoutType:p.TwoColumnsMidExpanded,preservedLayoutType:p.TwoColumnsMidExpanded,maxColumnsCount:2,componentSettings:{enablePersonalization:this.getEnablePersonalization(),noItemsInCatalogDescription:this.getNoItemsInCatalogDescription(),showAppBoxFieldsPlaceholder:this.getShowAppBoxFieldsPlaceholder(),s Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/plugins/BaseRTAPlugin\", [\"sap/ui/core/Component\",\"sap/ui/core/Element\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger\"],(t,i,e,n,s)=>{\"use strict\";const o=t.extend(\"sap.ushell.plugins.BaseRTAPlugin\",{sType:null,init:function(t){this.mConfig=t;this.mConfig.i18n=this.getModel(\"i18n\").getResourceBundle();this.mConfig.loadPlugins=this._loadPlugins.bind(this);this.mConfig.onStartHandler=this._onStartHandler.bind(this);this.mConfig.onErrorHandler=this._onErrorHandler.bind(this);this.mConfig.onStopHandler=this._onStopHandler.bind(this);this.oTrigger=new s(this.mConfig);this._oPluginPromise=(async()=>{await this.oTrigger.getInitPromise();if(this.mConfig.checkRestartRTA&&n.checkRestartRTA(this.mConfig.layer)){await this.oTrigger.triggerStartRta(this)}const t=await e.getAppLifeCycleService();await t.attachAppLoaded(this._onAppLoaded,this)})()},getPluginPromise:function(){return this._oPluginPromise},exit:function(){this._oPluginPromise=this._oPluginPromise.then(e.getAppLifeCycleService).then(t=>{t.detachAppLoaded(this._onAppLoaded,this);if(this._onRendererCreated){const t=e.getContainer();t.detachRendererCreatedEvent(this._onRendererCreated,this)}})},_onAppLoaded:async function(){if(await n.checkRtaPrerequisites()){if(n.checkRestartRTA(this.mConfig.layer)){this.oTrigger.triggerStartRta(this)}this._setButtonVisibility(true)}else{this._setButtonVisibility(false)}},_onAdapt:function(){return this.oTrigger.triggerStartRta(this)},_setButtonVisibility:function(t){if(!this.oActionButton){return}if(t){this.oActionButton.showForAllApps()}else{this.oActionButton.hideForAllApps()}},_exitAdaptation:function(){if(this._switchToDefaultMode){this._switchToDefaultMode()}this.oTrigger.exitRta()},_onStartHandler:function(){},_onErrorHandler:function(){this._exitAdaptation()},_onStopHandler:function(){this._exitAdaptation()},_loadPlugins:function(){return Promise.resolve()}});return o},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/plugins/appwarmup/Component\", [\"sap/ui/core/Component\",\"sap/ui/core/service/ServiceFactory\",\"sap/ui/core/service/ServiceFactoryRegistry\",\"./ShellUIService\",\"sap/base/Log\"],(e,a,t,s,n)=>{\"use strict\";const p=sap.ui.require.toUrl(\"sap/ushell/plugins/ghostapp\");const i={name:\"sap.ushell.plugins.ghostapp\",manifest:true,asyncHints:{libs:[{name:\"sap.m\"},{name:\"sap.ui.core\"},{name:\"sap.f\"},{name:\"sap.suite.ui.generic.template\"},{name:\"sap.ui.comp\"},{name:\"sap.ui.fl\"},{name:\"sap.ui.generic.app\"},{name:\"sap.ui.generic.template\"},{name:\"sap.ui.table\"},{name:\"sap.ui.unified\"},{name:\"sap.uxap\"},{name:\"sap.ui.layout\"}],cacheTokens:{dataSources:{\"/ghostapp-c9f1f0bd-ff78-4660-9a1f-295814f00fe0/\":\"20180613155243\"}},requests:[{name:\"sap.ui.fl.changes\",reference:\"sap.ushell.plugins.ghostapp.Component\"}],waitFor:{}},id:\"sap.ushell.plugins.ghostapp\",componentData:{startupParameters:{},technicalParameters:{}},async:true};const o=\"sap.ushell.plugins.appwarmup.Component\";return e.extend(o,{metadata:{version:\"1.139.0\",library:\"sap.ushell\"},doWarmUp:function(){const o=[];o.push(new Promise((e,a)=>{sap.ui.require([\"sap/ui/model/odata/ODataMetadata\"],a=>{const t=a.prototype._loadMetadata;a.prototype._loadMetadata=function(e,s){if(this.sUrl&&this.sUrl.startsWith(\"/ghostapp-c9f1f0bd-ff78-4660-9a1f-295814f00fe0/$metadata\")){this.sUrl=`${p}/metadata.xml`;a.prototype._loadMetadata=t}return t.call(this,e,s)};e()},a)}));Promise.all(o).then(()=>{t.register(\"sap.ushell.plugins.appwarmup.ShellUIService\",new a(s));return e.create(i)}).then(e=>{const a=document.createElement(\"div\");a.style.visibility=\"hidden\";document.body.appendChild(a);sap.ui.require([\"sap/ui/core/ComponentContainer\"],t=>{const s=new t;s.setComponent(e);s.placeAt(a);s.addEventDelegate({onAfterRendering:function(){setTimeout(()=>{s.destroy()},5e3)}})})}).catch(function(){n.error(\"GhostApp component could not be created\",null,this)})},init:function(){this.doWarmUp()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/plugins/appwarmup/ShellUIService\", [\"sap/ui/core/service/Service\"],e=>{\"use strict\";return e.extend(\"sap.ushell.plugins.appwarmup.ShellUIService\",{setTitle:function(){return},setHierarchy:function(){return},setBackNavigation:function(){return},getTitle:function(){return},setRelatedApps:function(){return}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/plugins/ghostapp/Component\", [\"sap/ui/generic/app/AppComponent\"],e=>{\"use strict\";return e.extend(\"sap.ushell.plugins.ghostapp.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\"}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/plugins/ghostapp/FakeModel\", [\"sap/ui/model/odata/v2/ODataModel\"],e=>{\"use strict\";const t=e.extend(\"sap.ushell.plugins.ghostapp.FakeModel\",{constructor:function(t,s){e.apply(this,arguments);this.setDeferredGroups([\"undefined\",this.sDefaultChangeGroup])},setDeferredGroups:function(){e.prototype.setDeferredGroups.apply(this,arguments);this.mDeferredGroups.undefined=\"undefined\"}});t.getMetadata().getName=function(){return\"sap.ui.model.odata.v2.ODataModel\"};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/plugins/rta-personalize/Component\", [\"sap/base/Log\",\"sap/ushell/plugins/BaseRTAPlugin\"],(e,s)=>{\"use strict\";const n=s.extend(\"sap.ushell.plugins.rta-personalize.Component\",{sType:\"rta-personalize\",metadata:{manifest:\"json\",library:\"sap.ushell\"},init:function(){e.error(\"[Deprecated] The FLP plugin for RTA Personalization (sap.ushell.plugins.rta-personalize) is no longer supported.\")}});return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/plugins/rta/Component\", [\"sap/base/Log\",\"sap/ushell/plugins/BaseRTAPlugin\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer\"],(n,e,t,i)=>{\"use strict\";const s=e.extend(\"sap.ushell.plugins.rta.Component\",{sType:\"rta\",metadata:{manifest:\"json\",library:\"sap.ushell\"},init:function(){if(s.runningInstance){this.destroy();n.error(\"RTAPlugin was already initialized, only one instance is allowed\");return}s.runningInstance=this.getId();const a={sComponentName:\"sap.ushell.plugins.rta\",layer:\"CUSTOMER\",developerMode:false,id:\"RTA_Plugin_ActionButton\",text:\"RTA_BUTTON_TEXT\",icon:\"sap-icon://wrench\",visible:true,checkRestartRTA:true};e.prototype.init.call(this,a);this._oPluginPromise=this._oPluginPromise.then(t.checkRtaPrerequisites.bind(t)).then(n=>i.createActionButton(this,this._onAdapt.bind(this),n)).then(n=>{this.oActionButton=n})},exit:function(){if(s.runningInstance===this.getId()){s.runningInstance=null}}});return s},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/AccessKeysHandler\", [\"sap/ui/base/EventProvider\",\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/state/StateManager\",\"sap/ushell/Container\",\"sap/ushell/state/ShellModel\"],(e,t,n,s,o,i,r,l,a,c)=>{\"use strict\";const u=l.LaunchpadState;const d=l.ShellMode;const{Default:f,Headerless:h,Minimal:p}=d;const y=e.extend(\"sap.ushell.renderer.AccessKeysHandler\",{constructor:function(){e.apply(this,arguments);i.on(\"AppRendered\").do(this.appOpenedHandler.bind(this));this.bFocusOnShell=true;this.bFocusPassedToExternalHandlerFirstTime=true;this.isFocusHandledByAnotherHandler=false;this.fnExternalKeysHandler=null;this.sLastExternalKeysHandlerUrl=null;this.fnExternalShortcuts=null;this.bForwardNavigation=true;this.aShortcutsDescriptions=[]}});y.prototype.init=function(){this.oConfigModel=c.getConfigModel();document.addEventListener(\"keydown\",e=>{if(e.keyCode===16){return}this.bForwardNavigation=!e.shiftKey;if(e.key===\"Tab\"||e.key===\"F6\"){setTimeout(()=>{this._handleEventUsingExternalKeysHandler(e)},0)}else{this._handleEventUsingExternalKeysHandler(e)}const t=l.getShellMode();const n=l.getLaunchpadState();if(t!==h){let s=false;if(n===u.Home){s=l.isLegacyHome()}else{s=[f,p].includes(t)}this.handleShortcuts(e,s)}if(this.fnExternalShortcuts){this.fnExternalShortcuts(e)}},true);this._cancelHelpEvent=this._cancelHelpEvent.bind(this)};y.prototype.appOpenedHandler=function(){const e=s.getHash();if(e!==this.sLastExternalKeysHandlerUrl){this.fnExternalKeysHandler=null}this.sLastExternalKeysHandlerUrl=e};y.prototype._focusItemInOverflowPopover=function(e,t){const s=n.getElementById(\"headEndItemsOverflow\");if(s&&s.isOpen()){if(s.getContent().length){this._focusItemInPopover(e,s.getContent()[0].getItems())}}else if(t<10){const n=window.document.getElementById(\"endItemsOverflowBtn\");if(n){n.click();const s=this;window.setTimeout(()=>{s._focusItemInOverflowPopover(e,++t)},300)}}};y.prototype._focusItemInUserMenu=function(e,t){const s=n.getElementById(\"sapUshellUserActionsMenuPopover\");if(s&&s.isOpen()){if(s.getContent().length){this._focusItemInPopover(e,s.getContent()[0].getItems())}}else if(t<10){const n=this;i.emit(\"showUserActionsMenu\",Date.now());window.setTimeout(()=>{n._focusItemInUserMenu(e,++t)},300)}};y.prototype._focusItemInPopover=function(e,t){for(let n=0;n{const o=new s;a.forEach(t=>{o.addItem(new e({text:t.description}));o.addItem(new n({text:t.text}).addStyleClass(\"sapUiSmallMarginBottom\"))});t.show(o,{id:\"hotKeysGlossary\",title:r.i18n.getText(\"hotKeysGlossary\"),styleClass:\"sapContrastPlus\"})})};y.prototype._focusAppFinderButton=function(){if(!o.last(\"/core/catalog/enabled\")){return}if(this._isFocusInDialog()){return}const e=window.document.getElementById(\"openCatalogBtn\");if(e){e.focus();return}const t=a.getRendererInternal(\"fiori2\").getShellConfig();if(t.moveAppFinderActionToShellHeader){this._focusItemInOverflowPopover(\"openCatalogBtn\",0);return}this._focusItemInUserMenu(\"openCatalogBtn\",0)};y.prototype._focusSettingsButton=function(){if(this._isFocusInDialog()){return}const e=window.document.getElementById(\"userSettingsBtn\");if(e){e.focus();return}const t=a.getRendererInternal(\"fiori2\").getShellConfig();if(t.moveUserSettingsActionToShellHeader){this._focusItemInOverflowPopover(\"userSettingsBtn\",0);return}this._focusItemInUserMenu(\"userSettingsBtn\",0)};y.prototype._blockBrowserDefault=function(e){return new Promise(n=>{if(t.browser.name===\"ie\"){let t=window.document.getElementById(\"shell-header\");if(t){t.setAttribute(\"accesskey\",e.key);window.setTimeout(()=>{t=window.document.getElementById(\"shell-header\");if(t){t.removeAttribute(\"accesskey\");n()}},0)}}else{n()}e.preventDefault()})};y.prototype._handleAltShortcutKeys=function(e,t){const s=n.getElementById(\"shell-header\");const o=n.getElementById(\"sapUshellUserActionsMenuPopover\");const r=n.getElementById(\"shellNotificationsPopover\");if(this._isFocusInInput()){return}if(s){if(t){if(e.keyCode===65){this._blockBrowserDefault(e).then(this._focusAppFinderButton.bind(this))}else if(e.keyCode===83){this._blockBrowserDefault(e).then(this._focusSettingsButton.bind(this))}}if(e.keyCode===70){this._blockBrowserDefault(e).then(()=>{if(this._isFocusInDialog()){return}const e=window.document.getElementById(\"sf\");const t=window.document.getElementById(\"searchFieldInShell-button\");if(e){e.focus()}else if(t){t.focus()}else{this._focusItemInOverflowPopover(\"sf\",0)}})}else if(e.keyCode===72){this._blockBrowserDefault(e).then(()=>{if(this._isFocusInDialog()){return}const e=document.getElementById(\"shell-header-logo\");if(e){e.focus();return}})}else if(e.keyCode===77){this._blockBrowserDefault(e).then(()=>{if(this._isFocusInDialog()){return}if(!(o&&o.isOpen())){i.emit(\"showUserActionsMenu\",Date.now())}})}else if(e.keyCode===78){this._blockBrowserDefault(e).then(()=>{if(this._isFocusInDialog()){return}if(!(r&&r.isOpen())){i.emit(\"showNotifications\",Date.now())}})}}};y.prototype._handleCtrlShortcutKeys=function(e,t){if(e.shiftKey){if(e.keyCode===70){if(this._isFocusInDialog()){return}const t=n.getElementById(\"sf\");if(t){if(o.last(\"/core/shellBar/enabled\")){t.fireClick()}else{t.firePress()}e.preventDefault();e.stopPropagation()}}}else if(e.keyCode===188&&t){if(this._isFocusInDialog()){return}const t=n.getElementById(\"userSettingsBtn\");if(t&&!this._isFocusInATable()){t.firePress();e.preventDefault();e.stopPropagation()}}else if(e.keyCode===112){if(this._isFocusInDialog()){return}this._handleAccessOverviewKey(t)}else if(e.keyCode===83){if(this._isFocusInDialog()){return}const t=window.document.getElementById(\"appFinderSearch-I\");if(t){t.focus();e.preventDefault();e.stopPropagation()}}else if(e.keyCode===13){if(this._isFocusInDialog()){return}if(o.last(\"/core/spaces/enabled\")){this.fireEvent(\"editModeDone\")}else{const t=n.getElementById(\"sapUshellDashboardFooterDoneBtn\");if(t&&t.getDomRef()){t.firePress();e.preventDefault();e.stopPropagation()}}}};y.prototype.handleShortcuts=function(e,n){if(t.os.macintosh&&e.metaKey&&e.shiftKey&&e.keyCode===70){const t=window.document.getElementById(\"sf\");if(t){t.firePress();e.preventDefault();e.stopPropagation()}e.preventDefault()}else if(e.altKey&&!e.shiftKey&&!e.ctrlKey){this._handleAltShortcutKeys(e,n)}else if(e.ctrlKey&&!e.altKey){this._handleCtrlShortcutKeys(e,n)}};y.prototype.registerAppKeysHandler=function(e){this.fnExternalKeysHandler=e;this.sLastExternalKeysHandlerUrl=s.getHash()};y.prototype.resetAppKeysHandler=function(){this.fnExternalKeysHandler=null};y.prototype.getAppKeysHandler=function(){return this.fnExternalKeysHandler};y.prototype.registerAppShortcuts=function(e,t){this.fnExternalShortcuts=e;this.aShortcutsDescriptions=t};y.prototype._handleFocusBackToMe=function(e,t){this.bFocusOnShell=true;let s;if(t){s=window.document.getElementById(t)}else{this.fromOutside=true;if(e){e.preventDefault();this.bForwardNavigation=!e.shiftKey||e.key===\"F6\"}const t=n.getElementById(\"shell-header\");if(t&&!o.last(\"/core/shellBar/enabled\")){t.setFocusOnShellHeader(!this.bForwardNavigation);this.fromOutside=false}}if(s){s.focus();this.fromOutside=false}this.bFocusPassedToExternalHandlerFirstTime=true};y.prototype.setIsFocusHandledByAnotherHandler=function(e){this.isFocusHandledByAnotherHandler=e};y.prototype.sendFocusBackToShell=function(e){let t;let n;if(typeof e===\"string\"){n=e}else if(typeof e===\"object\"){t=e}this._handleFocusBackToMe(t,n)};y.prototype._handleEventUsingExternalKeysHandler=function(e){if(!this.bFocusOnShell&&!this.isFocusHandledByAnotherHandler){if(typeof this.fnExternalKeysHandler===\"function\"){this.fnExternalKeysHandler(e,this.bFocusPassedToExternalHandlerFirstTime);this.bFocusPassedToExternalHandlerFirstTime=false}}this.setIsFocusHandledByAnotherHandler(false)};y.prototype._cancelHelpEvent=function(e){e.preventDefault();document.removeEventListener(\"help\",this._cancelHelpEvent)};y.prototype._isFocusInInput=function(){const e=(document.activeElement||{}).tagName;return e===\"INPUT\"||e===\"TEXTAREA\"};y.prototype._isFocusInDialog=function(){let e=document.activeElement;for(;e!==document.body;e=e.parentNode){if(e.classList.contains(\"sapMDialog\")){return true}}return false};y.prototype._isFocusInATable=function(){let e=document.activeElement;let t;for(;e!==document.body;e=e.parentNode){t=e.classList;if(t.contains(\"sapUiCompSmartTable\")||t.contains(\"sapUiMdcTable\")||t.contains(\"sapMListTbl\")||t.contains(\"sapUiTable\")){return true}}return false};return new y});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/History\", [],()=>{\"use strict\";function t(){this._history=[];this._backwards=false;this._historyPosition=-1;this._virtual={};this.hashChange=function(t){const i=this._history.indexOf(t);if(i===-1){if(this._historyPosition+1i;this.forwards=this._historyPosition0){t=this._history.pop();this._historyPosition--}return t};this.isVirtualHashchange=function(t,i){return this._virtual.hasOwnProperty(i)&&this.getCurrentHash()===t&&this._history.length-1>this._historyPosition&&this._history[this._historyPosition+1]===i};this.setVirtualNavigation=function(t){this._virtual[t]=true};this.getCurrentHash=function(){return this._history[this._historyPosition]||null};this.getHashIndex=function(t){return this._history.indexOf(t)};this.getHistoryLength=function(){return this._history.length}}return new t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/LogonFrameProvider\", [\"sap/m/Button\",\"sap/m/Dialog\",\"sap/ui/core/Element\",\"sap/ui/core/HTML\",\"sap/ushell/ui/footerbar/ContactSupportButton\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,s,n,o,l,a,i)=>{\"use strict\";function r(e){const t=document.getElementById(\"sap-ui-blocklayer-popup\");if(t){if(e){t.classList.add(\"sapUshellSamlDialogHidden\")}else{t.classList.remove(\"sapUshellSamlDialogHidden\")}}}function c(){const e=s.getElementById(\"SAMLDialog\");if(e){e.destroy()}}function u(){c();const s=new t({id:\"SAMLDialog\",title:a.i18n.getText(\"samlDialogTitle\"),contentWidth:\"50%\",contentHeight:\"50%\",content:new n(\"SAMLDialogFrame\",{content:''}),endButton:new e({text:a.i18n.getText(\"samlCloseBtn\"),press:i.cancelLogon.bind(i)})}).addStyleClass(\"sapUshellIframeDialog sapContrastPlus sapUshellSamlDialogHidden\");if(l.last(\"/core/extension/SupportTicket\")){const e=new o;e.setWidth(\"150px\");e.setIcon(\"\");s.setBeginButton(e)}s.open();r(true);return document.getElementById(\"SAMLDialogFrame\")}function d(){const e=s.getElementById(\"SAMLDialog\");if(e){e.removeStyleClass(\"sapUshellSamlDialogHidden\");r(true)}}const p={create:u,show:d,destroy:c};return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/NavContainer\", [\"sap/base/Log\",\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/core/RenderManager\",\"sap/ui/Device\",\"sap/ushell/Container\",\"sap/ushell/renderer/NavContainerRenderer\",\"sap/ushell/utils\"],(e,t,r,s,n,o,i,a)=>{\"use strict\";const p=t.extend(\"sap.ushell.renderer.NavContainer\",{metadata:{library:\"sap.ushell\",properties:{visible:{type:\"boolean\",group:\"Appearance\",defaultValue:true},currentPageId:{type:\"string\",defaultValue:\"\",visibility:\"hidden\"}},aggregations:{pages:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"page\"}},events:{beforeNavigate:{parameters:{fromId:{type:\"string\"},from:{type:\"sap.ui.core.Control\"},toId:{type:\"string\"},to:{type:\"sap.ui.core.Control\"}}},afterNavigate:{parameters:{fromId:{type:\"string\"},from:{type:\"sap.ui.core.Control\"},toId:{type:\"string\"},to:{type:\"sap.ui.core.Control\"}}}}},renderer:i});p.prototype.addPage=function(e){if(this.getPages().indexOf(e)>-1){return this}this._setPageVisibility(e,false);this.addAggregation(\"pages\",e,true);const t=this.getDomRef();if(t){const r=(new s).getInterface();r.render(e,t);r.destroy()}return this};p.prototype.removePage=function(e){this.removeAggregation(\"pages\",e,true);const t=this.getProperty(\"currentPageId\");if(t===e){this.setProperty(\"currentPageId\",\"\",true)}return this};p.prototype.getPageById=function(e){return this.getPages().reduce((t,r)=>{if(r.getId()===e){return r}return t},null)};p.prototype._setPageVisibility=function(e,t){if(e.isA(\"sap.ushell.renderer.INavContainerPage\")){e.setVisibility(t);return}if(t){e.removeStyleClass(\"sapUShellNavContainerPageHidden\")}else{e.addStyleClass(\"sapUShellNavContainerPageHidden\")}};p.prototype.navTo=function(t){const r=this.getPageById(t);const s=this.getProperty(\"currentPageId\");const n=this.getPageById(s);if(!r){e.error(\"NavContainer: invalid navigation target\");return}this._storeFocus();this.fireBeforeNavigate({toId:t,to:r,fromId:s,from:n});this.getPages().forEach(e=>{this._setPageVisibility(e,e.getId()===t)});this.setProperty(\"currentPageId\",t,true);this._restoreFocus(r.getId());this.fireAfterNavigate({toId:t,to:r,fromId:s,from:n})};p.prototype._storeFocus=async function(){const e=o.getRendererInternal(\"fiori2\").byId(\"Shell-home-component-container\");const t=e&&e.getId();const s=this.getProperty(\"currentPageId\");const i=s&&t===s;const p=n.system.desktop&&i;if(!p){return}const[u]=await a.requireAsync([\"sap/ushell/renderer/AccessKeysHandler\"]);const c=r.closestTo(document.activeElement);this._sLastFocusId=c?c.getId():null;this._fnLastAppKeyHandler=u.getAppKeysHandler()};p.prototype._restoreFocus=async function(e){const t=o.getRendererInternal(\"fiori2\").byId(\"Shell-home-component-container\");const s=t&&t.getId();const i=s===e;const p=n.system.desktop&&i;if(!p){return}const[u]=await a.requireAsync([\"sap/ushell/renderer/AccessKeysHandler\"]);if(this._sLastFocusId){u.registerAppKeysHandler(this._fnLastAppKeyHandler);const e=r.getElementById(this._sLastFocusId);if(e){e.focus()}}};return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/NavContainerRenderer\", [\"sap/ushell/resources\"],e=>{\"use strict\";const r={apiVersion:2};r.render=function(r,t){if(!t.getVisible()){return}r.openStart(\"main\",t);r.attr(\"role\",\"main\");r.attr(\"aria-label\",e.i18n.getText(\"ShellContent.AriaLabel\"));r.openEnd();t.getPages().forEach(e=>{r.renderControl(e)});r.close(\"main\")};return r},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/Renderer\", [\"sap/ui/core/Component\",\"sap/ui/core/Element\",\"sap/ui/core/UIComponent\",\"sap/ushell/ui/shell/ToolAreaItem\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/utils\",\"sap/ushell/appIntegration/AppLifeCycle\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/components/SharedComponentUtils\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/resources\",\"sap/ui/thirdparty/hasher\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/extend\",\"sap/ui/base/Object\",\"sap/base/util/ObjectPath\",\"sap/ui/core/library\",\"sap/ushell/library\",\"sap/ui/core/mvc/View\",\"sap/ushell/ui/shell/ShellHeadItem\",\"sap/m/NotificationListItem\",\"sap/ushell/renderer/ShellLayout\",\"sap/ushell/renderer/utils\",\"sap/ushell/ui/launchpad/ActionItem\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\",\"sap/ushell/navigation/NavigationState\",\"sap/ushell/renderers/fiori2/RendererExtensions\"],function(e,t,n,o,r,i,s,a,l,p,c,u,d,h,f,jQuery,g,m,y,S,w,C,I,b,A,v,P,B,F,H,R,E,T){\"use strict\";const _=C.mvc.ViewType;const L=I.AppType;const V=R.LaunchpadState;const k=R.Operation;const M=R.ShellMode;const{Headerless:z,Merged:j,Blank:U,Lean:N}=M;const D=n.extend(\"sap.ushell.renderer.Renderer\",{metadata:{version:\"1.139.0\",dependencies:{version:\"1.139.0\",libs:[\"sap.ui.core\",\"sap.m\"],components:[]},interfaces:[\"sap.ui.core.IAsyncContentCreation\"],routing:{config:{async:true,controlId:\"viewPortContainer\",clearAggregation:false,controlAggregation:\"pages\"},routes:[{name:\"appfinder-legacy\",pattern:\"Shell-home&/appFinder/:menu:/:filter:\"},{name:\"home\",pattern:[\"Shell-home?:hashParameters:\",\"Shell-home&/:innerHash*:\",\"Shell-home\"],target:function(){if(r.last(\"/core/homeApp/enabled\")){return\"homeapp\"}if(r.last(\"/core/workPages/enabled\")&&!r.last(\"/core/workPages/runtimeSwitcher\")){return\"workpages\"}if(r.last(\"/core/workPages/enabled\")&&r.last(\"/core/workPages/runtimeSwitcher\")){return\"runtimeSwitcher\"}if(r.last(\"/core/spaces/enabled\")){return\"pages\"}return\"home\"}()},{name:\"appfinder\",pattern:[\"Shell-appfinder?:hashParameters:&/:innerHash*:\",\"Shell-appfinder?:hashParameters*:\",\"Shell-appfinder&/:innerHash*:\",\"Shell-appfinder\"],target:function(){if(r.last(\"/core/site/siteId\")&&r.last(\"/core/catalog/enabled\")&&r.last(\"/core/workPages/contentFinderStandalone\")&&r.last(\"/core/workPages/enabled\")){return\"contentfinder\"}return r.last(\"/core/catalog/enabled\")?\"appfinder\":undefined}()},{name:\"openFLPPage\",pattern:[\"Launchpad-openFLPPage?:hashParameters:\",\"Launchpad-openFLPPage\"],target:function(){if(r.last(\"/core/workPages/enabled\")&&!r.last(\"/core/workPages/runtimeSwitcher\")){return\"workpages\"}if(r.last(\"/core/workPages/enabled\")&&r.last(\"/core/workPages/runtimeSwitcher\")){return\"runtimeSwitcher\"}if(r.last(\"/core/spaces/enabled\")){return\"pages\"}return\"home\"}()},{name:\"openWorkPage\",pattern:[\"Launchpad-openWorkPage?:hashParameters:\",\"Launchpad-openWorkPage\"],target:\"workpages\"},{name:\"wzsearch\",pattern:[\"WorkZoneSearchResult-display:?query:\"],target:\"wzsearch\"}],targets:{home:{name:\"sap.ushell.components.homepage\",type:\"Component\",id:\"Shell-home-component\",options:{manifest:false,asyncHints:{preloadBundles:r.last(\"/core/home/featuredGroup/enable\")?[\"sap/ushell/preload-bundles/homepage-af-dep.js\",\"sap/ushell/components/homepage/cards-preload.js\"]:[\"sap/ushell/preload-bundles/homepage-af-dep.js\"]},componentData:{config:{enablePersonalization:true,enableHomePageSettings:false}}}},appfinder:{name:\"sap.ushell.components.appfinder\",type:\"Component\",id:\"Shell-appfinder-component\",options:{manifest:false,asyncHints:{preloadBundles:[\"sap/ushell/preload-bundles/homepage-af-dep.js\"]},componentData:{config:{enablePersonalization:true,enableHomePageSettings:false}}}},contentfinder:{name:\"sap.ushell.components.contentFinderStandalone\",type:\"Component\",id:\"Shell-appfinder-component\",options:{manifest:true,asyncHints:{preloadBundles:[]},componentData:{}}},pages:{name:\"sap.ushell.components.pages\",type:\"Component\",id:\"pages-component\",options:{componentData:{},asyncHints:{preloadBundles:[\"sap/ushell/preload-bundles/homepage-af-dep.js\"]}}},workpages:{name:r.last(\"/core/workPages/defaultComponent/name\"),type:\"Component\",id:\"workPageRuntime-component\",options:r.last(\"/core/workPages/defaultComponent\")},runtimeSwitcher:{name:\"sap.ushell.components.runtimeSwitcher\",type:\"Component\",id:\"runtimeSwitcher-component\",options:{componentData:{}}},wzsearch:{name:\"sap.ushell.components.cepsearchresult.app\",type:\"Component\",id:\"cepsearchresult-app-component\",options:{manifest:true,componentData:{config:{enablePersonalization:true,enableHomePageSettings:false}}}}}}},init:function(){n.prototype.init.apply(this,arguments);const t=this.getRouter();[\"appfinder-legacy\",\"home\",\"appfinder\",\"openFLPPage\",\"openWorkPage\",\"wzsearch\"].forEach(e=>{t.getRoute(e).attachBeforeMatched(()=>{s.emit(\"trackHashChange\",f.getHash());E.endNavigation()})});if(r.last(\"/core/homeApp/enabled\")){this._getHomeAppTarget().then(e=>{t.getTargets().addTarget(\"homeapp\",e);t.getTarget(\"homeapp\").attachEventOnce(\"display\",()=>{s.emit(\"CoreResourcesComplementLoaded\",{status:\"success\"})})})}t.getRoute(\"home\").attachMatched(this._prepareHomepage,this);t.getRoute(\"openFLPPage\").attachMatched(this._prepareHomepage,this);t.getRoute(\"openWorkPage\").attachMatched(this._prepareHomepage,this);t.getRoute(\"appfinder-legacy\").attachMatched(e=>{t.navTo(\"appfinder\",{},true)});t.getRoute(\"appfinder\").attachMatched(async function(n){if(!r.last(\"/core/catalog/enabled\")){g.warning(\"AppFinder is disabled. Re-route to the homepage.\");t.navTo(\"home\",null,true);return}const o=e.getComponentById(this.createId(\"Shell-appfinder-component\"));const s=n.getParameter(\"arguments\");if(i.getRendererInternal(\"fiori2\")){l.getShellUIService().setBackNavigation();i.getRendererInternal(\"fiori2\").setCurrentCoreView(\"appFinder\")}d.setCurrentApplication(null);const a=o.getRouter();o.getRootControl().loaded().then(()=>{a.parse(s[\"innerHash*\"]||\"\")});l.switchViewState(V.App,false,\"Shell-appfinder\");u.initializeAccessKeys()},this);t.getRoute(\"wzsearch\").attachMatched(e=>{l.getShellUIService().setBackNavigation();l.switchViewState(V.App,false,\"cepsearchresult-app\")});const o=new c(p);o.setDefaultBindingMode(\"OneWay\");this.setModel(o,\"device\");this.setModel(h.i18nModel,\"i18n\")}});D.prototype._prepareHomepage=function(e){if(d.getCurrentApplication()){i.getServiceAsync(\"ShellNavigationInternal\").then(e=>{e.setIsInitialNavigation(false)})}const t=f.getHash();if(!r.last(\"/core/spaces/enabled\")&&t.indexOf(\"Launchpad-openFLPPage\")===0){i.getServiceAsync(\"ShellNavigationInternal\").then(e=>{e.replaceHashWithoutNavigation(\"Shell-home\")})}const n=r.last(\"/core/shell/homePageTitle\");const o=h.getTranslationFromJSON(n)||h.i18n.getText(\"homeBtn_tooltip\");const s=this.getShellConfig().rootIntent;const p=!s||a.isFlpHomeIntent(s);l.switchViewState(p?V.Home:V.App,false,\"Shell-home\");this.setCurrentCoreView(\"home\");d.setCurrentApplication(null);l.getShellUIService().setTitle(o);l.getShellUIService().setHierarchy();l.getShellUIService().setRelatedApps();u.initializeAccessKeys()};D.prototype._getHomeAppTarget=function(){return i.getServiceAsync(\"Ui5ComponentLoader\").then(e=>{const t=r.last(\"/core/homeApp/component\");const n=e.getCoreResourcesComplementBundle();if(t.url){return{name:\"rendererTargetWrapper\",type:\"Component\",id:\"homeApp-component-wrapper\",path:\"sap/ushell/renderer\",options:{componentData:{componentId:\"homeApp-component\",name:t.name,url:t.url},asyncHints:Object.assign({},t.asyncHints||{},{preloadBundles:n})}}}return{name:\"error\",type:\"Component\",id:\"homeApp-component\",path:\"sap/ushell/components/homeApp\",options:{componentData:{},asyncHints:{preloadBundles:n}}}})};D.prototype.createContent=function(){const e=this.getComponentData()||{};const t={applications:{\"Shell-home\":{}},rootIntent:\"Shell-home\"};const n=R.getShellMode();if(e.config){if(e.config.rootIntent===undefined){e.config.migrationConfig=true}e.config=m(t,e.config);y(e.config.applications[\"Shell-home\"],r.last(\"/core/home\"),r.last(\"/core/catalog\"));if([z,j,U].includes(n)){e.config.enablePersonalization=false;r.emit(\"/core/shell/enablePersonalization\",false)}else{e.config.enablePersonalization=r.last(\"/core/shell/enablePersonalization\")}if([N].includes(n)){e.config.showRecentActivity=false}else if(e.config.showRecentActivity===undefined){e.config.showRecentActivity=r.last(\"/core/shell/model/showRecentActivity\")}r.emit(\"/core/shell/model/showRecentActivity\",e.config.showRecentActivity);if(!e.config.enablePersonalization){e.config.moveEditHomePageActionToShellHeader=false;if(!e.config.enableAppFinder){e.config.moveAppFinderActionToShellHeader=false}}}if(!this.getComponentData().async){let t;g.error(\"sap/ushell/renderer/Renderer component is created synchronously. Synchronous instantiation is not allowed. Please use async:true in component data\");(function(){t=this._createSyncContent(e)}).bind(this)();return t}return b.create({id:\"mainShell\",viewName:\"module:sap/ushell/renderer/Shell.view\",height:\"100%\",viewData:e}).then(e=>{e.addStyleClass(\"sapUshellRenderer\");this._oShellView=e;this.shellCtrl=e.getController();B.init(e.getController());return e})};D.prototype._createSyncContent=function(e){const t=sap.ui.view(\"mainShell\",{type:_.JS,viewName:\"sap.ushell.renderers.fiori2.Shell\",height:\"100%\",viewData:e});t.addStyleClass(\"sapUshellRenderer\");this._oShellView=t;t.loaded().then(e=>{this.shellCtrl=e.oController;B.init(e.getController())});return t};D.prototype.createExtendedShellState=function(e,t){g.error(\"The function createExtendedShellState was deprecated discontinued.\")};D.prototype.applyExtendedShellState=function(e,t){g.error(\"The function applyExtendedShellState was discontinued.\")};D.prototype.showLeftPaneContent=function(e,t,n){this._updateItemStates(e,t,n,\"sidePane.items\",k.Add)};D.prototype.showHeaderItem=function(e,t,n){const o=Array.isArray(e)?e:[e];const r=this._sanitizeStates(n);o.forEach(e=>{R.updateManagedControl(e,!t);if(t){R.updateCurrentState(\"header.headItems\",k.Add,e);return}R.updateBaseStates(r,\"header.headItems\",k.Add,e)})};D.prototype.showRightFloatingContainerItem=function(e,t,n){this._updateItemStates(e,t,n,\"rightFloatingContainer.items\",k.Add)};D.prototype.showRightFloatingContainer=function(e){R.updateCurrentState(\"rightFloatingContainer.visible\",k.Set,e)};D.prototype.showToolAreaItem=function(e,t,n){this._updateItemStates(e,t,n,\"toolArea.items\",k.Add)};D.prototype.showActionButton=function(e,n,o){const r=Array.isArray(e)?e:[e];const{buttons:i,actions:s}=r.reduce((e,n)=>{const o=t.getElementById(n);const r=S.isObjectA(o,\"sap.m.Button\")&&!S.isObjectA(o,\"sap.ushell.ui.launchpad.ActionItem\");if(r){e.buttons.push(n)}else{e.actions.push(n)}return e},{buttons:[],actions:[]});if(i.length){this.convertButtonsToActions(i,n,o)}this._updateItemStates(s,n,o,\"userActions.items\",k.Add)};D.prototype.showFloatingActionButton=function(e,t,n){this._updateItemStates(e,t,n,\"floatingActions.items\",k.Add)};D.prototype.showHeaderEndItem=function(e,t,n){this._updateItemStates(e,t,n,\"header.headEndItems\",k.Add)};D.prototype._sanitizeStates=function(e){const t=Array.isArray(e)?e:[];const n=t.filter(e=>e!==undefined&&e!==null).filter(e=>{const t=Object.values(this.LaunchpadState).includes(e);if(!t){throw new Error(`Invalid launchpad state: ${e}`)}return t});if(n.length===0){return Object.values(this.LaunchpadState)}return n};D.prototype._updateItemStates=function(e,t,n,o,r){const i=Array.isArray(e)?e:[e];const s=this._sanitizeStates(n);i.forEach(e=>{R.updateManagedControl(e,!t);if(t){R.updateCurrentState(o,r,e);return}R.updateBaseStates(s,o,r,e)})};D.prototype.setHeaderVisibility=function(e,t,n){const o=this._sanitizeStates(n);if(t){R.updateCurrentState(\"header.visible\",k.Set,e);return}R.updateBaseStates(o,\"header.visible\",k.Set,e)};D.prototype.showSubHeader=function(e,t,n){this._updateItemStates(e,t,n,\"subHeader.items\",k.Add)};D.prototype.showSignOutItem=function(e,t){this.showActionButton([\"logoutBtn\"],e,t)};D.prototype.showSettingsItem=function(e,t){this.showActionButton([\"userSettingsBtn\"],e,t)};D.prototype.setFooter=function(e){this.shellCtrl.setFooter(e)};D.prototype.setNavigationBar=function(e){this.shellCtrl.setNavigationBar(e)};D.prototype.setSideNavigation=function(e){this.shellCtrl.setSideNavigation(e)};D.prototype.setShellShapes=function(e){this.shellCtrl.setShellShapes(e)};D.prototype.setShellFooter=function(e){const n=new jQuery.Deferred;const o=this;let r;const i=e.controlType;const s=e.oControlProperties;if(!i){g.warning(\"You must specify control type in order to create it\");n.reject(\"You must specify control type in order to create it\");return n.promise()}if(!s){g.warning(\"You must specify control properties in order to create it\");n.reject(\"You must specify control properties in order to create it\");return n.promise()}const a=i.replace(/\\./g,\"/\");sap.ui.require([a],e=>{r=t.getElementById(s.id);if(!r){r=new e(s)}if(o.lastFooterId){o.removeFooter()}o.lastFooterId=r.getId();o.shellCtrl.setFooter(r);n.resolve(r)});return n.promise()};D.prototype.setFooterControl=function(e,t){const n=e.replace(/\\./g,\"/\");const o=sap.ui.require(n);let r=false;if(o){r=true}else if(!w.get(e||\"\")){g.error(`Renderer.setFooterControl: the referenced control resource ${e} is not available.`,undefined,\"sap.ushell.renderer.Renderer\");return undefined}const i=this.createItem(t,undefined,t=>{if(e){if(r){return new o(t)}const n=w.get(e||\"\");return new n(t)}g.warning(\"You must specify control type in order to create it\");return undefined});if(this.lastFooterId){this.removeFooter()}this.lastFooterId=i.getId();this.shellCtrl.setFooter(i);return i};D.prototype.hideHeaderItem=function(e,t,n){this._updateItemStates(e,t,n,\"header.headItems\",k.Remove)};D.prototype.removeToolAreaItem=function(e,t,n){this._updateItemStates(e,t,n,\"toolArea.items\",k.Remove)};D.prototype.removeRightFloatingContainerItem=function(e,t,n){this._updateItemStates(e,t,n,\"rightFloatingContainer.items\",k.Remove)};D.prototype.hideActionButton=function(e,t,n){this._updateItemStates(e,t,n,\"userActions.items\",k.Remove)};D.prototype.hideLeftPaneContent=function(e,t,n){this._updateItemStates(e,t,n,\"sidePane.items\",k.Remove)};D.prototype.hideFloatingActionButton=function(e,t,n){this._updateItemStates(e,t,n,\"floatingActions.items\",k.Remove)};D.prototype.hideHeaderEndItem=function(e,t,n){this._updateItemStates(e,t,n,\"header.headEndItems\",k.Remove)};D.prototype.hideSubHeader=function(e,t,n){this._updateItemStates(e,t,n,\"subHeader.items\",k.Remove)};D.prototype.removeFooterById=function(e){if(e===this.shellCtrl.getFooterId()){this.shellCtrl.removeFooter()}const n=t.getElementById(e);if(n){n.destroy()}};D.prototype.removeFooter=function(){this.shellCtrl.removeFooter();if(this.lastFooterId){const e=t.getElementById(this.lastFooterId);if(e){e.destroy()}this.lastFooterId=undefined}};D.prototype.addShellSubHeader=function(e){const n=new jQuery.Deferred;const o=this;let r;const i=e.controlType;const s=e.oControlProperties;const a=e.bIsVisible;const l=e.bCurrentState;const p=e.aStates;if(!i){g.warning(\"You must specify control type in order to create it\");n.reject(\"You must specify control type in order to create it\");return n.promise()}if(!s){g.warning(\"You must specify control properties in order to create it\");n.reject(\"You must specify control properties in order to create it\");return n.promise()}const c=i.replace(/\\./g,\"/\");sap.ui.require([c],e=>{r=t.getElementById(s.id);if(!r){r=new e(s);R.addManagedControl(r.getId(),!l)}if(a){o.showSubHeader(r.getId(),l,p)}n.resolve(r)});return n.promise()};D.prototype.addSubHeader=function(e,t,n,o,r){const i=this._sanitizeStates(r);const s=e.replace(/\\./g,\"/\");const a=sap.ui.require(s);let l=false;if(a){l=true}else if(!w.get(e||\"\")){g.error(`Renderer.setFooterControl: the referenced control resource ${e} is not available.`,undefined,\"sap.ushell.renderer.Renderer\");return undefined}const p=this.createItem(t,o,t=>{if(e){if(l){return new a(t)}const n=w.get(e||\"\");return new n(t)}g.warning(\"You must specify control type in order to create it\");return undefined});if(n){this.showSubHeader(p.getId(),o,i)}return p};D.prototype.addUserAction=function(e){const n=new jQuery.Deferred;const o=this;let{controlType:r}=e;const{oControlProperties:i,bIsVisible:s,bCurrentState:a,aStates:l}=e;if(!r){if(t.getElementById(i?.id)){r=\"sap.ushell.ui.launchpad.ActionItem\"}else{const e=\"You must specify control type in order to create it\";g.warning(e);n.reject(e);return n.promise()}}if(!i){const e=\"You must specify control properties in order to create it\";g.warning(e);n.reject(e);return n.promise()}const p=r===\"sap.m.Button\"?\"sap.ushell.ui.launchpad.ActionItem\":r;const c=p.replace(/\\./g,\"/\");sap.ui.require([c],e=>{let r=t.getElementById(i.id);if(!r){r=new e(i);R.addManagedControl(r.getId(),!a)}if(s){o.showActionButton(r.getId(),a,l)}n.resolve(r)},()=>{const e=`The control type ${p} is not available.`;g.error(e);n.reject(e)});return n.promise()};D.prototype.addActionButton=function(e,t,n,o,r){const i=this._sanitizeStates(r);let s=false;if(e===\"sap.m.Button\"){e=\"sap.ushell.ui.launchpad.ActionItem\"}const a=e.replace(/\\./g,\"/\");const l=sap.ui.require(a);if(l){s=true}else if(!w.get(e||\"\")){g.error(`Renderer.setFooterControl: the referenced control resource ${e} is not available.`,undefined,\"sap.ushell.renderer.Renderer\");return undefined}const p=this.createItem(t,o,t=>{if(e){if(s){return new l(t)}const n=w.get(e||\"\");return new n(t)}g.warning(\"You must specify control type in order to create it\");return undefined});if(n){this.showActionButton(p.getId(),o,i)}return p};D.prototype.addFloatingButton=function(e){const n=new jQuery.Deferred;const o=this;let r;const i=e.controlType||\"sap.m.Button\";const s=e.oControlProperties;const a=e.bIsVisible;const l=e.bCurrentState;const p=e.aStates;if(!s){g.warning(\"You must specify control properties in order to create it\");n.reject(\"You must specify control properties in order to create it\");return n.promise()}const c=i.replace(/\\./g,\"/\");sap.ui.require([c],e=>{r=t.getElementById(s.id);if(!r){r=new e(s);R.addManagedControl(r.getId(),!l)}if(a){o.showFloatingActionButton(r.getId(),l,p)}n.resolve(r)});return n.promise()};D.prototype.addFloatingActionButton=function(e,t,n,o,r){const i=this._sanitizeStates(r);let s=false;if(!e){e=\"sap.m.Button\"}const a=e.replace(/\\./g,\"/\");const l=sap.ui.require(a);if(l){s=true}else if(!w.get(e||\"\")){g.error(`Renderer.setFooterControl: the referenced control resource ${e} is not available.`,undefined,\"sap.ushell.renderer.Renderer\");return undefined}const p=this.createItem(t,o,t=>{if(e){if(s){return new l(t)}const n=w.get(e||\"\");return new n(t)}g.warning(\"You must specify control type in order to create it\");return undefined});if(n){this.showFloatingActionButton(p.getId(),o,i)}return p};D.prototype.addSidePaneContent=function(e){const n=new jQuery.Deferred;const o=this;let r;const i=e.controlType;const s=e.oControlProperties;const a=e.bIsVisible;const l=e.bCurrentState;const p=e.aStates;if(!i){g.warning(\"You must specify control type in order to create it\");n.reject(\"You must specify control type in order to create it\");return n.promise()}if(!s){g.warning(\"You must specify control properties in order to create it\");n.reject(\"You must specify control properties in order to create it\");return n.promise()}const c=i.replace(/\\./g,\"/\");sap.ui.require([c],e=>{r=t.getElementById(s.id);if(!r){r=new e(s);R.addManagedControl(r.getId(),!l)}if(a){o.showLeftPaneContent(r.getId(),l,p)}n.resolve(r)});return n.promise()};D.prototype.addLeftPaneContent=function(e,t,n,o,r){const i=this._sanitizeStates(r);const s=e.replace(/\\./g,\"/\");const a=sap.ui.require(s);let l;if(a){l=true}else if(!w.get(e||\"\")){g.error(`Renderer.setFooterControl: the referenced control resource ${e} is not available.`,undefined,\"sap.ushell.renderer.Renderer\");return undefined}const p=this.createItem(t,o,t=>{if(e){if(l){return new a(t)}const n=w.get(e||\"\");return new n(t)}g.warning(\"You must specify control type in order to create it\");return undefined});if(n){this.showLeftPaneContent(p.getId(),o,i)}return p};D.prototype.addHeaderItem=function(e,t,n,o,i){if(typeof arguments[0]===\"object\"&&typeof arguments[1]===\"boolean\"){t=arguments[0];n=arguments[1];o=arguments[2];i=arguments[3]}else{g.error(\"sap.ushell.renderer.Renderer: The parameter 'controlType' of the function 'addHeaderItem' is deprecated. Usage will be ignored!\")}const s=this._sanitizeStates(i);const a=this.createItem(t,o,e=>{if(r.last(\"/core/shellBar/enabled\")){const t=sap.ui.require(\"sap/ushell/gen/ui5/webcomponents/dist/Button\");e={...e,click:e.press};delete e.press;if(e.ariaHaspopup){e.accessibilityAttributes={...e.accessibilityAttributes||{},hasPopup:e.ariaHaspopup};delete e.ariaHaspopup}return new t(e)}return new A(e)});if(n){this.showHeaderItem(a.getId(),o,s)}return a};D.prototype.addRightFloatingContainerItem=function(e,t,n,o){const r=this._sanitizeStates(o);const i=this.createItem(e,n,e=>new v(e).addStyleClass(\"sapUshellNotificationsListItem\"));if(t){this.showRightFloatingContainerItem(i.getId(),n,r)}return i};D.prototype.addToolAreaItem=function(e,t,n,r){const i=this._sanitizeStates(r);if(t!==null){e.visible=!!t}function s(e){return new o(e)}const a=this.createItem(e,n,s);if(t){this.showToolAreaItem([a.getId()],n,i);if(n){const e=R.getLaunchpadState();this.showToolArea(e,true)}else{i.forEach(e=>{this.showToolArea(e,true)})}}return a};D.prototype.addHeaderEndItem=function(e,t,n,o,i){if(typeof arguments[0]===\"object\"&&typeof arguments[1]===\"boolean\"){t=arguments[0];n=arguments[1];o=arguments[2];i=arguments[3]}const s=this._sanitizeStates(i);const a=this.createItem(t,o,e=>{if(r.last(\"/core/shellBar/enabled\")){if(typeof e.press===\"function\"){e={...e,click:e.press}}delete e.press;delete e.ariaLabel;const t=sap.ui.require(\"sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem\");return new t(e)}return new A(e)});if(n){this.showHeaderEndItem(a.getId(),o,s)}return a};D.prototype.getModelConfiguration=function(){return this.shellCtrl.getModelConfiguration()};D.prototype.addEndUserFeedbackCustomUI=function(e,t){if(e||t){g.info(\"Application calls sap.ushell.Renderer.addEndUserFeedbackCustomUI. This function is deprecated. The call has no effect.\")}};D.prototype.addUserPreferencesEntry=function(e){this.shellCtrl.addUserPreferencesEntry(e)};D.prototype.addUserPreferencesGroupedEntry=function(e){return this.shellCtrl.addUserPreferencesEntry(e,true)};D.prototype.setHeaderTitle=function(e){this.shellCtrl.setHeaderTitle(e)};D.prototype.setLeftPaneVisibility=function(e,t){if(!e){e=this.LaunchpadState.Home}R.updateBaseStates([e],\"sidePane.visible\",k.Set,t)};D.prototype.showToolArea=function(e,t){if(!e){e=this.LaunchpadState.Home}R.updateBaseStates([e],\"toolArea.visible\",k.Set,t)};D.prototype.setHeaderHiding=function(e){g.error(\"sap.ushell.Renderer.setHeaderHiding: Functionality was discontinued.\")};D.prototype.setFloatingContainerContent=function(e,t,n){this._updateItemStates([e.getId()],t,n,\"floatingContainer.items\",k.Add)};D.prototype.setFloatingContainerVisibility=function(e){R.updateAllBaseStates(\"floatingContainer.visible\",k.Set,e)};D.prototype.getFloatingContainerState=function(){return H.getModel().getProperty(\"/floatingContainer/state\")};D.prototype.getFloatingContainerVisiblity=function(){return H.getModel().getProperty(\"/floatingContainer/visible\")};D.prototype.getRightFloatingContainerVisibility=function(){return this.shellCtrl.getRightFloatingContainerVisibility()};D.prototype.setFloatingContainerDragSelector=function(e){R.updateAllBaseStates(\"floatingContainer.dragSelector\",k.Set,e)};D.prototype.LaunchpadState={App:\"app\",Home:\"home\"};D.prototype.createTriggers=function(e,t,n){g.error(\"'createTriggers' was discontinued.\")};D.prototype.convertButtonsToActions=function(e,n,o){const r=this._sanitizeStates(o);const i={};const s=this;e.forEach(e=>{const o=t.getElementById(e);i.id=o.getId();i.text=o.getText();i.icon=o.getIcon();i.tooltip=o.getTooltip();i.enabled=o.getEnabled();i.visible=o.getVisible();if(o.mEventRegistry&&o.mEventRegistry.press){i.press=o.mEventRegistry.press[0].fFunction}o.destroy();s.addActionButton(\"sap.ushell.ui.launchpad.ActionItem\",i,i.visible,n,r)})};D.prototype.createItem=function(e,n,o){let r;if(e&&e.id){r=t.getElementById(e.id)}if(!r){r=o(e);R.addManagedControl(r.getId(),!n)}return r};D.prototype.addEntryInShellStates=function(){g.error(\"'addEntryInShellStates' was deprecated and discontinued.\")};D.prototype.removeCustomItems=function(){g.error(\"'removeCustomItems' was deprecated and discontinued.\")};D.prototype.addCustomItems=function(){g.error(\"'addCustomItems' was deprecated and discontinued.\")};D.prototype.addRightViewPort=function(){};D.prototype.addLeftViewPort=function(){};D.prototype.getShellController=function(){return this.shellCtrl};D.prototype.getViewPortContainerCurrentState=function(){return\"Center\"};D.prototype.ViewPortContainerNavTo=function(e,t,n){this.shellCtrl.getNavContainer().navTo(t)};D.prototype.switchViewPortStateByControl=function(){};D.prototype.ViewPortContainerAttachAfterSwitchStateAnimationFinished=function(){};D.prototype.setUserActionsMenuSelected=function(e){this.shellCtrl.setUserActionsMenuSelected(e)};D.prototype.setNotificationsSelected=function(e){this.shellCtrl.setNotificationsSelected(e)};D.prototype.addShellDanglingControl=function(e){this.shellCtrl.getView().addDanglingControl(e)};D.prototype.getShellConfig=function(){return this.shellCtrl.getView().getViewData()?this.shellCtrl.getView().getViewData().config||{}:{}};D.prototype.getEndUserFeedbackConfiguration=function(){return{}};D.prototype.reorderUserPrefEntries=function(e){return this.shellCtrl._reorderUserPrefEntries(e)};D.prototype.logRecentActivity=function(e){if(!e.appType){e.appType=L.APP}if(!e.appId){e.appId=e.url}return this.shellCtrl._logRecentActivity(e)};D.prototype.setCurrentCoreView=function(e){this.currentCoreView=e};D.prototype.getCurrentCoreView=function(){return this.currentCoreView};D.prototype._isBuiltInIntent=function(e){if(!D._aBuiltInRoutes){const e=this.getManifestEntry(\"/sap.ui5/routing/routes\");D._aBuiltInRoutes=e.reduce((e,t)=>e.concat(t.pattern),[])}if(!e||!e.semanticObject||!e.action){return false}const t=`${e.semanticObject}-${e.action}`;return D._aBuiltInRoutes.indexOf(t)!==-1};this.addTopHeaderPlaceHolder=function(){};this.removeTopHeaderPlaceHolder=function(){};D.prototype.updateHeaderItem=function(e,n){const o=t.getElementById(e);if(o&&n){if(n.hasOwnProperty(\"floatingNumber\")){o.setFloatingNumber(n.floatingNumber)}}};D.prototype.destroyButton=function(e){if(!e){return}const n=Array.isArray(e)?e:[e];n.forEach(e=>{const n=t.getElementById(e);if(n){n.destroy()}})};D.prototype.waitForShellLayout=function(){return this.shellCtrl.getView().waitForShellLayout()};D.prototype.destroy=function(){const e=this.shellCtrl?this.shellCtrl.awaitPendingInitializations():Promise.resolve();return e.then(function(){return n.prototype.destroy.apply(this,arguments)}.bind(this)).then(()=>{P.destroyLayout()})};setTimeout(()=>{sap.ui.require([\"sap/ushell/renderers/fiori2/Renderer\"],()=>{})},0);return D});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/RendererAppContainer\", [\"sap/base/Log\",\"sap/ui/core/Control\",\"sap/ui/core/Component\",\"sap/ui/core/ComponentContainer\",\"sap/ui/core/library\"],(e,t,i,n,o)=>{\"use strict\";const r=o.ComponentLifecycle;const s=t.extend(\"sap.ushell.renderer.RendererAppContainer\",{metadata:{properties:{childId:{type:\"string\",defaultValue:\"\"},name:{type:\"string\",defaultValue:\"\"},url:{type:\"string\",defaultValue:\"\"}},aggregations:{child:{multiple:false,type:\"sap.ui.core.ComponentContainer\",visibility:\"hidden\"}},events:{childDestroyed:{}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t);e.style(\"width\",\"100%\");e.style(\"height\",\"100%\");e.openEnd();const i=t.getAggregation(\"child\");if(i){e.renderControl(i)}e.close(\"div\")}}});s.prototype.setName=function(e){this.setProperty(\"name\",e);if(this._hasValidConfig()){this.loadChild()}return this};s.prototype.setUrl=function(e){this.setProperty(\"url\",e);if(this._hasValidConfig()){this.loadChild()}return this};s.prototype.setChildId=function(e){this.setProperty(\"childId\",e);if(this._hasValidConfig()){this.loadChild()}return this};s.prototype._hasValidConfig=function(){return!!this.getUrl()&&!!this.getName()&&!!this.getChildId()};s.prototype.loadChild=function(){if(!this._hasValidConfig()){return Promise.reject(\"The RenderAppContainer does not yet have all of the required properties set, and thus can not be loaded.\")}if(this._getChild()){return Promise.reject(\"The RenderAppContainer already has a Component loaded. A Component is not allowed to be loaded twice!\")}if(!this._oComponentPromise){this._oComponentPromise=i.create({id:this.getChildId(),name:this.getName(),url:this.getUrl(),componentData:{}}).then(e=>{this._oComponentPromise=null;function t(){return new n({component:e,height:\"100%\",lifecycle:r.Container,width:\"100%\"})}let o;const s=i.getOwnerComponentFor(this);if(s){o=s.runAsOwner(t)}else{o=t()}e.setParent(o);this.setAggregation(\"child\",o);return o}).catch(()=>{const t=`The RenderAppContainer could not load the configured Component: ${this.getName()}`;e.error(t);return t})}return this._oComponentPromise};s.prototype._getChild=function(){return this.getAggregation(\"child\")};s.prototype.getChild=async function(){return this._getChild()||this.loadChild()};s.prototype.destroyChild=function(){this.destroyAggregation(\"child\");this.fireChildDestroyed();return this};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/Shell.controller\", [\"sap/ushell/renderer/History\",\"sap/base/Log\",\"sap/base/util/extend\",\"sap/m/InstanceManager\",\"sap/ui/core/Component\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ui/core/library\",\"sap/ui/core/mvc/Controller\",\"sap/ui/core/routing/HashChanger\",\"sap/ui/core/routing/History\",\"sap/ui/Device\",\"sap/ui/performance/trace/Interaction\",\"sap/ui/thirdparty/hasher\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/appIntegration/AppLifeCycle\",\"sap/ushell/appIntegration/PostMessageManager\",\"sap/ushell/ApplicationType/UrlPostProcessing\",\"sap/ushell/bootstrap/SchedulingAgent\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/library\",\"sap/ushell/performance/FesrEnhancer\",\"sap/ushell/renderer/LogonFrameProvider\",\"sap/ushell/resources\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/renderer/ShellLayout\",\"sap/ushell/Container\",\"sap/ushell/state/modules/BackNavigation\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\",\"sap/ushell/renderers/fiori2/LogonFrameProvider\",\"sap/ushell/renderers/fiori2/History\",\"sap/ushell/ui5service/ShellUIServiceFactory\",\"sap/ushell/navigation/NavigationState\"],(e,t,n,i,a,o,s,r,l,c,h,g,d,p,jQuery,u,f,y,m,v,w,b,S,C,_,I,A,H,N,E,T,P,M,F,D,R,L,x)=>{\"use strict\";const B=E.ShellArea;const U=r.routing.HistoryDirection;const k=b.AppType;const O=F.LaunchpadState;const W=F.Operation;const $=F.ShellMode;const{Standalone:V,Embedded:z,Minimal:j}=$;let q=true;let K=false;const G={embedded:0,newWindowThenEmbedded:1,newWindow:1,replace:0};const Q={embedded:\"embedded\",newWindowThenEmbedded:\"newWindowThenEmbedded\",newWindow:\"newWindow\",replace:\"replace\"};let X={};S.init();const Y=\"Shell.controller\";const J=\"[FesrFlp]\";return l.extend(\"sap.ushell.renderer.Shell\",{_aDoables:[],addDoable:function(e){this._aDoables.push(e)},_aDanglingControls:[],addDanglingControl:function(e){this._aDanglingControls.push(e)},_aDanglingBindings:[],addDanglingBinding:function(e){this._aDanglingBindings.push(e)},removeDanglingBinding:function(e){const t=this._aDanglingBindings.findIndex(t=>t===e);if(t>-1){this._aDanglingBindings.splice(t,1)}},_aPendingInitializations:[],addPendingInitialization:function(e){this._aPendingInitializations.push(e);return e},awaitPendingInitializations:function(){const e=this._aPendingInitializations.length;return Promise.allSettled(this._aPendingInitializations).then(()=>{const t=this._aPendingInitializations.length;if(e{const n=e[0];this._oAppLifeCycleService=e[1];this._oAppLifeCycleService.init(this.oNavContainer);this._initShellNavigationInternal(n,this._oAppLifeCycleService,t)});T.setLogonFrameProvider(this._getLogonFrameProvider());if(g.system.desktop){sap.ui.require([\"sap/ushell/renderer/AccessKeysHandler\"],e=>{e.init()})}window.onbeforeunload=function(){if(T&&T.getDirtyFlag()&&!(g.browser.name===g.browser.BROWSER.INTERNET_EXPLORER&&u.getCurrentApplication().container.getApplicationType()===\"NWBC\")){return _.i18n.getText(\"dataLossExternalMessage\")}return};if(X.enableOnlineStatus){sap.ui.require([\"sap/ushell/ui5service/UserStatus\"],e=>{this.oUserStatus=new e({scopeObject:this.getOwnerComponent(),scopeType:\"component\"})})}if(!l.disableSignOut&&(l.sessionTimeoutTileStopRefreshIntervalInMinutes>0||l.sessionTimeoutReminderInMinutes>0)){this._createSessionHandler(l)}if(g.system.desktop){sap.ui.require([\"sap/ushell/renderer/AccessKeysHandler\"],e=>{n.waitForShellLayout().then(()=>{const t=document.getElementById(B.NavigationBar);t.addEventListener(\"focusin\",()=>{e.bFocusOnShell=false;e.bFocusPassedToExternalHandlerFirstTime=false});t.addEventListener(\"focusout\",()=>{e.bFocusOnShell=true;e.bFocusPassedToExternalHandlerFirstTime=true});const n=document.getElementById(B.RendererRootView);n.addEventListener(\"focusin\",()=>{e.bFocusOnShell=false;e.bFocusPassedToExternalHandlerFirstTime=false});n.addEventListener(\"focusout\",()=>{e.bFocusOnShell=true;e.bFocusPassedToExternalHandlerFirstTime=true})})})}},_initShellNavigationInternal:function(e,t,n){this.oShellNavigationInternal=e;this.oShellNavigationInternal.registerPrivateFilters(t);this.oShellNavigationInternal.registerExtraRouter(n);this.oShellNavigationInternal.registerNavigationFilter(this._handleEmptyHash.bind(this));this.oShellNavigationInternal.init(this.doHashChange.bind(this));this.oShellNavigationInternal.registerNavigationFilter(this._disableSourceAppRouter.bind(this));this.oShellNavigationInternal.registerNavigationFilter(this.handleDataLoss.bind(this));this.oShellNavigationInternal.registerNavigationFilter(this._unblockUI.bind(this));u.registerHandleHashChange(this.oShellNavigationInternal);w.emit(\"ShellNavigationInitialized\",Date.now())},_bindContentDensity:function(){const e=M.getModel().bindProperty(\"/application/contentDensity\");function t(){const t=e.getValue();const n=t===\"compact\";document.body.classList.toggle(\"sapUiSizeCompact\",n);document.body.classList.toggle(\"sapUiSizeCozy\",!n)}t.call(this);e.attachChange(t);this._aDanglingBindings.push(e)},_bindTabTitle:function(){const e=M.getModel().bindProperty(\"/application/title\");const t=M.getModel().bindProperty(\"/application/titleAdditionalInformation\");function n(){const e=this._calculateWindowTitle();if(e){I.setWindowTitle(e)}}n.call(this);e.attachChange(n.bind(this));t.attachChange(n.bind(this));this._aDanglingBindings.push(e);this._aDanglingBindings.push(t)},_calculateWindowTitle:function(){let e=\"\";const t=M.getModel().getProperty(\"/application/title\")||\"\";const n=M.getModel().getProperty(\"/application/titleAdditionalInformation\");if(n?.searchTerm){if(n.searchScope){e=_.i18n.getText(\"titleWindowSearchTermWithScope\",[n.searchTerm,n.searchScope])}else{e=_.i18n.getText(\"titleWindowSearchTerm\",[n.searchTerm])}}else if(n?.headerText&&n?.additionalContext){e=_.i18n.getText(\"titleWindow\",[n.headerText,n.additionalContext])}else{e=n?.headerText||n?.additionalContext||t}return e},_getConfigModel:function(){return M.getConfigModel()},getNavContainer:function(){return o.getElementById(\"viewPortContainer\")},_registerAndCreateEventHubDoables:function(){[w.once(\"CenterViewPointContentRendered\").do(this._loadCoreExt.bind(this)),w.once(\"PagesRuntimeRendered\").do(this._loadCoreExt.bind(this)),w.once(\"AppRendered\").do(this._loadCoreExtNonUI5.bind(this)),w.once(\"CoreResourcesComplementLoaded\").do(this._onCoreResourcesComplementLoaded.bind(this)),w.once(\"loadRendererExtensions\").do(this._loadRendererExtensionPlugins.bind(this)),w.once(\"loadWarmupPlugins\").do(this._loadWarmupPlugins.bind(this)),w.once(\"loadTrackingActivitiesSetting\").do(this._loadTrackingActivitiesSetting.bind(this)),w.once(\"initMessagePopover\").do(this._initializeMessagePopover.bind(this))].forEach(e=>{this.addDoable(e)});this.addDoable(w.on(\"toggleContentDensity\").do(this.toggleContentDensity.bind(this)))},_onBackNavigationChanged:async function(e){const t=e.getParameters().data;const n=F.getShellMode();const i=F.getLaunchpadState();if(t){P.setNavigateBack(t);if(i===O.App&&[j,V,z].includes(n)){T.getRendererInternal(\"fiori2\").showHeaderItem(\"backBtn\",true)}}else{P.resetNavigateBack()}},toggleContentDensity:function(e){const t=e.contentDensity===\"compact\";return f.sendRequestToAllApplications(\"sap.ushell.appRuntime.uiDensityChange\",{isTouch:t?\"0\":\"1\"},false)},_handleEmptyHash:function(e){e=typeof e===\"string\"?e:\"\";e=e.split(\"?\")[0];if(e.length===0){const e=this.getView()?this.getView().getViewData():{};X=e.config||{};if(X.migrationConfig){return this.oShellNavigationInternal.NavigationFilterStatus.Continue}if(X.rootIntent){window.setTimeout(()=>{p.setHash(X.rootIntent)},0);return this.oShellNavigationInternal.NavigationFilterStatus.Abandon}}return this.oShellNavigationInternal.NavigationFilterStatus.Continue},_unblockUI:function(){o.getElementById(\"shell-header\")?.setBlocked?.(false);o.getElementById(\"menubar\")?.setBlocked?.(false);return this.oShellNavigationInternal.NavigationFilterStatus.Continue},_notifyAsyncStep:function(){return d.notifyAsyncStep()},_setConfigurationToModel:function(){const e=this.getView().getViewData();if(e){X=e.config||{}}if(X){if(X.states){t.error(\"The 'states' configuration was discontinued\")}if(X.enableSetTheme!==undefined){this._getConfigModel().setProperty(\"/setTheme\",X.enableSetTheme)}this._getConfigModel().setProperty(\"/contentDensity\",X.enableContentDensity===undefined?true:X.enableContentDensity);if(X.migrationConfig!==undefined){this._getConfigModel().setProperty(\"/migrationConfig\",X.migrationConfig)}if(X.enableUserDefaultParameters!==undefined){this._getConfigModel().setProperty(\"/userDefaultParameters\",X.enableUserDefaultParameters)}if(X.disableHomeAppCache!==undefined){this._getConfigModel().setProperty(\"/disableHomeAppCache\",X.disableHomeAppCache)}this._getConfigModel().setProperty(\"/enableHelp\",v.last(\"/core/extension/enableHelp\"));this._getConfigModel().setProperty(\"/searchAvailable\",X.enableSearch!==false);if(X.title!==undefined){this.setHeaderTitle(X.title)}}},_loadTrackingActivitiesSetting:async function(e){try{let t=await this._getPersData({container:\"flp.settings.FlpSettings\",item:\"userActivitesTracking\"});if(t===undefined){t=true}this._getConfigModel().setProperty(\"/enableTrackingActivity\",t);w.emit(\"StepDone\",e.stepName)}catch(n){t.error(\"Failed to load tracking activities state from the personalization, tracking activities is disabled\",n,\"sap.ushell.components.flp.settings.FlpSettings\");this._getConfigModel().setProperty(\"/enableTrackingActivity\",false);w.emit(\"StepDone\",e.stepName)}},_getPreviousPage Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/FailedTileDialog\", [\"sap/ui/core/Fragment\",\"sap/ui/model/json/JSONModel\"],(e,t)=>{\"use strict\";return function(){function o(e){if(!e){throw new Error(\"Could not find the Tile of the given control\")}if(e.isA([\"sap.ushell.ui.launchpad.Tile\",\"sap.ushell.ui.launchpad.LinkTileWrapper\"])){return e}return o(e.getParent())}function i(e){if(!e){throw new Error(\"Could not find the Group of the given control\")}if(e.isA(\"sap.ushell.ui.launchpad.TileContainer\")){return e}return i(e.getParent())}function n(e){let t={};const n=o(e);if(n.getDebugInfo){const e=n.getDebugInfo();if(e){t=JSON.parse(e);t.debugInfo=e}}if(n.getTileCatalogId){const e=n.getTileCatalogId();if(e){t.chipId=decodeURIComponent(e)}}const r=i(e);const l=r.getBindingContext();if(l){const e=l.getProperty(\"object\");if(e){t.groupId=e.getId()}}return t}this.openFor=function(o){function i(e){if(!e){throw new Error(\"Could not find the View of the given control\")}return e.isA(\"sap.ui.core.mvc.View\")?e:i(e.getParent())}const r=i(o);if(!r.oFailedTileDialog){return e.load({id:r.createId(\"failedTileDialogFragment\"),name:\"sap.ushell.ui.launchpad.FailedTileDialog\",controller:this}).then(e=>{e.setModel(new t({}));e.bindObject({path:\"/\"});r.oFailedTileDialog=e;r.addDependent(r.oFailedTileDialog);this.openFor(o)})}const l=r.oFailedTileDialog.getModel();l.setProperty(\"/\",n(o));l.setProperty(\"/showDetails\",false);r.oFailedTileDialog.open();return Promise.resolve()};this.onShowDetails=function(e){e.getSource().getModel().setProperty(\"/showDetails\",true)};this.onClose=function(e){e.getSource().getParent().close()}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/GroupHeaderActions\", [\"sap/m/Button\",\"sap/m/library\",\"sap/ui/core/Control\",\"sap/ushell/library\"],(t,e,o)=>{\"use strict\";const n=e.ButtonType;const i=e.PlacementType;const s=o.extend(\"sap.ushell.ui.launchpad.GroupHeaderActions\",{metadata:{library:\"sap.ushell\",properties:{isOverflow:{type:\"boolean\",group:\"Misc\",defaultValue:false},tileActionModeActive:{type:\"boolean\",group:\"Misc\",defaultValue:false}},aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"}}},renderer:{apiVersion:2,render:function(t,e){t.openStart(\"div\",e);t.openEnd();const o=e.getContent();if(e.getTileActionModeActive()){if(e.getIsOverflow()){const n=o.some(t=>t.getVisible());if(n){t.renderControl(e._getOverflowButton())}}else{o.forEach(e=>{t.renderControl(e)})}}t.close(\"div\")}}});s.prototype.exit=function(){if(this._oOverflowButton){this._oOverflowButton.destroy()}if(this._oActionSheet){this._oActionSheet.destroy()}};s.prototype._getOverflowButton=function(){if(!this._oOverflowButton){this._oOverflowButton=new t({icon:\"sap-icon://overflow\",type:n.Transparent,enabled:\"{= !${/editTitle}}\",press:function(){sap.ui.require([\"sap/m/ActionSheet\"],t=>{if(!this._oActionSheet){this._oActionSheet=new t({placement:i.Auto})}this._oActionSheet.destroyButtons();this.getContent().forEach(t=>{const e=t.clone();e.setModel(t.getModel());e.setBindingContext(t.getBindingContext());this._oActionSheet.addButton(e)});this._oActionSheet.openBy(this._oOverflowButton)})}.bind(this)}).addStyleClass(\"sapUshellHeaderActionButton\");this._oOverflowButton.setParent(this)}return this._oOverflowButton};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/GroupListItem\", [\"sap/m/ListItemBase\",\"sap/ushell/library\",\"sap/ushell/utils\",\"./GroupListItemRenderer\"],(e,t,r,i)=>{\"use strict\";const s=e.extend(\"sap.ushell.ui.launchpad.GroupListItem\",{metadata:{library:\"sap.ushell\",properties:{title:{type:\"string\",group:\"Misc\",defaultValue:null},defaultGroup:{type:\"boolean\",group:\"Misc\",defaultValue:false},show:{type:\"boolean\",group:\"Misc\",defaultValue:true},groupId:{type:\"string\",group:\"Misc\",defaultValue:null},index:{type:\"int\",group:\"Misc\",defaultValue:null},numberOfTiles:{type:\"int\",group:\"Misc\",defaultValue:0},isGroupVisible:{type:\"boolean\",group:\"Misc\",defaultValue:true}},events:{press:{},afterRendering:{}}},renderer:i});s.prototype.exit=function(){e.prototype.exit.apply(this,arguments)};s.prototype.onAfterRendering=function(){this.fireAfterRendering()};s.prototype.groupHasVisibleTiles=function(){const e=this.getModel().getProperty(`/groups/${this.getIndex()}/tiles`);const t=this.getModel().getProperty(`/groups/${this.getIndex()}/links`);return r.groupHasVisibleTiles(e,t)};s.prototype.onclick=function(){this.firePress({id:this.getId()})};s.prototype.setGroupId=function(e){this.setProperty(\"groupId\",e,true);return this};s.prototype.setTitle=function(e){this.setProperty(\"title\",e);this.$().find(\".sapMSLITitleOnly\").text(e);return this};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/GroupListItemRenderer\", [\"sap/m/ListItemBaseRenderer\",\"sap/ui/core/Renderer\"],(e,s)=>{\"use strict\";const t=s.extend(e);t.apiVersion=2;t.renderLIAttributes=function(e){e.class(\"sapUshellGroupLI\");e.class(\"sapUshellGroupListItem\")};t.renderLIContent=function(e,s){e.openStart(\"div\",s);e.class(\"sapMSLIDiv\");e.class(\"sapMSLITitleDiv\");if(!s.getVisible()){e.style(\"display\",\"none\")}e.openEnd();e.openStart(\"div\",s);e.class(\"sapMSLITitleOnly\");e.openEnd();e.text(s.getTitle());e.close(\"div\");e.close(\"div\")};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/LinkTileWrapper\", [\"sap/base/Log\",\"sap/ui/base/ManagedObject\",\"sap/ui/core/Control\",\"sap/ui/core/Core\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/library\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"./LinkTileWrapperRenderer\"],(e,t,i,s,jQuery,o,l,a)=>{\"use strict\";const r=i.extend(\"sap.ushell.ui.launchpad.LinkTileWrapper\",{metadata:{library:\"sap.ushell\",properties:{uuid:{type:\"string\",group:\"Misc\",defaultValue:null},tileCatalogId:{type:\"string\",group:\"Misc\",defaultValue:null},tileCatalogIdStable:{type:\"string\",group:\"Misc\",defaultValue:null},target:{type:\"string\",group:\"Misc\",defaultValue:null},visible:{type:\"boolean\",group:\"Misc\",defaultValue:true},debugInfo:{type:\"string\",group:\"Misc\",defaultValue:null},animationRendered:{type:\"boolean\",group:\"Misc\",defaultValue:false},isLocked:{type:\"boolean\",group:\"Misc\",defaultValue:false},tileActionModeActive:{type:\"boolean\",group:\"Misc\",defaultValue:false},ieHtml5DnD:{type:\"boolean\",group:\"Misc\",defaultValue:false}},aggregations:{tileViews:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"tileView\"},footItems:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"footItem\"}},events:{press:{},coverDivPress:{},afterRendering:{},showActions:{}}},renderer:a});r.prototype.destroy=function(e){this.destroyTileViews();i.prototype.destroy.call(this,e)};r.prototype.addTileView=function(e,i){e.setParent(null);e.addCustomData(new l({key:\"tabindex\",value:\"-1\",writeToDom:true}));t.prototype.addAggregation.call(this,\"tileViews\",e,i)};r.prototype.destroyTileViews=function(){if(this.mAggregations.tileViews){this.mAggregations.tileViews.length=0}};r.prototype.onAfterRendering=function(){this.fireAfterRendering()};r.prototype.onclick=r.prototype._onPress;r.prototype.onsapenter=r.prototype._launchTileViaKeyboard;r.prototype.onsapspace=r.prototype._launchTileViaKeyboard;r.prototype._launchTileViaKeyboard=function(t){e.info(\"Tile pressed:\",this.getDebugInfo(),\"sap.ushell.ui.launchpad.LinkTileWrapper\");s.getEventBus().publish(\"launchpad\",\"dashboardTileLinkClick\");if(this.getTileActionModeActive()){return}else if(this._getTileState()===\"Failed\"){this._onFailedStatePress()}else if(t.target.tagName!==\"BUTTON\"){let e=this.getTileViews()[0];let t=false;if(e.firePress){e.firePress()}else{while(e.getContent&&!t){e=e.getContent()[0];if(e.firePress){e.firePress();t=true}}}}};r.prototype._onPress=function(t){e.info(\"Tile pressed:\",this.getDebugInfo(),\"sap.ushell.ui.launchpad.LinkTileWrapper\");s.getEventBus().publish(\"launchpad\",\"dashboardTileLinkClick\");if(!this.getTileActionModeActive()&&this._getTileState()===\"Failed\"){this._onFailedStatePress()}};r.prototype._onFailedStatePress=function(){if(!this.getTileActionModeActive()&&this._getTileState()===\"Failed\"){if(!this.FailedTileDialog){sap.ui.require([\"sap/ushell/ui/launchpad/FailedTileDialog\"],e=>{this.FailedTileDialog=new e;this._onFailedStatePress()})}else{this.FailedTileDialog.openFor(this)}return}};r.prototype._getTileState=function(){const e=this.getTileViews();let t;for(let i=0;i0){t=e.css(\"border-color\")}else{t=this.getRgba()}e.hover(function(){if(!s.getProperty(\"/tileActionModeActive\")){const i=jQuery(e).css(\"box-shadow\");const s=i?i.split(\") \")[1]:null;let o;if(s){o=`${s} ${t}`;jQuery(this).css(\"box-shadow\",o)}}},function(){jQuery(this).css(\"box-shadow\",\"\")})}};r.prototype.setUuid=function(e){this.setProperty(\"uuid\",e,true);return this};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/LinkTileWrapperRenderer\", [\"sap/base/Log\",\"sap/m/GenericTile\",\"sap/m/library\",\"sap/ushell/resources\"],(e,t,a,i)=>{\"use strict\";const l=a.GenericTileMode;const s=a.LoadState;const n={apiVersion:2};n.render=function(a,n){let o=null;const d=n.getModel();function r(){o=new t({header:i.i18n.getText(\"cannotLoadTile\"),mode:l.LineMode,state:s.Failed})}try{o=n.getTileViews()[0]}catch(t){e.warning(\"Failed to load tile view: \",t.message);r()}if(!o){e.warning(\"Failed to load tile view: the control has no tileViews\");r()}a.openStart(\"div\",n);if(d&&d.getProperty(\"/enableHelp\")){a.attr(\"data-help-id\",n.getTileCatalogId());if(n.getTileCatalogIdStable()){a.attr(\"data-help-id2\",n.getTileCatalogIdStable())}}a.class(\"sapUshellLinkTile\");if(!n.getVisible()){a.class(\"sapUshellHidden\")}if(n.getIsLocked()){a.class(\"sapUshellLockedTile\")}a.attr(\"tabindex\",\"-1\");a.openEnd();a.renderControl(o);a.close(\"div\")};return n},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/LoadingDialog\", [\"sap/m/Label\",\"sap/ui/core/Control\",\"sap/ui/core/Icon\",\"sap/ui/core/Popup\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"./LoadingDialogRenderer\"],(e,t,i,s,o,a,l,n)=>{\"use strict\";const p=t.extend(\"sap.ushell.ui.launchpad.LoadingDialog\",{metadata:{library:\"sap.ushell\",properties:{iconUri:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:null},text:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:null},loadAnimationWithInterval:{type:\"boolean\",group:\"Appearance\",defaultValue:true}}},renderer:n});p.prototype.init=function(){this._oPopup=new s;this._oPopup.restoreFocus=false;this._oPopup.setShadow(false);this._oPopup.setModal(true,\"sapUshellLoadingDialog\");this.oIcon=new i;this._oLabel=new e(`${this.getId()}loadingLabel`).addStyleClass(\"sapUshellLoadingDialogLabel\");this.sState=\"idle\";this.sLoadingString=a.i18n.getText(\"genericLoading\").replace(\"...\",\" \")};p.prototype.exit=function(){this._oPopup.close();this._oPopup.destroy();this.oIcon.destroy();this._oLabel.destroy()};p.prototype.isOpen=function(){return this._oPopup.isOpen()};p.prototype.openLoadingScreen=function(){if(this.sState===\"idle\"){this.sState=\"busy\"}if(this.getLoadAnimationWithInterval()){this.addStyleClass(\"sapUshellVisibilityHidden\");this._iTimeoutId=setTimeout(()=>{this.removeStyleClass(\"sapUshellVisibilityHidden\");this.focus()},3e3)}else{this.removeStyleClass(\"sapUshellVisibilityHidden\");this.focus()}if(!this.getVisible()){this.setVisible(true);this.$().show()}if(!this.isOpen()){this._oPopup.setContent(this);this._oPopup.setPosition(\"center center\",\"center center\",document,\"0 0\",\"fit\");this._oPopup.open()}};p.prototype.showAppInfo=function(e,t,i){this.setText(e);this.setIconUri(t);this.oIcon.setSrc(t);this._oLabel.setText(e);this._oLabel.addCustomData(new l({key:\"aria-hidden\",value:\"true\",writeToDom:true}));const s=this.getDomRef(\"accessibility-helper\");if(s&&i){s.innerText=this.sLoadingString}};p.prototype.closeLoadingScreen=function(){if(this._iTimeoutId){clearTimeout(this._iTimeoutId)}if(this.getVisible()){this.sState=\"idle\";this.setVisible(false);this.$().hide();this._oPopup.close()}};return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/LoadingDialogRenderer\", [],()=>{\"use strict\";const e={apiVersion:2,render:function(e,t){const n=t.getTooltip_AsString();e.openStart(\"div\",t);e.class(\"sapUshellLoadingDialogControl\");if(n){e.attr(\"title\",n)}e.openEnd();this.renderAppInfo(e,t);e.close(\"div\")},renderAppInfo:function(e,t){e.openStart(\"div\");e.class(\"sapUshellLoadingDialogAppData\");e.openEnd();if(t.getIconUri()){e.renderControl(t.oIcon)}e.openStart(\"span\",`${t.getId()}-accessibility-helper`);e.class(\"sapUshellAccessibilityHelper\");e.attr(\"aria-live\",\"rude\");e.attr(\"aria-relevant\",\"additions text\");e.openEnd();e.close(\"span\");e.renderControl(t._oLabel);e.close(\"div\")}};return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/Page\", [\"sap/m/Button\",\"sap/m/library\",\"sap/m/Menu\",\"sap/m/MenuItem\",\"sap/m/Text\",\"sap/ui/core/Control\",\"sap/ui/core/dnd/DragDropInfo\",\"sap/ui/core/InvisibleMessage\",\"sap/ui/core/library\",\"sap/ushell/library\",\"sap/ushell/resources\",\"./PageRenderer\"],(e,t,i,n,o,s,a,r,c,l,u,d)=>{\"use strict\";const p=t.ButtonType;const g=c.TextAlign;const h=c.InvisibleMessageMode;const f=l.DisplayFormat;const m=s.extend(\"sap.ushell.ui.launchpad.Page\",{metadata:{library:\"sap.ushell\",properties:{edit:{type:\"boolean\",group:\"Misc\",defaultValue:false},enableSectionReordering:{type:\"boolean\",group:\"Misc\",defaultValue:false},dataHelpId:{type:\"string\",group:\"Misc\",defaultValue:\"\"},noSectionsText:{type:\"string\",group:\"Misc\",defaultValue:\"\"},showNoSectionsText:{type:\"boolean\",group:\"Misc\",defaultValue:true},showTitle:{type:\"boolean\",group:\"Misc\",defaultValue:false},title:{type:\"string\",group:\"Misc\",defaultValue:\"\"}},defaultAggregation:\"sections\",aggregations:{sections:{type:\"sap.ushell.ui.launchpad.Section\",multiple:true,dnd:true},messageStrip:{type:\"sap.m.MessageStrip\",multiple:false},_addSectionButtons:{type:\"sap.m.Button\",multiple:true,visibility:\"hidden\"},_noSectionText:{type:\"sap.m.Text\",multiple:false,visibility:\"hidden\"}},events:{addSectionButtonPressed:{parameters:{index:{type:\"int\"}}},sectionDrop:{parameters:{draggedControl:{type:\"sap.ushell.ui.launchpad.Section\"},droppedControl:{type:\"sap.ushell.ui.launchpad.Section\"},dropPosition:{type:\"string\"}}}}},renderer:d});m.prototype.enhanceAccessibilityState=function(e,t){delete t.readonly};m.prototype.init=function(){this.setAggregation(\"_noSectionText\",new o({text:u.i18n.getText(\"Page.NoSectionText\"),width:\"100%\",textAlign:g.Center}));this._oDragDropInfo=new a({sourceAggregation:\"sections\",targetAggregation:\"sections\",dropPosition:\"Between\",dragStart:function(e){if(e.getParameter(\"target\").getDefault()){e.preventDefault()}},dragEnter:function(e){if(e.getParameter(\"target\").getDefault()){e.preventDefault()}},drop:function(e){this.fireSectionDrop(e.getParameters())}.bind(this)});this.addDelegate({onsappageup:this._handleKeyboardPageNavigation.bind(this),onsappagedown:this._handleKeyboardPageNavigation.bind(this),onsapdown:this._handleKeyboardArrowNavigation.bind(this,false),onsapdownmodifiers:this._handleKeyboardArrowNavigation.bind(this,true),onsapup:this._handleKeyboardArrowNavigation.bind(this,false),onsapupmodifiers:this._handleKeyboardArrowNavigation.bind(this,true),onsaphome:this._handleKeyboardHomeEndNavigation.bind(this),onsaphomemodifiers:this._handleKeyboardHomeEndNavigation.bind(this),onsapend:this._handleKeyboardHomeEndNavigation.bind(this),onsapendmodifiers:this._handleKeyboardHomeEndNavigation.bind(this),onfocusin:this._saveFocus.bind(this),onsapskipback:this._handleSkipBack.bind(this),onsapskipforward:this._handleSkipForward.bind(this),onBeforeFastNavigationFocus:this._handleBeforeFastNavigationFocus.bind(this)});this._oInvisibleMessageInstance=r.getInstance()};m.prototype._onSectionContextMenu=function(e,t){if(!this.getEdit()){return}for(let t=e.srcControl;!t.isA(\"sap.ushell.ui.launchpad.Section\");t=t.getParent()){if(t.isA(\"sap.m.Input\")||t.isA(\"sap.ushell.ui.launchpad.VizInstance\")||t.isA(\"sap.ushell.ui.launchpad.VizInstanceLink\")){return}}function o(e){const i=this.getSections();const n=i.indexOf(t);const o=i[e?n-1:n+1];this.fireSectionDrop({draggedControl:t,droppedControl:o,dropPosition:e?\"Before\":\"After\"})}const s=this.getEnableSectionReordering();const a=this.getSections().filter(e=>!e.getDefault());const r=a.indexOf(t);const c=new i(\"sapUshellSectionContextMenu\",{items:[new n({text:\"{i18n>Page.MoveSection.Up}\",enabled:s&&r>0,press:o.bind(this,true)}),new n({text:\"{i18n>Page.MoveSection.Down}\",enabled:s&&r!==-1&&r{const i=t.getDomRef();return i&&i.parentNode===e.target})}else if(t.isA(\"sap.ushell.ui.launchpad.VizInstanceLink\")){this._oLastFocusedViz=t}};m.prototype._handleSkipBack=function(e){if(this.getEdit()){let t;const i=e.srcControl;if(i.isA(\"sap.f.GridContainer\")||i.isA(\"sap.ushell.ui.launchpad.VizInstanceLink\")){t=this._getAncestorSection(i)}if(t){e.preventDefault();t.focus()}}};m.prototype._handleSkipForward=function(e){let t;let i;const n=e.srcControl;if(n.isA(\"sap.ushell.ui.launchpad.Section\")){i=n}if(i){if(i.indexOfVisualization(this._oLastFocusedViz)!==-1){t=this._oLastFocusedViz}else{t=i.getAllItems()[0]}}if(t){e.preventDefault();this._focusVisualization(t)}};m.prototype._handleBeforeFastNavigationFocus=function(e){const t=this.getSections();const i=this.getEdit();if(i&&this._oLastFocusedSection){this._oLastFocusedSection.focus()}else if(i&&e.forward&&this._oLastFocusedViz){this._getAncestorSection(this._oLastFocusedViz).focus()}else if(this._oLastFocusedViz&&this._oLastFocusedViz.getDomRef()){this._focusVisualization(this._oLastFocusedViz)}else if(i&&e.forward&&t.length>0){this._getFirstVisibleSection().focus()}else if(i&&!e.forward&&t.length>0){const e=t[0];if(e.getAllItems().length===0){e.focus()}else{this._focusVisualization(e.getAllItems()[0])}}else{const e=t.find(e=>e.getDomRef()&&e.getAllItems().length>0);this._focusVisualization(e.getAllItems()[0])}e.preventDefault()};m.prototype._getAncestorSection=function(e){if(!e){return null}if(e.isA(\"sap.ushell.ui.launchpad.Section\")){return e}else if(e.getParent){return this._getAncestorSection(e.getParent())}return null};m.prototype.exit=function(){this._oDragDropInfo.destroy()};m.prototype.onBeforeRendering=function(){const t=this.getSections().length;const i=this.getAggregation(\"_addSectionButtons\")||[];let n;for(let o=i.length;othis._isSectionVisible(t,e))};m.prototype._getLastVisibleSection=function(e){const t=this.getSections().reverse();return t.find(t=>this._isSectionVisible(t,e))};m.prototype._isSectionVisible=function(e,t){const i=t?false:this.getEdit();return i||e.getVisualizations().length>0&&e.getDomRef()&&e.getShowSection()};m.prototype._getSectionAreaItems=function(e){let t;let i;const n=e.getBindingContext();if(n){i=n.getProperty(\"displayFormatHint\")}const o=this.getSections();const s=o.find(t=>{const i=t.getDomRef();return i&&i.contains(e.getDomRef())});if(s){switch(i){case f.Compact:return s.getCompactItems();case f.Standard:case f.StandardWide:return s.getDefaultItems();case f.Flat:case f.FlatWide:return s.getFlatItems();default:t=s.getDefaultItems();if(t.length>0){return t}t=s.getFlatItems();if(t.length>0){return t}t=s.getCompactItems();return t}}return[]};m.prototype._handleSectionBorderReached=function(e){this._focusNextVisualization(e.getParameters())};m.prototype.addAggregation=function(e,t){s.prototype.addAggregation.apply(this,arguments);if(e===\"sections\"){t.attachEvent(\"borderReached\",this._handleSectionBorderReached.bind(this));t.addEventDelegate({oncontextmenu:e=>{this._onSectionContextMenu(e,t)}})}return this};m.prototype.insertAggregation=function(e,t){s.prototype.insertAggregation.apply(this,arguments);if(e===\"sections\"){t.attachEvent(\"borderReached\",this._handleSectionBorderReached.bind(this));t.addEventDelegate({oncontextmenu:e=>{this._onSectionContextMenu(e,t)}})}return this};m.prototype.announceMove=function(){const e=u.i18n.getText(\"PageRuntime.Message.SectionMoved\");this._oInvisibleMessageInstance.announce(e,h.Polite)};return m});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/PageRenderer\", [],()=>{\"use strict\";const t={apiVersion:2};t.render=function(t,e){const o=e.getSections().filter(t=>e.getEdit()||t.getShowSection()&&t.getVisible());const i=o.length;const n=e.getDataHelpId();const a=e.getTitle();t.openStart(\"div\",e);t.class(\"sapUshellPage\");t.class(\"sapContrastPlus\");t.attr(\"role\",\"region\");t.attr(\"aria-label\",a);t.attr(\"data-sap-ui-customfastnavgroup\",\"true\");if(n){t.attr(\"data-help-id\",n)}t.openEnd();if(e.getEdit()&&e.getAggregation(\"messageStrip\")){t.renderControl(e.getAggregation(\"messageStrip\"))}t.openStart(\"h2\",`${e.getId()}-title`);t.class(\"sapMTitle\");t.class(\"sapUshellPageTitle\");if(!e.getShowTitle()){t.class(\"sapUiPseudoInvisibleText\")}t.attr(\"aria-level\",\"2\");t.openEnd();t.text(a);t.close(\"h2\");if(e.getEdit()&&!i){t.renderControl(e.getAggregation(\"_addSectionButtons\")[0])}if(!i&&e.getShowNoSectionsText()){t.renderControl(e.getAggregation(\"_noSectionText\"))}let s;let r;for(s=0;s{\"use strict\";const i=n.extend(\"sap.ushell.ui.launchpad.PlusTile\",{metadata:{library:\"sap.ushell\",properties:{groupId:{type:\"string\",group:\"Misc\",defaultValue:\"\"},enableHelp:{type:\"boolean\",group:\"Misc\",defaultValue:false}},events:{press:{}}},renderer:s});i.prototype.init=function(){this.oIcon=new e({src:\"sap-icon://add\",tooltip:o.i18n.getText(\"openAppFinder_tooltip\")})};i.prototype.exit=function(){if(this.oIcon){this.oIcon.destroy()}};i.prototype.onclick=function(){const e=this.getParent().getBindingContext().getObject();if(!e.object){return}this.firePress()};i.prototype.onsapspace=i.onclick;i.prototype.onsapenter=i.onclick;return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/PlusTileRenderer\", [\"sap/ushell/resources\",\"sap/ushell/Config\"],(l,s)=>{\"use strict\";const e={apiVersion:2,render:function(e,a){e.openStart(\"li\",a);e.attr(\"tabindex\",\"-1\");e.class(\"sapUshellTile\");e.class(\"sapUshellPlusTile\");e.class(\"sapContrastPlus\");e.class(\"sapMGT\");if(s.last(\"/core/home/sizeBehavior\")===\"Small\"){e.class(\"sapUshellSmall\")}if(a.getEnableHelp()){e.class(\"help-id-plusTile\")}e.attr(\"aria-label\",l.i18n.getText(\"TilePlus_label\"));e.openEnd();e.renderControl(a.oIcon);e.close(\"li\")}};return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/Section\", [\"sap/base/Log\",\"sap/base/util/deepClone\",\"sap/f/dnd/GridDropInfo\",\"sap/f/GridContainer\",\"sap/f/GridContainerItemLayoutData\",\"sap/f/GridContainerSettings\",\"sap/m/Button\",\"sap/m/Input\",\"sap/m/Label\",\"sap/m/library\",\"sap/m/Text\",\"sap/m/Title\",\"sap/m/ToolbarSpacer\",\"sap/m/OverflowToolbar\",\"sap/m/OverflowToolbarLayoutData\",\"sap/ui/core/Control\",\"sap/ui/core/CustomData\",\"sap/ui/core/Lib\",\"sap/ui/core/dnd/DragInfo\",\"sap/ui/core/dnd/DropInfo\",\"sap/ui/core/InvisibleMessage\",\"sap/ui/core/library\",\"sap/ui/events/KeyCodes\",\"sap/ui/model/Filter\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/ExtendedChangeDetection\",\"sap/ushell/library\",\"sap/ushell/ui/launchpad/section/CompactArea\",\"sap/ui/core/Element\",\"sap/ushell/ui/launchpad/SectionRenderer\"],(t,e,i,a,o,n,r,s,g,l,u,p,d,h,c,f,y,m,A,S,b,C,z,_,w,L,V,D,G,R)=>{\"use strict\";const I=l.ButtonType;const v=l.OverflowToolbarPriority;const x=l.TileSizeBehavior;const E=C.dnd.DropLayout;const T=C.dnd.DropPosition;const B=C.InvisibleMessageMode;const P=C.TextAlign;const F=C.TitleLevel;const X=V.DisplayFormat;function M(t,e,i){if(!Array.isArray(e)||!e.length){return null}if(t&&t.getDomRef){t=t.getDomRef()}if(!t){return e[i?e.length-1:0]}function a(t,e){const i=t.left+t.right-e.left-e.right;const a=t.top+t.bottom-e.top-e.bottom;return i*i+a*a}function o(t){const e=t.querySelector(\".sapMGTLineStyleHelper\");return(e||t).getBoundingClientRect()}const n=o(t);let r=null;let s=0;let g;let l;let u;for(let t=e.length-1;t>=0;t--){l=e[t].getDomRef();if(l){g=o(l);if(!g.width&&!g.height){continue}if(i&&g.top>=n.top||!i&&g.bottom<=n.bottom){continue}u=a(g,n);if(!r||u{let a=e.getBindingContext().getPath();let o=parseInt(a.split(\"/\").pop(),10);a=i.getBindingContext().getPath();let n=parseInt(a.split(\"/\").pop(),10);if(o===n){o=t.indexOf(e);n=t.indexOf(i)}return o=0){return{index:e,area:X.Standard}}e=this.getAggregation(\"_flatArea\").getItems().indexOf(t);if(e>=0){return{index:e,area:X.Flat}}e=this.getAggregation(\"_compactArea\").getItems().indexOf(t);if(e>=0){return{index:e,area:X.Compact}}return{index:-1,area:X.Standard}};N.prototype._focusItem=function(t){window.setTimeout(()=>{let e=t&&t.area?t.area:X.Standard;let i=t&&t.index?t.index:t;const a=this.getAggregation(\"_defaultArea\").getItems().length;const o=this.getAggregation(\"_flatArea\").getItems().length;const n=this.getAggregation(\"_compactArea\").getItems().length;if(isNaN(i)||i<0){i=0}if(e===X.Standard&&a===0){e=X.Flat}if(e===X.Flat&&o===0){e=X.Compact}if(e===X.Compact&&n===0){e=X.Standard}if(a+o+n===0){e=\"section\"}switch(e){case\"section\":this.focus();break;case X.Flat:if(i>=o){i=o-1}this.getAggregation(\"_flatArea\").focusItem(i);break;case X.Compact:this.getAggregation(\"_compactArea\").focusItem(i);break;default:if(i>=a){i=a-1}this.getAggregation(\"_defaultArea\").focusItem(i);break}},0)};N.prototype.focusVisualization=function(t){let e;if(!this.getShowSection()&&!this.getEditable()){return false}const i=this.getAllItems();if(!i.length){return false}if(t&&t.area){this._focusItem(t);return true}if(t&&t.getMetadata){e=t}if(!e&&t&&t.keycode){switch(t.keycode){case z.ARROW_UP:e=this.getClosestVizualization(t.ref,true);break;case z.ARROW_DOWN:e=this.getClosestVizualization(t.ref,false);break;case z.ARROW_LEFT:t=-1;break;default:break}}if(!e&&t===-1){e=i[i.length-1]}if(!e){e=i[0]}this._focusItem(this.getItemPosition(e));return true};return N});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/SectionRenderer\", [],()=>{\"use strict\";const e={apiVersion:2};function t(e){const t=!!e.getDefaultItems().length;const a=!!e.getFlatItems().length;const n=!!e.getCompactItems().length;return!t&&!n&&!a}e.render=function(e,a){const n=a.getDefault()?\"recently-added-apps\":a.getDataHelpId();const r=a.getEditable();const o=a.getAggregation(\"_noVisualizationsText\");e.openStart(\"div\",a);e.class(\"sapUshellSection\");if(r){e.class(\"sapUshellSectionEdit\");e.attr(\"tabindex\",\"0\")}if(!a.getShowSection()){e.class(\"sapUshellSectionHidden\")}if(t(a)){e.class(\"sapUshellSectionNoVisualizations\");if(r&&a.getShowNoVisualizationsText()){e.attr(\"aria-describedBy\",o.getId())}}if(n){e.attr(\"data-help-id\",n)}e.attr(\"role\",\"region\");e.attr(\"aria-label\",a.getAriaLabel());e.openEnd();e.renderControl(a.getAggregation(\"_title\"));e.renderControl(a.getAggregation(\"_header\"));e.renderControl(o);e.renderControl(a.getAggregation(\"_defaultArea\"));e.renderControl(a.getAggregation(\"_flatArea\"));e.renderControl(a.getAggregation(\"_compactArea\"));e.close(\"div\")};return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/Tile\", [\"sap/base/Log\",\"sap/m/Text\",\"sap/ui/base/ManagedObject\",\"sap/ui/core/Control\",\"sap/ui/core/EventBus\",\"sap/ui/core/Icon\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"./TileRenderer\"],(e,t,i,o,s,n,jQuery,l,a,r,c)=>{\"use strict\";const u=o.extend(\"sap.ushell.ui.launchpad.Tile\",{metadata:{library:\"sap.ushell\",properties:{long:{type:\"boolean\",group:\"Misc\",defaultValue:false},uuid:{type:\"string\",group:\"Misc\",defaultValue:null},tileCatalogId:{type:\"string\",group:\"Misc\",defaultValue:null},tileCatalogIdStable:{type:\"string\",group:\"Misc\",defaultValue:null},isCustomTile:{type:\"boolean\",group:\"Misc\",defaultValue:false},target:{type:\"string\",group:\"Misc\",defaultValue:null},debugInfo:{type:\"string\",group:\"Misc\",defaultValue:null},rgba:{type:\"string\",group:\"Misc\",defaultValue:null},animationRendered:{type:\"boolean\",group:\"Misc\",defaultValue:false},isLocked:{type:\"boolean\",group:\"Misc\",defaultValue:false},showActionsIcon:{type:\"boolean\",group:\"Misc\",defaultValue:false},tileActionModeActive:{type:\"boolean\",group:\"Misc\",defaultValue:false},ieHtml5DnD:{type:\"boolean\",group:\"Misc\",defaultValue:false},navigationMode:{type:\"string\",group:\"Misc\",defaultValue:null},isDraggedInTabBarToSourceGroup:{type:\"boolean\",group:\"Misc\",defaultValue:false},noContainerMode:{type:\"boolean\",group:\"Misc\",defaultValue:false}},aggregations:{tileViews:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"tileView\"},pinButton:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"pinButton\"}},events:{press:{},coverDivPress:{},afterRendering:{},showActions:{},deletePress:{}}},renderer:c});u.prototype.init=function(){this.addDelegate({onkeyup:function(e){const t=e.originalEvent;const i=t.code===\"Space\"||e.keyCode===32;const o=t.code===\"Enter\"||e.keyCode===13;const s=t.altKey||t.shiftKey||t.ctrlKey||t.metaKey;if((i||o)&&!s){this._launchTileViaKeyboard(e)}}},this)};u.prototype.exit=function(){if(this.actionSheetIcon){this.actionSheetIcon.destroy()}if(this.actionIcon){this.actionIcon.destroy()}if(this.failedToLoadViewText){this.failedToLoadViewText.destroy()}};u.prototype.getFailedtoLoadViewText=function(){if(!this.failedToLoadViewText){this.failedToLoadViewText=new t({text:a.i18n.getText(\"Tile.failedToLoadView\")})}return this.failedToLoadViewText};u.prototype.getActionSheetIcon=function(){if(!this.getTileActionModeActive()){return undefined}if(!this.actionSheetIcon){this.actionSheetIcon=new n({src:\"sap-icon://overflow\",tooltip:a.i18n.getText(\"configuration.category.tile_actions\")}).addStyleClass(\"sapUshellTileActionIconDivBottomInner\")}return this.actionSheetIcon};u.prototype.ontap=function(){e.info(\"Tile clicked:\",this.getDebugInfo(),\"sap.ushell.ui.launchpad.Tile\");this.firePress()};u.prototype.destroy=function(e){this.destroyTileViews();o.prototype.destroy.call(this,e)};u.prototype.addTileView=function(e,t){e.setParent(null);i.prototype.addAggregation.call(this,\"tileViews\",e,t)};u.prototype.destroyTileViews=function(){if(this.mAggregations.tileViews){this.mAggregations.tileViews.length=0}};u.prototype.onBeforeRendering=function(){const e=this.getDomRef();if(e){const t=e.querySelector(\"a.sapUshellTileInner\");if(t){t.onclick=null}if(document.activeElement===e){this.bFocused=true}this.sTabIndex=e.getAttribute(\"tabindex\");if(this.sTabIndex){e.removeAttribute(\"tabindex\")}}};u.prototype.onAfterRendering=function(){if(this.getIsDraggedInTabBarToSourceGroup()){const e=this.getParent();e.removeAggregation(\"tiles\",this,false)}const e=this.getDomRef();if(e){if(this.sTabIndex){e.setAttribute(\"tabind Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinder/controller/AppSearch.controller\", [\"./ContentFinderDialog.controller\",\"../model/formatter\",\"sap/ushell/Config\",\"sap/base/Log\",\"sap/m/library\",\"sap/ushell/utils/WindowUtils\",\"sap/ui/thirdparty/hasher\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/f/library\"],(e,t,i,o,s,n,a,l,r,d)=>{\"use strict\";const c=d.LayoutType;const u=s.ListType;return e.extend(\"sap.ushell.components.contentFinder.controller.AppSearch\",{formatter:t,onInit:function(){this.oComponent=this.getOwnerComponent();this.oUiModel=this.oComponent.getUiModel();this.oDataModel=this.oComponent.getDataModel();this.oSelectionModel=this.oComponent.getSelectionModel();this.byId(\"contentFinderAppSearchFlexibleColumnLayout\").attachStateChange(this.onFlexibleColumnLayoutStateChange.bind(this));this.getView().setModel(this.oUiModel,\"ui\");this._initializeVisualizationsFilter()},onFlexibleColumnLayoutStateChange:function(e){this.oUiModel.setProperty(\"/maxColumnsCount\",e.getParameter(\"maxColumnsCount\"))},onSelectVisualizationsFilter:function(){this.oComponent.resetVisualizations();this.oComponent.queryVisualizations(0,this.oUiModel.getProperty(\"/visualizations/searchTerm\"),this.oUiModel.getProperty(\"/categoryTree/selectedId\"))},onSearch:function(e){const t=e.getParameter(\"query\")||\"\";this.sCurrentSearchTerm=t;this.oComponent.resetVisualizations();this.toggleSelectionView(false);const i=this.oUiModel.getProperty(\"/categoryTree/selectedId\");this.oComponent.queryVisualizations(0,t,i);this.oUiModel.setProperty(\"/visualizations/searchTerm\",t)},_onCatalogSearch:function(e,t){const i=new l(\"title\",r.Contains,e);const o=new l(\"contentProviderId\",r.Contains,e);const s=new l(\"contentProviderLabel\",r.Contains,e);const n=new l({filters:[i,o,s],and:false});t.filter(n)},onCatalogTreeSearch:function(e){const t=e.getParameter(\"newValue\")||\"\";const i=this.byId(\"CategoryTreeFragment--CategoryTree\").getBinding();this._onCatalogSearch(t,i)},onCatalogTreeTableSearch:function(e){const t=e.getParameter(\"newValue\")||\"\";const i=this.byId(\"CategoryTreeTableFragment--CategoryTreeTable\").getBinding(\"rows\");this._onCatalogSearch(t,i)},onAppBoxSelected:function(e){if(e.getSource().getMode()===s.ListMode.SingleSelectMaster){const t=e.getParameter(\"listItem\").getBindingContext(\"data\").getObject();this.oComponent.addVisualizations([t])}else{const t=e.getParameter(\"selected\");const i=e.getParameter(\"listItems\").map(e=>{const t=e.getBindingContext(\"data\");const i=t.getPath().split(\"/\");const o=parseInt(i[i.length-1],10);return{...t.getObject(),index:o}});const o=this.oSelectionModel.getProperty(\"/visualizations/items\");let s;if(t){s=[...o,...i]}else{s=o.filter(e=>!i.some(t=>t.id===e.id))}s.sort((e,t)=>e.index-1){const t=e.getParameter(\"rowIndex\");e.getSource().collapse(t);return}const i=t.getObject();if(i.inactive){return}this._onCategoryItemPressed(t,i)},onCategoryTreeUpdateFinished:function(e){const t=e.getSource();if(!t.getSelectedItem()){const e=t.getItems();const i=e[0];if(i){t.setSelectedItem(i);const e=i.getBindingContext().getObject()||{};this.oUiModel.setProperty(\"/categoryTree/selectedId\",e.id);this.oUiModel.setProperty(\"/categoryTree/selectedTitle\",e.title)}}},onCategoryTreeTogglePressed:function(){const e=this.oUiModel.getProperty(\"/layoutType\");const t=this.oUiModel.getProperty(\"/maxColumnsCount\");let i;if(e===c.MidColumnFullScreen){if(t>1){i=c.TwoColumnsMidExpanded}else{i=c.OneColumn}}else if(e===c.TwoColumnsMidExpanded&&t===1){i=c.OneColumn}else if(e===c.TwoColumnsMidExpanded){i=c.MidColumnFullScreen}else{i=c.TwoColumnsMidExpanded}this.oComponent.updateSidebarStatus(i)},onLaunchApplicationPressed:function(e){const t=e.getSource().getBindingContext(\"data\").getObject().launchUrl;if(!t){o.info(\"AppBox url property is not set.\",null,\"sap.ushell.components.Catalog.controller\");return}if(t.indexOf(\"#\")===0){a.setHash(t)}else{n.openURL(t,\"_blank\")}},onUpdateVisualizationsFilterData:function(){this.iVisualizationsFilterDataTimeout=this.iVisualizationsFilterDataTimeout||setTimeout(()=>{this._updateVisualizationsFilter();this.iVisualizationsFilterDataTimeout=null},0)},_initializeVisualizationsFilter:function(){this.oVisualizationsFilterInitialBinding=this.oUiModel.bindProperty(\"/visualizations/filters/displayed\");this.oVisualizationsFilterAvailableBinding=this.oUiModel.bindProperty(\"/visualizations/filters/available\");this.oVisualizationsFilterInitialBinding.attachChange(this.onUpdateVisualizationsFilterData,this);this.oVisualizationsFilterAvailableBinding.attachChange(this.onUpdateVisualizationsFilterData,this);this._updateVisualizationsFilter()},_updateVisualizationsFilter:function(){this.byId(\"selectVisualizationsFilter\")?.getBinding(\"items\")?.filter(new l((this.oUiModel.getProperty(\"/visualizations/filters/displayed\")||[]).map(e=>new l(\"key\",r.EQ,e))))}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller\", [\"sap/ushell/components/contentFinder/model/formatter\",\"sap/ui/core/mvc/Controller\"],(o,t)=>{\"use strict\";return t.extend(\"sap.ushell.components.contentFinder.controller.ContentFinderDialog\",{formatter:o,onInit:function(){this.oComponent=this.getOwnerComponent();this.oUiModel=this.oComponent.getUiModel();this.oDataModel=this.oComponent.getDataModel();this.oSelectionModel=this.oComponent.getSelectionModel();this.oDialog=this.getView().byId(\"contentFinderDialog\");this.oComponent.attachVisualizationsAdded(this.close,this)},onCancelButtonPressed:function(){this.close()},onAddButtonPressed:function(){const o=this.oSelectionModel.getProperty(\"/visualizations/items\");this.oComponent.addVisualizations(o)},onAfterClose:function(){this.oComponent.resetAppSearch();this.oComponent.triggerContentFinderClosed()},close:function(){return this.oComponent.getDialog().then(o=>{o.close()})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinder/dialog/Component\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/ObjectPath\",\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/ViewType\",\"sap/ui/core/UIComponent\",\"sap/ushell/components/contentFinder/model/GraphQLModel\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/ushell/Config\",\"sap/f/library\",\"sap/ui/core/mvc/XMLView\",\"sap/ushell/components/contentFinder/Component\"],(e,t,n,i,s,o,a,l,r,u,c,p,d)=>{\"use strict\";return d.extend(\"sap.ushell.components.contentFinder.dialog.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},createContent:async function(){this._oResourceBundle=await this.getModel(\"i18n\").getResourceBundle();return this.runAsOwner(()=>i.create({viewName:\"sap.ushell.components.contentFinder.view.ContentFinderDialog\",id:\"contentFinderDialogView\",type:s.XML}))},getResourceBundle:function(){return this._oResourceBundle},getDialog:function(){return this.rootControlLoaded().then(e=>e.byId(\"contentFinderDialog\"))},show:async function(e){const t=e?.visualizationFilters||this.getComponentData()?.visualizationFilters;if(t){this.setVisualizationsFilters(t)}this.resetVisualizations();this.initializeSelectionModel();this._bLoading=false;this.queryVisualizations(0);(await this.getDialog()).open()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinder/model/GraphQLListBinding\", [\"sap/ui/model/json/JSONListBinding\"],t=>{\"use strict\";return t.extend(\"sap.ushell.components.contentFinder.model.GraphQLListBinding\",{constructor:function(e,n,i,s,r,o){t.apply(this,arguments);if(o?.totalCountPropertyPath!==undefined){this.sTotalCountPropertyPath=o.totalCountPropertyPath}},getLength:function(){if(this.aFilters&&this.aFilters.length>0&&this.aFilters[0].getFilters().length>0){return this.iLength}if(this.sTotalCountPropertyPath===undefined){return this.iLength}return this.getModel().getProperty(this.sTotalCountPropertyPath)||0},isLengthFinal:function(){return this.oList.length>=this.getLength()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinder/model/GraphQLModel\", [\"sap/ui/model/json/JSONModel\",\"sap/ushell/components/contentFinder/model/GraphQLListBinding\"],(e,n)=>{\"use strict\";return e.extend(\"sap.ushell.components.contentFinder.model.GraphQLModel\",{bindList:function(e,t,s,i,o){return new n(this,e,t,s,i,o)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinder/model/formatter\", [\"sap/base/i18n/Localization\",\"sap/m/library\",\"sap/ui/core/message/MessageType\"],(e,t,n)=>{\"use strict\";const i=t.IllustratedMessageType;const r=t.ListMode;return{formatVisualizationsListMode:function(e,t){if(e){if(t===\"tiles\"){return r.MultiSelect}return r.SingleSelectMaster}return r.None},formatIsVisualizationAdded:function(e,t){if(Array.isArray(t)){return this.getOwnerComponent().oRestrictedVisualizationsMap.has(e)?n.Information:n.None}return n.None},formatVisualizationSelected:function(e,t){return t.some(t=>t.id===e)},formatAppSearchTitle:function(e,t,n,i,r,s,o,a,u){const l=this.getOwnerComponent().getResourceBundle();const p=!!a.length;const c=t.find(t=>t.key===e);let f;if(s&&o){f=l.getText(\"ContentFinder.AppSearch.Title.SelectedApp\",[o])}else if(p){if(i){f=l.getText(\"ContentFinder.AppSearch.Title.SearchResult\",[i,u])}else if(r||c?.title){const e=n?c?.title||r:r;f=l.getText(\"ContentFinder.AppSearch.Title.AllFromCategory\",[e,u])}else{f=l.getText(\"ContentFinder.AppSearch.Title.AllApps\",[u])}}else if(r||c?.title){if(n&&c?.title){f=l.getText(\"ContentFinder.AppSearch.Title.NoVisualization\",[c?.title])}else{f=l.getText(\"ContentFinder.AppSearch.Title.AllFromCategory\",[r,u])}}else{f=l.getText(\"ContentFinder.AppSearch.Title.NoApps\")}return f},formatCategoryDescription:function(t,n){const i=e.getRTL();if(!n){return t}if(i){return`${n} • ${t}`}return`${t} • ${n}`},isCategoryVisible:function(e,t){return!!(e||t)},formatVisualizationsNoDataIllustratedMessageTitle:function(e,t,n,i){if(typeof i===\"string\"){return i}if(t){return}if(e&&n){return n}const r=this.getOwnerComponent().getResourceBundle();return r.getText(\"ContentFinder.AppSearch.IllustratedMessage.Tiles.NoData.Title\")},formatVisualizationsNoDataIllustratedMessageDescription:function(e,t,n,i){if(typeof i===\"string\"){return i}if(t){return}const r=this.getOwnerComponent().getResourceBundle();if(e){if(n){return n}return r.getText(\"ContentFinder.AppSearch.IllustratedMessage.NoItems.InCatalog.Description\")}return r.getText(\"ContentFinder.AppSearch.IllustratedMessage.Tiles.NoData.Details\")},formatVisualizationsNoDataIllustratedMessageType:function(e,t){if(t){return t}if(e){return i.NoSearchResults}return i.NoData},formatAppBoxAccDescription:function(e,t,n,i,r,s,o,a,u,l,p,c,f,g){const h=[];if(e){h.push(e)}if(t){h.push(t)}if(this.getOwnerComponent().oRestrictedVisualizationsMap.has(n)){h.push(f)}if(r){h.push(i);h.push(r)}else if(p){h.push(i);h.push(c)}h.push(s);if(o){h.push(o)}else{h.push(l)}if(u){h.push(a);h.push(u)}else if(p){h.push(a);h.push(c)}if(g){const t=this.getOwnerComponent().getResourceBundle();h.push(t.getText(\"ContentFinder.AppSearch.Button.Tooltip.LaunchApplication\",[e]))}return h?.filter(Boolean).join(\" . \")}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinderStandalone/Component\", [\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/ViewType\",\"sap/ui/core/UIComponent\"],(e,n,t)=>{\"use strict\";return t.extend(\"sap.ushell.components.contentFinderStandalone.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},createContent:async function(){this._oResourceBundle=await this.getModel(\"i18n\").getResourceBundle();return this.runAsOwner(()=>e.create({viewName:\"sap.ushell.components.contentFinderStandalone.view.ContentFinderStandalone\",id:\"contentFinderAppSearchView\",type:n.XML}))},getResourceBundle:function(){return this._oResourceBundle}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ushell/utils/workpage/WorkPageService\",\"sap/ushell/appIntegration/AppLifeCycle\",\"sap/ushell/components/contentFinder/CatalogService\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/base/Log\",\"sap/ushell/services/MessageInternal\",\"sap/m/library\"],(e,t,n,i,o,a,r,s,l,c)=>{\"use strict\";return e.extend(\"sap.ushell.components.contentFinderStandalone.controller.ContentFinderStandalone\",{onInit:function(){this.oWorkPageService=new t;this.oCatalogService=new i;this.oShellUIService=n.getShellUIService();this.oRouter=o.getRendererInternal().getRouter();this.oRouter.getRoute(\"appfinder\").attachMatched(this._handleContentFinderNavigation.bind(this))},getResourceBundle:function(){return this.getOwnerComponent().getResourceBundle()},_handleContentFinderNavigation:function(){this.oShellUIService.setTitle(r.i18n.getText(\"appFinderTitle\"))},appSearchComponentCreated:async function(e){this.oComponent=e.getParameter(\"component\");a.emit(\"CenterViewPointContentRendered\");this.oComponent.attachVisualizationFilterApplied(null,this._onVisualizationFilterApplied,this);const t=this.oComponent.getSelectedVisualizationFilter();const n=this._transformFilterParams(t);const i=this.oWorkPageService.loadVisualizations(n).then(e=>{this.oComponent.setVisualizationData(e)}).catch(e=>{s.error(`ContentFinderStandalone: Visualization data loading failed: ${JSON.stringify(e)}`);this.oComponent.setVisualizationData(undefined,undefined,this._getErrorOnLoadingMessage())});const o=this.setCategoryTree();const r=new URL(location.href);r.searchParams.append(\"sap-ushell-xx-overwrite-config\",\"/core/workPages/contentFinderStandalone:false\");this.oComponent.getUiModel().setProperty(\"/linkToAppFinder\",r.toString());await i;await o},setCategoryTree:async function(){let e;try{e=await this.oCatalogService.getCatalogs()}catch(e){s.error(`Catalog fetching failed with:${JSON.stringify(e)}`);return}let t=[];if(e?.catalogs?.length>0){t=[{id:undefined,title:this.getResourceBundle().getText(\"ContentFinderStandalone.CategoryTree.Category.AllTiles\"),filterIsTitle:true,inactive:false,allowedFilters:[\"tiles\"]},{id:\"$$catalogs\",title:this.getResourceBundle().getText(\"ContentFinderStandalone.CategoryTree.Category.Catalogs\"),inactive:true,filterIsTitle:false,nodes:e?.catalogs,$count:e?.totalCount,allowedFilters:[\"tiles\"]}]}this.oComponent.setCategoryTree(t)},_onVisualizationFilterApplied:async function(e){const t=this._transformFilterParams(e.getParameters());let n;let i;const o=e.getParameter(\"categoryId\");try{if(o){n=await this.oCatalogService.loadVisualizations(o,t)}else{n=await this.oWorkPageService.loadVisualizations(t)}}catch(e){s.error(`ContentFinderStandalone: Visualization data loading failed: ${JSON.stringify(e)}`);const n=Number(t.skip)>0;if(!n){i=this._getErrorOnLoadingMessage()}else{(new l).error(this.getResourceBundle().getText(\"ContentFinderStandalone.AppSearch.NextPage.Error.Title\"))}}this.oComponent.setVisualizationData(n,undefined,i)},_transformFilterParams:function(e){const t=e?.pagination?.top;const n=e?.pagination?.skip;const i=e?.search;const o=e?.types||[];const a=o.length>0?[{in:o}]:[];const r=i?{type:a,descriptor:[{conditions:[{propertyPath:\"/sap.app/title\",stringFilter:[{containsIgnoreCase:i}]}]},{conditions:[{propertyPath:\"/sap.app/subTitle\",stringFilter:[{containsIgnoreCase:i}]}]},{conditions:[{propertyPath:\"/sap.app/info\",stringFilter:[{containsIgnoreCase:i}]}]},{conditions:[{propertyPath:\"/sap.fiori/registrationIds\",anyFilter:[{conditions:[{stringFilter:[{containsIgnoreCase:i}]}]}]}]}]}:{type:a};return{top:t,skip:n,filter:[r]}},_getErrorOnLoadingMessage:function(){return{type:c.IllustratedMessageType.UnableToLoad,title:this.getResourceBundle().getText(\"ContentFinderStandalone.AppSearch.Error.LoadingApps.Title\"),description:this.getResourceBundle().getText(\"ContentFinderStandalone.AppSearch.Error.LoadingApps.Details\")}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/Component\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/core/UIComponent\",\"sap/ui/core/library\"],(jQuery,e,t)=>{\"use strict\";const s=t.mvc.ViewType;const i=e.extend(\"sap.ushell.components.factsheet.Component\",{oMainView:null,metadata:{version:\"1.139.0\",library:\"sap.ushell\",dependencies:{libs:[\"sap.m\",\"sap.ui.vbm\",\"sap.suite.ui.commons\",\"sap.ui.layout\",\"sap.viz\"],components:[]}},createContent:function(){const e=this.getComponentData();const t=e&&e.startupParameters||{};this.oMainView=sap.ui.view({type:s.JS,viewName:\"sap.ushell.components.factsheet.views.ThingViewer\",viewData:t,height:\"100%\"}).addStyleClass(\"ThingViewer\");return this.oMainView},exit:function(){window.console.log(`On Exit of factsheet Component.js called : this.getView().getId()${this.getId()}`)},onExit:function(){window.console.log(`On Exit of factsheet Component.js called : this.getView().getId()${this.getId()}`)}});jQuery.sap.setObject(\"factsheet.Component\",i);return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/annotation/Mapping\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/Device\"],(jQuery,e)=>{\"use strict\";const t={};t.initialized=[];t.parse=function(t,n){let l={};const o={};const i={};const s={};const a={};let r=\"\";let d;let f;let p;let c;let u;let h;let g;let N;let m;let x;let y;let A;let T;let b;let P;let $;let S;let v;let O;let R;let V;let D;let E;let C;let w;let U;let I;let L;let X;let _;let z;let F;if(e.browser.internet_explorer){l={setNameSpace:function(e){e.setProperty(\"SelectionNamespaces\",'xmlns:edmx=\"http://docs.oasis-open.org/odata/ns/edmx\" xmlns:d=\"http://docs.oasis-open.org/odata/ns/edm\"');e.setProperty(\"SelectionLanguage\",\"XPath\");return e},selectNodes:function(e,t,n){return n.selectNodes(t)},nextNode:function(e){return e.nextNode()},getNodeText:function(e){return e.text}}}else{l={setNameSpace:function(e){return e},nsResolver:function(e){const t={edmx:\"http://docs.oasis-open.org/odata/ns/edmx\",d:\"http://docs.oasis-open.org/odata/ns/edm\"};return t[e]||null},selectNodes:function(e,t,n){const l=e.evaluate(t,n,this.nsResolver,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);l.length=l.snapshotLength;return l},nextNode:function(e,t){return e.snapshotItem(t)},getNodeText:function(e){return e.textContent}}}function j(t){let n;if(e.browser.internet_explorer){n=new ActiveXObject(\"Microsoft.XMLHTTP\");n.open(\"GET\",t,false);n.send(null);return n.responseXML}n=jQuery.sap.sjax({url:t,dataType:\"xml\"});if(n.success){return n.data}}function k(e){let t={};const n={};const l={};let o=false;let i;let s;let a;let r;let d={};let f;let p={};let c={};let u=false;let h;let g;let N;let m;let x;let y;let A;let T;let b;for(i=e.dataServices.schema.length-1;i>=0;i-=1){t=e.dataServices.schema[i];if(t.entityType){s=t.namespace;a=t.entityType;r=t.complexType;for(f in a){if(a.hasOwnProperty(f)){d=a[f];c={};if(d.hasStream&&d.hasStream===\"true\"){continue}p={};for(N in d.property){h=d.property[N];if(h.type.substring(0,s.length)===s){for(g in r){if(r[g].name===h.type.substring(s.length+1)){for(N in r[g].property){m=r[g].property[N];p[`${r[g].name}/${m.name}`]=m.type}}}}else{x=h.name;y=h.type;for(T in h.extensions){A=h.extensions[T];if(A.name===\"display-format\"&&A.value===\"Date\"){y=\"Edm.Date\"}else{u=true;if(!c[x]){c[x]={}}if(A.namespace&&!c[x][A.namespace]){c[x][A.namespace]={}}c[x][A.namespace][A.name]=A.value}}p[x]=y}}if(!n[`${s}.${d.name}`]){n[`${s}.${d.name}`]={}}n[`${s}.${d.name}`]=p;if(u){if(!l[`${s}.${d.name}`]){o=true}l[`${s}.${d.name}`]={};l[`${s}.${d.name}`]=c}}}}}if(o){b={types:n,extensions:l}}else{b={types:n}}return b}function M(e,t,n,l){let o;if(e.charAt(0)===\"@\"&&e.indexOf(l.Alias)===1){e=e.slice(l.Alias.length+2)}if(e.indexOf(\"/\")>=0){if(t[e.slice(0,e.indexOf(\"/\"))]){n=e.slice(0,e.indexOf(\"/\"));e=e.slice(e.indexOf(\"/\")+1)}}for(o in t[n]){if(t[n].hasOwnProperty(o)){if(e===o){return t[n][o]}}}}function H(e,t,n,l){let o;let i;let s=\"\";for(o in e){if(e.hasOwnProperty(o)){if(e[o]){i=e[o];if(i.Value&&i.Value.Path){s=M(i.Value.Path,t,n,l);if(s){e[o].EdmType=s}continue}if(i.Path){s=M(i.Path,t,n,l);if(s){e[o].EdmType=s}continue}if(i.Facets){e[o].Facets=H(i.Facets,t,n,l);continue}if(i.Data){e[o].Data=H(i.Data,t,n,l);continue}if(o===\"Data\"){e.Data=H(i,t,n,l);continue}if(i.Value&&i.Value.Apply){e[o].Value.Apply.Parameters=H(i.Value.Apply.Parameters,t,n,l);continue}if(i.Value&&i.Type&&i.Type===\"Path\"){s=M(i.Value,t,n,l);if(s){e[o].EdmType=s}}}}}return e}function q(e){for(c in o){if(o.hasOwnProperty(c)){if(e.indexOf(`${c}.`)>=0){e=e.replace(`${c}.`,`${o[c]}.`);return e}}}return e}function G(e){let t=\"\";let n=\"\";let l;const o={};for(l=0;l0){o[t]=q(n)}return o}function Q(e,t){const n={};let o=null;const i=[];let s;const a=l.selectNodes(e,\"./d:*\",t);for(s=0;s0){i=l.nextNode(o,0);n.String=l.getNodeText(i)}else{s=l.selectNodes(e,\"./d:Path\",t);if(s.length>0){a=l.nextNode(s,0);n.Path=l.getNodeText(a)}else{r=l.selectNodes(e,\"./d:Apply\",t);if(r.length>0){d=l.nextNode(r,0);n.Apply=Q(e,d)}}}}return n}function B(e,t,n){let o={};let i;let s;let a;let r;let d;let f;let p;let c;let u={};let h;let g;let N;let m;let x;if(t.hasChildNodes()){i=l.selectNodes(e,\"./d:Record | ./d:Collection/d:Record | ./d:Collection/d:If/d:Record\",t);if(i.length){s=0;for(a=0;a0){for(a=0;a0){for(a=0;a0){o=[];for(a=0;a0){for(r=0;r=0;o-=1){l=t.dataServices.schema[o];if(l.entityType){i=`${l.namespace}.`;s=l.entityType;for(r=s.length-1;r>=0;r-=1){if(i+s[r].name===e&&s[r].navigationProperty){for(a=0;a0){g=l.nextNode(N,0);if(g.getAttribute(\"Alias\")){o[g.getAttribute(\"Alias\")]=g.getAttribute(\"Namespace\")}else{o[g.getAttribute(\"Namespace\")]=g.getAttribute(\"Namespace\")}}const e=l.selectNodes(p,\"./edmx:IncludeAnnotations\",h);if(e.length>0){for(f=0;f0){y={};for(A=0;A0){S=P.split(\"/\")[0];v=P.replace(`${S}/`,\"\")}if(!a[S]){a[S]={}}if(v){if(!a.propertyAnnotations){a.propertyAnnotations={}}if(!a.propertyAnnotations[S]){a.propertyAnnotations[S]={}}a.propertyAnnotations[S][v]={};O=l.selectNodes(p,\"./d:Annotation\",b);for(R=0;R{\"use strict\";const n=i.ButtonType;const o=e.extend(\"sap.ushell.components.factsheet.controls.PictureTile\",{metadata:{deprecated:true,library:\"sap.ushell\",properties:{height:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:\"32px\"},width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:\"32px\"}},associations:{tileContent:{type:\"sap.ushell.components.factsheet.controls.PictureViewerItem\",multiple:false}},events:{pictureDelete:{}}}});o.prototype.init=function(){this._oDeletePictureButton=new t({icon:\"sap-icon://sys-cancel\",press:this._deletePictureRequestHandler.bind(this),type:n.Transparent}).addStyleClass(\"sapCaUiPTDeleteButton\");if(!s.system.desktop){this.attachPress(this._tilePressedHandler);this.attachBrowserEvent(\"swipe\",this._tileSwipedHandler.bind(this));this._oDeletePictureButton.addStyleClass(\"hide\")}};o.prototype.setTileContent=function(e){this.setContent(null);if(e){const t=e.getImage();this.setContent(t)}else{this.setContent(null)}this.setAssociation(\"tileContent\",e);return this};o.prototype.setSize=function(e,t){this._width=e;this._height=t;const i=this.$();if(i){i.css({width:`${e}px`,height:`${t}px`});jQuery.sap.byId(`${this.getId()}-wrapper`).addClass(\"sapCaUiPTWrapper\")}};o.prototype._tilePressedHandler=function(){this.switchVisibility()};o.prototype.switchVisibility=function(e){const t=this._oDeletePictureButton.$();if(e===undefined){t.toggleClass(\"hide\")}else{t.toggleClass(\"hide\",!e)}};o.prototype._tileSwipedHandler=function(){const e=this._oDeletePictureButton.$();if(e&&!e.hasClass(\"hide\")){e.addClass(\"hide\")}};o.prototype._deletePictureRequestHandler=function(){this.firePictureDelete()};return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/controls/PictureTileRenderer\", [\"jquery.sap.global\",\"sap/m/CustomTileRenderer\",\"sap/ui/core/Renderer\"],(jQuery,e,r)=>{\"use strict\";const t=r.extend(e);t.render=function(e,r){jQuery.sap.log.debug(\"PictureTileRenderer :: begin rendering\");e.write(\"
\");e.write(\"\");e.write(`
`);e.renderControl(r._oDeletePictureButton);this._renderContent(e,r);e.write(\"
\");e.write(\"
\")};t._renderContent=function(e,r){e.renderControl(r.getContent())};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/controls/PictureViewer\", [\"sap/ui/thirdparty/jquery\",\"sap/m/TileContainer\",\"sap/ui/Device\",\"sap/ushell/components/factsheet/controls/PictureTile\",\"sap/ushell/library\",\"./PictureViewerRenderer\"],(jQuery,e,t,i)=>{\"use strict\";const s=e.extend(\"sap.ushell.components.factsheet.controls.PictureViewer\",{metadata:{deprecated:true,library:\"sap.ushell\",properties:{tileScaling:{type:\"float\",group:\"Misc\",defaultValue:.95},removable:{type:\"boolean\",group:\"Misc\",defaultValue:false}},defaultAggregation:\"items\",aggregations:{items:{type:\"sap.ushell.components.factsheet.controls.PictureViewerItem\",multiple:true,singularName:\"item\"}},events:{pictureDeleted:{}}}});s.prototype.init=function(){e.prototype.init.apply(this);this.setEditable(false);if(sap.ui.getCore().isMobile()){jQuery(window).on(\"tap\",this._reset.bind(this));const e=sap.ui.getCore().getStaticAreaRef();this.$blocker=jQuery(\"
\").css(\"visibility\",\"hidden\");jQuery(e).append(this.$blocker)}if(!sap.ui.getCore().isMobile()){jQuery(window).on(\"resize\",this._resize.bind(this))}this.addStyleClass(\"sapCaPW\");this.addStyleClass(\"sapCaPWRendering\")};s.prototype._resize=function(){if(this._oDragSession){return}setTimeout(()=>{this._applyDimension();this._update(false);delete this._iInitialResizeTimeout},this._iInitialResizeTimeout);this._iInitialResizeTimeout=0};s.prototype.exit=function(){this.$blocker.remove();if(!sap.ui.getCore().isMobile()){jQuery(window).off(\"resize\",this._resize.bind(this))}e.prototype.exit.apply(this);if(!t.system.desktop){jQuery(window).off(\"tap\",this._reset.bind(this))}};s.prototype.setTileScaling=function(e){if(e<0||e>1){e=.75;jQuery.sap.log.error(`Tile Scaling should be a float value between 0 and 1 and not ${e}. Setting it to 0.75 by default.`)}this.setProperty(\"tileScaling\",e)};s.prototype.addItem=function(e){this.insertItem(e,this.getItems().length);return this};s.prototype.insertItem=function(e,t){const s=new i({tileContent:e});s.attachPictureDelete(this._deletePictureRequestHandler.bind(this));this.insertTile(s,t);this.insertAggregation(\"items\",e,t);return this};s.prototype.insertTile=function(t){t.attachPictureDelete(this._deletePictureRequestHandler.bind(this));e.prototype.insertTile.apply(this,arguments)};s.prototype.deleteTile=function(t){e.prototype.deleteTile.apply(this,arguments);t.destroy()};s.prototype.deletePicture=function(e){let t;let i;const s=this.getTiles().length;if(typeof e!==\"number\"||e<0||e>=s){t=this.getPageFirstTileIndex()}else{t=e}if(t>-1){i=this.getTiles()[t];i.detachPictureDelete(this._deletePictureRequestHandler.bind(this));this.deleteTile(i);this.removeAggregation(\"items\",t,true)}else{jQuery.sap.log.warning(`Cannot find and delete a picture at index : ${e}`)}return this};s.prototype.selectPicture=function(e){const t=this.getTiles().length;if(typeof e!==\"number\"){e=0}else if(e<0){e=0}else if(e>=t){e=t-1}if(this._bRendered){this.addStyleClass(\"sapCaPWRendering\")}this._selectedIndex=e;return this};s.prototype.setSelectedIndex=function(e){this.selectPicture(e)};s.prototype.getCurrentPictureIndex=function(){return this.getPageFirstTileIndex()};s.prototype._deletePictureRequestHandler=function(e){const t=this.indexOfTile(e.getSource());this.deleteTile(e.getSource());this.firePictureDeleted({index:t})};s.prototype._reset=function(e){const t=this.getCurrentPictureIndex();const i=this.getTiles();if(t>-1&&i&&i.length>t){const s=i[t];if(s){const t=jQuery(e.target);const i=this.$();if(i.length>0&&t.length>0){const e=t.closest(this.$());if(e.length===0){s.switchVisibility(false)}}}}};s.prototype.setRemovable=function(e){this.setProperty(\"removable\",e,true);this.toggleStyleClass(\"sapCaPWEditable\",e)};s.prototype.setEditable=function(){e.prototype.setEditable.call(this,false)};s.prototype._getTileDimension=function(){if(!this._bRendered){return}const e=jQuery.sap.byId(`${this.getId()}-scrl`);const t={width:e.width(),height:e.height()};return t};s.prototype.onBeforeRendering=function(){this.addStyleClass(\"sapCaPWRendering\")};s.prototype.onAfterRendering=function(){const e=this;this._bRendered=true;this._applyDimension();this.$().toggleClass(\"sapCaPWEditable\",this.getRemovable()===true);this._sInitialResizeTimeoutId=setTimeout(()=>{e.addStyleClass(\"sapCaPWRendering\");e._applyPageStartIndex(e._selectedIndex);e._update(false)},this._iInitialResizeTimeout);if(t.system.desktop){const e=this.getTiles()[0];const t=this._iInitialResizeTimeout;if(e){setTimeout(()=>{this._findTile(e.$()).focus()},t)}}};s.prototype._update=function(){e.prototype._update.apply(this,arguments);this.removeStyleClass(\"sapCaPWRendering\");if(sap.ui.getCore().isMobile()){const e=this;const t=this.$blocker;setTimeout(()=>{t.fadeOut(200,()=>{e.css(\"visibility\",\"hidden\").css(\"z-index\",0)})},250)}};s.prototype._applyDimension=function(){const e=this._getContainerDimension();const i=this.getId();const s=this.$();let o=10;const n=60;const l=jQuery.sap.byId(`${i}-cnt`);const r=jQuery.sap.byId(`${i}-pager`).outerHeight();jQuery.sap.byId(`${i}-scrl`).css({width:`${e.outerwidth}px`,height:`${e.outerheight-r}px`});l.css({height:`${e.outerheight-r}px`,visibility:\"visible\"});s.css(\"visibility\",\"visible\");const a=s.position();const p=l.position();const h=l.outerHeight();if(jQuery.device.is.phone){o=2}else if(t.system.desktop){o=0}jQuery.sap.byId(`${i}-blind`).css({top:`${p.top+o}px`,left:`${p.left+o}px`,width:`${l.outerWidth()-o}px`,height:`${h-o}px`});jQuery.sap.byId(`${i}-rightedge`).css({top:`${a.top+o+n}px`,right:`${o}px`,height:`${h-o-n}px`});jQuery.sap.byId(`${i}-leftedge`).css({top:`${a.top+o+n}px`,left:`${a.left+o}px`,height:`${h-o-n}px`})};s.prototype.showBlockerLayer=function(e){if(sap.ui.getCore().isMobile()){let t=20;jQuery(sap.ui.getCore().getStaticAreaRef()).children().each((e,i)=>{const s=parseInt(jQuery(i).css(\"z-index\"),10);if(!isNaN(s)){t=Math.max(t,s)}});jQuery.sap.log.debug(`blocker layer z-index calculated : ${t}${1}`);this.$blocker.css(\"z-index\",t+1).css(\"visibility\",\"visible\").fadeIn(200,()=>{if(e){e.call()}})}else if(e){e.call()}};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/controls/PictureViewerItem\", [\"sap/ui/core/Control\",\"sap/m/Image\"],(e,t)=>{\"use strict\";const s=e.extend(\"sap.ushell.components.factsheet.controls.PictureViewerItem\",{metadata:{deprecated:true,library:\"sap.ushell\",properties:{src:{type:\"string\",group:\"Misc\",defaultValue:null}},aggregations:{image:{type:\"sap.m.Image\",multiple:false}}}});s.prototype.setSrc=function(e){this.setProperty(\"src\",e);let s=this.getImage();if(s==null){s=new t}s.setSrc(e);this.setImage(s);return this};s.prototype.exit=function(){const e=this.getImage();if(e){e.destroy()}};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/controls/PictureViewerRenderer\", [\"jquery.sap.global\",\"sap/m/TileContainerRenderer\"],(jQuery,e)=>{\"use strict\";const r={};r.render=function(r,n){jQuery.sap.log.debug(\"PictureViewerRenderer :: begin rendering\");e.render(r,n);jQuery.sap.log.debug(\"PictureViewerRenderer :: end rendering\")};return r},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/factsheet/factory/ThingInspector\", [\"sap/ui/thirdparty/jquery\",\"sap/suite/ui/commons/UnifiedThingInspector\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/core/Configuration\",\"sap/ui/core/Core\",\"sap/viz/ui5/data/FlattenedDataset\",\"sap/ui/core/Locale\",\"sap/ui/model/type/DateTime\",\"sap/ui/model/type/Time\",\"sap/ui/model/type/Date\",\"sap/ui/model/type/Float\",\"sap/ui/model/type/Integer\",\"sap/ui/model/json/JSONModel\",\"sap/ui/core/Control\",\"sap/m/Image\",\"sap/m/Link\",\"sap/m/Text\",\"sap/ui/core/library\",\"sap/ui/layout/VerticalLayout\",\"sap/m/Label\",\"sap/ui/layout/form/SimpleForm\",\"sap/suite/ui/commons/UnifiedThingGroup\",\"sap/ui/ux3/ThingGroup\",\"sap/ui/core/HTML\",\"sap/m/Column\",\"sap/m/ColumnListItem\",\"sap/m/library\",\"sap/m/Table\",\"sap/m/Page\",\"sap/m/VBox\",\"sap/m/Input\",\"sap/m/List\",\"sap/m/StandardListItem\",\"sap/ui/model/FilterOperator\",\"sap/m/DateTimeInput\",\"sap/ui/model/Filter\",\"sap/m/ViewSettingsItem\",\"sap/m/ViewSettingsCustomItem\",\"sap/ui/core/CustomData\",\"sap/m/ViewSettingsDialog\",\"sap/ui/model/Sorter\",\"sap/m/Toolbar\",\"sap/m/ToolbarSpacer\",\"sap/m/Button\",\"sap/viz/ui5/Area\",\"sap/viz/ui5/Bar\",\"sap/viz/ui5/Bubble\",\"sap/viz/ui5/Column\",\"sap/viz/ui5/StackedColumn\",\"sap/viz/ui5/StackedColumn100\",\"sap/viz/ui5/Donut\",\"sap/viz/ui5/Heatmap\",\"sap/viz/ui5/HorizontalArea\",\"sap/viz/ui5/Line\",\"sap/viz/ui5/Pie\",\"sap/viz/ui5/Scatter\",\"sap/viz/ui5/Treemap\",\"sap/viz/ui5/types/Title\",\"sap/suite/ui/commons/KpiTile\",\"sap/ui/model/odata/ODataModel\",\"sap/suite/ui/commons/FacetOverview\",\"sap/suite/ui/commons/library\",\"sap/ui/layout/Grid\",\"sap/ui/vbm/VBI\",\"sap/ui/layout/HorizontalLayout\",\"sap/ui/core/Icon\",\"sap/m/Carousel\",\"sap/ui/core/IconPool\",\"sap/ushell/resources\",\"sap/ushell/ui/footerbar/AddBookmarkButton\",\"sap/suite/ui/commons/LinkActionSheet\",\"sap/ushell/services/AppConfiguration\",\"sap/m/ActionSheet\",\"sap/ushell/ui/footerbar/JamDiscussButton\",\"sap/ushell/ui/footerbar/JamShareButton\"],(jQuery,e,t,a,n,i,s,l,o,r,c,f,p,d,u,g,m,h,y,T,b,S,P,I,C,v,w,x,E,U,A,O,F,V,L,D,N,k,B,M,_,H,R,$,G,z,W,j,Q,K,J,X,q,Y,Z,ee,te,ae,ne,ie,se,le,oe,re,ce,fe,pe,de,ue,ge,me,he,ye,Te,be)=>{\"use strict\";const Se=w.URLHelper;const Pe=w.PlacementType;const Ie=le.FacetOverviewHeight;const Ce=w.DateTimeInputType;const ve=w.ListMode;const we=w.ListSeparators;const xe=w.BackgroundDesign;const Ee=w.ListType;const Ue=h.TextAlign;let Ae={};let Oe=[];const Fe={};const Ve={};const Le=\"displayFactSheet\";let De;let Ne;De=a.getFormatSettings().getFormatLocale();if(a.getLanguage()===\"ZH\"){De=new s(\"zh_CN\")}function ke(e){return e<0}function Be(e){let t=Number(e).toFixed(0);if(ke(e)){t=Number(t)*-1}return t}function Me(e,a){let n;if(!e){return\"\"}const i=new RegExp(t.oDefaultFloatFormat.groupingSeparator,\"g\");if(a>=0){a=parseInt(a,10);n=t.getFloatInstance({minFractionDigits:a,maxFractionDigits:a},De)}else{n=t.getFloatInstance({minFractionDigits:0,maxFractionDigits:99},De)}const s=n.format(e);const l=s.replace(/[\\D]/g,\"\");if(l&&l.length>6){e=e.replace(i,\"\");if(Be(e)<1e3){return t.getIntegerInstance().format(e)}n=t.getFloatInstance({minFractionDigits:1,maxFractionDigits:1,style:\"short\"},De);return n.format(e)}return s}function _e(e,t){let a;for(a in e){if(e.hasOwnProperty(a)){if(a===\"__metadata\"){continue}else if(a===t){return e[a]}else if(typeof e[a]===\"object\"){return _e(e[a],t)}}}}function He(e){let t={};let a;const n=e.lastIndexOf(\"/\");const i=e.slice(0,n);const s=e.slice(n+1);if(!Ve[e]){t=new p;t.loadData(i,null,false);Ve[e]=t.getData()}else{t=Ve[e]}if(Ve[e]&&Ve[e].d){if(!Ve[e].d[s]){a=_e(Ve[e].d,s)}else{a=Ve[e].d[s]}}return a}function Re(){let e=\"\";let t;let a;let n;let i;let s;const l=this.getElementBinding().sPath.split(\"/\")[1];const o=this.getModel();const r=this.mBindingInfos.value.parameters;const c=this.mBindingInfos.value.parts;for(let t=0;te.path===t);n=Me(n,s[0].type.oFormatOptions.maxFractionDigits);this.setDoubleFontSize(true)}this.setValue(n);this.getElementBinding().detachChange(Re)}function $e(){let e=\"\";if(Ne.getName()&&Ne.getDescription()){e=`${Ne.getName()}, ${Ne.getDescription()}`}else if(Ne.getName()&&!Ne.getDescription()){e=Ne.getName()}else if(!Ne.getName()&&Ne.getDescription()){e=Ne.getDescription()}return e}function Ge(e){const t=e.slice(1).split(\"/\");let a=\"/\";for(let e=0;e0&&t[e].indexOf(\"sid(\")<0){break}else{a+=`${t[e]}/`}}return a}function ze(e,t){let a;const n=e.slice(t.sServiceUrl.length+1);if(n.indexOf(\"/\")>=0){const e=n.split(\"/\");const i=e[e.length];a=e[e.length-1];if(a.indexOf(\"(\")>=0){a=a.slice(a.indexOf(\"(\"))}a=this.getNavEntitySet(a,i,t.getMetadata())}else if(n.indexOf(\"(\")>=0){a=n.slice(0,n.indexOf(\"(\"))}else if(n.indexOf(\"?\")>=0){a=n.slice(0,n.indexOf(\"?\"))}else{a=n}return a}function We(e,t){let a;for(let n=t.dataServices.schema.length-1;n>=0;--n){a=t.dataServices.schema[n];if(a.namespace===e.slice(0,e.lastIndexOf(\".\"))){for(let t=0;t=0;--l){n=t.dataServices.schema[l];if(n.entityContainer){i=n.entityContainer[0].entitySet;for(let t=i.length-1;t>=0;--t){if(i[t].name===e){if(a){s=i[t].entityType.slice(n.namespace.length+1)}else{s=i[t].entityType}return s}}}}}function Qe(e,t){let a=\"\";const n=e.slice(t.sServiceUrl.length+1);if(n.indexOf(\"(\")>=0){a=n.slice(n.indexOf(\"(\")+1,n.indexOf(\")\"));if(a.indexOf(\"=\")<=0){const n=t.getServiceMetadata();const i=je(ze(e,t),n);a=`${We(i,n)}=${a}`}}return a}function Ke(e,t){let a;let n;for(let i=t.dataServices.schema.length-1;i>=0;--i){a=t.dataServices.schema[i];if(a.entityContainer){n=a.entityContainer[0].entitySet;for(let t=n.length-1;t>=0;--t){if(n[t].entityType===e){return n[t].name}}}}}function Je(e,t,a){let n;let i;let s;const l=e.split(\".\");for(let e=a.dataServices.schema.length-1;e>=0;--e){n=a.dataServices.schema[e];i=l[0];if(l.length>2){for(let e=1;e=0){e=e.slice(e.indexOf(\"(\")+1,e.indexOf(\")\"))}return Ke(e,a)}}else{const e=Je(s,t,a);if(e){for(let t=a.dataServices.schema.length-1;t>=0;--t){n=a.dataServices.schema[t];if(n.entityContainer&&n.entityContainer[0].associationSet){for(let t=n.entityContainer[0].associationSet.length-1;t>=0;--t){i=n.entityContainer[0].associationSet[t];if(i.association===e.name){for(let t=0;t=0;--e){n=a.dataServices.schema[e];for(let e=0;e=0;--e){i=n.association[e];if(`${n.namespace}.${i.name}`===r.name){for(let e=0;e=0;--i){n=a.dataServices.schema[i];for(let a=0;a=0;--i){if(n.association[e].end[i].role===n.entityType[a].navigationProperty[t].toRole){return n.association[e].end[i].type}}}}}}}}}function et(e,t){const a={};a.parts=[];a.parameters=[];for(let t=e.length-1;t>=0;--t){if(e[t].Type===\"Path\"){if(e[t].EdmType){switch(e[t].EdmType){case\"Edm.DateTimeOffset\":case\"Edm.DateTime\":a.parts.push({path:e[t].Value,type:new l({UTC:true})});break;case\"Edm.Time\":a.parts.push({path:`${e[t].Value}/ms`,type:new o({source:{pattern:\"timestamp\"},UTC:true})});break;case\"Edm.Date\":a.parts.push({path:e[t].Value,type:new r({UTC:true})});break;case\"Edm.Decimal\":case\"Edm.Double\":case\"Edm.Single\":a.parts.push({path:e[t].Value,type:new c});break;case\"Edm.Int16\":case\"Edm.Int32\":case\"Edm.Int64\":a.parts.push({path:e[t].Value,type:new f});break;default:a.parts.push({path:e[t].Value});break}}else{a.parts.push({path:e[t].Value})}}else if(e[t].Type===\"String\"){a.parameters.unshift({string:e[t].Value})}}a.formatter=function(){let a=\"\";let n=\"\";let i=false;let s=0;let l=0;if(arguments&&arguments.length>=1){let o=arguments.length-1;let r=\"\";let c=0;if(e&&e[0]&&e[0].Type===\"String\"&&e[0].Value.substr(0,1)===\"#\"){i=true}for(let t=0;tc){if(a.indexOf(\"(\")>c){a=a.substr(0,c)}else{a=a.substr(0,c);r=a}}}else{if(i){r=encodeURIComponent(r)}a+=r;s+=1}o-=1;c=a.length}else{c=a.length;n=e[t].Value;if(n.indexOf(\"(\")!==-1){l+=1}if(r&&r.length>0||n.indexOf(\"(\")!==-1||n&&n.substr(0,1)===\"#\"){a+=e[t].Value}else{n=\"\"}}}if(t){a=t(a)}a=a.trim();if(s===1&&l>0&&a.substr(0,1)===\"(\"&&a.substr(-1)===\")\"){a=a.substr(1,a.length-2)}return a.trim()}};return a}function tt(e){const t=[];let a;let n;let i;let s={};let l;let o;let r;if(e&&e.Apply){a=e.Apply.Parameters;switch(e.Apply.Name){case\"odata.fillUriTemplate\":a[0].Value=a[0].Value.trim();n=a[0].Value.split(\"{\");for(let e=0;efalse)}if(e.RecordType===\"com.sap.vocabularies.UI.v1.DataFieldWithUrl\"){if(e.Url.String){i.setHref(e.Url.String)}else{i.bindProperty(\"href\",tt(e.Url));o=new m({wrapping:true});if(p.BindingInfo){o.bindProperty(\"text\",jQuery.extend({},p.BindingInfo))}else{o.setProperty(\"text\",p.String)}i.setVisible(false);r=new y;r.addContent(i);r.addContent(o);if(!Oe[Oe.indexOf(n)].Links){Oe[Oe.indexOf(n)].Links=[]}if(e.Url.Apply){c=e.Url.Apply.Parameters[0].Value.slice(e.Url.Apply.Parameters[0].Value.indexOf(\"#\")+1,e.Url.Apply.Parameters[0].Value.indexOf(\"-\"));f=e.Url.Apply.Parameters[0].Value.slice(e.Url.Apply.Parameters[0].Value.indexOf(\"#\")+1,e.Url.Apply.Parameters[0].Value.indexOf(\"?\"))}Oe[Oe.indexOf(n)].Links.push({sSemanticObject:c,sIntend:f,oVL:r})}}if(r){return r}return i}function it(e,t,a,n){let i=\"\";let s=\"\";let l;let o;const r=new T(t);r.addStyleClass(\"sapFactsheetUtiLabel\");if(n){i=\":\"}if(e.Label){if(e.Label.String){r.setText(e.Label.String.trim()+i);r.setTooltip(e.Label.String.trim())}else if(e.Label.Path){r.bindProperty(\"text\",e.Label.Path);r.bindProperty(\"tooltip\",e.Label.Path)}}else if(e.Value){if(e.Value.Path&&a){l=a[e.Value.Path];for(const e in l){if(l.hasOwnProperty(e)){if(e===\"http://www.sap.com/Protocols/SAPData\"){if(l[e].label){s=l[e].label;break}}}}}else if(e.Value.Apply&&e.Value.Apply.Name===\"odata.concat\"){for(const t in e.Value.Apply.Parameters){if(e.Value.Apply.Parameters.hasOwnProperty(t)){o=e.Value.Apply.Parameters[t];if(o.Type===\"Path\"){l=a[o.Value];for(const e in l){if(l.hasOwnProperty(e)){if(e===\"http://www.sap.com/Protocols/SAPData\"){if(l[e].label){s=l[e].label;break}}}}break}}}}r.setText(s+i);r.setTooltip(s)}return r}function st(e){let t=Ue.Begin;if(e.EdmType===\"Edm.Decimal\"||e.EdmType===\"Edm.Double\"||e.EdmType===\"Edm.Single\"||e.EdmType===\"Edm.Int16\"||e.EdmType===\"Edm.Int32\"||e.EdmType===\"Edm.Int64\"){t=Ue.End}return t}function lt(e){let t=\"\";if(e.Importance){t=e.Importance.EnumMember}else if(e[\"com.sap.vocabularies.UI.v1.Importance\"]){t=e[\"com.sap.vocabularies.UI.v1.Importance\"].EnumMember}return t.substr(t.indexOf(\"/\")+1)}function ot(e,t,a,n,i,s){let l=0;let o=0;let r=0;let c=0;let f;let p;let u;if(!i){i=e.getServiceMetadata()}if(!a){a=[]}const g=je(t,i);const m=new b({labelMinWidth:150,maxContainerCols:2});const h=Ae.propertyExtensions?Ae.propertyExtensions[g]:[];if(n&&n.High){o=n.High}if(n&&n.Medium){r=n.Medium}if(n&&n.Low){c=n.Low}for(let t=0;t=n.Total){break}++l;p=(new d).setModel(e);u=it(a[t],{textAlign:Ue.End},h,false);u.addStyleClass(\"sapFactsheetUtiFormPadding\");p=nt(a[t],g,i,s);p.addStyleClass(\"sapFactsheetUtiFormPadding\");if(p.setTextAlign){p.setTextAlign(Ue.Begin)}m.addContent(u);m.addContent(p)}m.addStyleClass(\"sapFactsheetUtiFormLayout\");return m}function rt(e){let t;let a;let n;if(Fe.InteropCompleted===true){for(let e=0;e=0){if(Oe[e].bLoaded&&!Oe[e].bProcessed&&Oe[e].Links){n=Oe[e].Links;for(let t=0;tI){w=P-I}else if(P0){W=true;I-=1}else{W=false}}else if(G===\"Medium\"){if(w>0){W=true;w-=1}else{W=false}}else{W=false}g.push(new C({header:z,hAlign:st(t[e]),visible:W}));u.push(j)}const ae=new v({type:Ee.Navigation,unread:false,cells:u});if(o){Q=o.Label.String}ae.attachPress({aColumns:t,aLabels:f,aControls:p,sTitle:Q},e=>{let a;let n;const i=e.getSource().getCells()[0].getText().substr(e.getSource().getCells()[0].getText().lastIndexOf(\"/\"));const s=new x({backgroundDesign:xe.Transparent,showSeparators:we.None,columns:[new C({hAlign:Ue.End}),new C]});s.addStyleClass(\"sapFactsheetUtiPanel\");s.addStyleClass(\"sapFactsheetUtiTilePadding\");s.addStyleClass(\"sapFactsheetUtiTableNoTopBorder\");s.bindElement(i);for(let e=0;e{if(e.getParameters().getParameters().toId.indexOf(\"__page\")>=0){const e=s.getItems();if(e.length>0&&Oe.indexOf(c)>=0){Oe[Oe.indexOf(c)].bLoaded=true;Oe[Oe.indexOf(c)].bProcessed=false;Oe[Oe.indexOf(c)].bIsTable=true;Oe[Oe.indexOf(c)].oTableItems=e;rt(Oe.indexOf(c))}}})});const ne=new x({growing:true,columns:g});ne.setModel(e);ne.bindItems({path:s,templ Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/FrameBoundExtension\", [\"sap/ui/core/Element\",\"sap/ushell/services/FrameBoundExtension/FloatingContainer\",\"sap/ushell/services/FrameBoundExtension/Footer\",\"sap/ushell/services/FrameBoundExtension/Item\",\"sap/ushell/services/FrameBoundExtension/SidePane\",\"sap/ushell/services/FrameBoundExtension/ToolArea\",\"sap/ushell/Container\",\"sap/ushell/utils\",\"sap/ushell/services/FrameBoundExtension/UserSettingsEntry\"],(e,t,n,r,o,s,i,a,c)=>{\"use strict\";function d(){}d.prototype._createItemVisibilityHandler=function(e,t,n){return async function r(o,s,i){const c=i?[i]:undefined;if(o){await a.promisify(t(e,s,c));return}await a.promisify(n(e,s,c))}};d.prototype._createControl=async function(e,t){return a.promisify(e(...t))};d.prototype.createHeaderItem=async function(e,t={}){const{position:n}=t;const r=[\"begin\",\"end\",undefined];if(!r.includes(n)){throw new Error(`Unexpected Input: '${n}' is not a valid position!`)}if(n===\"begin\"){return this._createHeaderStartItem(e)}return this._createHeaderEndItem(e)};d.prototype._createHeaderStartItem=async function(t){const n=i.getRendererInternal();const o=[t,false,undefined,undefined];const s=n.addHeaderItem.bind(n);const a=n.showHeaderItem.bind(n);const c=n.hideHeaderItem.bind(n);const d=!!e.getElementById(t.id);const l=await this._createControl(s,o);const u=this._createItemVisibilityHandler(l.getId(),a,c);return new r(l,u,d)};d.prototype._createHeaderEndItem=async function(t){const n=i.getRendererInternal();const o=[t,false,undefined,undefined];const s=n.addHeaderEndItem.bind(n);const a=n.showHeaderEndItem.bind(n);const c=n.hideHeaderEndItem.bind(n);const d=!!e.getElementById(t.id);const l=await this._createControl(s,o);const u=this._createItemVisibilityHandler(l.getId(),a,c);return new r(l,u,d)};d.prototype.createSubHeader=async function(t,n={}){const o=i.getRendererInternal();const s=[{controlType:n.controlType||\"sap.m.Bar\",oControlProperties:t,bIsVisible:false,bCurrentState:undefined,aStates:undefined}];const a=o.addShellSubHeader.bind(o);const c=o.showSubHeader.bind(o);const d=o.hideSubHeader.bind(o);const l=!!e.getElementById(t.id);const u=await this._createControl(a,s);const p=this._createItemVisibilityHandler(u.getId(),c,d);return new r(u,p,l)};d.prototype.getSidePane=async function(){return new o};d.prototype.getToolArea=async function(){return new s};d.prototype.createUserAction=async function(t,n={}){const o=i.getRendererInternal();const s=[{controlType:n.controlType||\"sap.m.Button\",oControlProperties:t,bIsVisible:false,bCurrentState:undefined,aStates:undefined}];const a=o.addUserAction.bind(o);const c=o.showActionButton.bind(o);const d=o.hideActionButton.bind(o);const l=!!e.getElementById(t.id);const u=await this._createControl(a,s);const p=this._createItemVisibilityHandler(u.getId(),c,d);return new r(u,p,l)};d.prototype.createFooter=async function(e,t={}){const r=i.getRendererInternal();const o=[{controlType:t.controlType||\"sap.m.Bar\",oControlProperties:e}];const s=r.setShellFooter.bind(r);const a=await this._createControl(s,o);return new n(a)};d.prototype.addUserSettingsEntry=async function(e){const t=i.getRendererInternal();const n=t.getShellController().addUserPreferencesEntry(e);return new c(n)};d.prototype.addGroupedUserSettingsEntry=async function(e){const t=i.getRendererInternal();const n=t.getShellController().addUserPreferencesEntry(e,true);return new c(n)};d.prototype.getFloatingContainer=async function(){return new t};d.prototype.setSecondTitle=async function(e){const t=i.getRendererInternal();t.setHeaderTitle(e)};d.hasNoAdapter=true;return d});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/FrameBoundExtension/FloatingContainer\", [\"sap/ui/base/ManagedObject\",\"sap/ui/core/EventBus\",\"sap/ushell/Container\"],(e,t,n)=>{\"use strict\";const i=e.extend(\"sap.ushell.services.FrameBoundExtension.FloatingContainer\",{metadata:{library:\"sap.ushell\",events:{dockingStateUpdate:{parameters:{visible:{type:\"boolean\"},docked:{type:\"boolean\"}}}}},constructor:function(){e.apply(this,arguments);this._oRenderer=n.getRendererInternal();this._oEventDelegate=null;this._bDocked=null;t.getInstance().subscribe(\"launchpad\",\"shellFloatingContainerIsDocked\",this._handleDocking,this).subscribe(\"launchpad\",\"shellFloatingContainerIsUnDocked\",this._handleDocking,this).subscribe(\"launchpad\",\"shellFloatingContainerIsUnDockedOnResize\",this._handleDocking,this)}});i.prototype._handleDocking=function(e,t,n={}){const i=!!n.visible;if(t===\"shellFloatingContainerIsDocked\"&&this._bDocked!==true){this._bDocked=true;this.fireDockingStateUpdate({visible:i,docked:this._bDocked})}else if((t===\"shellFloatingContainerIsUnDocked\"||t===\"shellFloatingContainerIsUnDockedOnResize\")&&this._bDocked!==false){this._bDocked=false;this.fireDockingStateUpdate({visible:i,docked:this._bDocked})}};i.prototype.setContent=function(e,t){this._oRenderer.setFloatingContainerContent(e);this._oEventDelegate={onAfterRendering:()=>{this._oRenderer.setFloatingContainerDragSelector(t)}};e.addEventDelegate(this._oEventDelegate,this);return this};i.prototype.show=function(){this._oRenderer.setFloatingContainerVisibility(true);return this};i.prototype.hide=function(){this._oRenderer.setFloatingContainerVisibility(false);return this};i.prototype.isDocked=async function(){const e=this._oRenderer.getFloatingContainerState()||\"\";return e.startsWith(\"docked\")};i.prototype.isVisible=async function(){return!!this._oRenderer.getFloatingContainerVisiblity()};i.prototype.exit=function(){t.getInstance().unsubscribe(\"launchpad\",\"shellFloatingContainerIsDocked\",this._handleDocking,this).unsubscribe(\"launchpad\",\"shellFloatingContainerIsUnDocked\",this._handleDocking,this).unsubscribe(\"launchpad\",\"shellFloatingContainerIsUnDockedOnResize\",this._handleDocking,this)};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/FrameBoundExtension/Footer\", [\"sap/ushell/Container\"],r=>{\"use strict\";class e{#r=r.getRendererInternal();#e=null;constructor(r){this.#e=r}async getControl(){return this.#e}async destroy(){this.#r.removeFooterById(this.#e.getId());this.#e.destroy()}}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/FrameBoundExtension/Item\", [\"sap/base/Log\",\"sap/ushell/state/StateManager\"],(t,i)=>{\"use strict\";class e{#t=null;#i={};#e=async(t,i,e)=>{throw new Error(\"Shall be implemented by item\")};constructor(e,r,s){this.#t=e;this.#e=r;if(!s){i.removeManagedControl(this.#t.getId());i.addManagedControl(this.#t.getId())}else{t.warning(\"The control was pre-created and the application is responsible for the control life cycle\")}}async getControl(){return this.#t}async destroy(){this.hideForAllApps().hideForCurrentApp().hideOnHome();this.#t.destroy()}setVisibilityForCurrentApp(i){if(!i&&this.#i[this.#r()]){t.warning(\"The item was set to 'visible' for the current launchpad state and cannot be turned off for this app\")}this.#e(i,true,undefined)}setVisibilityForLaunchpadState(t,e){if(e){i.updateManagedControl(this.#t.getId(),true)}this.#i[t]=e;this.#e(e,false,t)}showForCurrentApp(){this.setVisibilityForCurrentApp(true);return this}hideForCurrentApp(){if(this.#i[this.#r()]){t.warning(\"The extension was set visible for the current launchpad state and cannot be turned off for this app\")}this.setVisibilityForCurrentApp(false);return this}showForAllApps(){this.setVisibilityForLaunchpadState(\"app\",true);return this}hideForAllApps(){this.setVisibilityForLaunchpadState(\"app\",false);return this}showOnHome(){this.setVisibilityForLaunchpadState(\"home\",true);return this}hideOnHome(){this.setVisibilityForLaunchpadState(\"home\",false);return this}#r(){const t=i.getLaunchpadState();return t}}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/FrameBoundExtension/SidePane\", [\"sap/ui/core/Element\",\"sap/ushell/services/FrameBoundExtension/Item\",\"sap/ushell/Container\",\"sap/ushell/utils\"],function(e,t,i,n){\"use strict\";class s{#e=i.getRendererInternal();#t=async(e,t,i)=>{const s=[i,e];await n.promisify(this.#e.setLeftPaneVisibility(...s))};async createItem(i,s){const r=[{controlType:s.controlType,oControlProperties:i,bIsVisible:false,bCurrentState:undefined,aStates:undefined}];const a=this.#e.addSidePaneContent.bind(this.#e);const o=this.#e.showLeftPaneContent.bind(this.#e);const d=this.#e.hideLeftPaneContent.bind(this.#e);const l=!!e.getElementById(i.id);const h=await n.promisify(a(...r));async function u(e,t,i){const s=i?[i]:undefined;if(e){await n.promisify(o(h.getId(),t,s));return}await n.promisify(d(h.getId(),t,s))}return new t(h,u,l)}setVisibilityForLaunchpadState(e,t){this.#t(t,false,e)}showForAllApps(){this.setVisibilityForLaunchpadState(\"app\",true);return this}hideForAllApps(){this.setVisibilityForLaunchpadState(\"app\",false);return this}showOnHome(){this.setVisibilityForLaunchpadState(\"home\",true);return this}hideOnHome(){this.setVisibilityForLaunchpadState(\"home\",false);return this}}return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/FrameBoundExtension/ToolArea\", [\"sap/ui/core/Element\",\"sap/ushell/services/FrameBoundExtension/Item\",\"sap/ushell/Container\",\"sap/ushell/utils\"],function(e,t,i,s){\"use strict\";class r{#e=i.getRendererInternal();#t=async(e,t,i)=>{const r=[i,e];await s.promisify(this.#e.showToolArea(...r))};async createItem(i){const r=[i,null,undefined,undefined];const n=this.#e.addToolAreaItem.bind(this.#e);const a=this.#e.showToolAreaItem.bind(this.#e);const o=this.#e.removeToolAreaItem.bind(this.#e);const d=!!e.getElementById(i.id);const l=await s.promisify(n(...r));async function h(e,t,i){const r=i?[i]:undefined;if(e){await s.promisify(a(l.getId(),t,r));return}await s.promisify(o(l.getId(),t,r))}return new t(l,h,d)}setVisibilityForLaunchpadState(e,t){this.#t(t,false,e)}showForAllApps(){this.setVisibilityForLaunchpadState(\"app\",true);return this}hideForAllApps(){this.setVisibilityForLaunchpadState(\"app\",false);return this}showOnHome(){this.setVisibilityForLaunchpadState(\"home\",true);return this}hideOnHome(){this.setVisibilityForLaunchpadState(\"home\",false);return this}}return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/FrameBoundExtension/UserSettingsEntry\", [\"sap/ushell/EventHub\"],t=>{\"use strict\";class e{#t=null;constructor(t){this.#t=t}open(){t.emit(\"openUserSettings\",{targetEntryId:this.#t,time:Date.now()})}}return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/LaunchPage\", [\"sap/ushell/Container\"],e=>{\"use strict\";const t=[\"getGroups\",\"getGroupsForBookmarks\",\"getGroupTilesForSearch\",\"getDefaultGroup\",\"getGroupTitle\",\"getGroupId\",\"getGroupById\",\"getGroupTiles\",\"getTilesByGroupId\",\"getLinkTiles\",\"addGroupAt\",\"addGroup\",\"removeGroup\",\"resetGroup\",\"isGroupRemovable\",\"isGroupLocked\",\"isGroupFeatured\",\"moveGroup\",\"setGroupTitle\",\"hideGroups\",\"isGroupVisible\",\"addTile\",\"removeTile\",\"moveTile\",\"isLinkPersonalizationSupported\",\"getTileId\",\"getTileTitle\",\"getTileType\",\"getTileView\",\"getCardManifest\",\"getAppBoxPressHandler\",\"getTileSize\",\"getTileTarget\",\"getTileDebugInfo\",\"isTileIntentSupported\",\"refreshTile\",\"setTileVisible\",\"registerTileActionsProvider\",\"getTileActions\",\"getCatalogs\",\"isCatalogsValid\",\"getCatalogData\",\"getCatalogError\",\"getCatalogId\",\"getCatalogTitle\",\"getCatalogTiles\",\"getCatalogTileId\",\"getCatalogTileContentProviderId\",\"getStableCatalogTileId\",\"getCatalogTileTitle\",\"getCatalogTileSize\",\"getCatalogTileViewControl\",\"getCatalogTileView\",\"getCatalogTileTargetURL\",\"getCatalogTileTags\",\"getCatalogTileKeywords\",\"getCatalogTileTechnicalAttributes\",\"getCatalogTilePreviewTitle\",\"getCatalogTilePreviewInfo\",\"getCatalogTilePreviewSubtitle\",\"getCatalogTilePreviewIcon\",\"addBookmark\",\"addCustomBookmark\",\"countBookmarks\",\"countCustomBookmarks\",\"deleteBookmarks\",\"deleteCustomBookmarks\",\"updateBookmarks\",\"updateCustomBookmarks\",\"onCatalogTileAdded\",\"deleteURLStatesPersistentData\"];function o(){this._oFlpLaunchPage=e.getService(\"FlpLaunchPage\")}t.forEach(e=>{o.prototype[e]=function(...t){return this._oFlpLaunchPage[e](...t)}});o.hasNoAdapter=true;return o},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Menu\", [\"sap/ushell/Config\",\"sap/ushell/library\",\"sap/ushell/utils\",\"sap/ui/model/json/JSONModel\",\"sap/base/util/deepClone\",\"sap/base/Log\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,n,i,r,o,a,s)=>{\"use strict\";const d=t.ContentNodeType;function p(){this._init.apply(this,arguments)}p.prototype._init=function(e){this.oAdapter=e;this.oModel=new i([]);this.oModel.setSizeLimit(1e3);this.bIsMenuModelFilled=false;this._aBlockedList=[]};p.prototype.isMenuEnabled=function(){return this.oAdapter.isMenuEnabled()};p.prototype.isSideNavigationEnabled=function(){if(this.oAdapter.isSideNavigationEnabled){return this.oAdapter.isSideNavigationEnabled()}return Promise.resolve(false)};p.prototype.getMenuEntries=async function(){const t=await this.oAdapter.getMenuEntries();if(e.last(\"/core/homeApp/enabled\")){const n={id:e.last(\"/core/spaces/myHome/myHomeSpaceId\"),title:a.i18n.getText(\"HomeApp.Menu.Title\"),\"help-id\":\"homeApp-menuEntry\",description:\"\",icon:undefined,type:\"IBN\",target:{semanticObject:\"Shell\",action:\"home\",parameters:[],innerAppRoute:undefined},isHomeEntry:true,menuEntries:[]};t.splice(0,0,n)}return t.map(e=>{e.uid=n.generateUniqueId([]);if(e.menuEntries){e.menuEntries.forEach(e=>{e.uid=n.generateUniqueId([])})}return e})};p.prototype.getSpacesPagesHierarchy=async function(){let e;if(this.oAdapter.getContentNodeEntries){e=this.oAdapter.getContentNodeEntries()}else{e=this.getMenuEntries()}try{const t=await e;return{spaces:t.reduce((e,t)=>{let n;if(t.menuEntries&&t.menuEntries.length){n=this._getAccessiblePages(t.menuEntries)}else{n=this._getAccessiblePages([t])}if(n.length){e.push({title:t.title,id:n[0].spaceId,pages:n.map(e=>({title:e.title,id:e.id}))})}return e},[])}}catch(e){return{spaces:[]}}};p.prototype.getContentNodes=async function(e,t){if(!e){e=Object.values(d)}t=!!t;let n=await this.oAdapter.getContentNodes();n=r(n);const i=this._filterContentNodes(n,e,t);return i};p.prototype._filterContentNodes=function(e,t,n){if(!Array.isArray(e)){return[]}return e.reduce((e,i)=>{i.children=this._filterContentNodes(i.children,t,n);const r=t.includes(i.type);if(r||n&&i.children.length){e.push(i)}return e},[])};p.prototype.getDefaultSpace=async function(){const t=await this.getContentNodes([d.Space,d.Page]);if(e.last(\"/core/menu/personalization/enabled\")){const e=await this.getMenuModel();const n=e.getData().filter(e=>e.type!==\"separator\"&&e.pinned).filter(e=>t.some(t=>e.id===t.id&&t.children.length)).reduce((e,t)=>e.pinnedSortOrdern.id===e.id);if(i){return i}}const n=t.find(e=>e.children.length);return n};p.prototype.getMyHomeSpace=async function(){if(!e.last(\"/core/spaces/myHome/enabled\")){return null}const t=e.last(\"/core/spaces/myHome/myHomeSpaceId\");const n=await this.getContentNodes([d.Space,d.Page]);return n.find(e=>e.type===d.Space&&e.id===t)||null};p.prototype._getAccessiblePages=function(e){return e.filter(e=>e&&e.type===\"IBN\"&&e.target&&e.target.semanticObject===\"Launchpad\"&&e.target.action===\"openFLPPage\").map(e=>{const t=e.target.parameters.find(e=>e.name===\"spaceId\");const n=e.target.parameters.find(e=>e.name===\"pageId\");return{title:e.title,id:n&&n.value,spaceId:t&&t.value}})};p.prototype.hasMultiplePages=async function(e){const t=await this.getContentNodes([d.Space,d.Page]);const n=t.find(t=>t.type===d.Space&&t.id===e);return n&&n.children.length>1};p.prototype.isSpacePageAssigned=async function(e,t){const n=await this.getContentNodes([d.Space,d.Page]);const i=n.find(t=>t.type===d.Space&&t.id===e);if(!i){return false}const r=i.children.find(e=>e.type===d.Page&&e.id===t);return!!r};p.prototype.getSpaceAndPageTitles=async function(e,t){const n=await this.getContentNodes([d.Space,d.Page]);const i=n.find(t=>t.type===d.Space&&t.id===e);if(!i){return null}const r=i.children.find(e=>e.type===d.Page&&e.id===t);if(!r){return null}return{spaceTitle:i.label,pageTitle:r.label}};p.prototype.getMenuModel=async function(){if(!this.bIsMenuModelFilled){let t;if(e.last(\"/core/menu/personalization/enabled\")){t=this._getMenuEntriesWithPersonalizationData()}else{t=this.getMenuEntries()}const n=await t;this.oModel.setData(n);this.bIsMenuModelFilled=true}return this.oModel};p.prototype._getMenuEntriesWithPersonalizationData=async function(){const t=await this.getMenuEntries();const n=await this.oAdapter.getMenuPersonalization();let i;const r={type:\"separator\",pinned:true};let o=true;if(t[0]&&t[0].isHomeEntry){t.splice(1,0,r)}else if(e.last(\"/core/menu/personalization/showNavigationBarMenuButton\")){t.splice(0,0,r)}else{o=false}if(!n){i=t.map((e,t)=>{e.pinned=true;e.pinnedSortOrder=t;return e})}else{let e=1;if(t[0].isHomeEntry){e=2}i=t.map(t=>{t.pinned=n.pinnedSpaces.includes(t.id);t.pinnedSortOrder=n.pinnedSpaces.indexOf(t.id);if(t.pinnedSortOrder>-1){t.pinnedSortOrder=t.pinnedSortOrder+e}return t});if(o){t[0].pinned=true;t[0].pinnedSortOrder=0;if(t[0].isHomeEntry){t[1].pinned=true;t[1].pinnedSortOrder=1}}}return i};p.prototype._extractPersonalization=function(){const e={version:\"1.0.0\",pinnedSpaces:[]};const t=this.oModel.getData();e.pinnedSpaces=t.filter(e=>!e.isHomeEntry&&e.type!==\"separator\"&&e.pinned).sort((e,t)=>e.pinnedSortOrder-t.pinnedSortOrder).map(e=>e.id);return e};p.prototype.savePersonalization=async function(){const e=this._extractPersonalization();const t=await s.getServiceAsync(\"PersonalizationV2\");const n={container:\"sap.ushell.menuPersonalization\",item:\"data\"};const i={validity:\"Infinity\",keyCategory:t.KeyCategory.FIXED_KEY,writeFrequency:t.WriteFrequency.HIGH,clientStorageAllowed:false};const r=await t.getPersonalizer(n,i);return r.setPersData(e)};p.prototype.moveMenuEntry=function(e,t){const n=this.oModel.getData();const i=n.find(t=>t.pinnedSortOrder===e);i.pinnedSortOrder=t-.5;n.map(e=>e).filter(e=>e.pinned).sort((e,t)=>e.pinnedSortOrder-t.pinnedSortOrder).forEach((e,t)=>{e.pinnedSortOrder=t});this.oModel.refresh(true)};p.prototype.isPinned=async function(t){if(e.last(\"/core/menu/personalization/enabled\")===false){return true}const n=await this.getMenuModel();return n.getData().some(e=>e.id===t&&e.pinned)};p.prototype.isWorkPage=async function(e){if(this.oAdapter.isWorkPage){return this.oAdapter.isWorkPage(e)}return false};p.prototype._getNodeInfo=function(e,t,n,i){let r;for(let o=0;o0){r=this._getNodeInfo(e,t[o].menuEntries,true,i);if(r.node){return r}}}return{node:null,isRootNode:false,managerId:null}};p.prototype._nodeManagementPermitted=function(e,t,n){const i=this._getNodeInfo(e,t);if(!i.node){o.error(`Node with id ${e} cannot be found and will be skipped.`);return false}if(i.managerId&&i.managerId!==n){o.error(`Node with id ${e} cannot be managed by '${n}'`+` because it is already managed by '${i.managerId}'.`);return false}return true};p.prototype._getManagerIdInNodeTree=function(e,t,n){if(t.id===e){return n||t.managerId}if(t.managerId){n=t.managerId}if(t.menuEntries&&t.menuEntries.length>0){for(let i=0;i{if(t.id===e){return o}if(t.menuEntries&&t.menuEntries.length>0){t.menuEntries=this._updateNode(e,t.menuEntries,o)}return t})};p.prototype._createEntryProviders=function(e,t,n){const i=n.getData();const r={};let o;for(let a=0;a-1};p.prototype._setManagerBlocked=function(e){this._aBlockedList.push(e)};p.prototype.getEntryProvider=async function(e,t){if(this._isManagerBlocked(e)){o.error(`ManagerId '${e}' is already listed as an entry manager.`);return Promise.reject(`ManagerId ${e} is already listed as an entry manager.`)}this._setManagerBlocked(e);const n=await this.getMenuModel();return this._createEntryProviders(e,t,n)};p.hasNoAdapter=false;return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Message\", [\"sap/ushell/services/MessageInternal\"],e=>{\"use strict\";return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/MessageBroker\", [\"sap/ushell/services/MessageBroker/MessageBrokerEngine\",\"sap/base/Log\"],(e,n)=>{\"use strict\";let t={};function r(r,i,o){t=o?.config||{};e.setEnabled(this.isEnabled());if(!this.isEnabled()){n.warning(\"FLP's message broker service is disabled by shell configuration\")}}r.prototype.isEnabled=function(){return t.enabled||t.enabled===undefined};r.prototype.connect=function(n){return e.connect(n)};r.prototype.disconnect=function(n){return e.disconnect(n)};r.prototype.subscribe=function(n,t,r,i){return e.subscribe(n,t,r,i)};r.prototype.unsubscribe=function(n,t){return e.unsubscribe(n,t)};r.prototype.publish=function(n,t,r,i,o,s){return e.publish(n,t,r,i,o,s)};r.prototype.addAcceptedOrigin=function(n){e.addAcceptedOrigin(n)};r.prototype.removeAcceptedOrigin=function(n){e.removeAcceptedOrigin(n)};r.prototype.getAcceptedOrigins=function(){return e.getAcceptedOrigins()};r.hasNoAdapter=true;return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/MessageBroker/MessageBrokerEngine\", [\"sap/base/Log\",\"sap/base/util/deepExtend\"],(e,s)=>{\"use strict\";let n=true;const t={};const i={};const r={};const c={};t[window.location.origin]=true;function a(){this.setEnabled=function(e){n=e};this.processPostMessage=function(s){if(!n){return Promise.reject()}const t=s.oMessageData;const i=t.body;const r=s.oMessage;const c=r.origin;const a=r.source;i.requestId=t.request_id;if(!a){const s=\"Missing iframe object in PostMessage request\";e.error(s,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(s)}return this._handlePostMessageRequest(i,a,c)};this.connect=function(s){let t;if(!n){return Promise.reject()}if(typeof s!==\"string\"||!s.length){t=\"Missing required parameter client id\"}else if(r[s]){t=\"Client is already connected\"}else{r[s]=true;return Promise.resolve()}e.error(t,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(t)};this.disconnect=function(s){let t;if(!n){return Promise.reject()}if(typeof s!==\"string\"||!s.length){t=\"Missing required parameter client id\"}else if(!r[s]){t=\"Client is already disconnected\"}else{for(const e in i){const n=i[e];for(const e in n){const t=n[e];if(t.clientId===s){n.splice(e,1);break}}}if(c[s]&&c[s].channels.length){this._emitEvent(\"clientUnsubscribed\",s,c[s].channels);delete c[s]}delete r[s];return Promise.resolve()}e.error(t,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(t)};this.subscribe=function(s,t,a,l,o,u){let d;const h=\"clientSubscribed\";let g=[];let f=false;if(!n){return Promise.reject()}if(typeof s!==\"string\"||!s.length||!t.length||typeof o!==\"object\"&&(typeof a!==\"function\"||typeof l!==\"function\")){d=\"Missing required parameter(s)\"}else if(!r[s]){d=\"Client is not connected\"}else{for(const e in t){const n=t[e];const r={clientId:s,subscribedChannels:t,messageCallback:a,clientConnectionCallback:l,iframe:o||{},origin:u||\"\",isUI5:!o};if(!i[n.channelId]){i[n.channelId]=[]}const d=i[n.channelId].find(e=>e.clientId===s);if(!d){i[n.channelId].push(r)}if(c[s]){const e=c[s].channels.find(e=>e.channelId===n.channelId);if(!e){c[s].channels.push(n)}}}if(!c[s]){f=true;const e={clientId:s,channels:t};c[s]=e;g=Object.values(c).filter(e=>e.clientId!==s)}if(Object.keys(c).length>1){this._emitEvent(h,s,t)}if(f){setTimeout(()=>{if(g.length){g.forEach(e=>{if(!o){l(h,e.clientId,e.channels)}else{const s={clientId:e.clientId,channels:e.channels,channelId:\"sap.ushell.MessageBroker\",messageName:h};sap.ui.require([\"sap/ushell/appIntegration/PostMessageManager\"],e=>{const n=this._buildPostMessageObject(\"event\",s);this._sendPostMessage(e,n,o,u)})}})}},1e3)}return Promise.resolve()}e.error(d,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(d)};this.unsubscribe=function(s,t){let a;if(!n){return Promise.reject()}if(typeof s!==\"string\"||!s.length||!Array.isArray(t)||!t.length){a=\"Missing required parameter(s)\";e.error(a,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(a)}if(!r[s]){a=\"Client is not connected\";e.error(a,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(a)}for(const n in t){const r=t[n];if(i[r.channelId]){const e=i[r.channelId];for(const n in e){const t=e[n];if(t.clientId===s){const t=c[s].channels;c[s].channels=t.filter(e=>e.channelId!==r.channelId);e.splice(n,1);break}}}else{const s=`Unknown channel Id: ${r.channelId}`;e.warning(s,null,\"sap.ushell.services.MessageBroker\")}}this._emitEvent(\"clientUnsubscribed\",s,t);return Promise.resolve()};this.publish=function(s,t,c,a,l,o){let u;let d=[];if(!n){return Promise.reject()}if(!r[t]){u=\"Client is not connected\";e.error(u,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(u)}if(!i[s]){u=`Unknown channel Id: ${s}`;e.error(u,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(u)}const h=i[s].find(e=>e.clientId===t);if(!h){u=\"Client is not subscribed to the provided channel\";e.error(u,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(u)}for(const e in l){const n=l[e];if(n===\"*\"){d=i[s].concat();break}else{const e=i[s].find(e=>e.clientId===n);if(e){d.push(this._deepCopy(e))}}}if(d.length){this._sendMessage(d,s,c,a,t,o);return Promise.resolve()}u=\"Target client(s) not found in the provided channel\";e.error(u,null,\"sap.ushell.services.MessageBroker\");return Promise.reject(u)};this.addAcceptedOrigin=function(s){if(!n){return}if(typeof s===\"string\"&&s.length>0){t[s]=true;if(s.startsWith(\"https:\")&&s.endsWith(\":443\")){t[s.substring(0,s.length-4)]=true}}else{e.warning(\"Missing required parameter sOrigin\",null,\"sap.ushell.services.MessageBroker\")}};this.removeAcceptedOrigin=function(e){if(!n){return}delete t[e]};this.getAcceptedOrigins=function(){if(!n){return}return Object.keys(t)};this.getSubscribedClients=function(){if(!n){return}return this._deepCopy(i)};this._emitEvent=function(e,s,n){const t={};for(const r in i){const c=i[r];for(const i in c){const r=c[i];if(r.clientId!==s&&!t[r.clientId]){const i={clientId:s,channels:n};if(r.isUI5!==false){r.clientConnectionCallback(e,s,n)}else{i.channelId=\"sap.ushell.MessageBroker\";i.messageName=e;sap.ui.require([\"sap/ushell/appIntegration/PostMessageManager\"],e=>{const s=this._buildPostMessageObject(\"event\",i);this._sendPostMessage(e,s,r.iframe,r.origin)})}t[r.clientId]=true}}}};this._sendMessage=function(e,s,n,t,i,r){for(const n in e){const c=e[n];if(c.clientId!==i){if(c.isUI5!==false){c.messageCallback(i,s,t,r)}else{const e={clientId:i,channelId:s,messageName:t,data:r};sap.ui.require([\"sap/ushell/appIntegration/PostMessageManager\"],s=>{const n=this._buildPostMessageObject(\"request\",e);this._sendPostMessage(s,n,c.iframe,c.origin)})}}}};this._callApi=function(e,s){return this[e].apply(this,s)};this._handlePostMessageRequest=function(e,s,n){return new Promise((t,i)=>{const r=e.clientId;const c=e.channelId;const a=e.requestId;let l=e.messageName;const o=e.subscribedChannels;const u=e.targetClientIds;const d=e.data;const h={connect:[r],disconnect:[r],subscribe:[r,o,null,null,s,n],unsubscribe:[r,o],publish:[c,r,a,l,u,d]};const g={channelId:c,clientId:r,messageName:l,requestId:a};l=h[l]?l:\"publish\";this._callApi(l,h[l]).then(()=>{if(l!==\"publish\"){sap.ui.require([\"sap/ushell/appIntegration/PostMessageManager\"],e=>{const t=this._buildPostMessageObject(\"response\",g);t.messageBody.status=\"accepted\";this._sendPostMessage(e,t,s,n)})}t({_noresponse_:true})}).catch(e=>{i(e)})})};this._buildPostMessageObjectFallback=function(e,s,n){const t=\"sap.ushell.services.MessageBroker\";if(s===\"response\"){const s={channelId:n.channelId,clientId:n.clientId,correlationMessageId:n.requestId,messageName:n.messageName};const i=e.createPostMessageResponse(t,n.requestId,s,true);return i}if(s===\"event\"){const s={channelId:n.channelId,clientId:n.clientId,messageName:n.messageName,channels:n.channels};const i=e.createPostMessageRequest(t,s);return i}if(s===\"request\"){const s={channelId:n.channelId,clientId:n.clientId,messageName:n.messageName,data:n.data};const i=e.createPostMessageRequest(t,s);return i}return e.createPostMessageRequest(t)};this._buildPostMessageObject=function(e,s){const n=\"sap.ushell.services.MessageBroker\";if(e===\"response\"){const e={channelId:s.channelId,clientId:s.clientId,correlationMessageId:s.requestId,messageName:s.messageName};return{isRequest:false,requestId:s.requestId,isSuccess:true,serviceRequest:n,messageBody:e}}if(e===\"event\"){const e={channelId:s.channelId,clientId:s.clientId,messageName:s.messageName,channels:s.channels};return{isRequest:true,serviceRequest:n,messageBody:e}}if(e===\"request\"){const e={channelId:s.channelId,clientId:s.clientId,messageName:s.messageName,data:s.data};return{isRequest:true,serviceRequest:n,messageBody:e}}return{isRequest:true,serviceRequest:n}};this._sendPostMessage=function(e,s,n,t){if(s.isRequest){e.sendRequest(s.serviceRequest,s.messageBody,n,t,false)}else{e.sendResponse(s.requestId,s.serviceRequest,s.messageBody,s.isSuccess,n,t)}};this._buildFunctionName=function(e,s){s=s.charAt(0).toUpperCase()+s.substring(1);return e+s};this._deepCopy=function(e){return s(e)}}return new a},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/MessageInternal\", [\"sap/base/Log\",\"sap/m/MessageBox\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/m/Dialog\",\"sap/m/Text\",\"sap/m/Link\",\"sap/m/Button\",\"sap/m/VBox\",\"sap/m/FormattedText\",\"sap/m/library\",\"sap/ui/core/library\"],(e,t,n,s,o,i,a,r,l,c,u,d)=>{\"use strict\";const p=u.ButtonType;const f=u.DialogType;const h=d.ValueState;const y=u.FlexRendertype;function g(){let u;this.init=function(e){u=e;return this};this.show=function(t,n,s){if(!n){e.error(\"Message must not be empty.\");return}if(u&&typeof u===\"function\"){u(t,n,s||{})}else{this.buildMessage(t,n,s||{})}};this.buildMessage=function(e,n,s){let o={title:s.title,actions:s.actions,details:s.details,onClose:s.callback,emphasizedAction:s.emphasizedAction};let i;switch(e){case g.Type.ERROR:this._createAndOpenErrorDialog(n,o);return;case g.Type.CONFIRM:if(!s.actions){i=\"confirm\"}else if(s.actions.indexOf(\"DELETE\")>-1){i=\"warning\";o.emphasizedAction=t.Action.DELETE}else{o.icon=t.Icon.QUESTION;i=\"show\"}break;case g.Type.INFO:i=\"info\";this.buildAndSendMessageToast(n,s.duration||3e3);return;default:o={duration:s.duration||3e3};i=\"show\";break}this.sendMessageBox(n,i,o)};this._copyToClipboard=function(e,t,n){let o=t.details;if(typeof t.details===\"object\"){o=JSON.stringify(t.details,null,\"\\t\")}const i=[`Title: ${n||\"-\"}`,`Message: ${e||\"-\"}`,`Details: ${o||\"-\"}`];const a=document.activeElement;const r=document.createElement(\"textarea\");let l;try{r.contentEditable=true;r.readonly=false;r.innerText=i.join(\"\\n\");document.documentElement.appendChild(r);if(navigator.userAgent.match(/ipad|iphone/i)){const e=document.createRange();e.selectNodeContents(r);window.getSelection().removeAllRanges();window.getSelection().addRange(e);r.setSelectionRange(0,999999)}else{r.select()}const e=document.execCommand(\"copy\");l=e?\"CopyWasSuccessful\":\"CopyWasNotSuccessful\"}catch(e){l=\"CopyWasNotSuccessful\"}finally{this.buildAndSendMessageToast(s.i18n.getText(l));document.documentElement.removeChild(r);window.getSelection().removeAllRanges();a.focus()}};this._createAndOpenErrorDialog=function(e,t){const o=t.details;let i;if(o){i=new c({htmlText:typeof o===\"object\"?o.info:o})}const a=this.errorWithDetails(e,i,t);if(n.last(\"/core/extension/SupportTicket\")&&e!==s.i18n.getText(\"supportTicketCreationFailed\")){a.addButton(new r({text:s.i18n.getText(\"contactSupportBtn\"),press:()=>{sap.ui.require([\"sap/ushell/ui/footerbar/ContactSupportButton\"],e=>{const t=new e;if(t){t.showContactSupportDialog();t.destroy()}});a.close()}}))}if(document.queryCommandSupported(\"copy\")){a.addButton(new r({text:s.i18n.getText(\"CopyToClipboardBtn\"),press:this._copyToClipboard.bind(this,e,t,a.getTitle())}))}a.addButton(new r({text:s.i18n.getText(\"closeBtn\"),type:p.Emphasized,press:a.close.bind(a)}))};this.buildAndSendMessageToast=function(e,t){sap.ui.require([\"sap/m/MessageToast\"],n=>{n.show(e,{duration:t})})};this.sendMessageBox=function(n,s,o){if(typeof t[s]===\"function\"){t[s](n,o)}else{e.error(`Unknown Message type: ${s}`,null,\"MessageInternal Service\")}};this.info=function(e,t){this.show(g.Type.INFO,e,{duration:t||3e3})};this.error=function(t,n){e.error(t);this.show(g.Type.ERROR,t,{title:n})};this.confirm=function(e,t,n,s){this.show(g.Type.CONFIRM,e,{title:n,callback:t,actions:s})};this.errorWithDetails=function(e,t,n,c){if(Array.isArray(t)){c=t;t=null}let u=typeof n===\"string\"?n:n?.title;if(typeof t===\"string\"){c=u;u=t;t=null}const d=new i({text:e,visible:!!e});if(t){d.addStyleClass(\"sapUiSmallMarginBottom\")}const g=new o({state:h.Error,type:f.Message,contentWidth:\"30rem\",title:u||s.i18n.getText(\"error\"),content:[new l({renderType:y.Bare,items:[d,new a({text:s.i18n.getText(\"ViewDetails\"),visible:!!t,press:function(){g.getContent()[0].addItem(t);this.destroy()}})]})],buttons:c,endButton:new r({text:s.i18n.getText(\"closeBtn\"),type:p.Emphasized,press:function(){g.close()}}),afterClose:function(){this.destroy()}}).addStyleClass(\"sapContrastPlus\");if(typeof n?.onClose===\"function\"){g.attachAfterClose(n.onClose)}g.open();return g};this.Type=g.Type}g.Type={INFO:0,ERROR:1,CONFIRM:2};g.hasNoAdapter=true;return g});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/NavTargetResolution\", [\"sap/base/Log\",\"sap/ushell/Container\",\"sap/ushell/services/NavTargetResolutionInternal\"],(e,t)=>{\"use strict\";function n(n,r,s,a){e.error(\"NavTargetResolution service has been called, which is deprecated. Remove all dependencies!\",null,\"sap.ushell.services.NavTargetResolution\");this._oNavTargetResolutionInternal=t.getService(\"NavTargetResolutionInternal\");this.expandCompactHash=function(e){return this._oNavTargetResolutionInternal.expandCompactHash(e)};this.resolveTarget=function(e){return this._oNavTargetResolutionInternal.resolveTarget(e)};this.resolveHashFragment=function(e){return this._oNavTargetResolutionInternal.resolveHashFragment(e)};this.isIntentSupported=function(e){return this._oNavTargetResolutionInternal.isIntentSupported(e)};this.registerCustomResolver=function(e){return this._oNavTargetResolutionInternal.registerCustomResolver(e)};this.isNavigationSupported=function(e){return this._oNavTargetResolutionInternal.isNavigationSupported(e)}}n.hasNoAdapter=false;return n},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/NavTargetResolutionInternal\", [\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/utils/UrlShortening\",\"sap/ushell/utils/HttpClient\",\"sap/ushell/navigationMode\",\"sap/ui/thirdparty/jquery\",\"sap/ui/performance/Measurement\",\"sap/base/util/deepExtend\",\"sap/base/util/isPlainObject\",\"sap/base/Log\",\"sap/ushell/Container\"],(e,t,n,s,i,jQuery,r,a,o,l,c)=>{\"use strict\";function u(u,p,h,d){const f=d?.config;const g=function(e){const t=this._isClientSideTargetResolutionEnabled()?this._resolveHashFragmentClientSide(e):u.resolveHashFragment(e);return t}.bind(this);let m;const v=[{name:\"DefaultAdapter\",isApplicable:function(){return true},resolveHashFragment:g.bind(this)}];let S;const b=new s;this._isClientSideTargetResolutionEnabled=function(){return!!(f&&f.enableClientSideTargetResolution)};this._nextResolveHashFragment=function(e,t){const n=e.pop();if(n.isApplicable(t)){l.info(`NavTargetResolutionInternal: custom resolver ${n.name} resolves ${t}`);const s=this._nextResolveHashFragment.bind(this,e);return n.resolveHashFragment(t,s)}return this._nextResolveHashFragment(e,t)};this._resolveHashFragmentClientSide=function(e){const t=this._validateHashFragment(e);if(!t.success){return(new jQuery.Deferred).reject(`${e} is not a valid hash fragment`).promise()}const n=t.hashFragmentWithoutHash;return this._resolveHashFragmentClientSideAndFixApplicationType(n)};this._resolveHashFragmentClientSideAndFixApplicationType=function(e){const t=new jQuery.Deferred;c.getServiceAsync(\"ClientSideTargetResolution\").then(t=>t.resolveHashFragment(e)).then(e=>{if(e&&e.applicationType===\"SAPUI5\"){e.applicationType=\"URL\"}t.resolve(e)}).catch(t.reject);return t.promise()};this._validateHashFragment=function(t){let n=\"\";const s={success:false};if(t&&t.charAt(0)!==\"#\"){throw new e.Error(\"Hash fragment expected in _validateHashFragment\",\"sap.ushell.services.NavTargetResolutionInternal\")}n=t.substring(1);if(n){s.success=true}s.hashFragmentWithoutHash=n;return s};this.expandCompactHash=function(e){const s=new jQuery.Deferred;const i=t.parseShellHash(e);if(i&&i.params&&i.params[\"sap-intent-param\"]){c.getServiceAsync(\"AppState\").then(t=>{t.getAppState(i.params[\"sap-intent-param\"][0]).done(t=>{const i=t.getData(\"sap-intent-param\");let r=e;if(i){r=n.expandParamGivenRetrievalFunction(e,\"sap-intent-param\",()=>i)}s.resolve(r)}).fail(()=>{s.resolve(e)})}).catch(s.reject)}else{s.resolve(e)}return s.promise()};const R=[\"NWBC\",\"WDA\",\"TR\"];this._adjustResolutionResultForUi5Components=function(e){if(typeof e!==\"object\"){return}delete e[\"sap.platform.runtime\"];if(e&&e.applicationType&&e.applicationType===\"SAPUI5\"){e.applicationType=\"URL\"}if(e.applicationType===\"URL\"){const t=/^SAPUI5\\.Component=(.*)/.exec(e.additionalInformation);const n=t&&t[1];if(n){e.ui5ComponentName=n}}};this._getSapSystem=function(e,t){let n;if(t&&t[\"sap-system\"]){return t[\"sap-system\"]}if(t&&t.url){n=new URL(t.url,window.location.href).searchParams.get(\"sap-system\");if(n){return n}}if(R.indexOf(t.applicationType)>=0&&e&&e.substring(1)){n=new URL(e.substring(1),window.location.href).searchParams.get(\"sap-system\");if(n){return n}}return undefined};this.resolveTarget=function(n){const s=a({},n);const i=new jQuery.Deferred;r.average(\"sap.ushell.navigation.resolveTarget\");e.storeSapSystemToLocalStorage(s);const o=t.constructShellHash(s);c.getServiceAsync(\"NavTargetResolutionInternal\").then(e=>{e.resolveHashFragment(`#${o}`).done(e=>{r.end(\"sap.ushell.navigation.resolveTarget\");i.resolve({url:e.url,text:e.text,externalNavigationMode:e.targetNavigationMode===\"explace\"})}).fail(i.reject)}).catch(i.reject);return i.promise()};this.resolveHashFragment=function(e){const t=new jQuery.Deferred;r.average(\"sap.ushell.navigation.resolveHashFragment\");this.expandCompactHash(e).done(n=>{let s=jQuery.when();if(n.indexOf(\"sap-ushell-enc-test\")>=0){const e=/sap-ushell-enc-test=([^&]*)(&.*)?$/.exec(n);if(e){const t=e[1];if(t!==\"A%20B%2520C\"){s=new jQuery.Deferred;c.getServiceAsync(\"MessageInternal\").then(e=>{e.error(\"This navigation is flagged as erroneous because\"+\" (likely the calling procedure) generated a wrong encoded hash.\"+\" Please track down the encoding error and make sure to use the CrossApplicationNavigation service for navigation.\",\"Navigation encoding wrong\");s.resolve()}).catch(s.reject)}n=n.replace(/sap-ushell-enc-test=([^&]*)&/,\"\");n=n.replace(/[&?]sap-ushell-enc-test=([^&]*)$/,\"\")}}let a=this._invokeResolveHashChain(n);if(typeof u.processPostResolution===\"function\"){a=u.processPostResolution(n,a)}jQuery.when(a,s).done(n=>{this._adjustResolutionResultForUi5Components(n);if(n&&n.navigationMode!==undefined){n.targetNavigationMode=i.getExternalNavigationMode(n.navigationMode)}else{l.error(\"Resolution Result doesn't contain mandatory navigationMode!\",\"sap.ushell.services.NavTargetResolutionInternal\")}if(o(n)&&!n.hasOwnProperty(\"sap-system\")){const t=this._getSapSystem(e,n);if(t){n[\"sap-system\"]=t}}r.end(\"sap.ushell.navigation.resolveHashFragment\");t.resolve(n)}).fail(t.reject)}).fail(t.reject);return t.promise().done(t=>this._recordNavigation(\"resolveHashFragment\",{sHashFragment:e},t))};this._invokeResolveHashChain=function(e){const t=v.map(e=>e);return this._nextResolveHashFragment(t,e).done(e=>{S=e})};this.baseResolveHashFragment=g.bind(this);this._getGetLinksResolver=function(e){let t;if(this._isClientSideTargetResolutionEnabled()){t=this._getLinksClientSide.bind(this);return{resolver:t,warning:undefined,isGetSemanticObjectLinksCall:false}}if(Object.prototype.toString.apply(e.paramsOptions)===\"[object Array]\"&&e.paramsOptions.length>0){l.warning(\"Parameter options supplied to #getLinks will be ignored because FLP is not configured to use sap.ushell.services.ClientSideTargetResolution for target resolution\",`provided parameters options: ${JSON.stringify(e.paramsOptions,null,4)}`,\"sap.ushell.services.NavTargetResolutionInternal\")}t=u&&u.getLinks&&u.getLinks.bind(u);if(t){return{resolver:t,warning:undefined,isGetSemanticObjectLinksCall:false}}t=u&&u.getSemanticObjectLinks&&u.getSemanticObjectLinks.bind(u);if(t){return{resolver:t,warning:e.hasOwnProperty(\"action\")?\"the action argument was given, however, NavTargetResolutionAdapter does not implement getLinks method. Action will be ignored.\":undefined,isGetSemanticObjectLinksCall:true}}return{resolver:undefined,warning:\"Cannot determine resolver for getLinks method\",isGetSemanticObjectLinksCall:undefined}};this.getLinks=function(e){const t=e.semanticObject;const n=e.params;const s=e.ignoreFormFactor;const i=e.ui5Component;const r=e.appStateKey;const a=e.compactIntents;const o=new jQuery.Deferred;if(/\\?/.test(t)){throw new Error(\"Parameter must not be part of semantic object\")}let u=n===undefined?undefined:JSON.parse(JSON.stringify(n));if(r){u=u||{};u[\"sap-xapp-state\"]=encodeURIComponent(r)}const p=this._getGetLinksResolver(e);if(p.warning){l.warning(\"A problem occurred while determining the resolver for getLinks\",p.warning,\"sap.ushell.services.NavTargetResolutionInternal\")}const h=p.resolver;if(h){const n=function(e){if(a){this._shortenGetSemanticObjectLinksResults(e,i).done(o.resolve)}else{o.resolve(e)}}.bind(this);if(p.isGetSemanticObjectLinksCall){const e={target:{semanticObject:t,action:\"dummyAction\"},params:u};c.getServiceAsync(\"ShellNavigationInternal\").then(r=>{r.hrefForExternal(e,true,i).then(e=>{const i=e.params||u;h(t,i,s).then(n).catch(o.reject)}).catch(o.reject)})}else{h(e).done(n).fail(o.reject)}}else{o.resolve([])}return o.promise().done(t=>this._recordNavigation(\"getLinks\",{oArgs:e},t))};this.getDistinctSemanticObjects=function(){const e=new jQuery.Deferred;if(this._isClientSideTargetResolutionEnabled()){c.getServiceAsync(\"ClientSideTargetResolution\").then(e=>e.getDistinctSemanticObjects()).then(e.resolve).catch(e.reject);return e.promise().done(e=>this._recordNavigation(\"getDistinctSemanticObjects\",{},e))}if(u&&u.getDistinctSemanticObjects){return u.getDistinctSemanticObjects()}l.error(\"Cannot execute getDistinctSemanticObjects method\",\"ClientSideTargetResolution must be enabled or NavTargetResolutionAdapter must implement getDistinctSemanticObjects method\",\"sap.ushell.services.NavTargetResolutionInternal\");return e.reject(\"Cannot execute getDistinctSemanticObjects\").promise()};this._getLinksClientSide=function(e){const n=new jQuery.Deferred;const s=new jQuery.Deferred;if((e.params||{}).hasOwnProperty(\"sap-intent-param\")){const i=`#${e.semanticObject}-dummyAction?${t.paramsToString(e.params)}`;this.expandCompactHash(i).done(e=>{const n=t.parseShellHash(e);s.resolve(n.params)}).fail(n.reject)}else{s.resolve(e.params)}s.done(()=>{c.getServiceAsync(\"ClientSideTargetResolution\").then(t=>t.getLinks(e)).then(n.resolve).catch(n.reject)});return n.promise()};this._shortenGetSemanticObjectLinksResults=function(e,n){const s=[];let i=0;let r=e.length;const a=new jQuery.Deferred;c.getServiceAsync(\"ShellNavigationInternal\").then(o=>{e.forEach(e=>{const c=t.parseShellHash(e.intent);const u=o.compactParams(c.params,undefined,n);s.push(u);s[i].done(((n,i)=>{s[n]={text:e.text,intent:`#${c.semanticObject}-${c.action}?${t.paramsToString(i)}`}}).bind(null,i)).fail(((t,n)=>{l.warning(\"Cannot shorten GetSemanticObjectLinks result, using expanded form\",`Failure message: ${n}; intent had title ''${e.title}'' and link ''${e.intent}'`,\"sap.ushell.services.NavTargetResolutionInternal\");s[t]={text:e.text,intent:e.intent}}).bind(null,i)).always(()=>{r--;if(r===0){a.resolve(s)}});i++})}).catch(a.reject);return a.promise()};this.isIntentSupported=function(e){const t={};const n=new jQuery.Deferred;if(this._isClientSideTargetResolutionEnabled()){c.getServiceAsync(\"ClientSideTargetResolution\").then(t=>t.isIntentSupported(e)).then(n.resolve).catch(n.reject);return n.promise()}if(u.isIntentSupported){return u.isIntentSupported(e)}e.forEach(e=>{t[e]={supported:undefined}});return n.resolve(t).promise()};this._isIntentSupported=function(e){const t={};const n=new jQuery.Deferred;if(this._isClientSideTargetResolutionEnabled()){c.getServiceAsync(\"ClientSideTargetResolution\").then(t=>t.isIntentSupported(e)).then(n.resolve).catch(n.reject);return n.promise()}if(u.isIntentSupported){return u.isIntentSupported(e)}e.forEach(e=>{t[e]={supported:undefined}});return n.resolve(t).promise()};this.isNavigationSupported=function(e){const n=new jQuery.Deferred;let s=[];s=e.map(e=>{if(typeof e===\"string\"){return e}return`#${t.constructShellHash(e)}`});this._isIntentSupported(s).done(e=>{const t=s.map(t=>e[t]||{supported:false});n.resolve(t)}).fail(n.reject.bind(n));return n.promise().done(t=>this._recordNavigation(\"isNavigationSupported\",{aIntents:e},t))};this._recordNavigation=function(e,t,n){const s=f?.usageRecorder||{};if(s.enabled){const i=s.serviceUrl||\"/navigation/api/v2/record\";b.post(i,{headers:{\"content-type\":\"application/json; charset=utf-8\"},data:{function:e,parameters:JSON.stringify(t),result:JSON.stringify(n)}})}return n};this.registerCustomResolver=function(e){if(typeof e.name!==\"string\"){l.error(\"NavTargetResolutionInternal: Custom Resolver must have name {string} member\");return false}if(typeof e.isApplicable!==\"function\"){l.error(\"NavTargetResolutionInternal: Custom Resolver must have isApplicable member\");return false}if(typeof e.resolveHashFragment!==\"function\"){l.error('NavTargetResolutionInternal: Custom Resolver must have \"resolveHashFragment\" member');return false}v.push(e);return true};if(f&&Array.isArray(f.resolveLocal)){m=f.resolveLocal.map(e=>e.linkId);this.registerCustomResolver({name:\"localResolveNavigationResolver\",cleanHash:function(e){if(e===\"\"){return\"#\"}const n=t.parseShellHash(e.substring(1));if(!n){return\"#\"}e=`#${n.semanticObject}-${n.action}`;return e},_getIndex:function(e){const t=this.cleanHash(e);return m.indexOf(t.substring(1))},isApplicable:function(e){return this._getIndex(e)>=0},resolveHashFragment:function(e){const n=this._getIndex(e);const s=new jQuery.Deferred;const i=JSON.parse(JSON.stringify(f.resolveLocal[n].resolveTo));const r=t.parseShellHash(e);if(r&&r.params){const e=t.paramsToString(r.params);if(e){const t=i.url.indexOf(\"?\")>=0;i.url=i.url+(t?\"&\":\"?\")+e}}s.resolve(i);return s.promise()}})}this.registerCustomResolver({name:\"LocalResolver\",aElement:undefined,cleanHash:function(e){if(e===\"\"){return undefined}const n=t.parseShellHash(e.substring(1));if(!n){return undefined}e=`#${n.semanticObject}-${n.action}`;return e},isApplicable:function(e){e=this.cleanHash(e);if(!e){return false}return e===\"#Test-url\"||e===\"#Test-local1\"||e===\"#Test-local2\"||e===\"#Test-config\"||e===\"#Test-clear\"},parseUrl:function(e){if(!this.aElement){this.aElement=window.document.createElement(\"a\")}this.aElement.href=e;return this.aElement},resolveHashFragment:function(t){const n=new jQuery.Deferred;const s=this;t=this.cleanHash(t);if(!t){return false}const i={\"#Test-config\":{applicationType:\"URL\",url:\"/sap/bc/ui5_ui5/ui2/ushell/test-resources/sap/ushell/demoapps/FioriSandboxConfigApp\",additionalInformation:\"SAPUI5.Component=sap.ushell.demoapps.FioriSandboxConfigApp\",navigationMode:\"embedded\"},none:{applicationType:\"URL\",url:\"\",additionalInformation:\"\"}};function r(e){if(localStorage){return localStorage[e]}return undefined}function a(t){if(e.calculateOrigin(s.parseUrl(t))!==e.calculateOrigin(window.location)){return undefined}return t}function o(e){return new URLSearchParams(window.location.search).get(e)}function c(e,t){if(localStorage){localStorage[e]=t}}let u;if(i[t]){u=i[t]}else if(t===\"#Test-clear\"){c(\"sap.ushell.#Test-local1\",undefined);c(\"sap.ushell.#Test-local2\",undefined);l.info(\"NavTargetResolutionInternal: Local storage keys for #Test have been cleared\");u=i[\"#Test-config\"]}else if(t===\"#Test-local1\"||t===\"#Test-local2\"||t===\"#Test-url\"){u=r(`sap.ushell.${t}`);let e;if(!u||u===\"undefined\"){e={applicationType:\"URL\",navigationMode:\"embedded\"}}else{e=JSON.parse(u)}if(window.location.hostname===\"localhost\"||f&&f.allowTestUrlComponentConfig){const n=`sap-ushell-test-${t.substring(6)}`;const s=o(`${n}-additionalInformation`);if(s){e.additionalInformation=s}const i=o(`${n}-url`);if(i){e.url=a(i)}}if(!e.url){l.info(`NavTargetResolutionInternal: No configured app for ${t} found ( local storage or url params sap-ushell-test-local1-url sap-ushell-test-local1-additionalInfo not supplied? `);l.info(\"NavTargetResolutionInternal: Defaulting to config app ...\\n\");n.reject(\"URL is not resolvable\");return n.promise()}e.url=a(e.url);u=e}if(u.url===undefined){n.reject(\"URL is not resolvable\");return n.promise()}l.info(`NavTargetResolutionInternal: As URL: http://localhost:8080/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-ushell-test-local1-url=${encodeURIComponent(u&&u.url||\"\")}&sap-ushell-test-local1-additionalInformation=${encodeURIComponent(u&&u.additionalInfo||\"\")}#Test-local1`);l.info(`NavTargetResolutionInternal: Resolving ${t} to ${JSON.stringify(u)}`);n.resolve(u);return n.promise()}});this.getCurrentResolution=function(){return S}}u.hasNoAdapter=false;return u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Navigation\", [\"sap/base/Log\",\"sap/base/util/deepClone\",\"sap/base/util/deepExtend\",\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/ui/base/Object\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/appIntegration/AppLifeCycle\",\"sap/ushell/Container\",\"sap/ushell/services/Navigation/utils\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/TechnicalParameters\",\"sap/ushell/utils\",\"sap/ushell/utils/type\",\"sap/ushell/utils/UrlParsing\"],(t,e,a,n,i,s,r,p,o,c,l,u,h,f,g)=>{\"use strict\";function m(m,y,d){let S;if(d&&d.config){S=d.config}this.getTargetWithCurrentSystem=function(e,a){if(typeof e!==\"string\"&&!n(e)&&e!==undefined){t.error(\"Unexpected input type\",null,\"sap.ushell.services.Navigation\");return undefined}if(e===undefined){return undefined}let i;let s;const r=l.getCurrentApplication();if(a){let e;try{e=a.getComponentData().startupParameters}catch(t){}if(!n(e)){t.error(\"Cannot call getComponentData on component\",\"the component should be an application root component\",\"sap.ushell.services.Navigation\")}else{if(e.hasOwnProperty(\"sap-system\")){i=e[\"sap-system\"][0]}if(e.hasOwnProperty(\"sap-ushell-next-navmode\")){s=e[\"sap-ushell-next-navmode\"][0]}}}else{if(r&&r[\"sap-system\"]){i=r[\"sap-system\"]}else if(r&&r.url){i=new URL(r.url,window.location.href).searchParams.get(\"sap-system\")}if(r&&r[\"sap-ushell-next-navmode\"]){s=r[\"sap-ushell-next-navmode\"]}else if(r&&r.url){s=new URL(r.url,window.location.href).searchParams.get(\"sap-ushell-next-navmode\")}}let p;if(r){p=r.contentProviderId}const o=c.injectParameters({type:f,inject:{\"sap-system\":i,\"sap-ushell-navmode\":s,\"sap-app-origin-hint\":p},injectEmptyString:{\"sap-app-origin-hint\":true},args:e});return o};this.amendTargetWithSapUshellEncTestParameter=function(e){if(localStorage&&localStorage[\"sap-ushell-enc-test\"]===\"false\"){return e}if(!S||!S[\"sap-ushell-enc-test\"]){if(localStorage&&localStorage[\"sap-ushell-enc-test\"]!==\"true\"){return e}}if(typeof e!==\"string\"&&!n(e)&&e!==undefined){t.error(\"Unexpected input type\",null,\"sap.ushell.services.Navigation\");return undefined}if(e===undefined){return undefined}if(n(e)){const t=a({},e);if(t.target&&t.target.shellHash){if(typeof t.target.shellHash===\"string\"){if(t.target.shellHash!==\"#\"&&t.target.shellHash!==\"\"){t.target.shellHash=this.amendTargetWithSapUshellEncTestParameter(t.target.shellHash)}}return t}t.params=t.params||{};t.params[\"sap-ushell-enc-test\"]=[\"A B%20C\"];return t}let i=e;if(!/[?&]sap-system=/.test(i)){const t=i.indexOf(\"?\")>-1?\"&\":\"?\";i+=`${t}sap-ushell-enc-test=${encodeURIComponent(\"A B%20C\")}`}return i};this._extractInnerAppRoute=function(e){if(typeof e===\"string\"){const t=e.split(\"&/\");const a=t.shift();return{intent:a,innerAppRoute:t.length>0?`&/${t.join(\"&/\")}`:\"\"}}if(n(e)){const t=i.get(\"target.shellHash\",e);if(typeof t===\"string\"){const{intent:a,innerAppRoute:n}=this._extractInnerAppRoute(t);e.target.shellHash=a;return{intent:e,innerAppRoute:n}}if(e.hasOwnProperty(\"appSpecificRoute\")){const t=e.appSpecificRoute;delete e.appSpecificRoute;const a=typeof t===\"string\"&&t.indexOf(\"&/\")!==0&&t.length>0;return{innerAppRoute:a?`&/${t}`:t,intent:e}}return{intent:e,innerAppRoute:\"\"}}t.error(\"Invalid input parameter\",\"expected string or object\",\"sap.ushell.services.Navigation\");return{intent:e}};this._injectInnerAppRoute=function(t,e){if(!e){return t}if(typeof t===\"string\"){return t+e}if(n(t)){const a=i.get(\"target.shellHash\",t);if(typeof a===\"string\"){t.target.shellHash=this._injectInnerAppRoute(a,e);return t}t.appSpecificRoute=e}return t};this.getHref=async function(a={},n){try{let i=e(a);if(!i.target){t.debug(\"Navigation.getHref: No target provided using current hash as fallback\",\"sap.ushell.services.Navigation\");const e=g.parseShellHash(r.getHash());i.target={semanticObject:e.semanticObject,action:e.action,contextRaw:e.contextRaw};i.params=e.params;if(e.appSpecificRoute&&!i.appSpecificRoute){i.appSpecificRoute=e.appSpecificRoute}}const{intent:s,innerAppRoute:l}=this._extractInnerAppRoute(i);await c.addXAppStateFromParameter(s,\"sap-xapp-state-data\");i=this.getTargetWithCurrentSystem(s,n);i=await c.injectStickyParameters({args:i,appLifeCycle:p,technicalParameters:u,type:f});i=this.amendTargetWithSapUshellEncTestParameter(i);i=this._injectInnerAppRoute(i,l);const h=await o.getServiceAsync(\"ShellNavigationInternal\");return h.hrefForExternal(i,undefined,n)}catch(e){t.error(\"href could not be calculated\",e,\"sap.ushell.services.Navigation\")}};this.backToPreviousApp=async function(){const t=await this.isInitialNavigation();if(t){return this.navigate({target:{shellHash:\"#\"},writeHistory:false})}this.historyBack();return undefined};this.historyBack=function(e){let a=-1;if(e&&typeof e===\"number\"){if(e<=0){t.warning(\"historyBack called with an argument <= 0 and will result in a forward navigation or refresh\",\"expected was an argument > 0\",\"sap.ushell.services.Navigation#historyBack\")}a=e*-1}window.history.go(a)};this.isInitialNavigation=async function(){try{const t=await o.getServiceAsync(\"ShellNavigationInternal\");const e=t.isInitialNavigation();if(typeof e===\"undefined\"){return true}return e}catch(e){t.debug(\"ShellNavigationInternal service not available\",\"This will be treated as the initial navigation\",\"sap.ushell.services.Navigation\");return true}};this.navigate=async function(a,n){try{let t=e(a);const i=a.writeHistory;this._processShellHashWithParams(t);const{intent:s,innerAppRoute:r}=this._extractInnerAppRoute(t);const l=await o.getServiceAsync(\"AppLifeCycle\");const h=await o.getServiceAsync(\"ShellNavigationInternal\");const g=l.getCurrentApplication();const m=await(g&&g.getIntent());const y=e(a);this._checkIfAppNeedsToBeReloaded(y,g,m,h.hashChanger);await c.addXAppStateFromParameter(s,\"sap-xapp-state-data\");t=this.getTargetWithCurrentSystem(s,n);t=await c.injectStickyParameters({args:t,appLifeCycle:p,technicalParameters:u,type:f});t=this.amendTargetWithSapUshellEncTestParameter(t);delete t.writeHistory;t=this._injectInnerAppRoute(t,r);await h.toExternal(t,n,i)}catch(e){t.error(\"Navigation.navigate failed\",e,\"sap.ushell.services.Navigation\")}};this._checkIfAppNeedsToBeReloaded=function(t,e,a,n){if(!e||!a||!t||!t.target){return}if(t.target.shellHash){const e=g.parseShellHash(t.target.shellHash)||{};t.target={semanticObject:e.semanticObject,action:e.action,contextRaw:e.contextRaw};t.appSpecificRoute=e.appSpecificRoute;t.params=Object.assign({},t.params,e.params)}if(t.appSpecificRoute){return}if(e.applicationType!==\"UI5\"){return}if(t.target.semanticObject!==a.semanticObject){return}if(t.target.action!==a.action){return}const i={params:{}};if(t.params){Object.keys(t.params).forEach(e=>{const a=t.params[e];const n=Array.isArray(a)?a:[a];i.params[e]=n.map(t=>t.toString())})}if(!g.haveSameIntentParameters(i,a)){return}n.setReloadApplication(true)};this.getPrimaryIntent=async function(t,e){const a={};a.tags=[\"primaryAction\"];a.semanticObject=t;if(e?.params){a.params=e.params}const[n]=await this.getLinks([a]);if(n.length===0){delete a.tags;a.action=\"displayFactSheet\";const[t]=await this.getLinks([a]);return t.length===0?null:t.sort((t,e)=>{const a=/^#\\w+-displayFactSheet(?:$|\\?.)/;if(t.intent===e.intent){return 0}const n=a.test(t.intent)^a.test(e.intent);if(n){return a.test(t.intent)?-1:1}return t.intent{if(t.intent===e.intent){return 0}return t.intent{if(Array.isArray(t)){return false}if(n(t)){return true}return false});if(!e){throw new Error(\"Unexpected Input: aLinkFilter has to be an array with plain objects!\")}if(t.length===0){t.push({})}return Promise.all(t.map(async t=>{let e=a({},t);e.compactIntents=!!e.compactIntents;e.action=e.action||undefined;e.paramsOptions=c.extractGetLinksParameterOptions(e.params);e=await c.injectStickyParameters({args:e,appLifeCycle:p,technicalParameters:u,type:f});let n;if(e.params){n=c.extractGetLinksParameterDefinition(e.params)}else{n=e.params}let i=this.getTargetWithCurrentSystem({params:n},e.ui5Component).params;i=this.amendTargetWithSapUshellEncTestParameter({params:i}).params;if(e.appStateKey){i[\"sap-xapp-state\"]=[e.appStateKey];delete e.appStateKey}e.params=i;const s=await o.getServiceAsync(\"NavTargetResolutionInternal\");return h.promisify(s.getLinks(e))}))};this.getSemanticObjects=async function(){const t=await o.getServiceAsync(\"NavTargetResolutionInternal\");return h.promisify(t.getDistinctSemanticObjects())};this.isNavigationSupported=async function(t,a){const n=e(t).map(t=>{const{intent:e}=this._extractInnerAppRoute(t);return this.getTargetWithCurrentSystem(e,a)});const i=await o.getServiceAsync(\"NavTargetResolutionInternal\");return h.promisify(i.isNavigationSupported(n))};this.isUrlSupported=async function(t){if(typeof t!==\"string\"){return Promise.reject()}if(g.isIntentUrl(t)){const e=g.getHash(t);const a={target:{shellHash:e}};const n=await this.isNavigationSupported([a]);if(!n[0].supported){return Promise.reject()}}};this.createEmptyAppState=async function(t,e,a,n){if(!s.isObjectA(t,\"sap.ui.core.UIComponent\")){return Promise.reject(\"The passed oAppComponent must be a UI5 Component.\")}const i=await o.getServiceAsync(\"AppState\");return i.createEmptyAppState(t,e,a,n)};this.getStartupAppState=function(t){this._checkComponent(t);const e=t.getComponentData()&&t.getComponentData()[\"sap-xapp-state\"]&&t.getComponentData()[\"sap-xapp-state\"][0];return this.getAppState(t,e)};this._checkComponent=function(t){if(!s.isObjectA(t,\"sap.ui.core.UIComponent\")){throw new Error(\"oComponent passed must be a UI5 Component\")}};this.getAppState=async function(e,a){this._checkComponent(e);const n=await o.getServiceAsync(\"AppState\");if(typeof a!==\"string\"){if(a!==undefined){t.error(\"Illegal Argument sAppStateKey \")}return n.createEmptyUnmodifiableAppState(e)}return h.promisify(n.getAppState(a))};this.getAppStateData=async function(e){if(!Array.isArray(e)){throw new Error(\"Unexpected Input: aAppStateKeys has to be an array with app state keys!\")}const a=await o.getServiceAsync(\"AppState\");return Promise.all(e.map(e=> Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\", [\"sap/ushell/utils\",\"sap/base/util/ObjectPath\",\"sap/base/util/deepClone\"],(t,e,n)=>{\"use strict\";const i={};i.getMap=function(t){return t.visualizations};i.get=function(t,n){return e.get([\"visualizations\",n],t)};i.getTypeMap=function(t){return t.vizTypes};i.getType=function(t,n){return e.get([\"vizTypes\",n],t)};i.getTypeId=function(t){return e.get(\"vizType\",t||{})};i.isStandardVizType=function(t){return t===\"sap.ushell.StaticAppLauncher\"||t===\"sap.ushell.DynamicAppLauncher\"};i.getSupportedDisplayFormats=function(t){return e.get([\"sap.flp\",\"vizOptions\",\"displayFormats\",\"supported\"],t||{})};i.getDefaultDisplayFormat=function(t){return e.get([\"sap.flp\",\"vizOptions\",\"displayFormats\",\"default\"],t||{})};i.getTileSize=function(t){return e.get([\"sap.flp\",\"tileSize\"],t||{})};i.getConfig=function(t){return e.get(\"vizConfig\",t||{})};i.getTarget=function(t){const n=this.getConfig(t);return e.get([\"sap.flp\",\"target\"],n||{})};i.getAppId=function(t){const n=this.getTarget(t);return e.get(\"appId\",n||{})};i.getInboundId=function(t){const n=this.getTarget(t);return e.get(\"inboundId\",n||{})};i.getOutbound=function(t,e){const n={semanticObject:e.semanticObject,action:e.action,parameters:this.getTarget(t).parameters||{}};n.parameters[\"sap-ui-app-id-hint\"]={value:{format:\"plain\",value:this.getAppId(t)}};return n};i.startsExternalUrl=function(t){const e=this.getTarget(t);return e&&e.type===\"URL\"};i.getAppDescriptor=function(t,n){return e.get([\"applications\",n],t)};i.getKeywords=function(e){const i=n(e,20);i.splice(2,1);i.splice(0,1);return t.getNestedObjectProperty(i,[\"sap|app.tags.keywords\",\"sap|app.tags.keywords\"])};i.getTitle=function(e){return t.getNestedObjectProperty(e,[\"title\",\"sap|app.title\",\"title\",\"sap|app.title\"])};i.getSubTitle=function(e){return t.getNestedObjectProperty(e,[\"subTitle\",\"sap|app.subTitle\",\"subTitle\",\"sap|app.subTitle\"])};i.getIcon=function(e){return t.getNestedObjectProperty(e,[\"icon\",\"sap|ui.icons.icon\",\"icon\",\"sap|ui.icons.icon\"])};i.getNumberUnit=function(e){const i=n(e,20);i.splice(2,2);return t.getNestedObjectProperty(i,[\"numberUnit\",\"sap|flp.numberUnit\"])};i.getInfo=function(e){return t.getNestedObjectProperty(e,[\"info\",\"sap|app.info\",\"info\",\"sap|app.info\"])};i.getShortTitle=function(e){const i=n(e,20);i.splice(0,1);return t.getNestedObjectProperty(i,[\"sap|app.shortTitle\",\"shortTitle\",\"sap|app.shortTitle\"])};i.getInstantiationData=function(t){return e.get([\"vizConfig\",\"sap.flp\",\"_instantiationData\"],t)};i.getIndicatorDataSource=function(t){return e.get([\"vizConfig\",\"sap.flp\",\"indicatorDataSource\"],t)};i.getDataSource=function(e,i){const p=n(e,20);p.splice(2,1);p.splice(0,1);const r=t.getNestedObjectProperty(p,[\"sap|app.dataSources\",\"sap|app.dataSources\"])||{};return r[i]};i.getChipConfigFromVizReference=function(t){return e.get([\"vizConfig\",\"sap.flp\",\"chipConfig\"],t)};return i},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/utilsCdm\", [\"sap/ushell/utils\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\",\"sap/base/util/deepExtend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/ObjectPath\",\"sap/base/util/merge\",\"sap/base/util/deepEqual\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications\",\"sap/ushell/utils/UrlParsing\",\"sap/base/Log\"],(e,t,i,a,s,r,n,o,p,u)=>{\"use strict\";const c={};c.getMember=function(t,i){return e.getMember(t,i)};c.getNestedObjectProperty=function(t,i,a){return e.getNestedObjectProperty(t,i,a)};c.mapOne=function(e,s,n,p,u,c){let l=false;s=i({},s);n=i({},n);p=i({},p);u=i({},u);p=p||{};u=u||{};const m={};m.semanticObject=this.getMember(s,\"semanticObject\");m.action=this.getMember(s,\"action\");const f=t.getConfig(p);m.title=t.getTitle([undefined,f,s,n]);m.info=t.getInfo([undefined,f,s,n]);m.icon=t.getIcon([undefined,f,s,n]);m.subTitle=t.getSubTitle([undefined,f,s,n]);m.shortTitle=t.getShortTitle([undefined,f,s,n]);m.keywords=t.getKeywords([undefined,f,s,n]);m.numberUnit=t.getNumberUnit([undefined,f,undefined,undefined]);m.deviceTypes=this.getMember(n,\"sap|ui.deviceTypes\")||{};[\"desktop\",\"tablet\",\"phone\"].forEach(e=>{if(Object.prototype.hasOwnProperty.call(this.getMember(s,\"deviceTypes\")||{},e)){m.deviceTypes[e]=s.deviceTypes[e]}if(!Object.prototype.hasOwnProperty.call(m.deviceTypes,e)){m.deviceTypes[e]=true}m.deviceTypes[e]=!!m.deviceTypes[e]});m.signature=this.getMember(s,\"signature\")||{};m.signature.parameters=this.getMember(m,\"signature.parameters\")||{};m.signature.additionalParameters=this.getMember(s,\"signature.additionalParameters\")||\"allowed\";const d=this.getMember(m,\"signature.parameters.sap-hide-intent-link\");if(d&&d.hasOwnProperty(\"defaultValue\")){m.hideIntentLink=d.defaultValue.value===\"true\"}if(d&&!d.required&&d.hasOwnProperty(\"defaultValue\")){delete m.signature.parameters[\"sap-hide-intent-link\"]}const h=this.getMember(n,\"sap|platform|runtime\");m.resolutionResult=i({},h);if(h){m.resolutionResult[\"sap.platform.runtime\"]=i({},h)}if(this.getMember(n,\"sap|ui.technology\")===\"GUI\"){m.resolutionResult[\"sap.gui\"]=this.getMember(n,\"sap|gui\")}if(this.getMember(n,\"sap|ui.technology\")===\"WDA\"){m.resolutionResult[\"sap.wda\"]=this.getMember(n,\"sap|wda\")}if(this.getMember(n,\"sap|ui.technology\")===\"URL\"){if(n[\"sap.url\"]){m.resolutionResult[\"sap.platform.runtime\"]=m.resolutionResult[\"sap.platform.runtime\"]||{};m.resolutionResult.url=n[\"sap.url\"].uri;m.resolutionResult[\"sap.platform.runtime\"].url=n[\"sap.url\"].uri}else if(h&&h.uri){m.resolutionResult[\"sap.platform.runtime\"].url=h.uri;m.resolutionResult.url=h.uri}}if(!m.resolutionResult[\"sap.ui\"]){m.resolutionResult[\"sap.ui\"]={}}m.resolutionResult[\"sap.ui\"].technology=this.getMember(n,\"sap|ui.technology\");m.resolutionResult.applicationType=this._formatApplicationType(m.resolutionResult,n);m.resolutionResult.systemAlias=m.resolutionResult.systemAlias||this.getMember(s,\"systemAlias\");m.resolutionResult.systemAliasSemantics=\"apply\";m.resolutionResult.text=m.title;m.resolutionResult.appId=this.getMember(n,\"sap|app.id\");let g;let b;const y=this.getMember(p,\"vizConfig.sap|flp.indicatorDataSource\");let M={};if(!a(u)){const e=this.getMember(u,\"sap|app.type\");if(e===\"card\"){l=true;M=r({},u,p.vizConfig)}else{M.componentName=this.getMember(u,\"sap|ui5.componentName\");const e=this.getMember(u,\"sap|platform|runtime.componentProperties\");if(e){M.componentProperties=e}if(this.getMember(u,\"sap|platform|runtime.includeManifest\")){M.componentProperties=M.componentProperties||{};M.componentProperties.manifest=r({},u,p.vizConfig);delete M.componentProperties.manifest[\"sap.platform.runtime\"]}}}if(this.getMember(n,\"sap|app.type\")===\"plugin\"||this.getMember(n,\"sap|flp.type\")===\"plugin\"){return undefined}const O=this.getNestedObjectProperty([f,n,u],\"sap|flp.tileSize\");const v=this.getNestedObjectProperty([f,n,u],\"sap|app.description\");if(this.getMember(n,\"sap|ui.technology\")===\"GUI\"&&this.getMember(n,\"sap|gui.transaction\")){g=this.getMember(n,\"sap|gui.transaction\")}if(this.getMember(n,\"sap|ui.technology\")===\"WDA\"&&this.getMember(n,\"sap|wda.applicationId\")){g=this.getMember(n,\"sap|wda.applicationId\")}const R=this.getNestedObjectProperty([f,n,u],\"sap|app.dataSources\");if(this.getMember(n,\"sap|app.id\")){b=this.getMember(n,\"sap|app.id\")}const T=o.getContentProviderId(n)||\"\";m.tileResolutionResult={appId:b,title:m.title,subTitle:m.subTitle,icon:m.icon,size:O,info:m.info,keywords:m.keywords,tileComponentLoadInfo:M,indicatorDataSource:y,dataSources:R,description:v,runtimeInformation:h,technicalInformation:g,deviceTypes:m.deviceTypes,isCard:l,contentProviderId:T,numberUnit:m.numberUnit};const P=this.getMember(n,\"sap|integration.urlTemplateId\");const j=this.getTemplatePayloadFromSite(P,c);if(j){m.templateContext={payload:j,site:c,siteAppSection:n}}return m};c.getTemplatePayloadFromSite=function(e,t){if(!t||typeof e!==\"string\"){return null}const i=e.replace(/[.]/g,\"|\");return this.getMember(t.urlTemplates,`${i}.payload`)};c._formatApplicationType=function(e,t){const i=e.applicationType;if(i){return i}const a=this.getMember(t,\"sap|platform|runtime.componentProperties.name\")||this.getMember(t,\"sap|ui5.componentName\");if(this.getMember(t,\"sap|flp.appType\")===\"UI5\"||this.getMember(t,\"sap|ui.technology\")===\"UI5\"){e.applicationType=\"SAPUI5\";e.additionalInformation=`SAPUI5.Component=${a}`;e.url=this.getMember(t,\"sap|platform|runtime.componentProperties.url\");e.applicationDependencies=this.getMember(t,\"sap|platform|runtime.componentProperties\");return\"SAPUI5\"}if(this.getMember(t,\"sap|ui.technology\")===\"GUI\"){e.applicationType=\"TR\";e[\"sap.gui\"]=this.getMember(t,\"sap|gui\");e.systemAlias=this.getMember(t,\"sap|app.destination.name\");return\"TR\"}if(this.getMember(t,\"sap|ui.technology\")===\"WDA\"){e.applicationType=\"WDA\";e[\"sap.wda\"]=this.getMember(t,\"sap|wda\");e.systemAlias=this.getMember(t,\"sap|app.destination.name\");return\"WDA\"}if(this.getMember(t,\"sap|ui.technology\")===\"URL\"){e.applicationType=\"URL\";e.systemAlias=this.getMember(t,\"sap|app.destination.name\")}return\"URL\"};c.formatSite=function(e){const t=this;if(!e){return[]}const i=[];try{const a=Object.keys(e.applications||{}).sort();a.forEach(a=>{try{const s=e.applications[a];const r=this.getMember(s,\"sap|app.crossNavigation.inbounds\");if(r){const a=Object.keys(r).sort();a.forEach(a=>{const n=r[a];const p=t.mapOne(a,n,s,undefined,undefined,e);if(p){p.contentProviderId=o.getContentProviderId(s)||\"\";i.push(p)}})}}catch(e){u.error(`Error in application ${a}: ${e}`,e.stack)}})}catch(e){u.error(e);u.error(e.stack);return[]}return i};c.toHashFromInbound=function(e,t){const i={target:{semanticObject:e.semanticObject,action:e.action},params:{}};if(t){i.params[\"sap-ui-app-id-hint\"]=t}const a=s.get(\"signature.parameters\",e)||{};Object.keys(a).forEach(e=>{if(a[e].filter&&Object.prototype.hasOwnProperty.call(a[e].filter,\"value\")&&(a[e].filter.format===undefined||a[e].filter.format===\"plain\")){i.params[e]=[a[e].filter.value]}if(a[e].launcherValue&&Object.prototype.hasOwnProperty.call(a[e].launcherValue,\"value\")&&(a[e].launcherValue.format===undefined||a[e].launcherValue.format===\"plain\")){i.params[e]=[a[e].launcherValue.value]}});const r=p.constructShellHash(i);if(!r){return undefined}return r};c.toHashFromOutbound=function(e){const t={target:{semanticObject:e.semanticObject,action:e.action},params:{}};const i=e.parameters||{};Object.keys(i).forEach(e=>{if(i.hasOwnProperty(e)&&typeof i[e].value===\"object\"){t.params[e]=[i[e].value.value]}});const a=p.constructShellHash(t);if(!a){return undefined}return a};c.toHashFromVizData=function(e,t){if(!e.target){return undefined}const i=e.target;if(i.type===\"URL\"){return i.url}const a=i.appId;const s=i.inboundId;let r;if(a&&s){const e=o.getInboundTarget(t,a,s);r={};if(e){r.semanticObject=e.semanticObject;r.action=e.action;r.parameters=i.parameters||{};r.parameters[\"sap-ui-app-id-hint\"]={value:{value:a,format:\"plain\"}};r.appSpecificRoute=i.appSpecificRoute||\"\"}}else if(i.semanticObject&&i.action){r=i}return c.toHashFromTarget(r)};c.toHashFromTargetIntent=function(e,t){try{if(t.type===\"URL\"){return t.url}const i={};i.semanticObject=e.semanticObject;i.action=e.action;i.parameters=t.parameters||{};i.parameters[\"sap-ui-app-id-hint\"]={value:{value:e.businessAppId,format:\"plain\"}};i.appSpecificRoute=t.appSpecificRoute||\"\";return c.toHashFromTarget(i)}catch(e){return undefined}};c.toHashFromTarget=function(e){try{const t={};const i=s.get(\"parameters\",e)||{};Object.keys(i).forEach(e=>{t[e]=Array.isArray(i[e].value.value)?i[e].value.value:[i[e].value.value]});const a={target:{semanticObject:e.semanticObject,action:e.action},params:t,appSpecificRoute:e.appSpecificRoute};return`#${p.constructShellHash(a)}`}catch(e){return undefined}};c.toTargetFromHash=function(e){let t=p.parseShellHash(e);if(t!==undefined){const e=t.params||{};if(Object.keys(e).length>0){t.parameters=[];Object.keys(e).forEach(i=>{const a=Array.isArray(e[i])?e[i]:[e[i]];a.forEach(e=>{const a={name:i,value:e};t.parameters.push(a)})})}delete t.params}else{t={type:\"URL\",url:e}}return t};c.isSameTarget=function(e,t){let i;if(e.type!==t.type){return false}if(e.type===\"URL\"){i=e.url===t.url}else{i=e.semanticObject===t.semanticObject&&e.action===t.action&&e.appSpecificRoute===t.appSpecificRoute&&n(e.parameters,t.parameters)}return i};return c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cep/MenuAdapter\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/ushell/components/tiles/utils\",\"sap/ushell/Config\",\"sap/ushell/library\",\"sap/ushell/utils/HttpClient\",\"sap/ushell/utils/workpage/WorkPageService\"],(t,e,n,i,s,a,o)=>{\"use strict\";const r=s.ContentNodeType;const u=\"sap.ushell.adapters.cep.MenuAdapter\";const p={Workpage:\"workpage\",Visualization:\"visualization\"};const l={workpage:\"workpage\",page:\"page\"};const c={Menu:\"FLP menu\",ContentNodes:\"content nodes\"};function d(e,n,i){if(i&&i.config&&i.config.serviceUrl&&i.config.siteId){this.httpClient=new a;this.serviceUrl=i.config.serviceUrl;this.siteId=i.config.siteId;this.oWorkPageService=new o;this.oSiteDataPromise=this._doRequest(this.serviceUrl,this.siteId);this.oVizDataPromise=this._loadVisualizations()}else{t.error(\"Invalid configuration provided.\",\"\",u)}}d.prototype._loadVisualizations=async function(){const t=await this._getVisualizationIds();if(t.length>0){const e={filter:[{id:{in:t}}]};return this.oWorkPageService.loadVisualizations(e,true)}};d.prototype.isMenuEnabled=function(){if(!i.last(\"/core/menu/enabled\")){return Promise.resolve(false)}return this.getMenuEntries().then(t=>t.length>0)};d.prototype.isSideNavigationEnabled=async function(){if(!i.last(\"/core/sideNavigation/enabled\")){return false}const t=await this.getMenuEntries();return t.length>0};d.prototype.getMenuEntries=async function(){const[t,e]=await Promise.all([this._getMenu(),this._getVisualizations()]);return this._buildMenuEntries(t,e)};d.prototype.getContentNodes=async function(){const t=await this._getMenu();return this._buildContentNodes(t)};d.prototype._getVisualizationIds=async function(){const e=new Set;const n=await this._getMenu();n.forEach(n=>{if(!Array.isArray(n?.subMenu)){t.warning(`Menu entry ${n.id} does not contain a sub menu array for site-id: ${this.siteId}, ${u}`);return}n.subMenu.forEach(t=>{if(t.type===p.Visualization&&t.id){e.add(t.id)}})});return[...e]};d.prototype._buildMenuEntries=function(t,e){return t.filter(this._isSpaceNotEmpty.bind(null,c.Menu)).map(t=>{const n=this._buildMenuEntry(t,e);const i=[];t.subMenu.forEach(n=>{n.spaceid=t.id;const s=this._buildMenuEntry(n,e);i.push(s)});if(i.length>1){n.menuEntries=i}return n})};d.prototype._buildMenuEntry=function(e,i){let s=e;let a=e.title;let o=e.icon;let r=\"Page-\";let l=\"Launchpad\";let c=\"openFLPPage\";let d=\"pageId\";let g=e.id;if(Array.isArray(e?.subMenu)&&e.subMenu.length>0){s=e.subMenu[0];r=\"Space-\";g=s.id;if(e.subMenu.length===1&&s.type===p.Visualization){a=s.title;o=s.icon}}const f=i.find(t=>t.id===s?.id);if(f&&f!==undefined){r=\"App-\";d=\"sap-ui-app-id-hint\";if(f.targetAppIntent){g=f.targetAppIntent.businessAppId;l=f.targetAppIntent.semanticObject;c=f.targetAppIntent.action}else{t.warning(`Visualization ${f.id} does not contain a targetAppIntent for site-id: ${this.siteId}, ${u}`)}}if(!n.isIconURIValid(o)){o=undefined}return{title:a,\"help-id\":r+e.id,description:\"\",icon:o,type:\"IBN\",target:{semanticObject:l,action:c,parameters:[{name:\"spaceId\",value:e.spaceid||e.id},{name:d,value:g}],innerAppRoute:undefined},menuEntries:[]}};d.prototype._buildContentNodes=function(t){return t.filter(this._isSpaceNotEmpty.bind(null,c.ContentNodes)).map(t=>({id:t.id,label:t.title||t.id,type:r.Space,isContainer:false,children:t.subMenu.map(t=>{const e=t.type===p.Workpage;return{id:t.id,label:t.title||t.id,type:e?r.Page:r.Visualization,isContainer:t?.pageType===l.page,children:[]}})}))};d.prototype.isWorkPage=async function(t){const e=await this._getMenu();const n=e.flatMap(t=>t.subMenu||[]).filter(t=>t.pageType===l.workpage&&t.type===p.Workpage).find(e=>e.id===t);return!!n};d.prototype._doRequest=function(n,s){let a=`{\\n menu(siteId: \"${s}\")\\n }`;a=a.replace(/\\n/g,\"\").replace(/ /g,\"\");const o={\"Content-Type\":\"application/json\",Accept:\"application/json\",\"Accept-Language\":e.getLanguageTag().toString()};if(i.last(\"/core/site/sapCdmVersion\")){o[\"sap-cdm-content-version\"]=i.last(\"/core/site/sapCdmVersion\")}return this.httpClient.get(`${n}?query=${encodeURIComponent(a)}`,{headers:o}).then(e=>{if(e.status<200||e.status>=300){t.error(e.responseText,\"\",u);return Promise.reject(`HTTP request to GraphQL service failed with status: ${e.status} - ${e.statusText}`)}return JSON.parse(e.responseText||\"{}\")}).then(t=>{try{t.data.menu=t.data.menu.filter(t=>t.id!==\"default_space\")}catch(t){}return t})};d.prototype._getMenu=async function(){const e=await this.oSiteDataPromise;if(Array.isArray(e?.data?.menu)&&e.data.menu.length>0){return e.data.menu}t.warning(`No menu found for site-id: ${this.siteId}`,\"\",u);return[]};d.prototype._getVisualizations=async function(){const e=await this.oVizDataPromise;if(Array.isArray(e?.visualizations?.nodes)&&e.visualizations.nodes.length>0){return e.visualizations.nodes}t.info(`No visualizations found for site-id: ${this.siteId}`,\"\",u);return[]};d.prototype._isSpaceNotEmpty=function(e,n){if(!(Array.isArray(n?.subMenu)&&n.subMenu.length>0)||!n.subMenu?.some(t=>Object.keys(t).length>0)){t.warning(`FLP space ${n.id} without sub menu content omitted in ${e}.`,\"\",u);return false}return true};return d});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cep/NavTargetResolutionAdapter\", [\"sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter\"],e=>{\"use strict\";return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter\", [\"sap/base/i18n/Localization\",\"sap/base/util/ObjectPath\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Container\",\"sap/ushell/services/ClientSideTargetResolution/VirtualInbounds\",\"sap/ushell/utils/HttpClient\",\"sap/ushell/Config\"],(t,e,jQuery,n,i,o,r)=>{\"use strict\";function s(t,e,n){this.oAdapterConfiguration=n;this._addVirtualInboundsToApplications();this._initializeHttpClient()}s.prototype._addVirtualInboundsToApplications=function(){const t=e.create(\"config.applications\",this.oAdapterConfiguration);const n=i.getInbounds();n.forEach(e=>{const n=`${e.semanticObject}-${e.action}`;t[n]=e.resolutionResult})};s.prototype._getIntentForService=function(t){return n.getServiceAsync(\"URLParsing\").then(e=>{const n=e.parseShellHash(t);return{semanticObject:n.semanticObject,semanticObjectAction:n.action,intentParameters:n.params,queryParameters:{siteId:r.last(\"/core/site/siteId\")||\"\"}}})};s.prototype._initializeHttpClient=function(){const e={\"Content-Type\":\"application/json; charset=utf-8\",Accept:\"application/json\",\"Accept-Language\":t.getLanguageTag().toString()||\"\"};const n=`${this.oAdapterConfiguration.config.navServiceUrl}/`;this.oHttpClient=new o(n,{headers:e})};s.prototype.toPromise=function(t){const e=this;return function(n){const i=new jQuery.Deferred;t.call(e,n).then(i.resolve).catch(i.reject).finally(i.always);return i.promise()}};s.prototype.resolveHashFragment=function(t){return this.toPromise(this._resolveHashFragment).call(this,t)};s.prototype._resolveHashFragment=function(t){return this._getIntentForService(t).then(t=>{const e=`${this.oAdapterConfiguration.config.navServiceUrl}/resolve`;return this.oHttpClient.post(e,{data:JSON.stringify(t)}).then(t=>{if(t.status<200||t.status>=300){return Promise.reject(`HTTP request to navigation service failed with status: ${t.status} - ${t.statusText}`)}return JSON.parse(t.responseText)}).then(t=>{const e=t.value||t;const n=Array.isArray(e)?e[0].url:e.url;return{additionalInformation:\"\",url:n,applicationType:\"URL\",navigationMode:\"newWindow\"}})})};s.prototype.isIntentSupported=function(t){const e={};t.forEach((t,n)=>{e[t]={supported:true}});const n=new jQuery.Deferred;n.resolve(e);return n.promise()};return s},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cep/SearchCEPAdapter\", [\"sap/ui/core/Lib\",\"sap/ui/model/json/JSONModel\",\"sap/ui/model/Filter\",\"sap/ui/model/Sorter\",\"sap/ushell/Container\"],(e,t,i,r,o)=>{\"use strict\";function n(e,t,i){}n.prototype.search=function(e){return this._searchWithSearchableContentAndJsSearch(e)};n.prototype._searchWithSearchableContentAndJsSearch=function(e){return Promise.all([this._getNormalizedSearchableContentApps(e),this._loadJsSearchModule()]).then(t=>{const i=t[0];const r=t[1];const o=new r({objects:i,fields:[\"title\",\"label\",\"contentProviderLabel\",\"description\",\"keywords\",\"fioriAppId\"],shouldNormalize:!String.prototype.normalize,algorithm:{id:\"contains-ranked\",options:[50,49,40,39,5,4,51]}});const n={searchFor:e?.searchTerm||\"*\",top:Number.MAX_SAFE_INTEGER,skip:0};const s=o.search(n);const a=s.results.map(e=>e.object);return this._getPaginatedResult(this._applyFiltersAndSorter(a,e.filter,e.sort),e.skip||0,e.top||10)})};n.prototype._getPaginatedResult=function(e,t,i){return{data:e.slice(t,t+i),count:e.length}};n.prototype._getSearchableContent=function(e){const t=e&&{includeAppsWithoutVisualizations:!!e.includeAppsWithoutVisualizations,enableVisualizationPreview:e.enableVisualizationPreview!==false};return o.getServiceAsync(\"SearchableContent\").then(e=>e.getApps(t))};n.prototype._getNormalizedSearchableContentApps=function(e){return this._getSearchableContent(e).then(e=>this._normalizeSearchableContentServiceResult(e))};n.prototype._normalizeSearchableContentServiceResult=function(e){if(!Array.isArray(e)){e=[]}const t=[];let i;let r;let o;let n;let s;e.forEach(e=>{if(e.visualizations&&e.visualizations.length>0){e.visualizations.forEach(a=>{i=a.vizConfig&&a.vizConfig[\"sap.app\"]&&a.vizConfig[\"sap.app\"].title||a.title||e.title;r=a.vizConfig&&a.vizConfig[\"sap.app\"]&&a.vizConfig[\"sap.app\"].subTitle||a.subtitle||e.subtitle;o=a.vizConfig&&a.vizConfig[\"sap.app\"]&&a.vizConfig[\"sap.app\"].description||a.description||e.description;s=a?.vizConfig?.[\"sap.fiori\"]?.registrationIds||[];n=r?`${i} - ${r}`:i;t.push({fioriAppId:s.join(\" \"),title:i,description:r,longDescription:o||\"\",keywords:Array.isArray(a.keywords)?a.keywords.join(\" \"):\"\",icon:a.icon||\"\",label:n,contentProviderLabel:a.contentProviderLabel||\"\",visualization:a,url:a.targetURL,technicalAttributes:Array.isArray(e.technicalAttributes)?e.technicalAttributes.join(\" \"):\"\"})})}else{i=e.title;r=e.subtitle;n=r?`${i} - ${r}`:i;t.push({title:i,description:r,longDescription:e.description||\"\",keywords:Array.isArray(e.keywords)?e.keywords.join(\" \"):\"\",icon:e.icon||\"\",label:n,url:e.targetURL,technicalAttributes:Array.isArray(e.technicalAttributes)?e.technicalAttributes.join(\" \"):\"\"})}});return t};n.prototype._loadJsSearchModule=function(){this._loadJsSearchModulePromise=new Promise(t=>{e.load(\"sap.esh.search.ui\").then(()=>{sap.ui.require([\"sap/esh/search/ui/appsearch/JsSearch\"],e=>{t(e)})})});return this._loadJsSearchModulePromise};n.prototype._createFilters=function(e){let t=null;if(e){if(typeof e===\"object\"){if(Array.isArray(e.filters)){e.filters=e.filters.map(e=>e instanceof i?e:new i(e))}t=[e instanceof i?e:new i(e)]}}return t};n.prototype._createSorters=function(e){let t=null;if(e){if(typeof e===\"object\"&&!Array.isArray(e)){e=[e]}if(Array.isArray(e)){t=e.map(e=>e instanceof r?e:new r(e))}}return t};n.prototype._applyFiltersAndSorter=function(e,i,r){if(!i&&!r){return e}const o=this._createFilters(i);const n=this._createSorters(r);const s=new t;s.setSizeLimit(Number.MAX_SAFE_INTEGER);s.setData(e);return s.bindList(\"/\",null,n,o).getContexts().map(e=>e.getObject())};return n},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter\", [\"sap/ushell/utils/HttpClient\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/base/util/ObjectPath\",\"sap/ushell/Container\"],(e,jQuery,t,r,a)=>{\"use strict\";function s(e,t,r){this.sBaseServicePath=\"/sap/opu/odata/UI2/INTEROP/\";this.oConfig={};if(r&&r.userBaseServicePath!==undefined){this.oConfig.sBaseServicePath=r.userBaseServicePath}else{this.oConfig.sBaseServicePath=this.sBaseServicePath}this.oConfig.oHttpClientConfig={\"sap-language\":a.getUser().getLanguage(),\"sap-client\":a.getLogonSystem().getClient(),\"sap-statistics\":true,headers:{Accept:\"application/json\"},data:{}};this._mSystems={}}s.prototype.loadParameterValue=function(e,t){const r=new jQuery.Deferred;const a=this._isValidParameterName(e);if(a){this._getUserDefaultParameterContainer(t).done(t=>{const a=t.find(t=>t.id===e);if(a!==undefined){const e=JSON.parse(a.value);r.resolve(e)}else{r.reject(`Parameter does not exist: ${e}`)}}).fail(e=>{r.reject(e)})}else{r.reject(`Illegal Parameter Key. Parameter must be less than 40 characters and [A-Za-z0-9.-_]+ :\"${e}\"`)}return r.promise()};s.prototype._createRequest=function(e){return{data:{PersContainerItems:e,appName:\"\",category:\"P\",component:\"\",id:\"sap.ushell.UserDefaultParameter\"},headers:{\"content-type\":\"application/json\",accept:\"application/json\"}}};s.prototype.saveParameterValue=function(e,t,r){const a=new jQuery.Deferred;const s=this._isValidParameterName(e);if(s){const s=this._getXHttpWrapper(r);this._getUserDefaultParameterContainer(r).done(r=>{const n=r.findIndex(t=>t.id===e);if(n>-1){r[n].value=JSON.stringify(t)}else{const a={category:\"I\",containerCategory:\"P\",containerId:\"sap.ushell.UserDefaultParameter\",id:e,value:JSON.stringify(t)};r.push(a)}s.post(\"PersContainers\",this._createRequest(r)).then(a.resolve).catch(a.reject)}).fail(a.reject)}else{a.reject(`Illegal Parameter Key. Parameter must be less than 40 characters and [A-Za-z0-9.-_]+ :\"${e}\"`)}return a.promise()};s.prototype.deleteParameter=function(e,t){const r=new jQuery.Deferred;const a=this._isValidParameterName(e);if(a){const a=this._getXHttpWrapper(t);this._getUserDefaultParameterContainer(t).done(t=>{const s=t.findIndex(t=>t.id===e);if(s>-1){t.splice(s,1);a.post(\"PersContainers\",this._createRequest(t)).then(r.resolve).catch(r.reject)}else{r.resolve()}}).fail(r.reject)}else{r.reject(`Illegal Parameter Key. Parameter must be less than 40 characters and [A-Za-z0-9.-_]+ :\"${e}\"`)}return r.promise()};s.prototype.getStoredParameterNames=function(e){const t=new jQuery.Deferred;this._getUserDefaultParameterContainer(e).done(e=>{const r=e.map(e=>e.id);r.sort();t.resolve(r)}).fail(e=>{t.reject(e)});return t.promise()};s.prototype._getXHttpWrapper=function(t){if(!this._mSystems[t.id]){this._mSystems[t.id]={}}if(!this._mSystems[t.id].oHttpWrapper){const r=t.getFullyQualifiedXhrUrl(this.oConfig.sBaseServicePath);this._mSystems[t.id].oHttpWrapper=new e(r,this.oConfig.oHttpClientConfig)}return this._mSystems[t.id].oHttpWrapper};s.prototype._isValidParameterName=function(e){const r=!!(typeof e===\"string\"&&e.length<=40&&/^[A-Za-z0-9.-_]+$/.exec(e));if(!r){t.error(`Illegal Parameter Key. Parameter must be less than 40 characters and [A-Za-z0-9.-_]+ :\"${e}\"`)}return r};s.prototype._getUserDefaultParameterContainer=function(e){const t=new jQuery.Deferred;let a;try{a=this._getXHttpWrapper(e)}catch(e){t.reject(e.message);return t.promise()}const s=this._mSystems[e.id];if(!s.oContainerCache){s.oContainerCache=t;const e=a.get(\"PersContainers(category='P',id='sap.ushell.UserDefaultParameter')?$expand=PersContainerItems\");e.then(e=>{s.bDataReceived=true;const t=e.responseText?JSON.parse(e.responseText):{};const a=r.get(\"d.PersContainerItems.results\",t)||[];s.oContainerCache.resolve(a)}).catch(e=>{if(e.status===404){s.oContainerCache.resolve([])}else{const t=`Server error: ${e.statusText}`;s.oContainerCache.reject(t)}})}return s.oContainerCache.promise()};return s},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/AdapterContainer\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/util/Storage\",\"sap/ushell/utils\"],(jQuery,t,e)=>{\"use strict\";let s;function n(){return new t(t.Type.local,\"com.sap.ushell.adapters.sandbox.Personalization\")}function o(t){try{return JSON.parse(t)}catch(t){return undefined}}function r(t){return JSON.stringify(t)}function i(t){if(t===undefined){return undefined}try{return JSON.parse(JSON.stringify(t))}catch(t){return undefined}}function a(t,n,o){s=o;this._sContainerKey=t;this._sStorageType=n;this._oItemMap=new e.Map}a.prototype.constants={storage:{MEMORY:\"MEMORY\",LOCAL_STORAGE:\"LOCAL_STORAGE\"}};a.prototype.load=function(){const t=new jQuery.Deferred;switch(this._sStorageType){case this.constants.storage.LOCAL_STORAGE:const e=n();setTimeout(()=>{const s=e.get(this._sContainerKey);this._oItemMap.entries=o(s)||{};t.resolve(this)},0);break;case this.constants.storage.MEMORY:setTimeout(()=>{this._oItemMap.entries=i(s[this._sContainerKey])||{};t.resolve(this)},0);break;default:setTimeout(()=>{t.reject(\"unknown storage type\")},0)}return t.promise()};a.prototype.save=function(){const t=new jQuery.Deferred;switch(this._sStorageType){case this.constants.storage.LOCAL_STORAGE:const e=n();setTimeout(()=>{const s=r(this._oItemMap.entries);e.put(this._sContainerKey,s);t.resolve()},0);break;case this.constants.storage.MEMORY:setTimeout(()=>{s[this._sContainerKey]=i(this._oItemMap.entries);t.resolve()},0);break;default:setTimeout(()=>{t.reject(\"unknown storage type\")},0)}return t.promise()};a.prototype.del=function(){const t=new jQuery.Deferred;switch(this._sStorageType){case this.constants.storage.LOCAL_STORAGE:const e=n();setTimeout(()=>{e.remove(this._sContainerKey);this._oItemMap.entries={};t.resolve()},0);break;case this.constants.storage.MEMORY:setTimeout(()=>{if(s&&s[this._sContainerKey]){delete s[this._sContainerKey]}this._oItemMap.entries={};t.resolve()},0);break;default:setTimeout(()=>{t.reject(\"unknown storage type\")},0)}return t.promise()};a.prototype.getItemKeys=function(){return this._oItemMap.keys()};a.prototype.containsItem=function(t){return this._oItemMap.containsKey(t)};a.prototype.getItemValue=function(t){return this._oItemMap.get(t)};a.prototype.setItemValue=function(t,e){this._oItemMap.put(t,e)};a.prototype.delItem=function(t){this._oItemMap.remove(t)};return a},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/AppStateAdapter\", [\"sap/ushell/services/appstate/AppStatePersistencyMethod\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/ushell/Container\"],(e,jQuery,t,r)=>{\"use strict\";function n(e,t,r){this._oConfig=r&&r.config}n.prototype._getPersonalizationService=function(){return r.getServiceAsync(\"PersonalizationV2\")};n.prototype.saveAppState=function(e,n,o,s,a,i,c){const p=new jQuery.Deferred;this._getPersonalizationService().then(n=>{n.createEmptyContainer(e,{keyCategory:n.KeyCategory.GENERATED_KEY,writeFrequency:n.WriteFrequency.HIGH,clientStorageAllowed:false}).then(e=>{e.setItemValue(\"appStateData\",o);e.setItemValue(\"persistencyMethod\",i);e.setItemValue(\"persistencySettings\",c);e.setItemValue(\"createdBy\",r&&r.getUser&&r.getUser().getId());e.save().then(()=>{p.resolve()}).catch(e=>{p.reject(e);t.error(e)})}).catch(e=>{t.error(e);p.reject(e)})});return p.promise()};n.prototype.loadAppState=function(r){const n=new jQuery.Deferred;const o=this;this._getPersonalizationService().then(s=>{s.getContainer(r,{keyCategory:s.KeyCategory.GENERATED_KEY,writeFrequency:s.WriteFrequency.HIGH,clientStorageAllowed:false}).then(t=>{const s=t.getItemValue(\"appStateData\");const a=t.getItemValue(\"persistencyMethod\");const i=t.getItemValue(\"persistencySettings\");const c=t.getItemValue(\"createdBy\");if(a===undefined){n.resolve(r,s)}else if(a===e.PersonalState){if(o.getCurrentUserForTesting()===\"\"||o.getCurrentUserForTesting()===c){n.resolve(r,s,a,i)}else{n.reject(\"Unauthorized User ID\")}}}).catch(e=>{t.error(e);n.reject(e)})});return n.promise()};n.prototype.deleteAppState=function(e){const r=new jQuery.Deferred;this._getPersonalizationService().then(n=>{n.deleteContainer(e).then(()=>{r.resolve()}).catch(e=>{t.error(e);r.reject(e)})});return r.promise()};n.prototype.getCurrentUserForTesting=function(){return\"\"};n.prototype.getSupportedPersistencyMethods=function(){return[]};return n},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/ClientSideTargetResolutionAdapter\", [\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/ushell/Container\"],(jQuery,e,t)=>{\"use strict\";function n(n,o,i){this._oConfig=i&&i.config;this._aInbounds=[];if(!this._oConfig){this._oSystemAliases={};e.warning(\"No configuration supplied!\",\"\",\"sap.ushell.adapters.local.ClientSideTargetResolutionAdapter\")}else{if(this._oConfig.inbounds){this._aInbounds=this._transformInboundsObjectToInboundsArray(this._oConfig.inbounds)}if(this._oConfig.applications){Array.prototype.push.apply(this._aInbounds,this._transformApplicationsToInbounds(this._oConfig.applications))}if(this._aInbounds.length===0){e.warning(\"Adapter got no inbounds via configuration!\",\"\",\"sap.ushell.adapters.local.ClientSideTargetResolutionAdapter\")}this._oSystemAliases=this._oConfig.systemAliases||{};e.debug(\"Adapter got no system aliases via configuration\",\"\",\"sap.ushell.adapters.local.ClientSideTargetResolutionAdapter\")}const s=t.getLogonSystem().getProductName()||\"\";this._oLocalSystemAlias={http:{host:\"\",port:0,pathPrefix:\"/sap/bc/\"},https:{host:\"\",port:0,pathPrefix:\"/sap/bc/\"},rfc:{systemId:\"\",host:\"\",service:0,loginGroup:\"\",sncNameR3:\"\",sncQoPR3:\"\"},id:\"\",label:\"local\",client:\"\",language:\"\",properties:{productName:s}}}n.prototype.getInbounds=function(){const e=new jQuery.Deferred;const t=this;setTimeout(()=>{e.resolve(t._aInbounds)},0);return e.promise()};n.prototype.resolveSystemAlias=function(e){const t=new jQuery.Deferred;setTimeout(()=>{if(this._oSystemAliases.hasOwnProperty(e)){t.resolve(this._oSystemAliases[e])}else if(e===\"\"){t.resolve(this._oLocalSystemAlias)}else{t.reject(\"No system alias value available\")}},0);return t.promise()};n.prototype._transformApplicationsToInbounds=function(t){let n;const o=[];let i;let s;let a;function l(e,t){if(e===\"NWBC\"&&t){if(t.indexOf(\"/~canvas;window=app/wda\")>=0){return\"WDA\"}return\"TR\"}return e}for(n in t){if(t.hasOwnProperty(n)&&n.indexOf(\"_\")!==0){s={};if(n.indexOf(\"-\")>-1){a=n.split(\"-\",2);s.semanticObject=a[0];s.action=a[1]}else if(n===\"\"){s.semanticObject=\"\";s.action=\"\"}else{e.warning(`Excluded syntactically incorrect intent '${n}' from inbounds array`,\"\",\"sap.ushell.adapters.local.ClientSideTargetResolutionAdapter\");continue}i=t[n];s.title=i.description||\"\";s.signature={parameters:{}};s.signature.additionalParameters=\"allowed\";s.resolutionResult={};s.resolutionResult.applicationType=l(i.applicationType,i.url);s.resolutionResult.additionalInformation=i.additionalInformation||\"\";if(s.resolutionResult.additionalInformation&&s.resolutionResult.additionalInformation.indexOf(\"SAPUI5.Component=\")!==-1){s.resolutionResult.applicationType=\"SAPUI5\";s.resolutionResult.ui5ComponentName=s.resolutionResult.additionalInformation.split(\"SAPUI5.Component=\",2)[1];if(i.applicationDependencies){s.resolutionResult.applicationDependencies=i.applicationDependencies}else{s.resolutionResult.applicationDependencies={self:{name:s.resolutionResult.ui5ComponentName},asyncHints:{libs:[{name:\"sap.ui.core\"},{name:\"sap.ui.unified\"}]}}}}s.resolutionResult.url=i.url;o.push(s)}}return o};n.prototype._transformInboundsObjectToInboundsArray=function(e){let t;const n=[];let o;for(t in e){if(e.hasOwnProperty(t)){o=e[t];if(o.resolutionResult.additionalInformation&&o.resolutionResult.additionalInformation.indexOf(\"SAPUI5.Component=\")!==-1){o.resolutionResult.ui5ComponentName=o.resolutionResult.additionalInformation.split(\"SAPUI5.Component=\",2)[1];if(!o.resolutionResult.hasOwnProperty(\"applicationDependencies\")){o.resolutionResult.applicationDependencies={self:{name:o.resolutionResult.ui5ComponentName},asyncHints:{libs:[{name:\"sap.ui.core\"},{name:\"sap.ui.unified\"}]}}}}n.push(e[t])}}return n};return n},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/ContainerAdapter\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/deepClone\",\"sap/base/util/ObjectPath\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/System\",\"sap/ushell/User\",\"sap/ushell/utils\"],(e,t,s,a,jQuery,i,n,o)=>{\"use strict\";function r(r,l,c){let m;const u=a.create(\"config\",c);const p={id:\"DEFAULT_USER\",firstName:\"Default\",lastName:\"User\",fullName:\"Default User\",accessibility:false,isJamActive:false,language:t.getLanguage()||\"en\",bootTheme:{theme:\"sap_horizon\",root:\"\"},themeRoot:\"/sap/public/bc/themes/\",setAccessibilityPermitted:true,setThemePermitted:true,isLanguagePersonalized:false,setContentDensityPermitted:true,trackUsageAnalytics:null};for(const e in u){if(u.hasOwnProperty(e)){p[e]=u[e]}}r=new i({alias:r.getAlias(),platform:r.getPlatform(),productName:a.get(\"systemProperties.productName\",u),productVersion:a.get(\"systemProperties.productVersion\",u),systemName:a.get(\"systemProperties.systemName\",u),systemRole:a.get(\"systemProperties.systemRole\",u),tenantRole:a.get(\"systemProperties.tenantRole\",u)});this.getSystem=function(){return r};this.getUser=function(){return m};this.sessionKeepAlive=function(){e.warn(\"Demo container adapter sessionKeepAlive called\")};function f(e){const t=s(e);const a=[\"id\",\"email\",\"firstName\",\"lastName\",\"fullName\",\"isJamActive\",\"isAdminUser\",\"timeZone\",\"language\",\"languageBcp47\",\"image\",\"isImageConsent\",\"isLanguagePersonalized\",\"calendarWeekNumbering\",\"trackUsageAnalytics\",\"contentDensity\",\"setContentDensityPermitted\",\"accessibility\",\"setAccessibilityPermitted\",\"bootTheme\",\"themeRoot\",\"ranges\",\"setThemePermitted\",\"importBookmarks\",\"showMyHome\",\"detectDarkMode\"];Object.keys(t).forEach(e=>{if(!a.includes(e)){delete t[e]}});return t}this.load=function(){const e=new jQuery.Deferred;if(u&&typeof u.setUserCallback===\"string\"){const t=new jQuery.Deferred;const s=u.setUserCallback.split(\".\");const i=s.pop();let r;if(s.length===0){r=window}else{r=a.get(s.join(\".\"))}if(r&&typeof r[i]===\"function\"){r[i](t)}else{throw new o.Error(`ContainerAdapter local platform: Cannot execute setUserCallback - ${u.setUserCallback}`)}t.done(t=>{[\"id\",\"firstName\",\"lastName\",\"fullName\"].forEach(e=>{if(t[e]&&typeof u.setUserCallback!==\"function\"){p[e]=t[e]}});const s=f(p);m=new n(s);e.resolve()})}else{const t=f(p);m=new n(t);e.resolve()}return e.promise()};this.logout=async function(){e.info(`Demo system logged out: ${r.getAlias()}`,null,\"sap.ushell.adapters.local.ContainerAdapter\");o.reload()}}return r},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/FlpLaunchPageAdapter\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/deepExtend\",\"sap/base/util/ObjectPath\",\"sap/m/GenericTile\",\"sap/m/ImageContent\",\"sap/m/library\",\"sap/m/NumericContent\",\"sap/m/TileContent\",\"sap/ui/core/ComponentContainer\",\"sap/ui/core/Component\",\"sap/ui/core/library\",\"sap/ui/core/mvc/View\",\"sap/ui/Device\",\"sap/ui/model/resource/ResourceModel\",\"sap/ui/thirdparty/datajs\",\"sap/ui/thirdparty/hasher\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Config\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,i,r,s,n,o,l,a,p,u,c,f,d,h,T,g,jQuery,m,w,y,v,b,L,C)=>{\"use strict\";const _=c.mvc.ViewType;const R=o.GenericTileMode;const U=w.AppType;function P(e){const t={};t[e.namespace.replace(/\\./g,\"/\")]=e.path||\".\";sap.ui.loader.config({paths:t})}function k(t,i){if(t.tileType!==\"sap.ushell.ui.tile.DynamicTile\"||!t.properties||!t.properties.serviceUrl){return}if(t.intervalTimer){window.clearInterval(t.intervalTimer);t.intervalTimer=undefined}if(i){let i=t.serviceRefreshInterval;if(i){i=i*1e3}else{i=1e4}t.intervalTimer=window.setInterval(()=>{T.read(`${t.properties.serviceUrl}?id=${t.id}&t=${(new Date).getTime()}`,()=>{e.debug(`Dynamic tile service call succeed for tile ${t.id}`)},i=>{e.debug(`Dynamic tile service call failed for tile ${t.id}, error message:${i}`)})},v.sanitizeTimeoutDelay(i))}}function I(o,c,T){const w=i([],T.config.groups);const v=0;const S=10;const z=10;const D=10;let G;const F={};for(let e=0;e0){G=w[0];G.isDefaultGroup=true}this.translationBundle=y.i18n;this.TileType={Tile:\"tile\",Link:\"link\",Card:\"card\"};let B;this.oResourceBundlePromise=Promise.resolve();if(T.config.pathToLocalizedContentResources){const e=new h({async:true,bundleUrl:T.config.pathToLocalizedContentResources,bundleLocale:t.getLanguage()});this.oResourceBundlePromise=e.getResourceBundle();this.oResourceBundlePromise.then(e=>{B=e})}function V(e){if(B){return B.getText(e)}return e}const j=T.config.catalogs||[];this.oResourceBundlePromise.then(()=>{j.forEach(e=>{if(B){e.title=V(e.title)}e.tiles.forEach(e=>{e.getTitle=()=>e.title;e.getChip=()=>({getBaseChipId:()=>e.chipId})})});w.forEach(e=>{if(B){e.title=V(e.title)}e.tiles.forEach(e=>{k(e,true)})})});function A(){return 100*Math.random(){t.resolve(e)},N());return t.promise()}this.getGroups=function(){const e=new jQuery.Deferred;window.setTimeout(async()=>{await this.oResourceBundlePromise;e.resolve(w.slice(0))},N());return e.promise()};this.getDefaultGroup=function(){const e=new jQuery.Deferred;e.resolve(G);return e.promise()};this.addGroup=function(e){const t=new jQuery.Deferred;const i=A();window.setTimeout(async()=>{await this.oResourceBundlePromise;if(!i){const i={id:`group_${w.length}`,title:e,tiles:[]};w.push(i);t.resolve(i)}else{this.getGroups().done(t.reject).fail(t.reject)}},N());return t.promise()};this.getGroupTitle=function(e){return e.title};this.setGroupTitle=function(e,t){const i=new jQuery.Deferred;const r=A();window.setTimeout(()=>{if(!r){e.title=t;i.resolve()}else{E(e).done(e=>{i.reject(e.title)}).fail(i.reject)}},N());return i.promise()};this.getGroupId=function(e){return e.id};this.hideGroups=function(e){const t=new jQuery.Deferred;this.oResourceBundlePromise.then(()=>{if(e&&w){for(let t=0;t{await this.oResourceBundlePromise;if(!r){w.splice(t,0,w.splice($(w,e),1)[0]);i.resolve()}else{this.getGroups().done(i.reject).fail(i.reject)}},N());return i.promise()};this.removeGroup=function(e){const t=new jQuery.Deferred;const i=A();window.setTimeout(async()=>{await this.oResourceBundlePromise;if(!i){w.splice($(w,e),1);e.tiles.forEach(e=>{k(e,false)});t.resolve()}else{this.getGroups().done(t.reject).fail(t.reject)}},N());return t.promise()};this.resetGroup=function(e){const t=new jQuery.Deferred;const r=A();window.setTimeout(async()=>{await this.oResourceBundlePromise;if(!r){e.tiles.forEach(e=>{k(e,false)});e=i({},T.config.groups[$(T.config.groups,e)]);w.splice($(w,e),1,e);e.tiles.forEach(e=>{k(e,true)});t.resolve(e)}else{this.getGroups().done(t.reject).fail(t.reject)}},N());return t.promise()};this.isGroupRemovable=function(e){return e&&!e.isPreset};this.isGroupLocked=function(e){return e.isGroupLocked};this.isGroupFeatured=function(e){return e.isFeatured};this.getGroupTiles=function(e){return e.tiles};this.getLinkTiles=function(e){return e.links};this.getTileTitle=function(e){return e.title};this.getTileType=function(e){if(e.isLink){return this.TileType.Link}if(e.isCard){return this.TileType.Card}return this.TileType.Tile};this.getTileId=function(e){return e.id};this.getTileSize=function(e){return e.size};this.getTileTarget=function(e){let t;if(e.properties){t=e.properties.href||e.properties.targetURL}return e.target_url||t||\"\"};this.isTileIntentSupported=function(e){if(e&&e.formFactor){let t;const i=e.formFactor;const r=d.system;if(r.desktop){t=\"Desktop\"}else if(r.tablet){t=\"Tablet\"}else if(r.phone){t=\"Phone\"}if(i.indexOf(t)===-1){return false}}return true};this.isTileIntentSupportedAsync=function(e){return Promise.resolve(this.isTileIntentSupported(e))};this.isLinkPersonalizationSupported=function(e){if(e){return e.isLinkPersonalizationSupported}return true};this.getTileView=function(e){const t=new jQuery.Deferred;const i=A();if(M()){window.setTimeout(()=>{if(!i){this._getTileView(e).done(t.resolve)}else{t.reject()}},N())}else if(!i){this._getTileView(e).done(t.resolve)}else{t.reject()}return t.promise()};this._getTileView=function(e){let t=\"unknown error\";const i=this.getTileType(e)===\"link\";const r=new jQuery.Deferred;Promise.resolve().then(async()=>{await this._translateTileProperties(e);if(e.namespace&&e.path&&e.moduleType){P(e);if(e.moduleType===\"UIComponent\"){u.create({componentData:{properties:e.properties},name:e.moduleName}).then(e=>{const t=new p({component:e,height:\"100%\",width:\"100%\"});r.resolve(t)})}else{f.create({viewName:e.moduleName,type:_[e.moduleType],viewData:{properties:e.properties},height:\"100%\"}).then(r.resolve)}return}else if(e.tileType){const n=i?\"Link\":e.tileType;if(n){try{this._createTileInstance(e,n).done(e=>{this._handleTilePress(e);this._applyDynamicTileInfoState(e);r.resolve(e)})}catch(t){r.resolve(new s({header:t&&`${t.name}: ${t.message}`||this.translationBundle.getText(\"failedTileCreationMsg\"),frameType:this._parseTileSizeToGenericTileFormat(e.size)}))}return}t=`TileType: ${e.tileType} not found!`}else{t=\"No TileType defined!\"}r.resolve(new s({header:t,frameType:this._parseTileSizeToGenericTileFormat(e.size)}))});return r.promise()};this._getCatalogTileViewAsync=function(e){const t=new jQuery.Deferred;Promise.resolve().then(async()=>{let i;let r=\"unknown error\";const n=this.getTileType(e)===\"link\";await this._translateTileProperties(e);if(e.namespace&&e.path&&e.moduleType){P(e);if(e.moduleType===\"UIComponent\"){u.create({componentData:{properties:e.properties},name:e.moduleName}).then(e=>{const i=new p({component:e,height:\"100%\",width:\"100%\"});t.resolve(i)})}else{f.create({viewName:e.moduleName,type:_[e.moduleType],viewData:{properties:e.properties},height:\"100%\"}).then(t.resolve)}return}else if(e.tileType){const o=n?\"Link\":e.tileType;if(o){try{i=this._createCatalogTileInstanceAsync(e,o);i.done(e=>{this._handleTilePress(e);this._applyDynamicTileInfoState(e);t.resolve(e)})}catch(i){t.resolve(new s({header:i&&`${i.name}: ${i.message}`||this.translationBundle.getText(\"failedTileCreationMsg\"),frameType:this._parseTileSizeToGenericTileFormat(e.size)}))}return}r=`TileType: ${e.tileType} not found!`}r=\"No TileType defined!\";t.resolve(new s({header:r,frameType:this._parseTileSizeToGenericTileFormat(e.size)}))});return t.promise()};this._createTileInstance=function(e,t){let i;const n=new jQuery.Deferred;const o=this._getImageContent({src:e.properties.icon});o.addStyleClass(\"sapUshellFullWidth\");switch(t){case\"sap.ushell.ui.tile.DynamicTile\":i=new s({header:e.properties.title,subheader:e.properties.subtitle,frameType:this._parseTileSizeToGenericTileFormat(e.size),url:b.getLeanURL(e.properties.targetURL),tileContent:new a({frameType:this._parseTileSizeToGenericTileFormat(e.size),footer:e.properties.info,unit:e.properties.numberUnit,content:new l({scale:e.properties.numberFactor,value:e.properties.numberValue,truncateValueTo:5,indicator:e.properties.stateArrow,valueColor:this._parseTileValueColor(e.properties.numberState),icon:e.properties.icon,width:\"100%\"})}),press:this._genericTilePressHandler.bind(this,e)});F[e.id]=i;n.resolve(i);break;case\"sap.ushell.ui.tile.StaticTile\":i=new s({mode:e.mode||(e.properties.icon?R.ContentMode:R.HeaderMode),header:e.properties.title,subheader:e.properties.subtitle,frameType:this._parseTileSizeToGenericTileFormat(e.size),url:b.getLeanURL(e.properties.targetURL),tileContent:new a({frameType:this._parseTileSizeToGenericTileFormat(e.size),footer:e.properties.info,content:o}),press:this._genericTilePressHandler.bind(this,e)});F[e.id]=i;n.resolve(i);break;case\"Link\":i=new s({mode:R.LineMode,subheader:e.properties.subtitle,header:e.properties.title,url:b.getLeanURL(e.properties.targetURL,e.properties.href),press:t=>{this._genericTilePressHandler(e,t)}});F[e.id]=i;n.resolve(i);break;default:const t=e.tileType.replace(/\\./g,\"/\");sap.ui.require([t],()=>{const t=r.get(e.tileType);i=new t(e.properties||{});F[e.id]=i;n.resolve(i)})}return n.promise()};this.getCardManifest=function(e){const t=JSON.parse(JSON.stringify(e.manifest));return t};this._createCatalogTileInstanceAsync=function(e,t){const i=new jQuery.Deferred;let r;const n=this._getImageContent({src:e.properties.icon});n.addStyleClass(\"sapUshellFullWidth\");switch(t){case\"sap.ushell.ui.tile.DynamicTile\":r=new s({header:e.properties.title,subheader:e.properties.subtitle,frameType:this._parseTileSizeToGenericTileFormat(e.size),url:b.getLeanURL(e.properties.targetURL),tileContent:new a({frameType:this._parseTileSizeToGenericTileFormat(e.size),footer:e.properties.info,unit:e.properties.numberUnit,content:new l({scale:e.properties.numberFactor,value:e.properties.numberValue,truncateValueTo:5,indicator:e.properties.stateArrow,valueColor:this._parseTileValueColor(e.properties.numberState),icon:e.properties.icon,width:\"100%\"})}),press:t=>{this._genericTilePressHandler(e,t)}});break;case\"sap.ushell.ui.tile.StaticTile\":r=new s({mode:e.mode||(e.properties.icon?R.ContentMode:R.HeaderMode),header:e.properties.title,subheader:e.properties.subtitle,frameType:this._parseTileSizeToGenericTileFormat(e.size),url:b.getLeanURL(e.properties.targetURL),tileContent:new a({frameType:this._parseTileSizeToGenericTileFormat(e.size),footer:e.properties.info,content:n}),press:t=>{this._genericTilePressHandler(e,t)}});break;case\"Link\":r=new s({mode:R.LineMode,subheader:e.properties.subtitle,header:e.properties.title,url:b.getLeanURL(e.properties.targetURL,e.properties.href),press:t=>{this._genericTilePressHandler(e,t)}});break;default:t=e.tileType&&e.tileType.replace(/\\./g,\"/\");sap.ui.require([t],t=>{r=new t(e.properties||{});i.resolve(r)})}i.resolve(r);return i.promise()};this._createCatalogTileInstance=function(t,i){let n;let o;let p;const u=this._getImageContent({src:t.properties.icon});u.addStyleClass(\"sapUshellFullWidth\");switch(i){case\"sap.ushell.ui.tile.DynamicTile\":n=new s({header:t.properties.title,subheader:t.properties.subtitle,frameType:this._parseTileSizeToGenericTileFormat(t.size),url:b.getLeanURL(t.properties.targetURL),tileContent:new a({frameType:this._parseTileSizeToGenericTileFormat(t.size),footer:t.properties.info,unit:t.properties.numberUnit,content:new l({scale:t.properties.numberFactor,value:t.properties.numberValue,truncateValueTo:5,indicator:t.properties.stateArrow,valueColor:this._parseTileValueColor(t.properties.numberState),icon:t.properties.icon,width:\"100%\"})}),press:e=>{this._genericTilePressHandler(t,e)}});break;case\"sap.ushell.ui.tile.StaticTile\":n=new s({mode:t.mode||(t.properties.icon?R.ContentMode:R.HeaderMode),header:t.properties.title,subheader:t.properties.subtitle,frameType:this._parseTileSizeToGenericTileFormat(t.size),url:b.getLeanURL(t.properties.targetURL),tileContent:new a({frameType:this._parseTileSizeToGenericTileFormat(t.size),footer:t.properties.info,content:u}),press:e=>{this._genericTilePressHandler(t,e)}});break;case\"Link\":n=new s({mode:R.LineMode,subheader:t.properties.subtitle,header:t.properties.title,url:b.getLeanURL(t.properties.targetURL,t.properties.href),press:e=>{this._genericTilePressHandler(t,e)}});break;default:o=t.tileType.replace(/\\./g,\"/\");p=sap.ui.require(o);if(!p){if(!r.get(t.tileType)){e.warning(`FLP: local LaunchPageAdapter. The resource is used before being loaded: ${o}`);sap.ui.requireSync(o)}p=r.get(t.tileType)}n=new p(t.properties||{})}return n};this._genericTilePressHandler=function(e,t){if(t.getSource().getScope&&t.getSource().getScope()===\"Display\"){if(e.properties.targetURL){L.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:e.properties.targetURL}});if(e.properties.targetURL[0]===\"#\"){g.setHash(e.properties.targetURL)}else{const t=m.last(\"/core/shell/enableRecentActivity\")&&m.last(\"/core/shell/enableRecentActivityLogging\");if(t){const t={title:e.properties.title,appType:U.URL,url:e.properties.targetURL,appId:e.properties.targetURL};C.getRendererInternal(\"fiori2\").logRecentActivity(t)}b.openURL(e.properties.targetURL,\"_blank\")}}}};this._parseTileSizeToGenericTileFormat=function(e){return e===\"1x2\"?\"TwoByOne\":\"OneByOne\"};this._parseTileValueColor=function(e){if(e===\"Positive\"){return\"Good\"}if(e===\"Negative\"){return\"Critical\"}return e};this._applyDynamicTileInfoState=function(e){const t=e.onAfterRendering;e.onAfterRendering=()=>{if(t){t.apply(e,arguments)}const i=e.getModel();if(!i){return}const r=i.getProperty(\"/data/display_info_state\");const s=e.getDomRef();const n=s.getElementsByClassName(\"sapMTileCntFtrTxt\")[0];switch(r){case\"Negative\":n.classList.add(\"sapUshellTileFooterInfoNegative\");break;case\"Neutral\":n.classList.add(\"sapUshellTileFooterInfoNeutral\");break;case\"Positive\":n.classList.add(\"sapUshellTileFooterInfoPositive\");break;case\"Critical\":n.classList.add(\"sapUshellTileFooterInfoCritical\");break;default:return}}};this._handleTilePress=function(e){if(typeof e.attachPress===\"function\"){e.attachPress(()=>{if(typeof e.getTargetURL===\"function\"){const t=e.getTargetURL();L.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:t}});if(t){if(t[0]===\"#\"){g.setHash(t)}else{b.openURL(t,\"_blank\")}}}})}};this._translateTileProperties=async function(e){await this.oResourceBundlePromise;if(this.translationBundle&&B&&!e._isTranslated){const t=e.properties;const i=e.keywords;t.title=V(t.title);t.subtitle=V(t.subtitle);t.info=V(t.info);if(i){for(let e=0;e{if(!s){const s=i({title:\"A new tile was added\",size:\"1x1\"},e,{id:`tile_0${e.chipId}`});t.tiles.push(s);k(s,true);r.resolve(s)}else{this.getGroups().done(r.reject).fail(r.reject)}},N());return r.promise()};this.removeTile=function(e,t){const i=new jQuery.Deferred;const r=A();window.setTimeout(()=>{if(!r){e.tiles.splice(H(e,t),1);k(t,false);i.resolve()}else{this.getGroups().done(i.reject).fail(i.reject)}},N());return i.promise()};this.moveTile=function(e,t,i,r,s,n){const o=new jQuery.Deferred;const l=A();window.setTimeout(()=>{if(!l){if(s===undefined){s=r}e.isLink=n?n===this.TileType.Link:e.isLink;r.tiles.splice(t,1);s.tiles.splice(i,0,e);o.resolve(e)}else{this.getGroups().done(o.reject).fail(o.reject)}},N());return o.promise()};this.getTile=function(){const e=new jQuery.Deferred;return e.promise()};this.getCatalogs=function(){const e=new jQuery.Deferred;this.oResourceBundlePromise.then(()=>{j.forEach(t=>{window.setTimeout(()=>{e.notify(t)},300)});window.setTimeout(()=>{e.resolve(j)},1500)});return e.promise()};this.isCatalogsValid=function(){return true};this.getCatalogError=function(){return};this.getCatalogId=function(e){return e.id};this.getCatalogTitle=function(e){return e.title};this.getCatalogTiles=function(e){const t=new jQuery.Deferred;window.setTimeout(()=>{t.resolve(e.tiles)},N());return t.promise()};this.getCatalogTileId=function(e){if(e.chipId){return e.chipId}return\"UnknownCatalogTileId\"};this.getStableCatalogTileId=function(e){if(e.referenceChipId){return e.referenceChipId}if(e.chipId){return e.chipId}return\"UnknownCatalogTileId\"};this.getCatalogTileTitle=function(e){return e.title};this.getCatalogTileSize=function(e){return e.size};this.getCatalogTileViewControl=function(e){return this._getCatalogTileViewAsync(e)};this.getCatalogTileTargetURL=function(e){return e.properties&&e.properties.targetURL||null};this.getCatalogTilePreviewTitle=function(e){return e.properties&&e.properties.title||null};this.getCatalogTilePreviewInfo=function(e){return e.properties&&e.properties.info||null};this.getCatalogTilePreviewIndicatorDataSource=function(e){let t;if(e.properties&&e.properties.serviceUrl){t={path:e.properties.serviceUrl,refresh:e.properties.serviceRefreshInterval}}return t};this.getCatalogTilePreviewSubtitle=function(e){return e.properties&&e.properties.subtitle||null};this.getCatalogTilePreviewIcon=function(e){return e.properties&&e.properties.icon||null};this.getCatalogTileKeywords=function(e){return[e.title,e.properties&&e.properties.subtitle,e.properties&&e.properties.info,e.keywords].flat().filter(e=>e)};this.getCatalogTileTags=function(e){return e&&e.tags||[]};this.addBookmark=function(e,t){const i=t||G;const r=new jQuery.Deferred;const s=A();const n=e.title;const o=e.subtitle;const l=e.info;const a=e.url;const p=this.isLinkPersonalizationSupported();window.setTimeout(()=>{if(!s){const e={title:n,size:\"1x1\",chipId:`tile_0${i.tiles.length}`,tileType:\"sap.ushell.ui.tile.StaticTile\",id:`tile_0${i.tiles.length}`,isLinkPersonalizationSupported:p,keywords:[],properties:{icon:\"sap-icon://time-entry-request\",info:l,subtitle:o,title:n,targetURL:a}};i.tiles.push(e);k(e,true);r.resolve(e)}else{this.getGroups().done(r.reject).fail(r.reject)}},N());return r.promise()};this.updateBookmarks=function(e,t){const i=new jQuery.Deferred;let r=0;const s=this.getGroups();s.done(s=>{s.forEach(i=>{i.tiles.forEach(i=>{if(i.properties&&i.properties.targetURL===e){for(const e in t){if(t.hasOwnProperty(e)){i.properties[e]=t[e]}}const e=F[i.id];if(e!==undefined){e.setHeader(i.properties.title);e.setSubheader(i.properties.subtitle)}r++}})});i.resolve(r)});s.fail(()=>{i.reject()});return i.promise()};this.deleteBookmarks=function(e){const t=new jQuery.Deferred;this.oResourceBundlePromise.then(()=>{let i=0;let r;let s;for(let t=0;t=0;t--){s=r.tiles[t];if(s.properties.targetURL===e){r.tiles.splice(t,1);i++}}}t.resolve(i)});return t.promise()};this.countBookmarks=function(e){const t=new jQuery.Deferred;this.oResourceBundlePromise.then(()=>{let i=0;let r;let s;for(let t=0;t{\"use strict\";return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/MenuAdapter\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/ObjectPath\",\"sap/ushell/library\",\"sap/ushell/Container\"],(e,t,n,r,a)=>{\"use strict\";const i=r.ContentNodeType;function o(e,t,r){this._oAdapterConfig=n.get(\"config\",r)}o.prototype.isMenuEnabled=function(){return Promise.resolve(!!this._oAdapterConfig.enabled)};o.prototype.getContentNodes=function(){const n=this._oAdapterConfig.menuData;if(!n){e.error(\"No menuData specified in the adapter configuration.\",null,\"sap.ushell.adapters.local.MenuAdapter\");return Promise.reject(new Error(\"No menuData specified in the adapter configuration.\"))}if(typeof n===\"object\"){return Promise.resolve(n)}return fetch(n,{headers:{Accept:\"application/json\",\"Accept-Language\":t.getLanguageTag().toString()}}).then(e=>e.json()).catch(t=>{e.error(\"Menu entries were requested but could not be loaded from JSON file\",t);return Promise.reject(new Error(\"Menu entries could not be fetched\"))})};o.prototype.getMenuEntries=function(){return this.getContentNodes().then(e=>e.map(e=>{const t=e.children[0];const n=this._buildMenuEntry(e,e.id,t.id);if(e.children.length>1){n.menuEntries=e.children.map(t=>this._buildMenuEntry(t,e.id,t.id))}return n}))};o.prototype.getMenuPersonalization=function(){return a.getServiceAsync(\"PersonalizationV2\").then(async e=>{const t={container:\"sap.ushell.menuPersonalization\",item:\"data\"};const n={validity:\"Infinity\",keyCategory:e.KeyCategory.FIXED_KEY,writeFrequency:e.WriteFrequency.HIGH,clientStorageAllowed:false};const r=await e.getPersonalizer(t,n);return r.getPersData()})};o.prototype._buildMenuEntry=function(e,t,n){const r=e.type===i.Space?\"Space-\":\"Page-\";return{id:e.id,\"help-id\":r+e.id,title:e.label,type:\"IBN\",target:{semanticObject:\"Launchpad\",action:\"openFLPPage\",parameters:[{name:\"spaceId\",value:t},{name:\"pageId\",value:n}]},isHomeEntry:false,menuEntries:[]}};return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/NavTargetResolutionAdapter\", [\"sap/ushell/adapters/local/NavTargetResolutionInternalAdapter\"],e=>{\"use strict\";return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/NavTargetResolutionInternalAdapter\", [\"sap/ushell/services/ClientSideTargetResolution/VirtualInbounds\",\"sap/base/util/ObjectPath\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/ushell/utils\",\"sap/ushell/Container\"],(e,t,jQuery,n,i,s)=>{\"use strict\";function o(o,r,l){function a(e,t){e.forEach(e=>{const n=`${e.semanticObject}-${e.action}`;t[n]=e.resolutionResult})}const c=t.create(\"config.applications\",l);const f=e.getInbounds();a(f,c);this.resolveHashFragment=function(e){const t=new jQuery.Deferred;let s;if(e&&e.charAt(0)!==\"#\"){throw new i.Error(\"Hash fragment expected\",\"sap.ushell.renderers.minimal.Shell\")}e=e.substring(1);if(!e&&!c[e]){t.resolve(undefined)}else{n.info(`Hash Fragment: ${e}`);let i=e.indexOf(\"&/\");if(i>=0){e=e.slice(0,i)}i=e.indexOf(\"?\");if(i>=0){s=e.slice(i+1);e=e.slice(0,i)}const o=c[e];if(o){const e={additionalInformation:o.additionalInformation,applicationType:o.applicationType,url:o.url,text:o.text,fullWidth:o.fullWidth,navigationMode:\"embedded\"};if(s){e.url+=e.url.indexOf(\"?\")<0?\"?\":\"&\";e.url+=s}if(o.navigationMode!==undefined){e.navigationMode=o.navigationMode}t.resolve(e)}else{t.reject(`Could not resolve link '${e}'`)}}return t.promise()};this.getSemanticObjectLinks=function(e,t){const i=[];let o=0;const r=new jQuery.Deferred;if(!e){setTimeout(()=>{r.resolve([])},0)}else{s.getServiceAsync(\"URLParsing\").then(s=>{const l=s.paramsToString(t);n.info(`getSemanticObjectLinks: ${e}`);for(const t in c){if(c.hasOwnProperty(t)&&t.substring(0,t.indexOf(\"-\"))===e){i[o]=c[t];i[o].id=t;i[o].text=i[o].text||i[o].description||\"no text\";i[o].intent=`#${t}`;if(l!==\"\"){if(i[o].intent.indexOf(\"?\")!==-1){i[o].intent+=`&${l}`}else{i[o].intent+=`?${l}`}}o+=1}}if(i){r.resolve(i)}else{r.reject(`Could not get links for '${e}'`)}})}return r.promise()};this.isIntentSupported=function(e){const t=new jQuery.Deferred;const n={};const i=[];const s=this;function o(e,t){n[e]={supported:t}}e.forEach((e,t)=>{const n=new jQuery.Deferred;i.push(n.promise());s.resolveHashFragment(e).fail(t=>{o(e,false);n.resolve()}).done(t=>{o(e,true);n.resolve()})});if(e.length>0){jQuery.when.apply(jQuery,i).always(()=>{t.resolve(n)})}else{t.resolve(n)}return t.promise()}}return o},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/PageBuildingAdapter\", [\"sap/ui/core/ComponentContainer\",\"sap/ui/core/Component\"],(t,n)=>{\"use strict\";function e(t,n,e){this.oCache=e&&e.config&&e.config.tiles||{}}e.prototype.getFactory=function(){return this};e.prototype.createChipInstance=function(e){const o=this.oCache[e.ch Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/EasyAccessView\", [\"sap/ui/core/mvc/View\",\"sap/m/SplitApp\",\"sap/ushell/resources\"],(e,s,t)=>{\"use strict\";return e.extend(\"sap.ushell.components.appfinder.EasyAccessView\",{createContent:function(a){this.oResourceBundle=t.i18n;this.setModel(this.getViewData().easyAccessSystemsModel,\"easyAccessSystemsModel\");this.setModel(this.getViewData().subHeaderModel,\"subHeaderModel\");this.setModel(this.getViewData().parentComponent.getModel());this.pHierarchyFolders=e.create({viewName:\"module:sap/ushell/components/appfinder/HierarchyFoldersView\",height:\"100%\",viewData:{navigateHierarchy:this.oController.navigateHierarchy.bind(a),easyAccessSystemsModel:this.getModel(\"easyAccessSystemsModel\"),subHeaderModel:this.getModel(\"subHeaderModel\")}}).then(e=>{this.hierarchyFolders=e;this.hierarchyFolders.addStyleClass(\"sapUshellHierarchyFolders\");return e});const i=this.getViewData();this.pHierarchyApps=e.create({id:`${this.getId()}hierarchyApps`,viewName:\"module:sap/ushell/components/appfinder/HierarchyAppsView\",height:\"100%\",viewData:{navigateHierarchy:this.oController.navigateHierarchy.bind(a),menuName:i.menuName,CatalogsManager:this.getViewData().CatalogsManager}}).then(e=>{this.hierarchyApps=e;return e});this.splitApp=new s;Promise.all([this.pHierarchyFolders,this.pHierarchyApps]).then(e=>{this.splitApp.addMasterPage(e[0]);this.splitApp.addDetailPage(e[1]);this.splitApp.setInitialMaster(e[0]);this.splitApp.setInitialDetail(e[1])});return this.splitApp},getControllerName:function(){return\"sap.ushell.components.appfinder.EasyAccess\"}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/GroupListPopover.controller\", [\"sap/ui/core/Element\",\"sap/ui/core/mvc/Controller\",\"sap/m/library\",\"sap/ushell/resources\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\"],(e,o,t,s,i,r)=>{\"use strict\";const n=t.ListMode;return o.extend(\"sap.ushell.components.appfinder.GroupListPopover\",{onExit:function(){const e=this.getView();if(e._oListContainer){e._oListContainer.destroy()}if(e._oNewGroupItem){e._oNewGroupItem.destroy()}if(e._oNewGroupNameInput){e._oNewGroupNameInput.destroy()}if(e._oNewGroupHeader){e._oNewGroupHeader.destroy()}},initializeData:function(e){this.oPopoverModel=new r({userGroupList:e.groupData});this.oPopoverModel.setSizeLimit(9999);this.getView().oPopover.setModel(this.oPopoverModel)},_cancelButtonPress:function(){this.getView().oPopover.close()},_groupListItemClickHandler:function(e){const o=e.getParameter(\"listItem\");if(o.data(\"newGroupItem\")){this._navigateToCreateNewGroupPane();return}const t=e.getSource();if(t.getMode()===n.SingleSelectMaster){const e=this.getView();e.oPopover.close()}else{o.setSelected(!o.getSelected())}},_okayCancelButtonPress:function(){const e=this.getView();const o=e._getNewGroupInput();const t=o.getValue();if(t.length>0){this.sNewGroupId=t}e.oPopover.close()},_navigateToCreateNewGroupPane:function(){const e=this.getView();const o=e._getNewGroupHeader();const t=e._getNewGroupInput();e.oPopover.removeAllContent();e.oPopover.addContent(t);e.oPopover.setCustomHeader(o);e.oPopover.setContentHeight(\"\");let i=e.oPopover.getEndButton();if(i){i.setVisible(true)}else{i=e._getCancelButton();e.oPopover.setEndButton(i)}e.oPopover.getBeginButton().setText(s.i18n.getText(\"okDialogBtn\"));i.setText(s.i18n.getText(\"cancelBtn\"));if(e.getViewData().singleGroupSelection){this._setFooterVisibility(true)}setTimeout(()=>{t.focus()},0)},_afterCloseHandler:function(){const e=this.oPopoverModel.getProperty(\"/userGroupList\");const o={addToGroups:[],removeFromGroups:[],newGroups:this.sNewGroupId?[this.sNewGroupId]:[],allGroups:e};let t;for(let s=0,i=e.length;s{\"use strict\";const m=d.ListMode;const G=d.ListType;return t.extend(\"sap.ushell.components.appfinder.GroupListPopoverView\",{getControllerName:function(){return\"sap.ushell.components.appfinder.GroupListPopover\"},createContent:function(t){this.oPopover=new e({id:\"groupsPopover\",placement:\"Auto\",title:o.i18n.getText(\"addTileToGroups_popoverTitle\"),contentWidth:\"20rem\",beginButton:this._getCloseButton(),content:this._getListContainer(),afterClose:[t._afterCloseHandler,t]}).addStyleClass(\"sapContrastPlus\");this.addDependent(this.oPopover);this.oPopover.setInitialFocus(this._getNewGroupListItem())},open:function(t){if(document.body.clientHeight-t.getDomRef().getBoundingClientRect().bottom>=310){this.oPopover.setPlacement(\"Bottom\")}this.oPopover.openBy(t);if(this.getViewData().singleGroupSelection){this.getController()._setFooterVisibility(false)}this.deferred=jQuery.Deferred();return this.deferred.promise()},_getListContainer:function(){if(!this._oListContainer){const t=this._getGroupList();this._oListContainer=new n({id:\"popoverContainer\",horizontal:false,vertical:true,content:[t],height:i.system.phone?\"100%\":\"190px\"})}return this._oListContainer},_getNewGroupInput:function(){if(!this._oNewGroupNameInput){this._oNewGroupNameInput=new u(\"newGroupNameInput\",{type:\"Text\",placeholder:o.i18n.getText(\"new_group_name\")})}return this._oNewGroupNameInput},_getNewGroupHeader:function(){if(!this._oNewGroupHeader){const t=this.getController();const e=new p({icon:a.getIconURI(\"nav-back\"),press:[t._backButtonHandler,t],tooltip:o.i18n.getText(\"newGroupGoBackBtn_tooltip\")});e.addStyleClass(\"sapUshellCatalogNewGroupBackButton\");this._oNewGroupHeader=new l(\"oHeadBar\",{contentLeft:[e],contentMiddle:[new c({text:o.i18n.getText(\"newGroup_popoverTitle\")})]})}return this._oNewGroupHeader},_getGroupList:function(){if(!this._oGroupList){const t=this.getController();const e=new h({label:\"{oGroup/title}\",selected:\"{selected}\",tooltip:\"{oGroup/title}\",type:G.Active});const o=[new _(\"oGroup/isGroupLocked\",g.EQ,false)];const n=this.getViewData();if(n.enableHideGroups){o.push(new _(\"oGroup/isGroupVisible\",g.EQ,true))}this._oGroupList=new r({mode:n.singleGroupSelection?m.SingleSelectMaster:m.MultiSelect,items:{path:\"/userGroupList\",template:e,filters:o,templateShareable:false},itemPress:[t._groupListItemClickHandler,t]});const i=this._getNewGroupListItem();this._oGroupList.addEventDelegate({onBeforeRendering:function(){this._oGroupList.insertAggregation(\"items\",i,0,true)}.bind(this),onAfterRendering:function(){this._oGroupList.removeAggregation(\"items\",i,true)}.bind(this)})}return this._oGroupList},_getNewGroupListItem:function(){if(!this._oNewGroupItem){this._oNewGroupItem=new s(\"newGroupItem\",{title:o.i18n.getText(\"newGroup_listItemText\"),type:G.Navigation});this._oNewGroupItem.data(\"newGroupItem\",true);this._oNewGroupItem.getList=function(){return this._oGroupList}.bind(this);this._oNewGroupItem.getModeControl=function(){return null};this._oNewGroupItem.onsapspace=function(t){t.preventDefault();t.isMarked()};this._oNewGroupItem.addEventDelegate({onsaptabnext:function(t){t.preventDefault();t._bIsStopHandlers=true;this._getCloseButton().focus()}})}return this._oNewGroupItem},_getCancelButton:function(){if(!this._oCancelButton){const t=this.getController();this._oCancelButton=new p(\"cancelButton\",{press:[t._cancelButtonPress,t],text:o.i18n.getText(\"cancelBtn\")})}return this._oCancelButton},_getCloseButton:function(){if(!this._oCloseButton){const t=this.getController();this._oCloseButton=new p(\"closeButton\",{press:[t._okayCancelButtonPress,t],text:o.i18n.getText(\"closeBtn\")})}return this._oCloseButton}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/HierarchyApps.controller\", [\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/Controller\",\"sap/ui/thirdparty/jquery\",\"sap/m/MessageToast\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,jQuery,o,s,r)=>{\"use strict\";let n;return t.extend(\"sap.ushell.components.appfinder.HierarchyApps\",{onInit:function(){const e=this.getView().getViewData().easyAccessSystemsModel;if(e){this.getView().setModel(e,\"easyAccessSystems\")}n=this.getView().getViewData().CatalogsManager&&this.getView().getViewData().CatalogsManager.getInstance()},getCrumbsData:function(e,t){const o=e.split(\"/\");o.splice(o.length-2,2);const s=[];while(o.length){const e=o.join(\"/\");const r=t.getProperty(`${e}/text`);s.unshift({text:r,path:e});o.splice(o.length-2,2)}return s},_updateAppBoxedWithPinStatuses:function(e){const t=this.getView();if(!e){e=t.layout.getBinding(\"items\").getPath()}const o=t.getModel(\"easyAccess\");const s=o.getProperty(e)?o.getProperty(e):[];this.getView().oVisualizationOrganizerHelper.updateBookmarkCount.call(this,s).then(t=>{o.setProperty(e,t)})},updateBookmarkCount:function(e){return r.getServiceAsync(\"BookmarkV2\").then(t=>{const o=e.map(e=>t.countBookmarks(e.url).then(t=>{e.bookmarkCount=t;return e}));return new Promise(e=>{jQuery.when.apply(jQuery,o).then(function(){const t=Array.prototype.slice.call(arguments);e(t)})})})},updatePageBindings:function(e){this.getView().layout.bindAggregation(\"items\",`easyAccess>${e}/apps`,this.getView().oItemTemplate);this._updateAppBoxedWithPinStatuses(`${e}/apps`);this.getView().breadcrumbs.bindProperty(\"currentLocationText\",`easyAccess>${e}/text`);const t=this.getCrumbsData(e,this.getView().getModel(\"easyAccess\"));this.getView().crumbsModel.setProperty(\"/crumbs\",t);const o=this.getView().getModel(\"easyAccess\").getProperty(`${e}/apps`);this.getView().updateResultSetMessage(o.length,false)},onAppBoxPressed:function(e){if(e.mParameters.srcControl.$().closest(\".sapUshellPinButton\").length){return}const t=e.getSource().getProperty(\"url\");if(t&&t.indexOf(\"#\")===0){hasher.setHash(t)}},_handleSuccessMessage:function(e,t){let r;const n=t.addToGroups?t.addToGroups.length:0;const a=t.newGroups?t.newGroups.length:0;const i=n+a;if(i===1){let o;if(n===1){o=t.addToGroups[0].title}else{o=t.newGroups[0]}r=s.i18n.getText(\"appAddedToSingleGroup\",[e.text,o])}else{r=s.i18n.getText(\"appAddedToSeveralGroups\",[e.text,i])}if(i>0){o.show(r)}return r},_prepareErrorMessage:function(e,t){let o;let s;let r;let n=0;let a=false;let i;for(const t in e){o=e[t].group;s=e[t].action;if(s===\"addBookmark_ToExistingGroup\"){n++;if(n===1){r=o.title}}else if(s===\"addBookmark_ToNewGroup\"){n++;if(n===1){r=o}}else{a=true}}if(a){if(e.length===1){i={messageId:\"fail_tile_operation_create_new_group\"}}else{i={messageId:\"fail_tile_operation_some_actions\"}}}else if(e.length===1){i={messageId:\"fail_app_operation_add_to_group\",parameters:[t,r]}}else{i={messageId:\"fail_app_operation_add_to_several_groups\",parameters:[t]}}return i},_handleBookmarkAppPopoverResponse:function(e,t){const o=[];t.newGroups.forEach(t=>{o.push(this._createGroupAndAddBookmark(t,e))});t.addToGroups.forEach(t=>{o.push(this._addBookmark(t,e))});return jQuery.when.apply(jQuery,o).then(function(){const o=Array.prototype.slice.call(arguments);this._handlePopoverGroupsActionPromises(e,t,o)}.bind(this))},_handlePopoverGroupsActionPromises:function(e,t,o){const s=o.filter((e,t,o)=>!e.status);if(s.length){const t=this._prepareErrorMessage(s,e.text);n.notifyOnActionFailure(t.messageId,t.parameters);return}this._updateAppBoxedWithPinStatuses();this._handleSuccessMessage(e,t)},_createGroupAndAddBookmark:function(e,t){const o=jQuery.Deferred();let s={};const r=n.createGroup(e);r.done(r=>{const n=this._addBookmark(r.getObject(),t,true);n.done(e=>{o.resolve(e)}).fail(()=>{s={group:e,status:0,action:\"addBookmark_ToNewGroup\"};o.resolve(s)})}).fail(()=>{s={group:e,status:0,action:\"addBookmark_NewGroupCreation\"};o.resolve(s)});return o.promise()},_addBookmark:function(e,t,o){const s=jQuery.Deferred();let n={};r.getServiceAsync(\"BookmarkV2\").then(r=>{const a=r.addBookmark({url:t.url,title:t.text,subtitle:t.subtitle,icon:t.icon},e.object);const i=o?\"addBookmark_ToNewGroup\":\"addBookmark_ToExistingGroup\";a.then(()=>{n={group:e,status:1,action:i};s.resolve(n)}).catch(()=>{n={group:e,status:0,action:i};s.resolve(n)})});return s.promise()},showSaveAppPopover:function(e){this.getView().oVisualizationOrganizerHelper.onHierarchyAppsPinButtonClick.call(this,e).then(e=>{if(e){this._updateAppBoxedWithPinStatuses()}})},showGroupListPopover:function(t){const o=this.getView().getModel();const s=t.oSource.getParent().getBinding(\"title\").getContext().getObject();const r=t.oSource;if(o.getProperty(\"/groupContext\").path){const e=o.getProperty(\"/groupContext\").path;const t=o.getProperty(e);const r={newGroups:[],addToGroups:[t]};this._handleBookmarkAppPopoverResponse(s,r);return}const n=o.getProperty(\"/groups\").map(e=>({selected:false,initiallySelected:false,oGroup:e}));e.create({viewName:\"module:sap/ushell/components/appfinder/GroupListPopoverView\",viewData:{enableHideGroups:o.getProperty(\"/enableHideGroups\"),enableHelp:o.getProperty(\"/enableHelp\"),singleGroupSelection:true}}).then(e=>{e.getController().initializeData({groupData:n});const t=e.open(r);t.then(this._handleBookmarkAppPopoverResponse.bind(this,s));this.getView().addDependent(e);return e})},resultTextFormatter:function(e,t){const o=s.i18n;if(e){const s=e.systemName?e.systemName:e.systemId;let r=\"\";if(t){r=o.getText(\"search_easy_access_results\",[t,s])}return r}return\"\"},showMoreResultsVisibilityFormatter:function(e,t){if(e&&e.length{\"use strict\";const b=r.ButtonType;const T=r.FlexWrap;const x=e.TitleLevel;const A=e.AccessibleLandmarkRole;return t.extend(\"sap.ushell.components.appfinder.HierarchyAppsView\",{oVisualizationOrganizerHelper:f.getInstance(),createContent:function(e){this.oController=e;const t=new a({icon:{path:\"easyAccess>bookmarkCount\",formatter:this.oVisualizationOrganizerHelper.formatBookmarkPinButtonIcon},type:{path:\"easyAccess>bookmarkCount\",formatter:this.oVisualizationOrganizerHelper.formatBookmarkPinButtonType},selected:{path:\"easyAccess>bookmarkCount\",formatter:this.oVisualizationOrganizerHelper.formatBookmarkPinButtonSelectState.bind(this)},tooltip:{parts:[\"associatedGroups\",\"easyAccess>bookmarkCount\",\"/groupContext/path\",\"/groupContext/id\",\"/groupContext/title\"],formatter:this.oVisualizationOrganizerHelper.formatBookmarkPinButtonTooltip.bind(this)},press:e.showSaveAppPopover.bind(e)});t.addCustomData(new i({key:\"tabindex\",value:\"-1\",writeToDom:true}));t.addStyleClass(\"sapUshellPinButton\");this.oItemTemplate=new s({title:\"{easyAccess>text}\",subtitle:\"{easyAccess>subtitle}\",url:\"{easyAccess>url}\",icon:\"{easyAccess>icon}\",pinButton:t,press:[e.onAppBoxPressed,e]});this.oItemTemplate.addCustomData(new i({key:\"tabindex\",value:\"-1\",writeToDom:true}));this.layout=new n(`${this.getId()}_hierarchyAppsLayout`,{items:{path:\"easyAccess>/apps\",template:this.oItemTemplate},wrap:T.Wrap});this.layout.addDelegate({onAfterRendering:function(){const e=this.getItems();function t(e){if(e.getKey()===\"tabindex\"){e.setValue(\"0\")}}if(e.length){e[0].getCustomData().forEach(t);e[0].getPinButton().getCustomData().forEach(t)}}.bind(this.layout)});this.oMessagePage=new u({visible:false,title:o.i18n.getText(\"EasyAccessMenu_NoAppsToDisplayMessagePage_Text\"),description:\"\"});const r=this.getViewData();const d=r.menuName===\"USER_MENU\"?\"appFinderUserMenuTitle\":\"appFinderSapMenuTitle\";const f=new l({showHeader:false,landmarkInfo:new p({contentLabel:o.i18n.getText(d),contentRole:A.Region})}).addStyleClass(\"sapUshellAppsView sapUiContentPadding\");if(r&&r.navigateHierarchy){this.crumbsModel=new c({crumbs:[]});this.linkTemplate=new h({text:\"{crumbs>text}\",press:function(e){const t=e.oSource.getBinding(\"text\").getContext().getObject();r.navigateHierarchy(t.path,false)}});this.breadcrumbs=new m({links:{path:\"crumbs>/crumbs\",template:this.linkTemplate},currentLocationText:\"{/text}\"});this.breadcrumbs.setModel(this.crumbsModel,\"crumbs\");f.addContent(this.breadcrumbs)}else{this.resultText=new g({text:{parts:[{path:\"easyAccessSystemsModel>/systemSelected\"},{path:\"easyAccess>/total\"}],formatter:e.resultTextFormatter.bind(e)},level:x.H3}).addStyleClass(\"sapUiTinyMarginTop sapUiSmallMarginBottom sapUshellEasyAccessSearchResultText\");f.addContent(this.resultText);this.showMoreResultsLink=new y({text:{parts:[{path:\"easyAccess>/apps\"},{path:\"easyAccess>/total\"}],formatter:e.showMoreResultsTextFormatter.bind(e)},press:r.getMoreSearchResults,visible:{parts:[{path:\"easyAccess>/apps\"},{path:\"easyAccess>/total\"}],formatter:e.showMoreResultsVisibilityFormatter.bind(e)},type:b.Transparent})}f.addContent(this.oMessagePage);f.addContent(this.layout);if(this.showMoreResultsLink){f.addContent(this.showMoreResultsLink)}return f},formatPinButtonTooltip:function(e,t,s,a,i){const n=o.i18n;let r;if(s){const t=e?Array.prototype.indexOf.call(e,a):-1;const s=t!==-1?\"removeAssociatedTileFromContextGroup\":\"addAssociatedTileToContextGroup\";r=n.getText(s,[i])}else{r=t?n.getText(\"EasyAccessMenu_PinButton_Toggled_Tooltip\"):n.getText(\"EasyAccessMenu_PinButton_UnToggled_Tooltip\")}return r},updateResultSetMessage:function(e,t){let s;if(t){s=\"noFilteredItems\"}else{s=\"EasyAccessMenu_NoAppsToDisplayMessagePage_Text\"}if(e){if(t){this.resultText.updateProperty(\"text\");this.resultText.setVisible(true)}this.layout.setVisible(true);this.oMessagePage.setVisible(false)}else{if(t){this.resultText.setVisible(false)}this.layout.setVisible(false);this.oMessagePage.setVisible(true);const e=o.i18n.getText(s);this.oMessagePage.setTitle(e)}},setShowMoreResultsBusy:function(e){if(this.showMoreResultsLink){this.showMoreResultsLink.setBusy(e)}},getControllerName:function(){return\"sap.ushell.components.appfinder.HierarchyApps\"}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/HierarchyFolders.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/Filter\",\"sap/m/StandardListItem\",\"sap/m/SelectDialog\",\"sap/ui/core/Component\",\"sap/ushell/Container\"],(e,t,jQuery,s,i,n,r,o,a)=>{\"use strict\";return e.extend(\"sap.ushell.components.appfinder.HierarchyFolders\",{onInit:function(){this.oDialog=null;this.getView().setModel(this.getView().getViewData().easyAccessSystemsModel,\"easyAccessSystems\");this.getView().setModel(this.getView().getViewData().subHeaderModel,\"subHeaderModel\");this.getSelectedSystem().then(e=>{if(e){this.setSystemSelected(e)}else{this.setSystemSelected(undefined);this.onSystemSelectionPress()}},function(){this.setSystemSelected(undefined);this.onSystemSelectionPress()})},onExit:function(){if(this.oDialog){this.destroyDialog()}},onAfterRendering:function(){const e=jQuery(`#${this.getView().getId()}`);e.on(\"click\",()=>{this.exitSearchMode()})},getPersonalizer:function(){if(!this.oPersonalizerPromise){this.oPersonalizerPromise=a.getServiceAsync(\"PersonalizationV2\").then(e=>{const t=o.getOwnerComponentFor(this);const s={keyCategory:e.KeyCategory.FIXED_KEY,writeFrequency:e.WriteFrequency.LOW,clientStorageAllowed:true};const i={container:\"appfinder.HierarchyFolders\",item:\"lastSelectedSystem\"};return e.getPersonalizer(i,s,t)})}return this.oPersonalizerPromise},getSelectedSystem:function(){const e=new jQuery.Deferred;const t=this.getView().getModel(\"easyAccessSystems\").getProperty(\"/systemsList\");if(t&&t.length&&t.length===1){const s=t[0];this.setSystemSelectedInPersonalization(s);e.resolve(s)}else{this.getSelectedSystemInPersonalization().then(s=>{if(s){let i=false;for(let n=0;n{s.getPersData().then(t=>{if(t){e.resolve(t)}else{e.resolve()}}).catch(s=>{t.error(\"Failed to get selected system from the personalization\",s,\"sap.ushell.components.appfinder.HierarchyFolders\");e.reject()})});return e.promise()},setSystemSelectedInPersonalization:function(e){this.getPersonalizer().then(s=>{s.setPersData(e).catch(e=>{t.error(\"Failed to save selected system in the personalization\",e,\"sap.ushell.components.appfinder.HierarchyFolders\")})})},onSystemSelectionPress:function(){const e=this.getView().getModel(\"easyAccessSystems\").getProperty(\"/systemsList\");if(e&&e.length&&e.length<=1){return}const t=this.createDialog();t.open()},createDialog:function(){const e=this;if(!this.oDialog){this.oDialog=new r({id:\"systemSelectionDialog\",title:e.getView().translationBundle.getText(\"easyAccessSelectSystemDialogTitle\"),multiSelect:false,contentHeight:\"20rem\",items:{path:\"/systemsList\",template:new n({adaptTitleSize:false,title:{parts:[\"systemName\",\"systemId\"],formatter:e.titleFormatter},description:{parts:[\"systemName\",\"systemId\"],formatter:e.descriptionFormatter},selected:{parts:[\"systemName\",\"systemId\"],formatter:e.selectedFormatter.bind(this)}})},confirm:e.systemConfirmHandler.bind(e),search:e.systemSearchHandler.bind(e),cancel:e.destroyDialog.bind(e)});this.oDialog.setModel(this.getView().getModel(\"easyAccessSystems\"))}return this.oDialog},destroyDialog:function(){this.oDialog.destroyItems();this.oDialog.destroy();this.oDialog=null},systemConfirmHandler:function(e){const t=e.getParameters().selectedItem;const s=t.getBindingContext().getObject();this.setSystemSelected(s);this.destroyDialog()},systemSearchHandler:function(e){const t=e.getParameter(\"value\");const n=new i(\"systemName\",s.Contains,t);const r=new i(\"systemId\",s.Contains,t);const o=new i({filters:[r,n],and:false});const a=e.getSource().getBinding(\"items\");a.filter(o)},titleFormatter:function(e,t){return e||t},descriptionFormatter:function(e,t){if(e){return t}return null},selectedFormatter:function(e,t){const s=this.getView().getModel(\"easyAccessSystems\").getProperty(\"/systemSelected\");if(!s){return false}if(e){return s.systemName===e&&s.systemId===t}return s.systemId===t},systemSelectorTextFormatter:function(e){if(e){if(e.systemName){return e.systemName}return e.systemId}return this.getView().translationBundle.getText(\"easyAccessSelectSystemTextWithoutSystem\")},exitSearchMode:function(){const e=this.getView().getModel(\"subHeaderModel\");e.setProperty(\"/search/searchMode\",false);e.refresh(true)}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/HierarchyFoldersView\", [\"sap/ui/core/Lib\",\"sap/ui/core/mvc/View\",\"sap/m/Button\",\"sap/m/Label\",\"sap/m/Bar\",\"sap/m/Page\",\"sap/m/library\",\"sap/m/List\",\"sap/m/StandardListItem\",\"sap/m/Text\",\"sap/ushell/resources\"],(e,t,s,n,a,i,o,r,c,l,h)=>{\"use strict\";const d=o.ButtonType;const u=o.ListSeparators;return t.extend(\"sap.ushell.components.appfinder.HierarchyFoldersView\",{createContent:function(t){const o=this;this.translationBundle=h.i18n;this.treePath=\"\";this.lastFocusID=`${document.URL.substring(document.URL.lastIndexOf(\"&/\")+2)}-button`;this.systemSelectorText=new l({text:{path:\"easyAccessSystemsModel>/systemSelected\",formatter:t.systemSelectorTextFormatter.bind(t)}});this.oItemTemplate=new c({title:\"{easyAccess>text}\",type:\"Navigation\",press:function(){const e=o.pageMenu.$().find(\".sapMBarLeft button\");if(!e.length){o.lastFocusID=document.activeElement.getAttribute(\"id\")}const t=this.getBindingContextPath();o.getViewData().navigateHierarchy(t,true)}});this.oList=new r({showSeparators:u.None,items:{path:`easyAccess>${this.treePath}/folders`,template:this.oItemTemplate},updateFinished:function(){const e=this.getItems();o.finishEasyAccessAnimation(true);e.forEach(e=>{e.onsapspace=e.onsapenter})},noDataText:{path:\"easyAccessSystemsModel>/systemSelected\",formatter:function(e){if(e){return o.translationBundle.getText(\"easyAccessFolderWithNoItems\")}}}});this._navBackButton=new s({tooltip:e.getResourceBundleFor(\"sap.m\").getText(\"PAGE_NAVBUTTON_TEXT\"),type:d.Back,visible:false,press:function(){const e=this.treePath.split(\"/\");const t=e.slice(0,e.length-2);this.getViewData().navigateHierarchy(t.join(\"/\"),false)}.bind(this)});this.pageMenu=new i({enableScrolling:true,headerContent:new a({contentLeft:[this._navBackButton,new n({text:{parts:[\"easyAccessSystemsModel>/systemSelected\"],formatter:t.systemSelectorTextFormatter.bind(t)}})],contentRight:[new s({text:this.translationBundle.getText(\"easyAccessSelectSystemDialogTitle\"),type:d.Transparent,visible:{path:\"easyAccessSystemsModel>/systemsList\",formatter:function(e){return e.length>1}},press:[t.onSystemSelectionPress,t]})]}).addStyleClass(\"sapUshellEasyAccessMasterPageHeader\"),content:this.oList});return this.pageMenu},getControllerName:function(){return\"sap.ushell.components.appfinder.HierarchyFolders\"},finishEasyAccessAnimation:function(){if(!this.jqFolderClone){return}if(this.forwardAnimation){this.pageMenu.$().addClass(\"forwardToViewAnimation\");this.jqFolderClone.addClass(\"forwardOutOfViewAnimation\")}else{this.pageMenu.$().addClass(\"backToViewAnimation\");this.jqFolderClone.addClass(\"backOutOfViewAnimation\")}this.jqFolderClone.on(\"animationend\",()=>{this.pageMenu.$().removeClass(\"forwardToViewAnimation backToViewAnimation\");const e=this.pageMenu.$().find(\".sapMBarLeft button\");if(e.length){e.focus()}else{setTimeout(()=>{document.querySelector(`#${this.lastFocusID}`).focus()})}if(this.jqFolderClone){this.jqFolderClone.remove()}})},prepareEasyAccessAnimation:function(e){this.forwardAnimation=e;this.jqFolderClone=this.pageMenu.$().clone().removeAttr(\"data-sap-ui\").css(\"z-index\",\"1\");this.jqFolderClone.find(\"*\").removeAttr(\"id\");this.pageMenu.$().parent().append(this.jqFolderClone)},updatePageBindings:function(e,t){const s=e.split(\"/\").length>2;this.treePath=e;this._navBackButton.setVisible(s);this.pageMenu.setShowSubHeader(!s);this.prepareEasyAccessAnimation(t);this.oList.bindItems(`easyAccess>${e}/folders`,this.oItemTemplate)}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/appfinder/VisualizationOrganizerHelper\", [\"sap/m/library\",\"sap/ui/core/Element\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/resources\"],(t,e,n,i,o,r)=>{\"use strict\";const s=t.ButtonType;let u;function a(){return e.getElementById(\"catalogView\")}function l(){return e.getElementById(\"appFinderView\")}function f(){let t;let e;let u=null;function f(){return n.last(\"/core/spaces/enabled\")}function c(){if(t){return Promise.resolve(t)}e=e||new Promise(e=>{sap.ui.require([\"sap/ushell/components/visualizationOrganizer/Component\"],n=>{t=new n;e(t)})});return e}function p(){const e=a();if(!e){return}e.setBusy(true);return c().then(t=>t.requestData()).then(()=>{if(this.oModel){this.oModel.updateBindings(true)}const e=l();if(e&&t.getPersonalizablePages().length===1){const n=r.i18n.getText(\"VisualizationOrganizer.PageContextTitle\",[t.getPersonalizablePages()[0].title]);e.getController()._updateShellHeader(n)}}).finally(()=>{e.setBusy(false)})}if(f()){this.oDoable=o.on(\"trackHashChange\").do(t=>{if(f()&&t===\"Shell-appFinder\"){p.call(this)}})}this.setModel=function(t){this.oModel=t};this.loadAndUpdate=function(){if(!f()){return Promise.resolve()}return p.call(this)};this.formatPinButtonTooltip=function(e,n,i){if(!f()){return this.formatPinButtonTooltip(e,n)}return t.formatPinButtonTooltip(i,u)};this.formatPinButtonSelectState=function(){if(!f()){return this.formatPinButtonSelectState.apply(this,arguments)}return false};this.formatPinButtonIcon=function(e){if(!f()){return\"sap-icon://pushpin-off\"}return t.formatPinButtonIcon(e,!!u)};this.formatPinButtonType=function(e){if(!f()){return s.Default}return t.formatPinButtonType(e,!!u)};this.onTilePinButtonClick=function(e){if(!f()){this.getController().onTilePinButtonClick(e);return}t.onTilePinButtonClick(e,u)};this.getNavigationContext=function(){if(!f()){return this.getGroupContext.apply(this,arguments)}if(u){return{pageID:encodeURIComponent(u.pageID),sectionID:encodeURIComponent(u.sectionID)}}return null};this.getNavigationContextAsText=function(){if(!f()){return this.getGroupNavigationContext.apply(this,arguments)}if(u){return JSON.stringify({pageID:encodeURIComponent(u.pageID),sectionID:encodeURIComponent(u.sectionID)})}return null};this.updateModelWithContext=function(e){if(!f()){this._updateModelWithGroupContext.apply(this,arguments);return Promise.resolve()}return c().then(()=>t.loadSectionContext(e)).then(t=>{u=t;this.oView.getModel().updateBindings(true);if(u){const t=u.sectionTitle?r.i18n.getText(\"VisualizationOrganizer.AppFinderSectionContextTitle\",[u.sectionTitle]):r.i18n.getText(\"VisualizationOrganizer.AppFinderSectionContextTitle\",[u.pageTitle]);this.oView.oPage.setTitle(t);if(this._updateShellHeader){return new Promise(e=>{setTimeout(()=>{this._updateShellHeader(t);e()},0)})}}return Promise.resolve()})};this._loadVisualizationOrganizer=c;this._setSectionContext=function(t){u=t};this.exit=function(){if(this.oDoable){this.oDoable.off();this.oDoable=null}};this.onHierarchyAppsPinButtonClick=function(e){if(!f()){this.showGroupListPopover(e);return Promise.resolve(false)}return t.onHierarchyAppsPinButtonClick(e,u)};this.formatBookmarkPinButtonTooltip=function(e,n,i,o,r){if(!f()){return this.formatPinButtonTooltip(e,n,i,o,r)}return t.formatBookmarkPinButtonTooltip(n,u)};this.formatBookmarkPinButtonSelectState=function(t){if(!f()){return!!t}return false};this.formatBookmarkPinButtonIcon=function(t){if(!f()){return\"sap-icon://pushpin-off\"}return t>0?\"sap-icon://accept\":\"sap-icon://add\"};this.formatBookmarkPinButtonType=function(t){if(!f()){return s.Default}return t>0?s.Emphasized:s.Default};this.updateBookmarkCount=function(e){if(!f()){return this.updateBookmarkCount(e)}return t.updateBookmarkCount(e,u)};this.shouldPinButtonBeVisible=function(){return new Promise(t=>{const e=n.last(\"/core/shell/enablePersonalization\");if(!f()||e){t(e)}else if(!n.last(\"/core/spaces/myHome/enabled\")){t(false)}else{i.getServiceAsync(\"UserInfo\").then(e=>{t(e.getUser().getShowMyHome())})}})}}return{getInstance:function(){if(!u){u=new f}return u},_getConstructor:function(){return f},destroy:function(){if(u){u.exit()}u=null}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cards/Card.controller\", [\"sap/ushell/components/tiles/utils\",\"sap/ushell/components/cards/ManifestPropertyHelper\",\"sap/ushell/resources\",\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ui/core/mvc/XMLView\",\"sap/ushell/Container\"],(e,t,i,n,o,a,s)=>{\"use strict\";return n.extend(\"sap.ushell.components.cards.Card\",{onInit:function(){const e=this.getView();const n=this.getView().getViewData().chip;const a=n.bag.getBag(\"tileProperties\");const s=t.getTranslatablePropertiesFromBag(a);const r=new o({data:s});e.setModel(r);e.setModel(i.i18nModel,\"i18n\");this._implementConfigurationUiContract(n,e);this._implementPreviewContract(n,s)},onPress:function(){const e=this.getView();const t=e.getViewData().chip;const i=t.configuration.getParameterValueAsString(\"tileConfiguration\");let n;if(t.configurationUi.isEnabled()){t.configurationUi.display()}else if(i){n=JSON.parse(i);s.getServiceAsync(\"Navigation\").then(e=>{e.navigate({target:{semanticObject:n.navigation_semantic_object,action:n.navigation_semantic_action},params:n.navigation_semantic_parameters_as_object})})}},_implementPreviewContract:function(e,t){if(e.preview){e.preview.setPreviewTitle(t.display_title_text);if(e.preview.setPreviewSubtitle&&typeof e.preview.setPreviewSubtitle===\"function\"){e.preview.setPreviewSubtitle(t.display_subtitle_text)}}},_implementConfigurationUiContract:function(t,i){if(t.configurationUi&&t.configurationUi.isEnabled()){t.configurationUi.setUiProvider(()=>{const e=this._getConfigurationUi(t);e.setModel(i.getModel(),\"tileModel\");return e});i.getContent()[0].setTooltip(e.getResourceBundle().getText(\"edit_configuration.tooltip\"))}},_getConfigurationUi:function(e){const t=new a({viewName:\"sap.ushell.components.cards.Configuration\",viewData:{chipInstance:e}});return t}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cards/Configuration.controller\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Locale\",\"sap/ushell/components/cards/ManifestPropertyHelper\",\"sap/ushell/resources\",\"sap/ui/core/mvc/Controller\",\"sap/base/strings/formatMessage\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,t,a,i,n,r,o,jQuery,s)=>{\"use strict\";return n.extend(\"sap.ushell.components.cards.Configuration\",{formatter:r,onInit:function(){const e=this.getView();const t=e.getViewData();const a=t.chipInstance;const n=a.configuration.getParameterValueAsString(\"cardManifest\");let r;if(n){r=this._prepareManifest(n,a)}const s=new o({data:{editorValue:JSON.stringify(r,null,4)||\"\"},config:{originalLanguage:\"\",sapLogonLanguage:\"\",displayOriginalLanguageWarning:false,manifestEditorEditable:true}});e.setModel(s);e.setModel(i.i18nModel,\"i18n\");e.setViewName(\"sap.ushell.components.cards.Configuration\");a.configurationUi.attachSave(this.onSaveConfiguration.bind(this));this._checkOriginalLanguage()},onSaveConfiguration:function(){const e=new jQuery.Deferred;const t=this.getView().getModel();const n=t.getProperty(\"/data/editorValue\");let r;try{r=JSON.parse(n)}catch(t){this._logErrorAndReject({error:i.i18n.getText(\"configuration.invalidJSONProvided\")},e);return e}const o=a.extractCardData(r);this._saveManifestAndTileConfig(o.manifest,o.tileConfiguration).then(this._saveTilePropertiesBag.bind(this,o)).then(this._saveTitle.bind(this,o.bagProperties.display_title_text)).then(this._updateTileModel.bind(this,o)).then(e.resolve).catch(t=>{this._logErrorAndReject(t,e)});return e.promise()},_saveManifestAndTileConfig:function(e,t){const a=this.getView().getViewData().chipInstance;const i=new Promise((i,n)=>{a.writeConfiguration.setParameterValues({cardManifest:JSON.stringify(e),tileConfiguration:t},i,(e,t)=>{n({error:e,errorInfo:t})})});return i},_saveTilePropertiesBag:function(e){const t=this.getView().getViewData().chipInstance;const a=t.bag.getBag(\"tileProperties\");this._fillCardBag(e,a);const i=new Promise((e,t)=>{a.save(e,(e,a)=>{t({error:e,errorInfo:a})})});return i},_saveTitle:function(e){const t=this.getView().getViewData().chipInstance;const a=new Promise((a,i)=>{if(t.title){t.title.setTitle(e,a,(e,t)=>{i({error:e,errorInfo:t})})}else{a()}});return a},_updateTileModel:function(e){const t=this.getView().getModel(\"tileModel\");t.setProperty(\"/data/display_title_text\",e.bagProperties.display_title_text);t.setProperty(\"/data/display_subtitle_text\",e.bagProperties.display_subtitle_text)},_logErrorAndReject:function(e,t){s.error(e.error,null,\"card.Configuration.controller\");t.reject(e.error,e.errorInfo)},_fillCardBag:function(e,t){Object.keys(e.bagProperties).forEach(a=>{if(e.bagProperties[a]){t.setText(a,e.bagProperties[a])}else{t.resetProperty(a)}})},_prepareManifest:function(e,t){const i=JSON.parse(e);const n=a.getCardData(t);return a.mergeCardData(i,n)},_checkOriginalLanguage:function(){let e;let t;if(!this._isOriginalLanguage()){e=this.getView().getModel();t=this._getLanguages();e.setProperty(\"/config/originalLanguage\",t.originalLanguage.toUpperCase());e.setProperty(\"/config/sapLogonLanguage\",t.logonLanguage.toUpperCase());e.setProperty(\"/config/displayOriginalLanguageWarning\",true);e.setProperty(\"/config/manifestEditorEditable\",false)}},_isOriginalLanguage:function(){const e=this._getLanguages();const t=e.originalLanguage.toLowerCase();const a=e.logonLanguage.toLowerCase();const i=e.ui5CoreLanguage.toLowerCase();return t===\"\"||t===a||t===i},_getLanguages:function(){const a=this.oView.getViewData().chipInstance;return{originalLanguage:a.bag.getOriginalLanguage(),logonLanguage:new t(e.getLanguageTag()).getSAPLogonLanguage(),ui5CoreLanguage:e.getLanguage()}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cards/ManifestPropertyHelper\", [\"sap/base/util/ObjectPath\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\"],(t,e,a)=>{\"use strict\";const i={PLACEHOLDERS:{TITLE:\"\",SUBTITLE:\"<subtitle>\",ICON:\"<icon>\",SEARCH_KEYWORDS:\"<keywords>\",SEMANTIC_OBJECT:\"<semantic object>\",ACTION:\"<action>\",PARAMETERS:\"<parameters>\",TARGET_URL:\"<target URL>\"},extractCardData:function(a){const i=this._getNavigationAction(a);let s;let r;let n;let c;let o;let l;let g;const p=t.get([\"sap.app\",\"tags\",\"keywords\"],a);let _;if(i){c=t.get([\"parameters\",\"intentSemanticObject\"],i);o=t.get([\"parameters\",\"intentAction\"],i);l=t.get([\"parameters\",\"url\"],i);r=t.get([\"parameters\",\"intentParameters\"],i)}if(r){n=e.urlParametersToString(r)}if(l){g=false}else if(c&&o){g=true;l=`#${c}-${o}`;if(n){l+=`?${n}`}}s=JSON.stringify({display_icon_url:t.get([\"sap.card\",\"header\",\"icon\",\"src\"],a),navigation_semantic_object:c,navigation_semantic_action:o,navigation_semantic_parameters:n,navigation_use_semantic_object:g,navigation_target_url:l});if(s===\"{}\"){s=undefined}if(p){_=p.join(\",\")}return{bagProperties:{display_title_text:t.get([\"sap.card\",\"header\",\"title\"],a),display_subtitle_text:t.get([\"sap.card\",\"header\",\"subTitle\"],a),display_search_keywords:_},tileConfiguration:s,manifest:this._replaceDataWithPlaceholders(a)}},mergeCardData:function(e,a){const i=JSON.parse(JSON.stringify(e));const s=this._getNavigationAction(i);let r;if(a.display_title_text){t.set([\"sap.card\",\"header\",\"title\"],a.display_title_text,i)}if(a.display_subtitle_text){t.set([\"sap.card\",\"header\",\"subTitle\"],a.display_subtitle_text,i)}if(a.display_search_keywords){r=a.display_search_keywords.split(\",\");t.set([\"sap.app\",\"tags\",\"keywords\"],r,i)}if(a.display_icon_url){t.set([\"sap.card\",\"header\",\"icon\",\"src\"],a.display_icon_url,i)}if(a.navigation_semantic_object){t.set([\"parameters\",\"intentSemanticObject\"],a.navigation_semantic_object,s)}else if(a.navigation_target_url){t.set([\"parameters\",\"url\"],a.navigation_target_url,s)}if(a.navigation_semantic_action){t.set([\"parameters\",\"intentAction\"],a.navigation_semantic_action,s)}if(a.navigation_semantic_parameters_as_object){t.set([\"parameters\",\"intentParameters\"],a.navigation_semantic_parameters_as_object,s)}return i},getTranslatablePropertiesFromBag:function(t){const e={};let a;if(t&&t.getText&&t.getTextNames){a=t.getTextNames();a.forEach(a=>{e[a]=t.getText(a)})}return e},getCardData:function(t){let e;let a;if(t.bag){e=t.bag.getBag(\"tileProperties\")}else{e=t.getBag(\"tileProperties\")}if(t.configuration){a=t.configuration.getParameterValueAsString(\"tileConfiguration\")}else{a=t.getConfigurationParameter(\"tileConfiguration\")}const i=this.getTranslatablePropertiesFromBag(e);const s=JSON.parse(a||\"{}\");if(s.navigation_semantic_parameters){s.navigation_semantic_parameters_as_object=this._parseParameters(s.navigation_semantic_parameters)}Object.keys(i).forEach(t=>{s[t]=i[t]});return s},_parseParameters:function(t){const e=a.parseParameters(`?${t}`);Object.keys(e).forEach(t=>{e[t]=e[t][0]});return e},_replaceDataWithPlaceholders:function(e){const a=JSON.parse(JSON.stringify(e));const i=this._getNavigationAction(a);if(t.get([\"sap.card\",\"header\",\"title\"],a)){t.set([\"sap.card\",\"header\",\"title\"],this.PLACEHOLDERS.TITLE,a)}if(t.get([\"sap.card\",\"header\",\"subTitle\"],a)){t.set([\"sap.card\",\"header\",\"subTitle\"],this.PLACEHOLDERS.SUBTITLE,a)}if(t.get([\"sap.app\",\"tags\",\"keywords\"],a)){t.set([\"sap.app\",\"tags\",\"keywords\"],this.PLACEHOLDERS.SEARCH_KEYWORDS,a)}if(t.get([\"sap.card\",\"header\",\"icon\",\"src\"],a)){t.set([\"sap.card\",\"header\",\"icon\",\"src\"],this.PLACEHOLDERS.ICON,a)}if(t.get([\"parameters\",\"intentSemanticObject\"],i)){t.set([\"parameters\",\"intentSemanticObject\"],this.PLACEHOLDERS.SEMANTIC_OBJECT,i)}if(t.get([\"parameters\",\"intentAction\"],i)){t.set([\"parameters\",\"intentAction\"],this.PLACEHOLDERS.ACTION,i)}if(t.get([\"parameters\",\"url\"],i)){t.set([\"parameters\",\"url\"],this.PLACEHOLDERS.TARGET_URL,i)}if(t.get([\"parameters\",\"intentParameters\"],i)){t.set([\"parameters\",\"intentParameters\"],this.PLACEHOLDERS.PARAMETERS,i)}return a},_getNavigationAction:function(e){const a=t.get([\"sap.card\",\"header\",\"actions\"],e);let i;if(a){for(let t=0;t<a.length;t++){i=a[t];if(i.type===\"Navigation\"){return i}}}return null}};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/Component\", [\"sap/ui/core/UIComponent\",\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/ViewType\",\"sap/ushell/components/cepsearchresult/app/util/appendStyleVars\",\"sap/ushell/components/cepsearchresult/app/util/Edition\",\"sap/ushell/components/cepsearchresult/app/util/resources\"],(e,a,s,t,n,r)=>{\"use strict\";t([\"_sap_m_IconTabBar_ShellHeaderShadow\",\"sapUiElementLineHeight\",\"_sap_m_IconTabBar_HeaderBorderBottom\",\"_sap_m_IconTabBar_HeaderBackground\"]);return e.extend(\"sap.ushell.components.cepsearchresult.app.Component\",{metadata:{manifest:\"json\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},createContent:async function(){this._oResourceBundle=await this.getModel(\"appI18n\").getResourceBundle();await r.awaitResourceBundle();return this.runAsOwner(()=>a.create({type:s.XML,viewName:\"sap.ushell.components.cepsearchresult.app.Main\"}))},getResourceBundle:function(){return this._oResourceBundle}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/Main.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ui/core/Core\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/components/cepsearchresult/app/util/Edition\",\"sap/ushell/components/cepsearchresult/app/util/resources\",\"sap/m/library\",\"sap/m/Menu\",\"sap/m/MenuItem\",\"sap/ushell/ui/footerbar/AddBookmarkButton\",\"sap/f/GridContainerItemLayoutData\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,s,i,o,a,n,r,h,c,l,u)=>{\"use strict\";const g=a.URLHelper;return e.extend(\"sap.ushell.components.cepsearchresult.app.Main\",{totalCounts:{},onInit:function(){this._sSearchTerm=\"\";this._iTotalCount=0;this._oTabBar=this.byId(\"searchCategoriesTabs\");this._oCountModel=new s(this.totalCounts);this._oTabBar.setModel(this._oCountModel,\"counts\");this.updateTitles();this.applyPersonalization();this.getView().setVisible(false);const e=u?.getRendererInternal(\"fiori2\");if(e&&e.getRouter&&e.getRouter()){this._oRouter=e.getRouter();this._oRouter.getRoute(\"wzsearch\").attachMatched(this.onRouteMatched.bind(this))}this.changeEdition(i.getEditionName())},getResourceModel:function(){return this.getOwnerComponent().getModel(\"appI18n\")},getResourceBundle:function(){return this.getOwnerComponent().getResourceBundle()},onRouteMatched:function(e){const t=e.getParameter(\"arguments\");const s=t[\"?query\"];const i=s&&s.searchTerm;const o=s&&s.category;this._oEdition.loaded().then(()=>{if(i!==this.getSearchTerm()&&o===this.getCategory()){this.changeSearchTerm(i)}else if(o!==this.getCategory()){if(i!==this.getSearchTerm()){this._sSearchTerm=i}this.changeCategory(o)}this.getView().setVisible(true);l.emit(\"CloseFesrRecord\",Date.now())})},changeEdition:function(e){if(e===this._sEditionName){return Promise.resolve()}this._sEditionName=e;this._oEdition=new i(this._sEditionName);return this._oEdition.loaded().then(()=>{const e=this._oEdition.getDefaultCategory();this._sCategory=e.getKey();this.updateTabs();if(!this._oRouter){this.updateCategories(true)}this.getView().setVisible(true)})},changeCategory:function(e){this._sCategory=e;this.updateTabs()},changeSearchTerm:function(e){this._sSearchTerm=e;this.updateCategories(true)},getEditionName:function(){return this._sEditionName},getSearchTerm:function(){return this._sSearchTerm},getCategory:function(){return this._sCategory},applyPersonalization:function(){},getPersonalization:function(e,t){const s=localStorage.getItem(`sap.ushell.components.cepsearchresult.app-${e}`);return Promise.resolve(s!==undefined?s:t)},setPersonalization:function(e,t){localStorage.setItem(`sap.ushell.components.cepsearchresult.app-${e}`,`${t}`)},updateTabs:function(){const e=this._oTabBar;e.removeAllItems();this._oEdition.getAppMenuItems().map(t=>{e.addItem(t)});e.setModel(o.model,\"i18n\");e.setSelectedKey(this.getCategory());e.setVisible(e.getItems().length>2);this.totalCounts={};this._oCountModel.setData(this.totalCounts);this.updateTitles()},updateCategories:function(e){const t=this._oTabBar;const s=t.getSelectedKey();t.getItems().map(t=>{const i=t.getKey();const o=t._getCategoryInstance();if(e){this.detachCategory(o);o.resetData()}if(i===s){this.showCategory(o)}o.setVisible(i===s);this.updateResult(o)})},tabSelectionChange:function(e){this.updateCategories(false)},showCategory:function(e){const t=this.byId(\"searchResultContent\");t.removeAllItems();e.setLayoutData(new c({columns:16,minRows:2}));t.addItem(e)},updateTitles:function(){let e=0;for(const t in this.totalCounts){if(t!==\"all\"){e+=this.totalCounts[t]}}this.totalCounts.all=e;this.updateAppTitle(e);this._oCountModel.checkUpdate(true,true)},updateAppTitle:function(e){const t=this.byId(\"titleText\");if(!t){return}let s=\"...\";if(Number.isInteger(e)){s=`(${e})`}t.setText(this.getResourceBundle().getText(\"SEARCHRESULTAPP.HeaderTitle\",[this.getSearchTerm()||\"\",s]))},updateResult:function(e){this.attachCategory(e);e.search(this.getSearchTerm())},attachCategory:function(e){if(!e._attached){e.attachAfterSearch(this.handleAfterSearch,this);e.attachViewAll(this.handleViewAll,this);e._attached=true}},detachCategory:function(e){if(e._attached){e.detachAfterSearch(this.handleAfterSearch,this);e.detachViewAll(this.handleViewAll,this);e._attached=false}},viewAll:function(e,t){this._oTabBar.setSelectedKey(e);const s=this._oTabBar;s.getItems().map(s=>{if(s.getKey()===e){s._getCategoryInstance().setCurrentView(t)}});this.updateCategories()},handleAfterSearch:function(e){this._oCountModel.setProperty(`/${e.getParameter(\"category\")}`,e.getParameter(\"count\"));const t=e.getSource();t.focusCategory();this.updateTitles();this.adaptScrollArea()},handleViewAll:function(e){this.viewAll(e.getParameter(\"key\"),e.getParameter(\"currentView\"))},adaptScrollArea:function(){if(this.getView().getDomRef()){const e=this.getView().getDomRef().querySelector(\".sapUiCEPSRAppScroll\");e.style.height=`calc( 100% - ${e.offsetTop}px )`}},openTitleMenu:function(e){if(!this._oTitleMenu){this._oTitleMenu=new n({items:[new r({text:\"{appI18n>SEARCHRESULTAPP.TitleMenu.SaveAsTile}\",icon:\"sap-icon://header\",press:this.triggerBookmark.bind(this),visible:false}),new r({text:\"{appI18n>SEARCHRESULTAPP.TitleMenu.Email}\",icon:\"sap-icon://email\",press:this.triggerEmail.bind(this)})]});this._oTitleMenu.setModel(this.getResourceModel(),\"appI18n\")}this._oTitleMenu.openBy(e.getSource())},triggerBookmark:function(){const e=this.getSearchTerm();const t=new h({title:this.getResourceBundle().getText(\"SEARCHRESULTAPP.Bookmark.Title\",[e]),subtitle:\"\",tileIcon:\"sap-icon://search\",keywords:`search,result,${e}`,showGroupSelection:false,customUrl:document.location.hash});t.firePress()},triggerEmail:function(){g.triggerEmail(\"\",this.getResourceBundle().getText(\"SEARCHRESULTAPP.EMail.Subject\",[this.getSearchTerm()]),document.location.href)},onExit:function(){const e=this._oTabBar;e.getItems().map(e=>{const t=e._getCategoryInstance();this.detachCategory(t);t.resetData()})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Component\", [\"sap/ui/core/UIComponent\",\"sap/m/FlexBox\",\"sap/f/cards/Header\",\"sap/ushell/components/cepsearchresult/app/util/resources\"],(e,t,r,a)=>{\"use strict\";const s=e.extend(\"sap.ushell.components.cepsearchresult.cards.searchresultwidget.Component\",{metadata:{manifest:\"json\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},createContent:async function(){this._oResourceBundle=await this.getModel(\"i18n\").getResourceBundle();await a.awaitResourceBundle();return this.runAsOwner(()=>{if(this.getAggregation(\"rootControl\")){return this.getAggregation(\"rootControl\")}const e=new t({width:\"100%\",direction:\"Column\"});this._bContent=true;if(this._oCard){this.addContent()}return e})},getResourceBundle:function(){return this._oResourceBundle},onCardReady:function(e){this._oCard=e;this._oCard.addStyleClass(\"sapCEPSearchResultCard\");this._mCardParameters=e.getCombinedParameters();if(this._bContent){this.addContent()}},editionLoaded:function(){return new Promise(e=>{sap.ui.require([\"sap/ushell/components/cepsearchresult/app/util/Edition\"],t=>{this._oEdition=new t(t.getEditionName());e(this._oEdition.loaded())})})},search:function(e){this._oCategory.search(e)},addContent:function(){this.editionLoaded().then(()=>{this._oCategory=this.createCategory();this.addCategory(this.getRootControl());this.updateCardHeader();this._oCard.getModel(\"parameters\").setProperty(\"/init/value\",true)})},addCategory:function(e){e.addItem(this._oCategory);this.search(this._mCardParameters.searchTerm)},createCategory:function(){const e=this._mCardParameters;const t=this._oEdition.createCategoryInstance(e.category,{pageSize:e.pageSize,showFooter:e.footer!==\"none\",showHeader:false,initialPlaceholder:true,allowViewSwitch:e.allowViewSwitch,highlightResult:e.highlightResult,currentView:e.view||\"categoryDefault\",useIllustrations:true,beforeSearch:function(e){this.updateCardHeader(e.getParameters());this._oCard.fireEvent(\"beforeSearch\",e.getParameters())}.bind(this),afterSearch:function(e){this.updateCardHeader(e.getParameters());this._oCard.fireEvent(\"afterSearch\",e.getParameters())}.bind(this),afterRendering:function(e){this._oCard.fireEvent(\"afterRendering\",e.getParameters());if(this._mCardParameters.header!==\"none\"){t.getDomRef().style.borderTop=\"1px solid var(--sapUiListBorderColor)\"}}.bind(this)});t.setFooter(e.footer);return t},updateCardHeader:function(e){const t=this._oCard.getCardHeader();const r=this._oCategory;let a;let s;if(this._mCardParameters.header===\"default\"){t.setIconVisible(!!r.getDefaultIcon()).setIconDisplayShape(r._oCategoryConfig.icon.shape).setIconBackgroundColor(r._oCategoryConfig.icon.backgroundColor).setIconSrc(r.getDefaultIcon());a=r.translate(\"Card.Title\");s=this.getResourceBundle().getText(\"CARD.List.Title.SearchResults\",[`'${this._mCardParameters.searchTerm}'`])}else{t.setIconVisible(!!this._oCard.getManifestEntry(\"/sap.card/header/icon/src\")).setIconDisplayShape(this._oCard.getManifestEntry(\"/sap.card/header/icon/shape\")).setIconBackgroundColor(this._oCard.getManifestEntry(\"/sap.card/header/icon/backgroundColor\")).setIconSrc(this._oCard.getManifestEntry(\"/sap.card/header/icon/src\"));a=this._oCard.getManifestEntry(\"/sap.card/header/title\");s=this._oCard.getManifestEntry(\"/sap.card/header/subtitle\");a=a.replace(\"($searchText)\",this._mCardParameters.searchTerm);s=s.replace(\"($searchText)\",this._mCardParameters.searchTerm)}if(!e||!Number.isInteger(e.count)){if(this._mCardParameters.header===\"custom\"){a=a.replace(\"($count)\",\"--\");s=s.replace(\"($count)\",\"--\")}t.setStatusText(\"\")}else if(Number.isInteger(e.count)){const r=this.getResourceBundle().getText(\"CARD.List.RowStatus\",[Math.min(e.skip+1,e.count),Math.min(e.skip+e.top,e.count),e.count]);t.setStatusText(e.count>0?r:\"\");if(this._mCardParameters.header===\"default\"){a=`${a} (($count))`}a=a.replace(\"($count)\",e.count);s=s.replace(\"($count)\",e.count)}t.setTitle(a);t.setSubtitle(s)}});return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Config\", [\"sap/ui/integration/Designtime\"],e=>{\"use strict\";return function(){const t=new e({form:{items:{groupheader1:{label:\"{i18n>CARD.Config.HeaderSettings}\",type:\"group\",expanded:false},header:{manifestpath:\"/sap.card/configuration/parameters/header/value\",type:\"string\",label:\"{i18n>CARD.Config.HeaderType.Lbl}\",control:\"Select\",cols:2,values:{data:{json:{values:[{text:\"{i18n>CARD.Config.HeaderType.Default}\",key:\"default\"},{text:\"{i18n>CARD.Config.HeaderType.Custom}\",key:\"custom\"},{text:\"{i18n>CARD.Config.HeaderType.None}\",key:\"none\"}]},path:\"/values\"},item:{text:\"{text}\",key:\"{key}\"}}},title:{manifestpath:\"/sap.card/header/title\",type:\"string\",label:\"{i18n>CARD.Config.Header.Title.Lbl}\",description:\"{i18n>CARD.Config.Header.Title.Desc}\",translatable:true,visible:\"{= ${items>header/value} === 'custom'}\",cols:2},subtitle:{manifestpath:\"/sap.card/header/subtitle\",type:\"string\",label:\"{i18n>CARD.Config.Header.SubTitle.Lbl}\",description:\"{i18n>CARD.Config.Header.SubTitle.Desc}\",translatable:true,visible:\"{= ${items>header/value} === 'custom'}\",cols:2},icon:{manifestpath:\"/sap.card/header/icon/src\",type:\"string\",label:\"{i18n>CARD.Config.Header.Icon.Lbl}\",cols:2,allowDynamicValues:false,allowSettings:false,visible:\"{= ${items>header/value} === 'custom'}\",visualization:{type:\"IconSelect\",settings:{value:\"{currentSettings>value}\",editable:\"{currentSettings>editable}\"}}},color:{manifestpath:\"/sap.card/header/icon/backgroundColor\",type:\"string\",label:\"{i18n>CARD.Config.Header.IconColor.Lbl}\",visible:\"{= ${items>header/value} === 'custom'}\",visualization:{type:\"ColorSelect\",settings:{enumValue:\"{currentSettings>value}\",editable:\"{currentSettings>editable}\"}},cols:1},shape:{manifestpath:\"/sap.card/header/icon/shape\",type:\"string\",label:\"{i18n>CARD.Config.Header.IconShape.Lbl}\",visible:\"{= ${items>header/value} === 'custom'}\",visualization:{type:\"ShapeSelect\",settings:{value:\"{currentSettings>value}\",editable:\"{currentSettings>editable}\"}},cols:1},headerNavigation:{manifestpath:\"/sap.card/configuration/parameters/headerNavigation/value\",type:\"boolean\",label:\"{i18n>CARD.Config.Header.Nav.Lbl}\",description:\"{i18n>CARD.Config.Header.Nav.Desc}\",visible:\"{= ${items>header/value} === 'custom'}\",cols:2,visualization:{type:\"Switch\",settings:{state:\"{currentSettings>value}\",customTextOn:\"{i18n>CARD.Config.Yes}\",customTextOff:\"{i18n>CARD.Config.No}\",enabled:\"{currentSettings>editable}\"}}},groupheader2:{label:\"Content Settings\",type:\"group\"},searchTerm:{manifestpath:\"/sap.card/configuration/parameters/searchTerm/value\",type:\"string\",label:\"{i18n>CARD.Config.Content.SearchTerm.Lbl}\",translatable:false,cols:2,allowDynamicValues:true},category:{manifestpath:\"/sap.card/configuration/parameters/category/value\",type:\"string\",label:\"{i18n>CARD.Config.Content.Category.Lbl}\",values:{data:{extension:{method:\"getCategoryListItems\"},path:\"/\"},item:{text:\"{text}\",key:\"{key}\",icon:\"{icon}\"}}},view:{manifestpath:\"/sap.card/configuration/parameters/view/value\",type:\"string\",label:\"{i18n>CARD.Config.Content.View.Lbl}\",cols:2,values:{data:{extension:{method:\"getCategoryViews\",args:[\"{items>category/value}\"]},path:\"/views\"},item:{text:\"{text}\",key:\"{key}\",icon:\"{icon}\"}}},pageSize:{manifestpath:\"/sap.card/configuration/parameters/pageSize/value\",type:\"integer\",label:\"{i18n>CARD.Config.Content.PageSize.Lbl}\",cols:2,visualization:{type:\"Slider\",settings:{value:\"{currentSettings>value}\",min:0,max:20,width:\"100%\",showAdvancedTooltip:true,showHandleTooltip:false,inputsAsTooltips:true,enabled:\"{currentSettings>editable}\"}}},highlightResult:{manifestpath:\"/sap.card/configuration/parameters/highlightResult/value\",type:\"boolean\",label:\"{i18n>CARD.Config.Content.Highlight.Lbl}\",description:\"{i18n>CARD.Config.Content.Highlight.Desc}\",cols:1,visualization:{type:\"Switch\",settings:{state:\"{currentSettings>value}\",customTextOn:\"{i18n>CARD.Config.Yes}\",customTextOff:\"{i18n>CARD.Config.No}\",enabled:\"{currentSettings>editable}\"}}},footer:{manifestpath:\"/sap.card/configuration/parameters/footer/value\",type:\"string\",label:\"{i18n>CARD.Config.Content.FooterActions.Lbl}\",control:\"Select\",cols:2,values:{data:{json:{values:[{text:\"{i18n>CARD.Config.Content.FooterActions.Page}\",key:\"paginator\"},{text:\"{i18n>CARD.Config.Content.FooterActions.Navigate}\",key:\"viewAll\"},{text:\"{i18n>CARD.Config.Content.FooterActions.None}\",key:\"none\"}]},path:\"/values\"},item:{text:\"{text}\",key:\"{key}\",additionalText:\"{additionalText}\",icon:\"{icon}\"}}}}},preview:{modes:\"Live\"}});return t}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension\", [\"sap/ui/integration/Extension\"],t=>{\"use strict\";const e=t.extend(\"sap.ushell.components.cepsearchresult.cards.searchresultwidget.Extension\");e.prototype.onCardReady=function(){this._oCard=this.getCard()};e.prototype.editionLoaded=function(){this.oCard=this.getCard();return new Promise(t=>{sap.ui.require([\"sap/ushell/components/cepsearchresult/app/util/Edition\"],e=>{this._oEdition=new e(e.getEditionName());this._oEdition.loaded().then(()=>{t()})})})};e.prototype.getCategoryListItems=function(){return this.editionLoaded().then(()=>this._oEdition.getCategoryListItems())};e.prototype.getCategoryViews=function(t){return this.editionLoaded().then(()=>this._oEdition.getCategoryViews(t))};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters\", [\"sap/ui/core/theming/Parameters\",\"sap/ui/core/Theming\"],(a,t)=>{\"use strict\";let e={};function s(){e=a.get({name:[\"sapUiAccent2\",\"sapUiAccentBackgroundColor2\",\"sapUiAccent10\",\"sapUiAccentBackgroundColor10\",\"sapUiFontFamily\"]})}t.attachApplied(s);s();const c=['<svg xmlns=\"http://www.w3.org/2000/svg\" aria-label=\"Calendar\" role=\"img\" viewBox=\"0 0 100 100\">','<rect width=\"100\" height=\"39\" fill=\"{mParams.sapUiAccent2}\"/>','<rect y=\"39\" width=\"100\" height=\"61\" fill=\"{mParams.sapUiAccentBackgroundColor10}\"/>','<text x=\"50%\" y=\"29\" style=\\'fill:{mParams.sapUiAccentBackgroundColor2};font-size:23px;opacity:0.8;font-family:{mParams.sapUiFontFamily};text-anchor: middle\\'>{sMonth}</text>','<text id=\"day\" x=\"50%\" y=\"84\"',\" style='stroke-width:1;stroke:{mParams.sapUiAccentBackgroundColor10};\",\" fill: {mParams.sapUiAccent10}; font-size: 45px; font-weight: bold; font-family:{mParams.sapUiFontFamily};text-anchor: middle'>{sDay}</text>\",'<text id=\"weekday\" x=\"20\" Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider\", [\"sap/base/Log\",\"sap/ushell/Container\"],(e,t)=>{\"use strict\";function r(){}r.prototype.getName=function(){return\"Frequent Activity Provider\"};r.prototype.execSearch=function(r,n){return t.getServiceAsync(\"UserRecents\").then(t=>t.getFrequentActivity().then(e=>{let t=[];const r={frequentApplications:{Application:{icon:\"sap-icon://SAP-icons-TNT/application\"},\"External Link\":{icon:\"sap-icon://internet-browser\"}},frequentProducts:{Product:{icon:\"sap-icon://product\"}}};if(e&&Array.isArray(e)&&e.length>0){t=e.filter(e=>r[n].hasOwnProperty(e.appType)).map(e=>{e.text=e.text||e.title;e.icon=e.icon||r[n][e.appType].icon;return e})}return t},t=>{e.error(\"Frequent Activity Provider failed\",`error: ${t}`,\"sap.ushell.components.shell.SearchCEP.SearchProviders.FrequentActivityProvider::execSearch\");return[]}))};return new r},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider\", [\"sap/base/Log\",\"sap/ushell/Container\"],(e,r)=>{\"use strict\";function t(){}t.prototype.getName=function(){return\"Recent Search Terms Provider\"};t.prototype.execSearch=function(){return r.getServiceAsync(\"UserRecents\").then(r=>r.getRecentSearches().then(e=>{let r=[];if(Array.isArray(e)&&e.length>0){r=e.map(e=>({text:e.sTerm,icon:e.icon||\"sap-icon://history\"}))}return r},r=>{e.error(\"Recent Search Terms Provider failed\",`error: ${r}`,\"sap.ushell.components.shell.SearchCEP.SearchProviders.RecentSearchProvider::execSearch\");return[]}))};return new t},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider\", [\"sap/ushell/resources\",\"sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider\",\"sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider\",\"sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider\"],(e,t,r,i)=>{\"use strict\";const a={_defaultProviders:null};a.getDefaultProviders=function(){if(!this._defaultProviders){this._defaultProviders=this._createDefaultProviders()}return this._defaultProviders};a._createDefaultProviders=function(){return{applications:{id:\"SearchResultList\",entryType:\"app\",title:\"Applications\",showNoData:true,titleVisible:false,highlightResult:true,highlightSearchStringPart:true,minQueryLength:1,maxQueryLength:100,defaultItemCount:6,maxItemCount:12,priority:0,execSearch:i.execSearch},frequentApplications:{id:\"FrequentlyUsedAppsList\",entryType:\"product\",title:e.i18n.getText(\"frequentAppsCEPSearch\"),titleVisible:true,minQueryLength:0,maxQueryLength:0,defaultItemCount:6,maxItemCount:12,priority:1,execSearch:t.execSearch},recentSearches:{id:\"SearchHistoryList\",entryType:\"app\",title:\"Recent Searches\",titleVisible:false,minQueryLength:0,maxQueryLength:0,defaultItemCount:2,maxItemCount:10,priority:0,execSearch:r.execSearch},homePageApplications:{id:\"ProductsList\",entryType:\"app\",title:e.i18n.getText(\"products\"),titleVisible:true,minQueryLength:0,maxQueryLength:0,defaultItemCount:6,maxItemCount:12,priority:2,execSearch:i.execSearch},externalSearchApplications:{id:\"ExternalSearchAppsList\",entryType:\"app\",title:e.i18n.getText(\"searchWithin\"),titleVisible:true,minQueryLength:1,maxQueryLength:100,defaultItemCount:6,maxItemCount:12,priority:2,execSearch:i.execSearch}}};return a},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider\", [\"sap/base/Log\",\"sap/ushell/resources\",\"sap/base/util/ObjectPath\",\"sap/ushell/Container\"],(e,t,r,a)=>{\"use strict\";function i(){}i.prototype.getName=function(){return\"Search Service Provider\"};function c(e,r){const i=`#Action-search&/top=20&filter={\"dataSource\":{\"type\":\"Category\",\"id\":\"All\",\"label\":\"All\",\"labelPlural\":\"All\"},\"searchTerm\":\"${r}\",\"rootCondition\":{\"type\":\"Complex\",\"operator\":\"And\",\"conditions\":[]}}`;const c=a.getFLPUrl()+i;const n={text:t.i18n.getText(\"enterprise_search\"),description:t.i18n.getText(\"enterprise_search\"),icon:\"sap-icon://search\",inboundIdentifier:\"38cd162a-e185-448c-9c37-a4fc02b3d39d___GenericDefaultSemantic-__GenericDefaultAction\",url:c,target:\"_blank\",recent:false,semanticObject:\"Action\",semanticObjectAction:\"search\",_type:\"app\",isEnterpriseSearch:true};e.push(n)}i.prototype.execSearch=function(t,i){const n={top:12,skip:0,sort:{path:\"title\",descending:false}};switch(i){case\"homePageApplications\":n.searchTerm=\"\";n.filter={path:\"technicalAttributes\",operator:\"Contains\",value1:\"APPTYPE_HOMEPAGE\"};n.includeAppsWithoutVisualizations=true;break;case\"applications\":n.searchTerm=t;n.filter={filters:[{path:\"technicalAttributes\",operator:\"NotContains\",value1:\"APPTYPE_SEARCHAPP\"},{path:\"technicalAttributes\",operator:\"NotContains\",value1:\"APPTYPE_HOMEPAGE\"}],and:true};break;case\"externalSearchApplications\":n.searchTerm=\"\";n.filter={path:\"technicalAttributes\",operator:\"Contains\",value1:\"APPTYPE_SEARCHAPP\"};n.includeAppsWithoutVisualizations=true;break;default:break}return a.getServiceAsync(\"SearchCEP\").then(e=>e.suggest(n).then(e=>{const n=r.get(\"sap-ushell-config.services.SearchCEP\")!==undefined;const s=a.getFLPPlatform(true);const o=n===true&&s===\"cFLP\";let l=[];const p=r.get(\"sap-ushell-config.renderers.fiori2.componentData.config.searchBusinessObjects\");const u={applications:\"sap-icon://SAP-icons-TNT/application\",homePageApplications:\"sap-icon://SAP-icons-TNT/product\",externalSearchApplications:\"sap-icon://world\"};if(e){l=e.data.map(e=>{e.text=e.text||e.label||e.title;e.icon=e.icon||u[i];return e})}if(p===true&&o===true&&i===\"externalSearchApplications\"){c(l,t)}return l}),t=>{e.error(\"Search service Provider failed\",`error: ${t}`,\"sap.ushell.components.shell.SearchCEP.SearchProviders.SearchServiceProvider::execSearch\");return[]})};return new i},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEPNew/Component\", [\"sap/ui/core/Element\",\"sap/ui/core/Component\",\"sap/base/Log\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider\",\"sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch\",\"sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem\",\"sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup\",\"sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea\",\"sap/ushell/gen/ui5/webcomponents/dist/Button\",\"sap/ui/model/json/JSONModel\",\"sap/base/util/deepEqual\"],(e,t,s,i,a,r,o,h,n,l,c,u,d,p,g)=>{\"use strict\";return t.extend(\"sap.ushell.components.shell.SearchCEPNew.Component\",{metadata:{manifest:\"json\",library:[\"sap.ushell\",\"sap.ushell.components.shell\"]},searchProviderMap:{RecentSearchesList:\"recentSearches\",AppsList:\"applications\",FrequentlyUsedAppsList:\"frequentApplications\",ProductsList:\"products\",ExternalSearchAppsList:\"externalSearchApplications\"},iGroupMaxItemCount:10,init:function(){this._init()},_init:async function(){this._oSearchCEPService=await r.getServiceAsync(\"SearchCEP\");this._oResultModel=new p({});this._oI18nModel=await this.getModel(\"i18n\").getResourceBundle();this._bIsMyHome=r.getFLPPlatform(true)===\"MYHOME\";this.oShellHeader=e.getElementById(\"shell-header\");this._initSearchField();this._registerDefaultProviders();this._aDoables=[];this._listenToEvents()},_initSearchField:function(){try{this._oSearchField=new n({id:\"cepSearchNewInBarJS\",placeholder:i.i18n.getText(\"searchAppTitle\"),tooltip:\"{i18n>search}\",open:false,showClearIcon:true});this._oSearchField.setModel(this._oResultModel,\"searchResults\");this._oSearchField.bindAggregation(\"items\",{path:\"searchResults>/results\",factory:this._searchItemGroupFactory.bind(this)});this._oSearchField.addMessageArea(new u({id:\"searchMessageArea\",text:\"Message area text placeholder w.o. i18n\",description:\"Search for example “All my open Objects”\",visible:true}));this._attachSearchEventHandlers();this.oShellHeader=e.getElementById(\"shell-header\");this.oShellHeader.setSearch(this._oSearchField)}catch(e){s.error(\"Failed to create CEP search field content\",e)}},_attachSearchEventHandlers:function(){this._oSearchField.attachSearch(this._onSearch.bind(this));this._oSearchField.attachInput(this._onInputChange.bind(this))},_searchItemGroupFactory:function(e,t){const s=new c({id:e,headerText:t.getProperty(\"headerText\"),items:{path:`searchResults>${t.getPath()}/items`,model:\"searchResults\",length:this.iGroupMaxItemCount,template:new l({text:\"{searchResults>text}\",icon:\"{searchResults>icon}\",description:\"{searchResults>contentProviderLabel}\",delete:e=>{e.getSource().getParent().removeItem(e.getSource())}})}});return s},_registerDefaultProviders:async function(){Object.values(h.getDefaultProviders(this._oI18nModel)).forEach(async e=>{await this._oSearchCEPService.registerDefaultSearchProvider(e)})},_listenToEvents:function(){this._aDoables.push(o.on(\"updateExtProviderLists\").do(this._updateExtProviderLists.bind(this,this._oSearchCEPService)))},_onInputChange:function(){clearTimeout(this._suggestionTimeout);this._suggestionTimeout=setTimeout(()=>{this._fetchSuggestions(this._oSearchField.getValue())},100)},_fetchSuggestions:async function(e){try{const t=this._oSearchCEPService;const s=await t.getSearchProvidersPriorityArray();const i=s.map(t=>{const s=(e||\"\").trim().length;if(s>=t.minQueryLength&&s<=t.maxQueryLength){return t.execSearch(e,this._getDefaultProviderGroupName(t.id))}return Promise.resolve([])});const a=await Promise.all(i);this._updateSearchResults(a,s)}catch(e){s.error(\"Error fetching search suggestions\",e)}},_updateSearchResults:function(e,t){const s=e.map((e,s)=>({headerText:t[s].title,items:e}));this._oResultModel.setProperty(\"/allResults\",s);const i=[\"Applications\",\"Home Page Applications\",\"Products\"];this._oResultModel.setProperty(\"/resultCount\",s.reduce((e,t)=>e+(t?.items&&i.includes(t.headerText)?t.items.length:0),0));const a=e.filter(e=>!e||e.length===0).length;const r=e.map((e,s)=>{const i=e&&e.length>4&&a<3?e.slice(0,4):(e||[]).slice(0,this.iGroupMaxItemCount);if(e&&e.length>0){return{headerText:t[s].title,items:i}}});const o=this._oResultModel.getProperty(\"/results\");if(o?.length>0&&g(o[1],r[1])){return}this._oResultModel.setProperty(\"/results\",r);this._refreshSearchActionButton()},_getDefaultProviderGroupName:function(e){return this.searchProviderMap[e]},_updateExtProviderLists:async function(){const e=await this._oSearchCEPService.getExternalSearchProvidersPriorityArray();e.forEach(e=>{const t=new c({headerText:e.title});this._oSearchField.addItem(t)});if(e.length>0&&this._oSearchField.getOpen()){this._fetchSuggestions(this._oSearchField.getValue())}},_onSearch:async function(e){const t=e.getParameter(\"item\");const s={searchFieldValue:this._oSearchField.getValue?this._oSearchField.getValue():this._oSearchField.getParent().getValue(),selectedItemContext:t?.getBindingContext?t.getBindingContext(\"searchResults\").getObject():null};if(s?.selectedItemContext!==null){this._saveSearchTerm(s.searchFieldValue);if(t.getParent().getHeaderText()===this._oI18nModel.getText(\"recentSearches\")){this._navigateToResultPage(s.selectedItemContext.text);this._resetSearchState(true)}else if(this._bIsMyHome||s.selectedItemContext){this._navigateToApp(s.selectedItemContext,s.searchFieldValue);this._resetSearchState(true)}}else if(s.searchFieldValue!==\"\"&&typeof s.searchFieldValue===\"string\"){this._saveSearchTerm(s.searchFieldValue);this._navigateToResultPage(s.searchFieldValue);this._resetSearchState()}else{await a.awaitTimeout(50);if(!this._oSearchField.getOpen()&&this._oSearchField.getValue()===\"\"&&this._oSearchField.getDomRef().shadowRoot.querySelector(\".ui5-search-field-root\")){this._fetchSuggestions(\"\");this._oSearchField.setOpen(true)}}},_saveSearchTerm:async function(e){if(!e){return}const t=await r.getServiceAsync(\"UserRecents\");await t.addSearchActivity({sTerm:e})},_navigateToApp:function(e,t){this._oSearchCEPService.navigate(e,t)},_navigateToResultPage:async function(e,t){let s=`#WorkZoneSearchResult-display?searchTerm=${e}&category=app`;if(t){s=`#Action-search&/top=20&filter={\"dataSource\":{\"type\":\"Category\",\"id\":\"All\",\"label\":\"All\",\"labelPlural\":\"All\"},\"searchTerm\":\"${e}\",`+'\"rootCondition\":{\"type\":\"Complex\",\"operator\":\"And\",\"conditions\":[]}}'}const i=await r.getServiceAsync(\"Navigation\");await i.navigate({target:{shellHash:s}})},_refreshSearchActionButton:function(){const e=this._oSearchField.getAction()[0];if(e){this._oSearchField.removeAction(e)}if(this._oSearchField.getValue()!==\"\"&&this._oSearchField.getOpen()){this._oSearchField.addAction(new d({text:{path:\"searchResults>/resultCount\",formatter:e=>this._oI18nModel.getText(\"showAllSearchResults\",[e||0])},click:this._onSearch.bind(this),design:\"Transparent\"}))}},_resetSearchState:async function(e){await a.awaitTimeout(100);if(this._oSearchField.getValue()!==\"\"&&e){this._oSearchField.setValue(\"\")}if(this._oSearchField.getOpen()){this._oSearchField.setOpen(false)}this._oResultModel.setProperty(\"/results\",[])},exit:function(){this._oSearchField.destroy();this._aDoables.forEach(e=>{e.off()});this._aDoables=[];t.prototype.exit.apply(this,arguments)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider\", [\"sap/base/Log\",\"sap/ushell/Container\"],(e,t)=>{\"use strict\";const r=function(){};r.prototype.getName=function(){return\"Frequent Activity Provider\"};r.prototype.execSearch=function(r,n){return t.getServiceAsync(\"UserRecents\").then(t=>t.getFrequentActivity().then(e=>{let t=[];const r={frequentApplications:{Application:{icon:\"sap-icon://SAP-icons-TNT/application\"},\"External Link\":{icon:\"sap-icon://internet-browser\"}},frequentProducts:{Product:{icon:\"sap-icon://product\"}}};if(e&&Array.isArray(e)&&e.length>0){t=e.filter(e=>r[n].hasOwnProperty(e.appType)).map(e=>{e.text=e.text||e.title;e.icon=e.icon||r[n][e.appType].icon;return e})}return t}).catch(t=>{e.error(\"Frequent Activity Provider failed\",`error: ${t}`,\"sap.ushell.components.shell.SearchCEP.SearchProviders.FrequentActivityProvider::execSearch\");return[]}))};return new r},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider\", [\"sap/base/Log\",\"sap/ushell/Container\"],(e,r)=>{\"use strict\";const t=function(){};t.prototype.getName=function(){return\"Recent Search Terms Provider\"};t.prototype.execSearch=function(){return r.getServiceAsync(\"UserRecents\").then(r=>r.getRecentSearches().then(e=>{let r=[];if(Array.isArray(e)&&e.length>0){r=e.map(e=>({text:e.sTerm,icon:e.icon||\"sap-icon://history\"}))}return r},r=>{e.error(\"Recent Search Terms Provider failed\",`error: ${r}`,\"sap.ushell.components.shell.SearchCEP.SearchProviders.RecentSearchProvider::execSearch\");return[]}))};return new t},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider\", [\"sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider\",\"sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider\",\"sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider\"],function(e,t,r){\"use strict\";const i={_defaultProviders:null};i.getDefaultProviders=function(e){if(!this._defaultProviders){this._defaultProviders=this._createDefaultProviders(e)}return this._defaultProviders};i._createDefaultProviders=function(i){return{recentSearches:{id:\"RecentSearchesList\",entryType:\"app\",title:i.getText(\"recentSearches\"),titleVisible:false,minQueryLength:0,maxQueryLength:0,defaultItemCount:2,maxItemCount:50,priority:0,execSearch:t.execSearch.bind(t)},applications:{id:\"AppsList\",entryType:\"app\",title:i.getText(\"applications\"),showNoData:true,titleVisible:false,highlightResult:true,highlightSearchStringPart:true,minQueryLength:1,maxQueryLength:100,defaultItemCount:6,maxItemCount:50,priority:0,execSearch:r.execSearch.bind(r)},frequentApplications:{id:\"FrequentlyUsedAppsList\",entryType:\"product\",title:i.getText(\"frequentAppsCEPSearch\"),titleVisible:true,minQueryLength:0,maxQueryLength:0,defaultItemCount:6,maxItemCount:50,priority:1,execSearch:e.execSearch.bind(e)},products:{id:\"ProductsList\",entryType:\"app\",title:i.getText(\"products\"),titleVisible:true,minQueryLength:0,maxQueryLength:0,defaultItemCount:6,maxItemCount:50,priority:2,execSearch:r.execSearch.bind(r)},externalSearchApplications:{id:\"ExternalSearchAppsList\",entryType:\"app\",title:i.getText(\"searchWithin\"),titleVisible:true,minQueryLength:1,maxQueryLength:100,defaultItemCount:4,maxItemCount:50,priority:2,execSearch:r.execSearch.bind(r)}}};return i},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider\", [\"sap/base/Log\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/base/util/ObjectPath\",\"sap/ushell/Container\"],(e,t,r,a,i)=>{\"use strict\";const c=function(){};c.prototype.getName=function(){return\"Search Service Provider\"};c.prototype.execSearch=function(t,r){const c={top:50,skip:0,sort:{path:\"title\",descending:false}};switch(r){case\"products\":c.searchTerm=\"\";c.filter={path:\"technicalAttributes\",operator:\"Contains\",value1:\"APPTYPE_HOMEPAGE\"};c.includeAppsWithoutVisualizations=true;break;case\"applications\":c.searchTerm=t;c.filter={filters:[{path:\"technicalAttributes\",operator:\"NotContains\",value1:\"APPTYPE_SEARCHAPP\"},{path:\"technicalAttributes\",operator:\"NotContains\",value1:\"APPTYPE_HOMEPAGE\"}],and:true};break;case\"externalSearchApplications\":c.searchTerm=\"\";c.filter={path:\"technicalAttributes\",operator:\"Contains\",value1:\"APPTYPE_SEARCHAPP\"};c.includeAppsWithoutVisualizations=true;break;default:break}return i.getServiceAsync(\"SearchCEP\").then(e=>e.suggest(c).then(e=>{const c=a.get(\"sap-ushell-config.services.SearchCEP\")!==undefined;const n=i.getFLPPlatform(true);const s=c===true&&n===\"cFLP\";let o=[];const l=a.get(\"sap-ushell-config.renderers.fiori2.componentData.config.searchBusinessObjects\");const p={applications:\"sap-icon://SAP-icons-TNT/application\",products:\"sap-icon://SAP-icons-TNT/product\",externalSearchApplications:\"sap-icon://world\"};if(e){o=e.data.map(e=>{e.text=e.text||e.label||e.title;e.icon=e.icon||p[r];return e})}if(l===true&&s===true&&r===\"externalSearchApplications\"){this._addESToResult(o,t)}return o}),t=>{e.error(\"Search service Provider failed\",`error: ${t}`,\"sap.ushell.components.shell.SearchCEP.SearchProviders.SearchServiceProvider::execSearch\");return[]})};c.prototype._addESToResult=function(e,t){const a='#Action-search&/top=20&filter={\"dataSource\":{\"type\":\"Category\",\"id\":\"All\",\"label\":\"All\",\"labelPlural\":\"All\"},\"'+`searchTerm\":\"${t}\",\"rootCondition\":{\"type\":\"Complex\",\"operator\":\"And\",\"conditions\":[]}}`;const c=i.getFLPUrl()+a;const n={text:r.i18n.getText(\"enterprise_search\"),description:r.i18n.getText(\"enterprise_search\"),icon:\"sap-icon://search\",inboundIdentifier:\"38cd162a-e185-448c-9c37-a4fc02b3d39d___GenericDefaultSemantic-__GenericDefaultAction\",url:c,target:\"_blank\",recent:false,semanticObject:\"Action\",semanticObjectAction:\"search\",_type:\"app\",isEnterpriseSearch:true};e.push(n)};return new c},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/Component\", [\"sap/ui/core/Element\",\"sap/ui/core/mvc/XMLView\",\"sap/ui/core/UIComponent\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/components/shell/Settings/userAccount/UserAccountEntry\",\"sap/ushell/components/shell/Settings/appearance/AppearanceEntry\",\"sap/ushell/components/shell/Settings/homepage/HomepageEntry\",\"sap/ushell/components/shell/Settings/spaces/SpacesEntry\",\"sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry\",\"sap/ushell/components/shell/Settings/notifications/NotificationsEntry\",\"sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry\",\"sap/ushell/ui/shell/ShellHeadItem\",\"sap/ushell/utils\",\"sap/ushell/Container\",\"sap/ushell/state/StateManager\"],(e,t,s,n,i,r,o,a,l,c,u,h,g,p,d,f,S)=>{\"use strict\";const m=S.Operation;const y=[];return s.extend(\"sap.ushell.components.shell.Settings.Component\",{metadata:{version:\"1.139.0\",library:\"sap.ushell\",dependencies:{libs:{\"sap.m\":{},\"sap.ui.layout\":{lazy:true}}}},init:function(){s.prototype.init.apply(this,arguments);const e=f.getRendererInternal(\"fiori2\").getShellConfig();if(e.moveUserSettingsActionToShellHeader){this.oSettingsBtn=this._addUserSettingsButton()}this._addStandardEntityToConfig();this._addUserLanguageAndRegionSettings();if(n.last(\"/core/shell/model/enableNotifications\")){this._addNotificationSettings()}y.push(i.on(\"openUserSettings\").do(this._openUserSettings.bind(this)))},_updateUserPreferencesEntries:function(e){if(e){e=f.getRendererInternal(\"fiori2\").reorderUserPrefEntries(e);n.emit(\"/core/userPreferences/entries\",e)}},_addUserLanguageAndRegionSettings:function(){const e=f.getUser();e.getLanguageAndRegionSettingsEntry().then(e=>{const t=n.last(\"/core/userPreferences/entries\");t.push(e.getEntry());this._updateUserPreferencesEntries(t)})},_addStandardEntityToConfig:function(){let e=n.last(\"/core/userPreferences/entries\");e.push(o.getEntry());e.push(a.getEntry());if(c.isRelevant()){e.push(c.getEntry())}if(n.last(\"/core/shell/enableRecentActivity\")){e.push(u.getEntry())}if(n.last(\"/core/shell/model/searchAvailable\")){f.getFLPPlatform().then(t=>{if(t!==\"MYHOME\"){sap.ui.require([\"sap/ushell/components/shell/Settings/search/SearchEntry\"],t=>{t.getEntry().then(t=>{t.isActive().then(s=>{if(!s){return}d.setPerformanceMark(\"FLP -- search setting entry is set active\");e=n.last(\"/core/userPreferences/entries\");e.push(t);this._updateUserPreferencesEntries(e)})})})}})}if(n.last(\"/core/home/enableHomePageSettings\")&&!n.last(\"/core/spaces/enabled\")){e.push(l.getEntry())}if(n.last(\"/core/shell/model/userDefaultParameters\")){e.push(g.getEntry())}e=f.getRendererInternal(\"fiori2\").reorderUserPrefEntries(e);this._updateUserPreferencesEntries(e)},_addNotificationSettings:function(){f.getServiceAsync(\"NotificationsV2\").then(e=>{e._userSettingInitialization();e._getNotificationSettingsAvailability().then(e=>{if(e.settingsAvailable){const e=n.last(\"/core/userPreferences/entries\");e.push(h.getEntry());this._updateUserPreferencesEntries(e)}})}).catch(()=>{})},_openUserSettings:function(s){if(!this.oDialogPromise){this.oDialogPromise=t.create({id:\"settingsView\",viewName:\"sap.ushell.components.shell.Settings.UserSettings\"}).then(t=>{this.oSettingsView=t;const n=s.controlId||\"shell-header\";e.getElementById(n).addDependent(t);return t})}return this.oDialogPromise.then(e=>{e.getController().open(s?.targetEntryId)})},_addUserSettingsButton:function(){let e;if(n.last(\"/core/shellBar/enabled\")){const t=sap.ui.require(\"sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem\");e=new t({id:\"userSettingsBtn\",icon:\"sap-icon://action-settings\",text:r.i18n.getText(\"userSettings\"),accessibilityAttributes:{hasPopup:\"dialog\"},click:this._openUserSettings.bind(this)})}else{e=new p({id:\"userSettingsBtn\",icon:\"sap-icon://action-settings\",text:r.i18n.getText(\"userSettings\"),ariaHaspopup:\"dialog\",press:this._openUserSettings.bind(this)})}S.updateAllBaseStates(\"userActions.items\",m.Add,e.getId());return e},exit:function(){for(let e=0;e<y.length;e++){y[e].off()}if(this.oSettingsView){this.oSettingsView.destroy();this.oSettingsView=null;this.oDialogPromise=null}if(this.oSettingsBtn){this.oSettingsBtn.destroy();this.oSettingsBtn=null}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/ErrorMessageHelper\", [\"sap/ui/core/Messaging\"],e=>{\"use strict\";const s=\"sapUshellSettingsDialog/\";function t(t){t.setTargets([s]);e.addMessages(t)}function a(){return e.getMessageModel().getData().filter(e=>e.getTargets()&&e.getTargets().indexOf(s)===0)}function g(){e.getMessageModel().getData().forEach(t=>{if(t.getTargets()&&t.getTargets().indexOf(s)===0){e.removeMessages(t)}})}return{addMessage:t,filterMessagesToDisplay:a,removeErrorMessages:g}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/UserSettings.controller\", [\"sap/base/Log\",\"sap/ui/core/Element\",\"sap/ui/core/mvc/Controller\",\"sap/ui/core/Fragment\",\"sap/ui/model/json/JSONModel\",\"sap/ui/Device\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/components/shell/Settings/ErrorMessageHelper\",\"sap/ui/core/message/Message\",\"sap/ui/core/message/MessageType\",\"sap/ui/base/Object\",\"sap/base/util/deepClone\",\"sap/ushell/Container\"],(e,t,s,n,i,r,o,a,l,d,c,u,g,h,f,p)=>{\"use strict\";return s.extend(\"sap.ushell.components.shell.Settings.UserSettings\",{onInit:function(){const e=this.getView();const t=new i(r);t.setDefaultBindingMode(\"OneWay\");e.setModel(t,\"device\");this._aPreviouslySelectedItems=[];e.byId(\"userSettingEntryList\").addEventDelegate({onAfterRendering:this._listAfterRendering.bind(this)});this._mLoadedEntryContent=new Map;this._mLoadedWrappers=new Map;e.setModel(new i({}));e.setModel(l.i18nModel,\"i18n\");e.setModel(new i({entries:{}}),\"results\");r.orientation.attachHandler(this._fnOrientationChange,this);this._oSelectedItemOnMobile=null;this._oConfigDoable=o.on(\"/core/userPreferences/entries\").do(this._processNewEntries.bind(this))},_fnOrientationChange:function(){const e=this.getView().byId(\"settingsApp\");this._updateHeaderButtonVisibility(e.isMasterShown())},_formatDescription:function(e,t,s){if(t.length>1){return\"\"}return s[e].valueResult||\"\"},_processNewEntries:function(e){const t=this.getView();const s=t.getModel(\"results\");e.forEach(e=>{const t=s.getProperty(`/entries/${e.id}`);if(!t){s.setProperty(`/entries/${e.id}`,{valueResult:null,contentResult:null})}this._setEntryValueResult(e.id)});const n=t.getModel();const i=t.byId(\"userSettingEntryList\");let o=i.getSelectedItem();if(!r.system.phone&&!o){o=i.getItems()[0]}if(o){const e=o.getBindingContext().getObject();this._aPreviouslySelectedItems=e.tabs.map(e=>e.id)}n.setProperty(\"/entries\",this._calculateEntryGroups(e));t.byId(\"userSettingEntryList\").invalidate()},_calculateEntryGroups:function(e){const t=[];const s=new Map;const n=this.getView().getModel(\"results\");e.forEach(e=>{if(e.visible===false){const t=n.getProperty(`/entries/${e.id}/contentResult`);if(t){this.getView().byId(\"settingsApp\").removeDetailPage(t);n.setProperty(`/entries/${e.id}/contentResult`,null)}const s=a.last(\"UserSettingsOpened\")||{};delete s[e.id];a.emit(\"UserSettingsOpened\",s);return}if(e.groupingEnablement){n.setProperty(`/entries/${e.id}/contentResult`,null);const i=s.get(e.groupingId);if(i||i===0){t[i].tabs.push(e);return}s.set(e.groupingId,t.length)}e.tabs=[e];t.push(e)});return t},_afterClose:function(){if(window.document.activeElement&&window.document.activeElement.tagName===\"BODY\"){window.document.getElementById(\"userActionsMenuHeaderButton\").focus()}},open:function(e){const t=this.byId(\"userSettingsDialog\");if(e){this.sTargetEntryId=e}t.open()},_listAfterRendering:function(){const e=this.getView();const t=e.byId(\"userSettingEntryList\");const s=t.getItems();let n;let i;s.forEach(e=>{const t=e.getBindingContext().getObject();this._setEntryValueResult(t.id);i=t?.tabs?.find(e=>e.id===this.sTargetEntryId)?.id;if(t.id===this.sTargetEntryId||i){n=e;this.sTargetEntryId=null}});if(!r.system.phone){if(!n&&this._aPreviouslySelectedItems){for(let e=0;e<this._aPreviouslySelectedItems.length;e++){for(let n=0;n<s.length;n++){const r=s[n];if(r.getBindingContext().getObject().id===this._aPreviouslySelectedItems[e]){t.setSelectedItem(r);this._toDetail(r,i);r.focus();return}}}}n=n||s[0];if(n){t.setSelectedItem(n);this._toDetail(n,i);n.focus()}}},_setEntryValueResult:function(t){let s;const n=this.getView().getModel(\"results\");let i=o.last(\"/core/userPreferences/entries\");let r=i.findIndex(e=>e.id===t);if(r===-1){return Promise.resolve()}return Promise.resolve().then(()=>{const a=i[r].title;const d=i[r].valueArgument;if(typeof d!==\"function\"){const e=n.getProperty(`/entries/${t}/valueResult`);if(e!==null&&e!==undefined){return e}return d}s=f(n.getProperty(\"/entries\"));s[t].valueResult=l.i18n.getText(\"genericLoading\");n.setProperty(\"/entries\",s);return Promise.resolve().then(d).then(e=>{if(typeof e!==\"object\"){return e}if(e&&e.value!==undefined){i=o.last(\"/core/userPreferences/entries\");r=i.findIndex(e=>e.id===t);if(r>-1){i[r].visible=!!e.value;o.emit(\"/core/userPreferences/entries\",i)}}return e.displayText}).catch(t=>{e.error(`Can not load value for ${a} entry`,t);return l.i18n.getText(\"loadingErrorMessage\")})}).then(e=>{s=f(n.getProperty(\"/entries\"));s[t].valueResult=e||\"\";n.setProperty(\"/entries\",s)})},_navBackButtonPressHandler:function(){const e=this.byId(\"settingsApp\");e.backDetail();e.getCurrentDetailPage().setBusy(false);this._updateHeaderButtonVisibility(true)},_navToggleButtonPressHandler:function(){const e=this.byId(\"settingsApp\");const t=e.isMasterShown();if(t){e.hideMaster()}else{e.showMaster()}this._updateHeaderButtonVisibility(!t)},_updateHeaderButtonVisibility:function(e){if(r.system.phone){const t=this.getView().byId(\"userSettingsNavBackButton\");t.setVisible(!e)}else{const t=this.getView().byId(\"userSettingsMenuButton\");if(r.orientation.portrait){t.setVisible(true);t.setPressed(e);t.setTooltip(l.i18n.getText(e?\"ToggleButtonHide\":\"ToggleButtonShow\"))}else{t.setVisible(false)}}},_afterMasterClose:function(){this._updateHeaderButtonVisibility(false)},_onSelectionChange:function(e){this.getView().byId(\"settingsApp\").getCurrentDetailPage().setBusy(true);this._toDetail(e.getSource().getSelectedItem())},_toDetail:function(e,t){const s=this.getView();const n=s.getModel();const i=s.getModel(\"results\");const a=s.byId(\"settingsApp\");const l=e.getBindingContextPath();const d=n.getProperty(l);const c=d.id;const u=i.getProperty(`/entries/${c}/contentResult`);if(d.tabs){this._aPreviouslySelectedItems=d.tabs.map(e=>e.id)}else{this._aPreviouslySelectedItems=[c]}if(r.system.phone){this._oSelectedItemOnMobile=e;e.setSelected(false)}if(u){this._navToDetail(u,s);const e=d.tabs.map(e=>e.id).join(\"-\");const n=this._mLoadedWrappers.get(e);if(n){n.then(e=>{const s=e.getContent()[1];if(t){s.setSelectedKey(t)}const n=s.getSelectedKey();const i=s.getItems();let r=i.findIndex(e=>e.getId()===n);if(r===-1){r=0}this._emitEntryOpened(d.tabs[r].id)});return Promise.resolve()}}return Promise.all([this._createContentWrapper(d),this._createEntryContent(d)]).then(n=>{const r=n[0];const l=n[1];const u=o.last(\"/core/userPreferences/entries\");const g=u.some(e=>e.id===c&&e.visible!==false);const h=s.byId(\"userSettingEntryList\");const f=h.getSelectedItem()||this._oSelectedItemOnMobile;const p=e===f;if(!g){if(p){if(a.getMode()===\"ShowHideMode\"){a.showMaster();this._updateHeaderButtonVisibility(true)}else{this._toDetail(f||h.getItems()[0])}}return}a.addDetailPage(r);if(d.tabs.length>1){r.getContent()[1].getItems()[0].addContent(l)}else{r.addContent(l)}const y=r.getId();i.setProperty(`/entries/${c}/contentResult`,y);if(t){const e=r.getContent()?.[1];e?.setSelectedKey(t)}if(p){this._navToDetail(y,s);this._emitEntryOpened(c)}return r.getId()})},_createEntryContent:function(e){if(!this._mLoadedEntryContent.get(e.id)){if(typeof e.contentFunc===\"function\"){this._mLoadedEntryContent.set(e.id,new Promise(t=>{e.contentFunc().then(e=>{if(h.isObjectA(e,\"sap.ui.core.Control\")){t(e)}else{this._createErrorContent(l.i18n.getText(\"loadingErrorMessage\")).then(t)}}).catch(()=>{this._createErrorContent(l.i18n.getText(\"loadingErrorMessage\")).then(t)})}))}else{this._mLoadedEntryContent.set(e.id,this._createErrorContent(l.i18n.getText(\"userSettings.noContent\")))}}return this._mLoadedEntryContent.get(e.id)},_createContentWrapper:function(e){const s=e.tabs.map(e=>e.id);const r=s.join(\"-\");if(!this._mLoadedWrappers.get(r)){this._mLoadedWrappers.set(r,n.load({name:\"sap.ushell.components.shell.Settings.ContentWrapper\",controller:{onTabSelected:function(s){const n=t.getElementById(s.getParameter(\"id\"));const i=s.getParameter(\"item\");const r=n.indexOfItem(i);const o=e.tabs[r];this._emitEntryOpened(o.id);this._createEntryContent(o).then(e=>{i.addContent(e)})}.bind(this)}}).then(t=>{t.setModel(new i({title:e.title,showHeader:!e.provideEmptyWrapper,tabs:e.tabs}),\"entryInfo\");return t}))}return this._mLoadedWrappers.get(r).then(t=>{const s=t.getContent()[1];const n=s.getSelectedKey();const i=s.getItems().findIndex(e=>e.getId()===n);if(i>-1){const t=e.tabs[i];this._emitEntryOpened(t.id)}return t})},_createErrorContent:function(e){return n.load({name:\"sap.ushell.components.shell.Settings.ErrorContent\"}).then(t=>{t.setModel(new i({errorMessage:e}));return t})},_navToDetail:function(e,t){const s=t.byId(\"settingsApp\");s.toDetail(e);s.getCurrentDetailPage().setBusy(false);if(s.getMode()===\"ShowHideMode\"){s.hideMaster();this._updateHeaderButtonVisibility(false)}},_emitEntryOpened:function(e){const t=a.last(\"UserSettingsOpened\")||{};t[e]=true;a.emit(\"UserSettingsOpened\",t)},updateUserPreferences:function(){e.debug(\"[000] updateUserPreferences: \",\"UserSettings.controller\");if(this._updateUserPreferencesPromise){return this._updateUserPreferencesPromise}let t;let s;this._updateUserPreferencesPromise=new Promise((e,n)=>{t=e;s=n});this._updateUserPreferencesPromise.sendRequest=function(){p.getServiceAsync(\"UserInfo\").then(n=>{e.debug(\"[000] updateUserPreferences: sendRequest\",\"UserSettings.controller\");n.updateUserPreferences().done(t).fail(s).always(()=>{e.debug(\"[000] updateUserPreferences: sendRequest: _updateUserPreferencesPromise\",\"UserSettings.controller\");this._updateUserPreferencesPromise=null})})}.bind(this);return this._updateUserPreferencesPromise},_maybeReload:function(t){let s=false;let n=false;let i=false;let r=[];let o=[];t.forEach(e=>{if(e&&e.clearSapUserContextCookie){n=true}if(e&&e.refresh){s=true}if(e&&e.noHash){i=true}if(e&&e.urlParams&&e.urlParams.length>0){r=r.concat(e.urlParams)}if(e&&e.obsoleteUrlParams&&e.obsoleteUrlParams.length>0){o=o.concat(e.obsoleteUrlParams)}});if(s){e.debug(\"[000]refresh browser with Parameters:\",JSON.stringify(r),\"UserSettings.controller\");if(n){d.clearSapUserContextCookie()}if(i){window.location=window.location.href.replace(window.location.hash,\"\")}else{d.refreshBrowser(r,o)}return true}},_handleSaveButtonPress:function(){c.removeErrorMessages();const t=this.getView().byId(\"userSettingsDialog\");const s=o.last(\"/core/userPreferences/entries\");const n=a.last(\"UserSettingsOpened\")||{};if(Object.keys(n).length===0){this._handleSettingsDialogClose();this._showSuccessMessageToast();return Promise.resolve()}t.setBusy(true);const i=s.reduce((t,s)=>{if(n[s.id]){e.debug(\"[000] _handleSaveButtonPress: oEntry.id: \",s.id,\"UserSettings.controller\");t.push(this._executeEntrySave(s))}return t},[]);e.debug(\"[000] _handleSaveButtonPress:_updateUserPreferencesPromise\",this._updateUserPreferencesPromise,\"UserSettings.controller\");if(this._updateUserPreferencesPromise){this._updateUserPreferencesPromise.sendRequest()}return Promise.all(i).then(s=>{e.debug(\"[000] _handleSaveButtonPress: then save aResults\",JSON.stringify(s),\"UserSettings.controller\");const n=c.filterMessagesToDisplay();let i={};let r=\"\";let o=\"\";t.setBusy(false);this._handleSettingsDialogClose();if(n.length>0){i=n[0];r=i.getDescription();a.emit(\"UserSettingsOpened\",null);n.forEach(e=>{o+=`Entry: ${e.getAdditionalText()} - Error message: ${e.getDescription()}\\n`});e.error(\"Failed to save the following entries\",o);if(this._maybeReload(s)){return}return p.getServiceAsync(\"MessageInternal\").then(e=>{e.init();e.show(e.Type.ERROR,l.i18n.getText(\"userSettings.SavingError.SomeChanges\"),{details:r})})}this._showSuccessMessageToast();a.emit(\"UserSettingsOpened\",null);this._maybeReload(s)})},_executeEntrySave:function(t){let s;let n;function i(e){return e||{}}function r(s){e.debug(\"[000] _onError: errorInformation\",JSON.stringify(s),\"UserSettings.controller\");let n;const i=t.id;const r=t.title;if(!s){n=l.i18n.getText(\"userSettings.SavingError.Undefined\")}else if(typeof s===\"string\"){n=s}else if(Array.isArray(s)){s.forEach(e=>{e.setAdditionalText(r);e.setTechnicalDetails({pluginId:i});c.addMessage(e)});return}else if(h.isObjectA(s,\"sap.ui.core.message.Message\")){s.setAdditionalText(r);s.setTechnicalDetails({pluginId:i});c.addMessage(s);return}else{n=l.i18n.getText(\"userSettings.SavingError.WithMessage\",[s.message])}c.addMessage(new u({type:g.Error,additionalText:r,technicalDetails:{pluginId:i},description:n,message:n}))}try{e.debug(`[000] onSave: oEntry.id: ${t.id}`,\"UserSettings.controller\");this._isExecuteEntrySavedInUserSettingsController=true;s=t.onSave(this.updateUserPreferences.bind(this))}catch(e){return r(e)}if(s){if(s.promise){e.warning(`jQuery.promise is used to save ${t.title} settings entry.\\n`+\"The using of jQuery.promise for onSave is deprecated. Please use the native promise instead.\");n=new Promise(e=>{s.done(t=>{e(i(t))}).fail(t=>{e(r(t))})})}else{n=s.then(i).catch(r)}}else{n=Promise.resolve();e.warning(`${t.title} settings might not be saved correctly, it seems like the API contract is not correctly fullfilled.\\n`+\"Please contact the owner of the setting.\")}return n},_showSuccessMessageToast:function(){sap.ui.require([\"sap/m/MessageToast\"],e=>{const t=l.i18n.getText(\"savedChanges\");e.show(t,{offset:\"0 -50\"})})},_handleCancel:function(){const t=o.last(\"/core/userPreferences/entries\");const s=a.last(\"UserSettingsOpened\")||{};if(s){t.forEach(t=>{if(s[t.id]&&t.onCancel){try{t.onCancel()}catch(t){e.error(\"Failed to cancel the following entries\",t)}}})}a.emit(\"UserSettingsOpened\",null);this._handleSettingsDialogClose()},_handleSettingsDialogClose:function(){p.getUser().resetChangedProperties();if(r.system.phone){this.getView().byId(\"settingsApp\").toMaster(\"settingsView--userSettingMaster\")}this.getView().byId(\"userSettingsMessagePopoverBtn\").setVisible(false);this.getView().byId(\"userSettingsDialog\").close()},onExit:function(){this._oConfigDoable.off();r.orientation.detachHandler(this._fnOrientationChange,this)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/appearance/Appearance.controller\", [\"sap/base/Log\",\"sap/ui/base/Object\",\"sap/ui/core/Component\",\"sap/ui/core/Theming\",\"sap/ui/core/EventBus\",\"sap/ui/core/message/Message\",\"sap/ui/core/message/MessageType\",\"sap/ui/core/mvc/Controller\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/jquery\",\"sap/m/GroupHeaderListItem\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/User\",\"sap/ushell/services/DarkModeSupport\",\"sap/ushell/Container\"],function(e,t,o,n,s,i,r,a,c,h,jQuery,d,l,g,p,u,f,m){\"use strict\";return a.extend(\"sap.ushell.components.shell.Settings.appearance.Appearance\",{TILE_SIZE:{Small:0,Responsive:1,getName:function(e){return Object.keys(this)[e]}},onInit:function(){const e=this.getView();this.oUser=m.getUser();const t=e.getViewData();this.aThemeListFromServer=t.themeList||[];this.aThemeSets=t.themeSets||[];this.sThemeRoot=t.themeRoot;this.oPersonalizers={};e.setModel(p.i18nModel,\"i18n\");e.setModel(this.getConfigurationModel(),\"config\");this._oDarkModeModel=this.getDarkModeModel(this.aThemeListFromServer);e.setModel(this._oDarkModeModel,\"darkMode\");e.setModel(new h({options:this._getThemeListData(this.oUser.getTheme()),ariaTexts:{headerLabel:p.i18n.getText(\"Appearance\")},deprecatedThemeSelected:this.bShowDeprecationMsg}));this._fnHandleThemeApplied=this._handleThemeApplied.bind(this);n.attachApplied(this._fnHandleThemeApplied)},onExit:function(){n.detachApplied(this._fnHandleThemeApplied)},onAvatarError:function(e){e.oSource.getBindingContext()?.setProperty(\"avatar\",\"\")},getThemeSetHeader:function(e){const t=this.aThemeSets.find(t=>e.key===t.id);const o=t?.label||p.i18n.getText(\"AppearanceIndividualThemes\");return new d({title:o})},_getSelectedThemeData:function(){const e=this.getView().byId(\"themeList\").getSelectedItem();return e?.getBindingContext()?.getProperty?.()},_getSelectedTheme:function(){return this._getSelectedThemeData()?.id||this.oUser.getTheme()},_getThemeListData:function(e){const t=this.aThemeListFromServer||[];const o=this.aThemeSets||[];const n=[];const s=this.sThemeRoot;function i(e){return o.filter(t=>!!t.set.themes?.find?.(t=>t?.id===e))}function r(e){if(s&&e?.avatarRuntimeUrl){return s+e.avatarRuntimeUrl}return undefined}this.bShowDeprecationMsg=false;if(!this._isThemeCofigurable()||this.oUser.isSetThemePermitted()===false){const o=t.find(t=>t?.id===e);return[{id:e,name:o?.name||e,icon:\"sap-icon://palette\",avatar:r(o),mode:\"InlineSvg\",deprecated:false,isSelected:true}]}t.forEach(e=>{const t=i(e?.id);if(t.length===0){t.push({})}t.forEach(t=>{const o=t?.set?.themes?.find?.(t=>t.id===e?.id);const s={id:e?.id,name:e?.name||e?.id||\"\",contrast:o?.contrast,colorScheme:o?.colorScheme,icon:\"sap-icon://palette\",avatar:r(e),mode:\"Image\",deprecated:e?.deprecated===true,setId:t.id,isSelected:false};n.push(s)})});if(this._areSetsVisible()){const e=p.i18n.getText(\"AppearanceAutomaticSelection\");o.forEach(t=>{const o={id:t.id,name:e,icon:\"sap-icon://sys-monitor\",avatar:r(t),mode:\"InlineSvg\",deprecated:t.deprecated===true,setId:t.id,isSelected:false};n.push(o)})}const a=this.oUser.getThemeSet();let c;if(a){c=n.find(t=>t.id===e&&t.setId===a)}if(!c){c=n.find(t=>t.id===e)}if(this._isDarkModeActive()&&c?.setId){const e=n.find(e=>e.id===c.setId);if(e){c=e}}if(c){c.isSelected=true;this.bShowDeprecationMsg=c.deprecated}return n},_isThemeCofigurable:function(){return l.last(\"/core/shell/model/setTheme\")!==false},getConfigurationModel:function(){const e=l.last(\"/core/shell/model/contentDensity\")&&(c.system.desktop||c.system.combi);const t=l.last(\"/core/home/sizeBehaviorConfigurable\");const o=l.last(\"/core/contentProviders/providerInfo/enabled\")&&l.last(\"/core/contentProviders/providerInfo/userConfigurable\");const n=l.last(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\");const s=t||e||o;const i=new h({themeConfigurable:this._isThemeCofigurable(),sizeBehaviorConfigurable:t,tileSize:this.TILE_SIZE[l.last(\"/core/home/sizeBehavior\")],contentDensityConfigurable:e,isCozyContentMode:document.body.classList.contains(\"sapUiSizeCozy\"),textAlign:c.system.phone?\"Left\":\"Right\",showContentProviderInfoOnVisualizationsConfigurable:o,showContentProviderInfoOnVisualizationsSelected:n,displaySettingsTabVisible:s});return i},getDarkModeModel:function(){const e=new URLSearchParams(window.location.search);const t=!e.get(\"sap-theme\")&&!e.get(\"sap-ui-theme\");const o=this._isThemeCofigurable();const n=new h({enabled:o,detectionSupported:o&&t,detectionEnabled:o&&t&&this.oUser.getDetectDarkMode()});return n},onAfterRendering:function(){const e=this.getView().getModel(\"config\").getProperty(\"/themeConfigurable\");const t=this.getView().byId(\"themeList\");t.toggleStyleClass(\"sapUshellThemeListDisabled\",!e)},_handleThemeApplied:function(){const e=this.getView().getModel(\"config\");if(e){const e=this._getThemeListData(this.oUser.getTheme());const t=this.getView().getModel();t.setProperty(\"/options\",e);t.setProperty(\"/deprecatedThemeSelected\",this.bShowDeprecationMsg)}},onCancel:function(){const e=this.getView().getModel(\"config\");if(e.getProperty(\"/themeConfigurable\")){const e=this.oUser.getTheme();const t=this.getView().getModel().getProperty(\"/options\");t.forEach(t=>{t.isSelected=e===t.id});this.getView().getModel().setProperty(\"/options\",t)}if(e.getProperty(\"/showContentProviderInfoOnVisualizationsConfigurable\")){e.setProperty(\"/showContentProviderInfoOnVisualizationsSelected\",l.last(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\"))}if(e.getProperty(\"/contentDensityConfigurable\")){e.setProperty(\"/isCozyContentMode\",this.oUser.getContentDensity()===\"cozy\")}if(e.getProperty(\"/sizeBehaviorConfigurable\")){e.setProperty(\"/tileSize\",this.TILE_SIZE[l.last(\"/core/home/sizeBehavior\")])}if(this._oDarkModeModel&&this._oDarkModeModel.getProperty(\"/enabled\")){this._oDarkModeModel.setProperty(\"/detectionEnabled\",this.oUser.getDetectDarkMode());this.oUser.resetChangedProperty(\"detectDarkMode\")}},onSave:function(e){this._updateUserPreferences=e;const o=this.getView().getModel(\"config\");const n=[];if(o.getProperty(\"/themeConfigurable\")){n.push(this.onSaveThemes().then(()=>{g.emit(\"themeChanged\",Date.now())}))}if(o.getProperty(\"/showContentProviderInfoOnVisualizationsConfigurable\")){n.push(this.onSaveShowContentProviderInfoOnVisualizations())}if(o.getProperty(\"/contentDensityConfigurable\")){n.push(this.onSaveContentDensity())}if(o.getProperty(\"/sizeBehaviorConfigurable\")){n.push(this.onSaveTileSize())}if(this._oDarkModeModel&&this._oDarkModeModel.getProperty(\"/enabled\")){n.push(this.onSaveDarkModeEnabled())}return Promise.all(n).then(e=>{const o=[];e.forEach(e=>{if(e&&t.isObjectA(e,\"sap.ui.core.message.Message\")){o.push(e)}});return o.length>0?Promise.reject(o):Promise.resolve()})},onSaveThemesSuccess:function(e){e.resetChangedProperty(\"theme\");e.resetChangedProperty(\"themeSet\");return this._applyDarkMode()},onSaveThemes:function(){const t=this._getSelectedThemeData();let o=t?.id;const n=t?.setId;const s=this.oUser;const a=s.getTheme(u.prototype.constants.themeFormat.ORIGINAL_THEME);const c=s.getThemeSet();const h=(this.aThemeSets||[]).find(e=>e.id===o);if(h){const e=f.prototype.prefersDark()?\"DARK\":\"LIGHT\";const t=f.prototype.prefersContrast()?\"HIGH\":\"LOW\";const n=h.set.themes.find(o=>o.colorScheme===e&&o.contrast===t);o=n?.id||h.set.themes[0].id}this._oDarkModeModel.setProperty(\"/detectionEnabled\",!!h);let d=false;if(o&&o!==a){m.getServiceAsync(\"UserInfo\").then(e=>{e.updateThemeRoot(o)});s.setTheme(o);d=true}if(n!==c){s.setThemeSet(n);d=true}if(d){return this._updateUserPreferences(s).then(()=>this.onSaveThemesSuccess(s)).catch(t=>{if(!t.includes(\"THEME\")){return this.onSaveThemesSuccess(s)}s.setTheme(a);s.resetChangedProperty(\"theme\");s.setThemeSet(c);s.resetChangedProperty(\"themeSet\");e.error(\"Can not save selected theme\",t);throw new i({type:r.Error,description:t})})}return Promise.resolve()},_onSaveContentDensitySuccess:function(e){const t=this.oUser;t.resetChangedProperty(\"contentDensity\");s.getInstance().publish(\"launchpad\",\"toggleContentDensity\",{contentDensity:e});g.emit(\"toggleContentDensity\",{contentDensity:e});return new Promise(e=>{g.once(\"toggleContentDensity\").do(()=>{e()})})},onSaveContentDensity:function(){const t=this.getView().getModel(\"config\");const o=this.oUser;const n=t.getProperty(\"/isCozyContentMode\")?\"cozy\":\"compact\";const s=o.getContentDensity();e.debug(\"[000] onSaveContentDensity\",\"Appearance.controller\");if(n!==s&&t.getProperty(\"/contentDensityConfigurable\")){o.setContentDensity(n);e.debug(\"[000] onSaveContentDensity: sNewContentDensity\",n,\"Appearance.controller\");return this._updateUserPreferences(o).then(()=>this._onSaveContentDensitySuccess(n)).catch(t=>{if(!t.includes(\"CONTENT_DENSITY\")){return this._onSaveContentDensitySuccess()}o.setContentDensity(s);o.resetChangedProperty(\"contentDensity\");e.error(\"Can not save content density configuration\",t);throw new i({type:r.Error,message:t})})}return Promise.resolve()},onSaveTileSize:function(){const t=this.getView().getModel(\"config\");const o=this.TILE_SIZE.getName(t.getProperty(\"/tileSize\"));const n=l.last(\"/core/home/sizeBehavior\");if(o&&o!==n&&t.getProperty(\"/sizeBehaviorConfigurable\")){return new Promise((t,n)=>{this.writeToPersonalization(\"flp.settings.FlpSettings\",\"sizeBehavior\",o).done(()=>{l.emit(\"/core/home/sizeBehavior\",o);const e=document.getElementsByClassName(\".sapUshellTile\");for(let t=0;t<e.length;t++){e[t].classList.toggle(\"sapUshellSmall\",o!==\"Responsive\")}t()}).fail((t,o)=>{e.error(\"Cannot save tile size configuration\",t);const s=new i({type:r.Error,description:t,message:o.message.value,date:o.innererror.timestamp,httpStatus:o.httpStatus});n(s)})})}return Promise.resolve()},onSaveDarkModeEnabledSuccess:async function(e,t){e.resetChangedProperty(\"detectDarkMode\");const o=await m.getServiceAsync(\"DarkModeSupport\");o.toggleDetection(!!t)},onSaveDarkModeEnabled:function(){const t=this._oDarkModeModel.getProperty(\"/detectionEnabled\");const o=this.oUser.getDetectDarkMode();const n=this.oUser;if(t!==o){e.debug(\"[000] onSaveDarkModeEnabled: setDetectDarkModeEnabled\",t,\"Appearance.controller\");n.setDetectDarkMode(t);return this._updateUserPreferences(this.oUser).then(()=>this.onSaveDarkModeEnabledSuccess(n,t)).catch(s=>{if(!s.includes(\"THEME_DARKMODE_AUTO_DETECTION\")){return this.onSaveDarkModeEnabledSuccess(n,t)}n.setDetectDarkMode(o);n.resetChangedProperty(\"detectDarkMode\");e.error(\"Can not save dark mode configuration\",s);throw new i({message:s})})}return Promise.resolve()},onSaveShowContentProviderInfoOnVisualizations:function(){const t=l.last(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\");const o=this.getView().getModel(\"config\").getProperty(\"/showContentProviderInfoOnVisualizationsSelected\");if(o===t){return Promise.resolve()}return new Promise((t,n)=>{this.writeToPersonalization(\"flp.settings.FlpSettings\",\"showContentProviderInfoOnVisualizations\",o).done(()=>{l.emit(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\",o);t()}).fail((t,o)=>{e.error(\"Cannot save system info on tiles configuration\",t);const s=new i({type:r.Error,description:t,message:o.message.value,date:o.innererror.timestamp,httpStatus:o.httpStatus});n(s)})})},writeToPersonalization:function(t,o,n){return jQuery.when(this.getPersonalizer(t,o).then(e=>e.setPersData(n))).catch(t=>{e.error(\"Personalization service does not work:\");e.error(`${t.name}: ${t.message}`)})},getPersonalizer:function(e,t){const n=`${e}-${t}`;if(this.oPersonalizers[n]){return Promise.resolve(this.oPersonalizers[n])}return m.getServiceAsync(\"Personalization\").then(s=>{const i=o.getOwnerComponentFor(this.getView());const r={keyCategory:s.constants.keyCategory.FIXED_KEY,writeFrequency:s.constants.writeFrequency.LOW,clientStorageAllowed:true};if(!this.oPersonalizers[n]){this.oPersonalizers[n]=s.getPersonalizer({container:e,item:t},r,i)}return this.oPersonalizers[n]})},_applyDarkMode:async function(){if(this._areSetsVisible()){const e=await m.getServiceAsync(\"DarkModeSupport\");e.toggleDetection(this._isDarkModeActive())}},_isDarkModeActive:function(){const e=this._oDarkModeModel.getProperty(\"/\");return e.enabled&&e.detectionSupported&&e.detectionEnabled},_areSetsVisible:function(){const e=this._oDarkModeModel.getProperty(\"/\");return e.enabled&&e.detectionSupported},changeSystemModeDetection:function(){const e=this.getView().getModel();e.setProperty(\"/options\",this._getThemeListData(this._getSelectedTheme()));e.setProperty(\"/deprecatedThemeSelected\",this.bShowDeprecationMsg);this.getView().invalidate()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/appearance/AppearanceEntry\", [\"sap/ui/core/mvc/XMLView\",\"sap/base/Log\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,n,r)=>{\"use strict\";let o;function s(){if(o){return Promise.resolve(o)}return r.getServiceAsync(\"UserInfo\").then(e=>new Promise(n=>{e.getThemeList().done(e=>{o=e;n(o)}).fail(()=>{t.error(\"Failed to load theme list.\");n({})})}))}function i(){let o;const i={id:\"themes\",entryHelpID:\"themes\",title:n.i18n.getText(\"Appearance\"),valueResult:null,contentResult:null,icon:\"sap-icon://palette\",valueArgument:function(){return s().then(e=>{const t=e?.options||[];const n=r.getUser().getTheme();const o=t.find(e=>e?.id===n);return o?.name||\"\"})},contentFunc:function(){return s().then(t=>e.create({id:\"userPrefThemeSelector\",viewName:\"sap.ushell.components.shell.Settings.appearance.Appearance\",viewData:{themeList:t?.options||[],themeSets:t?.sets||[],themeRoot:t?.themeRoot}})).then(e=>{o=e;return e})},onSave:function(e){if(o){return o.getController().onSave(e)}t.warning(\"Save operation for appearance settings was not executed, because the userPrefThemeSelector view was not initialized\");return Promise.resolve()},onCancel:function(){if(o){o.getController().onCancel();return}t.warning(\"Cancel operation for appearance settings was not executed, because the userPrefThemeSelector view was not initialized\")}};return i}return{getEntry:i}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/homepage/HomepageEntry\", [\"sap/base/Log\",\"sap/ui/core/mvc/XMLView\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/components/SharedComponentUtils\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,n,o,s,a,r)=>{\"use strict\";const i={scroll:0,tabs:1,getName:function(e){return Object.keys(this)[e]}};return{getEntry:function(){let l;return{id:\"homepageEntry\",entryHelpID:\"homepageEntry\",title:a.i18n.getText(\"FlpSettings_entry_title\"),valueResult:null,contentResult:null,icon:\"sap-icon://home\",valueArgument:null,contentFunc:function(){let r;return o.getEffectiveHomepageSetting(\"/core/home/homePageGroupDisplay\",\"/core/home/enableHomePageSettings\").then(e=>{r=e;return t.create({id:\"UserSettingsHomepageSettingsView\",viewName:\"sap.ushell.components.shell.Settings.homepage.HomepageSetting\"})}).then(e=>{l=e;l.setModel(new n({displayMode:i[r]||i.scroll,personalisationEnabled:s.last(\"/core/shell/enablePersonalization\")}));l.setModel(a.i18nModel,\"i18n\");return l}).catch(t=>{e.error(\"Failed to get effective hompage setting.\",t,\"sap.ushell.components.ushell.settings.homepage.HomepageEntry\");return Promise.reject()})},onSave:function(){if(l){const t=l.getModel().getProperty(\"/displayMode\");const n=i.getName(t);const a=r.getRendererInternal(\"fiori2\");return o.getPersonalizer(\"homePageGroupDisplay\",a).then(e=>e.setPersData(n)).then(()=>{s.emit(\"/core/home/homePageGroupDisplay\",n)}).catch(t=>{e.error(\"Failed to save the anchor bar mode in personalization\",t,\"sap.ushell.components.ushell.settings.homepage.HomepageEntry\");return Promise.reject(t)})}e.warning(\"Save operation for user account settings was not executed, because the homepage view was not initialized\");return Promise.resolve()},onCancel:function(){if(l){return}e.warning(\"Cancel operation for user account settings was not executed, because the homepage view was not initialized\")},provideEmptyWrapper:false}}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/notifications/NotificationsEntry\", [\"sap/ui/core/mvc/XMLView\",\"sap/base/Log\",\"sap/ushell/Config\",\"sap/ushell/resources\"],(t,n,e,i)=>{\"use strict\";function o(){const e=\"notificationsSetting\";const o=\"sap.ushell.components.shell.Settings.notifications.NotificationsSetting\";let s;return{id:\"notificationsEntry\",entryHelpID:\"notificationsEntry\",title:i.i18n.getText(\"notificationSettingsEntry_title\"),valueResult:null,contentResult:null,icon:\"sap-icon://bell\",valueArgument:null,contentFunc:function(){return t.create({id:e,viewName:o}).then(t=>{s=t;return t})},onSave:function(){if(s){return s.getController().onSave()}n.warning(\"Save operation for user account settings was not executed, because the notifications view was not initialized\");return Promise.resolve()},onCancel:function(){if(s){s.getController().onCancel();return}n.warning(\"Cancel operation for user account settings was not executed, because the notifications view was not initialized\")}}}return{getEntry:o}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/base/Log\",\"sap/ushell/resources\",\"sap/base/util/deepClone\",\"sap/ushell/Container\"],(e,t,o,i,r,n,s)=>{\"use strict\";return e.extend(\"sap.ushell.components.shell.Settings.notifications.NotificationsSetting\",{onInit:function(){this._oModel=new t({rows:[],originalRows:[]});const e=this.getView();let o;e.setBusy(true);e.setModel(r.i18nModel,\"i18n\");s.getServiceAsync(\"NotificationsV2\").then(t=>{this._oNotificationService=t;this._initializeFlags();t.readSettings().then(e=>{o=JSON.parse(e);this._oModel.setProperty(\"/rows\",o.value);this._oModel.setProperty(\"/originalRows\",n(o.value))}).finally(()=>{e.setBusy(false);e.setModel(this._oModel)})})},onAfterRendering:function(){const e=this._oModel.getProperty(\"/flags\");const t=this._oModel.getProperty(\"/rows\");if(t!==undefined){this._oModel.setProperty(\"/originalRows\",n(t))}if(e!==undefined){this._oModel.setProperty(\"/originalFlags/highPriorityBannerEnabled\",e.highPriorityBannerEnabled)}},onCancel:function(){const e=this._oModel.getProperty(\"/originalFlags\");const t=this._oModel.getProperty(\"/originalRows\");this._oModel.setProperty(\"/flags/highPriorityBannerEnabled\",e.highPriorityBannerEnabled);this._oModel.setProperty(\"/rows\",n(t));this._oModel.setProperty(\"/originalFlags\",{});this._oModel.setProperty(\"/originalRows\",[])},onSave:function(){const e=this._oModel.getProperty(\"/rows\");const t=this._oModel.getProperty(\"/originalRows\");let o;let r;const n=[];const s=[];for(let i=0;i<e.length;i++){o=e[i];r=t[i];if(this._notficationSettingsDiffer(o,r)){n.push(o)}}if(this._flagsHaveChanged()){this._handleFlagsSave()}n.forEach(e=>{s.push(this._oNotificationService.saveSettingsEntry(e))});return Promise.all(s).catch(e=>{i.error(\"Failed to save the notification settings in the notifivation service.\",e,\"sap.ushell.components.ushell.settings.notifications.NotificationsSetting\");throw e})},_flagsHaveChanged:function(){return this._oModel.getProperty(\"/flags/highPriorityBannerEnabled\")!==this._oModel.getProperty(\"/originalFlags/highPriorityBannerEnabled\")},_handleFlagsSave:function(){const e=this._oModel.getProperty(\"/flags/highPriorityBannerEnabled\");this._oModel.setProperty(\"/originalFlags/highPriorityBannerEnabled\",e);this._oNotificationService.setUserSettingsFlags({highPriorityBannerEnabled:e})},_notficationSettingsDiffer:function(e,t){return e.NotificationTypeId!==t.NotificationTypeId||e.PriorityDefault!==t.PriorityDefault||e.DoNotDeliver!==t.DoNotDeliver||e.DoNotDeliverMob!==t.DoNotDeliverMob||e.DoNotDeliverEmail!==t.DoNotDeliverEmail},onSelectMobile:function(e){const t=e.getSource().getBindingContext().getPath();this._oModel.setProperty(`${t}/DoNotDeliverMob`,!e.getParameter(\"selected\"))},onSelectEmail:function(e){const t=e.getSource().getBindingContext().getPath();this._oModel.setProperty(`${t}/DoNotDeliverEmail`,!e.getParameter(\"selected\"))},onSelectHighPriority:function(e){const t=e.getSource().getBindingContext().getPath();if(e.getParameter(\"selected\")){this._oModel.setProperty(`${t}/PriorityDefault`,\"HIGH\")}else{this._oModel.setProperty(`${t}/PriorityDefault`,\"\")}},onEnableSwitchChange:function(e){const t=e Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/AppType\", [\"sap/ushell/library\",\"sap/ushell/resources\"],(e,t)=>{\"use strict\";const p=e.AppType;const r={};r.getDisplayName=function(e){switch(e){case p.OVP:return t.i18n.getText(\"Apptype.OVP\");case p.SEARCH:return t.i18n.getText(\"Apptype.SEARCH\");case p.FACTSHEET:return t.i18n.getText(\"Apptype.FACTSHEET\");case p.COPILOT:return t.i18n.getText(\"Apptype.COPILOT\");case p.URL:return t.i18n.getText(\"Apptype.URL\");default:return t.i18n.getText(\"Apptype.APP\")}};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/Deferred\", [],()=>{\"use strict\";class e{#e=null;#t=null;#s=null;constructor(){let e;let t;const s=new Promise((s,r)=>{e=s;t=r});this.#t=e.bind(s);this.#s=t.bind(s);s._state=\"pending\";s.done=e=>{s.then(e);return s};s.fail=e=>{s.catch(e);return s};s.always=e=>{s.finally(e);return s};s.state=()=>s._state;this.#e=s}resolve(e){this.#e._state=\"resolved\";this.#t(e);return this.#e}reject(e){this.#e._state=\"rejected\";this.#s(e);return this.#e}promise(){return this.#e}}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/DynamicTileRequest\", [\"sap/base/i18n/Localization\",\"sap/ushell/utils/HttpClient\",\"sap/ui/thirdparty/URI\",\"sap/base/util/isEmptyObject\",\"sap/ushell/utils/UriParameters\",\"sap/base/Log\",\"sap/ui/core/Configuration\",\"sap/base/util/ObjectPath\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,s,r,n,i,a,o,l,u)=>{\"use strict\";const c=\"sap.ushell.utils.DynamicTileRequest\";class h{#e=()=>{};#t=()=>{};#s=null;#r=null;#n=null;#i=null;#a=null;#o=null;#l=null;#u=null;#c=null;#h=Promise.resolve();constructor(e,t,s,r,n){this.#e=t;this.#t=s;this.#s=e;this.#r=o.get([\"dataSource\",\"settings\",\"odataVersion\"],n);this.#n=true;this.#i=r;this.#h=this.#f(e,r).then(e=>{if(e){this.#a=e}}).catch(e=>{i.error(\"Was not able to create a DynamicTileRequest:\",e,c)});this._oInitialRefreshPromise=this.#h.then(()=>{if(this.#a){return this.refresh()}})}set originalUrl(e){throw new Error(\"originalUrl is read-only!\")}get originalUrl(){return this.#s}set oDataVersion(e){throw new Error(\"oDataVersion is read-only!\")}get oDataVersion(){return this.#r}refresh(){if(!this.#o){this.#o=this.#h.then(this.#g.bind(this)).then(e=>{if(e){return this.#d(e)}})}return this.#o}async#g(){if(!this.#n){return this.#a}try{const e=await u.getServiceAsync(\"ReferenceResolver\");const t=await e.resolveSemanticDateRanges(this.#a,this.#r);if(t.ignoredReferences&&t.ignoredReferences.length>0||t.invalidSemanticDates&&t.invalidSemanticDates.length>0){const e=[].concat(t.invalidSemanticDates||[],t.ignoredReferences||[]);i.error(`The service URL contains invalid Reference(s): ${e.join(\", \")}`,\"\",c);return}this.#n=t.hasSemanticDateRanges;return t.url}catch(e){i.error(\"Could not resolve semantic date ranges:\",e,c);return Promise.reject(e)}}#d(r){let n=new s(r).escapeQuerySpace(false);const i=e.getSAPLogonLanguage();if(i&&!n.hasQuery(\"sap-language\")){n.addQuery(\"sap-language\",i)}let a=false;if(n.is(\"relative\")){a=true;n=n.absoluteTo(location.href)}const o=this.#R(a);const l={headers:o};this.#c=n.origin();this.#u=n.href();this.#l=new t(this.#c,l);return this.#l.get(n.relativeTo(this.#c).href()).then(this.#U.bind(this)).catch(this.#m.bind(this))}abort(){if(this.#o&&this.#l){this.#l.abortAll();this.#l=null;this.#o=null;return true}return false}#U(e){l.emit(\"UITracer.trace\",{source:\"Tile\",reason:\"FetchData\",data:{providerId:this.#i,targetUrl:this.#u,status:200}});let t;try{t=JSON.parse(e.responseText)}catch(e){throw new Error(\"Was not able to parse response of dynamic tile request\")}this.#l=null;this.#o=null;let s;if(typeof t===\"object\"){t=t.d?t.d:t;const e=n.fromURL(this.#u);if(e.get(\"$inlinecount\")===\"allpages\"){s={number:t.__count}}else if(e.get(\"$count\")===\"true\"){s={number:t[\"@odata.count\"]}}else{s=this.#v(t)}}else if(typeof t===\"string\"||typeof t===\"number\"){s={number:t}}this.#e(s)}#m(e){l.emit(\"UITracer.trace\",{source:\"Tile\",reason:\"FetchData\",data:{providerId:this.#i,targetUrl:this.#u,status:e.status}});this.#l=null;this.#o=null;this.#t(e)}#v(e){const t=[\"results\",\"icon\",\"title\",\"number\",\"numberUnit\",\"info\",\"infoState\",\"infoStatus\",\"targetParams\",\"subtitle\",\"stateArrow\",\"numberState\",\"numberDigits\",\"numberFactor\"];const s=Object.keys(e).reduce((s,r)=>{if(t.indexOf(r)>-1){s[r]=e[r]}return s},{});if(!r(s)){return s}const n=Object.keys(e)[0];if(n!==undefined&&Object.keys(e).length===1){return Object.keys(e[n]).reduce((s,r)=>{if(t.indexOf(r)>-1){s[r]=e[n][r]}return s},{})}return{}}#R(t){const s={\"Cache-Control\":\"no-cache, no-store, must-revalidate\",Pragma:\"no-cache\",Expires:\"0\",\"Accept-Language\":e.getLanguage()||\"\",Accept:\"application/json, text/plain\"};const r=e.getSAPLogonLanguage();if(r){s[\"sap-language\"]=r}if(t){const e=u.getLogonSystem();const t=e&&e.getClient();if(t){s[\"sap-client\"]=t}}return s}async#f(e,t){const s=await u.getServiceAsync(\"ClientSideTargetResolution\");const r=await u.getServiceAsync(\"ReferenceResolver\");const n=await s.getSystemContext(t);const a=await r.resolveUserDefaultParameters(e,n);if(a.defaultsWithoutValue&&a.defaultsWithoutValue.length>0){i.error(`The service URL contains User Default(s) with no set value: ${a.defaultsWithoutValue.join(\", \")}`,\"\",c);return}if(a.ignoredReferences&&a.ignoredReferences.length>0){const e=a.ignoredReferences.filter(e=>!e.startsWith(\"DynamicDate\"));if(e.length>0){i.error(`The service URL contains invalid Reference(s): ${e.join(\", \")}`,\"\",c);return}}return a.url}destroy(){this.abort();this.#t=null;this.#e=null}}return h});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/HttpClient\", [\"sap/ui/core/Supportability\",\"sap/ui/thirdparty/URI\",\"sap/ushell/utils\"],(e,t,s)=>{\"use strict\";function o(e,s){this._oOngoingRequests={};this._oCSRFTokens={};this._oDefaultOptions={headers:s&&s.headers||{}};if(typeof e===\"string\"){this._oBasePath=new t(e)}else{this._oDefaultOptions={headers:e&&e.headers||{}}}}o.prototype.get=function(e,t){return this._executeRequest(\"GET\",e,t)};o.prototype.put=function(e,t){return this._executeRequest(\"PUT\",e,t)};o.prototype.post=function(e,t){return this._executeRequest(\"POST\",e,t)};o.prototype.patch=function(e,t){return this._executeRequest(\"PATCH\",e,t)};o.prototype.delete=function(e,t){return this._executeRequest(\"DELETE\",e,t)};o.prototype.options=function(e,t){return this._executeRequest(\"OPTIONS\",e,t)};o.prototype.abortAll=function(){Object.keys(this._oOngoingRequests).forEach(e=>{this._oOngoingRequests[e].abort()})};o.prototype._executeRequest=function(o,r,n){const i=new Error(\"The provided resource path is not a valid URL.\");const a={};const u=e.isStatisticsEnabled();if(u){a[\"sap-statistics\"]=u}try{let e;const u=new t(r);if(!u.is(\"url\")){return Promise.reject(i)}if(this._oBasePath){e=u.absoluteTo(this._oBasePath)}else{e=u}const h=new XMLHttpRequest;h._sapUshellHttpClientId=s.generateUniqueId(Object.keys(this._oOngoingRequests));this._oOngoingRequests[h._sapUshellHttpClientId]=h;const c=Object.assign({},a,this._oDefaultOptions.headers,n&&n.headers);return this._getCSRFTokenHeader(o,e).then(t=>{Object.assign(c,t);return new Promise((t,s)=>{const r=e.href();h.onload=this._onLoad.bind(this,t,s,{xhr:h,method:o,url:r,data:n});h.onerror=function(){s.call(this,this._getFormattedResponse(h))}.bind(this);h.onabort=function(){h.bAborted=true;s.call(this,this._getFormattedResponse(h))}.bind(this);h.onloadend=function(){delete this._oOngoingRequests[h._sapUshellHttpClientId]}.bind(this);h.open(o,r);Object.keys(c).forEach(e=>{h.setRequestHeader(e,c[e])});let i=n&&n.data||\"\";if(typeof i!==\"string\"){i=JSON.stringify(i)}h.send(i)})})}catch(e){return Promise.reject(i)}};o.prototype._getCSRFTokenHeader=function(e,t){let s=\"\";let o=\"\";switch(e){case\"HEAD\":case\"GET\":case\"OPTIONS\":return Promise.resolve({\"x-csrf-token\":\"fetch\"});case\"POST\":s=this._getCSRFTokenKey(t);if(this._oCSRFTokens[s]){return Promise.resolve({\"x-csrf-token\":this._oCSRFTokens[s]})}o=t.href();if(this._oBasePath){o=this._oBasePath.origin()+this._oBasePath.directory()}return this._executeRequest(\"HEAD\",o).then(e=>{const t=this._getCSRFTokenFromHeader(e.responseHeaders);if(!t){throw new Error(\"CSRF Token couldn't be fetched.\")}return{\"x-csrf-token\":t}});case\"PATCH\":case\"PUT\":case\"DELETE\":s=this._getCSRFTokenKey(t);if(this._oCSRFTokens[s]){return Promise.resolve({\"x-csrf-token\":this._oCSRFTokens[s]})}o=t.href();if(this._oBasePath){o=this._oBasePath.origin()+this._oBasePath.directory()}return this._executeRequest(\"OPTIONS\",o).then(e=>{const t=this._getCSRFTokenFromHeader(e.responseHeaders);if(!t){throw new Error(\"CSRF Token couldn't be fetched.\")}return{\"x-csrf-token\":t}});default:return Promise.resolve({})}};o.prototype._onLoad=function(e,s,o){const r=this._getFormattedResponse(o.xhr);const n=this._getCSRFTokenFromHeader(r.responseHeaders);if(n){const i=this._getCSRFTokenKey(new t(o.url));if(n.toLowerCase()===\"required\"&&r.status===403){delete this._oCSRFTokens[i];return this._executeRequest(o.method,o.url,o.data).then(e).catch(s)}this._oCSRFTokens[i]=n}if(r.status>=200&&r.status<300){return e(r)}return s(r)};o.prototype._getCSRFTokenKey=function(e){if(this._oBasePath){return this._oBasePath.origin()+this._oBasePath.directory()}return e.origin()+e.directory()};o.prototype._getCSRFTokenFromHeader=function(e){const t=e.filter(e=>e.name===\"x-csrf-token\")[0];return t&&t.value};o.prototype._getFormattedResponse=function(e){return{aborted:e.bAborted||false,status:e.status,statusText:e.statusText,responseText:e.responseText,responseHeaders:e.getAllResponseHeaders().split(/\\r\\n/g).filter(e=>e.length>0).map(e=>{const t=e.split(\":\");return{name:t[0].trim(),value:t[1].trim()}})}};return o},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/RestrictedJSONModel\", [\"sap/ui/model/json/JSONModel\"],t=>{\"use strict\";function e(){throw new Error(\"sap.ushell.utils.RestrictedJSONModel : Function not supported\")}return t.extend(\"sap.ushell.utils.RestrictedJSONModel\",{metadata:{events:{dataChange:{parameters:{}}}},constructor:function(){t.prototype.constructor.apply(this,arguments);this.setDefaultBindingMode(\"OneWay\");this.setDefaultBindingMode=e;this.setSizeLimit(1e3);this.setData=e;this.setJSON=e;this.setProperty=e;this.loadData=e},_setData:function(){t.prototype.setData.apply(this,arguments);this.fireEvent(\"dataChange\")},_setJSON:function(){this.setData=t.prototype.setData;t.prototype.setJSON.apply(this,arguments);this.setData=e;this.fireEvent(\"dataChange\")},_setProperty:function(){this.setData=t.prototype.setData;t.prototype.setProperty.apply(this,arguments);this.setData=e;this.fireEvent(\"dataChange\")},refresh:function(){t.prototype.refresh.apply(this,arguments);this.fireEvent(\"dataChange\")}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/UriParameters\", ()=>{\"use strict\";function r(r){const e=r.indexOf(\"#\");if(e>=0){r=r.slice(0,e)}const s=r.indexOf(\"?\");if(s>=0){return r.slice(s+1)}return\"\"}class e extends URLSearchParams{#r;constructor(e){super(r(e))}get mParams(){if(this.#r===null||this.#r===undefined){this.#r=Array.from(this.keys()).reduce((r,e)=>{r[e]=this.getAll(e);return r},Object.create(null))}return this.#r}static fromURL(r){return new e(r)}}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/UrlParsing\", [\"sap/ui/thirdparty/URI\",\"sap/base/Log\",\"sap/base/util/deepEqual\",\"sap/base/util/merge\",\"sap/ushell/TechnicalParameters\"],(e,t,n,r,a)=>{\"use strict\";const s={};const o=/^(([A-Za-z0-9_/]+)-([A-Za-z0-9_/-]+)(~([A-Z0-9a-z=+/]+))?)?([?]([^&]|(&[^/]))*&?)?$/;s.getShellHash=function(e){const t=/[^#]*#(([^&]|&[^/])*)(&\\/.*)?/;const n=t.exec(e);if(n){return n[1]}return undefined};s.getHash=function(e){const t=/#(.*)/;const n=t.exec(e);if(n){return n[1]}return undefined};s.isIntentUrl=function(e){return this._isIntentUrl(e,window.location.href)};s.isIntentUrlAsync=function(e){return new Promise((e,t)=>{sap.ui.require(\"sap/ushell/Container\").getFLPUrlAsync(true).done(e).fail(t)}).then(t=>this._isIntentUrl(e,t))};s._isIntentUrl=function(t,n){const r=/^#/;if(typeof t!==\"string\"){return false}if(!r.test(t)){const r=new e(t).normalize();const a=`${r.protocol()}://${r.host()}${r.pathname()}`;const s=new e(n).normalize();const o=`${s.protocol()}://${s.host()}${s.pathname()}`;if(a!==o){return false}}const a=s.getHash(t);if(!a){return false}const o=s.parseShellHash(a);if(o&&o.semanticObject&&o.action){return true}return false};s.parseParameters=function(e){try{const t=new URLSearchParams(e);const n=t.keys();let r=n.next();const a={};while(r.done===false){a[decodeURIComponent(r.value)]=t.getAll(r.value);r=n.next()}return a}catch(n){t.error(\"URL parsing - malformed URL parameters string:\",e);return{}}};function c(e,t,n){let r=\"\";t=t||\"&\";n=n||\"=\";let a=\"\";const s=[];for(const t in e){if(e.hasOwnProperty(t)){s.push(t)}}s.sort();for(let o=0;o<s.length;o=o+1){const c=s[o];if(Array.isArray(e[c])){for(let s=0;s<e[c].length;s=s+1){r+=a+encodeURIComponent(c)+n+encodeURIComponent(e[c][s]);a=t}}else{r+=a+encodeURIComponent(c)+n+encodeURIComponent(e[c]);a=t}}return r}s.paramsToString=function(e){return c(e)};s.removeParametersWithEmptyValue=function(e,t){if(!e){return}Object.keys(e).forEach(n=>{if(t.includes(n)&&e[n].length===1&&e[n][0]===\"\"){delete e[n]}})};s.privparamsToString=function(e,t,n){return c(e,t,n)};s.addParamsToUrl=function(t,n){const r=new e(t);Object.keys(n).forEach(e=>{r.addSearch(e,n[e])});return r.toString()};s.addShellParamsToURL=function(t,n){const r=new e(t);const a=r.hash();const o=r.toString().replace(a,\"\");const c=s.parseShellHash(a)||{};Object.assign(c.params,n.params);const i=`#${s.constructShellHash(c)}`;return o+i};s.parseShellHash=function(e){const t=o;if(!e){return undefined}const n=s.splitHash(e);const r=t.exec(n.shellPart);if(r){const e=r[2];const t=r[3];const a=r[5];const o=r[6];const c=s.parseParameters(o);return{semanticObject:e,action:t,contextRaw:a,params:c,appSpecificRoute:n.appSpecificRoute}}if(n.appSpecificRoute){return{semanticObject:undefined,action:undefined,contextRaw:undefined,params:{},appSpecificRoute:n.appSpecificRoute}}return undefined};s.privstripLeadingHash=function(e){if(e[0]===\"#\"){return e.substring(1)}return e};s.ensureLeadingHash=function(e){if(!e){e=\"#\"}else if(e.charAt(0)!==\"#\"){e=`#${e}`}return e};s.getBasicHash=function(e){const t=this.parseShellHash(e);if(!t){return\"\"}return`${t.semanticObject}-${t.action}`};s.splitHash=function(e){const t=/^(?:#|)([\\S\\s]*?)(&\\/[\\S\\s]*)?$/;if(e===undefined||e===null||e===\"\"){return{}}const n=t.exec(e);const r=n[1];if(r!==\"\"&&!o.test(r)){return{}}const a=n[2];if(r||a){return{shellPart:r,appSpecificRoute:a}}return{}};function i(e,t){if(t){return e+t}return e}s.constructShellHash=function(e){let n;if(!e){return\"\"}if(!e.target){e.target={};e.target.semanticObject=e.semanticObject;e.target.action=e.action;e.target.contextRaw=e.contextRaw}if(e.target.shellHash||e.target.shellHash===\"\"){const t=s.privstripLeadingHash(e.target.shellHash);return i(t,e.appSpecificRoute)}if(e.target.semanticObject&&e.target.action){n=`${e.target.semanticObject}-${e.target.action.replace(/[?].*/,\"\")}`}else{return i(\"\",e.appSpecificRoute)}if(e.target.contextRaw){n+=`~${e.target.contextRaw}`}let r=\"?\";const a=[];for(const t in e.params){if(e.params.hasOwnProperty(t)){a.push(t)}}const o=e.params&&JSON.parse(JSON.stringify(e.params))||{};if(e.appStateKey){a.push(\"sap-xapp-state\");o[\"sap-xapp-state\"]=e.appStateKey}a.sort();for(let e=0;e<a.length;e=e+1){const s=a[e];if(Array.isArray(o[s])){if(o[s].length>1){t.error(\"Array startup parameters violate the designed intent of the Unified Shell Intent, use only single-valued parameters!\")}for(let e=0;e<o[s].length;e=e+1){n+=`${r+encodeURIComponent(s)}=${encodeURIComponent(o[s][e])}`;r=\"&\"}}else{n+=`${r+encodeURIComponent(s)}=${encodeURIComponent(o[s])}`;r=\"&\"}}return i(n,e.appSpecificRoute)};s.compareHashes=function(e,t){const n=this.parseShellHash(e)||{};const r=this.parseShellHash(t)||{};return{sameIntent:this.haveSameIntent(n,r),sameParameters:this.haveSameIntentParameters(n,r),sameAppSpecificRoute:n.appSpecificRoute===r.appSpecificRoute}};s.haveSameIntent=function(e,t){e=e||{};t=t||{};return e.semanticObject===t.semanticObject&&e.action===t.action&&e.contextRaw===t.contextRaw};s.haveSameIntentParameters=function(e,t){e=e||{};t=t||{};const n=r({},e.params);const a=r({},t.params);return!this._parametersChanged(this._removeNonIntentParameters(n),this._removeNonIntentParameters(a))};s.getStableIntent=function(e){const t=this.parseShellHash(e)||{};const n=this._removeNonIntentParameters(t.params);const r=Object.keys(n).sort().reduce((e,t)=>{const r=n[t];r.sort();e[t]=r;return e},{});return this.constructShellHash({target:{semanticObject:t.semanticObject,action:t.action,contextRaw:t.contextRaw},params:r})};s._removeNonIntentParameters=function(e){const t=a.getParameters({isIntentParameter:false});let n;if(e){for(let r=0;r<t.length;r++){n=t[r];if(e[n.name]){delete e[n.name]}}}return e||{}};s._parametersChanged=function(e,t){return!n(e,t)};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/UrlShortening\", [\"sap/base/Log\",\"sap/ushell/utils/UrlParsing\"],(t,e)=>{\"use strict\";function a(){const a=this;this.ABBREV_PARAM_NAME=\"sap-intent-param\";this.URL_LENGTH_LIMIT=1023;this.URL_PARAMS_LENGTH_LIMIT=512;this._replaceSapXAppStateRawWithKeyIfRequired=function(e,a){let r;if(typeof e!==\"string\"||/^[A-Z0-9]{40,41}$/.test(e)){return e}try{r=JSON.parse(e)}catch(a){t.error(\"This cannot happen: sap-xapp-state parameter value is neither key nor JSON parseable\");return e}const s=a&&a.getNextKey();this._storeValue(s,r,a);return s};this.compactHash=function(r,s,n){let i;const c=[this.ABBREV_PARAM_NAME,\"sap-system\",\"sap-xapp-state\"];if(s){s.forEach(t=>{c.push(t)})}const p=e.parseShellHash(r);if(!p){t.error(`the URL ${r} is not compliant. It may break the product and cause unwanted navigation behavior.`);return{hash:r}}i=\"\";if(r.charAt(0)===\"#\"){i=\"#\"}const o=p&&p.params&&p.params[\"sap-xapp-state\"]&&p.params[\"sap-xapp-state\"][0];if(o){p.params[\"sap-xapp-state\"]=[this._replaceSapXAppStateRawWithKeyIfRequired(o,n)];r=i+e.constructShellHash({target:{semanticObject:p.semanticObject,action:p.action,contextRaw:p.contextRaw},params:p.params,appSpecificRoute:p.appSpecificRoute})}if(typeof r!==\"string\"||r.length<a.URL_LENGTH_LIMIT){return{hash:r}}if(p&&(p.params&&p.params[a.ABBREV_PARAM_NAME])){return{hash:r}}const h=n&&n.getNextKey();const u=this._splitParameters(p.params,c,h);if(!u.key){return{hash:r}}const l=e.paramsToString(u.tailParams);this._storeValue(u.key,l,n);return{hash:i+e.constructShellHash({target:{semanticObject:p.semanticObject,action:p.action,contextRaw:p.contextRaw},params:u.headParams,appSpecificRoute:p.appSpecificRoute}),params:u.headParams,skippedParams:u.tailParams}};this.checkHashLength=function(r){let s;if(typeof r!==\"string\"||r.length<a.URL_LENGTH_LIMIT){return{hash:r}}const n=e.parseShellHash(r);s=\"\";if(r.charAt(0)===\"#\"){s=\"#\"}const i=this._splitParameters(n.params,[],\"DummyKey\");if(i.key){t.error(`Application startup parameter length exceeds ${a.URL_PARAMS_LENGTH_LIMIT} characters, truncation occured!`);delete i.headParams[this.ABBREV_PARAM_NAME];return{hash:s+e.constructShellHash({target:{semanticObject:n.semanticObject,action:n.action,contextRaw:n.contextRaw},params:i.headParams,appSpecificRoute:n.appSpecificRoute}),params:i.headParams,skippedParams:i.tailParams}}t.error(\"URL exceeds dangerous limits, arbitrary shortening or worse may occur!\");return{hash:r}};this._findIndex=function(t,e){let a=t.indexOf(e);if(a>=0){return a}a=-1;t.every((t,r)=>{if(t.length>0&&t[t.length-1]===\"*\"&&t.substring(0,t.length-1)===e.substring(0,t.length-1)){a=r;return false}return true});return a};this._cmpByList=function(t,e,a){t=t||[];if(e===a){return 0}const r=this._findIndex(t,e);const s=this._findIndex(t,a);if(r>=0&&s>=0){if(r-s!==0){return r-s}if(e<a){return-1}if(e>a){return+1}return 0}if(r>=0){return-1}if(s>=0){return+1}if(e<a){return-1}return+1};this._sortByPriority=function(t,e){return t.sort(this._cmpByList.bind(this,e))};this._splitParameters=function(e,a,r){let s;let n;let i;const c={};const p={};let o=false;let h;let u;let l=0;let f;let m=[];if(!r||typeof r!==\"string\"){throw new Error(\"sap.ushell.services.URLShortening._splitParameters: key must be supplied!\")}for(s in e){if(Object.prototype.hasOwnProperty.call(e,s)){m.push(s)}}m.sort();m=this._sortByPriority(m,a);for(i=0;i<m.length;i=i+1){s=m[i];h=e[s];if(h.length>1){t.error(\"Array startup parameters violate the designed intent of the Unified Shell Intent, use only single-valued parameters!\")}for(n=0;n<h.length;n=n+1){u=e[s][n];f=s.length+u.length;if(f+l>this.URL_PARAMS_LENGTH_LIMIT){if(p[s]){p[s].push(u)}else{p[s]=[u]}o=true}else if(c[s]){c[s].push(u)}else{c[s]=[u]}l=l+f+1}}if(o){c[this.ABBREV_PARAM_NAME]=[r]}return{key:r,tailParams:p,headParams:c}};this.expandHash=function(t){function e(t){return a._retrieveValue(t)}return this.expandParamGivenRetrievalFunction(t,this.ABBREV_PARAM_NAME,e)};this.expandParamGivenRetrievalFunction=function(t,a,r){let s;if(typeof t!==\"string\"){return t}const n=e.parseShellHash(t);const i=n&&n.params&&n.params[a]&&n.params[a][0];if(!i){return t}s=\"\";if(t.charAt(0)===\"#\"){s=\"#\"}const c=r(i);if(!c){return t}const p=this._blendParameters(n.params,a,c);return s+e.constructShellHash({target:{semanticObject:n.semanticObject,action:n.action,contextRaw:n.contextRaw},params:p,appSpecificRoute:n.appSpecificRoute})};this._retrieveValue=function(){return undefined};this._storeValue=function(t,e,a){if(a&&typeof a.store===\"function\"){a.store(e)}};this._blendParameters=function(t,a,r){const s=e.parseParameters(`?${r}`);let n;delete t[a];for(n in s){if(Object.prototype.hasOwnProperty.call(s,n)){if(t[n]){t[n]=t[n].concat(s[n])}else{t[n]=s[n]}}}return t}}const r=new a;return r},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/WindowUtils\", [\"sap/base/Log\",\"sap/ui/util/isCrossOriginURL\",\"sap/ushell/utils\"],(n,e,o)=>{\"use strict\";const t={};t.hasInvalidProtocol=function(n){const e=document.createElement(\"a\");e.setAttribute(\"href\",n);if(e.protocol===\"javascript:\"){return true}return false};t.isCrossOriginUrl=function(n){return e(n)};t.openURL=function(e,o,t,r){const i=r===undefined?true:r;const s=this.isCrossOriginUrl(e);t=t||\"\";if(i&&this.hasInvalidProtocol(e)){n.fatal(\"Tried to open a URL with an invalid protocol\",null,\"sap/ushell/utils/WindowUtils\");throw new Error(\"Tried to open a URL with an invalid protocol\")}if(s){if(t.toLowerCase().indexOf(\"noopener\")===-1){if(t!==\"\"){t+=\",\"}t+=\"noopener\"}if(t.toLowerCase().indexOf(\"noreferrer\")===-1){t+=\",noreferrer\"}window.open(e,o,t);return true}return window.open(e,o,t)};t.getLeanURL=function(e,o){const t=e||o;if(this.hasInvalidProtocol(t)){n.fatal(\"Tried to construct a lean URL for input containing an invalid protocol\",null,\"sap/ushell/utils/WindowUtils\");return\"\"}if((t||\"\").charAt(0)!==\"#\"){return t}let r=window.location.search;if(!r){r=\"?sap-ushell-config=lean\"}else if(r.indexOf(\"sap-ushell-config=\")>=-1){r+=\"&sap-ushell-config=lean\"}return window.location.origin+window.location.pathname+r+t};t._adjustQueryString=function(n,e,t){if((!e||e.length===0)&&(!t||t.length===0)){return n}const r=new URLSearchParams(n);const i=Array.from(r.keys()).reduce((n,e)=>{n[e]=r.getAll(e);return n},{});if(e&&e.length>0){e.forEach(n=>{const e=Object.keys(n)[0];if(e){i[e]=n[e]}})}if(t&&t.length>0){t.forEach(n=>{delete i[n]})}const s=o.urlParametersToString(i);return s!==\"\"?`?${s}`:\"\"};t.refreshBrowser=function(n,e){const r=o.getLocationHref();const i=o.getLocationSearch();const s=t._adjustQueryString(i,n,e);if(i===s){o.windowLocationReload()}else{const n=r.replace(i,s);o.windowLocationAssign(n)}};t.clearSapUserContextCookie=function(){window.document.cookie=\"sap-usercontext=;Path=/;Max-Age=-1\"};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/chipsUtils\", [\"sap/base/Log\",\"sap/base/util/ObjectPath\",\"sap/ushell/Container\"],(t,e,i)=>{\"use strict\";const n=\"X-SAP-UI2-CHIP:/UI2/DYNAMIC_APPLAUNCHER\";const r=\"X-SAP-UI2-CHIP:/UI2/STATIC_APPLAUNCHER\";const o={};o.getCatalogTilePreviewTitle=function(t){const e=o.getBagText(t,\"tileProperties\",\"display_title_text\");return e||!t.isStub()&&t.getContract(\"preview\")&&t.getContract(\"preview\").getPreviewTitle()||undefined};o.getCatalogTilePreviewSubtitle=function(t){const e=o.getBagText(t,\"tileProperties\",\"display_subtitle_text\");return e||!t.isStub()&&t.getContract(\"preview\")&&t.getContract(\"preview\").getPreviewSubtitle()||undefined};o.getCatalogTilePreviewIcon=function(t){const e=o._getConfigurationProperty(t,\"tileConfiguration\",\"display_icon_url\");return e||!t.isStub()&&t.getContract(\"preview\")&&t.getContract(\"preview\").getPreviewIcon()||undefined};o.getCatalogTileTargetURL=function(t){const e=o._getConfigurationProperty(t,\"tileConfiguration\",\"navigation_target_url\");return e||!t.isStub()&&t.getContract(\"preview\")&&t.getContract(\"preview\").getTargetUrl()||undefined};o.getCatalogTileNumberUnit=function(t){return o._getConfigurationProperty(t,\"tileConfiguration\",\"display_number_unit\")};o.getCatalogTilePreviewInfo=function(t){return o.getBagText(t.getChip(),\"tileProperties\",\"display_info_text\")};o.getCatalogTileSize=function(t){return o.getTileSize(t)};o.getCatalogTilePreviewIndicatorDataSource=function(t){let e;const i=o._getAppLauncherTileConfiguration(t);if(o._isAppLauncher(t)&&i&&i.service_url){e={path:i.service_url,refresh:i.service_refresh_interval}}return e};o._getConfigurationProperty=function(t,e,i){let n;let r;try{n=t.getConfigurationParameter(e);r=JSON.parse(n)}catch(t){return}if(r[i]!==undefined){return r[i]}};o.getBagText=function(t,e,i){if(t.getBagIds().indexOf(e)>-1&&t.getBag(e).getTextNames().indexOf(i)>-1){return t.getBag(e).getText(i)}};o.getTileSize=function(t){const e=!t.isStub()&&t.getConfigurationParameter(\"row\")||\"1\";const i=!t.isStub()&&t.getConfigurationParameter(\"col\")||\"1\";return`${e}x${i}`};o._getAppLauncherTileConfiguration=function(e){let i;const n=e.getConfigurationParameter(\"tileConfiguration\");try{i=JSON.parse(n||\"{}\")}catch(i){t.error(`Tile with ID '${e.getId()}' has a corrupt configuration containing a 'tileConfiguration' value '${n}' which could not be parsed. If present, a (stringified) JSON is expected as value.`,i.message,\"sap.ushell_abap.adapters.abap.LaunchPageAdapter\");return{}}return i};o._isAppLauncher=function(t){const e=t.getChip().getBaseChipId();return e===n||e===r};o.getTileConfigurationFromSimplifiedChip=function(t){let e;try{e=JSON.parse(t.configuration.tileConfiguration)}catch(t){e={}}return e};o.getTargetUrlFromSimplifiedChip=function(t,e){const i=this.getCustomTileTargetFromSimplified(t);if(i){return`#${e.constructShellHash(i)}`}const n=this.getTileConfigurationFromSimplifiedChip(t);return n.navigation_target_url};o.getIndicatorDataSourceFromSimplifiedChip=function(t){const e=this.getTileConfigurationFromSimplifiedChip(t);const i=e.service_url;if(!i){return undefined}return{path:i,refresh:e.service_refresh_interval}};o.getTileSizeFromSimplifiedChip=function(t){const e=t.configuration;const i=e.row||1;const n=e.col||1;return`${i}x${n}`};o.getNumberUnitFromSimplifiedChip=function(t){const e=this.getTileConfigurationFromSimplifiedChip(t);return e.display_number_unit};o.getInfoFromSimplifiedChip=function(t){const e=t.bags.tileProperties;return e&&e.texts.display_info_text};o.getKeywordsFromSimplifiedChip=function(t){const e=t.bags.tileProperties;const i=e&&e.texts.display_search_keywords;if(i){return i.trim().split(/\\s*,\\s*/g)}return[]};o.isCustomTileFromSimplifiedChip=function(t){const e=t.chipId;return e!==n&&e!==r};o.loadChipInstanceFromSimplifiedChip=function(t){const e=t.bags;const n={chipId:t.chipId,configuration:t.configuration?JSON.stringify(t.configuration):\"{}\"};return i.getServiceAsync(\"PageBuilding\").then(t=>{const i=t.getFactory();const r=i.createChipInstance(n);this.addBagDataToChipInstance(r,e);return new Promise((t,e)=>{r.load(t,e)}).then(()=>r)})};o.addBagDataToChipInstance=function(e,i){if(!i){return}let n;for(const r in i){const o=i[r];const a=e.getBag(r);try{for(n in o.properties){a.setProperty(n,o.properties[n])}for(n in o.texts){a.setText(n,o.texts[n])}}catch(e){t.error(`chipsUtils.addBagDataToChipInstance: ${e.toString()}`)}}};o.getCustomTileTargetFromSimplified=function(t){if(t.chipId===\"X-SAP-UI2-CHIP:/UI2/AR_SRVC_NEWS\"){return{target:{semanticObject:\"NewsFeed\",action:\"displayNewsList\"}}}const e=JSON.parse(t.configuration.tileConfiguration||\"{}\");const i=JSON.parse(e.TILE_PROPERTIES||\"{}\");if(i.semanticObject&&i.semanticAction){return{target:{semanticObject:i.semanticObject,action:i.semanticAction},params:{EvaluationId:[i.evaluationId]}}}return null};return o},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/objectOperations\", [],()=>{\"use strict\";const e={};e.getMember=function(e,r){const t=r.split(\".\");let n=e;if(!e){return undefined}t.forEach(e=>{if(typeof n!==\"object\"){return undefined}n=n[e.replace(/[|]/g,\".\")]});return n};e.updateProperties=function(e,r){Object.keys(e).forEach(t=>{if(r.hasOwnProperty(t)){e[t]=r[t]}})};e.getNestedObjectProperty=function(e,r,t){const n=\"Missing or invalid parameter\";if(!e||!Array.isArray(e)||e.length===0||!r){throw new Error(n)}if(Array.isArray(r)&&r.length!==e.length){throw new Error(n)}let i=r;if(!Array.isArray(r)){i=Array.apply(null,Array(e.length)).map(()=>r)}const a=e.reduce((e,r,t)=>{if(e!==undefined){return e}return this.getMember(r,i[t])},undefined);return a!==undefined?a:t};return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/tilecard/TileCard\", [\"sap/base/Log\"],e=>{\"use strict\";const a=\"sap.ushell.StaticAppLauncher\";const t=\"sap.ushell.DynamicAppLauncher\";const i=\"module:sap/ushell/utils/tilecard/TileCardExtension\";const r=e.getLogger(\"sap.ushell.utils.tilecard.TileCard\");const n={_version:\"1.41.0\",\"sap.app\":{id:\"sap.ushell.utils.tilecard.Error\",type:\"card\",applicationVersion:{version:\"1.123.0\"},i18n:{bundleName:\"sap.ushell.utils.tilecard.resources/resources\"}},\"sap.card\":{type:\"List\",header:{title:\"{{TileCard.Widget.NotAvailable}}\",icon:{src:\"sap-icon://sys-cancel\"}}}};function s(e){const a=e.target;if(!a){return[]}if(a.semanticObject&&a.action){return[{type:\"Navigation\",parameters:{ibnTarget:{semanticObject:a.semanticObject,action:a.action},ibnParams:a.mParameters}}]}else if(a.type&&a.type===\"URL\"){return[{type:\"Navigation\",parameters:{url:a.url}}]}else if(e.targetURL){return[{type:\"Navigation\",parameters:{url:e.targetURL}}]}return[]}function l(e,a){const t={type:\"Numeric\",title:a.title||\"\",titleMaxLines:a.subtitle?2:3,subTitle:a.subtitle||\"\",subTitleMaxLines:1,wrappingType:\"Hyphenated\",icon:{src:a.icon||\"\",shape:\"Square\",visible:!!a.icon},actions:s(a),details:{text:a.info||\"\",state:\"None\"},banner:a.displayProviderLabel?[{text:a.contentProviderLabel}]:[]};if(e){const e=a.indicatorDataSource;t.data={updateInterval:e&&e.refreshInterval?e.refreshInterval:0,path:\"/\",request:{method:\"GET\",url:\"{parameters>/dataPath/value}\",withCredentials:true,retryAfter:1}};t.icon.src=`{= \\${/_data/icon} || '${a.icon||\"\"}'}`;t.icon.visible=\"{= !!${/_data/icon}}\";t.unitOfMeasurement=`{= \\${/numberUnit} || '${a.numberUnit||\"\"}'}`;t.mainIndicator={number:\"{/_data/number}\",unit:\"{/_data/unit}\",trend:\"{/_data/trend}\",state:\"{/_data/state}\"};t.details={text:`{= \\${/_data/details/text} || '${a.info||\" \"}'}`,state:\"{= ${/_data/details/state} || 'None'}\"}}return t}function d(e){const a=e.indicatorDataSource;if(!a){return\"\"}let t=a.url;if(a.dataSource&&e.dataSource&&e.dataSource.uri){if(!e.dataSource.uri.endsWith(\"/\")){e.dataSource.uri=`${e.dataSource.uri}/`}t=e.dataSource.uri+a.path;t=t.replaceAll(\"//\",\"/\")}return t||\"/\"}function o(e,a){return{_version:\"1.41.0\",\"sap.app\":{id:a.id,type:\"card\",tags:{keywords:a.keywords},i18n:{bundleName:\"sap.ushell.utils.tilecard.resources/resources\"}},\"sap.ui\":a.vizConfig[\"sap.ui\"]||{},\"sap.flp\":a.vizConfig[\"sap.flp\"]||{},\"sap.fiori\":a.vizConfig[\"sap.fiori\"]||{},\"sap.card\":{extension:e?i:\"\",header:l(e,a),type:\"List\",configuration:{parameters:{dataPath:{value:d(a)}}}}}}function u(e){if(e.vizType===t||e.vizType===a){return o(e.vizType===t,e)}return null}function c(e){switch(e){case\"flat\":return\"TileFlat\";case\"standardWide\":return\"TileStandardWide\";case\"flatWide\":return\"TileFlatWide\";case\"compact\":return\"LinkHeader\";default:return\"TileStandard\"}}function p(e){if(!Array.isArray(e.supportedDisplayFormats)||e.supportedDisplayFormats.length===0){return[\"TileStandard\"]}const a=e.supportedDisplayFormats||[\"flat\",\"standard\",\"standardWide\",\"flatWide\",\"compact\"];return a.map(e=>c(e))}function f(e){let a;try{a={descriptor:{value:u(e)},displayVariant:c(e.displayFormatHint||\"standard\"),availableDisplayVariants:p(e),error:false};if(!a.descriptor.value){throw new Error(\"No custom tile and no descriptor value\")}r.debug(\"TileCard was initialized.\",JSON.stringify(e))}catch(t){r.debug(\"TileCard cannot be initialized.\",JSON.stringify(e));r.info(\"TileCard initialization failed\",t.message);a={descriptor:{value:n},displayVariant:c(e.displayFormatHint||\"standard\"),availableDisplayVariants:p([\"TileStandard\",\"TileFlat\",\"TileFlatWide\",\"TileStandardWide\"]),error:true}}return a}return{createTileCardConfiguration:f}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/tilecard/TileCardExtension\", [\"sap/ui/core/Core\",\"sap/ui/integration/Extension\",\"sap/ushell/utils/DynamicTileRequest\",\"sap/ui/core/format/NumberFormat\",\"sap/base/Log\",\"sap/m/library\",\"sap/ui/core/library\"],(t,e,r,i,a,s,n)=>{\"use strict\";const u=e.extend(\"sap.ushell.utils.workpage.TileCardExtension\");u._DynamicTileRequest=r;u._DynamicTileRequestTimeout=3e4;const o=a.getLogger(\"sap.ushell.utils.tilecard.TileCardExtension\");const l=s.ValueColor;const m=n.ValueState;const c={Positive:\"Positive\",Negative:\"Negative\",Critical:\"Critical\"};const f=[{factor:1e6,value:\"M\"},{factor:1e3,value:\"k\"}];function b(t){if(t===c.Positive){return m.Success}else if(t===c.Negative){return m.Error}else if(t===c.Critical){return m.Warning}return m[t]||m.None}function d(t){if(t===c.Positive){return l.Good}else if(t===c.Negative){return l.Error}return l[t]||l.None}function h(t,e){if(t.info){return t.info}if(t.number===\"#\"){return e}return\"\"}function p(t){if(!t.hasOwnProperty(\"number\")||t.number===\"...\"||t.number===\"#\"){return l.None}return d(t.numberState)}function _(t){if(!t.hasOwnProperty(\"number\")){t.number=\"...\"}if(typeof t.number===\"string\"&&t.number!==\"...\"){t.number=parseFloat(t.number);if(isNaN(t.number)){t.number=\"#\"}}if(!isNaN(t.number)){if(!t.hasOwnProperty(\"numberFactor\")){t._data.unit=\"\";if(t.number>=1e3){const e=f.find(e=>t.number/e.factor>=1&&t.number/(e.factor*1e3)<1);t._data.unit=e.value;t.number=t.number/e.factor}}else{t._data.unit=t.numberFactor}if(!t.hasOwnProperty(\"numberDigits\")&&t._data.unit){t.numberDigits=2}const e=i.getFloatInstance({minFractionDigits:Math.min(t.numberDigits,3),maxFractionDigits:Math.min(t.numberDigits,3)});t.number=e.format(t.number)}return t.number}function g(t,e){if(!isNaN(t)){t={number:t}}if(Array.isArray(t.results)){t.targetParams=t.targetParams||[];t.number=t.results.reduce((e,r)=>{if(r.targetParams){t.targetParams.push(r.targetParams)}return e+(parseFloat(r.number)||0)},0)}t._data={};t._data.number=_(t);t._data.details={};t._data.details.text=h(t,e);t._data.details.state=b(t.infoState);t._data.state=p(t);t._data.trend=t.stateArrow||null;t._data.icon=t.icon||null;t._data.title=t.title||null;t._data.subtitle=t.subtitle||null;if(Array.isArray(t._data.targetParams)){t._data.targetParams=t.targetParams.join(\"&\")}return t}u.prototype.onCardReady=function(){this.bFirstRequest=true;this._oCurrentDataRequest=null;this._oCurrentDataRequestSendTS=0;this._sErrorText=this.getCard().getTranslatedText(\"TileCard.Data.Error\");this._sTimeoutText=this.getCard().getTranslatedText(\"TileCard.Data.Timeout\");this._oErrorResponse=g({number:\"...\",info:this._sErrorText},this._sErrorText);this._oTimeoutResponse=g({number:\"...\",info:this._sTimeoutText},this._sErrorText)};u.prototype.fetch=function(t){if(t.startsWith(\"/.\")){t=t.substring(1)}if(!this.bFirstRequest&&Date.now()-this._oCurrentDataRequestSendTS<2e3){return this._oCurrentDataRequest}this._oCurrentDataRequestSendTS=Date.now();this._oCurrentDataRequest=this._fetchTileCardData(t);if(this.bFirstRequest){this.bFirstRequest=false;return Promise.resolve(new Response(new Blob(['number: \"...\"'],{type:\"application/json\"}),{status:429}))}return this._oCurrentDataRequest};u.prototype._fetchTileCardData=function(e){let r=false;const i=this._sErrorText;return new Promise(t=>{setTimeout(()=>{r=true;t(this._oTimeoutResponse)},u._DynamicTileRequestTimeout);setTimeout(()=>{try{new u._DynamicTileRequest(e,a=>{o.debug(\"Dynamic tileCard request successful.\",e);if(!r){t(g(a,i))}},function(){o.info(\"Dynamic tileCard request failed.\",e);if(!r){t(this._oErrorResponse)}})}catch(e){o.error(\"Dynamic tileCard normalization failed.\",e);if(!r){t(this._oErrorResponse)}}},1)}).then(e=>{const r=t.byId(this.getCard().getDomRef().id).getCardHeader();if(e.title){r.setTitle(e.title)}if(e.subtitle){r.setSubtitle(e.subtitle)}return new Response(new Blob([JSON.stringify(e)],{type:\"application/json\"}),{status:200})}).catch(t=>new Response(new Blob([\"{}\"],{type:\"application/json\"}),{status:200}))};return u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/type\", [],()=>{\"use strict\";function t(t){return Object.prototype.toString.apply(t)===\"[object Array]\"}function e(t){return Object.prototype.toString.apply(t)===\"[object Object]\"}function n(t){return typeof t!==\"undefined\"}return{isArray:t,isPlainObject:e,isDefined:n}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/utilsCdm\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/ObjectPath\",\"sap/ushell/utils/objectOperations\",\"sap/ushell/utils/UrlParsing\"],(e,t,a,i,s)=>{\"use strict\";function o(e,t){return i.getMember(e,t)}function n(e,a,i){a=t({},a);i=t({},i);const s={};s.semanticObject=a.semanticObject;s.action=a.action;s.title=a.title||o(i,\"sap|app.title\");s.info=a.info||o(i,\"sap|app.info\");s.icon=a.icon||o(i,\"sap|ui.icons.icon\");s.subTitle=a.subTitle||o(i,\"sap|app.subTitle\");s.shortTitle=a.shortTitle||o(i,\"sap|app.shortTitle\");let n;let p;let r;let l;let u;let c;let f=false;const m=o(i,\"sap|platform|runtime\");s.resolutionResult=t({},m);if(m){s.resolutionResult[\"sap.platform.runtime\"]=t({},m)}if(o(i,\"sap|ui.technology\")===\"GUI\"){s.resolutionResult[\"sap.gui\"]=o(i,\"sap|gui\")}if(o(i,\"sap|ui.technology\")===\"WDA\"){s.resolutionResult[\"sap.wda\"]=o(i,\"sap|wda\")}if(o(i,\"sap|ui.technology\")===\"URL\"){if(i[\"sap.url\"]){s.resolutionResult[\"sap.platform.runtime\"]=s.resolutionResult[\"sap.platform.runtime\"]||{};s.resolutionResult.url=i[\"sap.url\"].uri;s.resolutionResult[\"sap.platform.runtime\"].url=i[\"sap.url\"].uri}else if(m&&m.uri){s.resolutionResult[\"sap.platform.runtime\"].url=m.uri;s.resolutionResult.url=m.uri}}if(!s.resolutionResult[\"sap.ui\"]){s.resolutionResult[\"sap.ui\"]={}}s.resolutionResult[\"sap.ui\"].technology=o(i,\"sap|ui.technology\");s.resolutionResult.applicationType=this._formatApplicationType(s.resolutionResult,i);s.resolutionResult.systemAlias=s.resolutionResult.systemAlias||a.systemAlias;s.resolutionResult.systemAliasSemantics=\"apply\";s.resolutionResult.text=s.title;s.deviceTypes=o(i,\"sap|ui.deviceTypes\")||{};s.resolutionResult.appId=o(i,\"sap|app.id\");[\"desktop\",\"tablet\",\"phone\"].forEach(e=>{if(Object.prototype.hasOwnProperty.call(a.deviceTypes||{},e)){s.deviceTypes[e]=a.deviceTypes[e]}if(!Object.prototype.hasOwnProperty.call(s.deviceTypes,e)){s.deviceTypes[e]=true}s.deviceTypes[e]=!!s.deviceTypes[e]});s.signature=a.signature||{};s.signature.parameters=s.signature.parameters||{};s.signature.additionalParameters=(a.signature||{}).additionalParameters||\"allowed\";const d=a.indicatorDataSource||o(i,`sap|app.crossNavigation.inbounds.${e}.indicatorDataSource`);let y=d?\"#Shell-dynamicTile\":\"#Shell-staticTile\";if(o(i,\"sap|app.type\")===\"tile\"||o(i,\"sap|flp.type\")===\"tile\"){y=s.resolutionResult;y.url=o(i,\"sap|platform|runtime.componentProperties.url\");y.componentName=o(i,\"sap|ui5.componentName\");if(o(i,\"sap|platform|runtime.includeManifest\")){y.componentProperties=y.componentProperties||{};y.componentProperties.manifest=t({},i);delete y.componentProperties.manifest[\"sap.platform.runtime\"]}l=o(i,\"sap|app.crossNavigation.outbounds.target\");f=true}if(o(i,\"sap|app.type\")===\"plugin\"||o(i,\"sap|flp.type\")===\"plugin\"){return undefined}if(o(i,\"sap|flp.tileSize\")){n=o(i,\"sap|flp.tileSize\")}if(o(i,\"sap|app.description\")){p=o(i,\"sap|app.description\")}if(o(i,\"sap|ui.technology\")===\"GUI\"&&o(i,\"sap|gui.transaction\")){r=o(i,\"sap|gui.transaction\")}if(o(i,\"sap|ui.technology\")===\"WDA\"&&o(i,\"sap|wda.applicationId\")){r=o(i,\"sap|wda.applicationId\")}if(o(i,\"sap|app.dataSources\")){u=o(i,\"sap|app.dataSources\")}if(o(i,\"sap|app.id\")){c=o(i,\"sap|app.id\")}s.tileResolutionResult={appId:c,title:s.title,subTitle:s.subTitle,icon:s.icon,size:n,info:s.info,tileComponentLoadInfo:y,indicatorDataSource:d,dataSources:u,description:p,runtimeInformation:m,technicalInformation:r,deviceTypes:s.deviceTypes};s.tileResolutionResult.isCustomTile=f;if(l){s.tileResolutionResult.targetOutbound=l}return s}function p(e,t){const a=e.applicationType;if(a){return a}const i=o(t,\"sap|platform|runtime.componentProperties.name\")||o(t,\"sap|ui5.componentName\");if(o(t,\"sap|flp.appType\")===\"UI5\"||o(t,\"sap|ui.technology\")===\"UI5\"){e.applicationType=\"SAPUI5\";e.additionalInformation=`SAPUI5.Component=${i}`;e.url=o(t,\"sap|platform|runtime.componentProperties.url\");e.applicationDependencies=o(t,\"sap|platform|runtime.componentProperties\");return\"SAPUI5\"}if(o(t,\"sap|ui.technology\")===\"GUI\"){e.applicationType=\"TR\";e[\"sap.gui\"]=o(t,\"sap|gui\");e.systemAlias=o(t,\"sap|app.destination.name\");return\"TR\"}if(o(t,\"sap|ui.technology\")===\"WDA\"){e.applicationType=\"WDA\";e[\"sap.wda\"]=o(t,\"sap|wda\");e.systemAlias=o(t,\"sap|app.destination.name\");return\"WDA\"}if(o(t,\"sap|ui.technology\")===\"URL\"){e.applicationType=\"URL\";e.systemAlias=o(t,\"sap|app.destination.name\")}return\"URL\"}function r(t){if(!t){return[]}const a=[];try{const i=Object.keys(t.applications||{}).sort();i.forEach(i=>{try{const e=t.applications[i];const s=o(e,\"sap|app.crossNavigation.inbounds\");if(s){const t=Object.keys(s).sort();t.forEach(t=>{const i=s[t];const o=this.mapOne(t,i,e);if(o){a.push(o)}})}}catch(t){e.error(`Error in application ${i}: ${t}`,t.stack)}})}catch(t){e.error(t);e.error(t.stack);return[]}return a}function l(e){const t={target:{semanticObject:e.semanticObject,action:e.action},params:{}};const i=a.get(\"signature.parameters\",e)||{};Object.keys(i).forEach(e=>{if(i[e].filter&&Object.prototype.hasOwnProperty.call(i[e].filter,\"value\")&&(i[e].filter.format===undefined||i[e].filter.format===\"plain\")){t.params[e]=[i[e].filter.value]}if(i[e].launcherValue&&Object.prototype.hasOwnProperty.call(i[e].launcherValue,\"value\")&&(i[e].launcherValue.format===undefined||i[e].launcherValue.format===\"plain\")){t.params[e]=[i[e].launcherValue.value]}});const o=s.constructShellHash(t);if(!o){return undefined}return o}function u(e){const t={target:{semanticObject:e.semanticObject,action:e.action},params:{}};const a=e.parameters||{};Object.keys(a).forEach(e=>{if(a.hasOwnProperty(e)&&typeof a[e].value===\"object\"){t.params[e]=[a[e].value.value]}});const i=s.constructShellHash(t);if(!i){return undefined}return i}return{formatSite:r,toHashFromInbound:l,toHashFromOutbound:u,mapOne:n,_formatApplicationType:p}},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/workpage/DestinationResolver\", [\"./WorkPageService\",\"sap/ushell/Config\"],(e,t)=>{\"use strict\";const i={NO_DESTINATION_FOUND:\"NO_DESTINATION_FOUND\",COULD_NOT_RETRIEVE_DESTINATIONS:\"COULD_NOT_RETRIEVE_DESTINATIONS\",NO_CARD_OR_DESTINATION_NAME:\"NO_CARD_OR_DESTINATION_NAME\",RESOLVED_URL_EMPTY:\"RESOLVED_URL_EMPTY\"};class r{#e;#t=new Map;constructor(){const e=new URLSearchParams(window.location.search);this._sSiteId=e.get(\"siteId\")||t.last(\"/core/site/siteId\");this.fetchData()}_getContentProviderDestinationMappings(){if(!this._providerPromise){this._providerPromise=new Promise((e,t)=>{this.fetchData().then(t=>{t.forEach(e=>{const t=new Map;e.logicalDataDestinationMappings.forEach(e=>{t.set(e.logicalDestinationName,e.resolvedUrl)});this.#t.set(e.id,t)});return e(this.#t)}).catch(e=>{t(e)})})}return this._providerPromise}async fetchData(){if(!this._dataPromise){try{this._dataPromise=new Promise(async(t,i)=>{this.#e=await new e;try{const e=await this.#e.loadSiteAndDataDestinationMappings();const s=e?.data?.site?.providers?.nodes;if(s&&Object.keys(s[0]).length){return t(s)}return i(r.ERROR_CODES.COULD_NOT_RETRIEVE_DESTINATIONS)}catch(e){return i(r.ERROR_CODES.COULD_NOT_RETRIEVE_DESTINATIONS)}})}catch(e){throw new Error(\"DestinationResolver: Failed to Initialize the WorkPageService\",e)}}return this._dataPromise}resolveCardDestination(e,t){return new Promise((s,n)=>{if(!e||!t){return n(i.NO_CARD_OR_DESTINATION_NAME)}this._getContentProviderDestinationMappings().then(a=>{const o=a.get(t.getReferenceId())?.get(e);if(o){return s(o)}else if(o===\"\"){return n(i.RESOLVED_URL_EMPTY)}return n(r.ERROR_CODES.NO_DESTINATION_FOUND)}).catch(t=>{if(!this._sSiteId){return s(`${location.origin}/dynamic_dest/${e}`)}return n(t)})})}}r.ERROR_CODES=i;return r},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils/workpage/WorkPageHost\", [\"sap/ui/integration/Host\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ui/model/resource/ResourceModel\",\"./DestinationResolver\",\"sap/m/IllustratedMessageType\",\"sap/m/IllustratedMessageSize\"],(e,t,r,o,n,a,s,i)=>{\"use strict\";return function(l,c){const g=new e(l,c);g._oHostContext=null;g._oHostContextModel=null;g._destinationResolver=new a;g._mUnresolvedDestinations=new WeakMap;g.setResolveDestination((e,t)=>{if(!e||!t){return Promise.reject(\"No destination name or card instance given.\")}return g._destinationResolver.resolveCardDestination(e,t).catch(r=>{g._mUnresolvedDestinations.set(t,{error:r,destinationName:e})})});g.attachCardStateChanged(async e=>{const t=e.getParameter(\"card\");const r=t.getBlockingMessage();if(r?.type===\"Error\"&&g._mUnresolvedDestinations.has(t)){r.illustrationType=s.UnableToLoad;r.illustrationSize=i.ExtraSmall;const e=await g._getBundle();switch(g._mUnresolvedDestinations.get(t)?.error){case a.ERROR_CODES.NO_DESTINATION_FOUND:r.title=e.getText(\"WorkPage.Host.DestinationResolver.Error.NoDestinationFound.Title\",[g._mUnresolvedDestinations.get(t)?.destinationName||\"\"]);r.description=e.getText(\"WorkPage.Host.DestinationResolver.Error.NoDestinationFound.Description\",[t.getReferenceId()]);break;case a.ERROR_CODES.COULD_NOT_RETRIEVE_DESTINATIONS:r.title=e.getText(\"WorkPage.Host.DestinationResolver.Error.CouldNotRetrieveDestinations.Title\",[g._mUnresolvedDestinations.get(t)?.destinationName]);r.description=e.getText(\"WorkPage.Host.DestinationResolver.Error.CouldNotRetrieveDestinations.Description\");break;case a.ERROR_CODES.NO_CARD_OR_DESTINATION_NAME:r.title=e.getText(\"WorkPage.Host.DestinationResolver.Error.NoCardOrDestinationName.Title\");r.description=e.getText(\"WorkPage.Host.DestinationResolver.Error.NoCardOrDestinationName.Description\");break;case a.ERROR_CODES.RESOLVED_URL_EMPTY:r.title=e.getText(\"WorkPage.Host.DestinationResolver.Error.ResolvedUrlEmpty.Title\",[g._mUnresolvedDestinations.get(t)?.destinationName]);r.description=e.getText(\"WorkPage.Host.DestinationResolver.Error.ResolvedUrlEmpty.Description\",[t.getReferenceId()]);break;default:r.title=e.getText(\"WorkPage.Host.DestinationResolver.Error.Generic.Title\",[g._mUnresolvedDestinations.get(t)?.destinationName]);r.description=e.getText(\"WorkPage.Host.DestinationResolver.Error.Generic.Description\",[g._mUnresolvedDestinations.get(t)?.error])}t.showBlockingMessage(r);g._mUnresolvedDestinations.delete(t)}});g.attachCardInitialized(e=>{const t=e.getParameter(\"card\");if(t&&t.isA&&t.isA(\"sap.ui.integration.widgets.Card\")){o.emit(\"UITracer.trace\",{source:\"Card\",reason:\"Init\",data:{cardId:t.getManifestEntry(\"/sap.app/id\"),providerId:t.getReferenceId()}})}});g._setContainer=function(e){this.oContainer=e};g._setNavigationDisabled=function(e){this._bNavigationDisabled=!!e};g._executeNavigation=function(e){const t=e.getParameter(\"parameters\");const r=e.getParameter(\"card\");if(e.getParameter(\"type\")!==\"Navigation\"||this._bNavigationDisabled){return Promise.resolve()}if(t&&t.hasOwnProperty(\"url\")){o.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Card\",data:{cardId:r.getManifestEntry(\"/sap.app/id\"),providerId:r.getReferenceId(),targetUrl:t.url}});return Promise.resolve()}e.preventDefault(true);return this.oContainer.getServiceAsync(\"Navigation\").then(e=>{const n={};if(t.hasOwnProperty(\"ibnTarget\")){n.target=t.ibnTarget}if(t.hasOwnProperty(\"ibnParams\")){n.params=t.ibnParams}if(t.hasOwnProperty(\"ibnAppSpecificRoute\")){n.appSpecificRoute=t.ibnAppSpecificRoute}o.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Card\",data:{cardId:r.getManifestEntry(\"/sap.app/id\"),providerId:r.getReferenceId(),targetUrl:`#${n.target.semanticObject}-${n.target.action}`}});return e.navigate(n)})};g.attachAction(g._executeNavigation.bind(g));g.fetch=function(t,r,n,a){if(a&&a.isA&&a.isA(\"sap.ui.integration.widgets.Card\")){return e.prototype.fetch.apply(this,arguments).then(e=>{o.emit(\"UITracer.trace\",{source:\"Card\",reason:\"FetchData\",data:{cardId:a.getManifestEntry(\"/sap.app/id\"),providerId:a.getReferenceId(),targetUrl:t,status:e.status}});return e})}return e.prototype.fetch.apply(this,arguments)};g.getContextValue=function(e){try{if(!e){return Promise.reject()}if(e.charAt(0)===\"/\"){return g.getContextValue(e.substring(1))}return g.getContext().then(()=>g._oHostContextModel.getProperty(`/${e}/value`))}catch(e){return Promise.resolve()}};g.getContext=async function(){if(!g._oHostContext){try{const e=await r.getServiceAsync(\"UserInfo\");try{const t=await g._getBundle();g._oHostContext=g._applyHostContext(e,t)}catch(t){g._oHostContext=g._applyHostContext(e)}}catch(e){g._oHostContext={}}}return Promise.resolve(g._oHostContext)};g._getBundle=function(){if(!this._oResourceBundle){this._oResourceBundle=new n({bundleName:\"sap.ushell.utils.workpage.resources.resources\",async:true}).getResourceBundle()}return this._oResourceBundle};g._applyHostContext=function Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegionEntry\", [\"sap/base/Log\",\"sap/ui/core/mvc/XMLView\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,n,t,a)=>{\"use strict\";function i(){let i;const r={id:\"language\",entryHelpID:\"language\",title:t.i18n.getText(\"languageAndRegionTit\"),valueResult:null,contentResult:null,icon:\"sap-icon://map\",valueArgument:function(){let e=a.getUser().getLanguageText();if(e.indexOf(\"-\")>-1){e=e.replace(\"-\",\" (\").concat(\")\")}return Promise.resolve(e)},contentFunc:function(){return n.create({id:\"userLanguageAndRegion\",viewName:\"sap.ushell.adapters.cdm.Settings.UserLanguageAndRegion.UserLanguageAndRegion\"}).then(e=>{i=e;return i})},onSave:function(n){if(i){return i.getController().onSave(n)}e.warning(\"Save operation for language settings was not executed, because the userLanguageAndRegion view was not initialized\");return Promise.resolve()},onCancel:function(){if(i){i.getController().onCancel();return}e.warning(\"Cancel operation for language settings was not executed, because the userLanguageAndRegion view was not initialized\")}};return r}return{getEntry:i}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter\", [],()=>{\"use strict\";function e(){}return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/_LaunchPage/modifyHome\", [\"sap/ushell/adapters/cdm/_LaunchPage/readHome\"],e=>{\"use strict\";function i(e,i,t){const r={identification:{id:e,namespace:\"\",title:i},payload:{isPreset:false,locked:false,tiles:[],links:[],groups:[]}};if(t){r.payload.isDefaultGroup=true}return r}function t(e){return i(e,\"Home\",true)}function r(i,t,r){const o=e.getGroupId(t);i.groups[o]=t;if(r!==undefined){i.site.payload.groupsOrder.splice(r,0,o)}else{i.site.payload.groupsOrder.push(o)}return i}function o(e,i,t){if(e&&e.groups&&e.groups[t]){e.groups[t]=i}return e}function s(e,i){if(e&&e.groups&&e.groups[i.identification.id]){delete e.groups[i.identification.id]}if(e&&e.site&&e.site.payload&&e.site.payload.groupsOrder){e.site.payload.groupsOrder=e.site.payload.groupsOrder.filter(e=>e!==i.identification.id)}return e}function u(e,i){e.site.payload.groupsOrder=i;return e}function n(e,i){e.identification.title=i}function a(e,i){if(i){delete e.identification.isVisible}else{e.identification.isVisible=false}}return{createDefaultGroup:t,createEmptyGroup:i,addGroupToSite:r,overwriteGroup:o,removeGroupFromSite:s,setGroupsOrder:u,setGroupTitle:n,setGroupVisibility:a}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/_LaunchPage/readCatalogs\", [],()=>{\"use strict\";function t(t){return t.identification.id}function i(t){return t.identification.title}return{getCatalogId:t,getCatalogTitle:i}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/_LaunchPage/readHome\", [\"sap/ushell/utils/type\"],i=>{\"use strict\";function t(i){const t=[];i.site.payload.groupsOrder.forEach((e,n)=>{const r=i.groups[e];if(r){r.payload=r.payload||{};t.push(r)}});return t}function e(i){return i.groups}function n(i){return i.site.payload.groupsOrder}function r(i,t){return i.groups[t]}function o(i){const t=i.filter(i=>i.payload.hasOwnProperty(\"isDefaultGroup\"));if(t.length>0){return t[0]}return undefined}function u(i){return i.identification&&i.identification.id}function s(i){return i.identification.title}function l(i){if(!i.payload.hasOwnProperty(\"isPreset\")){return true}return!!i.payload.isPreset}function a(i){return!!i.payload.locked}function f(i){return!!(i.identification.isVisible===undefined||i.identification.isVisible===true)}function d(t){if(t.payload.tiles&&i.isArray(t.payload.tiles)&&t.payload.tiles.length>0){return t.payload.tiles}return[]}function c(t){if(t.payload.links&&i.isArray(t.payload.links)&&t.payload.links.length>0){return t.payload.links}return[]}function p(i){return i.id}function g(i,t){if(t&&t.isBookmark){return t.title}const e=i[t.id];if(e){return t.title||e.tileResolutionResult.title}return undefined}function y(i,t){if(t.isBookmark){return t.subTitle}const e=i[t.id];if(e){return t.subTitle||e.tileResolutionResult.subTitle}return undefined}function k(i,t){if(t.isBookmark){return t.info}const e=i[t.id];return t.info||e.tileResolutionResult.info}function T(i,t){if(t.isBookmark){return t.icon}const e=i[t.id];if(e){return t.icon||e.tileResolutionResult.icon}return undefined}function R(i,t){if(t.isBookmark){return t.icon}const e=i[t.id];if(e){return t.icon||e.tileResolutionResult.icon}return undefined}function G(i,t){const e=i[t.id];if(e&&e.tileResolutionResult&&e.tileResolutionResult.size){return e.tileResolutionResult.size}}function m(i,t){const e=i[t.id];if(e){return!!e.isLink}return false}function h(i){return!!(i&&i.id&&!i.isCatalogTile)}function b(i,t){return i.deviceTypes&&i.deviceTypes[t]}return{getGroupsArrayFromSite:t,getGroupsMapFromSite:e,getGroupIdsFromSite:n,getGroupFromSite:r,getDefaultGroup:o,getGroupId:u,getGroupTitle:s,isGroupPreset:l,isGroupLocked:a,isGroupVisible:f,getGroupTiles:d,getGroupLinks:c,getTileId:p,getTileTitle:g,getTileSubtitle:y,getTileInfo:k,getTileIcon:T,getTileIndicatorDataSource:R,getTileSize:G,isLink:m,isGroupTile:h,supportsFormFactor:b}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/_LaunchPage/uri.transform\", [\"sap/ui/thirdparty/URI\"],r=>{\"use strict\";function t(r){if(!r.is(\"relative\")){return false}return r.toString()[0]===\"/\"}function e(r){return!r.is(\"absolute\")&&!t(r)}function n(r){return r&&typeof r===\"string\"}function o(r,t,e,n,o){const i={};if(r){i.uri=r.toString()}if(t){i.uriParent=t.toString()}if(e){i.uriRelative=e.toString()}if(n){i.uriBase=n.toString()}if(o){i.uriAbsolute=o.toString()}return i}function i(){const t=new r(\"/1/2/3/4/5/6/7/8/9/\");let e=t;for(let t=0;t<arguments.length;t++){e=r.joinPaths(e,arguments[t])}return e.relativeTo(t)}function s(r){return r.filename(\"\").search(\"\").fragment(\"\")}function u(t){const e=t.directory();if(e===\"/\"){return\"/\"}return r.joinPaths(e,\"/\").toString()}function a(t){let e=t;if(t){const n=new r(t);if(n.filename()&&n.filename().indexOf(\".\")===-1&&n.filename().slice(-1)!==\"/\"){e+=\"/\"}}return e}function l(t,l,f,c){const h=n(t)?new r(t):null;if(!h){return{error:\"Error: Parameter sUri is empty or not a string, use case not supported.\"}}if(!e(h)){return o(t,null,null,null,t)}const m=n(l)?new r(l):null;if(m&&!e(m)){return o(t,l,null,null,h.absoluteTo(m))}let p=(new r).search(\"\");if(p.toString()===\"\"){p=new r(\"https://x.y.z:8443/sap/bc/ui5_ui5/ui2/ushell/test-resources/sap/ushell/shells/cdm/fioriCDM.html?params\")}let b=n(f)?new r(a(f)):p;if(!e(b)&&!c){return o(t,l,r.joinPaths(m,h),s(b),r.joinPaths(m,h).absoluteTo(b))}const g=n(c)?new r(c):p;if(!b||!g.toString()){return{error:\"Error: Parameter sUriNewBase is empty or not a string, use case not supported.\"}}if(e(g)){return{error:\"Error: Parameter sUriNewBase is a relative uri, but must be absolute.\"}}if(e(b)&&!e(g)){b=b.absoluteTo(g)}if(!e(b)&&!e(g)){if(b.host()&&g.host()&&b.host()!=g.host()){return{error:\"Error: Hosts of the parameters sUriBase and sUriNewBase are given but do not match.\"}}const t=new r(u(b)).relativeTo(u(g));let e;if(n(l)){e=h.absoluteTo(m.absoluteTo(t.absoluteTo(g)));const r=i(t,m);const n=i(r,h);return o(h,r,n,s(g),e)}e=h.absoluteTo(t.absoluteTo(g));const a=i(t,h);a.query(h.query());return o(a,null,a,s(g),e)}return{error:\"Error: Parameter combination not supported.\"}}return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/_Personalization/internals\", [\"sap/ushell/services/_Personalization/constants\",\"sap/ushell/services/_Personalization/constants.private\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,t,jQuery,n)=>{\"use strict\";function r(e){const t=!e||!e.storageResourceRoot;if(t){throw new Error(\"Configuration error: storage resource root is not defined.\")}return e.storageResourceRoot}function i(e){const t=!e||!e.relativeUrlReadOptimized;if(t){throw new Error(\"Configuration error: relative URL for read optimization is not defined.\")}return e.relativeUrlReadOptimized}function a(e){const t=!e||!e.relativeUrlWriteOptimized;if(t){throw new Error(\"Configuration error: relative URL for write optimization is not defined.\")}return e.relativeUrlWriteOptimized}function o(t){return t&&t.keyCategory===e.keyCategory.FIXED_KEY&&t.writeFrequency===e.writeFrequency.LOW&&t.clientStorageAllowed}function s(e){return o(e)?\"p\":\"u\"}function l(e,t){return o(t)?i(e):a(e)}function u(e){const r=t.S_CONTAINER_PREFIX;let i;let a;if(typeof e!==\"string\"||e.length===0){throw new Error(\"Personalization container key must be a non-empty string\")}if(e.substring(0,r.length)===r){i=e.substring(r.length)}else{n.error(`Unexpected personalization container key: ${e}`,`should always be prefixed with ${r}`,\"sap.ushell.adapters.cdm.PersonalizationAdapter\");i=e}if(i.length<=40){a=i}else{a=i.substring(0,40);n.error(`Invalid personalization container key: '${i}'`+` exceeds maximum key length (40 characters) and is shortened to '${a}'`,undefined,\"sap.ushell.adapters.cdm.PersonalizationAdapter\")}return a}function d(e,t,n){return`${l(e,t)}/${encodeURIComponent(u(n))}.json`}function c(){return{validity:Infinity,keyCategory:e.keyCategory.GENERATED_KEY,writeFrequency:e.writeFrequency.HIGH,clientStorageAllowed:false}}function f(e,t){if(!t&&t!==\"\"||t.constructor!==String){n.warning(\"Personalization container has an invalid app name; must be a non-empty string\",null,\"sap.ushell.adapters.cdm.PersonalizationAdapter\")}if(!e){e=c()}const r={items:{},__metadata:{appName:t,expiry:Date.now()+e.validity*60*1e3,validity:e.validity,category:s(e)}};return r}function p(e,t,r){return new jQuery.Deferred(i=>{e.put(r,{data:t}).then(e=>{i.resolve()}).catch(e=>{n.error(`Failed to save personalization container; response: ${typeof e===\"object\"?JSON.stringify(e):e}`,e.stack?e.stack:null,\"sap.ushell.adapters.cdm.PersonalizationAdapter\");i.reject(e)})}).promise()}function m(e){Object.keys(e).forEach(t=>{delete e[t]})}function g(e,t){const n=e&&e.filter(e=>e.name.toLowerCase()===t);return n&&n[0]&&n[0].value}function y(e,t,n){function r(e){m(e.items)}return new jQuery.Deferred(i=>{e.get(n).then(e=>{let n;let a;if(e.status===200&&g(e.responseHeaders,\"content-length\")===\"0\"&&g(e.responseHeaders,\"content-type\").indexOf(\"text/plain\")===0){r(t)}else{n=JSON.parse(e.responseText);if(n.data){n.items=n.data;delete n.data;n.__metadata=t.__metadata}a=n.items;m(t.items);Object.keys(a).forEach(e=>{t.items[e]=a[e]});t.__metadata=n.__metadata}i.resolve()}).catch(e=>{if(e.status===404){r(t);i.resolve()}else{m(t.items);i.reject(e)}})}).promise()}function I(e,t){return new jQuery.Deferred(n=>{e.delete(t).then(()=>{n.resolve()}).catch(e=>{n.reject(e)})}).promise()}function h(e,t,n,r,i){const a=d(e,i,r);const o=t&&t[a];if(o){delete t[a]}return I(n,a)}function _(e){if(e===\"__metadata\"){return undefined}else if(e.indexOf(t.S_VARIANT_PREFIX)===0||e.indexOf(t.S_ADMIN_PREFIX)===0){return e}return t.S_ITEM_PREFIX+e}function w(e){if(e.indexOf(t.S_ITEM_PREFIX)===0){return e.substring(t.S_ITEM_PREFIX.length)}else if(e.indexOf(t.S_VARIANT_PREFIX)===0||e.indexOf(t.S_ADMIN_PREFIX)===0){return e}throw new Error(`Illegal item key for personalization container: '${e}'; must be prefixed with one of the following: [${t.S_ITEM_PREFIX}, ${t.S_VARIANT_PREFIX}, ${t.S_ADMIN_PREFIX}] `)}function E(e){return Object.keys(e).map(_).filter(e=>!!e)}function R(e,t){return e.hasOwnProperty(w(t))}function P(e,t,n){e[w(t)]=n}function b(e,t){return e[w(t)]}function v(e,t){delete e[w(t)]}function A(e,t,n,r,i,a){const o=d(e,i,r);if(t&&t[o]){return t[o]}const s=f(i,a);const l=s.items;return{save:p.bind(null,n,s,o),load:y.bind(null,n,s,o),del:I.bind(null,n,s,o),setItemValue:P.bind(null,l),getItemValue:b.bind(null,l),getItemKeys:E.bind(null,l),containsItem:R.bind(null,l),delItem:v.bind(null,l)}}function C(e,t,n,i,a){const o={cache:{},headers:{\"sap-client\":n.getClient()}};a=a&&a.config;if(!a){throw new Error(\"PersonalizationAdapter: missing configuration.\")}if(!t){t={}}const s=r(a);const l=new e(s,o);return{getAdapterContainer:A.bind(null,a,t,l),delAdapterContainer:h.bind(null,a,t,l)}}return{PersonalizationAdapter:C,getStorageResourceRoot:r,getContainerPath:d,delAdapterContainer:h,createContainerData:f,getAdapterContainer:A,getContainerCategory:s,isCategoryPContainer:o,trimContainerKey:u,save:p,load:y,del:I,clearContainerData:m,getItemKeys:E,containsItem:R,setItemValue:P,getItemValue:b,delItem:v,addPrefixToItemKey:_,stripPrefixFromItemKey:w,getHttpHeaderValue:g}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/util/AppForInbound\", [\"sap/base/util/ObjectPath\",\"sap/base/Log\"],(e,t)=>{\"use strict\";const i={};i.get=function(i,n){let s={};switch(n.resolutionResult.applicationType){case\"SAPUI5\":s=this._getUI5App(i,n);break;case\"TR\":s=this._getTRApp(i,n);break;case\"WDA\":s=this._getWDAApp(i,n);break;case\"URL\":s=this._getURLApp(i,n);break;case\"WCF\":s=this._getWCFApp(i,n);break;default:t.error(`Unable to get CDM app for inbound: Application type '${n.resolutionResult.applicationType}' of app '${i}' is unknown and not supported.`);throw new Error(`Unknown application type: ${n.applicationType}`)}if(n.resolutionResult.systemAlias){e.set([\"sap.app\",\"destination\"],{name:n.resolutionResult.systemAlias,semantics:\"applied\"},s)}return s};i._getURLApp=function(e,t){return{\"sap.app\":{id:e,crossNavigation:{inbounds:{\"Shell-launchURL\":{semanticObject:\"Shell\",action:\"launchURL\",signature:{parameters:{\"sap-external-url\":{required:true,filter:{value:t.resolutionResult.url,format:\"plain\"}}}}}}}},\"sap.ui\":{technology:\"URL\",deviceTypes:t.deviceTypes},\"sap.url\":{uri:t.resolutionResult.url}}};i._getUI5App=function(e,t){return{\"sap.app\":{id:e,title:t.resolutionResult.text,subTitle:t.resolutionResult.information,crossNavigation:{inbounds:this._getApplicationInbound(t)}},\"sap.ui5\":{componentName:t.resolutionResult.ui5ComponentName},\"sap.ui\":{technology:\"UI5\",deviceTypes:t.deviceTypes},\"sap.platform.runtime\":{componentProperties:{url:t.resolutionResult.url}}}};i._getApplicationInbound=function(e){const t={};t[e.id]={semanticObject:e.semanticObject,action:e.action,signature:e.signature};return t};i._getTRApp=function(e,i){let n;const s=i.resolutionResult.url.match(/transaction=(.+?)[&?]/);if(s){n=s[1]}else{t.error(`Unable to determine ABAP transaction from inbound URL of app '${e}': ${i.resolutionResult.url}.`)}return{\"sap.app\":{id:e,title:i.resolutionResult.text,subTitle:i.resolutionResult.information,crossNavigation:{inbounds:this._getApplicationInbound(i)}},\"sap.ui\":{technology:\"GUI\",deviceTypes:i.deviceTypes},\"sap.flp\":{type:\"application\"},\"sap.gui\":{transaction:n}}};i._getWDAApp=function(e,t){return{\"sap.app\":{id:e,title:t.resolutionResult.text,subTitle:t.resolutionResult.information,crossNavigation:{inbounds:this._getApplicationInbound(t)}},\"sap.ui\":{technology:\"URL\",deviceTypes:t.deviceTypes},\"sap.url\":{uri:t.resolutionResult.url}}};i._getWCFApp=function(e,t){return{\"sap.app\":{id:e,title:t.resolutionResult.text,subTitle:t.resolutionResult.information,crossNavigation:{inbounds:this._getApplicationInbound(t)}},\"sap.ui\":{technology:\"URL\",deviceTypes:t.deviceTypes},\"sap.url\":{uri:t.resolutionResult.url}}};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/util/cdmSiteUtils\", [\"sap/ushell/adapters/cdm/util/AppForInbound\",\"sap/base/Log\",\"sap/ushell/adapters/cdm/v3/utilsCdm\"],(e,t,i)=>{\"use strict\";const s={_VISUALIZATION_TYPES:{STATIC_TILE:\"sap.ushell.StaticAppLauncher\",DYNAMIC_TILE:\"sap.ushell.DynamicAppLauncher\"}};s.getVisualizations=function(e){const t={};Object.keys(e).forEach(s=>{const a=e[s];let n;if(a.isCustomTile){n=a.vizType}else if(a.indicatorDataSource){n=this._VISUALIZATION_TYPES.DYNAMIC_TILE}else{n=this._VISUALIZATION_TYPES.STATIC_TILE}const o={vizType:n,vizConfig:{\"sap.app\":{title:a.title,subTitle:a.subTitle,info:a.info,tags:{keywords:a.keywords}},\"sap.ui\":{icons:{icon:a.icon}},\"sap.flp\":{tileSize:a.size,indicatorDataSource:a.indicatorDataSource,numberUnit:a.numberUnit,target:i.toTargetFromHash(a.url)}}};if(a.isCustomTile){o.vizConfig[\"sap.flp\"]._instantiationData=a._instantiationData}t[s]=o});return t};s.getApplications=function(i){return Object.keys(i).reduce((s,a)=>{const n=i[a];const o=n.permanentKey||n.id;try{s[o]=e.get(a,n)}catch(e){t.error(`Unable to dereference app '${a}' of CDM page.`);s[a]={}}return s},{})};s.getVizTypes=function(e){return Object.keys(e).reduce((t,i)=>{const s=e[i].id;if(!t[s]){t[s]={\"sap.app\":{id:s,type:\"chipVizType\"},\"sap.flp\":{vizOptions:e[i].vizOptions,tileSize:e[i].tileSize}}}return t},{})};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/AdapterBase\", [\"sap/ushell/adapters/cdm/v3/_LaunchPage/readHome\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils\",\"sap/m/GenericTile\",\"sap/ui/core/ComponentContainer\",\"sap/ushell/adapters/cdm/_LaunchPage/uri.transform\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/navigationMode\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/base/util/Version\",\"sap/ui/thirdparty/jquery\",\"sap/base/util/isPlainObject\",\"sap/base/util/isEmptyObject\",\"sap/base/util/ObjectPath\",\"sap/base/util/deepExtend\",\"sap/base/util/deepClone\",\"sap/base/Log\",\"sap/ushell/UI5ComponentType\",\"sap/ushell/Container\"],(e,t,i,o,r,n,s,l,a,u,p,c,d,jQuery,f,g,h,m,T,y,v,R)=>{\"use strict\";const _=y.getLogger(\"sap/ushell/adapters/cdm/LaunchPageAdapter\");const C=y.Level;const b=\"sap.ushell.components.tiles.cdm.applauncher\";const I=\"sap.ushell.components.tiles.cdm.applauncherdynamic\";function S(e,t,i){this.oAdapterConfiguration=i;this._mResolvedTiles={};this._mCatalogTilePromises={};this._mFailedResolvedCatalogTiles={};this._mFailedResolvedTiles={};this.TileType={Tile:\"tile\",Link:\"link\",Card:\"card\"}}S.prototype.getGroups=function(){const e=new jQuery.Deferred;this._ensureLoaded().then(t=>{p.setPerformanceMark(\"FLP - homepage groups processed\");e.resolve(t)}).catch(()=>{e.resolve([])});return e.promise()};S.prototype._ensureLoaded=function(){const t=this;if(this._loaded){return this._loaded}const i=new jQuery.Deferred;this._ensureLoadedDeferred=i;this._loaded=new Promise((i,o)=>{this._getSiteData().then(o=>{if(!t.isSiteSupported(o)){throw new Error(\"Invalid CDM site version: Check the configuration of the launchpage adapter and the version of the FLP site\")}let r=[];let n=e.getGroupsArrayFromSite(o);n=t._addDefaultGroup(n,o);n.forEach(e=>{r=t._ensureGroupItemsResolved(e,o).concat(r)});t._allPromisesDone(r).done(()=>{i(n);delete t._loaded;t._logTileResolutionFailures(t._mFailedResolvedTiles)})}).catch(e=>{_.error(`Delivering homepage groups failed - ${e}`);i([]);delete t._loaded})});return this._loaded};S.prototype._ensureGroupItemsResolved=function(e,t){const i=[];let o;let r;if(e.payload&&e.payload.tiles){o=this._ensureGroupTilesResolved(e.payload.tiles,t);Array.prototype.push.apply(i,o)}if(e.payload&&e.payload.links){r=this._ensureGroupLinksResolved(e.payload.links,t);Array.prototype.push.apply(i,r)}return i};S.prototype._ensureGroupTilesResolved=function(e,t){return(e||[]).map(function(e,i){return this._resolveGroupTile(e,t).then(e=>{e.isLink=false;return e})},this)};S.prototype._ensureGroupLinksResolved=function(e,t){return(e||[]).map(function(e){return this._resolveGroupTile(e,t).then(e=>{e.isLink=true;return e})},this)};S.prototype._resolveGroupTile=function(e,t){const i=this._mResolvedTiles;const o=this._mFailedResolvedTiles;let r;function n(t){i[e.id]=t;if(o[e.id]){delete o[e.id]}return t}function s(e){const t=e.target;return t&&t.semanticObject===\"Shell\"&&t.action===\"launchURL\"}if(i[e.id]){return(new jQuery.Deferred).resolve(i[e.id]).promise()}if(e.target&&e.target.url){r=jQuery.when(this._getTileForUrl(e))}else if(e.isBookmark&&e.vizType===undefined){r=this._resolveTileByIntent(e,t)}else if(s(e)){r=this._resolveTileByIntent(e,t)}else{r=this._resolveTileByVizId(e,t)}const l=new jQuery.Deferred;r.done(e=>{l.resolve(n(e))}).fail(t=>{o[e.id]=t;l.reject(t)});return l.promise()};S.prototype._resolveTileByVizId=function(o,r){let n;let l;let u;let d;let g;let h;let y;let v;function R(e,t){return(new jQuery.Deferred).reject({logLevel:e,message:t}).promise()}const _=new jQuery.Deferred;if(!f(r)){return R(C.ERROR,\"Cannot resolve tile: oSite must be an object\")}if(!f(o)){return R(C.ERROR,\"Cannot resolve tile: oTile must be an object\")}const b=o.vizId;const I=T(t.get(r,b||\"\")||{});const S=o.vizType||t.getTypeId(I);const D=t.getType(r,S);if(!D){return R(C.ERROR,`Cannot resolve tile '${o.id}': no visualization type found for vizTypeId '${S}'`)}const L=t.getAppId(I);if(L){n=t.getAppDescriptor(r,L);if(!n){return R(C.INFO,`Tile '${o.id}' filtered from result: no app descriptor found for appId '${L}' (dangling app reference)`)}l=e.getInbound(n,t.getTarget(I).inboundId);if(!l){return R(C.ERROR,`Cannot resolve tile '${o.id}': app '${L}' has no navigation inbound`)}u=c.mapOne(l.key,l.inbound,n,I,D,r);const p=u.resolutionResult.applicationType;const f=u.resolutionResult.additionalInformation;const m=s.last(\"/core/navigation/enableInPlaceForClassicUIs\");const T=m?m[p]:false;d=a.computeNavigationModeForHomepageTiles(p,f,T);h=t.getOutbound(I,l.inbound);v=i.harmonizeTarget(h);g=this._toHashFromOutbound(v)}else{I.vizConfig=m({},I.vizConfig,o.vizConfig);u=c.mapOne(undefined,undefined,undefined,I,D,r);if(t.startsExternalUrl(I)){y=p.getMember(I.vizConfig,\"sap|flp.target.url\")}}const w=u.tileResolutionResult;w.navigationMode=d;w.isLink=false;if(!this._isFormFactorSupported(w)){return R(C.INFO,`Tile '${o.id}' filtered from result: form factor not supported`)}if(y||g){_.resolve({tileResolutionResult:w,tileIntent:y||g})}else{if(o.target){const e=T(o.target);g=c.toHashFromTarget(i.harmonizeTarget(e))}_.resolve({tileResolutionResult:w,tileIntent:g})}return _.promise()};S.prototype._isFormFactorSupported=function(t){const i=p.getFormFactor();return e.supportsFormFactor(t,i)};S.prototype._getFirstInbound=function(e){const t=Object.keys(e[\"sap.app\"].crossNavigation.inbounds).shift();const i=e[\"sap.app\"].crossNavigation.inbounds[t];return{key:t,inbound:i}};S.prototype._resolveTileByIntent=function(e){const t=this._prepareTileHash(e);return this._getTileFromHash(t)};S.prototype._allPromisesDone=function(e){const t=new jQuery.Deferred;if(e.length===0){t.resolve([])}else{const i=e.map(e=>{const t=new jQuery.Deferred;e.always(t.resolve.bind(t));return t.promise()});jQuery.when.apply(this,i).done(function(){const e=Array.prototype.slice.call(arguments);t.resolve(e)})}return t.promise()};S.prototype._logTileResolutionFailures=function(e){const t={};if(!e){return}Object.keys(C).filter(e=>{const t=C[e];return t>=C.FATAL&&t<=C.ALL}).forEach(e=>{t[C[e]]=\"\"});Object.keys(e).forEach(i=>{const o=e[i];if(o.logLevel){t[o.logLevel]=t[o.logLevel].concat(o.message).concat(\"\\n\")}});if(t[C.FATAL]){_.fatal(t[C.FATAL])}if(t[C.ERROR]){_.error(t[C.ERROR])}if(t[C.WARNING]){_.warning(t[C.WARNING])}if(t[C.INFO]){_.info(t[C.INFO])}if(t[C.DEBUG]){_.debug(t[C.DEBUG])}if(t[C.TRACE]){_.trace(t[C.TRACE])}};S.prototype._isValidTitle=function(e){return typeof e===\"string\"&&e};S.prototype._isGroupPreset=function(t){return e.isGroupPreset(t)};S.prototype._isGroupLocked=function(t){return e.isGroupLocked(t)};S.prototype.getGroupTitle=function(t){return e.getGroupTitle(t)};S.prototype.getGroupId=function(t){return e.getGroupId(t)};S.prototype.isGroupVisible=function(t){return e.isGroupVisible(t)};S.prototype.getTileTitle=function(t){return e.getTileTitle(this._mResolvedTiles,t)};S.prototype.getTileContentProviderId=function(t){return e.getContentProviderId(t)};S.prototype.getTileSubtitle=function(t){return e.getTileSubtitle(this._mResolvedTiles,t)};S.prototype.getTileIcon=function(t){return e.getTileIcon(this._mResolvedTiles,t)};S.prototype.getTileInfo=function(t){return e.getTileInfo(this._mResolvedTiles,t)};S.prototype.getTileIndicatorDataSource=function(e){const t=this._mResolvedTiles[e.id];const i={};if(e.indicatorDataSource){i.indicatorDataSource=m({},e.indicatorDataSource);if(e.dataSource){i.dataSource=m({},e.dataSource)}return i}if(!t){return i}const o=t.tileResolutionResult;if(o.indicatorDataSource){i.indicatorDataSource=m({},o.indicatorDataSource);if(o.indicatorDataSource.hasOwnProperty(\"dataSource\")){const e=o.indicatorDataSource.dataSource;const r=o.dataSources;if(r&&r.hasOwnProperty(e)){i.dataSource=m({},r[e])}else{y.warning(`datasource referenced but not found for tile: ${t.tileIntent}`)}}if(p.getMember(o,\"runtimeInformation.componentProperties.url\")){const e=p.getMember(i,\"indicatorDataSource.path\");const t=p.getMember(i,\"dataSource.uri\");const r=p.getMember(o,\"runtimeInformation.componentProperties.url\");const s=n(e,t,r,this.getWindowLocationHref());if(!s.error){if(e){i.indicatorDataSource.path=s.uri}if(t){i.dataSource.uri=s.uriParent}}}}return i};S.prototype.getWindowLocationHref=function(){return window.location.href};S.prototype.isGroupRemovable=function(e){return!this._isGroupPreset(e)};S.prototype.isGroupLocked=function(e){return this._isGroupLocked(e)};S.prototype.getGroupTiles=function(t){return e.getGroupTiles(t).concat(e.getGroupLinks(t))};S.prototype.getTileType=function(t){if(e.isLink(this._mResolvedTiles,t)){return this.TileType.Link}if(e.isCard(this._mResolvedTiles,t)){return this.TileType.Card}return this.TileType.Tile};S.prototype.getTileId=function(t){return e.getTileId(t)};S.prototype.getTileSize=function(t){return e.getTileSize(this._mResolvedTiles,t)||\"1x1\"};S.prototype.getTileTarget=function(t){const i=e.getTileId(t);const o=this._mResolvedTiles[i];if(t.target&&t.target.url){return t.target.url}if(o){return o.tileIntent}y.warning(`Could not find a target for Tile with id '${i}'`,\"sap.ushell.adapters.cdm.LaunchPageAdapter\");return\"\"};S.prototype.isTileIntentSupported=function(e){return this._mFailedResolvedTiles[e.id]===undefined};S.prototype.setTileVisible=function(e,t){const i=this._mResolvedTiles[e.id];if(i){if(i.tileComponent){this._notifyTileAboutVisibility(i.tileComponent,t,i.visibility)}i.visibility=t}};S.prototype.getCardManifest=function(e){const t=this._mResolvedTiles[e.id];const i=t.tileResolutionResult;return i.tileComponentLoadInfo};S.prototype._getTileUiComponentContainer=function(e,t,i){const n=this;let s;let a;let p;let c;let d;let f;const g=new jQuery.Deferred;R.getServiceAsync(\"Ui5ComponentLoader\").then(o=>{a=o;const r=this._createTileComponentData(e,i,t);return r}).then(t=>this._enhanceTileComponentData(e,t)).then(h=>{s=t.tileResolutionResult;if(t.isLink){p=s.navigationMode;g.resolve(n._createLinkInstance(e,i,p,o,u));return}const m=this._createTileComponentProperties(h,s.tileComponentLoadInfo);if(!m.name){return Promise.reject(`Cannot find name of tile component for tile with id: '${e.id}'`)}if(m.manifest){h.properties=h.properties||{};h.properties.manifest=m.manifest}f=this._isCustomTileComponent(m.name);function T(t){let o;c=t.componentHandle.getInstance();d=new r({component:c,height:\"100%\"});if(!i){o=n._mResolvedTiles[e.id];o.tileComponent=c;if(typeof o.visibility===\"boolean\"){n._notifyTileAboutVisibility(c,o.visibility)}}return d}function y(){const e=new jQuery.Deferred;a.createComponent({loadCoreExt:f,loadDefaultDependencies:false,componentData:h,url:m.url,applicationConfiguration:{},reservedParameters:{},applicationDependencies:m,ui5ComponentName:m.name},{},[],v.Visualization).then(t=>{const i=T(t);e.resolve(i)}).catch(t=>{e.reject(t)});return e.promise()}if(f){l.once(\"CoreResourcesComplementLoaded\").do(()=>{y().then(e=>{g.resolve(e)}).fail(e=>{g.reject(e)})})}else{y().then(e=>{g.resolve(e)}).fail(e=>{g.reject(e)})}}).catch(e=>{g.reject(e)});return g.promise()};S.prototype._createTileComponentProperties=function(e,t){let i={};if(!t||g(t)){if(e.properties.indicatorDataSource&&e.properties.indicatorDataSource.path){i.name=I}else{i.name=b}}else{i=t.componentProperties||{};i.name=t.componentName}return i};S.prototype.getTileView=function(e){const t=this;return new jQuery.Deferred(i=>t._getTileView(e,false).then(e=>{i.resolve(e)},t=>{const o=`Tile with ID '${e.id}' could not be initialized${t?`:\\n${t}`:\".\"}`;y.error(o,null,e.tileType);i.reject(o)})).promise()};S.prototype._getTileView=function(e){let t;const i=new jQuery.Deferred;if(typeof e!==\"object\"||!e.id){t=`Invalid input parameter passed to _getTileView: ${e}`;y.error(t);return i.reject(t).promise()}const o=this._mResolvedTiles[e.id];if(!o){t=`No resolved tile found for tile ID: ${e.id}`;y.error(t);return i.reject(t).promise()}return this._getTileUiComponentContainer(e,o,false)};S.prototype._createTileComponentData=function(e,t,i){const o=t?this.getCatalogTileTitle(e):this.getTileTitle(e);const r=t?this.getCatalogTilePreviewSubtitle(e):this.getTileSubtitle(e);const n=t?this.getCatalogTilePreviewIcon(e):this.getTileIcon(e);const s=t?this.getCatalogTilePreviewInfo(e):this.getTileInfo(e);const l=t?this.getCatalogTileTargetURL(e):this.getTileTarget(e);const a=this.getTileIndicatorDataSource(e);const u=e.numberUnit||i.tileResolutionResult&&i.tileResolutionResult.numberUnit;const p={properties:{},startupParameters:{}};if(i.tileResolutionResult&&i.tileResolutionResult.isCustomTile===true&&i.tileResolutionResult.startupParameters){p.startupParameters=i.tileResolutionResult.startupParameters}if(o){p.properties.title=o}if(s){p.properties.info=s}if(r){p.properties.subtitle=r}if(n){p.properties.icon=n}if(l){p.properties.targetURL=l}if(u){p.properties.numberUnit=u}if(a.indicatorDataSource){p.properties.indicatorDataSource=a.indicatorDataSource;if(a.dataSource){p.properties.dataSource=a.dataSource}}if(i.tileResolutionResult){p.properties.navigationMode=i.tileResolutionResult.navigationMode;p.properties.contentProviderId=i.tileResolutionResult.contentProviderId||\"\"}return p};S.prototype._enhanceTileComponentData=function(e,t){let i=Promise.resolve();const o=this.getTileContentProviderId(e);if(o){i=R.getServiceAsync(\"ClientSideTargetResolution\").then(e=>e.getSystemContext(o)).then(e=>{t.properties.indicatorDataSource.path=e.getFullyQualifiedXhrUrl(t.properties.indicatorDataSource.path)}).catch(()=>{y.error(\"System Context not available\")})}return i.then(()=>t)};S.prototype._isGroupTile=function(t){return e.isGroupTile(t)};S.prototype._isCatalogTile=function(e){return!!(e&&e.isCatalogTile)};S.prototype._isFailedGroupTile=function(t){return!!(t&&this._mFailedResolvedTiles&&this._mFailedResolvedTiles[e.getTileId(t)])};S.prototype.getCatalogTileId=function(e){if(this._isGroupTile(e)){if(this._isFailedGroupTile(e)){return undefined}if(e.isBookmark&&h.get(\"target.url\",e)){return e.target.url}return e.vizId||e.target&&e.target.url}if(this._isCatalogTile(e)){return e.id}return undefined};S.prototype.getCatalogTilePreviewTitle=function(e){if(this._isGroupTile(e)){return this.getTileTitle(e)}return e.tileResolutionResult&&e.tileResolutionResult.title||\"\"};S.prototype.getCatalogTileTargetURL=function(e){if(!e){throw new Error(\"The given tile is falsy\")}if(this._isCatalogTile(e)){if(e.tileResolutionResult&&e.tileResolutionResult.isCustomTile){if(!e.tileResolutionResult.targetOutbound){return\"\"}return this._toHashFromOutbound(e.tileResolutionResult.targetOutbound)}return e.tileIntent||\"\"}return this.getTileTarget(e)};S.prototype.isGroupFeatured=function(e){return!!e.isFeatured};S.prototype._getMember=function(e,t){return p.getMember(e,t)};S.prototype.getCdmVersionsSupported=function(){return{min:new d(\"3.0.0\"),max:new d(\"3.1.0\")}};S.prototype.isSiteSupported=function(e){if(!e._version||new d(e._version).compareTo(this.getCdmVersionsSupported().min)<0||new d(e._version).compareTo(this.getCdmVersionsSupported().max)>0){y.fatal(\"Invalid CDM site version: Only version 3.0.0 is supported\");return false}return true};S.prototype._isCustomTileComponent=function(e){return!(e===b||e===I)};return S});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter\", [\"sap/ushell/adapters/cdm/v3/_LaunchPage/readHome\",\"sap/ushell/adapters/cdm/_LaunchPage/modifyHome\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs\",\"sap/m/library\",\"sap/ushell/utils\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/ushell/components/tiles/utils\",\"sap/ushell/adapters/cdm/v3/AdapterBase\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications\",\"sap/ushell/navigationMode\",\"sap/ushell/Config\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/jquery\",\"sap/base/util/deepExtend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,i,o,r,n,s,l,a,u,c,d,f,p,h,jQuery,g,m,v,T,b,R)=>{\"use strict\";const y=o.GenericTileMode;const S=\"sap.ushell.components.tiles.cdm.applauncher\";const C=\"sap.ushell.components.tiles.cdm.applauncherdynamic\";function _(o,_,k){u.call(this,o,_,k);this.oCDMServicePromise=R.getServiceAsync(\"CommonDataModel\");Promise.all([R.getServiceAsync(\"URLParsing\"),this.oCDMServicePromise]).then(e=>{this.oURLParsingService=e[0];this.oCDMService=e[1]});this._getTileFromHashInContextOfSite=function(e,t,i){const o=new jQuery.Deferred;let r=t[i];if(!r){r=e(i);t[i]=r}r.done(e=>{const t={tileIntent:i,tileResolutionResult:e};o.resolve(t)}).fail(e=>{o.reject(`Hash '${i}' could not be resolved to a tile. ${e}`)});return o.promise()};this._getTileFromHash=function(e){const t=new jQuery.Deferred;R.getServiceAsync(\"ClientSideTargetResolution\").then(i=>{function o(...e){const t=new jQuery.Deferred;i.resolveTileIntent(...e).then(e=>{t.resolve(e)}).catch(e=>{t.reject(e)});return t.promise()}this._getTileFromHashInContextOfSite(o,this._mCatalogTilePromises,e).done(t.resolve).fail(t.reject)});return t.promise()};this._getTileForUrl=function(e){const t={componentName:e.indicatorDataSource?C:S};return{tileIntent:\"#\",tileResolutionResult:{tileComponentLoadInfo:t,isCustomTile:false}}};this._prepareTileHash=function(e){const t={};if(this._isCatalogTile(e)){return e.tileIntent}if(this._isGroupTile(e)&&e.target){const i=e.target.parameters||[];i.forEach(e=>{if(e.name&&e.value){t[e.name]=[e.value]}});const o={target:{semanticObject:e.target.semanticObject,action:e.target.action},params:t,appSpecificRoute:e.target.appSpecificRoute};return`#${s.constructShellHash(o)}`}return undefined};this.getDefaultGroup=function(){const e=new jQuery.Deferred;let t;const i=this;if(!this._oDefaultGroup){t=this._ensureLoaded()}if(t){t.then(()=>{e.resolve(i._oDefaultGroup)}).catch(t=>{e.reject(`Failed to access default group. ${t}`)})}else{e.resolve(i._oDefaultGroup)}return e.promise()};this.addGroup=function(i){const o=new jQuery.Deferred;let n;const s=this;if(!this._isValidTitle(i)){return o.reject(\"No valid group title\").promise()}const l=`Failed to add the group with title '${i}' to the homepage. `;this.oCDMService.getSite().done(l=>{n=r.generateUniqueId(e.getGroupIdsFromSite(l));t.addGroupToSite(l,t.createEmptyGroup(n,i));s.oCDMService.save().done(()=>{delete s._ensureLoadedDeferred;o.resolve(l.groups[n],n)}).fail(e=>{o.reject(e)})}).fail(e=>{o.reject(l+e)});return o.promise()};this.setGroupTitle=function(i,o){const r=this;const n=new jQuery.Deferred;if(typeof i!==\"object\"||!e.getGroupId(i)){return n.reject(\"Unexpected group value\").promise()}if(!r._isValidTitle(o)){return n.reject(\"Unexpected oGroup title value\").promise()}const s=`Failed to set new title for group with id '${e.getGroupId(i)}'. `;const l=e.getGroupTitle(i);this.oCDMService.getSite().done(e=>{if(i){t.setGroupTitle(i,o)}r.oCDMService.save().done(()=>{n.resolve()}).fail(e=>{T.error(e);n.reject(l)})}).fail(e=>{n.reject(l,s+e)});return n.promise()};this.hideGroups=function(i){const o=new jQuery.Deferred;const r=this.oCDMService;if(i&&Array.isArray(i)){const n=\"Failed to hide group. \";r.getSite().done(n=>{e.getGroupsArrayFromSite(n).forEach(o=>{const r=Array.prototype.indexOf.call(i,e.getGroupId(o))===-1;t.setGroupVisibility(o,r)});r.save().done(()=>{o.resolve()}).fail(e=>{o.reject(`Hiding of groups did not work as expected - ${e}`)})}).fail(e=>{o.reject(n+e)})}else{o.reject(\"Invalid input parameter aHiddenGroupIds. Please pass a valid input parameter.\")}return o.promise()};this.moveGroup=function(i,o){const n=new jQuery.Deferred;const s=this.oCDMService;if(!i||!e.getGroupId(i)||o<0){return n.reject(\"Unable to move groups - invalid parameters\").promise()}const l=`Failed to move group with id '${i.identification.id}'. `;s.getSite().done(l=>{const a=e.getGroupIdsFromSite(l);const u=e.getGroupId(i);if(!a){return n.reject(\"groupsOrder not found - abort operation of adding a group.\")}if(a.indexOf(u)===o){return n.resolve()}const c=r.moveElementInsideOfArray(a,a.indexOf(u),o);if(!c){return n.reject(\"invalid move group operation - abort.\")}t.setGroupsOrder(l,c);s.save().done(()=>{n.resolve()}).fail(e=>{n.reject(e)});return undefined}).fail(e=>{n.reject(l+e)});return n.promise()};this.removeGroup=function(i){const o=new jQuery.Deferred;const r=this.oCDMService;if(typeof i!==\"object\"){return o.reject(\"invalid group parameter\").promise()}const n=e.getGroupId(i);if(!n){return o.reject(\"group without id given\").promise()}const s=`Failed to remove group with id '${n}'. `;r.getSite().done(e=>{t.removeGroupFromSite(e,i);r.save().done(()=>{o.resolve()}).fail(e=>{o.reject(e)})}).fail(e=>{o.reject(s+e)});return o.promise()};this.resetGroup=function(i){const o=new jQuery.Deferred;const r=this.oCDMService;const n=[];const s=this;if(typeof i===\"object\"&&e.getGroupId(i)){const l=e.getGroupId(i);const a=`Failed to reset group with id '${l}'. `;r.getSite().done(a=>{g(n,e.getGroupsArrayFromSite(a));if(s.isGroupRemovable(i)===false){r.getGroupFromOriginalSite(l).done(i=>{if(typeof a===\"object\"&&e.getGroupFromSite(a,l)){t.overwriteGroup(a,i,l)}r.save().done(()=>{o.resolve(i)}).fail(e=>{o.reject(`Group could not be reset - ${e}`,n)})}).fail(e=>{o.reject(`Group could not be reset - ${e}`,n)})}else{o.reject(\"Group could not be reset as it was created by the user\",n)}}).fail(e=>{o.reject(a+e,[])})}return o.promise()};this.getLinkTiles=function(t){return e.getGroupLinks(t)};this.isLinkPersonalizationSupported=function(){return true};this._notifyTileAboutRefresh=function(e){if(typeof e.tileRefresh===\"function\"){e.tileRefresh()}};this.refreshTile=function(e){const t=this._mResolvedTiles[e.id];if(t){if(t.tileComponent){this._notifyTileAboutRefresh(t.tileComponent)}}};this._notifyTileAboutVisibility=function(e,t,i){if(typeof e.tileSetVisible===\"function\"&&i!==t){e.tileSetVisible(t)}};this.getTileView=function(e){const t=this;return new jQuery.Deferred(i=>t._getTileView(e,false).then(e=>{i.resolve(e)},t=>{const o=`Tile with ID '${e.id}' could not be initialized${t?`:\\n${t}`:\".\"}`;T.error(o,null,e.tileType);i.reject(o)})).promise()};this._getCatalogTileViewControl=function(e){const t=new jQuery.Deferred;if(typeof e!==\"object\"){const i=`Invalid input parameter passed to _getCatalogTileView: ${e}`;T.error(i);return t.reject(i).promise()}return this._getTileUiComponentContainer(e,e,true)};this._createLinkInstance=function(e,t,i,o,r){let s;const l=this.getTileSubtitle(e);const a=o;if(t===true){s=this.getCatalogTileTitle(e)}else{s=this.getTileTitle(e)}const u=new a({mode:y.LineMode,subheader:l,header:s,url:n.getLeanURL(this.getTileTarget(e)),press:function(t){this._genericTilePressHandler(e,t)}.bind(this)});if(i){const e=r.i18n.getText(`${i}NavigationMode`);u.setAriaLabel(`${e} ${s} ${l}`)}this._mResolvedTiles[e.id].linkTileControl=u;return u};this._genericTilePressHandler=function(e,t){let i;if(t.getSource().getScope&&t.getSource().getScope()===\"Display\"){i=this.getTileTarget(e);if(i){b.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:i}});if(i[0]===\"#\"){hasher.setHash(i)}else{n.openURL(i,\"_blank\")}}}};function I(e,t,i){t=g({},t);if(i){e.target=i}if(t.title||t.title===\"\"){e.title=t.title}if(t.icon||t.icon===\"\"){e.icon=t.icon}if(t.subtitle||t.subtitle===\"\"){e.subTitle=t.subtitle}if(t.info||t.info===\"\"){e.info=t.info}if(t.numberUnit||t.numberUnit===\"\"){e.numberUnit=t.numberUnit}if(t.dataSource){e.dataSource={type:t.dataSource.type,settings:{odataVersion:v.get([\"dataSource\",\"settings\",\"odataVersion\"],t)}}}if(t.serviceUrl){e.indicatorDataSource={path:t.serviceUrl}}if(e.indicatorDataSource&&(t.serviceRefreshInterval||t.serviceRefreshInterval===0)){e.indicatorDataSource.refresh=t.serviceRefreshInterval}if(t.vizConfig){e.vizConfig=t.vizConfig}}function j(e,t){const i={id:r.generateUniqueId([])};I(i,e,t);return i}this.addTile=function(e,t){const i=new jQuery.Deferred;const o=this.oCDMService;if(!t){t=this._oDefaultGroup}const r=j();r.vizId=e.vizId;this._mResolvedTiles[r.id]={tileIntent:e.tileIntent,tileResolutionResult:e.tileResolutionResult,isLink:false};o.getSite().done(e=>{e.groups[t.identification.id].payload.tiles.push(r);o.save().done(()=>{i.resolve(r)}).fail(e=>{i.reject(e)})}).fail(e=>{const o=`Failed to add tile with id '${r.id}' to group with id '${t.identification.id}'. `;i.reject(o+e)});return i.promise()};this.removeTile=function(e,t,i){const o=this.oCDMService;const r=new jQuery.Deferred;const n=this;if(!e||typeof e!==\"object\"||!e.identification||!e.identification.id||!t||typeof t!==\"object\"||!t.id){return r.reject({},\"Failed to remove tile. No valid input parameters passed to removeTile method.\").promise()}const s=`Failed to remove tile with id '${t.id}' from group with id '${e.identification.id}'. `;o.getSite().done(l=>{let a;i=+i;try{a=l.groups[e.identification.id].payload}catch(t){r.reject(l.groups[e.identification.id],s)}const u=n.getTileType(t)===n.TileType.Link?\"links\":\"tiles\";if(n.getTileType(t)===n.TileType.Link){i-=a.tiles.length}if(i>=0){a[u].splice(i,1)}else{a[u]=a[u].filter(e=>e.id!==t.id)}o.save().done(()=>{r.resolve()}).fail(t=>{T.error(t);r.reject(l.groups[e.identification.id],t)})}).fail(e=>{r.reject({},s+e)});return r.promise()};this.moveTile=function(e,t,i,o,r,n){const s=new jQuery.Deferred;const l=this.oCDMService;const a=this;if(!e||m(e)||t===undefined||t<0||i===undefined||i<0||!o||!o.identification||!o.identification.id||!r||!r.identification||!r.identification.id){return s.reject(\"Invalid input parameters\").promise()}const u=`Failed to move tile with id '${e.id}'. `;l.getSite().done(c=>{const d=a.getTileType(e)===a.TileType.Link?\"links\":\"tiles\";if(!n){n=a._mResolvedTiles[e.id].isLink?\"link\":\"tile\"}const f=n===\"link\"?\"links\":\"tiles\";if(d!==f&&a._mResolvedTiles[e.id]){a._mResolvedTiles[e.id].isLink=n===\"link\"}if(f===\"links\"){i-=c.groups[r.identification.id].payload.tiles.length}if(d===\"links\"){t-=c.groups[o.identification.id].payload.tiles.length}if(o.identification.id===r.identification.id){if(t!==i||d!==f){const o=c.groups[r.identification.id].payload;o[d].splice(t,1);o[f].splice(i,0,e)}else{return s.resolve(e).promise()}}else{c.groups[o.identification.id].payload[d].splice(t,1);c.groups[r.identification.id].payload[f].splice(i,0,e)}l.save().done(()=>{s.resolve(e)}).fail(e=>{T.error(u+e);s.reject(u+e)});return undefined}).fail(e=>{T.error(u+e);s.reject(u+e)});return s.promise()};this._compareCatalogs=function(e,t){return(e.identification.title||\"\").toLowerCase()>(t.identification.title||\"\").toLowerCase()?1:-1};this.getCatalogs=function(){const e=this;const t=new jQuery.Deferred;const i=[];function o(e,t,i,o){const r=e.catalogs[t];i.push(r);o.notify(r)}R.getServiceAsync(\"CommonDataModel\").then(r=>{r.getSite().done(r=>{Object.keys(r.catalogs).forEach(e=>{o(r,e,i,t)});t.resolve(i.sort(e._compareCatalogs))})});return t.promise()};this._isStartableInbound=function(e){if(!e.semanticObject||!e.action){return false}const t=[\"Shell-plugin\",\"Shell-bootConfig\"];if(t.indexOf(`${e.semanticObject}-${e.action}`)>-1){return false}return true};this._isStartableVisualization=function(e,t){const i=v.get(\"signature.parameters\",t);if(!i){return true}const o=v.get(\"parameters\",c.getTarget(e));return Object.keys(i).every(e=>{const t=i[e];if(e===\"sap-external-url\"){return true}if(!t.filter||t.filter.format!==\"plain\"){return true}const r=t.filter.value;const n=v.get([e,\"value\",\"value\"],o);if(r!==n){return false}return true})};this._isHiddenInbound=function(e){return!!e.hideLauncher};this._toHashFromInbound=function(e){const t=l.toHashFromInbound(e);if(!t){return undefined}return`#${t}`};this._getExternalUrlFromInbound=function(e){return v.get(\"signature.parameters.sap-external-url.launcherValue.value\",e)||null};this._toHashFromOutbound=function(e){const t=l.toHashFromOutbound(e);if(!t){return undefined}return`#${t}`};function D(t,i){const o=this;const n=new jQuery.Deferred;setTimeout(()=>{const s=(t.payload&&t.payload.viz||[]).reduce((n,s)=>{let a;let u;let h;let g;let m;let v;let T;let b;let R;let y;let S;let C;if(!s){return n}const _=c.get(i,s);if(!_){return n}const k=c.getTypeId(_);const I=c.getType(i,k);const j=c.getAppId(_);if(j){a=c.getAppDescriptor(i,j);if(!a){return n}u=e.getInbound(a,c.getTarget(_).inboundId);if(!u){return n}if(!o._isStartableInbound(u.inbound)||!o._isStartableVisualization(_,u.inbound)||o._isHiddenInbound(u.inbound)){return n}g=l.mapOne(u.key,u.inbound,a,_,I,i);if(!g||!g.tileResolutionResult){return n}b=g.resolutionResult.applicationType;R=g.resolutionResult.additionalInformation;S=p.last(\"/core/navigation/enableInPlaceForClassicUIs\");y=S?S[b]:false;m=f.computeNavigationModeForHomepageTiles(b,R,y);v=c.getOutbound(_,u.inbound);h=o._toHashFromOutbound(v);C=d.getTechnicalAttributes(a)}else{const e=c.getConfig(_);if(e===undefined){return n}g=l.mapOne(undefined,undefined,undefined,_,I,i);if(r.getMember(e,\"sap|flp.target.type\")===\"URL\"){T=r.getMember(e,\"sap|flp.target.url\")}}const D=g.tileResolutionResult;D.navigationMode=m;D.technicalAttributes=C;if(!o._isFormFactorSupported(D)){return n}if(t.contentProviderId){T=o._getMember(a,\"sap|app.crossNavigation.inbounds.Shell-launchURL.signature.parameters.sap-external-url.launcherValue.value\")}const w={id:s,vizId:s,tileIntent:T||h,tileResolutionResult:D,isCatalogTile:true};if(t.contentProviderId&&T){w.contentProviderId=t.contentProviderId;w.externalUrl=T}n.push(w);return n},[]);n.resolve(s)},0);return n.promise()}this.getCatalogTiles=function(e){const t=this;const i=new jQuery.Deferred;if(typeof e!==\"object\"||e===null){return i.reject(`Invalid input parameter '${e}' passed to getCatalogTiles.`).promise()}this.oCDMServicePromise.then(o=>{o.getSite().done(o=>{D.call(t,e,o).done(i.resolve).fail(i.reject)}).fail(e=>{i.reject(`Failed to get site: ${e}`)})});return i.promise()};this.getCatalogError=function(e){if(e.error){return e.error}return undefined};this.getCatalogId=function(e){return i.getId(e)};this.getCatalogTitle=function(e){return i.getTitle(e)};this._isFailedCatalogTile=function(t){return!!(t&&this._mFailedResolvedCatalogTiles&&this._mFailedResolvedCatalogTiles[e.getTileId(t)])};this.getCatalogTileTitle=function(e){if(this._isGroupTile(e)){if(this._isFailedGroupTile(e)){return\"\"}return this._mResolvedTiles[e.id].tileResolutionResult.title}if(this._isCatalogTile(e)){if(this._isFailedCatalogTile(e)){return undefined}return e.tileResolutionResult.title}return undefined};this.getCatalogTileContentProviderId=function(e){return e.tileResolutionResult.contentProviderId||\"\"};this.getCatalogTileSize=function(e){return e.tileResolutionResult.size||\"1x1\"};this.getCatalogTileViewControl=function(e){return this._getCatalogTileViewControl(e)};this.getCatalogTilePreviewSubtitle=function(e){if(this._isGroupTile(e)){return this.getTileSubtitle(e)}return e.tileResolutionResult&&e.tileResolutionResult.subTitle||\"\"};this.getCatalogTilePreviewIcon=function(e){if(this._isGroupTile(e)){return this.getTileIcon(e)}return e.tileResolutionResult&&e.tileResolutionResult.icon||\"\"};this.getCatalogTilePreviewInfo=function(e){if(this._isGroupTile(e)){return this.getTileInfo(e)}return e.tileResolutionResult&&e.tileResolutionResult.info||\"\"};this.getCatalogTilePreviewIndicatorDataSource=function(e){return e.tileResolutionResult&&e.tileResolutionResult.indicatorDataSource};this.getCatalogTileKeywords=function(e){const t=[];let i=e;if(!i){T.error(\"Could not find the Tile\",\"sap.ushell.adapters.cdm.LaunchPageAdapter\");return t}if(this._mResolvedTiles&&this._mResolvedTiles[e.id]){i=this._mResolvedTiles[e.id]}if(i&&i.tileResolutionResult&&Array.isArray(i.tileResolutionResult.keywords)){Array.prototype.push.apply(t,i.tileResolutionResult.keywords)}if(i&&i.tileResolutionResult&&i.tileResolutionResult.title){t.push(i.tileResolutionResult.title)}if(i&&i.tileResolutionResult&&i.tileResolutionResult.subTitle){t.push(i.tileResolutionResult.subTitle)}return t};this.getCatalogTileTechnicalAttributes=function(e){const t=[];let i=e;if(!i){T.error(\"Could not find the Tile\",\"sap.ushell.adapters.cdm.LaunchPageAdapter\");return[]}if(this._mResolvedTiles&&this._mResolvedTiles[e.id]){i=this._mResolvedTiles[e.id]}if(i&&i.tileResolutionResult&&Array.isArray(i.tileResolutionResult.technicalAttributes)){Array.prototype.push.apply(t,i.tileResolutionResult.technicalAttributes)}return t};function w(e){return Object.keys(e).map(t=>{const i=e[t]&&e[t][0];return{name:t,value:i||\"\"}})}function G(e){const t={semanticObject:e.semanticObject,action:e.action,parameters:w(e.params)};if(e.appSpecificRoute){t.appSpecificRoute=e.appSpecificRoute}return t}function P(e){return{url:e}}function F(e){return e.map(e=>e.name+e.value).sort().join()}function A(e,t){e=e||[];t=t||[];if(e.length===t.length){const i=F(e);const o=F(t);return i===o}return false}function L(e,t){if(e&&t){if(e.url){return e.url===t.url}return e.semanticObject===t.semanticObject&&e.action===t.action&&A(e.parameters,t.parameters)&&e.appSpecificRoute===t.appSpecificRoute}return e===t}this._visitBookmarks=function(e,t,i,o){let r;const n=s.parseShellHash(e);if(n){r=G(n)}else{r=P(e)}return this.oCDMService.getSite().then(e=>{const n=e.groups;const s=Object.keys(n).filter(e=>!n[e].payload.locked).map(e=>n[e].payload.tiles.filter(e=>e.isBookmark&&e.vizType===i&&(e.contentProvider||\"\")===(o||\"\")&&L(r,e.target))).reduce((e,t)=>{Array.prototype.push.apply(e,t);return e},[]);if(!t){return s.length}return jQuery.when(s.map(t)).then(()=>s.length)})};function M(e,t,i){const o=j(e,t);o.isBookmark=true;if(i){o.contentProvider=i}return o}this.addBookmark=function(e,t,i){const o=this;return new jQuery.Deferred(r=>{const n=o.oCDMService;jQuery.when(t||o.getDefaultGroup(),n.getSite()).done((t,l)=>{let a;const u=s.parseShellHash(e.url);let c;let d=false;if(!u){a=P(e.url);d=true}else{a=G(u)}const f=M(e,a,i);if(d){c=new jQuery.Deferred;c.resolve(o._getTileForUrl(f))}else{c=o._getTileFromHash(e.url)}c.done(e=>{e.isLink=false;o._mResolvedTiles[f.id]=e;l.groups[t.identification.id].payload.tiles.push(f);n.save().done(()=>{r.resolve(f)}).fail(e=>{r.reject(e)})}).fail(e=>{r.reject(`Bookmark creation failed because: ${e}`)})}).fail(e=>{r.reject(e)})}).promise()};this.addCustomBookmark=function(e,t,i){const o=new jQuery.Deferred;Promise.all([R.getServiceAsync(\"URLParsing\"),R.getServiceAsync(\"CommonDataModel\")]).then(n=>{const s=n[0];const l=n[1];jQuery.when(t||this.getDefaultGroup(),l.getSite()).done((t,n)=>{const a=s.parseShellHash(e.url);const u=a===undefined;const c=u?P(e.url):G(a);const d={id:r.generateUniqueId([]),vizType:e.vizType,title:e.title,subTitle:e.subtitle,icon:e.icon,info:e.info,numberUnit:e.numberUnit,target:c,indicatorDataSource:{path:e.serviceUrl,refresh:e.serviceRefreshInterval},vizConfig:e.vizConfig,isBookmark:true};if(i){d.contentProvider=i}this._resolveTileByVizId(d,n).done(e=>{e.isLink=false;this._mResolvedTiles[d.id]=e;n.groups[t.identification.id].payload.tiles.push(d);l.save().done(()=>{o.resolve(d)}).fail(o.reject)}).fail(e=>{o.reject(`Bookmark creation failed because: ${e}`)})}).fail(o.reject)});return o.promise()};this.countBookmarks=function(e,t){return this._visitBookmarks(e,undefined,undefined,t)};this.countCustomBookmarks=function(e){if(!e.vizType){return Promise.reject(\"countCustomBookmarks: Required parameter is missing: oIdentifier.vizType\")}return new Promise((t,i)=>{this._visitBookmarks(e.url,undefined,e.vizType,e.contentProviderId).done(t).fail(i)})};this.updateBookmarks=function(e,t,i,o){const r=this.oCDMService;const n=this._mResolvedTiles;function l(i){return new jQuery.Deferred(o=>{let r;let l=false;const a={};if(t.url||t.url===\"\"){const e=s.parseShellHash(t.url);if(!e){r=P(t.url)}else{r=G(e)}}if(i.icon!==t.icon){a.icon=t.icon;l=true}if(i.title!==t.title){a.title=t.title;l=true}if(i.subTitle!==t.subtitle){a.subtitle=t.subtitle;l=true}if(t.url&&e!==t.url){a.targetURL=t.url;l=true}if(i.info!==t.info){a.info=t.info;l=true}I(i,t,r);if(l&&n[i.id]){const e=n[i.id].tileComponent;if(e){e.tileSetVisualProperties(a)}}o.resolve(i)}).promise()}return this._visitBookmarks(e,l,i,o).then(e=>r.save().then(()=>e))};this.updateCustomBookmarks=function(e,t){if(!e.vizType){return Promise.reject(\"updateCustomBookmarks: Required parameter is missing: oIdentifier.vizType\")}if(t.title===\"\"){return Promise.reject(\"updateCustomBookmarks: The bookmark title cannot be an empty string\")}if(t.url===\"\"){return Promise.reject(\"updateCustomBookmarks: The bookmark url cannot be an empty string\")}return new Promise((i,o)=>{this.updateBookmarks(e.url,t,e.vizType,e.contentProviderId).done(i).fail(o)})};this.deleteBookmarks=function(e,t,i){const o=this.oCDMService;const r=s.parseShellHash(e);let n;if(r){n=G(r)}else{n=P(e)}return o.getSite().then(e=>{const r=e.groups;const s=Object.keys(r).map(e=>{const o=r[e].payload;let s=0;o.tiles=o.tiles.filter(e=>{if(e.isBookmark&&e.vizType===t&&(e.contentProvider||\"\")===(i||\"\")&&L(n,e.target)){++s;return false}return true});return s}).reduce((e,t)=>{e+=t;return e},0);return o.save().then(()=>s)})};this.deleteCustomBookmarks=function(e){if(!e.vizType){return Promise.reject(\"deleteCustomBookmarks: Required parameter is missing: oIdentifier.vizType\")}return new Promise((t,i)=>{this.deleteBookmarks(e.url,e.vizType,e.contentProviderId).done(t).fail(i)})};this.onCatalogTileAdded=function(e){};this._onTileSettingsSave=function(e,t){const i=new jQuery.Deferred;if(!e||!e.id||!t){return i.reject().promise()}const o=t.oTitleInput.getValue();const r=t.oSubTitleInput.getValue();const n=t.oInfoInput.getValue();const s=this.getTileTitle(e);const l=this.getTileInfo(e);const a=this.getTileSubtitle(e);if(s===o&&a===r&&l===n){return i.resolve().promise()}const u={};if(s!==o){u.title=o;e.title=o}if(a!==r){u.subtitle=r;e.subTitle=r}if(l!==n){u.info=n;e.info=n}if(this._mResolvedTiles[e.id].tileComponent){this._mResolvedTiles[e.id].tileComponent.tileSetVisualProperties(u)}else if(this._mResolvedTiles[e.id].linkTileControl){if(u.title){this._mResolvedTiles[e.id].linkTileControl.setHeader(u.title)}if(u.subtitle){this._mResolvedTiles[e.id].linkTileControl.setSubheader(u.subtitle)}if(u.title||u.subtitle){this._mResolvedTiles[e.id].linkTileControl.invalidate()}}R.getServiceAsync(\"CommonDataModel\").then(e=>{e.save().fail(e=>{T.error(e);i.reject(`Could not save personalization changes: ${e}`)}).done(()=>{i.resolve()})});return i.promise()};this.getTileActions=function(e){const t=[];if(this._isGroupTile(e)&&!this._isFailedGroupTile(e)){const i=new h({config:{display_title_text:this.getTileTitle(e),display_subtitle_text:this.getTileSubtitle(e),display_info_text:this.getTileInfo(e)}});const o=a.getTileSettingsAction(i,this._onTileSettingsSave.bind(this,e),this.getTileType(e));t.push(o)}return t};this._getSiteData=function(){const e=new Promise((e,t)=>{R.getServiceAsync(\"CommonDataModel\").then(i=>{i.getSite().done(e).fail(t)})});return e};this._addDefaultGroup=function(i,o){let n=e.getDefaultGroup(i);if(!n){n=t.createDefaultGroup(r.generateUniqueId(e.getGroupIdsFromSite(o)));o=t.addGroupToSite(o,n,0);i=e.getGroupsArrayFromSite(o)}this._oDefaultGroup=n;return i}}_.prototype=u.prototype;return _});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/LaunchPageAdapter\", [\"sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter\"],e=>{\"use strict\";return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/StaticGroupsAdapter\", [\"sap/ushell/adapters/cdm/v3/AdapterBase\"],t=>{\"use strict\";function e(e,o,r){t.call(this,e,o,r)}e.prototype=t.prototype;e.prototype._addDefaultGroup=function(t,e){return t};e.prototype._getSiteData=function(){return Promise.resolve(this.oAdapterConfiguration.config)};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications\", [\"sap/base/util/ObjectPath\"],t=>{\"use strict\";const n={};n.getId=function(n){return t.get([\"sap.app\",\"id\"],n)};n.getTitle=function(n){return t.get([\"sap.app\",\"title\"],n)};n.getSubTitle=function(n){return t.get([\"sap.app\",\"subTitle\"],n)};n.getIcon=function(n){return t.get([\"sap.ui\",\"icons\",\"icon\"],n)};n.getInfo=function(n){return t.get([\"sap.app\",\"info\"],n)};n.getKeywords=function(n){return t.get([\"sap.app\",\"tags\",\"keywords\"],n)};n.getContentProviderId=function(n){return t.get([\"sap.app\",\"contentProviderId\"],n)};n.getInbounds=function(n){return t.get([\"sap.app\",\"crossNavigation\",\"inbounds\"],n)};n.getInbound=function(n,e){return t.get([\"sap.app\",\"crossNavigation\",\"inbounds\",e],n)};n.getInboundTarget=function(n,e,i){const r=t.get([e],n)||{};const u=this.getInbound(r,i);if(!r||!u){return}return{semanticObject:u.semanticObject,action:u.action}};n.getTechnicalAttributes=function(n){return t.get([\"sap.app\",\"tags\",\"technicalAttributes\"],n)};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs\", [],()=>{\"use strict\";function i(i){return i.identification.id}function t(i){return i.identification.title}return{getId:i,getTitle:t}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/_LaunchPage/readHome\", [\"sap/ushell/utils/type\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications\"],(i,t)=>{\"use strict\";const e={};e.getGroupsArrayFromSite=function(i){const t=[];i.site.payload.groupsOrder.forEach((e,n)=>{const o=i.groups[e];if(o){o.payload=o.payload||{};t.push(o)}});return t};e.getGroupsMapFromSite=function(i){return i.groups};e.getGroupIdsFromSite=function(i){return i.site.payload.groupsOrder};e.getGroupFromSite=function(i,t){return i.groups[t]};e.getDefaultGroup=function(i){const t=i.filter(i=>i.payload.hasOwnProperty(\"isDefaultGroup\"));if(t.length>0){return t[0]}};e.getGroupId=function(i){return i.identification&&i.identification.id};e.getGroupTitle=function(i){return i.identification.title};e.isGroupPreset=function(i){if(!i.payload.hasOwnProperty(\"isPreset\")){return true}return!!i.payload.isPreset};e.isGroupLocked=function(i){return!!i.payload.locked};e.isGroupVisible=function(i){return!!(i.identification.isVisible===undefined||i.identification.isVisible===true)};e.getGroupTiles=function(t){if(t.payload.tiles&&i.isArray(t.payload.tiles)&&t.payload.tiles.length>0){return t.payload.tiles}return[]};e.getGroupLinks=function(t){if(t.payload.links&&i.isArray(t.payload.links)&&t.payload.links.length>0){return t.payload.links}return[]};e.getTileId=function(i){return i.id};e.getTileVizId=function(i){return i.vizId};e.getTileTitle=function(i,t){if(t&&t.isBookmark){return t.title}const e=i[t.id];if(e){return t.title||e.tileResolutionResult.title}};e.getContentProviderId=function(i){return i.contentProvider||undefined};e.getTileSubtitle=function(i,t){if(t.isBookmark){return t.subTitle}const e=i[t.id];if(e){return t.subTitle||e.tileResolutionResult.subTitle}};e.getTileInfo=function(i,t){if(t.isBookmark){return t.info}const e=i[t.id];if(e){return t.info||e.tileResolutionResult.info}};e.getTileIcon=function(i,t){if(t.isBookmark){return t.icon}const e=i[t.id];if(e){return t.icon||e.tileResolutionResult.icon}};e.getTileIndicatorDataSource=function(i,t){if(t.isBookmark){return t.icon}const e=i[t.id];if(e){return t.icon||e.tileResolutionResult.icon}};e.getTileSize=function(i,t){const e=i[t.id];if(e&&e.tileResolutionResult&&e.tileResolutionResult.size){return e.tileResolutionResult.size}};e.isLink=function(i,t){const e=i[t.id];if(e){return!!e.isLink}return false};e.isCard=function(i,t){const e=i[t.id];if(e){return!!e.tileResolutionResult.isCard}return false};e.isGroupTile=function(i){return!!(i&&i.id&&!i.isCatalogTile)};e.supportsFormFactor=function(i,t){return i.deviceTypes&&i.deviceTypes[t]};e.getInbound=function(i,e){const n=t.getInbound(i,e);return n&&{key:e,inbound:n}};return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/_LaunchPage/readPages\", [\"sap/base/util/ObjectPath\",\"sap/base/util/values\"],(e,t)=>{\"use strict\";const s={};s.getVisualizationReferences=function(s){let a;const i=[];const n=e.get(\"payload.sections\",s)||{};t(n).forEach(t=>{a=e.get(\"layout.vizOrder\",t)||[];a.forEach(e=>{if(t.viz[e]){i.push(t.viz[e])}})});return i};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils\", [\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readHome\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/base/util/deepClone\",\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/base/util/deepExtend\",\"sap/base/util/isEmptyObject\",\"sap/ushell/library\"],(t,a,e,i,n,o,r,s,c,u,d,l)=>{\"use strict\";const p={};const g=l.DisplayFormat;const m={};p.getVizData=async function(n,o,s){if(o.isBookmark&&o.url){o=r(o);o.subTitle=o.subtitle;o.target=i.toTargetFromHash(o.url)}const c=this.getCdmParts(n,o);const d=c&&c[1]||{};const l=c&&c[3]||{};const p=t.get(n,e.getTileVizId(o))||{};const g={id:e.getTileId(o),vizId:e.getTileVizId(o)||\"\",vizType:o.vizType||t.getTypeId(p)||\"\",vizConfig:u({},d,o.vizConfig),title:t.getTitle(c)||\"\",subtitle:t.getSubTitle(c)||\"\",icon:t.getIcon(c)||\"\",keywords:t.getKeywords(c)||[],info:t.getInfo(c)||\"\",target:o.target||t.getTarget(p)||{},indicatorDataSource:this._getIndicatorDataSource(o,p,s),isBookmark:o.isBookmark||false,contentProviderId:o.contentProviderId||a.getContentProviderId(l)||\"\",displayFormatHint:o.displayFormatHint,numberUnit:t.getNumberUnit(c),_instantiationData:t.getInstantiationData(p)};g.target=this.harmonizeTarget(g.target);g.targetURL=i.toHashFromVizData(g,n.applications);g.contentProviderLabel=await this.getContentProviderLabel(g.contentProviderId);if(g.indicatorDataSource){if(g.indicatorDataSource.dataSource){g.dataSource=t.getDataSource(c,g.indicatorDataSource.dataSource)}else if(o.isBookmark&&o.dataSource){g.dataSource=o.dataSource}}if(o.isBookmark){this._addBookmarkInstantiationData(g,n)}if(!g._instantiationData||!Object.keys(g._instantiationData)){g._instantiationData={platform:\"CDM\",vizType:t.getType(n,g.vizType)}}this._evaluateDisplayFormat(g,n);return g};p.getContentProviderLabel=function(t){if(Object.hasOwn(m,t)){return m[t]}m[t]=new Promise(async a=>{try{const e=await o.getServiceAsync(\"ClientSideTargetResolution\");const i=await e.getSystemContext(t);a(i?.label)}catch(e){a(t)}});return m[t]};p._getIndicatorDataSource=function(a,e,i){if(a.indicatorDataSource&&a.indicatorDataSource.path){if(a.contentProviderId&&i){a.indicatorDataSource.path=i.getFullyQualifiedXhrUrl(a.indicatorDataSource.path)}return a.indicatorDataSource}return t.getIndicatorDataSource(e)};p.getVizRef=function(t){const a={id:t.id,vizId:t.vizId,title:t.title,subTitle:t.subtitle,icon:t.icon,keywords:t.keywords,info:t.info,target:t.target,indicatorDataSource:t.indicatorDataSource,dataSource:t.dataSource,contentProviderId:t.contentProviderId,displayFormatHint:t.displayFormatHint,numberUnit:t.numberUnit};if(a.indicatorDataSource&&a.indicatorDataSource.originalPath){a.indicatorDataSource.path=a.indicatorDataSource.originalPath;delete a.indicatorDataSource.originalPath}if(t.isBookmark){a.isBookmark=t.isBookmark;if(t.vizConfig!==undefined&&!d(t.vizConfig)){a.vizType=t.vizType;if(t.cdmVizType){a.vizType=t.cdmVizType}a.vizConfig=t.vizConfig}}return a};p.getCdmParts=function(i,n){const o=t.get(i,e.getTileVizId(n))||{};const r=t.getConfig(o);const s=t.getAppDescriptor(i,t.getAppId(o));const c=a.getInbound(s,t.getInboundId(o));return[n,r,c,s]};p.harmonizeTarget=function(t){const a=t.parameters;let e={};if(!a){return t}if(Array.isArray(a)){a.forEach(t=>{if(e[t.name]){if(!Array.isArray(e[t.name].value.value)){e[t.name].value.value=[e[t.name].value.value]}e[t.name].value.value.push(t.value)}else{e[t.name]={value:{value:t.value,format:\"plain\" Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ShellNavigation\", [\"sap/base/Log\",\"sap/ushell/Container\"],(t,e)=>{\"use strict\";function i(i,a,n){t.error(\"Deprecated service call. Please migrate any dependencies to this service.\",null,\"sap.ushell.services.ShellNavigation\");this._oShellNavigationInternal=e.getService(\"ShellNavigationInternal\");this.NavigationFilterStatus=this._oShellNavigationInternal.NavigationFilterStatus;this.hashChanger=this._oShellNavigationInternal.hashChanger}i.prototype.getNavigationContext=function(){return this._oShellNavigationInternal.getNavigationContext()};i.prototype.compactParams=function(t,e,i,a){return this._oShellNavigationInternal.compactParams(t,e,i,a)};i.prototype.init=function(t){return this._oShellNavigationInternal.init(t)};i.prototype.wasHistoryEntryReplaced=function(){return this._oShellNavigationInternal.wasHistoryEntryReplaced()};i.prototype.resetHistoryEntryReplaced=function(){this._oShellNavigationInternal.resetHistoryEntryReplaced()};i.prototype.replaceHashWithoutNavigation=function(t){this._oShellNavigationInternal.replaceHashWithoutNavigation(t)};i.prototype.registerNavigationFilter=function(t){this._oShellNavigationInternal.registerNavigationFilter(t)};i.prototype.unregisterNavigationFilter=function(t){this._oShellNavigationInternal.unregisterNavigationFilter(t)};i.hasNoAdapter=true;return i},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ShellNavigationHashChanger\", [\"sap/base/Log\",\"sap/base/util/isEmptyObject\",\"sap/ui/core/routing/HashChanger\",\"sap/ui/performance/trace/Interaction\",\"sap/ui/thirdparty/hasher\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Container\",\"sap/ushell/navigation/NavigationState\",\"sap/ushell/utils/UrlShortening\",\"sap/ushell/utils/UrlParsing\"],(t,e,a,n,i,jQuery,s,r,o,h)=>{\"use strict\";const p={HASH_SET:{name:\"hashSet\",historyEntry:true},HASH_REPLACED:{name:\"hashReplaced\",historyEntry:false},SHELL_HASH_CHANGED:{name:\"shellHashChanged\",historyEntry:true,usedByUi5HistoryDetection:true,ui5EventParameterNames:{oldHash:\"oldAppSpecificRouteNoSeparator\",newHash:\"newAppSpecificRouteNoSeparator\"},updateHashOnly:true},SHELL_HASH_PARAMETER_CHANGED:{name:\"shellHashParameterChanged\",historyEntry:null},HASH_CHANGED:{name:\"hashChanged\",historyEntry:false,usedByUi5HistoryDetection:true,ui5EventParameterNames:{newHash:\"newHash\",fullHash:\"fullHash\"}}};const l=\"ShellNavigationHashChanger\";const c=\"[FesrFlp]\";const u=a.extend(\"sap.ushell.services.ShellNavigationHashChanger\",{constructor:function(t){this.oServiceConfig=t;this._oNavigationState={};a.apply(this);this._initializedByShellNav=false;this._bReloadApplication=false;this.privfnShellCallback=null;this.privappHashPrefix=\"&/\";this.privhashPrefix=\"#\";this.aNavigationFilters=[];this.NavigationFilterStatus={Continue:\"Continue\",Custom:\"Custom\",Abandon:\"Abandon\",Keep:\"Keep\"};this.getRelevantEventsInfo=function(){return this._getAllEvents().filter(t=>t.usedByUi5HistoryDetection).map(t=>{const e={name:t.name,paramMapping:t.ui5EventParameterNames};if(t.updateHashOnly!==undefined){e.updateHashOnly=t.updateHashOnly}return e})}}});u.prototype.privgetCurrentShellHash=function(){const t=this.privsplitHash(i.getHash());return{hash:`#${t?.shellPart||\"\"}`}};u.prototype.privconstructHash=function(t){const e=this.privgetCurrentShellHash();e.hash+=t;return e};u.prototype.privconstructShellHash=function(t){return h.constructShellHash(t)};u.prototype.privsplitHash=function(t){if(t===undefined||t===null||t===\"\"){return{shellPart:null,appSpecificRoute:null,intent:null,params:null}}const a=h.parseShellHash(t);if(a===undefined||a===null){return null}const n=a.params&&!e(a.params)?a.params:null;const i=a.appSpecificRoute;a.appSpecificRoute=undefined;return{shellPart:this.privstripLeadingHash(this.privconstructShellHash(a))||null,appSpecificRoute:i||null,intent:a.semanticObject&&a.action&&`${a.semanticObject}-${a.action}${a.contextRaw||\"\"}`||null,params:n}};u.prototype.privsetHash=function(t,e,a){i.prependHash=\"\";t=this.privstripLeadingHash(t);e=e||\"\";if(a===undefined){a=true}if(a){this.fireEvent(p.HASH_SET.name,{sHash:e});i.setHash(t)}else{this.fireEvent(p.HASH_REPLACED.name,{sHash:e});i.replaceHash(t)}};u.prototype.privstripLeadingHash=function(t){if(t[0]===\"#\"){return t.substring(1)}return t};u.prototype.registerNavigationFilter=function(t){if(typeof t!==\"function\"){throw new Error(\"fnFilter must be a function\")}this.aNavigationFilters.push(t)};u.prototype.unregisterNavigationFilter=function(t){if(typeof t!==\"function\"){throw new Error(\"fnFilter must be a function\")}this.aNavigationFilters=this.aNavigationFilters.filter(e=>e!==t)};function f(t,e,a){this.oAppState=undefined;this.oPromise=(new jQuery.Deferred).resolve();this.getNextKey=function(){this.oAppState=t.createEmptyAppState(e,a);return this.oAppState.getKey()};this.store=function(t){this.oAppState.setData(t);const e=this.oAppState.save();this.oPromise=jQuery.when(this.oPromise,e)};this.getPromise=function(){return this.oPromise}}u.prototype.compactParams=function(t,e,a,n){const i=new jQuery.Deferred;const r=h.constructShellHash({target:{semanticObject:\"SO\",action:\"action\"},params:t});if(t===undefined||Object.keys(t).length===0){return i.resolve(t).promise()}s.getServiceAsync(\"AppState\").then(t=>{const s=new f(t,a,n);const p=o.compactHash(r,e,s);const l=h.parseParameters(p.hash.match(/\\?.*/)[0]);s.getPromise().done(()=>{i.resolve(l)}).fail(i.reject)});return i.promise()};u.prototype.hrefForExternal=async function(t,e){let a=await this.hrefForExternalNoEncAsync(t,e);if(e){a.hash=encodeURI(a.hash)}else{a=encodeURI(a)}return a};u.prototype.hrefForExternalSync=function(t,e,a){let n=this.hrefForExternalNoEnc(t,e,a);if(e){n.hash=encodeURI(n.hash)}else{n=encodeURI(n)}return n};u.prototype.hrefForExternalNoEnc=function(e,a,n,i){t.error(\"Deprecated API call of 'sap.ushell.services.ShellNavigationHashChanger.hrefForExternalNoEnc'. Please use 'hrefForExternalNoEncAsync' instead\",null,\"sap.ushell.services.ShellNavigationHashChanger\");if(i){const t=new jQuery.Deferred;this.hrefForExternalNoEncAsync(e,a).then(t.resolve).catch(t.reject);return t.promise()}const s=this.privhrefForExternalNoEnc(e);if(a){return{hash:s.hash,params:s.params,skippedParams:s.skippedParams}}return s.hash};u.prototype.hrefForExternalNoEncAsync=async function(t,e){let a;const n=this.privhrefForExternalNoEnc(t);if(e){a={hash:n.hash,params:n.params,skippedParams:n.skippedParams}}else{a=n.hash}return a};u.prototype.privhrefForExternalNoEnc=function(t){if(t===undefined){return this.privgetCurrentShellHash()}if(t&&t.target&&(typeof t.target.semanticObject===\"string\"||typeof t.target.shellHash===\"string\")){return{hash:`#${this.privconstructShellHash(t)}`}}return this.privgetCurrentShellHash()};u.prototype.privgetAppHash=function(t){let e;if(t&&t.target&&typeof t.target.shellHash===\"string\"){const a=h.parseShellHash(t.target.shellHash);e=a&&a.appSpecificRoute;e=e&&e.substring(2)}return e};u.prototype.hrefForAppSpecificHash=function(t){return encodeURI(this.privconstructHash(this.privappHashPrefix+t).hash)};u.prototype.toExternal=function(t,e,a){const n=this.privhrefForExternalNoEnc(t).hash;const i=this.privgetAppHash(t);this.privsetHash(n,i,a);return Promise.resolve()};u.prototype.toAppHash=function(t,e){const a=this.privconstructHash(this.privappHashPrefix+t).hash;this.privsetHash(a,t,e)};u.prototype.initShellNavigation=function(e){if(this._initializedByShellNav){t.info(\"initShellNavigation already called on this ShellNavigationHashChanger instance.\");return false}this.privfnShellCallback=e;i.changed.add(this.treatHashChanged,this);if(!i.isActive()){i.initialized.addOnce(this.treatHashChanged,this);i.init()}else{this.treatHashChanged(i.getHash())}this._initializedByShellNav=true;return true};u.prototype.init=function(){if(this._initialized){t.info(\"init already called on this ShellNavigationHashChanger instance.\");return false}const e=this.privsplitHash(i.getHash());const a=(e?.appSpecificRoute||\" \").substring(2);const n=a?\"&/\":\"\";const s=e?.shellPart||\"\";this.fireEvent(p.HASH_CHANGED.name,{newHash:a,fullHash:s+n+a});this._initialized=true;return true};u.prototype._removeInnerAppSeparator=function(t){return(t||\"\").replace(\"&/\",\"\")};u.prototype._startFesrInteraction=function(){if(!this._fnResolveFesrInteraction){t.debug(`${c} Interaction Start`,null,l);this._fnResolveFesrInteraction=n.notifyAsyncStep()}};u.prototype._endFesrInteraction=function(){if(this._fnResolveFesrInteraction){t.debug(`${c} Interaction End`,null,l);this._fnResolveFesrInteraction();this._fnResolveFesrInteraction=null}};u.prototype._trackNavigation=function(t,e){this._oNavigationState.newHash=t;this._oNavigationState.oldHash=e};u.prototype.getCurrentNavigationState=function(){return this._oNavigationState};u.prototype.treatHashChanged=function(e,a){r.startNavigation();this._trackNavigation(e,a);this._startFesrInteraction();if(this.inAbandonFlow){this._endFesrInteraction();this.setReloadApplication(false);r.endNavigation();return}let n;e=o.expandHash(e);a=o.expandHash(a);const s=this.privsplitHash(e);let l=this.privsplitHash(a);if(!s){const t=new Error(`Illegal new hash - cannot be parsed: '${e}'`);this.fireEvent(p.SHELL_HASH_CHANGED.name,{newShellHash:e,newAppSpecificRoute:null,fullHash:e,oldShellHash:l?l.shellPart:a,error:t});this.privfnShellCallback(e,null,l?l.shellPart:a,l?l.appSpecificRoute:null,t);this._endFesrInteraction();this.setReloadApplication(false);return}if(!l){l={shellPart:a,appSpecificRoute:null}}for(let s=0;s<this.aNavigationFilters.length;s++){try{let t;const r=this.aNavigationFilters[s].call(undefined,e,a);let o=r;if(typeof r!==\"string\"){o=r.status;t=r.hash}if(o===this.NavigationFilterStatus.Custom){if(t&&t.length>0){this.inAbandonFlow=true;i.replaceHash(t);this.inAbandonFlow=false}this._endFesrInteraction();this.setReloadApplication(false);return}if(o===this.NavigationFilterStatus.Abandon){this.inAbandonFlow=true;i.replaceHash(a);this.inAbandonFlow=false;this._endFesrInteraction();this.setReloadApplication(false);return}if(o===this.NavigationFilterStatus.Keep){n=true}}catch(e){t.error(\"Error while calling Navigation filter! ignoring filter...\",e.message,\"sap.ushell.services.ShellNavigationHashChanger\")}}if(n){this.fireEvent(p.HASH_CHANGED.name,{newHash:e,oldHash:a,fullHash:e});this._endFesrInteraction();this.setReloadApplication(false);r.endNavigation();return}const c=a===undefined;const u=h.compareHashes(e,a);u.sameIntent=u.sameIntent&&!c;const f=u.sameIntent&&u.sameParameters&&u.sameAppSpecificRoute;if(f){t.info(\"Navigation happened but hash stayed the same\",null,\"sap.ushell.services.ShellNavigationHashChanger\");this.fireEvent(p.HASH_CHANGED.name,{newHash:this._removeInnerAppSeparator(s.appSpecificRoute),oldHash:this._removeInnerAppSeparator(l.appSpecificRoute),fullHash:e});this._endFesrInteraction();this.setReloadApplication(false);return}const H=u.sameIntent&&u.sameParameters;if(H){if(this.getReloadApplication()){this.setReloadApplication(false)}else{const a=this._removeInnerAppSeparator(s.appSpecificRoute);const n=this._removeInnerAppSeparator(l.appSpecificRoute);t.info(`Inner App Hash changed from '${n}' to '${a}'`,null,\"sap.ushell.services.ShellNavigationHashChanger\");this.fireEvent(p.HASH_CHANGED.name,{newHash:a,oldHash:n,fullHash:e});this._endFesrInteraction();r.endNavigation();return}}if(u.sameIntent&&this.hasListeners(p.SHELL_HASH_PARAMETER_CHANGED.name)){const e=h.paramsToString(s.params);const a=h.paramsToString(l.params);t.info(`Shell hash parameters changed from '${a}' to '${e}'`,null,\"sap.ushell.services.ShellNavigationHashChanger\");this.fireEvent(p.SHELL_HASH_PARAMETER_CHANGED.name,{oNewParameters:s.params,oOldParameters:l.params});this._endFesrInteraction();this.setReloadApplication(false);r.endNavigation();return}t.info(`Outer shell hash changed from '${a}' to '${e}'`,null,\"sap.ushell.services.ShellNavigationHashChanger\");this.fireEvent(p.SHELL_HASH_CHANGED.name,{newShellHash:s.shellPart,newAppSpecificRoute:s.appSpecificRoute,fullHash:e,oldShellHash:l.shellPart,oldAppSpecificRoute:l.appSpecificRoute,error:\"\",oldAppSpecificRouteNoSeparator:this._removeInnerAppSeparator(l.appSpecificRoute),newAppSpecificRouteNoSeparator:this._removeInnerAppSeparator(s.appSpecificRoute)});this.privfnShellCallback(s.shellPart,s.appSpecificRoute,l.shellPart,l.appSpecificRoute);this._endFesrInteraction();this.setReloadApplication(false)};u.prototype.setHash=function(t){this.toAppHash(t,true)};u.prototype.replaceHash=function(t){this.toAppHash(t,false)};u.prototype.getHash=function(){return this.getAppHash()};u.prototype.getAppHash=function(){const t=this.privsplitHash(i.getHash());const e=(t?.appSpecificRoute||\" \").substring(2);return e};u.prototype.destroy=function(){i.changed.remove(this.treatHashChanged,this);a.prototype.destroy.apply(this,arguments)};u.prototype._getAllEvents=function(){return Object.keys(p).map(t=>p[t])};u.prototype.getReplaceHashEvents=function(){return this._getAllEvents().filter(t=>t.historyEntry===false).map(t=>t.name)};u.prototype.getSetHashEvents=function(){return this._getAllEvents().filter(t=>t.historyEntry===true).map(t=>t.name)};u.prototype.isInnerAppNavigation=function(t,e){const a=h.parseShellHash(t);const n=h.parseShellHash(e);const i=e===undefined;const s=h.haveSameIntent(a,n)&&!i;const r=h.haveSameIntentParameters(a,n);return s&&r};u.prototype.getReloadApplication=function(){return this._bReloadApplication};u.prototype.setReloadApplication=function(t){this._bReloadApplication=t};return u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ShellNavigationInternal\", [\"sap/ui/core/EventBus\",\"sap/ushell/services/ShellNavigationHashChanger\",\"sap/ui/core/routing/HashChanger\"],(t,e,i)=>{\"use strict\";function n(n,a,s){function h(){sap.ui.require([\"sap/m/MessageBox\"],t=>{t.show(\"Due to a configuration change on the server,\\nclient and server are out of sync.\\n We strongly recommend to reload the page soon.\\nReload page now?\",{icon:t.Icon.ERROR,title:\"Client out of sync with server.\",actions:[t.Action.YES,t.Action.NO],onClose:function(e){if(e===t.Action.YES){window.setTimeout(()=>{window.location.reload()},0)}}})})}const r=s&&s.config;this.hashChanger=new e(r);this._navigationFilterForForwardingToRegisteredRouters=function(t,e){const i=this._aRouters.some(t=>t.match(e));if(i){const e=t.getCurrentApplication();const i=e&&e.componentInstance&&!e.homePage;if(i){const t=e.componentInstance.getRouter();if(t){t.stop()}}return this.NavigationFilterStatus.Keep}return this.NavigationFilterStatus.Continue};this.getNavigationContext=function(){const t=this.hashChanger.getCurrentNavigationState();const e=!this.hashChanger.isInnerAppNavigation(t.oldHash,t.newHash);return{isCrossAppNavigation:e,innerAppRoute:this.hashChanger.getHash()}};this.isInitialNavigation=function(){return this._bIsInitialNavigation};this.setIsInitialNavigation=function(t){this._bIsInitialNavigation=t};this.hrefForExternal=function(t,e,i){return this.hashChanger.hrefForExternal(t,e,i)};this.hrefForExternalSync=function(t,e,i){return this.hashChanger.hrefForExternalSync(t,e,i)};this.hrefForAppSpecificHash=function(t){return this.hashChanger.hrefForAppSpecificHash(t)};this.compactParams=function(t,e,i,n){return this.hashChanger.compactParams(t,e,i,n)};this.toExternal=function(t,e,i){return this.hashChanger.toExternal(t,e,i)};this.toAppHash=function(t,e){this.hashChanger.toAppHash(t,e)};this.init=function(e){this._bIsInitialNavigation=true;hasher.prependHash=\"\";i.replaceHashChanger(this.hashChanger);const n=t.getInstance();n.subscribe(\"sap.ui.core.UnrecoverableClientStateCorruption\",\"RequestReload\",h);this.hashChanger.initShellNavigation(e);this._enableHistoryEntryReplacedDetection();return this};this._enableHistoryEntryReplacedDetection=function(){this._lastHashChangeMode=null;this._fnOriginalSetHash=hasher.setHash;this._fnOriginalReplaceHash=hasher.replaceHash;hasher.setHash=function(){this._hashChangedByApp=true;this._lastHashChangeMode=\"setHash\";return this._fnOriginalSetHash.apply(hasher,arguments)}.bind(this);hasher.replaceHash=function(){this._hashChangedByApp=true;this._lastHashChangeMode=\"replaceHash\";return this._fnOriginalReplaceHash.apply(hasher,arguments)}.bind(this)};this.wasHistoryEntryReplaced=function(){return this._lastHashChangeMode===\"replaceHash\"};this.resetHistoryEntryReplaced=function(){this._lastHashChangeMode=null};this.replaceHashWithoutNavigation=function(t){hasher.changed.active=false;this._fnOriginalSetHash(t);hasher.changed.active=true};this.NavigationFilterStatus=this.hashChanger.NavigationFilterStatus;this.registerNavigationFilter=function(t){this.hashChanger.registerNavigationFilter(t)};this._aRouters=[];this.registerExtraRouter=function(t){this._aRouters.push(t)};this.unregisterNavigationFilter=function(t){this.hashChanger.unregisterNavigationFilter(t)};this.registerNavigationFilter(()=>{if(!this._hashChangedByApp){this.resetHistoryEntryReplaced()}this._hashChangedByApp=undefined;return this.NavigationFilterStatus.Continue});this.registerPrivateFilters=function(t){this.registerNavigationFilter(this._navigationFilterForForwardingToRegisteredRouters.bind(this,t))}}n.hasNoAdapter=true;return n},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/SmartNavigation\", [\"sap/ui/thirdparty/jquery\",\"sap/ushell/utils\",\"sap/ushell/services/AppConfiguration\",\"sap/base/Log\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/Container\"],(jQuery,e,t,n,i,r)=>{\"use strict\";function a(e,t,n){this._oServiceConfig=n;this._oCrossAppNavigationServicePromise=r.getServiceAsync(\"CrossApplicationNavigation\");this._oPersonalizationServicePromise=r.getServiceAsync(\"Personalization\");this._oHashCodeCache={\"\":0}}a.STATISTIC_COLLECTION_WINDOW_DAYS=90;a.PERS_CONTAINER_KEY_PREFIX=\"ushell.smartnav.\";a.ONE_DAY_IN_MILLISECOND=24*60*60*1e3;a.prototype.getLinks=function(e){const i=new jQuery.Deferred;n.error(\"Call to deprecated service: 'SmartNavigation.getLinks'. Please use 'CrossApplicationNavigation.getLinks' instead\",null,\"sap.ushell.services.SmartNavigation\");this._oCrossAppNavigationServicePromise.then(r=>{const a=r.getLinks(e);if(!this._isTrackingEnabled(this._oServiceConfig)){a.done(i.resolve).fail(i.reject);return}const o=t.getCurrentApplication();const s=o.sShellHash;let c=o.componentHandle;if(o.componentHandle){c=o.componentHandle.getInstance()}if(!s){n.warning(\"Call to SmartNavigation#getLinks() simply delegated to CrossApplicationNavigation#getLinks()\"+\" because AppConfiguration#getCurrentApplication()#sShellHash evaluates to undefined.\");a.done(i.resolve).fail(i.reject);return}const l=this._getNavigationOccurrences(s,c);jQuery.when(a,l).done((e,t)=>{if(t.length===0){i.resolve(e);return}const n=this._prepareLinksForSorting(e,t);e=n.sort((e,t)=>t.clickCount-e.clickCount);i.resolve(e)}).fail(i.reject)}).catch(i.reject);return i.promise()};a.prototype.toExternal=function(e){const i=arguments;n.error(\"Call to deprecated service: 'SmartNavigation.toExternal'. Please use 'CrossApplicationNavigation.toExternal' instead\",null,\"sap.ushell.services.SmartNavigation\");this._oCrossAppNavigationServicePromise.then(r=>{if(!this._isTrackingEnabled(this._oServiceConfig)){r.toExternal.apply(r,i);return}const a=t.getCurrentApplication();const o=a.sShellHash;let s=a.componentHandle;if(a.componentHandle){s=a.componentHandle.getInstance()}if(!o){n.warning(\"Current shell hash could not be identified. Navigation will not be tracked.\",null,\"sap.ushell.services.SmartNavigation\");r.toExternal.apply(r,i);return}const c=this._getHashFromOArgs(e.target);if(!c){n.warning(\"Destination hash does not conform with the ushell guidelines. Navigation will not be tracked.\",null,\"sap.ushell.services.SmartNavigation\");r.toExternal.apply(r,i);return}this._recordNavigationOccurrences(o,c,s).then(()=>{r.toExternal.apply(r,i)})})};a.prototype.hrefForExternal=function(){n.error(\"Deprecated API call of 'sap.ushell.services.SmartNavigation.hrefForExternal'. Please use 'hrefForExternalAsync' instead.\",null,\"sap.ushell.services.SmartNavigation\");const e=r.getService(\"CrossApplicationNavigation\");return e.hrefForExternal.apply(e,arguments)};a.prototype.hrefForExternalAsync=async function(){n.error(\"Call to deprecated service: 'SmartNavigation.hrefForExternalAsync'. Please use 'CrossApplicationNavigation.hrefForExternalAsync' instead\",null,\"sap.ushell.services.SmartNavigation\");const e=await this._oCrossAppNavigationServicePromise;return e.hrefForExternalAsync.apply(e,arguments)};a.prototype.getPrimaryIntent=function(){const e=new jQuery.Deferred;const t=arguments;n.error(\"Call to deprecated service: 'SmartNavigation.getPrimaryIntent'. Please use 'CrossApplicationNavigation.getPrimaryIntent' instead\",null,\"sap.ushell.services.SmartNavigation\");this._oCrossAppNavigationServicePromise.then(n=>{n.getPrimaryIntent.apply(n,t).done(e.resolve).fail(e.reject)}).catch(e.reject);return e.promise()};a.prototype.trackNavigation=function(e){n.error(\"Call to deprecated service: 'SmartNavigation.trackNavigation'.\",null,\"sap.ushell.services.SmartNavigation\");if(!this._isTrackingEnabled(this._oServiceConfig)){n.debug(\"Call to SmartNavigation#trackNavigation() ignored because Service is not enabled via Configuration\",null,\"sap.ushell.services.SmartNavigation\");return jQuery.when(null)}const i=e.target;const r=t.getCurrentApplication();const a=r.sShellHash;if(!a){n.warning(\"Call to SmartNavigation#trackNavigation() simply ignored\"+\" because AppConfiguration#getCurrentApplication()#sShellHash evaluates to undefined.\");return jQuery.when(null)}const o=this._getHashFromOArgs(i);if(!o){n.warning(\"Navigation not tracked - no valid destination provided\",null,\"sap.ushell.services.SmartNavigation\");return jQuery.when(null)}n.debug(`Navigation to ${o} was tracked out of ${a}`,null,\"sap.ushell.services.SmartNavigation\");return this._recordNavigationOccurrences(a,o,r.componentHandle.getInstance())};a.prototype._isTrackingEnabled=function(t){return e.isDefined(t)&&e.isDefined(t.config)&&e.isDefined(t.config.isTrackingEnabled)?t.config.isTrackingEnabled:false};a.prototype._getHashCode=function(e){const t=`${e}`;if(this._oHashCodeCache[t]){return this._oHashCodeCache[t]}let n=0;let i=t.length;while(i--){n=(n<<5)-n+(t.charCodeAt(i)|0);n|=0}this._oHashCodeCache[t]=n;return n};a.prototype._getBaseHashPart=function(e){const t=i.parseShellHash(e);if(t&&t.semanticObject&&t.action){return`${t.semanticObject}-${t.action}`}throw`Invalid intent \\`${e}\\``};a.prototype._getHashFromOArgs=function(e){if(!e){return null}if(e.shellHash&&i.parseShellHash(e.shellHash)){return this._getBaseHashPart(e.shellHash)}if(e.semanticObject&&e.action){return`${e.semanticObject}-${e.action}`}return null};a.prototype._getPersContainerKey=function(e){return a.PERS_CONTAINER_KEY_PREFIX+this._getHashCode(e)};a.prototype._getNavigationOccurrences=function(e,t){const n=new jQuery.Deferred;const i=this._getPersContainerKey(e);this._oPersonalizationServicePromise.then(e=>{const r=e.getContainer(i,{keyCategory:e.constants.keyCategory.FIXED_KEY,writeFrequency:e.constants.writeFrequency.HIGH,clientStorageAllowed:true},t);r.done(e=>{const t=e.getItemKeys();const i=t.map(t=>{const n=e.getItemValue(t);const i=Object.keys(n.actions);return i.map(e=>{const i=n.actions[e];const r=i.dailyFrequency.reduce((e,t)=>e+t,0);return{intent:`${t}-${e}`,clickCount:r}})});const r=i.reduce((e,t)=>{Array.prototype.push.apply(e,t);return e},[]);n.resolve(r)})}).catch(n.reject);return n.promise()};a.prototype._prepareLinksForSorting=function(e,t){const n={};t.forEach(e=>{n[e.intent]=e});e.forEach(e=>{const t=this._getBaseHashPart(e.intent);const i=n[t];e.clickCount=i?i.clickCount:0});return e};a.prototype._recordNavigationOccurrences=function(e,t,n){const r=i.parseShellHash(t);const a=this._getPersContainerKey(e);const o=r.semanticObject;const s=new jQuery.Deferred;this._oPersonalizationServicePromise.then(e=>{const t=e.getContainer(a,{keyCategory:e.constants.keyCategory.FIXED_KEY,writeFrequency:e.constants.writeFrequency.HIGH,clientStorageAllowed:true},n);t.done(e=>{let t=e.getItemValue(o);const n=r.action;if(!t){t={actions:{},latestVisit:Date.now(),dailyFrequency:[0]}}let i=t.actions[n];if(!i){i={latestVisit:Date.now(),dailyFrequency:[0]};t.actions[n]=i}this._updateHistoryEntryWithCurrentUsage(t);this._updateHistoryEntryWithCurrentUsage(i);e.setItemValue(o,t);e.save().done(s.resolve).fail(s.reject)}).fail(s.reject)}).catch(s.reject);return s.promise()};a.prototype._updateHistoryEntryWithCurrentUsage=function(e){const t=Date.now();const n=t-e.latestVisit;let i=Math.floor(n/a.ONE_DAY_IN_MILLISECOND);while(i--){e.dailyFrequency.unshift(0);if(e.dailyFrequency.length>a.STATISTIC_COLLECTION_WINDOW_DAYS){e.dailyFrequency.pop()}}++e.dailyFrequency[0];e.latestVisit=t;return e};a.hasNoAdapter=true;return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/SpaceContent\", [\"sap/ushell/Config\",\"sap/base/util/deepClone\",\"sap/ushell/library\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/utils/WindowUtils\",\"sap/base/Log\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,a,n,i,s,o,r)=>{\"use strict\";const c=a.AppType;function l(){}l.prototype.isPersonalizationEnabled=function(){return e.last(\"/core/shell/enablePersonalization\")};l.prototype.getPage=async function(e){const a=await r.getServiceAsync(\"Pages\");const n=await a.loadPage(e);return t(a.getModel().getProperty(n),20)};l.prototype.getPages=async function(e){const a=await r.getServiceAsync(\"Pages\");const n=await a.loadPages(e);const i={};Object.keys(n).forEach(e=>{i[e]=t(a.getModel().getProperty(n[e]),20)});return i};l.prototype.addSection=async function(e,t,a){const n=await r.getServiceAsync(\"Pages\");const i=n.getPageIndex(e);return n.addSection(i,t,a)};l.prototype.addVisualization=async function(e,t,a){const n=await r.getServiceAsync(\"Pages\");return n.addVisualization(e,t,a)};l.prototype.moveVisualization=async function(e,t,a,n,i){const s=await r.getServiceAsync(\"Pages\");const o=s.getPageIndex(e);return s.moveVisualization(o,t,a,n,i)};l.prototype.updateVisualization=async function(e,t,a,n){const i={displayFormatHint:n.displayFormatHint,title:n.title,subtitle:n.subtitle,info:n.info};const s=await r.getServiceAsync(\"Pages\");const o=s.getPageIndex(e);return s.updateVisualization(o,t,a,i)};l.prototype.deleteVisualization=async function(e,t,a){const n=await r.getServiceAsync(\"Pages\");const i=n.getPageIndex(e);return n.deleteVisualization(i,t,a)};l.prototype.instantiateVisualization=async function(e){const t=await r.getServiceAsync(\"VisualizationInstantiation\");return t.instantiateVisualization(e)};l.prototype.launchTileTarget=function(t,a){if(typeof t!==\"string\"){s.error(\"Invalid target URL\",null,\"sap.ushell.services.SpaceContent\");return}o.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:t}});if(t.indexOf(\"#\")===0){n.setHash(t)}else{if(a){const n=e.last(\"/core/shell/enableRecentActivity\")&&e.last(\"/core/shell/enableRecentActivityLogging\");if(n){const e={title:a,appType:c.URL,url:t,appId:t};r.getRendererInternal(\"fiori2\").logRecentActivity(e)}}i.openURL(t,\"_blank\")}};l.prototype.getUserDefaultParameter=async function(e){const t=await r.getServiceAsync(\"ClientSideTargetResolution\");const a=await r.getServiceAsync(\"UserDefaultParameters\");const n=await t.getSystemContext(\"\");const i=await a.getValue(e,n);if(!i.value&&!i.extendedValue){return null}const s={};if(i.value){s.value=i.value}if(i.extendedValue){s.extendedValue=i.extendedValue}return s};l.hasNoAdapter=true;return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/SupportTicket\", [\"sap/ushell/Config\"],e=>{\"use strict\";function t(t,i,n,r){this.createTicket=function(e){return t.createTicket(e)};this.isEnabled=function(){return e.last(\"/core/extension/SupportTicket\")}}t.hasNoAdapter=false;return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UITracer\", [\"sap/ushell/EventHub\",\"sap/base/util/isPlainObject\",\"sap/base/Log\",\"sap/ushell/Config\",\"sap/ui/Device\",\"sap/base/util/fetch\"],(e,t,s,i,r,a)=>{\"use strict\";const n=32768;const c=2;const o=1;const h=\"UITracer.trace\";function p(e,t,r){this._sServiceUrl=r.serviceUrl||\"/bff/ui-trace/v1/trace\";this._pToken=null;this._sToken=\"\";this._resetTrace();this._attachBrowserEvents();this._attachEventHubEvents();this._sSpacesPages=i.last(\"/core/spaces/enabled\")?\"-spaces\":\"-groups\";this._sSiteType=`wz-standard${this._sSpacesPages}`;this._sSiteId=new URLSearchParams(window.location.search).get(\"siteId\")||i.last(\"/core/site/siteId\");this._sDeviceType=this._getDeviceType();let a=document.querySelector(\"meta[name='sap.flp.cf.Config']\")?.content;if(a){try{a=JSON.parse(a)}catch(e){s.error(\"UITracer: unable to parse sap.flp.cf.Config\",e)}if(a&&a.scenario){if(a.scenario===\"LAUNCHPAD\"&&this._sSiteId===\"sap.start.site\"){this._sSiteType=`sap-start${this._sSpacesPages}`}else if(a.scenario===\"WORKZONE\"){this._sSiteType=`wz-advanced${this._sSpacesPages}`}else if(a.scenario===\"WORKZONEHR\"){this._sSiteType=`wz-advancedhr${this._sSpacesPages}`}}}this._initialized=Promise.resolve()}p.prototype._getToken=function(){this._pToken=a(this._sServiceUrl).then(e=>{this._sToken=\"-\";return e.json()}).then(e=>{if(e&&e.token){this._sToken=e.token}}).catch(()=>{s.debug(`UITracer: getToken failed on ${this._sServiceUrl}`,\"\",\"sap.ushell.services.UITracer\");this._sToken=\"-\"})};p.prototype.trace=function(e){if(!this._sToken&&!this._pToken){this._getToken()}this._addEntry(e)};p.prototype._getDeviceType=function(){let e=\"desktop\";if(r.system.tablet){e=\"tablet\"}else if(r.system.phone){e=\"phone\"}return`browser-${e}`};p.prototype._resetTrace=function(){this._aTrace=[];this._iSize=c};p.prototype._addEntry=function(e){if(t(e)&&Object.keys(e).length>0){try{const t=this._createTraceEntry(e);const i=this._getBlob(t).size+o;if(this._iSize+i>n){this._sendTrace()}this._iSize+=i;this._aTrace.push(t);s.debug(`UITracer: Trace entry added with size ${i}`,JSON.stringify(t),\"sap.ushell.services.UITracer\");return true}catch(e){return false}}return false};p.prototype._createTraceEntry=function(e){const t=JSON.parse(JSON.stringify(e));const s=t.data||{};s.siteType=this._sSiteType;s.siteId=this._sSiteId;s.deviceType=this._sDeviceType;t._ts=(new Date).toISOString();t.data=s;return t};p.prototype._sendTrace=function(e){if(!this._sToken||this._sToken===\"-\"){s.debug(`UITracer: _sendTrace failed, token ${this._sToken}`===\"-\"?\"request failed \":\"is missing\",\"\",\"sap.ushell.services.UITracer\");return}if(this._aTrace.length>0){const t=this._aTrace[this._aTrace.length-1];if(!e&&t.reason===\"LaunchApp\"&&t.data&&t.data.targetUrl&&t.data.targetUrl.indexOf(\"#\")===0){return}const i=this._getBlob({token:this._sToken,data:this._aTrace});try{window.navigator.sendBeacon(this._sServiceUrl,i);s.debug(`UITracer: _sendTrace to ${this._sServiceUrl} with size ${i.size} byte, entry count ${this._aTrace.length}`,\"\",\"sap.ushell.services.UITracer\")}catch(e){s.debug(`UITracer: _sendTrace failed ${this._sServiceUrl} with size ${i.size} byte, entry count ${this._aTrace.length}`,\"\",\"sap.ushell.services.UITracer\")}}this._resetTrace()};p.prototype._getBlob=function(e){if(t(e)||Array.isArray(e)){e=JSON.stringify(e)}if(typeof e===\"string\"){return new Blob([e],{type:\"application/json\"})}return null};p.prototype._attachBrowserEvents=function(){if(document.visibilityState){document.addEventListener(\"visibilitychange\",()=>{if(document.visibilityState===\"hidden\"){this._sendTrace()}})}window.addEventListener(\"beforeunload\",()=>{this._sendTrace(true)})};p.prototype._attachEventHubEvents=function(){e.on(h).do(e=>{this.trace(e)})};p.hasNoAdapter=true;return p},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/URLParsing\", [\"sap/base/Log\",\"sap/ui/base/Object\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/Container\"],function(e,t,s,r,n){\"use strict\";function a(){this.getShellHash=function(e){return r.getShellHash(e)};this.getHash=function(e){return r.getHash(e)};this.isIntentUrl=function(t){e.error(\"Deprecated API call of 'sap.ushell.URLParsing.isIntentUrl'. Please use 'isIntentUrlAsync' instead\",null,\"sap.ushell.services.URLParsing\");return r.isIntentUrl(t)};this.isIntentUrlAsync=function(e){return r.isIntentUrlAsync(e)};this.parseParameters=function(e){return r.parseParameters(e)};this.paramsToString=function(e){return r.paramsToString(e)};this.removeParametersWithEmptyValue=function(e,t){r.removeParametersWithEmptyValue(e,t)};this.privparamsToString=function(e,t,s){return r.privparamsToString(e,t,s)};this.parseShellHash=function(e){return r.parseShellHash(e)};this.privstripLeadingHash=function(e){return r.privstripLeadingHash(e)};this.splitHash=function(e){return r.splitHash(e)};this.constructShellHash=function(e){return r.constructShellHash(e)};this.addSystemToServiceUrl=function(e,r){var a=r;if(!e||e.indexOf(\"/\")!==0||e.indexOf(\"//\")===0){throw new s.Error(\"Invalid URL: \"+e,\"sap.ushell.services.URLParsing\")}if(t.isA(r,\"sap.ui.core.Component\")){var i=typeof r.getComponentData===\"function\"&&r.getComponentData();a=i&&i.startupParameters&&i.startupParameters[\"sap-system\"]&&i.startupParameters[\"sap-system\"][0]}var u=n.getService(\"NavTargetResolutionInternal\").getCurrentResolution();if(!a&&!r&&u&&u.url){a=new URL(u.url,window.location.href).searchParams.get(\"sap-system\")}if(/^[^?]*(;mo([/;?]|$))/.test(e)){}else if(/^[^?]*(;o=([/;?]|$))/.test(e)){e=e.replace(/;o=([/;?]|$)/,(a?\";o=\"+a:\"\")+\"$1\")}else if(!/^[^?]*;o=/.test(e)&&a){e=e.replace(/(\\/[^?]*?)(\\/$|$|(\\/?\\?.*))/,\"$1;o=\"+a+\"$2\")}n.addRemoteSystemForServiceUrl(e);return e}}a.hasNoAdapter=true;return a},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/URLShortening\", [\"sap/ushell/utils/UrlShortening\"],e=>{\"use strict\";function a(){this.compactHash=e.compactHash.bind(e);this.checkHashLength=e.checkHashLength.bind(e);this.expandHash=e.expandHash.bind(e);this.expandParamGivenRetrievalFunction=e.expandParamGivenRetrievalFunction.bind(e)}a.hasNoAdapter=true;return a},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/URLTemplate\", [],()=>{\"use strict\";function e(){this._init.apply(this,arguments)}e.prototype._init=function(e){this.oAdapter=e};e.prototype.handlePostTemplateProcessing=function(e,t,s){if(this.oAdapter&&this.oAdapter.handlePostTemplateProcessing){return this.oAdapter.handlePostTemplateProcessing(e,t,s)}return Promise.resolve(e)};e.hasNoAdapter=false;e.useConfiguredAdapterOnly=true;return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Ui5ComponentHandle\", ()=>{\"use strict\";function t(t){this._oComponent=t}t.onBeforeApplicationInstanceCreated=function(){sap.ui.require([\"sap/ushell/Fiori20AdapterTest\"],()=>{})};t.prototype.getInstance=function(){return this._oComponent};t.prototype.getMetadata=function(){return this._oComponent.getMetadata()};t.prototype.getComponentName=function(){return this._oComponent.getMetadata().getComponentName()};t.prototype.destroy=function(){if(this._oComponent&&!this._oComponent.isDestroyed()){return this._oComponent.destroy()}};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Ui5ComponentLoader\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/ui/core/Component\",\"sap/ui/core/Lib\",\"sap/ui/core/util/AsyncHintsHelper\",\"sap/ui/thirdparty/jquery\",\"sap/ui/thirdparty/URI\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/services/Ui5ComponentHandle\",\"sap/ushell/utils\",\"sap/ushell/utils/UriParameters\"],(e,t,o,n,r,jQuery,s,a,i,p,c,l)=>{\"use strict\";let u=[\"sap.ui.unified\"];u=[\"sap.ca.scfld.md\",\"sap.ca.ui\",\"sap.me\",\"sap.ui.unified\"];function m(e,t,o,n){this._oServiceConfig=n&&n.config||{};this._oAdapter=e;i.once(\"loadCoreResourcesComplement\").do(()=>{this.loadCoreResourcesComplement()})}m.prototype.modifyComponentProperties=async function(e,t){if(this._oAdapter.modifyComponentProperties){const o=await this._oAdapter.modifyComponentProperties(e.componentProperties,t);e.componentProperties=o}return e};m.prototype.createComponent=async function(t,o={},n,r){let s;try{s=await this.createComponentData(t,o,n);s=await this.modifyComponentProperties(s,r)}catch(o){e.error(\"Ui5ComponentLoader: Error while creating component data\",o,\"sap.ushell.services.Ui5ComponentLoader\");return t}const a=await this.instantiateComponent(s);return a};m.prototype.createComponentData=async function(e={},t={},o){const n={};const r=e.applicationDependencies||{};this._logAnyApplicationDependenciesMessages(r.name,r.messages);if(!e.ui5ComponentName){throw new Error(\"Ui5ComponentLoader: ui5ComponentName is mandatory\")}n.appPropertiesSafe=e;n.loadCoreExt=this._shouldLoadCoreExt(e);n.componentData=this._createComponentData(e);const s=a.last(\"/core/customPreload/enabled\");const i=n.loadCoreExt&&s;const p=this._shouldLoadDefaultDependencies(e);const c=e.ui5ComponentId||this._constructAppComponentId(t);n.componentProperties=await this._createComponentProperties(c,e,o,i,p);delete n.appPropertiesSafe.loadCoreExt;delete n.appPropertiesSafe.loadDefaultDependencies;return n};m.prototype.instantiateComponent=async function(t){const o=t.componentProperties;o.componentData=t.componentData;p.onBeforeApplicationInstanceCreated.call(null,o);try{const e=await this._createUi5Component(o);const n=t.appPropertiesSafe;n.componentHandle=new p(e);const r=t.loadCoreExt;if(r){n.coreResourcesFullyLoaded=r;i.emit(\"CoreResourcesComplementLoaded\",{status:\"success\"})}return n}catch(t){const n=o.name;const r=JSON.stringify(o,null,4);let s=`The issue is most likely caused by application ${n}`;let a=`Failed to load UI5 component with properties: '${r}'.`;if(t.stack){a+=` Error likely caused by:\\n${t.stack}`}else{a+=` Error: '${t}'`}if(t.status===\"parsererror\"){s+=\", as one or more of its resources could not be parsed\"}s+=\". Please create a support incident and assign it to the support component of the respective application.\";e.error(s,a,n);throw t}};m.prototype.getCoreResourcesComplementBundle=function(){if(a.last(\"/core/customPreload/enabled\")){return a.last(\"/core/customPreload/coreResourcesComplement\")}return[]};m.prototype.loadCoreResourcesComplement=function(){if(!this.loadCoreResourcesComplementPromise){this.loadCoreResourcesComplementPromise=new Promise(async(e,t)=>{try{await this._loadBundle(this.getCoreResourcesComplementBundle());i.emit(\"CoreResourcesComplementLoaded\",{status:\"success\"});e()}catch(e){i.emit(\"CoreResourcesComplementLoaded\",{status:\"failed\"});t(e)}});this.loadCoreResourcesComplementPromise.finally(()=>{this.loadCoreResourcesComplementPromise=undefined})}return this.loadCoreResourcesComplementPromise};m.prototype._createUi5Component=function(e){if(e.manifest===undefined){e.manifest=false}return o.create(e)};m.prototype._shouldLoadCoreExt=function(e){let t=true;if(e.hasOwnProperty(\"loadCoreExt\")){t=e.loadCoreExt}return t};m.prototype._shouldLoadDefaultDependencies=function(e){let t=true;if(e.hasOwnProperty(\"loadDefaultDependencies\")){t=e.loadDefaultDependencies}if(this._oServiceConfig&&this._oServiceConfig.hasOwnProperty(\"loadDefaultDependencies\")){t=t&&this._oServiceConfig.loadDefaultDependencies}return t};m.prototype._constructAppComponentId=function(e={}){const t=e.semanticObject||null;const o=e.action||null;if(!t||!o){return null}return`application-${t}-${o}-component`};m.prototype._removeCacheBusterTokenFromUrl=function(e){const t=new RegExp(\"[/]~[\\\\w-]+~[A-Z0-9]?\");return e.replace(t,\"\")};m.prototype._removeParametersFromUrl=function(e){if(!e){return e}const t=e.indexOf(\"?\");if(t>=0){return e.slice(0,t)}return e};m.prototype._getParameterMap=function(e){const t=l.fromURL(e||window.location.href).mParams;const o=t[\"sap-xapp-state\"];const n=t[\"sap-xapp-state-data\"];delete t[\"sap-xapp-state\"];delete t[\"sap-xapp-state-data\"];const r={startupParameters:t};if(n){r[\"sap-xapp-state\"]=n}if(o){r[\"sap-xapp-state\"]=o}return r};m.prototype._loadBundle=function(t){if(!Array.isArray(t)){e.error(\"Ui5ComponentLoader: loadBundle called with invalid arguments\");return null}return Promise.all(t.map(e=>sap.ui.loader._.loadJSResourceAsync(e))).catch(o=>{e.error(`Ui5ComponentLoader: failed to load bundle resources: [${t.join(\", \")}]`);return Promise.reject(o)})};m.prototype._createComponentProperties=async function(o,i,p,l,m){const d=i.ui5ComponentName;const f=i.url;const C=i.applicationDependencies||{};const y=c.getParameterValueBoolean(\"sap-ushell-nocb\");const h=t({},C);if(!h.asyncHints){h.asyncHints=m?{libs:u}:{}}if(l){const e=a.last(\"/core/customPreload/coreResourcesComplement\");h.asyncHints.preloadBundles=[...h.asyncHints.preloadBundles||[],...e]}if(p){h.asyncHints.waitFor=p}if(!h.name){h.name=d}if(f){h.url=this._removeParametersFromUrl(f)}if(o){h.id=o}if(y&&h.asyncHints){r.modifyUrls(h.asyncHints,this._removeCacheBusterTokenFromUrl)}const P=h.manifest;if(typeof P===\"string\"&&P.length>0&&\"sap.ui.fl\"in n.all()){try{const[t]=await c.requireAsync([\"sap/ui/fl/apply/api/FlexRuntimeInfoAPI\"]);try{const e=t.getFlexVersion({reference:d});if(typeof e===\"string\"&&e.length>0){const t=new s(P);t.addQuery(\"version\",e);h.manifest=t.toString()}return h}catch(t){e.error(\"Error when trying to get manifest version from 'sap.ui.fl.apply.api.FlexRuntimeInfoAPI'\",t,\"sap.ushell.services.Ui5ComponentLoader\");return h}}catch(t){e.error(\"Error when trying to load 'sap/ui/fl/apply/api/FlexRuntimeInfoAPI'\",t,\"sap.ushell.services.Ui5ComponentLoader\");return h}}return h};m.prototype._createComponentData=function(e){const o=e.componentData||{};const n=e.url;const r=e.applicationConfiguration;const s=e.reservedParameters;const a=t({startupParameters:{}},o);if(r){a.config=r}if(s){a.technicalParameters=s}const i=n&&n.indexOf(\"?\")>=0;if(i){const e=this._getParameterMap(n);a.startupParameters=e.startupParameters;if(e[\"sap-xapp-state-data\"]){a[\"sap-xapp-state\"]=e[\"sap-xapp-state-data\"]}if(e[\"sap-xapp-state\"]){a[\"sap-xapp-state\"]=e[\"sap-xapp-state\"]}}if(e.getExtensions){a.getExtensions=e.getExtensions;delete e.getExtensions}if(e.oPostMessageInterface){a.oPostMessageInterface=e.oPostMessageInterface;delete e.oPostMessageInterface}return a};m.prototype._logAnyApplicationDependenciesMessages=function(t,o){if(!Array.isArray(o)){return}o.forEach(o=>{let n=String.prototype.toLowerCase.call(o.severity||\"\");n=[\"trace\",\"debug\",\"info\",\"warning\",\"error\",\"fatal\"].indexOf(n)!==-1?n:\"error\";e[n](o.text,o.details,t)})};m.prototype._setDefaultDependencies=function(e){u=e};m.hasNoAdapter=false;return m});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UsageAnalytics\", [\"sap/base/Log\"],e=>{\"use strict\";function r(r,t,s){this.setLegalText=function(){this._logDeprecationError()};this.systemEnabled=function(){this._logDeprecationError();return false};this.userEnabled=function(){this._logDeprecationError();return false};this.setCustomAttributes=function(e){this._logDeprecationError()};this._logDeprecationError=function(){e.error(\"UsageAnalytics service is deprecated, because the corresponding cloud service 'SAP Web Analytics' has been retired.\",null,\"sap.ushell.services.UsageAnalytics\")}}r.hasNoAdapter=true;return r},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UserDefaultParameterPersistence\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/ObjectPath\",\"sap/ushell/Container\",\"sap/ushell/utils\"],(e,t,a,s,i)=>{\"use strict\";const r=[\"value\",\"extendedValue\",\"noEdit\",\"alwaysAskPlugin\",\"_shellData\",\"pluginData\"];function n(e,t,a,s){this._oAdapter=e;this._oData={}}n.prototype._cleanseValue=function(e){const a=t({},e);for(const e in a){if(a.hasOwnProperty(e)&&r.indexOf(e)<0){delete a[e]}}return a};n.prototype._getSystemContextFallback=async function(){e.warning(\"UserDefaultParameterPersistence: The systemContext was not provided, using defaultSystemContext as fallback\");const t=await s.getServiceAsync(\"ClientSideTargetResolution\");return t.getSystemContext()};n.prototype.loadParameterValue=async function(t,s){if(!s){s=await this._getSystemContextFallback()}const r=a.get([s.id,t],this._oData);if(r!==undefined){return r}const n=await i.promisify(this._oAdapter.loadParameterValue(t,s));const o=this._cleanseValue(n);a.set([s.id,t],o,this._oData);e.debug(`[UserDefaults] Fetched \"${t}\" for SystemContext=${s.id} from Persistence`,JSON.stringify(o,null,2));return o};n.prototype.saveParameterValue=async function(t,s,r){if(!r){r=await this._getSystemContextFallback()}if(!s){return i.promisify(this.deleteParameter(t,r))}const n=this._cleanseValue(s);if(s&&s.noStore===true){e.debug(`[UserDefaults] Skipped Save \"${t}\" for SystemContext=${r.id}`,\"noStore=true\");return}e.debug(`[UserDefaults] Saving \"${t}\" for SystemContext=${r.id} to Persistence`,JSON.stringify(n,null,2));a.set([r.id,t],n,this._oData);return i.promisify(this._oAdapter.saveParameterValue(t,n,r))};n.prototype.deleteParameter=async function(t,a){if(!a){a=await this._getSystemContextFallback()}if(this._oData[a.id]){e.debug(`[UserDefaults] Deleting \"${t}\" for SystemContext=${a.id} from Persistence`);delete this._oData[a.id][t]}return i.promisify(this._oAdapter.deleteParameter(t,a))};n.prototype.getStoredParameterNames=async function(e){if(!e){e=await this._getSystemContextFallback()}const t=await i.promisify(this._oAdapter.getStoredParameterNames(e));return t.sort()};n.hasNoAdapter=false;return n},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UserDefaultParameters\", [\"sap/base/Log\",\"sap/base/util/deepClone\",\"sap/base/util/deepEqual\",\"sap/base/util/deepExtend\",\"sap/base/util/isEmptyObject\",\"sap/ui/base/EventProvider\",\"sap/ushell/utils\",\"sap/ushell/Container\"],(e,t,a,r,s,n,i,o)=>{\"use strict\";const u=\"valueStored\";const l=[\"value\",\"noEdit\",\"noStore\",\"extendedValue\",\"alwaysAskPlugin\"];function c(c,d,f,m){this._aPlugins=[];this._oUserDefaultParametersNames={};this._oWasParameterPersisted={};const h=new n;function g(e){const t=typeof e.getComponentData===\"function\"&&e.getComponentData()&&e.getComponentData().config&&e.getComponentData().config[\"sap-priority\"]||0;if(typeof t!==\"number\"||isNaN(t)){return 0}return t}this._insertPluginOrdered=function(e,t){const a=g(t);for(let r=0;r<e.length&&t;++r){const s=g(e[r]);if(t&&a>s){e.splice(r,0,t);t=undefined}}if(t){e.push(t)}return e};this.registerPlugin=function(e){this._aPlugins=this._insertPluginOrdered(this._aPlugins,e)};this._getUserDefaultValueFromPlugin=async function(t,a,r,s){if(typeof t.getUserDefault===\"function\"){try{const n=await i.promisify(t.getUserDefault(a,s,r));const o=n||s;const u=this._getComponentNameOfPlugin(t);e.debug(`[UserDefaults] Fetched \"${a}\" for SystemContext=\"${r.id}\" from Plugin=\"${u}\"`,JSON.stringify(o,null,2));return o}catch{e.error(`invocation of getUserDefault(\"${a}\") for plugin ${this._getComponentNameOfPlugin(t)} rejected.`,null,\"sap.ushell.services.UserDefaultParameters\")}}return s};this._iterateOverPluginsToGetDefaultValue=async function(e,t,a){await this._loadPlugins();return this._aPlugins.reduce(async(t,r)=>{const s=await t;return this._getUserDefaultValueFromPlugin(r,e,a,s)},Promise.resolve(t))};this._getStoreDate=function(){return(new Date).toString()};this._storeValue=async function(t,a,r,s){if(r&&a.extendedValue){try{const e=await o.getServiceAsync(\"ClientSideTargetResolution\");const n=await e.getUserDefaultParameterNames(s);const i=this._extractKeyArrays(n);const u=i.extended.indexOf(t)<0;return this._saveParameterValue(t,a,r,u,s)}catch{e.error(`Cannot save value for ${t}. One or more plugins could not be loaded.`)}}return this._saveParameterValue(t,a,r,false,s)};this._saveParameterValue=async function(e,a,s,n,i){if(n){a.extendedValue=undefined}if(s&&this._valueIsEmpty(a)){a=undefined;this._oWasParameterPersisted[e]=false}else{a._shellData=r({storeDate:this._getStoreDate()},a._shellData)}try{const t=await o.getServiceAsync(\"UserDefaultParameterPersistence\");await t.saveParameterValue(e,a,i)}catch{}const l={parameterName:e,parameterValue:t(a||{}),systemContext:i};h.fireEvent(u,l);return e};this._getPersistedValue=async function(e,t){const a=await o.getServiceAsync(\"UserDefaultParameterPersistence\");return a.loadParameterValue(e,t)};this._valueIsEmpty=function(e){return!e||!e.value&&!e.extendedValue};this._haveSameMembersValue=function(e,t,r){return r.every(r=>e[r]===t[r]||a(e[r],t[r]))};this._getUserDefaultParameterNames=function(e){if(!this._oUserDefaultParametersNames[e.id]){this._oUserDefaultParametersNames[e.id]=new Promise(async t=>{const a=await o.getServiceAsync(\"ClientSideTargetResolution\");const r=await a.getUserDefaultParameterNames(e);const s=this._extractKeyArrays(r);const n=s.extended;const i=s.allParameters;const u=this._arrayToObject(i);t({aAllParameterNames:i,aExtendedParameterNames:n,oMetadataObject:u})})}return this._oUserDefaultParametersNames[e.id]};this._isSupportedParameterName=async function(t,a){const r=await this._getUserDefaultParameterNames(a);if(!r.aAllParameterNames||r.aAllParameterNames.indexOf(t)===-1){e.error(`The given parameter \"${t}\" is not part of the list of parameters for the given system context.`);return false}return true};this.hasRelevantMaintainableParameters=async function(e){try{const t=await this._getUserDefaultParameterNames(e);if(!s(t)&&t.aAllParameterNames){const a=await Promise.all(t.aAllParameterNames.map(async t=>{try{const a=await this.getValue(t,e);if(a&&!a.hasOwnProperty(\"noEdit\")){return true}}catch{}return false}));return a.some(e=>e)}}catch{}return false};this.getValue=async function(a,r){const s=await this._isSupportedParameterName(a,r);if(!s){return{value:undefined}}const n=await this._getPersistedValue(a,r).then(e=>{this._oWasParameterPersisted[a]=true;return e||{}}).catch(()=>({value:undefined}));const i=t(n);const o=!i._shellData&&this._valueIsEmpty(i)||i.noStore||i.alwaysAskPlugin;if(!o){return i}const u=await this._iterateOverPluginsToGetDefaultValue(a,n,r);if(!this._oWasParameterPersisted[a]||!this._haveSameMembersValue(i,u,l)){this._oWasParameterPersisted[a]=true;await this._storeValue(a,u,false,r).catch(t=>{e.error(t.message)})}return u};this._addParameterValuesToParameters=async function(e,t,a){await Promise.all(t.map(async t=>{const r=await this.getValue(t,a);e[t].valueObject=r}));return e};this._arrayToObject=function(e){const t={};e.forEach(e=>{t[e]={}});return t};this._getComponentNameOfPlugin=function(e){try{return e.getMetadata().getComponentName()||\"\"}catch(e){return\"'name of plugin could not be determined'\"}};this._getEditorDataAndValue=async function(t,a,s,n){const o=await Promise.all(this._aPlugins.map(async t=>{if(typeof t.getEditorMetadata===\"function\"){try{const e=t.getEditorMetadata(s,n);const a=await i.promisify(e);return a}catch(t){e.error(`Error invoking getEditorMetaData on plugin: ${t}${t.stack}`,null,\"sap.ushell.services.UserDefaultParameters\");return}}}));const u=[];const l=o.reverse().reduce((e,a)=>{t.forEach(t=>{if(a?.[t]?.editorMetadata){e[t].editorMetadata=a[t].editorMetadata}});return e},s);t.forEach(e=>{if(!(l[e]&&l[e].editorMetadata)){u.push(e)}});const c=await this._addParameterValuesToParameters(l,t,n);const d=r({},c);a.forEach(e=>{if(d[e]){d[e].editorMetadata=d[e].editorMetadata||{};d[e].editorMetadata.extendedUsage=true}});const f=Object.keys(d).splice(0);f.forEach(e=>{let t;if(d[e].valueObject&&d[e].valueObject.noEdit===true){delete d[e];t=u.indexOf(e);if(t>=0){u.splice(t,1)}}});if(u.length>0){e.error(`The following parameter names have no editor metadata and thus likely no configured plugin:\\n\"${u.join('\",\\n\"')}\".`)}return d};this.editorGetParameters=async function(e){const t=await this._getUserDefaultParameterNames(e);const{aAllParameterNames:a,aExtendedParameterNames:r,oMetadataObject:s}=t;if(s.length===0){return{}}await this._loadPlugins();return this._getEditorDataAndValue(a,r,s,e)};this._extractKeyArrays=function(e){const t={simple:e&&e.simple&&Object.keys(e.simple).sort()||[],extended:e&&e.extended&&Object.keys(e.extended).sort()||[]};const a=t.extended.filter(e=>t.simple.indexOf(e)<0);t.allParameters=t.simple.concat(a).sort();return t};this.editorSetValue=async function(e,t,a){await this._storeValue(e,t,true,a)};this.attachValueStored=function(e){h.attachEvent(u,e)};this.detachValueStored=function(e){h.detachEvent(u,e)};this._loadPlugins=async function(){const t=await o.getServiceAsync(\"PluginManager\");try{await i.promisify(t.loadPlugins(\"UserDefaults\"))}catch{e.error(\"One or more plugins could not be loaded\");throw new Error(\"Initialization of plugins failed\")}}}c.hasNoAdapter=true;return c},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UserInfo\", [\"sap/base/Log\",\"sap/ushell/User\",\"sap/ushell/Container\"],(e,t,i)=>{\"use strict\";const r={themeList:null,languageList:null,userSettingList:null};function s(t,s){this.getId=function(){return i.getUser().getId()};this.getFirstName=function(){return i.getUser().getFirstName()};this.getLastName=function(){return i.getUser().getLastName()};this.getFullName=function(){return i.getUser().getFullName()};this.getEmail=function(){return i.getUser().getEmail()};this.getUser=function(){return i.getUser()};this.getShellUserInfo=function(){return Promise.resolve({id:this.getId(),email:this.getEmail(),firstName:this.getFirstName(),lastName:this.getLastName(),fullName:this.getFullName()})};this.getCalendarWeekNumberingList=function(){return t.getCalendarWeekNumberingList?.()};this.getThemeList=function(){if(r.themeList){return r.themeList}const i=t.getThemeList();r.themeList=i;i.fail(()=>{e.error(\"getThemeList failed\")});return i};this.updateThemeRoot=async function(e){if(t.getThemeRoot){const r=await t.getThemeRoot(e);if(r!==undefined){i.getUser().addThemeRootForTheme({id:e,root:r})}}};this.updateUserPreferences=function(){const r=t.updateUserPreferences(i.getUser());r.fail(()=>{e.error(\"updateAttributes: \")});return r};this.getLanguageList=function(){if(r.languageList){return r.languageList}const i=t.getLanguageList();r.languageList=i;i.fail(()=>{e.error(\"getLanguageList failed\")});return i};this.getUserSettingList=function(){if(r.userSettingList){return r.userSettingList}const i=t.getUserProfilePropertyValueLists();r.userSettingList=i;i.fail(()=>{e.error(\"getUserProfilePropertyValueLists failed\")});return i};this.getUserSettingListEditSupported=function(){if(typeof t.getUserProfilePropertyValueLists!==\"undefined\"){return true}return false}}s.hasNoAdapter=false;return s},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UserRecents\", [\"sap/base/util/ObjectPath\",\"sap/ushell/services/UserRecents/RecentsList\",\"sap/ushell/services/UserRecents/RecentActivity\",\"sap/ushell/services/UserRecents/RecentAppsUsage\",\"sap/ushell/utils/UrlParsing\"],(e,t,c,o,a)=>{\"use strict\";function s(){this.oRecentSearches=new t(\"RecentSearches\",10,s._compareSearchItems);this.oRecentDataSources=new t(\"RecentDataSources\",6,s._compareDataSources);this.oRecentApps=new t(\"RecentApps\",6,s._compareApps);this.oRecentActivity=new c(500);this.oAppsUsage=new o}s._compareSearchItems=function(e,t){let c=false;if(e.oDataSource&&t.oDataSource){if(e.oDataSource.objectName&&t.oDataSource.objectName){c=e.sTerm===t.sTerm&&e.oDataSource.objectName.value===t.oDataSource.objectName.value}if(!e.oDataSource.objectName&&!t.oDataSource.objectName){c=e.sTerm===t.sTerm}}if(!e.oDataSource&&!t.oDataSource){c=e.sTerm===t.sTerm}return c};s.prototype.noticeSearch=s.prototype.addSearchActivity;s.prototype.addSearchActivity=async function(e){await this.oRecentSearches.newItem(e);return this.oRecentSearches.getRecentItems()};s.prototype.getRecentSearches=function(){return this.oRecentSearches.getRecentItems()};s._compareDataSources=function(e,t){if(e.objectName&&t.objectName){return e.objectName.value===t.objectName.value}return false};s.prototype.noticeDataSource=s.prototype.addDataSourceActivity;s.prototype.addDataSourceActivity=async function(t){const c=e.get(\"objectName.value\",t)||\"\";const o=e.get(\"objectName\",t)||\"\";const a=c.toLowerCase()===\"$$all$$\";const s=o.toLowerCase()===\"$$all$$\";if(!a&&!s){await this.oRecentDataSources.newItem(t)}return this.oRecentDataSources.getRecentItems()};s.prototype.getRecentDataSources=function(){return this.oRecentDataSources.getRecentItems()};s._compareApps=function(e,t){return e.semanticObject===t.semanticObject&&e.action===t.action};s.prototype.noticeApp=s.prototype.addAppActivity;s.prototype.addAppActivity=async function(e){await this.oRecentApps.newItem(e);return this.oRecentApps.getRecentItems()};s.prototype.getRecentApps=function(){return this.oRecentApps.getRecentItems()};s.prototype.addActivity=async function(e){await this.oRecentActivity.newItem(e);return this.oRecentActivity.getRecentItems()};s.prototype.clearRecentActivities=async function(){await this.oRecentActivity.clearAllActivities()};s.prototype.getRecentActivity=function(){return this.oRecentActivity.getRecentItems()};s.prototype.getFrequentActivity=function(){return this.oRecentActivity.getFrequentItems()};s.prototype.addAppUsage=async function(e){const t=a.getBasicHash(e);await this.oAppsUsage.addAppUsage(t)};s.prototype.getAppsUsage=function(){return this.oAppsUsage.getAppsUsage()};s.hasNoAdapter=true;return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UserRecents/RecentActivity\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ui/Device\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/library\",\"sap/ushell/services/UserRecents/UserRecentsBase\",\"sap/ushell/utils/UrlParsing\"],(e,t,n,r,s,i,a,c)=>{\"use strict\";const o=i.AppType;const p=a.extend(\"sap.ushell.services.UserRecents.RecentActivity\",{constructor:function(e){a.call(this,\"RecentActivity\",e)}});const u=[\"#Shell-launchURL\",\"#Shell-startGUI\",\"#Shell-startIntent\",\"#Shell-startURL\",\"#Shell-startWDA\"];p.MAX_DAYS=30;p.ITEM_COUNT=30;p._compareItems=function(e,t){const n=e.appType===t.appType;const r=e.url===t.url;const s=e.appId===t.appId;const i=e.title===t.title;if(n){if(e.appType!==o.APP){return r}if(s&&u.includes(e.appId)){return i}return s}else if(e.appType===o.APP||t.appType===o.APP){return s&&r}return false};p.prototype._updateIfAlreadyIn=function(e,n,r){return e.recentUsageArray.some(s=>{const{oItem:i,aUsageArray:c}=s;if(p._compareItems(i,n)){const p=n.appType===i.appType;const u=n.appType===o.APP;if(p||!u){t(i,n);i.timestamp=r;s.iTimestamp=r;s.mobile=undefined;s.tablet=undefined;s.desktop=undefined;s[this._getCurrentDevice()]=true;const l=i.appType===o.APP;if(p||!u&&!l){c[c.length-1]+=1;s.iCount+=1}e.recentUsageArray.sort(a.itemSorter)}return true}return false})};p.prototype._insertNew=function(e,t,n,r){t.timestamp=n;if(r){t.icon=r}const s={oItem:t,iTimestamp:n,aUsageArray:[1],iCount:1,mobile:undefined,tablet:undefined,desktop:undefined};s[this._getCurrentDevice()]=true;if(e.recentUsageArray.length===this.iMaxItems){e.recentUsageArray.pop()}e.recentUsageArray.unshift(s)};p.prototype.newItem=async function(e){const t=Date.now();const n=this._getActivityIcon(e.appType,e.icon);const r=this.getDayFromDate(new Date);const i=await this._getRecentActivitiesFromLoadedData();if(r!==i.recentDay){this._addNewDay(i);i.recentDay=r}const a=this._updateIfAlreadyIn(i,e,t);if(!a){this._insertNew(i,e,t,n)}await this.save(i);s.emit(\"newUserRecentsItem\",i)};p.prototype._getActivityIcon=function(e,t){if(t){return t}switch(e){case o.SEARCH:return\"sap-icon://search\";case o.COPILOT:return\"sap-icon://co\";case o.URL:return\"sap-icon://internet-browser\";default:return\"sap-icon://product\"}};p.prototype.clearAllActivities=async function(){await this.save([]);s.emit(\"userRecentsCleared\",Date.now())};p.prototype._getCurrentDevice=function(){if(n.system.desktop){return\"desktop\"}else if(n.system.tablet){return\"tablet\"}return\"mobile\"};p.prototype._filterRecentItems=async function(e){const t=this.getDayFromDate(new Date);const n=this._getCurrentDevice();const s=await this._getRecentActivitiesFromLoadedData();let i=false;if(t!==s.recentDay){this._addNewDay(s);s.recentDay=t;i=true}const a=s.recentUsageArray.reduce((e,t,r)=>{if(t[n]===undefined){const{url:n}=t.oItem;const s=c.getShellHash(n);if(s){e.intent.push({index:r,hash:s})}else{e.url.push({index:r})}}return e},{url:[],intent:[]});const o=i||a.url.length>0||a.intent.length>0;a.url.forEach(({index:e})=>{const t=s.recentUsageArray[e];t[n]=true});if(a.intent.length>0){const e=a.intent.map(({hash:e})=>({target:{shellHash:e}}));const t=await r.getServiceAsync(\"Navigation\");const i=await t.isNavigationSupported(e);a.intent.forEach(({index:e},t)=>{const{supported:r}=i[t];const a=s.recentUsageArray[e];a[n]=r})}if(o){await this.save(s)}const p=this._getRecentItemsForCurrentDevice(s);if(e){return p.slice(0,e)}return p};p.prototype._getRecentItemsForCurrentDevice=function(e){const t=this._getCurrentDevice();return e.recentUsageArray.filter(e=>e[t])};p.prototype.getRecentItems=async function(){const e=await this._filterRecentItems(p.ITEM_COUNT);return e.map(e=>e.oItem)};p.prototype.getFrequentItems=async function(){const e=await this._filterRecentItems();let t=0;let n=[];let r=e[0]?new Date(e[0].iTimestamp).toDateString():\"\";for(let s=0;s<e.length&&t<p.MAX_DAYS;s++){const i=e[s];if(i.iCount>1){n.push(i)}const a=new Date(i.iTimestamp).toDateString();if(r!==a){t++;r=a}}n.sort((e,t)=>t.iCount-e.iCount);n=n.slice(0,p.ITEM_COUNT);return n.map(e=>e.oItem)};p.prototype._addNewDay=function(e){e.recentUsageArray.for Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controls/WorkPageCell\", [\"sap/f/GridContainer\",\"sap/f/GridContainerSettings\",\"sap/f/dnd/GridDropInfo\",\"sap/m/IllustratedMessage\",\"sap/m/library\",\"sap/ui/core/Control\",\"sap/ui/core/dnd/DragInfo\",\"sap/ui/core/library\",\"sap/ui/core/ResizeHandler\",\"sap/ushell/ui/launchpad/ExtendedChangeDetection\"],(e,t,i,r,o,a,n,s,l,g)=>{\"use strict\";const d=o.IllustratedMessageSize;const p=o.IllustratedMessageType;const u=s.dnd.DropLayout;const h=s.dnd.DropPosition;const c=a.extend(\"sap.ushell.components.workPageBuilder.controls.WorkPageCell\",{metadata:{library:\"sap.ushell\",properties:{deleteWidgetTooltip:{type:\"string\",defaultValue:\"\",bindable:true},addApplicationButtonText:{type:\"string\",defaultValue:\"\",bindable:true},editMode:{type:\"boolean\",defaultValue:false,bindable:true},tileMode:{type:\"boolean\",defaultValue:false,bindable:true},gridContainerGap:{type:\"string\",group:\"Appearance\",defaultValue:\"0.5rem\",bindable:true},gridContainerRowSize:{type:\"string\",group:\"Appearance\",defaultValue:\"5.25rem\",bindable:true},emptyIllustrationTitle:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true},emptyIllustrationMessage:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true}},defaultAggregation:\"widgets\",aggregations:{widgets:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"widget\",bindable:true,dnd:true,forwarding:{getter:\"getGridContainer\",aggregation:\"items\"}},_gridContainer:{type:\"sap.f.GridContainer\",multiple:false,visibility:\"hidden\"},headerBar:{type:\"sap.m.OverflowToolbar\",multiple:false},_emptyIllustration:{type:\"sap.m.IllustratedMessage\",multiple:false,visibility:\"hidden\"}},events:{moveVisualization:{},gridColumnsChange:{},gridContainerBorderReached:{}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t);e.class(\"workPageCell\");if(t.getTileMode()){e.class(\"workPageCellTileMode\")}else{e.class(\"workPageCellCardMode\")}e.openEnd();e.openStart(\"div\");e.class(\"workpageCellWidgetToolbar\");e.openEnd();e.renderControl(t.getHeaderBar());e.close(\"div\");const i=t.getAggregation(\"widgets\");if(i.length<=0){e.renderControl(t.getIllustratedMessage())}else{e.renderControl(t.getGridContainer())}e.close(\"div\")}}});c.prototype.init=function(){this._aRegistrationIds=[];this._oWidgetsChangeDetection=new g(\"widgets\",this);this._oWidgetsChangeDetection.attachItemAdded(this.invalidate,this);a.prototype.init.apply(this,arguments)};c.prototype.exit=function(){this._deregisterResizeHandles();this._oWidgetsChangeDetection.destroy();a.prototype.exit.apply(this,arguments)};c.prototype._deregisterResizeHandles=function(){if(this._aRegistrationIds.length>0){this._aRegistrationIds.forEach(e=>{l.deregister(e)});this._aRegistrationIds=[]}};c.prototype.insertAggregation=function(e,t,i,r){if(e===\"widgets\"&&t.isA(\"sap.ui.integration.widgets.Card\")){this._aRegistrationIds.push(l.register(this,this._resizeCard.bind(this,t)))}a.prototype.insertAggregation.apply(this,arguments)};c.prototype._resizeCard=function(e,t){const i=this.getAggregation(\"_gridContainer\")&&this.getAggregation(\"_gridContainer\").getDomRef();if(!i){return}const r=parseFloat(window.getComputedStyle(i).width);if(r){e.setWidth(`${r}px`)}};c.prototype.getGridContainer=function(){let e=this.getAggregation(\"_gridContainer\");if(!e){e=this._createGridContainer().attachColumnsChange(e=>{this.fireEvent(\"gridColumnsChange\",e.getParameters())});this.setAggregation(\"_gridContainer\",e.addStyleClass(\"workPageGridContainer\"))}if(!this.getEditMode()||!this.getTileMode()||e.getItems().length===0){e.removeAllDragDropConfig()}else if(e.getDragDropConfig().length===0){e.addDragDropConfig(new n({groupName:\"CellGridContainer\",sourceAggregation:\"items\"})).addDragDropConfig(new i({groupName:\"CellGridContainer\",targetAggregation:\"items\",dropIndicatorSize:function(e){let t=2;if(e.getLayoutData()&&e.getLayoutData().getColumns()){t=e.getLayoutData().getColumns()}return{rows:1,columns:t}},dropPosition:h.Between,dropLayout:u.Horizontal,drop:this.onDrop.bind(this)}))}return e.setInlineBlockLayout(true).setSnapToRow(false).setLayout(new t({columnSize:this.getGridContainerRowSize(),gap:this.getGridContainerGap()}))};c.prototype._createGridContainer=function(){return new e(`${this.getId()}--workPageCellGridContainer`,{containerQuery:false,minHeight:\"0\",borderReached:this.onBorderReached.bind(this)})};c.prototype.onBorderReached=function(e){this.fireEvent(\"gridContainerBorderReached\",e.getParameters())};c.prototype.onDrop=function(e){this.fireEvent(\"moveVisualization\",e.getParameters())};c.prototype.getIllustratedMessage=function(){if(!this.getAggregation(\"_emptyIllustration\")){this.setAggregation(\"_emptyIllustration\",this._createIllustratedMessage())}return this.getAggregation(\"_emptyIllustration\")};c.prototype._createIllustratedMessage=function(){return new r(`${this.getId()}-emptyCellMessage`,{illustrationType:p.NoColumnsSet,illustrationSize:d.Small,title:this.getEmptyIllustrationTitle(),description:this.getEmptyIllustrationMessage(),visible:\"{/editMode}\"})};c.prototype.onfocusin=function(){if(!this.hasStyleClass(\"workPageCellFocused\")){this.addStyleClass(\"workPageCellFocused\")}};c.prototype.onfocusout=function(){if(this.hasStyleClass(\"workPageCellFocused\")){this.removeStyleClass(\"workPageCellFocused\")}};return c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controls/WorkPageColumn\", [\"sap/m/Button\",\"sap/m/library\",\"sap/ui/core/Control\",\"sap/ushell/components/workPageBuilder/controls/WorkPageButton\",\"sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer\",\"sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer\",\"sap/ushell/ui/launchpad/ExtendedChangeDetection\"],(e,t,o,n,i,s,l)=>{\"use strict\";const d=t.ButtonType;const r=o.extend(\"sap.ushell.components.workPageBuilder.controls.WorkPageColumn\",{metadata:{library:\"sap.ushell\",properties:{columnWidth:{type:\"int\",defaultValue:24,bindable:true},editMode:{type:\"boolean\",group:\"Misc\",defaultValue:false,bindable:true},ariaLabelPlaceholder:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true},deleteColumnButtonTooltip:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true},addColumnButtonTooltip:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true},addWidgetButtonText:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true}},dnd:{draggable:false,droppable:true},defaultAggregation:\"cells\",aggregations:{cells:{type:\"sap.ushell.components.workPageBuilder.controls.WorkPageCell\",multiple:true,singularName:\"cell\",bindable:true,dnd:true},_deleteButton:{type:\"sap.m.Button\",multiple:false,visibility:\"hidden\"},_addWidgetButton:{type:\"sap.m.Button\",multiple:false,visibility:\"hidden\"},_addButtonLeft:{type:\"sap.ushell.components.workPageBuilder.controls.WorkPageButton\",multiple:false,visibility:\"hidden\"},_addButtonRight:{type:\"sap.ushell.components.workPageBuilder.controls.WorkPageButton\",multiple:false,visibility:\"hidden\"},_resizer:{type:\"sap.ushell.components.workPageBuilder.controls.WorkPageColumnResizer\",multiple:false,visibility:\"hidden\"}},events:{addColumn:{left:{type:\"boolean\"}},addWidget:{},removeColumn:{},columnResized:{parameters:{posXDiff:{type:\"float\"}}},columnResizeCompleted:{}}},renderer:i});r.prototype.init=function(){this._fnHandleResize=this._handleResizerMoved.bind(this);this._fnHandleResizeCompleted=this._handleResizerReleased.bind(this);this._oResizer=(new s).setParent(this).attachEvent(\"resizerMoved\",this._fnHandleResize).attachEvent(\"resizerReleased\",this._fnHandleResizeCompleted);this._oCellsChangeDetection=new l(\"cells\",this);o.prototype.init.apply(this,arguments)};r.prototype.exit=function(){this._oResizer.detachEvent(\"resizerMoved\",this._fnHandleResize).detachEvent(\"resizerReleased\",this._fnHandleResizeCompleted);this._oCellsChangeDetection.destroy();o.prototype.exit.apply(this,arguments)};r.prototype._createDeleteButton=function(){return new e(`${this.getId()}-deleteColumnButton`,{icon:\"sap-icon://delete\",tooltip:this.getDeleteColumnButtonTooltip(),press:function(){this.fireEvent(\"removeColumn\")}.bind(this)}).addStyleClass(\"workPageColumnDeleteButton\")};r.prototype.getDeleteButton=function(){if(!this.getAggregation(\"_deleteButton\")){this.setAggregation(\"_deleteButton\",this._createDeleteButton())}return this.getAggregation(\"_deleteButton\")};r.prototype._createAddButton=function(e){const t=e===\"left\"?\"workPageColumnButtonLeft\":\"workPageColumnButtonRight\";return new n(`${this.getId()}-addColumnButton-${e}`,{icon:\"sap-icon://add\",tooltip:this.getAddColumnButtonTooltip(),press:function(){this.fireEvent(\"addColumn\",{left:e===\"left\"})}.bind(this)}).addStyleClass(`workPageDividerButton ${t}`)};r.prototype.getAddButton=function(e){if(e===\"left\"){if(!this.getAggregation(\"_addButtonLeft\")){this.setAggregation(\"_addButtonLeft\",this._createAddButton(\"left\"))}return this.getAggregation(\"_addButtonLeft\")}if(!this.getAggregation(\"_addButtonRight\")){this.setAggregation(\"_addButtonRight\",this._createAddButton(\"right\"))}return this.getAggregation(\"_addButtonRight\")};r.prototype.getResizer=function(){return this._oResizer};r.prototype._handleResizerMoved=function(e){const t=e.getParameters();this.fireEvent(\"columnResized\",t)};r.prototype._handleResizerReleased=function(){this.fireEvent(\"columnResizeCompleted\")};r.prototype._createAddWidgetButton=function(){return new e(`${this.getId()}-addWidgetButton`,{text:this.getAddWidgetButtonText(),type:d.Emphasized,press:function(){this.fireEvent(\"addWidget\")}.bind(this)}).addStyleClass(\"workPageAddWidgetButton\")};r.prototype.getAddWidgetButton=function(){if(!this.getAggregation(\"_addWidgetButton\")){this.setAggregation(\"_addWidgetButton\",this._createAddWidgetButton())}return this.getAggregation(\"_addWidgetButton\")};r.prototype.getCappedColumnCount=function(){const e=this.getParent();return e.getCappedColumnCount()};r.prototype.getIndex=function(){return this.getParent().indexOfAggregation(\"columns\",this)};r.prototype.getMaxColumns=function(){return this.getParent().getMaxColumns()};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer\", [\"sap/base/strings/formatMessage\"],e=>{\"use strict\";const t={apiVersion:2,render:function(t,o){if(!o.getVisible()){return}const n=o.getIndex();const r=o.getMaxColumns();const l=o.getCappedColumnCount();const a=o.getCells();const s=a.length===0;t.openStart(\"div\",o);if(o.getAriaLabelPlaceholder()){t.attr(\"aria-label\",e(o.getAriaLabelPlaceholder(),[n+1,l]))}if(n===0){t.class(\"workPageColumnFirst\")}if(n===l-1){t.class(\"workPageColumnLast\")}if(s){t.class(\"workPageColumnEmpty\")}t.class(\"workPageColumn\");t.attr(\"data-index\",n+1);t.attr(\"data-count\",l);t.openEnd();if(s){t.openStart(\"div\");t.class(\"workPageCell\");t.class(\"workPageCellEmpty\");t.openEnd()}else{for(let e=0;e<a.length;e++){t.renderControl(a[e])}}if(o.getEditMode()){if(l>1&&s){t.renderControl(o.getDeleteButton())}if(n!==0){t.renderControl(o.getResizer())}if(l<r){t.renderControl(o.getAddButton(\"left\"))}if(n===l-1&&l<r){t.renderControl(o.getAddButton(\"right\"))}t.openStart(\"div\");t.class(\"workPageColumnToolbar\");t.openEnd();t.renderControl(o.getAddWidgetButton());t.close(\"div\")}if(s){t.close(\"div\")}t.close(\"div\")}};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer\", [\"sap/ui/core/Control\"],e=>{\"use strict\";const t=e.extend(\"sap.ushell.components.workPageBuilder.controls.WorkPageColumnResizer\",{metadata:{library:\"sap.ushell\",events:{resizerMoved:{parameters:{posXDiff:{type:\"float\"}}},resizerReleased:{}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t);e.class(\"workPageDivider\");e.attr(\"tabindex\",\"0\");e.openEnd();e.openStart(\"div\");e.class(\"workPageDividerInner\");e.openEnd();e.close(\"div\");e.close(\"div\")}}});t.prototype.init=function(){this._fnMouseMove=this.mouseMove.bind(this);this._fnMouseUp=this.mouseUp.bind(this)};t.prototype.exit=function(){window.document.removeEventListener(\"mousemove\",this._fnMouseMove);window.document.removeEventListener(\"mouseup\",this._fnMouseUp)};t.prototype.mouseUp=function(){window.document.removeEventListener(\"mouseup\",this._fnMouseUp);window.document.removeEventListener(\"mousemove\",this._fnMouseMove);this.fireEvent(\"resizerReleased\")};t.prototype.mouseMove=function(e){this.fireEvent(\"resizerMoved\",{posXDiff:e.pageX-this.getXOrigin()})};t.prototype.onmousedown=function(){window.document.addEventListener(\"mousemove\",this._fnMouseMove);window.document.addEventListener(\"mouseup\",this._fnMouseUp)};t.prototype.onkeydown=function(e){if([37,39].indexOf(e.keyCode)===-1){return}const t=this.getParent().getParent();let o=t.getSingleColumnWidth();if(e.keyCode===37){o=-o}this.fireEvent(\"resizerMoved\",{posXDiff:o});this.fireEvent(\"resizerReleased\")};t.prototype.getXOrigin=function(){const e=this.$().get(0).getBoundingClientRect();return e.x+e.width/2};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controls/WorkPageRenderer\", [],()=>{\"use strict\";const e={apiVersion:2};e.render=function(e,t){e.openStart(\"div\",t);if(t.getTitle()&&t.getTitle().getText()){e.attr(\"aria-label\",t.getTitle().getText())}e.class(\"workPage\");e.class(\"sapContrastPlus\");e.attr(\"data-wp-breakpoint\",t.getBreakpoint());if(t.getEditMode()){e.class(\"workPageEditMode\")}if(t.getShowTitle()&&t.getTitle()!==null&&t.getTitle().getText()!==\"\"){e.class(\"workPageHasTitle\")}e.openEnd();if(t.getShowTitle()){e.openStart(\"div\");e.class(\"workPageTitle\");e.openEnd();e.renderControl(t.getTitle());e.close(\"div\")}const o=t.getRows();if(o.length<=0&&t.getLoaded()){e.renderControl(t.getIllustratedMessage())}else{e.openStart(\"div\",`${t.getId()}-rows`);e.openEnd();for(let t=0;t<o.length;t++){e.renderControl(o[t])}e.close(\"div\")}e.close(\"div\")};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controls/WorkPageRow\", [\"sap/ui/core/Control\",\"sap/ushell/components/workPageBuilder/controls/WorkPageButton\",\"sap/ushell/ui/launchpad/ExtendedChangeDetection\",\"sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer\"],(t,e,o,n)=>{\"use strict\";const i=t.extend(\"sap.ushell.components.workPageBuilder.controls.WorkPageRow\",{metadata:{library:\"sap.ushell\",properties:{editMode:{type:\"boolean\",group:\"Misc\",defaultValue:false,bindable:true},addRowButtonTooltip:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true},maxColumns:{type:\"int\",group:\"Misc\",defaultValue:4,bindable:true},columnMinFlex:{type:\"int\",group:\"Misc\",defaultValue:4,bindable:true},ariaLabel:{type:\"string\",group:\"Misc\",defaultValue:\"\",bindable:true}},defaultAggregation:\"columns\",aggregations:{columns:{type:\"sap.ushell.components.workPageBuilder.controls.WorkPageColumn\",multiple:true,singularName:\"column\"},headerBar:{type:\"sap.m.IBar\",multiple:false},controlButtons:{type:\"sap.m.Button\",multiple:true,singularName:\"controlButton\"},title:{type:\"sap.m.Title\",multiple:false},messageStrip:{type:\"sap.m.MessageStrip\",multiple:false},_addButtonBottom:{type:\"sap.ushell.components.workPageBuilder.controls.WorkPageButton\",multiple:false,visibility:\"hidden\"},_addButtonTop:{type:\"sap.ushell.components.workPageBuilder.controls.WorkPageButton\",multiple:false,visibility:\"hidden\"}},events:{addRow:{parameters:{bottom:{type:\"boolean\"}}}}},renderer:n});i.prototype.init=function(){this._oColumnsChangeDetection=new o(\"columns\",this);t.prototype.init.apply(this,arguments)};i.prototype.exit=function(){this._oColumnsChangeDetection.destroy();t.prototype.exit.apply(this,arguments)};i.prototype.getSingleColumnWidth=function(){const t=this.getDomRef();if(!t){return 1}const e=t.querySelector(\".workPageRowInner\");if(!e){return 1}return e.offsetWidth/24};i.prototype.onfocusin=function(){if(!this.hasStyleClass(\"workPageRowFocused\")){this.addStyleClass(\"workPageRowFocused\")}};i.prototype.onfocusout=function(){if(this.hasStyleClass(\"workPageRowFocused\")){this.removeStyleClass(\"workPageRowFocused\")}};i.prototype._createAddButton=function(t){const o=t===\"bottom\"?\"workPageRowButtonBottom\":\"workPageRowButtonTop\";return new e(`${this.getId()}-addRowButton-${t}`,{icon:\"sap-icon://add\",tooltip:this.getAddRowButtonTooltip(),press:function(){this.fireEvent(\"addRow\",{bottom:t===\"bottom\"})}.bind(this)}).addStyleClass(`workPageRowButton ${o}`)};i.prototype.getAddButton=function(t){if(t===\"bottom\"){if(!this.getAggregation(\"_addButtonBottom\")){this.setAggregation(\"_addButtonBottom\",this._createAddButton(t))}return this.getAggregation(\"_addButtonBottom\")}else if(!this.getAggregation(\"_addButtonTop\")){this.setAggregation(\"_addButtonTop\",this._createAddButton(t))}return this.getAggregation(\"_addButtonTop\")};i.prototype.getIndex=function(){return this.getParent().indexOfAggregation(\"rows\",this)};i.prototype.getColumnFlexValues=function(){return this.getColumns().map(t=>t.getColumnWidth())};i.prototype.getGridLayoutString=function(){const t=this.getColumnFlexValues();return`${t.join(\"-\")}`};i.prototype.setGridLayoutString=function(t){const e=this.getDomRef();if(!e){return}const o=e.querySelector(\".workPageRowInner\");if(!o){return}o.dataset.wpGridLayout=`${t.join(\"-\")}`};i.prototype.getCappedColumnCount=function(){const t=this.getColumns().length;const e=this.getMaxColumns();if(this.getEditMode()){return t}return t>e?e:t};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer\", ()=>{\"use strict\";const t={apiVersion:2,render:function(t,e){if(!e.getVisible()){return}const o=e.getIndex();const r=e.getColumns();const n=e.getCappedColumnCount();t.openStart(\"div\",e);t.attr(\"role\",\"region\");const i=e.getTitle();t.attr(\"aria-label\",e.getAriaLabel());t.class(\"workPageRow\");if(o===0){t.class(\"workPageRowFirst\")}t.openEnd();t.openStart(\"div\");t.class(\"workPageRowLimiter\");t.openEnd();if(e.getEditMode()){const o=e.getControlButtons();if(o.length>0){t.openStart(\"div\");t.class(\"workPageRowControlButtons\");t.openEnd();for(let e=0;e<o.length;e++){t.renderControl(o[e])}t.close(\"div\")}}if(e.getEditMode()){t.renderControl(e.getHeaderBar())}else{t.renderControl(i)}if(e.getMessageStrip()){t.renderControl(e.getMessageStrip())}t.openStart(\"div\");t.class(\"workPageRowInner\");t.attr(\"data-wp-grid-layout\",e.getGridLayoutString());t.attr(\"data-wp-col-min-flex\",e.getColumnMinFlex());t.attr(\"data-wp-cols\",n);t.openEnd();for(let e=0;e<n;e++){t.renderControl(r[e])}if(e.getEditMode()){t.renderControl(e.getAddButton(\"top\"));t.renderControl(e.getAddButton(\"bottom\"))}t.close(\"div\");t.close(\"div\");t.close(\"div\")}};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageRuntime/Component\", [\"sap/ui/core/UIComponent\"],t=>{\"use strict\";return t.extend(\"sap.ushell.components.workPageRuntime.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},getNavigationDisabled:function(){const t=this.getComponentData()||{};return!!t.navigationDisabled},hideRuntime:function(){this.getRootControl().getController().hideRuntime()},onRouteMatched:function(){this.getRootControl().getController().onRouteMatched()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller\", [\"sap/base/Log\",\"sap/ui/core/mvc/Controller\",\"sap/ushell/utils/workpage/WorkPageService\",\"sap/base/util/deepExtend\",\"sap/ushell/EventHub\",\"sap/ushell/components/pages/controller/PagesAndSpaceId\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(e,t,o,a,n,i,r,s)=>{\"use strict\";return t.extend(\"sap.ushell.components.workPageRuntime.controller.WorkPageRuntime\",{onInit:function(){const e=s.getRendererInternal();this.oWorkPageService=new o;this.oWorkPageNavContainer=this.byId(\"workPageNavContainer\");this.oEmptyPage=this.byId(\"emptyPage\");this._oWorkPageBuilderComponentCreatedPromise=new Promise((e,t)=>{this._oWorkPageBuilderComponentResolve=e;this._oWorkPageBuilderComponentReject=t});this._oInitPromise=this._getPageId().then(t=>{this._sPageId=t;return this._onWorkPageLoad().finally(()=>{n.emit(\"CenterViewPointContentRendered\");if(!this.getOwnerComponent().getNavigationDisabled()){this.oContainerRouter=e.getRouter();this.oContainerRouter.getRoute(\"home\").attachMatched(this.onRouteMatched.bind(this,false));this.oContainerRouter.getRoute(\"openFLPPage\").attachMatched(this.onRouteMatched.bind(this,false))}})}).catch(this._handleErrors.bind(this))},_navigate:function(){this.oWorkPageNavContainer.to(this.byId(\"workPage\"))},onWorkPageBuilderCreated:function(e){this._oWorkPageBuilderComponent=e.getParameter(\"component\");this._oWorkPageBuilderComponentResolve(this._oWorkPageBuilderComponent)},_handleErrors:function(t){e.error(\"An error occurred while loading the page\",t);this.oWorkPageNavContainer.to(this.byId(\"errorPage\"))},onRouteMatched:function(){e.debug(\"cep/editMode: on Route matched\",\"Work Page runtime\");return this._getPageId().then(e=>{this._sPageId=e;return this._onWorkPageLoad()}).catch(this._handleErrors.bind(this)).then(()=>{n.emit(\"CloseFesrRecord\",Date.now())})},_onWorkPageLoad:async function(){this._oLoadWorkPageAndVisualizationsPromise=this.oWorkPageService.loadWorkPageAndVisualizations(this._sPageId,true);const[e,t]=await Promise.all([this._oWorkPageBuilderComponentCreatedPromise,this._oLoadWorkPageAndVisualizationsPromise]);this._oOriginalData=a({},t);await e.setPageData(t);this._navigate()},_getPageId:function(){if(r.last(\"/core/workPages/myHome/pageId\")){return Promise.resolve(r.last(\"/core/workPages/myHome/pageId\"))}return i.getPageAndSpaceId().then(e=>e.pageId)},hideRuntime:function(){e.debug(\"cep/editMode: navigate to empty page\",\"Page runtime\");this.oWorkPageNavContainer.to(this.oEmptyPage)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/functionBindPrototype\", [\"sap/base/Log\"],e=>{\"use strict\";e.error(\"The application uses an obsolete sap.ushell.functionBindPrototype module.\",\"The reference to this module has to be removed.\")},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/iconfonts\", [\"sap/ui/core/IconPool\"],F=>{\"use strict\";const E={};E.registerFiori2IconFont=function(){F.registerFont({fontFamily:\"SAP-icons-TNT\",collectionName:\"SAP-icons-TNT\",fontURI:sap.ui.require.toUrl(\"sap/tnt/themes/base/fonts/\"),lazy:true});F.registerFont({fontFamily:\"SAP-icons-TNT\",collectionName:\"TNTIcons\",fontURI:sap.ui.require.toUrl(\"sap/tnt/themes/base/fonts/\"),lazy:true});F.registerFont({fontFamily:\"BusinessSuiteInAppSymbols\",collectionName:\"BusinessSuiteInAppSymbols\",fontURI:sap.ui.require.toUrl(\"sap/ushell/themes/base/fonts/\"),lazy:true});const E={fontFamily:\"SAP-icons\",collectionName:\"Fiori2\",icons:[[\"F0017\",\"e05e\"],[\"F0020\",\"e0c3\"],[\"F0021\",\"e10d\"],[\"F0392\",\"e04f\"],[\"F0394\",\"e044\"],[\"F0395\",\"e132\"],[\"F0396\",\"e064\"],[\"F0397\",\"e0a4\"],[\"F0398\",\"e0a4\"],[\"F0399\",\"e044\"],[\"F0401\",\"e08d\"],[\"F0402\",\"e13e\"],[\"F0403\",\"e13e\"],[\"F0404\",\"e033\"],[\"F0405\",\"e0b3\"],[\"F0406\",\"e043\"],[\"F0407\",\"e043\"],[\"F0408\",\"e043\"],[\"F0409\",\"e075\"],[\"F0410\",\"e007\"],[\"F0411\",\"e075\"]]};const e={fontFamily:\"Fiori2\",collectionName:\"Fiori2\",icons:[[\"F0002\",\"E236\"],[\"F0003\",\"E202\"],[\"F0004\",\"E203\"],[\"F0005\",\"E204\"],[\"F0006\",\"E205\"],[\"F0009\",\"E206\"],[\"F0010\",\"E207\"],[\"F0012\",\"E208\"],[\"F0014\",\"E209\"],[\"F0018\",\"E200\"],[\"F0019\",\"E201\"],[\"F0023\",\"E20A\"],[\"F0024\",\"E20B\"],[\"F0025\",\"E20C\"],[\"F0026\",\"E20D\"],[\"F0072\",\"E23A\"],[\"F0100\",\"E23B\"],[\"F0101\",\"E23C\"],[\"F0102\",\"E23D\"],[\"F0106\",\"E20F\"],[\"F0144\",\"E210\"],[\"F0190\",\"E23E\"],[\"F0194\",\"E23F\"],[\"F0210\",\"E242\"],[\"F0211\",\"E243\"],[\"F0212\",\"E244\"],[\"F0217\",\"E211\"],[\"F0220\",\"E213\"],[\"F0243\",\"E215\"],[\"F0244\",\"E216\"],[\"F0245\",\"E217\"],[\"F0248\",\"E21A\"],[\"F0249\",\"E21B\"],[\"F0252\",\"E21E\"],[\"F0257\",\"E21F\"],[\"F0281\",\"E220\"],[\"F0282\",\"E221\"],[\"F0283\",\"E222\"],[\"F0284\",\"E223\"],[\"F0292\",\"E224\"],[\"F0295\",\"E225\"],[\"F0296\",\"E226\"],[\"F0316\",\"E227\"],[\"F0317\",\"E228\"],[\"F0321\",\"E229\"],[\"F0339\",\"E22A\"],[\"F0340\",\"E22B\"],[\"F0341\",\"E22C\"],[\"F0342\",\"E22D\"],[\"F0365\",\"E212\"],[\"F0366\",\"E22F\"],[\"F0367\",\"E230\"],[\"F0368\",\"E231\"],[\"F0369\",\"E235\"],[\"F0370\",\"E22E\"],[\"F0372\",\"E232\"],[\"F0380\",\"E233\"],[\"F0381\",\"E234\"],[\"F0382\",\"E246\"],[\"F0390\",\"E20E\"],[\"F0412\",\"E214\"],[\"F0429\",\"E2A6\"],[\"F0013\",\"E237\"],[\"F0016\",\"E238\"],[\"F0028\",\"E239\"],[\"F0029\",\"E283\"],[\"F0030\",\"E284\"],[\"F0031\",\"E285\"],[\"F0032\",\"E286\"],[\"F0033\",\"E287\"],[\"F0034\",\"E288\"],[\"F0036\",\"E289\"],[\"F0038\",\"E28A\"],[\"F0039\",\"E28B\"],[\"F0041\",\"E28C\"],[\"F0044\",\"E28D\"],[\"F0293\",\"E28E\"],[\"F0294\",\"E28F\"],[\"F0297\",\"E290\"],[\"F0298\",\"E291\"],[\"F0299\",\"E292\"],[\"F0300\",\"E293\"],[\"F0301\",\"E294\"],[\"F0302\",\"E295\"],[\"F0303\",\"E296\"],[\"F0304\",\"E297\"],[\"F0305\",\"E298\"],[\"F0306\",\"E299\"],[\"F0323\",\"E29A\"],[\"F0324\",\"E29B\"],[\"F0326\",\"E29C\"],[\"F0327\",\"E29D\"],[\"F0328\",\"E29E\"],[\"F0329\",\"E29F\"],[\"F0331\",\"E2A1\"],[\"F0332\",\"E2A2\"],[\"F0343\",\"E2A3\"],[\"F0344\",\"E2A4\"],[\"F0345\",\"E2A5\"],[\"F0388\",\"E2A7\"],[\"F0391\",\"E2A0\"],[\"F0260\",\"E2B4\"],[\"FD10n\",\"E2B5\"],[\"FK10n\",\"E2B6\"],[\"FS10n\",\"E2B7\"],[\"FBL5n\",\"E2B8\"],[\"FBL1n\",\"E2B9\"],[\"FFS01\",\"E2BA\"],[\"FBL3n\",\"E2BB\"],[\"FCOA1\",\"E2BC\"]]};const o={fontFamily:\"Fiori2\",collectionName:\"Fiori3\",icons:[[\"F0246\",\"E218\"],[\"F0247\",\"E219\"],[\"F0250\",\"E21C\"],[\"F0251\",\"E21D\"],[\"F0263\",\"E2A8\"],[\"F0508\",\"E2A9\"],[\"F0509\",\"E2AA\"],[\"F0510\",\"E2AB\"],[\"F0533\",\"E2AC\"],[\"F0534\",\"E2AD\"],[\"F0535\",\"E2AE\"],[\"F0536\",\"E2AF\"],[\"F0537\",\"E2B0\"],[\"F0538\",\"E2B1\"],[\"Lumira001\",\"E2B2\"]]};const i={fontFamily:\"Fiori2\",collectionName:\"Fiori4\",icons:[[\"F0194\",\"E2BD\"],[\"F0260\",\"E2B4\"],[\"F0433\",\"E2BE\"],[\"F0499\",\"E2BF\"],[\"F0500\",\"E2C0\"],[\"F0501\",\"E2C1\"],[\"F0502\",\"E2C2\"],[\"F0503\",\"E2C3\"],[\"F0504\",\"E2C4\"],[\"F0507\",\"E2C5\"],[\"F0530\",\"E2C6\"],[\"F0531\",\"E2C7\"],[\"F0539\",\"E2C8\"],[\"F0544\",\"E2C9\"],[\"F0545\",\"E2CA\"],[\"F0547\",\"E2CB\"],[\"F0576\",\"E2CC\"],[\"F0578\",\"E2CD\"],[\"F0579\",\"E2CE\"],[\"F0580\",\"E2CF\"],[\"F0581\",\"E2D0\"],[\"F0582\",\"E2D1\"],[\"F0583\",\"E2D2\"],[\"F0584\",\"E2D3\"],[\"F0586\",\"E2D4\"],[\"F0587\",\"E2D5\"],[\"F0588\",\"E2D6\"],[\"F0589\",\"E2D7\"],[\"F0590\",\"E2D8\"],[\"F0591\",\"E2D9\"],[\"F0593\",\"E2DA\"],[\"F0594\",\"E2DB\"],[\"F0597\",\"E2DC\"],[\"F0603\",\"E2DD\"],[\"F0604\",\"E2DE\"],[\"F0605\",\"E2DF\"],[\"F0606\",\"E2E0\"],[\"F0607\",\"E2E1\"],[\"F0608\",\"E2E2\"],[\"F0609\",\"E2E3\"],[\"F0615\",\"E2E4\"],[\"F0616\",\"E2E5\"],[\"F0618\",\"E2E6\"],[\"F0617\",\"E2E7\"],[\"F0622\",\"E2E8\"],[\"F0623\",\"E2E9\"],[\"F0624\",\"E2EA\"],[\"F0625\",\"E2EB\"],[\"F0626\",\"E2EC\"],[\"F0627\",\"E2ED\"],[\"F0629\",\"E2EE\"],[\"F0630\",\"E2EF\"],[\"F0632\",\"E2F0\"],[\"F0633\",\"E2F1\"],[\"F0634\",\"E2F2\"],[\"F0635\",\"E2F3\"],[\"F0636\",\"E2F4\"],[\"F0638\",\"E2F5\"],[\"F0639\",\"E2F6\"],[\"F0643\",\"E2F7\"],[\"F0644\",\"E2F8\"],[\"F0645\",\"E2F9\"],[\"F0646\",\"E2FA\"],[\"F0648\",\"E2FB\"],[\"F0649\",\"E2FC\"],[\"F0650\",\"E2FD\"],[\"F0654\",\"E2FE\"],[\"F0655\",\"E2FF\"],[\"F0659\",\"E300\"],[\"F0660\",\"E301\"],[\"F0661\",\"E302\"],[\"F0665\",\"E303\"],[\"F0666\",\"E304\"],[\"F0667\",\"E305\"],[\"F0671\",\"E306\"],[\"F0672\",\"E307\"],[\"F0673\",\"E308\"],[\"F0675\",\"E309\"],[\"F0676\",\"E30A\"],[\"F0677\",\"E30B\"],// License Blocked Documents\n[\"F0678\",\"E30C\"],[\"F0679\",\"E30D\"],[\"F0680\",\"E30E\"],[\"F0682\",\"E30F\"],[\"F0683\",\"E310\"],[\"F0684\",\"E240\"],[\"F0685\",\"E312\"],[\"F0686\",\"E313\"],[\"F0687\",\"E314\"],[\"F0690\",\"E315\"],[\"F0691\",\"E316\"],[\"F0692\",\"E317\"],[\"F0693\",\"E318\"],[\"F0694\",\"E319\"],[\"F0695\",\"E31A\"],[\"F0700\",\"E31B\"],[\"F0598\",\"E31C\"]]};const n={fontFamily:\"Fiori2\",collectionName:\"Fiori5\",icons:[[\"F2001\",\"E31E\"],[\"F0839\",\"E320\"],[\"F0263\",\"E321\"],[\"F0266\",\"E322\"],[\"F0270\",\"E323\"],[\"F0273\",\"E324\"],[\"F0439\",\"E325\"],[\"F0443\",\"E326\"],[\"F0549\",\"E327\"],[\"F0550\",\"E328\"],[\"F0551\",\"E329\"],[\"F0577\",\"E32A\"],[\"F0585\",\"E32B\"],[\"F0637\",\"E32C\"],[\"F0668\",\"E32D\"],[\"F0669\",\"E32E\"],[\"F0670\",\"E330\"],[\"F0688\",\"E331\"],[\"F0689\",\"E332\"],[\"F0701\",\"E333\"],[\"F0702\",\"E334\"],[\"F0703\",\"E335\"],[\"F0706\",\"E336\"],[\"F0707\",\"E337\"],[\"F0708\",\"E338\"],[\"F0711\",\"E339\"],[\"F0712\",\"E33A\"],[\"F0731\",\"E33B\"],[\"F0732\",\"E33C\"],[\"F0733\",\"E33D\"],[\"F0735\",\"E33E\"],[\"F0736\",\"E340\"],[\"F0737\",\"E341\"],[\"F0742\",\"E342\"],[\"F0743\",\"E343\"],[\"F0744\",\"E344\"],[\"F0745\",\"E345\"],[\"F0746\",\"E346\"],[\"F0747\",\"E347\"],[\"F0748\",\"E348\"],[\"F0749\",\"E349\"],[\"F0750\",\"E34A\"],[\"F0751\",\"E34B\"],[\"F0755\",\"E34C\"],[\"F0756\",\"E34D\"],[\"F0757\",\"E34E\"],[\"F0758\",\"E350\"],[\"F0759\",\"E351\"],[\"F0760\",\"E352\"],[\"F0761\",\"E353\"],[\"F0763\",\"E354\"],[\"F0764\",\"E355\"],[\"F0765\",\"E356\"],[\"F0768\",\"E357\"],[\"F0770\",\"E358\"],[\"F0771\",\"E359\"],[\"F0772\",\"E35A\"],[\"F0774\",\"E35B\"],[\"F0776\",\"E35C\"],[\"F0777\",\"E35D\"],[\"F0778\",\"E35E\"],[\"F0788\",\"E360\"],[\"F0789\",\"E361\"],[\"F0790\",\"E362\"],[\"F0791\",\"E363\"],[\"F0792\",\"E364\"],[\"F0793\",\"E365\"],[\"F0794\",\"E366\"],[\"F0806\",\"E367\"],[\"F0807\",\"E368\"],[\"F0808\",\"E369\"],[\"F0809\",\"E36A\"],[\"F0810\",\"E36B\"],[\"F0811\",\"E36C\"],[\"F0812\",\"E36D\"],[\"F0813\",\"E36E\"],[\"F0814\",\"E370\"],[\"F0815\",\"E371\"],[\"F0816\",\"E372\"],[\"F0817\",\"E373\"],[\"F0818\",\"E374\"],[\"F0819\",\"E375\"],[\"F0820\",\"E376\"],[\"F0821\",\"E377\"],[\"F0822\",\"E378\"],[\"F0823\",\"E379\"],[\"F0824\",\"E37A\"],[\"F0825\",\"E37B\"],[\"F0826\",\"E37C\"],[\"F0827\",\"E37D\"],[\"F0828\",\"E37E\"],[\"F0829\",\"E380\"],[\"F0830\",\"E381\"],[\"F0831\",\"E382\"],[\"F0717\",\"E384\"],[\"F0718\",\"E383\"],[\"F0241\",\"E385\"],[\"F0246\",\"E386\"],[\"F0250\",\"E387\"],[\"F0248\",\"E388\"],[\"F0252\",\"E389\"],[\"F0600\",\"E38A\"],[\"F0674\",\"E38B\"],[\"F0247\",\"E38E\"],[\"F0251\",\"E390\"]]};const t={fontFamily:\"Fiori2\",collectionName:\"Fiori6\",icons:[[\"F0670-1\",\"E393\"],[\"F0670-2\",\"E394\"],[\"F0670-3\",\"E395\"],[\"F0670-4\",\"E396\"],[\"F0795\",\"E397\"],[\"F0866\",\"E3A0\"],[\"F0865\",\"E3A1\"],[\"F0867\",\"E3A2\"],[\"F0868\",\"E3A3\"],[\"F0869\",\"E3A4\"],[\"F0870\",\"E3A5\"],[\"F0138\",\"E3A6\"],[\"F0752\",\"E3A7\"],[\"F0753\",\"E3A8\"],[\"F0773\",\"E3A9\"],[\"F0891\",\"E3AA\"],[\"F0892\",\"E3AB\"],[\"F1023\",\"E3AC\"],[\"F0767\",\"E3AD\"],[\"F0849\",\"E3AE\"]]};const s={fontFamily:\"Fiori2\",collectionName:\"Fiori7\",icons:[[\"F1079\",\"E3B0\"],[\"F0738\",\"E3B1\"],[\"F1301\",\"E3B2\"],[\"F1302\",\"E3B3\"],[\"F1303\",\"E3B4\"],[\"F1338\",\"E3B5\"],[\"F1263\",\"E3B6\"],[\"F1373\",\"E3B7\"],[\"F0863\",\"E3B8\"],[\"F0955\",\"E3B9\"],[\"F1068\",\"E3BA\"],[\"F1242\",\"E3BB\"],[\"F1405\",\"E3BC\"],[\"F1406\",\"E3BD\"],[\"F1407\",\"E3BE\"],[\"F1408\",\"E3BF\"],[\"F1409\",\"E3C0\"],[\"F1410\",\"E3C1\"],[\"F1411\",\"E3C2\"],[\"F1412\",\"E3C3\"],[\"F1413\",\"E3C4\"],[\"F1414\",\"E3C5\"],[\"F1415\",\"E3C6\"],[\"F1476\",\"E3C7\"],[\"F0797\",\"E3C8\"],[\"F0798\",\"E3C9\"],[\"F0800\",\"E3CA\"],[\"F0801\",\"E3CB\"],[\"F0804\",\"E3CC\"],[\"F0850\",\"E3CD\"],[\"F0890\",\"E3CE\"],[\"F1075\",\"E3CF\"],[\"F1394\",\"E3D0\"],[\"F1061\",\"E3D1\"],[\"F1062\",\"E3D2\"],[\"F1255\",\"E3D3\"],[\"F1077\",\"E3D4\"],[\"F0843\",\"E3D5\"],[\"F1076\",\"E3D6\"],[\"F0859\",\"E3D7\"],[\"F1060\",\"E3D8\"],[\"F1053\",\"E3D9\"],[\"F0900\",\"E3DA\"],[\"F0840\",\"E3DB\"],[\"F0842-1\",\"E3A6\"],[\"F0842-2\",\"E22C\"]]};const a={fontFamily:\"Fiori2\",collectionName:\"Fiori8\",icons:[[\"F1317\",\"E3DC\"],[\"F1318\",\"E3DD\"],[\"F1319\",\"E3DE\"],[\"F1369\",\"E3DF\"],[\"F1475\",\"E3E0\"],[\"F1345\",\"E3E1\"],[\"F1248\",\"E3E2\"],[\"F1067\",\"E3E3\"],[\"F1332\",\"E3E4\"],[\"F1333\",\"E3E5\"],[\"F1334\",\"E3E6\"],[\"F1335\",\"E3E7\"],[\"F1520\",\"E3E8\"],[\"F1457\",\"E3E9\"],[\"F1504\",\"E3EA\"],[\"F1505\",\"E3EB\"]]};const r={fontFamily:\"Fiori2\",collectionName:\"Fiori9\",icons:[[\"F1094\",\"E3EC\"],[\"F1096\",\"E3ED\"],[\"F1353\",\"E3EE\"],[\"F1354\",\"E3EF\"],[\"F1428\",\"E3F0\"],[\"F1492\",\"E3F1\"],[\"F1515\",\"E3F2\"],[\"F1516\",\"E3F3\"],[\"F0997\",\"E400\"],[\"F1512\",\"E401\"],[\"F1562\",\"E402\"],[\"F1564\",\"E403\"],[\"F1599\",\"E404\"],[\"F1596\",\"E405\"],[\"F1254\",\"E406\"],[\"F1618\",\"E407\"],[\"F1561\",\"E408\"],[\"learning-compass\",\"E409\"],[\"partner-enablement\",\"E40A\"]]};const c={fontFamily:\"Fiori2\",collectionName:\"S4Hana\",icons:[[\"S0001\",\"E3F4\"],[\"S0002\",\"E3F5\"],[\"S0003\",\"E3F6\"],[\"S0004\",\"E3F7\"],[\"S0005\",\"E3F8\"],[\"S0006\",\"E3F9\"],[\"S0007\",\"E3FA\"],[\"S0008\",\"E3FB\"],[\"S0009\",\"E3FC\"],[\"S0010\",\"E3FD\"],[\"S0011\",\"E3FE\"],[\"S0012\",\"E3FF\"]]};const l={fontFamily:\"FioriInAppIcons\",collectionName:\"FioriInAppIcons\",icons:[[\"Hierarchal Tree\",\"e700\"],[\"Open\",\"e701\"],[\"Blocked\",\"e702\"],[\"Partially Blocked\",\"e703\"],[\"Open1\",\"e704\"],[\"Partially Adopted\",\"e705\"],[\"Due\",\"e706\"],[\"Overdue\",\"e707\"],[\"Sort\",\"e708\"],[\"Missing Parts\",\"e709\"],[\"Fire\",\"e70a\"],[\"Dangerous Chemicals\",\"e70b\"],[\"Share\",\"e70c\"],[\"Entertainment\",\"e70d\"],[\"Gift\",\"e70e\"],[\"QR Code\",\"e70f\"],[\"Wifi-Online\",\"e710\"],[\"Wifi-Offline\",\"e711\"],[\"Sunrise\",\"e712\"],[\"Sunset\",\"e713\"],[\"Afternoon\",\"e714\"],[\"Night\",\"e715\"],[\"Loading Date\",\"e715\"],[\"Cloudy\",\"e717\"],[\"Rain\",\"e718\"],[\"Storm\",\"e719\"],[\"Partly Sunny\",\"e71a\"],[\"Heavy Rain\",\"e71b\"],[\"Foggy\",\"e71c\"],[\"Snow\",\"e71d\"],[\"Risk Assessment\",\"e71e\"],[\"Database\",\"e71f\"],[\"Marine\",\"e720\"],[\"Blister\",\"e721\"],[\"Pills\",\"e722\"],[\"Main-Sequence\",\"e723\"],[\"Parallel Sequence\",\"e724\"],[\"Alternative Sequence\",\"e725\"],[\"3D\",\"e726\"],[\"Presentation\",\"e727\"],[\"Mute\",\"e728\"],[\"Windy\",\"e729\"],[\"Oil Tank\",\"e72a\"],[\"Location Assets\",\"e72b\"],[\"Transport Systems\",\"e72c\"],[\"Field\",\"e72d\"],[\"Field Group\",\"e72e\"],[\"Record\",\"e730\"],[\"Record Group\",\"e731\"]]};const A={fontFamily:\"Fiori2\",collectionName:\"FioriNonNative\",icons:[[\"FN0001\",\"E392\"],[\"FN0002\",\"E398\"],[\"FN0003\",\"E399\"],[\"FN0004\",\"E39A\"],[\"FN0005\",\"E39B\"],[\"FN0006\",\"E39C\"],[\"FN0007\",\"E39D\"],[\"FN0008\",\"E39E\"],[\"FN0009\",\"E39F\"]]};this.registerFonts(e,E,o,i,n,t,s,a,r,l,A,c)};E.registerFonts=function(...E){E.forEach(E=>{E.icons.forEach(e=>{F.addIcon(e[0],E.collectionName,{fontFamily:E.fontFamily,content:e[1],overWrite:false,suppressMirroring:true})})})};return E},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/library\", [\"sap/ui/base/DataType\",\"sap/ui/core/Lib\",\"sap/ui/core/library\",\"sap/m/library\"],(e,a,l,t)=>{\"use strict\";const s=a.init({name:\"sap.ushell\",apiVersion:2,version:\"1.139.0\",dependencies:[\"sap.ui.core\",\"sap.m\"],types:[\"sap.ushell.AllMyAppsState\",\"sap.ushell.AllMyAppsProviderType\",\"sap.ushell.AppTitleState\",\"sap.ushell.ContentNodeType\",\"sap.ushell.appIntegration.contracts.StatefulType\",\"sap.ushell.components.container.ApplicationType\",\"sap.ushell.DisplayFormat\",\"sap.ushell.NavigationState\",\"sap.ushell.ui.launchpad.ViewPortState\",\"sap.ushell.ui.tile.State\",\"sap.ushell.ui.tile.StateArrow\",\"sap.ushell.VisualizationLoadState\",\"sap.ushell.AppType\",\"sap.ushell.FloatingNumberType\"],interfaces:[\"sap.ushell.renderer.INavContainerPage\"],controls:[\"sap.ushell.appIntegration.ApplicationContainer\",\"sap.ushell.appIntegration.IframeApplicationContainer\",\"sap.ushell.appIntegration.UI5ApplicationContainer\",\"sap.ushell.components.container.ApplicationContainer\",\"sap.ushell.components.factsheet.controls.PictureTile\",\"sap.ushell.components.factsheet.controls.PictureViewer\",\"sap.ushell.components.factsheet.controls.PictureViewerItem\",\"sap.ushell.components.shell.Settings.userDefaults.UserDefaultsForm\",\"sap.ushell.components.tiles.sbtilecontent\",\"sap.ushell.components.workPageBuilder.controls.WorkPage\",\"sap.ushell.components.workPageBuilder.controls.WorkPageButton\",\"sap.ushell.components.workPageBuilder.controls.WorkPageCell\",\"sap.ushell.components.workPageBuilder.controls.WorkPageColumn\",\"sap.ushell.components.workPageBuilder.controls.WorkPageColumnResizer\",\"sap.ushell.components.workPageBuilder.controls.WorkPageRow\",\"sap.ushell.renderer.NavContainer\",\"sap.ushell.ui.launchpad.VizInstance\",\"sap.ushell.ui.launchpad.VizInstanceBase\",\"sap.ushell.ui.launchpad.VizInstanceAbap\",\"sap.ushell.ui.launchpad.VizInstanceCdm\",\"sap.ushell.ui.launchpad.VizInstanceLaunchPage\",\"sap.ushell.ui.launchpad.VizInstanceLink\",\"sap.ushell.ui.AppContainer\",\"sap.ushell.ui.ContentNodeSelector\",\"sap.ushell.ui.ContentNodeTreeItem\",\"sap.ushell.ui.CustomGroupHeaderListItem\",\"sap.ushell.ui.ShellHeader\",\"sap.ushell.ui.appfinder.AppBox\",\"sap.ushell.ui.appfinder.AppBoxInternal\",\"sap.ushell.ui.appfinder.PinButton\",\"sap.ushell.ui.footerbar.AboutButton\",\"sap.ushell.ui.footerbar.AddBookmarkButton\",\"sap.ushell.ui.footerbar.ContactSupportButton\",\"sap.ushell.ui.footerbar.JamDiscussButton\",\"sap.ushell.ui.footerbar.JamShareButton\",\"sap.ushell.ui.footerbar.LogoutButton\",\"sap.ushell.ui.footerbar.SendAsEmailButton\",\"sap.ushell.ui.launchpad.ActionItem\",\"sap.ushell.ui.launchpad.AnchorItem\",\"sap.ushell.ui.launchpad.AnchorNavigationBar\",\"sap.ushell.ui.launchpad.CatalogEntryContainer\",\"sap.ushell.ui.launchpad.CatalogsContainer\",\"sap.ushell.ui.launchpad.DashboardGroupsContainer\",\"sap.ushell.ui.launchpad.GroupHeaderActions\",\"sap.ushell.ui.launchpad.GroupListItem\",\"sap.ushell.ui.launchpad.LinkTileWrapper\",\"sap.ushell.ui.launchpad.LoadingDialog\",\"sap.ushell.ui.launchpad.Page\",\"sap.ushell.ui.launchpad.PlusTile\",\"sap.ushell.ui.launchpad.Section\",\"sap.ushell.ui.launchpad.Tile\",\"sap.ushell.ui.launchpad.TileContainer\",\"sap.ushell.ui.launchpad.TileState\",\"sap.ushell.ui.launchpad.TileStateInternal\",\"sap.ushell.ui.launchpad.section.CompactArea\",\"sap.ushell.ui.shell.FloatingContainer\",\"sap.ushell.ui.shell.NavigationMiniTile\",\"sap.ushell.ui.shell.OverflowListItem\",\"sap.ushell.ui.shell.RightFloatingContainer\",\"sap.ushell.ui.shell.ShellAppTitle\",\"sap.ushell.ui.shell.ShellFloatingAction\",\"sap.ushell.ui.shell.ShellFloatingActions\",\"sap.ushell.ui.shell.ShellHeadItem\",\"sap.ushell.ui.shell.ShellNavigationMenu\",\"sap.ushell.ui.shell.SidePane\",\"sap.ushell.ui.shell.SubHeader\",\"sap.ushell.ui.shell.SysInfoBar\",\"sap.ushell.ui.shell.ToolArea\",\"sap.ushell.ui.shell.ToolAreaItem\",\"sap.ushell.ui.tile.DynamicTile\",\"sap.ushell.ui.tile.ImageTile\",\"sap.ushell.ui.tile.StaticTile\",\"sap.ushell.ui.tile.TileBase\"],elements:[\"sap.ushell.ui.launchpad.AccessibilityCustomData\"],extensions:{\"sap.ui.support\":{diagnosticPlugins:[\"sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin\"]}}});s.AllMyAppsState={FirstLevel:\"FirstLevel\",SecondLevel:\"SecondLevel\",Details:\"Details\",FirstLevelSpread:\"FirstLevelSpread\"};s.AllMyAppsProviderType={HOME:0,EXTERNAL:1,CATALOG:2};s.AppTitleState={ShellNavMenuOnly:\"ShellNavMenuOnly\",AllMyAppsOnly:\"AllMyAppsOnly\",ShellNavMenu:\"ShellNavMenu\",AllMyApps:\"AllMyApps\"};s.ContentNodeType={HomepageGroup:\"HomepageGroup\",Space:\"Space\",Page:\"Page\",Visualization:\"Visualization\"};s.appIntegration=s.appIntegration||{};s.appIntegration.contracts=s.appIntegration.contracts||{};s.appIntegration.contracts.StatefulType={NotSupported:\"NotSupported\",ContractV1:\"ContractV1\",ContractV2:\"ContractV2\"};e.registerEnum(\"sap.ushell.appIntegration.contracts.StatefulType\",s.appIntegration.contracts.StatefulType);s.components=s.components||{};s.components.container=s.components.container||{};s.components.container.ApplicationType={NWBC:\"NWBC\",SAPUI5:\"SAPUI5\",TR:\"TR\",URL:\"URL\",WCF:\"WCF\",WDA:\"WDA\"};e.registerEnum(\"sap.ushell.components.container.ApplicationType\",s.components.container.ApplicationType);s.DisplayFormat={Standard:\"standard\",Compact:\"compact\",Flat:\"flat\",FlatWide:\"flatWide\",StandardWide:\"standardWide\"};e.registerEnum(\"sap.ushell.DisplayFormat\",s.DisplayFormat);s.NavigationState={InProgress:\"InProgress\",Finished:\"Finished\"};s.ui=s.ui||{};s.ui.launchpad=s.ui.launchpad||{};s.ui.launchpad.ViewPortState={Left:\"Left\",Center:\"Center\",Right:\"Right\",LeftCenter:\"LeftCenter\",CenterLeft:\"CenterLeft\",RightCenter:\"RightCenter\",CenterRight:\"CenterRight\"};s.ui.tile=s.ui.tile||{};s.ui.tile.State={Neutral:\"Neutral\",None:\"None\",Negative:\"Negative\",Error:\"Error\",Positive:\"Positive\",Success:\"Success\",Critical:\"Critical\",Warning:\"Warning\"};e.registerEnum(\"sap.ushell.ui.tile.State\",s.ui.tile.State);s.ui.tile.StateArrow={None:\"None\",Up:\"Up\",Down:\"Down\"};e.registerEnum(\"sap.ushell.ui.tile.StateArrow\",s.ui.tile.StateArrow);s.VisualizationLoadState={Loading:\"Loading\",Loaded:\"Loaded\",InsufficientRoles:\"InsufficientRoles\",OutOfRoleContext:\"OutOfRoleContext\",NoNavTarget:\"NoNavTarget\",Failed:\"Failed\",Disabled:\"Disabled\"};s.AppType={OVP:\"OVP\",SEARCH:\"Search\",FACTSHEET:\"FactSheet\",COPILOT:\"Co-Pilot\",URL:\"External Link\",APP:\"Application\"};s.FloatingNumberType={None:\"None\",Notifications:\"Notifications\",OverflowButton:\"OverflowButton\"};e.registerEnum(\"sap.ushell.FloatingNumberType\",s.FloatingNumberType);s.NavigationBarMenuState={Button:\"Button\",Menu:\"Menu\"};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/modules/NavigationMenu\", [\"sap/ushell/Config\"],i=>{\"use strict\";const e={Docked:\"Docked\",Popover:\"Popover\"};class o{NavigationMenuMode=e;constructor(){i.emit(\"/core/sideNavigation/enabled\",true)}setNavigationListProvider(e,o){i.emit(\"/core/sideNavigation/navigationListProvider\",{modulePath:e,configuration:JSON.stringify(o||{})})}setFixedNavigationListProvider(e,o){i.emit(\"/core/sideNavigation/fixedNavigationListProvider\",{modulePath:e,configuration:JSON.stringify(o||{})})}setMode(o){if(o!==e.Docked&&o!==e.Popover){throw new Error(`Invalid mode: ${o}`)}i.emit(\"/core/sideNavigation/mode\",o)}}return new o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/navigation/NavigationState\", [\"sap/ui/base/EventProvider\"],n=>{\"use strict\";class i{#n=false;#i=new n;startNavigation(){if(this.#n){return}this.#n=true;this.#i.fireEvent(\"navigationStateChanged\",{isNavigationRunning:this.#n})}endNavigation(){if(!this.#n){return}this.#n=false;this.#i.fireEvent(\"navigationStateChanged\",{isNavigationRunning:this.#n})}isNavigationRunning(){return this.#n}attachNavigationStateChanged(...n){this.#i.attachEvent(\"navigationStateChanged\",...n)}detachNavigationStateChanged(...n){this.#i.detachEvent(\"navigationStateChanged\",...n)}reset(){this.destroy();this.#i=new n;this.#n=false}destroy(){this.#i.destroy()}}return new i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/navigationMode\", [\"sap/base/Log\",\"sap/base/util/isPlainObject\",\"sap/ushell/Config\"],(e,n,a)=>{\"use strict\";const i={};const o=function(n){let a=true;if(n){if(typeof n!==\"object\"){a=false}else{Object.keys(n).forEach(e=>{if([\"GUI\",\"WDA\",\"WCF\"].indexOf(e)===-1){a=false}else if(typeof n[e]!==\"boolean\"){a=false}})}}if(!a){e.error(\"Invalid parameter: 'enableInPlaceForClassicUIs' must be an object; allowed properties: GUI|WDA, type boolean\",`Actual parameter: ${JSON.stringify(n)}`,\"sap.ushell.services.navigationMode\")}};const t=function(e){switch(e){case\"TR\":return\"GUI\";case\"WDA\":return\"WDA\";case\"WCF\":return\"WCF\";default:return undefined}};i._isInplaceEnabledForApplicationType=function(e){const i=a.last(\"/core/navigation/enableInPlaceForClassicUIs\");o(i);if(n(i)){return i[t(e)]}return false};i._getInternalNavigationMode=function(n,a){const i=a.applicationType;const o={SAPUI5:{inplace:\"embedded\",explace:\"newWindowThenEmbedded\",frameless:\"newWindowThenEmbedded\"},WDA:{inplace:\"embedded\",explace:\"newWindowThenEmbedded\",frameless:\"newWindow\"},TR:{inplace:\"embedded\",explace:\"newWindowThenEmbedded\",frameless:\"newWindow\"},URL:{inplace:\"embedded\",explace:\"newWindow\",frameless:\"newWindow\"},WCF:{inplace:\"embedded\",explace:\"newWindowThenEmbedded\",frameless:\"newWindow\"}};if(!o.hasOwnProperty(i)){e.error(`${i} is not a valid application type`,`expected one of ${Object.keys(o).join(\", \")}`,\"sap.ushell.navigationMode\");return null}if(n!==\"inplace\"&&n!==\"explace\"&&n!==\"frameless\"){e.error(`${n} is not a valid external navigation mode`,\"expected one of 'inplace', 'explace' or 'frameless'\",\"sap.ushell.navigationMode\");return null}if(i===\"SAPUI5\"&&n===\"frameless\"){e.error(`'${n}' is not a valid external navigation mode for application type '${i}'`,`falling back to internal navigation mode '${o.SAPUI5.frameless}'`,\"sap.ushell.navigationMode\")}if(i===\"URL\"){const i=a.appCapabilities?a.appCapabilities.templateNavigationMode:undefined;if(i){const a={embedded:{inplace:\"embedded\",explace:\"newWindowThenEmbedded\",frameless:\"newWindowThenEmbedded\"},standalone:{inplace:\"newWindow\",explace:\"newWindow\",frameless:\"newWindow\"}};if(i===\"standalone\"&&n===\"inplace\"){e.warning(\"Inplace navigation was requested for an app that supports only standalone mode! 'newWindow' used instead...\",\"sap.ushell.navigationMode\")}if(i===\"embedded\"&&n===\"frameless\"){e.warning(\"Frameless navigation was requested for an app that supports only embedded mode! 'newWindowThenEmbedded' used instead...\",\"sap.ushell.navigationMode\")}return a[i][n]}}return o[i][n]};i.getExternalNavigationMode=function(n){const a={embedded:\"inplace\",newWindowThenEmbedded:\"explace\",replace:\"inplace\",newWindow:\"explace\"};if(!a.hasOwnProperty(n)){e.error(`${n} is not a recognized internal navigation mode`,`expected one of ${Object.keys(a).join(\",\")}`,\"sap.ushell.navigationMode\");return null}return a[n]};const d=[\"NWBC\",\"WDA\",\"TR\",\"WCF\"];i.getNavigationMode=function(n,a,o){const t=n.additionalInformation;const l=n.applicationType;let s;let r;const p={navigationMode:undefined,explicitNavMode:false};if([\"inplace\",\"explace\"].indexOf(o)>=0){p[\"sap-ushell-next-navmode\"]=o}if([\"inplace\",\"explace\",\"frameless\"].indexOf(a)>=0){const o=i._getInternalNavigationMode(a,n);e.debug(`Navigation mode was forced to ${o} because sap-ushell-navmode parameter was set to ${a} for target`,\"sap.ushell.navigationMode\");p.navigationMode=o;p.explicitNavMode=true;return p}if(i._isInplaceEnabledForApplicationType(l)===true){p.navigationMode=i._getInternalNavigationMode(\"inplace\",n)}if(n.appCapabilities&&n.appCapabilities.navigationMode){p.navigationMode=n.appCapabilities.navigationMode;return p}if((t===null||typeof t===\"string\"||typeof t===\"undefined\")&&(l===\"URL\"||l===\"SAPUI5\")){if(t&&t.indexOf(\"managed=\")===0){if(t===\"managed=FioriWave1\"){p.navigationMode=\"embedded\";return p}if(t===\"managed=\"){p.navigationMode=\"newWindow\";return p}return p}if(t&&t.indexOf(\"SAPUI5.Component=\")===0){s=\"[a-zA-Z0-9_]+\";r=[\"^SAPUI5.Component=\",s,\"([.]\",s,\")*$\"].join(\"\");if(!new RegExp(r).test(t)){e.warning([\"The UI5 component name in\",t,\"is not valid.\",\"Please use names satisfying\",r].join(\" \"))}p.navigationMode=\"embedded\";return p}p.navigationMode=\"newWindow\";return p}if(p.navigationMode===undefined){if(d.indexOf(l)>-1){p.navigationMode=\"newWindowThenEmbedded\"}else if(l===\"SAPUI5\"){p.navigationMode=\"embedded\"}else{p.navigationMode=\"newWindow\";e.error(`Invalid ApplicationType: ${l}`)}}return p};i.computeNavigationModeForHomepageTiles=function(e,n,a){const i={applicationType:e,additionalInformation:n};if(d.indexOf(e)>-1&&a){return\"embedded\"}return this.getNavigationMode(i).navigationMode};return i},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/override\", [\"sap/m/GroupHeaderListItem\",\"sap/ui/base/ManagedObject\",\"sap/base/util/uid\",\"sap/base/util/each\"],(t,e,n,s)=>{\"use strict\";const i={};i.updateAggregation=function(t){if(this.isTreeBinding(t)){e.prototype.updateAggregation.apply(this,arguments)}else{const s=this.mBindingInfos[t];const o=s.binding;const r=o.getContexts();const a=s.factory;const g=this.getMetadata().getJSONKeys()[t];const d=`${g._sMutator}Group`;const l=o.isGrouped()&&this[d];let u=[];const p=function(t){const e=`${this.getId()}-${n()}`;const i=a(e,t);if(i.isA(\"sap.ui.integration.widgets.Card\")){i.setBindingContext(t,\"ushellCardModel\")}else{i.setBindingContext(t,s.model)}this[g._sMutator](i)}.bind(this);if(l){e.prototype.updateAggregation.apply(this,arguments)}else{u=this[g._sGetter]();i._adaptCurrentGroup(r,u);i._updateCurrentGroup(r,u,s.model,p);u.length=r.length}}};i._adaptCurrentGroup=function(t,e){let n;let s;let i;for(n=0;n<t.length;n++){s=!!(e[n]&&e[n].isA(\"sap.ui.integration.widgets.Card\"));i=!!t[n].getProperty(`${t[n].sPath}/isCard`);if(s||i){let t=n;for(;t<e.length;t++){e[t].destroy()}break}}};i._updateCurrentGroup=function(t,e,n,s){let i;for(i=0;i<t.length;i++){if(i<e.length&&!e[i].bIsDestroyed){e[i].setBindingContext(t[i],n)}else{s(t[i])}}for(;i<e.length;++i){e[i].destroy()}};i.updateAggregationGrouped=function(e){const n=this.mBindingInfos[e];const i=n.binding;const o=n.factory;let r;let a=null;let g=null;let d=null;const l=this;let u=l.getItems();let p=0;let c=0;let f;let h;const y=[];g=i.isGrouped()&&this.addItemGroup;s(i.getContexts(),(e,m)=>{if(g&&i.aSorters.length>0){a=i.aSorters[0].fnGroup(m);if(typeof a===\"string\"){a={key:a}}if(a.key!==d){let e;let s;if(n.groupHeaderFactory){e=n.groupHeaderFactory(a)}s=e||new t({title:a.text||a.key}).addStyleClass(\"sapMListHdr\");l.insertAggregation(\"items\",s,c,true);c=c+1;d=a.key}}u=l.getItems();for(f=c;f<u.length;f=f+1){if(u[f].constructor===t){y.push(l.removeItem(u[f]));u=l.getItems()}}if(c<u.length){u[c].setBindingContext(m,n.model);if(u[c].aDelegates){s(u[c].aDelegates,(t,e)=>{e.vThis=m})}}else{h=`${l.getId()}-${c}`;r=o(h,m);r.setBindingContext(m,n.model);l.addItem(r)}c=c+1;p=c});for(f=u.length-1;f>=p;f=f-1){y.push(l.removeItem(u[f]))}setTimeout(()=>{s(y,(t,e)=>{e.destroy()})},1)};i.updateAggregatesFactory=function(t){return function(){i.updateAggregation.bind(this)(t)}};return i},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/performance/FesrEnhancer\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/ui/performance/trace/FESR\",\"sap/ushell/EventHub\",\"sap/ushell/performance/ShellAnalytics\"],(e,t,n,r,a)=>{\"use strict\";const s=\"FesrEnhancer\";const i=\"[FesrFlp]\";const o={HOME_INITIAL:\"FLP@LOAD\",HOME_LOADING:\"FLP@DURING_LOAD\",FINDER_INITIAL:\"FLP@LOAD_FINDER\",APP_INITIAL:\"FLP@DEEP_LINK\",NAVIGATION:\"NAVIGATION\",CUSTOM_HOME_INITIAL:\"FLPCUSTOMHOME\"};const c=[o.HOME_INITIAL,o.FINDER_INITIAL,o.CUSTOM_HOME_INITIAL,o.APP_INITIAL];const l={APP_START:1,STEP_IN_APP:2,UNKNOWN:3};const u=[\"stepName\",\"appNameLong\",\"appNameShort\",\"interactionType\",\"timeToInteractive\"];const p={stepName:{maxLength:20,postfix:\"@H2H\"},appNameShort:{maxLength:20}};const d={_fnOriginalOnBeforeCreated:null,_oLastTrackedRecord:null,init:function(){if(n.getActive()){a.enable();this._fnOriginalOnBeforeCreated=n.onBeforeCreated;n.onBeforeCreated=this._onBeforeCreatedHandler.bind(this)}},reset:function(){n.onBeforeCreated=this._fnOriginalOnBeforeCreated;a.disable();this._setLastTrackedRecord(null)},_getPerformanceEntries:function(e,t){if(t){return performance.getEntriesByName(e)}return performance.getEntriesByType(\"mark\").filter(t=>t.name.includes(e))},_getLastTrackedApplicationId:function(){const e=a.getCurrentApplication();if(e){return e.id}return null},_getLastTrackedRecord:function(){return this._oLastTrackedRecord},_setLastTrackedRecord:function(e){this._oLastTrackedRecord=e},_getLastFesrHandle:function(){const e=this._oLastFesrHandle;this._oLastFesrHandle=undefined;return e!==undefined?e:null},_setLastFesrHandle:function(e){this._oLastFesrHandle=e},_onBeforeCreatedHandler:function(n,a){let l=t({},n);try{const{scenario:t,relatedRecord:n}=this._detectScenario(l);e.debug(`${i} identified scenario: ${t}`,null,s);const a=this._getLastTrackedApplicationId();if(a){l.appNameShort=a}let u;switch(t){case o.HOME_INITIAL:case o.CUSTOM_HOME_INITIAL:case o.FINDER_INITIAL:u=this._enhanceInitialStart(l,t,n);break;case o.APP_INITIAL:u=this._enhanceInitialAppStart(t,n);break;case o.NAVIGATION:case o.HOME_LOADING:u=this._enhanceNavigationRecord(t,n);break;default:e.debug(`${i} unknown scenario, step name: ${l.stepName}`,null,s);this._setLastFesrHandle(l);return l}if(c.includes(t)){r.emit(\"startUpFesrEnhanced\",Date.now())}u=this.sanitizeEnhancement(u);l={...l,...u};e.debug(`${i} passing enhancements:`,JSON.stringify(u,null,2),s)}catch(t){e.error(`${i} Could not enhance the FESR:`,t,s)}e.debug(`${i} => UI5: ${l.stepName} - ${l.appNameShort}`,null,s);this._setLastFesrHandle(l);return l},shortenAccordingToFormatter:function(e,t){let n=\"\";if(t&&t.maxLength){n=e.substring(0,t.maxLength)}else{n=e}return n},shortenWithPostfix:function(e,t){const n=p[t];if(n){if(n.postfix){if(e.endsWith(n.postfix)){const t={...n,maxLength:n.maxLength-n.postfix.length};const r=this.shortenAccordingToFormatter(e.slice(0,-1*t.postfix.length),t);return r+t.postfix}}return this.shortenAccordingToFormatter(e,n)}return e},sanitizeEnhancement:function(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];if(u.includes(n)&&r){t[n]=this.shortenWithPostfix(r,n)}return t},{})},_getRelevantPerformanceMark:function(t){if(!t){e.warning(`${i} Could not determine performance mark`,\"No Statistical Record found\",s);return}const n=[];if(t.getTargetIsHomeApp()){n.push(this._getPerformanceEntries(\"FLP-TTI-Homepage-Custom\",true)[0])}else{switch(t.getTargetApplication()){case\"FLP_HOME\":n.push(this._getPerformanceEntries(\"FLP-TTI-Homepage\",true)[0]);break;case\"FLP_PAGE\":n.push(this._getPerformanceEntries(\"FLP-TTI-Homepage\",true)[0]);n.push(this._getPerformanceEntries(\"FLP-Pages-Service-loadPage-end\",false)[0]);break;case\"FLP_FINDER\":n.push(this._getPerformanceEntries(\"FLP-TTI-AppFinder\",true)[0]);break;default:}}return n.filter(e=>{if(!e){return false}if(typeof e.startTime!==\"number\"){return false}if(e.startTime>t.getTimeStart()){return true}return false})[0]},_detectScenario:function(t){if(t.stepName===\"undetermined_startup\"){let n;const r=a.getLastClosedRecord();if(r){this._setLastTrackedRecord(r)}else{e.warning(`${i} Identified undetermined_startup but could not find a closed StatisticalRecord`,null,s);return{scenario:null,relatedRecord:null}}if(r.getTargetIsHomeApp()){n=o.CUSTOM_HOME_INITIAL}else{switch(t.appNameLong){case\"sap.ushell.components.homepage\":case\"sap.ushell.components.pages\":n=o.HOME_INITIAL;break;case\"sap.ushell.components.appfinder\":n=o.FINDER_INITIAL;break;default:n=o.APP_INITIAL}}return{scenario:n,relatedRecord:r}}const n=this._getLastTrackedRecord();const r=a.getNextNavigationRecords(n);if(r.length){const t=r[r.length-1];if(r.length>1){const t=r.reduce((e,t,n)=>{if(n<r.length-1){e.push(t.getTargetHash())}return e},[]);e.warning(`${i} skipped Records:`,JSON.stringify(t,null,2),s)}if(n&&t.isEqual(n)){return{scenario:null,relatedRecord:null}}this._setLastTrackedRecord(t);const a=t.getStep()===o.HOME_LOADING?o.HOME_LOADING:o.NAVIGATION;return{scenario:a,relatedRecord:t}}return{scenario:null,relatedRecord:null}},_enhanceInitialStart:function(t,n,r){const a={};if(n===o.CUSTOM_HOME_INITIAL){a.stepName=`${n}@${t.appNameShort}`}else{a.stepName=n}a.interactionType=l.APP_START;a.appNameShort=r.getTargetAppNameShort()||r.getTargetApplication();const c=this._getRelevantPerformanceMark(r);if(c){e.debug(`${i} using performance mark: ${c.name}`,null,s);a.timeToInteractive=c.startTime}else{e.warning(`${i} Scenario ${n} detected did not found a performance mark`,null,s)}return a},_enhanceNavigationRecord:function(t,n){const r={};if(t!==\"FLP@DURING_LOAD\"){r.stepName=n.getStep()}if(n.getTargetApplicationType()===\"UI5\"){r.interactionType=l.APP_START}r.appNameShort=n.getTargetAppNameShort()||n.getTargetApplication();const a=this._getRelevantPerformanceMark(n);if(/^FLP_BACK/.test(r.stepName)&&a){e.debug(`${i} using performance mark: ${a.name}`,null,s);r.timeToInteractive=a.startTime-n.getTimeStart()}return r},_enhanceInitialAppStart:function(e,t){const n={};n.stepName=e;if(t.getTargetApplicationType()===\"UI5\"){n.interactionType=l.APP_START}else{n.interactionType=l.STEP_IN_APP}return n}};return d},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/performance/ShellAnalytics\", [\"sap/base/Log\",\"sap/ushell/EventHub\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/performance/StatisticalRecord\",\"sap/ushell/utils\",\"sap/ushell/Container\"],(e,n,t,a,i,r)=>{\"use strict\";const o=\"ShellAnalytics\";const c=\"[FesrFlp]\";let s=[];let l=[];let p=false;let u=false;let d=false;let h;let f;let g;const m={EXPLACE:\"EXPLACE\",INPLACE:\"INPLACE\"};const A={\"sap.ushell.components.appfinder\":\"FLP_FINDER\",\"sap.ushell.components.pages\":\"FLP_PAGE\",\"sap.ushell.components.homepage\":\"FLP_HOME\"};function C(e){if(!e){return false}return e.id===\"FLP_HOME\"||e.id===\"FLP_PAGE\"}function v(e){return e&&e.isHomeApp}function N(){return s}function I(){const e=N().filter(e=>e.isClosed());if(e.length>0){return e[e.length-1]}return null}function y(e){if(!e){return N().filter(e=>e.isClosed())}return N().filter(n=>e.getTimeStart()<n.getTimeStart()&&n.isClosed())}function E(){return f}function P(n){e.debug(`${c} ShellAnalytics setCurrentApplication: ${n&&n.id}`,null,o);f=n}function L(){g=performance.now();i.setPerformanceMark(\"FLP -- change hash\")}function S(){if(!h){const e=s[s.length-1]||null;h=new a(e);s.push(h)}return h}function T(e){if(d){d=false;return}const n=S();n.setTargetHash(e);n.setTimeStart(g||performance.now())}function R(e){const n=e||\"\";if(n.slice(-7)===\"(TCODE)\"){return n.replace(/ .*/,\"\").replace(/^\\*/,\"\").replace(/,/g,\"\").substring(0,15).concat(\" (TR)\")}return n}function H(e){let n=\"\";const t=e.componentInstance&&e.componentInstance.getManifest();if(t&&t[\"sap.app\"]&&t[\"sap.app\"].id){n=t[\"sap.app\"].id}return n}async function F(){const e=await r.getServiceAsync(\"AppLifeCycle\");const n=e.getCurrentApplication();if(!n){return{}}const a=n&&n.componentInstance&&n.componentInstance.sId&&n.componentInstance.sId.includes(\"homeApp-component\");let i;if(n.getTechnicalParameter){i=n.getTechnicalParameter(\"sap-fiori-id\")}else{i=Promise.resolve([])}const o=await i;let c=o&&o[0];if(a){return{type:\"UI5\",id:c,isHomeApp:true}}if(n.homePage){const e=A[H(n)]||\"FLP_HOME\";return{type:\"UI5\",id:e}}if(n.applicationType===\"UI5\"){if(!c){c=H(n);c=A[c]||c}c=c.replace(/,/g,\"\");return{type:\"UI5\",id:c}}const s=t.getMetadata().technicalName||t.getCurrentApplication().text||n.applicationType;const l=R(s);return{type:n.applicationType,id:l}}function w(e,n,t,a){if(a){a.setSourceApplication(e&&e.id);a.setTargetApplication(n&&n.id);a.setTargetApplicationType(n&&n.type);a.setNavigationMode(t);a.setTargetIsHomeApp(v(n));a.setSourceIsHomeApp(v(e));if(!p&&(v(n)||C(n))){p=true;a.setHomepageLoading(true)}a.closeRecord()}}async function b(e){const n=await r.getServiceAsync(\"AppLifeCycle\");const{ApplicationType:t}=n;return[t.WDA,t.NWBC,t.TR].includes(e)}function M(e){if(!h){return}const n=h;h=null;F().then(async t=>{const a=E();const i=await b(t.type);if(e&&e.technicalName&&i){t.id=R(e.technicalName);t.type=t.id.slice(-4)===\"(TR)\"?\"GUI\":\"NWBC\"}P(t);w(a,t,m.INPLACE,n)})}function O(){d=true;const e=h;h=null;const n=E();w(n,null,m.EXPLACE,e)}function $(){if(h){const e=E();h.setSourceApplication(e?e.id:undefined);h.closeRecordWithError();h=null}}async function _(){const e=await r.getServiceAsync(\"ShellNavigationInternal\");e.hashChanger.attachEvent(\"hashChanged\",L);e.hashChanger.attachEvent(\"shellHashChanged\",L)}async function U(){const e=await r.getServiceAsync(\"ShellNavigationInternal\");e.hashChanger.detachEvent(\"hashChanged\",L);e.hashChanger.detachEvent(\"shellHashChanged\",L)}function W(e){const n=S();n.enhanceTargetApplicationData({pageId:e.pageId,spaceId:e.spaceId})}function D(){if(u){return}u=true;const t=[{once:true,eventName:\"ShellNavigationInitialized\",handler:_},{eventName:\"trackHashChange\",handler:T},{eventName:\"doHashChangeError\",handler:$},{once:true,eventName:\"firstSegmentCompleteLoaded\",handler:M},{once:true,eventName:\"firstCatalogSegmentCompleteLoaded\",handler:M},{once:true,eventName:\"PagesRuntimeRendered\",handler:M},{once:true,eventName:\"CustomHomeRendered\",handler:M},{eventName:\"PageRendered\",handler:W},{eventName:\"FESRAppLoaded\",handler:M},{eventName:\"openedAppInNewWindow\",handler:O},{eventName:\"CloseFesrRecord\",handler:M}];const a=t.map(t=>{if(t.once){return n.once(t.eventName).do((...n)=>{e.debug(`${c} Incoming event: ${t.eventName}`,JSON.stringify(n[0],null,2),o);t.handler(...n)})}return n.on(t.eventName).do((...n)=>{e.debug(`${c} Incoming event: ${t.eventName}`,JSON.stringify(n[0],null,2),o);t.handler(...n)})});l=[...l,...a]}function G(){if(!u){return}l.forEach(e=>{e.off()});l=[];U();P(null);s=[];h=null;u=false;d=false}return{enable:D,disable:G,getAllRecords:N,getCurrentApplication:E,getLastClosedRecord:I,getNextNavigationRecords:y}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/performance/StatisticalRecord\", [\"sap/base/Log\",\"sap/ui/performance/trace/Interaction\"],(t,i)=>{\"use strict\";const e=\"StatisticalRecord\";const r=\"[FesrFlp]\";const s={OPEN:\"OPEN\",CLOSED:\"CLOSED\",ERROR:\"ERROR\"};class o{#t=null;#i=null;#e=false;#r=s.OPEN;#s=null;#o=null;#a=null;#n=null;#l=null;#p=null;#c=null;#h=null;#d=null;#u={};#g=null;constructor(){t.debug(`${r} ======================================`,\"‾‾‾ OPEN ‾‾‾\",e);t.debug(`${r} Opening Record`,null,e);this.#A()}setNavigationMode(t){if(this.isClosed()||this.isClosedWithError()){throw new Error(\"Statistical record is already closed!\")}this.#i=t}setHomepageLoading(t){if(this.isClosed()||this.isClosedWithError()){throw new Error(\"Statistical record is already closed!\")}this.#e=t}getSourceApplication(){return this.#l}#A(){if(!this.#g){t.debug(`${r} Interaction Start`,null,e);this.#g=i.notifyAsyncStep()}}#E(){if(this.#g){t.debug(`${r} Interaction End`,null,e);this.#g();this.#g=null}}#m(){const t=this.#h||this.#S(this.#c);const i=this.#p||this.#S(this.#l);if(!this.#c&&!this.#l){return\"\"}if(!this.#l&&t){return\"FLP@DURING_LOAD\"}if(!this.#l&&!t){return\"FLP@DEEP_LINK\"}if(!t&&!i){return`A2A@${this.#l}`}if(this.#l&&t&&!i){return`FLP_BACK@${this.#l}`}if(i&&t){if([\"FLP_FINDER\",\"FLP_HOME\"].includes(this.#c)){return`${this.#c}@H2H`}if(this.#h){return`${this.#c}@H2H`}return`${this.#u.pageId}@H2H`}if(this.#S(this.#l)){return\"FLP@HOMEPAGE_TILE\"}if(this.#p){return\"APPSTART@CUSTOMHOME\"}return\"\"}isEqual(t){return this.#a===t.getTimeStart()}closeRecord(){this.#s=this.#m();this.#r=s.CLOSED;this.#n=performance.now();if(this.#a){this.#t=this.#n-this.#a}this.#E();t.debug(`${r} Closing Record`,`${this.#s} - ${this.getTargetAppNameShort()||this.#c}`,e);t.debug(`${r} ======================================`,\"___ CLOSE ___\",e)}closeRecordWithError(){this.#r=s.ERROR;this.#n=performance.now();this.#t=this.#n-this.#a;this.#E();t.debug(`${r} Closing Record with Error`,`${this.getTargetAppNameShort()||this.#c}`,e);t.debug(`${r} ======================================`,\"___ CLOSE ___\",e)}isClosed(){return this.#r===s.CLOSED}isClosedWithError(){return this.#r===s.ERROR}getStep(){if(!this.isClosed()&&!this.isClosedWithError()){throw new Error(\"Statistical record is still open no step can be determined!\")}return this.#s}getTimeStart(){return this.#a}setTimeStart(t){if(this.isClosed()||this.isClosedWithError()){throw new Error(\"Statistical record is already closed!\")}this.#a=t}getTimeEnd(){return this.#n}setSourceApplication(i){if(this.isClosed()||this.isClosedWithError()){throw new Error(\"Statistical record is already closed!\")}t.debug(`${r} Record setSource: ${i}`,null,e);this.#l=i}getTargetApplication(){return this.#c}setTargetApplication(i){if(this.isClosed()||this.isClosedWithError()){throw new Error(\"Statistical record is already closed!\")}t.debug(`${r} Record setTarget: ${i}`,null,e);this.#c=i}getTargetAppNameShort(){if(this.#c===\"FLP_PAGE\"){const{pageId:t}=this.#u;if(t){return\"FLP_PAGE\"}}return null}getTargetApplicationType(){return this.#d}setTargetApplicationType(t){if(this.isClosed()||this.isClosedWithError()){throw new Error(\"Statistical record is already closed!\")}this.#d=t}setTargetIsHomeApp(t){if(this.isClosed()||this.isClosedWithError()){throw new Error(\"Statistical record is already closed!\")}this.#h=!!t}getTargetIsHomeApp(){return!!this.#h}setTargetHash(t){if(this. Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/Favorites\", [\"sap/m/GenericTile\",\"sap/m/library\",\"sap/tnt/NavigationListGroup\",\"sap/tnt/NavigationListItem\",\"sap/ui/core/ComponentContainer\",\"sap/ui/core/CustomData\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/components/shell/SideNavigation/modules/NavigationHelper\"],(e,t,i,s,a,o,n,r,l,d,c,u)=>{\"use strict\";class g{#e;#t;#i;#s;#a={};constructor(e){this.#e=e;this.#i=new i({text:\"{i18n>SideNavigation.Item.Favorites.Title}\",enabled:\"{viewConfiguration>/enableSideNavigation}\",items:{path:\"favorites>/\",key:\"{favorites>id}\",factory:this.#o.bind(this)},customData:[new o({key:\"help-id\",value:\"MenuEntry-Favorites\",writeToDom:true})]});this.#t=new Promise((e,t)=>{this.#n(e,t)});this.#s=new u}async getRootItem(){return this.#t}async onItemPressed(e){const t=e.getSource().getBindingContext(\"favorites\").getProperty();if(!t.vizType){return}const i=this.#a[t.id];if(i){await i.loaded();this.#r(i.getContent())?.firePress()}else if(t.targetURL){this.#s.navigate({target:{shellHash:t.targetURL},type:\"IBN\"})}this.#e.closeSideNavigation()}async#n(e,t){const i=await c.getServiceAsync(\"Pages\");const s=d.last(\"/core/spaces/myHome/myHomePageId\");if(!s){t(\"MyHome pageId is not defined\");return}const a=await i.loadPage(s);if(!a){t(\"MyHome page not loaded\");return}const o=i.getModel();const n=new l([]);o.attachEvent(\"dataChange\",()=>{this.#l(n,s)});this.#i.setModel(n,\"favorites\");await this.#l(n,s);e(this.#i)}async#l(e,t){const i=await c.getServiceAsync(\"Pages\");const s=await i.loadPage(t);const a=i.getModel();const o=a.getProperty(`${s}/sections`)||[];const n=[];let r;const l=e.getProperty(\"/\");const d=l.reduce((e,t)=>{e[t.id]=t.expanded;return e},{});o.forEach(e=>{if(e.default){r=e;return}const t=e.visualizations;if(t.length>0){this.#d(t);n.push({id:e.id,title:e.title,visualizations:t,expanded:!!d[e.id]})}});if(r?.visualizations?.length>0){this.#d(r.visualizations);n.splice(0,0,...r.visualizations)}e.setProperty(\"/\",n)}#d(e){c.getServiceAsync(\"VisualizationInstantiation\").then(t=>{e.forEach(e=>{if(e.vizType?.startsWith(\"X-SAP-UI2-CHIP:SSB\")&&!this.#a[e.id]){const i=t.instantiateVisualization(e);i.setActive(true);i.loaded().then(()=>{const t=this.#r(i.getContent())?.getHeader();if(!e.title&&t){const i=this.#i.getModel(\"favorites\");const s=i.getProperty(\"/\");for(let a=0;a<s.length;a++){const o=s[a];if(o.id===e.id){i.setProperty(`/${a}/title`,t);i.setProperty(`/${a}/targetURL`,\"\")}if(Array.isArray(o.visualizations)){for(let s=0;s<o.visualizations.length;s++){const n=o.visualizations[s];if(n.id===e.id){i.setProperty(`/${a}/visualizations/${s}/title`,t);i.setProperty(`/${a}/visualizations/${s}/targetURL`,\"\")}}}}}});this.#a[e.id]=i}})})}#r(t){if(!t){return null}if(t instanceof e){return t}else if(t instanceof a){t=t.getComponentInstance().getRootControl()}const i=t.getMetadata();const s=i.getDefaultAggregation()||null;const o=s?s?.name:\"content\";const n=o?t.getAggregation(o):null;const r=Array.isArray(n)?n[0]:n;if(!r){return null}return this.#r(r)}#o(e){return new s(e,{key:\"{favorites>id}\",text:\"{= !%{favorites>vizType} && %{favorites>title} === '' ? %{i18n>SideNavigation.Item.Favorites.UntitledFolder} : %{favorites>title} }\",enabled:\"{viewConfiguration>/enableSideNavigation}\",expanded:\"{favorites>expanded}\",icon:\"{= !%{favorites>vizType} ? 'sap-icon://folder' : '' }\",href:\"{favorites>targetURL}\",selectable:false,visible:{path:\"favorites>visualizations\",formatter:e=>e?.some(e=>!!e.title)},items:{path:\"favorites>visualizations\",template:new s({key:\"{favorites>id}\",text:\"{favorites>title}\",enabled:\"{viewConfiguration>/enableSideNavigation}\",href:\"{favorites>targetURL}\",selectable:false,press:this.onItemPressed.bind(this)}),filters:new n(\"title\",r.NE,\"\")},press:this.onItemPressed.bind(this)})}}return g},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider\", [\"sap/ui/model/json/JSONModel\",\"sap/ui/model/Sorter\",\"sap/tnt/NavigationList\"],(e,t,i)=>{\"use strict\";class s{constructor(e){this.oSideNavAPI=e;this.oRootItem=new i({items:{path:\"/fixedItems\",sorter:new t({path:\"scale\"}),factory:this.#e.bind(this)}});this.#t()}async getRootItem(){if(this.oSideNavAPI.getConfigValue(\"spaces.personalization.enabled\")||this.oSideNavAPI.getConfigValue(\"allApps.enabled\")){return this.oRootItem}return null}#t(){this.oChildItems={};const t=new e({fixedItems:[]});const i=e=>{const t=\"/fixedItems\";const i=this.oRootItem.getModel();const s=i.getObject(t);s.push(e);i.setProperty(t,s)};if(this.oSideNavAPI.getConfigValue(\"spaces.personalization.enabled\")){sap.ui.require([\"sap/ushell/components/shell/SideNavigation/modules/AllSpaces\"],e=>{const t=new e(this.oSideNavAPI);t.getRootItem().then(e=>{this.oChildItems.allSpaces=e;i({key:\"allSpaces\",scale:1})})})}if(this.oSideNavAPI.getConfigValue(\"allApps.enabled\")){sap.ui.require([\"sap/ushell/components/shell/SideNavigation/modules/AppFinder\"],e=>{const t=new e(this.oSideNavAPI);t.getRootItem().then(e=>{this.oChildItems.appFinder=e;i({key:\"appFinder\",scale:2})})})}this.oRootItem.setModel(t)}#i(e){return this.oChildItems[e].clone()}#e(e,t){return this.#i(t.getProperty(\"key\"))}}return s},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider\", [\"sap/ushell/Config\",\"sap/tnt/NavigationList\"],(e,t)=>{\"use strict\";class i{#e;#t;#i;constructor(e){this.#e=e;this.#t=new t;this.#s()}async getRootItem(){return this.#t}async findSelectedKey(){let e;e=await(this.#i?.findSelectedKey());if(!e){e=(await this.pSpaces).findSelectedKey()}return e}#s(){this.oChildItems={};const t=()=>{this.#t.addAggregation(\"items\",this.oChildItems.myHome);this.#t.addAggregation(\"items\",this.oChildItems.recentActivity);this.#t.addAggregation(\"items\",this.oChildItems.favorites);this.#t.addAggregation(\"items\",this.oChildItems.spaces)};if(e.last(\"/core/spaces/myHome/userEnabled\")){sap.ui.require([\"sap/ushell/components/shell/SideNavigation/modules/MyHome\"],e=>{this.#i=new e(this.#e);this.#i.getRootItem().then(e=>{this.oChildItems.myHome=e;t()})})}if(this.#e.getConfigValue(\"recentActivity.enabled\")){sap.ui.require([\"sap/ushell/components/shell/SideNavigation/modules/RecentActivity\"],e=>{const i=new e(this.#e);i.getRootItem().then(e=>{this.oChildItems.recentActivity=e;t()})})}if(this.#e.getConfigValue(\"favorites.enabled\")){sap.ui.require([\"sap/ushell/components/shell/SideNavigation/modules/Favorites\"],e=>{const i=new e(this.#e);i.getRootItem().then(e=>{this.oChildItems.favorites=e;t()})})}this.pSpaces=new Promise(e=>{if(this.#e.getConfigValue(\"spaces.enabled\")){sap.ui.require([\"sap/ushell/components/shell/SideNavigation/modules/Spaces\"],i=>{const s=new i(this.#e);s.getRootItem().then(e=>{this.oChildItems.spaces=e;t()});e(s)})}})}}return i},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/MyHome\", [\"sap/tnt/NavigationListItem\",\"sap/ui/core/CustomData\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Config\",\"sap/ushell/components/shell/SideNavigation/modules/NavigationHelper\",\"sap/ushell/utils/UrlParsing\"],(e,t,i,o,a,s)=>{\"use strict\";class n{constructor(i){this.oSideNavAPI=i;this.oNavigationHelper=new a;this.oRootItem=new e({key:\"MyHome\",text:\"{i18n>SideNavigation.Item.MyHome.Title}\",enabled:\"{viewConfiguration>/enableSideNavigation}\",customData:[new t({key:\"help-id\",value:\"MenuEntry-My-Home\",writeToDom:true})],href:\"#Shell-home\",icon:\"sap-icon://home\",press:this.onMyHomeMenuSelected.bind(this)})}async getRootItem(){return this.oRootItem}onMyHomeMenuSelected(){this.oSideNavAPI.closeSideNavigation()}async findSelectedKey(){const e=i.getHash();const t=s.parseShellHash(e);if(t.semanticObject===\"Shell\"&&t.action===\"home\"){return(await this.getRootItem()).getKey()}}}return n},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/NavigationHelper\", [\"sap/ushell/Container\",\"sap/ushell/utils/WindowUtils\"],(e,a)=>{\"use strict\";class t{_performNavigation(a){return e.getServiceAsync(\"Navigation\").then(e=>{const t={};a.parameters?.forEach(e=>{if(e.name&&e.value){t[e.name]=[e.value]}});e.navigate({target:{semanticObject:a.semanticObject,action:a.action,shellHash:a.shellHash},params:t})})}_openURL(e){a.openURL(e.url,\"_blank\")}navigate(e){if(e.type===\"IBN\"){this._performNavigation(e.target)}else if(e.type===\"URL\"){this._openURL(e.target)}}}return t},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/RecentActivity\", [\"sap/tnt/NavigationListItem\",\"sap/ui/core/CustomData\",\"sap/ushell/Container\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/EventHub\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\"],(e,t,s,i,n,a,o)=>{\"use strict\";class c{constructor(s){this.oSideNavAPI=s;this.oRootItem=new e({text:\"{i18n>SideNavigation.Item.RecentActivities.Title}\",enabled:\"{viewConfiguration>/enableSideNavigation}\",expanded:false,customData:[new t({key:\"help-id\",value:\"MenuEntry-Recents\",writeToDom:true})],icon:\"sap-icon://create-entry-time\",selectable:false,items:{path:\"recents>/\",filters:new a({filters:[new a(\"appType\",o.EQ,\"Application\"),new a(\"title\",o.NE,\"\")],and:true}),length:this.oSideNavAPI.getConfigValue(\"recentActivity.maxItems\")||5,template:new e({key:\"{recents>appId}\",text:\"{recents>title}\",href:\"{recents>url}\",selectable:false,customData:[new t({key:\"help-id\",value:\"{= 'MenuEntry-' + ${recents>appId}}\",writeToDom:\"{= !!${recents>appId}}\"})],press:this.onItemPressed.bind(this)})}});this.oItemReady=new Promise(e=>{this._prepareModel(e)});n.on(\"newUserRecentsItem\").do(async()=>{const e=await this._getRecentActivityItems();this.oRootItem.getModel(\"recents\").setData(e)})}async getRootItem(){return this.oItemReady}onItemPressed(){this.oSideNavAPI.closeSideNavigation()}async _prepareModel(e){const t=await this._getRecentActivityItems();const s=new i(t);this.oRootItem.setModel(s,\"recents\");e(this.oRootItem)}async _getRecentActivityItems(){const e=await s.getServiceAsync(\"UserRecents\");const t=await e.getRecentActivity();return t}}return c},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/Spaces\", [\"sap/base/util/ObjectPath\",\"sap/tnt/NavigationListGroup\",\"sap/tnt/NavigationListItem\",\"sap/ui/core/CustomData\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/Sorter\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/components/shell/SideNavigation/modules/NavigationHelper\",\"sap/ushell/utils/UrlParsing\"],(e,t,i,a,s,o,n,r,l,p,d,c,m)=>{\"use strict\";class g{#e;#t;#i;#a;#s;#o;#n;constructor(e){this.#e=e;this.#a=this.#e.getConfigValue(\"spaces.defaultIcon\");this.#s=new c;const i=p.last(\"/core/menu/personalization/enabled\");const l=p.last(\"/core/spaces/myHome/myHomeSpaceId\");const d=[new s(\"type\",o.NE,\"separator\")];if(i){d.push(new s(\"pinned\",o.EQ,true))}if(l){d.push(new s(\"id\",o.NE,l))}this.#o=new r({});this.#o.attachPropertyChange(()=>{this.#e.updateSelectedKey()});this.#i=new t({text:\"{i18n>SideNavigation.Item.Spaces.Title}\",enabled:\"{viewConfiguration>/enableSideNavigation}\",customData:[new a({key:\"help-id\",value:\"MenuEntry-My-Spaces\",writeToDom:true})],items:{path:\"spaces>/\",factory:this._spacesModelItemFactory.bind(this),filters:new s({filters:d,and:true}),sorter:i?new n({path:\"pinnedSortOrder\"}):null}});this.#i.setModel(this.#o,\"navigationListItemModel\");this.#t=new Promise(e=>{this.#n=this.#r(e)})}async getRootItem(){return this.#t}async#r(e){const t=await d.getServiceAsync(\"Menu\");const i=await t.getMenuModel();this.#i.setModel(i,\"spaces\");e(this.#i);return i}async findSelectedKey(t){const i=l.getHash();const a=m.parseShellHash(i);const s=e.get(\"params.spaceId.0\",a);const o=e.get(\"params.pageId.0\",a);const n=e.get(\"params.sap-ui-app-id-hint.0\",a);t=t||await this.getRootItem();if(a.semanticObject===\"Shell\"&&a.action===\"home\"){return t.getItems()[0]?.getKey()}const r=this.#l(t.getItems(),s,o,n);return r?.getKey()}#l(e,t,i,a){for(let s=0;s<e.length;s++){const o=e[s];const n=o.getItems();const r=this.#l(n,t,i,a);if(r&&!o.getExpanded()){return o}else if(r){return r}const l=this.#p(o.getBindingContext(\"spaces\").getObject(),t,i,a);if(l){return o}}}#p(t,i,a,s){const o=e.get(\"target.parameters\",t)||[];const n=o.some(e=>e.name===\"spaceId\"&&e.value===i);const r=o.some(e=>e.name===\"pageId\"&&e.value===a);const l=o.some(e=>e.name===\"sap-ui-app-id-hint\"&&e.value===s);const p=!a&&!s;return n&&(r||l||p)}_spacesModelItemFactory(e,t){const s=t.getProperty(\"menuEntries\");const o=t.getProperty(\"uid\");this.#o.setProperty(`/${o}`,false);return new i(e,{key:\"{spaces>uid}\",text:\"{spaces>title}\",enabled:\"{viewConfiguration>/enableSideNavigation}\",selectable:this.#e.getConfigValue(\"spaces.selectable\")||!s||s.length===0,expanded:`{navigationListItemModel>/${o}}`,customData:[new a({key:\"help-id\",value:\"{= 'MenuEntry-' + ${spaces>help-id}}\",writeToDom:\"{= !!${spaces>help-id}}\"})],icon:{path:\"spaces>icon\",formatter:e=>e||this.#a},select:this._onSideNavigationItemSelection.bind(this),items:{path:\"spaces>menuEntries\",template:new i({key:\"{spaces>uid}\",text:\"{spaces>title}\",enabled:\"{viewConfiguration>/enableSideNavigation}\",expanded:false,customData:[new a({key:\"help-id\",value:\"{= 'MenuEntry-' + ${spaces>help-id}}\",writeToDom:\"{= !!${spaces>help-id}}\"})],select:this._onSideNavigationItemSelection.bind(this),icon:\"{spaces>icon}\"})}})}_onSideNavigationItemSelection(e){this.#e.updateSelectedKey();const t=e.getParameter(\"item\").getBindingContext(\"spaces\").getProperty();this.#e.closeSideNavigation();this.#s.navigate(t)}}return g},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider\", [\"sap/tnt/NavigationList\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ushell/components/shell/SideNavigation/modules/Spaces\"],(e,t,s,o)=>{\"use strict\";class i{constructor(i){this.oRootItem=new e;this.oSpaces=new o(i);this.pSpaces=this.oSpaces.getRootItem().then(e=>{const o=e.getBindingInfo(\"items\");o.filters=[new t(\"type\",s.NE,\"separator\")];Object.keys(e.getOwnModels()).forEach(t=>{this.oRootItem.setModel(e.getModel(t),t)});this.oRootItem.bindAggregation(\"items\",o);return this.oSpaces})}async getRootItem(){return this.oRootItem}async findSelectedKey(){return(await this.pSpaces).findSelectedKey(this.oRootItem)}}return i},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/UserActionsMenu/Component\", [\"sap/ui/core/EventBus\",\"sap/ui/core/UIComponent\",\"sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller\"],(e,n,s)=>{\"use strict\";return n.extend(\"sap.ushell.components.shell.UserActionsMenu.Component\",{metadata:{version:\"1.139.0\",library:\"sap.ushell\",dependencies:{libs:[\"sap.m\"]}},createContent:function(){this._bIsUserActionsMenuCreated=false;this.oUserActionsMenuController=new s;this.oUserActionsMenuController.onInit();e.getInstance().publish(\"shell\",\"userActionsMenuCompLoaded\",{delay:0})},exit:function(){this.oUserActionsMenuController.onExit()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller\", [\"sap/base/Log\",\"sap/m/library\",\"sap/m/StandardListItem\",\"sap/ui/core/Element\",\"sap/ui/core/ElementMetadata\",\"sap/ui/core/Fragment\",\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ui/performance/Measurement\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/ui/footerbar/AboutButton\",\"sap/ushell/ui/footerbar/ContactSupportButton\",\"sap/ushell/ui/launchpad/ActionItem\",\"sap/ushell/ui/QuickAccess\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\"],(e,t,n,o,i,s,r,a,l,c,u,g,p,d,h,f,A,m,v)=>{\"use strict\";const B=t.ListType;const y=t.ButtonType;const I=v.Operation;return r.extend(\"sap.ushell.components.shell.UserActionsMenu.UserActionsMenu\",{_aDanglingControl:[],_aDoables:[],onInit:function(){const e=this.getShellConfig();this._createActionButtons(e);this.oModel=new a(this.getInitialModelData());this._aDoables.push(g.on(\"showUserActionsMenu\").do(e=>{if(this.getPopoverIsOpen()||!e){this._toggleUserActionsMenuPopover(false)}else{this._toggleUserActionsMenuPopover(true)}}))},onExit:function(){this._destroyDanglingControls();this._aDoables.forEach(e=>{e.off()});this._aDanglingControl=[];this._aDoables=[];const e=o.getElementById(\"sapUshellUserActionsMenuPopover\");if(e){e.destroy()}},getInitialModelData:function(){const e=u.getUser();const t=c.last(\"/core/userActionsMenu/displayUserId\");const n={userName:e.getFullName()||\"\",identifier:t?e.getId():e.getEmail()||e.getId(),initials:e.getInitials(),userEmail:t?e.getEmail():\"\"};return n},filterUserActions:function(t){if(!o.getElementById(t)){e.debug(`Could not render ActionItem because it was not created: ${t}`);return false}else if(t===\"logoutBtn\"){return!this.getDisplayAvatar()}return true},getModel:function(){return this.oModel},_createActionButtons:function(e){const t=c.last(\"/core/extension/enableHelp\");const n=c.last(\"/core/shell/enableAbout\");if(n){this._createAboutButton(t)}if(!e.moveAppFinderActionToShellHeader&&c.last(\"/core/catalog/enabled\")){this._createAppFinderButton(e,t)}if(!e.moveUserSettingsActionToShellHeader){this._createSettingsButton(t)}if(!e.moveContactSupportActionToShellHeader){this._createSupportTicketButton(t)}if(e.enableRecentActivity&&c.last(\"/core/shell/model/showRecentActivity\")){this._createRecentActivitiesButton();this._createFrequentActivitiesButton()}if(!e.disableSignOut){this._createLogoutButton()}},_createAppFinderButton:function(e,t){if(o.getElementById(\"openCatalogBtn\")){return}const n=new f(\"openCatalogBtn\",{text:p.i18n.getText(\"open_appFinderBtn\"),icon:\"sap-icon://sys-find\",visible:!e.disableAppFinder,actionType:\"action\",press:function(){l.start(\"FLP:AppFinderLoadingStartToEnd\",\"AppFinderLoadingStartToEnd\",\"FLP\");u.getServiceAsync(\"Navigation\").then(e=>{e.navigate({target:{semanticObject:\"Shell\",action:\"appfinder\"}})})}});if(t){n.addStyleClass(\"help-id-openCatalogActionItem\")}this._addDanglingControl(n);v.updateAllBaseStates(\"userActions.items\",I.Add,n.getId())},_createAboutButton:function(e){const t=\"aboutBtn\";if(!o.getElementById(t)){const n=new d(t);if(e){n.addStyleClass(`help-id-${t}`)}this._addDanglingControl(n);this.getRenderer().showActionButton(t,false)}},_createSettingsButton:function(e){const t=\"userSettingsBtn\";if(!o.getElementById(t)){const n=new f(t,{tooltip:`${p.i18n.getText(\"ControlKey\")} + ${p.i18n.getText(\"CommaKey\")}`,text:p.i18n.getText(\"userSettings\"),icon:\"sap-icon://action-settings\",press:function(){g.emit(\"openUserSettings\",Date.now())}});if(e){n.addStyleClass(\"help-id-loginDetails\")}this._addDanglingControl(n)}v.updateAllBaseStates(\"userActions.items\",I.Add,t)},_createSupportTicketButton:function(e){c.on(\"/core/extension/SupportTicket\").do(t=>{const n=\"ContactSupportBtn\";let i=o.getElementById(n);if(t&&!i){i=new h(n);this._addDanglingControl(i);if(e){i.addStyleClass(\"help-id-contactSupportBtn\")}}if(t){this.getRenderer().showActionButton(n)}else{this.getRenderer().hideActionButton(n)}})},_createRecentActivitiesButton:function(){const e=\"recentActivitiesBtn\";c.on(\"/core/shell/model/enableTrackingActivity\").do(t=>{if(t){let t=o.getElementById(e);if(!t){t=new f(e,{text:p.i18n.getText(\"recentActivities\"),icon:\"sap-icon://customer-history\",press:function(){A.openQuickAccessDialog(\"recentActivityFilter\",\"userActionsMenuHeaderButton\")}});this._addDanglingControl(t)}this.getRenderer().showActionButton(e,false)}else{this.getRenderer().hideActionButton(e,false)}})},_createFrequentActivitiesButton:function(){const e=\"frequentActivitiesBtn\";c.on(\"/core/shell/model/enableTrackingActivity\").do(t=>{if(t){let t=o.getElementById(e);if(!t){t=new f(e,{text:p.i18n.getText(\"frequentActivities\"),icon:\"sap-icon://activity-individual\",tooltip:p.i18n.getText(\"frequentActivitiesTooltip\"),press:function(){A.openQuickAccessDialog(\"frequentlyUsedFilter\",\"userActionsMenuHeaderButton\")}});this._addDanglingControl(t)}this.getRenderer().showActionButton(e,false)}else{this.getRenderer().hideActionButton(e,false)}})},_createLogoutButton:function(){const e=\"logoutBtn\";if(o.getElementById(e)){return}const t=new f(e,{visible:true,type:y.Transparent,icon:\"sap-icon://log\",text:p.i18n.getText(\"signoutBtn_title\"),press:this.logout});this._addDanglingControl(t);this.getRenderer().showActionButton(e,false)},logout:function(){sap.ui.require([\"sap/m/MessageBox\",\"sap/ushell/ui/launchpad/LoadingDialog\"],(e,t)=>{let n=new t({text:\"\"});let o=true;let s=false;u.getGlobalDirty().done(r=>{o=false;if(s===true){n.exit();n=new t({text:\"\"})}const a={};const l=p.i18n;if(r===u.DirtyState.DIRTY){a.message=l.getText(\"unsaved_data_warning_popup_message\");a.icon=e.Icon.WARNING;a.messageTitle=l.getText(\"unsaved_data_warning_popup_title\")}else{a.message=l.getText(\"signoutConfirmationMsg\");a.icon=e.Icon.QUESTION;a.messageTitle=l.getText(\"signoutMsgTitle\")}e.show(a.message,a.icon,a.messageTitle,[e.Action.OK,e.Action.CANCEL],t=>{if(t===e.Action.OK){n.openLoadingScreen();n.showAppInfo(p.i18n.getText(\"beforeLogoutMsg\"),null);u.defaultLogout()}},i.uid(\"confirm\"))});if(o===true){n.openLoadingScreen();s=true}})},_addDanglingControl:function(e){this._aDanglingControl.push(e)},_destroyDanglingControls:function(){if(this._aDanglingControl){this._aDanglingControl.forEach(e=>{if(e.destroyContent){e.destroyContent()}e.destroy()})}},_toggleUserActionsMenuPopover:async function(e){let t;const n=new Promise(e=>{if(this.getDisplayAvatar()){t=\"sap.ushell.components.shell.UserActionsMenu.UserActionsMenu\";sap.ui.require([\"sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem\"],()=>{e()})}else{t=\"sap.ushell.components.shell.UserActionsMenu.UserActionsMenuPopover\";e()}});if(!this.oPopover){await Promise.all([n,s.load({name:t,type:\"XML\",controller:this})]).then(t=>{this.oPopover=t[1];this.oPopover.setModel(this.getModel());this.oPopover.setModel(m.getModel(),\"shellModel\");if(this.getDisplayAvatar()){this.oPopover.placeAt(\"WebComponents-shellArea\",\"last\");this.oPopover.attachClose(()=>{this.popoverClose()})}return this._toggleUserActionsMenuPopover(e)})}else if(e){v.refreshState(\"userActions.items\");this.popoverOpen()}else{this.popoverClose();if(window.document.activeElement&&window.document.activeElement.id!==\"userActionsMenuHeaderButton\"){window.document.getElementById(\"userActionsMenuHeaderButton\")?.focus()}}},onItemPress:function(e){const t=e.getParameter(\"item\").data(\"actionItemId\");const n=o.getElementById(t);if(n){n.firePress();g.emit(\"showUserActionsMenu\",false)}},userActionsMenuItemFactory:function(e,t){const n=o.getElementById(t.getObject());const i=sap.ui.require(\"sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem\");return new i({id:`${e}-${n.getId()}`,icon:n.getIcon(),text:n.getText(),tooltip:n.getTooltip(),visible:n.getVisible(),customData:[{key:\"actionItemId\",value:n.getId()}]})},userActionsMenuPopoverItemFactory:function(e,t){const i=o.getElementById(t.getObject());return new n({id:`${e}-${i.getId()}`,icon:i.getIcon(),tooltip:i.getTooltip(),iconInset:true,title:i.getText(),visible:i.getVisible(),type:B.Active,customData:[{key:\"actionItemId\",value:i.getId()}],press:function(){if(i){i.firePress();g.emit(\"showUserActionsMenu\",false)}}}).addStyleClass(\"sapUshellUserActionsMenuActionItem\")},getRenderer:function(){if(!this._oRenderer){this._oRenderer=u.getRendererInternal(\"fiori2\")}return this._oRenderer},getShellConfig:function(){return this.getRenderer().getShellConfig()},getDisplayAvatar:function(){return!!c.last(\"/core/userActionsMenu/displayAvatar\")},getPopoverIsOpen:function(){if(this.getDisplayAvatar()){return this.bPopoverOpen||this.oPopover?.getOpen()}return this.oPopover?.isOpen()},popoverOpen:function(){if(this.getDisplayAvatar()){this.bPopoverOpen=true;return this.oPopover.setOpen(true)}return this.oPopover.openBy(o.getElementById(\"userActionsMenuHeaderButton\"))},popoverClose:function(){if(this.getDisplayAvatar()){window.setTimeout(()=>{this.bPopoverOpen=false},400);return this.oPopover.setOpen(false)}return this.oPopover.close()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/UserImage/Component\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/isEmptyObject\",\"sap/m/Button\",\"sap/m/library\",\"sap/ui/core/IconPool\",\"sap/ui/core/UIComponent\",\"sap/ui/Device\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/resources\",\"sap/ushell/Container\",\"sap/ushell/state/ShellModel\"],(e,s,t,n,o,a,l,r,jQuery,i,g,u)=>{\"use strict\";const c=o.ButtonType;return l.extend(\"sap.ushell.components.shell.UserImage.Component\",{metadata:{version:\"1.139.0\",library:\"sap.ushell.components.shell.UserImage\",dependencies:{libs:{\"sap.m\":{},\"sap.ui.layout\":{lazy:true}}}},createContent:function(){const e=g.getRendererInternal(\"fiori2\").getShellConfig();this.loadUserImage();const s=g.getUser();if(e.enableUserImgConsent===true&&s.getImageConsent()===undefined){this._showUserConsentPopup()}},_showUserConsentPopup:function(){const e=this;const t=s.getRTL()?\"Right\":\"Left\";let o;let a;let l;let g;const u=new n(\"yesButton\",{text:i.i18n.getText(\"DisplayImg\"),type:c.Emphasized,press:function(){e.updateUserImage(true);o.close()}});const p=new n(\"noButton\",{text:i.i18n.getText(\"DontDisplayImg\"),press:function(){e.updateUserImage(false);o.close()}});sap.ui.require([\"sap/ui/layout/form/VerticalLayout\",\"sap/m/Dialog\",\"sap/m/Text\",\"sap/m/Link\",\"sap/m/FlexBox\"],(e,s,n,c,m)=>{o=new s(\"userConsentDialog\",{title:i.i18n.getText(\"userImageConsentDialogTitle\"),modal:true,stretch:r.system.phone,buttons:[u,p],afterClose:function(){o.destroy()}}).addStyleClass(\"sapUshellUserConsentDialog\").addStyleClass(\"sapContrastPlus\");const d=new n({text:i.i18n.getText(\"userImageConsentDialogTermsOfUse\")}).addStyleClass(\"sapUshellUserConsentDialogTerms\");const C=new n({text:i.i18n.getText(\"userImageConsentText\"),textAlign:t}).addStyleClass(\"sapUshellUserConsentDialogText\");const f=new c({text:i.i18n.getText(\"userImageConsentDialogShowTermsOfUse\"),textAlign:t,press:function(){const e=g.getVisible();if(e){g.setVisible(false);f.setText(i.i18n.getText(\"userImageConsentDialogShowTermsOfUse\"))}else{f.setText(i.i18n.getText(\"userImageConsentDialogHideTermsOfUse\"));g.setVisible(true)}}}).addAriaLabelledBy(C);a=new m({alignItems:\"Center\",direction:\"Row\",items:[C]}).addStyleClass(\"sapUshellUserConsentDialogBox\");l=new m({alignItems:\"Center\",direction:\"Row\",items:[f]}).addStyleClass(\"sapUshellUserConsentDialogBox\").addStyleClass(\"sapUshellUserConsentDialogLink\");g=new m({alignItems:\"Center\",direction:\"Row\",items:[d]}).addStyleClass(\"ushellUserImgConsentTermsOfUseFlexBox\");g.setVisible(false);const h=new e(\"userConsentDialogLayout\",{content:[a,l,g]});o.addContent(h);o.open()})},loadUserImage:function(){const e=g.getUser();const s=e.getImage();if(s){this._setUserImage(s)}e.attachOnSetImage(this._setUserImage.bind(this))},_setUserImage:function(s){const n=typeof s===\"string\"?s:s.mParameters;if(n&&typeof n===\"string\"||!t(n)){jQuery.ajax({url:n,headers:{\"Cache-Control\":\"no-cache, no-store, must-revalidate\",Pragma:\"no-cache\",Expires:\"0\"},success:function(){u.getConfigModel().setProperty(\"/userImage/personPlaceHolder\",n);u.getConfigModel().setProperty(\"/userImage/account\",n)},error:function(){e.error(`Could not load user image from: ${n}`,\"\",\"sap.ushell.renderer.Shell.view\");g.getUser().setImage(\"\")}})}else{u.getConfigModel().setProperty(\"/userImage/personPlaceHolder\",null);u.getConfigModel().setProperty(\"/userImage/account\",a.getIconURI(\"account\"))}},updateUserImage:function(e){const s=g.getUser();let t;g.getServiceAsync(\"UserInfo\").then(n=>{if(e!==undefined){s.setImageConsent(e);t=n.updateUserPreferences(s);t.done(()=>{s.resetChangedProperty(\"isImageConsent\")})}})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/action/ActionTile.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ushell/components/tiles/utils\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(t,e,i,jQuery,n)=>{\"use strict\";return t.extend(\"sap.ushell.components.tiles.action.ActionTile\",{onInit:function(){const t=this.getView();const n=t.getViewData();const o=e.getResourceBundleModel();const r=n.chip;const a=e.getActionConfiguration(r);const c=this;function s(t,i){const n=e.getResourceBundle();const o=`${n.getText(\"configuration.semantic_object\")}:\\n${t}\\n\\n${n.getText(\"configuration.semantic_action\")}:\\n${i}`;return o}t.setModel(o,\"i18n\");const g=new i({config:a,displayText:s(a.semantic_object,a.semantic_action)});t.setModel(g);if(r.configurationUi.isEnabled()){r.configurationUi.setAsyncUiProvider(()=>e.getConfigurationUi(c.getView(),\"sap.ushell.components.tiles.action.Configuration\").then(t=>{r.configurationUi.attachCancel(c.onCancelConfiguration.bind(null,t));r.configurationUi.attachSave(c.onSaveConfiguration.bind(null,t,s));return t}));t.byId(\"actionTile\").setTooltip(e.getResourceBundle().getText(\"edit_configuration.tooltip\"))}},onPress:function(t){const e=this.getView().getViewData().chip;if(e.configurationUi.isEnabled()){e.configurationUi.display()}},onSaveConfiguration:function(t,o){const r=jQuery.Deferred();let a=t.getModel();const c=a.getProperty(\"/tileModel\");const s=t.getViewData().chip;function g(t){n.warning(t,null,\"sap.ushell.components.tiles.action.ActionTile.controller\");r.reject(t)}const l=e.checkTMInputOnSaveConfig(t);if(l){r.reject(\"mandatory_fields_missing\");return r.promise()}const p=e.getResourceBundle();if(e.tableHasDuplicateParameterNames(a.getProperty(\"/config/rows\"))){r.reject(p.getText(\"configuration.signature.uniqueParamMessage.text\"))}else if(!e.tableHasInvalidSapPrelaunchOperationValue(a.getProperty(\"/config/rows\"))){const t=JSON.stringify([{type:\"split\",source:\"p1\",target:[\"p2\",\"p3\"]},{type:\"merge\",source:[\"p4\",\"p5\"],target:\"p6\"}]);r.reject(p.getText(\"configuration.signature.invalidSapPrelaunchOperationsMessage.text\",[t]))}else{const l=a.getProperty(\"/config/formFactorConfigDefault\")?undefined:e.buildFormFactorsObject(a);const p=e.getMappingSignatureString(a.getProperty(\"/config/rows\"),a.getProperty(\"/config/isUnknownAllowed\"));const u=e.getMappingSignature(a.getProperty(\"/config/rows\"),a.getProperty(\"/config/isUnknownAllowed\"));const f={semantic_object:(a.getProperty(\"/config/semantic_object\")||\"\").trim(),semantic_action:(a.getProperty(\"/config/semantic_action\")||\"\").trim(),display_title_text:(a.getProperty(\"/config/display_title_text\")||\"\").trim(),url:(a.getProperty(\"/config/url\")||\"\").trim(),ui5_component:(a.getProperty(\"/config/ui5_component\")||\"\").trim(),navigation_provider:(a.getProperty(\"/config/navigation_provider\")||\"\").trim(),navigation_provider_role:(a.getProperty(\"/config/navigation_provider_role\")||\"\").trim(),navigation_provider_instance:(a.getProperty(\"/config/navigation_provider_instance\")||\"\").trim(),target_application_id:(a.getProperty(\"/config/target_application_id\")||\"\").trim(),target_application_alias:(a.getProperty(\"/config/target_application_alias\")||\"\").trim(),transaction:{code:(a.getProperty(\"/config/transaction/code\")||\"\").trim()},web_dynpro:{application:(a.getProperty(\"/config/web_dynpro/application\")||\"\").trim(),configuration:(a.getProperty(\"/config/web_dynpro/configuration\")||\"\").trim()},target_system_alias:(a.getProperty(\"/config/target_system_alias\")||\"\").trim(),display_info_text:(a.getProperty(\"/config/display_info_text\")||\"\").trim(),form_factors:l,mapping_signature:p,signature:u};const d=s.bag.getBag(\"tileProperties\");d.setText(\"display_title_text\",f.display_title_text);s.writeConfiguration.setParameterValues({tileConfiguration:JSON.stringify(f)},()=>{const l=e.getActionConfiguration(s,false);const p=e.getActionConfiguration(s,true);a=new i({config:l,tileModel:c});t.setModel(a);c.setData({config:p,displayText:o(p.semantic_object,p.semantic_action)},false);d.save(()=>{n.debug(\"property bag 'tileProperties' saved successfully\");r.resolve()},g)},g)}return r.promise()},onCancelConfiguration:function(t){const i=t.getViewData();const n=t.getModel();const o=n.getProperty(\"/tileModel\");const r=i.chip;const a=e.getActionConfiguration(r,false);t.getModel().setData({config:a,tileModel:o},false)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/action/Configuration.controller\", [\"sap/ui/core/Element\",\"sap/ui/core/mvc/Controller\",\"sap/ushell/components/tiles/utils\",\"sap/ui/core/library\",\"sap/m/MessageBox\"],(e,t,s,n,a)=>{\"use strict\";const o=n.ValueState;return t.extend(\"sap.ushell.components.tiles.action.Configuration\",{sEnterValuePlaceHolder:\"\",sDuplicateErrorMsg:\"\",sDuplicateErrorTitle:\"\",sInvalidParmMsg:\"\",aDefaultObjects:[{obj:\"\",name:\"\"},{obj:\"*\",name:\"*\"}],onConfigurationInputChange:function(e){s.checkTMInput(this.getView(),e)},onInit:function(){const e=this.getView();const t=e.byId(\"semantic_objectInput\");const n=e.byId(\"navigation_provider_roleInput\");const a=e.byId(\"navigation_provider_instanceInput\");const o=e.byId(\"target_application_aliasInput\");const i=e.byId(\"semantic_actionInput\");const l=e.byId(\"targetTypeInput\");const c=s.getResourceBundleModel();e.setModel(c,\"i18n\");e.setViewName(\"sap.ushell.components.tiles.action.Configuration\");s.createSemanticObjectModel(this,t,this.aDefaultObjects);s.createRoleModel(this,n,a);s.createAliasModel(this,o);s.createActionModel(this,i);s.createNavigationProviderModel(this,l);t.attachChange(t=>{const s=t.getSource().getValue();e.getModel().setProperty(\"/config/semantic_object\",s)});n.attachChange(t=>{const n=t.getSource().getValue();e.getModel().setProperty(\"/config/navigation_provider_role\",n);s.updateAliasModel(e,o)});a.attachChange(t=>{const s=t.getSource().getValue();e.getModel().setProperty(\"/config/navigation_provider_instance\",s)});o.attachChange(t=>{const s=t.getSource().getValue();e.getModel().setProperty(\"/config/target_application_alias\",s)});const r=s.getResourceBundle();this.sEnterValuePlaceHolder=r.getText(\"configuration.signature.table.valueFieldLbl\");this.sDuplicateErrorMsg=r.getText(\"configuration.signature.uniqueParamMessage.text\");this.sDuplicateErrorTitle=r.getText(\"configuration.signature.uniqueParamMessage.title\");this.sInvalidParmMsg=r.getText(\"configuration.signature.invalidParamMessage.text\")},handleMandatoryChange:function(t){const s=t.getParameter(\"id\");const n=e.getElementById(s).getParent().getCells();const a=t.getParameter(\"selected\");if(a){n[2].setEnabled(true);n[2].setPlaceholder(this.sEnterValuePlaceHolder);n[4].setEnabled(false);n[4].setValue(\"\");n[4].setPlaceholder(\"\");n[3].setEnabled(true)}else{n[2].setEnabled(false);n[2].setValue(\"\");n[2].setPlaceholder(\"\");n[4].setEnabled(true);n[4].setPlaceholder(this.sEnterValuePlaceHolder);n[3].setEnabled(false);n[3].setSelected(false)}},addRow:function(){const e=this.getView();const t=e.getModel();const n=t.getProperty(\"/config/rows\");const a=s.getEmptyRowObj();n.push(a);t.setProperty(\"/config/rows\",n)},deleteRow:function(){const e=this.getView();const t=e.getModel();const s=t.getProperty(\"/config/rows\");const n=e.byId(\"mappingSignatureTable\");const a=n.getSelectedIndices();const o=a.sort((e,t)=>t-e).slice();for(let e=0;e<o.length;e++){n.removeSelectionInterval(o[e],o[e]);s.splice(o[e],1)}t.setProperty(\"/config/rows\",s)},checkDuplicateNames:function(t){const n=this.getView().getModel();const i=n.getProperty(\"/config/rows\");const l=e.getElementById(t.getParameter(\"id\"));const c=t.getParameter(\"newValue\");if(c!==\"\"&&!/^[\\w-/]+$/.test(c)){l.setValueState(o.Error);a.alert(this.sInvalidParmMsg,this.focusNameField.bind(l),this.sDuplicateErrorTitle)}if(s.tableHasDuplicateParameterNames(i)){l.setValueState(o.Error);a.alert(this.sDuplicateErrorMsg,this.focusNameField.bind(l),this.sDuplicateErrorTitle)}else{l.setValueState(o.None)}},focusNameField:function(){this.focus()},onValueHelpRequest:function(e){s.objectSelectOnValueHelpRequest(this,e,false)},onActionValueHelpRequest:function(e){s.actionSelectOnValueHelpRequest(this,e)},onRoleValueHelpRequest:function(e){s.roleSelectOnValueHelpRequest(this,e)},onInstanceValueHelpRequest:function(e){s.instanceSelectOnValueHelpRequest(this,e)},instanceSuggest:function(e){s.instanceSuggest(this,e)},aliasSuggest:function(e){s.aliasSuggest(this,e)},onAliasValueHelpRequest:function(e){s.applicationAliasSelectOnValueHelpRequest(this,e)},onFormFactorChange:function(){const e=this.getView().getModel();e.setProperty(\"/config/formFactorConfigDefault\",false)},onApplicationTypeChange:function(e){const t=e.getParameters();if(t.selectedItem){s.displayApplicationTypeFields(t.selectedItem.getKey(),this.getView())}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/applauncher/Component\", [\"sap/ui/core/mvc/View\",\"sap/ui/core/UIComponent\"],(e,t)=>{\"use strict\";return t.extend(\"sap.ushell.components.tiles.applauncher\",{metadata:{interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},createContent:function(){const t=this.getComponentData();return e.create({viewName:\"module:sap/ushell/components/tiles/applauncher/StaticTile.view\",viewData:t})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/applauncher/Configuration.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ushell/components/tiles/utils\",\"sap/ui/core/ListItem\"],(e,t,n)=>{\"use strict\";return e.extend(\"sap.ushell.components.tiles.applauncher.Configuration\",{onConfigurationInputChange:function(e){t.checkInput(this.getView(),e)},aDefaultObjects:[{obj:\"\",name:\"\"}],onInit:function(){const e=this.getView();const o=e.byId(\"targetUrl\");const i=e.byId(\"navigation_semantic_objectInput\");const c=e.byId(\"navigation_semantic_actionInput\");const a=t.getResourceBundleModel();e.setModel(a,\"i18n\");const s=t.getResourceBundle();e.setViewName(\"sap.ushell.components.tiles.applauncher.Configuration\");t.createSemanticObjectModel(this,i,this.aDefaultObjects);t.createActionModel(this,c);i.attachChange(t=>{const n=t.getSource().getValue();e.getModel().setProperty(\"/config/navigation_semantic_object\",n)});function l(e){return!e}o.bindProperty(\"enabled\",{formatter:l,path:\"/config/navigation_use_semantic_object\"});let u=new n({key:\"URL\",text:s.getText(\"configuration.tile_actions.table.target_type.url\")});e.byId(\"targetTypeCB\").addItem(u);u=new n({key:\"INT\",text:s.getText(\"configuration.tile_actions.table.target_type.intent\")});e.byId(\"targetTypeCB\").addItem(u)},onAfterRendering:function(){t.updateMessageStripForOriginalLanguage(this.getView())},onValueHelpRequest:function(e){t.objectSelectOnValueHelpRequest(this,e,false)},onActionValueHelpRequest:function(e){t.actionSelectOnValueHelpRequest(this,e,false)},onCheckBoxChange:function(e){const n=this.getView();const o=n.byId(\"navigation_semantic_objectInput\");const i=o.getModel();const c=e.getSource().getSelected();i.setProperty(\"/enabled\",c);t.checkInput(this.getView(),e)},onIconValueHelpRequest:function(e){t.iconSelectOnValueHelpRequest(this,e,false)},onSelectIconClose:function(){t.onSelectIconClose(this.getView())},onSelectIconOk:function(){t.onSelectIconOk(this.getView())},handleTargetTypeChange:function(e){t.onTargetTypeChange(e)},onTileActionValueHelp:function(e){t.objectSelectOnValueHelpRequest(this,e,true)},onTileActionIconValueHelp:function(e){t.iconSelectOnValueHelpRequest(this,e,true)},addRow:function(){t.addTileActionsRow(this.getView())},deleteRow:function(){t.deleteTileActionsRow(this.getView())}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/applauncher/StaticTile.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ushell/components/tiles/utils\",\"sap/ushell/Config\",\"sap/ushell/utils/WindowUtils\",\"sap/m/library\",\"sap/ushell/library\",\"sap/ui/model/json/JSONModel\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,i,a,s,o,n,r,jQuery,l,g,p)=>{\"use strict\";const c=s.GenericTileScope;const _=s.GenericTileMode;const d=o.AppType;return e.extend(\"sap.ushell.components.tiles.applauncher.StaticTile\",{_aDoables:[],onInit:function(){const e=this.getView();const a=e.getViewData();const s=a.chip;const o=t.getAppLauncherConfig(s,s.configurationUi.isEnabled(),false);const r=this;let g=o.navigation_target_url;let p;const c=s.url.getApplicationSystem();if(c){if(l.isIntentUrl(g)){p=l.parseShellHash(g);if(!p.params){p.params={}}p.params[\"sap-system\"]=c;g=`#${l.constructShellHash(p)}`}else{g+=`${g.indexOf(\"?\")<0?\"?\":\"&\"}sap-system=${c}`}}this.navigationTargetUrl=g;const d=new n({sizeBehavior:i.last(\"/core/home/sizeBehavior\"),wrappingType:i.last(\"/core/home/wrappingType\"),config:o,mode:o.display_mode,nav:{navigation_target_url:s.configurationUi&&s.configurationUi.isEnabled()?\"\":g},search:{display_highlight_terms:[]}});e.setModel(d);this._aDoables.push(i.on(\"/core/home/sizeBehavior\").do(e=>{d.setProperty(\"/sizeBehavior\",e)}));if(s.types){s.types.attachSetType(e=>{if(r.tileType!==e){if(e===\"link\"){d.setProperty(\"/mode\",_.LineMode)}else{d.setProperty(\"/mode\",d.getProperty(\"/config/display_mode\"))}r.tileType=e}})}if(!this.tileType){this.tileType=\"tile\"}if(s.search){const t=e.getModel().getProperty(\"/config/display_search_keywords\");const i=t.split(/[, ]+/).filter(e=>e&&e!==\"\");if(o.display_title_text&&o.display_title_text!==\"\"&&i.indexOf(o.display_title_text)===-1){i.push(o.display_title_text)}if(o.display_subtitle_text&&o.display_subtitle_text!==\"\"&&i.indexOf(o.display_subtitle_text)===-1){i.push(o.display_subtitle_text)}if(o.display_info_text&&o.display_info_text!==\"\"&&i.indexOf(o.display_info_text)===-1){i.push(o.display_info_text)}s.search.setKeywords(i);s.search.attachHighlight(t=>{e.getModel().setProperty(\"/search/display_highlight_terms\",t)})}if(s.bag&&s.bag.attachBagsUpdated){s.bag.attachBagsUpdated(i=>{if(i.indexOf(\"tileProperties\")>-1){t._updateTilePropertiesTexts(e,s.bag.getBag(\"tileProperties\"))}})}if(s.configuration&&s.configuration.attachConfigurationUpdated){s.configuration.attachConfigurationUpdated(i=>{if(i.indexOf(\"tileConfiguration\")>-1){t._updateTileConfiguration(e,s.configuration.getParameterValueAsString(\"tileConfiguration\"))}})}if(s.preview){s.preview.setTargetUrl(g);s.preview.setPreviewIcon(o.display_icon_url);s.preview.setPreviewTitle(o.display_title_text);if(s.preview.setPreviewSubtitle&&typeof s.preview.setPreviewSubtitle===\"function\"){s.preview.setPreviewSubtitle(o.display_subtitle_text)}}if(s.configurationUi.isEnabled()){s.configurationUi.setAsyncUiProvider(()=>t.getConfigurationUi(e,\"sap.ushell.components.tiles.applauncher.Configuration\").then(e=>{s.configurationUi.attachCancel(r.onCancelConfiguration.bind(null,e));s.configurationUi.attachSave(r.onSaveConfiguration.bind(null,e));return e}));this.getView().getContent()[0].setTooltip(t.getResourceBundle().getText(\"edit_configuration.tooltip\"))}if(s.actions){let e=[];const a=o.actions;if(a){e=a.slice()}if(i.last(\"/core/shell/enablePersonalization\")){const i=d.getProperty(\"/mode\")===_.LineMode?\"link\":\"tile\";const a=t.getTileSettingsAction(d,this.onSaveRuntimeSettings.bind(this),i);e.push(a)}s.actions.setActionsProvider(()=>e)}},onExit:function(){this._aDoables.forEach(e=>{e.off()});this._aDoables=[]},onPress:function(e){const t=this.getView();const s=t.getViewData();const o=s.chip;const n=t.getModel().getProperty(\"/config\");if(e.getSource().getScope&&e.getSource().getScope()===c.Display){if(o.configurationUi.isEnabled()){o.configurationUi.display()}else if(this.navigationTargetUrl){g.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:this.navigationTargetUrl}});if(this.navigationTargetUrl[0]===\"#\"){hasher.setHash(this.navigationTargetUrl)}else{const e=i.last(\"/core/shell/enableRecentActivity\")&&i.last(\"/core/shell/enableRecentActivityLogging\");if(e){const e={title:n.display_title_text,appType:d.URL,url:n.navigation_target_url,appId:n.navigation_target_url};p.getRendererInternal(\"fiori2\").logRecentActivity(e)}a.openURL(this.navigationTargetUrl,\"_blank\")}}}},onSaveRuntimeSettings:function(e){const t=e.getModel();const i=this.getView().getViewData().chip;const a=this.getView().getModel().getProperty(\"/config\");a.display_title_text=t.getProperty(\"/title\")||\"\";a.display_subtitle_text=t.getProperty(\"/subtitle\")||\"\";a.display_info_text=t.getProperty(\"/info\")||\"\";a.display_search_keywords=t.getProperty(\"/keywords\")||\"\";const s=i.bag.getBag(\"tileProperties\");s.setText(\"display_title_text\",a.display_title_text);s.setText(\"display_subtitle_text\",a.display_subtitle_text);s.setText(\"display_info_text\",a.display_info_text);s.setText(\"display_search_keywords\",a.display_search_keywords);function o(e){r.error(e,null,\"sap.ushell.components.tiles.applauncher.StaticTile.controller\")}s.save(()=>{r.debug(\"property bag 'tileProperties' saved successfully\");this.getView().getModel().setProperty(\"/config/display_title_text\",a.display_title_text);this.getView().getModel().setProperty(\"/config/display_subtitle_text\",a.display_subtitle_text);this.getView().getModel().setProperty(\"/config/display_info_text\",a.display_info_text);this.getView().getModel().setProperty(\"/config/display_search_keywords\",a.display_search_keywords);this.getView().getModel().refresh()},o)},onSaveConfiguration:function(e){const i=new jQuery.Deferred;const a=e.getModel();const s=a.getProperty(\"/tileModel\");const o=e.getViewData().chip;const l=t.tileActionsRows2TileActionsArray(a.getProperty(\"/config/tile_actions_rows\"));const g={display_icon_url:a.getProperty(\"/config/display_icon_url\"),navigation_use_semantic_object:a.getProperty(\"/config/navigation_use_semantic_object\"),navigation_target_url:a.getProperty(\"/config/navigation_target_url\"),navigation_semantic_object:(a.getProperty(\"/config/navigation_semantic_object\")||\"\").trim(),navigation_semantic_action:(a.getProperty(\"/config/navigation_semantic_action\")||\"\").trim(),navigation_semantic_parameters:(a.getProperty(\"/config/navigation_semantic_parameters\")||\"\").trim(),display_search_keywords:a.getProperty(\"/config/display_search_keywords\")};let p=t.checkInputOnSaveConfig(e);if(!p){p=t.checkTileActions(e)}if(p){i.reject(\"mandatory_fields_missing\");return i.promise()}if(g.navigation_use_semantic_object){g.navigation_target_url=t.getSemanticNavigationUrl(g);a.setProperty(\"/config/navigation_target_url\",g.navigation_target_url)}const c=o.bag.getBag(\"tileProperties\");c.setText(\"display_title_text\",a.getProperty(\"/config/display_title_text\"));c.setText(\"display_subtitle_text\",a.getProperty(\"/config/display_subtitle_text\"));c.setText(\"display_info_text\",a.getProperty(\"/config/display_info_text\"));c.setText(\"display_search_keywords\",g.display_search_keywords);const _=o.bag.getBag(\"tileNavigationActions\");t.populateTileNavigationActionsBag(_,l);function d(e,t){r.error(e,null,\"sap.ushell.components.tiles.applauncher.StaticTile.controller\");i.reject(e,t)}o.writeConfiguration.setParameterValues({tileConfiguration:JSON.stringify(g)},()=>{const a=t.getAppLauncherConfig(o,false,false);const l=t.getAppLauncherConfig(o,true,false);const g=new n({config:a,nav:{navigation_target_url:\"\"},tileModel:s});e.setModel(g);s.setData({config:l,nav:{navigation_target_url:\"\"}},false);if(o.preview){o.preview.setTargetUrl(a.navigation_target_url);o.preview.setPreviewIcon(a.display_icon_url);o.preview.setPreviewTitle(a.display_title_text);if(o.preview.setPreviewSubtitle&&typeof o.preview.setPreviewSubtitle===\"function\"){o.preview.setPreviewSubtitle(a.display_subtitle_text)}}c.save(()=>{r.debug(\"property bag 'tileProperties' saved successfully\");if(o.title){o.title.setTitle(a.display_title_text,()=>{i.resolve()},d)}else{i.resolve()}},d);_.save(()=>{r.debug(\"property bag 'navigationProperties' saved successfully\")},d)},d);e.destroy();return i.promise()},onCancelConfiguration:function(e){const i=e.getViewData();const a=e.getModel();const s=a.getProperty(\"/tileModel\");const o=i.chip;const n=t.getAppLauncherConfig(o,o.configurationUi.isEnabled(),false);e.getModel().setData({config:n,nav:{navigation_target_url:\"\"},tileModel:s},false);e.destroy()},formatters:{leanURL:a.getLeanURL.bind(a)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/applauncher/StaticTile.view\", [\"sap/ui/core/mvc/View\",\"sap/m/GenericTile\",\"sap/m/ImageContent\",\"sap/m/TileContent\",\"sap/ushell/components/tiles/applauncher/StaticTile.controller\"],(e,t,n,i)=>{\"use strict\";return e.extend(\"sap.ushell.components.tiles.applauncher.StaticTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.applauncher.StaticTile\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");return this.getTileControl()},getTileControl:function(){const e=this.getController();if(this.getContent().length===1){return this.getContent()[0]}return new t({mode:\"{= ${/mode} || (${/config/display_icon_url} ? 'ContentMode' : 'HeaderMode') }\",header:\"{/config/display_title_text}\",subheader:\"{/config/display_subtitle_text}\",sizeBehavior:\"{/sizeBehavior}\",wrappingType:\"{/wrappingType}\",url:{parts:[\"/targetURL\",\"/nav/navigation_target_url\"],formatter:e.formatters.leanURL},tileContent:new i({footer:\"{/config/display_info_text}\",content:new n({src:\"{/config/display_icon_url}\"})}),press:[e.onPress,e]})},getMode:function(){return this.getModel().getProperty(\"/mode\")||(this.getModel().getProperty(\"/config/display_icon_url\")?\"ContentMode\":\"HeaderMode\")}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/applauncherdynamic/Component\", [\"sap/ui/core/mvc/View\",\"sap/ui/core/UIComponent\"],(e,n)=>{\"use strict\";return n.extend(\"sap.ushell.components.tiles.applauncherdynamic\",{metadata:{interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},createContent:function(){const n=this.getComponentData();return e.create({viewName:\"module:sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view\",viewData:n})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/applauncherdynamic/Configuration.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ushell/components/tiles/utils\",\"sap/ui/core/ListItem\"],(e,t,n)=>{\"use strict\";return e.extend(\"sap.ushell.components.tiles.applauncherdynamic.Configuration\",{onConfigurationInputChange:function(e){t.checkInput(this.getView(),e)},aDefaultObjects:[{obj:\"\",name:\"\"}],onInit:function(){const e=this.getView();const o=e.byId(\"navigation_semantic_objectInput\");const i=e.byId(\"navigation_semantic_actionInput\");const c=t.getResourceBundleModel();e.setModel(c,\"i18n\");const a=t.getResourceBundle();e.setViewName(\"sap.ushell.components.tiles.applauncherdynamic.Configuration\");t.createSemanticObjectModel(this,o,this.aDefaultObjects);t.createActionModel(this,i,this.aDefaultObjects);o.attachChange(t=>{const n=t.getSource().getValue();e.getModel().setProperty(\"/config/navigation_semantic_object\",n)});i.attachChange(t=>{const n=t.getSource().getValue();e.getModel().setProperty(\"/config/navigation_semantic_action\",n)});e.byId(\"targetUrl\").bindProperty(\"enabled\",{formatter:function(e){return!e},path:\"/config/navigation_use_semantic_object\"});let s=new n({key:\"URL\",text:a.getText(\"configuration.tile_actions.table.target_type.url\")});e.byId(\"targetTypeCB\").addItem(s);s=new n({key:\"INT\",text:a.getText(\"configuration.tile_actions.table.target_type.intent\")});e.byId(\"targetTypeCB\").addItem(s)},onAfterRendering:function(){t.updateMessageStripForOriginalLanguage(this.getView())},onValueHelpRequest:function(e){t.objectSelectOnValueHelpRequest(this,e,false)},onActionValueHelpRequest:function(e){t.actionSelectOnValueHelpRequest(this,e,false)},onCheckBoxChange:function(e){const n=this.getView();const o=n.byId(\"navigation_semantic_objectInput\");const i=o.getModel();const c=e.getSource().getSelected();i.setProperty(\"/enabled\",c);t.checkInput(this.getView(),e)},onIconValueHelpRequest:function(e){t.iconSelectOnValueHelpRequest(this,e,false)},onSelectIconClose:function(){t.onSelectIconClose(this.getView())},onSelectIconOk:function(){t.onSelectIconOk(this.getView())},handleTargetTypeChange:function(e){t.onTargetTypeChange(e)},onTileActionValueHelp:function(e){t.objectSelectOnValueHelpRequest(this,e,true)},onTileActionIconValueHelp:function(e){t.iconSelectOnValueHelpRequest(this,e,true)},addRow:function(){t.addTileActionsRow(this.getView())},deleteRow:function(){t.deleteTileActionsRow(this.getView())}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller\", [\"sap/ui/core/EventBus\",\"sap/ushell/library\",\"sap/ui/core/mvc/Controller\",\"sap/ushell/components/tiles/utils\",\"sap/ushell/Config\",\"sap/ushell/utils/WindowUtils\",\"sap/m/library\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/ushell/utils/DynamicTileRequest\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/utils\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,i,s,a,r,n,o,jQuery,l,c,g,p,u,f)=>{\"use strict\";const _=n.GenericTileScope;const d=n.GenericTileMode;const h=t.AppType;const y=\"sap.ushell.components.tiles.applauncherdynamic.DynamicTile\";return i.extend(y,{_aDoables:[],oDataRequest:null,sConfigNavigationTargetUrlOld:\"\",REFRESH_INTERVAL_MIN:10,constructTargetUrlWithSapSystem:function(e,t){let i;if(t){if(g.isIntentUrl(e)){i=g.parseShellHash(e);if(!i.params){i.params={}}i.params[\"sap-system\"]=t;e=`#${g.constructShellHash(i)}`}else{e+=`${e.indexOf(\"?\")<0?\"?\":\"&\"}sap-system=${t}`}}return e},onInit:function(){const t=this;const i=this.getView();const r=i.getViewData();const n=r.chip;const c=s.getAppLauncherConfig(n,n.configurationUi.isEnabled(),false);const g=c.navigation_target_url;const p=n.url.getApplicationSystem();this.sConfigNavigationTargetUrlOld=c.navigation_target_url;l.setLevel(2,y);this.bIsRequestCompleted=false;this.navigationTargetUrl=this.constructTargetUrlWithSapSystem(g,p);const u=new o({sizeBehavior:a.last(\"/core/home/sizeBehavior\"),wrappingType:a.last(\"/core/home/wrappingType\"),config:c,mode:c.display_mode||d.ContentMode,data:s.getDataToDisplay(c,{number:n.preview&&n.preview.isEnabled()?1234:\"...\"}),nav:{navigation_target_url:n.configurationUi&&n.configurationUi.isEnabled()?\"\":this.navigationTargetUrl},search:{display_highlight_terms:[]}});i.setModel(u);this._aDoables.push(a.on(\"/core/home/sizeBehavior\").do(e=>{u.setProperty(\"/sizeBehavior\",e)}));if(n.types){n.types.attachSetType(e=>{if(t.tileType!==e){if(e===\"link\"){u.setProperty(\"/mode\",d.LineMode)}else{u.setProperty(\"/mode\",u.getProperty(\"/config/display_mode\")||d.ContentMode)}t.tileType=e}})}if(!this.tileType){this.tileType=\"tile\"}if(n.search){const e=i.getModel().getProperty(\"/config/display_search_keywords\");const t=e.split(/[, ]+/).filter((e,t)=>e&&e!==\"\");if(c.display_title_text&&c.display_title_text!==\"\"&&t.indexOf(c.display_title_text)===-1){t.push(c.display_title_text)}if(c.display_subtitle_text&&c.display_subtitle_text!==\"\"&&t.indexOf(c.display_subtitle_text)===-1){t.push(c.display_subtitle_text)}if(c.display_info_text&&c.display_info_text!==\"\"&&t.indexOf(c.display_info_text)===-1){t.push(c.display_info_text)}if(c.display_number_unit&&c.display_number_unit!==\"\"&&t.indexOf(c.display_number_unit)===-1){t.push(c.display_number_unit)}n.search.setKeywords(t);n.search.attachHighlight(e=>{i.getModel().setProperty(\"/search/display_highlight_terms\",e)})}if(n.bag&&n.bag.attachBagsUpdated){n.bag.attachBagsUpdated(e=>{if(e.indexOf(\"tileProperties\")>-1){s._updateTilePropertiesTexts(i,n.bag.getBag(\"tileProperties\"))}})}if(n.configuration&&n.configuration.attachConfigurationUpdated){n.configuration.attachConfigurationUpdated(e=>{if(e.indexOf(\"tileConfiguration\")>-1){s._updateTileConfiguration(i,n.configuration.getParameterValueAsString(\"tileConfiguration\"))}})}if(n.preview){n.preview.setTargetUrl(this.navigationTargetUrl);n.preview.setPreviewIcon(c.display_icon_url);n.preview.setPreviewTitle(c.display_title_text);if(n.preview.setPreviewSubtitle&&typeof n.preview.setPreviewSubtitle===\"function\"){n.preview.setPreviewSubtitle(c.display_subtitle_text)}}if(n.configurationUi.isEnabled()){n.configurationUi.setAsyncUiProvider(()=>s.getConfigurationUi(i,\"sap.ushell.components.tiles.applauncherdynamic.Configuration\").then(e=>{n.configurationUi.attachCancel(t.onCancelConfiguration.bind(null,e));n.configurationUi.attachSave(t.onSaveConfiguration.bind(null,e));return e}));this.getView().getContent()[0].setTooltip(s.getResourceBundle().getText(\"edit_configuration.tooltip\"))}else if(!n.preview||!n.preview.isEnabled()){if(!p){f.addRemoteSystemForServiceUrl(c.service_url)}this.bNeedsRefresh=true;this.iNrOfTimerRunning=0}if(n.refresh){n.refresh.attachRefresh(this.refreshHandler.bind(this))}if(n.visible){n.visible.attachVisible(this.visibleHandler.bind(this))}if(n.actions){let e;const t=c.actions;if(t){e=t.slice()}else{e=[]}if(a.last(\"/core/shell/enablePersonalization\")){const t=u.getProperty(\"/mode\")===d.LineMode?\"link\":\"tile\";const i=s.getTileSettingsAction(u,this.onSaveRuntimeSettings.bind(this),t);e.push(i)}n.actions.setActionsProvider(()=>e)}e.getInstance().subscribe(\"launchpad\",\"sessionTimeout\",this._clearRequest,this)},stopRequests:function(){if(this.oDataRequest){if(this.oDataRequest.abort()){this.bNeedsRefresh=true}}},_clearRequest:function(){this.stopRequests();clearTimeout(this.timer)},onExit:function(){if(this.oDataRequest){this._clearRequest();this.oDataRequest.destroy()}e.getInstance().unsubscribe(\"launchpad\",\"sessionTimeout\",this._clearRequest,this);this._aDoables.forEach(e=>{e.off()});this._aDoables=[]},onPress:function(e){const t=this.getView();const i=t.getViewData();const s=t.getModel();const n=s.getProperty(\"/nav/navigation_target_url\");const o=i.chip;const l=s.getProperty(\"/config\");if(e.getSource().getScope&&e.getSource().getScope()===_.Display){if(o.configurationUi.isEnabled()){o.configurationUi.display()}else if(n){u.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Tile\",data:{targetUrl:n}});if(n[0]===\"#\"){hasher.setHash(n)}else{const e=a.last(\"/core/shell/enableRecentActivity\")&&a.last(\"/core/shell/enableRecentActivityLogging\");if(e){const e={title:l.display_title_text,appType:h.URL,url:l.navigation_target_url,appId:l.navigation_target_url};f.getRendererInternal(\"fiori2\").logRecentActivity(e)}r.openURL(n,\"_blank\")}}}},onSaveRuntimeSettings:function(e){const t=this.getView();const i=t.getModel();const s=t.getViewData().chip;const a=i.getProperty(\"/config\");const r=e.getModel();a.display_title_text=r.getProperty(\"/title\")||\"\";a.display_subtitle_text=r.getProperty(\"/subtitle\")||\"\";a.display_info_text=r.getProperty(\"/info\")||\"\";a.display_search_keywords=r.getProperty(\"/keywords\")||\"\";const n=s.bag.getBag(\"tileProperties\");n.setText(\"display_title_text\",a.display_title_text);n.setText(\"display_subtitle_text\",a.display_subtitle_text);n.setText(\"display_info_text\",a.display_info_text);n.setText(\"display_search_keywords\",a.display_search_keywords);function o(e){l.error(e,null,y)}n.save(()=>{l.debug(\"property bag 'tileProperties' saved successfully\");i.setProperty(\"/config\",a);i.setProperty(\"/data/display_title_text\",a.display_title_text);i.setProperty(\"/data/display_subtitle_text\",a.display_subtitle_text);i.setProperty(\"/data/display_info_text\",a.display_info_text);i.refresh()},o)},onSaveConfiguration:function(e){const t=new jQuery.Deferred;const i=e.getModel();const a=i.getProperty(\"/tileModel\");const r=e.getViewData().chip;const n=s.tileActionsRows2TileActionsArray(i.getProperty(\"/config/tile_actions_rows\"));const c={display_icon_url:i.getProperty(\"/config/display_icon_url\"),display_number_unit:i.getProperty(\"/config/display_number_unit\"),service_url:i.getProperty(\"/config/service_url\"),service_refresh_interval:i.getProperty(\"/config/service_refresh_interval\"),navigation_use_semantic_object:i.getProperty(\"/config/navigation_use_semantic_object\"),navigation_target_url:i.getProperty(\"/config/navigation_target_url\"),navigation_semantic_object:(i.getProperty(\"/config/navigation_semantic_object\")||\"\").trim(),navigation_semantic_action:(i.getProperty(\"/config/navigation_semantic_action\")||\"\").trim(),navigation_semantic_parameters:(i.getProperty(\"/config/navigation_semantic_parameters\")||\"\").trim(),display_search_keywords:i.getProperty(\"/config/display_search_keywords\")};let g=s.checkInputOnSaveConfig(e);if(!g){g=s.checkTileActions(e)}if(g){t.reject(\"mandatory_fields_missing\");return t.promise()}if(c.navigation_use_semantic_object){c.navigation_target_url=s.getSemanticNavigationUrl(c);i.setProperty(\"/config/navigation_target_url\",c.navigation_target_url)}const p=r.bag.getBag(\"tileProperties\");p.setText(\"display_title_text\",i.getProperty(\"/config/display_title_text\"));p.setText(\"display_subtitle_text\",i.getProperty(\"/config/display_subtitle_text\"));p.setText(\"display_info_text\",i.getProperty(\"/config/display_info_text\"));p.setText(\"display_search_keywords\",c.display_search_keywords);const u=r.bag.getBag(\"tileNavigationActions\");s.populateTileNavigationActionsBag(u,n);function f(e,i){l.error(e,null,y);t.reject(e,i)}r.writeConfiguration.setParameterValues({tileConfiguration:JSON.stringify(c)},()=>{const i=s.getAppLauncherConfig(r,false,false);const n=s.getAppLauncherConfig(r,true,false);const c=new o({config:i,tileModel:a});e.setModel(c);a.setData({data:n,nav:{navigation_target_url:\"\"}},false);if(r.preview){r.preview.setTargetUrl(i.navigation_target_url);r.preview.setPreviewIcon(i.display_icon_url);r.preview.setPreviewTitle(i.display_title_text);if(r.preview.setPreviewSubtitle&&typeof r.preview.setPreviewSubtitle===\"function\"){r.preview.setPreviewSubtitle(i.display_subtitle_text)}}p.save(()=>{l.debug(\"property bag 'tileProperties' saved successfully\");if(r.title){r.title.setTitle(i.display_title_text,()=>{t.resolve()},f)}else{t.resolve()}},f);u.save(()=>{l.debug(\"property bag 'navigationProperties' saved successfully\")},f)},f);return t.promise()},successHandlerFn:function(e){const t=this.getView();const i=t.getModel();const a=i.getProperty(\"/config\");const r=i.getProperty(\"/config/navigation_target_url\");let n=i.getProperty(\"/config/service_refresh_interval\");const o=i.getProperty(\"/config/service_url\");const c=t.getViewData();const g=c.chip;const p=g.url.getApplicationSystem();if(c.properties&&c.properties.info){if(typeof e===\"object\"){e.info=c.properties.info}}const u=s.getDataToDisplay(a,e);i.setProperty(\"/data\",u);if(this.sConfigNavigationTargetUrlOld!==r){this.navigationTargetUrl=this.constructTargetUrlWithSapSystem(r,p);this.sConfigNavigationTargetUrlOld=this.navigationTargetUrl}i.setProperty(\"/nav/navigation_target_url\",s.addParamsToUrl(this.navigationTargetUrl,u));if(n>0){n=Math.max(n,this.REFRESH_INTERVAL_MIN);l.info(`Wait ${n} seconds before calling ${o} again`,null,y);this.refeshAfterInterval(n)}},errorHandlerFn:function(e,t){const i=this.getView();const s=i.getModel();const a=s.getProperty(\"/config/service_url\");let r=e&&e.message?e.message:e;if(e.statusText===\"Abort\"||e.aborted===true){l.info(`Data request from service ${a} was aborted`,null,y)}else{if(e.response){r+=` - ${e.response.statusCode} ${e.response.statusText}`}const i=t?l.warning:l.error;i(`Failed to update data via service\\n service URL: ${a}\\n ${r}`,null,y);this._setTileIntoErrorState()}},_setTileIntoErrorState:function(){const e=s.getResourceBundle();const t=this.getView().getModel();const i=t.getProperty(\"/config\");t.setProperty(\"/data\",s.getDataToDisplay(i,{number:\"???\",info:e.getText(\"dynamic_data.error\"),infoState:\"Critical\"}))},onCancelConfiguration:function(e){const t=e.getViewData();const i=e.getModel();const a=i.getProperty(\"/tileModel\");const r=t.chip;const n=s.getAppLauncherConfig(r,false,false);i.setData({config:n,tileModel:a},false)},loadData:function(){const e=this.getView();const t=e.getViewData().chip;const i=e.getModel();let s=i.getProperty(\"/config/service_url\");if(/;o=([;/?]|$)/.test(s)){s=t.url.addSystemToServiceUrl(s)}if(!s){l.error(\"No service URL given!\",y);this._setTileIntoErrorState();return}if(!this.oDataRequest||this.oDataRequest.sUrl!==s){if(this.oDataRequest){this.oDataRequest.destroy()}this.sRequestUrl=s;const e={dataSource:i.getProperty(\"/config/data_source\")};this.oDataRequest=new c(s,this.successHandlerFn.bind(this),this.er Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/search/Search.controller\", [\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/Controller\"],(e,n)=>{\"use strict\";return n.extend(\"sap.ushell.components.shell.Settings.search.Search\",{onInit:function(){this._loadContent()},_loadContent:function(){const n=this.getView().byId(\"searchContent\");e.create({id:\"searchPrefsDialogView\",viewName:\"module:sap/esh/search/ui/userpref/SearchPrefsDialog.view\"}).then(e=>{n.addItem(e)})},onCancel:function(){this.oView.getModel().cancelPreferences()},onSave:function(){return this.oView.getModel().savePreferences()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/search/SearchEntry\", [\"sap/base/Log\",\"sap/ui/core/Lib\",\"sap/ui/core/mvc/XMLView\",\"sap/ushell/resources\"],(e,n,r,t)=>{\"use strict\";let s=null;function i(){if(s){return s}s=n.load(\"sap.esh.search.ui\").then(()=>new Promise((e,n)=>{sap.ui.require([\"sap/esh/search/ui/userpref/SearchPrefsModel\",\"sap/esh/search/ui/SearchShellHelperAndModuleLoader\"],(n,r)=>{e(new n)})}));return s}function a(){return i().then(n=>{let s;const i={id:\"search\",entryHelpID:\"search\",title:t.i18n.getText(\"searchSetting\"),valueResult:null,contentResult:null,icon:\"sap-icon://search\",isActive:n.isSearchPrefsActive.bind(n),valueArgument:function(){return n.isMultiProvider().then(e=>{if(e){return{value:1,displayText:\"\"}}return n.isPersonalizedSearchActive().then(e=>({value:1,displayText:e?t.i18n.getText(\"sp.persSearchOn\"):t.i18n.getText(\"sp.persSearchOff\")}))})},contentFunc:function(){return n.asyncInit().then(()=>r.create({id:\"searchView\",viewName:\"sap.ushell.components.shell.Settings.search.Search\"})).then(e=>{e.setModel(n);s=e;return e})},onSave:function(){if(s){return s.getController().onSave()}e.warning(\"Save operation for search settings was not executed, because the search view was not initialized\");return Promise.resolve()},onCancel:function(){if(s){s.getController().onCancel();return}e.warning(\"Cancel operation for search settings was not executed, because the search view was not initialized\")},provideEmptyWrapper:false};return i})}return{getEntry:a}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/spaces/SpacesEntry\", [\"sap/base/Log\",\"sap/ui/core/mvc/View\",\"sap/ushell/resources\",\"sap/ushell/Config\",\"sap/ushell/utils\",\"sap/ushell/Container\"],(e,t,n,s,r,a)=>{\"use strict\";function o(){return a.getServiceAsync(\"UserInfo\").then(e=>{const t=e.getUser().getShowMyHome();return n.i18n.getText(t?\"settingsMyHomeShown\":\"settingsMyHomeHidden\")})}function c(){const e=s.last(\"/core/spaces/enabled\")&&s.last(\"/core/spaces/myHome/enabled\")&&!s.last(\"/core/homeApp/enabled\");return e?o:null}return{isRelevant:function(){if(s.last(\"/core/spaces/configurable\")){return true}if(s.last(\"/core/spaces/enabled\")){if(s.last(\"/core/spaces/hideEmptySpaces/enabled\")){return true}const e=s.last(\"/core/spaces/myHome/enabled\");const t=s.last(\"/core/homeApp/enabled\");if(e&&!t){return true}}return false},getEntry:function(){let s;return{id:\"spacesEntry\",entryHelpID:\"spaces\",title:n.i18n.getText(\"spaces\"),valueResult:null,contentResult:null,icon:\"sap-icon://home\",valueArgument:c(),contentFunc:function(){return Promise.all([a.getServiceAsync(\"UserInfo\"),r.getHideEmptySpacesEnabled()]).then(e=>{const n=e[0];return t.create({id:\"UserSettingsSpacesSettingsView\",viewName:\"sap.ushell.components.shell.Settings.spaces.SpacesSetting\",type:\"XML\",viewData:{UserInfo:n}})}).then(e=>{s=e;return s})},onSave:function(t){if(s){return s.getController().onSave(t)}e.warning(\"Save operation for user account settings was not executed, because the spaces view was not initialized\");return Promise.resolve()},onCancel:function(){if(s){s.getController().onCancel();return}e.warning(\"Cancel operation for user account settings was not executed, because the spaces view was not initialized\")},provideEmptyWrapper:false,_setViewInstance:function(e){s=e},_getViewInstance:function(){return s}}}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/EventHub\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/base/Log\"],(e,s,t,o,r,n,c)=>{\"use strict\";return e.extend(\"sap.ushell.components.shell.Settings.spaces.SpacesSetting\",{onInit:function(){const e=this.getView().getViewData();this.oUserInfoService=e.UserInfo;const n=this.oUserInfoService.getUser();const c=o.last(\"/core/spaces/enabled\");const a=o.last(\"/core/homeApp/enabled\");const i=o.last(\"/core/spaces/myHome/enabled\");const p=c&&i&&!a;const l=n.getShowMyHome();const d=n.getImportBookmarksFlag();const m=d!==\"done\"&&d!==\"not_required\";const h=new s({spaces:{visible:o.last(\"/core/spaces/configurable\"),selected:c},hideEmptySpaces:{visible:c&&o.last(\"/core/spaces/hideEmptySpaces/enabled\"),selected:o.last(\"/core/spaces/hideEmptySpaces/userEnabled\")},showMyHome:{visible:p,selected:l},showMyHomeImport:{visible:p&&l&&m,selected:d===\"pending\"}});this.getView().setModel(h);this.getView().setModel(r.i18nModel,\"i18n\");this.oImportBookmarksFlagListener=t.on(\"importBookmarksFlag\").do(this._setMyHomeImportSelected.bind(this))},_setMyHomeImportSelected:function(e){const s=this.getView().getModel();s.setProperty(\"/showMyHomeImport/selected\",e)},onExit:function(){this.oImportBookmarksFlagListener.off()},onSave:function(e){let s=false;let r=false;const a=[];const i=this.getView().getModel();const p=this.oUserInfoService;const l=p.getUser();const d=o.last(\"/core/spaces/enabled\");const m=i.getProperty(\"/spaces/selected\");const h=o.last(\"/core/spaces/hideEmptySpaces/userEnabled\");const g=i.getProperty(\"/hideEmptySpaces/selected\");const y=l.getShowMyHome();const u=i.getProperty(\"/showMyHome/selected\");const E=l.getImportBookmarksFlag()===\"pending\";const M=i.getProperty(\"/showMyHomeImport/selected\");if(d!==m){l.setChangedProperties({propertyName:\"spacesEnabled\",name:\"SPACES_ENABLEMENT\"},d,m);r=true;s=true}if(y!==u){l.setShowMyHome(u);r=true;s=true}if(E!==M){const e=M?\"pending\":\"dismissed\";l.setImportBookmarksFlag(e);r=true;if(!s){t.emit(\"importBookmarksFlag\",M)}}if(h!==g){const e=n.setHideEmptySpacesEnabled(g).catch(e=>{i.setProperty(\"/hideEmptySpaces/selected\",h);return Promise.reject(e)});a.push(e)}if(!r&&!a.length){return Promise.resolve()}c.debug(\"[000] SpacesSetting.controller.save\");if(r){const s=new Promise((s,t)=>{e().then(()=>{l.resetChangedProperty(\"spacesEnabled\");l.resetChangedProperty(\"showMyHome\");l.resetChangedProperty(\"importBookmarks\");s()}).catch(e=>{if(!e.includes(\"SPACES_ENABLEMENT\")&&!e.includes(\"MYHOME_ENABLEMENT\")&&!e.includes(\"MYHOME_IMPORT_FROM_CLASSIC\")){l.resetChangedProperty(\"spacesEnabled\");l.resetChangedProperty(\"showMyHome\");l.resetChangedProperty(\"importBookmarks\");s()}else{i.setProperty(\"/spaces/selected\",d);i.setProperty(\"/showMyHome/selected\",y);l.resetChangedProperty(\"spacesEnabled\");l.resetChangedProperty(\"showMyHome\");l.resetChangedProperty(\"importBookmarks\");t(e)}})});a.push(s)}return Promise.all(a).then(()=>({refresh:s,noHash:true}))},onCancel:function(){const e=this.getView().getModel();e.setProperty(\"/spaces/selected\",o.last(\"/core/spaces/enabled\"));e.setProperty(\"/showMyHome/selected\",this.oUserInfoService.getUser().getShowMyHome());e.setProperty(\"/hideEmptySpaces/selected\",o.last(\"/core/spaces/hideEmptySpaces/userEnabled\"))}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userAccount/UserAccountEntry\", [\"sap/ui/core/mvc/XMLView\",\"sap/base/Log\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,n,o,r)=>{\"use strict\";function s(){const s=r.getRendererInternal(\"fiori2\").getShellConfig();const c=s.enableUserImgConsent;const u=c?\"userAccountSelector\":\"userAccountSetting\";const l=c?\"sap.ushell.components.shell.Settings.userAccount.UserAccountSelector\":\"sap.ushell.components.shell.Settings.userAccount.UserAccountSetting\";const i=n.last(\"/core/shell/model/userImage/account\")||\"sap-icon://account\";let a;const g={id:\"userAccountEntry\",entryHelpID:\"userAccountEntry\",title:o.i18n.getText(\"UserAccountFld\"),valueResult:null,contentResult:null,icon:i,valueArgument:r.getUser().getFullName(),provideEmptyWrapper:true,contentFunc:function(){return e.create({id:u,viewName:l}).then(e=>{a=e;return e})},onSave:function(e){if(a){return a.getController().onSave(e)}t.warning(\"Save operation for user account settings was not executed, because the userAccount view was not initialized\");return Promise.resolve()},onCancel:function(){if(a){a.getController().onCancel();return}t.warning(\"Cancel operation for user account settings was not executed, because the userAccount view was not initialized\")}};return g}return{getEntry:s}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/base/Log\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/m/MessageBox\",\"sap/m/MessageToast\",\"sap/ushell/utils\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/Container\"],(e,s,t,n,o,i,r,a,l,g)=>{\"use strict\";return e.extend(\"sap.ushell.components.shell.Settings.userAccount.UserAccountSelector\",{onInit:function(){const e=g.getRendererInternal(\"fiori2\").getShellConfig();const s=e.enableUserImgConsent;this.imgConsentEnabled=s||false;this.oUser=g.getUser();const i=this.getConfigurationModel();this.getView().setModel(o.i18nModel,\"i18n\");this.getView().setModel(i,\"config\");this.oUser.attachOnSetImage(()=>{i.setProperty(\"/icon\",n.last(\"/core/shell/model/userImage/personPlaceHolder\"))});g.getServiceAsync(\"PersonalizationV2\").then(e=>e.isResetEntirePersonalizationSupported().then(e=>{if(!e){i.setProperty(\"/isResetPersonalizationVisible\",false)}})).catch(e=>{t.error(`The personalization service could not be loaded because of: .${e.toString()}`)})},getConfigurationModel:function(){const e=new s({});const t=g.getUser();const o=n.last(\"/core/shell/model/userImage/personPlaceHolder\")||\"sap-icon://person-placeholder\";e.setData({icon:o,name:t.getFullName(),id:t.getId(),mail:t.getEmail(),server:window.location.host,imgConsentEnabled:this.imgConsentEnabled,isImageConsentForUser:t.getImageConsent(),isResetPersonalizationVisible:this.isResetPersonalizationVisible||true,displayUserId:n.last(\"/core/userSettings/displayUserId\")});return e},onCancel:function(){if(this.imgConsentEnabled){this.getView().getModel(\"config\").setProperty(\"/isImageConsentForUser\",this.oUser.getImageConsent())}},onSave:function(e){if(this.imgConsentEnabled){return this.onSaveUserImgConsent(e)}return Promise.resolve()},onSaveUserImgConsent:function(e){const s=this.oUser;const n=s.getImageConsent();const o=this.getView().getModel(\"config\");const i=o.getProperty(\"/isImageConsentForUser\");let r;t.debug(\"[000] onSaveUserImgConsent:current\",i,\"UserAccountSelector.controller\");t.debug(\"[000] onSaveUserImgConsent:original\",n,\"UserAccountSelector.controller\");if(n!==i){s.setImageConsent(i);return new Promise((i,a)=>{r=e();r.then(()=>{s.resetChangedProperty(\"isImageConsent\");i()});r.catch(e=>{if(!e.includes(\"ISIMAGECONSENT\")){s.resetChangedProperty(\"isImageConsent\");i()}else{s.setImageConsent(n);s.resetChangedProperty(\"isImageConsent\");o.setProperty(\"/isImageConsentForUser\",n);t.error(e);a(e)}})})}return Promise.resolve()},termsOfUserPress:function(){const e=this.getView().byId(\"termsOfUseTextFlexBox\");const s=this.getView().byId(\"termsOfUseLink\");const t=e.getVisible();e.setVisible(!t);s.setText(o.i18n.getText(t?\"userImageConsentDialogShowTermsOfUse\":\"userImageConsentDialogHideTermsOfUse\"))},showMessageBoxWarningDeletePersonalization:function(){i.warning(o.i18n.getText(\"userAccountResetPersonalizationWarningDialogDescription\"),{onClose:this.resetEntirePersonalization.bind(this),actions:[i.Action.OK,i.Action.CANCEL],contentWidth:\"600px\"})},resetEntirePersonalization:function(e){if(e===i.Action.OK){this.getView().setBusy(true);g.getServiceAsync(\"PersonalizationV2\").then(e=>e.resetEntirePersonalization().then(()=>{r.show(o.i18n.getText(\"userAccountResetPersonalizationWarningDialogSuccessToast\"),{onClose:l.refreshBrowser})}).catch(this.showErrorMessageBox.bind(this))).catch(this.showErrorMessageBox.bind(this)).finally(()=>{this.getView().setBusy(false)})}},showErrorMessageBox:function(){i.error(o.i18n.getText(\"userAccountResetPersonalizationWarningDialogErrorDialog\"),{actions:i.Action.CLOSE,contentWidth:\"600px\"})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry\", [\"sap/ui/core/mvc/XMLView\",\"sap/base/Log\",\"sap/ushell/resources\"],(e,t,i)=>{\"use strict\";function n(){const n=\"userActivitiesSetting\";const s=\"sap.ushell.components.shell.Settings.userActivities.UserActivitiesSetting\";let r;return{id:\"userActivitiesEntry\",entryHelpID:\"userActivitiesEntry\",title:i.i18n.getText(\"userActivities\"),valueResult:null,contentResult:null,icon:\"sap-icon://laptop\",valueArgument:null,groupingEnablement:true,groupingId:\"userActivities\",groupingTabHelpId:\"userActivitiesEntryTab\",groupingTabTitle:i.i18n.getText(\"userActivitiesTabName\"),contentFunc:function(){return e.create({id:n,viewName:s}).then(e=>{r=e;return e})},onSave:function(){if(r){return r.getController().onSave()}t.warning(\"Save operation for user account settings was not executed, because the userActivities view was not initialized\");return Promise.resolve()},onCancel:function(){if(r){r.getController().onCancel();return}t.warning(\"Cancel operation for user account settings was not executed, because the userActivities view was not initialized\")}}}return{getEntry:n}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/components/SharedComponentUtils\",\"sap/ushell/Config\",\"sap/base/Log\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,s,i,n,o,r)=>{\"use strict\";return e.extend(\"sap.ushell.components.shell.Settings.userActivities.UserActivitiesSetting\",{onInit:function(){const e=i.last(\"/core/shell/model/enableTrackingActivity\")!==undefined?i.last(\"/core/shell/model/enableTrackingActivity\"):true;this.oModel=new t({checkboxIsChecked:e});this.getView().setModel(this.oModel);this.getView().setModel(o.i18nModel,\"i18n\")},onCancel:function(){const e=i.last(\"/core/shell/model/enableTrackingActivity\")!==undefined?i.last(\"/core/shell/model/enableTrackingActivity\"):true;this.oModel.setProperty(\"/checkboxIsChecked\",e)},onSave:function(){if(i.last(\"/core/shell/model/enableTrackingActivity\")!==this.oModel.getProperty(\"/checkboxIsChecked\")){return this._setTrackingToEnabled(this.oModel.getProperty(\"/checkboxIsChecked\"))}return Promise.resolve()},_setTrackingToEnabled:function(e){return s.getPersonalizer(\"userActivitesTracking\",r.getRendererInternal(\"fiori2\")).then(t=>t.setPersData(e)).then(()=>{i.emit(\"/core/shell/model/enableTrackingActivity\",e)}).catch(e=>{n.error(\"Failed to save the user activities tracking in personalization\",e,\"sap.ushell.components.ushell.settings.userActivities.UserActivitiesSetting\");return Promise.reject(e)})},onClearHistory:async function(){const e=await r.getServiceAsync(\"UserRecents\");await e.clearRecentActivities();return new Promise((e,t)=>{sap.ui.require([\"sap/m/MessageToast\"],t=>{t.show(o.i18n.getText(\"historyCleared\"));e()},t)})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userDefaults/Component\", [\"sap/ui/core/mvc/XMLView\",\"sap/ui/core/UIComponent\"],(t,n)=>{\"use strict\";return n.extend(\"sap.ushell.components.shell.Settings.userDefaults.Component\",{metadata:{manifest:\"json\"},init:function(){n.prototype.init.apply(this,arguments)},onSave:function(){return this.getRootControl().getController().onSave()},onCancel:function(){this.getRootControl().getController().onCancel()},exit:function(){}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry\", [\"sap/base/Log\",\"sap/ui/core/ComponentContainer\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,n,s)=>{\"use strict\";return{getEntry:function(){let a;return{id:\"userDefaultEntry\",entryHelpID:\"defaultParameters\",title:n.i18n.getText(\"defaultsValuesEntry\"),valueArgument:function(){const e=s.getServiceAsync(\"UserDefaultParameters\");const t=s.getServiceAsync(\"ClientSideTargetResolution\");const n=s.getServiceAsync(\"CommonDataModel\").then(e=>e.getContentProviderIds()).catch(()=>[\"\"]);return Promise.all([e,t,n]).then(e=>{const t=e[0];const n=e[1];const s=e[2].length>0?e[2]:[\"\"];return Promise.all(s.map(e=>n.getSystemContext(e).then(e=>t.hasRelevantMaintainableParameters(e))))}).then(e=>({value:e.includes(true)}))},contentFunc:function(){return new Promise((e,n)=>{a=new t(\"defaultParametersSelector\",{name:\"sap.ushell.components.shell.Settings.userDefaults\",manifest:true,async:true});e(a)})},onSave:function(){if(a&&a.getComponentInstance()){return a.getComponentInstance().onSave()}e.warning(\"Save operation for user defaults settings was not executed, because the user default component was not initialized\");return Promise.resolve()},onCancel:function(){if(a&&a.getComponentInstance()){a.getComponentInstance().onCancel();return}e.warning(\"Cancel operation for user defaults settings was not executed, because the user default component was not initialized\")},defaultVisibility:false}}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm\", [\"sap/base/util/deepExtend\",\"sap/ui/comp/smartform/ColumnLayout\",\"sap/ui/comp/smartform/SmartForm\",\"sap/ui/core/Control\"],(e,t,r,o)=>{\"use strict\";const a=[\"sap.ui.comp.smartfield.SmartField\",\"sap.m.Input\"];const n=o.extend(\"sap.ushell.components.shell.Settings.userDefaults.UserDefaultsForm\",{metadata:{properties:{persistencyKey:{type:\"string\"}},aggregations:{_smartForm:{type:\"sap.ui.comp.smartform.SmartForm\",multiple:false,visibility:\"hidden\"}},events:{}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t);e.openEnd();e.renderControl(t.getAggregation(\"_smartForm\"));e.close(\"div\")}}});n.prototype.init=function(){const e=new r({editable:true});const o=new t({columnsM:1,columnsL:1,columnsXL:1});e.setLayout(o);this.setAggregation(\"_smartForm\",e)};n.prototype.fetchVariant=function(){let e;let t;const r=this.getAggregation(\"_smartForm\").getModel(\"MdlParameter\");return this._getFieldControls().reduce((o,a)=>{e=a.getName();o[e]={value:r.getProperty(`/${e}/valueObject/value/`)};t=r.getProperty(`/${e}/valueObject/extendedValue/`);if(t){o[e].additionalValues=t}return o},{})};n.prototype.applyVariant=function(t){if(t){const r=this.getAggregation(\"_smartForm\").getModel(\"MdlParameter\");const o=this._getFieldControls();let a;let n;for(let s=0;s<o.length;s++){a=o[s].getName();if(t[a]!==undefined){if(o[s].getDataType&&o[s].getDataType()===\"Edm.DateTime\"){o[s].setValue(new Date(t[a].value))}else{o[s].setValue(t[a].value)}n=r.getProperty(`/${a}/valueObject/`);n.extendedValue=undefined;if(t[a].additionalValues){n=e(n,{extendedValue:t[a].additionalValues})}r.setProperty(`/${a}/valueObject`,n)}}}};n.prototype._getFieldControls=function(){return this.getControlsByFieldGroupId(\"UserDefaults\").filter(e=>{const t=e.getMetadata().getName();return a.indexOf(t)!==-1})};n.prototype.addGroup=function(e){this.getAggregation(\"_smartForm\").addGroup(e)};n.prototype.getGroups=function(){return this.getAggregation(\"_smartForm\").getGroups()};n.prototype.removeGroup=function(e){this.getAggregation(\"_smartForm\").removeGroup(e)};n.prototype.removeAllGroups=function(){this.getAggregation(\"_smartForm\").removeAllGroups()};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userDefaults/controller/ExtendedValueDialog.controller\", [\"sap/m/Token\",\"sap/ui/comp/library\",\"sap/ui/model/json/JSONModel\",\"sap/ui/core/Fragment\"],(e,t,a,o)=>{\"use strict\";const n=t.valuehelpdialog.ValueHelpRangeOperation;function l(){}l.prototype.openDialog=function(e,t){o.load({id:\"ExtendedValueDialogFragment\",name:\"sap.ushell.components.shell.Settings.userDefaults.view.ExtendedValueDialog\",controller:this}).then(o=>{const n=`/${e.parameterName}/valueObject/extendedValue/Ranges`;const l=e.modelBind.extendedModel;const i=l.getProperty(n)||[];let r;let p;if(e.modelBind.isOdata){p=this._getMetadataNameSpace(e.editorMetadata.editorInfo.odataURL);const t=e.modelBind.model.getMetaModel().getODataEntityType(`${p}.${e.editorMetadata.editorInfo.entityName}`);if(t){r=e.modelBind.model.getMetaModel().getODataProperty(t,e.editorMetadata.editorInfo.propertyName)[\"sap:label\"]}}const s={label:e.editorMetadata.displayText||r||e.parameterName,key:e.modelBind.sPropertyName,parameterName:e.parameterName};o.setModel(new a(s));o.setIncludeRangeOperations(this.getListOfSupportedRangeOperations());o.setTokens(this.getTokensToValueHelpDialog(i,e.parameterName));o.setRangeKeyFields([{label:s.label,key:e.parameterName}]);o.attachOk(e=>{t(e);e.getSource().close()});o.open()})};l.prototype.closeValueHelp=function(e){e.getSource().close(e)};l.prototype.afterCloseValueHelp=function(e){e.getSource().destroy()};l.prototype._getMetadataNameSpace=function(e){const t=e.split(\"/\");return t[t.length-1]};l.prototype.getListOfSupportedRangeOperations=function(){const e=Object.keys(n);return e.filter(e=>e!==\"StartsWith\"&&e!==\"EndsWith\"&&e!==\"Initial\")};l.prototype.getTokensToValueHelpDialog=function(t,a){const o=[];let n;t.forEach(t=>{if(t){n={};n.exclude=t.Sign===\"E\";n.keyField=a;n.operation=t.Option!==\"CP\"?t.Option:\"Contains\";n.value1=t.Low;n.value2=t.High;o.push(new e({}).data(\"range\",n))}});return o};return new l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/deepExtend\",\"sap/base/util/deepEqual\",\"sap/m/Button\",\"sap/m/Input\",\"sap/m/library\",\"sap/ui/core/mvc/Controller\",\"sap/ui/comp/smartfield/SmartField\",\"sap/ui/comp/smartfield/SmartLabel\",\"sap/ui/comp/smartform/Group\",\"sap/ui/comp/smartform/GroupElement\",\"sap/ui/comp/smartvariants/PersonalizableInfo\",\"sap/ui/core/Title\",\"sap/ui/model/json/JSONModel\",\"sap/ui/model/odata/v2/ODataModel\",\"sap/ushell/resources\",\"sap/m/MessageBox\",\"./ExtendedValueDialog.controller\",\"sap/ushell/Container\"],(e,t,a,r,s,n,o,i,d,l,u,c,m,h,p,f,g,y,P,M)=>{\"use strict\";const v=o.ButtonType;function b(e,t){if(!(t.editorMetadata&&t.editorMetadata.groupId)){return-1}if(!(e.editorMetadata&&e.editorMetadata.groupId)){return 1}if(e.editorMetadata.groupId<t.editorMetadata.groupId){return-1}if(e.editorMetadata.groupId>t.editorMetadata.groupId){return 1}return 0}function S(e,t){if(!(t.editorMetadata&&t.editorMetadata.parameterIndex)){return-1}if(!(e.editorMetadata&&e.editorMetadata.parameterIndex)){return 1}return e.editorMetadata.parameterIndex-t.editorMetadata.parameterIndex}function D(e,t){const a=b(e,t);if(a===0){return S(e,t)}return a}return i.extend(\"sap.ushell.components.shell.Settings.userDefaults.controller.UserDefaultsSetting\",{onInit:function(){this.oModelRecords={};this.aChangedParamsNames=[];this.oBlockedParameters={};this.aDisplayedUserDefaults=[];this.oDirtyStateModel=new p({isDirty:false,selectedVariant:null});this.getView().setModel(this.oDirtyStateModel,\"DirtyState\");this.oOriginalParameters={};const t=this.getView();t.setBusy(true);t.setModel(g.i18nModel,\"i18n\");this.getSystemContextsModel().then(e=>{t.setModel(e,\"systemContexts\");return this._fillGroups()}).then(this._saveIsSupportedPlatform.bind(this)).then(this._initializeSmartVariantManagement.bind(this)).then(()=>{t.setBusy(false)}).catch(a=>{e.error(\"Error during UserDefaultsSetting controller initialization\",a,\"sap.ushell.components.shell.Settings.userDefaults.UserDefaultsSetting\");t.setBusy(false)})},getSystemContextsModel:function(){const e=new p({systemContexts:[],selectedKey:\"\"});const t=this._getContentProviderIds();const a=M.getServiceAsync(\"ClientSideTargetResolution\");const r=M.getServiceAsync(\"UserDefaultParameters\");return Promise.all([t,a,r]).then(t=>{const a=t[0];const r=t[1];const s=t[2];if(a.length===0){a.push(\"\")}return Promise.all(a.map(t=>r.getSystemContext(t).then(t=>{const a=e.getProperty(\"/systemContexts\");return s.hasRelevantMaintainableParameters(t).then(e=>{if(e){a.push(t)}})}))).then(()=>{const t=e.getProperty(\"/systemContexts\");if(t.length>0){e.setProperty(\"/selectedKey\",t[0].id)}return e})})},_getContentProviderIds:function(){return M.getServiceAsync(\"CommonDataModel\").then(e=>e.getContentProviderIds()).catch(()=>[\"\"])},handleSystemContextChanged:function(){if(this.oDirtyStateModel.getProperty(\"/isDirty\")){const e=g.i18n.getText(\"userDefaultsSave\");const t=g.i18n.getText(\"userDefaultsDiscard\");y.show(g.i18n.getText(\"userDefaultsUnsavedChangesMessage\"),{title:g.i18n.getText(\"userDefaultsUnsavedChangesTitle\"),actions:[e,t,y.Action.CANCEL],emphasizedAction:e,icon:y.Icon.QUESTION,onClose:function(a){if(a===t){this._fillGroups();this._setDirtyState(false)}else if(a===e){this.onSave();this._fillGroups();this._setDirtyState(false)}else{this.getView().getModel(\"systemContexts\").setProperty(\"/selectedKey\",this.sLastSelectedKey)}}.bind(this)})}else{this._fillGroups()}},_fillGroups:async function(){const e=this.getView().byId(\"userDefaultsForm\");e.removeAllGroups();const t=this.getView().getModel(\"systemContexts\").getProperty(\"/selectedKey\");const r=this.getView().getModel(\"systemContexts\").getProperty(\"/systemContexts\").find(e=>e.id===t);const s=await M.getServiceAsync(\"UserDefaultParameters\");const n=await s.editorGetParameters(r);this.oOriginalParameters=a({},n);this.oModel=new p(n);this.oModel.setDefaultBindingMode(\"TwoWay\");this.getView().setModel(this.oModel,\"MdlParameter\");const o=await this._getFormattedParameters(this.oModel);const i=this._createContent(o);i.forEach(t=>{e.addGroup(t)})},_getFormattedParameters:function(t){const r=t.getData(\"/\");const s=Object.keys(r).map(s=>{const n=a({},r[s]);n.parameterName=s;n.editorMetadata=n.editorMetadata||{};if(n.editorMetadata.editorInfo&&n.editorMetadata.editorInfo.propertyName){return this._createOdataModelBinding(n,t).then(e=>{n.modelBind=e;const t=e.model?e.model.getMetaModel():undefined;if(t){return t.loaded().then(()=>{const e=t.getObject(\"/dataServices/schema/0/namespace\");const a=t.getODataEntityType(`${e}.${n.editorMetadata.editorInfo.entityName}`);const r=a.property.find(e=>{if(e.name===n.editorMetadata.editorInfo.propertyName){return true}});switch(r.type){case\"Edm.DateTime\":n.valueObject.value=n.valueObject.value?new Date(n.valueObject.value):null;break;default:n.valueObject.value=n.valueObject.value?n.valueObject.value:\"\";break}return n})}n.valueObject=a({value:\"\"},n.valueObject);return n}).catch(()=>{e.error(`Metadata loading for parameter ${n.parameterName} failed${JSON.stringify(n.editorMetadata)}`);n.valueObject=a({value:\"\"},n.valueObject);n.modelBind=this._createPlainModelBinding(n,t);this.oBlockedParameters[n.parameterName]=false;return Promise.resolve(n)})}n.valueObject=a({value:\"\"},n.valueObject);n.modelBind=this._createPlainModelBinding(n,t);return Promise.resolve(n)});return Promise.all(s).then(e=>{e.sort(D);this.aDisplayedUserDefaults=e;e.forEach(e=>{e.modelBind.model.setProperty(e.modelBind.sFullPropertyPath,e.valueObject.value);e.modelBind.model.bindTree(e.modelBind.sFullPropertyPath).attachChange(this.storeChangedData.bind(this))});return e})},_createPlainModelBinding:function(e,t){const a=`/${e.parameterName}/valueObject/value`;if(!t.getProperty(`/${e.parameterName}/valueObject`)){t.setProperty(`/${e.parameterName}/valueObject`,{})}const r={isOdata:false,model:t,extendedModel:t,sFullPropertyPath:a,sPropertyName:`{${a}}`};return r},_createOdataModelBinding:function(e,t){const a=e.editorMetadata.editorInfo;const r=this._getODataServiceData(a.odataURL,e);return r.metadataLoaded.then(()=>{const e={isOdata:true,model:r.model,extendedModel:t,sPropertyName:`{${a.propertyName}}`,sFullPropertyPath:`${a.bindingPath}/${a.propertyName}`};return e})},_getODataServiceData:function(e,a){if(!this.oModelRecords[e]){const a=new f(e,{metadataUrlParams:{\"sap-documentation\":\"heading,quickinfo\",\"sap-value-list\":\"none\",\"sap-lang-cachebuster\":t.getLanguageTag().toString()},json:true});a.setDefaultCountMode(\"None\");a.setDefaultBindingMode(\"TwoWay\");this.oModelRecords[e]={attachedListeners:[],model:a,metadataLoaded:new Promise((e,t)=>{a.attachMetadataLoaded(e);a.attachMetadataFailed(t)})}}if(this.oModelRecords[e].attachedListeners.indexOf(a.parameterName)===-1){this.oModelRecords[e].attachedListeners.push(a.parameterName);this.oModelRecords[e].model.attachRequestCompleted(this._overrideOdataModelValue.bind(this,a));this.oBlockedParameters[a.parameterName]=true}return this.oModelRecords[e]},_overrideOdataModelValue:function(e,t){const a=t.getSource();const r=`/${t.getParameter(\"url\").replace(/\\?.*/,\"\")}`;if(e.editorMetadata.editorInfo.bindingPath===r){const t=`${e.editorMetadata.editorInfo.bindingPath}/${e.editorMetadata.editorInfo.propertyName}`;if(a.getProperty(t)!==e.valueObject.value){a.setProperty(t,e.valueObject.value)}this.oBlockedParameters[e.parameterName]=false}},_createContent:function(e){let t=\"nevermore\";let a;const r={};const s=[];for(let n=0;n<e.length;++n){const o=e[n];const i=o.modelBind;if(t!==o.editorMetadata.groupId){a=new u({title:new h({text:o.editorMetadata.groupTitle||undefined})});t=o.editorMetadata.groupId;s.push(a)}const d=this._createGroupElement(o);d.setModel(i.model);if(i.isOdata){const e=o.editorMetadata.editorInfo.odataURL;if(!r[e]){const t=o.editorMetadata.editorInfo.bindingPath;d.bindElement(t);r[e]=o.modelBind.model.getContext(t)}else{d.setBindingContext(r[e])}}a.addGroupElement(d)}return s},_createGroupElement:function(e){let t;const a=new l({});const r=new s({text:\"{i18n>userDefaultsExtendedParametersTitle}\",tooltip:\"{i18n>userDefaultsExtendedParametersTooltip}\",visible:!!e.editorMetadata.extendedUsage,type:{parts:[`MdlParameter>/${e.parameterName}/valueObject/extendedValue/Ranges`],formatter:e=>e&&e.length?v.Emphasized:v.Transparent},press:t=>{P.openDialog(e,this.saveExtendedValue.bind(this))}});if(e.modelBind.isOdata&&e.editorMetadata.editorInfo){t=new d({value:e.modelBind.sPropertyName,name:e.parameterName,fieldGroupIds:[\"UserDefaults\"]});a.setLabelFor(t)}else{t=new n({name:e.parameterName,value:e.modelBind.sPropertyName,fieldGroupIds:[\"UserDefaults\"],type:\"Text\"});t.addAriaLabelledBy(a);a.setText(e.editorMetadata.displayText||e.parameterName);a.setTooltip(e.editorMetadata.description||e.parameterName)}t.attachChange(this.storeChangedData.bind(this));t.attachChange(this._setDirtyState.bind(this,true),this);const o=new c({elements:[t,r],label:a});return o},saveExtendedValue:function(e){const t=e.getSource().getModel().getProperty(\"/parameterName\");const a=this.oModel;const r=e.getParameters().tokens||[];const s=`/${t}/valueObject/extendedValue/Ranges`;const n=r.map(e=>{const t=e.data(\"range\");return{Sign:t.exclude?\"E\":\"I\",Option:t.operation!==\"Contains\"?t.operation:\"CP\",Low:t.value1,High:t.value2||null}});if(!a.getProperty(`/${t}/valueObject/extendedValue`)){a.setProperty(`/${t}/valueObject/extendedValue`,{})}a.setProperty(s,n);this.aChangedParamsNames.push(t);if(e.getParameter(\"_tokensHaveChanged\")){this._setDirtyState(true)}},_setDirtyState:function(e){this.oDirtyStateModel.setProperty(\"/isDirty\",e);this._setSmartVariantModified(e);if(e){this.sLastSelectedKey=this.getView().getModel(\"systemContexts\").getProperty(\"/selectedKey\")}},_setSelectedVariant:function(e){this.oDirtyStateModel.setProperty(\"/selectedVariant\",e);this.storeChangedData()},storeChangedData:function(){const e=this.aDisplayedUserDefaults||[];for(let t=0;t<e.length;++t){const s=e[t].parameterName;const n=this.oModel.getProperty(`/${s}/valueObject/`);const o=e[t].modelBind;if(!this.oBlockedParameters[s]){const e={value:n&&n.value,extendedValue:n&&n.extendedValue};if(o&&o.model){const t=o.model;const i=o.extendedModel;const d=o.sFullPropertyPath;const l={value:t.getProperty(d)!==\"\"?t.getProperty(d):undefined,extendedValue:i.getProperty(`/${s}/valueObject/extendedValue`)||undefined};if(!r(l,e)){n.value=l.value;if(l.extendedValue){n.extendedValue={};a(n.extendedValue,l.extendedValue)}this.oModel.setProperty(`/${s}/valueObject`,n);this.aChangedParamsNames.push(s)}}}}},onCancel:function(){this._setDirtyState(false);const e=this.aDisplayedUserDefaults;if(this.aChangedParamsNames.length>0){for(let t=0;t<e.length&&this.aChangedParamsNames.length>0;t++){const a=e[t].parameterName;if(this.aChangedParamsNames.indexOf(a)>-1){const r=this.oOriginalParameters[a];const s=e[t];const n=s.modelBind;const o=n.model?n.model.getMetaModel():undefined;if(o){const e=o.getObject(\"/dataServices/schema/0/namespace\");const t=o.getODataEntityType(`${e}.${s.editorMetadata.editorInfo.entityName}`);const a=t.property.find(e=>{if(e.name===s.editorMetadata.editorInfo.propertyName){return true}});switch(a.type){case\"Edm.DateTime\":n.model.setProperty(n.sFullPropertyPath,new Date(r.valueObject.value)||null);break;default:n.model.setProperty(n.sFullPropertyPath,r.valueObject.value||\"\");break}}else{n.model.setProperty(n.sFullPropertyPath,r.valueObject.value||\"\")}if(r.editorMetadata&&r.editorMetadata.extendedUsage){n.extendedModel.setProperty(`/${a}/valueObject/extendedValue`,r.valueObject.extendedValue||{})}}}this.aChangedParamsNames=[]}this._setDefaultVariant()},onSave:function(){this.storeChangedData();this._setDirtyState(false);let e;if(this.aChangedParamsNames.length===0){e=Promise.resolve()}else{e=M.getServiceAsync(\"ClientSideTargetResolution\").then(e=>e.getSystemContext(this.sLastSelectedKey)).then(e=>{const t=this.aChangedParamsNames.sort();this.aChangedParamsNames=[];return this._saveParameterValues(t,e)})}return e.then(this._resetSmartVariantManagement.bind(this)).then(this._setDefaultVariant.bind(this))},_saveParameterValues:function(e,t){const a=[];for(let s=0;s<e.length;s++){const n=e[s];const o=this.oModel.getProperty(`/${n}/valueObject/`);const i=this.oOriginalParameters[n].valueObject;if(!r(i,o)){if(o&&o.value===null||o&&o.value===\"\"){o.value=undefined}if(o&&o.extendedValue&&Array.isArray(o.extendedValue.Ranges)&&o.extendedValue.Ranges.length===0){o.extendedValue=undefined}const e=this._saveParameterValue(n,o,i,t);a.push(e)}}return Promise.all(a)},_saveParameterValue:async function(e,t,a,r){const s=await M.getServiceAsync(\"UserDefaultParameters\");await s.editorSetValue(e,t,r);a.value=t.value},_setSmartVariantModified:function(e){if(!this._bIsSupportedPlatform){return}this.getView().byId(\"defaultSettingsVariantManagement\").currentVariantSetModified(e)},_setDefaultVariant:function(){if(!this._bIsSupportedPlatform){return}const e=this.getView().byId(\"defaultSettingsVariantManagement\");e.setCurrentVariantId(e.getDefaultVariantKey());this._setSelectedVariant(e.getDefaultVariantKey())},_resetSmartVariantManagement:function(){if(!this._bIsSupportedPlatform){return Promise.resolve()}this.getView().byId(\"defaultSettingsVariantManagement\").removeAllPersonalizableControls();return this._initializeSmartVariantManagement()},_initializeSmartVariantManagement:function(){if(!this._bIsSupportedPlatform){return Promise.resolve()}const e=this.getView().byId(\"defaultSettingsVariantManagement\");const t=function(){this._setSelectedVariant(e.getSelectionKey())}.bind(this);return new Promise(a=>{const r=this.getView().byId(\"userDefaultsForm\");const s=new m({type:\"wrapper\",keyName:\"persistencyKey\",dataSource:\"none\",control:r});e.detachSelect(t).detachAfterSave(t).addPersonalizableControl(s).attachSelect(t).attachAfterSave(t).initialise(()=>{e.setVisible(true);a()},r)}).then(t)},_saveIsSupportedPlatform:function(){const e=M.getLogonSystem().getPlatform();this._bIsSupportedPlatform=e!==\"cdm\";return Promise.resolve(this._bIsSupportedPlatform)},displayDiffText:function(){if(!this._bIsSupportedPlatform){return false}const e=this.getView().byId(\"defaultSettingsVariantManagement\");const t=this.getView().byId(\"userDefaultsForm\");const a=e.getStandardVariantKey();const s=e.getSelectionKey();if(s===a){return false}const n=e.getVariantContent(t,a);const o=e.getVariantContent(t,s);delete o.executeOnSelection;return!r(n,o)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller\", [\"sap/base/Log\",\"sap/base/i18n/Formatting\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ui/performance/Measurement\",\"sap/ushell/Config\",\"sap/ushell/Container\"],(e,t,r,n,a,s,o,i,g,l)=>{\"use strict\";return s.extend(\"sap.ushell.components.shell.Settings.userLanguageRegion.LanguageRegionSelector\",{onInit:function(){this.oUserInfoServicePromise=l.getServiceAsync(\"UserInfo\");this.oUserInfoServicePromise.then(e=>{this.oUser=l.getUser();const s=new r(t.getLanguageTag());const i=n.getInstance(s);let u;let m;let c;let d;let L;const h=l.getRendererInternal(\"fiori2\").getShellConfig().enableSetLanguage||false;const P=this.oUser.isLanguagePersonalized();const p=e.getUserSettingListEditSupported();const f=[];const F=e=>this.oUser.getEditState(e)!==1;const S={preferredLogonLanguage:F(\"PREFERRED_LOGON_LANGUAGE\"),dateFormat:F(\"DATE_FORMAT\"),timeFormat:F(\"TIME_FORMAT\"),numberFormat:F(\"NUMBER_FORMAT\"),timeZone:F(\"TIME_ZONE\")};S.showWarning=Object.values(S).some(e=>e===false);if(p){u=t.getABAPDateFormat();c=t.getABAPTimeFormat();d=this._getABAPNumberFormat();L=this.oUser.getCalendarWeekNumbering?.()||\"Default\";f.push(this._loadUserSettingList())}else{u=i.getDatePattern(\"medium\");m=i.getTimePattern(\"medium\");c=m.indexOf(\"H\")===-1?\"12h\":\"24h\";L=\"Default\"}const T=new o({languageList:null,DateFormatList:null,TimeFormatList:null,NumberFormatList:null,TimeZoneList:null,CalendarWeekNumberingList:null,cuaFlags:S,selectedLanguage:this.oUser.getLanguage(),selectedLanguageText:this.oUser.getLanguageText(),selectedDatePattern:u,selectedTimeFormat:c,selectedNumberFormat:d,selectedTimeZone:this.oUser.getTimeZone(),selectedCalendarWeekNumbering:L,isSettingsLoaded:true,isLanguagePersonalized:P,isEnableSetLanguage:h,isEnableUserProfileSetting:p,isTimeZoneFromServerInUI5:g.last(\"/core/ui5/timeZoneFromServerInUI5\")});T.setSizeLimit(1e3);if(h){f.push(this._loadLanguagesList())}if(f.length>0){this.getView().setBusy(true);return Promise.all(f).then(t=>{const r=p?t[0]:null;let n=null;if(h){n=t.length===1?t[0]:t[1]}if(n?.length>1){T.setProperty(\"/languageList\",n);const e=n.some(e=>e.key===\"default\");if(!P&&e){T.setProperty(\"/selectedLanguage\",\"default\")}}if(r?.TIME_FORMAT?.length>0){T.setProperty(\"/TimeFormatList\",r.TIME_FORMAT)}if(r?.DATE_FORMAT?.length>0){T.setProperty(\"/DateFormatList\",r.DATE_FORMAT)}if(r?.TIME_ZONE?.length>0){const e=a.getDateTimeWithTimezoneInstance({showDate:false,showTime:false});const t=r.TIME_ZONE.map(t=>{const r=e.format(null,t.description)||t.description;return{description:r,value:t.value}});T.setProperty(\"/TimeZoneList\",t)}if(r?.NUMBER_FORMAT?.length>0){T.setProperty(\"/NumberFormatList\",r.NUMBER_FORMAT)}if(r?.CALENDAR_WEEK_NUMBERING){const t=e.getCalendarWeekNumberingList().map(e=>{e.selected=e.value===T.getProperty(\"/selectedCalendarWeekNumbering\");return e});T.setProperty(\"/CalendarWeekNumberingList\",t)}this.oView.setModel(T);this.getView().setBusy(false)})}this.oView.setModel(T)})},_loadLanguagesList:function(){i.start(\"FLP:LanguageRegionSelector._getLanguagesList\",\"_getLanguagesList\",\"FLP\");return this.oUserInfoServicePromise.then(t=>new Promise(r=>{i.start(\"FLP:LanguageRegionSelector._getLanguagesList\",\"_getLanguagesList\",\"FLP\");t.getLanguageList().done(e=>{i.end(\"FLP:LanguageRegionSelector._getLanguagesList\");r(e)}).fail(t=>{i.end(\"FLP:LanguageRegionSelector._getLanguagesList\");e.error(\"Failed to load language list.\",t,\"sap.ushell.components.ushell.settings.userLanguageRegion.LanguageRegionSelector.controller\");r(null)})}))},_loadUserSettingList:function(){i.start(\"FLP:LanguageRegionSelector._loadUserSettingList\",\"_loadUserSettingList\",\"FLP\");return this.oUserInfoServicePromise.then(e=>new Promise(t=>{i.start(\"FLP:LanguageRegionSelector._loadUserSettingList\",\"_loadUserSettingList\",\"FLP\");e.getUserSettingList().then(e=>{i.end(\"FLP:LanguageRegionSelector._loadUserSettingList\");t(e)})}))},_resetLanguage:function(){const e=this.oUser.getLanguage();const t=this.getView().getModel();const r=t.getData();const n=r.isLanguagePersonalized?e:\"default\";t.setProperty(\"/selectedLanguage\",n);this._updateTextFields(e)},onCancel:function(){const e=this.getView().getModel();const t=e.getData();const r=t.languageList;const n=t.isEnableSetLanguage;if(n&&r){this._resetLanguage()}if(t.isEnableUserProfileSetting){this._restoreUserSettingPreferenceValues()}},onSaveSuccess:function(t,r,n){const a={refresh:true};t.resetChangedProperty(\"dateFormat\");t.resetChangedProperty(\"timeFormat\");t.resetChangedProperty(\"numberFormat\");t.resetChangedProperty(\"timeZone\");t.resetChangedProperty(\"calendarWeekNumbering\");if(r){e.debug(\"[000] onSaveSuccess: oUser.resetChangedPropertyLanguage:\",\"LanguageRegionSelector.controller\");t.resetChangedProperty(\"language\");a.obsoleteUrlParams=[\"sap-language\"];a.clearSapUserContextCookie=true}return a},onSave:function(r){const n=this.oUser;const a=this.getView().getModel().getData();const s=a.selectedLanguage;const o=n.getLanguage();const i=s&&s!==(a.isLanguagePersonalized?o:\"default\");const g=a.isEnableUserProfileSetting;const l=a.isEnableSetLanguage&&a.languageList&&i;let u=false;const m=[\"DATE_FORMAT\",\"TIME_FORMAT\",\"NUMBER_FORMAT\",\"TIME_ZONE\",\"LANGUAGE\",\"CALENDAR_WEEK_NUMBERING\"];e.debug(\"[000] LanguageRegionSelector:onSave:bUpdateLanguage, bIsEnableSetUserProfileSetting:\",l,\"LanguageRegionSelector.controller\");if(l){e.debug(\"[000] LanguageRegionSelector:onSave:UserInfo: oUser.setLanguage:\",s,\"LanguageRegionSelector.controller\");n.setLanguage(s)}else{this._resetLanguage()}if(g){if(t.getABAPDateFormat()!==a.selectedDatePattern){u=true;n.setChangedProperties({propertyName:\"dateFormat\",name:\"DATE_FORMAT\"},t.getABAPDateFormat(),a.selectedDatePattern)}if(t.getABAPTimeFormat()!==a.selectedTimeFormat){u=true;n.setChangedProperties({propertyName:\"timeFormat\",name:\"TIME_FORMAT\"},t.getABAPTimeFormat(),a.selectedTimeFormat)}if(this._getABAPNumberFormat()!==a.selectedNumberFormat){u=true;n.setChangedProperties({propertyName:\"numberFormat\",name:\"NUMBER_FORMAT\"},this._getABAPNumberFormat(),a.selectedNumberFormat)}if(!a.selectedTimeZone){this.getView().getModel().setProperty(\"/selectedTimeZone\",this.oUser.getTimeZone())}else if(this.oUser.getTimeZone()!==a.selectedTimeZone){u=true;n.setChangedProperties({propertyName:\"timeZone\",name:\"TIME_ZONE\"},this.oUser.getTimeZone(),a.selectedTimeZone)}if(t.getCalendarWeekNumbering()!==a.selectedCalendarWeekNumbering){u=true;n.setChangedProperties({propertyName:\"calendarWeekNumbering\",name:\"CALENDAR_WEEK_NUMBERING\"},t.getCalendarWeekNumbering(),a.selectedCalendarWeekNumbering.trim());t.setCalendarWeekNumbering(a.selectedCalendarWeekNumbering)}}if(l||u){return r().then(()=>{e.debug(\"[000] onSave:fnUpdateUserPreferences\",\"LanguageRegionSelector.controller\");return this.onSaveSuccess(n,l,s)}).catch(t=>{e.debug(\"[000] onSave:catch:errorMessage\",t,\"LanguageRegionSelector.controller\");const r=m.some(e=>t.includes(e));if(!r){return this.onSaveSuccess(n,l,s)}if(l){n.setLanguage(o);n.resetChangedProperty(\"language\");this._updateTextFields(o)}n.resetChangedProperty(\"dateFormat\");n.resetChangedProperty(\"timeFormat\");n.resetChangedProperty(\"numberFormat\");n.resetChangedProperty(\"timeZone\");n.resetChangedProperty(\"calendarWeekNumbering\");if(a.isEnableUserProfileSetting){this._restoreUserSettingPreferenceValues()}e.error(\"Failed to save Language and Region Settings\",t,\"sap.ushell.components.ushell.settings.userLanguageRegion.LanguageRegionSelector.controller\");throw t})}return Promise.resolve()},_restoreUserSettingPreferenceValues:function(){const e=this.getView().getModel();e.setProperty(\"/selectedDatePattern\",t.getABAPDateFormat());e.setProperty(\"/selectedTimeFormat\",t.getABAPTimeFormat());e.setProperty(\"/selectedNumberFormat\",this._getABAPNumberFormat());e.setProperty(\"/selectedTimeZone\",this.oUser.getTimeZone());e.setProperty(\"/selectedCalendarWeekNumbering\",t.getCalendarWeekNumbering());const r=e.getProperty(\"/CalendarWeekNumberingList\").map(e=>{e.selected=e.value===t.getCalendarWeekNumbering();return e});e.setProperty(\"/CalendarWeekNumberingList\",r)},_handleLanguageSelectChange:function(e){const t=e.getSource().getSelectedKey();if(t){this._updateTextFields(t)}},_updateTextFields:function(e){let a;if(e===this.oUser.getLanguage()){a=new r(t.getLanguageTag())}else{a=new r(e)}const s=this.getView().getModel();const o=n.getInstance(a);const i=o.getDatePattern(\"medium\");const g=o.getTimePattern(\"medium\");const l=g.indexOf(\"H\")===-1?\"12h\":\"24h\";if(!s.getData().isEnableUserProfileSetting){s.setProperty(\"/selectedDatePattern\",i);s.setProperty(\"/selectedTimeFormat\",l)}},_getABAPNumberFormat:function(){const e=t.getABAPNumberFormat();if(e){return e.trim()}},_handleCalendarWeekNumberingChange:function(e){const t=e.getSource().getSelectedItem().getCustomData()[0].getValue();this.getView().getModel().setProperty(\"/selectedCalendarWeekNumbering\",t)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry\", [\"sap/base/Log\",\"sap/ui/core/mvc/XMLView\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,n,t,o)=>{\"use strict\";function a(){let a;const r={id:\"language\",entryHelpID:\"language\",title:t.i18n.getText(\"languageAndRegionTit\"),valueResult:null,contentResult:null,icon:\"sap-icon://globe\",valueArgument:function(){let e=o.getUser().getLanguageText();if(e.indexOf(\"-\")>-1){e=e.replace(\"-\",\" (\").concat(\")\")}return Promise.resolve(e)},contentFunc:function(){return n.create({id:\"languageRegionSelector\",viewName:\"sap.ushell.components.shell.Settings.userLanguageRegion.LanguageRegionSelector\"}).then(e=>{const n=e.getController();a=e;return n.oUserInfoServicePromise.then(()=>a)})},onSave:function(n){if(a){return a.getController().onSave(n)}e.warning(\"Save operation for language settings was not executed, because the languageRegionSelector view was not initialized\");return Promise.resolve()},onCancel:function(){if(a){a.getController().onCancel();return}e.warning(\"Cancel operation for language settings was not executed, because the languageRegionSelector view was not initialized\")}};return r}return{getEntry:a}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/ShellBar/Component\", [\"sap/ui/core/UIComponent\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/renderer/ShellLayout\",\"sap/ushell/utils\"],(t,e,i,n,a)=>{\"use strict\";const s=\"sapUshellShellShowSearchOverlay\";let o=0;const h={COL:\"COL\",EXP:\"EXP\",EXP_S:\"EXP_S\"};return t.extend(\"sap.ushell.components.shell.ShellBar.Component\",{metadata:{manifest:\"json\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"],properties:{searchState:{type:\"string\",defaultValue:\"COL\"}},events:{searchSizeChanged:{},searchButtonPress:{}},associations:{appTitle:{type:\"sap.ui.core.Control\"}}},init:function(){t.prototype.init.apply(this,arguments);const s=new i({logo:{},searchField:{show:false}});this.setModel(s);this.FLPRangeSet={name:\"Ushell\",rangeBorders:[600,1024,1440,1920],rangeNames:[\"Phone\",\"Tablet\",\"Desktop\",\"LargeDesktop\",\"ExtraLargeDesktop\"]};e.media.initRangeSet(this.FLPRangeSet.name,this.FLPRangeSet.rangeBorders,\"px\",this.FLPRangeSet.rangeNames);const o=n.hasAdjacentSideContentBeforeMain();a.applySideContent.call(this,o);n.attachAdjacentSideContentBeforeMainChanged(a.handleSideContent.bind(this),this)},setSearch:function(t){this.rootControlLoaded().then(e=>{e.byId(\"dummySearchInput\")?.destroy();e.byId(\"shellBar\").addSearchField(t)})},setSearchState:function(t,e,i){if(h[t]&&this.getSearchState()!==t){if(typeof e===\"boolean\"){i=e;e=undefined}this.setProperty(\"searchState\",t,false);const n=t!==\"COL\";this.getModel().setProperty(\"/searchField/show\",n);document.body.classList.toggle(s,n&&i);o=n?e||35:0}},isPhoneState:function(){const t=e.media.getCurrentRange(e.media.RANGESETS.SAP_STANDARD).name;const i=this.getDomRef().getBoundingClientRect().width>this.getSearchWidth();return e.system.phone||t===\"Phone\"||!i},getSearchWidth:function(){return o},isExtraLargeState:function(){return e.media.getCurrentRange(this.FLPRangeSet.name).from===this.FLPRangeSet.rangeBorders[3]},getNotificationsBtnDomRef:function(){return this.getRootControl().byId(\"shellBar\").getNotificationsDomRef()},getProductSwitchDomRef:function(){return this.getRootControl().byId(\"shellBar\").getProductSwitchDomRef()},enhanceComponentContainerAPI:function(t){t.setSearch=this.setSearch.bind(this);t.setSearchState=this.setSearchState.bind(this);t.getSearchState=this.getSearchState.bind(this);t.isPhoneState=this.isPhoneState.bind(this);t.getSearchWidth=this.getSearchWidth.bind(this);t.attachSearchSizeChanged=this.attachSearchSizeChanged.bind(this);t.attachSearchButtonPress=this.attachSearchButtonPress.bind(this);t.setAppTitle=this.setAppTitle.bind(this);t.getAppTitle=this.getAppTitle.bind(this);t.isExtraLargeState=this.isExtraLargeState.bind(this);t.getNotificationsBtnDomRef=this.getNotificationsBtnDomRef.bind(this);t.getProductSwitchDomRef=this.getProductSwitchDomRef.bind(this)},exit:function(){n.detachAdjacentSideContentBeforeMainChanged(a.handleSideContent.bind(this),this)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/ShellBar/controller/ShellBar.controller\", [\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/core/mvc/Controller\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/api/NewExperience\",\"sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem\",\"sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSpacer\",\"sap/ushell/gen/ui5/webcomponents/dist/Button\",\"sap/ushell/state/BindingHelper\",\"sap/ushell/state/modules/BackNavigation\",\"sap/ushell/state/ShellModel\",\"sap/ushell/ui/shell/ShellAppTitle\",\"sap/ushell/utils\"],(e,t,i,n,o,s,l,a,r,c,h,u,d,p,f,g,T)=>{\"use strict\";const m=[\"NOTIFICATIONSCOUNTBUTTON\",\"PRODUCTSWITCHBTN\",\"USERACTIONSMENUHEADERBUTTON\",\"SF\"];return i.extend(\"sap.ushell.components.shell.ShellBar.controller.ShellBar\",{_aDoables:[],onInit:function(){d.overrideUpdateAggregation(this.byId(\"shellBar\"));this._aDoables.push(s.on(\"/core/shellHeader/homeUri\").do(this._updateHomeUri.bind(this)));this._updateHomeUri(s.last(\"/core/shellHeader/homeUri\"));this.getView().setModel(this.getConfigurationModel(),\"config\");this.prepareShellAppTitle();this._aDoables.push(a.on(\"navigateBack\").do(this.pressNavBackButton.bind(this)));this._aDoables.push(a.on(\"navigateFromShellApplicationNavigationMenu\").do(this.navigateFromShellApplicationNavigationMenu.bind(this)));e.resize.attachHandler(this.handleResize.bind(this))},handleResize:function(e){if(this._iDebounceTimerHandleResize){clearTimeout(this._iDebounceTimerHandleResize)}this._iDebounceTimerHandleResize=setTimeout(()=>{const e=this.byId(\"shellBar\");e.getBinding(\"content\").refresh(true)},400)},getConfigurationModel:function(){const e=new n({windowTitleExtension:s.last(\"/core/shell/windowTitleExtension\")||\"\"});return e},onContentItemVisibilityChange:function(e){if(this._iDebounceTimerContentItemVisibilityChange){clearTimeout(this._iDebounceTimerContentItemVisibilityChange)}this._iDebounceTimerContentItemVisibilityChange=setTimeout(()=>{const i=e.getParameter(\"items\");const n=r.getShellHeaderControl()?.getId();const o=i.reduce((e,t)=>{const i=t.getId();if([\"shellAppTitle\",n].includes(i)){e[i]=t}return e},{});if(o.shellAppTitle){o.shellAppTitle.setShowAppTitle(false)}const s=t.getElementById(this.getOwnerComponent().getAppTitle());const l=o[n];if(l){s.setNewExperienceControl(l)}else if(r.getShellHeaderControl()?.getParent()===this.byId(\"shellBar\")){s.setNewExperienceControl(null)}},400)},onSearchButtonClick:function(e){this.getOwnerComponent().fireSearchButtonPress(e)},_delegateHeadEndItemClick:function(e){const i=f.getModel().getProperty(\"/header/headEndItems\");const n=e.toUpperCase();const o=i.find(e=>e.toUpperCase()===n);if(!o){return}const s=t.getElementById(o);if(!s){return}if(typeof s.firePress===\"function\"){s.firePress()}else if(typeof s.fireClick===\"function\"){s.fireClick()}},onProfileClick:function(){return this._delegateHeadEndItemClick(\"USERACTIONSMENUHEADERBUTTON\")},isHeadEndItem:function(e){const i=e.toUpperCase();if(m.includes(i)){return false}const n=t.getElementById(e);return n instanceof c},isContentItem:function(e){const i=e.toUpperCase();if(m.includes(i)){return false}const n=t.getElementById(e);return!(n instanceof c)},isProfileMenu:function(e){return e===\"USERACTIONSMENUHEADERBUTTON\"},hasNotifications:function(e){const i=e.some(e=>e.toUpperCase()===\"NOTIFICATIONSCOUNTBUTTON\");if(i){const e=t.getElementById(\"NotificationsCountButton\").getModel(\"configModel\");this.getView().setModel(e,\"configModel\")}return i},onNotificationsClick:function(){return this._delegateHeadEndItemClick(\"NOTIFICATIONSCOUNTBUTTON\")},hasProducts:function(e){return e.some(e=>e.toUpperCase()===\"PRODUCTSWITCHBTN\")},onProductSwitchClick:function(){return this._delegateHeadEndItemClick(\"PRODUCTSWITCHBTN\")},prepareShellAppTitle:function(){const e=new h({id:\"shellBarSpacer\"});const t=new g({id:\"shellAppTitle\",text:\"{shellModel>/application/title}\",title:\"{shellModel>/application/title}\",icon:\"{shellModel>/application/icon}\",subTitle:\"{shellModel>/application/subTitle}\"});t.data(\"hide-order\",\"9999\",true);this.getOwnerComponent().setAppTitle(t);l.getRendererInternal(\"fiori2\").addHeaderEndItem({id:t.getId()},true,false);l.getRendererInternal(\"fiori2\").addHeaderEndItem({id:e.getId()},true,false)},_updateHomeUri:function(e){const t=this.getOwnerComponent().getModel();t.setProperty(\"/logo/homeUri\",e);t.setProperty(\"/logo/isRootIntent\",T.isRootIntent(e))},pressNavBackButton:async function(){a.emit(\"showUserActionsMenu\",false);p.navigateBack()},navigateFromShellApplicationNavigationMenu:function(e){if(o.getHash()!==e.substr(1)){a.emit(\"centerViewPort\",Date.now());o.setHash(e)}const i=t.getElementById(\"shellAppTitle\");if(i){i.close()}},onExit:function(){this._aDoables.forEach(e=>{e.off()});this._aDoables=[]}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/Component\", [\"sap/m/library\",\"sap/m/VBox\",\"sap/ui/core/ComponentContainer\",\"sap/ui/core/Fragment\",\"sap/ui/core/UIComponent\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/state/ShellModel\",\"sap/ushell/EventHub\"],(e,t,o,i,n,a,s,r,d,h,p)=>{\"use strict\";const g=e.FlexRendertype;const l=e.FlexAlignItems;return n.extend(\"sap.ushell.components.shell.SideNavigation.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\",interfaces:[\"sap.ui.core.IAsyncContentCreation\"]},init:function(){n.prototype.init.apply(this,arguments);this.sSideNavigationMode=r.last(\"/core/sideNavigation/mode\");this._oSideNavigationComponentContainer=new o({id:this.createId(\"SideNavigationComponentContainer\"),height:\"100%\",component:this});this._oDockedMainLayout=new t({id:this.createId(\"mainLayout\"),renderType:g.Bare,alignItems:l.Start,height:\"100%\"});d.getRendererInternal().setSideNavigation(this._oDockedMainLayout);this._addHamburgerButton();const e=new s({selectedKey:\"NONE\",enableSideNavigation:true,expanded:true,renderMode:this.sSideNavigationMode});r.on(\"/core/sideNavigation/mode\").do(this._handleRenderModeChange.bind(this));a.resize.attachHandler(this._handleRenderModeChange.bind(this));this.setModel(e,\"viewConfiguration\");this._handleRenderModeChange(true);this.setModel(h.getModel(),\"shellModel\")},_handleRenderModeChange:function(e){const t=this.getModel(\"viewConfiguration\");let o=r.last(\"/core/sideNavigation/mode\");if(a.media.getCurrentRange(a.media.RANGESETS.SAP_STANDARD).name!==\"Desktop\"){o=\"Popover\";t.setProperty(\"/expanded\",true)}e=e??this.sSideNavigationMode!==o;this.sSideNavigationMode=o;t.setProperty(\"/renderMode\",o);if(e){this.rootControlLoaded().then(()=>{p.emit(\"sideNavigationModeChanged\",o);if(o===\"Docked\"){this._oDockedMainLayout.addItem(this._oSideNavigationComponentContainer);this.popoverClose()}else{this._getPopover().then(e=>{e.addContent(this._oSideNavigationComponentContainer)})}})}},_addHamburgerButton:async function(){this.headerHamburgerButtonItemStart=await this._hamburgerButtonFactory();this.headerHamburgerButtonItemStart.showOnHome();this.headerHamburgerButtonItemStart.showForAllApps()},toggleSideNavigationExpansion:function(e){const t=this.getModel(\"viewConfiguration\");if(e===undefined){e=!t.getProperty(\"/expanded\")}t.setProperty(\"/expanded\",!!e)},_getPopover:function(){if(!this._pPopover){this._pPopover=i.load({id:this.createId(\"sideNavigationPopover\"),name:\"sap.ushell.components.shell.SideNavigation.fragment.Popover\"})}return this._pPopover},onSideNavigationTogglePress:async function(e){switch(this.sSideNavigationMode){case\"Docked\":this.toggleSideNavigationExpansion();this.rootControlLoaded().then(e=>{const t=e.byId(\"navContainer\");if(t.getCurrentPage()!==\"sideNavigation\"){t.to(e.byId(\"sideNavigation\"))}});break;case\"Popover\":const t=e.getSource();if(!this._pPopover){this._getPopover().then(e=>{e.addContent(this._oSideNavigationComponentContainer);this.getModel(\"viewConfiguration\").setProperty(\"/popover\",e);return e})}this._pPopover.then(e=>{if(e.isOpen()){e.close()}else{e.openBy(t)}});break;default:throw new Error(`Unhandled side navigation mode: ${this.sSideNavigationMode}`)}},popoverOpen:function(){this._pPopover?.then(async e=>{e.openBy(await this.headerHamburgerButtonItemStart.getControl())})},popoverClose:function(){this._pPopover?.then(e=>{e.close()})},_hamburgerButtonFactory:async function(){const e=await d.getServiceAsync(\"FrameBoundExtension\");const t=await e.createHeaderItem({id:\"sideMenuExpandCollapseBtn\",ariaHaspopup:\"dialog\",icon:\"sap-icon://menu2\",press:this.onSideNavigationTogglePress.bind(this),tooltip:\"{= ${viewConfiguration>/renderMode} === 'Popover' ? ${i18n>ShellBar.SideNavigation.Button.Open.Tooltip}\"+\" : (${viewConfiguration>/expanded} ? ${i18n>ShellBar.SideNavigation.Button.Collapse.Tooltip} : ${i18n>ShellBar.SideNavigation.Button.Expand.Tooltip})}\"},{position:\"begin\"});const o=await t.getControl();o.setModel(this.getModel(\"i18n\"),\"i18n\");o.setModel(this.getModel(\"viewConfiguration\"),\"viewConfiguration\");return t},exit:function(){this._oSideNavigationComponentContainer?.setComponent(undefined);this._oSideNavigationComponentContainer?.destroy();this._oDockedMainLayout?.destroy()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller\", [\"sap/base/util/ObjectPath\",\"sap/ui/core/EventBus\",\"sap/ui/core/mvc/Controller\",\"sap/ui/Device\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/Config\",\"sap/base/Log\"],(e,t,i,o,n,a,s,r)=>{\"use strict\";const c=\"NONE\";return i.extend(\"sap.ushell.components.shell.SideNavigation.controller.SideNavigation\",{_aDoables:[],onInit:function(){const e=s.on(\"/core/sideNavigation/navigationListProvider\").do(e=>{this.pNavigationListProvider=this._initNavigationListProvider(\"/core/sideNavigation/navigationListProvider\");this._selectIndexAfterRouteChange()});const i=s.on(\"/core/sideNavigation/fixedNavigationListProvider\").do(e=>{this._initNavigationListProvider(\"/core/sideNavigation/fixedNavigationListProvider\",\"fixedItem\")});this._aDoables.push(e);this._aDoables.push(i);this.oContainerRouter=n.getRendererInternal().getRouter();this.oContainerRouter.getRoute(\"home\").attachMatched(this._selectIndexAfterRouteChange,this);this.oContainerRouter.getRoute(\"openFLPPage\").attachMatched(this._selectIndexAfterRouteChange,this);this.oContainerRouter.getRoute(\"openWorkPage\").attachMatched(this._selectIndexAfterRouteChange,this);this.oEnableMenuBarNavigationListener=a.on(\"enableMenuBarNavigation\").do(e=>this.onEnableSideNavigation(e));t.getInstance().subscribe(\"sap.ushell\",\"appOpened\",this._selectIndexAfterRouteChange,this)},_initNavigationListProvider:function(t,i){return new Promise(o=>{const n=this.byId(\"sideNavigation\");const a=this.byId(\"navContainer\");const r=s.last(`${t}/modulePath`);const c=this.getOwnerComponent();if(r){const d={getConfigValue:i=>{let o;try{o=JSON.parse(s.last(`${t}/configuration`))}catch(e){o={}}return e.get(i,o)},getNavContainerFacade:()=>({add:e=>a.addPage(e),to:e=>a.to(e),toRoot:()=>a.to(n)}),updateSelectedKey:()=>this._selectIndexAfterRouteChange(),openSideNavigation:()=>c.popoverOpen(),closeSideNavigation:()=>c.popoverClose(),expandSideNavigation:()=>c.toggleSideNavigationExpansion(true),collapseSideNavigation:()=>c.toggleSideNavigationExpansion(false)};sap.ui.require([r],async e=>{const t=new e(d);const a=await t.getRootItem();if(i===\"fixedItem\"){n.setFixedItem(a)}else{n.setItem(a)}o(t)})}})},onEnableSideNavigation:function(e){this.getView().getModel(\"viewConfiguration\").setProperty(\"/enableSideNavigation\",e)},_selectIndexAfterRouteChange:async function(){const e=this.getOwnerComponent().getModel(\"viewConfiguration\");const t=await this.pNavigationListProvider;const i=await t.findSelectedKey();setTimeout(()=>{if(i){e.setProperty(\"/selectedKey\",i)}else{e.setProperty(\"/selectedKey\",c);this.byId(\"sideNavigation\").setSelectedItem(null)}},0)},onExit:function(){this.oEnableMenuBarNavigationListener.off();t.getInstance().unsubscribe(\"sap.ushell\",\"appOpened\",this._selectIndexAfterRouteChange,this);this._aDoables.forEach(e=>{e.off()});this._aDoables=[];const e=n.getRendererInternal().getRouter();if(!e){return}function i(t){const i=e.getRoute(t);if(i){i.detachMatched(this._selectIndexAfterRouteChange,this)}}try{i.call(this,\"home\");i.call(this,\"openFLPPage\");i.call(this,\"openWorkPage\")}catch(e){r.error(\"Error detaching route matched event listeners\",e)}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/AllSpaces\", [\"sap/tnt/NavigationListItem\",\"sap/ui/core/CustomData\",\"sap/ui/core/Fragment\",\"sap/ui/core/Component\",\"sap/ushell/Container\"],(e,a,t,n,o)=>{\"use strict\";class s{#e;constructor(s){this.oSideNavAPI=s;if(!this.#e){const e=t.load({id:\"AllSpaces\",name:\"sap.ushell.components.shell.SideNavigation.fragment.AllSpaces\",controller:this});const a=n.create({name:\"sap.ushell.components.shell.NavigationBarMenu\",componentData:{renderType:\"Menu\"}});this.#e=Promise.all([e,a]).then(async e=>{const[a,n]=[...e];t.byId(\"AllSpaces\",\"NavigationBarMenuComponentContainer\").setComponent(n);s.getNavContainerFacade().add(a);const i=await o.getServiceAsync(\"Menu\");const l=await i.getMenuModel();a.setModel(l,\"spaces\");return a})}this.oRootItem=new e({text:\"{i18n>SideNavigation.Item.AllSpaces.Title}\",enabled:\"{viewConfiguration>/enableSideNavigation}\",customData:[new a({key:\"help-id\",value:\"MenuEntry-All-Spaces\",writeToDom:true})],icon:\"sap-icon://BusinessSuiteInAppSymbols/icon-all-spaces-pin\",selectable:false,press:async()=>{s.getNavContainerFacade().to(await this.#e)}})}async getRootItem(){return this.oRootItem}onPressNavigateBackToSideNav(){this.oSideNavAPI.getNavContainerFacade().toRoot()}}return s},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/shell/SideNavigation/modules/AppFinder\", [\"sap/tnt/NavigationListItem\",\"sap/ui/core/CustomData\"],(e,t)=>{\"use strict\";class i{constructor(){this.oRootItem=new e({text:\"{i18n>SideNavigati Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/AboutDialog.controller\", [\"sap/m/Label\",\"sap/m/Text\",\"sap/ui/core/mvc/Controller\",\"sap/ui/core/Fragment\",\"sap/ui/core/Title\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/base/Log\",\"sap/base/util/isEmptyObject\",\"sap/ui/Device\",\"sap/ushell/Container\"],(e,t,o,n,a,i,s,r,p,u,l,c,m)=>{\"use strict\";return o.extend(\"sap.ushell.ui.footerbar.AboutDialog.controller\",{onBeforeOpen:function(){this._setupAboutDialogModel();this._updateHeaderButtonVisibility();const e=n.byId(\"aboutDialogFragment\",\"aboutDialogEntryList\");e.setSelectedItem(e.getItems()[0])},onClose:function(){this._getDialog().close()},onAfterClose:function(){this._getDialog().destroy()},_getDialog:function(){if(!this.oAboutDialog){this.oAboutDialog=n.byId(\"aboutDialogFragment\",\"aboutDialog\")}return this.oAboutDialog},_setupAboutDialogModel:function(){const e=this._getDialog();this._setupAppInfoModel().catch(e=>{u.error(\"Failed to setup application info model.\",e)});const t=this._getSystemInformation();const o=new i(t);const n=this._getUserEnvironmentInformation();const a=new i(n);e.setModel(o,\"SysInfo\");e.setModel(a,\"UserEnvInfo\")},_getSplitAppObj:function(){const e=n.byId(\"aboutDialogFragment\",\"aboutDialogContainer\");if(!e){u.info(\"SplitContainer object can't be found\")}return e},onAfterMasterClose:function(){this._getSplitAppObj().setMode(\"ShowHideMode\");this._updateHeaderButtonVisibility()},onItemPress:function(e){const t=e.getParameter(\"listItem\").getCustomData()[0].getValue();const o=n.createId(\"aboutDialogFragment\",t);this._getSplitAppObj().toDetail(o);if(c.system.desktop){this._getSplitAppObj().hideMaster()}if(c.system.phone){this._getSplitAppObj().setMode(\"HideMode\");this.onAfterMasterClose();this._updateHeaderButtonVisibility()}},navigateBackToMaster:function(){this._getSplitAppObj().backToTopMaster();this._updateHeaderButtonVisibility()},onBeforeMasterOpen:function(){this._updateHeaderButtonVisibility()},navToggleButtonPressHandler:function(){if(this._getSplitAppObj().isMasterShown()){this._getSplitAppObj().hideMaster()}else{this._getSplitAppObj().showMaster()}this._updateHeaderButtonVisibility()},_updateHeaderButtonVisibility:function(){const e=this._getSplitAppObj().isMasterShown();const t=n.byId(\"aboutDialogFragment\",\"aboutDialogNavBackButton\");const o=n.byId(\"aboutDialogFragment\",\"aboutDialogMenuButton\");if(c.system.phone){t.setVisible(!e);if(!t){u.info(\"oBackButton object can't be found\")}}else{if(c.orientation.portrait){o.setVisible(true);o.setPressed(e);o.setTooltip(p.i18n.getText(e?\"ToggleButtonHide\":\"ToggleButtonShow\"))}else{o.setVisible(false)}if(!o){u.info(\"oMenuButton object can't be found\")}}},_setupAppInfoModel:function(){const e=this._getDialog();return new Promise((t,o)=>{m.getServiceAsync(\"AppLifeCycle\").then(e=>{const t=e.getCurrentApplication();return Promise.all([t.getAllAppInfo(true),t.getAllAppInfo(false),this._getContentProviderLabel(t)])}).then(o=>{const n=s.getMetadata();const a=o[0]||{};const r=o[1]||{};const p=o[2];a.appTitle=a.title||a.appTitle||n.title||\"\";a.contentProviderLabel=p;const u=this._buildApplicationInformationObject(a,r);e.setModel(new i(u),\"AppInfo\");t()}).catch(e=>{o(e)})})},_buildApplicationInformationObject:function(e,t){const o=[\"appTitle\",\"appId\",\"abap.transaction\",\"appVersion\",\"appSupportInfo\",\"technicalAppComponentId\",\"appFrameworkId\",\"appFrameworkVersion\",\"contentProviderLabel\"];const n={entries:[],customEntries:[]};o.forEach(t=>{if(e[t]){n.entries.push({parameterName:t,value:`{i18n>${t}}`,type:\"label\"});n.entries.push({parameterName:t,value:e[t],type:\"text\"})}});const a=Object.keys(t).filter(e=>{const o=t[e];return o.showInAbout}).sort((e,t)=>e.toLowerCase()<t.toLowerCase()?-1:1).map(e=>{const o=t[e];return{parameterName:e,...o}});a.forEach(e=>{n.customEntries.push({parameterName:e.parameterName,value:e.label,type:\"label\"});n.customEntries.push({parameterName:e.parameterName,value:e.value,type:\"text\"})});return n},_getSystemInformation:function(){const e=m.getLogonSystem();const t={entries:[]};const o=e.getProductName();if(o){t.entries.push({parameterName:\"productName\",value:\"{i18n>productName}\",type:\"label\"});t.entries.push({parameterName:\"productName\",value:o,type:\"text\"})}const n=e.getProductVersion();if(n){t.entries.push({parameterName:\"productVersion\",value:\"{i18n>productVersionFld}\",type:\"label\"});t.entries.push({parameterName:\"productVersion\",value:n,type:\"text\"})}const a=e.getSystemName();if(a){t.entries.push({parameterName:\"systemName\",value:\"{i18n>systemName}\",type:\"label\"});t.entries.push({parameterName:\"systemName\",value:a,type:\"text\"})}const i=e.getSystemRole();if(i){t.entries.push({parameterName:\"systemRole\",value:\"{i18n>systemRole}\",type:\"label\"});t.entries.push({parameterName:\"systemRole\",value:i,type:\"text\"})}const s=e.getTenantRole();if(s){t.entries.push({parameterName:\"tenantRole\",value:\"{i18n>tenantRole}\",type:\"label\"});t.entries.push({parameterName:\"tenantRole\",value:s,type:\"text\"})}return t},_getUserEnvironmentInformation:function(){const e=m.getUser();const t={entries:[]};const o=this._getDeviceType();if(o){t.entries.push({parameterName:\"deviceType\",value:\"{i18n>deviceType}\",type:\"label\"});t.entries.push({parameterName:\"deviceType\",value:o,type:\"text\"})}const n=e.getTheme();t.entries.push({parameterName:\"activeTheme\",value:\"{i18n>activeTheme}\",type:\"label\"});t.entries.push({parameterName:\"activeTheme\",value:n,type:\"text\"});const a=e.getContentDensity()===\"cozy\";t.entries.push({parameterName:\"optimizedForTouch\",value:\"{i18n>AppearanceContentDensityLabel}\",type:\"label\"});t.entries.push({parameterName:\"optimizedForTouch\",value:a?\"{i18n>yes}\":\"{i18n>no}\",type:\"text\"});const i=this._isTouchSupported();t.entries.push({parameterName:\"touchSupported\",value:\"{i18n>touchSupported}\",type:\"label\"});t.entries.push({parameterName:\"touchSupported\",value:i?\"{i18n>yes}\":\"{i18n>no}\",type:\"text\"});t.entries.push({parameterName:\"userAgentFld\",value:\"{i18n>userAgentFld}\",type:\"label\"});t.entries.push({parameterName:\"userAgentFld\",value:navigator.userAgent,type:\"text\"});return t},_getContentProviderLabel:function(e){if(r.last(\"/core/contentProviders/providerInfo/enabled\")){return e.getSystemContext().then(e=>e.label)}return Promise.resolve(undefined)},_getDeviceType:function(){let e;if(c.system.combi){e=\"{i18n>configuration.form_factor_combi}\"}else if(c.system.desktop){e=\"{i18n>configuration.form_factor_desktop}\"}else if(c.system.tablet){e=\"{i18n>configuration.form_factor_tablet}\"}else if(c.system.phone){e=\"{i18n>configuration.form_factor_phone}\"}return e},_isTouchSupported:function(){return c.support.touch&&(c.system.tablet||c.system.phone||c.system.combi)},itemFactory:function(o,n){const i=n.getProperty(\"type\");switch(i){case\"label\":return new e({text:n.getProperty(\"value\")});case\"title\":return new a({text:n.getProperty(\"value\")});default:return new t({text:n.getProperty(\"value\")})}},calculateNumberOfColumns:function(e){if(!this.isFormVisible(e)){return 1}return Object.keys(e).length>1?2:1},isFormVisible:function(e){return!!e&&!l(e)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/AddBookmarkButton\", [\"sap/base/Log\",\"sap/m/Button\",\"sap/m/ButtonRenderer\",\"sap/m/Dialog\",\"sap/m/library\",\"sap/m/MessageBox\",\"sap/m/Text\",\"sap/m/VBox\",\"sap/ui/core/library\",\"sap/ui/core/mvc/View\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/state/StateManager\"],(e,t,o,s,i,r,a,n,l,u,p,c,d,h,g,f)=>{\"use strict\";const y=i.ButtonType;const m=l.ValueState;const b=l.mvc.ViewType;const M=f.LaunchpadState;const S=f.ShellMode;const{Headerless:k,Standalone:B,Embedded:T,Merged:P}=S;const D=t.extend(\"sap.ushell.ui.footerbar.AddBookmarkButton\",{metadata:{library:\"sap.ushell\",properties:{beforePressHandler:{type:\"function\",group:\"Misc\",defaultValue:null},afterPressHandler:{type:\"function\",group:\"Misc\",defaultValue:null},title:{type:\"string\",group:\"Misc\",defaultValue:null},subtitle:{type:\"string\",group:\"Misc\",defaultValue:null},info:{type:\"string\",group:\"Misc\",defaultValue:null},tileIcon:{type:\"string\",group:\"Appearance\",defaultValue:null},numberUnit:{type:\"string\",group:\"Appearance\",defaultValue:null},keywords:{type:\"string\",group:\"Misc\",defaultValue:null},customUrl:{type:\"any\",group:\"Misc\",defaultValue:null},serviceUrl:{type:\"any\",group:\"Misc\",defaultValue:null},dataSource:{type:\"any\",group:\"Misc\",defaultValue:null},serviceRefreshInterval:{type:\"string\",group:\"Misc\",defaultValue:null},showGroupSelection:{type:\"boolean\",group:\"Misc\",defaultValue:true},showPageSelection:{type:\"boolean\",group:\"Misc\",defaultValue:true},appData:{type:\"object\",group:\"Misc\",defaultValue:null,deprecated:true}}},renderer:o});D.prototype.init=function(){if(t.prototype.init){t.prototype.init.apply(this,arguments)}this.bSpaceEnabled=d.last(\"/core/spaces/enabled\");this.bMyHomeEnabled=d.last(\"/core/spaces/myHome/enabled\");this.setIcon(\"sap-icon://add-favorite\");this.bindProperty(\"text\",{path:\"i18n>addToHomePageBtn\"});this.setEnabled();this.oModel=new c({showGroupSelection:true,showPageSelection:true,title:\"\",subtitle:\"\",numberValue:0,info:\"\",icon:\"\",numberUnit:\"\",keywords:\"\"});this.setModel(g.i18nModel,\"i18n\");this.attachPress(()=>{const e=this.getBeforePressHandler();if(e){e()}this.showAddBookmarkDialog()})};D.prototype.exit=function(){if(this.oDialog){this.oDialog.destroy()}if(this.oModel){this.oModel.destroy()}if(t.prototype.exit){t.prototype.exit.apply(this,arguments)}};D.prototype.setBookmarkTileView=function(e){this.bookmarkTileView=e};D.prototype.getBookmarkTileView=function(){return this.bookmarkTileView};D.prototype.showAddBookmarkDialog=function(){const e=this.getAppData()||{};const t={serviceUrl:this.getServiceUrl()||e.serviceUrl,customUrl:this.getCustomUrl()||e.customUrl};this.oModel.setProperty(\"/serviceUrl\",!!t.serviceUrl);let o;if(this.bSpaceEnabled){o=u.create({type:b.XML,viewName:\"sap.ushell.ui.bookmark.SaveOnPage\",viewData:t})}else{o=u.create({viewName:\"module:sap/ushell/ui/footerbar/SaveAsTile.view\",viewData:t})}return o.then(e=>{this.setBookmarkTileView(e);e.setModel(this.oModel);e.setModel(g.i18nModel,\"i18n\");return this._openDialog(e)})};D.prototype._openDialog=function(e){this.oDialog=new s({id:\"bookmarkDialog\",title:\"{i18n>addToHomePageBtn}\",contentWidth:\"25rem\",content:e,beginButton:new t(\"bookmarkOkBtn\",{text:\"{i18n>saveBtn}\",type:y.Emphasized,press:[this._handleOKButtonPress,this]}),endButton:new t(\"bookmarkCancelBtn\",{text:\"{i18n>cancelBtn}\",press:[this._handleCancelButtonPress,this]}),stretch:p.system.phone,horizontalScrolling:false,afterClose:function(){const e=this.getAfterPressHandler();if(e){e()}this._restoreDialogEditableValuesToDefault();this.oDialog.destroy();delete this.oDialog}.bind(this)}).addStyleClass(\"sapContrastPlus\");this.oDialog.open();this.oDialog.setModel(g.i18nModel,\"i18n\");return this.oDialog};D.prototype._handleOKButtonPress=function(){if(this.oDialog.getBusy()){return}if(!this.bSpaceEnabled){this._handleOKButtonPressClassicMode();return}this._handleOKButtonPressSpacesMode()};D.prototype._handleCancelButtonPress=function(){if(!this.bSpaceEnabled){this._handleCancelButtonPressClassicMode();return}this._handleCancelButtonPressSpacesMode()};D.prototype.setTitle=function(e){this.setProperty(\"title\",e,true);this.oModel.setProperty(\"/title\",e);return this};D.prototype.setSubtitle=function(e){this.setProperty(\"subtitle\",e,true);this.oModel.setProperty(\"/subtitle\",e);return this};D.prototype.setInfo=function(e){this.setProperty(\"info\",e,true);this.oModel.setProperty(\"/info\",e);return this};D.prototype.setTileIcon=function(e){this.setProperty(\"tileIcon\",e,true);this.oModel.setProperty(\"/icon\",e);return this};D.prototype.setShowGroupSelection=function(e){this.setProperty(\"showGroupSelection\",e,true);this.oModel.setProperty(\"/showGroupSelection\",e);return this};D.prototype.setNumberUnit=function(e){this.setProperty(\"numberUnit\",e,true);this.oModel.setProperty(\"/numberUnit\",e);return this};D.prototype.setServiceRefreshInterval=function(e){this.setProperty(\"serviceRefreshInterval\",e,true);this.oModel.setProperty(\"/serviceRefreshInterval\",e);return this};D.prototype.setDataSource=function(e){this.setProperty(\"dataSource\",e,true);this.oModel.setProperty(\"/dataSource\",e);return this};D.prototype.setKeywords=function(e){this.setProperty(\"keywords\",e,true);this.oModel.setProperty(\"/keywords\",e);return this};D.prototype.setAppData=function(e){this.setProperty(\"appData\",e,true);const t=[\"showGroupSelection\",\"title\",\"subtitle\",\"info\",\"icon\",\"numberUnit\",\"keywords\",\"serviceRefreshInterval\",\"dataSource\"];const o=[\"showInfo\",\"showPreview\"];Object.keys(e).forEach(s=>{if(t.indexOf(s)>-1){const t=s===\"icon\"?\"tileIcon\":s;this.setProperty(t,e[s],true)}if(t.indexOf(s)>-1||o.indexOf(s)>-1){this.oModel.setProperty(`/${s}`,e[s])}});return this};D.prototype._restoreDialogEditableValuesToDefault=function(){if(this.oModel){this.oModel.setProperty(\"/title\",this.getTitle());this.oModel.setProperty(\"/subtitle\",this.getSubtitle());this.oModel.setProperty(\"/info\",this.getInfo())}};D.prototype._handleCancelButtonPressSpacesMode=function(){const e=this.getBookmarkTileView().getController();const t=e.getBookmarkTileData();if(t.title||t.subtitle||t.info||t.contentNodes.length){const e=g.i18n.getText(\"SaveAsTileDialog.MessageBox.Action.Discard\");const t=g.i18n.getText(\"SaveAsTileDialog.MessageBox.Message.Discard\");const o=g.i18n.getText(\"SaveAsTileDialog.MessageBox.Title.Discard\");r.show(t,{title:o,actions:[e,r.Action.CANCEL],emphasizedAction:e,onClose:function(t){if(t===e){this.oDialog.close()}}.bind(this)})}else{this.oDialog.close()}};D.prototype._handleOKButtonPressSpacesMode=function(){const t=this.getBookmarkTileView().getController();const o=t.getBookmarkTileData();let s=true;if(o.contentNodes.length===0){const e=t.byId(\"SelectedNodesComboBox\");if(e){e.setValueState(m.Error);e.setValueStateText(g.i18n.getText(\"bookmarkPageSelectError\"));s=false}}if(!o.title||o.title.length<1){const e=t.byId(\"bookmarkTitleInput\");if(e){e.setValueState(m.Error);e.setValueStateText(g.i18n.getText(\"bookmarkTitleInputError\"));s=false}}if(!s){sap.ushell.Container.getServiceAsync(\"MessageInternal\").then(e=>{e.info(g.i18n.getText(\"SaveAsTileDialog.MessageToast.ValidationFailed\"))});return}this.oDialog.setBusy(true);this.oDialog.close();const i=sap.ushell.Container.getServiceAsync(\"BookmarkV2\");const r=o.contentNodes.map(t=>i.then(e=>e.addBookmark(o,t)).then(()=>({pageId:t.id,status:\"resolved\"})).catch(o=>{e.error(\"Failed to add one a bookmark: \",o,\"sap.ushell.ui.footerbar.AddBookmarkButton\");return{pageId:t.id,error:o,status:\"failed\"}}));Promise.all(r).then(e=>{sap.ushell.Container.getServiceAsync(\"MessageInternal\").then(t=>{const s=e.filter(e=>e.status===\"resolved\").length;const i=e.filter(e=>e.status===\"failed\");if(s===1){t.info(g.i18n.getText(\"SaveAsTileDialog.MessageToast.TileCreatedInPage\"))}else if(s>1){t.info(g.i18n.getText(\"SaveAsTileDialog.MessageToast.TileCreatedInPages\"))}if(i.length){this._showErrorDialog(i,s,o.title)}})})};D.prototype._showErrorDialog=function(e,t,o){sap.ushell.Container.getServiceAsync(\"MessageInternal\").then(s=>{let i;let r;if(e.length===1){if(t===0){i=g.i18n.getText(\"SaveAsTileDialog.MessageBox.SinglePageError\")}else{i=g.i18n.getText(\"SaveAsTileDialog.MessageBox.OnePageError\")}r=g.i18n.getText(\"SaveAsTileDialog.MessageBox.PageErrorDetail\",[o,e[0].pageId])}else if(e.length>1){if(t===0){i=g.i18n.getText(\"SaveAsTileDialog.MessageBox.AllPagesError\")}else{i=g.i18n.getText(\"SaveAsTileDialog.MessageBox.SomePagesError\")}const s=e.map(e=>e.pageId).join(\"\\n\");r=g.i18n.getText(\"SaveAsTileDialog.MessageBox.PagesErrorDetail\",[o,s])}const l=new n({items:[new a({text:r}).addStyleClass(\"sapUiSmallMarginBottom\"),new a({text:e.map(e=>e.error).join(\"\\n\")}).addStyleClass(\"sapUiSmallMarginBottom\"),new a({text:g.i18n.getText(\"SaveAsTileDialog.MessageBox.PageErrorSolution\")})]});s.errorWithDetails(i,l)})};D.prototype._handleCancelButtonPressClassicMode=function(){this.oDialog.close()};D.prototype._handleOKButtonPressClassicMode=function(){const t=this.getBookmarkTileView();const o=t.getController();const s=o.getBookmarkTileData();if(!s.title||s.title.length<1){const e=t.getTitleInput();if(e){e.setValueState(m.Error);e.setValueStateText(g.i18n.getText(\"bookmarkTitleInputError\"));return Promise.reject()}}this.oDialog.setBusy(true);this.oDialog.close();const i=s.group?s.group.object:\"\";delete s.group;return Promise.all([sap.ushell.Container.getServiceAsync(\"BookmarkV2\"),sap.ushell.Container.getServiceAsync(\"MessageInternal\")]).then(t=>{const o=t[0];const r=t[1];return o.addBookmark(s,i).then(()=>{r.info(g.i18n.getText(\"tile_created_msg\"))}).catch(t=>{e.error(\"Failed to add bookmark\",t,\"sap.ushell.ui.footerbar.AddBookmarkButton\");r.error(g.i18n.getText(\"fail_to_add_tile_msg\"))})})};D.prototype.setEnabled=function(o){let s=true;const i=f.getLaunchpadState();const r=f.getShellMode();if(sap.ushell.Container){const e=d.last(\"/core/shell/enablePersonalization\");if(e!==undefined){s=e}if(!s&&this.bSpaceEnabled&&this.bMyHomeEnabled){s=true}}if(!s||i===M.App&&[k,B,T,P].includes(r)){o=false}if(!sap.ushell.Container){if(this.getEnabled()){e.warning(\"Disabling 'Save as Tile' button: unified shell container not initialized\",null,\"sap.ushell.ui.footerbar.AddBookmarkButton\")}o=false}t.prototype.setEnabled.call(this,o);if(!o){this.addStyleClass(\"sapUshellAddBookmarkButton\")}};return D});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/ContactSupportButton\", [\"sap/m/ButtonRenderer\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/ActionItem\"],(t,o,e)=>{\"use strict\";const a=e.extend(\"sap.ushell.ui.footerbar.ContactSupportButton\",{metadata:{library:\"sap.ushell\"},renderer:t});a.prototype.init=function(){if(e.prototype.init){e.prototype.init.apply(this,arguments)}this.setIcon(\"sap-icon://email\");this.setText(o.i18n.getText(\"contactSupportBtn\"));this.attachPress(this.showContactSupportDialog)};a.prototype.showContactSupportDialog=function(){return new Promise(t=>{sap.ui.require([\"sap/ushell/ui/footerbar/ContactSupportDialog.controller\",\"sap/ui/core/Fragment\"],async(o,e)=>{const a=await e.load({id:\"contactSupportDialogFragment\",name:\"sap.ushell.ui.footerbar.ContactSupportDialog\",type:\"XML\",controller:new o});a.attachAfterOpen(t);a.open()})})};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/ContactSupportDialog.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ui/core/Fragment\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/UserActivityLog\",\"sap/ushell/resources\",\"sap/ushell/Container\",\"sap/ushell/state/StateManager\"],(t,e,o,a,n,i,s)=>{\"use strict\";const c=s.LaunchpadState;const r=\"contactSupportDialogFragment\";return t.extend(\"sap.ushell.ui.footerbar.ContactSupportDialog.controller\",{onBeforeOpen:function(){this._setupModel()},onAfterClose:function(){this._getDialog().destroy();const t=window.document.activeElement;const e=window.document.getElementById(\"userActionsMenuHeaderButton\");if(t&&t.tagName===\"BODY\"&&e){e.focus()}delete this.oSupportDialog},_getDialog:function(){if(!this.oSupportDialog){this.oSupportDialog=e.byId(r,\"ContactSupportDialog\")}return this.oSupportDialog},_setupModel:function(){const t=a.getMessageInfo();const e=t.userDetails;const i={showTechInfo:false,showAppData:s.getLaunchpadState()===c.App,subject:\"\",description:\"\",userName:e.fullName||\"\",host:window.location.host,email:e.eMail||\"\",language:e.Language||\"\",navigationHash:t.navigationData.navigationHash||\"\",applicationType:\"\",url:\"\",additionalInformation:\"\"};if(t.navigationData.applicationInformation){i.applicationType=t.navigationData.applicationInformation.applicationType;i.url=t.navigationData.applicationInformation.url;i.additionalInformation=t.navigationData.applicationInformation.additionalInformation}const r=this._getDialog();const l=new o(i);r.setModel(n.i18nModel,\"i18n\");r.setModel(l);this.oClientContext=t},showTechnicalData:function(){this._getDialog().getModel().setProperty(\"/showTechInfo\",true);e.byId(r,\"subjectInput\").focus()},_checkErrorState:function(t){if(!t.getValue()){t.setValueState(\"Error\")}else{t.setValueState(\"None\")}},onInputChange:function(t){this._checkErrorState(t.getSource())},closeDialog:function(){this._getDialog().close()},onSend:async function(){const t=e.byId(r,\"subjectInput\");const o=e.byId(r,\"textArea\");const a=t.getValue();const s=o.getValue();this._checkErrorState(t);this._checkErrorState(o);if(a&&s){const t=await i.getServiceAsync(\"SupportTicket\");const e=await i.getServiceAsync(\"MessageInternal\");try{await t.createTicket({subject:a,text:s,clientContext:this.oClientContext});e.info(n.i18n.getText(\"supportTicketCreationSuccess\"))}catch(t){e.error(n.i18n.getText(\"supportTicketCreationFailed\"))}this.closeDialog()}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/JamDiscussButton\", [\"sap/base/Log\",\"sap/m/Button\",\"sap/m/ButtonRenderer\",\"sap/ui/core/Component\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(s,e,t,i,n,o)=>{\"use strict\";const a=e.extend(\"sap.ushell.ui.footerbar.JamDiscussButton\",{metadata:{library:\"sap.ushell\",properties:{beforePressHandler:{type:\"any\",group:\"Misc\",defaultValue:null},afterPressHandler:{type:\"any\",group:\"Misc\",defaultValue:null},jamData:{type:\"object\",group:\"Misc\",defaultValue:null}}},renderer:t});a.prototype.init=function(){const s=this;if(e.prototype.init){e.prototype.init.apply(this,arguments)}this.setEnabled();this.setIcon(\"sap-icon://discussion-2\");this.setText(n.i18n.getText(\"discussBtn\"));this.attachPress(function(){if(s.getBeforePressHandler()){s.getBeforePressHandler()()}this.showDiscussDialog(s.getAfterPressHandler())})};a.prototype.showDiscussDialog=function(s){if(!this.discussComponentPromise){this.discussComponentPromise=i.create({name:\"sap.collaboration.components.fiori.feed.dialog\",settings:this.getJamData()})}return this.discussComponentPromise.then(e=>{e.open();if(s){s()}})};a.prototype.setEnabled=function(t){if(!o){if(this.getEnabled()){s.warning(\"Disabling JamDiscussButton: unified shell container not initialized\",null,\"sap.ushell.ui.footerbar.JamDiscussButton\")}t=false}else{const e=o.getUser();if(!(e&&e.isJamActive())){if(this.getEnabled()){s.info(\"Disabling JamDiscussButton: user not logged in or Jam not active\",null,\"sap.ushell.ui.footerbar.JamDiscussButton\")}t=false;this.setVisible(false)}}e.prototype.setEnabled.call(this,t)};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/JamShareButton\", [\"sap/base/Log\",\"sap/collaboration/components/fiori/sharing/dialog/Component\",\"sap/m/Button\",\"sap/m/ButtonRenderer\",\"sap/ui/core/Component\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,o,i,r,n,s,a)=>{\"use strict\";const l=o.extend(\"sap.ushell.ui.footerbar.JamShareButton\",{metadata:{library:\"sap.ushell\",properties:{beforePressHandler:{type:\"any\",group:\"Misc\",defaultValue:null},afterPressHandler:{type:\"any\",group:\"Misc\",defaultValue:null},jamData:{type:\"object\",group:\"Misc\",defaultValue:null}}},renderer:i});l.prototype.init=function(){if(o.prototype.init){o.prototype.init.apply(this,arguments)}this.setEnabled();this.setIcon(\"sap-icon://share-2\");this.setText(s.i18n.getText(\"shareBtn\"));this.attachPress(()=>{if(this.getBeforePressHandler()){this.getBeforePressHandler()()}this.showShareDialog(this.getAfterPressHandler())})};l.prototype._createShareComponent=function(){this.oShareComponentPromise=r.create({name:\"sap.collaboration.components.fiori.sharing.dialog\",settings:this.getJamData()});return this.oShareComponentPromise};l.prototype.showShareDialog=function(t){if(!this.oShareComponentPromise){this.oShareComponentPromise=this._createShareComponent()}if(a.inAppRuntime()){this.adjustFLPUrl(this.getJamData()).then(()=>this.oShareComponentPromise.then(e=>{e.open();if(t){t()}}),t=>{e.error(\"Could not retrieve FLP URL\",t,\"sap.ushell.ui.footerbar.JamShareButton\");return undefined})}else{return this.oShareComponentPromise.then(e=>{e.open();if(t){t()}})}};l.prototype.exit=function(){if(this.shareComponentPromise){this.shareComponentPromise.then(e=>{e.destroy()})}if(o.prototype.exit){o.prototype.exit.apply(this,arguments)}};l.prototype.setEnabled=function(t){if(a.isInitialized()){const o=a.getUser();if(!(o&&o.isJamActive())){if(!t){e.info(\"Disabling JamShareButton: user not logged in or Jam not active\",null,\"sap.ushell.ui.footerbar.JamShareButton\")}t=false;this.setVisible(false)}}else{if(!t){e.warning(\"Disabling JamShareButton: unified shell container not initialized\",null,\"sap.ushell.ui.footerbar.JamShareButton\")}t=false}o.prototype.setEnabled.call(this,t)};l.prototype.adjustFLPUrl=function(e){if(e&&e.object&&e.object.id&&typeof e.object.id===\"string\"&&e.object.id===document.URL){return a.getFLPUrl(true).then(t=>{e.object.id=t})}return Promise.resolve()};return l},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/LogoutButton\", [\"sap/base/Log\",\"sap/m/ButtonRenderer\",\"sap/m/MessageBox\",\"sap/ui/core/ElementMetadata\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/ActionItem\",\"sap/ushell/ui/launchpad/LoadingDialog\",\"sap/ushell/Container\"],(t,e,i,o,n,s,a,l)=>{\"use strict\";const u=i.Action;const g=i.Icon;const p=s.extend(\"sap.ushell.ui.footerbar.LogoutButton\",{metadata:{library:\"sap.ushell\"},renderer:e});p.prototype.init=function(){if(s.prototype.init){s.prototype.init.apply(this,arguments)}this.setIcon(\"sap-icon://log\");this.setTooltip(n.i18n.getText(\"signoutBtn_tooltip\"));this.setText(n.i18n.getText(\"signoutBtn_title\"));this.attachPress(this.logout);this.setEnabled()};p.prototype.logout=function(){let t=true;let e=false;let s=new a({text:\"\"});l.getGlobalDirty().done(p=>{t=false;if(e===true){s.exit();s=new a({text:\"\"})}const r=n.i18n;let c;if(p===l.DirtyState.DIRTY){c={message:r.getText(\"unsaved_data_warning_popup_message\"),icon:g.WARNING,messageTitle:r.getText(\"unsaved_data_warning_popup_title\")}}else{c={message:r.getText(\"signoutConfirmationMsg\"),icon:g.QUESTION,messageTitle:r.getText(\"signoutMsgTitle\")}}i.show(c.message,c.icon,c.messageTitle,[u.OK,u.CANCEL],t=>{if(t===u.OK){s.openLoadingScreen();s.showAppInfo(n.i18n.getText(\"beforeLogoutMsg\"),null);l.logout()}},o.uid(\"confirm\"))});if(t===true){s.openLoadingScreen();e=true}};p.prototype.setEnabled=function(e){if(!l.isInitialized()){if(this.getEnabled()){t.warning(\"Disabling 'Logout' button: unified shell container not initialized\",null,\"sap.ushell.ui.footerbar.LogoutButton\")}e=false}s.prototype.setEnabled.call(this,e)};return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/SaveAsTile.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/base/Log\",\"sap/ushell/resources\",\"sap/ui/core/library\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Container\"],(e,t,r,o,i,s)=>{\"use strict\";const n=o.ValueState;return e.extend(\"sap.ushell.ui.footerbar.SaveAsTile\",{onInit:function(){const e=this.getView();e.getTitleInput().attachLiveChange(function(){if(this.getValue()===\"\"){this.setValueStateText(r.i18n.getText(\"bookmarkTitleInputError\"));this.setValueState(n.Error)}else{this.setValueState(n.None)}})},loadPersonalizedGroups:function(){return s.getServiceAsync(\"LaunchPage\").then(e=>new Promise((t,r)=>{e.getGroupsForBookmarks().done(t).fail(r)})).then(e=>{const t=this.getView().getModel();t.setProperty(\"/groups\",e);t.setProperty(\"/groups/length\",e.length)}).catch(()=>{t.error(\"SaveAsTile controller: Unable to determine targets for bookmark placement.\")})},getLocalizedText:function(e,t){return t?r.i18n.getText(e,t):r.i18n.getText(e)},getBookmarkTileData:function(){const e=this.getView();const t=e.getModel();const r=e.getViewData();let o;if(e.oGroupsSelect&&e.oGroupsSelect.getSelectedItem()){o=e.oGroupsSelect.getSelectedItem().getBindingContext().getObject()}let s;if(r.customUrl){if(typeof r.customUrl===\"function\"){s=r.customUrl()}else{s=r.customUrl}}else{s=i.getHash()?`#${i.getHash()}`:window.location.href}const n={title:t.getProperty(\"/title\")||\"\",subtitle:t.getProperty(\"/subtitle\")||\"\",url:s,icon:t.getProperty(\"/icon\")||\"\",info:t.getProperty(\"/info\")||\"\",numberUnit:t.getProperty(\"/numberUnit\")||\"\",serviceUrl:typeof r.serviceUrl===\"function\"?r.serviceUrl():r.serviceUrl,dataSource:t.getProperty(\"/dataSource\"),serviceRefreshInterval:t.getProperty(\"/serviceRefreshInterval\"),group:o,keywords:t.getProperty(\"/keywords\")||\"\"};n.title=n.title.substring(0,256).trim();n.subtitle=n.subtitle.substring(0,256).trim();n.info=n.info.substring(0,256).trim();if(n.serviceUrl===undefined){delete n.serviceUrl;delete n.serviceRefreshInterval}return n},onExit:function(){const e=this.getView();const t=e.getTileView();t.destroy()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/SaveAsTile.view\", [\"sap/m/FlexBox\",\"sap/m/VBox\",\"sap/ui/layout/form/SimpleForm\",\"sap/m/GenericTile\",\"sap/m/ImageContent\",\"sap/m/Input\",\"sap/m/Label\",\"sap/m/library\",\"sap/m/NumericContent\",\"sap/m/Select\",\"sap/m/TileContent\",\"sap/ui/core/ListItem\",\"sap/ui/core/mvc/View\",\"sap/ui/model/BindingMode\",\"sap/ushell/resources\",\"sap/ushell/ui/footerbar/SaveAsTile.controller\"],(e,t,o,i,l,s,n,a,r,u,p,h,c,d,w)=>{\"use strict\";const b=a.FlexJustifyContent;const m=a.FlexAlignItems;return c.extend(\"sap.ushell.ui.footerbar.SaveAsTile\",{getControllerName:function(){return\"sap.ushell.ui.footerbar.SaveAsTile\"},createContent:function(){this.oResourceBundle=w.i18n;this.viewData=this.getViewData()||{};this.appData=this.viewData.appData||{};this.oTitleInput=new s(\"bookmarkTitleInput\",{placeholder:this.oResourceBundle.getText(\"bookmarkDialogoTitle_tooltip\"),value:{path:\"/title\",mode:d.TwoWay}});this.oSubTitleInput=new s(\"bookmarkSubTitleInput\",{placeholder:this.oResourceBundle.getText(\"bookmarkDialogoSubTitle_tooltip\"),value:{path:\"/subtitle\",mode:d.TwoWay}});this.oInfoInput=new s(\"bookmarkInfoInput\",{placeholder:this.oResourceBundle.getText(\"bookmarkDialogoDescription_tooltip\"),value:{path:\"/info\",mode:d.TwoWay},visible:\"{/showInfo}\"});let a;if(this.viewData.serviceUrl){a=new i({header:\"{/title}\",subheader:\"{/subtitle}\",pressEnabled:false,ariaLabel:this.oResourceBundle.getText(\"previewFld\"),tileContent:[new p({footer:\"{/info}\",unit:\"{/numberUnit}\",content:[new r({value:\"{/numberValue}\",truncateValueTo:5,icon:\"{/icon}\",withMargin:false,width:\"100%\"})]})]}).addStyleClass(\"sapUiResponsiveMargin\")}else{a=new i({header:\"{/title}\",subheader:\"{/subtitle}\",pressEnabled:false,ariaLabel:this.oResourceBundle.getText(\"previewFld\"),tileContent:[new p({footer:\"{/info}\",content:new l({src:\"{/icon}\"})})]}).addStyleClass(\"sapUiResponsiveMargin\")}a.addEventDelegate({onAfterRendering:function(){a.getDomRef().removeAttribute(\"tabindex\")}});this.setTileView(a);const c=new e(\"saveAsTileHBox\",{items:[a],alignItems:m.Center,justifyContent:b.Center,visible:\"{/showPreview}\"}).addStyleClass(\"sapUshellAddBookmarkTileBackground\");const g=new n(\"previewLbl\",{text:this.oResourceBundle.getText(\"previewFld\"),labelFor:c,visible:\"{/showPreview}\"});this.oGroupsSelect=new u(\"groupsSelect\",{items:{path:\"/groups\",template:new h({text:\"{title}\"})},width:\"100%\",visible:{parts:[\"/showGroupSelection\",\"/groups\"],formatter:function(e,t){if(e&&!(t&&t.length)){this.oController.loadPersonalizedGroups()}return e}.bind(this)}});const T=new n(\"titleLbl\",{showColon:true,required:true,text:this.oResourceBundle.getText(\"titleFld\"),labelFor:this.oTitleInput});const f=new n(\"subtitleLbl\",{showColon:true,text:this.oResourceBundle.getText(\"subtitleFld\"),labelFor:this.oSubTitleInput});const v=new n(\"infoLbl\",{text:this.oResourceBundle.getText(\"tileSettingsDialog_informationField\"),showColon:true,labelFor:this.oInfoInput,visible:\"{/showInfo}\"});const I=this.oResourceBundle.getText(\"GroupListItem_label\");const x=new n(\"groupLbl\",{text:I,labelFor:this.oGroupsSelect,visible:\"{/showGroupSelection}\"});return[new t({items:[g,c]}).addStyleClass(\"sapUiSmallMargin\"),new o({content:[T,this.oTitleInput,f,this.oSubTitleInput,v,this.oInfoInput,x,this.oGroupsSelect]})]},getTitleInput:function(){return this.oTitleInput},getTileView:function(){return this.tileView},setTileView:function(e){this.tileView=e}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/SendAsEmailButton\", [\"sap/base/Log\",\"sap/m/Button\",\"sap/m/ButtonRenderer\",\"sap/m/library\",\"sap/ushell/resources\",\"sap/ushell/Container\",\"sap/ushell/state/ShellModel\"],(e,t,s,i,n,l,r)=>{\"use strict\";const a=i.URLHelper;const o=t.extend(\"sap.ushell.ui.footerbar.SendAsEmailButton\",{metadata:{library:\"sap.ushell\",properties:{beforePressHandler:{type:\"function\",group:\"Misc\",defaultValue:null},afterPressHandler:{type:\"function\",group:\"Misc\",defaultValue:null}}},renderer:s});o.prototype.init=function(){if(t.prototype.init){t.prototype.init.apply(this,arguments)}this.setIcon(\"sap-icon://email\");this.setText(n.i18n.getText(\"sendEmailBtn\"));this.setTooltip(n.i18n.getText(\"sendEmailBtn_tooltip\"));this.attachPress(()=>{const e=this.getBeforePressHandler();if(e){e()}this.sendAsEmailPressed(this.getAfterPressHandler())})};o.prototype.sendAsEmailPressed=function(t){if(l.inAppRuntime()){sap.ui.require([\"sap/ushell/appRuntime/ui5/AppRuntimeService\"],e=>{e.sendMessageToOuterShell(\"sap.ushell.services.ShellUIService.sendEmailWithFLPButton\",{bSetAppStateToPublic:true})})}else{const t=document.URL;const s=r.getModel().getProperty(\"/application/title\");const i=s===undefined?n.i18n.getText(\"linkToApplication\"):`${n.i18n.getText(\"linkTo\")} '${s}'`;l.getServiceAsync(\"AppState\").then(s=>{s.setAppStateToPublic(t).done(e=>{a.triggerEmail(null,i,e)}).fail(e.error)})}if(t){t()}};return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/AccessibilityCustomData\", [\"sap/ui/core/ControlBehavior\",\"sap/ui/core/CustomData\"],(e,t)=>{\"use strict\";const i=t.extend(\"sap.ushell.ui.launchpad.AccessibilityCustomData\",{metadata:{library:\"sap.ushell\"}});i.prototype._checkWriteToDom=function(){if(!e.isAccessibilityEnabled()){return null}const i=this.getKey();const a=t.prototype._checkWriteToDom.apply(this,arguments);if(a&&(i.indexOf(\"aria-\")===0||i===\"role\"||i===\"tabindex\")){a.key=a.key.replace(/^data-/,\"\")}return a};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/ActionItem\", [\"sap/m/Button\",\"sap/m/ButtonRenderer\",\"sap/m/library\"],(e,t,s)=>{\"use strict\";const r=s.ButtonType;const n=e.extend(\"sap.ushell.ui.launchpad.ActionItem\",{metadata:{library:\"sap.ushell\",properties:{actionType:{type:\"string\",group:\"Appearance\",defaultValue:\"standard\"}},events:{press:{},afterRendering:{}}},renderer:t});n.prototype.setActionType=function(e){if(!this.sOrigType){this.sOrigType=this.getType()}this.setType(e===\"action\"?r.Unstyled:this.sOrigType||r.Standard);this.setProperty(\"actionType\",e,true)};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/AnchorItem\", [\"sap/ui/core/Control\",\"sap/ushell/ui/launchpad/AnchorItemRenderer\",\"sap/ushell/library\"],(e,t)=>{\"use strict\";const i=e.extend(\"sap.ushell.ui.launchpad.AnchorItem\",{metadata:{library:\"sap.ushell\",properties:{title:{type:\"string\",group:\"Misc\",defaultValue:null},selected:{type:\"boolean\",group:\"Misc\",defaultValue:false},groupId:{type:\"string\",group:\"Misc\",defaultValue:null},defaultGroup:{type:\"boolean\",group:\"Misc\",defaultValue:false},helpId:{type:\"string\",group:\"Misc\",defaultValue:null},index:{type:\"int\",group:\"Misc\",defaultValue:null},isGroupVisible:{type:\"boolean\",group:\"Misc\",defaultValue:true},isGroupRendered:{type:\"boolean\",group:\"Misc\",defaultValue:false},isGroupDisabled:{type:\"boolean\",group:\"Misc\",defaultValue:false},locked:{type:\"boolean\",group:\"Misc\",defaultValue:false},posinset:{type:\"int\",group:\"Misc\",defaultValue:0},setsize:{type:\"int\",group:\"Misc\",defaultValue:0}},events:{press:{},afterRendering:{},visibilityChanged:{}}},renderer:t});i.prototype.init=function(){this.addDelegate({onAfterRendering:this.fireAfterRendering.bind(this),onclick:this.firePress.bind(this),onsapenter:this.firePress.bind(this),onsapspace:function(e){e.preventDefault();this.firePress()}.bind(this)})};i.prototype.setVisible=function(e,t){this.setProperty(\"visible\",e,t);this.fireVisibilityChanged();return this};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/AnchorItemRenderer\", ()=>{\"use strict\";const e={apiVersion:2,render:function(e,t){const s=t.getGroupId();const a=t.getSelected();e.openStart(\"li\",t);e.attr(\"modelGroupId\",s);e.attr(\"role\",\"tab\");e.attr(\"aria-selected\",a);e.class(\"sapUshellAnchorItem\");if(t.getSetsize()){e.attr(\"aria-posinset\",t.getPosinset());e.attr(\"aria-setsize\",t.getSetsize())}if(t.getHelpId()){if(t.getDefaultGroup()){e.class(\"help-id-homeAnchorNavigationBarItem\")}else{e.class(\"help-id-anchorNavigationBarItem\")}e.attr(\"data-help-id\",t.getHelpId())}if(a){e.attr(\"tabindex\",\"0\");e.class(\"sapUshellAnchorItemSelected\")}if(!t.getVisible()||!t.getIsGroupVisible()){e.class(\"sapUshellShellHidden\")}e.openEnd();e.openStart(\"div\",`${t.getId()}-inner`);e.class(\"sapUshellAnchorItemInner\");if(t.getIsGroupDisabled()){e.class(\"sapUshellAnchorItemDisabled\")}e.openEnd();e.text(t.getTitle());e.close(\"div\");e.close(\"li\")}};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/AnchorNavigationBar\", [\"./AnchorNavigationBarRenderer\",\"sap/base/i18n/Localization\",\"sap/base/util/isEmptyObject\",\"sap/m/Bar\",\"sap/m/Button\",\"sap/ui/core/Element\",\"sap/ui/core/ResizeHandler\",\"sap/ui/Device\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/library\",\"sap/ushell/resources\"],(t,e,s,o,i,l,r,n,jQuery,h,a)=>{\"use strict\";const c=o.extend(\"sap.ushell.ui.launchpad.AnchorNavigationBar\",{metadata:{library:\"sap.ushell\",properties:{accessibilityLabel:{type:\"string\",defaultValue:null},selectedItemIndex:{type:\"int\",group:\"Misc\",defaultValue:0},overflowEnabled:{type:\"boolean\",group:\"Misc\",defaultValue:true}},aggregations:{groups:{type:\"sap.ushell.ui.launchpad.AnchorItem\",multiple:true,singularName:\"group\"}},events:{afterRendering:{},itemPress:{}}},renderer:t});c.prototype.init=function(){this.bGroupWasPressed=false;this.bIsRtl=e.getRTL();this._bIsRenderedCompletely=false;this.fnNavigationBarItemsVisibility=this.setNavigationBarItemsVisibility.bind(this);this.fnAdjustVisibleAnchorItemsAccessibility=this.adjustVisibleAnchorItemsAccessibility.bind(this)};c.prototype.onBeforeRendering=function(){if(this._sResizeListenerId){r.deregister(this._sResizeListenerId);this._sResizeListenerId=null}const t=window.document.getElementsByClassName(\"sapUshellAnchorNavigationBarItemsScroll\")[0];if(t){t.removeEventListener(\"scroll\",this.fnNavigationBarItemsVisibility)}};c.prototype.onAfterRendering=function(){const t=this.getDomRef();if(this._bIsRenderedCompletely){this.reArrangeNavigationBarElements();this.adjustVisibleAnchorItemsAccessibility();const e=window.document.getElementsByClassName(\"sapUshellAnchorNavigationBarItemsScroll\")[0];if(e){e.addEventListener(\"scroll\",this.fnNavigationBarItemsVisibility)}if(t){this._sResizeListenerId=r.register(t,this.reArrangeNavigationBarElements.bind(this))}}};c.prototype.openOverflowPopup=function(){const t=jQuery(\".sapUshellAnchorItemOverFlow\").hasClass(\"sapUshellAnchorItemOverFlowOpen\");if(this.oOverflowButton&&!t){this.oOverflowButton.firePress()}};c.prototype.closeOverflowPopup=function(){if(this.oPopover){this.oPopover.close()}};c.prototype.reArrangeNavigationBarElements=function(){this.anchorItems=this.getVisibleGroups();const t=this.getSelectedItemIndex()||0;if(this.anchorItems.length){this.adjustItemSelection(t)}if(n.system.phone&&this.anchorItems.length){this.anchorItems.forEach(t=>{t.setIsGroupVisible(false)});this.anchorItems[this.getSelectedItemIndex()].setIsGroupVisible(true)}else{setTimeout(()=>{if(this.isDestroyed()){return}this.setNavigationBarItemsVisibility()},200)}};c.prototype._scrollToGroupByGroupIndex=function(t,e){const s=n.system.tablet?\".sapUshellAnchorNavigationBarItemsScroll\":\".sapUshellAnchorNavigationBarItems\";const o=document.documentElement.querySelector(s);const i=this.anchorItems[t].getDomRef();if(o&&i){const t=o.getBoundingClientRect();const e=i.getBoundingClientRect();const s=jQuery(o);const l=this.bIsRtl?s.scrollLeftRTL():o.scrollLeft;let r;if(e.left<t.left){r=e.left-t.left-16}else if(e.right>t.right){r=e.right-t.right+16}if(r){if(this.bIsRtl){s.scrollLeftRTL(l+r)}else{o.scrollLeft=l+r}}this.setNavigationBarItemsVisibility()}};c.prototype.setNavigationBarItemsVisibility=function(){if(!n.system.phone){this.setNavigationBarItemsVisibilityOnDesktop()}else if(this.anchorItems&&this.anchorItems.length>0){this.oOverflowButton.removeStyleClass(\"sapUshellShellHidden\");const t=this.getSelectedItemIndex()||0;if(this.oPopover){this.oPopover.setTitle(this.anchorItems[t].getTitle())}}};c.prototype.setNavigationBarItemsVisibilityOnDesktop=function(){if(this.anchorItems.length&&(!this.isMostRightAnchorItemVisible()||!this.isMostLeftAnchorItemVisible())){this.oOverflowButton.removeStyleClass(\"sapUshellShellHidden\")}else if(this.oOverflowButton){this.oOverflowButton.addStyleClass(\"sapUshellShellHidden\")}if(this.bIsRtl){if(this.anchorItems.length&&!this.isMostLeftAnchorItemVisible()){this.oOverflowRightButton.removeStyleClass(\"sapUshellShellHidden\")}else if(this.oOverflowRightButton){this.oOverflowRightButton.addStyleClass(\"sapUshellShellHidden\")}if(this.anchorItems.length&&!this.isMostRightAnchorItemVisible()){this.oOverflowLeftButton.removeStyleClass(\"sapUshellShellHidden\")}else if(this.oOverflowLeftButton){this.oOverflowLeftButton.addStyleClass(\"sapUshellShellHidden\")}}else{if(this.anchorItems.length&&!this.isMostLeftAnchorItemVisible()){this.oOverflowLeftButton.removeStyleClass(\"sapUshellShellHidden\")}else if(this.oOverflowLeftButton){this.oOverflowLeftButton.addStyleClass(\"sapUshellShellHidden\")}if(this.anchorItems.length&&!this.isMostRightAnchorItemVisible()){this.oOverflowRightButton.removeStyleClass(\"sapUshellShellHidden\")}else if(this.oOverflowRightButton){this.oOverflowRightButton.addStyleClass(\"sapUshellShellHidden\")}}};c.prototype.adjustItemSelection=function(t){setTimeout(()=>{if(this.anchorItems&&this.anchorItems.length){this.anchorItems.forEach(t=>{t.setSelected(false)});if(t>=0&&t<this.anchorItems.length){this.anchorItems[t].setSelected(true);this._scrollToGroupByGroupIndex(t)}}},50)};c.prototype.isMostRightAnchorItemVisible=function(){const t=jQuery(\".sapUshellAnchorNavigationBarInner\");const e=!s(t)?t.width():0;const o=!s(t)&&t.offset()?t.offset().left:0;const i=this.bIsRtl?this.anchorItems[0].getDomRef():this.anchorItems[this.anchorItems.length-1].getDomRef();let l=!s(i)?jQuery(i).width():0;if(l<0){l=80}const r=i&&jQuery(i).offset()?jQuery(i).offset().left:0;return Math.ceil(r)+l<=o+e};c.prototype.isMostLeftAnchorItemVisible=function(){const t=jQuery(\".sapUshellAnchorNavigationBarInner\");const e=!s(t)&&t.offset()&&t.offset().left||0;const o=this.bIsRtl?this.anchorItems[this.anchorItems.length-1].getDomRef():this.anchorItems[0].getDomRef();const i=!s(o)&&jQuery(o).offset()?jQuery(o).offset().left:0;return Math.ceil(i)>=e};c.prototype.setSelectedItemIndex=function(t){if(t!==undefined){this.setProperty(\"selectedItemIndex\",t,true)}};c.prototype.setOverflowEnabled=function(t){this.setProperty(\"overflowEnabled\",t);if(this.oOverflowButton){this.oOverflowButton.setEnabled(t)}};c.prototype._getOverflowLeftArrowButton=function(){if(!this.oOverflowLeftButton){this.oOverflowLeftButton=new i({icon:\"sap-icon://slim-arrow-left\",tooltip:a.i18n.getText(\"scrollToTop\"),press:function(){this._scrollToGroupByGroupIndex(0)}.bind(this)}).addStyleClass(\"sapUshellShellHidden\");this.oOverflowLeftButton._bExcludeFromTabChain=true}return this.oOverflowLeftButton};c.prototype._getOverflowRightArrowButton=function(){if(!this.oOverflowRightButton){this.oOverflowRightButton=new i({icon:\"sap-icon://slim-arrow-right\",tooltip:a.i18n.getText(\"scrollToEnd\"),press:function(){this._scrollToGroupByGroupIndex(this.anchorItems.length-1)}.bind(this)}).addStyleClass(\"sapUshellShellHidden\");this.oOverflowRightButton._bExcludeFromTabChain=true}return this.oOverflowRightButton};c.prototype._getOverflowButton=function(){if(!this.oOverflowButton){this.oOverflowButton=new i(\"sapUshellAnchorBarOverflowButton\",{icon:\"sap-icon://slim-arrow-down\",tooltip:a.i18n.getText(\"more_groups\"),enabled:this.getOverflowEnabled(),press:function(){this._togglePopover()}.bind(this)}).addStyleClass(\"sapUshellShellHidden\")}return this.oOverflowButton};c.prototype._togglePopover=function(){sap.ui.require([\"sap/m/Popover\",\"sap/ui/model/Filter\",\"sap/ushell/ui/launchpad/GroupListItem\",\"sap/m/List\",\"sap/m/library\"],(t,s,o,i,r)=>{const n=r.ListMode;if(!this.oPopover){this.oList=new i({mode:n.SingleSelectMaster,rememberSelections:false,selectionChange:function(t){this.fireItemPress({group:t.getParameter(\"listItem\")});this.oPopover.close()}.bind(this)});this.oPopover=new t(\"sapUshellAnchorBarOverflowPopover\",{showArrow:false,showHeader:false,placement:\"Left\",content:[this.oList],horizontalScrolling:false,beforeOpen:function(){const t=jQuery(\".sapUshellAnchorItemOverFlow\");const s=e.getRTL();const o=s?-1*t.outerWidth():t.outerWidth();this.setOffsetX(o)},afterClose:function(){jQuery(\".sapUshellAnchorItemOverFlow\").removeClass(\"sapUshellAnchorItemOverFlowOpen\");jQuery(\".sapUshellAnchorItemOverFlow\").toggleClass(\"sapUshellAnchorItemOverFlowPressed\",false)}}).addStyleClass(\"sapUshellAnchorItemsPopover\").addStyleClass(\"sapContrastPlus\")}if(this.oPopover.isOpen()){this.oPopover.close()}else{this.anchorItems=this.getVisibleGroups();this.oList.setModel(this.getModel());const t=this.getModel().getProperty(\"/tileActionModeActive\");const e=new s(\"\",\"EQ\",\"a\");e.fnTest=function(e){if(!e.visibilityModes[t?1:0]){return false}return e.isGroupVisible||t};this.oList.bindItems({path:\"/groups\",template:new o({title:\"{title}\",groupId:\"{groupId}\",index:\"{index}\"}),filters:[e]});const i=jQuery(\".sapUshellAnchorItemSelected\").attr(\"id\");const r=l.getElementById(i);this.oList.getItems().forEach(t=>{if(r.mProperties.groupId===t.mProperties.groupId){t.addStyleClass(\"sapUshellAnchorPopoverItemSelected\")}else{t.addStyleClass(\"sapUshellAnchorPopoverItemNonSelected\")}});jQuery(\".sapUshellAnchorItemOverFlow\").toggleClass(\"sapUshellAnchorItemOverFlowPressed\",true);this.oPopover.openBy(this.oOverflowButton)}})};c.prototype.getVisibleGroups=function(){return this.getGroups().filter(t=>t.getVisible())};c.prototype._setRenderedCompletely=function(t){this._bIsRenderedCompletely=t};c.prototype.handleAnchorItemPress=function(t){this.bGroupWasPressed=true;this.fireItemPress({group:t.getSource(),manualPress:true})};c.prototype.adjustVisibleAnchorItemsAccessibility=function(){const t=this.getVisibleGroups();const e=t.length;t.forEach((t,s)=>{t.setPosinset(s+1);t.setSetsize(e)})};c.prototype.addGroup=function(t,e){t.attachVisibilityChanged(this.fnAdjustVisibleAnchorItemsAccessibility);return this.addAggregation(\"groups\",t,e)};c.prototype.insertGroup=function(t,e,s){t.attachVisibilityChanged(this.fnAdjustVisibleAnchorItemsAccessibility);return this.insertAggregation(\"groups\",t,e,s)};c.prototype.removeGroup=function(t,e){t.detachVisibilityChanged(this.fnAdjustVisibleAnchorItemsAccessibility);return this.removeAggregation(\"groups\",t,e)};c.prototype.exit=function(){if(this.oOverflowLeftButton){this.oOverflowLeftButton.destroy()}if(this.oOverflowRightButton){this.oOverflowRightButton.destroy()}if(this.oOverflowButton){this.oOverflowButton.destroy()}if(this.oPopover){this.oPopover.destroy()}if(o.prototype.exit){o.prototype.exit.apply(this,arguments)}if(this._sResizeListenerId){r.deregister(this._sResizeListenerId);this._sResizeListenerId=null}};return c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/AnchorNavigationBarRenderer\", [\"sap/ushell/resources\",\"sap/ui/core/library\"],(e,t)=>{\"use strict\";const r=t.AccessibleLandmarkRole;const a={apiVersion:2};a.render=function(t,a){t.openStart(\"div\",a);t.attr(\"role\",r.Navigation);t.attr(\"aria-label\",e.i18n.getText(\"Dashboard.Page.Header.AriaLabel\"));t.attr(\"data-sap-ui-customfastnavgroup\",\"true\");t.class(\"sapUshellAnchorNavigationBar\");t.class(\"sapMPageHeader\");t.class(\"sapMIBar-CTX\");t.class(\"sapMHeader-CTX\");t.openEnd();t.openStart(\"div\");t.class(\"sapUshellAnchorNavigationBarInner\");t.openEnd();if(a.getGroups().length>0){a._setRenderedCompletely(true);t.openStart(\"div\");t.class(\"sapUshellAnchorLeftOverFlowButton\");t.accessibilityState(a._getOverflowLeftArrowButton(),{hidden:true});t.openEnd();t.renderControl(a._getOverflowLeftArrowButton());t.close(\"div\");t.openStart(\"div\");t.class(\"sapUshellAnchorNavigationBarItems\");t.openEnd();t.openStart(\"ul\");t.class(\"sapUshellAnchorNavigationBarItemsScroll\");t.accessibilityState(a,{role:\"tablist\",label:e.i18n.getText(\"AnchorNavigationBar_AriaLabel\")});t.openEnd();this.renderAnchorNavigationItems(t,a);t.close(\"ul\");t.close(\"div\");t.openStart(\"div\");t.class(\"sapUshellAnchorRightOverFlowButton\");t.accessibilityState(a._getOverflowRightArrowButton(),{hidden:true});t.openEnd();t.renderControl(a._getOverflowRightArrowButton());t.close(\"div\");t.openStart(\"div\");t.class(\"sapUshellAnchorItemOverFlow\");t.accessibilityState(a._getOverflowButton(),{hidden:true});t.openEnd();t.renderControl(a._getOverflowButton());t.close(\"div\")}t.close(\"div\");t.close(\"div\")};a.renderAnchorNavigationItems=function(e,t){t.getGroups().forEach(t=>{e.renderControl(t)})};a.shouldAddIBarContext=function(){return false};return a},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/CatalogEntryContainer\", [\"sap/base/Log\",\"sap/ui/core/Control\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/TileContainerUtils\",\"sap/ushell/Container\"],(e,t,n,i,s,a)=>{\"use strict\";const l=t.extend(\"sap.ushell.ui.launchpad.CatalogEntryContainer\",{metadata:{library:\"sap.ushell\",properties:{header:{type:\"string\",group:\"Appearance\",defaultValue:null},catalogSearchTerm:{type:\"string\",group:\"Appearance\",defaultValue:null},catalogTagSelector:{type:\"object\",group:\"Appearance\",defaultValue:null}},aggregations:{appBoxesContainer:{type:\"sap.ushell.ui.appfinder.AppBoxInternal\",multiple:true},customTilesContainer:{type:\"sap.ushell.ui.launchpad.Tile\",multiple:true}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t);e.attr(\"aria-labeledby\",`${t.getId()}-title`);e.attr(\"role\",\"group\");e.class(\"sapUshellTileContainer\");e.class(\"sapUshellCatalogTileContainer\");e.openEnd();e.openStart(\"div\");e.class(\"sapUshellTileContainerContent\");e.attr(\"tabindex\",\"-1\");e.openEnd();let n=t.getHeader();if(n){if(i.i18n.hasText(n)){n=i.i18n.getText(n)}e.openStart(\"div\");e.class(\"sapUshellTileContainerHeader\");e.class(\"sapUshellCatalogTileContainerHeader\");e.attr(\"id\",`${t.getId()}-groupheader`);e.openEnd();e.openStart(\"div\");e.class(\"sapUshellCatalogTileContainerHeaderInner\");e.attr(\"id\",`${t.getId()}-title`);e.openEnd();e.openStart(\"h2\");e.class(\"sapUshellContainerTitle\");e.class(\"sapUshellCatalogContainerTitle\");e.attr(\"title\",n);e.attr(\"aria-level\",\"2\");e.openEnd();e.text(n);e.close(\"h2\");e.close(\"div\");e.close(\"div\")}const s=t.getAppBoxesContainer();let a;const l=t.getCustomTilesContainer();if(s.length>0||l.length>0){e.openStart(\"ul\");e.class(\"sapUshellInner\");e.openEnd();for(a=0;a<s.length;a++){e.renderControl(s[a])}if(s.length&&l.length){e.voidStart(\"br\");e.voidEnd()}for(a=0;a<l.length;a++){e.renderControl(l[a])}e.close(\"ul\")}e.close(\"div\");e.close(\"div\")}}});l.prototype.setAfterHandleElements=function(e){this.onAfterHandleElements=e};l.prototype.onAfterUpdate=function(e){this.fnCallback=e};l.prototype.updateAggregation=function(t){e.debug(\"Updating CatalogEntryContainer. Reason: \",t)};l.prototype.addNewItem=function(e,t){if(this.catalogState[t]!==\"full\"&&this.getAllocatedUnits&&!this.getAllocatedUnits()){this.catalogState[t]=\"partial\";return false}if(t===\"customTilesContainer\"){const t=e.getObject&&e.getObject().src;if(t!==undefined){let e;if(t.Chip!==undefined&&t.Chip.getContract!==undefined){e=t.Chip.getContract(\"preview\")}else if(t.getContract!==undefined){e=t.getContract(\"preview\")}if(e!==undefined){e.setEnabled(true)}}a.getServiceAsync(\"FlpLaunchPage\").then(t=>{t.getCatalogTileViewControl(e.getProperty(\"src\")).done(t=>{e.getModel().setProperty(`${e.getPath()}/content`,[t])})})}const n=s.createNewItem.bind(this)(e,t);s.addNewItem.bind(this)(n,t);const i=t===\"appBoxesContainer\"?this.getAppBoxesContainer():this.getCustomTilesContainer();const l=e.getPath();this.indexingMaps[t].onScreenPathIndexMap[l]={aItemsRefrenceIndex:i.length-1,isVisible:true};return true};l.prototype.getNumberResults=function(){return{nAppboxes:this.nNumberOfVisibleElements.appBoxesContainer,nCustom:this.nNumberOfVisibleElements.customTilesContainer}};l.prototype.handleElements=function(e){const t=e;const n=this.mBindingInfos[t].binding;const i=n.getContexts();let a;if(!this.catalogState){this.catalogState={}}if(!this.catalogState[e]){this.catalogState[e]=\"start\"}if(!this.indexingMaps){this.indexingMaps={}}if(!this.nNumberOfVisibleElements){this.nNumberOfVisibleElements=[]}if(!this.nNumberOfVisibleElements.customTilesContainer){this.nNumberOfVisibleElements.customTilesContainer=0}if(!this.nNumberOfVisibleElements.appBoxesContainer){this.nNumberOfVisibleElements.appBoxesContainer=0}if(!this.filters){this.filters={}}a=t===\"appBoxesContainer\"?this.getAppBoxesContainer():this.getCustomTilesContainer();this.indexingMaps[t]=s.indexOnScreenElements(a,false);const l=s.markVisibleOnScreenElementsSearchCatalog(i,this.indexingMaps[t],true);if(s.createMissingElementsInOnScreenElementsSearchCatalog(this.indexingMaps[t],i,l,this.addNewItem.bind(this),a,this.filters[t],t,this.processFiltering.bind(this))){if(this.getAllocatedUnits&&this.getAllocatedUnits()){this.catalogState[e]=\"full\"}}a=t===\"appBoxesContainer\"?this.getAppBoxesContainer():this.getCustomTilesContainer();const o=s.showHideTilesAndHeaders(this.indexingMaps[t],a);this.nNumberOfVisibleElements[t]=o.nCountVisibleElements;if(this.fnCallback){this.fnCallback(this)}if(this.onAfterHandleElements){this.onAfterHandleElements(this)}};l.prototype.processFiltering=function(e,t){const n=e.getPath();if(t){const e=this.indexingMaps[t].onScreenPathIndexMap[n];if(e.isVisible&&this.currElementVisible){this.currElementVisible()}}};return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/CatalogsContainer\", [\"sap/base/Log\",\"sap/ui/core/Control\",\"sap/ui/performance/Measurement\",\"sap/ushell/library\",\"sap/ushell/ui/launchpad/TileContainerUtils\",\"sap/ushell/resources\"],(t,e,i,n,s,a)=>{\"use strict\";const l=e.extend(\"sap.ushell.ui.launchpad.CatalogsContainer\",{metadata:{library:\"sap.ushell\",properties:{categoryFilter:{type:\"string\",defaultValue:\"ALL\"},categoryAllocateTiles:{type:\"int\",defaultValue:\"0\"}},aggregations:{catalogs:{type:\"sap.ushell.ui.launchpad.CatalogEntryContainer\",multiple:true}}},renderer:{apiVersion:2,render:function(t,e){const i=e.getCatalogs();t.openStart(\"div\",e);t.class(\"sapUshellCatalogsContainer\");t.openEnd();for(let e=0,n=i.length;e<n;++e){t.renderControl(i[e])}t.close(\"div\")}}});l.prototype.onBeforeRendering=function(){if(this.getCatalogs().length){this.setBusy(false)}};l.prototype.setPagingManager=function(t){i.start(\"FLP:DashboardManager.CatalogsRendering\",\"CatalogsRendering\",\"FLP\");i.pause(\"FLP:DashboardManager.CatalogsRendering\");this.oPagingManager=t};l.prototype.updateAllocatedUnits=function(t){this.nAllocatedUnits=t};l.prototype.applyPagingCategoryFilters=function(t,e){const i=this.getCatalogs();this.nAllocatedUnits=t;if(e&&e!==a.i18n.getText(\"all\")){this.sCatalogTerm=e}else{this.sCatalogTerm=\"\"}if(!this.filters){this.filters={}}if(!this.filters.catalogEntry){this.filters.catalogEntry=function(t){const e=t.getPath();const i=t.getProperty(\"title\")===this.sCatalogTerm;if(!this.sCatalogTerm){return}const n=this.indexingMaps.onScreenPathIndexMap[e];if(n){n.isVisible=i}}.bind(this)}if(!this.filters.pagination){this.filters.pagination=function(t){const e=t.getPath();const i=this.indexingMaps.onScreenPathIndexMap[e];if(!this.nAllocatedUnits){i.isVisible=false}}.bind(this)}if(!this.indexingMaps){return}this.indexingMaps=s.indexOnScreenElements(i);s.applyFilterOnAllItems(this.mBindingInfos.catalogs,this.filters,this.processFiltering.bind(this));if(this.indexingMaps){s.showHideTilesAndHeaders(this.indexingMaps,this.getCatalogs())}};l.prototype.processFiltering=function(t){const e=this.getCatalogs();const i=t.getPath();const n=this.indexingMaps.onScreenPathIndexMap[i];const s=e[n.aItemsRefrenceIndex];let a;if(n.isVisible&&(!this.catalogPagination[i]||this.catalogPagination[i]===\"start\")){if(this.catalogPagination[i]===undefined){this.catalogPagination[i]=\"start\";s.catalogState={}}else if(this.catalogPagination[i]===\"start\"){const t=s.nNumberOfVisibleElements;this.nAllocatedUnits+=t.appBoxesContainer+t.customTilesContainer}a=this.nAllocatedUnits;s.handleElements(\"appBoxesContainer\");s.handleElements(\"customTilesContainer\");if(s.catalogState.appBoxesContainer===\"full\"&&s.catalogState.customTilesContainer===\"full\"){this.catalogPagination[i]=\"full\"}if(a-this.nAllocatedUnits>0){this.bSearchResults=true}else{n.isVisible=false}}else if(n.isVisible&&this.catalogPagination[i]===\"full\"){const t=s.nNumberOfVisibleElements;const e=t.appBoxesContainer+t.customTilesContainer;if(e===0){n.isVisible=false}}};l.prototype.resetCatalogPagination=function(){this.catalogPagination={}};l.prototype.updateAggregation=function(n){t.debug(\"Updating TileContainer. Reason: \",n);try{i.resume(\"FLP:DashboardManager.CatalogsRendering\");this.filterElements();i.pause(\"FLP:DashboardManager.CatalogsRendering\")}catch(t){e.prototype.updateAggregation.apply(this,arguments)}};l.prototype.addNewItem=function(t,e){let i;const n=t.getPath();const a=s.createNewItem.bind(this)(t,e);if(!a.filters){a.filters={};a.filters.appBoxesContainer={};a.filters.customTilesContainer={};a.filters.appBoxesContainer.pagination=function(t){const e=this.indexingMaps.appBoxesContainer.onScreenPathIndexMap[t.getPath()];if(this.getAllocatedUnits){e.isVisible=!!this.getAllocatedUnits()}}.bind(a);a.filters.customTilesContainer.pagination=function(t){const e=this.indexingMaps.customTilesContainer.onScreenPathIndexMap[t.getPath()];if(this.getAllocatedUnits){e.isVisible=!!this.getAllocatedUnits()}}.bind(a)}a.nAllocatedUnits=this.nAllocatedUnits;a.getAllocatedUnits=function(){return this.nAllocatedUnits}.bind(this);a.elementFiltered=function(t){i=this.oPagingManager.getSizeofSupportedElementInUnits(\"tile\");this.nAllocatedUnits+=t*i;if(this.nAllocatedUnits<=0){this.nAllocatedUnits=0}}.bind(this);a.elementsVisible=function(t){i=this.oPagingManager.getSizeofSupportedElementInUnits(\"tile\");this.nAllocatedUnits-=t*i;if(this.nAllocatedUnits<=0){this.nAllocatedUnits=0}}.bind(this);a.newElementCreated=function(t,e){this.nAllocatedUnits-=this.oPagingManager.getSizeofSupportedElementInUnits(\"tile\");if(this.nAllocatedUnits<=0){this.nAllocatedUnits=0}}.bind(this);a.currElementVisible=function(){this.nAllocatedUnits-=this.oPagingManager.getSizeofSupportedElementInUnits(\"tile\");if(this.nAllocatedUnits<=0){this.nAllocatedUnits=0}}.bind(this);s.addNewItem.bind(this)(a,e);const l=this.getCatalogs();this.indexingMaps.onScreenPathIndexMap[n]={aItemsRefrenceIndex:l.length-1,isVisible:true};return true};l.prototype.handleFilters=function(){if(!this.catalogPagination){this.catalogPagination={}}if(!this.catalogsElementsMap){this.catalogsElementsMap={}}if(!this.filters){this.filters={}}};l.prototype.setHandleSearchCallback=function(t){this.handleSearchCallback=t};l.prototype.filterElements=function(){const t=\"catalogs\";const e=this.mBindingInfos[t].binding;const i=e.getContexts();let n=this.getCatalogs();if(!this.indexingMaps){this.indexingMaps=s.indexOnScreenElements(n)}this.handleFilters();const a=s.markVisibleOnScreenElements(i,this.indexingMaps,false);if(!s.validateOrder(i,n,a)){throw true}s.createMissingElementsInOnScreenElements(this.indexingMaps,i,a,this.addNewItem.bind(this),n,this.filters,t);n=this.getCatalogs();s.showHideTilesAndHeaders(this.indexingMaps,n);if(this.handleSearchCallback){this.handleSearchCallback()}};return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/DashboardGroupsContainer\", [\"sap/ui/base/ManagedObject\",\"sap/ui/core/Control\",\"sap/ui/core/Core\",\"sap/ui/core/InvisibleText\",\"sap/ushell/Config\",\"sap/ushell/library\",\"sap/ushell/override\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"./DashboardGroupsContainerRenderer\"],(e,t,o,s,i,r,n,l,a,p)=>{\"use strict\";const u=t.extend(\"sap.ushell.ui.launchpad.DashboardGroupsContainer\",{metadata:{library:\"sap.ushell\",properties:{accessibilityLabel:{type:\"string\",defaultValue:null},displayMode:{type:\"string\",defaultValue:null}},aggregations:{groups:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"group\"}},events:{afterRendering:{}}},renderer:p});u.prototype.init=function(){this.addInvisibleAccessabilityTexts()};u.prototype.exit=function(){if(this.oTileText){this.oTileText.destroy()}if(this.oTileEditModeText){this.oTileEditModeText.destroy()}t.prototype.exit.apply(this,arguments)};u.prototype.updateGroups=n.updateAggregatesFactory(\"groups\");u.prototype.onAfterRendering=function(){const e=this;const t={bUseUniqueMark:true};a.setPerformanceMark(\"FLP-TimeToInteractive_tilesLoaded\",t);e.fireAfterRendering()};u.prototype.getGroupControlByGroupId=function(e){try{const t=this.getGroups();for(let o=0,s=t.length;o<s;++o){if(t[o].getGroupId()===e){return t[o]}}}catch(e){}return null};u.prototype.addLinksToUnselectedGroups=function(){const t=this.getGroups();t.forEach((t,o)=>{if(!t.getIsGroupSelected()){e.prototype.updateAggregation.call(t,\"links\")}})};u.prototype.removeLinksFromAllGroups=function(){const e=this.getGroups();e.forEach((e,t)=>{const o=e.getLinks();if(o.length){if(o[0].getMetadata().getName()===\"sap.m.GenericTile\"){e.removeAllLinks()}else{for(let e=0;e<o.length;e++){o[e].destroy()}}}})};u.prototype.removeLinksFromUnselectedGroups=function(){const e=this.getGroups();e.forEach((e,t)=>{const o=e.getLinks();if(o.length&&!e.getIsGroupSelected()){if(o[0].getMetadata().getName()===\"sap.m.GenericTile\"){e.removeAllLinks()}else{for(let e=0;e<o.length;e++){o[e].destroy()}}}})};u.prototype.addInvisibleAccessabilityTexts=function(){this.oTileText=new s(\"sapUshellDashboardAccessibilityTileText\",{text:l.i18n.getText(\"tile\")}).toStatic();const e=o.getLibraryResourceBundle(\"sap.m\");if(e){this.oTileEditModeText=new s(\"sapUshellDashboardAccessibilityTileEditModeText\",{text:e.getText(\"LIST_ITEM_NAVIGATION\")}).toStatic()}};return u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/DashboardGroupsContainerRenderer\", [\"sap/ushell/utils\"],e=>{\"use strict\";const s={apiVersion:2};s.render=function(s,t){s.openStart(\"div\",t);s.attr(\"data-sap-ui-customfastnavgroup\",\"true\");s.class(\"sapUshellDashboardGroupsContainer\");if(t.getAccessibilityLabel()){s.accessibilityState(t,{role:\"navigation\",label:t.getAccessibilityLabel()})}s.openEnd();const a=t.getGroups();let r;for(let e=0;e<a.length;e++){r=a[e];s.openStart(\"div\");s.class(\"sapUshellDashboardGroupsContainerItem\");if(r.getIsGroupLocked()||r.getDefaultGroup()){s.class(\"sapUshellDisableDragAndDrop\")}s.openEnd();s.renderControl(r);s.close(\"div\")}s.close(\"div\");e.setPerformanceMark(\"FLP -- dashboardgroupscontainer renderer\")};return s},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/ExtendedChangeDetection\", [\"sap/ui/base/ManagedObject\",\"sap/ushell/Config\"],(t,e)=>{\"use strict\";const n=t.extend(\"sap.ushell.ui.launchpad.ExtendedChangeDetection\",{metadata:{library:\"sap.ushell\",events:{itemDeleted:{},itemAdded:{},itemsReordered:{}}},constructor:function(n,i,o){t.call(this);this._oAggregation=i.getMetadata().getAggregation(n);this._oControl=i;this._sAggregationName=n;this._aSiblingAggregationNames=o;const s=e.last(\"/core/spaces/extendedChangeDetection/enabled\");if(s){this._oControl[this._oAggregation._sUpdater]=this._updateAggregation.bind(this);this._oControl.bUseExtendedChangeDetection=true}}});n.oUpdateFromSiblingCache={};n.prototype._updateAggregation=function(){const t=this._oControl.getBindingInfo(this._s Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/PagePersistenceAdapter\", [\"sap/ushell/utils\",\"sap/ui/util/Storage\",\"sap/base/util/ObjectPath\"],(t,e,o)=>{\"use strict\";function a(a,r,i){const s=o.get(\"config.storageType\",i)||e.Type.local;if(s!==e.Type.local&&s!==e.Type.session){throw new t.Error(`PagePersistence Adapter Local Platform: unsupported storage type: '${s}'`)}this._oAdapterConfiguration=i}a.prototype.getPage=function(t){const e=this;return new Promise((o,a)=>{const r=e._oAdapterConfiguration.config.dataLoad[t]||{};if(r.page.id===t){o(r)}a({error:`No page with id '${t}' was found.`})})};a.prototype.getPages=function(t){const e=this._oAdapterConfiguration.config.dataLoad||{};return Promise.resolve(t.map(t=>e[t]).filter(t=>!!t))};return a},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/PersonalizationAdapter\", [\"sap/ushell/utils\",\"sap/base/util/ObjectPath\",\"sap/ui/util/Storage\",\"sap/ushell/adapters/local/AdapterContainer\"],(t,e,o,r)=>{\"use strict\";let a;function n(o,n,s){this._sStorageType=e.get(\"config.storageType\",s)||r.prototype.constants.storage.LOCAL_STORAGE;switch(this._sStorageType){case r.prototype.constants.storage.LOCAL_STORAGE:break;case r.prototype.constants.storage.MEMORY:a=e.get(\"config.personalizationData\",s)||{};break;default:throw new t.Error(`Personalization Adapter Local Platform: unsupported storage type '${this._sStorageType}'`)}}n.prototype.getAdapterContainer=function(t){return new r(t,this._sStorageType,a)};n.prototype.resetEntirePersonalization=function(){return new Promise((t,e)=>{const o=this._getLocalStorage();setTimeout(()=>{const r=o.removeAll();if(r){t()}else{e(\"could not delete personalization\")}},0)})};n.prototype.isResetEntirePersonalizationSupported=function(){return new Promise((t,e)=>{setTimeout(()=>{t(true)},0)})};n.prototype.delAdapterContainer=function(t){return this.getAdapterContainer(t).del()};function s(){return new o(o.Type.local,\"com.sap.ushell.adapters.sandbox.Personalization\")}n.prototype._getLocalStorage=s;return n},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/PersonalizationV2Adapter\", [\"./PersonalizationAdapter\"],e=>{\"use strict\";return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/SearchAdapter\", [],()=>{\"use strict\";function e(e,i,r){this.isSearchAvailable=function(){return Promise.resolve(true)}}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/SearchCEPAdapter\", [],()=>{\"use strict\";function e(e,p,a){this._oConfig=a&&a.config||{}}e.prototype.search=function(e){const p=[{title:\"App For On Close\",description:\"\",keywords:\"App For On Close\",icon:\"sap-icon://business-objects-experience\",label:\"App For On Close\",visualization:{id:\"demoapps.AppBeforeCloseEvent.AppBeforeCloseEvent\",vizId:\"demoapps.AppBeforeCloseEvent.AppBeforeCloseEvent\",vizType:\"\",title:\"App For On Close\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"App For On Close\"],technicalAttributes:[],target:{type:\"URL\",url:\"#AppBeforeCloseEvent-Action?sap-ui-app-id-hint=demoapps.AppBeforeCloseEvent.AppBeforeCloseEvent\"},targetURL:\"#AppBeforeCloseEvent-Action?sap-ui-app-id-hint=demoapps.AppBeforeCloseEvent.AppBeforeCloseEvent\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#AppBeforeCloseEvent-Action?sap-ui-app-id-hint=demoapps.AppBeforeCloseEvent.AppBeforeCloseEvent\",technicalAttributes:\"\",text:\"App For On Close\"},{title:\"App Nav Sample\",description:\"\",keywords:\"App Nav Sample\",icon:\"sap-icon://business-objects-experience\",label:\"App Nav Sample\",visualization:{id:\"sap.ushell.demo.AppNavSample\",vizId:\"sap.ushell.demo.AppNavSample\",vizType:\"\",title:\"App Nav Sample\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"App Nav Sample\"],technicalAttributes:[],target:{type:\"URL\",url:\"#Action-toappnavsample?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample\"},targetURL:\"#Action-toappnavsample?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#Action-toappnavsample?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample\",technicalAttributes:\"\",text:\"App Nav Sample\"},{title:\"App Nav Sample - With Transformation\",description:\"\",keywords:\"App Nav Sample - With Transformation\",icon:\"sap-icon://business-objects-experience\",label:\"App Nav Sample - With Transformation\",visualization:{id:\"sap.ushell.demo.AppNavSampleT\",vizId:\"sap.ushell.demo.AppNavSampleT\",vizType:\"\",title:\"App Nav Sample - With Transformation\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"App Nav Sample - With Transformation\"],technicalAttributes:[],target:{type:\"URL\",url:\"#ActionT-toappnavsampleT?sap-ui-app-id-hint=sap.ushell.demo.AppNavSampleT\"},targetURL:\"#ActionT-toappnavsampleT?sap-ui-app-id-hint=sap.ushell.demo.AppNavSampleT\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#ActionT-toappnavsampleT?sap-ui-app-id-hint=sap.ushell.demo.AppNavSampleT\",technicalAttributes:\"\",text:\"App Nav Sample - With Transformation\"},{title:\"App Nav Sample SPA1\",description:\"\",keywords:\"App Nav Sample SPA1\",icon:\"sap-icon://BusinessSuiteInAppSymbols/icon-marked-for-deletion\",label:\"App Nav Sample SPA1\",visualization:{id:\"sap.ushell.demo.AppNavSample-SAP1\",vizId:\"sap.ushell.demo.AppNavSample-SAP1\",vizType:\"\",title:\"App Nav Sample SPA1\",subtitle:\"\",icon:\"sap-icon://BusinessSuiteInAppSymbols/icon-marked-for-deletion\",info:\"SPA\",keywords:[\"App Nav Sample SPA1\"],technicalAttributes:[],target:{type:\"URL\",url:\"#AppNav-SAP1?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample-SAP1\"},targetURL:\"#AppNav-SAP1?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample-SAP1\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#AppNav-SAP1?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample-SAP1\",technicalAttributes:\"\",text:\"App Nav Sample SPA1\"},{title:\"App Nav Sample SPA2\",description:\"\",keywords:\"App Nav Sample SPA2\",icon:\"sap-icon://business-objects-experience\",label:\"App Nav Sample SPA2\",visualization:{id:\"sap.ushell.demo.AppNavSample-SAP2\",vizId:\"sap.ushell.demo.AppNavSample-SAP2\",vizType:\"\",title:\"App Nav Sample SPA2\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"SPA\",keywords:[\"App Nav Sample SPA2\"],technicalAttributes:[],target:{type:\"URL\",url:\"#AppNav-SAP2?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample-SAP2\"},targetURL:\"#AppNav-SAP2?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample-SAP2\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#AppNav-SAP2?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample-SAP2\",technicalAttributes:\"\",text:\"App Nav Sample SPA2\"},{title:\"App Nav Sample ui5appruntime min (ABAP)\",description:\"\",keywords:\"App Nav Sample ui5appruntime min (ABAP)\",icon:\"sap-icon://business-objects-experience\",label:\"App Nav Sample ui5appruntime min (ABAP)\",visualization:{id:\"sap.ushell.demo.AppNavSample4\",vizId:\"sap.ushell.demo.AppNavSample4\",vizType:\"\",title:\"App Nav Sample ui5appruntime min (ABAP)\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"App Nav Sample ui5appruntime min (ABAP)\"],technicalAttributes:[],target:{type:\"URL\",url:\"#AppNavSample-MinABAP?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample4\"},targetURL:\"#AppNavSample-MinABAP?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample4\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#AppNavSample-MinABAP?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample4\",technicalAttributes:\"\",text:\"App Nav Sample ui5appruntime min (ABAP)\"},{title:\"App Nav Sample ui5appruntime min (CF)\",description:\"\",keywords:\"App Nav Sample ui5appruntime min (CF)\",icon:\"sap-icon://business-objects-experience\",label:\"App Nav Sample ui5appruntime min (CF)\",visualization:{id:\"sap.ushell.demo.AppNavSample3\",vizId:\"sap.ushell.demo.AppNavSample3\",vizType:\"\",title:\"App Nav Sample ui5appruntime min (CF)\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"App Nav Sample ui5appruntime min (CF)\"],technicalAttributes:[],target:{type:\"URL\",url:\"#Action-toappnavsample?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample3\"},targetURL:\"#Action-toappnavsample?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample3\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#Action-toappnavsample?sap-ui-app-id-hint=sap.ushell.demo.AppNavSample3\",technicalAttributes:\"\",text:\"App Nav Sample ui5appruntime min (CF)\"},{title:\"App Runtime Renderer API Sample\",description:\"\",keywords:\"App Runtime Renderer API Sample\",icon:\"sap-icon://business-objects-experience\",label:\"App Runtime Renderer API Sample\",visualization:{id:\"sap.ushell.demo.AppRuntimeRendererSample\",vizId:\"sap.ushell.demo.AppRuntimeRendererSample\",vizType:\"\",title:\"App Runtime Renderer API Sample\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"App Runtime Renderer API Sample\"],technicalAttributes:[],target:{type:\"URL\",url:\"#Renderer-Sample?sap-ui-app-id-hint=sap.ushell.demo.AppRuntimeRendererSample\"},targetURL:\"#Renderer-Sample?sap-ui-app-id-hint=sap.ushell.demo.AppRuntimeRendererSample\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#Renderer-Sample?sap-ui-app-id-hint=sap.ushell.demo.AppRuntimeRendererSample\",technicalAttributes:\"\",text:\"App Runtime Renderer API Sample\"},{title:\"BB1 Application A\",description:\"\",keywords:\"BB1 Application A\",icon:\"sap-icon://business-objects-experience\",label:\"BB1 Application A\",visualization:{id:\"demoapps.IframeReuseSample.IframeReuseSampleA\",vizId:\"demoapps.IframeReuseSample.IframeReuseSampleA\",vizType:\"\",title:\"BB1 Application A\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"BB1 Application A\"],technicalAttributes:[],target:{type:\"URL\",url:\"#Application-A?sap-ui-app-id-hint=demoapps.IframeReuseSample.IframeReuseSampleA\"},targetURL:\"#Application-A?sap-ui-app-id-hint=demoapps.IframeReuseSample.IframeReuseSampleA\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#Application-A?sap-ui-app-id-hint=demoapps.IframeReuseSample.IframeReuseSampleA\",technicalAttributes:\"\",text:\"BB1 Application A\"},{title:\"BB1 Application B\",description:\"\",keywords:\"BB1 Application B\",icon:\"sap-icon://business-objects-experience\",label:\"BB1 Application B\",visualization:{id:\"demoapps.IframeReuseSample.IframeReuseSampleB\",vizId:\"demoapps.IframeReuseSample.IframeReuseSampleB\",vizType:\"\",title:\"BB1 Application B\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"BB1 Application B\"],technicalAttributes:[],target:{type:\"URL\",url:\"#Application-B?sap-ui-app-id-hint=demoapps.IframeReuseSample.IframeReuseSampleB\"},targetURL:\"#Application-B?sap-ui-app-id-hint=demoapps.IframeReuseSample.IframeReuseSampleB\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#Application-B?sap-ui-app-id-hint=demoapps.IframeReuseSample.IframeReuseSampleB\",technicalAttributes:\"\",text:\"BB1 Application B\"},{title:\"BB1 Application C\",description:\"\",keywords:\"BB1 Application C\",icon:\"sap-icon://business-objects-experience\",label:\"BB1 Application C\",visualization:{id:\"demoapps.IframeReuseSample.IframeReuseSampleC\",vizId:\"demoapps.IframeReuseSample.IframeReuseSampleC\",vizType:\"\",title:\"BB1 Application C\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"BB1 Application C\"],technicalAttributes:[],target:{type:\"URL\",url:\"#Application-C?sap-ui-app-id-hint=demoapps.IframeReuseSample.IframeReuseSampleC\"},targetURL:\"#Application-C?sap-ui-app-id-hint=demoapps.IframeReuseSample.IframeReuseSampleC\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#Application-C?sap-ui-app-id-hint=demoapps.IframeReuseSample.IframeReuseSampleC\",technicalAttributes:\"\",text:\"BB1 Application C\"},{title:\"Fiori Elements App\",description:\"\",keywords:\"Fiori Elements App\",icon:\"sap-icon://business-objects-experience\",label:\"Fiori Elements App\",visualization:{id:\"sap.ushell.demo.FE1Iframe\",vizId:\"sap.ushell.demo.FE1Iframe\",vizType:\"\",title:\"Fiori Elements App\",subtitle:\"\",icon:\"sap-icon://business-objects-experience\",info:\"iframe\",keywords:[\"Fiori Elements App\"],technicalAttributes:[],target:{type:\"URL\",url:\"#FE1-iframe?sap-ui-app-id-hint=sap.ushell.demo.FE1Iframe\"},targetURL:\"#FE1-iframe?sap-ui-app-id-hint=sap.ushell.demo.FE1Iframe\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#FE1-iframe?sap-ui-app-id-hint=sap.ushell.demo.FE1Iframe\",technicalAttributes:\"\",text:\"Fiori Elements App\"}];const a=[{title:\"Google.com\",description:\"\",keywords:\"Google.com\",icon:\"sap-icon://nutrition-activity\",label:\"Google.com\",visualization:{id:\"search_providers_mainline.search.provider.google#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.google#defaultLauncher\",vizType:\"\",title:\"Google.com\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Google.com (New Tab)\",keywords:[\"Google.com\"],technicalAttributes:[\"APPTYPE_SEARCHAPP\",\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#google-search?sap-ui-app-id-hint=search_providers_mainline.search.provider.google\"},targetURL:\"#google-search?sap-ui-app-id-hint=search_providers_mainline.search.provider.google\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#google-search?sap-ui-app-id-hint=search_providers_mainline.search.provider.google\",technicalAttributes:\"APPTYPE_SEARCHAPP APPTYPE_HOMEPAGE\",text:\"Google.com\"},{title:\"Office.com\",description:\"\",keywords:\"Office.com\",icon:\"sap-icon://nutrition-activity\",label:\"Office.com\",visualization:{id:\"search_providers_mainline.search.provider.office#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.office#defaultLauncher\",vizType:\"\",title:\"Office.com\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Office.com (New Tab)\",keywords:[\"Office.com\"],technicalAttributes:[\"APPTYPE_SEARCHAPP\"],target:{type:\"URL\",url:\"#office-search?sap-ui-app-id-hint=search_providers_mainline.search.provider.office\"},targetURL:\"#office-search?sap-ui-app-id-hint=search_providers_mainline.search.provider.office\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#office-search?sap-ui-app-id-hint=search_providers_mainline.search.provider.office\",technicalAttributes:\"APPTYPE_SEARCHAPP\",text:\"Office.com\"},{text:\"Enterprise Search\",description:\"Enterprise Search\",icon:\"sap-icon://search\",inboundIdentifier:\"38cd162a-e185-448c-9c37-a4fc02b3d39d___GenericDefaultSemantic-__GenericDefaultAction\",url:'http://localhost:8080/ushell/test-resources/sap/ushell/shells/demo/FioriLaunchpad.Isolation.html?sap-isolation-enabled=true&sap-ui-debug=true#Action-search&/top=20&filter={\"dataSource\":{\"type\":\"Category\",\"id\":\"All\",\"label\":\"All\",\"labelPlural\":\"All\"},\"searchTerm\":\"app\",\"rootCondition\":{\"type\":\"Complex\",\"operator\":\"And\",\"conditions\":[]}}',target:\"_blank\",recent:false,semanticObject:\"Action\",semanticObjectAction:\"search\",_type:\"app\",isEnterpriseSearch:true}];const i=[{title:\"Google.com\",description:\"\",keywords:\"Google.com\",icon:\"sap-icon://nutrition-activity\",label:\"Google.com\",visualization:{id:\"search_providers_mainline.search.provider.google#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.google#defaultLauncher\",vizType:\"\",title:\"Google.com\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Google.com (New Tab)\",keywords:[\"Google.com\"],technicalAttributes:[\"APPTYPE_SEARCHAPP\",\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#google-search?sap-ui-app-id-hint=search_providers_mainline.search.provider.google\"},targetURL:\"#google-search?sap-ui-app-id-hint=search_providers_mainline.search.provider.google\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#google-search?sap-ui-app-id-hint=search_providers_mainline.search.provider.google\",technicalAttributes:\"APPTYPE_SEARCHAPP APPTYPE_HOMEPAGE\",text:\"Google.com\"},{title:\"Homepage Application cc8\",description:\"\",keywords:\"Homepage Application cc8\",icon:\"sap-icon://nutrition-activity\",label:\"Homepage Application cc8\",visualization:{id:\"search_providers_mainline.search.provider.cc8#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.cc8#defaultLauncher\",vizType:\"\",title:\"Homepage Application cc8\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"CC8 Homepage (New Tab)\",keywords:[\"Homepage Application cc8\"],technicalAttributes:[\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#cc8-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.cc8\"},targetURL:\"#cc8-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.cc8\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#cc8-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.cc8\",technicalAttributes:\"APPTYPE_HOMEPAGE\",text:\"Homepage Application cc8\"},{title:\"Homepage Sample Application\",description:\"\",keywords:\"Homepage Sample Application\",icon:\"sap-icon://nutrition-activity\",label:\"Homepage Sample Application\",visualization:{id:\"search_providers_mainline.search.provider.homepageSampleApp#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.homepageSampleApp#defaultLauncher\",vizType:\"\",title:\"Homepage Sample Application\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Homepage Sample (New Tab)\",keywords:[\"Homepage Sample Application\"],technicalAttributes:[\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp\"},targetURL:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp\",technicalAttributes:\"APPTYPE_HOMEPAGE\",text:\"Homepage Sample Application\"},{title:\"Homepage Sample Application 2\",description:\"\",keywords:\"Homepage Sample Application 2\",icon:\"sap-icon://nutrition-activity\",label:\"Homepage Sample Application 2\",visualization:{id:\"search_providers_mainline.search.provider.homepageSampleApp2#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.homepageSampleApp2#defaultLauncher\",vizType:\"\",title:\"Homepage Sample Application 2\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Homepage Sample (New Tab)\",keywords:[\"Homepage Sample Application 2\"],technicalAttributes:[\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp2\"},targetURL:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp2\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp2\",technicalAttributes:\"APPTYPE_HOMEPAGE\",text:\"Homepage Sample Application 2\"},{title:\"Homepage Sample Application 3\",description:\"\",keywords:\"Homepage Sample Application 3\",icon:\"sap-icon://nutrition-activity\",label:\"Homepage Sample Application 3\",visualization:{id:\"search_providers_mainline.search.provider.homepageSampleApp3#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.homepageSampleApp3#defaultLauncher\",vizType:\"\",title:\"Homepage Sample Application 3\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Homepage Sample (New Tab)\",keywords:[\"Homepage Sample Application 3\"],technicalAttributes:[\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp3\"},targetURL:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp3\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp3\",technicalAttributes:\"APPTYPE_HOMEPAGE\",text:\"Homepage Sample Application 3\"},{title:\"Homepage Sample Application 4\",description:\"\",keywords:\"Homepage Sample Application 4\",icon:\"sap-icon://nutrition-activity\",label:\"Homepage Sample Application 4\",visualization:{id:\"search_providers_mainline.search.provider.homepageSampleApp4#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.homepageSampleApp4#defaultLauncher\",vizType:\"\",title:\"Homepage Sample Application 4\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Homepage Sample (New Tab)\",keywords:[\"Homepage Sample Application 4\"],technicalAttributes:[\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp4\"},targetURL:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp4\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp4\",technicalAttributes:\"APPTYPE_HOMEPAGE\",text:\"Homepage Sample Application 4\"},{title:\"Homepage Sample Application 5\",description:\"\",keywords:\"Homepage Sample Application 5\",icon:\"sap-icon://nutrition-activity\",label:\"Homepage Sample Application 5\",visualization:{id:\"search_providers_mainline.search.provider.homepageSampleApp5#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.homepageSampleApp5#defaultLauncher\",vizType:\"\",title:\"Homepage Sample Application 5\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Homepage Sample (New Tab)\",keywords:[\"Homepage Sample Application 5\"],technicalAttributes:[\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp5\"},targetURL:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp5\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp5\",technicalAttributes:\"APPTYPE_HOMEPAGE\",text:\"Homepage Sample Application 5\"},{title:\"Homepage Sample Application 6\",description:\"\",keywords:\"Homepage Sample Application 6\",icon:\"sap-icon://nutrition-activity\",label:\"Homepage Sample Application 6\",visualization:{id:\"search_providers_mainline.search.provider.homepageSampleApp6#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.homepageSampleApp6#defaultLauncher\",vizType:\"\",title:\"Homepage Sample Application 6\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Homepage Sample (New Tab)\",keywords:[\"Homepage Sample Application 6\"],technicalAttributes:[\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp6\"},targetURL:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp6\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp6\",technicalAttributes:\"APPTYPE_HOMEPAGE\",text:\"Homepage Sample Application 6\"},{title:\"Homepage Sample Application 7\",description:\"\",keywords:\"Homepage Sample Application 7\",icon:\"sap-icon://nutrition-activity\",label:\"Homepage Sample Application 7\",visualization:{id:\"search_providers_mainline.search.provider.homepageSampleApp7#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.homepageSampleApp7#defaultLauncher\",vizType:\"\",title:\"Homepage Sample Application 7\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Homepage Sample (New Tab)\",keywords:[\"Homepage Sample Application 7\"],technicalAttributes:[\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp7\"},targetURL:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp7\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp7\",technicalAttributes:\"APPTYPE_HOMEPAGE\",text:\"Homepage Sample Application 7\"},{title:\"Homepage Sample Application 8\",description:\"\",keywords:\"Homepage Sample Application 8\",icon:\"sap-icon://nutrition-activity\",label:\"Homepage Sample Application 8\",visualization:{id:\"search_providers_mainline.search.provider.homepageSampleApp8#defaultLauncher\",vizId:\"search_providers_mainline.search.provider.homepageSampleApp8#defaultLauncher\",vizType:\"\",title:\"Homepage Sample Application 8\",subtitle:\"\",icon:\"sap-icon://nutrition-activity\",info:\"Homepage Sample (New Tab)\",keywords:[\"Homepage Sample Application 8\"],technicalAttributes:[\"APPTYPE_HOMEPAGE\"],target:{type:\"URL\",url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp8\"},targetURL:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp8\",_instantiationData:{platform:\"CDM\",vizType:{\"sap.ui5\":{componentName:\"sap.ushell.components.tiles.cdm.applauncher\"}}}},url:\"#sample-homepage?sap-ui-app-id-hint=search_providers_mainline.search.provider.homepageSampleApp8\",technicalAttributes:\"APPTYPE_HOMEPAGE\",text:\"Homepage Sample Application 8\"}];const t={};if(e.filter.value1&&e.filter.value1===\"APPTYPE_HOMEPAGE\"){t.data=i}else if(e.filter.value1&&e.filter.value1===\"APPTYPE_SEARCHAPP\"){t.data=a}else{t.data=p}return Promise.resolve(t)};return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/SupportTicketAdapter\", [],()=>{\"use strict\";function e(e,t,i){this.createTicket=function(e){const t=\"1234567\";return Promise.resolve(t)}}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/Ui5ComponentLoaderAdapter\", [],()=>{\"use strict\";function e(){}return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter\", [\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/ushell/Container\"],(jQuery,e,t)=>{\"use strict\";function r(e,t,r){this._oConfig=r&&r.config;this._oContainerPromises={}}r.prototype._getPersonalizationService=function(){return t.getServiceAsync(\"PersonalizationV2\")};r.prototype.saveParameterValue=function(t,r,n){const o=new jQuery.Deferred;if(!(typeof t===\"string\"&&t.length<=40&&/^[A-Za-z0-9.-_]+$/.exec(t))){e.error(`Illegal Parameter Key, less than 40 characters and [A-Za-z0-9.-_]+ :\"${t}\"`)}this._getUDContainer(n).done(e=>{e.setItemValue(t,r);e.save(50).then(o.resolve.bind(o)).catch(o.reject.bind(o))}).fail(t=>{e.error(t);o.reject(t)});return o.promise()};r.prototype.deleteParameter=function(t,r){const n=new jQuery.Deferred;if(!(typeof t===\"string\"&&t.length<=40&&/^[A-Za-z0-9.-_]+$/.exec(t))){e.error(`Illegal Parameter Key, less than 40 characters and [A-Za-z0-9.-_]+ :\"${t}\"`)}this._getUDContainer(r).done(e=>{e.deleteItem(t);e.save().then(n.resolve.bind(n)).catch(n.reject.bind(n))}).fail(t=>{e.error(t);n.reject(t)});return n.promise()};r.prototype.loadParameterValue=function(t,r){const n=new jQuery.Deferred;this._getUDContainer(r).done(e=>{const r=e.getItemValue(t);if(r){n.resolve(r)}else{n.reject(\"no value \")}}).fail(t=>{e.error(t);n.reject(t)});return n.promise()};r.prototype.getStoredParameterNames=function(t){const r=new jQuery.Deferred;this._getUDContainer(t).done(e=>{const t=e.getItemKeys();r.resolve(t)}).fail(t=>{e.error(t);r.reject(t)});return r.promise()};r.prototype._getUDContainer=function(e){let t=e.id;if(t!==\"\"){t=`.${t}`}if(!this._oContainerPromises[e.id]){const r=new jQuery.Deferred;this._oContainerPromises[e.id]=r.promise();this._getPersonalizationService().then(e=>{e.getContainer(`sap.ushell.UserDefaultParameter${t}`,{keyCategory:e.KeyCategory.FIXED_KEY,writeFrequency:e.WriteFrequency.LOW,clientStorageAllowed:true}).then(r.resolve).catch(r.reject)})}return this._oContainerPromises[e.id]};return r},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/adapters/local/UserInfoAdapter\", [\"sap/ui/thirdparty/jquery\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/ushell/Container\"],(jQuery,e,t,n)=>{\"use strict\";function r(r,i,s){let a;function o(t){const n=[{id:\"sap_horizon\",name:\"SAP Morning Horizon\"},{id:\"sap_horizon_dark\",name:\"SAP Evening Horizon\"},{id:\"sap_horizon_hcb\",name:\"SAP High Contrast Black (SAP Horizon)\"},{id:\"sap_horizon_hcw\",name:\"SAP High Contrast White (SAP Horizon)\"},{id:\"sap_fiori_3\",name:\"SAP Quartz Light\"},{id:\"sap_fiori_3_dark\",name:\"SAP Quartz Dark\"},{id:\"sap_fiori_3_hcb\",name:\"SAP Quartz High Contrast Black\"},{id:\"sap_fiori_3_hcw\",name:\"SAP Quartz High Contrast White\"},{id:\"theme1_id\",name:\"Custom Theme\"}];const r=e.get(\"config.themes\",t);return r===undefined?n:r}this.updateUserPreferences=function(e){const r=new jQuery.Deferred;function i(e){const n=`Failed to update user preferences: ${e&&e.message?e.message:e}`;t.error(n,e&&e.stack,\"com.sap.ushell.adapters.local.UserInfo\")}n.getServiceAsync(\"PersonalizationV2\").then(t=>{const n={keyCategory:t.KeyCategory.FIXED_KEY,writeFrequency:t.WriteFrequency.LOW,clientStorageAllowed:true};function s(e,t){const n=t.getChangedProperties()||[];n.forEach(t=>{e.setItemValue(t.propertyName,t.newValue)})}t.getContainer(\"sap.ushell.UserProfile\",n,undefined).then(t=>{s(t,e);t.save().then(()=>{r.resolve()}).catch(e=>{i(e);r.reject(e)})}).catch(e=>{i(e);r.reject(e)})});return r.promise()};this.getThemeList=function(){const e=new jQuery.Deferred;if(a===undefined){a=o(s)}if(a.length===0){e.reject(\"no themes were configured\")}else{e.resolve({options:a})}return e.promise()};this.getLanguageList=function(){const e=new jQuery.Deferred;e.resolve([{text:\"Browser Language\",key:\"default\"},{text:\"American English\",key:\"en-US\"},{text:\"British English\",key:\"en-GB\"},{text:\"English\",key:\"en\"},{text:\"German\",key:\"de\"},{text:\"Hebrew\",key:\"he\"},{text:\"Russian\",key:\"ru\"}]);return e.promise()}}return r},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/BootstrapObserver\", [\"sap/base/util/Deferred\"],e=>{\"use strict\";class r{static#e=new e;static resolveBootstrappedContainer(e){r.#e.resolve(e)}static async ready(){return r.#e.promise}static __reset(){r.#e=new e}}return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/Copilot\", [\"sap/ushell/api/common/ComponentInstantiation\"],n=>{\"use strict\";class e{async createComponentInstance(e){return n.createComponentInstance(e)}}return new e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/DWS\", [\"sap/ushell/appIntegration/ApplicationContainerCache\",\"sap/ushell/appIntegration/AppLifeCycle\"],(e,t)=>{\"use strict\";const r={};r.getCurrentApplicationIframe=function(){const e=t.getCurrentApplication()?.container;if(!e){return null}const r=e.getPostMessageTarget();if(!r){return null}return{iframe:r,origin:e.getPostMessageTargetOrigin()}};r.getAllApplicationIframes=function(){const t=e.getAll();return t.filter(e=>{if(!e){return false}if(!e.isA(\"sap.ushell.appIntegration.IframeApplicationContainer\")){return false}if(!e.getPostMessageTarget()){return false}return true}).map(e=>({iframe:e.getPostMessageTarget(),origin:e.getPostMessageTargetOrigin()}))};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/Inbox\", [\"sap/ushell/api/common/ComponentInstantiation\"],n=>{\"use strict\";class t{async createComponentInstance(t,e,a){return n.createComponentInstance(t,e,a)}async createComponentInstantiationData(t,e){return n.createComponentInstantiationData(t,e)}}return new t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/NewExperience\", [\"sap/ui/base/EventProvider\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/api/NewExperience/CustomOverflowListItem\",\"sap/ushell/Config\"],(e,t,i,l)=>{\"use strict\";const r={Header:\"Header\",Overflow:\"Overflow\"};class s{#e=new e;#t=null;#i=null;#l=null;#r=null;constructor(){this.#s();this.#i=this.#o()}reset(){this.#l.destroy();this.#e.destroy();this.#i.destroy();this.#e=new e;this.#t=null;this.#s();this.#i=this.#o()}#s(){this.#l=new t({active:false,isVisible:false,currentState:r.Header,shellHeaderControlId:null,showInShellHeader:false})}#o(){return new i({visible:{parts:[\"/isVisible\",\"/currentState\"],formatter:(e,t)=>e&&t===r.Overflow},contentId:\"{/shellHeaderControlId}\"}).addStyleClass(\"newExperienceSwitchListItem\").setModel(this.#l).data(\"help-id\",\"ushell-new-experience-switch\",true)}getModel(){return this.#l}getOverflowItemId(){return this.#i.getId()}isActive(){return this.#l.getProperty(\"/active\")}getShellHeaderControl(){return this.#t}getOverflowItemControl(){return this.#i}showInOverflow(){this.#l.setProperty(\"/currentState\",r.Overflow);this.#n()}showInShellHeader(){this.#l.setProperty(\"/currentState\",r.Header);this.#n()}attachActiveChanged(...e){this.#e.attachEvent(\"activeChanged\",...e)}detachActiveChanged(...e){this.#e.detachEvent(\"activeChanged\",...e)}#n(){const e=this.isActive();const t=this.#l.getProperty(\"/currentState\")===r.Header;if(e){this.#l.setProperty(\"/showInShellHeader\",t)}else{this.#l.setProperty(\"/showInShellHeader\",false)}}setSwitchControl(e){const t=this.isActive();if(e&&!e.hasStyleClass(\"sapUshellShellNewExperienceSwitch\")){e.addStyleClass(\"sapUshellShellNewExperienceSwitch\")}this.#t=e;this.#l.setProperty(\"/shellHeaderControlId\",e?.getId?.());this.#l.setProperty(\"/active\",!!e);this.#l.setProperty(\"/isVisible\",!!e);if(t!==this.isActive()){this.#e.fireEvent(\"activeChanged\",{active:this.isActive()})}if(l.last(\"/core/shellBar/enabled\")){if(e){if(!e.data(\"help-id\")){e.data(\"help-id\",\"ushell-new-experience-switch\",true)}const t=sap.ui.require(\"sap/ushell/Container\");t.getServiceAsync(\"FrameBoundExtension\").then(async t=>{this.#r=await t.createHeaderItem({id:e.getId()});this.#r.showForAllApps();this.#r.showOnHome()})}else{this.#r?.hideForAllApps();this.#r?.hideOnHome()}}this.#n()}setSwitchVisibility(e){this.#l.setProperty(\"/isVisible\",e)}}const o=new s;return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/NewExperience/CustomOverflowListItem\", [\"sap/m/CustomListItem\",\"sap/m/CustomListItemRenderer\",\"sap/ui/core/Element\"],(e,t,s)=>{\"use strict\";const n=e.extend(\"sap.ushell.api.NewExperience.CustomOverflowListItem\",{metadata:{library:\"sap.ushell\",properties:{contentId:{type:\"string\",group:\"Misc\",defaultValue:null}}},renderer:t});n.prototype.getContent=function(){const e=s.getElementById(this.getContentId());return[e]};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/RTA\", [\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/state/ShellModel\"],(e,t,n,o)=>{\"use strict\";const r={};r.getLogo=function(){return o.getModel().getProperty(\"/header/logo/src\")};r.getLogoDomRef=function(){const e=this.getLogo();const n=t.getRendererInternal();const o=n.getRootControl().getShellHeader()?.getDomRef();if(!o){return}const r=o.querySelectorAll(\"img\");const l=Array.from(r).find(t=>t.src.includes(e));return l};r.setShellHeaderVisibility=function(e){const n=t.getRendererInternal();n.setHeaderVisibility(e,false)};r.addTopHeaderPlaceHolder=function(){const e=t.getRendererInternal();e.addTopHeaderPlaceHolder()};r.removeTopHeaderPlaceHolder=function(){const e=t.getRendererInternal();e.removeTopHeaderPlaceHolder()};r.setNavigationBarEnabled=function(e){n.emit(\"enableMenuBarNavigation\",e)};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/S4MyHome\", [\"sap/ui/base/EventProvider\",\"sap/ui/core/EventBus\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Container\",\"sap/ushell/utils\",\"sap/ushell/resources\"],(e,t,i,s,a)=>{\"use strict\";const h=\"home\";const o=\"Shell-home\";const r=t.getInstance();class n{#e;#t=false;#i=new e;#s(){if(this.#t){return}this.#t=true;this.#e=s.getRendererInternal(\"fiori2\").getRouter();this.#e.attachRouteMatched(this.#a.bind(this));r.subscribe(\"sap.ushell\",\"navigated\",this.#h,this)}#a(e){const t=e.getParameter(\"name\")===h;this.#i.fireEvent(\"routeMatched\",{isMyHomeRoute:t})}#h(){const e=i.getHash();const t=e===o;const s=this.#e.match(e);if(!t&&!s){this.#i.fireEvent(\"routeMatched\",{isMyHomeRoute:false})}}attachRouteMatched(...e){this.#s();this.#i.attachEvent(\"routeMatched\",...e)}detachRouteMatched(...e){this.#s();this.#i.detachEvent(\"routeMatched\",...e)}formatDate(e){return a.formatDate(e)}reset(){r.unsubscribe(\"sap.ushell\",\"navigated\",this.#h,this);this.#i.destroy();this.#i=new e;this.#t=false;this.#e=null}}return new n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/SAPBusinessClient\", [\"sap/base/util/deepExtend\",\"sap/ushell/Container\",\"sap/ushell/services/NavTargetResolutionInternal\",\"sap/ushell/state/ShellModel\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\"],(e,t,s,a,r,l)=>{\"use strict\";class n{getTheme(){const e=t.getUser();return e.getTheme(e.constants.themeFormat.THEME_NAME_PLUS_URL)}async resolveNavigationTarget(s){const a=e({},s);const n=l.constructShellHash(a);const o=await t.getServiceAsync(\"NavTargetResolutionInternal\");const u=await r.promisify(o.resolveHashFragment(`#${n}`));return{url:u.url,text:u.text}}getLogo(){return a.getModel().getProperty(\"/header/logo/src\")}}return new n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/common/ComponentInstantiation\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/ushell/ApplicationType\",\"sap/ushell/Container\",\"sap/ushell/UI5ComponentType\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\"],(e,t,a,n,o,i,s)=>{\"use strict\";class r{async createComponentInstance(e,t,a){const i=await n.getServiceAsync(\"Ui5ComponentLoader\");let s=await this.createComponentInstantiationData(e,t);s=await i.modifyComponentProperties(s,o.Application);s.loadDefaultDependencies=false;if(a){return new Promise((e,t)=>{a.runAsOwner(()=>{this.#e(s,i).then(e).catch(t)})})}return this.#e(s,i)}async#e(t,a){try{const e=await a.instantiateComponent(t);return e.componentHandle.getInstance()}catch(t){e.error(`Cannot create UI5 component: ${t.toString()}`,t.stack,\"sap.ushell.api.common.ComponentInstantiation\");return Promise.reject(t)}}async createComponentInstantiationData(e,t){const o={componentData:t};if(o.componentData){delete o.componentData.startupParameters;delete o.componentData.config;delete o.componentData[\"sap-xapp-state\"]}const r=s.constructShellHash(s.parseShellHash(e));if(!r){return Promise.reject(\"Navigation intent invalid!\")}const p=await n.getServiceAsync(\"NavTargetResolutionInternal\");const c=await p.resolveHashFragment(`#${r}`);if(c.applicationType===a.URL.type&&c.appCapabilities&&c.appCapabilities.appFrameworkId===\"UI5\"&&n.inAppRuntime()){const[t]=await i.requireAsync([\"sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent\"]);let a;try{const e=new URL(c.url);const t=new URLSearchParams(e.search);a=t.get(\"sap-ui-app-id\")}catch(e){a=c.url.match(/[?&]sap-ui-app-id=([^&]+)/)[1]}let n=await t.getAppInfo(a);if(n.hasOwnProperty(\"oResolvedHashFragment\")){n=n.oResolvedHashFragment}n=this.#t(n,o);if(n.url&&e.indexOf(\"?\")>0){n.url+=`?${e.split(\"?\")[1]}`}return this.#a({ui5ComponentName:a,applicationDependencies:n,url:n.url},o)}else if(c.applicationType!==a.URL.type&&!/^SAPUI5\\.Component=/.test(c.additionalInformation)){return Promise.reject(\"The resolved target mapping is not of type UI5 component.\")}return this.#a(c,o)}async#a(t,a){try{t=this.#t(t,a);t.loadDefaultDependencies=false;const e=await n.getServiceAsync(\"Ui5ComponentLoader\");return e.createComponentData(t)}catch(t){e.error(`Cannot get UI5 component data: ${t}`,t.stack,\"sap.ushell.api.common.ComponentInstantiation\");return Promise.reject(t)}}#t(e,a){e=t({},e,a);if(!e.ui5ComponentName){if(e.additionalInformation){e.ui5ComponentName=e.additionalInformation.replace(/^SAPUI5\\.Component=/,\"\")}else if(e.name){e.ui5ComponentName=e.name}}return e}}return new r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/workpage/Designtime\", [\"sap/ushell/utils/workpage/WorkPageVizInstantiation\",\"sap/base/util/extend\"],(t,e)=>{\"use strict\";class i{static#t;_oWorkPageVizInstantiation;_bPreviewMode;static async getInstance(){if(!i.#t){const e=await t.getInstance();i.#t=new i(e)}return i.#t}constructor(t){this._oWorkPageVizInstantiation=t;this._bPreviewMode=true}createVizInstance(t){const i=e({},t,{preview:this._bPreviewMode});return this._oWorkPageVizInstantiation.createVizInstance(i)}createTileCardConfiguration(t){const i=e({},t,{preview:this._bPreviewMode});return this._oWorkPageVizInstantiation.createTileCardConfiguration(i)}}return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/api/workpage/Runtime\", [\"./Designtime\",\"sap/ushell/utils/workpage/WorkPageVizInstantiation\",\"sap/ushell/utils/workpage/WorkPageService\",\"sap/ushell/utils/workpage/WorkPageHost\",\"sap/ushell/EventHub\"],(e,t,s,n,a)=>{\"use strict\";class i extends e{static#e;_oWorkPageService;static async getInstance(){if(!i.#e){const e=await t.getInstance();i.#e=new i(e,new s)}return i.#e}constructor(e,t){super(e);this._oWorkPageService=t;this._bPreviewMode=false}fetchPageData(e){return this._oWorkPageService.loadWorkPageAndVisualizations(e,true)}fireAfterContentAdded(){a.emit(\"CenterViewPointContentRendered\")}createHost(e,t){return new n(e,t)}}return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/AppLifeCycle\", [\"sap/base/util/deepEqual\",\"sap/base/util/Deferred\",\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ushell/appIntegration/KeepAliveApps\",\"sap/ushell/state/modules/BackNavigation\",\"sap/ushell/state/modules/ContentDensity\",\"sap/ushell/state/modules/Favicon\",\"sap/ushell/state/modules/HeaderLogo\",\"sap/ushell/appIntegration/contracts/EmbeddedUI5Handler\",\"sap/ushell/appIntegration/contracts/StatefulContainerV1Handler\",\"sap/ushell/appIntegration/contracts/StatefulContainerV2Handler\",\"sap/ushell/appIntegration/ApplicationContainerCache\",\"sap/ushell/appIntegration/ApplicationHandle\",\"sap/ushell/appIntegration/AppLifeCycle/KeepAliveMode\",\"sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler\",\"sap/ushell/appIntegration/PostMessageManager/NWBCHandler\",\"sap/ushell/appIntegration/PostMessageManager/LifecycleHandler\",\"sap/ushell/appIntegration/PostMessageManager/ServiceHandler\",\"sap/ushell/appIntegration/PostMessageManager/MessageBrokerHandler\",\"sap/ushell/appIntegration/PostMessageManager\",\"sap/ushell/appIntegration/PostMessagePluginInterface\",\"sap/ushell/appIntegration/IframeApplicationContainer\",\"sap/ushell/appIntegration/UI5ApplicationContainer\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/utils\",\"sap/ushell/Config\",\"sap/ushell/ApplicationType\",\"sap/ushell/utils/UriParameters\",\"sap/base/Log\",\"sap/ushell/EventHub\",\"sap/ushell/utils/UrlParsing\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/services/MessageBroker/MessageBrokerEngine\",\"sap/ushell/renderer/utils\",\"sap/m/library\",\"sap/ushell/AppInfoParameters\",\"sap/ushell/Container\",\"sap/ushell/resources\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\",\"sap/ushell/state/KeepAlive\",\"sap/ushell/ui5service/ShellUIServiceFactory\",\"sap/ui/core/service/ServiceFactoryRegistry\",\"sap/ushell/library\"],(e,t,i,n,a,o,s,p,r,l,c,u,h,d,f,g,A,y,C,m,I,v,_,S,w,b,F,R,N,M,P,T,H,L,U,E,x,D,k,B,W,$,K,O,V,q)=>{\"use strict\";const G=q.appIntegration.contracts.StatefulType;const j=$.ShellMode;const z=$.LaunchpadState;const J=$.Operation;const Q=x.URLHelper;const X=3500;function Y(){this._bDisableHomeAppCache=false;this._bUseLegacyRestoreFlowForNextApp=false;this._oCurrentApplication={};this._oGlobalShellUIService=null;this._oNavContainer=null;this._oInitDeferred=new t;this._pLastApplicationStart=this._oInitDeferred.promise;this._oStorageAppIdMap={};this._oStorageAppIdNextIndex={};this._aDoables=[];if(window.QUnit===undefined){U.connect(\"FLP\")}}Y.prototype.KeepAliveMode=g;Y.prototype.init=function(e,t){const i=[];if(R.last(\"/core/shell/enablePersistantAppstateWhenSharing\")){k.getServiceAsync(\"AppState\").then(e=>{const t=Q.triggerEmail.bind(Q);Q.triggerEmail=function(i,n,a,o,s){const p=document.URL;e.setAppStateToPublic(p).done((e,p,r,l,c)=>{n=n&&p&&l&&n.includes(p)?n.replace(p,l):n;n=n&&r&&c&&n.includes(r)?n.replace(r,c):n;a=a&&p&&l&&a.includes(p)?a.replace(p,l):a;a=a&&r&&c&&a.includes(r)?a.replace(r,c):a;t(i,n,a,o,s)}).fail(t)}})}this._startPostMessageHandling();i.push(O.init().then(()=>{V.register(\"sap.ushell.ui5service.ShellUIService\",O)}));i.push(this._createGlobalShellUIService());this._oNavContainer=e;this._bDisableHomeAppCache=t;a.getInstance().subscribe(\"sap.ushell\",\"getAppLifeCycle\",this._onGetAppLifeCycle,this);this._addEvents();i.push(p.init());r.init();l.init();f.init(this,this._oNavContainer);this._oNavContainer.attachAfterNavigate(this.onAfterNavigate.bind(this));this._oNavContainer.attachBeforeNavigate(this.onBeforeNavigate.bind(this));return Promise.allSettled(i).then(()=>{this._oInitDeferred.resolve()})};Y.prototype._onGetAppLifeCycle=function(e,t,i){P.error(\"the EventBus channel 'sap.ushell.getAppLifeCycle' is private and was discontinued.\")};Y.prototype._addEvents=function(){this._aDoables.push(T.on(\"disableKeepAliveRestoreRouterRetrigger\").do(this._useLegacyRestoreFlowForCurrentApplication.bind(this)));this._aDoables.push(T.on(\"setApplicationFullWidth\").do(e=>{this._setApplicationFullWidth(e.bValue)}));this._aDoables.push(T.on(\"reloadCurrentApp\").do(e=>{this._reloadCurrentApp(e)}))};Y.prototype._startPostMessageHandling=function(){v.init({getCurrentApplication:()=>this.getCurrentApplication()?.container,getAllApplications:()=>d.getAll()});A.register();y.register();C.register();m.register();I.register();this._waitForPluginsAndReplayPostMessages();_.init(true,t=>{Object.keys(t).forEach(i=>{const n=t[i];if(n.oServiceCalls){Object.keys(n.oServiceCalls).forEach(e=>{const t=n.oServiceCalls[e];const a=`${i}.${e}`;if(t.executeServiceCallFn){v.setRequestHandler(a,async(e,i)=>{const n={oMessageData:JSON.parse(i.data),oMessage:i};return F.promisify(t.executeServiceCallFn(n))})}})}if(n.oRequestCalls){Object.keys(n.oRequestCalls).forEach(t=>{const a=n.oRequestCalls[t];const o=`${i}.${t}`;const s={};if(e(a.distributionType,[\"all\"])){s.ignoreCapabilities=true}else if(a.distributionType){P.error(\"Unsupported distribution type\",a.distributionType,\"sap.ushell.appIntegration.AppLifeCycle\")}if(a.isActiveOnly){s.onlyCurrentApplication=true}v.setDistributionPolicy(o,s)})}})})};Y.prototype._waitForPluginsAndReplayPostMessages=async function(){const e=await k.getServiceAsync(\"PluginManager\");const t=e.getPluginLoadingPromise(\"RendererExtensions\");await F.promisify(t);v.replayStoredMessages()};Y.prototype.registerHandleHashChange=function(e){e.hashChanger.attachEvent(\"hashChanged\",t=>{if(L.disableBlueBoxHashChangeTrigger){return}const i=t.getParameters();if(i&&e.hashChanger.isInnerAppNavigation(i.newHash,i.oldHash)){v.sendRequestToAllApplications(\"sap.ushell.appRuntime.innerAppRouteChange\",{oHash:i},false)}v.sendRequestToAllApplications(\"sap.ushell.appRuntime.hashChange\",{sHash:i.fullHash},false)})};Y.prototype.getCurrentApplication=function(){return this._oCurrentApplication};Y.prototype._useLegacyRestoreFlowForCurrentApplication=function(){if(!this.getCurrentApplication()?.appId){this._bUseLegacyRestoreFlowForNextApp=true;return}const e=this.getCurrentApplication().appId;const t=o.get(e);if(t){t.useLegacyRestoreFlow=true}};Y.prototype._setApplicationFullWidth=function(e){const t=this.getCurrentApplication();if(t.container){t.container.toggleStyleClass(\"sapUShellApplicationContainerLimitedWidth\",!e)}};Y.prototype.getShellUIService=function(){return this._oGlobalShellUIService};Y.prototype.resetGlobalShellUIService=function(){if(this._oGlobalShellUIService){this._oGlobalShellUIService.resetService()}};Y.prototype._createGlobalShellUIService=async function(){this._oGlobalShellUIService=await O.createInstanceInternal()};Y.prototype.onBeforeNavigate=function(e){const t=e.getParameter(\"fromId\")||\"\";const i=e.getParameter(\"from\");const n=e.getParameter(\"toId\")||\"\";if(n===t){return}if(t&&i&&i.isA(\"sap.ushell.appIntegration.ApplicationContainer\")){const e=i;const t=e.getCurrentAppId();const n=!!e.isA(\"sap.ushell.appIntegration.IframeApplicationContainer\");const a=e.getStatefulType()>G.NotSupported;const s=!!o.get(t);const p=n&&a;if(n&&(s||p)){e.sendRequest(\"sap.ushell.sessionHandler.beforeApplicationHide\",{},false)}}};Y.prototype.onAfterNavigate=async function(e){const t=e.getParameter(\"fromId\")||\"\";const i=e.getParameter(\"from\");const n=e.getParameter(\"toId\")||\"\";const s=e.getParameter(\"to\");const p=[\"Shell-appfinder-component\",\"Shell-home-component\",\"pages-component-container\",\"homeApp-component-wrapper-container\",\"homeApp-component-container\",\"workPageRuntime-component-container\",\"runtimeSwitcher-component-container\"];const r=t===n;const l=p.some(e=>n.includes(e));if(t&&i){if(i.isA(\"sap.ushell.appIntegration.ApplicationContainer\")){const e=i;if(!r){await this._handleExitApplication(e,l)}}else{const e=t;const o=i;if(r){return}if(n.indexOf(\"Shell-appfinder-component\")>0){a.getInstance().publish(\"sap.ushell\",\"appFinderAfterNavigate\")}if(this._bDisableHomeAppCache){try{this._removeApplicationContainerFromNavContainer(o);o.destroy()}catch(t){P.error(`Error when trying to destroy the home component: '${e}'`,t)}}}}if(n&&s){if(s.isA(\"sap.ushell.appIntegration.ApplicationContainer\")){const e=s;const t=e.getCurrentAppId();if(e.getIframeReusedForApp()){e.setIframeReusedForApp(false);if(e.isA(\"sap.ushell.appIntegration.IframeApplicationContainer\")){e.sendRequest(\"sap.ushell.sessionHandler.afterApplicationShow\",{},false)}}if(o.get(t)){await this._restoreApplication(t)}}else{if(l){await this._destroyKeepAliveApps(e=>e.keepAliveMode===g.Restricted)}D.flush()}}};Y.prototype._storeApplication=async function(e){const t=o.get(e);if(t){const e=t.container;const i=e.getIsKeepAlive();if(!i){P.error(\"Application should be kept alive but the flag is not set\",null,\"sap.ushell.appIntegration.AppLifeCycle\");return}if(e.isA(\"sap.ushell.appIntegration.IframeApplicationContainer\")){e.setDataHelpId(\"\");if(e.getStatefulType()===G.ContractV2){const t=h.isStatefulContainerSupportingKeepAlive(e);if(t){const t=e.getCurrentAppId();if(!t){return}this._setContainerReadyForReuse(e);await h.storeAppWithinSameFrame(e,t)}}await e.sendRequest(\"sap.ushell.appRuntime.keepAliveAppHide\",{},false)}else if(e.isA(\"sap.ushell.appIntegration.UI5ApplicationContainer\")){await c.storeApp(e,t)}t.stateStored=true;const n=e.getCurrentAppTargetResolution();this._publishAppClosedEvent(n)}};Y.prototype._destroyApplication=async function(e,t,i){if(typeof e!==\"string\"||!t){return}const n=o.get(e);const a=!!n;if(!t.getCurrentAppId()&&!i&&!a){return}const s=t.getCurrentAppTargetResolution();o.removeById(e);K.destroy(n);const p=t.getStatefulType()!==G.NotSupported;if(!i&&p){t.setDataHelpId(\"\");this._setContainerReadyForReuse(t);if(t.getStatefulType()===G.ContractV2){await h.destroyApp(t,e)}else if(t.getStatefulType()===G.ContractV1){await u.destroyApp(t,e)}this._publishAppClosedEvent(s);return}if(t.getStatefulType()===G.ContractV2){await h.destroyApp(t,e)}else if(t.getStatefulType()===G.ContractV1){await u.destroyApp(t,e)}o.removeByContainer(t,e=>{K.destroy(e)});try{const e=t.sendBeforeAppCloseEvent();await F.promisify(e)}catch(e){P.error(\"FLP got a failed response from the iframe for the 'sap.ushell.services.CrossApplicationNavigation.beforeAppCloseEvent' message sent\",e,\"sap.ushell.appIntegration.AppLifeCycle.js\")}d.removeByContainer(t);this._removeApplicationContainerFromNavContainer(t);try{t.destroy()}catch(e){P.error(`Exception when trying to close application with id '${t.getId()}'. This error must be fixed in order for FLP to operate properly.`,e,\"sap.ushell.appIntegration.AppLifeCycle\")}this._publishAppClosedEvent(s)};Y.prototype._restoreApplication=async function(e){const t=o.get(e);if(t?.stateStored){s.restore(t.service);O.restore(t);const e=t.container;if(e.isA(\"sap.ushell.appIntegration.IframeApplicationContainer\")){await e.sendRequest(\"sap.ushell.appRuntime.keepAliveAppShow\",{},false)}else if(e.isA(\"sap.ushell.appIntegration.UI5ApplicationContainer\")){await c.restoreAppAfterNavigate(e,t)}}};Y.prototype._handleExitApplication=async function(e,t){if(!e){return}const i=e.getCurrentAppId();if(!i){return}const n=s.isBackNavigation()&&!t;if(n){await this._destroyApplication(i,e)}else{if(e.getIsKeepAlive()){return this._storeApplication(i)}return this._destroyApplication(i,e)}};Y.prototype._destroyKeepAliveApps=async function(e,t){try{const i=[];o.forEach(t=>{if(e(t)){i.push(t)}});const n=i.map(e=>this._destroyApplication(e.appId,e.container,t));await Promise.allSettled(n)}catch(e){P.error(\"_destroyKeepAliveApps call failed\",e)}};Y.prototype._addStorageEntry=function(e,t,i,n,a){const s=o.get(e);if(s){return s}const p={service:{},shellHash:`#${H.constructShellHash(n)}`,appId:e,stt:\"loading\",currentState:null,controlManager:null,container:t,meta:undefined,app:undefined,keepAliveMode:a,appTarget:i,ui5ComponentName:i.ui5ComponentName,useLegacyRestoreFlow:this._bUseLegacyRestoreFlowForNextApp??false,stateStored:false};o.set(e,p);return p};Y.prototype.storeAppExtensions=async function(){const e=this.getCurrentApplication();if(!e){return}const t=e.appId;const i=o.get(t);if(!i){return}s.store(i.service);K.store(i);D.store(i)};Y.prototype._calculateKeepAliveMode=function(e,t,i){const n=Object.values(g);if(e.startsWith(\"application-Shell-startIntent\")||e.startsWith(\"application-Shell-startGUI\")||e.startsWith(\"application-Shell-startWDA\")){return g.False}let a=new URLSearchParams(window.location.search).get(\"sap-keep-alive\");if(n.includes(a)){return a}a=i.params?.[\"sap-keep-alive\"];if(n.includes(a)){return a}if(t.url){a=M.fromURL(t.url).get(\"sap-keep-alive\");if(n.includes(a)){return a}}const o=H.constructShellHash(i);if(o&&F.isRootIntent(o)){return g.True}return g.False};Y.prototype._calculateAppType=function(e){if(e.applicationType===\"URL\"&&e.additionalInformation?.startsWith?.(\"SAPUI5.Component=\")){return\"SAPUI5\"}return e.applicationType};Y.prototype._reloadCurrentApp=async function(e){const t=d.getById(e.sAppContainerId);if(t){await this._destroyApplication(t.getCurrentAppId(),t)}const i=await k.getServiceAsync(\"ShellNavigationInternal\");try{i.hashChanger.treatHashChanged(e.sCurrentHash)}catch(e){P.error(\"Error when trying to re-load the current displayed application\",e,\"sap.ushell.services.AppLifeCycle\")}};Y.prototype._createOrReuseApplicationContainer=function(e,t,i,n){let a;const s=o.get(e);if(s&&s.container){a=s.container}if(!a){const e=d.findFreeContainerByUrl(i.url);const t=e?.getStatefulType()!==G.NotSupported;if(t){a=e}}if(!a){i.shellUIService=this._oGlobalShellUIService.getInterface();const n=i?.ui5ComponentName;const o=!!n;const s={dataHelpId:t,initialAppId:e,currentAppId:e,currentAppUrl:i.url,shellUIService:i.shellUIService,currentAppTargetResolution:i,applicationType:i.applicationType,openWithPostByAppParam:i.openWithPostByAppParam,reservedParameters:i.reservedParameters,systemAlias:i.systemAlias,targetNavigationMode:i.targetNavigationMode,url:i.url,frameworkId:i.appCapabilities?.appFrameworkId};if(o){a=new w({...s,ui5ComponentName:i.ui5ComponentName})}else{a=new S({...s})}this._oNavContainer.addPage(a)}else{a.setIsFetchedFromCache(true);a.setDataHelpId(t)}d.setContainerActive(a);a.setIsKeepAlive(n);return a};Y.prototype._removeApplicationContainerFromNavContainer=function(e){this._oNavContainer.removePage(e.getId(),true)};Y.prototype._setApplicationContainerActive=function(e){d.forEach(t=>{if(t&&t!==e){try{P.info(`Deactivating container ${t.getId()}`);t.setActive(false)}catch(e){}}});if(e){P.info(`Activating container \"${e.getId()}\"`);e.setActive(true)}};Y.prototype._openApp=async function(e,t,i,n,a){const s=t.getIsFetchedFromCache();if(a&&s&&h.isStatefulContainerSupportingKeepAlive(t)){return h.restoreAppWithinSameFrame(t,e,i)}if(t.getStatefulType()===G.ContractV2){if(s&&t.getCurrentAppId()===e){return}const n=await h.createApp(t,e,i);if(n?.deletedKeepAliveId){const e=o.get(n.deletedKeepAliveId);if(e){o.removeById(n.deletedKeepAliveId);K.destroy(e)}}return}if(t.getStatefulType()===G.ContractV1){if(s&&t.getCurrentAppId()===e){return}await u.createApp(t,e,i);return}const p=i?.ui5ComponentName;const r=!!p;if(r&&!a){const a=!!i?.componentHandle;if(!a){b.setApplicationInInitMode();await c.createApp(t,i,n);const e=R.last(\"/core/extension/SupportTicket\");if(e){F.awaitTimeout(0).then(()=>F.requireAsync([\"sap/ushell/UserActivityLog\"])).then(([e])=>{e.activate()})}}const o=i.componentHandle;const s=o.getInstance();t.setUi5ComponentId(i.ui5ComponentId);t.setComponentHandle(o);this._oCurrentApplication.app=s;const p=await c.getNavigationRedirectHash(t);if(typeof p===\"string\"){await this._destroyApplication(e,t);return p}if(typeof s.active===\"function\"){s.active()}}};Y.prototype._announceAppOpening=function(e){window.setTimeout(()=>{const e=document.getElementById(\"sapUshellLoadingAccessibilityHelper-loadingComplete\");if(e){e.setAttribute(\"aria-live\",\"polite\");e.innerHTML=B.i18n.getText(\"loadingComplete\");window.setTimeout(()=>{e.setAttribute(\"aria-live\",\"off\");e.innerHTML=\"\"},0)}},600)};Y.prototype.publishAppOpeningEvent=function(e){window.setTimeout(()=>{a.getInstance().publish(\"launchpad\",\"appOpening\",e)},0)};Y.prototype.publishAppOpenedEvent=function(e){F.setPerformanceMark(\"FLP.appOpened\");window.setTimeout(()=>{a.getInstance().publish(\"sap.ushell\",\"appOpened\",e)},0);const t=this._publicEventDataFromResolutionResult(e);T.emit(\"AppRendered\",t,true);E.publishExternalEvent(\"appOpened\",t)};Y.prototype._publishAppClosedEvent=function(e){window.setTimeout(()=>{a.getInstance().publish(\"sap.ushell\",\"appClosed\",e)},0);const t=this._publicEventDataFromResolutionResult(e);E.publishExternalEvent(\"appClosed\",t)};Y.prototype._publicEventDataFromResolutionResult=function(e){const t={};if(!e){return e}[\"applicationType\",\"ui5ComponentName\",\"url\",\"additionalInformation\",\"text\"].forEach(i=>{t[i]=e[i]});Object.freeze(t);return t};Y.prototype._isFullWidth=function(e,t){let i;const n=this._calculateAppType(e);const a=N.getDefaultFullWidthSetting(n);const o=e.appCapabilities?.fullWidth;if(a){if(e.fullWidth===false||e.fullWidth===\"false\"||t.fullWidth===false||t.fullWidth===\"false\"||o===false){i=false}}else if(e.fullWidth||e.fullWidth===\"true\"||t.fullWidth||t.fullWidth===\"true\"){i=true}if(i===undefined){i=a}return i};Y.prototype._getBaseAppId=function(e){const t=H.getStableIntent(e);const i=H.getBasicHash(t);const n=`application-${i}`;return n};Y.prototype._getStorageAppId=function(e,t){const i=H.getStableIntent(e);if(this._oStorageAppIdMap[i]){return this._oStorageAppIdMap[i]}let n;if(!this._oStorageAppIdNextIndex[t]){this._oStorageAppIdNextIndex[t]=0;n=t}if(!n){n=`${t}-${this._oStorageAppIdNextIndex[t]}`}this._oStorageAppIdMap[i]=n;this._oStorageAppIdNextIndex[t]++;return n};Y.prototype._awaitLastApplicationStart=async function(){const e=new t;const i=this._pLastApplicationStart;this._pLastApplicationStart=this._pLastApplicationStart.then(()=>e.promise);await i;return e};Y.prototype._startApplication=async function(e,t,i,n){const a=this._getBaseAppId(t.sFixedShellHash);const s=this._getStorageAppId(t.sFixedShellHash,a);await this._cleanupBeforeNewApp(s,e,t,i,n);this._sendFocusBackToShell();this.publishAppOpeningEvent(t);this._announceAppOpening(t);const p=this._calculateKeepAliveMode(s,t,e);const r=p!==g.False;const l=this._createOrReuseApplicationContainer(s,a,t,r);const c=!!o.get(s);if(r){this._oCurrentApplication=this._addStorageEntry(s,l,t,e,p)}else{this._oCurrentApplication={appId:s,stt:\"loading\",container:l,meta:undefined,app:undefined}}this._bUseLegacyRestoreFlowForNextApp=false;F.setPerformanceMark(\"FLP - addAppContainer\");const u=o.get(s);if(u){D.restore(u)}else{D.flush()}this._setApplicationContainerActive(l);const h=await this._openApp(s,l,t,e,c);const d=new f(s,t,l,h);if(typeof h===\"string\"){return d}this._initializeAppWithMetadata(l,t);l.setReadyForRendering(true);F.setPerformanceMark(\"FLP -- centerViewPort\");this.publishAppOpenedEvent(t);return d};Y.prototype.startApplication=async function(e,t,i,n){const a=await this._awaitLastApplicationStart();const o=this._oCurrentApplication;try{const o=await this._startApplication(e,t,i,n);a.resolve();return o}catch(e){const t=!!this._oCurrentApplication?.appId;const i=t&&this._oCurrentApplication.appId!==o?.appId;if(i){const e=this._oCurrentApplication.container;if(e){await this._destroyApplication(e.getCurrentAppId(),e,true)}const t=o?.container?.isDestroyed()??true;if(t){this._oCurrentApplication={}}else{this._oCurrentApplication=o}}a.resolve();throw e}};Y.prototype.switchViewState=function(e,t,i,n){const a=o.get(this._oCurrentApplication.appId);if(!a){$.destroyManagedControls()}const s=$.getShellMode();const p={TR:{headerless:j.Minimal}};let r;if(!n){r=p[i]?.[s]}$.switchState(e,r);const l=o.get(t);if(l){K.restore(l)}else{K.flush()}$.applyStalledChanges()};Y.prototype._isFloatingContainerDocked=function(){const e=W.getModel().getProperty(\"/floatingContainer/state\").includes(\"docked\");const t=W.getModel().getProperty(\"/floatingContainer/visible\");return e&&t};Y.prototype._sendFocusBackToShell=function(){if(!i.system.desktop){return}sap.ui.require([\"sap/ushell/renderer/AccessKeysHandler\"],e=>{const t=$.getLaunchpadState();const i=$.getShellMode()===j.Default;const a=n.getElementById(\"shellAppTitle\");if(a&&t===z.App&&i){const t=a.getFocusDomRef();if(t){e.sendFocusBackToShell(t.getAttribute(\"id\"))}}})};Y.prototype._initializeAppWithMetadata=function(e,t){const i=b.getMetadata(t,t?.sFixedShellHash);this._oCurrentApplication.meta=i;if(!e.getIsFetchedFromCache()){e.toggleStyleClass(\"sapUshellDefaultBackground\",!i.hideLightBackground);const n=this._isFullWidth(t,i);if(!n){e.addStyleClass(\"sapUShellApplicationContainerLimitedWidth\") Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/search/searchComponent/controller/CEPSearchApp.controller\", [\"sap/ui/core/Element\",\"sap/ui/core/mvc/Controller\",\"sap/esh/search/ui/SearchModel\",\"sap/ushell/Container\",\"../../util\"],(e,t,o,a,n)=>{\"use strict\";return t.extend(\"sap/ushell/renderer/search/searchComponent/SearchApp\",{onInit:async function(){o.getModelSingleton({},\"flp\");const e=this.getOwnerComponent().getRouter();e.getHashChanger().attachEvent(\"hashChanged\",this.hashChanged)},hashChanged:function(){const e=o.getModelSingleton({},\"flp\");e.parseURL()},onExit:function(){const t=this.getOwnerComponent().getRouter();t.getHashChanger().detachEvent(\"hashChanged\",this.hashChanged);this.oSF=e.getElementById(\"CEPSearchField\");this.oPlaceHolderSF=e.getElementById(\"PlaceHolderSearchField\");if(this.oSF&&this.oSF.getValue()!==\"\"){this.oSF.setValue(\"\")}if(this.oPlaceHolderSF&&this.oPlaceHolderSF.getValue()!==\"\"){this.oPlaceHolderSF.setValue(\"\")}const o=this.oView.getContent()[0].oTablePersoController;if(o&&o.getTablePersoDialog&&o.getTablePersoDialog()){o.getTablePersoDialog().destroy()}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/search/searchComponent/controller/SearchApp.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/esh/search/ui/SearchShellHelper\",\"sap/esh/search/ui/SearchModel\",\"sap/ushell/renderer/search/util\"],(e,t,a,s)=>{\"use strict\";const n=!t.collapseSearch;return e.extend(\"sap/ushell/renderer/search/searchComponent/SearchApp\",{onInit:function(){const e=this.getOwnerComponent().getRouter();e.getHashChanger().attachEvent(\"hashChanged\",this.hashChanged);if(t.oSearchFieldGroup===undefined){t.init()}if(n){t.setSearchState(\"EXP_S\")}else{t.expandSearch()}},hashChanged:function(){const e=a.getModelSingleton({},\"flp\");e.parseURL()},onExit:function(){const e=this.getOwnerComponent().getRouter();e.getHashChanger().detachEvent(\"hashChanged\",this.hashChanged);const a=this.oView.getContent()[0].oTablePersoController;if(a&&a.getTablePersoDialog&&a.getTablePersoDialog()){a.getTablePersoDialog().destroy()}if(t.resetModel){t.resetModel()}if(n){if(t.getDefaultOpen()!==true){if(t.setSearchStateSync){t.setSearchStateSync(\"COL\")}else{t.setSearchState(\"COL\")}}else{t.setSearchState(\"EXP\")}}else{if(!s.isSearchFieldExpandedByDefault()){t.collapseSearch()}else{t.expandSearch()}}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/search/searchComponent/view/CEPSearchApp.view\", [\"sap/ui/core/mvc/View\",\"sap/m/Label\",\"sap/esh/search/ui/SearchCompositeControl\",\"sap/esh/search/ui/SearchModel\"],(e,r,n,o)=>{\"use strict\";return e.extend(\"sap.ushell.renderer.search.searchComponent.view.CEPSearchApp\",{getControllerName:function(){return\"sap.ushell.renderer.search.searchComponent.controller.CEPSearchApp\"},createContent:function(){const e=o.getModelSingleton({},\"flp\");return new n({model:e,applicationComponent:\"HAN-AS-INA-UI\"})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/search/searchComponent/view/SearchApp.view\", [\"sap/ui/core/mvc/View\",\"sap/m/Label\",\"sap/esh/search/ui/SearchCompositeControl\",\"sap/esh/search/ui/SearchModel\"],(e,r,n,o)=>{\"use strict\";return e.extend(\"sap.ushell.renderer.search.searchComponent.view.SearchApp\",{getControllerName:function(){return\"sap.ushell.renderer.search.searchComponent.controller.SearchApp\"},createContent:function(){const e=o.getModelSingleton({},\"flp\");return new n({model:e,applicationComponent:\"HAN-AS-INA-UI\"})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/search/util\", [\"sap/ui/core/Element\",\"sap/ushell/Container\"],(e,t)=>{\"use strict\";return{isSearchFieldExpandedByDefault:function(){const n=e.getElementById(\"shell-header\")||{isExtraLargeState:function(){return false}};const a=t.getRendererInternal(\"fiori2\").getShellController();const r=a.getView();const i=(r.getViewData()?r.getViewData().config:{})||{};return i.openSearchAsDefault||n.isExtraLargeState()}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/shellHeader/ShellHeader.controller\", [\"sap/m/library\",\"sap/ui/core/Element\",\"sap/ui/core/mvc/Controller\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/api/NewExperience\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/library\",\"sap/ushell/ui/shell/OverflowListItem\",\"sap/ushell/Container\",\"sap/ushell/state/modules/BackNavigation\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\"],(e,t,n,a,s,i,o,r,l,d,h,m,f,u,c)=>{\"use strict\";const p=e.ListType;const E=d.FloatingNumberType;const g=c.LaunchpadState;const I=c.Operation;const v=\"endItemsOverflowBtn\";return n.extend(\"sap.ushell.renderer.shellHeader.ShellHeader\",{onInit:function(){this.aDoables=[];this.aDoables.push(l.on(\"navigateBack\").do(this.pressNavBackButton.bind(this)));this.aDoables.push(l.on(\"showEndItemOverflow\").do(this.pressEndItemsOverflow.bind(this)));this.aDoables.push(l.on(\"navigateFromShellApplicationNavigationMenu\").do(this.navigateFromShellApplicationNavigationMenu.bind(this)));this.aDoables.push(l.on(\"setHeaderCentralAreaElement\").do(this._handleSetHeaderCentralAreaElement.bind(this)));this.aDoables.push(r.on(\"/core/shellHeader/homeUri\").do(this._updateHomeUri.bind(this)));this._updateHomeUri(r.last(\"/core/shellHeader/homeUri\"));this.aDoables.push(l.on(\"updateHeaderOverflowState\").do(this._handleHeadEndItemsOverflow.bind(this)));a.media.attachHandler(this._handleHeadEndItemsOverflow,this,a.media.RANGESETS.SAP_STANDARD);this.oHeadEndBinding=u.getModel().bindList(\"/header/headEndItems\");this.oHeadEndBinding.attachChange(this._handleHeadEndItemsOverflow,this);o.attachActiveChanged(this._handleHeadEndItemsOverflow,this)},_handleSetHeaderCentralAreaElement:function(e){const{id:t,currentState:n,states:a}=e;if(n){c.updateCurrentState(\"header.centralAreaElement\",I.Set,t)}else if(Array.isArray(a)){c.updateBaseStates(a,\"header.centralAreaElement\",I.Set,t)}else{c.updateAllBaseStates(\"header.centralAreaElement\",I.Set,t)}},_addHeadEndItem:function(e,t,n){this._updateHeadEndItems(e,I.Add,t,n)},_removeHeadEndItem:function(e,t,n){this._updateHeadEndItems(e,I.Remove,t,n)},_updateHeadEndItems:function(e,t,n,a){if(n){c.updateCurrentState(\"header.headEndItems\",t,e)}else if(Array.isArray(a)&&a.length>0){c.updateBaseStates(a,\"header.headEndItems\",t,e)}else{c.updateAllBaseStates(\"header.headEndItems\",t,e)}},_handleHeadEndItemsOverflow:function(){const e=u.getModel().getProperty(\"/header/headEndItems\");const n=e.indexOf(v)>-1;const s=a.media.getCurrentRange(a.media.RANGESETS.SAP_STANDARD).name;if(s===\"Phone\"&&(o.isActive()||!n&&e.length>2)){this._addHeadEndItem(v,false,[g.Home,g.App]);this._moveNewExperienceToOverflow()}else if(s!==\"Phone\"&&n){const e=t.getElementById(\"headEndItemsOverflow\");if(e){if(o.isActive()){const e=o.getOverflowItemControl();e.getParent()?.removeItem?.(e)}e.destroy()}this._removeHeadEndItem(v,false,[g.Home,g.App]);this._moveNewExperienceToShellHeader()}},_moveNewExperienceToOverflow:function(){if(o.isActive()){this._addHeadEndItem(o.getOverflowItemId(),false,[g.Home,g.App])}o.showInOverflow()},_moveNewExperienceToShellHeader:function(){if(o.isActive()){this._removeHeadEndItem(o.getOverflowItemId(),false,[g.Home,g.App])}o.showInShellHeader()},_updateHomeUri:function(e){const n=t.getElementById(\"shell-header\");if(n){n.setHomeUri(e)}},pressNavBackButton:async function(){l.emit(\"showUserActionsMenu\",false);f.navigateBack()},pressEndItemsOverflow:function(e){let n=t.getElementById(\"headEndItemsOverflow\");const a=t.getElementById(e);let i=Promise.resolve();let o;if(!a){return}if(!n){i=new Promise((e,t)=>{sap.ui.require([\"sap/ui/core/Fragment\"],n=>{n.load({name:\"sap.ushell.renderer.HeadEndItemsOverflowPopover\",type:\"XML\",controller:this}).then(e).catch(t)},t)}).then(e=>{n=e;const a=t.getElementById(\"headEndItemsOverflowList\");a.enhanceAccessibilityState=function(e,t){if(!e.isA(\"sap.ushell.ui.shell.OverflowListItem\")){return t}if(e.getFloatingNumberType()!==E.None){t.describedby=e._oAriaDescribedbyText.getId()}return t};o=new s({headEndItems:u.getModel().getProperty(\"/header/headEndItems\")});n.setModel(o)})}i.then(()=>{if(n.isOpen()){n.close()}else{if(t.getElementById(\"shellNotificationsPopover\")){l.emit(\"showNotifications\",false)}n.openBy(a)}})},headEndItemsOverflowItemFactory:function(e,n){if(o.isActive()&&n.getObject()===o.getOverflowItemId()){return o.getOverflowItemControl()}const a=t.getElementById(n.getObject());const s=a.getBindingPath(\"floatingNumber\");const i=a.getText();const r=a.getTooltip();const l=new h({id:`${e}-${a.getId()}`,icon:a.getIcon(),iconInset:true,tooltip:r!==i?r:null,title:i,type:p.Active,floatingNumber:s?{path:s}:undefined,floatingNumberMaxValue:a.getFloatingNumberMaxValue(),floatingNumberType:a.getFloatingNumberType(),visible:a.getVisible(),press:function(){if(a){a.firePress();const e=a.getTarget();if(e){m.getServiceAsync(\"Navigation\").then(t=>{t.navigate({target:{shellHash:e}})})}}const e=t.getElementById(\"headEndItemsOverflow\");if(e.isOpen()){e.close()}}});if(a._oAriaLabel){l.addAriaLabelledBy(a._oAriaLabel)}if(s){l.setModel(a.getModel())}return l},destroyHeadEndItemsOverflow:function(e){if(o.isActive()){const e=o.getOverflowItemControl();e.getParent()?.removeItem?.(e)}e.getSource().destroy()},isHeadEndItemInOverflow:function(e){return e!==\"ENDITEMSOVERFLOWBTN\"&&!this.isHeadEndItemNotInOverflow(e)},isHeadEndItemNotInOverflow:function(e){const t=this.isHeadEndItemOverflow();const n=a.media.getCurrentRange(a.media.RANGESETS.SAP_STANDARD).name;if(e===\"ENDITEMSOVERFLOWBTN\"){return t}if(!t){return true}if([\"USERACTIONSMENUHEADERBUTTON\",\"BACKBTN\"].indexOf(e)>-1){return true}if(n===\"Phone\"){return false}if([\"SF\",\"FLOATINGCONTAINERBUTTON\"].indexOf(e)>-1){return true}if(n===\"Desktop\"&&e===\"COPILOTBTN\"){return true}return false},isHeadEndItemOverflow:function(){let e=0;let n;const s=u.getModel().getProperty(\"/header/headEndItems\");if(s.indexOf(\"endItemsOverflowBtn\")===-1){return false}const i=a.media.getCurrentRange(a.media.RANGESETS.SAP_STANDARD).name;let o=3;if(i===\"Phone\"){o=1}for(let a=0;a<s.length;a++){n=t.getElementById(s[a]);if(n&&n.getVisible()){e++}}if(t.getElementById(\"endItemsOverflowBtn\").getVisible()){return e>o+1}return e>o},navigateFromShellApplicationNavigationMenu:function(e){if(i.getHash()!==e.substr(1)){l.emit(\"centerViewPort\",Date.now());i.setHash(e)}const n=t.getElementById(\"shellAppTitle\");if(n){n.close()}},onExit:function(){this.aDoables.forEach(e=>{e.off()});this.oHeadEndBinding.destroy();o.detachActiveChanged(this._handleHeadEndItemsOverflow,this)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderer/utils\", [\"sap/ui/core/EventBus\",\"sap/ushell/EventHub\"],(e,r)=>{\"use strict\";function n(n){setTimeout(()=>{e.getInstance().publish(\"sap.ushell\",\"rendererLoaded\",{rendererName:\"fiori2\"})},0);r.emit(\"RendererLoaded\",{rendererName:\"fiori2\"})}function i(r,n){setTimeout(()=>{e.getInstance().publish(\"sap.ushell.renderers.fiori2.Renderer\",r,n)},0)}return{publishExternalEvent:i,init:n}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderers/fiori2/History\", [\"sap/ushell/renderer/History\"],e=>{\"use strict\";return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderers/fiori2/LogonFrameProvider\", [\"sap/ushell/renderer/LogonFrameProvider\"],e=>{\"use strict\";return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderers/fiori2/Renderer\", [\"sap/ushell/renderer/Renderer\"],t=>{\"use strict\";const e=t.extend(\"sap.ushell.renderers.fiori2.Renderer\");e.prototype.showHeaderItem=function(e,o,r){return t.prototype.showHeaderItem.apply(this,arguments)};e.prototype.showToolAreaItem=function(e,o,r){return t.prototype.showToolAreaItem.apply(this,arguments)};e.prototype.showActionButton=function(e,o,r){return t.prototype.showActionButton.apply(this,arguments)};e.prototype.showFloatingActionButton=function(e,o,r){return t.prototype.showFloatingActionButton.apply(this,arguments)};e.prototype.showHeaderEndItem=function(e,o,r){return t.prototype.showHeaderEndItem.apply(this,arguments)};e.prototype.setHeaderVisibility=function(e,o,r){return t.prototype.setHeaderVisibility.apply(this,arguments)};e.prototype.showSubHeader=function(e,o,r){return t.prototype.showSubHeader.apply(this,arguments)};e.prototype.setFooter=function(e){return t.prototype.setFooter.apply(this,arguments)};e.prototype.setShellFooter=function(e){return t.prototype.setShellFooter.apply(this,arguments)};e.prototype.setFooterControl=function(e,o){return t.prototype.setFooterControl.apply(this,arguments)};e.prototype.hideHeaderItem=function(e,o,r){return t.prototype.hideHeaderItem.apply(this,arguments)};e.prototype.removeToolAreaItem=function(e,o,r){return t.prototype.removeToolAreaItem.apply(this,arguments)};e.prototype.hideActionButton=function(e,o,r){return t.prototype.hideActionButton.apply(this,arguments)};e.prototype.hideLeftPaneContent=function(e,o,r){return t.prototype.hideLeftPaneContent.apply(this,arguments)};e.prototype.hideFloatingActionButton=function(e,o,r){return t.prototype.hideFloatingActionButton.apply(this,arguments)};e.prototype.hideHeaderEndItem=function(e,o,r){return t.prototype.hideHeaderEndItem.apply(this,arguments)};e.prototype.hideSubHeader=function(e,o,r){return t.prototype.hideSubHeader.apply(this,arguments)};e.prototype.removeFooter=function(){return t.prototype.removeFooter.apply(this,arguments)};e.prototype.getCurrentViewportState=function(){return\"Center\"};e.prototype.addShellSubHeader=function(e){return t.prototype.addShellSubHeader.apply(this,arguments)};e.prototype.addSubHeader=function(e,o,r,p,n){return t.prototype.addSubHeader.apply(this,arguments)};e.prototype.addUserAction=function(e){return t.prototype.addUserAction.apply(this,arguments)};e.prototype.addActionButton=function(e,o,r,p,n){return t.prototype.addActionButton.apply(this,arguments)};e.prototype.addFloatingButton=function(e){return t.prototype.addFloatingButton.apply(this,arguments)};e.prototype.addFloatingActionButton=function(e,o,r,p,n){return t.prototype.addFloatingActionButton.apply(this,arguments)};e.prototype.addSidePaneContent=function(e){return t.prototype.addSidePaneContent.apply(this,arguments)};e.prototype.addLeftPaneContent=function(e,o,r,p,n){return t.prototype.addLeftPaneContent.apply(this,arguments)};e.prototype.addHeaderItem=function(e,o,r,p,n){return t.prototype.addHeaderItem.apply(this,arguments)};e.prototype.addToolAreaItem=function(e,o,r,p){return t.prototype.addToolAreaItem.apply(this,arguments)};e.prototype.addHeaderEndItem=function(e,o,r,p,n){return t.prototype.addHeaderEndItem.apply(this,arguments)};e.prototype.addEndUserFeedbackCustomUI=function(e,o){return t.prototype.addEndUserFeedbackCustomUI.apply(this,arguments)};e.prototype.addUserPreferencesEntry=function(e){return t.prototype.addUserPreferencesEntry.apply(this,arguments)};e.prototype.setHeaderTitle=function(e){return t.prototype.setHeaderTitle.apply(this,arguments)};e.prototype.setLeftPaneVisibility=function(e,o){return t.prototype.setLeftPaneVisibility.apply(this,arguments)};e.prototype.showToolArea=function(e,o){return t.prototype.showToolArea.apply(this,arguments)};e.prototype.LaunchpadState=t.prototype.LaunchpadState;return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderers/fiori2/RendererExtensions\", [\"sap/base/Log\",\"sap/ui/core/Element\",\"sap/ushell/Container\"],(e,r,n)=>{\"use strict\";function i(e,r,i){n.getRendererInternal(\"fiori2\").hideHeaderItem(e.getId(),false,[r,i])}function t(e,r,i){n.getRendererInternal(\"fiori2\").showActionButton(e.getId(),false,[r,i])}function s(e,r,i){n.getRendererInternal(\"fiori2\").hideActionButton(e.getId(),false,[r,i])}function o(e,r,i){n.getRendererInternal(\"fiori2\").showLeftPaneContent(e.getId(),false,[r,i])}function d(e,r){n.getRendererInternal(\"fiori2\").hideLeftPaneContent(false,[e,r])}function a(e,r,i){n.getRendererInternal(\"fiori2\").showFloatingActionButton(e.getId(),false,[r,i])}function l(e,r,i){n.getRendererInternal(\"fiori2\").hideFloatingActionButton(e.getId(),false,[r,i])}function f(e,r,i){n.getRendererInternal(\"fiori2\").showHeaderEndItem(e.getId(),false,[r,i])}function u(e,r,i){n.getRendererInternal(\"fiori2\").hideHeaderEndItem(e.getId(),false,[r,i])}function h(){return n.getRendererInternal(\"fiori2\").getModelConfiguration()}function c(){e.info(\"Application calls sap.ushell.Renderer.addEndUserFeedbackCustomUI. This function is deprecated. The call has no effect.\")}function p(e){n.getRendererInternal(\"fiori2\").addUserPreferencesEntry(e)}function g(e){n.getRendererInternal(\"fiori2\").addUserPreferencesGroupedEntry(e)}function R(e){n.getRendererInternal(\"fiori2\").setHeaderTitle(e)}function I(e,r){n.getRendererInternal(\"fiori2\").setLeftPaneVisibility(e,r)}function E(e){n.getRendererInternal(\"fiori2\").setHeaderHiding(e)}function P(e){n.getRendererInternal(\"fiori2\").setFooter(e)}function C(){n.getRendererInternal(\"fiori2\").removeFooter()}function m(){this.addHeaderItem=function(r,i,t){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");n.getRendererInternal(\"fiori2\").showHeaderItem(r.getId(),false,[i,t])};this.setHeaderItemVisibility=function(i,t,s,o){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");const d=r.getElementById(i);if(o){n.getRendererInternal(\"fiori2\").showHeaderItem(d.getId(),s,[t])}};this.addSubHeader=function(r,i,t){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");n.getRendererInternal(\"fiori2\").showSubHeader(r.getId(),false,[i,t])};this.removeSubHeader=function(r,i,t){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");n.getRendererInternal(\"fiori2\").hideSubHeader(r.getId(),false,[i,t])};this.addHeaderEndItem=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");f(...r)};this.removeHeaderItem=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");i(...r)};this.removeHeaderEndItem=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");u(...r)};this.addEndUserFeedbackCustomUI=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");c(...r)};this.addOptionsActionSheetButton=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");t(...r)};this.removeOptionsActionSheetButton=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");s(...r)};this.setFooter=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");P(...r)};this.removeFooter=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");C(...r)};this.addUserPreferencesEntry=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");p(...r)};this.addUserPreferencesGroupedEntry=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");g(...r)};this.setHeaderTitle=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");R(...r)};this.setHeaderHiding=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");E(...r)};this.LaunchpadState={App:\"app\",Home:\"home\"};this.addFloatingActionButton=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");a(...r)};this.removeFloatingActionButton=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");l(...r)};this.setLeftPaneContent=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");o(...r)};this.removeLeftPaneContent=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");d(...r)};this.setLeftPaneVisibility=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");I(...r)};this.getConfiguration=function(...r){e.error(\"'sap.ushell.renderers.fiori2.RendererExtensions' is deprecated. Please use 'sap.ushell.Container.getRenderer('fiori2')' instead.\");return h(...r)}}const x=new m;return x},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderers/fiori2/Shell.controller\", [\"sap/ushell/renderer/Shell.controller\"],e=>{\"use strict\";return e.extend(\"sap.ushell.renderers.fiori2.Shell\")});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderers/fiori2/Shell.view\", [\"sap/base/Log\",\"sap/m/Avatar\",\"sap/m/library\",\"sap/ushell/renderer/shellHeader/ShellHeader.controller\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ui/core/mvc/XMLView\",\"sap/ui/core/Core\",\"sap/ui/core/Component\",\"sap/ushell/Container\",\"sap/ushell/renderer/ShellLayout\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\",\"sap/ushell/state/BindingHelper\"],(e,t,n,i,o,l,a,r,s,d,h,c,g,u,p,f)=>{\"use strict\";const y=n.AvatarSize;const A=p.Operation;const M=g.ShellArea;const m={Property:\"Property\",List:\"List\"};sap.ui.jsview(\"sap.ushell.renderers.fiori2.Shell\",{getControllerName:function(){return\"sap.ushell.renderers.fiori2.Shell\"},waitForShellLayout:function(){if(!this._oShellLayoutPromise){this._oShellLayoutPromise=new Promise(e=>{this.getController().addDoable(l.once(\"ShellLayoutApplied\").do(e))})}return this._oShellLayoutPromise},getViewDataConfig:function(){const e=this.getViewData()||{};const t=e.config||{};return t},createContent:function(){this._createUserActionsMenuButton(u.getConfigModel());this._allowUpToThreeActionInShellHeader();p.init(this.getViewDataConfig());this.initBackgroundImage();this.createShellHeaderSync();this.setNavigationBarMinHeight();const e=this.createRendererRootViewSync();this.setDisplayBlock(true);r.setPerformanceMark(\"FLP - Shell.view rendering started!\");return e},initBackgroundImage:function(){this.waitForShellLayout().then(()=>{const e=document.getElementById(M.BackgroundImage);const t=[\"<div class='sapUiShellBackgroundImage sapUiGlobalBackgroundImageForce sapContrastPlus'></div>\",\"<div class='sapMShellBG sapUiGlobalBackgroundImage'></div>\"].join(\"\\n\");e.insertAdjacentHTML(\"afterbegin\",t)})},createRendererRootViewSync:function(){const e=this.getController();const t=sap.ui.xmlfragment(\"sap.ushell.renderer.RendererRootView\",e);f.overrideUpdateAggregation(t);return t},createRendererRootViewSyncFallback:function(){const e=this.getController();const t=sap.ui.xmlfragment(\"sap.ushell.renderer.RendererRootViewFallback\",e);f.overrideUpdateAggregation(t);return t},createShellHeaderSync:function(){const e=new i;const t=sap.ui.xmlfragment(\"sap.ushell.renderer.shellHeader.ShellHeader\",e);f.overrideUpdateAggregation(t);t.setModel(u.getModel(),\"shellModel\");t.setModel(a.i18nModel,\"i18n\");this.addDanglingControl(t);this._oShellHeader=t;this.waitForShellLayout().then(()=>{t.placeAt(M.ShellHeader,\"only\");e.onInit()});return t},setNavigationBarMinHeight:function(){return sap.ushell.Container.getServiceAsync(\"Menu\").then(e=>e.isMenuEnabled()).then(e=>{if(!e){return}this.waitForShellLayout().then(()=>{const e=document.getElementById(M.NavigationBar);e.classList.add(\"sapUshellMenuBarHeight\")})}).catch(t=>{e.info(\"Could not apply min-height of the navigationBar\",t)})},createRightFloatingContainer:function(){sap.ui.require([\"sap/ushell/ui/shell/RightFloatingContainer\"],e=>{const t=new e({id:\"right-floating-container\",top:\"2\",right:\"2\",hideItemsAfterPresentation:true,visible:\"{shellModel>/rightFloatingContainer/visible}\",floatingContainerItems:{path:\"shellModel>/rightFloatingContainer/items\",factory:f.factory}});f.overrideUpdateAggregation(t);t.setModel(u.getModel(),\"shellModel\");this.addDanglingControl(t);this._oRightFloatingContainer=t;this.waitForShellLayout().then(()=>{t.placeAt(M.RightFloatingContainer,\"only\")})})},createSubHeader:function(){sap.ui.require([\"sap/ushell/ui/shell/SubHeader\"],e=>{const t=new e({id:\"subhdr\",content:{path:\"shellModel>/subHeader/items\",factory:f.factory}});f.overrideUpdateAggregation(t);t.setModel(u.getModel(),\"shellModel\");this.addDanglingControl(t);this.waitForShellLayout().then(()=>{t.placeAt(M.SubHeader,\"only\")})})},createFloatingContainer:function(){return h.create({name:\"sap.ushell.components.shell.FloatingContainer\"})},createSidePane:function(){sap.ui.require([\"sap/ushell/ui/shell/SidePane\"],e=>{const t=new e({id:\"shell-sidePane\",visible:\"{shellModel>/sidePane/visible}\",content:{path:\"shellModel>/sidePane/items\",factory:f.factory}});f.overrideUpdateAggregation(t);t.setModel(u.getModel(),\"shellModel\");this.addDanglingControl(t);this.waitForShellLayout().then(()=>{t.placeAt(M.SidePane,\"only\")})})},createToolArea:function(){sap.ui.require([\"sap/ushell/ui/shell/ToolArea\"],e=>{const t=new e({id:\"shell-toolArea\",visible:\"{shellModel>/toolArea/visible}\",toolAreaItems:{path:\"shellModel>/toolArea/items\",factory:f.factory}});f.overrideUpdateAggregation(t);t.setModel(u.getModel(),\"shellModel\");this.addDanglingControl(t);this.waitForShellLayout().then(()=>{t.placeAt(M.ToolArea,\"only\")})})},createFloatingActions:function(){sap.ui.require([\"sap/ushell/ui/shell/ShellFloatingActions\"],e=>{const t=new e({id:\"shell-floatingActions\",floatingActions:{path:\"shellModel>/floatingActions/items\",factory:f.factory}});f.overrideUpdateAggregation(t);t.setModel(u.getModel(),\"shellModel\");this.addDanglingControl(t);this.waitForShellLayout().then(()=>{t.placeAt(M.FloatingActions,\"only\")})})},initAllMyAppsView:function(){return sap.ushell.Container.getServiceAsync(\"AllMyApps\").then(e=>{if(e.isEnabled()){return this.createAllMyAppsView()}})},createAllMyAppsView:function(){return s.create({id:\"allMyAppsView\",viewName:\"sap.ushell.renderer.allMyApps.AllMyApps\"}).then(e=>{e.setModel(u.getConfigModel(),\"configModel\");e.setModel(a.i18nModel,\"i18n\");e.addCustomData(new o({key:\"aria-label\",value:a.i18n.getText(\"allMyApps_headerTitle\"),writeToDom:true}));this.addDanglingControl(e);this.getShellHeader().getAppTitle().setAllMyApps(e)})},createPostCoreExtControls:function(){const e=u.getModel();sap.ui.require([\"sap/ui/core/Popup\"],e=>{e.setInitialZIndex(11)});this.bindFactory({model:e,factory:this.createFloatingContainer.bind(this),bindingPath:\"/floatingContainer/items\",bindingType:m.List,valueCheck:function(e){return!!e.length}});this.bindFactory({model:e,factory:this.createRightFloatingContainer.bind(this),bindingPath:\"/rightFloatingContainer/visible\",bindingType:m.Property,valueCheck:function(e){return!!e}});this.bindFactory({model:e,factory:this.createSubHeader.bind(this),bindingPath:\"/subHeader/items\",bindingType:m.List,valueCheck:function(e){return!!e.length}});this.bindFactory({model:e,factory:this.createToolArea.bind(this),bindingPath:\"/toolArea/visible\",bindingType:m.Property,valueCheck:function(e){return!!e}});this.bindFactory({model:e,factory:this.createSidePane.bind(this),bindingPath:\"/sidePane/visible\",bindingType:m.Property,valueCheck:function(e){return!!e}});this.bindFactory({model:e,factory:this.createFloatingActions.bind(this),bindingPath:\"/floatingActions/items\",bindingType:m.List,valueCheck:function(e){return!!e.length}});this.addPendingInitialization(this.initAllMyAppsView())},_allowUpToThreeActionInShellHeader:function(){const e=[\"moveAppFinderActionToShellHeader\",\"moveUserSettingsActionToShellHeader\",\"moveContactSupportActionToShellHeader\",\"moveEditHomePageActionToShellHeader\"];const t=this.getViewDataConfig();e.reduce((e,n)=>{if(t[n]){e++}else{t[n]=false}return e},0)},_createUserActionsMenuButton:function(e){const n=c.getUser();const i=a.i18n.getText(\"UserActionsMenuToggleButtonAria\",[n.getFullName()||n.getId()]);const o=new t({id:\"userActionsMenuHeaderButton\",src:\"{configModel>/userImage/personPlaceHolder}\",initials:n.getInitials(),ariaHasPopup:\"Menu\",displaySize:y.XS,tooltip:i,press:function(){l.emit(\"showUserActionsMenu\",Date.now())}});o.setModel(e,\"configModel\");this.addDanglingControl(o);p.updateAllBaseStates(\"header.headEndItems\",A.Add,\"userActionsMenuHeaderButton\")},getShellHeader:function(){return this._oShellHeader},getRightFloatingContainer:function(){return this._oRightFloatingContainer},bindFactory:function(e){const t=e.model;const n=e.factory;const i=e.bindingPath;const o=e.bindingType;const l=e.valueCheck;let a=t.getProperty(i);if(l(a)){n()}else{let e;switch(o){case m.List:e=t.bindList(i);break;default:e=t.bindProperty(i)}this.addDanglingBinding(e);e.attachChange(function(){a=e.getModel().getProperty(e.getPath());if(l(a)){this.removeDanglingBinding(e);e.destroy();n()}},this)}},addDanglingBinding:function(e){this.getController().addDanglingBinding(e)},removeDanglingBinding:function(e){this.getController().removeDanglingBinding(e)},addDanglingControl:function(e){this.getController().addDanglingControl(e)},addPendingInitialization:function(e){return this.getController().addPendingInitialization(e)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/renderers/fiori2/allMyApps/AllMyAppsManager\", [\"sap/ushell/renderer/allMyApps/AllMyAppsManager\"],e=>{\"use strict\";return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/resources\", [\"sap/base/i18n/Localization\",\"sap/ui/model/resource/ResourceModel\"],(e,r)=>{\"use strict\";const t={};t.i18n=null;t.i18nModel=new r({bundleUrl:sap.ui.require.toUrl(\"sap/ushell/renderer/resources/resources.properties\"),bundleLocale:e.getLanguage(),async:true});t._pResourceBundle=t.i18nModel.getResourceBundle().then(e=>{t.i18n=e});t.awaitResourceBundle=async function(){await t._pResourceBundle};t.getTranslationFromJSON=function(r){if(!r){return\"\"}try{const t=JSON.parse(r);const n=e.getLanguage().toLowerCase();for(const[e,r]of Object.entries(t)){if(e.toLowerCase()===n){return r}}for(const[e,r]of Object.entries(t)){const t=e.toLowerCase();if(t.startsWith(n)||n.startsWith(t)){return r}}return t.default||\"\"}catch(e){return r}};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/AllMyApps\", [],()=>{\"use strict\";function t(t,e,n){const i=n&&n.config;let r=false;const s={};this.isEnabled=function(){r=!!(!i||i.enabled!==false);return r};this.isHomePageAppsEnabled=function(){return!!(!i||i.showHomePageApps!==false)};this.isCatalogAppsEnabled=function(){return!!(!i||i.showCatalogApps!==false)};this.isExternalProviderAppsEnabled=function(){return!!(!i||i.showExternalProviders!==false)};this.registerExternalProvider=function(t,e){if(!t||t===\"\"){return}if(!e.getTitle||!e.getData){return}s[t]=e};this.getDataProviders=function(){return s};this.init=function(){}}t.hasNoAdapter=true;return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/AppConfiguration\", [\"sap/base/i18n/Localization\",\"sap/base/i18n/ResourceBundle\",\"sap/base/Log\",\"sap/base/util/ObjectPath\",\"sap/m/library\",\"sap/ui/core/IconPool\",\"sap/ui/thirdparty/hasher\",\"sap/ui/thirdparty/jquery\",\"sap/ui/util/Mobile\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/utils\",\"sap/ushell/Container\",\"sap/ushell/Config\"],(t,e,n,i,s,a,o,jQuery,r,c,p,l,u,h,f)=>{\"use strict\";const g=s.ButtonType;function d(){const s={};let d=true;let m=null;let y=[];const I=[];this._applicationOpenedHandler=function(){d=false;while(I.length>0){I.shift()()}};c.on(\"AppRendered\").do(this._applicationOpenedHandler.bind(this));this.addActivity=function(t){const e=new jQuery.Deferred;h.getServiceAsync(\"UserRecents\").then(e=>e.addActivity(t)).then(e.resolve).catch(e.reject);return e.promise()};this.setApplicationInInitMode=function(){d=true};this.getApplicationRequestQueue=function(){return I};this.getCurrentApplication=function(){return m};this.getCurrentAppliction=this.getCurrentApplication;this.getMetadata=function(t,e){if(!t){t=m}if(t){let n;if(e){n=e.slice(1)}else{n=o?.getHash?o.getHash():\"\"}const i=this._getMemoizationKey(n);return this._getMetadata(t,i)}return{}};this._getMemoizationKey=function(t){const[e,n]=t.split(\"?\");const i=this._processParams(n);if(i){return e+i}const s=l.parseShellHash(t);if(s){const{semanticObject:t,action:e}=s;return`${t}-${e}`}return\"\"};this._processParams=function(t){if(!t){return\"\"}const e={};t.split(\"&\").forEach(t=>{const[n,i]=t.split(\"=\");e[n]=i});const n=Object.keys(e).sort();const i=n.reduce((t,n,i)=>{const s=`${n}=${e[n]}`;return`${t}${i>0?\"&\":\"?\"}${s}`},\"\");return i};this._getMetadata=function(t,e){if(!s.hasOwnProperty(e)||!s[e].complete){this.addMetadata(t,e)}if(!s[e]){s[e]={complete:false}}if(!s[e].title){s[e].title=t.text||p.i18n.getText(\"default_app_title\")}return s[e]};this.setCurrentApplication=function(t){if(m===t){return}m=t;I.splice(0)};this.setHeaderHiding=function(){n.warning(\"Application configuration headerHiding property is deprecated and has no effect\")};this.addApplicationSettingsButtons=function(t){if(d){I.push(()=>{this._addApplicationSettingsButtons(t)})}else{this._addApplicationSettingsButtons(t)}};this._addApplicationSettingsButtons=function(t){const e=h.getRendererInternal(\"fiori2\");const n=[];for(let e=0;e<t.length;e++){const i=t[e];n.push(i.getId());i.setIcon(i.getIcon()||a.getIconURI(\"customize\"));if(p.i18n.getText(\"userSettings\")===i.getProperty(\"text\")){i.setProperty(\"text\",p.i18n.getText(\"userAppSettings\"))}i.setType(g.Unstyled)}if(e){if(y.length){e.hideActionButton(y,true)}y=n;e.showActionButton(n,true,undefined,true)}};this.setWindowTitle=function(e){const n=p.getTranslationFromJSON(f.last(\"/core/shell/windowTitleExtension\"));if(n){if(t.getRTL()){e=`${n} - ${e}`}else{e=`${e} - ${n}`}}window.document.title=e};this.setIcons=function(t){r.setIcons(t)};this.setApplicationFullWidth=function(t){this.setApplicationFullWidthInternal(t)};this.setApplicationFullWidthInternal=function(t){c.emit(\"setApplicationFullWidth\",{bValue:t,date:Date.now()})};this.getApplicationName=function(t){const e=t?.additionalInformation;if(e){const t=/^SAPUI5\\.Component=(.+)$/i.exec(e);if(t){return t[1]}}return null};this.getApplicationUrl=function(t){let e=t?.url;const n=\"P_TCODE\";if(e){if(t.applicationType===\"NWBC\"&&e.indexOf(n)){return e}const i=e.indexOf(\"?\");if(i>=0){e=e.slice(0,i)}if(e.slice(-1)!==\"/\"){e+=\"/\"}}return e};this._getPropertyValueFromConfig=function(t,e,n){const i=`${e}Resource`;if(n&&t.hasOwnProperty(i)){return n.getText(t[i])}if(t.hasOwnProperty(e)){return t[e]}};this._getPropertyValueFromManifest=function(t,e,n){const s=e[n].manifestEntryKey;const a=e[n].path||\"\";const o=t.getManifestEntry(s);return i.get(a,o)};this.addMetadata=function(i,a){try{const o=this.getApplicationName(i);const r=this.getApplicationUrl(i);const c={fullWidth:{manifestEntryKey:\"sap.ui\",path:\"fullWidth\"},hideLightBackground:{manifestEntryKey:\"sap.ui\",path:\"hideLightBackground\"},title:{manifestEntryKey:\"sap.app\",path:\"title\"},icon:{manifestEntryKey:\"sap.ui\",path:\"icons.icon\"},favIcon:{manifestEntryKey:\"sap.ui\",path:\"icons.favIcon\"},homeScreenIconPhone:{manifestEntryKey:\"sap.ui\",path:\"icons.phone\"},\"homeScreenIconPhone@2\":{manifestEntryKey:\"sap.ui\",path:\"icons.phone@2\"},homeScreenIconTablet:{manifestEntryKey:\"sap.ui\",path:\"icons.tablet\"},\"homeScreenIconTablet@2\":{manifestEntryKey:\"sap.ui\",path:\"icons.tablet@2\"},startupImage320x460:{manifestEntryKey:\"sap.ui\",path:\"icons.startupImage640x920\"},startupImage640x920:{manifestEntryKey:\"sap.ui\",path:\"icons.startupImage640x920\"},startupImage640x1096:{manifestEntryKey:\"sap.ui\",path:\"icons.startupImage640x1096\"},startupImage768x1004:{manifestEntryKey:\"sap.ui\",path:\"icons.startupImage768x1004\"},startupImage748x1024:{manifestEntryKey:\"sap.ui\",path:\"icons.startupImage748x1024\"},startupImage1536x2008:{manifestEntryKey:\"sap.ui\",path:\"icons.startupImage1536x2008\"},startupImage1496x2048:{manifestEntryKey:\"sap.ui\",path:\"icons.startupImage1496x2048\"},compactContentDensity:{manifestEntryKey:\"sap.ui5\",path:\"contentDensities.compact\"},cozyContentDensity:{manifestEntryKey:\"sap.ui5\",path:\"contentDensities.cozy\"}};const p=i?.componentHandle;if(!a){return}if(!s.hasOwnProperty(a)){s[a]={complete:false}}if(!s[a].complete){let l;let h;if(p){l=p.getInstance();h=p.getMetadata()}else if(o){n.warning(`No component handle available for '${o}'; SAPUI5 component metadata is incomplete`,null,\"sap.ushell.services.AppConfiguration\");return}if(l&&h){let n;const o=l._getManifestEntry(\"/sap.ui5/config\",true);s[a].complete=true;if(o){let i=o.resourceBundle;if(i){if(i.slice(0,1)!==\"/\"){i=r+i}n=e.create({url:i,locale:t.getLanguage()})}}const p=!!l.getManifest();for(const t in c){if(c.hasOwnProperty(t)){if(p){s[a][t]=this._getPropertyValueFromManifest(l,c,t)}if(o&&s[a][t]===undefined){s[a][t]=this._getPropertyValueFromConfig(o,t,n)}}}s[a].version=l.getManifestEntry(\"/sap.app/applicationVersion/version\");s[a].technicalName=h.getComponentName();this._setTitleFromNavResult(s[a],i)}else if(u.isApplicationTypeEmbeddedInIframe(i.applicationType)){const t=\"/~canvas;window=app/wda/\";const e=i.url.indexOf(t);const n=\"/sap/bc/webdynpro/sap/\";const o=\"/bc/gui/sap/its/webgui\";const r=i.url.indexOf(o);if(e>=0){s[a].technicalName=i.url.substring(e+t.length,i.url.indexOf(\"/\",e+t.length))}if(i.url.indexOf(n)>=0){s[a].technicalName=new RegExp(`${n}(.*)[?]`).exec(i.url)[1]}s[a].complete=true;if(r>=0){const t=\"etransaction=\";const e=i.url.indexOf(t,r+o.length);const n=i.url.indexOf(\"&\",e);const c=n>=0?n:i.url.length;s[a].technicalName=`${decodeURIComponent(i.url.substring(e+t.length,c))} (TCODE)`}}else{n.warning(\"No technical information for the given application could be determined\",null,\"sap.ushell.services.AppConfiguration\")}}const l=[\"favIcon\",\"homeScreenIconPhone\",\"homeScreenIconPhone@2\",\"homeScreenIconTablet\",\"homeScreenIconTablet@2\",\"startupImage320x460\",\"startupImage640x920\",\"startupImage640x1096\",\"startupImage768x1004\",\"startupImage748x1024\",\"startupImage1536x2008\",\"startupImage1496x2048\"];const h=r?.[r.length-1]===\"/\"?r.substring(0,r.length-1):r;l.forEach(t=>{const e=s[a][t];let n=null;if(e){n=this._isUrlRelative(e)?`${h}/${e}`:e}s[a][t]=n})}catch(t){n.warning(\"Application configuration could not be parsed\")}};this._isUrlRelative=function(t){if(!t){return false}if(t.match(/^https?:\\/\\/.*/)){return false}return t[0]!==\"/\"};this._setTitleFromNavResult=function(t,e){const n=e?.text;const i=t.technicalName;const s=f.last(\"/core/shell/useAppTitleFromNavTargetResolution\")||[];if(n&&s.includes(i)){t.title=n}}}return new d},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/AppLifeCycle\", [\"sap/ui/base/EventProvider\",\"sap/ui/core/Component\",\"sap/ui/thirdparty/hasher\",\"sap/ui/thirdparty/URI\",\"sap/ushell/AppInfoParameters\",\"sap/ushell/appIntegration/AppLifeCycle\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/TechnicalParameters\"],(e,t,n,p,o,i,r,a,s,l,c)=>{\"use strict\";const u=\"appLoaded\";function h(t,n,p,o){this._oCurrentApplication=null;this._oCurrentApplicationContainer=null;this._oEventProvider=new e;if(window.QUnit===undefined&&a.inAppRuntime()===false){if(r.last(\"/core/shell/enableMessageBroker\")){a.getServiceAsync(\"MessageBroker\").then(e=>{e.subscribe(\"FLP\",[{channelId:\"flp-app-info\",version:\"1.0\"}],this._handleIncomingMessageBrokerMessage.bind(this,e),()=>{})})}}}h.prototype.init=function(e){e.attachAfterNavigate(this.onAfterNavigate.bind(this))};h.prototype._handleIncomingMessageBrokerMessage=function(e,t,n,p,o){if(n===\"flp-app-info\"&&p===\"get-current-app-info\"&&this._oCurrentApplication){this._oCurrentApplication.getAllAppInfo(true).then(n=>{e.publish(\"flp-app-info\",\"FLP\",Date.now().toString(),p,[t],n)})}};h.prototype.onAfterNavigate=async function(e){let n=false;const p=e.getParameter(\"to\");let o;if(p?.isA?.(\"sap.ushell.appIntegration.ApplicationContainer\")){o=p}let i;if(o&&typeof o.getComponentHandle===\"function\"&&o.getComponentHandle()){i=o.getComponentHandle().getInstance()}else if(o){const e=o.getAggregation(\"child\");if(e){i=e.getComponentInstance()}}else{i=t.getComponentById(p?.getComponent?.());if(i?.isA?.(\"sap.ushell.renderer.rendererTargetWrapper.Component\")){i=await i.getComponentInstance()}}if(i){const e=i.getId();n=e.indexOf(\"Shell-home-component\")!==-1||e.indexOf(\"pages-component\")!==-1||e.indexOf(\"workPageRuntime-component\")!==-1||e.indexOf(\"Shell-appfinder-component\")!==-1||e.indexOf(\"homeApp-component\")!==-1||e.indexOf(\"runtimeSwitcher-component\")!==-1}let r=o&&typeof o.getApplicationType===\"function\"&&o.getApplicationType();if((!r||r===\"URL\")&&i){r=\"UI5\"}this._setCurrentApplicationObject(r,i,n,o)};h.prototype._getAppIntent=function(e){const t=n.getHash();let o;if(!t){return Promise.reject(\"Could not identify current application hash\")}const i=a.getServiceAsync(\"URLParsing\");return i.then(n=>{o=n.parseShellHash(t);if(e===true&&this._oCurrentApplicationContainer&&typeof this._oCurrentApplicationContainer.getCurrentAppUrl===\"function\"){const e=this._oCurrentApplicationContainer.getCurrentAppUrl();if(e){const t=new p(e).search(true);if(t.hasOwnProperty(\"sap-remote-intent\")){o.semanticObject=t[\"sap-remote-intent\"].split(\"-\")[0];o.action=t[\"sap-remote-intent\"].split(\"-\")[1];delete o.params[\"sap-shell-so\"];delete o.params[\"sap-shell-action\"]}}}return o})};h.prototype._setCurrentApplicationObject=function(e,t,n,p){this._oCurrentApplicationContainer=p;this._oCurrentApplication={applicationType:e,componentInstance:t,homePage:n,getTechnicalParameter:function(n){return c.getParameterValue(n,t,p,e)},getIntent:this._getAppIntent.bind(this),getInfo:function(e){return o.getInfo(e,this._oCurrentApplication,p)}.bind(this),getAllAppInfo:function(e){return o.getAllAppInfo(e,this._oCurrentApplication,t,p).then(t=>{if(e===true){t.applicationType=this._oCurrentApplication.applicationType;t.homePage=this._oCurrentApplication.homePage}else{t.applicationType={value:this._oCurrentApplication.applicationType};t.homePage={value:this._oCurrentApplication.homePage}}return t})}.bind(this),getSystemContext:function(){const e=l.getCurrentApplication()||{};const t=e.contentProviderId||\"\";return a.getServiceAsync(\"ClientSideTargetResolution\").then(e=>e.getSystemContext(t))},disableKeepAliveAppRouterRetrigger:function(e){s.emit(\"disableKeepAliveRestoreRouterRetrigger\",{disable:e,appId:this._oCurrentApplicationContainer?.getCurrentAppId(),componentId:this._oCurrentApplication.componentInstance?.oContainer?.sId,date:Date.now()})}.bind(this)};setTimeout(()=>{this._oEventProvider.fireEvent(u,this._oCurrentApplication);s.emit(\"FESRAppLoaded\",{technicalName:this._oCurrentApplication?.technicalName});if(window.QUnit===undefined&&a.inAppRuntime()===false){if(r.last(\"/core/shell/enableMessageBroker\")){a.getServiceAsync(\"MessageBroker\").then(e=>{this._oCurrentApplication.getAllAppInfo(true).then(t=>{e.publish(\"flp-app-info\",\"FLP\",Date.now().toString(),\"new-app-info\",\"*\",t)})})}}},0)};h.prototype.getCurrentApplication=function(){return this._oCurrentApplication};h.prototype.attachAppLoaded=function(e,t,n){this._oEventProvider.attachEvent(u,e,t,n)};h.prototype.detachAppLoaded=function(e,t){this._oEventProvider.detachEvent(u,e,t)};h.prototype.prepareCurrentAppObject=function(e,t,n,p,o){this._setCurrentApplicationObject(e,t,n,p,o)};h.prototype.reloadCurrentApp=function(){const e=this.getCurrentApplication();s.emit(\"reloadCurrentApp\",{sAppContainerId:this._oCurrentApplicationContainer?.getId?.(),sAppId:e.componentInstance?.getId?.(),sCurrentHash:n.getHash(),date:Date.now()})};h.prototype.setAppInfo=function(e,t){o.setCustomAttributes(e?.info);if(r.last(\"/core/shell/enableMessageBroker\")){a.getServiceAsync(\"MessageBroker\").then(e=>{this._oCurrentApplication.getAllAppInfo(true).then(n=>{e.publish(\"flp-app-info\",\"FLP\",Date.now().toString(),t===true?\"new-app-info\":\"app-info-update\",\"*\",n)})})}};h.prototype.ApplicationType={UI5:\"UI5\",WDA:\"WDA\",NWBC:\"NWBC\",URL:\"URL\",TR:\"TR\"};h.prototype.AppInfoParameterName={productName:\"productName\",theme:\"theme\",languageTag:\"languageTag\",appIntent:\"appIntent\",appFrameworkId:\"appFrameworkId\",technicalAppComponentId:\"technicalAppComponentId\",appId:\"appId\",appVersion:\"appVersion\",appSupportInfo:\"appSupportInfo\",appFrameworkVersion:\"appFrameworkVersion\",\"abap.transaction\":\"abap.transaction\"};h.hasNoAdapter=true;return h},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/AppState\", [\"sap/ui/base/Object\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/services/appstate/AppState\",\"sap/ushell/services/appstate/AppStatePersistencyMethod\",\"sap/ushell/services/appstate/Sequentializer\",\"sap/ushell/services/appstate/SequentializingAdapter\",\"sap/ushell/services/appstate/WindowAdapter\",\"sap/ushell/utils\"],(e,jQuery,t,s,n,i,r,o)=>{\"use strict\";function p(e){return o.isDefined(e)&&o.isDefined(e.transient)?!!e.transient:true}function a(e,t,s,n){this._oConfig=n&&n.config;this._sSessionKey=\"\";this._oAdapter=new i(e);this._oAdapter=new r(this,this._oAdapter,n)}a.prototype._getSessionKey=function(){if(!this._sSessionKey){this._sSessionKey=this._getGeneratedKey()}return this._sSessionKey};a.prototype.getAppState=function(e){const s=new jQuery.Deferred;let n;this._loadAppState(e).done((e,i,r,o)=>{n=new t(this,e,false,i,undefined,undefined,undefined,r,o);s.resolve(n)}).fail(()=>{n=new t(this,e);s.resolve(n)});return s.promise()};a.prototype._getGeneratedKey=function(e){let t=o.generateRandomKey();if(e){t=`TAS${t}`.substring(0,41)}else{t=`AS${t}`.substring(0,40)}return t};a.prototype.createEmptyAppState=function(n,i,r,o){let a=\"\";let d=\"\";const u=i||p(this._oConfig);const f=this._getGeneratedKey(u);if(r!==undefined&&!this.isPersistencyMethodSupported(r)){r=undefined}if(n){if(!e.isObjectA(n,\"sap.ui.core.UIComponent\")){throw new Error(\"oComponent passed must be a UI5 Component\")}const t=n.getMetadata&&n.getMetadata();if(t){if(typeof n.getMetadata().getName===\"function\"){a=t.getName()||\"\"}if(!a&&t.getComponentName){a=t.getComponentName()}if(typeof n.getManifest===\"function\"&&typeof n.getManifest()===\"object\"&&typeof n.getManifest()[\"sap.app\"]===\"object\"){d=n.getManifest()[\"sap.app\"].ach||\"\"}}}if(u===true){r=undefined}else if(r===undefined&&this.isPersistencyMethodSupported(s.PersonalState)){r=s.PersonalState}return new t(this,f,true,undefined,a,d,u,r)};a.prototype.createEmptyUnmodifiableAppState=function(){const e=this._getGeneratedKey();const s=new t(this,e,false);return s};a.prototype._saveAppState=function(e,t,n,i,r,a,d){const u=this._getSessionKey();const f=o.isDefined(r)?r:p(this._oConfig);if(f){a=undefined;d=undefined}else if(a!==undefined){if(!this.isPersistencyMethodSupported(a)){if(this.isPersistencyMethodSupported(s.PersonalState)){a=s.PersonalState}else{a=undefined}d=undefined}}return this._oAdapter.saveAppState(e,u,t,n,i,f,a,d)};a.prototype._keyIsJson=function(e){if(typeof e===\"string\"&&e.indexOf(\"{\")===0){try{JSON.parse(e);return true}catch(e){return false}}return false};a.prototype._loadAppState=function(e){if(this._keyIsJson(e)){return(new jQuery.Deferred).resolve(e,e).promise()}return this._oAdapter.loadAppState(e)};a.prototype.deleteAppState=function(e){return this._oAdapter.deleteAppState(e)};a._getSequentializer=function(){return new n};a.prototype.getSupportedPersistencyMethods=function(){if(this._oAdapter.getSupportedPersistencyMethods){return this._oAdapter.getSupportedPersistencyMethods()}return[]};a.prototype.isPersistencyMethodSupported=function(e){const t=this.getSupportedPersistencyMethods();if(t.length>0&&e!==undefined){return t.indexOf(e)>=0}return false};function d(e,t){const s=new RegExp(`(?:${t}=)([^&/]+)`);const n=s.exec(e);let i;if(n&&n.length===2){i=n[1]}return i}a.prototype.setAppStateToPublic=function(e){const t=d(e,\"sap-xapp-state\");const n=d(e,\"sap-iapp-state\");const i=new jQuery.Deferred;jQuery.when(t&&this.makeStatePersistent(t,s.PublicState),n&&this.makeStatePersistent(n,s.PublicState)).done((s,r)=>{if(t&&t!==s){e=e.replace(t,s)}if(n&&n!==r){e=e.replace(n,r)}i.resolve(e,t,n,s,r)}).fail(i.reject);return i.promise()};a.prototype.makeStatePersistent=function(e,t,s){const n=new jQuery.Deferred;if(this.getSupportedPersistencyMethods().length===0){return n.resolve(e)}if(this._keyIsJson(e)){return n.resolve(e)}if(this.isPersistencyMethodSupported(t)){this.getAppState(e).done(i=>{if(i._iPersistencyMethod!==t){i.bTransient=false;i._iPersistencyMethod=t;i._oPersistencySettings=s;if(e.startsWith(\"TAS\")){e=e.substring(1,e.length)}this._saveAppState(e,i._sData,i._sAppName,i._sACHComponent,false,t,s).done(()=>{n.resolve(e)}).fail(n.reject)}else{n.resolve(e)}}).fail(n.reject)}else{n.reject(`AppState.makeStatePersistent - adapter does not support persistence method: ${t}`)}return n.promise()};a.prototype.getPersistentWhenShared=function(){return this._oConfig&&this._oConfig.persistentWhenShared===true?true:false};a.WindowAdapter=r;a.hasNoAdapter=false;return a},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/AppType\", [\"sap/ushell/library\",\"sap/ushell/utils/AppType\"],(e,s)=>{\"use strict\";const p=JSON.parse(JSON.stringify(e.AppType));p.getDisplayName=s.getDisplayName;return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Bookmark\", [\"sap/ui/core/EventBus\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Config\",\"sap/ushell/library\",\"sap/ushell/utils\",\"sap/base/util/deepClone\",\"sap/base/util/deepExtend\",\"sap/base/Log\"],(e,jQuery,o,t,r,s,a,n)=>{\"use strict\";const i=\"sap.ushell.services.Bookmark\";const c=\"X-SAP-UI2-HANA:hana?remoteId=HANA_CATALOG\";const l=t.ContentNodeType;function u(){this._oLaunchPageServicePromise=sap.ushell.Container.getServiceAsync(\"LaunchPage\");if(o.last(\"/core/spaces/enabled\")){this._oPagesServicePromise=sap.ushell.Container.getServiceAsync(\"Pages\")}this._addBookmarkToContentNodes=function(e,o,t,r){const s=o.map(o=>{if(o&&o.hasOwnProperty(\"type\")&&o.isContainer){switch(o.type){case l.Page:return this.addBookmarkToPage(e,o.id,r);case l.HomepageGroup:return new Promise((e,t)=>{this._oLaunchPageServicePromise.then(r=>{r.getGroupById(o.id).done(e).fail(t)})}).then(o=>this.addBookmarkToHomepageGroup(e,o,t,r));default:return Promise.reject(`Bookmark Service: The API needs to be called with a valid content node type. '${o.type}' is not supported.`)}}return Promise.reject(\"Bookmark Service: Not a valid content node.\")});return Promise.all(s)};this.addBookmark=function(e,t,r){const s=new jQuery.Deferred;const a=o.last(\"/core/shell/enablePersonalization\");const c=o.last(\"/core/spaces/enabled\");const l=o.last(\"/core/spaces/myHome/enabled\");if(!a&&(!c||!l)){return s.resolve().promise()}this._checkBookmarkParameters(e).then(()=>this._changeUrlStatesToPersistent(e.url)).then(o=>{e.url=o;if(typeof t===\"undefined\"&&c){return sap.ushell.Container.getServiceAsync(\"Menu\").then(e=>e.getDefaultSpace()).then(e=>{const o=e&&e.children&&e.children[0];return o}).then(o=>this._addBookmarkToContentNodes(e,[o],false,r))}if((typeof t===\"undefined\"||!t.hasOwnProperty(\"type\"))&&!Array.isArray(t)){return this.addBookmarkToHomepageGroup(e,t,false,r)}const s=[].concat(t);return this._addBookmarkToContentNodes(e,s,false,r)}).then(s.resolve).catch(e=>{n.error(\"Error during Bookmark creation: \",e,i);s.reject(e)});return s.promise()};this.addCustomBookmark=async function(e,o,t,r){const n=s(o);const i=a(n,{vizType:e,vizConfig:{\"sap.flp\":{chipConfig:n.chipConfig},\"sap.platform.runtime\":{includeManifest:!n.loadManifest}}});delete i.chipConfig;delete i.loadManifest;i.url=await this._changeUrlStatesToPersistent(i.url);const c=[].concat(t);return this._addBookmarkToContentNodes(i,c,true,r)};this.addBookmarkToHomepageGroup=function(t,r,s,a){if(o.last(\"/core/spaces/enabled\")){const e=\"Bookmark Service: The API is not available in spaces mode.\";return Promise.reject(e)}return new Promise((o,n)=>{this._oLaunchPageServicePromise.then(i=>{let c;if(s){c=i.addCustomBookmark(t,r,a)}else{c=i.addBookmark(t,r,a)}c.done(t=>{const s={tile:t,group:r};e.getInstance().publish(\"sap.ushell.services.Bookmark\",\"bookmarkTileAdded\",s);o()}).fail(n)})})};this.addBookmarkToPage=function(e,t,r){if(!o.last(\"/core/spaces/enabled\")){return Promise.reject(\"Bookmark Service: 'addBookmarkToPage' is not valid in launchpad home page mode, use 'addBookmark' instead.\")}const s=o.last(\"/core/shell/enablePersonalization\");const a=o.last(\"/core/spaces/myHome/enabled\");const n=o.last(\"/core/spaces/myHome/myHomePageId\");if(!s&&(!a||a&&t!==n)){return Promise.reject(\"Bookmark Service: Add bookmark is not allowed as the personalization functionality is not enabled.\")}if(e&&(typeof e.title!==\"string\"||typeof e.url!==\"string\")){return Promise.reject(\"Bookmark Service - Invalid bookmark data.\")}return this._oPagesServicePromise.then(o=>o.addBookmarkToPage(t,e,undefined,r))};this.addBookmarkByGroupId=function(e,t,r){const s=new jQuery.Deferred;if(o.last(\"/core/spaces/enabled\")){const e=\"Bookmark Service: The API 'addBookmarkByGroupId' is not supported in launchpad spaces mode.\";return s.reject(e).promise()}this._oLaunchPageServicePromise.then(o=>{o.getGroups().done(o=>{const a=o.find(e=>e.id===t)||null;this.addBookmark(e,a,r).done(s.resolve).fail(s.reject)}).fail(s.reject)}).catch(s.reject);return s.promise()};this.getShellGroupIDs=function(e){const t=new jQuery.Deferred;if(o.last(\"/core/spaces/enabled\")){const e=\"Bookmark Service: The API 'getShellGroupIDs' is not supported in launchpad spaces mode.\";return t.reject(e).promise()}this._oLaunchPageServicePromise.then(o=>{o.getGroupsForBookmarks(e).done(e=>{e=e.map(e=>({id:o.getGroupId(e.object),title:e.title}));t.resolve(e)}).fail(t.reject)});return t.promise()};this._doAddCatalogTileToGroup=function(e,o,t,r){this._oLaunchPageServicePromise.then(s=>{if(r){s.getGroups().fail(e.reject).done(a=>{const i=a.some(a=>{if(s.getGroupId(a)===r){this._addToGroup(t,e,o,a);return true}});if(!i){const o=`Group '${r}' is unknown`;n.error(o,null,\"sap.ushell.services.Bookmark\");e.reject(o)}})}else{s.getDefaultGroup().fail(e.reject).done(r=>{this._addToGroup(t,e,o,r)})}});return e.promise()};this._isSameCatalogTile=function(e,o,t){const r=t.getCatalogTileId(o);if(r===undefined){return false}return r.indexOf(e)===0};this._addToGroup=function(o,t,r,s){return this._oLaunchPageServicePromise.then(a=>{a.getCatalogTiles(o).fail(t.reject).done(i=>{const c=a.getGroupId(s);const l=i.some(o=>{if(this._isSameCatalogTile(r,o,a)){a.addTile(o,s).fail(t.reject).done(()=>{t.resolve();e.getInstance().publish(\"sap.ushell.services.Bookmark\",\"catalogTileAdded\",c)});return true}});if(!l){const e=`No tile '${r}' in catalog '${a.getCatalogId(o)}'`;n.error(e,null,\"sap.ushell.services.Bookmark\");t.reject(e)}})})};this.addCatalogTileToGroup=function(e,t,r){const s=new jQuery.Deferred;let a;n.error(\"Deprecated API call of 'sap.ushell.Bookmark.addCatalogTileToGroup'. Please use 'addBookmark' instead\",null,\"sap.ushell.services.Bookmark\");if(o.last(\"/core/spaces/enabled\")){a=\"Bookmark Service: The API 'addCatalogTileToGroup' is not supported in launchpad spaces mode.\";return s.reject(a).promise()}this._oLaunchPageServicePromise.then(o=>{const i=r?this._isMatchingRemoteCatalog:this._isLegacyHANACatalog;r=r||{id:c};o.onCatalogTileAdded(e);o.getCatalogs().fail(s.reject).done(c=>{let l;c.forEach(e=>{if(i(e,r,o)){if(!l){l=e}else{n.warning(`More than one matching catalog: ${JSON.stringify(r)}`,null,\"sap.ushell.services.Bookmark\")}}});if(l){this._doAddCatalogTileToGroup(s,e,l,t)}else{a=`No matching catalog found: ${JSON.stringify(r)}`;n.error(a,null,\"sap.ushell.services.Bookmark\");s.reject(a)}})});return s.promise()};this._checkBookmarkParameters=async function(e){if(!e){throw new Error(\"Invalid Bookmark Data: No bookmark parameters passed.\")}const o=e.dataSource;let t;if(o){if(o.type!==\"OData\"){throw new Error(`Invalid Bookmark Data: Unknown data source type: ${o.type}`)}t=o.settings&&o.settings.odataVersion;const e=[\"2.0\",\"4.0\"];if(!e.includes(t)){throw new Error(`Invalid Bookmark Data: Unknown OData version in the data source: ${t}`)}}if(e.serviceUrl){return sap.ushell.Container.getServiceAsync(\"ReferenceResolver\").then(t=>{if(t.hasSemanticDateRanges(e.serviceUrl)&&!o){throw new Error(\"Invalid Bookmark Data: Provide a data source to use semantic date ranges.\")}})}};this._isMatchingRemoteCatalog=function(e,o,t){const r=t.getCatalogData(e);return r.remoteId===o.remoteId&&r.baseUrl.replace(/\\/$/,\"\")===o.baseUrl.replace(/\\/$/,\"\")};this._isLegacyHANACatalog=function(e,o,t){return t.getCatalogId(e)===c};this.countBookmarks=function(e,t){const r=new jQuery.Deferred;if(o.last(\"/core/spaces/enabled\")){this._oPagesServicePromise.then(o=>o.countBookmarks({url:e,contentProviderId:t})).then(r.resolve,r.reject)}else{this._oLaunchPageServicePromise.then(o=>{o.countBookmarks(e,t).done(r.resolve).fail(r.reject)})}return r.promise()};this.countCustomBookmarks=async function(e){if(!e||!e.url||!e.vizType){return Promise.reject(\"countCustomBookmarks: Some required parameters are missing.\")}if(o.last(\"/core/spaces/enabled\")){const o=await this._oPagesServicePromise;return o.countBookmarks(e)}const t=await this._oLaunchPageServicePromise;return t.countCustomBookmarks(e)};this.deleteBookmarks=function(t,r){const s=new jQuery.Deferred;if(o.last(\"/core/spaces/enabled\")){this._oPagesServicePromise.then(e=>e.deleteBookmarks({url:t,contentProviderId:r})).then(s.resolve,s.reject)}else{this._oLaunchPageServicePromise.then(o=>{o.deleteBookmarks(t,r).done(o=>{e.getInstance().publish(\"sap.ushell.services.Bookmark\",\"bookmarkTileDeleted\",t);s.resolve(o)}).fail(s.reject)})}return s.promise()};this.deleteCustomBookmarks=function(t){if(!t||!t.url||!t.vizType){return Promise.reject(\"deleteCustomBookmarks: Some required parameters are missing.\")}if(o.last(\"/core/spaces/enabled\")){return this._oPagesServicePromise.then(e=>e.deleteBookmarks(t))}return this._oLaunchPageServicePromise.then(e=>e.deleteCustomBookmarks(t)).then(o=>{e.getInstance().publish(\"sap.ushell.services.Bookmark\",\"bookmarkTileDeleted\",t.url);return o})};this.updateBookmarks=function(e,t,r){const s=new jQuery.Deferred;if(o.last(\"/core/spaces/enabled\")){Promise.all([this._oPagesServicePromise,this._changeUrlStatesToPersistent(t.url)]).then(([o,s])=>{t.url=s;return o.updateBookmarks({url:e,contentProviderId:r},t)}).then(s.resolve,s.reject)}else{Promise.all([this._oLaunchPageServicePromise,this._changeUrlStatesToPersistent(t.url)]).then(([o,a])=>{t.url=a;o.updateBookmarks(e,t,r).done(s.resolve).fail(s.reject)})}return s.promise()};this.updateCustomBookmarks=async function(e,t){if(!e||!e.url||!e.vizType){return Promise.reject(\"deleteCustomBookmarks: Some required parameters are missing.\")}const r=a({},t,{vizConfig:{\"sap.flp\":{chipConfig:t.chipConfig},\"sap.platform.runtime\":{includeManifest:!t.loadManifest}}});delete r.chipConfig;delete r.loadManifest;r.url=await this._changeUrlStatesToPersistent(r.url);if(o.last(\"/core/spaces/enabled\")){return this._oPagesServicePromise.then(o=>o.updateBookmarks(e,r))}return this._oLaunchPageServicePromise.then(o=>o.updateCustomBookmarks(e,r))};this.getContentNodes=async function(){if(o.last(\"/core/spaces/enabled\")){const e=await sap.ushell.Container.getServiceAsync(\"Menu\");return e.getContentNodes()}return new Promise(async(e,o)=>{const t=await this._oLaunchPageServicePromise;t.getGroupsForBookmarks().done(o=>{const r=o.map(e=>({id:t.getGroupId(e.object),label:e.title,type:l.HomepageGroup,isContainer:true}));e(r)}).fail(o)})};this._changeUrlStatesToPersistent=async function(e){const o=await sap.ushell.Container.getServiceAsync(\"AppState\");const t=o.getPersistentWhenShared();if(o.getSupportedPersistencyMethods().length===0&&t!==true){return e}if(e&&e.length>0){return r.promisify(o.setAppStateToPublic(e))}return e}}u.hasNoAdapter=true;return u},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/BookmarkV2\", [\"sap/ui/core/EventBus\",\"sap/ushell/Config\",\"sap/ushell/library\",\"sap/base/util/deepClone\",\"sap/base/util/deepExtend\",\"sap/base/Log\",\"sap/ushell/utils\",\"sap/ushell/Container\"],(e,t,a,o,r,s,i,n)=>{\"use strict\";const c=\"sap.ushell.services.BookmarkV2\";const u=a.ContentNodeType;function d(){this._getLaunchPageService=function(){if(!this._oLaunchPageServicePromise){this._oLaunchPageServicePromise=n.getServiceAsync(\"LaunchPage\")}return this._oLaunchPageServicePromise};this._getPagesService=function(){if(!this._oPagesServicePromise){this._oPagesServicePromise=n.getServiceAsync(\"Pages\")}return this._oPagesServicePromise};this._addBookmarkToContentNodes=async function(e,t,a,o){const r=t.map(async t=>{if(t&&t.hasOwnProperty(\"type\")&&t.isContainer){if(t.type===u.Page){return this.addBookmarkToPage(e,t.id,o)}if(t.type===u.HomepageGroup){const r=await this._getLaunchPageService();const s=await i.promisify(r.getGroupById(t.id));return this.addBookmarkToHomepageGroup(e,s,a,o)}throw new Error(`Bookmark Service: The API needs to be called with a valid content node type. '${t.type}' is not supported.`)}throw new Error(\"Bookmark Service: Not a valid content node.\")});return Promise.all(r)};this.addBookmark=async function(e,a,r){const i=t.last(\"/core/shell/enablePersonalization\");const u=t.last(\"/core/spaces/enabled\");const d=t.last(\"/core/spaces/myHome/enabled\");if(!i&&(!u||!d)){return}try{await this._checkBookmarkParameters(e);const t=o(e,20);t.url=await this._changeUrlStatesToPersistent(t.url);if(typeof a===\"undefined\"&&u){const e=await n.getServiceAsync(\"Menu\");const a=await e.getDefaultSpace();const o=a&&a.children&&a.children[0];return this._addBookmarkToContentNodes(t,[o],false,r)}if((typeof a===\"undefined\"||!a.hasOwnProperty(\"type\"))&&!Array.isArray(a)){return this.addBookmarkToHomepageGroup(t,a,false,r)}const s=[].concat(a);return this._addBookmarkToContentNodes(t,s,false,r)}catch(e){s.error(\"Error during Bookmark creation: \",e,c);throw e}};this.addCustomBookmark=async function(e,t,a,s){const i=o(t);const n=r(i,{vizType:e,vizConfig:{\"sap.flp\":{chipConfig:i.chipConfig},\"sap.platform.runtime\":{includeManifest:!i.loadManifest}}});delete n.chipConfig;delete n.loadManifest;n.url=await this._changeUrlStatesToPersistent(n.url);const c=[].concat(a);return this._addBookmarkToContentNodes(n,c,true,s)};this.addBookmarkToHomepageGroup=async function(a,o,r,s){if(t.last(\"/core/spaces/enabled\")){throw new Error(\"Bookmark Service: The API is not available in spaces mode.\")}const n=await this._getLaunchPageService();let c;if(r){c=await i.promisify(n.addCustomBookmark(a,o,s))}else{c=await i.promisify(n.addBookmark(a,o,s))}const u={tile:c,group:o};e.getInstance().publish(\"sap.ushell.services.Bookmark\",\"bookmarkTileAdded\",u)};this.addBookmarkToPage=async function(e,a,o){if(!t.last(\"/core/spaces/enabled\")){throw new Error(\"Bookmark Servic Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Personalization\", [\"sap/base/Log\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/Object\",\"sap/ui/core/Core\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/utils\",\"sap/ushell/services/_Personalization/utils\",\"sap/ushell/services/_Personalization/constants\",\"sap/ushell/services/_Personalization/ContextContainer\",\"sap/ushell/services/PersonalizationV2/WindowAdapter\",\"sap/ushell/services/_Personalization/TransientPersonalizer\",\"sap/ushell/services/_Personalization/PersonalizationContainer\",\"sap/ushell/services/_Personalization/Personalizer\",\"sap/ushell/services/personalization/VariantSetAdapter\",\"sap/ushell/services/_Personalization/Variant\",\"sap/ushell/services/_Personalization/VariantSet\",\"sap/ushell/services/PersonalizationV2/WindowAdapterContainer\"],(e,t,n,r,jQuery,a,i,o,s,p,d,c,l,u,f,h,_)=>{\"use strict\";function A(e,t,n,r){this._oConfig=r&&r.config||{};this._oAppVariantAdapterWithBackendAdapter=this._configureAppVariantStorage(this._oConfig.appVariantStorage);this._oAdapterWithBackendAdapter={lazy:false,instance:new p(this,e)};this._oAdapterWindowOnly={lazy:false,instance:new p(this,undefined)};this._oContainerMap=new a.Map;this._oPendingOperationsMap=new a.Map}A.prototype.SAVE_DEFERRED_DROPPED=\"Deferred save dropped (OK) - Data superseded by subsequent save\";A.prototype.constants=o;A.prototype._configureAppVariantStorage=function(e){const t=this;const n=\"sap.ushell.adapters.AppVariantPersonalizationAdapter\";if(!e){e={adapter:{module:n}}}if(Object.keys(e).length===0||e.enabled===false){return}const r=e.adapter&&e.adapter.module||n;const a=r.split(\".\").join(\"/\");function i(){if(!t._oAppVariantAdapterLoadPromise){t._oAppVariantAdapterLoadPromise=new jQuery.Deferred;sap.ui.require([a],e=>{try{const n=new e;const r=new p(t,n);t._oAppVariantAdapterLoadPromise.resolve(r)}catch(e){t._oAppVariantAdapterLoadPromise.reject(e)}},e=>{t._oAppVariantAdapterLoadPromise.reject(e)})}return t._oAppVariantAdapterLoadPromise.promise()}return{lazy:true,create:i}};A.prototype.getGeneratedKey=function(){return a.generateRandomKey()};A.prototype.getPersonalizer=function(e,t,n){n=n||this._getApplicationComponent();return new l(this,this._oAdapterWithBackendAdapter.instance,e,t,n)};A.prototype._getApplicationComponent=function(){const e=t._sOwnerId;if(e){const t=r.getComponent(e);if(n.isA(t,\"sap.ui.core.UIComponent\")){return t}}return undefined};A.prototype.getTransientPersonalizer=function(){return new d};A.prototype.getContainer=function(e,t,n){n=n||this._getApplicationComponent();return this._createContainer(e,t,false,n)};A.prototype.createEmptyContainer=function(e,t,n){n=n||this._getApplicationComponent();return this._createContainer(e,t,true,n)};A.prototype._createContainer=function(e,t,n,r){const o=new jQuery.Deferred;if(typeof e!==\"string\"){throw new a.Error(\"sContainerKey is not a string: sap.ushell.services.Personalization\",\" \")}const p=!!(i.isAppVariant(r)&&(!t||!t.shared)&&this._oAppVariantAdapterWithBackendAdapter);const d=i.adjustScope(t);let c=i.addContainerPrefix(e);if(p){const e=r.getManifestObject();d.component=r;d.appVarId=e.getEntry(\"/sap.ui5/appVariantId\");d.appVersion=e.getEntry(\"/sap.app/applicationVersion/version\");c+=`#${e.getEntry(\"/sap.ui5/appVariantId\")}`}const l=p?this._oAppVariantAdapterWithBackendAdapter:this._oAdapterWithBackendAdapter;const u=this._oAdapterWindowOnly;const f=i.pickAdapter(t,u,l);i.loadAdapter(f).then(e=>{let t;const a=new s(this,e,c,d,r);const i=e&&e.supportsGetWithoutSubsequentLoad===true;if(n&&i){t=new jQuery.Deferred;t.resolve(a)}else{t=a.load()}t.fail(()=>{o.reject()}).done(()=>{if(n||a._isExpired()){a.clear()}o.resolve(a)})},o.reject);return o.promise()};A.prototype.delContainer=function(e,t){let n={};let r=\"\";t=this._adjustScope(t);r=i.addContainerPrefix(e);n=new jQuery.Deferred;const a=this._pendingContainerOperations_cancelAddNext(e,null);a.always(()=>{this.getContainer(e,t).fail(()=>{this._pendingContainerOperations_cancelAddNext(e,n);n.reject()}).done(()=>{this._pendingContainerOperations_cancelAddNext(e,n);const a=t.validity===0?this._oAdapterWindowOnly:this._oAdapterWithBackendAdapter;i.loadAdapter(a).then(e=>{e.delAdapterContainer(r,t).fail(n.reject).done(n.resolve)},n.reject)})});return n.promise()};A.prototype._pendingContainerOperations_flushAddNext=function(e,t){let n=this._oPendingOperationsMap.get(e);if(!n){n=new jQuery.Deferred;n.resolve()}if(t!==null){this._oPendingOperationsMap.put(e,t)}if(!n||n.state()!==\"pending\"){return n}clearTimeout(n._sapTimeoutId);n._sapTimeoutId=undefined;if(typeof n._sapFnSave===\"function\"){const e=n._sapFnSave;n._sapFnSave=undefined;e()}return n};A.prototype._pendingContainerOperations_cancelAddNext=function(e,t){let n=this._oPendingOperationsMap.get(e);if(!n){n=new jQuery.Deferred;n.resolve()}if(t!==null){this._oPendingOperationsMap.put(e,t)}if(!n||n.state()!==\"pending\"){return n}if(n._sapTimeoutId){clearTimeout(n._sapTimeoutId);n._sapTimeoutId=undefined;n.resolve(A.prototype.SAVE_DEFERRED_DROPPED)}return n};A.prototype.getPersonalizationContainer=function(e){if(typeof e!==\"string\"){throw new a.Error(\"sContainerKey is not a string: sap.ushell.services.Personalization\",\" \")}const t=i.addContainerPrefix(e);if(this._oContainerMap.containsKey(t)){return this._oContainerMap.get(t).promise()}const n=new jQuery.Deferred;const r=new c(this._oAdapterWithBackendAdapter.instance,t);r.done(n.resolve).fail(n.reject);this._oContainerMap.put(t,n);return n.promise()};A.prototype.delPersonalizationContainer=function(e){const t=i.addContainerPrefix(e);const n=new jQuery.Deferred;this.getPersonalizationContainer(e).fail(n.reject).done(()=>{this._oAdapterWithBackendAdapter.instance.delAdapterContainer(t).fail(n.reject).done(()=>{this._oContainerMap.remove(t);n.resolve()})});return n.promise()};A.prototype._getBackendAdapter=function(){return this._oAdapterWithBackendAdapter.instance._oBackendAdapter};A.prototype.resetEntirePersonalization=async function(){const e=this._getBackendAdapter();const t=await this.isResetEntirePersonalizationSupported();if(t){return e.resetEntirePersonalization()}return Promise.reject()};A.prototype.isResetEntirePersonalizationSupported=async function(){const t=this._getBackendAdapter();if(typeof t.resetEntirePersonalization!==\"function\"){return false}if(typeof t.isResetEntirePersonalizationSupported===\"function\"){try{const e=await t.isResetEntirePersonalizationSupported();return e}catch(t){e.error(`isResetEntirePersonalizationSupported failed with error: ${t.toString()}`);return Promise.reject(t)}}return true};A.prototype._adjustScope=i.adjustScope;A.hasNoAdapter=false;A.ContextContainer=s;A.Variant=f;A.VariantSet=h;A.VariantSetAdapter=u;A.WindowAdapter=p;A.WindowAdapterContainer=_;return A},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2\", [\"sap/base/Log\",\"sap/base/util/Deferred\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/Object\",\"sap/ui/core/Component\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/utils\",\"sap/ushell/services/PersonalizationV2/utils\",\"sap/ushell/services/PersonalizationV2/constants\",\"sap/ushell/services/PersonalizationV2/ContextContainer\",\"sap/ushell/services/PersonalizationV2/WindowAdapter\",\"sap/ushell/services/PersonalizationV2/TransientPersonalizer\",\"sap/ushell/services/PersonalizationV2/Personalizer\",\"sap/ushell/services/PersonalizationV2/VariantSetAdapter\",\"sap/ushell/services/PersonalizationV2/Variant\",\"sap/ushell/services/PersonalizationV2/VariantSet\",\"sap/ushell/services/PersonalizationV2/WindowAdapterContainer\"],(e,t,n,a,r,jQuery,i,o,s,p,d,c,u,l,f,h,A)=>{\"use strict\";function _(e,t,n,a){this._oConfig=a&&a.config||{};this._oAppVariantAdapterWithBackendAdapter=this._configureAppVariantStorage(this._oConfig.appVariantStorage);this._oAdapterWithBackendAdapter={lazy:false,instance:new d(this,e)};this._oAdapterWindowOnly={lazy:false,instance:new d(this,undefined)};this._oContainerMap=new i.Map;this._oPendingOperationsMap=new i.Map}_.prototype.SAVE_DEFERRED_DROPPED=\"Deferred save dropped (OK) - Data superseded by subsequent save\";_.prototype.constants=s;_.prototype.KeyCategory=s.keyCategory;_.prototype.WriteFrequency=s.writeFrequency;_.prototype._configureAppVariantStorage=function(e){const t=this;const n=\"sap.ushell.adapters.AppVariantPersonalizationAdapter\";if(!e){e={adapter:{module:n}}}if(Object.keys(e).length===0||e.enabled===false){return}const a=e.adapter&&e.adapter.module||n;const r=a.split(\".\").join(\"/\");function i(){if(!t._oAppVariantAdapterLoadPromise){t._oAppVariantAdapterLoadPromise=new jQuery.Deferred;sap.ui.require([r],e=>{try{const n=new e;const a=new d(t,n);t._oAppVariantAdapterLoadPromise.resolve(a)}catch(e){t._oAppVariantAdapterLoadPromise.reject(e)}},e=>{t._oAppVariantAdapterLoadPromise.reject(e)})}return t._oAppVariantAdapterLoadPromise.promise()}return{lazy:true,create:i}};_.prototype.getGeneratedKey=async function(){return i.generateRandomKey()};_.prototype.getPersonalizer=async function(e,t,n){n=n||this._getApplicationComponent();return new u(this,this._oAdapterWithBackendAdapter.instance,e,t,n)};_.prototype._getApplicationComponent=function(){const e=n._sOwnerId;if(e){const t=r.getComponentById(e);if(a.isObjectA(t,\"sap.ui.core.Component\")){return t}}return undefined};_.prototype.getTransientPersonalizer=async function(){return new c};_.prototype.getContainer=async function(e,t,n){n=n||this._getApplicationComponent();const a=await this._createContainer(e,t,false,n);return a};_.prototype.createEmptyContainer=async function(e,t,n){n=n||this._getApplicationComponent();const a=await this._createContainer(e,t,true,n);return a};_.prototype._createContainer=async function(e,t,n,a){if(typeof e!==\"string\"){throw new i.Error(\"sContainerKey is not a string: sap.ushell.services.Personalization\",\" \")}const r=!!(o.isAppVariant(a)&&(!t||!t.shared)&&this._oAppVariantAdapterWithBackendAdapter);const s=o.adjustScope(t);let d=o.addContainerPrefix(e);if(r){const e=a.getManifestObject();s.component=a;s.appVarId=e.getEntry(\"/sap.ui5/appVariantId\");s.appVersion=e.getEntry(\"/sap.app/applicationVersion/version\");d+=`#${e.getEntry(\"/sap.ui5/appVariantId\")}`}const c=r?this._oAppVariantAdapterWithBackendAdapter:this._oAdapterWithBackendAdapter;const u=this._oAdapterWindowOnly;const l=o.pickAdapter(t,u,c);const f=await o.loadAdapter(l);const h=new p(this,f,d,s,a);const A=f&&f.supportsGetWithoutSubsequentLoad===true;if(!(n&&A)){await h.load()}if(n||h.isExpired()){h.clearData()}return h};_.prototype.deleteContainer=function(t,n){let a=\"\";n=this._adjustScope(n);a=o.addContainerPrefix(t);const r=new jQuery.Deferred;const s=this._pendingContainerOperations_cancelAddNext(t,null);s.always(()=>{this.getContainer(t,n).then(()=>{this._pendingContainerOperations_cancelAddNext(t,r);const i=n.validity===0?this._oAdapterWindowOnly:this._oAdapterWithBackendAdapter;o.loadAdapter(i).then(t=>{t.delAdapterContainer(a,n).fail(t=>{e.error(\"Delete failed\",t);r.reject()}).done(r.resolve)},t=>{e.error(\"Delete failed\",t);r.reject()})}).catch(n=>{e.error(\"Delete failed\",n);this._pendingContainerOperations_cancelAddNext(t,r);r.reject()})});return i.promisify(r.promise())};_.prototype._pendingContainerOperations_flushAddNext=function(e,t){let n=this._oPendingOperationsMap.get(e);if(!n){n=new jQuery.Deferred;n.resolve()}if(t!==null){this._oPendingOperationsMap.put(e,t)}if(!n||n.state()!==\"pending\"){return n}clearTimeout(n._sapTimeoutId);n._sapTimeoutId=undefined;if(typeof n._sapFnSave===\"function\"){const e=n._sapFnSave;n._sapFnSave=undefined;e()}return n};_.prototype._pendingContainerOperations_cancelAddNext=function(e,t){let n=this._oPendingOperationsMap.get(e);if(!n){n=new jQuery.Deferred;n.resolve()}if(t!==null){this._oPendingOperationsMap.put(e,t)}if(!n||n.state()!==\"pending\"){return n}if(n._sapTimeoutId){clearTimeout(n._sapTimeoutId);n._sapTimeoutId=undefined;n.resolve(_.prototype.SAVE_DEFERRED_DROPPED)}return n};_.prototype._getBackendAdapter=function(){return this._oAdapterWithBackendAdapter.instance._oBackendAdapter};_.prototype.resetEntirePersonalization=async function(){const e=this._getBackendAdapter();const t=await this.isResetEntirePersonalizationSupported();if(t){return e.resetEntirePersonalization()}return Promise.reject()};_.prototype.isResetEntirePersonalizationSupported=async function(){const t=this._getBackendAdapter();if(typeof t.resetEntirePersonalization!==\"function\"){return false}if(typeof t.isResetEntirePersonalizationSupported===\"function\"){try{const e=await t.isResetEntirePersonalizationSupported();return e}catch(t){e.error(\"isResetEntirePersonalizationSupported failed with error:\",t);return Promise.reject(t)}}return true};_.prototype._adjustScope=o.adjustScope;_.hasNoAdapter=false;_.ContextContainer=p;_.Variant=f;_.VariantSet=h;_.VariantSetAdapter=l;_.WindowAdapter=d;_.WindowAdapterContainer=A;return _});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/ContextContainer\", [\"sap/ushell/utils\",\"sap/ushell/services/PersonalizationV2/utils\",\"sap/ushell/services/PersonalizationV2/constants.private\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/UIComponent\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(t,e,n,i,o,jQuery,r)=>{\"use strict\";function a(){this._init.apply(this,arguments)}a.prototype._init=function(t,n,i,r,a){this._oService=t;this._sContainerKey=i;this._oAdapterContainer={};this._oScope=r||e.adjustScope(r);this._aLoadedKeys=[];this._oUnmodifiableContainer=undefined;let s;if(!(a instanceof o)&&a!==undefined){throw new Error(\"oComponent passed is not a UI5 Component and not undefined\")}if(a&&a.getMetadata&&a.getMetadata().getComponentName){s=a.getMetadata().getComponentName()}this.clearData();if(!this._sContainerKey||typeof this._sContainerKey!==\"string\"){throw new Error(\"Invalid container key: sap.ushell.services.PersonalizationV2\")}this._oAdapterContainer=n.getAdapterContainer(this._sContainerKey,this._oScope,s);return this};a.prototype._getValidity=function(){return this._oScope.validity};a.prototype.clearData=function(){this._oItemMap={};this._aLoadedItemKeys=[];this._clear=true;this._oItemMap=new t.Map};a.prototype.load=function(){const e=new jQuery.Deferred;if(!this._sContainerKey){throw new Error(\"Invalid container key: sap.ushell.services.PersonalizationV2\")}this.clearData();const n=this._oService._pendingContainerOperations_flushAddNext(this._sContainerKey,e);const i=this;n.always(()=>{i._oAdapterContainer.load().fail(()=>{e.reject()}).done(()=>{i._copyFromAdapter();if(i.isExpired()){i.clearData()}e.resolve()})});return t.promisify(e.promise())};a.prototype._copyFromAdapter=function(){const t=this._oAdapterContainer.getItemKeys().splice(0);t.forEach(t=>{this._oItemMap.put(t,JSON.stringify(this._oAdapterContainer.getItemValue(t)))});this._aLoadedItemKeys=this._oItemMap.keys().splice(0)};a.prototype.isExpired=function(){if(this._getValidity()===Infinity||this._getValidity()===0){return false}const t=this._getItemValueInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_EXPIRE);const e=i.getDateInstance({pattern:n.S_ABAPTIMESTAMPFORMAT});const o=e.format(new Date,true);return t&&o>t};a.prototype._copyToAdapterUpdatingValidity=function(){let t=[];if(this._clear){t=this._oAdapterContainer.getItemKeys().splice(0);t.forEach(t=>{this._oAdapterContainer.delItem(t)});this._clear=false}if(this._getValidity()===Infinity||this._getValidity()===0){this._delItemInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_SCOPE);this._delItemInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_EXPIRE);this._delItemInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_STORAGE)}else{const t=i.getDateInstance({pattern:n.S_ABAPTIMESTAMPFORMAT});const e=new Date;const o=t.format(e,true);const r=t.format(new Date(e.getTime()+this._getValidity()*6e4),true);this._setItemValueInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_SCOPE,this._oScope);this._setItemValueInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_EXPIRE,r);this._setItemValueInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_STORAGE,o)}t=this._oItemMap.keys();t.forEach(t=>{this._oAdapterContainer.setItemValue(t,e.cloneToObject(this._oItemMap.get(t)))});const o=this._aLoadedItemKeys.filter(e=>!(t.indexOf(e)>-1));o.forEach(t=>{this._oAdapterContainer.delItem(t)})};a.prototype.save=function(e){this._copyToAdapterUpdatingValidity();const n=new jQuery.Deferred;const i=this._oService._pendingContainerOperations_cancelAddNext(this._sContainerKey,n);const o=this;function r(){i.always(()=>{try{o._oAdapterContainer.save().fail(()=>{n.reject()}).done(()=>{n.resolve()})}catch(t){n.reject()}})}n._sapFnSave=r;n._sapTimeoutId=setTimeout(r,e);return t.promisify(n.promise())};a.prototype.flushPendingRequests=function(){this._copyToAdapterUpdatingValidity();const e=new jQuery.Deferred;const n=this._oService._pendingContainerOperations_flushAddNext(this._sContainerKey,e);n.fail(()=>{e.reject()}).done(()=>{e.resolve()});return t.promisify(e.promise())};a.prototype.getItemKeys=function(){const t=this._oItemMap.keys().filter(t=>t.startsWith(n.S_ITEM_PREFIX));return t.map(t=>t.replace(n.S_ITEM_PREFIX,\"\",\"\"))};a.prototype._getInternalKeys=function(){return this._oItemMap.keys().splice(0)};a.prototype.getItemValue=function(t){return this._getItemValueInternal(n.S_ITEM_PREFIX,t)};a.prototype._getItemValueInternal=function(t,n){if(typeof n!==\"string\"||typeof t!==\"string\"){return}return e.cloneToObject(this._oItemMap.get(t+n))};a.prototype.containsItem=function(t){if(typeof t!==\"string\"){return undefined}return this._oItemMap.containsKey(n.S_ITEM_PREFIX+t)};a.prototype.setItemValue=function(t,e){this._setItemValueInternal(n.S_ITEM_PREFIX,t,e)};a.prototype._setItemValueInternal=function(t,e,n){if(typeof e!==\"string\"||typeof t!==\"string\"){throw Error(\"Parameter value of sItemKey or sItemValue is not a string: sap.ushell.services.PersonalizationV2\")}if(e.length>40){r.error(`Personalization Service item key/variant set name (\"${e}\") should be less than 40 characters [current :${e.length}]`)}this._oItemMap.put(t+e,JSON.stringify(n))};a.prototype.deleteItem=function(t){this._delItemInternal(n.S_ITEM_PREFIX,t)};a.prototype._delItemInternal=function(t,e){if(typeof e!==\"string\"){return}if(typeof t!==\"string\"){return}this._oItemMap.remove(t+e)};a.prototype.getKey=function(){return this._sContainerKey.substring(n.S_CONTAINER_PREFIX.length)};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/Personalizer\", [\"sap/ushell/utils\",\"sap/base/Log\"],(e,t)=>{\"use strict\";function r(e,t,r,i,n){this._sPersContainer=\"\";this._sPersItem=\"\";this._sPersVariant=null;this._oAdapter=t;this._oPersonalizationService=e;this._oScope=i;this._oComponent=n;if(!r||!r.container||!r.item||typeof r.container!==\"string\"||typeof r.item!==\"string\"){throw new Error(\"Invalid input for oPersId: sap.ushell.services.Personalization\")}this._sPersContainer=r.container;this._sPersItem=r.item}r.prototype._getContainer=function(e){if(!this._oGetContainerPromise){this._oGetContainerPromise=this._oPersonalizationService.getContainer(e,this._oScope,this._oComponent)}return this._oGetContainerPromise};r.prototype.getPersData=function(){return this._getContainer(this._sPersContainer).then(e=>e.getItemValue(this._sPersItem)).catch(e=>{t.error(`Failed to get personalization data for Personalizer container: ${this._sPersContainer}`,e);return Promise.reject()})};r.prototype.setPersData=function(r){return this._getContainer(this._sPersContainer).then(t=>{t.setItemValue(this._sPersItem,r);return e.promisify(t.save())}).catch(e=>{t.error(`Failed to get personalization data for Personalizer container: ${this._sPersContainer}`,e);return Promise.reject()})};r.prototype.deletePersData=function(){return this._getContainer(this._sPersContainer).then(t=>{t.deleteItem(this._sPersItem);return e.promisify(t.save())}).catch(e=>{t.error(`Fail to delete Personalization data for Personalizer container: ${this._sPersContainer}`,e);return Promise.reject()})};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/TransientPersonalizer\", [],()=>{\"use strict\";function e(){this._oValue=undefined}e.prototype.getPersData=async function(){return this._oValue};e.prototype.setPersData=async function(e){this._oValue=e};e.prototype.deletePersData=async function(){this._oValue=undefined};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/Variant\", [\"sap/ushell/services/PersonalizationV2/utils\"],t=>{\"use strict\";function a(t,a,e){if(typeof a!==\"string\"){throw new Error(\"Parameter value of sVariantKey is not a string: sap.ushell.services.Personalization\")}if(typeof e!==\"string\"){throw new Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\")}this._oVariantSet=t;this._sVariantKey=a;this._sVariantName=e}a.prototype.getVariantKey=function(){return this._sVariantKey};a.prototype.getVariantName=function(){return this._sVariantName};a.prototype.setVariantName=function(t){const a=this._oVariantSet._getVariantSet();if(typeof t!==\"string\"){throw new Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\")}if(this._oVariantSet.getVariantKeyByName(t)!==undefined){throw new Error(`Variant with name '${t}' already exists in variant set '${this._oVariantSet._sVariantSetKey}': sap.ushell.services.Personalization\"`)}if(Object.hasOwn(a,\"variants\")&&Object.hasOwn(a.variants,this._sVariantKey)){const e=a.variants[this._sVariantKey];e.name=t;this._sVariantName=t;this._oVariantSet._serialize()}else{throw new Error(\"Variant does not longer exist\")}};a.prototype.getItemValue=function(a){if(typeof a!==\"string\"){return}const e=this._oVariantSet._getVariantSet().variants[this._sVariantKey].variantData;if(!Object.hasOwn(e,a)){return}return t.clone(e[a])};a.prototype.setItemValue=function(a,e){if(typeof a!==\"string\"){throw new Error(\"Parameter value of sItemKey is not a string: sap.ushell.services.Personalization\")}const i=this._oVariantSet._getVariantSet().variants&&this._oVariantSet._getVariantSet().variants[this._sVariantKey];if(!i){throw new Error(\"Variant does not longer exist\")}if(!i.variantData){i.variantData={}}const r=i.variantData;r[a]=t.clone(e);this._oVariantSet._serialize()};a.prototype.containsItem=function(t){if(typeof t!==\"string\"){return undefined}const a=this._oVariantSet._getVariantSet().variants[this._sVariantKey].variantData;return Object.hasOwn(a,t)};a.prototype.getItemKeys=function(){const t=this._oVariantSet._getVariantSet().variants[this._sVariantKey].variantData;let a;const e=[];for(a in t){if(Object.hasOwn(t,a)){e.push(a)}}e.sort();return e};a.prototype.deleteItem=function(t){if(typeof t!==\"string\"){return}const a=this._oVariantSet._getVariantSet().variants[this._sVariantKey].variantData;delete a[t];this._oVariantSet._serialize()};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/VariantSet\", [\"sap/ushell/utils\",\"sap/ushell/services/PersonalizationV2/constants.private\",\"sap/ushell/services/PersonalizationV2/Variant\"],(t,a,e)=>{\"use strict\";function n(e,n){let r;const i=new t.Map;this._oContextContainer=n;this._sVariantSetKey=e;this._oVariantSetData=this._oContextContainer._getItemValueInternal(a.S_VARIANT_PREFIX,this._sVariantSetKey);if(!Object.hasOwn(this._oVariantSetData,\"currentVariant\")){throw new Error(\"Corrupt variant set data: sap.ushell.services.Personalization\")}if(Object.hasOwn(this._oVariantSetData,\"variants\")){for(r in this._oVariantSetData.variants){if(Object.hasOwn(this._oVariantSetData.variants,r)){const t=this._oVariantSetData.variants[r].name;const a=this._oVariantSetData.variants[r].variantData;if(i.containsKey(t)){throw new Error(\"Variant name already exists: sap.ushell.services.Personalization\")}else{if(typeof r!==\"string\"){throw new Error(\"Parameter value of sVariantKey is not a string: sap.ushell.services.Personalization\")}if(typeof t!==\"string\"){throw new Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\")}if(a&&typeof a!==\"object\"){throw Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\")}i.put(t,r)}}}}else{throw new Error(\"Corrupt variant set data: sap.ushell.services.Personalization\")}return this}n.prototype._getVariantSet=function(){return this._oVariantSetData};n.prototype._serialize=function(){this._oContextContainer._setItemValueInternal(a.S_VARIANT_PREFIX,this._sVariantSetKey,this._oVariantSetData)};n.prototype.getCurrentVariantKey=function(){return this._getVariantSet().currentVariant};n.prototype.setCurrentVariantKey=function(t){this._getVariantSet().currentVariant=t;this._serialize()};n.prototype.getVariantKeys=function(){const a=new t.Map;const e=this._getVariantSet(this._sVariantSetKey);let n;if(Object.hasOwn(e,\"variants\")){for(n in e.variants){if(Object.hasOwn(e.variants,n)){a.put(n,\"dummy\")}}}else{throw new Error(\"Corrupt variant set data: sap.ushell.services.Personalization\")}return a.keys()};n.prototype.getVariantNamesAndKeys=function(){const a=new t.Map;const e=new t.Map;const n=this._getVariantSet(this._sVariantSetKey);let r;if(Object.hasOwn(n,\"variants\")){for(r in n.variants){if(Object.hasOwn(n.variants,r)){const t=n.variants[r].name;if(a.containsKey(t)){throw new Error(\"Variant name already exists: sap.ushell.services.Personalization\")}else{a.put(t,r)}e.put(r,\"dummy\")}}}else{throw new Error(\"Corrupt variant set data: sap.ushell.services.Personalization\")}return a.entries};n.prototype.getVariant=function(t){if(typeof t!==\"string\"){return undefined}const a=this._getVariantSet(this._sVariantSetKey);if(Object.hasOwn(a,\"variants\")&&Object.hasOwn(a.variants,t)){const n=a.variants[t].name;const r=a.variants[t].variantData;const i=new e(this,t,n,r);return i}return undefined};n.prototype.getVariantKeyByName=function(t){if(typeof t!==\"string\"){return undefined}const a=this._getVariantSet(this._sVariantSetKey);let e;if(Object.hasOwn(a,\"variants\")){for(e in a.variants){if(Object.hasOwn(a.variants,e)){if(t===a.variants[e].name){return e}}}}else{throw new Error(\"Corrupt variant set data: sap.ushell.services.Personalization\")}return undefined};n.prototype.containsVariant=function(t){const a=this._getVariantSet();if(typeof t!==\"string\"){return undefined}return Object.hasOwn(a,\"variants\")&&Object.hasOwn(a.variants,t)};n.prototype.addVariant=function(t){const a=this.getVariantKeys();const n=parseInt(a.sort((t,a)=>t-a).reverse()[0],10);const r=isNaN(n)?\"0\":(n+1).toString();if(a.indexOf(r)>=0){throw new Error(`Variant key '${r}' already exists in variant set '${this._sVariantSetKey}': sap.ushell.services.Personalization`)}if(typeof t!==\"string\"){throw new Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\")}if(this.getVariantKeyByName(t)!==undefined){const a=`(Old key: '${this.getVariantKeyByName(t)}' New key: '${r}')`;throw new Error(`Variant name '${t}' already exists in variant set '${this._sVariantSetKey}' ${a}: sap.ushell.services.Personalization`)}const i=new e(this,r,t);this._getVariantSet(this._sVariantSetKey).variants[r]={name:t,variantData:{}};this._serialize();return i};n.prototype.deleteVariant=function(t){if(typeof t!==\"string\"){return}const a=this._getVariantSet();if(a&&a.variants){delete this._oVariantSetData.variants[t]}this._serialize()};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/VariantSetAdapter\", [\"sap/ushell/services/PersonalizationV2/constants.private\",\"sap/ushell/services/PersonalizationV2/VariantSet\"],(t,n)=>{\"use strict\";function e(t){this._oContextContainer=t}e.prototype.save=function(){return this._oContextContainer.save()};e.prototype.getVariantSetKeys=function(){const n=this._oContextContainer._getInternalKeys();const e=n.map(n=>n.replace(t.S_VARIANT_PREFIX,\"\",\"\"));return e};e.prototype.containsVariantSet=function(t){return this.getVariantSetKeys().indexOf(t)>=0};e.prototype.getVariantSet=function(e){const o=this._oContextContainer._getItemValueInternal(t.S_VARIANT_PREFIX,e);if(!o){return}return new n(e,this._oContextContainer)};e.prototype.addVariantSet=function(e){if(this.containsVariantSet(e)){throw new Error(`Container already contains a variant set with key '${e}': sap.ushell.services.Personalization`)}const o={currentVariant:null,variants:{}};this._oContextContainer._setItemValueInternal(t.S_VARIANT_PREFIX,e,o);const a=new n(e,this._oContextContainer);return a};e.prototype.deleteVariantSet=function(n){this._oContextContainer._delItemInternal(t.S_VARIANT_PREFIX,n)};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/WindowAdapter\", [\"sap/ui/thirdparty/jquery\",\"sap/ushell/services/PersonalizationV2/WindowAdapterContainer\"],(jQuery,e)=>{\"use strict\";function t(e,t){this._oBackendAdapter=t;if(t){this.supportsGetWithoutSubsequentLoad=t.supportsGetWithoutSubsequentLoad}}t.prototype.data={};t.prototype.getAdapterContainer=function(r,o,n){const a=this._oBackendAdapter&&this._oBackendAdapter.getAdapterContainer(r,o,n);return new e(r,o,a,t)};t.prototype.delAdapterContainer=function(e,r){const o=new jQuery.Deferred;delete t.prototype.data[e];if(this._oBackendAdapter){this._oBackendAdapter.delAdapterContainer(e,r).done(()=>{o.resolve()}).fail(e=>{o.reject(e)})}else{o.resolve()}return o.promise()};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/WindowAdapterContainer\", [\"sap/ushell/utils\",\"sap/ushell/services/PersonalizationV2/utils\",\"sap/ui/thirdparty/jquery\"],(e,t,jQuery)=>{\"use strict\";function n(t,n,o,i){this._oBackendContainer=o;this._oItemMap=new e.Map;this._sContainerKey=t;this.WindowAdapter=i}function o(e){let t;const n=e.getItemKeys();for(t=0;t<n.length;t=t+1){e.delItem(n[t])}}n.prototype.load=function(){const e=new jQuery.Deferred;let n;let i;if(this.WindowAdapter.prototype.data[this._sContainerKey]){this._oItemMap.entries=t.clone(this.WindowAdapter.prototype.data[this._sContainerKey]);if(this._oBackendContainer){o(this._oBackendContainer);i=this.getItemKeys();for(n=0;n<i.length;n=n+1){this._oBackendContainer.setItemValue(i[n],this._oItemMap.get(i[n]))}}e.resolve()}else if(this._oBackendContainer){const o=this;this._oBackendContainer.load().done(()=>{i=o._oBackendContainer.getItemKeys();for(n=0;n<i.length;n=n+1){o.setItemValue(i[n],o._oBackendContainer.getItemValue(i[n]))}this.WindowAdapter.prototype.data[o._sContainerKey]=t.clone(o._oItemMap.entries);e.resolve()}).fail(t=>{e.reject(t)})}else{this.WindowAdapter.prototype.data[this._sContainerKey]={};e.resolve()}return e.promise()};n.prototype.save=function(){const e=new jQuery.Deferred;this.WindowAdapter.prototype.data[this._sContainerKey]=t.clone(this._oItemMap.entries);if(this._oBackendContainer){this._oBackendContainer.save().done(()=>{e.resolve()}).fail(t=>{e.reject(t)})}else{e.resolve()}return e.promise()};n.prototype.getItemKeys=function(){return this._oItemMap.keys()};n.prototype.containsItem=function(e){return this._oItemMap.containsKey(e)};n.prototype.getItemValue=function(e){return this._oItemMap.get(e)};n.prototype.setItemValue=function(e,t){this._oItemMap.put(e,t);if(this._oBackendContainer){this._oBackendContainer.setItemValue(e,t)}};n.prototype.delItem=function(e){this._oItemMap.remove(e);if(this._oBackendContainer){this._oBackendContainer.delItem(e)}};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/constants\", [],()=>{\"use strict\";const E={FIXED_KEY:\"FIXED_KEY\",GENERATED_KEY:\"GENERATED_KEY\"};const e={HIGH:\"HIGH\",LOW:\"LOW\"};return{keyCategory:E,writeFrequency:e}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/constants.private\", [],()=>{\"use strict\";return{S_CONTAINER_PREFIX:\"sap.ushell.personalization#\",S_ITEM_PREFIX:\"ITEM#\",S_VARIANT_PREFIX:\"VARIANTSET#\",S_ABAPTIMESTAMPFORMAT:\"yyyyMMddHHmmss\",S_ADMIN_PREFIX:\"ADMIN#\",S_ITEMKEY_SCOPE:\"sap-ushell-container-scope\",S_ITEMKEY_STORAGE:\"sap-ushell-container-storageUTCTimestamp\",S_ITEMKEY_EXPIRE:\"sap-ushell-container-expireUTCTimestamp\"}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PersonalizationV2/utils\", [\"sap/ushell/services/PersonalizationV2/constants\",\"sap/ushell/services/PersonalizationV2/constants.private\",\"sap/ushell/utils\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,t,n,jQuery,r)=>{\"use strict\";function i(e,t){let n;for(n in t){if(typeof t[n]!==\"function\"){if(t.hasOwnProperty(n)){if(n===e){return true}}}}return false}function a(e){if(e.length>40){r.error(`Personalization Service container key (\"${e}\") should be less than 40 characters [current :${e.length}]`)}return t.S_CONTAINER_PREFIX+e}function l(e,t,n){if(e&&e.validity===0){return t}return n}function o(t){const n={validity:Infinity,keyCategory:e.keyCategory.GENERATED_KEY,writeFrequency:e.writeFrequency.HIGH,clientStorageAllowed:false};if(t){n.validity=t.validity;if(n.validity===null||n.validity===undefined||typeof n.validity!==\"number\"){n.validity=Infinity}if(!(typeof n.validity===\"number\"&&(n.validity>=0&&n.validity<1e3||n.validity===Infinity))){n.liftime=Infinity}n.keyCategory=i(t.keyCategory,e.keyCategory)?t.keyCategory:n.keyCategory;n.writeFrequency=i(t.writeFrequency,e.writeFrequency)?t.writeFrequency:n.writeFrequency;if(typeof t.clientStorageAllowed===\"boolean\"&&(t.clientStorageAllowed===true||t.clientStorageAllowed===false)){n.clientStorageAllowed=t.clientStorageAllowed}}return n}function u(e){if(!e.lazy){return n.promisify(jQuery.when(e.instance))}try{return n.promisify(e.create.call(null))}catch(e){return Promise.reject(e)}}function f(e){if(!e){return false}const t=e.getManifestObject();if(!t){return false}const n=t.getEntry(\"/sap.ui5/appVariantId\");if(!n){return false}const r=t.getComponentName();if(n===r){return false}return true}function y(e){if(e===undefined){return undefined}try{return JSON.parse(e)}catch(e){return undefined}}function c(e){if(e===undefined){return undefined}try{return JSON.parse(JSON.stringify(e))}catch(e){return undefined}}return{adjustScope:o,cloneToObject:y,clone:c,addContainerPrefix:a,pickAdapter:l,isAppVariant:f,loadAdapter:u}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PluginManager\", [\"sap/base/Log\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/appIntegration/PostMessagePluginInterface\",\"sap/ushell/services/PluginManager/Extensions\",\"sap/ushell/UI5ComponentType\",\"sap/ushell/utils\",\"sap/ushell/Container\",\"sap/ushell/services/PluginManager/SimpleExpression\"],(e,jQuery,n,i,t,o,s,r)=>{\"use strict\";const a=\"sap.ushell.services.PluginManager\";const l=\"sap-ushell-plugin-type\";const u=\"RendererExtensions\";const g=\"sap.ushell.components.shell.defaults\";const c=[u,\"UserDefaults\",\"UserImage\",\"AppWarmup\"];function p(p,f,h){const d=this;this._oPluginCollection={};this._oCategoryLoadingProgress={};this._mInitializedComponentPromise={};this._sPluginAgentsNames=\"\";this._oConfig=h&&h.config||{};if(this._oConfig.isBlueBox===undefined){this._oConfig.isBlueBox=false}c.forEach(e=>{d._oPluginCollection[e]={};d._oCategoryLoadingProgress[e]=new jQuery.Deferred});this._handlePluginCreation=async function(n,i,t,s){const r=d._oPluginCollection[n][i];o.setPerformanceMark(`FLP -- PluginManager.loadPlugin[${n}][${i}]`);try{if(r.hasOwnProperty(\"component\")){if(d._mInitializedComponentPromise.hasOwnProperty(r.component)){d._mInitializedComponentPromise[r.component].then(()=>{d._instantiateComponent(r,t,s)},()=>{d._instantiateComponent(r,t,s)})}else{d._mInitializedComponentPromise[r.component]=d._instantiateComponent(r,t,s)}}else{e.error(`Invalid plugin configuration. The plugin ${i} must contain a <component> key`,a)}}catch(n){e.error(`Error while loading bootstrap plugin: ${r.component}`||\"\",a);if(t){t.reject(n)}}};this._getFileNameForXhrAuth=function(){return\"Component-preload.js\"};this._handleXhrAuthentication=function(n,i){let t;if(n&&[\"true\",true,\"X\"].indexOf(n[\"sap-ushell-xhr-authentication\"])>-1){if(!i){e.error([\"Illegal state: configuration parameter 'sap-ushell-xhr-authentication-timeout' set, but no component URL specified.\",\"XHR authentication request will not be sent. Please check the target mapping definitions for plug-ins\",\"and the application index.\"].join(\" \"),undefined,a);return jQuery.when()}if(n.hasOwnProperty(\"sap-ushell-xhr-authentication-timeout\")){t=parseInt(n[\"sap-ushell-xhr-authentication-timeout\"],10);if(isNaN(t)){e.error([\"Invalid value for configuration parameter 'sap-ushell-xhr-authentication-timeout' for plug-in component with URL '\",i,\"': '\",n[\"sap-ushell-xhr-authentication-timeout\"],\"' is not a number. Timeout will be ignored.\"].join(\"\"),undefined,a)}else{s.setXhrLogonTimeout(i,t)}}return jQuery.ajax(`${i}/${this._getFileNameForXhrAuth()}`,{dataType:\"text\"})}return jQuery.when()};this._instantiateComponent=function(n,o,r){const l=new jQuery.Deferred;const u=JSON.parse(JSON.stringify(n));const g={ui5ComponentName:u.component,url:u.url,getExtensions:i.bind(null,n.component)};function c(n){return function(i){n=n||`Cannot create UI5 plugin component: (componentId/appdescrId :${g.ui5ComponentName})\\n${i} properties ${JSON.stringify(g)}\\n This indicates a plugin misconfiguration, see e.g. Note 2316443.`;i=i||\"\";e.error(n,i.stack,a);if(o){o.reject.apply(this,arguments)}l.reject.apply(this,arguments)}}u.name=u.component;delete u.component;g.applicationDependencies=u;if(u.config){g.applicationConfiguration=u.config;delete u.config}g.loadDefaultDependencies=false;if(r!==undefined){g.oPostMessageInterface=r}s.getServiceAsync(\"Ui5ComponentLoader\").then(e=>{this._handleXhrAuthentication(g.applicationConfiguration,u.url).done(()=>{e.createComponent(g,{},[],t.Plugin).then(function(e){if(o){o.resolve(e)}l.resolve.apply(this,arguments)}).catch(c())}).fail(c(\"XHR logon for FLP plugin failed\"))}).catch(c());return l.promise()};this.getSupportedPluginCategories=function(){return JSON.parse(JSON.stringify(c))};this.getRegisteredPlugins=function(){return JSON.parse(JSON.stringify(this._oPluginCollection))};this.isPluginConfigured=function(e,n=u){if(!this._oPluginCollection[n]){return false}const i=new URLSearchParams(window.location.search).get(\"sap-ushell-xx-pluginmode\")||\"\";const t=this.filterPluginIds(Object.keys(this._oPluginCollection[n]),i,n);return t.includes(e)};this.registerPlugins=async function(n){let i;if(!n){return}if(this._oConfig.isBlueBox===true){i=new URLSearchParams(window.location.search).get(\"sap-plugins\");if(i&&i.length>0){i=`,${i},`}else{i=undefined}}const t=await this._addPluginsIntoCollection(n,i);try{if(this._oConfig.isBlueBox!==true){this._buildNamesOfPluginsWithAgents()}}catch(n){e.error(\"failed to build plugin agents names list\",n.message||n.toString(),\"sap.ushell.services.PluginManager\")}t.forEach(e=>{if(Object.hasOwn(this._oCategoryLoadingProgress,e)&&this._oCategoryLoadingProgress[e].state()===\"resolved\"){this.loadPlugins(e)}})};this._addPluginsIntoCollection=async function(n,i=\"\"){const t=[];for(const s of Object.keys(n).sort()){const r=n[s]||{};const g=r.config||{};const p=g[l]||\"\";r.enabled??=true;if(r.enabled===false){continue}if(!this._isFormFactorSupported(r)){e.info(`Plugin '${s}' filtered from result: form factor not supported`);continue}if(this._oConfig.isBlueBox===true&&g[\"sap-plugin-agent\"]===true){const e=g[\"sap-plugin-agent-id\"]||s;if(!i.includes(`,${e},`)){continue}}if(Object.hasOwn(r,\"module\")){const n=(r.module||\"\").replace(/\\./g,\"/\");e.error(`Plugin ${s} cannot get registered, because the module mechanism for plugins is not valid anymore. Plugins need to be defined as SAPUI5 components.`,a);try{await o.requireAsync([n])}catch(i){e.error(`Plugin module ${n} is not found.`)}continue}if(Object.hasOwn(g,l)){if(c.includes(p)){if(!t.includes(p)){t.push(p)}this._oPluginCollection[p][s]=JSON.parse(JSON.stringify(r))}else{e.warning(`Plugin ${s} will not be inserted into the plugin collection of the PluginManager, because of unsupported category ${p}`,a)}}else{this._oPluginCollection[u][s]=JSON.parse(JSON.stringify(r));if(!t.includes(u)){t.push(u)}}}return t};this._isFormFactorSupported=function(e){const n=e.deviceTypes;const i=o.getFormFactor();if(n&&n[i]===false){return false}return true};this.getPluginLoadingPromise=function(e){if(this._oCategoryLoadingProgress.hasOwnProperty(e)){return this._oCategoryLoadingProgress[e].promise()}};this.filterPluginIds=function(e,n,i){let t;if(n.startsWith(\"allow-filter-\")){t=\"allowFilterPluginsAccordingToSimpleExpression\"}else if(n.startsWith(\"discard\")){t=\"discardAlmostAllPlugins\"}else{t=\"unknownFilterMode\"}switch(t){case\"allowFilterPluginsAccordingToSimpleExpression\":const t=n.replace(\"allow-filter-\",\"\");return r.filterByExpression(e,t);case\"discardAlmostAllPlugins\":return e.filter(e=>d._oPluginCollection[i][e].component===g);case\"unknownFilterMode\":default:return e}};this.loadPlugins=function(i){let t;o.setPerformanceMark(`FLP -- PluginManager.startLoadPlugins[${i}]`);if(i===u){t=n.getInterface()}if(c&&Array.prototype.indexOf.call(c,i)!==-1){if(d._oCategoryLoadingProgress[i].pluginLoadingTriggered===undefined){d._oCategoryLoadingProgress[i].pluginLoadingTriggered=true}if(Object.keys(d._oPluginCollection[i]).length>0){const e=[];let n=Object.keys(d._oPluginCollection[i]);const s=new URLSearchParams(window.location.search).get(\"sap-ushell-xx-pluginmode\")||\"\";n=this.filterPluginIds(n,s,i,d);n.forEach(n=>{const o=d._oPluginCollection[i][n];if(!o.loaded){o.loaded=true;const s=new jQuery.Deferred;e.push(s.promise());d._handlePluginCreation(i,n,s,t)}});if(e.length>0){Promise.allSettled(e.map((e,i)=>new Promise(t=>{const o={pluginName:n[i],success:true};e.done(()=>{t(o)}).fail(e=>{o.success=false;o.error=e;t(o)})}))).then(e=>{o.setPerformanceMark(`FLP -- PluginManager.endLoadPlugins[${i}]`);d._oCategoryLoadingProgress[i].resolve(e.map(e=>e.value))})}}else{d._oCategoryLoadingProgress[i].resolve()}}else{e.error(`Plugins with category ${i} cannot be loaded by the PluginManager`,a);d._oCategoryLoadingProgress[i].reject(`Plugins with category ${i} cannot be loaded by the PluginManager`)}return d._oCategoryLoadingProgress[i].promise()};this._buildNamesOfPluginsWithAgents=function(){let e=\"\";Object.keys(d._oPluginCollection).forEach(n=>{Object.keys(d._oPluginCollection[n]).forEach(i=>{const t=d._oPluginCollection[n][i];if(t&&t.enabled&&t.enabled===true){if(t.config&&t.config[\"sap-plugin-agent\"]===true){e+=`${t.config[\"sap-plugin-agent-id\"]||i},`}}})});if(e.endsWith(\",\")){e=e.slice(0,-1)}this._sPluginAgentsNames=e};this._getNamesOfPluginsWithAgents=function(){return this._sPluginAgentsNames}}p.hasNoAdapter=true;return p},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PluginManager/Extensions\", [\"sap/ushell/services/PluginManager/HeaderExtensions\",\"sap/ushell/services/PluginManager/MenuExtensions\"],(e,n)=>{\"use strict\";function r(e){return Promise.resolve(n(e))}function s(){return Promise.resolve(e)}const i={Header:s,Menu:r};function t(e,n){const r=i[n];if(!r){return Promise.reject(`Unsupported extension: '${n}'`)}return r(e)}return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PluginManager/HeaderExtensions\", [\"sap/ushell/EventHub\"],e=>{\"use strict\";function t(t,r,a){e.emit(\"setHeaderCentralAreaElement\",{id:t,currentState:r,states:a})}return{setHeaderCentralAreaElement:t}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PluginManager/MenuExtensions\", [\"sap/ushell/Container\"],e=>{\"use strict\";function n(n){return function r(t){return e.getServiceAsync(\"Menu\").then(e=>e.getEntryProvider(n,t))}}return function(e){return{getMenuEntryProvider:n(e)}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/PluginManager/SimpleExpression\", [],()=>{\"use strict\";const e={};e.parseAndEvaluate=function(t,p){const s=p.split(\" \");return e.evaluate(t,s)};e.evaluate=function(e,t){const p=[];let s;while(t.length){switch(s=t.shift()){case\"includes\":p.push(e.includes(p.pop()));break;case\"not\":p.push(!p.pop());break;case\"and\":p.push(p.pop()&&p.pop());break;case\"or\":p.push(p.pop()||p.pop());break;default:p.push(s)}}return p.pop()};e.filterByExpression=function(t,p){return t.filter(t=>e.parseAndEvaluate(t,p))};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/ReferenceResolver\", [\"sap/base/Log\",\"sap/base/i18n/Formatting\",\"sap/base/i18n/date/CalendarType\",\"sap/base/util/deepExtend\",\"sap/base/util/isEmptyObject\",\"sap/ui/core/Lib\",\"sap/ui/core/Supportability\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/model/odata/v4/ODataUtils\",\"sap/ushell/User\",\"sap/ushell/utils\",\"sap/ushell/Container\"],(e,t,n,a,s,r,i,l,c,o,u,f,d)=>{\"use strict\";const m=\"sap.ushell.services.ReferenceResolver\";function g(){this.getValue=async function(e){let n;if(e===\"User.env.sap-ui-legacy-date-format\"){n=t.getABAPDateFormat()}if(e===\"User.env.sap-ui-legacy-number-format\"){n=t.getABAPNumberFormat()}if(e===\"User.env.sap-ui-legacy-time-format\"){n=t.getABAPTimeFormat()}if(e===\"User.env.sap-language\"){n=d.getUser().getLanguage()}if(e===\"User.env.sap-languagebcp47\"){n=d.getUser().getLanguageBcp47()}if(e===\"User.env.sap-accessibility\"){n=d.getUser().getAccessibilityMode()?\"X\":undefined}if(e===\"User.env.sap-statistics\"){n=i.isStatisticsEnabled()?\"true\":undefined}if(e===\"User.env.sap-theme\"){n=d.getUser().getTheme(u.prototype.constants.themeFormat.THEME_NAME_PLUS_URL)}if(e===\"User.env.sap-theme-name\"){n=d.getUser().getTheme()}if(e===\"User.env.sap-theme-NWBC\"){n=d.getUser().getTheme(u.prototype.constants.themeFormat.NWBC)}return{value:n}}}function h(t,i,u){this._getUserEnvReferenceResolver=function(){if(!this.oUserEnvReferenceResolver){this.oUserEnvReferenceResolver=new g}return this.oUserEnvReferenceResolver};this.resolveReferences=async function(t,n){const a=[];let r=true;const i={};const l={};const c=t.map(t=>{let n;if(t.indexOf(\"User.env.\")===0){n=t;l[n]=1}if(t.indexOf(\"UserDefault.\")===0){n=this._extractAnyUserDefaultReferenceName(t);i[n]=1}if(typeof n!==\"string\"){r=false;e.error(`'${t}' is not a legal reference name`,null,m)}return{full:t,name:n}});if(!r){throw new Error(\"One or more references could not be resolved\")}if(!n){const e=await d.getServiceAsync(\"ClientSideTargetResolution\");n=await e.getSystemContext()}const o=await d.getServiceAsync(\"UserDefaultParameters\");Object.keys(i).forEach(e=>{a.push(o.getValue(e,n))});const u=this._getUserEnvReferenceResolver();Object.keys(l).forEach(e=>{a.push(u.getValue(e))});const f=await Promise.all(a);const g={};let h=0;Object.keys(i).forEach(e=>{i[e]=f[h];h=h+1});Object.keys(l).forEach(e=>{l[e]=f[h];h=h+1});c.forEach(e=>{let t;if(e.full.indexOf(\"UserDefault.extended.\")===0){t=this.mergeSimpleAndExtended(i[e.name]);if(!s(t)){g[e.full]=t}else{g[e.full]=undefined}}else if(e.full.indexOf(\"UserDefault.\")===0){g[e.full]=i[e.name].value}else if(e.full.indexOf(\"User.env.\")===0){g[e.full]=l[e.name].value}});return g};this._extractAnyUserDefaultReferenceName=function(e){const t=this.extractExtendedUserDefaultReferenceName(e);if(typeof t===\"string\"){return t}return this.extractUserDefaultReferenceName(e)};this.extractExtendedUserDefaultReferenceName=function(e){if(typeof e!==\"string\"||e.indexOf(\"UserDefault.extended.\")!==0){return undefined}return e.replace(/^UserDefault[.]extended[.]/,\"\")};this.extractUserDefaultReferenceName=function(e){if(typeof e!==\"string\"||e.indexOf(\"UserDefault.\")!==0||e.indexOf(\"UserDefault.extended.\")===0){return undefined}return e.replace(/^UserDefault[.]/,\"\")};this.mergeSimpleAndExtended=function(e){const t=a({},e.extendedValue);if(typeof e.value===\"string\"){if(!Array.isArray(t.Ranges)){t.Ranges=[]}t.Ranges.push({Sign:\"I\",Option:\"EQ\",Low:e.value,High:null})}return t};function h(e){const t=/{([^}%]*%%[^%]+%%)}?/g;const n=/([^%]*)%%/;const a=/%%([^%]+)%%/;const s=[];let r=t.exec(e);while(r){const i=n.exec(r[1]);const l=a.exec(r[1]);s.push({edmType:i[1],name:l[1]});r=t.exec(e)}return s}this._extractUrlPlaceholders=function(e,t){let n=/[^(?]*/.exec(e);let a=n===null?[]:h(n[0]);const s=a.map(e=>e.name);n=/[(?][^]*/.exec(e);a=n===null?[]:h(n[0]);const r=a.filter(e=>{const n=e.name;if(t.test(n)){return true}s.push(n);return false});return{extractedReferences:r,ignoredReferences:s}};this._replaceUrlPlaceholders=function(e,t,n){let a=e;const s=[];const r=n?o.formatLiteral.bind(o):c.formatValue.bind(c);t.forEach(e=>{const t=e.name;let n=null;let i=false;while(n!==a){n=a;if(e.value!==undefined){const n=r(e.value,e.edmType);a=a.replace(`{${e.edmType}%%${t}%%}`,window.encodeURIComponent(n))}else{i=true;a=a.replace(`{${e.edmType}%%${t}%%}`,\"\")}}if(i){s.push(t)}});return{resolvedUrl:a,placeholdersWithoutValue:s}};this.resolveUserDefaultParameters=async function(e,t){const n=this._extractUrlPlaceholders(e,/^UserDefault\\.(?!extended\\.).+/);const a=n.extractedReferences;const s=n.ignoredReferences;if(a.length===0){return{url:e,defaultsWithoutValue:[],ignoredReferences:s}}const r=a.map(e=>e.name);const i=await this.resolveReferences(r,t);a.forEach(e=>{e.value=i[e.name]});const l=this._replaceUrlPlaceholders(e,a);return{url:l.resolvedUrl,defaultsWithoutValue:l.placeholdersWithoutValue,ignoredReferences:s}};this._loadDynamicDateRange=async function(){await r.load(\"sap.ui.unified\");const[e]=await f.requireAsync([\"sap/m/DynamicDateRange\"]);return e};this._rSemanticDateRangeRegex=/^DynamicDate\\..+/;this.resolveSemanticDateRanges=async function(t,n){const a=this._extractUrlPlaceholders(t,this._rSemanticDateRangeRegex);const s=a.extractedReferences;const r=a.ignoredReferences;if(s.length===0){return{url:t,hasSemanticDateRanges:false,invalidSemanticDates:[],ignoredReferences:r}}const i=[\"2.0\",\"4.0\"];if(!n||!i.includes(n)){throw new Error(`Invalid OData version: ${n}`)}const l=n===\"4.0\";const c=await this._resolveSemanticDateRanges(s,l);const o=this._replaceUrlPlaceholders(t,c,l);if(e.getLevel()>=e.Level.DEBUG){const a=c.filter(e=>\"value\"in e);e.debug(\"Resolving semantic date ranges \\n\"+`- OData Version: ${n}\\n`+`- URL: ${t}\\n`+`- ignoring references: ${JSON.stringify(r,null,4)}\\n`+`- resolved semantic date ranges: ${JSON.stringify(a,null,4)}\\n`+`- invalid semantic date ranges: ${JSON.stringify(o.placeholdersWithoutValue,null,4)}\\n`+`- final URL: ${o.resolvedUrl}`,null,m)}return{url:o.resolvedUrl,hasSemanticDateRanges:s.length>0,invalidSemanticDates:o.placeholdersWithoutValue,ignoredReferences:r}};this._resolveSemanticDateRanges=async function(e,t){const n=this._getDateTimeFormatters();const a=await this._loadDynamicDateRange();return e.map(e=>{const s={name:e.name,edmType:e.edmType};const r=e.name.split(\".\");const i={operator:r[1],values:[]};let l;if(r.length===3){l=r[2]}else if(r.length===4){i.values.push(r[2]);l=r[3]}else if(r.length===5){i.values=r.slice(2,4);l=r[4]}let c;try{c=a.toDates(i)}catch(e){return s}if(r.length>=3&&l!==\"start\"&&l!==\"end\"){return s}let o;if(l===\"end\"){o=c[1]}else{o=c[0]}if(!o){return s}switch(e.edmType){case\"Edm.String\":s.value=n.string.format(o);break;case\"Edm.Date\":s.value=n.date.format(o);break;case\"Edm.DateTime\":o.setUTCFullYear(o.getFullYear(),o.getMonth(),o.getDate());o.setUTCHours(0,0,0,0);s.value=o;break;case\"Edm.DateTimeOffset\":if(t){s.value=n.dateTimeOffsetV4.format(o,true)}else{s.value=o}break;default:break}return s})};this._getDateTimeFormatters=function(){if(!this._oDateTimeFormatters){this._oDateTimeFormatters={string:l.getDateInstance({pattern:\"yyyyMMdd\",calendarType:n.Gregorian}),date:l.getDateInstance({pattern:\"yyyy-MM-dd\",calendarType:n.Gregorian}),dateTimeOffsetV4:l.getDateInstance({pattern:\"yyyy-MM-dd'T'HH:mm:ss'.'SSS'Z'\",calendarType:n.Gregorian})}}return this._oDateTimeFormatters};this.hasSemanticDateRanges=function(e){const t=this._extractUrlPlaceholders(e,this._rSemanticDateRangeRegex);return t.extractedReferences.length>0}}h.hasNoAdapter=true;return h},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/Search\", [\"sap/ui/core/Lib\"],e=>{\"use strict\";function t(e,t){this.init.apply(this,arguments)}t.prototype={init:function(e,t,r,a){this.oAdapter=e;this.oContainerInterface=t;this.appSearchDeferred=null},getAppSearch:function(){if(this.appSearchPromise){return this.appSearchPromise}this.appSearchPromise=new Promise(t=>{e.load(\"sap.esh.search.ui\").then(()=>{sap.ui.require([\"sap/esh/search/ui/appsearch/AppSearch\"],e=>{t(new e({}))})})});return this.appSearchPromise},isSearchAvailable:function(){return this.oAdapter.isSearchAvailable()},prefetch:async function(){const e=await this.getAppSearch();return e.prefetch()},queryApplications:async function(e){e.top=e.top||10;e.skip=e.skip||0;const t=await this.getAppSearch();const r=await t.search(e);return{totalResults:r.totalCount,searchTerm:e.searchTerm,getElements:function(){return r.tiles}}}};t.hasNoAdapter=false;return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/SearchCEP\", [\"sap/base/Log\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/EventHub\",\"sap/base/util/deepExtend\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/Container\"],(e,r,t,o,s,i)=>{\"use strict\";const a={count:0,data:[]};function n(e,r,t,o){this.oAdapter=e;this._mSearchProviders={default:{},external:{}}}n.prototype.suggest=function(e){return this.search(e)};n.prototype.search=function(e){if(typeof this.oAdapter.search===\"function\"){return this.oAdapter.search(e)}return Promise.resolve(a)};n.prototype.navigate=async function(e,o){let a=e.url;if(!a){return}t.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Search\",data:{targetUrl:a}});if(a.startsWith(\"#\")){if(o){const e=s.parseShellHash(a);if(e){e.params.searchTerm=o;a=s.constructShellHash(e)}}const e=await i.getServiceAsync(\"Navigation\");return e.navigate({target:{shellHash:a}})}r.openURL(a)};n.prototype.registerDefaultSearchProvider=function(e){const r=o(e);r.name=r.id.replace(/\\./g,\"_\");this._mSearchProviders.default[r.id]=r;return Promise.resolve()};n.prototype.registerExternalSearchProvider=function(r){const s=o(r);const i=Function.prototype;const a={id:\"SearchProvider needs an id\",title:\"SearchProvider needs a title\",execSearch:\"SearchProvider needs an execSearch callback\"};const n={minQueryLength:1,maxQueryLength:100,defaultItemCount:3,maxItemCount:10,priority:10,closePopover:true,itemPress:i,popoverClosed:i};for(const r in a){if(!s[r]){e.error(a[r]);return Promise.reject()}}for(const e in n){if(!s.hasOwnProperty(e)){s[e]=n[e]}}s.name=s.id.replace(/\\./g,\"_\");this._mSearchProviders.external[s.id]=s;t.emit(\"updateExtProviderLists\",Date.now());return Promise.resolve()};n.prototype.unregisterExternalSearchProvider=function(e){if(this._mSearchProviders.external[e]){delete this._mSearchProviders.external[e]}t.emit(\"updateExtProviderLists\",Date.now());return Promise.resolve()};n.prototype.getSearchProviders=function(){return Promise.resolve(o(this._mSearchProviders))};n.prototype.getSearchProvidersPriorityArray=function(){const e=[];for(const r in this._mSearchProviders){e.push.apply(e,Object.values(this._mSearchProviders[r]))}e.sort((e,r)=>e.priority-r.priority);return Promise.resolve(e)};n.prototype.getExternalSearchProvidersPriorityArray=function(){const e=[];for(const r in this._mSearchProviders.external){e.push(this._mSearchProviders.external[r])}e.sort((e,r)=>e.priority-r.priority);return Promise.resolve(e)};n.prototype.getDefaultSearchProviders=function(){const e=Object.values(this._mSearchProviders.default);return Promise.resolve(e)};n.prototype.getExternalSearchProviders=function(){const e=Object.values(this._mSearchProviders.external);return Promise.resolve(e)};n.hasNoAdapter=false;return n},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/SearchableContent\", [\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readPages\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils\",\"sap/ushell/adapters/cdm/v3/utilsCdm\",\"sap/base/util/values\",\"sap/ushell/library\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\",\"sap/base/Log\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/utils\"],(t,e,i,a,n,s,o,l,r,c,p,u)=>{\"use strict\";const d=l.DisplayFormat;function g(){}g.COMPONENT_NAME=\"sap/ushell/services/SearchableContent\";g.prototype.getApps=async function(e={}){const i={includeAppsWithoutVisualizations:false,enableVisualizationPreview:true};const a={includeAppsWithoutVisualizations:e.includeAppsWithoutVisualizations??i.includeAppsWithoutVisualizations,enableVisualizationPreview:e.enableVisualizationPreview??i.enableVisualizationPreview};if(!t.last(\"/core/spaces/enabled\")){try{const t=await this._getLaunchPageAppData(a);const e=this._filterGetApps(t,a);c.debug(`SearchableContent@getApps in classic mode found ${e.length} apps`);return e}catch(t){c.error(\"SearchableContent@getApps in classic mode failed\",t);return Promise.reject(t)}}const n=await this._getPagesAppData(a);return this._filterGetApps(n,a)};g.prototype._filterGetApps=function(t,e){let i=t;i.forEach(t=>{const e=t.visualizations;const i=[];t.visualizations=[];e.forEach(e=>{const a=JSON.stringify({title:e.title,subtitle:e.subtitle,icon:e.icon,vizType:e.vizType});if(i.indexOf(a)===-1){t.visualizations.push(e);i.push(a)}})});if(!e.includeAppsWithoutVisualizations){i=i.filter(t=>t.visualizations.length>0)}u.setPerformanceMark(\"FLP-Search-FilterApps\",{bUseUniqueMark:true});return i};g.prototype._getLaunchPageAppData=async function(t){const i=await e.getServiceAsync(\"FlpLaunchPage\");const[a,n]=await this._collectLaunchPageTiles(i);const s=a.concat(n);const l=await Promise.all(s.map(async t=>{const e=a.includes(t);const n={tileId:null,tile:t};let s;try{if(e){n.tileId=i.getCatalogTileId(t)}else{n.tileId=i.getTileId(t)}s=i.getCatalogTilePreviewTitle(t)}catch(t){c.error(`Could not get search data from tile ${n.tileId}`,t)}if(!s){try{const a=await new Promise((a,n)=>{if(e){i.getCatalogTileViewControl(t).done(a).fail(n)}else{i.getTileView(t).done(a).fail(n)}});n.view=a;return n}catch(t){c.error(`Could not get search data from tile ${n.tileId}`,t);return n}}return n}));const r={};const p=l.map(e=>{try{return this._buildVizDataFromLaunchPageTile(e.tile,t,i)}catch(t){c.error(`Could not get search data from tile ${e.tileId}`,t);return null}}).filter(t=>t);l.forEach(t=>{const e=t.view;if(e){if(!e.destroy){c.error(`The tile with id '${t.tileId}' does not implement mandatory function destroy`)}else{e.destroy()}}});p.forEach(t=>{const e=t.targetURL;if(e){if(r[e]){r[e].visualizations.push(t)}else{r[e]=this._buildAppDataFromViz(t)}}});return o(r)};g.prototype._collectLaunchPageTiles=function(t){const e=t.getGroups().then(e=>e.reduce(async(e,i)=>{const[a,n]=await Promise.all([e,t.getGroupTilesForSearch(i)]);return a.concat(n)},Promise.resolve([])));const i=t.getCatalogs().then(e=>e.reduce(async(e,i)=>{const[a,n]=await Promise.all([e,t.getCatalogTiles(i)]);return a.concat(n)},Promise.resolve([])));return Promise.all([i,e])};g.prototype._getPagesAppData=async function(t){const i=await e.getServiceAsync(\"CommonDataModel\");const[a,n,s,l,r]=await Promise.all([i.getAllPages({personalizedPages:true}),i.getApplications(),i.getVisualizations(),i.getVizTypes(),e.getServiceAsync(\"ClientSideTargetResolution\")]);const c={applications:n,visualizations:s,vizTypes:l};const p={};await this._applyCdmVisualizations(c,p,t);await this._applyCdmPages(c,a,p,t);await this._filterAppDataByIntent(p,r);this._applyCdmApplications(c,p,t);return o(p)};g.prototype._filterAppDataByIntent=async function(t,e){const i=Object.keys(t).map(t=>p.isIntentUrlAsync(t).then(e=>e?t:null));const a=await Promise.all(i);const n=a.filte Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/TileContainer\", [\"sap/base/Log\",\"sap/m/Input\",\"sap/m/library\",\"sap/m/Text\",\"sap/ui/base/ManagedObject\",\"sap/ui/core/Control\",\"sap/ui/core/EventBus\",\"sap/ui/core/Icon\",\"sap/ushell/override\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/PlusTile\",\"sap/ushell/utils\",\"sap/ushell/ui/launchpad/TileContainerRenderer\",\"sap/ushell/Container\",\"sap/ui/dom/jquery/selectText\"],(e,t,i,o,s,n,l,r,a,u,p,d,c,f,h)=>{\"use strict\";const g=i.HeaderLevel;const y=n.extend(\"sap.ushell.ui.launchpad.TileContainer\",{metadata:{library:\"sap.ushell\",properties:{scrollType:{type:\"string\",group:\"Misc\",defaultValue:\"item\"},animationSpeed:{type:\"int\",group:\"Misc\",defaultValue:500},groupId:{type:\"string\",group:\"Misc\",defaultValue:null},showHeader:{type:\"boolean\",group:\"Misc\",defaultValue:true},showPlaceholder:{type:\"boolean\",group:\"Misc\",defaultValue:true},defaultGroup:{type:\"boolean\",group:\"Misc\",defaultValue:false},isLastGroup:{type:\"boolean\",group:\"Misc\",defaultValue:false},headerText:{type:\"string\",group:\"Misc\",defaultValue:null},headerLevel:{type:\"sap.m.HeaderLevel\",group:\"Misc\",defaultValue:g.H2},groupHeaderLevel:{type:\"sap.m.HeaderLevel\",group:\"Misc\",defaultValue:g.H4},showGroupHeader:{type:\"boolean\",group:\"Misc\",defaultValue:true},homePageGroupDisplay:{type:\"string\",defaultValue:null},visible:{type:\"boolean\",group:\"Misc\",defaultValue:true},sortable:{type:\"boolean\",group:\"Misc\",defaultValue:true},showNoData:{type:\"boolean\",group:\"Misc\",defaultValue:false},noDataText:{type:\"string\",group:\"Misc\",defaultValue:\"\"},isGroupLocked:{type:\"boolean\",group:\"Misc\",defaultValue:null},isGroupSelected:{type:\"boolean\",group:\"Misc\",defaultValue:false},editMode:{type:\"boolean\",group:\"Misc\",defaultValue:false},showBackground:{type:\"boolean\",group:\"Misc\",defaultValue:false},icon:{type:\"string\",group:\"Misc\",defaultValue:\"sap-icon://locked\"},showIcon:{type:\"boolean\",group:\"Misc\",defaultValue:false},deluminate:{type:\"boolean\",group:\"Misc\",defaultValue:false},showMobileActions:{type:\"boolean\",group:\"Misc\",defaultValue:false},enableHelp:{type:\"boolean\",group:\"Misc\",defaultValue:false},tileActionModeActive:{type:\"boolean\",group:\"Misc\",defaultValue:false},ieHtml5DnD:{type:\"boolean\",group:\"Misc\",defaultValue:false},showEmptyLinksArea:{type:\"boolean\",group:\"Misc\",defaultValue:false},showEmptyLinksAreaPlaceHolder:{type:\"boolean\",group:\"Misc\",defaultValue:false},hidden:{type:\"boolean\",group:\"Misc\",defaultValue:false},transformationError:{type:\"boolean\",group:\"Misc\",defaultValue:false},supportLinkPersonalization:{type:\"boolean\",group:\"Misc\",defaultValue:false}},aggregations:{tiles:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"tile\"},links:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"link\"},beforeContent:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"beforeContent\"},afterContent:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"afterContent\"},headerActions:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"headerAction\"}},events:{afterRendering:{},add:{},titleChange:{}}},renderer:f});y.prototype.init=function(){this.bIsFirstTitleChange=true;this.setProperty(\"noDataText\",p.i18n.getText(\"noFilteredItems\"),true);this._sDefaultValue=p.i18n.getText(\"new_group_name\");this.oNoLinksText=new o({text:p.i18n.getText(\"emptyLinkContainerInEditMode\")}).addStyleClass(\"sapUshellNoLinksAreaPresentTextInner\");this.oTransformationErrorText=new o({text:p.i18n.getText(\"transformationErrorText\")}).addStyleClass(\"sapUshellTransformationErrorText\");this.oTransformationErrorIcon=new r({src:\"sap-icon://message-error\"}).addStyleClass(\"sapUshellTransformationErrorIcon\");this.oIcon=new r({src:this.getIcon()}).addStyleClass(\"sapUshellContainerIcon\");this.oPlusTile=new d({groupId:this.getGroupId(),enableHelp:this.getEnableHelp(),press:[this.fireAdd,this]}).setParent(this);const e=function(){this.getDomRef(\"groupheader\").focus();this._stopEdit();const t=this.oEditInputField.getDomRef();if(t){t.removeEventListener(\"focusout\",e)}}.bind(this);this.oEditInputField=new t({placeholder:this._sDefaultValue,value:this.getHeaderText()}).addEventDelegate({onBeforeRendering:function(){const t=this.oEditInputField.getDomRef();if(t){t.removeEventListener(\"focusout\",e)}}.bind(this),onAfterRendering:function(){setTimeout(()=>{const t=this.oEditInputField.$(\"inner\");t.focus();t.selectText(0,t.val().length);const i=this.oEditInputField.getDomRef();if(i){i.addEventListener(\"focusout\",e)}},0)}.bind(this)}).addStyleClass(\"sapUshellTileContainerTitleInput\");h.getServiceAsync(\"FlpLaunchPage\").then(e=>{if(e.isLinkPersonalizationSupported()){y.prototype.isLinkPersonalizationOveride()}});this.fnTitleTextClickHandler=this._titleTextClickHandler.bind(this)};y.prototype.onBeforeRendering=function(){const e=this.getDomRef(\"titleText\");if(e){e.removeEventListener(\"click\",this.fnTitleTextClickHandler)}const t=this.getTiles();const i=this.getLinks();const o=t.concat(i);o.forEach(e=>{const t=e.getDomRef();if(t){const e=t.getAttribute(\"data-oldTabindex\");if(e){t.setAttribute(\"tabindex\",e);t.removeAttribute(\"data-oldTabindex\")}else{t.removeAttribute(\"tabindex\")}}})};y.prototype.onAfterRendering=function(){const e=this.getDomRef(\"titleText\");if(e){e.addEventListener(\"click\",this.fnTitleTextClickHandler)}const t=this.getTiles();const i=this.getLinks();const o=t.concat(i);o.forEach(e=>{const t=e.getDomRef();if(t){const e=t.getAttribute(\"tabindex\");if(e){t.setAttribute(\"data-oldTabindex\",e)}t.setAttribute(\"tabindex\",\"-1\")}});const s=t.filter(e=>e.isA(\"sap.ui.integration.widgets.Card\"));this._resizeCards(s);l.getInstance().publish(\"launchpad\",\"GroupHeaderVisibility\");this.fireAfterRendering()};y.prototype._titleTextClickHandler=function(){const e=this.getModel()&&this.getModel().getProperty(\"/enableRenameLockedGroup\");const t=(e||!this.getIsGroupLocked())&&!this.getDefaultGroup()&&this.getTileActionModeActive();this.setEditMode(t)};y.prototype.updateAggregation=a.updateAggregation;y.prototype.setGroupId=function(e,t){this.setProperty(\"groupId\",e,t);this.oPlusTile.setGroupId(e,t);return this};y.prototype.setShowIcon=function(e,t){this.setProperty(\"showIcon\",e,t);this.oIcon.toggleStyleClass(\"sapUshellContainerIconHidden\",!e);return this};y.prototype.groupHasTiles=function(){let e=\"\";let t=this.getTiles();const i=[];if(this.getBindingContext()){e=this.getBindingContext().sPath;t=this.getModel().getProperty(e).tiles}return c.groupHasVisibleTiles(t,i)};y.prototype.getInnerContainersDomRefs=function(){const e=this.getDomRef();if(!e){return null}return[e.querySelector(\".sapUshellTilesContainer-sortable\"),e.querySelector(\".sapUshellLineModeContainer\")]};y.prototype.isLinkPersonalizationOveride=function(){y.prototype.updateLinks=function(e){const t=this.getParent();const i=t&&t.getDisplayMode&&t.getDisplayMode()===\"tabs\";if(i&&!this.getTileActionModeActive()){t.removeLinksFromUnselectedGroups()}if(this.getLinks().length>0){this.removeAllLinks()}s.prototype.updateAggregation.call(this,\"links\")};y.prototype.destroyLinks=function(t){e.debug(`link is destroyed because: ${t}`,null,\"sap.ushell.ui.launchpad.TileContainer\")}};y.prototype._resizeCards=function(e){let t;let i;const o=5.5;const s=.4375;let n;let l;let r;let a;for(let u=0;u<e.length;u++){t=e[u];i=t.getManifest();n=i[\"sap.flp\"].rows;l=i[\"sap.flp\"].columns;r=`${l*o+(l-3)*s}rem`;a=`${n*o+(n-1)*s}rem`;t.setHeight(a);t.setWidth(r)}};y.prototype.setEditMode=function(e,t){this.setProperty(\"editMode\",e,t);if(e){this.oEditInputField.setValue(this.getHeaderText())}const i=this.getModel();if(i){i.setProperty(\"/editTitle\",e)}};y.prototype._stopEdit=function(){const e=this.getHeaderText();let t=this.oEditInputField.getValue();let i;t=t.substring(0,256).trim()||this._sDefaultValue;i=t!==e;if(this.bIsFirstTitleChange&&t===this.oEditInputField.getPlaceholder()){i=true}this.bIsFirstTitleChange=false;if(this.getModel()&&this.getModel().getProperty(\"/editTitle\")){this.getModel().setProperty(\"/editTitle\",false,false)}if(i){this.fireTitleChange({newTitle:t});this.setHeaderText(t)}this.setEditMode(false)};y.prototype.exit=function(){if(this.oNoLinksText){this.oNoLinksText.destroy()}if(this.oTransformationErrorText){this.oTransformationErrorText.destroy()}if(this.oTransformationErrorIcon){this.oTransformationErrorIcon.destroy()}if(this.oIcon){this.oIcon.destroy()}if(this.oPlusTile){this.oPlusTile.destroy()}if(this.oEditInputField){this.oEditInputField.destroy()}const e=this.getDomRef(\"titleText\");if(e){e.removeEventListener(\"click\",this.fnTitleTextClickHandler)}if(n.prototype.exit){n.prototype.exit.apply(this,arguments)}};return y});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/TileContainerRenderer\", [\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ushell/bootstrap/common/common.load.model\",\"sap/ushell/Config\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"sap/ui/core/CustomData\"],(e,t,s,o,a,i)=>{\"use strict\";const l={apiVersion:2};l.oModel=s.getModel();l.render=function(s,o){const l=o.getHeaderActions();const n=o.getBeforeContent();const r=o.getAfterContent();const d=o.getLinks();const c=d.length;const p=this;s.openStart(\"div\",o);s.class(\"sapUshellTileContainer\");if(!o.getVisible()){s.class(\"sapUshellHidden\")}if(o.getDeluminate()){s.class(\"sapUshellDisableLockedGroupDuringDrag\")}if(o.getEditMode()){s.class(\"sapUshellEditing\")}if(o.getHidden()){s.class(\"sapUshellTileContainerEditModeHidden\")}if(!o.getShowEmptyLinksArea()){s.class(\"sapUshellLinksAreaHidden\")}if(o.getShowEmptyLinksAreaPlaceHolder()){s.class(\"sapUshellTileContainerEditMode\");s.class(\"sapUshellTileContainerTabsModeEmptyLinksArea\")}else{s.class(\"sapUshellEmptyLinksAreaPlaceHolder\")}s.openEnd();if(n.length&&o.getTileActionModeActive()){s.openStart(\"div\");s.class(\"sapUshellTileContainerBeforeContent\");s.class(\"sapContrastPlus\");s.openEnd();n.forEach(e=>{s.renderControl(e)});s.close(\"div\")}s.openStart(\"div\");s.class(\"sapUshellTileContainerContent\");if(o.getIsGroupLocked()){s.class(\"sapUshellTileContainerLocked\")}if(o.getDefaultGroup()){s.class(\"sapUshellTileContainerDefault\")}if(o.getShowBackground()){s.class(\"sapUshellTileContainerEditMode\")}s.openEnd();if(o.getShowBackground()){s.openStart(\"div\");s.class(\"sapUshellGroupBackgroundContainer\");s.class(\"sapContrastPlus\");s.openEnd();s.close(\"div\")}if(o.getShowHeader()){s.openStart(\"div\",`${o.getId()}-groupheader`);s.class(\"sapUshellTileContainerHeader\");s.class(\"sapContrastPlus\");if(!o.getShowGroupHeader()){s.class(\"sapUshellFirstGroupHeaderHidden\");s.class(\"sapUiPseudoInvisibleText\")}if(o.getTileActionModeActive()){s.attr(\"tabindex\",\"0\")}let t;if(o.getDefaultGroup()){t=e.i18n.getText(\"ariaLabelEditModeGroupDefault\",[o.getHeaderText()])}else if(o.getIsGroupLocked()){t=e.i18n.getText(\"ariaLabelEditModeGroupLocked\",[o.getHeaderText()])}else{t=e.i18n.getText(\"ariaLabelEditModeGroup\",[o.getHeaderText()])}s.attr(\"aria-label\",t);s.openEnd();s.openStart(\"div\",`${o.getId()}-title`);s.class(\"sapUshellContainerTitleFlex\");s.openEnd();if(o.getEditMode()){s.renderControl(o.oEditInputField)}else{const e=o.getHeaderLevel().toLowerCase();s.openStart(e,`${o.getId()}-titleText`);s.class(\"sapUshellContainerTitle\");s.attr(\"title\",o.getHeaderText());s.attr(\"role\",\"region\");if(o.getTileActionModeActive()&&!o.getIsGroupLocked()&&!o.getDefaultGroup()){s.attr(\"tabindex\",\"0\")}s.openEnd();s.text(o.getHeaderText());s.close(e)}if(o.getIsGroupLocked()){s.renderControl(o.oIcon)}else if(o.getTileActionModeActive()){s.openStart(\"div\");s.class(\"sapUshellContainerHeaderActions\");s.openEnd();l.forEach(e=>{s.renderControl(e)});s.close(\"div\")}s.close(\"div\");s.close(\"div\")}s.openStart(\"ul\");s.class(\"sapUshellTilesContainer-sortable\");s.class(\"sapUshellInner\");s.openEnd();let g=false;o.getTiles().forEach(e=>{if(e.getVisible()){g=true}if(p._isUserActivityCard(e)){p._updateUserActivityCardVisibility(e)}s.renderControl(e)});if(o.getShowPlaceholder()){s.renderControl(o.oPlusTile)}if(o.getShowNoData()){this.renderNoData(s,o,!g)}s.close(\"ul\");const u=o.getSupportLinkPersonalization();if(c>0||u){s.openStart(\"div\");s.class(\"sapUshellLineModeContainer\");if(!c&&u){s.class(\"sapUshellNoLinksAreaPresent\");if(o.getTransformationError()){s.class(\"sapUshellNoLinksAreaPresentError\")}s.openEnd();s.openStart(\"div\");s.class(\"sapUshellNoLinksAreaPresentText\");s.openEnd();s.renderControl(o.oNoLinksText);s.close(\"div\")}else{s.openEnd()}if(u){if(o.getTransformationError()){s.openStart(\"div\");s.class(\"sapUshellTransformationError\");if(!o.transformationError){s.style(\"display\",\"none\")}s.openEnd();s.openStart(\"div\");s.class(\"sapUshellTransformationErrorInnerWrapper\");s.openEnd();s.renderControl(o.oTransformationErrorIcon);s.renderControl(o.oTransformationErrorText);s.close(\"div\");s.close(\"div\")}s.openStart(\"div\");s.class(\"sapUshellLinksInnerContainer\");s.openEnd();let e;let t;let l;let n;d.forEach((r,d)=>{e=r.getCustomData();t=false;l=false;n=false;e.forEach(e=>{if(e.getKey()===\"aria-posinset\"){e.setValue((d+1).toString());e.setWriteToDom(true);t=true}else if(e.getKey()===\"aria-setsize\"){e.setValue(c.toString());e.setWriteToDom(true);l=true}else if(e.getKey()===\"help-id\"){e.setValue(r.getBindingContext()&&r.getBindingContext().getProperty(\"tileCatalogId\"));e.setWriteToDom(true);n=true}else if(e.getKey()===\"help-id2\"){e.setValue(r.getBindingContext()&&r.getBindingContext().getProperty(\"tileCatalogIdStable\"));e.setWriteToDom(true);n=true}});if(!t){r.addCustomData(new a({key:\"aria-posinset\",value:(d+1).toString(),writeToDom:true}))}if(!l){r.addCustomData(new a({key:\"aria-setsize\",value:c.toString(),writeToDom:true}))}if(r.getModel()&&r.getModel().getProperty(\"/enableHelp\")&&!n){r.addCustomData(new i({key:\"help-id\",value:r.getBindingContext()&&r.getBindingContext().getProperty(\"tileCatalogId\"),writeToDom:true}));r.addCustomData(new i({key:\"help-id2\",value:r.getBindingContext()&&r.getBindingContext().getProperty(\"tileCatalogIdStable\"),writeToDom:true}))}r.addStyleClass(\"sapUshellLinkTile\");if(o.getIsGroupLocked()){r.addStyleClass(\"sapUshellLockedTile\")}s.renderControl(r)});s.close(\"div\")}else{d.forEach(e=>{s.renderControl(e)})}s.close(\"div\")}s.close(\"div\");if(r.length&&o.getTileActionModeActive()){s.openStart(\"div\");s.class(\"sapUshellTileContainerAfterContent\");s.class(\"sapContrastPlus\");s.openEnd();r.forEach(e=>{s.renderControl(e)});s.close(\"div\")}s.close(\"div\");t.setPerformanceMark(\"FLP -- tile container renderer\")};l.renderNoData=function(e,t,s){e.openStart(\"div\",`${t.getId()}-listNoData`);e.class(\"sapUshellNoFilteredItems\");e.class(\"sapUiStrongBackgroundTextColor\");e.openEnd();e.text(s?t.getNoDataText():\"\");e.close(\"div\")};l._isUserActivityCard=function(t){if(typeof t.getManifest!==\"function\"){return false}const s=t.getManifest();const o=s&&s[\"sap.card\"]&&s[\"sap.card\"].header&&s[\"sap.card\"].header.title;return o===e.i18n.getText(\"recentActivities\")||o===e.i18n.getText(\"frequentActivities\")};l._updateUserActivityCardVisibility=function(e){e.setVisible(o.last(\"/core/shell/model/enableTrackingActivity\"));o.on(\"/core/shell/model/enableTrackingActivity\").do(t=>{e.setVisible(t)})};return l},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/TileContainerUtils\", [\"sap/base/util/uid\"],e=>{\"use strict\";const t={};t.showHideTilesAndHeaders=function(e,t){let n;let r;let i;let l=0;let s=0;for(n in e.onScreenPathIndexMap){if(e.onScreenPathIndexMap.hasOwnProperty(n)){i=e.onScreenPathIndexMap[n];r=t[i.aItemsRefrenceIndex];if(r.getVisible()&&!i.isVisible){s++}r.setVisible(i.isVisible);if(i.isVisible){l++}}}return{nCountVisibleElements:l,nCountFilteredElement:s}};t.applyFilterOnItem=function(e,t,n,r){let i;for(i in t){if(t.hasOwnProperty(i)){t[i](e)}}if(n){n(e,r)}};t.createNewItem=function(t,n){const r=this.mBindingInfos[n];const i=r.factory;const l=function(t){const n=`${this.getId()}-${e()}`;const l=i(n,t);l.setBindingContext(t,r.model);return l}.bind(this);return l(t)};t.addNewItem=function(e,t){const n=this.getMetadata().getJSONKeys()[t];this[n._sMutator](e);return true};t.createMissingElementsInOnScreenElements=function(e,n,r,i,l,s,a){let o;let f;const c=n.length;for(f=r;f<c;f++){o=n[f].getPath();if(!e.onScreenPathIndexMap[o]){if(i(n[f],a)===false){return false}t.applyFilterOnItem(n[f],s)}else{throw true}}return true};t.createMissingElementsInOnScreenElementsSearchCatalog=function(e,n,r,i,l,s,a,o){let f;let c;const u=n.length;for(c=0;c<u;c++){f=n[c].getPath();if(!e.onScreenPathIndexMap[f]){if(i(n[c],a)===false){return false}}t.applyFilterOnItem(n[c],s,o,a)}return true};t.applyFilterOnAllItems=function(e,n,r){let i;const l=e.binding;if(!l){return}const s=l.getContexts();for(i=0;i<s.length;i++){t.applyFilterOnItem(s[i],n,r)}};t.validateOrder=function(e,t,n){let r;let i;let l;let s;let a;let o;let f;let c;if(e[n]&&t.length>0){r=t[t.length-1].getBindingContext().getPath();i=e[n].getPath();s=r.split(\"/\");a=i.split(\"/\");for(o=0;o<s.length&&o<a.length;o++){f=s[o];c=a[o];if(parseInt(f,10)&&parseInt(c,10)){if(parseInt(f,10)>parseInt(c,10)){return false}else if(parseInt(f,10)<parseInt(c,10)){return true}}else{for(l=0;l<c.length&&l<f.length;l++){if(f[l].charCodeAt()>c[l].charCodeAt()){return false}else if(f[l].charCodeAt()<c[l].charCodeAt()){return true}}}}}return true};t.markVisibleOnScreenElements=function(e,t,n){let r=0;let i;const l=e.length;for(r=0;r<l;r++){i=e[r].getPath();if(t.onScreenPathIndexMap[i]){if(n){t.onScreenPathIndexMap[i].isVisible=true}}else{return r}}return r};t.markVisibleOnScreenElementsSearchCatalog=function(e,t,n){let r=0;let i;const l=e.length;for(r=0;r<l;r++){i=e[r].getPath();if(t.onScreenPathIndexMap[i]){if(n){t.onScreenPathIndexMap[i].isVisible=true}}}return r};t.indexOnScreenElements=function(e,t){let n;let r;const i={onScreenPathIndexMap:{}};const l=e.length;let s;let a=true;if(t===false){a=false}for(r=0;r<l;r++){s=e[r];if(s.getBindingContext()){n=s.getBindingContext().getPath();if(!i.onScreenPathIndexMap[n]){i.onScreenPathIndexMap[n]={aItemsRefrenceIndex:r,isVisible:a}}}}return i};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/TileRenderer\", [\"sap/base/Log\",\"sap/ushell/Config\"],(e,l)=>{\"use strict\";const t={apiVersion:2};t.render=function(t,i){let n=null;try{n=i.getTileViews()[0]}catch(l){e.warning(\"Failed to load tile view: \",l.message);n=i.getFailedtoLoadViewText()}const s=i.getParent();if(!s){return}const o=i.getNoContainerMode();t.openStart(o?\"div\":\"li\",i);if(l.last(\"/core/shell/model/enableHelp\")){t.attr(\"data-help-id\",i.getTileCatalogId());if(i.getTileCatalogIdStable()){t.attr(\"data-help-id2\",i.getTileCatalogIdStable())}}t.class(\"sapUshellTile\");if(i.getTileActionModeActive()){t.class(\"sapUshellTileWrapper\")}if(n&&n.getContent){const e=n.getContent();e.forEach(e=>{if(e.isA(\"sap.m.GenericTile\")){t.class(\"sapUshellFeedTileBG\")}})}if(i.getLong()){t.class(\"sapUshellLong\")}if(!i.getVisible()){t.class(\"sapUshellHidden\")}if(i.getIsLocked()){t.class(\"sapUshellLockedTile\")}if(l.last(\"/core/home/sizeBehavior\")===\"Small\"){t.class(\"sapUshellSmall\")}const a=`${s.getId()}-titleText`;t.attr(\"aria-describedby\",a);t.openEnd();if(i.getTileActionModeActive()){this.renderTileActionMode(t,i);this.renderTileView(t,i,n)}else{t.openStart(\"div\");t.class(\"sapUshellTileWrapper\");t.openEnd();this.renderTileView(t,i,n);if(i.getShowActionsIcon()){t.renderControl(i.actionIcon)}t.close(\"div\");this.renderTileActionsContainer(t,n,i.getPinButton())}t.close(o?\"div\":\"li\")};t.renderTileActionsContainer=function(e,l,t){t=t.length?t[0]:undefined;if(t){t.addStyleClass(\"sapUshellActionButton\");e.openStart(\"div\");e.class(\"sapUshellTilePinButtonOverlay\");if(l.getHeader){e.attr(\"role\",\"toolbar\");e.attr(\"aria-label\",l.getHeader())}e.openEnd();e.renderControl(t);e.close(\"div\")}};t.renderTileView=function(e,l,t){e.openStart(\"div\");e.class(\"sapUshellTileInner\");if(l.getTileActionModeActive()){e.class(\"sapUshellTileActionBG\")}e.openEnd();e.renderControl(t);e.close(\"div\")};t.renderTileActionMode=function(e,l){e.openStart(\"div\");e.class(\"sapUshellTileActionLayerDiv\");e.openEnd();if(!l.getIsLocked()){e.openStart(\"div\");e.class(\"sapUshellTileDeleteClickArea\");e.openEnd();e.openStart(\"div\");e.class(\"sapUshellTileDeleteIconOuterClass\");e.openEnd();e.renderControl(l._initDeleteAction());e.close(\"div\");e.close(\"div\")}e.openStart(\"div\");e.class(\"sapUshellTileActionDivCenter\");e.openEnd();e.close(\"div\");e.openStart(\"div\");e.class(\"sapUshellTileActionIconDivBottom\");e.openEnd();e.openStart(\"div\");e.class(\"sapUshellTileActionIconDivBottomInnerDiv\");e.openEnd();e.renderControl(l.getActionSheetIcon());e.close(\"div\");e.close(\"div\");e.close(\"div\")};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/TileState\", [\"sap/ushell/ui/launchpad/TileStateInternal\",\"./TileStateRenderer\"],(e,t)=>{\"use strict\";const a=e.extend(\"sap.ushell.ui.launchpad.TileState\",{metadata:{library:\"sap.ushell\",properties:{state:{type:\"string\",group:\"Misc\",defaultValue:\"Loaded\"}},events:{press:{}}},renderer:t});return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/TileStateInternal\", [\"sap/ui/core/Control\",\"sap/ui/core/Icon\",\"sap/ushell/resources\",\"sap/ui/core/HTML\",\"./TileStateInternalRenderer\",\"sap/ushell/library\"],(e,t,i,s,n)=>{\"use strict\";const o=e.extend(\"sap.ushell.ui.launchpad.TileStateInternal\",{metadata:{library:\"sap.ushell\",properties:{state:{type:\"string\",group:\"Misc\",defaultValue:\"Loaded\"}},events:{press:{}}},renderer:n});o.prototype.init=function(){this._rb=i.i18n;this._sFailedToLoad=this._rb.getText(\"cannotLoadTile\");this._oWarningIcon=new t(`${this.getId()}-warn-icon`,{src:\"sap-icon://notification\",size:\"1.37rem\"}).addStyleClass(\"sapSuiteGTFtrFldIcnMrk\");this.attachPress(this._onPress)};o.prototype.onclick=function(){this.firePress()};o.prototype._onPress=function(e){if(this.getState()!==\"Failed\"){return}if(!this.FailedTileDialog){sap.ui.require([\"sap/ushell/ui/launchpad/FailedTileDialog\"],t=>{this.FailedTileDialog=new t;this._onPress(e)})}else{this.FailedTileDialog.openFor(this)}};o.prototype._getBusyContainer=function(){if(!this._oBusyContainer){this._oBusyContainer=new s({content:\"<div class='sapUshellTileStateLoading'><div>\"});this._oBusyContainer.setBusy(true)}return this._oBusyContainer};o.prototype.exit=function(){this._oWarningIcon.destroy();if(this._oBusyContainer){this._oBusyContainer.destroy()}};o.prototype.setState=function(e,t){this.setProperty(\"state\",e,t);return this};return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/TileStateInternalRenderer\", [],()=>{\"use strict\";const e={apiVersion:2};e.render=function(e,t){e.openStart(\"div\",t);e.class(\"sapUshellGT\");e.openEnd();const a=t.getState();e.openStart(\"div\",`${t.getId()}-overlay`);e.class(\"sapUshellOverlay\");if(a===\"Failed\"){e.attr(\"title\",t._sFailedToLoad)}e.openEnd();switch(a){case\"Loading\":const a=t._getBusyContainer();e.renderControl(a);break;case\"Failed\":e.openStart(\"div\",`${t.getId()}-failed-ftr`);e.class(\"sapUshellTileStateFtrFld\");e.openEnd();e.openStart(\"div\",`${t.getId()}-failed-icon`);e.class(\"sapUshellTileStateFtrFldIcn\");e.openEnd();e.renderControl(t._oWarningIcon);e.close(\"div\");e.openStart(\"div\",`${t.getId()}-failed-text`);e.class(\"sapUshellTileStateFtrFldTxt\");e.openEnd();e.text(t._sFailedToLoad);e.close(\"div\");e.close(\"div\");break;default:}e.close(\"div\");e.close(\"div\")};return e},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/TileStateRenderer\", [\"sap/ushell/ui/launchpad/TileStateInternalRenderer\"],e=>{\"use strict\";return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/ViewPortState\", ()=>{\"use strict\"},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/VizInstance\", [\"sap/m/ActionSheet\",\"sap/m/GenericTile\",\"sap/m/library\",\"sap/m/Popover\",\"sap/m/Text\",\"sap/m/VBox\",\"sap/ui/core/Component\",\"sap/ui/core/Icon\",\"sap/ui/core/Lib\",\"sap/ui/events/PseudoEvents\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/VizInstanceBase\",\"sap/ushell/ui/launchpad/VizInstanceRenderer\"],(e,t,i,o,n,s,a,r,l,c,p,d,u,h)=>{\"use strict\";const f=i.PlacementType;const g=i.FrameType;const y=i.GenericTileScope;const m=i.LoadState;const b=p.DisplayFormat;const A=u.extend(\"sap.ushell.ui.launchpad.VizInstance\",{metadata:{library:\"sap.ushell\",properties:{title:{type:\"string\",defaultValue:\"\",bindable:true},subtitle:{type:\"string\",defaultValue:\"\",bindable:true},height:{type:\"int\",defaultValue:2},width:{type:\"int\",defaultValue:2},info:{type:\"string\",defaultValue:\"\",bindable:true},icon:{type:\"sap.ui.core.URI\",defaultValue:\"\",bindable:true},numberUnit:{type:\"string\",defaultValue:\"\",bindable:true},state:{type:\"sap.m.LoadState\",defaultValue:m.Loaded,bindable:true},sizeBehavior:{type:\"sap.m.TileSizeBehavior\",defaultValue:undefined,bindable:true},editable:{type:\"boolean\",defaultValue:false,bindable:true},removable:{type:\"boolean\",defaultValue:true,bindable:true},clickable:{type:\"boolean\",defaultValue:true,bindable:true},active:{type:\"boolean\",defaultValue:false},targetURL:{type:\"string\"},indicatorDataSource:{type:\"object\",defaultValue:undefined},dataSource:{type:\"object\",defaultValue:undefined},keywords:{type:\"string[]\",defaultValue:[]},instantiationData:{type:\"object\",defaultValue:{}},contentProviderId:{type:\"string\",defaultValue:\"\"},contentProviderLabel:{type:\"string\",defaultValue:\"\"},vizConfig:{type:\"object\"},supportedDisplayFormats:{type:\"sap.ushell.DisplayFormat[]\",defaultValue:[b.Standard]},dataHelpId:{type:\"string\",defaultValue:\"\"},vizRefId:{type:\"string\",defaultValue:\"\"},displayFormat:{type:\"sap.ushell.DisplayFormat\",defaultValue:b.Standard},preview:{type:\"boolean\",defaultValue:false,bindable:true}},defaultAggregation:\"tileActions\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:false},tileActions:{type:\"sap.m.Button\",forwarding:{getter:\"_getTileActionSheet\",aggregation:\"buttons\"}}},events:{press:{parameters:{scope:{type:\"sap.m.GenericTileScope\"},action:{type:\"string\"}}},beforeActionSheetOpen:{},afterActionSheetClose:{}}},renderer:h});A.prototype.init=function(){this._pLoad=Promise.resolve();const e=new t({frameType:this._formatPlaceholderFrameType(this.getDisplayFormat()),state:this.getState()});this._disableTabindexOfGenericTile(e);this.setAggregation(\"content\",e)};A.prototype.setDisplayFormat=function(e){this.setProperty(\"displayFormat\",e);this._setSize();const t=this.getContent();if(t&&t.isA(\"sap.m.GenericTile\")){t.setFrameType(this._formatPlaceholderFrameType(e))}return this};A.prototype.setState=function(e){this.setProperty(\"state\",e);const t=this.getContent();if(t&&t.isA(\"sap.m.GenericTile\")){t.setState(e)}return this};A.prototype.setSizeBehavior=function(e){this.setProperty(\"sizeBehavior\",e);this.setTileSizeBehavior(e);return this};A.prototype.setEditable=function(e){this.setProperty(\"editable\",e);this.setTileEditable(e);return this};A.prototype.setTileEditable=function(e){const t=e?y.ActionMore:y.Display;const i=this.getContent();if(i&&i.isA(\"sap.m.GenericTile\")){i.setScope(t)}return this};A.prototype.setTileSizeBehavior=function(e){const t=this.getContent();if(t&&t.isA(\"sap.m.GenericTile\")){t.setSizeBehavior(e)}return this};A.prototype._formatPlaceholderFrameType=function(e){this._setSize();switch(e){case b.Flat:return g.OneByHalf;case b.FlatWide:return g.TwoByHalf;case b.StandardWide:return g.TwoByOne;default:return g.OneByOne}};A.prototype.exit=function(){if(this._oActionModeButtonIconVBox){this._oActionModeButtonIconVBox.destroy()}if(this._oActionDivCenter){this._oActionDivCenter.destroy()}if(this._oActionSheet){this._oActionSheet.destroy()}if(this._oRemoveIconVBox){this._oRemoveIconVBox.destroy()}};A.prototype.getLayout=function(){return{columns:this.getWidth(),rows:this.getHeight()}};A.prototype.setContent=function(e){const t=this.getLayoutData();if(t&&t.isA(\"sap.f.GridContainerItemLayoutData\")){t.setRows(this.getHeight());t.setColumns(this.getWidth())}const i=this.getDataHelpId();const o=this.getVizRefId();if(i){e.data(\"help-id\",i,true);e.data(\"tile-id\",i,true)}else{e.data(\"tile-id\",o,true)}this._sGenericTileId=null;this._disableTabindexOfContent(e);this.setAggregation(\"content\",e)};A.prototype._disableTabindexOfContent=function(e){if(e){if(e.isA(\"sap.ui.core.ComponentContainer\")){const t=e.getComponent();const i=a.getComponentById(t);if(i){this._disableTabindexOfContent(i.getRootControl())}}else if(e.isA(\"sap.m.FlexBox\")){const t=e;const i=e.getItems()[0];t.addEventDelegate({onAfterRendering:this._disableTabindexOfContent.bind(this,i)});this._disableTabindexOfContent(i)}else if(e.isA(\"sap.ui.core.mvc.View\")){this._disableTabindexOfContent(e.getContent()[0])}else if(e.isA(\"sap.cloudfnd.smartbusiness.lib.reusetiles.Singleton\")){this._disableTabindexOfContent(e.getContent())}else if(e.isA(\"sap.m.GenericTile\")){this._disableTabindexOfGenericTile(e)}}};A.prototype._disableTabindexOfGenericTile=function(e){function t(e){const t=e.getFocusDomRef();if(t){this._sGenericTileId=t.id;if(t.getAttribute(\"tabindex\")===\"0\"){t.setAttribute(\"tabindex\",-1);t.tabIndex=-1}}}t.call(this,e);e.addEventDelegate({onAfterRendering:t.bind(this,e)})};A.prototype._getTileActionSheet=function(){if(!this._oActionSheet){this._oActionSheet=new e({placement:f.VerticalPreferedBottom});this._oActionSheet.attachAfterClose(this.fireAfterActionSheetClose.bind(this))}return this._oActionSheet};A.prototype._openActionMenu=function(){if(this._oActionModeIcon){if(!this._getTileActionSheet().isOpen()){this.fireBeforeActionSheetOpen()}if(this.getTileActions().length===0){this._openNoActionsPopover();return}this._getTileActionSheet().openBy(this._oActionModeIcon)}};A.prototype.getFocusDomRef=function(){if(this.getEditable()){return this._oActionModeIcon&&this._oActionModeIcon.getFocusDomRef()}const e=this.getContent();let t=e.findAggregatedObjects(true,e=>e.isA(\"sap.m.GenericTile\")||e.isA(\"sap.f.Card\")||e.isA(\"sap.m.SlideTile\"));if(t.length){return t[0].getFocusDomRef()}if(e.isA(\"sap.ui.core.ComponentContainer\")){const i=e.getComponentInstance();if(i?.findAggregatedObjects){t=i.findAggregatedObjects(true,e=>e.isA(\"sap.m.GenericTile\")||e.isA(\"sap.f.Card\")||e.isA(\"sap.m.SlideTile\"));if(t.length){return t[0].getFocusDomRef()}}}return e.getFocusDomRef()};A.prototype.onclick=function(e){if(this._preventDefault(e)){this.firePress({scope:\"Display\",action:\"Press\"})}else if(this._oRemoveIconVBox&&this._oRemoveIconVBox.getDomRef&&this._oRemoveIconVBox.getDomRef()&&this._oRemoveIconVBox.getDomRef().contains(e.target)){this.firePress({scope:\"Actions\",action:\"Remove\"})}else if(this.getEditable()){this._openActionMenu()}};A.prototype.onBeforeRendering=function(){const e=this.getDomRef();if(e){e.removeEventListener(\"keyup\",this._fnKeyupHandler);e.removeEventListener(\"touchend\",this._fnTouchendHandler)}};A.prototype._openNoActionsPopover=function(){const e=new n({text:d.i18n.getText(\"tileHasNoActions\")});new o({placement:f.VerticalPreferedBottom,showHeader:false,ariaLabelledBy:e.getId(),content:e}).addStyleClass(\"sapUiContentPadding\").openBy(this._oActionModeIcon)};A.prototype.onAfterRendering=function(){const e=this.getDomRef();this._fnKeyupHandler=this.onkeyup.bind(this);this._fnTouchendHandler=this.onclick.bind(this);e.addEventListener(\"keyup\",this._fnKeyupHandler,true);e.addEventListener(\"touchend\",this._fnTouchendHandler,true);if(e.parentElement){e.parentElement.setAttribute(\"aria-description\",d.i18n.getText(\"VizInstance.AriaDescription.Link\"));if(this._sGenericTileId){e.parentElement.setAttribute(\"aria-labelledby\",this._sGenericTileId)}}};A.prototype.onkeyup=function(e){if(this.getEditable()){if(c.events.sapdelete.fnCheck(e)||c.events.sapbackspace.fnCheck(e)){this.firePress({scope:\"Actions\",action:\"Remove\"})}if(c.events.sapspace.fnCheck(e)||c.events.sapenter.fnCheck(e)){this._openActionMenu();this._preventDefault(e)}}};A.prototype._preventDefault=function(e){if(this.getEditable()||!this.getClickable()){e.preventDefault();e.stopPropagation();e.stopImmediatePropagation();return false}return true};A.prototype.load=function(){return this._pLoad};A.prototype.loaded=function(){return this._pLoad};A.prototype._setSize=function(){const e={};switch(this.getDisplayFormat()){case b.Flat:e.width=2;e.height=1;break;case b.FlatWide:e.width=4;e.height=1;break;case b.StandardWide:e.width=4;e.height=2;break;default:e.width=2;e.height=2;break}this.setWidth(e.width);this.setHeight(e.height)};A.prototype.getAvailableDisplayFormats=function(){const e=this.getSupportedDisplayFormats();const t=this.getDisplayFormat();const i=e.filter(e=>e!==t);const o=i.indexOf(\"compact\");const n=this.getTitle();const s=this.getTargetURL();if(o>-1&&(!n||!s)){i.splice(o,1)}return i};A.prototype._getRemoveIconVBox=function(){if(!this._oRemoveIconVBox){const e=l.getResourceBundleFor(\"sap.m\");const t=new r({id:`${this.getId()}-action-remove`,alt:e.getText(\"GENERICTILE_ACTIONS_ARIA_TEXT\"),decorative:false,noTabStop:true,src:\"sap-icon://decline\",tooltip:d.i18n.getText(\"removeButtonTitle\")}).addStyleClass(\"sapUshellTileDeleteIconInnerClass sapMPointer\");this._oRemoveIconVBox=new s({items:[t]}).addStyleClass(\"sapUshellTileDeleteIconOuterClass sapUshellTileDeleteClickArea sapMPointer\");this._oRemoveIconVBox.setParent(this)}return this._oRemoveIconVBox};A.prototype._getActionModeButtonIconVBox=function(){if(!this._oActionModeButtonIconVBox){const e=l.getResourceBundleFor(\"sap.m\");this._oActionModeIcon=new r({id:`${this.getId()}-action-more`,decorative:false,alt:e.getText(\"LIST_ITEM_NAVIGATION\"),noTabStop:true,src:\"sap-icon://overflow\",tooltip:d.i18n.getText(\"configuration.category.tile_actions\")}).addStyleClass(\"sapUshellTileActionIconDivBottomInner sapMPointer\");const t=this._oActionModeIcon.onkeyup;this._oActionModeIcon.onkeyup=function(){t.apply(this._oActionModeIcon,arguments);this.onkeyup.apply(this,arguments)}.bind(this);this._oActionModeButtonIconVBox=new s({items:[this._oActionModeIcon]}).addStyleClass(\"sapUshellTileActionIconDivBottom sapMPointer\");this._oActionModeButtonIconVBox.setParent(this)}return this._oActionModeButtonIconVBox};return A});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/VizInstanceAbap\", [\"sap/base/util/Deferred\",\"sap/ushell/ui/launchpad/VizInstance\",\"sap/m/library\",\"sap/base/Log\",\"sap/ushell/library\",\"sap/ushell/utils/chipsUtils\",\"sap/ushell/ui/launchpad/VizInstanceRenderer\",\"sap/ushell/Container\"],(t,e,i,s,n,a,o,r)=>{\"use strict\";const p=i.LoadState;const h=n.DisplayFormat;const c=e.extend(\"sap.ushell.ui.launchpad.VizInstanceAbap\",{metadata:{library:\"sap.ushell\"},renderer:o});c.prototype.init=function(){e.prototype.init.apply(this,arguments);this._oLoadDeferred=new t;this._oChipInstancePromise=r.getServiceAsync(\"PageBuilding\").then(t=>{const e=t.getFactory();const i=this.getInstantiationData();let s;let n;if(!i.simplifiedChipFormat){s={chipId:i.chip.id,chip:i.chip}}else{const t=i.chip||{};n=t.bags;s={chipId:t.chipId,configuration:t.configuration?JSON.stringify(t.configuration):\"{}\"}}const o=e.createChipInstance(s);a.addBagDataToChipInstance(o,n);return o})};c.prototype.load=function(t){this._oChipInstancePromise.then(t=>{this._oChipInstance=t;return new Promise(this._oChipInstance.load)}).then(()=>{if(this.getPreview()){const t=this._oChipInstance.getContract(\"preview\");if(t){t.setEnabled(true)}}this._setVisible(this.getActive());return this._oChipInstance.getImplementationAsSapui5Async()}).then(t=>{this._setChipInstanceType();this.setContent(t);if(t.getComponentInstance&&t.getComponentInstance()){t.getComponentInstance().setParent(this)}this._oLoadDeferred.resolve()}).catch(t=>{this.setState(p.Failed);this._oLoadDeferred.reject(t)});return this._oLoadDeferred.promise};c.prototype.loaded=function(){return this._oLoadDeferred.promise};c.prototype._setChipInstanceType=function(){const t=this._oChipInstance.getContract(\"types\");if(t){t.setType(this._mapDisplayFormatToChip(this.getDisplayFormat()))}};c.prototype._mapDisplayFormatToChip=function(t){const e={};e[h.Standard]=\"tile\";e[h.StandardWide]=\"tile\";e[h.Compact]=\"link\";e[h.Flat]=\"flat\";e[h.FlatWide]=\"flatwide\";return e[t]};c.prototype._setVisible=function(t){const e=this._oChipInstance&&!this._oChipInstance.isStub()&&this._oChipInstance.getContract(\"visible\");if(e){e.setVisible(t)}};c.prototype.refresh=function(){if(this._oChipInstance){this._oChipInstance.refresh()}};c.prototype.setActive=function(t,e){this._setVisible(t);if(e){this.refresh()}return this.setProperty(\"active\",t,false)};return c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/VizInstanceBase\", [\"sap/ui/core/Control\"],e=>{\"use strict\";const a=e.extend(\"sap.ushell.ui.launchpad.VizInstanceBase\",{metadata:{library:\"sap.ushell\",properties:{active:{type:\"boolean\",defaultValue:false}}},renderer:(e,a)=>{e.openStart(\"div\",a);e.class(\"sapUshellVizInstanceBase\");e.close(\"div\")}});return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/VizInstanceCdm\", [\"sap/base/util/Deferred\",\"sap/ushell/ui/launchpad/VizInstance\",\"sap/m/library\",\"sap/ui/core/Component\",\"sap/base/util/ObjectPath\",\"sap/base/util/deepExtend\",\"sap/ui/core/ComponentContainer\",\"sap/ushell/UI5ComponentType\",\"sap/ushell/ui/launchpad/VizInstanceRenderer\",\"sap/ushell/Container\"],(t,e,o,n,i,s,r,a,p,l)=>{\"use strict\";const h=o.LoadState;const c=e.extend(\"sap.ushell.ui.launchpad.VizInstanceCdm\",{metadata:{library:\"sap.ushell\"},renderer:p});c.prototype.init=function(){e.prototype.init.apply(this,arguments);this._oLoadDeferred=new t};c.prototype.load=function(t){let e;if(t===true){e=this._loadCustomVizType()}else{e=this._loadStandardVizType()}e.then(t=>{this._oComponent=t;const e=new r({component:t});t.setParent(this);this.setContent(e);if(this.getSizeBehavior()){this.setTileSizeBehavior(this.getSizeBehavior())}this._setComponentTileVisible(this.getActive());this.setTileEditable(this.getEditable());this._oLoadDeferred.resolve(t)}).catch(t=>{this.setState(h.Failed);this._oLoadDeferred.reject(t)});return this._oLoadDeferred.promise};c.prototype.loaded=function(){return this._oLoadDeferred.promise};c.prototype._loadStandardVizType=function(){const t=this._getComponentConfiguration();return n.create(t)};c.prototype._loadCustomVizType=function(){const t=this._getCustomComponentConfiguration();const e={};const o=[];return l.getServiceAsync(\"Ui5ComponentLoader\").then(n=>n.createComponent(t,e,o,a.Visualization)).then(t=>{if(t&&t.componentHandle&&t.componentHandle.getInstance){return t.componentHandle.getInstance()}throw new Error(\"Create component failed: no instance found in the component handle.\")})};c.prototype._getComponentConfiguration=function(){const t=this.getInstantiationData().vizType;const e=this.getVizConfig();let o=i.get([\"sap.platform.runtime\",\"componentProperties\"],t);o=s({},this._getComponentProperties(),o);const n={name:t[\"sap.ui5\"].componentName,componentData:{properties:o},url:i.get([\"sap.platform.runtime\",\"componentProperties\",\"url\"],t),manifest:i.get([\"sap.platform.runtime\",\"componentProperties\",\"manifest\"],t),asyncHints:i.get([\"sap.platform.runtime\",\"componentProperties\",\"asyncHints\"],t)};const r=i.get([\"sap.platform.runtime\",\"includeManifest\"],t);const a=i.get([\"sap.platform.runtime\",\"includeManifest\"],e);if(r||a){n.manifest=s({},t,e)}if(typeof n.manifest===\"object\"){o.manifest=n.manifest}return n};c.prototype._getCustomComponentConfiguration=function(){const t=this._getComponentConfiguration();const e={loadCoreExt:true,loadDefaultDependencies:false,componentData:t.componentData,url:t.url,applicationConfiguration:{},reservedParameters:{},applicationDependencies:t,ui5ComponentName:t.name};return e};c.prototype._getComponentProperties=function(){return{title:this.getTitle(),subtitle:this.getSubtitle(),icon:this.getIcon(),info:this.getInfo(),indicatorDataSource:this.getIndicatorDataSource(),dataSource:this.getDataSource(),contentProviderId:this.getContentProviderId(),contentProviderLabel:this.getContentProviderLabel(),targetURL:this.getTargetURL(),displayFormat:this.getDisplayFormat(),numberUnit:this.getNumberUnit(),preview:this.getPreview()}};c.prototype._setComponentTileVisible=function(t){if(this._oComponent&&typeof this._oComponent.tileSetVisible===\"function\"){this._oComponent.tileSetVisible(t)}};c.prototype.setActive=function(t,e){this._setComponentTileVisible(t);if(e){this.refresh()}return this.setProperty(\"active\",t,false)};c.prototype.setTileEditable=function(t){if(this._oComponent&&typeof this._oComponent.tileSetEditMode===\"function\"){this._oComponent.tileSetEditMode(t)}return this};c.prototype.setTileSizeBehavior=function(t){if(this._oComponent&&typeof this._oComponent.tileSetSizeBehavior===\"function\"){this._oComponent.tileSetSizeBehavior(t)}e.prototype.setTileSizeBehavior.apply(this,arguments);return this};c.prototype.setPreview=function(t){const o=!!this.getProperty(\"preview\")&&!t;if(this._oComponent&&typeof this._oComponent.tileSetPreview===\"function\"){this._oComponent.tileSetPreview(t)}if(o){this.refresh()}e.prototype.setPreview.apply(this,arguments);return this};c.prototype.refresh=function(){if(this._oComponent&&typeof this._oComponent.tileRefresh===\"function\"){this._oComponent.tileRefresh()}};return c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/VizInstanceLaunchPage\", [\"sap/base/util/Deferred\",\"sap/ushell/ui/launchpad/VizInstance\",\"sap/ushell/library\",\"sap/ushell/ui/launchpad/VizInstanceRenderer\"],(e,t,a,i)=>{\"use strict\";const n=a.DisplayFormat;const s=t.extend(\"sap.ushell.ui.launchpad.VizInstanceLaunchPage\",{metadata:{library:\"sap.ushell\"},renderer:i});s.prototype.init=function(){t.prototype.init.apply(this,arguments);this._oLoadDeferred=new e};s.prototype.load=function(){const e=this.getInstantiationData().launchPageTile;sap.ushell.Container.getServiceAsync(\"FlpLaunchPage\").then(t=>new Promise((a,i)=>{const n=this.getPreview();t.getCatalogTileViewControl(e,n).done(a).fail(()=>{t.getTileView(e).done(a).fail(i)})}).then(a=>{this._setDisplayFormatFromTileSize(e,t);this.setContent(a);if(a.getComponentInstance?.()){a.getComponentInstance().setParent(this)}})).then(()=>{this._oLoadDeferred.resolve()}).catch(e=>{this._oLoadDeferred.reject(e)});return this._oLoadDeferred.promise};s.prototype.loaded=function(){return this._oLoadDeferred.promise};s.prototype._setDisplayFormatFromTileSize=function(e,t){const a=t.getTileSize(e);if(a===\"1x2\"){this.setDisplayFormat(n.StandardWide)}else{this.setDisplayFormat(n.Standard)}};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/VizInstanceLink\", [\"sap/m/library\",\"sap/ushell/library\",\"sap/m/GenericTile\",\"sap/ushell/ui/launchpad/VizInstance\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Config\",\"sap/ushell/utils/WindowUtils\",\"sap/m/ActionSheet\",\"sap/ushell/EventHub\",\"sap/ushell/Container\"],(e,t,i,a,r,o,s,l,n,p)=>{\"use strict\";const u=e.GenericTileMode;const c=e.GenericTileScope;const d=t.AppType;const h=t.DisplayFormat;const y=i.extend(\"sap.ushell.ui.launchpad.VizInstanceLink\",{metadata:{library:\"sap.ushell\",properties:{title:{type:\"string\",defaultValue:\"\",group:\"Appearance\",bindable:true},subtitle:{type:\"string\",defaultValue:\"\",group:\"Appearance\",bindable:true},editable:{type:\"boolean\",defaultValue:false,group:\"Behavior\",bindable:true},removable:{type:\"boolean\",defaultValue:true,group:\"Behavior\",bindable:true},active:{type:\"boolean\",group:\"Misc\",defaultValue:false},targetURL:{type:\"string\",group:\"Misc\"},mode:{type:\"sap.m.GenericTileMode\",group:\"Appearance\",defaultValue:u.LineMode},displayFormat:{type:\"sap.ushell.DisplayFormat\",defaultValue:h.Compact},supportedDisplayFormats:{type:\"sap.ushell.DisplayFormat[]\",defaultValue:[h.Compact]},dataHelpId:{type:\"string\",defaultValue:\"\"},vizRefId:{type:\"string\",defaultValue:\"\"},height:{type:\"int\",defaultValue:0},info:{type:\"string\",defaultValue:\"\",bindable:true},icon:{type:\"sap.ui.core.URI\",defaultValue:\"\",bindable:true},clickable:{type:\"boolean\",defaultValue:true,bindable:true},numberUnit:{type:\"string\",defaultValue:\"\",bindable:true},indicatorDataSource:{type:\"object\",defaultValue:undefined},dataSource:{type:\"object\",defaultValue:undefined},instantiationData:{type:\"object\",defaultValue:{}},contentProviderId:{type:\"string\",defaultValue:\"\"},contentProviderLabel:{type:\"string\",defaultValue:\"\"},keywords:{type:\"string[]\",defaultValue:[]},preview:{type:\"boolean\",defaultValue:false,bindable:true},vizConfig:{type:\"object\"}},defaultAggregation:\"tileActions\",aggregations:{tileActions:{type:\"sap.m.Button\",forwarding:{getter:\"_getTileActionSheet\",aggregation:\"buttons\"}},content:{type:\"sap.ui.core.Control\",multiple:false}},events:{beforeActionSheetOpen:{},afterActionSheetClose:{}}},renderer:i.getMetadata().getRenderer()});y.prototype.init=function(){i.prototype.init.apply(this,arguments);this.attachPress(this._handlePress,this);this._pLoad=Promise.resolve()};y.prototype.exit=function(){if(this._oActionSheet){this._oActionSheet.destroy()}};y.prototype._getTileActionSheet=function(){if(!this._oActionSheet){this._oActionSheet=new l;this._oActionSheet.attachAfterClose(this.fireAfterActionSheetClose.bind(this))}return this._oActionSheet};y.prototype._handlePress=function(){if(this.getEditable()){if(!this._getTileActionSheet().isOpen()){this.fireBeforeActionSheetOpen()}this._getTileActionSheet().openBy(this);return}const e=this.getTargetURL();if(!e){return}n.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Link\",data:{targetUrl:e}});if(e[0]===\"#\"){r.setHash(e)}else{const t=o.last(\"/core/shell/enableRecentActivity\")&&o.last(\"/core/shell/enableRecentActivityLogging\");if(t){const e={title:this.getTitle(),appType:d.URL,url:this.getTargetURL(),appId:this.getTargetURL()};p.getRendererInternal(\"fiori2\").logRecentActivity(e)}s.openURL(e,\"_blank\")}};y.prototype.load=function(){return this._pLoad};y.prototype.loaded=function(){return this._pLoad};y.prototype.setVizRefId=function(e){if(!this.getDataHelpId()){this.data(\"tile-id\",e,true)}return this.setProperty(\"vizRefId\",e)};y.prototype.setDataHelpId=function(e){this.data(\"help-id\",e,true);this.data(\"tile-id\",e,true);return this.setProperty(\"dataHelpId\",e)};y.prototype.setTitle=function(e){this.setHeader(e);return this.setProperty(\"title\",e)};y.prototype.setSubtitle=function(e){this.setSubheader(e);return this.setProperty(\"subtitle\",e)};y.prototype.setTargetURL=function(e){this.setUrl(e);return this.setProperty(\"targetURL\",e)};y.prototype.setProperty=function(e,t,a){if(e===\"title\"){this.setProperty(\"header\",t,a)}if(e===\"subtitle\"){this.setProperty(\"subheader\",t,a)}if(e===\"targetURL\"){this.setProperty(\"url\",t,a)}if(e===\"editable\"){if(t&&this.getRemovable()){this.setProperty(\"scope\",c.Actions,a)}else if(t){this.setProperty(\"scope\",c.ActionMore,a)}else{this.setProperty(\"scope\",c.Display,a)}}if(e===\"removable\"){const e=this.getEditable();if(t&&e){this.setProperty(\"scope\",c.Actions,a)}else if(e){this.setProperty(\"scope\",c.ActionMore,a)}else{this.setProperty(\"scope\",c.Display,a)}}return i.prototype.setProperty.apply(this,arguments)};y.prototype.getLayout=function(){return{columns:0,rows:0}};y.prototype.getAvailableDisplayFormats=a.prototype.getAvailableDisplayFormats;y.prototype.setTileEditable=a.prototype.setTileEditable;y.prototype.setTileSizeBehavior=a.prototype.setTileSizeBehavior;return y});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/VizInstanceRenderer\", [],()=>{\"use strict\";const e={apiVersion:2};e.render=function(e,n){const t=this._prepareControlsToBeRendered(n);e.openStart(\"div\",n);e.class(\"sapUshellVizInstance\");if(n.getEditable()){e.class(\"sapUshellVizInstanceEdit\")}e.openEnd();t.forEach(n=>{e.renderControl(n)});e.close(\"div\")};e._prepareControlsToBeRendered=function(e){const n=[e.getContent()];if(e.getEditable()){if(e.getRemovable()){const t=e._getRemoveIconVBox();n.unshift(t)}const t=e._getActionModeButtonIconVBox();n.push(t)}return n};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/section/CompactArea\", [\"sap/ui/core/Control\",\"sap/ui/events/KeyCodes\",\"sap/ushell/library\",\"./CompactAreaRenderer\"],function(e,t,o,r){\"use strict\";const n=e.extend(\"sap.ushell.ui.launchpad.section.CompactArea\",{metadata:{library:\"sap.ushell\",properties:{showEmptyLinksArea:{type:\"boolean\",group:\"Misc\",defaultValue:false},showEmptyLinksAreaPlaceHolder:{type:\"boolean\",group:\"Misc\",defaultValue:false},enableLinkReordering:{type:\"boolean\",group:\"Behavior\",defaultValue:false}},dnd:{draggable:false,droppable:true},aggregations:{items:{type:\"sap.ui.core.Control\",singularName:\"item\",multiple:true,dnd:true}},events:{borderReached:{parameters:{event:{type:\"jQuery.Event\"}}},itemDrop:{parameters:{draggedControl:{type:\"sap.ui.core.Control\"},droppedControl:{type:\"sap.ui.core.Control\"},dropPosition:{type:\"string\"}}}}},renderer:r});n.prototype.onBorderReached=this.fireBorderReached;n.prototype.onsapnext=function(e){e.stopImmediatePropagation(true);e.preventDefault();if(e.keyCode===t.ARROW_RIGHT){const e=this.getFocusedItemIndex();if(e>=0&&e<this.getItems().length-1){this.focusItem(e+1);return}}this.fireBorderReached({event:e})};n.prototype.onsapprevious=function(e){e.stopImmediatePropagation(true);e.preventDefault();if(e.keyCode===t.ARROW_LEFT){const e=this.getFocusedItemIndex();if(e>0){this.focusItem(e-1);return}}this.fireBorderReached({event:e})};n.prototype.onsapnextmodifiers=function(e){if(!this.getEnableLinkReordering()){return}const o=this.getFocusedItemIndex();const r=this.getItems();e.stopImmediatePropagation(true);e.preventDefault();if(e.keyCode===t.ARROW_RIGHT&&o>-1&&o<r.length-1){this.fireItemDrop({draggedControl:r[o],droppedControl:r[o+1],dropPosition:\"After\",browserEvent:e})}if(e.keyCode===t.ARROW_DOWN&&o>-1){this.fireItemDrop({draggedControl:r[o],droppedControl:null,dropPosition:\"After\",browserEvent:e})}};n.prototype.onsappreviousmodifiers=function(e){if(!this.getEnableLinkReordering()){return}const o=this.getFocusedItemIndex();const r=this.getItems();e.stopImmediatePropagation(true);e.preventDefault();if(e.keyCode===t.ARROW_LEFT&&o>0){this.fireItemDrop({draggedControl:r[o],droppedControl:r[o-1],dropPosition:\"Before\",browserEvent:e})}if(e.keyCode===t.ARROW_UP&&o>-1){this.fireItemDrop({draggedControl:r[o],droppedControl:null,dropPosition:\"Before\",browserEvent:e})}};n.prototype.focusItem=function(e){e=e||0;const t=this.getItems();if(e===-1||e>=t.length){e=t.length-1}if(e>=0){const o=t[e].getFocusDomRef()||t[e].getDomRef();(o.querySelector(\"a\")||o).focus()}else{this.focus()}};n.prototype.onmousedown=function(e){const t=this.getDOMItemIndex(e.srcControl.getDomRef());let o=this.getFocusedItemIndex();if(o<0){o=0}if(t<0){window.setTimeout(()=>{this.focusItem(o)},0)}};n.prototype.getDOMItemIndex=function(e){let t=-1;this.getItems().forEach((o,r)=>{const n=o.getDomRef();if(n&&n.contains(e)){t=r}});return t};n.prototype.getFocusDomRef=function(){if(this.getItems().length){return this.getItems()[0].getFocusDomRef()}return this.getDomRef()};n.prototype.onfocusin=function(e){if(document.activeElement===this.getDomRef()){this.focusItem(0)}};n.prototype.getFocusedItemIndex=function(){return this.getDOMItemIndex(document.activeElement)};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/launchpad/section/CompactAreaRenderer\", [\"sap/ushell/resources\"],e=>{\"use strict\";const t={apiVersion:2};t.render=function(t,r){t.openStart(\"div\",r);if(!r.getVisible()){t.style(\"display\",\"none\")}t.attr(\"role\",\"group\");t.attr(\"aria-label\",e.i18n.getText(\"Section.CompactArea.Description\"));t.style(\"width\",\"100%\");t.class(\"sapUshellSectionCompactArea\");t.openEnd();r.getItems().forEach(t.renderControl);t.close(\"div\")};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/ContentRenderer\", [\"sap/ui/base/Object\",\"sap/ui/core/RenderManager\"],(e,t)=>{\"use strict\";const r=e.extend(\"sap.ushell.ui.shell.ContentRenderer\",{constructor:function(r,i,s,n){e.apply(this);this._id=i;this._cntnt=s;this._ctrl=r;this._rm=(new t).getInterface();this._cb=n||function(){}},destroy:function(){this._rm.destroy();delete this._rm;delete this._id;delete this._cntnt;delete this._cb;delete this._ctrl;if(this._rerenderTimer){clearTimeout(this._rerenderTimer);delete this._rerenderTimer}e.prototype.destroy.apply(this,arguments)},render:function(){if(!this._rm){return}if(this._rerenderTimer){clearTimeout(this._rerenderTimer)}this._rerenderTimer=setTimeout(()=>{const e=document.getElementById(this._id);const t=e!==null;if(t){if(typeof this._cntnt===\"string\"){const e=this._ctrl.getAggregation(this._cntnt,[]);for(let t=0;t<e.length;t++){this._rm.renderControl(e[t])}}else{this._cntnt(this._rm)}this._rm.flush(e)}this._cb(t)},0)}});return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/NavigationMiniTile\", [\"sap/ui/core/Control\",\"sap/ui/core/IconPool\",\"sap/ushell/library\"],(e,t)=>{\"use strict\";const n=e.extend(\"sap.ushell.ui.shell.NavigationMiniTile\",{metadata:{library:\"sap.ushell\",properties:{title:{type:\"string\",group:\"Misc\",defaultValue:null},subtitle:{type:\"string\",group:\"Misc\",defaultValue:null},icon:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:null},intent:{type:\"string\",group:\"Misc\",defaultValue:null}},aggregations:{},events:{press:{}}},renderer:{apiVersion:2,render:function(e,n){const s=n.getTitle();const i=n.getSubtitle();const l=n.getIcon();const a=t.createControlByURI(l);e.openStart(\"div\",n);e.attr(\"tabindex\",\"-1\");e.class(\"sapUshellNavMiniTile\");e.attr(\"role\",\"listitem\");e.attr(\"aria-label\",i?`${s} ${i}`:s);e.openEnd();e.openStart(\"div\");e.openEnd();e.openStart(\"span\");e.class(\"sapUshellNavMiniTileTitle\");e.openEnd();if(s){e.text(s)}e.close(\"span\");e.close(\"div\");e.openStart(\"div\");e.openEnd();if(a){e.openStart(\"span\");e.class(\"sapUshellNavMiniTileIcon\");e.openEnd();e.renderControl(a);e.close(\"span\")}else{e.openStart(\"span\");e.class(\"sapUshellNavMiniTileSubtitle\");e.openEnd();e.text(i||\"\");e.close(\"span\")}e.close(\"div\");e.close(\"div\")}}});n.prototype.ontap=function(){this.firePress({})};n.prototype.onsapenter=function(){this.firePress({})};n.prototype.onsapspace=function(){this.firePress({})};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/OverflowListItem\", [\"sap/m/StandardListItem\",\"sap/ui/core/CustomData\",\"sap/ushell/library\",\"sap/ushell/ui/shell/ShellHeadItem\"],(e,t,a,o)=>{\"use strict\";const r=o.getMetadata().getProperties();const l=e.extend(\"sap.ushell.ui.shell.OverflowListItem\",{metadata:{library:\"sap.ushell\",properties:{floatingNumber:{type:r.floatingNumber.type,group:r.floatingNumber.group,defaultValue:r.floatingNumber.defaultValue},floatingNumberMaxValue:{type:r.floatingNumberMaxValue.type,group:r.floatingNumberMaxValue.group,defaultValue:r.floatingNumberMaxValue.defaultValue},floatingNumberType:{type:r.floatingNumberType.type,group:r.floatingNumberType.group,defaultValue:r.floatingNumberType.defaultValue}}},renderer:{apiVersion:2}});l.prototype.init=o.prototype.init;l.prototype.onBeforeRendering=o.prototype.onBeforeRendering;l.prototype.tooltipFormatter=o.prototype.tooltipFormatter;l.prototype.floatingNumberFormatter=o.prototype.floatingNumberFormatter;l.prototype._getImage=function(){let a=this._oImage;if(!a){a=e.prototype._getImage.call(this)}if(this.getFloatingNumber()>0){a.addStyleClass(\"sapUshellShellHeadItmCounter\");a.addCustomData(new t({key:\"counter-content\",value:this.floatingNumberFormatter(),writeToDom:true}))}else{a.removeStyleClass(\"sapUshellShellHeadItmCounter\")}this._oImage=a;return this._oImage};return l},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/RightFloatingContainer\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Control\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/resources\",\"sap/ushell/library\"],(e,t,jQuery,i)=>{\"use strict\";const n=t.extend(\"sap.ushell.ui.shell.RightFloatingContainer\",{metadata:{library:\"sap.ushell\",properties:{size:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"56px\"},top:{type:\"string\",group:\"Appearance\",defaultValue:\"0\"},right:{type:\"string\",group:\"Appearance\",defaultValue:\"0\"},textVisible:{type:\"boolean\",group:\"Appearance\",defaultValue:true},insertItemsWithAnimation:{type:\"boolean\",group:\"Appearance\",defaultValue:true,deprecated:true},hideItemsAfterPresentation:{type:\"boolean\",group:\"Appearance\",defaultValue:false},enableBounceAnimations:{type:\"boolean\",group:\"Appearance\",defaultValue:false},actAsPreviewContainer:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},aggregations:{floatingContainerItems:{type:\"sap.ui.core.Control\",multiple:true}},events:{afterRendering:{}}},renderer:{apiVersion:2,render:function(t,n){const s=e.getRTL();t.openStart(\"aside\",n);t.class(\"sapUshellRightFloatingContainer\");t.style(\"top\",`${n.getTop()}rem`);t.attr(\"aria-label\",i.i18n.getText(\"FloatingContainer_AriaLabel\"));t.style(s?\"left\":\"right\",`${n.getRight()}rem`);t.attr(\"data-role\",\"alert\");t.openEnd();t.openStart(\"ul\");t.class(\"sapUshellNotificationListContainer\");t.attr(\"role\",\"list\");t.openEnd();this.renderFloatingContainerItems(t,n);t.close(\"ul\");t.close(\"aside\")},renderFloatingContainerItems:function(e,t){const i=t.getInsertItemsWithAnimation();const n=t.getActAsPreviewContainer();const s=t.getFloatingContainerItems();let a;for(a=0;a<s.length;a++){if(n&&!i){s[a].addStyleClass(\"sapUshellNonAnimatedNotificationListItem\")}else if(s[a].hasStyleClass(\"sapUshellNonAnimatedNotificationListItem\")){s[a].addStyleClass(\"sapUshellNotificationsListItem\");s[a].addStyleClass(\"sapUshellRightFloatingContainerItemBackToViewport\");s[a].addStyleClass(\"sapUshellRightFloatingContainerItemHidden\");s[a].addStyleClass(\"sapUshellRightFloatingContainerItmHeightVisible\");s[a].removeStyleClass(\"sapUshellNonAnimatedNotificationListItem\")}e.renderControl(s[a])}}}});n.prototype.init=function(){let e;addEventListener(\"resize\",()=>{clearTimeout(e);e=setTimeout(this._handleResize.bind(this),100)});this.iRequiredItemsNumber=5};n.prototype.onBeforeRendering=function(){};n.prototype._setSize=function(){};n.prototype._handleResize=function(){if(this.getDomRef()&&this.getFloatingContainerItems().length){const e=this.iRequiredItemsNumber;const t=window.innerHeight;const i=this.getDomRef();const n=i.getBoundingClientRect().top;const s=jQuery(\".sapUiSizeCompact\").length>0?56:64;const a=this.$().find(\"li\").eq(0);let o;if(!a.length){return}const l=a[0].clientHeight;const r=jQuery(\"#sapUshellDashboardFooter\").outerHeight();this.iRequiredItemsNumber=Math.min(parseInt((t-n-s-r)/l,10),5);if(e!==this.iRequiredItemsNumber){o=this.getFloatingContainerItems();for(let e=0;e<o.length;e++){if(e<this.iRequiredItemsNumber||isNaN(this.iRequiredItemsNumber)){o[e].removeStyleClass(\"sapUshellShellHidden\")}else{o[e].addStyleClass(\"sapUshellShellHidden\")}}}}};n.prototype.onAfterRendering=function(){this.fireAfterRendering();setTimeout(()=>{this._handleResize()},500);this.addStyleClass(\"sapContrastPlus\");this.addStyleClass(\"sapContrast\");this.addStyleClass(\"sapUshellNotificationsListItem\")};n.prototype.setVisible=function(e){this.setProperty(\"visible\",e,true);if(e){jQuery(this.getDomRef()).css(\"visibility\",\"visible\")}else{jQuery(this.getDomRef()).css(\"visibility\",\"hidden\")}};n.prototype.setFloatingContainerItemsVisiblity=function(e){const t=this.getFloatingContainerItems();const i=e?300:0;const n=this.getInsertItemsWithAnimation();function s(i){if(e){t[i].removeStyleClass(\"sapUshellRightFloatingContainerItemBounceOut\").addStyleClass(\"sapUshellRightFloatingContainerItemBounceIn\")}else{t[i].removeStyleClass(\"sapUshellRightFloatingContainerItemBounceIn\").addStyleClass(\"sapUshellRightFloatingContainerItemBounceOut\")}}for(let a=0;a<t.length;a++){(function(a){return function(){if(n){setTimeout(()=>{s(a)},i+a*100)}else{t[a].setVisible(e)}}})(a)()}};n.prototype._animationBouncer=function e(t){function i(){if(!e._animationQueue.length){e._itemTimeoutId=undefined;return}const t=e._animationQueue.shift();t.addStyleClass(\"sapUshellRightFloatingContainerItmHeightVisible\").addStyleClass(\"sapUshellRightFloatingContainerItemBounceIn\");e._itemTimeoutId=setTimeout(i,100)}if(!e._animationQueue){e._animationQueue=[]}e._animationQueue.push(t);if(e._mainTimeoutId||e._itemT Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/ShellAppTitle\", [\"sap/m/Bar\",\"sap/m/Button\",\"sap/m/Label\",\"sap/m/HBox\",\"sap/m/VBox\",\"sap/m/library\",\"sap/m/Popover\",\"sap/m/ResponsivePopover\",\"sap/m/Title\",\"sap/m/ToggleButton\",\"sap/ui/core/Element\",\"sap/ui/core/Icon\",\"sap/ui/core/IconPool\",\"sap/ui/Device\",\"sap/ui/performance/Measurement\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/AccessibilityCustomData\",\"sap/ushell/state/StateManager\",\"sap/ushell/state/ShellModel\"],(e,t,o,s,n,l,i,p,r,a,c,h,u,d,g,y,A,f,M,v,T,S,C)=>{\"use strict\";const P=M.AppTitleState;const _=M.AllMyAppsState;const m=l.PlacementType;const N=S.ShellMode;const B=t.extend(\"sap.ushell.ui.shell.ShellAppTitle\",{metadata:{library:\"sap.ushell\",properties:{title:{type:\"string\",group:\"Data\",defaultValue:null},subTitle:{type:\"string\",group:\"Data\",defaultValue:null},showAppTitle:{type:\"boolean\",group:\"Data\",defaultValue:true},icon:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:\"sap-icon://folder\"}},associations:{navigationMenu:{type:\"sap.ushell.ui.shell.ShellNavigationMenu\"},allMyApps:{type:\"sap.ui.core.mvc.View\"},newExperienceControl:{type:\"sap.ui.core.Control\"}},events:{textChanged:{deprecated:true}}},renderer:{apiVersion:2,render:function(e,t){const o=t._getControlVisibilityAndState();const s=t.getText();e.openStart(\"div\",t);e.class(\"sapUshellHeadTitle\");if(o||d.system.phone){e.class(\"sapUshellAppTitleClickable\")}e.openEnd();e.openStart(\"h1\");e.class(\"sapUiPseudoInvisibleText\");e.attr(\"aria-level\",\"1\");e.openEnd();e.text(s||\"\");e.close(\"h1\");e.openStart(\"div\",`${t.getId()}-button`);e.class(\"sapUshellAppTitle\");if(o||d.system.phone){e.attr(\"tabindex\",\"0\")}if(t.getTooltip_AsString()){e.attr(\"title\",t.getTooltip_AsString())}if(o){e.attr(\"role\",\"button\");e.attr(\"aria-haspopup\",\"dialog\");e.attr(\"aria-label\",s)}e.openEnd();if(t.getShowAppTitle()){e.openStart(\"span\");e.class(\"sapUshellAppTitleText\");e.openEnd();e.text(s||\"\");e.close(\"span\")}if(o&&s){e.openStart(\"span\");e.class(\"sapUshellShellHeadAction\");e.openEnd();e.renderControl(t.oIcon);e.close(\"span\")}e.close(\"div\");e.close(\"div\")}}});B.prototype.init=function(){t.prototype.init.apply(this,arguments);this.oIcon=u.createControlByURI(u.getIconURI(\"slim-arrow-down\"));this.oIcon.addStyleClass(\"sapUshellAppTitleMenuIcon\");this._screenWidth=null;if(d.system.desktop){this.addEventDelegate({onkeydown:function(e){if(e.altKey&&e.keyCode===40){this.onclick(e)}}.bind(this)})}if(A.last(\"/core/shellBar/enabled\")){d.resize.attachHandler(B._showAppTitleText.bind(this))}};B._showAppTitleText=function(e){const t=e.width;if(!this._screenWidth||Math.abs(this._screenWidth-t)>50){this.setShowAppTitle(true);this._screenWidth=t}};B.prototype._getNewExperienceWrapper=function(){if(!this._oNewExperienceWrapper){this._oNewExperienceWrapper=new n({renderType:\"Bare\"});this._oNewExperienceWrapper.addStyleClass(\"sapUiSmallMarginBeginEnd\");this.addDependent(this._oNewExperienceWrapper)}return this._oNewExperienceWrapper};B.prototype.onBeforeRendering=function(){if(!A.last(\"/core/shellBar/enabled\")){this.setShowAppTitle(d.media.getCurrentRange(d.media.RANGESETS.SAP_STANDARD).name!==\"Phone\")}};B.prototype.getFocusDomRef=function(){return this.getDomRef(\"button\")};B._getCurrentState=function(){return C.getConfigModel().getProperty(\"/shellAppTitleState\")};B._setCurrentState=function(e){C.getConfigModel().setProperty(\"/shellAppTitleState\",e)};B.prototype.onclick=function(e){e.preventDefault();this.firePress();if(!this._getControlVisibilityAndState()){if(d.system.phone){y.setHash(A.last(\"/core/shellHeader/rootIntent\"))}return}if(B._getCurrentState()===P.AllMyAppsOnly){g.start(\"FLP:ShellAppTitle.onClick\",\"Click ShellAppTitle in HOME state, Launching AllMyApps\",\"FLP\");this._openCloseAllMyAppsPopover();return}this._openCloseNavMenuPopover()};B.prototype._openCloseAllMyAppsPopover=function(){if(!this.oAllMyAppsPopover){this.oAllMyAppsPopover=this._createAllMyAppsPopover()}if(this.oAllMyAppsPopover){if(this.oAllMyAppsPopover.isOpen()){this.oAllMyAppsPopover.close()}else{this.oAllMyAppsPopover.openBy(this)}}};B.prototype._openCloseNavMenuPopover=function(){if(!this.oNavMenuPopover){this.oNavMenuPopover=this._createNavMenuPopover()}B._setCurrentState(P.ShellNavMenu);if(this.oNavMenuPopover.isOpen()){this.oNavMenuPopover.close()}else{this.oNavMenuPopover.openBy(this)}if(this.oNavMenuPopover.getFooter()){const e=S.getShellMode()===N.Default;const t=S.isLegacyHome();this.oNavMenuPopover.getFooter().setVisible(e||t)}};B.prototype._getControlVisibilityAndState=function(){g.start(\"FLP:ShellAppTitle.getControlVisibilityAndState\",\"Check AllMyApps and NavShellMenu visibility\",\"FLP\");const e=S.getShellMode()===N.Default;const t=S.isLegacyHome();const o=this._isNavMenuEnabled();let s=o;if(e||t){const e=A.last(\"/core/services/allMyApps/enabled\");s=e||o;if(e&&o){B._setCurrentState(P.ShellNavMenu)}else if(!e&&o){B._setCurrentState(P.ShellNavMenuOnly)}else if(e&&!o){B._setCurrentState(P.AllMyAppsOnly)}}else{B._setCurrentState(P.ShellNavMenuOnly)}g.end(\"FLP:ShellAppTitle.getControlVisibilityAndState\");return s};B.prototype._createAllMyAppsPopover=function(){const e=c.getElementById(this.getAllMyApps());if(!e){return null}const t=new p(\"sapUshellAllMyAppsPopover\",{placement:m.Bottom,title:\"\",showArrow:true,customHeader:this._getPopoverHeader(),verticalScrolling:false,showHeader:{path:\"configModel>/shellAppTitleState\",formatter:function(e){return e!==P.ShellNavMenu}},content:[e],contentHeight:\"28rem\",contentWidth:\"56rem\"}).addStyleClass(\"sapContrastPlus\");t.setModel(C.getConfigModel(),\"configModel\");t.attachBeforeOpen(()=>{f.getServiceAsync(\"AppLifeCycle\").then(e=>{if(e.getCurrentApplication()?.homePage){const e=c.getElementById(this.getNewExperienceControl());if(e){const o=this._getNewExperienceWrapper();o.addItem(e);t.insertContent(o,0)}else if(this._oNewExperienceWrapper){this.addDependent(this._oNewExperienceWrapper)}}})});t.attachAfterOpen(()=>{const e=t.getCustomHeader();const o=e.getContentLeft()[0];const s=e.getContentLeft()[1];if(s.getVisible()){s.firePress();s.setPressed(true)}o.focus()});t.attachAfterClose(this._afterCloseAllMyAppsPopover.bind(this));return t};B.prototype._afterCloseAllMyAppsPopover=function(){if(this._bOpenNavigationMenu===true){this._bOpenNavigationMenu=false;this.oNavMenuPopover.openBy(this)}else if(!d.system.phone){this.focus()}};B.prototype._createNavMenuPopover=function(){const e=c.getElementById(this.getNavigationMenu());this.oTitle=new r(\"navMenuInnerTitle\",{wrapping:true,text:\"{shellModel>/application/title}\"});this.oSecondTitle=new o(\"navMenuInnerSecondTitle\",{text:\"{shellModel>/header/secondTitle}\",visible:\"{= !!${shellModel>/header/secondTitle}}\",wrapping:true});this.oIconControl=new h({src:\"{shellModel>/application/icon}\"});const t=new n({items:[this.oTitle,this.oSecondTitle]}).addStyleClass(\"sapUshellNavTitleBox\");const l=new n({items:[this.oIconControl]}).addStyleClass(\"sapUiContentPadding\");const p=new s(\"navMenuTitleBar\",{width:\"100%\",items:[l,t]});const a=new i(\"sapUshellAppTitlePopover\",{placement:m.Bottom,showArrow:true,showHeader:false,contentWidth:\"20rem\",horizontalScrolling:false,content:[p,e]}).addStyleClass(\"sapContrastPlus\");if(A.last(\"/core/services/allMyApps/enabled\")){a.setFooter(this._getPopoverFooterContent())}a.addStyleClass(\"sapUshellAppTitleNavigationMenuPopover\");a.setModel(C.getModel(),\"shellModel\");C.getConfigModel().setProperty(\"/allMyAppsMasterLevel\",_.FirstLevel);a.attachBeforeOpen(()=>{e._beforeOpen();const t=c.getElementById(this.getNewExperienceControl());if(t){const e=this._getNewExperienceWrapper();e.addItem(t);a.insertContent(e,1)}else if(this._oNewExperienceWrapper){this.addDependent(this._oNewExperienceWrapper)}});a.attachAfterOpen(()=>{e.$().on(\"touchmove.scrollFix\",e=>{e.stopPropagation()});e._afterOpen()});a.attachAfterClose(this._afterCloseNavigationMenuPopover.bind(this));return a};B.prototype._afterCloseNavigationMenuPopover=function(){if(this._bOpenAllMyApps){this._bOpenAllMyApps=false;this._openCloseAllMyAppsPopover()}else if(!d.system.phone){this.focus()}};B.prototype._setAllMyAppsTitle=function(e){const t=B._getCurrentState();const o=C.getModel().getProperty(\"/header/secondTitle\");if(o&&(t===\"AllMyAppsOnly\"||t===\"AllMyApps\")){e=`${e} - ${o}`}r.prototype.setText.apply(this,[e])};B.prototype._getPopoverHeader=function(){const t=new r({text:v.i18n.getText(\"allMyApps_headerTitle\"),level:\"H1\"});t.setText=this._setAllMyAppsTitle.bind(t);const o=new e(\"sapUshellShellAppPopoverHeader\",{contentLeft:[this._createPopoverBackButton(),this._createPopoverToggleButton()],contentMiddle:[t]});return o};B.prototype.onAfterRendering=function(){this._adjustAppTitleTooltip()};B.prototype._adjustAppTitleTooltip=function(){const e=this.getDomRef(\"button\");const t=e&&e.firstChild;if(t){let e;const o=A.last(\"/core/services/allMyApps/enabled\");const s=S.getShellMode()===N.Default;const n=S.isLegacyHome();const l=(s||n)&&o;const i=c.getElementById(this.getNavigationMenu());const p=i&&i.getItems()&&i.getItems().length>0;if(p){e=v.i18n.getText(\"shellNavMenu_openMenuTooltip_navigationMenu\")}else if(l){e=v.i18n.getText(\"shellNavMenu_openMenuTooltip_allMyApps\")}else{const o=t.offsetWidth<t.scrollWidth;e=o?this.getText():null}if(this.getTooltip()!==e){this.setTooltip(e)}}};B.prototype._createPopoverBackButton=function(){const e=new t(\"sapUshellAppTitleBackButton\",{icon:u.getIconURI(\"nav-back\"),press:[this._popoverBackButtonPressHandler,this],tooltip:v.i18n.getText(\"backBtn_tooltip\"),visible:this.getAllMyAppsController().getBackButtonVisible()});e.addStyleClass(\"sapUshellCatalogNewGroupBackButton\");return e};B.prototype._popoverBackButtonPressHandler=function(){const e=this.getAllMyAppsController();const t=e.getCurrentState();if(t===_.FirstLevel||t===_.FirstLevelSpread){if(B._getCurrentState()!==P.AllMyAppsOnly){B._setCurrentState(P.ShellNavMenu);this.oAllMyAppsPopover.close();this._bOpenNavigationMenu=true}}else if(t===_.SecondLevel){e.switchToInitialState()}else{e.handleSwitchToMasterAreaOnPhone()}e.updateHeaderButtonsState()};B.prototype._createPopoverToggleButton=function(){const e=this.getAllMyAppsController();const t=new a(\"sapUshellAllMyAppsToggleListButton\",{icon:u.getIconURI(\"sap-icon://menu2\"),press:function(t){e.switchToInitialState();this.setTooltip(t.getParameter(\"pressed\")?v.i18n.getText(\"ToggleButtonHide\"):v.i18n.getText(\"ToggleButtonShow\"))},tooltip:v.i18n.getText(\"ToggleButtonShow\"),visible:e.getToggleListButtonVisible()});d.media.attachHandler(()=>{t.setVisible(e.getToggleListButtonVisible())},this,d.media.RANGESETS.SAP_STANDARD);t.addStyleClass(\"sapUshellAllMyAppsToggleListButton\");return t};B.prototype._getPopoverFooterContent=function(){const o=new t(\"allMyAppsButton\",{text:v.i18n.getText(\"allMyApps_launchingButtonTitle\"),press:this._allMyAppsButtonPressHandler.bind(this),visible:{path:\"shellConfig>/shellAppTitleState\",formatter:function(e){return e===P.ShellNavMenu}}});const s=new e(\"shellpopoverFooter\",{contentMiddle:[o]});this.addCustomData(o,\"role\",\"button\");this.addCustomData(o,\"aria-label\",v.i18n.getText(\"allMyApps_launchingButtonTitle\"));return s};B.prototype._allMyAppsButtonPressHandler=function(){if(c.getElementById(this.getAllMyApps())){g.start(\"FLP:ShellNavMenu.footerClick\",\"Click the footer of ShellNavMenu, Launching AllMyApps\",\"FLP\");B._setCurrentState(P.AllMyApps);this.oNavMenuPopover.close();this._bOpenAllMyApps=true}};B.prototype._isNavMenuEnabled=function(){const e=c.getElementById(this.getNavigationMenu());return e?e.getItems()&&e.getItems().length>0:false};B.prototype.addCustomData=function(e,t,o){e.addCustomData(new T({key:t,value:o,writeToDom:true}))};B.prototype.close=function(){if(this.oNavMenuPopover&&this.oNavMenuPopover.isOpen()){this.oNavMenuPopover.close()}if(this.oAllMyAppsPopover&&this.oAllMyAppsPopover.isOpen()){this.oAllMyAppsPopover.close()}};B.prototype.setTooltip=function(e){this.setAggregation(\"tooltip\",e);this.oIcon.setTooltip(e)};B.prototype.getAllMyAppsController=function(){const e=c.getElementById(this.getAllMyApps());return e.getController()};B.prototype.onkeyup=function(e){if(e.keyCode===32){this.onclick(e)}};B.prototype.onsapenter=B.prototype.onclick;B.prototype.exit=function(){const e=c.getElementById(this.getNavigationMenu());const t=c.getElementById(this.getAllMyApps());if(e){e.destroy()}if(t){t.destroy()}if(this.oAllMyAppsPopover){this.oAllMyAppsPopover.destroy()}if(this.oNavMenuPopover){this.oNavMenuPopover.destroy()}if(this.oIcon){this.oIcon.destroy()}};return B});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/ShellFloatingAction\", [\"sap/ui/thirdparty/jquery\",\"sap/m/Button\",\"./ShellFloatingActionRenderer\",\"sap/ushell/library\"],(jQuery,t,e)=>{\"use strict\";const i=t.extend(\"sap.ushell.ui.shell.ShellFloatingAction\",{metadata:{library:\"sap.ushell\"},renderer:e});i.prototype.init=function(){this.addStyleClass(\"sapUshellShellFloatingAction\");if(t.prototype.init){t.prototype.init.apply(this,arguments)}};i.prototype.exit=function(){t.prototype.exit.apply(this,arguments)};i.prototype.onAfterRendering=function(){if(this.data(\"transformY\")){this.removeStyleClass(\"sapUshellShellFloatingActionTransition\");jQuery(this.getDomRef()).css(\"transform\",`translateY(${this.data(\"transformY\")})`)}else{this.addStyleClass(\"sapUshellShellFloatingActionTransition\")}};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/ShellFloatingActionRenderer\", [\"sap/ui/core/Renderer\",\"sap/m/ButtonRenderer\"],(e,r)=>{\"use strict\";const n=e.extend(r);n.apiVersion=2;return n},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/ShellFloatingActions\", [\"sap/ui/core/Control\",\"sap/ushell/library\",\"sap/ushell/resources\",\"./ShellFloatingAction\"],(t,e,s,l)=>{\"use strict\";const o=t.extend(\"sap.ushell.ui.shell.ShellFloatingActions\",{metadata:{library:\"sap.ushell\",properties:{isFooterVisible:{type:\"boolean\",defaultValue:false}},aggregations:{floatingActions:{type:\"sap.ushell.ui.shell.ShellFloatingAction\",multiple:true,singularName:\"floatingAction\"}}},renderer:{apiVersion:2,render:function(t,e){const s=e.getFloatingActions();t.openStart(\"div\",e);t.class(\"sapUshellShellFloatingActions\");t.openEnd();if(s.length){let l;if(s.length===1){l=s[0]}else{l=e._createMultipleFloatingActionsButton(s);s.forEach(e=>{e.setVisible(false);t.renderControl(e)})}t.renderControl(l)}t.close(\"div\")}}});o.prototype._createMultipleFloatingActionsButton=function(t){if(this._oButton){this._oButton.destroy();this._oButton=null}let e;const o=this;this._oButton=new l({id:`${this.getId()}-multipleFloatingActions`,icon:\"sap-icon://add\",visible:true,press:function(){if(!this.hasStyleClass(\"sapUshellShellFloatingActionRotate\")){this.addStyleClass(\"sapUshellShellFloatingActionRotate\");if(!e){e=parseInt(this.$().outerHeight(),10)+parseInt(o.$().css(\"bottom\"),10)}t.forEach(t=>{t.setVisible(true)});setTimeout(()=>{t.forEach((t,s)=>{const l=e*(s+1);t.$().css(\"transform\",`translateY(-${l}px)`);t.data(\"transformY\",`-${l}px`)})},0)}else{this.removeStyleClass(\"sapUshellShellFloatingActionRotate\");t.forEach(t=>{t.$().css(\"transform\",\"translateY(0)\")});setTimeout(()=>{t.forEach(t=>{t.setVisible(false);t.data(\"transformY\",undefined)})},150)}},tooltip:s.i18n.getText(\"XXX\")});return this._oButton};return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/ShellHeadItem\", [\"sap/base/util/ObjectPath\",\"sap/ui/core/Control\",\"sap/ui/core/IconPool\",\"sap/ui/core/InvisibleText\",\"sap/ushell/library\",\"sap/ushell/resources\"],(e,t,a,i,o,n)=>{\"use strict\";const r=o.FloatingNumberType;const l=t.extend(\"sap.ushell.ui.shell.ShellHeadItem\",{metadata:{library:\"sap.ushell\",properties:{startsSection:{type:\"boolean\",group:\"Appearance\",defaultValue:false,deprecated:true},showSeparator:{type:\"boolean\",group:\"Appearance\",defaultValue:false,deprecated:true},enabled:{type:\"boolean\",group:\"Appearance\",defaultValue:true},selected:{type:\"boolean\",group:\"Appearance\",defaultValue:false},showMarker:{type:\"boolean\",group:\"Appearance\",defaultValue:false,deprecated:true},icon:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:null},target:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:null},ariaLabel:{type:\"string\",group:\"Accessibility\",defaultValue:null},ariaHidden:{type:\"boolean\",group:\"Accessibility\",defaultValue:false},ariaHaspopup:{type:\"string\",group:\"Accessibility\",defaultValue:\"\"},text:{type:\"string\",group:\"Appearance\",defaultValue:null},floatingNumber:{type:\"int\",group:\"Appearance\",defaultValue:null},floatingNumberMaxValue:{type:\"int\",group:\"Appearance\",defaultValue:999},floatingNumberType:{type:\"sap.ushell.FloatingNumberType\",group:\"Appearance\",defaultValue:r.None}},events:{press:{}}},renderer:{apiVersion:2,render:function(e,t){const i=t.getTarget();e.openStart(\"a\",t);e.attr(\"tabindex\",\"0\");if(i){e.attr(\"href\",i)}e.attr(\"role\",i?\"link\":\"button\");const o=t.getAriaLabel();if(o){e.attr(\"aria-label\",o)}const n=t.getAriaHidden();if(n){e.attr(\"aria-hidden\",n)}const r=t.getAriaHaspopup();if(r){e.attr(\"aria-haspopup\",r)}e.attr(\"aria-describedby\",t._oAriaDescribedbyText.getId());if(t.getTooltip_AsString()){e.attr(\"title\",t.getTooltip_AsString())}if(t.getFloatingNumber()>0){e.attr(\"data-counter-content\",t.floatingNumberFormatter());e.class(\"sapUshellShellHeadItmCounter\")}e.class(\"sapUshellShellHeadItm\");if(!t.getEnabled()){e.class(\"sapUshellShellHeadItmDisabled\")}if(t.getSelected()){e.class(\"sapUshellShellHeadItmSel\")}const l=t.getText();const s=t.getTooltip_AsString();if(l||s){e.attr(\"title\",s||l)}e.openEnd();e.openStart(\"span\");e.class(\"sapUshellShellHeadItmCntnt\");const u=t.getIcon();const p=a.isIconURI(u)&&a.getIconInfo(u);if(p){e.style(\"font-family\",p.fontFamily);e.openEnd();e.text(p.content)}else{e.openEnd();e.voidStart(\"img\");e.attr(\"id\",`${t.getId()}-img-inner`);e.attr(\"src\",u);e.voidEnd()}e.close(\"span\");e.close(\"a\")}}});l.prototype.init=function(){this._oAriaDescribedbyText=new i(`${this.getId()}-describedby`).toStatic();this.addDependent(this._oAriaDescribedbyText)};l.prototype.onBeforeRendering=function(){switch(this.getFloatingNumberType()){case r.None:this._oAriaDescribedbyText.setText(\"\");break;default:const e=this.getFloatingNumber();if(!e){this._oAriaDescribedbyText.setText(\"\")}else{const t=this.getFloatingNumberMaxValue();this._oAriaDescribedbyText.setText(e>t?n.i18n.getText(\"NotificationToggleButton.NewNotifications.MaxExceeded\",[t]):n.i18n.getText(\"NotificationToggleButton.NewNotifications\",[e]))}break}};l.prototype.tooltipFormatter=function(e){const t=typeof e!==\"undefined\"?e:this.getFloatingNumber();const a=this.getFloatingNumberMaxValue();switch(this.getFloatingNumberType()){case r.None:return\"\";case r.Notifications:if(!t){return n.i18n.getText(\"NotificationToggleButton.NoNewNotifications\")}return t>a?n.i18n.getText(\"NotificationToggleButton.NewNotifications.MaxExceeded\",[a]):n.i18n.getText(\"NotificationToggleButton.NewNotifications\",[t]);case r.OverflowButton:let e=n.i18n.getText(\"shellHeaderOverflowBtn_tooltip\");if(!t){return e}e+=` (${t>a?n.i18n.getText(\"NotificationToggleButton.NewNotifications.MaxExceeded\",[a]):n.i18n.getText(\"NotificationToggleButton.NewNotifications\",[t])})`;return e;default:}};l.prototype.floatingNumberFormatter=function(e){const t=typeof e!==\"undefined\"?e:this.getFloatingNumber();const a=this.getFloatingNumberMaxValue();return t>a?`${a}+`:t.toString()};l.prototype.onclick=function(e){if(this.getEnabled()){this.firePress();if(!this.getTarget()){e.preventDefault()}}};l.prototype.onkeyup=function(e){const t=e.originalEvent;const a=t.key;const i=t.shiftKey;if([\"Enter\",\" \"].includes(a)&&!i){this.onclick(e)}};e.set(\"sap.ui.unified.ShellHeadItem\",l);return l},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/ShellNavigationMenu\", [\"sap/base/Log\",\"sap/m/FlexBox\",\"sap/m/Label\",\"sap/m/List\",\"sap/m/VBox\",\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/thirdparty/jquery\",\"sap/ui/events/KeyCodes\",\"sap/ushell/library\",\"sap/ushell/resources\"],(e,t,i,s,o,n,a,r,jQuery,l,h,p)=>{\"use strict\";const d=n.extend(\"sap.ushell.ui.shell.ShellNavigationMenu\",{metadata:{library:\"sap.ushell\",properties:{showRelatedApps:{type:\"boolean\",defaultValue:true}},aggregations:{items:{type:\"sap.m.ListItem\",singularName:\"item\"},miniTiles:{type:\"sap.ushell.ui.shell.NavigationMiniTile\",singularName:\"miniTile\"}},events:{}},renderer:{apiVersion:2,render:function(e,t){let i;e.openStart(\"div\",t);e.openEnd();if(t.oItemsList){e.renderControl(t.oItemsList)}if(t.getShowRelatedApps()){i=t.getMiniTiles();if(i&&i.length>0){e.renderControl(t.oRelatedAppsVbox)}}e.close(\"div\")}}});function c(e){this.init(e)}c.prototype.init=function(e){this.keyCodes=l;this.jqElement=e.$();this.jqElement.on(\"keydown.keyboardNavigation\",this.keydownHandler.bind(this))};c.prototype.destroy=function(){if(this.jqElement){this.jqElement.off(\".keyboardNavigation\")}delete this.jqElement};c.prototype.keydownHandler=function(e){switch(e.keyCode){case this.keyCodes.ARROW_UP:this.upDownHandler(e,true);break;case this.keyCodes.ARROW_DOWN:this.upDownHandler(e,false);break;case this.keyCodes.ARROW_LEFT:this.leftRightHandler(e,false);break;case this.keyCodes.ARROW_RIGHT:this.leftRightHandler(e,true);break;case this.keyCodes.HOME:this.homeEndHandler(e,true);break;case this.keyCodes.END:this.homeEndHandler(e,false);break;case this.keyCodes.PAGE_UP:this.homeEndHandler(e,true);break;case this.keyCodes.PAGE_DOWN:this.homeEndHandler(e,false);break;case this.keyCodes.TAB:if(e&&e.shiftKey){this._setItemFocus(e,jQuery(\"#sapUshellNavHierarchyItems li:[tabindex='0']\"))}else{this._setItemFocus(e,jQuery(\"#allMyAppsButton\"))}break;default:break}};c.prototype.upDownHandler=function(e,t){const i=jQuery(document.activeElement);if(!i.hasClass(\"sapUshellNavMiniTile\")){return false}const s=i.parent().parent();const o=i.parent().index();const n=s.children();let a;if(t){a=o-3;if(a<0){a+=9}}else{a=(o+3)%n.length}const r=n[a].children[0];this._setItemFocus(e,jQuery(r))};c.prototype.leftRightHandler=function(e,t){const i=jQuery(document.activeElement);if(!i.hasClass(\"sapUshellNavMiniTile\")){return false}const s=i.parent();const o=t?\"next\":\"prev\";const n=s[o]();const a=n.index();const r=s.parent();let l;if(a===-1){l=t?0:r.children().length-1}else{l=a}const h=r.children()[l].children[0];if(!h){return false}this._setItemFocus(e,jQuery(h))};c.prototype.homeEndHandler=function(e,t){const i=t?\"first\":\"last\";const s=jQuery(document.activeElement);if(!s.hasClass(\"sapUshellNavMiniTile\")){return false}e.preventDefault();const o=this.jqElement.find(\".sapUshellNavMiniTile\")[i]();this._setItemFocus(e,o)};c.prototype._setItemFocus=function(e,t){e.preventDefault();e.stopImmediatePropagation();jQuery(\".sapUshellNavMiniTile\").attr(\"tabindex\",-1);t.attr(\"tabindex\",0);t.focus()};c.prototype.setFocusToLastFocusedMiniTile=function(e){const t=jQuery(\".sapUshellNavMiniTile[tabindex='0']\");if(t&&t[0]){this._setItemFocus(e,jQuery(t))}else{this._setItemFocus(e,jQuery(jQuery(\".sapUshellNavMiniTile\")[0]))}};d.prototype.init=function(){};d.prototype._createItemsList=function(){this.oItemsList=new s(\"sapUshellNavHierarchyItems\")};d.prototype._createMiniTilesBox=function(){this.oMiniTilesBox=new t(\"sapUshellNavRelatedAppsFlexBox\",{justifyContent:\"Center\"})};d.prototype._beforeOpen=function(){if(!this.bInitialized){this.oRelatedAppsTitle=new i(\"sapUshellRelatedAppsLabel\",{text:p.i18n.getText(\"shellNavMenu_relatedApps\")});if(!this.oMiniTilesBox){this._createMiniTilesBox()}this.oRelatedAppsVbox=new o(\"sapUshellRelatedAppsItems\",{items:[this.oRelatedAppsTitle,this.oMiniTilesBox]});this._extendInnerControlsForAccKeyboard();this.bInitialized=true}};d.prototype._afterOpen=function(){if(a.system.desktop){if(this.keyboardNavigation){this.keyboardNavigation.destroy()}this.keyboardNavigation=new c(this.oMiniTilesBox)}};d.prototype._extendInnerControlsForAccKeyboard=function(){if(a.system.desktop){this.oItemsList.addEventDelegate({onsaptabnext:function(e){if(jQuery(\".sapUshellNavMiniTile\").length){this.keyboardNavigation.setFocusToLastFocusedMiniTile(e)}else{const t=r.getElementById(\"allMyAppsButton\");this.keyboardNavigation._setItemFocus(e,jQuery(t.getDomRef()))}}.bind(this)})}};d.prototype.getMiniTiles=function(){if(this.oMiniTilesBox){return this.oMiniTilesBox.getItems()}return[]};d.prototype.insertMiniTile=function(e,t){if(!this.oMiniTilesBox){this._createMiniTilesBox()}this.oMiniTilesBox.insertItem(e,t);return this};d.prototype.addMiniTile=function(t){if(!this.oMiniTilesBox){this._createMiniTilesBox()}if(this.oMiniTilesBox.getItems().length<9){this.oMiniTilesBox.addItem(t)}else{e.warning(\"ShellNavigationMenu.addMiniTile - miniTiles aggregation is already at maximum size of 9 elements \"+\"- current item was not added.\")}return this};d.prototype.removeMiniTile=function(e){if(this.oMiniTilesBox){this.oMiniTilesBox.removeItem(e)}return this};d.prototype.removeAllMiniTiles=function(){if(this.oMiniTilesBox){this.oMiniTilesBox.removeAllItems()}return this};d.prototype.destroyMiniTiles=function(){if(this.oMiniTilesBox){this.oMiniTilesBox.destroyItems()}return this};d.prototype.indexOfMiniTile=function(e){if(this.oMiniTilesBox){return this.oMiniTilesBox.indexOfItem(e)}return-1};d.prototype.getItems=function(){if(this.oItemsList){return this.oItemsList.getItems()}return[]};d.prototype.insertItem=function(e,t){if(!this.oItemsList){this._createItemsList()}e=this._extendHierarchyItemForAcc(e);this.oItemsList.insertItem(e,t);return this};d.prototype.addItem=function(e){if(!this.oItemsList){this._createItemsList()}e=this._extendHierarchyItemForAcc(e);this.oItemsList.addItem(e);return this};d.prototype.removeItem=function(e){if(this.oItemsList){this.oItemsList.removeItem(e)}return this};d.prototype.removeAllItems=function(){if(this.oItemsList){this.oItemsList.removeAllItems()}return this};d.prototype.destroyItems=function(){if(this.oItemsList){this.oItemsList.destroyItems()}return this};d.prototype.indexOfItem=function(e){if(this.oItemsList){return this.oItemsList.indexOfItem(e)}return-1};d.prototype._extendHierarchyItemForAcc=function(e){if(a.system.desktop){e.addEventDelegate({onsapspace:function(e){this.firePress()}.bind(e)})}return e};d.prototype.exit=function(){if(this.oItemsList){this.oItemsList.destroy()}if(this.oMiniTilesBox){this.oMiniTilesBox.destroy()}if(this.bInitialized){this.oRelatedAppsVbox.destroy();this.oRelatedAppsTitle.destroy()}if(this.keyboardNavigation){this.keyboardNavigation.destroy()}};d.prototype.onAfterRendering=function(){const e=jQuery(\"#sapUshellNavHierarchyItems ul\");e.attr(\"role\",\"menu\");e.attr(\"aria-label\",p.i18n.getText(\"ShellNavigationMenu_HierarchyItemsAriaLabel\"));jQuery(\"#sapUshellNavHierarchyItems li\").attr(\"role\",\"menuitem\");const t=jQuery(\"#sapUshellNavRelatedAppsFlexBox\");t.attr(\"role\",\"list\");t.attr(\"aria-labelledBy\",\"sapUshellRelatedAppsLabel\");const i=jQuery(\".sapUshellNavMiniTile\");for(let e=0;e<i.length;e++){jQuery(i[e]).attr(\"aria-setsize\",i.length);jQuery(i[e]).attr(\"aria-posinset\",e+1)}};return d});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/SidePane\", [\"sap/ui/Device\",\"sap/ui/core/Control\",\"sap/ushell/resources\",\"sap/ushell/library\"],(e,t,n,i)=>{\"use strict\";const s=t.extend(\"sap.ushell.ui.shell.SidePane\",{metadata:{library:\"sap.ushell\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"aside\",t);e.class(\"sapUshellSidePane\");e.attr(\"aria-label\",n.i18n.getText(\"SidePane_AriaLabel\"));e.style(\"width\",t._getContentWidth());e.openEnd();const i=t.getContent();i.forEach(t=>{e.renderControl(t)});e.close(\"aside\")}}});s._WIDTH_PHONE=13;s._WIDTH_TABLET=13;s._WIDTH_DESKTOP=15;s.prototype.init=function(){e.resize.attachHandler(this._handleResize,this)};s.prototype._getContentWidth=function(){const t=e.media.getCurrentRange(e.media.RANGESETS.SAP_STANDARD).name;const n=`${s[`_WIDTH_${t.toUpperCase()}`]}rem`;return n};s.prototype._handleResize=function(){const e=this._getContentWidth();const t=this.getDomRef();if(t){t.style.height=\"\";t.style.width=e}};s.prototype.exit=function(){e.resize.detachHandler(this._handleResize,this)};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/SubHeader\", [\"sap/ui/core/Control\",\"sap/ushell/library\"],(e,n)=>{\"use strict\";const r=e.extend(\"sap.ushell.ui.shell.SubHeader\",{metadata:{library:\"sap.ushell\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"}}},renderer:{apiVersion:2,render:function(e,n){e.openStart(\"div\",n);e.class(\"sapUshellSubHeader\");e.openEnd();const r=n.getContent();if(r.length){e.renderControl(r[0])}e.close(\"div\")}}});return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/SysInfoBar\", [\"sap/ui/core/Control\",\"sap/ui/core/IconPool\",\"sap/ui/core/Icon\",\"sap/ushell/library\",\"sap/m/Bar\",\"sap/m/Label\",\"sap/ui/core/CustomData\",\"./SysInfoBarRenderer\"],(e,s,t,o,l,a,r,n)=>{\"use strict\";const i={orange:\"sapUshellSysInfoBarOrange\",Orange:\"sapUshellSysInfoBarOrange\",red:\"sapUshellSysInfoBarRed\",Red:\"sapUshellSysInfoBarRed\",pink:\"sapUshellSysInfoBarPink\",Pink:\"sapUshellSysInfoBarPink\",violet:\"sapUshellSysInfoBarViolet\",Violet:\"sapUshellSysInfoBarViolet\",blue:\"sapUshellSysInfoBarBlue\",Blue:\"sapUshellSysInfoBarBlue\",green:\"sapUshellSysInfoBarGreen\",Green:\"sapUshellSysInfoBarGreen\",grey:\"sapUshellSysInfoBarGrey\",Grey:\"sapUshellSysInfoBarGrey\",gray:\"sapUshellSysInfoBarGrey\",Gray:\"sapUshellSysInfoBarGrey\",pink2:\"sapUshellSysInfoBarPink2\",Pink2:\"sapUshellSysInfoBarPink2\",violet2:\"sapUshellSysInfoBarViolet2\",Violet2:\"sapUshellSysInfoBarViolet2\",blue2:\"sapUshellSysInfoBarBlue2\",Blue2:\"sapUshellSysInfoBarBlue2\",green2:\"sapUshellSysInfoBarGreen2\",Green2:\"sapUshellSysInfoBarGreen2\",grey2:\"sapUshellSysInfoBarGrey2\",Grey2:\"sapUshellSysInfoBarGrey2\",gray2:\"sapUshellSysInfoBarGrey2\",Gray2:\"sapUshellSysInfoBarGrey2\"};const p=e.extend(\"sap.ushell.ui.shell.SysInfoBar\",{metadata:{library:\"sap.ushell\",defaultAggregation:\"_bar\",properties:{icon:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:\"\"},text:{type:\"string\",group:\"Misc\",defaultValue:\"\"},subText:{type:\"string\",group:\"Misc\",defaultValue:\"\"},color:{type:\"string\",group:\"Misc\",defaultValue:\"orange\"}},aggregations:{_bar:{type:\"sap.m.Bar\",multiple:false,visibility:\"hidden\"}}},renderer:n});p.prototype.init=function(){const e=new l({id:`${this.getId()}-bar`}).addStyleClass(\"sapUshellSysInfoBar\");e._setRootAccessibilityRole(\"complementary\");e.data(\"sap-ui-fastnavgroup\",\"false\",false);this._oText=new a({id:`${this.getId()}-text`,text:this.getText(),design:\"Bold\"}).addStyleClass(\"sapUshellSysInfoBarText\");this._oSubText=new a({id:`${this.getId()}-subText`,text:this.getSubText()}).addStyleClass(\"sapUshellSysInfoBarText\");this.setAggregation(\"_bar\",e,true);const s=new r({key:\"help-id\",value:\"FLP-SysInfoBar\",writeToDom:true});this.addCustomData(s)};p.prototype.exit=function(){this._oIcon=null;this._oText=null;this._oSubText=null};p.prototype.onBeforeRendering=function(){const e=this.getAggregation(\"_bar\");e.removeAllContentMiddle();e.addContentMiddle(this._oIcon);e.addContentMiddle(this._oText);e.addContentMiddle(this._oSubText);if(this._isMappedColor(this.getColor())){this.addStyleClass(this._getMappedColorClass(this.getColor()))}else{this.addStyleClass(\"sapUshellSysInfoBarCustom\")}};p.prototype.setText=function(e){this.setProperty(\"text\",e,true);this._oText.setText(e)};p.prototype.setSubText=function(e){this.setProperty(\"subText\",e,true);this._oSubText.setText(e)};p.prototype.setIcon=function(e){if(s.isIconURI(e)){if(this._oIcon){this._oIcon.destroy();this._oIcon=null}this._oIcon=s.createControlByURI({id:`${this.getId()}-icon`,src:e,densityAware:true,useIconTooltip:true},t).addStyleClass(\"sapUshellSysInfoBarText\");this.invalidate()}else if(this._oIcon){this._oIcon.destroy();this._oIcon=null}this.setProperty(\"icon\",e)};p.prototype.setColor=function(e){const s=this.getColor();if(this._isMappedColor(s)&&this.hasStyleClass(this._getMappedColorClass(s))){this.removeStyleClass(this._getMappedColorClass(s))}this.setProperty(\"color\",e)};p.prototype._isMappedColor=function(e){return!!i[e]};p.prototype._getMappedColorClass=function(e){return i[e]||\"\"};return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/SysInfoBarRenderer\", [\"sap/ushell/resources\"],e=>{\"use strict\";const o={apiVersion:2};o.render=function(o,r){o.openStart(\"div\",r);o.accessibilityState(r,{role:\"complementary\",label:e.i18n.getText(\"SysInfoBarAriaLabel\",[r._oText.getText(),r._oSubText.getText()])});o.class(\"sapUshellSysInfoBar\");if(!r._isMappedColor(r.getColor())){o.style(\"border\",`1px solid ${r.getColor()}`);o.style(\"background-color\",r.getColor())}o.openEnd();o.renderControl(r.getAggregation(\"_bar\"));o.close(\"div\")};return o},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/ToolArea\", [\"sap/ui/core/Control\",\"sap/ushell/library\",\"sap/ushell/resources\"],(e,t,l)=>{\"use strict\";const s=e.extend(\"sap.ushell.ui.shell.ToolArea\",{metadata:{library:\"sap.ushell\",aggregations:{toolAreaItems:{type:\"sap.ushell.ui.shell.ToolAreaItem\",multiple:true}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"aside\",t);e.class(\"sapUshellToolArea\");e.attr(\"aria-label\",l.i18n.getText(\"ToolArea_AriaLabel\"));if(!t.hasItemsWithText()){e.class(\"sapUshellToolAreaTextHidden\")}e.openEnd();e.openStart(\"div\");e.attr(\"id\",`${t.getId()}-cntnt`);e.class(\"sapUshellToolAreaContainer\");e.openEnd();const s=t.getToolAreaItems();let a;let o;for(a=0;a<s.length;a++){o=s[a];if(o.getVisible()){e.openStart(\"div\");e.class(\"sapUshellToolAreaContent\");if(o.getSelected()){e.class(\"sapUshellToolAreaItemSelected\")}e.openEnd();e.renderControl(o);e.close(\"div\");e.openStart(\"div\");e.class(\"sapUshellToolAreaContentSeparator\");e.openEnd();e.close(\"div\")}}e.close(\"div\");e.close(\"aside\")}}});s.prototype.hasItemsWithText=function(){const e=this.getToolAreaItems();let t;let l;for(t=0;t<e.length;t++){l=e[t];if(l.getVisible()&&l.getText()){return true}}return false};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/shell/ToolAreaItem\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/core/Control\",\"sap/ui/core/IconPool\",\"sap/ushell/library\"],(jQuery,e,t)=>{\"use strict\";const l=e.extend(\"sap.ushell.ui.shell.ToolAreaItem\",{metadata:{library:\"sap.ushell\",properties:{icon:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:null},selected:{type:\"boolean\",group:\"Appearance\",defaultValue:false},text:{type:\"string\",group:\"Appearance\",defaultValue:null},ariaLabel:{type:\"string\",group:\"Appearance\",defaultValue:null},visible:{type:\"boolean\",group:\"Appearance\",defaultValue:true},expandable:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},events:{press:{},expand:{}}},renderer:{apiVersion:2,render:function(e,l){let a;e.openStart(\"div\",l);if(!l.getIcon()){e.class(\"sapUshellToolAreaItmTextOnly\")}else{e.class(\"sapUshellToolAreaItm\")}if(!l.getVisible()){e.class(\"sapUshellShellHidden\")}if(l.getAriaLabel()){e.accessibilityState(l,{label:this.getAriaLabel(),role:\"button\"})}const s=l.getTooltip_AsString();if(s){e.attr(\"title\",s)}e.attr(\"tabindex\",0);e.openEnd();if(l.getIcon()){a=t.createControlByURI(l.getIcon());a.setUseIconTooltip(false);a.addStyleClass(\"sapUshellToolAreaItemIcon\");e.renderControl(a)}if(l.getText()){e.openStart(\"span\");e.class(\"sapUshellToolAreaItemText\");e.openEnd();e.text(l.getText());e.close(\"span\")}if(l.getExpandable()){this.renderExpandable(e)}e.close(\"div\")},renderExpandable:function(e){const l=t.createControlByURI(\"sap-icon://icon-dropdown\");l.addStyleClass(\"sapUshellToolAreaItemExpandable\");e.renderControl(l)}}});l.prototype.onclick=function(e){if(this.$().parent().hasClass(\"sapUshellToolAreaItemSelected\")){this.setSelected(false)}else{this.setSelected(true)}if(e.target.className.indexOf(\"sapUshellToolAreaItemExpandable\")>0){this.fireExpand()}else{this.firePress()}};l.prototype.onsapenter=l.prototype.onclick;l.prototype.setExpandable=function(e){e=!!e;this.setProperty(\"expandable\",e,true);this.$().toggleClass(\"sapUshellToolAreaItemExpandable\",e)};l.prototype.setSelected=function(e){e=!!e;if(e){const e=jQuery(\".sapUshellToolAreaItemSelected\");e.each(function(){jQuery(this).removeClass(\"sapUshellToolAreaItemSelected\")})}this.setProperty(\"selected\",e,true);this.$().parent().toggleClass(\"sapUshellToolAreaItemSelected\",e)};l.prototype.setVisible=function(e){const t=this.getParent()&&this.getParent().getDomRef();this.setProperty(\"visible\",!!e,t);this.$().toggleClass(\"sapUshellShellHidden\",!e)};l.prototype.setAriaLabel=function(e){this.setProperty(\"ariaLabel\",e);return this};return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/tile/DynamicTile\", [\"sap/ushell/library\",\"./TileBase\",\"./DynamicTileRenderer\"],(e,t,a)=>{\"use strict\";const u=e.ui.tile.State;const r=e.ui.tile.StateArrow;const l=t.extend(\"sap.ushell.ui.tile.DynamicTile\",{metadata:{library:\"sap.ushell\",properties:{numberValue:{type:\"string\",group:\"Data\",defaultValue:\"0.0\"},numberState:{type:\"sap.ushell.ui.tile.State\",group:\"Appearance\",defaultValue:u.Neutral},numberUnit:{type:\"string\",group:\"Data\",defaultValue:null},numberDigits:{type:\"int\",group:\"Appearance\",defaultValue:0},stateArrow:{type:\"sap.ushell.ui.tile.StateArrow\",group:\"Appearance\",defaultValue:r.None},numberFactor:{type:\"string\",group:\"Data\",defaultValue:null}}},renderer:a});return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/tile/DynamicTileRenderer\", [\"sap/ui/core/Renderer\",\"sap/ui/core/format/NumberFormat\",\"sap/ushell/library\",\"sap/ushell/ui/tile/TileBaseRenderer\",\"sap/ushell/resources\"],(e,t,i,s,a)=>{\"use strict\";const l=i.ui.tile.State;const n=i.ui.tile.StateArrow;const r=e.extend(s);r.apiVersion=2;r.renderPart=function(e,i){const s=i.getNumberValue();let r=i.getNumberFactor();let o=s.toString();const c=i.getIcon()?4:5;const u=this._shouldProcessDigits(o,i);if(o.length>c||u){const e=this._normalizeNumber(s,c,r,i);r=e.numberFactor;o=e.displayNumber}else if(o!==\"\"){const e=t.getFloatInstance({maxFractionDigits:c});o=e.format(s)}e.openStart(\"div\");e.class(\"sapUshellDynamicTile\");e.openEnd();e.openStart(\"div\");e.class(\"sapUshellDynamicTileData\");e.class(l[i.getNumberState()]?`sapUshellDynamicTileData${i.getNumberState()}`:`sapUshellDynamicTileData${l.Neutral}`);e.openEnd();e.openStart(\"div\");e.class(\"sapUshellDynamicTileIndication\");e.openEnd();if(n[i.getStateArrow()]){e.openStart(\"div\");e.class(\"sapUshellDynamicTileStateArrow\");e.class(`sapUshellDynamicTileData${n[i.getStateArrow()]}`);e.openEnd();e.close(\"div\")}e.voidStart(\"br\");e.voidEnd();e.openStart(\"div\");e.class(\"sapUshellDynamicTileNumberFactor\");e.accessibilityState(i,{label:a.i18n.getText(\"TileUnits_lable\")+r});e.openEnd();e.text(r);e.close(\"div\");e.close(\"div\");e.openStart(\"div\");e.class(\"sapUshellDynamicTileNumber\");if(o&&o!==\"\"){e.accessibilityState(i,{label:a.i18n.getText(\"TileValue_lable\")+o});e.openEnd();e.text(o)}else{e.openEnd();e.text(i.getNumberValue())}e.close(\"div\");e.close(\"div\");e.close(\"div\")};r._normalizeNumber=function(e,i,s,a){let l;if(isNaN(e)){l=e}else{const i=t.getFloatInstance({maxFractionDigits:a.getNumberDigits()});if(!s){const t=Math.abs(e);if(t>=1e9){s=\"B\";e/=1e9}else if(t>=1e6){s=\"M\";e/=1e6}else if(t>=1e3){s=\"K\";e/=1e3}}l=i.format(e)}let n=l;const r=n[i-1];i-=r===\".\"||r===\",\"?1:0;n=n.substring(0,i);return{displayNumber:n,numberFactor:s}};r._shouldProcessDigits=function(e,t){const i=t.getNumberDigits();let s;if(e.indexOf(\".\")!==-1){s=e.split(\".\")[1].length;if(s>i){return true}}return false};r.getInfoPrefix=function(e){return e.getNumberUnit()};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/tile/ImageTile\", [\"sap/ushell/library\",\"./TileBase\",\"./ImageTileRenderer\"],(e,r,a)=>{\"use strict\";const l=r.extend(\"sap.ushell.ui.tile.ImageTile\",{metadata:{library:\"sap.ushell\",properties:{imageSource:{type:\"string\",group:\"Appearance\",defaultValue:null}}},renderer:a});return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/tile/ImageTileRenderer\", [\"sap/ui/core/Renderer\",\"./TileBaseRenderer\"],(e,r)=>{\"use strict\";const t=e.extend(r);t.apiVersion=2;t.renderPart=function(e,r){e.voidStart(\"img\");e.class(\"sapUshellImageTile\");e.attr(\"src\",r.getImageSource());e.attr(\"alt\",\" \");e.voidEnd()};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/tile/StaticTile\", [\"sap/ushell/library\",\"sap/ushell/ui/tile/TileBase\",\"sap/ushell/ui/tile/StaticTileRenderer\"],(e,l,i)=>{\"use strict\";const s=l.extend(\"sap.ushell.ui.tile.StaticTile\",{metadata:{library:\"sap.ushell\"},renderer:i});return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/tile/StaticTileRenderer\", [\"sap/ui/core/Renderer\",\"./TileBaseRenderer\"],(e,n)=>{\"use strict\";const s=e.extend(n);s.apiVersion=2;s.renderPart=function(e,n){e.openStart(\"span\");e.class(\"sapUshellStaticTile\");e.openEnd();e.close(\"span\")};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/tile/TileBase\", [\"sap/ushell/library\",\"sap/ui/core/Control\",\"sap/ushell/library\",\"./TileBaseRenderer\"],(e,t,a,l)=>{\"use strict\";const r=e.ui.tile.State;const u=t.extend(\"sap.ushell.ui.tile.TileBase\",{metadata:{library:\"sap.ushell\",properties:{title:{type:\"string\",group:\"Data\",defaultValue:null},subtitle:{type:\"string\",group:\"Data\",defaultValue:null},icon:{type:\"string\",group:\"Data\",defaultValue:null},info:{type:\"string\",group:\"Data\",defaultValue:null},infoState:{type:\"sap.ushell.ui.tile.State\",defaultValue:r.Neutral},targetURL:{type:\"string\",group:\"Behavior\",defaultValue:null},highlightTerms:{type:\"any\",group:\"Appearance\",defaultValue:[]}},aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"}},events:{press:{}}},renderer:l});u.prototype.ontap=function(e){this.firePress({})};u.prototype.onsapenter=function(e){this.firePress({})};u.prototype.onsapspace=function(e){this.firePress({})};return u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/tile/TileBaseRenderer\", [\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/base/security/encodeXML\",\"sap/ui/core/Icon\"],(e,t,l,i)=>{\"use strict\";const s=e.ui.tile.State;const a={apiVersion:2};a.highlight=function(e,t){let i;let s;let a=l(t).replace(/ /g,\"<br>\");if(e&&e.length&&e.length>0){for(i=0;i<e.length;i=i+1){s=new RegExp(`(${l(e[i]).replace(/([.*+?^=!:${}()|[\\]/\\\\])/g,\"\\\\$1\")})`,\"gi\");a=a.replace(s,\"<b>$1</b>\")}}return a};a.render=function(e,l){let a;let n;e.openStart(\"div\",l);if(l.getTargetURL()){e.attr(\"data-targeturl\",l.getTargetURL())}e.class(\"sapUshellTileBase\");e.openEnd();e.openStart(\"div\");e.class(\"sapUshellTileBaseHeader\");e.openEnd();e.openStart(\"h3\");e.class(\"sapUshellTileBaseTitle\");e.accessibilityState(l,{label:t.i18n.getText(\"tileTypeListItem\")+t.i18n.getText(\"TileDetails_lable\")+t.i18n.getText(\"TileTitle_lable\")+l.getTitle(),level:\"3\"});e.openEnd();e.unsafeHtml(this.highlight(l.getHighlightTerms(),l.getTitle()||\"\"));e.close(\"h3\");if(l.getSubtitle()){e.openStart(\"h4\");e.class(\"sapUshellTileBaseSubtitle\");e.accessibilityState(l,{label:t.i18n.getText(\"TileSubTitle_lable\")+l.getSubtitle(),level:\"4\"});e.openEnd();e.unsafeHtml(this.highlight(l.getHighlightTerms(),l.getSubtitle()));e.close(\"h4\")}e.close(\"div\");if(typeof this.renderPart===\"function\"){this.renderPart(e,l)}if(l.getIcon()){n=new i({src:l.getIcon()});n.addStyleClass(\"sapUshellTileBaseIcon\");e.renderControl(n)}if(l.getInfo()||typeof this.getInfoPrefix===\"function\"&&this.getInfoPrefix(l)){e.openStart(\"div\");e.class(\"sapUshellTileBaseInfo\");e.class(l.getInfoState()?`sapUshellTileBase${l.getInfoState()}`:`sapUshellTileBase${s.Neutral}`);e.accessibilityState(l,{label:t.i18n.getText(\"TileInfo_lable\")+l.getInfo()});e.openEnd();if(typeof this.getInfoPrefix===\"function\"){a=this.getInfoPrefix(l);e.text(a)}if(l.getInfo()){if(a){e.text(\", \")}e.unsafeHtml(this.highlight(l.getHighlightTerms(),l.getInfo()))}e.close(\"div\")}e.close(\"div\")};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/utils\", [\"sap/ushell/EventHub\",\"sap/ui/thirdparty/jquery\"],(e,jQuery)=>{\"use strict\";function t(t){const s=new jQuery.Deferred;let n;let r=0;let i=0;let o=0;const l=[];const u=[];let f;const c={refresh:false};function a(e){if(e&&e.refresh===true){c.refresh=true}o++;s.notify()}function p(e){u.push({entry:f,message:e});i++;s.notify()}const h=e.last(\"UserSettingsOpened\")||{};Object.keys(h).forEach(e=>{const s=parseInt(e,10);n=t[s].onSave();n.done(a);f=t[s].title;n.fail(p);l.push(n);r++});const d=jQuery.when.apply(null,l);d.done(()=>{e.emit(\"UserSettingsOpened\",null);s.resolve(c)});s.progress(()=>{if(i>0&&i+o===r){s.reject(u)}});return s.promise()}return{saveUserPreferenceEntries:t}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui5service/ShellUIService\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/base/util/isPlainObject\",\"sap/ui/base/EventProvider\",\"sap/ui/core/service/Service\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateManager\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\"],(e,t,i,a,n,s,r,l,o,c,h,u,f,d)=>{\"use strict\";const p=u.LaunchpadState;const g=u.Operation;const _=u.ShellMode;const{Default:v,Embedded:y}=_;const A=\"backNavigationChanged\";const b=\"serviceDestroyed\";const S=n.extend(\"sap.ushell.ui5service.ShellUIService\",{constructor:function(){n.apply(this,arguments);this._oEventProvider=new a;this._bIsActive=true;this._bDestroyed=false;this._bInitialized=false;this._sLastTitle=null;this._aLastHierarchy=null;this._aLastRelatedApps=null;this._fnLastBackNavigation=null;this._bEnableAutoTitle=false;this._bEnableAutoHierarchy=false},initService:function(e){if(!e){if(!this._sLastTitle){this._initTitle()}if(!this._aLastHierarchy){this.setHierarchy()}if(!this._aLastRelatedApps){this.setRelatedApps()}if(!this._fnLastBackNavigation){this.setBackNavigation()}}const t=this.getContext().scopeObject;if(this._shouldEnableAutoHierarchy(t)){this._enableAutoHierarchy(t)}if(this._shouldEnableAutoTitle(t)){this._enableAutoTitle(t)}this._bInitialized=true},resetService:function(){this._sLastTitle=null;this._aLastHierarchy=null;this._aLastRelatedApps=null;this._fnLastBackNavigation=null;this._bInitialized=false},_isCallAllowed:function(){if(this._bDestroyed){e.error(\"The ShellUIService has been destroyed and cannot be used anymore.\",null,\"sap.ushell.ui5service.ShellUIService\");return false}if(!this._bIsActive){e.warning(\"The ShellUIService is currently inactive and calls will be ignored.\",null,\"sap.ushell.ui5service.ShellUIService\");return false}return true},setHierarchy:function(e){this._preventOverrideOfAutoHierarchy();if(!this._isCallAllowed()){return}if(typeof e!==\"undefined\"){this._ensureArrayOfObjectOfStrings(e,\"setHierarchy\")}this._changeHierarchy(e)},_initTitle:function(){if(!this._isCallAllowed()){return}const e=s.getHash()||\"\";const t=e.startsWith(\"Shell-startIntent\");this._changeTitleAdditionalInformation();this._changeTitle(\"\",t)},setTitle:function(e,t){this._preventOverrideOfAutoTitle();if(!this._isCallAllowed()){return}if(typeof e!==\"undefined\"&&typeof e!==\"string\"){throw new Error(\"'setTitle' was called with invalid arguments. The parameter should be a string\")}this._changeTitleAdditionalInformation(t);this._changeTitle(e)},setBackNavigation:function(e){if(!this._isCallAllowed()){return}if(typeof e!==\"undefined\"&&typeof e!==\"function\"){throw new Error(\"'setBackNavigation' was called with invalid arguments. The parameter should be a function\")}const t=this.getContext().scopeObject;this._oEventProvider.fireEvent(A,{data:e,component:t});this._fnLastBackNavigation=e},getTitle:function(){if(!this._isCallAllowed()){return}return h.getModel().getProperty(\"/application/title\")},setRelatedApps:function(e){if(!this._isCallAllowed()){return}if(typeof e!==\"undefined\"){this._ensureArrayOfObjectOfStrings(e,\"setRelatedApps\")}this._changeRelatedApps(e)},attachBackNavigationChanged:function(...e){this._oEventProvider.attachEvent(A,...e)},detachBackNavigationChanged:function(...e){this._oEventProvider.detachEvent(A,...e)},attachServiceDestroyed:function(...e){this._oEventProvider.attachEvent(b,...e)},detachServiceDestroyed:function(...e){this._oEventProvider.detachEvent(b,...e)},_changeHierarchy:function(e){let i=[];if(!e){e=[]}const a=this._getHierarchyDefaultValue();e.forEach((e,a)=>{i[a]=t({},e)});i=i.concat(a);if(u.isLegacyHome()){u.updateBaseStates([p.Home],\"application.hierarchy\",g.Set,i)}u.updateCurrentState(\"application.hierarchy\",g.Set,i);this._aLastHierarchy=i},_changeRelatedApps:function(e){if(!e){e=[]}if(u.isLegacyHome()){u.updateBaseStates([p.Home],\"application.relatedApps\",g.Set,e)}u.updateCurrentState(\"application.relatedApps\",g.Set,e);this._aLastRelatedApps=e},_changeTitle:function(e,t){if(!e&&!t){e=this._getTitleDefaultValue()}if(u.isLegacyHome()){u.updateBaseStates([p.Home],\"application.title\",g.Set,e)}u.updateCurrentState(\"application.title\",g.Set,e);f.setPerformanceMark(\"FLP -- title change\");l.emit(\"TitleChanged\",e);this._sLastTitle=e},_changeTitleAdditionalInformation:function(e){const t={headerText:e?.headerText||\"\",additionalContext:e?.additionalContext||\"\",searchTerm:e?.searchTerm||\"\",searchScope:e?.searchScope||\"\"};if(u.isLegacyHome()){u.updateBaseStates([p.Home],\"application.titleAdditionalInformation\",g.Set,t)}u.updateCurrentState(\"application.titleAdditionalInformation\",g.Set,t);f.setPerformanceMark(\"FLP -- titleAdditionalInformation change\");l.emit(\"TitleAdditionalInformationChanged\",t)},_getTitleDefaultValue:function(){let e=\"\";const t=c.getMetadata();if(t&&t.title){e=t.title}return e},_getHierarchyDefaultValue:function(){const e=[];const t=r.last(\"/core/shellHeader/rootIntent\");const i=u.getLaunchpadState();const a=u.getShellMode();if(i===p.App&&[v,y].includes(a)){e.push({icon:\"sap-icon://home\",title:o.i18n.getText(\"actionHomePage\"),intent:t?`#${t}`:\"#\"});const i=r.last(\"/core/spaces/currentSpaceAndPage\");if(i!==undefined){e.splice(0,0,{icon:\"sap-icon://space-navigation\",title:i.pageTitle,subtitle:i.pageTitle!==i.spaceTitle?i.spaceTitle:undefined,intent:`#${i.hash}`})}}return e},_shouldEnableAutoHierarchy:function(e){if(typeof e.getManifestEntry!==\"function\"){return false}const t=e.getManifestEntry(\"/sap.ui5/services/ShellUIService/settings/setHierarchy\");return t===\"auto\"},_enableAutoHierarchy:function(t){const i=t.getRouter&&t.getRouter();if(!i){e.error(\"Could not enable automatic setHierarchy on the current app\",\"Router could not be obtained on the app root component via getRouter\",\"sap.ushell.ui5service.ShellUIService\");return}this._bEnableAutoHierarchy=true;i.attachTitleChanged(function(e){const t=e.getParameter(\"history\");const i=this._getCurrentShellHashWithoutAppRoute();const a=t.reverse().map(e=>({title:e.title,intent:`${i}&/${e.hash}`}));this._bSkipAutoHierarchyCheck=true;this.setHierarchy(a)},this)},_preventOverrideOfAutoHierarchy:function(){if(!this._bInitialized){return}if(this._bSkipAutoHierarchyCheck){this._bSkipAutoHierarchyCheck=false;return}const e=this._shouldEnableAutoHierarchy(this.getContext().scopeObject);if(e){throw new Error(\"Cannot set hierarchy manually - Auto hierarchy is enabled\")}},_shouldEnableAutoTitle:function(e){if(typeof e.getManifestEntry!==\"function\"){return false}const t=e.getManifestEntry(\"/sap.ui5/services/ShellUIService/settings/setTitle\");return t===\"auto\"},_enableAutoTitle:function(t){const i=t.getRouter&&t.getRouter();if(!i){e.error(\"Could not enable automatic setTitle on the current app\",\"Router could not be obtained on the app root component via getRouter\",\"sap.ushell.ui5service.ShellUIService\");return}this._bEnableAutoTitle=true;const a=i.getTitleHistory()[0];if(a&&a.title){setTimeout(()=>{this._bSkipAutoTitleCheck=true;this.setTitle(a.title)},0)}i.attachTitleChanged(function(e){const t=e.getParameter(\"title\");this._bSkipAutoTitleCheck=true;this.setTitle(t)},this)},_preventOverrideOfAutoTitle:function(){if(!this._bInitialized){return}if(this._bSkipAutoTitleCheck){this._bSkipAutoTitleCheck=false;return}const e=this._shouldEnableAutoTitle(this.getContext().scopeObject);if(e){throw new Error(\"Cannot set title manually - Auto title is enabled\")}},_getCurrentShellHashWithoutAppRoute:function(){const t=`#${s.getHash()}`;const i=d.getShellHash(t);if(!i){e.error(\"Cannot get the current shell hash\",`UrlParsing service returned a falsy value for ${t}`,\"sap.ushell.ui5service.ShellUIService\");return\"\"}return`#${i}`},_ensureArrayOfObjectOfStrings:function(e,t){const a=Array.isArray(e)&&e.every(e=>i(e)&&Object.keys(e).length>0&&Object.keys(e).every(t=>typeof e[t]===\"string\"));if(!a){throw new Error(`'${t}' was called with invalid parameters. An array of non-empty objects with string values is expected`)}},setApplicationFullWidth:function(e){if(!this._isCallAllowed()){return}c.setApplicationFullWidthInternal(e)},setActive:function(e){this._bIsActive=e},getActive:function(){return this._bIsActive},exit:function(){this._oEventProvider.fireEvent(b);this._oEventProvider.destroy();this._bDestroyed=true}});return S});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui5service/ShellUIServiceFactory\", [\"sap/base/util/Deferred\",\"sap/ui/base/EventProvider\",\"sap/ui/core/Component\",\"sap/ui/core/service/ServiceFactory\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/ui5service/ShellUIService\",\"sap/ushell/utils\"],(e,t,n,s,i,o,c,r)=>{\"use strict\";const a=\"backNavigationChanged\";const l=s.extend(\"sap.ushell.ui5service.ShellUIServiceFactory\",{constructor:function(){s.apply(this,arguments);this._mServiceInstances=new Map;this._oGlobalServiceInstance=null;this._oCurrentApplication=null;this._oEventProvider=new t;this._aDoables=[]},init:async function(){this._AppLifeCycle=await i.getServiceAsync(\"AppLifeCycle\");this._AppLifeCycle.attachAppLoaded(this._handleAppOpened,this);const e=o.on(\"reloadCurrentApp\").do(this._handleReloadCurrentApp.bind(this));this._aDoables.push(e);await this.createInstanceInternal()},_setInitialAppValues:function(){if(this._oCurrentApplication?.componentInstance){const e=this._mServiceInstances.get(this._oCurrentApplication.componentInstance.getId());if(e?.instance){return}}if(r.isFlpHomeIntent()){return}this._oGlobalServiceInstance.getContext().scopeObject=this._oCurrentApplication.componentInstance||{};this._oGlobalServiceInstance.initService()},_handleAppOpened:function(e){this._oCurrentApplication=e.getParameters();this._setServiceActive(null);if(this._oCurrentApplication?.componentInstance){const e=this._oCurrentApplication.componentInstance;this._setServiceActive(e);this._resolveServiceInstance(e)}this._setInitialAppValues()},restore:function(e){const t=e.app;if(!t){this._setServiceActive(null);return}this._oCurrentApplication={componentInstance:t};this._setServiceActive(this._oCurrentApplication.componentInstance)},_handleReloadCurrentApp:function(){this._oCurrentApplication=null},_handleServiceDestroyed:function(e,t){this._mServiceInstances.delete(t.id)},attachBackNavigationChanged:function(...e){this._oEventProvider.attachEvent(a,...e)},detachBackNavigationChanged:function(...e){this._oEventProvider.detachEvent(a,...e)},_handleBackNavigationChanged:function(e){const t=e.getParameters();this._oEventProvider.fireEvent(a,t)},createInstance:async function(t){if(!t||!t.scopeObject){throw new Error(\"No service context provided\")}const n=t.scopeObject.getId();const s=this._mServiceInstances.get(n);if(s){return s.deferred.promise}t.settings=t.settings||{};t.settings.isGlobal=false;t.settings.id=n;const i=new c(t);i.attachBackNavigationChanged(this._handleBackNavigationChanged,this);i.attachServiceDestroyed({id:n},this._handleServiceDestroyed,this);const o={instance:i,scopeObject:t.scopeObject||{},deferred:new e,resolved:false};this._mServiceInstances.set(n,o);const r=this._getRootComponent(t.scopeObject);if(this._isComponentActive(r)){this._resolveServiceInstance(r)}return o.deferred.promise},_getRootComponent:function(e){if(!e){return null}const t=n.getOwnerComponentFor(e);if(!t){return e}if(t.isA(\"sap.ushell.renderer.Renderer\")){return e}return this._getRootComponent(t)},_isComponentActive:function(e){const t=this._oCurrentApplication?.componentInstance;if(!t||!e){return false}return e===t},createInstanceInternal:async function(){if(this._oGlobalServiceInstance){return this._oGlobalServiceInstance}const e={scopeObject:{getId:function(){return\"\"}},scopeType:\"component\",settings:{isGlobal:true}};this._oGlobalServiceInstance=new c(e);this._oGlobalServiceInstance.attachBackNavigationChanged(this._handleBackNavigationChanged,this);return this._oGlobalServiceInstance},_setServiceActive(e){this._mServiceInstances.forEach(t=>{const n=this._getRootComponent(t.scopeObject);if(!e){t.instance.setActive(false)}else if(n===e){t.instance.setActive(true)}else{t.instance.setActive(false)}})},_resolveServiceInstance(e){if(!e){return}this._mServiceInstances.forEach(t=>{const n=this._getRootComponent(t.scopeObject);const s=n===e;if(s&&!t.resolved){const n=this._hasResolvedInstances(e);t.instance.initService(n);t.resolved=true;t.deferred.resolve(t.instance)}})},_hasResolvedInstances(e){if(!e){return false}return Array.from(this._mServiceInstances.values()).some(t=>{const n=this._getRootComponent(t.scopeObject);const s=n===e;return s&&t.resolved})},destroy(){s.prototype.destroy.apply(this,arguments);this._aDoables.forEach(e=>{e.off()});this._AppLifeCycle?.detachAppLoaded?.(this._handleAppOpened,this);this._mServiceInstances.forEach(e=>{e.instance.destroy()});this._oGlobalServiceInstance?.destroy?.();this._oEventProvider.destroy();this._oGlobalServiceInstance=null;this._mServiceInstances=null;this._oCurrentApplication=null;this._AppLifeCycle=null;this._aDoables=null},reset(){this.destroy();this._mServiceInstances=new Map;this._oEventProvider=new t;this._aDoables=[]}});return new l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui5service/UserStatus\", [\"sap/ui/core/service/ServiceFactoryRegistry\",\"sap/ui/core/service/ServiceFactory\",\"sap/ui/core/service/Service\",\"sap/ui/base/EventProvider\"],(e,t,s,a)=>{\"use strict\";const r={statusChanged:\"statusChanged\",serviceStateChanged:\"serviceStateChanged\"};const i=s.extend(\"sap.ushell.ui5service.UserStatus\",{init:function(){i.prototype.isEnabled=false;e.register(\"sap.ushell.ui5service.UserStatus\",new t(i));this.oEventProvider=new a;i.prototype.AvailableStatus={AVAILABLE:\"AVAILABLE\",AWAY:\"AWAY\",BUSY:\"BUSY\",APPEAR_OFFLINE:\"APPEAR_OFFLINE\"}},exit:function(){this.oEventProvider.destroy()}});i.prototype.setEnabled=function(e){this.oEventProvider.fireEvent(r.serviceStateChanged,{data:e});i.prototype.isEnabled=e;return};i.prototype.setStatus=function(e){if(!i.prototype.isEnabled){throw new Error(\"Unable to change status because the UserStatus service is disabled.\")}if(!i.prototype.AvailableStatus[e]&&e!==null){throw new Error(\"Enter a valid status.\")}this.oEventProvider.fireEvent(r.statusChanged,{data:e})};i.prototype.attachStatusChanged=function(e){this.oEventProvider.attachEvent(r.statusChanged,e)};i.prototype.detachStatusChanged=function(e){this.oEventProvider.detachEvent(r.statusChanged,e)};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/utils\", [\"sap/base/Log\",\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/base/util/uid\",\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ui/thirdparty/jquery\",\"sap/ui/thirdparty/URI\",\"sap/base/util/deepClone\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/utils/objectOperations\",\"sap/ushell/utils/type\",\"sap/ushell/renderer/History\",\"sap/ushell/renderers/fiori2/History\"],(e,t,n,r,i,a,s,jQuery,o,l,c,u,p,f,d)=>{\"use strict\";const g={};g.isArray=p.isArray;g.isPlainObject=p.isPlainObject;g.isDefined=p.isDefined;g.clone=l;g.getMember=u.getMember;g.updateProperties=u.updateProperties;g.getNestedObjectProperty=u.getNestedObjectProperty;g.deepFreeze=function(e){Object.keys(e).filter(n=>{const r=e[n];return t(r)||Array.isArray(r)}).forEach(t=>{e[t]=this.deepFreeze(e[t])});return Object.freeze(e)};g.removeDuplicatedActions=function(e){if(Array.isArray(e)){const t=e.reduce((e,t)=>{if(e.indexOf(t)<0){e.push(t)}return e},[]);return t}return e};g.storeSapSystemData=function(t,n){let r;let i;let a;const s=[t.id];if(arguments.length>1){s.unshift(n)}try{a=JSON.stringify(t)}catch(t){e.error(`Cannot stringify and store expanded system data: ${t}`)}if(a){i=g.getLocalStorage();r=g.generateLocalStorageKey(\"sap-system-data\",s);i.setItem(r,a)}};g.getLocalSystemInSidFormat=function(){const e=sap.ui.require(\"sap/ushell/Container\");const t=e.getLogonSystem();const n=t.getSystemName();const r=t.getClient();return`sid(${n}.${r})`};g.matchesLocalSid=function(e){return g.getLocalSystemInSidFormat().toLowerCase()===e.toLowerCase()};g.storeSapSystemToLocalStorage=function(e){const t=(e||{}).params;if(!t||!t.hasOwnProperty(\"sap-system\")){return}if(g.isPlainObject(t[\"sap-system\"])){const e=t[\"sap-system\"];const n=t[\"sap-system-src\"];if(typeof n===\"string\"){g.storeSapSystemData(e,n);t[\"sap-system-src\"]=n}else{g.storeSapSystemData(e)}t[\"sap-system\"]=e.id}else if(g.matchesLocalSid(t[\"sap-system\"])){delete t[\"sap-system\"]}};g.setPerformanceMark=function(e,t){if(performance&&performance.mark){if(!t){t={}}if(t.bUseUniqueMark){if(t.bUseLastMark){performance.clearMarks(e)}else if(performance.getEntriesByName(e,\"mark\").length>0){return}}performance.mark(e)}};g.setPerformanceMeasure=function(e,t,n){if(performance&&performance.measure&&t&&n){performance.measure(e,t,n)}};g.Error=function(t,n){this.name=\"sap.ushell.utils.Error\";this.message=t;e.error(t,null,n)};g.Error.prototype=new Error;g.localStorageSetItem=function(t,n,r){let i;try{localStorage.setItem(t,n);if(r){i=document.createEvent(\"StorageEvent\");i.initStorageEvent(\"storage\",false,false,t,\"\",n,\"\",localStorage);dispatchEvent(i)}}catch(t){e.warning(`Error calling localStorage.setItem(): ${t}`,null,\"sap.ushell.utils\")}};g.getLocalStorage=function(){return window.localStorage};g.getLocalStorageItem=function(e){return window.localStorage.getItem(e)};g.generateUniqueId=function(e){let t;let n;let r;if(Array.isArray(e)){n=e;r=function(e){return n.indexOf(e)===-1}}else{r=e}do{t=g._getUid()}while(!r(t));return t};g._getUid=function(){return r()};g.reload=function(){location.reload()};g.calculateOrigin=function(e){let t;if(e.origin){return e.origin}if(e.protocol&&e.hostname){return`${e.protocol}//${e.hostname}${e.port?`:${e.port}`:\"\"}`}if(e.href){t=new o(e.href);return`${t.protocol()}://${t.hostname()}${t.port()?`:${t.port()}`:\"\"}`}return undefined};g.getPrivateEpcm=function(){if(window.external&&window.external&&typeof window.external.getPrivateEpcm!==\"undefined\"){return window.external.getPrivateEpcm()}return undefined};g.hasNativeNavigationCapability=function(){return g.isFeatureBitEnabled(1)};g.getShellType=function(){return g.isFeatureBitEnabled(1)?\"NWBC\":\"FLP\"};g.hasNativeLogoutCapability=function(){return g.isFeatureBitEnabled(2)};g.hasNavigationModeCapability=function(){return g.isFeatureBitEnabled(4)};g.hasFLPReadyNotificationCapability=function(){return g.isFeatureBitEnabled(8)};g.hasFLPReady2NotificationCapability=function(){return g.isFeatureBitEnabled(16)};g.isFeatureBitEnabled=function(t){let n Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/PostMessagePluginInterface\", [\"sap/base/util/deepExtend\",\"sap/ui/thirdparty/jquery\"],(e,jQuery)=>{\"use strict\";const s=\"user.postapi.\";function t(){let e;let s;this.init=function(t,n){e=t;s=n};this.getInterface=function(){const t={};t.registerPostMessageAPIs=n.bind(null,s);t.createPostMessageResult=i;if(e){t.postMessageToApp=r.bind(null,e)}else{t.postMessageToFlp=r.bind(null,e)}return t}}function n(t,n,r){const i={status:\"success\",desc:\"\"};const u={isActiveOnly:true,distributionType:[\"all\"]};if(n===undefined||Object.keys(n).length<=0){i.status=\"error\";i.desc=\"no handler was found to register\";return i}if(r===undefined){r=false}Object.keys(n).forEach(t=>{if(typeof t!==\"string\"){i.status=\"error\";i.desc=\"oPostMessageAPIs should contain only string keys\"}else if(r===false&&t.indexOf(s)!==0){i.status=\"error\";i.desc=`all user custom Message APIs must start with '${s}'`}else{Object.keys(n[t]).forEach(s=>{if(s===\"inCalls\"){n[t].oServiceCalls=n[t][s];delete n[t][s]}else if(s===\"outCalls\"){Object.keys(n[t][s]).forEach(r=>{n[t][s][r]=e({},u,n[t][s][r])});n[t].oRequestCalls=n[t][s];delete n[t][s]}else{i.status=\"error\";i.desc=\"api should contain either 'inCalls' or 'outCalls'\"}})}});if(i.status===\"success\"){t(n)}return i}function r(e,s,t,n){const r=new jQuery.Deferred;if(n===undefined){n={}}if(e){sap.ui.require([\"sap/ushell/appIntegration/PostMessageManager\"],e=>{const i=`${s}.${t}`;e.sendRequestToAllApplications(i,n,true).then(e=>{r.resolve(e[0]?.result)})})}else{sap.ui.require([\"sap/ushell/appRuntime/ui5/AppRuntimeService\"],e=>{e.sendMessageToOuterShell(`${s}.${t}`,n).done(e=>{r.resolve(e)})})}return r.promise()}function i(e){if(e===undefined){e={}}return(new jQuery.Deferred).resolve(e).promise()}return new t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/UI5ApplicationContainer\", [\"sap/base/Log\",\"sap/ui/core/ComponentContainer\",\"sap/ui/core/EventBus\",\"sap/ushell/appIntegration/ApplicationContainer\",\"sap/ushell/appIntegration/UI5ApplicationContainerRenderer\",\"sap/ushell/Container\",\"sap/ushell/library\",\"sap/ushell/utils\"],(t,e,n,o,i,a,s,p)=>{\"use strict\";const r=o.extend(\"sap.ushell.appIntegration.UI5ApplicationContainer\",{metadata:{library:\"sap.ushell\",properties:{componentHandle:{type:\"object\"},ui5ComponentId:{type:\"string\"},ui5ComponentName:{type:\"string\"}},aggregations:{child:{type:\"sap.ui.core.Control\",multiple:false,visibility:\"hidden\"}}},renderer:i});r.prototype.init=function(){o.prototype.init.apply(this,arguments)};r.prototype.onBeforeRendering=function(){if(!this.getReadyForRendering()){return}this._createComponentContainer()};r.prototype._createComponentContainer=function(){if(this.getAggregation(\"child\")){return}n.getInstance().publish(\"sap.ushell.components.container.ApplicationContainer\",\"_prior.newUI5ComponentInstantion\",{name:this.getUi5ComponentName()});const t=this.getComponentHandle().getInstance();this.fireEvent(\"applicationConfiguration\",{configuration:t.getManifestEntry(\"/sap.ui5/config\")});const o=new e({id:this.getUi5ComponentId().replace(\"-component\",\"-content\"),component:t});o.setHeight(this.getHeight());o.setWidth(this.getWidth());o.addStyleClass(\"sapUShellApplicationContainer\");this._fnDisableRouterEventHandler=this._disableRouter.bind(this);n.getInstance().subscribe(\"sap.ushell.components.container.ApplicationContainer\",\"_prior.newUI5ComponentInstantion\",this._fnDisableRouterEventHandler);this.setAggregation(\"child\",o);return this._publishAppComponentLoaded(t)};r.prototype.setReadyForRendering=function(t){o.prototype.setReadyForRendering.apply(this,arguments);if(!this.getRenderComplete()){this.rerender()}return this};r.prototype._publishAppComponentLoaded=async function(t){const e=await a.getServiceAsync(\"PluginManager\");await p.promisify(e.getPluginLoadingPromise(\"RendererExtensions\"));await p.awaitTimeout(0);n.getInstance().publish(\"sap.ushell\",\"appComponentLoaded\",{component:t})};r.prototype._disableRouter=function(){const e=this.getComponentHandle().getInstance();if(!e||!e.isA(\"sap.ui.core.UIComponent\")){return}const n=e.getRouter();if(!n){return}t.info(`router stopped for instance ${e.getId()}`);n.stop()};r.prototype._destroyChild=function(){const e=this.getAggregation(\"child\");if(!e){return}const n=e.getComponentInstance().getMetadata().getComponentName();t.debug(`unloading component ${n}`,null,\"sap.ushell.appIntegration.ApplicationContainer\");this.destroyAggregation(\"child\")};r.prototype.exit=function(){if(this._fnDisableRouterEventHandler){n.getInstance().unsubscribe(\"sap.ushell.components.container.ApplicationContainer\",\"_prior.newUI5ComponentInstantion\",this._fnDisableRouterEventHandler)}this._destroyChild();const t=this.getComponentHandle();if(t){t.destroy()}o.prototype.exit.apply(this,arguments)};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/UI5ApplicationContainerRenderer\", [\"sap/ui/core/Renderer\",\"sap/ushell/appIntegration/ApplicationContainerRenderer\"],(e,t)=>{\"use strict\";const a=e.extend(t);a.render=function(e,a){if(!a.getReadyForRendering()){t.render(e,a);return}const r=a.getAggregation(\"child\");if(!r){return}e.openStart(\"div\",a);e.accessibilityState(a);e.attr(\"data-help-id\",a.getDataHelpId());e.attr(\"data-sap-ushell-active\",a.getActive());e.attr(\"data-sap-ushell-initial-app-id\",a.getInitialAppId());e.attr(\"data-sap-ushell-current-app-id\",a.getCurrentAppId());e.attr(\"data-sap-ushell-stateful-type\",a.getStatefulType());e.attr(\"data-sap-ushell-framework-id\",a.getFrameworkId());e.class(\"sapUShellApplicationContainer\");e.style(\"height\",a.getHeight());e.style(\"width\",a.getWidth());e.openEnd();e.renderControl(r);e.close(\"div\");a.setRenderComplete(true)};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/contracts/EmbeddedUI5Handler\", [\"sap/base/Log\",\"sap/base/util/Deferred\",\"sap/ui/core/EventBus\",\"sap/ushell/Container\",\"sap/ushell/UI5ComponentType\",\"sap/ushell/utils\",\"sap/ushell/utils/UrlParsing\"],(e,t,n,o,i,s,r)=>{\"use strict\";class a{async createApp(e,t,s){const a=t?.ui5ComponentName;n.getInstance().publish(\"ApplicationContainer\",\"_prior.newUI5ComponentInstantion\",{name:a});const p=await o.getServiceAsync(\"Ui5ComponentLoader\");const c=r.getBasicHash(t.sFixedShellHash);t.ui5ComponentId=`application-${c}-component`;e.setUi5ComponentId(t.ui5ComponentId);await p.createComponent(t,s,[this.#e()],i.Application)}#e(){const n=o.getRendererInternal();if(n){return Promise.resolve()}const i=new t;const s=i.resolve.bind(i);o.attachRendererCreatedEvent(s);return i.promise.then(()=>{e.info(\"EmbeddedUI5Handler: resolving component waitFor promise after shell renderer created event fired.\");o.detachRendererCreatedEvent(s)})}async getNavigationRedirectHash(e){const t=e.getComponentHandle();if(!t){return}const n=t.getInstance({});if(!n){return}if(typeof n.navigationRedirect!==\"function\"){return}const o=n.navigationRedirect();if(!o||typeof o.then!==\"function\"){return}try{const e=await s.promisify(o);return e}catch{}}async storeApp(e){const t=e.getCurrentAppTargetResolution();n.getInstance().publish(\"sap.ushell\",\"appKeepAliveDeactivate\",t);const o=e.getComponentHandle();const i=o.getInstance();if(i.isKeepAliveSupported?.()){i.deactivate();return}if(typeof i.suspend===\"function\"){i.suspend()}const s=i.getRouter?.();if(s&&typeof s.stop===\"function\"){s.stop()}}async restoreAppAfterNavigate(e,t){const o=e.getCurrentAppTargetResolution();n.getInstance().publish(\"sap.ushell\",\"appKeepAliveActivate\",o);const i=e.getComponentHandle();const s=i.getInstance();if(s.isKeepAliveSupported?.()){s.activate();return}if(typeof s.restore===\"function\"){s.restore()}const r=s.getRouter?.();if(r&&typeof r.initialize===\"function\"){const e=!t.useLegacyRestoreFlow;r.initialize(e)}if(typeof s.setInitialConfiguration===\"function\"){s.setInitialConfiguration()}}}return new a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/contracts/StatefulContainerV1Handler\", [\"sap/ushell/utils\",\"sap/ushell/Container\"],(t,e)=>{\"use strict\";class a{async createApp(t,e,a){t.setCurrentAppId(e);t.setCurrentAppUrl(a.url);t.setCurrentAppTargetResolution(a);t.setIframeReusedForApp(true);const s=await this.#t(t,a);await t.sendRequest(\"sap.its.startService\",s,true)}async#t(a,s){let r=s.url;r=await t.appendSapShellParam(r);r=t.filterOutParamsFromLegacyAppURL(r);const p={url:r};if(a.getIframeWithPost()){const s=t.getParamKeys(r);const i={};if(s.aAppStateNamesArray.length>0){const t=await e.getServiceAsync(\"Navigation\");try{const e=await t.getAppStateData(s.aAppStateKeysArray);s.aAppStateNamesArray.forEach((t,a)=>{if(e[a]){i[t]=e[a]}})}catch{}}p[\"sap-flp-params\"]={...i,\"sap-flp-url\":e.getFLPUrl(true),\"system-alias\":a.getSystemAlias()}}return p}async destroyApp(t){t.setCurrentAppId(\"\");await t.sendRequest(\"sap.gui.triggerCloseSession\",{},false)}}return new a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appIntegration/contracts/StatefulContainerV2Handler\", [\"sap/ushell/ApplicationType/UrlPostProcessing\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/utils\",\"sap/ushell/Container\"],(e,s,t,r)=>{\"use strict\";class a{async createApp(e,s,t){e.setReservedParameters(t.reservedParameters);e.setCurrentAppUrl(t.url);e.setCurrentAppId(s);e.setCurrentAppTargetResolution(t);e.setIframeReusedForApp(true);const r=await this.#e(e,s,t);const a=await e.sendRequest(\"sap.ushell.services.appLifeCycle.create\",r,true);return a?.result}async#e(a,p,i){const n=e.processUrl(i.url,i.applicationType,false,a);const l={sCacheId:p,sHash:s.getHash(),sUrl:n};if(n.indexOf(\"sap-iframe-hint=GUI\")>0||n.indexOf(\"sap-iframe-hint=WDA\")>0||n.indexOf(\"sap-iframe-hint=WCF\")>0){const e=t.getParamKeys(n);const s={};if(e.aAppStateNamesArray.length>0){try{const t=await r.getServiceAsync(\"Navigation\");const a=await t.getAppStateData(e.aAppStateKeysArray);e.aAppStateNamesArray.forEach((e,t)=>{if(a[t]){s[e]=a[t]}})}catch{}}l[\"sap-flp-params\"]={...s,\"sap-flp-url\":r.getFLPUrl(true),\"system-alias\":a.getSystemAlias()}}return l}async destroyApp(e,s){const t=e.getCurrentAppId()===s;if(t){e.setCurrentAppUrl(\"\");e.setCurrentAppId(\"\");e.setCurrentAppTargetResolution(undefined);r.setAsyncDirtyStateProvider(undefined)}await e.sendRequest(\"sap.ushell.services.appLifeCycle.destroy\",{sCacheId:s},true)}async storeAppWithinSameFrame(e,s){const t=e.getCurrentAppId()===s;if(!t){throw new Error(\"Cannot store an already stored/destroyed app\")}e.setCurrentAppUrl(\"\");e.setCurrentAppId(\"\");e.setCurrentAppTargetResolution(undefined);r.setAsyncDirtyStateProvider(undefined);await e.sendRequest(\"sap.ushell.services.appLifeCycle.store\",{sCacheId:s},true)}async restoreAppWithinSameFrame(e,t,r){e.setCurrentAppUrl(r.url);e.setCurrentAppId(t);e.setCurrentAppTargetResolution(r);e.setIframeReusedForApp(true);await e.sendRequest(\"sap.ushell.services.appLifeCycle.restore\",{sCacheId:t,sUrl:r.url,sHash:s.getHash()},true)}isStatefulContainerSupportingKeepAlive(e){return e.supportsCapabilities([\"sap.ushell.services.AppLifeCycle.create\",\"sap.ushell.services.appLifeCycle.destroy\",\"sap.ushell.services.appLifeCycle.store\",\"sap.ushell.services.appLifeCycle.restore\"])}}return new a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/neo/AppInfoService\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/thirdparty/URI\",\"sap/ui/model/resource/ResourceModel\",\"sap/m/Dialog\",\"sap/m/DialogType\",\"sap/m/Button\",\"sap/m/ButtonType\",\"sap/m/Text\",\"sap/ushell/Container\",\"sap/ui/core/library\"],(jQuery,e,t,r,s,i,a,n,o,p)=>{\"use strict\";const c=p.ValueState;const l=(new e).search(true);const u=\"/sap/fiori\";const f=\"sap-ui-app-id\";const g=\"/sap/bc\";const d=/sv\\/.+\\/manifest/;let m;function h(e){return`${g}/ui2/app_index/ui5_app_info_json?id=${e}`}function y(t){const r={};const s=t||document.URL;const i=new e(s);const a=i.query(true)[\"sap-startup-params\"];const n=new e(`?${a}`).query(true);let o;Object.keys(n).forEach(e=>{r[e.toLowerCase()]=n[e]});if(r[\"sap-app-uri\"]&&r[\"sap-app-name\"]){const e=r[\"sap-app-uri\"].replace(/\\/$/,\"\");const t=r[\"sap-app-name\"];m=`${u}/${t}/`;o=`${u}/${t}${e}`}if(o){o=o.replace(\".webapp\",\"/webapp\")}return o}function E(e,t,r){if(m){const s=sap.ushell.cloudServices.interceptor.FilterManager.getInstance();const i=e.getFilter(\"sap.ushell.cloudServices.interceptor.filter.DoorWayMappingFilter\");if(!s.isRegistered(\"sap.ushell.cloudServices.interceptor.filter.DoorWayMappingFilter\")){s.register(\"sap.ushell.cloudServices.interceptor.filter.DoorWayMappingFilter\")}i.addAppToStack(r,m);t.addAppToStack(r,m)}}function w(e,p){const g=new jQuery.Deferred;e=e||l[f];jQuery.ajax(h(e)).then(async l=>{if(l&&!(Object.keys(l).length===0)){l=e in l?l[e]:l;const f=l?.asyncHints?.libs||[];f.forEach(e=>{if(e?.url?.final){e.url.url=u+e.url.url}});const h=l?.asyncHints?.components||[];h.forEach(e=>{if(e?.url?.final){e.url.url=u+e.url.url}});if(\"url\"in l){l.url=u+l.url;m=l.url}else{l.url=y(p)}if(!l.url){if(!this.oErrorMessageDialog){const e=new t({async:true,bundleUrl:\"/sap/fiori/appruntime/i18n/i18nApp.properties\"});const p=await e.getResourceBundle();this.oErrorMessageDialog=new r({type:s.Message,title:p.getText(\"ERROR_DIALOG_TITLE\"),state:c.Error,content:new n({text:p.getText(\"MISSING_PARAMETERS_ERROR\")}),contentWidth:\"30%\",beginButton:new i({type:a.Emphasized,text:p.getText(\"OK_BUTTON\"),press:async()=>{this.oErrorMessageDialog.close();const e=await o.getServiceAsync(\"Navigation\");e.toExternal({target:{semanticObject:\"Shell\",action:\"home\"}})}})})}this.oErrorMessageDialog.open();return g.reject(new Error(\"sap-app-uri & sap-app-name parameters were not provided\"))}let w;const S=sap.ushell.cloudServices.interceptor.FilterFactory.getInstance();const T=S.getFilter(\"sap.ushell.cloudServices.interceptor.filter.CacheBusterFilter\");if(\"manifestUrl\"in l){if(d.test(l.manifestUrl)){const e=d.exec(l.manifestUrl);const t=e[0].split(\"/\");w=t[1]}}if(w){T.setTimestamp(w)}else{T.setTimestamp()}E(S,T,e);return g.resolve(l)}return g.reject(new Error(\"AppInfo from AppIndex is empty\"))}).fail(g.reject);return g.promise()}sap.ui.define(\"appInfoService\",[],()=>({getAppInfo:w}))});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/neo/AppRuntimeNeo\", [],()=>{\"use strict\";sap.ui.require([\"sap/ushell/appRuntime/neo/ProxyAppUtils\",\"sap/ushell/appRuntime/neo/AppInfoService\"],e=>{e.initRequestInterceptionFramework().then(()=>{sap.ui.require([\"sap/ushell/appRuntime/ui5/AppRuntime\"],Function.prototype)})})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/neo/ProxyAppUtils\", [],()=>{\"use strict\";function e(){}const t={localAccess:false};if(!window.sap){window.sap={}}if(!window.sap.flp){window.sap.flp={}}if(!window.sap.hana){window.sap.hana={uis:{flp:{model:{UISFioriModel:{getGlobalSiteProperty:function(e){return t[e]}}}}}}}window.sap.hana.uis.flp.SessionTimeoutHandler={resetLastServerPing:function(){}};window[\"sap-hana-uis-fiori-model\"]={};e.prototype.getDesignerSiteIds=function e(){return{FCC_ON_FCC:\"5a539884-5a0a-4a2e-bcc8-c5d956dcdb18\"}};e.prototype.initRequestInterceptionFramework=function(){const e=this;return new Promise(t=>{sap.ui.require([\"sap/ushell/cloudServices/interceptor/InterceptService\",\"sap/ushell/cloudServices/interceptor/FilterManager\"],i=>{const r=window.sap.ushell.cloudServices.interceptor.InterceptService.getInstance();r.start();e.registerDefaultFilters();t()})})};e.prototype.registerDefaultFilters=function(){const e=window.sap.ushell.cloudServices.interceptor.FilterManager.getInstance();e.register(\"sap.ushell.cloudServices.interceptor.filter.CacheBusterFilter\");e.register(\"sap.ushell.cloudServices.interceptor.filter.UShellPluginDoorWayMappingFilter\");e.register(\"sap.ushell.cloudServices.interceptor.filter.CDNUI5Filter\")};const i=new e;window.sap.flp.FaasInitUtils=i;return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/AppCommunicationMgr\", [\"sap/base/util/deepExtend\",\"sap/base/util/Deferred\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/ushell/utils\"],(e,s,t,n,i)=>{\"use strict\";const r=\"sap.ushell.appRuntime.ui5.AppCommunicationMgr\";const a={};const o=[];let u=0;function c(){this.init=async function(e){const s=this;s.handleMessageEvent=c.prototype._handleMessageEvent.bind(s,s);addEventListener(\"message\",s.handleMessageEvent);if(e===true){s.sendMessageToOuterShell(\"sap.ushell.appRuntime.iframeIsValid\");setInterval(()=>{s.sendMessageToOuterShell(\"sap.ushell.appRuntime.iframeIsValid\")},2500)}const t=await this._getPostMessageInterface();t.init(false,this.registerCommHandlers.bind(this))};this._getPostMessageInterface=async function(){const[e]=await i.requireAsync([\"sap/ushell/appIntegration/PostMessagePluginInterface\"]);return e};this.destroy=function(){removeEventListener(\"message\",this.handleMessageEvent)};this.registerCommHandlers=function(s){e(a,s)};this._handleMessageResponse=function(e){if(e.request_id&&o[e.request_id]){const s=o[e.request_id];delete o[e.request_id];if(e.status===\"success\"){s.resolve(e.body.result)}else{let t;if(e?.body?.message){t=new Error(e.body.message)}else{t=new Error(\"Unknown error\")}if(e?.body?.stack){t.stack=e.body.stack}s.reject(t)}}};this._handleMessageRequest=function(e,s,i){const o=t.create(\"sap-ushell-config.services.PostMessage.config\");let u=i&&i.service;let c;let g;let l;let d;let p;n.debug(`App Runtime received post message request from origin '${s.origin}': ${JSON.stringify(i)}`,null,r);if(!u){return}if(o&&o.enabled===false){n.warning(`App Runtime received message for ${g}, but this `+\"feature is disabled. It can be enabled via launchpad configuration \"+\"property 'services.PostMessage.config.enabled: true'\",undefined,r);return}if(!this._isTrustedPostMessageSource(e,s)){n.warning(`App Runtime received message from untrusted origin '${s.origin}': ${JSON.stringify(s.data)}`,null,r);return}if(u===\"sap.ushell.services.MessageBroker\"){u=u.concat(\"._execute\")}if(u.indexOf(\".\")>0){c=u.split(\".\");l=c[c.length-1];g=u.substr(0,u.length-l.length-1)}else{n.warning(`App Runtime received message with invalid service name (${u}) :${JSON.stringify(s.data)}`,null,r);return}const f={oMessage:s,oMessageData:i,oContainer:e};try{d=a[g];p=d&&d.oServiceCalls[l];if(p&&p.executeServiceCallFn){try{p.executeServiceCallFn(f).then(e=>{const t=e&&e.hasOwnProperty(\"_noresponse_\")?true:false;if(!t){this.sendResponseMessage(s,i,\"success\",{result:e})}},e=>{let t;let n=e;if(e instanceof Error){n=e.message;t=e.stack}this.sendResponseMessage(s,i,\"error\",{message:n,stack:t})})}catch(e){this.sendResponseMessage(s,i,\"error\",{message:e.message,stack:e.stack})}}else{n.warning(`App Runtime received message with unknown service name (${i.service}) :${JSON.stringify(s.data)}`,null,r)}}catch(e){n.warning(`Error in processing message: ${e.message}) :${JSON.stringify(s.data)}`,null,r)}};this._getCFLPWindow=function(){return window.parent};this._isTrustedPostMessageSource=function(e,s){let t=false;const n=e._getCFLPWindow();if(n){t=s.source===n}return t};this.sendResponseMessage=function(e,s,t,i){const a=JSON.stringify({type:\"response\",service:s.service,request_id:s.request_id,status:t,body:i});n.debug(`Sending post message response to origin ' ${e.origin}': ${a}`,null,r);if(typeof e.source!==\"object\"||e.source===null){n.debug(`Cannot send response message to origin ' ${e.origin}`,\"`source` member of request message is not an object\",r);return}e.source.postMessage(a,e.origin)};this._getTargetWindow=function(){return window.parent};this.postMessage=function(e){let s;const t=this._getTargetWindow();if(e){try{if(e.type===\"request\"&&!e.request_id){e.request_id=this.getId()}s=JSON.stringify(e);t.postMessage(s,\"*\")}catch(s){n.error(`Message '${e}' cannot be posted: ${s}`,\"sap.ui5Isolation.AppCommunicationMgr\")}}};this.sendMessageToOuterShell=function(e,t,n,i,r){const a=new s;const u={type:\"request\",service:e,body:t||{},request_id:n};this.postMessage(u);o[u.request_id]=a;if(i){setTimeout(()=>{a.resolve(r)},i)}return a.promise};this.getId=function(){return`SAPUI5_APPRUNTIME_MSGID_${++u}`}}c.prototype._handleMessageEvent=function(e,s){if(s===undefined){return}let t=s.data;if(typeof t===\"string\"){try{t=JSON.parse(s.data,this)}catch(e){n.debug(`Message received from origin '${s.origin}' cannot be parsed: ${e}`,t,r);return}}if(t.type===\"request\"){return e._handleMessageRequest(e,s,t)}else if(t.type===\"response\"){return e._handleMessageResponse(t)}};return new c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/AppRuntimeContext\", [\"sap/base/assert\",\"sap/ushell/utils/UrlParsing\",\"sap/base/util/deepClone\",\"sap/ushell/appRuntime/ui5/services/Container\"],(e,t,s,n)=>{\"use strict\";function i(){let e=false;let i=\"\";let a;this.setAppLifeCycleAgent=function(e){a=e};this.setIsScube=function(t){e=t};this.getIsScube=function(){return e};this.setRemoteSystemId=function(e){i=e};this.getRemoteSystemId=function(){return i};this.checkDataLossAndContinue=function(){return a?a.checkDataLossAndContinue():true};this.checkIntentsConversionForScube=function(e){const i=this;if(!this.getIsScube()||!e||e.length===0){return Promise.resolve(e)}return new Promise(a=>{const r=s(e);let o=[];let c;o=r.map(e=>({target:{shellHash:e.intent}}));n.getServiceAsync(\"Navigation\").then(e=>{e.isNavigationSupported(o,undefined,true).then(e=>{for(let s=0;s<e.length;s++){if(!e[s].supported){c=t.parseShellHash(r[s].intent);c.params[\"sap-shell-so\"]=c.semanticObject;c.params[\"sap-shell-action\"]=c.action;c.params[\"sap-remote-system\"]=i.getRemoteSystemId();c.semanticObject=\"Shell\";c.action=\"startIntent\";r[s].intent=`#${t.constructShellHash(c)}`}}a(r)})})})}}return new i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/AppRuntimeService\", [\"sap/ui/thirdparty/jquery\",\"sap/ushell/appRuntime/ui5/AppCommunicationMgr\"],(jQuery,e)=>{\"use strict\";function s(){this.sendMessageToOuterShell=function(s,n,t,r,i){const u=new jQuery.Deferred;e.sendMessageToOuterShell(s,n,t,r,i).then(u.resolve.bind(u)).catch(u.reject.bind(u));return u.promise()};this.postMessageToFLP=function(s,n,t,r,i){return e.sendMessageToOuterShell(s,n,t,r,i)}}return new s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/SessionHandlerAgent\", [\"sap/ushell/appRuntime/ui5/services/Container\",\"sap/ushell/appRuntime/ui5/AppCommunicationMgr\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ui/thirdparty/URI\",\"sap/base/Log\"],(e,t,i,n,s)=>{\"use strict\";function r(){this.init=function(){t.registerCommHandlers({\"sap.ushell.sessionHandler\":{oServiceCalls:{beforeApplicationHide:{executeServiceCallFn:e=>Promise.resolve()},afterApplicationShow:{executeServiceCallFn:e=>Promise.resolve()},logout:{executeServiceCallFn:e=>this.handleLogoutEvent(e)},extendSessionEvent:{executeServiceCallFn:e=>this.handleExtendSessionEvent(e)}}}});this.attachUserEvents();this.userActivityHandler()};this.handleLogoutEvent=function(){return new Promise((t,i)=>{this.detachUserEvents();e.getFLPUrlAsync(true).then(n=>{if(this.isSameDomain(n,document.URL)===false){e.logout().then(t,i)}else{t()}})})};this.isSameDomain=function(e,t){let i;let r;let o=false;if(e===undefined||t===undefined){return false}try{i=new n(e);r=new n(t);if(i.origin()===r.origin()){o=true}}catch(i){s.error(`Check for same domain of iframe and FLP failed: ${e} ${t}`,i,\"sap.ushell.appRuntime.ui5.SessionHandlerAgent\")}return o};this.handleExtendSessionEvent=function(){e.sessionKeepAlive();return Promise.resolve()};this.attachUserEvents=function(){document.addEventListener(\"mousedown\",this.userActivityHandler);document.addEventListener(\"mousemove\",this.userActivityHandler);document.addEventListener(\"keyup\",this.userActivityHandler);document.addEventListener(\"touchstart\",this.userActivityHandler)};this.detachUserEvents=function(){document.removeEventListener(\"mousedown\",this.userActivityHandler);document.removeEventListener(\"mousemove\",this.userActivityHandler);document.removeEventListener(\"keyup\",this.userActivityHandler);document.removeEventListener(\"touchstart\",this.userActivityHandler)};this.userActivityHandler=function(e){if(this.oUserActivityTimer!==undefined){return}this.oUserActivityTimer=setTimeout(()=>{i.postMessageToFLP(\"sap.ushell.sessionHandler.notifyUserActive\",{});this.oUserActivityTimer=undefined},1e4)}}return new r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/performance/FesrEnhancer\", [\"sap/ui/performance/trace/FESR\",\"sap/ui/performance/trace/Interaction\",\"sap/ushell/utils/type\"],(e,t,r)=>{\"use strict\";const n={_fnOriginalOnBeforeCreated:undefined,_currentAppShortId:undefined,init:function(){if(e.getActive()){this._fnOriginalOnBeforeCreated=e.onBeforeCreated;e.onBeforeCreated=this._onBeforeCreatedHandler.bind(this)}},_onBeforeCreatedHandler:function(e,t){if(this._currentAppShortId){e.appNameShort=this._currentAppShortId}if(e.interactionType===1&&(e.stepName===\"undetermined_startup\"||e.stepName===\"undetermined_appruntime_app_startup\")){e.stepName=\"APPRT@APP_START\"}return e},reset:function(){if(e.getActive()){e.onBeforeCreated=this._fnOriginalOnBeforeCreated;this.setAppShortId()}},startInteraction:function(){if(e.getActive()){t.start(\"appruntime_app_startup\")}},setAppShortId:function(t){function n(e,t){let n=e.getManifestEntry(t)||[];if(!r.isArray(n)){n=[n]}return typeof n[0]===\"string\"?n[0]:undefined}if(e.getActive()){try{if(t){const e=t.getInstance().getComponentData().technicalParameters||{};this._currentAppShortId=e[\"sap-fiori-id\"]||n(t,\"/sap.fiori/registrationIds\")}else{this._currentAppShortId=undefined}}catch(e){this._currentAppShortId=undefined}}}};return n},true);\n/* !\n * Copyright (c) SAP SE, All Rights Reserved\n */\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils\", [],()=>{\"use strict\";const e={getAppLifeCycleService:function(){const t=e.getContainer();return t.getServiceAsync(\"AppLifeCycle\").catch(e=>{const t=`Error getting AppLifeCycle service from ushell container: ${e}`;throw new Error(t)})},getContainer:function(){const e=sap.ui.require(\"sap/ushell/Container\");if(!e){throw new Error(\"Illegal state: shell container not available; this component must be executed in a unified shell runtime context.\")}return e},getCurrentRunningApplication:function(){return e.getAppLifeCycleService().then(e=>e.getCurrentApplication())}};return e});\n/* !\n * Copyright (c) SAP SE, All Rights Reserved\n */\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/plugins/baseRta/BaseRTAPluginStatus\", ()=>{\"use strict\";return{STATUS_STARTING:\"starting\",STATUS_STARTED:\"started\",STATUS_STOPPING:\"stopping\",STATUS_STOPPED:\"stopped\"}},true);\n/* !\n * Copyright (c) SAP SE, All Rights Reserved\n */\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions\", [\"sap/ui/Device\",\"sap/ui/fl/initial/api/InitialFlexAPI\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils\"],(e,t,n)=>{\"use strict\";const i={_getAppDescriptor:function(e){if(e&&e.getMetadata){const t=e.getMetadata();if(t&&t.getManifest){return t.getManifest()}}return{}},checkRestartRTA:function(e){const t=new URLSearchParams(window.location.search);const n=t.get(\"sap-ui-layer\");e=n||e;return!!window.sessionStorage.getItem(`sap.ui.rta.restart.${e}`)},checkRtaPrerequisites:async function(){const e=await Promise.all([this.checkUI5App(),t.isKeyUser(),this.checkDesktopDevice()]);return e.every(e=>e)},checkUI5App:function(){return n.getCurrentRunningApplication().then(e=>{if(e){const t=e.applicationType===\"UI5\";const n=e.componentInstance&&e.componentInstance.getManifestEntry&&e.componentInstance.getManifestEntry(\"sap.app\").type===\"application\";return t&&n}return false})},checkDesktopDevice:function(){return e.system.desktop}};return i},true);\n/* !\n * Copyright (c) SAP SE, All Rights Reserved\n */\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer\", [\"sap/base/Log\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils\"],(e,t)=>{\"use strict\";const n={createActionButton:async function(n,i,o){const s=t.getContainer();const c=await s.getServiceAsync(\"FrameBoundExtension\");try{const e=await c.createUserAction({id:n.mConfig.id,text:n.mConfig.i18n.getText(n.mConfig.text),icon:n.mConfig.icon,press:i},{controlType:\"sap.ushell.ui.launchpad.ActionItem\"});if(o){e.showForAllApps()}else{e.hideForAllApps()}return e}catch(t){e.error(t,undefined,n.mConfig.sComponentName)}},exit:function(){}};return n},true);\n/* !\n * Copyright (c) SAP SE, All Rights Reserved\n */\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger\", [\"sap/ui/thirdparty/hasher\",\"sap/ui/core/BusyIndicator\",\"sap/ui/core/EventBus\",\"sap/ui/core/Lib\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/BaseRTAPluginStatus\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils\"],(t,i,s,e,o,n)=>{\"use strict\";const r=o.STATUS_STARTING;const a=o.STATUS_STARTED;const h=o.STATUS_STOPPING;const p=o.STATUS_STOPPED;function u(t){this.mConfig=t;this.sStatus=o.STATUS_STOPPED;this.oStartingPromise=null;this.oStoppingPromise=null;const i=n.getContainer();i.registerDirtyStateProvider(this._dirtyStateProvider.bind(this));this.oInitPromise=i.getServiceAsync(\"URLParsing\").then(t=>{this.oURLParsingService=t}).catch(t=>{throw new Error(`Error during retrieval of URLParsing ushell service: ${t}`)})}function l(){return new Promise((t,i)=>{sap.ui.require([\"sap/ui/rta/api/startAdaptation\"],t,i)})}function c(){return n.getCurrentRunningApplication().then(t=>t.componentInstance)}u.prototype.getInitPromise=function(){return this.oInitPromise};u.prototype._onRtaFailed=function(t){i.hide();this._oRTA=t.getSource();this.mConfig.onErrorHandler()};u.prototype._startRta=function(){this.sStatus=r;s.getInstance().subscribe(\"sap.ushell.renderers.fiori2.Renderer\",\"appClosed\",this._onAppClosed,this);s.getInstance().subscribe(\"sap.ushell\",\"appKeepAliveDeactivate\",this._onAppClosed,this);i.show(0);let o;return c().then(t=>{o=t;return e.load({name:\"sap.ui.rta\"})}).then(l.bind(this)).then(i=>{this.sOldHash=t.getHash();const s={rootControl:o,flexSettings:{layer:this.mConfig.layer,developerMode:this.mConfig.developerMode}};return i(s,this.mConfig.loadPlugins,this.mConfig.onStartHandler,this._onRtaFailed.bind(this),this.mConfig.onStopHandler)}).then(t=>{i.hide();this._oRTA=t;this.sStatus=a}).catch(t=>{i.hide();if(t.reason===\"flexEnabled\"){this.handleFlexDisabledOnStart()}this.sStatus=p})};u.prototype._stopRta=function(){this.sStatus=h;return this._oRTA.stop.apply(this._oRTA,arguments).then(()=>{this.exitRta()})};u.prototype.triggerStartRta=function(){const t=this.sStatus;switch(t){case r:break;case a:this.oStartingPromise=Promise.resolve();break;case h:this.oStartingPromise=this.oStoppingPromise.then(()=>this._startRta());break;case p:this.oStartingPromise=this._startRta();break;default:}if(t!==r){this.oStartingPromise.then(()=>{this.oStartingPromise=null})}return this.oStartingPromise};u.prototype.triggerStopRta=function(){const t=this.sStatus;switch(t){case r:this.oStoppingPromise=this.oStartingPromise.then(function(){return this._stopRta.apply(this,arguments)}.bind(this));break;case a:this.oStoppingPromise=this._stopRta.apply(this,arguments);break;case h:break;case p:this.oStoppingPromise=Promise.resolve();break;default:}if(t!==h){this.oStoppingPromise.then(()=>{this.oStoppingPromise=null})}return this.oStoppingPromise};u.prototype.handleFlexDisabledOnStart=function(){sap.ui.require([\"sap/ui/rta/util/showMessageBox\",\"sap/m/MessageBox\"],(t,i)=>{t(this.mConfig.i18n.getText(\"MSG_FLEX_DISABLED\"),{icon:i.Icon.INFORMATION,title:this.mConfig.i18n.getText(\"HEADER_FLEX_DISABLED\"),actions:[i.Action.OK],initialFocus:null,isCustomAction:false})})};u.prototype._dirtyStateProvider=function(){if(this._oRTA&&this.sStatus===a){const i=t.getHash();const s=this.oURLParsingService.parseShellHash(i);const e=this.oURLParsingService.parseShellHash(this.sOldHash);this.sOldHash=i;if(s.semanticObject===e.semanticObject&&s.action===e.action&&s.appSpecificRoute!==e.appSpecificRoute){return false}return this._oRTA.canSave()}return false};u.prototype.exitRta=function(){if(this._oRTA){this._oRTA.destroy();this.sStatus=p;this.oStartingPromise=null;this.oStoppingPromise=null;this._oRTA=null}s.getInstance().unsubscribe(\"sap.ushell.renderers.fiori2.Renderer\",\"appClosed\",this._onAppClosed,this);s.getInstance().unsubscribe(\"sap.ushell\",\"appKeepAliveDeactivate\",this._onAppClosed,this)};u.prototype._onAppClosed=function(){this.triggerStopRta(true,true)};return u},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component\", [\"sap/base/Log\",\"sap/ui/core/Component\",\"sap/ui/core/EventBus\",\"sap/ui/fl/initial/api/InitialFlexAPI\",\"sap/ushell/api/RTA\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger\"],(e,t,i,n,s,r,a,o)=>{\"use strict\";let u;function p(){return{sComponentName:\"sap.ushell.appRuntime.ui5.plugins.rtaAgent\",layer:\"CUSTOMER\",developerMode:false}}function l(e){return new Promise((t,i)=>{u.postMessageToFlp(\"user.postapi.rtaPlugin\",\"switchToolbarVisibility\",{visible:e}).done(t).fail(i)})}function h(){return new Promise((e,t)=>{u.postMessageToFlp(\"user.postapi.rtaPlugin\",\"activatePlugin\").done(e).fail(t)})}function g(){return a.checkUI5App().then(e=>{if(e){u.postMessageToFlp(\"user.postapi.rtaPlugin\",\"showAdaptUI\").fail(e=>{throw new Error(e)})}})}function d(){u.postMessageToFlp(\"user.postapi.rtaPlugin\",\"hideAdaptUI\").fail(e=>{throw new Error(e)})}function c(){this.oTrigger.triggerStopRta(true,true)}return t.extend(\"sap.ushell.appRuntime.ui5.plugins.rtaAgent.Component\",{metadata:{manifest:\"json\"},init:function(){this.mConfig=p();this._oPluginPromise=Promise.resolve();u=this.getComponentData().oPostMessageInterface;n.isKeyUser().then(e=>{if(e){return h()}return Promise.reject()}).then(()=>{this.mConfig.i18n=this.getModel(\"i18n\").getResourceBundle();this.mConfig.onStartHandler=this._onStartHandler.bind(this);this.mConfig.onErrorHandler=this._onErrorHandler.bind(this);this.mConfig.onStopHandler=this._onStopHandler.bind(this);this.oTrigger=new o(this.mConfig);return this.oTrigger.getInitPromise()}).then(()=>{this._registerPostMessages();return this._restartRtaIfRequired()}).then(()=>r.getAppLifeCycleService()).then(e=>{e.attachAppLoaded(this._onAppLoaded,this)}).then(g).catch(t=>{if(t){e.error(t)}})},getPluginPromise:function(){return this._oPluginPromise},_registerPostMessages:function(){u.registerPostMessageAPIs({\"user.postapi.rtaPlugin\":{inCalls:{startUIAdaptation:{executeServiceCallFn:function(){i.getInstance().subscribe(\"sap.ushell\",\"appClosed\",c.bind(this));s.addTopHeaderPlaceHolder();this.oTrigger.triggerStartRta(this);return u.createPostMessageResult()}.bind(this)}},outCalls:{activatePlugin:{},showAdaptUI:{}}}})},_restartRtaIfRequired:function(){return a.checkUI5App().then(e=>{if(e){if(a.checkRestartRTA(this.mConfig.layer)){return l(false).then(()=>{s.addTopHeaderPlaceHolder();return this.oTrigger.triggerStartRta(this)})}}return undefined})},_onAppLoaded:async function(){const e=await a.checkUI5App();if(e){await this._restartRtaIfRequired();return g()}return d()},_onStopHandler:function(){this._exitAdaptation()},_onStartHandler:function(){},_onErrorHandler:function(){this._exitAdaptation()},_exitAdaptation:function(){i.getInstance().unsubscribe(\"sap.ushell\",\"appClosed\",c.bind(this));l(true);this.oTrigger.exitRta();s.removeTopHeaderPlaceHolder()},exit:function(){i.getInstance().unsubscribe(\"sap.ushell\",\"appClosed\",c.bind(this));l(true);this._oPluginPromise=this._oPluginPromise.then(r.getAppLifeCycleService.bind(r)).then(e=>{e.detachAppLoaded(this._onAppLoaded,this)})}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/plugins/rtaShell/Component\", [\"sap/ui/core/Component\",\"sap/ui/core/Element\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/api/RTA\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils\",\"sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer\"],(e,t,jQuery,i,s,n)=>{\"use strict\";let a;function o(){return{sComponentName:\"sap.ushell.appRuntime.ui5.plugins.rtaShell\",layer:\"CUSTOMER\",id:\"RTA_AppRuntime_Plugin_ActionButton\",text:\"RTA_BUTTON_TEXT\",icon:\"sap-icon://wrench\",visible:false}}function l(e){i.setShellHeaderVisibility(e,false)}function u(){return new Promise((e,t)=>{l(false);a.postMessageToApp(\"user.postapi.rtaPlugin\",\"startUIAdaptation\").done(e).fail(t)})}return e.extend(\"sap.ushell.appRuntime.ui5.plugins.rtaShell.Component\",{metadata:{manifest:\"json\",library:\"sap.ushell\"},init:function(){this.mConfig=o();a=this.getComponentData().oPostMessageInterface;this._registerPostMessages()},_registerPostMessages:function(){a.registerPostMessageAPIs({\"user.postapi.rtaPlugin\":{inCalls:{activatePlugin:{executeServiceCallFn:function(){return a.createPostMessageResult(this._initPlugin())}.bind(this)},showAdaptUI:{executeServiceCallFn:async function(){await this._changeActionButtonVisibility(true);return a.createPostMessageResult()}.bind(this)},hideAdaptUI:{executeServiceCallFn:async function(){await this._changeActionButtonVisibility(false);return a.createPostMessageResult()}.bind(this)},switchToolbarVisibility:{executeServiceCallFn:function(e){const t=e.oMessageData.body.visible;l(t);return a.createPostMessageResult()}}},outCalls:{startUIAdaptation:{}}}})},_initPlugin:function(){if(this.bIsInitialized){return(new jQuery.Deferred).resolve()}this.bIsInitialized=true;this.mConfig.i18n=this.getModel(\"i18n\").getResourceBundle();return new jQuery.Deferred(e=>{n.createActionButton(this,u.bind(undefined),this.mConfig.visible).then(e=>{this.oActionButton=e}).catch(e=>{this.bIsInitialized=false;return Promise.reject(e)}).then(e.resolve,e.reject)}).promise()},_changeActionButtonVisibility:async function(e){if(!this.oActionButton){return}const t=await s.getAppLifeCycleService();if(e&&t.getCurrentApplication().applicationType===\"URL\"){this.oActionButton.showForAllApps()}else{this.oActionButton.hideForAllApps()}},exit:function(){l(false)}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/plugins/scriptAgent/Component\", [\"sap/ui/core/Component\",\"sap/ui/thirdparty/URI\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,t,jQuery,s)=>{\"use strict\";return e.extend(\"sap.ushell.appRuntime.ui5.plugins.scriptAgent.Component\",{metadata:{version:\"1.0.0\",dependencies:{libs:[\"sap.m\"],components:[]}},init:function(){const e=this.getComponentData();const a=(new t).search(true);let n;if(!e.hasOwnProperty(\"config\")){return}if(e.config.hasOwnProperty(\"scube\")){if(a.hasOwnProperty(\"sap-wa-debug\")&&a[\"sap-wa-debug\"]===\"dev\"){n=\"https://education3.hana.ondemand.com/education3/web_assistant/framework/FioriAgent.js\"}else if(a.hasOwnProperty(\"sap-wa-debug\")&&a[\"sap-wa-debug\"]===\"prev\"){n=\"https://webassistant-outlook.enable-now.cloud.sap/web_assistant/framework/FioriAgent.js\"}else{n=\"https://webassistant.enable-now.cloud.sap/web_assistant/framework/FioriAgent.js\"}}else{n=e.config.url}try{jQuery.getScript(n)}catch(e){s.error(e)}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/renderers/fiori2/AccessKeysAgent\", [\"sap/ushell/appRuntime/ui5/AppRuntimeService\"],e=>{\"use strict\";function t(){this.init=function(){document.addEventListener(\"keydown\",t=>{let y=false;let i;if(t.altKey&&!t.ctrlKey&&!t.shiftKey){if(t.keyCode===65||t.keyCode===70||t.keyCode===72||t.keyCode===77||t.keyCode===78||t.keyCode===83){y=true}}else if(t.ctrlKey&&!t.altKey&&!t.shiftKey){if(t.keyCode===188||t.keyCode===112||t.keyCode===83){y=true}}else if(t.ctrlKey&&t.shiftKey&&!t.altKey){if(t.keyCode===70){y=true}}if(y){i={altKey:t.altKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,keyCode:t.keyCode,key:t.key};if(t.keyCode===188){i.key=\",\"}e.postMessageToFLP(\"sap.ushell.services.ShellUIService.processHotKey\",i)}},true)}}return new t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer\", [\"sap/base/util/uid\",\"sap/base/util/ObjectPath\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions\"],(e,t,s,r,jQuery,i)=>{\"use strict\";const n=[];function o(){const i=this;t.set(\"sap.ushell.renderers.fiori2.Renderer\",i);[\"init\",\"createContent\",\"createExtendedShellState\",\"applyExtendedShellState\",\"showLeftPaneContent\",\"showHeaderItem\",\"showRightFloatingContainerItem\",\"showRightFloatingContainer\",\"showToolAreaItem\",\"showFloatingActionButton\",\"showHeaderEndItem\",\"setHeaderVisibility\",\"showSubHeader\",\"showSignOutItem\",\"showSettingsItem\",\"setFooter\",\"setShellFooter\",\"setFooterControl\",\"hideHeaderItem\",\"removeToolAreaItem\",\"removeRightFloatingContainerItem\",\"hideLeftPaneContent\",\"hideFloatingActionButton\",\"hideSubHeader\",\"removeFooter\",\"getCurrentViewportState\",\"addShellSubHeader\",\"addSubHeader\",\"addUserAction\",\"addActionButton\",\"addFloatingButton\",\"addFloatingActionButton\",\"addSidePaneContent\",\"addLeftPaneContent\",\"addHeaderItem\",\"addRightFloatingContainerItem\",\"addToolAreaItem\",\"getModelConfiguration\",\"addUserPreferencesEntry\",\"addUserPreferencesGroupedEntry\",\"setHeaderTitle\",\"setLeftPaneVisibility\",\"showToolArea\",\"setHeaderHiding\",\"setFloatingContainerContent\",\"setFloatingContainerVisibility\",\"getFloatingContainerVisiblity\",\"getRightFloatingContainerVisibility\",\"setFloatingContainerDragSelector\",\"createTriggers\",\"convertButtonsToActions\",\"createItem\",\"addEntryInShellStates\",\"removeCustomItems\",\"addCustomItems\",\"addRightViewPort\",\"addLeftViewPort\",\"getShellController\",\"getViewPortContainerCurrentState\",\"ViewPortContainerNavTo\",\"switchViewPortStateByControl\",\"setUserActionsMenuSelected\",\"getUserActionsMenuSelected\",\"setNotificationsSelected\",\"getNotificationsSelected\",\"addShellDanglingControl\",\"getShellConfig\",\"reorderUserPrefEntries\",\"logRecentActivity\",\"setCurrentCoreView\",\"getCurrentCoreView\"].forEach(e=>{i[e]=function(){r.error(`'Renderer' api '${e}' is not supported when UI5 application is running inside an iframe (sap.ushell.appRuntime.ui5.renderers.fiori2.Renderer)`)}});this.LaunchpadState={App:\"app\",Home:\"home\"};this._addButtonHandler=function(e,t){n[e]=t};this.handleHeaderButtonClick=function(e){if(n[e]!==undefined){n[e]()}};this.addHeaderItem=function(e,t,s,r,i){if(typeof arguments[0]===\"object\"&&typeof arguments[1]===\"boolean\"){t=arguments[0];s=arguments[1];r=arguments[2];i=arguments[3]}this._addHeaderItem(\"sap.ushell.services.Renderer.addHeaderItem\",t,s,r,i)};this.addHeaderEndItem=function(e,t,s,r,i){if(typeof arguments[0]===\"object\"&&typeof arguments[1]===\"boolean\"){t=arguments[0];s=arguments[1];r=arguments[2];i=arguments[3]}this._addHeaderItem(\"sap.ushell.services.Renderer.addHeaderEndItem\",t,s,r,i)};this.showHeaderItem=function(e){s.postMessageToFLP(\"sap.ushell.services.Renderer.showHeaderItem\",{aIds:e,bCurrentState:true,aStates:\"\"})};this.showHeaderEndItem=function(e){s.postMessageToFLP(\"sap.ushell.services.Renderer.showHeaderEndItem\",{aIds:e,bCurrentState:true,aStates:\"\"})};this.hideHeaderItem=function(e){s.postMessageToFLP(\"sap.ushell.services.Renderer.hideHeaderItem\",{aIds:e,bCurrentState:true,aStates:\"\"})};this.hideHeaderEndItem=function(e){s.postMessageToFLP(\"sap.ushell.services.Renderer.hideHeaderEndItem\",{aIds:e,bCurrentState:true,aStates:\"\"})};this._addHeaderItem=function(t,r,i){if(!r.id){r.id=e()}if(r.click!==undefined){this._addButtonHandler(r.id,r.click)}else if(r.press!==undefined){this._addButtonHandler(r.id,r.press)}return s.postMessageToFLP(t,{sId:r.id,sTooltip:r.tooltip,sIcon:r.icon,iFloatingNumber:r.floatingNumber,bVisible:i,bCurrentState:true})};this.setHeaderTitle=function(e){s.postMessageToFLP(\"sap.ushell.services.Renderer.setHeaderTitle\",{sTitle:e})};this.setHeaderVisibility=function(e,t,r){s.postMessageToFLP(\"sap.ushell.services.Renderer.setHeaderVisibility\",{bVisible:e,bCurrentState:t,aStates:r})};this.createShellHeadItem=function(t){if(!t.id){t.id=e()}if(t.press!==undefined){this._addButtonHandler(t.id,t.press);delete t.press}return s.postMessageToFLP(\"sap.ushell.services.Renderer.createShellHeadItem\",{params:t})};this.showActionButton=function(e,t,r){s.postMessageToFLP(\"sap.ushell.services.Renderer.showActionButton\",{aIds:e,bCurrentState:t,aStates:r})};this.hideActionButton=function(e,t,r){s.postMessageToFLP(\"sap.ushell.services.Renderer.hideActionButton\",{aIds:e,bCurrentState:t,aStates:r})};this.addUserAction=function(t){if(!t.oControlProperties.id){t.oControlProperties.id=e()}if(t.oControlProperties.press!==undefined){this._addButtonHandler(t.oControlProperties.id,t.oControlProperties.press);delete t.oControlProperties.press}return s.postMessageToFLP(\"sap.ushell.services.Renderer.addUserAction\",{oParameters:t})};this.addTopHeaderPlaceHolder=function(){if(jQuery(\"#rmheader\").length===0){jQuery(\"body\").prepend(\"<div id='rmheader' class='sapUshellHeaderPlaceHolder'></div>\");jQuery(\"body\").find(\".sapAppRuntimeBaseStyle\").css(\"height\",\"calc(100% - 2.75rem)\")}};this.removeTopHeaderPlaceHolder=function(){jQuery(\"#rmheader\").remove();jQuery(\"body\").find(\".sapAppRuntimeBaseStyle\").css(\"height\",\"100%\")};this.updateHeaderItem=function(e,t){s.postMessageToFLP(\"sap.ushell.services.Renderer.updateHeaderItem\",{sId:e,oControlProperties:t})};this.destroyButton=function(e){s.postMessageToFLP(\"sap.ushell.services.Renderer.destroyButton\",{aIds:e})}}const a=new o;i.setRenderer(a);return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions\", [\"sap/base/util/uid\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\"],(t,e,n)=>{\"use strict\";let i={};function o(t,e,n){}function s(t,e,n){}function r(t,e,n){}function u(t,e,n){}function a(n,o,s){const r=Array.isArray(n)?n:[n];const u=[o];const a=[];if(s!==undefined){u.push(s)}r.forEach(e=>{const n=`${t()}-apprt`;e.idAppRuntime=n;i._addButtonHandler(n,()=>{e.firePress()});a.push({id:n,text:e.getText(),icon:e.getIcon(),tooltip:e.getTooltip(),aStates:u})});return e.postMessageToFLP(\"sap.ushell.services.Renderer.addOptionsActionSheetButton\",a)}function c(t,n,i){const o=Array.isArray(t)?t:[t];const s=[n];const r=[];if(i!==undefined){s.push(i)}o.forEach(t=>{r.push({id:t.idAppRuntime,aStates:s})});return e.postMessageToFLP(\"sap.ushell.services.Renderer.removeOptionsActionSheetButton\",r)}function d(t,e,n){}function h(t,e){}function f(t,e,n){}function p(t,e,n){}function m(t,e,n){}function l(t,e,n){}function A(){if(n.getIsScube()){return{enablePersonalization:true}}return{}}function H(t,e,n,i){}function g(t,e){}function v(t){}function S(t){}function P(t){}function R(t,e){}function b(t){}function y(t){}function I(){}function B(t){i=t}function E(){this.addHeaderItem=r;this.setHeaderItemVisibility=H;this.addSubHeader=o;this.removeSubHeader=s;this.addHeaderEndItem=m;this.removeHeaderItem=u;this.removeHeaderEndItem=l;this.addEndUserFeedbackCustomUI=g;this.addOptionsActionSheetButton=a;this.removeOptionsActionSheetButton=c;this.setFooter=y;this.removeFooter=I;this.addUserPreferencesEntry=v;this.addUserPreferencesGroupedEntry=S;this.setHeaderTitle=P;this.setHeaderHiding=b;this.LaunchpadState={App:\"app\",Home:\"home\"};this.addFloatingActionButton=f;this.removeFloatingActionButton=p;this.setLeftPaneContent=d;this.removeLeftPaneContent=h;this.setLeftPaneVisibility=R;this.getConfiguration=A;this.setRenderer=B}return new E});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/AppConfiguration\", [\"sap/base/util/ObjectPath\",\"sap/m/library\",\"sap/ui/core/IconPool\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/EventHub\",\"sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions\",\"sap/ushell/resources\",\"sap/ushell/services/AppConfiguration\"],(t,e,i,s,n,o,l,p)=>{\"use strict\";const a=e.ButtonType;function u(){let e=[];let u=false;t.set(\"sap.ushell.services.AppConfiguration\",this);p.constructor.call(this);n.on(\"appWidthChange\").do(t=>{const e=document.body;e.classList.toggle(\"sapUiSizeCompact\",t);e.classList.toggle(\"sapUShellApplicationContainerLimitedWidth\",!t);e.classList.toggle(\"sapUShellApplicationContainer\",!t)});n.on(\"setApplicationFullWidth\").do(t=>{document.body.classList.toggle(\"sapUShellApplicationContainerLimitedWidth\",!t.bValue);document.body.classList.toggle(\"sapUShellApplicationContainer\",!t.bValue)});this.setApplicationFullWidth=function(t){if(u===true||u===\"true\"){n.emit(\"appWidthChange\",t)}else{s.postMessageToFLP(\"sap.ushell.services.AppConfiguration.setApplicationFullWidth\",{bValue:t})}};this.setFullWidthFromManifest=function(t){u=t};this.addApplicationSettingsButtons=function(t){for(let e=0;e<t.length;e++){const s=t[e];s.setIcon(s.getIcon()||i.getIconURI(\"customize\"));if(l.i18n.getText(\"userSettings\")===s.getProperty(\"text\")){s.setProperty(\"text\",l.i18n.getText(\"userAppSettings\"))}s.setType(a.Unstyled)}o.removeOptionsActionSheetButton(e,\"app\").then(()=>{e=t;o.addOptionsActionSheetButton(e,\"app\")})}}return new u},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/AppLifeCycle\", [\"sap/base/Log\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/services/AppLifeCycle\"],(e,p,r)=>{\"use strict\";function s(s,t,a){r.call(this,s,t,a);this.reloadCurrentApp=async function(){try{await p.postMessageToFLP(\"sap.ushell.services.AppLifeCycle.reloadCurrentApp\",{})}catch(p){e.error(\"reloadCurrentApp failed: \",p)}}}s.prototype=r.prototype;s.hasNoAdapter=r.hasNoAdapter;return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/base/util/UriParameters\",\"sap/base/assert\",\"sap/ui/core/EventBus\",\"sap/ui/thirdparty/URI\",\"sap/ui/Device\",\"sap/ui/core/BusyIndicator\",\"sap/ushell/EventHub\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/resources\",\"sap/ushell/appRuntime/ui5/services/Container\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\",\"sap/ushell/appRuntime/ui5/AppCommunicationMgr\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/performance/FesrEnhancer\"],(e,t,s,n,a,r,p,i,o,u,l,c,d,h,f,m,g)=>{\"use strict\";function A(){const A=this;let y;let v;let C=true;const I={};let b;const S={};const P={};const R={};const w={};let F;let L;let N;let H;this.init=function(e,t,s,n,a,r){this.resetCurrentApp();y=e;b=t;L=s;if(n!==undefined){C=n}this.addAppInfoToCache(a,r);f.registerCommHandlers({\"sap.ushell.services.appLifeCycle\":{oServiceCalls:{create:{executeServiceCallFn:function(e){const t=JSON.parse(e.oMessage.data);return A.create(t)}},destroy:{executeServiceCallFn:function(e){const t=JSON.parse(e.oMessage.data);return A.destroy(t)}},store:{executeServiceCallFn:function(e){const t=JSON.parse(e.oMessage.data);return A.store(t)}},restore:{executeServiceCallFn:function(e){const t=JSON.parse(e.oMessage.data);return A.restore(t)}}}}});o.on(\"disableKeepAliveRestoreRouterRetrigger\").do(e=>{if(e.componentId&&P[e.componentId]){P[e.componentId]=e.disable}});this._sendAppRuntimeSetup();H=c.i18n.getText(\"dataLossExternalMessage\");window.onbeforeunload=function(){if(d.getDirtyFlag()){return H}return undefined}};this._sendAppRuntimeSetup=()=>{const e={isStateful:true,isKeepAlive:true,isIframeValid:true,session:{bLogoutSupport:true}};const t={session:{bLogoutSupport:true}};m.postMessageToFLP(\"sap.ushell.services.appLifeCycle.setup\",window[\"sap-ushell-config\"]?.ui5appruntime?.config?.stateful===false?t:e)};this.create=function(e){return new Promise((t,o)=>{let c;let d;let f;let m=\"\";g.startInteraction();const y=e.body.sUrl;if(h.getIsScube()){d=s.fromURL(y).get(\"sap-remote-intent\");n(typeof d===\"string\",\"AppLifeCycleAgent::create - sAp Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/cdm/cdm-def-dev\", [\"./cdm.constants\",\"../common/common.configure.ui5\",\"../common/common.configure.ushell\",\"../common/common.override.registermodulepath\",\"../common/common.configure.ui5.extractLibs\",\"../common/common.load.bootstrapExtension\",\"./cdm.boot.task\"],(o,m,n,e,c,r,t)=>{\"use strict\";if(performance&&performance.mark){performance.mark(\"FLP first paint!\")}const i=n({defaultUshellConfig:o.defaultConfig});m({ushellConfig:i,libs:c(i),platform:\"cdm\",bootTask:t});e();r(i)});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/cdm/cdm-def\", [\"./cdm.constants\",\"../common/common.configure.ui5\",\"../common/common.configure.ushell\",\"../common/common.override.registermodulepath\",\"../common/common.load.core-min\",\"../common/common.configure.ui5.extractLibs\",\"../common/common.load.bootstrapExtension\",\"./cdm.boot.task\"],(o,m,n,c,e,r,t,a)=>{\"use strict\";if(performance&&performance.mark){performance.mark(\"FLP first paint!\")}const i=n({defaultUshellConfig:o.defaultConfig});m({ushellConfig:i,libs:r(i),platform:\"cdm\",bootTask:a});c();t(i);e.load(i.ushell.customPreload)});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/cdm/cdm.boot.task\", [\"../common/common.constants\",\"../common/common.configure.ui5language\",\"../common/common.configure.ui5theme\",\"../common/common.configure.ui5datetimeformat\"],(o,n,m,c)=>{\"use strict\";function e(e){const i=window[o.ushellConfigNamespace];n(i);m(i);c(i);e()}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/cdm/cdm.constants\", [\"../common/common.util\"],e=>{\"use strict\";return e.deepFreeze({defaultConfig:{defaultRenderer:\"fiori2\",ushell:{home:{tilesWrappingType:\"Hyphenated\"},customPreload:{enabled:true,coreResources:[\"sap/ushell/preload-bundles/thirdparty.js\",\"sap/ushell/bootstrap/core-min-0.js\",\"sap/ushell/bootstrap/core-min-1.js\",\"sap/ushell/bootstrap/core-min-2.js\",\"sap/ushell/bootstrap/core-min-3.js\"],coreResourcesComplement:[\"sap/ushell/preload-bundles/core-ext-light-0.js\",\"sap/ushell/preload-bundles/core-ext-light-1.js\",\"sap/ushell/preload-bundles/core-ext-light-2.js\",\"sap/ushell/preload-bundles/core-ext-light-3.js\"]}},renderers:{fiori2:{componentData:{config:{sessionTimeoutReminderInMinutes:5,sessionTimeoutIntervalInMinutes:-1,sessionTimeoutTileStopRefreshIntervalInMinutes:15,enableAutomaticSignout:true,enableHideGroups:true,enablePersonalization:true,enableAbout:true,enableTagFiltering:false,enableSearch:false,searchBusinessObjects:false,enableSetTheme:true,enableAccessibility:true,enableHelp:false,enableUserDefaultParameters:true,enableRecentActivity:true,enableRecentActivityLogging:true,preloadLibrariesForRootIntent:false,applications:{\"Shell-home\":{enableEasyAccess:false,enableTileActionsIcon:false,enableHideGroups:false}},rootIntent:\"Shell-home\"}}}},services:{Container:{adapter:{config:{userProfile:{metadata:{ranges:{theme:{sap_horizon:{displayName:\"SAP Morning Horizon\",themeRoot:\"\"},sap_horizon_dark:{displayName:\"SAP Evening Horizon\",themeRoot:\"\"},sap_horizon_hcb:{displayName:\"SAP High Contrast Black (SAP Horizon)\",themeRoot:\"\"},sap_horizon_hcw:{displayName:\"SAP High Contrast White (SAP Horizon)\",themeRoot:\"\"}}}},defaults:{theme:\"sap_horizon\"}}}}},Personalization:{adapter:{module:\"sap.ushell.adapters.local.PersonalizationAdapter\"}},PersonalizationV2:{adapter:{module:\"sap.ushell.adapters.local.PersonalizationAdapter\"}},AppState:{adapter:{module:\"sap.ushell.adapters.local.AppStateAdapter\"},config:{transient:true}},NavTargetResolution:{config:{allowTestUrlComponentConfig:false,enableClientSideTargetResolution:true},adapter:{module:\"sap.ushell.adapters.local.NavTargetResolutionAdapter\"}},NavTargetResolutionInternal:{config:{allowTestUrlComponentConfig:false,enableClientSideTargetResolution:true},adapter:{module:\"sap.ushell.adapters.local.NavTargetResolutionInternalAdapter\"}},SupportTicket:{config:{enabled:false},adapter:{module:\"sap.ushell.adapters.local.SupportTicketAdapter\"}},UserInfo:{adapter:{module:\"sap.ushell.adapters.local.UserInfoAdapter\"}},UserDefaultParameterPersistence:{adapter:{module:\"sap.ushell.adapters.local.UserDefaultParameterPersistenceAdapter\"}},NavigationDataProvider:{adapter:{module:\"sap.ushell.adapters.cdm.ClientSideTargetResolutionAdapter\"}},VisualizationDataProvider:{adapter:{module:\"sap.ushell.adapters.cdm.v3.FlpLaunchPageAdapter\"}}},ui5:{libs:{\"sap.ui.core\":true,\"sap.m\":true,\"sap.ushell\":true}}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.boot.path\", [],()=>{\"use strict\";return sap.ui.require.toUrl(\"\")});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.boot.script\", [\"./common.constants\"],t=>{\"use strict\";let e=document.getElementById(t.bootScriptId);if(!e){e=document.getElementById(t.bwcBootScriptId)}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.boot.task\", [\"../common/common.constants\",\"../common/common.configure.ui5language\",\"../common/common.configure.ui5theme\",\"../common/common.configure.ui5datetimeformat\"],(o,n,m,c)=>{\"use strict\";function e(e){const i=window[o.ushellConfigNamespace];n(i);m(i);c(i);e()}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.configure.ui5.extractLibs\", [\"sap/base/Log\",\"sap/base/util/isPlainObject\"],(i,u)=>{\"use strict\";return function e(s){if(!s||!s.ui5||!s.ui5.libs){return[]}if(!u(s.ui5.libs)){i.error(\"Invalid ushell configuration: /ui5/libs must be an object\");return[]}return Object.keys(s.ui5.libs).filter(function(i){return this[i]},s.ui5.libs)}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.configure.ui5\", [\"sap/base/Log\",\"./common.load.launchpad\",\"./common.read.ui5theme.from.config\"],(e,o,i)=>{\"use strict\";function t(t){if(!t||!t.libs||!Array.isArray(t.libs)){e.error(\"Mandatory settings object not provided\",null,\"sap/ushell/bootstap/common/common.configure.ui5\");return{}}const n=window[\"sap-ui-config\"]||(window[\"sap-ui-config\"]={});const a=t&&t.platform;const s=t&&t.platformAdapters;const r=t.ushellConfig;const l=t.theme?t.theme:i(r).theme;const c=t.themeRoots;if(r&&r.modulePaths){const e=Object.keys(r.modulePaths).reduce((e,o)=>{e[o.replace(/\\./g,\"/\")]=r.modulePaths[o];return e},{});sap.ui.loader.config({paths:e})}const u=n.oninit;n.oninit=function(){if(typeof u===\"string\"){const o=/^module:((?:[_$.\\-a-zA-Z0-9]+\\/)*[_$.\\-a-zA-Z0-9]+)$/.exec(u);if(o&&o[1]){sap.ui.require([o[1]])}else{e.error(`Given onInit module (${u}) cannot be loaded.`)}}sap.ui.require([\"sap/ushell/Container\"],e=>{e.init(a,s).then(()=>{(t.onInitCallback||o)()})})};n.preload=\"async\";n.compatversion=\"edge\";n.libs=t.libs.join();n.theme=l;if(c){n[\"theme-roots\"]??={};for(const[e,o]of Object.entries(c)){n[\"theme-roots\"][e]=o}}n[\"xx-boottask\"]=t.bootTask;n.calendarWeekNumbering=r?.services?.Container?.adapter?.config?.calendarWeekNumbering||\"Default\";if(r&&r.ushell&&r.ushell.verticalization&&r.ushell.verticalization.activeTerminologies&&r.ushell.verticalization.activeTerminologies.length>0){n.activeterminologies=r.ushell.verticalization.activeTerminologies}return n}return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.configure.ui5datetimeformat\", [\"sap/base/i18n/Formatting\",\"sap/base/Log\",\"sap/base/util/ObjectPath\"],(t,e,o)=>{\"use strict\";function a(a){const r=o.get(\"services.Container.adapter.config.userProfile.defaults\",a);const s=\"Date Format is incorrectly set for the User\";const c=\"Time Format is incorrectly set for the User\";try{const e=r&&r.sapDateFormat;t.setABAPDateFormat(e)}catch(t){e.error(s,t.stack,\"sap/ushell/bootstrap/common/common.configure.ui5datetimeformat\")}try{const e=r&&r.sapTimeFormat;t.setABAPTimeFormat(e)}catch(t){e.error(c,t.stack,\"sap/ushell/bootstrap/common/common.configure.ui5datetimeformat\")}}return a},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.configure.ui5language\", [\"sap/base/i18n/Localization\",\"sap/base/util/ObjectPath\"],(e,a)=>{\"use strict\";function t(t){const s=a.get(\"services.Container.adapter.config.userProfile.defaults\",t);const i=s&&s.languageBcp47;if(i){e.setLanguage(i)}}return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.configure.ui5theme\", [\"./common.read.ui5theme.from.config\",\"sap/base/util/ObjectPath\",\"sap/base/Log\"],(e,t,o)=>{\"use strict\";function r(e){const o=t.get(\"services.Container.adapter.config.userProfile.metadata.ranges.theme\",e);if(!o){return}t.create(\"services.UserInfo.adapter.config.themes\",e);e.services.UserInfo.adapter.config.themes=Object.keys(o).map(e=>({id:e,name:o[e].displayName,root:o[e].themeRoot}))}function s(s){const a=t.get(\"services.Container.adapter.config\",s);const i=e(s);r(s);if(i.theme){a.userProfile.defaults.bootTheme=i}else{const e=t.get(\"userProfile.defaults.theme\",a);const r=t.get(\"userProfilePersonalization.theme\",a);o.error(`No valid boot theme could be determined: personalizedTheme = '${r}' default theme = '${e}'`,null,\"common.configure.ui5theme\")}}return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.configure.ushell\", [\"./common.constants\",\"./common.debug.mode\",\"./common.read.metatags\",\"./common.util\",\"./common.read.ushell.config.from.url\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/base/util/extend\"],(e,n,s,t,o,i,a,c)=>{\"use strict\";function l(e,n){if(!e||!n){return}const s=i.get(n,e);if(s&&s.items){c(s,s.items);delete s.items;delete s.__metadata}}function r(n,s,i,c){const l=e.ushellConfigNamespace;n=n||[];s=s||{};c=c||[];const r=window[l]||{};const u=o.getConfig()||{};const f=[r,s,...n,...c,u].reduce((e,n)=>{const s=t.getV2ServiceMigrationConfig(n);t.mergeConfig(e,s,true);t.mergeConfig(e,n,true);return e},{});f[\"sap-ui-debug\"]=i;window[l]=f;a.info(\"finally applied sap-ushell-config\",JSON.stringify(f),\"sap/ushell/bootstrap/common/common.boot.script\")}function u(e){const n=i.get(\"ushell.spaces.configurable\",e);if(n){const n=i.get(\"services.Container.adapter.config.userProfilePersonalization.spacesEnabled\",e);if(n===true){i.set(\"ushell.spaces.enabled\",true,e)}else if(n===false){i.set(\"ushell.spaces.enabled\",false,e)}}}function f(t){const o=t?.defaultUshellConfig;const i=s.readMetaTags(e.configMetaPrefix);r(i,o,n.isDebug(),null);const a=window[e.ushellConfigNamespace];l(a,\"services.Container.adapter.config.userProfilePersonalization\");u(a);return a}return f});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.constants\", [],()=>{\"use strict\";return{uiDebugKey:\"sap-ui-debug\",bootScriptId:\"sap-ui-bootstrap\",bwcBootScriptId:\"sap-ushell-bootstrap\",configMetaPrefix:\"sap.ushellConfig\",ushellConfigNamespace:\"sap-ushell-config\"}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.create.configcontract.core\", [\"sap/base/util/ObjectPath\",\"sap/ushell/bootstrap/common/common.debug.mode\",\"sap/base/util/deepExtend\"],(e,n,a)=>{\"use strict\";const o={};const s=new URLSearchParams(document.location.search);function i(i){const l={};function r(e,n){const a=n.split(\"/\");const o=a.slice(0,a.length-1).join(\"/\");const s=a.pop();if(e.hasOwnProperty(o)){return e[o][s]}const l=a.reduce((e,n)=>{if(!e||!e.hasOwnProperty(n)){return{}}return e[n]},i);e[o]=l;return l[s]}function t(e,n){const a=r(l,e);o[e]=n;return a!==undefined?a:n}function c(){return t(\"renderers/fiori2/componentData/config/enablePersonalization\",t(\"renderers/fiori2/componentData/config/applications/Shell-home/enablePersonalization\",true))}function u(){let e=t(\"renderers/fiori2/componentData/config/rootIntent\",\"\");if(e){e=`#${e}`}return e}function d(){return t(\"ushell/spaces/enabled\",false)&&!!t(\"ushell/homeApp/component\",false)}const p=t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableEasyAccess\",true);const f={enableEasyAccessOnTablet:t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableEasyAccessUserMenuOnTablet\",false),enableEasyAccessSAPMenu:t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableEasyAccessSAPMenu\",p),enableEasyAccessSAPMenuSearch:t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableEasyAccessSAPMenuSearch\",true),enableEasyAccessUserMenu:t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableEasyAccessUserMenu\",p),enableEasyAccessUserMenuSearch:t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableEasyAccessUserMenuSearch\",true)};function h(e){if(p===true){return f[e]?f[`${e}Search`]:false}return false}function m(e){if(typeof e!==\"string\"){return[]}return e.split(\",\").map(e=>e.trim())}function g(){return{name:\"sap.ushell.components.workPageRuntime\",asyncHints:{preloadBundles:[\"sap/ushell/preload-bundles/workpage-rt-common.js\",\"sap/ushell/preload-bundles/workpage-rt-0.js\",\"sap/ushell/preload-bundles/workpage-rt-1.js\",\"sap/ushell/preload-bundles/workpage-rt-2.js\",\"sap/ushell/preload-bundles/workpage-rt-3.js\"]}}}function b(){const n={};e.set(\"spaces.enabled\",true,n);if(t(\"ushell/menu/position\")===\"Side\"){e.set(\"spaces.selectable\",false,n)}else{e.set(\"spaces.selectable\",true,n);e.set(\"favorites.enabled\",true,n)}if(t(\"ushell/sideNavigation/mode\")===\"Docked\"||t(\"ushell/menu/position\")===\"Side\"){e.set(\"spaces.defaultIcon\",\"sap-icon://document-text\",n)}return JSON.stringify(n)}function S(){const n={};if(t(\"ushell/menu/position\")!==\"Side\"){e.set(\"spaces.personalization.enabled\",A(),n)}return JSON.stringify(n)}function v(){const e=t(\"ushell/spaces/enabled\",false);if(!e){return false}return t(\"ushell/sideNavigation/enabled\",false)||t(\"ushell/menu/position\")===\"Side\"}function A(){return t(\"ushell/menu/personalization/enabled\",false)}const P={core:{site:{siteId:t(\"ushell/site/siteId\",null),sapCdmVersion:t(\"ushell/site/sapCdmVersion\",null)},extension:{dap:{pluginName:t(\"ushell/extension/dap/pluginName\",\"DAP_PLUGIN\"),enabled:t(\"ushell/extension/dap/enabled\",true)},enableHelp:t(\"renderers/fiori2/componentData/config/enableHelp\",false),SupportTicket:t(\"services/SupportTicket/config/enabled\",false)},services:{allMyApps:{enabled:t(\"services/AllMyApps/config/enabled\",true),showHomePageApps:t(\"services/AllMyApps/config/showHomePageApps\",true),showCatalogApps:t(\"services/AllMyApps/config/showCatalogApps\",true)}},navigation:{enableInPlaceForClassicUIs:{GUI:t(\"services/ClientSideTargetResolution/config/enableInPlaceForClassicUIs/GUI\",false),WDA:t(\"services/ClientSideTargetResolution/config/enableInPlaceForClassicUIs/WDA\",false),WCF:t(\"services/ClientSideTargetResolution/config/enableInPlaceForClassicUIs/WCF\",true)},enableWebguiLocalResolution:true,enableWdaLocalResolution:true,flpURLDetectionPattern:t(\"services/ClientSideTargetResolution/config/flpURLDetectionPattern\",\"[/]FioriLaunchpad.html[^#]+#[^-]+?-[^-]+\"),enableWdaCompatibilityMode:t(\"ushell/navigation/wdaCompatibilityMode\",false)},spaces:{enabled:t(\"ushell/spaces/enabled\",false),configurable:t(\"ushell/spaces/configurable\",false),myHome:{userEnabled:true,enabled:t(\"startupConfig/spacesMyhome\",false)||d(),myHomeSpaceId:t(\"startupConfig/spacesMyhomeSpaceid\",null),myHomePageId:t(\"startupConfig/spacesMyhomePageid\",null),presetSectionId:\"3WO90XZ1DX1AS32M7ZM9NBXEF\"},hideEmptySpaces:{enabled:t(\"ushell/spaces/enabled\",false)&&t(\"ushell/spaces/hideEmptySpaces/enabled\",false),userEnabled:true},extendedChangeDetection:{enabled:t(\"ushell/spaces/extendedChangeDetection/enabled\",true)},homeNavigationTarget:t(\"renderers/fiori2/componentData/config/homeNavigationTarget\",undefined),currentSpaceAndPage:undefined},workPages:{enabled:t(\"ushell/spaces/enabled\",false)&&t(\"ushell/workPages/enabled\",false),defaultComponent:g(),component:t(\"ushell/workPages/component\",a(g(),{addCoreResourcesComplement:false})),contentApiUrl:t(\"ushell/workPages/contentApiUrl\",\"/cep/content\"),tileCard:t(\"ushell/workPages/tileCard\",!!s.get(\"sap-ushell-tilecard\")),customTileCard:t(\"ushell/workPages/customTileCard\",!!s.get(\"sap-ushell-customtilecard\")),myHome:{pageId:t(\"ushell/spaces/myHome/myHomePageId\",null)},runtimeSwitcher:t(\"ushell/workPages/runtimeSwitcher\",t(\"ushell/spaces/myHome/myHomePageId\",null)===null),contentFinderStandalone:t(\"core/workPages/contentFinderStandalone\",true)&&t(\"ushell/workPages/enabled\",false)},shellBar:{enabled:t(\"ushell/shellBar/enabled\",false)},searchCEPNew:{enabled:t(\"ushell/searchCEPNew/enabled\",false)},homeApp:{enabled:d(),component:t(\"ushell/homeApp/component\",{})},sideNavigation:{enabled:v(),mode:t(\"ushell/sideNavigation/mode\",\"Docked\"),navigationListProvider:{modulePath:t(\"ushell/sideNavigation/navigationListProvider/modulePath\",t(\"ushell/menu/position\")===\"Side\"?\"sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider\":\"sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider\"),configuration:t(\"ushell/sideNavigation/navigationListProvider/configuration\",b())},fixedNavigationListProvider:{modulePath:t(\"ushell/sideNavigation/fixedNavigationListProvider/modulePath\",t(\"ushell/menu/position\")===\"Side\"?\"\":\"sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider\"),configuration:t(\"ushell/sideNavigation/fixedNavigationListProvider/configuration\",S())}},notifications:{enabled:t(\"ushell/notifications/enabled\",false)},menu:{enabled:t(\"ushell/spaces/enabled\",false)&&t(\"ushell/menu/enabled\",!t(\"ushell/menu/position\")||t(\"ushell/menu/position\")===\"Top\"),personalization:{enabled:A(),showNavigationBarMenuButton:t(\"ushell/menu/personalization/showNavigationBarMenuButton\",A()&&!v())},visibleInAllStates:t(\"ushell/menu/visibleInAllStates\",false)},darkMode:{enabled:t(\"ushell/darkMode/enabled\",false),supportedThemes:t(\"ushell/darkMode/supportedThemes\",[{dark:\"sap_fiori_3_dark\",light:\"sap_fiori_3\"},{dark:\"sap_fiori_3_hcb\",light:\"sap_fiori_3_hcw\"},{dark:\"sap_horizon_dark\",light:\"sap_horizon\"},{dark:\"sap_horizon_hcb\",light:\"sap_horizon_hcw\"}])},contentProviders:{providerInfo:{enabled:t(\"ushell/contentProviders/providerInfo/enabled\",false),userConfigurable:t(\"ushell/contentProviders/providerInfo/enabled\",false)&&t(\"ushell/contentProviders/providerInfo/userConfigurable\",false),showContentProviderInfoOnVisualizations:t(\"ushell/contentProviders/providerInfo/enabled\",false)&&t(\"ushell/contentProviders/providerInfo/userConfigurable\",false)}},productSwitch:{enabled:!!t(\"ushell/productSwitch/url\",\"\"),url:t(\"ushell/productSwitch/url\",\"\")},shellHeader:{rootIntent:t(\"renderers/fiori2/componentData/config/rootIntent\",\"\"),homeUri:u()},companyLogo:{accessibleText:t(\"ushell/companyLogo/accessibleText\",\"\"),url:t(\"ushell/companyLogo/url\",\"\")},userPreferences:{dialogTitle:\"Settings\",isDetailedEntryMode:false,activeEntryPath:null,entries:[],profiling:[]},userSettings:{displayUserId:t(\"renderers/fiori2/componentData/config/displayUserId\",false)},userActionsMenu:{displayUserId:t(\"ushell/userActionsMenu/displayUserId\",false),displayAvatar:t(\"ushell/userActionsMenu/displayAvatar\",false)},shell:{cacheConfiguration:t(\"renderers/fiori2/componentData/config/cacheConfiguration\",{}),enableAbout:t(\"renderers/fiori2/componentData/config/enableAbout\",true),enablePersonalization:c(),enableRecentActivity:t(\"renderers/fiori2/componentData/config/enableRecentActivity\",true),enableRecentActivityLogging:t(\"renderers/fiori2/componentData/config/enableRecentActivityLogging\",true),enableFiori3:true,sessionTimeoutIntervalInMinutes:t(\"renderers/fiori2/componentData/config/sessionTimeoutIntervalInMinutes\",-1),enableFeaturePolicyInIframes:t(\"renderers/fiori2/componentData/config/enableFeaturePolicyInIframes\",true),enableOpenIframeWithPost:t(\"renderers/fiori2/componentData/config/enableOpenIframeWithPost\",true),favIcon:t(\"renderers/fiori2/componentData/config/favIcon\",undefined),enableMessageBroker:t(\"services/MessageBroker/config/enabled\",true),enablePersistantAppstateWhenSharing:t(\"services/AppState/config/persistentWhenShared\",false),homePageTitle:t(\"ushell/header/title/home\",\"\"),windowTitleExtension:t(\"ushell/window/title/extension\",\"\"),useAppTitleFromNavTargetResolution:m(t(\"ushell/useAppTitleFromNavTargetResolution\")),intentNavigation:t(\"ushell/intentNavigation\",false),model:{enableSAPCopilotWindowDocking:undefined,personalization:undefined,contentDensity:undefined,setTheme:undefined,userDefaultParameters:undefined,disableHomeAppCache:undefined,enableHelp:undefined,enableTrackingActivity:undefined,searchAvailable:false,searchFiltering:true,searchTerm:\"\",isPhoneWidth:false,enableNotifications:t(\"services/NotificationsV2/config/enabled\",t(\"services/Notifications/config/enabled\",false)),enableNotificationsUI:false,notificationsCount:0,currentViewPortState:\"Center\",migrationConfig:undefined,shellAppTitleState:\"\",allMyAppsMasterLevel:undefined,userStatus:undefined,userStatusUserEnabled:true,shellAppTitleData:{currentViewInPopover:\"navigationMenu\",enabled:false,showGroupsApps:false,showCatalogsApps:false,showExternalProvidersApps:false},userImage:{personPlaceHolder:null,account:\"sap-icon://account\"},showRecentActivity:true}},state:{shellMode:t(\"renderers/fiori2/componentData/config/appState\",\"\")},home:{disableSortedLockedGroups:t(\"renderers/fiori2/componentData/config/applications/Shell-home/disableSortedLockedGroups\",false),draggedTileLinkPersonalizationSupported:true,editTitle:false,enableHomePageSettings:t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableHomePageSettings\",true),enableRenameLockedGroup:t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableRenameLockedGroup\",false),enableTileActionsIcon:t(\"renderers/fiori2/componentData/config/enableTileActionsIcon\",t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableTileActionsIcon\",false)),enableTransientMode:t(\"ushell/home/enableTransientMode\",false),featuredGroup:{enable:t(\"ushell/home/featuredGroup/enable\",false),frequentCard:t(\"ushell/home/featuredGroup/frequentCard\",true)&&t(\"ushell/home/featuredGroup/enable\",false),recentCard:t(\"ushell/home/featuredGroup/recentCard\",true)&&t(\"ushell/home/featuredGroup/enable\",false)},homePageGroupDisplay:t(\"renderers/fiori2/componentData/config/applications/Shell-home/homePageGroupDisplay\",\"scroll\"),isInDrag:false,optimizeTileLoadingThreshold:t(\"renderers/fiori2/componentData/config/applications/Shell-home/optimizeTileLoadingThreshold\",100),sizeBehavior:t(\"renderers/fiori2/componentData/config/sizeBehavior\",\"Responsive\"),sizeBehaviorConfigurable:t(\"renderers/fiori2/componentData/config/sizeBehaviorConfigurable\",false),wrappingType:t(\"ushell/home/tilesWrappingType\",\"Normal\"),segments:t(\"renderers/fiori2/componentData/config/applications/Shell-home/segments\",undefined),tileActionModeActive:false},catalog:{enabled:c()||t(\"renderers/fiori2/componentData/config/enableAppFinder\",false),appFinderDisplayMode:t(\"renderers/fiori2/componentData/config/applications/Shell-home/AppFinderDisplayMode\",t(\"renderers/fiori2/componentData/config/applications/Shell-home/appFinderDisplayMode\",undefined)),easyAccessNumbersOfLevels:t(\"renderers/fiori2/componentData/config/applications/Shell-home/easyAccessNumbersOfLevels\",undefined),enableCatalogSearch:t(\"renderers/fiori2/componentData/config/enableSearchFiltering\",t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableSearchFiltering\",t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableCatalogSearch\",true))),enableCatalogSelection:t(\"renderers/fiori2/componentData/config/enableCatalogSelection\",t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableCatalogSelection\",true)),enableCatalogTagFilter:t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableTagFiltering\",t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableCatalogTagFilter\",true)),enableEasyAccess:p,enableEasyAccessSAPMenu:p?f.enableEasyAccessSAPMenu:false,enableEasyAccessOnTablet:p?f.enableEasyAccessOnTablet:false,enableEasyAccessSAPMenuSearch:h(\"enableEasyAccessSAPMenu\"),enableEasyAccessUserMenu:p?f.enableEasyAccessUserMenu:false,enableEasyAccessUserMenuSearch:h(\"enableEasyAccessUserMenu\"),enableHideGroups:t(\"renderers/fiori2/componentData/config/enableHideGroups\",t(\"renderers/fiori2/componentData/config/applications/Shell-home/enableHideGroups\",true)),sapMenuServiceUrl:undefined,userMenuServiceUrl:t(\"renderers/fiori2/componentData/config/applications/Shell-home/userMenuServiceUrl\",undefined)},esearch:{defaultSearchScopeApps:t(\"renderers/fiori2/componentData/config/esearch/defaultSearchScopeApps\",false),searchBusinessObjects:t(\"renderers/fiori2/componentData/config/esearch/searchBusinessObjects\",true),searchScopeWithoutAll:t(\"renderers/fiori2/componentData/config/esearch/searchScopeWithoutAll\",false)},customPreload:{enabled:!n.isDebug()&&t(\"ushell/customPreload/enabled\",false),coreResourcesComplement:t(\"ushell/customPreload/coreResourcesComplement\",[])},ui5:{timeZoneFromServerInUI5:t(\"ui5/timeZoneFromServerInUI5\",false)},uiTracer:{enabled:t(\"services/UITracer/config/enabled\",false)}}};return P}function l(){return o}return{createConfigContract:i,getDefaultConfiguration:l}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.debug.mode\", [\"./common.constants\"],t=>{\"use strict\";let e;let u=/[?&]sap-ui-debug=(true|x|X)(&|$)/.test(window.location.search);if(!u){try{e=window.localStorage.getItem(t.uiDebugKey);u=!!e&&/^(true|x|X)$/.test(e)}catch(t){}}return{isDebug:function(){return u}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.load.bootstrapExtension\", [\"sap/base/util/ObjectPath\"],e=>{\"use strict\";function t(t){let i=e.get(\"bootstrap.extensionModule\",t);if(!i||typeof i!==\"string\"){return}i=i.replace(/\\./g,\"/\");sap.ui.require([i],e=>{if(e&&typeof e===\"function\"){e()}})}return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.load.core-min\", [\"./common.debug.mode\",\"./common.load.script\"],(o,e)=>{\"use strict\";const r={};r.load=function(r){if(typeof r!==\"object\"){throw new Error(\"Mandatory preload bundle configuration is not provided\")}if(o.isDebug()){sap.ui.require([\"sap/ui/core/Core\"],o=>{o.boot()})}if(r.enabled===false){throw new Error(\"Disabling the custom preload bundles is not yet supported\")}const i=r&&r.coreResources||[];i.forEach(o=>{e.loadScript(sap.ui.require.toUrl(o))})};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.load.launchpad\", [],()=>{\"use strict\";function e(e){sap.ui.require([\"sap/ushell/iconfonts\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/Container\"],(n,r,s)=>{s.createRendererInternal(null).then(n=>{n.placeAt(e||\"canvas\",\"only\")});n.registerFiori2IconFont()})}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.load.model\", [\"sap/base/i18n/Localization\",\"sap/base/util/extend\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\"],(e,n,t,i,s)=>{\"use strict\";let a;function o(){const o=s.last(\"/core\");let l={groups:[],rtl:e.getRTL(),personalization:o.shell.enablePersonalization,tagList:[],selectedTags:[],userPreferences:{entries:[]},enableHelp:o.extension.enableHelp,enableTileActionsIcon:t.system.desktop?o.home.enableTileActionsIcon:false};l=n({},o.catalog,o.home,l);a=new i(l);a.setSizeLimit(1e4)}function l(e){a.setProperty(\"/isPhoneWidth\",!e.matches)}function c(){const e=window.matchMedia(\"(min-width: 800px)\");if(e.addListener){e.addListener(l);l(e)}}return{getModel:function(){if(!a){o();c()}return a}}},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.load.script\", [],()=>{\"use strict\";function e(e,t,r,n){return new Promise((i,d)=>{function o(e){e.target.removeEventListener(\"load\",o);e.target.removeEventListener(\"error\",o);if(e.type===\"error\"){d()}i()}const s=document.createElement(\"script\");s.src=e;s.async=!!n;s.addEventListener(\"load\",o);s.addEventListener(\"error\",o);if(t){s.id=t}if(r){s.setAttribute(\"defer\",\"\")}document.head.appendChild(s)})}return{loadScript:e}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.override.registermodulepath\", [\"jquery.sap.global\",\"sap/ui/thirdparty/URI\"],(jQuery,t)=>{\"use strict\";function e(e){let n;let r;let i;function u(e){const n=new t(e);const r=n.path();if(n.is(\"absolute\")){return false}if(r&&r.charAt(0)===\"/\"){return false}return true}if(typeof e!==\"string\"||e===\"\"||u(e)){return e}const f=e.match(/(.*)(\\/~[\\w-]+~[A-Z0-9]?)(.*)/);if(f){n=f[1];r=f[2];i=f[3]}function o(e){return new t(e).normalizePathname().toString()}function s(e){const n=new t(e).segment();let r;let i=0;for(r=0;r<n.length&&i>=0;r+=1){if(n[r]===\"..\"){i=i-1}else{i=i+1}}return i<0}if(r){if(i&&s(i)){e=n+i}}return o(e)}function n(){(function(){const t=jQuery.sap.registerModulePath;jQuery.sap.registerModulePath=function(n,r){if(typeof r===\"object\"){r.url=e(r.url)}else if(typeof r===\"string\"){r=e(r)}t(n,r)}})()}return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.read.metatags\", [\"sap/base/Log\"],t=>{\"use strict\";function e(e,a){const o=`meta[name^='${e}']:not([name=''])`;const r=document.querySelectorAll(o);const s=\"sap/ushell/bootstrap/common/common.read.metatags\";const n=[];a=a||JSON.parse;Array.prototype.forEach.call(r,e=>{try{n.push(a(e.content))}catch(e){t.error(e.message,e.stack,s)}});return n}return{readMetaTags:e}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.read.ui5theme.from.config\", [\"sap/base/util/ObjectPath\"],e=>{\"use strict\";function t(t){const o=e.get(\"services.Container.adapter.config\",t);return{sDefaultTheme:e.get(\"userProfile.defaults.theme\",o),sPersonalizedTheme:e.get(\"userProfilePersonalization.theme\",o),oRangeTheme:e.get(\"userProfile.metadata.ranges.theme\",o)}}function o(e){const o=t(e);const n=o.sPersonalizedTheme;const s=o.oRangeTheme;const r=o.sDefaultTheme;if(o.oRangeTheme){if(Object.keys(s).indexOf(n)>-1){const e=s[n]||{};return{theme:n,root:e.themeRoot}}const e=s[r]||{};return{theme:r,root:e.themeRoot}}const a=n||r;return{theme:a,root:\"\"}}return o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.read.ushell.config.from.url\", [\"sap/base/Log\",\"sap/base/util/ObjectPath\"],(e,r)=>{\"use strict\";const n={\"renderers/fiori2/componentData/config/enablePersonalization\":[true],\"renderers/fiori2/componentData/config/sessionTimeoutReminderInMinutes\":[],\"renderers/fiori2/componentData/config/sessionTimeoutIntervalInMinutes\":[],\"renderers/fiori2/componentData/config/sessionTimeoutTileStopRefreshIntervalInMinutes\":[],\"renderers/fiori2/componentData/config/enableAutomaticSignout\":[false],\"services/Container/adapter/config/id\":[],\"services/Container/adapter/config/firstName\":[],\"services/Container/adapter/config/lastName\":[],\"services/Container/adapter/config/fullName\":[],\"services/Container/adapter/config/userProfile/defaults/id\":[],\"services/Container/adapter/config/userProfile/defaults/firstName\":[],\"services/Container/adapter/config/userProfile/defaults/lastName\":[],\"services/Container/adapter/config/userProfile/defaults/fullName\":[],\"services/NavTargetResolution/config/usageRecorder/serviceUrl\":[],\"services/NavTargetResolutionInternal/config/usageRecorder/serviceUrl\":[]};function t(e,r){let n=\"\";if(r.namespace){n=`${r.namespace}/`}n+=r.propertyName;const t=e[n];if(!t){return false}if(Array.isArray(t)){if(t.length===0){return true}for(let e=0;e<t.length;e++){if(t[e]===r.value){return true}}return false}throw new Error(`Block list entry \"${n}\" has an unknown type`)}function i(e){if(e===\"false\"){return false}if(e===\"true\"){return true}const r=Number.parseFloat(e);if(!Number.isNaN(r)){return r}return e}function a(a){const o={};const s=a.search.replaceAll(\"+\",\" \");const c=/[?&]sap-ushell-xx-overwrite-config=([^&]*)(&|$)/.exec(s);if(c===null){return{}}const l=decodeURIComponent(c[1]).split(/(?<!\\\\),/).map(e=>e.replaceAll(\"\\\\,\",\",\"));const f=l.reduce((r,a)=>{const o=a.split(/(?<!\\\\):/).map(e=>e.replaceAll(\"\\\\:\",\":\"));const s=/^\\/?(.*)\\/([^/]*)$/.exec(o[0]);if(s===null){e.warning(`Ignoring invalid parameter for \"sap-ushell-xx-overwrite-config\": \"${o[0]}\"`);return r}const c={namespace:s[1],propertyName:s[2],value:i(o[1])};if(t(n,c)){e.warning(`Ignoring restricted parameter for \"sap-ushell-xx-overwrite-config\": \"${o[0]}\"`);return r}r.push(c);return r},[]);f.forEach(e=>{const n=e.value;const t=e.namespace.replace(/\\//g,\".\");let i=r.get(t,o);if(i===undefined){r.set(t,{},o);i=r.get(t,o)}i[e.propertyName]=n});return o}return{getConfig:a.bind(null,window.location),_getConfigFromWindowLocation:a,_isBlockListed:t}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/common/common.util\", [\"sap/base/Log\",\"sap/base/util/ObjectPath\"],(e,t)=>{\"use strict\";const o=Object.getOwnPropertyNames(Object.prototype);function i(e){Object.keys(e).filter(t=>typeof e[t]===\"object\").forEach(t=>{e[t]=i(e[t])});return Object.freeze(e)}function s(){return`${location.protocol}//${location.host}`}function r(e){if(typeof e===\"string\"&&e.charAt(e.length-1)!==\"/\"){return`${e}/`}return e}function n(e,t,i){if(!t){return}const s=i?JSON.parse(JSON.stringify(t)):t;Object.keys(s).forEach(t=>{if(o.includes(t)){return}if(typeof e[t]===\"object\"&&typeof s[t]===\"object\"){n(e[t],s[t],false);return}e[t]=s[t]})}function a(t){const o=t||window.location.search;let i=/sap-statistics=(true|x|X)/.test(o);if(!i){try{i=window.localStorage.getItem(\"sap-ui-statistics\")===\"X\"}catch(t){e.warning(\"failed to read sap-statistics setting from local storage\",null,\"sap.ushell.bootstrap.common.common.util\")}}return!!i}function c(o){window[\"sap-ushell-config-migration\"]=true;[{from:\"services.Bookmark\",to:\"services.BookmarkV2\"},{from:\"services.CrossApplicationNavigation\",to:\"services.Navigation\"},{from:\"services.Notifications\",to:\"services.NotificationsV2\"},{from:\"services.Personalization\",to:\"services.PersonalizationV2\"},{from:\"services.LaunchPage\",to:\"services.FlpLaunchPage\"},{from:\"services.ShellNavigation\",to:\"services.ShellNavigationInternal\"},{from:\"services.NavTargetResolution\",to:\"services.NavTargetResolutionInternal\"}].forEach(i=>{const s=i.from.split(\".\")[1];const r=t.get(i.from,o);const n=t.get(i.to,o);if(r&&!n){e.warning(`The service config for ${i.from} is migrated to ${i.to}`,\"common.util\");const n={...r};if(n.module===`sap.ushell.services.${s}`){delete n.module}t.set(i.to,n,o)}})}function f(o){window[\"sap-ushell-config-migration\"]=true;const i={};[{from:\"services.Bookmark\",to:\"services.BookmarkV2\"},{from:\"services.CrossApplicationNavigation\",to:\"services.Navigation\"},{from:\"services.Notifications\",to:\"services.NotificationsV2\"},{from:\"services.Personalization\",to:\"services.PersonalizationV2\"},{from:\"services.LaunchPage\",to:\"services.FlpLaunchPage\"},{from:\"services.ShellNavigation\",to:\"services.ShellNavigationInternal\"},{from:\"services.NavTargetResolution\",to:\"services.NavTargetResolutionInternal\"}].forEach(s=>{const r=s.from.split(\".\")[1];const n=t.get(s.from,o);const a=t.get(s.to,o);if(n&&!a){e.warning(`The service config for ${s.from} is migrated to ${s.to}`,\"common.util\");const o={...n};if(o.module===`sap.ushell.services.${r}`){delete o.module}t.set(s.to,o,i)}});return JSON.parse(JSON.stringify(i))}return{deepFreeze:i,getLocationOrigin:s,ensureTrailingSlash:r,mergeConfig:n,isSapStatisticsSet:a,migrateV2ServiceConfig:c,getV2ServiceMigrationConfig:f}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/sandbox2/sandboxBootTask\", [\"sap/ushell/bootstrap/sandbox2/sandbox\"],s=>{\"use strict\";return{async run(){return s.bootstrap()}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/CatalogsManager\", [\"sap/ui/base/Object\",\"sap/ui/core/EventBus\",\"sap/ushell/ui/launchpad/TileStateInternal\",\"sap/ushell/EventHub\",\"sap/ushell/utils\",\"sap/ushell/components/DestroyHelper\",\"sap/ushell/components/GroupsHelper\",\"sap/ushell/components/MessagingHelper\",\"sap/ushell/components/HomepageManager\",\"sap/ushell/resources\",\"sap/ui/thirdparty/jquery\",\"sap/ui/performance/Measurement\",\"sap/base/Log\",\"sap/ushell/Config\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils\",\"sap/ushell/Container\"],(e,t,o,a,s,i,n,l,r,g,jQuery,c,u,h,d,p)=>{\"use strict\";let P;const T=e.extend(\"sap.ushell.components.CatalogsManager\",{metadata:{publicMethods:[\"createGroup\",\"createGroupAndSaveTile\",\"createTile\",\"deleteCatalogTileFromGroup\",\"notifyOnActionFailure\",\"resetAssociationOnFailure\"]},analyticsConstants:{PERSONALIZATION:\"FLP: Personalization\",RENAME_GROUP:\"FLP: Rename Group\",MOVE_GROUP:\"FLP: Move Group\",DELETE_GROUP:\"FLP: Delete Group\",RESET_GROUP:\"FLP: Reset Group\",DELETE_TILE:\"FLP: Delete Tile\",ADD_TILE:\"FLP: Add Tile\",MOVE_TILE:\"FLP: Move Tile\"},_aDoables:[],constructor:function(e,t){this.oLaunchPageServicePromise=p.getServiceAsync(\"FlpLaunchPage\").then(e=>{this.oLaunchPageService=e;return e});this.oTileCatalogToGroupsMap={};this.tagsPool=[];this.iInitialLoad=100;this.oModel=t.model;if(!h.last(\"/core/spaces/enabled\")){const e={model:this.oModel};this.oHomepageManager=r.prototype.getInstance();if(!this.oHomepageManager){this.oHomepageManager=new r(\"dashboardMgr\",e)}}P=this.getInterface();this.registerEvents()},registerEvents:function(){const e=t.getInstance();e.subscribe(\"renderCatalog\",this.loadAllCatalogs,this);this._aDoables=[];this._aDoables.push(a.on(\"showCatalog\").do(this.updateTilesAssociation.bind(this)));this._aDoables.push(a.on(\"updateGroups\").do(this.updateTilesAssociation.bind(this)))},unregisterEvents:function(){const e=t.getInstance();e.unsubscribe(\"renderCatalog\",this.loadAllCatalogs,this);this._aDoables.forEach(e=>{e.off()});this._aDoables=[]},getModel:function(){return this.oModel},loadAllCatalogs:function(){let e=new jQuery.Deferred;const t=this;e.resolve();function o(){e.done(()=>{const e=t.getModel().getProperty(\"/groups\");if(e&&e.length!==0){t.updateTilesAssociation()}})}if(!this.oModel.getProperty(\"/catalogs\")){if(!this.oModel.getProperty(\"/groups\")||this.oModel.getProperty(\"/groups\").length===0){if(!h.last(\"/core/spaces/enabled\")){e=this.oHomepageManager.loadPersonalizedGroups()}}i.destroyFLPAggregationModels(this.oModel.getProperty(\"/catalogs\"));i.destroyTileModels(this.oModel.getProperty(\"/catalogTiles\"));this.oModel.setProperty(\"/catalogs\",[]);this.oModel.setProperty(\"/catalogSearchEntity\",{appBoxes:[],customTiles:[]});this.aPromises=[];c.start(\"FLP:DashboardManager.GetCatalogsRequest\",\"GetCatalogsRequest\",\"FLP\");c.start(\"FLP:DashboardManager.getCatalogTiles\",\"getCatalogTiles\",\"FLP\");c.pause(\"FLP:DashboardManager.getCatalogTiles\");c.start(\"FLP:DashboardManager.BuildCatalogModelWithRendering\",\"BuildCatalogModelWithRendering\",\"FLP\");c.pause(\"FLP:DashboardManager.BuildCatalogModelWithRendering\");this.oLaunchPageServicePromise.then(e=>{e.getCatalogs().done(e=>{const t=e.slice(0,this.iInitialLoad);c.end(\"FLP:DashboardManager.GetCatalogsRequest\");this.aPromises=t.map(this.addCatalogToModel.bind(this));Promise.all(this.aPromises).then(this.processPendingCatalogs.bind(this)).then(()=>{this.aPromises=e.slice(this.iInitialLoad).map(this.addCatalogToModel.bind(this));Promise.all(this.aPromises).then(this.processPendingCatalogs.bind(this))}).then(this.onDoneLoadingCatalogs.bind(this,e)).then(o)}).fail(l.showLocalizedErrorHelper(\"fail_to_load_catalog_msg\"))})}else{o()}},updateTilesAssociation:function(){this.mapCatalogTilesToGroups();this.updateCatalogTilesToGroupsMap()},mapCatalogTilesToGroups:function(){const e=this;this.oTileCatalogToGroupsMap={};const t=this.oModel.getProperty(\"/groups\");t.forEach(t=>{[\"tiles\",\"links\"].forEach(o=>{const a=t[o];if(a){for(let o=0;o<a.length;++o){const s=encodeURIComponent(e.oLaunchPageService.getCatalogTileId(a[o].object));const i=e.oTileCatalogToGroupsMap[s]||[];const n=e.oLaunchPageService.getGroupId(t.object);if(i.indexOf(n)===-1&&(typeof t.isGroupVisible===\"undefined\"||t.isGroupVisible)&&!t.isGroupLocked){i.push(n)}e.oTileCatalogToGroupsMap[s]=i}}})})},updateCatalogTilesToGroupsMap:function(){let e;let t;let o;const a=this.getModel().getProperty(\"/catalogs\");if(a){for(let s=0;s<a.length;s++){const i=a[s].appBoxes;if(i){for(let a=0;a<i.length;a++){const s=i[a];e=encodeURIComponent(this.oLaunchPageService.getCatalogTileId(s.src));o=this.oTileCatalogToGroupsMap[e];t=o||[];s.associatedGroups=t}}const n=a[s].customTiles;if(n){for(let a=0;a<n.length;a++){const s=n[a];e=encodeURIComponent(this.oLaunchPageService.getCatalogTileId(s.src));o=this.oTileCatalogToGroupsMap[e];t=o||[];s.associatedGroups=t}}}}this.getModel().setProperty(\"/catalogs\",a)},addCatalogToModel:function(e){const t={title:this.oLaunchPageService.getCatalogTitle(e),id:this.oLaunchPageService.getCatalogId(e),numberTilesSupportedOnCurrectDevice:0,static:false,customTiles:[],appBoxes:[]};c.resume(\"FLP:DashboardManager.getCatalogTiles\");return new Promise((o,a)=>{this.oLaunchPageService.getCatalogTiles(e).done(e=>{c.pause(\"FLP:DashboardManager.getCatalogTiles\");o({oCatalogEntry:e,oCatalogModel:t})}).fail(e=>{l.showLocalizedErrorHelper(\"fail_to_load_catalog_tiles_msg\");a(e)})})},getTagList:function(e){const t={};const o=[];if(this.oModel.getProperty(\"/tagList\")&&this.oModel.getProperty(\"/tagList\").length>0){this.tagsPool.concat(this.oModel.getProperty(\"/tagList\"))}for(let e=0;e<this.tagsPool.length;e++){const o=this.tagsPool[e];if(t[o]){t[o]++}else{t[o]=1}}for(const e in t){o.push({tag:e,occ:t[e]})}const a=o.sort((e,t)=>t.occ-e.occ);if(e){this.oModel.setProperty(\"/tagList\",a.slice(0,e))}else{this.oModel.setProperty(\"/tagList\",a)}},processPendingCatalogs:function(e){const o=this.oModel.getProperty(\"/catalogs\");const i=t.getInstance();const n=this.oModel.getProperty(\"/masterCatalogs\")||[{title:l.getLocalizedText(\"all\")}];c.end(\"FLP:DashboardManager.getCatalogTiles\");c.resume(\"FLP:DashboardManager.BuildCatalogModelWithRendering\");const r=e.reduce((e,t)=>e.then(()=>{let e;let a;const s=t.oCatalogEntry;const i=t.oCatalogModel;const l=this.searchModelCatalogByTitle(i.title);if(l.result){a=this.oModel.getProperty(\"/catalogs\")[l.indexOfPreviousInstanceInModel];e=false}else{e=true;a=i}const r=s.map(e=>this._processCatalogObjectForModel(a,e));return Promise.all(r).then(()=>{if(a.appBoxes.length>0||a.customTiles.length>0){if(e){o.push(i);n.push({title:i.title})}}if(this.oModel.getProperty(\"/enableCatalogTagFilter\")===true){this.getTagList()}})}),Promise.resolve());return r.then(()=>{this.oModel.setProperty(\"/masterCatalogs\",n);this.oModel.setProperty(\"/catalogs\",o);i.publish(\"launchpad\",\"afterCatalogSegment\");setTimeout(()=>{s.setPerformanceMark(\"FLP-TTI-AppFinder\",{bUseUniqueMark:true});a.emit(\"firstCatalogSegmentCompleteLoaded\",true)},0);c.pause(\"FLP:DashboardManager.BuildCatalogModelWithRendering\")})},_processCatalogObjectForModel:function(e,t){if(this._getIsIntentSupported(t)){if(this._getIsAppBox(t)){return this.createCatalogAppBoxes(t,true).then(t=>{e.appBoxes.push(t)})}return this.createCatalogTiles(t).then(t=>{e.customTiles.push(t);if(!this.aFnToGetTileView){this.aFnToGetTileView=[]}})}return Promise.resolve()},searchModelCatalogByTitle:function(e){const t=this.oModel.getProperty(\"/catalogs\");let o=false;let a;let s=0;let i=false;let n;for(let l=0;l<t.length;++l){n=t[l];if(n.title===g.i18n.getText(\"catalogsLoading\")){i=true}else if(e===n.title){a=l;s=n.numberOfTiles;o=true;break}}return{result:o,indexOfPreviousInstanceInModel:a,indexOfPreviousInstanceInPage:i?a-1:a,numOfTilesInCatalog:s}},_getCatalogTileId:function(e){let t=this.oLaunchPageService.getStableCatalogTileId(e);if(!h.last(\"/core/spaces/enabled\")){t=null}if(!t){t=this.oLaunchPageService.getCatalogTileId(e)}return t},createCatalogAppBoxes:async function(e,t){const o=encodeURIComponent(this._getCatalogTileId(e));const a=this.oTileCatalogToGroupsMap[o]||[];const s=this.oLaunchPageService.getCatalogTileTags(e)||[];const i=this.oLaunchPageService.getCatalogTileContentProviderId(e);const n=await d.getContentProviderLabel(i)||i;if(s.length>0){this.tagsPool=this.tagsPool.concat(s)}let l;if(e.tileResolutionResult){l=e.tileResolutionResult.navigationMode}return{id:o,associatedGroups:a,src:e,title:this.oLaunchPageService.getCatalogTilePreviewTitle(e),subtitle:this.oLaunchPageService.getCatalogTilePreviewSubtitle(e),icon:this.oLaunchPageService.getCatalogTilePreviewIcon(e),keywords:t?(this.oLaunchPageService.getCatalogTileKeywords(e)||[]).join(\",\"):[],tags:s,navigationMode:l,url:this.oLaunchPageService.getCatalogTileTargetURL(e),contentProviderLabel:n}},onDoneLoadingCatalogs:function(e){const o=e.map(e=>new Promise((t,o)=>{this.oLaunchPageService.getCatalogTiles(e).done(t).fail(o)}));Promise.all(o).then(t=>{let o=true;for(let e=0;e<t.length;e++){if(t[e].length!==0){o=false;break}}if(o||!e.length){this.oModel.setProperty(\"/catalogsNoDataText\",g.i18n.getText(\"noCatalogs\"))}});const a=t.getInstance();a.publish(\"launchpad\",\"catalogContentLoaded\");const i=e.filter(e=>{const t=this.oLaunchPageService.getCatalogError(e);if(t){u.error(\"A catalog could not be loaded\",t,\"sap.ushell.components.CatalogsManager\")}return!t});if(i.length!==e.length){l.showLocalizedError(\"partialCatalogFail\")}s.handleTilesVisibility()},createCatalogTiles:async function(e){let t=Promise.resolve();const a=e.getChip&&e.getChip().getBaseChipId&&e.getChip().getBaseChipId();if(a&&[\"X-SAP-UI2-CHIP:/UI2/DYNAMIC_APPLAUNCHER\",\"X-SAP-UI2-CHIP:/UI2/STATIC_APPLAUNCHER\"].indexOf(a)===-1){t=new Promise((t,o)=>{this.oLaunchPageService.getCatalogTileViewControl(e).done(t).fail(o)})}return t.then(async t=>{const a=encodeURIComponent(this._getCatalogTileId(e));const s=this.oTileCatalogToGroupsMap[a]||[];const i=this.oLaunchPageService.getCatalogTileTags(e)||[];const n=this.oLaunchPageService.getCatalogTileContentProviderId(e);const l=await d.getContentProviderLabel(n);if(i.length>0){this.tagsPool=this.tagsPool.concat(i)}if(!t){t=new o({state:\"Loading\"})}let r=this.oLaunchPageService.getCatalogTilePreviewTitle(e);if(!r){r=this.oLaunchPageService.getCatalogTileTitle(e)}return{associatedGroups:s,src:e,catalog:e.title,catalogId:e.id,title:r,tags:i,keywords:(this.oLaunchPageService.getCatalogTileKeywords(e)||[]).join(\",\"),id:a,size:this.oLaunchPageService.getCatalogTileSize(e),content:[t],isTileIntentSupported:this.oLaunchPageService.isTileIntentSupported(e),tileType:e.tileType,contentProviderLabel:l}})},createGroupAndSaveTile:function(e){const o=e.catalogTileContext;const a=e.newGroupName;const i=new jQuery.Deferred;if(s.validHash(a)&&o){this.createGroup(a).then(e=>{const a=this.oHomepageManager.getDashboardView();if(a&&a.getModel().getProperty(\"/tileActionModeActive\")){t.getInstance().publish(\"launchpad\",\"AddTileContainerContent\")}let s={};this.createTile({catalogTileContext:o,groupContext:e}).done(e=>{s={group:e.group,status:1,action:\"addTileToNewGroup\"};i.resolve(s)}).fail(e=>{s={group:e.group,status:0,action:\"addTileToNewGroup\"};i.resolve(s)})})}return i.promise()},createGroup:function(e){const t=this;const o=new jQuery.Deferred;if(!s.validHash(e)){return o.reject({status:0,action:\"createNewGroup\"})}const a=this.oLaunchPageService.addGroup(e);a.done(e=>{const a=t.oHomepageManager.addGroupToModel(e);o.resolve(a)});a.fail(()=>{l.showLocalizedError(\"fail_to_create_group_msg\");const e={status:0,action:\"createNewGroup\"};o.resolve(e)});return o.promise()},createTile:function(e){const o=this;const a=e.catalogTileContext;const s=e.groupContext;const i=this.oModel.getProperty(s.getPath());const r=i.groupId;const g=new jQuery.Deferred;let c={};const h=t.getInstance();h.publish(\"launchpad\",\"addTile\",{catalogTileContext:a,groupContext:s});if(!a){u.warning(\"CatalogsManager: Did not receive catalog tile object. Abort.\",this);c={group:i,status:0,action:\"add\"};return Promise.resolve(c)}const d=this.oLaunchPageService.addTile(a.getProperty(\"src\"),s.getProperty(\"object\"));d.done(e=>{const t=o.oModel.getProperty(\"/groups\");const a=n.getModelPathOfGroup(t,r);o.oHomepageManager.addTileToGroup(a,e);c={group:i,status:1,action:\"add\"};g.resolve(c)}).fail(()=>{l.showLocalizedError(\"fail_to_add_tile_msg\");c={group:i,status:0,action:\"add\"};g.resolve(c)});return g.promise()},deleteCatalogTileFromGroup:function(e){const t=this;const o=decodeURIComponent(e.tileId);const a=e.groupIndex;const s=this.oModel.getProperty(`/groups/${a}`);const i=new jQuery.Deferred;const n=[];const l=[];[\"tiles\",\"links\"].forEach(e=>{s[e].forEach(e=>{const a=t.oLaunchPageService.getCatalogTileId(e.object);if(a===o){const o=new jQuery.Deferred;const a=t.oLaunchPageService.removeTile(s.object,e.object);a.done(function(t){return function(){l.push(e.uuid);t.resolve({status:true})}}(o));a.fail(function(e){return function(){e.resolve({status:false})}}(o));n.push(o)}})});jQuery.when.apply(jQuery,n).done(e=>{const o=n.length===l.length;t.oHomepageManager.deleteTilesFromGroup(s.groupId,l);t.updateTilesAssociation();i.resolve({group:s,status:o,action:\"remove\"})});return i.promise()},calculateCatalogTileIndex:function(e,t,o){let a=parseInt(e*1e5,10);a+=(t!==undefined?t:0)+o;return a},notifyOnActionFailure:function(e,t){l.showLocalizedError(e,t)},resetAssociationOnFailure:function(e,t){this.notifyOnActionFailure(e,t);this.updateTilesAssociation()},_getIsIntentSupported:function(e){return!!this.oLaunchPageService.isTileIntentSupported(e)},_getIsAppBox:function(e){let t;const o=this.oModel.getProperty(\"/appFinderDisplayMode\")||\"appBoxes\";if(o.toLowerCase()===\"tiles\"){t=false}else{t=!!(this.oLaunchPageService.getCatalogTileTargetURL(e)&&(this.oLaunchPageService.getCatalogTilePreviewTitle(e)||this.oLaunchPageService.getCatalogTilePreviewSubtitle(e)))}return t},destroy:function(){this.unregisterEvents()}});T.prototype.getInstance=function(){return P};return T});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/ComponentKeysHandler\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Element\",\"sap/ui/core/EventBus\",\"sap/ushell/Config\",\"sap/ui/events/KeyCodes\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/ushell/renderer/AccessKeysHandler\",\"sap/ushell/bootstrap/common/common.load.model\",\"sap/ushell/ui/launchpad/Tile\",\"sap/ushell/Container\"],(e,t,n,s,i,jQuery,o,l,r,a,c)=>{\"use strict\";function h(){}h._instance=undefined;h.getInstance=function(){if(h._instance===undefined){h._instance=new h;return h._instance._init().then(()=>h._instance)}return Promise.resolve(h._instance)};h.prototype={keyCodes:i,_init:function(){this.oModel=r.getModel();if(c.getLogonSystem().getPlatform()===\"cdm\"){return Promise.resolve()}if(!this.oLaunchPageService){return c.getServiceAsync(\"FlpLaunchPage\").then(e=>{this.oLaunchPageService=e})}return Promise.resolve()},goToLastVisitedTile:function(e,t){let n;let s;const i=jQuery(\".sapUshellTile, .sapMGTLineMode, .sapFCard\");if(t){const t=jQuery(\"#dashboardGroups\").find(\".sapUshellTileContainer\").filter(\":visible\");const o=this.oModel.getProperty(\"/topGroupInViewPortIndex\");const l=e||jQuery(t.get(o));const r=l.find(\".sapUshellTile, .sapMGTLineMode, .sapFCard\");n=r.filter(\":visible\").eq(0);s=r.filter(\"[tabindex=0]:visible\").eq(0);if(!n.length){n=i.filter(\":visible\").eq(0)}}else{n=i.filter(\":visible\").eq(0);s=i.filter(\"[tabindex=0]:visible\").eq(0)}if(s.length){this.moveScrollDashboard(s)}else if(n.length){n.attr(\"tabindex\",\"0\");this.moveScrollDashboard(n)}else{l.sendFocusBackToShell()}},_goToFirstTileOfNextGroup:function(e,t){this._preventDefault(t);const n=this._getGroupAndTilesInfo();if(n){const t=this._getNextGroup(e,n.oGroup,false,true);if(t){this._goToTileOfGroup(\"first\",t)}}},_goToTileOfGroup:function(e,t){if(t){let n=t.getTiles().filter(this._filterInvisibleTiles);const s=t.getLinks().filter(this._filterInvisibleTiles);if(t.getShowPlaceholder()){n.push(t.oPlusTile)}n=n.concat(s);e=e===\"first\"?0:e;e=e===\"last\"?n.length-1:e;const i=n[e];if(i){this.moveScrollDashboard(i.$());return true}}return false},_moveTile:function(e){const s=this._getGroupAndTilesInfo();if(!s||s.oGroup.getProperty(\"isGroupLocked\")||s.oCurTile.isA(\"sap.ushell.ui.launchpad.PlusTile\")){return}const i=s.oCurTile;const o=this._getNextTile(e,true);if(o){const s=i.getMode?i.getMode():\"ContentMode\";const l=o.getMode?o.getMode():\"ContentMode\";const r=i.getParent();const a=o.getParent();const c=r===a;const h=s===l;const u=l===\"LineMode\"?a.getLinks():a.getTiles();let f=u.indexOf(o);const d=this._getTileRect(e,i);const p=this._getTileRect(e,o);if(!p){f=0}else{const t=d.right>p.right+5;const n=f===u.length-1;if(!c||!h){if((e===\"up\"||e===\"down\")&&t&&n){f++}else if(e===\"left\"){f++}}}const g=t.getElementById(\"sapUshellDashboardPage\").getParent();n.getInstance().publish(\"launchpad\",h?\"movetile\":\"convertTile\",{callBack:this.callbackSetFocus.bind(this),sTileId:g.getController()._getTileUuid(i),toGroupId:a.getGroupId?a.getGroupId():a.groupId,srcGroupId:r.getGroupId?r.getGroupId():r.groupId,toIndex:f,tile:i,sToItems:l===\"LineMode\"?\"links\":\"tiles\",sFromItems:s===\"LineMode\"?\"links\":\"tiles\",sTileType:s===\"LineMode\"?\"link\":\"tile\",longDrop:false})}},callbackSetFocus:function(e){setTimeout(()=>{if(e.oParent&&e.oParent instanceof a){this.moveScrollDashboard(jQuery(e.oParent.getDomRef()))}else{this.moveScrollDashboard(e.$())}},0)},_getTileCenter:function(e,t,n){if(!(n instanceof HTMLElement)){const s=n.$().find(\".sapMGTLineStyleHelper\");if(n.isLink&&s&&s.length>1){if(e===\"down\"){return t.right}return t.left}}return t.right-(t.right-t.left)/2},_getTileRect:function(e,t){if(t instanceof HTMLElement){return t.getBoundingClientRect()}const n=t.$().find(\".sapMGTLineStyleHelper\");if(t.isLink&&n&&n.length){if(e===\"down\"){return n.get(n.length-1).getBoundingClientRect()}return n.get(0).getBoundingClientRect()}if(t.getDomRef()){return t.getDomRef().getBoundingClientRect()}return undefined},_findClosestTile:function(e,t,n){const s=this._getTileRect(e,n);const i=this._getTileCenter(e,s,n);let o;let l=Infinity;const r=e===\"down\"?1:-1;let a=t.indexOf(n)+r;let c;for(;;a+=r){const n=t[a];if(!n){return o}if(!o){if(e===\"down\"&&a===t.length-1){return n}if(e===\"up\"&&a===0){return n}}const r=this._getTileRect(e,n);if(!r){return o}if(e===\"down\"&&s.bottom+5>=r.bottom){continue}if(e===\"up\"&&s.top-5<=r.top){continue}if(o&&c!==r.top){return o}c=r.top;const h=Math.min(Math.abs(r.left-i),Math.abs(r.right-i));if(l>h){l=h;o=n}else{return o}}},_filterInvisibleTiles:function(e){return e.getVisible()&&e.getDomRef()},_getNextTile:function(e,t){const n=this._getGroupAndTilesInfo();if(!n){return null}const s=n.oCurTile;const i=n.oGroup;let o=i.getTiles().filter(this._filterInvisibleTiles);const l=i.getLinks().filter(this._filterInvisibleTiles);const r=s.isLink;const a=i.getShowPlaceholder();const c=s.getBindingContext();const h=!t||c&&this._isLinkPersonalizationSupported(c.getObject().object);const u=r?l:o;const f=u.indexOf(s);if(f<0){if(e===\"right\"){if(l.length){return l[0]}}if(e===\"left\"){if(o.length){return o[o.length-1]}}}else{if(e===\"right\"){if(f<u.length-1){return u[f+1]}if(!r&&a&&!t){return i.oPlusTile}if(!r&&h&&l.length){return l[0]}}if(e===\"left\"){if(f>0){return u[f-1]}if(r&&a){return i.oPlusTile}if(r&&o.length){return o[o.length-1]}}}const d=this._getNextGroup(e,i,t,h);let p=d?d.getTiles().filter(this._filterInvisibleTiles):[];const g=d?d.getLinks().filter(this._filterInvisibleTiles):[];const T=d&&d.getShowPlaceholder();if(d){if(e===\"right\"){if(p.length){return p[0]}if(T){return d.oPlusTile}if(g.length){return g[0]}return d.oPlusTile}if(e===\"left\"){if(h&&g.length){return g[g.length-1]}if(T&&!t){return d.oPlusTile}if(p.length){return p[p.length-1]}return d.oPlusTile}}if(e===\"up\"||e===\"down\"){if(!o.length&&t){o=[i.oPlusTile]}const n=h?o.concat(l):o;let r=[];if(d){if(!p.length&&t){p=[d.oPlusTile]}r=h?p.concat(g):p}const a=e===\"up\"?r.concat(n):n.concat(r);return this._findClosestTile(e,a,s)}},_isLinkPersonalizationSupported:function(e){return!this.oLaunchPageService||this.oLaunchPageService.isLinkPersonalizationSupported(e)},_getNextGroup:function(e,t,n,s){let i;const o=t.getParent().getGroups();const l=o.indexOf(t);let r=l;if(e===\"down\"||e===\"right\"){i=1}else{i=-1}r+=i;while(o[r]){const e=o[r];const t=e.getTiles().filter(this._filterInvisibleTiles);const l=e.getLinks().filter(this._filterInvisibleTiles);const a=s?t.concat(l):t;const c=e.getVisible()&&!(e.getIsGroupLocked()&&n)&&!(e.getIsGroupLocked()&&a.length===0)&&!(a.length===0&&!(n||e.getShowPlaceholder()));if(c){return e}r+=i}return undefined},_getGroupAndTilesInfo:function(){const e=this._getFocusOnTile(jQuery(document.activeElement));if(!e||!e.length){return null}const n=t.closestTo(e[0]);n.isLink=e.hasClass(\"sapUshellLinkTile\")||e.hasClass(\"sapMGTLineMode\");const s=t.closestTo(e.closest(\".sapUshellTileContainer\")[0]);if(!s){return null}return{oCurTile:n,oGroup:s}},_goToSiblingElementInTileContainer:function(e,t){const n=t.closest(\".sapUshellTileContainer\");let s;let i;let o;s=t.closest(\".sapUshellTileContainerBeforeContent\");if(s.length){if(e===\"up\"||e===\"left\"){this._goToNextTileContainer(s,e)}else{o=n.find(\".sapUshellTileContainerHeader\").eq(0);o.focus()}return}s=t.closest(\".sapUshellTileContainerHeader\");if(s.length){if(e===\"up\"){if(!this._goToTileContainerBeforeContent(n)){this._goToNextTileContainer(s,e)}}else if(e===\"down\"){i=n.find(\".sapUshellTile, .sapUshellLinkTile, .sapFCard\").eq(0);if(i.length){this.moveScrollDashboard(i)}else{this._goToNextTileContainer(s,e)}}else if(e===\"left\"){if(t.hasClass(\"sapUshellTileContainerHeader\")){if(!this._goToTileContainerBeforeContent(n)){this._goToNextTileContainer(s,\"left\")}}else{o=t.closest(\".sapUshellTileContainerHeader\");o.focus()}}else if(e===\"right\"){const e=t.hasClass(\"sapMInputBaseInner\");if(!e){i=n.find(\".sapUshellTile, .sapUshellLinkTile, .sapFCard\").eq(0);if(i.length){this.moveScrollDashboard(i)}else{this._goToNextTileContainer(s,\"down\")}}}return}s=this._getFocusOnTile(t);if(s){this._goFromFocusedTile(e,s,true);return}s=t.closest(\".sapUshellTileContainerAfterContent\");if(s.length){if(e===\"up\"||e===\"left\"){this._goToTileOfGroup(\"first\",s.control(0))}else{this._goToNextTileContainer(s,e)}}},_goToNextTileContainer:function(e,n){const s=e.closest(\".sapUshellTileContainer\");if(s.length===1){const e=jQuery(\".sapUshellTileContainer\").filter(\":visible\");const i=n===\"down\"?1:-1;const o=jQuery(e[e.index(s)+i]);if(o.length===1){const e=o.find(\".sapUshellTileContainerHeader\");if(n===\"down\"){if(!this._goToTileContainerBeforeContent(o)){this._setTileContainerSelectiveFocus(o)}}else if(!this._goToTileContainerAfterContent(o)){if(n===\"up\"||n===\"left\"){const s=n===\"up\"?\"first\":\"last\";if(!this._goToTileOfGroup(s,t.closestTo(o[0]))){e.focus()}}}}}},_goToTileContainerBeforeContent:function(e){const t=e.hasClass(\"sapUshellTileContainer\")?e:e.closest(\".sapUshellTileContainer\");const n=t.find(\".sapUshellTileContainerBeforeContent button\").filter(\":visible\");if(n.length){n.focus();return true}return false},_goToTileContainerAfterContent:function(e){const t=e.hasClass(\"sapUshellTileContainer\")?e:e.closest(\".sapUshellTileContainer\");const n=t.find(\".sapUshellTileContainerAfterContent button\").filter(\":visible\");if(n.length){n.focus();return true}return false},_goFromFocusedTile:function(e,t,n){const s=this._getNextTile(e);const i=t.closest(\".sapUshellTileContainer\");if(s){const t=s.$();const o=t.closest(\".sapUshellTileContainer\");if(n&&i.get(0).id!==o.get(0).id){if(e===\"down\"||e===\"right\"){if(!this._goToTileContainerAfterContent(i)){this._setTileContainerSelectiveFocus(o)}}else if(e===\"up\"||e===\"left\"){const e=i.find(\".sapUshellTileContainerHeader\");e.focus()}}else{this.moveScrollDashboard(t)}}else if(n){if(e===\"down\"||e===\"right\"){this._goToTileContainerAfterContent(i)}else if(e===\"up\"||e===\"left\"){const e=i.find(\".sapUshellTileContainerHeader\");e.focus()}}},_setTileContainerSelectiveFocus:function(e){const t=jQuery(\"#dashboardGroups\").find(\".sapUshellTileContainer\").filter(\":visible\");const n=e.find(\".sapUshellTileContainerBeforeContent button\");const s=e.find(\".sapUshellTileContainerHeader\").eq(0);const i=n.length&&n.is(\":visible\");if(i){n.focus()}else if(e.get(0)===t.get(0)){this.goToLastVisitedTile()}else if(s.length){s.focus()}},_setTileFocus:function(e){const s=document.getElementById(\"catalogView\");if(s&&s.contains(e)){this.setFocusOnCatalogTile(e);return}const i=document.getElementById(\"dashboardGroups\");const o=i.querySelectorAll(\".sapUshellTile[tabindex]\");for(let e=0;e<o.length;++e){o[e].removeAttribute(\"tabindex\")}const l=[\".sapMGTLineMode\",\".sapMGT\",\".sapFCard\"].join('[tabindex=\"0\"], ');const r=i.querySelectorAll(l);for(let e=0;e<r.length;++e){r[e].setAttribute(\"tabindex\",\"-1\")}e.setAttribute(\"tabindex\",0);const a=t.getElementById(e.getAttribute(\"id\"));if(a){const e=a.getParent();if(e){const t=n.getInstance();t.publish(\"launchpad\",\"scrollToGroup\",{group:e})}a.focus()}},setFocusOnCatalogTile:function(e){const t=jQuery(\".sapUshellTile[tabindex=0]\");let n;let s;if(t.length){jQuery(\".sapUshellTileContainerContent [tabindex=0]\").get().forEach(e=>{jQuery(e).attr(\"tabindex\",-1)});n=t.find(\"[tabindex], a\").addBack().filter(\"[tabindex], a\");n.attr(\"tabindex\",-1)}if(!e){s=jQuery(\".sapUshellTile, .sapUshellAppBox\").filter(\":visible\");if(s.length){e=s[0]}else{const e=document.getElementsByClassName(\"sapMMessagePageMainText\");if(e.length){e[0].focus()}return}}e.setAttribute(\"tabindex\",0);jQuery(e).find(\"button\").attr(\"tabindex\",0);e.focus()},moveScrollDashboard:function(e){if(e.length){this._setTileFocus(e[0])}},_moveGroupFromDashboard:function(e,t){const n=jQuery(\".sapUshellDashboardGroupsContainerItem\");const s=t.closest(\".sapUshellDashboardGroupsContainerItem\");const i=n.index(s);const o=e===\"up\"||e===\"left\"?i-1:i+1;this._moveGroup(i,o)},_moveGroup:function(e,t){if(t<0||t>=jQuery(\".sapUshellDashboardGroupsContainerItem\").length||t<jQuery(\".sapUshellDisableDragAndDrop\").length){return}n.getInstance().publish(\"launchpad\",\"moveGroup\",{fromIndex:e,toIndex:t});setTimeout(()=>{const e=jQuery(\".sapUshellTileContainerHeader\")[t];jQuery(e).focus()},100)},_getFocusOnTile:function(e){let t;[\".sapUshellTile\",\".sapUshellLinkTile\",\".sapFCard\"].forEach(n=>{const s=e.closest(n);if(s.length){t=s}});return t},_renameGroup:function(e){if(e.closest(\".sapUshellTileContainerHeader\").length===1){e=e[0].tagName===\"H2\"?e:e.find(\"h2\");e.click()}},_arrowsButtonsHandler:function(e,t,n){this._preventDefault(t);if(n.hasClass(\"sapUshellAnchorItem\")){this._handleAnchorNavigationItemsArrowKeys(e,n);return}if(n.is(\"#sapUshellAnchorBarOverflowButton\")){this._handleAnchorNavigationOverflowButtonArrowKeys(e);return}const s=this._getFocusOnTile(n);const i=this.oModel.getProperty(\"/tileActionModeActive\");const o=this.oModel.getProperty(\"/personalization\");if(t.ctrlKey===true&&o){const t=n.closest(\".sapUshellTileContainerHeader\");if(s){this._moveTile(e)}else if(t.length){const n=t.closest(\".sapUshellTileContainerContent\");if(!n.hasClass(\"sapUshellTileContainerDefault\")||!n.hasClass(\"sapUshellTileContainerLocked\")){this._moveGroupFromDashboard(e,t)}}}else if(i){this._goToSiblingElementInTileContainer(e,n)}else if(s){this._goFromFocusedTile(e,s,i)}else{this.goToLastVisitedTile()}},_handleAnchorNavigationOverflowButtonArrowKeys:function(e){if(e===\"left\"||e===\"up\"){const e=jQuery(\".sapUshellAnchorItem\").filter(\":visible\");this._setAnchorItemFocus(e.eq(e.length-1)[0])}},_handleAnchorNavigationItemsArrowKeys:function(e,t){const n=jQuery(\".sapUshellAnchorItem\").filter(\":visible\");const s=n.index(t);if(e===\"left\"||e===\"up\"){if(s>0){this._setAnchorItemFocus(n.eq(s-1)[0]);return}}if(e===\"right\"||e===\"down\"){if( Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/AppState\", [\"sap/ushell/services/AppState\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/services/appstate/AppState\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\"],(e,t,s,jQuery,p)=>{\"use strict\";function a(a,n,i,r){e.call(this,a,n,i,r);this.createEmptyAppStateOrig=this.createEmptyAppState;this.createEmptyAppState=function(e,t,s,a){if(p.getIsScube()){t=false}const n=this.createEmptyAppStateOrig(e,t,s,a);if(typeof t===\"boolean\"&&n._bTransient!==t){n._bTransient=t;n._sKey=this._getGeneratedKey(t)}return n};this.getAppState=function(e){const p=this;const a=new jQuery.Deferred;t.postMessageToFLP(\"sap.ushell.services.AppState.getAppState\",{sKey:e}).then(e=>{const t=new s(p,e._sKey,e._bModifiable,e._sData,e._sAppName,e._sACHComponent,e._bTransient,e._iPersistencyMethod,e._oPersistencySettings);a.resolve(t)});return a.promise()};this._saveAppState=function(e,s,p,a,n,i,r){return t.sendMessageToOuterShell(\"sap.ushell.services.AppState._saveAppState\",{sKey:e,sData:s,sAppName:p,sComponent:a,bTransient:n,iPersistencyMethod:i,oPersistencySettings:r})};e.prototype.deleteAppState=function(e){return t.sendMessageToOuterShell(\"sap.ushell.services.AppState.deleteAppState\",{sKey:e})};this.getAppStateData=function(e){return t.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.getAppStateData\",{sAppStateKey:e})};this.createNewInAppState=function(e){return t.sendMessageToOuterShell(\"sap.ushell.services.AppState.createNewInAppState\",{sData:e})};this.updateInAppStateData=function(e){return t.sendMessageToOuterShell(\"sap.ushell.services.AppState.updateInAppState\",{sData:e})};this.getInAppStateData=function(){return t.sendMessageToOuterShell(\"sap.ushell.services.AppState.getInAppStateData\")};this.makeStatePersistent=function(e,s,p){return t.sendMessageToOuterShell(\"sap.ushell.services.AppState.makeStatePersistent\",{sKey:e,iPersistencyMethod:s,oPersistencySettings:p})}}a.prototype=e.prototype;a.hasNoAdapter=e.hasNoAdapter;a.WindowAdapter=e.WindowAdapter;return a},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/Bookmark\", [\"sap/ui/thirdparty/jquery\",\"sap/ushell/services/Bookmark\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\"],(jQuery,e,s,o)=>{\"use strict\";function t(t,r,a){e.call(this,t,r,a);this.addBookmark=function(e,t){const r=new jQuery.Deferred;function a(){return s.sendMessageToOuterShell(\"sap.ushell.services.Bookmark.addBookmarkUI5\",{oParameters:e,vContainer:t})}if(e.url.startsWith(\"#\")){o.checkIntentsConversionForScube([{intent:e.url}]).then(s=>{e.url=s[0].intent;a().then(r.resolve,r.reject)})}else{a().then(r.resolve,r.reject)}return r.promise()};this.getShellGroupIDs=function(){return s.sendMessageToOuterShell(\"sap.ushell.services.Bookmark.getShellGroupIDs\")};this.addBookmarkByGroupId=function(e,o){return s.sendMessageToOuterShell(\"sap.ushell.services.Bookmark.addBookmark\",{oParameters:e,groupId:o})};this.addCatalogTileToGroup=function(e,o,t){return s.sendMessageToOuterShell(\"sap.ushell.services.Bookmark.addCatalogTileToGroup\",{sCatalogTileId:e,sGroupId:o,oCatalogData:t})};this.countBookmarks=function(e){return s.sendMessageToOuterShell(\"sap.ushell.services.Bookmark.countBookmarks\",{sUrl:e})};this.deleteBookmarks=function(e){return s.sendMessageToOuterShell(\"sap.ushell.services.Bookmark.deleteBookmarks\",{sUrl:e})};this.updateBookmarks=function(e,o){return s.sendMessageToOuterShell(\"sap.ushell.services.Bookmark.updateBookmarks\",{sUrl:e,oParameters:o})};this.getContentNodes=function(){return s.postMessageToFLP(\"sap.ushell.services.Bookmark.getContentNodes\")};this.addCustomBookmark=function(e,o,t){return s.postMessageToFLP(\"sap.ushell.services.Bookmark.addCustomBookmark\",{sVizType:e,oConfig:o,vContentNodes:t})};this.countCustomBookmarks=function(e){return s.postMessageToFLP(\"sap.ushell.services.Bookmark.countCustomBookmarks\",{oIdentifier:e})};this.updateCustomBookmarks=function(e,o){return s.postMessageToFLP(\"sap.ushell.services.Bookmark.updateCustomBookmarks\",{oIdentifier:e,oConfig:o})};this.deleteCustomBookmarks=function(e){return s.postMessageToFLP(\"sap.ushell.services.Bookmark.deleteCustomBookmarks\",{oIdentifier:e})};this.addBookmarkToPage=function(e,o){return s.postMessageToFLP(\"sap.ushell.services.Bookmark.addBookmarkToPage\",{oParameters:e,sPageId:o})}}t.prototype=e.prototype;t.hasNoAdapter=e.hasNoAdapter;return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/BookmarkV2\", [\"sap/ushell/services/BookmarkV2\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\"],(e,o,s)=>{\"use strict\";function t(t,r,a){e.call(this,t,r,a);this.addBookmark=function(e,t){function r(){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.addBookmarkUI5\",{oParameters:e,vContainer:t})}return new Promise((o,t)=>{if(e.url.startsWith(\"#\")){s.checkIntentsConversionForScube([{intent:e.url}]).then(s=>{e.url=s[0].intent;r().then(o).catch(t)}).catch(t)}else{r().then(o).catch(t)}})};this.getShellGroupIDs=function(){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.getShellGroupIDs\")};this.addBookmarkByGroupId=function(e,s){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.addBookmark\",{oParameters:e,groupId:s})};this.countBookmarks=function(e){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.countBookmarks\",{sUrl:e})};this.deleteBookmarks=function(e){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.deleteBookmarks\",{sUrl:e})};this.updateBookmarks=function(e,s){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.updateBookmarks\",{sUrl:e,oParameters:s})};this.getContentNodes=function(){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.getContentNodes\")};this.addCustomBookmark=function(e,s,t){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.addCustomBookmark\",{sVizType:e,oConfig:s,vContentNodes:t})};this.countCustomBookmarks=function(e){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.countCustomBookmarks\",{oIdentifier:e})};this.updateCustomBookmarks=function(e,s){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.updateCustomBookmarks\",{oIdentifier:e,oConfig:s})};this.deleteCustomBookmarks=function(e){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.deleteCustomBookmarks\",{oIdentifier:e})};this.addBookmarkToPage=function(e,s){return o.postMessageToFLP(\"sap.ushell.services.BookmarkV2.addBookmarkToPage\",{oParameters:e,sPageId:s})}}t.prototype=e.prototype;t.hasNoAdapter=e.hasNoAdapter;return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/CommonDataModel\", [\"sap/ushell/services/CommonDataModel\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\"],(e,s)=>{\"use strict\";function t(t,a,o,p){e.call(this,t,a,o,p);this.getAllPages=function(){return s.postMessageToFLP(\"sap.ushell.services.CommonDataModel.getAllPages\")}}t.prototype=e.prototype;t.hasNoAdapter=e.hasNoAdapter;return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/Container\", [\"sap/ushell/Container\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/base/assert\"],function(t,e,n){\"use strict\";let r;let i;let u;let o=false;let s=[];let a=[];let l=[];let c=false;t.inAppRuntime=function(){return true};t.runningInIframe=this.inAppRuntime;t.getFLPUrl=function(t){return e.sendMessageToOuterShell(\"sap.ushell.services.Container.getFLPUrl\",{bIncludeHash:t})};t.getFLPUrlAsync=function(t){return this.getFLPUrl(t)};t.getRenderer=function(){return u};t.getRendererInternal=function(){return u};t.logout=function(){return r.logout()};t.getFLPPlatform=function(){return e.sendMessageToOuterShell(\"sap.ushell.services.Container.getFLPPlatform\")};t.extendSession=function(){i?.userActivityHandler()};t.setDirtyFlag=function(t){o=t};t.getDirtyFlag=function(){return o||this.handleDirtyStateProvider()};t.registerDirtyStateProvider=function(t){if(typeof t!==\"function\"){throw new Error(\"fnDirty must be a function\")}s.push(t)};t.handleDirtyStateProvider=function(t){let e=false;if(s.length>0){const n=t||this._oShellNavigationInternal.getNavigationContext();for(let t=0;t<s.length&&e===false;t++){e=e||(s[t](n)||false)}}return e};t.deregisterDirtyStateProvider=function(t){if(typeof t!==\"function\"){throw new Error(\"fnDirty must be a function\")}let e=-1;for(let n=s.length-1;n>=0;n--){if(s[n]===t){e=n;break}}if(e>=0){s.splice(e,1)}};t.cleanDirtyStateProviderArray=function(){s=[];o=false};this.setAsyncDirtyStateProvider=function(){};t.getAsyncDirtyStateProviders=function(){return s};t.setAsyncDirtyStateProviders=function(t){s=t};function f(t,e){let n=false;for(let r=0;r<t.length;r++){if(t[r]===e){n=true;break}}if(!n){t.push(e)}}t.attachLogoutEvent=function(t,r){n(typeof t===\"function\",\"Container.attachLogoutEvent: fnFunction must be a function\");if(r===true){f(a,t)}else{f(l,t)}if(!c){c=true;e.postMessageToFLP(\"sap.ushell.services.Container.attachLogoutEvent\",{})}};t._getAsyncFunctionsArray=function(){return a};t._getSyncFunctionsArray=function(){return a};t.executeAsyncAndSyncLogoutFunctions=function(){return new Promise((t,e)=>{const n=[];if(l.length>0){for(let t=0;t<l.length;t++){l[t]()}}if(a.length>0){for(let t=0;t<a.length;t++){n.push(a[t]())}}Promise.all(n).then(t)})};function g(t,e){for(let n=0;n<t.length;n++){if(t[n]===e){t.splice(n,1);break}}}t.detachLogoutEvent=function(t){g(l,t);g(a,t)};t._getAsyncFunctionsArray=function(){return a};t._getSyncFunctionsArray=function(){return l};t._clearAsyncFunctionsArray=function(){a=[]};t._clearSyncFunctionsArray=function(){l=[]};const h=t.init.bind(t);t.init=function(e,n){return new Promise(o=>{sap.ui.require([\"sap/ushell/appRuntime/ui5/SessionHandlerAgent\",\"sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer\",\"sap/ushell/appRuntime/ui5/ui/UIProxy\"],(s,a)=>{i=s;u=a;h(e,n).then(()=>{r=t._getAdapter();return t.getServiceAsync(\"ShellNavigationInternal\")}).then(e=>{t._oShellNavigationInternal=e;o()})})})};return t},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation\", [\"sap/ushell/services/CrossApplicationNavigation\",\"sap/ushell/services/appstate/AppState\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\",\"sap/ushell/appRuntime/ui5/services/Container\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\",\"sap/base/util/deepClone\",\"sap/ushell/utils/UrlParsing\"],(e,s,jQuery,t,i,n,a,r,o)=>{\"use strict\";function p(p,l,c){e.call(this,p,l,c);this.backToPreviousApp=function(){if(a.checkDataLossAndContinue()){return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.backToPreviousApp\")}};this.expandCompactHashLocal=this.expandCompactHash;this.expandCompactHash=function(e){if(a.getIsScube()){return this.expandCompactHashLocal(e)}return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.expandCompactHash\",{sHashFragment:e})};this.getDistinctSemanticObjectsLocal=this.getDistinctSemanticObjects;this.getDistinctSemanticObjects=function(){if(a.getIsScube()){return this.getDistinctSemanticObjectsLocal()}return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.getDistinctSemanticObjects\")};this.getLinksLocal=this.getDistinctSemanticObjects;this.getLinks=function(e){const s=new jQuery.Deferred;function t(e){if(Array.isArray(e)){e.forEach(e=>{if(e[0]){delete e[0].ui5Component}})}else{delete e.ui5Component}}if(a.getIsScube()){this.getLinksLocal(e).then(i=>{t(e);n.postMessageToFLP(\"sap.ushell.services.CrossApplicationNavigation.getLinks\",e).then(e=>{if(i.length===0){s.resolve(e)}else{e=e.concat(i);s.resolve(e)}})})}else{t(e);n.postMessageToFLP(\"sap.ushell.services.CrossApplicationNavigation.getLinks\",e).then(s.resolve,s.reject)}return s.promise()};this.getPrimaryIntent=function(e,s){return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.getPrimaryIntent\",{sSemanticObject:e,mParameters:s})};this.getSemanticObjectLinks=function(e,s,t,i,a,r){return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.getSemanticObjectLinks\",{sSemanticObject:e,mParameters:s,bIgnoreFormFactor:t,sAppStateKey:a,bCompactIntents:r})};this.historyBack=function(e){if(a.checkDataLossAndContinue()){n.postMessageToFLP(\"sap.ushell.services.CrossApplicationNavigation.historyBack\",{iSteps:e})}};this.isIntentSupported=function(e,s){if(a.getIsScube()){const t=new jQuery.Deferred;i.getServiceAsync(\"NavTargetResolutionInternal\").then(i=>{i.isIntentSupported(e,s).done(t.resolve,t.reject)});return t.promise()}return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.isIntentSupported\",{aIntents:e})};this.isNavigationSupported=function(e,s,t){function o(e){return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.isNavigationSupported\",{aIntents:e})}if(t===true){return o(e)}if(a.getIsScube()){const t=new jQuery.Deferred;const n=e.map(e=>{if(typeof e===\"object\"){let s=e;if(e.params&&e.params.hasOwnProperty(\"sap-app-origin\")){s=r(e);delete s.params[\"sap-app-origin\"]}return s}return e});i.getServiceAsync(\"NavTargetResolutionInternal\").then(e=>{e.isNavigationSupported(n,s).done(t.resolve,t.reject)});return t.promise()}return o(e)};this.toExternal=function(e,s){if(a.getIsScube()){if(e.target&&e.target.shellHash){const s=o.parseShellHash(e.target.shellHash);if(s.params){delete s.params[\"sap-app-origin\"];e.target.shellHash=o.constructShellHash(s)}}else if(e.params){delete e.params[\"sap-app-origin\"]}i.getServiceAsync(\"ShellNavigationInternal\").then(t=>{t.toExternal(e,s)})}else if(a.checkDataLossAndContinue()){n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.toExternal\",{oArgs:e})}return(new jQuery.Deferred).resolve().promise()};this.getAppState=function(e,t){const a=new jQuery.Deferred;n.postMessageToFLP(\"sap.ushell.services.CrossApplicationNavigation.getAppState\",{sAppStateKey:t}).then(e=>{i.getServiceAsync(\"AppState\").then(t=>{const i=new s(t,e._sKey,e._bModifiable,e._sData,e._sAppName,e._sACHComponent,e._bTransient);a.resolve(i)})});return a.promise()};this.resolveIntentLocal=this.resolveIntent;this.resolveIntent=function(e){if(a.getIsScube()){return this.resolveIntentLocal(e)}return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.resolveIntent\",{sHashFragment:e})};this.hrefForExternalAsync=function(e){return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.hrefForExternal\",{oArgs:e})};this.hrefForAppSpecificHashAsync=function(e){return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.hrefForAppSpecificHash\",{sAppHash:e})};this.isInitialNavigation=function(){t.error(\"Deprecated API call of 'sap.ushell.CrossApplicationNavigation.isInitialNavigation'. Please use 'isInitialNavigationAsync' instead\",null,\"sap.ushell.services.CrossApplicationNavigation\");return false};this.isInitialNavigationAsync=function(){return n.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.isInitialNavigation\",{})}}p.prototype=e.prototype;p.hasNoAdapter=e.hasNoAdapter;return p},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/Extension\", [\"sap/base/Log\",\"sap/base/util/isPlainObject\",\"sap/ui/core/Element\",\"sap/ushell/appRuntime/ui5/services/Extension/Item\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppCommunicationMgr\"],(e,t,o,i,s,r)=>{\"use strict\";function n(){this._oItemMap={};r.registerCommHandlers({\"sap.ushell.services.Extension\":{oServiceCalls:{handleControlEvent:{executeServiceCallFn:async e=>{const{itemId:t,eventName:o}=e.oMessageData.body;const i=this._oItemMap[t];if(i){i.handleEvent(o)}}}}}})}n.prototype._extractControlProperties=function(e){const o={primitive:{},complex:{},events:{}};Object.keys(e).forEach(i=>{const s=e[i];if(typeof s===\"function\"){o.events[i]=s}else if(typeof s===\"object\"){if(t(s)){o.primitive[i]=s}else{o.complex[i]=s}}else{o.primitive[i]=s}});return o};n.prototype.createHeaderItem=async function(t,r={}){if(t.id){if(o.getElementById(t.id)){throw new Error(\"The control id is not allowed for header items! The id will be generated automatically and must not be set by the application.\")}e.error(\"The control id is not allowed for header items! The id will be generated automatically.\");delete t.id}const n=this._extractControlProperties(t);if(Object.keys(n.complex).length>0){throw new Error(\"Complex properties (aggregations, controls, non plain objects) are not allowed for header items!\")}const{itemId:a}=await s.postMessageToFLP(\"sap.ushell.services.Extension.createHeaderItem\",{controlProperties:n.primitive,events:Object.keys(n.events),parameters:r});const l=new i(a,n.events);this._oItemMap[a]=l;return l};n.prototype.createUserAction=async function(t,r={}){if(t.id){if(o.getElementById(t.id)){throw new Error(\"The control id is not allowed for header items! The id will be generated automatically and must not be set by the application.\")}e.error(\"The control id is not allowed for header items! The id will be generated automatically.\");delete t.id}const n=this._extractControlProperties(t);if(Object.keys(n.complex).length>0){throw new Error(\"Complex properties (aggregations, controls, non plain objects) are not allowed for user actions!\")}const{itemId:a}=await s.postMessageToFLP(\"sap.ushell.services.Extension.createUserAction\",{controlProperties:n.primitive,events:Object.keys(n.events),parameters:r});const l=new i(a,n.events);this._oItemMap[a]=l;return l};n.prototype.setSecondTitle=function(e){return s.postMessageToFLP(\"sap.ushell.services.Extension.setSecondTitle\",{title:e})};n.hasNoAdapter=true;return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/Extension/Item\", [\"sap/ushell/appRuntime/ui5/AppRuntimeService\"],e=>{\"use strict\";class s{#e=null;#s=null;constructor(e,s){this.#e=e;this.#s=s}async destroy(){e.postMessageToFLP(\"sap.ushell.services.Extension.Item.destroy\",{itemId:this.#e})}showForCurrentApp(){e.postMessageToFLP(\"sap.ushell.services.Extension.Item.showForCurrentApp\",{itemId:this.#e});return this}hideForCurrentApp(){e.postMessageToFLP(\"sap.ushell.services.Extension.Item.hideForCurrentApp\",{itemId:this.#e});return this}showForAllApps(){e.postMessageToFLP(\"sap.ushell.services.Extension.Item.showForAllApps\",{itemId:this.#e});return this}hideForAllApps(){e.postMessageToFLP(\"sap.ushell.services.Extension.Item.hideForAllApps\",{itemId:this.#e});return this}showOnHome(){e.postMessageToFLP(\"sap.ushell.services.Extension.Item.showOnHome\",{itemId:this.#e});return this}hideOnHome(){e.postMessageToFLP(\"sap.ushell.services.Extension.Item.hideOnHome\",{itemId:this.#e});return this}handleEvent(e){if(this.#s[e]){this.#s[e]()}}}return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/FlpLaunchPage\", [],()=>{\"use strict\";function e(){throw new Error(\"The 'FlpLaunchPage' is not supported in the iframe environment.\")}e.hasNoAdapter=true;return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/FrameBoundExtension\", [],()=>{\"use strict\";function e(){throw new Error(\"The 'FrameBoundExtension' is not supported in the iframe environment.\")}e.hasNoAdapter=true;return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/LaunchPage\", [\"sap/ushell/services/LaunchPage\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\"],(e,s)=>{\"use strict\";function r(e,r,t){this.getGroupsForBookmarks=function(){return s.sendMessageToOuterShell(\"sap.ushell.services.LaunchPage.getGroupsForBookmarks\")}}r.prototype=e.prototype;r.hasNoAdapter=e.hasNoAdapter;return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/MessageBroker\", [\"sap/ushell/appRuntime/ui5/AppRuntimeService\"],e=>{\"use strict\";let s={};function n(){}n.prototype.connect=function(s){return new Promise((n,t)=>{e.postMessageToFLP(\"sap.ushell.services.MessageBroker\",{channelId:\"sap.ushell.MessageBroker\",clientId:s,messageName:\"connect\"}).then(n).catch(t)})};n.prototype.disconnect=function(n){return new Promise((t,a)=>{s={};e.postMessageToFLP(\"sap.ushell.services.MessageBroker\",{channelId:\"sap.ushell.MessageBroker\",clientId:n,messageName:\"disconnect\"}).then(t).catch(a)})};n.prototype.subscribe=function(n,t,a,c){return new Promise((r,o)=>{s={fnMessageCallback:a,fnClientConnectionCallback:c};e.postMessageToFLP(\"sap.ushell.services.MessageBroker\",{channelId:\"sap.ushell.MessageBroker\",clientId:n,messageName:\"subscribe\",subscribedChannels:t}).then(r).catch(o)})};n.prototype.unsubscribe=function(n,t){return new Promise((a,c)=>{s={};e.postMessageToFLP(\"sap.ushell.services.MessageBroker\",{channelId:\"sap.ushell.MessageBroker\",clientId:n,messageName:\"unsubscribe\",subscribedChannels:t}).then(a).catch(c)})};n.prototype.publish=function(s,n,t,a,c,r){return new Promise((o,i)=>{e.postMessageToFLP(\"sap.ushell.services.MessageBroker\",{clientId:n,channelId:s,targetClientIds:c,messageName:a,data:r},t).then(o).catch(i)})};n.prototype.addAcceptedOrigin=function(e){};n.prototype.removeAcceptedOrigin=function(e){};n.prototype.getAcceptedOrigins=function(){};n.prototype.getAcceptedOrigins=function(){};n.prototype.handleMessage=function(e){return new Promise((n,t)=>{switch(e.messageName){case\"clientSubscribed\":case\"clientUnsubscribed\":s.fnClientConnectionCallback(e.messageName,e.clientId,e.channels);break;default:s.fnMessageCallback(e.clientId,e.channelId,e.messageName,e.data);break}n({_noresponse_:true})})};n.hasNoAdapter=true;return n},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/NavTargetResolution\", [\"sap/ushell/services/NavTargetResolution\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\",\"sap/ui/thirdparty/jquery\"],(e,t,s,jQuery)=>{\"use strict\";function n(n,i,r,a){e.call(this,n,i,r,a);this.getDistinctSemanticObjectsLocal=this.getDistinctSemanticObjects;this.getDistinctSemanticObjects=function(){const e=new jQuery.Deferred;const n=[];let i;n.push(s.getIsScube()?this.getDistinctSemanticObjectsLocal():Promise.resolve([]));n.push(t.postMessageToFLP(\"sap.ushell.services.NavTargetResolution.getDistinctSemanticObjects\"));Promise.allSettled(n).then(t=>{i=t[0].status===\"fulfilled\"?t[0].value:[];i=i.concat(t[1].status===\"fulfilled\"?t[1].value:[]);i=i.filter((e,t,s)=>s.indexOf(e)===t).sort();e.resolve(i)});return e.promise()};this.expandCompactHash=function(e){if(e&&e.indexOf(\"sap-intent-param\")>0){return t.sendMessageToOuterShell(\"sap.ushell.services.NavTargetResolution.expandCompactHash\",{sHashFragment:e})}return(new jQuery.Deferred).resolve(e).promise()};this.resolveHashFragmentLocal=this.resolveHashFragment;this.resolveHashFragment=function(e){if(s.getIsScube()){const s=new jQuery.Deferred;this.resolveHashFragmentLocal(e).done(s.resolve).fail(()=>t.postMessageToFLP(\"sap.ushell.services.NavTargetResolution.resolveHashFragment\",{sHashFragment:e}).then(s.resolve,s.reject));return s.promise()}return t.sendMessageToOuterShell(\"sap.ushell.services.NavTargetResolution.resolveHashFragment\",{sHashFragment:e})};this.isIntentSupportedLocal=this.isIntentSupported;this.isIntentSupported=function(e){const n=new jQuery.Deferred;const i=[];let r;let a;i.push(s.getIsScube()?this.isIntentSupportedLocal(e):Promise.resolve(undefined));i.push(t.postMessageToFLP(\"sap.ushell.services.NavTargetResolution.isIntentSupported\",{aIntents:e}));Promise.allSettled(i).then(t=>{r=t[0].status===\"fulfilled\"?t[0].value:undefined;a=t[1].status===\"fulfilled\"?t[1].value:undefined;if(r&&a){Object.keys(r).forEach(e=>{r[e].supported=r[e].supported||a[e].supported})}else if(r||a){r=r||a}else{r={};e.forEach(e=>{r[e]={supported:undefined}})}n.resolve(r)});return n.promise()};this._isIntentSupportedLocal=this.isIntentSupportedLocal;this._isIntentSupported=this.isIntentSupported}n.prototype=e.prototype;n.hasNoAdapter=e.hasNoAdapter;return n},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal\", [\"sap/ushell/services/NavTargetResolutionInternal\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\",\"sap/ui/thirdparty/jquery\"],(e,t,s,jQuery)=>{\"use strict\";function n(n,r,a,i){e.call(this,n,r,a,i);this.getDistinctSemanticObjectsLocal=this.getDistinctSemanticObjects;this.getDistinctSemanticObjects=function(){const e=new jQuery.Deferred;const n=[];let r;n.push(s.getIsScube()?this.getDistinctSemanticObjectsLocal():Promise.resolve([]));n.push(t.postMessageToFLP(\"sap.ushell.services.NavTargetResolutionInternal.getDistinctSemanticObjects\"));Promise.allSettled(n).then(t=>{r=t[0].status===\"fulfilled\"?t[0].value:[];r=r.concat(t[1].status===\"fulfilled\"?t[1].value:[]);r=r.filter((e,t,s)=>s.indexOf(e)===t).sort();e.resolve(r)});return e.promise()};this.expandCompactHash=function(e){if(e&&e.indexOf(\"sap-intent-param\")>0){return t.sendMessageToOuterShell(\"sap.ushell.services.NavTargetResolutionInternal.expandCompactHash\",{sHashFragment:e})}return(new jQuery.Deferred).resolve(e).promise()};this.resolveHashFragmentLocal=this.resolveHashFragment;this.resolveHashFragment=function(e){if(s.getIsScube()){const s=new jQuery.Deferred;this.resolveHashFragmentLocal(e).done(s.resolve).fail(()=>t.postMessageToFLP(\"sap.ushell.services.NavTargetResolutionInternal.resolveHashFragment\",{sHashFragment:e}).then(s.resolve,s.reject));return s.promise()}return t.sendMessageToOuterShell(\"sap.ushell.services.NavTargetResolutionInternal.resolveHashFragment\",{sHashFragment:e})};this.isIntentSupportedLocal=this.isIntentSupported;this.isIntentSupported=function(e){const n=new jQuery.Deferred;const r=[];let a;let i;r.push(s.getIsScube()?this.isIntentSupportedLocal(e):Promise.resolve(undefined));r.push(t.postMessageToFLP(\"sap.ushell.services.NavTargetResolutionInternal.isIntentSupported\",{aIntents:e}));Promise.allSettled(r).then(t=>{a=t[0].status===\"fulfilled\"?t[0].value:undefined;i=t[1].status===\"fulfilled\"?t[1].value:undefined;if(a&&i){Object.keys(a).forEach(e=>{a[e].supported=a[e].supported||i[e].supported})}else if(a||i){a=a||i}else{a={};e.forEach(e=>{a[e]={supported:undefined}})}n.resolve(a)});return n.promise()};this._isIntentSupportedLocal=this.isIntentSupportedLocal;this._isIntentSupported=this.isIntentSupported}n.prototype=e.prototype;n.hasNoAdapter=e.hasNoAdapter;return n},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/Navigation\", [\"sap/ushell/services/Navigation\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/services/appstate/AppState\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\",\"sap/base/util/deepClone\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/appRuntime/ui5/services/Container\"],(e,t,s,i,a,n,r)=>{\"use strict\";function o(o,p,u){e.call(this,o,p,u);this.getHref=function(e){return t.postMessageToFLP(\"sap.ushell.services.Navigation.getHref\",{oTarget:e})};this.backToPreviousApp=function(){if(i.checkDataLossAndContinue()){return t.postMessageToFLP(\"sap.ushell.services.Navigation.backToPreviousApp\")}return Promise.resolve()};this.historyBack=function(e){if(i.checkDataLossAndContinue()){t.postMessageToFLP(\"sap.ushell.services.Navigation.historyBack\",{iSteps:e})}};this.isInitialNavigation=function(){return t.postMessageToFLP(\"sap.ushell.services.Navigation.isInitialNavigation\",{})};this.navigate=function(e,s){if(i.getIsScube()){if(e.target&&e.target.shellHash){const t=n.parseShellHash(e.target.shellHash);if(t.params){delete t.params[\"sap-app-origin\"];e.target.shellHash=n.constructShellHash(t)}}else if(e.params){delete e.params[\"sap-app-origin\"]}return r.getServiceAsync(\"ShellNavigationInternal\").then(t=>t.toExternal(e,s))}else if(i.checkDataLossAndContinue()){return t.postMessageToFLP(\"sap.ushell.services.Navigation.navigate\",{oTarget:e})}return Promise.resolve()};this.getPrimaryIntent=async function(e,s){return t.postMessageToFLP(\"sap.ushell.services.Navigation.getPrimaryIntent\",{sSemanticObject:e,oLinkFilter:s})};this.getLinksLocal=this.getLinks;this.getLinks=function(e=[]){function s(e){e.forEach(e=>{if(e){delete e.ui5Component}})}if(!Array.isArray(e)){throw new Error(\"Unexpected Input: aLinkFilter has to be an array with plain objects!\")}if(i.getIsScube()){this.getLinksLocal(e).then(i=>{s(e);return t.postMessageToFLP(\"sap.ushell.services.Navigation.getLinks\",e).then(e=>{if(i.length!==0){e=e.concat(i)}return e})})}else{s(e);return t.postMessageToFLP(\"sap.ushell.services.Navigation.getLinks\",e)}};this.getSemanticObjectsLocal=this.getSemanticObjects;this.getSemanticObjects=function(){if(i.getIsScube()){return this.getSemanticObjectsLocal()}return t.postMessageToFLP(\"sap.ushell.services.Navigation.getSemanticObjects\")};this.isNavigationSupported=function(e,s,n){function o(e){return t.postMessageToFLP(\"sap.ushell.services.Navigation.isNavigationSupported\",{aTargets:e})}if(n===true){return o(e)}if(i.getIsScube()){const t=e.map(e=>{if(typeof e===\"object\"){let t=e;if(e.params&&e.params.hasOwnProperty(\"sap-app-origin\")){t=a(e);delete t.params[\"sap-app-origin\"]}return t}return e});return r.getServiceAsync(\"NavTargetResolutionInternal\").then(e=>e.isNavigationSupported(t,s))}return o(e)};this.getAppState=function(e,i){return t.postMessageToFLP(\"sap.ushell.services.Navigation.getAppState\",{sAppStateKey:i}).then(e=>r.getServiceAsync(\"AppState\").then(t=>{const i=new s(t,e._sKey,e._bModifiable,e._sData,e._sAppName,e._sACHComponent,e._bTransient);return i}))};this.resolveIntentLocal=this.resolveIntent;this.resolveIntent=function(e){if(i.getIsScube()){return this.resolveIntentLocal(e)}return t.postMessageToFLP(\"sap.ushell.services.Navigation.resolveIntent\",{sHashFragment:e})};this.isUrlSupported=function(e){return t.postMessageToFLP(\"sap.ushell.services.Navigation.isUrlSupported\",{sUrl:e})}}o.prototype=e.prototype;o.hasNoAdapter=e.hasNoAdapter;return o},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/ReferenceResolver\", [\"sap/ushell/appRuntime/ui5/AppRuntimeService\"],e=>{\"use strict\";function s(){this.resolveReferences=function(s,r){return e.sendMessageToOuterShell(\"sap.ushell.services.ReferenceResolver.resolveReferences\",{aReferences:s})}}s.hasNoAdapter=true;return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/ShellNavigation\", [\"sap/ushell/services/ShellNavigation\",\"sap/ushell/appRuntime/ui5/services/Container\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\",\"sap/ushell/utils/UrlParsing\"],(e,t,s,a,i)=>{\"use strict\";function n(n,l,r){e.call(this,n,l,r);this.toExternal=function(e,n,l){if(!a.checkDataLossAndContinue()){return}if(a.getIsScube()){t.getServiceAsync(\"NavTargetResolutionInternal\").then(t=>{const n=i.constructShellHash(e);t.isIntentSupportedLocal([n]).then(t=>{if(t[n].supported===true){if(e.target.shellHash){e=i.parseShellHash(e.target.shellHash);e.target={semanticObject:e.semanticObject,action:e.action};delete e.semanticObject;delete e.action}e.params[\"sap-shell-so\"]=e.target.semanticObject;e.params[\"sap-shell-action\"]=e.target.action;e.params[\"sap-remote-system\"]=a.getRemoteSystemId();e.target.semanticObject=\"Shell\";e.target.action=\"startIntent\";return s.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.toExternal\",{oArgs:e})}s.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.toExternal\",{oArgs:e})})})}else{s.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.toExternal\",{oArgs:e})}};this.toAppHash=function(e,t){s.sendMessageToOuterShell(\"sap.ushell.services.ShellNavigationInternal.toExternal\",{sAppHash:e,bWriteHistory:t})}}n.prototype=e.prototype;n.hasNoAdapter=e.hasNoAdapter;return n},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/ShellNavigationInternal\", [\"sap/ushell/services/ShellNavigationInternal\",\"sap/ushell/appRuntime/ui5/services/Container\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\",\"sap/ushell/utils/UrlParsing\"],(e,t,s,a,n)=>{\"use strict\";function i(i,r,l){e.call(this,i,r,l);this.toExternal=async function(e,i,r){if(!a.checkDataLossAndContinue()){return}if(a.getIsScube()){return t.getServiceAsync(\"NavTargetResolutionInternal\").then(t=>{const i=n.constructShellHash(e);return t.isIntentSupportedLocal([i]).then(t=>{if(t[i].supported===true){if(e.target.shellHash){e=n.parseShellHash(e.target.shellHash);e.target={semanticObject:e.semanticObject,action:e.action};delete e.semanticObject;delete e.action}e.params[\"sap-shell-so\"]=e.target.semanticObject;e.params[\"sap-shell-action\"]=e.target.action;e.params[\"sap-remote-system\"]=a.getRemoteSystemId();e.target.semanticObject=\"Shell\";e.target.action=\"startIntent\"}s.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.toExternal\",{oArgs:e})})})}s.sendMessageToOuterShell(\"sap.ushell.services.CrossApplicationNavigation.toExternal\",{oArgs:e})};this.toAppHash=function(e,t){s.sendMessageToOuterShell(\"sap.ushell.services.ShellNavigationInternal.toExternal\",{sAppHash:e,bWriteHistory:t})}}i.prototype=e.prototype;i.hasNoAdapter=e.hasNoAdapter;return i},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/ShellUIService\", [\"sap/ui/core/EventBus\",\"sap/ui/core/service/ServiceFactoryRegistry\",\"sap/ui/core/service/ServiceFactory\",\"sap/ushell/ui5service/ShellUIService\",\"sap/ushell/appRuntime/ui5/AppCommunicationMgr\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/ushell/appRuntime/ui5/AppRuntimeContext\",\"sap/ushell/services/AppConfiguration\",\"sap/ui/thirdparty/jquery\"],(e,i,s,t,a,n,l,r,jQuery)=>{\"use strict\";let c;let u=false;let o;const p=t.extend(\"sap.ushell.appRuntime.services.ShellUIService\",{setTitle:function(e,i){if(!e){return}c=e;n.postMessageToFLP(\"sap.ushell.services.ShellUIService.setTitle\",{sTitle:e,oAdditionalInformation:i})},getTitle:function(){return c},setHierarchy:function(e){return l.checkIntentsConversionForScube(e).then(e=>n.postMessageToFLP(\"sap.ushell.services.ShellUIService.setHierarchy\",{aHierarchyLevels:e}))},setRelatedApps:function(e){return l.checkIntentsConversionForScube(e).then(e=>n.postMessageToFLP(\"sap.ushell.services.ShellUIService.setRelatedApps\",{aRelatedApps:e}))},setBackNavigation:function(e){if(!u){u=true;a.registerCommHandlers({\"sap.ushell.appRuntime\":{oServiceCalls:{handleBackNavigation:{executeServiceCallFn:function(e){if(o){o()}else if(l.checkDataLossAndContinue()){window.history.back()}return(new jQuery.Deferred).resolve().promise()}}}}})}o=e;n.postMessageToFLP(\"sap.ushell.ui5service.ShellUIService.setBackNavigation\",{callbackMessage:{service:\"sap.ushell.appRuntime.handleBackNavigation\"}})},_getBackNavigationCallback:function(){return o},_resetBackNavigationCallback:function(){this.setBackNavigation()},setApplicationFullWidth:function(e){r.setApplicationFullWidthInternal(e)}});p._resetTitle=function(){c=undefined};e.getInstance().subscribe(\"sap.ushell\",\"appClosed\",p._resetTitle);i.register(\"sap.ushell.ui5service.ShellUIService\",new s(p));return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/UserDefaultParameters\", [\"sap/ushell/services/UserDefaultParameters\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/base/util/ObjectPath\"],(e,s,t)=>{\"use strict\";function a(t,a){e.call(this,t,a);this.getValue=function(e){return s.sendMessageToOuterShell(\"sap.ushell.services.UserDefaultParameters.getValue\",{sParameterName:e})}}t.set(\"sap.ushell.services.UserDefaultParameters\",a);a.prototype=e.prototype;a.hasNoAdapter=true;return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/UserInfo\", [\"sap/ui/thirdparty/jquery\",\"sap/ushell/services/UserInfo\",\"sap/ushell/appRuntime/ui5/AppRuntimeService\",\"sap/base/util/ObjectPath\"],(jQuery,e,s,t)=>{\"use strict\";function r(t,r){e.call(this,t,r);this.getThemeList=function(){return s.sendMessageToOuterShell(\"sap.ushell.services.UserInfo.getThemeList\")};this.updateUserPreferences=function(){const e=new jQuery.Deferred;sap.ui.require([\"sap/ushell/appRuntime/ui5/services/Container\"],t=>{s.postMessageToFLP(\"sap.ushell.services.UserInfo.updateUserPreferences\",{language:t.getUser().getLanguage()}).then(e.resolve,e.reject)});return e.promise()};this.getLanguageList=function(){return s.sendMessageToOuterShell(\"sap.ushell.services.UserInfo.getLanguageList\")};this.getShellUserInfo=function(){return s.sendMessageToOuterShell(\"sap.ushell.services.UserInfo.getShellUserInfo\")}}t.set(\"sap.ushell.services.UserInfo\",r);r.prototype=e.prototype;r.hasNoAdapter=true;return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/adapters/ContainerAdapter\", [\"sap/base/Log\",\"sap/base/i18n/Formatting\",\"sap/base/util/deepExtend\",\"sap/base/util/ObjectPath\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/User\"],(e,t,s,o,jQuery,r)=>{\"use strict\";function i(i,n,a){let u;let l;let d;let c;let p;let f;function m(e){if(e.sapDateFormat){t.setABAPDateFormat(e.sapDateFormat)}if(e.sapDateCalendarCustomizing){t.setCustomIslamicCalendarData(e.sapDateCalendarCustomizing)}if(e.sapNumberFormat){t.setABAPNumberFormat(e.sapNumberFormat)}if(e.sapTimeFormat){t.setABAPTimeFormat(e.sapTimeFormat)}if(typeof e.currencyFormats===\"object\"){t.addCustomCurrencies(e.currencyFormats)}}this.load=function(){l=o.get(\"config.systemProperties.logoutUrl\",a);d=o.get(\"config.systemProperties.logoutMethod\",a)||\"GET\";c=o.get(\"config.systemProperties.csrfTokenUrl\",a);p=o.get(\"config.systemProperties.sessionKeepAlive.url\",a);f=o.get(\"config.systemProperties.sessionKeepAlive.method\",a);const e=s({id:\"\"},o.get(\"config.userProfile.defaults\",a));u=new r(e);m(e);return(new jQuery.Deferred).resolve().promise()};this.getSystem=function(){return i};this.getUser=function(){return u};this._getLogoutUrl=function(){return l};this._setWindowLocation=function(e){window.location.href=e};this.logout=function(){const t=new jQuery.Deferred;const s=this;if(d===\"POST\"){e.info(\"performing logout from system via POST\",undefined,\"sap.ushell.appRuntime.ui5.services.adapters.ContainerAdapter::logout\");jQuery.ajax({type:\"HEAD\",url:c,headers:{\"X-CSRF-Token\":\"Fetch\"},success:function(o,r,i){jQuery.ajax({type:\"POST\",url:l,headers:{\"X-CSRF-Token\":i.getResponseHeader(\"X-CSRF-Token\")},success:function(e){s._setWindowLocation(e);t.resolve()},error:function(){e.error(\"Logging out via POST failed\",undefined,\"sap.ushell.appRuntime.ui5.services.adapters.ContainerAdapter::logout\");t.resolve()}})},error:function(){e.error(`fetching X-CSRF-Token for logout via POST failed for system: ${i.getAlias()}`,undefined,\"sap.ushell.appRuntime.ui5.services.adapters.ContainerAdapter::logout\");t.resolve()}})}else{try{if(typeof l===\"string\"&&l.length>0){this._logoutViaHiddenIFrame(t,l);setTimeout(t.resolve,4e3)}else{t.resolve()}}catch(s){e.error(`logout from iframe ${document.URL} failed`,s,\"sap.ushell.appRuntime.ui5.SessionHandlerAgent\");t.resolve()}}return t.promise()};this._logoutViaHiddenIFrame=function(e,t){const s=document.createElement(\"iframe\");const o=t.replace(/\"/g,'\\\\\"');window.addEventListener(\"message\",s=>{if((s.data&&s.data.url)===t){e.resolve()}});s.style.visibility=\"hidden\";s.setAttribute(\"src\",t);function r(){this.contentWindow.parent.postMessage({url:o,request_id:\"dummy-logout-id\"},\"*\")}s.addEventListener(\"load\",r);s.addEventListener(\"error\",r);document.body.appendChild(s)};this.sessionKeepAlive=function(){if(typeof p===\"string\"&&p.length>0&&typeof f===\"string\"&&f.length>0){const t=new XMLHttpRequest;t.open(f,p,true);t.onreadystatechange=function(){if(this.readyState===4){e.debug(\"Server session was extended\")}};t.send()}}}return i},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/adapters/EmptyAdapter\", [\"sap/ui/thirdparty/jquery\"],jQuery=>{\"use strict\";function e(){this.getSite=function(){return(new jQuery.Deferred).resolve({}).promise()};this.getInbounds=function(){return(new jQuery.Deferred).resolve([]).promise()}}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter\", [],()=>{\"use strict\";function e(){}return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/appRuntime/ui5/ui/UIProxy\", [\"sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer\",\"sap/m/Button\",\"sap/base/util/ObjectPath\"],(e,t,s)=>{\"use strict\";function n(){s.set(\"sap.ushell.ui.shell.ShellHeadItem\",function(t){const s=this;Object.keys(t).forEach(e=>{s[e]=t[e];s[`get${e[0].toUpperCase()}${e.slice(1)}`]=function(){return t[e]}});e.createShellHeadItem(t)})}return new n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/SchedulingAgent\", [\"sap/ushell/bootstrap/SchedulingAgent/FLPScheduler\",\"sap/ushell/bootstrap/SchedulingAgent/EventProcessor\",\"sap/ushell/bootstrap/SchedulingAgent/FLPLoader\",\"sap/ushell/bootstrap/SchedulingAgent/logger\",\"sap/ushell/bootstrap/SchedulingAgent/state\",\"sap/ushell/EventHub\"],(e,t,o,n,i,a)=>{\"use strict\";const s={CONTINUE_ON_EVENT:\"continueOnEvent\",BY_EVENT:\"byEvent\",BY_COMPONENT_CREATE:\"byComponentCreate\",BY_REQUIRE:\"byRequire\",WAIT_IN_MS:\"waitInMs\"};const d={WAIT:\"wait\",ERROR:\"error\",DONE:\"done\",STEP:\"step\",BLOCKDONE:\"blockDone\",SKIPPED:\"skip\"};const g={oComponentsLoading:{},oPathsLoading:{},_initialize:function(){i.clear();n.clearHistory();i.setForModule(i.id.module.schedulingAgent.id,i.id.module.schedulingAgent.Initializing,\"Scheduling Agent starting\");const o=e.initializeSchedule();o.then(e=>{if(!e){i.setForModule(i.id.module.schedulingAgent.id,i.id.module.schedulingAgent.FatalError,\"Configuration error!\");return}t.initializeStepDoneListener(this);i.setForModule(i.id.module.schedulingAgent.id,i.id.module.schedulingAgent.Initialized,\"Scheduling Agent ready\");this.eventReceived()})},_processStepConfiguration:function(e){const t={sStepType:\"\",oData:{},sStepName:\"\",bConfigOk:false};if(e.oConfig.loadingMode===s.CONTINUE_ON_EVENT){t.sStepType=s.CONTINUE_ON_EVENT;t.sStepName=e.oContent.LoadingStep;t.oData.eventName=e.oConfig.continueOnEvent&&e.oConfig.continueOnEvent.eventName;t.oData.timeoutInMs=e.oConfig.continueOnEvent&&e.oConfig.continueOnEvent.timeoutInMs;t.oData.stepName=e.oContent.LoadingStep;t.bConfigOk=!!(t.oData.eventName&&t.oData.stepName)}else if(e.oConfig.loadingMode===s.BY_EVENT){t.sStepType=s.BY_EVENT;t.sStepName=e.oContent.LoadingStep;t.oData.eventName=e.oConfig.byEvent&&e.oConfig.byEvent.eventName;t.oData.eventData={};t.oData.eventData.data=e.oConfig.byEvent.eventData;t.oData.eventData.stepName=e.oContent.LoadingStep;t.bConfigOk=!!t.oData.eventName}else if(e.oConfig.loadingMode===s.BY_COMPONENT_CREATE){t.sStepType=s.BY_COMPONENT_CREATE;t.sStepName=e.oContent.LoadingStep;t.oData=e.oConfig.byComponentCreate&&e.oConfig.byComponentCreate.ui5ComponentOptions||{};t.bConfigOk=!!t.oData}else if(e.oConfig.loadingMode===s.BY_REQUIRE){t.sStepType=s.BY_REQUIRE;t.sStepName=e.oContent.LoadingStep;t.oData={};t.oData.sPath=e.oConfig.byRequire.path;t.oData.sStepName=e.oContent.LoadingStep;t.bConfigOk=!!t.oData.sPath}else if(e.oConfig.loadingMode===s.WAIT_IN_MS){t.sStepType=s.WAIT_IN_MS;t.sStepName=e.oContent.LoadingStep;t.oData.iWaitingTime=e.oConfig.waitInMs&&e.oConfig.waitInMs.waitingTime;t.oData.sStepName=e.oContent.LoadingStep;t.bConfigOk=!!(t.oData.iWaitingTime&&t.oData.sStepName)}return t},dumpState:function(){i.dump()},dumpHistory:function(){n.dumpHistory()},dumpSchedule:function(){e.dumpSchedule()},dumpAll:function(){n.dumpHistory();e.dumpSchedule();i.dump()},eventReceived:function(){i.setForModule(i.id.module.schedulingAgent.id,i.id.module.schedulingAgent.Working,\"Agent is active\");let n;do{n=e.getNextLoadingStep();if(n.sStatus===d.ERROR){i.setForModule(i.id.module.schedulingAgent.id,i.id.module.schedulingAgent.FatalError,\"Fatal loading error. Loading aborted.\");t.unregisterStepDoneListener();a.emit(\"FLPLoadingDone\",Date.now());return}if(n.sStatus===d.DONE){i.setForModule(i.id.module.schedulingAgent.id,i.id.module.schedulingAgent.Done,\"Loading finished\");t.unregisterStepDoneListener();a.emit(\"FLPLoadingDone\",Date.now());return}if(n.sStatus===d.BLOCKDONE){}if(n.sStatus===d.SKIPPED){}if(n.sStatus===d.STEP){const e=this._processStepConfiguration(n);if(!e.bConfigOk){i.setForLoadingStep(e.sStepName,i.id.loadingStep.Abort,\"\",\"Step configuration error\");i.setForLoadingStep(e.sStepName,i.id.loadingStep.Skipped,\"\",\"Step configuration error\");i.setForModule(i.id.module.schedulingAgent.id,i.id.module.schedulingAgent.FatalError,e,\"Step configuration error!\")}else if(e.sStepType===s.CONTINUE_ON_EVENT){t.listenToEvent(e.oData);i.setForLoadingStep(e.sStepName,i.id.loadingStep.InProgress,e.oData.eventName,\"continueOnEvent step sent to Event Processor\")}else if(e.sStepType===s.BY_EVENT){o.loadComponentByEvent(e.oData);i.setForLoadingStep(e.sStepName,i.id.loadingStep.InProgress,e.oData,\"byEvent step sent to FLP Loader\")}else if(e.sStepType===s.WAIT_IN_MS){o.waitInMs(e.oData);i.setForLoadingStep(e.sStepName,i.id.loadingStep.InProgress,`${e.oData.iWaitingTime}ms`,\"WaitInMs step sent to FLP Loader\")}else if(e.sStepType===s.BY_REQUIRE){const t=o.loadComponentByRequire(e.oData.sPath);this.oPathsLoading[e.sStepName]=t;i.setForLoadingStep(e.sStepName,i.id.loadingStep.InProgress,e.oData.sPath,\"byRequire step sent to FLP Loader\");const n=e.sStepName;t.then(()=>{i.setForLoadingStep(n,i.id.loadingStep.InProgress,\"\",\"Step's promise has resolved\");delete this.oPathsLoading[n];a.emit(\"StepDone\",n)},()=>{i.setForLoadingStep(n,i.id.loadingStep.FatalError,\"\",\"Step's promise failed\");delete this.oPathsLoading[n];a.emit(\"StepFailed\",n)})}else if(e.sStepType===s.BY_COMPONENT_CREATE){const t=o.loadComponentByComponentCreate(e);this.oComponentsLoading[e.sStepName]=t;i.setForLoadingStep(e.sStepName,i.id.loadingStep.InProgress,e.oData,\"byComponentCreate step sent to FLP Loader\");t.then(e=>{i.setForLoadingStep(e,i.id.loadingStep.InProgress,\"\",\"Step's promise has resolved\");delete this.oComponentsLoading[e];a.emit(\"StepDone\",e)},e=>{i.setForLoadingStep(e,i.id.loadingStep.FatalError,\"\",\"Step's promise failed\");delete this.oComponentsLoading[e];a.emit(\"StepFailed\",e)})}}}while(n.sStatus!==d.WAIT);i.setForModule(i.id.module.schedulingAgent.id,i.id.module.schedulingAgent.Waiting,\"Agent waits\")}};return g},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/SchedulingAgent/EventProcessor\", [\"sap/ushell/bootstrap/SchedulingAgent/state\",\"sap/ushell/EventHub\"],(e,t)=>{\"use strict\";const n={SchedulingAgent:{},aDoables:[],initializeStepDoneListener:function(n){this.SchedulingAgent=n;this.aDoables=[t.on(\"StepDone\").do(t=>{e.setForLoadingStep(t,e.id.loadingStep.Done,\"\",\"Step event received\");this.SchedulingAgent.eventReceived()}),t.on(\"StepFailed\").do(t=>{e.setForLoadingStep(t,e.id.loadingStep.Skipped,\"\",\"Step event received\");this.SchedulingAgent.eventReceived()})]},listenToEvent:function(n){let i=false;t.once(n.eventName).do(()=>{if(i){return}i=true;e.setForLoadingStep(n.stepName,e.id.loadingStep.Done,n.eventName,\"Event received\");this.SchedulingAgent.eventReceived()});if(n.timeoutInMs){setTimeout(()=>{if(i){return}i=true;e.setForLoadingStep(n.stepName,e.id.loadingStep.Done,n.eventName,\"Event received\");this.SchedulingAgent.eventReceived()},n.timeoutInMs)}},unregisterStepDoneListener:function(){this.aDoables.forEach(e=>{e.off()})},setTimeOut:function(){}};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/SchedulingAgent/FLPLoader\", [\"sap/ushell/EventHub\",\"sap/ui/core/Component\"],(e,t)=>{\"use strict\";const n={loadComponentByEvent:function(t){e.emit(t.eventName,t.eventData)},loadComponentByComponentCreate:function(e){return t.create(e.oData).then(()=>Promise.resolve(e.sStepName),()=>Promise.reject(e.sStepName))},loadComponentByRequire:function(e){return new Promise((t,n)=>{sap.ui.require([e],e=>{t(e)})})},waitInMs:function(t){setTimeout(()=>{e.emit(\"StepDone\",t.sStepName)},t.iWaitingTime)},directLoading:function(){}};return n},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/SchedulingAgent/FLPScheduler\", [\"sap/ui/performance/trace/FESR\",\"sap/ushell/bootstrap/SchedulingAgent/state\",\"sap/base/util/LoaderExtensions\",\"sap/base/Log\",\"sap/ushell/Config\",\"sap/ushell/state/StateManager\"],(e,t,o,n,i,d)=>{\"use strict\";const a={Loaded:\"loaded\",Wait:\"wait\",Step:\"step\",Error:\"error\",BlockDone:\"blockDone\",Start:\"start\",Done:\"done\",Skipped:\"skipped\"};const s=\"sap/ushell/bootstrap/SchedulingAgent/LoadingConfiguration.json\";const l=\"sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json\";const c={oSchedule:{iBlockIndex:0,aBlocksLoading:[]},initializeSchedule:function(){const e=o.loadResource(l,{async:true});const n=o.loadResource(s,{async:true});const i=Promise.all([e,n]).then(e=>{this._adaptForSpecialEvents(e);const o=e[0];const n=e[1];const i=this._validateConfig(n,o);if(i){this.oSchedule.oBlocks=n.LoadingBlocks;this.oSchedule.oSteps=o;this.oSchedule.aBlockOrder=n.OrderOfLoadingBlocks;this.oSchedule.iBlockIndex=0;t.setForModule(t.id.module.flpScheduler.id,t.id.module.flpScheduler.Initialized,\"Schedule validated\")}else{t.setForModule(t.id.module.flpScheduler.id,t.id.module.flpScheduler.WrongConfiguration,\"Configuration error\")}return i});return i},getNextLoadingStep:function(){let e={sStatus:a.Start,oContent:{}};if(this.oSchedule.aBlocksLoading.length===0){const t=this._startLoadingBlock();if(t){e.sStatus=a.Done;return e}}let o=true;let n=false;let i;let d;let s;let l;let c;let r;let p;let u;let S;for(let g=0;g<this.oSchedule.aBlocksLoading.length;g++){i=this.oSchedule.aBlocksLoading[g];d=this.oSchedule.oBlocks[i];s=d.iStepIndex;l=d.LoadingSteps[s];c=s===d.LoadingSteps.length-1;r=this._checkAndUpdateAsyncQueue(d);S=t.isStepLoaded(l.LoadingStep)||t.isStepSkipped(l.LoadingStep);u=t.isStepLoading(l.LoadingStep);o=r.bAllStepsDone&&S;n=r.bAStepIsLoading||u;if(u&&!l.canBeLoadedAsync||n&&c){e.sStatus=a.Wait;continue}if(!c||!S&&!u){if(S||l.canBeLoadedAsync&&u){s+=1}e=this._prepareStepForLoading(d,i,s)}if(o&&c){p=this.oSchedule.aBlocksLoading.indexOf(i);this.oSchedule.aBlocksLoading.splice(p,1);e.sStatus=a.BlockDone;t.setForLoadingBlock(i,t.id.loadingBlock.Done,\"\",\"Block removed from loading queue\")}if(e.sStatus!==a.wait){break}}return e},dumpSchedule:function(){n.debug(JSON.stringify(this.oSchedule))},_adaptForSpecialEvents:function(t){const o=t[0];if(o.ConditionalWaitForAppLoading&&e.getActive()===false){o.ConditionalWaitForAppLoading={loadingMode:\"waitInMs\",waitInMs:{waitingTime:3e3},mandatoryShellModeAndLaunchpadStates:[{shellMode:\"default\",launchpadState:\"app\"}]};n.info(\"Step 'ConditionalWaitForAppLoading' was overwritten to 3 sec timeout for apps only.\",\"FLPScheduler\")}},_matchesShellModeAndLaunchpadState:function(e,t){const o=d.getLaunchpadState();const n=d.getShellMode()||\"default\";let i=false;if(e&&t){i=n===e&&o===t}else if(e){i=n===e}else if(t){i=o===t}return i},_loadingIsEnabled:function(e){if(Array.isArray(e.oConfig.excludedShellModeAndLaunchpadStates)){const t=e.oConfig.excludedShellModeAndLaunchpadStates.map(({shellMode:e,launchpadState:t})=>this._matchesShellModeAndLaunchpadState(e,t));if(t.some(e=>e)){return false}}if(Array.isArray(e.oConfig.mandatoryShellModeAndLaunchpadStates)&&e.oConfig.mandatoryShellModeAndLaunchpadStates.length!==0){const t=e.oConfig.mandatoryShellModeAndLaunchpadStates.map(({shellMode:e,launchpadState:t})=>this._matchesShellModeAndLaunchpadState(e,t));return t.every(e=>e)}function t(e){return e.path&&i.last(e.path)!==e.assertionValue}if(e.oConfig.configSwitch){const o=[].concat(e.oConfig.configSwitch);if(o.some(t)){return false}}return true},_checkAndUpdateAsyncQueue:function(e){const o=[];let n;let i;let d;let a=true;let s=false;if(Array.isArray(e.aAsyncStepsLoading)){for(let l=0;l<e.aAsyncStepsLoading.length;l++){d=e.aAsyncStepsLoading[l];n=t.isStepLoaded(d)||t.isStepSkipped(d);i=t.isStepLoading(d);if(i){o.push(d)}a=a&&n;s=s||i}}e.aAsyncStepsLoading=o;return{bAllStepsDone:a,bAStepIsLoading:s}},_startLoadingBlock:function(){let e=false;if(this.oSchedule.iBlockIndex<this.oSchedule.aBlockOrder.length){const e=this.oSchedule.aBlockOrder[this.oSchedule.iBlockIndex];this.oSchedule.aBlocksLoading.push(e);this.oSchedule.oBlocks[e].iStepIndex=0;this.oSchedule.oBlocks[e].aAsyncStepsLoading=[];this.oSchedule.iBlockIndex+=1;t.setForLoadingBlock(e,t.id.loadingBlock.Prepared,\"\",\"Block added to the loading queue.\")}else{e=true}return e},_prepareStepForLoading:function(e,o,n){let i;const d={sStatus:a.Step,oContent:e.LoadingSteps[n],oConfig:this.oSchedule.oSteps[e.LoadingSteps[n].LoadingStep]};if(!this._loadingIsEnabled(d)){d.sStatus=a.Skipped;e.iStepIndex=n;t.setForLoadingStep(d.oContent.LoadingStep,t.id.loadingStep.Skipped,\"\",\"Step set to skipped\");return d}const s=this._checkDependencies(d,o);if(s.bMissing){d.sStatus=a.Error}else if(s.bAllLoaded){t.setForLoadingStep(d.oContent.LoadingStep,t.id.loadingStep.Prepared,\"\",\"Step prepared for control unit\");i=d.oContent.canBeLoadedAsync;e.iStepIndex=n;if(i){t.setForLoadingStep(d.oContent.LoadingStep,t.id.loadingStep.Prepared,\"\",\"Step set on the async loading queue\");e.aAsyncStepsLoading.push(d.oContent.LoadingStep)}}else{d.sStatus=a.Wait;t.setForLoadingStep(d.oContent.LoadingStep,t.id.loadingStep.WaitingForDependencies,\"\",\"Step missing dependencies\")}return d},_checkDependencies:function(e,o){const n={bAllLoaded:true,bMissing:false};if(e.oConfig.Dependencies){for(let i=0;i<e.oConfig.Dependencies.length;i++){n.bAllLoaded=n.bAllLoaded&&t.isStepLoaded(e.oConfig.Dependencies[i]);if(!t.isStepLoaded(e.oConfig.Dependencies[i])&&!t.isStepLoading(e.oConfig.Dependencies[i])){t.setForLoadingStep(e.oContent.LoadingStep,t.id.loadingStep.Aborted,e.oConfig.Dependencies[i],\"Missing a dependency\");t.setForLoadingBlock(o,t.id.loadingBlock.Aborted,e.oConfig.Dependencies[i],\"A step is missing a dependency\");t.setForModule(t.id.module.flpScheduler.id,t.id.module.flpScheduler.LoadingAborted,\"Dependencies can not be resolved: a dependency isn't loading before it is required.\");n.bMissing=true;n.bAllLoaded=false;break}}}return n},_validateConfig:function(e,t){const o=e&&e.OrderOfLoadingBlocks&&e.LoadingBlocks&&e.OrderOfLoadingBlocks.length&&t;if(!o){return false}const n=e.OrderOfLoadingBlocks.reduce((o,n)=>{o=o&&e.LoadingBlocks[n];if(o){const i=e.LoadingBlocks[n];let d=true;if(i.LoadingSteps){let e;for(let o=0;o<i.LoadingSteps.length;o++){e=i.LoadingSteps[o].LoadingStep;d=d&&t[e]}}o=o&&d}return!!o},true);return n}};return c},false);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/SchedulingAgent/logger\", [\"sap/base/Log\"],t=>{\"use strict\";const e=[];let r=true;const n=\"FLPScheduler\";return{getHistory:function(){return e},verboseOn:function(){r=true;return r===true},verboseOff:function(){r=false;return r===false},isVerboseOn:function(){return r===true},clearHistory:function(){e.length=0},dumpHistory:function(t){let r;if(t){r=e.filter(e=>e.id===t);console.table(r)}else{console.table(e)}return r||e},logError:function(r){t.error(this.stateToString(r),undefined,n);e.push(r);return true},logWarning:function(u){if(r){t.warning(this.stateToString(u),n);e.push(u)}return r},logStatus:function(u){if(r){t.info(this.stateToString(u),n);e.push(u)}return r},stateToString:function(t){return`FLP Bootstrap Scheduling Agent :: ${t.type} '${t.id}' /${t.status}${t.remark?`/ : ${t.remark}`:\"/\"}`}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/bootstrap/SchedulingAgent/state\", [\"sap/ushell/bootstrap/SchedulingAgent/logger\",\"sap/base/util/now\",\"sap/base/util/deepClone\",\"sap/base/Log\"],(t,e,o,n)=>{\"use strict\";const i={module:{schedulingAgent:{id:\"schedulingAgent\",FatalError:\"FATAL_ERROR\",Idle:\"IDLE\",Initialized:\"INITIALIZED\",Initializing:\"INITIALIZING\",Waiting:\"WAITING\",WokeUp:\"WOKE_UP\",Working:\"WORKING\"},state:{id:\"state\",FatalError:\"FATAL_ERROR\",Available:\"AVAILABLE\"},flpScheduler:{id:\"flpScheduler\",Initialized:\"INITIALIZED\",WrongConfiguration:\"WRONG_CONFIGURATION\",LoadingAborted:\"LOADING_ABORTED\"},flpLoader:{id:\"flpLoader\"},logger:{id:t,Block:\"BLOCK\",Step:\"STEP\",Module:\"MODULE\"}},loadingStep:{Prepared:\"STEP_PREPARED\",WaitingForDependencies:\"STEP_WAITING_FOR_DEPENDENCIES\",InProgress:\"STEP_IN_PROGRESS\",Done:\"STEP_DONE\",Aborted:\"STEP_ABORTED\",Skipped:\"STEP_SKIPPED\"},loadingBlock:{Prepared:\"BLOCK_PREPARED\",WaitingForDependencies:\"BLOCK_WAITING_FOR_DEPENDENCIES\",InProgress:\"BLOCK_IN_PROGRESS\",TimedOut:\"BLOCK_TIMEDOUT\",Done:\"BLOCK_DONE\",Aborted:\"BLOCK_ABORTED\"}};const d={id:i,oState:{ofLoadingBlock:{},ofLoadingStep:{},ofModule:{}},clear:function(){this.oState={ofLoadingBlock:{},ofLoadingStep:{},ofModule:{}}},getIdBase:function(){return i},setForLoadingBlock:function(o,n,d,a,s){this.oState.ofLoadingBlock[o]={time:e(),status:n,parameter:d,remark:a,byModule:s};t.logStatus({time:this.oState.ofLoadingBlock[o].time,type:i.module.logger.Block,id:o,status:n,parameter:d,remark:a,byModule:s})},getForLoadingBlock:function(t){return this.oState.ofLoadingBlock[t]},setForLoadingStep:function(o,n,d,a,s){this.oState.ofLoadingStep[o]={time:e(),status:n,parameter:d,remark:a,byModule:s};t.logStatus({time:this.oState.ofLoadingStep[o].time,type:i.module.logger.Step,id:o,status:n,parameter:d,remark:a,byModule:s})},getForLoadingStep:function(t){return this.oState.ofLoadingStep[t]},setForModule:function(o,n,d){this.oState.ofModule[o]={time:e(),status:n,remark:d,byModule:undefined};t.logStatus({time:this.oState.ofModule[o].time,type:i.module.logger.Module,id:o,status:n,parameter:undefined,remark:d,byModule:undefined})},getForModule:function(t){return this.oState.ofModule[t]},isBlockWaitingForDependencies:function(t){const e=this.getForLoadingBlock(t);return!!(e&&e.status===i.loadingBlock.WaitingForDependencies)},isBlockLoading:function(t){const e=this.getForLoadingBlock(t);return!!(e&&e.status===i.loadingBlock.InProgress)},isBlockLoaded:function(t){const e=this.getForLoadingBlock(t);return!!(e&&e.status===i.loadingBlock.Done)},isBlockLoadingAborted:function(t){const e=this.getForLoadingBlock(t);return!!(e&&e.status===i.loadingBlock.Aborted)},hasBlockLoadingTimedOut:function(t){const e=this.getForLoadingBlock(t);return!!(e&&e.status===i.loadingBlock.TimedOut)},isStepWaitingForDependencies:function(t){const e=this.getForLoadingStep(t);return!!(e&&e.status===i.loadingStep.WaitingForDependencies)},isStepLoading:function(t){const e=this.getForLoadingStep(t);return!!(e&&e.status===i.loadingStep.InProgress)},isStepLoaded:function(t){const e=this.getForLoadingStep(t);return!!(e&&e.status===i.loadingStep.Done) Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StateManager/LaunchpadState\", [],()=>{\"use strict\";const e={Home:\"home\",App:\"app\"};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StateManager/Operation\", [],()=>{\"use strict\";const e={Add:\"add\",Remove:\"remove\",Set:\"set\"};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StateManager/ShellMode\", [],()=>{\"use strict\";const e={Default:\"\",Standalone:\"standalone\",Embedded:\"embedded\",Merged:\"merged\",Headerless:\"headerless\",Lean:\"lean\",Blank:\"blank\",Minimal:\"minimal\"};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StateRules\", [\"sap/base/Log\",\"sap/ushell/state/StateManager/LaunchpadState\",\"sap/ushell/state/StateManager/Operation\",\"sap/ushell/state/StateManager/ShellMode\",\"sap/ushell/state/StrategyFactory\"],(e,t,s,n,o)=>{\"use strict\";const{Default:i,Standalone:r,Embedded:l,Merged:a,Headerless:d,Lean:m,Blank:h,Minimal:f}=n;class u{#e=null;setShellConfig(e){this.#e=e}applyRules(e,t,s){this.#t(e,t,s);this.#s(e);this.#n(e);this.#o(e);this.#i(e)}#t(e,n,u){if(n===d){o.perform(e,\"header.visible\",s.Set,false)}if(n===d){o.perform(e,\"sideNavigation.visible\",s.Set,false)}let c;if(u===t.Home){c=![d,l,a].includes(n)}else{c=![d,r,l,a].includes(n)}if(!c){o.perform(e,\"header.logo.src\",s.Set,undefined)}if(!e.header.logo.src){o.perform(e,\"header.logo.alt\",s.Set,undefined)}if(u===t.Home){o.perform(e,\"header.headItems\",s.Remove,\"backBtn\")}else{const t=[i,r,l,a,m,f].includes(n);if(!t){o.perform(e,\"header.headItems\",s.Remove,\"backBtn\")}}const p=[i,r,f,l,m,h,a].includes(n);if(!p){o.perform(e,\"header.headEndItems\",s.Remove,\"userActionsMenuHeaderButton\")}let S;if(u===t.Home){S=[i,r,f,m].includes(n)}else{S=[i,f].includes(n)}if(!S){o.perform(e,\"userActions.items\",s.Remove,\"openCatalogBtn\")}let g;if(u===t.Home){g=[i,r,f,m].includes(n)}else{g=[i,f].includes(n)}if(!g){o.perform(e,\"userActions.items\",s.Remove,\"userSettingsBtn\")}let v;if(u===t.Home){v=[i,r,f,m].includes(n)}else{v=[i,f].includes(n)}if(!v){o.perform(e,\"header.headEndItems\",s.Remove,\"NotificationsCountButton\")}}#s(t){if(!this.#e){e.warning(\"StateRules not initialized: Cannot move UserAction ShellHeader\");return}if(this.#e.moveEditHomePageActionToShellHeader){}if(this.#e.moveAppFinderActionToShellHeader){if(t.userActions.items.includes(\"openCatalogBtn\")){o.perform(t,\"userActions.items\",s.Remove,\"openCatalogBtn\");o.perform(t,\"header.headEndItems\",s.Add,\"openCatalogBtn\")}}if(this.#e.moveUserSettingsActionToShellHeader){if(t.userActions.items.includes(\"userSettingsBtn\")){o.perform(t,\"userActions.items\",s.Remove,\"userSettingsBtn\");o.perform(t,\"header.headEndItems\",s.Add,\"userSettingsBtn\")}}if(this.#e.moveContactSupportActionToShellHeader){if(t.userActions.items.includes(\"ContactSupportBtn\")){o.perform(t,\"userActions.items\",s.Remove,\"ContactSupportBtn\");o.perform(t,\"header.headEndItems\",s.Add,\"ContactSupportBtn\")}}}#n(e){if(e.subHeader.items.length>1){const t=[...e.subHeader.items];for(let n=0;n<t.length-1;n++){const i=t[n];o.perform(e,\"subHeader.items\",s.Remove,i)}}}#o(e){if(e.sidePane.items.length>1){const t=[...e.sidePane.items];for(let n=0;n<t.length-1;n++){const i=t[n];o.perform(e,\"sidePane.items\",s.Remove,i)}}}#i(e){const t=3;const n=[...e.header.headItems];if(n.length>t){for(let i=t;i<n.length;i++){const t=n[i];o.perform(e,\"header.headItems\",s.Remove,t)}}}reset(){this.#e=null}}return new u});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StrategyFactory\", [\"sap/base/util/ObjectPath\",\"sap/ushell/state/StateManager/Operation\",\"sap/ushell/state/StrategyFactory/DefaultStrategy\",\"sap/ushell/state/StrategyFactory/FloatingActionsStrategy\",\"sap/ushell/state/StrategyFactory/FloatingContainerStrategy\",\"sap/ushell/state/StrategyFactory/HeadItemsStrategy\",\"sap/ushell/state/StrategyFactory/HeadEndItemsStrategy\",\"sap/ushell/state/StrategyFactory/SidePaneStrategy\",\"sap/ushell/state/StrategyFactory/SubHeaderStrategy\",\"sap/ushell/state/StrategyFactory/UserActionsStrategy\"],(t,e,a,r,s,i,n,o,l,y)=>{\"use strict\";class d{perform(t,a,r,s){const i=this.#t(a,r);if(r===e.Add||r===e.Remove){this.#e(t,a,s,i);return}this.#a(t,a,s,i)}#e(e,a,r,s){const i=t.get(a,e);if(!i){throw new Error(`Invalid path: ${a}`)}if(!Array.isArray(i)){throw new Error(`The path ${a} does not point to an array.`)}s(i,r)}#a(e,a,r,s){let i;let n;if(a.lastIndexOf(\".\")<0){i=a;n=e}else{i=a.substring(a.lastIndexOf(\".\")+1);const r=a.substring(0,a.lastIndexOf(\".\"));n=t.get(r,e)}if(!n||!Object.hasOwn(n,i)){throw new Error(`Invalid path: ${a}`)}s(n,i,r)}#t(t,e){let d;switch(t){case\"header.headItems\":d=i[e]?.bind(i);break;case\"header.headEndItems\":d=n[e]?.bind(n);break;case\"userActions.items\":d=y[e]?.bind(y);break;case\"floatingActions.items\":d=r[e]?.bind(r);break;case\"floatingContainer.items\":d=s[e]?.bind(s);break;case\"sidePane.items\":d=o[e]?.bind(o);break;case\"subHeader.items\":d=l[e]?.bind(l);break;default:}if(!d){d=a[e]?.bind(a)}return d}}return new d});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StrategyFactory/DefaultStrategy\", [],()=>{\"use strict\";class e{add(e,n){if(n===undefined||n===null){return}if(e.includes(n)){return}e.push(n)}remove(e,n){const i=e.indexOf(n);if(i===-1){return}e.splice(i,1)}set(e,n,i){e[n]=i}}return new e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StrategyFactory/FloatingActionsStrategy\", [\"sap/base/Log\",\"sap/ui/core/Element\"],(i,e)=>{\"use strict\";class n{add(n,t){if(!e.getElementById(t)){i.warning(`Failed to find control with id '${t}'`);return}if(n.includes(t)){this.#i(n,t)}this.#e(n,t)}#i(i,e){const n=i.indexOf(e);if(n===-1){return}i.splice(n,1)}#e(i,e){i.push(e)}}return new n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StrategyFactory/FloatingContainerStrategy\", [],()=>{\"use strict\";class e{add(e,s){e.splice(0,e.length);e.push(s)}}return new e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StrategyFactory/HeadEndItemsStrategy\", [\"sap/base/Log\",\"sap/ui/core/Element\",\"sap/ushell/api/NewExperience\"],(e,t,n)=>{\"use strict\";const s=10;class r{add(n,s){if(n.includes(s)){return}if(!t.getElementById(s)){e.warning(`Failed to find control with id '${s}'`);return}if(this.#e([...n,s])){e.error(\"The maximum number of head end items has been reached. The item could not be added.\")}else{this.#t(n,s)}}#e(e){const t=[...new Set(e)];const n=[\"endItemsOverflowBtn\"];const r=t.filter(e=>!n.includes(e)).length;return r>s}#t(e,t){e.push(t);const s={shellAppTitle:-7,shellBarSpacer:-4,sf:-3,\"sap.das.webclientplugin.s4.shellitem\":-2,\"sap.das.webclientplugin.workzone.shellitem\":-2,copilotBtn:-1,NotificationsCountButton:1,endItemsOverflowBtn:2,userActionsMenuHeaderButton:3,productSwitchBtn:4};s[n.getShellHeaderControl()?.getId()]=-5;s[n.getOverflowItemId()]=-6;e.sort((e,t)=>{const n=s[e]||0;const r=s[t]||0;if(n===r){return e.localeCompare(t)}return n-r})}}return new r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StrategyFactory/HeadItemsStrategy\", [\"sap/base/Log\",\"sap/ui/core/Element\"],(e,n)=>{\"use strict\";const t=3;class s{add(t,s){if(t.includes(s)){return}if(!n.getElementById(s)){e.warning(`Failed to find control with id '${s}'`);return}if(this.#e([...t,s])){e.error(\"The maximum number of head items has been reached. The item could not be added.\")}else{this.#n(t,s)}}#e(e){const n=[...new Set(e)];const s=[\"backBtn\",\"sideMenuExpandCollapseBtn\"];const d=n.filter(e=>!s.includes(e)).length;return d>t}#n(e,n){e.push(n);const t={sideMenuExpandCollapseBtn:-2,backBtn:-1};e.sort((e,n)=>{const s=t[e]||0;const d=t[n]||0;return s-d})}}return new s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StrategyFactory/SidePaneStrategy\", [\"sap/base/Log\",\"sap/ui/core/Element\"],(e,i)=>{\"use strict\";class n{add(n,t){if(!i.getElementById(t)){e.warning(`Failed to find control with id '${t}'`);return}if(n.includes(t)){this.#e(n,t)}this.#i(n,t)}#e(e,i){const n=e.indexOf(i);if(n===-1){return}e.splice(n,1)}#i(e,i){e.push(i)}}return new n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StrategyFactory/SubHeaderStrategy\", [\"sap/base/Log\",\"sap/ui/core/Element\"],(e,d)=>{\"use strict\";class i{add(i,r){if(!d.getElementById(r)){e.warning(`Failed to find control with id '${r}'`);return}if(i.includes(r)){this.#e(i,r)}this.#d(i,r)}#e(e,d){const i=e.indexOf(d);if(i===-1){return}e.splice(i,1)}#d(e,d){e.push(d)}}return new i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StrategyFactory/UserActionsStrategy\", [],()=>{\"use strict\";class t{add(t,n){if(t.includes(n)){return}t.push(n);const e={userSettingsBtn:-7,recentActivitiesBtn:-6,frequentActivitiesBtn:-5,openCatalogBtn:-4,ActionModeBtn:-3,EditModeBtn:-2,ContactSupportBtn:-1,dataPrivacyBtn:1,aboutBtn:2,logoutBtn:3};t.sort((t,n)=>{const i=e[t]||0;const s=e[n]||0;return i-s})}}return new t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/modules/BackNavigation\", [\"sap/ui/core/library\",\"sap/ui/core/routing/History\",\"sap/ushell/Container\"],(t,i,e)=>{\"use strict\";const a=t.routing.HistoryDirection;function n(){let t=false;let n;this.isBackNavigation=function(){return i.getInstance().getDirection()===a.Backwards};this.navigateBack=async function(){if(t===true){window.history.back()}else if(n){n()}else{const t=await e.getServiceAsync(\"Navigation\");const i=await t.isInitialNavigation();if(i){return t.navigate({target:{shellHash:\"#\"},writeHistory:false})}window.history.back()}};this.setNavigateBack=function(i){t=false;n=i};this.resetNavigateBack=function(){t=true;n=undefined};this.restore=function(i){t=i.bDefaultBrowserBack;n=i.fnCustomBackNavigation};this.store=function(i){i.bDefaultBrowserBack=t;i.fnCustomBackNavigation=n};this.reset=function(){t=false;n=undefined}}return new n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/modules/ContentDensity\", [\"sap/ui/Device\",\"sap/ushell/Container\",\"sap/ushell/EventHub\",\"sap/ushell/services/AppConfiguration\",\"sap/ushell/state/StateManager\"],(t,e,n,i,s)=>{\"use strict\";const a=s.Operation;class o{#t=()=>{throw new Error(\"ContentDensity is not initialized\")};#e=false;#n=[];constructor(){this.#i()}async init(){if(this.#e){return}this.#e=true;this.#t=this.#s.bind(this);this.#n.push(n.on(\"toggleContentDensity\").do(this.#t));const t=await e.getServiceAsync(\"AppLifeCycle\");t?.attachAppLoaded(this.#t);await this.#s();s.refreshState(\"application.contentDensity\")}#i(){const t=this.#a();const e=this.#o();if(t.length===1){s.updateAllBaseStates(\"application.contentDensity\",a.Set,t[0]);s.updateCurrentState(\"application.contentDensity\",a.Set,t[0]);return}s.updateAllBaseStates(\"application.contentDensity\",a.Set,e);s.updateCurrentState(\"application.contentDensity\",a.Set,e)}async resetContentDensity(){await this.#s()}async#s(){const t=await this.#c();const e=this.#p();const n=this.#a();const i=this.#o();if(n.length===1){s.updateAllBaseStates(\"application.contentDensity\",a.Set,n[0]);s.updateCurrentState(\"application.contentDensity\",a.Set,n[0]);return}const o=t||i;let c;if(e.length===1){c=e[0]}else{c=o}s.updateAllBaseStates(\"application.contentDensity\",a.Set,o);s.updateCurrentState(\"application.contentDensity\",a.Set,c)}#o(){if(t.support.touch){return\"cozy\"}return\"compact\"}#a(){if(!t.system.desktop&&!t.system.combi){return[\"cozy\"]}return[\"cozy\",\"compact\"]}#p(){const t=i.getMetadata();const e=[];if(t.cozyContentDensity){e.push(\"cozy\")}if(t.compactContentDensity){e.push(\"compact\")}return e}async#c(){const t=await e.getServiceAsync(\"UserInfo\");const n=t.getUser();return n?.getContentDensity()}async reset(){const t=await e.getServiceAsync(\"AppLifeCycle\");t?.detachAppLoaded(this.#t);this.#n.forEach(t=>t.off());this.#t=()=>{throw new Error(\"Favicon is not initialized\")};this.#e=false;this.#n=[]}}return new o});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/modules/Favicon\", [\"sap/ui/core/Theming\",\"sap/ui/util/Mobile\",\"sap/ushell/Config\",\"sap/ushell/utils\"],(e,i,t,s)=>{\"use strict\";class a{#e=()=>{throw new Error(\"Favicon is not initialized\")};#i=false;#t=[];init(){if(this.#i){return}this.#i=true;this.#e=this.#s.bind(this);e.attachApplied(this.#e);this.#t.push(t.on(\"/core/shell/favIcon\").do(this.#e))}async#a(){let e;let i=false;const[a]=await s.getThemingParameters([\"sapUiShellFavicon\"]);if(a){const t=/url[\\s]*\\('?\"?([^'\")]*)'?\"?\\)/.exec(a);if(t){e=t[1];i=true}else if(a!==\"''\"&&a!==\"none\"){e=a}}const n=t.last(\"/core/shell/favIcon\");if(!e&&n){e=n;i=true}if(!e){const i=sap.ui.require.toUrl(\"sap/ushell\");e=`${i}/themes/base/img/launchpad_favicon.ico`}return{favicon:e,isCustomFavicon:i}}async#s(){const{favicon:e,isCustomFavicon:t}=await this.#a();let s;if(t){s={phone:e,\"phone@2\":e,tablet:e,\"tablet@2\":e,favicon:e,precomposed:false}}else{const i=sap.ui.require.toUrl(\"sap/ushell\");s={phone:`${i}/themes/base/img/launchicons/phone-icon_120x120.png`,\"phone@2\":`${i}/themes/base/img/launchicons/phone-retina_180x180.png`,tablet:`${i}/themes/base/img/launchicons/tablet-icon_152x152.png`,\"tablet@2\":`${i}/themes/base/img/launchicons/tablet-retina_167x167.png`,favicon:e,precomposed:false}}i.setIcons(s)}reset(){e.detachApplied(this.#e);this.#t.forEach(e=>e.off());this.#e=()=>{throw new Error(\"Favicon is not initialized\")};this.#i=false;this.#t=[]}}return new a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/modules/HeaderLogo\", [\"sap/base/i18n/Localization\",\"sap/base/Log\",\"sap/ui/core/Theming\",\"sap/ushell/Config\",\"sap/ushell/resources\",\"sap/ushell/state/StateManager\",\"sap/ushell/utils\"],(t,e,o,s,i,a,n)=>{\"use strict\";const r=a.Operation;const l=sap.ui.require.toUrl(\"sap/ushell/themes/base/img/SAPLogo.svg\");class c{#t=()=>{throw new Error(\"Favicon is not initialized\")};#e=false;#o=[];init(){if(this.#e){return}this.#e=true;this.#t=this.#s.bind(this);o.attachApplied(this.#t);this.#o.push(s.on(\"/core/companyLogo/url\").do(this.#t));this.#o.push(s.on(\"/core/companyLogo/accessibleText\").do(this.#t))}async#i(){const t=s.last(\"/core/companyLogo/url\");if(t){return t}const[e]=await n.getThemingParameters([\"sapUiGlobalLogo\"]);if(e){if(e===\"none\"){return l}const t=/url[\\s]*\\('?\"?([^'\")]*)'?\"?\\)/.exec(e);if(t){return t[1]}return\"\"}return l}#a(o){if(!o){return\"\"}if(o===l){return i.i18n.getText(\"sapLogoText\")}const a=i.i18n.getText(\"SHELL_LOGO_TOOLTIP\");let n;const r=s.last(\"/core/companyLogo/accessibleText\");if(r){try{const e=JSON.parse(r);if(e){const o=t.getLanguage();n=e[o];if(!n){Object.keys(e).forEach(t=>{if(t.startsWith(o)){n=e[t]}})}if(!n){Object.keys(e).forEach(t=>{if(o.startsWith(t)){n=e[t]}})}if(!n){n=e.default}}}catch(t){e.warning(\"Custom logo image ALT text is not a JSON string.\",r);n=r}}return n||a}async#s(){const t=await this.#i();const e=this.#a(t);a.updateAllBaseStates(\"header.logo.src\",r.Set,t);a.updateAllBaseStates(\"header.logo.alt\",r.Set,e)}reset(){o.detachApplied(this.#t);this.#o.forEach(t=>t.off());this.#t=()=>{throw new Error(\"Favicon is not initialized\")};this.#e=false;this.#o=[]}}return new c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin\", [\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/core/RenderManager\",\"sap/ui/core/support/Plugin\",\"sap/ui/model/json/JSONModel\",\"sap/m/Button\",\"sap/m/IconTabBar\",\"sap/m/IconTabFilter\",\"sap/m/Label\",\"sap/m/Text\",\"sap/m/MessageStrip\",\"sap/m/FlexBox\",\"sap/ui/model/resource/ResourceModel\",\"sap/m/SearchField\",\"sap/m/MessageBox\",\"sap/base/util/isEmptyObject\"],(e,t,n,i,o,r,s,a,l,p,u,f,c,g,d,y)=>{\"use strict\";const h=\"SAP Fiori launchpad configuration\";const b=new c({async:true,bundleName:\"sap/ushell/support/plugins/flpConfig/i18n/FlpConfigurationPlugin\"});let E;b.getResourceBundle().then(e=>{E=e});const I=i.extend(\"sap.ushell.support.plugins.flpConfig.FlpConfigurationPlugin\",{constructor:function(e){i.apply(this,[\"sapUiFlpConfigurationPlugin\",h,e]);this._oSupportStub=e;if(this.runsAsToolPlugin()){this._aEventIds=[`${this.getId()}ReceiveData`]}else{this._aEventIds=[`${this.getId()}RequestData`]}}});I.prototype.isToolPlugin=function(){return true};I.prototype.isAppPlugin=function(){return true};I.prototype.init=function(){i.prototype.init.apply(this,arguments);if(this.runsAsToolPlugin()){setTimeout(()=>{this.requestData()},500);const e=(new n).getInterface();e.openStart(\"div\",this.getId());e.openEnd();e.close(\"div\");e.flush(this.dom());e.destroy()}else{}};I.prototype.exit=function(){i.prototype.exit.apply(this,arguments)};I.prototype.requestData=function(){this._oSupportStub.sendEvent(`${this.getId()}RequestData`,{eventData:{data:{}}})};I.prototype.onsapUiFlpConfigurationPluginRequestData=function(e){const t={};this.prepareForSending(window[\"sap-ushell-config\"],t);this._oSupportStub.sendEvent(`${this.getId()}ReceiveData`,{eventData:{data:t}})};I.prototype.onsapUiFlpConfigurationPluginReceiveData=async function(e){this.flpConfig=e.getParameter(\"eventData\").data;await t.load(\"sap.ui.table\");sap.ui.require([\"sap/ui/table/TreeTable\",\"sap/ui/table/Column\",\"sap/ui/table/library\"],(e,t,n)=>{this.getFlpConfigurationPluginUI(null,e,t,n.SelectionMode)})};function m(e,t){let n=0;if(e[t]){e[t].forEach(e=>{const i=m(e,t);if(i>n){n=i}})}return n+1}function C(){let t=0;const n=e.getElementById(\"sap-ui-support-flpConfigurationPlugin-TabBar\").getSelectedKey();const i=e.getElementById(\"sap-ui-support-flpConfigurationPlugin-TabBar\").getModel().getData();if(Array.isArray(i[n])){i[n].forEach((e,o)=>{const r=m(i[n][o],n);if(t<r){t=r}});if(t>0){e.getElementById(`sap-ui-support-flpConfigurationPlugin-TreeTable${n}`).expandToLevel(t-1)}else{d.error(new l({text:E.getText(\"MISSING_HIERARCHY_LEVEL\")}))}}}function T(){const t=e.getElementById(\"sap-ui-support-flpConfigurationPlugin-TabBar\").getSelectedKey();e.getElementById(`sap-ui-support-flpConfigurationPlugin-TreeTable${t}`).collapseAll()}function P(e,t,n,i,o){e.forEach((e,r)=>{if(e[t]){n=`${n}.${r}.${t}`;n=P(e[t],t,n,i,o)}else if(e.property.indexOf(o)>-1){n=`${n}.${r}`;i.push(n);n=n.substring(0,n.lastIndexOf(\".\"))}});n=n.substring(0,n.lastIndexOf(\".\"));if(isNaN(parseInt(n.substr(n.lastIndexOf(\".\")+1),10))){return n}return n.substring(0,n.lastIndexOf(\".\"))}function w(e,t){for(let n=0;n<t.length;n++){if(e){e=e[t[n]]}}return e}function B(e,t,n){const i=n.split(\",\");for(let t=0;t<i.length-1;t++){e=e[i[t]]}e[i[i.length-1]]=t}function S(e,t,n){if(Array.isArray(e)){e.forEach(e=>{if(e[t]){n=S(e[t],t,n)}else{n+=1}});return n}return undefined}function x(e,t,n,i,o){if(t.length===1){e[t[0]]=n}else{const r=t.shift();e[r]=x(typeof e[r]===\"undefined\"?{}:e[r],t,n,i,o)}if(e[i]&&e.property&&e.value){delete e.value;e.property=\"\"}return e}I.prototype.onPressSearchNewModel=function(t){let n;let i;let r;let s;let a;let l;let p;let u;let f;let c=[];const g={};let d=\"\";const y={};const h={};let b=e.getElementById(\"sap-ui-support-flpConfigurationPlugin-TabBar\").getModel(\"Full\");const E=t.getParameter(\"query\");if(!b){b=e.getElementById(\"sap-ui-support-flpConfigurationPlugin-TabBar\").getModel().getData()}else{b=b.getData()}Object.keys(b).forEach(e=>{g[e]=0});if(E){for(const e in b){d=e;n=[];P(b[e],e,d,n,E);h[e]=n}Object.keys(h).forEach(e=>{s=h[e];for(let e=0;e<s.length;e++){a=s[e].split(\".\");l=[];for(let e=0;e<a.length;e++){if(!isNaN(parseInt(a[e],10))){l.push(parseInt(a[e],10))}else{l.push(a[e])}}for(let e=0;e<l.length;e+=2){p={property:\"\"};p[l[0]]=[];if(isNaN(parseInt(l[e],10))){i=l.slice(0,e+1);if(!w(y,i)&&typeof w(y,l.slice(0,l.length-2))!==\"object\"){x(y,i,[p],l[0],i.length)}f=w(b,l.slice(0,e+2));if(f&&w(y,l.slice(0,e+2))){B(y,f.property,`${l.slice(0,e+2).toString()},property`)}else if(e!==l.length-2){c.push(l.slice(0,e+2).toString())}}}r=l.slice(0);x(y,l,{property:\"\",value:\"\"},l[0],i.length);f=w(b,r);if(f){B(y,f.value,`${r.toString()},value`);B(y,f.property,`${r.toString()},property`)}}c.forEach(e=>{f=w(b,e.split(\",\"));if(f&&w(y,e.split(\",\"))){B(y,f.property,`${e},property`)}});c=[];if(y[e]&&Array.isArray(y[e][0][e])&&y[e][0][e].length===0){y[e]=y[e].splice(1)}});e.getElementById(\"sap-ui-support-flpConfigurationPlugin-TabBar\").setModel(new o(y));e.getElementById(\"sap-ui-support-flpConfigurationPlugin-TabBar\").setModel(new o(b),\"Full\");let t=0;Object.keys(g).forEach(n=>{u=n;if(y[u]&&Array.isArray(y[u])){y[u].forEach((e,n)=>{const i=m(y[u][n],u);if(t<i){t=i}})}e.getElementById(`sap-ui-support-flpConfigurationPlugin-TreeTable${n}`).expandToLevel(t-1);e.getElementById(n).setCount(S(y[n],n,0))})}else{Object.keys(g).forEach(t=>{e.getElementById(t).setCount(S(b[t],t,0))});e.getElementById(\"sap-ui-support-flpConfigurationPlugin-TabBar\").setModel(new o(b))}};function A(e,t){if(typeof e!==\"object\"){return[{property:t,value:e}]}return Object.keys(e).map(n=>{const i={property:n};const o=e[n];if(typeof o===\"object\"&&o!==null&&!y(o)&&!Array.isArray(o)){i[t]=A(o,t);return i}try{i.value=JSON.stringify(o)}catch(e){i.value=o}return i})}I.prototype.prepareForSending=function(e,t){Object.keys(e).forEach(n=>{const i=e[n];switch(typeof i){case\"object\":if(i===null){t[n]=i;return}else if(Array.isArray(i)){t[n]=[]}else{t[n]={}}this.prepareForSending(e[n],t[n]);break;case\"undefined\":t[n]=\"undefined\";return;case\"function\":return;default:t[n]=e[n];return}})};I.prototype.getNewConfigJSON=function(e){const t={};Object.keys(e).forEach(n=>{t[n]=A(e[n],n)});return t};I.prototype.getFlpConfigurationPluginUI=function(t,n,i,c){let d;const h={};const I=this.getNewConfigJSON(this.flpConfig);const m=new o(I);for(const e in I){h[e]=S(I[e],e,0)}if(!e.getElementById(\"sap-ui-support-flpConfigurationPlugin-TabBar\")){if(!I||y(I)){new u({text:E.getText(\"ERROR_MESSAGE\"),type:\"Warning\",showIcon:true,showCloseButton:false}).placeAt(this.getId())}else{d=new s(\"sap-ui-support-flpConfigurationPlugin-TabBar\",{headerMode:\"Inline\"});Object.keys(this.flpConfig).forEach((e,t)=>{d.insertItem(new a(e,{key:e,text:e,count:h[e],content:[new n(`sap-ui-support-flpConfigurationPlugin-TreeTable${e}`,{rows:`{/${e}/}`,selectionMode:c.None,enableCellFilter:true,extension:[new f({items:[new r({icon:\"sap-icon://expand\",text:\"{i18n>EXPAND_BUTTON}\",press:C}),new r({icon:\"sap-icon://collapse\",text:\"{i18n>COLLAPSE_BUTTON}\",press:T})]})],columns:[new i({label:new l({text:\"{i18n>COLUMN_PROPERTY}\"}),template:new p({text:\"{property}\"})}),new i({label:new l({text:\"{i18n>COLUMN_VALUE}\"}),template:new p({text:\"{value}\"})})]})]}),t)});const e=new g({search:this.onPressSearchNewModel});e.placeAt(this.getId());d.setModel(m);d.setModel(b,\"i18n\");d.placeAt(this.getId())}}};return I});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/ContentNodeSelector\", [\"./ContentNodeSelectorRenderer\",\"sap/base/util/deepClone\",\"sap/m/Column\",\"sap/m/ColumnListItem\",\"sap/m/Label\",\"sap/m/MultiInput\",\"sap/m/Token\",\"sap/ui/core/Element\",\"sap/ui/core/Fragment\",\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/library\",\"sap/ushell/resources\"],(e,t,n,o,s,i,l,a,r,c,d,p,u,g,h,_,y,f)=>{\"use strict\";const m=y.ContentNodeType;const b=c.extend(\"sap.ushell.ui.ContentNodeSelector\",{metadata:{library:\"sap.ushell\",aggregations:{content:{type:\"sap.m.MultiInput\",multiple:false,visibility:\"hidden\"}},associations:{labelId:{type:\"sap.ui.core.Control\",multiple:false}},events:{selectionChanged:{},valueHelpEndButtonPressed:{}}},renderer:e});b.prototype.init=function(){this._oModel=new g({items:[],suggestions:[],isSpaces:h.last(\"/core/spaces/enabled\")});this._oDeviceModel=new g(d);this.setModel(this._oModel,\"_internal\");this.setModel(this._oDeviceModel,\"_device\");this.setModel(f.i18nModel,\"_i18n\");if(!this.getAggregation(\"content\")){const e=this._createMultiInput();this.setAggregation(\"content\",e)}this.setBusyIndicatorDelay(0);this._loadContentNodes().then(this._overwriteLabel.bind(this))};b.prototype._createMultiInput=function(){const e=new i({ariaLabelledBy:this.getLabelId(),valueHelpRequest:this._showValueHelp.bind(this),tokenUpdate:this._onTokenUpdate.bind(this),required:true,suggestionColumns:[new n({header:new s({text:\"{= ${_internal>/isSpaces} ? ${_i18n>contentNodeSelectorPage} : ${_i18n>contentNodeSelectorHomepageGroup}}\"})}),new n({visible:\"{= ${_internal>/isSpaces}}\",header:new s({text:\"{_i18n>contentNodeSelectorSpace}\"})})],suggestionRows:{path:\"_internal>/suggestions\",template:new o({cells:[new s({text:\"{_internal>label}\"}),new s({visible:\"{_internal>/isSpaces}\",text:\"{= ${_internal>spaceTitles}.join(', ')}\"})]}),templateShareable:false}});e.addValidator(this._validateItem.bind(this));return e};b.prototype._overwriteLabel=function(){const e=this.getLabelId();const t=a.getElementById(e);if(t&&typeof t.setText===\"function\"){if(this._oModel.getProperty(\"/isSpaces\")){t.setText(f.i18n.getText(\"contentNodeSelectorHomepagePages\"))}else{t.setText(f.i18n.getText(\"contentNodeSelectorHomepageGroups\"))}}if(t&&typeof t.setRequired===\"function\"&&t.isPropertyInitial(\"required\")){t.setRequired(true)}};b.prototype.exit=function(){this._oModel.destroy();this._oDeviceModel.destroy()};b.prototype.setLabelId=function(e){this.setAssociation(\"labelId\",e);this._overwriteLabel();const t=this.getAggregation(\"content\");if(t){t.addAriaLabelledBy(e)}return this};b.prototype.getSelectedContentNodes=function(){const e=this.getAggregation(\"content\");const n=e.getTokens();return n.map(e=>{const n=e.getBindingContext(\"_internal\").getObject();const o=t(n);delete o.selected;delete o.spaceTitles;return o})};b.prototype._getMyHomeEnablement=function(){return new Promise((e,t)=>{const n=h.last(\"/core/spaces/myHome/enabled\");const o=_.getUser().getShowMyHome();e(n&&o)})};b.prototype._filterPersonalizableContentNodes=function(e){if(!Array.isArray(e)){return[]}return e.reduce((e,t)=>{if(this._bShowOnlyMyHome&&t.id!==this._sMyHomeSpaceId&&t.id!==this._sMyHomePageId){return e}t.children=this._filterPersonalizableContentNodes(t.children);if(t.type===m.HomepageGroup||t.type===m.Space&&t.children.length||t.type===m.Page&&t.isContainer){e.push(t)}return e},[])};b.prototype._loadContentNodes=function(){this.setBusy(true);return Promise.all([_.getServiceAsync(\"BookmarkV2\"),this._getMyHomeEnablement()]).then(e=>{const n=e[0];const o=e[1];const s=h.last(\"/core/shell/enablePersonalization\");this._bShowOnlyMyHome=!s&&o;this._sMyHomeSpaceId=h.last(\"/core/spaces/myHome/myHomeSpaceId\");this._sMyHomePageId=h.last(\"/core/spaces/myHome/myHomePageId\");return n.getContentNodes().then(e=>{e=t(e);e=this._filterPersonalizableContentNodes(e);b._normalizeContentNodes(e);this._oModel.setProperty(\"/items\",e);const n=b._getSuggestions(e);for(let e=0;e<n.length;e++){n[e].selected=false}this._oModel.setProperty(\"/suggestions\",n);this.setBusy(false)})})};b.prototype._showValueHelp=function(e){const t=e.getSource();const n=t.getValue();if(!this._oValueHelpDialog){r.load({id:`${this.getId()}-ValueHelpDialog`,name:\"sap.ushell.ui.ContentNodeSelectorValueHelp\",controller:this}).then(e=>{this.addDependent(e);this._oValueHelpDialog=e;this._openValueHelpDialog(n)})}else{this._openValueHelpDialog(n)}};b.prototype._openValueHelpDialog=function(e){const t=r.byId(`${this.getId()}-ValueHelpDialog`,\"ContentNodesTree\");t.expandToLevel(1);this._oValueHelpDialog.open();const n=r.byId(`${this.getId()}-ValueHelpDialog`,\"ContentNodesSearch\");n.setValue(e);this._onValueHelpSearch()};b.prototype._onValueHelpSearch=function(){const e=r.byId(`${this.getId()}-ValueHelpDialog`,\"ContentNodesSearch\");const t=e.getValue();const n=r.byId(`${this.getId()}-ValueHelpDialog`,\"ContentNodesTree\");const o=n.getBinding(\"items\");o.filter(new p({path:\"label\",operator:u.Contains,value1:t}))};b.prototype._onValueHelpBeginButtonPressed=function(){const e=r.byId(`${this.getId()}-ValueHelpDialog`,\"ContentNodesTree\");const t=e.getSelectedContextPaths();const n=this.getAggregation(\"content\");n.destroyTokens();let o;let s;for(let e=0;e<t.length;e++){s=t[e];const i=this.getModel(\"_internal\");const l=n.getAggregation(\"tokens\").map(e=>e.getProperty(\"key\")).indexOf(i.getProperty(s).id);if(l<0){o=this._createToken(s);n.addValidateToken({token:o})}}n.setValue(\"\");this._oValueHelpDialog.close()};b.prototype._onValueHelpEndButtonPressed=function(){this.fireValueHelpEndButtonPressed();this._oValueHelpDialog.close()};b.prototype._onTokenUpdate=function(e){const t=e.getParameter(\"addedTokens\");const n=e.getParameter(\"removedTokens\");this._setTokensSelected(t,true);this._setTokensSelected(n,false);setTimeout(this.fireSelectionChanged.bind(this),0)};b.prototype._setTokensSelected=function(e,t){let n;for(let o=0;o<e.length;o++){n=e[o].getBindingContext(\"_internal\");n.getModel().setProperty(n.getPath(\"selected\"),t)}};b.prototype._validateItem=function(e){if(e.suggestedToken){return e.suggestedToken}const t=e.suggestionObject;if(!t){return null}const n=t.getBindingContext(\"_internal\");return this._createToken(n.getPath())};b.prototype._createToken=function(e){const t=new l({key:\"{_internal>id}\",text:\"{_internal>label}\"});t.bindObject({path:e,model:\"_internal\"});return t};b._getSuggestions=function(e){const t=[];b._getChildren(e,t);return t};b._getChildren=function(e,t){let n;for(let o=0;o<e.length;o++){n=e[o];if(n.isContainer&&t.indexOf(n)===-1){t.push(n)}if(n.children){b._getChildren(n.children,t)}}};b._normalizeContentNodes=function(e){const t={};b._visitPages(e,(e,n)=>{n.spaceTitles=n.spaceTitles||[];if(t[n.id]){t[n.id].spaceTitles.push(e.label);return t[n.id]}n.spaceTitles.push(e.label);t[n.id]=n;return n})};b._visitPages=function(e,t){if(e===undefined||e===null){return}for(let n=0;n<e.length;n++){const o=e[n];if(o.type!==m.Space){return}if(o.children){for(let e=0;e<o.children.length;e++){const n=o.children[e];o.children[e]=t(o,n)}}}};b.prototype.clearSelection=function(){const e=this.getAggregation(\"content\");const t=e.getTokens();t.forEach(e=>{const t=e.getBindingContext(\"_internal\");this._oModel.setProperty(t.getPath(\"selected\"),false)});e.destroyTokens()};b.prototype.setValueState=function(e){const t=this.getAggregation(\"content\");t.setValueState(e)};b.prototype.setValueStateText=function(e){const t=this.getAggregation(\"content\");t.setValueStateText(e)};return b});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/ContentNodeSelectorRenderer\", [],()=>{\"use strict\";const e={apiVersion:2};e.render=function(e,n){e.openStart(\"div\",n);e.openEnd();e.renderControl(n.getAggregation(\"content\"));e.close(\"div\")};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/ContentNodeTreeItem\", [\"sap/m/StandardTreeItem\"],e=>{\"use strict\";const t=e.extend(\"sap.ushell.ui.bookmark.ContentNodeTreeItem\",{metadata:{library:\"sap.ushell\",properties:{selectable:{type:\"boolean\",defaultValue:true,group:\"Behavior\"}}},renderer:e.getMetadata().getRenderer()});t.prototype.setSelected=function(t){this._bSelected=t;return e.prototype.setSelected.apply(this,arguments)};t.prototype.setSelectable=function(t){this.setProperty(\"selectable\",t,false);if(t){e.prototype.setSelected.call(this,this._bSelected)}return this};t.prototype.isSelectable=function(){return this.getSelectable()};t.prototype.getModeControl=function(){if(!this.getSelectable()){return null}return e.prototype.getModeControl.apply(this,arguments)};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/CustomGroupHeaderListItem\", [\"sap/m/GroupHeaderListItem\",\"sap/m/Text\",\"./CustomGroupHeaderListItemRenderer\"],(t,e,i)=>{\"use strict\";const s=t.extend(\"sap.ushell.ui.CustomGroupHeaderListItem\",{metadata:{library:\"sap.ushell\",properties:{description:{type:\"string\",group:\"Data\",defaultValue:null}},aggregations:{_titleText:{type:\"sap.m.Text\",multiple:false,visibility:\"hidden\"},_descriptionText:{type:\"sap.m.Text\",multiple:false,visibility:\"hidden\"}}},renderer:i});s.prototype.setTitle=function(t){this.setProperty(\"title\",t);const i=this.getAggregation(\"_titleText\");if(i){i.setText(t)}else{this.setAggregation(\"_titleText\",new e({text:t}),true)}};s.prototype.setDescription=function(t){this.setProperty(\"description\",t);const i=this.getAggregation(\"_descriptionText\");if(i){i.setText(t)}else{this.setAggregation(\"_descriptionText\",new e({text:t}),true)}};s.prototype.getContentAnnouncement=function(){return`${this.getTitle()}, ${this.getDescription()}`};s.prototype.setCount=function(){return this};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/CustomGroupHeaderListItemRenderer\", [\"sap/ui/core/library\",\"sap/ui/core/Renderer\",\"sap/m/GroupHeaderListItemRenderer\",\"sap/ushell/library\"],(e,t,r,n)=>{\"use strict\";const s=e.TextDirection;const i=t.extend(r);i.apiVersion=2;i.renderLIAttributes=function(e,t){r.renderLIAttributes(e,t);e.class(\"sapUshellCGHLIContent\")};i.renderLIContent=function(e,t){const r=t.getTitleTextDirection();e.openStart(\"span\");e.class(\"sapMGHLITitle\");if(r!==s.Inherit){e.attr(\"dir\",r.toLowerCase())}e.openEnd();e.renderControl(t.getAggregation(\"_titleText\"));if(t.getDescription()){e.voidStart(\"br\");e.voidEnd();e.openStart(\"span\");e.class(\"sapUshellCGHLIDescription\");e.openEnd();e.renderControl(t.getAggregation(\"_descriptionText\"));e.close(\"span\")}e.close(\"span\")};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/QuickAccess\", [\"sap/ui/core/Element\",\"sap/ui/core/Fragment\",\"sap/ui/Device\",\"sap/ui/model/json/JSONModel\",\"sap/ui/thirdparty/hasher\",\"sap/ushell/library\",\"sap/ushell/Config\",\"sap/ushell/Container\",\"sap/ushell/resources\",\"sap/ushell/utils\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/utils/AppType\",\"sap/ushell/EventHub\"],(e,t,s,i,n,c,o,a,l,r,u,p,g)=>{\"use strict\";const h=c.AppType;const A={oModel:new i({recentActivities:[],frequentActivities:[]}),oQuickAccessDialog:null,_createQuickAccessDialog:async function(s){const i=await t.load({name:\"sap.ushell.ui.QuickAccess\",type:\"XML\",controller:this});i.setModel(this.oModel);i.attachAfterClose(this._onAfterClose.bind(this,s));e.getElementById(\"mainShell\").addDependent(i);this.oQuickAccessDialog=i;return i},_onAfterClose:function(t){this.oQuickAccessDialog.destroy();if(s.system.desktop){const s=e.getElementById(t);if(s){s.focus()}else{sap.ui.require([\"sap/ushell/components/ComponentKeysHandler\"],e=>{e.getInstance().then(e=>{e.goToLastVisitedTile()})})}}},_updateQuickAccessDialog:async function(e){const t=e.getContent()[0];t.setBusy(true);const s=await a.getServiceAsync(\"UserRecents\");const i=await new Promise(e=>{s.getRecentActivity().then(t=>{e(t.map(e=>{e.timestamp=r.formatDate(e.timestamp);return e}))},()=>{e([])})});const n=await new Promise(e=>{s.getFrequentActivity().then(t=>{e(t)},()=>{e([])})});this.oModel.setData({recentActivities:i,frequentActivities:n});this._setDialogContentHeight(e,Math.max(i.length,n.length));t.setBusy(false)},_setDialogContentHeight:function(e,t){let s=(t+.5)*4+2.75;if(s<18){s=18}else if(s>42){s=42}e.setContentHeight(`${s}rem`)},_closeDialog:function(){this.oQuickAccessDialog.close()},_titleFormatter:function(e,t){if(t===h.SEARCH){e=`\"${e}\"`}return e},_descriptionFormatter:function(e){if(e===h.SEARCH){return l.i18n.getText(\"recentActivitiesSearchDescription\")}return p.getDisplayName(e)},_itemPress:function(e){const t=e.getParameter(\"listItem\").getBindingContextPath();const s=this.oModel.getProperty(t);g.emit(\"UITracer.trace\",{reason:\"LaunchApp\",source:\"Link\",data:{targetUrl:s.url}});if(s.url[0]===\"#\"){n.setHash(s.url);this._closeDialog()}else{const e=o.last(\"/core/shell/enableRecentActivity\")&&o.last(\"/core/shell/enableRecentActivityLogging\");if(e){const e={title:s.title,appType:h.URL,url:s.url,appId:s.url};a.getRendererInternal(\"fiori2\").logRecentActivity(e)}u.openURL(s.url,\"_blank\")}}};return{openQuickAccessDialog:async function(e,t){const s=await A._createQuickAccessDialog(t);const i=s.getContent()[0];A._updateQuickAccessDialog(s);i.setSelectedKey(e);s.setInitialFocus(e);s.open()},_getQuickAccess:function(){return A}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/ShellHeader\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/Device\",\"sap/ui/dom/units/Rem\",\"sap/ui/thirdparty/hasher\",\"sap/base/Log\",\"sap/ushell/api/NewExperience\",\"sap/ushell/EventHub\",\"sap/ushell/library\",\"sap/ushell/ui/ShellHeaderRenderer\",\"sap/ushell/utils\",\"sap/ushell/utils/WindowUtils\",\"sap/ushell/state/StateManager\",\"sap/ushell/Container\",\"sap/ui/events/KeyCodes\",\"sap/ushell/renderer/ShellLayout\"],(e,t,n,i,o,a,s,r,l,h,d,u,c,g,p,f,y)=>{\"use strict\";const m=g.ShellMode;const S=\"sapUshellShellShowSearchOverlay\";let L=0;let v;const R=t.extend(\"sap.ushell.ui.ShellHeader\",{metadata:{library:\"sap.ushell\",properties:{logo:{type:\"sap.ui.core.URI\",defaultValue:\"\"},logoAltText:{type:\"string\",defaultValue:\"\"},homeUri:{type:\"sap.ui.core.URI\",defaultValue:\"#\"},searchState:{type:\"string\",defaultValue:\"COL\"},ariaLabel:{type:\"string\"},centralAreaElement:{type:\"string\",defaultValue:null},showNewExperienceSwitch:{type:\"boolean\",defaultValue:false},title:{type:\"string\",defaultValue:\"\"}},aggregations:{headItems:{type:\"sap.ushell.ui.shell.ShellHeadItem\",multiple:true},headEndItems:{type:\"sap.ui.core.Control\",multiple:true},search:{type:\"sap.ui.core.Control\",multiple:false},appTitle:{type:\"sap.ushell.ui.shell.ShellAppTitle\",multiple:false}},associations:{},events:{searchSizeChanged:{}}},renderer:d});R.prototype.setHomeUri=function(e){if(c.hasInvalidProtocol(e)){s.fatal(\"Tried to set a URL with an invalid protocol as the home uri. Setting to an empty string instead.\",null,\"sap/ushell/ui/ShellHeader\");e=\"\"}this._bHomeIsRoot=u.isRootIntent(e);return this.setProperty(\"homeUri\",e)};R.prototype.SearchState={COL:\"COL\",EXP:\"EXP\",EXP_S:\"EXP_S\"};R.prototype.FLPRangeSet={name:\"Ushell\",rangeBorders:[600,1024,1440,1920],rangeNames:[\"Phone\",\"Tablet\",\"Desktop\",\"LargeDesktop\",\"ExtraLargeDesktop\"]};R.prototype.init=function(){i.media.initRangeSet(this.FLPRangeSet.name,this.FLPRangeSet.rangeBorders,\"px\",this.FLPRangeSet.rangeNames);const e=y.hasAdjacentSideContentBeforeMain();this._applySideContent(e);y.attachAdjacentSideContentBeforeMainChanged(this._handleSideContent,this);i.media.attachHandler(this.invalidate,this,this.FLPRangeSet.name);i.resize.attachHandler(this.refreshLayout,this);l.once(\"ShellNavigationInitialized\").do(()=>{p.getServiceAsync(\"ShellNavigationInternal\").then(e=>{this._rerenderLogoNavigationFilterBound=this._rerenderLogoNavigationFilter.bind(this,e);e.registerNavigationFilter(this._rerenderLogoNavigationFilterBound);this._rerenderLogoNavigationFilterBound.detach=function(){e.unregisterNavigationFilter(this._rerenderLogoNavigationFilterBound)}})});this._oLastFocusedHeaderElement=null;this._oEventDelegate={onfocusin:this._handleOnFocusIn,onkeydown:this._handleOnKeyDown,onBeforeFastNavigationFocus:this._handleOnBeforeFastNavigationFocus};this.addEventDelegate(this._oEventDelegate,this)};R.prototype.exit=function(){i.media.detachHandler(this.invalidate,this,this.FLPRangeSet.name);i.resize.detachHandler(this.refreshLayout,this);if(this._rerenderLogoNavigationFilterfnRerenderLogoNavigationFilter){this._rerenderLogoNavigationFilterfnRerenderLogoNavigationFilter.detach()}this.removeEventDelegate(this._oEventDelegate);delete this._oEventDelegate;y.detachAdjacentSideContentBeforeMainChanged(this._handleSideContent,this)};R.prototype._handleSideContent=function(e){const t=e.getParameters();const n=t.hasAdjacentContentBefore;this._applySideContent(n)};R.prototype._applySideContent=function(e){this.toggleStyleClass(\"sapUshellFixedPadding\",e)};R.prototype.setFocusOnShellHeader=function(e){if(e){const e=this.getHeadEndItems();if(e.length>0){e[e.length-1].focus()}else{this.getAppTitle().focus()}}else{const e=this.getHeadItems();if(e.length>0){e[0].focus()}else{this.getAppTitle().focus()}}};R.prototype.setFocusOnSearchAfterRender=function(){const e=this.getSearchState();const t=n.getElementById(\"searchFieldInShell-input\");if(e===\"COL\"&&t){const e=n.getElementById(\"sf\");if(e){e.focus()}}};R.prototype.onsapspace=function(e){if(e.target===this.getDomRef(\"logo\")){this._setLocationHref(e.target.href)}};R.prototype._setLocationHref=function(e){if(c.hasInvalidProtocol(e)){s.fatal(\"Tried to navigate to URL with an invalid protocol. Preventing navigation.\",null,\"sap/ushell/ui/ShellHeader\");return}window.location.href=e};R.prototype.onAfterRendering=function(){const e=this.getDomRef();if(!v&&document.body.getBoundingClientRect().height===0){e.style.visibility=\"hidden\";e.style.height=\"2.75rem\";return}this.refreshLayout();setTimeout(()=>{if(!document.activeElement||document.activeElement===document.body){this.setFocusOnSearchAfterRender()}},1)};R.prototype._handleOnKeyDown=function(e){if(e.keyCode===f.ARROW_RIGHT||e.keyCode===f.ARROW_LEFT){this._handleArrowNavigation(e)}if(e.keyCode===f.END||e.keyCode===f.HOME){this._handleHomeEndNavigation(e)}return};R.prototype._handleArrowNavigation=function(e){const t=this.getDomRef();const n=document.activeElement;if(!n||!t.contains(n)||n.tagName===\"INPUT\"||n.tagName===\"TEXTAREA\"){return}const i=this._getFocusableHeaderItems();let o;let a=i.indexOf(n);if(a<0&&this._oLastFocusedHeaderElement){a=i.indexOf(this._oLastFocusedHeaderElement)}if(a>=0){const t=e.keyCode===f.ARROW_RIGHT?a+1:a-1;o=i[t]}if(!o){i[a].focus();return}o.focus()};R.prototype._handleHomeEndNavigation=function(e){const t=this.getDomRef();const n=document.activeElement;if(!n||!t.contains(n)||n.id===\"searchFieldInShell-input-inner\"){return}const i=this._getFocusableHeaderItems();let o;if(e.keyCode===f.END){o=i.at(-1)}else if(e.keyCode===f.HOME){o=i.at(0)}else{return}o.focus()};R.prototype._handleOnFocusIn=function(){const e=document.activeElement;this._oLastFocusedHeaderElement=e};R.prototype._getFocusableHeaderItems=function(){const t=this.getDomRef();const n=Array.from(t.querySelectorAll(\"*:is(input, textarea, select, button, a, [tabindex])\")).filter(e=>!e.disabled&&!e.hidden&&(e.checkVisibility?.()??true)&&e.getAttribute(\"tabindex\")!==\"-1\");if(e.getRTL()){return n.reverse()}return n};R.prototype._handleOnBeforeFastNavigationFocus=function(e){e.preventDefault();const t=this._getFocusableHeaderItems();if(this._oLastFocusedHeaderElement&&t.includes(this._oLastFocusedHeaderElement)){this._oLastFocusedHeaderElement.focus();return}this._oLastFocusedHeaderElement=null;if(document.getElementById(\"shell-header-logo\")){document.getElementById(\"shell-header-logo\").focus()}else{this.setFocusOnShellHeader()}};R.prototype.onThemeChanged=function(e){v=e.theme};R.prototype.getLogo=function(){return this.getProperty(\"logo\")};R.prototype.getShowLogo=function(){return!!this.getProperty(\"logo\")};R.prototype.refreshLayout=function(){if(!this.getDomRef()){return}if(this.getSearchVisible()){const e=this.getDomRef(\"hdr-search\");e.style.display=\"none\";this._hideElementsForSearch();e.style.display=\"\";e.style[\"max-width\"]=`${L}rem`;this.fireSearchSizeChanged({remSize:o.fromPx(e.getBoundingClientRect().width),isFullWidth:this.isPhoneState()||this.getDomRef(\"hdr-end\").style.display===\"none\"})}};R.prototype.removeHeadItem=function(e){if(typeof e===\"number\"){e=this.getHeadItems()[e]}this.removeAggregation(\"headItems\",e)};R.prototype.isExtraLargeState=function(){return i.media.getCurrentRange(this.FLPRangeSet.name).from===this.FLPRangeSet.rangeBorders[3]};R.prototype.isMediumOrBiggerState=function(){return i.media.getCurrentRange(this.FLPRangeSet.name).from>=this.FLPRangeSet.rangeBorders[0]};R.prototype.isPhoneState=function(){const e=i.media.getCurrentRange(i.media.RANGESETS.SAP_STANDARD).name;const t=this.getDomRef().getBoundingClientRect().width>L;return i.system.phone||e===\"Phone\"||!t};R.prototype.setSearchState=function(e,t,n){if(this.SearchState[e]&&this.getSearchState()!==e){if(typeof t===\"boolean\"){n=t;t=undefined}this.setProperty(\"searchState\",e,false);const i=e!==\"COL\";document.body.classList.toggle(S,i&&n);L=i?t||35:0}};R.prototype._hideElementsForSearch=function(){if(this.isExtraLargeState()){return}let e;const t=this.getDomRef(\"hdr-search-container\");const n=this.getDomRef(\"hdr-begin\");const i=this.getDomRef(\"hdr-center\");const a=this.getDomRef(\"hdr-end\");if(this.getSearchState()===\"EXP\"||this.isPhoneState()){e=o.toPx(L+3)}else{e=o.toPx(9+.5)}const s=[n];Array.prototype.forEach.call(n.childNodes,e=>{s.unshift(e)});if(i){s.unshift(i)}n.style.flexBasis=\"\";a.style.display=\"\";s.forEach(e=>{if(e.getAttribute(\"id\")===\"shellAppTitle\"){e.classList.remove(\"sapUiPseudoInvisibleText\")}else{e.style.display=\"\"}});let r;for(let o=0;o<s.length;o++){r=s[o];if(e>t.getBoundingClientRect().width){if(r.getAttribute(\"id\")===\"shellAppTitle\"){r.classList.add(\"sapUiPseudoInvisibleText\")}else{r.style.display=\"none\";if(i&&o===0){n.style.flexBasis=\"auto\"}}}else{return}}if(o.toPx(L)>t.getBoundingClientRect().width){a.style.display=\"none\"}};R.prototype.getSearchWidth=function(){return L};R.prototype.isHomepage=function(){const e=`#${a.getHash()}`;const t=new RegExp(\"[?]\"+\"(?:\"+\"(?!&[/]).\"+\")*\");const n=e.replace(t,\"\");return u.isRootIntent(n)||n===\"#Launchpad-openFLPPage\"};R.prototype._rerenderLogoNavigationFilter=function(e,t,n){const i=e.hashChanger.isInnerAppNavigation(t,n);if(i){this.invalidate()}return e.NavigationFilterStatus.Continue};R.prototype.getSearchVisible=function(){return this.getSearchState()!==this.SearchState.COL};R.prototype.getCentralControl=function(){return n.getElementById(this.getCentralAreaElement())};R.prototype._getLeanMode=function(){return g.getShellMode()===m.Lean};R.prototype.getNewExperienceSwitchControl=function(){if(!r.isActive()){return}if(this.getShowNewExperienceSwitch()){return r.getShellHeaderControl()}};return R});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/ShellHeaderRenderer\", [\"sap/ushell/Config\",\"sap/ushell/resources\"],(e,t)=>{\"use strict\";const r={apiVersion:2};r.render=function(e,r){const n=r.getId();const a=r.getCentralControl();e.openStart(\"header\",r);if(!r.getVisible()){e.style(\"display\",\"none\")}e.class(\"sapUshellShellHeader\");e.class(\"sapContrastPlus\");e.attr(\"aria-label\",t.i18n.getText(\"Shell_Header_AriaLabel\"));e.attr(\"data-sap-ui-customfastnavgroup\",\"true\");e.openEnd();e.openStart(\"div\");e.attr(\"id\",`${n}-hdr-begin`);e.class(\"sapUshellShellHeadBegin\");if(a){e.class(\"sapUshellHeadWithCenter\")}e.openEnd();this.renderReservedHeaderItems(e,r);this.renderLogo(e,r);this.renderHeaderItems(e,r);this.renderTitle(e,r);this.renderNewExperienceSwitch(e,r);e.close(\"div\");if(a){e.openStart(\"div\",a);e.attr(\"id\",`${n}-hdr-center`);e.class(\"sapUshellShellHeadCenter\");e.openEnd();e.renderControl(a);e.close(\"div\")}e.openStart(\"div\");e.attr(\"id\",`${n}-hdr-search-container`);e.class(\"sapUshellShellHeadSearchContainer\");e.openEnd();this.renderSearch(e,r);e.close(\"div\");e.openStart(\"div\");e.attr(\"id\",`${n}-hdr-end`);e.class(\"sapUshellShellHeadEnd\");e.openEnd();this.renderHeaderEndItems(e,r);e.close(\"div\");e.close(\"header\")};r.renderSearch=function(e,t){const r=t.getSearch();e.openStart(\"div\");e.attr(\"id\",`${t.getId()}-hdr-search`);e.attr(\"data-help-id\",\"shellHeader-search\");e.class(\"sapUshellShellSearch\");e.style(\"max-width\",`${t.getSearchWidth()}rem`);if(t.getSearchState()===\"COL\"){e.style(\"display\",\"none\")}e.openEnd();if(r){e.renderControl(r)}e.close(\"div\")};r.renderNewExperienceSwitch=function(e,t){const r=t.getNewExperienceSwitchControl();if(r){e.openStart(\"div\");e.attr(\"id\",`${t.getId()}-hdr-new-experience-switch`);e.attr(\"data-help-id\",\"ushell-new-experience-switch\");e.openEnd();e.renderControl(r);e.close(\"div\")}};r.renderTitle=function(e,t){const r=t.getTitle();e.renderControl(t.getAppTitle());if(r&&t.isMediumOrBiggerState()){e.openStart(\"div\");e.attr(\"id\",`${t.getId()}-hdr-shell-title`);e.class(t.getAppTitle()?\"sapUshellShellHeadSubtitle\":\"sapUshellShellHeadTitle\");e.openEnd();e.openStart(\"h2\");e.class(\"sapUshellHeadTitle\");e.attr(\"aria-level\",\"2\");e.attr(\"title\",r);e.openEnd();e.text(r);e.close(\"h2\");e.close(\"div\")}};r.renderReservedHeaderItems=function(e,t){const r=t.getHeadItems();r.forEach(t=>{if(t.getId()===\"sideMenuExpandCollapseBtn\"||t.getId()===\"backBtn\"){e.renderControl(t)}})};r.renderHeaderItems=function(e,t){const r=t.getHeadItems();r.forEach(t=>{if(t.getId()!==\"backBtn\"&&t.getId()!==\"sideMenuExpandCollapseBtn\"){e.renderControl(t)}})};r.renderHeaderEndItems=function(e,t){t.getHeadEndItems().forEach(e.renderControl)};r.renderLogo=function(e,r){const n=r.getLogo();if(!n){return}const a=r._getLeanMode();const s=r._bHomeIsRoot?t.i18n.getText(\"homeBtn_tooltip_text\"):t.i18n.getText(\"lastPage_tooltip\");e.openStart(a?\"div\":\"a\");e.attr(\"id\",`${r.getId()}-logo`);e.class(\"sapUshellShellIco\");if(a){e.class(\"sapUshellLean\")}else{e.attr(\"href\",r.getHomeUri());e.attr(\"title\",s);e.attr(\"role\",\"button\")}e.openEnd();e.voidStart(\"img\");e.attr(\"id\",`${r.getId()}-icon`);e.attr(\"alt\",r.getLogoAltText(n));e.attr(\"src\",n);e.voidEnd();e.close(a?\"div\":\"a\")};return r},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/appfinder/AppBox\", [\"sap/ushell/ui/appfinder/AppBoxInternal\"],e=>{\"use strict\";const p=e.extend(\"sap.ushell.ui.appfinder.AppBox\");return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/appfinder/AppBoxInternal\", [\"sap/ui/core/Control\",\"sap/ui/core/Icon\",\"sap/ui/core/IconPool\",\"sap/ushell/library\",\"sap/ushell/resources\",\"sap/ushell/ui/appfinder/AppBoxInternalRenderer\",\"sap/ushell/Config\"],(e,t,o,s,n,i,r)=>{\"use strict\";const l=e.extend(\"sap.ushell.ui.appfinder.AppBoxInternal\",{metadata:{library:\"sap.ushell\",properties:{title:{type:\"string\",group:\"Misc\",defaultValue:null},subtitle:{type:\"string\",group:\"Misc\",defaultValue:null},icon:{type:\"string\",group:\"Misc\",defaultValue:null},url:{type:\"string\",group:\"Misc\",defaultValue:null},navigationMode:{type:\"string\",group:\"Misc\",defaultValue:null},contentProviderLabel:{type:\"string\",group:\"Misc\",defaultValue:\"\"},showContentProviderLabel:{type:\"boolean\",group:\"Misc\",defaultValue:false}},aggregations:{pinButton:{type:\"sap.m.Button\",multiple:false}},events:{press:{},afterRendering:{}}},renderer:i});l.prototype.init=function(){this._oIcon=(new t).addStyleClass(\"sapUshellAppBoxIcon\");this._oDoable=r.on(\"/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations\").do(e=>{this.setProperty(\"showContentProviderLabel\",e)})};l.prototype.destroy=function(){e.prototype.destroy.apply(this,arguments);this._oIcon.destroy();this._oDoable.off()};l.prototype.onAfterRendering=function(){const e=this.$(\"title\");const t=this.$(\"subTitle\");const o=parseInt(e.css(\"lineHeight\"),10);const s=e.height();if(s/o>1){e.addClass(\"sapUshellAppBoxHeaderElementTwoLines\");t.addClass(\"sapUshellAppBoxHeaderElementOneLine\")}else{e.addClass(\"sapUshellAppBoxHeaderElementOneLine\");t.addClass(\"sapUshellAppBoxHeaderElementTwoLines\")}this.fireAfterRendering()};l.prototype.setIcon=function(e){this.setProperty(\"icon\",e);this._oIcon.setSrc(o.isIconURI(e)?e:null)};l.prototype._getAriaLabel=function(){let e=this.getTitle();const t=this.getSubtitle();const o=this.getNavigationMode();const s=this.getShowContentProviderLabel()&&this.getContentProviderLabel();if(t){e+=` ${t}`}if(o){e+=` ${n.i18n.getText(`${o}NavigationMode`)}`}if(s){e+=` ${s}`}return e};l.prototype.onclick=l.prototype.firePress;l.prototype.onsapspace=function(e){e.preventDefault();this.firePress(e)};l.prototype.onsapenter=l.prototype.onsapspace;return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/appfinder/AppBoxInternalRenderer\", [\"sap/ushell/resources\"],e=>{\"use strict\";const t={apiVersion:2};t.render=function(t,o){t.openStart(\"li\",o);t.class(\"sapUshellAppBox\");t.attr(\"aria-label\",o._getAriaLabel());t.attr(\"aria-roledescription\",e.i18n.getText(\"tile\"));t.attr(\"aria-describedby\",o.getId());t.openEnd();t.openStart(\"div\");t.class(\"sapUshellAppBoxInner\");t.openEnd();const l=o.getIcon();if(l){t.renderControl(o._oIcon)}t.openStart(\"div\");if(l){t.class(\"sapUshellAppBoxHeader\")}else{t.class(\"sapUshellAppBoxHeaderNoIcon\")}t.openEnd();t.openStart(\"div\",`${o.getId()}-title`);t.class(\"sapUshellAppBoxTitle\");t.openEnd();t.text(o.getTitle());t.close(\"div\");if(o.getSubtitle()){t.openStart(\"div\",`${o.getId()}-subTitle`);t.class(\"sapUshellAppBoxSubtitle\");t.openEnd();t.text(o.getSubtitle());t.close(\"div\")}t.close(\"div\");t.close(\"div\");t.openStart(\"div\");t.class(\"sapUshellAppBoxActionsArea\");if(o.getTitle){t.attr(\"role\",\"toolbar\");t.attr(\"aria-label\",o.getTitle())}t.openEnd();if(o.getShowContentProviderLabel()&&o.getContentProviderLabel()!==\"\"){t.openStart(\"div\",`${o.getId()}-contentProviderLabel`);t.class(\"sapUshellAppBoxContentProviderLabel\");t.openEnd();t.openStart(\"span\",`${o.getId()}-contentProviderLabelInner`);t.class(\"sapUshellAppBoxContentProviderLabelInner\");t.attr(\"title\",o.getContentProviderLabel().toUpperCase());t.openEnd();t.text(o.getContentProviderLabel());t.close(\"span\");t.close(\"div\")}t.renderControl(o.getPinButton());t.close(\"div\");t.close(\"li\")};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/appfinder/AppBoxRenderer\", [\"sap/ushell/ui/appfinder/AppBoxInternalRenderer\"],e=>{\"use strict\";return e},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/appfinder/PinButton\", [\"sap/m/Button\",\"sap/ushell/library\",\"sap/ushell/ui/appfinder/PinButtonRenderer\"],(e,t,n)=>{\"use strict\";const r=e.extend(\"sap.ushell.ui.appfinder.PinButton\",{metadata:{library:\"sap.ushell\",properties:{selected:{type:\"boolean\",group:\"Appearance\",defaultValue:false}}},renderer:n});r.prototype.onAfterRendering=function(){this.$(\"inner\").toggleClass(\"sapUshellPinSelected\",this.getSelected())};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/appfinder/PinButtonRenderer\", [\"sap/m/ButtonRenderer\",\"sap/ui/core/Renderer\"],(e,t)=>{\"use strict\";const r=t.extend(e);r.apiVersion=2;r.renderAccessibilityAttributes=function(e,t,r){r.pressed=t.getSelected();r.selected=null};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/bookmark/SaveOnPage.controller\", [\"sap/ui/core/mvc/Controller\",\"sap/ushell/resources\",\"sap/ui/thirdparty/hasher\",\"sap/ui/core/library\"],(e,t,o,r)=>{\"use strict\";const i=r.ValueState;return e.extend(\"sap.ushell.ui.bookmark.SaveOnPage\",{onInit:function(){const e=this.getView();e.setModel(t.i18nModel,\"i18n\");this.byId(\"bookmarkTitleInput\").attachLiveChange(function(){if(this.getValue()===\"\"){this.setValueStateText(t.i18n.getText(\"bookmarkTitleInputError\"));this.setValueState(i.Error)}else{this.setValueState(i.None)}});this.oContentNodeSelector=this.byId(\"SelectedNodesComboBox\");this.oContentNodeSelector.attachSelectionChanged(function(){const e=this.getSelectedContentNodes();if(Array.isArray(e)&&e.length<1){this.setValueStateText(t.i18n.getText(\"bookmarkPageSelectError\"));this.setValueState(i.Error)}else{this.setValueState(i.None)}});const o=this.byId(\"previewTileDynamic\");o.addEventDelegate({onAfterRendering:function(){o.getDomRef().removeAttribute(\"tabindex\")}});const r=this.byId(\"previewTile\");r.addEventDelegate({onAfterRendering:function(){r.getDomRef().removeAttribute(\"tabindex\")}})},removeFocusFromTile:function(){this.getView().getDomRef().querySelector(\".sapMGT\").removeAttribute(\"tabindex\")},getBookmarkTileData:function(){const e=this.getView();const t=e.getModel();const r=e.getViewData();let i;if(r.customUrl){if(typeof r.customUrl===\"function\"){i=r.customUrl()}else{i=r.customUrl}}else{i=o.getHash()?`#${o.getHash()}`:window.location.href}const n={title:t.getProperty(\"/title\"),subtitle:t.getProperty(\"/subtitle\"),url:i,icon:t.getProperty(\"/icon\"),info:t.getProperty(\"/info\"),numberUnit:t.getProperty(\"/numberUnit\"),serviceUrl:typeof r.serviceUrl===\"function\"?r.serviceUrl():r.serviceUrl,dataSource:t.getProperty(\"/dataSource\"),serviceRefreshInterval:t.getProperty(\"/serviceRefreshInterval\"),contentNodes:this.oContentNodeSelector.getSelectedContentNodes(),keywords:t.getProperty(\"/keywords\")};const s=[\"title\",\"subtitle\",\"info\"];s.forEach(e=>{n[e]=(n[e]||\"\").substring(0,256).trim()});return n},onValueHelpEndButtonPressed:function(){if(this.oContentNodeSelector&&this.oContentNodeSelector.fireSelectionChanged){this.oContentNodeSelector.fireSelectionChanged()}}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/cards/FrequentActivitiesExtension\", [\"sap/ui/integration/Extension\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/utils/AppType\",\"sap/ushell/library\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,s,i,n,r,a,o)=>{\"use strict\";const c=i.AppType;function p(e,t){if(t===c.SEARCH){return`\"${e}\"`}return e}function l(e){if(e===c.SEARCH){return a.i18n.getText(\"recentActivitiesSearchDescription\")}return s.getDisplayName(e)}return e.extend(\"sap.ushell.ui.cards.FrequentActivitiesExtension\",{init:function(){e.prototype.init.apply(this,arguments);this.oUserRecentsPromise=o.getServiceAsync(\"UserRecents\");this.oCrossAppNavPromise=o.getServiceAsync(\"CrossApplicationNavigation\")},exit:function(){e.prototype.exit.apply(this,arguments);r.on(\"newUserRecentsItem\").off();r.on(\"userRecentsCleared\").off()},onCardReady:function(){r.on(\"newUserRecentsItem\").do(()=>{this.getCard().refreshData()});r.on(\"userRecentsCleared\").do(()=>{this.getCard().refreshData()})},getData:function(){if(this._sortedData){return Promise.resolve(this._resolvedData)}return this.oUserRecentsPromise.then(e=>e.getFrequentActivity()).then(this._getActivitiesAsCardItems.bind(this)).then(this._checkEnabled.bind(this))},_getActivitiesAsCardItems:function(e){const s=[];for(let i=0;i<e.length;i++){if(e[i].url&&e[i].url!==\"\"){const n=t.parseShellHash(e[i].url);const r={Name:p(e[i].title,e[i].appType),Description:l(e[i].appType),Icon:e[i].icon||\"sap-icon://product\",Url:e[i].url};if(n){r.Intent={SemanticObject:n.semanticObject,Action:n.action,Parameters:n.params,AppSpecificRoute:n.appSpecificRoute}}else{r.Url=e[i].url}s.push(r)}}return s},_checkEnabled:function(e){const t=e.map(e=>this._isActionEnabled(e).then(t=>{e.Enabled=t;return e}));return Promise.all(t)},_isActionEnabled:function(e){const s=t.parseShellHash(e.Url);if(!s){return Promise.resolve(true)}const i=s.params;const n={target:{semanticObject:s.semanticObject,action:s.action},params:i};return this.oCrossAppNavPromise.then(e=>new Promise(t=>{e.isNavigationSupported([n]).done(e=>{t(e[0].supported)}).fail(()=>{t(false)})}))}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/cards/RecentActivitiesExtension\", [\"sap/ui/integration/Extension\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/utils/AppType\",\"sap/ushell/library\",\"sap/ushell/Config\",\"sap/ushell/EventHub\",\"sap/ushell/resources\",\"sap/ushell/Container\"],(e,t,s,n,i,r,a,o)=>{\"use strict\";const c=n.AppType;function p(e,t){if(t===c.SEARCH){return`\"${e}\"`}return e}function l(e){if(e===c.SEARCH){return a.i18n.getText(\"recentActivitiesSearchDescription\")}return s.getDisplayName(e)}return e.extend(\"sap.ushell.ui.cards.RecentActivitiesExtension\",{init:function(){e.prototype.init.apply(this,arguments);this.oUserRecentsPromise=o.getServiceAsync(\"UserRecents\");this.oCrossAppNavPromise=o.getServiceAsync(\"CrossApplicationNavigation\")},exit:function(){e.prototype.exit.apply(this,arguments);r.on(\"newUserRecentsItem\").off();r.on(\"userRecentsCleared\").off()},onCardReady:function(){r.on(\"newUserRecentsItem\").do(()=>{this.getCard().refreshData()});r.on(\"userRecentsCleared\").do(()=>{this.getCard().refreshData()})},getData:function(){return this.oUserRecentsPromise.then(e=>e.getRecentActivity()).then(this._getActivitiesAsCardItems.bind(this)).then(this._checkEnabled.bind(this))},_getActivitiesAsCardItems:function(e){const s=[];for(let n=0;n<e.length;n++){if(e[n].url&&e[n].url!==\"\"){const i=t.parseShellHash(e[n].url);const r={Name:p(e[n].title,e[n].appType),Description:l(e[n].appType),Icon:e[n].icon||\"sap-icon://product\",Url:e[n].url};if(i){r.Intent={SemanticObject:i.semanticObject,Action:i.action,Parameters:i.params,AppSpecificRoute:i.appSpecificRoute}}else{r.Url=e[n].url}s.push(r)}}return s},_checkEnabled:function(e){const t=e.map(e=>this._isActionEnabled(e).then(t=>{e.Enabled=t;return e}));return Promise.all(t)},_isActionEnabled:function(e){const s=t.parseShellHash(e.Url);if(!s){return Promise.resolve(true)}const n=s.params;const i={target:{semanticObject:s.semanticObject,action:s.action},params:n};return this.oCrossAppNavPromise.then(e=>new Promise(t=>{e.isNavigationSupported([i]).done(e=>{t(e[0].supported)}).fail(()=>{t(false)})}))}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/ui/footerbar/AboutButton\", [\"sap/m/ButtonRenderer\",\"sap/ushell/resources\",\"sap/ushell/ui/launchpad/ActionItem\",\"sap/ui/core/Fragment\",\"sap/ushell/ui/footerbar/AboutDialog.controller\"],(t,e,o,i,a)=>{\"use strict\";const s=o.extend(\"sap.ushell.ui.footerbar.AboutButton\",{metadata:{library:\"sap.ushell\"},renderer:t});s.prototype.init=function(){if(o.prototype.init){o.prototype.init.apply(this,arguments)}this.setIcon(\"sap-icon://hint\");this.setText(e.i18n.getText(\"about\"));this.attachPress(this.showAboutDialog)};s.prototype.showAboutDialog=function(){return new Promise((t Copyright (C) 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UserRecents/RecentAppsUsage\", [\"sap/base/Log\",\"sap/ushell/services/UserRecents/UserRecentsBase\",\"sap/ushell/utils\"],(e,s,t)=>{\"use strict\";const a=s.extend(\"sap.ushell.services.UserRecents.RecentAppsUsage\",{constructor:function(){s.call(this,\"AppsUsage\")}});a.MAX_DAYS=30;a.prototype.init=async function(){const s=this.getDayFromDate(new Date);let t=false;if(!t||s!==this.oAppsUsageData.recentDay){t=true;try{const e=await this.load();this.oAppsUsageData=e||{recentDay:null,recentAppsUsageMap:{}};await this.calculateInitialUsage(s);return this.oAppsUsageData}catch(s){e.error(\"Load data in Init failed\",s,\"sap.ushell.services.UserRecents.RecentAppsUsage\");return Promise.reject(s)}}};a.prototype.calculateInitialUsage=async function(e){if(e!==this.oAppsUsageData.recentDay){this._addNewDay();this.oAppsUsageData.recentDay=e;this._cleanUnusedHashes();await this.save(this.oAppsUsageData)}};a.prototype.addAppUsage=async function(e){if(!t.validHash(e)){return Promise.reject(\"Non valid hash\")}await this.init();const s=this.oAppsUsageData.recentAppsUsageMap[e]||[];if(s.length===0){s[0]=1}else{s[s.length-1]+=1}this.oAppsUsageData.recentAppsUsageMap[e]=s;await this.save(this.oAppsUsageData)};a.prototype.getAppsUsage=async function(){await this.init();const e={};let s;let t;let a=true;for(const p in this.oAppsUsageData.recentAppsUsageMap){e[p]=this._getHashUsageSum(p);if(a){s=t=e[p];a=false}else if(e[p]<t){t=e[p]}else if(e[p]>s){s=e[p]}}return{usageMap:e,maxUsage:s,minUsage:t}};a.prototype._addNewDay=function(){let e;for(const s in this.oAppsUsageData.recentAppsUsageMap){e=this.oAppsUsageData.recentAppsUsageMap[s];e[e.length]=0;if(e.length>a.MAX_DAYS){e=e.shift()}}};a.prototype._cleanUnusedHashes=function(){let e;for(const s in this.oAppsUsageData.recentAppsUsageMap){e=this._getHashUsageSum(s);if(e===0){delete this.oAppsUsageData.recentAppsUsageMap[s]}}};a.prototype._getHashUsageSum=function(e){const s=this.oAppsUsageData.recentAppsUsageMap[e];return s.reduce((e,s)=>e+s,0)};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UserRecents/RecentsList\", [\"sap/ushell/services/UserRecents/UserRecentsBase\"],t=>{\"use strict\";const e=t.extend(\"sap.ushell.services.UserRecents.RecentsList\",{constructor:function(e,s,i){t.apply(this,arguments);this._compareItems=i}});e.prototype._updateIfAlreadyIn=function(t,e,s){return t.some(t=>{let i;if(this._compareItems(t.oItem,e)){t.oItem=e;t.iTimestamp=s;t.iCount+=1;i=true}else{i=false}return i})};e.prototype._insertNew=function(e,s,i){const n={oItem:s,iTimestamp:i,iCount:1};if(e.length===this.iMaxItems){e.sort(t.itemSorter);e.pop()}e.push(n)};e.prototype.newItem=async function(t){const e=Date.now();const s=await this.load()||[];const i=this._updateIfAlreadyIn(s,t,e);if(!i){this._insertNew(s,t,e)}await this.save(s)};e.prototype.getRecentItems=async function(){const e=await this.load()||[];e.sort(t.itemSorter);const s=e.slice(0,this.iMaxItems);return s.map(t=>t.oItem)};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/UserRecents/UserRecentsBase\", [\"sap/base/Log\",\"sap/ui/base/Object\",\"sap/ushell/Container\"],(e,t,o)=>{\"use strict\";const r=t.extend(\"sap.ushell.services.UserRecents.UserRecentsBase\",{constructor:function(e,t){this.iMaxItems=t;this.sPersonalizationItemName=e;if(!r.prototype.oContainerPromise){r.prototype.oContainerPromise=o.getServiceAsync(\"PersonalizationV2\").then(async e=>{const t=\"sap.ushell.services.UserRecents\";const o={};const r=await e.getContainer(t,o);await r.load();return r})}}});r.prototype.load=async function(){try{const e=await r.prototype.oContainerPromise;return e.getItemValue(this.sPersonalizationItemName)}catch(t){e.error(\"Personalization service does not work:\",t);return Promise.reject(t)}};r.prototype.save=async function(t){try{const e=await r.prototype.oContainerPromise;e.setItemValue(this.sPersonalizationItemName,t);await e.save()}catch(t){e.error(\"Personalization service does not work:\",t);return Promise.reject(t)}};r.itemSorter=function(e,t){return t.iTimestamp-e.iTimestamp};r.prototype.getDayFromDate=function(e){return`${e.getUTCFullYear()}/${e.getUTCMonth()+1}/${e.getUTCDate()}`};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/VisualizationDataProvider\", [\"sap/ushell/resources\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/library\",\"sap/ushell/utils/chipsUtils\",\"sap/base/Log\",\"sap/ushell/Config\"],(t,jQuery,i,e,a,o)=>{\"use strict\";const s=i.DisplayFormat;function l(){this.S_COMPONENT_NAME=\"sap.ushell.services.VisualizationDataProvider\";this._init.apply(this,arguments)}l.prototype._init=function(t){this.oLaunchPageAdapter=t;this.oCatalogTilePromise=null};l.prototype._getCatalogTileIndex=function(){if(this._oCatalogTileIndexPromise){return this._oCatalogTileIndexPromise}const t=this.oLaunchPageAdapter;return t._getCatalogTileIndex()};l.prototype._getCatalogTiles=function(){if(this.oCatalogTilePromise){return this.oCatalogTilePromise}const t=this.oLaunchPageAdapter;this.oCatalogTilePromise=new Promise((i,e)=>{t.getCatalogs().then(a=>{const o=[];const s=[];const l={};for(let i=0;i<a.length;i++){if(typeof a[i].ui2catalog===\"undefined\"||a[i].ui2catalog.getType()!==\"REMOTE\"){o.push(t.getCatalogTiles(a[i]).then(t=>{s.push(t)}))}}jQuery.when.apply(null,o).done(()=>{const e=s.flat();for(let i=0;i<e.length;i++){const a=t.getStableCatalogTileId(e[i]);l[a]=e[i]}i(l)}).fail(e)}).fail(e)});return this.oCatalogTilePromise};l.prototype.getVisualizationData=function(){let i;const e=this.oLaunchPageAdapter;if(this._oVisualizationDataPromise){return this._oVisualizationDataPromise}this._oVisualizationDataPromise=Promise.all([this._getCatalogTiles(),this._getCatalogTileIndex()]).then(t=>{const a=t[0];i=t[1];const o=[];const s=[];Object.keys(a).forEach(t=>{const i=a[t];e.setTileVisible(i,false);s.push(e.isTileIntentSupportedAsync(i).then(i=>{if(i===true){o.push(t)}}))});return Promise.all(s).then(()=>{const t=o.map(t=>{const i=a[t];if(!e.getCatalogTilePreviewTitle(i)){return new Promise((t,a)=>{e.getCatalogTileViewControl(i).done(t).fail(a)}).then(e=>({id:t,catalogTile:i,view:e}))}return Promise.resolve({id:t,catalogTile:i})});return Promise.all(t)})}).then(t=>t.reduce((t,o)=>{const s=o.id;const l=o.view;const n=o.catalogTile;try{const a=n.getChip().getBaseChipId();t.visualizations[s]={vizType:a,title:e.getCatalogTilePreviewTitle(n),subTitle:e.getCatalogTilePreviewSubtitle(n),icon:e.getCatalogTilePreviewIcon(n),info:e.getCatalogTilePreviewInfo(n),keywords:e.getCatalogTileKeywords(n),size:e.getCatalogTileSize(n),indicatorDataSource:e.getCatalogTilePreviewIndicatorDataSource(n),url:e.getCatalogTileTargetURL(n),numberUnit:e.getCatalogTileNumberUnit(n),isCustomTile:e.isCustomTile&&e.isCustomTile(n)};if(i[s]){t.visualizations[s]._instantiationData={platform:\"ABAP\",simplifiedChipFormat:false,chip:i[s]}}if(t.visualizations[s].isCustomTile&&!t.vizTypes[a]){t.vizTypes[a]={id:a,url:undefined,vizOptions:{displayFormats:this._getDisplayFormats(n,t.visualizations[s].size)},tileSize:t.visualizations[s].size}}}catch(t){a.error(`Could not get visualization data from tile ${s}`,t,this.S_COMPONENT_NAME)}if(l){l.destroy()}return t},{visualizations:{},vizTypes:{},page:{}})).catch(i=>{const e={component:this.S_COMPONENT_NAME,description:t.i18n.getText(\"VisualizationDataProvider.CannotLoadData\"),detail:i};return Promise.reject(e)});return this._oVisualizationDataPromise};l.prototype._getDisplayFormats=function(t,i){let e=[\"tile\"];let a=\"tile\";const o=t.getContract(\"types\");if(o){e=o.getAvailableTypes();a=o.getDefaultType()}return{supported:this._mapDisplayFormats(e,i),default:this._mapDisplayFormats([a],i)[0]}};l.prototype._mapDisplayFormats=function(t,i){const e={tile:s.Standard,tilewide:s.StandardWide,link:s.Compact,flat:s.Flat,flatwide:s.FlatWide};return t.map(t=>{t=e[t];if(t===s.Standard&&i===\"1x2\"){return s.StandardWide}return t})};l.prototype.loadVizType=async function(t){const i={chipId:t};try{const a=await e.loadChipInstanceFromSimplifiedChip(i);const o=e.getTileSize(a);return{id:t,url:undefined,vizOptions:{displayFormats:this._getDisplayFormats(a,o)},tileSize:o}}catch(i){a.error(`The chipInstance '${t}' could not be loaded: `,i)}};l.hasNoAdapter=false;return l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/VisualizationInstantiation\", [\"sap/ushell/ui/launchpad/VizInstance\",\"sap/ushell/ui/launchpad/VizInstanceAbap\",\"sap/ushell/ui/launchpad/VizInstanceCdm\",\"sap/ushell/ui/launchpad/VizInstanceLaunchPage\",\"sap/ushell/ui/launchpad/VizInstanceLink\",\"sap/m/library\",\"sap/ushell/library\",\"sap/base/util/ObjectPath\",\"sap/ushell/EventHub\",\"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations\"],(e,t,a,i,n,o,s,d,r,l)=>{\"use strict\";const c=o.LoadState;const u=s.DisplayFormat;function p(){}p.prototype.instantiateVisualization=function(o){let s;let p=d.get(\"_instantiationData.platform\",o);const h={vizRefId:o.id,title:o.title,subtitle:o.subtitle,icon:o.icon,keywords:o.keywords,instantiationData:o._instantiationData,indicatorDataSource:o.indicatorDataSource,dataSource:o.dataSource,contentProviderId:o.contentProviderId,contentProviderLabel:o.contentProviderLabel,vizConfig:o.vizConfig,supportedDisplayFormats:o.supportedDisplayFormats,displayFormat:o.displayFormatHint,numberUnit:o.numberUnit,dataHelpId:o.vizId,preview:o.preview};if(h.indicatorDataSource){h.indicatorDataSource.ui5object=true}if((p===\"ABAP\"||p===\"CDM\")&&h.displayFormat===u.Compact){this._cleanInstantiationDataForLink(h);p=\"LINK\"}if(p===\"ABAP\"){s=new t(h)}else if(p===\"CDM\"){s=new a(h)}else if(p===\"LINK\"){s=new n(h)}if(p===\"LAUNCHPAGE\"){s=new i(h)}if(!s){return new e({state:c.Failed})}s.setTargetURL(o.targetURL);if(p!==\"LINK\"){s.setInfo(o.info)}if(l.isStandardVizType(o.vizType)){try{s.load().then(()=>{r.emit(\"VizInstanceLoaded\",o.id)})}catch(e){s.setState(c.Failed);r.emit(\"VizInstanceLoaded\",o.id)}}else{s.setState(c.Loading);r.once(\"CoreResourcesComplementLoaded\").do(()=>{try{s.load(true).then(()=>{s.setState(c.Loaded)})}catch(e){s.setState(c.Failed)}})}return s};p.prototype._cleanInstantiationDataForLink=function(e){delete e.info;delete e.icon;delete e.keywords;delete e.instantiationData;delete e.dataSource;delete e.contentProviderId;delete e.contentProviderLabel;delete e.vizConfig;delete e.numberUnit;delete e.indicatorDataSource;delete e.preview};p.hasNoAdapter=true;return p});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_AppState/AppStatePersistencyMethod\", [\"sap/base/Log\"],t=>{\"use strict\";function e(){this.PersonalState=\"PersonalState\";this.ACLProtectedState=\"ACLProtectedState\";this.PublicState=\"PublicState\";this.AuthorizationProtectedState=\"AuthorizationProtectedState\"}t.error(\"sap/ushell/services/_AppState/AppStatePersistencyMethod is deprecated and will be removed in an upcoming release!\");return new e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig\", [\"sap/ushell/Config\",\"sap/ushell/System\",\"sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig\"],(e,t,r)=>{\"use strict\";const s={};const o=[{contentProviderName:\"featured\",adapter:\"sap.ushell.adapters.cdm.v3.StaticGroupsAdapter\",configSwitch:\"/core/home/featuredGroup/enable\",system:{alias:\"\",platform:\"cdm\"},configHandler:function(){const t=e.last(\"/core/shell/enableRecentActivity\")&&e.last(\"/core/shell/model/showRecentActivity\");const s=t&&e.last(\"/core/home/featuredGroup/frequentCard\");const o=t&&e.last(\"/core/home/featuredGroup/recentCard\");return r.getMockAdapterConfig(s,o)}}];s._getConfigAdapters=function(){o.forEach(e=>{e.system=new t(e.system)});return o};return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig\", [\"sap/ushell/resources\"],e=>{\"use strict\";const t={};function a(){const t=e.i18n.getText(\"featuredGroup.title\");const a=e.i18n.getText(\"recentActivities\");const n=e.i18n.getText(\"frequentActivities\");const i=e.i18n.getText(\"top\",[4]);const s={_version:\"3.0.0\",site:{identification:{version:\"3.0\",id:\"c9dcc1f3-dec0-4db4-91d3-639bf38d91ce\",title:\"Featured Group\",description:\"Sample site for featured group cards\"},payload:{groupsOrder:[\"FeaturedGroupCards\"]}},catalogs:{},vizTypes:{\"sap.ushell.Card\":{\"sap.app\":{id:\"sap.ushell.Card\",type:\"card\",applicationVersion:{version:\"1.0.0\"}},\"sap.ui\":{deviceTypes:{desktop:true,tablet:true,phone:true}}}},visualizations:{FrequentCard:{vizType:\"sap.ushell.Card\",businessApp:\"fin.cash.bankmaster.manage.BusinessApp\",target:{appId:\"fin.cash.bankmaster.manage\",inboundId:\"Bank-manage\",parameters:{}},vizConfig:{\"sap.flp\":{columns:\"4\",rows:\"4\"},\"sap.app\":{id:\"FrequentCard\",type:\"card\"},\"sap.card\":{extension:\"module:sap/ushell/ui/cards/FrequentActivitiesExtension\",data:{extension:{method:\"getData\"}},type:\"List\",header:{title:n,status:{text:i},actions:[{type:\"Navigation\",parameters:{openUI:\"FrequentActivities\"}}]},content:{maxItems:4,item:{title:{value:\"{Name}\"},description:{value:\"{Description}\"},highlight:\"{Highlight}\",icon:{src:\"{Icon}\",label:\"icon\"},actions:[{type:\"Navigation\",enabled:\"{Enabled}\",parameters:{title:\"{Name}\",url:\"{Url}\",intentSemanticObject:\"{Intent/SemanticObject}\",intentAction:\"{Intent/Action}\",intentAppRoute:\"{Intent/AppSpecificRoute}\",intentParameters:\"{Intent/Parameters}\"}}]}}}}},RecentCard:{vizType:\"sap.ushell.Card\",businessApp:\"fin.cash.bankmaster.manage.BusinessApp\",target:{appId:\"fin.cash.bankmaster.manage\",inboundId:\"Bank-manage\",parameters:{}},vizConfig:{\"sap.flp\":{columns:\"4\",rows:\"4\"},\"sap.app\":{id:\"RecentCard\",type:\"card\"},\"sap.card\":{extension:\"module:sap/ushell/ui/cards/RecentActivitiesExtension\",type:\"List\",data:{extension:{method:\"getData\"}},header:{title:a,status:{text:i},actions:[{type:\"Navigation\",parameters:{openUI:\"RecentActivities\"}}]},content:{maxItems:4,item:{title:{label:\"{{title_label}}\",value:\"{Name}\"},description:{label:\"{{description_label}}\",value:\"{Description}\"},icon:{src:\"{Icon}\",label:\"icon\"},highlight:\"{Highlight}\",actions:[{type:\"Navigation\",enabled:\"{Enabled}\",parameters:{title:\"{Name}\",url:\"{Url}\",intentSemanticObject:\"{Intent/SemanticObject}\",intentAction:\"{Intent/Action}\",intentAppRoute:\"{Intent/AppSpecificRoute}\",intentParameters:\"{Intent/Parameters}\"}}]}}}}}},applications:{},groups:{FeaturedGroupCards:{identification:{id:\"FeaturedGroupCards\",title:t},contentProvider:\"featured\",isFeatured:true,payload:{locked:true,tiles:[{id:\"frequentCard\",vizId:\"FrequentCard\",contentProvider:\"featured\"},{id:\"recentCard\",vizId:\"RecentCard\",contentProvider:\"featured\"}],links:[],groups:[]}}},systemAliases:{}};return s}t.getMockAdapterConfig=function(e,t){const n=a();const i=n.groups.FeaturedGroupCards.payload.tiles;const s=n.visualizations;for(let a=0;a<i.length;a++){const n=i[a];const r=!e&&n.vizId===\"FrequentCard\";const o=!t&&n.vizId===\"RecentCard\";if(r||o){delete s[n.vizId];i.splice(a,1);a--}}return n};return t},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_CrossApplicationNavigation/utils\", [\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/ushell/utils/UrlParsing\"],(t,e,r,a)=>{\"use strict\";const n={};n.extractGetLinksParameterOptions=function(t){return n.parseGetLinksParameters(t).filter(t=>Object.keys(t.options).length>0).map(t=>({name:t.name,options:t.options}))};n.extractGetLinksParameterDefinition=function(t){return n.parseGetLinksParameters(t).reduce((t,e)=>{t[e.name]=e.value;return t},{})};n.parseGetLinksParameters=function(t){if(Object.prototype.toString.apply(t)!==\"[object Object]\"){return[]}const e=JSON.parse(JSON.stringify(t));return Object.keys(e).map(t=>{let r=e[t];let a={};if(Object.prototype.toString.apply(r)===\"[object Object]\"){r=r.value;delete e[t].value;a=e[t]}return{name:t,value:r,options:a}})};n.safeParseToObject=function(t){try{return JSON.parse(t)}catch(e){r.error(\"Cannot parse the given string to object\",t)}return null};n.createAppStateFromData=function(t){r.error(\"Deprecated API call of '_CrossApplicationNavigation.utils.createAppStateFromData'. Please use 'createAppStateFromDataAsync' instead\",null,\"sap.ushell.services._CrossApplicationNavigation.utils\");const e=sap.ushell.Container.getService(\"AppState\");const a=e.createEmptyAppState(null);a.setData(t);a.save();return a.getKey()};n.createAppStateFromDataAsync=function(t){return sap.ushell.Container.getServiceAsync(\"AppState\").then(e=>{const r=e.createEmptyAppState(null);r.setData(t);r.save();return r.getKey()})};n.extractParameter=function(s,c){let i;let o=null;if(typeof s===\"string\"){if(s.indexOf(`${c}=`)===-1){return{intent:s,data:null}}const t=a.parseShellHash(s);if(!t){return{intent:s,data:null}}o=t.params[c];delete t.params[c];i=a.constructShellHash(t);return{intent:i,data:o}}if(t(s)){const t=e.get(\"target.shellHash\",s);if(typeof t===\"string\"){const e=n.extractParameter(t,c);s.target.shellHash=e.intent;return{intent:s,data:e.data}}const r=s.params;if(r&&r[c]){const t=r[c];o=typeof t===\"string\"?[t]:t;delete r[c]}return{intent:s,data:o}}r.error(\"Invalid input parameter\",\"expected string or object\");return{intent:s}};n.addXAppStateFromParameter=function(t,e){const r=n.extractParameter(t,e);const a=r.intent;const s=r.data&&r.data[0];if(!s){return}const c=n.safeParseToObject(s);if(!c){return}const i=n.createAppStateFromData(c);n.injectParameter(a,\"sap-xapp-state\",i)};n.addXAppStateFromParameterAsync=function(t,e){const r=n.extractParameter(t,e);const a=r.intent;const s=r.data&&r.data[0];if(!s){return Promise.resolve()}const c=n.safeParseToObject(s);if(!c){return Promise.resolve()}return n.createAppStateFromDataAsync(c).then(t=>{n.injectParameter(a,\"sap-xapp-state\",t)})};n.injectParameter=function(t,r,s){if(typeof t===\"string\"){const e=a.parseShellHash(t);e.params[r]=s;return a.constructShellHash(e)}if(Object.prototype.toString.apply(t)===\"[object Object]\"){const a=e.get(\"target.shellHash\",t);if(typeof a===\"string\"){t.target.shellHash=n.injectParameter(a,r,s);return t}if(!t.params){t.params={}}t.params[r]=s}return t};n._injectParameters=function(t){const e=t.inject;const r=t.injectEmptyString||{};const a=t.type;const s=t.args;function c(t,e){return t||t===\"\"&&e}if(a.isPlainObject(s)){if(s.target&&s.target.shellHash){if(typeof s.target.shellHash===\"string\"){s.target.shellHash=n._injectParameters({inject:e,injectEmptyString:r,type:t.type,args:s.target.shellHash})}return s}const a=Object.keys(e).reduce((t,a)=>{const n=e[a];const s=r[a]===true;if(c(n,s)&&typeof t===\"string\"){const e=new RegExp(`[&]${a}`);const r=!e.test(t);if(r){const e=t?\"&\":\"\";t+=`${e+a}=${n}`}}else if(c(n,s)&&!t.hasOwnProperty(a)){t[a]=n}return t},s.params||{});if(a&&Object.keys(a).length>0){s.params=a}return s}let i=s;if(i){Object.keys(e).forEach(t=>{const a=e[t];const n=r[t]===true;const s=new RegExp(`[?&]${t}`);const o=!s.test(i);if(c(a,n)&&o){const e=i.indexOf(\"?\")>-1?\"&\":\"?\";i+=`${e+t}=${a}`}})}return i};n.injectStickyParameters=function(t){r.error(\"Deprecated API call of '_CrossApplicationNavigation.utils.injectStickyParameters'. Please use 'injectStickyParametersAsync' instead\",null,\"sap.ushell.services._CrossApplicationNavigation.utils\");const e=sap.ushell.Container.getService(\"AppLifeCycle\");return n._injectStickyParameters(t,e)};n.injectStickyParametersAsync=function(t){return sap.ushell.Container.getServiceAsync(\"AppLifeCycle\").then(e=>n._injectStickyParameters(t,e))};n._injectStickyParameters=function(t,e){if(!e||Object.keys(e).length<=0){return t.args}const r=e.getCurrentApplication();if(!r||Object.keys(r).length<=0){return t.args}const a=t.appLifeCycle;const s=t.technicalParameters;const c=s.getParameters({sticky:true}).reduce((t,e)=>{const n=e.name;const c=r.componentInstance;const i=r.applicationType;let o;if(i===\"UI5\"){o={}}else{o=a.getCurrentApplication().container}const p=s.getParameterValueSync(n,c,o,i);const l=e.stickyName||n;t[l]=p;return t},{});const i={type:t.type,inject:c,args:t.args};return n._injectParameters(i)};return n});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_PageReferencing/PageReferencer\", [\"sap/base/util/deepExtend\",\"sap/ui/thirdparty/jquery\",\"sap/ushell/Container\"],(e,jQuery,n)=>{\"use strict\";const t={};function r(e,n){const t={};e.forEach(e=>{e.viz.forEach(e=>{const r=e.target;if(r&&!t[r]){t[r]=n.resolveHashFragment(r)}})});return new Promise((e,n)=>{const r=[];Object.keys(t).forEach(e=>{r.push(t[e])});jQuery.when.apply(null,r).then(function(){const n=arguments;Object.keys(t).forEach((e,r)=>{t[e]=n[r].inboundPermanentKey});e(t)},n)})}function i(e,n){return{inboundPermanentKey:e[n.target],vizId:n.tileCatalogId}}function a(e,n){return{id:n.id,title:n.title,visualizations:n.viz.map(i.bind(null,e))}}t.createReferencePage=function(t,i){i=i||[];return n.getServiceAsync(\"NavTargetResolutionInternal\").then(r.bind(null,i)).then(n=>{const r=e({},t);r.sections=i.map(a.bind(null,n));return Promise.resolve(r)})};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/ContextContainer\", [\"sap/ushell/utils\",\"sap/ushell/services/_Personalization/utils\",\"sap/ushell/services/_Personalization/constants.private\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/UIComponent\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,t,n,i,o,jQuery,r)=>{\"use strict\";function a(){this._init.apply(this,arguments)}a.prototype._init=function(n,i,r,a,s){this._oService=n;this._sContainerKey=r;this._oAdapterContainer={};this._oScope=a||t.adjustScope(a);this._aLoadedKeys=[];this._oUnmodifiableContainer=undefined;let p;if(!(s instanceof o)&&s!==undefined){throw new Error(\"oComponent passed must be a UI5 Component or must be undefined\")}if(s&&s.getMetadata&&s.getMetadata().getComponentName){p=s.getMetadata().getComponentName()}this.clear();if(!this._sContainerKey||typeof this._sContainerKey!==\"string\"){throw new e.Error(\"Invalid container key: sap.ushell.services.Personalization\",\" \")}this._oAdapterContainer=i.getAdapterContainer(this._sContainerKey,this._oScope,p);return this};a.prototype.getValidity=function(){return this._oScope.validity};a.prototype._getValidity=function(){return this._oScope.validity};a.prototype.clear=function(){this._oItemMap={};this._aLoadedItemKeys=[];this._clear=true;this._oItemMap=new e.Map};a.prototype.load=function(){let t={};const n=this;t=new jQuery.Deferred;if(!this._sContainerKey){throw new e.Error(\"Invalid container key: sap.ushell.services.Personalization\",\" \")}this.clear();const i=this._oService._pendingContainerOperations_flushAddNext(this._sContainerKey,t);i.always(()=>{n._oAdapterContainer.load().fail(()=>{t.reject()}).done(()=>{n._copyFromAdapter();if(n._isExpired()){n.clear()}t.resolve()})});return t.promise()};a.prototype._copyFromAdapter=function(){const e=this;const t=e._oAdapterContainer.getItemKeys().splice(0);t.forEach(t=>{e._oItemMap.put(t,JSON.stringify(e._oAdapterContainer.getItemValue(t)))});this._aLoadedItemKeys=e._oItemMap.keys().splice(0)};a.prototype._isExpired=function(){if(this._getValidity()===Infinity||this._getValidity()===0){return false}const e=this._getItemValueInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_EXPIRE);const t=i.getDateInstance({pattern:n.S_ABAPTIMESTAMPFORMAT});const o=t.format(this._getNow(),true);return e&&o>e};a.prototype._getNow=function(){return new Date};a.prototype._copyToAdapterUpdatingValidity=function(){let e=[];let o=[];const r=this;let a;let s;let p;let _;if(this._clear){e=this._oAdapterContainer.getItemKeys().splice(0);e.forEach(e=>{r._oAdapterContainer.delItem(e)});this._clear=false}if(this._getValidity()===Infinity||this._getValidity()===0){this._delItemInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_SCOPE);this._delItemInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_EXPIRE);this._delItemInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_STORAGE)}else{s=i.getDateInstance({pattern:n.S_ABAPTIMESTAMPFORMAT});a=this._getNow();_=s.format(a,true);p=s.format(new Date(a.getTime()+this._getValidity()*6e4),true);this._setItemValueInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_SCOPE,this._oScope);this._setItemValueInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_EXPIRE,p);this._setItemValueInternal(n.S_ADMIN_PREFIX,n.S_ITEMKEY_STORAGE,_)}e=this._oItemMap.keys();e.forEach(e=>{r._oAdapterContainer.setItemValue(e,t.cloneToObject(r._oItemMap.get(e)))});o=this._aLoadedItemKeys.filter(t=>!(e.indexOf(t)>-1));o.forEach(e=>{r._oAdapterContainer.delItem(e)})};a.prototype.save=function(){const e=this;this._copyToAdapterUpdatingValidity();const t=new jQuery.Deferred;const n=this._oService._pendingContainerOperations_cancelAddNext(this._sContainerKey,t);n.always(()=>{try{e._oAdapterContainer.save().fail(()=>{t.reject()}).done(()=>{t.resolve()})}catch(e){t.reject()}});return t.promise()};a.prototype.saveDeferred=function(e){const t=this;this._copyToAdapterUpdatingValidity();const n=new jQuery.Deferred;const i=this._oService._pendingContainerOperations_cancelAddNext(this._sContainerKey,n);function o(){i.always(()=>{try{t._oAdapterContainer.save().fail(()=>{n.reject()}).done(()=>{n.resolve()})}catch(e){n.reject()}})}n._sapFnSave=o;n._sapTimeoutId=setTimeout(o,e);return n.promise()};a.prototype.flush=function(){this._copyToAdapterUpdatingValidity();const e=new jQuery.Deferred;const t=this._oService._pendingContainerOperations_flushAddNext(this._sContainerKey,e);t.fail(()=>{e.reject()}).done(()=>{e.resolve()});return e.promise()};a.prototype.getItemKeys=function(){const e=this._oItemMap.keys().filter(e=>e.indexOf(n.S_ITEM_PREFIX)===0);return e.map(e=>e.replace(n.S_ITEM_PREFIX,\"\",\"\"))};a.prototype._getInternalKeys=function(){return this._oItemMap.keys().splice(0)};a.prototype.getItemValue=function(e){return this._getItemValueInternal(n.S_ITEM_PREFIX,e)};a.prototype._getItemValueInternal=function(e,n){if(typeof n!==\"string\"||typeof e!==\"string\"){return undefined}return t.cloneToObject(this._oItemMap.get(e+n))};a.prototype.containsItem=function(e){if(typeof e!==\"string\"){return undefined}return this._oItemMap.containsKey(n.S_ITEM_PREFIX+e)};a.prototype.setItemValue=function(e,t){this._setItemValueInternal(n.S_ITEM_PREFIX,e,t)};a.prototype._setItemValueInternal=function(t,n,i){if(typeof n!==\"string\"||typeof t!==\"string\"){throw new e.Error(\"Parameter value of sItemKey or sItemValue is not a string: sap.ushell.services.Personalization\",\" \")}if(n.length>40){r.error(`Personalization Service item key/variant set name (\"${n}\") should be less than 40 characters [current :${n.length}]`)}this._oItemMap.put(t+n,JSON.stringify(i))};a.prototype.delItem=function(e){this._delItemInternal(n.S_ITEM_PREFIX,e)};a.prototype._delItemInternal=function(e,t){if(typeof t!==\"string\"){return undefined}if(typeof e!==\"string\"){return undefined}this._oItemMap.remove(e+t)};a.prototype.getKey=function(){return this._sContainerKey.substring(n.S_CONTAINER_PREFIX.length)};a.prototype.getUnmodifiableContainer=function(){const t=this;if(!this._oUnmodifiableContainer){this._oUnmodifiableContainer=function(){const n={};[\"clear\",\"delItem\",\"flush\",\"load\",\"save\",\"saveDeferred\",\"setItemValue\"].forEach(t=>{n[t]=function(t){throw new e.Error(`Function ${t} can't be called on unmodifiable container`,\"ContextContainer\",\" \")}.bind(undefined,t)});[\"containsItem\",\"getItemKeys\",\"getItemValue\",\"getUnmodifiableContainer\"].forEach(e=>{if(t[e]){n[e]=t[e].bind(t)}});return n}()}return this._oUnmodifiableContainer};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/PersonalizationContainer\", [\"sap/ushell/utils\",\"sap/ushell/services/_Personalization/utils\",\"sap/ushell/services/_Personalization/constants.private\",\"sap/ushell/services/_Personalization/PersonalizationContainerVariantSet\",\"sap/ui/thirdparty/jquery\"],(e,t,a,n,jQuery)=>{\"use strict\";function i(t,a){this._sContainerKey=a;this._oAdapterContainer={};this._aLoadedVariantSetKeys=[];this._aLoadedItemKeys=[];let n={};const i=this;this._init();n=new jQuery.Deferred;if(!this._sContainerKey||typeof this._sContainerKey!==\"string\"){throw new e.Error(\"Invalid container key: sap.ushell.services.Personalization\",\" \")}this._oAdapterContainer=t.getAdapterContainer(this._sContainerKey);this.load().fail(()=>{n.reject()}).done(()=>{n.resolve(i)});return n.promise()}i.prototype._init=function(){this._oVariantSetMap={};this._oItemMap={};this._aLoadedVariantSetKeys=[];this._aLoadedItemKeys=[];this._oVariantSetMap=new e.Map;this._oItemMap=new e.Map};i.prototype.load=function(){let i={};let r=[];let o=[];let s=[];let p=[];const l=this;function _(e){let n=[];let i=[];n=e.filter(e=>e.indexOf(a.S_ITEM_PREFIX)!==0);if(n.length===0){return e}i=e.filter(e=>e.indexOf(a.S_ITEM_PREFIX)===0);n.forEach(e=>{let n={};let r=\"\";r=a.S_ITEM_PREFIX+e;n=t.clone(l._oAdapterContainer.getItemValue(e));l._oAdapterContainer.setItemValue(r,n);l._oAdapterContainer.delItem(e);if(i&&Array.prototype.indexOf.call(i,r)===-1){i.push(r)}});return i}i=new jQuery.Deferred;if(!this._sContainerKey){throw new e.Error(\"Invalid container key: sap.ushell.services.Personalization\",\" \")}this._init();this._oAdapterContainer.load().fail(()=>{i.reject()}).done(()=>{r=l._oAdapterContainer.getItemKeys().splice(0);o=r.filter(e=>e.indexOf(a.S_VARIANT_PREFIX)===0);o.forEach(e=>{let t={};t=new n(e,l._oAdapterContainer);l._oVariantSetMap.put(e,t)});s=r.filter(e=>e.indexOf(a.S_VARIANT_PREFIX)!==0);p=_(s);p.forEach(e=>{l._oItemMap.put(e,t.clone(l._oAdapterContainer.getItemValue(e)))});l._aLoadedVariantSetKeys=l._oVariantSetMap.keys().splice(0);l._aLoadedItemKeys=l._oItemMap.keys().splice(0);i.resolve()});return i.promise()};i.prototype.save=function(){let e;this._serializeVariantSets();this._serializeItems();const t=new jQuery.Deferred;function a(){t.resolve()}function n(){t.reject()}try{e=this._oAdapterContainer.save();e.fail(n);e.done(a)}catch(e){t.reject()}return t.promise()};i.prototype.getItemKeys=function(){return this._oItemMap.keys().map(e=>e.replace(a.S_ITEM_PREFIX,\"\",\"\"))};i.prototype.getItemValue=function(e){if(typeof e!==\"string\"){return undefined}return this._oItemMap.get(a.S_ITEM_PREFIX+e)};i.prototype.containsItem=function(e){if(typeof e!==\"string\"){return undefined}return this._oItemMap.containsKey(a.S_ITEM_PREFIX+e)};i.prototype.setItemValue=function(t,n){if(typeof t!==\"string\"){throw new e.Error(\"Parameter value of sItemKey is not a string: sap.ushell.services.Personalization\",\" \")}this._oItemMap.put(a.S_ITEM_PREFIX+t,n)};i.prototype.delItem=function(e){if(typeof e!==\"string\"){return}if(this.containsItem(e)){this._oItemMap.remove(a.S_ITEM_PREFIX+e)}};i.prototype._serializeItems=function(){let e=[];let a=[];const n=this;e=this._oItemMap.keys();e.forEach(e=>{n._oAdapterContainer.setItemValue(e,t.clone(n._oItemMap.get(e)))});a=this._aLoadedItemKeys.filter(t=>!(e.indexOf(t)>-1));a.forEach(e=>{n._oAdapterContainer.delItem(e)})};i.prototype.getVariantSetKeys=function(){let e=[];let t=[];t=this._oVariantSetMap.keys();e=t.map(e=>e.replace(a.S_VARIANT_PREFIX,\"\",\"\"));return e};i.prototype.containsVariantSet=function(e){return this._oVariantSetMap.containsKey(a.S_VARIANT_PREFIX+e)};i.prototype.getVariantSet=function(e){let t={};const n=a.S_VARIANT_PREFIX+e;t=this._oVariantSetMap.get(n);return t};i.prototype.addVariantSet=function(t){let i={};let r={};let o=\"\";if(this.containsVariantSet(t)){throw new e.Error(`Container already contains a variant set with key '${t}': sap.ushell.services.Personalization`,\" \")}o=a.S_VARIANT_PREFIX+t;i={currentVariant:null,variants:{}};this._oAdapterContainer.setItemValue(o,i);r=new n(o,this._oAdapterContainer);this._oVariantSetMap.put(o,r);return r};i.prototype._serializeVariantSets=function(){let e=[];let a=[];const n=this;e=this._oVariantSetMap.keys();e.forEach(e=>{let a={};let i={};a=n._oVariantSetMap.get(e);i=a._serialize();n._oAdapterContainer.setItemValue(e,t.clone(i))});a=this._aLoadedVariantSetKeys.filter(t=>!(e.indexOf(t)>-1));a.forEach(e=>{n._oAdapterContainer.delItem(e)})};i.prototype.delVariantSet=function(e){let t=\"\";t=a.S_VARIANT_PREFIX+e;this._oVariantSetMap.remove(t);return this._oAdapterContainer.delItem(t)};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/PersonalizationContainerVariant\", [\"sap/ushell/utils\"],t=>{\"use strict\";function e(e,r,n){if(typeof e!==\"string\"){throw new t.Error(\"Parameter value of sVariantKey is not a string: sap.ushell.services.Personalization\",\" \")}if(typeof r!==\"string\"){throw new t.Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\",\" \")}if(n&&typeof n!==\"object\"){throw new t.Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\",\" \")}this._oVariantKey=e;this._oVariantName=r;this._oItemMap=new t.Map;this._oItemMap.entries=n||{}}e.prototype.getVariantKey=function(){return this._oVariantKey};e.prototype.getVariantName=function(){return this._oVariantName};e.prototype.getItemValue=function(t){if(typeof t!==\"string\"){return undefined}return this._oItemMap.get(t)};e.prototype.setItemValue=function(e,r){if(typeof e!==\"string\"){throw new t.Error(\"Parameter value of sItemKey is not a string: sap.ushell.services.Personalization\",\" \")}return this._oItemMap.put(e,r)};e.prototype.containsItem=function(t){if(typeof t!==\"string\"){return undefined}return this._oItemMap.containsKey(t)};e.prototype.getItemKeys=function(){return this._oItemMap.keys()};e.prototype.delItem=function(t){if(typeof t!==\"string\"){return undefined}return this._oItemMap.remove(t)};e.prototype._serialize=function(){let t=[];const e={};const r={};const n=this;e.name=this.getVariantName();t=this._oItemMap.keys();t.forEach(t=>{r[t]=n.getItemValue(t)});e.variantData=r;return e};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/PersonalizationContainerVariantSet\", [\"sap/ushell/utils\",\"sap/ushell/services/_Personalization/utils\",\"sap/ushell/services/_Personalization/PersonalizationContainerVariant\"],(t,a,e)=>{\"use strict\";function r(r,n){let i;let s;let o;let p;this._sVariantSetKey=r;this._oAdapterContainer=n;this._oVariantNameMap=new t.Map;this._oVariantMap=new t.Map;const u=a.clone(this._oAdapterContainer.getItemValue(r));if(u.hasOwnProperty(\"currentVariant\")){this._sCurrentVariantKey=u.currentVariant}else{throw new t.Error(\"Corrupt variant set data: sap.ushell.services.Personalization\",\" \")}if(u.hasOwnProperty(\"variants\")){for(i in u.variants){if(u.variants.hasOwnProperty(i)){s=u.variants[i].name;o=u.variants[i].variantData;if(this._oVariantNameMap.containsKey(s)){throw new t.Error(\"Variant name already exists: sap.ushell.services.Personalization\",\" \")}else{this._oVariantNameMap.put(s,i);p=new e(i,s,o);this._oVariantMap.put(i,p)}}}}else{throw new t.Error(\"Corrupt variant set data: sap.ushell.services.Personalization\",\" \")}return this}r.prototype.getCurrentVariantKey=function(){return this._sCurrentVariantKey};r.prototype.setCurrentVariantKey=function(t){this._sCurrentVariantKey=t};r.prototype.getVariantKeys=function(){return this._oVariantMap.keys()};r.prototype.getVariantNamesAndKeys=function(){return JSON.parse(JSON.stringify(this._oVariantNameMap.entries))};r.prototype.getVariant=function(t){if(typeof t!==\"string\"){return undefined}return this._oVariantMap.get(t)};r.prototype.getVariantKeyByName=function(t){if(typeof t!==\"string\"){return undefined}return this._oVariantNameMap.get(t)};r.prototype.containsVariant=function(t){if(typeof t!==\"string\"){return undefined}return this._oVariantMap.containsKey(t)};r.prototype.addVariant=function(a){let r=0;let n=\"\";let i={};r=parseInt(this._oVariantMap.keys().sort((t,a)=>t-a).reverse()[0],10);n=isNaN(r)?\"0\":(r+1).toString();if(this._oVariantMap.containsKey(n)){throw new t.Error(`Variant key '${n}' already exists in variant set${this._sVariantSetKey}': sap.ushell.services.Personalization`,\" \")}if(typeof a!==\"string\"){throw new t.Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\",\" \")}if(this._oVariantNameMap.containsKey(a)){throw new t.Error(`Variant name '${a}' already exists in variant set '${this._sVariantSetKey}' (Old key: '${this._oVariantNameMap.get(a)}' New key: '${n}') ': sap.ushell.services.Personalization`,\" \")}i=new e(n,a);this._oVariantMap.put(n,i);this._oVariantNameMap.put(a,n);return i};r.prototype._serialize=function(){let t=[];const a={};const e={};const r=this;a.currentVariant=this._sCurrentVariantKey;t=this.getVariantKeys();t.forEach(t=>{let a={};a=r._oVariantMap.get(t);e[t]=a._serialize()});a.variants=e;return a};r.prototype.delVariant=function(t){const a=this._oVariantMap.get(t);if(a){this._oVariantNameMap.remove(a.getVariantName());this._oVariantMap.remove(t)}};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/Personalizer\", [\"sap/ushell/utils\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,jQuery,t)=>{\"use strict\";function r(t,r,i,o,s){this._sPersContainer=\"\";this._sPersItem=\"\";this._sPersVariant=null;this._oAdapter=r;this._oService=t;this._oScope=o;this._oComponent=s;if(!i||!i.container||!i.item||typeof i.container!==\"string\"||typeof i.item!==\"string\"){throw new e.Error(\"Invalid input for oPersId: sap.ushell.services.Personalization\",\" \")}this._sPersContainer=i.container;this._sPersItem=i.item}r.prototype._getContainer=function(e){if(!this._oGetContainerPromise){this._oGetContainerPromise=this._oService.getContainer(e,this._oScope,this._oComponent)}return this._oGetContainerPromise};r.prototype.getPersData=function(){let e={};const r=this;e=new jQuery.Deferred;this._getContainer(this._sPersContainer).fail(()=>{e.reject()}).done(t=>{e.resolve(t.getItemValue(r._sPersItem))});e.fail(()=>{t.error(`Failed to get personalization data for Personalizer container: ${r._sPersContainer}`)});return e.promise()};r.prototype.setPersData=function(e){let r={};const i=this;r=new jQuery.Deferred;this._getContainer(this._sPersContainer).fail(()=>{r.reject()}).done(t=>{t.setItemValue(i._sPersItem,e);t.save().fail(()=>{r.reject()}).done(()=>{r.resolve()})});r.fail(()=>{t.error(`Fail to set Personalization data for Personalizer container: ${i._sPersContainer}`)});return r.promise()};r.prototype.delPersData=function(){let e={};const r=this;e=new jQuery.Deferred;this._getContainer(this._sPersContainer).fail(()=>{e.reject()}).done(t=>{t.delItem(r._sPersItem);t.save().fail(()=>{e.reject()}).done(()=>{e.resolve()})});const i=e.promise();i.fail(function(){t.error(`Fail to delete Personalization data for Personalizer container: ${this._sPersContainer}`)});return i};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/TransientPersonalizer\", [\"sap/ui/thirdparty/jquery\"],jQuery=>{\"use strict\";function e(){this._oValue=undefined}e.prototype.getPersData=function(){const e=new jQuery.Deferred;e.resolve(this._oValue);return e.promise()};e.prototype.setPersData=function(e){const t=new jQuery.Deferred;this._oValue=e;t.resolve();return t.promise()};e.prototype.delPersData=function(){const e=new jQuery.Deferred;this._oValue=undefined;e.resolve();return e.promise()};e.prototype.setValue=function(e){this._oValue=e};e.prototype.getValue=function(){return this._oValue};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/Variant\", [\"sap/ushell/utils\",\"sap/ushell/services/_Personalization/utils\"],(t,a)=>{\"use strict\";function e(a,e,r){if(typeof e!==\"string\"){throw new t.Error(\"Parameter value of sVariantKey is not a string: sap.ushell.services.Personalization\",\" \")}if(typeof r!==\"string\"){throw new t.Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\",\" \")}this._oVariantSet=a;this._sVariantKey=e;this._sVariantName=r}e.prototype.getVariantKey=function(){return this._sVariantKey};e.prototype.getVariantName=function(){return this._sVariantName};e.prototype.setVariantName=function(a){const e=this._oVariantSet._getVariantSet();let r;if(typeof a!==\"string\"){throw new t.Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\",\" \")}if(this._oVariantSet.getVariantKeyByName(a)!==undefined){throw new t.Error(`Variant with name '${a}' already exists in variant set '${this._oVariantSet._sVariantSetKey}': sap.ushell.services.Personalization`,\" \")}if(Object.prototype.hasOwnProperty.call(e,\"variants\")&&Object.prototype.hasOwnProperty.call(e.variants,this._sVariantKey)){r=e.variants[this._sVariantKey];r.name=a;this._sVariantName=a;this._oVariantSet._serialize()}else{throw new t.Error(\"Variant does not longer exist\",\" \")}};e.prototype.getItemValue=function(t){if(typeof t!==\"string\"){return undefined}const e=this._oVariantSet._getVariantSet().variants[this._sVariantKey].variantData;if(!Object.prototype.hasOwnProperty.call(e,t)){return undefined}return a.clone(e[t])};e.prototype.setItemValue=function(e,r){if(typeof e!==\"string\"){throw new t.Error(\"Parameter value of sItemKey is not a string: sap.ushell.services.Personalization\",\" \")}const i=this._oVariantSet._getVariantSet().variants&&this._oVariantSet._getVariantSet().variants[this._sVariantKey];if(!i){throw new t.Error(\"Variant does not longer exist\",\" \")}if(!i.variantData){i.variantData={}}const n=i.variantData;n[e]=a.clone(r);this._oVariantSet._serialize()};e.prototype.containsItem=function(t){if(typeof t!==\"string\"){return undefined}const a=this._oVariantSet._getVariantSet().variants[this._sVariantKey].variantData;return Object.prototype.hasOwnProperty.call(a,t)};e.prototype.getItemKeys=function(){const t=this._oVariantSet._getVariantSet().variants[this._sVariantKey].variantData;let a;const e=[];for(a in t){if(Object.prototype.hasOwnProperty.call(t,a)){e.push(a)}}e.sort();return e};e.prototype.delItem=function(t){if(typeof t!==\"string\"){return}const a=this._oVariantSet._getVariantSet().variants[this._sVariantKey].variantData;delete a[t];this._oVariantSet._serialize()};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/VariantSet\", [\"sap/ushell/utils\",\"sap/ushell/services/_Personalization/constants.private\",\"sap/ushell/services/_Personalization/Variant\"],(t,e,a)=>{\"use strict\";function r(a,r){let n;let i;let s;const o=new t.Map;this._oContextContainer=r;this._sVariantSetKey=a;this._oVariantSetData=this._oContextContainer._getItemValueInternal(e.S_VARIANT_PREFIX,this._sVariantSetKey);if(!Object.prototype.hasOwnProperty.call(this._oVariantSetData,\"currentVariant\")){throw new t.Error(\"Corrupt variant set data: sap.ushell.services.Personalization\",\" \")}if(Object.prototype.hasOwnProperty.call(this._oVariantSetData,\"variants\")){for(n in this._oVariantSetData.variants){if(Object.prototype.hasOwnProperty.call(this._oVariantSetData.variants,n)){i=this._oVariantSetData.variants[n].name;s=this._oVariantSetData.variants[n].variantData;if(o.containsKey(i)){throw new t.Error(\"Variant name already exists: sap.ushell.services.Personalization\",\" \")}else{if(typeof n!==\"string\"){throw new t.Error(\"Parameter value of sVariantKey is not a string: sap.ushell.services.Personalization\",\" \")}if(typeof i!==\"string\"){throw new t.Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\",\" \")}if(s&&typeof s!==\"object\"){throw new t.Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\",\" \")}o.put(i,n)}}}}else{throw new t.Error(\"Corrupt variant set data: sap.ushell.services.Personalization\",\" \")}return this}r.prototype._getVariantSet=function(){return this._oVariantSetData};r.prototype._serialize=function(){this._oContextContainer._setItemValueInternal(e.S_VARIANT_PREFIX,this._sVariantSetKey,this._oVariantSetData)};r.prototype.getCurrentVariantKey=function(){return this._getVariantSet().currentVariant};r.prototype.setCurrentVariantKey=function(t){this._getVariantSet().currentVariant=t;this._serialize()};r.prototype.getVariantKeys=function(){const e=new t.Map;const a=this._getVariantSet(this._sVariantSetKey);let r;if(Object.prototype.hasOwnProperty.call(a,\"variants\")){for(r in a.variants){if(Object.prototype.hasOwnProperty.call(a.variants,r)){e.put(r,\"dummy\")}}}else{throw new t.Error(\"Corrupt variant set data: sap.ushell.services.Personalization\",\" \")}return e.keys()};r.prototype.getVariantNamesAndKeys=function(){const e=new t.Map;const a=new t.Map;const r=this._getVariantSet(this._sVariantSetKey);let n;let i;if(Object.prototype.hasOwnProperty.call(r,\"variants\")){for(n in r.variants){if(Object.prototype.hasOwnProperty.call(r.variants,n)){i=r.variants[n].name;if(e.containsKey(i)){throw new t.Error(\"Variant name already exists: sap.ushell.services.Personalization\",\" \")}else{e.put(i,n)}a.put(n,\"dummy\")}}}else{throw new t.Error(\"Corrupt variant set data: sap.ushell.services.Personalization\",\" \")}return e.entries};r.prototype.getVariant=function(t){if(typeof t!==\"string\"){return undefined}const e=this._getVariantSet(this._sVariantSetKey);let r;let n;let i;if(Object.prototype.hasOwnProperty.call(e,\"variants\")&&Object.prototype.hasOwnProperty.call(e.variants,t)){r=e.variants[t].name;i=e.variants[t].variantData;n=new a(this,t,r,i);return n}return undefined};r.prototype.getVariantKeyByName=function(e){if(typeof e!==\"string\"){return undefined}const a=this._getVariantSet(this._sVariantSetKey);let r;if(Object.prototype.hasOwnProperty.call(a,\"variants\")){for(r in a.variants){if(Object.prototype.hasOwnProperty.call(a.variants,r)){if(e===a.variants[r].name){return r}}}}else{throw new t.Error(\"Corrupt variant set data: sap.ushell.services.Personalization\",\" \")}return undefined};r.prototype.containsVariant=function(t){const e=this._getVariantSet();if(typeof t!==\"string\"){return undefined}return Object.prototype.hasOwnProperty.call(e,\"variants\")&&Object.prototype.hasOwnProperty.call(e.variants,t)};r.prototype.addVariant=function(e){let r=[];let n=0;let i=\"\";let s={};r=this.getVariantKeys();n=parseInt(r.sort((t,e)=>t-e).reverse()[0],10);i=isNaN(n)?\"0\":(n+1).toString();if(r.indexOf(i)>=0){throw new t.Error(`Variant key '${i}' already exists in variant set${this._sVariantSetKey}': sap.ushell.services.Personalization`,\" \")}if(typeof e!==\"string\"){throw new t.Error(\"Parameter value of sVariantName is not a string: sap.ushell.services.Personalization\",\" \")}if(this.getVariantKeyByName(e)!==undefined){throw new t.Error(`Variant name '${e}' already exists in variant set '${this._sVariantSetKey}' (Old key: '${this.getVariantKeyByName(e)}' New key: '${i}') ': sap.ushell.services.Personalization`,\" \")}s=new a(this,i,e);this._getVariantSet(this._sVariantSetKey).variants[i]={name:e,variantData:{}};this._serialize();return s};r.prototype.delVariant=function(t){if(typeof t!==\"string\"){return}const e=this._getVariantSet();if(e&&e.variants){delete this._oVariantSetData.variants[t]}this._serialize()};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/VariantSetAdapter\", [\"sap/ushell/services/personalization/VariantSetAdapter\",\"sap/base/Log\"],(e,a)=>{\"use strict\";a.error(\"sap.ushell.services.Personalization.VariantSetAdapter has been deprecated. Please use sap.ushell.services.personalization.VariantSetAdapter instead\");return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/WindowAdapter\", [\"sap/ushell/services/PersonalizationV2/WindowAdapter\"],e=>{\"use strict\";return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/WindowAdapterContainer\", [\"sap/ushell/services/PersonalizationV2/WindowAdapterContainer\"],e=>{\"use strict\";return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/constants\", [],()=>{\"use strict\";return{keyCategory:{FIXED_KEY:\"FIXED_KEY\",GENERATED_KEY:\"GENERATED_KEY\"},writeFrequency:{HIGH:\"HIGH\",LOW:\"LOW\"}}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/constants.private\", [],()=>{\"use strict\";return{S_CONTAINER_PREFIX:\"sap.ushell.personalization#\",S_ITEM_PREFIX:\"ITEM#\",S_VARIANT_PREFIX:\"VARIANTSET#\",S_ABAPTIMESTAMPFORMAT:\"yyyyMMddHHmmss\",S_ADMIN_PREFIX:\"ADMIN#\",S_ITEMKEY_SCOPE:\"sap-ushell-container-scope\",S_ITEMKEY_STORAGE:\"sap-ushell-container-storageUTCTimestamp\",S_ITEMKEY_EXPIRE:\"sap-ushell-container-expireUTCTimestamp\"}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/_Personalization/utils\", [\"sap/ushell/services/_Personalization/constants\",\"sap/ushell/services/_Personalization/constants.private\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,t,jQuery,n)=>{\"use strict\";function r(e,t){let n;for(n in t){if(typeof t[n]!==\"function\"){if(t.hasOwnProperty(n)){if(n===e){return true}}}}return false}function i(e){if(e.length>40){n.error(`Personalization Service container key (\"${e}\") should be less than 40 characters [current :${e.length}]`)}return t.S_CONTAINER_PREFIX+e}function a(e,t,n){if(e&&e.validity===0){return t}return n}function l(t){const n={validity:Infinity,keyCategory:e.keyCategory.GENERATED_KEY,writeFrequency:e.writeFrequency.HIGH,clientStorageAllowed:false};if(t){n.validity=t.validity;if(n.validity===null||n.validity===undefined||typeof n.validity!==\"number\"){n.validity=Infinity}if(!(typeof n.validity===\"number\"&&(n.validity>=0&&n.validity<1e3||n.validity===Infinity))){n.liftime=Infinity}n.keyCategory=r(t.keyCategory,e.keyCategory)?t.keyCategory:n.keyCategory;n.writeFrequency=r(t.writeFrequency,e.writeFrequency)?t.writeFrequency:n.writeFrequency;if(typeof t.clientStorageAllowed===\"boolean\"&&(t.clientStorageAllowed===true||t.clientStorageAllowed===false)){n.clientStorageAllowed=t.clientStorageAllowed}}return n}function o(e){if(!e.lazy){return jQuery.when(e.instance)}try{return e.create.call(null)}catch(e){return(new jQuery.Deferred).reject(e).promise()}}function u(e){if(!e){return false}const t=e.getManifestObject();if(!t){return false}const n=t.getEntry(\"/sap.ui5/appVariantId\");if(!n){return false}const r=t.getComponentName();if(n===r){return false}return true}function f(e){if(e===undefined){return undefined}try{return JSON.parse(e)}catch(e){return undefined}}function c(e){if(e===undefined){return undefined}try{return JSON.parse(JSON.stringify(e))}catch(e){return undefined}}return{adjustScope:l,cloneToObject:f,clone:c,addContainerPrefix:i,pickAdapter:a,isAppVariant:u,loadAdapter:o}});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/appstate/AppState\", [\"sap/base/Log\",\"sap/ui/thirdparty/jquery\"],(t,jQuery)=>{\"use strict\";function e(){const t=new jQuery.Deferred;this._oServiceInstance._saveAppState(this._sKey,this._sData,this._sAppName,this._sACHComponent,this._bTransient,this._sPersistencyMethod,this._oPersistencySettings).done(()=>{t.resolve()}).fail(e=>{t.reject(e)});return t.promise()}function s(){const t=new jQuery.Deferred;this._oServiceInstance._deleteAppState(this._sKey).done(()=>{t.resolve()}).fail(e=>{t.reject(e)});return t.promise()}function i(i,n,r,a,o,h,c,p,_){this._oServiceInstance=i;this._sKey=n;this._sData=a;this._sAppName=o;this._sACHComponent=h;this._bTransient=c;this._bModifiable=r;this._sPersistencyMethod=p;this._oPersistencySettings=_;if(this._bModifiable){this.setData=function(e){try{this._sData=JSON.stringify(e)}catch(e){t.error(\"Data can not be serialized\",\"sap.ushell.services.AppState.AppState\");this._sData=undefined}};this.save=e.bind(this);this.delete=s.bind(this)}}i.prototype.getData=function(){let e;if(this._sData===undefined||this._sData===\"\"){return undefined}try{e=JSON.parse(this._sData)}catch(e){t.error(`Could not parse [${this._sData}]${e}`)}return e};i.prototype.getPersistencyMethod=function(){return this._sPersistencyMethod};i.prototype.getPersistencySettings=function(){return this._oPersistencySettings};i.prototype.getKey=function(){return this._sKey};return i});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/appstate/AppStatePersistencyMethod\", [],()=>{\"use strict\";function t(){this.PersonalState=\"PersonalState\";this.ACLProtectedState=\"ACLProtectedState\";this.PublicState=\"PublicState\";this.AuthorizationProtectedState=\"AuthorizationProtectedState\"}return new t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/appstate/AppStatePersistencySettings\", [],()=>{\"use strict\";function e(e,i,t,s){this.CreatorUserID=e;this.SelectedUserIDs=i;this.RetrievalMapping=t;this.Expiration=s}return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/appstate/LimitedBuffer\", [],()=>{\"use strict\";function t(t){this.index=-1;this.capacity=t;this.array=[]}t.prototype._clear=function(){this.array=[];this.index=-1};t.prototype.addAsHead=function(t,i,e,a){this.index=(this.index+1)%this.capacity;this.array[this.index]={key:t,value:i,persistencyMethod:e,persistencySettings:a}};t.prototype.getByKey=function(t){let i;let e;for(i=0;i<=this.capacity-1;i=i+1){e=(this.capacity+this.index-i)%this.capacity;if(this.array[e]&&this.array[e].key===t){return this.array[e]}}return undefined};t.prototype.deleteByKey=function(t){let i;let e;let a=false;for(i=0;i<=this.capacity-1;i=i+1){e=(this.capacity+this.index-i)%this.capacity;if(this.array[e]&&this.array[e].key===t){delete this.array[e];a=true}}return a};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/appstate/Sequentializer\", [\"sap/ui/thirdparty/jquery\"],jQuery=>{\"use strict\";function e(){this.oLastPromise=new jQuery.Deferred;this.oLastPromise.resolve()}e.prototype.addToQueue=function(e){const t=new jQuery.Deferred;this.oLastPromise.always(()=>{const s=e();s.done(function(){t.resolve.apply(t,arguments)}).fail(function(){t.reject.apply(t,arguments)})});this.oLastPromise=t;return t.promise()};return e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/appstate/SequentializingAdapter\", [\"sap/ushell/services/appstate/Sequentializer\"],e=>{\"use strict\";function t(t){this._oSequentializer=new e;this._oUnderlyingAdapter=t}t.prototype.saveAppState=function(e,t,r,n,i,p,d){const o=this._oUnderlyingAdapter.saveAppState.bind(this._oUnderlyingAdapter,e,t,r,n,i,p,d);return this._oSequentializer.addToQueue(o)};t.prototype.loadAppState=function(e){return this._oUnderlyingAdapter.loadAppState(e)};t.prototype.deleteAppState=function(e){if(this._oUnderlyingAdapter&&this._oUnderlyingAdapter.deleteAppState){return this._oUnderlyingAdapter.deleteAppState(e)}};t.prototype.getSupportedPersistencyMethods=function(){if(this._oUnderlyingAdapter&&this._oUnderlyingAdapter.getSupportedPersistencyMethods){return this._oUnderlyingAdapter.getSupportedPersistencyMethods()}return[]};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/appstate/WindowAdapter\", [\"sap/ushell/services/appstate/LimitedBuffer\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\"],(e,t,jQuery)=>{\"use strict\";const o=500;const p=18;function r(){this._init.apply(this,arguments)}r.prototype._init=function(t,p,a){const n=a&&a.config&&a.config.initialAppStates||{};const s=a&&a.config&&a.config.initialAppStatesPromise;this._oServiceInstance=t;this._oBackendAdapter=p;if(!r.prototype.data){r.prototype.data=new e(o)}if(s){s.then(e=>{if(typeof e===\"object\"){Object.keys(e).forEach(t=>{r.prototype.data.addAsHead(t,e[t])})}})}Object.keys(n).forEach(e=>{r.prototype.data.addAsHead(e,n[e])})};r.prototype.saveAppState=function(e,t,o,p,a,n,s,i){this.sComponent=a;const d=new jQuery.Deferred;r.prototype.data.addAsHead(e,o,s,i);if(this._oBackendAdapter&&!n){return this._oBackendAdapter.saveAppState(e,t,o,p,a,s,i)}d.resolve();return d.promise()};r.prototype._checkIfTransient=function(e){return e.startsWith(\"TAS\")};r.prototype.loadAppState=function(e){const o=new jQuery.Deferred;const a=r.prototype.data.getByKey(e);if(a){setTimeout(()=>{o.resolve(e,a.value,a.persistencyMethod,a.persistencySettings)},0);return o.promise()}try{if(window.opener&&window.opener.sap&&window.opener.sap.ushell){const t=window.opener.sap.ui.require(\"sap/ushell/services/AppState\").WindowAdapter.prototype.data.getByKey(e);if(t){o.resolve(e,t.value);return o.promise()}}}catch(e){if(e.code===p){t.warning(\"AppState.js - loadAppState: Opener is not of the same origin and cannot be used for AppState resolving.\")}else{t.warning(\"AppState.js - loadAppState: Opener is a FLP but AppState could not get resolved from there.\")}}if(this._oBackendAdapter&&!this._checkIfTransient(e)){this._oBackendAdapter.loadAppState(e).done((e,t,p,a)=>{r.prototype.data.addAsHead(e,t);o.resolve(e,t,p,a)}).fail(o.reject.bind(o));return o.promise()}o.reject(\"AppState.js - loadAppState: Application State could not be loaded\");return o.promise()};r.prototype.deleteAppState=function(e){const t=new jQuery.Deferred;r.prototype.data.deleteByKey(e);if(this._oBackendAdapter&&this._oBackendAdapter.deleteAppState&&!this._checkIfTransient(e)){return this._oBackendAdapter.deleteAppState(e)}t.resolve();return t.promise()};r.prototype.getSupportedPersistencyMethods=function(){if(this._oBackendAdapter&&this._oBackendAdapter.getSupportedPersistencyMethods){return this._oBackendAdapter.getSupportedPersistencyMethods()}return[]};return r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/services/personalization/VariantSetAdapter\", [\"sap/ushell/services/_Personalization/constants.private\",\"sap/ushell/services/_Personalization/utils\",\"sap/ushell/services/_Personalization/VariantSet\"],(t,e,n)=>{\"use strict\";function a(t){this._oContextContainer=t}a.prototype.save=function(){return this._oContextContainer.save()};a.prototype.getVariantSetKeys=function(){const e=this._oContextContainer._getInternalKeys();let n=[];n=e.map(e=>e.replace(t.S_VARIANT_PREFIX,\"\",\"\"));return n};a.prototype.containsVariantSet=function(t){return this.getVariantSetKeys().indexOf(t)>=0};a.prototype.getVariantSet=function(e){const a=this._oContextContainer._getItemValueInternal(t.S_VARIANT_PREFIX,e);if(!a){return undefined}return new n(e,this._oContextContainer)};a.prototype.addVariantSet=function(a){let i={};let r={};if(this.containsVariantSet(a)){throw new e.Error(`Container already contains a variant set with key '${a}': sap.ushell.services.Personalization`,\" \")}i={currentVariant:null,variants:{}};this._oContextContainer._setItemValueInternal(t.S_VARIANT_PREFIX,a,i);r=new n(a,this._oContextContainer);return r};a.prototype.delVariantSet=function(e){this._oContextContainer._delItemInternal(t.S_VARIANT_PREFIX,e)};return a});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/BaseState\", [\"sap/base/util/deepClone\",\"sap/ushell/state/StrategyFactory\",\"sap/ushell/state/StateManager/LaunchpadState\"],(t,a,e)=>{\"use strict\";class s{#t={};constructor(a){Object.values(e).forEach(e=>{this.#t[e]=t(a)})}updateState(t,e,s,r){if(!t){Object.keys(this.#t).forEach(t=>{a.perform(this.#t[t],e,s,r)});return}a.perform(this.#t[t],e,s,r)}getStateData(a,e){const s=t(this.#t[e]);return s}}return s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/BindingHelper\", [\"sap/ui/core/Element\"],t=>{\"use strict\";class e{overrideUpdateAggregation(t){t.updateAggregation=this.#t}#t(t){const g=this.getBindingInfo(t).model;const i=[...this.getAggregation(t)||[]];i.forEach(e=>{this.removeAggregation(t,e,true)});this.getBinding(t).getCurrentContexts().forEach(i=>{const n=e.prototype.factory(\"\",i);if(!n){return}n.setBindingContext(i,g);this.addAggregation(t,n,true)});this.invalidate()}factory(e,g){return t.getElementById(g.getObject())}}return new e});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/ControlManager\", [\"sap/base/util/deepClone\",\"sap/ui/core/Element\"],(t,o)=>{\"use strict\";class r{#t=[];#o=[];#r=[];addManagedControl(t,o,r){if(!this.#t.includes(t)){this.#t.push(t)}if(r===\"home\"){o=false}const s=this.#r.includes(t);const e=this.#o.includes(t);if(o&&!e){this.#o.push(t)}else if(!o&&!s){this.#r.push(t)}}updateManagedControl(t,o){if(!this.#t.includes(t)){return}this.addManagedControl(t,o)}removeManagedControl(t){this.#t=this.#t.filter(o=>o!==t);this.#o=this.#o.filter(o=>o!==t);this.#r=this.#r.filter(o=>o!==t)}destroyManagedControls(){this.#o.forEach(t=>{if(this.#r.includes(t)){return}this.destroyManagedControl(t)});this.#o=[]}#s(){this.#t.forEach(t=>{this.destroyManagedControl(t)});this.#t=[]}destroyManagedControl(t){const r=o.getElementById(t);if(r){r.destroy()}}storeList(o={}){o.controlManager={currentControls:t(this.#o)}}restoreList(o={}){const{currentControls:r}=o.controlManager||{};if(r){this.#o=t(r)}else{this.#o=[]}}flushList(){this.#o=[]}destroyFromStorage(t={}){const{currentControls:o}=t.controlManager||{};if(Array.isArray(o)){o.forEach(t=>{this.destroyManagedControl(t)})}}reset(){this.destroy();this.#o=[];this.#r=[]}destroy(){this.#s()}}return new r});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/CurrentState\", [\"sap/base/util/deepClone\",\"sap/ui/base/EventProvider\",\"sap/ushell/state/StrategyFactory\"],(t,e,a)=>{\"use strict\";class s{#t=[];#e=new e;attachStateChange(...t){this.#e.attachEvent(\"stateChange\",...t)}detachStateChange(...t){this.#e.detachEvent(\"stateChange\",...t)}updateState(t,e,a){this.#t.push({path:t,value:a,operation:e})}flushState(){this.#t=[];this.#e.fireEvent(\"stateChange\")}storeState(e){e.currentState={commandList:t(this.#t)}}restoreState(e){const{commandList:a}=e.currentState||{};if(a){this.#t=t(a)}else{this.#t=[]}this.#e.fireEvent(\"stateChange\")}applyState(t){this.#t.forEach(({path:e,value:s,operation:i})=>{a.perform(t,e,i,s)})}reset(){this.destroy();this.#t=[];this.#e=new e}destroy(){this.#e.destroy()}}return new s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/KeepAlive\", [\"sap/ushell/state/ControlManager\",\"sap/ushell/state/CurrentState\"],(t,e)=>{\"use strict\";class s{store(s){e.storeState(s);t.storeList(s)}restore(s){e.restoreState(s);t.restoreList(s)}flush(){e.flushState();t.flushList()}destroy(e){t.destroyFromStorage(e)}}return new s});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/ShellModel\", [\"sap/base/util/deepClone\",\"sap/ui/model/json/JSONModel\",\"sap/ushell/Config\",\"sap/ushell/utils/RestrictedJSONModel\"],(e,o,s,t)=>{\"use strict\";class l{#e=new t;#o=s.createModel(\"/core/shell/model\",o);constructor(){this.#s(this.#e)}#s(e){const o=e.refresh.bind(e);e.refresh=function e(s){if(s){throw new Error(\"The shell model does not support force update.\")}o()}}updateModel(o){const s=e(o);this.#e._setData(s)}getModel(){return this.#e}getConfigModel(){return this.#o}reset(){this.destroy();this.#e=new t;this.#o=s.createModel(\"/core/shell/model\",o);this.#s(this.#e)}destroy(){this.#e.destroy();this.#o.destroy()}}return new l});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/state/StateManager\", [\"sap/base/Log\",\"sap/ushell/Config\",\"sap/ushell/state/BaseState\",\"sap/ushell/state/ControlManager\",\"sap/ushell/state/CurrentState\",\"sap/ushell/state/ShellModel\",\"sap/ushell/state/StateRules\",\"sap/ushell/state/StateManager/LaunchpadState\",\"sap/ushell/state/StateManager/Operation\",\"sap/ushell/state/StateManager/ShellMode\",\"sap/ushell/utils\"],(e,t,a,s,l,i,n,r,h,d,o)=>{\"use strict\";const{Default:u,Standalone:p,Lean:g,Minimal:S}=d;class c{#e=o.deepFreeze({sideNavigation:{visible:true},sidePane:{visible:false,items:[]},toolArea:{visible:false,items:[]},rightFloatingContainer:{visible:false,items:[]},floatingContainer:{visible:false,state:\"floating\",dragSelector:\"\",items:[]},userActions:{items:[]},floatingActions:{items:[]},header:{visible:true,logo:{src:undefined,alt:undefined},secondTitle:\"\",headItems:[],centralAreaElement:null,headEndItems:[]},subHeader:{items:[]},footer:{content:\"\"},application:{title:\"\",titleAdditionalInformation:{headerText:\"\",additionalContext:\"\",searchTerm:\"\",searchScope:\"\"},icon:\"\",contentDensity:\"\",subTitle:\"\",relatedApps:[],hierarchy:[]}});#t=false;#a=r.Home;#s=d.Default;#l=d.Default;#i=null;#n=l;#r=false;#h=false;#d=[];LaunchpadState=r;ShellMode=d;Operation=h;constructor(){this.#o()}#o(){const e=this.#u();this.#l=e;this.#s=e;this.#a=o.isFlpHomeIntent()?r.Home:r.App;this.#i=new a(this.#e);this.#n.attachStateChange(this.#p,this);this.#p()}init(e){if(this.#t){throw new Error(\"State Manager is already in Copyright (C) 2009-2025, 2009-2025, 2013, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\", [\"sap/ui/model/FilterOperator\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/odata/ODataModel\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\",\"sap/base/util/UriParameters\",\"sap/ushell/utils/UrlParsing\",\"sap/ushell/services/CrossApplicationNavigation\"],(e,t,i,n,s,jQuery,r,a,o)=>{\"use strict\";const l=t.ParameterizationRequest;const c=t.QueryResultRequest;const u=t.Model.ReferenceByModel;const f=t.Model;sap=sap||{};sap.ushell=sap.ushell||{};sap.ushell.components=sap.ushell.components||{};sap.ushell.components.tiles.indicatorTileUtils=sap.ushell.components.tiles.indicatorTileUtils||{};sap.ushell.components.tiles.indicatorTileUtils.util=sap.ushell.components.tiles.indicatorTileUtils.util||{};sap.ushell.components.tiles.indicatorTileUtils.util=function(t,a){const g={};const T={ANN:\"years\",WEE:\"weeks\",DAY:\"days\",HUR:\"hours\",MIN:\"minutes\"};const h={};const m={};return{getScheduledJob:function(e){return h[e]},setScheduledJob:function(e,t){h[e]=t},isCallInProgress:function(e){return m[e]},setUnsetCallInProgress:function(e,t){m[e]=t},getTimeUnitMap:function(){return T},getHanaUser:function(){return authObject.userName},addSystemToServiceUrl:function(e,t){s.info(\"Hana Adapter --\\x3e Add System to Service Url\");if(sap.ushell&&sap.ushell.Container){if(t){sap.ushell.Container.getServiceAsync(\"URLParsing\").then(i=>{sap.ui.model.odata.ODataUtils.setOrigin(e,{alias:t})})}else{sap.ushell.Container.getServiceAsync(\"URLParsing\").then(t=>{sap.ui.model.odata.ODataUtils.setOrigin(e)})}}return e},getODataModelByServiceUri:function(e){e=this.addSystemToServiceUrl(e);if(!g[e]){const t=new n(e,{loadMetadataAsync:true,json:true});g[e]=t}return g[e]},getEdmType:function(e,t){let i=null;if(e instanceof n){i=e}else{i=this.getODataModelByServiceUri(e)}if(i&&i.getServiceMetadata()){const e=i.getServiceMetadata();const n=e.dataServices.schema[0].entityType;if(n){for(let e=0;e<n.length;e++){const i=n[e];const s=i.property;for(let e=0;e<s.length;e++){const i=s[e];if(i.name==t){return i.type}}}}}return null},getMillisecond:function(e,t){let i;switch(t){case\"seconds\":i=e*1e3;break;case\"minutes\":i=e*60*1e3;break;case\"hours\":i=e*60*60*1e3;break;case\"days\":i=e*24*60*60*1e3;break;case\"weeks\":i=e*7*24*60*60*1e3;break;case\"months\":i=e*4*7*24*60*60*1e3;break;case\"years\":i=e*12*4*7*24*60*60*1e3;break}return i},getUTCDate:function(){const e=new Date;return e},isCacheValid:function(e,t,i,n,s){const r=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(e);if(!r){return false}else if(!(i&&Number(i))){return true}const a=this.getMillisecond(i,T[n]);let o;if(r.CachedTime instanceof Date){o=r.CachedTime&&r.CachedTime.getTime()}else{o=r.CachedTime&&parseInt(r.CachedTime.substr(6),10)}const l=this.getUTCDate();return o>=t&&a>=l-o&&!s},getMantissaLength:function(e){const t=e.toString();let i=0;if(e<0){i=1}if(t.indexOf(\".\")===-1){return e<0?t.length-1:t.length}return t.substring(i,t.indexOf(\".\")).length},getLocaleFormattedValue:function(e,t,n,s,r){sap.ui.require(\"sap.ui.core.format.NumberFormat\");s=s||false;r=r||null;if(s){return i.getCurrencyInstance({style:\"short\",showMeasure:false}).format(e,r)}let a=2;const o={style:\"short\"};let l;if(!(n==-1||n==null)){o.shortDecimals=Number(n);o.minFractionDigits=Number(n);o.maxFractionDigits=Number(n)}let c=i.getInstance(o);if(t==-2){if(e>9999){l=\"????\"}else if(e>-.001&&e<0||e<.001&&e>0){l=\"0\"}else{if(e.toString().indexOf(\".\")!=-1){l=Number(e).toFixed(4-e.toString().indexOf(\".\"))}else{l=Number(e)}l=c.format(l)}}else if(n==-1||n==null){const t=this.getMantissaLength(e);if(!(t%3)){a=1}if(t%3===1){a=3}if(t%3===2){a=2}if(Math.abs(e)%Math.pow(10,t-1)==0){a=0}else if(Math.abs(e)%Math.pow(10,t-1)<6*Math.pow(10,t-4)){a=0}c=i.getInstance({style:\"short\",shortDecimals:a});l=c.format(e)}else{l=c.format(e)}return l},getPlatform:function(e){return(new r(window.location.href).get(\"sb_metadata\")||e||\"HANA\").toUpperCase()},getTileTitleSubtitle:function(e){const t={};if(e.bag&&e.bag.getBagIds()&&e.bag.getBagIds().length){t.title=e.bag.getBag(\"sb_tileProperties\").getText(\"title\")||e.bag.getBag(\"sb_tileProperties\").getProperty(\"title\")||e.preview.getTitle();t.subTitle=e.bag.getBag(\"sb_tileProperties\").getText(\"description\")||e.bag.getBag(\"sb_tileProperties\").getProperty(\"description\")||e.preview.getDescription()}else{t.title=e.preview.getTitle();t.subTitle=e.preview.getDescription()}return t},scheduleFetchDataJob:function(e){let t;if(this.getView().getViewName().indexOf(\"DualTile\")!==-1){t=this.oKpiTileView.oConfig}else{t=this.oConfig}const i=`${t.TILE_PROPERTIES.id}data`;let n=sap.ushell.components.tiles.indicatorTileUtils.util.getScheduledJob(i);if(n){clearTimeout(n);n=undefined}const s=sap.ushell.components.tiles.indicatorTileUtils.util.getTimeUnitMap();const r=sap.ushell.components.tiles.indicatorTileUtils.util.getCachingTime(t);const a=sap.ushell.components.tiles.indicatorTileUtils.util.getCachingTimeUnit(t);const o=sap.ushell.components.tiles.indicatorTileUtils.util.getMillisecond(r,s[a]);let l;if(this.cacheTime instanceof Date){l=this.cacheTime}else{l=new Date(parseInt(this.cacheTime.substr(6),10))}let c=o-(sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate()-l);if(c<=0){c=0}else if(c>2147483646){c=2147483646}if(!e){c=3e5}if(this.getView().getViewName().indexOf(\"DualTile\")!==-1){n=setTimeout(this.refreshPress.bind(this),c)}else{n=setTimeout(this.refreshHandler.bind(this,false,true),c);sap.ushell.components.tiles.indicatorTileUtils.util.setScheduledJob(i,n)}this.updateDatajobScheduled=true},scheduleTimeStampJob:function(){const e=`${this.oConfig.TILE_PROPERTIES.id}time`;let t=sap.ushell.components.tiles.indicatorTileUtils.util.getScheduledJob(e);let i;if(t){clearTimeout(t);t=undefined}if(this.cacheTime instanceof Date){i=this.cacheTime}else{i=new Date(parseInt(this.cacheTime.substr(6),10),13)}const n=sap.ushell.components.tiles.indicatorTileUtils.util.getTimeDifference(sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate()-i);t=setTimeout(this.setTimeStamp.bind(this,this.cacheTime),n.timer);sap.ushell.components.tiles.indicatorTileUtils.util.setScheduledJob(e,t);this.updateTimeStampjobScheduled=true},getBoolValue:function(e){let t=false;if(typeof e===\"boolean\"&&e){t=true}return t},getSeconds:function(e){return e/1e3},getMinutes:function(e){return this.getSeconds(e)/60},getHours:function(e){return this.getMinutes(e)/60},getDays:function(e){return this.getHours(e)/24},getWeeks:function(e){return this.getDays(e)/7},getMonths:function(e){return this.getWeeks(e)/4},getYears:function(e){return this.getMonths(e)/12},getTimeDifference:function(e){const t={};if(e){const i=this.getMinutes(e);const n=this.getHours(e);const s=this.getDays(e);if(i<5){t.time=0;t.unit=\"minutes\";t.timer=Math.round(this.getMillisecond(5-i,\"minutes\"))}else if(i>=5&&i<60){if(i<10){t.time=5}else{t.time=i-i%10}t.unit=\"minutes\";t.timer=Math.round(this.getMillisecond(10-i%10,\"minutes\"))}else if(n>=1&&n<24){t.unit=\"hours\";t.time=n-n%1;t.timer=Math.round(this.getMillisecond(1-n%1,\"hours\"))}else if(s>=1&&s<2){t.unit=\"days\";t.time=s-s%1;t.timer=Math.round(this.getMillisecond(1-s%1,\"days\"))}else{t.unit=\"days\";t.time=s-s%1;t.timer=this.getMillisecond(2,\"days\")}}else{t.timer=6e3;t.unit=\"days\";t.timer=2e3}return t},getCachingTime:function(e){return e.CACHINGTIME&&Number(e.CACHINGTIME)||e.TILE_PROPERTIES.cachingTime&&Number(e.TILE_PROPERTIES.cachingTime)},getCachingTimeUnit:function(e){return e.CACHINGUNIT||e.TILE_PROPERTIES.cachingTimeUnit},getFrontendCacheQuery:function(e,t,i,n){let r;try{let e=n.url.addSystemToServiceUrl(\"/sap/opu/odata/SSB/SMART_BUSINESS_RUNTIME_SRV\");e=sap.ushell.components.tiles.indicatorTileUtils.util.cacheBustingMechanism(e);r=this.getODataModelByServiceUri(e);e=\"/CacheParameters(P_CacheType=1)/Results\";return{oModel:r,uri:e}}catch(e){s.error(\"FrontEnd cache Metadata failed\");return null}},isDualTile:function(e){const t=e&&e.TILE_PROPERTIES&&e.TILE_PROPERTIES.tileType;if(t.indexOf(\"DT-\")==-1){return false}return true},writeFrontendCacheByChipAndUserId:function(e,t,i,n,r){const a=function(e){s.info(\"cache write successFully\");r(e)};const o=function(){s.error(\"cache update failed\");r(null)};try{let t=e.url.addSystemToServiceUrl(\"/sap/opu/odata/SSB/SMART_BUSINESS_RUNTIME_SRV/\");t=sap.ushell.components.tiles.indicatorTileUtils.util.cacheBustingMechanism(t);const n=this.getODataModelByServiceUri(t);const s=\"/CacheData\";n.create(s,i,{async:true,success:a,error:o})}catch(e){s.error(e)}},getKpiChipsOnPage:function(e,t){const i=[];sap.ushell.Container.getServiceAsync(\"FlpLaunchPage\").then(n=>{n.getGroups().done(n=>{if(n&&n instanceof Array&&n.length){s.info(\"Group Chip fetch\")}t(e,i)})})},getFrontendCache:function(e,t){const i=this;let n=sap.ushell.components.tiles.indicatorTileUtils.cache.getFrontEndCacheDeferredObject(t.url.getApplicationSystem());let r;if(n){r=n}else{r=jQuery.Deferred()}const a=e&&e.TILE_PROPERTIES&&e.TILE_PROPERTIES.id;const o=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(a);if(o){n.resolve(true)}else if(n){return n.promise()}else{sap.ushell.components.tiles.indicatorTileUtils.cache.setFrontEndCacheDefferedObject(t.url.getApplicationSystem(),r);n=r;this.getKpiChipsOnPage(a,(e,r)=>{if(r){const a=i.getFrontendCacheQuery(r,sap.ushell.Container.getUser().getId(),r,t);if(a){const t=a.oModel;const i=a.uri;let r=false;t.read(i,null,null,true,t=>{if(t&&t.results&&t.results instanceof Array&&t.results.length){jQuery.each(t.results,(e,t)=>{sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(t.ChipId,t)})}if(sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(e)){r=true}n.resolve(r)},e=>{if(e&&e.response){s.error(`${e.message} : ${e.request.requestUri}`)}n.reject()})}else{n.reject()}}else{n.resolve(false)}})}return n.promise()},getModelerRuntimeServiceModel:function(){let e=\"/sap/hba/r/sb/core/odata/runtime/SMART_BUSINESS.xsodata\";e=sap.ushell.components.tiles.indicatorTileUtils.util.cacheBustingMechanism(e);return this.getODataModelByServiceUri(e)},getSapFontErrorCode:function(){return String.fromCharCode(57521)},getSapFontBusyCode:function(){return String.fromCharCode(57842)},prepareFilterStructure:function(e,t){const i=[];if(t){e=e.concat(t)}for(let t=0;t<e.length;t++){const n={};n.comparator=e[t].OPERATOR;n.filterPropertyName=e[t].NAME;if(e[t].ID){n.id=e[t].ID}n.type=e[t].TYPE;n.value=e[t].VALUE_1;n.valueTo=e[t].VALUE_2;i.push(n)}return i},getODataModelByServiceUriFromChipAPI:function(e,t){e=t.url.addSystemToServiceUrl(e);if(!g[e]){const t=new n(e,true);g[e]=t}return g[e]},cacheBustingMechanism:function(e){if(window[\"sap-ushell-config\"].cacheBusting.cacheBusterToken){const t=window[\"sap-ushell-config\"].cacheBusting&&window[\"sap-ushell-config\"].cacheBusting.cacheBusterToken;e=`${e}?_=${t}`}return e},getRunTimeUri:function(e){let t=\"/sap/hba/r/sb/core/odata/runtime/SMART_BUSINESS.xsodata\";let i=\"/sap/opu/odata/SSB/SMART_BUSINESS_RUNTIME_SRV\";if(e.toUpperCase()==\"HANA\"){if(window[\"sap-ushell-config\"].cacheBusting){t=sap.ushell.components.tiles.indicatorTileUtils.util.cacheBustingMechanism(t)}return t}if(window[\"sap-ushell-config\"].cacheBusting){i=sap.ushell.components.tiles.indicatorTileUtils.util.cacheBustingMechanism(i)}return i},getFilterFromRunTimeService:function(e,t,i,n){const s=e.TILE_PROPERTIES.sb_metadata;const r=this.getODataModelByServiceUriFromChipAPI(this.getRunTimeUri(s),t);const a=\"ID eq '#EVALUATIONID'\".replace(\"#EVALUATIONID\",e.EVALUATION.ID);const o=r.read(\"/EVALUATION_FILTERS\",null,{$filter:a},true,function(e){let t=[];if(e.results.length){t=e.results}i.call(this,t)},n);return o},_getOData4AnalyticsObject:function(e){let t=null;if(e instanceof n){t=e}else if(typeof e===\"string\"){t=this.getODataModelByServiceUri(e)}else{throw new Error(`Invalid Input to Create ODataModel Object : ${e}`)}const i=new f(u(t));return i},findTextPropertyForDimension:function(e,t,i){try{const n=this._getOData4AnalyticsObject(e);const s=n.findQueryResultByName(t);const r=s.findDimensionByName(i);if(r.getTextProperty()){return r.getTextProperty().name}return i}catch(e){s.error(`Error Fetching Text Property for ${i} : ${e.toString()}`)}},getEvalValueMeasureName:function(e,t,i){const n=e.EVALUATION_VALUES;for(let e=0;e<n.length;e++){if(n[e].TYPE==t){if(i===\"FIXED\"){return n[e].FIXED}return n[e].COLUMN_NAME}}},getSemanticColorName:function(e){let t=\"\";if(e==\"Error\"){t=\"sb.error\"}if(e==\"Neutral\"){t=\"sb.neutral\"}if(e==\"Critical\"){t=\"sb.critical\"}if(e==\"Good\"){t=\"sb.good\"}return t},setTooltipInTile:function(e,t,i){let n=\"\";const s=sap.ushell.components.tiles.utils.getResourceBundle();if(t==\"NT\"||t==\"DT\"){if(i.status){n+=`${s.getText(\"sb.status\")}: ${s.getText(i.status)}\\n`}if(i.actual){n+=`${s.getText(\"sb.actual\")}: ${i.actual}\\n`}if(i.target){n+=`${s.getText(\"sb.target\")}: ${i.target}\\n`}if(i.cH){n+=`${s.getText(\"sb.ch\")}: ${i.cH}\\n`}if(i.wH){n+=`${s.getText(\"sb.wh\")}: ${i.wH}\\n`}if(i.wL){n+=`${s.getText(\"sb.wl\")}: ${i.wL}\\n`}if(i.cL){n+=`${s.getText(\"sb.cl\")}: ${i.cL}\\n`}}if(t==\"CONT\"||t==\"COMP\"){if(i.measure&&t==\"CONT\"){if(i&&i.contributionTile.contributionTile&&i.contributionTile.contributionTile[1]===\"asc\"){n+=`${s.getText(\"sb.bottomn\")}: ${i.contributionTile[0]}\\n`}else if(i&&i.contributionTile.contributionTile&&i.contributionTile.contributionTile.length){n+=`${s.getText(\"sb.topn\")}: ${i.contributionTile[0]}\\n`}}if(i.m1&&(i.v1==undefined||i.v1==null?false:i.v1.toString())&&i.c1){n+=`${i.m1}: ${i.v1} ${s.getText(i.c1)}\\n`}if(i.m2&&(i.v2==undefined||i.v2==null?false:i.v2.toString())&&i.c2){n+=`${i.m2}: ${i.v2} ${s.getText(i.c2)}\\n`}if(i.m3&&(i.v3==undefined||i.v3==null?false:i.v3.toString())&&i.c3){n+=`${i.m3}: ${i.v3} ${s.getText(i.c3)}\\n`}}if(e&&e.setTooltip){e.setTooltip(n)}},_getFormattedTileProperties:function(e){e=e||{};const t=[\"sb_metadata\",\"sb_navigation\",\"sb_catalog\"];let i=false;for(let n=0;!i&&n<t.length;n++){i=i||new r(window.location.href).get(t[n])||e[t[n]]}e.sb_metadata=(new r(window.location.href).get(\"sb_metadata\")||e.sb_metadata||\"HANA\").toLowerCase();e.sb_navigation=(new r(window.location.href).get(\"sb_navigation\")||e.sb_navigation||\"abap\").toLowerCase();e.sb_catalog=(new r(window.location.href).get(\"sb_catalog\")||e.sb_catalog||\"HANA\").toLowerCase();e.isPlatformInfoPresent=i;return e},getEvaluationDetailsFromRunTimeService:function(e,t,i,n){const s=this.getODataModelByServiceUri(this.getRunTimeUri(t));const r=\"ID eq '#EVALUATIONID'\".replace(\"#EVALUATIONID\",i);s.read(e,null,{$filter:r},true,function(e){let t=[];if(e.results.length){t=e.results}n.call(this,t)})},getParsedChip:function(e,t,i){try{const n={};const s=JSON.parse(e);const r=JSON.parse(s.TILE_PROPERTIES).evaluationId||\"\";if(s.TILE_PROPERTIES){const e=JSON.parse(s.TILE_PROPERTIES);if(e&&(e.instanceId||e.catalogId)){return false}}const a=this;if(s.blankTile){n.BLANKTILE=s.blankTile}if(s.cachingTime){n.CACHINGTIME=s.cachingTime}if(s.cachingTimeUnit){n.CACHINGUNIT=s.cachingTimeUnit}if(s.TAGS){n.TAGS=JSON.parse(s.TAGS)}if(s.ADDITIONAL_FILTERS){n.ADDITIONAL_FILTERS=JSON.parse(s.ADDITIONAL_FILTERS)}if(s.ADDITIONAL_APP_PARAMETERS){n.ADDITIONAL_APP_PARAMETERS=JSON.parse(s.ADDITIONAL_APP_PARAMETERS)}n.TILE_PROPERTIES=this._getFormattedTileProperties(JSON.parse(s.TILE_PROPERTIES));const o=n.TILE_PROPERTIES.sb_metadata;if(s.EVALUATION_FILTERS){n.EVALUATION_FILTERS=JSON.parse(s.EVALUATION_FILTERS);if(s.EVALUATION_VALUES){n.EVALUATION_VALUES=JSON.parse(s.EVALUATION_VALUES);if(s.EVALUATION){n.EVALUATION=JSON.parse(s.EVALUATION);if(i){i(n)}else{return n}}else if(!t){a.getEvaluationDetailsFromRunTimeService(\"/EVALUATIONS\",o,r,e=>{n.EVALUATION=e;if(i){i(n)}else{return n}})}else if(i){i(n)}else{return n}}else if(!t){a.getEvaluationDetailsFromRunTimeService(\"/EVALUATION_VALUES\",o,r,e=>{n.EVALUATION_VALUES=e;if(s.EVALUATION){n.EVALUATION=JSON.parse(s.EVALUATION);if(i){i(n)}else{return n}}else{a.getEvaluationDetailsFromRunTimeService(\"/EVALUATIONS\",o,r,e=>{n.EVALUATION=e;if(i){i(n)}else{return n}})}})}else if(i){i(n)}else{return n}}else if(t){if(i){i(n)}else{return n}}else{a.getEvaluationDetailsFromRunTimeService(\"/EVALUATION_FILTERS\",o,r,e=>{n.EVALUATION_FILTERS=e;if(s.EVALUATION_VALUES){n.EVALUATION_VALUES=JSON.parse(s.EVALUATION_VALUES);if(s.EVALUATION){n.EVALUATION=JSON.parse(s.EVALUATION);if(i){i(n)}else{return n}}else{a.getEvaluationDetailsFromRunTimeService(\"/EVALUATIONS\",o,r,e=>{n.EVALUATION=e;if(i){i(n)}else{return n}})}}else{a.getEvaluationDetailsFromRunTimeService(\"/EVALUATION_VALUES\",o,r,e=>{n.EVALUATION_VALUES=e;if(s.EVALUATION){n.EVALUATION=JSON.parse(s.EVALUATION);if(i){i(n)}else{return n}}else{a.getEvaluationDetailsFromRunTimeService(\"/EVALUATIONS\",o,r,e=>{n.EVALUATION=e;if(i){i(n)}else{return n}})}})}})}}catch(e){return false}},getNavigationTarget:function(e,t){let i;const n={};n.evaluationId=e.EVALUATION.ID;n.chipId=e.TILE_PROPERTIES.id;if(t){n[\"sap-system\"]=t}n.tileType=e.TILE_PROPERTIES.tileType;if(e.TILE_PROPERTIES.dimension){n.dimension=e.TILE_PROPERTIES.dimension}if(e.TILE_PROPERTIES.storyId){n.storyId=e.TILE_PROPERTIES.storyId}if(e.TILE_PROPERTIES.apfConfId){n[\"sap-apf-configuration-id\"]=e.TILE_PROPERTIES.apfConfId}if(e.TILE_PROPERTIES.isPlatformInfoPresent){n.sb_metadata=e.TILE_PROPERTIES.sb_metadata;n.sb_navigation=e.TILE_PROPERTIES.sb_navigation;n.sb_catalog=e.TILE_PROPERTIES.sb_catalog}if(e.ADDITIONAL_APP_PARAMETERS){for(i in e.ADDITIONAL_APP_PARAMETERS){if(e.ADDITIONAL_APP_PARAMETERS.hasOwnProperty(i)){if(e.ADDITIONAL_APP_PARAMETERS[i].constructor==Array){const t=e.ADDITIONAL_APP_PARAMETERS[i];for(let e=0;e<t.length;e++){n[i]=t[e]}}else{n[i]=e.ADDITIONAL_APP_PARAMETERS[i]}}}}let s=o&&o.hrefForExternal({target:{semanticObject:e.TILE_PROPERTIES.semanticObject,action:e.TILE_PROPERTIES.semanticAction},params:n})||\"\";if(e.ADDITIONAL_FILTERS){const t=e.ADDITIONAL_FILTERS;let i=\"&\";for(let e=0;e<t.length;e++){if(t[e].OPERATOR===\"EQ\"){i=`${i}/${t[e].NAME}=${t[e].VALUE_1}`}}s+=i}return s},getChipTitle:function(e){let t=\"\";if(e){const i=e.EVALUATION||{};t=i.INDICATOR_TITLE||\"\"}return t},getstringifyTileConfig:function(e){const t={};t.EVALUATION=JSON.stringify(e.EVALUATION);t.EVALUATION_FILTERS=JSON.stringify(e.EVALUATION_FILTERS);t.EVALUATION_VALUES=JSON.stringify(e.EVALUATION_VALUES);t.TILE_PROPERTIES=JSON.stringify(e.TILE_PROPERTIES);return JSON.stringify(t)},getChipSubTitle:function(e){let t=\"\";if(e){const i=e.EVALUATION||{};t=i.TITLE||\"\"}return t},getAllMeasures:function(e,t){let i=[];try{const n=this._getOData4AnalyticsObject(e);const s=n.findQueryResultByName(t);i=s.getAllMeasureNames()}catch(e){s.error(`Error Fetching All Measures : ${e.toString()}`)}return i},getFormattingMetadata:function(e,t,i){const s={};s._hasCurrency=false;s._hasSapText=false;let r=null;if(e instanceof n){r=u(e)}else{const t=this.getODataModelByServiceUri(e);r=u(t)}const a=new f(r);const o=a.findQueryResultByName(t);const l=o.getAllMeasures();if(l[i]){const e=l[i]._oTextProperty&&l[i]._oTextProperty.name?l[i]._oTextProperty.name:\"\";if(e!=\"\"){s._hasSapText=true;s._sapTextColumn=e}else if(l[i].hasOwnProperty(\"_oUnitProperty\")){const e=l[i]._oUnitProperty.extensions;for(let t=0;t<l[i]._oUnitProperty.extensions.length;t++){if(e[t].name===\"semantics\"&&e[t].value===\"currency-code\"){s._hasCurrency=true;s._currencyColumn=l[i]._oUnitProperty.name}}}}return s},getAllDimensions:function(e,t){function i(e,t){let i=0;let n=0;const s=[];while(i<e.length&&n<t.length){if(e[i]<t[n]){i++}else if(e[i]>t[n]){n++}else{s.push(e[i]);i++;n++}}return s}let n=[];let r=[];try{const s=this._getOData4AnalyticsObject(e);const a=s.findQueryResultByName(t);const o=a.getEntityType();r=o.getFilterablePropertyNames();n=a.getAllDimensionNames();if(r&&r.length){n=i(r.sort(),n.sort())}}catch(e){s.error(`Error Fetching All Dimesions : ${e.toString()}`)}return n},prepareQueryServiceUri:function(t,i,r,a,o,g,T){function h(e){return e.replace(/'/g,\"''\")}let m=null;let p=function(){};let d=function(){};try{let O=null;if(t instanceof n){O=u(t)}else{const e=this.getODataModelByServiceUri(t);O=u(e)}const N=new f(O);const y=N.findQueryResultByName(i);const P=new c(y);if(r){P.setMeasures(r.split(\",\"));P.includeMeasureRawFormattedValueUnit(null,true,true,true)}if(a){if(typeof a===\"string\"){m=a;m=m.split(\",\")}for(var E=0;E<m.length;E++){P.addToAggregationLevel([m[E]]);const e=y.getAllDimensions();if(e[m[E]].getTextProperty()!=null){P.includeDimensionKeyTextAttributes([m[E]],true,true,null)}}}if(o&&o.length){const i=[];const n=[];let r;for(E=0,r=o.length;E<r;E++){var A=o[E];if(A.type===\"PA\"){n.push(A)}else if(A.type===\"FI\"){i.push(A)}}p=function(e){let t=e.toJSON();const i=t.charAt(t.length-1).toUpperCase();if(i.charCodeAt(0)>=65&&i.charCodeAt(0)<=90){t=t.slice(0,-1)}return t};d=function(e){if(e){try{if(e==+e){e=window.parseInt(e)}const t=new Date(e);const i=t.getTime();if(isNaN(i)){return e}return p(t)}catch(e){}}return e};if(i.length){const n=P.getFilterExpression();for(E=0,r=i.length;E<r;E++){A=i[E];if(this.getEdmType(t,A.filterPropertyName)==\"Edm.DateTime\"){A.value=d(A.value);A.valueTo=d(A.valueTo)}if(A.comparator==e.BT){n.addCondition(A.filterPropertyName,A.comparator,h(A.value),A.valueTo)}else{const e=A.value.split(\",\");for(let t=0,i=e.length;t<i;t++){n.addCondition(A.filterPropertyName,A.comparator,h(e[t].replace(/\\^\\|/g,\",\")),null)}}}}if(n.length){if(y.getParameterization()){const e=new l(y.getParameterization());const t=y.getParameterization();let i;let a;let o;let c;let u;for(var I=0,S=n.length;I<S;I++){i=n[I];a=t.findParameterByName(i.filterPropertyName);if(a.isIntervalBoundary()===true&&a.isLowerIntervalBoundary()===true){u=a.getPeerIntervalBoundaryParameter();for(E=0,r=n.length;E<r;E++){if(n[E].filterPropertyName===u.getName()){c=h(n[E].value);break}}o=h(i.value);if(c){e.setParameterValue(i.filterPropertyName,o,c)}}else if(a.isIntervalBoundary()===true&&a.isLowerIntervalBoundary()===false){s.info(\"Future development\")}else{e.setParameterValue(i.filterPropertyName,h(i.value))}}P.setParameterizationRequest(e)}}}let U=P.getURIToQueryResultEntries();if(g&&g.length){U=`${U}&$orderby=`;for(I=0,S=g.length;I<S;I++){const e=g[I].sortOrder||\"asc\";if(e){U+=`${g[I].element} ${e},`}}U=U.slice(0,U.length-1)}if(T){U=`${U}&$top=${T}`}const R=y.getAllMeasures();const L=[];for(E=0;E<r.split(\",\").length;E++){L.push(R[r.split(\",\")[E]].getUnitProperty())}return{uri:U,model:N.getODataModel(),unit:L}}catch(e){s.error(`Error Preparing Query Service Uri using OData4Analytics Library : ${e.toString()}`);if(arguments.length){s.error(\"Arguments Passed to this function\");s.error(`${arguments[0]},${arguments[1]},${arguments[2]},${arguments[3]}`)}else{s.error(\"NO Arguments passed to this function\")}return null}},getAllEntitySet:function(e){let t=[];try{const i=this._getOData4AnalyticsObject(e);t=i.getAllQueryResultNames()}catch(e){s.error(`Error fetching Enity Set : ${e.toString()}`)}return t},getAllMeasuresWithLabelText:function(e,i){const n=[];try{const s=this._getOData4AnalyticsObject(e);const r=s.findQueryResultByName(i);const a=r.getAllMeasureNames();for(let e=0;e<a.length;e++){const i=a[e];t.oMeasure=r.findMeasureByName(i);n.push({key:i,value:oMeasure.getLabelText()})}}catch(e){s.error(`Error Fetching All Measures : ${e.toString()}`)}return n},getAllDimensionsWithLabelText:function(e,t){const i=[];try{const n=this._getOData4AnalyticsObject(e);const s=n.findQueryResultByName(t);const r=s.getAllDimensionNames();for(let e=0;e<r.length;e++){const t=r[e];const n=s.findDimensionByName(t);let a=null;if(n.getTextProperty()!=null){a=n.getTextProperty().name}i.push({key:t,value:n.getLabelText(),textProperty:a})}}catch(e){s.error(`Error Fetching All Dimesions : ${e.toString()}`)}return i},getAllInputParams:function(e,t){let i=[];try{const n=this._getOData4AnalyticsObject(e);const s=n.findQueryResultByName(t);if(s.getParameterization()){const e=s.getParameterization();i=e.getAllParameterNames()}}catch(e){s.error(`Error Fetching Input Params : ${e.toString()}`)}return i},getAllInputParamsWithFlag:function(e,t){const i=[];try{const n=this._getOData4AnalyticsObject(e);const s=n.findQueryResultByName(t);if(s.getParameterization()){const e=s.getParameterization();const t=e.getAllParameterNames();for(let n=0;n<t.length;n++){const s=t[n];const r=e.findParameterByName(s);i.push({name:s,optional:r.isOptional()})}}}catch(e){s.error(`Error Fetching Input Params : ${e.toString()}`)}return i},formatOdataObjectToString:function(e){if(e&&e.constructor==Object){if(e.__edmType==\"Edm.Time\"){const t=e.ms;const i=Math.floor(t/1e3%60);const n=Math.floor(t/6e4%60);const s=Math.floor(t/36e5%24);return`${s}H${n}M${i}S`}}return e},generateCombinations:function(e){function t(e,t){while(t.length<e){t=`0${t}`}return t}let i=Math.pow(2,e.length);const n=[];let s=0;while(i>1){let r=(i-1).toString(2);r=t(e.length,r);n[s]=[];for(let t=0;t<r.length;t++){if(Number(r[t])){n[s].push(e[t])}}i--;s++}return n},logError:function(e,t){if(e==\"no data\"&&t){const e=sap.ushell.components.tiles.utils.getResourceBundle();t.setFailedText(e.getText(\"sb.noData\"))}s.error(e.toString())},numberOfLeadingZeros:function(e){e=String(e);let t=0;const i=e.indexOf(\".\");if(i==-1){return 0}if(Number(e.split(\".\")[0])!=0){return 0}let n=i+1;while(e[n++]==\"0\"){++t}return t},formatValue:function(e,t,i){i=i||3;const n={3:\"K\",6:\"M\",9:\"B\",12:\"T\",0:\"\"};n[\"-3\"]=\"m\";n[\"-6\"]=\"u\";n[\"-9\"]=\"n\";n[\"-12\"]=\"t\";n[\"-2\"]=\"%\";let s;let r;let a;s=Number(e).toPrecision(i);const o=this.numberOfLeadingZeros(s);if(o>0&&t<0){r=s*Math.pow(10,o+i);a=-(o+i)}else{r=Number(s.split(\"e\")[0]);a=Number(s.split(\"e\")[1])||0}if(!e&&e!=0){return{value:\"\",unitPrefix:\"\"}}if(t>=0){if(a%3!=0){if(a%3==2){if(a+1==t){a=a+1;r=r/10}else{a=a-2;r=r*100}}else if(a+2==t){a=a+2;r=r/100}else{a--;r=r*10}}else if(a==15){r=r*1e3;a=12}}else if(t==\"-2\"){var l=this.formatValue(e*100,0)}else if(a>=0&&e<10&&t==\"-3\"){r=e*Math.pow(10,3);a=-3}else if(a>=0){return this.formatValue(e,0)}else{a=Math.abs(a);t=Math.abs(t);if(t>a){r=r/Math.pow(10,a%3);a=a-a%3}else{const e=a-t;r=r/Math.pow(10,e);a=a-e}a=0-a}r+=\"\";if(t==\"-2\"){const e=l.unitPrefix==\"\"?Number(`${l.value}`).toFixed(4-`${l.value}`.indexOf(\".\")):Number(`${l.value}`).toFixed(3-`${l.value}`.indexOf(\".\"));return{value:Number(e),unitPrefix:l.unitPrefix+n[-2]}}r=Number(r).toFixed(4-r.indexOf(\".\"));return{value:Number(r),unitPrefix:n[a]}},isSmartbusinessChipAndCachable:function(e){const t=this.getParsedChip(e&&e.getConfigurationParameter(\"tileConfiguration\"));return t&&t.TILE_PROPERTIES&&t.TILE_PROPERTIES.tileType&&this.getCachingTime(t)},getHanaClient:function(){let e;const t=function(t,i,n){e=t.sessionClient;sap.ushell.components.tiles.indicatorTileUtils.cache.setCacheHanaClient(e);sap.ushell.components.tiles.indicatorTileUtils.util.HANA_CLIENT_DEFERRED.resolve(e)};const i=function(e,t,i){s.error(e.responseText);s.error(\"session client call failed\");sap.ushell.components.tiles.indicatorTileUtils.cache.setCacheHanaClient(null);sap.ushell.components.tiles.indicatorTileUtils.util.HANA_CLIENT_DEFERRED.reject()};const n=sap.ushell.components.tiles.indicatorTileUtils.util.HANA_CLIENT_DEFERRED||jQuery.Deferred();const r=sap.ushell.components.tiles.indicatorTileUtils.cache.getCacheHanaClient();if(r!=undefined){e=r;sap.ushell.components.tiles.indicatorTileUtils.util.HANA_CLIENT_DEFERRED.resolve(e)}else if(sap.ushell.components.tiles.indicatorTileUtils.util.HANA_CLIENT_DEFERRED){return sap.ushell.components.tiles.indicatorTileUtils.util.HANA_CLIENT_DEFERRED.promise()}else{sap.ushell.components.tiles.indicatorTileUtils.util.HANA_CLIENT_DEFERRED=n;jQuery.ajax({type:\"GET\",async:false,dataType:\"json\",url:\"/sap/hba/r/sb/core/logic/GetSessionClient.xsjs\",success:t,error:i})}return sap.ushell.components.tiles.indicatorTileUtils.util.HANA_CLIENT_DEFERRED.promise()},abortPendingODataCalls:function(e){try{if(e){e.abort()}}catch(e){this.logError(e)}}}}(window,jQuery);sap.ushell.components.tiles.indicatorTileUtils.cache=function(){const e={};const t={};const i=\"HANA_CLIENT\";return{getCacheHanaClient:function(){return e[i]},setCacheHanaClient:function(t){e[i]=t},getEvaluationByChipId:function(t){if(e[t]){return e[t]}return null},getEvaluationById:function(e){return this.getEvaluationByChipId(e)},setEvaluationById:function(t,i){e[t]=i},getFrontEndCacheDeferredObject:function(t){if(e[t]){return e[t]}return null},setFrontEndCacheDefferedObject:function(t,i){e[t]=i},getKpivalueById:function(e){if(t[e]){return t[e]}return null},setKpivalueById:function(e,i){t[e]=i}}}();return{}},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller\", [\"sap/ushell/components/tiles/generic\",\"sap/m/library\",\"sap/base/Log\"],(e,i,t)=>{\"use strict\";const o=i.DeviationIndicator;const l=i.ValueColor;const s=i.Size;const a=i.LoadState;const n=i.FrameType;const c=e.extend(\"sap.ushell.components.tiles.indicatorcomparison.ComparisonTile\",{onInit:function(){this.KPI_VALUE_REQUIRED=false},_processDataForComparisonChart:function(e,i,t){const o=[];const l={};let s;let a;let n;let c;let T=[];const r=this;let E=null;for(s=0;s<e.results.length;s++){var u=e.results[s]}T=sap.ushell.components.tiles.indicatorTileUtils.util.getAllMeasuresWithLabelText(this.oTileApi.url.addSystemToServiceUrl(this.oConfig.EVALUATION.ODATA_URL),this.oConfig.EVALUATION.ODATA_ENTITYSET);for(s=0,n=T.length;s<n;s++){a=T[s];l[a.key]=a.value}const h=r.oConfig.TILE_PROPERTIES.COLUMN_NAMES||r.oConfig.EVALUATION.COLUMN_NAMES;for(s=0;s<h.length;s++){const e={};const i=h[s];e.value=Number(u[i.COLUMN_NAME]);let a=Number(u[i.COLUMN_NAME]);let n=false;const T=r._getEvaluationThresholdMeasures();const p=T?Array.prototype.indexOf.call(T,i.COLUMN_NAME):-1;if(p>-1){n=true}if(r.oConfig.EVALUATION.SCALING==-2&&n){a*=100}const C=r.isCurrencyMeasure(i.COLUMN_NAME);if(t&&t[s]&&u[t[s].name]){E=u[t[s].name]}c=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(a,r.oConfig.EVALUATION.SCALING,r.oConfig.EVALUATION.DECIMAL_PRECISION,C,E);if(r.oConfig.EVALUATION.SCALING==-2&&n){c+=\" %\"}e.displayValue=c.toString();if(t){if(t[s]&&u[t[s].name]){e.displayValue+=` ${u[t[s].name]}`}}e.color=i.semanticColor;e.title=l[i.COLUMN_NAME]||i.COLUMN_NAME;e.measure=i.COLUMN_NAME;e.isCurM=C;o.push(e)}return o},fetchChartData:function(e,i,o,l){function s(e,i){let t=false;if(e&&e.results&&e.results.length){for(let o=0,l=i.length;o<l&&!t;o++){t=e.results[0][i[o].COLUMN_NAME]!==null}}return t}const a=this;try{const c=this.oConfig.EVALUATION.ODATA_ENTITYSET;const T=this.oConfig.EVALUATION.COLUMN_NAME;let r=T;let E;if(this.oConfig.TILE_PROPERTIES.COLUMN_NAMES){for(E=0;E<this.oConfig.TILE_PROPERTIES.COLUMN_NAMES.length;E++){if(this.oConfig.TILE_PROPERTIES.COLUMN_NAMES[E].COLUMN_NAME!=this.oConfig.EVALUATION.COLUMN_NAME){r=`${r},${this.oConfig.TILE_PROPERTIES.COLUMN_NAMES[E].COLUMN_NAME}`}}}else{for(E=0;E<this.oConfig.EVALUATION.COLUMN_NAMES.length;E++){if(this.oConfig.EVALUATION.COLUMN_NAMES[E].COLUMN_NAME!=this.oConfig.EVALUATION.COLUMN_NAME){r=`${r},${this.oConfig.EVALUATION.COLUMN_NAMES[E].COLUMN_NAME}`}}}const u=sap.ushell.components.tiles.indicatorTileUtils.util.getBoolValue(e);const h=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(a.oConfig.TILE_PROPERTIES.id);if(sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)){if(h){var n=h.Data&&JSON.parse(h.Data)}}const p=a.oTileApi.configuration.getParameterValueAsString(\"timeStamp\");const C=sap.ushell.components.tiles.indicatorTileUtils.util.isCacheValid(a.oConfig.TILE_PROPERTIES.id,p,a.chipCacheTime,a.chipCacheTimeUnit,a.tilePressed);if(n&&!n.rightData||!h||!C&&a.oTileApi.visible.isVisible()||u||i&&a.oTileApi.visible.isVisible()||a.getView().getViewData().refresh){if(a.kpiValueFetchDeferred){a.kpiValueFetchDeferred=false;const e=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(this.oConfig.EVALUATION_FILTERS,this.oConfig.ADDITIONAL_FILTERS);const i=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(a.oRunTimeODataModel,c,r,null,e,3);this.comparisionChartODataRef=i.model.read(i.uri,null,null,true,e=>{a.kpiValueFetchDeferred=true;let t={};if(i.unit){t.unit=i.unit}if(s(e,a.oConfig.TILE_PROPERTIES.COLUMN_NAMES||a.oConfig.EVALUATION.COLUMN_NAMES)){a.oConfig.TILE_PROPERTIES.FINALVALUE=e;a.oConfig.TILE_PROPERTIES.FINALVALUE=a._processDataForComparisonChart(a.oConfig.TILE_PROPERTIES.FINALVALUE,r.split(\",\")[0],i.unit);t.data=a.oConfig.TILE_PROPERTIES.FINALVALUE;const l={};a.cacheTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate();l.ChipId=a.oConfig.TILE_PROPERTIES.id;l.Data=JSON.stringify(t);l.CacheMaxAge=Number(a.chipCacheTime);l.CacheMaxAgeUnit=a.chipCacheTimeUnit;l.CacheType=1;const s=a.getLocalCache(l);a.updateDatajobScheduled=false;const n=`${a.oConfig.TILE_PROPERTIES.id}data`;let c=sap.ushell.components.tiles.indicatorTileUtils.util.getScheduledJob(n);if(c){clearTimeout(c);c=undefined}if(!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)){sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,s);let e=false;if(h){e=true}if(a.chipCacheTime){sap.ushell.components.tiles.indicatorTileUtils.util.writeFrontendCacheByChipAndUserId(a.oTileApi,a.oConfig.TILE_PROPERTIES.id,l,e,e=>{if(e){a.cacheTime=e&&e.CachedTime;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,e);a.setTimeStamp()}if(a.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)){a.setTimeStamp(a.cacheTime)}})}}else{const e=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(a.oConfig.TILE_PROPERTIES.id);let i;if(e){if(!e.CachedTime){e.CachedTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate()}i=e.Data;if(i){i=JSON.parse(i);i.rightData=t}e.Data=JSON.stringify(i);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,e)}else{i={};i.rightData=t;s.Data=JSON.stringify(i);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,s)}a.cacheWriteData=t}o.call(a,a.oConfig.TILE_PROPERTIES.FINALVALUE)}else if(e.results.length==0){a.oConfig.TILE_PROPERTIES.FINALVALUE=e;if(sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(a.oConfig.TILE_PROPERTIES.id)){t=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(a.oConfig.TILE_PROPERTIES.id);t.data=e}else{t.data=e}sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,t);o.call(a,a.oConfig.TILE_PROPERTIES.FINALVALUE);a.setNoData()}else{sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(a.oConfig.TILE_PROPERTIES.id,{empty:\"empty\"});a.setNoData()}},e=>{a.kpiValueFetchDeferred=true;if(e&&e.response){t.error(`${e.message} : ${e.request.requestUri}`);l.call(a,e)}})}}else if(h&&h.Data){let e;const i=a.oConfig&&a.oConfig.TILE_PROPERTIES&&a.oConfig.TILE_PROPERTIES.tileType;if(i.indexOf(\"DT-\")==-1){e=h.Data&&JSON.parse(h.Data)}else{e=h.Data&&JSON.parse(h.Data);e=e.rightData}a.cacheTime=h.CachedTime;if(a.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(a.oConfig)){a.setTimeStamp(a.cacheTime)}if(e.data&&e.data.length){a.oConfig.TILE_PROPERTIES.FINALVALUE=e.data;o.call(a,a.oConfig.TILE_PROPERTIES.FINALVALUE)}else{a.oConfig.TILE_PROPERTIES.FINALVALUE=e.data;o.call(a,a.oConfig.TILE_PROPERTIES.FINALVALUE);a.setNoData()}}else{a.setNoData()}}catch(e){a.kpiValueFetchDeferred=true;l.call(a,e)}},doProcess:function(e,i){const t=this;this.setTextInTile();this.fetchChartData(e,i,function(e){this.CALCULATED_KPI_VALUE=e;this._updateTileModel({data:this.CALCULATED_KPI_VALUE});if(t.oConfig.TILE_PROPERTIES.frameType==n.TwoByOne){t.oKpiTileView.oGenericTile.setFrameType(n.TwoByOne);t.getView().getViewData().parentController._updateTileModel(this.getTile().getModel().getData());const e={};e.data=this.CALCULATED_KPI_VALUE;t.getView().getViewData().deferredObj.resolve()}else{t.oKpiTileView.oGenericTile.setFrameType(n.OneByOne);t.oKpiTileView.oGenericTile.removeAllTileContent();t.oKpiTileView.oGenericTile.addTileContent(t.oKpiTileView.oNVConfS);this.oKpiTileView.oGenericTile.setState(a.Loaded)}this.setToolTip(null,this.CALCULATED_KPI_VALUE,\"COMP\");if(this.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(this.oConfig)){sap.ushell.components.tiles.indicatorTileUtils.util.scheduleFetchDataJob.call(this,this.oTileApi.visible.isVisible())}},this.logError)},doDummyProcess:function(){const e=this;this.setTextInTile();e._updateTileModel({value:8888,size:s.Auto,frameType:n.OneByOne,state:a.Loading,valueColor:l.Error,indicator:o.None,title:\"Liquidity Structure\",footer:\"Current Quarter\",description:\"Apr 1st (B$)\",data:[{title:\"Measure 1\",value:1.2,color:\"Good\"},{title:\"Measure 2\",value:.78,color:\"Good\"},{title:\"Measure 3\",value:1.4,color:\"Error\"}]});this.oKpiTileView.oGenericTile.setState(a.Loaded)}});return c});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/suite/ui/microchart/ComparisonMicroChartData\",\"sap/suite/ui/microchart/ComparisonMicroChart\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\",\"sap/m/library\"],(e,i,t,o,s,a,r,l)=>{\"use strict\";sap.ui.getCore().loadLibrary(\"sap.suite.ui.microchart\");sap.ui.jsview(\"sap.ushell.components.tiles.indicatorcomparison.ComparisonTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.indicatorcomparison.ComparisonTile\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");const e=l.Size;const i=this;i.oGenericTileData={};i.oCmprsDataTmpl=new o({title:\"{title}\",value:\"{value}\",color:\"{color}\",displayValue:\"{displayValue}\"});i.oCmprsChrtTmpl=new s({size:e.Responsive,scale:\"{/scale}\",data:{template:i.oCmprsDataTmpl,path:\"/data\"}});i.oNVConfS=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerComp}\",content:i.oCmprsChrtTmpl});i.oGenericTile=new a({subheader:\"{/subheader}\",frameType:\"{/frameType}\",size:\"{/size}\",header:\"{/header}\",tileContent:[i.oNVConfS]});i.oGenericTileModel=new r;i.oGenericTileModel.setData(i.oGenericTileData);i.oGenericTile.setModel(i.oGenericTileModel);return i.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller\", [\"sap/ushell/components/tiles/generic\",\"sap/m/library\",\"sap/base/Log\"],(e,i,t)=>{\"use strict\";const o=i.DeviationIndicator;const l=i.ValueColor;const s=i.Size;const a=i.LoadState;const n=i.FrameType;const c=e.extend(\"sap.ushell.components.tiles.indicatorcontribution.ContributionTile\",{onInit:function(){this.KPI_VALUE_REQUIRED=false},_processDataForComparisonChart:function(e,i,t,o){const l=this.oConfig.TILE_PROPERTIES.semanticColorContribution;const s=[];let a;let n;for(let c=0;c<e.results.length;c++){const r=e.results[c];const T={};try{T.title=r[t].toString()}catch(e){T.title=\"\"}T.value=Number(r[i]);let u=Number(r[i]);if(this.oConfig.EVALUATION.SCALING==-2){u*=100}const E=this.isCurrencyMeasure(i);n=r[o];a=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(u,this.oConfig.EVALUATION.SCALING,this.oConfig.EVALUATION.DECIMAL_PRECISION,E,n);T.displayValue=a.toString();if(typeof l===\"undefined\"){T.color=\"Neutral\"}else{T.color=l}if(T&&o){T[o]=n}s.push(T)}return s},fetchChartData:function(e,i,o,l){const s=this;try{const n=this.oConfig.EVALUATION.ODATA_ENTITYSET;let c;s.setThresholdValues();if(this.oConfig.TILE_PROPERTIES.semanticMeasure){c=`${this.oConfig.EVALUATION.COLUMN_NAME},${this.oConfig.TILE_PROPERTIES.semanticMeasure}`}else{c=this.oConfig.EVALUATION.COLUMN_NAME}let r=null;let T=this.oConfig.TILE_PROPERTIES.dimension;const u=sap.ushell.components.tiles.indicatorTileUtils.util.getBoolValue(e);const E=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(s.oConfig.TILE_PROPERTIES.id);if(sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(s.oConfig)){if(E){var a=E.Data&&JSON.parse(E.Data)}}const h=s.oTileApi.configuration.getParameterValueAsString(\"timeStamp\");const p=sap.ushell.components.tiles.indicatorTileUtils.util.isCacheValid(s.oConfig.TILE_PROPERTIES.id,h,s.chipCacheTime,s.chipCacheTimeUnit,s.tilePressed);if(a&&!a.rightData||!E||!p&&s.oTileApi.visible.isVisible()||u||i&&s.oTileApi.visible.isVisible()||s.getView().getViewData().refresh){if(s.kpiValueFetchDeferred){s.kpiValueFetchDeferred=false;const e=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(this.oConfig.EVALUATION_FILTERS,this.oConfig.ADDITIONAL_FILTERS);const i={};i[\"0\"]=`${c},asc`;i[\"1\"]=`${c},desc`;i[\"2\"]=`${T},asc`;i[\"3\"]=`${T},desc`;const a=i[this.oConfig.TILE_PROPERTIES.sortOrder||\"0\"].split(\",\");const u=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(s.oRunTimeODataModel,n,c,T,e,3);if(this.oConfig.TILE_PROPERTIES.semanticMeasure){u.uri+=`&$top=3&$orderby=${a[0]} ${a[2]}`}else{u.uri+=`&$top=3&$orderby=${a[0]} ${a[1]}`}this.comparisionChartODataRef=u.model.read(u.uri,null,null,true,e=>{s.kpiValueFetchDeferred=true;let i={};if(e&&e.results&&e.results.length){if(u.unit[0]){s._updateTileModel({unit:e.results[0][u.unit[0].name]});r=u.unit[0].name;i.unit=u.unit[0];i.unit.name=u.unit[0].name}T=sap.ushell.components.tiles.indicatorTileUtils.util.findTextPropertyForDimension(s.oRunTimeODataModel,n,T);i.dimension=T;s.oConfig.TILE_PROPERTIES.FINALVALUE=e;s.oConfig.TILE_PROPERTIES.FINALVALUE=s._processDataForComparisonChart(s.oConfig.TILE_PROPERTIES.FINALVALUE,c.split(\",\")[0],T,r);i.data=s.oConfig.TILE_PROPERTIES.FINALVALUE;i.isCurM=s.isACurrencyMeasure(s.oConfig.EVALUATION.COLUMN_NAME);const t={};s.cacheTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate();t.ChipId=s.oConfig.TILE_PROPERTIES.id;t.Data=JSON.stringify(i);t.CacheMaxAge=Number(s.chipCacheTime);t.CacheMaxAgeUnit=s.chipCacheTimeUnit;t.CacheType=1;const l=s.getLocalCache(t);s.updateDatajobScheduled=false;const a=`${s.oConfig.TILE_PROPERTIES.id}data`;let h=sap.ushell.components.tiles.indicatorTileUtils.util.getScheduledJob(a);if(h){clearTimeout(h);h=undefined}if(!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(s.oConfig)){sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(s.oConfig.TILE_PROPERTIES.id,l);let e=false;if(E){e=true}if(s.chipCacheTime){sap.ushell.components.tiles.indicatorTileUtils.util.writeFrontendCacheByChipAndUserId(s.oTileApi,s.oConfig.TILE_PROPERTIES.id,t,e,e=>{if(e){s.cacheTime=e&&e.CachedTime;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(s.oConfig.TILE_PROPERTIES.id,e)}if(s.chipCacheTime&&!sap.ushell.components.tiles.indicatorTileUtils.util.isDualTile(s.oConfig)){s.setTimeStamp(s.cacheTime)}})}}else{const e=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(s.oConfig.TILE_PROPERTIES.id);let t;if(e){if(!e.CachedTime){e.CachedTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate()}t=e.Data;if(t){t=JSON.parse(t);if(s.oKpiTileView.getViewName()==\"tiles.indicatornumeric.NumericTile\"){t.leftData=i}else{t.rightData=i}}e.Data=JSON.stringify(t);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(s.oConfig.TILE_PROPERTIES.id,e)}else{t={};t.rightData=i;l.Data=JSON.stringify(t);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(s.oConfig.TILE_PROPERTIES.id,l)}s.cacheWriteData=i}o.call(s,s.oConfig.TILE_PROPERTIES.FINALVALUE)}else if(e.results.length==0){s.oConfig.TILE_PROPERTIES.FINALVALUE=e;if(sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(s.oConfig.TILE_PROP Copyright (C) 2009-2025, 2009-2025, 2013, 2009-2025, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ca/ui/model/format/NumberFormat\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/m/library\",\"sap/m/NumericContent\",\"sap/m/TileContent\",\"sap/suite/ui/microchart/BulletMicroChartData\",\"sap/suite/ui/microchart/BulletMicroChart\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\"],(e,t,a,i,o,l,s,u,r,n,c)=>{\"use strict\";const m=o.Size;const h=o.LoadState;sap.ui.getCore().loadLibrary(\"sap.suite.ui.microchart\");sap.ui.jsview(\"tiles.indicatorDualDeviation.DualDeviation\",{getControllerName:function(){return\"tiles.indicatorDualDeviation.DualDeviation\"},createContent:function(){const e=this;this.setHeight(\"100%\");this.setWidth(\"100%\");let t=\"Lorem ipsum\";let a=\"Lorem ipsum\";const i=sap.ushell.components.tiles.indicatorTileUtils.util.getTileTitleSubtitle(this.getViewData().chip);if(i.title&&i.subTitle){t=i.title;a=i.subTitle}const o={subheader:a,header:t,footerNum:\"\",footerComp:\"\",frameType:\"TwoByOne\",state:h.Loading,scale:\"\"};e.oNumericContent=new l({value:\"{/value}\",scale:\"{/scale}\",unit:\"{/unit}\",indicator:\"{/indicator}\",size:\"{/size}\",formatterValue:true,truncateValueTo:6,valueColor:\"{/valueColor}\"});e.oNumericTile=new s({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:e.oNumericContent});const p=new u({value:\"{value}\",color:\"{color}\"});e.oBCTmpl=new r({size:m.Auto,scale:\"{/scale}\",actual:{value:\"{/actual/value}\",color:\"{/actual/color}\"},targetValue:\"{/targetValue}\",actualValueLabel:\"{/actualValueLabel}\",targetValueLabel:\"{/targetValueLabel}\",thresholds:{template:p,path:\"/thresholds\"},state:\"{/state}\",showActualValue:\"{/showActualValue}\",showTargetValue:\"{/showTargetValue}\"});const d=new s({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:e.oBCTmpl});e.oGenericTile=new n({subheader:\"{/subheader}\",frameType:\"{/frameType}\",size:\"{/size}\",header:\"{/header}\",tileContent:[e.oNumericTile,d]});const T=new c;T.setData(o);e.oGenericTile.setModel(T);return e.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller\", [\"sap/ui/model/json/JSONModel\",\"sap/suite/ui/microchart/AreaMicroChartPoint\",\"sap/suite/ui/microchart/AreaMicroChartItem\",\"sap/m/library\",\"sap/ui/thirdparty/jquery\"],(e,i,t,l,jQuery)=>{\"use strict\";const a=l.Size;const s=l.ValueColor;const r=l.DeviationIndicator;const o=l.LoadState;sap.ui.controller(\"tiles.indicatorDualTrend.DualTrend\",{logError:function(e){this.oDualTrendView.oGenericTile.setState(o.Failed);this.oDualTrendView.oGenericTile.setState(o.Failed);sap.ushell.components.tiles.indicatorTileUtils.util.logError(e)},formSelectStatement:function(e){const i=Object.keys(e);let t=\"\";for(let l=0;l<i.length;l++){if(e[i[l]]!==undefined&&e.fullyFormedMeasure){t+=`,${e[i[l]]}`}}return t},setThresholdValues:function(){const e=this;try{const i={};i.fullyFormedMeasure=this.DEFINITION_DATA.EVALUATION.COLUMN_NAME;if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){switch(this.DEFINITION_DATA.EVALUATION.GOAL_TYPE){case\"MI\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break;case\"MA\":i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break;case\"RA\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break}}else{i.criticalHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"FIXED\");i.criticalLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"FIXED\");i.warningHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"FIXED\");i.warningLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"FIXED\");i.targetValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"FIXED\");i.trendValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"FIXED\")}return i}catch(i){e.logError(i)}},getTrendIndicator:function(e,i){const t=this;e=Number(e);try{let t=r.None;if(e>i){t=r.Down}else if(e<i){t=r.Up}return t}catch(e){t.logError(e)}},getTile:function(){return this.oDualTrendView.oGenericTile},getTrendColor:function(e){const i=this;try{const i=this.DEFINITION_DATA.EVALUATION.GOAL_TYPE;let t=s.Neutral;if(i===\"MI\"){if(e.criticalHighValue&&e.warningHighValue){e.criticalHighValue=Number(e.criticalHighValue);e.warningHighValue=Number(e.warningHighValue);if(this.CALCULATED_KPI_VALUE<e.warningHighValue){t=s.Good}else if(this.CALCULATED_KPI_VALUE<=e.criticalHighValue){t=s.Critical}else{t=s.Error}}}else if(i===\"MA\"){if(e.criticalLowValue&&e.warningLowValue){e.criticalLowValue=Number(e.criticalLowValue);e.warningLowValue=Number(e.warningLowValue);if(this.CALCULATED_KPI_VALUE<e.criticalLowValue){t=s.Error}else if(this.CALCULATED_KPI_VALUE<=e.warningLowValue){t=s.Critical}else{t=s.Good}}}else if(e.warningLowValue&&e.warningHighValue&&e.criticalLowValue&&e.criticalHighValue){e.criticalHighValue=Number(e.criticalHighValue);e.warningHighValue=Number(e.warningHighValue);e.warningLowValue=Number(e.warningLowValue);e.criticalLowValue=Number(e.criticalLowValue);if(this.CALCULATED_KPI_VALUE<e.criticalLowValue||this.CALCULATED_KPI_VALUE>e.criticalHighValue){t=s.Error}else if(this.CALCULATED_KPI_VALUE>=e.criticalLowValue&&this.CALCULATED_KPI_VALUE<=e.warningLowValue||this.CALCULATED_KPI_VALUE>=e.warningHighValue&&this.CALCULATED_KPI_VALUE<=e.criticalHighValue){t=s.Critical}else{t=s.Good}}return t}catch(e){i.logError(e)}},_updateTileModel:function(e){const i=this.getTile().getModel().getData();jQuery.extend(i,e);this.getTile().getModel().setData(i)},onAfterFinalEvaluation:function(){const e=this;const l=this.DEFINITION_DATA.EVALUATION.ODATA_URL;const a=this.DEFINITION_DATA.EVALUATION.ODATA_ENTITYSET;const s=this.DEFINITION_DATA.EVALUATION.COLUMN_NAME;let r=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(this.DEFINITION_DATA.EVALUATION_FILTERS,this.DEFINITION_DATA.ADDITIONAL_FILTERS);let n=this.DEFINITION_DATA.TILE_PROPERTIES.dimension;if(n==undefined){this.logError();return}const u=this.DEFINITION_DATA.EVALUATION.GOAL_TYPE;const c=this.DEFINITION_DATA.EVALUATION_VALUES;let T;if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){let i=s;switch(u){case\"MI\":e.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");e.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");e.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");e.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");if(e.sWarningHigh&&e.sCriticalHigh&&e.sTarget){i+=`,${e.sWarningHigh},${e.sCriticalHigh},${e.sTarget}`}break;case\"MA\":e.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");e.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");e.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");e.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");if(e.sWarningLow&&e.sCriticalLow&&e.sTarget){i+=`,${e.sWarningLow},${e.sCriticalLow},${e.sTarget}`}break;case\"RA\":e.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");e.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");e.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");e.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");e.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");e.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");if(e.sWarningLow&&e.sCriticalLow&&e.sTarget&&e.sWarningHigh&&e.sCriticalHigh){i+=`,${e.sWarningLow},${e.sCriticalLow},${e.sTarget},${e.sWarningHigh},${e.sCriticalHigh}`}break}T=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(e.oTileApi.url.addSystemToServiceUrl(l),a,i,n,r)}else{T=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(e.oTileApi.url.addSystemToServiceUrl(l),a,s,n,r)}const h=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(e.oConfig.TILE_PROPERTIES.id);if(!h){if(T){this.queryUriForTrendChart=T.uri;e.writeData={};try{this.trendChartODataReadRef=T.model.read(T.uri,null,null,true,i=>{if(i&&i.results&&i.results.length){if(T.unit[0]){e.unit=i.results[0][T.unit[0].name];e.writeData.unit=T.unit[0];e.writeData.unit.name=T.unit[0].name}e.queryUriResponseForTrendChart=i;n=sap.ushell.components.tiles.indicatorTileUtils.util.findTextPropertyForDimension(e.oTileApi.url.addSystemToServiceUrl(l),a,n);i.firstXlabel=i.results[0][n];i.lastXlabel=i.results[i.results.length-1][n];e.writeData.data=i;e.writeData.dimensionName=n;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(e.oConfig.TILE_PROPERTIES.id,e.writeData);const t=sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system);e.oDualTrendView.oGenericTile.$().wrap(`<a href ='${t}'></a>`);e.oDualTrendView.oGenericTile.setState(o.Loaded);E(i,e.DEFINITION_DATA.EVALUATION.VALUES_SOURCE)}else{e.logError(\"no Response from QueryServiceUri\")}},i=>{if(i&&i.response){e.logError(\"Data call failed\")}})}catch(i){e.logError(i)}}else{e.logError()}r=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(e.DEFINITION_DATA.EVALUATION_FILTERS,e.DEFINITION_DATA.ADDITIONAL_FILTERS);T=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(e.oTileApi.url.addSystemToServiceUrl(l),a,s,null,r);if(T){e.QUERY_SERVICE_MODEL=T.model;e.queryUriForKpiValue=T.uri;e.numericODataReadRef=e.QUERY_SERVICE_MODEL.read(T.uri,null,null,true,i=>{if(i&&i.results&&i.results.length){let t=\"\";let l=i.results[0][e.DEFINITION_DATA.EVALUATION.COLUMN_NAME];e.writeData.numericData=i;if(e.oConfig.EVALUATION.SCALING==-2){l*=100}t=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(l),e.oConfig.EVALUATION.SCALING,e.oConfig.EVALUATION.DECIMAL_PRECISION);if(e.oConfig.EVALUATION.SCALING==-2){e._updateTileModel({scale:\"%\"})}const a=e.getTrendIndicator(e.setThresholdValues().trendValue,l);e._updateTileModel({value:t.toString(),valueColor:e.getTrendColor(e.setThresholdValues()),indicator:a})}else{fnError.call(e,\"no Response from QueryServiceUri\")}})}}else{try{if(h.unit!==undefined){e.unit=h.data.results[0][h.unit.name]}e.queryUriResponseForTrendChart=h.data;n=h.dimensionName;const i=h.numericData.results[0][e.DEFINITION_DATA.EVALUATION.COLUMN_NAME];const t=e.getTrendIndicator(e.setThresholdValues().trendValue,h.data.results[0][e.DEFINITION_DATA.EVALUATION.COLUMN_NAME]);const l=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(i),e.oConfig.EVALUATION.SCALING,e.oConfig.EVALUATION.DECIMAL_PRECISION);e.oDualTrendView.oGenericTile.setState(o.Loaded);E(h.data,e.DEFINITION_DATA.EVALUATION.VALUES_SOURCE);e._updateTileModel({value:l.toString(),valueColor:e.getTrendColor(e.setThresholdValues()),indicator:t})}catch(i){e.logError(i)}}function E(l,a){const r=[];const o=[];const T=[];const h=[];const E=[];const g=[];let d=l.firstXlabel;let A;let f;let m;let L;let C;let N=l.lastXlabel;const p=Number(l.results[0][s]);const I=Number(l.results[l.results.length-1][s]);let U;for(U in l.results){l.results[U][n]=Number(U);l.results[U][s]=Number(l.results[U][s]);if(e.sWarningHigh){l.results[U][e.sWarningHigh]=Number(l.results[U][e.sWarningHigh])}if(e.sCriticalHigh){l.results[U][e.sCriticalHigh]=Number(l.results[U][e.sCriticalHigh])}if(e.sCriticalLow){l.results[U][e.sCriticalLow]=Number(l.results[U][e.sCriticalLow])}if(e.sWarningLow){l.results[U][e.sWarningLow]=Number(l.results[U][e.sWarningLow])}if(e.sTarget){l.results[U][e.sTarget]=Number(l.results[U][e.sTarget])}if(e.sWarningHigh){T.push(l.results[U][e.sWarningHigh])}if(e.sCriticalHigh){h.push(l.results[U][e.sCriticalHigh])}if(e.sCriticalLow){E.push(l.results[U][e.sCriticalLow])}if(e.sWarningLow){g.push(l.results[U][e.sWarningLow])}r.push(l.results[U][n]);o.push(l.results[U][s])}try{d=sap.ushell.components.tiles.indicatorTileUtils.util.formatOdataObjectToString(d);N=sap.ushell.components.tiles.indicatorTileUtils.util.formatOdataObjectToString(N)}catch(i){e.logError(i)}let V=Number(p);if(e.oConfig.EVALUATION.SCALING==-2){V*=100}const w=Math.min.apply(Math,o);let M=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(V,e.oConfig.EVALUATION.SCALING,e.oConfig.EVALUATION.DECIMAL_PRECISION);if(e.oConfig.EVALUATION.SCALING==-2){M+=\" %\"}const S=M.toString();let D=Number(I);if(e.oConfig.EVALUATION.SCALING==-2){D*=100}const b=Math.max.apply(Math,o);let R=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(D,e.oConfig.EVALUATION.SCALING,e.oConfig.EVALUATION.DECIMAL_PRECISION);if(e.oConfig.EVALUATION.SCALING==-2){R+=\" %\"}const O=R.toString();try{var H=sap.ushell.components.tiles.indicatorTileUtils.util.formatOdataObjectToString(Math.min.apply(Math,r));var _=sap.ushell.components.tiles.indicatorTileUtils.util.formatOdataObjectToString(Math.max.apply(Math,r))}catch(i){e.logError(i)}if(a==\"MEASURE\"){if(T.length!=0){e.firstwH=T[H];e.lastwH=T[_]}if(h.length!=0){e.firstcH=h[H];e.lastcH=h[_]}if(E.length!=0){e.firstcL=E[H];e.lastcL=E[_]}if(g.length!=0){e.firstwL=g[H];e.lastwL=g[_]}}const F={width:\"100%\",height:\"100%\",unit:e.unit||\"\",chart:{color:\"Neutral\",data:l.results},size:\"Auto\",minXValue:H,maxXValue:_,minYValue:w,maxYValue:b,firstXLabel:{label:`${d}`,color:\"Neutral\"},lastXLabel:{label:`${N}`,color:\"Neutral\"},firstYLabel:{label:`${S}`,color:\"Neutral\"},lastYLabel:{label:`${O}`,color:\"Neutral\"},minLabel:{},maxLabel:{}};let v;switch(u){case\"MA\":for(U in c){if(c[U].TYPE==\"CL\"){F.minThreshold={color:\"Error\"};v={};v[n]=\"\";v[s]=Number(c[U].FIXED);e.cl=Number(c[U].FIXED);F.minThreshold.data=a==\"MEASURE\"?l.results:[v];A=a==\"MEASURE\"?e.sCriticalLow:s}else if(c[U].TYPE==\"WL\"){F.maxThreshold={color:\"Good\"};v={};v[n]=\"\";v[s]=Number(c[U].FIXED);F.maxThreshold.data=a==\"MEASURE\"?l.results:[v];f=a==\"MEASURE\"?e.sWarningLow:s;e.wl=Number(c[U].FIXED)}else if(c[U].TYPE==\"TA\"){v={};v[n]=\"\";v[s]=Number(c[U].FIXED);F.target={color:\"Neutral\"};F.target.data=a==\"MEASURE\"?l.results:[v];C=a==\"MEASURE\"?e.sTarget:s}}F.innerMinThreshold={data:[]};F.innerMaxThreshold={data:[]};if(a==\"FIXED\"){F.firstYLabel.color=p<e.cl?\"Error\":e.cl<=p&&p<=e.wl?\"Critical\":p>e.wl?\"Good\":\"Neutral\";F.lastYLabel.color=I<e.cl?\"Error\":e.cl<=I&&I<=e.wl?\"Critical\":I>e.wl?\"Good\":\"Neutral\"}else if(a==\"MEASURE\"&&e.firstwL&&e.lastwL&&e.firstcL&&e.lastcL){F.firstYLabel.color=p<e.firstcL?\"Error\":e.firstcL<=p&&p<=e.firstwL?\"Critical\":p>e.firstwL?\"Good\":\"Neutral\";F.lastYLabel.color=I<e.lastcL?\"Error\":e.lastcL<=I&&I<=e.lastwL?\"Critical\":I>e.lastwL?\"Good\":\"Neutral\"}break;case\"MI\":for(U in c){if(c[U].TYPE==\"CH\"){v={};v[n]=\"\";v[s]=Number(c[U].FIXED);e.ch=Number(c[U].FIXED);F.maxThreshold={color:\"Error\"};F.maxThreshold.data=a==\"MEASURE\"?l.results:[v];f=a==\"MEASURE\"?e.sCriticalHigh:s}else if(c[U].TYPE==\"WH\"){v={};v[n]=\"\";v[s]=Number(c[U].FIXED);e.wh=Number(c[U].FIXED);F.minThreshold={color:\"Good\"};F.minThreshold.data=a==\"MEASURE\"?l.results:[v];A=a==\"MEASURE\"?e.sWarningHigh:s}else if(c[U].TYPE==\"TA\"){v={};v[n]=\"\";v[s]=Number(c[U].FIXED);F.target={color:\"Neutral\"};F.target.data=a==\"MEASURE\"?l.results:[v];C=a==\"MEASURE\"?e.sTarget:s}}if(a==\"FIXED\"){F.firstYLabel.color=p>e.ch?\"Error\":e.wh<=p&&p<=e.ch?\"Critical\":p<e.wh?\"Good\":\"Neutral\";F.lastYLabel.color=I>e.ch?\"Error\":e.wh<=I&&I<=e.ch?\"Critical\":I<e.wh?\"Good\":\"Neutral\"}else if(a==\"MEASURE\"&&e.firstwH&&e.lastwH&&e.firstcH&&e.lastcH){F.firstYLabel.color=p>e.firstcH?\"Error\":e.firstwH<=p&&p<=e.firstcH?\"Critical\":p<e.firstwH?\"Good\":\"Neutral\";F.lastYLabel.color=I>e.lastcH?\"Error\":e.lastwH<=I&&I<=e.lastcH?\"Critical\":I<e.lastwH?\"Good\":\"Neutral\"}F.innerMaxThreshold={data:[]};F.innerMinThreshold={data:[]};break;case\"RA\":for(U in c){if(c[U].TYPE==\"CH\"){v={};v[n]=\"\";v[s]=Number(c[U].FIXED);e.ch=Number(c[U].FIXED);F.maxThreshold={color:\"Error\"};F.maxThreshold.data=a==\"MEASURE\"?l.results:[v];f=a==\"MEASURE\"?e.sCriticalHigh:s}else if(c[U].TYPE==\"WH\"){v={};v[n]=\"\";v[s]=Number(c[U].FIXED);e.wh=Number(c[U].FIXED);F.innerMaxThreshold={color:\"Good\"};F.innerMaxThreshold.data=a==\"MEASURE\"?l.results:[v];L=a==\"MEASURE\"?e.sWarningHigh:s}else if(c[U].TYPE==\"WL\"){v={};v[n]=\"\";v[s]=Number(c[U].FIXED);e.wl=Number(c[U].FIXED);F.innerMinThreshold={color:\"Good\"};F.innerMinThreshold.data=a==\"MEASURE\"?l.results:[v];m=a==\"MEASURE\"?e.sWarningLow:s}else if(c[U].TYPE==\"CL\"){v={};v[n]=\"\";v[s]=Number(c[U].FIXED);e.cl=Number(c[U].FIXED);F.minThreshold={color:\"Error\"};F.minThreshold.data=a==\"MEASURE\"?l.results:[v];A=a==\"MEASURE\"?e.sCriticalLow:s}else if(c[U].TYPE==\"TA\"){v={};v[n]=\"\";v[s]=Number(c[U].FIXED);F.target={color:\"Neutral\"};F.target.data=a==\"MEASURE\"?l.results:[v];C=a==\"MEASURE\"?e.sTarget:s}}if(a==\"FIXED\"){F.firstYLabel.color=p>e.ch||p<e.cl?\"Error\":e.wh<=p&&p<=e.ch||e.cl<=p&&p<=e.wl?\"Critical\":p>=e.wl&&p<=e.wh?\"Good\":\"Neutral\";F.lastYLabel.color=I>e.ch||I<e.cl?\"Error\":e.wh<=I&&I<=e.ch||e.cl<=I&&I<=e.wl?\"Critical\":I>=e.wl&&I<=e.wh?\"Good\":\"Neutral\"}else if(a==\"MEASURE\"&&e.firstwL&&e.lastwL&&e.firstcL&&e.lastcL&&e.firstwH&&e.lastwH&&e.firstcH&&e.lastcH){F.firstYLabel.color=p>e.firstcH||p<e.firstcL?\"Error\":e.firstwH<=p&&p<=e.firstcH||e.firstcL<=p&&p<=e.firstwL?\"Critical\":p>=e.firstwL&&p<=e.firstwH?\"Good\":\"Neutral\";F.lastYLabel.color=I>e.lastcH||I<e.lastcL?\"Error\":e.lastwH<=I&&I<=e.lastcH||e.lastcL<=I&&I<=e.lastwL?\"Critical\":I>=e.lastwL&&I<=e.lastwH?\"Good\":\"Neutral\"}break}const y=function(e,l,a){return new t({color:`{/${e}/color}`,points:{path:`/${e}/data`,template:new i({x:`{${l}}`,y:`{${a}}`})}})};e.getTile().getTileContent()[1].getContent().setTarget(y(\"target\",n,C));e.getTile().getTileContent()[1].getContent().setInnerMinThreshold(y(\"innerMinThreshold\",n,m));e.getTile().getTileContent()[1].getContent().setInnerMaxThreshold(y(\"innerMaxThreshold\",n,L));e.getTile().getTileContent()[1].getContent().setMinThreshold(y(\"minThreshold\",n,A));e.getTile().getTileContent()[1].getContent().setMaxThreshold(y(\"maxThreshold\",n,f));e.getTile().getTileContent()[1].getContent().setChart(y(\"chart\",n,s));e._updateTileModel(F)}},flowWithoutDesignTimeCall:function(){this.DEFINITION_DATA=this.oConfig;this._updateTileModel(this.DEFINITION_DATA);if(this.oTileApi.visible.isVisible()&&!this.firstTimeVisible){this.firstTimeVisible=true}this.onAfterFinalEvaluation()},flowWithDesignTimeCall:function(){const e=this;try{const i=sap.ushell.components.tiles.indicatorTileUtils.cache.getEvaluationById(this.oConfig.EVALUATION.ID);if(i){e.oConfig.EVALUATION_FILTERS=i.EVALUATION_FILTERS;e.flowWithoutDesignTimeCall()}else{sap.ushell.components.tiles.indicatorTileUtils.util.getFilterFromRunTimeService(this.oConfig,i=>{e.oConfig.EVALUATION_FILTERS=i;sap.ushell.components.tiles.indicatorTileUtils.cache.setEvaluationById(e.oConfig.TILE_PROPERTIES.id,e.oConfig);e.flowWithoutDesignTimeCall()})}}catch(e){this.logError(e)}},refreshHandler:function(e){if(!e.firstTimeVisible){if(Number(this.oTileApi.configuration.getParameterValueAsString(\"isSufficient\"))){e.flowWithoutDesignTimeCall()}else{e.flowWithDesignTimeCall()}}},visibleHandler:function(e){if(!e){this.firstTimeVisible=false;sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.trendChartODataReadRef)}if(e){this.refreshHandler(this)}},setTextInTile:function(){const e=this;this._updateTileModel({header:e.oTileApi.preview.getTitle()||sap.ushell.components.tiles.indicatorTileUtils.util.getChipTitle(e.oConfig),subheader:e.oTileApi.preview.getDescription()||sap.ushell.components.tiles.indicatorTileUtils.util.getChipSubTitle(e.oConfig)})},onInit:function(){const e=this;this.firstTimeVisible=false;this.oDualTrendView=this.getView();this.oViewData=this.oDualTrendView.getViewData();this.oTileApi=this.oViewData.chip;if(this.oTileApi.visible){this.oTileApi.visible.attachVisible(this.visibleHandler.bind(this))}this.system=this.oTileApi.url.getApplicationSystem();this.oDualTrendView.oGenericTile.setState(o.Loading);if(this.oTileApi.preview.isEnabled()){this.setTextInTile();this._updateTileModel({value:8888,size:a.Auto,frameType:\"TwoByOne\",state:o.Loading,valueColor:s.Error,indicator:r.None,title:\"Liquidity Structure\",footer:\"Current Quarter\",description:\"Apr 1st (B$)\",width:\"100%\",height:\"100%\",chart:{color:\"Good\",data:[{day:0,balance:0},{day:30,balance:20},{day:60,balance:20},{day:100,balance:80}]},target:{color:\"Error\",data:[{day:0,balance:0},{day:30,balance:30},{day:60,balance:40},{day:100,balance:90}]},maxThreshold:{color:\"Good\",data:[{day:0,balance:0},{day:30,balance:40},{day:60,balance:50},{day:100,balance:100}]},innerMaxThreshold:{color:\"Error\",data:[]},innerMinThreshold:{color:\"Neutral\",data:[]},minThreshold:{color:\"Error\",data:[{day:0,balance:0},{day:30,balance:20},{day:60,balance:30},{day:100,balance:70}]},minXValue:0,maxXValue:100,minYValue:0,maxYValue:100,firstXLabel:{label:\"June 123\",color:\"Error\"},lastXLabel:{label:\"June 30\",color:\"Error\"},firstYLabel:{label:\"0M\",color:\"Good\"},lastYLabel:{label:\"80M\",color:\"Critical\"},minLabel:{},maxLabel:{}});this.oDualTrendView.oGenericTile.setState(o.Loaded)}else{try{sap.ushell.components.tiles.indicatorTileUtils.util.getParsedChip(this.oTileApi.configuration.getParameterValueAsString(\"tileConfiguration\"),i=>{e.oConfig=i;e.setTextInTile();e.oDualTrendView.oGenericTile.attachPress(()=>{sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(e.trendChartODataReadRef);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(e.oConfig.TILE_PROPERTIES.id,null);window.location.hash=sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system)});if(Number(e.oTileApi.configuration.getParameterValueAsString(\"isSufficient\"))){sap.ushell.components.tiles.indicatorTileUtils.cache.setEvaluationById(e.oConfig.TILE_PROPERTIES.id,e.oConfig);e.flowWithoutDesignTimeCall()}else{e.flowWithDesignTimeCall()}})}catch(e){this.logError(e)}}},_setLocalModelToTile:function(){if(!this.getTile().getModel()){this.getTile().setModel(new e({}))}},onExit:function(){sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.trendChartODataReadRef)}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDualTrend/DualTrend.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ca/ui/model/format/NumberFormat\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/suite/ui/microchart/AreaMicroChartItem\",\"sap/suite/ui/microchart/AreaMicroChartPoint\",\"sap/suite/ui/microchart/AreaMicroChartLabel\",\"sap/suite/ui/microchart/AreaMicroChart\",\"sap/m/TileContent\",\"sap/m/NumericContent\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\"],(e,a,t,i,r,n,s,l,o,u,c,h)=>{\"use strict\";sap.ui.getCore().loadLibrary(\"sap.suite.ui.microchart\");sap.ui.jsview(\"tiles.indicatorDualTrend.DualTrend\",{getControllerName:function(){return\"tiles.indicatorDualTrend.DualTrend\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");function e(e){return new r({color:\"Good\",points:{path:`/${e}/data`,template:new n({x:\"{day}\",y:\"{balance}\"})}})}function a(e){return new s({label:`{/${e}/label}`,color:`{/${e}/color}`})}const t={footer:\"\",header:\"\",subheader:\"\"};const i=new l({width:\"{/width}\",height:\"{/height}\",size:\"{/size}\",target:e(\"target\"),innerMinThreshold:e(\"innerMinThreshold\"),innerMaxThreshold:e(\"innerMaxThreshold\"),minThreshold:e(\"minThreshold\"),maxThreshold:e(\"maxThreshold\"),chart:e(\"chart\"),minXValue:\"{/minXValue}\",maxXValue:\"{/maxXValue}\",minYValue:\"{/minYValue}\",maxYValue:\"{/maxYValue}\",firstXLabel:a(\"firstXLabel\"),lastXLabel:a(\"lastXLabel\"),firstYLabel:a(\"firstYLabel\"),lastYLabel:a(\"lastYLabel\"),minLabel:a(\"minLabel\"),maxLabel:a(\"maxLabel\")});const m=new o({unit:\"{/unit}\",size:\"{/size}\",content:i});const d=new u({value:\"{/value}\",scale:\"{/scale}\",unit:\"{/unit}\",indicator:\"{/indicator}\",size:\"{/size}\",formatterValue:true,truncateValueTo:6,valueColor:\"{/valueColor}\"});const b=new o({unit:\"{/unit}\",size:\"{/size}\",content:d});this.oGenericTile=new c({subheader:\"{/subheader}\",frameType:\"TwoByOne\",size:\"{/size}\",header:\"{/header}\",tileContent:[b,m]});const p=new h;p.setData(t);this.oGenericTile.setModel(p);return this.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller\", [\"sap/ui/model/json/JSONModel\",\"sap/suite/ui/commons/library\"],(e,t)=>{\"use strict\";const i=t.InfoTileValueColor;const a=t.InfoTileSize;const s=t.LoadState;sap.ui.controller(\"tiles.indicatorHarveyBall.HarveyBallTile\",{onInit:function(){this.getView().setModel(new e);this.initializeVariables();this.attachHandlers();this.getVariable(\"tile\").setState(s.Loading);this.readChipConfiguration()},attachHandlers:function(){const e=this;const t=this.getVariable(\"chip\");if(t.visible){t.visible.attachVisible(t=>{if(t){e.onVisible()}else{e.abortAllOpenODataRequests()}})}this.getVariable(\"tile\").attachPress(()=>{e.abortAllOpenODataRequests();const t=e.getVariable(\"indicatorUtils\");e.getVariable(\"cache\").setKpivalueById(e.getVariable(\"chipId\"),null);window.location.hash=t.getNavigationTarget(e.getVariable(\"evalData\"),e.getVariable(\"system\"))})},initializeVariables:function(){this._variables={};this._oDataRequests={};const e=this.getView();const t=e.getViewData();const i=e.oTile;const a=t.chip;this.setVariable(\"indicatorUtils\",sap.ushell.components.tiles.indicatorTileUtils.util);this.setVariable(\"cache\",sap.ushell.components.tiles.indicatorTileUtils.cache);this.setVariable(\"hasAppeared\",false);this.setVariable(\"chip\",a);this.setVariable(\"tile\",i);this.setVariable(\"tileControl\",i.getTileContent()[0].getContent());this.setVariable(\"configurationString\",a.configuration.getParameterValueAsString(\"tileConfiguration\"));this.setVariable(\"system\",a.url.getApplicationSystem())},getVariable:function(e){return this._variables[e]},setVariable:function(e,t){this._variables[e]=t},readChipConfiguration:function(){const e=this;const t=this.getVariable(\"chip\");const i=this.getVariable(\"indicatorUtils\");i.getParsedChip(this.getVariable(\"configurationString\"),a=>{e.setVariable(\"evalData\",a);e.setVariable(\"chipId\",a.TILE_PROPERTIES.id);e.setVariable(\"tileProperties\",a.TILE_PROPERTIES);if(t.preview){t.preview.setTargetUrl(i.getNavigationTarget(a,e.getVariable(\"system\")));e.loadPreviewData();if(t.preview.isEnabled()){e.getVariable(\"tile\").setState(s.Loaded)}else{e.loadActualData()}}})},loadPreviewData:function(){const e=this.getVariable(\"indicatorUtils\").getTileTitleSubtitle(this.getVariable(\"chip\"));this.getView().getModel().setData({fractionValue:34,value:100,size:a.Auto,frameType:\"OneByOne\",color:\"Good\",state:s.Loading,header:e.title||this.getVariable(\"indicatorUtils\").getChipTitle(this.getVariable(\"evalData\")),subheader:e.subTitle||this.getVariable(\"indicatorUtils\").getChipSubTitle(this.getVariable(\"evalData\"))})},loadActualData:function(){if(Number(this.getVariable(\"chip\").configuration.getParameterValueAsString(\"isSufficient\"))){this.getVariable(\"cache\").setEvaluationById(this.getVariable(\"chipId\"),this.getVariable(\"evalData\"));this.onEvalFiltersFetched()}else{this.fetchEvalFilters(this.onEvalFiltersFetched)}},registerOpenODataRequest:function(e,t){this._oDataRequests[e]=t},deregisterOpenODataRequest:function(e){delete this._oDataRequests[e]},abortAllOpenODataRequests:function(){for(const e in this._oDataRequests){try{this.getVariable(\"indicatorUtils\").abortPendingODataCalls(this._oDataRequests[e]);delete this._oDataRequests[e]}catch(e){}}},fetchKpiValue:function(e){function t(e,t,a,s,o){const n=e.read(t,null,null,true,e=>{i.deregisterOpenODataRequest(a.type);if(e&&e.results&&e.results.length){try{if(a.thresholds&&a.thresholds.length){i._setThresholdValues(e.results[0])}l[a.type]=e.results[0][a.measure];l.unit=l.unit||e.results[0][a.unit]||\"\";if(--r==0){i.getVariable(\"cache\").setKpivalueById(i.getVariable(\"chipId\"),l);s.call(i,l)}}catch(e){i.logError(e)}}else{o.call(i,\"no data\")}},e=>{i.deregisterOpenODataRequest(a.type);if(e&&e.response){o.call(i,e.message)}});i.registerOpenODataRequest(a.type,n)}var i=this;const a=this.getVariable(\"indicatorUtils\");const s=this.getVariable(\"cache\").getKpivalueById(this.getVariable(\"chipId\"));if(s){e.fnS.call(i,s)}else{const s=e.measure1;const o=e.measure2;const n=e.url;const h=e.entitySet;const c=e.filters;const u=e.fractionFilters.concat(c);let V;let g;let f;let b;var l;var r=2;u.forEach(e=>{e.value=`${e.value}`;e.valueTo=`${e.valueTo}`});if(e.thresholds&&e.thresholds.length){V=a.prepareQueryServiceUri(this.getVariable(\"chip\").url.addSystemToServiceUrl(n),h,`${s},${e.thresholds}`,null,c)}else{V=a.prepareQueryServiceUri(this.getVariable(\"chip\").url.addSystemToServiceUrl(n),h,s,null,c)}g=a.prepareQueryServiceUri(this.getVariable(\"chip\").url.addSystemToServiceUrl(n),h,o,null,u);f=V.unit[0];b=g.unit[0];l={kpiValue:null,fractionValue:null,unit:\"\"};if(V){t(V.model,V.uri,{measure:s,type:\"kpiValue\",unit:f,thresholds:e.thresholds},e.fnS,e.fnE)}if(g){t(g.model,g.uri,{measure:o,type:\"fractionValue\",unit:b},e.fnS,e.fnE)}if(!(V&&g)){e.fnE.call(i,\"Error Preparing Query Service URI\")}}},_setThresholdValues:function(e){const t=this.getVariable(\"oThreshold\");let i;if(t){if(this.getVariable(\"evalData\").EVALUATION.VALUES_SOURCE==\"RELATIVE\"){if(t.TA.COLUMN_NAME){t.TA.VALUE=parseFloat(e[t.TA.COLUMN_NAME]);for(i in t){if(!t[i].COLUMN_NAME){t[i].VALUE=t.TA.VALUE*t[i].VALUE/100}}}}else{for(i in t){if(t[i].COLUMN_NAME){t[i].VALUE=parseFloat(e[t[i].COLUMN_NAME])}}}}this.setVariable(\"oThreshold\",t)},getThresholdObject:function(){let e=this.getVariable(\"oThreshold\");if(!e){const t=this.getVariable(\"evalData\").EVALUATION_VALUES;e={};for(let i=0,a=t.length;i<a;i++){e[t[i].TYPE]={VALUE:parseFloat(t[i].FIXED),COLUMN_NAME:t[i].COLUMN_NAME}}this.setVariable(\"oThreshold\",e)}return e},hasSomeValue:function(){let e=true;if(arguments.length){for(let t=0,i=arguments.length;t<i;t++){if(!(arguments[t]||arguments[t]==\"0\")){e=false;break}}}else{e=false}return e},getTrendColor:function(e){let t=\"Neutral\";let a;let s;let l;let r;let o;let n;if(this.getVariable(\"tileProperties\").isFractionMeasure){a=this.getThresholdObject();s=this.getVariable(\"evalData\").EVALUATION.GOAL_TYPE;if(s==\"MA\"){l=a.WL;o=a.CL;if(this.hasSomeValue(l,o)){t=\"Good\";if(e<o.VALUE){t=\"Error\"}else if(e<=l.VALUE){t=\"Critical\"}}}else if(s==\"MI\"){r=a.WH;n=a.CH;if(this.hasSomeValue(r,n)){t=\"Error\";if(e<r.VALUE){t=\"Good\"}else if(e<=n.VALUE){t=\"Critical\"}}}else{l=a.WL;o=a.CL;r=a.WH;n=a.CH;if(this.hasSomeValue(r,n,o,l)){if(e<=o.VALUE||e>=r.VALUE){t=\"Error\"}else if(l.VALUE>=e&&e>=o.VALUE||n.VALUE>=e&&e>=r.VALUE){t=\"Critical\"}else{t=\"Good\"}}}}return i[t]},_getThresholdMeasures:function(){const e=[];const t=this.getThresholdObject();for(const i in t){if(t[i].COLUMN_NAME){e.push(t[i].COLUMN_NAME)}}return e},onEvalFiltersFetched:function(){const e=this;if(this.getVariable(\"chip\").visible.isVisible()&&!this.getVariable(\"hasAppeared\")){try{const t=this.getVariable(\"evalData\");const i=t.EVALUATION.ODATA_URL;const a=t.EVALUATION.ODATA_ENTITYSET;const s=this.getVariable(\"tileProperties\");let l=[];const r=this.getVariable(\"indicatorUtils\").prepareFilterStructure(t.EVALUATION_FILTERS,t.ADDITIONAL_FILTERS);const o=t.EVALUATION.COLUMN_NAME;let n=o;let h=[];if(s.isFractionMeasure){n=s.harveyTotalMeasure;h=this._getThresholdMeasures()}else{l=this.getVariable(\"indicatorUtils\").prepareFilterStructure(s.harveyFilters||l)}this.setVariable(\"totalMeasure\",n);this.setVariable(\"fractionMeasure\",o);this.fetchKpiValue({measure1:n,measure2:o,entitySet:a,thresholds:h,url:i,filters:r,fractionFilters:l,fnS:function(t){t.kpiValue=Number(t.kpiValue);t.fractionValue=Number(t.fractionValue);e.setVariable(\"kpiValue\",t.kpiValue);e.setVariable(\"fractionValue\",t.fractionValue);e.onKpiValueFetched(t.kpiValue,t.unit,t.fractionValue)},fnE:this.logError});e.setVariable(\"hasAppeared\",true)}catch(e){this.logError(e)}}},fetchEvalFilters:function(e){const t=this;try{const i=this.getVariable(\"cache\").getEvaluationById(this.getVariable(\"chipId\"));if(i){this.getVariable(\"evalData\").EVALUATION_FILTERS=i.EVALUATION_FILTERS;e()}else{const i=this.getVariable(\"indicatorUtils\").getFilterFromRunTimeService(this.getVariable(\"evalData\"),i=>{t.deregisterOpenODataRequest(\"kpiFilterRequest\");t.getVariable(\"evalData\").EVALUATION_FILTERS=i;t.getVariable(\"cache\").setEvaluationById(t.getVariable(\"chipId\"),t.getVariable(\"evalData\"));e.call(t)},function(e){this.logError(e);t.deregisterOpenODataRequest(\"kpiFilterRequest\")});this.registerOpenODataRequest(\"kpiFilterRequest\",i)}}catch(e){this.logError(e)}},onKpiValueFetched:function(e,t,i,a){const l=this.getVariable(\"indicatorUtils\");let r=e;let o=i;const n=this.getVariable(\"evalData\");const h=n.EVALUATION.SCALING;if(h==-2){r*=100;o*=100}let c=this.isACurrencyMeasure(this.getVariable(\"totalMeasure\"));r=l.getLocaleFormattedValue(Number(r),h,null,c,t);c=this.isACurrencyMeasure(this.getVariable(\"fractionMeasure\"));o=l.getLocaleFormattedValue(Number(o),h,null,c,t);this.getView().getModel().setProperty(\"/totalLabel\",`${r} ${t}`);this.getView().getModel().setProperty(\"/fractionLabel\",`${o} ${a}`);this.getView().getModel().setProperty(\"/color\",this.getTrendColor(i));this.getView().getModel().setProperty(\"/value\",e);this.getView().getModel().setProperty(\"/fractionValue\",i);const u=l.getNavigationTarget(this.getVariable(\"evalData\"),this.getVariable(\"system\"));this.getVariable(\"tile\").$().wrap(`<a href ='${u}'></a>`);this.getVariable(\"tile\").setState(s.Loaded)},logError:function(e){this.getVariable(\"tile\").setState(s.Failed);this.getVariable(\"indicatorUtils\").logError(e,this.getVariable(\"tile\"))},onVisible:function(){if(!this.getVariable(\"hasAppeared\")){if(Number(this.getVariable(\"chip\").configuration.getParameterValueAsString(\"isSufficient\"))){this.onEvalFiltersFetched()}else{this.fetchEvalFilters(this.onEvalFiltersFetched)}}},onExit:function(){this.abortAllOpenODataRequests()}})});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorTileUtils/cache\", [],()=>{\"use strict\";const n={};const t={};const e=\"HANA_CLIENT\";return{getCacheHanaClient:function(){return n[e]},setCacheHanaClient:function(t){n[e]=t},getEvaluationByChipId:function(t){if(n[t]){return n[t]}return null},getEvaluationById:function(n){return this.getEvaluationByChipId(n)},setEvaluationById:function(t,e){n[t]=e},getFrontEndCacheDeferredObject:function(t){if(n[t]){return n[t]}return null},setFrontEndCacheDefferedObject:function(t,e){n[t]=e},getKpivalueById:function(n){if(t[n]){return t[n]}return null},setKpivalueById:function(n,e){t[n]=e}}},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper\", [],()=>{\"use strict\";function t(t){this.tile=t}t.prototype.setErrorState=function(){this.getTile().setState(sap.suite.ui.commons.LoadState.Failed)};t.prototype.setLoadingState=function(){this.getTile().setState(sap.suite.ui.commons.LoadState.Loading)};t.prototype.setLoadedState=function(){this.getTile().setState(sap.suite.ui.commons.LoadState.Loaded)};t.prototype.setTrendDown=function(){this.getTile().setIndicator(sap.suite.ui.commons.DeviationIndicator.Down)};t.prototype.setTrendUp=function(){this.getTile().setIndicator(sap.suite.ui.commons.DeviationIndicator.Up)};t.prototype.setTrendNeutral=function(){this.getTile().setIndicator(sap.suite.ui.commons.DeviationIndicator.None)};t.prototype.setThresholdGood=function(){};t.prototype.setThresholdBad=function(){};t.prototype.setThresholdCritical=function(){};t.prototype.setThresholdNeutral=function(){};t.prototype.calculateThreshold=function(){};t.prototype.setTile=function(t){this.tile=t};t.prototype.getTile=function(){return this.tile};return t});\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics\", [\"sap/ui/model/odata/ODataModel\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/Filter\",\"sap/ui/model/Sorter\",\"sap/ui/core/Core\"],(e,t,i,n)=>{\"use strict\";sap=sap||{};sap.ushell=sap.ushell||{};sap.ushell.components=sap.ushell.components||{};sap.ushell.components.tiles.indicatorTileUtils=sap.ushell.components.tiles.indicatorTileUtils||{};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics=sap.ushell.components.tiles.indicatorTileUtils.odata4analytics||{};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants={};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants.SAP_NAMESPACE=\"http://www.sap.com/Protocols/SAPData\";sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants.VERSION=\"0.7\";sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.helper={renderPropertyKeyValue:function(e,t){if(e.charAt(0)==\"'\"){throw\"Illegal property value starting with a quote\"}switch(t){case\"Edm.String\":return`'${e}'`;case\"Edm.DateTime\":return`datetime'${e}'`;case\"Edm.Guid\":return`guid'${e}'`;case\"Edm.Time\":return`time'${e}'`;case\"Edm.DateTimeOffset\":return`datetimeoffset'${e}'`;default:return e}},renderPropertyFilterValue:function(e,t){if(e.charAt(0)==\"'\"){throw\"Illegal property value starting with a quote\"}switch(t){case\"Edm.String\":return`'${e}'`;case\"Edm.DateTime\":return`datetime'${e}'`;case\"Edm.Guid\":return`guid'${e}'`;case\"Edm.Time\":return`time'${e}'`;case\"Edm.DateTimeOffset\":return`datetimeoffset'${e}'`;default:return e}},tokenizeNametoLabelText:function(e){let t=\"\";t=e.replace(/([^A-Z0-9_]+)([A-Z0-9_])/g,\"$1 $2\");t=t.replace(/([A-Z0-9_]{2,})([A-Z0-9_])([^A-Z0-9_]+)/g,\"$1 $2$3\");t=t.replace(/(.*) _E$/,\"$1\");t=t.replace(/(.*) _(.*)/g,\"$1 $2\");return t}};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Model=function(e,t){this._init(e,t)};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Model.ReferenceByURI=function(e){return{sServiceURI:e}};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Model.ReferenceByModel=function(e){return{oModel:e}};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Model.ReferenceWithWorkaround=function(e,t){return{oModelReference:e,aWorkaroundID:t}};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Model.prototype={_init:function(t,i){this._oActivatedWorkarounds={};if(t&&t.aWorkaroundID){const e=t.aWorkaroundID;for(var n=0;n<e.length;n++){this._oActivatedWorkarounds[e[n]]=true}t=t.oModelReference}if(!t||!t.sServiceURI&&!t.oModel){throw\"Usage with oModelReference being an instance of Model.ReferenceByURI or Model.ReferenceByModel\"}if(t.oModel){this._oModel=t.oModel}else{this._oModel=new e(t.sServiceURI)}if(this._oModel.getServiceMetadata().dataServices==undefined){throw\"Model could not be loaded\"}this.mergeV2Annotations(i);this._oQueryResultSet={};this._oParameterizationSet={};this._oEntityTypeSet={};this._oEntitySetSet={};this._oEntityTypeNameToEntitySetMap={};const o=this._oModel.getServiceMetadata().dataServices.schema[0];let r;for(n=-1,r;r=o.entityContainer[++n];){if(r.isDefaultEntityContainer==\"true\"){this._oDefaultEntityContainer=r;break}}const s=o.entityType;const a=[];const l=[];const u=[];let c;for(n=-1,g;g=s[++n];){let e=false;if(g.extensions!=undefined){var p;for(c=-1;p=g.extensions[++c];){if(p.namespace==sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants.SAP_NAMESPACE&&p.name==\"semantics\"){e=true;switch(p.value){case\"aggregate\":a.push(g);break;case\"parameters\":l.push(g);break;default:u.push(g)}}if(e){continue}}if(!e){u.push(g)}}else{u.push(g)}}for(n=-1,g;g=u[++n];){var y=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntityType(this._oModel.getServiceMetadata(),o,g);this._oEntityTypeSet[y.getQName()]=y;var h=this._getEntitySetsOfType(o,y.getQName());if(h.length==0){throw\"Invalid consumption model: No entity set for entity type annotated with parameters semantics\"}if(h.length>1){throw\"Unsupported consumption model: More than one entity set for entity type annotated with parameters semantics\"}var m=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntitySet(this._oModel.getServiceMetadata(),o,h[0][0],h[0][1]);this._oEntitySetSet[m.getQName()]=m;this._oEntityTypeNameToEntitySetMap[y.getQName()]=m}const d={};for(n=-1,g;g=l[++n];){y=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntityType(this._oModel.getServiceMetadata(),o,g);this._oEntityTypeSet[y.getQName()]=y;h=this._getEntitySetsOfType(o,y.getQName());if(h.length==0){throw\"Invalid consumption model: No entity set for entity type annotated with parameters semantics\"}if(h.length>1){throw\"Unsupported consumption model: More than one entity set for entity type annotated with parameters semantics\"}m=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntitySet(this._oModel.getServiceMetadata(),o,h[0][0],h[0][1]);this._oEntitySetSet[m.getQName()]=m;this._oEntityTypeNameToEntitySetMap[y.getQName()]=m;var f=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Parameterization(y,m);this._oParameterizationSet[f.getName()]=f;d[y.getQName()]=f;const e=y.getQName();if(o.association!=undefined){var _;for(c=-1;_=o.association[++c];){if(_.referentialConstraint==undefined){continue}let t=null;if(_.end[0].type==e&&_.end[0].multiplicity==\"*\"&&_.end[1].multiplicity==\"1\"){t=_.end[1].type}else if(_.end[1].type==e&&_.end[1].multiplicity==\"*\"&&_.end[0].multiplicity==\"1\"){t=_.end[0].type}if(!t){continue}if(_.referentialConstraint.dependent.propertyRef.length!=1){continue}const i=f.findParameterByName(_.referentialConstraint.dependent.propertyRef[0].name);if(i==null){continue}const n=this._oEntityTypeSet[t];const o=this._oEntityTypeNameToEntitySetMap[t];i.setValueSetEntity(n,o)}}}let g;for(n=-1,g;g=a[++n];){y=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntityType(this._oModel.getServiceMetadata(),o,g);this._oEntityTypeSet[y.getQName()]=y;const e=y.getQName();f=null;let t=null;if(o.association!=undefined){for(c=-1,_;_=o.association[++c];){let i=null;if(_.end[0].type==e){i=_.end[1].type}else if(_.end[1].type==e){i=_.end[0].type}else{continue}let n=null;n=d[i];if(n!=null){if(f!=null){throw`RESTRICTION: Unable to handle multiple parameter entity types of query entity ${y.name}`}else{f=n;t=_}}}}h=this._getEntitySetsOfType(o,y.getQName());if(h.length!=1){throw\"Invalid consumption model: There must be exactly one entity set for an entity type annotated with aggregating semantics\"}m=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntitySet(this._oModel.getServiceMetadata(),o,h[0][0],h[0][1]);this._oEntitySetSet[m.getQName()]=m;this._oEntityTypeNameToEntitySetMap[y.getQName()]=m;const i=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.QueryResult(this,y,m,f);this._oQueryResultSet[i.getName()]=i;if(f){f.setTargetQueryResult(i,t)}}},oUI5ODataModelAnnotatableObject:{objectName:\"schema\",keyPropName:\"namespace\",extensions:true,aSubObject:[{objectName:\"entityType\",keyPropName:\"name\",extensions:true,aSubObject:[{objectName:\"property\",keyPropName:\"name\",aSubObject:[],extensions:true}]},{objectName:\"entityContainer\",keyPropName:\"name\",extensions:false,aSubObject:[{objectName:\"entitySet\",keyPropName:\"name\",extensions:true,aSubObject:[]}]}]},mergeV2Annotations:function(e){try{var t=JSON.parse(e)}catch(e){return}let i;try{i=this._oModel.getServiceMetadata().dataServices}catch(e){return}for(const e in t){if(!(this.oUI5ODataModelAnnotatableObject.objectName===e)){continue}if(!(t[e]instanceof Array)){continue}this.mergeV2AnnotationLevel(i[this.oUI5ODataModelAnnotatableObject.objectName],t[this.oUI5ODataModelAnnotatableObject.objectName],this.oUI5ODataModelAnnotatableObject);break}return},mergeV2AnnotationLevel:function(e,t,i){for(var n=-1,o;o=t[++n];){for(var r=-1,s;s=e[++r];){if(!(o[i.keyPropName]==s[i.keyPropName])){continue}if(o.extensions!=undefined){if(s.extensions==undefined){s.extensions=[]}for(var a=-1,l;l=o.extensions[++a];){let e=false;for(var u=-1,c;c=s.extensions[++u];){if(l.name==c.name&&l.namespace==c.namespace){c.value=l.value;e=true;break}}if(!e){s.extensions.push(l)}}}for(var p=-1,y;y=i.aSubObject[++p];){for(const e in o){if(!(y.objectName==e)){continue}if(!(o[y.objectName]instanceof Array)){continue}if(s[y.objectName]==undefined||!(s[y.objectName]instanceof Array)){continue}this.mergeV2AnnotationLevel(s[y.objectName],o[y.objectName],y);break}}}}return},findQueryResultByName:function(e){let t=this._oQueryResultSet[e];if(!t&&this._oDefaultEntityContainer){const i=`${this._oDefaultEntityContainer.name}.${e}`;t=this._oQueryResultSet[i]}return t},getAllQueryResultNames:function(){if(this._aQueryResultNames){return this._aQueryResultNames}this._aQueryResultNames=new Array(0);for(const e in this._oQueryResultSet){this._aQueryResultNames.push(this._oQueryResultSet[e].getName())}return this._aQueryResultNames},getAllQueryResults:function(){return this._oQueryResultSet},getODataModel:function(){return this._oModel},_getEntitySetsOfType:function(e,t){const i=[];for(var n=-1,o;o=e.entityContainer[++n];){for(var r=-1,s;s=o.entitySet[++r];){if(s.entityType==t){i.push([o,s])}}}return i},_oModel:null,_oDefaultEntityContainer:null,_aQueryResultNames:null,_oQueryResultSet:null,_oParameterizationSet:null,_oEntityTypeSet:null,_oEntitySetSet:null,_oEntityTypeNameToEntitySetMap:null,_oActivatedWorkarounds:null};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.QueryResult=function(e,t,i,n){this._init(e,t,i,n)};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.QueryResult.prototype={_init:function(e,t,i,n,o){this._oModel=e;this._oEntityType=t;this._oEntitySet=i;this._oParameterization=n;this._oDimensionSet={};this._oMeasureSet={};const r=t.getTypeDescription().property;const s={};for(var a=-1,l;l=r[++a];){if(l.extensions==undefined){continue}for(var u=-1,c;c=l.extensions[++u];){if(!c.namespace==sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants.SAP_NAMESPACE){continue}switch(c.name){case\"aggregation-role\":switch(c.value){case\"dimension\":var p=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Dimension(this,l);this._oDimensionSet[p.getName()]=p;break;case\"measure\":var y=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Measure(this,l);this._oMeasureSet[y.getName()]=y;break;case\"totaled-properties-list\":this._oTotaledPropertyListProperty=l;break}break;case\"attribute-for\":var h=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.DimensionAttribute(this,l);s[h.getKeyProperty()]=h;break}}}for(const e in s){h=s[e];h.getDimension().addAttribute(h)}if(e._oActivatedWorkarounds.IdentifyTextPropertiesByName){const e=[];for(const i in this._oDimensionSet){p=this._oDimensionSet[i];if(!p.getTextProperty()){let n=null;n=t.findPropertyByName(`${i}Name`);if(!n){n=t.findPropertyByName(`${i}Text`)}if(!n){n=t.findPropertyByName(`${i}Desc`)}if(!n){n=t.findPropertyByName(`${i}Description`)}if(n){p.setTextProperty(n);e.push(n.name)}}}let i;for(a=-1,i;i=e[++a];){delete this._oDimensionSet[i]}}},getName:function(){return this.getEntitySet().getQName()},getParameterization:function(){return this._oParameterization},getAllDimensionNames:function(){if(this._aDimensionNames){return this._aDimensionNames}this._aDimensionNames=[];for(const e in this._oDimensionSet){this._aDimensionNames.push(this._oDimensionSet[e].getName())}return this._aDimensionNames},getAllDimensions:function(){return this._oDimensionSet},getAllMeasureNames:function(){if(this._aMeasureNames){return this._aMeasureNames}this._aMeasureNames=[];for(const e in this._oMeasureSet){this._aMeasureNames.push(this._oMeasureSet[e].getName())}return this._aMeasureNames},getAllMeasures:function(){return this._oMeasureSet},findDimensionByName:function(e){return this._oDimensionSet[e]},getTotaledPropertiesListProperty:function(){return this._oTotaledPropertyListProperty},findMeasureByName:function(e){return this._oMeasureSet[e]},getModel:function(){return this._oModel},getEntityType:function(){return this._oEntityType},getEntitySet:function(){return this._oEntitySet},_oModel:null,_oEntityType:null,_oEntitySet:null,_oParameterization:null,_aDimensionNames:null,_oDimensionSet:null,_aMeasureNames:null,_oMeasureSet:null,_oTotaledPropertyListProperty:null};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Parameterization=function(e,t){this._init(e,t)};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Parameterization.prototype={_init:function(e,t){this._oEntityType=e;this._oEntitySet=t;this._oParameterSet={};const i=e.getTypeDescription().property;for(var n=-1,o;o=i[++n];){if(o.extensions==undefined){continue}for(var r=-1,s;s=o.extensions[++r];){if(!s.namespace==sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants.SAP_NAMESPACE){continue}switch(s.name){case\"parameter\":var a=new sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Parameter(this,o);this._oParameterSet[a.getName()]=a;break}}}},setTargetQueryResult:function(e,t){this._oQueryResult=e;const i=`${this._oEntityType.getSchema().namespace}.${t.name}`;const n=this._oEntityType.getTypeDescription().navigationProperty;if(!n){throw\"Invalid consumption model: Parameters entity type lacks navigation property for association to query result entity type\"}for(var o=-1,r;r=n[++o];){if(r.relationship==i){this._oNavPropToQueryResult=r.name}}if(!this._oNavPropToQueryResult){throw\"Invalid consumption model: Parameters entity type lacks navigation property for association to query result entity type\"}},getName:function(){return this.getEntitySet().getQName()},getAllParameterNames:function(){if(this._aParameterNames){return this._aParameterNames}this._aParameterNames=[];for(const e in this._oParameterSet){this._aParameterNames.push(this._oParameterSet[e].getName())}return this._aParameterNames},getAllParameters:function(){return this._oParameterSet},findParameterByName:function(e){return this._oParameterSet[e]},getNavigationPropertyToQueryResult:function(){return this._oNavPropToQueryResult},getEntityType:function(){return this._oEntityType},getEntitySet:function(){return this._oEntitySet},_oEntityType:null,_oEntitySet:null,_oQueryResult:null,_oNavPropToQueryResult:null,_aParameterNames:null,_oParameterSet:null};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Parameter=function(e,t){this._init(e,t)};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Parameter.prototype={_init:function(e,t){this._oParameterization=e;this._oProperty=t;const i=e.getEntityType();if(t.extensions!=undefined){for(var n=-1,o;o=t.extensions[++n];){if(!o.namespace==sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants.SAP_NAMESPACE){continue}switch(o.name){case\"parameter\":switch(o.value){case\"mandatory\":this._bRequired=true;break;case\"optional\":this._bRequired=false;break;default:throw\"Invalid annotation value for parameter property\"}break;case\"label\":this._sLabelText=o.value;break;case\"text\":this._oTextProperty=i.findPropertyByName(o.value);break;case\"upper-boundary\":this._bIntervalBoundaryParameter=true;this._oUpperIntervalBoundaryParameterProperty=i.findPropertyByName(o.value);break;case\"lower-boundary\":this._bIntervalBoundaryParameter=true;this._oLowerIntervalBoundaryParameterProperty=i.findPropertyByName(o.value);break}}}if(!this._sLabelText){this._sLabelText=\"\"}},setValueSetEntity:function(e,t){this._oValueSetEntityType=e;this._oValueSetEntitySet=t},getTextProperty:function(){return this._oTextProperty},getLabelText:function(){if(!this._sLabelText&&this._oQueryResult._oModel._oActivatedWorkarounds.CreateLabelsFromTechnicalNames){this._sLabelText=sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.helper.tokenizeNametoLabelText(this.getName())}return this._sLabelText},isOptional:function(){return!this._bRequired},isIntervalBoundary:function(){return this._bIntervalBoundaryParameter},isLowerIntervalBoundary:function(){return!!this._oUpperIntervalBoundaryParameterProperty},getPeerIntervalBoundaryParameter:function(){let e=null;if(this._oLowerIntervalBoundaryParameterProperty){e=this._oLowerIntervalBoundaryParameterProperty.name}else{e=this._oUpperIntervalBoundaryParameterProperty.name}if(!e){throw\"Parameter is not an interval boundary\"}return this._oParameterization.findParameterByName(e)},isValueSetAvailable:function(){return!!this._oValueSetEntityType},getName:function(){return this._oProperty.name},getProperty:function(){return this._oProperty},getContainingParameterization:function(){return this._oParameterization},getURIToValueEntitySet:function(e){let t=null;t=`${e||\"\"}/${this._oValueSetEntitySet.getQName()}`;return t},_oParameterization:null,_oProperty:null,_sLabelText:null,_oTextProperty:null,_bRequired:false,_bIntervalBoundaryParameter:false,_oLowerIntervalBoundaryParameterProperty:null,_oUpperIntervalBoundaryParameterProperty:null,_oValueSetEntityType:null,_oValueSetEntitySet:null};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Dimension=function(e,t){this._init(e,t)};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Dimension.prototype={_init:function(e,t){this._oQueryResult=e;this._oProperty=t;this._oAttributeSet={};if(t.extensions!=undefined){for(var i=-1,n;n=t.extensions[++i];){if(!n.namespace==sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants.SAP_NAMESPACE){continue}switch(n.name){case\"label\":this._sLabelText=n.value;break;case\"text\":this._oTextProperty=e.getEntityType().findPropertyByName(n.value);break;case\"super-ordinate\":this._sSuperOrdinatePropertyName=n.value;break}}}if(!this._sLabelText){this._sLabelText=\"\"}},getName:function(){return this._oProperty.name},getKeyProperty:function(){return this._oProperty},getTextProperty:function(){return this._oTextProperty},setTextProperty:function(e){this._oTextProperty=e},getLabelText:function(){if(!this._sLabelText&&this._oQueryResult._oModel._oActivatedWorkarounds.CreateLabelsFromTechnicalNames){this._sLabelText=sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.helper.tokenizeNametoLabelText(this.getName())}return this._sLabelText},getSuperOrdinateDimension:function(){if(!this._sSuperOrdinatePropertyName){return null}return this._oQueryResult.findDimensionByName(this._sSuperOrdinatePropertyName)},getHierarchy:function(){if(!this._oHierarchy){this._oHierarchy=this._oQueryResult.getEntityType().getHierarchy(this._oProperty.name)}return this._oHierarchy},getAllAttributeNames:function(){if(this._aAttributeNames){return this._aAttributeNames}this._aAttributeNames=[];for(const e in this._oAttributeSet){this._aAttributeNames.push(this._oAttributeSet[e].getName())}return this._aAttributeNames},getAllAttributes:function(){return this._oAttributeSet},findAttributeByName:function(e){return this._oAttributeSet[e]},addAttribute:function(e){this._oAttributeSet[e.getName()]=e},getContainingQueryResult:function(){return this._oQueryResult},_oQueryResult:null,_oProperty:null,_oTextProperty:null,_sLabelText:null,_sSuperOrdinatePropertyName:null,_aAttributeNames:null,_oAttributeSet:null,_oHierarchy:null};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.DimensionAttribute=function(e,t){this._init(e,t)};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.DimensionAttribute.prototype={_init:function(e,t){this._oQueryResult=e;this._oProperty=t;if(t.extensions!=undefined){for(var i=-1,n;n=t.extensions[++i];){if(!n.namespace==sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants.SAP_NAMESPACE){continue}switch(n.name){case\"attribute-for\":this._sDimensionName=n.value;break;case\"label\":this._sLabelText=n.value;break;case\"text\":this._oTextProperty=e.getEntityType().findPropertyByName(n.value);break}}}},getName:function(){return this._oProperty.name},getKeyProperty:function(){return this._oProperty},getTextProperty:function(){return this._oTextProperty},getLabelText:function(){return this._sLabelText},getDimension:function(){return this._oQueryResult.findDimensionByName(this._sDimensionName)},_oQueryResult:null,_oProperty:null,_oTextProperty:null,_sLabelText:null,_sDimensionName:null};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Measure=function(e,t){this._init(e,t)};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.Measure.prototype={_init:function(e,t){this._oQueryResult=e;this._oProperty=t;if(t.extensions!=undefined){for(var i=-1,n;n=t.extensions[++i];){if(!n.namespace==sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.constants.SAP_NAMESPACE){continue}switch(n.name){case\"label\":this._sLabelText=n.value;break;case\"text\":this._oTextProperty=e.getEntityType().findPropertyByName(n.value);break;case\"unit\":this._oUnitProperty=e.getEntityType().findPropertyByName(n.value);break}}}if(!this._sLabelText){this._sLabelText=\"\"}},getName:function(){return this._oProperty.name},getRawValueProperty:function(){return this._oProperty},getFormattedValueProperty:function(){return this._oTextProperty},getUnitProperty:function(){return this._oUnitProperty},getLabelText:function(){return this._sLabelText},_oQueryResult:null,_oProperty:null,_oTextProperty:null,_sLabelText:null,_oUnitProperty:null};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntitySet=function(e,t,i,n){this._init(e,t,i,n)};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntitySet.prototype={_init:function(e,t,i,n){this._oEntitySet=n;this._oContainer=i;this._oSchema=t;this._oModel=e;if(t.entityContainer.length>1){this._sQName=`${i.name}.${n.name}`}else{this._sQName=n.name}},getQName:function(){return this._sQName},getSetDescription:function(){return this._oEntitySet},getSchema:function(){return this._oSchema},getModel:function(){return this._oModel},_oEntitySet:null,_oContainer:null,_oSchema:null,_oModel:null,_sQName:null};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntityType=function(e,t,i){this._init(e,t,i)};sap.ushell.components.tiles.indicatorTileUtils.odata4analytics.EntityType.prototype={_init:function(e,t,i){this._oEntityType=i;this._oSchema=t;this._oModel=e;this._oPropertySet={};this._aFilterablePropertyNames=[];this._aSortablePropertyNames=[];this._aRequiredFilterPropertyNames=[];this._sQName=`${t.namespace}.${i.name}`;const n={};let o=null;for(var r=-1,s;s=i.property[++r];){this._aFilterablePropertyNames.push(s.na Copyright (C) 2009-2025, 2009-2025, 2013, 2013, 2009-2025, 2009-2025, 2013, 2009-2025, 2009-2025, 2009-2025, 2009-2025 SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorArea/AreaChartTile.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/suite/ui/microchart/AreaMicroChartItem\",\"sap/suite/ui/microchart/AreaMicroChartPoint\",\"sap/suite/ui/microchart/AreaMicroChartLabel\",\"sap/m/library\",\"sap/suite/ui/microchart/AreaMicroChart\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\"],(e,t,i,a,s,l,o,r,n,h)=>{\"use strict\";const u=o.LoadState;sap.ui.getCore().loadLibrary(\"sap.suite.ui.microchart\");sap.ui.jsview(\"sap.ushell.components.tiles.indicatorArea.AreaChartTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.indicatorArea.AreaChartTile\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");let e=\"Lorem ipsum\";let t=\"Lorem ipsum\";const i=o.Size;const c=sap.ushell.components.tiles.indicatorTileUtils.util.getTileTitleSubtitle(this.getViewData().chip);if(c.title&&c.subTitle){e=c.title;t=c.subTitle}function m(e){return new a({color:\"Good\",points:{path:`/${e}/data`,template:new s({x:\"{day}\",y:\"{balance}\"})}})}function p(e){return new l({label:`{/${e}/label}`,color:`{/${e}/color}`})}const d={subheader:t,header:e,footerNum:\"\",footerComp:\"\",scale:\"\",unit:\"\",value:8888,size:\"Auto\",frameType:\"OneByOne\",state:u.Loading};this.oNVConfContS=new r({width:\"{/width}\",height:\"{/height}\",size:i.Responsive,target:m(\"target\"),innerMinThreshold:m(\"innerMinThreshold\"),innerMaxThreshold:m(\"innerMaxThreshold\"),minThreshold:m(\"minThreshold\"),maxThreshold:m(\"maxThreshold\"),chart:m(\"chart\"),minXValue:\"{/minXValue}\",maxXValue:\"{/maxXValue}\",minYValue:\"{/minYValue}\",maxYValue:\"{/maxYValue}\",firstXLabel:p(\"firstXLabel\"),lastXLabel:p(\"lastXLabel\"),firstYLabel:p(\"firstYLabel\"),lastYLabel:p(\"lastYLabel\"),minLabel:p(\"minLabel\"),maxLabel:p(\"maxLabel\")});this.oNVConfS=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:this.oNVConfContS});this.oGenericTile=new n({subheader:\"{/subheader}\",frameType:\"{/frameType}\",size:\"{/size}\",header:\"{/header}\",tileContent:[this.oNVConfS]});const b=new h;b.setData(d);this.oGenericTile.setModel(b);return this.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDual/DualTile.controller\", [\"sap/m/MessageToast\",\"sap/m/library\",\"sap/ui/core/library\",\"sap/ui/core/format/DateFormat\",\"sap/ui/thirdparty/jquery\"],(e,i,t,l,jQuery)=>{\"use strict\";const a=i.DeviationIndicator;const o=i.ValueColor;const s=i.FrameType;const r=i.Size;const n=i.LoadState;const c=t.mvc.ViewType;sap.ui.controller(\"sap.ushell.components.tiles.indicatorDual.DualTile\",{getRelativeTime:function(){let e=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate();this.cacheTime=this.cacheTime instanceof Date?this.cacheTime:new Date(parseInt(this.cacheTime.substr(6),10));const i=sap.ushell.components.tiles.indicatorTileUtils.util.getTimeDifference(e-this.cacheTime);let t;let l;switch(i.unit){case\"minutes\":l=sap.ushell.components.tiles.indicatorTileUtils.util.getMillisecond(i.time,\"minutes\");e=e-l;t=new Date(e);break;case\"hours\":l=sap.ushell.components.tiles.indicatorTileUtils.util.getMillisecond(i.time,\"hours\");e=e-l;t=new Date(e);break;case\"days\":l=sap.ushell.components.tiles.indicatorTileUtils.util.getMillisecond(i.time,\"days\");e=e-l;t=new Date(e);break}return t},getTile:function(){return this.oKpiTileView.oGenericTile},setTimeStamp:function(){this.updateTimeStampjobScheduled=false;const e=l.getDateTimeInstance({relative:true,relativeSource:\"auto\"});const i=e.format(this.getRelativeTime());const t=this.getView().oGenericTile.getTileContent()[0];if(t){if(t.setRefreshOption){t.setRefreshOption(true)}if(t.setTimestamp){t.setTimestamp(i)}}this.updateTimeStampjobScheduled=false;const a=`${this.oConfig.TILE_PROPERTIES.id}time`;let o=sap.ushell.components.tiles.indicatorTileUtils.util.getScheduledJob(a);if(o){clearTimeout(o);o=undefined}sap.ushell.components.tiles.indicatorTileUtils.util.scheduleTimeStampJob.call(this,this.oTileApi.visible.isVisible())},getLocalCache:function(e){const i={};i.ChipId=e.ChipId;i.Data=e.Data;i.CacheMaxAge=e.CacheMaxAgeUnit;i.CacheMaxAgeUnit=e.CacheMaxAgeUnit;i.CacheType=e.CacheType;i.CachedTime=sap.ushell.components.tiles.indicatorTileUtils.util.getUTCDate();return i},refreshPress:function(){this.initProcess(true)},_getView:function(e,i,t){const l=this.oKpiTileView.getViewData();const a=sap.ui.view({type:c.JS,viewName:e,viewData:jQuery.extend(true,{},l,{parentController:this},{deferredObj:i},{refresh:t})});return a},logError:function(){this._updateTileModel({value:\"\",scale:\"\",unit:\"\"});if(this.getView().getViewData().deferredObj){this.getView().getViewData().deferredObj.reject()}},doProcess:function(e){sap.ushell.components.tiles.indicatorTileUtils.util.setUnsetCallInProgress(`${this.oKpiTileView.oConfig.TILE_PROPERTIES.id}defferedLeft`,this.deferred_left);sap.ushell.components.tiles.indicatorTileUtils.util.setUnsetCallInProgress(`${this.oKpiTileView.oConfig.TILE_PROPERTIES.id}defferedRight`,this.deferred_right);const i=this;this.getView().oGenericTile.removeAllTileContent();const t=this.getView().oGenericTile;this.system=this.oTileApi.url.getApplicationSystem();this.oKpiTileView.oGenericTile.setState(n.Loading);const l=i.tileType.split(\"-\")[1];try{let a;a=\"sap.ushell.components.tiles.indicatornumeric.NumericTile\";this.leftView=i._getView(a,this.deferred_left,e);this.leftView.getController().dataCallInProgress=false;t.addTileContent(this.leftView.oGenericTile.getTileContent()[0]);switch(l){case\"CM\":a=\"sap.ushell.components.tiles.indicatorcomparison.ComparisonTile\";this.rightView=i._getView(a,this.deferred_right,e);this.rightView.getController().dataCallInProgress=false;t.addTileContent(this.rightView.oGenericTile.getTileContent()[0]);break;case\"CT\":a=\"sap.ushell.components.tiles.indicatorcontribution.ContributionTile\";this.rightView=i._getView(a,this.deferred_right,e);this.rightView.getController().dataCallInProgress=false;t.addTileContent(this.rightView.oGenericTile.getTileContent()[0]);break;case\"AT\":a=\"sap.ushell.components.tiles.indicatordeviation.DeviationTile\";this.rightView=i._getView(a,this.deferred_right,e);this.rightView.getController().dataCallInProgress=false;t.addTileContent(this.rightView.oGenericTile.getTileContent()[0]);break;case\"TT\":a=\"sap.ushell.components.tiles.indicatorArea.AreaChartTile\";this.rightView=i._getView(a,this.deferred_right,e);this.rightView.getController().dataCallInProgress=false;t.addTileContent(this.rightView.oGenericTile.getTileContent()[0]);break}this.leftView.getController().onAfterTileRendering();this.rightView.getController().onAfterTileRendering();const o=this.getView().oGenericTile.getTileContent()[0];if(o&&o.attachRefresh){o.attachRefresh(this.refreshPress.bind(i))}}catch(e){this.logError(e)}},_updateTileModel:function(e){const i=this.getTile().getModel().getData();jQuery.extend(i,e);this.getTile().getModel().setData(i)},setTextInTile:function(){const e=this;const i=sap.ushell.components.tiles.indicatorTileUtils.util.getTileTitleSubtitle(this.oTileApi);this._updateTileModel({header:i.title||sap.ushell.components.tiles.indicatorTileUtils.util.getChipTitle(e.oConfig),subheader:i.subTitle||sap.ushell.components.tiles.indicatorTileUtils.util.getChipSubTitle(e.oConfig)})},doDummyProcess:function(){const e=this;try{e.setTextInTile();switch(e.tileType){case\"DT-CM\":e._updateTileModel({value:1,size:r.Auto,frameType:s.TwoByOne,state:n.Loading,valueColor:o.Good,indicator:a.None,title:\"Liquidity Structure\",footer:\"Current Quarter\",description:\"Apr 1st (B$)\",data:[{title:\"Measure 1\",value:1,color:\"Good\"},{title:\"Measure 2\",value:2,color:\"Good\"},{title:\"Measure 3\",value:3,color:\"Good\"}]});break;case\"DT-AT\":e._updateTileModel({valueColor:\"Good\",value:100,frameType:s.TwoByOne,unit:\"USD\",actual:{value:120,color:o.Good},targetValue:100,thresholds:[{value:0,color:o.Error},{value:50,color:o.Critical},{value:150,color:o.Critical},{value:200,color:o.Error}],showActualValue:true,showTargetValue:true});break;case\"DT-CT\":e._updateTileModel({value:8888,size:r.Auto,frameType:s.TwoByOne,state:n.Loading,valueColor:o.Error,indicator:a.None,title:\"US Profit Margin\",footer:\"Current Quarter\",description:\"Maximum deviation\",data:[{title:\"Americas\",value:10,color:\"Neutral\",displayValue:\"\"},{title:\"EMEA\",value:50,color:\"Neutral\",displayValue:\"\"},{title:\"APAC\",value:-20,color:\"Neutral\",displayValue:\"\"}]});break;case\"DT-TT\":this._updateTileModel({value:8888,size:r.Auto,frameType:s.TwoByOne,state:n.Loading,valueColor:o.Error,indicator:a.None,title:\"Liquidity Structure\",footer:\"Current Quarter\",description:\"Apr 1st (B$)\",width:\"100%\",height:\"100%\",chart:{color:\"Good\",data:[{day:0,balance:0},{day:30,balance:20},{day:60,balance:20},{day:100,balance:80}]},target:{color:\"Error\",data:[{day:0,balance:0},{day:30,balance:30},{day:60,balance:40},{day:100,balance:90}]},maxThreshold:{color:\"Good\",data:[{day:0,balance:0},{day:30,balance:40},{day:60,balance:50},{day:100,balance:100}]},innerMaxThreshold:{color:\"Error\",data:[]},innerMinThreshold:{color:\"Neutral\",data:[]},minThreshold:{color:\"Error\",data:[{day:0,balance:0},{day:30,balance:20},{day:60,balance:30},{day:100,balance:70}]},minXValue:0,maxXValue:100,minYValue:0,maxYValue:100,firstXLabel:{label:\"June 123\",color:\"Error\"},lastXLabel:{label:\"June 30\",color:\"Error\"},firstYLabel:{label:\"0M\",color:\"Good\"},lastYLabel:{label:\"80M\",color:\"Critical\"},minLabel:{},maxLabel:{}});break}}catch(e){}},visibleHandler:function(e){if(!e){if(this.leftView){this.leftView.getController().firstTimeVisible=false}if(this.rightView){this.rightView.getController().firstTimeVisible=false}sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.queryServiceUriODataReadRef);sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.trendChartODataReadRef);sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.comparisionChartODataRef)}if(e){if(this.leftView){this.leftView.getController().refreshHandler()}if(this.rightView){this.rightView.getController().refreshHandler()}}},initProcess:function(i){const t=this;this.oKpiTileView=this.getView();this.oResourceBundle=sap.ushell.components.tiles.utils.getResourceBundle();this.viewData={};t.viewData=this.oKpiTileView.getViewData();this.oTileApi=this.viewData.chip;if(this.oTileApi.visible){this.oTileApi.visible.attachVisible(this.visibleHandler.bind(this))}this.deferred_left=new jQuery.Deferred;this.deferred_right=new jQuery.Deferred;jQuery.when(this.deferred_left,this.deferred_right).done(()=>{t.setTextInTile();t.oConfig=t.oKpiTileView.oConfig;t.chipCacheTime=sap.ushell.components.tiles.indicatorTileUtils.util.getCachingTime(t.oConfig);t.chipCacheTimeUnit=sap.ushell.components.tiles.indicatorTileUtils.util.getCachingTimeUnit(t.oConfig);const e=t.leftView.getController().cacheWriteData;const i=t.rightView.getController().cacheWriteData;t.oKpiTileView.oGenericTile.setState(n.Loaded);const l=sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(t.oKpiTileView.oConfig,t.system);t.oKpiTileView.oGenericTile.$().wrap(`<a href ='${l}'></a>`);t.oKpiTileView.oGenericTile.attachPress(()=>{t.tilePressed=true;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(t.oKpiTileView.oConfig.TILE_PROPERTIES.id,null);window.location.hash=l});const a={};const o={};o.leftData=e;o.rightData=i;a.ChipId=t.oConfig.TILE_PROPERTIES.id;a.Data=JSON.stringify(o);a.CacheMaxAge=Number(t.chipCacheTime);a.CacheMaxAgeUnit=t.chipCacheTimeUnit;a.CacheType=1;const s=t.getLocalCache(a);if(o.leftData&&o.rightData){sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(t.oConfig.TILE_PROPERTIES.id,s)}const r=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(t.oConfig.TILE_PROPERTIES.id);if(t.chipCacheTime&&o.leftData&&o.rightData){sap.ushell.components.tiles.indicatorTileUtils.util.writeFrontendCacheByChipAndUserId(t.oTileApi,t.oConfig.TILE_PROPERTIES.id,a,false,e=>{if(e){sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(t.oConfig.TILE_PROPERTIES.id,e);t.cacheTime=e.CachedTime;t.setTimeStamp.call(t)}})}if(t.chipCacheTime){if(!t.cacheTime){t.cacheTime=r.CachedTime}t.setTimeStamp.call(t);sap.ushell.components.tiles.indicatorTileUtils.util.scheduleFetchDataJob.call(t,t.oTileApi.visible.isVisible())}}).fail(()=>{t.oKpiTileView.oGenericTile.setState(n.Failed)});t.tileType=t.oKpiTileView.oConfig.TILE_PROPERTIES.tileType;this.oTileApi=t.viewData.chip;if(this.oTileApi.preview.isEnabled()){this.doDummyProcess();t.oKpiTileView.oGenericTile.attachPress(()=>{e.show(t.oResourceBundle.getText(\"sb.NavigationHelp\"))})}else{this.doProcess(i)}},onAfterRendering:function(){this.initProcess()},setNoData:function(){try{this._updateTileModel({value:\"\",scale:\"\",unit:\"\",footerNum:this.oResourceBundle.getText(\"sb.noDataAvailable\"),footerComp:this.oResourceBundle.getText(\"sb.noDataAvailable\")});this.oKpiTileView.oGenericTile.setState(n.Loaded)}catch(e){}},getChipConfiguration:function(e){const i=this;try{sap.ushell.components.tiles.indicatorTileUtils.util.getParsedChip(i.oTileApi.configuration.getParameterValueAsString(\"tileConfiguration\"),i.oTileApi.preview.isEnabled(),t=>{i.oConfig=t;e.call()})}catch(e){i.logError(e.message)}}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDual/DualTile.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/ushell/components/tiles/sbtilecontent\",\"sap/m/NumericContent\",\"sap/suite/ui/microchart/ComparisonMicroChartData\",\"sap/suite/ui/microchart/ComparisonMicroChart\",\"sap/suite/ui/microchart/AreaMicroChartItem\",\"sap/suite/ui/microchart/AreaMicroChartPoint\",\"sap/suite/ui/microchart/AreaMicroChartLabel\",\"sap/suite/ui/microchart/AreaMicroChart\",\"sap/suite/ui/microchart/BulletMicroChartData\",\"sap/suite/ui/microchart/BulletMicroChart\",\"sap/m/library\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\"],(e,t,a,i,l,o,n,s,r,u,c,h,p,m,d,T)=>{\"use strict\";const C=m.Size;sap.ui.getCore().loadLibrary(\"sap.suite.ui.microchart\");sap.ui.jsview(\"sap.ushell.components.tiles.indicatorDual.DualTile\",{getControllerName:function(){return\"sap.ushell.components.tiles.indicatorDual.DualTile\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");const e=this;e.oGenericTileData={};sap.ushell.components.tiles.indicatorTileUtils.util.getParsedChip(e.getViewData().chip.configuration.getParameterValueAsString(\"tileConfiguration\"),e.getViewData().chip.preview.isEnabled(),t=>{e.oConfig=t});e.tileType=e.oConfig.TILE_PROPERTIES.tileType;e.oNumericContent=new l({value:\"{/value}\",scale:\"{/scale}\",unit:\"{/unit}\",indicator:\"{/indicator}\",size:\"{/size}\",formatterValue:\"{/isFormatterValue}\",truncateValueTo:5,valueColor:\"{/valueColor}\",nullifyValue:false});e.oLeftTileContent=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:e.oNumericContent});let t;switch(e.tileType){case\"DT-CM\":t=new o({title:\"{title}\",value:\"{value}\",color:\"{color}\",displayValue:\"{displayValue}\"});e.oComparisionContent=new n({size:\"{/size}\",scale:\"{/scale}\",data:{template:t,path:\"/data\"}});e.oRightContent=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:e.oComparisionContent});break;case\"DT-CT\":t=new o({title:\"{title}\",value:\"{value}\",color:\"{color}\",displayValue:\"{displayValue}\"});e.oContributionContent=new n({size:\"{/size}\",scale:\"{/scale}\",data:{template:t,path:\"/data\"}});e.oRightContent=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:e.oContributionContent});break;case\"DT-TT\":var a=function(e){return new s({color:\"Good\",points:{path:`/${e}/data`,template:new r({x:\"{day}\",y:\"{balance}\"})}})};var i=function(e){return new u({label:`{/${e}/label}`,color:`{/${e}/color}`})};var m=new c({width:\"{/width}\",height:\"{/height}\",size:\"{/size}\",target:a(\"target\"),innerMinThreshold:a(\"innerMinThreshold\"),innerMaxThreshold:a(\"innerMaxThreshold\"),minThreshold:a(\"minThreshold\"),maxThreshold:a(\"maxThreshold\"),chart:a(\"chart\"),minXValue:\"{/minXValue}\",maxXValue:\"{/maxXValue}\",minYValue:\"{/minYValue}\",maxYValue:\"{/maxYValue}\",firstXLabel:i(\"firstXLabel\"),lastXLabel:i(\"lastXLabel\"),firstYLabel:i(\"firstYLabel\"),lastYLabel:i(\"lastYLabel\"),minLabel:i(\"minLabel\"),maxLabel:i(\"maxLabel\")});e.oRightContent=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",content:m});break;case\"DT-AT\":var b=new h({value:\"{value}\",color:\"{color}\"});var w=new p({size:C.Auto,scale:\"{/scale}\",actual:{value:\"{/actual/value}\",color:\"{/actual/color}\"},targetValue:\"{/targetValue}\",actualValueLabel:\"{/actualValueLabel}\",targetValueLabel:\"{/targetValueLabel}\",thresholds:{template:b,path:\"/thresholds\"},state:\"{/state}\",showActualValue:\"{/showActualValue}\",showTargetValue:\"{/showTargetValue}\"});e.oRightContent=new sap.ushell.components.tiles.sbtilecontent({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:w});break}e.oGenericTile=new d({subheader:\"{/subheader}\",frameType:\"TwoByOne\",size:\"{/size}\",header:\"{/header}\",tileContent:[e.oLeftTileContent,e.oRightContent]});e.oGenericTileModel=new T;e.oGenericTileModel.setData(e.oGenericTileData);e.oGenericTile.setModel(e.oGenericTileModel);return e.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller\", [\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/m/library\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,i,jQuery,t)=>{\"use strict\";const l=i.Size;const o=i.DeviationIndicator;const s=i.ValueColor;const a=i.LoadState;sap.ui.controller(\"tiles.indicatorDualComparison.DualComparison\",{getTile:function(){return this.oDualComparisonView.oGenericTile},_updateTileModel:function(e){const i=this.getTile().getModel().getData();jQuery.extend(i,e);this.getTile().getModel().setData(i)},setTitle:function(){const e=this;const i=sap.ushell.components.tiles.indicatorTileUtils.util.getTileTitleSubtitle(this.oChip);this._updateTileModel({header:i.title||sap.ushell.components.tiles.indicatorTileUtils.util.getChipTitle(e.oConfig),subheader:i.subTitle||sap.ushell.components.tiles.indicatorTileUtils.util.getChipSubTitle(e.oConfig)})},logError:function(e){this.oDualComparisonView.oGenericTile.setState(a.Failed);this.oDualComparisonView.oGenericTile.setState(a.Failed);sap.ushell.components.tiles.indicatorTileUtils.util.logError(e)},formSelectStatement:function(e){const i=Object.keys(e);let t=\"\";for(let l=0;l<i.length;l++){if(e[i[l]]!==undefined&&e.fullyFormedMeasure){t+=`,${e[i[l]]}`}}return t},setThresholdValues:function(){const e=this;try{const i={};i.fullyFormedMeasure=this.DEFINITION_DATA.EVALUATION.COLUMN_NAME;if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){switch(this.DEFINITION_DATA.EVALUATION.GOAL_TYPE){case\"MI\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break;case\"MA\":i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break;case\"RA\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break}}else{i.criticalHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"FIXED\");i.criticalLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"FIXED\");i.warningHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"FIXED\");i.warningLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"FIXED\");i.targetValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"FIXED\");i.trendValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"FIXED\")}return i}catch(i){e.logError(i)}},getTrendColor:function(e){const i=this;let t;let l;let o;let a;try{const i=this.DEFINITION_DATA.EVALUATION.GOAL_TYPE;let n=s.Neutral;if(i===\"MI\"){if(e.criticalHighValue&&e.warningHighValue){t=Number(e.criticalHighValue);l=Number(e.warningHighValue);if(this.CALCULATED_KPI_VALUE<l){n=s.Good}else if(this.CALCULATED_KPI_VALUE<=t){n=s.Critical}else{n=s.Error}}}else if(i===\"MA\"){if(e.criticalLowValue&&e.warningLowValue){o=Number(e.criticalLowValue);a=Number(e.warningLowValue);if(this.CALCULATED_KPI_VALUE<o){n=s.Error}else if(this.CALCULATED_KPI_VALUE<=a){n=s.Critical}else{n=s.Good}}}else if(e.warningLowValue&&e.warningHighValue&&e.criticalLowValue&&e.criticalHighValue){t=Number(e.criticalHighValue);l=Number(e.warningHighValue);a=Number(e.warningLowValue);o=Number(e.criticalLowValue);if(this.CALCULATED_KPI_VALUE<o||this.CALCULATED_KPI_VALUE>t){n=s.Error}else if(this.CALCULATED_KPI_VALUE>=o&&this.CALCULATED_KPI_VALUE<=a||this.CALCULATED_KPI_VALUE>=l&&this.CALCULATED_KPI_VALUE<=t){n=s.Critical}else{n=s.Good}}return n}catch(e){i.logError(e)}},_processDataForComparisonChart:function(e,i,t){const l=[];const o={};let s;let a;let n;let r;let u=[];const c=this;for(s=0;s<e.results.length;s++){var E=e.results[s]}u=sap.ushell.components.tiles.indicatorTileUtils.util.getAllMeasuresWithLabelText(this.oConfig.EVALUATION.ODATA_URL,this.oConfig.EVALUATION.ODATA_ENTITYSET);for(s=0,n=u.length;s<n;s++){a=u[s];o[a.key]=a.value}const T=c.oConfig.TILE_PROPERTIES.COLUMN_NAMES||c.oConfig.EVALUATION.COLUMN_NAMES;for(s=0;s<T.length;s++){const e={};const i=T[s];e.value=Number(E[i.COLUMN_NAME]);let a=Number(E[i.COLUMN_NAME]);if(c.oConfig.EVALUATION.SCALING==-2){a*=100}r=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(a,c.oConfig.EVALUATION.SCALING,c.oConfig.EVALUATION.DECIMAL_PRECISION);if(c.oConfig.EVALUATION.SCALING==-2){r+=\" %\"}e.displayValue=r.toString();if(t[s]&&E[t[s].name]){e.displayValue+=` ${E[t[s].name]}`}e.color=i.semanticColor;e.title=o[i.COLUMN_NAME]||i.COLUMN_NAME;l.push(e)}return l},getTrendIndicator:function(e,i){const t=this;e=Number(e);try{let t=o.None;if(e>i){t=o.Down}else if(e<i){t=o.Up}return t}catch(e){t.logError(e)}},fetchKpiValue:function(e,i){const l=this;try{const s=this.oConfig.EVALUATION.ODATA_URL;const a=this.oConfig.EVALUATION.ODATA_ENTITYSET;let n;if(this.oConfig.TILE_PROPERTIES.semanticMeasure){n=`${this.oConfig.EVALUATION.COLUMN_NAME},${this.oConfig.TILE_PROPERTIES.semanticMeasure}`}else{n=this.oConfig.EVALUATION.COLUMN_NAME;var o=n;if(this.oConfig.TILE_PROPERTIES.COLUMN_NAMES){for(let e=0;e<this.oConfig.TILE_PROPERTIES.COLUMN_NAMES.length;e++){if(this.oConfig.TILE_PROPERTIES.COLUMN_NAMES[e].COLUMN_NAME!=this.oConfig.EVALUATION.COLUMN_NAME){o=`${o},${this.oConfig.TILE_PROPERTIES.COLUMN_NAMES[e].COLUMN_NAME}`}}}}const r=this.oConfig.EVALUATION_VALUES;const u=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(l.oConfig.TILE_PROPERTIES.id);if(!u){const r=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(this.oConfig.EVALUATION_FILTERS,this.oConfig.ADDITIONAL_FILTERS);const u={};u[\"0\"]=`${n},asc`;u[\"1\"]=`${n},desc`;const c=u[this.oConfig.TILE_PROPERTIES.sortOrder||\"0\"].split(\",\");const E=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(l.oChip.url.addSystemToServiceUrl(s),a,o,null,r,3);if(this.oConfig.TILE_PROPERTIES.semanticMeasure){E.uri+=`&$orderby=${c[0]} ${c[2]}`}else{E.uri+=`&$orderby=${c[0]} ${c[1]}`}this.writeData={};this.comparisionChartODataRef=E.model.read(E.uri,null,null,true,t=>{if(t&&t.results&&t.results.length){if(E.unit){l.writeData.unit=E.unit}l.oConfig.TILE_PROPERTIES.FINALVALUE=t;l.oConfig.TILE_PROPERTIES.FINALVALUE=l._processDataForComparisonChart(l.oConfig.TILE_PROPERTIES.FINALVALUE,o.split(\",\")[0],E.unit);l.writeData.data=t;let i;for(let e=0;e<l.oConfig.TILE_PROPERTIES.FINALVALUE.length;e++){if(l.oConfig.TILE_PROPERTIES.FINALVALUE[e].title==l.DEFINITION_DATA.EVALUATION.COLUMN_NAME){l.writeData.numericData=l.oConfig.TILE_PROPERTIES.FINALVALUE[e];calculatedValueforScaling=l.oConfig.TILE_PROPERTIES.FINALVALUE[e].value;l.getTrendIndicator(l.setThresholdValues().trendValue,calculatedValueforScaling);l._updateTileModel({valueColor:l.oConfig.TILE_PROPERTIES.FINALVALUE[e].color,value:sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(i),l.oConfig.EVALUATION.SCALING,l.oConfig.EVALUATION.DECIMAL_PRECISION).toString()});break}}sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(l.oConfig.TILE_PROPERTIES.id,l.writeData);e.call(l,l.oConfig.TILE_PROPERTIES.FINALVALUE)}else if(t.results.length==0){l.oConfig.TILE_PROPERTIES.FINALVALUE=t;l.writeData.data=t;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(l.oConfig.TILE_PROPERTIES.id,l.writeData);e.call(l,l.oConfig.TILE_PROPERTIES.FINALVALUE)}else{i.call(l,\"no Response from QueryServiceUri\")}},e=>{if(e&&e.response){t.error(`${e.message} : ${e.request.requestUri}`);i.call(l,e)}});if(!l.writeData.numericData){const e=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(l.DEFINITION_DATA.EVALUATION_FILTERS,l.DEFINITION_DATA.ADDITIONAL_FILTERS);const t=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(l.oChip.url.addSystemToServiceUrl(s),a,n,null,e);if(t){l.QUERY_SERVICE_MODEL=t.model;l.queryUriForKpiValue=t.uri;l.numericODataReadRef=l.QUERY_SERVICE_MODEL.read(t.uri,null,null,true,e=>{if(e&&e.results&&e.results.length){if(t.unit){l._updateTileModel({unitNumeric:e.results[0][t.unit.name]});l.writeData.unitNumeric=t.unit;l.writeData.unitNumeric.name=t.unit.name}l.writeData.numericData=e.results[0];l.DEFINITION_DATA.value=l.writeData.numericData[l.DEFINITION_DATA.EVALUATION.COLUMN_NAME];l.writeData.numericData.color=l.getTrendColor(l.setThresholdValues());l.DEFINITION_DATA.valueColor=l.writeData.numericData.color;let i=\"\";let o=e.results[0][l.DEFINITION_DATA.EVALUATION.COLUMN_NAME];const s=l.getTrendIndicator(l.setThresholdValues().trendValue,o);if(l.oConfig.EVALUATION.SCALING==-2){o*=100;l.getView().oNumericContent.setFormatterValue(false)}i=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(o),l.oConfig.EVALUATION.SCALING,l.oConfig.EVALUATION.DECIMAL_PRECISION);if(l.oConfig.EVALUATION.SCALING==-2){l._updateTileModel({scale:\"%\"})}l._updateTileModel({value:i.toString(),valueColor:l.writeData.numericData.color,indicator:s})}else{i.call(l,\"no Response from QueryServiceUri\")}})}}}else{if(u.unit){l._updateTileModel({unit:u.data.results[0][u.unit.name]})}if(u.data&&u.data.results&&u.data.results.length){l.oConfig.TILE_PROPERTIES.FINALVALUE=u.data;l._updateTileModel({value:u.data.results[0][l.DEFINITION_DATA.EVALUATION.COLUMN_NAME]});l.oConfig.TILE_PROPERTIES.FINALVALUE=l._processDataForComparisonChart(l.oConfig.TILE_PROPERTIES.FINALVALUE,o,l.writeData.unit);e.call(l,l.oConfig.TILE_PROPERTIES.FINALVALUE)}else if(r.results.length==0){l.oConfig.TILE_PROPERTIES.FINALVALUE=u.data;e.call(l,l.oConfig.TILE_PROPERTIES.FINALVALUE)}else{i.call(l,\"no Response from QueryServiceUri\")}}}catch(e){i.call(l,e)}},flowWithoutDesignTimeCall:function(){const e=this;this.DEFINITION_DATA=this.oConfig;this._updateTileModel(this.DEFINITION_DATA);if(this.oChip.visible.isVisible()&&!this.firstTimeVisible){this.firstTimeVisible=true;this.fetchKpiValue(function(i){this.CALCULATED_KPI_VALUE=i;e.oDualComparisonView.oGenericTile.setFrameType(\"TwoByOne\");e.oDualComparisonView.oGenericTile.removeAllTileContent();e.oDualComparisonView.oGenericTile.addTileContent(e.oDualComparisonView.oNumericTile);e.oDualComparisonView.oGenericTile.addTileContent(e.oDualComparisonView.oComparisonTile);const t=this.CALCULATED_KPI_VALUE;let l;let o;for(let i=0;i<t.length;i++){if(t[i].title==e.DEFINITION_DATA.EVALUATION.COLUMN_NAME){o=t[i].value;l=t[i].color||\"Neutral\";e._updateTileModel({value:sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(o),e.oConfig.EVALUATION.SCALING,e.oConfig.EVALUATION.DECIMAL_PRECISION).toString(),valueColor:l});break}}if(!l&&!o){l=e.DEFINITION_DATA.valueColor;o=e.DEFINITION_DATA.value}this._updateTileModel({value:sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(o),e.oConfig.EVALUATION.SCALING,e.oConfig.EVALUATION.DECIMAL_PRECISION).toString(),data:this.CALCULATED_KPI_VALUE});const s=sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system);e.oDualComparisonView.oGenericTile.$().wrap(`<a href ='${s}'></a>`);this.oDualComparisonView.oGenericTile.setState(a.Loaded);let n=\"\";if(l==\"Error\"){n=\"sb.error\"}if(l==\"Neutral\"){n=\"sb.neutral\"}if(l==\"Critical\"){n=\"sb.critical\"}if(l==\"Good\"){n=\"sb.good\"}const r=e.setThresholdValues();let u;let c;let E;let T;let A;let C;let L;let I;let h;if(this.CALCULATED_KPI_VALUE&&this.CALCULATED_KPI_VALUE[0]){u=this.CALCULATED_KPI_VALUE[0].title;T=this.CALCULATED_KPI_VALUE[0].value;L=sap.ushell.components.tiles.indicatorTileUtils.util.getSemanticColorName(this.CALCULATED_KPI_VALUE[0].color)}if(this.CALCULATED_KPI_VALUE&&this.CALCULATED_KPI_VALUE[1]){c=this.CALCULATED_KPI_VALUE[1].title;A=this.CALCULATED_KPI_VALUE[1].value;I=sap.ushell.components.tiles.indicatorTileUtils.util.getSemanticColorName(this.CALCULATED_KPI_VALUE[1].color)}if(this.CALCULATED_KPI_VALUE&&this.CALCULATED_KPI_VALUE[2]){E=this.CALCULATED_KPI_VALUE[2].title;C=this.CALCULATED_KPI_VALUE[2].value;h=sap.ushell.components.tiles.indicatorTileUtils.util.getSemanticColorName(this.CALCULATED_KPI_VALUE[2].color)}const g={status:n,actual:o,target:r.targetValue,cH:r.criticalHighValue,wH:r.warningHighValue,wL:r.warningLowValue,cL:r.criticalLowValue};const f={m1:u,v1:T,c1:L,m2:c,v2:A,c2:I,m3:E,v3:C,c3:h};const U=e.oDualComparisonView.oGenericTile.getTileContent()[0].getContent();const p=e.oDualComparisonView.oGenericTile.getTileContent()[1].getContent();sap.ushell.components.tiles.indicatorTileUtils.util.setTooltipInTile(U,\"NT\",g);sap.ushell.components.tiles.indicatorTileUtils.util.setTooltipInTile(p,\"COMP\",f)},this.logError)}},flowWithDesignTimeCall:function(){const e=this;try{const i=sap.ushell.components.tiles.indicatorTileUtils.cache.getEvaluationById(this.oConfig.EVALUATION.ID);if(i){e.oConfig.EVALUATION_FILTERS=i.EVALUATION_FILTERS;e.flowWithoutDesignTimeCall()}else{sap.ushell.components.tiles.indicatorTileUtils.util.getFilterFromRunTimeService(this.oConfig,i=>{e.oConfig.EVALUATION_FILTERS=i;sap.ushell.components.tiles.indicatorTileUtils.cache.setEvaluationById(e.oConfig.TILE_PROPERTIES.id,e.oConfig);e.flowWithoutDesignTimeCall()})}}catch(e){this.logError(e)}},refreshHandler:function(e){if(!e.firstTimeVisible){if(Number(this.oChip.configuration.getParameterValueAsString(\"isSufficient\"))){e.flowWithoutDesignTimeCall()}else{e.flowWithDesignTimeCall()}}},visibleHandler:function(e){if(!e){this.firstTimeVisible=false;sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.comparisionChartODataRef)}if(e){this.refreshHandler(this)}},onInit:function(){const e=this;this.firstTimeVisible=false;this.oDualComparisonView=this.getView();this.oChip=this.oDualComparisonView.getViewData().chip;if(this.oChip.visible){this.oChip.visible.attachVisible(this.visibleHandler.bind(this))}this.system=this.oChip.url.getApplicationSystem();this.oDualComparisonView.oGenericTile.setState(a.Loading);try{sap.ushell.components.tiles.indicatorTileUtils.util.getParsedChip(this.oChip.configuration.getParameterValueAsString(\"tileConfiguration\"),this.oChip.preview.isEnabled(),i=>{e.oConfig=i;if(e.oChip.preview){e.oChip.preview.setTargetUrl(sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system))}if(e.oChip.preview.isEnabled()){e.setTitle();e._updateTileModel({value:1,size:l.Auto,frameType:\"TwoByOne\",state:a.Loading,valueColor:s.Good,indicator:o.None,title:\"Liquidity Structure\",footer:\"Current Quarter\",description:\"Apr 1st (B$)\",data:[{title:\"Measure 1\",value:1,color:\"Good\"},{title:\"Measure 2\",value:2,color:\"Good\"},{title:\"Measure 3\",value:3,color:\"Good\"}]});e.oDualComparisonView.oGenericTile.setState(a.Loaded)}else{e.setTitle();e.oDualComparisonView.oGenericTile.attachPress(()=>{sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(e.comparisionChartODataRef);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(e.oConfig.TILE_PROPERTIES.id,null);window.location.hash=sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system)});if(Number(e.oChip.configuration.getParameterValueAsString(\"isSufficient\"))){sap.ushell.components.tiles.indicatorTileUtils.cache.setEvaluationById(e.oConfig.TILE_PROPERTIES.id,e.oConfig);e.flowWithoutDesignTimeCall()}else{e.flowWithDesignTimeCall()}}})}catch(e){this.logError(e)}},onExit:function(){sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.comparisionChartODataRef)}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDualComparison/DualComparison.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ca/ui/model/format/NumberFormat\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/m/NumericContent\",\"sap/m/TileContent\",\"sap/suite/ui/microchart/ComparisonMicroChartData\",\"sap/suite/ui/microchart/ComparisonMicroChart\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\"],(e,i,t,o,a,r,s,l,n,u)=>{\"use strict\";sap.ui.getCore().loadLibrary(\"sap.suite.ui.microchart\");sap.ui.jsview(\"tiles.indicatorDualComparison.DualComparison\",{getControllerName:function(){return\"tiles.indicatorDualComparison.DualComparison\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");const e=this;e.oGenericTileData={};e.oNumericContent=new a({value:\"{/value}\",scale:\"{/scale}\",unit:\"{/unit}\",indicator:\"{/indicator}\",size:\"{/size}\",formatterValue:true,truncateValueTo:6,valueColor:\"{/valueColor}\"});e.oNumericTile=new r({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerNum}\",content:e.oNumericContent});e.oCmprsDataTmpl=new s({title:\"{title}\",value:\"{value}\",color:\"{color}\",displayValue:\"{displayValue}\"});e.oCmprsChrtTmpl=new l({size:\"{/size}\",scale:\"{/scale}\",data:{template:e.oCmprsDataTmpl,path:\"/data\"}});e.oComparisonTile=new r({unit:\"{/unit}\",size:\"{/size}\",footer:\"{/footerComp}\",content:e.oCmprsChrtTmpl});e.oGenericTile=new n({subheader:\"{/subheader}\",frameType:\"{/frameType}\",size:\"{/size}\",header:\"{/header}\",tileContent:[e.oNumericTile,e.oComparisonTile]});e.oGenericTileModel=new u;e.oGenericTileModel.setData(e.oGenericTileData);e.oGenericTile.setModel(e.oGenericTileModel);return e.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller\", [\"sap/m/library\",\"sap/ui/thirdparty/jquery\",\"sap/base/Log\"],(e,jQuery,i)=>{\"use strict\";const t=e.ValueColor;const l=e.Size;const o=e.DeviationIndicator;const s=e.LoadState;sap.ui.controller(\"tiles.indicatorDualContribution.DualContribution\",{getTile:function(){return this.oDualContributionView.oGenericTile},_updateTileModel:function(e){const i=this.getTile().getModel().getData();jQuery.extend(i,e);this.getTile().getModel().setData(i);this.getTile().getModel().updateBindings()},setTitle:function(){const e=this;const i=sap.ushell.components.tiles.indicatorTileUtils.util.getTileTitleSubtitle(this.oChip);this._updateTileModel({header:i.title||sap.ushell.components.tiles.indicatorTileUtils.util.getChipTitle(e.oConfig),subheader:i.subTitle||sap.ushell.components.tiles.indicatorTileUtils.util.getChipSubTitle(e.oConfig)})},formSelectStatement:function(e){const i=Object.keys(e);let t=\"\";for(let l=0;l<i.length;l++){if(e[i[l]]!==undefined&&e.fullyFormedMeasure){t+=`,${e[i[l]]}`}}return t},logError:function(e){this.oDualContributionView.oGenericTile.setState(s.Failed);this.oDualContributionView.oGenericTile.setState(s.Failed);sap.ushell.components.tiles.indicatorTileUtils.util.logError(e)},setThresholdValues:function(){const e=this;try{const i={};i.fullyFormedMeasure=this.DEFINITION_DATA.EVALUATION.COLUMN_NAME;if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){switch(this.DEFINITION_DATA.EVALUATION.GOAL_TYPE){case\"MI\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break;case\"MA\":i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break;case\"RA\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break}}else{i.criticalHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"FIXED\");i.criticalLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"FIXED\");i.warningHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"FIXED\");i.warningLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"FIXED\");i.targetValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"FIXED\");i.trendValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"FIXED\")}return i}catch(i){e.logError(i)}},getTrendIndicator:function(e,i){const t=this;e=Number(e);try{let t=o.None;if(e>i){t=o.Down}else if(e<i){t=o.Up}return t}catch(e){t.logError(e)}},_processDataForComparisonChart:function(e,i,t){const l=this.oConfig.TILE_PROPERTIES.semanticMeasure;const o=[];let s;for(let n=0;n<e.results.length;n++){const a=e.results[n];const r={};try{r.title=a[t].toString()}catch(e){r.title=\"\"}r.value=Number(a[i]);let u=Number(a[i]);if(this.oConfig.EVALUATION.SCALING==-2){u*=100}s=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(u,this.oConfig.EVALUATION.SCALING,this.oConfig.EVALUATION.DECIMAL_PRECISION);r.displayValue=s.toString();if(typeof l===\"undefined\"){r.color=\"Neutral\"}else if(this.oConfig.EVALUATION.GOAL_TYPE===\"MA\"){if(r.value>a[l]){r.color=\"Good\"}else{r.color=\"Error\"}}else if(this.oConfig.EVALUATION.GOAL_TYPE===\"MI\"){if(r.value<a[l]){r.color=\"Good\"}else{r.color=\"Error\"}}else{r.color=\"Neutral\"}o.push(r)}return o},fetchKpiValue:function(e,t){const l=this;try{const o=this.oConfig.EVALUATION.ODATA_URL;const s=this.oConfig.EVALUATION.ODATA_ENTITYSET;let n;if(this.oConfig.TILE_PROPERTIES.semanticMeasure){n=`${this.oConfig.EVALUATION.COLUMN_NAME},${this.oConfig.TILE_PROPERTIES.semanticMeasure}`}else{n=this.oConfig.EVALUATION.COLUMN_NAME}let a=this.oConfig.TILE_PROPERTIES.dimension;const r=this.oConfig.EVALUATION_VALUES;const u=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(l.oConfig.TILE_PROPERTIES.id);if(!u){const r=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(this.oConfig.EVALUATION_FILTERS,this.oConfig.ADDITIONAL_FILTERS);const u={};u[\"0\"]=`${n},asc`;u[\"1\"]=`${n},desc`;u[\"2\"]=`${a},asc`;u[\"3\"]=`${a},desc`;const c=u[this.oConfig.TILE_PROPERTIES.sortOrder||\"0\"].split(\",\");const T=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(l.oChip.url.addSystemToServiceUrl(o),s,n,a,r,3);if(this.oConfig.TILE_PROPERTIES.semanticMeasure){T.uri+=`&$top=3&$orderby=${c[0]} ${c[2]}`}else{T.uri+=`&$top=3&$orderby=${c[0]} ${c[1]}`}this.comparisionChartODataRef=T.model.read(T.uri,null,null,true,i=>{if(T.unit[0]){l._updateTileModel({unitContribution:i.results[0][T.unit[0].name]});l.writeData.unitContribution=T.unit[0];l.writeData.unitContribution.name=T.unit[0].name}if(i&&i.results&&i.results.length){a=sap.ushell.components.tiles.indicatorTileUtils.util.findTextPropertyForDimension(l.oChip.url.addSystemToServiceUrl(o),s,a);l.writeData.dimension=a;l.oConfig.TILE_PROPERTIES.FINALVALUE=i;l.oConfig.TILE_PROPERTIES.FINALVALUE=l._processDataForComparisonChart(l.oConfig.TILE_PROPERTIES.FINALVALUE,n.split(\",\")[0],a);l.writeData.data=i;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(l.oConfig.TILE_PROPERTIES.id,l.writeData);e.call(l,l.oConfig.TILE_PROPERTIES.FINALVALUE)}else if(i.results.length==0){l.oConfig.TILE_PROPERTIES.FINALVALUE=i;l.writeData.data=i;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(l.oConfig.TILE_PROPERTIES.id,l.writeData)}else{t.call(l,\"no Response from QueryServiceUri\")}},e=>{if(e&&e.response){i.error(`${e.message} : ${e.request.requestUri}`);t.call(l,e)}});const E=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(l.DEFINITION_DATA.EVALUATION_FILTERS,l.DEFINITION_DATA.ADDITIONAL_FILTERS);const C=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(l.oChip.url.addSystemToServiceUrl(o),s,n,null,E);if(C){l.QUERY_SERVICE_MODEL=C.model;l.queryUriForKpiValue=C.uri;l.numericODataReadRef=l.QUERY_SERVICE_MODEL.read(C.uri,null,null,true,i=>{if(i&&i.results&&i.results.length){if(C.unit){l._updateTileModel({unitNumeric:i.results[0][C.unit.name]});l.writeData.unitNumeric=C.unit;l.writeData.unitNumeric.name=C.unit.name}l.writeData.numericData=i;let t=\"\";let o=i.results[0][l.DEFINITION_DATA.EVALUATION.COLUMN_NAME];const s=l.getTrendIndicator(l.setThresholdValues().trendValue,o);if(l.oConfig.EVALUATION.SCALING==-2){o*=100;l.getView().oNumericContent.setFormatterValue(false)}l.DEFINITION_DATA.value=o;t=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(o),l.oConfig.EVALUATION.SCALING,l.oConfig.EVALUATION.DECIMAL_PRECISION);if(l.oConfig.EVALUATION.SCALING==-2){l._updateTileModel({scale:\"%\"})}l._updateTileModel({value:t.toString(),valueColor:l.DEFINITION_DATA.TILE_PROPERTIES.semanticColorContribution,indicator:s});e.call(l,l.oConfig.TILE_PROPERTIES.FINALVALUE,o)}else{t.call(l,\"no Response from QueryServiceUri\")}})}}else{const i=l.setThresholdValues();let o;if(u.unitContribution){l._updateTileModel({unitContribution:u.data.results[0][u.unitContribution.name]})}if(u.unitNumeric){l._updateTileModel({unitNumeric:u.numericData.results[0][u.unitNumeric.name]})}if(u.data&&u.data.results&&u.data.results.length){a=u.dimension;l.oConfig.TILE_PROPERTIES.FINALVALUE=u.data;l.oConfig.TILE_PROPERTIES.FINALVALUE=l._processDataForComparisonChart(l.oConfig.TILE_PROPERTIES.FINALVALUE,n.split(\",\")[0],a);e.call(l,l.oConfig.TILE_PROPERTIES.FINALVALUE)}else if(r.results.length==0){l.oConfig.TILE_PROPERTIES.FINALVALUE=u.data}else{t.call(l,\"no Response from QueryServiceUri\")}if(u.numericData&&u.numericData.results&&u.numericData.results.length){o=u.numericData.results[0][l.DEFINITION_DATA.EVALUATION.COLUMN_NAME];if(l.oConfig.EVALUATION.SCALING==-2){o*=100;l.getView().oNumericContent.setFormatterValue(false)}const t=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(o),l.oConfig.EVALUATION.SCALING,l.oConfig.EVALUATION.DECIMAL_PRECISION);if(l.oConfig.EVALUATION.SCALING==-2){l._updateTileModel({scale:\"%\"})}const s=l.getTrendIndicator(i.trendValue,o);l._updateTileModel({value:t.toString(),indicator:s,valueColor:l.DEFINITION_DATA.TILE_PROPERTIES.semanticColorContribution});e.call(l,l.oConfig.TILE_PROPERTIES.FINALVALUE,o)}else{t.call(l,\"no Response from QueryServiceUri\")}}}catch(e){t.call(l,e)}},flowWithoutDesignTimeCall:function(){const e=this;this.DEFINITION_DATA=this.oConfig;this._updateTileModel(this.DEFINITION_DATA);if(this.oChip.visible.isVisible()&&!this.firstTimeVisible){this.firstTimeVisible=true;this.fetchKpiValue(function(i,t){this.CALCULATED_KPI_VALUE=i;if(e.oConfig.TILE_PROPERTIES.frameType==\"TwoByOne\"){e.oDualContributionView.oGenericTile.setFrameType(\"TwoByOne\");e.oDualContributionView.oGenericTile.removeAllTileContent();e.oDualContributionView.oGenericTile.addTileContent(e.oDualContributionView.oNumericTile);e.oDualContributionView.oGenericTile.addTileContent(e.oDualContributionView.oComparisonTile)}else{e.oDualContributionView.oGenericTile.setFrameType(\"OneByOne\");e.oDualContributionView.oGenericTile.removeAllTileContent();e.oDualContributionView.oGenericTile.addTileContent(e.oDualContributionView.oComparisonTile)}const l=this.CALCULATED_KPI_VALUE;const o=this.DEFINITION_DATA.TILE_PROPERTIES.semanticColorContribution;for(let e=0;e<this.CALCULATED_KPI_VALUE.length;e++){l[e].color=o}this._updateTileModel({data:l});let n=e.setThresholdValues();const a=sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system);e.oDualContributionView.oGenericTile.$().wrap(`<a href ='${a}'></a>`);this.oDualContributionView.oGenericTile.setState(s.Loaded);let r=\"\";if(o==\"Error\"){r=\"sb.error\"}if(o==\"Neutral\"){r=\"sb.neutral\"}if(o==\"Critical\"){r=\"sb.critical\"}if(o==\"Good\"){r=\"sb.good\"}n=e.setThresholdValues();let u;let c;let T;let E;let C;let h;let A;let g;let I;if(this.CALCULATED_KPI_VALUE&&this.CALCULATED_KPI_VALUE[0]){u=this.CALCULATED_KPI_VALUE[0].title;E=this.CALCULATED_KPI_VALUE[0].value;A=sap.ushell.components.tiles.indicatorTileUtils.util.getSemanticColorName(this.CALCULATED_KPI_VALUE[0].color)}if(this.CALCULATED_KPI_VALUE&&this.CALCULATED_KPI_VALUE[1]){c=this.CALCULATED_KPI_VALUE[1].title;C=this.CALCULATED_KPI_VALUE[1].value;g=sap.ushell.components.tiles.indicatorTileUtils.util.getSemanticColorName(this.CALCULATED_KPI_VALUE[1].color)}if(this.CALCULATED_KPI_VALUE&&this.CALCULATED_KPI_VALUE[2]){T=this.CALCULATED_KPI_VALUE[2].title;h=this.CALCULATED_KPI_VALUE[2].value;I=sap.ushell.components.tiles.indicatorTileUtils.util.getSemanticColorName(this.CALCULATED_KPI_VALUE[2].color)}const p={status:r,actual:t,target:n.targetValue,cH:n.criticalHighValue,wH:n.warningHighValue,wL:n.warningLowValue,cL:n.criticalLowValue};const d={m1:u,v1:E,c1:A,m2:c,v2:C,c2:g,m3:T,v3:h,c3:I};const f=e.oDualContributionView.oGenericTile.getTileContent()[0].getContent();const m=e.oDualContributionView.oGenericTile.getTileContent()[1].getContent();sap.ushell.components.tiles.indicatorTileUtils.util.setTooltipInTile(f,\"NT\",p);sap.ushell.components.tiles.indicatorTileUtils.util.setTooltipInTile(m,\"CONT\",d)},this.logError)}},flowWithDesignTimeCall:function(){const e=this;try{const i=sap.ushell.components.tiles.indicatorTileUtils.cache.getEvaluationById(this.oConfig.EVALUATION.ID);if(i){e.oConfig.EVALUATION_FILTERS=i.EVALUATION_FILTERS;e.flowWithoutDesignTimeCall()}else{sap.ushell.components.tiles.indicatorTileUtils.util.getFilterFromRunTimeService(this.oConfig,i=>{e.oConfig.EVALUATION_FILTERS=i;sap.ushell.components.tiles.indicatorTileUtils.cache.setEvaluationById(e.oConfig.TILE_PROPERTIES.id,e.oConfig);e.flowWithoutDesignTimeCall()})}}catch(e){this.logError(e)}},refreshHandler:function(e){if(!e.firstTimeVisible){if(Number(this.oChip.configuration.getParameterValueAsString(\"isSufficient\"))){e.flowWithoutDesignTimeCall()}else{e.flowWithDesignTimeCall()}}},visibleHandler:function(e){if(!e){this.firstTimeVisible=false;sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.comparisionChartODataRef)}if(e){this.refreshHandler(this)}},onInit:function(){const e=this;e.writeData={};this.firstTimeVisible=false;this.oDualContributionView=this.getView();this.oChip=this.oDualContributionView.getViewData().chip;if(this.oChip.visible){this.oChip.visible.attachVisible(this.visibleHandler.bind(this))}this.system=this.oChip.url.getApplicationSystem();this.oDualContributionView.oGenericTile.setState(s.Loading);try{sap.ushell.components.tiles.indicatorTileUtils.util.getParsedChip(this.oChip.configuration.getParameterValueAsString(\"tileConfiguration\"),this.oChip.preview.isEnabled(),i=>{e.oConfig=i;if(e.oChip.preview){e.oChip.preview.setTargetUrl(sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system))}if(e.oChip.preview.isEnabled()){e.setTitle();e._updateTileModel({value:8888,size:l.Auto,frameType:\"TwoByOne\",state:s.Loading,valueColor:t.Error,indicator:o.None,title:\"US Profit Margin\",footer:\"Current Quarter\",description:\"Maximum deviation\",data:[{title:\"Americas\",value:10,color:\"Neutral\",displayValue:\"\"},{title:\"EMEA\",value:50,color:\"Neutral\",displayValue:\"\"},{title:\"APAC\",value:-20,color:\"Neutral\",displayValue:\"\"}]});e.oDualContributionView.oGenericTile.setState(s.Loaded)}else{e.setTitle();e.oDualContributionView.oGenericTile.attachPress(()=>{sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(e.comparisionChartODataRef);sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(e.oConfig.TILE_PROPERTIES.id,null);window.location.hash=sap.ushell.components.tiles.indicatorTileUtils.util.getNavigationTarget(e.oConfig,e.system)});if(Number(e.oChip.configuration.getParameterValueAsString(\"isSufficient\"))){sap.ushell.components.tiles.indicatorTileUtils.cache.setEvaluationById(e.oConfig.TILE_PROPERTIES.id,e.oConfig);e.flowWithoutDesignTimeCall()}else{e.flowWithDesignTimeCall()}}})}catch(e){this.logError(e)}},onExit:function(){sap.ushell.components.tiles.indicatorTileUtils.util.abortPendingODataCalls(this.comparisionChartODataRef)}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDualContribution/DualContribution.view\", [\"sap/ui/core/mvc/JSView\",\"sap/ca/ui/model/format/NumberFormat\",\"sap/ui/model/analytics/odata4analytics\",\"sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil\",\"sap/m/NumericContent\",\"sap/m/TileContent\",\"sap/suite/ui/microchart/ComparisonMicroChartData\",\"sap/suite/ui/microchart/ComparisonMicroChart\",\"sap/m/GenericTile\",\"sap/ui/model/json/JSONModel\"],(e,i,t,o,a,r,n,l,s,u)=>{\"use strict\";sap.ui.getCore().loadLibrary(\"sap.suite.ui.microchart\");sap.ui.jsview(\"tiles.indicatorDualContribution.DualContribution\",{getControllerName:function(){return\"tiles.indicatorDualContribution.DualContribution\"},createContent:function(){this.setHeight(\"100%\");this.setWidth(\"100%\");const e=this;e.oGenericTileData={};e.oNumericContent=new a({value:\"{/value}\",scale:\"{/scale}\",indicator:\"{/indicator}\",size:\"{/size}\",formatterValue:true,truncateValueTo:6,valueColor:\"{/valueColor}\"});e.oNumericTile=new r({unit:\"{/unitNumeric}\",size:\"{/size}\",footer:\"{/footerNum}\",content:e.oNumericContent});e.oCmprsDataTmpl=new n({title:\"{title}\",value:\"{value}\",color:\"{color}\",displayValue:\"{displayValue}\"});e.oCmprsChrtTmpl=new l({size:\"{/size}\",scale:\"{/scale}\",data:{template:e.oCmprsDataTmpl,path:\"/data\"}});e.oComparisonTile=new r({unit:\"{/unitContribution}\",size:\"{/size}\",footer:\"{/footerComp}\",content:e.oCmprsChrtTmpl});e.oGenericTile=new s({subheader:\"{/subheader}\",frameType:\"{/frameType}\",size:\"{/size}\",header:\"{/header}\",tileContent:[e.oNumericTile,e.oComparisonTile]});e.oGenericTileModel=new u;e.oGenericTileModel.setData(e.oGenericTileData);e.oGenericTile.setModel(e.oGenericTileModel);return e.oGenericTile}})},true);\n// Copyright (c) SAP SE, All Rights Reserved\nsap.ui.predefine(\"sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller\", [\"sap/ui/model/json/JSONModel\",\"sap/m/library\",\"sap/ui/thirdparty/jquery\"],(e,i,jQuery)=>{\"use strict\";const t=i.DeviationIndicator;const l=i.ValueColor;const o=i.LoadState;sap.ui.controller(\"tiles.indicatorDualDeviation.DualDeviation\",{logError:function(e){this.oDualDeviationView.oGenericTile.setState(o.Failed);this.oDualDeviationView.oGenericTile.setState(o.Failed);sap.ushell.components.tiles.indicatorTileUtils.util.logError(e)},getThresholdsObjAndColor:function(e){try{const i={};i.arrObj=[];i.returnColor=l.Neutral;const t=this.DEFINITION_DATA.EVALUATION.GOAL_TYPE;let o;let a;let s;let r;if(t===\"MI\"){s=Number(e.criticalHighValue)||0;r=Number(e.warningHighValue)||0;if(s&&r){s=window.parseFloat(s);r=window.parseFloat(r);i.arrObj.push({value:s,color:l.Error});i.arrObj.push({value:r,color:l.Critical});if(this.CALCULATED_KPI_VALUE<r){i.returnColor=l.Good}else if(this.CALCULATED_KPI_VALUE<=s){i.returnColor=l.Critical}else{i.returnColor=l.Error}}}else if(t===\"MA\"){a=Number(e.criticalLowValue)||0;o=Number(e.warningLowValue)||0;if(a&&o){a=window.parseFloat(a);o=window.parseFloat(o);i.arrObj.push({value:a,color:l.Error});i.arrObj.push({value:o,color:l.Critical});if(this.CALCULATED_KPI_VALUE<a){i.returnColor=l.Error}else if(this.CALCULATED_KPI_VALUE<=o){i.returnColor=l.Critical}else{i.returnColor=l.Good}}}else{s=Number(e.criticalHighValue)||0;r=Number(e.warningHighValue)||0;a=Number(e.criticalLowValue)||0;o=Number(e.warningLowValue)||0;if(o&&r&&a&&a){s=window.parseFloat(s);r=window.parseFloat(r);o=window.parseFloat(o);a=window.parseFloat(a);i.arrObj.push({value:s,color:l.Error});i.arrObj.push({value:r,color:l.Critical});i.arrObj.push({value:o,color:l.Critical});i.arrObj.push({value:a,color:l.Error});if(this.CALCULATED_KPI_VALUE<a||this.CALCULATED_KPI_VALUE>s){i.returnColor=l.Error}else if(this.CALCULATED_KPI_VALUE>=a&&this.CALCULATED_KPI_VALUE<=o||this.CALCULATED_KPI_VALUE>=r&&this.CALCULATED_KPI_VALUE<=s){i.returnColor=l.Critical}else{i.returnColor=l.Good}}}return i}catch(e){this.logError(e)}},getTrendIndicator:function(e,i){const l=this;e=Number(e);try{let l=t.None;if(e>i){l=t.Down}else if(e<i){l=t.Up}return l}catch(e){l.logError(e)}},getTile:function(){return this.oDualDeviationView.oGenericTile},_updateTileModel:function(e){const i=this.getTile().getModel().getData();jQuery.extend(i,e);this.getTile().getModel().setData(i)},formSelectStatement:function(e){const i=Object.keys(e);let t=\"\";for(let l=0;l<i.length;l++){if(e[i[l]]!==undefined&&e.fullyFormedMeasure){t+=`,${e[i[l]]}`}}return t},setThresholdValues:function(){const e=this;const i={};i.fullyFormedMeasure=this.DEFINITION_DATA.EVALUATION.COLUMN_NAME;if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){switch(this.DEFINITION_DATA.EVALUATION.GOAL_TYPE){case\"MI\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break;case\"MA\":i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break;case\"RA\":i.sWarningHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"MEASURE\");i.sCriticalHigh=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"MEASURE\");i.sTarget=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"MEASURE\");i.sTrend=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"MEASURE\");i.sWarningLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"MEASURE\");i.sCriticalLow=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"MEASURE\");i.fullyFormedMeasure+=e.formSelectStatement(i);break}}else{i.criticalHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CH\",\"FIXED\");i.criticalLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"CL\",\"FIXED\");i.warningHighValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WH\",\"FIXED\");i.warningLowValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"WL\",\"FIXED\");i.targetValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TA\",\"FIXED\");i.trendValue=sap.ushell.components.tiles.indicatorTileUtils.util.getEvalValueMeasureName(e.oConfig,\"TC\",\"FIXED\")}return i},fetchKpiValue:function(e,i){const t=this;let l=0;try{const o=this.DEFINITION_DATA.EVALUATION.ODATA_URL;const a=this.DEFINITION_DATA.EVALUATION.ODATA_ENTITYSET;let s=this.setThresholdValues();const r=s.fullyFormedMeasure;const n=sap.ushell.components.tiles.indicatorTileUtils.cache.getKpivalueById(t.oConfig.TILE_PROPERTIES.id);if(!n){const n=sap.ushell.components.tiles.indicatorTileUtils.util.prepareFilterStructure(this.DEFINITION_DATA.EVALUATION_FILTERS,this.DEFINITION_DATA.ADDITIONAL_FILTERS);const u=sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri(t.oTileApi.url.addSystemToServiceUrl(o),a,r,null,n);if(u){this.QUERY_SERVICE_MODEL=u.model;this.queryUriForKpiValue=u.uri;try{this.queryServiceUriODataReadRef=this.QUERY_SERVICE_MODEL.read(u.uri,null,null,true,o=>{t.writeData={};if(o&&o.results&&o.results.length){l=o.results[0][t.DEFINITION_DATA.EVALUATION.COLUMN_NAME];if(u.unit[0]){t._updateTileModel({unit:o.results[0][u.unit[0].name]});t.writeData.unit=u.unit[0];t.writeData.unit.name=u.unit[0].name}t.writeData.numericData=o;let i=\"\";let a;let r=l;if(t.oConfig.EVALUATION.SCALING==-2){r*=100;t.getView().oNumericContent.setFormatterValue(false)}i=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(r),t.oConfig.EVALUATION.SCALING,t.oConfig.EVALUATION.DECIMAL_PRECISION);a=t.getTrendIndicator(s.trendValue,r);if(t.oConfig.EVALUATION.SCALING==-2){t._updateTileModel({scale:\"%\"})}t._updateTileModel({value:i.toString(),indicator:a,valueColor:t.getThresholdsObjAndColor(s).returnColor});t.writeData.data=o;sap.ushell.components.tiles.indicatorTileUtils.cache.setKpivalueById(t.oConfig.TILE_PROPERTIES.id,t.writeData);if(t.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){s.criticalHighValue=o.results[0][s.sCriticalHigh];s.criticalLowValue=o.results[0][s.sCriticalLow];s.warningHighValue=o.results[0][s.sWarningHigh];s.warningLowValue=o.results[0][s.sWarningLow];s.targetValue=o.results[0][s.sTarget];s.trendValue=o.results[0][s.sTrend]}e.call(t,l,s)}else{i.call(t,\"no Response from QueryServiceUri\")}},e=>{if(e&&e.response){i.call(t,e.message)}})}catch(e){t.logError(\"Error in Query Service URI\")}}}else if(n.data&&n.data.results&&n.data.results.length){let i;let l;let o;s=t.setThresholdValues();i=n.data.results[0][t.DEFINITION_DATA.EVALUATION.COLUMN_NAME];if(t.oConfig.EVALUATION.SCALING==-2){i*=100;t.getView().oNumericContent.setFormatterValue(true)}if(t.oConfig.EVALUATION.SCALING==-2){t._updateTileModel({scale:\"%\"})}l=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(i),t.oConfig.EVALUATION.SCALING,t.oConfig.EVALUATION.DECIMAL_PRECISION);o=t.getTrendIndicator(s.trendValue,i);if(n.unit){t._updateTileModel({unit:n.data.results[0][n.unit.name]})}t._updateTileModel({indicator:o,value:l.toString()});if(t.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){s.criticalHighValue=n.data.results[0][s.sCriticalHigh];s.criticalLowValue=n.data.results[0][s.sCriticalLow];s.warningHighValue=n.data.results[0][s.sWarningHigh];s.warningLowValue=n.data.results[0][s.sWarningLow];s.targetValue=n.data.results[0][s.sTarget];s.trendValue=n.data.results[0][s.sTrend]}e.call(t,n.data.results[0][t.DEFINITION_DATA.EVALUATION.COLUMN_NAME],s)}else{i.call(t,\"no Response from QueryServiceUri\")}}catch(e){i.call(t,e)}},flowWithoutDesignTimeCall:function(){const e=this;let i;let t;this.DEFINITION_DATA=this.oConfig;this._updateTileModel(this.DEFINITION_DATA);if(this.oTileApi.visible.isVisible()&&!this.firstTimeVisible){this.firstTimeVisible=true;this.fetchKpiValue(function(l,a){let s=Number(l);if(this.oConfig.EVALUATION.SCALING==-2){s*=100}i=sap.ushell.components.tiles.indicatorTileUtils.util.getLocaleFormattedValue(Number(s),this.oConfig.EVALUATION.SCALING,e.oConfig.EVALUATION.DECIMAL_PRECISION);this.CALCULATED_KPI_VALUE=Number(l);const r={};const n=this.getThresholdsObjAndColor(a);const u={value:Number(l),color:n.returnColor};r.valueColor=u.color;r.actualValueLabel=i.toString();r.actual=u;const c=this.DEFINITION_DATA.EVALUATION_VALUES;let T;if(this.DEFINITION_DATA.EVALUATION.VALUES_SOURCE==\"MEASURE\"){T=Number(a.targetValue);if(this.oConfig.EVALUATION.SCALING==-2){T*=100}t=sap.ushell.components.tiles Copyright 2010, 2013, 2010, 2021-03-02T17:08Z\n, 2021-02-16\n jQuery Foundation, Inc. and other contributors\n* Released under the MIT license.\n* http://jquery.org/license\n*\n*/\n(function(e,t,n){if(typeof define===\"function\"&&define.amd){define([\"jquery\"],function(i){n(i,e,t);return i.mobile})}else{n(e.jQuery,e,t)}})(this,document,function(jQuery,e,t,n){\n// About: License\n// Copyright (c) \"Cowboy\" Ben Alman,\n// Dual licensed under the MIT and GPL licenses.\n// http://benalman.com/about/license/\n(function(e,n,i){var o=\"hashchange\",r=t,a,s=e.event.special,u=r.documentMode,l=\"on\"+o in n&&(u===i||u>7);function c(e){e=e||location.href;return\"#\"+e.replace(/^[^#]*#?(.*)$/,\"$1\")}e.fn[o]=function(e){return e?this.on(o,e):this.trigger(o)};e.fn[o].delay=50;s[o]=e.extend(s[o],{setup:function(){if(l){return false}e(a.start)},teardown:function(){if(l){return false}e(a.stop)}});a=function(){var t={},r,a=c(),s=function(e){return e},u=s,l=s;t.start=function(){r||f()};t.stop=function(){r&&clearTimeout(r);r=i};function f(){var t=c(),i=l(a);if(t!==a){u(a=t,i);e(n).trigger(o)}else if(i!==a){location.href=location.href.replace(/#.*/,\"\")+i}r=setTimeout(f,e.fn[o].delay)}return t}()})(jQuery,this);(function(e){e.mobile={};jQuery.mobile.orientationChangeEnabled=true})(jQuery);(function(e,n,i){var o={};e.mobile=e.extend(e.mobile,{version:\"1.3.1\",ns:\"\",subPageUrlKey:\"ui-page\",activePageClass:\"ui-page-active\",activeBtnClass:\"ui-btn-active\",focusClass:\"ui-focus\",ajaxEnabled:true,hashListeningEnabled:true,linkBindingEnabled:true,defaultPageTransition:\"fade\",maxTransitionWidth:false,minScrollBack:250,touchOverflowEnabled:false,defaultDialogTransition:\"pop\",pageLoadErrorMessage:\"Error Loading Page\",pageLoadErrorMessageTheme:\"e\",phonegapNavigationEnabled:false,autoInitializePage:true,pushStateEnabled:true,ignoreContentEnabled:false,orientationChangeEnabled:true,buttonMarkup:{hoverDelay:200},window:e(n),document:e(t),keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},behaviors:{},silentScroll:function(t){if(typeof t!==\"number\"){t=e.mobile.defaultHomeScroll}e.event.special.scrollstart.enabled=false;setTimeout(function(){n.scrollTo(0,t);e.mobile.document.trigger(\"silentscroll\",{x:0,y:t})},20);setTimeout(function(){e.event.special.scrollstart.enabled=true},150)},nsNormalizeDict:o,nsNormalize:function(t){if(!t){return}return o[t]||(o[t]=e.camelCase(e.mobile.ns+t))},getInheritedTheme:function(e,t){var n=e[0],i=\"\",o=/ui-(bar|body|overlay)-([a-z])\\b/,r,a;while(n){r=n.className||\"\";if(r&&(a=o.exec(r))&&(i=a[2])){break}n=n.parentNode}return i||t||\"a\"},closestPageData:function(e){return e.closest(':jqmData(role=\"page\"), :jqmData(role=\"dialog\")').data(\"mobile-page\")},enhanceable:function(e){return this.haveParents(e,\"enhance\")},hijackable:function(e){return this.haveParents(e,\"ajax\")},haveParents:function(t,n){if(!e.mobile.ignoreContentEnabled){return t}var i=t.length,o=e(),r,a,s;for(var u=0;u<i;u++){a=t.eq(u);s=false;r=t[u];while(r){var l=r.getAttribute?r.getAttribute(\"data-\"+e.mobile.ns+n):\"\";if(l===\"false\"){s=true;break}r=r.parentNode}if(!s){o=o.add(a)}}return o},getScreenHeight:function(){return n.innerHeight||e.mobile.window.height()}},e.mobile);e.fn.jqmData=function(t,n){var o;if(typeof t!==\"undefined\"){if(t){t=e.mobile.nsNormalize(t)}if(arguments.length<2||n===i){o=this.data(t)}else{o=this.data(t,n)}}return o};e.jqmData=function(t,n,i){var o;if(typeof n!==\"undefined\"){o=e.data(t,n?e.mobile.nsNormalize(n):n,i)}return o};e.fn.jqmRemoveData=function(t){return this.removeData(e.mobile.nsNormalize(t))};e.jqmRemoveData=function(t,n){return e.removeData(t,e.mobile.nsNormalize(n))};e.fn.removeWithDependents=function(){e.removeWithDependents(this)};e.removeWithDependents=function(t){var n=e(t);(n.jqmData(\"dependents\")||e()).remove();n.remove()};e.fn.addDependents=function(t){e.addDependents(e(this),t)};e.addDependents=function(t,n){var i=e(t).jqmData(\"dependents\")||e();e(t).jqmData(\"dependents\",e.merge(i,n))};e.fn.getEncodedText=function(){return e(\"<div/>\").text(e(this).text()).html()};e.fn.jqmEnhanceable=function(){return e.mobile.enhanceable(this)};e.fn.jqmHijackable=function(){return e.mobile.hijackable(this)};var r=e.find,a=/:jqmData\\(([^)]*)\\)/g;e.find=function(t,n,i,o){t=t.replace(a,\"[data-\"+(e.mobile.ns||\"\")+\"$1]\");return r.call(this,t,n,i,o)};e.extend(e.find,r)})(jQuery,this);(function(n,i){\n/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */\ne.matchMedia=e.matchMedia||function(e,t){var n,i=e.documentElement,o=i.firstElementChild||i.firstChild,r=e.createElement(\"body\"),a=e.createElement(\"div\");a.id=\"mq-test-1\";a.style.cssText=\"position:absolute;top:-100em\";r.style.background=\"none\";r.appendChild(a);return function(e){a.innerHTML='­<style media=\"'+e+'\"> #mq-test-1 { width: 42px; }</style>';i.insertBefore(r,o);n=a.offsetWidth===42;i.removeChild(r);return{matches:n,media:e}}}(t);n.mobile.media=function(t){return e.matchMedia(t).matches}})(jQuery);(function(n,i){var o={touch:\"ontouchend\"in t};if(e.sap&&sap.ui&&sap.ui.Device&&sap.ui.Device.support&&!(sap.ui.Device.browser.msie||sap.ui.Device.browser.edge)){o.touch=sap.ui.Device.support.touch}n.mobile.support=n.mobile.support||{};n.extend(n.support,o);n.extend(n.mobile.support,o)})(jQuery);(function(t,n){t.extend(t.support,{orientation:\"orientation\"in e&&\"onorientationchange\"in e})})(jQuery);(function(n,i){function o(e){var t=e.charAt(0).toUpperCase()+e.substr(1),n=(e+\" \"+s.join(t+\" \")+t).split(\" \");for(var o in n){if(a[n[o]]!==i){return true}}}var r=n(\"<body>\").prependTo(\"html\"),a=r[0].style,s=[\"Webkit\",\"Moz\",\"O\"],u=\"palmGetResource\"in e,l=e.opera,c=e.operamini&&{}.toString.call(e.operamini)===\"[object OperaMini]\",f=e.blackberry&&!o(\"-webkit-transform\");function d(e,n,i){var o=t.createElement(\"div\"),r=function(e){return e.charAt(0).toUpperCase()+e.substr(1)},a=function(e){if(e===\"\"){return\"\"}else{return\"-\"+e.charAt(0).toLowerCase()+e.substr(1)+\"-\"}},u=function(t){var i=a(t)+e+\": \"+n+\";\",s=r(t),u=s+(s===\"\"?e:r(e));o.style=i;if(!!o.style[u]){c=true}},l=i?i:s,c;for(var f=0;f<l.length;f++){u(l[f])}return!!c}function h(){var o=\"transform-3d\",a=n.mobile.media(\"(-\"+s.join(\"-\"+o+\"),(-\")+\"-\"+o+\"),(\"+o+\")\");if(a){return!!a}var u=t.createElement(\"div\"),l={MozTransform:\"-moz-transform\",transform:\"transform\"};r.append(u);for(var c in l){if(u.style[c]!==i){u.style[c]=\"translate3d( 100px, 1px, 1px )\";a=e.getComputedStyle(u).getPropertyValue(l[c])}}return!!a&&a!==\"none\"}function p(){var n=t.createElement(\"x\"),i=t.documentElement,o=e.getComputedStyle,r=o&&o(n,\"\"),a;if(!(\"pointerEvents\"in n.style)){return false}n.style.pointerEvents=\"auto\";n.style.pointerEvents=\"x\";i.appendChild(n);a=r&&r.pointerEvents===\"auto\";i.removeChild(n);return!!a}function v(){var e=t.createElement(\"div\");return typeof e.getBoundingClientRect!==\"undefined\"}n.extend(n.mobile,{browser:{}});n.mobile.browser.oldIE=function(){var e=3,n=t.createElement(\"div\"),i=n.all||[];do{n.innerHTML=\"\\x3c!--[if gt IE \"+ ++e+\"]><br><![endif]--\\x3e\"}while(i[0]);return e>4?e:!e}();function m(){var t=e,n=navigator.userAgent,i=navigator.platform,o=n.match(/AppleWebKit\\/([0-9]+)/),r=!!o&&o[1],a=n.match(/Fennec\\/([0-9]+)/),s=!!a&&a[1],u=n.match(/Opera Mobi\\/([0-9]+)/),l=!!u&&u[1];if((i.indexOf(\"iPhone\")>-1||i.indexOf(\"iPad\")>-1||i.indexOf(\"iPod\")>-1)&&r&&r<534||t.operamini&&{}.toString.call(t.operamini)===\"[object OperaMini]\"||u&&l<7458||n.indexOf(\"Android\")>-1&&r&&r<533||s&&s<6||\"palmGetResource\"in e&&r&&r<534||n.indexOf(\"MeeGo\")>-1&&n.indexOf(\"NokiaBrowser/8.5.0\")>-1){return false}return true}n.extend(n.support,{cssTransitions:\"WebKitTransitionEvent\"in e||d(\"transition\",\"height 100ms linear\",[\"Webkit\",\"Moz\",\"\"])&&!n.mobile.browser.oldIE&&!l,pushState:\"pushState\"in history&&\"replaceState\"in history&&!(e.navigator.userAgent.indexOf(\"Firefox\")>=0&&e.top!==e)&&e.navigator.userAgent.search(/CriOS/)===-1,mediaquery:n.mobile.media(\"only all\"),cssPseudoElement:!!o(\"content\"),touchOverflow:!!o(\"overflowScrolling\"),cssTransform3d:h(),boxShadow:!!o(\"boxShadow\")&&!f,fixedPosition:m(),scrollTop:(\"pageXOffset\"in e||\"scrollTop\"in t.documentElement||\"scrollTop\"in r[0])&&!u&&!c,dynamicBaseTag:true,cssPointerEvents:p(),boundingRect:v()});r.remove();var g=function(){var t=e.navigator.userAgent;return t.indexOf(\"Nokia\")>-1&&(t.indexOf(\"Symbian/3\")>-1||t.indexOf(\"Series60/5\")>-1)&&t.indexOf(\"AppleWebKit\")>-1&&t.match(/(BrowserNG|NokiaBrowser)\\/7\\.[0-3]/)}();n.mobile.gradeA=function(){return(n.support.mediaquery||n.mobile.browser.oldIE&&n.mobile.browser.oldIE>=7)&&(n.support.boundingRect||n.fn.jquery.match(/1\\.[0-7+]\\.[0-9+]?/)!==null)};n.mobile.ajaxBlacklist=e.blackberry&&!e.WebKitPoint||c||g;if(g){n(function(){n(\"head link[rel='stylesheet']\").attr(\"rel\",\"alternate stylesheet\").attr(\"rel\",\"stylesheet\")})}if(!n.support.boxShadow){n(\"html\").addClass(\"ui-mobile-nosupport-boxshadow\")}})(jQuery);(function(e,t){var n=e.mobile.window,i,o;e.event.special.navigate=i={bound:false,pushStateEnabled:true,originalEventName:t,isPushStateEnabled:function(){return e.support.pushState&&e.mobile.pushStateEnabled===true&&this.isHashChangeEnabled()},isHashChangeEnabled:function(){return e.mobile.hashListeningEnabled===true},popstate:function(t){var i=new e.Event(\"navigate\"),o=new e.Event(\"beforenavigate\"),r=t.originalEvent.state||{},a=location.href;n.trigger(o);if(o.isDefaultPrevented()){return}if(t.historyState){e.extend(r,t.historyState)}i.originalEvent=t;setTimeout(function(){n.trigger(i,{state:r})},0)},hashchange:function(t,i){var o=new e.Event(\"navigate\"),r=new e.Event(\"beforenavigate\");n.trigger(r);if(r.isDefaultPrevented()){return}o.originalEvent=t;n.trigger(o,{state:t.hashchangeState||{}})},setup:function(e,t){if(i.bound){return}i.bound=true;if(i.isPushStateEnabled()){i.originalEventName=\"popstate\";n.on(\"popstate.navigate\",i.popstate)}else if(i.isHashChangeEnabled()){i.originalEventName=\"hashchange\";n.on(\"hashchange.navigate\",i.hashchange)}}}})(jQuery);(function(e){e.event.special.throttledresize={setup:function(){e(this).on(\"resize\",n)},teardown:function(){e(this).off(\"resize\",n)}};var t=250,n=function(){r=(new Date).getTime();a=r-i;if(a>=t){i=r;e(this).trigger(\"throttledresize\")}else{if(o){clearTimeout(o)}o=setTimeout(n,t-a)}},i=0,o,r,a})(jQuery);(function(e,n){var i=e(n),o=\"orientationchange\",r,a,s,u,l,c={0:true,180:true};if(e.support.orientation){var f=n.innerWidth||i.width(),d=n.innerHeight||i.height(),h=50;u=f>d&&f-d>h;l=c[n.orientation];if(u&&l||!u&&!l){c={\"-90\":true,90:true}}}e.event.special.orientationchange=e.extend({},e.event.special.orientationchange,{setup:function(){if(e.support.orientation&&!e.event.special.orientationchange.disabled){return false}s=a();i.on(\"throttledresize\",p)},teardown:function(){if(e.support.orientation&&!e.event.special.orientationchange.disabled){return false}i.off(\"throttledresize\",p)},add:function(e){var t=e.handler;e.handler=function(e){e.orientation=a();return t.apply(this,arguments)}}});function p(){var e=a();if(e!==s){s=e;i.trigger(o)}}e.event.special.orientationchange.orientation=a=function(){var i=true,o=t.documentElement;if(e.support.orientation){i=c[n.orientation]}else{i=o&&o.clientWidth/o.clientHeight<1.1}return i?\"portrait\":\"landscape\"};e.fn[o]=function(e){return e?this.on(o,e):this.trigger(o)};if(e.attrFn){e.attrFn[o]=true}})(jQuery,this);(function(e,t,n,i){var o=\"virtualMouseBindings\",r=\"virtualTouchID\",a=\"vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel\".split(\" \"),s=\"clientX clientY pageX pageY screenX screenY\".split(\" \"),u=e.event.mouseHooks?e.event.mouseHooks.props:[],l=(\"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase \"+\"metaKey relatedTarget shiftKey target timeStamp view which\").split(\" \"),c=l.concat(u),f={},d=0,h=0,p=0,v=false,m=[],g=false,b=false,E=\"addEventListener\"in n,w=e(n),D=1,T=0,y;e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};function x(e){while(e&&typeof e.originalEvent!==\"undefined\"){e=e.originalEvent}return e}function M(t,n){var o=t.type,r,a,u,f,d,h,p,v,m;t=e.Event(t);t.type=n;r=t.originalEvent;a=l;if(o.search(/^(mouse|click)/)>-1){a=c}if(r){for(p=a.length,f;p;){f=a[--p];t[f]=r[f]}}if(o.search(/mouse(down|up)|click/)>-1&&!t.which){t.which=1}if(o.search(/^touch/)!==-1){u=x(r);o=u.touches;d=u.changedTouches;h=o&&o.length?o[0]:d&&d.length?d[0]:i;if(h){for(v=0,m=s.length;v<m;v++){f=s[v];t[f]=h[f]}}}return t}function S(t){var n={},i,r;while(t){i=e.data(t,o);for(r in i){if(i[r]){n[r]=n.hasVirtualBinding=true}}t=t.parentNode}return n}function P(t,n){var i;while(t){i=e.data(t,o);if(i&&(!n||i[n])){return t}t=t.parentNode}return null}function C(){b=false}function N(){b=true}function A(){T=0;m.length=0;g=false;N()}function k(){C()}function O(){_();d=setTimeout(function(){d=0;A()},e.vmouse.resetTimerDuration)}function _(){if(d){clearTimeout(d);d=0}}function j(t,n,i){var o;if(i&&i[t]||!i&&P(n.target,t)){o=M(n,t);e(n.target).trigger(o)}return o}function L(t){var n=e.data(t.target,r);if(!g&&(!T||T!==n)){var i=j(\"v\"+t.type,t);if(i){if(i.isDefaultPrevented()){t.preventDefault()}if(i.isPropagationStopped()){t.stopPropagation()}if(i.isImmediatePropagationStopped()){t.stopImmediatePropagation()}}}}function I(t){var n=x(t).touches,i,o;if(n&&n.length===1){i=t.target;o=S(i);if(o.hasVirtualBinding){T=D++;e.data(i,r,T);_();k();v=false;var a=x(t).touches[0];h=a.pageX;p=a.pageY;j(\"vmouseover\",t,o);j(\"vmousedown\",t,o)}}}function z(e){if(b){return}if(!v){j(\"vmousecancel\",e,S(e.target))}v=true;O()}function q(t){if(b){return}var n=x(t).touches[0],i=v,o=e.vmouse.moveDistanceThreshold,r=S(t.target);v=v||(Math.abs(n.pageX-h)>o||Math.abs(n.pageY-p)>o);if(v&&!i){j(\"vmousecancel\",t,r)}j(\"vmousemove\",t,r);O()}function H(n){if(b){return}N();var i=S(n.target),o;j(\"vmouseup\",n,i);if(!v){j(\"vclick\",n,i);if(e.support.touch){o=x(n).changedTouches[0];m.push({touchID:T,x:o.clientX,y:o.clientY+t.scrollY,target:n.target});g=true}}j(\"vmouseout\",n,i);v=false;O()}function W(t){var n=e.data(t,o),i;if(n){for(i in n){if(n[i]){return true}}}return false}function B(){}function R(t){var n=t.substr(1);return{setup:function(i,r){if(!W(this)){e.data(this,o,{})}var a=e.data(this,o);a[t]=true;f[t]=(f[t]||0)+1;if(f[t]===1){w.on(n,L)}e(this).on(n,B);if(E){f[\"touchstart\"]=(f[\"touchstart\"]||0)+1;if(f[\"touchstart\"]===1){w.on(\"touchstart\",I).on(\"touchend\",H).on(\"touchmove\",q)}}},teardown:function(i,r){--f[t];if(!f[t]){w.off(n,L)}if(E){--f[\"touchstart\"];if(!f[\"touchstart\"]){w.off(\"touchstart\",I).off(\"touchmove\",q).off(\"touchend\",H).off(\"scroll\",z)}}var a=e(this),s=e.data(this,o);if(s){s[t]=false}a.off(n,B);if(!W(this)){a.removeData(o)}}}}for(var U=0;U<a.length;U++){e.event.special[a[U]]=R(a[U])}if(E){function Y(n){var i=m.length,o=n.target,a,s,u,l,c,f;if(i){a=n.clientX;s=n.clientY+t.scrollY;y=e.vmouse.clickDistanceThreshold;u=o;while(u){for(l=0;l<i;l++){c=m[l];f=0;if(u===o&&Math.abs(c.x-a)<y&&Math.abs(c.y-s)<y||e.data(u,r)===c.touchID){if(!n.isSynthetic){n._sapui_delayedMouseEvent=true}if(o!==c.target){n.preventDefault();n.stopPropagation()}if(n.type===\"click\"){m.length=0}return}}u=u.parentNode}}}n.addEventListener(\"mousedown\",Y,true);n.addEventListener(\"mouseup\",Y,true);n.addEventListener(\"mouseover\",Y,true);n.addEventListener(\"click\",Y,true)}})(jQuery,e,t);(function(e,n,i){var o=e(t);e.each((\"touchstart touchmove touchend \"+\"tap taphold \"+\"swipe swipeleft swiperight \"+\"scrollstart scrollstop\").split(\" \"),function(t,n){e.fn[n]=function(e){return e?this.on(n,e):this.trigger(n)};if(e.attrFn){e.attrFn[n]=true}});var r=e.mobile.support.touch,a=\"touchmove scroll\",s=r?\"touchstart\":\"mousedown\",u=r?\"touchend touchcancel\":\"mouseup dragstart\",l=r?\"touchmove\":\"mousemove\";function c(t,n,i){var o=i.type;i.type=n;e.event.dispatch.call(t,i);i.type=o}e.event.special.scrollstart={enabled:true,setup:function(){var t=this,n=e(t),i,o;function r(e,n){i=n;c(t,i?\"scrollstart\":\"scrollstop\",e)}n.on(a,function(t){if(!e.event.special.scrollstart.enabled){return}if(!i){r(t,true)}clearTimeout(o);o=setTimeout(function(){r(t,false)},50)})}};e.event.special.tap={tapholdThreshold:750,setup:function(){var t=this,n=e(t),i,r,a;function s(e){var t=e.target;var n=sap.ui.Device.browser;return n.edge&&n.version>=14&&(t.tagName.toLowerCase()===\"button\"&&t.contains(i)||i.tagName.toLowerCase()===\"button\"&&i.contains(t))}function u(){clearTimeout(a)}function l(){u();n.removeData(\"__tap_event_in_progress\");n.off(\"vclick\",d).off(\"vmouseup\",u);o.off(\"vmousecancel\",l).off(\"dragstart\",l).off(\"vmouseup\",f)}function f(t){if(t.target!==i&&!e.contains(i,t.target)&&!s(t)){l()}}function d(e){l();if(i===e.target||s(e)){c(t,\"tap\",e)}}n.on(\"vmousedown\",function(s){if(s.which&&s.which!==1){return}i=s.target;r=s.originalEvent;if(n.data(\"__tap_event_in_progress\")){l()}n.data(\"__tap_event_in_progress\",\"X\");n.on(\"vmouseup\",u).on(\"vclick\",d);o.on(\"vmousecancel\",l).on(\"dragstart\",l).on(\"vmouseup\",f);a=setTimeout(function(){var n=e.event.fix(r);n.type=\"taphold\";c(t,\"taphold\",n)},e.event.special.tap.tapholdThreshold)})}};e.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,start:function(t){var n=t.originalEvent&&t.originalEvent.touches?t.originalEvent.touches[0]:t;return{time:(new Date).getTime(),coords:[n.pageX,n.pageY],origin:e(t.target)}},stop:function(e){var t=e.originalEvent&&e.originalEvent.touches?e.originalEvent.touches[0]:e;return{time:(new Date).getTime(),coords:[t.pageX,t.pageY]}},handleSwipe:function(t,n){if(n.time-t.time<e.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-n.coords[0])>e.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])<e.event.special.swipe.verticalDistanceThreshold){t.origin.trigger(\"swipe\").trigger(t.coords[0]>n.coords[0]?\"swipeleft\":\"swiperight\")}},setup:function(){var t=this,o=e(t);o.on(s,function(t){if(t.isMarked(\"swipestartHandled\")){return}t.setMarked(\"swipestartHandled\");var r=e.event.special.swipe.start(t),a;function s(t){if(!r){return}a=e.event.special.swipe.stop(t);if(t.cancelable&&!n.getSelection().toString()&&Math.abs(r.coords[0]-a.coords[0])>e.event.special.swipe.scrollSupressionThreshold){t.preventDefault()}}function c(t){o.off(l,s).off(u,c);if(r&&a){e.event.special.swipe.handleSwipe(r,a)}r=a=i}o.on(l,s).on(u,c)})}};e.each({scrollstop:\"scrollstart\",taphold:\"tap\",swipeleft:\"swipe\",swiperight:\"swipe\"},function(t,n){e.event.special[t]={setup:function(){e(this).on(n,e.noop)}}})})(jQuery,this)});\n},\n\t\"sap/ui/thirdparty/jquery.js\":function(){\n/*!\n * jQuery JavaScript Library v3.6.0\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: */\n(function(e,t){\"use strict\";if(typeof module===\"object\"&&typeof module.exports===\"object\"){module.exports=e.document?t(e,true):function(e){if(!e.document){throw new Error(\"jQuery requires a window with a document\")}return t(e)}}else{t(e)}})(typeof window!==\"undefined\"?window:this,function(e,t){\"use strict\";var n=[];var r=Object.getPrototypeOf;var i=n.slice;var o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)};var a=n.push;var s=n.indexOf;var u={};var f=u.toString;var l=u.hasOwnProperty;var c=l.toString;var d=c.call(Object);var p={};var h=function e(t){return typeof t===\"function\"&&typeof t.nodeType!==\"number\"&&typeof t.item!==\"function\"};var g=function e(t){return t!=null&&t===t.window};var y=e.document;var m={type:true,src:true,nonce:true,noModule:true};function v(e,t,n){n=n||y;var r,i,o=n.createElement(\"script\");o.text=e;if(t){for(r in m){i=t[r]||t.getAttribute&&t.getAttribute(r);if(i){o.setAttribute(r,i)}}}n.head.appendChild(o).parentNode.removeChild(o)}function x(e){if(e==null){return e+\"\"}return typeof e===\"object\"||typeof e===\"function\"?u[f.call(e)]||\"object\":typeof e}var b=\"3.6.0\",jQuery=function(e,t){return new jQuery.fn.init(e,t)};jQuery.fn=jQuery.prototype={jquery:b,constructor:jQuery,length:0,toArray:function(){return i.call(this)},get:function(e){if(e==null){return i.call(this)}return e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=jQuery.merge(this.constructor(),e);t.prevObject=this;return t},each:function(e){return jQuery.each(this,e)},map:function(e){return this.pushStack(jQuery.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(jQuery.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(jQuery.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice};jQuery.extend=jQuery.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,f=false;if(typeof a===\"boolean\"){f=a;a=arguments[s]||{};s++}if(typeof a!==\"object\"&&!h(a)){a={}}if(s===u){a=this;s--}for(;s<u;s++){if((e=arguments[s])!=null){for(t in e){r=e[t];if(t===\"__proto__\"||a===r){continue}if(f&&r&&(jQuery.isPlainObject(r)||(i=Array.isArray(r)))){n=a[t];if(i&&!Array.isArray(n)){o=[]}else if(!i&&!jQuery.isPlainObject(n)){o={}}else{o=n}i=false;a[t]=jQuery.extend(f,o,r)}else if(r!==undefined){a[t]=r}}}}return a};jQuery.extend({expando:\"jQuery\"+(b+Math.random()).replace(/\\D/g,\"\"),isReady:true,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;if(!e||f.call(e)!==\"[object Object]\"){return false}t=r(e);if(!t){return true}n=l.call(t,\"constructor\")&&t.constructor;return typeof n===\"function\"&&c.call(n)===d},isEmptyObject:function(e){var t;for(t in e){return false}return true},globalEval:function(e,t,n){v(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(w(e)){n=e.length;for(;r<n;r++){if(t.call(e[r],r,e[r])===false){break}}}else{for(r in e){if(t.call(e[r],r,e[r])===false){break}}}return e},makeArray:function(e,t){var n=t||[];if(e!=null){if(w(Object(e))){jQuery.merge(n,typeof e===\"string\"?[e]:e)}else{a.call(n,e)}}return n},inArray:function(e,t,n){return t==null?-1:s.call(t,e,n)},merge:function(e,t){var n=+t.length,r=0,i=e.length;for(;r<n;r++){e[i++]=t[r]}e.length=i;return e},grep:function(e,t,n){var r,i=[],o=0,a=e.length,s=!n;for(;o<a;o++){r=!t(e[o],o);if(r!==s){i.push(e[o])}}return i},map:function(e,t,n){var r,i,a=0,s=[];if(w(e)){r=e.length;for(;a<r;a++){i=t(e[a],a,n);if(i!=null){s.push(i)}}}else{for(a in e){i=t(e[a],a,n);if(i!=null){s.push(i)}}}return o(s)},guid:1,support:p});if(typeof Symbol===\"function\"){jQuery.fn[Symbol.iterator]=n[Symbol.iterator]}jQuery.each(\"Boolean Number String Function Array Date RegExp Object Error Symbol\".split(\" \"),function(e,t){u[\"[object \"+t+\"]\"]=t.toLowerCase()});function w(e){var t=!!e&&\"length\"in e&&e.length,n=x(e);if(h(e)||g(e)){return false}return n===\"array\"||t===0||typeof t===\"number\"&&t>0&&t-1 in e}var T=\n/*!\n * Sizzle CSS Selector Engine v2.3.6\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://js.foundation/\n *\n * Date: */\nfunction(e){var t,n,r,i,o,a,s,u,f,l,c,d,p,h,g,y,m,v,x,b=\"sizzle\"+1*new Date,w=e.document,T=0,C=0,k=ue(),E=ue(),S=ue(),j=ue(),A=function(e,t){if(e===t){c=true}return 0},N={}.hasOwnProperty,D=[],q=D.pop,L=D.push,H=D.push,O=D.slice,P=function(e,t){var n=0,r=e.length;for(;n<r;n++){if(e[n]===t){return n}}return-1},R=\"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|\"+\"ismap|loop|multiple|open|readonly|required|scoped\",M=\"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",I=\"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\"+M+\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",W=\"\\\\[\"+M+\"*(\"+I+\")(?:\"+M+\"*([*^$|!~]?=)\"+M+\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\"+I+\"))|)\"+M+\"*\\\\]\",F=\":(\"+I+\")(?:\\\\((\"+\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\"+\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\"+W+\")*)|\"+\".*\"+\")\\\\)|)\",B=new RegExp(M+\"+\",\"g\"),_=new RegExp(\"^\"+M+\"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\"+M+\"+$\",\"g\"),$=new RegExp(\"^\"+M+\"*,\"+M+\"*\"),z=new RegExp(\"^\"+M+\"*([>+~]|\"+M+\")\"+M+\"*\"),U=new RegExp(M+\"|>\"),X=new RegExp(F),Q=new RegExp(\"^\"+I+\"$\"),V={ID:new RegExp(\"^#(\"+I+\")\"),CLASS:new RegExp(\"^\\\\.(\"+I+\")\"),TAG:new RegExp(\"^(\"+I+\"|[*])\"),ATTR:new RegExp(\"^\"+W),PSEUDO:new RegExp(\"^\"+F),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+M+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+M+\"*(?:([+-]|)\"+M+\"*(\\\\d+)|))\"+M+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+R+\")$\",\"i\"),needsContext:new RegExp(\"^\"+M+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+M+\"*((?:-\\\\d)?\\\\d*)\"+M+\"*\\\\)|)(?=[^-]|$)\",\"i\")},G=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,J=/^h\\d$/i,K=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,ee=/[+~]/,te=new RegExp(\"\\\\\\\\[\\\\da-fA-F]{1,6}\"+M+\"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\",\"g\"),ne=function(e,t){var n=\"0x\"+e.slice(1)-65536;return t?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)},re=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,ie=function(e,t){if(t){if(e===\"\\0\"){return\"�\"}return e.slice(0,-1)+\"\\\\\"+e.charCodeAt(e.length-1).toString(16)+\" \"}return\"\\\\\"+e},oe=function(){d()},ae=be(function(e){return e.disabled===true&&e.nodeName.toLowerCase()===\"fieldset\"},{dir:\"parentNode\",next:\"legend\"});try{H.apply(D=O.call(w.childNodes),w.childNodes);D[w.childNodes.length].nodeType}catch(e){H={apply:D.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]){}e.length=n-1}}}function se(e,t,r,i){var o,s,f,l,c,h,m,v=t&&t.ownerDocument,w=t?t.nodeType:9;r=r||[];if(typeof e!==\"string\"||!e||w!==1&&w!==9&&w!==11){return r}if(!i){d(t);t=t||p;if(g){if(w!==11&&(c=Z.exec(e))){if(o=c[1]){if(w===9){if(f=t.getElementById(o)){if(f.id===o){r.push(f);return r}}else{return r}}else{if(v&&(f=v.getElementById(o))&&x(t,f)&&f.id===o){r.push(f);return r}}}else if(c[2]){H.apply(r,t.getElementsByTagName(e));return r}else if((o=c[3])&&n.getElementsByClassName&&t.getElementsByClassName){H.apply(r,t.getElementsByClassName(o));return r}}if(n.qsa&&!j[e+\" \"]&&(!y||!y.test(e))&&(w!==1||t.nodeName.toLowerCase()!==\"object\")){m=e;v=t;if(w===1&&(U.test(e)||z.test(e))){v=ee.test(e)&&me(t.parentNode)||t;if(v!==t||!n.scope){if(l=t.getAttribute(\"id\")){l=l.replace(re,ie)}else{t.setAttribute(\"id\",l=b)}}h=a(e);s=h.length;while(s--){h[s]=(l?\"#\"+l:\":scope\")+\" \"+xe(h[s])}m=h.join(\",\")}try{H.apply(r,v.querySelectorAll(m));return r}catch(t){j(e,true)}finally{if(l===b){t.removeAttribute(\"id\")}}}}}return u(e.replace(_,\"$1\"),t,r,i)}function ue(){var e=[];function t(n,i){if(e.push(n+\" \")>r.cacheLength){delete t[e.shift()]}return t[n+\" \"]=i}return t}function fe(e){e[b]=true;return e}function le(e){var t=p.createElement(\"fieldset\");try{return!!e(t)}catch(e){return false}finally{if(t.parentNode){t.parentNode.removeChild(t)}t=null}}function ce(e,t){var n=e.split(\"|\"),i=n.length;while(i--){r.attrHandle[n[i]]=t}}function de(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&e.sourceIndex-t.sourceIndex;if(r){return r}if(n){while(n=n.nextSibling){if(n===t){return-1}}}return e?1:-1}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return n===\"input\"&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return(n===\"input\"||n===\"button\")&&t.type===e}}function ge(e){return function(t){if(\"form\"in t){if(t.parentNode&&t.disabled===false){if(\"label\"in t){if(\"label\"in t.parentNode){return t.parentNode.disabled===e}else{return t.disabled===e}}return t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e}return t.disabled===e}else if(\"label\"in t){return t.disabled===e}return false}}function ye(e){return fe(function(t){t=+t;return fe(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--){if(n[i=o[a]]){n[i]=!(r[i]=n[i])}}})})}function me(e){return e&&typeof e.getElementsByTagName!==\"undefined\"&&e}n=se.support={};o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!G.test(t||n&&n.nodeName||\"HTML\")};d=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;if(a==p||a.nodeType!==9||!a.documentElement){return p}p=a;h=p.documentElement;g=!o(p);if(w!=p&&(i=p.defaultView)&&i.top!==i){if(i.addEventListener){i.addEventListener(\"unload\",oe,false)}else if(i.attachEvent){i.attachEvent(\"onunload\",oe)}}n.scope=le(function(e){h.appendChild(e).appendChild(p.createElement(\"div\"));return typeof e.querySelectorAll!==\"undefined\"&&!e.querySelectorAll(\":scope fieldset div\").length});n.attributes=le(function(e){e.className=\"i\";return!e.getAttribute(\"className\")});n.getElementsByTagName=le(function(e){e.appendChild(p.createComment(\"\"));return!e.getElementsByTagName(\"*\").length});n.getElementsByClassName=K.test(p.getElementsByClassName);n.getById=le(function(e){h.appendChild(e).id=b;return!p.getElementsByName||!p.getElementsByName(b).length});if(n.getById){r.filter[\"ID\"]=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute(\"id\")===t}};r.find[\"ID\"]=function(e,t){if(typeof t.getElementById!==\"undefined\"&&g){var n=t.getElementById(e);return n?[n]:[]}}}else{r.filter[\"ID\"]=function(e){var t=e.replace(te,ne);return function(e){var n=typeof e.getAttributeNode!==\"undefined\"&&e.getAttributeNode(\"id\");return n&&n.value===t}};r.find[\"ID\"]=function(e,t){if(typeof t.getElementById!==\"undefined\"&&g){var n,r,i,o=t.getElementById(e);if(o){n=o.getAttributeNode(\"id\");if(n&&n.value===e){return[o]}i=t.getElementsByName(e);r=0;while(o=i[r++]){n=o.getAttributeNode(\"id\");if(n&&n.value===e){return[o]}}}return[]}}}r.find[\"TAG\"]=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==\"undefined\"){return t.getElementsByTagName(e)}else if(n.qsa){return t.querySelectorAll(e)}}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if(e===\"*\"){while(n=o[i++]){if(n.nodeType===1){r.push(n)}}return r}return o};r.find[\"CLASS\"]=n.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==\"undefined\"&&g){return t.getElementsByClassName(e)}};m=[];y=[];if(n.qsa=K.test(p.querySelectorAll)){le(function(e){var t;h.appendChild(e).innerHTML=\"<a id='\"+b+\"'></a>\"+\"<select id='\"+b+\"-\\r\\\\' msallowcapture=''>\"+\"<option selected=''></option></select>\";if(e.querySelectorAll(\"[msallowcapture^='']\").length){y.push(\"[*^$]=\"+M+\"*(?:''|\\\"\\\")\")}if(!e.querySelectorAll(\"[selected]\").length){y.push(\"\\\\[\"+M+\"*(?:value|\"+R+\")\")}if(!e.querySelectorAll(\"[id~=\"+b+\"-]\").length){y.push(\"~=\")}t=p.createElement(\"input\");t.setAttribute(\"name\",\"\");e.appendChild(t);if(!e.querySelectorAll(\"[name='']\").length){y.push(\"\\\\[\"+M+\"*name\"+M+\"*=\"+M+\"*(?:''|\\\"\\\")\")}if(!e.querySelectorAll(\":checked\").length){y.push(\":checked\")}if(!e.querySelectorAll(\"a#\"+b+\"+*\").length){y.push(\".#.+[+~]\")}e.querySelectorAll(\"\\\\\\f\");y.push(\"[\\\\r\\\\n\\\\f]\")});le(function(e){e.innerHTML=\"<a href='' disabled='disabled'></a>\"+\"<select disabled='disabled'><option/></select>\";var t=p.createElement(\"input\");t.setAttribute(\"type\",\"hidden\");e.appendChild(t).setAttribute(\"name\",\"D\");if(e.querySelectorAll(\"[name=d]\").length){y.push(\"name\"+M+\"*[*^$|!~]?=\")}if(e.querySelectorAll(\":enabled\").length!==2){y.push(\":enabled\",\":disabled\")}h.appendChild(e).disabled=true;if(e.querySelectorAll(\":disabled\").length!==2){y.push(\":enabled\",\":disabled\")}e.querySelectorAll(\"*,:x\");y.push(\",.*:\")})}if(n.matchesSelector=K.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector)){le(function(e){n.disconnectedMatch=v.call(e,\"*\");v.call(e,\"[s!='']:x\");m.push(\"!=\",F)})}y=y.length&&new RegExp(y.join(\"|\"));m=m.length&&new RegExp(m.join(\"|\"));t=K.test(h.compareDocumentPosition);x=t||K.test(h.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16))}:function(e,t){if(t){while(t=t.parentNode){if(t===e){return true}}}return false};A=t?function(e,t){if(e===t){c=true;return 0}var r=!e.compareDocumentPosition-!t.compareDocumentPosition;if(r){return r}r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1;if(r&1||!n.sortDetached&&t.compareDocumentPosition(e)===r){if(e==p||e.ownerDocument==w&&x(w,e)){return-1}if(t==p||t.ownerDocument==w&&x(w,t)){return 1}return l?P(l,e)-P(l,t):0}return r&4?-1:1}:function(e,t){if(e===t){c=true;return 0}var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o){return e==p?-1:t==p?1:i?-1:o?1:l?P(l,e)-P(l,t):0}else if(i===o){return de(e,t)}n=e;while(n=n.parentNode){a.unshift(n)}n=t;while(n=n.parentNode){s.unshift(n)}while(a[r]===s[r]){r++}return r?de(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0};return p};se.matches=function(e,t){return se(e,null,null,t)};se.matchesSelector=function(e,t){d(e);if(n.matchesSelector&&g&&!j[t+\" \"]&&(!m||!m.test(t))&&(!y||!y.test(t))){try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&e.document.nodeType!==11){return r}}catch(e){j(t,true)}}return se(t,p,null,[e]).length>0};se.contains=function(e,t){if((e.ownerDocument||e)!=p){d(e)}return x(e,t)};se.attr=function(e,t){if((e.ownerDocument||e)!=p){d(e)}var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):undefined;return o!==undefined?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null};se.escape=function(e){return(e+\"\").replace(re,ie)};se.error=function(e){throw new Error(\"Syntax error, unrecognized expression: \"+e)};se.uniqueSort=function(e){var t,r=[],i=0,o=0;c=!n.detectDuplicates;l=!n.sortStable&&e.slice(0);e.sort(A);if(c){while(t=e[o++]){if(t===e[o]){i=r.push(o)}}while(i--){e.splice(r[i],1)}}l=null;return e};i=se.getText=function(e){var t,n=\"\",r=0,o=e.nodeType;if(!o){while(t=e[r++]){n+=i(t)}}else if(o===1||o===9||o===11){if(typeof e.textContent===\"string\"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){n+=i(e)}}}else if(o===3||o===4){return e.nodeValue}return n};r=se.selectors={cacheLength:50,createPseudo:fe,match:V,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:true},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:true},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(te,ne);e[3]=(e[3]||e[4]||e[5]||\"\").replace(te,ne);if(e[2]===\"~=\"){e[3]=\" \"+e[3]+\" \"}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1].slice(0,3)===\"nth\"){if(!e[3]){se.error(e[0])}e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]===\"even\"||e[3]===\"odd\"));e[5]=+(e[7]+e[8]||e[3]===\"odd\")}else if(e[3]){se.error(e[0])}return e},PSEUDO:function(e){var t,n=!e[6]&&e[2];if(V[\"CHILD\"].test(e[0])){return null}if(e[3]){e[2]=e[4]||e[5]||\"\"}else if(n&&X.test(n)&&(t=a(n,true))&&(t=n.indexOf(\")\",n.length-t)-n.length)){e[0]=e[0].slice(0,t);e[2]=n.slice(0,t)}return e.slice(0,3)}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return e===\"*\"?function(){return true}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+\" \"];return t||(t=new RegExp(\"(^|\"+M+\")\"+e+\"(\"+M+\"|$)\"))&&k(e,function(e){return t.test(typeof e.className===\"string\"&&e.className||typeof e.getAttribute!==\"undefined\"&&e.getAttribute(\"class\")||\"\")})},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);if(i==null){return t===\"!=\"}if(!t){return true}i+=\"\";return t===\"=\"?i===n:t===\"!=\"?i!==n:t===\"^=\"?n&&i.indexOf(n)===0:t===\"*=\"?n&&i.indexOf(n)>-1:t===\"$=\"?n&&i.slice(-n.length)===n:t===\"~=\"?(\" \"+i.replace(B,\" \")+\" \").indexOf(n)>-1:t===\"|=\"?i===n||i.slice(0,n.length+1)===n+\"-\":false}},CHILD:function(e,t,n,r,i){var o=e.slice(0,3)!==\"nth\",a=e.slice(-4)!==\"last\",s=t===\"of-type\";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,u){var f,l,c,d,p,h,g=o!==a?\"nextSibling\":\"previousSibling\",y=t.parentNode,m=s&&t.nodeName.toLowerCase(),v=!u&&!s,x=false;if(y){if(o){while(g){d=t;while(d=d[g]){if(s?d.nodeName.toLowerCase()===m:d.nodeType===1){return false}}h=g=e===\"only\"&&!h&&\"nextSibling\"}return true}h=[a?y.firstChild:y.lastChild];if(a&&v){d=y;c=d[b]||(d[b]={});l=c[d.uniqueID]||(c[d.uniqueID]={});f=l[e]||[];p=f[0]===T&&f[1];x=p&&f[2];d=p&&y.childNodes[p];while(d=++p&&d&&d[g]||(x=p=0)||h.pop()){if(d.nodeType===1&&++x&&d===t){l[e]=[T,p,x];break}}}else{if(v){d=t;c=d[b]||(d[b]={});l=c[d.uniqueID]||(c[d.uniqueID]={});f=l[e]||[];p=f[0]===T&&f[1];x=p}if(x===false){while(d=++p&&d&&d[g]||(x=p=0)||h.pop()){if((s?d.nodeName.toLowerCase()===m:d.nodeType===1)&&++x){if(v){c=d[b]||(d[b]={});l=c[d.uniqueID]||(c[d.uniqueID]={});l[e]=[T,x]}if(d===t){break}}}}}x-=i;return x===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error(\"unsupported pseudo: \"+e);if(i[b]){return i(t)}if(i.length>1){n=[e,e,\"\",t];return r.setFilters.hasOwnProperty(e.toLowerCase())?fe(function(e,n){var r,o=i(e,t),a=o.length;while(a--){r=P(e,o[a]);e[r]=!(n[r]=o[a])}}):function(e){return i(e,0,n)}}return i}},pseudos:{not:fe(function(e){var t=[],n=[],r=s(e.replace(_,\"$1\"));return r[b]?fe(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--){if(o=a[s]){e[s]=!(t[s]=o)}}}):function(e,i,o){t[0]=e;r(t,null,o,n);t[0]=null;return!n.pop()}}),has:fe(function(e){return function(t){return se(e,t).length>0}}),contains:fe(function(e){e=e.replace(te,ne);return function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:fe(function(e){if(!Q.test(e||\"\")){se.error(\"unsupported lang: \"+e)}e=e.replace(te,ne).toLowerCase();return function(t){var n;do{if(n=g?t.lang:t.getAttribute(\"xml:lang\")||t.getAttribute(\"lang\")){n=n.toLowerCase();return n===e||n.indexOf(e+\"-\")===0}}while((t=t.parentNode)&&t.nodeType===1);return false}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(false),disabled:ge(true),checked:function(e){var t=e.nodeName.toLowerCase();return t===\"input\"&&!!e.checked||t===\"option\"&&!!e.selected},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling){if(e.nodeType<6){return false}}return true},parent:function(e){return!r.pseudos[\"empty\"](e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t===\"input\"&&e.type===\"button\"||t===\"button\"},text:function(e){var t;return e.nodeName.toLowerCase()===\"input\"&&e.type===\"text\"&&((t=e.getAttribute(\"type\"))==null||t.toLowerCase()===\"text\")},first:ye(function(){return[0]}),last:ye(function(e,t){return[t-1]}),eq:ye(function(e,t,n){return[n<0?n+t:n]}),even:ye(function(e,t){var n=0;for(;n<t;n+=2){e.push(n)}return e}),odd:ye(function(e,t){var n=1;for(;n<t;n+=2){e.push(n)}return e}),lt:ye(function(e,t,n){var r=n<0?n+t:n>t?t:n;for(;--r>=0;){e.push(r)}return e}),gt:ye(function(e,t,n){var r=n<0?n+t:n;for(;++r<t;){e.push(r)}return e})}};r.pseudos[\"nth\"]=r.pseudos[\"eq\"];for(t in{radio:true,checkbox:true,file:true,password:true,image:true}){r.pseudos[t]=pe(t)}for(t in{submit:true,reset:true}){r.pseudos[t]=he(t)}function ve(){}ve.prototype=r.filters=r.pseudos;r.setFilters=new ve;a=se.tokenize=function(e,t){var n,i,o,a,s,u,f,l=E[e+\" \"];if(l){return t?0:l.slice(0)}s=e;u=[];f=r.preFilter;while(s){if(!n||(i=$.exec(s))){if(i){s=s.slice(i[0].length)||s}u.push(o=[])}n=false;if(i=z.exec(s)){n=i.shift();o.push({value:n,type:i[0].replace(_,\" \")});s=s.slice(n.length)}for(a in r.filter){if((i=V[a].exec(s))&&(!f[a]||(i=f[a](i)))){n=i.shift();o.push({value:n,type:a,matches:i});s=s.slice(n.length)}}if(!n){break}}return t?s.length:s?se.error(e):E(e,u).slice(0)};function xe(e){var t=0,n=e.length,r=\"\";for(;t<n;t++){r+=e[t].value}return r}function be(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&o===\"parentNode\",s=C++;return t.first?function(t,n,i){while(t=t[r]){if(t.nodeType===1||a){return e(t,n,i)}}return false}:function(t,n,u){var f,l,c,d=[T,s];if(u){while(t=t[r]){if(t.nodeType===1||a){if(e(t,n,u)){return true}}}}else{while(t=t[r]){if(t.nodeType===1||a){c=t[b]||(t[b]={});l=c[t.uniqueID]||(c[t.uniqueID]={});if(i&&i===t.nodeName.toLowerCase()){t=t[r]||t}else if((f=l[o])&&f[0]===T&&f[1]===s){return d[2]=f[2]}else{l[o]=d;if(d[2]=e(t,n,u)){return true}}}}}return false}}function we(e){return e.length>1?function(t,n,r){var i=e.length;while(i--){if(!e[i](t,n,r)){return false}}return true}:e[0]}function Te(e,t,n){var r=0,i=t.length;for(;r<i;r++){se(e,t[r],n)}return n}function Ce(e,t,n,r,i){var o,a=[],s=0,u=e.length,f=t!=null;for(;s<u;s++){if(o=e[s]){if(!n||n(o,r,i)){a.push(o);if(f){t.push(s)}}}}return a}function ke(e,t,n,r,i,o){if(r&&!r[b]){r=ke(r)}if(i&&!i[b]){i=ke(i,o)}return fe(function(o,a,s,u){var f,l,c,d=[],p=[],h=a.length,g=o||Te(t||\"*\",s.nodeType?[s]:s,[]),y=e&&(o||!t)?Ce(g,d,e,s,u):g,m=n?i||(o?e:h||r)?[]:a:y;if(n){n(y,m,s,u)}if(r){f=Ce(m,p);r(f,[],s,u);l=f.length;while(l--){if(c=f[l]){m[p[l]]=!(y[p[l]]=c)}}}if(o){if(i||e){if(i){f=[];l=m.length;while(l--){if(c=m[l]){f.push(y[l]=c)}}i(null,m=[],f,u)}l=m.length;while(l--){if((c=m[l])&&(f=i?P(o,c):d[l])>-1){o[f]=!(a[f]=c)}}}}else{m=Ce(m===a?m.splice(h,m.length):m);if(i){i(null,a,m,u)}else{H.apply(a,m)}}})}function Ee(e){var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[\" \"],u=a?1:0,l=be(function(e){return e===t},s,true),c=be(function(e){return P(t,e)>-1},s,true),d=[function(e,n,r){var i=!a&&(r||n!==f)||((t=n).nodeType?l(e,n,r):c(e,n,r));t=null;return i}];for(;u<o;u++){if(n=r.relative[e[u].type]){d=[be(we(d),n)]}else{n=r.filter[e[u].type].apply(null,e[u].matches);if(n[b]){i=++u;for(;i<o;i++){if(r.relative[e[i].type]){break}}return ke(u>1&&we(d),u>1&&xe(e.slice(0,u-1).concat({value:e[u-2].type===\" \"?\"*\":\"\"})).replace(_,\"$1\"),n,u<i&&Ee(e.slice(u,i)),i<o&&Ee(e=e.slice(i)),i<o&&xe(e))}d.push(n)}}return we(d)}function Se(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,l){var c,h,y,m=0,v=\"0\",x=o&&[],b=[],w=f,C=o||i&&r.find[\"TAG\"](\"*\",l),k=T+=w==null?1:Math.random()||.1,E=C.length;if(l){f=a==p||a||l}for(;v!==E&&(c=C[v])!=null;v++){if(i&&c){h=0;if(!a&&c.ownerDocument!=p){d(c);s=!g}while(y=e[h++]){if(y(c,a||p,s)){u.push(c);break}}if(l){T=k}}if(n){if(c=!y&&c){m--}if(o){x.push(c)}}}m+=v;if(n&&v!==m){h=0;while(y=t[h++]){y(x,b,a,s)}if(o){if(m>0){while(v--){if(!(x[v]||b[v])){b[v]=q.call(u)}}}b=Ce(b)}H.apply(u,b);if(l&&!o&&b.length>0&&m+t.length>1){se.uniqueSort(u)}}if(l){T=k;f=w}return x};return n?fe(o):o}s=se.compile=function(e,t){var n,r=[],i=[],o=S[e+\" \"];if(!o){if(!t){t=a(e)}n=t.length;while(n--){o=Ee(t[n]);if(o[b]){r.push(o)}else{i.push(o)}}o=S(e,Se(i,r));o.selector=e}return o};u=se.select=function(e,t,n,i){var o,u,f,l,c,d=typeof e===\"function\"&&e,p=!i&&a(e=d.selector||e);n=n||[];if(p.length===1){u=p[0]=p[0].slice(0);if(u.length>2&&(f=u[0]).type===\"ID\"&&t.nodeType===9&&g&&r.relative[u[1].type]){t=(r.find[\"ID\"](f.matches[0].replace(te,ne),t)||[])[0];if(!t){return n}else if(d){t=t.parentNode}e=e.slice(u.shift().value.length)}o=V[\"needsContext\"].test(e)?0:u.length;while(o--){f=u[o];if(r.relative[l=f.type]){break}if(c=r.find[l]){if(i=c(f.matches[0].replace(te,ne),ee.test(u[0].type)&&me(t.parentNode)||t)){u.splice(o,1);e=i.length&&xe(u);if(!e){H.apply(n,i);return n}break}}}}(d||s(e,p))(i,t,!g,n,!t||ee.test(e)&&me(t.parentNode)||t);return n};n.sortStable=b.split(\"\").sort(A).join(\"\")===b;n.detectDuplicates=!!c;d();n.sortDetached=le(function(e){return e.compareDocumentPosition(p.createElement(\"fieldset\"))&1});if(!le(function(e){e.innerHTML=\"<a href='#'></a>\";return e.firstChild.getAttribute(\"href\")===\"#\"})){ce(\"type|href|height|width\",function(e,t,n){if(!n){return e.getAttribute(t,t.toLowerCase()===\"type\"?1:2)}})}if(!n.attributes||!le(function(e){e.innerHTML=\"<input/>\";e.firstChild.setAttribute(\"value\",\"\");return e.firstChild.getAttribute(\"value\")===\"\"})){ce(\"value\",function(e,t,n){if(!n&&e.nodeName.toLowerCase()===\"input\"){return e.defaultValue}})}if(!le(function(e){return e.getAttribute(\"disabled\")==null})){ce(R,function(e,t,n){var r;if(!n){return e[t]===true?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}})}return se}(e);jQuery.find=T;jQuery.expr=T.selectors;jQuery.expr[\":\"]=jQuery.expr.pseudos;jQuery.uniqueSort=jQuery.unique=T.uniqueSort;jQuery.text=T.getText;jQuery.isXMLDoc=T.isXML;jQuery.contains=T.contains;jQuery.escapeSelector=T.escape;var C=function(e,t,n){var r=[],i=n!==undefined;while((e=e[t])&&e.nodeType!==9){if(e.nodeType===1){if(i&&jQuery(e).is(n)){break}r.push(e)}}return r};var k=function(e,t){var n=[];for(;e;e=e.nextSibling){if(e.nodeType===1&&e!==t){n.push(e)}}return n};var E=jQuery.expr.match.needsContext;function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var j=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i;function A(e,t,n){if(h(t)){return jQuery.grep(e,function(e,r){return!!t.call(e,r,e)!==n})}if(t.nodeType){return jQuery.grep(e,function(e){return e===t!==n})}if(typeof t!==\"string\"){return jQuery.grep(e,function(e){return s.call(t,e)>-1!==n})}return jQuery.filter(t,e,n)}jQuery.filter=function(e,t,n){var r=t[0];if(n){e=\":not(\"+e+\")\"}if(t.length===1&&r.nodeType===1){return jQuery.find.matchesSelector(r,e)?[r]:[]}return jQuery.find.matches(e,jQuery.grep(t,function(e){return e.nodeType===1}))};jQuery.fn.extend({find:function(e){var t,n,r=this.length,i=this;if(typeof e!==\"string\"){return this.pushStack(jQuery(e).filter(function(){for(t=0;t<r;t++){if(jQuery.contains(i[t],this)){return true}}}))}n=this.pushStack([]);for(t=0;t<r;t++){jQuery.find(e,i[t],n)}return r>1?jQuery.uniqueSort(n):n},filter:function(e){return this.pushStack(A(this,e||[],false))},not:function(e){return this.pushStack(A(this,e||[],true))},is:function(e){return!!A(this,typeof e===\"string\"&&E.test(e)?jQuery(e):e||[],false).length}});var N,D=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,q=jQuery.fn.init=function(e,t,n){var r,i;if(!e){return this}n=n||N;if(typeof e===\"string\"){if(e[0]===\"<\"&&e[e.length-1]===\">\"&&e.length>=3){r=[null,e,null]}else{r=D.exec(e)}if(r&&(r[1]||!t)){if(r[1]){t=t instanceof jQuery?t[0]:t;jQuery.merge(this,jQuery.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,true));if(j.test(r[1])&&jQuery.isPlainObject(t)){for(r in t){if(h(this[r])){this[r](t[r])}else{this.attr(r,t[r])}}}return this}else{i=y.getElementById(r[2]);if(i){this[0]=i;this.length=1}return this}}else if(!t||t.jquery){return(t||n).find(e)}else{return this.constructor(t).find(e)}}else if(e.nodeType){this[0]=e;this.length=1;return this}else if(h(e)){return n.ready!==undefined?n.ready(e):e(jQuery)}return jQuery.makeArray(e,this)};q.prototype=jQuery.fn;N=jQuery(y);var L=/^(?:parents|prev(?:Until|All))/,H={children:true,contents:true,next:true,prev:true};jQuery.fn.extend({has:function(e){var t=jQuery(e,this),n=t.length;return this.filter(function(){var e=0;for(;e<n;e++){if(jQuery.contains(this,t[e])){return true}}})},closest:function(e,t){var n,r=0,i=this.length,o=[],a=typeof e!==\"string\"&&jQuery(e);if(!E.test(e)){for(;r<i;r++){for(n=this[r];n&&n!==t;n=n.parentNode){if(n.nodeType<11&&(a?a.index(n)>-1:n.nodeType===1&&jQuery.find.matchesSelector(n,e))){o.push(n);break}}}}return this.pushStack(o.length>1?jQuery.uniqueSort(o):o)},index:function(e){if(!e){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof e===\"string\"){return s.call(jQuery(e),this[0])}return s.call(this,e.jquery?e[0]:e)},add:function(e,t){return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(),jQuery(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function O(e,t){while((e=e[t])&&e.nodeType!==1){}return e}jQuery.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return C(e,\"parentNode\")},parentsUntil:function(e,t,n){return C(e,\"parentNode\",n)},next:function(e){return O(e,\"nextSibling\")},prev:function(e){return O(e,\"previousSibling\")},nextAll:function(e){return C(e,\"nextSibling\")},prevAll:function(e){return C(e,\"previousSibling\")},nextUntil:function(e,t,n){return C(e,\"nextSibling\",n)},prevUntil:function(e,t,n){return C(e,\"previousSibling\",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){if(e.contentDocument!=null&&r(e.contentDocument)){return e.contentDocument}if(S(e,\"template\")){e=e.content||e}return jQuery.merge([],e.childNodes)}},function(e,t){jQuery.fn[e]=function(n,r){var i=jQuery.map(this,t,n);if(e.slice(-5)!==\"Until\"){r=n}if(r&&typeof r===\"string\"){i=jQuery.filter(r,i)}if(this.length>1){if(!H[e]){jQuery.uniqueSort(i)}if(L.test(e)){i.reverse()}}return this.pushStack(i)}});var P=/[^\\x20\\t\\r\\n\\f]+/g;function R(e){var t={};jQuery.each(e.match(P)||[],function(e,n){t[n]=true});return t}jQuery.Callbacks=function(e){e=typeof e===\"string\"?R(e):jQuery.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){i=i||e.once;r=t=true;for(;a.length;s=-1){n=a.shift();while(++s<o.length){if(o[s].apply(n[0],n[1])===false&&e.stopOnFalse){s=o.length;n=false}}}if(!e.memory){n=false}t=false;if(i){if(n){o=[]}else{o=\"\"}}},f={add:function(){if(o){if(n&&!t){s=o.length-1;a.push(n)}(function t(n){jQuery.each(n,function(n,r){if(h(r)){if(!e.unique||!f.has(r)){o.push(r)}}else if(r&&r.length&&x(r)!==\"string\"){t(r)}})})(arguments);if(n&&!t){u()}}return this},remove:function(){jQuery.each(arguments,function(e,t){var n;while((n=jQuery.inArray(t,o,n))>-1){o.splice(n,1);if(n<=s){s--}}});return this},has:function(e){return e?jQuery.inArray(e,o)>-1:o.length>0},empty:function(){if(o){o=[]}return this},disable:function(){i=a=[];o=n=\"\";return this},disabled:function(){return!o},lock:function(){i=a=[];if(!n&&!t){o=n=\"\"}return this},locked:function(){return!!i},fireWith:function(e,n){if(!i){n=n||[];n=[e,n.slice?n.slice():n];a.push(n);if(!t){u()}}return this},fire:function(){f.fireWith(this,arguments);return this},fired:function(){return!!r}};return f};function M(e){return e}function I(e){throw e}function W(e,t,n,r){var i;try{if(e&&h(i=e.promise)){i.call(e).done(t).fail(n)}else if(e&&h(i=e.then)){i.call(e,t,n)}else{t.apply(undefined,[e].slice(r))}}catch(e){n.apply(undefined,[e])}}jQuery.extend({Deferred:function(t){var n=[[\"notify\",\"progress\",jQuery.Callbacks(\"memory\"),jQuery.Callbacks(\"memory\"),2],[\"resolve\",\"done\",jQuery.Callbacks(\"once memory\"),jQuery.Callbacks(\"once memory\"),0,\"resolved\"],[\"reject\",\"fail\",jQuery.Callbacks(\"once memory\"),jQuery.Callbacks(\"once memory\"),1,\"rejected\"]],r=\"pending\",i={state:function(){return r},always:function(){o.done(arguments).fail(arguments);return this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return jQuery.Deferred(function(t){jQuery.each(n,function(n,r){var i=h(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);if(e&&h(e.promise)){e.promise().progress(t.notify).done(t.resolve).fail(t.reject)}else{t[r[0]+\"With\"](this,i?[e]:arguments)}})});e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,f=function(){var e,f;if(t<o){return}e=r.apply(s,u);if(e===n.promise()){throw new TypeError(\"Thenable self-resolution\")}f=e&&(typeof e===\"object\"||typeof e===\"function\")&&e.then;if(h(f)){if(i){f.call(e,a(o,n,M,i),a(o,n,I,i))}else{o++;f.call(e,a(o,n,M,i),a(o,n,I,i),a(o,n,M,n.notifyWith))}}else{if(r!==M){s=undefined;u=[e]}(i||n.resolveWith)(s,u)}},l=i?f:function(){try{f()}catch(e){if(jQuery.Deferred.exceptionHook){jQuery.Deferred.exceptionHook(e,l.stackTrace)}if(t+1>=o){if(r!==I){s=undefined;u=[e]}n.rejectWith(s,u)}}};if(t){l()}else{if(jQuery.Deferred.getStackHook){l.stackTrace=jQuery.Deferred.getStackHook()}e.setTimeout(l)}}}return jQuery.Deferred(function(e){n[0][3].add(a(0,e,h(i)?i:M,e.notifyWith));n[1][3].add(a(0,e,h(t)?t:M));n[2][3].add(a(0,e,h(r)?r:I))}).promise()},promise:function(e){return e!=null?jQuery.extend(e,i):i}},o={};jQuery.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add;if(s){a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock)}a.add(t[3].fire);o[t[0]]=function(){o[t[0]+\"With\"](this===o?undefined:this,arguments);return this};o[t[0]+\"With\"]=a.fireWith});i.promise(o);if(t){t.call(o,o)}return o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=i.call(arguments),a=jQuery.Deferred(),s=function(e){return function(n){r[e]=this;o[e]=arguments.length>1?i.call(arguments):n;if(! --t){a.resolveWith(r,o)}}};if(t<=1){W(e,a.done(s(n)).resolve,a.reject,!t);if(a.state()===\"pending\"||h(o[n]&&o[n].then)){return a.then()}}while(n--){W(o[n],s(n),a.reject)}return a.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;jQuery.Deferred.exceptionHook=function(t,n){if(e.console&&e.console.warn&&t&&F.test(t.name)){e.console.warn(\"jQuery.Deferred exception: \"+t.message,t.stack,n)}};jQuery.readyException=function(t){e.setTimeout(function(){throw t})};var B=jQuery.Deferred();jQuery.fn.ready=function(e){B.then(e).catch(function(e){jQuery.readyException(e)});return this};jQuery.extend({isReady:false,readyWait:1,ready:function(e){if(e===true?--jQuery.readyWait:jQuery.isReady){return}jQuery.isReady=true;if(e!==true&&--jQuery.readyWait>0){return}B.resolveWith(y,[jQuery])}});jQuery.ready.then=B.then;function _(){y.removeEventListener(\"DOMContentLoaded\",_);e.removeEventListener(\"load\",_);jQuery.ready()}if(y.readyState===\"complete\"||y.readyState!==\"loading\"&&!y.documentElement.doScroll){e.setTimeout(jQuery.ready)}else{y.addEventListener(\"DOMContentLoaded\",_);e.addEventListener(\"load\",_)}var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,f=n==null;if(x(n)===\"object\"){i=true;for(s in n){$(e,t,s,n[s],true,o,a)}}else if(r!==undefined){i=true;if(!h(r)){a=true}if(f){if(a){t.call(e,r);t=null}else{f=t;t=function(e,t,n){return f.call(jQuery(e),n)}}}if(t){for(;s<u;s++){t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)))}}}if(i){return e}if(f){return t.call(e)}return u?t(e[0],n):o};var z=/^-ms-/,U=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function Q(e){return e.replace(z,\"ms-\").replace(U,X)}var V=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function G(){this.expando=jQuery.expando+G.uid++}G.uid=1;G.prototype={cache:function(e){var t=e[this.expando];if(!t){t={};if(V(e)){if(e.nodeType){e[this.expando]=t}else{Object.defineProperty(e,this.expando,{value:t,configurable:true})}}}return t},set:function(e,t,n){var r,i=this.cache(e);if(typeof t===\"string\"){i[Q(t)]=n}else{for(r in t){i[Q(r)]=t[r]}}return i},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][Q(t)]},access:function(e,t,n){if(t===undefined||t&&typeof t===\"string\"&&n===undefined){return this.get(e,t)}this.set(e,t,n);return n!==undefined?n:t},remove:function(e,t){var n,r=e[this.expando];if(r===undefined){return}if(t!==undefined){if(Array.isArray(t)){t=t.map(Q)}else{t=Q(t);t=t in r?[t]:t.match(P)||[]}n=t.length;while(n--){delete r[t[n]]}}if(t===undefined||jQuery.isEmptyObject(r)){if(e.nodeType){e[this.expando]=undefined}else{delete e[this.expando]}}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!jQuery.isEmptyObject(t)}};var Y=new G;var J=new G;var K=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,Z=/[A-Z]/g;function ee(e){if(e===\"true\"){return true}if(e===\"false\"){return false}if(e===\"null\"){return null}if(e===+e+\"\"){return+e}if(K.test(e)){return JSON.parse(e)}return e}function te(e,t,n){var r;if(n===undefined&&e.nodeType===1){r=\"data-\"+t.replace(Z,\"-$&\").toLowerCase();n=e.getAttribute(r);if(typeof n===\"string\"){try{n=ee(n)}catch(e){}J Copyright 2014 jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n *\n * http://api.jqueryui.com/position/\n */\n(function(t,i){t.ui=t.ui||{};var e,o=Math.max,l=Math.abs,n=Math.round,f=/left|center|right/,s=/top|center|bottom/,h=/[\\+\\-]\\d+(\\.[\\d]+)?%?/,r=/^\\w+/,p=/%$/,c=t.fn.position;function d(t,i,e){return[parseFloat(t[0])*(p.test(t[0])?i/100:1),parseFloat(t[1])*(p.test(t[1])?e/100:1)]}function a(i,e){return parseInt(t.css(i,e),10)||0}function g(t){var i=t[0];if(i.nodeType===9){return{width:t.width(),height:t.height(),offset:{top:0,left:0}}}if(i.window===i){return{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}}if(i.preventDefault){return{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}}if(typeof window.SVGElement!==\"undefined\"&&i instanceof window.SVGElement||i.useClientRect){var e=i.getBoundingClientRect();return{width:e.width,height:e.height,offset:t.offset()}}return{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}t.position={scrollbarWidth:function(){if(e!==i){return e}var o,l,n=t(\"<div><div></div></div>\"),f=n.children()[0];n[0].style=\"display:block;position:absolute;width:50px;height:50px;overflow:hidden;\";f.style=\"height:100px;width:auto;\";t(\"body\").append(n);o=f.offsetWidth;n.css(\"overflow\",\"scroll\");l=f.offsetWidth;if(o===l){l=n[0].clientWidth}n.remove();return e=o-l},getScrollInfo:function(i){var e=i.isWindow||i.isDocument?\"\":i.element.css(\"overflow-x\"),o=i.isWindow||i.isDocument?\"\":i.element.css(\"overflow-y\"),l=e===\"scroll\"||e===\"auto\"&&i.width<i.element[0].scrollWidth,n=o===\"scroll\"||o===\"auto\"&&i.height<i.element[0].scrollHeight;return{width:n?t.position.scrollbarWidth():0,height:l?t.position.scrollbarWidth():0}},getWithinInfo:function(i){var e=t(i||window),o=!!e[0]&&e[0]===e[0].window,l=!!e[0]&&e[0].nodeType===9;return{element:e,isWindow:o,isDocument:l,offset:(o?null:e.offset())||{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:o?e.width():e.outerWidth(),height:o?e.height():e.outerHeight()}}};t.fn.position=function(i){if(!i||!i.of){return c.apply(this,arguments)}i=t.extend({},i);var e,p,u,m,w,v,y=typeof i.of===\" Copyright 2014, 2014 jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n *\n * http://api.jqueryui.com/category/ui-core/\n */\n(function(e,t){e.fn.zIndex=t;e.fn.enableSelection=t;e.fn.disableSelection=t;e.expr.pseudos.focusable=t;var n=0,i=/^ui-id-\\d+$/;e.ui=e.ui||{};e.extend(e.ui,{version:\"1.10.4\",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});e.fn.extend({focus:function(t){return function(n,i){return typeof n===\"number\"?this.each(function(){var t=this;setTimeout(function(){e(t).trigger(\"focus\");if(i){i.call(t)}},n)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;if(e.ui.ie&&/(static|relative)/.test(this.css(\"position\"))||/absolute/.test(this.css(\"position\"))){t=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,\"position\"))&&/(auto|scroll)/.test(e.css(this,\"overflow\")+e.css(this,\"overflow-y\")+e.css(this,\"overflow-x\"))}).eq(0)}else{t=this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,\"overflow\")+e.css(this,\"overflow-y\")+e.css(this,\"overflow-x\"))}).eq(0)}return/fixed/.test(this.css(\"position\"))||!t.length?e(document):t},zIndex:function(n){if(n!==t){return this.css(\"zIndex\",n)}if(this.length){var i=e(this[0]),r,s;while(i.length&&i[0]!==document){r=i.css(\"position\");if(r===\"absolute\"||r===\"relative\"||r===\"fixed\"){s=parseInt(i.css(\"zIndex\"),10);if(!isNaN(s)&&s!==0){return s}}i=i.parent()}}return 0},uniqueId:function(){return this.each(function(){if(!this.id){this.id=\"ui-id-\"+ ++n}})},removeUniqueId:function(){return this.each(function(){if(i.test(this.id)){e(this).removeAttr(\"id\")}})}});function r(t,n){var i,r,o,u=t.nodeName.toLowerCase();if(\"area\"===u){i=t.parentNode;r=i.name;if(!t.href||!r||i.nodeName.toLowerCase()!==\"map\"){return false}o=e(\"img[usemap='#\"+r+\"']\")[0];return!!o&&s(o)}return(/input|select|textarea|button|object/.test(u)?!t.disabled:\"a\"===u?t.href||n:n)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return e.css(this,\"visibility\")===\"hidden\"}).length}e.extend(e.expr.pseudos,{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,i){return!!e.data(t,i[3])},focusable:function(t){return r(t,!isNaN(e.attr(t,\"tabindex\")))},tabbable:function(t){var n=e.attr(t,\"tabindex\"),i=isNaN(n);return(i||n>=0)&&r(t,!i)}});if(!e(\"<a>\").outerWidth(1).jquery){e.each([\"Width\",\"Height\"],function(n,i){var r=i===\"Width\"?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"],s=i.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};function u(t,n,i,s){e.each(r,function(){n-=parseFloat(e.css(t,\"padding\"+this))||0;if(i){n-=parseFloat(e.css(t,\"border\"+this+\"Width\"))||0}if(s){n-=parseFloat(e.css(t,\"margin\"+this))||0}});return n}e.fn[\"inner\"+i]=function(n){if(n===t){return o[\"inner\"+i].call(this)}return this.each(function(){e(this).css(s,u(this,n)+\"px\")})};e.fn[\"outer\"+i]=function(t,n){if(typeof t!==\"number\"){return o[\"outer\"+i].call(this,t)}return this.each(function(){e(this).css(s,u(this,t,true,n)+\"px\")})}})}if(!e.fn.addBack){e.fn.addBack=function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}if(e(\"<a>\").data(\"a-b\",\"a\").removeData(\"a-b\").data(\"a-b\")){e.fn.removeData=function(t){return function(n){if(arguments.length){return t.call(this,e.camelCase(n))}else{return t.call(this)}}}(e.fn.removeData)}e.ui.ie=!!/msie [\\w.]+/.exec(navigator.userAgent.toLowerCase());e.support.selectstart=\"onselectstart\"in document.createElement(\"div\");e.fn.extend({disableSelection:function(){return this.on((e.support.selectstart?\"selectstart\":\"mousedown\")+\".ui-disableSelection\",function(e){e.preventDefault()})},enableSelection:function(){return this.off(\".ui-disableSelection\")}});e.extend(e.ui,{plugin:{add:function(t,n,i){var r,s=e.ui[t].prototype;for(r in i){s.plugins[r]=s.plugins[r]||[];s.plugins[r].push([n,i[r]])}},call:function(e,t,n){var i,r=e.plugins[t];if(!r||!e.element[0].parentNode||e.element[0].parentNode.nodeType===11){return}for(i=0;i<r.length;i++){if(e.options[r[i][0]]){r[i][1].apply(e.element,n)}}}},hasScroll:function(t,n){if(e(t).css(\"overflow\")===\"hidden\"){return false}var i=n&&n===\"left\"?\"scrollLeft\":\"scrollTop\",r=false;if(t[i]>0){return true}t[i]=1;r=t[i]>0;t[i]=0;return r}})})(jQuery);\n},\n\t\"sap/ui/thirdparty/jqueryui/jquery-ui-datepicker.js\":function(){\n/*!\n * jQuery UI Datepicker 1.10.4\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n *\n * http://api.jqueryui.com/datepicker/\n *\n * Depends:\n *\tjquery.ui.core.js\n */\n(function(e,t){e.extend(e.ui,{datepicker:{version:\"1.10.4\"}});var a=\"datepicker\",i;function s(){this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._datepickerShowing=false;this._inDialog=false;this._mainDivId=\"ui-datepicker-div\";this._inlineClass=\"ui-datepicker-inline\";this._appendClass=\"ui-datepicker-append\";this._triggerClass=\"ui-datepicker-trigger\";this._dialogClass=\"ui-datepicker-dialog\";this._disableClass=\"ui-datepicker-disabled\";this._unselectableClass=\"ui-datepicker-unselectable\";this._currentClass=\"ui-datepicker-current-day\";this._dayOverClass=\"ui-datepicker-days-cell-over\";this.regional=[];this.regional[\"\"]={closeText:\"Done\",prevText:\"Prev\",nextText:\"Next\",currentText:\"Today\",monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],weekHeader:\"Wk\",dateFormat:\"mm/dd/yy\",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:\"\"};this._defaults={showOn:\"focus\",showAnim:\"fadeIn\",showOptions:{},defaultDate:null,appendText:\"\",buttonText:\"...\",buttonImage:\"\",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:\"c-10:c+10\",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:\"+10\",minDate:null,maxDate:null,duration:\"fast\",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:\"\",altFormat:\"\",constrainInput:true,showButtonPanel:false,autoSize:false,disabled:false};e.extend(this._defaults,this.regional[\"\"]);this.dpDiv=r(e(\"<div id='\"+this._mainDivId+\"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\"))}e.extend(s.prototype,{markerClassName:\"hasDatepicker\",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){n(this._defaults,e||{});return this},_attachDatepicker:function(t,a){var i,s,r;i=t.nodeName.toLowerCase();s=i===\"div\"||i===\"span\";if(!t.id){this.uuid+=1;t.id=\"dp\"+this.uuid}r=this._newInst(e(t),s);r.settings=e.extend({},a||{});if(i===\"input\"){this._connectDatepicker(t,r)}else if(s){this._inlineDatepicker(t,r)}},_newInst:function(t,a){var i=t[0].id.replace(/([^A-Za-z0-9_\\-])/g,\"\\\\\\\\$1\");return{id:i,input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:a,dpDiv:!a?this.dpDiv:r(e(\"<div class='\"+this._inlineClass+\" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\"))}},_connectDatepicker:function(t,i){var s=e(t);i.append=e([]);i.trigger=e([]);if(s.hasClass(this.markerClassName)){return}this._attachments(s,i);s.addClass(this.markerClassName).on(\"keydown\",this._doKeyDown).keypress(this._doKeyPress).on(\"keyup\",this._doKeyUp);this._autoSize(i);e.data(t,a,i);if(i.settings.disabled){this._disableDatepicker(t)}},_attachments:function(t,a){var i,s,r,n=this._get(a,\"appendText\"),l=this._get(a,\"isRTL\");if(a.append){a.append.remove()}if(n){a.append=e(\"<span></span>\").addClass(this._appendClass).text(n);t[l?\"before\":\"after\"](a.append)}t.off(\"focus\",this._showDatepicker);if(a.trigger){a.trigger.remove()}i=this._get(a,\"showOn\");if(i===\"focus\"||i===\"both\"){t.on(\"focus\",this._showDatepicker)}if(i===\"button\"||i===\"both\"){s=this._get(a,\"buttonText\");r=this._get(a,\"buttonImage\");if(this._get(a,\"buttonImageOnly\")){a.trigger=e(\"<img>\").addClass(this._triggerClass).attr({src:r,alt:s,title:s})}else{a.trigger=e(\"<button type='button'></button>\").addClass(this._triggerClass);if(r){a.trigger.html(e(\"<img>\").attr({src:r,alt:s,title:s}))}else{a.trigger.text(s)}}t[l?\"before\":\"after\"](a.trigger);a.trigger.click(function(){if(e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]){e.datepicker._hideDatepicker()}else if(e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]){e.datepicker._hideDatepicker();e.datepicker._showDatepicker(t[0])}else{e.datepicker._showDatepicker(t[0])}return false})}},_autoSize:function(e){if(this._get(e,\"autoSize\")&&!e.inline){var t,a,i,s,r=new Date(2009,12-1,20),n=this._get(e,\"dateFormat\");if(n.match(/[DM]/)){t=function(e){a=0;i=0;for(s=0;s<e.length;s++){if(e[s].length>a){a=e[s].length;i=s}}return i};r.setMonth(t(this._get(e,n.match(/MM/)?\"monthNames\":\"monthNamesShort\")));r.setDate(t(this._get(e,n.match(/DD/)?\"dayNames\":\"dayNamesShort\"))+20-r.getDay())}e.input.attr(\"size\",this._formatDate(e,r).length)}},_inlineDatepicker:function(t,i){var s=e(t);if(s.hasClass(this.markerClassName)){return}s.addClass(this.markerClassName).append(i.dpDiv);e.data(t,a,i);this._setDate(i,this._getDefaultDate(i),true);this._updateDatepicker(i);this._updateAlternate(i);if(i.settings.disabled){this._disableDatepicker(t)}i.dpDiv.css(\"display\",\"block\")},_dialogDatepicker:function(t,i,s,r,l){var d,c,o,u,h,p=this._dialogInst;if(!p){this.uuid+=1;d=\"dp\"+this.uuid;this._dialogInput=e(\"<input type='text' id='\"+d+\"'/>\").css({position:\"absolute\",top:\"-100px\",width:\"0px\"});this._dialogInput.on(\"keydown\",this._doKeyDown);e(\"body\").append(this._dialogInput);p=this._dialogInst=this._newInst(this._dialogInput,false);p.settings={};e.data(this._dialogInput[0],a,p)}n(p.settings,r||{});i=i&&i.constructor===Date?this._formatDate(p,i):i;this._dialogInput.val(i);this._pos=l?l.length?l:[l.pageX,l.pageY]:null;if(!this._pos){c=document.documentElement.clientWidth;o=document.documentElement.clientHeight;u=document.documentElement.scrollLeft||document.body.scrollLeft;h=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[c/2-100+u,o/2-150+h]}this._dialogInput.css(\"left\",this._pos[0]+20+\"px\").css(\"top\",this._pos[1]+\"px\");p.settings.onSelect=s;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if(e.blockUI){e.blockUI(this.dpDiv)}e.data(this._dialogInput[0],a,p);return this},_destroyDatepicker:function(t){var i,s=e(t),r=e.data(t,a);if(!s.hasClass(this.markerClassName)){return}i=t.nodeName.toLowerCase();e.removeData(t,a);if(i===\"input\"){r.append.remove();r.trigger.remove();s.removeClass(this.markerClassName).unbind(\"focus\",this._showDatepicker).unbind(\"keydown\",this._doKeyDown).unbind(\"keypress\",this._doKeyPress).unbind(\"keyup\",this._doKeyUp)}else if(i===\"div\"||i===\"span\"){s.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(t){var i,s,r=e(t),n=e.data(t,a);if(!r.hasClass(this.markerClassName)){return}i=t.nodeName.toLowerCase();if(i===\"input\"){t.disabled=false;n.trigger.filter(\"button\").each(function(){this.disabled=false}).end().filter(\"img\").css({opacity:\"1.0\",cursor:\"\"})}else if(i===\"div\"||i===\"span\"){s=r.children(\".\"+this._inlineClass);s.children().removeClass(\"ui-state-disabled\");s.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").prop(\"disabled\",false)}this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e})},_disableDatepicker:function(t){var i,s,r=e(t),n=e.data(t,a);if(!r.hasClass(this.markerClassName)){return}i=t.nodeName.toLowerCase();if(i===\"input\"){t.disabled=true;n.trigger.filter(\"button\").each(function(){this.disabled=true}).end().filter(\"img\").css({opacity:\"0.5\",cursor:\"default\"})}else if(i===\"div\"||i===\"span\"){s=r.children(\".\"+this._inlineClass);s.children().addClass(\"ui-state-disabled\");s.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").prop(\"disabled\",true)}this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e});this._disabledInputs[this._disabledInputs.length]=t},_isDisabledDatepicker:function(e){if(!e){return false}for(var t=0;t<this._disabledInputs.length;t++){if(this._disabledInputs[t]===e){return true}}return false},_getInst:function(t){try{return e.data(t,a)}catch(e){throw\"Missing instance data for this datepicker\"}},_optionDatepicker:function(a,i,s){var r,l,d,c,o=this._getInst(a);if(arguments.length===2&&typeof i===\"string\"){return i===\"defaults\"?e.extend({},e.datepicker._defaults):o?i===\"all\"?e.extend({},o.settings):this._get(o,i):null}r=i||{};if(typeof i===\"string\"){r={};r[i]=s}if(o){if(this._curInst===o){this._hideDatepicker()}l=this._getDateDatepicker(a,true);d=this._getMinMaxDate(o,\"min\");c=this._getMinMaxDate(o,\"max\");n(o.settings,r);if(d!==null&&r.dateFormat!==t&&r.minDate===t){o.settings.minDate=this._formatDate(o,d)}if(c!==null&&r.dateFormat!==t&&r.maxDate===t){o.settings.maxDate=this._formatDate(o,c)}if(\"disabled\"in r){if(r.disabled){this._disableDatepicker(a)}else{this._enableDatepicker(a)}}this._attachments(e(a),o);this._autoSize(o);this._setDate(o,l);this._updateAlternate(o);this._updateDatepicker(o)}},_changeDatepicker:function(e,t,a){this._optionDatepicker(e,t,a)},_refreshDatepicker:function(e){var t=this._getInst(e);if(t){this._updateDatepicker(t)}},_setDateDatepicker:function(e,t){var a=this._getInst(e);if(a){this._setDate(a,t);this._updateDatepicker(a);this._updateAlternate(a)}},_getDateDatepicker:function(e,t){var a=this._getInst(e);if(a&&!a.inline){this._setDateFromField(a,t)}return a?this._getDate(a):null},_doKeyDown:function(t){var a,i,s,r=e.datepicker._getInst(t.target),n=true,l=r.dpDiv.is(\".ui-datepicker-rtl\");r._keyEvent=true;if(e.datepicker._datepickerShowing){switch(t.keyCode){case 9:e.datepicker._hideDatepicker();n=false;break;case 13:s=e(\"td.\"+e.datepicker._dayOverClass+\":not(.\"+e.datepicker._currentClass+\")\",r.dpDiv);if(s[0]){e.datepicker._selectDay(t.target,r.selectedMonth,r.selectedYear,s[0])}a=e.datepicker._get(r,\"onSelect\");if(a){i=e.datepicker._formatDate(r);a.apply(r.input?r.input[0]:null,[i,r])}else{e.datepicker._hideDatepicker()}return false;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(r,\"stepBigMonths\"):-e.datepicker._get(r,\"stepMonths\"),\"M\");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(r,\"stepBigMonths\"):+e.datepicker._get(r,\"stepMonths\"),\"M\");break;case 35:if(t.ctrlKey||t.metaKey){e.datepicker._clearDate(t.target)}n=t.ctrlKey||t.metaKey;break;case 36:if(t.ctrlKey||t.metaKey){e.datepicker._gotoToday(t.target)}n=t.ctrlKey||t.metaKey;break;case 37:if(t.ctrlKey||t.metaKey){e.datepicker._adjustDate(t.target,l?+1:-1,\"D\")}n=t.ctrlKey||t.metaKey;if(t.originalEvent.altKey){e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(r,\"stepBigMonths\"):-e.datepicker._get(r,\"stepMonths\"),\"M\")}break;case 38:if(t.ctrlKey||t.metaKey){e.datepicker._adjustDate(t.target,-7,\"D\")}n=t.ctrlKey||t.metaKey;break;case 39:if(t.ctrlKey||t.metaKey){e.datepicker._adjustDate(t.target,l?-1:+1,\"D\")}n=t.ctrlKey||t.metaKey;if(t.originalEvent.altKey){e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(r,\"stepBigMonths\"):+e.datepicker._get(r,\"stepMonths\"),\"M\")}break;case 40:if(t.ctrlKey||t.metaKey){e.datepicker._adjustDate(t.target,+7,\"D\")}n=t.ctrlKey||t.metaKey;break;default:n=false}}else if(t.keyCode===36&&t.ctrlKey){e.datepicker._showDatepicker(this)}else{n=false}if(n){t.preventDefault();t.stopPropagation()}},_doKeyPress:function(t){var a,i,s=e.datepicker._getInst(t.target);if(e.datepicker._get(s,\"constrainInput\")){a=e.datepicker._possibleChars(e.datepicker._get(s,\"dateFormat\"));i=String.fromCharCode(t.charCode==null?t.keyCode:t.charCode);return t.ctrlKey||t.metaKey||(i<\" \"||!a||a.indexOf(i)>-1)}},_doKeyUp:function(t){var a,i=e.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal){try{a=e.datepicker.parseDate(e.datepicker._get(i,\"dateFormat\"),i.input?i.input.val():null,e.datepicker._getFormatConfig(i));if(a){e.datepicker._setDateFromField(i);e.datepicker._updateAlternate(i);e.datepicker._updateDatepicker(i)}}catch(e){}}return true},_showDatepicker:function(t){t=t.target||t;if(t.nodeName.toLowerCase()!==\"input\"){t=e(\"input\",t.parentNode)[0]}if(e.datepicker._isDisabledDatepicker(t)||e.datepicker._lastInput===t){return}var a,i,s,r,l,d,c;a=e.datepicker._getInst(t);if(e.datepicker._curInst&&e.datepicker._curInst!==a){e.datepicker._curInst.dpDiv.stop(true,true);if(a&&e.datepicker._datepickerShowing){e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])}}i=e.datepicker._get(a,\"beforeShow\");s=i?i.apply(t,[t,a]):{};if(s===false){return}n(a.settings,s);a.lastVal=null;e.datepicker._lastInput=t;e.datepicker._setDateFromField(a);if(e.datepicker._inDialog){t.value=\"\"}if(!e.datepicker._pos){e.datepicker._pos=e.datepicker._findPos(t);e.datepicker._pos[1]+=t.offsetHeight}r=false;e(t).parents().each(function(){r|=e(this).css(\"position\")===\"fixed\";return!r});l={left:e.datepicker._pos[0],top:e.datepicker._pos[1]};e.datepicker._pos=null;a.dpDiv.empty();a.dpDiv.css({position:\"absolute\",display:\"block\",top:\"-1000px\"});e.datepicker._updateDatepicker(a);l=e.datepicker._checkOffset(a,l,r);a.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?\"static\":r?\"fixed\":\"absolute\",display:\"none\",left:l.left+\"px\",top:l.top+\"px\"});if(!a.inline){d=e.datepicker._get(a,\"showAnim\");c=e.datepicker._get(a,\"duration\");a.dpDiv.zIndex(e(t).zIndex()+1);e.datepicker._datepickerShowing=true;if(e.effects&&e.effects.effect[d]){a.dpDiv.show(d,e.datepicker._get(a,\"showOptions\"),c)}else{a.dpDiv[d||\"show\"](d?c:null)}if(e.datepicker._shouldFocusInput(a)){a.input.focus()}e.datepicker._curInst=a}},_updateDatepicker:function(t){this.maxRows=4;i=t;t.dpDiv.empty().append(this._generateHTML(t));this._attachHandlers(t);t.dpDiv.find(\".\"+this._dayOverClass+\" a\").mouseover();var a,s=this._getNumberOfMonths(t),r=s[1],n=17;t.dpDiv.removeClass(\"ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4\").width(\"\");if(r>1){t.dpDiv.addClass(\"ui-datepicker-multi-\"+r).css(\"width\",n*r+\"em\")}t.dpDiv[(s[0]!==1||s[1]!==1?\"add\":\"remove\")+\"Class\"](\"ui-datepicker-multi\");t.dpDiv[(this._get(t,\"isRTL\")?\"add\":\"remove\")+\"Class\"](\"ui-datepicker-rtl\");if(t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)){t.input.focus()}if(t.yearshtml){a=t.yearshtml;setTimeout(function(){if(a===t.yearshtml&&t.yearshtml){t.dpDiv.find(\"select.ui-datepicker-year:first\").replaceWith(t.yearshtml)}a=t.yearshtml=null},0)}},_shouldFocusInput:function(e){return e.input&&e.input.is(\":visible\")&&!e.input.is(\":disabled\")&&!e.input.is(\":focus\")},_checkOffset:function(t,a,i){var s=t.dpDiv.outerWidth(),r=t.dpDiv.outerHeight(),n=t.input?t.input.outerWidth():0,l=t.input?t.input.outerHeight():0,d=document.documentElement.clientWidth+(i?0:e(document).scrollLeft()),c=document.documentElement.clientHeight+(i?0:e(document).scrollTop());a.left-=this._get(t,\"isRTL\")?s-n:0;a.left-=i&&a.left===t.input.offset().left?e(document).scrollLeft():0;a.top-=i&&a.top===t.input.offset().top+l?e(document).scrollTop():0;a.left-=Math.min(a.left,a.left+s>d&&d>s?Math.abs(a.left+s-d):0);a.top-=Math.min(a.top,a.top+r>c&&c>r?Math.abs(r+l):0);return a},_findPos:function(t){var a,i=this._getInst(t),s=this._get(i,\"isRTL\");while(t&&(t.type===\"hidden\"||t.nodeType!==1||e.expr.filters.hidden(t))){t=t[s?\"previousSibling\":\"nextSibling\"]}a=e(t).offset();return[a.left,a.top]},_hideDatepicker:function(t){var i,s,r,n,l=this._curInst;if(!l||t&&l!==e.data(t,a)){return}if(this._datepickerShowing){i=this._get(l,\"showAnim\");s=this._get(l,\"duration\");r=function(){e.datepicker._tidyDialog(l)};if(e.effects&&(e.effects.effect[i]||e.effects[i])){l.dpDiv.hide(i,e.datepicker._get(l,\"showOptions\"),s,r)}else{l.dpDiv[i===\"slideDown\"?\"slideUp\":i===\"fadeIn\"?\"fadeOut\":\"hide\"](i?s:null,r)}if(!i){r()}this._datepickerShowing=false;n=this._get(l,\"onClose\");if(n){n.apply(l.input?l.input[0]:null,[l.input?l.input.val():\"\",l])}this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:\"absolute\",left:\"0\",top:\"-100px\"});if(e.blockUI){e.unblockUI();e(\"body\").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(\".ui-datepicker-calendar\")},_checkExternalClick:function(t){if(!e.datepicker._curInst){return}var a=e(t.target),i=e.datepicker._getInst(a[0]);if(a[0].id!==e.datepicker._mainDivId&&a.parents(\"#\"+e.datepicker._mainDivId).length===0&&!a.hasClass(e.datepicker.markerClassName)&&!a.closest(\".\"+e.datepicker._triggerClass).length&&e.datepicker._datepickerShowing&&!(e.datepicker._inDialog&&e.blockUI)||a.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==i){e.datepicker._hideDatepicker()}},_adjustDate:function(t,a,i){var s=e(t),r=this._getInst(s[0]);if(this._isDisabledDatepicker(s[0])){return}this._adjustInstDate(r,a+(i===\"M\"?this._get(r,\"showCurrentAtPos\"):0),i);this._updateDatepicker(r)},_gotoToday:function(t){var a,i=e(t),s=this._getInst(i[0]);if(this._get(s,\"gotoCurrent\")&&s.currentDay){s.selectedDay=s.currentDay;s.drawMonth=s.selectedMonth=s.currentMonth;s.drawYear=s.selectedYear=s.currentYear}else{a=new Date;s.selectedDay=a.getDate();s.drawMonth=s.selectedMonth=a.getMonth();s.drawYear=s.selectedYear=a.getFullYear()}this._notifyChange(s);this._adjustDate(i)},_selectMonthYear:function(t,a,i){var s=e(t),r=this._getInst(s[0]);r[\"selected\"+(i===\"M\"?\"Month\":\"Year\")]=r[\"draw\"+(i===\"M\"?\"Month\":\"Year\")]=parseInt(a.options[a.selectedIndex].value,10);this._notifyChange(r);this._adjustDate(s)},_selectDay:function(t,a,i,s){var r,n=e(t);if(e(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(n[0])){return}r=this._getInst(n[0]);r.selectedDay=r.currentDay=e(\"a\",s).html();r.selectedMonth=r.currentMonth=a;r.selectedYear=r.currentYear=i;this._selectDate(t,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear))},_clearDate:function(t){var a=e(t);this._selectDate(a,\"\")},_selectDate:function(t,a){var i,s=e(t),r=this._getInst(s[0]);a=a!=null?a:this._formatDate(r);if(r.input){r.input.val(a)}this._updateAlternate(r);i=this._get(r,\"onSelect\");if(i){i.apply(r.input?r.input[0]:null,[a,r])}else if(r.input){r.input.trigger(\"change\")}if(r.inline){this._updateDatepicker(r)}else{this._hideDatepicker();this._lastInput=r.input[0];if(typeof r.input[0]!==\"object\"){r.input.focus()}this._lastInput=null}},_updateAlternate:function(t){var a,i,s,r=this._get(t,\"altField\");if(r){a=this._get(t,\"altFormat\")||this._get(t,\"dateFormat\");i=this._getDate(t);s=this.formatDate(a,i,this._getFormatConfig(t));e(document).find(r).val(s)}},noWeekends:function(e){var t=e.getDay();return[t>0&&t<6,\"\"]},iso8601Week:function(e){var t,a=new Date(e.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));t=a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((t-a)/864e5)/7)+1},parseDate:function(t,a,i){if(t==null||a==null){throw\"Invalid arguments\"}a=typeof a===\"object\"?a.toString():a+\"\";if(a===\"\"){return null}var s,r,n,l=0,d=(i?i.shortYearCutoff:null)||this._defaults.shortYearCutoff,c=typeof d!==\"string\"?d:(new Date).getFullYear()%100+parseInt(d,10),o=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,u=(i?i.dayNames:null)||this._defaults.dayNames,h=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,p=(i?i.monthNames:null)||this._defaults.monthNames,f=-1,g=-1,_=-1,k=-1,D=false,m,y=function(e){var a=s+1<t.length&&t.charAt(s+1)===e;if(a){s++}return a},v=function(e){var t=y(e),i=e===\"@\"?14:e===\"!\"?20:e===\"y\"&&t?4:e===\"o\"?3:2,s=new RegExp(\"^\\\\d{1,\"+i+\"}\"),r=a.substring(l).match(s);if(!r){throw\"Missing number at position \"+l}l+=r[0].length;return parseInt(r[0],10)},M=function(t,i,s){var r=-1,n=e.map(y(t)?s:i,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});e.each(n,function(e,t){var i=t[1];if(a.substr(l,i.length).toLowerCase()===i.toLowerCase()){r=t[0];l+=i.length;return false}});if(r!==-1){return r+1}else{throw\"Unknown name at position \"+l}},w=function(){if(a.charAt(l)!==t.charAt(s)){throw\"Unexpected literal at position \"+l}l++};for(s=0;s<t.length;s++){if(D){if(t.charAt(s)===\"'\"&&!y(\"'\")){D=false}else{w()}}else{switch(t.charAt(s)){case\"d\":_=v(\"d\");break;case\"D\":M(\"D\",o,u);break;case\"o\":k=v(\"o\");break;case\"m\":g=v(\"m\");break;case\"M\":g=M(\"M\",h,p);break;case\"y\":f=v(\"y\");break;case\"@\":m=new Date(v(\"@\"));f=m.getFullYear();g=m.getMonth()+1;_=m.getDate();break;case\"!\":m=new Date((v(\"!\")-this._ticksTo1970)/1e4);f=m.getFullYear();g=m.getMonth()+1;_=m.getDate();break;case\"'\":if(y(\"'\")){w()}else{D=true}break;default:w()}}}if(l<a.length){n=a.substr(l);if(!/^\\s+/.test(n)){throw\"Extra/unparsed characters found in date: \"+n}}if(f===-1){f=(new Date).getFullYear()}else if(f<100){f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=c?0:-100)}if(k>-1){g=1;_=k;do{r=this._getDaysInMonth(f,g-1);if(_<=r){break}g++;_-=r}while(true)}m=this._daylightSavingAdjust(new Date(f,g-1,_));if(m.getFullYear()!==f||m.getMonth()+1!==g||m.getDate()!==_){throw\"Invalid date\"}return m},ATOM:\"yy-mm-dd\",COOKIE:\"D, dd M yy\",ISO_8601:\"yy-mm-dd\",RFC_822:\"D, d M y\",RFC_850:\"DD, dd-M-y\",RFC_1036:\"D, d M y\",RFC_1123:\"D, d M yy\",RFC_2822:\"D, d M yy\",RSS:\"D, d M y\",TICKS:\"!\",TIMESTAMP:\"@\",W3C:\"yy-mm-dd\",_ticksTo1970:((1970-1)*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*1e7,formatDate:function(e,t,a){if(!t){return\"\"}var i,s=(a?a.dayNamesShort:null)||this._defaults.dayNamesShort,r=(a?a.dayNames:null)||this._defaults.dayNames,n=(a?a.monthNamesShort:null)||this._defaults.monthNamesShort,l=(a?a.monthNames:null)||this._defaults.monthNames,d=function(t){var a=i+1<e.length&&e.charAt(i+1)===t;if(a){i++}return a},c=function(e,t,a){var i=\"\"+t;if(d(e)){while(i.length<a){i=\"0\"+i}}return i},o=function(e,t,a,i){return d(e)?i[t]:a[t]},u=\"\",h=false;if(t){for(i=0;i<e.length;i++){if(h){if(e.charAt(i)===\"'\"&&!d(\"'\")){h=false}else{u+=e.charAt(i)}}else{switch(e.charAt(i)){case\"d\":u+=c(\"d\",t.getDate(),2);break;case\"D\":u+=o(\"D\",t.getDay(),s,r);break;case\"o\":u+=c(\"o\",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case\"m\":u+=c(\"m\",t.getMonth()+1,2);break;case\"M\":u+=o(\"M\",t.getMonth(),n,l);break;case\"y\":u+=d(\"y\")?t.getFullYear():(t.getYear()%100<10?\"0\":\"\")+t.getYear()%100;break;case\"@\":u+=t.getTime();break;case\"!\":u+=t.getTime()*1e4+this._ticksTo1970;break;case\"'\":if(d(\"'\")){u+=\"'\"}else{h=true}break;default:u+=e.charAt(i)}}}}return u},_possibleChars:function(e){var t,a=\"\",i=false,s=function(a){var i=t+1<e.length&&e.charAt(t+1)===a;if(i){t++}return i};for(t=0;t<e.length;t++){if(i){if(e.charAt(t)===\"'\"&&!s(\"'\")){i=false}else{a+=e.charAt(t)}}else{switch(e.charAt(t)){case\"d\":case\"m\":case\"y\":case\"@\":a+=\"0123456789\";break;case\"D\":case\"M\":return null;case\"'\":if(s(\"'\")){a+=\"'\"}else{i=true}break;default:a+=e.charAt(t)}}}return a},_get:function(e,a){return e.settings[a]!==t?e.settings[a]:this._defaults[a]},_setDateFromField:function(e,t){if(e.input.val()===e.lastVal){return}var a=this._get(e,\"dateFormat\"),i=e.lastVal=e.input?e.input.val():null,s=this._getDefaultDate(e),r=s,n=this._getFormatConfig(e);try{r=this.parseDate(a,i,n)||s}catch(e){i=t?\"\":i}e.selectedDay=r.getDate();e.drawMonth=e.selectedMonth=r.getMonth();e.drawYear=e.selectedYear=r.getFullYear();e.currentDay=i?r.getDate():0;e.currentMonth=i?r.getMonth():0;e.currentYear=i?r.getFullYear():0;this._adjustInstDate(e)},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,\"defaultDate\"),new Date))},_determineDate:function(t,a,i){var s=function(e){var t=new Date;t.setDate(t.getDate()+e);return t},r=function(a){try{return e.datepicker.parseDate(e.datepicker._get(t,\"dateFormat\"),a,e.datepicker._getFormatConfig(t))}catch(e){}var i=(a.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,s=i.getFullYear(),r=i.getMonth(),n=i.getDate(),l=/([+\\-]?[0-9]+)\\s*(d|D|w|W|m|M|y|Y)?/g,d=l.exec(a);while(d){switch(d[2]||\"d\"){case\"d\":case\"D\":n+=parseInt(d[1],10);break;case\"w\":case\"W\":n+=parseInt(d[1],10)*7;break;case\"m\":case\"M\":r+=parseInt(d[1],10);n=Math.min(n,e.datepicker._getDaysInMonth(s,r));break;case\"y\":case\"Y\":s+=parseInt(d[1],10);n=Math.min(n,e.datepicker._getDaysInMonth(s,r));break}d=l.exec(a)}return new Date(s,r,n)},n=a==null||a===\"\"?i:typeof a===\"string\"?r(a):typeof a===\"number\"?isNaN(a)?i:s(a):new Date(a.getTime());n=n&&n.toString()===\"Invalid Date\"?i:n;if(n){n.setHours(0);n.setMinutes(0);n.setSeconds(0);n.setMilliseconds(0)}return this._daylightSavingAdjust(n)},_daylightSavingAdjust:function(e){if(!e){return null}e.setHours(e.getHours()>12?e.getHours()+2:0);return e},_setDate:function(e,t,a){var i=!t,s=e.selectedMonth,r=e.selectedYear,n=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=n.getDate();e.drawMonth=e.selectedMonth=e.currentMonth=n.getMonth();e.drawYear=e.selectedYear=e.currentYear=n.getFullYear();if((s!==e.selectedMonth||r!==e.selectedYear)&&!a){this._notifyChange(e)}this._adjustInstDate(e);if(e.input){e.input.val(i?\"\":this._formatDate(e))}},_getDate:function(e){var t=!e.currentYear||e.input&&e.input.val()===\"\"?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return t},_attachHandlers:function(t){var a=this._get(t,\"stepMonths\"),i=\"#\"+t.id.replace(/\\\\\\\\/g,\"\\\\\");t.dpDiv.find(\"[data-handler]\").map(function(){var t={prev:function(){e.datepicker._adjustDate(i,-a,\"M\")},next:function(){e.datepicker._adjustDate(i,+a,\"M\")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(i)},selectDay:function(){e.datepicker._selectDay(i,+this.getAttribute(\"data-month\"),+this.getAttribute(\"data-year\"),this);return false},selectMonth:function(){e.datepicker._selectMonthYear(i,this,\"M\");return false},selectYear:function(){e.datepicker._selectMonthYear(i,this,\"Y\");return false}};e(this).on(this.getAttribute(\"data-event\"),t[this.getAttribute(\"data-handler\")])})},_generateHTML:function(t){var a,i,s,r,n,l,d,c,o,u,h,p,f,g,_,k,D,m,y,v,M,w,b,C,I,x,Y,S,F,N,T,A,K,j,O,L,R,H,W,E=new Date,P=this._daylightSavingAdjust(new Date(E.getFullYear(),E.getMonth(),E.getDate())),z=this._get(t,\"isRTL\"),U=this._get(t,\"showButtonPanel\"),B=this._get(t,\"hideIfNoPrevNext\"),J=this._get(t,\"navigationAsDateFormat\"),V=this._getNumberOfMonths(t),Q=this._get(t,\"showCurrentAtPos\"),X=this._get(t,\"stepMonths\"),Z=V[0]!==1||V[1]!==1,$=this._daylightSavingAdjust(!t.currentDay?new Date(9999,9,9):new Date(t.currentYear,t.currentMonth,t.currentDay)),q=this._getMinMaxDate(t,\"min\"),G=this._getMinMaxDate(t,\"max\"),ee=t.drawMonth-Q,te=t.drawYear;if(ee<0){ee+=12;te--}if(G){a=this._daylightSavingAdjust(new Date(G.getFullYear(),G.getMonth()-V[0]*V[1]+1,G.getDate()));a=q&&a<q?q:a;while(this._daylightSavingAdjust(new Date(te,ee,1))>a){ee--;if(ee<0){ee=11;te--}}}t.drawMonth=ee;t.drawYear=te;i=this._get(t,\"prevText\");i=!J?i:this.formatDate(i,this._daylightSavingAdjust(new Date(te,ee-X,1)),this._getFormatConfig(t));if(this._canAdjustMonth(t,-1,te,ee)){s=e(\"<a></a>\").attr({class:\"ui-datepicker-prev ui-corner-all\",\"data-handler\":\"prev\",\"data-event\":\"click\",title:i}).append(e(\"<span></span>\").addClass(\"ui-icon ui-icon-circle-triangle-\"+(z?\"e\":\"w\")).text(i))[0].outerHTML}else if(B){s=\"\"}else{s=e(\"<a></a>\").attr({class:\"ui-datepicker-prev ui-corner-all ui-state-disabled\",title:i}).append(e(\"<span></span>\").addClass(\"ui-icon ui-icon-circle-triangle-\"+(z?\"e\":\"w\")).text(i))[0].outerHTML}r=this._get(t,\"nextText\");r=!J?r:this.formatDate(r,this._daylightSavingAdjust(new Date(te,ee+X,1)),this._getFormatConfig(t));if(this._canAdjustMonth(t,+1,te,ee)){n=e(\"<a></a>\").attr({class:\"ui-datepicker-next ui-corner-all\",\"data-handler\":\"next\",\"data-event\":\"click\",title:r}).append(e(\"<span></span>\").addClass(\"ui-icon ui-icon-circle-triangle-\"+(z?\"w\":\"e\")).text(r))[0].outerHTML}else if(B){n=\"\"}else{n=e(\"<a></a>\").attr({class:\"ui-datepicker-next ui-corner-all ui-state-disabled\",title:r}).append(e(\"<span></span>\").attr(\"class\",\"ui-icon ui-icon-circle-triangle-\"+(z?\"w\":\"e\")).text(r))[0].outerHTML}l=this._get(t,\"currentText\");d=this._get(t,\"gotoCurrent\")&&t.currentDay?$:P;l=!J?l:this.formatDate(l,d,this._getFormatConfig(t));c=\"\";if(!t.inline){c=e(\"<button></button>\").attr({type:\"button\",class:\"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all\",\"data-handler\":\"hide\",\"data-event\":\"click\"}).text(this._get(t,\"closeText\"))[0].outerHTML}o=\"\";if(U){o=e(\"<div class='ui-datepicker-buttonpane ui-widget-content'></div>\").append(z?c:\"\").append(this._isInRange(t,d)?e(\"<button></button>\").attr({type:\"button\",class:\"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all\",\"data-handler\":\"today\",\"data-event\":\"click\"}).text(l):\"\").append(z?\"\":c)[0].outerHTML}u=parseInt(this._get(t,\"firstDay\"),10);u=isNaN(u)?0:u;h=this._get(t,\"showWeek\");p=this._get(t,\"dayNames\");f=this._get(t,\"dayNamesMin\");g=this._get(t,\"monthNames\");_=this._get(t,\"monthNamesShort\");k=this._get(t,\"beforeShowDay\");D=this._get(t,\"showOtherMonths\");m=this._get(t,\"selectOtherMonths\");y=this._getDefaultDate(t);v=\"\";M;for(w=0;w<V[0];w++){b=\"\";this.maxRows=4;for(C=0;C<V[1];C++){I=this._daylightSavingAdjust(new Date(te,ee,t.selectedDay));x=\" ui-corner-all\";Y=\"\";if(Z){Y+=\"<div class='ui-datepicker-group\";if(V[1]>1){switch(C){case 0:Y+=\" ui-datepicker-group-first\";x=\" ui-corner-\"+(z?\"right\":\"left\");break;case V[1]-1:Y+=\" ui-datepicker-group-last\";x=\" ui-corner-\"+(z?\"left\":\"right\");break;default:Y+=\" ui-datepicker-group-middle\";x=\"\";break}}Y+=\"'>\"}Y+=\"<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix\"+x+\"'>\"+(/all|left/.test(x)&&w===0?z?n:s:\"\")+(/all|right/.test(x)&&w===0?z?s:n:\"\")+this._generateMonthYearHeader(t,ee,te,q,G,w>0||C>0,g,_)+\"</div><table class='ui-datepicker-calendar'><thead>\"+\"<tr>\";S=h?\"<th class='ui-datepicker-week-col'>\"+this._get(t,\"weekHeader\")+\"</th>\":\"\";for(M=0;M<7;M++){F=(M+u)%7;S+=\"<th\"+((M+u+6)%7>=5?\" class='ui-datepicker-week-end'\":\"\")+\">\"+\"<span title='\"+p[F]+\"'>\"+f[F]+\"</span></th>\"}Y+=S+\"</tr></thead><tbody>\";N=this._getDaysInMonth(te,ee);if(te===t.selectedYear&&ee===t.selectedMonth){t.selectedDay=Math.min(t.selectedDay,N)}T=(this._getFirstDayOfMonth(te,ee)-u+7)%7;A=Math.ceil((T+N)/7);K=Z?this.maxRows>A?this.maxRows:A:A;this.maxRows=K;j=this._daylightSavingAdjust(new Date(te,ee,1-T));for(O=0;O<K;O++){Y+=\"<tr>\";L=!h?\"\":\"<td class='ui-datepicker-week-col'>\"+this._get(t,\"calculateWeek\")(j)+\"</td>\";for(M=0;M<7;M++){R=k?k.apply(t.input?t.input[0]:null,[j]):[true,\"\"];H=j.getMonth()!==ee;W=H&&!m||!R[0]||q&&j<q||G&&j>G;L+=\"<td class='\"+((M+u+6)%7>=5?\" ui-datepicker-week-end\":\"\")+(H?\" ui-datepicker-other-month\":\"\")+(j.getTime()===I.getTime()&&ee===t.selectedMonth&&t._keyEvent||y.getTime()===j.getTime()&&y.getTime()===I.getTime()?\" \"+this._dayOverClass:\"\")+(W?\" \"+this._unselectableClass+\" ui-state-disabled\":\"\")+(H&&!D?\"\":\" \"+R[1]+(j.getTime()===$.getTime()?\" \"+this._currentClass:\"\")+(j.getTime()===P.getTime()?\" ui-datepicker-today\":\"\"))+\"'\"+((!H||D)&&R[2]?\" title='\"+R[2].replace(/'/g,\"'\")+\"'\":\"\")+(W?\"\":\" data-handler='selectDay' data-event='click' data-month='\"+j.getMonth()+\"' data-year='\"+j.getFullYear()+\"'\")+\">\"+(H&&!D?\" \":W?\"<span class='ui-state-default'>\"+j.getDate()+\"</span>\":\"<a class='ui-state-default\"+(j.getTime()===P.getTime()?\" ui-state-highlight\":\"\")+(j.getTime()===$.getTime()?\" ui-state-active\":\"\")+(H?\" ui-priority-secondary\":\"\")+\"' href='#'>\"+j.getDate()+\"</a>\")+\"</td>\";j.setDate(j.getDate()+1);j=this._daylightSavingAdjust(j)}Y+=L+\"</tr>\"}ee++;if(ee>11){ee=0;te++}Y+=\"</tbody></table>\"+(Z?\"</div>\"+(V[0]>0&&C===V[1]-1?\"<div class='ui-datepicker-row-break'></div>\":\"\"):\"\");b+=Y}v+=b}v+=o;t._keyEvent=false;return v},_generateMonthYearHeader:function(e,t,a,i,s,r,n,l){var d,c,o,u,h,p,f,g,_=this._get(e,\"changeMonth\"),k=this._get(e,\"changeYear\"),D=this._get(e,\"showMonthAfterYear\"),m=\"<div class='ui-datepicker-title'>\",y=\"\";if(r||!_){y+=\"<span class='ui-datepicker-month'>\"+n[t]+\"</span>\"}else{d=i&&i.getFullYear()===a;c=s&&s.getFullYear()===a;y+=\"<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>\";for(o=0;o<12;o++){if((!d||o>=i.getMonth())&&(!c||o<=s.getMonth())){y+=\"<option value='\"+o+\"'\"+(o===t?\" selected='selected'\":\"\")+\">\"+l[o]+\"</option>\"}}y+=\"</select>\"}if(!D){m+=y+(r||!(_&&k)?\" \":\"\")}if(!e.yearshtml){e.yearshtml=\"\";if(r||!k){m+=\"<span class='ui-datepicker-year'>\"+a+\"</span>\"}else{u=this._get(e,\"yearRange\").split(\":\");h=(new Date).getFullYear();p=function(e){var t=e.match(/c[+\\-].*/)?a+parseInt(e.substring(1),10):e.match(/[+\\-].*/)?h+parseInt(e,10):parseInt(e,10);return isNaN(t)?h:t};f=p(u[0]);g=Math.max(f,p(u[1]||\"\"));f=i?Math.max(f,i.getFullYear()):f;g=s?Math.min(g,s.getFullYear()):g;e.yearshtml+=\"<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>\";for(;f<=g;f++){e.yearshtml+=\"<option value='\"+f+\"'\"+(f===a?\" selected='selected'\":\"\")+\">\"+f+\"</option>\"}e.yearshtml+=\"</select>\";m+=e.yearshtml;e.yearshtml=null}}m+=this._get(e,\"yearSuffix\");if(D){m+=(r||!(_&&k)?\" \":\"\")+y}m+=\"</div>\";return m},_adjustInstDate:function(e,t,a){var i=e.drawYear+(a===\"Y\"?t:0),s=e.drawMonth+(a===\"M\"?t:0),r=Math.min(e.selectedDay,this._getDaysInMonth(i,s))+(a===\"D\"?t:0),n=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(i,s,r)));e.selectedDay=n.getDate();e.drawMonth=e.selectedMonth=n.getMonth();e.drawYear=e.selectedYear=n.getFullYear();if(a===\"M\"||a===\"Y\"){this._notifyChange(e)}},_restrictMinMax:function(e,t){var a=this._getMinMaxDate(e,\"min\"),i=this._getMinMaxDate(e,\"max\"),s=a&&t<a?a:t;return i&&s>i?i:s},_notifyChange:function(e){var t=this._get(e,\"onChangeMonthYear\");if(t){t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])}},_getNumberOfMonths:function(e){var t=this._get(e,\"numberOfMonths\");return t==null?[1,1]:typeof t===\"number\"?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+\"Date\"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,a,i){var s=this._getNumberOfMonths(e),r=this._daylightSavingAdjust(new Date(a,i+(t<0?t:s[0]*s[1]),1));if(t<0){r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth()))}return this._isInRange(e,r)},_isInRange:function(e,t){var a,i,s=this._getMinMaxDate(e,\"min\"),r=this._getMinMaxDate(e,\"max\"),n=null,l=null,d=this._get(e,\"yearRange\");if(d){a=d.split(\":\");i=(new Date).getFullYear();n=parseInt(a[0],10);l=parseInt(a[1],10);if(a[0].match(/[+\\-].*/)){n+=i}if(a[1].match(/[+\\-].*/)){l+=i}}return(!s||t.getTime()>=s.getTime())&&(!r||t.getTime()<=r.getTime())&&(!n||t.getFullYear()>=n)&&(!l||t.getFullYear()<=l)},_getFormatConfig:function(e){var t=this._get(e,\"shortYearCutoff\");t=typeof t!==\"string\"?t:(new Date).getFullYear()%100+parseInt(t,10);return{shortYearCutoff:t,dayNamesShort:this._get(e,\"dayNamesShort\"),dayNames:this._get(e,\"dayNames\"),monthNamesShort:this._get(e,\"monthNamesShort\"),monthNames:this._get(e,\"monthNames\")}},_formatDate:function(e,t,a,i){if(!t){e.currentDay=e.selectedDay;e.currentMonth=e.selectedMonth;e.currentYear=e.selectedYear}var s=t?typeof t===\"object\"?t:this._daylightSavingAdjust(new Date(i,a,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,\"dateFormat\"),s,this._getFormatConfig(e))}});function r(t){var a=\"button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a\";return t.delegate(a,\"mouseout\",function(){e(this).removeClass(\"ui-state-hover\");if(this.className.indexOf(\"ui-datepicker-prev\")!==-1){e(this).removeClass(\"ui-datepicker-prev-hover\")}if(this.className.indexOf(\"ui-datepicker-next\")!==-1){e(this).removeClass(\"ui-datepicker-next-hover\")}}).delegate(a,\"mouseover\",function(){if(!e.datepicker._isDisabledDatepicker(i.inline?t.parent()[0]:i.input[0])){e(this).parents(\".ui-datepicker-calendar\").find(\"a\").removeClass(\"ui-state-hover\");e(this).addClass(\"ui-state-hover\");if(this.className.indexOf(\"ui-datepicker-prev\")!==-1){e(this).addClass(\"ui-datepicker-prev-hover\")}if(this.className.indexOf(\"ui-datepicker-next\")!==-1){e(this).addClass(\"ui-datepicker-next-hover\")}}})}function n(t,a){e.extend(t,a);for(var i in a){if(a[i]==null){t[i]=a[i]}}return t}e.fn.datepicker=function(t){if(!this.length){return this}if(!e.datepicker.initialized){e(document).on(\"mousedown\",e.datepicker._checkExternalClick);e.datepicker.initialized=true}if(e(\"#\"+e.datepicker._mainDivId).length===0){e(\"body\").append(e.datepicker.dpDiv)}var a=Array.prototype.slice.call(arguments,1);if(typeof t===\"string\"&&(t===\"isDisabled\"||t===\"getDate\"||t===\"widget\")){return e.datepicker[\"_\"+t+\"Datepicker\"].apply(e.datepicker,[this[0]].concat(a))}if(t===\"option\"&&arguments.length===2&&typeof arguments[1]===\"string\"){return e.datepicker[\"_\"+t+\"Datepicker\"].apply(e.datepicker,[this[0]].concat(a))}return this.each(function(){typeof t===\"string\"?e.datepicker[\"_\"+t+\"Datepicker\"].apply(e.datepicker,[this].concat(a)):e.datepicker._attachDatepicker(this,t)})};e.datepicker=new s;e.datepicker.initialized=false;e.datepicker.uuid=(new Date).getTime();e.datepicker.version=\"1.10.4\"})(jQuery);\n},\n\t\"sap/ui/thirdparty/signals.js\":function(){\n/** @license\n * JS Signals <http://millermedeiros.github.com/js-signals/>\n * Released under the MIT license\n * Author: Miller Medeiros\n * Version: 1.0.0 - Build: 268 (2012/11/29 05:48 PM)\n */\n(function(i){function t(i,t,e,n,s){this._listener=t;this._isOnce=e;this.context=n;this._signal=i;this._priority=s||0}t.prototype={active:true,params:null,execute:function(i){var t,e;if(this.active&&!!this._listener){e=this.params?this.params.concat(i):i;t=this._listener.apply(this.context,e);if(this._isOnce){this.detach()}}return t},detach:function(){return this.isBound()?this._signal.remove(this._listener,this.context):null},isBound:function(){return!!this._signal&&!!this._listener},isOnce:function(){return this._isOnce},getListener:function(){return this._listener},getSignal:function(){return this._signal},_destroy:function(){delete this._signal;delete this._listener;delete this.context},toString:function(){return\"[SignalBinding isOnce:\"+this._isOnce+\", isBound:\"+this.isBound()+\", active:\"+this.active+\"]\"}};function e(i,t){if(typeof i!==\"function\"){throw new Error(\"listener is a required param of {fn}() and should be a Function.\".replace(\"{fn}\",t))}}function n(){this._bindings=[];this._prevParams=null;var i=this;this.dispatch=function(){n.prototype.dispatch.apply(i,arguments)}}n.prototype={VERSION:\"1.0.0\",memorize:false,_shouldPropagate:true,active:true,_registerListener:function(i,e,n,s){var r=this._indexOfListener(i,n),h;if(r!==-1){h=this._bindings[r];if(h.isOnce()!==e){throw new Error(\"You cannot add\"+(e?\"\":\"Once\")+\"() then add\"+(!e?\"\":\"Once\")+\"() the same listener without removing the relationship first.\")}}else{h=new t(this,i,e,n,s);this._addBinding(h)}if(this.memorize&&this._prevParams){h.execute(this._prevParams)}return h},_addBinding:function(i){var t=this._bindings.length;do{--t}while(this._bindings[t]&&i._priority<=this._bindings[t]._priority);this._bindings.splice(t+1,0,i)},_indexOfListener:function(i,t){var e=this._bindings.length,n;while(e--){n=this._bindings[e];if(n._listener===i&&n.context===t){return e}}return-1},has:function(i,t){return this._indexOfListener(i,t)!==-1},add:function(i,t,n){e(i,\"add\");return this._registerListener(i,false,t,n)},addOnce:function(i,t,n){e(i,\"addOnce\");return this._registerListener(i,true,t,n)},remove:function(i,t){e(i,\"remove\");var n=this._indexOfListener(i,t);if(n!==-1){this._bindings[n]._destroy();this._bindings.splice(n,1)}return i},removeAll:function(){var i=this._bindings.length;while(i--){this._bindings[i]._destroy()}this._bindings.length=0},getNumListeners:function(){return this._bindings.length},halt:function(){this._shouldPropagate=false},dispatch:function(i){if(!this.active){return}var t=Array.prototype.slice.call(arguments),e=this._bindings.length,n;if(this.memorize){this._prevParams=t}if(!e){return}n=this._bindings.slice();this._shouldPropagate=true;do{e--}while(n[e]&&this._shouldPropagate&&n[e].execute(t)!==false)},forget:function(){this._prevParams=null},dispose:function(){this.removeAll();delete this._bindings;delete this._prevParams},toString:function(){return\"[Signal active:\"+this.active+\" numListeners:\"+this.getNumListeners()+\"]\"}};var s=n;s.Signal=n;if(typeof define===\"function\"&&define.amd){define(function(){return s})}else{i[\"signals\"]=s}})(this);\n}\n},\"sap/ui/core/library-preload\");\n//# sourceMappingURL=library-preload.js.map\n" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"./library\",\"sap/base/i18n/Localization\",\"sap/ui/core/Control\",\"sap/ui/core/ControlBehavior\",\"sap/m/library\",\"sap/ui/base/ManagedObjectObserver\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/core/ResizeHandler\",\"sap/ui/core/Configuration\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/delegate/ScrollEnablement\",\"sap/ui/Device\",\"sap/ui/base/ManagedObject\",\"sap/ui/dom/getScrollbarSize\",\"sap/f/DynamicPageTitle\",\"sap/f/DynamicPageHeader\",\"./DynamicPageRenderer\",\"sap/base/Log\",\"sap/ui/dom/units/Rem\",\"sap/ui/core/library\"],function(e,t,i,r,a,s,n,o,l,d,h,p,_,g,c,u,f,S,H,y,E){\"use strict\";var T=a.PageBackgroundDesign;var A=i.extend(\"sap.f.DynamicPage\",{metadata:{library:\"sap.f\",properties:{preserveHeaderStateOnScroll:{type:\"boolean\",group:\"Behavior\",defaultValue:false},headerExpanded:{type:\"boolean\",group:\"Behavior\",defaultValue:true},headerPinned:{type:\"boolean\",group:\"Behavior\",defaultValue:false},toggleHeaderOnTitleClick:{type:\"boolean\",group:\"Behavior\",defaultValue:true},showFooter:{type:\"boolean\",group:\"Behavior\",defaultValue:false},backgroundDesign:{type:\"sap.m.PageBackgroundDesign\",group:\"Appearance\",defaultValue:T.Standard},fitContent:{type:\"boolean\",group:\"Behavior\",defaultValue:false}},associations:{stickySubheaderProvider:{type:\"sap.f.IDynamicPageStickyContent\",multiple:false}},aggregations:{title:{type:\"sap.f.DynamicPageTitle\",multiple:false},header:{type:\"sap.f.DynamicPageHeader\",multiple:false},content:{type:\"sap.ui.core.Control\",multiple:false},footer:{type:\"sap.m.IBar\",multiple:false},landmarkInfo:{type:\"sap.f.DynamicPageAccessibleLandmarkInfo\",multiple:false}},events:{pinnedStateChange:{parameters:{pinned:{type:\"boolean\"}}}},dnd:{draggable:false,droppable:true},designtime:\"sap/f/designtime/DynamicPage.designtime\"},renderer:S});function P(e){if(arguments.length===1){return e&&\"length\"in e?e.length>0:!!e}return Array.prototype.slice.call(arguments).every(function(e){return P(e)})}function v(e){var t;if(!e){return false}t=e.getBoundingClientRect();return!!(t.width&&t.height)}var b=E.AccessibleLandmarkRole;A.HEADER_MAX_ALLOWED_PINNED_PERCENTAGE=.6;A.HEADER_MAX_ALLOWED_NON_SROLLABLE_PERCENTAGE=.6;A.HEADER_MAX_ALLOWED_NON_SROLLABLE_ON_MOBILE=.3;A.MEDIA_RANGESET_NAME=\"DynamicPageRangeSet\";A.BREAK_POINTS={DESKTOP:1439,TABLET:1024,PHONE:600};A.EVENTS={TITLE_PRESS:\"_titlePress\",TITLE_MOUSE_OVER:\"_titleMouseOver\",TITLE_MOUSE_OUT:\"_titleMouseOut\",PIN_UNPIN_PRESS:\"_pinUnpinPress\",VISUAL_INDICATOR_MOUSE_OVER:\"_visualIndicatorMouseOver\",VISUAL_INDICATOR_MOUSE_OUT:\"_visualIndicatorMouseOut\",HEADER_VISUAL_INDICATOR_PRESS:\"_headerVisualIndicatorPress\",TITLE_VISUAL_INDICATOR_PRESS:\"_titleVisualIndicatorPress\"};A.MEDIA={PHONE:\"sapFDynamicPage-Std-Phone\",TABLET:\"sapFDynamicPage-Std-Tablet\",DESKTOP:\"sapFDynamicPage-Std-Desktop\",DESKTOP_XL:\"sapFDynamicPage-Std-Desktop-XL\"};A.RESIZE_HANDLER_ID={PAGE:\"_sResizeHandlerId\",TITLE:\"_sTitleResizeHandlerId\",HEADER:\"_sHeaderResizeHandlerId\",CONTENT:\"_sContentResizeHandlerId\"};A.DIV=\"div\";A.HEADER=\"header\";A.FOOTER=\"footer\";A.HEADER_CONTENT_PADDING_BOTTOM=y.toPx(\"1rem\");A.SHOW_FOOTER_CLASS_NAME=\"sapFDynamicPageActualFooterControlShow\";A.HIDE_FOOTER_CLASS_NAME=\"sapFDynamicPageActualFooterControlHide\";A.NAVIGATION_CLASS_NAME=\"sapFDynamicPageNavigation\";A.ARIA_ROLE_DESCRIPTION=\"DYNAMIC_PAGE_ROLE_DESCRIPTION\";A.ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS=\"ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS\";A.prototype.init=function(){this._bPinned=false;this._bHeaderInTitleArea=false;this._bExpandingWithAClick=false;this._bSuppressToggleHeaderOnce=false;this._headerBiggerThanAllowedHeight=false;this._oStickySubheader=null;this._bStickySubheaderInTitleArea=false;this._bIsLastToggleUserInitiated=false;this._oScrollHelper=new p(this,this.getId()+\"-content\",{horizontal:false,vertical:true});this._oStickyHeaderObserver=null;this._oHeaderObserver=null;this._oTitleObserver=null;this._oSubHeaderAfterRenderingDelegate={onAfterRendering:function(){this._bStickySubheaderInTitleArea=false;this._cacheDomElements();this._adjustStickyContent()}};this._setAriaRoleDescription(o.getResourceBundleFor(\"sap.f\").getText(A.ARIA_ROLE_DESCRIPTION));this._initRangeSet();this._attachMediaContainerWidthChange(this._onMediaRangeChange,this,A.MEDIA_RANGESET_NAME)};A.prototype.onBeforeRendering=function(){if(!this._preserveHeaderStateOnScroll()){this._attachPinPressHandler()}this._attachTitlePressHandler();this._attachVisualIndicatorsPressHandlers();if(_.system.desktop){this._attachVisualIndicatorMouseOverHandlers();this._attachTitleMouseOverHandlers()}this._attachHeaderObserver();this._attachTitleObserver();this._addStickySubheaderAfterRenderingDelegate();this._detachScrollHandler();this._detachResizeHandlers();this._toggleAdditionalNavigationClass();this._setFooterAriaLabelledBy()};A.prototype.onAfterRendering=function(){var e,t,i=this.getHeader();if(this.getPreserveHeaderStateOnScroll()){setTimeout(this._overridePreserveHeaderStateOnScroll.bind(this),0)}this._cacheDomElements();this._attachResizeHandlers();this._updateMedia(this._getWidth(this));this._attachScrollHandler();this._updateTitlePositioning();this._attachPageChildrenAfterRenderingDelegates();this._updatePinButtonState();this._showHidePinButton();if(!this.getHeaderExpanded()){this._snapHeader(false);e=this.getHeader()&&!this.getPreserveHeaderStateOnScroll()&&this._canSnapHeaderOnScroll();if(e){t=this.$wrapper.scrollTop();this._setScrollPosition(t?t:this._getSnappingHeight())}else{this._toggleHeaderVisibility(false);this._moveHeaderToTitleArea()}}this._updateToggleHeaderVisualIndicators();this._updateTitleVisualState();if(P(i)&&i._setLandmarkInfo){i._setLandmarkInfo(this.getLandmarkInfo())}};A.prototype.exit=function(){this._detachResizeHandlers();if(this._oScrollHelper){this._oScrollHelper.destroy()}if(this._oStickyHeaderObserver){this._oStickyHeaderObserver.disconnect()}if(this._oHeaderObserver){this._oHeaderObserver.disconnect()}if(this._oTitleObserver){this._oTitleObserver.disconnect()}if(this._oStickySubheader){this._oStickySubheader.removeEventDelegate(this._oSubHeaderAfterRenderingDelegate)}this._destroyInvisibleText()};A.prototype.setShowFooter=function(e){var t=this.setProperty(\"showFooter\",e,true);this._toggleFooter(e);return t};A.prototype.setHeader=function(e){var t=this.getHeader();if(e===t){return this}this._detachHeaderEventListeners();return this.setAggregation(\"header\",e)};A.prototype.destroyHeader=function(){this._detachHeaderEventListeners();return this.destroyAggregation(\"header\")};A.prototype.destroyFooter=function(){this._destroyInvisibleText();return this.destroyAggregation(\"footer\")};A.prototype._detachHeaderEventListeners=function(){var e=this.getHeader();if(e){if(this._oStickyHeaderObserver){this._oStickyHeaderObserver.disconnect()}if(this._oHeaderObserver){this._oHeaderObserver.disconnect()}this._deRegisterResizeHandler(A.RESIZE_HANDLER_ID.HEADER);e.detachEvent(A.EVENTS.PIN_UNPIN_PRESS,this._onPinUnpinButtonPress);this._bAlreadyAttachedPinPressHandler=false;e.detachEvent(A.EVENTS.HEADER_VISUAL_INDICATOR_PRESS,this._onCollapseHeaderVisualIndicatorPress);this._bAlreadyAttachedHeaderIndicatorPressHandler=false;e.detachEvent(A.EVENTS.VISUAL_INDICATOR_MOUSE_OVER,this._onVisualIndicatorMouseOver);e.detachEvent(A.EVENTS.VISUAL_INDICATOR_MOUSE_OUT,this._onVisualIndicatorMouseOut);this._bAlreadyAttachedVisualIndicatorMouseOverOutHandler=false;this._bAlreadyAttachedStickyHeaderObserver=false;this._bAlreadyAttachedHeaderObserver=false}};A.prototype.setStickySubheaderProvider=function(e){var t,i=this.getStickySubheaderProvider();if(e===i){return this}t=n.getElementById(i);if(this._oStickySubheader&&t){t._returnStickyContent();t._setStickySubheaderSticked(false);this._oStickySubheader.removeEventDelegate(this._oSubHeaderAfterRenderingDelegate);this._bAlreadyAddedStickySubheaderAfterRenderingDelegate=false;this._oStickySubheader=null}this.setAssociation(\"stickySubheaderProvider\",e);return this};A.prototype.setHeaderExpanded=function(e){e=this.validateProperty(\"headerExpanded\",e);if(this._bPinned){return this}if(this.getHeaderExpanded()===e){return this}if(this.getDomRef()){this._titleExpandCollapseWhenAllowed()}this.setProperty(\"headerExpanded\",e,true);this._updatePinButtonState();return this};A.prototype.setToggleHeaderOnTitleClick=function(e){var t=this.getHeaderExpanded(),i=this.setProperty(\"toggleHeaderOnTitleClick\",e,true);e=this.getProperty(\"toggleHeaderOnTitleClick\");this._updateTitleVisualState();this._updateToggleHeaderVisualIndicators();this._updateARIAStates(t);return i};A.prototype.setFitContent=function(e){var t=this.setProperty(\"fitContent\",e,true);if(P(this.$())){this._toggleScrollingStyles()}return t};A.prototype.getScrollDelegate=function(){return this._oScrollHelper};A.prototype._overridePreserveHeaderStateOnScroll=function(){if(this.$().width()===0||this.$().height()===0){return}var e=this._headerBiggerThanAllowedHeight,t;this._headerBiggerThanAllowedHeight=this._headerBiggerThanAllowedToBeFixed();t=e!==this._headerBiggerThanAllowedHeight;if(!this._headerBiggerThanAllowedHeight||!t){return}if(this.getHeaderExpanded()){this._moveHeaderToContentArea()}else{this._adjustSnap()}this._updateTitlePositioning()};A.prototype._toggleFooter=function(e){var t=this.getFooter(),i,a;if(!P(this.$())||!P(t)||!P(this.$footerWrapper)){return}a=r.getAnimationMode();i=a!==d.AnimationMode.none&&a!==d.AnimationMode.minimal;if(P(this.$contentFitContainer)){this.$contentFitContainer.toggleClass(\"sapFDynamicPageContentFitContainerFooterVisible\",e)}this.$().toggleClass(\"sapFDynamicPageFooterVisible\",e);if(i){this._toggleFooterAnimation(e,t)}else{this.$footerWrapper.toggleClass(\"sapUiHidden\",!e)}this._updateTitlePositioning()};A.prototype._toggleFooterAnimation=function(e,t){this.$footerWrapper.on(\"webkitAnimationEnd animationend\",this._onToggleFooterAnimationEnd.bind(this,t));if(e){this.$footerWrapper.removeClass(\"sapUiHidden\")}t.toggleStyleClass(A.SHOW_FOOTER_CLASS_NAME,e);t.toggleStyleClass(A.HIDE_FOOTER_CLASS_NAME,!e)};A.prototype._onToggleFooterAnimationEnd=function(e){this.$footerWrapper.off(\"webkitAnimationEnd animationend\");if(e.hasStyleClass(A.HIDE_FOOTER_CLASS_NAME)){this.$footerWrapper.addClass(\"sapUiHidden\");e.removeStyleClass(A.HIDE_FOOTER_CLASS_NAME)}else{e.removeStyleClass(A.SHOW_FOOTER_CLASS_NAME)}};A.prototype._toggleHeaderInTabChain=function(e){var t=this.getTitle(),i=this.getHeader();if(!P(t)||!P(i)){return}i.$().css(\"visibility\",e?\"visible\":\"hidden\");i.$().css(\"height\",e?\"\":this._getHeaderHeight()+\"px\");i.$().css(\"overflow\",e?\"\":\"hidden\")};A.prototype._snapHeader=function(e,t){var i=this.getTitle();if(this._bPinned&&!t){H.debug(\"DynamicPage :: aborted snapping, header is pinned\",this);return}H.debug(\"DynamicPage :: snapped header\",this);if(this._bPinned&&t){this._unPin(t);this._togglePinButtonPressedState(false)}if(P(i)){i._toggleState(false,t);if(e&&this._bHeaderInTitleArea){this._moveHeaderToContentArea(true)}}if(!P(this.$titleArea)){H.warning(\"DynamicPage :: couldn't snap header. There's no title.\",this);return}this.setProperty(\"headerExpanded\",false,true);this._bIsLastToggleUserInitiated=!!t;this._adjustStickyContent();if(this._hasVisibleTitleAndHeader()){this.$titleArea.addClass(_.system.phone&&i.getSnappedTitleOnMobile()?\"sapFDynamicPageTitleSnappedTitleOnMobile\":\"sapFDynamicPageTitleSnapped\");this._updateToggleHeaderVisualIndicators();this._togglePinButtonVisibility(false);this._updateTitlePositioning()}this._toggleHeaderInTabChain(false);this._updateARIAStates(false);this._toggleHeaderBackground(true)};A.prototype._expandHeader=function(e,t){var i=this.getTitle();H.debug(\"DynamicPage :: expand header\",this);if(P(i)){i._toggleState(true,t);if(e){this._moveHeaderToTitleArea(true)}}if(!P(this.$titleArea)){H.warning(\"DynamicPage :: couldn't expand header. There's no title.\",this);return}this.setProperty(\"headerExpanded\",true,true);this._bIsLastToggleUserInitiated=!!t;this._adjustStickyContent();if(this._hasVisibleTitleAndHeader()){this.$titleArea.removeClass(_.system.phone&&i.getSnappedTitleOnMobile()?\"sapFDynamicPageTitleSnappedTitleOnMobile\":\"sapFDynamicPageTitleSnapped\");this._updateToggleHeaderVisualIndicators();if(!this.getPreserveHeaderStateOnScroll()&&!this._headerBiggerThanAllowedToPin()){this._togglePinButtonVisibility(true)}this._updateTitlePositioning()}this._toggleHeaderInTabChain(true);this._updateARIAStates(true);this._toggleHeaderBackground(false)};A.prototype._toggleHeaderVisibility=function(e,t){var i=this.getHeaderExpanded(),r=this.getTitle(),a=this.getHeader();if(this._bPinned&&!t){H.debug(\"DynamicPage :: header toggle aborted, header is pinned\",this);return}if(P(r)){r._toggleState(i)}if(P(a)){a.$().toggleClass(\"sapFDynamicPageHeaderHidden\",!e);this._updateTitlePositioning()}};A.prototype._toggleHeaderBackground=function(e){this.$headerInContentWrapper.toggleClass(\"sapFDynamicPageHeaderSolid\",e)};A.prototype._moveHeaderToContentArea=function(e){var t=this.getHeader();if(P(t)){t.$().prependTo(this.$headerInContentWrapper);this._bHeaderInTitleArea=false;if(e){this._offsetContentOnMoveHeader()}this.fireEvent(\"_moveHeader\")}};A.prototype._moveHeaderToTitleArea=function(e){var t=this.getHeader();if(P(t)){t.$().prependTo(this.$stickyPlaceholder);this._bHeaderInTitleArea=true;if(e){this._offsetContentOnMoveHeader()}this.fireEvent(\"_moveHeader\")}};A.prototype._offsetContentOnMoveHeader=function(){var e=Math.ceil(this._getHeaderHeight()),t=this.$wrapper.scrollTop(),i;if(!e){return}i=this._bHeaderInTitleArea?t-e:t+e;i=Math.max(i,0);this._setScrollPosition(i,true)};A.prototype._isHeaderPinnable=function(){var e=this.getHeader();return e&&e.getPinnable()&&this.getHeaderExpanded()&&!this.getPreserveHeaderStateOnScroll()};A.prototype._updatePinButtonState=function(){var e=this.getHeaderPinned()&&this._isHeaderPinnable();this._togglePinButtonPressedState(e);if(e){this._pin()}else{this._unPin()}};A.prototype._pin=function(e){if(this._bPinned){return}this._bPinned=true;if(e){this.setProperty(\"headerPinned\",true,true);this.fireEvent(\"pinnedStateChange\",{pinned:true})}if(!this._bHeaderInTitleArea){this._moveHeaderToTitleArea(true);this._adjustStickyContent();this._updateTitlePositioning()}this._updateToggleHeaderVisualIndicators();this.addStyleClass(\"sapFDynamicPageHeaderPinned\")};A.prototype._unPin=function(e){if(!this._bPinned){return}this._bPinned=false;if(e){this.setProperty(\"headerPinned\",false,true);this.fireEvent(\"pinnedStateChange\",{pinned:false})}this._updateToggleHeaderVisualIndicators();this.removeStyleClass(\"sapFDynamicPageHeaderPinned\")};A.prototype._togglePinButtonVisibility=function(e){var t=this.getHeader();if(P(t)){t._setShowPinBtn(e)}};A.prototype._togglePinButtonPressedState=function(e){var t=this.getHeader();if(P(t)){t._togglePinButton(e)}};A.prototype._showHidePinButton=function(){this._togglePinButtonVisibility(!this._preserveHeaderStateOnScroll())};A.prototype._isHeaderPinnable=function(){var e=this.getHeader();return e&&e.getPinnable()&&this.getHeaderExpanded()&&!this.getPreserveHeaderStateOnScroll()};A.prototype._restorePinButtonFocus=function(){this.getHeader()._focusPinButton()};A.prototype._getScrollPosition=function(){return P(this.$wrapper)?Math.ceil(this.$wrapper.scrollTop()):0};A.prototype._setAriaRoleDescription=function(e){this._sAriaRoleDescription=e;return this};A.prototype._getAriaRoleDescription=function(){return this._sAriaRoleDescription};A.prototype._setScrollPosition=function(e,t){if(!P(this.$wrapper)){return}if(this._getScrollPosition()===e){return}if(t){this._bSuppressToggleHeaderOnce=true}if(!this.getScrollDelegate()._$Container){this.getScrollDelegate()._$Container=this.$wrapper}this.getScrollDelegate().scrollTo(0,e)};A.prototype._shouldSnapOnScroll=function(){return!this._preserveHeaderStateOnScroll()&&this._getScrollPosition()>=this._getSnappingHeight()&&this.getHeaderExpanded()&&!this._bPinned};A.prototype._shouldExpandOnScroll=function(){var e=this._needsVerticalScrollBar(),t=this._getScrollPosition(),i=t===0||t<this._getSnappingHeight();return!this._preserveHeaderStateOnScroll()&&i&&!this.getHeaderExpanded()&&!this._bPinned&&e};A.prototype._shouldStickStickyContent=function(){return!this.getHeaderExpanded()||this._preserveHeaderStateOnScroll()||this._bHeaderInTitleArea};A.prototype._headerScrolledOut=function(){return this._getScrollPosition()>=this._getSnappingHeight()};A.prototype._headerSnapAllowed=function(){return!this._preserveHeaderStateOnScroll()&&this.getHeaderExpanded()&&!this._bPinned};A.prototype._canSnapHeaderOnScroll=function(){return this._getMaxScrollPosition()>this._getSnappingHeight()};A.prototype._getSnappingHeight=function(){var e=this.getTitle(),t=e&&e.$expandWrapper,i=e&&e.$snappedWrapper,r=e&&e.$expandHeadingWrapper,a=e&&e.$snappedHeadingWrapper,s=t&&t.length?t.height():0,n=a&&a.length?a.height():0,o=r&&r.length?r.height():0,l=i&&i.length?i.height():0,d=Math.ceil(this._getHeaderHeight()||s+l+n+o)-A.HEADER_CONTENT_PADDING_BOTTOM;return d>0?d:0};A.prototype._getMaxScrollPosition=function(){var e,t;if(P(this.$wrapper)){e=this.$wrapper[0];t=Math.max(e.clientHeight,Math.ceil(e.getBoundingClientRect().height));return e.scrollHeight-t}return 0};A.prototype._needsVerticalScrollBar=function(){return Math.floor(this._getMaxScrollPosition())>1};A.prototype._getOwnHeight=function(){return this._getHeight(this)};A.prototype._getEntireHeaderHeight=function(){var e=0,t=0,i=this.getTitle(),r=this.getHeader();if(P(i)){e=i.$().outerHeight()}if(P(r)){t=r.$().outerHeight()}return e+t};A.prototype._headerBiggerThanAllowedToPin=function(e){if(!(typeof e===\"number\"&&!isNaN(parseInt(e)))){e=this._getOwnHeight()}return this._getEntireHeaderHeight()>A.HEADER_MAX_ALLOWED_PINNED_PERCENTAGE*e};A.prototype._headerBiggerThanAllowedToBeFixed=function(){var e=this._getOwnHeight();return this._getEntireHeaderHeight()>A.HEADER_MAX_ALLOWED_NON_SROLLABLE_PERCENTAGE*e};A.prototype._headerBiggerThanAllowedToBeExpandedInTitleArea=function(){var e=this._getEntireHeaderHeight(),t=this._getOwnHeight();if(t===0){return false}return _.system.phone?e>=A.HEADER_MAX_ALLOWED_NON_SROLLABLE_ON_MOBILE*t:e>=t};A.prototype._updateTitlePositioning=function(){if(!P(this.$wrapper)||!P(this.$titleArea)||this._getHeight(this)===0){return}var e=this._needsVerticalScrollBar(),i=this.$wrapper.get(0),r=this.$titleArea.get(0).getBoundingClientRect().height,a=this._getTitleAreaWidth(),s=c().width,n;i.style.paddingTop=r+\"px\";i.style.scrollPaddingTop=r+\"px\";this._oScrollHelper.setScrollPaddingTop(r);n=\"polygon(0px \"+Math.floor(r)+\"px, \"+a+\"px \"+Math.floor(r)+\"px, \"+a+\"px 0, 100% 0, 100% 100%, 0 100%)\";if(t.getRTL()){n=\"polygon(0px 0px, \"+s+\"px 0px, \"+s+\"px \"+r+\"px, 100% \"+r+\"px, 100% 100%, 0 100%)\"}i.style.clipPath=n;this.toggleStyleClass(\"sapFDynamicPageWithScroll\",e);setTimeout(this._toggleScrollingStyles.bind(this),0)};A.prototype._toggleScrollingStyles=function(e){var t=typeof e!==\"undefined\"?!e:!this._needsVerticalScrollBar();this.toggleStyleClass(\"sapFDynamicPageWithScroll\",!t);this.$contentFitContainer.toggleClass(\"sapFDynamicPageContentFitContainer\",t)};A.prototype._updateHeaderARIAState=function(e){var t=this.getHeader();if(P(t)){t._updateARIAState(e)}};A.prototype._updateTitleARIAState=function(e){var t=this.getTitle();if(P(t)){t._updateARIAState(e)}};A.prototype._updateARIAStates=function(e){this._updateHeaderARIAState(e);this._updateTitleARIAState(e)};A.prototype._initRangeSet=function(){if(!_.media.hasRangeSet(A.MEDIA_RANGESET_NAME)){_.media.initRangeSet(A.MEDIA_RANGESET_NAME,[A.BREAK_POINTS.PHONE,A.BREAK_POINTS.TABLET,A.BREAK_POINTS.DESKTOP],\"px\",[\"phone\",\"tablet\",\"desktop\"])}};A.prototype._onMediaRangeChange=function(){var e=this._getMediaContainerWidth();this._updateMedia(e)};A.prototype._updateMedia=function(e){if(!e){return}if(e<=A.BREAK_POINTS.PHONE){this._updateMediaStyle(A.MEDIA.PHONE)}else if(e<=A.BREAK_POINTS.TABLET){this._updateMediaStyle(A.MEDIA.TABLET)}else if(e<=A.BREAK_POINTS.DESKTOP){this._updateMediaStyle(A.MEDIA.DESKTOP)}else{this._updateMediaStyle(A.MEDIA.DESKTOP_XL)}};A.prototype._updateMediaStyle=function(e){Object.keys(A.MEDIA).forEach(function(t){var i=e===A.MEDIA[t];this.toggleStyleClass(A.MEDIA[t],i)},this)};A.prototype._toggleExpandVisualIndicator=function(e){var t=this.getTitle();if(P(t)){t._toggleExpandButton(e)}};A.prototype._focusExpandVisualIndicator=function(){var e=this.getTitle();if(P(e)){e._focusExpandButton()}};A.prototype._toggleCollapseVisualIndicator=function(e){var t=this.getHeader();if(P(t)){t._toggleCollapseButton(e)}};A.prototype._focusCollapseVisualIndicator=function(){var e=this.getHeader();if(P(e)){e._focusCollapseButton()}};A.prototype._updateToggleHeaderVisualIndicators=function(){var e,t,i,r=this._hasVisibleTitleAndHeader(),a=this.getHeader(),s=false;if(P(a)){s=!!a.getContent().length}if(!this.getToggleHeaderOnTitleClick()||!r){t=false;i=false}else{e=this.getHeaderExpanded();t=e;i=_.system.phone&&this.getTitle().getAggregation(\"snappedTitleOnMobile\")?false:!e}i=i&&s;t=t&&s;this._toggleCollapseVisualIndicator(t);this._toggleExpandVisualIndicator(i);this._updateTitleVisualState()};A.prototype._updateHeaderVisualState=function(e,t){var i=this.getHeader();if(e&&this.getPreserveHeaderStateOnScroll()){this._overridePreserveHeaderStateOnScroll()}if(!this._preserveHeaderStateOnScroll()&&i){if(this._headerBiggerThanAllowedToPin(t)||_.system.phone){this._unPin();this._togglePinButtonVisibility(false);this._togglePinButtonPressedState(false)}else{this._togglePinButtonVisibility(true);this._updatePinButtonState()}if(this.getHeaderExpanded()&&this._bHeaderInTitleArea&&this._headerBiggerThanAllowedToBeExpandedInTitleArea()){this._expandHeader(false);this._setScrollPosition(0)}}else if(this._preserveHeaderStateOnScroll()&&i){this._togglePinButtonVisibility(false)}};A.prototype._updateTitleVisualState=function(){var e=this.getTitle(),t=this._hasVisibleTitleAndHeader()&&this.getToggleHeaderOnTitleClick();this.$().toggleClass(\"sapFDynamicPageTitleClickEnabled\",t&&!_.system.phone);if(P(e)){e._toggleFocusableState(t)}};A.prototype._scrollBellowCollapseVisualIndicator=function(){var e=this.getHeader(),t,i,r,a;if(P(e)){t=this.getHeader()._getCollapseButton().getDomRef();i=t.getBoundingClientRect().height;r=this.$wrapper[0].getBoundingClientRect().height;a=t.offsetTop+i-r+this._getTitleHeight();this._setScrollPosition(a)}};A.prototype._hasVisibleTitleAndHeader=function(){var e=this.getTitle();return P(e)&&e.getVisible()&&this._hasVisibleHeader()};A.prototype._hasVisibleHeader=function(){var e=this.getHeader();return P(e)&&e.getVisible()&&P(e.getContent())};A.prototype._getHeight=function(e){var t;if(!(e instanceof i)){return 0}t=e.getDomRef();return t?t.getBoundingClientRect().height:0};A.prototype._getWidth=function(e){return!(e instanceof i)?0:e.$().outerWidth()||0};A.prototype._getTitleAreaHeight=function(){return P(this.$titleArea)?this.$titleArea.outerHeight()||0:0};A.prototype._getTitleAreaWidth=function(){return P(this.$titleArea)?this.$titleArea.width()||0:0};A.prototype._getTitleHeight=function(){return this._getHeight(this.getTitle())};A.prototype._getHeaderHeight=function(){return this._getHeight(this.getHeader())};A.prototype._preserveHeaderStateOnScroll=function(){return this.getPreserveHeaderStateOnScroll()&&!this._headerBiggerThanAllowedHeight};A.prototype._cacheDomElements=function(){var e=this.getFooter();if(P(e)){this.$footer=e.$();this.$footerWrapper=this.$(\"footerWrapper\")}this.$wrapper=this.$(\"contentWrapper\");this.$headerInContentWrapper=this.$(\"headerWrapper\");this.$contentFitContainer=this.$(\"contentFitContainer\");this.$titleArea=this.$(\"header\");this.$stickyPlaceholder=this.$(\"stickyPlaceholder\");this._cacheTitleDom();this._cacheHeaderDom()};A.prototype._cacheTitleDom=function(){var e=this.getTitle();if(P(e)){this.$title=e.$()}};A.prototype._cacheHeaderDom=function(){var e=this.getHeader();if(P(e)){this.$header=e.$()}};A.prototype._adjustSnap=function(){var e,t,i,r,a,s,n=this.$();if(!P(n)){return}if(!v(n[0])){return}e=this.getHeader();t=!this.getHeaderExpanded();if(!e||!t){return}i=!this._preserveHeaderStateOnScroll()&&this._canSnapHeaderOnScroll();r=t&&e.$().hasClass(\"sapFDynamicPageHeaderHidden\");if(i&&r){this._toggleHeaderVisibility(true);this._moveHeaderToContentArea(true);return}if(!i&&!r){this._moveHeaderToTitleArea(true);this._toggleHeaderVisibility(false);return}if(i){a=this._getScrollPosition();s=this._getSnappingHeight();if(a<s){this._setScrollPosition(s)}}};A.prototype.ontouchmove=function(e){e.setMarked()};A.prototype._onChildControlAfterRendering=function(e){var t=e.srcControl;if(t instanceof u){this._cacheTitleDom();this._deRegisterResizeHandler(A.RESIZE_HANDLER_ID.TITLE);this._registerResizeHandler(A.RESIZE_HANDLER_ID.TITLE,this.$title[0],this._onChildControlsHeightChange.bind(this))}else if(t instanceof f&&t.getDomRef()!==this.$header.get(0)){this._cacheHeaderDom();this._deRegisterResizeHandler(A.RESIZE_HANDLER_ID.HEADER);this._registerResizeHandler(A.RESIZE_HANDLER_ID.HEADER,this.$header[0],this._onChildControlsHeightChange.bind(this))}setTimeout(this._updateTitlePositioning.bind(this),0)};A.prototype._onChildControlsHeightChange=function(e){var t=this._needsVerticalScrollBar(),i=this.getHeader(),r,a;if(t){this._toggleScrollingStyles(t)}this._adjustSnap();if(!this._bExpandingWithAClick){this._updateTitlePositioning()}this._bExpandingWithAClick=false;if(i&&e.target.id===i.getId()){r=e.size.height;a=e.oldSize.height;this._updateHeaderVisualState(r!==a);this._adaptScrollPositionOnHeaderChange(r,a)}};A.prototype._onResize=function(e){var t=this.getTitle(),i=e.size.width,r=e.size.height,a=r!==e.oldSize.height;this._updateHeaderVisualState(a,r);if(P(t)){t._onResize(i)}if(this._shouldAutoExpandHeaderOnResize(e)){this._expandHeader(true,false);this.getHeader().$().removeClass(\"sapFDynamicPageHeaderHidden\")}this._adjustSnap();this._updateTitlePositioning();this._updateMedia(i)};A.prototype._shouldAutoExpandHeaderOnResize=function(e){var t=this.getHeader(),i=P(t)&&!this.getHeaderExpanded()&&this._bIsLastToggleUserInitiated,r=e.target===this.getDomRef(),a=this._canSnapHeaderOnScroll.bind(this);return!this._preserveHeaderStateOnScroll()&&i&&r&&!this.getToggleHeaderOnTitleClick()&&!a()};A.prototype._toggleHeaderOnScroll=function(){if(this._bSuppressToggleHeaderOnce){this._bSuppressToggleHeaderOnce=false;return}if(_.system.desktop&&this._bExpandingWithAClick){return}if(this._preserveHeaderStateOnScroll()){return}if(this._shouldSnapOnScroll()){this._snapHeader(true,true)}else if(this._shouldExpandOnScroll()){this._expandHeader(false,true);this._toggleHeaderVisibility(true)}else if(!this._bPinned&&this._bHeaderInTitleArea){var e=this._getScrollPosition()>=this._getSnappingHeight();this._moveHeaderToContentArea(e);this._adjustStickyContent();this._updateTitlePositioning()}};A.prototype._adjustStickyContent=function(){if(!this._oStickySubheader){return}var e,t=this._shouldStickStickyContent(),i,r=this.getStickySubheaderProvider();if(t===this._bStickySubheaderInTitleArea){return}i=n.getElementById(r);if(!P(i)){return}e=document.activeElement;i._setStickySubheaderSticked(t);if(t){this._oStickySubheader.$().appendTo(this.$stickyPlaceholder)}else{i._returnStickyContent()}e.focus();this._bStickySubheaderInTitleArea=t};A.prototype._adaptScrollPositionOnHeaderChange=function(e,t){var i=e-t,r=this.getHeader();if(i&&(!this.getHeaderExpanded()&&r.$().css(\"visibility\")!==\"hidden\")&&!this._bHeaderInTitleArea&&this._needsVerticalScrollBar()){this._setScrollPosition(this._getScrollPosition()+i)}};A.prototype._onTitlePress=function(){if(this.getToggleHeaderOnTitleClick()&&this._hasVisibleTitleAndHeader()){if(!this.getHeaderExpanded()&&this._headerBiggerThanAllowedToBeExpandedInTitleArea()&&!this._preserveHeaderStateOnScroll()){this._moveHeaderToContentArea(true)}this._titleExpandCollapseWhenAllowed(true);this.getTitle()._focus()}};A.prototype._onExpandHeaderVisualIndicatorPress=function(){this._onTitlePress();if(this._headerBiggerThanAllowedToBeExpandedInTitleArea()){this._scrollBellowCollapseVisualIndicator()}this._focusCollapseVisualIndicator()};A.prototype._onCollapseHeaderVisualIndicatorPress=function(){this._onTitlePress();this._focusExpandVisualIndicator()};A.prototype._onVisualIndicatorMouseOver=function(){var e=this.$();if(P(e)){e.addClass(\"sapFDynamicPageTitleForceHovered\")}};A.prototype._onVisualIndicatorMouseOut=function(){var e=this.$();if(P(e)){e.removeClass(\"sapFDynamicPageTitleForceHovered\")}};A.prototype._onTitleMouseOver=A.prototype._onVisualIndicatorMouseOver;A.prototype._onTitleMouseOut=A.prototype._onVisualIndicatorMouseOut;A.prototype._titleExpandCollapseWhenAllowed=function(e){var t,i;if(this._bPinned&&!e){return this}if(this._preserveHeaderStateOnScroll()||!this._canSnapHeaderOnScroll()||!this.getHeader()){if(!this.getHeaderExpanded()){this._expandHeader(false,e);this._toggleHeaderVisibility(true,e)}else{this._snapHeader(false,e);this._toggleHeaderVisibility(false,e)}}else if(!this.getHeaderExpanded()){t=!this._headerBiggerThanAllowedToBeExpandedInTitleArea();this._bExpandingWithAClick=true;this._expandHeader(t,e);this.getHeader().$().removeClass(\"sapFDynamicPageHeaderHidden\");if(!t){this._setScrollPosition(0)}this._bExpandingWithAClick=false}else{var r=this._bHeaderInTitleArea;this._snapHeader(r,e);if(!r){i=this._getSnappingHeight();this._setScrollPosition(i?i+A.HEADER_CONTENT_PADDING_BOTTOM:0)}}};A.prototype._onPinUnpinButtonPress=function(){if(this._bPinned){this._unPin(true)}else{this._pin(true);this._restorePinButtonFocus()}};A.prototype._attachResizeHandlers=function(){var e=this._onChildControlsHeightChange.bind(this);this._registerResizeHandler(A.RESIZE_HANDLER_ID.PAGE,this,this._onResize.bind(this));if(P(this.$title)){this._registerResizeHandler(A.RESIZE_HANDLER_ID.TITLE,this.$title[0],e)}if(P(this.$header)){this._registerResizeHandler(A.RESIZE_HANDLER_ID.HEADER,this.$header[0],e)}if(P(this.$contentFitContainer)){this._registerResizeHandler(A.RESIZE_HANDLER_ID.CONTENT,this.$contentFitContainer[0],e)}};A.prototype._registerResizeHandler=function(e,t,i){if(!this[e]){this[e]=l.register(t,i)}};A.prototype._detachResizeHandlers=function(){this._deRegisterResizeHandler(A.RESIZE_HANDLER_ID.PAGE);this._deRegisterResizeHandler(A.RESIZE_HANDLER_ID.TITLE);this._deRegisterResizeHandler(A.RESIZE_HANDLER_ID.HEADER);this._deRegisterResizeHandler(A.RESIZE_HANDLER_ID.CONTENT)};A.prototype._deRegisterResizeHandler=function(e){if(this[e]){l.deregister(this[e]);this[e]=null}};A.prototype._attachPageChildrenAfterRenderingDelegates=function(){var e=this.getTitle(),t=this.getHeader(),i=this.getContent(),r=this._onChildControlAfterRendering.bind(this),a={onAfterRendering:r};if(P(e)){e.addEventDelegate(a)}if(P(i)){i.addEventDelegate(a)}if(P(t)){t.addEventDelegate(a)}};A.prototype._attachTitlePressHandler=function(){var e=this.getTitle();if(P(e)&&!this._bAlreadyAttachedTitlePressHandler){e.attachEvent(A.EVENTS.TITLE_PRESS,this._onTitlePress,this);this._bAlreadyAttachedTitlePressHandler=true}};A.prototype._attachPinPressHandler=function(){var e=this.getHeader();if(P(e)&&!this._bAlreadyAttachedPinPressHandler){e.attachEvent(A.EVENTS.PIN_UNPIN_PRESS,this._onPinUnpinButtonPress,this);this._bAlreadyAttachedPinPressHandler=true}};A.prototype._attachStickyHeaderObserver=function(){var e=this.getHeader();if(P(e)&&!this._bAlreadyAttachedStickyHeaderObserver){if(!this._oStickyHeaderObserver){this._oStickyHeaderObserver=new s(this._onHeaderPropertyChange.bind(this))}this._oStickyHeaderObserver.observe(e,{properties:[\"visible\"]});this._bAlreadyAttachedStickyHeaderObserver=true}};A.prototype._onHeaderPropertyChange=function(e){var t=this.getHeader();this._adjustStickyContent();if(t&&e.name===\"visible\"&&e.current===false){t.invalidate();this._updateTitlePositioning()}};A.prototype._attachHeaderObserver=function(){var e=this.getHeader();if(P(e)&&!this._bAlreadyAttachedHeaderObserver){if(!this._oHeaderObserver){this._oHeaderObserver=new s(this._onHeaderFieldChange.bind(this))}this._oHeaderObserver.observe(e,{aggregations:[\"content\"],properties:[\"visible\",\"pinnable\"]});this._bAlreadyAttachedHeaderObserver=true}};A.prototype._attachTitleObserver=function(){var e=this.getTitle();if(P(e)&&!this._bAlreadyAttachedTitleObserver){if(!this._oTitleObserver){this._oTitleObserver=new s(this._onTitleFieldChange.bind(this))}this._oTitleObserver.observe(e,{properties:[\"visible\"]});this._bAlreadyAttachedTitleObserver=true}};A.prototype._onHeaderFieldChange=function(e){if(e.type===\"property\"&&e.name===\"pinnable\"){this._updatePinButtonState();return}this._updateToggleHeaderVisualIndicators()};A.prototype._onTitleFieldChange=function(e){if(e.type===\"property\"&&e.name===\"visible\"){this.invalidate();return}};A.prototype._attachVisualIndicatorsPressHandlers=function(){var e=this.getTitle(),t=this.getHeader();if(P(e)&&!this._bAlreadyAttachedTitleIndicatorPressHandler){e.attachEvent(A.EVENTS.TITLE_VISUAL_INDICATOR_PRESS,this._onExpandHeaderVisualIndicatorPress,this);this._bAlreadyAttachedTitleIndicatorPressHandler=true}if(P(t)&&!this._bAlreadyAttachedHeaderIndicatorPressHandler){t.attachEvent(A.EVENTS.HEADER_VISUAL_INDICATOR_PRESS,this._onCollapseHeaderVisualIndicatorPress,this);this._bAlreadyAttachedHeaderIndicatorPressHandler=true}};A.prototype._addStickySubheaderAfterRenderingDelegate=function(){var e,t=this.getStickySubheaderProvider(),i;e=n.getElementById(t);if(P(e)&&!this._bAlreadyAddedStickySubheaderAfterRenderingDelegate){i=e.getMetadata().getInterfaces().indexOf(\"sap.f.IDynamicPageStickyContent\")!==-1;if(i){this._oStickySubheader=e._getStickyContent();this._oStickySubheader.addEventDelegate(this._oSubHeaderAfterRenderingDelegate,this);this._bAlreadyAddedStickySubheaderAfterRenderingDelegate=true;this._attachStickyHeaderObserver()}}};A.prototype._attachVisualIndicatorMouseOverHandlers=function(){var e=this.getHeader();if(P(e)&&!this._bAlreadyAttachedVisualIndicatorMouseOverOutHandler){e.attachEvent(A.EVENTS.VISUAL_INDICATOR_MOUSE_OVER,this._onVisualIndicatorMouseOver,this);e.attachEvent(A.EVENTS.VISUAL_INDICATOR_MOUSE_OUT,this._onVisualIndicatorMouseOut,this);this._bAlreadyAttachedVisualIndicatorMouseOverOutHandler=true}};A.prototype._attachTitleMouseOverHandlers=function(){var e=this.getTitle();if(P(e)&&!this._bAlreadyAttachedTitleMouseOverOutHandler){e.attachEvent(A.EVENTS.TITLE_MOUSE_OVER,this._onTitleMouseOver,this);e.attachEvent(A.EVENTS.TITLE_MOUSE_OUT,this._onTitleMouseOut,this);this._bAlreadyAttachedTitleMouseOverOutHandler=true}};A.prototype._attachScrollHandler=function(){this._toggleHeaderOnScrollReference=this._toggleHeaderOnScroll.bind(this);this.$wrapper.on(\"scroll\",this._toggleHeaderOnScrollReference)};A.prototype._toggleAdditionalNavigationClass=function(){var e=this._bStickySubheaderProviderExists();this.toggleStyleClass(A.NAVIGATION_CLASS_NAME,e)};A.prototype._bStickySubheaderProviderExists=function(){var e=n.getElementById(this.getStickySubheaderProvider());return!!e&&e.isA(\"sap.f.IDynamicPageStickyContent\")};A.prototype._detachScrollHandler=function(){if(this.$wrapper){this.$wrapper.off(\"scroll\",this._toggleHeaderOnScrollReference)}};A.prototype._formatLandmarkInfo=function(e,t){if(e){var i=e[\"get\"+t+\"Role\"]()||\"\",r=e[\"get\"+t+\"Label\"]()||\"\";if(i===b.None){i=\"\"}return{role:i.toLowerCase(),label:r}}return{}};A.prototype._getAccessibilityStateTitle=function(){var e=this._formatLandmarkInfo(this.getLandmarkInfo(),\"Header\"),t=this.getTitle();if(t){e.label=t._getTitleText()||e.label}return e};A.prototype._getHeaderTag=function(e){if(e&&e.getHeaderRole()!==b.None){return A.DIV}return A.HEADER};A.prototype._getFooterTag=function(e){if(e&&e.getFooterRole()!==b.None){return A.DIV}return A.FOOTER};A.prototype._setFooterAriaLabelledBy=function(){var e=this.getFooter();if(e&&!e.getAriaLabelledBy().length){this._oInvisibleText=new h({id:e.getId()+\"-FooterActions-InvisibleText\",text:o.getResourceBundleFor(\"sap.f\").getText(A.ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS)}).toStatic();e.addAriaLabelledBy(this._oInvisibleText)}};A.prototype._destroyInvisibleText=function(){if(this._oInvisibleText){this._oInvisibleText.destroy();this._oInvisibleText=null}};return A});\n//# sourceMappingURL=DynamicPage.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"./library\",\"sap/ui/Device\",\"sap/ui/core/Control\",\"sap/ui/core/Lib\",\"sap/ui/core/library\",\"sap/ui/core/IconPool\",\"sap/ui/core/theming/Parameters\",\"sap/m/ToggleButton\",\"sap/m/Button\",\"./DynamicPageHeaderRenderer\",\"sap/ui/core/InvisibleMessage\"],function(t,e,n,o,i,s,a,r,u,p,l){\"use strict\";var g=i.InvisibleMessageMode;var _=n.extend(\"sap.f.DynamicPageHeader\",{metadata:{library:\"sap.f\",properties:{pinnable:{type:\"boolean\",group:\"Appearance\",defaultValue:true},backgroundDesign:{type:\"sap.m.BackgroundDesign\",group:\"Appearance\"}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true},_pinButton:{type:\"sap.m.Button\",multiple:false,visibility:\"hidden\"},_collapseButton:{type:\"sap.m.Button\",multiple:false,visibility:\"hidden\"}},designtime:\"sap/f/designtime/DynamicPageHeader.designtime\"},renderer:p});_._getResourceBundle=function(){return o.getResourceBundleFor(\"sap.f\")};_.UNPRESSED_PIN_ICON=\"sap-icon://pushpin-off\";_.ARIA={ARIA_CONTROLS:\"aria-controls\",ARIA_LABEL:\"aria-label\",LABEL_EXPANDED:_._getResourceBundle().getText(\"EXPANDED_HEADER\"),LABEL_COLLAPSED:_._getResourceBundle().getText(\"SNAPPED_HEADER\"),LABEL_PINNED:_._getResourceBundle().getText(\"PIN_HEADER\"),TOOLTIP_COLLAPSE_BUTTON:_._getResourceBundle().getText(\"COLLAPSE_HEADER_BUTTON_TOOLTIP\"),STATE_TRUE:\"true\",STATE_FALSE:\"false\"};_.prototype.init=function(){this._bShowCollapseButton=true;this._oInvisibleMessage=null;this._oLandmarkInfo=null;this._bExpanded=true};_.prototype.onAfterRendering=function(){this._initPinButtonARIAState();if(!this._oInvisibleMessage){this._oInvisibleMessage=l.getInstance()}if(this.getPinnable()){this._setPressedStatePinIcon()}this._applyAriaAttributes()};_.prototype._togglePinButton=function(t){this._getPinButton().setPressed(t);this._getPinButton().setIcon(t?this._sPressedStatePinIconURI:_.UNPRESSED_PIN_ICON)};_.prototype._setShowPinBtn=function(t){this._getPinButton().toggleStyleClass(\"sapUiHidden\",!t)};_.prototype._pinUnpinFireEvent=function(t){this.fireEvent(\"_pinUnpinPress\");this._togglePinButton(t.getSource().getPressed())};_.prototype._onCollapseButtonPress=function(){this.fireEvent(\"_headerVisualIndicatorPress\")};_.prototype._onCollapseButtonMouseOver=function(){this.fireEvent(\"_visualIndicatorMouseOver\")};_.prototype._onCollapseButtonMouseOut=function(){this.fireEvent(\"_visualIndicatorMouseOut\")};_.prototype._applyAriaAttributes=function(){var t=this.$(),e=this._oLandmarkInfo&&this._oLandmarkInfo.getHeaderContentLabel();if(this._bExpanded){if(e){var n=this._oLandmarkInfo.getHeaderContentLabel();t.attr(_.ARIA.ARIA_LABEL,n)}else{t.attr(_.ARIA.ARIA_LABEL,_.ARIA.LABEL_EXPANDED)}}else{t.attr(_.ARIA.ARIA_LABEL,_.ARIA.LABEL_COLLAPSED)}};_.prototype._setLandmarkInfo=function(t){this._oLandmarkInfo=t;this._applyAriaAttributes()};_.prototype._initPinButtonARIAState=function(){var t;if(this.getPinnable()){t=this._getPinButtonJQueryRef();t.attr(_.ARIA.ARIA_CONTROLS,this.getId())}};_.prototype._updateARIAState=function(t){this._bExpanded=t;this._applyAriaAttributes()};_.prototype._getPinButton=function(){if(!this.getAggregation(\"_pinButton\")){var t=new r({id:this.getId()+\"-pinBtn\",icon:_.UNPRESSED_PIN_ICON,tooltip:_.ARIA.LABEL_PINNED,press:this._pinUnpinFireEvent.bind(this)}).addStyleClass(\"sapFDynamicPageHeaderPinButton\");this.setAggregation(\"_pinButton\",t,true)}return this.getAggregation(\"_pinButton\")};_.prototype._getCollapseButton=function(){if(!this.getAggregation(\"_collapseButton\")){var t=new u({id:this.getId()+\"-collapseBtn\",icon:\"sap-icon://slim-arrow-up\",press:this._onCollapseButtonPress.bind(this),tooltip:_.ARIA.TOOLTIP_COLLAPSE_BUTTON}).addStyleClass(\"sapFDynamicPageToggleHeaderIndicator\");t.onmouseover=this._onCollapseButtonMouseOver.bind(this);t.onmouseout=this._onCollapseButtonMouseOut.bind(this);this.setAggregation(\"_collapseButton\",t,true)}return this.getAggregation(\"_collapseButton\")};_.prototype._toggleCollapseButton=function(t){this._setShowCollapseButton(t);this._getCollapseButton().toggleStyleClass(\"sapUiHidden\",!t)};_.prototype._getShowCollapseButton=function(){return this._bShowCollapseButton&&!!this.getContent().length};_.prototype._setShowCollapseButton=function(t){this._bShowCollapseButton=!!t};_.prototype._focusCollapseButton=function(){var t=_._getResourceBundle().getText(\"EXPANDED_HEADER\");this._getCollapseButton().$().trigger(\"focus\");this._oInvisibleMessage.announce(t,g.Polite)};_.prototype._focusPinButton=function(){this._getPinButtonJQueryRef().trigger(\"focus\")};_.prototype._getPinButtonJQueryRef=function(){return this._getPinButton().$()};_.prototype._getState=function(){var t=this.getContent(),n=t.length>0,o=this.getPinnable()&&n&&!e.system.phone,i=this._getPinButton(),s=this._getCollapseButton();s.toggleStyleClass(\"sapUiHidden\",!this._getShowCollapseButton());return{content:t,headerHasContent:n,headerPinnable:o,hasContent:t.length>0,pinButton:i,collapseButton:s}};_.prototype.onThemeChanged=function(){var t=this._getPinButton();this._setPressedStatePinIcon();t.setIcon(t.getPressed()?this._sPressedStatePinIconURI:_.UNPRESSED_PIN_ICON)};_.prototype._setPressedStatePinIcon=function(){this._sPressedStatePinIconURI=s.getIconURI(a.get({name:\"_sap_f_DynamicPageHeader_PinButton_Icon\"}))};return _});\n//# sourceMappingURL=DynamicPageHeader.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"./library\",\"sap/ui/Device\"],function(e,n){\"use strict\";var a={apiVersion:2};a.render=function(e,n){var a=n._getState(),i=\"sapFDynamicPageTitle\",t=n.getBackgroundDesign(),r=n._getARIALabelReferences(n._bExpandedState),d=n._getAriaDescribedByReferences();e.openStart(\"div\",n);e.class(i);if(t){e.class(i+t)}e.openEnd();e.openStart(\"span\",n.getId()+\"-focusSpan\").class(\"sapFDynamicPageTitleFocusSpan\").attr(\"role\",\"button\").attr(\"aria-expanded\",n._bExpandedState).attr(\"aria-labelledby\",r).attr(\"aria-describedby\",d).attr(\"tabindex\",0);e.openEnd().close(\"span\");this._renderTopArea(e,a);this._renderMainArea(e,a);this._renderSnappedExpandedContentArea(e,a);if(a.hasSnappedTitleOnMobile){this._renderSnappedTitleOnMobile(e,a)}e.renderControl(a.expandButton);e.close(\"div\")};a._renderTopArea=function(e,n){if(n.hasTopContent){e.openStart(\"div\",n.id+\"-top\");e.class(\"sapFDynamicPageTitleTop\");if(n.hasOnlyBreadcrumbs){e.class(\"sapFDynamicPageTitleTopBreadCrumbsOnly\")}if(n.hasOnlyNavigationActions){e.class(\"sapFDynamicPageTitleTopNavActionsOnly\")}e.openEnd();this._renderTopBreadcrumbsArea(e,n);this._renderTopNavigationArea(e,n);e.close(\"div\")}};a._renderTopBreadcrumbsArea=function(e,n){if(n.breadcrumbs){e.openStart(\"div\",n.id+\"-breadcrumbs\");e.class(\"sapFDynamicPageTitleTopLeft\");e.openEnd();e.renderControl(n.breadcrumbs);e.close(\"div\")}};a._renderTopNavigationArea=function(e,n){if(n.hasNavigationActions){e.openStart(\"div\",n.id+\"-topNavigationArea\");e.class(\"sapFDynamicPageTitleTopRight\");e.openEnd();e.close(\"div\")}};a._renderMainArea=function(e,n){e.openStart(\"div\",n.id+\"-main\");e.class(\"sapFDynamicPageTitleMain\");if(!n.hasContent){e.class(\"sapFDynamicPageTitleMainNoContent\")}e.openEnd();e.openStart(\"div\");e.class(\"sapFDynamicPageTitleMainInner\");e.openEnd();this._renderMainHeadingArea(e,n);this._renderMainContentArea(e,n);this._renderMainActionsArea(e,n);e.close(\"div\");this._renderMainNavigationArea(e,n);e.close(\"div\")};a._renderMainHeadingArea=function(e,n){e.openStart(\"div\",n.id+\"-left-inner\");e.class(\"sapFDynamicPageTitleMainHeading\");e.style(\"flex-shrink\",n.headingAreaShrinkFactor.toString());e.openEnd();e.openStart(\"div\");e.class(\"sapFDynamicPageTitleHeading-CTX\");e.class(\"sapFDynamicPageTitleMainHeadingInner\");e.openEnd();if(n.heading){e.renderControl(n.heading)}else{if(n.snappedHeading){a._renderSnappedHeading(e,n)}if(n.expandedHeading){a._renderExpandHeading(e,n)}}e.close(\"div\");e.close(\"div\")};a._renderMainContentArea=function(e,n){e.openStart(\"div\",n.id+\"-content\");e.class(\"sapFDynamicPageTitleMainContent\");e.class(\"sapFDynamicPageTitleContent-CTX\");e.style(\"flex-shrink\",n.contentAreaShrinkFactor.toString());if(n.contentAreaMinWidth){e.style(\"min-width\",n.contentAreaMinWidth)}if(n.contentAreaHasContent){e.class(\"sapFDynamicPageTitleMainContentHasContent\")}e.openEnd();n.content.forEach(e.renderControl,e);e.close(\"div\")};a._renderMainActionsArea=function(e,n){e.openStart(\"div\",n.id+\"-mainActions\");e.class(\"sapFDynamicPageTitleMainActions\");e.style(\"flex-shrink\",n.actionsAreaShrinkFactor.toString());if(n.actionsAreaMinWidth){e.style(\"min-width\",n.actionsAreaMinWidth)}if(n.actionsAreaHasContent){e.class(\"sapFDynamicPageTitleMainActionsHasContent\")}e.openEnd();if(n.hasActions){e.renderControl(n.actionBar)}e.close(\"div\")};a._renderMainNavigationArea=function(e,n){if(n.hasNavigationActions){e.openStart(\"div\",n.id+\"-mainNavigationAreaWrapper\");e.class(\"sapFDynamicPageTitleMainNavigationArea\");e.openEnd();e.renderControl(n.separator);e.openStart(\"div\",n.id+\"-mainNavigationArea\");e.class(\"sapFDynamicPageTitleMainNavigationAreaInner\");e.openEnd();e.close(\"div\");e.close(\"div\")}};a._renderSnappedExpandedContentArea=function(e,n){if(n.hasAdditionalContent){e.openStart(\"div\");e.class(\"sapFDynamicPageTitleMainHeadingSnappedExpandContent\");e.openEnd();if(n.hasSnappedContent&&!n.hasSnappedTitleOnMobile){a._renderSnappedContent(e,n)}if(n.hasExpandedContent){a._renderExpandContent(e,n)}e.close(\"div\")}};a._renderExpandHeading=function(e,n){e.openStart(\"div\",n.id+\"-expand-heading-wrapper\");e.openEnd();e.renderControl(n.expandedHeading);e.close(\"div\")};a._renderSnappedHeading=function(e,a){e.openStart(\"div\",a.id+\"-snapped-heading-wrapper\");if(!a.isSnapped||a.hasSnappedTitleOnMobile&&n.system.phone){e.class(\"sapUiHidden\")}e.openEnd();e.renderControl(a.snappedHeading);e.close(\"div\")};a._renderExpandContent=function(e,n){e.openStart(\"div\",n.id+\"-expand-wrapper\");e.class(\"sapFDynamicPageTitleExpanded\");e.openEnd();n.expandedContent.forEach(e.renderControl,e);e.close(\"div\")};a._renderSnappedContent=function(e,n){e.openStart(\"div\",n.id+\"-snapped-wrapper\");if(!n.isSnapped){e.class(\"sapUiHidden\")}e.class(\"sapFDynamicPageTitleSnapped\");e.openEnd();n.snappedContent.forEach(e.renderControl,e);e.close(\"div\")};a._renderSnappedTitleOnMobile=function(e,n){e.openStart(\"div\",n.id+\"-snapped-title-on-mobile-wrapper\");if(!n.isSnapped){e.class(\"sapUiHidden\")}e.class(\"sapFDynamicPageTitleSnappedTitleOnMobile\");e.openEnd();e.renderControl(n.snappedTitleOnMobileContext);e.renderControl(n.snappedTitleOnMobileIcon);e.close(\"div\")};return a},true);\n//# sourceMappingURL=DynamicPageTitleRenderer.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"./library\",\"sap/ui/core/Lib\",\"sap/ui/core/library\",\"sap/ui/core/Control\",\"sap/ui/base/ManagedObjectObserver\",\"sap/m/library\",\"sap/m/Toolbar\",\"sap/m/ToolbarSeparator\",\"sap/m/OverflowToolbar\",\"sap/m/Button\",\"sap/ui/core/InvisibleText\",\"./DynamicPageTitleRenderer\",\"sap/base/Log\",\"sap/ui/core/Icon\",\"sap/ui/Device\",\"sap/ui/core/RenderManager\",\"sap/ui/events/KeyCodes\",\"sap/ui/core/InvisibleMessage\"],function(t,e,i,n,a,o,s,r,p,c,g,h,l,u,d,A,_,f){\"use strict\";var b=t.DynamicPageTitleArea;var y=o.ToolbarStyle;var v=i.InvisibleMessageMode;var T=n.extend(\"sap.f.DynamicPageTitle\",{metadata:{library:\"sap.f\",properties:{primaryArea:{type:\"sap.f.DynamicPageTitleArea\",group:\"Appearance\",defaultValue:b.Begin,deprecated:true},areaShrinkRatio:{type:\"sap.f.DynamicPageTitleShrinkRatio\",group:\"Appearance\",defaultValue:\"1:1.6:1.6\"},backgroundDesign:{type:\"sap.m.BackgroundDesign\",group:\"Appearance\"}},aggregations:{heading:{type:\"sap.ui.core.Control\",multiple:false},snappedHeading:{type:\"sap.ui.core.Control\",multiple:false},expandedHeading:{type:\"sap.ui.core.Control\",multiple:false},actions:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"action\"},navigationActions:{type:\"sap.m.Button\",multiple:true,singularName:\"navigationAction\"},content:{type:\"sap.ui.core.Control\",multiple:true},snappedContent:{type:\"sap.ui.core.Control\",multiple:true},expandedContent:{type:\"sap.ui.core.Control\",multiple:true},snappedTitleOnMobile:{type:\"sap.m.Title\",multiple:false},breadcrumbs:{type:\"sap.m.IBreadcrumbs\",multiple:false},_actionsToolbar:{type:\"sap.m.OverflowToolbar\",multiple:false,visibility:\"hidden\"},_navActionsToolbar:{type:\"sap.m.Toolbar\",multiple:false,visibility:\"hidden\"},_navActionsToolbarSeparator:{type:\"sap.m.ToolbarSeparator\",multiple:false,visibility:\"hidden\"},_expandButton:{type:\"sap.m.Button\",multiple:false,visibility:\"hidden\"},_snappedTitleOnMobileIcon:{type:\"sap.ui.core.Icon\",multiple:false,visibility:\"hidden\"}},associations:{ariaDescribedBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaDescribedBy\"}},events:{stateChange:{parameters:{isExpanded:{type:\"boolean\"}}}},designtime:\"sap/f/designtime/DynamicPageTitle.designtime\"},renderer:h});function S(t){if(arguments.length===1){return t&&\"length\"in t?t.length>0:!!t}return Array.prototype.slice.call(arguments).every(function(t){return S(t)})}T.NAV_ACTIONS_PLACEMENT_BREAK_POINT=1280;T.PRIMARY_AREA_MIDDLE_SHRINK_FACTORS={headingAreaShrinkFactor:1.6,contentAreaShrinkFactor:1,actionsAreaShrinkFactor:1.6};T.TOGGLE_HEADER_TEXT_ID=g.getStaticId(\"sap.f\",\"TOGGLE_HEADER\");T.DEFAULT_HEADER_TEXT_ID=g.getStaticId(\"sap.f\",\"DEFAULT_HEADER_TEXT\");T.KNOWN_HEADING_CONTROL_CLASS_NAMES=[\"sap.m.Title\",\"sap.m.Text\",\"sap.m.FormattedText\",\"sap.m.Label\"];T._getResourceBundle=function(){return e.getResourceBundleFor(\"sap.f\")};T.ARIA={TOOLBAR_HEADER_ACTIONS:T._getResourceBundle().getText(\"ARIA_LABEL_TOOLBAR_HEADER_ACTIONS\")};T._renderControl=function(t,e){var i;if(!e||!t){return}i=(new A).getInterface();i.renderControl(e);i.flush(t);i.destroy()};function m(t){return typeof t===\"function\"}function C(t){var e=null;for(var i of t.getItems()){if(i.isA(\"sap.m.Title\")){return i}else if(i.isA(\"sap.m.FlexBox\")){e=C(i)}}return e}T.prototype.init=function(){this._bExpandedState=true;this._bShowExpandButton=false;this._bIsFocusable=true;this._bNavigationActionsInTopArea=false;this._oInvisibleMessage=null;this._aCachedInvisibleTexts=[];this._fnActionSubstituteParentFunction=function(){return this}.bind(this);this._oObserver=new a(T.prototype._observeChanges.bind(this));this._oObserver.observe(this,{aggregations:[\"content\",\"_actionsToolbar\"]})};T.prototype.onBeforeRendering=function(){this._getActionsToolbar();this._observeControl(this.getBreadcrumbs());this._detachFocusSpanHandlers()};T.prototype.onAfterRendering=function(){this._cacheDomElements();this._attachFocusSpanHandlers();this._toggleState(this._bExpandedState);this._toggleFocusableState(this._bIsFocusable);this._doNavigationActionsLayout();this._updateTopAreaVisibility();if(this._getFocusSpan().is(\":focus\")){this._addFocusClass()}if(!this._oInvisibleMessage){this._oInvisibleMessage=f.getInstance()}};T.prototype.exit=function(){if(this._oObserver){this._oObserver.disconnect();this._oObserver=null}this._destroyInvisibleTexts()};T.prototype.setPrimaryArea=function(t){var e=this.getAreaShrinkRatio(),i=this._getShrinkFactorsObject(),n=this.getMetadata().getProperty(\"areaShrinkRatio\").getDefaultValue();if(!this.getDomRef()){return this.setProperty(\"primaryArea\",t,true)}if(e!==n){return this.setProperty(\"primaryArea\",t,true)}if(t===b.Begin){this._setShrinkFactors(i.headingAreaShrinkFactor,i.contentAreaShrinkFactor,i.actionsAreaShrinkFactor)}else{this._setShrinkFactors(T.PRIMARY_AREA_MIDDLE_SHRINK_FACTORS.headingAreaShrinkFactor,T.PRIMARY_AREA_MIDDLE_SHRINK_FACTORS.contentAreaShrinkFactor,T.PRIMARY_AREA_MIDDLE_SHRINK_FACTORS.actionsAreaShrinkFactor)}return this.setProperty(\"primaryArea\",t,true)};T.prototype.setAreaShrinkRatio=function(t){t=this.validateProperty(\"areaShrinkRatio\",t);this.setProperty(\"areaShrinkRatio\",t,true);var e=this._getShrinkFactorsObject();if(this.getPrimaryArea()===b.Middle){l.warning(\"DynamicPageTitle :: Property primaryArea is disregarded when areaShrinkRatio is set.\",this)}if(e.headingAreaShrinkFactor>1&&e.contentAreaShrinkFactor>1&&e.actionsAreaShrinkFactor>1){l.warning(\"DynamicPageTitle :: One of the shrink factors should be set to 1.\",this)}this._setShrinkFactors(e.headingAreaShrinkFactor,e.contentAreaShrinkFactor,e.actionsAreaShrinkFactor);return this};T.prototype.ontap=function(t){var e=t.srcControl;if(e===this||e===this.getAggregation(\"_actionsToolbar\")||e===this.getAggregation(\"breadcrumbs\")||e===this.getAggregation(\"snappedTitleOnMobile\")){this.fireEvent(\"_titlePress\")}};T.prototype.onmouseover=function(){if(this._bTitleMouseOverFired){return}this.fireEvent(\"_titleMouseOver\");this._bTitleMouseOverFired=true};T.prototype.onmouseout=function(t){if(t&&this.getDomRef().contains(t.relatedTarget)){return}this.fireEvent(\"_titleMouseOut\");this._bTitleMouseOverFired=false};T.prototype.onkeyup=function(t){if(t&&t.which===_.SPACE&&!t.shiftKey){this.onsapenter(t)}};T.prototype.onsapspace=function(t){if(t.srcControl===this){t.preventDefault()}};T.prototype.onsapenter=function(t){if(t.srcControl===this){this.fireEvent(\"_titlePress\")}};[\"addAction\",\"insertAction\",\"removeAction\",\"indexOfAction\",\"removeAllActions\",\"destroyActions\",\"getActions\"].forEach(function(t){T.prototype[t]=function(e){var i=this._getActionsToolbar(),n=t.replace(/Actions?/,\"Content\"),a=true,o;if(t===\"addAction\"||t===\"insertAction\"){if(!this._actionExists(e,\"actions\")){i[n].apply(i,arguments);this._preProcessAction(e,\"actions\")}o=this}else if(t===\"removeAction\"){this._postProcessAction(e)}else if(t===\"removeAllActions\"){this.getActions().forEach(this._postProcessAction,this)}else if(t===\"destroyActions\"){this.getActions().forEach(this._postProcessAction,this);i[n].apply(i,arguments);o=this}else if(t===\"getActions\"){a=false}o=o||i[n].apply(i,arguments);a&&this._updateSeparatorVisibility();return o}});[\"addNavigationAction\",\"insertNavigationAction\",\"removeNavigationAction\",\"indexOfNavigationAction\",\"removeAllNavigationActions\",\"destroyNavigationActions\",\"getNavigationActions\"].forEach(function(t){T.prototype[t]=function(e){var i=this._getNavigationActionsToolbar(),n=t.replace(/NavigationActions?/,\"Content\"),a=true,o;if(t===\"addNavigationAction\"||t===\"insertNavigationAction\"){if(!this._actionExists(e,\"navigationActions\")){i[n].apply(i,arguments);this._preProcessAction(e,\"navigationActions\")}o=this}else if(t===\"removeNavigationAction\"){this._postProcessAction(e)}else if(t===\"removeAllNavigationActions\"){this.getNavigationActions().forEach(this._postProcessAction,this)}else if(t===\"destroyNavigationActions\"){this.getNavigationActions().forEach(this._postProcessAction,this);i[n].apply(i,arguments);o=this}else if(t===\"getNavigationActions\"){a=false}o=o||i[n].apply(i,arguments);a&&this._updateTopAreaVisibility();return o}});T.prototype.clone=function(t,e,i){var a=n.prototype.clone.apply(this,arguments),o=true;if(i){o=!!i.cloneChildren}if(!o){return a}var s=function(t){if(!this.isBound(t)){var e=this.getMetadata().getAggregation(t);e.get(this).forEach(function(t){e.add(a,t.clone())},this)}}.bind(this);s(\"actions\");s(\"navigationActions\");return a};T.prototype._getTitleText=function(){var t=this.getHeading(),e=t&&t.getMetadata().getName(),i,n;if(T.KNOWN_HEADING_CONTROL_CLASS_NAMES.indexOf(e)>-1){n=t.getText()}else if(t?.isA(\"sap.m.FlexBox\")){i=C(t);n=i?.getText()}return n};T.prototype._getInvisibleText=function(t,e){var i=new g({id:t+\"-InvisibleText\",text:e}).toStatic();this._aCachedInvisibleTexts.push(i);return i};T.prototype._destroyInvisibleTexts=function(){this._aCachedInvisibleTexts.forEach(function(t){t.destroy()});this._aCachedInvisibleTexts=[]};T.prototype._actionExists=function(t,e){return this.getMetadata().getAggregation(e).get(this).indexOf(t)>-1};T.prototype._cacheDomElements=function(){this.$topNavigationActionsArea=this.$(\"topNavigationArea\");this.$mainNavigationActionsArea=this.$(\"mainNavigationArea\");this.$beginArea=this.$(\"left-inner\");this.$topArea=this.$(\"top\");this.$mainArea=this.$(\"main\");this.$middleArea=this.$(\"content\");this.$snappedTitleOnMobileWrapper=this.$(\"snapped-title-on-mobile-wrapper\");this.$snappedHeadingWrapper=this.$(\"snapped-heading-wrapper\");this.$expandHeadingWrapper=this.$(\"expand-heading-wrapper\");this.$snappedWrapper=this.$(\"snapped-wrapper\");this.$expandWrapper=this.$(\"expand-wrapper\");this._$focusSpan=this.$(\"focusSpan\")};T.prototype._getActionsToolbar=function(){var t=this.getId()+\"-_actionsToolbar\";if(!this.getAggregation(\"_actionsToolbar\")){this.setAggregation(\"_actionsToolbar\",new p({id:t,style:y.Clear,ariaLabelledBy:this._getInvisibleText(t,T.ARIA.TOOLBAR_HEADER_ACTIONS)}).addStyleClass(\"sapFDynamicPageTitleActionsBar\"),true)}return this.getAggregation(\"_actionsToolbar\")};T.prototype._getNavigationActionsToolbar=function(){var t=this.getId()+\"-navActionsToolbar\";if(!this.getAggregation(\"_navActionsToolbar\")){this.setAggregation(\"_navActionsToolbar\",new s({id:t,style:y.Clear,ariaLabelledBy:this._getInvisibleText(t,T.ARIA.TOOLBAR_HEADER_ACTIONS)}).addStyleClass(\"sapFDynamicPageTitleActionsBar\"),true)}return this.getAggregation(\"_navActionsToolbar\")};T.prototype._getToolbarSeparator=function(){if(!this.getAggregation(\"_navActionsToolbarSeparator\")){this.setAggregation(\"_navActionsToolbarSeparator\",new r({id:this.getId()+\"-separator\"}),true)}return this.getAggregation(\"_navActionsToolbarSeparator\")};T.prototype._toggleFocusableState=function(t){var e;this._bIsFocusable=t;e=this._getFocusSpan();if(e){t?e.show():e.hide()}};T.prototype._preProcessAction=function(t,e){if(m(t._fnOriginalGetParent)){return}this._observeControl(t);t._fnOriginalGetParent=t.getParent;t.getParent=this._fnActionSubstituteParentFunction;t._sOriginalParentAggregationName=t.sParentAggregationName;t.sParentAggregationName=e};T.prototype._postProcessAction=function(t){if(!m(t._fnOriginalGetParent)){return}this._unobserveControl(t);t.getParent=t._fnOriginalGetParent;t._fnOriginalGetParent=null;t.sParentAggregationName=t._sOriginalParentAggregationName;t._sOriginalParentAggregationName=null};T.prototype.onfocusfail=function(t){var e=t.srcControl;if(e.sParentAggregationName===\"actions\"){this.getAggregation(\"_actionsToolbar\")?.onfocusfail(t)}else{n.prototype.onfocusfail.apply(this,arguments)}};T.prototype.onLayoutDataChange=function(t){var e=t.srcControl,i=e&&typeof e._fnOriginalGetParent===\"function\"&&e._fnOriginalGetParent();if(i){i.onLayoutDataChange(t)}};T.prototype._observeControl=function(t){this._oObserver.observe(t,{properties:[\"visible\"]})};T.prototype._unobserveControl=function(t){this._oObserver.unobserve(t,{properties:[\"visible\"]})};T.prototype._doNavigationActionsLayout=function(){var t,e,i;if(this.getNavigationActions().length===0){return}i=this._getNavigationActionsToolbar();t=this._shouldRenderNavigationActionsInTopArea();if(t){e=this.$topNavigationActionsArea[0]}else{e=this.$mainNavigationActionsArea[0]}this._bNavigationActionsInTopArea=t;T._renderControl(e,i);this._updateSeparatorVisibility()};T.prototype._updateTopAreaVisibility=function(t){var e=this._areNavigationActionsInTopArea(),i=this._shouldRenderNavigationActionsInTopArea(t),n=this.getBreadcrumbs()&&this.getBreadcrumbs().getVisible(),a=d.system.phone&&this.getSnappedTitleOnMobile()&&!this._bExpandedState,o=(n||i)&&!a,s=this.getNavigationActions().length>0&&i^e,r=this.$topArea;this._toggleTopAreaVisibility(o);r&&r.toggleClass(\"sapFDynamicPageTitleTopBreadCrumbsOnly\",n&&!i);if(s){this._toggleNavigationActionsPlacement(i)}else{this._updateSeparatorVisibility()}};T.prototype._onResize=function(t){this._updateTopAreaVisibility(t)};T.prototype._toggleNavigationActionsPlacement=function(t){this[\"_showNavigationActionsIn\"+(t?\"Top\":\"Main\")+\"Area\"]();this._updateSeparatorVisibility()};T.prototype._showNavigationActionsInTopArea=function(){var t=this._getNavigationActionsToolbar(),e;if(this.$topNavigationActionsArea&&this.$topNavigationActionsArea.length>0){e=document.activeElement;this.$topNavigationActionsArea.html(t.$());e&&e.focus()}this._bNavigationActionsInTopArea=true};T.prototype._showNavigationActionsInMainArea=function(){var t=this._getNavigationActionsToolbar(),e;if(this.$mainNavigationActionsArea&&this.$mainNavigationActionsArea.length>0){e=document.activeElement;this.$mainNavigationActionsArea.html(t.$());e&&e.focus()}this._bNavigationActionsInTopArea=false};T.prototype._areNavigationActionsInTopArea=function(){return this._bNavigationActionsInTopArea};T.prototype._updateSeparatorVisibility=function(){if(this.getDomRef()){this._getToolbarSeparator().toggleStyleClass(\"sapUiHidden\",!this._shouldShowSeparator())}};T.prototype._toggleTopAreaVisibility=function(t){if(this.getDomRef()){this.$(\"top\").toggleClass(\"sapUiHidden\",!t)}};T.prototype._shouldShowSeparator=function(){var t,e;if(this._bNavigationActionsInTopArea){return false}t=this._getVisibleActions().length>0;e=this._getVisibleNavigationActions().length>0;return t&&e};T.prototype._getVisibleActions=function(){return this.getActions().filter(function(t){return t.getVisible()})};T.prototype._getVisibleNavigationActions=function(){return this.getNavigationActions().filter(function(t){return t.getVisible()})};T.prototype._setShrinkFactors=function(t,e,i){this.$(\"left-inner\").css(\"flex-shrink\",t);this.$(\"content\").css(\"flex-shrink\",e);this.$(\"mainActions\").css(\"flex-shrink\",i)};T.prototype._shouldRenderNavigationActionsInTopArea=function(t){var e,i,n;if(this._getVisibleNavigationActions().length===0){return false}e=t?t:this._getWidth();i=this._getVisibleActions().length>0;n=this.getBreadcrumbs()&&this.getBreadcrumbs().getVisible();return e<T.NAV_ACTIONS_PLACEMENT_BREAK_POINT&&(n||i)};T.prototype._toggleState=function(t,e){var i=this._bExpandedState;this._bExpandedState=t;if(!this.getDomRef()){return}if(d.system.phone&&this.getSnappedTitleOnMobile()){this.$snappedTitleOnMobileWrapper.toggleClass(\"sapUiHidden\",t);this.$topArea.toggleClass(\"sapUiHidden\",!t);this.$mainArea.toggleClass(\"sapUiHidden\",!t);this.$().toggleClass(\"sapContrast\",!t)}else{if(S(this.getSnappedHeading())){this.$snappedHeadingWrapper.toggleClass(\"sapUiHidden\",t)}if(S(this.getExpandedHeading())){this.$expandHeadingWrapper.toggleClass(\"sapUiHidden\",!t)}if(e&&i!==t){this.fireEvent(\"stateChange\",{isExpanded:t})}}if(S(this.getSnappedContent())){this.$snappedWrapper.toggleClass(\"sapUiHidden\",t);this.$snappedWrapper.parent().toggleClass(\"sapFDynamicPageTitleMainSnapContentVisible\",!t)}if(S(this.getExpandedContent())){this.$expandWrapper.toggleClass(\"sapUiHidden\",!t);this.$expandWrapper.parent().toggleClass(\"sapFDynamicPageTitleMainExpandContentVisible\",t)}};T.prototype._getExpandButton=function(){if(!this.getAggregation(\"_expandButton\")){var t=new c({id:this.getId()+\"-expandBtn\",icon:\"sap-icon://slim-arrow-down\",press:this._onExpandButtonPress.bind(this),tooltip:T._getResourceBundle().getText(\"EXPAND_HEADER_BUTTON_TOOLTIP\")}).addStyleClass(\"sapFDynamicPageToggleHeaderIndicator sapUiHidden\");this.setAggregation(\"_expandButton\",t,true)}return this.getAggregation(\"_expandButton\")};T.prototype._getSnappedTitleOnMobileIcon=function(){if(!this.getAggregation(\"_snappedTitleOnMobileIcon\")){var t=new u({id:this.getId()+\"-snappedTitleOnMobileIcon\",src:\"sap-icon://slim-arrow-down\",press:this._onExpandButtonPress.bind(this)});this.setAggregation(\"_snappedTitleOnMobileIcon\",t,true)}return this.getAggregation(\"_snappedTitleOnMobileIcon\")};T.prototype._onExpandButtonPress=function(){this.fireEvent(\"_titleVisualIndicatorPress\")};T.prototype._toggleExpandButton=function(t){this._setShowExpandButton(t);this._getExpandButton().toggleStyleClass(\"sapUiHidden\",!t)};T.prototype._getShowExpandButton=function(){return this._bShowExpandButton};T.prototype._setShowExpandButton=function(t){this._bShowExpandButton=!!t};T.prototype._focusExpandButton=function(){var t=T._getResourceBundle().getText(\"SNAPPED_HEADER\");this._getExpandButton().$().trigger(\"focus\");this._oInvisibleMessage.announce(t,v.Polite)};T.prototype._getWidth=function(){return this.$().outerWidth()};T.prototype.getFocusDomRef=function(){return this._getFocusSpan()[0]||null};T.prototype._getState=function(){var t=this.getActions().length>0,e=this.getNavigationActions().length>0,i=this.getContent(),n=this.getSnappedContent(),a=this.getExpandedContent(),o=a.length>0,s=n.length>0,r=this._getShrinkFactorsObject(),p=this._getExpandButton(),c=this._getFocusSpan(),g=this.getBreadcrumbs(),h=this.getSnappedTitleOnMobile(),l=this._getSnappedTitleOnMobileIcon(),u=h&&d.system.phone,A=g||e,_=!!(g&&!e),f=e&&!g,y=this.getMetadata().getProperty(\"areaShrinkRatio\").getDefaultValue(),v=this.getAreaShrinkRatio()===y;v=v&&this.getPrimaryArea()===b.Middle;if(v){r.headingAreaShrinkFactor=T.PRIMARY_AREA_MIDDLE_SHRINK_FACTORS.headingAreaShrinkFactor;r.contentAreaShrinkFactor=T.PRIMARY_AREA_MIDDLE_SHRINK_FACTORS.contentAreaShrinkFactor;r.actionsAreaShrinkFactor=T.PRIMARY_AREA_MIDDLE_SHRINK_FACTORS.actionsAreaShrinkFactor}p.toggleStyleClass(\"sapUiHidden\",!this._getShowExpandButton());return{id:this.getId(),actionBar:this._getActionsToolbar(),navigationBar:this._getNavigationActionsToolbar(),hasActions:t,hasNavigationActions:e,content:i,hasContent:i.length>0,heading:this.getHeading(),snappedHeading:this.getSnappedHeading(),expandedHeading:this.getExpandedHeading(),expandButton:p,focusSpan:c,snappedTitleOnMobileContext:h,snappedTitleOnMobileIcon:l,snappedContent:n,expandedContent:a,hasSnappedContent:s,hasExpandedContent:o,hasSnappedTitleOnMobile:u,hasAdditionalContent:o||s&&!u,isSnapped:!this._bExpandedState,headingAreaShrinkFactor:r.headingAreaShrinkFactor,contentAreaShrinkFactor:r.contentAreaShrinkFactor,actionsAreaShrinkFactor:r.actionsAreaShrinkFactor,breadcrumbs:this.getBreadcrumbs(),separator:this._getToolbarSeparator(),hasTopContent:A,hasOnlyBreadcrumbs:_,hasOnlyNavigationActions:f,contentAreaHasContent:this._bContentAreaHasContent,actionsAreaHasContent:this._bActionsAreaHasContent,isFocusable:this._bIsFocusable,actionsAreaMinWidth:this._sActionsAreaMinWidth,contentAreaMinWidth:this._sContentAreaMinWidth}};T.prototype._getShrinkFactorsObject=function(){var t={},e=this.getAreaShrinkRatio().split(\":\");t.headingAreaShrinkFactor=parseFloat(e[0]);t.contentAreaShrinkFactor=parseFloat(e[1]);t.actionsAreaShrinkFactor=parseFloat(e[2]);return t};T.prototype._observeChanges=function(t){var e=t.object,i=t.name;if(e===this){if(i===\"content\"||i===\"_actionsToolbar\"){this._observeContentChanges(t)}}else if(i===\"visible\"){this._updateTopAreaVisibility()}};T.prototype._observeContentChanges=function(t){var e=t.child,i=t.mutation,n=e.$().parent();if(!(e instanceof p)){return}if(i===\"insert\"){e.attachEvent(\"_contentSizeChange\",this._onContentSizeChange,this);e.attachEvent(\"_minWidthChange\",this._onContentMinWidthChange,this)}else if(i===\"remove\"){e.detachEvent(\"_contentSizeChange\",this._onContentSizeChange,this);e.detachEvent(\"_minWidthChange\",this._onContentMinWidthChange,this);this._setContentAreaFlexBasis(0,n);n.css({\"min-width\":\"\"})}};T.prototype._onContentSizeChange=function(t){var e=t.getParameter(\"contentSize\");this._setContentAreaFlexBasis(e,t.getSource().$().parent())};T.prototype._onContentMinWidthChange=function(t){var e=t.getParameter(\"minWidth\"),i=e>0?e+\"px\":\"\",n=t.getSource().$().parent();n.css({\"min-width\":i});if(n.hasClass(\"sapFDynamicPageTitleMainContent\")){this._sContentAreaMinWidth=i}else if(n.hasClass(\"sapFDynamicPageTitleMainActions\")){this._sActionsAreaMinWidth=i}};T.prototype._setContentAreaFlexBasis=function(t,e){var i;t=parseInt(t);i=t&&t>1;if(e.hasClass(\"sapFDynamicPageTitleMainContent\")){this._bContentAreaHasContent=i;e.toggleClass(\"sapFDynamicPageTitleMainContentHasContent\",i)}else if(e.hasClass(\"sapFDynamicPageTitleMainActions\")){this._bActionsAreaHasContent=i;e.toggleClass(\"sapFDynamicPageTitleMainActionsHasContent\",i)}};T.prototype._updateARIAState=function(t){var e=this._getARIALabelReferences(t),i=this._getFocusSpan();if(i){i.attr(\"aria-labelledby\",e);i.attr(\"aria-expanded\",t)}return this};T.prototype._getARIALabelReferences=function(t){var e=\"\",i,n,a=this.getHeading()||(t?this.getExpandedHeading():this.getSnappedHeading());if(a){i=a.getTitle&&a.getTitle();if(i&&i.getId){n=i.getId()}e+=n||a.getId()}return e||T.DEFAULT_HEADER_TEXT_ID};T.prototype._focus=function(){this._getFocusSpan().trigger(\"focus\")};T.prototype._getAriaDescribedByReferences=function(){var t=this.getAriaDescribedBy(),e=T.TOGGLE_HEADER_TEXT_ID;if(t.length>0){e+=\" \"+t.join(\" \")}return e};T.prototype._attachFocusSpanHandlers=function(){this._$focusSpan.on(\"focusin\",this._addFocusClass.bind(this));this._$focusSpan.on(\"focusout\",this._removeFocusClass.bind(this))};T.prototype._detachFocusSpanHandlers=function(){if(this._$focusSpan){this._$focusSpan.off(\"focusin\");this._$focusSpan.off(\"focusout\")}};T.prototype._getFocusSpan=function(){return this._$focusSpan};T.prototype._addFocusClass=function(){this.$().addClass(\"sapFDynamicPageTitleFocus\")};T.prototype._removeFocusClass=function(){this.$().removeClass(\"sapFDynamicPageTitleFocus\")};return T});\n//# sourceMappingURL=DynamicPageTitle.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/base/strings/formatMessage\",\"sap/ui/core/Element\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/fl/apply/_internal/changes/FlexCustomData\",\"sap/ui/fl/apply/_internal/changes/Utils\",\"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler\",\"sap/ui/fl/apply/_internal/flexState/FlexObjectState\",\"sap/ui/fl/Utils\"],function(e,n,t,o,r,a,i,s,c){\"use strict\";let l=c.FakePromise?new c.FakePromise:Promise.resolve();const p={};const d={};function g(t,o,r,a){const i=n(o.join(\" \"),r);e[t](i,a||\"\")}async function f(e,n){const t=e.getSelector&&e.getSelector();if(!t||!t.id&&!t.name){throw Error(\"No selector in change found or no selector ID.\")}function o(e){if(c.indexOfObject(n.failedSelectors,e)>-1){throw Error(\"A change depending on that control already failed, so the current change is skipped\")}}const r=await n.modifier.bySelectorTypeIndependent(t,n.appComponent,n.view);if(!r){throw Error(\"A flexibility change tries to change a nonexistent control.\")}o(t);const a=e.getDependentControlSelectorList();a.forEach(e=>{const t=n.modifier.bySelector(e,n.appComponent,n.view);if(!t){throw new Error(\"A dependent selector control of the flexibility change is not available.\")}o(e)});return r}function u(e){return e.modifier.targets===\"xmlTree\"}function h(e,n,t,o){const i=a.getControlIfTemplateAffected(n,e,t).control;const c=t.modifier;const l=i&&!!r.getAppliedCustomDataValue(i,n,c);const p=i&&r.hasChangeApplyFinishedCustomData(i,n,c);const d=n.isApplyProcessFinished();if(d&&!p){if(!o){s.copyDependenciesFromCompleteDependencyMap(n,t.appComponent)}n.setInitialApplyState()}else if(!d&&p){if(l){n.setRevertData(r.getParsedRevertDataFromCustomData(i,n,c));n.markSuccessful()}else{n.markFailed()}}else if(d&&p){n.markSuccessful()}}function y(e,n){if(u(n)&&e.getJsOnly()){const n=\"Change cannot be applied in XML. Retrying in JS.\";e.setInitialApplyState();throw Error(n)}}async function m(e,n,o,a){if(o instanceof t){n.control=o}if(n.control){await a.modifier.updateAggregation(n.originalControl,e.getContent().boundAggregation)}await r.addAppliedCustomData(n.control,e,a,u(a));const i={success:true};e.markSuccessful(i);return i}async function C(e,n,t,o){const a=u(o);const i={success:false,error:e};const s=n.getId();const c=\"Change ''{0}'' could not be applied.\";const l=e instanceof Error;const p=r.getCustomDataIdentifier(false,l,a);switch(p){case r.notApplicableChangesCustomDataKey:g(\"info\",[c,e.message],[s]);break;case r.failedChangesCustomDataKeyXml:g(\"warning\",[c,\"Merge error detected while processing the XML tree.\"],[s],e.stack);break;case r.failedChangesCustomDataKeyJs:g(\"error\",[c,\"Merge error detected while processing the JS control tree.\"],[s],e.stack);break;default:}await r.addFailedCustomData(t.control,n,o,p);if(a){n.setInitialApplyState()}else{n.markFailed(i)}return i}function A(n,t){const o=t.getChangeType();const r=t.getSelector().id;const a=`${t.getNamespace()+t.getId()}.${t.getFileType()}`;let i=\"A flexibility change could not be applied.\";i+=\"\\nThe displayed UI might not be displayed as intended.\";if(n.message){i+=`\\n occurred error message: '${n.message}'`}i+=`\\n type of change: '${o}'`;i+=`\\n LRep location of the change: ${a}`;i+=`\\n id of targeted control: '${r}'.`;e.warning(i,undefined,\"sap.ui.fl.apply._internal.changes.Applier\")}function w(e,n,t){const r={appComponent:t,modifier:o};const a=o.bySelector(e.originalSelectorToBeAdjusted,t);let i=n.getBindingInfo(e.getContent().boundAggregation).template;if(a.getParent()){const e=[];let n=a;do{e.push({aggregation:n.sParentAggregationName,index:n.getParent().getAggregation(n.sParentAggregationName).indexOf(n)});n=n.getParent()}while(n.getParent());e.reverse();e.forEach(e=>{i=i.getAggregation(e.aggregation)[e.index]})}e.addDependentControl(i,\"originalSelector\",r)}function S(e,n,t){let o=e.findIndex(e=>e.handler===n);if(o<0){o=e.length;e.push({handler:n,controls:[]})}if(!e[o].controls.includes(t)){e[o].controls.push(t)}}async function b(e,n,t,o){const r=[];const a=e.getId();const s=t.mChanges[a]||[];let l;if(t.mControlsWithDependencies[a]){i.removeControlsDependencies(t,a);l=true}s.forEach(s=>{if(s.originalSelectorToBeAdjusted){w(s,e,o);delete s.originalSelectorToBeAdjusted}if(s._ignoreOnce){delete s._ignoreOnce}else if(s.isApplyProcessFinished()){i.resolveDependenciesForChange(t,s.getId(),a)}else if(!t.mDependencies[s.getId()]){r.push(async()=>{await d.applyChangeOnControl(s,e,n);i.resolveDependenciesForChange(t,s.getId(),a)})}else{const o=d.applyChangeOnControl.bind(d,s,e,n);i.addChangeApplyCallbackToDependency(t,s.getId(),o)}});if(s.length||l){await c.execPromiseQueueSequentially(r);await i.processDependentQueue(t,o,a)}p[a].shift().resolveFunction()}d.addPreConditionForInitialChangeApplying=function(e){l=l.then(()=>e)};d.applyChangeOnControl=async function(e,n,t){const o=a.getControlIfTemplateAffected(e,n,t);try{const n=t.changeHandler||await a.getChangeHandler({flexObject:e,control:o.control,controlType:o.controlType,modifier:t.modifier});y(e,t);if(e.hasApplyProcessStarted()){const n=await e.addPromiseForApplyProcessing();e.markSuccessful();return n}if(!e.isApplyProcessFinished()){e.startApplying();try{const r=await n.applyChange(e,o.control,t);return m(e,o,r,t)}catch(n){return C(n,e,o,t)}}const r={success:true};e.markSuccessful(r);return r}catch(e){return{success:false,error:e}}};d.applyMultipleChanges=async function(e,n){n.modifier=o;for(const t of e){const e=o.bySelector(t.getSelector(),n.appComponent);const r=s.getLiveDependencyMap(n.reference);if(e){h(e,t,n,true);if(!t.isApplyProcessFinished()){t.setQueuedForApply()}let o;try{o=await d.applyChangeOnControl(t,e,n)}catch(e){o={success:false}}if(o.success){i.addRuntimeChangeToMap(t,n.appComponent,r)}}else{i.addChangeAndUpdateDependencies(t,n.appComponent.getId(),r)}}};d.applyAllChangesForControl=async function(e,n,t){const r=s.getLiveDependencyMap(n);const a=t.getId();const i=r.mChanges[a]||[];const d={modifier:o,appComponent:e,view:c.getViewForControl(t)};if(p[a]?.length){await p[a][p[a].length-1].promise}i.forEach(e=>{h(t,e,d);if(!e.isApplyProcessFinished()&&!e._ignoreOnce){e.setQueuedForApply()}});p[a]||=[];const g={};g.promise=new Promise(e=>{g.resolveFunction=e});p[a].push(g);l=l.then(b.bind(undefined,t,d,r,e));return l};d.applyAllChangesForXMLView=async function(n,t){if(!Array.isArray(t)){const o=`No list of changes was passed for processing the flexibility on view: ${n.view}.`;e.error(o,undefined,\"sap.ui.fl.apply._internal.changes.Applier\");t=[]}const o=[];n.failedSelectors=[];for(const e of t){try{const t=await f(e,n);const r=a.getControlIfTemplateAffected(e,t,n);n.changeHandler=await a.getChangeHandler({flexObject:e,control:r.control,controlType:r.controlType,modifier:n.modifier});e.setQueuedForApply();h(t,e,n,true);if(!e.isApplyProcessFinished()){if(typeof n.changeHandler.onAfterXMLChangeProcessing===\"function\"){S(o,n.changeHandler,t)}const r=await d.applyChangeOnControl(e,t,n);if(!r.success){throw Error(r.error)}}}catch(t){e.getDependentSelectorList().forEach(e=>{if(c.indexOfObject(n.failedSelectors,e)===-1){n.failedSelectors.push(e)}});A(t,e)}}delete n.failedSelectors;o.forEach(t=>{t.controls.forEach(o=>{try{t.handler.onAfterXMLChangeProcessing(o,n)}catch(n){e.error(\"Error during onAfterXMLChangeProcessing\",n)}})});return n.view};return d});\n//# sourceMappingURL=Applier.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/base/util/LoaderExtensions\",\"sap/base/util/merge\",\"sap/ui/core/Component\",\"sap/ui/core/Supportability\",\"sap/ui/fl/interfaces/BaseLoadConnector\"],function(e,r,a,o,n,s){\"use strict\";function t(a,s){var t=`${a.replace(/\\./g,\"/\")}/changes/${s}.json`;var i=!!sap.ui.loader._.getModuleState(t);if(i||n.isDebugModeEnabled()||o.getComponentPreloadMode()===\"off\"){try{return r.loadResource(t)}catch(r){if(r.name.includes(\"SyntaxError\")){e.error(r)}e.warning(`flexibility did not find a ${s}.json for the application: ${a}`)}}}const i=a({},s,{loadFlexData(e){var r=e.componentName;r||=e.reference.replace(/.Component/g,\"\");var a=t(r,\"flexibility-bundle\");if(a){a.changes=a.changes.concat(a.compVariants);delete a.compVariants;return Promise.resolve(a)}var o=t(r,\"changes-bundle\");if(o){return Promise.resolve({changes:o})}return Promise.resolve()},loadFeatures(){return Promise.resolve({})},loadVariantsAuthors(){return Promise.resolve({})}});return i});\n//# sourceMappingURL=StaticFileConnector.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/base/util/restricted/_pick\",\"sap/ui/fl/requireAsync\"],function(e,t,r){\"use strict\";const n={};let o={};let a={};function i(e){const t=e.getModel?.();if(!t){return undefined}return t.getMetadata().getName()}function l(e,t){t||=i(e);const r=o[t];return r}async function c(e,t){const r=await t.getControlMetadata(e);const n=a[r.getName()];return n}function d(t,n,o){return r(o.name).catch(r=>{e.error(`Failed to load the delegate for the control ${n.getId(t)}\\n\\t\\t\\t${r.message}`);return undefined})}function s(e,t,r){const n=[];r.forEach(function(r){if(r){n.push(async function(){const n=await d(e,t,r);if(n){r.instance=n||{};return r}return undefined}())}else{n.push(Promise.resolve())}});return Promise.all(n)}n.registerReadDelegate=function(e){if(!(e.modelType&&e.delegate)){throw new Error(\"'modelType' and 'delegate' properties are required for registration!\")}if(o[e.modelType]){throw new Error(`modelType ${e.modelType} is already defined!`)}o[e.modelType]={name:e.delegate,modelType:e.modelType}};n.registerWriteDelegate=function(e){if(!(e.controlType&&e.delegate)){throw new Error(\"'controlType' and 'delegate' properties are required for registration!\")}a[e.controlType]={name:e.delegate,requiredLibraries:e.requiredLibraries,delegateType:e.delegateType,controlType:e.controlType,payload:e.payload}};function u(e){return e?{...e,modelType:e.modelType||e.payload?.modelType,instance:t(e.instance,[\"getPropertyInfo\",\"getRepresentedProperties\"])}:undefined}n.getReadDelegateForControl=async function(e,t,r){let n=l(e,r);let o=t.getFlexDelegate(e);[o,n]=await s(e,t,[o,n]);return o?.instance.getPropertyInfo?u(o):u(n)};function p(e,r){return e?{...e,controlType:e.controlType||r.getMetadata?.().getName(),instance:t(e.instance,[\"createLabel\",\"createControlForProperty\",\"createLayout\"])}:undefined}n.getWriteDelegateForControl=async function(e,t){let r=await c(e,t);let n=t.getFlexDelegate(e);[n,r]=await s(e,t,[n,r]);return n?.instance.createLabel||n?.instance.createLayout?p(n,e):p(r,e)};n.clear=function(){o={};a={}};return n});\n//# sourceMappingURL=DelegateMediator.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/base/ManagedObject\",\"sap/ui/fl/initial/_internal/Storage\",\"sap/ui/fl/Utils\"],function(e,a,t,n){\"use strict\";let l;let s;async function i(){const a=n.getUshellContainer();if(a){try{const e=await n.getUShellService(\"UserInfo\");return e.getUser()?.getId()}catch(a){e.error(`Error getting service from Unified Shell: ${a.message}`)}}return Promise.resolve(\"\")}const o=a.extend(\"sap.ui.fl.initial._internal.Settings\",{metadata:{library:\"sap.ui.fl\",properties:{client:{type:\"string\"},hasPersoConnector:{type:\"boolean\",defaultValue:false},isAnnotationChangeEnabled:{type:\"boolean\",defaultValue:false},isAppVariantSaveAsEnabled:{type:\"boolean\",defaultValue:false},isAtoEnabled:{type:\"boolean\",defaultValue:false},isCondensingEnabled:{type:\"boolean\",defaultValue:false},isContextBasedAdaptationEnabled:{type:\"boolean\",defaultValue:false},isContextSharingEnabled:{type:\"boolean\",defaultValue:true},isKeyUser:{type:\"boolean\",defaultValue:false},isKeyUserTranslationEnabled:{type:\"boolean\",defaultValue:false},isLocalResetEnabled:{type:\"boolean\",defaultValue:false},isProductiveSystem:{type:\"boolean\",defaultValue:true},isPublicFlVariantEnabled:{type:\"boolean\",defaultValue:false},isPublicLayerAvailable:{type:\"boolean\",defaultValue:false},isPublishAvailable:{type:\"boolean\",defaultValue:false},isSeenFeaturesAvailable:{type:\"boolean\",defaultValue:false},isVariantAdaptationEnabled:{type:\"boolean\",defaultValue:false},isVariantAuthorNameAvailable:{type:\"boolean\",defaultValue:false},isVariantPersonalizationEnabled:{type:\"boolean\",defaultValue:true},isVariantSharingEnabled:{type:\"boolean\",defaultValue:false},system:{type:\"string\"},systemType:{type:\"string\"},userId:{type:\"string\"},versioning:{type:\"object\",defaultValue:{}}}},constructor:function(...e){a.apply(this,e);const t=new URLSearchParams(window.location.search);if(t.has(\"sap-ui-xx-rta-adaptations\")){this.setProperty(\"isContextBasedAdaptationEnabled\",t.get(\"sap-ui-xx-rta-adaptations\")===\"true\")}}});function r(){s=t.loadFeatures().then(async function(a){const t=Object.assign({},a);if(t.logonUser){t.userId=t.logonUser;delete t.logonUser}else{t.userId=await i()}delete t.isZeroDowntimeUpgradeRunning;delete t.isAtoAvailable;const n=Object.keys(t).map(e=>{if(!o.getMetadata().getAllProperties()[e]){delete t[e];return e}return null}).filter(Boolean);e.warning(`Unknown settings received from the backend: ${n.join(\", \")}`);l=new o(t);return l});return s}o.getInstance=async function(){if(!l){if(s){await s}else{await r()}}return l};o.getInstanceOrUndef=function(){return l};o.clearInstance=function(){l=undefined;s=undefined};return o});\n//# sourceMappingURL=Settings.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/core/Component\",\"sap/ui/core/Element\",\"sap/ui/fl/apply/_internal/controlVariants/URLHandler\",\"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState\",\"sap/ui/fl/Utils\"],function(e,t,n,a,r,o){\"use strict\";var i=\"$FlexVariants\";function l(e){var t=e.getModel(i);if(t){return Promise.resolve(t)}return new Promise(function(n){function a(){t=e.getModel(i);if(t){e.detachModelContextChange(a);n(t)}}e.attachModelContextChange(a)})}var c={getVariantModelName(){return i},getVariantModel(e){return l(e)},clearVariantParameterInURL(t){var n;var r=o.getAppComponentForControl(t.control);var l=r&&r.getModel(i);if(!l){e.error(\"Variant model could not be found on the provided control\");return}if(t.control.isA(\"sap.ui.fl.variants.VariantManagement\")){var c=l.getLocalId(t.control.getId(),r);var d=a.removeURLParameterForVariantManagement({model:l,vmReference:c});n=d.parameters}a.update({parameters:n||[],updateURL:true,updateHashEntry:!!l,model:l||{},silent:!l})},async activateVariant(a){function l(t){e.error(t);return Promise.reject(t)}let c;if(typeof a.element===\"string\"){c=t.getComponentById(a.element);if(!(c instanceof t)){c=n.getElementById(a.element);if(!(c instanceof n)){return l(Error(\"No valid component or control found for the provided ID\"))}}}else if(a.element instanceof t||a.element instanceof n){c=a.element}const d=o.getAppComponentForControl(c);if(!d){return l(Error(\"A valid variant management control or component (instance or ID) should be passed as parameter\"))}const s=d.getModel(i);if(!s){return l(Error(\"No variant management model found for the passed control or application component\"))}if(a.standardVariant&&!c.isA(\"sap.ui.fl.variants.VariantManagement\")){return l(Error(\"With using standardVariant and no variantReference, a variant management control must be passed as element\"))}const m=a.standardVariant?s.getVariantManagementReferenceForControl(a.element):a.variantReference;if(!s.getVariantManagementReference(m).variantManagementReference){try{await r.loadVariant({reference:s.sFlexReference,variantReference:m})}catch(e){return l(Error(`Variant with reference '${m}' could not be found`))}}const p=s.getVariantManagementReference(m).variantManagementReference;if(!p){return l(Error(\"A valid control or component, and a valid variant/ID combination are required\"))}await s.waitForVMControlInit(p);try{return s.updateCurrentVariant({variantManagementReference:p,newVariantReference:m,appComponent:d})}catch(t){e.error(t);throw t}},attachVariantApplied(e){var t=e.selector.id&&n.getElementById(e.selector.id)||e.selector;var a=o.getAppComponentForControl(t);l(a).then(function(n){n.attachVariantApplied({vmControlId:e.vmControlId,control:t,callback:e.callback,callAfterInitialVariant:e.callAfterInitialVariant})})},detachVariantApplied(e){var t=e.selector.id&&n.getElementById(e.selector.id)||e.selector;var a=o.getAppComponentForControl(t);l(a).then(function(n){n.detachVariantApplied(e.vmControlId,t.getId())})}};return c});\n//# sourceMappingURL=ControlVariantApplyAPI.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/core/Component\",\"sap/ui/core/Lib\",\"sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory\",\"sap/ui/fl/apply/_internal/changes/descriptor/InlineApplier\",\"sap/ui/fl/apply/_internal/changes/Applier\",\"sap/ui/fl/apply/_internal/flexState/FlexState\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/apply/api/ControlVariantApplyAPI\",\"sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration\",\"sap/ui/fl/variants/VariantModel\",\"sap/ui/fl/Layer\",\"sap/ui/fl/Utils\",\"sap/ui/model/json/JSONModel\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/performance/Measurement\"],function(e,n,t,o,a,i,r,s,l,c,p,d,g,u,f,m){\"use strict\";var h={};h._componentInstantiationPromises=new WeakMap;var y={};function C(n){if(g.getUshellContainer()){return Promise.resolve()}var o=window.sessionStorage.getItem(`sap.ui.rta.restart.${d.CUSTOMER}`);if(o){var a=s.getFlexReferenceForControl(n);if(o!==a&&o!==\"true\"){e.error(`an application component was started which does not match the component for which the restart was triggered:\\n\\t\\t\\t\\t\\tTriggering component: ${o}\\n\\t\\t\\t\\t\\tStarted component: ${a}`);return Promise.resolve()}return new Promise(function(e,o){Promise.all([t.load({name:\"sap.ui.rta\"}),n.rootControlLoaded()]).then(function(){sap.ui.require([\"sap/ui/rta/api/startKeyUserAdaptation\"],function(t){t({rootControl:n});e()})}).catch(function(e){o(e)})})}return Promise.resolve()}function M(e){const n=s.getFlexReferenceForControl(e);const t=r.getStorageResponse(n);if(t.messagebundle&&!e.getModel(\"i18nFlexVendor\")&&t.changes?.changes?.some(e=>e.layer===d.VENDOR)){e.setModel(new u(t.messagebundle),\"i18nFlexVendor\")}}async function v(e){const n=s.getFlexReferenceForControl(e);var t;var o=i.applyAllChangesForControl.bind(i,e,n);o._bIsFlexApplyChangesFunction=true;e.addPropagationListener(o);t=h._createVariantModel(e);await t.initialize();m.end(\"flexProcessing\");e.setModel(t,l.getVariantModelName());await C(e)}function w(e,n){if(g.isApplicationComponent(e)){var t=e.getId();var o=r.initialize({componentId:t,asyncHints:n.asyncHints}).then(v.bind(this,e)).then(M.bind(this,e)).then(function(){if(y[t]){y[t].forEach(function(n){var t=e.getModel(l.getVariantModelName());n.setModel(t,l.getVariantModelName())});delete y[t]}});h._componentInstantiationPromises.set(e,o);return o}else if(g.isEmbeddedComponent(e)){var a=g.getAppComponentForControl(e);if(h._componentInstantiationPromises.has(a)){return h._componentInstantiationPromises.get(a).then(function(){var n=a.getModel(l.getVariantModelName());e.setModel(n,l.getVariantModelName())})}y[a.getId()]=y[a.getId()]||[];y[a.getId()].push(e);return Promise.resolve()}return Promise.resolve()}function P(e,n){if(!g.isApplication(n)||!e.id){return Promise.resolve()}r.initialize({componentData:e.componentData||e.settings&&e.settings.componentData,asyncHints:e.asyncHints,manifest:n,componentId:e.id});return a.applyChanges(n,o.getRuntimeStrategy())}h._createVariantModel=function(e){return new p({},{appComponent:e})};h.instanceCreatedHook=function(...e){return w(...e)};h.componentLoadedHook=function(...e){return P(...e)};async function A(t){const o=t.owner&&n.get(t.owner.id);const a=t.owner?.id||t.factoryConfig.id||t.factoryConfig.settings?.id;const i=o?.getComponentData()||t.factoryConfig.componentData||t.factoryConfig.settings?.componentData;const l=s.getFlexReference({manifest:o?.getManifest()||t.manifest,componentData:i});try{await r.initialize({componentData:i,asyncHints:t.owner?.config.asyncHints||t.factoryConfig.asyncHints,componentId:a,reference:l,skipLoadBundle:true});const e=f.removeOriginSegmentParameters(t.model.getServiceUrl());const n=r.getAnnotationChanges(l).filter(n=>n.getServiceUrl()===e);const o=[];for(const e of n){const n=await c.getAnnotationChangeHandler({changeType:e.getChangeType()});o.push(await n.applyChange(e));e._appliedOnModel=true}return o}catch(n){e.error(\"Annotation changes could not be applied.\",n);return[]}}h.modelCreatedHook=function(e){e.model.setAnnotationChangePromise(A(e))};return h});\n//# sourceMappingURL=ComponentLifecycleHooks.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/core/Component\",\"sap/ui/fl/apply/_internal/flexState/FlexState\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/Utils\"],function(e,t,n,r,o){\"use strict\";var i=function(){};function u(e){return e.getChangeType()===\"codeExt\"}function a(e){if(!e.startsWith(\"module:\")){return`module:${e.replace(/\\./g,\"/\")}.controller`}return e}function l(e,t){var n=a(t.getSelector().controllerName);return n===a(e)}function s(t){return new Promise(function(n){sap.ui.require(t,function(...e){n(e)},function(t){e.error(\"Code Extension not found\",t.message);n([])})})}i.prototype.getControllerExtensions=function(e,i,a){if(a){if(!i){return Promise.resolve([])}var f=t.getComponentById(i);var c=o.getAppComponentForControl(f);if(!c){return Promise.resolve([])}if(!o.isApplication(c.getManifestObject())){return Promise.resolve([])}var p=r.getFlexReferenceForControl(c);return n.waitForInitialization(p).then(()=>{const t=n.getFlexObjectsDataSelector().get({reference:p});var r=t.filter(function(t){return u(t)&&l(e,t)}).map(function(e){return e.getModuleName()});return s(r)})}return[]};return i});\n//# sourceMappingURL=ControllerExtension.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/core/CustomData\"],function(t){\"use strict\";const a={};a.appliedChangesCustomDataKey=\"sap.ui.fl.appliedChanges\";a.failedChangesCustomDataKeyJs=\"sap.ui.fl.failedChanges.js\";a.failedChangesCustomDataKeyXml=\"sap.ui.fl.failedChanges.xml\";a.notApplicableChangesCustomDataKey=\"sap.ui.fl.notApplicableChanges\";function e(t,a,e,s){const o=s.modifier.getCustomDataInfo(t,a);if(!o.customData){return s.modifier.createAndAddCustomData(t,a,e,s.appComponent)}return Promise.resolve(s.modifier.setProperty(o.customData,\"value\",e))}function s(t,a){const e=a.getRevertData();if(t&&e!==undefined){return JSON.stringify(e)}return\"true\"}a.getAppliedCustomDataValue=function(t,e,s){const o=s.getCustomDataInfo(t,a._getCustomDataKey(e,a.appliedChangesCustomDataKey));return o.customDataValue};a.getParsedRevertDataFromCustomData=function(e,s,o){const u=a.getAppliedCustomDataValue(e,s,o);try{return u&&JSON.parse(u)}catch(a){t.error(\"Could not parse revert data from custom data\",u);return undefined}};a.hasChangeApplyFinishedCustomData=function(t,e,s){const o=s.getCustomDataInfo(t,a._getCustomDataKey(e,a.appliedChangesCustomDataKey));if(o.customData){return true}const u=s.getCustomDataInfo(t,a._getCustomDataKey(e,a.failedChangesCustomDataKeyJs));if(u.customData){return true}const n=s.getCustomDataInfo(t,a._getCustomDataKey(e,a.notApplicableChangesCustomDataKey));if(n.customData){return true}return false};a.addAppliedCustomData=function(t,o,u,n){const r=s(n,o);const i=a._getCustomDataKey(o,a.appliedChangesCustomDataKey);return e(t,i,r,u)};a.addFailedCustomData=function(t,s,o,u){const n=a._getCustomDataKey(s,u);return e(t,n,\"true\",o)};a.destroyAppliedCustomData=function(t,e,s){const o=a._getCustomDataKey(e,a.appliedChangesCustomDataKey);const u=s.getCustomDataInfo(t,o);if(u.customData){s.destroy(u.customData)}};a.getCustomDataIdentifier=function(t,e,s){if(t){return a.appliedChangesCustomDataKey}if(!e){return a.notApplicableChangesCustomDataKey}if(s){return a.failedChangesCustomDataKeyXml}return a.failedChangesCustomDataKeyJs};a._getCustomDataKey=function(t,a){return`${a}.${t.getId()}`};return a});\n//# sourceMappingURL=FlexCustomData.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/fl/apply/_internal/controlVariants/Utils\",\"sap/ui/fl/apply/_internal/flexState/FlexObjectState\",\"sap/ui/fl/apply/_internal/flexState/FlexState\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/initial/_internal/FlexConfiguration\",\"sap/ui/fl/initial/_internal/FlexInfoSession\",\"sap/ui/fl/initial/api/InitialFlexAPI\",\"sap/ui/fl/initial/_internal/Settings\",\"sap/ui/fl/Layer\",\"sap/ui/fl/Utils\",\"sap/ui/VersionInfo\"],function(e,t,n,r,o,i,s,a,l,c,p,u,f){\"use strict\";var g={isPersonalized(n){function r(t){e.error(t);return Promise.reject(t)}function s(e){return e.getLayer()===p.USER}function a(e){return e.getFileType()===\"change\"}function l(e,n,r){var o=n.map(function(e){return e.id||e.getId()});var i=r.getSelector();var s=t.getControlIdBySelector(i,e);return o.includes(s)}function c(e,t){return Array.isArray(e)&&e.length>0?e.includes(t.getChangeType()):true}if(!n.selectors||n.selectors.length===0){return r(\"At least one control ID has to be provided as a parameter\")}var f=n.selectors[0].appComponent||u.getAppComponentForControl(n.selectors[0]);if(!f){return r(\"App Component could not be determined\")}const g=i.getFlexReferenceForControl(f);const d=o.getFlexObjectsDataSelector().get({reference:g}).filter(a).filter(s).filter(l.bind(this,f,n.selectors)).filter(c.bind(this,n.changeTypes));return Promise.resolve(d.length>0)},waitForChanges(e){let t;if(e.element){t=[{selector:e.element}]}else if(e.selectors){t=e.selectors.map(function(e){return{selector:e}})}else if(e.complexSelectors){t=e.complexSelectors}return r.waitForFlexObjectsToBeApplied(t)},isFlexSupported(e){return!!u.getAppComponentForControl(e.element)},hasVariantManagement(e){return n.belongsToVariantManagement(e.element)},getFlexReference(e){return i.getFlexReferenceForControl(e.element)},getConfiguredFlexServices(){return s.getFlexibilityServices()},getFlexVersion(e){return l.getFlexVersion(e)},getContextBasedAdaptationId(e){return a.getByReference(e.reference)?.adaptationId},getContextBasedAdaptationTitle(e){return a.getByReference(e.reference)?.adaptationTitle},async getFeedbackInformation(e){const t=this.getConfiguredFlexServices()[0].connector;const n=u.getAppDescriptor(e.rootControl);const r=await f.load();const o=i.getAppIdFromManifest(n);const s=i.getAppVersionFromManifest(n);return{appId:o,appVersion:s,connector:t,version:r.version}},_getHostname(){return document.location.hostname},isCustomerSystem(){const e=c.getInstanceOrUndef();const t=e?.getSystemType();const n={CUSTOMER:true,SAP:false}[t];const r=this._getHostname();return n!==undefined?n:!(r===\"localhost\"||r===\"127.0.0.1\")},isAtoEnabled(){return c.getInstanceOrUndef()?.getIsAtoEnabled()},getSystem(){return c.getInstanceOrUndef()?.getSystem()},getUserId(){return c.getInstanceOrUndef()?.getUserId()}};return g});\n//# sourceMappingURL=FlexRuntimeInfoAPI.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/fl/changeHandler/BaseRename\"],function(e,t,r){\"use strict\";var n={propertyName:\"title\",changePropertyName:\"newText\",translationTextType:\"XGRP\"};var o=r.createRenameChangeHandler(n);o._getControlForRename=function(e,t){var r,n;return Promise.resolve().then(function(){return t.getAggregation(e,\"subSections\")}).then(function(n){r=n;if(r.length!==1){return[]}return Promise.all([t.getPropertyBindingOrProperty(r[0],\"title\"),t.getProperty(t.getParent(e),\"subSectionLayout\")])}).then(function(t){n=t[0];if(r&&r.length===1&&n&&typeof n===\"object\"||typeof n===\"string\"&&n.trim()!==\"\"&&t[1]===\"TitleOnTop\"){return r[0]}return e})};o.applyChange=function(e,t,r){var a=r.modifier;var i=n.propertyName;var g=e.getText(n.changePropertyName);if(g&&typeof g===\"string\"){return o._getControlForRename(t,a).then(function(t){if(g.trim()===\"\"){throw new Error(\"Change cannot be applied as ObjectPageSubSection's title cannot be empty\")}return a.getPropertyBindingOrProperty(t,i).then(function(r){e.setRevertData(r);a.setPropertyBindingOrProperty(t,i,g);return true})})}};o.revertChange=function(t,r,a){var i=t.getRevertData(),g=a.modifier,u=n.propertyName;return o._getControlForRename(r,g).then(function(r){if(i||i===\"\"){g.setPropertyBindingOrProperty(r,u,i);t.resetRevertData();return true}else{e.error(\"Change doesn't contain sufficient information to be reverted. Most Likely the Change didn't go through applyChange.\")}})};o.getChangeVisualizationInfo=function(e,r){var o=e.getTexts()&&e.getTexts()[n.changePropertyName];var a=e.getSelector();var i=t.bySelector(a,r);var g=i.getParent().getAggregation(\"_anchorBar\");var u=[i.getId()];var p=[i.getId()];g.getAggregation(\"items\").forEach(function(e){if(i.getId()===e.getKey()){p.push(e.getId())}});return{descriptionPayload:{originalLabel:e.getRevertData(),newLabel:o&&o.value},affectedControls:u,displayControls:p}};return o},true);\n//# sourceMappingURL=RenameObjectPageSection.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/fl/changeHandler/condenser/Classification\"],function(e,t,n){\"use strict\";const i=\"visible\";const r={};r.applyChange=async function(e,t,n){const r=n.modifier;const o=await r.getProperty(t,i);e.setRevertData({originalValue:o});n.modifier.setVisible(t,true)};r.revertChange=function(t,n,i){const r=t.getRevertData();if(r){i.modifier.setVisible(n,r.originalValue);t.resetRevertData()}else{e.error(\"Attempt to revert an unapplied change.\")}};r.completeChangeContent=function(){};r.getCondenserInfo=function(e){return{affectedControl:e.getSelector(),classification:n.Reverse,uniqueKey:i}};r.getChangeVisualizationInfo=function(e,n){const i=e.getSelector();const r=t.bySelector(i,n);const o={updateRequired:true};function a(e){if(!e){return null}if(e.getVisible?.()){return e}return a(e.getParent())}if(!r.getVisible()){const e=a(r.getParent());if(e){o.displayControls=[e.getId()]}}return o};return r});\n//# sourceMappingURL=UnhideControl.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/fl/apply/_internal/changes/Applier\",\"sap/ui/fl/apply/_internal/changes/FlexCustomData\",\"sap/ui/fl/apply/_internal/changes/Utils\",\"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler\",\"sap/ui/fl/apply/_internal/flexState/FlexObjectState\",\"sap/ui/fl/Utils\"],function(e,t,r,n,o,a,i){\"use strict\";const s={};async function l(e){if(!e.isApplyProcessFinished()&&e.hasApplyProcessStarted()){const t=await e.addPromiseForApplyProcessing();if(t&&t.error){e.markRevertFinished(t.error);throw Error(t.error)}}}function c(e,t){const r=e.getId();const n=a.getLiveDependencyMap(t);o.removeChangeFromMap(n,r);o.removeChangeFromDependencies(n,r)}async function p(e,t,n,o){const a=await s.revertChangeOnControl(e,t,n);r.destroyAppliedCustomData(a||t,e,o.modifier);if(a){c(e,o.reference)}}s.revertChangeOnControl=async function(t,r,o){const a=n.getControlIfTemplateAffected(t,r,o);try{const e=await n.getChangeHandler({flexObject:t,control:a.control,controlType:a.controlType,modifier:o.modifier});await l(t);if(t.isSuccessfullyApplied()){t.startReverting()}else{throw Error(\"Change was never applied\")}await e.revertChange(t,a.control,o);a.control=o.modifier.bySelector(t.getSelector(),o.appComponent,o.view);if(a.bTemplateAffected){await o.modifier.updateAggregation(a.control,t.getContent().boundAggregation)}t.markRevertFinished();return a.control}catch(r){const n=`Change could not be reverted: ${r.message}`;e.error(n);t.markRevertFinished(n);return false}};s.revertMultipleChanges=function(e,r){const n=[];e.forEach(e=>{e.setQueuedForRevert();n.push(()=>{const t=e.getSelector&&e.getSelector();const n=r.modifier.bySelector(t,r.appComponent);if(!n){c(e,r.reference);return i.FakePromise?new i.FakePromise:Promise.resolve()}const o={modifier:r.modifier,appComponent:r.appComponent,view:i.getViewForControl(n)};return p(e,n,o,r)})});const o=i.execPromiseQueueSequentially(n);t.addPreConditionForInitialChangeApplying(o);return o};return s});\n//# sourceMappingURL=Reverter.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/fl/changeHandler/condenser/Classification\",\"sap/ui/core/util/reflection/JsControlTreeModifier\"],function(e,t,n){\"use strict\";const i=\"visible\";const o={};o.applyChange=async function(e,t,n){const i=n.modifier;const o=await i.getVisible(t);e.setRevertData({originalValue:o});i.setVisible(t,false)};o.revertChange=function(t,n,i){const o=t.getRevertData();if(o){i.modifier.setVisible(n,o.originalValue);t.resetRevertData()}else{e.error(\"Attempt to revert an unapplied change.\")}};o.completeChangeContent=function(){};o.getCondenserInfo=function(e){return{affectedControl:e.getSelector(),classification:t.Reverse,uniqueKey:i}};o.getChangeVisualizationInfo=function(e,t){const i=e.getSelector();const o=n.bySelector(i,t);const r={affectedControls:[i],updateRequired:true};function a(e){if(!e){return null}if(e.getVisible?.()){return e}return a(e.getParent())}const s=a(o);if(s){r.displayControls=[s.getId()]}return r};return o});\n//# sourceMappingURL=HideControl.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/fl/changeHandler/condenser/Classification\"],function(e,t){\"use strict\";const o={};o.SOURCE_ALIAS=\"source\";o.TARGET_ALIAS=\"target\";o.MOVED_ELEMENTS_ALIAS=\"movedElements\";function r(e,t,o,r){if(!e){throw new Error(\"No change instance\")}const n=e.getContent();if(!n||!n.movedElements||n.movedElements.length===0){throw new Error(\"Change format invalid\")}if(!n.source||!n.source.selector){throw new Error(\"No source supplied for move\")}if(!n.target||!n.target.selector){throw new Error(\"No target supplied for move\")}if(!t.bySelector(n.source.selector,r,o)){throw new Error(\"Move source parent not found\")}if(!t.bySelector(n.target.selector,r,o)){throw new Error(\"Move target parent not found\")}if(!n.source.selector.aggregation){throw new Error(\"No source aggregation supplied for move\")}if(!n.target.selector.aggregation){throw new Error(\"No target aggregation supplied for move\")}}async function n(e,t,o,r){if(!e.selector&&!e.id){throw new Error(\"Change format invalid - moveElements element has no id attribute\")}if(typeof e.targetIndex!==\"number\"){throw new Error(`Missing targetIndex for element with id '${e.selector.id}' in movedElements supplied`)}const n=await t.bySelector(e.selector||e.id,o,r);if(!n){throw new Error(`Control to move was not found. Id: '${e.selector.id}'`)}return n}function a(e){if(!e.movedElements){throw new Error(\"mSpecificChangeInfo.movedElements attribute required\")}if(e.movedElements.length===0){throw new Error(\"MovedElements array is empty\")}e.movedElements.forEach(function(e){if(!e.id){throw new Error(\"MovedControls element has no id attribute\")}if(typeof e.sourceIndex!==\"number\"){throw new Error(\"SourceIndex attribute at MovedElements element is no number\")}if(typeof e.targetIndex!==\"number\"){throw new Error(\"TargetIndex attribute at MovedElements element is no number\")}})}async function s(e,t,o){delete t.source.publicAggregation;delete t.target.publicAggregation;const r=t.source.parent||await e.bySelector(t.source.id,o);const n=t.target.parent||await e.bySelector(t.target.id,o);const a=t.source.aggregation;const s=t.target.aggregation;const g={aggregation:t.source.aggregation,type:e.getControlType(r)};const c={aggregation:t.target.aggregation,type:e.getControlType(n)};const i={source:{id:r.getId(),aggregation:a,type:g.type,selector:e.getSelector(t.source.id,o,g)},target:{id:n.getId(),aggregation:s,type:c.type,selector:e.getSelector(t.target.id,o,c)},movedElements:t.movedElements};return i}o.applyChange=async function(e,t,o){const a=o.modifier;const s=o.view;const g=o.appComponent;const c=e.getContent();const i=[];let l=false;r(e,a,s,g);for(const e of c.movedElements){const t=await n(e,a,g,s);let r=a.getParent(t);let d=o.sourceAggregation||await a.getParentAggregationName(t,r);const u=await a.bySelector(c.target.selector,g,s);const m=o.targetAggregation||c.target.selector.aggregation;let f=await a.findIndexInParentAggregation(t);const E=e.targetIndex;if(f>-1){if(f===E&&d===m&&a.getParent(t)===u){f=e.sourceIndex;d=o.sourceAggregation||c.source.selector.aggregation;l=true;r=await a.bySelector(c.source.selector,g,s)||r}}if(f>-1){i.unshift({index:f,aggregation:d,sourceParent:a.getSelector(r,g)})}if(!l){await a.moveAggregation(r,d,u,m,t,E,s)}}e.setRevertData(i)};o.revertChange=async function(e,t,o){const a=o.modifier;const s=o.view;const g=o.appComponent;const c=e.getContent();r(e,a,s,g);let i=await a.bySelector(c.source.selector,g,s);const l=await a.bySelector(c.target.selector,g,s);let d=c.source.selector.aggregation;const u=c.target.selector.aggregation;const m=e.getRevertData();c.movedElements.reverse();let f=0;for(const e of c.movedElements){const t=await n(e,a,g,s);if(!t){throw new Error(\"Element to move not found\")}let o=e.sourceIndex;if(m){const e=m[f];d=e.aggregation;o=e.index;i=await a.bySelector(e.sourceParent,g,s)||i}await a.moveAggregation(l,u,i,d,t,o,s);f++}e.resetRevertData()};o.completeChangeContent=async function(e,t,r){const n=r.modifier;const g=r.appComponent;const c=t.content||t;a(c);const i=await s(n,c,g);const l={movedElements:[],source:{selector:i.source.selector},target:{selector:i.target.selector}};for(const t of i.movedElements){const a=t.element||await n.bySelector(t.id,g);l.movedElements.push({selector:n.getSelector(a,g),sourceIndex:t.sourceIndex,targetIndex:t.targetIndex});e.addDependentControl(i.source.id,o.SOURCE_ALIAS,r);e.addDependentControl(i.target.id,o.TARGET_ALIAS,r);e.addDependentControl(i.movedElements.map(function(e){return e.id}),o.MOVED_ELEMENTS_ALIAS,r)}e.setContent(l)};o.getCondenserInfo=function(e){const o=e.getContent();const r=e.getRevertData()[0];return{affectedControl:o.movedElements[0].selector,classification:t.Move,sourceContainer:r.sourceParent,targetContainer:o.target.selector,sourceIndex:r.index,sourceAggregation:r.aggregation,targetAggregation:o.target.selector.aggregation,setTargetIndex(e,t){const o=e.getContent();o.movedElements[0].targetIndex=t;e.setContent(o)},getTargetIndex(e){return e.getContent().movedElements[0].targetIndex},setIndexInRevertData(e,t){const o=e.getRevertData();o[0].index=t;e.setRevertData(o)}}};o.getChangeVisualizationInfo=function(e){const t=e.getContent();const o=e.getRevertData()[0];return{affectedControls:[t.movedElements[0].selector],dependentControls:[t.source.selector],descriptionPayload:{sourceContainer:o.sourceParent,targetContainer:t.target.selector}}};return o});\n//# sourceMappingURL=MoveControls.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/fl/changeHandler/condenser/Classification\"],function(e,t){\"use strict\";var n={};n.applyChange=function(e,t,n){var r=e.getContent();var i=r.property;var o=r.newBinding;var a=n.modifier;return Promise.resolve().then(a.getPropertyBindingOrProperty.bind(a,t,i)).then(function(n){e.setRevertData({originalValue:n});a.setPropertyBinding(t,i,o)})};n.revertChange=function(t,n,r){var i=t.getRevertData();if(i){var o=t.getContent();var a=o.property;var s=i.originalValue;var p=r.modifier;p.setPropertyBindingOrProperty(n,a,s);t.resetRevertData()}else{e.error(\"Attempt to revert an unapplied change.\")}};n.completeChangeContent=function(e,t){if(!t.content){throw new Error(\"oSpecificChangeInfo attribute required\")}e.setContent(t.content)};n.getCondenserInfo=function(e){return{affectedControl:e.getSelector(),classification:t.LastOneWins,uniqueKey:e.getContent().property}};return n},true);\n//# sourceMappingURL=PropertyBindingChange.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/Log\",\"sap/ui/fl/initial/_internal/FlexConfiguration\",\"sap/ui/fl/Layer\",\"sap/ui/fl/LayerUtils\",\"sap/base/util/isEmptyObject\"],function(n,e,t,r,a){\"use strict\";const o={};var i={load:{LrepConnector:\"sap/ui/fl/initial/_internal/connectors/LrepConnector\",NeoLrepConnector:\"sap/ui/fl/initial/_internal/connectors/NeoLrepConnector\",PersonalizationConnector:\"sap/ui/fl/initial/_internal/connectors/PersonalizationConnector\",KeyUserConnector:\"sap/ui/fl/initial/_internal/connectors/KeyUserConnector\",BtpServiceConnector:\"sap/ui/fl/initial/_internal/connectors/BtpServiceConnector\",StaticFileConnector:\"sap/ui/fl/initial/_internal/connectors/StaticFileConnector\",JsObjectConnector:\"sap/ui/fl/write/_internal/connectors/JsObjectConnector\",ObjectPathConnector:\"sap/ui/fl/write/_internal/connectors/ObjectPathConnector\",LocalStorageConnector:\"sap/ui/fl/write/_internal/connectors/LocalStorageConnector\",SessionStorageConnector:\"sap/ui/fl/write/_internal/connectors/SessionStorageConnector\"},write:{LrepConnector:\"sap/ui/fl/write/_internal/connectors/LrepConnector\",NeoLrepConnector:\"sap/ui/fl/write/_internal/connectors/NeoLrepConnector\",PersonalizationConnector:\"sap/ui/fl/write/_internal/connectors/PersonalizationConnector\",KeyUserConnector:\"sap/ui/fl/write/_internal/connectors/KeyUserConnector\",BtpServiceConnector:\"sap/ui/fl/write/_internal/connectors/BtpServiceConnector\",StaticFileConnector:\"sap/ui/fl/write/_internal/connectors/StaticFileConnector\",JsObjectConnector:\"sap/ui/fl/write/_internal/connectors/JsObjectConnector\",ObjectPathConnector:\"sap/ui/fl/write/_internal/connectors/ObjectPathConnector\",LocalStorageConnector:\"sap/ui/fl/write/_internal/connectors/LocalStorageConnector\",SessionStorageConnector:\"sap/ui/fl/write/_internal/connectors/SessionStorageConnector\"}};var c=\"sap/ui/fl/initial/_internal/connectors/\";var s={connector:\"StaticFileConnector\"};function l(n,e){var t=[];if(!n){t=e}else{t=n.filter(function(n){return e.indexOf(n)!==-1||e[0]===\"ALL\"})}return t}function p(n,e,t){return t.map(function(n){var t=n.connector;var r;if(!n.loadConnector&&!n.applyConnector&&!n.loadConnector){r=e?i.load[t]:i.write[t]}else if(e){r=n.loadConnector||n.applyConnector}else{r=n.writeConnector||\"sap/ui/fl/write/connectors/BaseConnector\"}return r})}o.requireConnectors=function(n){return new Promise(function(e){sap.ui.require(n,function(...n){e(n)})})};async function u(n,e,t){var r=p(n,e,t);const a=await o.requireConnectors(r,e,t);a.forEach(function(n,r){if(!t[r].layers){t[r].layers=n.layers}else{t[r].layers=l(t[r].layers,n.layers)}if(e){t[r].loadConnectorModule=n}else{t[r].writeConnectorModule=n}});return t}o.getConnectors=function(n,t,r){var a=e.getFlexibilityServices();var o=[];if(t&&!r){o=[s]}o=o.concat(a);return u(n,t,o)};o.getLoadConnectors=function(n){return this.getConnectors(c,true,n)};o.getStaticFileConnector=function(){return u(c,true,[s])};o.logAndResolveDefault=function(e,t,r,a){n.error(`Connector (${t.connector}) failed call '${r}': ${a}\\n\\t\\t\\tApplication startup continues without data from this storage.`);return e};o.filterAndSortResponses=function(n){var e=[];Object.keys(n).forEach(function(t){e.push(n[t])});e=e.filter(function(n){return n.changes.length>0||n.appDescriptorChanges.length>0||n.variants.length>0||n.variantChanges.length>0||n.variantManagementChanges.length>0||n.variantDependentControlChanges.length>0||n.comp.variants.length>0||n.comp.changes.length>0||n.comp.defaultVariants.length>0||n.comp.standardVariants.length>0||n.annotationChanges.length>0});e.sort(function(n,e){return n.index-e.index});return e};o.sortFlexObjects=function(n){const e=n.filter(n=>n.creation);const t=n.filter(n=>!n.creation);e.sort(function(n,e){return Date.parse(n.creation)-Date.parse(e.creation)});return t.concat(e)};o.getGroupedFlexObjects=function(n){const e=this.sortFlexObjects(n);var a={};Object.keys(t).forEach(function(n){a[n]=this.getEmptyFlexDataResponse();a[n].index=r.getLayerIndex(n)}.bind(this));e.forEach(function(n){var e=n.layer;if(n.fileType===\"annotation_change\"){a[e].annotationChanges.push(n)}else if(n.fileType===\"ctrl_variant\"&&n.variantManagementReference){a[e].variants.push(n)}else if(n.fileType===\"ctrl_variant_change\"){a[e].variantChanges.push(n)}else if(n.fileType===\"ctrl_variant_management_change\"){a[e].variantManagementChanges.push(n)}else if(n.fileType===\"variant\"){a[e].comp.variants.push(n)}else if(n.fileType===\"change\"){if(n.variantReference){a[e].variantDependentControlChanges.push(n)}else if(n.appDescriptorChange){a[e].appDescriptorChanges.push(n)}else{switch(n.changeType){case\"addFavorite\":case\"removeFavorite\":case\"updateVariant\":a[e].comp.changes.push(n);break;case\"defaultVariant\":a[e].comp.defaultVariants.push(n);break;case\"standardVariant\":a[e].comp.standardVariants.push(n);break;default:a[e].changes.push(n)}}}});return a};o.getEmptyFlexDataResponse=function(){return{appDescriptorChanges:[],annotationChanges:[],changes:[],comp:{variants:[],changes:[],defaultVariants:[],standardVariants:[]},variants:[],variantChanges:[],variantDependentControlChanges:[],variantManagementChanges:[],ui2personalization:{}}};o.getAllFlexObjectNamespaces=function(){return[\"appDescriptorChanges\",\"annotationChanges\",\"changes\",\"comp.changes\",\"comp.changes\",\"comp.defaultVariants\",\"comp.standardVariants\",\"variants\",\"variantChanges\",\"variantDependentControlChanges\",\"variantManagementChanges\"]};o.isStorageResponseFilled=function(n){return Object.keys(n||{}).some(function(e){if(Array.isArray(n[e])){return n[e].length!==0}return!a(n[e])})};return o});\n//# sourceMappingURL=StorageUtils.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/i18n/Localization\",\"sap/base/util/isPlainObject\",\"sap/base/util/uid\",\"sap/base/util/restricted/_isEqual\",\"sap/base/Log\",\"sap/ui/base/BindingInfo\",\"sap/ui/base/SyncPromise\",\"sap/ui/base/ManagedObject\",\"sap/ui/core/util/reflection/BaseTreeModifier\",\"sap/ui/core/Component\",\"sap/ui/core/Element\",\"sap/ui/fl/initial/_internal/FlexConfiguration\",\"sap/ui/fl/Scenario\",\"sap/ui/thirdparty/hasher\",\"sap/ui/core/mvc/View\"],function(e,t,r,n,i,o,a,s,p,u,c,l,f,g,m){\"use strict\";function h(e){if(e?.getEntry){return e.getEntry?.(\"sap.app\")?.type}return e?.[\"sap.app\"]?.type}function d(e,t){if(e?.startupParameters&&t&&Array.isArray(e.startupParameters[t])){return e.startupParameters[t][0]}return undefined}const C={isVariantByStartupParameter(e){const t=this.getAppComponentForControl(e);if(t?.getComponentData){return!!d(t.getComponentData(),\"sap-app-id\")}return false},getAppDescriptor(e){return this.getAppComponentForControl(e)?.getMetadata?.()?.getManifestObject?.().getJson()},isBinding(e,r){let n;try{n=o.parse(e,r)}catch(e){return false}return typeof e===\"string\"&&!!n||t(e)&&((e.hasOwnProperty(\"path\")||e.hasOwnProperty(\"parts\"))&&!e.hasOwnProperty(\"ui5object\"))},getComponentForControl(e){function t(e){const r=u.getOwnerIdFor(e);if(!r){if(typeof e?.getParent===\"function\"){const r=e.getParent();if(r){return t(r)}}}return r||\"\"}if(e){const r=t(e);if(r){return u.getComponentById(r)}}return undefined},getAppComponentForControl(e){let t=e instanceof u?e:C.getComponentForControl(e);if(t?.getAppComponent?.()instanceof u){return t.getAppComponent()}if(t?.oComponentData?.appComponent){return t.oComponentData.appComponent}if(t?.getManifestEntry){const e=t.getManifestEntry(\"sap.app\");if(e?.type&&e.type!==\"application\"){if(t instanceof u){t=C.getComponentForControl(t)}return this.getAppComponentForControl(t)}}return t},getAppComponentForSelector(e){return e.appComponent||C.getAppComponentForControl(e)},getViewForControl(e){if(e instanceof m){return e}if(typeof e?.getParent===\"function\"){e=e.getParent();return C.getViewForControl(e)}return undefined},getClient(){return new URLSearchParams(window.location.search).get(\"sap-client\")},getConnectors(){const e=l.getFlexibilityServices();return e.map(e=>e?.connector)},getLrepUrl(){const e=l.getFlexibilityServices();const t=e.find(e=>e.connector===\"LrepConnector\");return t?.url||\"\"},getCurrentLanguage(){const t=e.getLanguage();if(typeof t!==\"string\"){return\"\"}const r=t.indexOf(\"-\");if(r<0&&t.length<=2){return t.toUpperCase()}if(r>0&&r<=2){return t.substring(0,r).toUpperCase()}return\"\"},getControlType(e){return e?.getMetadata?.()?.getElementName?.()},checkControlId(e,t){if(!t){e=e instanceof s?e:c.getElementById(e);t=C.getAppComponentForControl(e)}return p.checkControlId(e,t)},hasLocalIdSuffix:p.hasLocalIdSuffix,getParsedURLHash(e){return e?.parseShellHash(g.getHash())||{}},getUrlParameter(e){return new URLSearchParams(window.location.search).get(e)},getUshellContainer(){const e=sap.ui.require(\"sap/ushell/Container\");return e?.isInitialized()?e:undefined},createDefaultFileName(e){const t=r().replace(/-/g,\"_\");return e?`${t}_${e}`:t},createNamespace(e,t){const r=t===\"ctrl_variant\"?\"variants\":\"changes\";const n=e.reference.replace(\".Component\",\"\");return`apps/${n}/${r}/`},buildLrepRootNamespace(e,t,r){const n=\"apps\";const i=\"Error in sap.ui.fl.Utils#buildLrepRootNamespace:\";if(!e){throw new Error(`${i} for every scenario you need a base ID`)}switch(t){case f.VersionedAppVariant:case f.AppVariant:if(!r){throw new Error(`${i} in the ${t} scenario you additionally need a project ID`)}return`${n}/${e}/appVariants/${r}/`;case f.AdaptationProject:if(!r){throw new Error(`${i} in the ${t} scenario you additionally need a project ID`)}return`${n}/${e}/adapt/${r}/`;case f.FioriElementsFromScratch:case f.UiAdaptation:default:return`${n}/${e}/`}},isApplication(e){return h(e)===\"application\"},isApplicationComponent(e){return e instanceof u&&C.isApplication(e.getManifestObject())},isEmbeddedComponent(e){const t=C.getAppComponentForControl(e);return!!(e instanceof u&&h(e.getManifestObject())===\"component\"&&t&&C.isApplicationComponent(t))},indexOfObject(e,t){return e.findIndex(e=>n(e,t))},execPromiseQueueSequentially(e,t,r,n){if(e.length===0){if(r){return Promise.resolve()}return C.FakePromise?new C.FakePromise:Promise.resolve()}const o=e.shift();if(typeof o===\"function\"){let a;try{a=o()}catch(e){a=Promise.reject(e)}return a.then(function(){if(!r&&a instanceof Promise){r=true}}).catch(function(e){let r=\"Error during execPromiseQueueSequentially processing occurred\";r+=e?`: ${e.message}`:\"\";i.error(r,e);if(t){if(n){throw new Error(e.message)}else{throw new Error(r)}}}).then(function(){return this.execPromiseQueueSequentially(e,t,r,n)}.bind(this))}i.error(\"Changes could not be applied, promise not wrapped inside function.\");return this.execPromiseQueueSequentially(e,t,r,n)},FakePromise:function(e,t,r){C.FakePromise.fakePromiseIdentifier=\"sap.ui.fl.Utils.FakePromise\";this.vValue=e;this.vError=t;this.bContinueWithFakePromise=arguments.length<3||r===C.FakePromise.fakePromiseIdentifier;const n=function(e,t){try{const r=t(e,C.FakePromise.fakePromiseIdentifier);if(a.isThenable(r)){return r}return new C.FakePromise(r)}catch(e){const t=e;return new C.FakePromise(undefined,t)}};C.FakePromise.prototype.then=function(e,t){if(!this.bContinueWithFakePromise){return Promise.resolve(e(this.vValue))}if(!this.vError){return n(this.vValue,e)}else if(t){return n(this.vError,t)}return this};C.FakePromise.prototype.catch=function(e){if(!this.bContinueWithFakePromise){return Promise.reject(e(this.vError))}if(this.vError){return n(this.vError,e)}return this};if(this.vValue instanceof Promise||this.vValue instanceof C.FakePromise){return this.vValue}return undefined},getChangeFromChangesMap(e,t){let r;Object.values(e).some(e=>{r=e.find(e=>e.getId()===t);return r});return r},handleUrlParameters(e,t,r,n){if(C.hasParameterAndValue(t,r,n)){if(e.startsWith(\"?\")){e=e.substr(1,e.length)}const n=e.split(\"&\").filter(e=>e!==`${t}=${r}`);e=\"\";if(n.length>0){e=`?${n.join(\"&\")}`}}else{e+=`${(e.length>0?\"&\":\"?\")+t}=${r}`}return e},hasParameterAndValue(e,t,r){return C.getParameter(e,r)===t},getParameter(e,t){return C.getParsedURLHash(t)?.params?.[e]?.[0]||C.getUrlParameter(e)},findAggregation(e,t){return e?.getMetadata?.()?.getAllAggregations?.()?.[t]},getAggregation(e,t){const r=C.findAggregation(e,t);if(r){return e[r._sGetter]()}return undefined},getProperty(e,t){const r=e.getMetadata().getPropertyLikeSetting(t)?._sGetter;return e[r]()},getUShellService(e){if(e){const t=this.getUshellContainer();if(t){return t.getServiceAsync(e)}}return Promise.resolve()},async getUShellServices(e){const t={};for(const r of e){t[r]=await this.getUShellService(r)}return t}};return C});\n//# sourceMappingURL=Utils.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/LoaderExtensions\"],function(t){\"use strict\";const e={setTextInChange(t,e,n,o){t.texts||={};t.texts[e]||={};t.texts[e].value=n;t.texts[e].type=o},async instantiateFragment(e,n){const o=e.getFlexObjectMetadata();const s=o.moduleName;if(!s){return Promise.reject(new Error(\"The module name of the fragment is not set. This should happen in the backend\"))}const a=n.viewId?`${n.viewId}--`:\"\";const i=o.projectId||\"\";const r=e.getExtensionPointInfo&&e.getExtensionPointInfo()&&e.getExtensionPointInfo().fragmentId||\"\";const c=i&&r?\".\":\"\";const d=a+i+c+r;const m=n.modifier;const u=n.view;const g=t.loadResource(s,{dataType:\"text\"});try{return await m.instantiateFragment(g,d,u)}catch(t){throw new Error(`The following XML Fragment could not be instantiated: ${g} Reason: ${t.message}`)}},markAsNotApplicable(t,e){const n={message:t};if(!e){throw n}return Promise.reject(n)}};return e});\n//# sourceMappingURL=Base.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/ObjectPath\",\"sap/ui/base/ManagedObject\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/initial/_internal/Settings\",\"sap/ui/fl/initial/_internal/Storage\",\"sap/ui/fl/initial/_internal/StorageUtils\"],function(e,t,n,a,r,i){\"use strict\";function s(e){if(typeof e===\"string\"){e={id:e}}e.idIsLocal=true;return e}function c(e,t){if(e){[t.changes,t.variantChanges,t.variantDependentControlChanges,t.variantManagementChanges].flat().filter(e=>e.selector&&!e.selector.idIsLocal).forEach(function(e){e.selector=s(e.selector);if(e.dependentSelector){Object.keys(e.dependentSelector).forEach(t=>{const n=e.dependentSelector[t];if(Array.isArray(n)){e.dependentSelector[t]=n.map(s)}else{e.dependentSelector[t]=s(n)}})}})}return t}function l(n){i.getAllFlexObjectNamespaces().forEach(function(a){const r=e.get(a,n);if(r){e.set(a,r.filter(e=>{let n;try{n=new t(e.fileName)}catch(e){return false}n.destroy();return true}),n)}});return n}function o(e){return e&&!!n.getOvpEntry(e)}function f(e){return{changes:e,cacheKey:e.cacheKey}}function p(e){if(e?.startupParameters&&Array.isArray(e.startupParameters.hcpApplicationId)){return e.startupParameters.hcpApplicationId[0]}}function u(t){const n=\"deactivateChanges\";const a=t.changes.map(e=>{if(e.changeType===n){return[e.fileName,...e.content.changeIds]}}).flat().filter(Boolean);if(a.length){i.getAllFlexObjectNamespaces().forEach(function(n){const r=e.get(n,t);if(r.length){e.set(n,r.filter(e=>!a.includes(e.fileName)),t)}})}return t}return{loadFlexData(e){var t=n.getBaseComponentNameFromManifest(e.manifest);if(e.partialFlexData){return r.completeFlexData({reference:e.reference,componentName:t,partialFlexData:e.partialFlexData}).then(f)}var a=e.reInitialize?undefined:n.getCacheKeyFromAsyncHints(e.reference,e.asyncHints);return r.loadFlexData({preview:n.getPreviewSectionFromAsyncHints(e.asyncHints),reference:e.reference,componentName:t,cacheKey:a,siteId:p(e.componentData),appDescriptor:e.manifest.getRawJson?e.manifest.getRawJson():e.manifest,version:e.version,allContexts:e.allContexts,adaptationId:e.adaptationId,skipLoadBundle:e.skipLoadBundle}).then(u.bind()).then(l.bind()).then(c.bind(undefined,o(e.manifest))).then(f)},loadVariantsAuthors(e){const t=a.getInstanceOrUndef();return t?.getIsVariantAuthorNameAvailable()?r.loadVariantsAuthors(e):Promise.resolve({})}}});\n//# sourceMappingURL=Loader.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/deepClone\",\"sap/base/util/isEmptyObject\",\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/base/util/restricted/_omit\",\"sap/ui/base/ManagedObject\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/initial/_internal/Settings\",\"sap/ui/fl/Layer\",\"sap/ui/fl/Utils\"],function(t,e,n,a,r,o,i,s,p,u){\"use strict\";var c=o.extend(\"sap.ui.fl.apply._internal.flexObjects.FlexObject\",{metadata:{properties:{adaptationId:{type:\"string\"},state:{type:\"string\",defaultValue:i.LifecycleState.NEW},fileType:{type:\"string\",defaultValue:\"change\"},layer:{type:\"string\"},flexObjectMetadata:{type:\"object\",defaultValue:{}},supportInformation:{type:\"object\",defaultValue:{}},content:{type:\"any\",defaultValue:{}},texts:{type:\"object\",defaultValue:{}}}},constructor:function(...t){o.apply(this,t);var e=this.getFlexObjectMetadata();var n=e.reference;if(n){e.reference=n.endsWith(\".Component\")?n.replace(/\\.Component(?!.*\\.Component)/,\"\"):n;e.namespace||=u.createNamespace({reference:n},this.getFileType());e.projectId||=n}this.setFlexObjectMetadata(e);var a=this.getSupportInformation();a.originalLanguage||=u.getCurrentLanguage();this.setSupportInformation(a)}});c.getMappingInfo=function(){return{\"flexObjectMetadata.changeType\":\"changeType\",\"flexObjectMetadata.reference\":\"reference\",\"flexObjectMetadata.namespace\":\"namespace\",\"flexObjectMetadata.creation\":\"creation\",\"flexObjectMetadata.projectId\":\"projectId\",\"flexObjectMetadata.packageName\":\"packageName\",\"flexObjectMetadata.moduleName\":\"moduleName\",\"supportInformation.generator\":\"support.generator\",\"supportInformation.clonedFrom\":\"support.clonedFrom\",\"supportInformation.service\":\"support.service\",\"supportInformation.sourceSystem\":\"sourceSystem\",\"supportInformation.sourceClient\":\"sourceClient\",\"supportInformation.user\":\"support.user\",\"supportInformation.sapui5Version\":\"support.sapui5Version\",\"supportInformation.sourceChangeFileName\":\"support.sourceChangeFileName\",\"supportInformation.compositeCommand\":\"support.compositeCommand\",\"supportInformation.command\":\"support.command\",\"supportInformation.oDataInformation\":\"oDataInformation\",\"supportInformation.originalLanguage\":\"originalLanguage\",adaptationId:\"adaptationId\",layer:\"layer\",fileType:\"fileType\",id:\"fileName\",content:\"content\",texts:\"texts\"}};c.prototype.getMappingInfo=function(){return c.getMappingInfo()};c.prototype.setContent=function(t,e){this.setProperty(\"content\",t);if(!e){this.setState(i.LifecycleState.UPDATED)}return this};c.prototype.getFlexObjectMetadata=function(){return{...this.getProperty(\"flexObjectMetadata\")}};c.prototype.getSupportInformation=function(){return{...this.getProperty(\"supportInformation\")}};function f(t,e){if(!Object.values(i.LifecycleState).includes(t)){return false}if(e===i.LifecycleState.NEW&&t===i.LifecycleState.UPDATED){return false}return true}c.prototype.setState=function(t){var e=this.getState();if(e!==t&&f(t,e)){this._sPreviousState=e;this.setProperty(\"state\",t)}return this};c.prototype.isPersisted=function(){return this.getState()===i.LifecycleState.PERSISTED};c.prototype.markForDeletion=function(){this.setState(i.LifecycleState.DELETED)};c.prototype.restorePreviousState=function(){if(this._sPreviousState){this.setState(this._sPreviousState);delete this._sPreviousState}};c.prototype.isChangeFromOtherSystem=function(){var t=this.getSupportInformation().sourceSystem;var e=this.getSupportInformation().sourceClient;if(!t||!e){return false}var n=s.getInstanceOrUndef();if(!n){return true}var a=n.getSystem();var r=n.getClient();if(!a||!r){return false}return t!==a||e!==r};c.prototype.isValidForDependencyMap=function(){return false};c.prototype.getNamespace=function(){return this.getFlexObjectMetadata().namespace};c.prototype.getChangeType=function(){return this.getFlexObjectMetadata().changeType};c.prototype.isUserDependent=function(){return this.getLayer()===p.USER};c.prototype.getText=function(t){var e=this.getTexts()[t]||{};return e.value||\"\"};c.prototype.setText=function(t,e,n,a){const r={...this.getTexts()};const o={value:e};if(n){o.type=n}r[t]={...r[t],...o};this.setTexts(r);if(!a){this.setState(i.LifecycleState.UPDATED)}return this};c.prototype.setRequest=function(t){this._sRequest=t};c.prototype.getRequest=function(){return this._sRequest||\"\"};c.prototype.getDefinition=function(){return this.convertToFileContent()};c.prototype.getCreation=function(){return this.getFlexObjectMetadata().creation};c.prototype.setCreation=function(t){var e=this.getFlexObjectMetadata();e.creation=t;this.setFlexObjectMetadata(e)};function l(t){return t.length?t.charAt(0).toUpperCase()+t.slice(1):t}function g(t){return typeof this[t]===\"function\"?this[t].bind(this):function(){throw new Error(`${t} is not a valid mutator`)}}function h(e){var n=e.split(\".\");n[0]=l(n[0]);var r=n.shift();var o=g.call(this,`get${r}`);var i=g.call(this,`set${r}`);return{getValue(){var e=t(o());if(n.length>0){return a.get(n,e)}return e},setValue:function(e){var r=t(o());if(n.length>0){a.set(n,e,r)}else{r=e}i(r);return this}.bind(this)}}c.prototype.convertToFileContent=function(){var t={};Object.entries(this.getMappingInfo()).forEach(function(e){var n=h.call(this,e[0]).getValue();if(n!==undefined){a.set(e[1],n,t)}}.bind(this));return t};function d(t,e){var n=h.call(this,t);var a=n.getValue();if(a!==e){n.setValue(e)}}c.mapFileContent=function(e,a){var r=Object.values(a);var o={};var i=function(t,e,s){var p=s?`${s}.${t}`:t;var u=r.indexOf(p);if(u>=0){var c=Object.keys(a)[u];o[c]=e}else if(n(e)){Object.entries(e).forEach(function(t){i(t[0],t[1],p)})}};Object.entries(t(e,15)).forEach(function(t){i(t[0],t[1])});return o};c.prototype.update=function(t){var e=r(t,[\"fileName\"]);var n=c.mapFileContent(e,this.getMappingInfo());Object.entries(n).forEach(function(t){d.call(this,t[0],t[1])}.bind(this))};c.prototype.setResponse=function(t){if(!t||e(t)){return}this.update(t);this.setState(i.LifecycleState.PERSISTED)};c.prototype.cloneFileContentWithNewId=function(){var t=this.convertToFileContent();t.fileName=u.createDefaultFileName(t.fileName.split(\"_\").pop());t.support.clonedFrom=this.getId();return t};c.prototype.getIdForCondensing=function(){throw new Error(\"Method getIdForCondensing must be implemented\")};c.prototype.canBeCondensed=function(){return false};c.prototype.canBeVisualized=function(){return false};return c});\n//# sourceMappingURL=FlexObject.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/extend\",\"sap/ui/fl/changeHandler/condenser/Classification\"],function(t,e){\"use strict\";const n={};const i=[\"width\",\"height\",\"url\",\"_settings\",\"advancedSettings\"];async function r(t,e){const n={};for(const r of i){const i=await t.getProperty(e,r);n[r]=i}return n}function o(e,n,i){const r=t({_settings:i},i);return e.applySettings(n,r)}n.applyChange=async function(t,e,n){const i=n.modifier;const a=await i.getControlMetadata(e);if(a.getName()!==\"sap.ui.fl.util.IFrame\"){throw Error(\"UpdateIFrame only for sap.ui.fl.util.IFrame\")}const s=await r(i,e);t.setRevertData({originalSettings:s});return o(i,e,t.getContent())};n.revertChange=async function(t,e,n){const i=t.getRevertData();if(i){if(i.originalSettings._settings&&i.originalSettings._settings.url){i.originalSettings.url=i.originalSettings._settings.url}await o(n.modifier,e,i.originalSettings);t.resetRevertData()}else{throw Error(\"Attempt to revert an unapplied change.\")}};n.completeChangeContent=function(t,e){if(!e.content||!Object.keys(e.content).some(function(t){return i.indexOf(t)!==-1})){throw new Error(\"oSpecificChangeInfo attribute required\")}t.setContent(e.content)};n.getCondenserInfo=function(t){return{classification:e.Update,affectedControl:t.getSelector(),uniqueKey:\"iFrame\",updateContent:t.getContent()}};return n});\n//# sourceMappingURL=UpdateIFrame.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/isEmptyObject\",\"sap/base/util/isPlainObject\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObject\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/Utils\"],function(e,t,s,r,o,n){\"use strict\";var i=r.extend(\"sap.ui.fl.apply._internal.flexObjects.UIChange\",{metadata:{properties:{selector:{type:\"object\",defaultValue:{}},dependentSelectors:{type:\"object\",defaultValue:{}},applyState:{type:\"string\",defaultValue:o.ApplyState.NEW},jsOnly:{type:\"boolean\"},variantReference:{type:\"string\"},isChangeOnStandardVariant:{type:\"boolean\"},savedToVariant:{type:\"boolean\"},revertData:{type:\"any\",defaultValue:null}},aggregations:{},associations:{},events:{}},constructor:function(...e){r.apply(this,e);this._oChangeProcessingPromises={};this.setInitialApplyState()}});i.getMappingInfo=function(){return{...r.getMappingInfo(),selector:\"selector\",dependentSelectors:\"dependentSelector\",jsOnly:\"jsOnly\",variantReference:\"variantReference\",isChangeOnStandardVariant:\"isChangeOnStandardVariant\"}};i.prototype.getMappingInfo=function(){return i.getMappingInfo()};i.prototype.setQueuedForRevert=function(){if(this._aQueuedProcesses[this._aQueuedProcesses.length-1]!==o.Operations.REVERT){this._aQueuedProcesses.unshift(o.Operations.REVERT)}};i.prototype.isQueuedForRevert=function(){return this._aQueuedProcesses.indexOf(o.Operations.REVERT)>-1};i.prototype.setQueuedForApply=function(){if(this._aQueuedProcesses[this._aQueuedProcesses.length-1]!==o.Operations.APPLY){this._aQueuedProcesses.unshift(o.Operations.APPLY)}};i.prototype.isQueuedForApply=function(){return this._aQueuedProcesses.indexOf(o.Operations.APPLY)>-1};i.prototype.setInitialApplyState=function(){this._aQueuedProcesses=[];delete this._ignoreOnce;this.setApplyState(o.ApplyState.INITIAL);this._oChangeProcessedPromise={};this._oChangeProcessedPromise.promise=new Promise(function(e){this._oChangeProcessedPromise.resolveFunction={resolve:e}}.bind(this))};i.prototype.isInInitialState=function(){return this._aQueuedProcesses.length===0&&this.getApplyState()===o.ApplyState.INITIAL};i.prototype.isValidForDependencyMap=function(){return!!this.getSelector().id};i.prototype.startApplying=function(){this.setApplyState(o.ApplyState.APPLYING)};i.prototype.markFinished=function(e,t){this._aQueuedProcesses.pop();this._resolveChangeProcessingPromiseWithError(o.Operations.APPLY,e);var s=t!==false?o.ApplyState.APPLY_SUCCESSFUL:o.ApplyState.APPLY_FAILED;this.setApplyState(s)};i.prototype.markSuccessful=function(e){this.markFinished(e,true)};i.prototype.markFailed=function(e){this.markFinished(e,false)};i.prototype.startReverting=function(){this.setApplyState(o.ApplyState.REVERTING)};i.prototype.markRevertFinished=function(e){this._aQueuedProcesses.pop();this._resolveChangeProcessingPromiseWithError(o.Operations.REVERT,e);this.setApplyState(o.ApplyState.REVERT_FINISHED)};i.prototype.hasApplyProcessStarted=function(){return this.getApplyState()===o.ApplyState.APPLYING};i.prototype.isSuccessfullyApplied=function(){return this.getApplyState()===o.ApplyState.APPLY_SUCCESSFUL};i.prototype.hasApplyProcessFailed=function(){return this.getApplyState()===o.ApplyState.APPLY_FAILED};i.prototype.isApplyProcessFinished=function(){return this.isSuccessfullyApplied()||this.hasApplyProcessFailed()};i.prototype.hasRevertProcessStarted=function(){return this.getApplyState()===o.ApplyState.REVERTING};i.prototype.isRevertProcessFinished=function(){return this.getApplyState()===o.ApplyState.REVERT_FINISHED};i.prototype.isCurrentProcessFinished=function(){return this._aQueuedProcesses.length===0&&this.getApplyState()!==o.ApplyState.INITIAL};i.prototype.addChangeProcessingPromise=function(e){if(!this._oChangeProcessingPromises[e]){this._oChangeProcessingPromises[e]={};this._oChangeProcessingPromises[e].promise=new Promise(function(t){this._oChangeProcessingPromises[e].resolveFunction={resolve:t}}.bind(this))}return this._oChangeProcessingPromises[e].promise};i.prototype.addChangeProcessingPromises=function(){var e=[];if(this.getApplyState()===o.ApplyState.INITIAL&&this._oChangeProcessedPromise){e.push(this._oChangeProcessedPromise.promise)}this._aQueuedProcesses.forEach(function(t){e.push(this.addChangeProcessingPromise(t))},this);return e};i.prototype.addPromiseForApplyProcessing=function(){return this.addChangeProcessingPromise(o.Operations.APPLY)};i.prototype._resolveChangeProcessingPromiseWithError=function(e,t){if(this._oChangeProcessingPromises[e]){this._oChangeProcessingPromises[e].resolveFunction.resolve(t);delete this._oChangeProcessingPromises[e]}if(this._oChangeProcessedPromise){this._oChangeProcessedPromise.resolveFunction.resolve(t);this._oChangeProcessedPromise=null}};i.prototype.hasRevertData=function(){return this.getRevertData()!==null};i.prototype.resetRevertData=function(){this.setRevertData(null)};i.prototype.setDependentSelectors=function(e){this.setProperty(\"dependentSelectors\",e);delete this._aDependentSelectorList};i.prototype.addDependentControl=function(t,s,r,o){if(!t){throw new Error(\"Parameter vControl is mandatory\")}if(!s){throw new Error(\"Parameter sAlias is mandatory\")}if(!r||e(r)){throw new Error(\"Parameter mPropertyBag is mandatory\")}var n={...this.getDependentSelectors()};if(n[s]){throw new Error(`Alias '${s}' already exists in the change.`)}var i=r.modifier;var a=r.appComponent;if(Array.isArray(t)){var p=[];t.forEach(function(e){p.push(i.getSelector(e,a,o))});n[s]=p}else{n[s]=i.getSelector(t,a,o)}this.setDependentSelectors(n);delete this._aDependentSelectorList};i.prototype.getDependentControl=function(e,t){var s=[];if(!e){throw new Error(\"Parameter sAlias is mandatory\")}if(!t){throw new Error(\"Parameter mPropertyBag is mandatory\")}var r=t.modifier;var o=t.appComponent;var n=this.getDependentSelectors()[e];if(Array.isArray(n)){n.forEach(function(e){s.push(r.bySelector(e,o,t.view))});return s}return r.bySelector(n,o,t.view)};i.prototype.getDependentSelectorList=function(){var e=[this.getSelector()];if(!this._aDependentSelectorList){if(!this.getOriginalSelector()){Object.entries(this.getDependentSelectors()).some(function(t){var s=t[1];if(!Array.isArray(s)){s=[s]}s.forEach(function(t){if(t&&n.indexOfObject(e,t)===-1){e.push(t)}})})}this._aDependentSelectorList=e}return this._aDependentSelectorList};i.prototype.getDependentControlSelectorList=function(){var e=this.getDependentSelectorList().concat();if(e.length>0){var t=this.getSelector();var s=n.indexOfObject(e,t);if(s>-1){e.splice(s,1)}}return e};i.prototype.getOriginalSelector=function(){return this.getDependentSelectors().originalSelector};i.prototype.setExtensionPointInfo=function(e){this._oExtensionPointInfo=e};i.prototype.getExtensionPointInfo=function(){if(t(this._oExtensionPointInfo)){return{...this._oExtensionPointInfo}}return this._oExtensionPointInfo};i.prototype.getIdForCondensing=function(e,t){return e!==undefined?e.affectedControl:s.getControlIdBySelector(this.getSelector(),t)};i.prototype.canBeCondensed=function(){return this.isSuccessfullyApplied()};i.prototype.canBeVisualized=function(){return this.getSelector()&&!e(this.getSelector())};return i});\n//# sourceMappingURL=UIChange.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/isEmptyObject\",\"sap/ui/fl/apply/_internal/changes/Utils\"],function(t,s){\"use strict\";const e={async applyChanges(e,n,a){const c=[];for(const t of n){c.push(await s.getChangeHandler({flexObject:t,strategy:a}))}c.forEach(function(s,c){try{const r=n[c];e=s.applyChange(e,r);if(!s.skipPostprocessing&&!t(r.getTexts())){e=a.processTexts(e,r.getTexts())}}catch(t){a.handleError(t)}});return e}};return e});\n//# sourceMappingURL=Applier.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/merge\",\"sap/base/util/ObjectPath\",\"sap/ui/base/ManagedObject\"],function(e,t,i){\"use strict\";var a=i.extend(\"sap.ui.fl.apply._internal.flexState.DataSelector\",{metadata:{properties:{parentDataSelector:{type:\"object\"},cachedResult:{type:\"any\"},parameterKey:{type:\"string\"},initFunction:{type:\"function\"},executeFunction:{type:\"function\"},updateListeners:{type:\"function[]\",defaultValue:[]},checkInvalidation:{type:\"function\",defaultValue(){return true}}}},constructor:function(...e){i.apply(this,e);this._mInitialized={};if(this.getParameterKey()){this.setCachedResult({})}var t=this.getParentDataSelector();if(t){this.onParentSelectorUpdate=this.checkUpdate.bind(this);t.addUpdateListener(this.onParentSelectorUpdate)}}});const n=\"DataSelector_no_parameter\";function r(e,t){const i=[];function a(e){const i=e.getParameterKey();if(!i){return n}return t?.[i]}let r=e;do{const t=a(r);if(t||r!==e){if(t===undefined){throw new Error(`Parameter '${r.getParameterKey()}' is missing`)}i.unshift(t)}r=r.getParentDataSelector()}while(r);return i}a.prototype.addUpdateListener=function(e){var t=this.getUpdateListeners();if(!t.includes(e)){this.setUpdateListeners([].concat(t,e))}};a.prototype.removeUpdateListener=function(e){var t=this.getUpdateListeners();this.setUpdateListeners(t.filter(function(t){return t!==e}))};a.prototype.exit=function(){var e=this.getParentDataSelector();if(e){e.removeUpdateListener(this.onParentSelectorUpdate)}};a.prototype._getParameterizedCachedResult=function(e){const i=r(this,e);if(i.length===0){return this.getCachedResult()}return t.get(i,this.getCachedResult())};a.prototype._setParameterizedCachedResult=function(i,a){const n=r(this,i);const s={};if(n.length===0){Object.assign(s,a)}else{t.set(n,a,s)}return this.setCachedResult(e({},this.getCachedResult(),s))};a.prototype._clearCache=function(e,t){const i=[];const a=this.getParameterKey();if(!a){this.setCachedResult(null);i.push(e)}else if(Object.keys(e||{}).includes(a)){if(this._getParameterizedCachedResult(e)!==undefined){this._setParameterizedCachedResult(e,null);i.push(e)}}else{const t=this._getParameterizedCachedResult(e);Object.keys(t||{}).forEach(t=>{i.push({...e,[a]:t})});this.setCachedResult({})}this.getUpdateListeners().forEach(function(e){i.forEach(i=>{e(i,t)})})};a.prototype.clearCachedResult=function(e){this._clearCache(e)};a.prototype.get=function(e){var t=this.getParameterKey();if(t&&!(e||{})[t]){throw new Error(`Parameter '${t}' is missing`)}var i=this._getParameterizedCachedResult(e);if(i!==null&&i!==undefined){return i}var a=this.getParentDataSelector();var n=a&&a.get(e);var r=(e||{})[t];if(!this._mInitialized[r]&&this.getInitFunction()){this.getInitFunction()(n,r);this._mInitialized[r]=true}var s=this.getExecuteFunction()(n,e);this._setParameterizedCachedResult(e,s);return s};function s(e,t,i){if(i){return i.some(i=>e(t,i))}return true}a.prototype.checkUpdate=function(e,t){const i=this.getParameterKey();if(i!==undefined&&!Object.keys(e||{}).includes(i)){const a=this._getParameterizedCachedResult(e);const n=Object.keys(a&&typeof a===\"object\"?a:{});n.forEach(a=>{const n={...e,[i]:a};const r=s(this.getCheckInvalidation(),n,t);if(r){this._clearCache(n,t)}return!r})}else{const i=s(this.getCheckInvalidation(),e,t);if(i){this._clearCache(e,t)}}};return a});\n//# sourceMappingURL=DataSelector.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/merge\",\"sap/base/util/ObjectPath\"],function(n,a){\"use strict\";var e={};function t(n,e){var t=n.reduce(function(n,t){if(a.get(e,t)){return n.concat(a.get(e,t))}return n},[]);var r=[];return t.filter(function(n){var a=n.fileName;var e=r.indexOf(a)!==-1;if(e){return false}r.push(a);return true})}function r(a){return a.reduce(function(a,e){return n({},a,e.ui2personalization)},{})}function i(n){return n.reduce(function(n,a){return a.cacheKey?n+=a.cacheKey:n},\"\")||null}e.merge=function(n){var a={appDescriptorChanges:t(n,\"appDescriptorChanges\"),annotationChanges:t(n,\"annotationChanges\"),changes:t(n,\"changes\"),ui2personalization:r(n),comp:{variants:t(n,\"comp.variants\"),changes:t(n,\"comp.changes\"),defaultVariants:t(n,\"comp.defaultVariants\"),standardVariants:t(n,\"comp.standardVariants\")},variants:t(n,\"variants\"),variantChanges:t(n,\"variantChanges\"),variantDependentControlChanges:t(n,\"variantDependentControlChanges\"),variantManagementChanges:t(n,\"variantManagementChanges\"),cacheKey:i(n)};var e=t(n,\"info\");if(e.length>0){[a.info]=e}return a};return e});\n//# sourceMappingURL=StorageResultMerger.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/merge\",\"sap/base/util/restricted/_omit\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/core/Element\",\"sap/ui/fl/apply/_internal/changes/Utils\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler\",\"sap/ui/fl/apply/_internal/flexState/changes/UIChangesState\",\"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState\",\"sap/ui/fl/apply/_internal/flexState/DataSelector\",\"sap/ui/fl/apply/_internal/flexState/FlexState\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/Utils\"],function(e,n,t,c,a,s,o,i,r,l,p,g,d){\"use strict\";const f={};const u=new l({id:\"allDirtyFlexObjects\",parentDataSelector:p.getFlexObjectsDataSelector(),executeFunction(e){return e.filter(e=>e.getState()!==s.LifecycleState.PERSISTED)}});function h(e,n){const t=f.getCompleteDependencyMap(n).mDependencies;return t[e.getId()]&&{...t[e.getId()]}}function y(e,n,c,a,s){const o=[];const i=f.getLiveDependencyMap(s);const r={...e};e.controlsDependencies.forEach(e=>{if(!t.bySelector(e,c)){const n=t.getControlIdBySelector(e,c);o.push(e);i.mControlsWithDependencies[n]||=[];if(!i.mControlsWithDependencies[n].includes(a.getId())){i.mControlsWithDependencies[n].push(a.getId())}}});r.dependencies=n;r.controlsDependencies=o;if(n.length||o.length){i.mDependencies[a.getId()]=r}return r}function D(e,n){const c=e.getDependentControlSelectorList();c.push(e.getSelector());return!c.some(e=>!t.bySelector(e,n))}function C(e,n,t,c,a){let s=D(e,c);if(!s){return[]}a.push(e);const o=e.getId();const i=n[o]&&n[o].dependencies||[];for(let e=0,r=i.length;e<r;e++){const r=d.getChangeFromChangesMap(t,i[e]);s=C(r,n,t,c,a);if(s.length===0){a=[];break}delete n[o]}return a}f.getAllApplicableUIChanges=function(e){const n=i.getVariantIndependentUIChanges(e);return n.concat(r.getInitialUIChanges({reference:e}))};f.getCompleteDependencyMap=function(n){const t=i.getVMIndependentCompleteDependencyMap(n);const c=r.getDependencyMap(n);const a=e({},t);e(a.mDependencies,c.mDependencies);e(a.mDependentChangesOnMe,c.mDependentChangesOnMe);a.aChanges=a.aChanges.concat(c.aChanges);[\"mChanges\",\"mControlsWithDependencies\"].forEach(e=>{Object.entries(c[e]).forEach(([n,t])=>{if(Object.keys(a[e]).includes(n)){a[e][n]=a[e][n].concat(t)}else{a[e][n]=t}})});return a};f.getLiveDependencyMap=function(e){return p.getRuntimeOnlyData(e).liveDependencyMap||o.createEmptyDependencyMap()};f.getOpenDependentChangesForControl=function(e,n){const c=g.getFlexReferenceForControl(n);return o.getOpenDependentChangesForControl(f.getLiveDependencyMap(c),t.getControlIdBySelector(e,n),n)};f.copyDependenciesFromCompleteDependencyMap=function(e,n){const c=g.getFlexReferenceForControl(n);let s=h(e,c);if(s){const o=f.getLiveDependencyMap(c);const i=[];s.dependencies.forEach(function(c){if(a.checkIfDependencyIsStillValid(n,t,o,c)){o.mDependentChangesOnMe[c]||=[];o.mDependentChangesOnMe[c].push(e.getId());i.push(c)}});s=y(s,i,n,e,c)}};f.waitForFlexObjectsToBeApplied=async function(e){const n=d.getAppComponentForSelector(e[0].selector);if(!n){return}const t=g.getFlexReferenceForControl(n);await r.waitForVariantSwitch(t);await Promise.all(e.map(e=>{const a=e.selector.id&&c.getElementById(e.selector.id)||e.selector;e.changeTypes||=[];const s=f.getLiveDependencyMap(t);let o=[];const i={...s.mDependencies};const{mChanges:r}=s;const l=r[a.getId()]||[];const p=l.filter(n=>!n.isCurrentProcessFinished()&&(e.changeTypes.length===0||e.changeTypes.includes(n.getChangeType())));const g=[];p.forEach(e=>{const t=C(e,i,s.mChanges,n,[]);t.forEach(e=>{if(g.indexOf(e)===-1){g.push(e)}})});g.forEach(e=>{o=o.concat(e.addChangeProcessingPromises())});return Promise.all(o)}))};function m(e){const n=[];const t=p.getCompVariantsMap(e);for(const e in t){const c=t[e];for(const e in c.byId){n.push(c.byId[e])}}return n}function S(e){return!(e.getState()===s.LifecycleState.DELETED&&e._sPreviousState===s.LifecycleState.NEW)}f.getDirtyFlexObjects=function(e){const n=m(e);return u.get({reference:e}).concat(n.filter(e=>e.getState()!==s.LifecycleState.PERSISTED)).filter(e=>S(e))};return f});\n//# sourceMappingURL=FlexObjectState.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/merge\",\"sap/base/util/restricted/_pick\",\"sap/ui/dom/includeScript\",\"sap/ui/fl/initial/_internal/connectors/Utils\",\"sap/ui/fl/initial/_internal/StorageUtils\",\"sap/ui/fl/interfaces/BaseLoadConnector\",\"sap/ui/fl/Utils\"],function(e,t,s,i,n,a,r){\"use strict\";const o={DATA:\"/flex/data/\",MODULES:\"/flex/modules/\",SETTINGS:\"/flex/settings\",VARIANTS_AUTHORS:\"/variants/authors/\"};let l={};return e({},a,{layers:[\"ALL\"],xsrfToken:undefined,settings:undefined,_loadModules(e){return new Promise(function(t,i){s(e,undefined,t,i)})},_addClientInfo(e){var t=r.getUrlParameter(\"sap-client\");if(!e&&t){e={}}if(t){e[\"sap-client\"]=t}},loadFeatures(e){if(this.settings){return Promise.resolve(this.settings)}var t={};this._addClientInfo(t);var s=i.getUrl(o.SETTINGS,e,t);return i.sendRequest(s,\"GET\",{initialConnector:this}).then(function(e){e.response.isVariantAdaptationEnabled=!!e.response.isPublicLayerAvailable;e.response.isContextSharingEnabled=true;e.response.isLocalResetEnabled=true;return e.response})},loadFlexData(e){if(e.cacheKey===\"<NO CHANGES>\"){return Promise.resolve({...n.getEmptyFlexDataResponse()})}var s=t(e,[\"version\",\"allContexts\",\"adaptationId\"]);this._addClientInfo(s);i.addSAPLogonLanguageInfo(s);var a;if(e.appDescriptor&&e.appDescriptor[\"sap.app\"]){a=e.appDescriptor[\"sap.app\"].id}if(e.preview){e.reference=e.preview.reference;s.upToLayerType=e.preview.maxLayer}l=s;var r=i.getUrl(o.DATA,e,s);return i.sendRequest(r,\"GET\",{initialConnector:this,xsrfToken:this.xsrfToken,siteId:e.siteId,cacheable:true,sAppDescriptorId:a}).then(function(t){var n=t.response;if(t.etag){n.cacheKey=t.etag}else if(e.cacheKey){n.cacheKey=e.cacheKey}n.changes=n.changes.concat(n.compVariants||[]);if(n.settings){this.settings=n.settings;this.settings.isVariantAdaptationEnabled=!!this.settings.isPublicLayerAvailable;this.settings.isContextSharingEnabled=true;this.settings.isLocalResetEnabled=true}if(!n.loadModules){return n}var a=i.getUrl(o.MODULES,e,s);return this._loadModules(a).then(function(){return n})}.bind(this))},loadVariantsAuthors(e){const t=i.getUrl(o.VARIANTS_AUTHORS,e,l);return i.sendRequest(t,\"GET\",{initialConnector:this}).then(function(e){return e.response})}})});\n//# sourceMappingURL=LrepConnector.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/merge\",\"sap/ui/core/util/reflection/XmlTreeModifier\",\"sap/ui/core/Component\",\"sap/ui/fl/apply/_internal/changes/Applier\",\"sap/ui/fl/apply/_internal/changes/Utils\",\"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState\",\"sap/ui/fl/apply/_internal/flexState/FlexObjectState\",\"sap/ui/fl/apply/_internal/flexState/FlexState\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/Utils\",\"sap/base/Log\"],function(e,t,n,a,i,r,o,l,p,s,c){\"use strict\";var f=function(){};f.NOTAG=\"<NoTag>\";function u(e){const t=o.getAllApplicableUIChanges(e.reference);return t.filter(i.isChangeInView.bind(undefined,e))}f.process=async function(i,r){try{r.viewId=r.id;var o=n.getComponentById(r.componentId);if(!o){c.warning(\"View is generated without a component. Flexibility features are not possible.\");return i}var f=s.getAppComponentForControl(o);if(!s.isApplication(f.getManifestObject())){return i}const g=p.getFlexReferenceForControl(f);await l.waitForInitialization(g);const d=e({appComponent:f,modifier:t,view:i,reference:g},r);const y=u(d);await a.applyAllChangesForXMLView(d,y);c.debug(`flex processing view ${r.id} finished`);return i}catch(e){var g=`view ${r.id}: ${e}`;c.info(g);return i}};function g(e,t){if(!t){return e}return e.concat(\"-\",t)}function d(e){return e.replace(/(^W\\/|\")/g,\"\")}f.getCacheKey=async function(e){const t=n.getComponentById(e.componentId);const a=s.getAppComponentForControl(t);if(s.isVariantByStartupParameter(a)){return undefined}const i=p.getFlexReferenceForControl(a);let o=f.NOTAG;if(i){const e=await l.getStorageResponse(i);if(e?.cacheKey){o=d(e.cacheKey);const t=r.getAllCurrentVariants(i).filter(e=>!e.getStandardVariant()).map(e=>e.getId());o=g(o,t.join(\"-\"))}}return o};return f},true);\n//# sourceMappingURL=XmlPreprocessor.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/merge\",\"sap/ui/fl/Layer\",\"sap/base/Log\"],function(e,n,i){\"use strict\";function r(e){var i={};var r=!!e.features.isVersioningEnabled;if(e?.layers&&(e.layers.includes(n.CUSTOMER)||e.layers.includes(\"ALL\"))){i[n.CUSTOMER]=r}return i}return{mergeResults(s){var a={};s.forEach(function(s){Object.keys(s.features).forEach(function(e){if(e===\"isKeyUser\"&&s.features.isKeyUser!==undefined&&![n.CUSTOMER,\"ALL\"].some(e=>s.layers.includes(e))){i.warning(\"removed a layer specific setting from a connector not configure for the specific layer\");return}if(e!==\"isVersioningEnabled\"){a[e]=s.features[e]}});a.versioning=e(a.versioning||{},r(s));if(s.isContextSharingEnabled!==undefined){a.isContextSharingEnabled=s.isContextSharingEnabled}});return a}}});\n//# sourceMappingURL=StorageFeaturesMerger.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/restricted/_difference\",\"sap/base/util/restricted/_isEqual\",\"sap/base/util/restricted/_omit\",\"sap/base/util/each\",\"sap/base/util/isEmptyObject\",\"sap/base/util/merge\",\"sap/base/Log\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/core/BusyIndicator\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/fl/apply/_internal/controlVariants/URLHandler\",\"sap/ui/fl/apply/_internal/controlVariants/Utils\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory\",\"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler\",\"sap/ui/fl/apply/_internal/flexState/controlVariants/Switcher\",\"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState\",\"sap/ui/fl/apply/_internal/flexState/FlexObjectState\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/initial/_internal/Settings\",\"sap/ui/fl/Layer\",\"sap/ui/fl/LayerUtils\",\"sap/ui/fl/Utils\",\"sap/ui/model/json/JSONModel\",\"sap/ui/model/BindingMode\",\"sap/m/library\"],function(e,t,a,n,r,i,s,o,c,l,f,u,h,p,d,g,m,v,V,R,y,C,S,b,D,x){\"use strict\";var F={};const{SharingMode:M}=x;function I(e,t,a){t._oVariantSwitchPromises[a]=t._oVariantSwitchPromises[a].catch(function(){}).then(e);m.setVariantSwitchPromise(t.sFlexReference,t._oVariantSwitchPromises[a],a);return t._oVariantSwitchPromises[a]}function E(e,t){F[e]=t}function U(e,t){return g.switchVariant(e).then(function(){if(this.oData[e.vmReference].updateVariantInURL){u.updateVariantInURL({vmReference:e.vmReference,newVReference:e.newVReference,model:this})}this.callVariantSwitchListeners(e.vmReference,e.newVReference,undefined,t)}.bind(this))}function P(e){var t=R.getInstanceOrUndef();if(t&&!t.getIsVariantPersonalizationEnabled()){e.remove=false;e.rename=false;e.change=false}}function _(e){var t=R.getInstanceOrUndef();var a=t&&(t.getIsKeyUser()||!t.getUserId()||t.getIsPublicFlVariantEnabled()&&t.getUserId().toUpperCase()===e.instance.getSupportInformation().user.toUpperCase());e.remove=a;e.rename=a;e.change=a}function L(e,t,a){var n=a?C.getCurrentLayer():y.USER;if(e.layer===n&&e.key!==t){return true}return false}function O(e){return new Promise(function(t){if(e.getDomRef()){t()}else{e.addEventDelegate({onAfterRendering(){t()}})}})}function w(){var e=S.getUshellContainer();if(e){var t=[S.getUShellService(\"UserInfo\"),S.getUShellService(\"URLParsing\"),S.getUShellService(\"Navigation\"),S.getUShellService(\"ShellNavigationInternal\")];return Promise.all(t).then(function(e){E(\"UserInfo\",e[0]);E(\"URLParsing\",e[1]);E(\"Navigation\",e[2]);E(\"ShellNavigationInternal\",e[3])}).catch(function(e){throw new Error(`Error getting service from Unified Shell: ${e}`)})}return undefined}function T(e,t){return i({},e.find(function(e){return e.key===t}))}function A(e){const t=m.getInitialUIChanges({vmReference:e.vmReference,reference:e.reference});const a=t.reduce((t,a)=>{const n=a.getSelector();const r=o.bySelector(n,e.appComponent);if(r&&S.indexOfObject(t,{selector:r})===-1){t.push({selector:r})}return t},[]);return a.length?v.waitForFlexObjectsToBeApplied(a):Promise.resolve()}var k=b.extend(\"sap.ui.fl.variants.VariantModel\",{constructor:function(e,t){this.pSequentialImportCompleted=Promise.resolve();b.apply(this,[e]);this.sharing={PRIVATE:M.Private,PUBLIC:M.Public};this.sFlexReference=V.getFlexReferenceForControl(t.appComponent);this.oAppComponent=t.appComponent;this._oResourceBundle=f.getResourceBundleFor(\"sap.ui.fl\");this._oVariantSwitchPromises={};this._oVariantAppliedListeners={};this.fnUpdateListener=this.updateData.bind(this);this.oDataSelector=m.getVariantManagementMap();this.oDataSelector.addUpdateListener(this.fnUpdateListener);this.updateData();const a=v.getLiveDependencyMap(this.sFlexReference);m.getInitialUIChanges({reference:this.sFlexReference},this.oAppComponent.getId(),this.sFlexReference).forEach(e=>{d.addChangeAndUpdateDependencies(e,this.oAppComponent.getId(),a)});this.setDefaultBindingMode(D.OneWay)}});k.prototype.updateData=function(){const e=this.oDataSelector.get({reference:this.sFlexReference});const t={...this.getData()};Object.entries(e).forEach(function(e){const a=e[0];const n={...e[1]};t[a]||={};t[a].variants=n.variants.map(function(e){const n=(t[a].variants||[]).find(function(t){return t.key===e.key});return{...n||{},...e}});t[a].currentVariant=n.currentVariant;t[a].defaultVariant=n.defaultVariant;t[a].modified=n.modified});this.setData(t);this.refresh(true)};k.prototype.invalidateMap=function(){this.oDataSelector.checkUpdate({reference:this.sFlexReference})};k.prototype.initialize=function(){return Promise.all([R.getInstance(),w()]).then(function(){u.initialize({model:this})}.bind(this))};k.prototype.waitForAllVMSwitchPromises=function(){return Promise.all(Object.values(this._oVariantSwitchPromises))};k.prototype.updateCurrentVariant=function(e){var t={vmReference:e.variantManagementReference,currentVReference:this.getCurrentVariantReference(e.variantManagementReference),newVReference:e.newVariantReference,appComponent:e.appComponent||this.oAppComponent,modifier:o,reference:this.sFlexReference};if(e.internallyCalled){return U.call(this,t,e.scenario)}return I(U.bind(this,t,e.scenario),this,e.variantManagementReference)};k.prototype.getCurrentVariantReference=function(e){return this.oData[e].currentVariant};k.prototype.getVariantManagementReference=function(e){var t=\"\";var a=-1;Object.keys(this.oData).some(function(n){return this.oData[n].variants.some(function(r,i){if(r.key===e){t=n;a=i;return true}})}.bind(this));return{variantManagementReference:t,variantIndex:a}};k.prototype.getVariant=function(e,t){var a=t||this.getVariantManagementReference(e).variantManagementReference;return T(this.oData[a].variants,e)};k.prototype.getVariantTitle=function(e,t){return T(this.oData[t].variants,e).title};function j(e,t){var a=m.getVariantChangesForVariant({vmReference:e,reference:this.sFlexReference});var n=this.oData[e].defaultVariant;if(t.getExecuteOnSelectionForStandardDefault()&&n===e&&!a.some(e=>e.getChangeType()===\"setExecuteOnSelect\")){var r=T(this.oData[e].variants,e);r.instance.setExecuteOnSelection(true);this.oData[e].variants[0].executeOnSelect=true;return true}return false}k.prototype.attachVariantApplied=function(e){var t=l.getElementById(e.vmControlId);var a=this.getVariantManagementReferenceForControl(t);return this.waitForVMControlInit(a).then(function(e,a){this._oVariantAppliedListeners[e]||={};var n=j.call(this,e,t);if(a.callAfterInitialVariant||n){var r={appComponent:this.oAppComponent,reference:this.sFlexReference,vmReference:e};A(r).then(function(){var t=this.oData[e].currentVariant;this.callVariantSwitchListeners(e,t,a.callback)}.bind(this))}return O(a.control).then(function(){if(h.getRelevantVariantManagementControlId(a.control,this.getVariantManagementControlIds())===a.vmControlId){this.oData[e].showExecuteOnSelection=true;this.checkUpdate(true);this._oVariantAppliedListeners[e][a.control.getId()]=a.callback}else{s.error(\"Error in attachVariantApplied: The passed VariantManagement ID does not match the \"+\"responsible VariantManagement control\")}}.bind(this))}.bind(this,a,e))};k.prototype.callVariantSwitchListeners=function(e,t,a,r){if(this._oVariantAppliedListeners[e]){var i=T(this.oData[e].variants,t);if(r){i.createScenario=r}if(a){a(i)}else{n(this._oVariantAppliedListeners[e],function(e,t){t(i)})}}};k.prototype.detachVariantApplied=function(e,t){var a=this.getVariantManagementReferenceForControl(l.getElementById(e));if(this._oVariantAppliedListeners[a]){delete this._oVariantAppliedListeners[a][t]}};k.prototype._getVariantTitleCount=function(e,t){var a=this.getData();return a[t].variants.reduce(function(t,a){if(e.toLowerCase()===a.title.toLowerCase()&&a.visible){t++}return t},0)};function B(e,t){var a={id:t.newVariantReference,variantName:t.title,contexts:t.contexts,layer:t.layer,adaptationId:t.adaptationId,reference:e.getFlexObjectMetadata().reference,generator:t.generator,variantManagementReference:t.variantManagementReference,executeOnSelection:t.executeOnSelection};if(t.layer===y.VENDOR){a.user=\"SAP\"}if(t.currentVariantComparison===1){if(t.sourceVariantSource.instance.getLayer()===t.layer){a.variantReference=t.sourceVariantSource.instance.getVariantReference()}else{a.variantReference=e.getVariantReference()}}else if(t.currentVariantComparison===0){a.variantReference=e.getVariantReference()}else if(t.currentVariantComparison===-1){a.variantReference=t.sourceVariantReference}return p.createFlVariant(a)}k.prototype._duplicateVariant=function(e){var t=e.sourceVariantReference;var a=e.variantManagementReference;var n=this.getVariant(t);var r=m.getControlChangesForVariant({vmReference:a,vReference:t,reference:this.sFlexReference}).map(function(e){return e.convertToFileContent()});e.currentVariantComparison=C.compareAgainstCurrentLayer(n.instance.getLayer(),e.layer);if(e.currentVariantComparison===1){e.sourceVariantSource=this.getVariant(n.instance.getVariantReference())}var s={instance:B(n.instance,e),controlChanges:r,variantChanges:{}};r=s.controlChanges.slice();var o={};s.controlChanges=r.reduce(function(t,a){if(C.compareAgainstCurrentLayer(a.layer,e.layer)>=0){o=i({},a);o.layer=e.layer;o.variantReference=s.instance.getId();o.support||={};o.support.sourceChangeFileName=a.fileName;o.packageName=\"$TMP\";o.fileName=S.createDefaultFileName(o.changeType);t.push(p.createFromFileContent(o))}return t},[]);return s};k.prototype._collectModelChanges=function(e,t,a){const n=this.getData()[e];const r=n.variants;const i=[];const s=R.getInstanceOrUndef();const o=[];const c=e=>r.find(t=>t.key===e);const l=(e,a,n)=>{const r=[\"setTitle\",\"setExecuteOnSelect\",\"setVisible\"].includes(a);const o=r&&s?.getIsPublicFlVariantEnabled()&&e.layer===y.PUBLIC?y.PUBLIC:t;i.push({variantReference:e.key,changeType:a,layer:o,...n})};a.getParameter(\"renamed\")?.forEach(({key:e,name:t})=>{const a=c(e);l(a,\"setTitle\",{title:t,originalTitle:a.title})});a.getParameter(\"fav\")?.forEach(({key:e,visible:t})=>{const a=c(e);l(a,\"setFavorite\",{favorite:t,originalFavorite:a.favorite})});a.getParameter(\"exe\")?.forEach(({key:e,exe:t})=>{const a=c(e);l(a,\"setExecuteOnSelect\",{executeOnSelect:t,originalExecuteOnSelect:a.executeOnSelect})});a.getParameter(\"deleted\")?.forEach(e=>{const t=c(e);l(t,\"setVisible\",{visible:false});o.push(e)});a.getParameter(\"contexts\")?.forEach(({key:e,contexts:t})=>{const a=c(e);l(a,\"setContexts\",{contexts:t,originalContexts:a.contexts})});const f=a.getParameter(\"def\");if(f){i.push({variantManagementReference:e,changeType:\"setDefault\",defaultVariant:f,originalDefaultVariant:n.defaultVariant,layer:t})}return{changes:i,variantsToBeDeleted:o}};k.prototype.setVariantProperties=function(e,t){var a=this.getData();var n=this.getVariant(t.variantReference,e).instance;var r={};switch(t.changeType){case\"setTitle\":n.setName(t.title,true);break;case\"setFavorite\":r.favorite=t.favorite;n.setFavorite(t.favorite);break;case\"setExecuteOnSelect\":r.executeOnSelect=t.executeOnSelect;n.setExecuteOnSelection(t.executeOnSelect);break;case\"setVisible\":r.visible=t.visible;r.createdByReset=false;n.setVisible(t.visible);break;case\"setContexts\":r.contexts=t.contexts;n.setContexts(t.contexts);break;case\"setDefault\":r.defaultVariant=t.defaultVariant;var i=u.getStoredHashParams({model:this});if(i&&this.oData[e].updateVariantInURL){if(a[e].defaultVariant!==a[e].currentVariant&&i.indexOf(a[e].currentVariant)===-1){u.update({parameters:i.concat(a[e].currentVariant),updateURL:!this._bDesignTimeMode,updateHashEntry:true,model:this})}else if(a[e].defaultVariant===a[e].currentVariant&&i.indexOf(a[e].currentVariant)>-1){i.splice(i.indexOf(a[e].currentVariant),1);u.update({parameters:i,updateURL:!this._bDesignTimeMode,updateHashEntry:true,model:this})}}break;default:break}return r};k.prototype._ensureStandardVariantExists=function(e){var t=this.getData();var n=t[e]||{};var i=a(n,[\"initPromise\"]);if(!t[e]||r(i)){var s=p.createFlVariant({id:e,variantManagementReference:e,variantName:this._oResourceBundle.getText(\"STANDARD_VARIANT_TITLE\"),user:h.DEFAULT_AUTHOR,layer:y.BASE,reference:this.sFlexReference});m.addRuntimeSteadyObject(this.sFlexReference,this.oAppComponent.getId(),s);this._aCreatedStandardVariantsFor||=[];this._aCreatedStandardVariantsFor.push(e)}};k.prototype.setModelPropertiesForControl=function(e,t,a){this.oData[e].showFavorites=true;var n=this._bDesignTimeMode;if(n!==t){this._bDesignTimeMode=t;if(t){u.clearAllVariantURLParameters({model:this})}else if(n&&this.oData[e].updateVariantInURL){u.update({parameters:u.getStoredHashParams({model:this}),updateURL:true,updateHashEntry:false,model:this})}}if(!(typeof this.fnManageClick===\"function\"&&typeof this.fnManageClickRta===\"function\")){this._initializeManageVariantsEvents()}a.detachManage(this.fnManageClick,this);if(t&&this.oData[e]._isEditable){this.oData[e].variantsEditable=false;this.oData[e].variants.forEach(function(a){a.rename=true;a.change=true;a.sharing=this.sharing.PUBLIC;a.remove=L(a,e,t)}.bind(this))}else if(this.oData[e]._isEditable){a.attachManage({variantManagementReference:e},this.fnManageClick,this);this.oData[e].variantsEditable=true;this.oData[e].variants.forEach(function(a){a.remove=L(a,e,t);switch(a.layer){case y.USER:a.rename=true;a.change=true;a.sharing=this.sharing.PRIVATE;P(a);break;case y.PUBLIC:a.sharing=this.sharing.PUBLIC;_(a);break;default:a.rename=false;a.change=false;a.sharing=this.sharing.PUBLIC}}.bind(this))}else{this.oData[e].variantsEditable=false;this.oData[e].variants.forEach(function(e){e.remove=false;e.rename=false;e.change=false})}};k.prototype._initializeManageVariantsEvents=function(){this.fnManageClickRta=function(e,t){const a=this._collectModelChanges(t.variantManagementReference,t.layer,e);t.resolve(a)};this.fnManageClick=function(e,t){sap.ui.require([\"sap/ui/fl/variants/VariantManager\"],function(a){a.handleManageEvent(e,t,this)}.bind(this))}};k.prototype._handleSaveEvent=function(e){if(!this._bDesignTimeMode){var t=e.getSource();var a=e.getParameters();sap.ui.require([\"sap/ui/fl/variants/VariantManager\"],function(e){e.handleSaveEvent(t,a,this)}.bind(this))}};function N(e,t){sap.ui.require([\"sap/ui/fl/variants/VariantManager\"],function(a){a.handleSelectVariant(e,t)})}k.prototype.getLocalId=function(e,t){return o.getSelector(e,t).id};k.prototype.getVariantManagementReferenceForControl=function(e){var t=e.getId();var a=S.getAppComponentForControl(e);return a&&a.getLocalId(t)||t};k.prototype.switchToDefaultForVariantManagement=function(e){if(this.oData[e].currentVariant!==this.oData[e].defaultVariant){c.show(200);this.updateCurrentVariant({variantManagementReference:e,newVariantReference:this.oData[e].defaultVariant}).then(function(){c.hide()})}};k.prototype.switchToDefaultForVariant=function(e){Object.keys(this.oData).forEach(function(t){if(!e||this.oData[t].currentVariant===e){this.switchToDefaultForVariantManagement(t)}}.bind(this))};function H(e,t){this.oData[t].variants.forEach(function(a){const n=a.title&&a.title.match(/{(\\w+)>(\\w.+)}/);if(n){const[,r,i]=n;const s=e.getModel(r);if(s){const e=s.getResourceBundle().getText(i);const t={reference:this.sFlexReference,changeType:\"setTitle\",layer:a.layer,fileType:\"ctrl_variant_change\",variantId:a.key};const n=p.createVariantChange(t);n.setText(\"title\",e,\"XFLD\");a.instance.setName(e,true);m.addRuntimeSteadyObject(this.sFlexReference,this.oAppComponent.getId(),n)}else{e.attachEventOnce(\"modelContextChange\",H.bind(this,e,t))}}}.bind(this))}k.prototype.registerToModel=function(e){const t=this.getVariantManagementReferenceForControl(e);this._ensureStandardVariantExists(t);this.oData[t]._isEditable=e.getEditable();this.oData[t].showExecuteOnSelection=false;H.call(this,e,t);e.attachEvent(\"select\",{vmReference:t,model:this},N);e.attachSave(this._handleSaveEvent,this);this.setModelPropertiesForControl(t,false,e);const a=e.getUpdateVariantInURL();this.oData[t].updateVariantInURL=a;if(a){u.registerControl({vmReference:t,updateURL:true,model:this});u.handleModelContextChange({model:this,vmControl:e})}const n={appComponent:this.oAppComponent,reference:this.sFlexReference,vmReference:t};this._oVariantSwitchPromises[t]=A(n);if(this.oData[t].initPromise){this.oData[t].initPromise.resolveFunction();delete this.oData[t].initPromise}this.oData[t].init=true};k.prototype.waitForVMControlInit=function(e){if(!this.oData[e]){this.oData[e]={}}else if(this.oData[e].init){return Promise.resolve()}this.oData[e].initPromise={};this.oData[e].initPromise.promise=new Promise(function(t){this.oData[e].initPromise.resolveFunction=t}.bind(this));return this.oData[e].initPromise.promise};k.prototype._getDirtyChangesFromVariantChanges=function(e){var t=e.map(function(e){return e.getId()});return v.getDirtyFlexObjects(this.sFlexReference).filter(function(e){return t.includes(e.getId())&&!e.getSavedToVariant()})};k.prototype.getCurrentControlVariantIds=function(){return Object.keys(this.oData||{}).reduce(function(e,t){return e.concat([this.oData[t].currentVariant])}.bind(this),[])};k.prototype.getVariantManagementControlIds=function(){var e;return Object.keys(this.oData||{}).reduce(function(t,a){if(this.oAppComponent.byId(a)){e=this.oAppComponent.createId(a)}else{e=a}t.push(e);return t}.bind(this),[])};k.prototype.destroy=function(){const e=this.oDataSelector.get({reference:this.sFlexReference});const t=Object.entries(e).map(([e,t])=>{const a=m.getVariant({vmReference:e,vReference:t.currentVariant,reference:this.sFlexReference});return a.controlChanges}).flat();const a=v.getLiveDependencyMap(this.sFlexReference);const n=[];t.forEach(e=>{if(!e.isPersisted()){n.push(e)}else{d.removeChangeFromMap(a,e.getId());d.removeChangeFromDependencies(a,e.getId())}});sap.ui.require([\"sap/ui/fl/write/_internal/flexState/FlexObjectManager\"],e=>{e.deleteFlexObjects({reference:this.sFlexReference,flexObjects:n})});this.oDataSelector.removeUpdateListener(this.fnUpdateListener);const r=[];(this._aCreatedStandardVariantsFor||[]).forEach(t=>{if(e[t]?.variants.length>1||e[t]?.variants[0].controlChanges.length){r.push(e[t].variants[0].instance)}});if(r.length){m.addRuntimeOnlyFlexObjects(this.sFlexReference,r)}m.clearRuntimeSteadyObjects(this.sFlexReference,this.oAppComponent.getId());m.resetCurrentVariantReference(this.sFlexReference);b.prototype.destroy.apply(this)};k.prototype.getUShellService=function(e){return S.getUshellContainer()&&F[e]};return k});\n//# sourceMappingURL=VariantModel.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/restricted/_merge\",\"sap/ui/fl/initial/_internal/FlexInfoSession\",\"sap/ui/fl/initial/_internal/storageResultDisassemble\",\"sap/ui/fl/initial/_internal/StorageFeaturesMerger\",\"sap/ui/fl/initial/_internal/StorageResultMerger\",\"sap/ui/fl/initial/_internal/StorageUtils\",\"sap/ui/fl/Layer\"],function(e,n,t,r,a,o,s){\"use strict\";function i(e,t){const r=t.map(function(t){const r={...e,url:t.url,path:t.path};const a=n.getByReference(e.reference);if(!t.layers||t.layers[0]!==\"ALL\"&&t.layers.indexOf(s.CUSTOMER)===-1){delete r.version}else{if(a.initialAllContexts){r.allContexts=true}if(!r.version&&a.version){r.version=a.version}}const i=!!Object.keys(window.sessionStorage).filter(e=>e.startsWith(\"sap.ui.rta.restart.\")).length;if(!i&&!a.saveChangeKeepSession){n.removeByReference(e.reference)}if(r.version){delete r.cacheKey}return t.loadConnectorModule.loadFlexData(r).then(function(e){return e||o.getEmptyFlexDataResponse()}).catch(o.logAndResolveDefault.bind(undefined,o.getEmptyFlexDataResponse(),t,\"loadFlexData\"))});return Promise.all(r)}function l(e){var n=[];e.forEach(function(e){if(Array.isArray(e)){n=n.concat(e)}else{n.push(e)}});return n}function u(e){return e.map(function(e){return t(e)})}function c(e){return Promise.resolve(e).then(l).then(u).then(l).then(a.merge)}function f(e){return o.getStaticFileConnector().then(i.bind(this,e))}function d(e){var n=e.map(function(e){if(!e?.loadConnectorModule?.loadFeatures){return Promise.resolve(o.logAndResolveDefault({features:{},layers:e.layers},e,\"loadFeatures\"))}return e.loadConnectorModule.loadFeatures({url:e.url}).then(function(n){return{features:n,layers:e.layers}}).catch(o.logAndResolveDefault.bind(null,{features:{},layers:e.layers},e,\"loadFeatures\"))});return Promise.all(n)}async function h(n,t){const r=await Promise.all(t.map(function(e){if(!e?.loadConnectorModule?.loadVariantsAuthors){return Promise.resolve(o.logAndResolveDefault({},e,\"loadVariantsAuthors\"))}const t={reference:n,url:e.url};return e.loadConnectorModule.loadVariantsAuthors(t).then(e=>e||{}).catch(o.logAndResolveDefault.bind(undefined,{},e,\"loadVariantsAuthors\"))}));return e({},...r)}var p={};p.loadFeatures=function(){return o.getLoadConnectors().then(d).then(r.mergeResults)};p.completeFlexData=function(e){if(!e||!e.reference){return Promise.reject(\"No reference was provided\")}return Promise.all([f(e),e.partialFlexData]).then(c)};p.loadFlexData=function(e){if(!e||!e.reference){return Promise.reject(\"No reference was provided\")}return o.getLoadConnectors(e.skipLoadBundle).then(i.bind(this,e)).then(c)};p.loadVariantsAuthors=function(e){if(!e){return Promise.reject(\"No reference was provided\")}return o.getLoadConnectors().then(h.bind(this,e))};p.loadFlVariant=async function(e){const n=await o.getLoadConnectors();const t=[];for(const r of n){if(r?.loadConnectorModule?.loadFlVariant){const n={...e,url:r.url,layers:r.layers};try{t.push(await r.loadConnectorModule.loadFlVariant(n))}catch(e){t.push({})}}}const r=[\"variants\",\"variantChanges\",\"variantDependentControlChanges\"];return t.reduce((e,n)=>{r.forEach(t=>{if(n[t]){e[t]=[...e[t]||[],...n[t]]}});return e},{})};return p});\n//# sourceMappingURL=Storage.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/restricted/_omit\",\"sap/base/util/Deferred\",\"sap/base/util/each\",\"sap/base/util/merge\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/ui/core/Component\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/apply/_internal/flexState/compVariants/prepareCompVariantsMap\",\"sap/ui/fl/apply/_internal/flexState/DataSelector\",\"sap/ui/fl/apply/_internal/flexState/InitialPrepareFunctions\",\"sap/ui/fl/apply/_internal/flexState/Loader\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/initial/_internal/FlexInfoSession\",\"sap/ui/fl/initial/_internal/StorageUtils\",\"sap/ui/fl/LayerUtils\"],function(e,t,n,r,a,i,c,s,o,f,l,p,u,d,m,g,x){\"use strict\";const h=\"sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange\";const b=\"sap.ui.fl.apply._internal.flexObjects.AnnotationChange\";const v={};const O={};const j={};const y={};const I={appDescriptorChanges:{pathInResponse:[]},annotationChanges:{pathInResponse:[]},changes:{initialPreparationFunctionName:\"uiChanges\",pathInResponse:[\"changes\"]},variants:{initialPreparationFunctionName:\"variants\",pathInResponse:[\"variants\",\"variantChanges\",\"variantDependentControlChanges\",\"variantManagementChanges\"]},compVariants:{prepareFunction:f,pathInResponse:[\"comp.variants\",\"comp.standardVariants\",\"comp.defaultVariants\",\"comp.changes\"]}};const R={compVariants:{},flexObjects:{}};function F(e,t){var n={comp(){return Object.values(t).reduce(function(e,t){return e.concat(t)},[])},variants(){return t.map(function(e){var n=e.variantReference===e.variantManagementReference||t.some(function(t){return t.variantManagementReference===e.variantManagementReference&&t.fileName===e.variantReference});if(!n){return{...e,variantReference:e.variantManagementReference}}return e})}}[e];if(n){return n()}return Array.isArray(t)?t:[]}function C(e){var t=c.getComponentById(e.componentId);e.componentData||=t&&t.getComponentData()||{};e.manifest||=e.rawManifest||t&&t.getManifestObject()||{};e.reference||=d.getFlexReference(e);const n=m.getByReference(e.reference);e.version||=n.version;e.adaptationId||=n.displayedAdaptationId;e.allContextsProvided||=n.allContextsProvided}function D(e){var t=[];n(e.changes,function(e,n){F(e,n).forEach(function(e){t.push(s.createFromFileContent(e,null,true))})});return t}function P(e,t){var n=I[e].initialPreparationFunctionName;var r=p[n];if(r){return r(t)}return undefined}function S(e,t,n){t.reference=n;var r=P(e,t);if(r){V(n,r)}}var w=new l({id:\"flexObjects\",parameterKey:\"reference\",executeFunction(e,t){if(!O[t.reference]){return[]}var n=O[t.reference].runtimePersistence;return n.flexObjects.concat(n.runtimeOnlyData.flexObjects||[],R.flexObjects[t.reference][O[t.reference].componentId]||[])}});const k=new l({id:\"appDescriptorChanges\",parentDataSelector:w,executeFunction(e){return e.filter(e=>e.isA(h))},checkInvalidation(e,t){const n=[\"addFlexObject\",\"removeFlexObject\"].includes(t.type);return n&&t.updatedObject?.isA(h)}});const _=new l({id:\"annotationChanges\",parentDataSelector:w,executeFunction(e){return e.filter(e=>e.isA(b))},checkInvalidation(e,t){const n=[\"addFlexObject\",\"removeFlexObject\"].includes(t.type);return n&&t.updatedObject?.isA(b)}});function L(e,t){if(!O[e]){G(e)}if(!O[e].preparedMaps[t]){var n={unfilteredStorageResponse:j[e],storageResponse:O[e].storageResponse,componentId:O[e].componentId,componentData:O[e].componentData,reference:e,runtimePersistence:O[e].runtimePersistence};O[e].preparedMaps[t]=v.callPrepareFunction(t,n);S(t,n,e)}return O[e].preparedMaps[t]}function V(e,t){O[e]=r(O[e],t);w.checkUpdate({reference:e})}function E(e,t){const n=e.storageResponse;var a={flexObjects:D(n),runtimeOnlyData:{flexObjects:[]}};if(!e.componentId){return a}Object.keys(I).forEach(function(i){var c=P(i,{storageResponse:n,externalData:t,flexObjects:a.flexObjects,componentId:e.componentId});if(c){a=r(a,c)}});return a}function M(e,t,r){const a=r.flexObjects.slice();const c=a.length;const f=[];let l;n(t.changes,function(e,t){F(e,t).forEach(function(e){f.push(e)})});O[e].runtimePersistence={...r,flexObjects:f.map(function(e){let t;const n=a.find(function(n,r){t=r;return n.getId()===e.fileName});if(n){a.splice(t,1);if(n.getState()!==o.LifecycleState.PERSISTED){n.setResponse(e);l=true}return n}if(e.fileType===\"ctrl_variant_change\"&&e.fileName.endsWith(\"flVariant_contextFiltering_setVisible\")){return s.createFromFileContent(e,null,true)}const r=\"Error updating runtime persistence: storage returned unknown flex objects\";i.error(r);throw new Error(r)})};if(c!==O[e].runtimePersistence.flexObjects.length){l=true}return l}function z(e){var t=e.reference;var n=false;if(!O[t].componentData&&e.componentId){var r=c.getComponentById(e.componentId);O[t].componentData=r?r.getComponentData():e.componentData;n=true}if(!O[t].storageResponse){O[t].storageResponse=B(t,j[t]);delete O[t].runtimePersistence;n=true}if(!a.get([\"flexObjects\",t,e.componentId],R)){a.set([\"flexObjects\",t,e.componentId],[],R)}if(!O[t].runtimePersistence){O[t].runtimePersistence=E(O[t],R.flexObjects[t][e.componentId]||[]);n=true}if(n){w.checkUpdate({reference:t})}}function B(e,t){const i=r({},t);i.changes={...g.getEmptyFlexDataResponse(),...i.changes};const c=i.changes;const s=m.getByReference(e);if(x.isLayerFilteringRequired(e)){n(I,function(e,t){t.pathInResponse.forEach(function(e){const t=a.get(e,c).filter(function(e){return!e.layer||!x.isOverLayer(e.layer,s.maxLayer)});a.set(e,t,c)})})}O[e].maxLayer=s.maxLayer;return i}async function N(e){const t=await u.loadFlexData(e);if(!e.skipLoadBundle){t.authors=await u.loadVariantsAuthors(e.reference)}j[e.reference]=r({},t);U(e.reference,t)}function A(e){O[e.reference]=r({},{preparedMaps:{},componentId:e.componentId,componentData:e.componentData,skipLoadBundle:e.skipLoadBundle,version:e.version,allContextsProvided:e.allContextsProvided});Object.freeze(O[e.reference].storageResponse)}function U(e,t){var n=t&&t.changes||{};var r=m.getByReference(e);if(n.info!==undefined){r={...r,...n.info}}m.setByReference(r,e)}function T(e){var t=O[e.reference];if(t.skipLoadBundle===true&&e.skipLoadBundle!==true){t.skipLoadBundle=false;e.partialFlexData=r({},j[e.reference].changes);e.reInitialize=true}}function K(e){var t=O[e.reference].componentId;return t!==e.componentId}function W(e){var t=O[e.reference].version;if(!e.reInitialize&&t!==e.version){e.reInitialize=true}const n=O[e.reference].allContextsProvided;if(!e.reInitialize&&n!==e.allContextsProvided){e.reInitialize=true}}function q(e){if(O[e]?.maxLayer!==m.getByReference(e).maxLayer){v.rebuildFilteredResponse(e)}}function G(e){O[e]={storageResponse:{changes:g.getEmptyFlexDataResponse()},preparedMaps:{},emptyState:true,reInitialize:true,componentId:\"\"};j[e]={changes:g.getEmptyFlexDataR Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/restricted/_omit\",\"sap/base/util/restricted/_pick\",\"sap/base/util/ObjectPath\",\"sap/ui/fl/apply/_internal/controlVariants/Utils\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler\",\"sap/ui/fl/apply/_internal/flexState/DataSelector\",\"sap/ui/fl/apply/_internal/flexState/FlexState\",\"sap/ui/fl/changeHandler/condenser/Classification\",\"sap/ui/fl/initial/_internal/Storage\",\"sap/ui/fl/LayerUtils\"],function(e,t,n,a,r,c,i,s,f,o,u){\"use strict\";const l={ctrl_variant_change:{getCondenserInfo(e){return{classification:f.LastOneWins,uniqueKey:e.getVariantId()+e.getChangeType()}}},ctrl_variant_management_change:{getCondenserInfo(e,t){return{classification:f.LastOneWins,uniqueKey:t.modifier.getControlIdBySelector(e.getSelector(),t.appComponent)}}}};var g={};const v={};const d={};function h(e,t,r){var c=s.getComponentData(e);var i=n.get([\"technicalParameters\",a.VARIANT_TECHNICAL_PARAMETER],c)||[];var f=r.filter(e=>e.visible).map(e=>e.key);if(i.length===1){i=i[0].split(\",\")}var o=f.find(e=>i.includes(e));if(o){return o}return t.slice().reverse().map(e=>e.getContent().defaultVariant).find(e=>f.includes(e))}function p(e,t,n){var a=(v[t]||{})[n];return{defaultVariant:n,currentVariant:a,variants:[],variantManagementChanges:e.filter(function(e){return e.getSelector().id===n})}}function m(e,t){return e.find(e=>e.getId()===t)}function V(e,t){const n=[];let a=t;let r;do{r=m(e,a.getVariantReference());if(r){n.push(r);a=r}}while(r);return n.map(e=>e.getId())}function C(e,t){const n=V(e.variants,t);return{instance:t,variantChanges:e.variantChanges.filter(function(e){return e.getVariantId()===t.getId()}),controlChanges:e.changes.filter(function(e){var a=e.isA(\"sap.ui.fl.apply._internal.flexObjects.UIChange\");if(!a){return false}var r=e.getVariantReference()===t.getId();var c=n.indexOf(e.getVariantReference())>-1;var i=u.compareAgainstCurrentLayer(e.getLayer(),t.getLayer())===-1;return r||c&&i}),key:t.getId(),title:t.getName(),layer:t.getLayer(),favorite:t.getFavorite(),executeOnSelect:t.getExecuteOnSelection(),visible:t.getVisible(),author:t.getAuthor(),contexts:t.getContexts(),isStandardVariant:t.getStandardVariant()}}function y(e,t){switch(t.getChangeType()){case\"setTitle\":e.title=t.getText(\"title\");break;case\"setFavorite\":e.favorite=t.getContent().favorite;break;case\"setExecuteOnSelect\":e.executeOnSelect=t.getContent().executeOnSelect;break;case\"setVisible\":e.visible=t.getContent().visible;break;case\"setContexts\":e.contexts=t.getContent().contexts;break;default:throw Error(\"Unknown ctrl_variant_change type\")}}function b(e,t){var n=t.getContent().defaultVariant;e.variants.forEach(t=>{if(t.key===n&&t.visible){e.defaultVariant=n}})}function R(e){const t={variants:[],variantManagementChanges:[],changes:[],variantChanges:[]};e.forEach(e=>{switch(e.getFileType()){case\"ctrl_variant\":t.variants.push(e);break;case\"ctrl_variant_management_change\":t.variantManagementChanges.push(e);break;case\"change\":t.changes.push(e);break;case\"ctrl_variant_change\":t.variantChanges.push(e);break;default:break}});return t}function O(e){const t=R(e);const a=e[0]?.getFlexObjectMetadata().reference;const r={};t.variants.forEach(e=>{var n=e.getVariantManagementReference();r[n]||=p(t.variantManagementChanges,a,n);r[n].variants.push(C(t,e))});t.variantChanges.forEach(e=>{const t=x(r,e);if(t){y(t,e,a,r)}});t.variantManagementChanges.forEach(e=>{const t=r[e.getSelector().id];if(t){b(t,e)}});Object.keys(r).forEach(e=>{const c=r[e];if(!c.currentVariant||!c.variants.some(e=>e.key===c.currentVariant)){const r=h(a,t.variantManagementChanges,c.variants)||e;c.currentVariant=r;n.set([a,e],r,v)}c.variants.sort((e,t)=>{if(e.isStandardVariant){return-1}if(t.isStandardVariant){return 1}return e.title.toLowerCase()<t.title.toLowerCase()?-1:1});var i=c.variants.find(e=>e.key===c.currentVariant).controlChanges;c.modified=i.some(e=>!e.isPersisted()&&!e.getSavedToVariant());c.variants.some(e=>{if(!e.favorite&&e.key===c.defaultVariant){e.favorite=true;return true}return false})});return r}function x(e,t){var n;Object.values(e).some(function(e){return e.variants.some(function(e){if(t.getVariantId()===e.key){n=e;return true}return false})});return n}var S=new i({id:\"variantManagementMap\",parentDataSelector:s.getFlexObjectsDataSelector(),executeFunction:O,checkInvalidation(e,t){if(t.type===\"switchVariant\"){return true}const n=[\"addFlexObject\",\"updateFlexObject\",\"removeFlexObject\"];const a=n.includes(t.type);const r=[\"ctrl_variant\",\"ctrl_variant_change\",\"ctrl_variant_management_change\"];const c=r.includes(t.updatedObject?.getFileType?.());const i=t.updatedObject?.getVariantReference?.();return a&&(c||i)}});var _=new i({id:\"variantManagements\",parameterKey:\"variantManagementReference\",parentDataSelector:S,executeFunction(e,t){return e[t.variantManagementReference]}});var j=new i({id:\"variants\",parameterKey:\"variantReference\",parentDataSelector:_,executeFunction(e,t){return e.variants.find(e=>e.instance.getId()===t.variantReference)}});const F=new i({id:\"vmDependentDependencyMap\",parentDataSelector:S,executeFunction(e,t){let n=[];Object.entries(e).forEach(([e,a])=>{n=n.concat(g.getControlChangesForVariant({vmReference:e,vReference:a.currentVariant,reference:t.reference}))});const a=c.createEmptyDependencyMap();const r=s.getComponentIdForReference(t.reference);n.forEach(e=>{c.addChangeAndUpdateDependencies(e,r,a)});return a},checkInvalidation(e,t){if(t.type===\"switchVariant\"){return true}const n=[\"addFlexObject\",\"removeFlexObject\"].includes(t.type);const a=t.updatedObject.getFileType()===\"change\";const r=Object.values(v[e.reference]||{});return a&&n&&r.includes(t.updatedObject.getVariantReference())}});var k=new i({id:\"variantDependentFlexObjects\",parentDataSelector:s.getFlexObjectsDataSelector(),executeFunction(e){return e.filter(function(e){const t=e.getVariantReference?.();const n=[\"ctrl_variant\",\"ctrl_variant_change\",\"ctrl_variant_management_change\"].indexOf(e.getFileType())>-1;return n||t})}});g.getDependencyMap=function(e){return F.get({reference:e})};g.getVariantDependentFlexObjects=function(e){return k.get({reference:e})};g.getChangeInformationProvider=function(e){return l[e.getFileType()]};g.resetCurrentVariantReference=function(e){delete v[e];S.checkUpdate({reference:e})};g.getVariantManagementMap=function(){return S};g.addRuntimeSteadyObject=function(e,t,n){s.addRuntimeSteadyObject(e,t,n)};g.clearRuntimeSteadyObjects=function(e,t){s.clearRuntimeSteadyObjects(e,t)};g.addRuntimeOnlyFlexObjects=function(e,t){t.forEach(t=>s.getRuntimeOnlyData(e).flexObjects.push(t));s.getFlexObjectsDataSelector().clearCachedResult({reference:e})};g.loadVariant=async function(e){const t=await o.loadFlVariant({variantReference:e.variantReference,reference:e.reference});s.updateWithDataProvided({reference:e.reference,newData:t})};g.getControlChangesForVariant=function(e){const t=g.getVariant(e);if(t){return t.controlChanges.filter(function(t){const n=t.getState()!==r.LifecycleState.PERSISTED;const a=t.getVariantReference()!==e.vReference;return(e.includeDirtyChanges!==false||!n)&&(e.includeReferencedChanges!==false||!a)})}return[]};g.getVariantChangesForVariant=function(e){var t=g.getVariant(e);return t?.variantChanges||[]};g.getVariant=function(e){var t=e.vReference||_.get({variantManagementReference:e.vmReference,reference:e.reference}).defaultVariant;return j.get({variantManagementReference:e.vmReference,variantReference:t,reference:e.reference})};g.getCurrentVariantReference=function(e){var t=_.get({variantManagementReference:e.vmReference,reference:e.reference});return t.currentVariant};g.getAllCurrentVariants=function(e){const t=S.get({reference:e});return Object.entries(t).map(t=>{const n=g.getVariant({vmReference:t[0],vReference:t[1].currentVariant,reference:e}).instance;return n})};g.getVariantManagementReferences=function(e){var t=S.get({reference:e});return Object.keys(t)};g.getAllVariants=function(e){var t=S.get({reference:e});return Object.keys(t).reduce(function(e,n){return e.concat(t[n].variants)},[])};g.getVariantManagementChanges=function(e){const t=S.get({reference:e.reference});const n=Object.values(t).map(e=>e.variantManagementChanges).flat();if(!e.vReference){return n}return n.filter(t=>e.vReference===t.getContent().defaultVariant)};g.getInitialUIChanges=function(e){const t=S.get({reference:e.reference});e.includeDirtyChanges=!!e.includeDirtyChanges;return Object.keys(t).reduce(functio Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/restricted/_pick\",\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/ui/fl/apply/_internal/flexObjects/AnnotationChange\",\"sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange\",\"sap/ui/fl/apply/_internal/flexObjects/CompVariant\",\"sap/ui/fl/apply/_internal/flexObjects/ControllerExtensionChange\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObject\",\"sap/ui/fl/apply/_internal/flexObjects/FlVariant\",\"sap/ui/fl/apply/_internal/flexObjects/getVariantAuthor\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/apply/_internal/flexObjects/UIChange\",\"sap/ui/fl/apply/_internal/flexObjects/UpdatableChange\",\"sap/ui/fl/apply/_internal/flexObjects/VariantChange\",\"sap/ui/fl/apply/_internal/flexObjects/VariantManagementChange\",\"sap/ui/fl/initial/_internal/Settings\",\"sap/ui/fl/Layer\",\"sap/ui/fl/LayerUtils\",\"sap/ui/fl/Utils\"],function(e,t,n,a,r,i,c,o,l,s,p,u,f,g,m,y,C,O,N){\"use strict\";const _={COMP_VARIANT_OBJECT:i,FL_VARIANT_OBJECT:l,CONTROLLER_EXTENSION:c,APP_DESCRIPTOR_CHANGE:r,ANNOTATION_CHANGE:a,UI_CHANGE:u,UPDATABLE_CHANGE:f,VARIANT_CHANGE:g,VARIANT_MANAGEMENT_CHANGE:m,FLEX_OBJECT:o};function T(e){return t(e)?{...e}:e}function d(e){if(e.fileType===\"variant\"){return _.COMP_VARIANT_OBJECT}else if(e.fileType===\"ctrl_variant\"){return _.FL_VARIANT_OBJECT}else if(e.changeType===\"codeExt\"){return _.CONTROLLER_EXTENSION}else if(e.appDescriptorChange){return _.APP_DESCRIPTOR_CHANGE}else if(e.fileType===\"annotation_change\"){return _.ANNOTATION_CHANGE}else if(e.fileType===\"change\"&&e.changeType===\"defaultVariant\"){return _.UPDATABLE_CHANGE}else if(e.fileType===\"ctrl_variant_change\"){return _.VARIANT_CHANGE}else if(e.fileType===\"ctrl_variant_management_change\"){return _.VARIANT_MANAGEMENT_CHANGE}else if(e.changeType===\"deactivateChanges\"){return _.FLEX_OBJECT}return _.UI_CHANGE}function A(e){const t=T(e);const n=t.type||t.changeType;let a=t.fileName||t.id;if(!a){a=N.createDefaultFileName(n);if(a.length>64){throw Error(`File name '${a}' must not exceed 64 characters`)}}const r=t.user||(!O.isDeveloperLayer(t.layer)?y.getInstanceOrUndef()?.getUserId():undefined);return{id:a,adaptationId:t.adaptationId,layer:t.layer,content:T(t.content),texts:T(t.texts),supportInformation:{service:t.ODataService,oDataInformation:T(t.oDataInformation),command:t.command,compositeCommand:t.compositeCommand,generator:t.generator,sourceChangeFileName:t.support&&t.support.sourceChangeFileName,sourceSystem:t.sourceSystem,sourceClient:t.sourceClient,originalLanguage:t.originalLanguage,user:r},flexObjectMetadata:{changeType:n,reference:t.reference,packageName:t.packageName,projectId:t.projectId}}}const E={};E.createFromFileContent=function(e,t,a){const r={...e};var i=t||d(r);if(!i){throw new Error(\"Unknown file type\")}r.support={generator:\"FlexObjectFactory.createFromFileContent\",...r.support||{}};const c=i.getMappingInfo();const l=o.mapFileContent(r,c);const s=Object.entries(l).reduce(function(e,t){n.set(t[0].split(\".\"),t[1],e);return e},{});const u=new i(s);if(a){u.setProperty(\"state\",p.LifecycleState.PERSISTED)}return u};E.createFlexObject=function(e){const t=A({...e,...{packageName:e.packageName||\"$TMP\"}});return new o(t)};E.createUIChange=function(e){e.packageName||=\"$TMP\";const t=A(e);t.layer||=e.isUserDependent?C.USER:O.getCurrentLayer();t.selector=e.selector;t.jsOnly=e.jsOnly;t.variantReference=e.variantReference;t.isChangeOnStandardVariant=e.isChangeOnStandardVariant;t.fileType=e.fileType||\"change\";return new u(t)};E.createVariantChange=function(e){e.packageName||=\"$TMP\";const t=A(e);t.variantId=e.variantId||e.selector?.id;t.fileType=e.fileType||\"ctrl_variant_change\";return new g(t)};E.createVariantManagementChange=function(e){e.packageName||=\"$TMP\";const t=A(e);t.selector=e.selector;t.fileType=e.fileType||\"ctrl_variant_management_change\";return new m(t)};E.createAppDescriptorChange=function(e){e.compositeCommand||=e.support&&e.support.compositeCommand;if(!(e.fileName||e.id)){const t=e.type||e.changeType;e.fileName=N.createDefaultFileName(t).substring(0,64)}const t=A(e);return new r(t)};E.createAnnotationChange=function(e){e.compositeCommand||=e.support&&e.support.compositeCommand;const t=A(e);t.serviceUrl=e.serviceUrl;return new a(t)};E.createControllerExtensionChange=function(e){e.generator||=\"FlexObjectFactory.createControllerExtensionChange\";e.changeType=\"codeExt\";e.content={codeRef:e.codeRef};const t=A(e);t.flexObjectMetadata.moduleName=e.moduleName;t.controllerName=e.controllerName;return new c(t)};E.createFlVariant=function(e){const t=T(e);t.generator||=\"FlexObjectFactory.createFlVariant\";const n=A(t);n.variantManagementReference=t.variantManagementReference;n.variantReference=t.variantReference;n.contexts=t.contexts;n.executeOnSelection=t.executeOnSelection;n.texts={variantName:{value:t.variantName,type:\"XFLD\"}};n.author=s(n.supportInformation.user,n.layer,t.authors);return new l(n)};E.createCompVariant=function(e,t){const a=T(e);a.generator||=\"FlexObjectFactory.createCompVariant\";a.user=n.get(\"support.user\",a);const r=A(a);r.variantId=a.variantId||r.id;r.contexts=a.contexts;r.favorite=a.favorite;r.persisted=a.persisted;r.persistencyKey=a.persistencyKey||n.get(\"selector.persistencyKey\",a);if(a.layer===C.VENDOR||a.layer===C.CUSTOMER_BASE){r.favorite=true}if(a.executeOnSelection!==undefined){r.executeOnSelection=a.executeOnSelection}else{r.executeOnSelection=r.content&&(r.content.executeOnSelect||r.content.executeOnSelection)}r.author=s(r.supportInformation.user,r.layer,t);return new i(r)};return E});\n//# sourceMappingURL=FlexObjectFactory.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/restricted/_pick\",\"sap/ui/fl/apply/_internal/changes/Applier\",\"sap/ui/fl/apply/_internal/changes/Reverter\",\"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState\"],function(e,a,r,n){\"use strict\";function t(a){const r=n.getControlChangesForVariant({...e(a,[\"vmReference\",\"variantsMap\",\"reference\"]),vReference:a.currentVReference});var t=n.getControlChangesForVariant({...e(a,[\"vmReference\",\"variantsMap\",\"reference\"]),vReference:a.newVReference});var i=[];if(t.length>0){i=r.slice();r.some(function(e){if(t[0]&&e.getId()===t[0].getId()){t.shift();i.shift()}else{return true}})}else{i=r}var s={changesToBeReverted:i.reverse(),changesToBeApplied:t};return s}var i={async switchVariant(e){var i=t(e);await r.revertMultipleChanges(i.changesToBeReverted,e);await a.applyMultipleChanges(i.changesToBeApplied,e);n.setCurrentVariant(e)}};return i});\n//# sourceMappingURL=Switcher.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/base/util/restricted/_pick\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/apply/_internal/flexObjects/Variant\",\"sap/ui/fl/initial/_internal/Settings\",\"sap/ui/fl/LayerUtils\",\"sap/ui/fl/Layer\",\"sap/ui/fl/Utils\"],function(t,e,r,n,i,a,s){\"use strict\";var o=r.extend(\"sap.ui.fl.apply._internal.flexObjects.CompVariant\",{metadata:{properties:{persisted:{type:\"boolean\",defaultValue:true},persistencyKey:{type:\"string\"}},aggregations:{revertData:{type:\"sap.ui.base.ManagedObject\",multiple:true,singularName:\"revertData\"},changes:{type:\"sap.ui.base.ManagedObject\",multiple:true}}},constructor:function(...t){const[e]=t;r.apply(this,t);this.setFileType(\"variant\");if(e.favorite!==undefined){this.setFavorite(!!e.favorite)}else if(e.layer===a.VENDOR||e.layer===a.CUSTOMER_BASE){this.setFavorite(true)}}});o.STANDARD_VARIANT_ID=\"*standard*\";o.getMappingInfo=function(){return{...r.getMappingInfo(),persistencyKey:\"selector.persistencyKey\",standardVariant:\"standardVariant\",variantId:\"variantId\"}};o.prototype.getMappingInfo=function(){return o.getMappingInfo()};function p(t){var e=n.getInstanceOrUndef();var r=e?.getUserId();return!r||!t||r.toUpperCase()===t.toUpperCase()}function u(t,e,r){if(e){return t===e}else if(t===a.USER){return true}var s=n.getInstanceOrUndef();if(i.isSapUiLayerParameterProvided()){e=i.getCurrentLayer()}else{e||=s.getIsPublicLayerAvailable()?a.PUBLIC:a.CUSTOMER}var o=t===e;var u=s.getIsKeyUser()||p(r);return o&&u}function l(t){return!t||s.getCurrentLanguage()===t}function c(t,e){var r=n.getInstanceOrUndef();if(!r){return true}if(!t||!e){return true}var i=r.getSystem();var a=r.getClient();return i===t&&e===a}o.prototype.getPackage=function(){return this.getFlexObjectMetadata().packageName};o.prototype.isVariant=function(){return true};o.prototype.isRenameEnabled=function(t){return!this.getStandardVariant()&&this.isEditEnabled(t)&&(!this.isTranslationEnabled()||l(this.getSupportInformation().originalLanguage))};o.prototype.isEditEnabled=function(t){var e=t&&i.isDeveloperLayer(t);var r=c(this.getSupportInformation().sourceSystem,this.getSupportInformation().sourceClient);var n=u(this.getLayer(),t,this.getOwnerId());return e||r&&n};o.prototype.isDeleteEnabled=function(t){var e=c(this.getSupportInformation().sourceSystem,this.getSupportInformation().sourceClient);return e&&u(this.getLayer(),t,this.getOwnerId())&&!this.getStandardVariant()};o.prototype.isTranslationEnabled=function(){return!i.isOverLayer(this.getLayer(),a.CUSTOMER)};o.prototype.storeFavorite=function(t){if(t!==this.getFavorite()){this.setState(e.LifecycleState.UPDATED);this.setFavorite(t)}};o.prototype.storeVisible=function(t){if(t!==this.getVisible()){this.setState(e.LifecycleState.UPDATED);this.setVisible(t)}};o.prototype.getOwnerId=function(){return this.getSupportInformation().user||\"\"};o.prototype.storeContent=function(t){this.setContent(t)};o.prototype.storeExecuteOnSelection=function(t){if(t!==this.getExecuteOnSelection()){this.setState(e.LifecycleState.UPDATED);this.setExecuteOnSelection(t)}};o.prototype.storeName=function(t){this.setName(t)};o.prototype.storeContexts=function(t){this.setContexts(t);this.setState(e.LifecycleState.UPDATED)};o.prototype.cloneFileContentWithNewId=function(...t){var e=r.prototype.cloneFileContentWithNewId.apply(this,t);e.variantId=e.fileName;return e};return o});\n//# sourceMappingURL=CompVariant.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/m/changeHandler/CombineButtons\",\"sap/m/changeHandler/SplitMenuButton\",\"sap/f/changeHandler/MoveDynamicPageTitleActions\"],function(e,n,t){\"use strict\";return{hideControl:\"default\",unhideControl:\"default\",combineButtons:{changeHandler:e},splitMenuButton:{changeHandler:n},moveActions:{changeHandler:t},moveControls:\"default\"}},true);\n//# sourceMappingURL=DynamicPageTitle.flexibility.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/m/changeHandler/CombineButtons\",\"sap/m/changeHandler/SplitMenuButton\",\"sap/ui/fl/changeHandler/BaseRename\"],function(e,n,a){\"use strict\";return{hideControl:\"default\",unhideControl:\"default\",rename:a.createRenameChangeHandler({propertyName:\"title\",translationTextType:\"XGRP\"}),combineButtons:{changeHandler:e,layers:{CUSTOMER:false}},moveControls:\"default\",splitMenuButton:{changeHandler:n,layers:{CUSTOMER:false}}}},true);\n//# sourceMappingURL=ObjectPageSubSection.flexibility.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/Device\"],function(e){\"use strict\";var t={apiVersion:2};t.render=function(a,n){var o=n.getTitle(),r=n.getHeader(),i=n.getFooter(),s=n.getContent(),c=n.getHeaderExpanded(),l=r?r.getContent():[],p=l.length>0,d=n.getShowFooter(),g=n._preserveHeaderStateOnScroll(),F=g||n._bHeaderInTitleArea,C=n.getLandmarkInfo(),f=n._getHeaderTag(C),m=n._getFooterTag(C);a.openStart(\"article\",n);a.class(\"sapFDynamicPage\");if(n.getToggleHeaderOnTitleClick()){a.class(\"sapFDynamicPageTitleClickEnabled\")}if(i&&d){a.class(\"sapFDynamicPageFooterVisible\")}a.attr(\"aria-roledescription\",n._getAriaRoleDescription());a.accessibilityState(n,n._formatLandmarkInfo(C,\"Root\"));a.openEnd();a.openStart(f,n.getId()+\"-header\");a.class(\"sapContrastPlus\");a.class(\"sapFDynamicPageTitleWrapper\");if(!c){a.class(e.system.phone&&o&&o.getSnappedTitleOnMobile()?\"sapFDynamicPageTitleSnappedTitleOnMobile\":\"sapFDynamicPageTitleSnapped\")}if(!p){a.class(\"sapFDynamicPageTitleOnly\")}a.accessibilityState(n,n._getAccessibilityStateTitle());a.attr(\"data-sap-ui-customfastnavgroup\",true);a.openEnd();a.renderControl(o);a.openStart(\"div\",n.getId()+\"-stickyPlaceholder\");a.openEnd();if(F){a.renderControl(r)}a.close(\"div\");a.close(f);a.openStart(\"div\",n.getId()+\"-contentWrapper\");a.class(\"sapFDynamicPageContentWrapper\");if(n.getBackgroundDesign()){a.class(\"sapFDynamicPageContentWrapper\"+n.getBackgroundDesign())}a.openEnd();a.openStart(\"div\",n.getId()+\"-headerWrapper\");a.class(\"sapFDynamicPageHeaderWrapper\");a.openEnd();if(!F){a.renderControl(r)}a.close(\"div\");a.openStart(\"div\",n.getId()+\"-content\");a.class(\"sapFDynamicPageContent\");a.accessibilityState(n,n._formatLandmarkInfo(C,\"Content\"));a.openEnd();a.openStart(\"div\",n.getId()+\"-contentFitContainer\");if(n.getFitContent()){a.class(\"sapFDynamicPageContentFitContainer\")}if(i&&d){a.class(\"sapFDynamicPageContentFitContainerFooterVisible\")}a.openEnd();a.renderControl(s);a.close(\"div\");a.close(\"div\");a.close(\"div\");t.renderFooter(a,n,i,d,m,C);a.close(\"article\")};t.renderFooter=function(e,t,a,n,o,r){if(a){e.openStart(o,t.getId()+\"-footerWrapper\");e.class(\"sapContrast\").class(\"sapContrastPlus\").class(\"sapFDynamicPageFooter\").class(\"sapMFooter-CTX\");if(!n){e.class(\"sapUiHidden\")}e.accessibilityState(t,t._formatLandmarkInfo(r,\"Footer\"));e.openEnd();a.addStyleClass(\"sapFDynamicPageActualFooterControl\");e.renderControl(a);e.close(o)}};return t},true);\n//# sourceMappingURL=DynamicPageRenderer.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/base/ManagedObjectObserver\",\"sap/ui/fl/Utils\"],function(e,t){\"use strict\";var n={};var r={};var a={};var o={};var i={};function g(e){var t=e.object.getId();a[t].forEach(function(e){o[e.view.getId()][e.name].bParentIsDestroyed=true})}function s(e){var n=e.object.getId();a[n].forEach(function(n){var r=n.aggregationName;if(r===e.name){var a=t.getAggregation(e.object,r);var o=[].concat(a||[]).map(function(e){return e.getId()});if(e.mutation===\"insert\"){if(o.indexOf(e.child.getId())<n.index){n.index++}}else{if(Array.isArray(n.defaultContent)){n.defaultContent=n.defaultContent.filter(function(t){return t.getId()!==e.child.getId()})}if(Array.isArray(n.createdControls)){n.createdControls=n.createdControls.filter(function(t){return t!==e.child.getId()})}if(n.aggregation.indexOf(e.child.getId())<n.index){n.index--}}n.aggregation=o}})}function d(e){if(e.type===\"destroy\"){g(e)}else{s(e)}}function c(t,n){var a=t.getId();if(!r[a]){var o=new e(d.bind(this));o.observe(t,{aggregations:[n],destroy:true});r[a]={observer:o,aggregations:[n]}}else{var i=r[a].observer.isObserved(t,{aggregations:[n]});if(!i){r[a].aggregations.push(n);r[a].observer.observe(t,{aggregations:r[a].aggregations,destroy:true})}}}function f(e,n,r){var g=r.view.getId();var s=t.getAggregation(e,n);var d=[].concat(s||[]).map(function(e){return e.getId()});var c=e.getId();a[c]||=[];o[g]||={};r.aggregation=d;if(i[g]&&i[g][r.name]){r.createdControls=i[g][r.name];delete i[g][r.name]}a[c].push(r);o[g][r.name]=r}n.registerExtensionPoint=function(e){var t=e.targetControl;var n=e.aggregationName;c(t,n);f(t,n,e)};n.getExtensionPointInfo=function(e,t){return o[t.getId()]&&o[t.getId()][e]};n.getExtensionPointInfoByViewId=function(e){return o[e]||{}};n.getExtensionPointInfoByParentId=function(e){return a[e]||[]};n.clear=function(){Object.keys(r).forEach(function(e){r[e].observer.disconnect();r[e].observer.destroy()});r={};a={};o={}};n.addCreatedControls=function(e,t,n){var r;if(o[t]&&o[t][e]){r=o[t][e].createdControls||[];o[t][e].createdControls=r.concat(n)}else{i[t]||={};r=i[t][e]||[];i[t][e]=r.concat(n)}};return n});\n//# sourceMappingURL=Registry.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/Component\",\"sap/base/Log\",\"sap/base/util/deepEqual\",\"sap/base/util/merge\",\"sap/base/util/ObjectPath\",\"sap/base/util/isEmptyObject\",\"sap/ui/base/ManagedObjectObserver\",\"sap/ui/thirdparty/hasher\",\"sap/ui/fl/apply/_internal/controlVariants/Utils\"],function(e,a,t,r,n,o,i,s,l){\"use strict\";var c={};var m={};function d(e,a){var t=[];return e.reduce(function(e,r){var n=a.getVariantManagementReference(r).variantManagementReference;if(n){if(t.includes(n)){e.updateRequired=true;return e}t.push(n)}if(n&&a.oData[n].currentVariant!==r){e.updateRequired=true;if(a.oData[n].currentVariant!==a.oData[n].defaultVariant){e.parameters.push(a.oData[n].currentVariant)}}else{e.parameters.push(r)}return e},{updateRequired:false,parameters:[]})}function p(e,a){const t=e.getUShellService(\"URLParsing\")?.parseShellHash(a||s.getHash());var r=n.get([\"params\",l.VARIANT_TECHNICAL_PARAMETER],t);if(Array.isArray(r)&&r.length===1){r=r[0].split(\",\")}if(r){var o=d(r,e);if(o.updateRequired){m.update({updateURL:!e._bDesignTimeMode,parameters:o.parameters,updateHashEntry:true,model:e})}}}function u(e,t){try{const a=e.getUShellService(\"URLParsing\");if(a){p(e,t)}}catch(e){a.error(e.message)}const r=e.getUShellService(\"ShellNavigationInternal\");return r?.NavigationFilterStatus.Continue}function f(e){const a=e.getUShellService(\"ShellNavigationInternal\");if(!c[e.sFlexReference]){c[e.sFlexReference]=u.bind(null,e);if(a){a.registerNavigationFilter(c[e.sFlexReference])}}}function A(e){const a=e.getUShellService(\"ShellNavigationInternal\");if(a){a.unregisterNavigationFilter(c[e.sFlexReference]);delete c[e.sFlexReference]}}function R(e){const r=e.model;const n=r.getUShellService(\"URLParsing\");const o=r.getUShellService(\"Navigation\");const i=n?.parseShellHash(s.getHash());if(i?.params){const c={...i.params};const m=r.oAppComponent?.getComponentData?.()?.technicalParameters;if(!m){a.warning(\"Component instance not provided, so technical parameters in component data and browser history remain unchanged\")}if(e.parameters.length===0){delete i.params[l.VARIANT_TECHNICAL_PARAMETER];if(m){delete m[l.VARIANT_TECHNICAL_PARAMETER]}}else{i.params[l.VARIANT_TECHNICAL_PARAMETER]=[e.parameters.toString()];if(m){m[l.VARIANT_TECHNICAL_PARAMETER]=[e.parameters.toString()]}}if(e.silent){s.changed.active=false;s.replaceHash(n.constructShellHash(i));s.changed.active=true}else if(!t(c,i.params)){o.navigate({target:{semanticObject:i.semanticObject,action:i.action,context:i.contextRaw},params:i.params,appSpecificRoute:i.appSpecificRoute,writeHistory:false})}}}function h(e){var a={index:-1};var t=e.model;var n=t.getUShellService(\"URLParsing\");var i=n?.parseShellHash(s.getHash()).params;if(i){a.parameters=[];if(t._bDesignTimeMode){i[l.VARIANT_TECHNICAL_PARAMETER]=m.getStoredHashParams(e)}if(Array.isArray(i[l.VARIANT_TECHNICAL_PARAMETER])){if(i[l.VARIANT_TECHNICAL_PARAMETER].length>1){i[l.VARIANT_TECHNICAL_PARAMETER]=i[l.VARIANT_TECHNICAL_PARAMETER].map(decodeURIComponent)}else if(i[l.VARIANT_TECHNICAL_PARAMETER].length===1){const e=i[l.VARIANT_TECHNICAL_PARAMETER][0];const a=e&&decodeURIComponent(e);i[l.VARIANT_TECHNICAL_PARAMETER]=a?a.split(\",\"):[]}i[l.VARIANT_TECHNICAL_PARAMETER].some(function(r,n){if(!o(t.getVariant(r,e.vmReference))){a.index=n;return true}return false})}}return r(a,i&&i[l.VARIANT_TECHNICAL_PARAMETER]&&{parameters:i[l.VARIANT_TECHNICAL_PARAMETER]})}function v(e){var a=e.getUShellService(\"URLParsing\");var t=a?.parseShellHash(s.getHash());return t?.params&&t.params[l.VARIANT_TECHNICAL_PARAMETER]}m.variantTechnicalParameterName=\"sap-ui-fl-control-variant-id\";m.initialize=function(e){var a=e.model;m.attachHandlers(e);a._oHashData={hashParams:[],controlPropertyObservers:[],variantControlIds:[]};p(a)};m.updateVariantInURL=function(e){var a=m.removeURLParameterForVariantManagement(e);if(!a.parameters){return}var t=a.parameters||[];var r=a.index;var n=e.newVReference===e.model.oData[e.vmReference].defaultVariant;if(!n){if(r===-1){t=t.concat([e.newVReference])}else{t=t.slice(0,r).concat([e.newVReference],t.slice(r))}}if(!n||r>-1){m.update({parameters:t,updateURL:!e.model._bDesignTimeMode,updateHashEntry:true,model:e.model})}};m.removeURLParameterForVariantManagement=function(e){var a=h(e);if(a.index>-1){a.parameters.splice(a.index,1)}return a};m.attachHandlers=function(a){async function t(){await a.model.waitForAllVMSwitchPromises();a.model._oHashData.controlPropertyObservers.forEach(function(e){e.destroy()});A(a.model);a.model.destroy();a.model.oComponentDestroyObserver.unobserve(a.model.oAppComponent,{destroy:true});a.model.oComponentDestroyObserver.destroy()}f(a.model);if(!a.model.oComponentDestroyObserver&&a.model.oAppComponent instanceof e){a.model.oComponentDestroyObserver=new i(t.bind(null));a.model.oComponentDestroyObserver.observe(a.model.oAppComponent,{destroy:true})}};m.registerControl=function(e){if(e.updateURL){e.model._oHashData.variantControlIds.push(e.vmReference)}};m.update=function(e){if(!Array.isArray(e.parameters)){a.info(\"Variant URL parameters could not be updated since invalid parameters were received\");return}if(e.updateURL){R(e)}if(e.updateHashEntry){e.model._oHashData.hashParams=e.parameters}};m.getStoredHashParams=function(e){return Array.prototype.slice.call(e.model._oHashData.hashParams)};m.handleModelContextChange=function(e){var a=\"modelContextChange\";function t(a,t){var r=t.model.getVariantManagementReferenceForControl(a.getSource());var n=t.model._oHashData.variantControlIds;var o=n.indexOf(r);if(o>-1){n.slice(o).forEach(function(a){if(h({vmReference:a,model:e.model}).index===-1){t.model.switchToDefaultForVariantManagement(a)}})}}var r=new i(function(r){if(r.current===true&&r.old===false){r.object.attachEvent(a,{model:e.model},t)}else if(r.current===false&&r.old===true){r.object.detachEvent(a,t)}});r.observe(e.vmControl,{properties:[\"resetOnContextChange\"]});e.model._oHashData.controlPropertyObservers.push(r);if(e.vmControl.getResetOnContextChange()!==false){e.vmControl.attachEvent(a,{model:e.model},t)}};m.clearAllVariantURLParameters=function(e){if(v(e.model)){m.update({updateURL:true,parameters:[],updateHashEntry:false,model:e.model})}};return m});\n//# sourceMappingURL=URLHandler.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/Element\",\"sap/ui/core/StaticArea\",\"sap/ui/fl/Utils\"],function(e,t,r){\"use strict\";function n(e,t){if(!t){return undefined}if(e.indexOf(t.getId())>-1){return t.getId()}return n(e,t.getParent())}function a(e,n){var a=r.getAppComponentForControl(e);var o=a.getRootControl();var i=[];if(!n&&o.getDomRef()){i=Array.from(o.getDomRef().querySelectorAll(\".sapUiFlVarMngmt\"))}if(n||i.length===0){i=Array.from(t.getDomRef().querySelectorAll(\".sapUiFlVarMngmt\"))}return i.map(function(e){return e.id})}var o={DEFAULT_AUTHOR:\"SAP\",VARIANT_TECHNICAL_PARAMETER:\"sap-ui-fl-control-variant-id\",compareVariants(e,t){if(e.getName().toLowerCase()<t.getName().toLowerCase()){return-1}else if(e.getName().toLowerCase()>t.getName().toLowerCase()){return 1}return 0},getIndexToSortVariant(e,t){var r=e.length;e.some(function(e,n){if(o.compareVariants(t.instance,e.instance)<0){r=n;return true}});return r},getRelevantVariantManagementControlId(t,r,o){var i={};if(!r||!r.length){r=a(t,o)}var u=r.reduce(function(t,r){var n=e.getElementById(r);if(n){var a=n.getFor();a.forEach(function(e){i[e]=r});t=t.concat(a)}return t},[]);var g=n(u,t);return i[g]},belongsToVariantManagement(e){var t=a(e);return!!o.getRelevantVariantManagementControlId(e,t)},getAllVariantManagementControlIds(e){return a(e)}};return o});\n//# sourceMappingURL=Utils.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/Element\",\"sap/ui/model/base/ManagedObjectModel\"],function(e,t){\"use strict\";function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}var o=e.extend(\"sap.ui.fl.util.ManagedObjectModel\",{metadata:{library:\"sap.ui.fl\",properties:{data:{type:\"object\"},name:{type:\"string\",defaultValue:\"$sap.ui.fl.ManagedObjectModel\"}},associations:{object:{type:\"sap.ui.core.Element\"}}},constructor:function(...o){e.apply(this,o);this._oManagedObjectModel=new t(e.getElementById(this.getObject()),this.getData());[\"data\",\"name\",\"object\"].forEach(function(e){this[`set${a(e)}`]=function(){throw new Error(`sap.ui.fl.util.ManagedObjectModel: Can't change the value of \\`${e}\\` after the object is `+\"initialized. Please recreate the object with correct values in the constructor.\")}},this)}});o.prototype.setParent=function(...t){const[a]=t;const o=this.getParent();if(o){o.setModel(null,this.getName())}if(a){a.setModel(this._oManagedObjectModel,this.getName())}e.prototype.setParent.apply(this,t)};o.prototype.exit=function(){this._oManagedObjectModel.destroy()};return o});\n//# sourceMappingURL=ManagedObjectModel.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/Lib\",\"sap/base/i18n/Localization\",\"sap/base/security/encodeURLParameters\"],function(e,s,t){\"use strict\";var r=2e4;var n=function(e,s){var t=new Error(e.statusText);t.status=e.status;t.userMessage=s;return t};var a=function(s){return e.getResourceBundleFor(\"sap.ui.fl\").getText(s)};const o=(e,s)=>{if(e.slice(-1)!==\"/\"&&s.charAt(0)!==\"/\"){e+=\"/\"}return e+s};return{addLanguageInfo(e){if(!e){throw new Error(\"No parameters map were passed\")}e[\"sap-language\"]=s.getLanguage()},addSAPLogonLanguageInfo(e){if(!e){throw new Error(\"No parameters map were passed\")}e[\"sap-language\"]=s.getSAPLogonLanguage()},getUrl(e,s,r){if(!e||!s.url){throw new Error(\"Not all necessary parameters were passed\")}let n=o(s.url,e);if(s.cacheKey){n=o(n,`~${s.cacheKey}~`)}if(s.reference){n=o(n,s.reference)}else if(s.fileName){n=o(n,s.fileName)}if(r){Object.keys(r).forEach(function(e){if(r[e]===undefined){delete r[e]}});var a=t(r);if(a.length>0){n+=`?${a}`}}return n},sendRequest(e,s,t){s||=\"GET\";s=s.toUpperCase();return new Promise(function(o,i){var p=new XMLHttpRequest;p.open(s,e);p.timeout=r;if((s===\"GET\"||s===\"HEAD\")&&(!t||(!t.initialConnector||!t.initialConnector.xsrfToken)&&!t.cacheable)){p.setRequestHeader(\"X-CSRF-Token\",\"fetch\")}if((s===\"POST\"||s===\"PUT\"||s===\"DELETE\")&&t&&t.initialConnector&&t.initialConnector.xsrfToken){p.setRequestHeader(\"X-CSRF-Token\",t.initialConnector.xsrfToken)}if(t&&t.contentType){p.setRequestHeader(\"Content-Type\",t.contentType)}if(t&&t.siteId){p.setRequestHeader(\"X-LRep-Site-Id\",t.siteId)}if(t&&t.sAppDescriptorId){p.setRequestHeader(\"X-LRep-AppDescriptor-Id\",t.sAppDescriptorId)}if(t&&t.dataType){p.responseType=t.dataType}p.onload=function(){if(p.status>=200&&p.status<400){try{var e={};if(p.status!==204&&p.status!==205){if(!p.response&&p.responseText){p.response=p.responseText}e.response=p.response;if(e.response&&typeof e.response===\"string\"&&p.getResponseHeader(\"content-type\")&&p.getResponseHeader(\"content-type\").indexOf(\"json\")>0){e.response=JSON.parse(e.response)}}e.status=p.status;if(p.getResponseHeader(\"X-CSRF-Token\")){e.xsrfToken=p.getResponseHeader(\"X-CSRF-Token\");if(t&&t.initialConnector){t.initialConnector.xsrfToken=e.xsrfToken}}if(p.getResponseHeader(\"Etag\")){e.etag=p.getResponseHeader(\"Etag\")}o(e)}catch(e){e.userMessage=a(\"MSG_LOADING_SERVER_RESPONSE_ERROR\");i(e)}}else{var s=\"\";try{var r=typeof p.response===\"string\"?JSON.parse(p.response):p.response;if(Array.isArray(r.messages)&&r.messages.length){s=r.messages.reduce(function(e,s){return e.concat(s.severity===\"Error\"?`${s.text}\\n`:\"\")},s)}}catch(e){}i(n(p,s))}};p.ontimeout=function(){i(n(p,a(\"MSG_CONNECTION_TIMEOUT_ERROR\")))};p.onerror=function(){i(n(p,a(\"MSG_NETWORK_ERROR\")))};p.addEventListener(\"error\",function(){i(n(p,a(\"MSG_NETWORK_ERROR\")))});if(t&&t.payload){p.send(t.payload)}else{p.send()}})}}});\n//# sourceMappingURL=Utils.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/Lib\",\"sap/ui/base/DataType\",\"sap/m/AvatarShape\",\"sap/m/AvatarSize\",\"sap/m/AvatarType\",\"sap/m/AvatarColor\",\"sap/m/AvatarImageFitType\",\"sap/m/IllustratedMessageType\",\"sap/m/IllustratedMessageSize\",\"sap/m/library\",\"sap/ui/Global\",\"sap/ui/core/library\",\"sap/ui/layout/library\"],function(a,e,i,s,t,n,r,p,o){\"use strict\";var d=a.init({apiVersion:2,name:\"sap.f\",version:\"1.139.0\",dependencies:[\"sap.ui.core\",\"sap.m\",\"sap.ui.layout\"],designtime:\"sap/f/designtime/library.designtime\",...{interactionDocumentation:true},interfaces:[\"sap.f.cards.IHeader\",\"sap.f.ICard\",\"sap.f.IShellBar\",\"sap.f.IDynamicPageStickyContent\",\"sap.f.dnd.IGridDroppable\"],types:[\"sap.f.AvatarImageFitType\",\"sap.f.AvatarShape\",\"sap.f.AvatarSize\",\"sap.f.AvatarType\",\"sap.f.AvatarColor\",\"sap.f.AvatarGroupType\",\"sap.f.CardBadgeVisibilityMode\",\"sap.f.cards.SemanticRole\",\"sap.f.cards.HeaderPosition\",\"sap.f.cards.NumericHeaderSideIndicatorsAlignment\",\"sap.f.DynamicPageTitleArea\",\"sap.f.DynamicPageTitleShrinkRatio\",\"sap.f.IllustratedMessageSize\",\"sap.f.IllustratedMessageType\",\"sap.f.LayoutType\",\"sap.f.SidePanelPosition\",\"sap.f.NavigationDirection\"],controls:[\"sap.f.Avatar\",\"sap.f.AvatarGroup\",\"sap.f.AvatarGroupItem\",\"sap.f.cards.Header\",\"sap.f.cards.NumericHeader\",\"sap.f.cards.NumericIndicators\",\"sap.f.cards.NumericSideIndicator\",\"sap.f.CalendarInCard\",\"sap.f.Card\",\"sap.f.GridContainer\",\"sap.f.DynamicPage\",\"sap.f.DynamicPageHeader\",\"sap.f.DynamicPageTitle\",\"sap.f.IllustratedMessage\",\"sap.f.FlexibleColumnLayout\",\"sap.f.semantic.SemanticPage\",\"sap.f.GridList\",\"sap.f.GridListItem\",\"sap.f.PlanningCalendarInCardLegend\",\"sap.f.ProductSwitch\",\"sap.f.ProductSwitchItem\",\"sap.f.ShellBar\",\"sap.f.SidePanel\",\"sap.f.Illustration\"],elements:[\"sap.f.DynamicPageAccessibleLandmarkInfo\",\"sap.f.GridContainerItemLayoutData\",\"sap.f.FlexibleColumnLayoutAccessibleLandmarkInfo\",\"sap.f.FlexibleColumnLayoutData\",\"sap.f.FlexibleColumnLayoutDataForDesktop\",\"sap.f.FlexibleColumnLayoutDataForTablet\",\"sap.f.cards.CardBadgeCustomData\",\"sap.f.semantic.AddAction\",\"sap.f.semantic.CloseAction\",\"sap.f.semantic.CopyAction\",\"sap.f.semantic.DeleteAction\",\"sap.f.semantic.DiscussInJamAction\",\"sap.f.semantic.EditAction\",\"sap.f.semantic.ExitFullScreenAction\",\"sap.f.semantic.FavoriteAction\",\"sap.f.semantic.FlagAction\",\"sap.f.semantic.FooterMainAction\",\"sap.f.semantic.FullScreenAction\",\"sap.f.semantic.MainAction\",\"sap.f.semantic.MessagesIndicator\",\"sap.f.semantic.NegativeAction\",\"sap.f.semantic.PositiveAction\",\"sap.f.semantic.PrintAction\",\"sap.f.semantic.SemanticButton\",\"sap.f.semantic.SemanticControl\",\"sap.f.semantic.SemanticToggleButton\",\"sap.f.semantic.SendEmailAction\",\"sap.f.semantic.SendMessageAction\",\"sap.f.semantic.ShareInJamAction\",\"sap.f.semantic.TitleMainAction\",\"sap.f.SearchManager\",\"sap.f.SidePanelItem\"],extensions:{flChangeHandlers:{\"sap.f.Avatar\":\"sap/f/flexibility/Avatar\",\"sap.f.DynamicPageHeader\":{hideControl:\"default\",unhideControl:\"default\",moveControls:\"default\"},\"sap.f.DynamicPageTitle\":\"sap/f/flexibility/DynamicPageTitle\",\"sap.f.semantic.SemanticPage\":{moveControls:\"default\"},\"sap.f.GridContainer\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"}},\"sap.ui.support\":{publicRules:true,internalRules:true}}});d.DynamicPageTitleArea={Begin:\"Begin\",Middle:\"Middle\"};e.registerEnum(\"sap.f.DynamicPageTitleArea\",d.DynamicPageTitleArea);d.DynamicPageTitleShrinkRatio=e.createType(\"sap.f.DynamicPageTitleShrinkRatio\",{isValid:function(a){return/^(([0-9]\\d*)(\\.\\d)?:([0-9]\\d*)(\\.\\d)?:([0-9]\\d*)(\\.\\d)?)$/.test(a)}},e.getType(\"string\"));d.LayoutType={OneColumn:\"OneColumn\",TwoColumnsBeginExpanded:\"TwoColumnsBeginExpanded\",TwoColumnsMidExpanded:\"TwoColumnsMidExpanded\",MidColumnFullScreen:\"MidColumnFullScreen\",ThreeColumnsMidExpanded:\"ThreeColumnsMidExpanded\",ThreeColumnsEndExpanded:\"ThreeColumnsEndExpanded\",ThreeColumnsMidExpandedEndHidden:\"ThreeColumnsMidExpandedEndHidden\",ThreeColumnsBeginExpandedEndHidden:\"ThreeColumnsBeginExpandedEndHidden\",EndColumnFullScreen:\"EndColumnFullScreen\"};d.AvatarShape=i;e.registerEnum(\"sap.f.AvatarShape\",d.AvatarShape);d.AvatarSize=s;e.registerEnum(\"sap.f.AvatarSize\",d.AvatarSize);d.AvatarType=t;e.registerEnum(\"sap.f.AvatarType\",d.AvatarType);d.AvatarColor=n;e.registerEnum(\"sap.f.AvatarColor\",d.AvatarColor);d.AvatarImageFitType=r;e.registerEnum(\"sap.f.AvatarImageFitType\",d.AvatarImageFitType);d.AvatarGroupType={Group:\"Group\",Individual:\"Individual\"};d.cards=d.cards||{};d.cards.SemanticRole={Region:\"Region\",ListItem:\"ListItem\"};d.cards.HeaderPosition={Top:\"Top\",Bottom:\"Bottom\"};d.cards.NumericHeaderSideIndicatorsAlignment={Begin:\"Begin\",End:\"End\"};d.NavigationDirection={Up:\"Up\",Down:\"Down\",Left:\"Left\",Right:\"Right\"};e.registerEnum(\"sap.f.NavigationDirection\",d.NavigationDirection);d.SidePanelPosition={Left:\"Left\",Right:\"Right\"};e.registerEnum(\"sap.f.SidePanelPosition\",d.SidePanelPosition);d.CardBadgeVisibilityMode={Persist:\"Persist\",Disappear:\"Disappear\"};e.registerEnum(\"sap.f.CardBadgeVisibilityMode\",d.CardBadgeVisibilityMode);d.IllustratedMessageType=p;e.registerEnum(\"sap.f.IllustratedMessageType\",d.IllustratedMessageType);d.IllustratedMessageSize=o;e.registerEnum(\"sap.f.IllustratedMessageSize\",d.IllustratedMessageSize);(function(){sap.ui.lazyRequire(\"sap.f.routing.Router\");sap.ui.lazyRequire(\"sap.f.routing.Target\");sap.ui.lazyRequire(\"sap.f.routing.TargetHandler\");sap.ui.lazyRequire(\"sap.f.routing.Targets\")})();e.registerEnum(\"sap.f.AvatarGroupType\",d.AvatarGroupType);e.registerEnum(\"sap.f.cards.SemanticRole\",d.cards.SemanticRole);e.registerEnum(\"sap.f.cards.HeaderPosition\",d.cards.HeaderPosition);e.registerEnum(\"sap.f.cards.NumericHeaderSideIndicatorsAlignment\",d.cards.NumericHeaderSideIndicatorsAlignment);e.registerEnum(\"sap.f.LayoutType\",d.LayoutType);return d});\n//# sourceMappingURL=library.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/Lib\",\"sap/ui/fl/apply/_internal/controlVariants/Utils\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory\",\"sap/ui/fl/apply/_internal/flexObjects/getVariantAuthor\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler\",\"sap/ui/fl/Layer\"],function(e,a,n,t,r,i,s){\"use strict\";const c={};c.variants=function(i){i.flexObjects.forEach(e=>{if(e.getFileType()===\"ctrl_variant\"){e.setAuthor(t(e.getSupportInformation().user,e.getLayer(),i.storageResponse.authors))}});const c=(i.storageResponse.changes.variants||[]).map(function(e){return e.fileName}).concat(i.externalData.filter(function(e){return e.getFileType()===\"ctrl_variant\"}).map(function(e){return e.getId()}));var l={runtimeOnlyData:{flexObjects:[]}};var f=i.storageResponse.changes.variants;var p=i.storageResponse.changes.variantDependentControlChanges.filter(function(e){var a=e.isChangeOnStandardVariant;if(a!==undefined&&a!==null){return a}return!/id_\\d{13}_\\d*_flVariant/.test(e.variantReference)});var u=f.concat(p);u.forEach(function(t){var i=t.fileType===\"ctrl_variant\"?t.variantManagementReference:t.variantReference;if(i&&!c.includes(i)){var f=e.getResourceBundleFor(\"sap.ui.fl\");var p=n.createFlVariant({id:i,variantManagementReference:i,variantName:f.getText(\"STANDARD_VARIANT_TITLE\"),layer:s.BASE,user:a.DEFAULT_AUTHOR,reference:t.reference});p.setState(r.LifecycleState.PERSISTED);l.runtimeOnlyData.flexObjects.push(p);c.push(i)}});return l};c.uiChanges=function(e){const a=i.createEmptyDependencyMap();e.flexObjects.forEach(n=>{if(n.isA(\"sap.ui.fl.apply._internal.flexObjects.UIChange\")&&!n.getVariantReference()){i.addChangeAndUpdateDependencies(n,e.componentId,a)}});return{runtimeOnlyData:{liveDependencyMap:a}}};return c});\n//# sourceMappingURL=InitialPrepareFunctions.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/Lib\",\"sap/ui/fl/apply/_internal/flexState/FlexState\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/apply/api/FlexRuntimeInfoAPI\",\"sap/ui/fl/Utils\"],function(t,e,a,n,i){\"use strict\";let o={};function s(t,e,a,n){const i={info:{customProperties:{[n]:{label:e,value:a,showInAbout:true}}}};t.setAppInfo(i)}function c(t){if(t.homePage||t.applicationType!==\"UI5\"){return false}return true}async function p(i,o){if(c(o)){const c=o.componentInstance;const p=a.getFlexReference({componentData:c.getComponentData(),manifest:c.getManifest()});const r={reference:p,componentId:c.getId(),manifest:c.getManifestObject(),componentData:c.getComponentData(),asyncHints:c._componentConfig.asyncHints};await e.initialize(r);const l=n.getContextBasedAdaptationId(r);if(l===\"DEFAULT\"||!l){return}const u=n.getContextBasedAdaptationTitle(r);const f=t.getResourceBundleFor(\"sap.ui.fl\").getText(\"CBA_ABOUT_INFO_DIALOG_LABEL\");const d=`${u} (${l})`;s(i,f,d,\"ui5.flex.adaptation\")}}async function r(){const t=await i.getUShellService(\"AppLifeCycle\");const e=t.getCurrentApplication();if(e){await p(t,e)}t.attachAppLoaded(t,o.onAppLoadedListener)}function l(){return new Promise(t=>{sap.ui.require([\"sap/ushell/api/BootstrapObserver\"],async function(e){await e.ready();t()})})}function u(){return new Promise(e=>{t.attachLibraryChanged(t=>{if(t.getParameter(\"operation\")===\"add\"&&t.getParameter(\"metadata\").sName===\"sap.ushell\"){e()}})})}async function f(){if(!t.isLoaded(\"sap.ushell\")){await u()}await l()}o={async initialize(){await f();await r()},async onAppLoadedListener(t,e){const a=t.getParameters();await p(e,a)}};return o});\n//# sourceMappingURL=FLPAboutInfo.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/Lib\",\"sap/ui/fl/apply/_internal/preprocessors/RegistrationDelegator\",\"sap/ui/fl/initial/_internal/FlexConfiguration\",\"sap/ui/fl/Utils\",\"sap/ui/fl/Layer\",\"sap/ui/fl/Scenario\",\"sap/ui/fl/changeHandler/condenser/Classification\",\"sap/ui/core/library\",\"sap/m/library\"],function(i,e,a,r,n,s,l){\"use strict\";var t=i.init({apiVersion:2,name:\"sap.ui.fl\",version:\"1.139.0\",controls:[\"sap.ui.fl.variants.VariantManagement\",\"sap.ui.fl.util.IFrame\"],dependencies:[\"sap.ui.core\",\"sap.m\"],designtime:\"sap/ui/fl/designtime/library.designtime\",extensions:{flChangeHandlers:{\"sap.ui.fl.util.IFrame\":\"sap/ui/fl/util/IFrame\"},\"sap.ui.support\":{publicRules:true}}});t.condenser={Classification:l};t.Scenario=s;e.registerAll();function o(){var i=r.getUshellContainer();if(i){return i.getLogonSystem().isTrial()}return false}if(o()){a.setFlexibilityServices([{connector:\"LrepConnector\",url:\"/sap/bc/lrep\",layers:[]},{connector:\"LocalStorageConnector\",layers:[n.CUSTOMER,n.PUBLIC,n.USER]}])}return t});\n//# sourceMappingURL=library.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/Lib\",\"sap/ui/fl/initial/_internal/Settings\",\"sap/ui/fl/Layer\"],function(e,t,n){\"use strict\";return(i,r,s)=>{const u=i||\"\";const a=t.getInstanceOrUndef();if(r===n.USER||u===a?.getUserId()){return e.getResourceBundleFor(\"sap.ui.fl\").getText(\"VARIANT_SELF_OWNER_NAME\")}if(![n.PUBLIC,n.CUSTOMER].includes(r)){return u}return s?.[u]||u}});\n//# sourceMappingURL=getVariantAuthor.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/mvc/ControllerExtensionProvider\",\"sap/ui/core/mvc/XMLView\",\"sap/ui/core/ComponentHooks\",\"sap/ui/core/ExtensionPoint\",\"sap/ui/fl/apply/_internal/changes/descriptor/Preprocessor\",\"sap/ui/fl/apply/_internal/flexState/communication/FLPAboutInfo\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/fl/apply/_internal/preprocessors/ComponentLifecycleHooks\",\"sap/ui/fl/apply/api/DelegateMediatorAPI\",\"sap/ui/fl/changeHandler/ChangeAnnotation\",\"sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration\",\"sap/ui/base/DesignTime\",\"sap/ui/fl/apply/_internal/preprocessors/ControllerExtension\",\"sap/ui/fl/apply/_internal/preprocessors/XmlPreprocessor\"],function(e,n,a,r,i,t,o,s,l,p,d,u){\"use strict\";var c={};function f(){a.onInstanceCreated.register(s.instanceCreatedHook)}function g(){d.registerPredefinedChangeHandlers();d.getChangeHandlersOfLoadedLibsAndRegisterOnNewLoadedLibs();d.registerAnnotationChangeHandler({changeHandler:p,isDefaultChangeHandler:true})}function m(){a.onModelCreated.register(s.modelCreatedHook)}function P(){a.onComponentLoaded.register(s.componentLoadedHook)}function C(){e.registerExtensionProvider(\"sap/ui/fl/apply/_internal/preprocessors/ControllerExtension\")}function D(){if(n.registerPreprocessor){n.registerPreprocessor(\"viewxml\",\"sap.ui.fl.apply._internal.preprocessors.XmlPreprocessor\")}}function y(){a.onPreprocessManifest.register(i.preprocessManifest)}function H(e){if(o.isFlexExtensionPointHandlingEnabled(e)){return\"sap/ui/fl/apply/_internal/extensionPoint/Processor\"}if(u.isDesignModeEnabled()){return\"sap/ui/fl/write/_internal/extensionPoint/Processor\"}return undefined}function _(){r.registerExtensionProvider(H)}function x(){l.registerReadDelegate({modelType:\"sap.ui.model.odata.v4.ODataModel\",delegate:\"sap/ui/fl/write/_internal/delegates/ODataV4ReadDelegate\"});l.registerReadDelegate({modelType:\"sap.ui.model.odata.v2.ODataModel\",delegate:\"sap/ui/fl/write/_internal/delegates/ODataV2ReadDelegate\"});l.registerReadDelegate({modelType:\"sap.ui.model.odata.ODataModel\",delegate:\"sap/ui/fl/write/_internal/delegates/ODataV2ReadDelegate\"})}function h(){t.initialize()}c.registerAll=function(){g();P();C();f();D();y();_();x();m();h()};return c});\n//# sourceMappingURL=RegistrationDelegator.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/fl/Utils\"],function(e,n){\"use strict\";var t=\"sap.ui.fl:PendingChange\";var d={};function i(n,t){return e.getControlIdBySelector(n,t)}function c(e){return{changeObject:e,dependencies:[],controlsDependencies:[],dependentIds:[]}}function s(e,n,t){r(t,n,e);o(t,n)}function o(e,n){if(!e.aChanges.includes(n)){e.aChanges.push(n)}}function r(e,n,t){e.mChanges[t]||=[];if(!e.mChanges[t].includes(n)){e.mChanges[t].push(n)}}function a(e,n,t){var d=e.getSelector();if(d){if(d.id){s(i(d,n),e,t)}else{o(t,e)}}return t.aChanges}function p(e,n){return e.some(function(e){return e.id===n.id&&e.idIsLocal===n.idIsLocal})}function u(e,n,t,d,c,s,o){var r=t.getDependentSelectorList();n.some(function(n){if(p(r,n)){var a=i(n,c);var u=d&&s.indexOf(e)<s.indexOf(t);if(u){l(t,e,a,o,true)}else{l(e,t,a,o)}return true}return false})}function f(e,n,t,d){if(e.isValidForDependencyMap()){var i=e.getDependentSelectorList();h(e,i,n,d);var c=t.indexOf(e);var s=c<t.length-1;var o=t.slice();o.splice(c,1);o.reverse().forEach(function(c){if(c.isValidForDependencyMap()){u(e,i,c,s,n,t,d)}})}}function h(e,n,t,d){if(n.length){var s=n.map(function(e){return i(e,t)});if(!d.mDependencies[e.getId()]){d.mDependencies[e.getId()]=c(e)}d.mDependencies[e.getId()].controlsDependencies=s;s.forEach(function(n){d.mControlsWithDependencies[n]||=[];d.mControlsWithDependencies[n].push(e.getId())})}}function l(e,n,t,d,i){if(g(e,n,t,d,i)){d.mDependencies[e.getId()].dependencies.push(n.getId());if(!d.mDependencies[e.getId()].dependentIds.includes(t)){d.mDependencies[e.getId()].dependentIds.push(t)}if(!d.mDependentChangesOnMe[n.getId()]){d.mDependentChangesOnMe[n.getId()]=[]}d.mDependentChangesOnMe[n.getId()].push(e.getId())}}function g(e,n,t,d,i){var c=!i&&d.mDependencies[e.getId()].dependentIds.includes(t);var s=false;if(d.mDependentChangesOnMe[n.getId()]){d.mDependentChangesOnMe[n.getId()].some(function(n){s=d.mDependencies[e.getId()].dependencies.includes(n);return s})}return!c&&!s}function m(e,n){const t=e.aChanges.findIndex(e=>e.getId()===n);if(t!==-1){e.aChanges.splice(t,1)}}function D(e,i){var c=[];var s=[];var o=[];if(e.dependencyRemovedInLastBatch[i]){e.dependencyRemovedInLastBatch[i].forEach(function(n){var d=e.mDependencies[n];if(d&&d.dependencies.length===0&&!(d.controlsDependencies&&d.controlsDependencies.length)){s.push(n);c.push(d.changeObject.getId());if(d[t]){o.push(function(){return d[t]()})}}})}return n.execPromiseQueueSequentially(o).then(function(n,t,i){delete e.dependencyRemovedInLastBatch[i];t.forEach(function(n){delete e.mDependencies[n]});n.forEach(function(n){d.resolveDependenciesForChange(e,n,i)});return!!n.length}.bind(undefined,c,s,i))}d.createEmptyDependencyMap=function(){return{aChanges:[],mChanges:{},mDependencies:{},mDependentChangesOnMe:{},mControlsWithDependencies:{},dependencyRemovedInLastBatch:{}}};d.addChangeAndUpdateDependencies=function(e,n,t){var d=a(e,n,t);f(e,n,d,t)};d.insertChange=function(e,n,t){var d=n&&n.aChanges&&n.aChanges.indexOf(t);if(d>-1){n.aChanges.splice(d+1,0,e)}};d.addRuntimeChangeToMap=function(e,n,t){a(e,n,t)};d.processDependentQueue=function(e,n,t){return D(e,t).then(function(t,i){if(i){return d.processDependentQueue(e,n,t)}return undefined}.bind(undefined,t))};d.addChangeApplyCallbackToDependency=function(e,n,d){e.mDependencies[n][t]=d};d.removeControlsDependencies=function(e,n){var t=e.mControlsWithDependencies[n];if(t){t.forEach(function(t){var d=e.mDependencies[t];if(d&&d.controlsDependencies&&d.controlsDependencies.length){var i=d.controlsDependencies.indexOf(n);if(i>-1){d.controlsDependencies.splice(i,1);delete e.mControlsWithDependencies[n];e.dependencyRemovedInLastBatch[n]||=[];if(!e.dependencyRemovedInLastBatch[n].includes(t)){e.dependencyRemovedInLastBatch[n].push(t)}}}});delete e.mControlsWithDependencies[n]}};d.resolveDependenciesForChange=function(e,n,t){var d=e.mDependentChangesOnMe[n];if(d){d.forEach(function(d){var i=e.mDependencies[d];var c=i?i.dependencies.indexOf(n):-1;if(c>-1){i.dependencies.splice(c,1);e.dependencyRemovedInLastBatch[t]||=[];if(!e.dependencyRemovedInLastBatch[t].includes(d)){e.dependencyRemovedInLastBatch[t].push(d)}}});delete e.mDependentChangesOnMe[n]}m(e,n)};d.removeChangeFromMap=function(e,n){Object.keys(e.mChanges).some(function(t){var d=e.mChanges[t];var i=d.map(function(e){return e.getId()}).indexOf(n);if(i!==-1){d.splice(i,1);return true}return false});m(e,n)};d.removeChangeFromDependencies=function(e,n,t){d.resolveDependenciesForChange(e,n,t);delete e.mDependencies[n]};d.getOpenDependentChangesForControl=function(n,t,d){var i=[];Object.keys(n.mDependencies).forEach(function(c){n.mDependencies[c].changeObject.getDependentSelectorList().forEach(function(s){if(e.getControlIdBySelector(s,d)===t){i.push(n.mDependencies[c].changeObject)}})});return i};return d});\n//# sourceMappingURL=DependencyHandler.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObject\"],function(e,t){\"use strict\";const n=t.extend(\"sap.ui.fl.apply._internal.flexObjects.VariantManagementChange\",{metadata:{properties:{selector:{type:\"object\",defaultValue:{}}}},constructor:function(...e){t.apply(this,e);this.setFileType(\"ctrl_variant_management_change\")}});n.getMappingInfo=function(){return{...t.getMappingInfo(),selector:\"selector\"}};n.prototype.getMappingInfo=function(){return n.getMappingInfo()};n.prototype.getIdForCondensing=function(t,n){return e.getControlIdBySelector(this.getSelector(),n)};n.prototype.canBeCondensed=function(){return true};return n});\n//# sourceMappingURL=VariantManagementChange.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/LayerUtils\",\"sap/ui/fl/changeHandler/condenser/Classification\",\"sap/ui/core/util/reflection/JsControlTreeModifier\"],function(e,t,n){\"use strict\";const a={};a.applyChange=async function(t,n,a){const i=a.modifier;const o=await i.getStashed(n);const r=await i.findIndexInParentAggregation(n);this.setChangeRevertData(t,o,r);if(e.isDeveloperLayer(t.getLayer())){return i.setStashed(n,true)}return i.setVisible(n,false)};a.revertChange=async function(t,n,a){const i=t.getRevertData();const o=a.modifier;if(e.isDeveloperLayer(t.getLayer())){const e=await o.setStashed(n,i.originalValue,a.appComponent);if(e){const t=await o.findIndexInParentAggregation(e);if(t!==i.originalIndex){const t=o.getParent(e);const n=await o.getParentAggregationName(e);await o.moveAggregation(t,n,t,n,e,i.originalIndex)}}}o.setVisible(n,!i.originalValue);t.resetRevertData()};a.completeChangeContent=function(){};a.setChangeRevertData=function(e,t,n){e.setRevertData({originalValue:t,originalIndex:n})};a.getCondenserInfo=function(e){return{affectedControl:e.getSelector(),classification:t.Reverse,uniqueKey:\"stashed\"}};a.getChangeVisualizationInfo=function(e,t){const a=e.getSelector();const i=n.bySelector(a,t);return{affectedControls:[a],displayControls:[i.getParent().getId()]}};return a});\n//# sourceMappingURL=StashControl.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/Utils\",\"sap/ui/fl/changeHandler/condenser/Classification\",\"sap/base/Log\",\"sap/base/util/isPlainObject\"],function(e,t,n,r){\"use strict\";var i={};function a(t){return e.isBinding(t)||r(t)}function o(e,t,n,r){try{if(a(n)){r.setPropertyBinding(e,t,n)}else{r.setProperty(e,t,n)}}catch(e){throw new Error(`Applying property changes failed: ${e}`)}}i.applyChange=function(e,t,n){var r=e.getContent();var i=r.property;var a=r.newValue;var s=n.modifier;return Promise.resolve().then(s.getPropertyBindingOrProperty.bind(s,t,i)).then(function(n){e.setRevertData({originalValue:n});o(t,i,a,s)})};i.revertChange=function(e,t,r){var i=e.getRevertData();if(i){var a=e.getContent();var s=a.property;var c=i.originalValue;var p=r.modifier;o(t,s,c,p);e.resetRevertData()}else{n.error(\"Attempt to revert an unapplied change.\")}};i.completeChangeContent=function(e,t){if(!t.content){throw new Error(\"oSpecificChangeInfo attribute required\")}e.setContent(t.content)};i.getCondenserInfo=function(e){return{affectedControl:e.getSelector(),classification:t.LastOneWins,uniqueKey:e.getContent().property}};return i},true);\n//# sourceMappingURL=PropertyChange.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/Utils\"],function(e){\"use strict\";function t(e,t){if(e&&e.requests&&Array.isArray(e.requests)){return e.requests.find(function(e){return e.name===\"sap.ui.fl.changes\"&&(!t||e.reference===t)})}}function r(e){var t=e.manifest;var r=e.componentData||{};if(r.startupParameters){if(Array.isArray(r.startupParameters[\"sap-app-id\"])){return r.startupParameters[\"sap-app-id\"][0]}}var a=t.getEntry?t.getEntry(\"sap.ui5\"):t[\"sap.ui5\"];if(a){if(a.appVariantId){return a.appVariantId}if(a.componentName){return a.componentName}}return n(t)}function n(e){if(e){var t=\"${pro\"+\"ject.art\"+\"ifactId}\";var r=e.getEntry?e.getEntry(\"sap.app\"):e[\"sap.app\"];var n=r&&r.id;if(n===t){if(e.getComponentName){return e.getComponentName()}if(e.name){return e.name}}return n}throw new Error(\"No Manifest received, descriptor changes are not possible\")}function a(e){if(e){var t=e.getEntry?e.getEntry(\"sap.app\"):e[\"sap.app\"];var r=t.applicationVersion?.version;return r}return undefined}var i={getAppIdFromManifest:n,getAppVersionFromManifest:a,getFlexReference:r,getFlexReferenceForControl(t){var n=e.getAppComponentForControl(t);return n&&r({manifest:n.getManifestObject(),componentData:n.getComponentData()})},getFlexReferenceForSelector(e){if(e.appId){return e.appId}return i.getFlexReferenceForControl(e.appComponent||e)},getOvpEntry(e){return e.getEntry?e.getEntry(\"sap.ovp\"):e[\"sap.ovp\"]},getCacheKeyFromAsyncHints(e,r){const n=t(r,e);if(n){return n.cachebusterToken||\"<NO CHANGES>\"}},getPreviewSectionFromAsyncHints(e){var r=t(e);if(r){return r.preview}},getChangeManifestFromAsyncHints(e,r){const n=r&&t(e,r);return!!(!n||n.cachebusterToken)},getBaseComponentNameFromManifest(e){var t=e.getEntry?e.getEntry(\"sap.ui5\"):e[\"sap.ui5\"];return t&&t.componentName||n(e)},isFlexExtensionPointHandlingEnabled(t){var r=e.getAppComponentForControl(t);return!!(r&&r.getManifestEntry(\"sap.ui5\")&&r.getManifestEntry(\"sap.ui5\").flexExtensionPointEnabled)}};return i});\n//# sourceMappingURL=ManifestUtils.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/Utils\"],function(e){\"use strict\";return async function(t,o,n){const r=n.modifier;let i=t.getContent().targetAggregation;const a=n.view||e.getViewForControl(o);const s=n.appComponent;const c=t.getRevertData()||[];for(const e of c){let t;if(typeof e===\"string\"){t=e}else{t=e.id;i||=e.aggregationName}const n=r.bySelector(t,s,a)||a?.createId&&r.bySelector(a.createId(t));if(n.destroy){n.destroy()}await r.removeAggregation(o,i,n)}t.resetRevertData()}});\n//# sourceMappingURL=revertAddedControls.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/DelegateMediator\"],function(e){\"use strict\";const t={registerReadDelegate(t){e.registerReadDelegate(t)},registerWriteDelegate(t){e.registerWriteDelegate(t)},getReadDelegateForControl(t){return e.getReadDelegateForControl(t.control,t.modifier,t.modelType,t.supportsDefault)},getWriteDelegateForControl(t){return e.getWriteDelegateForControl(t.control,t.modifier)}};return t});\n//# sourceMappingURL=DelegateMediatorAPI.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/appVariant/DescriptorChangeTypes\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObject\"],function(e,t){\"use strict\";var n=t.extend(\"sap.ui.fl.apply._internal.flexObjects.AppDescriptorChange\",{metadata:{properties:{appDescriptorChange:{type:\"boolean\",defaultValue:true}}}});n.getMappingInfo=function(){return{...t.getMappingInfo(),appDescriptorChange:\"appDescriptorChange\"}};n.prototype.getMappingInfo=function(){return n.getMappingInfo()};n.prototype.getIdForCondensing=function(){return`appDescriptor_${this.getFlexObjectMetadata().reference}`};n.prototype.canBeCondensed=function(){return e.getCondensableChangeTypes().includes(this.getChangeType())};n.prototype.getSelector=function(){return{}};n.prototype.isValidForDependencyMap=function(){return false};n.prototype.getVariantReference=function(){return undefined};return n});\n//# sourceMappingURL=AppDescriptorChange.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/changes/descriptor/Applier\",\"sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory\",\"sap/ui/fl/apply/_internal/flexState/FlexState\",\"sap/ui/fl/apply/_internal/flexState/ManifestUtils\",\"sap/ui/performance/Measurement\",\"sap/ui/fl/Utils\"],function(e,t,n,i,a,r){\"use strict\";var s={preprocessManifest(s,p){if(!r.isApplication(s,true)||!p.id){return Promise.resolve(s)}a.start(\"flexStateInitialize\",\"Initialization of flex state\",[\"sap.ui.fl\"]);const l=p.componentData||{};const o=i.getFlexReference({manifest:s,componentData:l});if(!i.getChangeManifestFromAsyncHints(p.asyncHints,o)){n.initialize({componentData:l,asyncHints:p.asyncHints,rawManifest:s,componentId:p.id,reference:o,skipLoadBundle:true}).then(a.end.bind(undefined,\"flexStateInitialize\"));return Promise.resolve(s)}return n.initialize({componentData:l,asyncHints:p.asyncHints,rawManifest:s,componentId:p.id,reference:o,skipLoadBundle:true}).then(function(){a.end(\"flexStateInitialize\");a.start(\"flexAppDescriptorMerger\",\"Client side app descriptor merger\",[\"sap.ui.fl\"]);const i={...s};const r=n.getAppDescriptorChanges(o);return e.applyChanges(i,r,t.getRuntimeStrategy())}).then(function(e){a.end(\"flexAppDescriptorMerger\");return e})}};return s});\n//# sourceMappingURL=Preprocessor.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/changes/descriptor/Applier\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory\"],function(e,t){\"use strict\";const n=\"$sap.ui.fl.changes\";function r(e){const r=e&&e.getEntry&&e.getEntry(n)&&e.getEntry(n).descriptor||[];return r.map(function(e){return t.createAppDescriptorChange(e)})}const s={applyChanges(t,s){const p=r(t);const a=t.getJson();delete a[n];return p.length?e.applyChanges(a,p,s):Promise.resolve()}};return s});\n//# sourceMappingURL=InlineApplier.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/changes/descriptor/ApplyStrategyFactory\",\"sap/ui/fl/apply/_internal/changes/FlexCustomData\",\"sap/ui/fl/apply/_internal/flexObjects/AnnotationChange\",\"sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange\",\"sap/ui/fl/apply/_internal/flexObjects/VariantChange\",\"sap/ui/fl/apply/_internal/flexObjects/VariantManagementChange\",\"sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState\",\"sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration\",\"sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage\",\"sap/ui/fl/Utils\"],function(e,t,n,a,r,i,l,o,c,s){\"use strict\";function f(e,t){if(t||e.hasApplyProcessStarted()){return false}return true}function g(e){return e.flexObject instanceof r||e.flexObject instanceof i}const p={getControlIfTemplateAffected(e,t,n){const a=n.modifier;const r={originalControl:t};const i=e.getOriginalSelector();if(e.getContent().boundAggregation&&i){r.control=a.bySelector(i,n.appComponent,n.view);r.controlType=a.getControlType(r.control);r.bTemplateAffected=true}else{r.control=t;r.controlType=a.getControlType(t);r.bTemplateAffected=false}return r},async getChangeHandler(t){const r=t.changeType||t.flexObject?.getChangeType();if(t.flexObject instanceof a||t.appDescriptorChange){const n=t.strategy||await e.getRuntimeStrategy();try{const e=await n.registry();return await(e[r]?.())}catch(e){n.handleError(e)}}else if(t.flexObject instanceof n||t.annotationChange){return c.getAnnotationChangeHandler({changeType:r})}else if(g(t)){return l.getChangeInformationProvider(t.flexObject)}else if(t.control){const e=await t.modifier.getLibraryName(t.control);await o.waitForChangeHandlerRegistration(e);const n=t.layer||t.flexObject?.getLayer();return c.getChangeHandler(r,t.controlType,t.control,t.modifier,n)}return undefined},checkIfDependencyIsStillValid(e,n,a,r){const i=s.getChangeFromChangesMap(a.mChanges,r);if(!i){return false}const l=n.bySelector(i.getSelector(),e);if(!l){return true}const o=t.hasChangeApplyFinishedCustomData(l,i,n);return f(i,o)},isChangeInView(e,t){const n=e.modifier;const a=e.appComponent;const r=t.getSelector();if(!r){return false}if(r.viewSelector){const t=n.getControlIdBySelector(r.viewSelector,a);return t===e.viewId}const i=r.id;if(i){let n;if(t.getSelector().idIsLocal){if(a){n=a.getLocalId(e.viewId)}}else{n=e.viewId}let r=0;let l;do{r=i.indexOf(\"--\",r);l=i.slice(0,r);r++}while(l!==n&&r>0);return l===n}return false}};return p});\n//# sourceMappingURL=Utils.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/controlVariants/Utils\",\"sap/ui/fl/apply/_internal/flexObjects/Variant\"],function(e,t){\"use strict\";var n=t.extend(\"sap.ui.fl.apply._internal.flexObjects.FlVariant\",{metadata:{properties:{variantReference:{type:\"string\"},variantManagementReference:{type:\"string\"}}},constructor:function(...n){let[i,a]=n;if(typeof i!==\"string\"&&i!==undefined){a=i;i=a&&a.id}a.fileType=\"ctrl_variant\";if(a.favorite===undefined){a.favorite=true}t.apply(this,n);if(!this.getName()&&a.content&&a.content.title){this.setName(a.content.title)}var r=this.getSupportInformation();if(this.getId()===this.getVariantManagementReference()){this.setStandardVariant(true);if(!r.user){r.user=e.DEFAULT_AUTHOR;this.setSupportInformation(r)}}}});n.getMappingInfo=function(){return{...t.getMappingInfo(),variantReference:\"variantReference\",variantManagementReference:\"variantManagementReference\"}};n.prototype.getMappingInfo=function(){return n.getMappingInfo()};n.prototype.cloneFileContentWithNewId=function(...e){var n=t.prototype.cloneFileContentWithNewId.apply(this,e);return n};return n});\n//# sourceMappingURL=FlVariant.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/extensionPoint/Registry\"],function(n){\"use strict\";var e={getExtensionPointInfo(e){return n.getExtensionPointInfo(e.name,e.view)},getExtensionPointInfoByViewId(e){return n.getExtensionPointInfoByViewId(e.viewId)},getExtensionPointInfoByParentId(e){return n.getExtensionPointInfoByParentId(e.parentId)},addCreatedControlsToExtensionPointInfo(e){n.addCreatedControls(e.name,e.viewId,e.createdControlsIds)}};return e});\n//# sourceMappingURL=ExtensionPointRegistryAPI.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/flexObjects/CompVariant\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/apply/_internal/flexState/compVariants/Utils\",\"sap/base/Log\"],function(e,t,a,n,i){\"use strict\";var r={addFavorite(e){e.setFavorite(true)},removeFavorite(e){e.setFavorite(false)},updateVariant(e,t){var a=t.getContent();if(a.executeOnSelection!==undefined){e.setExecuteOnSelection(a.executeOnSelection)}if(a.favorite!==undefined){e.setFavorite(a.favorite)}if(a.contexts){e.setContexts(a.contexts)}if(a.visible!==undefined){e.setVisible(a.visible)}if(a.variantContent){e.setContent(a.variantContent,true)}var n=t.getText(\"variantName\");if(n){e.setName(n,true)}},standardVariant(e,t){e.setExecuteOnSelection(t.getContent().executeOnSelect)}};function o(e){var t={};e.changes.forEach(function(e){var a=e.getSelector().variantId||e.getContent().key;t[a]||=[];t[a].push(e)});return t}function d(e,t){i.error(`No change handler for change with the ID '${t.getId()}' and type '${t.getChangeType()}' defined.\\n\\t\\t\\tThe variant '${e.getId()}'was not modified'`)}function s(a,n,i){var r={fileName:n.fileName,variantId:n.id||e.STANDARD_VARIANT_ID,persisted:n.persisted,content:n.content||{},texts:{variantName:{value:n.name||\"\"}},selector:{persistencyKey:a}};if(n.favorite!==undefined){r.favorite=n.favorite}if(n.executeOnSelection!==undefined){r.executeOnSelection=n.executeOnSelection}if(n.adaptationId!==undefined){r.adaptationId=n.adaptationId}return t.createCompVariant(r,i)}function f(e,t){var a=r[t.getChangeType()]||d;a(e,t);e.addChange(t)}function c(e,t){var a=t.getVariantId();if(e[a]){e[a].forEach(function(e){f(t,e)})}}return{merge(e,t,i){var r=t.nonPersistedVariants.concat(t.variants);var d=o(t);var f;r.forEach(function(e){if(e.getContent()&&e.getContent().standardvariant){f=e}});if(!f){f=s(e,i)}else{r=r.filter(function(e){return!e.getContent()||!e.getContent().standardvariant})}t.nonPersistedVariants.concat([f]).forEach(e=>{e.setState(a.LifecycleState.PERSISTED)});r.forEach(c.bind(undefined,d));r=r.filter(function(e){var a=e.getVisible();if(!a){var n=e.getId();delete d[n];delete t.byId[n]}return a});f.setFavorite(true);f.setStandardVariant(true);t.byId[f.getVariantId()]=f;var u=t.standardVariantChange;if(u){d[f.getVariantId()]=d[f.getVariantId()]||[];d[f.getVariantId()].push(u);d[f.getVariantId()].sort(function(e,t){if(e.getCreation()<t.getCreation()){return-1}if(e.getCreation()>t.getCreation()){return 1}return 0})}c(d,f);t.standardVariant=f;const l=n.getDefaultVariantId(t);r.some(e=>{if(!e.getFavorite()&&e.getId()===l){e.setFavorite(true)}});return{standardVariant:f,variants:r}},createVariant(e,t,a){return s(e,t,a)},applyChangeOnVariant:f}});\n//# sourceMappingURL=CompVariantMerger.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/flexObjects/FlexObjectFactory\",\"sap/ui/fl/apply/_internal/flexObjects/States\",\"sap/ui/fl/apply/_internal/flexObjects/UpdatableChange\",\"sap/ui/fl/apply/_internal/flexState/compVariants/CompVariantMerger\"],function(e,t,n,a){\"use strict\";function s(e,t){e[t]||={byId:{},variants:[],nonPersistedVariants:[],changes:[],defaultVariants:[],standardVariantChange:undefined,standardVariant:undefined};return e[t]}function r(e,t,n,r,i){r||=[];const c=s(e,n);c.controlId=i;c.nonPersistedVariants.forEach(function(e){delete c.byId[e.getId()]});c.nonPersistedVariants=r.map(function(e){const s=a.createVariant(n,{id:e.id,persisted:false,...e},t);c.byId[e.id]=s;return s});return c}function i(a,r,i,c){const o=a[r].map(function(a){const s=r===\"variants\"?e.createCompVariant(a,c):e.createFromFileContent(a,n);s.setState(t.LifecycleState.PERSISTED);return s});o.forEach(function(e){const t=e.getPersistencyKey?e.getPersistencyKey():e.getSelector().persistencyKey;s(i,t).byId[e.getId()]=e;switch(r){case\"standardVariants\":s(i,t).standardVariantChange=e;break;default:s(i,t)[r].push(e)}})}return function(e){const t={};t._getOrCreate=s.bind(undefined,t);t._initialize=r.bind(undefined,t,e.storageResponse.authors);if(e.storageResponse.changes.comp){[\"variants\",\"changes\",\"defaultVariants\",\"standardVariants\"].forEach(function(n){i(e.storageResponse.changes.comp,n,t,e.storageResponse.authors)})}return t}});\n//# sourceMappingURL=prepareCompVariantsMap.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/flexObjects/FlexObject\"],function(e){\"use strict\";var t=e.extend(\"sap.ui.fl.apply._internal.flexObjects.ControllerExtensionChange\",{metadata:{properties:{controllerName:{type:\"string\"}}}});t.getMappingInfo=function(){return{...e.getMappingInfo(),controllerName:\"selector.controllerName\"}};t.prototype.getMappingInfo=function(){return t.getMappingInfo()};t.prototype.getSelector=function(){return{controllerName:this.getControllerName()}};t.prototype.getVariantReference=function(){return undefined};t.prototype.isValidForDependencyMap=function(){return false};t.prototype.setInitialApplyState=function(){};t.prototype.getModuleName=function(){return this.getFlexObjectMetadata().moduleName};return t});\n//# sourceMappingURL=ControllerExtensionChange.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/flexObjects/FlexObject\"],function(t){\"use strict\";const n=t.extend(\"sap.ui.fl.apply._internal.flexObjects.VariantChange\",{metadata:{properties:{variantId:{type:\"string\"}}},constructor:function(...n){t.apply(this,n);this.setFileType(\"ctrl_variant_change\")}});n.getMappingInfo=function(){return{...t.getMappingInfo(),variantId:\"selector.id\"}};n.prototype.getMappingInfo=function(){return n.getMappingInfo()};n.prototype.getIdForCondensing=function(){return this.getVariantId()};n.prototype.canBeCondensed=function(){return true};return n});\n//# sourceMappingURL=VariantChange.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/flexObjects/FlexObject\"],function(t){\"use strict\";var e=t.extend(\"sap.ui.fl.apply._internal.flexObjects.AnnotationChange\",{metadata:{properties:{serviceUrl:{type:\"string\",defaultValue:\"\"}}},constructor:function(...e){t.apply(this,e);this.setFileType(\"annotation_change\")}});e.getMappingInfo=function(){return{...t.getMappingInfo(),serviceUrl:\"selector.serviceUrl\"}};e.prototype.getMappingInfo=function(){return e.getMappingInfo()};e.prototype.getValue=function(){return this.getText(\"annotationText\")?this.getText(\"annotationText\"):this.getContent().value};e.prototype.getIdForCondensing=function(){return this.getServiceUrl()};e.prototype.canBeCondensed=function(){return true};return e});\n//# sourceMappingURL=AnnotationChange.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/flexObjects/UIChange\"],function(e){\"use strict\";var t=e.extend(\"sap.ui.fl.apply._internal.flexObjects.UpdatableChange\",{metadata:{aggregations:{revertInfo:{type:\"sap.ui.base.ManagedObject\",multiple:true,singularName:\"revertInfo\"}}}});t.getMappingInfo=function(){return{...e.getMappingInfo()}};t.prototype.popLatestRevertInfo=function(){var e=this.getRevertInfo().pop();this.removeRevertInfo(e);return e};t.prototype.canBeCondensed=function(){return false};return t});\n//# sourceMappingURL=UpdatableChange.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/flexObjects/getVariantAuthor\",\"sap/ui/fl/apply/_internal/flexObjects/FlexObject\"],function(t,e){\"use strict\";var n=e.extend(\"sap.ui.fl.apply._internal.flexObjects.Variant\",{metadata:{properties:{favorite:{type:\"boolean\",defaultValue:false},visible:{type:\"boolean\",defaultValue:true},executeOnSelection:{type:\"boolean\",defaultValue:false},standardVariant:{type:\"boolean\",defaultValue:false},contexts:{type:\"object\",defaultValue:{}},variantId:{type:\"string\"},author:{type:\"string\"}}},constructor:function(...n){e.apply(this,n);if(!this.getVariantId()){this.setVariantId(this.getId())}if(!this.getAuthor()){this.setAuthor(t(this.getSupportInformation().user,this.getLayer(),{}))}}});n.getMappingInfo=function(){return{...e.getMappingInfo(),favorite:\"favorite\",executeOnSelection:\"executeOnSelection\",contexts:\"contexts\"}};n.prototype.getMappingInfo=function(){return n.getMappingInfo()};n.prototype.getName=function(){return this.getText(\"variantName\")};n.prototype.setName=function(t,e){this.setText(\"variantName\",t,\"XFLD\",e)};n.prototype.hasContexts=function(){var t=this.getContexts();var e=Object.keys(t);return e.some(function(e){return t[e].length>0})};n.prototype.canBeCondensed=function(){return false};return n});\n//# sourceMappingURL=Variant.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/_internal/flexState/changes/DependencyHandler\",\"sap/ui/fl/apply/_internal/flexState/DataSelector\",\"sap/ui/fl/apply/_internal/flexState/FlexState\"],(e,t,n)=>{\"use strict\";const a=\"sap.ui.fl.apply._internal.flexObjects.UIChange\";const c={};const r=new t({id:\"allUIChanges\",parentDataSelector:n.getFlexObjectsDataSelector(),executeFunction(e){return e.filter(e=>e.isA(a))},checkInvalidation(e,t){const n=[\"addFlexObject\",\"removeFlexObject\"].includes(t.type);return n&&t.updatedObject?.isA(a)}});const l=new t({id:\"vmIndependentUIChanges\",parentDataSelector:r,executeFunction(e){return e.filter(e=>!e.getVariantReference()&&!e.getSelector().persistencyKey&&e.getFileType()!==\"ctrl_variant_management_change\"&&e.getFileType()!==\"ctrl_variant_change\")},checkInvalidation(e,t){const n=[\"addFlexObject\",\"removeFlexObject\"].includes(t.type);return n&&t.updatedObject?.isA(a)&&!t.updatedObject.getVariantReference()&&!t.updatedObject.getSelector().persistencyKey&&t.updatedObject.getFileType()!==\"ctrl_variant_management_change\"&&t.updatedObject.getFileType()!==\"ctrl_variant_change\"}});const p=new t({id:\"vmIndependentCompleteDependencyMap\",parentDataSelector:l,executeFunction(t,a){const c=e.createEmptyDependencyMap();const r=n.getComponentIdForReference(a.reference);t.forEach(t=>{e.addChangeAndUpdateDependencies(t,r,c)});return c}});c.getVMIndependentCompleteDependencyMap=function(e){return p.get({reference:e})};c.getVariantIndependentUIChanges=function(e){return l.get({reference:e})};c.getAllUIChanges=function(e){return r.get({reference:e})};return c});\n//# sourceMappingURL=UIChangesState.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/apply/api/ExtensionPointRegistryAPI\",\"sap/ui/fl/changeHandler/BaseAddXml\"],function(e,n){\"use strict\";const t={};function i(e){let n=e.index;if(e.referencedExtensionPoint){n+=i(e.referencedExtensionPoint)}return n}t.applyChange=async function(t,o,a){const r=a.view;const s=a.modifier;const d=a.viewId||s.getId(r);const f=t.getSelector();const c=t.getExtensionPointInfo&&t.getExtensionPointInfo()||await s.getExtensionPointInfo(f.name,r);if(!c){throw new Error(`AddXMLAtExtensionPoint-Error: Either no Extension-Point found by name '${f&&f.name}' or multiple Extension-Points available with the given name in the view (view.id='${d}'). Multiple Extension-points with the same name in one view are not supported!`)}(c.defaultContent||[]).forEach(function(e){if(e){s.destroy(e)}});c.defaultContent=[];c.index=i(c);if(s.targets===\"xmlTree\"){c.skipAdjustIndex=true}const l=await n.applyChange(t,o,a,c);if(c.ready){c.ready(l)}e.addCreatedControlsToExtensionPointInfo({name:f.name,viewId:d,createdControlsIds:l.map(e=>s.getId(e))})};t.revertChange=n.revertChange;t.completeChangeContent=function(e,t){n.completeChangeContent(e,t)};return t});\n//# sourceMappingURL=AddXMLAtExtensionPoint.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/changeHandler/BaseAddXml\"],function(e){\"use strict\";var t={};t.applyChange=function(t,n,r){var g=t.getContent();var a={aggregationName:g.targetAggregation,index:g.index};return e.applyChange(t,n,r,a)};t.revertChange=e.revertChange;t.completeChangeContent=function(t,n){const r=n.content||n;const g={};if(!r.targetAggregation){e._throwMissingAttributeError(\"targetAggregation\")}else{g.targetAggregation=r.targetAggregation}if(r.index===undefined){e._throwMissingAttributeError(\"index\")}else{g.index=r.index}e.completeChangeContent(t,n,g)};return t});\n//# sourceMappingURL=AddXML.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/changeHandler/Base\",\"sap/base/util/LoaderExtensions\",\"sap/ui/fl/changeHandler/common/revertAddedControls\"],function(t,e,n){\"use strict\";const a={};a.applyChange=async function(n,o,r,i){const s=r.modifier;const g=i.aggregationName;const c=n.getFlexObjectMetadata().moduleName;const f=await s.findAggregation(o,g);if(!f){throw Error(`The given Aggregation is not available in the given control: ${s.getId(o)}`)}const d=await e.loadResource(c,{dataType:\"text\"});const h=await t.instantiateFragment(n,r);let l=0;for(const t of h){const e=await s.validateType(t,f,o,d,l);l++;if(!e){a._destroyArrayOfControls(h);throw Error(`The content of the xml fragment does not match the type of the targetAggregation: ${f.type}`)}}const m=[];let u=0;for(const t of h){await s.insertAggregation(o,g,t,i.index+u,r.view,i.skipAdjustIndex);u++;m.push({id:s.getId(t),aggregationName:g})}n.setRevertData(m);return h};a.revertChange=n;a._throwMissingAttributeError=function(t){throw new Error(`Attribute missing from the change specific content '${t}'`)};a._destroyArrayOfControls=function(t){t.forEach(function(t){if(t.destroy){t.destroy()}})};a.completeChangeContent=function(t,e,n){n||={};const o=e.content||e;if(!o.fragmentPath){a._throwMissingAttributeError(\"fragmentPath\")}n.fragmentPath??=o.fragmentPath;t.setContent(n);let r=t.getFlexObjectMetadata().reference.replace(/\\.Component/g,\"\").replace(/\\./g,\"/\");r+=\"/changes/\";r+=n.fragmentPath;const i=t.getFlexObjectMetadata();i.moduleName=r;t.setFlexObjectMetadata(i)};return a});\n//# sourceMappingURL=BaseAddXml.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/changeHandler/UpdateIFrame\"],function(e){\"use strict\";return{updateIFrame:e,hideControl:\"default\",unhideControl:\"default\"}});\n//# sourceMappingURL=IFrame.flexibility.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/changeHandler/condenser/Classification\",\"sap/ui/fl/changeHandler/Base\",\"sap/ui/fl/requireAsync\",\"sap/base/util/merge\",\"sap/base/util/ObjectPath\"],function(e,t,n,o,r){\"use strict\";function a(e){return typeof e===\"function\"}const i={createAddViaDelegateChangeHandler(i){function c(e){return e+i.fieldSuffix}function l(e,t){if(a(i[t])){return!!i[t](e)}return!!i[t]}function d(e){return l(e,\"skipCreateLabel\")}function s(e){return l(e,\"skipCreateLayout\")}async function f(e,t){const o=t.modifier.bySelector(e.getSelector(),t.appComponent);const r=await n(\"sap/ui/fl/apply/api/DelegateMediatorAPI\");const i=await r.getWriteDelegateForControl({control:o,modifier:t.modifier});const c=!a(i.instance.createLayout);return c||s(e.getSupportInformation().oDataInformation)}async function g(e,t,n){const r=o({},t);r.fieldSelector.id=c(r.fieldSelector.id);const a=await n.createControlForProperty(r);if(d(e)){return a}const i=t.modifier.getId(a.control);t.labelFor=i;const l=await n.createLabel(t);return{label:l,control:a.control,valueHelp:a.valueHelp}}async function p(e,t,n,c){if(!t){return undefined}const l=o({aggregationName:i.aggregationName,payload:t.payload||{},parentSelector:e.parentId},n);const d=t.instance;let f;if(a(d.createLayout)&&!s(c)){f=await d.createLayout(l)}if(r.get(\"control\",f)){f.layoutControl=true;return f}return g(c,l,d)}return{async applyChange(e,r,a){const c=a.appComponent;const l=e.getContent();const d=e.getSupportInformation().oDataInformation;const s=l.newFieldSelector;const f={appComponent:a.appComponent,view:a.view,fieldSelector:s,bindingPath:l.bindingPath,modifier:a.modifier,element:r};if(a.modifier.bySelector(s,c,a.view)){await t.markAsNotApplicable(`Control to be created already exists:${s.id||s}`,true);return}const g={newFieldSelector:s};e.setRevertData(g);const u=await n(\"sap/ui/fl/apply/api/DelegateMediatorAPI\");const C=await u.getWriteDelegateForControl({control:r,modifier:a.modifier});if(!C){t.markAsNotApplicable(`No delegate found for control ${a.modifier.getId(r)}`,false)}const m=await p(l,C,f,d);const w=o({},{control:r,innerControls:m,change:e},a);await i.addProperty(w);if(m.valueHelp){const t=a.modifier.getSelector(a.modifier.getId(m.valueHelp),c);const n=e.getRevertData();n.valueHelpSelector=t;e.setRevertData(n)}if(m.layoutControl){const t=e.getRevertData();t.newFieldSelector=a.modifier.getSelector(a.modifier.getId(m.control),c);e.setRevertData(t)}},async revertChange(e,t,n){const r=n.appComponent;const c=n.modifier;const l=e.getRevertData().newFieldSelector;const d=e.getRevertData().valueHelpSelector;const s=c.bySelector(l,r);const f=e.getDependentControl(i.parentAlias,n)||t;await c.removeAggregation(f,i.aggregationName,s);await c.destroy(s);if(d){const e=c.bySelector(d,r);await c.removeAggregation(f,\"dependents\",e);await c.destroy(e)}const g=o({},{control:t,change:e},n);if(a(i.revertAdditionalControls)){await i.revertAdditionalControls(g);e.resetRevertData()}},completeChangeContent(e,t,n){const o=n.appComponent;const r=t.content||t;const c={};if(r.parentId){if(a(i.mapParentIdIntoChange)){i.mapParentIdIntoChange(e,r,n)}else{e.addDependentControl(r.parentId,i.parentAlias,n)}try{c.parentId=n.modifier.getSelector(r.parentId,o)}catch(e){}}else{throw new Error(\"mSpecificChangeInfo.content.parentId attribute required\")}if(r.bindingPath){c.bindingPath=r.bindingPath}else{throw new Error(\"mSpecificChangeInfo.content.bindingPath attribute required\")}if(r.newControlId){c.newFieldSelector=n.modifier.getSelector(r.newControlId,o)}else{throw new Error(\"mSpecificChangeInfo.content.newControlId attribute required\")}if(r.index===undefined){throw new Error(\"mSpecificChangeInfo.content.targetIndex attribute required\")}else{c.newFieldIndex=r.index}if(r.oDataServiceVersion){c.oDataServiceVersion=r.oDataServiceVersion}e.setContent(c)},getChangeVisualizationInfo(e){const t=e.getRevertData();if(t&&t.labelSelector){return{affectedControls:[t.labelSelector]}}return{affectedControls:[e.getContent().newFieldSelector]}},async getCondenserInfo(t,n){const o=await f(t,n);if(!o){return undefined}if(!t.getContent().newFieldSelector||!t.getContent().parentId||!i.aggregationName){return undefined}return{affectedControl:t.getContent().newFieldSelector,classification:e.Create,targetContainer:t.getContent().parentId,targetAggregation:i.aggregationName,setTargetIndex(e,t){const n=e.getContent();n.newFieldIndex=t;e.setContent(n)},getTargetIndex(e){return e.getContent().newFieldIndex}}}}}};return i});\n//# sourceMappingURL=BaseAddViaDelegate.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/changeHandler/condenser/Classification\"],function(e){\"use strict\";const t={createRenameChangeHandler(t){t.changePropertyName||=\"newText\";return{async applyChange(e,r,n){const o=n.modifier;const a=t.propertyName;const i=e.getText(t.changePropertyName);if(i){const t=await o.getPropertyBindingOrProperty(r,a);e.setRevertData(t);await o.setPropertyBindingOrProperty(r,a,i)}},revertChange(e,r,n){const o=n.modifier;const a=t.propertyName;const i=e.getRevertData();if(i||i===\"\"){o.setPropertyBindingOrProperty(r,a,i);e.resetRevertData();return}throw new Error(\"Change without sufficient information to be reverted. It probably didn't go through applyChange.\")},async completeChangeContent(e,r,n){const o=t.changePropertyName;const a=t.translationTextType;const i=await n.modifier.bySelector(e.getSelector(),n.appComponent);e.setContent({originalControlType:n.modifier.getControlType(i)});const s=r.content||r;if(typeof s.value===\"string\"){e.setText(o,s.value,a)}else{throw new Error(\"oSpecificChangeInfo.value attribute required\")}},getCondenserInfo(r){return{affectedControl:r.getSelector(),classification:e.LastOneWins,uniqueKey:t.propertyName||t.changePropertyName}},getChangeVisualizationInfo(e){const r=e.getTexts()&&e.getTexts()[t.changePropertyName];return{descriptionPayload:{originalLabel:e.getRevertData(),newLabel:r&&r.value}}}}}};return t});\n//# sourceMappingURL=BaseRename.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/changeHandler/condenser/Classification\"],function(e){\"use strict\";const t={};t.applyChange=async function(e,t,n){const a=e.getContent();const o=n.modifier;const i=await o.getStashed(t);e.setRevertData({originalValue:i});const s=await o.setStashed(t,false,n.appComponent)||t;if(a.parentAggregationName){const e=a.parentAggregationName;const t=o.getParent(s);await o.moveAggregation(t,e,t,e,s,a.index,n.view)}return s};t.revertChange=async function(e,t,n){const a=e.getRevertData();await n.modifier.setStashed(t,a.originalValue);e.resetRevertData()};t.completeChangeContent=function(e,t){if(t.content){e.setContent(t.content)}};t.getCondenserInfo=function(t){return{affectedControl:t.getSelector(),classification:e.Reverse,uniqueKey:\"stashed\"}};return t});\n//# sourceMappingURL=UnstashControl.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/changeHandler/condenser/Classification\"],function(e){\"use strict\";var t={};var n=\"actions\";t.applyChange=function(e,t,r){var a=r.modifier;var o=r.view;var g=r.appComponent;var i=e.getContent().movedElements[0];var s=i.targetIndex;var v;var d=i.sourceIndex;return Promise.resolve().then(a.bySelector.bind(a,i.selector,g,o)).then(function(e){v=e;return a.getAggregation(t,n)}).then(function(r){var i;r.some(function(e,r){if(a.getId(e)===a.getId(v)){i=Promise.resolve().then(a.removeAggregation.bind(a,t,n,e)).then(a.insertAggregation.bind(a,t,\"dependents\",e,undefined,o));return true}return false});return i.then(function(){e.setRevertData({index:d,sourceParent:a.getSelector(t,g),aggregation:n});return a.insertAggregation(t,n,v,s,o)})})};t.revertChange=function(e,t,r){var a=r.modifier;var o=r.view;var g=r.appComponent;var i=e.getContent().movedElements[0];var s=e.getRevertData();var v;var d;var c;v=a.bySelector(i.selector,g,o);d=s?s.index:i.targetIndex;c=i.sourceIndex;return Promise.resolve().then(a.removeAggregation.bind(a,t,n,v,d,o)).then(a.insertAggregation.bind(a,t,n,v,c,o))};t.completeChangeContent=function(e,t,n){var r=n.modifier,a=n.appComponent;var o={movedElements:[],targetAggregation:t.target.aggregation,targetContainer:t.selector};t.movedElements.forEach(function(e){var t=e.element||r.bySelector(e.id,a);o.movedElements.push({selector:r.getSelector(t,a),sourceIndex:e.sourceIndex,targetIndex:e.targetIndex})});e.setContent(o)};t.getCondenserInfo=function(t){var n=t.getContent();var r=t.getRevertData();var a=n.targetAggregation&&n.targetContainer;if(a){return{affectedControl:n.movedElements[0].selector,classification:e.Move,sourceContainer:r.sourceParent,targetContainer:n.targetContainer,sourceIndex:r.index,sourceAggregation:r.aggregation,targetAggregation:n.targetAggregation,setTargetIndex:function(e,t){e.getContent().movedElements[0].targetIndex=t},getTargetIndex:function(e){return e.getContent().movedElements[0].targetIndex},setIndexInRevertData:function(e,t){var n=e.getRevertData();n.index=t;e.setRevertData(n)}}}};return t},true);\n//# sourceMappingURL=MoveDynamicPageTitleActions.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/changeHandler/condenser/Classification\"],function(t){\"use strict\";const n={};n.applyChange=function(t){const n=t.getContent();const e={path:n.annotationPath};const o=t.getText(\"annotationText\")||n.value;const a=n.objectTemplateInfo;if(a){e.value=JSON.parse(a.templateAsString.replace(a.placeholder,o))}else{e.value=o}return e};n.revertChange=function(){};n.completeChangeContent=function(t,n){const e={annotationPath:n.content.annotationPath};if(n.content.objectTemplateInfo){e.objectTemplateInfo=n.content.objectTemplateInfo}if(n.content.text){t.setText(\"annotationText\",n.content.text,n.content.textType)}else{e.value=n.content.value}t.setContent(e)};n.getCondenserInfo=function(n,e){return{affectedControl:e.appComponent,classification:t.LastOneWins,uniqueKey:`${n.getContent().annotationPath}_${n.getChangeType()}`}};return n});\n//# sourceMappingURL=ChangeAnnotation.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/initial/_internal/FlexInfoSession\",\"sap/ui/fl/initial/_internal/Settings\"],function(e,n){\"use strict\";var i={};i.isKeyUser=async function(){const e=await n.getInstance();return e.getIsKeyUser()};i.getFlexVersion=function(n){return e.getByReference(n.reference)?.version};return i});\n//# sourceMappingURL=InitialFlexAPI.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/initial/_internal/StorageUtils\",\"sap/base/util/merge\",\"sap/base/util/isEmptyObject\"],function(a,e,n){\"use strict\";function t(a,e){if(e.content.fileName!==e.content.variantManagementReference){a.push(e.content)}e.controlChanges.forEach(function(e){a.push(e)});for(var n in e.variantChanges){a=a.concat(e.variantChanges[n])}return a}function r(a){var e=true;if(a){Object.keys(a).some(function(n){if(a[n].length){e=false;return true}})}return e}return function(i){var s;if(!n(i.variantSection)){s=i.changes||[];for(var c in i.variantSection){var o=i.variantSection[c];for(var u in o.variantManagementChanges){s=s.concat(o.variantManagementChanges[u])}s=o.variants.reduce(t,s)}var f=a.getGroupedFlexObjects(s);var v=a.filterAndSortResponses(f);delete i.changes;delete i.variantSection;e(v[0]||{},i);return v}if(r(i.comp)){s=i.changes||[];i.comp={variants:[],changes:[],defaultVariants:[],standardVariants:[]};s.slice().reverse().forEach(function(a,e,n){var t=false;if(a.fileType===\"variant\"){i.comp.variants.unshift(a);t=true}else{switch(a.changeType){case\"addFavorite\":case\"removeFavorite\":case\"updateVariant\":i.comp.changes.unshift(a);t=true;break;case\"defaultVariant\":i.comp.defaultVariants.unshift(a);t=true;break;case\"standardVariant\":i.comp.standardVariants.unshift(a);t=true;break;default:break}}if(t){var r=n.length-1-e;i.changes.splice(r,1)}})}return[i]}});\n//# sourceMappingURL=storageResultDisassemble.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/fl/requireAsync\",\"sap/base/Log\"],function(r,e){\"use strict\";function t(r,e){const n=Array.isArray(r)?[...r]:{...r};Object.entries(n).forEach(([r,s])=>{if(typeof s===\"object\"&&s!==null){n[r]=t(s,e)}else if(typeof s===\"string\"){n[r]=s.replaceAll(/{{.*?}}/g,r=>{const t=r.slice(2,-2);const n=e[t];return n||r})}});return n}var n={registry(){return r(\"sap/ui/fl/apply/_internal/changes/descriptor/Registration\")},handleError(r){e.error(r)},processTexts(r,n){const s={};Object.entries(n).forEach(([r,{value:t}])=>{if(t[\"\"]){s[r]=t[\"\"];return}e.error(\"Text change has to contain default language\")});return t(r,s)}};var s={getRuntimeStrategy(){return n}};return s});\n//# sourceMappingURL=ApplyStrategyFactory.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/model/Context\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/m/VariantItem\",\"sap/m/VariantManagement\",\"sap/ui/fl/apply/api/ControlVariantApplyAPI\",\"sap/ui/fl/initial/_internal/Settings\",\"sap/ui/core/Control\",\"sap/ui/core/Lib\",\"sap/ui/core/library\",\"sap/base/Log\"],function(t,e,a,n,i,o,r,s,l,h,p){\"use strict\";var{TitleLevel:c}=h;var d=s.extend(\"sap.ui.fl.variants.VariantManagement\",{metadata:{interfaces:[\"sap.ui.core.IShrinkable\",\"sap.m.IOverflowToolbarContent\",\"sap.m.IToolbarInteractiveControl\"],library:\"sap.ui.fl\",designtime:\"sap/ui/fl/designtime/variants/VariantManagement.designtime\",properties:{updateVariantInURL:{type:\"boolean\",group:\"Misc\",defaultValue:false},resetOnContextChange:{type:\"boolean\",group:\"Misc\",defaultValue:true},modelName:{type:\"string\",group:\"Misc\",defaultValue:\"\"},editable:{type:\"boolean\",group:\"Misc\",defaultValue:true},showSetAsDefault:{type:\"boolean\",group:\"Misc\",defaultValue:true},inErrorState:{type:\"boolean\",group:\"Misc\",defaultValue:false},executeOnSelectionForStandardDefault:{type:\"boolean\",group:\"Misc\",defaultValue:false},displayTextForExecuteOnSelectionForStandardVariant:{type:\"string\",group:\"Misc\",defaultValue:\"\"},headerLevel:{type:\"sap.ui.core.TitleLevel\",group:\"Appearance\",defaultValue:c.Auto},titleStyle:{type:\"sap.ui.core.TitleLevel\",group:\"Appearance\",defaultValue:c.Auto},maxWidth:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:\"100%\"}},events:{initialized:{},save:{parameters:{name:{type:\"string\"},overwrite:{type:\"boolean\"},key:{type:\"string\"},execute:{type:\"boolean\"},public:{type:\"boolean\"},def:{type:\"boolean\"},contexts:{type:\"object[]\"},tile:{type:\"boolean\"}}},cancel:{},manage:{parameters:{renamed:{type:\"object[]\"},deleted:{type:\"string[]\"},exe:{type:\"object[]\"},fav:{type:\"object[]\"},def:{type:\"string\"},contexts:{type:\"object[]\"}}},select:{parameters:{key:{type:\"string\"}}}},associations:{for:{type:\"sap.ui.core.Control\",multiple:true}},aggregations:{_embeddedVM:{type:\"sap.m.VariantManagement\",multiple:false,visibility:\"hidden\"}}},renderer:{apiVersion:2,render(t,e){t.openStart(\"div\",e);t.style(\"max-width\",e.getMaxWidth());t.openEnd();t.renderControl(e._oVM);t.close(\"div\")}}});d.prototype.init=function(){s.prototype.init.apply(this);this.addStyleClass(\"sapUiFlVarMngmt\");this._oRb=l.getResourceBundleFor(\"sap.ui.fl\");this.setModelName(o.getVariantModelName());this.attachModelContextChange(this._setModel,this);this._oVM=new i(`${this.getId()}-vm`);this.setAggregation(\"_embeddedVM\",this._oVM,true);this._aCancelEventHandlers=[];this._aSaveEventHandlers=[];this._aManageEventHandlers=[];this._aSelectEventHandlers=[];this._oVM.attachManage(this._fireManage,this);this._oVM.attachCancel(this._fireCancel,this);this._oVM.attachSave(this._fireSave,this);this._oVM.attachSelect(this._fireSelect,this);this._updateWithSettingsInfo()};d.prototype.getOverflowToolbarConfig=function(){return{canOverflow:false,invalidationEvents:[\"save\",\"manage\",\"select\"]}};d.prototype.attachCancel=function(t,e,a){this.attachEvent(\"cancel\",t,e,a);return this};d.prototype._findCallback=function(t,e,a){var n=-1;t.some(function(t,i){if(t.fCallback===e&&t.oObj===a){n=i}return n>=0});return n};d.prototype.detachCancel=function(t,e){var a=this._findCallback(this._aCancelEventHandlers,t,e);if(a>=0){this.detachEvent(\"cancel\",t,e);this._aCancelEventHandlers.splice(a,1)}return this};d.prototype.fireManage=function(t){this._oVM.fireManage(t)};d.prototype.fireSave=function(t){this._oVM.fireSave(t)};d.prototype._fireCancel=function(t){for(var e=0;e<this._aCancelEventHandlers.length;e++){t.oSource=this;this._aCancelEventHandlers[e].fCallbackBound(t,this._aCancelEventHandlers[e].mProps)}};d.prototype.attachSave=function(t,e,a){this.attachEvent(\"save\",t,e,a);return this};d.prototype.detachSave=function(t,e){var a=this._findCallback(this._aSaveEventHandlers,t,e);if(a>-1){this.detachEvent(\"save\",t,e);this._aSaveEventHandlers.splice(a,1)}return this};d.prototype._fireSave=function(t){this._handleAllListeners(t,this._aSaveEventHandlers)};d.prototype.hasListeners=function(...t){const[e]=t;const a=[\"save\",\"select\",\"cancel\",\"manage\"];if(a.indexOf(e)>-1){var n=null;if(e===\"select\"){n=this._aSelectEventHandlers}else if(e===\"save\"){n=this._aSaveEventHandlers}else if(e===\"manage\"){n=this._aManageEventHandlers}else if(e===\"cancel\"){n=this._aCancelEventHandlers}return n.length>0}return s.prototype.hasListeners.apply(this,t)};d.prototype.attachEvent=function(...t){const[e,,a]=t;let[,n,,i]=t;const o=[\"save\",\"select\",\"cancel\",\"manage\"];if(o.indexOf(e)>-1){var r=null;var l=a;if(typeof n===\"function\"){l=n;i=a;n=undefined}i=i===this?undefined:i;if(e===\"select\"){r=this._aSelectEventHandlers}else if(e===\"save\"){r=this._aSaveEventHandlers}else if(e===\"manage\"){r=this._aManageEventHandlers}else if(e===\"cancel\"){r=this._aCancelEventHandlers}r.push({fCallback:l,fCallbackBound:i?l.bind(i):l,oObj:i,mProps:n})}else{s.prototype.attachEvent.apply(this,t)}};d.prototype.attachEventOnce=function(...t){const[e,a,n,i]=t;var o;if(e===\"manage\"){o=this._findCallback(this._aManageEventHandlers,n,i);if(o>-1&&this._aManageEventHandlers[o].bOnce){this._aManageEventHandlers.splice(o,1)}this.attachManage(a,n,i);o=this._findCallback(this._aManageEventHandlers,n,i);if(o>-1){this._aManageEventHandlers[o].bOnce=true}}else if(e===\"save\"){o=this._findCallback(this._aSaveEventHandlers,n,i);if(o>-1&&this._aSaveEventHandlers[o].bOnce){this._aSaveEventHandlers.splice(o,1)}this.attachSave(a,n,i);o=this._findCallback(this._aSaveEventHandlers,n,i);if(o>-1){this._aSaveEventHandlers[o].bOnce=true}}else if(e===\"select\"){o=this._findCallback(this._aSelectEventHandlers,n,i);if(o>-1&&this._aSelectEventHandlers[o].bOnce){this._aSelectEventHandlers.splice(o,1)}this.attachSelect(a,n,i);o=this._findCallback(this._aSelectEventHandlers,n,i);if(o>-1){this._aSelectEventHandlers[o].bOnce=true}}else{s.prototype.attachEventOnce.apply(this,t)}};d.prototype.attachManage=function(t,e,a){this.attachEvent(\"manage\",t,e,a);return this};d.prototype._handleAllListeners=function(t,e){var a=0;var n=[];while(a<e.length){t.oSource=this;e[a].fCallbackBound(t,e[a].mProps);if(e[a]){if(e[a].hasOwnProperty(\"bOnce\")&&e[a].bOnce){n.push(a)}a+=1}}for(a=n.length-1;a>-1;a--){e.splice(n[a],1)}};d.prototype._fireManage=function(t){this._handleAllListeners(t,this._aManageEventHandlers)};d.prototype.detachManage=function(t,e){var a=this._findCallback(this._aManageEventHandlers,t,e);if(a>-1){this.detachEvent(\"manage\",t,e);this._aManageEventHandlers.splice(a,1)}return this};d.prototype.attachSelect=function(t,e,a){this.attachEvent(\"select\",t,e,a);return this};d.prototype._fireSelect=function(t){this._handleAllListeners(t,this._aSelectEventHandlers)};d.prototype.detachSelect=function(t,e){var a=this._findCallback(this._aSelectEventHandlers,t,e);if(a>-1){this.detachEvent(\"select\",t,e);this._aSelectEventHandlers.splice(a,1)}return this};d.prototype._createSaveAsDialog=function(){this._oVM._createSaveAsDialog()};d.prototype._handleVariantSaveAs=function(t){this._oVM._handleVariantSaveAs(t)};d.prototype.getFocusDomRef=function(){if(this._oVM){return this._oVM.oVariantPopoverTrigger.getFocusDomRef()}return null};d.prototype.getManageDialog=function(){if(this._oVM){return this._oVM.oManagementDialog}return null};d.prototype.getVariants=function(){return this._oVM?this._oVM.getItems():[]};d.prototype.getVariantByKey=function(t){return this._oVM?this._oVM._getItemByKey(t):null};d.prototype.getTitle=function(){return this._oVM.getTitle()};d.prototype.refreshTitle=function(){this._oVM.refreshTitle()};d.prototype.setPopoverTitle=function(t){this._oVM.setPopoverTitle(t);return this};d.prototype.setHeaderLevel=function(t){this.setProperty(\"headerLevel\",t);this._oVM.setLevel(t);return this};d.prototype.setTitleStyle=function(t){this.setProperty(\"titleStyle\",t);this._oVM.setTitleStyle(t);return this};d.prototype.setShowAsText=function(t){this._oVM.setShowAsText(t);return this};d.prototype.getShowAsText=function(){return this._oVM.getShowAsText()};d.prototype.setEditable=function(t){this.setProperty(\"editable\",t);this._oVM.setShowFooter(t);return this};d.prototype.setShowExecuteOnSelection=function(t){this._oVM.setSupportApplyAutomatically(t);return this};d.prototype.setShowSetAsDefault=function(t){this.setProperty(\"showSetAsDefault\",t);this._oVM.setSupportDefault(t);return this};d.prototype.setDisplayTextForExecuteOnSelectionForStandardVariant=function(t){this.setProperty(\"displayTextForExecuteOnSelectionForStandardVariant\",t);this._oVM.setDisplayTextForExecuteOnSelectionForStandardVariant(t);return this};d.prototype.setInErrorState=function(t){this.setProperty(\"inErrorState\",t);this._oVM.setInErrorState(t);return this};d.prototype._setStandardVariantKey=function(t){this._oVM.setStandardVariantKey(t)};d.prototype.openManagementDialog=function(t,e,a){this._oVM.openManagementDialog(t,e,a)};d.prototype.openSaveAsDialogForKeyUser=function(t,e){this._oVM.openSaveAsDialog(t,e)};d.prototype.setEditable=function(t){this._oVM.setProperty(\"showFooter\",t);return this};d.prototype.setCurrentVariantKey=function(t){this._oVM.setCurrentVariantKey(t)};d.prototype.getCurrentVariantKey=function(){return this._oVM.getSelectedKey()};d.prototype.setDefaultVariantKey=function(t){this._oVM.setDefaultKey(t)};d.prototype.getDefaultVariantKey=function(){return this._oVM.getDefaultKey()};d.prototype.enteringDesignMode=function(){this._oVM.setDesignMode(true)};d.prototype.leavingDesignMode=function(){this._oVM.setDesignMode(false)};d.prototype.getModified=function(){return this._oVM.getModified()};d.prototype.setModified=function(t){this._oVM.setModified(t)};d.prototype.getStandardVariantKey=function(){return this._oVM.getStandardVariantKey()};d.prototype._getEmbeddedVM=function(){return this._oVM};d.prototype._updateWithSettingsInfo=function(){r.getInstance().then(function(t){if(this._oVM){this._oVM.setShowSaveAs(t.getIsVariantPersonalizationEnabled());this._oVM.setSupportPublic(t.getIsPublicFlVariantEnabled())}}.bind(this)).catch(function(t){p.error(t)})};d.prototype.getModelName=function(){return this.getProperty(\"modelName\")};d.prototype.setModelName=function(t){if(this.getModelName()){this.oContext=null;this._aCancelEventHandlers=[];this._aSaveEventHandlers=[];this._aManageEventHandlers=[];this._aSelectEventHandlers=[]}this.setProperty(\"modelName\",t);return this};d.prototype._setModel=function(){this._setBindingContext()};d.prototype._setBindingContext=function(){var e;var a;var n=this.getModelName();if(!this.oContext){e=this.getModel(n);if(e){a=this._getLocalId(e);if(a){this.oContext=new t(e,`/${a}`);this.setBindingContext(this.oContext,n);if(e.registerToModel){e.registerToModel(this)}this.fireInitialized();this._oVM.setModel(e,n);this._createItemsModel(n);this._oVM.bindProperty(\"selectedKey\",{path:`${this.oContext}/currentVariant`,model:n});this._oVM.bindProperty(\"defaultKey\",{path:`${this.oContext}/defaultVariant`,model:n});this._oVM.bindProperty(\"modified\",{path:`${this.oContext}/modified`,model:n});this._oVM.bindProperty(\"supportFavorites\",{path:`${this.oContext}/showFavorites`,model:n});this._oVM.bindProperty(\"supportApplyAutomatically\",{path:`${this.oContext}/showExecuteOnSelection`,model:n});this._oVM.bindProperty(\"showFooter\",{path:`${this.oContext}/variantsEditable`,model:n});this._oVM.setPopoverTitle(this._oRb.getText(\"VARIANT_MANAGEMENT_VARIANTS\"));this._setStandardVariantKey(a)}}}};d.prototype._createItemsModel=function(t){this._oItemsTemplate=new n({key:`{${t}>key}`,title:`{${t}>title}`,sharing:`{${t}>sharing}`,remove:`{${t}>remove}`,favorite:`{${t}>favorite}`,executeOnSelect:`{${t}>executeOnSelect}`,rename:`{${t}>rename}`,visible:`{${t}>visible}`,changeable:`{${t}>change}`,author:`{${t}>author}`,contexts:`{${t}>contexts}`});this._oVM.bindAggregation(\"items\",{path:`${this.oContext}/variants`,model:t,template:this._oItemsTemplate,filters:new e({path:\"visible\",operator:a.EQ,value1:true})})};d.prototype._getLocalId=function(t){var e=this.getModelName();if(!e){return null}if(e!==o.getVariantModelName()){return this.getId()}return t.getVariantManagementReferenceForControl(this)};d.prototype._getInnerItems=function(){var t=[];if(this.oContext&&this.oContext.getObject()){t=this.oContext.getObject().variants.filter(function(t){if(!t.hasOwnProperty(\"visible\")){return true}return t.visible})}return t};d.prototype._getInnerItemByKey=function(t){var e=null;var a=this._getInnerItems();a.some(function(a){if(a.key===t){e=a}return e!==null});return e};d.prototype.registerApplyAutomaticallyOnStandardVariant=function(t){this._fRegisteredApplyAutomaticallyOnStandardVariant=t;return this};d.prototype.getApplyAutomaticallyOnVariant=function(t){var e=false;if(t){e=t.executeOnSelect;if(this._fRegisteredApplyAutomaticallyOnStandardVariant&&this.getDisplayTextForExecuteOnSelectionForStandardVariant()&&t.key===this._oVM.getStandardVariantKey()){try{e=this._fRegisteredApplyAutomaticallyOnStandardVariant(t)}catch(t){p.error(\"callback for determination of apply automatically on standard variant failed\")}}}return e};d.prototype.exit=function(...t){this._oVM.detachManage(this._fireManage,this);this._oVM.detachCancel(this._fireCancel,this);this._oVM.detachSelect(this._fireSelect,this);this._oVM.detachSave(this._fireSave,this);if(this._oVM){this._oVM.destroy();this._oVM=undefined}if(this._oItemsTemplate){this._oItemsTemplate.destroy();this._oItemsTemplate=undefined}this._fRegisteredApplyAutomaticallyOnStandardVariant=null;this.oContext=undefined;this._oRb=undefined;this._aCancelEventHandlers=undefined;this._aSaveEventHandlers=undefined;this._aManageEventHandlers=undefined;this._aSelectEventHandlers=undefined;s.prototype.exit.apply(this,t)};d.prototype.addFor=function(t){this.addAssociation(\"for\",t);return this};d.prototype._getToolbarInteractive=function(){return true};return d});\n//# sourceMappingURL=VariantManagement.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/thirdparty/hasher\",\"sap/ui/fl/Layer\",\"sap/ui/fl/initial/_internal/FlexInfoSession\"],function(e,r,a){\"use strict\";var t=[r.BASE,r.VENDOR,r.PARTNER,r.CUSTOMER_BASE,r.CUSTOMER,r.PUBLIC,r.USER];var n={};t.forEach(function(e,r){n[e]=r});function i(e){return new URLSearchParams(window.location.search).get(e)}var s={_mLayersIndex:n,_sTopLayer:t[t.length-1],FL_MAX_LAYER_PARAM:\"sap-ui-fl-max-layer\",isValidLayer(e){return Object.keys(r).some(function(r){return r===e})},isVendorLayer(){return this.getCurrentLayer()===r.VENDOR},isCustomerDependentLayer(e){return[r.PUBLIC,r.CUSTOMER,r.CUSTOMER_BASE].indexOf(e)>-1},isDeveloperLayer(e){return s.compareAgainstCurrentLayer(e,r.CUSTOMER)===-1},doesCurrentLayerRequirePackage(){var e=this.getCurrentLayer();return e===r.VENDOR||e===r.PARTNER||e===r.CUSTOMER_BASE},getMaxLayer(r){var a=s.getMaxLayerTechnicalParameter(e.getHash(),r);return a||i(this.FL_MAX_LAYER_PARAM)||s._sTopLayer},getLayerIndex(e){return this._mLayersIndex[e]},isOverMaxLayer(e,r){return this.isOverLayer(e,this.getMaxLayer(r))},isOverLayer(e,r){return this.getLayerIndex(e)>this.getLayerIndex(r)},compareAgainstCurrentLayer(e,r){var a=r||s.getCurrentLayer();if(this.getLayerIndex(a)>this.getLayerIndex(e)||!e){return-1}else if(this.getLayerIndex(a)===this.getLayerIndex(e)){return 0}return 1},isLayerFilteringRequired(e){var r=a.getByReference(e);var t=r.maxLayer?r.maxLayer:s._sTopLayer;return this._sTopLayer!==t},isSapUiLayerParameterProvided(){return!!i(\"sap-ui-layer\")},getCurrentLayer(){var e=i(\"sap-ui-layer\")||\"\";return e.toUpperCase()||r.CUSTOMER},filterChangeDefinitionsByMaxLayer(e,r){return e.filter(function(e){return!e.layer||!s.isOverMaxLayer(e.layer,r)})},filterChangeOrChangeDefinitionsByCurrentLayer(e,r){if(!r){return e}return e.filter(function(e){var a=e.getLayer&&e.getLayer()||e.layer;return r===a})},getMaxLayerTechnicalParameter(e,r){if(r){var a=r.parseShellHash(e)||{};if(a.params&&a.params.hasOwnProperty(this.FL_MAX_LAYER_PARAM)){return a.params[this.FL_MAX_LAYER_PARAM][0]}}return undefined}};return s});\n//# sourceMappingURL=LayerUtils.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/ui/thirdparty/jquery\",\"sap/m/flexibility/Avatar.flexibility\"],function(jQuery,i){\"use strict\";return jQuery.extend(i,{})},true);\n//# sourceMappingURL=Avatar.flexibility.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([\"sap/uxap/changeHandler/RenameObjectPageSection\",\"sap/uxap/changeHandler/UnstashObjectPageSection\"],function(e,a){\"use strict\";return{rename:e,moveControls:\"default\",hideControl:{changeHandler:\"default\",layers:{USER:true}},unhideControl:{changeHandler:\"default\",layers:{USER:true}},stashControl:{changeHandler:\"default\",layers:{USER:true}},unstashControl:{changeHandler:a,layers:{USER:true}}}},true);\n//# sourceMappingURL=ObjectPageSection.flexibility.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],()=>{\"use strict\";var e={};var n=\"sap.ui.fl.info.\";function t(e){return n+(e||\"true\")}e.getByReference=function(e){return JSON.parse(window.sessionStorage.getItem(t(e)))||{}};e.setByReference=function(e,n){if(e){window.sessionStorage.setItem(t(n),JSON.stringify(e))}};e.removeByReference=function(e){window.sessionStorage.removeItem(t(e))};return e});\n//# sourceMappingURL=FlexInfoSession.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";return function(e){var i=sap.ui.require(e);if(i){return Promise.resolve(i)}return new Promise(function(i,n){sap.ui.require([e],function(e){i(e)},function(e){n(e)})})}});\n//# sourceMappingURL=requireAsync.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";return{ADD:\"add\",MOVE:\"move\",RENAME:\"rename\",COMBINESPLIT:\"combinesplit\",REMOVE:\"remove\",OTHER:\"other\"}});\n//# sourceMappingURL=ChangeCategories.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";return{AppVariant:\"APP_VARIANT\",VersionedAppVariant:\"VERSIONED_APP_VARIANT\",AdaptationProject:\"ADAPTATION_PROJECT\",FioriElementsFromScratch:\"FE_FROM_SCRATCH\",UiAdaptation:\"UI_ADAPTATION\"}});\n//# sourceMappingURL=Scenario.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";return{LastOneWins:\"lastOneWins\",Reverse:\"reverse\",Move:\"move\",Create:\"create\",Destroy:\"destroy\",Update:\"update\"}});\n//# sourceMappingURL=Classification.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";return{LifecycleState:{NEW:\"NEW\",PERSISTED:\"PERSISTED\",DELETED:\"DELETED\",DIRTY:\"UPDATED\",UPDATED:\"UPDATED\"},ApplyState:{INITIAL:\"initial\",APPLYING:\"applying\",REVERTING:\"reverting\",REVERT_FINISHED:\"revert finished\",APPLY_SUCCESSFUL:\"apply successful\",APPLY_FAILED:\"apply failed\"},Operations:{APPLY:\"apply\",REVERT:\"revert\"}}});\n//# sourceMappingURL=States.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";return{USER:\"USER\",PUBLIC:\"PUBLIC\",CUSTOMER:\"CUSTOMER\",CUSTOMER_BASE:\"CUSTOMER_BASE\",PARTNER:\"PARTNER\",VENDOR:\"VENDOR\",BASE:\"BASE\"}});\n//# sourceMappingURL=Layer.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";return{getChangeTypes(){return[\"appdescr_ovp_addNewCard\",\"appdescr_ovp_removeCard\",\"appdescr_ovp_changeCard\",\"appdescr_app_addNewInbound\",\"appdescr_app_changeInbound\",\"appdescr_app_removeInbound\",\"appdescr_app_removeAllInboundsExceptOne\",\"appdescr_app_addNewOutbound\",\"appdescr_app_changeOutbound\",\"appdescr_app_removeOutbound\",\"appdescr_app_addNewDataSource\",\"appdescr_app_changeDataSource\",\"appdescr_app_removeDataSource\",\"appdescr_app_addAnnotationsToOData\",\"appdescr_app_addTechnicalAttributes\",\"appdescr_app_removeTechnicalAttributes\",\"appdescr_app_setTitle\",\"appdescr_app_setSubTitle\",\"appdescr_app_setShortTitle\",\"appdescr_app_setDescription\",\"appdescr_app_setInfo\",\"appdescr_app_setDestination\",\"appdescr_app_setKeywords\",\"appdescr_app_setAch\",\"appdescr_app_addCdsViews\",\"appdescr_app_removeCdsViews\",\"appdescr_flp_setConfig\",\"appdescr_ui5_addNewModelEnhanceWith\",\"appdescr_ui5_removeModel\",\"appdescr_ui5_replaceComponentUsage\",\"appdescr_ui5_setMinUI5Version\",\"appdescr_smb_addNamespace\",\"appdescr_smb_changeNamespace\",\"appdescr_ui_generic_app_setMainPage\",\"appdescr_ui_setIcon\",\"appdescr_ui_setDeviceTypes\",\"appdescr_ui5_addLibraries\",\"appdescr_ui5_addNewModel\",\"appdescr_app_addAnnotationsToOData\",\"appdescr_ui5_addComponentUsages\",\"appdescr_ui5_setFlexExtensionPointEnabled\",\"appdescr_url_setUri\",\"appdescr_fiori_setRegistrationIds\",\"appdescr_card\",\"appdescr_card_designtime\",\"appdescr_fiori_setAbstract\",\"appdescr_fe_changePageConfiguration\",\"appdescr_ui5_changeModel\",\"appdescr_ui_generic_app_addNewObjectPage\",\"appdescr_ui_generic_app_changePageConfiguration\",\"appdescr_fe_addNewPage\"]},getCondensableChangeTypes(){return[\"appdescr_app_setTitle\", Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";var e={apiVersion:2};e.render=function(e,n){var a=n._getState(),t=\"sapFDynamicPageHeader\",r=n.getBackgroundDesign();e.openStart(\"section\",n);e.accessibilityState({role:\"region\"});e.class(\"sapContrastPlus\");e.class(t);if(a.headerHasContent){e.class(\"sapFDynamicPageHeaderWithContent\")}if(a.headerPinnable){e.class(\"sapFDynamicPageHeaderPinnable\")}if(r){e.class(t+r)}e.openEnd();this._renderHeaderContent(e,a);e.renderControl(a.collapseButton);if(a.headerPinnable){e.renderControl(a.pinButton)}e.close(\"section\")};e._renderHeaderContent=function(e,n){if(n.headerHasContent){e.openStart(\"div\");e.class(\"sapFDynamicPageHeaderContent\");e.openEnd();n.content.forEach(e.renderControl,e);e.close(\"div\")}};return e},true);\n//# sourceMappingURL=DynamicPageHeaderRenderer.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";var e={loadFlexData(){return Promise.reject(\"loadFlexData is not implemented\")},loadFeatures(){return Promise.reject(\"loadFeatures is not implemented\")},loadVariantsAuthors(){return Promise.reject(\"loadVariantsAuthors is not implemented\")},loadFlVariant(){return Promise.reject(\"loadFlVariant is not implemented\")}};return e});\n//# sourceMappingURL=BaseLoadConnector.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";var e={};e.CHANGE_TYPE=\"moveElements\";function t(e,t,r,o){if(!e){throw new Error(\"No change instance\")}var n=e.getContent();if(!n||!n.movedElements||n.movedElements.length===0){throw new Error(\"Change format invalid\")}if(!e.getSelector().aggregation){throw new Error(\"No source aggregation supplied via selector for move\")}if(!n.target||!n.target.selector){throw new Error(\"No target supplied for move\")}if(!t.bySelector(n.target.selector,o,r)){throw new Error(\"Move target parent not found\")}if(!n.target.selector.aggregation){throw new Error(\"No target aggregation supplied for move\")}}async function r(e,t,r,o){if(!e.selector&&!e.id){throw new Error(\"Change format invalid - moveElements element has no id attribute\")}if(typeof e.targetIndex!==\"number\"){throw new Error(`Missing targetIndex for element with id '${e.selector.id}' in movedElements supplied`)}return await t.bySelector(e.selector||e.id,r,o)}e.applyChange=async function(e,o,n){var a=n.modifier;var g=n.view;var i=n.appComponent;var s=e.getContent();t(e,a,g,i);const c=e.getSelector().aggregation;const l=s.target.selector.aggregation;const d=await a.bySelector(s.target.selector,i,g);for(const e of s.movedElements){const t=await r(e,a,i,g);if(!t){throw new Error(\"Element to move not found\")}await a.moveAggregation(o,c,d,l,t,e.targetIndex,g)}};e.completeChangeContent=function(){throw new Error(\"Using deprecated change handler. Please consider using 'MoveControls' instead\")};e.getSpecificChangeInfo=function(e,t){var r=t.source.parent||e.bySelector(t.source.id);var o=t.target.parent||e.bySelector(t.target.id);var n=t.source.aggregation;var a=t.target.aggregation;var g={source:{id:r.getId(),aggregation:n,type:e.getControlType(r)},target:{id:o.getId(),aggregation:a,type:e.getControlType(o)},movedElements:t.movedElements};return g};return e},true);\n//# sourceMappingURL=MoveElements.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.define([],function(){\"use strict\";var e={};e.getPersistencyKey=e=>{if(e){var t=e.getVariantManagement?.()||e;if(t.getPersonalizableControlPersistencyKey){return t.getPersonalizableControlPersistencyKey()}return t.getPersistencyKey&&t.getPersistencyKey()}return undefined};e.getDefaultVariantId=e=>{const t=e.defaultVariants;const n=[...t].reverse().find(t=>{if(t?.getContent().defaultVariantName===\"*standard*\"){return true}return Object.keys(e.byId).some(e=>t?.getContent().defaultVariantName===e)});return n?.getContent().defaultVariantName||\"\"};return e});\n//# sourceMappingURL=Utils.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/AlignedFlowLayout\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Control\",\"./library\",\"sap/ui/core/ResizeHandler\",\"./AlignedFlowLayoutRenderer\",\"sap/ui/dom/units/Rem\"],function(e,t,i,s,n,r){\"use strict\";var o=t.extend(\"sap.ui.layout.AlignedFlowLayout\",{metadata:{library:\"sap.ui.layout\",properties:{minItemWidth:{type:\"sap.ui.core.AbsoluteCSSSize\",defaultValue:\"12rem\"},maxItemWidth:{type:\"sap.ui.core.AbsoluteCSSSize\",defaultValue:\"24rem\"}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true},endContent:{type:\"sap.ui.core.Control\",multiple:true}}},renderer:n});o.prototype.init=function(){if(typeof ResizeObserver===\"function\"){this.oResizeObserver=new ResizeObserver(this.onResize.bind(this));this.fLayoutWidth=0;this.fEndItemWidth=0}else{this._sResizeHandlerContainerListenerID=s.register(this,this.onResizeHandler.bind(this))}this.fnReflow=this.reflow.bind(this);this.bReflowSuspended=false};o.prototype.exit=function(){this.fnReflow=null;this.disconnectResizeObserver();this.oResizeObserver=null;this.fLayoutWidth=undefined;this.fEndItemWidth=undefined;this.disconnectResizeHandler();this._sResizeHandlerContainerListenerID=\"\";this._sResizeHandlerEndItemListenerID=\"\"};o.prototype.onAfterRenderingOrThemeChanged=function(){window.requestAnimationFrame(function(){var t=this.getDomRef(),i=this.getDomRef(\"endItem\"),s=!!(this.hasContent()&&t&&i);if(s){var n=window.getComputedStyle(t,null),r=n.getPropertyValue(\"padding-top\"),o=i.style;if(e.getRTL()){o.left=n.getPropertyValue(\"padding-left\")}else{o.right=n.getPropertyValue(\"padding-right\")}o.bottom=r}var f={domRef:t,endItemDomRef:i};this.reflow(f)}.bind(this))};o.prototype.onBeforeRendering=function(){this.disconnectResizeObserver();this.disconnectResizeHandlerForEndItem()};o.prototype.onAfterRendering=function(){this.observeSizeChangesIfRequired();this.onAfterRenderingOrThemeChanged()};o.prototype.onThemeChanged=o.prototype.onAfterRenderingOrThemeChanged;o.prototype.onResizeHandler=function(e){if(e.size.width!==e.oldSize.width){this.reflow()}};o.prototype.onResize=function(e){var t=this.getDomRef();this.bReflowSuspended=this.bReflowSuspended||this.unobserveSizeChangesIfReflowSuspended(t);if(this.bReflowSuspended){return}var i,s=e[0],n=f(this.fLayoutWidth,s,t),r=s.contentRect.width,o=s.contentRect.height;if(n){this.fLayoutWidth=r;this.fLayoutHeight=o}else{i=this.getDomRef(\"endItem\");n=f(this.fEndItemWidth,s,i);if(n){this.fEndItemWidth=r;this.fLayoutHeight=o}else if(this.fLayoutHeight!==o){this.fLayoutHeight=o}else{return}}window.requestAnimationFrame(function(){var e={domRef:t,endItemDomRef:i};this.reflow(e)}.bind(this))};o.prototype.reflow=function(t){if(this.bReflowSuspended){this.bReflowSuspended=false;if(this.oResizeObserver){this.observeSizeChangesIfRequired()}}var i=this.getContent();if(i.length===0||!i[0].isActive()){return}t=t||{};var s=t.domRef||this.getDomRef();if(!s){return}var n=t.endItemDomRef||this.getDomRef(\"endItem\"),r=this.getLastItemDomRef();if(!n||!r){if(!s.offsetParent){return}this.toggleDisplayOfSpacers(s);return}var o=s.lastElementChild;a(s,o);if(!s.offsetParent){return}var f=o.style,h=n.offsetHeight,d=n.offsetWidth,l=r.offsetTop,u=r.offsetLeft,p,g;var m=window.getComputedStyle(r);if(e.getRTL()){var R=Number.parseFloat(m.marginLeft);g=u-R}else{var c=Number.parseFloat(m.marginRight);var v=u+r.offsetWidth+c;g=s.offsetWidth-v}var y=window.getComputedStyle(n);var b=Number.parseFloat(y.marginLeft);var z=Number.parseFloat(y.marginRight);var I=g>=b+d+z;if(I){if(this.checkItemsWrapping(s)){if(n.offsetTop<l){f.height=Math.max(0,h-l)+\"px\";if(r.offsetTop>=n.offsetTop){p=n.offsetLeft;u=r.offsetLeft;if(p>=u&&p<=u+r.offsetWidth){f.height=h+\"px\"}}f.display=\"block\"}else{f.height=\"0\";f.display=\"\"}}else{if(n.offsetTop<l){f.height=h+\"px\"}f.display=\"block\"}}else{f.height=h+\"px\";f.display=\"block\"}var L=d+\"px\";f.width=L;f. Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v2/ODataModel\", [\"./_CreatedContextsCache\",\"./Context\",\"./ODataAnnotations\",\"./ODataContextBinding\",\"./ODataListBinding\",\"./ODataTreeBinding\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/security/encodeURL\",\"sap/base/util/deepEqual\",\"sap/base/util/deepExtend\",\"sap/base/util/each\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/isPlainObject\",\"sap/base/util/merge\",\"sap/base/util/uid\",\"sap/ui/base/SyncPromise\",\"sap/ui/core/Messaging\",\"sap/ui/core/message/Message\",\"sap/ui/core/message/MessageParser\",\"sap/ui/core/message/MessageType\",\"sap/ui/core/Supportability\",\"sap/ui/model/_Helper\",\"sap/ui/model/BindingMode\",\"sap/ui/model/Context\",\"sap/ui/model/FilterProcessor\",\"sap/ui/model/Model\",\"sap/ui/model/odata/CountMode\",\"sap/ui/model/odata/MessageScope\",\"sap/ui/model/odata/ODataMetadata\",\"sap/ui/model/odata/ODataMetaModel\",\"sap/ui/model/odata/ODataMessageParser\",\"sap/ui/model/odata/ODataPropertyBinding\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/model/odata/OperationMode\",\"sap/ui/model/odata/UpdateMethod\",\"sap/ui/thirdparty/datajs\",\"sap/ui/thirdparty/URI\",\"sap/ui/util/isCrossOriginURL\"],function(e,t,a,r,s,n,i,o,d,u,h,f,c,p,l,g,y,_,m,v,b,C,P,R,q,M,E,S,A,T,x,U,D,I,O,k,H,w,B,L,F){\"use strict\";const G=false;var j=\"sap.ui.model.odata.v2.ODataModel\",N=[\"context\",\"properties\"],$={},W=[\"groupId\",\"urlParameters\"];const K=/\\/~[\\w\\-]+~[A-Z0-9]?\\//;$[P.Error]=0;$[P.Warning]=1;$[P.Success]=2;$[P.Information]=3;$[P.None]=4;var z=A.extend(\"sap.ui.model.odata.v2.ODataModel\",{constructor:function(t,r){A.apply(this,arguments);var s,n,i,o,u,h,f,c,p,l,g,y,_,m,v,b,C,P,q,E,S,D,I,O,B,L,G,j,N,$,W,K=this;if(typeof t===\"object\"){r=t;this.sServiceUrl=r.serviceUrl}else{this.sServiceUrl=t}this.mCodeListModelParams=this.createCodeListModelParameters(r);if(r){s=r.user;n=r.password;i=r.headers;o=r.tokenHandling;u=r.withCredentials;h=r.maxDataServiceVersion;f=r.useBatch;c=r.refreshAfterChange;p=r.annotationURI;l=r.loadAnnotationsJoined;_=r.defaultBindingMode;g=r.defaultCountMode;y=r.preliminaryContext;m=r.defaultOperationMode;v=r.metadataNamespaces;b=r.serviceUrlParams;C=r.metadataUrlParams;P=r.json;q=r.messageParser;E=r.skipMetadataAnnotationParsing;S=r.defaultUpdateMethod;D=r.disableHeadRequestForToken;I=r.sequentializeRequests;O=r.disableSoftStateHeader;B=r.bindableResponseHeaders;L=r.warmupUrl;G=r.canonicalRequests;j=r.tokenHandlingForGet;N=r.earlyTokenRequest;$=r.persistTechnicalMessages;W=r.ignoreAnnotationsFromMetadata}this.mPathCache={};this.mInvalidatedPaths={};this.bCanonicalRequests=!!G;this.bTokenHandlingForGet=!!j;this.sMessageScope=x.RequestedObjects;this.sWarmupUrl=L;this.bWarmup=!!L;this.mSupportedBindingModes={OneWay:true,OneTime:true,TwoWay:true};this.mUnsupportedFilterOperators={All:true,Any:true,NotAll:true,NotAny:true};this.sDefaultBindingMode=_||M.OneWay;this.bIsMessageScopeSupported=false;this.iPendingDeferredRequests=0;this.bJSON=P!==false;this.aPendingRequestHandles=[];this.aCallAfterUpdate=[];this.mRequests={};this.mDeferredRequests={};this.mChangedEntities={};this.mChangeHandles={};this.mDeferredGroups={};this.mLaunderingState={};S=z._fixUpdateMethod(S);this.sDefaultUpdateMethod=S||w.MERGE;this.bTokenHandling=o!==false;this.bWithCredentials=u===true;this.bUseBatch=f!==false;this.bRefreshAfterChange=c!==false;this.sMaxDataServiceVersion=h;this.bLoadAnnotationsJoined=l!==false;this.aAnnotationURIs=[];if(p){this.aAnnotationURIs=Array.isArray(p)?p.slice():[p]}this.pAnnotationChanges=null;this.sDefaultCountMode=g||T.Request;this.sDefaultOperationMode=m||H.Default;this.sMetadataLoadEvent=null;this.oMetadataFailedEvent=null;this.sRefreshGroupId=undefined;this.bIncludeInCurrentBatch=false;this.bSkipMetadataAnnotationParsing=!!E;this.bDisableHeadRequestForToken=!!D;this.bSequentializeRequests=!!I;this.bDisableSoftStateHeader=!!O;this.aBindableResponseHeaders=B?B:null;this.bPreliminaryContext=y||false;this.mMetadataUrlParams=C||{};this.mChangedEntities4checkUpdate={};this.bPersistTechnicalMessages=$===undefined?undefined:!!$;this.oCreatedContextsCache=new e;this.aSideEffectCleanUpFunctions=[];this.oTransitionMessagesOnlyGroups=new Set;this.bIgnoreAnnotationsFromMetadata=!!W;if(q){q.setProcessor(this)}this.oMessageParser=q;this.setDeferredGroups([\"changes\"]);this.setChangeGroups({\"*\":{groupId:\"changes\"}});this.oData={};this.oMetadata=null;this.oAnnotations=null;this.aUrlParams=[];this.fnRetryAfter=null;this.oRetryAfterError=null;this.pRetryAfter=null;this.pSequentialRequestCompleted=Promise.resolve();this.pReadyForRequest=Promise.resolve();var Q=this.sServiceUrl.split(\"?\");if(Q.length>1){this.sServiceUrl=Q[0];if(Q[1]){this.aUrlParams.push(Q[1])}}this.sServiceUrl=this.sServiceUrl.replace(/\\/$/,\"\");this.sUser=s;this.sPassword=n;if(R.isStatisticsEnabled()){this.aUrlParams.push(\"sap-statistics=true\")}this.oHeaders={};this.setHeaders(i);if(!this.bDisableSoftStateHeader){this.oHeaders[\"sap-contextid-accept\"]=\"header\";this.mCustomHeaders[\"sap-contextid-accept\"]=\"header\"}this.sMetadataUrl=this.sWarmupUrl||this._createMetadataUrl(\"/$metadata\");this.oSharedServerData=o===\"skipServerCache\"?undefined:z._getSharedData(\"server\",this._getServerUrl());this.oSharedServiceData=z._getSharedData(\"service\",this.sServiceUrl);this.oSharedMetaData=z._getSharedData(\"meta\",this.sMetadataUrl);this.bUseCache=this._cacheSupported(this.sMetadataUrl);if(!this.oSharedMetaData.oMetadata||this.oSharedMetaData.oMetadata.bFailed){this.oMetadata=new U(this.sMetadataUrl,{async:true,cacheKey:this.bUseCache?this.sMetadataUrl:undefined,user:this.sUser,password:this.sPassword,headers:this.mCustomHeaders,namespaces:v,withCredentials:this.bWithCredentials});if(!this.bWarmup){this.oSharedMetaData.oMetadata=this.oMetadata}}else{this.oMetadata=this.oSharedMetaData.oMetadata}this.oAnnotations=new a(this.oMetadata,{source:this.aAnnotationURIs,skipMetadata:this.bSkipMetadataAnnotationParsing||this.bIgnoreAnnotationsFromMetadata,headers:this.mCustomHeaders,combineEvents:true,cacheKey:this._getAnnotationCacheKey(this.sMetadataUrl),useCache:this.bUseCache,withCredentials:this.bWithCredentials});if(!this.bDisableSoftStateHeader){delete this.mCustomHeaders[\"sap-contextid-accept\"]}this.oAnnotations.attachAllFailed(this.onAnnotationsFailed,this);this.oAnnotations.attachSomeLoaded(this.onAnnotationsLoaded,this);this.pAnnotationsLoaded=this.oAnnotations.loaded();if(b){this.aUrlParams=this.aUrlParams.concat(k._createUrlParamsArray(b))}this.onMetadataFailed=function(e){K.fireMetadataFailed(e.getParameters())};if(!this.oMetadata.isLoaded()){this.oMetadata.attachFailed(this.onMetadataFailed)}this.oMetadata.loaded().then(function(){K._initializeMetadata()});if(this.bJSON){if(this.sMaxDataServiceVersion===\"3.0\"){this.oHeaders[\"Accept\"]=\"application/json;odata=fullmetadata\"}else{this.oHeaders[\"Accept\"]=\"application/json\"}}else{this.oHeaders[\"Accept\"]=\"application/atom+xml,application/atomsvc+xml,application/xml\"}if(this.bTokenHandling){if(this.oSharedServiceData.securityToken){this.oHeaders[\"x-csrf-token\"]=this.oSharedServiceData.securityToken}else if(this.oSharedServerData&&this.oSharedServerData.securityToken){this.oSharedServiceData.securityToken=this.oSharedServerData.securityToken;this.oHeaders[\"x-csrf-token\"]=this.oSharedServiceData.securityToken}if(N){this.securityTokenAvailable()}}this.oHeaders[\"Accept-Language\"]=d.getLanguageTag().toString();this.oHeaders[\"DataServiceVersion\"]=\"2.0\";this.oHeaders[\"MaxDataServiceVersion\"]=\"2.0\";if(this.sMaxDataServiceVersion){this.oHeaders[\"MaxDataServiceVersion\"]=this.sMaxDataServiceVersion}if(!this.mCustomHeaders[\"X-Requested-With\"]&&!F(this.sServiceUrl)){this.oHeaders[\"X-Requested-With\"]=\"XMLHttpRequest\"}},metadata:{publicMethods:[\"read\",\"create\",\"update\",\"remove\",\"submitChanges\",\"getServiceMetadata\",\"metadataLoaded\",\"hasPendingChanges\",\"getPendingChanges\",\"refresh\",\"refreshMetadata\",\"resetChanges\",\"setDefaultCountMode\",\"setDefaultBindingMode\",\"getDefaultBindingMode\",\"getDefaultCountMode\",\"setProperty\",\"getSecurityToken\",\"refreshSecurityToken\",\"setHeaders\",\"getHeaders\",\"setUseBatch\",\"setDeferredBatchGroups\",\"getDeferredBatchGroups\",\"setChangeBatchGroups\",\"getChangeBatchGroups\"],final:G}});z.M_EVENTS={MetadataLoaded:\"metadataLoaded\",MetadataFailed:\"metadataFailed\",AnnotationsLoaded:\"annotationsLoaded\",AnnotationsFailed:\"annotationsFailed\",BatchRequestFailed:\"batchRequestFailed\",BatchRequestSent:\"batchRequestSent\",BatchRequestCompleted:\"batchRequestCompleted\"};z.prototype.attachBatchRequestFailed=function(e,t,a){this.attachEvent(\"batchRequestFailed\",e,t,a);return this};z.prototype.detachBatchRequestFailed=function(e,t){this.detachEvent(\"batchRequestFailed\",e,t);return this};z.prototype.fireBatchRequestFailed=function(e){this.fireEvent(\"batchRequestFailed\",e);return this};z.prototype.attachBatchRequestSent=function(e,t,a){this.attachEvent(\"batchRequestSent\",e,t,a);return this};z.prototype.detachBatchRequestSent=function(e,t){this.detachEvent(\"batchRequestSent\",e,t);return this};z.prototype.fireBatchRequestSent=function(e){this.fireEvent(\"batchRequestSent\",e);return this};z.prototype.attachBatchRequestCompleted=function(e,t,a){this.attachEvent(\"batchRequestCompleted\",e,t,a);return this};z.prototype.detachBatchRequestCompleted=function(e,t){this.detachEvent(\"batchRequestCompleted\",e,t);return this};z.prototype.fireBatchRequestCompleted=function(e){this.fireEvent(\"batchRequestCompleted\",e);return this};z.mSharedData={server:{},service:{},meta:{}};z._fixUpdateMethod=function(e){if(e===\"Put\"){return w.PUT}else if(e===\"Merge\"){return w.MERGE}return e};z._getSharedData=function(e,t){var a=this.mSharedData[e][t];if(!a){a={};this.mSharedData[e][t]=a}return a};z.prototype._initializeMetadata=function(){if(this.bDestroyed){return}this.bIsMessageScopeSupported=this.oMetadata._isMessageScopeSupported();var e=function(){this.fireMetadataLoaded({metadata:this.oMetadata});o.debug(this+\" - metadataloaded fired\")}.bind(this);this.initialize();if(this.bLoadAnnotationsJoined){this.oAnnotations.loaded().then(e,this.fireMetadataFailed.bind(this))}else{e()}};z.prototype.refreshMetadata=function(){if(this.oMetadata&&this.oMetadata.refresh){return this.oMetadata.refresh()}return undefined};z.prototype.fireAnnotationsLoaded=function(e){this.fireEvent(\"annotationsLoaded\",e);return this};z.prototype.attachAnnotationsLoaded=function(e,t,a){this.attachEvent(\"annotationsLoaded\",e,t,a);return this};z.prototype.detachAnnotationsLoaded=function(e,t){this.detachEvent(\"annotationsLoaded\",e,t);return this};z.prototype.fireAnnotationsFailed=function(e){this.fireEvent(\"annotationsFailed\",e);o.debug(this+\" - annotationsfailed fired\");return this};z.prototype.attachAnnotationsFailed=function(e,t,a){this.attachEvent(\"annotationsFailed\",e,t,a);return this};z.prototype.detachAnnotationsFailed=function(e,t){this.detachEvent(\"annotationsFailed\",e,t);return this};z.prototype.fireMetadataLoaded=function(e){this.fireEvent(\"metadataLoaded\",e);return this};z.prototype.attachMetadataLoaded=function(e,t,a){this.attachEvent(\"metadataLoaded\",e,t,a);return this};z.prototype.detachMetadataLoaded=function(e,t){this.detachEvent(\"metadataLoaded\",e,t);return this};z.prototype.fireMetadataFailed=function(e){this.fireEvent(\"metadataFailed\",e);return this};z.prototype.attachMetadataFailed=function(e,t,a){this.attachEvent(\"metadataFailed\",e,t,a);return this};z.prototype.detachMetadataFailed=function(e,t){this.detachEvent(\"metadataFailed\",e,t);return this};z.prototype._createEventInfo=function(e,t,a){var r,s,n={};n.url=e.requestUri;n.method=e.method;n.async=e.async;n.headers=e.headers;if(a){n.requests=[];for(var i=0;i<a.length;i++){s={};if(Array.isArray(a[i])){var o=a[i];for(var d=0;d<o.length;d++){e=o[d].request;r=a[i][d].response;s={};s.url=e.requestUri;s.method=e.method;s.headers=e.headers;if(r){s.response={};if(e._aborted){s.success=false;s.response.statusCode=0;s.response.statusText=\"abort\"}else{s.success=true;if(r.message){s.response.message=r.message;r=r.response;s.response.responseText=r.body;s.success=false}s.response.headers=r.headers;s.response.statusCode=r.statusCode;s.response.statusText=r.statusText}}n.requests.push(s)}}else{e=a[i].request;r=a[i].response;s.url=e.requestUri;s.method=e.method;s.headers=e.headers;if(r){s.response={};if(e._aborted){s.success=false;s.response.statusCode=0;s.response.statusText=\"abort\"}else{s.success=true;if(r.message){s.response.message=r.message;r=r.response;s.response.responseText=r.body;s.success=false}s.response.headers=r.headers;s.response.statusCode=r.statusCode;s.response.statusText=r.statusText}}n.requests.push(s)}}}if(t){n.response={};n.success=true;if(t.message){n.response.message=t.message;n.success=false}if(t.response){t=t.response}if(t&&t.statusCode!=undefined){n.response.headers=t.headers;n.response.statusCode=t.statusCode;n.response.statusText=t.statusText;n.response.responseText=t.body!==undefined?t.body:t.responseText;if(t.expandAfterCreateFailed){n.response.expandAfterCreateFailed=true}if(t.expandAfterFunctionCallFailed){n.response.expandAfterFunctionCallFailed=true}}}n.ID=e.requestID;return n};z.prototype._createRequestID=function(){var e;e=_();return e};z.prototype._getServerUrl=function(){var e,t;e=new L(this.sServiceUrl).absoluteTo(document.baseURI);t=new L(\"/\").absoluteTo(e).toString();return t};z.prototype._createMetadataUrl=function(e){if(e.indexOf(this.sServiceUrl)==-1){if(!e.startsWith(\"/\")){e=\"/\"+e}e=this.sServiceUrl+e}var t=Object.assign({},this.mMetadataUrlParams);const a=new URL(e,\"https://localhost\").searchParams;for(const[e]of a){t[e]=a.get(e)}var r=k._createUrlParamsArray(t);var s=e.split(\"?\");if(s.length>1){e=s[0]}return this._addUrlParams(e,r)};z.prototype._addUrlParams=function(e,t){var a=[];if(this.aUrlParams){a=a.concat(this.aUrlParams)}if(t){a=a.concat(t)}if(a.length>0){e+=\"?\"+a.join(\"&\")}return e};z.prototype._createRequestUrl=function(e,t,a,r){return this._createRequestUrlWithNormalizedPath(this._normalizePath(e,t),a,r)};z.prototype._createRequestUrlWithNormalizedPath=function(e,t,a){var r=\"\";if(!a){r=this.sServiceUrl+e}else{r=e.substr(e.indexOf(\"/\")+1)}return this._addUrlParams(r,t)};z.prototype._importData=function(e,t,a,r,s,n,i,o,d,u){var h=this,f,p,g,y;s=s||\"\";i=i||\"\";if(e.results&&Array.isArray(e.results)){f=[];c(e.results,function(e,r){var i=h._getKey(r);i=h._importData(r,t,a,undefined,s.substr(0,s.lastIndexOf(\"/\")),n,i,undefined,undefined,u);if(i){f.push(i)}});return f}else{if(i){s=\"/\"+i;n+=i.substr(i.indexOf(\"(\"))}else{i=this._getKey(e)}if(!i){return i}g=this._getEntity(i);y=g;if(!g||g.__metadata&&g.__metadata.invalid){if(!y){y=e}g=e;i=this._addEntity(g)}if(this.aBindableResponseHeaders){var _={};for(var m in a.headers){var v=m.toLowerCase();if(this.aBindableResponseHeaders.indexOf(v)>-1){_[v]=a.headers[m]}}if(!l(_)){if(!e.__metadata){e.__metadata={}}e.__metadata.headers=_}}c(e,function(e,r){if(r&&(r.__metadata&&r.__metadata.uri||r.results)&&!r.__deferred){var o=s+\"/\"+e;var d=n+\"/\"+e;p=h._importData(r,t,a,undefined,o,d,undefined,false,\"/\"+i+\"/\"+e,u);if(Array.isArray(p)){g[e]={__list:p};if(u){g[e].__list.sideEffects=true;h.aSideEffectCleanUpFunctions.push(function(){delete g[e]})}}else{if(y[e]&&y[e].__ref){if(y[e].__ref!==p){h.mInvalidatedPaths[s.substr(s.lastIndexOf(\"(\"))+\"/\"+e]=\"/\"+p}}g[e]={__ref:p}}}else if(!r||!r.__deferred){if(y[e]&&r===null){h.mInvalidatedPaths[s.substr(s.lastIndexOf(\"(\"))+\"/\"+e]=null}g[e]=r}});if(this.hasContext(\"/\"+i)&&this.getContext(\"/\"+i).isPreliminary()){var b=this.getContext(\"/\"+i);b.setUpdated(true);this.callAfterUpdate(function(){b.setUpdated(false)});b.setPreliminary(false)}if(r&&r.created&&r.key){this._cleanupAfterCreate(r,i)}this._updateChangedEntity(i,g);t[i]=true;s=s||\"/\"+i;n=n||s;var C=this.resolveFromCache(n);if(C===\"/\"+i||C&&C.split(\"/\").length>2){this._writePathCache(C,\"/\"+i,o)}this._writePathCache(s,\"/\"+i,o);this._writePathCache(n,\"/\"+i,o,true);if(d){this._writePathCache(d,\"/\"+i,o)}return i}};z.prototype._writePathCache=function(e,t,a,r){var s,n,i,o,d,u;if(e&&t){if(!this.mPathCache[e]){this.mPathCache[e]={}}if(!a&&e.lastIndexOf(\"/\")===0){t=e}this.mPathCache[e].canonicalPath=t;if(r){d=e.split(\"/\");for(u=3;u<d.length;u+=1){i=d.slice(0,u).join(\"/\");o=this.mPathCache[i];if(o){s=o.canonicalPath+e.slice(i.length);n=this.mPathCache[s];if(n){n.canonicalPath=t}}}}}};z.prototype._removeReferences=function(e){var t=this,a;if(!e){return e}if(e.results){a=[];c(e.results,function(e,r){a.push(t._removeReferences(r))});return a}else{c(e,function(t,a){if(a){if(a[\"__ref\"]||a[\"__list\"]){delete e[t]}}});return e}};z.prototype._restoreReferences=function(e,t){var a=this,r,s,n;function o(e){var r=t[e];if(!r){r=a._getObject(\"/\"+e);i(r,\"ODataModel inconsistent: \"+e+\" not found!\");if(r){r=y({},r);t[e]=r;a._restoreReferences(r,t)}}return r}if(!t){t={}}c(e,function(t,a){if(a){if(a.__ref){r=a.__ref;s=o(r);if(s){e[t]=s}delete a.__ref}else if(a.__list){n=[];c(a.__list,function(e,t){s=o(t);if(s){n.push(s)}});delete a.__list;a.results=n}}});return e};z.prototype.removeData=function(){this.oData={}};z.prototype.initialize=function(){var e=this.getBindings();e.forEach(function(e){e.initialize()})};z.prototype.getServiceUrl=function(){return this.sServiceUrl};z.prototype.invalidate=function(e){var t;for(var a in this.oData){t=this.oData[a];if(!e||e(a,t)){t.__metadata.invalid=true}}};z.prototype.invalidateEntry=function(e){var t;if(typeof e===\"string\"){if(e.indexOf(\"/\")===0){t=this._getObject(e)}else{t=this.oData[e]}}else if(e instanceof E){t=this._getObject(e.getPath())}if(t&&t.__metadata){t.__metadata.invalid=true}};z.prototype.invalidateEntityType=function(e){var t;for(var a in this.oData){t=this.oData[a];if(t.__metadata.type===e){t.__metadata.invalid=true}}};z.prototype.refresh=function(e,t,a){if(typeof e===\"string\"){a=e;e=false;t=false}if(t){this.removeData()}this._refresh(e,a)};z.prototype._refresh=function(e,t,a,r){var s=this.getBindings();this.sRefreshGroupId=t;s.forEach(function(t){t._refresh(e,a,r)});this.sRefreshGroupId=undefined};z.prototype.checkUpdate=function(e,t,a,r){if(t){this.bForceUpdate=this.bForceUpdate||e;Object.assign(this.mChangedEntities4checkUpdate,a);if(!this.sUpdateTimer){this.sUpdateTimer=setTimeout(function(){this.checkUpdate(this.bForceUpdate,false,this.mChangedEntities4checkUpdate)}.bind(this),0)}return}e=this.bForceUpdate||e;if(this.sUpdateTimer){clearTimeout(this.sUpdateTimer);this.sUpdateTimer=null;this.bForceUpdate=undefined;this.mChangedEntities4checkUpdate={}}var s=this.getBindings();s.forEach(function(t){if(!r||this.isMetaModelPath(t.getPath())){t.checkUpdate(e,a)}}.bind(this));this._processAfterUpdate()};z.prototype.checkDataState=function(e){var t=this.getBindings();t.forEach(function(t){if(t.checkDataState){t.checkDataState(e)}})};z.prototype.bindProperty=function(e,t,a){var r=new O(this,e,t,a);return r};z.prototype.bindList=function(e,t,a,r,n){var i=new s(this,e,t,a,r,n);return i};z.prototype.bindTree=function(e,t,a,r,s){var i=new n(this,e,t,a,r,s);return i};z.prototype.createBindingContext=function(e,t,a,r,s){var n,i,o,d,u,h,f,c,p,l=this;if(t!==null&&typeof t===\"object\"&&!(t instanceof E)){s=r;r=a;a=t;t=undefined}if(typeof t==\"function\"){s=a;r=t;a=undefined;t=undefined}if(typeof t==\"boolean\"){s=t;r=undefined;a=undefined;t=undefined}if(typeof a==\"function\"){s=r;r=a;a=undefined}if(typeof a==\"boolean\"){s=a;r=undefined;a=undefined}if(typeof r==\"boolean\"){s=r;r=undefined}if(a){n=a.canonicalRequest}n=this._isCanonicalRequestNeeded(n);p=this.resolve(e,t,n);if(!p&&n){p=this.resolve(e,t)}d=this.resolveDeep(e,t);if(!p){if(r){r(null)}return null}if(s===undefined){s=this._isReloadNeeded(p,a)}if(!s){i=this.resolve(e,t,true);if(i){f=this.getContext(i,d)}else{f=null}if(r){r(f)}return f}function g(a){var s=a?l._getKey(a):null,n=!(e===\"\"||e.indexOf(\"/\")>0),i=null,o,u;f=null;if(s){f=l.getContext(\"/\"+s,d);i={__ref:s}}if(t&&h&&n){o=t.getPath();o=o.substr(1);u=l._getEntity(o);if(u){u[e]=i}}r(f)}function y(a){var s;if(a.statusCode==\"404\"&&t&&h){var n=t.getPath();n=n.substr(1);s=l._getEntity(n);if(s){s[e]={__ref:null}}}r(null)}if(r){h=!e.startsWith(\"/\");c=[];o=this.createCustomParams(a);if(o){c.push(o)}if(a&&(a.batchGroupId||a.groupId)){u=a.groupId||a.batchGroupId}this.read(e,{canonicalRequest:n,context:t,error:y,groupId:u,success:g,updateAggregatedMessages:true,urlParameters:c})}if(a&&a.createPreliminaryContext){p=this.resolve(e,t,n);if(!p&&n){p=this.resolve(e,t)}f=this.getContext(p,d);return f}return undefined};z.prototype._updateContext=function(e,t,a){e.sPath=t;if(a!==undefined){e.sDeepPath=a}this.mContexts[t]=e};z.prototype._splitEntries=function(e){return e.replace(/\\s/g,\"\").split(\",\").map(function(e){return e.split(\"/\")})};z.prototype._filterOwnSelect=function(e,t){var a,r;if(!t){return[]}r=t.map(function(e){return e.name});a=e.filter(function(e){return e.length===1}).map(function(e){return e[0]});if(e.length===0||a.indexOf(\"*\")!==-1||a.indexOf(\"**\")!==-1){return r}else{return a.filter(function(e){return r.indexOf(e)!==-1})}};z.prototype._filterOwnExpand=function(e,t){return e.map(function(e){return e[0]}).filter(function(e,t,a){return a.indexOf(e)===t}).filter(function(e){return t.length===0||t.some(function(t){return t.indexOf(e)===0||t.indexOf(\"**\")===0})})};z.prototype._filterSelectByNavProp=function(e,t){return e.filter(function(e){return e[0]===t}).map(function(e){return e.length>1?e.slice(1):[\"**\"]})};z.prototype._filterExpandByNavProp=function(e,t){return e.filter(function(e){return e.length>1&&e[0]===t}).map(function(e){return e.slice(1)})};z.prototype._isReloadNeeded=function(e,t){var a=this,r=this.oMetadata,s,n=[],i=[];if(!this.oMetadata.isLoaded()){return true}var o;if(t){o=t.canonicalRequest}o=this._isCanonicalRequestNeeded(o);if(o){e=this.resolve(e,undefined,o)||e}var d=this._getObject(e);s=this.oMetadata._getEntityTypeByPath(e);if(this._isCreatedEntity(d)){return false}function u(e,t,s,n){var i,o,d,h,f,c,p,l,g,y;if(!e){return false}if(t===null){return false}if(!t){return true}if(t.__metadata&&t.__metadata.invalid){return true}g=a._filterOwnSelect(s,e.property);for(o=0;o<g.length;o++){y=g[o];if(t[y]===undefined){return true}}l=a._filterOwnExpand(n,s);for(o=0;o<l.length;o++){i=l[o];d=t[i];if(d===null){continue}if(d===undefined||d.__deferred){return true}f=r._getEntityTypeByNavProperty(e,i);p=a._filterSelectByNavProp(s,i);c=a._filterExpandByNavProp(n,i);if(d.__ref){h=a._getEntity(d.__ref);if(u(f,h,p,c)){return true}}if(d.__list){for(var _=0;_<d.__list.length;_++){h=a._getEntity(d.__list[_]);if(u(f,h,p,c)){return true}}}}return false}if(t){if(t.select){i=this._splitEntries(t.select)}if(t.expand){n=this._splitEntries(t.expand)}}return u(s,d,i,n)};z.prototype.createCustomParams=function(e){var t=[],a,r={expand:true,select:true};for(var s in e){if(s in r){t.push(\"$\"+s+\"=\"+u(e[s]))}if(s===\"custom\"){a=e[s];for(s in a){if(s.indexOf(\"$\")===0){o.warning(this+\" - Trying to set OData parameter '\"+s+\"' as custom query option!\")}else if(typeof a[s]===\"string\"){t.push(s+\"=\"+u(a[s]))}else{t.push(s)}}}}return t.join(\"&\")};z.prototype.bindContext=function(e,t,a){var s=new r(this,e,t,a);return s};z.prototype.setDefaultCountMode=function(e){this.sDefaultCountMode=e};z.prototype.getDefaultCountMode=function(){return this.sDefaultCountMode};z.prototype._addEntity=function(e){var t=this._getKey(e);this.oData[t]=e;return t};z.prototype._removeEntity=function(e){e=e&&k._normalizeKey(e);delete this.oData[e];delete this.mChangedEntities[e];delete this.mContexts[\"/\"+e]};z.prototype._getEntity=function(e){var t=this.oData[e];if(!t){e=e&&k._normalizeKey(e);t=this.oData[e]}return t};z.prototype._getKey=function(e){var t,a;if(e instanceof E){t=e.getPath().substr(1)}else if(e&&e.__metadata&&e.__metadata.uri){a=e.__metadata.uri;t=a.substr(a.lastIndexOf(\"/\")+1)}else if(typeof e===\"string\"){t=e.substr(e.lastIndexOf(\"/\")+1)}if(!this.oData[t]){t=t&&k._normalizeKey(t)}return t};z.prototype.getKey=function(e){return this._getKey(e)};z.prototype.createKey=function(e,t){var a=this.oMetadata._getEntityTypeByPath(e),r=e,s=this,n,o;i(a,'Could not find entity type of collection \"'+e+'\" in service metadata!');r+=\"(\";if(a.key.propertyRef.length===1){n=a.key.propertyRef[0].name;i(n in t,'Key property \"'+n+'\" is missing in object!');o=this.oMetadata._getPropertyMetadata(a,n);r+=encodeURIComponent(k.formatValue(t[n],o.type))}else{c(a.key.propertyRef,function(e,d){if(e>0){r+=\",\"}n=d.name;i(n in t,'Key property \"'+n+'\" is missing in object!');o=s.oMetadata._getPropertyMetadata(a,n);r+=n;r+=\"=\";r+=encodeURIComponent(k.formatValue(t[n],o.type))})}r+=\")\";return r};z.prototype.getProperty=function(e,t,a){var r=this._getObject(e,t);if(!a){return r}if(!g(r)){return r}r=y({},r);if(a===true){return this._restoreReferences(r)}else{return this._removeReferences(r)}};z.prototype.getObject=function(e,t,a){if(g(t)){a=t;t=undefined}var r=this,s=this.resolve(e,t),n=this._getObject(s),i=this.oMetadata._getEntityTypeByPath(s),d=[],u=[];if(!i||!g(n)||!n.__metadata||!n.__metadata.uri){return n}if(!a||!(a.select||a.expand)){return y({},n)}function h(e,t,a,s){var n,i,d,u,f,c,p,l,g,y,_,m,v,b;if(!t){return undefined}if(!e){return undefined}_=r._filterOwnSelect(a,e.property);v={};for(i=0;i<_.length;i++){b=_[i];if(t[b]!==undefined||t.__metadata.created){v[b]=t[b]}else{o.fatal(\"No data loaded for select property: \"+b+\" of entry: \"+r.getKey(t));return undefined}}if(t.__metadata){v.__metadata=t.__metadata}g=r._filterOwnExpand(s,a);for(i=0;i<g.length;i++){n=g[i];d=t[n];u=r.oMetadata._getEntityTypeByNavProperty(e,n);p=r._filterSelectByNavProp(a,n);f=r._filterExpandByNavProp(s,n);if(d&&d.__ref){c=r._getObject(\"/\"+d.__ref);l=h(u,c,p,f);if(l!==undefined){v[n]=l}else{o.fatal(\"No data loaded for expand property: \"+n+\" of entry: \"+r.getKey(l));return undefined}}if(d&&d.__list){m=[];for(var C=0;C<d.__list.length;C++){c=r._getObject(\"/\"+d.__list[C]);l=h(u,c,p,f);if(l!==undefined){m.push(l)}else{o.fatal(\"No data loaded for expand property: \"+n+\" of entry: \"+r.getKey(l));return undefined}}v[n]=m}}y=r._filterOwnSelect(a,e.navigationProperty);for(var P=0;P<y.length;P++){n=y[P];if(g.indexOf(n)===-1){var R=v.__metadata.uri+\"/\"+n;v[n]={__deferred:{uri:R}}}}return v}if(a.select){u=this._splitEntries(a.select)}if(a.expand){d=this._splitEntries(a.expand)}n=h(i,n,u,d);return n};z.prototype._getObject=function(e,t,a,r){var s,n,i,o,d,u,h,f,c,p,l,_=r?undefined:null;let m=_;if(this.isLegacySyntax()){m=this.oData}p=this.resolve(e,t,this.bCanonicalRequests);if(!p&&this.bCanonicalRequests){p=this.resolve(e,t)}if(!p){return m}if(e&&e.startsWith(\"@$ui5.\")){return this._getInstanceAnnotationValue(e,t)}if(this._isMetadataPath(p)){if(this.oMetadata&&this.oMetadata.isLoaded()){if(this.isMetaModelPath(p)){h=this.getMetaModel();i=D.getCodeListTerm(p);if(i){n=h.fetchCodeList(i);if(n.isFulfilled()){return n.getResult()}if(n.isRejected()){n.caught()}return undefined}if(!this.bMetaModelLoaded){return null}l=p.indexOf(\"/##\");o=p.substr(0,l);f=p.substr(l+3);u=h.getMetaContext(o);m=h.getProperty(f,u)}else{m=this.oMetadata._getAnnotation(p)}}else if(D.getCodeListTerm(p)){return undefined}}else{if(p===\"/\"){return this.oData}var v=p.split(\"/\"),b=0;d=v[1];v.splice(0,2);s=this.mChangedEntities[d];c=this._getEntity(d);m=a?c:s||c;while(m&&v[b]){var C=s&&s.hasOwnProperty(v[b]);s=s&&s[v[b]];c=c&&c[v[b]];m=a||!C?c:s;if(m){if(m.__ref){s=this.mChangedEntities[m.__ref];c=this._getEntity(m.__ref);m=a?c:s||c}else if(m.__list){m=m.__list}else if(m.__deferred){m=undefined}}b++}}if(g(s)){m=a?c:y({},c,s)}return m};z.prototype._getInstanceAnnotationValue=function(e,t){if(e===\"@$ui5.context.isInactive\"){return t.isInactive()}if(e===\"@$ui5.context.isTransient\"){return t.isTransient()}throw new Error(\"Unsupported instance annotation: \"+e)};z.prototype.updateSecurityToken=function(){if(this.bTokenHandling){if(!this.oSharedServiceData.securityToken){this.refreshSecurityToken()}if(this.bTokenHandling){this.oHeaders[\"x-csrf-token\"]=this.oSharedServiceData.securityToken}}};z.prototype.resetSecurityToken=function(){delete this.oSharedServiceData.securityToken;delete this.oHeaders[\"x-csrf-token\"];delete this.pSecurityToken};z.prototype.getSecurityToken=function(){var e=this.oSharedServiceData.securityToken;if(!e){this.refreshSecurityToken();e=this.oSharedServiceData.securityToken}return e};z.prototype.securityTokenAvailable=function(){if(!this.pSecurityToken){if(this.oSharedServiceData.securityToken){this.pSecurityToken=Promise.resolve(this.oSharedServiceData.securityToken)}else{this.pSecurityToken=new Promise(function(e,t){this.refreshSecurityToken(function(){e(this.oSharedServiceData.securityToken)}.bind(this),function(e){t(e)},true)}.bind(this))}}return this.pSecurityToken};z.prototype.refreshSecurityToken=function(e,t,a){var r,s,n=this,i={abort:function(){if(n.pRetryAfter){throw new Error(\"abort() during HTTP 503 'Retry-after' processing not supported\")}this.request.abort()}},o=this._createRequestUrlWithNormalizedPath(\"/\");function d(t,a){if(a){s=n._getHeader(\"x-csrf-token\",a.headers);n._setSessionContextIdHeader(n._getHeader(\"sap-contextid\",a.headers));if(s){if(n.oSharedServerData){n.oSharedServerData.securityToken=s}n.oSharedServiceData.securityToken=s;n.pSecurityToken=Promise.resolve(s);n.oHeaders[\"x-csrf-token\"]=s}else{n.resetSecurityToken();n.bTokenHandling=false}}if(e){e(t,a)}}function u(e){if(e.$rejected){n.resetSecurityToken();t(e);return}n.resetSecurityToken();n.bTokenHandling=false;n._handleError(e,r);if(t){t(e)}}function h(e){if(e.$rejected){n.resetSecurityToken();t(e);return}i.request=f(\"GET\",u)}function f(e,t){r=n._createRequest(o,\"\",e,n._getHeaders(undefined,true),null,null,!!a);r.headers[\"x-csrf-token\"]=\"Fetch\";return n._request(r,d,t,undefined,undefined,n.getServiceMetadata())}if(this.bDisableHeadRequestForToken){i.request=f(\"GET\",u)}else{i.request=f(\"HEAD\",h)}return i};z.prototype.checkAndProcessRetryAfterError=function(e,t,a,r,s,n,i,o,d){if(t.response?.statusCode===503&&this._getHeader(\"retry-after\",t.response.headers)&&this.fnRetryAfter&&!this.bSequentializeRequests){if(!this.pRetryAfter){this.oRetryAfterError=this.createRetryAfterError(t);this.pRetryAfter=this.fnRetryAfter(this.oRetryAfterError)}this.pRetryAfter.then(()=>{this.pRetryAfter=this.oRetryAfterError=null;o.abort=this._request(e,a,r,s,n,i,d).abort},e=>{this.pRetryAfter=null;this.onRetryAfterRejected(r,t,e)});return true}return false};z.prototype.createRetryAfterError=function(e){const t=new Error(e.message);const a=this._getHeader(\"retry-after\",e.response.headers);const r=parseInt(a);t.retryAfter=new Date(Number.isNaN(r)?a:Date.now()+r*1e3);return t};z.prototype.onRetryAfterRejected=function(e,t,a){if(this.bDestroyed){return}const r=a?.message?\"Retry-After handler rejected with: \"+a.message:\"Retry-After handler rejected w/o reason\";if(t){t.$rejected=true;if(this.oRetryAfterError!==a){t.$ownReason=true;t.$reported=true;o.error(r,a?.stack,j)}}e(t||{$ownReason:true,$rejected:true,$reported:true,message:r})};z.prototype._submitRequest=function(e,t,a){var r=this,s,n,i,o,d;o=new Promise(function(e,t){d=e});function u(e,a){if(t){t(e,a)}r.aSideEffectCleanUpFunctions.forEach(function(e){e()});r.aSideEffectCleanUpFunctions=[];d()}function h(t){if(r.bTokenHandling&&t.response){var s=r._getHeader(\"x-csrf-token\",t.response.headers);if(!e.bTokenReset&&t.response.statusCode==\"403\"&&s&&s.toLowerCase()===\"required\"){r.resetSecurityToken();e.bTokenReset=true;p();return}}if(a){a(t)}d()}function f(e){if(r.bTokenHandling&&(e.method!==\"GET\"||r.bTokenHandlingForGet)){r.pReadyForRequest=r.securityTokenAvailable()}return r.pReadyForRequest}function p(){if(r.bTokenHandling){delete e.headers[\"x-csrf-token\"]}f(e).then(function(t){if(r.bTokenHandling&&(e.method!==\"GET\"||r.bTokenHandlingForGet)){e.headers[\"x-csrf-token\"]=t}g()},function(e){if(e.$rejected){h(e);return}g()})}function l(e,t,a){var s,n=t.eventInfo.requests;if(n){c(n,function(t,a){if(Array.isArray(a)){a.forEach(function(t){c(t.parts,function(a,n){s=r._createEventInfo(t.request,n.fnError);r[\"fireRequest\"+e](s)})})}else if(a.parts){c(a.parts,function(t,n){s=r._createEventInfo(a.request,n.fnError);r[\"fireRequest\"+e](s)})}else{s=r._createEventInfo(a.request,a.fnError);r[\"fireRequest\"+e](s)}});if(t.eventInfo.batch){s=r._createEventInfo(t,a,n);r[\"fireBatchRequest\"+e](s)}}}function g(){if(r.sSessionContextId){e.headers[\"sap-contextid\"]=r.sSessionContextId}n=r._request(e,u,h,s,undefined,r.getServiceMetadata());if(e.eventInfo){l(\"Sent\",e,null);delete e.eventInfo}if(i&&n){n.abort()}}s=r._getODataHandler(e.requestUri);if(this.bSequentializeRequests){this.pSequentialRequestCompleted.then(function(){p()});this.pSequentialRequestCompleted=o}else{p()}return{abort:function(){if(n){n.abort()}i=true}}};z.prototype._setSessionContextIdHeader=function(e){if(e){this.sSessionContextId=e}};z.prototype._submitSingleRequest=function(e){var t=this,a,r={},s={},n={};function i(a,i){if(a===undefined&&i.statusCode===200){o({message:\"Response did not contain a valid OData result\",response:i});return}function d(a,i){for(var o=0;o<e.parts.length;o++){if(e.parts[o].request._aborted){t._processAborted(e.parts[o].request,i)}else if(e.parts[o].fnSuccess){e.parts[o].fnSuccess(a,i)}}if(e.request.requestUri.indexOf(\"$count\")===-1){t.checkUpdate(false,false,s);if(e.bRefreshAfterChange){t._refresh(false,undefined,r,n)}}}t._processSuccess(e.request,i,d,s,r,n);t._invalidatePathCache();t._setSessionContextIdHeader(t._getHeader(\"sap-contextid\",i.headers))}function o(a){var r;if(a.message==\"Request aborted\"){for(r=0;r<e.parts.length;r++){t._processAborted(e.parts[r].request,a)}}else{for(r=0;r<e.parts.length;r++){t._processError(e.parts[r].request,a,e.parts[r].fnError)}}t._processAfterUpdate()}e.request.eventInfo={requests:e.parts,batch:false};a=this._submitRequest(e.request,i,o);return a};z.prototype._submitBatchRequest=function(e,t,a,r){var s=this,n={},i={},o={},d={};function u(e,t,a){var r,u,h;for(h=0;h<e.parts.length;h++){var f,c;if(a||e.parts[h].request._aborted){s._processAborted(e.parts[h].request,t)}else if(t.message){s._processError(e.parts[h].request,t,e.parts[h].fnError)}else{if(e.request.contentID){r=e.request.contentID;if(e.request.created||e.request.functionMetadata){u=s._getKey(t.data);i[r]={key:u,functionImport:!!e.request.functionMetadata,deepPath:e.request.deepPath.replace(\"('\"+r+\"')\",u.slice(u.indexOf(\"(\")))}}else{u=i[r].key;if(i[r].functionImport){f=e.request.deepPath;c=e.request.requestUri}e.request.requestUri=e.request.requestUri.replace(\"$\"+r,u);e.request.deepPath=i[r].deepPath}}s._processSuccess(e.parts[h].request,t,e.parts[h].fnSuccess,o,n,d,false,undefined,i);if(c){e.request.deepPath=f;e.request.requestUri=c}}}}function h(r,i){if(r===undefined&&i.statusCode===200){f({message:\"Response did not contain a valid OData batch result\",response:i});return}var h,c,p,l=r.__batchResponses;if(l){var g,y;for(g=0;g<l.length;g++){h=l[g];if(Array.isArray(t[g])){if(h.message){for(y=0;y<t[g].length;y++){h.$reported=false;c=t[g][y];u(c,h);c.response=h}}else{p=h.__changeResponses;for(y=0;y<p.length;y++){var _=p[y];c=t[g][y];u(c,_);c.response=_}}}else{c=t[g];u(c,h);c.response=h}}s._invalidatePathCache();s.checkUpdate(false,false,o)}s._processSuccess(e,i,a,o,n,d,true,t);s._setSessionContextIdHeader(s._getHeader(\"sap-contextid\",i.headers))}function f(a){var n=a.message==\"Request aborted\";a.$reported=true;c(t,function(e,t){if(Array.isArray(t)){t.forEach(function(e){u(e,a,n)})}else{u(t,a,n)}});s._processAfterUpdate();if(n){s._processAborted(e,a,true)}else{a.$reported=a.$ownReason||false;s._processError(e,a,r,true,t)}}e.eventInfo={requests:t,batch:true};var p=this._submitRequest(e,h,f);function l(e){var t;for(var a=0;a<e.parts.length;a++){t=e.parts[a].fnError;if(!e.parts[a].request._aborted&&t){t(z._createAbortedError())}}}var g={abort:function(e){c(t,function(e,t){if(Array.isArray(t)){t.forEach(function(e){l(e)})}else{l(t)}});if(r&&!e){r(z._createAbortedError())}p.abort()}};return g};z.prototype._invalidatePathCache=function(){var e=this,t;if(Object.keys(this.mInvalidatedPaths).length>0){Object.keys(this.mPathCache).forEach(function(a){for(var r in e.mInvalidatedPaths){t=a.indexOf(r);if(t>-1){if(t+r.length!==a.length){var s=a.substr(t+r.length);e.mPathCache[a].canonicalPath=e.mInvalidatedPaths[r]===null?null:e.mInvalidatedPaths[r]+s}else{e.mPathCache[a].canonicalPath=e.mInvalidatedPaths[r]}}}})}this.mInvalidatedPaths={}};z.prototype._createBatchRequest=function(e){var t,a,r={},s={},n=\"true\";s.__batchRequests=e;for(var i in e){if(e[i]&&e[i].__changeRequests||e[i]&&e[i].headers&&e[i].headers[\"sap-cancel-on-close\"]!==\"true\"){n=\"false\";break}}t=this.sServiceUrl+\"/$batch\";if(this.aUrlParams.length>0){t+=\"?\"+this.aUrlParams.join(\"&\")}p(r,this.mCustomHeaders,this.oHeaders);r[\"Accept\"]=\"multipart/mixed\";delete r[\"Content-Type\"];r[\"sap-cancel-on-close\"]=n;a={headers:r,requestUri:t,method:\"POST\",data:s,user:this.sUser,password:this.sPassword,async:true};a.withCredentials=this.bWithCredentials;return a};z.prototype.abortInternalRequest=function(e,t){var a=this.mRequests;var r,s;if(t){r=t.requestKey;s=t.path}if(e in this.mDeferredGroups){a=this.mDeferredRequests}var n=function(e){for(var t=0;t<e.parts.length;t++){e.parts[t].requestHandle.abort()}};var i=a[e];if(i){if(r in i.map){n(i.map[r])}else if(s){c(i.map,function(e,t){if(e.indexOf(s)>=0){n(t)}})}else if(e&&!t){c(i.map,function(e,t){n(t)})}}};z.prototype._pushToRequestQueue=function(e,t,a,r,s,n,i,o){var d,u=e[t],h=r.key?r.key:r.method+\":\"+r.requestUri;if(this.bWarmup){return}if(!u){u={};u.map={};u.requests=[];e[t]=u}if(h in u.map&&(r.key||r.method===\"GET\")){d=u.map[h];var f=d.request;r.deepPath=f.deepPath;if(d.bRefreshAfterChange===undefined){d.bRefreshAfterChange=o}if(!r.key){d.parts.push({request:r,fnSuccess:s,fnError:n,requestHandle:i})}if(r.method===\"GET\"){delete f.data}else{f.method=r.method;f.headers=r.headers;f.data=r.data;f.sideEffects=r.sideEffects;if(r.method===w.PUT){delete f.headers[\"x-http-method\"]}if(f._aborted){delete f._aborted}}if(f.functionMetadata){f.requestUri=r.requestUri;f.functionTarget=r.functionTarget}}else{d={request:r,bRefreshAfterChange:o,parts:[{request:r,fnSuccess:s,fnError:n,requestHandle:i}]};if(r.method===\"GET\"){u.requests.push(d)}else{if(!u.changes){u.changes={}}var c=u.changes[a];if(!c){c=[];u.changes[a]=c}d.changeSetId=a;c.push(d)}u.map[h]=d}};z.prototype._collectChangedEntities=function(e,t,a){var r=this;if(e.changes){c(e.changes,function(e,s){for(var n=0;n<s.length;n++){if(s[n].bRefreshAfterChange){var i=s[n].request,o=\"/\"+i.requestUri.split(\"?\")[0],d,u;if(i.method===\"POST\"||i.method===\"DELETE\"){var h=r.oMetadata._getEntityTypeByPath(o);if(h){a[h.entityType]=true}}else{d=r._getObject(o);if(d){u=r._getKey(d)}else if(o.lastIndexOf(\"/\")===0){u=r._getKey(o)}if(u){t[u]=true}}}}})}};z.prototype._processRequestQueue=function(e,t,a,r,s){var n=this,i,o=[];function d(e,t){for(var a=0;a<e.parts.length;a++){var r=e.parts[a];if(r.request._aborted){n._processAborted(e.request,null);e.parts.splice(a,1);a--}else if(t){r.request._handle=t;t.iRelevantRequests++}}}function u(){return{iRelevantRequests:0,oRequestHandle:{},abort:function(){this.iRelevantRequests--;if(this.iRelevantRequests===0&&this.oRequestHandle){this.oRequestHandle.abort(true);if(a){a({},undefined)}}}}}if(this.bUseBatch){c(e,function(e,a){if(e===t||!t){var r={},s={};n._collectChangedEntities(a,r,s);if(Object.keys(r).length||Object.keys(s).length){n.bIncludeInCurrentBatch=true;n._refresh(false,e,r,s);n.bIncludeInCurrentBatch=false}}});c(e,function(h,f){if(h===t||!t){var p=[],l=[],g,y;var _=u();if(f.changes){c(f.changes,function(t,a){var r,o,u;g={__changeRequests:[]};y=[];for(o=0;o<a.length;o++){r=a[o].request;q.extend(r.headers,s);i=\"/\"+n.getKey(r.data);n.increaseLaundering(i,r.data);d(a[o],_);if(a[o].parts.length>0){n.removeInternalMetadata(r.data);g.__changeRequests.push(r);if(r.expandRequest){u=a[o].parts[0];n._pushToRequestQueue(e,h,undefined,r.expandRequest,u.fnSuccess,u.fnError,u.requestHandle,false)}y.push(a[o])}}if(g.__changeRequests&&g.__changeRequests.length>0){p.push(g);l.push(y)}})}if(f.requests){var m=f.requests;for(var v=0;v<m.length;v++){d(m[v],_);if(m[v].parts.length>0){p.push(m[v].request);l.push(m[v])}}}if(p.length>0){var b=n._createBatchRequest(p);_.oRequestHandle=n._submitBatchRequest(b,l,a,r);o.push(_.oRequestHandle)}delete e[h]}})}else{c(e,function(a,r){if(a===t||!t){if(r.changes){c(r.changes,function(e,t){for(var a=0;a<t.length;a++){var r=u();i=\"/\"+n.getKey(t[a].request.data);n.increaseLaundering(i,t[a].request.data);d(t[a],r);if(t[a].parts.length>0){n.removeInternalMetadata(t[a].request.data);r.oRequestHandle=n._submitSingleRequest(t[a]);o.push(r.oRequestHandle)}}})}if(r.requests){var s=r.requests;for(var h=0;h<s.length;h++){var f=u();d(s[h],f);if(s[h].parts.length>0){f.oRequestHandle=n._submitSingleRequest(s[h]);o.push(f.oRequestHandle)}}}delete e[a]}})}this.checkDataState(this.mLaunderingState);return o.length==1?o[0]:o};z.prototype._processRequestQueueAsync=function(e){var t=this;if(!this.pCallAsync){this.pCallAsync=this.oMetadata.loaded().then(function(){return Promise.resolve().then(function(){t._processRequestQueue(e);t.pCallAsync=undefined})})}};z.prototype._processSuccess=function(e,t,a,r,s,n,i,d,u){var h,f,l,g,_,m,v,b,C,P,R,q,M,E={},S={},A=t.data,T=this;if(!i){f=![\"204\",\"205\"].includes(String(t.statusCode));M=e.requestUri;R=M.replace(this.sServiceUrl,\"\");if(!R.startsWith(\"/\")){R=\"/\"+R}C=this._normalizePath(R);_=this.oMetadata._getEntityTypeByPath(C);b=_&&_.isFunction;R=this._normalizePath(R,undefined,!b);this.decreaseLaundering(R,e.data);this._decreaseDeferredRequestCount(e);if(e.functionMetadata){if(t.headers&&t.headers.location){m=t.headers.location;q=m.lastIndexOf(this.sServiceUrl);if(q>-1){h=k._normalizeKey(m.slice(q+this.sServiceUrl.length));if(e.functionTarget===h){l=this.getDeepPathForCanonicalPath(h);if(l){e.deepPath=l}}e.functionTarget=h}}if(e.adjustDeepPath){e.deepPath=e.adjustDeepPath({deepPath:l||e.functionTarget,response:y({},t)})}else if(!l){if(!m){l=this.getDeepPathForCanonicalPath(e.functionTarget)}e.deepPath=l||e.functionTarget}if(u&&e.contentID){u[e.contentID].deepPath=e.deepPath}}if(f&&A===undefined&&t){this._parseResponse(t,e);o.fatal(this+\" - No data was retrieved by service: '\"+t.requestUri+\"'\");T.fireRequestCompleted({url:t.requestUri,type:\"GET\",async:t.async,info:\"Accept headers:\"+this.oHeaders[\"Accept\"],infoObject:{acceptHeaders:this.oHeaders[\"Accept\"]},success:false});return false}if(A&&!A.__metadata&&A.results&&!Array.isArray(A.results)){A=A.results}if(!t._imported&&A&&(Array.isArray(A)||typeof A==\"object\")){v=y({},A);if(e.key||e.created){T._importData(v,S,t,e,undefined,undefined,undefined,b,undefined,e.sideEffects)}else{T._importData(v,S,t,e,R,e.deepPath,undefined,b,undefined,e.sideEffects)}t._imported=true}g=this._getEntity(e.key);if(g&&g.__metadata.created&&g.__metadata.created.functionImport){var x=[];var U=g[\"$result\"];if(U&&U.__list){c(S,function(e){x.push(e)});U.__list=x}else if(U&&U.__ref){c(S,function(e){U.__ref=e})}}if(!f){P=R.split(\"/\");if(P[1]){E[P[1]]=e;this._updateChangedEntity(P[1],e.data)}if(e.method===\"DELETE\"&&P[2]!==\"$links\"){this._removeEntity(P[1])}}if(f&&e.method===\"POST\"||e.functionMetadata){if(_){n[_.entityType]=true}if(e.key){if(e.created){this._removeEntity(e.key)}else{delete this.mChangedEntities[e.key]}}}if(!t.$reported){this._parseResponse(t,e,S,E);t.$reported=true}p(r,S);p(s,E);this._updateETag(e,t)}if(a){a(A,t)}var D=this._createEventInfo(e,t,d);if(i){this.fireBatchRequestCompleted(D)}else{this.fireRequestCompleted(D)}return true};z.prototype._cleanupAfterCreate=function(e,t){var a,r,s,n=this.getContext(\"/\"+e.key),i=e.deepPath,o=this._getEntity(t);if(n.isTransient()&&i.endsWith(\")\")){e.deepPath=i.slice(0,i.lastIndexOf(\"(\"))+t.slice(t.indexOf(\"(\"))}this._updateContext(n,\"/\"+t,e.deepPath);n.setUpdated(true);this.callAfterUpdate(function(){n.setUpdated(false)});delete o.__metadata.created;a=this.mChangedEntities[e.key];if(a){r=this.oMetadata._getNavigationPropertyNames(this.oMetadata._getEntityTypeByPath(t));a=q.merge({},a);a.__metadata=q.merge({},o.__metadata);a.__metadata.deepPath=e.deepPath;for(s in e.data){if(q.deepEqual(e.data[s],a[s])||r.includes(s)){delete a[s]}}this.mChangedEntities[t]=a;this.abortInternalRequest(this._resolveGroup(e.key).groupId,{requestKey:e.key})}};z.prototype._processError=function(e,t,a,r,s){var n,i;if(e.functionMetadata){e.deepPath=e.functionTarget}n=this._handleError(t,e);if(!r){i=\"/\"+this.getKey(e.data);this.decreaseLaundering(i,e.data);this._decreaseDeferredRequestCount(e)}if(a){a(n)}var o=this._createEventInfo(e,n,s);if(r){this.fireBatchRequestCompleted(o);this.fireBatchRequestFailed(o)}else{this.fireRequestCompleted(o);this.fireRequestFailed(o)}};z.prototype._processAborted=function(e,t,a){var r,s;if(!a){s=\"/\"+this.getKey(e.data);this.decreaseLaundering(s,e.data);this._decreaseDeferredRequestCount(e)}if(t){r=this._createEventInfo(e,z._createAbortedError());r.success=false;if(a){this.fireBatchRequestCompleted(r)}else{this.fireRequestCompleted(r)}}};z.prototype._processAfterUpdate=function(){var e=this.aCallAfterUpdate;this.aCallAfterUpdate=[];for(var t=0;t<e.length;t++){e[t]()}};z.prototype._processChange=function(e,t,a,r){var s,n,i,o,d,u,f,p,l,g,_,m,v,b,C,P=\"/\"+e,R=this;d=this.oMetadata._getEntityTypeByPath(e);if(!r){r=this.sDefaultUpdateMethod}_=y({},this._getObject(P),t);o=_.__metadata.deepPath;i=_.__metadata.created;if(i){g=i.method?i.method:\"POST\";e=i.key;f=i.expandRequest;s=i.contentID;p=i.functionImport;if(p){i.urlParameters=this._createFunctionImportParameters(i.key,g,_);_=undefined}else{delete _.__metadata[\"uri\"]}}else if(r===w.MERGE){g=w.MERGE;v=this._getEntity(e)}else{g=w.PUT}if(_&&_.__metadata){for(var q in _.__metadata){if(q!==\"type\"&&q!==\"uri\"&&q!==\"etag\"&&q!==\"content_type\"&&q!==\"media_src\"){delete _.__metadata[q]}}}if(_&&d){var M=this.oMetadata._getNavigationPropertyNames(d);M.forEach(function(e){delete _[e]})}if(g===w.MERGE&&d&&v){c(_,function(t,a){if(t!==\"__metadata\"){if(h(v[t],a)&&!R.isLaundering(\"/\"+e+\"/\"+t)){delete _[t]}}});var E=\"/\"+e,S;c(_,function(e,t){if(e!==\"__metadata\"){S=R.getProperty(E+\"/\"+e+\"/#@sap:unit\");if(S){if(_[S]===undefined){_[S]=v[S]}}}});if(v.__metadata.etag){_.__metadata.etag=v.__metadata.etag}}_=this._removeReferences(_);C=i&&i.urlParameters?k._createUrlParamsArray(i.urlParameters):undefined;l=i?this._getHeaders(i.headers):this._getHeaders();if(!p&&this._isTransitionMessagesOnly(a)){l[\"sap-messages\"]=\"transientOnly\"}u=i&&i.eTag?i.eTag:this.getETag(_);b=this._createRequestUrl(\"/\"+e,null,C,this.bUseBatch);n=this.getContext(P);m=this._createRequest(b,o,g,l,_,u,undefined,true,n.hasSubContexts());if(i){if(f){m.expandRequest=f;m.contentID=s}if(p){m.functionTarget=this.oMetadata._getCanonicalPathOfFunctionImport(i.functionMetadata,i.urlParameters);m.functionMetadata=i.functionMetadata}else{m.created=true;this._addSubEntitiesToPayload(n,_)}}if(this.bUseBatch){m.requestUri=m.requestUri.replace(this.sServiceUrl+\"/\",\"\")}return m};z.prototype._resolveGroup=function(e){var t,a,r,s,n,i,o=e.startsWith(\"/\")?e:\"/\"+e;s=this._getObject(o);r=s&&s.__metadata&&s.__metadata.created;if(r){return{groupId:r.groupId,changeSetId:r.changeSetId}}n=this.oMetadata._getEntityTypeByPath(o);if(this.mChangeGroups[n.name]){t=this.mChangeGroups[n.name];i=t.groupId;a=t.single?_():t.changeSetId}else if(this.mChangeGroups[\"*\"]){t=this.mChangeGroups[\"*\"];i=t.groupId;a=t.single?_():t.changeSetId}return{groupId:i,changeSetId:a}};z.prototype._updateETag=function(e,t){var a,r,s;a=e.requestUri.replace(this.sServiceUrl+\"/\",\"\");if(!a.startsWith(\"/\")){a=\"/\"+a}r=this._getObject(a.split(\"?\")[0],undefined,true);s=this._getHeader(\"etag\",t.headers);if(r&&r.__metadata&&s){r.__metadata.etag=s}};z.prototype._handleError=function(e,t,a){var r,s={message:e.message};if(e.response){if(!e.$reported){this._parseResponse(e.response,t);if(this.bTokenHandling){r=this._getHeader(\"x-csrf-token\",e.response.headers);if(e.response.statusCode==\"403\"&&r&&r.toLowerCase()===\"required\"){this.resetSecurityToken()}}}s.statusCode=e.response.statusCode;s.statusText=e.response.statusText;s.headers=e.response.headers;s.responseText=e.response.body}else if(!e.$reported){o.error(\"The following problem occurred: \"+e.message,e.stack,a||j)}e.$reported=true;return s};z.prototype.getReporter=function(e){var t=this;return function(a){t._handleError(a,undefined,e)}};z.prototype.getData=function(e,t,a){return this.getProperty(e,t,a)};z.prototype._getODataHandler=function(e){if(e.indexOf(\"$batch\")>-1){return B.batchHandler}else if(e.indexOf(\"$count\")>-1){return undefined}else if(this.bJSON){return B.jsonHandler}else{return B.atomHandler}};z.prototype.getETag=function(e,t,a){if(typeof e==\"object\"){a=e;e=\"\"}return this._getETag(e,t,a)};z.prototype._getETag=function(e,t,a){if(!a||!a.__metadata){a=this._getObject(e,t)}if(a&&a.__metadata){return a.__metadata.etag}return null};z.prototype.forceEntityUpdate=function(e){var t=this.mChangedEntities[e];if(t&&t.__metadata){t.__metadata.etag=\"*\"}else{o.error(this+\" - Entity with key \"+e+\" does not exist or has no change\")}};z.prototype._createRequest=function(e,t,a,r,s,n,i,d,u,h){var f;i=i!==false;if(n&&a!==\"GET\"){r[\"If-Match\"]=n}if(!r[\"Content-Type\"]&&a!==\"DELETE\"&&a!==\"GET\"){if(this.bJSON){r[\"Content-Type\"]=\"application/json\"}else{r[\"Content-Type\"]=\"application/atom+xml\"}}if(e.indexOf(\"$count\")>-1){r[\"Accept\"]=\"text/plain, */*;q=0.5\"}if(a===w.MERGE&&!this.bUseBatch){r[\"x-http-method\"]=w.MERGE;a=\"POST\"}if(this.sMessageScope===x.BusinessObject&&r[\"sap-messages\"]!==\"transientOnly\"){if(this.bIsMessageScopeSupported){r[\"sap-message-scope\"]=this.sMessageScope}else{o.error(\"Message scope 'sap.ui.model.odata.MessageScope.BusinessObject' is not\"+\" supported by the service: \"+this.sServiceUrl,undefined,j)}}d=d&&this.sMessageScope===x.BusinessObject&&this.bIsMessageScopeSupported;if(this.bUseBatch&&a!==\"GET\"&&a!==\"HEAD\"&&!r[\"Content-ID\"]){r[\"Content-ID\"]=_()}f={async:i,deepPath:t,headers:r,method:a,password:this.sPassword,requestUri:e,updateAggregatedMessages:d,user:this.sUser};if(u){f.sideEffects=true}if(h){f.fnRequest=h}if(s){f.data=s}if(this.bWithCredentials){f.withCredentials=this.bWithCredentials}f.requestID=this._createRequestID();return f};z.prototype._processRequest=function(e,t,a){var r,s,n=false,i=this;if(this.bWarmup){return{abort:function(){}}}if(a){this.iPendingDeferredRequests+=1}s={abort:function(){if(i.pRetryAfter){throw new Error(\"abort() during HTTP 503 'Retry-after' processing not supported\")}if(a&&!n){i.iPendingDeferredRequests-=1}if Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v2/ODataTreeBinding\", [\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/each\",\"sap/base/util/isEmptyObject\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/Context\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterProcessor\",\"sap/ui/model/FilterType\",\"sap/ui/model/Sorter\",\"sap/ui/model/SorterProcessor\",\"sap/ui/model/TreeBinding\",\"sap/ui/model/TreeBindingUtils\",\"sap/ui/model/odata/CountMode\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/model/odata/OperationMode\"],function(e,t,i,s,r,o,a,n,h,l,d,f,u,p,g,c,y){\"use strict\";var v=u.extend(\"sap.ui.model.odata.v2.ODataTreeBinding\",{constructor:function(e,i,s,r,o,a){u.apply(this,arguments);this.mParameters=this.mParameters||o||{};this.sGroupId=undefined;this.sRefreshGroupId=undefined;this.oFinalLengths={};this.oLengths={};this.oKeys={};this.bNeedsUpdate=false;this._bRootMissing=false;this.bSkipDataEvents=false;if(a instanceof d){a=[a]}this.aSorters=a||[];this.sFilterParams=\"\";this.mNormalizeCache={};r=r||[];if(r instanceof n){r=[r]}if(r.length>1){r=[h.groupFilters(r)]}this.aApplicationFilters=r;this.oModel.checkFilter(this.aApplicationFilters);this.mRequestHandles={};this.oRootContext=null;this.iNumberOfExpandedLevels=o&&o.numberOfExpandedLevels||0;this.iRootLevel=o&&o.rootLevel||0;this.sCountMode=o&&o.countMode||this.oModel.sDefaultCountMode;if(this.sCountMode==g.None){t.fatal(\"To use an ODataTreeBinding at least one CountMode must be supported by the service!\")}if(o){this.sGroupId=o.groupId||o.batchGroupId}this.bInitial=true;this._mLoadedSections={};this._iPageSize=0;this.sOperationMode=o&&o.operationMode||this.oModel.sDefaultOperationMode;if(this.sOperationMode===y.Default){this.sOperationMode=y.Server}this.bClientOperation=this.sOperationMode===y.Client;this.iThreshold=o&&o.threshold||0;this.bThresholdRejected=false;this.iTotalCollectionCount=null;this.bUseServersideApplicationFilters=o&&o.useServersideApplicationFilters||false;this.bUsePreliminaryContext=this.mParameters.usePreliminaryContext||e.bPreliminaryContext;this.oAllKeys=null;this.oAllLengths=null;this.oAllFinalLengths=null;this.bTransitionMessagesOnly=!!this.mParameters.transitionMessagesOnly;this.bRefresh=false;this.iMaximumTopValue=5e3}});v.DRILLSTATES={Collapsed:\"collapsed\",Expanded:\"expanded\",Leaf:\"leaf\"};v.prototype._getHeaders=function(){return this.bTransitionMessagesOnly?{\"sap-messages\":\"transientOnly\"}:undefined};v.prototype._getNodeFilterParams=function(e){var t=e.isRoot?this.oTreeProperties[\"hierarchy-node-for\"]:this.oTreeProperties[\"hierarchy-parent-node-for\"];var i=this._getEntityType();return c._createFilterParams(new n(t,\"EQ\",e.id),this.oModel.oMetadata,i)};v.prototype._getLevelFilterParams=function(e,t){var i=this._getEntityType();return c._createFilterParams(new n(this.oTreeProperties[\"hierarchy-level-for\"],e,t),this.oModel.oMetadata,i)};v.prototype._loadSingleRootNodeByNavigationProperties=function(e,t){var i=this,s;if(this.mRequestHandles[t]){this.mRequestHandles[t].abort()}s=this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId;var r=this.getResolvedPath();if(r){this.mRequestHandles[t]=this.oModel.read(r,{groupId:s,headers:this._getHeaders(),success:function(s){var r=i._getNavPath(i.getPath());if(s){var o=s;var a=i.oModel._getKey(o);var n=i.oModel.getContext(\"/\"+a);i.oRootContext=n;i._processODataObject(n.getObject(),e,r)}else{i._bRootMissing=true}i.bNeedsUpdate=true;delete i.mRequestHandles[t];i.oModel.callAfterUpdate(function(){i.fireDataReceived({data:s})})},error:function(e){if(e&&e.statusCode!=0&&e.statusText!=\"abort\"){i.bNeedsUpdate=true;i._bRootMissing=true;delete i.mRequestHandles[t];i.fireDataReceived()}}})}};v.prototype.getRootContexts=function(e,t,i){var s=null,r={numberOfExpandedLevels:this.iNumberOfExpandedLevels},o=[];if(this.isInitial()){return o}e=e||0;t=t||this.oModel.sizeLimit;i=i||0;var a=\"\"+s+\"-\"+e+\"-\"+this._iPageSize+\"-\"+i;if(this.bHasTreeAnnotations){this.bDisplayRootNode=true;o=this._getContextsForNodeId(null,e,t,i)}else{s=this.getResolvedPath();var n=this.oModel.isList(this.sPath,this.getContext());if(n){this.bDisplayRootNode=true}if(this.bDisplayRootNode&&!n){if(this.oRootContext){return[this.oRootContext]}else if(this._bRootMissing){return[]}else{this._loadSingleRootNodeByNavigationProperties(s,a)}}else{r.navPath=this._getNavPath(this.getPath());if(!this.bDisplayRootNode){s+=\"/\"+r.navPath}o=this._getContextsForNodeId(s,e,t,i,r)}}return o};v.prototype.getNodeContexts=function(e,t,i,s){var r,o={};if(this.isInitial()){return[]}if(this.bHasTreeAnnotations){r=this.oModel.getKey(e);o.level=parseInt(e.getProperty(this.oTreeProperties[\"hierarchy-level-for\"]))+1}else{var a=this._getNavPath(e.getPath());if(!a){return[]}r=this.oModel.resolve(a,e);o.navPath=this.oNavigationPaths[a]}return this._getContextsForNodeId(r,t,i,s,o)};v.prototype.hasChildren=function(e){var i;if(this.bHasTreeAnnotations){if(!e){return false}var s=e.getProperty(this.oTreeProperties[\"hierarchy-drill-state-for\"]);var r=this.oModel.getKey(e);i=this.oLengths[r];if(i===0&&this.oFinalLengths[r]){return false}if(s===\"expanded\"||s===\"collapsed\"){return true}else if(s===\"leaf\"){return false}else{t.warning(\"The entity '\"+e.getPath()+\"' has not specified Drilldown State property value.\");if(s===undefined||s===\"\"){return true}return false}}else{if(!e){return this.oLengths[this.getPath()]>0}i=this.oLengths[e.getPath()+\"/\"+this._getNavPath(e.getPath())];return i!==0}};v.prototype.getChildCount=function(e){if(this.bHasTreeAnnotations){var t;if(!e){t=null}else{t=this.oModel.getKey(e)}return this.oLengths[t]}else{if(!e){if(!this.bDisplayRootNode){return this.oLengths[this.getPath()+\"/\"+this._getNavPath(this.getPath())]}else{return this.oLengths[this.getPath()]}}return this.oLengths[e.getPath()+\"/\"+this._getNavPath(e.getPath())]}};v.prototype._getContextsForNodeId=function(e,t,i,s,r){var o=[],a;if(this.sOperationMode==y.Auto){if(this.iTotalCollectionCount==null){if(!this.bCollectionCountRequested){this._getCountForCollection();this.bCollectionCountRequested=true}return[]}}t=t||0;i=i||this.oModel.iSizeLimit;s=s||0;if(this.sOperationMode==y.Auto){if(this.iThreshold>=0){s=Math.max(this.iThreshold,s)}}if(!this._mLoadedSections[e]){this._mLoadedSections[e]=[]}if(this.oFinalLengths[e]&&this.oLengths[e]<t+i){i=Math.max(this.oLengths[e]-t,0)}var n=this;var h=function(t){for(var i=0;i<n._mLoadedSections[e].length;i++){var s=n._mLoadedSections[e][i];if(t>=s.startIndex&&t<s.startIndex+s.length){return true}}return false};var l=[];var d=Math.max(t-s-this._iPageSize,0);if(this.oKeys[e]){var f=t+i+s;if(this.oLengths[e]){f=Math.min(f,this.oLengths[e])}for(d;d<f;d++){a=this.oKeys[e][d];if(!a){if(!this.bClientOperation&&!h(d)){l=p.mergeSections(l,{startIndex:d,length:1})}}if(d>=t&&d<t+i){if(a){const e=this.oModel.resolveDeep(this.sPath,this.oContext)+a.slice(a.indexOf(\"(\"));o.push(this.oModel.getContext(\"/\"+a,e))}else{o.push(undefined)}}}var u=Math.max(t-s-this._iPageSize,0);var g=t+i+s;var c=l[0]&&l[0].startIndex===u&&l[0].startIndex+l[0].length===g;if(l.length>0&&!c){d=Math.max(l[0].startIndex-s-this._iPageSize,0);var m=l[0].startIndex;for(d;d<m;d++){a=this.oKeys[e][d];if(!a){if(!h(d)){l=p.mergeSections(l,{startIndex:d,length:1})}}}d=l[l.length-1].startIndex+l[l.length-1].length;var P=d+s+this._iPageSize;if(this.oLengths[e]){P=Math.min(P,this.oLengths[e])}for(d;d<P;d++){a=this.oKeys[e][d];if(!a){if(!h(d)){l=p.mergeSections(l,{startIndex:d,length:1})}}}}}else if(!h(t)){var C=t-d;l=p.mergeSections(l,{startIndex:d,length:i+C+s})}if(this.oModel.getServiceMetadata()){if(l.length>0){var _=[];var R=\"\";if(this.bHasTreeAnnotations){if(this.sOperationMode==\"Server\"||this.bUseServersideApplicationFilters){R=this.getFilterParams()}if(e){R=R?\"%20and%20\"+R:\"\";var b=this.oModel.getContext(\"/\"+e);var T=b.getProperty(this.oTreeProperties[\"hierarchy-node-for\"]);var M=this._getNodeFilterParams({id:T});_.push(\"$filter=\"+M+R)}else if(e==null){var L=\"\";if(!this.bClientOperation||this.iRootLevel>0){var x=this.bClientOperation?\"GE\":\"EQ\";L=this._getLevelFilterParams(x,this.iRootLevel)}if(L||R){if(R&&L){R=\"%20and%20\"+R}_.push(\"$filter=\"+L+R)}}}else{R=this.getFilterParams();if(R){_.push(\"$filter=\"+R)}}if(this.sCustomParams){_.push(this.sCustomParams)}if(!this.bClientOperation){for(d=0;d<l.length;d++){var F=l[d];this._mLoadedSections[e]=p.mergeSections(this._mLoadedSections[e],{startIndex:F.startIndex,length:F.length});this._loadSubNodes(e,F.startIndex,F.length,0,_,r,F)}}else if(!this.oAllKeys&&!this.mRequestHandles[v.REQUEST_KEY_CLIENT]){this._loadCompleteTreeWithAnnotations(_)}}}return o};v.prototype._getCountForCollection=function(){if(!this.bHasTreeAnnotations||this.sOperationMode!=y.Auto){t.error(\"The Count for the collection can only be retrieved with Hierarchy Annotations and in OperationMode.Auto.\");return}var e=[];function i(e){var t=e.__count?parseInt(e.__count):parseInt(e);this.iTotalCollectionCount=t;if(this.sOperationMode==y.Auto){if(this.iTotalCollectionCount<=this.iThreshold){this.bClientOperation=true;this.bThresholdRejected=false}else{this.bClientOperation=false;this.bThresholdRejected=true}this._fireChange({reason:o.Change})}}function s(e){if(e&&e.statusCode===0&&e.statusText===\"abort\"){return}var i=\"Request for $count failed: \"+e.message;if(e.response){i+=\", \"+e.response.statusCode+\", \"+e.response.statusText+\", \"+e.response.body}t.warning(i)}var r=this.getResolvedPath();var a=\"\";if(this.iRootLevel>0){a=this._getLevelFilterParams(\"GE\",this.getRootLevel())}var n=\"\";if(this.bUseServersideApplicationFilters){n=this.getFilterParams()}if(a||n){if(n&&a){n=\"%20and%20\"+n}e.push(\"$filter=\"+a+n)}var h=\"\";let l;if(this.sCountMode==g.Request||this.sCountMode==g.Both){h=\"/$count\"}else if(this.sCountMode==g.Inline||this.sCountMode==g.InlineRepeat){e.push(\"$top=0\");e.push(\"$inlinecount=allpages\");l=this._getHeaders()}if(r){this.oModel.read(r+h,{headers:l,urlParameters:e,success:i.bind(this),error:s.bind(this),groupId:this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId})}};v.prototype._getCountForNodeId=function(e){var i=this,s;var r=[];function o(t){i.oFinalLengths[e]=true;i.oLengths[e]=parseInt(t)}function a(e){if(e&&e.statusCode===0&&e.statusText===\"abort\"){return}var i=\"Request for $count failed: \"+e.message;if(e.response){i+=\", \"+e.response.statusCode+\", \"+e.response.statusText+\", \"+e.response.body}t.warning(i)}var n;var h=this.getFilterParams()||\"\";var l=\"\";if(this.bHasTreeAnnotations){n=this.getResolvedPath();if(e!=null){const t=this.oModel.getContext(\"/\"+e);const i=t.getProperty(this.oTreeProperties[\"hierarchy-node-for\"]);l=this._getNodeFilterParams({id:i})}else{l=this._getLevelFilterParams(\"EQ\",this.getRootLevel())}}else{n=e}if(l||h){var d=\"\";if(l&&h){d=\"%20and%20\"}h=\"$filter=\"+h+d+l;r.push(h)}if(n){s=this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId;this.oModel.read(n+\"/$count\",{urlParameters:r,success:o,error:a,sorters:this.aSorters,groupId:s})}};v.prototype._getParentMap=function(e){var i={};for(var s=0;s<e.length;s++){var r=e[s][this.oTreeProperties[\"hierarchy-node-for\"]];if(i[r]){t.warning(\"ODataTreeBinding: Duplicate key: \"+r+\"!\")}i[r]=this.oModel._getKey(e[s])}return i};v.prototype._createKeyMap=function(e,t){if(e&&e.length>0){var i=this._getParentMap(e),s={};for(var r=t?1:0;r<e.length;r++){var o=e[r][this.oTreeProperties[\"hierarchy-parent-node-for\"]],a=i[o];if(parseInt(e[r][this.oTreeProperties[\"hierarchy-level-for\"]])===this.iRootLevel){a=\"null\"}if(!s[a]){s[a]=[]}s[a].push(this.oModel._getKey(e[r]))}return s}return undefined};v.prototype._importCompleteKeysHierarchy=function(e){var t,i;for(i in e){t=e[i].length||0;this.oKeys[i]=e[i];this.oLengths[i]=t;this.oFinalLengths[i]=true;this._mLoadedSections[i]=[{startIndex:0,length:t}]}};v.prototype._updateNodeKey=function(e,t){var i=this.oModel.getKey(e.context),s,r;if(parseInt(e.context.getProperty(this.oTreeProperties[\"hierarchy-level-for\"]))===this.iRootLevel){s=\"null\"}else{s=this.oModel.getKey(e.parent.context)}r=this.oKeys[s].indexOf(i);if(r!==-1){this.oKeys[s][r]=t}else{this.oKeys[s].push(t)}};v.prototype._loadSubTree=function(e,t){return new Promise(function(i,s){var r,o,a;if(!this.bHasTreeAnnotations){s(new Error(\"_loadSubTree: doesn't support hierarchies without tree annotations\"));return}r=\"loadSubTree-\"+t.join(\"-\");if(this.mRequestHandles[r]){this.mRequestHandles[r].abort()}var n=function(t){if(t.results.length>0){var s=this.oModel.getKey(t.results[0]);this._updateNodeKey(e,s);var o=this._createKeyMap(t.results,true);this._importCompleteKeysHierarchy(o)}delete this.mRequestHandles[r];this.bNeedsUpdate=true;this.oModel.callAfterUpdate(function(){this.fireDataReceived({data:t})}.bind(this));i(t)}.bind(this);var h=function(e){delete this.mRequestHandles[r];if(e&&e.statusCode===0&&e.statusText===\"abort\"){return}this.fireDataReceived();s()}.bind(this);if(!this.bSkipDataEvents){this.fireDataRequested()}this.bSkipDataEvents=false;a=this.getResolvedPath();if(a){o=this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId;this.mRequestHandles[r]=this.oModel.read(a,{headers:this._getHeaders(),urlParameters:t,success:n,error:h,sorters:this.aSorters,groupId:o})}}.bind(this))};v.prototype._loadSubNodes=function(e,t,i,s,r,o,a){var n=this,h,l=false;if((t||i)&&!this.bClientOperation){r.push(\"$skip=\"+t+\"&$top=\"+(i+s))}if(!this.oFinalLengths[e]||this.sCountMode==g.InlineRepeat){if(this.sCountMode==g.Inline||this.sCountMode==g.InlineRepeat||this.sCountMode==g.Both){r.push(\"$inlinecount=allpages\");l=true}else if(this.sCountMode==g.Request){n._getCountForNodeId(e)}}var d=\"\"+e+\"-\"+t+\"-\"+this._iPageSize+\"-\"+s;function f(i){var s,r;if(i){n.oKeys[e]=n.oKeys[e]||[];if(l&&i.__count>=0){n.oLengths[e]=parseInt(i.__count);n.oFinalLengths[e]=true}}if(Array.isArray(i.results)&&i.results.length>0){if(n.bHasTreeAnnotations){var a={};for(r=0;r<i.results.length;r++){s=i.results[r];if(r==0){a[e]=t}else if(a[e]==undefined){a[e]=0}n.oKeys[e][a[e]]=n.oModel._getKey(s);a[e]++}}else{for(r=0;r<i.results.length;r++){s=i.results[r];var h=n.oModel._getKey(s);n._processODataObject(s,\"/\"+h,o.navPath);n.oKeys[e][r+t]=h}}}else if(i&&!Array.isArray(i.results)){n.oKeys[null]=n.oModel._getKey(i);if(!n.bHasTreeAnnotations){n._processODataObject(i,e,o.navPath)}}delete n.mRequestHandles[d];n.bNeedsUpdate=true;n.oModel.callAfterUpdate(function(){n.fireDataReceived({data:i})})}function u(t){if(t&&t.statusCode===0&&t.statusText===\"abort\"){return}n.fireDataReceived();delete n.mRequestHandles[d];if(a){var i=[];for(var s=0;s<n._mLoadedSections[e].length;s++){var r=n._mLoadedSections[e][s];if(a.startIndex>=r.startIndex&&a.startIndex+a.length<=r.startIndex+r.length){if(a.startIndex!==r.startIndex&&a.length!==r.length){i=p.mergeSections(i,{startIndex:r.startIndex,length:a.startIndex-r.startIndex});i=p.mergeSections(i,{startIndex:a.startIndex+a.length,length:r.startIndex+r.length-(a.startIndex+a.length)})}}else{i.push(r)}}n._mLoadedSections[e]=i}}if(e!==undefined){if(!this.bSkipDataEvents){this.fireDataRequested()}this.bSkipDataEvents=false;var c;if(this.bHasTreeAnnotations){c=this.getResolvedPath()}else{c=e}if(this.mRequestHandles[d]){this.mRequestHandles[d].abort()}if(c){h=this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId;this.mRequestHandles[d]=this.oModel.read(c,{headers:this._getHeaders(),urlParameters:r,success:f,error:u,sorters:this.aSorters,groupId:h})}}};v.REQUEST_KEY_CLIENT=\"_OPERATIONMODE_CLIENT_TREE_LOADING\";v.prototype._loadCompleteTreeWithAnnotations=function(e,s=[],r=0){var a=this;var n=v.REQUEST_KEY_CLIENT;const h=e.slice();var l=function(e){if(e.results&&e.results.length>0){r+=e.results.length;s.push(e.results);if(e.__next||e.results.length===a.iMaximumTopValue){delete a.mRequestHandles[n];a._loadCompleteTreeWithAnnotations(h,s,r);return}}let o;if(r>0){o=Array.prototype.concat.apply([],s);var l={};var d;for(var f=0;f<o.length;f++){d=o[f];var u=d[a.oTreeProperties[\"hierarchy-node-for\"]];if(l[u]){t.warning(\"ODataTreeBinding - Duplicate data entry for key: \"+u+\"!\")}l[u]=a.oModel._getKey(d)}for(var p=0;p<o.length;p++){d=o[p];var g=d[a.oTreeProperties[\"hierarchy-parent-node-for\"]];var c=l[g];if(parseInt(d[a.oTreeProperties[\"hierarchy-level-for\"]])===a.iRootLevel){c=\"null\"}a.oKeys[c]=a.oKeys[c]||[];var y=a.oModel._getKey(d);a.oKeys[c].push(y);a.oLengths[c]=a.oLengths[c]||0;a.oLengths[c]++;a.oFinalLengths[c]=true;a._mLoadedSections[c]=a._mLoadedSections[c]||[];a._mLoadedSections[c][0]=a._mLoadedSections[c][0]||{startIndex:0,length:0};a._mLoadedSections[c][0].length++}}else{o=[];a.oKeys[\"null\"]=[];a.oLengths[\"null\"]=0;a.oFinalLengths[\"null\"]=true}a.oAllKeys=i({},a.oKeys);a.oAllLengths=i({},a.oLengths);a.oAllFinalLengths=i({},a.oFinalLengths);delete a.mRequestHandles[n];a.bNeedsUpdate=true;if(a.aApplicationFilters&&a.aApplicationFilters.length>0||a.aFilters&&a.aFilters.length>0){a._applyFilter()}if(a.aSorters&&a.aSorters.length>0){a._applySort()}a.oModel.callAfterUpdate(function(){a.fireDataReceived({data:{results:o}})})};var d=function(e){delete a.mRequestHandles[n];var t=e.statusCode==0;if(!t){a.oKeys={};a.oLengths={};a.oFinalLengths={};a.oAllKeys={};a.oAllLengths={};a.oAllFinalLengths={};a._fireChange({reason:o.Change});a.fireDataReceived()}};if(!this.bSkipDataEvents&&r===0){this.fireDataRequested()}this.bSkipDataEvents=false;if(this.mRequestHandles[n]){this.mRequestHandles[n].abort()}var f=this.getResolvedPath();if(f){if(this.iTotalCollectionCount){e.push(\"$top=\"+this.iTotalCollectionCount)}this.mRequestHandles[n]=this.oModel.read(f,{headers:this._getHeaders(),urlParameters:r?[\"$skip=\"+r+\"&$top=\"+a.iMaximumTopValue,...h]:e,success:l,error:d,sorters:this.aSorters,groupId:this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId})}};v.prototype.resetData=function(e){var t,i=false;if(typeof e===\"boolean\"){i=e}else{t=e}if(t){var s=t.getPath();delete this.oKeys[s];delete this.oLengths[s];delete this.oFinalLengths[s];delete this._mLoadedSections[s]}else{this.oKeys={};this.bClientOperation=this.sOperationMode===y.Client;this.bThresholdRejected=false;this.iTotalCollectionCount=null;this.bCollectionCountRequested=false;this.oAllKeys=null;this.oAllLengths=null;this.oAllFinalLengths=null;this.oLengths={};this.oFinalLengths={};this.oRootContext=null;this._bRootMissing=false;if(!i){this._abortPendingRequest()}this._mLoadedSections={};this._iPageSize=0;this.sFilterParams=\"\"}};v.prototype.refresh=function(e,t){if(typeof e===\"string\"){t=e}this.sRefreshGroupId=t;this._refresh(e);this.sRefreshGroupId=undefined};v.prototype._refresh=function(e,t,i){var s=false;if(!e){if(i){var r=this.getResolvedPath();if(r){if(r.indexOf(\"?\")!==-1){r=r.split(\"?\")[0]}var a=this.oModel.oMetadata._getEntityTypeByPath(r);if(a&&a.entityType in i){s=true}}}if(t&&!s){s=this._isRefreshAfterChangeAllowed()&&this._hasChangedEntity(t)}if(!t&&!i){s=true}}if(e||s){this.resetData();this.bNeedsUpdate=false;this.bRefresh=true;this._fireRefresh({reason:o.Refresh})}};v.prototype._isRefreshAfterChangeAllowed=function(){return true};v.prototype._hasChangedEntity=function(e){var t,i;for(i in this.oKeys){for(t in e){if(this.oKeys[i].includes(t)){return true}}}return false};v.prototype.filter=function(e,s,r){var a=false;s=s||l.Control;this.oModel.checkFilter(e);if(s==l.Control&&(!this.bClientOperation||this.sOperationMode==y.Server)){t.warning(\"Filtering with ControlFilters is ONLY possible if the ODataTreeBinding is running in OperationMode.Client or \"+\"OperationMode.Auto, in case the given threshold is lower than the total number of tree nodes.\");return this}if(!e){e=[]}if(e instanceof n){e=[e]}if(s===l.Control){this.aFilters=e}else{if(e.length>1){e=[h.groupFilters(e)]}this.aApplicationFilters=e}if(!this.bInitial){if(this.bClientOperation&&(s===l.Control||s===l.Application&&!this.bUseServersideApplicationFilters)){if(this.oAllKeys){this.oKeys=i({},this.oAllKeys);this.oLengths=i({},this.oAllLengths);this.oFinalLengths=i({},this.oAllFinalLengths);this._applyFilter();this._applySort();this._fireChange({reason:o.Filter})}else{this.sChangeReason=o.Filter}}else{this.resetData();this.sChangeReason=o.Filter;this._fireRefresh({reason:this.sChangeReason})}a=true}if(r){return a}else{return this}};v.prototype._applyFilter=function(){var e=this;var i;if(this.bUseServersideApplicationFilters){i=h.groupFilters(this.aFilters)}else{i=h.combineFilters(this.aFilters,this.aApplicationFilters)}var s=function(t){var s=h.apply([t],i,function(t,i){var s=e.oModel.getContext(\"/\"+t);return e.oModel.getProperty(i,s)},e.mNormalizeCache);return s.length>0};var r={};this._filterRecursive({id:\"null\"},r,s);this.oKeys=r;if(!this.oKeys[\"null\"]){t.warning(\"Clientside filter did not match on any node!\")}else{this.oLengths[\"null\"]=this.oKeys[\"null\"].length;this.oFinalLengths[\"null\"]=true}};v.prototype._filterRecursive=function(e,t,i){var s=this.oKeys[e.id];if(s){e.children=e.children||[];for(var r=0;r<s.length;r++){var o=this._filterRecursive({id:s[r]},t,i);if(o.isFiltered){t[e.id]=t[e.id]||[];t[e.id].push(o.id);e.children.push(o)}}if(e.children.length>0){e.isFiltered=true}else{e.isFiltered=i(e.id)}if(e.isFiltered){this.oLengths[e.id]=e.children.length;this.oFinalLengths[e.id]=true}return e}else{e.isFiltered=i(e.id);return e}};v.prototype.sort=function(e,t){var i=false;if(e instanceof d){e=[e]}this.aSorters=e||[];if(!this.bInitial){this._abortPendingRequest();if(this.bClientOperation){this.addSortComparators(e,this.oEntityType);if(this.oAllKeys){this._applySort();this._fireChange({reason:o.Sort})}else{this.sChangeReason=o.Sort}}else{this.resetData(undefined,{reason:o.Sort});this.sChangeReason=o.Sort;this._fireRefresh({reason:this.sChangeReason})}i=true}if(t){return i}else{return this}};v.prototype.addSortComparators=function(i,r){var o,a;if(!r){t.warning(\"Cannot determine sort comparators, as entitytype of the collection is unknown!\");return}s(i,function(t,i){if(!i.fnCompare){o=this.oModel.oMetadata._getPropertyMetadata(r,i.sPath);a=o&&o.type;e(o,\"PropertyType for property \"+i.sPath+\" of EntityType \"+r.name+\" not found!\");i.fnCompare=c.getComparator(a)}}.bind(this))};v.prototype._applySort=function(){var e=this,t;var i=function(i,s){t=e.oModel.getContext(\"/\"+i);return e.oModel.getProperty(s,t)};for(var s in this.oKeys){f.apply(this.oKeys[s],this.aSorters,i)}};v.prototype.checkUpdate=function(e,t){var i=this.sChangeReason?this.sChangeReason:o.Change;var r=false;if(!e){if(this.bNeedsUpdate||!t){r=true}else{s(this.oKeys,function(e,i){s(i,function(e,i){if(i in t){r=true;return false}return true});if(r){return false}return true})}}if(e||r){this.bNeedsUpdate=false;this._fireChange({reason:i})}this.sChangeReason=undefined};v.prototype._getNavPath=function(e){var t=this.oModel.resolve(e,this.getContext());if(!t){return undefined}var i=t.split(\"/\"),s=i[i.length-1],r;var o=s.split(\"(\")[0];if(o&&this.oNavigationPaths[o]){r=this.oNavigationPaths[o]}return r};v.prototype._processODataObject=function(e,t,i){var s=[],r=this;if(i&&i.indexOf(\"/\")>-1){s=i.split(\"/\");i=s[0];s.splice(0,1)}const o=this.getModel();var a=o._getObject(t);if(Array.isArray(a)){this.oKeys[t]=a;this.oLengths[t]=a.length;this.oFinalLengths[t]=true}else if(a){this.oLengths[t]=1;this.oFinalLengths[t]=true}if(i&&e[i]){if(Array.isArray(a)){a.forEach(function(e){r._processODataObject(o.getProperty(\"/\"+e),\"/\"+e+\"/\"+i,s.join(\"/\"))})}else if(typeof a===\"object\"){r._processODataObject(e,t+\"/\"+i,s.join(\"/\"))}}};v.prototype._hasTreeAnnotations=function(){var e=this.oModel.oMetadata,i=this.getResolvedPath(),r,o=e.mNamespaces[\"sap\"],a=this;this.oTreeProperties={\"hierarchy-level-for\":false,\"hierarchy-parent-node-for\":false,\"hierarchy-node-for\":false,\"hierarchy-drill-state-for\":false};var n=function(){var e=0;var i=0;s(a.oTreeProperties,function(t,s){i++;if(s){e+=1}});if(e===i){return true}else if(e>0&&e<i){t.warning(\"Incomplete hierarchy tree annotations. Please check your service metadata definition!\")}return false};if(this.mParameters&&this.mParameters.treeAnnotationProperties){this.oTreeProperties[\"hierarchy-level-for\"]=this.mParameters.treeAnnotationProperties.hierarchyLevelFor;this.oTreeProperties[\"hierarchy-parent-node-for\"]=this.mParameters.treeAnnotationProperties.hierarchyParentNodeFor;this.oTreeProperties[\"hierarchy-node-for\"]=this.mParameters.treeAnnotationProperties.hierarchyNodeFor;this.oTreeProperties[\"hierarchy-drill-state-for\"]=this.mParameters.treeAnnotationProperties.hierarchyDrillStateFor;return n()}if(i.indexOf(\"?\")!==-1){i=i.split(\"?\")[0]}r=e._getEntityTypeByPath(i);if(!r){t.fatal(\"EntityType for path \"+i+\" could not be found.\");return false}s(r.property,function(e,t){if(!t.extensions){return true}s(t.extensions,function(e,i){var s=i.name;if(i.namespace===o&&s in a.oTreeProperties&&!a.oTreeProperties[s]){a.oTreeProperties[s]=t.name}});return true});return n()};v.prototype.initialize=function(){if(this.oModel.oMetadata&&this.oModel.oMetadata.isLoaded()&&this.bInitial){if(this.isResolved()){this._initialize(this._fireRefresh.bind(this,{reason:o.Refresh}))}else{this._fireRefresh({reason:o.Refresh})}}return this};v.prototype._initialize=function(e){this.bInitial=false;this.bHasTreeAnnotations=this._hasTreeAnnotations();this.oEntityType=this._getEntityType();this._processSelectParameters();this._applyAdapter(e);return this};v.prototype.setContext=function(e){if(e&&e.isPreliminary()&&!this.bUsePreliminaryContext){return}if(e&&e.isUpdated()&&this.bUsePreliminaryContext&&this.oContext===e){this._fireChange({reason:o.Context});return}if(a.hasChanged(this.oContext,e)){this.oContext=e;if(!this.isRelative()){return}if(this.getResolvedPath()){this.resetData();this._initialize(this._fireChange.bind(this,{reason:o.Context}))}else if(!r(this.oAllKeys)||!r(this.oKeys)||!r(this._aNodes)){this.resetData();this._fireChange({reason:o.Context})}}};v.prototype.applyAdapterInterface=function(){this.getContexts=this.getContexts||function(){return[]};this.getNodes=this.getNodes||function(){return[]};this.getLength=this.getLength||function(){return 0};this.isLengthFinal=this.isLengthFinal||function(){return false};this.getContextByIndex=this.getContextByIndex||function(){return};this.attachSelectionChanged=this.attachSelectionChanged||function(e,t,i){this.attachEvent(\"selectionChanged\",e,t,i);return this};this.detachSelectionChanged=this.detachSelectionChanged||function(e,t){this.detachEvent(\"selectionChanged\",e,t);return this};this.fireSelectionChanged=this.fireSelectionChanged||function(e){this.fireEvent(\"selectionChanged\",e);return this};return this};v.prototype._applyAdapter=function(e){var i,r,o,a,n,h,l=\"sap/ui/model/odata/ODataTreeBindingAdapter\",d=\"hierarchy-node-descendant-count-for\",f=\"hierarchy-preorder-rank-for\",u=\"hierarchy-sibling-rank-for\",p=this;if(!this.bHasTreeAnnotations&&!this.oNavigationPaths){t.error(\"Neither hierarchy annotations, \"+\"nor navigation properties are specified to build the tree.\",this);return}if(this.bHasTreeAnnotations){i=this.getResolvedPath();if(i.indexOf(\"?\")!==-1){i=i.split(\"?\")[0]}r=this.oModel.oMetadata._getEntityTypeByPath(i);s(r.property,function(e,t){if(!t.extensions){return true}s(t.extensions,function(e,i){h=i.name;if(i.namespace===p.oModel.oMetadata.mNamespaces[\"sap\"]&&(h==d||h==u||h==f)){p.oTreeProperties[h]=t.name}});return true});this.oTreeProperties[d]=this.oTreeProperties[d]||this.mParameters.treeAnnotationProperties&&this.mParameters.treeAnnotationProperties.hierarchyNodeDescendantCountFor;if(this.oTreeProperties[d]&&this.sOperationMode==y.Server){this.oTreeProperties[u]=this.oTreeProperties[u]||this.mParameters.treeAnnotationProperties&&this.mParameters.treeAnnotationProperties.hierarchySiblingRankFor;this.oTreeProperties[f]=this.oTreeProperties[f]||this.mParameters.treeAnnotationProperties&&this.mParameters.treeAnnotationProperties.hierarchyPreorderRankFor;if(this.mParameters.restoreTreeStateAfterChange){if(this.oTreeProperties[u]&&this.oTreeProperties[f]){this._bRestoreTreeStateAfterChange=true;this._aTreeKeyProperties=[];for(o=r.key.propertyRef.length-1;o>=0;o--){this._aTreeKeyProperties.push(r.key.propertyRef[o].name)}}else{t.warning(\"Tree state restoration not possible: Missing annotation \"+'\"hierarchy-sibling-rank-for\" and/or '+'\"hierarchy-preorder-rank-for\"');this._bRestoreTreeStateAfterChange=false}}else{this._bRestoreTreeStateAfterChange=false}if(this.mParameters&&this.mParameters.select){if(this.mParameters.select.indexOf(this.oTreeProperties[d])===-1){this.mParameters.select+=\",\"+this.oTreeProperties[d]}if(this._bRestoreTreeStateAfterChange){for(a=this._aTreeKeyProperties.length-1;a>=0;a--){n=this._aTreeKeyProperties[a];if(this.mParameters.select.indexOf(n)===-1){this.mParameters.select+=\",\"+n}}}this.sCustomParams=this.oModel.createCustomParams(this.mParameters)}l=\"sap/ui/model/odata/ODataTreeBindingFlat\"}}sap.ui.require([l],function(t){t.apply(p);e()})};v.prototype._processSelectParameters=function(){if(this.mParameters){this.oNavigationPaths=this.mParameters.navigation;if(this.mParameters.select){var e=this.mParameters.select.split(\",\");var i=[];if(this.oNavigationPaths){s(this.oNavigationPaths,function(e,t){if(i.indexOf(t)==-1){i.push(t)}})}s(i,function(t,i){if(e.indexOf(i)==-1){e.push(i)}});if(this.bHasTreeAnnotations){s(this.oTreeProperties,function(t,i){if(i){if(e.indexOf(i)==-1){e.push(i)}}})}this.mParameters.select=e.join(\",\")}this.sCustomParams=this.oModel.createCustomParams(this.mParameters)}if(!this.bHasTreeAnnotations&&!this.oNavigationPaths){t.error(\"Neither navigation paths parameters, nor (complete/valid) tree hierarchy annotations where provided to the TreeBinding.\");this.oNavigationPaths={}}};v.prototype.getTreeAnnotation=function(e){return this.bHasTreeAnnotations?this.oTreeProperties[e]:undefined};v.prototype.getDownloadUrl=function(e){var t=[],i;if(e){t.push(\"$format=\"+encodeURIComponent(e))}if(this.aSorters&&this.aSorters.length>0){t.push(c.createSortParams(this.aSorters))}if(this.getFilterParams()){t.push(\"$filter=\"+this.getFilterParams())}i Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/ODataMetaModel\", [\"./AnnotationHelper\",\"./ValueListType\",\"./lib/_Helper\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/JSTokenizer\",\"sap/base/util/ObjectPath\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/SyncPromise\",\"sap/ui/model/BindingMode\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/ClientListBinding\",\"sap/ui/model/Context\",\"sap/ui/model/ContextBinding\",\"sap/ui/model/MetaModel\",\"sap/ui/model/PropertyBinding\",\"sap/ui/model/odata/OperationMode\",\"sap/ui/model/odata/type/Boolean\",\"sap/ui/model/odata/type/Byte\",\"sap/ui/model/odata/type/Date\",\"sap/ui/model/odata/type/DateTimeOffset\",\"sap/ui/model/odata/type/Decimal\",\"sap/ui/model/odata/type/Double\",\"sap/ui/model/odata/type/Guid\",\"sap/ui/model/odata/type/Int16\",\"sap/ui/model/odata/type/Int32\",\"sap/ui/model/odata/type/Int64\",\"sap/ui/model/odata/type/Raw\",\"sap/ui/model/odata/type/SByte\",\"sap/ui/model/odata/type/Single\",\"sap/ui/model/odata/type/Stream\",\"sap/ui/model/odata/type/String\",\"sap/ui/model/odata/type/TimeOfDay\",\"sap/ui/thirdparty/URI\"],function(e,t,n,i,r,o,a,s,u,l,f,c,d,p,h,y,g,m,$,v,M,b,O,C,P,E,A,w,S,U,x,T,j,L){\"use strict\";var R=s.extend(\"sap.ui.model.odata.v4._any\",{metadata:{properties:{any:\"any\"}}}),D,I={},V=r.Level.DEBUG,q=Object.freeze({$kind:\"Property\",$Type:\"Edm.Untyped\"}),k={$kind:\"ComplexType\",$OpenType:true,bbox:{$kind:\"Property\",$Type:\"Edm.Double\",$isCollection:true},type:{$kind:\"Property\",$Nullable:false,$Type:\"Edm.String\"}},N={...k,coordinates:{$kind:\"Property\",$Nullable:false,$Type:\"Edm.Double\",$isCollection:true}},B={\"Edm.Geography\":{...k,$Abstract:true},\"Edm.GeographyLineString\":N,\"Edm.GeographyMultiLineString\":N,\"Edm.GeographyMultiPoint\":N,\"Edm.GeographyMultiPolygon\":N,\"Edm.GeographyPoint\":N,\"Edm.GeographyPolygon\":N},_=[\"$count\",\"$selectionCount\",\"@$ui5.node.groupLevelCount\",\"@$ui5.node.level\"],F,G=/\\$\\(/g,W=/^-?\\d+$/,K=\"sap.ui.model.odata.v4.ODataMetaModel\",z=/\\(.*\\)$/,H=new w,Q=/\\$\\)/g,J={messageChange:true},X={\"Edm.Boolean\":{Type:m},\"Edm.Byte\":{Type:$},\"Edm.Date\":{Type:v},\"Edm.DateTimeOffset\":{constraints:{$Precision:\"precision\"},Type:M},\"Edm.Decimal\":{constraints:{\"@Org.OData.Validation.V1.Minimum/$Decimal\":\"minimum\",\"@Org.OData.Validation.V1.Minimum@Org.OData.Validation.V1.Exclusive\":\"minimumExclusive\",\"@Org.OData.Validation.V1.Maximum/$Decimal\":\"maximum\",\"@Org.OData.Validation.V1.Maximum@Org.OData.Validation.V1.Exclusive\":\"maximumExclusive\",$Precision:\"precision\",$Scale:\"scale\"},Type:b},\"Edm.Double\":{Type:O},\"Edm.Guid\":{Type:C},\"Edm.Int16\":{Type:P},\"Edm.Int32\":{Type:E},\"Edm.Int64\":{Type:A},\"Edm.SByte\":{Type:S},\"Edm.Single\":{Type:U},\"Edm.Stream\":{Type:x},\"Edm.String\":{constraints:{\"@com.sap.vocabularies.Common.v1.IsDigitSequence\":\"isDigitSequence\",$MaxLength:\"maxLength\"},Type:T},\"Edm.TimeOfDay\":{constraints:{$Precision:\"precision\"},Type:j}},Y={},Z=\"@com.sap.vocabularies.Common.v1.ValueList\",ee=\"@com.sap.vocabularies.Common.v1.ValueListMapping\",te=\"@com.sap.vocabularies.Common.v1.ValueListReferences\",ne=\"@com.sap.vocabularies.Common.v1.ValueListRelevantQualifiers\",ie=\"@com.sap.vocabularies.Common.v1.ValueListWithFixedValues\",re=r.Level.WARNING,oe,ae=h.extend(\"sap.ui.model.odata.v4.ODataMetaModel\",{constructor:pe}),se,ue;function le(e,t){if(e===t){return\"\"}if(e.startsWith(t)&&e[t.length]===\"#\"&&!e.includes(\"@\",t.length)){return e.slice(t.length+1)}}function fe(e){var t=le(e,ee);return t!==undefined?t:le(e,Z)}function ce(e,t){return t.some(function(t){return e===\"$ReturnType\"?t.$ReturnType:t.$Parameter&&t.$Parameter.some(function(t){return t.$Name===e})})}function de(e){return e.slice(0,e.lastIndexOf(\".\")+1)}oe=p.extend(\"sap.ui.model.odata.v4.ODataMetaContextBinding\",{constructor:function(e,t,n){i(!n||n.getModel()===e,\"oContext must belong to this model\");p.call(this,e,t,n)},initialize:function(){var e=this.oModel.createBindingContext(this.sPath,this.oContext);this.bInitial=false;if(e!==this.oElementContext){this.oElementContext=e;this._fireChange()}},setContext:function(e){i(!e||e.getModel()===this.oModel,\"oContext must belong to this model\");if(e!==this.oContext){this.oContext=e;if(!this.bInitial){this.initialize()}}}});se=c.extend(\"sap.ui.model.odata.v4.ODataMetaListBinding\",{constructor:function(){c.apply(this,arguments)},_fireFilter:function(){},_fireSort:function(){},checkUpdate:function(e){var t=this.oList.length;this.update();if(e||this.oList.length!==t){this._fireChange({reason:f.Change})}},fetchContexts:function(){var e,t=this.getResolvedPath(),n=this;if(!t){return u.resolve([])}e=t.endsWith(\"@\");if(!e&&!t.endsWith(\"/\")){t+=\"/\"}return this.oModel.fetchObject(t).then(function(i){if(!i){return[]}if(e){t=t.slice(0,-1)}return Object.keys(i).filter(function(t){return t[0]!==\"$\"&&e!==(t[0]!==\"@\")}).map(function(e){return new d(n.oModel,t+e)})})},getContexts:function(e,t){this.iCurrentStart=e||0;this.iCurrentLength=Math.min(t||Infinity,this.iLength-this.iCurrentStart);return this.getCurrentContexts()},getCurrentContexts:function(){var e=[],t,n=this.iCurrentStart+this.iCurrentLength;for(t=this.iCurrentStart;t<n;t+=1){e.push(this.oList[this.aIndices[t]])}if(this.oList.dataRequested){e.dataRequested=true}return e},setContexts:function(e){this.oList=e;this.updateIndices();this.applyFilter();this.applySort();this.iLength=this._getLength()},update:function(){var e=[],t=this.fetchContexts(),n=this;if(t.isFulfilled()){e=t.getResult()}else{t.then(function(e){n.setContexts(e);n._fireChange({reason:f.Change})});e.dataRequested=true}this.setContexts(e)}});ue=y.extend(\"sap.ui.model.odata.v4.ODataMetaPropertyBinding\",{constructor:function(){y.apply(this,arguments);this.vValue=undefined},checkUpdate:function(e,t){var n,i=this;function r(n){if(e||n!==i.vValue){i.vValue=n;i._fireChange({reason:t||f.Change})}return n}n=this.oModel.fetchObject(this.sPath,this.oContext,this.mParameters).then(r);if(this.mParameters&&this.mParameters.$$valueAsPromise&&n.isPending()){r(n.unwrap())}else if(n.isRejected()){n.unwrap()}},getValue:function(){return this.vValue},setContext:function(e){if(this.oContext!==e){this.oContext=e;if(this.bRelative){this.checkUpdate(false,f.Context)}}},setValue:function(){throw new Error(\"Unsupported operation: ODataMetaPropertyBinding#setValue\")}});function pe(e,t,n,i,r,o){h.call(this);this.aAnnotationUris=n&&!Array.isArray(n)?[n]:n;this.sDefaultBindingMode=l.OneTime;this.mETags={};this.sForbiddenSchema=undefined;this.sLanguage=o;this.oLastModified=new Date(0);this.oMetadataPromise=null;this.oMetaModelForAnnotations=null;this.oModel=i;this.mMetadataUrl2Promise={};this.oRequestor=e;this.mSchema2MetadataUrl={};this.mSharedModelByUrl={};this.mSupportedBindingModes={OneTime:true,OneWay:true};this.bSupportReferences=r!==false;this.mUnsupportedFilterOperators={All:true,Any:true,NotAll:true,NotAny:true};this.sUrl=t}ae.prototype.$$valueAsPromise=true;ae.prototype._addUrlForSchema=function(e,t,n){var i,r=this.mSchema2MetadataUrl[e];if(!r){r=this.mSchema2MetadataUrl[e]={};r[t]=false}else if(!(t in r)){i=Object.keys(r)[0];if(r[i]){this._reportAndThrowError(\"A schema cannot span more than one document: \"+e+\" - expected reference URI \"+i+\" but instead saw \"+t,n)}r[t]=false}};ae.prototype._changeAnnotations=function(e){if(this.oMetaModelForAnnotations){Object.keys(e).forEach(t=>{if(e[t].$kind===\"Schema\"){this._doMergeAnnotations({$Annotations:this.oMetaModelForAnnotations._getAnnotationsForSchema(t)},e.$Annotations,true)}})}this.aAnnotationChanges?.forEach(({path:t,value:n})=>{const i=t.indexOf(\"@\");const r=this.getObject(t.slice(0,i)+\"@$ui5.target\");if(r){e.$Annotations[r]??={};e.$Annotations[r][t.slice(i)]=n}})};ae.prototype._copyAnnotations=function(e){if(this.aAnnotationUris){throw new Error(\"Must not copy annotations when there are local annotation files\")}this.oMetaModelForAnnotations=e};ae.prototype._doMergeAnnotations=function(e,t,n){let i=false;function r(e,t){for(const r in t){if(n||!(r in e)){e[r]=t[r];i=true}}}for(const n in e.$Annotations){t[n]??={};r(t[n],e.$Annotations[n])}delete e.$Annotations;return i};ae.prototype._getAnnotationsForSchema=function(e){const t={};const n=this.fetchEntityContainer().getResult();Object.keys(n.$Annotations).forEach(i=>{if(i.startsWith(e)){t[i]=n.$Annotations[i]}});return t};ae.prototype._getOrFetchSchema=function(e,t,n){var i,r,o,a,s=this;function l(i){if(!(t in i)){n(re,r,\" does not contain \",t);return}n(V,\"Including \",t,\" from \",r);let o=false;for(const n in i){if(n[0]!==\"$\"&&de(n)===t){e[n]=i[n];if(s._doMergeAnnotations(e[n],e.$Annotations)){o=true}}}if(o){s._changeAnnotations(e)}}if(t in e){return e[t]}a=this.mSchema2MetadataUrl[t];if(a){o=Object.keys(a);if(o.length>1){this._reportAndThrowError(\"A schema cannot span more than one document: \"+\"schema is referenced by following URLs: \"+o.join(\", \"),t)}r=o[0];a[r]=true;n(V,\"Namespace \",t,\" found in $Include of \",r);i=this.mMetadataUrl2Promise[r];if(!i){n(V,\"Reading \",r);i=this.mMetadataUrl2Promise[r]=u.resolve(this.oRequestor.read(r)).then(this.validate.bind(this,r))}i=i.then(l);if(t in e){return e[t]}e[t]=i;return i}};ae.prototype._mergeAnnotations=function(e,t){var n=this;this.validate(this.sUrl,e);e.$Annotations={};Object.keys(e).forEach(function(t){if(e[t].$kind===\"Schema\"){n._addUrlForSchema(t,n.sUrl);n._doMergeAnnotations(e[t],e.$Annotations)}});t.forEach(function(t,i){var r,o;n.validate(n.aAnnotationUris[i],t);for(o in t){if(o[0]!==\"$\"){if(o in e){n._reportAndThrowError(\"A schema cannot span more than one document: \"+o,n.aAnnotationUris[i])}r=t[o];e[o]=r;if(r.$kind===\"Schema\"){n._addUrlForSchema(o,n.aAnnotationUris[i]);n._doMergeAnnotations(r,e.$Annotations,true)}}}})};ae.prototype._reportAndThrowError=function(e,t){var n=new Error(t+\": \"+e);this.oModel.reportError(e,K,n);throw n};ae.prototype._setForbiddenSchema=function(e){this.sForbiddenSchema=e};ae.prototype.attachEvent=function(e,t,n,i){if(!(e in J)){throw new Error(\"Unsupported event '\"+e+\"': v4.ODataMetaModel#attachEvent\")}return h.prototype.attachEvent.apply(this,arguments)};ae.prototype.bindContext=function(e,t){return new oe(this,e,t)};ae.prototype.bindList=function(e,t,n,i){return new se(this,e,t,n,i)};ae.prototype.bindProperty=function(e,t,n){return new ue(this,e,t,n)};ae.prototype.bindTree=function(e,t,n,i,r){throw new Error(\"Unsupported operation: v4.ODataMetaModel#bindTree\")};ae.prototype.destroy=function(){this.oMetaModelForAnnotations=undefined;Object.values(this.mSharedModelByUrl).forEach(e=>e.destroy());this.mSharedModelByUrl=undefined;h.prototype.destroy.apply(this)};ae.prototype.fetchCanonicalPath=function(e){return this.fetchUpdateData(\"\",e).then(function(t){if(!t.editUrl){throw new Error(e.getPath()+\": No canonical path for transient entity\")}if(t.propertyPath){throw new Error(\"Context \"+e.getPath()+\" does not point to an entity. It should be \"+t.entityPath)}return\"/\"+t.editUrl})};ae.prototype.fetchData=function(){return this.fetchEntityContainer().then(function(e){return JSON.parse(JSON.stringify(e))})};ae.prototype.fetchEntityContainer=function(e){var t,n=this;if(!this.oMetadataPromise){t=[u.resolve(this.oRequestor.read(this.sUrl,false,e))];if(this.aAnnotationUris){this.aAnnotationUris.forEach(function(i){t.push(u.resolve(n.oRequestor.read(i,true,e)))})}if(!e){t.push(this.oModel._requestAnnotationChanges());this.oMetadataPromise=u.all(t).then(function(e){var t=Object.assign(e[0],B);n.aAnnotationChanges=e.pop();n._mergeAnnotations(t,e.slice(1));return t});this.oMetadataPromise.then(e=>this._changeAnnotations(e),()=>{})}}return this.oMetadataPromise};ae.prototype.fetchObject=function(e,t,n){var i=this.resolve(e,t),s=this;if(!i){r.error(\"Invalid relative path w/o context\",e,K);return u.resolve(null)}return this.fetchEntityContainer().then(function(l){var f,c,p,h,y,g,m,$,v,M,b;function O(e,t,n=\"\"){var i,r,o,a,s=\"\";if(t){r=t.indexOf(\"@@\");if(r>0){t=t.slice(0,r)}}else{t=e}if(f){$=a=b.filter(E);if(a.length!==1){return A(re,\"Expected a single overload, but found \",a.length)}if(f!==Y){s=a[0].$Parameter[0].$isCollection?\"Collection(\"+f+\")\":f}o=M+\"(\"+s+\")\"+n;if(l.$Annotations[o]){if(t===\"@\"){b=l.$Annotations[o];i=l.$Annotations[M+n];if(i){b=Object.assign({},i,b)}return false}if(t in l.$Annotations[o]){M=o;b=l;return true}}}M+=n;b=l;return true}function C(e,t){var i,r,u,l=e.indexOf(\"@\",2);if(l>-1){return A(re,\"Unsupported path after \",e.slice(0,l))}e=e.slice(2);u=e.indexOf(\"(\");if(u>0){if(!e.endsWith(\")\")){return A(re,\"Expected ')' instead of '\",e.slice(-1),\"'\")}try{r=o.parseJS(\"[\"+e.slice(u+1,-1).replace(G,\"{\").replace(Q,\"}\")+\"]\")}catch(e){return A(re,e.message,\": \",e.text.slice(1,e.at),\"<--\",e.text.slice(e.at,-1))}e=e.slice(0,u)}i=e[0]===\".\"?a.get(e.slice(1),n.scope):n&&a.get(e,n.scope)||(e===\"requestCurrencyCodes\"||e===\"requestUnitsOfMeasure\"?s[e].bind(s):a.get(e));if(typeof i!==\"function\"){return A(re,e,\" is not a function but: \"+i)}try{b=i(b,{$$valueAsPromise:n&&n.$$valueAsPromise,arguments:r,context:new d(s,t),schemaChildName:v,overload:$.length===1?$[0]:undefined})}catch(t){A(re,\"Error calling \",e,\": \",t)}return true}function P(e,t){var n;if(e===\"$ReturnType\"){if(t.$ReturnType){b=t.$ReturnType;return true}}else if(e&&t.$Parameter){n=t.$Parameter.filter(function(t){return t.$Name===e});if(n.length){b=n[0];return true}}return false}function E(e){return!e.$IsBound&&f===Y||e.$IsBound&&f===e.$Parameter[0].$Type}function A(e){var t;if(r.isLoggable(e,K)){t=Array.isArray(h)?h.join(\"/\"):h;r[e===V?\"debug\":\"warning\"](Array.prototype.slice.call(arguments,1).join(\"\")+(t?\" at /\"+t:\"\"),i,K)}if(e===re){b=undefined}return false}function w(e,t){var n;function r(){h??=M&&t&&M+\"/\"+t;return A.apply(this,arguments)}f=b&&b.$Type||f;if(s.bSupportReferences&&!(e in l)){if(i.endsWith(\"@$ui5.target\")){b=undefined;return false}n=de(e);if(n===s.sForbiddenSchema){return r(re,\"Must not access schema '\",n,\"' from meta model for \",s.sUrl)}b=s._getOrFetchSchema(l,n,r)}if(e in l){M=y=v=e;b=$=l[v];if(!u.isThenable(b)){m=b.$OpenType;return true}}if(u.isThenable(b)&&b.isPending()){return r(V,\"Waiting for \",n)}return r(re,\"Unknown qualified name \",e)}function S(e,t,n){var i,r,o;if(e===\"$Annotations\"){return A(re,\"Invalid segment: $Annotations\")}e=e.replaceAll(\"%2F\",\"/\");if(t&&typeof b===\"object\"&&e in b){if(e[0]===\"$\"||W.test(e)){g=false}}else{i=e.indexOf(\"@@\");if(i<0){if(e.endsWith(\"@sapui.name\")){i=e.length-11}else{i=e.indexOf(\"@\")}}if(i>0){if(!S(e.slice(0,i),t,n)){return false}e=e.slice(i);o=true;if(b&&(b.$kind===\"EntitySet\"||b.$kind===\"Singleton\")){c=b}}if(typeof b===\"string\"&&!(o&&(e===\"@sapui.name\"||e[1]===\"@\"))&&!(g&&$&&$.$kind===\"EnumType\")&&!U(b,n.slice(0,t))){return false}if(g){if(e[0]===\"$\"&&e!==\"$Parameter\"&&e!==\"$ReturnType\"||W.test(e)){g=false}else{r=typeof b===\"object\";if(o){}else if(e[0]!==\"@\"&&e.includes(\".\",1)){return w(e)}else if(r&&\"$Type\"in b){if(m&&b.$Type===\"Edm.Untyped\"){y=undefined}else if(!w(b.$Type,\"$Type\")){return false}}else if(r&&\"$Action\"in b){if(!w(b.$Action,\"$Action\")){return false}f=Y}else if(r&&\"$Function\"in b){if(!w(b.$Function,\"$Function\")){return false}f=Y}else if(!t){M=y=v??=l.$EntityContainer;b=$??=l[v];if(Array.isArray(b)){if(f){b=b.filter(E)}if(P(e,b[0])){return true}}if(e&&e[0]!==\"@\"&&!(e in $)){return A(re,\"Unknown child \",e,\" of \",v)}}if(Array.isArray(b)){if(e===\"$Parameter\"){return true}if(e.startsWith(\"@$ui5.overload@\")){e=e.slice(14);o=true}if(o){if(e[1]!==\"@\"&&!O(e)){return false}}else{if(e!==n[t]&&n[t][e.length+1]!==\"@\"&&ce(e,b)){y=e;return O(e,n[t].slice(e.length),\"/\"+y)}if(f){b=b.filter(E)}if(e===\"@$ui5.overload\"){return true}if(b.length!==1){return A(re,\"Expected a single overload, but found Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.define([\"sap/base/config\"],e=>{\"use strict\";const i=e.getWritableInstance();const t={getFlexibilityServices(){const e=[{url:\"/sap/bc/lrep\",connector:\"LrepConnector\"}];const t=i.get({name:\"sapUiFlexibilityServices\",type:i=>{if(typeof i===\"string\"){if(i===\"\"){return[]}if(i[0]===\"/\"){e[0].url=i;i=e}else{i=JSON.parse(i)}}return i||[]},defaultValue:e,external:false});return t},setFlexibilityServices(e){i.set(\"sapUiFlexibilityServices\",e.slice())}};return t});\n//# sourceMappingURL=FlexConfiguration.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.define([\"sap/base/util/each\",\"sap/base/Log\",\"sap/ui/fl/Layer\",\"sap/ui/fl/requireAsync\"],function(e,n,r,t){\"use strict\";const a={};let o={};let l={};let i={};let s={};const c=\"defaultForAll\";const u={VENDOR:true,CUSTOMER_BASE:true,CUSTOMER:true,PUBLIC:false,USER:false};const f={VENDOR:true,CUSTOMER_BASE:true,CUSTOMER:false,PUBLIC:false,USER:false};function h(e){if(!e.changeHandler){n.error(\"sap.ui.fl.registry.ChangeRegistryStorage: changeHandler required\");return false}return true}async function g(e){if(typeof e.changeHandler===\"string\"){const n=await t(e.changeHandler.replace(/\\./g,\"/\"));e.changeHandler=n}return e.changeHandler}function d(e,n){let r={};if(!n||!n.changeHandler){r.changeHandler=n}else{r=n}if(r.changeHandler===\"default\"){r.changeHandler=i.defaultChangeHandlers[e]}else if(Object.keys(i.developerChangeHandlers||{}).includes(e)){throw Error(`You can't use a custom change handler for the following Developer Mode change type: ${e}. Please use 'default' instead.`)}return r}function y(n){l={};e(n,function(e,n){const r={controlType:\"defaultActiveForAll\",changeHandler:n,layers:{...f},changeType:e};l[e]=r})}function p(n,r,t){t=d(r,t);const a={...u};if(t.layers){e(t.layers,function(e,n){if(a[e]===undefined){throw Error(`The Layer '${e}' is not supported. Please only use supported layers`)}a[e]=n})}const o={controlType:n,changeHandler:t.changeHandler,layers:a,changeType:r};return h(o)?o:undefined}function C(e,n,r){const t=p(e,n,r);if(t){o[e]||={};o[e][n]=t}}function H(r,a){let o=Promise.resolve(a);const l=\"ChangeHandlerStorage.registerChangeHandlersForControl.skip_next_then\";if(typeof a===\"string\"){o=t(`${a}.flexibility`).catch(function(e){n.error(`Flexibility change handler registration failed.\\nControlType: ${r}\\n${e.message}`);return Promise.resolve(l)})}return o.then(function(n){if(n!==l){e(n,function(e,n){C(r,e,n)})}}).catch(function(e){n.error(e.message)})}function E(e,n,t){const a=o[e]&&o[e][n]||l[n];if(!a){throw Error(\"No Change handler registered for the Control and Change type\")}t=t===r.PUBLIC?r.USER:t;if(!a.layers[t]){throw Error(`Change type ${n} not enabled for layer ${t}`)}return a}function T(e,r,a,o){const l=o.getChangeHandlerModulePath(a);if(typeof l!==\"string\"){return Promise.resolve(undefined)}return t(l).then(function(n){const t=n[e];if(t){return p(r,e,t)}}).catch(function(e){n.error(`Flexibility registration for control ${o.getId(a)} failed to load module ${l}\\n${e.message}`)})}a.getChangeHandler=function(e,n,r,t,a){return T(e,n,r,t).then(function(r){const t=r||E(n,e,a);return g(t)}).then(function(e){if(typeof e.completeChangeContent!==\"function\"||typeof e.applyChange!==\"function\"||typeof e.revertChange!==\"function\"){throw new Error(\"The ChangeHandler is either not available or does not have all required functions\")}return e})};a.registerPredefinedChangeHandlers=function(e,n){i.defaultChangeHandlers=e;i.developerChangeHandlers=n;y(n)};a.registerChangeHandlersForLibrary=function(n){const r=[];e(n,function(e,n){r.push(H(e,n))});return Promise.all(r)};a.clearAll=function(){o={};l={};i={};s={}};a.registerChangeHandlersForControl=function(e,n){return H(e,n)};a.registerAnnotationChangeHandler=function(e){const n=e.isDefaultChangeHandler?c:e.changeType;s[n]={changeHandler:e.changeHandler}};a.getAnnotationChangeHandler=function(e){const n=s[e.changeType]||s[c];if(!n){throw Error(\"No Annotation Change handler registered for the Change type and Model type\")}return g(n)};return a});\n//# sourceMappingURL=ChangeHandlerStorage.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.define([\"sap/ui/core/Lib\",\"sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage\",\"sap/ui/fl/changeHandler/AddXML\",\"sap/ui/fl/changeHandler/AddXMLAtExtensionPoint\",\"sap/ui/fl/changeHandler/HideControl\",\"sap/ui/fl/changeHandler/MoveControls\",\"sap/ui/fl/changeHandler/MoveElements\",\"sap/ui/fl/changeHandler/PropertyBindingChange\",\"sap/ui/fl/changeHandler/PropertyChange\",\"sap/ui/fl/changeHandler/StashControl\",\"sap/ui/fl/changeHandler/UnhideControl\",\"sap/ui/fl/changeHandler/UnstashControl\"],function(e,n,a,r,t,i,o,s,l,d,g,h){\"use strict\";var u={hideControl:t,moveElements:o,moveControls:i,stashControl:d,unhideControl:g,unstashControl:h};var f={addXML:a,addXMLAtExtensionPoint:r,propertyBindingChange:s,propertyChange:l};var c={};function C(e,n){c[e]=n;n.catch(function(){}).then(function(){delete c[e]})}function H(e){return n.registerChangeHandlersForLibrary(e)}function p(e){if(e.getParameter(\"operation\")===\"add\"){var n=e.getParameter(\"metadata\");var a=n.sName;var r=n&&n.extensions&&n.extensions.flChangeHandlers;if(r){var t=H(r);C(a,t)}}}var v={getChangeHandlersOfLoadedLibsAndRegisterOnNewLoadedLibs(){var n=e.all();e.attachLibraryChanged(p);var a=[];Object.values(n).forEach(function(e){if(e.extensions&&e.extensions.flChangeHandlers){a.push(H(e.extensions.flChangeHandlers))}});return Promise.all(a)},waitForChangeHandlerRegistration(e){if(c[e]){return c[e].catch(function(){})}return Promise.resolve()},registerPredefinedChangeHandlers(){n.registerPredefinedChangeHandlers(u,f)},registerAnnotationChangeHandler(e){n.registerAnnotationChangeHandler(e)},getAnnotationChangeHandler(e){return n.getAnnotationChangeHandler(e)}};return v});\n//# sourceMappingURL=ChangeHandlerRegistration.js.map" Copyright 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n\t*/\nsap.ui.define([\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/ui/fl/changeHandler/UnstashControl\"],function(e,t){\"use strict\";var r=Object.assign({},t);r.getChangeVisualizationInfo=function(t,r){var n=t.getSelector();var a=e.bySelector(n,r);var o=a.getParent().getAggregation(\"_anchorBar\");var i=[n];var g=[n];o.getAggregation(\"items\").forEach(function(e){if(a.getId()===e.getKey()){g.push(e.getId())}});return{affectedControls:i,displayControls:g}};return r},true);\n//# sourceMappingURL=UnstashObjectPageSection.js.map" Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}.sapFAvatarGroup{width:100%;overflow:hidden;padding:0.0625rem;margin:0;display:inline-block;white-space:nowrap;max-width:100%}.sapFAvatarGroup.sapFAvatarGroupXS{min-width:2rem;max-height:2.00625rem}.sapFAvatarGroup.sapFAvatarGroupS{min-width:3rem;max-height:3.00625rem}.sapFAvatarGroup.sapFAvatarGroupM{min-width:4rem;max-height:4.00625rem}.sapFAvatarGroup.sapFAvatarGroupL{min-width:5rem;max-height:5.00625rem}.sapFAvatarGroup.sapFAvatarGroupXL{min-width:7rem;max-height:7.00625rem}.sapFAvatarGroup:focus{outline:.125rem solid #0032a5}.sapFAvatarGroupGroup{cursor:pointer}.sapFAvatarGroupGroup .sapFAvatarGroupItem{display:inline-block}.sapFAvatarGroupNonInteractive{pointer-events:none}.sapFAvatarGroupNonInteractive.sapFAvatarGroupIndividual .sapFAvatarGroupItem{pointer-events:none}.sapFAvatarGroupIndividual{pointer-events:none}.sapFAvatarGroupIndividual .sapFAvatar{pointer-events:none}.sapFAvatarGroupIndividual .sapFAvatarGroupMoreButton{pointer-events:all;cursor:pointer}.sapFAvatarGroupIndividual .sapFAvatarGroupItem{pointer-events:all;display:inline-block;cursor:pointer;padding:0;margin:0}.sapFAvatarGroupIndividual .sapFAvatarGroupItem:focus{outline:.125rem solid #0032a5}.sapFAvatarGroupIndividual .sapFAvatarGroupItemXS{height:2rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemXS.sapFAvatarGroupItem:not(:last-child){margin-right:0.0625rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemS{height:3rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemS.sapFAvatarGroupItem:not(:last-child){margin-right:0.125rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemM{height:4rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemM.sapFAvatarGroupItem:not(:last-child){margin-right:0.125rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemL{height:5rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemL.sapFAvatarGroupItem:not(:last-child){margin-right:0.25rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemXL{height:7rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemXL.sapFAvatarGroupItem:not(:last-child){margin-right:0.25rem}.sapFAvatarGroupIndividual .sapFAvatarGroupItemCustom{height:inherit}.sapFAvatarGroupIndividual .sapFAvatarGroupItemCustom.sapFAvatarGroupItem:not(:last-child){margin-right:0.125rem}.sapFAvatarGroupGroup:not(.sapFAvatarGroupShowMore){pointer-events:all}.sapFAvatarGroupGroup .sapFAvatarGroupItem:not(:last-child).sapFAvatarGroupItemXS{margin-right:-0.5rem}.sapFAvatarGroupGroup .sapFAvatarGroupItem:not(:last-child).sapFAvatarGroupItemS{margin-right:-1.25rem}.sapFAvatarGroupGroup .sapFAvatarGroupItem:not(:last-child).sapFAvatarGroupItemM{margin-right:-1.625rem}.sapFAvatarGroupGroup .sapFAvatarGroupItem:not(:last-child).sapFAvatarGroupItemL{margin-right:-2rem}.sapFAvatarGroupGroup .sapFAvatarGroupItem:not(:last-child).sapFAvatarGroupItemXL{margin-right:-2.75rem}.sapFAvatarGroupGroup .sapFAvatarGroupItem:not(:last-child).sapFAvatarGroupItemCustom{margin-right:var(--sapUiAvatarGroupCustomMarginRight)}.sapFAvatarGroupGroup .sapFAvatar,.sapFAvatarGroupGroup .sapFAvatarGroupMoreButton{pointer-events:none}.sapFAvatarGroupMoreButton.sapMBtn{padding:0}.sapFAvatarGroupMoreButton.sapMBtn:focus .sapMBtnFocusDiv{border:none}.sapFAvatarGroupMoreButton.sapMBtn:focus>.sapMBtnInner.sapMFocusable.sapMIE{outline:.125rem solid #0032a5}.sapFAvatarGroupMoreButton.sapMBtn:focus>.sapMFocusable.sapMBtnInner{outline-offset:0}.sapFAvatarGroupMoreButton .sapMBtnInner{border-radius:50%}.sapMBtn.sapFAvatarGroupMoreButton.sapFAvatarGroupMoreButtonXS{height:2rem}.sapMBtn.sapFAvatarGroupMoreButton.sapFAvatarGroupMoreButtonS{height:3rem}.sapMBtn.sapFAvatarGroupMoreButton.sapFAvatarGroupMoreButtonM{height:4rem}.sapMBtn.sapFAvatarGroupMoreButton.sapFAvatarGroupMoreButtonL{height:5rem}.sapMBtn.sapFAvatarGroupMoreButton.sapFAvatarGroupMoreButtonXL{height:7rem}.sapMBtn.sapFAvatarGroupMoreButton.sapFAvatarGroupMoreButtonCustom{height:inherit;min-width:inherit;font-size:inherit;line-height:inherit}.sapFAvatarGroupMoreButtonXS .sapMBtnInner{height:2rem;min-width:2rem;font-size:0.75rem}.sapFAvatarGroupMoreButtonXS .sapMBtnInner .sapMBtnContent{line-height:2rem}.sapFAvatarGroupMoreButtonS .sapMBtnInner{height:3rem;min-width:3rem;font-size:1.125rem}.sapFAvatarGroupMoreButtonS .sapMBtnInner .sapMBtnContent{line-height:3rem}.sapFAvatarGroupMoreButtonM .sapMBtnInner{height:4rem;min-width:4rem;font-size:1.625rem}.sapFAvatarGroupMoreButtonM .sapMBtnInner .sapMBtnContent{line-height:4rem}.sapFAvatarGroupMoreButtonL .sapMBtnInner{height:5rem;min-width:5rem;font-size:2rem}.sapFAvatarGroupMoreButtonL .sapMBtnInner .sapMBtnContent{line-height:5rem}.sapFAvatarGroupMoreButtonXL .sapMBtnInner{height:7rem;min-width:7rem;font-size:2.75rem}.sapFAvatarGroupMoreButtonXL .sapMBtnInner .sapMBtnContent{line-height:7rem}.sapFAvatarGroupMoreButtonCustom .sapMBtnInner{height:inherit;min-width:inherit;font-size:inherit}.sapFAvatarGroupMoreButtonCustom .sapMBtnInner .sapMBtnContent{line-height:inherit}.sapFCard .sapFCardContentCalendarPlaceholder .sapFCardLoadingShimmer{background-size:unset}.sapFCardCalendarContent.sapMPCInCardTwoColumns .sapFCardContentCalendarPlaceholder{display:flex}.sapFCardContentCalendarPlaceholder .sapFCardContentCalendarPartPlaceholder{height:13rem;min-width:18rem;margin:1rem}.sapFCardContentCalendarPlaceholder .sapFCardContentLegendItemsListPlaceholder{column-width:9rem}.sapFCardContentCalendarPlaceholder .sapFCardContentItemsListPlaceholder{margin:1rem}.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem{height:4.75rem;display:block}.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem.sapFCardListPlaceholderLegendItem{width:15rem;height:1.75rem}.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem.sapFCardListPlaceholderLegendItem .sapFCardListPlaceholderImg,.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem.sapFCardListPlaceholderLegendItem .sapFCardListPlaceholderRows{display:inline-block}.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem.sapFCardListPlaceholderLegendItem .sapFCardListPlaceholderImg{margin:0.5rem 0.5rem 0.5rem 0;height:1rem;width:1rem}.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem.sapFCardListPlaceholderLegendItem .sapFCardListPlaceholderRows{width:8rem}.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem.sapFCardListPlaceholderLegendItem .sapFCardListPlaceholderRows .sapFCardListPlaceholderRow{width:6rem;margin-left:0}.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem .sapFCardListPlaceholderFromTo{height:1rem;width:5rem;display:inline-block}.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem .sapFCardListPlaceholderRows .sapFCardListPlaceholderRow{height:1rem;width:8rem;margin-left:2rem}.sapFCardContentCalendarPlaceholder .sapFCardListPlaceholderItem .sapFCardListPlaceholderRows .sapFCardListPlaceholderRow.sapFCardListPlaceholderTextRow{height:0.75rem;width:6rem}.sapUiSizeCompact .sapFCardContentCalendarPlaceholder .sapFCardContentItemsListPlaceholder .sapFCardListPlaceholderItem{height:4.75rem}.sapFCard{position:relative;display:inline-flex;flex-direction:column;vertical-align:top;box-sizing:border-box;background:var(--sapTile_Background);box-shadow:var(--sapContent_Shadow0);border-radius:var(--sapTile_BorderCornerRadius);border:.0625rem solid var(--sapTile_BorderColor);width:100%;height:auto;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapGroup_TitleTextColor);outline:none}.sapFCardTransparent.sapFCard,ui-integration-card.sapFCardTransparent>[data-sap-ui-area]>.sapFCard{border:none;border-radius:0;background:transparent;box-shadow:unset;overflow:visible}.sapFCardTransparent.sapFCard>.sapFCardContent,ui-integration-card.sapFCardTransparent>[data-sap-ui-area]>.sapFCard>.sapFCardContent{overflow:visible}.sapFCardTransparent.sapFCard>.sapFCardHeader,ui-integration-card.sapFCardTransparent>[data-sap-ui-area]>.sapFCard>.sapFCardHeader,.sapFCardTransparent.sapFCard>.sapFCardFilterBar,ui-integration-card.sapFCardTransparent>[data-sap-ui-area]>.sapFCard>.sapFCardFilterBar,.sapFCardTransparent.sapFCard>.sapFCardFooter,ui-integration-card.sapFCardTransparent>[data-sap-ui-area]>.sapFCard>.sapFCardFooter{background:transparent;border:none;border-radius:0}.sapFCardTransparent.sapFCard>.sapFCardFooter .sapMTB,ui-integration-card.sapFCardTransparent>[data-sap-ui-area]>.sapFCard>.sapFCardFooter .sapMTB{background:transparent}.sapFCardMaxItems>.sapMGrowingList,.sapFCardMaxItems .sapSuiteUiCommonsTimelineShowMoreWrapper{display:none}.sapFCard .sapFCardFilterBar{padding:.5rem 1rem;background:var(--sapTile_Background);border-bottom:.0625rem solid var(--sapTile_SeparatorColor)}.sapFCard .sapFCardFilterBar .sapFCardFilterBarContent{overflow:hidden}.sapFCard .sapFCardFilterBar .sapFCardFilterBarContent.sapFCardFilterBarAFLayout{column-gap:0.5rem}.sapFCard .sapFCardFilterBar .sapFCardFilterBarContent:not(.sapFCardFilterBarAFLayout) .sapFCardFilter{max-width:100%}.sapFCard .sapFCardFilterBar .sapFCardFilterBarContent:not(.sapFCardFilterBarAFLayout) .sapFCardFilter .sapFCardDateRangeField{width:14rem;max-width:100%}.sapFCard .sapFCardHeader{border-bottom:.0625rem solid var(--sapTile_SeparatorColor);border-radius:var(--sapTile_BorderCornerRadius) var(--sapTile_BorderCornerRadius) 0 0}.sapFCard .sapFCardHeader .sapFCardHeaderMainPart{border-radius:var(--sapTile_BorderCornerRadius) var(--sapTile_BorderCornerRadius) 0 0}.sapFCard .sapFCardIcon.sapFAvatar{margin-right:0.75rem}.sapFCard .sapFCardIcon.sapFAvatar:not(.sapFAvatarImage):not(.sapFAvatarInitials){border:none}.sapFCard.sapFCardBottomHeader .sapFCardHeader{border-top:.0625rem solid var(--sapTile_SeparatorColor);border-bottom:none;border-radius:0 0 var(--sapTile_BorderCornerRadius) var(--sapTile_BorderCornerRadius)}.sapFCard.sapFCardBottomHeader .sapFCardHeader .sapFCardHeaderMainPart{border-radius:0}.sapFCard.sapFCardBottomHeader .sapFCardHeader.sapFCardHeaderMainPartOnly .sapFCardHeaderMainPart{border-radius:0 0 var(--sapTile_BorderCornerRadius) var(--sapTile_BorderCornerRadius)}.sapFCard.sapFCardBottomHeader .sapFCardHeader .sapFCardHeaderLastPart{padding-bottom:1rem}.sapFCard.sapFCardBottomHeader .sapFCardContent{border-radius:var(--sapTile_BorderCornerRadius) var(--sapTile_BorderCornerRadius) 0 0}.sapFCard .sapFCardContent{flex:1 1 auto;overflow:hidden;position:relative;display:flex;border-radius:0 0 var(--sapTile_BorderCornerRadius) var(--sapTile_BorderCornerRadius)}.sapFCard .sapFCardContent .sapFCardContentListPlaceholder,.sapFCard .sapFCardContent .sapFCardBaseContent{max-width:100%;flex:1;box-sizing:border-box}.sapFCard.sapFCardNoHeader>.sapFCardContent{border-radius:var(--sapTile_BorderCornerRadius)}.sapFCard.sapFCardNoHeader>.sapFCardContent:focus{border-radius:inherit}.sapFCard .sapFCardContent .sapVizFrame{min-height:inherit}.sapFCard .sapFCardContent .sapVizFrame .ui5-viz-controls-app{min-height:inherit}.sapFCard .sapFCardContent .sapMLIB.sapMSLINoDescIcon{padding:0 1rem 0 0.125rem}.sapFCard .sapFCardContent .sapMLIBContent .sapMSLIDiv{flex:1 1 auto}.sapFCard .sapFCardContent .sapUiView.sapUiXMLView>.sapMImg{display:block}.sapFCard .sapFCardContent .sapFCardIcon.sapFAvatarColorTransparent .sapUiIcon{color:var(--sapContent_NonInteractiveIconColor)}html[data-sap-ui-browser^='sf'] .sapFCard .sapFCardHeaderText,html[data-sap-ui-browser^='cr'] .sapFCard .sapFCardHeaderText{flex:1}html[data-sap-ui-browser^='sf'] .sapFCard .sapFCardContent .sapMLIBContent .sapMSLIDiv,html[data-sap-ui-browser^='cr'] .sapFCard .sapFCardContent .sapMLIBContent .sapMSLIDiv{flex:1}.sapFCard.sapFCardNoContent .sapFCardHeader{border-bottom:none;border-radius:var(--sapTile_BorderCornerRadius)}.sapFCard.sapFCardNoContent .sapFCardHeader.sapFCardHeaderMainPartOnly{flex-grow:1}.sapFCard.sapFCardNoContent .sapFCardHeader.sapFCardHeaderMainPartOnly .sapFCardHeaderMainPart{border-radius:var(--sapTile_BorderCornerRadius);flex-grow:1;align-items:flex-start}.sapFCard.sapFCardNoContent .sapFCardHeader .sapFCardHeaderLastPart{padding-bottom:1rem}.sapFCard.sapFCardInteractive:not(.sapFCardDisableMouseInteraction):hover{box-shadow:var(--sapContent_Shadow2);cursor:pointer}.sapFCard.sapFCardInteractive:not(.sapFCardDisableMouseInteraction):hover .sapMText,.sapFCard.sapFCardInteractive:not(.sapFCardDisableMouseInteraction):hover .sapMLabel,.sapFCard.sapFCardInteractive:not(.sapFCardDisableMouseInteraction):hover .sapMTitle,.sapFCard.sapFCardInteractive:not(.sapFCardDisableMouseInteraction):hover .sapFCardNumericIndicators .sapUiIcon{cursor:pointer}.sapFCard.sapFCardInteractive:not(.sapFCardDisableMouseInteraction):hover .sapMLIB:not(.sapMLIBActionable) .sapMText,.sapFCard.sapFCardInteractive:not(.sapFCardDisableMouseInteraction):hover .sapMListTblHeader .sapMText{cursor:text}.sapFCard.sapFCardInteractive:focus:active{box-shadow:none;border:.0625rem solid var(--sapTile_Interactive_BorderColor)}.sapFCard.sapFCardSectionInteractive[data-sap-ui-draggable=true] .sapMText{cursor:grab}.sapFCard.sapFCardSectionInteractive:not(.sapFCardTransparent) .sapFCardSectionClickable:hover{background:var(--sapTile_Hover_Background)}.sapFCard.sapFCardSectionInteractive:not(.sapFCardTransparent) .sapFCardSectionClickable:active{background:var(--sapTile_Active_Background)}.sapFCard.sapFCardSectionInteractive .sapFCardSectionClickable,.sapFCard.sapFCardSectionInteractive .sapFCardSectionClickable svg{cursor:pointer !important}.sapFCard.sapFCardSectionInteractive .sapFCardSectionClickable .sapMText,.sapFCard.sapFCardSectionInteractive .sapFCardSectionClickable svg .sapMText{cursor:pointer}.sapFCard.sapFCardFocus:focus::before{content:'';display:block;position:absolute;left:0;bottom:0;right:0;top:0;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:inherit;pointer-events:none;z-index:1}.sapFCard.sapFCardFocusFullCard:has(.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within)::before,ui-integration-card.sapFCardFocusFullCard>[data-sap-ui-area]>.sapFCard:has(.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within)::before{content:'';display:block;position:absolute;left:0;bottom:0;right:0;top:0;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:inherit;pointer-events:none;z-index:1}.sapFCard.sapFCardFocusFullCard .sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before,ui-integration-card.sapFCardFocusFullCard>[data-sap-ui-area]>.sapFCard .sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before{display:none}.sapUiSizeCompact .sapFCard .sapFCardContent .sapMLIB.sapMSLINoDescIcon{padding:0 1rem 0 0}.sapUiSizeCompact .sapFCard .sapFCardContent .sapMLIB.sapMSLINoDescIcon .sapMSLIImgIcon.sapUiIcon{font-size:1rem;height:1rem;line-height:1rem}.sapUiSizeCompact .sapFCard .sapFCardContent .sapMListTbl{padding-bottom:0.5rem}.sapFCardAdaptiveContent .sapFCardAdaptiveContentChoiceSetWrapper{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:flex-start;height:fit-content}.sapFCardAdaptiveContent .sapFTimeInput{width:13.125rem}.sapFCardTableContent .sapMListTbl{border:none}.sapFCard .ac-adaptiveCard{outline:none}.sapFCardExperimentalCaching .sapFCardDataTimestamp{min-width:100px;padding-right:1px}.sapFCardExperimentalCaching .sapFCardDataTimestamp:not(.sapFCardDataTimestampUpdating){cursor:pointer}.sapFCardExperimentalCaching .sapFCardDataTimestamp:not(.sapFCardDataTimestampUpdating):hover::before{content:'\\e010';font-family:var(--sapContent_IconFontFamily);margin-right:4px;font-size:0.7rem}.sapFCardFooter{padding:0.5rem 1rem 0.7rem}.sapFCardContentMessageContainer{position:absolute;padding:1rem;z-index:1;pointer-events:none;left:0;right:0;top:0;bottom:0}.sapFCardContentMessageContainer .sapFCardContentMessage{pointer-events:all;box-shadow:5px 5px 10px rgba(0,0,0,0.5)}.sapFCardHeader{position:relative;flex-shrink:0;background:#fff;display:flex;flex-direction:column}.sapFCardHeader .sapFCardHeaderMainPart{outline:none;display:flex;min-width:0;height:fit-content;padding:1rem 1rem .25rem 1rem;position:relative;border-radius:0}.sapFCardHeader .sapFCardHeaderMainPart.sapFCardHeaderLastPart{padding:1rem}.sapFCardHeader .sapFCardHeaderImage{position:relative}.sapFCardHeader .sapFCardIcon.sapFAvatar{flex-shrink:0;display:flex;align-items:center;justify-content:center}.sapFCardHeader .sapFCardIcon.sapFAvatar.sapFAvatarColorTransparent .sapUiIcon{color:#556b82;font-size:2rem;align-self:center}.sapFCardHeader .sapFCardHeaderText{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;min-width:0;width:100%}.sapFCardHeader .sapFCardHeaderText .sapFCardTitle{min-width:0;display:block;font-family:\"72-Bold\",\"72-Boldfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;font-size:.875rem;font-weight:normal;color:#131e29;min-height:1rem;position:relative}.sapFCardHeader .sapFCardSubtitle{position:relative;font-family:\"72\",\"72full\",Arial,Helvetica,sans-serif;font-size:.875rem;font-weight:normal;color:#556b82;min-height:1rem;flex-grow:1}.sapFCardHeader .sapFCardStatus{position:relative;font-family:\"72\",\"72full\",Arial,Helvetica,sans-serif;font-size:.75rem;color:#556b82;text-align:right;line-height:normal;margin-left:1rem;margin-top:0.188rem;display:inline-block;white-space:nowrap}.sapFCardHeader .sapFCardHeaderTextFirstLine{display:flex;justify-content:space-between;width:100%;overflow:hidden}.sapFCardHeader .sapFCardHeaderTextSecondLine{margin-top:0.25rem;display:flex;justify-content:space-between;align-items:flex-end}.sapFCardHeader .sapFCardDataTimestamp{color:#556b82;font-size:.75rem;margin-left:auto;flex-shrink:0}.sapFCardHeader .sapFCardHeaderLineIncludesDataTimestamp .sapFCardSubtitle{margin-right:1rem}.sapFCardHeader .sapFCardHeaderToolbarCont{position:absolute;right:0.65rem;top:0.45rem}.sapFCardHeader.sapFCardHeaderHasToolbar:not(.sapFCardHeaderHasIcon) .sapFCardHeaderMainPart{min-height:2rem;align-items:flex-start}.sapFCardHeader.sapFCardHeaderHasToolbar .sapFCardHeaderText{width:unset}.sapFCardHeader .sapFCardHeaderBanner{display:none;justify-content:flex-end;margin:.25rem -1rem 0}.sapFCardHeader .sapFCardHeaderBanner .sapFCardHeaderBannerInner{padding-inline-start:0.25rem;padding-inline-end:1rem;background-color:#f5f6f7;border-radius:0.125rem 0 0 0.125rem;min-width:0}.sapFCardHeader .sapFCardHeaderBanner .sapFCardHeaderBannerInner .sapFCardHeaderBannerLine{display:flex;justify-content:flex-end;padding:0.125rem 0}.sapFCardHeader .sapFCardHeaderBanner .sapFCardHeaderBannerInner .sapFCardHeaderBannerLine .sapMText{font-size:.75rem;color:#131e29}.sapFCardHeader .sapFCardHeaderBanner .sapFCardHeaderBannerInner .sapFCardHeaderBannerLine .sapMText.sapFCardHeaderBannerLineDiminished{color:#556b82}.sapFCardHeader .sapFCardSectionClickable{cursor:pointer !important}.sapFCardHeader .sapFCardSectionClickable .sapMText{cursor:pointer}.sapFCardHeader .sapFCardSectionClickable:hover{background:#eaecee}.sapFCardHeader .sapFCardSectionClickable:active{background:#dee2e5}.sapUiIntCardTileFlat .sapFCardHeader .sapFCardHeaderBanner,.sapUiIntCardTileFlatWide .sapFCardHeader .sapFCardHeaderBanner,.sapUiIntCardTileStandardWide .sapFCardHeader .sapFCardHeaderBanner,.sapUiIntCardTileStandard .sapFCardHeader .sapFCardHeaderBanner{display:flex}.sapFCardHeaderInfoSection{padding:.25rem 1rem .25rem 1rem;display:flex;flex-direction:column;gap:0.5rem}.sapFCardHeaderInfoSection:not(:has(+ .sapFCardNumericHeaderNumericPart)){padding-block-end:1rem}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericHeaderNumericPart{padding:0 1rem 1rem 1rem}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericHeaderNumericPart .sapFCardHeaderNumericPartFirstLine{display:flex;align-items:center;overflow:hidden}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericHeaderNumericPart .sapFCardHeaderNumericPartFirstLine .sapFCardNumericIndicators{flex:1}.sapFCardHeader.sapFCardNumericHeader .sapFCardStatus{min-width:fit-content}.sapFCardHeader.sapFCardNumericHeader .sapFCardSubtitle{margin:0.25rem 0 0 0;display:flex;align-items:flex-end}.sapFCardHeader.sapFCardNumericHeader .sapFCardSubtitle .sapFCardHeaderUnitOfMeasurement{flex-shrink:0;max-height:1rem}.sapFCardHeader.sapFCardNumericHeader .sapFCardSubtitle.sapFCardSubtitleAndUnit .sapFCardHeaderUnitOfMeasurement{margin-left:0.25rem;padding-left:0.25rem;border-left:1px solid #556b82}.sapFCardHeader.sapFCardNumericHeader .sapFCardHeaderText .sapFCardSubtitle .sapMText{color:#556b82}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericIndicators{flex:1;min-width:0}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericIndicators .sapFCardHeaderSideIndicator .sapFCardHeaderSITitle,.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericIndicators .sapFCardHeaderSINumber,.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericIndicators .sapFCardHeaderSINumber .sapMText{font-size:.75rem}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericIndicators .sapFCardNumericIndicatorsSide{padding:0.25rem 0}.sapFCardHeader.sapFCardNumericHeader .sapFCardHeaderDetailsWrapper{margin-top:0.25rem;display:flex;justify-content:space-between;align-items:flex-end}.sapFCardHeader.sapFCardNumericHeader .sapFCardHeaderDetails{font-size:.75rem;color:#556b82;position:relative;flex-grow:1}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericHeaderDetailsStateNone{color:#131e29}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericHeaderDetailsStateSuccess{color:#256f3a}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericHeaderDetailsStateWarning{color:#b44f00}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericHeaderDetailsStateError{color:#aa0808}.sapFCardHeader.sapFCardNumericHeader .sapFCardNumericHeaderDetailsStateInformation{color:#0064d9}.sapFCardHeader.sapFCardNumericHeader .sapFCardHeaderLineIncludesDataTimestamp .sapFCardHeaderDetails{margin-right:1rem}.sapFCardHeaderSideIndicator{display:flex;flex-direction:column;align-items:flex-end;min-width:0}.sapFCardHeaderSideIndicator .sapFCardHeaderSITitle{color:#556b82;padding-bottom:0.25rem;position:relative}.sapFCardHeaderSideIndicator .sapFCardHeaderSINumber,.sapFCardHeaderSideIndicator .sapFCardHeaderSINumber .sapMText{color:#131e29;position:relative}.sapFCardHeaderSideIndicatorStateCritical .sapFCardHeaderSINumber .sapMText{color:#b44f00}.sapFCardHeaderSideIndicatorStateError .sapFCardHeaderSINumber .sapMText{color:#aa0808}.sapFCardHeaderSideIndicatorStateGood .sapFCardHeaderSINumber .sapMText{color:#256f3a}.sapFCardHeaderSideIndicatorStateNeutral .sapFCardHeaderSINumber .sapMText{color:#131e29}.sapUiSizeCompact .sapFCardHeaderHasToolbar:not(.sapFCardHeaderHasIcon) .sapFCardHeaderMainPart{min-height:1rem}.sapFCardHeader:not(.sapFCardHeaderToolbarFocused) .sapFCardHeaderFocusable:focus::before{content:'';display:block;position:absolute;left:0;bottom:0;right:0;top:0;border:.125rem solid #0032a5;border-radius:inherit;pointer-events:none;z-index:1}.sapFCardHeader .sapFCardIcon.sapFAvatar{margin-right:0.75rem}.sapFCardHeader .sapFCardIcon.sapFAvatar:not(.sapFAvatarImage):not(.sapFAvatarInitials){border:none}.sapFCardBadgePlaceholder{z-index:100;position:absolute;top:-0.6125rem;right:0.75rem;height:auto;display:inline-flex;max-width:95%}.sapUiIntCard .sapFCardBadgePlaceholder .sapMObjStatus .sapMObjStatusIcon{display:initial}.sapFCardBadge.sapFCardBadgeHidden{display:none}.sapFCardBadgePlaceholder .sapMObjStatus.sapMObjStatusInverted{margin-inline-start:0.25rem;height:1rem}.sapFCardBadgePlaceholder .sapMObjStatus.sapMObjStatusInverted .sapMObjStatusWrapper{border:0;max-width:100%;display:flex;align-items:center}.sapFCardBadgePlaceholder .sapMObjStatus.sapMObjStatusInverted .sapMObjStatusWrapper .sapMObjStatusIcon.sapMObjStatusIconOnly{padding:0 0.25rem}.sapFCardBadgePlaceholder .sapMObjStatus.sapMObjStatusInverted .sapMObjStatusWrapper .sapMObjStatusIcon{padding:0}.sapFCardBadgePlaceholder .sapMObjStatus.sapMObjStatusInverted .sapMObjStatusWrapper .sapMObjStatusText{padding:0 0.375rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:inherit}.sapFCardBadgePlaceholder .sapMObjStatus.sapMObjStatusInverted.sapFCardBadgeTextIcon .sapMObjStatusWrapper .sapMObjStatusIcon{padding-left:0.375rem}.sapFCardBadgePlaceholder .sapMObjStatus.sapMObjStatusInverted.sapFCardBadgeTextIcon .sapMObjStatusWrapper .sapMObjStatusText{padding:0 0.375rem 0 0.25rem}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderImage.sapFCardHeaderItemBinded,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderImage.sapFCardHeaderItemBinded{height:3rem;width:3rem;margin-right:0.75rem}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderMainPart .sapFCardHeaderImage .sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderMainPart .sapFCardHeaderImage .sapFCardHeaderItemBinded::after{max-height:2rem;max-width:2rem;margin-top:0.5rem}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderText .sapFCardStatus.sapFCardHeaderItemBinded,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderText .sapFCardStatus.sapFCardHeaderItemBinded{margin-top:0}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderTextSecondLine .sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderTextSecondLine .sapFCardHeaderItemBinded::after{margin-top:0.2rem}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderDetailsWrapper>.sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderDetailsWrapper>.sapFCardHeaderItemBinded::after{max-width:70%;margin-top:0.2rem}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardSubtitle.sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardSubtitle.sapFCardHeaderItemBinded::after{margin-top:0.3rem}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderMainPart .sapFCardHeaderTextSecondLine .sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderMainPart .sapFCardHeaderTextSecondLine .sapFCardHeaderItemBinded::after,.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderMainPart .sapFCardSubtitle.sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderMainPart .sapFCardSubtitle.sapFCardHeaderItemBinded::after,.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardNumericHeaderNumericPart .sapFCardHeaderDetailsWrapper .sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardNumericHeaderNumericPart .sapFCardHeaderDetailsWrapper .sapFCardHeaderItemBinded::after,.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardNumericHeaderNumericPart .sapFCardNumericIndicatorsSide .sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardNumericHeaderNumericPart .sapFCardNumericIndicatorsSide .sapFCardHeaderItemBinded::after,.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardNumericHeaderNumericPart .sapFCardNumericIndicatorsSide .sapFCardHeaderItemBinded.sapMText::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardNumericHeaderNumericPart .sapFCardNumericIndicatorsSide .sapFCardHeaderItemBinded.sapMText::after{max-height:0.6rem}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardNumericHeaderNumericPart .sapFCardNumericIndicatorsMain .sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardNumericHeaderNumericPart .sapFCardNumericIndicatorsMain .sapFCardHeaderItemBinded::after{margin-top:0.5rem;width:80%}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderItemBinded,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderItemBinded{visibility:hidden}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderItemBinded::after{visibility:visible}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderText .sapFCardHeaderTextFirstLine .sapFCardTitle.sapFCardHeaderItemBinded,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderText .sapFCardHeaderTextFirstLine .sapFCardTitle.sapFCardHeaderItemBinded{flex:1 0;position:relative}.sapFCard .sapFCardHeader.sapFCardHeaderLoading .sapFCardHeaderText .sapFCardHeaderTextFirstLine .sapFCardStatus.sapFCardHeaderItemBinded,.sapFCard.sapFCardPreview .sapFCardHeader .sapFCardHeaderText .sapFCardHeaderTextFirstLine .sapFCardStatus.sapFCardHeaderItemBinded{min-width:1.5rem;min-height:1rem}.sapFCard .sapFCardHeader.sapFCardHeaderLoading:not(.sapFCardLoadingDelayed) .sapFCardHeaderItemBinded::after,.sapFCard.sapFCardPreview .sapFCardHeader:not(.sapFCardLoadingDelayed) .sapFCardHeaderItemBinded::after{background-color:var(--sapContent_Placeholderloading_Background);background-image:linear-gradient(to right, var(--sapContent_Placeholderloading_Background) 0, var(--sapContent_Placeholderloading_Background) 35%, #bfbfbf 50%, var(--sapContent_Placeholderloading_Background) 65%, var(--sapContent_Placeholderloading_Background) 100%);background-repeat:no-repeat;background-size:800px 100%;position:relative;border-radius:0.25rem;content:'';position:absolute;width:100%;height:100%;max-height:1rem;top:0;left:0}[data-sap-ui-animation-mode=\"full\"] .sapFCard .sapFCardHeader.sapFCardHeaderLoading:not(.sapFCardLoadingDelayed) .sapFCardHeaderItemBinded::after,[data-sap-ui-animation-mode=\"full\"] .sapFCard.sapFCardPreview .sapFCardHeader:not(.sapFCardLoadingDelayed) .sapFCardHeaderItemBinded::after{animation-duration:2.5s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:placeHolderShimmer;animation-timing-function:linear}[data-sap-ui-animation-mode=\"basic\"] .sapFCard .sapFCardHeader.sapFCardHeaderLoading:not(.sapFCardLoadingDelayed) .sapFCardHeaderItemBinded::after,[data-sap-ui-animation-mode=\"basic\"] .sapFCard.sapFCardPreview .sapFCardHeader:not(.sapFCardLoadingDelayed) .sapFCardHeaderItemBinded::after,[data-sap-ui-animation-mode=\"minimal\"] .sapFCard .sapFCardHeader.sapFCardHeaderLoading:not(.sapFCardLoadingDelayed) .sapFCardHeaderItemBinded::after,[data-sap-ui-animation-mode=\"minimal\"] .sapFCard.sapFCardPreview .sapFCardHeader:not(.sapFCardLoadingDelayed) .sapFCardHeaderItemBinded::after{animation-duration:8s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:placeHolderShimmer;animation-timing-function:linear}.sapFCard.sapUiIntCardTileFlat .sapFCardHeader.sapFCardHeaderLoading .sapFAvatar.sapFCardHeaderItemBinded::after,.sapFCard.sapUiIntCardTileFlatWide .sapFCardHeader.sapFCardHeaderLoading .sapFAvatar.sapFCardHeaderItemBinded::after,.sapFCard.sapUiIntCardTileFlat.sapFCardPreview .sapFCardHeader .sapFAvatar.sapFCardHeaderItemBinded::after,.sapFCard.sapUiIntCardTileFlatWide.sapFCardPreview .sapFCardHeader .sapFAvatar.sapFCardHeaderItemBinded::after,.sapFCard.sapUiIntCardTileFlat .sapFCardHeader.sapFCardHeaderLoading .sapFAvatar.sapFCardHeaderItemBinded::after,.sapFCard.sapUiIntCardTileFlatWide .sapFCardHeader.sapFCardHeaderLoading .sapFAvatar.sapFCardHeaderItemBinded::after,.sapFCard.sapUiIntCardTileFlat.sapFCardPreview .sapFCardHeader .sapFAvatar.sapFCardHeaderItemBinded::after,.s Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}.sapUIAdaptationFilterBar{height:100%}.sapUIAdaptationFilterBar .sapUiMdcFieldBase{width:100%}.sapUiMDCP13nQueryPanel .sapUiRespGrid.sapUiRespGridVSpace1>div{margin-bottom:0}.sapUiMdcFieldBase{display:inline-block;box-sizing:border-box;overflow:hidden;vertical-align:top}.sapUiMdcFieldBaseMoreFields{min-width:calc(3.13rem + 0.5rem + 5.3rem)}.sapUiMdcFieldBaseMoreFields>*:first-child{max-width:calc(100% - 0.5rem - 5.3rem);min-width:3.13rem}.sapUiMdcFieldBaseMoreFields>*:last-child{padding-left:0.5rem;min-width:calc(0.5rem + 5.3rem)}.sapUiSizeCompact .sapUiMdcFieldBaseMoreFields{min-width:calc(2.13rem + 0.5rem + 5rem)}.sapUiSizeCompact .sapUiMdcFieldBaseMoreFields>*:first-child{max-width:calc(100% - 0.5rem - 5rem);min-width:2.13rem}.sapUiSizeCompact .sapUiMdcFieldBaseMoreFields>*:last-child{min-width:calc(0.5rem + 5rem)}.sapMListTblCell>.sapUiMdcFieldBase>.sapMSlt>.sapMSltLabel,.sapMListTblCell>.sapUiMdcFieldBase>.sapMObjectNumber,.sapMListTblCell>.sapUiMdcFieldBase>.sapMLabel,.sapMListTblCell>.sapUiMdcFieldBase>.sapMText{text-align:inherit !important}.sapMListTblCell>.sapUiMdcFieldBase>.sapMLnk,.sapMListTblCell>.sapUiMdcFieldBase>.sapMText,.sapMListTblCell>.sapUiMdcFieldBase>.sapMLabel,.sapMListTblCell>.sapUiMdcFieldBase>.sapMObjectNumber,.sapMListTblCell>.sapUiMdcFieldBase>.sapMObjectIdentifier,.sapMListTblCell>.sapUiMdcFieldBase>.sapMObjStatus{vertical-align:middle}.sapUiSizeCompact .sapMListTblCell>.sapUiMdcFieldBase>.sapMLnk,.sapUiSizeCompact .sapMListTblCell>.sapUiMdcFieldBase>.sapMText,.sapUiSizeCompact .sapMListTblCell>.sapUiMdcFieldBase>.sapMLabel,.sapUiSizeCompact .sapMListTblCell>.sapUiMdcFieldBase>.sapMObjectNumber,.sapUiSizeCompact .sapMListTblCell>.sapUiMdcFieldBase>.sapMObjectIdentifier,.sapUiSizeCompact .sapMListTblCell>.sapUiMdcFieldBase>.sapMObjStatus{line-height:1.4}.sapMListTblSubCntValInline>.sapUiMdcFieldBase{display:inline-flex}.sapUiMdcFieldBase.sapMBarChild{line-height:1rem}.sapMOTAPopover.sapMPopover .sapMPopoverCont .sapMPopoverScroll>div.sapUiMdcFieldBase{width:100% !important;max-width:100% !important}.sapMdcValueHelpPanel{background-color:var(--sapBackgroundColor)}.sapMdcValueHelpPanel .sapMPanel{padding-top:0.5rem;padding-left:1rem;padding-right:1rem}.sapMdcTokenizerPanel>.sapMPanelContent{padding-left:1rem;padding-right:1rem;padding-top:0;padding-bottom:1rem;overflow:hidden}.sapMdcTablePanel>.sapMPanelContent{padding-top:0;padding-bottom:0}.sapMdcValueHelpPanel .sapMPanel.sapMdcTokenizerPanel{background-color:var(--sapBackgroundColor)}.sapMdcTablePanel>.sapMPanelHeadingDiv>.sapMPanelHdr,.sapMdcTokenizerPanel>.sapMPanelHeadingDiv>.sapMPanelHdr,.sapMdcDefineconditionPanel>.sapMPanelHeadingDiv>.sapMPanelHdr{border:none}.sapMdcTokenizerPanel .sapMTokenizer{border-width:1px;border-color:#556b81;border-style:solid;border-radius:.25rem;padding-top:1px;padding-left:5px;padding-right:2px;display:block;box-sizing:border-box;min-height:2.25rem;overflow:hidden;background:#fff}.sapUiSizeCompact .sapMdcTokenizerPanel .sapMTokenizer{padding-top:4px;min-height:32px}.sapMdcValueHelpPanel .sapMITBHead{margin-top:0}.sapMdcValueHelpPanel .sapMdcValueHelpPanelFilterbar .sapMTB{margin-top:0.5rem;height:3rem}.sapMdcValueHelpPanel .sapMdcValueHelpPanelFilterbar .sapMTB,.sapMdcValueHelpPanel .sapUiMdcTable .sapMTB{padding-left:0;padding-right:1rem}.sapMdcValueHelpPanel .sapMIBar.sapMTB .sapMBarChild:first-child{margin-left:0}.sapUiMdcDefineConditionPanel .sapUiRespGrid>div{padding-left:0.25rem;padding-right:0.25rem;box-sizing:border-box}.sapMdcDefineconditionPanel .sapMPanelContent{padding-left:0.75rem;padding-right:0;padding-top:0}.sapUiMdcDefineConditionPanel .sapUiMdcDefineConditionGrid{margin-bottom:0.5rem}.sapMdcValueHelpPanelFilterbar{margin-left:2rem;margin-right:1rem}.sapUiMdcDefineConditionPanel .sapUiRespGrid .sapMText{min-height:2.75rem;padding-top:0.6875rem;padding-bottom:0.6875rem;line-height:1.375rem}.sapUiSizeCompact .sapUiMdcDefineConditionPanel .sapUiRespGrid .sapMText{min-height:2rem;padding-top:0.3125rem;padding-bottom:0.3125rem}.sapUiMdcDefineConditionPanel .sapUiRespGrid.sapUiRespGridMedia-Std-Phone>.sapUiRespGridBreak:not(:first-child),.sapUiMdcDefineConditionPanel .sapUiRespGrid.sapUiRespGridMedia-Std-Phone>.sapUiRespGridBreak:not(:first-child)+div{padding-top:0.5rem}.sapUiMdcDefineConditionPanel .sapUiRespGrid>div:last-child{padding-top:0.25rem;position:relative;height:2.75rem}.sapUiSizeCompact .sapUiMdcDefineConditionPanel .sapUiRespGrid>div:last-child{height:2rem}.sapUiMdcDefineConditionPanel .sapUiRespGrid>div:last-child>button{position:absolute;right:0.25rem}.sapMdcValueHelpPanel .sapMTBStandard,.sapUiMdcDefineConditionPanel .sapMTBStandard{border-bottom:solid 1px transparent}.sapMdcValueHelpPanel .sapMPanelContent:not(.sapMPanelBGTransparent){border-bottom:none}.sapMPopoverCont .sapMPopoverScroll>.sapUiMdcDefineConditionPanel{padding-top:1rem;padding-right:0.75rem}.sapMdcValueHelpPanel .sapMPanel .sapMPanelHdr{font-size:1rem}.sapMdcValueHelpTitleShadow.sapMDialog:not(.sapMDialogWithSubHeader)>header:first-of-type .sapMIBar{box-shadow:inset 0 -0.0625rem transparent}.sapMdcValueHelpTitleShadow.sapMBar{box-shadow:inset 0 -0.0625rem transparent}.sapMdcValueHelpPanel .sapMITBContent{border-left:none;border-right:none;border-bottom:none}.sapMdcValueHelpTitle.sapMDialog footer .sapMTB{padding:0 2rem}.sapMdcValueHelpPanelTableBox{padding:0 2rem}.sapMdcValueHelpPanelTableBox>.sapMFlexItem{height:100%}.sapMdcValueHelpPanel .sapUiFixFlexScrolling .sapMdcValueHelpPanelTableBox{height:200px !important}.sapMdcValueHelpPopover.sapMdcValueHelpMultiSelect .sapUiMdcDefineConditionPanel{margin-left:1rem;margin-top:1rem}.sapMdcValueHelpPopover.sapMdcValueHelpSingleSelect .sapUiMdcDefineConditionPanel{margin-left:0;margin-right:0.75rem;margin-top:1rem}.sapMdcValueHelpPopover .sapMdcValueHelpMTable{max-height:30rem}.sapUiMdcDialogTab{width:100%;height:100%}.mdcbaseinfoPanel .sapUiFormTitle{white-space:normal}.mdcbaseinfoPanel .mdcbaseinfoPanelHeader{padding-top:1rem;padding-bottom:0.5rem;padding-right:1rem}.mdcbaseinfoPanelTitleH1 .sapMLnk{font-size:1rem}.mdcbaseinfoPanelTitleH1 .sapMLabel{font-size:1rem}.mdcbaseinfoPanelTitleH1 .sapMLnkDsbl{opacity:1;color:var(--sapTextColor)}.mdcbaseinfoPanelThumbnail .mdcbaseinfoPanelListItem .sapMImageContentImageIcon.sapUiIcon{font-size:2.5rem;font-weight:normal;line-height:2.5rem;margin-right:.75rem}.mdcbaseinfoPanelThumbnail .mdcbaseinfoPanelListItem .sapMImageContentImageIcon.sapMImg{font-size:2.5rem;font-weight:normal;line-height:3rem;margin-right:.75rem;size:3rem;height:3rem;width:3rem}.mdcbaseinfoPanel .mdcbaseinfoPanelDefaultAdditionalContent .sapUiFormTitle{color:var(--sapTextColor)}.mdcbaseinfoPanel .mdcbaseinfoPanelSeparator{border-bottom:1px solid;border-bottom-color:var(--sapToolbar_SeparatorColor)}.mdcbaseinfoPanel .mdcbaseinfoPanelSectionLinks{padding-top:0.5rem;padding-bottom:0.5rem}.mdcbaseinfoPanel .mdcbaseinfoPanelSectionLinks:empty{display:none}.mdcbaseinfoPanelListItem .sapUiFormResLayout.sapUiFormBackgrTranslucent>div{background-color:transparent}.mdcbaseinfoPanel .mdcbaseinfoPanelListItem{padding-top:0.375rem;padding-bottom:0.375rem;padding-right:1rem;min-height:1rem}.mdcbaseinfoPanelListItem .sapMImageContentImageIcon.sapUiIcon{font-weight:normal;font-size:1.5rem;line-height:1.5rem;padding-bottom:0;color:#131e29}.mdcbaseinfoPanelListItem .sapMImageContentImageIcon.sapMImg{width:1.75rem;height:1.75rem}.mdcbaseinfoPanelListItem .sapMImageContent{width:auto;height:auto;margin-right:0.75rem}.mdcbaseinfoPanelListItem .sapMImageContentImageIcon{position:relative}.mdcbaseinfoPanelListItem .sapMFlexItem{display:-webkit-box;display:flex}.mdcbaseinfoPanelListItem .mdcbaseinfoPanelItemsWithoutGroup{padding-top:0.375rem;padding-bottom:0.375rem}.mdcbaseinfoPanelListItem .mdcbaseinfoPanelItemsGroup{padding-top:0.625rem;padding-bottom:0.375rem}.mdcbaseinfoPanelListItem .mdcbaseinfoPanelItemsGroup .sapMLink{padding-bottom:0.125rem}.mdcbaseinfoPanelListItem .mdcbaseinfoPanelItemsGroup .sapMText{color:var(--sapContent_LabelColor)}.mdcbaseinfoPanel{padding-top:0;padding-bottom:1rem;padding-right:1rem;padding-left:1rem}.sapUiMdcFilterBarBaseAFLayout.sapUiAFLayout{margin-left:-0.5rem;margin-right:0.5rem}.sapUiMdcFilterBarBaseAFLayout>.sapUiAFLayoutItem,.sapUiMdcFilterBarBaseAFLayout>.sapUiAFLayoutEnd{margin-top:0.5rem;padding-left:0.25rem;padding-right:0.25rem;margin-left:0.25rem;margin-right:0.25rem}.sapUiMdcFilterBarBaseAFLayout>.sapUiAFLayoutEnd{margin-left:-0.25rem}.sapUiMdcFilterBarBaseAFLayout.sapUiAFLayoutOneLine>.sapUiAFLayoutEnd{margin-top:0.5rem}.sapUiMdcFilterBarBase .sapUiMdcFilterBarBaseButtonPaddingRight{padding-right:0.5rem}.sapUiMdcFilterBarBase .sapUiMdcFilterBarPaddingLeft{padding-left:0.5rem}.sapUiMdcFilterBarBase .sapUiMdcFilterBarBaseLabel .sapMLabelColonAndRequired::before{content:attr(data-colon)}html[dir='rtl'] .sapUiMdcFilterBarBaseFloatRight{float:left}html[dir='rtl'] .sapUiMdcFilterBarBaseFloatLeft{float:right}.sapUiMdcFilterBarBaseAFLayout>.sapUiAFLayoutItem>div,.sapUiMdcFilterBarBaseAFLayout>.sapUiAFLayoutItem .sapUiMdcFieldBase{width:100%}.sapUiMDCAdaptFiltersPanel>div>section{margin-top:0.25rem}.sapUiMDCAdaptFiltersPanel .sapMPageBgStandard{background:var(--sapUiListBackground)}.sapUiMDCAdaptFiltersPanel .sapUiMDCPanelPadding{padding-left:1rem;padding-right:0.75rem}.sapUiMDCAdaptFiltersPanel .sapUiMDCPaddingPanelLeft{padding-left:1.5rem}.sapUiMDCAdaptFiltersPanel .sapMBar-CTX{border:none;box-shadow:none}.sapUiMDCAdaptFiltersSearchBar{padding-bottom:0.25rem}.sapMP13nPopup .sapMMsgStrip{margin:10px}.sapMP13nPopup.sapMPopover .sapMPopoverScroll{overflow-y:initial}.sapMP13nPopup .sapMMenuBtn{max-width:none}.sapMP13nPopup.sapMDialog:not(.sapMDialogWithSubHeader)>header:first-of-type .sapUiMdcContainerBar{box-shadow:none}.sapUiMDCListView.sapUiMDCAFLabelMarkingList tbody .sapMLabel>.sapMLabelColonAndRequired::before{content:attr(data-colon)}.sapUiMDCListView tbody .sapMListTblSelCol{vertical-align:top}.sapUiMDCListView.listViewHover .sapMListTblCell{padding-top:0;padding-bottom:0}.sapUiMDCListView .sapMPanelContent li{align-items:start;display:flex}.sapUiMDCListView table tr>td{padding-left:0.5rem}.sapUiMDCListView .sapMTableTH{padding-left:0.5rem}.sapUiMDCGroupView .sapMPanelWrappingDivTb{border:none}.sapUiMDCGroupView .sapMLIBContent{padding-bottom:0.75rem;padding-top:0.5rem;padding-right:.375rem}.sapUiMDCGroupView .sapMLIB .sapMLIBSelected{border-color:transparent;background:var(--sapUiListBackground)}.sapUiMDCGroupView.sapUiMDCAFLabelMarking .sapMPanelContent .sapMLabelColonAndRequired::before{content:attr(data-colon)}.sapUiMDCGroupView .sapMListInfoTBar{color:var(--sapList_TextColor);background:var(--sapList_HeaderBackground)}.sapUiMDCGroupView .sapMListInfoTBarContainer .sapMIBar.sapMTB.sapMTB-Info-CTX{padding:0}.sapUiMDCGroupView .sapMListInfoTBarContainer .sapMIBar.sapMTB .sapMBarChild:first-child{margin-left:0;padding-left:2.5rem}.sapUiMDCGroupView li .sapMCLI{align-items:start}.sapUiMDCGroupView .sapMPanel{margin:2px}.sapUiMDCGroupView .sapMPanelContent{overflow:visible;border-bottom:none;padding:1rem 1rem 0 0}.sapUiMdcTable.sapUiMdcTableFitContainer{min-height:100%}.sapUiMDCChart{background:#fff;border-radius:var(--sapElement_BorderCornerRadius);padding-bottom:1rem;display:grid}.sapUiMDCChartTempTextOuter{grid-template-rows:auto 1fr}.sapUiMDCChartTempText{display:flex;justify-content:center;align-items:center}.sapUiMDCChartGrid{grid-template-rows:auto auto 1fr;grid-template-columns:minmax(0, 1fr)}.sapUiMDCChartGridNoBreadcrumbs{grid-template-rows:auto 1fr;grid-template-columns:minmax(0, 1fr)}.sapUiMDCChart .sapUiMDCChartBreadcrumbs{margin-left:1rem;margin-top:0.5rem;max-width:85%}.sapUiMDCChart .sapMIBar.sapMTBHeader-CTX{border-top-right-radius:var(--sapElement_BorderCornerRadius);border-top-left-radius:var(--sapElement_BorderCornerRadius)}.sapUiMDCChart .sapUiMDCChartTempInnerText{justify-content:center;align-content:center}.sapUiMDCSelectionButton.sapMPopover .sapMIBar.sapMSubHeader-CTX{border-top-left-radius:var(--sapElement_BorderCornerRadius);border-top-right-radius:var(--sapElement_BorderCornerRadius)}.sapUiMdcTokenizerDisplay .sapMToken{border:0;background-color:transparent;padding-left:0}.sapUiMdcTokenizerDisplay.sapMTokenizer.sapMTokenizerReadonly .sapMToken{padding-left:0;padding-right:0.375rem;margin-right:0.375rem;margin-top:0;margin-bottom:0;color:var(--sapTextColor);height:1rem}.sapUiFormEdit .sapUiMdcTokenizerDisplay.sapMTokenizer.sapMTokenizerReadonly .sapMToken{height:1.375rem}.sapUiSizeCozy .sapUiMdcTokenizerDisplay.sapMTokenizer.sapMTokenizerReadonly .sapMToken{padding-right:0.5rem;margin-right:0.5rem}.sapUiMdcTokenizerDisplay .sapMToken::after{content:attr(delimiter);color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:.875rem;font-weight:normal;vertical-align:middle;margin-left:0.25rem;position:absolute;line-height:1rem}.sapUiSizeCozy .sapUiMdcTokenizerDisplay .sapMToken::after{margin-left:0.4rem}.sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMToken::after{line-height:1.375rem}.sapUiMdcTokenizerDisplay .sapMToken:last-child::after{content:none}html.sap-desktop .sapUiMdcTokenizerDisplay .sapMToken:focus{outline:0}html.sap-desktop .sapUiMdcTokenizerDisplay .sapMToken:hover{background:transparent;border:0}.sapUiSizeCompact .sapUiMdcTokenizerDisplay.sapMTokenizer .sapMToken{font-size:.875rem}.sapUiMdcTokenizerDisplay .sapMTokenText{user-select:text;line-height:1rem}.sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMTokenText{line-height:1.375rem}html.sap-desktop .sapUiMdcTokenizerDisplay.sapMTokenizer{outline:none;padding-left:0;padding-top:0;padding-bottom:0}.sapUiMdcTokenizerDisplay .sapMTokenizerIndicator:focus{outline:.125rem dotted var(--sapContent_FocusColor);outline-offset:-1px;text-decoration:underline}.sapUiMdcTokenizerDisplay .sapMTokenizerIndicator:hover{text-decoration:underline}.sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMTokenizerIndicator,.sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMTokenizerIndicator:focus{line-height:1.375rem}.sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMTokenizerIndicator:focus{text-decoration:underline}.sapUiMdcTokenizerDisplay .sapMTokenizerIndicator{line-height:1rem}.sapUiMdcTokenizerDisplay .sapMEmptyIndicator.sapMEmptyIndicatorAuto{display:none}.sapMShowEmpty-CTX .sapUiMdcTokenizerDisplay .sapMEmptyIndicator.sapMEmptyIndicatorAuto{line-height:1rem;font-size:.875rem;display:inline-block}.sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMEmptyIndicator.sapMEmptyIndicatorAuto{line-height:1.375rem}.sapUiSizeCozy .sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMEmptyIndicator.sapMEmptyIndicatorAuto{padding-top:.6875rem;padding-bottom:.6875rem}.sapUiSizeCompact .sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMEmptyIndicator.sapMEmptyIndicatorAuto{padding-top:.3125rem;padding-bottom:.3125rem}.sapUiMdcTokenizerDisplay .sapMTokenizerScrollContainer{-webkit-user-select:text;padding-top:0;padding-bottom:0}.sapUiSizeCozy .sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMTokenizerScrollContainer{padding-top:.6875rem;padding-bottom:.6875rem}.sapUiSizeCompact .sapUiFormEdit .sapUiMdcTokenizerDisplay .sapMTokenizerScrollContainer{padding-top:.3125rem;padding-bottom:.3125rem}.sapUiMdcTable .sapMIBar.sapMTBHeader-CTX{border-top-right-radius:var(--sapElement_BorderCornerRadius);border-top-left-radius:var(--sapElement_BorderCornerRadius)}.sapMdcValueHelpTitle.sapMDialog header .sapMBarPH{padding-left:2rem}.sapMdcValueHelpPanel{background-color:transparent}.sapMdcValueHelpPanel .sapMPanel.sapMdcTokenizerPanel{background-color:transparent}.sapMdcValueHelpPanel .sapMITBContent{background-color:transparent}.sapMdcTokenizerPanel .sapMTokenizer{border-top:0;border-left:0;border-right:0;box-shadow:inset 0 0 0 .0625rem rgba(85,107,129,0.25)}.sapUiMdcTokenizerDisplay .sapMToken{background:transparent;border:0;padding-left:0.3125rem}.sapUiMdcTokenizerDisplay .sapMTokenSelected:not(:focus),.sapUiMdcTokenizerDisplay .sapMToken.sapMTokenReadOnly.sapMTokenSelected{background:transparent;border:0;box-shadow:none}html.sap-desktop .sapUiMdcTokenizerDisplay .sapMToken:not(.sapMTokenSelected):not(:focus):hover,html.sap-desktop .sapUiMdcTokenizerDisplay .sapMToken:not(.sapMTokenSelected):not(.sapMTokenReadOnly):focus:hover{background:transparent;border:0;box-shadow:none}html.sap-desktop .sapUiMdcTokenizerDisplay .sapMToken.sapMTokenSelected:hover{background:transparent;border:0}html.sap-desktop .sapUiMdcTokenizerDisplay .sapMToken:focus,html.sap-desktop .sapUiMdcTokenizerDisplay .sapMToken:focus::after{border:0;box-shadow:none}html.sap-desktop .sapUiMdcTokenizerDisplay.sapMTokenizer:focus{outline:none;box-shadow:none}.sapUiMdcFieldBase{overflow:visible}\n/* Inline theming parameters */\n#sap-ui-theme-sap\\.ui\\.mdc{background-image:url('data:text/plain;utf-8,%7B%22_sap_m_InputBase_InnerMinWidth%22%3A%223rem%22%2C%22_sap_m_InputBaseWrapper_Sum_Border%22%3A%22.125rem%22%2C%22_InputBase_Control_MinWidth%22%3A%223.13rem%22%2C%22_sap_m_InputBase_InnerMinWidth_Compact%22%3A%222rem%22%2C%22_InputBase_Control_MinWidth_Compact%22%3A%222.13rem%22%2C%22sap_ui_mdc_Field_UnitMinWidth%22%3A%225.3rem%22%2C%22sap_ui_mdc_Field_UnitMinWidth_Compact%22%3A%225rem%22%2C%22_sap_ui_mdc_Table_ExportButtonType%22%3A%22Transparent%22%2C%22_sap_ui_mdc_Table_ToolbarDesign%22%3A%22Solid%22%2C%22_sap_ui_mdc_Table_HeaderStyle%22%3A%22H5%22%2C%22_sap_ui_mdc_Chart_ToolbarDesign%22%3A%22Solid%22%2C%22mdctoken-large-line-height%22%3A%221.375rem%22%2C%22mdctoken-small-line-height%22%3A%221rem%22%2C%22mdctokenizer-large-line-height%22%3A%221.375rem%22%2C%22mdctokenizer-small-line-height%22%3A%221rem%22%2C%22mdctokenizer-large-padding-topbottom%22%3A%22.6875rem%22%2C%22mdctokenizer-small-padding-topbottom%22%3A%22.3125rem%22%7D')}\n" Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}.sapUiAFLayout{position:relative;display:flex;flex-wrap:wrap;margin:0;padding:0}.sapUiAFLayoutNoContent{justify-content:flex-end}.sapUiAFLayoutItem,.sapUiAFLayoutEnd{overflow:hidden}.sapUiAFLayoutItem{flex-grow:1;flex-shrink:0}.sapUiAFLayoutItem>*{max-width:100%}.sapUiAFLayoutSpacer{height:0;margin-top:0 !important;visibility:hidden}.sapUiAFLayoutEnd{position:absolute;right:0;bottom:0;text-align:end;display:inline-block}.sapUiAFLayoutEnd:only-child{position:static}.sapUiAFLayoutOneLine>.sapUiAFLayoutSpacer{display:none}.sapUiAFLayoutOneLine>.sapUiAFLayoutSpacer:last-child{flex-basis:auto !important;flex-grow:0}.sapUiAFLayout.sapUiContentPadding {padding:1rem;box-sizing:border-box}@media (max-width:599px){.sapMSplitContainerHideMode>.sapMSplitContainerDetail .sapUiAFLayout.sapUiResponsiveContentPadding ,.sapMSplitContainerPortrait>.sapMSplitContainerDetail .sapUiAFLayout.sapUiResponsiveContentPadding ,.sapUiAFLayout.sapUiResponsiveContentPadding {padding:0}}@media (min-width:600px) and (max-width:1023px){.sapMSplitContainerHideMode>.sapMSplitContainerDetail .sapUiAFLayout.sapUiResponsiveContentPadding ,.sapUiAFLayout.sapUiResponsiveContentPadding {padding:1rem;box-sizing:border-box}}@media (min-width:1024px){.sapMSplitContainerHideMode>.sapMSplitContainerDetail .sapUiAFLayout.sapUiResponsiveContentPadding ,.sapUiAFLayout.sapUiResponsiveContentPadding {padding:1rem 2rem;box-sizing:border-box}}.sapMSplitContainerMaster .sapUiAFLayout.sapUiResponsiveContentPadding {padding:0}.sapMSplitContainerDetail .sapUiAFLayout.sapUiResponsiveContentPadding {padding:1rem}.sapUiAFLayout.sapUiNoContentPadding {padding:0}.sapUiFormCL{white-space:initial}.sapUiFormCL>.sapUiFormTitle{box-sizing:border-box;padding:0 1rem}.sapUiFormCLContainer>.sapUiFormTitle{padding:0 0.25rem}.sapUiFormCL>.sapUiFormTitle>img,.sapUiFormCLContainer>.sapUiFormTitle>img,.sapU Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}.sapUiCal{background:none repeat scroll 0 0 #fff;overflow:hidden;position:relative;outline:none;display:inline-block;white-space:initial;box-sizing:border-box;text-align:center;padding:1rem 0.5rem 0 0.5rem}.sapUiCalInt{box-sizing:border-box}.sapUiCal.sapUiShd{border:.0625rem solid #758ca4;width:20.125rem}.sapUiCalHead{width:100%;position:relative;text-align:center;display:block;height:2.5rem;padding-top:0.25rem;padding-bottom:0.25rem;background-color:#fff}.sapUiCalTwoMonthsTwoColumnsJaZh:not(.sapUiCalInt)>.sapUiCalHead,.sapUiCalTwoMonthsTwoColumns:not(.sapUiCalInt)>.sapUiCalHead{max-width:100%;text-align:left}.sapUiCalHead>button,.sapUiCalCancel{background-color:transparent;border:none;color:#0064d9;cursor:pointer;overflow:hidden;white-space:nowrap;height:2.5rem;padding:0;font-size:.875rem}.sapUiCalHeadB{vertical-align:top;width:5.75rem}.sapUiCalHeadBAddText{width:100%;float:left;color:#556b82;font-size:.75rem}.sapUiCalHead .sapUiCalHeadPrev,.sapUiCalHead .sapUiCalHeadNext,.sapUiCalHead .sapUiCalHeadToday{position:absolute;width:2.5rem}.sapUiCalHead .sapUiCalHeadPrev:not(.sapUiCalDsbl) .sapUiIcon,.sapUiCalHead .sapUiCalHeadNext:not(.sapUiCalDsbl) .sapUiIcon,.sapUiCalHead .sapUiCalHeadToday:not(.sapUiCalDsbl) .sapUiIcon{cursor:pointer}.sapUiCalHead .sapUiCalHeadNext{right:0.5rem}.sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadPrev,.sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadNext,.sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadToday{position:initial;width:2rem}.sapUiSizeCompact .sapUiCalHead .sapUiCalHeadPrev,.sapUiSizeCompact .sapUiCalHead .sapUiCalHeadNext,.sapUiSizeCompact .sapUiCalHead .sapUiCalHeadToday{width:2rem}.sapUiSizeCompact .sapUiCalHead .sapUiCalHeadNext{right:0.25rem}.sapUiSizeCompact .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadPrev,.sapUiSizeCompact .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadNext,.sapUiSizeCompact .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadToday{width:1.5rem}.sapUiCalHeadPrev{left:0.5rem}.sapUiCalHead.sapUiCalHeaderWithTodayButton{display:flex;justify-content:space-evenly}.sapUiCalHead>button:focus,.sapUiCalCancel:focus{outline:none}html.sap-desktop .sapUiCalHead>button:focus,html.sap-desktop .sapUiCalCancel:focus{background-color:#eaecee;color:#0064d9}html.sap-desktop .sapUiCalHead>button:hover,html.sap-desktop .sapUiCalCancel:hover{background-color:#eaecee;color:#0064d9}.sapUiCalHead>button:active,.sapUiCalCancel:active,html.sap-desktop .sapUiCalHead>button:active,html.sap-desktop .sapUiCalHead>button:active>.sapUiCalHeadBAddText,html.sap-desktop .sapUiCalCancel:active{background-color:#fff;color:#0064d9}.sapUiCalHead>button.sapUiCalDsbl{cursor:default;opacity:.3;filter:alpha(opacity=30)}html.sap-desktop .sapUiCalHead>button.sapUiCalDsbl:focus,.sapUiCalHead>button.sapUiCalDsbl:hover,.sapUiCalHead>button.sapUiCalDsbl:active{background-color:transparent;color:#0064d9}.sapUiCalMonthView{vertical-align:top}.sapUiCalMonthView,.sapUiCalDatesRow{white-space:nowrap}.sapUiCalMonthView{display:inline-block;width:19rem}.sapUiCalMonthPicker,.sapUiCalYearPicker{width:auto;display:flex;flex-direction:column;justify-content:center}.sapUiCalMulti .sapUiCalMonthPicker,.sapUiCalMulti .sapUiCalYearPicker{width:19rem}.sapUiCalMonthView,.sapUiCalMonthPicker,.sapUiCalYearPicker,.sapUiCalRow{background-color:#fff}.sapUiCal .sapUiCalMonthView,.sapUiCal .sapUiCalRow{box-sizing:border-box;padding-left:0.5rem;padding-right:0.5rem;padding-bottom:1rem}.sapUiCalInt>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalInt>.sapUiCalContent>.sapUiCalYearPicker{width:inherit}.sapUiCalHeadText{text-align:center;height:2rem;line-height:2rem;color:#a100c2}.sapUiCalContentSingle .sapUiCalHeadText{text-align:left;margin-left:12.5%}.sapUiCalRow .sapUiCalHeadText{float:left;text-align:left;overflow:hidden;text-overflow:ellipsis;whitespace:nowrap}.sapUiCalRow div>.sapUiCalHeadText:last-child{float:none}.sapUiCalWH,.sapUiCalItem{display:block;float:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;text-align:center;overflow:hidden;white-space:nowrap;box-sizing:border-box}.sapUiCalMonthView .sapUiCalWH,.sapUiCalMonthView .sapUiCalItem{width:12.5%}.sapUiCalMonthView.sapUiCalNoWeekNum .sapUiCalWH,.sapUiCalMonthView.sapUiCalNoWeekNum .sapUiCalItem{width:14.2857%}.sapUiCalItemText{width:100%;height:100%;display:inline-block;box-sizing:border-box}.sapUiCalItem,.sapUiCalWeekNum{height:3rem;line-height:2.875rem;font-size:.875rem}.sapUiCalWeekNum{width:12.5%;color:#131e29;font-size:.75rem;cursor:pointer}.sapUiCalWH{color:#131e29;white-space:nowrap;height:2rem;line-height:1.875rem;font-size:.75rem}.sapUiCalItem{color:#131e29;background-color:#fff;cursor:pointer}.sapUiCalItemDsbl{pointer-events:none;color:rgba(19,30,41,0.4);background-color:rgba(252,252,252,0.5)}.sapUiCalWeekNum{clear:left;float:left;text-align:center}.sapUiCalMonthView.sapUiCalNoWeekNum .sapUiCalFirstWDay{clear:left}.sapUiCalMonthView.sapUiCalNoWeekNum .sapUiCalWH.sapUiCalFirstWDay{margin-left:0}.sapUiCalItemOtherMonth{color:rgba(19,30,41,0.6)}.sapUiCalMulti .sapUiCalItemOtherMonth{opacity:0}.sapUiCalItemNow{color:#0064d9}.sapUiCalItemNow.sapUiCalItemDsbl{color:rgba(19,30,41,0.5)}.sapUiCalItemWeekEnd{background-color:#e8e8e8}.sapUiCalItemWeekEnd.sapUiCalItemDsbl{background-color:rgba(239,239,239,0.5)}.sapUiCalItemOtherMonth.sapUiCalItemWeekEnd{background-color:#fff}.sapUiCalItemSel{background-color:#0064d9}.sapUiCalContent{position:relative;text-align:center;min-height:20.25rem}.sapUiCalMulti .sapUiCalContent{min-height:auto}.sapUiCalMulti.sapUiCalSecType .sapUiCalContent{min-height:20.25rem}.sapUiCalInt .sapUiCalContent{min-height:8.875rem}.sapUiCalContentOver{background-color:#000;opacity:0.15;filter:alpha(opacity=60);top:0;left:0;right:0;bottom:0;position:absolute;outline:0 none}.sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalContent>.sapUiCalYearPicker,.sapUiCalTimeInt>.sapUiCalContent>.sapUiCalDatesRow{position:absolute;top:18px;bottom:0;left:0;right:0;background-color:#fff}.sapUiCalTimeInt>.sapUiCalContent>.sapUiCalDatesRow .sapUiCalWH{display:none}.sapUiCalNoNameLine.sapUiCalMonthView .sapUiCalItem,.sapUiCalNoNameLine.sapUiCalDatesRow .sapUiCalItem{height:3rem;position:relative}.sapUiCalNoNameLine .sapUiCalItem>.sapUiCalDayName{position:absolute;top:0;right:0;height:33%;width:100%;color:#131e29;overflow:hidden;white-space:nowrap;line-height:100%}.sapUiCalNoNameLine .sapUiCalItem>.sapUiCalDayName{color:inherit}.sapUiCalItemTextAmPm{font-size:11px;vertical-align:top}.sapUiCalCancel{display:none;position:absolute}.sapUiCalMonthSecType .sapUiCalItem{position:relative}.sapUiCalMonthSecType .sapUiCalItem>.sapUiCalItemSecText{position:absolute;bottom:0;right:0;height:33%;width:50%;color:#131e29;overflow:hidden;white-space:nowrap;line-height:100%;pointer-events:none}.sapUiCalMonthPicker.sapUiCalMonthSecType .sapUiCalItem,.sapUiCalYearPicker.sapUiCalMonthSecType .sapUiCalItem{line-height:1.875rem}.sapUiCalMonthPicker.sapUiCalMonthSecType .sapUiCalItem:focus,.sapUiCalYearPicker.sapUiCalMonthSecType .sapUiCalItem:focus{line-height:1.75rem}.sapUiCalMonthPicker.sapUiCalMonthSecType .sapUiCalItem>.sapUiCalItemSecText,.sapUiCalYearPicker.sapUiCalMonthSecType .sapUiCalItem>.sapUiCalItemSecText{width:100%;display:flex;justify-content:center}.sapUiSizeCozy .sapUiCal:not(.sapUiCalDateInt){min-width:19.9rem;padding-top:0.5rem}.sapUiSizeCozy .sapUiCal:not(.sapUiCalDateInt) .sapUiCalMonthView .sapUiCalWH,.sapUiSizeCozy .sapUiCal:not(.sapUiCalDateInt) .sapUiCalMonthView .sapUiCalItem,.sapUiSizeCozy .sapUiCal:not(.sapUiCalDateInt) .sapUiCalMonthView .sapUiCalWeekNum{max-width:2.25rem}.sapUiSizeCozy .sapUiCal:not(.sapUiCalDateInt) div[role=row]{display:flex;justify-content:space-between}.sapUiSizeCozy .sapUiCal:not(.sapUiCalDateInt) .sapUiCalHeadNext{right:0}.sapUiSizeCozy .sapUiCal:not(.sapUiCalDateInt) .sapUiCalHeadPrev{left:0}.sapUiSizeCozy .sapUiCal .sapUiCalMonthView{padding-bottom:0.5rem}.sapUiSizeCompact .sapUiCalMonthPicker.sapUiCalMonthSecType .sapUiCalItem,.sapUiSizeCompact .sapUiCalYearPicker.sapUiCalMonthSecType .sapUiCalItem{line-height:1rem}.sapUiSizeCompact .sapUiCalMonthPicker.sapUiCalMonthSecType .sapUiCalItem:focus,.sapUiSizeCompact .sapUiCalYearPicker.sapUiCalMonthSecType .sapUiCalItem:focus{line-height:0.875rem}.sapUiSizeCompact .sapUiCalMonthPicker.sapUiCalMonthSecType .sapUiCalItem:focus .sapUiCalItemSecText,.sapUiSizeCompact .sapUiCalYearPicker.sapUiCalMonthSecType .sapUiCalItem:focus .sapUiCalItemSecText{line-height:0.875rem}.sapUiCalMonthView[data-sap-ui-popup],.sapUiCalMonthPicker[data-sap-ui-popup],.sapUiCalYearPicker[data-sap-ui-popup]{padding:1rem}.sapUiCal:not(.sapUiCalInt){width:20rem;min-width:19.9rem}.sapUiCalMulti:not(.sapUiCalInt){width:39rem}.sapUiCal[data-sap-ui-popup]{box-shadow:0 0 0 .0625rem rgba(34,53,72,0.42),0 .625rem 1.875rem 0 rgba(34,53,72,0.3)}html.sapUiMedia-Std-Phone .sapUiCalHeadB0{width:3rem}.sapUiCalHeadBFirst{margin-right:0.25rem}.sapUiCalHeadBLast{margin-left:0.25rem}.sapUiCalMulti .sapUiCalHeadB1,.sapUiCalMonthInt .sapUiCalHeadB2,.sapUiCalMulti .sapUiCalHeadB3,.sapUiCalIntLarge .sapUiCalHeadB3,.sapUiCalMonthInt .sapUiCalHeadB4{width:12.5rem;margin-right:.5rem}.sapUiCalIntLarge .sapUiCalHeadB1{width:auto;width:12.5rem}.sapUiCalTwoMonthsInOneColumn .sapUiCalHeadB1,.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB1,.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB2,.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB3,.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB4,.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB1,.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB2,.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB3,.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB4{width:5.75rem}.sapUiCal.sapUiCalMulti:not(.sapUiCalTwoMonthsTwoColumnsJaZh) .sapUiCalHead .sapUiCalHeadPrev+.sapUiCalHeadB2{width:12.5rem}.sapUiCal .sapUiCalHead .sapUiCalHeadB2.sapUiCalSingleYearButton,.sapUiCal .sapUiCalHead .sapUiCalHeadB4.sapUiCalSingleYearButton{width:12rem}.sapUiCal .sapUiCalHead .sapUiCalHeadB3+.sapUiCalHeadB4.sapUiCalSingleYearButton{width:5.75rem}.sapUiCal .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadB2.sapUiCalSingleYearButton,.sapUiCal .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadB4.sapUiCalSingleYearButton{width:11.5rem}.sapUiCal .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadBPlaceholder{width:12rem}.sapUiCal.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB2.sapUiCalSingleYearButton,.sapUiCal.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB2.sapUiCalSingleYearButton{margin-left:calc(25% - 5.75rem)}.sapUiCal.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB2+.sapUiCalHeadB4,.sapUiCal.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB2+.sapUiCalHeadB4{margin-left:6.25rem}.sapUiCalHeadBPlaceholder{width:inherit}.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB2,.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB1{margin-left:calc(25% - 6rem)}html[dir='rtl'] .sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB4{margin-right:calc(25% - 6rem)}.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB4,.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB3,.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB4:not(.sapUiCalSingleYearButton),.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB3{margin-left:6.25rem}.sapUiCalItemNow>.sapUiCalItemText{border:.125rem solid #a100c2}.sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalContent>.sapUiCalYearPicker{top:0;padding:1rem 0 1rem 0;background-color:#fff}.sapUiCalInt>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalInt>.sapUiCalContent>.sapUiCalYearPicker{margin-left:0;left:0;padding-bottom:0}.sapUiCalTimeInt>.sapUiCalContent>.sapUiCalDatesRow{top:0;padding:0 0.5rem 0 0.5rem;margin:0}.sapUiCalTimeInt>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalTimeInt>.sapUiCalContent>.sapUiCalYearPicker,.sapUiCalMonthInt>.sapUiCalContent>.sapUiCalYearPicker{padding-top:0}.sapUiCalInt.sapUiCalIntHead>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalInt.sapUiCalIntHead>.sapUiCalContent>.sapUiCalYearPicker{padding-top:4rem}.sapUiCalTimeInt.sapUiCalIntHead>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalTimeInt.sapUiCalIntHead>.sapUiCalContent>.sapUiCalYearPicker,.sapUiCalTimeInt.sapUiCalIntHead>.sapUiCalContent>.sapUiCalDatesRow,.sapUiCalMonthInt.sapUiCalIntHead>.sapUiCalContent>.sapUiCalYearPicker{padding-top:2rem}.sapUiCalMulti>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalMulti>.sapUiCalContent>.sapUiCalYearPicker{top:0.25rem;bottom:auto;padding:1rem;margin-left:-10rem}.sapUiCalWidth:not(.sapUiCalInt):not(.sapUiCalMulti)>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalWidth:not(.sapUiCalInt):not(.sapUiCalMulti)>.sapUiCalContent>.sapUiCalYearPicker,.sapUiSizeCompact .sapUiCalWidth:not(.sapUiCalInt):not(.sapUiCalMulti)>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiSizeCompact.sapUiCalWidth:not(.sapUiCalInt):not(.sapUiCalMulti)>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiSizeCompact .sapUiCalWidth:not(.sapUiCalInt):not(.sapUiCalMulti)>.sapUiCalContent>.sapUiCalYearPicker,.sapUiSizeCompact.sapUiCalWidth:not(.sapUiCalInt):not(.sapUiCalMulti)>.sapUiCalContent>.sapUiCalYearPicker{box-sizing:border-box;width:100%;margin-left:0}.sapUiCalNoNameLine .sapUiCalItem>.sapUiCalItemText{padding-top:1rem;line-height:2rem}.sapUiCalNoNameLine .sapUiCalItem.sapUiRelativeCalItem>.sapUiCalItemText{line-height:3rem;padding-top:0}.sapUiSizeCompact .sapMPlanCal .sapUiCalNoNameLine .sapUiCalItem.sapUiRelativeCalItem>.sapUiCalItemText{padding-left:25%}.sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemNow>.sapUiCalItemText{line-height:1.85rem}.sapUiCalNoNameLine .sapUiCalItem>.sapUiCalDayName{line-height:1rem;height:1rem;font-size:0.75rem;padding-top:0.375rem}.sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween)>.sapUiCalDayName{color:#fff}.sapUiCalItemTextAmPm{line-height:2.8rem;font-size:0.625rem}.sapUiCalMonthSecType .sapUiCalItem>.sapUiCalItemText{line-height:2.125rem;vertical-align:top}.sapUiCalMonthSecType .sapUiCalItem>.sapUiCalItemSecText{font-size:.75rem;height:1rem;line-height:0.625rem;padding-right:0.313rem;padding-bottom:0.313rem;box-sizing:border-box}.sapUiCalMonthSecType .sapUiCalItem:focus>.sapUiCalItemSecText{line-height:0.75rem}.sapUiSizeCompact .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow.sapUiCalItemSel>.sapUiCalItemText{line-height:1.25rem}.sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemSel:not(.sapUiCalItemSelBetween)>.sapUiCalItemSecText{color:#fff}.sapPCRelative .sapUiCalRowWeekNumbers{margin-top:0}.sapUiCalRowWeekNumbers{clear:left;font-size:0.875rem;text-align:left;line-height:3rem;height:3rem;margin-top:-0.25rem}.sapUiCalRowWeekNumber{box-sizing:border-box;height:3rem;border-width:0.0625rem;border-style:solid;display:inline-block;text-align:center;overflow:hidden;user-select:none;cursor:default}.sapPCRelative .sapUiCalRowWeekNumber{border-bottom-width:0}.sapUiCalHeadSecondMonth .sapUiCalHeadNext,.sapUiCalHeadSecondMonth .sapUiCalHeadPrev{display:none}.sapUiSizeCompact .sapUiCal,.sapUiSizeCompact.sapUiCal{padding:0.5rem 0.25rem 0 0.25rem}.sapUiSizeCompact .sapUiCal:not(.sapUiCalInt),.sapUiSizeCompact.sapUiCal:not(.sapUiCalInt){width:17rem;min-width:17rem}.sapUiSizeCompact .sapUiCal.sapUiShd,.sapUiSizeCompact.sapUiCal.sapUiShd{width:17.125rem}.sapUiSizeCompact .sapUiCalMulti:not(.sapUiCalInt),.sapUiSizeCompact.sapUiCalMulti:not(.sapUiCalInt){width:33.5rem}.sapUiSizeCompact .sapUiCalHead{height:2rem;padding:0}.sapUiSizeCompact .sapUiCalHead>button{height:2rem}.sapUiSizeCompact .sapUiCalMonthView,.sapUiSizeCompact .sapUiCalMonthPicker,.sapUiSizeCompact .sapUiCalYearPicker{width:auto}.sapUiSizeCompact .sapUiCal .sapUiCalMonthView,.sapUiSizeCompact.sapUiCal .sapUiCalMonthView,.sapUiSizeCompact .sapUiCal .sapUiCalRow,.sapUiSizeCompact.sapUiCal .sapUiCalRow{padding-left:0.25rem;padding-right:0.25rem;padding-bottom:0.5rem}.sapUiSizeCompact .sapUiCal .sapUiCalHeadPrev,.sapUiSizeCompact.sapUiCal .sapUiCalHeadPrev{left:0.25rem}.sapUiSizeCompact .sapUiCalHeadBFirst{margin-right:0.25rem}.sapUiSizeCompact .sapUiCalHeadBLast{margin-left:0.25rem}.sapUiSizeCompact .sapUiCalMulti .sapUiCalHeadB3,.sapUiSizeCompact.sapUiCalMulti .sapUiCalHeadB3,.sapUiSizeCompact .sapUiCalIntLarge .sapUiCalHeadB3,.sapUiSizeCompact.sapUiCalIntLarge .sapUiCalHeadB3,.sapUiSizeCompact .sapUiCalMonthInt .sapUiCalHeadB4,.sapUiSizeCompact.sapUiCalMonthInt .sapUiCalHeadB4{width:12.5rem}.sapUiSizeCompact .sapUiCalIntLarge .sapUiCalHeadB1,.sapUiSizeCompact.sapUiCalIntLarge .sapUiCalHeadB1{width:auto;min-width:12.5rem}.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB1,.sapUiSizeCompact.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB1,.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB2,.sapUiSizeCompact.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB2,.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB3,.sapUiSizeCompact.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB3,.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB4,.sapUiSizeCompact.sapUiCalTwoMonthsTwoColumnsJaZh .sapUiCalHeadB4,.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB1,.sapUiSizeCompact.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB1,.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB2,.sapUiSizeCompact.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB2,.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB3,.sapUiSizeCompact.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB3,.sapUiSizeCompact .sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB4,.sapUiSizeCompact.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB4{width:5.75rem}.sapUiSizeCompact .sapUiCalItem,.sapUiSizeCompact .sapUiCalWeekNum{height:2rem;line-height:1.875rem}.sapUiSizeCompact .sapUiCalInt.sapUiCalOneMonthInt .sapUiCalItem{height:3rem;line-height:2.875rem}.sapUiSizeCompact .sapUiCalContent>.sapUiCalMonthPicker,.sapUiSizeCompact .sapUiCalContent>.sapUiCalYearPicker{top:0;padding:0.25rem 0.25rem 0.25rem 0.25rem}.sapUiSizeCompact .sapUiCalTimeInt>.sapUiCalContent>.sapUiCalDatesRow{margin:0}.sapUiSizeCompact .sapUiCalTimeInt>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiSizeCompact .sapUiCalTimeInt>.sapUiCalContent>.sapUiCalYearPicker,.sapUiSizeCompact .sapUiCalMonthInt>.sapUiCalContent>.sapUiCalYearPicker{padding-top:0}.sapUiSizeCompact .sapUiCalInt>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiSizeCompact .sapUiCalInt>.sapUiCalContent>.sapUiCalYearPicker{margin-left:0}.sapUiSizeCompact .sapUiCalMulti>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiSizeCompact.sapUiCalMulti>.sapUiCalContent>.sapUiCalMonthPicker,.sapUiSizeCompact .sapUiCalMulti>.sapUiCalContent>.sapUiCalYearPicker,.sapUiSizeCompact.sapUiCalMulti>.sapUiCalContent>.sapUiCalYearPicker{top:1.5rem;padding:0.5rem;margin-left:-8.5rem;width:16rem}.sapUiSizeCompact .sapUiCalInt:not(.sapUiCalOneMonthInt) .sapUiCalNoNameLine .sapUiCalItem>.sapUiCalItemText{padding-top:0;padding-left:50%;line-height:inherit;text-align:start}.sapUiSizeCompact .sapUiCalItemNow>.sapUiCalItemText,.sapUiSizeCompact .sapUiCalInt:not(.sapUiCalOneMonthInt) .sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemNow>.sapUiCalItemText,.sapUiSizeCompact.sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemNow>.sapUiCalItemText,.sapUiSizeCompact .sapUiCalNoNameLine .sapUiCalItem.sapUiCalItemNow>.sapUiCalItemText{line-height:1.625rem}.sapUiSizeCompact .sapUiCalInt:not(.sapUiCalOneMonthInt) .sapUiCalNoNameLine .sapUiCalItem>.sapUiCalDayName{left:0;height:100%;width:50%;line-height:inherit;padding-top:0;padding-right:0.5rem;text-align:end;box-sizing:border-box}.sapUiSizeCompact .sapUiCalItemTextAmPm{line-height:1.8rem}.sapUiSizeCompact .sapUiCalMonthSecType .sapUiCalItem>.sapUiCalItemText{line-height:1rem;padding-right:0.375rem}.sapUiSizeCompact .sapUiCalMonthSecType .sapUiCalItem.sapUiCalItemNow>.sapUiCalItemText{line-height:1rem}.sapUiSizeCompact .sapUiCalMonthSecType .sapUiCalItem>.sapUiCalItemSecText{height:0.75rem;line-height:0.75rem;padding-right:0.25rem;padding-bottom:1rem}.sapUiSizeCompact .sapUiCalRowWeekNumbers{line-height:2rem;height:2rem}.sapUiSizeCompact .sapUiCalRowWeekNumber{height:2rem}.sapUiSizeCompact .sapUiCal:not(.sapUiCalInt) .sapUiCalContent{min-height:14.5rem}.sapUiSizeCompact .sapUiCal:not(.sapUiCalInt).sapUiCalSecType .sapUiCalContent{min-height:16rem}.sapUiSizeCompact .sapUiCalInt .sapUiCalContent{min-height:6.5rem}html.sap-phone [data-sap-ui-popup] .sapUiCal>.sapUiCalContent>.sapUiCalMonthPicker,html.sap-phone [data-sap-ui-popup] .sapUiCal>.sapUiCalContent>.sapUiCalYearPicker{width:100%;box-sizing:border-box;margin:0;padding-left:0.5rem;padding-right:0.5rem;padding-bottom:1rem}html.sap-phone [data-sap-ui-popup] .sapUiCal>.sapUiCalContent>.sapUiCalMonthPicker,html.sap-phone [data-sap-ui-popup] .sapUiCal>.sapUiCalContent>.sapUiCalYearPicker{left:0}.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalHead.sapUiCalHeaderWithTodayButton{justify-content:space-evenly}.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadBPlaceholder{width:100%}.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB.sapUiCalHeadB1{margin-right:0.25rem}.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB.sapUiCalHeadB4{margin-left:0.25rem}.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB.sapUiCalHeadB2.sapUiCalHeadBFirst{margin-left:0.25rem;margin-right:calc(25% - 6rem)}.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB.sapUiCalHeadB3.sapUiCalHeadBLast{margin-right:0.25rem;margin-left:calc(25% - 6rem)}.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB.sapUiCalHeadB2.sapUiCalSingleYearButton,.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalHeadB.sapUiCalHeadB4.sapUiCalSingleYearButton{width:12rem;margin-left:calc(25% - 6rem)}.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalContent>.sapUiCalMonthPicker,.sapUiCal.sapUiCalMulti.sapUiCalTwoMonthsTwoColumns .sapUiCalContent>.sapUiCalYearPicker{left:50%}.sapUiCal.sapUiCalMulti .sapUiCalContent>.sapUiCalMonthPicker,.sapUiCal.sapUiCalMulti .sapUiCalContent>.sapUiCalYearPicker{left:50%}.sapUiSizeCompact .sapUiCal .sapUiCalHead .sapUiCalHeadB2.sapUiCalSingleYearButton,.sapUiSizeCompact .sapUiCal .sapUiCalHead .sapUiCalHeadB4.sapUiCalSingleYearButton{width:11rem}.sapUiSizeCompact .sapUiCal .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadB2.sapUiCalSingleYearButton,.sapUiSizeCompact .sapUiCal .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadB4.sapUiCalSingleYearButton{width:10.5rem}.sapUiSizeCompact .sapUiCal .sapUiCalHead.sapUiCalHeaderWithTodayButton .sapUiCalHeadBPlaceholder{width:11rem}.sapUiCalMonthInt .sapUiCalMonthPicker,.sapUiCalMonthInt .sapUiCalYearPicker{display:inline-block}.sapUiCalMonthInt .sapUiCalHeadB1,.sapUiCalMonthInt .sapUiCalHeadB2{margin:0 3.125rem}.sapUiCalDateInt .sapUiCalMonthPicker,.sapUiCalDateInt .sapUiCalYearPicker{display:inline-block}.sapUiCalDateInt .sapUiCalHeadB1,.sapUiCalDateInt .sapUiCalHeadB2{width:5.75rem}.sapUiCalDateInt.sapUiCalIntLarge .sapUiCalHeadB1{width:12.5rem}.sapUiCalInt:not(.sapUiCalWithDayNamesLine):not(.sapUiCalWithWeekNumbers) .sapUiCalContent{min-height:6.5rem}.sapUiCalInt.sapUiCalWithDayNamesLine:not(.sapUiCalWithWeekNumbers) .sapUiCalContent{min-height:5.875rem}.sapUiCalInt.sapUiCalWithWeekNumbers:not(.sapUiCalWithDayNamesLine) .sapUiCalContent{min-height:3.875rem}.sapUiCalInt .sapUiCalContent>.sapUiCalMonthPicker,.sapUiCalInt .sapUiCalContent>.sapUiCalYearPicker{padding:0}.sapUiUnifiedLegend{color:#556b82;font-family:\"72\",\"72full\",Arial,Helvetica,sans-serif;font-size:.75rem;font-weight:normal;padding:0.75rem;background-color:#fff}.sapUiUnifiedLegendItems{column-gap:0.5rem;-moz-column-gap:0.5rem;-webkit-column-gap:0.5rem}.sapUiUnifiedLegendDescription{display:inline-block;line-height:1rem;margin-top:0.375rem;margin-bottom:0.25rem;width:calc(72%);cursor:default}.sapUiUnifiedLegendSquare{display:inline-block;vertical-align:top;margin:4px 8px 4px 4px;background:#fff}.sapUiUnifiedLegendSquareColor{height:0.875rem;width:0.875rem;margin:0.125rem;background:#fcfcfc;border:.0625rem solid #758ca4;box-sizing:content-box;border-radius:0.125rem}.sapUiUnifiedLegendSquareSelected{height:1rem;width:1rem;background:#fff;border:.125rem solid #a100c2}.sapUiUnifiedLegendItem{position:relative}.sapUiUnifiedLegendItem:focus{outline:none}.sapUiUnifiedLegendItem:focus::after{content:\"\";position:absolute;box-sizing:border-box;left:0;top:0;right:0;bottom:0;border:.0625rem dotted #0032a5;pointer-events:none}.sapUiSizeCompact .sapUiUnifiedLegend,.sapUiSizeCompact.sapUiUnifiedLegend{padding:0.5rem}.sapUiSizeCompact .sapUiUnifiedLegendItems,.sapUiSizeCompact.sapUiUnifiedLegendItems{column-gap:0.5rem;-moz-column-gap:0.5rem;-webkit-column-gap:0.5rem}.sapUiSizeCompact .sapUiUnifiedLegendSquare{margin:2px 8px 2px 2px}.sapUiSizeCompact .sapUiUnifiedLegendDescription{line-height:0.75rem}.sapUiUnifiedLegendToday>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{height:0.75rem;width:0.75rem;background-color:#fff;border:.125rem solid #a100c2;box-sizing:content-box}.sapUiUnifiedLegendSelected>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#0064d9}.sapUiUnifiedLegendWorkingDay>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#fff}.sapUiUnifiedLegendNonWorkingDay>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#e8e8e8}.sapUiUnifiedLegend hr{margin-left:-0.5rem;margin-right:-0.5rem;border-width:0 0 1px 0}.sapMDialog-CTX .sapUiUnifiedLegend,.sapMPopup-CTX .sapUiUnifiedLegend{padding:1rem}.sapUiUnifiedLegendNonWorkingDay>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#ebebeb}.sapUiCalLegDayType01>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#c35500}.sapUiCalLegDayType02>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#d23a0a}.sapUiCalLegDayType03>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#df1278}.sapUiCalLegDayType04>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#840606}.sapUiCalLegDayType05>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#cc00dc}.sapUiCalLegDayType06>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#0057d2}.sapUiCalLegDayType07>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#07838f}.sapUiCalLegDayType08>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#188918}.sapUiCalLegDayType09>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#5b738b}.sapUiCalLegDayType10>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#7800a4}.sapUiCalLegDayType11>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#a93e00}.sapUiCalLegDayType12>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#aa2608}.sapUiCalLegDayType13>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#ba066c}.sapUiCalLegDayType14>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#8d2a00}.sapUiCalLegDayType15>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#4e247a}.sapUiCalLegDayType16>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#002a86}.sapUiCalLegDayType17>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#035663}.sapUiCalLegDayType18>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#1e592f}.sapUiCalLegDayType19>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#1a4796}.sapUiCalLegDayType20>.sapUiUnifiedLegendSquare>.sapUiUnifiedLegendSquareColor{background:#470ced}r .sapUiCalendarRow{background-color:#fff;border:.0625rem solid #e5e5e5;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sapUiCalendarRowApps{position:relative;height:100%;overflow-x:hidden;overflow-y:auto}.sapUiCalendarAppText,.sapUiCalendarAppDescription{font-size:0.75rem}.sapUiCalendarRowWithHead>.sapUiCalendarRowApps{width:80%;line-height:normal;display:inline-block;min-height:5rem}html.sapUiMedia-Std-Phone .sapUiCalendarRowWithHead>.sapUiCalendarRowApps{width:100%}.sapUiCalendarRowAppsInt{min-height:100%;height:100%;border-width:0 0.0625rem 0 0.0625rem;border-style:solid;border-color:#e5e5e5;box-sizing:border-box;float:left;cursor:default}.sapUiCalendarRowAppsSubInt{height:calc(100% - 1.75rem);border-width:0 0.0625rem 0 0;border-style:solid;border-color:#e5e5e5;box-sizing:border-box;float:left}.sapUiCalendarRowAppsIntNoHead>.sapUiCalendarRowAppsSubInt{height:100%}.sapUiCalendarRowAppsInt>.sapUiCalendarRowAppsSubInt:last-child{border-right:none}.sapMListTblRow:not(.sapMLIBSelected) .sapUiCalendarRowAppsNoWork,.sapMListTblSubRow:not(.sapMLIBSelected) .sapUiCalendarRowAppsNoWork{background-color:#f7f7f7}.sapUiCalendarRowAppsIntHead{height:1.5rem;line-height:1.3rem;width:100%;box-sizing:border-box;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:0.25rem;margin-bottom:0.25rem;cursor:default;border-radius:0.125rem}.sapUiCalendarRowApps>.sapUiCalendarRowAppsIntHead{position:absolute;top:0;width:auto}.sapUiCalendarRowAppsIntHeadFirst{border:.0625rem solid #758ca4;border-left:.25rem solid #bfbfbf}.sapUiCalendarRowAppsIntHeadIcon{width:1rem;height:1rem;line-height:1rem;padding-left:0.375rem;font-size:1rem;vertical-align:middle;color:#556b82}.sapUiCalendarRowAppsIntHeadTitle{white-space:nowrap;padding-left:0.375rem;padding-top:0.05rem;box-sizing:border-box}.sapUiCalendarRowAppsIntHeadText{display:none}.sapUiCalendarRowAppsIntNoWork{height:100%;width:100%;position:absolute;overflow:hidden}.sapUiCalendarApp{box-sizing:border-box;position:absolute;height:3rem;color:#131e29;background-color:#fff;border-left:.25rem solid #bfbfbf;outline:none;cursor:pointer;overflow:hidden;margin-bottom:0.25rem;border-radius:0.125rem}.sapUiCalendarAppHeight3{height:4.25rem}.sapUiCalendarAppHeight2{height:3rem}.sapUiCalendarAppHeight1{height:1.375rem;line-height:0.5rem}.sapUiCalendarApp.sapUiCalendarAppHeight1.sapUiCalendarAppTitleOnly{line-height:0.5rem}.sapUiSizeCompact .sapUiCalendarApp{min-width:2rem}.sapUiSizeCozy .sapUiCalendarApp{min-width:3rem}.sapUiSizeCompact .sapUiCalendarAppHalfColumnRounding .sapUiCalendarApp,.sapUiCalendarAppHalfColumnRounding .sapUiCalendarApp{min-width:1rem}.sapMPlanCal.sapUiCalendarAppFitVertically .sapUiCalendarApp{height:4rem;margin-bottom:0;line-height:3rem}.sapUiCalendarRowAppsRedHeight>.sapUiCalendarRowApps>.sapUiCalendarApp.sapUiCalendarAppTitleOnly{height:1.375rem}.sapUiCalendarAppDummy{width:2rem}.sapUiCalendarAppCont{box-sizing:border-box;position:relative;border:.0625rem solid #bfbfbf;border-left:none;height:100%;width:100%}.sapUiCalendarAppSmall>.sapUiCalendarAppCont>.sapUiCalendarAppTitle,.sapUiCalendarAppSmall>.sapUiCalendarAppCont>.sapUiCalendarAppText{padding-right:0}html.sap-desktop .sapUiCalendarApp:hover:not(:active),html.sap-desktop .sapUiCalendarApp:focus:not(:active)>.sapUiCalendarAppCont{background-color:#eaecee}html.sap-desktop .sapUiCalendarApp:hover:not(:active)>.sapUiCalendarAppCont{border-color:#0064d9}.sapUiCalendarApp.sapUiCalendarAppSel{color:#fff;background-color:#0064d9}html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:hover:not(:active),html.sap-desktop .sapUiCalendarApp.sapUiCalendarAppSel:focus:not(:active)>.sapUiCalendarAppCont{background-color:#004da5}.sapUiCalendarApp.sapUiCalendarAppTent>.sapUiCalendarAppCont{border-style:dashed;border-color:#0064d9;border-left:none}.sapUiCalendarAppIcon{width:1rem;height:1rem;line-height:1rem;font-size:1rem;position:relative;top:0.375rem;left:0.375rem;margin-right:0.375rem;color:#556b82}.sapUiCalendarAppHeight1 .sapUiCalendarAppIcon{top:0.063rem}.sapUiCalendarAppArrowIcon,.sapUiCalendarRow .sapUiCalendarAppArrowIconLeft,.sapUiCalendarRow .sapUiCalendarAppArrowIconRight{top:calc(50% - 0.5rem);color:#556b82;height:0.75rem}.sapUiCalendarRow .sapUiCalendarAppCont,.sapUiCalendarRow .sapUiCalendarIntervalHeaderCont{height:100%;display:flex}.sapUiCalendarRow .sapUiCalendarAppArrowIconLeft{left:0.375rem;margin-right:0.375rem}.sapUiCalendarRow .sapUiCalendarAppArrowIconRight{right:0.375rem;margin-left:0.375rem}.sapUiCalendarRow .sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft,.sapUiCalendarRow .sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight{padding-top:0.125rem;padding-bottom:0.125rem}.sapUiCalendarRow .sapUiCalendarIntervalHeaderCont>.sapUiCalendarAppArrowIconLeft,.sapUiCalendarRow .sapUiCalendarIntervalHeaderCont>.sapUiCalendarAppArrowIconRight{top:0.3rem}.sapUiCalendarRow .sapUiCalendarAppTitleOnly>.sapUiCalendarAppCont .sapUiCalendarAppIcon,.sapUiCalendarRow .sapUiCalendarRowAppsIntHead .sapUiCalendarRowAppsIntHeadIcon{top:calc(50% - 0.5rem)}.sapUiCalendarIntervalHeaderCont>.sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),.sapUiCalendarIntervalHeaderCont>.sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),.sapUiCalendarAppCont .sapUiCalendarAppArrowIconLeft.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon),.sapUiCalendarAppCont .sapUiCalendarAppArrowIconRight.sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon):not(.sapUiCalendarAppIcon){font-size:0.75rem}.sapUiCalendarApp.sapUiCalendarAppTitleOnly{line-height:2.25rem}.sapUiCalendarRowAppsRedHeight>.sapUiCalendarRowApps>.sapUiCalendarApp.sapUiCalendarAppTitleOnly{line-height:1rem}.sapUiCalendarAppTitle,.sapUiCalendarAppText{white-space:nowrap;padding-left:0.375rem;box-sizing:border-box}.sapUiCalendarAppDescription{white-space:nowrap;padding-left:0.375rem;box-sizing:border-box;width:calc(98%);margin-right:0.375rem;display:inline-block;overflow:hidden}.sapUiCalendarAppTitleWrapper,.sapUiCalendarRowAppsIntHeadTitle,.sapUiCalendarAppTitle,.sapUiCalendarAppText{width:calc(98%);margin-right:0.375rem;display:inline-block;overflow:hidden}.sapUiCalendarAppIcon+.sapUiCalendarAppTitle,.sapUiCalendarAppIcon+.sapUiCalendarAppTitle+.sapUiCalendarAppText{padding-left:1.75rem}.sapUiCalendarAppTitle{font-size:0.875rem;color:#131e29;padding-top:0.375rem}.sapUiCalendarApp.sapUiCalendarAppTitleOnly>.sapUiCalendarAppCont .sapUiCalendarAppTitle{padding-bottom:0.375rem}.sapUiCalendarRowAppsRedHeight>.sapUiCalendarRowApps>.sapUiCalendarApp.sapUiCalendarAppTitleOnly>.sapUiCalendarAppCont .sapUiCalendarAppTitle{padding-top:0.125rem;padding-bottom:0.125rem}.sapUiCalendarAppText,.sapUiCalendarAppDescription{float:left;color:#556b82;padding-bottom:0.375rem}.sapUiCalendarRow .sapUiCalendarAppText,.sapUiCalendarRow .sapUiCalendarAppDescription{padding-bottom:0.25rem}.sapUiCalendarRowNow{border-left:.0625rem solid #0064d9;border-right:.0625rem solid #0064d9;width:0;height:100%;position:absolute;top:0}.sapUiCalendarAppContainer{width:100%;padding:0.5rem 1rem;font-size:0.875rem}.sapUiCalendarAppContainer>.sapUiCalendarAppContainerLeft{margin:0 1rem 0 0;float:left;display:inline-block;padding:0.5rem 0;line-height:0.875rem;width:6rem}.sapUiCalendarAppContainer>.sapUiCalendarAppContainerLeft>div{overflow:hidden;text-overflow:ellipsis}.sapUiCalendarAppContainer>.sapUiCalendarAppContainerRight{margin-right:1rem;height:100%}.sapUiCalendarAppContainer>.sapUiCalendarAppContainerRight>.sapUiCalendarApp{position:relative;margin:0 1rem 0 0}.sapUiCalendarAppContainer>.sapUiCalendarAppContainerRight>.sapUiCalendarApp:not(.sapUiCalendarAppSel):not(:active){background-color:transparent}.sapUiCalendarAppContainer>.sapUiCalendarAppContainerRight>.sapUiCalendarApp>.sapUiCalendarAppCont{border:none}.sapUiCalendarAppContainer>.sapUiCalendarAppContainerRight>.sapUiCalendarApp>.sapUiCalendarAppCont>.sapUiCalendarAppTitle{text-overflow:ellipsis}.sapUiCalendarAppContainer>.sapUiCalendarAppContainerRight>.sapUiCalendarRowAppsIntHead{margin:0 1rem 0 0;width:auto}.sapUiCalendarMonthRowAppsS.sapUiCalendarRowAppsInt{border:0;background-color:transparent}.sapUiCalendarMonthRowAppsS.sapUiCalendarRowAppsInt .sapUiCalendarRowNow{border-color:transparent}.sapMPlanCal .sapUiCalMonthView{width:100%}.sapMPlanCal .sapUiCalendarNoApps{height:2rem;line-height:2rem;text-align:center;vertical-align:middle;border-top:.0625rem solid #e5e5e5}.sapUiCalendarRowAppsPlaceholder{min-height:100%;height:100%;box-sizing:border-box;float:left;cursor:default;z-index:100}.sapUiCalendarAppDragging{z-index:2}.sapUiCalendarRowAppsOverlay{position:absolute;height:100%;width:100%;display:none}.sapUiCalendarRowAppsOverlayDragging{z-index:2;display:block}.sapUiCalendarAppResizeHandle{width:10px;height:100%;cursor:col-resize;display:block;position:absolute;top:0;right:0}.sapUiCalDatesRow.sapUiCalRow .sapUiCalItem.sapUiRelativeCalItem .sapUiCalItemText:active{background-color:#fff;color:#0064d9}.sapUiAppCreate.sapUiCalendarApp.sapUiCalendarAppType01{border-width:0.0625rem 0.0625rem 0.0625rem 0.25rem;opacity:.8;padding:0.375rem;font-size:0.875rem}.sapUiCalendarAppType01.sapUiCalendarApp,.sapUiCalendarAppType01.sapUiCalendarApp:active{border-left-color:#c35500}.sapUiCalendarRowVisFilled>.sapUiCalendarRowApps>.sapUiCalendarAppType01.sapUiCalendarApp:not(.sapUiCalendarAppSel)>.sapUiCalendarAppCont{background-color:#ffef9f}.sapUiCalendarRowAppsIntHeadType01.sapUiCalendarRowAppsIntHead{background-color:#ffef9f}.sapUiCalendarRowAppsIntHeadType01.sapUiCalendarRowAppsIntHeadFirst{border-left-color:#c35500}.sapUiCalendarAppType02.sapUiCalendarApp,.sapUiCalendarAppType02.sapUiCalendarApp:active{border-left-color:#d23a0a}.sapUiCalendarRowVisFilled>.sapUiCalendarRowApps>.sapUiCalendarAppType02.sapUiCalendarApp:not(.sapUiCalendarAppSel)>.sapUiCalendarAppCont{background-color:#feeae1}.sapUiCalendarRowAppsIntHeadType02.sapUiCalendarRowAppsIntHead{background-color:#feeae1}.sapUiCalendarRowAppsIntHeadType02.sapUiCalendarRowAppsIntHeadFirst{border-left-color:#d23a0a}.sapUiCalendarAppType03.sapUiCalendarApp,.sapUiCalendarAppType03.sapUiCalendarApp:active{border-left-color:#df1278}.sapUiCalendarRowVisFilled>.sapUiCalendarRowApps>.sapUiCalendarAppType03.sapUiCalendarApp:not(.sapUiCalendarAppSel)>.sapUiCalendarAppCont{background-color:#fbf6f8}.sapUiCalendarRowAppsIntHeadType03.sapUiCalendarRowAppsIntHead{background-color:#fbf6f8}.sapUiCalendarRowAppsIntHeadType03.sapUiCalendarRowAppsIntHeadFirst{border-left-color:#df1278}.sapUiCalendarAppType04.sapUiCalendarApp,.sapUiCalendarAppType04.sapUiCalendarApp:active{border-left-color:#840606}.sapUiCalendarRowVisFilled>.sapUiCalendarRowApps>.sapUiCalendarAppType04.sapUiCalendarApp:not(.sapUiCalendarAppSel)>.sapUiCalendarAppCont{background-color:#fbebeb}.sapUiCalendarRowAppsIntHeadType04.sapUiCalendarRowAppsIntHead{background-color:#fbebeb}.sapUiCalendarRowAppsIntHeadType04.sapUiCalendarRowAppsIntHeadFirst{border-left-color:#840606}.sapUiCalendarAppType05.sapUiCalendarApp,.sapUiCalendarAppType05.sapUiCalendarApp:active{border-left-color:#cc00dc}.sapUiCalendarRowVisFilled>.sapUiCalendarRowApps>.sapUiCalendarAppType05.sapUiCalendarApp:not(.sapUiCalendarAppSel)>.sapUiCalendarAppCont{background-color:#ffe5fe}.sapUiCalendarRowAppsIntHeadType05.sapUiCalendarRowAppsIntHead{background-color:#ffe5fe}.sapUiCalendarRowAppsIntHeadType05.sapUiCalendarRowAppsIntHeadFirs Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}.sapUiCondensedTableCellContent{box-sizing:border-box;padding:0 0.5rem;line-height:1.5rem;vertical-align:middle}.sapMScrollbarV,.sapMScrollbarH,.sapMScrollbarV>div,.sapMScrollbarH>div{position:absolute}.sapMScrollbarV>div,.sapMScrollbarH>div{box-sizing:border-box;-webkit-background-clip:padding-box;background-clip:padding-box;border-width:0.0625rem;border-style:solid;border-color:rgba(255,255,255,0.901961);border-radius:0.1875rem;background-color:rgba(0,0,0,0.498039)}.sapMScrollbarV{width:0.438rem;right:0.063rem;top:0;bottom:0}.sapMScrollbarV>div{width:100%}.sapMScrollbarH{height:0.4375rem;bottom:0.0625rem;left:0.125rem;right:0.125rem}.sapMScrollbarH>div{height:100%}.sapMObjStatusMarker{color:var(--sapContent_MarkerIconColor)}.sapMObjStatusMarker .sapUiIcon+.sapUiIcon,.sapMObjStatusMarker .sapUiHiddenPlaceholder+.sapUiIcon{margin-left:.5rem}.sapMObjStatusMarkerInvisible{visibility:hidden}.sapMPointer{cursor:pointer}.sapUiHyphenation{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.defaultHighlightedText{background:var(--sapContent_SearchHighlightColor);font-weight:bold}@keyframes sapMBadgeAppearPulse{0%{transform:scale(.9);opacity:1}100%{transform:scale(2);opacity:0}}@keyframes sapMBadgeAppearBounce{0%{transform:scale(1)}50%{transform:scale(1.4)}100%{transform:scale(1)}}@keyframes sapMBadgeDisappear{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes sapMBadgeUpdate{0%{transform:scale(1)}50%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes sapMBadgeAppearMotionSmall{0%{transform:scale(.33);box-shadow:0 0 0 0 rgba(0,0,0,0)}20%{transform:scale(1.66)}40%{transform:scale(1.33);box-shadow:0 0 0 1px rgba(170,8,8,0.2)}60%{transform:scale(1);box-shadow:0 0 0 .3125rem rgba(170,8,8,0.15)}100%{box-shadow:0 0 0 .375rem rgba(170,8,8,0)}}@keyframes sapMBadgeAppearMotion{0%{transform:scale(.25);box-shadow:0 0 0 0 rgba(0,0,0,0)}20%{transform:scale(1.25)}40%{transform:scale(1);box-shadow:0 0 0 1px rgba(170,8,8,0.2)}100%{box-shadow:0 0 0 .375rem rgba(170,8,8,0)}}.sapMBadge{overflow:visible;position:relative}.sapMBadge .sapMBadgeDefault{position:absolute;top:-0.125rem;right:-0.25rem;z-index:100;max-width:100%;padding-right:0.125rem;box-sizing:border-box;height:100%;transform-origin:center center;pointer-events:none}.sapMBadge .sapMBadgeDefault::after{border-radius:1.125rem;display:block;padding:0 0.3125rem;min-width:0.5rem;height:1.125rem;line-height:1.125rem;font-size:var(--sapFontSmallSize);font-family:var(--sapFontFamily);text-align:center;background-color:var(--sapContent_BadgeBackground);border:.0625rem solid var(--sapContent_BadgeBackground);color:var(--sapContent_BadgeTextColor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sapMBadgeAccentColor1.sapMBadge .sapMBadgeDefault::after{background-color:#d27700;border-color:#d27700}.sapMBadgeAccentColor2.sapMBadge .sapMBadgeDefault::after{background-color:#aa0808;border-color:#aa0808}.sapMBadgeAccentColor3.sapMBadge .sapMBadgeDefault::after{background-color:#ba066c;border-color:#ba066c}.sapMBadgeAccentColor4.sapMBadge .sapMBadgeDefault::after{background-color:#a100c2;border-color:#a100c2}.sapMBadgeAccentColor5.sapMBadge .sapMBadgeDefault::after{background-color:#5d36ff;border-color:#5d36ff}.sapMBadgeAccentColor6.sapMBadge .sapMBadgeDefault::after{background-color:#0057d2;border-color:#0057d2}.sapMBadgeAccentColor7.sapMBadge .sapMBadgeDefault::after{background-color:#046c7a;border-color:#046c7a}.sapMBadgeAccentColor8.sapMBadge .sapMBadgeDefault::after{background-color:#256f3a;border-color:#256f3a}.sapMBadgeAccentColor9.sapMBadge .sapMBadgeDefault::after{background-color:#6c32a9;border-color:#6c32a9}.sapMBadgeAccentColor10.sapMBadge .sapMBadgeDefault::after{background-color:#5b738b;border-color:#5b738b}.sapMBadge .sapMBadgeDefault::before{position:absolute;border-radius:1.125rem;display:block;padding:0 0.3125rem;min-width:0.5rem;height:1.125rem;line-height:1.125rem;font-size:var(--sapFontSmallSize);font-family:var(--sapFontFamily);background-color:var(--sapContent_BadgeBackground);border:.0625rem solid var(--sapContent_BadgeBackground);color:var(--sapContent_BadgeTextColor);text-overflow:ellipsis;overflow:hidden;opacity:0}.sapMBadgeAccentColor1.sapMBadge .sapMBadgeDefault::before{background-color:#d27700;border-color:#d27700}.sapMBadgeAccentColor2.sapMBadge .sapMBadgeDefault::before{background-color:#aa0808;border-color:#aa0808}.sapMBadgeAccentColor3.sapMBadge .sapMBadgeDefault::before{background-color:#ba066c;border-color:#ba066c}.sapMBadgeAccentColor4.sapMBadge .sapMBadgeDefault::before{background-color:#a100c2;border-color:#a100c2}.sapMBadgeAccentColor5.sapMBadge .sapMBadgeDefault::before{background-color:#5d36ff;border-color:#5d36ff}.sapMBadgeAccentColor6.sapMBadge .sapMBadgeDefault::before{background-color:#0057d2;border-color:#0057d2}.sapMBadgeAccentColor7.sapMBadge .sapMBadgeDefault::before{background-color:#046c7a;border-color:#046c7a}.sapMBadgeAccentColor8.sapMBadge .sapMBadgeDefault::before{background-color:#256f3a;border-color:#256f3a}.sapMBadgeAccentColor9.sapMBadge .sapMBadgeDefault::before{background-color:#6c32a9;border-color:#6c32a9}.sapMBadgeAccentColor10.sapMBadge .sapMBadgeDefault::before{background-color:#5b738b;border-color:#5b738b}.sapMBadgeTopLeft.sapMBadge .sapMBadgeDefault{top:-0.125rem;left:-0.25rem;right:auto}.sapMBadgeTopRight.sapMBadge .sapMBadgeDefault{top:-0.125rem;right:-0.25rem}.sapMBadgeInline.sapMBadge .sapMBadgeDefault{left:0;right:0;top:0}.sapMBadge .sapMBadgeAttention{position:absolute;top:-0.25rem;right:-0.25rem;width:0.5rem;height:0.5rem;border-radius:1.125rem;background-color:#aa0808;border:.125rem solid var(--sapObjectHeader_Background)}.sapMBadgeIndicator.sapMBadgeDefault::after{content:attr(data-badge)}.sapMBadgeIndicator.sapMBadgeDefault[data-badge='']::after{display:none}html[data-sap-ui-animation='on'] .sapMBadge.sapMBadgeAnimationTypeFull .sapMBadgeDefault.sapMBadgeAnimationAdd::after{animation:sapMBadgeAppearBounce .1s}html[data-sap-ui-animation='on'] .sapMBadge.sapMBadgeAnimationTypeFull .sapMBadgeDefault.sapMBadgeAnimationAdd::before{content:attr(data-badge);animation:sapMBadgeAppearPulse .2s}html[data-sap-ui-animation='on'] .sapMBadge.sapMBadgeAnimationTypeFull .sapMBadgeAttention.sapMBadgeAnimationRemove,html[data-sap-ui-animation='on'] .sapMBadge.sapMBadgeAnimationTypeFull .sapMBadgeDefault.sapMBadgeAnimationRemove::after{animation:sapMBadgeDisappear .1s;animation-fill-mode:forwards;transform-origin:center}html[data-sap-ui-animation='on'] .sapMBadge:not(.sapMBadgeAnimationTypeNone) .sapMBadgeDefault.sapMBadgeAnimationUpdate::after{animation:sapMBadgeUpdate .1s;animation-fill-mode:forwards}html[data-sap-ui-animation='off'] .sapMBadgeAttention.sapMBadgeAnimationRemove,html[data-sap-ui-animation='off'] .sapMBadgeDefault.sapMBadgeAnimationRemove::after{scale:0;opacity:0;display:none}.sapMBadgeAnimationTypeUpdate .sapMBadgeAttention.sapMBadgeAnimationRemove,.sapMBadgeAnimationTypeNone .sapMBadgeAttention.sapMBadgeAnimationRemove,.sapMBadgeAnimationTypeUpdate .sapMBadgeDefault.sapMBadgeAnimationRemove::after,.sapMBadgeAnimationTypeNone .sapMBadgeDefault.sapMBadgeAnimationRemove::after{scale:0;opacity:0;display:none}.sapUiMAbstractContainerContent .sapMITB{padding-top:1.75rem}.sapUiMAbstractContainerContent .sapMITH{padding:0}.sapUiMAbstractContainerContent .wrapperDefaultList .sapMLIB{padding:1.5rem}.sapMAbstractContainer .sapMPage{display:flex;flex-direction:column}.sapMAbstractContainer .sapMPage>section{position:relative;top:0 !important}.sapMAbstractContainer .sapMPage>footer:not(.sapUiHidden){position:relative}.sapMALI{display:-webkit-box;display:flex;height:2.75rem}.sapMALIText{-webkit-box-flex:1;flex:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:3rem;display:block;text-align:center;color:#0064d9}.sapMALI>.sapMLIBContent{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;white-space:nowrap;text-overflow:ellipsis}.sapMALI .sapMLIBUnread,.sapMALI .sapMLIBSelectS,.sapMALI .sapMLIBSelectM,.sapMALI .sapMLIBSelectD{display:none}.sapMList .sapMLIB.sapMALI:not(.sapMLIBActive){background:#fff;border-color:#e5e5e5}html.sap-desktop .sapMList .sapMLIB.sapMALI:not(.sapMLIBActive){background:#fff;border-color:#e5e5e5}html.sap-desktop .sapMList .sapMLIB.sapMALI:hover:not(.sapMLIBActive)>.sapMLIBContent{background:#eaecee}.sapUiSizeCompact .sapMALI{height:2rem}.sapUiSizeCompact .sapMALI>.sapMLIBContent{line-height:2rem}.sapUiSizeCompact .sapMALIText{font-size:.875rem}.sapMActionSelectPicker .sapMBtn{display:block;width:100%;height:2.5rem;padding:0;border-top-width:0;border-bottom-width:1px;text-shadow:var(--sapContent_TextShadow)}.sapMActionSelectPicker .sapMBtnInner{border:1px solid var(--sapList_BorderColor);overflow:hidden}.sapMActionSelectPicker .sapMSelectListItemBaseSelected.sapMActionSelectItemWithoutFocus{outline:none}.sapMActionSheetDialog.sapMDialog{top:auto !important;bottom:0;width:100%;max-width:20rem;border-radius:0.25rem 0.25rem 0 0}.sapMActionSheetDialog.sapMDialog.sapMDialogPhone{overflow:visible}.sapMActionSheet:focus{outline:none}.sapMActionSheetDialog .sapMDialogScroll{display:block}.sapMActionSheetButton>.sapMBtnInner{text-align:start}.sapMActionSheetButton.sapMBtn:not(.sapMActionSheetCancelButton)>.sapMBtnInner{justify-content:flex-start}.sapMActionSheetDialogWithTitle .sapMBarMiddle .sapMBarPH{padding:0 0.75rem 0.5rem;justify-content:flex-start}.sapMDialog.sapMActionSheetDialog{background-color:transparent;box-shadow:none;border:none}.sapMDialog.sapMActionSheetDialog>section{background-color:var(--sapGroup_ContentBackground);border-radius:0.25rem 0.25rem 0 0}.sapMActionSheetDialog .sapMActionSheetButton{width:100%}.sapMActionSheetDialog .sapMActionSheetButton.sapMActionSheetCancelButton>.sapMBtnInner{text-align:center}.sapMActionSheetDialog .sapMBar.sapMHeader-CTX>.sapMBarMiddle>.sapMBarPH>.sapMDialogTitle{color:#fff;font-size:.875rem}.sapMDialog.sapMActionSheetDialog>.sapMDialogSection{box-shadow:0 0 0 .0625rem rgba(34,53,72,0.42),0 .125rem .5rem 0 rgba(34,53,72,0.3)}.sapMDialog.sapMActionSheetDialog>section{padding:0.25rem 0.5rem}.sapMDialog.sapMActionSheetDialog.sapMDialogPhone .sapMIBar.sapMHeader-CTX{background:transparent;box-shadow:none}.sapMActionSheetPopover.sapMPopover{box-shadow:0 0 0 .0625rem rgba(34,53,72,0.42),0 .125rem .5rem 0 rgba(34,53,72,0.3)}.sapMActionSheetPopover .sapMActionSheetButton{display:block;width:100%}.sapUiSizeCompact .sapMActionSheetPopover.sapMPopover .sapMPopoverCont{max-height:calc(100% - 0.375rem)}.sapUiSizeCompact .sapMActionSheetPopover.sapMPopover .sapMActionSheet{padding:0.1875rem 0.375rem}.sapUiSizeCompact .sapMActionSheetPopover.sapMPopover .sapMActionSheet .sapMActionSheetButton .sapMBtnInner.sapMBtnIconFirst{padding-left:0.4375rem;padding-right:0.4375rem}.sapMActionSheetPopover.sapMPopover .sapMPopoverCont{max-height:calc(100% - 0.5rem)}.sapMActionSheetPopover.sapMPopover .sapMActionSheet{padding:0.25rem 0.5rem}.sapMAT{width:20rem;height:23.125rem;border-radius:var(--sapTile_BorderCornerRadius);position:relative;padding:1rem;box-shadow:var(--sapContent_Shadow0);background-color:var(--sapTile_Background);display:inline-block;box-sizing:border-box;user-select:none;vertical-align:top;text-decoration:none}.sapMAT .sapMGTHdrContent{padding:0;height:3.25rem;overflow:hidden;margin-bottom:0.75rem}.sapMAT .sapMGTHdrContent .sapMText{font-size:1rem;font-weight:700;color:var(--sapTile_TitleTextColor) !important;line-height:1.5rem;cursor:pointer}.sapMAT .sapMGTHdrContent .sapMATHeaderContainer{display:flex;flex-direction:column;height:100%;justify-content:center;gap:0.25rem}.sapMAT .sapMGTHdrContent .sapMATHeaderContainer .sapMGTTitle{line-height:1.2;font-size:var(--sapFontSize)}.sapMAT .sapMGTHdrContent .sapMATHeaderContainer .sapMTilePriorityValue{font-size:0.875rem}.sapMAT .sapMGTHdrContent .sapMATHeaderContainer .sapMTilePriorityValue.High{color:var(--sapNegativeTextColor)}.sapMAT .sapMGTHdrContent .sapMATHeaderContainer .sapMTilePriorityValue.Medium{color:var(--sapCriticalTextColor)}.sapMAT .sapMGTHdrContent .sapMATHeaderContainer .sapMTilePriorityValue.Low{color:var(--sapPositiveTextColor)}.sapMAT .sapMGTHdrContent .sapMATHeaderContainer .sapMTilePriorityValue.VeryHigh{color:var(--sapIndicationColor_1_BorderColor)}.sapMAT .sapMGTActionModeContainer{position:absolute;bottom:0.25em;right:1rem}.sapMAT .sapMGTContent{height:17.4rem;overflow:visible}.sapMAT .sapMGTContent .sapMTileCnt{display:flex;flex-direction:column;height:inherit}.sapMAT .sapMGTContent .sapMTileCnt .sapMTileCntContent{margin-top:0;padding:0}.sapMAT .sapMGTContent .sapMTileCnt .sapMTileCntContent .sapMFT{height:inherit}.sapMAT .sapMGTContent .sapMTileCnt .sapMTileCntContent .sapMFT span{color:var(--sapTextColor);white-space:initial;word-break:break-all;display:-webkit-box;-webkit-line-clamp:16;-webkit-box-orient:vertical;height:fit-content;line-height:1rem;overflow:hidden;text-overflow:ellipsis;font-weight:400;font-size:var(--sapFontSize);margin-bottom:0.75rem;max-height:16rem}.sapMAT .sapMGTContent .sapMTileCnt .sapMTileCntContent .sapMFT p+span{margin-bottom:1rem;-webkit-line-clamp:14;max-height:14rem}.sapMAT .sapMGTContent .sapMTileCnt .sapMTileCntContent .sapMFT p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sapTextColor);font-weight:400;font-size:var(--sapFontSize);margin:0 0 1rem 0;line-height:1.125rem}.sapMAT .sapMGTContent .sapMTileCnt .sapMTileCntContent .sapMFT p.sapMbrPresent::first-line{color:var(--sapContent_LabelColor)}.sapMAT .sapMGTContent .sapMTileCnt .sapMTileCntContent .sapMFT p:not(.sapMbrPresent){margin-bottom:0.75rem;white-space:initial;word-break:break-all}.sapMAT .sapMGTContent .sapMTileCnt .sapMTileFtrCnt{position:absolute;bottom:1rem;right:0rem}.sapMAT.sapMATHideActionButton .sapMTileCntContent .sapMFT span{-webkit-line-clamp:14 !important}.sapMAT.sapMATHideActionButton .sapMTileCntContent .sapMFT p+span{-webkit-line-clamp:12 !important}.sapMAT.sapMATHideActionButton .sapMGTActionModeContainer{display:none !important}.sapMAT.sapMATHideActionButton{height:20.75rem}.sapMAT:hover{background-color:var(--sapTile_Hover_Background);box-shadow:var(--sapContent_Shadow2)}.sapMAT:active{background-color:var(--sapTile_Active_Background);box-shadow:none;outline:.0625rem solid var(--sapTile_Interactive_BorderColor)}.sapMAT:focus-visible{outline:none}.sapMAT.sapMATAutoPointer .sapMText{cursor:auto !important}.sapMAT:focus .sapMATFocusDiv{position:absolute;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:1rem;inset:0px;pointer-events:none}.sapMAT.sapMATHeaderImage{overflow:hidden}.sapMAT.sapMATHeaderImage .sapMGTHdrContent{display:flex;flex-direction:row;align-items:center;gap:0.5rem;height:3.25rem;margin-bottom:0.75rem}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMGTHdrIconImage.Neutral{color:var(--sapNeutralTextColor)}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMGTHdrIconImage.Good{color:var(--sapPositiveTextColor)}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMGTHdrIconImage.Critical{color:var(--sapCriticalElementColor)}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMGTHdrIconImage.Error{color:var(--sapNegativeTextColor)}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMGTHdrIconImage.None{color:var(--sapTile_IconColor)}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMGTHdrIconImage.sapUiIcon::before{height:2.75rem;font-weight:400;font-size:2.25rem;line-height:2.4375rem;display:flex;align-items:end;text-align:center}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMATIconFrame{flex-shrink:0}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMATIconFrame.sapMGTIconFrameBadge{align-self:start}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMATIconFrame.sapMGTIconFrameBadge .sapFAvatarBadgeIconActiveArea{height:3rem;width:3rem}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMATIconFrame.sapMGTIconFrameBadge .sapFAvatarBadgeIconActiveArea .sapFAvatarBadgeIcon{height:1.125rem;width:1.125rem}.sapMAT.sapMATHeaderImage .sapMGTHdrContent .sapMATIconFrame.sapMGTIconFrameBadge .sapFAvatarBadgeIconActiveArea .sapFAvatarBadgeIcon .sapUiIcon{font-size:0.75rem}.sapMAT:focus .sapMGTFocusDiv{position:absolute !important;pointer-events:none;inset:0;z-index:2;border-radius:var(--sapTile_BorderCornerRadius);border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.sapMAT:focus .sapMATFocusDiv{position:absolute !important;pointer-events:none;inset:0;z-index:2;border-radius:var(--sapTile_BorderCornerRadius);border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.sapMAT.sapMATDynamicHeight{height:auto;display:inline-flex;flex-direction:column;padding-bottom:0.4375rem}.sapMAT.sapMATDynamicHeight .sapMGTContent{height:auto}.sapMAT.sapMATDynamicHeight .sapMGTContent .sapMATC{height:auto;margin-bottom:1.0625rem}.sapMAT.sapMATDynamicHeight .sapMGTContent .sapMTileCnt{height:auto}.sapMAT.sapMATDynamicHeight .sapMGTContent .sapMTileCnt .sapMTileCntContent{height:auto}.sapMAT.sapMATDynamicHeight .sapMGTContent .sapMTileCnt .sapMTileCntContent .sapMFT span{-webkit-line-clamp:initial;max-height:none}.sapMAT.sapMATDynamicHeight .sapMGTContent .sapMTileCnt .sapMTileCntContent .sapMFT p+span{-webkit-line-clamp:initial;max-height:none}.sapMAT.sapMATDynamicHeight .sapMGTActionModeContainer{position:relative;height:fit-content;width:inherit;box-sizing:border-box;display:flex;justify-content:flex-end;padding-right:2rem;inset:0;margin-top:auto;top:0.1875rem}.sapMAT.sapMATDynamicHeight.sapMATHideActionButton{padding-bottom:1rem}.sapMAT.sapMATDynamicHeight.sapMATHideActionButton .sapMTileCntContent .sapMFT span{-webkit-line-clamp:initial !important;max-height:none}.sapMAT.sapMATDynamicHeight.sapMATHideActionButton .sapMTileCntContent .sapMFT p+span{-webkit-line-clamp:initial !important;max-height:none}.sapMAT.sapMATDynamicHeight.sapMATHideActionButton .sapMGTContent{height:auto}.sapMAT.sapMATDynamicHeight.sapMATHideActionButton .sapMGTContent .sapMATC{margin-bottom:0}.sapMAT.sapMATStateLoading .sapMGTContentShimmerPlaceholderItem{padding:0;height:20rem;align-items:initial;flex-direction:column;justify-content:space-around}.sapMAT.sapMATStateLoading .sapMGTContentShimmerPlaceholderItem .sapMGTContentShimmerPlaceholderRows{flex-grow:0}.sapMAT.sapMATStateLoading.sapMATHideActionButton .sapMGTContentShimmerPlaceholderItem{height:17.5rem;justify-content:space-evenly;padding:0px}.sapMAT.sapMATStateLoading.sapMATHideActionButton .sapMGTContentShimmerPlaceholderItem .sapMGTContentShimmerPlaceholderRows .sapMGTContentShimmerPlaceholderItemHeader,.sapMAT.sapMATStateLoading.sapMATHideActionButton .sapMGTContentShimmerPlaceholderItem .sapMGTContentShimmerPlaceholderRows .sapMGTContentShimmerPlaceholderItemText{margin-top:0}.sapMAT.sapMATStateLoading.sapMATHideActionButton .sapMGTContentShimmerPlaceholderItem .sapMGTContentShimmerPlaceholderRows .sapMGTContentShimmerPlaceholderItemText{margin-bottom:0}.sapMATC{height:14.6875rem;overflow:hidden}.sapMATC .sapMTilePriorityValue{font-size:0.875rem;font-weight:400;margin-bottom:1rem;height:1.625rem;display:flex;align-items:center}.sapMATC .sapMTilePriorityValue.High{color:#aa0808}.sapMATC .sapMTilePriorityValue.Medium{color:#b44f00}.sapMATC .sapMTilePriorityValue.Low{color:#256f3a}.sapMATC .sapMTilePriorityValue.VeryHigh{color:#840606}.sapMATC .sapMContainer{display:flex;flex-direction:column;gap:1rem}.sapMATC .sapMContainer .sapMElementWrapper{display:flex;flex-direction:column;gap:0.25rem;font-weight:400;font-size:0.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sapMATC .sapMContainer .sapMElementWrapper .sapMATCLabel{color:#556b82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:400;line-height:1rem}.sapMATC .sapMContainer .sapMElementWrapper .sapMATCValue{color:#131e29;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:400;line-height:1rem;height:1rem}.sapMATC .sapMContainer .sapMElementWrapper .sapMATCValue .sapMText{cursor:pointer}.sapMApp{width:100%;height:100%}.sapFAvatar{display:inline-block;position:relative;box-sizing:border-box}.sapFAvatar.sapFAvatarBorder{border:.0625rem solid var(--sapGroup_ContentBorderColor)}.sapFAvatar.sapMAvatarDisabled{opacity:var(--sapContent_DisabledOpacity)}.sapFAvatarColorAccent1{background-color:#d27700}.sapFAvatarColorAccent1.sapFAvatarFocusable:not(.sapMAvatarPressed):not(.sapMAvatarDisabled):hover{box-shadow:0 0 0 .0625rem #a45d00}.sapFAvatarColorAccent1{background-color:#fff3b8}.sapFAvatarColorAccent1.sapFAvatarImage.sapFAvatarFocusable:not(.sapMAvatarPressed):not(.sapMAvatarDisabled):hover,.sapFAvatarColorAccent1.sapFAvatarFocusable:not(.sapMAvatarPressed):not(.sapMAvatarDisabled):hover{background-color:#fff3b8;box-shadow:0 0 0 .0625rem var(--sapAvatar_Hover_BorderColor)}.sapFAvatarColorAccent1.sapFAvatarIcon,.sapFAvatarColorAccent1 .sapFAvatarInitialsHolder{color:#a45d00}.sapFAvatarColorAccent2{background-color:#aa0808}.sapFAvatarColorAccent2.sapFAvatarFocusable:not(.sapMAvatarPressed):not(.sapMAvatarDisabled):hover{box-shadow:0 0 0 .0625rem #aa0808}.sapFAvatarColorAccent2{background-color:#ffd0e7}.sapFAvatarColorAccent2.sapFAvatarImage.sapFAvatarFocusable:not(.sapMAvatarPressed):not(.sapMAvatarDisabled):hover,.sapFAvatarColorAccent2.sapFAvatarFocusable:not(.sapMAvatarPressed):not(.sapMAvatarDisabled):hover{background-color:#ffd0e7;box-shadow:0 0 0 .0625rem var(--sapAvatar_Hover_BorderColor)}.sapFAvatarColorAccent2.sapFAvatarIcon,.sapFAvatarColorAccent2 .sapFAvatarInitialsHolder{color:#aa0808}.sapFAvatarColorAccent3{background-color:#ba066c}.sapFAvatarColorAccent3.sapFAvatarFocusable:not(.sapMAvatarPressed):not(.sapMAvatarDisabled):hover{box-shadow:0 0 0 .0625rem #ba066c}.sapFAvatarColorAccent3{background-color:#ffdbe7}.sapFAvatarColorAccent3.sapFAvatarIm Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}\n/* Inline theming parameters */\n#sap-ui-theme-sap\\.ui\\.fl{background-image:url('data:text/plain;utf-8,%7B%7D')}\n" Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n *//*!SAP_POSTPROCESS_REDUCE_START*/:root{--sapBrandColor:#0070f2;--sapHighlightColor:#0064d9;--sapBaseColor:#fff;--sapShellColor:#fff;--sapBackgroundColor:#f5f6f7;--sapFontFamily:\"72\",\"72full\",Arial,Helvetica,sans-serif;--sapFontSize:.875rem;--sapTextColor:#131e29;--sapLinkColor:#0064d9;--sapCompanyLogo:none;--sapFavicon:none;--sapBackgroundImage:none;--sapBackgroundImageOpacity:1;--sapBackgroundImageRepeat:false;--sapSelectedColor:#0064d9;--sapHoverColor:#eaecee;--sapActiveColor:#dee2e5;--sapHighlightTextColor:#fff;--sapTitleColor:#131e29;--sapNegativeColor:#aa0808;--sapCriticalColor:#e76500;--sapPositiveColor:#256f3a;--sapInformativeColor:#0070f2;--sapNeutralColor:#788fa6;--sapNegativeElementColor:#f53232;--sapCriticalElementColor:#e76500;--sapPositiveElementColor:#30914c;--sapInformativeElementColor:#0070f2;--sapNeutralElementColor:#788fa6;--sapNegativeTextColor:#aa0808;--sapCriticalTextColor:#b44f00;--sapPositiveTextColor:#256f3a;--sapInformativeTextColor:#0064d9;--sapNeutralTextColor:#131e29;--sapErrorColor:#aa0808;--sapWarningColor:#e76500;--sapSuccessColor:#256f3a;--sapInformationColor:#0070f2;--sapErrorBackground:#ffeaf4;--sapWarningBackground:#fff8d6;--sapSuccessBackground:#f5fae5;--sapInformationBackground:#e1f4ff;--sapNeutralBackground:#eff1f2;--sapErrorBorderColor:#e90b0b;--sapWarningBorderColor:#dd6100;--sapSuccessBorderColor:#30914c;--sapInformationBorderColor:#0070f2;--sapNeutralBorderColor:#788fa6;--sapElement_LineHeight:2.75rem;--sapElement_Height:2.25rem;--sapElement_BorderWidth:.0625rem;--sapElement_BorderCornerRadius:.75rem;--sapElement_Compact_LineHeight:2rem;--sapElement_Compact_Height:1.625rem;--sapElement_Condensed_LineHeight:1.5rem;--sapElement_Condensed_Height:1.375rem;--sapContent_LineHeight:1.5;--sapContent_IconHeight:1rem;--sapContent_IconColor:#131e29;--sapContent_ContrastIconColor:#fff;--sapContent_NonInteractiveIconColor:#758ca4;--sapContent_MarkerIconColor:#5d36ff;--sapContent_MarkerTextColor:#046c7a;--sapContent_MeasureIndicatorColor:#556b81;--sapContent_Selected_MeasureIndicatorColor:#0064d9;--sapContent_Placeholderloading_Background:#ccc;--sapContent_Placeholderloading_Gradient:linear-gradient(to right, #ccc 0, #ccc 20%, #999 50%, #ccc 80%, #ccc 100%);--sapContent_ImagePlaceholderBackground:#eaecee;--sapContent_ImagePlaceholderForegroundColor:#5b738b;--sapContent_RatedColor:#d27700;--sapContent_UnratedColor:#758ca4;--sapContent_BusyColor:#0064d9;--sapContent_FocusColor:#0032a5;--sapContent_FocusStyle:solid;--sapContent_FocusWidth:.125rem;--sapContent_ContrastFocusColor:#fff;--sapContent_ShadowColor:#223548;--sapContent_ContrastShadowColor:#fff;--sapContent_Shadow0:0 0 .125rem 0 rgba(34,53,72,0.2),0 .125rem .25rem 0 rgba(34,53,72,0.2);--sapContent_Shadow1:0 0 0 .0625rem rgba(34,53,72,0.48),0 .125rem .5rem 0 rgba(34,53,72,0.3);--sapContent_Shadow2:0 0 0 .0625rem rgba(34,53,72,0.48),0 .625rem 1.875rem 0 rgba(34,53,72,0.25);--sapContent_Shadow3:0 0 0 .0625rem rgba(34,53,72,0.48),0 1.25rem 5rem 0 rgba(34,53,72,0.25);--sapContent_TextShadow:0 0 .125rem #fff;--sapContent_ContrastTextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapContent_HeaderShadow:0 .125rem .125rem 0 rgba(34,53,72,0.05),inset 0 -0.0625rem 0 0 #d9d9d9;--sapContent_Interaction_Shadow:inset 0 0 0 .0625rem rgba(85,107,129,0.25);--sapContent_Selected_Shadow:inset 0 0 0 .0625rem rgba(79,160,255,0.5);--sapContent_Negative_Shadow:inset 0 0 0 .0625rem rgba(255,142,196,0.45);--sapContent_Critical_Shadow:inset 0 0 0 .0625rem rgba(255,213,10,0.4);--sapContent_Positive_Shadow:inset 0 0 0 .0625rem rgba(48,145,76,0.18);--sapContent_Informative_Shadow:inset 0 0 0 .0625rem rgba(104,174,255,0.5);--sapContent_Neutral_Shadow:inset 0 0 0 .0625rem rgba(120,143,166,0.3);--sapContent_SearchHighlightColor:#dafdf5;--sapContent_HelpColor:#188918;--sapContent_LabelColor:#556b82;--sapContent_MonospaceFontFamily:\"72Mono\",\"72Monofull\",lucida console,monospace;--sapContent_MonospaceBoldFontFamily:\"72Mono-Bold\",\"72Mono-Boldfull\",lucida console,monospace;--sapContent_IconFontFamily:\"SAP-icons\";--sapContent_DisabledTextColor:rgba(19,30,41,0.6);--sapContent_DisabledOpacity:.4;--sapContent_ContrastTextThreshold:.65;--sapContent_ContrastTextColor:#fff;--sapContent_ForegroundColor:#efefef;--sapContent_ForegroundBorderColor:#758ca4;--sapContent_ForegroundTextColor:#131e29;--sapContent_BadgeBackground:#aa0808;--sapContent_BadgeTextColor:#fff;--sapContent_BadgeBorderColor:#fff;--sapContent_DragAndDropActiveColor:#0064d9;--sapContent_Selected_TextColor:#0064d9;--sapContent_Selected_Background:#fff;--sapContent_Selected_Hover_Background:#e3f0ff;--sapContent_Selected_ForegroundColor:#0064d9;--sapContent_ForcedColorAdjust:none;--sapContent_Lite_Shadow:None;--sapContent_Illustrative_Color1:#9b015d;--sapContent_Illustrative_Color2:#56bdff;--sapContent_Illustrative_Color3:#ff7f4c;--sapContent_Illustrative_Color4:#00144a;--sapContent_Illustrative_Color5:#a9b4be;--sapContent_Illustrative_Color6:#d5dadd;--sapContent_Illustrative_Color7:#dbf1ff;--sapContent_Illustrative_Color8:#fff;--sapContent_Illustrative_Color9:#0899a7;--sapContent_Illustrative_Color10:#dbf1ff;--sapContent_Illustrative_Color11:#df1278;--sapContent_Illustrative_Color12:#00a800;--sapContent_Illustrative_Color13:#0070f2;--sapContent_Illustrative_Color14:#0040b0;--sapContent_Illustrative_Color15:#c35500;--sapContent_Illustrative_Color16:#8d2a00;--sapContent_Illustrative_Color17:#046c7c;--sapContent_Illustrative_Color18:#bce5ff;--sapContent_Illustrative_Color19:#a3dbff;--sapContent_Illustrative_Color20:#89d1ff;--sapContent_Illustrative_Color21:#1b90ff;--sapContent_Illustrative_Color22:#00144a;--sapContent_Illustrative_Color23:#d20a0a;--sapContent_Illustrative_Color24:#ffb2d2;--sapContent_Illustrative_Color25:#ffeaf4;--sapContent_Illustrative_Color26:#ffdf72;--sapContent_Illustrative_Color27:#fff8d6;--sapContent_Illustrative_Color28:#a93e00;--sapContent_Illustrative_Color29:#450b00;--sapContent_Illustrative_Color30:#340800;--sapContent_Illustrative_Color31:#ffab92;--sapContent_Space_S:1rem;--sapContent_Space_M:2rem;--sapContent_Space_L:2rem;--sapContent_Space_XL:3rem;--sapContent_Space_Tiny:.5rem;--sapContent_Space_Small:1rem;--sapContent_Space_Medium:2rem;--sapContent_Space_Large:3rem;--sapContent_Margin_Tiny:0 0 1rem;--sapContent_Margin_Small:1rem;--sapContent_Margin_Medium:1rem 2rem;--sapContent_Margin_Large:1rem 3rem;--sapContent_Margin_S:0 0 1rem;--sapContent_Margin_M:1rem;--sapContent_Margin_L:1rem 2rem;--sapContent_Margin_XL:1rem 3rem;--sapContent_Padding_S:0;--sapContent_Padding_M:2rem;--sapContent_Padding_L:2rem;--sapContent_Padding_XL:3rem;--sapContent_Gap:1rem;--sapContent_Success_HeaderShadow:0 .125rem .125rem 0 rgba(34,53,72,0.05),inset 0 -0.0625rem 0 0 #30914c;--sapContent_Warning_HeaderShadow:0 .125rem .125rem 0 rgba(34,53,72,0.05),inset 0 -0.0625rem 0 0 #dd6100;--sapContent_Error_HeaderShadow:0 .125rem .125rem 0 rgba(34,53,72,0.05),inset 0 -0.0625rem 0 0 #e90b0b;--sapContent_Information_HeaderShadow:0 .125rem .125rem 0 rgba(34,53,72,0.05),inset 0 -0.0625rem 0 0 #0070f2;--sapFontLightFamily:\"72-Light\",\"72-Lightfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;--sapFontBoldFamily:\"72-Bold\",\"72-Boldfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;--sapFontSemiboldFamily:\"72-Semibold\",\"72-Semiboldfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;--sapFontSemiboldDuplexFamily:\"72-SemiboldDuplex\",\"72-SemiboldDuplexfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;--sapFontBlackFamily:\"72Black\",\"72Blackfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;--sapFontHeaderFamily:\"72-Bold\",\"72-Boldfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;--sapFontSmallSize:.75rem;--sapFontLargeSize:1rem;--sapFontHeader1Size:3rem;--sapFontHeader2Size:2rem;--sapFontHeader3Size:1.5rem;--sapFontHeader4Size:1.25rem;--sapFontHeader5Size:1rem;--sapFontHeader6Size:.875rem;--sapLink_TextDecoration:none;--sapLink_Hover_Color:#0064d9;--sapLink_Hover_TextDecoration:underline;--sapLink_Active_Color:#0064d9;--sapLink_Active_TextDecoration:none;--sapLink_Visited_Color:#0064d9;--sapLink_InvertedColor:#a5cfff;--sapLink_SubtleColor:#131e29;--sapShell_Background:#eff1f2;--sapShell_BackgroundImage:linear-gradient(to bottom, #eff1f2, #eff1f2);--sapShell_BackgroundImageOpacity:1;--sapShell_BackgroundImageRepeat:false;--sapShell_BorderColor:#fff;--sapShell_TextColor:#131e29;--sapShell_InteractiveBackground:#eff1f2;--sapShell_InteractiveTextColor:#131e29;--sapShell_InteractiveBorderColor:#556b81;--sapShell_GroupTitleTextColor:#131e29;--sapShell_GroupTitleTextShadow:0 0 .125rem #fff;--sapShell_Hover_Background:#fff;--sapShell_Active_Background:#fff;--sapShell_Active_TextColor:#0070f2;--sapShell_Selected_Background:#fff;--sapShell_Selected_TextColor:#0070f2;--sapShell_Selected_Hover_Background:#fff;--sapShell_Favicon:none;--sapShell_Navigation_Background:#fff;--sapShell_Navigation_Hover_Background:#fff;--sapShell_Navigation_SelectedColor:#0064d9;--sapShell_Navigation_Selected_TextColor:#0064d9;--sapShell_Navigation_TextColor:#131e29;--sapShell_Navigation_Active_TextColor:#0064d9;--sapShell_Navigation_Active_Background:#fff;--sapShell_Shadow:0 .125rem .125rem 0 rgba(34,53,72,0.15),inset 0 -0.0625rem 0 0 rgba(34,53,72,0.2);--sapShell_NegativeColor:#aa0808;--sapShell_CriticalColor:#b44f00;--sapShell_PositiveColor:#256f3a;--sapShell_InformativeColor:#0064d9;--sapShell_NeutralColor:#131e29;--sapShell_Assistant_ForegroundColor:#5d36ff;--sapShell_SubBrand_TextColor:#003e87;--sapShell_Category_1_Background:#0057d2;--sapShell_Category_1_BorderColor:#0057d2;--sapShell_Category_1_TextColor:#fff;--sapShell_Category_1_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_2_Background:#df1278;--sapShell_Category_2_BorderColor:#df1278;--sapShell_Category_2_TextColor:#fff;--sapShell_Category_2_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_3_Background:#e76500;--sapShell_Category_3_BorderColor:#e76500;--sapShell_Category_3_TextColor:#fff;--sapShell_Category_3_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_4_Background:#7800a4;--sapShell_Category_4_BorderColor:#7800a4;--sapShell_Category_4_TextColor:#fff;--sapShell_Category_4_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_5_Background:#aa2608;--sapShell_Category_5_BorderColor:#aa2608;--sapShell_Category_5_TextColor:#fff;--sapShell_Category_5_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_6_Background:#07838f;--sapShell_Category_6_BorderColor:#07838f;--sapShell_Category_6_TextColor:#fff;--sapShell_Category_6_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_7_Background:#f31ded;--sapShell_Category_7_BorderColor:#f31ded;--sapShell_Category_7_TextColor:#fff;--sapShell_Category_7_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_8_Background:#188918;--sapShell_Category_8_BorderColor:#188918;--sapShell_Category_8_TextColor:#fff;--sapShell_Category_8_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_9_Background:#002a86;--sapShell_Category_9_BorderColor:#002a86;--sapShell_Category_9_TextColor:#fff;--sapShell_Category_9_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_10_Background:#5b738b;--sapShell_Category_10_BorderColor:#5b738b;--sapShell_Category_10_TextColor:#fff;--sapShell_Category_10_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_11_Background:#d20a0a;--sapShell_Category_11_BorderColor:#d20a0a;--sapShell_Category_11_TextColor:#fff;--sapShell_Category_11_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_12_Background:#7858ff;--sapShell_Category_12_BorderColor:#7858ff;--sapShell_Category_12_TextColor:#fff;--sapShell_Category_12_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_13_Background:#a00875;--sapShell_Category_13_BorderColor:#a00875;--sapShell_Category_13_TextColor:#fff;--sapShell_Category_13_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_14_Background:#14565b;--sapShell_Category_14_BorderColor:#14565b;--sapShell_Category_14_TextColor:#fff;--sapShell_Category_14_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_15_Background:#223548;--sapShell_Category_15_BorderColor:#223548;--sapShell_Category_15_TextColor:#fff;--sapShell_Category_15_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Category_16_Background:#1e592f;--sapShell_Category_16_BorderColor:#1e592f;--sapShell_Category_16_TextColor:#fff;--sapShell_Category_16_TextShadow:0 0 .0625rem rgba(0,0,0,0.7);--sapShell_Space_S:.5rem;--sapShell_Space_M:2rem;--sapShell_Space_L:2rem;--sapShell_Space_XL:3rem;--sapShell_Gap_S:.5rem;--sapShell_Gap_M:1rem;--sapShell_Gap_L:1rem;--sapShell_Gap_XL:1rem;--sapShell_GroupGap_S:2rem;--sapShell_GroupGap_M:3rem;--sapShell_GroupGap_L:3rem;--sapShell_GroupGap_XL:3rem;--sapAssistant_Color1:#5d36ff;--sapAssistant_Color2:#a100c2;--sapAssistant_BackgroundGradient:linear-gradient(#5d36ff, #a100c2);--sapAssistant_Background:#5d36ff;--sapAssistant_BorderColor:#5d36ff;--sapAssistant_TextColor:#fff;--sapAssistant_Hover_Background:#2800cf;--sapAssistant_Hover_BorderColor:#2800cf;--sapAssistant_Hover_TextColor:#fff;--sapAssistant_Active_Background:#fff;--sapAssistant_Active_BorderColor:#5d36ff;--sapAssistant_Active_TextColor:#5d36ff;--sapAssistant_Question_Background:#eae5ff;--sapAssistant_Question_BorderColor:#eae5ff;--sapAssistant_Question_TextColor:#131e29;--sapAssistant_Answer_Background:#eff1f2;--sapAssistant_Answer_BorderColor:#eff1f2;--sapAssistant_Answer_TextColor:#131e29;--sapAvatar_1_Background:#fff3b8;--sapAvatar_1_BorderColor:#fff3b8;--sapAvatar_1_TextColor:#a45d00;--sapAvatar_1_Hover_Background:#fff3b8;--sapAvatar_2_Background:#ffd0e7;--sapAvatar_2_BorderColor:#ffd0e7;--sapAvatar_2_TextColor:#aa0808;--sapAvatar_2_Hover_Background:#ffd0e7;--sapAvatar_3_Background:#ffdbe7;--sapAvatar_3_BorderColor:#ffdbe7;--sapAvatar_3_TextColor:#ba066c;--sapAvatar_3_Hover_Background:#ffdbe7;--sapAvatar_4_Background:#ffdcf3;--sapAvatar_4_BorderColor:#ffdcf3;--sapAvatar_4_TextColor:#a100c2;--sapAvatar_4_Hover_Background:#ffdcf3;--sapAvatar_5_Background:#ded3ff;--sapAvatar_5_BorderColor:#ded3ff;--sapAvatar_5_TextColor:#552cff;--sapAvatar_5_Hover_Background:#ded3ff;--sapAvatar_6_Background:#d1efff;--sapAvatar_6_BorderColor:#d1efff;--sapAvatar_6_TextColor:#0057d2;--sapAvatar_6_Hover_Background:#d1efff;--sapAvatar_7_Background:#c2fcee;--sapAvatar_7_BorderColor:#c2fcee;--sapAvatar_7_TextColor:#046c7a;--sapAvatar_7_Hover_Background:#c2fcee;--sapAvatar_8_Background:#ebf5cb;--sapAvatar_8_BorderColor:#ebf5cb;--sapAvatar_8_TextColor:#256f3a;--sapAvatar_8_Hover_Background:#ebf5cb;--sapAvatar_9_Background:#ddccf0;--sapAvatar_9_BorderColor:#ddccf0;--sapAvatar_9_TextColor:#6c32a9;--sapAvatar_9_Hover_Background:#ddccf0;--sapAvatar_10_Background:#eaecee;--sapAvatar_10_BorderColor:#eaecee;--sapAvatar_10_TextColor:#556b82;--sapAvatar_10_Hover_Background:#eaecee;--sapAvatar_Lite_BorderColor:transparent;--sapAvatar_Lite_Background:transparent;--sapAvatar_Hover_BorderColor:rgba(85,107,129,0.25);--sapButton_Background:#fff;--sapButton_BorderColor:#bcc3ca;--sapButton_BorderWidth:.0625rem;--sapButton_BorderCornerRadius:.5rem;--sapButton_TextColor:#0064d9;--sapButton_FontFamily:\"72-SemiboldDuplex\",\"72-SemiboldDuplexfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;--sapButton_Hover_Background:#eaecee;--sapButton_Hover_BorderColor:#bcc3ca;--sapButton_Hover_TextColor:#0064d9;--sapButton_IconColor:#0064d9;--sapButton_Active_Background:#fff;--sapButton_Active_BorderColor:#0064d9;--sapButton_Active_TextColor:#0064d9;--sapButton_Emphasized_Background:#0070f2;--sapButton_Emphasized_BorderColor:#0070f2;--sapButton_Emphasized_BorderWidth:.0625rem;--sapButton_Emphasized_TextColor:#fff;--sapButton_Emphasized_FontFamily:\"72-Bold\",\"72-Boldfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;--sapButton_Emphasized_Hover_Background:#0064d9;--sapButton_Emphasized_Hover_BorderColor:#0064d9;--sapButton_Emphasized_Hover_TextColor:#fff;--sapButton_Emphasized_Active_Background:#fff;--sapButton_Emphasized_Active_BorderColor:#0064d9;--sapButton_Emphasized_Active_TextColor:#0064d9;--sapButton_Emphasized_TextShadow:transparent;--sapButton_Emphasized_FontWeight:bold;--sapButton_Reject_Background:#ffd6e9;--sapButton_Reject_BorderColor:#ffc1df;--sapButton_Reject_TextColor:#aa0808;--sapButton_Reject_Hover_Background:#ffbcdc;--sapButton_Reject_Hover_BorderColor:#ffbcdc;--sapButton_Reject_Hover_TextColor:#aa0808;--sapButton_Reject_Active_Background:#fff;--sapButton_Reject_Active_BorderColor:#e90b0b;--sapButton_Reject_Active_TextColor:#aa0808;--sapButton_Reject_Selected_Background:#fff;--sapButton_Reject_Selected_BorderColor:#e90b0b;--sapButton_Reject_Selected_TextColor:#aa0808;--sapButton_Reject_Selected_Hover_Background:#ffbcdc;--sapButton_Reject_Selected_Hover_BorderColor:#e90b0b;--sapButton_Accept_Background:#ebf5cb;--sapButton_Accept_BorderColor:#dbeda1;--sapButton_Accept_TextColor:#256f3a;--sapButton_Accept_Hover_Background:#e3f1b6;--sapButton_Accept_Hover_BorderColor:#e3f1b6;--sapButton_Accept_Hover_TextColor:#256f3a;--sapButton_Accept_Active_Background:#fff;--sapButton_Accept_Active_BorderColor:#30914c;--sapButton_Accept_Active_TextColor:#256f3a;--sapButton_Accept_Selected_Background:#fff;--sapButton_Accept_Selected_BorderColor:#30914c;--sapButton_Accept_Selected_TextColor:#256f3a;--sapButton_Accept_Selected_Hover_Background:#e3f1b6;--sapButton_Accept_Selected_Hover_BorderColor:#30914c;--sapButton_Lite_Background:transparent;--sapButton_Lite_BorderColor:transparent;--sapButton_Lite_TextColor:#0064d9;--sapButton_Lite_Hover_Background:#eaecee;--sapButton_Lite_Hover_BorderColor:#bcc3ca;--sapButton_Lite_Hover_TextColor:#0064d9;--sapButton_Lite_Active_Background:#fff;--sapButton_Lite_Active_BorderColor:#0064d9;--sapButton_Selected_Background:#edf5ff;--sapButton_Selected_BorderColor:#0064d9;--sapButton_Selected_TextColor:#0064d9;--sapButton_Selected_Hover_Background:#d9eaff;--sapButton_Selected_Hover_BorderColor:#0064d9;--sapButton_Attention_Background:#fff3b7;--sapButton_Attention_BorderColor:#ffea84;--sapButton_Attention_TextColor:#b44f00;--sapButton_Attention_Hover_Background:#ffee9e;--sapButton_Attention_Hover_BorderColor:#ffee9e;--sapButton_Attention_Hover_TextColor:#b44f00;--sapButton_Attention_Active_Background:#fff;--sapButton_Attention_Active_BorderColor:#dd6100;--sapButton_Attention_Active_TextColor:#b44f00;--sapButton_Attention_Selected_Background:#fff;--sapButton_Attention_Selected_BorderColor:#dd6100;--sapButton_Attention_Selected_TextColor:#b44f00;--sapButton_Attention_Selected_Hover_Background:#ffee9e;--sapButton_Attention_Selected_Hover_BorderColor:#dd6100;--sapButton_Negative_Background:#f53232;--sapButton_Negative_BorderColor:#f53232;--sapButton_Negative_TextColor:#fff;--sapButton_Negative_Hover_Background:#e90b0b;--sapButton_Negative_Hover_BorderColor:#e90b0b;--sapButton_Negative_Hover_TextColor:#fff;--sapButton_Negative_Active_Background:#fff;--sapButton_Negative_Active_BorderColor:#f53232;--sapButton_Negative_Active_TextColor:#aa0808;--sapButton_Critical_Background:#e76500;--sapButton_Critical_BorderColor:#e76500;--sapButton_Critical_TextColor:#fff;--sapButton_Critical_Hover_Background:#dd6100;--sapButton_Critical_Hover_BorderColor:#dd6100;--sapButton_Critical_Hover_TextColor:#fff;--sapButton_Critical_Active_Background:#fff;--sapButton_Critical_Active_BorderColor:#dd6100;--sapButton_Critical_Active_TextColor:#b44f00;--sapButton_Success_Background:#30914c;--sapButton_Success_BorderColor:#30914c;--sapButton_Success_TextColor:#fff;--sapButton_Success_Hover_Background:#2d8646;--sapButton_Success_Hover_BorderColor:#2d8646;--sapButton_Success_Hover_TextColor:#fff;--sapButton_Success_Active_Background:#fff;--sapButton_Success_Active_BorderColor:#30914c;--sapButton_Success_Active_TextColor:#256f3a;--sapButton_Information_Background:#e8f3ff;--sapButton_Information_BorderColor:#b5d7ff;--sapButton_Information_TextColor:#0064d9;--sapButton_Information_Hover_Background:#d3e8ff;--sapButton_Information_Hover_BorderColor:#b5d7ff;--sapButton_Information_Hover_TextColor:#0064d9;--sapButton_Information_Active_Background:#fff;--sapButton_Information_Active_BorderColor:#0064d9;--sapButton_Information_Active_TextColor:#0064d9;--sapButton_Neutral_Background:#e8f3ff;--sapButton_Neutral_BorderColor:#b5d7ff;--sapButton_Neutral_TextColor:#0064d9;--sapButton_Neutral_Hover_Background:#d3e8ff;--sapButton_Neutral_Hover_BorderColor:#b5d7ff;--sapButton_Neutral_Hover_TextColor:#0064d9;--sapButton_Neutral_Active_Background:#fff;--sapButton_Neutral_Active_BorderColor:#0064d9;--sapButton_Neutral_Active_TextColor:#0064d9;--sapButton_Track_Background:#788fa6;--sapButton_Track_BorderColor:#788fa6;--sapButton_Track_TextColor:#fff;--sapButton_Track_Hover_Background:#637d97;--sapButton_Track_Hover_BorderColor:#637d97;--sapButton_Track_Selected_Background:#0064d9;--sapButton_Track_Selected_BorderColor:#0064d9;--sapButton_Track_Selected_TextColor:#fff;--sapButton_Track_Selected_Hover_Background:#0058bf;--sapButton_Track_Selected_Hover_BorderColor:#0058bf;--sapButton_Handle_Background:#fff;--sapButton_Handle_BorderColor:#fff;--sapButton_Handle_TextColor:#131e29;--sapButton_Handle_Hover_Background:#fff;--sapButton_Handle_Hover_BorderColor:rgba(255,255,255,0.5);--sapButton_Handle_Selected_Background:#edf5ff;--sapButton_Handle_Selected_BorderColor:#edf5ff;--sapButton_Handle_Selected_TextColor:#0064d9;--sapButton_Handle_Selected_Hover_Background:#edf5ff;--sapButton_Handle_Selected_Hover_BorderColor:rgba(237,245,255,0.5);--sapButton_Track_Negative_Background:#f53232;--sapButton_Track_Negative_BorderColor:#f53232;--sapButton_Track_Negative_TextColor:#fff;--sapButton_Track_Negative_Hover_Background:#e90b0b;--sapButton_Track_Negative_Hover_BorderColor:#e90b0b;--sapButton_Handle_Negative_Background:#fff;--sapButton_Handle_Negative_BorderColor:#fff;--sapButton_Handle_Negative_TextColor:#aa0808;--sapButton_Handle_Negative_Hover_Background:#fff;--sapButton_Handle_Negative_Hover_BorderColor:rgba(255,255,255,0.5);--sapButton_Track_Positive_Background:#30914c;--sapButton_Track_Positive_BorderColor:#30914c;--sapButton_Track_Positive_TextColor:#fff;--sapButton_Track_Positive_Hover_Background:#2d8646;--sapButton_Track_Positive_Hover_BorderColor:#2d8646;--sapButton_Handle_Positive_Background:#fff;--sapButton_Handle_Positive_BorderColor:#fff;--sapButton_Handle_Positive_TextColor:#256f3a;--sapButton_Handle_Positive_Hover_Background:#fff;--sapButton_Handle_Positive_Hover_BorderColor:rgba(255,255,255,0.5);--sapButton_TokenBackground:#fff;--sapButton_TokenBorderColor:#bcc3ca;--sapButton_TokenBorderCornerRadius:.375rem;--sapButton_Selected_TokenBorderWidth:.125rem;--sapButton_ReadOnly_TokenBackground:#fff;--sapButton_Segment_BorderCornerRadius:.5rem;--sapField_Background:#fff;--sapField_BackgroundStyle:0 100% / 100% 0.0625rem no-repeat linear-gradient(0deg, #556b81, #556b81) border-box;--sapField_TextColor:#131e29;--sapField_PlaceholderTextColor:#556b82;--sapField_BorderColor:#556b81;--sapField_HelpBackground:#fff;--sapField_BorderWidth:.0625rem;--sapField_BorderStyle:none;--sapField_BorderCornerRadius:.25rem;--sapField_Shadow:inset 0 0 0 .0625rem rgba(85,107,129,0.25);--sapField_Hover_Background:#fff;--sapField_Hover_BackgroundStyle:0 100% / 100% 0.0625rem no-repeat linear-gradient(0deg, #0064d9, #0064d9) border-box;--sapField_Hover_BorderColor:#0064d9;--sapField_Hover_HelpBackground:#fff;--sapField_Hover_Shadow:inset 0 0 0 .0625rem rgba(79,160,255,0.5);--sapField_Hover_InvalidShadow:inset 0 0 0 .0625rem rgba(255,142,196,0.45);--sapField_Hover_WarningShadow:inset 0 0 0 .0625rem rgba(255,213,10,0.4);--sapField_Hover_SuccessShadow:inset 0 0 0 .0625rem rgba(48,145,76,0.18);--sapField_Hover_InformationShadow:inset 0 0 0 .0625rem rgba(104,174,255,0.5);--sapField_Active_BorderColor:#0064d9;--sapField_Focus_Background:#fff;--sapField_Focus_BorderColor:#0032a5;--sapField_Focus_HelpBackground:#fff;--sapField_ReadOnly_Background:#eaecee;--sapField_ReadOnly_BackgroundStyle:0 100% / 0.375rem 0.0625rem repeat-x linear-gradient(90deg, #556b81 0, #556b81 0.25rem, transparent 0.25rem) border-box;--sapField_ReadOnly_BorderColor:#556b81;--sapField_ReadOnly_BorderStyle:none;--sapField_ReadOnly_HelpBackground:#eaecee;--sapField_RequiredColor:#ba066c;--sapField_InvalidColor:#e90b0b;--sapField_InvalidBackground:#ffeaf4;--sapField_InvalidBackgroundStyle:0 100% / 100% 0.125rem no-repeat linear-gradient(0deg, #e90b0b, #e90b0b) border-box;--sapField_InvalidBorderWidth:.125rem;--sapField_InvalidBorderStyle:none;--sapField_InvalidShadow:inset 0 0 0 .0625rem rgba(255,142,196,0.45);--sapField_WarningColor:#dd6100;--sapField_WarningBackground:#fff8d6;--sapField_WarningBackgroundStyle:0 100% / 100% 0.125rem no-repeat linear-gradient(0deg, #dd6100, #dd6100) border-box;--sapField_WarningBorderWidth:.125rem;--sapField_WarningBorderStyle:none;--sapField_WarningShadow:inset 0 0 0 .0625rem rgba(255,213,10,0.4);--sapField_SuccessColor:#30914c;--sapField_SuccessBackground:#f5fae5;--sapField_SuccessBackgroundStyle:0 100% / 100% 0.0625rem no-repeat linear-gradient(0deg, #30914c, #30914c) border-box;--sapField_SuccessBorderWidth:.0625rem;--sapField_SuccessBorderStyle:none;--sapField_SuccessShadow:inset 0 0 0 .0625rem rgba(48,145,76,0.18);--sapField_InformationColor:#0070f2;--sapField_InformationBackground:#e1f4ff;--sapField_InformationBackgroundStyle:0 100% / 100% 0.125rem no-repeat linear-gradient(0deg, #0070f2, #0070f2) border-box;--sapField_InformationBorderWidth:.125rem;--sapField_InformationBorderStyle:none;--sapField_InformationShadow:inset 0 0 0 .0625rem rgba(104,174,255,0.5);--sapField_Selector_Hover_Background:#e3f0ff;--sapField_Selector_Hover_InvalidBackground:#fff;--sapField_Selector_Hover_WarningBackground:#fff;--sapField_Selector_Hover_SuccessBackground:#fff;--sapField_Selector_Hover_InformationBackground:#fff;--sapField_Picker_BorderColor:#556b81;--sapField_Picker_BorderWidth:.0625rem;--sapField_Selector_BorderStyle:solid;--sapField_Selector_ReadOnly_BorderStyle:dashed;--sapField_Selector_InvalidBorderStyle:solid;--sapField_Selector_WarningBorderStyle:solid;--sapField_Selector_SuccessBorderStyle:solid;--sapField_Selector_InformationBorderStyle:solid;--sapGroup_TitleBorderWidth:.0625rem;--sapGroup_TitleBackground:#fff;--sapGroup_TitleBorderColor:#a8b3bd;--sapGroup_TitleTextColor:#131e29;--sapGroup_Title_FontSize:1rem;--sapGroup_ContentBackground:#fff;--sapGroup_ContentBorderColor:#d9d9d9;--sapGroup_BorderWidth:.0625rem;--sapGroup_BorderCornerRadius:.75rem;--sapGroup_FooterBackground:transparent;--sapToolbar_Background:#fff;--sapToolbar_SeparatorColor:#d9d9d9;--sapList_HeaderBackground:#fff;--sapList_HeaderBorderColor:#a8b3bd;--sapList_HeaderTextColor:#131e29;--sapList_BorderColor:#e5e5e5;--sapList_BorderWidth:.0625rem;--sapList_TextColor:#131e29;--sapList_Active_TextColor:#131e29;--sapList_Active_Background:#dee2e5;--sapList_SelectionBackgroundColor:#ebf8ff;--sapList_SelectionBorderColor:#0064d9;--sapList_Hover_SelectionBackground:#dcf3ff;--sapList_Background:#fff;--sapList_Hover_Background:#eaecee;--sapList_AlternatingBackground:#f5f6f7;--sapList_GroupHeaderBackground:#fff;--sapList_GroupHeaderBorderColor:#a8b3bd;--sapList_GroupHeaderTextColor:#131e29;--sapList_TableGroupHeaderBackground:#eff1f2;--sapList_TableGroupHeaderBorderColor:#a8b3bd;--sapList_TableGroupHeaderTextColor:#131e29;--sapList_FooterBackground:#fff;--sapList_FooterTextColor:#131e29;--sapList_TableFooterBorder:#a8b3bd;--sapList_TableFixedBorderColor:#8c8c8c;--sapList_TableFixedColumnBorderWidth:.0625rem;--sapList_TableFixedRowBorderWidth:.125rem;--sapMessage_BorderWidth:.0625rem;--sapMessage_ErrorBorderColor:#ff8ec4;--sapMessage_WarningBorderColor:#ffe770;--sapMessage_SuccessBorderColor:#cee67e;--sapMessage_InformationBorderColor:#7bcfff;--sapMessage_Button_Hover_Background:rgba(234,236,238,0.2);--sapPopover_BorderCornerRadius:.5rem;--sapProgress_Background:#d5dadd;--sapProgress_BorderColor:#d5dadd;--sapProgress_TextColor:#131e29;--sapProgress_FontSize:.875rem;--sapProgress_NegativeBackground:#ffdbec;--sapProgress_NegativeBorderColor:#ffdbec;--sapProgress_NegativeTextColor:#131e29;--sapProgress_CriticalBackground:#fff4bd;--sapProgress_CriticalBorderColor:#fff4bd;--sapProgress_CriticalTextColor:#131e29;--sapProgress_PositiveBackground:#e5f2ba;--sapProgress_PositiveBorderColor:#e5f2ba;--sapProgress_PositiveTextColor:#131e29;--sapProgress_InformationBackground:#cdedff;--sapProgress_InformationBorderColor:#cdedff;--sapProgress_InformationTextColor:#131e29;--sapProgress_Value_Background:#617b94;--sapProgress_Value_BorderColor:#617b94;--sapProgress_Value_TextColor:#788fa6;--sapProgress_Value_NegativeBackground:#f53232;--sapProgress_Value_NegativeBorderColor:#f53232;--sapProgress_Value_NegativeTextColor:#f53232;--sapProgress_Value_CriticalBackground:#e76500;--sapProgress_Value_CriticalBorderColor:#e76500;--sapProgress_Value_CriticalTextColor:#e76500;--sapProgress_Value_PositiveBackground:#30914c;--sapProgress_Value_PositiveBorderColor:#30914c;--sapProgress_Value_PositiveTextColor:#30914c;--sapProgress_Value_InformationBackground:#0070f2;--sapProgress_Value_InformationBorderColor:#0070f2;--sapProgress_Value_InformationTextColor:#0070f2;--sapScrollBar_FaceColor:#7b91a8;--sapScrollBar_TrackColor:#fff Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/SimpleFormRenderer\", [],function(){\"use strict\";var e={apiVersion:2};e.render=function(e,t){t._bChangedByMe=true;e.openStart(\"div\",t).class(\"sapUiSimpleForm\").style(\"width\",t.getWidth()).openEnd();var r=t.getAggregation(\"form\");if(r.getLayout()){e.renderControl(r)}e.close(\"div\");t._bChangedByMe=false};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/library\", [\"sap/ui/base/DataType\",\"sap/ui/core/Lib\",\"sap/ui/core/library\"],function(o,e,t){\"use strict\";var a=e.init({apiVersion:2,name:\"sap.ui.layout\",version:\"1.139.0\",dependencies:[\"sap.ui.core\"],designtime:\"sap/ui/layout/designtime/library.designtime\",types:[\"sap.ui.layout.BackgroundDesign\",\"sap.ui.layout.BlockBackgroundType\",\"sap.ui.layout.BlockLayoutCellColorSet\",\"sap.ui.layout.BlockLayoutCellColorShade\",\"sap.ui.layout.BlockRowColorSets\",\"sap.ui.layout.BoxesPerRowConfig\",\"sap.ui.layout.GridIndent\",\"sap.ui.layout.GridPosition\",\"sap.ui.layout.GridSpan\",\"sap.ui.layout.SideContentFallDown\",\"sap.ui.layout.SideContentPosition\",\"sap.ui.layout.SideContentVisibility\",\"sap.ui.layout.form.ColumnsXL\",\"sap.ui.layout.form.ColumnsL\",\"sap.ui.layout.form.ColumnsM\",\"sap.ui.layout.form.ColumnCells\",\"sap.ui.layout.form.EmptyCells\",\"sap.ui.layout.form.GridElementCells\",\"sap.ui.layout.form.SimpleFormLayout\",\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",\"sap.ui.layout.cssgrid.CSSGridTrack\",\"sap.ui.layout.cssgrid.CSSGridLine\",\"sap.ui.layout.cssgrid.CSSGridGapShortHand\"],interfaces:[\"sap.ui.layout.cssgrid.IGridConfigurable\",\"sap.ui.layout.cssgrid.IGridItemLayoutData\"],controls:[\"sap.ui.layout.AlignedFlowLayout\",\"sap.ui.layout.DynamicSideContent\",\"sap.ui.layout.FixFlex\",\"sap.ui.layout.Grid\",\"sap.ui.layout.HorizontalLayout\",\"sap.ui.layout.ResponsiveFlowLayout\",\"sap.ui.layout.ResponsiveSplitter\",\"sap.ui.layout.ResponsiveSplitterPage\",\"sap.ui.layout.Splitter\",\"sap.ui.layout.VerticalLayout\",\"sap.ui.layout.BlockLayoutCell\",\"sap.ui.layout.BlockLayoutRow\",\"sap.ui.layout.BlockLayout\",\"sap.ui.layout.form.Form\",\"sap.ui.layout.form.FormLayout\",\"sap.ui.layout.form.GridLayout\",\"sap.ui.layout.form.ColumnLayout\",\"sap.ui.layout.form.ResponsiveGridLayout\",\"sap.ui.layout.form.ResponsiveLayout\",\"sap.ui.layout.form.SimpleForm\",\"sap.ui.layout.cssgrid.CSSGrid\"],elements:[\"sap.ui.layout.BlockLayoutCellData\",\"sap.ui.layout.GridData\",\"sap.ui.layout.ResponsiveFlowLayoutData\",\"sap.ui.layout.SplitterLayoutData\",\"sap.ui.layout.form.FormContainer\",\"sap.ui.layout.form.FormElement\",\"sap.ui.layout.form.GridContainerData\",\"sap.ui.layout.PaneContainer\",\"sap.ui.layout.SplitPane\",\"sap.ui.layout.form.GridElementData\",\"sap.ui.layout.form.ColumnElementData\",\"sap.ui.layout.form.ColumnContainerData\",\"sap.ui.layout.cssgrid.GridItemLayoutData\"],extensions:{flChangeHandlers:{\"sap.ui.layout.BlockLayout\":{moveControls:\"default\"},\"sap.ui.layout.BlockLayoutRow\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.BlockLayoutCell\":\"sap/ui/layout/flexibility/BlockLayoutCell\",\"sap.ui.layout.DynamicSideContent\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.form.SimpleForm\":\"sap/ui/layout/flexibility/SimpleForm\",\"sap.ui.layout.Grid\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.FixFlex\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.form.Form\":\"sap/ui/layout/flexibility/Form\",\"sap.ui.layout.form.FormContainer\":\"sap/ui/layout/flexibility/FormContainer\",\"sap.ui.layout.form.FormElement\":\"sap/ui/layout/flexibility/FormElement\",\"sap.ui.layout.HorizontalLayout\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.Splitter\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.VerticalLayout\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"}},\"sap.ui.support\":{publicRules:true,internalRules:true}}});a.BackgroundDesign={Solid:\"Solid\",Transparent:\"Transparent\",Translucent:\"Translucent\"};a.GridIndent=o.createType(\"sap.ui.layout.GridIndent\",{isValid:function(o){return/^(([Xx][Ll](?:[0-9]|1[0-1]))? ?([Ll](?:[0-9]|1[0-1]))? ?([Mm](?:[0-9]|1[0-1]))? ?([Ss](?:[0-9]|1[0-1]))?)$/.test(o)}},o.getType(\"string\"));a.GridPosition={Left:\"Left\",Right:\"Right\",Center:\"Center\"};a.GridSpan=o.createType(\"sap.ui.layout.GridSpan\",{isValid:function(o){return/^(([Xx][Ll](?:[1-9]|1[0-2]))? ?([Ll](?:[1-9]|1[0-2]))? ?([Mm](?:[1-9]|1[0-2]))? ?([Ss](?:[1-9]|1[0-2]))?)$/.test(o)}},o.getType(\"string\"));a.BlockBackgroundType={Default:\"Default\",Light:\"Light\",Mixed:\"Mixed\",Accent:\"Accent\",Dashboard:\"Dashboard\"};a.BlockRowColorSets={ColorSet1:\"ColorSet1\",ColorSet2:\"ColorSet2\",ColorSet3:\"ColorSet3\",ColorSet4:\"ColorSet4\"};a.BlockLayoutCellColorSet={ColorSet1:\"ColorSet1\",ColorSet2:\"ColorSet2\",ColorSet3:\"ColorSet3\",ColorSet4:\"ColorSet4\",ColorSet5:\"ColorSet5\",ColorSet6:\"ColorSet6\",ColorSet7:\"ColorSet7\",ColorSet8:\"ColorSet8\",ColorSet9:\"ColorSet9\",ColorSet10:\"ColorSet10\",ColorSet11:\"ColorSet11\"};a.BlockLayoutCellColorShade={ShadeA:\"ShadeA\",ShadeB:\"ShadeB\",ShadeC:\"ShadeC\",ShadeD:\"ShadeD\",ShadeE:\"ShadeE\",ShadeF:\"ShadeF\"};a.form=a.form||{};a.form.GridElementCells=o.createType(\"sap.ui.layout.form.GridElementCells\",{isValid:function(o){return/^(auto|full|([1-9]|1[0-6]))$/.test(o)}},o.getType(\"string\"));a.form.SimpleFormLayout={ResponsiveLayout:\"ResponsiveLayout\",GridLayout:\"GridLayout\",ResponsiveGridLayout:\"ResponsiveGridLayout\",ColumnLayout:\"ColumnLayout\"};a.SideContentVisibility={AlwaysShow:\"AlwaysShow\",ShowAboveL:\"ShowAboveL\",ShowAboveM:\"ShowAboveM\",ShowAboveS:\"ShowAboveS\",NeverShow:\"NeverShow\"};a.SideContentFallDown={BelowXL:\"BelowXL\",BelowL:\"BelowL\",BelowM:\"BelowM\",OnMinimumWidth:\"OnMinimumWidth\"};a.SideContentPosition={End:\"End\",Begin:\"Begin\"};a.form.ColumnsXL=o.createType(\"sap.ui.layout.form.ColumnsXL\",{isValid:function(o){if(o>0&&o<=6){return true}else{return false}}},o.getType(\"int\"));a.form.ColumnsL=o.createType(\"sap.ui.layout.form.ColumnsL\",{isValid:function(o){if(o>0&&o<=4){return true}else{return false}}},o.getType(\"int\"));a.form.ColumnsM=o.createType(\"sap.ui.layout.form.ColumnsM\",{isValid:function(o){if(o>0&&o<=3){return true}else{return false}}},o.getType(\"int\"));a.form.ColumnCells=o.createType(\"sap.ui.layout.form.ColumnCells\",{isValid:function(o){if(o===-1){return true}else if(o>0&&o<=12){return true}else{return false}}},o.getType(\"int\"));a.form.EmptyCells=o.createType(\"sap.ui.layout.form.EmptyCells\",{isValid:function(o){if(o>=0&&o<12){return true}else{return false}}},o.getType(\"int\"));if(!a.GridHelper){a.GridHelper={getLibrarySpecificClass:function(){return\"\"},bFinal:false}}a.cssgrid=a.cssgrid||{};a.cssgrid.CSSGridTrack=o.createType(\"sap.ui.layout.cssgrid.CSSGridTrack\",{isValid:function(o){var e=/(auto|inherit|(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%))|calc\\(\\s*(\\(\\s*)*[-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%)?)(\\s*(\\)\\s*)*(\\s[-+]\\s|[*\\/])\\s*(\\(\\s*)*([-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%)?)))*\\s*(\\)\\s*)*\\))/g;o=o.replace(/(minmax|repeat|fit-content|max-content|min-content|auto-fill|auto-fit|fr|min|max)/g,\"\");o=o.replace(e,\"\");o=o.replace(/\\(|\\)|\\+|\\-|\\*|\\/|calc|\\%|\\,/g,\"\");o=o.replace(/[0-9]/g,\"\");o=o.replace(/\\s/g,\"\");return o.length===0},parseValue:function(o){return o.trim().split(/\\s+/).join(\" \")}},o.getType(\"string\"));a.cssgrid.CSSGridGapShortHand=o.createType(\"sap.ui.layout.cssgrid.CSSGridGapShortHand\",{},o.getType(\"sap.ui.core.CSSGapShortHand\"));a.cssgrid.CSSGridLine=o.createType(\"sap.ui.layout.cssgrid.CSSGridLine\",{isValid:function(o){return/^(auto|inherit|((span)?(\\s)?-?[0-9]+(\\s\\/\\s(span)?(\\s)?-?[0-9]*)?)?)$/.test(o)}},o.getType(\"string\"));a.cssgrid.CSSGridAutoFlow={Row:\"Row\",Column:\"Column\",RowDense:\"RowDense\",ColumnDense:\"ColumnDense\"};a.BoxesPerRowConfig=o.createType(\"sap.ui.layout.BoxesPerRowConfig\",{isValid:function(o){return/^(([Xx][Ll](?:[1-9]|1[0-2]))? ?([Ll](?:[1-9]|1[0-2]))? ?([Mm](?:[1-9]|1[0-2]))? ?([Ss](?:[1-9]|1[0-2]))?)$/.test(o)}},o.getType(\"string\"));o.registerEnum(\"sap.ui.layout.BackgroundDesign\",a.BackgroundDesign);o.registerEnum(\"sap.ui.layout.BlockBackgroundType\",a.BlockBackgroundType);o.registerEnum(\"sap.ui.layout.BlockLayoutCellColorSet\",a.BlockLayoutCellColorSet);o.registerEnum(\"sap.ui.layout.BlockLayoutCellColorShade\",a.BlockLayoutCellColorShade);o.registerEnum(\"sap.ui.layout.BlockRowColorSets\",a.BlockRowColorSets);o.registerEnum(\"sap.ui.layout.GridPosition\",a.GridPosition);o.registerEnum(\"sap.ui.layout.SideContentFallDown\",a.SideContentFallDown);o.registerEnum(\"sap.ui.layout.SideContentPosition\",a.SideContentPosition);o.registerEnum(\"sap.ui.layout.SideContentVisibility\",a.SideContentVisibility);o.registerEnum(\"sap.ui.layout.form.SimpleFormLayout\",a.form.SimpleFormLayout);o.registerEnum(\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",a.cssgrid.CSSGridAutoFlow);return a});\nsap.ui.require.preload({\n\t\"sap/ui/layout/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"id\":\"sap.ui.layout\",\"type\":\"library\",\"embeds\":[],\"applicationVersion\":{\"version\":\"1.139.0\"},\"title\":\"SAPUI5 library with layout controls.\",\"description\":\"SAPUI5 library with layout controls.\",\"ach\":\"CA-UI5-CTR\",\"resources\":\"resources.json\",\"offline\":true},\"sap.ui\":{\"technology\":\"UI5\",\"supportedThemes\":[\"base\",\"sap_hcb\"]},\"sap.ui5\":{\"dependencies\":{\"minUI5Version\":\"1.139\",\"libs\":{\"sap.ui.core\":{\"minVersion\":\"1.139.0\"}}},\"library\":{\"i18n\":{\"bundleUrl\":\"messagebundle.properties\",\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-sappsd\",\"en-US-saprigi\",\"en-US-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]},\"content\":{\"controls\":[\"sap.ui.layout.AlignedFlowLayout\",\"sap.ui.layout.DynamicSideContent\",\"sap.ui.layout.FixFlex\",\"sap.ui.layout.Grid\",\"sap.ui.layout.HorizontalLayout\",\"sap.ui.layout.ResponsiveFlowLayout\",\"sap.ui.layout.ResponsiveSplitter\",\"sap.ui.layout.ResponsiveSplitterPage\",\"sap.ui.layout.Splitter\",\"sap.ui.layout.VerticalLayout\",\"sap.ui.layout.BlockLayoutCell\",\"sap.ui.layout.BlockLayoutRow\",\"sap.ui.layout.BlockLayout\",\"sap.ui.layout.form.Form\",\"sap.ui.layout.form.FormLayout\",\"sap.ui.layout.form.GridLayout\",\"sap.ui.layout.form.ColumnLayout\",\"sap.ui.layout.form.ResponsiveGridLayout\",\"sap.ui.layout.form.ResponsiveLayout\",\"sap.ui.layout.form.SimpleForm\",\"sap.ui.layout.cssgrid.CSSGrid\"],\"elements\":[\"sap.ui.layout.BlockLayoutCellData\",\"sap.ui.layout.GridData\",\"sap.ui.layout.ResponsiveFlowLayoutData\",\"sap.ui.layout.SplitterLayoutData\",\"sap.ui.layout.form.FormContainer\",\"sap.ui.layout.form.FormElement\",\"sap.ui.layout.form.GridContainerData\",\"sap.ui.layout.PaneContainer\",\"sap.ui.layout.SplitPane\",\"sap.ui.layout.form.GridElementData\",\"sap.ui.layout.form.ColumnElementData\",\"sap.ui.layout.form.ColumnContainerData\",\"sap.ui.layout.cssgrid.GridItemLayoutData\"],\"types\":[\"sap.ui.layout.BackgroundDesign\",\"sap.ui.layout.BlockBackgroundType\",\"sap.ui.layout.BlockLayoutCellColorSet\",\"sap.ui.layout.BlockLayoutCellColorShade\",\"sap.ui.layout.BlockRowColorSets\",\"sap.ui.layout.BoxesPerRowConfig\",\"sap.ui.layout.GridIndent\",\"sap.ui.layout.GridPosition\",\"sap.ui.layout.GridSpan\",\"sap.ui.layout.SideContentFallDown\",\"sap.ui.layout.SideContentPosition\",\"sap.ui.layout.SideContentVisibility\",\"sap.ui.layout.form.ColumnsXL\",\"sap.ui.layout.form.ColumnsL\",\"sap.ui.layout.form.ColumnsM\",\"sap.ui.layout.form.ColumnCells\",\"sap.ui.layout.form.EmptyCells\",\"sap.ui.layout.form.GridElementCells\",\"sap.ui.layout.form.SimpleFormLayout\",\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",\"sap.ui.layout.cssgrid.CSSGridTrack\",\"sap.ui.layout.cssgrid.CSSGridLine\",\"sap.ui.layout.cssgrid.CSSGridGapShortHand\"],\"interfaces\":[\"sap.ui.layout.cssgrid.IGridConfigurable\",\"sap.ui.layout.cssgrid.IGridItemLayoutData\"]}}}}'\n});\n//# sourceMappingURL=library-preload.js.map\n" Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/base/ManagedObjectModel\", [\"../json/JSONModel\",\"../json/JSONPropertyBinding\",\"../json/JSONListBinding\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/ManagedObjectObserver\",\"../Context\",\"../ChangeReason\",\"sap/base/util/uid\",\"sap/base/Log\",\"sap/base/util/isPlainObject\",\"sap/base/util/deepClone\",\"sap/base/util/deepEqual\"],function(e,t,i,r,n,s,a,o,g,f,p,h){\"use strict\";var u=\"@custom\",d=\"--\";function l(e,t,i,n){var s=i.get(t)||[],a,o;if(s&&!Array.isArray(s)&&!i.multiple){s=[s]}for(var g=0;g<s.length;g++){a=s[g];if(!(a instanceof r)){continue}o=true;if(n){e._oObserver.observe(a,{properties:true,aggregations:true})}else{e._oObserver.unobserve(a,{properties:true,aggregations:true})}var f=a.getMetadata().getAllAggregations();for(var p in f){l(e,a,f[p],n)}}if(o){var p=t.getId()+\"/@\"+i.name;if(n){if(!e._mObservedCount.aggregations[p]){e._mObservedCount.aggregations[p]=0}e._mObservedCount.aggregations[p]++}else{delete e._mObservedCount.aggregations[p]}}}function c(e){var t,i=e.length-1,n=[];while(!(e[i].node instanceof r)){if(t){n.splice(0,0,t)}t=e[i].path;i--}return[e[i].node,e[i+1],n,t]}function v(e){var t=\"\",i;var n=typeof e;if(e==null||n!=\"object\"&&n!=\"function\"){t=e}else if(f(e)){t=JSON.stringify(e)}else if(e instanceof r){t=e.getId();for(i in e.mProperties){t=t+\"$\"+v(e.mProperties[i])}}else if(Array.isArray(e)){for(var s=0;e.length;s++){t=t+\"$\"+v(e)}}else{g.warning(\"Could not stringify object \"+e);t=\"$\"}return t}var b=i.extend(\"sap.ui.model.base.ManagedObjectModelAggregationBinding\",{constructor:function(e,t,r,n,s,a){i.apply(this,arguments);this._getOriginOfManagedObjectModelBinding()},_mightBeAffectedByChangesInside:function(e){while(e){if(e.getParent()===this._oOriginMO){return true}e=e.getParent()}return false},getEntryKey:function(e){var t=e.getObject();if(t instanceof r){return t.getId()}return i.prototype.getEntryData.apply(this,arguments)},getEntryData:function(e){var t=e.getObject();if(t instanceof r){return v(t)}return i.prototype.getEntryData.apply(this,arguments)},_getContexts:function(e,t){var r;if(e<0){var n=this.getLength();e=n+e;if(e<0){e=0}}if(this._oAggregation){var s=this._oOriginMO.getBinding(this._sMember);if(s){var a=s.getModel();r=a.iSizeLimit}var o=this._oOriginMO.getBindingInfo(this._sMember);if(o&&e>=0&&t&&r&&t>r){var g=false;if(e!=o.startIndex){o.startIndex=e;g=true}if(t!=o.length){o.length=t;g=true}if(g){this._oAggregation.update(this._oOriginMO,\"change\")}}}return i.prototype._getContexts.apply(this,[e,t])},_getOriginOfManagedObjectModelBinding:function(){if(!this._oOriginMO){var e=this.oModel,t=[];e._getObject(this.sPath,this.oContext,t);var i=c(t);this._oOriginMO=i[0];this._aPartsInJSON=i[2];this._sMember=i[3];this._oAggregation=this._oOriginMO.getMetadata().getAggregation(this._sMember)}},getLength:function(){if(this._aPartsInJSON.length==0){var e=this._oOriginMO.getBinding(this._sMember);if(e&&e.isA(\"sap.ui.model.ListBinding\")){return e.getLength()}}return i.prototype.getLength.apply(this,arguments)},isLengthFinal:function(){if(this._aPartsInJSON.length==0){var e=this._oOriginMO.getBinding(this._sMember);if(e&&e.isA(\"sap.ui.model.ListBinding\")){return e.isLengthFinal()}}return true}});var y=t.extend(\"sap.ui.model.base.ManagedObjectModelPropertyBinding\");var O=e.extend(\"sap.ui.model.base.ManagedObjectModel\",{constructor:function(t,i){if(!i&&typeof i!=\"object\"){i={}}i[u]={};this._oObject=t;this._mObservedCount={properties:{},aggregations:{}};this.mListBinding={};e.apply(this,[i]);this._oObserver=new n(this.observerChanges.bind(this));this.setSizeLimit(1e6)}});O.prototype.getAggregation=e.prototype.getProperty;O.prototype.setData=function(t,i){var r={};r[u]=t;e.prototype.setData.apply(this,[r,i])};O.prototype.getJSON=function(){return JSON.stringify(this.oData[u])};O.prototype.setProperty=function(t,i,n,s){var a=this.resolve(t,n),o,f,d;if(!a){return false}if(a.indexOf(\"/\"+u)===0){return e.prototype.setProperty.apply(this,arguments)}o=a.lastIndexOf(\"/\");f=a.substring(0,o||1);d=a.substr(o+1);var l=[],v=this._getObject(f,null,l);if(v){if(v instanceof r){var b=v.getMetadata().getManagedProperty(d);if(b){if(!h(b.get(v),i)){b.set(v,i);var y=function(e){var t=this.resolve(e.sPath,e.oContext);return t?t.startsWith(a):false}.bind(this);this.checkUpdate(false,s,y);return true}}else{g.warning(\"The setProperty method only supports properties, the path \"+a+\" does not point to a property\",null,\"sap.ui.model.base.ManagedObjectModel\")}}else if(v[d]!==i){var O=c(l);var _=p(O[1].node),m=O[2];var M=_;for(var C=0;C<m.length;C++){M=M[m[C]]}M[d]=i;var j=\"/\"+d;if(m.length>0){j=\"/\"+m.join(\"/\")+j}var A=a.lastIndexOf(j);var B=a.substr(0,A);return this.setProperty(B,_,n)}}return false};O.prototype.addBinding=function(t){e.prototype.addBinding.apply(this,arguments);if(t instanceof b){var i=t.sPath.replace(\"/\",\"\");this.mListBinding[i]=t}t.checkUpdate(false)};O.prototype.removeBinding=function(t){e.prototype.removeBinding.apply(this,arguments);if(t instanceof b){var i=t.sPath.replace(\"/\",\"\");delete this.mListBinding[i]}this._observeBeforeEvaluating(t,false)};O.prototype.firePropertyChange=function(t){if(t.reason===a.Binding){t.resolvedPath=this.resolve(t.path,t.context)}e.prototype.firePropertyChange.call(this,t)};O.prototype.bindAggregation=function(t,i,r){return e.prototype.bindProperty.apply(this,arguments)};O.prototype.bindProperty=function(e,t,i){var r=new y(this,e,t,i);return r};O.prototype.bindList=function(e,t,i,r,n){var s=new b(this,e,t,i,r,n);return s};O.prototype.getManagedObject=function(e,t){if(e instanceof s){t=e;e=t.getPath()}var i=this.getProperty(e,t);if(i instanceof r){return i}return null};O.prototype.getRootObject=function(){return this._oObject};O.prototype._observePropertyChange=function(e,t){if(!e||!t){return}var i=e.getId()+\"/@\"+t.name;if(!this._oObserver.isObserved(e,{properties:[t.name]})){this._oObserver.observe(e,{properties:[t.name]});this._mObservedCount.properties[i]=1}else{this._mObservedCount.properties[i]++}};O.prototype._unobservePropertyChange=function(e,t){if(!e||!t){return}var i=e.getId()+\"/@\"+t.name;this._mObservedCount.properties[i]--;if(this._mObservedCount.properties[i]==0){this._oObserver.unobserve(e,{properties:[t.name]});delete this._mObservedCount.properties[i]}};O.prototype._observeAggregationChange=function(e,t){if(!e||!t){return}var i=e.getId()+\"/@\"+t.name;if(!this._oObserver.isObserved(e,{aggregations:[t.name]})){this._oObserver.observe(e,{aggregations:[t.name]});this._mObservedCount.aggregations[i]=1;l(this,e,t,true)}else{this._mObservedCount.aggregations[i]++}};O.prototype._unobserveAggregationChange=function(e,t){if(!e||!t){return}var i=e.getId()+\"/@\"+t.name;this._mObservedCount.aggregations[i]--;if(this._mObservedCount.aggregations[i]==0){this._oObserver.unobserve(e,{aggregations:[t.name]});delete this._mObservedCount.aggregations[i]}};O.prototype._createId=function(e){var t=this._oObject;if(typeof t.createId===\"function\"){return t.createId(e)}if(!e){return t.getId()+d+o()}if(e.indexOf(t.getId()+d)!=0){return t.getId()+d+e}return e};O.prototype._getSpecialNode=function(e,t,i,n){if(e instanceof r){if(t===\"className\"){if(e.getMetadata){return e.getMetadata().getName()}else{return typeof e}}else if(t===\"id\"){return e.getId()}else if(t===\"metadataContexts\"){return e._oProviderData}}else if(t===\"binding\"&&i&&n){return i.getBinding(n)}else if(t===\"bound\"&&i&&n){return i.isBound(n)}else if(t===\"bindingInfo\"&&i&&n){return i.getBindingInfo(n)}else if(Array.isArray(e)){if(t===\"length\"){return e.length}else if(t.indexOf(\"id=\")===0){var s=t.substring(3),a=null;for(var o=0;o<e.length;o++){if(e[o].getId()===this._createId(s)||e[o].getId()===s){a=e[o];break}}return a}}return null};O.prototype._getObject=function(t,i,n){var a=this._oObject,o=\"\",g=this;if(n){n.push({path:\"/\",node:a})}this.aBindings.forEach(function(e){if(!e._bAttached){g._observeBeforeEvaluating(e,true)}});if(typeof t===\"string\"&&t.indexOf(\"/\")!=0&&!i){return null}if(i instanceof r){a=i;o=t}else if(!i||i instanceof s){o=this.resolve(t,i);if(!o){return a}if(o.indexOf(\"/\"+u)===0){return e.prototype._getObject.apply(this,[t,i])}}else{a=i;o=t}if(!a){return null}var p=o.split(\"/\"),h=0;if(!p[0]){h++}var d=null,l=null,c;while(a!==null&&p[h]){c=p[h];if(c==\"id\"){c=\"@id\"}if(c.indexOf(\"@\")===0){a=this._getSpecialNode(a,c.substring(1),d,l)}else if(a instanceof r){var v=a.getMetadata();if(v.isInstanceOf(\"sap.ui.core.IDScope\")&&c.indexOf(\"#\")===0){a=a.byId(c.substring(1))}else{d=a;l=c;var b=v.getManagedProperty(c);if(b){a=b.get(a)}else{var y=v.getManagedAggregation(c);if(y){a=y.get(a)}else{if(a&&a[c]&&typeof a[c]===\"function\"){a=a[c]()}else{a=null}}}}}else if(Array.isArray(a)||f(a)){a=a[c]}else{if(a&&a[c]&&typeof a[c]===\"function\"){a=a[c]()}else{a=null}}if(n){n.push({path:c,node:a})}h++}return a};O.prototype.destroy=function(){for(var t in this._mAggregationObjects){var i=this._mAggregationObjects[t];if(i.object.invalidate.fn){i.object.invalidate=i.object.invalidate.fn}}e.prototype.destroy.apply(this,arguments)};O.prototype._observeBeforeEvaluating=function(e,t){if(!e.isResolved()){return}var i=e.getPath();var n=e.getContext(),a=this._oObject,o;if(n instanceof r){a=n;o=i}else if(!n||n instanceof s){o=this.resolve(i,n);if(!o){return}if(o.indexOf(\"/\"+u)===0){return}}else{return}var g=o.split(\"/\");if(!g[0]){g.shift()}var f=g[0];if(a.getMetadata().isInstanceOf(\"sap.ui.core.IDScope\")&&f.indexOf(\"#\")===0){a=a.byId(f.substring(1));f=g[1]}if(a instanceof r){var p=a.getMetadata(),h=p.getManagedProperty(f);if(h){if(t===true){this._observePropertyChange(a,h)}else if(t===false){this._unobservePropertyChange(a,h)}}else{var d=p.getAggregation(f)||p.getAllPrivateAggregations()[f];if(d){if(t===true){this._observeAggregationChange(a,d)}else if(t===false){this._unobserveAggregationChange(a,d)}}}e._bAttached=t}};O.prototype.observerChanges=function(e){if(e.type==\"aggregation\"){var t={};if(e.child instanceof r){t=e.child.getMetadata().getAllAggregations()}if(e.mutation==\"insert\"){if(e.child instanceof r){this._oObserver.observe(e.child,{properties:true,aggregations:true})}for(var i in t){l(this,e.child,t[i],true)}if(this.mListBinding[e.name]){var n=this._oObject.getBinding(e.name);var s=this._oObject.getAggregation(e.name);if(n&&n.getCurrentContexts().length!=s.length){return}}}else{if(e.child instanceof r){this._oObserver.unobserve(e.child,{properties:true,aggregations:true})}for(var i in t){l(this,e.child,t[i],false)}}}else if(e.type===\"property\"){this.aBindings.forEach(function(t){if(t._mightBeAffectedByChangesInside&&t._mightBeAffectedByChangesInside(e.object)){t.checkUpdate(true)}})}var a;if(e.object===this._oObject){a=function(t){var i=this.resolve(t.sPath,t.oContext);return i?i.startsWith(\"/\"+e.name):true}.bind(this)}this.checkUpdate(false,false,a)};O.prototype.checkUpdate=function(e,t,i){if(t){this.bForceUpdate=this.bForceUpdate||e;if(!this.sUpdateTimer){this.fnFilter=this.fnFilter||i;this.sUpdateTimer=setTimeout(function(){this.checkUpdate(this.bForceUpdate,false,this.fnFilter)}.bind(this),0)}else if(this.fnFilter&&this.fnFilter!==i){this.fnFilter=undefined}return}e=this.bForceUpdate||e;if(this.sUpdateTimer){clearTimeout(this.sUpdateTimer);this.sUpdateTimer=null;this.bForceUpdate=undefined;i=this.fnFilter===i?i:undefined;this.fnFilter=undefined}var r=this.getBindings();r.forEach(function(t){if(!i||i(t)){t.checkUpdate(e)}})};return O});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/controlhelper/TreeBindingProxy\", [\"sap/base/assert\",\"sap/base/Log\"],function(e,t){\"use strict\";var n=function(e,t){this._oControl=e;this._sAggregation=t;var n=new URLSearchParams(window.location.search);this._bEnableV4=n.get(\"sap-ui-xx-v4tree\")===\"true\"};n.prototype.isTreeBinding=function(){var e=this._oControl.getMo Copyright 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/ODataMetadata\", [\"./_ODataMetaModelUtils\",\"./AnnotationParser\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/each\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/uid\",\"sap/ui/base/EventProvider\",\"sap/ui/core/cache/CacheManager\",\"sap/ui/thirdparty/datajs\"],function(t,e,n,i,a,r,s,o,p,f,u,y){\"use strict\";var d=\"sap.ui.model.odata.ODataMetadata\",c=\"http://www.sap.com/Protocols/SAPData\";var h=f.extend(\"sap.ui.model.odata.ODataMetadata\",{constructor:function(t,e){f.apply(this,arguments);this.bLoaded=false;this.bFailed=false;this.mEntityTypes={};this.mRequestHandles={};this.sUrl=t;this.bAsync=e.async;this.sUser=e.user;this.bWithCredentials=e.withCredentials;this.sPassword=e.password;this.mHeaders=e.headers;this.sCacheKey=e.cacheKey;this.sMetadata=e.metadata;this.oLoadEvent=null;this.oFailedEvent=null;this.oMetadata=null;this.bMessageScopeSupported=false;this.mNamespaces=e.namespaces||{sap:\"http://www.sap.com/Protocols/SAPData\",m:\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\",\"\":\"http://schemas.microsoft.com/ado/2007/06/edmx\"};var n=this;this.pLoadedWithReject=new Promise(function(t,e){n.fnResolve=t;n.fnReject=e});this.pLoaded=this.pLoadedWithReject.catch(function(t){return new Promise(function(t,e){n.fnResolve=t})});function a(t){u.set(n.sCacheKey,JSON.stringify({metadata:n.oMetadata,params:t}))}function r(t){i.error(\"[ODataMetadata] initial loading of metadata failed\");if(t&&t.message){i.error(\"Error: \"+t.message)}}if(this.sCacheKey){u.get(this.sCacheKey).then(function(t){if(t){var e=JSON.parse(t);this.oMetadata=e.metadata;this._handleLoaded(this.oMetadata,e.params,false)}else{this._loadMetadata().then(a).catch(r)}}.bind(this)).catch(r)}else{this._loadMetadata().catch(r)}},metadata:{publicMethods:[\"getServiceMetadata\",\"attachFailed\",\"detachFailed\",\"attachLoaded\",\"detachLoaded\",\"refresh\"]}});h._returnsCollection=function(t){if(t&&t.returnType&&t.returnType.startsWith(\"Collection(\")){return true}return false};h.prototype._setNamespaces=function(t){this.mNamespaces=t};h.prototype._handleLoaded=function(t,e,n){var i=[];this.oMetadata=this.oMetadata?this.merge(this.oMetadata,t,i):t;this.oRequestHandle=null;e.entitySets=i;this.fnResolve(e);if(this.bAsync&&!n){this.fireLoaded(this)}else if(!this.bAsync&&!n){this.bLoaded=true;this.bFailed=false;this.oLoadEvent=setTimeout(this.fireLoaded.bind(this,e),0)}};h.prototype._loadMetadata=function(t,e,n){var i=this;t=t||this.sUrl;let a;if(!this.sMetadata){a=this._createRequest(t)}return new Promise(function(t,r){var s;function o(n,r){if(!n||!n.dataServices){var s={message:\"Invalid metadata document\",request:a,response:r};f(s);return}i.sMetadataBody=r.body;i.oRequestHandle=null;var o={metadataString:i.sMetadataBody};var p=r.headers[\"Last-Modified\"];if(p){o.lastModified=p}var u=r.headers[\"eTag\"];if(u){o.eTag=u}i._handleLoaded(n,o,e);t(o)}function f(t){var n={message:t.message,request:t.request,response:t.response};if(t.response){n.statusCode=t.response.statusCode;n.statusText=t.response.statusText;n.responseText=t.response.body}if(s&&s.bSuppressErrorHandlerCall){return}if(i.bAsync){delete i.mRequestHandles[s.id]}r(n);i.fnReject(n);if(i.bAsync&&!e){i.fireFailed(n)}else if(!i.bAsync&&!e){i.bFailed=true;i.oFailedEvent=setTimeout(i.fireFailed.bind(i,n),0)}}if(i.sMetadata){const t={headers:{\"Content-Type\":\"application/xml\"},body:i.sMetadata};y.metadataHandler.read(t,{});o(t.data,t);return}if(n){s=n(a,o,f,y.metadataHandler,undefined,undefined,true)}else{s=y.request(a,o,f,y.metadataHandler)}if(i.bAsync){s.id=p();i.mRequestHandles[s.id]=s}})};h.prototype.refresh=function(){return this._loadMetadata()};h.prototype.getServiceMetadata=function(){return this.oMetadata};h.prototype.isLoaded=function(){return this.bLoaded};h.prototype.loaded=function(t){return t?this.pLoadedWithReject:this.pLoaded};h.prototype.isFailed=function(){return this.bFailed};h.prototype.fireLoaded=function(t){this.bLoaded=true;this.bFailed=false;this.fireEvent(\"loaded\",t);i.debug(this+\" - loaded was fired\");return this};h.prototype.attachLoaded=function(t,e,n){this.attachEvent(\"loaded\",t,e,n);return this};h.prototype.detachLoaded=function(t,e){this.detachEvent(\"loaded\",t,e);return this};h.prototype.fireFailed=function(t){this.bFailed=true;this.fireEvent(\"failed\",t);return this};h.prototype.attachFailed=function(t,e,n){this.attachEvent(\"failed\",t,e,n);return this};h.prototype.detachFailed=function(t,e){this.detachEvent(\"failed\",t,e);return this};h.prototype._getEntityAssociationEnd=function(e,n){var i;if(!this._checkMetadataLoaded()){return null}this._mGetEntityAssociationEndCache=this._mGetEntityAssociationEndCache||{};i=e.namespace+\".\"+e.name+\"/\"+n;if(this._mGetEntityAssociationEndCache[i]===undefined){var a=e?t.findObject(e.navigationProperty,n):null,r=a?t.getObject(this.oMetadata.dataServices.schema,\"association\",a.relationship):null,s=r?t.findObject(r.end,a.toRole,\"role\"):null;this._mGetEntityAssociationEndCache[i]=s}return this._mGetEntityAssociationEndCache[i]};function l(t){var e={};for(var n=0;n<t.length;n++){var i=t[n];if(i.entityContainer){for(var a=0;a<i.entityContainer.length;a++){var r=i.entityContainer[a];if(r.entitySet){for(var s=0;s<r.entitySet.length;s++){if(r.entitySet[s].name!=null){e[r.entitySet[s].name]=r.entitySet[s]}}}}}}return e}h.prototype._findEntitySetByName=function(t){if(!this.mEntitySets){this.mEntitySets=l(this.oMetadata.dataServices.schema)}return this.mEntitySets[t]};h.prototype._getEntityTypeByPath=function(t){if(!t){n(undefined,\"sPath not defined!\");return null}if(this.mEntityTypes[t]){return this.mEntityTypes[t]}if(!this._checkMetadataLoaded()){return null}var e=t.replace(/^\\/|\\/$/g,\"\"),i=e.split(\"/\"),a=i.length,r,s,o,p,f=this;if(i[0].indexOf(\"(\")!=-1){i[0]=i[0].substring(0,i[0].indexOf(\"(\"))}if(a>1){r=f._getEntityTypeByPath(i[0]);for(var u=1;u<i.length;u++){if(r){if(i[u].indexOf(\"(\")!=-1){i[u]=i[u].substring(0,i[u].indexOf(\"(\"))}p=f._getEntityTypeByNavProperty(r,i[u]);if(p){r=p}o=r}}}else{s=this._splitName(this._getEntityTypeName(i[0]));o=this._getObjectMetadata(\"entityType\",s.name,s.namespace);if(o){o.entityType=this._getEntityTypeName(i[0])}}if(!o){var y=i[i.length-1];var d=this._getFunctionImportMetadata(y,\"GET\");if(!d){d=this._getFunctionImportMetadata(y,\"POST\")}if(d&&d.entitySet){o=Object.assign({},this._getEntityTypeByPath(d.entitySet));if(o){o.entityType=this._getEntityTypeName(d.entitySet);o.isFunction=true}}}if(o){this.mEntityTypes[t]=o}return o};h.prototype._getEntityTypeByName=function(t){var e,i=this,a,s,o;if(!t){n(undefined,\"sName not defined!\");return null}o=this._splitName(t);s=o.namespace;a=o.name;if(!this._checkMetadataLoaded()){return null}if(this.mEntityTypes[t]){e=this.mEntityTypes[t]}else{r(this.oMetadata.dataServices.schema,function(n,o){if(o.entityType&&(!s||o.namespace===s)){r(o.entityType,function(n,r){if(r.name===a){e=r;i.mEntityTypes[t]=e;e.namespace=o.namespace;return false}return true})}})}return e};h.prototype._checkMetadataLoaded=function(){if(!this.oMetadata||o(this.oMetadata)){n(undefined,\"No metadata loaded!\");return false}return true};h.prototype._getAnnotation=function(t){var e,i,a,r,s,o,p;i=t.split(\"/#\");r=i[1].split(\"/\");if(!i[0]){s=this._getEntityTypeByName(r[0]);n(s,r[0]+\" is not a valid EntityType\");if(!s){return undefined}o=i[1].substr(i[1].indexOf(\"/\")+1);p=this._getPropertyMetadata(s,o);n(p,o+\" is not a valid property path\");if(!p){return undefined}a=o.substr(o.indexOf(p.name));a=a.substr(a.indexOf(\"/\")+1)}else{s=this._getEntityTypeByPath(i[0]);n(s,i[0]+\" is not a valid path\");if(!s){return undefined}t=i[0].replace(/^\\/|\\/$/g,\"\");o=t;while(!p&&o.indexOf(\"/\")>0){o=o.substr(o.indexOf(\"/\")+1);p=this._getPropertyMetadata(s,o)}n(p,o+\" is not a valid property path\");if(!p){return undefined}a=r.join(\"/\")}e=this._getAnnotationObject(s,p,a);return e};h.prototype._getAnnotationObject=function(t,e,n){var i,a,r,s,o,p,f;if(!e){return undefined}p=e;f=n.split(\"/\");if(f[0].indexOf(\".\")>-1){return this._getV4AnnotationObject(t,e,f)}else if(f.length>1){p=p[f[0]];if(!p&&e.extensions){for(o=0;o<e.extensions.length;o++){s=e.extensions[o];if(s.name==f[0]){p=s;break}}}n=f.splice(0,1);i=this._getAnnotationObject(t,p,f.join(\"/\"))}else if(f[0].indexOf(\"@\")>-1){a=f[0].substr(1);r=a.split(\":\");i=p[r[0]];if(!i&&p.extensions){for(o=0;o<p.extensions.length;o++){s=p.extensions[o];if(s.name===r[1]&&s.namespace===this.mNamespaces[r[0]]){i=s.value;break}}}}else{r=f[0].split(\":\");i=p[r[0]];i=p[f[0]];if(!i&&p.extensions){for(o=0;o<p.extensions.length;o++){s=p.extensions[o];if(s.name===r[1]&&s.namespace===this.mNamespaces[r[0]]){i=s;break}}}}return i};h.prototype._getV4AnnotationObject=function(t,e,i){var a,s=[];if(i.length>1){n(i.length==1,\"'\"+i.join(\"/\")+\"' is not a valid annotation path\");return undefined}var o=t.namespace?t.namespace+\".\":\"\";o+=t.name+\"/\"+e.name;r(this.oMetadata.dataServices.schema,function(t,e){if(e.annotations){r(e.annotations,function(t,e){if(e.target===o&&!e.qualifier){s.push(e.annotation);return false}return true})}});if(s){r(s,function(t,e){r(e,function(t,e){if(e.term===i[0]){a=e}})})}return a};h.prototype._splitName=function(t){var e={};if(t){var n=t.lastIndexOf(\".\");e.name=t.substr(n+1);e.namespace=t.substr(0,n)}return e};h.prototype._getEntityTypeName=function(t){var e,n;if(t){n=this._findEntitySetByName(t);if(n){e=n.entityType}}return e};h.prototype._getObjectMetadata=function(t,e,n){var i;if(e&&n){r(this.oMetadata.dataServices.schema,function(a,s){if(s[t]&&s.namespace===n){r(s[t],function(t,n){if(n.name===e){i=n;i.namespace=s.namespace;return false}return true});return!i}return true})}return i};h.prototype.getUseBatch=function(){var t=false;r(this.oMetadata.dataServices.schema,function(e,n){if(n.entityContainer){r(n.entityContainer,function(e,n){if(n.extensions){r(n.extensions,function(e,n){if(n.name===\"use-batch\"&&n.namespace===\"http://www.sap.com/Protocols/SAPData\"){t=typeof n.value===\"string\"?n.value.toLowerCase()===\"true\":!!n.value;return false}return true})}})}});return t};h.prototype._getFunctionImportMetadataIterate=function(t,e){var n=[];r(this.oMetadata.dataServices.schema,function(i,a){if(a[\"entityContainer\"]){r(a[\"entityContainer\"],function(i,a){if(a[\"functionImport\"]){r(a[\"functionImport\"],function(i,a){if(t(a)){n.push(a);if(e){return false}}return true})}return!(e&&n.length===1)})}return!(e&&n.length===1)});return n};h.prototype._getFirstMatchingFunctionImportMetadata=function(t){var e=this._getFunctionImportMetadataIterate(t,true);return e.length===1?e[0]:null};h.prototype._getFunctionImportMetadataByName=function(t){if(t.indexOf(\"/\")>-1){t=t.substr(t.indexOf(\"/\")+1)}return this._getFunctionImportMetadataIterate(function(e){return e.name===t})};h.prototype._getFunctionImportMetadata=function(t,e){if(t.indexOf(\"/\")>-1){t=t.substr(t.indexOf(\"/\")+1)}return this._getFirstMatchingFunctionImportMetadata(function(n){return n.name===t&&n.httpMethod===e})};h.prototype._getEntityTypeByNavProperty=function(t,e){if(!t.navigationProperty){return undefined}for(var n=0;n<t.navigationProperty.length;++n){var i=t.navigationProperty[n];if(i.name===e){return this._getEntityTypeByNavPropertyObject(i)}}return undefined};h.prototype._getEntityTypeByNavPropertyObject=function(t){var e;var n=this._splitName(t.relationship);var i=this._getObjectMetadata(\"association\",n.name,n.namespace);if(i){var a=i.end[0];if(a.role!==t.toRole){a=i.end[1]}var r=this._splitName(a.type);e=this._getObjectMetadata(\"entityType\",r.name,r.namespace);if(e){e.entityType=a.type}}return e};h.prototype._getNavigationPropertyNames=function(t){var e=[];if(t.navigationProperty){r(t.navigationProperty,function(t,n){e.push(n.name)})}return e};h.prototype._getNavPropertyRefInfo=function(t,e){var n,i,a,s,o,p,f,u,y,d,c,h=this;r(t.navigationProperty,function(r,l){a=h._splitName(l.relationship);i=h._getObjectMetadata(\"association\",a.name,a.namespace);if(!i||!i.referentialConstraint){return}p=i.referentialConstraint.dependent;y=i.end.find(function(t){return t.role===p.role});if(y.type!==t.namespace+\".\"+t.name){return}f=p.propertyRef.some(function(t){return t.name===e});if(!f){return}o=i.referentialConstraint.principal;u=o.role;s=h._getAssociationSetByAssociation(l.relationship);y=s.end.find(function(t){return t.role===u});d=y.entitySet;c=o.propertyRef.map(function(t){return t.name});n={name:l.name,entitySet:d,keys:c}});return n};h.prototype._getPropertyMetadata=function(t,e){var n,i=this;if(!t){return undefined}e=e.replace(/^\\/|\\/$/g,\"\");var a=e.split(\"/\");r(t.property,function(t,e){if(e.name===a[0]){n=e;return false}return true});if(a.length>1){if(!n){var s;while(t&&a.length>1){t=this._getEntityTypeByNavProperty(t,a[0]);if(t){s=t;a.shift()}}if(t){n=i._getPropertyMetadata(t,a[0])}else if(s){n=i._getPropertyMetadata(s,a.join(\"/\"))}}else if(!n.type.toLowerCase().startsWith(\"edm.\")){var o=this._splitName(n.type);n=this._getPropertyMetadata(this._getObjectMetadata(\"complexType\",o.name,o.namespace),a.slice(1).join(\"/\"))}}return n};h.prototype._getReferentialConstraintsMapping=function(t,e){const n=t.navigationProperty.find(t=>t.name===e);const i=this._splitName(n.relationship);const a=this._getObjectMetadata(\"association\",i.name,i.namespace);if(n.fromRole===a.referentialConstraint?.principal.role){const t=a.referentialConstraint.principal.propertyRef;const e=a.referentialConstraint.dependent.propertyRef;return t.reduce((t,n,i)=>{t[n.name]=e[i].name;return t},{})}return{}};h.prototype.destroy=function(){delete this.oMetadata;var t=this;r(this.mRequestHandles,function(e,n){n.bSuppressErrorHandlerCall=true;n.abort();delete t.mRequestHandles[e]});if(this.oLoadEvent){clearTimeout(this.oLoadEvent)}if(this.oFailedEvent){clearTimeout(this.oFailedEvent)}f.prototype.destroy.apply(this,arguments)};h.prototype._fillElementCaches=function(){var t=this;if(this._entitySetMap||!this._checkMetadataLoaded()){return}this._entitySetMap={};this.oMetadata.dataServices.schema.forEach(function(e){(e.entityContainer||[]).forEach(function(e){(e.entitySet||[]).forEach(function(e){var n=t._getEntityTypeByName(e.entityType);n.__navigationPropertiesMap={};(n.navigationProperty||[]).forEach(function(t){n.__navigationPropertiesMap[t.name]=t});e.__entityType=n;t._entitySetMap[e.entityType]=e})})})};h.prototype._createRequest=function(t){var e={\"sap-cancel-on-close\":\"true\"},n={\"Accept-Language\":a.getLanguageTag().toString()};s(e,this.mHeaders,n);var i={headers:e,requestUri:t,method:\"GET\",user:this.sUser,password:this.sPassword,async:this.bAsync};if(this.bAsync){i.withCredentials=this.bWithCredentials}return i};h.prototype._getEntitySetByPath=function(t){var e;this._fillElementCaches();e=this._getEntityTypeByPath(t);return e&&this._entitySetMap[e.entityType]};h.prototype._addUrl=function(t,e){var n=[].concat(t);return Promise.all(n.map(function(t){return this._loadMetadata(t,true,e)},this))};h.prototype.merge=function(t,e,n){var i=this;if(this.mEntitySets){delete this.mEntitySets}r(t.dataServices.schema,function(t,a){r(e.dataServices.schema,function(t,e){if(e.namespace===a.namespace){if(e.entityType){if(!i.mEntityTypeNames){i.mEntityTypeNames={};a.entityType.map(function(t){i.mEntityTypeNames[t.name]=true})}a.entityType=!a.entityType?[]:a.entityType;for(var s=0;s<e.entityType.length;s++){if(!(e.entityType[s].name in i.mEntityTypeNames)){a.entityType.push(e.entityType[s]);i.mEntityTypeNames[e.entityType[s].name]=true}}}if(a.entityContainer&&e.entityContainer){r(a.entityContainer,function(t,a){r(e.entityContainer,function(t,e){if(e.entitySet){if(e.name===a.name){if(!i.mEntitySetNames){i.mEntitySetNames={};a.entitySet.map(function(t){i.mEntitySetNames[t.name]=true})}a.entitySet=!a.entitySet?[]:a.entitySet;for(var r=0;r<e.entitySet.length;r++){if(!(e.entitySet[r].name in i.mEntitySetNames)){a.entitySet.push(e.entitySet[r]);i.mEntitySetNames[e.entitySet[r].name]=true}}e.entitySet.forEach(function(t){n.push(t)})}}})})}if(e.annotations){a.annotations=!a.annotations?[]:a.annotations;a.annotations=a.annotations.concat(e.annotations)}}})});return t};h.prototype._getEntitySetByType=function(t){var e=t.namespace+\".\"+t.name;var n=this.oMetadata.dataServices.schema;for(var i=0;i<n.length;++i){var a=n[i].entityContainer;if(a){for(var r=0;r<a.length;++r){var s=a[r].entitySet;if(s){for(var o=0;o<s.length;++o){if(s[o].entityType===e){return s[o]}}}}}}return null};h.prototype._calculateCanonicalPath=function(t){var e,n,i,a;if(t){n=t.lastIndexOf(\")\");if(n!==-1){a=t.substr(0,n+1);var r=this._getEntitySetByPath(a);if(r){if(r.__entityType.isFunction){e=t}else{i=t.split(\"/\");if(a===\"/\"+i[1]){if(!(i[2]in r.__entityType.__navigationPropertiesMap)){e=t}}else{i=a.split(\"/\");a=\"/\"+r.name+i[i.length-1].substr(i[i.length-1].indexOf(\"(\"))+t.substr(n+1);if(a!==t){e=a}}}}}}return e};h.prototype._getAssociationSetByAssociation=function(t){var e=this.oMetadata.dataServices.schema;for(var n=0;n<e.length;++n){var i=e[n].entityContainer;if(i){for(var a=0;a<i.length;++a){var r=i[a].associationSet;if(r){for(var s=0;s<r.length;++s){if(r[s].association===t){return r[s]}}}}}}return null};h.prototype._isMessageScopeSupported=function(){var t=this.oMetadata.dataServices.schema,e,n;if(!this.bMessageScopeSupported&&t){for(var i=0;i<t.length;++i){n=t[i].entityContainer;if(n){for(var a=0;a<n.length;++a){e=n[a];if(e.extensions&&Array.isArray(e.extensions)){for(var r=0;r<e.extensions.length;++r){if(e.extensions[r].name===\"message-scope-supported\"&&e.extensions[r].namespace===this.mNamespaces.sap){if(e.extensions[r].value===\"true\"){this.bMessageScopeSupported=true;break}}}}}}}}return this.bMessageScopeSupported};h.prototype._isCollection=function(t){var e=false;var n=t.lastIndexOf(\"/\");if(n>0){var i=t.substring(0,n);var a=this._getEntityTypeByPath(i);if(a){var r=this._getEntityAssociationEnd(a,t.substring(n+1));if(r&&r.multiplicity===\"*\"){e=true}}}else{e=true}return e};h.prototype._getReducedPath=function(t){var e,n,i,a,r,s,o,p=t.split(\"/\"),f;if(p.length<4){return t}this._fillElementCaches();for(n=1;n<p.length-2;n+=1){f=this._getEntityTypeByPath(p.slice(0,n+1).join(\"/\"));r=f&&f.__navigationPropertiesMap[p[n+1].split(\"(\")[0]];if(!r){continue}o=p[n+2].split(\"(\")[0];a=this._getEntityTypeByNavPropertyObject(r);s=a&&a.__navigationPropertiesMap[o];if(!s||r.relationship!==s.relationship){continue}i=p[n+2].slice(o.length);e=this._getEntityAssociationEnd(a,o);if(e.multiplicity!==\"*\"||i&&p[n].endsWith(i)){p.splice(n+1,2);return this._getReducedPath(p.join(\"/\"))}}return p.join(\"/\")};h.prototype.getKeyPropertyNamesByPath=function(t){var e,n,i=t.lastIndexOf(\"/\");if(i>0){n=this._getEntityTypeByPath(t.slice(0,i));if(n){e=this._getEntityAssociationEnd(n,t.slice(i+1).split(\"(\")[0]);n=e?this._getEntityTypeByName(e.type):undefined}}else{n=this._getEntityTypeByPath(t)}return n&&n.key.propertyRef.map(function(t){return t.name})};h.prototype._getCanonicalPathOfFunctionImport=function(t,e){var n,a,r,s,o,p,f,u=t.extensions,y=t.returnType,c=\"\",l=false;if(u){for(s=0;s<u.length;s+=1){if(u[s].name===\"action-for\"){n=u[s].value;break}}}if(h._returnsCollection(t)){l=true;y=y.slice(11,-1)}if(n){r=this._getEntityTypeByName(n)}else if(t.entitySet){r=this._getEntityTypeByPath(t.entitySet)}else if(y){r=this._getEntityTypeByName(y)}if(r){a=this._getEntitySetByType(r);if(a&&r.key&&r.key.propertyRef){if(l){return\"/\"+a.name}f=r.key.propertyRef;if(f.length===1){p=f[0].name;if(e[p]){c=encodeURIComponent(e[p])}}else{o=[];for(s=0;s<f.length;s+=1){p=f[s].name;if(e[p]){o.push(p+\"=\"+encodeURIComponent(e[p]))}}c=o.join(\",\")}return\"/\"+a.name+\"(\"+c+\")\"}else if(!a){i.error(\"Cannot determine path of the entity set for the function import '\"+t.name+\"'\",this,d)}else{i.error(\"Cannot determine keys of the entity type '\"+r.entityType+\"' for the function import '\"+t.name+\"'\",this,d)}}return\"\"};h.prototype._splitByLastNavigationProperty=function(t){var e,n,i,a,r,s=t.split(\"/\"),o=\"/\"+s[1],p=s.length;this._fillElementCaches();e=this._getEntityTypeByPath(o);for(n=2;n<p;n+=1){r=s[n];i=r.indexOf(\"(\");if(i!==-1){r=r.slice(0,i)}if(e&&e.__navigationPropertiesMap[r]){a=n;e=this._getEntityTypeByNavProperty(e,r)}else{break}}if(a===undefined){return{pathBeforeLastNavigationProperty:t,lastNavigationProperty:\"\",addressable:true,pathAfterLastNavigationProperty:\"\"}}return{pathBeforeLastNavigationProperty:s.slice(0,a).join(\"/\"),lastNavigationProperty:\"/\"+s[a],addressable:this._isAddressable(e),pathAfterLastNavigationProperty:a+1>=p?\"\":\"/\"+s.slice(a+1).join(\"/\")}};h.prototype._isAddressable=function(t){var e;if(!t){return true}e=this._entitySetMap[t.entityType];if(!e||!e.extensions){return true}return!e.extensions.some(function(t){return t.name===\"addressable\"&&t.namespace===c&&t.value===\"false\"})};h.getServiceAnnotations=function(t){const n=new h(undefined,{metadata:t});const i=(new DOMParser).parseFromString(t,\"application/xml\");return e.parse(n,i)};return h});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/ODataModel\", [\"./CountMode\",\"./ODataContextBinding\",\"./ODataListBinding\",\"./ODataMetadata\",\"./ODataPropertyBinding\",\"./ODataTreeBinding\",\"./ODataUtils\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/security/encodeURL\",\"sap/base/util/each\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/isPlainObject\",\"sap/base/util/merge\",\"sap/base/util/uid\",\"sap/ui/core/Supportability\",\"sap/ui/model/BindingMode\",\"sap/ui/model/Context\",\"sap/ui/model/FilterProcessor\",\"sap/ui/model/Model\",\"sap/ui/model/odata/ODataAnnotations\",\"sap/ui/model/odata/ODataMetaModel\",\"sap/ui/thirdparty/datajs\",\"sap/ui/thirdparty/URI\"],function(e,t,a,s,i,r,n,o,d,u,h,f,c,l,p,y,_,g,b,m,v,M,R,T,C,U){\"use strict\";var A=M.extend(\"sap.ui.model.odata.ODataModel\",{constructor:function(t,a,i,r,o,d,h,f){M.apply(this,arguments);var c,l,p,y=null,_,m,v,R,T,U,q=this;if(typeof t===\"object\"){a=t;t=a.serviceUrl}if(typeof a===\"object\"){i=a.user;r=a.password;o=a.headers;d=a.tokenHandling;f=a.loadMetadataAsync;h=a.withCredentials;p=a.maxDataServiceVersion;c=a.useBatch;l=a.refreshAfterChange;y=a.annotationURI;_=a.loadAnnotationsJoined;v=a.defaultCountMode;m=a.metadataNamespaces;R=a.serviceUrlParams;T=a.metadataUrlParams;U=a.skipMetadataAnnotationParsing;a=a.json}this.oServiceData={};this.sDefaultBindingMode=b.OneWay;this.mSupportedBindingModes={OneWay:true,OneTime:true,TwoWay:true};this.mUnsupportedFilterOperators={All:true,Any:true,NotAll:true,NotAny:true};this.bCountSupported=true;this.bJSON=a;this.bCache=true;this.aPendingRequestHandles=[];this.oRequestQueue={};this.aBatchOperations=[];this.oHandler=undefined;this.bTokenHandling=d!==false;this.bWithCredentials=h===true;this.bUseBatch=c===true;this.bRefreshAfterChange=l!==false;this.sMaxDataServiceVersion=p;this.bLoadMetadataAsync=!!f;this.bLoadAnnotationsJoined=_===undefined?true:_;this.sAnnotationURI=y;this.sDefaultCountMode=v||e.Both;this.oMetadataLoadEvent=null;this.oMetadataFailedEvent=null;this.bSkipMetadataAnnotationParsing=U;this.oHeaders={};this.setHeaders(o);this.oData={};this.oMetadata=null;this.oAnnotations=null;this.aUrlParams=[];if(t.indexOf(\"?\")==-1){this.sServiceUrl=t}else{var E=t.split(\"?\");this.sServiceUrl=E[0];if(E[1]){this.aUrlParams.push(E[1])}}if(g.isStatisticsEnabled()){this.aUrlParams.push(\"sap-statistics=true\")}this.sServiceUrl=this.sServiceUrl.replace(/\\/$/,\"\");var P=this._createRequestUrl(\"$metadata\",undefined,T);if(!A.mServiceData[P]){A.mServiceData[P]={}}this.oServiceData=A.mServiceData[P];if(this.bTokenHandling&&this.oServiceData.securityToken){this.oHeaders[\"x-csrf-token\"]=this.oServiceData.securityToken}this.sUser=i;this.sPassword=r;this.oHeaders[\"Accept-Language\"]=u.getLanguageTag().toString();if(!this.oServiceData.oMetadata){this.oServiceData.oMetadata=new s(P,{async:this.bLoadMetadataAsync,user:this.sUser,password:this.sPassword,headers:this.mCustomHeaders,namespaces:m,withCredentials:this.bWithCredentials})}this.oMetadata=this.oServiceData.oMetadata;this.pAnnotationsLoaded=this.oMetadata.loaded();if(this.sAnnotationURI||!this.bSkipMetadataAnnotationParsing){var S=this._getAnnotationParser();if(!this.bSkipMetadataAnnotationParsing){if(!this.bLoadMetadataAsync){this.addAnnotationXML(this.oMetadata.sMetadataBody,!!this.sAnnotationURI)}else{this.pAnnotationsLoaded=this.oMetadata.loaded().then(function(e,t){if(this.bDestroyed){return Promise.reject()}return this.addAnnotationXML(t[\"metadataString\"],e)}.bind(this,!!this.sAnnotationURI))}}if(this.sAnnotationURI){if(this.bLoadMetadataAsync){this.pAnnotationsLoaded=this.pAnnotationsLoaded.then(S.addUrl.bind(S,this.sAnnotationURI))}else{this.pAnnotationsLoaded=Promise.all([this.pAnnotationsLoaded,S.addUrl(this.sAnnotationURI)])}}}if(R){this.aUrlParams=this.aUrlParams.concat(n._createUrlParamsArray(R))}this.onMetadataLoaded=function(e){q._initializeMetadata();q.initialize()};this.onMetadataFailed=function(e){q.fireMetadataFailed(e.getParameters())};if(!this.oMetadata.isLoaded()){this.oMetadata.attachLoaded(this.onMetadataLoaded);this.oMetadata.attachFailed(this.onMetadataFailed)}if(this.oMetadata.isFailed()){this.refreshMetadata()}if(this.oMetadata.isLoaded()){this._initializeMetadata(true)}if(this.bJSON){if(this.sMaxDataServiceVersion===\"3.0\"){this.oHeaders[\"Accept\"]=\"application/json;odata=fullmetadata\"}else{this.oHeaders[\"Accept\"]=\"application/json\"}this.oHandler=C.jsonHandler}else{this.oHeaders[\"Accept\"]=\"application/atom+xml,application/atomsvc+xml,application/xml\";this.oHandler=C.atomHandler}this.oHeaders[\"MaxDataServiceVersion\"]=\"2.0\";if(this.sMaxDataServiceVersion){this.oHeaders[\"MaxDataServiceVersion\"]=this.sMaxDataServiceVersion}this.oHeaders[\"DataServiceVersion\"]=\"2.0\"},metadata:{publicMethods:[\"create\",\"remove\",\"update\",\"submitChanges\",\"getServiceMetadata\",\"read\",\"hasPendingChanges\",\"refresh\",\"refreshMetadata\",\"resetChanges\",\"isCountSupported\",\"setCountSupported\",\"setDefaultCountMode\",\"getDefaultCountMode\",\"forceNoCache\",\"setProperty\",\"getSecurityToken\",\"refreshSecurityToken\",\"setHeaders\",\"getHeaders\",\"setUseBatch\"]}});A.M_EVENTS={RejectChange:\"rejectChange\",MetadataLoaded:\"metadataLoaded\",MetadataFailed:\"metadataFailed\",AnnotationsLoaded:\"annotationsLoaded\",AnnotationsFailed:\"annotationsFailed\"};A.mServiceData={};A.prototype.fireRejectChange=function(e){this.fireEvent(\"rejectChange\",e);return this};A.prototype.attachRejectChange=function(e,t,a){this.attachEvent(\"rejectChange\",e,t,a);return this};A.prototype.detachRejectChange=function(e,t){this.detachEvent(\"rejectChange\",e,t);return this};A.prototype._initializeMetadata=function(e){var t=this;this.bUseBatch=this.bUseBatch||this.oMetadata.getUseBatch();var a=function(e){if(e){t.metadataLoadEvent=setTimeout(a.bind(t),0)}else if(t.oMetadata){t.fireMetadataLoaded({metadata:t.oMetadata});d.debug(\"ODataModel fired metadataloaded\")}};if(this.sAnnotationURI&&this.bLoadAnnotationsJoined){if(this.oAnnotations&&(this.oAnnotations.bInitialized||this.oAnnotations.isFailed())){a(!this.bLoadMetadataAsync)}else{this.oAnnotations.attachEventOnce(\"loaded\",function(){a(true)})}}else{a(e)}};A.prototype.fireAnnotationsLoaded=function(e){if(!this.bLoadMetadataAsync){setTimeout(this.fireEvent.bind(this,\"annotationsLoaded\",e),0)}else{this.fireEvent(\"annotationsLoaded\",e)}return this};A.prototype.attachAnnotationsLoaded=function(e,t,a){this.attachEvent(\"annotationsLoaded\",e,t,a);return this};A.prototype.detachAnnotationsLoaded=function(e,t){this.detachEvent(\"annotationsLoaded\",e,t);return this};A.prototype.fireAnnotationsFailed=function(e){if(!this.bLoadMetadataAsync){setTimeout(this.fireEvent.bind(this,\"annotationsFailed\",e),0)}else{this.fireEvent(\"annotationsFailed\",e)}d.debug(\"ODataModel fired annotationsFailed\");return this};A.prototype.attachAnnotationsFailed=function(e,t,a){this.attachEvent(\"annotationsFailed\",e,t,a);return this};A.prototype.detachAnnotationsFailed=function(e,t){this.detachEvent(\"annotationsFailed\",e,t);return this};A.prototype.fireMetadataLoaded=function(e){this.fireEvent(\"metadataLoaded\",e);return this};A.prototype.attachMetadataLoaded=function(e,t,a){this.attachEvent(\"metadataLoaded\",e,t,a);return this};A.prototype.detachMetadataLoaded=function(e,t){this.detachEvent(\"metadataLoaded\",e,t);return this};A.prototype.fireMetadataFailed=function(e){this.fireEvent(\"metadataFailed\",e);return this};A.prototype.attachMetadataFailed=function(e,t,a){this.attachEvent(\"metadataFailed\",e,t,a);return this};A.prototype.detachMetadataFailed=function(e,t){this.detachEvent(\"metadataFailed\",e,t);return this};A.prototype.refreshMetadata=function(){if(this.oMetadata&&this.oMetadata.refresh){this.oMetadata.refresh().catch(e=>{d.fatal(e)})}};A.prototype._createRequestUrl=function(e,t,a,s,i){var r,o,d,u=\"\";if(e&&e.indexOf(\"?\")!=-1){d=e.substr(e.indexOf(\"?\")+1);e=e.substr(0,e.indexOf(\"?\"))}o=this._normalizePath(e,t);if(!s){u=this.sServiceUrl+o}else{u=o.substr(o.indexOf(\"/\")+1)}r=n._createUrlParamsArray(a);if(this.aUrlParams){r=r.concat(this.aUrlParams)}if(d){r.push(d)}if(r.length>0){u+=\"?\"+r.join(\"&\")}if(i===undefined){i=true}if(i===false){var h=Date.now();var f=u.replace(/([?&])_=[^&]*/,\"$1_=\"+h);u=f+(f===u?(/\\?/.test(u)?\"&\":\"?\")+\"_=\"+h:\"\")}return u};A.prototype._loadData=function(e,t,a,s,i,r,n){var o,u=[],h=this._createRequestUrl(e,null,t,null,i||this.bCache),f=this._createRequest(h,\"GET\",true),c=this;function l(e,t){var s=e,i={};if(t.statusCode==204){if(a){a(null)}if(n){n(null)}c.fireRequestCompleted({url:f.requestUri,type:\"GET\",async:f.async,info:\"Accept headers:\"+c.oHeaders[\"Accept\"],infoObject:{acceptHeaders:c.oHeaders[\"Accept\"]},success:true});return undefined}if(!s){d.fatal(\"The following problem occurred: No data was retrieved by service: \"+t.requestUri);c.fireRequestCompleted({url:f.requestUri,type:\"GET\",async:f.async,info:\"Accept headers:\"+c.oHeaders[\"Accept\"],infoObject:{acceptHeaders:c.oHeaders[\"Accept\"]},success:false});return false}if(c.bUseBatch){var r=c._getBatchErrors(e);if(r.length>0){p(r[0]);return false}if(s.__batchResponses&&s.__batchResponses.length>0){s=s.__batchResponses[0].data}else{d.fatal(\"The following problem occurred: No data was retrieved by service: \"+t.requestUri)}}u=u.concat(s.results);if(s.__next){var o=new U(s.__next);f.requestUri=o.absoluteTo(t.requestUri).toString();y(f)}else{if(s.results){var h,l;for(l in u){h=u[l];if(u===h){continue}s.results[l]=h}}if(s.results&&!Array.isArray(s.results)){s=s.results}c._importData(s,i);if(c.sChangeKey&&i){var _=c.sChangeKey.substr(c.sChangeKey.lastIndexOf(\"/\")+1);if(i[_]){delete c.oRequestQueue[c.sChangeKey];c.sChangeKey=null}}if(a){a(s)}c.checkUpdate(false,false,i);if(n){n(s)}c.fireRequestCompleted({url:f.requestUri,type:\"GET\",async:f.async,info:\"Accept headers:\"+c.oHeaders[\"Accept\"],infoObject:{acceptHeaders:c.oHeaders[\"Accept\"]},success:true})}return undefined}function p(e){if(c.bTokenHandling&&e.response){var t=c._getHeader(\"x-csrf-token\",e.response.headers);if(!f.bTokenReset&&e.response.statusCode==\"403\"&&t&&t.toLowerCase()==\"required\"){c.resetSecurityToken();f.bTokenReset=true;y();return}}var a=c._handleError(e);if(s){s(e,o&&o.bAborted)}c.fireRequestCompleted({url:f.requestUri,type:\"GET\",async:f.async,info:\"Accept headers:\"+c.oHeaders[\"Accept\"],infoObject:{acceptHeaders:c.oHeaders[\"Accept\"]},success:false,errorobject:a});if(!o||!o.bAborted){a.url=f.requestUri;c.fireRequestFailed(a)}}function y(){if(c.bUseBatch){c.updateSecurityToken();var t=U.parse(f.requestUri).query;var a=c._createRequestUrl(e,null,t,c.bUseBatch);f=c._createRequest(a,\"GET\",true);if(c.bTokenHandling){delete f.headers[\"x-csrf-token\"]}var s=c._createBatchRequest([f],true);o=c._request(s,l,p,C.batchHandler,undefined,c.getServiceMetadata())}else{o=c._request(f,l,p,c.oHandler,undefined,c.getServiceMetadata())}if(r){var i={abort:function(){o.bAborted=true;o.abort()}};r(i)}}if(c.bTokenHandling){delete f.headers[\"x-csrf-token\"]}this.fireRequestSent({url:f.requestUri,type:\"GET\",async:f.async,info:\"Accept headers:\"+this.oHeaders[\"Accept\"],infoObject:{acceptHeaders:this.oHeaders[\"Accept\"]}});y()};A.prototype._importData=function(e,t){var a=this,s,i,r,n;if(e.results){s=[];f(e.results,function(e,i){s.push(a._importData(i,t))});return s}else{i=this._getKey(e);n=this.oData[i];if(!n){n=e;this.oData[i]=n}f(e,function(e,s){if(s&&(s.__metadata&&s.__metadata.uri||s.results)&&!s.__deferred){r=a._importData(s,t);if(Array.isArray(r)){n[e]={__list:r}}else{n[e]={__ref:r}}}else if(!s||!s.__deferred){n[e]=s}});t[i]=true;return i}};A.prototype._removeReferences=function(e){var t=this,a;if(e.results){a=[];f(e.results,function(e,s){a.push(t._removeReferences(s))});return a}else{f(e,function(t,a){if(a){if(a[\"__ref\"]||a[\"__list\"]){delete e[t]}}});return e}};A.prototype._restoreReferences=function(e){var t=this,a,s=[];if(e.results){a=[];f(e.results,function(e,s){a.push(t._restoreReferences(s))});return a}else{f(e,function(a,i){if(i&&i[\"__ref\"]){var r=t._getObject(\"/\"+i[\"__ref\"]);o(r,\"ODataModel inconsistent: \"+i[\"__ref\"]+\" not found!\");if(r){delete i[\"__ref\"];e[a]=r;t._restoreReferences(r)}}else if(i&&i[\"__list\"]){f(i[\"__list\"],function(e,a){var r=t._getObject(\"/\"+i[\"__list\"][e]);o(r,\"ODataModel inconsistent: \"+i[\"__list\"][e]+\" not found!\");if(r){s.push(r);t._restoreReferences(r)}});delete i[\"__list\"];i.results=s;s=[]}});return e}};A.prototype.removeData=function(){this.oData={}};A.prototype.initialize=function(){var e=this.getBindings();f(e,function(e,t){t.initialize()})};A.prototype.refresh=function(e,t){if(t){this.removeData()}this._refresh(e)};A.prototype._refresh=function(e,t,a){var s=this.getBindings();f(s,function(s,i){i.refresh(e,t,a)})};A.prototype.checkUpdate=function(e,t,a,s){if(t){if(!this.sUpdateTimer){this.sUpdateTimer=setTimeout(function(){this.checkUpdate(e,false,a)}.bind(this),0)}return}if(this.sUpdateTimer){clearTimeout(this.sUpdateTimer);this.sUpdateTimer=null}var i=this.getBindings();f(i,function(t,i){if(!s||this.isMetaModelPath(i.getPath())){i.checkUpdate(e,a)}}.bind(this))};A.prototype.bindProperty=function(e,t,a){var s=new i(this,e,t,a);return s};A.prototype.bindList=function(e,t,s,i,r){var n=new a(this,e,t,s,i,r);return n};A.prototype.bindTree=function(e,t,a,s){var i=new r(this,e,t,a,s);return i};A.prototype.createBindingContext=function(e,t,a,s,i){var r=this.resolve(e,t);i=!!i;if(typeof t==\"function\"){s=t;t=null}if(typeof a==\"function\"){s=a;a=null}if(!r){if(s){s(null)}return null}var n=this._getObject(e,t),o,d,u=this;if(!i){i=this._isReloadNeeded(r,n,a)}if(!i){o=this._getKey(n);d=this.getContext(\"/\"+o);if(s){s(d)}return d}if(s){var h=!e.startsWith(\"/\");if(r){var f=[],c=this.createCustomParams(a);if(c){f.push(c)}this._loadData(r,f,function(a){o=a?u._getKey(a):undefined;if(o&&t&&h){var i=t.getPath();i=i.substr(1);if(u.oData[i]){u.oData[i][e]={__ref:o}}}d=u.getContext(\"/\"+o);s(d)},function(){s(null)})}else{s(null)}}return undefined};A.prototype._isReloadNeeded=function(e,t,a){var s,i,r,n,o,d,u=[],h=[];if(!e){return false}if(!t){return true}if(a&&a[\"expand\"]){r=a[\"expand\"].replace(/\\s/g,\"\");u=r.split(\",\")}if(u){for(i=0;i<u.length;i++){var f=u[i].indexOf(\"/\");if(f!==-1){var c=u[i].slice(0,f);var l=u[i].slice(f+1);u[i]=[c,l]}}}for(i=0;i<u.length;i++){var p=u[i];if(Array.isArray(p)){var y=t[p[0]];var _=p[1];if(!y||y&&y.__deferred){return true}else if(y){if(y.__list&&y.__list.length>0){for(var g=0;g<y.__list.length;g++){n=\"/\"+y.__list[g];s=this.getObject(n);o=this._isReloadNeeded(n,s,{expand:_});if(o){return true}}}else if(y.__ref){n=\"/\"+y.__ref;s=this.getObject(n);o=this._isReloadNeeded(n,s,{expand:_});if(o){return true}}}}else if(t[p]===undefined||t[p]&&t[p].__deferred){return true}}if(a&&a[\"select\"]){d=a[\"select\"].replace(/\\s/g,\"\");h=d.split(\",\")}for(i=0;i<h.length;i++){if(t[h[i]]===undefined){return true}}if(h.length==0){var b=this.oMetadata._getEntityTypeByPath(e);if(!b){return false}else{for(i=0;i<b.property.length;i++){if(t[b.property[i].name]===undefined){return true}}}}return false};A.prototype.destroyBindingContext=function(e){};A.prototype.createCustomParams=function(e){var t,a,s=[],i,r={expand:true,select:true};for(a in e){if(a in r){s.push(\"$\"+a+\"=\"+h(e[a]))}if(a==\"custom\"){i=e[a];for(t in i){if(t.indexOf(\"$\")==0){d.warning(\"Trying to set OData parameter \"+t+\" as custom query option!\")}else{s.push(t+\"=\"+h(i[t]))}}}}return s.join(\"&\")};A.prototype.bindContext=function(e,a,s){var i=new t(this,e,a,s);return i};A.prototype.setCountSupported=function(e){this.bCountSupported=e};A.prototype.isCountSupported=function(){return this.bCountSupported};A.prototype.setDefaultCountMode=function(e){this.sDefaultCountMode=e};A.prototype.getDefaultCountMode=function(){return this.sDefaultCountMode};A.prototype._getKey=function(e,t){var a,s;if(e instanceof m){a=e.getPath().substr(1)}else if(e&&e.__metadata&&e.__metadata.uri){s=e.__metadata.uri;a=s.substr(s.lastIndexOf(\"/\")+1)}if(t){a=decodeURIComponent(a)}return a};A.prototype.getKey=function(e,t){return this._getKey(e,t)};A.prototype.createKey=function(e,t,a){var s=this.oMetadata._getEntityTypeByPath(e),i=e,r=this,d,u,h;o(s,'Could not find entity type of collection \"'+e+'\" in service metadata!');i+=\"(\";if(s.key.propertyRef.length==1){d=s.key.propertyRef[0].name;o(d in t,'Key property \"'+d+'\" is missing in object!');h=this.oMetadata._getPropertyMetadata(s,d);u=n.formatValue(t[d],h.type);i+=a?u:encodeURIComponent(u)}else{f(s.key.propertyRef,function(e,f){if(e>0){i+=\",\"}d=f.name;o(d in t,'Key property \"'+d+'\" is missing in object!');h=r.oMetadata._getPropertyMetadata(s,d);u=n.formatValue(t[d],h.type);i+=d;i+=\"=\";i+=a?u:encodeURIComponent(u)})}i+=\")\";return i};A.prototype.getProperty=function(e,t,a){var s=this._getObject(e,t);if(a==null||a==undefined){return s}if(!p(s)){return s}s=y({},s);if(a==true){return this._restoreReferences(s)}else{return this._removeReferences(s)}};A.prototype._getObject=function(e,t){var a=this.isLegacySyntax()?this.oData:null,s=this.resolve(e,t),i,r,n,o,d,u;if(this.oMetadata&&s&&s.indexOf(\"/#\")>-1){if(this.isMetaModelPath(s)){i=s.indexOf(\"/##\");u=this.getMetaModel();if(!this.bMetaModelLoaded){return null}r=s.substr(0,i);n=s.substr(i+3);o=u.getMetaContext(r);a=u.getProperty(n,o)}else{a=this.oMetadata._getAnnotation(s)}}else{if(t){d=t.getPath();d=d.substr(1);a=this.oData[d]}if(!e){return a}var h=e.split(\"/\"),f=0;if(!h[0]){a=this.oData;f++}while(a&&h[f]){a=a[h[f]];if(a){if(a.__ref){a=this.oData[a.__ref]}else if(a.__list){a=a.__list}else if(a.__deferred){a=undefined}}f++}}return a};A.prototype.updateSecurityToken=function(){if(this.bTokenHandling){if(!this.oServiceData.securityToken){this.refreshSecurityToken()}if(this.bTokenHandling){this.oHeaders[\"x-csrf-token\"]=this.oServiceData.securityToken}}};A.prototype.resetSecurityToken=function(){delete this.oServiceData.securityToken;delete this.oHeaders[\"x-csrf-token\"]};A.prototype.getSecurityToken=function(){var e=this.oServiceData.securityToken;if(!e){this.refreshSecurityToken();e=this.oServiceData.securityToken}return e};A.prototype.refreshSecurityToken=function(e,t,a){var s=this,i,r;a=a===true;i=this._createRequestUrl(\"/\");var n=this._createRequest(i,\"GET\",a);n.headers[\"x-csrf-token\"]=\"Fetch\";function o(t,a){if(a){r=s._getHeader(\"x-csrf-token\",a.headers);if(r){s.oServiceData.securityToken=r;s.oHeaders[\"x-csrf-token\"]=r}else{s.resetSecurityToken();s.bTokenHandling=false}}if(e){e(t,a)}}function d(e){s.resetSecurityToken();s.bTokenHandling=false;s._handleError(e);if(t){t(e)}}return this._request(n,o,d,undefined,undefined,this.getServiceMetadata())};A.prototype._submitRequest=function(e,t,a,s,i,r){var n=this,o,d={};function u(s,u){if(t&&i){var c=n._getBatchErrors(s);if(c.length>0){h(c[0]);return false}if(s.__batchResponses&&s.__batchResponses.length>0){o=s.__batchResponses[0].data;if(!o&&s.__batchResponses[0].__changeResponses){o=s.__batchResponses[0].__changeResponses[0].data}}s=o}if(r){if(s&&s.__batchResponses){f(s.__batchResponses,function(e,t){if(t&&t.data){n._importData(t.data,d)}})}}n._handleETag(e,u,t);n._updateRequestQueue(e,t);if(n._isRefreshNeeded(e,u)){n._refresh(false,e.keys,e.entityTypes)}if(a){a(s,u)}return undefined}function h(t){if(n.bTokenHandling&&t.response){var a=n._getHeader(\"x-csrf-token\",t.response.headers);if(!e.bTokenReset&&t.response.statusCode==\"403\"&&a&&a.toLowerCase()==\"required\"){n.resetSecurityToken();e.bTokenReset=true;c();return}}n._handleError(t);if(s){s(t)}}function c(){if(n.bTokenHandling){delete e.headers[\"x-csrf-token\"]}if(n.bTokenHandling&&e.method!==\"GET\"){n.updateSecurityToken();if(n.bTokenHandling){e.headers[\"x-csrf-token\"]=n.oServiceData.securityToken}}if(t){return n._request(e,u,h,C.batchHandler,undefined,n.getServiceMetadata())}else{return n._request(e,u,h,n.oHandler,undefined,n.getServiceMetadata())}}return c()};A.prototype._createBatchRequest=function(e,t){var a,s,i={},r={},n={},o={};r.__batchRequests=e;a=this.sServiceUrl+\"/$batch\";if(this.aUrlParams.length>0){a+=\"?\"+this.aUrlParams.join(\"&\")}c(i,this.mCustomHeaders,this.oHeaders);delete i[\"Content-Type\"];s={headers:i,requestUri:a,method:\"POST\",data:r,user:this.sUser,password:this.sPassword,async:t};if(t){s.withCredentials=this.bWithCredentials}f(e,function(e,t){if(t[\"__changeRequests\"]){f(t[\"__changeRequests\"],function(e,t){if(t.keys&&t.method!=\"POST\"){f(t.keys,function(e,t){n[e]=t})}else if(t.entityTypes&&t.method==\"POST\"){f(t.entityTypes,function(e,t){o[e]=t})}})}});s.keys=n;s.entityTypes=o;return s};A.prototype._handleETag=function(e,t,a){var s,i,r,n,o,u;if(a){o=e.data.__batchRequests;u=t.data.__batchResponses;if(u&&o){for(var h=0;h<o.length;h++){r=o[h].__changeRequests;if(u[h]){n=u[h].__changeResponses;if(r&&n){for(var f=0;f<r.length;f++){if(r[f].method==\"MERGE\"||r[f].method==\"PUT\"){s=r[f].requestUri.replace(this.sServiceUrl+\"/\",\"\");if(!s.startsWith(\"/\")){s=\"/\"+s}i=this._getObject(s);if(i&&i.__metadata&&n[f].headers&&n[f].headers.ETag){i.__metadata.etag=n[f].headers.ETag}}}}}else{d.warning(\"could not update ETags for batch request: corresponding response for request missing\")}}}else{d.warning(\"could not update ETags for batch request: no batch responses/requests available\")}}else{s=e.requestUri.replace(this.sServiceUrl+\"/\",\"\");if(!s.startsWith(\"/\")){s=\"/\"+s}i=this._getObject(s);if(i&&i.__metadata&&t.headers.ETag){i.__metadata.etag=t.headers.ETag}}};A.prototype._handleBatchErrors=function(e,t){this._getBatchErrors(t);this._handleETag()};A.prototype._getBatchErrors=function(e){var t=[],a;f(e.__batchResponses,function(e,s){if(s.message){a=\"The following problem occurred: \"+s.message;if(s.response){a+=s.response.statusCode+\",\"+s.response.statusText+\",\"+s.response.body}t.push(s);d.fatal(a)}if(s.__changeResponses){f(s.__changeResponses,function(e,s){if(s.message){a=\"The following problem occurred: \"+s.message;if(s.response){a+=s.response.statusCode+\",\"+s.response.statusText+\",\"+s.response.body}t.push(s);d.fatal(a)}})}});return t};A.prototype._handleError=function(e){var t={},a;var s=\"The following problem occurred: \"+e.message;t.message=e.message;if(e.response){if(this.bTokenHandling){a=this._getHeader(\"x-csrf-token\",e.response.headers);if(e.response.statusCode==\"403\"&&a&&a.toLowerCase()==\"required\"){this.resetSecurityToken()}}s+=e.response.statusCode+\",\"+e.response.statusText+\",\"+e.response.body;t.statusCode=e.response.statusCode;t.statusText=e.response.statusText;t.responseText=e.response.body}d.fatal(s);return t};A.prototype.getData=function(e,t,a){return this.getProperty(e,t,a)};A.prototype._getETag=function(e,t,a){var s,i,r;if(a){s=a}else if(t&&t.__metadata){s=t.__metadata.etag}else if(e){i=e.replace(this.sServiceUrl+\"/\",\"\");r=i.indexOf(\"?\");if(r>-1){i=i.substr(0,r)}if(this.oData.hasOwnProperty(i)){s=this.getProperty(\"/\"+i+\"/__metadata/etag\")}}return s};A.prototype._createRequest=function(e,t,a,s,i){var r={},n;c(r,this.mCustomHeaders,this.oHeaders);n=this._getETag(e,s,i);if(n&&t!=\"GET\"){r[\"If-Match\"]=n}if(this.bJSON&&t!=\"DELETE\"&&this.sMaxDataServiceVersion===\"2.0\"){r[\"Content-Type\"]=\"application/json\"}if(t==\"MERGE\"&&!this.bUseBatch){r[\"x-http-method\"]=\"MERGE\";t=\"POST\"}var o={headers:r,requestUri:e,method:t,user:this.sUser,password:this.sPassword,async:a};if(s){o.data=s}if(a){o.withCredentials=this.bWithCredentials}return o};A.prototype._isRefreshNeeded=function(e,t){var a=false,s,i=[],r=this;if(!this.bRefreshAfterChange){return a}if(e.data&&Array.isArray(e.data.__batchRequests)){if(t){i=r._getBatchErrors(t.data);f(i,function(e,t){if(t.response&&t.response.statusCode==\"412\"){s=t.response.statusCode;return false}return true});if(s){return false}}f(e.data.__batchRequests,function(e,t){if(Array.isArray(t.__changeRequests)){f(t.__changeRequests,function(e,t){a=a||r._isRefreshNeeded(t);return!a})}return!a})}else if(e.method===\"GET\"){return false}else if(t&&t.statusCode==\"412\"){a=false}else{a=true}return a};A.prototype.update=function(e,t,a){var s,i,r,n,o,d,u,h,f,c,l,p,y=false;if(a instanceof m||arguments.length>3){d=a;s=arguments[3];i=arguments[4];r=arguments[5]}else{d=a.context||a.oContext;s=a.success||a.fnSuccess;i=a.error||a.fnError;u=a.eTag||a.sETag;r=typeof a.merge==\"undefined\"?a.bMerge===true:a.merge===true;y=typeof a.async==\"undefined\"?a.bAsync===true:a.async===true;p=a.urlParameters}o=this._createRequestUrl(e,d,p,this.bUseBatch);if(r){n=this._createRequest(o,\"MERGE\",y,t,u)}else{n=this._createRequest(o,\"PUT\",y,t,u)}e=this._normalizePath(e,d);c=this._getObject(e);n.keys={};if(c){l=this._getKey(c);n.keys[l]=true}if(this.bUseBatch){f=this._createBatchRequest([{__changeRequests:[n]}],y);h=this._submitRequest(f,this.bUseBatch,s,i,true)}else{h=this._submitRequest(n,this.bUseBatch,s,i)}return h};A.prototype.create=function(e,t,a){var s,i,r,n,o,d,u,h,f=false,c;if(a&&typeof a==\"object\"&&!(a instanceof m)){d=a.context;u=a.success;c=a.urlParameters;h=a.error;f=a.async===true}else{d=a;u=arguments[3];h=arguments[4]}r=this._createRequestUrl(e,d,c,this.bUseBatch);s=this._createRequest(r,\"POST\",f,t);e=this._normalizePath(e,d);o=this.oMetadata._getEntityTypeByPath(e);s.entityTypes={};if(o){s.entityTypes[o.entityType]=true}if(this.bUseBatch){i=this._createBatchRequest([{__changeRequests:[s]}],f);n=this._submitRequest(i,this.bUseBatch,u,h,true)}else{n=this._submitRequest(s,this.bUseBatch,u,h)}return n};A.prototype.remove=function(e,t){var a,s,i,r,n,o,d,u,h,f,c,l,p,y,_=false,g=this;if(t instanceof m||arguments[2]){a=t;r=arguments[2];n=arguments[3]}else if(t){a=t.context||t.oContext;r=t.success||t.fnSuccess;n=t.error||t.fnError;u=t.eTag||t.sETag;f=t.payload||t.oPayload;_=typeof t.async==\"undefined\"?t.bAsync===true:t.async===true;y=t.urlParameters}c=function(e,t){s=d.substr(d.lastIndexOf(\"/\")+1);if(s.indexOf(\"?\")!=-1){s=s.substr(0,s.indexOf(\"?\"))}delete g.oData[s];delete g.mContexts[\"/\"+s];if(r){r(e,t)}};d=this._createRequestUrl(e,a,y,this.bUseBatch);o=this._createRequest(d,\"DELETE\",_,f,u);e=this._normalizePath(e,a);i=this._getObject(e);o.keys={};if(i){h=this._getKey(i);o.keys[h]=true}if(this.bUseBatch){l=this._createBatchRequest([{__changeRequests:[o]}],_);p=this._submitRequest(l,this.bUseBatch,c,n,true)}else{p=this._submitRequest(o,this.bUseBatch,c,n)}return p};A.prototype.callFunction=function(e,t){var a,s,i,r,u,h,c,l,p,y,_=\"GET\",g={},b=this;if(t&&typeof t==\"object\"){_=t.method?t.method:_;h=t.urlParameters;c=t.context;l=t.success;p=t.error;y=t.async===true}else{_=t;h=arguments[2];c=arguments[3];l=arguments[4];p=arguments[5];y=arguments[6]===true}u=this.oMetadata._getFunctionImportMetadata(e,_);o(u,\"Function \"+e+\" not found in the metadata !\");if(u){i=this._createRequestUrl(e,c,null,this.bUseBatch);var m=new U(i);if(u.parameter!=null){f(h,function(t,a){var s=u.parameter.filter(function(e){return e.name==t&&e.mode==\"In\"});if(s.length>0){var i=s[0];g[t]=n.formatValue(a,i.type)}else{d.warning(\"Parameter \"+t+\" is not defined for function call \"+e+\"!\")}})}if(_===\"GET\"){return b.read(e,c,g,true,l,p)}else{f(g,function(e,t){m.addQuery(e,t)});a=this._createRequest(m.toString(),_,y);if(this.bUseBatch){s=this._createBatchRequest([{__changeRequests:[a]}],y);r=this._submitRequest(s,this.bUseBatch,l,p,true)}else{r=this._submitRequest(a,this.bUseBatch,l,p)}return r}}return undefined};A.prototype.read=function(e,t){var a,s,i,r,o,u,h,f,c,l,p,y,_,g,b,M,R;if(t&&typeof t==\"object\"&&!(t instanceof m)){o=t.context;u=t.urlParameters;h=t.async!==false;f=t.success;c=t.error;l=t.filters;p=t.sorters}else{o=t;u=arguments[2];h=arguments[3]!==false;f=arguments[4];c=arguments[5]}h=h!==false;R=n._createUrlParamsArray(u);_=n.createSortParams(p);if(_){R.push(_)}if(l&&!this.oMetadata){d.fatal(\"Tried to use filters in read method before metadata is available.\")}else{M=this._normalizePath(e,o);b=this.oMetadata&&this.oMetadata._getEntityTypeByPath(M);g=v.groupFilters(l);y=n.createFilterParams(g,this.oMetadata,b);if(y){R.push(y)}}s=this._createRequestUrl(e,o,R,this.bUseBatch);a=this._createRequest(s,\"GET\",h);if(this.bUseBatch){r=this._createBatchRequest([a],h);i=this._submitRequest(r,this.bUseBatch,f,c,true)}else{i=this._submitRequest(a,this.bUseBatch,f,c)}return i};A.prototype.createBatchOperation=function(e,t,a,s){var i={},r,n,o,d;c(i,this.mCustomHeaders,this.oHeaders);if(e.startsWith(\"/\")){e=e.substr(1)}if(s){r=s.sETag}if(t!=\"GET\"){r=this._getETag(e,a,r);if(r){i[\"If-Match\"]=r}}if(this.bJSON){if(t!=\"DELETE\"&&t!=\"GET\"&&this.sMaxDataServiceVersion===\"2.0\"){i[\"Content-Type\"]=\"application/json\"}}else{i[\"Content-Type\"]=\"application/atom+xml\"}var u={requestUri:e,method:t.toUpperCase(),headers:i};if(a){u.data=a}if(t!=\"GET\"&&t!=\"POST\"){if(e&&e.indexOf(\"/\")!=0){e=\"/\"+e}n=this._getObject(e);if(n){o=this._getKey(n);u.keys={};u.keys[o]=true}}else if(t==\"POST\"){var h=e;if(e.indexOf(\"?\")!=-1){h=e.substr(0,e.indexOf(\"?\"))}d=this.oMetadata._getEntityTypeByPath(h);if(d){u.entityTypes={};u.entityTypes[d.entityType]=true}}return u};A.prototype.addBatchReadOperations=function(e){if(!Array.isArray(e)||e.length<=0){d.warning(\"No array with batch operations provided!\");return false}var t=this;f(e,function(e,a){if(a.method!=\"GET\"){d.warning(\"Batch operation should be a GET operation!\");return false}t.aBatchOperations.push(a);return true});return undefined};A.prototype.addBatchChangeOperations=function(e){if(!Array.isArray(e)||e.length<=0){return false}f(e,function(e,t){if(t.method!=\"POST\"&&t.method!=\"PUT\"&&t.method!=\"MERGE\"&&t.method!=\"DELETE\"){d.warning(\"Batch operation should be a POST/PUT/MERGE/DELETE operation!\");return false}return true});this.aBatchOperations.push({__changeRequests:e});return undefined};A.prototype.clearBatch=function(){this.aBatchOperations=[]};A.prototype.submitBatch=function(e,t,a,s){var i,r,n=this;function o(t,a){if(e){e(t,a,n._getBatchErrors(t))}}if(!(typeof e==\"function\")){var u=a;var h=t;a=e;e=h;t=u}a=a!==false;if(this.aBatchOperations.length<=0){d.warning(\"No batch operations in batch. No request will be triggered!\");return false}i=this._createBatchRequest(this.aBatchOperations,a);r=this._submitRequest(i,true,o,t,false,s);this.clearBatch();return r};A.prototype.getServiceMetadata=function(){if(this.oMetadata&&this.oMetadata.isLoaded()){return this.oMetadata.getServiceMetadata()}return undefined};A.prototype.getServiceAnnotations=function(){if(this.oAnnotations&&this.oAnnotations.getAnnotationsData){return this.oAnnotations.getAnnotationsData()}return undefined};A.prototype.submitChanges=function(e,t,a){var s,i,r=this,n,o,d,u,h,c;if(this.sChangeKey){n=this.sChangeKey.replace(this.sServiceUrl,\"\");h=this._getObject(n);i=h;if(p(h)){i=y({},h);if(i.__metadata){d=i.__metadata.type;u=i.__metadata.etag;delete i.__metadata;if(d||u){i.__metadata={}}if(d){i.__metadata.type=d}if(u){i.__metadata.etag=u}}f(i,function(e,t){if(t&&t.__deferred){delete i[e]}});var _=this.oMetadata._getEntityTypeByPath(n);if(_){var g=this.oMetadata._getNavigationPropertyNames(_);f(g,function(e,t){delete i[t]})}i=this._removeReferences(i)}if(a&&a.sETag){o=a.sETag}s=this._createRequest(this.sChangeKey,\"MERGE\",true,i,o);if(this.sUrlParams){s.requestUri+=\"?\"+this.sUrlParams}s.keys={};if(h){c=this._getKey(h);s.keys[c]=true}this.oRequestQueue[this.sChangeKey]=s}if(l(this.oRequestQueue)){return undefined}if(this.bUseBatch){var b=[];f(this.oRequestQueue,function(e,t){delete t._oRef;var a=y({},t);t._oRef=a;a.requestUri=a.requestUri.replace(r.sServiceUrl+\"/\",\"\");if(a.data._bCreate){delete a.data._bCreate}b.push(a)});s=this._createBatchRequest([{__changeRequests:b}],true);this._submitRequest(s,this.bUseBatch,e,t,true)}else{f(this.oRequestQueue,function(a,s){delete s._oRef;var i=y({},s);s._oRef=i;if(i.data&&i.data._bCreate){delete i.data._bCreate}r._submitRequest(i,this.bUseBatch,e,t,true)})}return undefined};A.prototype._updateRequestQueue=function(e,t){var a,s,i,r=this;if(t){a=e.data.__batchRequests;if(a){for(var n=0;n<a.length;n++){s=a[n].__changeRequests;if(s){for(var o=0;o<s.length;o++){i=s[o];f(this.oRequestQueue,function(e,t){if(t._oRef===i&&e!==r.sChangeKey){delete r.oRequestQueue[e];delete r.oData[e];delete r.mContexts[\"/\"+e]}else if(r.sChangeKey&&e= Copyright 2025, 2025 SAP SE. All rights reserved.\n *//*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}.sapSuiteUiMicroChartPointer{cursor:pointer}.sapSuiteUiMicroChartNoData{display:flex;justify-content:center;align-items:center;color:#131e29;border:1px solid;width:100%;height:100%;min-height:inherit;min-width:inherit;font-weight:normal;box-sizing:border-box;font-size:0.875rem}.sapSuiteUiSmartMicroChartResponsive{height:100%;width:100%}.sapSuiteAMC{background-color:transparent;position:relative;outline:none;display:flex;align-items:center}.sapSuiteAMCVerticalAlignmentContainer{position:relative;width:100%;height:100%;max-height:5.875rem;min-height:1.125rem;min-width:4rem;max-width:20rem;display:flex;flex-direction:column}.sapSuiteAMCHorizontalContainer{display:flex;width:100%;height:100%}.sapSuiteAMCCanvasContainer{position:relative;height:100%;width:100%}.sapSuiteAMCCanvas{width:100%;height:100%;position:absolute;display:block}.sapSuiteAMCTarget{outline-style:dotted;width:2px}.sapSuiteAMCChart{width:2px}.sapSuiteAMCLine{width:2px}.sapSuiteAMCThreshold{width:1px}html.sap-desktop .sapSuiteAMC:focus:not([tabindex]),.sapSuiteAMC:focus:not([tabindex]){outline:none}html.sap-desktop .sapSuiteAMC:focus{outline:.125rem solid #0032a5;outline-offset:1px}.sapSuiteAMC.sapSuiteAMCSizeResponsive{width:100%;height:100%}.sapSuiteAMC.sapSuiteAMCSizeL{height:5.875rem;width:12rem}html.sapUiMedia-Std-Desktop .sapSuiteAMC.sapSuiteAMCSizeAuto,html.sapUiMedia-Std-Tablet .sapSuiteAMC.sapSuiteAMCSizeAuto,.sapSuiteAMC.sapSuiteAMCSizeM{height:4.5rem;width:10.5rem}html.sapUiMedia-Std-Phone .sapSuiteAMC.sapSuiteAMCSizeAuto,.sapSuiteAMC.sapSuiteAMCSizeS{height:3.5rem;width:8.25rem}.sapSuiteAMC.sapSuiteAMCSizeXS{height:1.5rem;width:6rem}.sapSuiteAMC.sapSuiteAMCLookM .sapSuiteAMCLbl{font-size:.75rem}.sapSuiteAMC.sapSuiteAMCLookS .sapSuiteAMCLbl{font-size:.75rem}.sapSuiteAMC.sapSuiteAMCLookXS .sapSuiteAMCLabels,.sapSuiteAMC.sapSuiteAMCLookXS .sapSuiteAMCSideLabels{display:none}.sapSuiteAMCLabels{display:flex;flex:0 0 auto}.sapSuiteAMCSideLabels{display:flex;flex-direction:column;flex:0 1 auto;justify-content:space-between;min-width:1px}.sapSuiteAMCLbl{font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sapSuiteAMCLabels .sapSuiteAMCLbl{flex:1}.sapSuiteAMCSideLabels.sapSuiteAMCPositionLeft{margin-right:0.5rem}.sapSuiteAMCSideLabels.sapSuiteAMCPositionRight{margin-left:.5rem}.sapSuiteAMCPositionTop{margin-bottom:0.125rem}.sapSuiteAMCLbl.sapSuiteAMCPositionLeft{text-align:start}.sapSuiteAMCLbl.sapSuiteAMCPositionCenter{text-align:center}.sapSuiteAMCLbl.sapSuiteAMCPositionRight{text-align:end}.sapSuiteAMCWideMode .sapSuiteAMCPositionLeft{text-align:end}.sapSuiteAMCWideMode .sapSuiteAMCPositionRight{text-align:start}.sapSuiteAMCWideMode .sapSuiteAMCCanvasContainer{flex:1 0 4rem}html[data-sap-ui-browser^=\"ie\"] .sapSuiteAMCLbl.sapSuiteAMCPositionLeft{text-align:left}html[data-sap-ui-browser^=\"ie\"] .sapSuiteAMCLbl.sapSuiteAMCPositionRight{text-align:right}html[data-sap-ui-browser^=\"ie\"] .sapSuiteAMCWideMode .sapSuiteAMCPositionLeft{text-align:right}html[data-sap-ui-browser^=\"ie\"] .sapSuiteAMCWideMode .sapSuiteAMCPositionRight{text-align:left}html[dir=rtl][data-sap-ui-browser^=\"ie\"] .sapSuiteAMCLbl.sapSuiteAMCPositionLeft{text-align:right}html[dir=rtl][data-sap-ui-browser^=\"ie\"] .sapSuiteAMCLbl.sapSuiteAMCPositionRight{text-align:left}html[dir=rtl][data-sap-ui-browser^=\"ie\"] .sapSuiteAMCWideMode .sapSuiteAMCPositionLeft{text-align:left}html[dir=rtl][data-sap-ui-browser^=\"ie\"] .sapSuiteAMCWideMode .sapSuiteAMCPositionRight{text-align:right}.sapSuiteAMCNoLabels .sapSuiteAMCLabels,.sapSuiteAMCNoLabels .sapSuiteAMCSideLabels{display:none}.sapSuiteAMCNoMinMaxLabels .sapSuiteAMCPositionCenter{display:none}.sapSuiteAMCNoTopLabels:not(.sapSuiteAMCWideMode) .sapSuiteAMCPositionTop,.sapSuiteAMCNoTopLabels:not(.sapSuiteAMCWideMode) .sapSuiteAMCPositionCenter{display:none}.sapSuiteAMCNoTopLabels.sapSuiteAMCWideMode .sapSuiteAMCSideLabels .sapSuiteAMCLbl:first-child{visibility:hidden}.sapSuiteAMCTarget.sapSuiteAMCSemanticColorNeutral,.sapSuiteAMCChart.sapSuiteAMCSemanticColorNeutral,.sapSuiteAMCLine.sapSuiteAMCSemanticColorNeutral{color:#000}.sapSuiteAMCTarget.sapSuiteAMCNeutralNoThreshold,.sapSuiteAMCChart.sapSuiteAMCNeutralNoThreshold,.sapSuiteAMCLine.sapSuiteAMCNeutralNoThreshold{color:#000}.sapSuiteAMCLbl.sapSuiteAMCSemanticColorNeutral{color:#131e29}.sapSuiteAMCLbl.sapSuiteAMCSemanticColorGood{color:#256f3a}.sapSuiteAMCLbl.sapSuiteAMCSemanticColorCritical{color:#b44f00}.sapSuiteAMCLbl.sapSuiteAMCSemanticColorError{color:#aa0808}.sapSuiteAMCThreshold{color:#c2ccd7}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorNone{background-color:#758ca4}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorNeutral{background-color:#758ca4}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorGood{background-color:#30914c}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorCritical{background-color:#e26300}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorError{background-color:#f53232}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence1{background-color:#168eff}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence2{background-color:#c87b00}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence3{background-color:#75980b}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence4{background-color:#df1278}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence5{background-color:#8b47d7}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence6{background-color:#049f9a}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence7{background-color:#0070f2}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence8{background-color:#cc00dc}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence9{background-color:#798c77}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence10{background-color:#da6c6c}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence11{background-color:#5d36ff}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorSequence12{background-color:#a68a5b}.sapSuiteAMCThreshold.sapSuiteAMCSemanticColorNeutral{background-color:#758ca4}.sapSuiteAMCTextColor{color:#000}.sapSuiteBMCContent{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;outline:none;font-weight:bold;font-family:\"72-Bold\",\"72-Boldfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif;font-size:.875rem;display:flex;align-items:center}.sapSuiteBMCContent.sapSuiteBMCSmallFont{font-size:.75rem}html.sap-desktop .sapSuiteBMCContent:focus{outline:.125rem solid #0032a5;outline-offset:1px}html.sap-desktop .sapSuiteBMCContent:focus:not([tabindex]),.sapSuiteBMCContent:focus:not([tabindex]){outline:none}.sapSuiteBMCContent.sapSuiteBMCSizeL{height:5.875rem;width:12rem}html.sapUiMedia-Std-Desktop .sapSuiteBMCContent.sapSuiteBMCSizeAuto,html.sapUiMedia-Std-Tablet .sapSuiteBMCContent.sapSuiteBMCSizeAuto,.sapSuiteBMCContent.sapSuiteBMCSizeM{height:4.5rem;width:10.5rem}html.sapUiMedia-Std-Phone .sapSuiteBMCContent.sapSuiteBMCSizeAuto,.sapSuiteBMCContent.sapSuiteBMCSizeS{height:3.5rem;width:8.25rem}.sapSuiteBMCContent.sapSuiteBMCSizeXS{height:1.5rem;width:6rem}.sapSuiteBMCChart{position:relative;width:100%;height:100%;min-height:inherit;display:flex;flex-direction:column;justify-content:center}.sapSuiteBMCBarValueMarkerHidden{visibility:hidden}.sapSuiteBMCThresholdHidden .sapSuiteBMCThreshold,.sapSuiteBMCThresholdHidden .sapSuiteBMCDiamond{visibility:hidden}.sapSuiteBMCBarValueMarker{position:absolute;width:.125rem;transform:translateX(-100%)}.sapSuiteBMCTargetBarValue{position:absolute;width:.125rem;border-left-width:1px;border-left-style:solid;height:100%}.sapSuiteBMCItemValue,.sapSuiteBMCTargetValue{display:inline-block;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.sapSuiteBMCItemValue{margin:0 1px;color:#9db7d1}.sapSuiteBMCTargetValue{top:0.1125rem;font-weight:normal;color:#000}.sapSuiteBMCThreshold{position:absolute;background-color:#9db7d1;margin-left:1px;width:.125rem;top:6.25%;height:75%}.sapSuiteBMCBar{position:absolute;left:1%;right:0}.sapSuiteBMCBarValue{position:absolute;left:1%;right:1%;min-width:.125rem;box-sizing:border-box}.sapSuiteBMCDiamond{position:absolute;-webkit-transform:rotate(-45deg) translate(-0.02rem, 0);-moz-transform:rotate(-45deg) translate(-0.02rem, 0);-ms-transform:rotate(-45deg) translate(-0.02rem, 0);transform:rotate(-45deg) translate(-0.02rem, 0)}html[dir=rtl] .sapSuiteBMCDiamond{-webkit-transform:rotate(-45deg) translate(.02rem, 0);-moz-transform:rotate(-45deg) translate(.02rem, 0);-ms-transform:rotate(-45deg) translate(.02rem, 0);transform:rotate(-45deg) translate(.02rem, 0)}.sapSuiteBMCForecastBarValue{position:absolute;left:1%;right:1%}.sapSuiteBMCContent.sapSuiteBMCResponsive{width:100%;height:100%}.sapSuiteBMCVerticalAlignmentContainer{position:relative;width:100%;height:100%;max-height:4.5rem;min-height:1.5rem;min-width:4rem;max-width:20rem}.sapSuiteBMCTopLabel{margin-bottom:0.1875rem}.sapSuiteBMCTopLabel,.sapSuiteBMCBottomLabel{position:relative;height:1rem;text-align:left}.sapSuiteBMCChartCanvas{position:relative;flex:1;width:100%;max-height:2rem;min-height:1.5rem}.sapSuiteBMCDiamond{top:75%;width:.25rem;height:.25rem}.sapSuiteBMCBar,.sapSuiteBMCForecastBarValue,.sapSuiteBMCBarValue{top:18.75%;height:50%;min-width:0.25rem}.sapSuiteBMCBarValueMarker{top:-12.5%;height:68.75%}.sapSuiteBMCForecast{top:31.25%;height:25%}.sapSuiteBMCSmallLook .sapSuiteBMCBar,.sapSuiteBMCSmallLook .sapSuiteBMCForecastBarValue,.sapSuiteBMCSmallLook .sapSuiteBMCBarValue{top:calc(19.04761905%);height:calc(57.14285714%)}.sapSuiteBMCSmallLook .sapSuiteBMCForecast{top:calc(33.33333333%);height:calc(28.57142857%)}.sapSuiteBMCSmallLook .sapSuiteBMCThreshold{top:calc(4.76190476%);height:calc(85.71428571%);width:1px}.sapSuiteBMCSmallLook .sapSuiteBMCBarValueMarker{top:calc(-19.04761905%);height:calc(52.38095238%)}.sapSuiteBMCSmallLook .sapSuiteBMCDiamond{top:80%}.sapSuiteBMCSmallLook .sapSuiteBMCChartCanvas{max-height:1.3125rem}.sapSuiteBMCExtraSmallLook .sapSuiteBMCBar,.sapSuiteBMCExtraSmallLook .sapSuiteBMCForecastBarValue,.sapSuiteBMCExtraSmallLook .sapSuiteBMCBarValue{top:calc(16.66666667%);height:calc(66.66666667%)}.sapSuiteBMCExtraSmallLook .sapSuiteBMCForecast{top:calc(33.33333333%);height:calc(33.33333333%)}.sapSuiteBMCExtraSmallLook .sapSuiteBMCThreshold{top:0;height:100%;width:1px}.sapSuiteBMCExtraSmallLook .sapSuiteBMCDiamond{top:90%;height:0.125rem;width:0.125rem;transform:rotate(-45deg) translateX(25%)}.sapSuiteBMCExtraSmallLook .sapSuiteBMCBarValueMarker{visibility:hidden}.sapSuiteBMCExtraSmallLook .sapSuiteBMCChartCanvas{max-height:1.125rem}.sapSuiteBMCNoLabels .sapSuiteBMCTopLabel,.sapSuiteBMCNoLabels .sapSuiteBMCBottomLabel{display:none}.sapSuiteBMCBar.sapSuiteBMCScaleColorTransparent{background-color:transparent}.sapSuiteBMCBarValue.sapSuiteBMCSemanticColorNeutral,.sapSuiteBMCBarValueMarker.sapSuiteBMCSemanticColorNeutral{background-color:#5b728b}.sapSuiteBMCBarValue.sapSuiteBMCSemanticColorGood,.sapSuiteBMCBarValueMarker.sapSuiteBMCSemanticColorGood{background-color:#30914c}.sapSuiteBMCBarValue.sapSuiteBMCSemanticColorCritical,.sapSuiteBMCBarValueMarker.sapSuiteBMCSemanticColorCritical{background-color:#e26300}.sapSuiteBMCBarValue.sapSuiteBMCSemanticColorError,.sapSuiteBMCBarValueMarker.sapSuiteBMCSemanticColorError{background-color:#f53232}.sapSuiteBMCThreshold.sapSuiteBMCSemanticColorNeutral{background-color:#788fa6}.sapSuiteBMCThreshold.sapSuiteBMCSemanticColorGood{background-color:#30914c}.sapSuiteBMCThreshold.sapSuiteBMCSemanticColorCritical{background-color:#e76500}.sapSuiteBMCThreshold.sapSuiteBMCSemanticColorError{background-color:#f53232}.sapSuiteBMCDiamond{background-color:#f53232}.sapSuiteBMCForecastBarValue.sapSuiteBMCSemanticColorNeutral{background-color:#c2ccd7}.sapSuiteBMCForecastBarValue.sapSuiteBMCSemanticColorGood{background-color:#f5fae5}.sapSuiteBMCForecastBarValue.sapSuiteBMCSemanticColorCritical{background-color:#fff8d6}.sapSuiteBMCForecastBarValue.sapSuiteBMCSemanticColorError{background-color:#ffeaf4}.sapSuiteBMCBar{background-color:#efefef;border-color:#758ca4;outline:.0625rem solid #758ca4}.sapSuiteBMCTargetBarValue{border-left-color:#fff;background-color:#000}.sapSuiteBMCItemValue.sapSuiteBMCSemanticColorNeutral{color:#131e29}.sapSuiteBMCItemValue.sapSuiteBMCSemanticColorGood{color:#256f3a}.sapSuiteBMCItemValue.sapSuiteBMCSemanticColorCritical{color:#b44f00}.sapSuiteBMCItemValue.sapSuiteBMCSemanticColorError{color:#aa0808}.sapSuiteClMC{outline:none;position:relative;display:flex;align-items:center}.sapSuiteClMCVerticalAlignmentContainer{width:100%;height:100%;position:relative;min-width:4rem;max-width:20rem;min-height:1.125rem;max-height:5.875rem;display:flex;flex-direction:column;justify-content:space-between}.sapSuiteClMCBars{flex:1 1 100%;position:relative;display:flex;justify-content:center}.sapSuiteClMCBar{flex:1 0 0.25rem;max-width:4rem;position:relative;display:flex;flex-direction:column}.sapSuiteClMCInnerBar{outline:none;min-height:0.125rem;box-sizing:border-box;height:100%}.sapSuiteClMCBar:not(:first-child){margin-left:4px}.sapSuiteClMC.sapSuiteClMCSizeResponsive{height:100%;width:100%}.sapSuiteClMC.sapSuiteClMCSizeL{height:5.875rem;width:12rem}html.sapUiMedia-Std-Desktop .sapSuiteClMC.sapSuiteClMCSizeAuto,html.sapUiMedia-Std-Tablet .sapSuiteClMC.sapSuiteClMCSizeAuto,.sapSuiteClMC.sapSuiteClMCSizeM{height:4.5rem;width:10.5rem}html.sapUiMedia-Std-Phone .sapSuiteClMC.sapSuiteClMCSizeAuto,.sapSuiteClMC.sapSuiteClMCSizeS{height:3.5rem;width:8.25rem}.sapSuiteClMC.sapSuiteClMCSizeXS{height:1.5rem;width:6rem}.sapSuiteClMC.sapSuiteClMCSizeXS .sapSuiteClMCVerticalAlignmentContainer{height:1.125rem}.sapSuiteClMC.sapSuiteClMCLookM .sapSuiteClMCEdgeLabel{font-size:.75rem}.sapSuiteClMC.sapSuiteClMCLookS .sapSuiteClMCEdgeLabel{font-size:.75rem}.sapSuiteClMC.sapSuiteClMCLookS .sapSuiteClMCBar:not(:first-child){margin-left:3px}.sapSuiteClMC.sapSuiteClMCLookXS .sapSuiteClMCColumnLabelDivider,.sapSuiteClMC.sapSuiteClMCLookXS .sapSuiteClMCLabelColumn,.sapSuiteClMC.sapSuiteClMCLookXS .sapSuiteClMCLabels{display:none}.sapSuiteClMC.sapSuiteClMCLookXS .sapSuiteClMCBar:not(:first-child){margin-left:3px}.sapSuiteClMC.sapSuiteClMCNoLabels .sapSuiteClMCColumnLabelDivider,.sapSuiteClMC.sapSuiteClMCNoLabels .sapSuiteClMCLabelColumn,.sapSuiteClMC.sapSuiteClMCNoLabels .sapSuiteClMCLabels{display:none}.sapSuiteClMC.sapSuiteClMCNoColumnLabels .sapSuiteClMCColumnLabelDivider,.sapSuiteClMC.sapSuiteClMCNoColumnLabels .sapSuiteClMCLabelColumn,.sapSuiteClMC.sapSuiteClMCNoColumnLabels .sapSuiteClMCBottomColumnLabels{display:none}.sapSuiteClMC.sapSuiteClMCColumnLabels:not(.sapSuiteClMCNoColumnLabels) .sapSuiteClMCPositionTop,.sapSuiteClMC.sapSuiteClMCNoTopLabels .sapSuiteClMCPositionTop{display:none}.sapSuiteClMC.sapSuiteClMCColumnLabels:not(.sapSuiteClMCNoColumnLabels):not(.sapSuiteClMCNoBottomColumnLabels) .sapSuiteClMCPositionBtm{display:none}html.sap-desktop .sapSuiteClMC:focus:not([tabindex]),.sapSuiteClMC:focus:not([tabindex]){outline:none}html.sap-desktop .sapSuiteClMCBar[tabindex]:focus,.sapSuiteClMCBar[tabindex]:focus{outline:none}html.sap-desktop .sapSuiteClMCBar[tabindex]:focus .sapSuiteClMCInnerBar,.sapSuiteClMCBar[tabindex]:focus .sapSuiteClMCInnerBar{outline:.125rem solid #0032a5}html.sap-desktop .sapSuiteClMC:focus,.sapSuiteClMC:focus{outline:.125rem solid #0032a5;outline-offset:1px}.sapSuiteClMCLabels{display:flex;flex:0 0 auto}.sapSuiteClMCLabels.sapSuiteClMCPositionBtm,.sapSuiteClMCLabels.sapSuiteClMCBottomColumnLabels{margin-top:1px}.sapSuiteClMCLabel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sapSuiteClMCEdgeLabel{min-height:1px;flex:1 0 50%;font-size:.875rem;color:#000}.sapSuiteClMCLabelColumn{width:100%;text-align:center;font-size:.75rem}.sapSuiteClMCLabelColumn.sapSuiteClMCLabelColumnTop{position:absolute;transform:translateY(-100%) translateY(-1px)}.sapSuiteClMCLabelColumn.sapSuiteClMCLabelColumnBottom{position:absolute;top:calc(100% + 1px)}.sapSuiteClMCLabel.sapSuiteClMCPositionLeft{text-align:left}.sapSuiteClMCLabel.sapSuiteClMCPositionRight{text-align:right}html[dir=rtl] .sapSuiteClMCLabel.sapSuiteClMCPositionLeft{text-align:right}html[dir=rtl] .sapSuiteClMCLabel.sapSuiteClMCPositionRight{text-align:left}.sapSuiteClMCBottomColumnLabel:not(:first-child){margin-left:4px}.sapSuiteClMCColumnLabelDivider{flex:0 0 .75rem}html.sap-desktop .sapSuiteClMCBar.sapSuiteUiMicroChartPointer .sapSuiteClMCInnerBar:hover{border:1px solid #0032a5;outline:1px solid #0032a5}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorNone{background-color:#758ca4}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorNeutral{background-color:#758ca4}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorGood{background-color:#30914c}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorCritical{background-color:#e26300}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorError{background-color:#f53232}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence1{background-color:#168eff}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence2{background-color:#c87b00}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence3{background-color:#75980b}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence4{background-color:#df1278}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence5{background-color:#8b47d7}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence6{background-color:#049f9a}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence7{background-color:#0070f2}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence8{background-color:#cc00dc}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence9{background-color:#798c77}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence10{background-color:#da6c6c}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence11{background-color:#5d36ff}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorSequence12{background-color:#a68a5b}.sapSuiteClMCInnerBar.sapSuiteClMCSemanticColorNeutral{background-color:#758ca4}.sapSuiteClMCLabel.sapSuiteClMCSemanticColorNeutral{color:#131e29}.sapSuiteClMCLabel.sapSuiteClMCSemanticColorGood{color:#256f3a}.sapSuiteClMCLabel.sapSuiteClMCSemanticColorCritical{color:#b44f00}.sapSuiteClMCLabel.sapSuiteClMCSemanticColorError{color:#aa0808}.sapSuiteClMCLabelColumn.sapSuiteClMCBottomColumnLabel{color:#000}.sapSuiteCpMCChartContent{position:relative;outline:none;font-family:\"72\",\"72full\",Arial,Helvetica,sans-serif;display:flex;align-items:center}html.sapUiMedia-Std-Desktop .sapMTileCntContent>.sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,html.sapUiMedia-Std-Tablet .sapMTileCntContent>.sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,.sapMTileCntContent>.sapSuiteCpMCChartContent.sapSuiteCpMCSizeM{height:100%;width:100%}.sapSuiteCpMC .sapMBtn{position:absolute;top:-15px;right:-38px}html.sap-desktop .sapSuiteCpMCChartContent[tabindex]:focus{outline:.125rem solid #0032a5;outline-offset:1px}html.sap-desktop .sapSuiteCpMCChartContent:focus:not([tabindex]),.sapSuiteCpMCChartContent:focus:not([tabindex]){outline:none}html.sap-desktop .sapSuiteCpMCChartBar.sapSuiteUiMicroChartPointer:hover{border:1px solid #0032a5;outline:1px solid #0032a5}html.sap-desktop .sapSuiteUiMicroChartBarPointer:focus{outline:2px solid #0032a5 !important}html.sap-desktop .sapSuiteUiMicroChartBarPointer:hover{outline:1px solid #bcc3ca}.sapSuiteCpMCVerticalAlignmentContainer{position:relative;width:100%;min-height:1.5rem;max-height:100%;min-width:4rem;max-width:20rem;display:flex;flex-direction:column;justify-content:center}.sapSuiteCpMCShrinkable .sapSuiteCpMCVerticalAlignmentContainer{top:auto;transform:none}.sapSuiteCpMCChartContent.sapSuiteCpMCResponsive{width:100%;height:100%}.sapSuiteCpMCChartContent.sapSuiteCpMCSizeL{height:5.875rem;width:12rem}html.sapUiMedia-Std-Desktop .sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,html.sapUiMedia-Std-Tablet .sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,.sapSuiteCpMCChartContent.sapSuiteCpMCSizeM{height:4.5rem;width:10.5rem}html.sapUiMedia-Std-Phone .sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,.sapSuiteCpMCChartContent.sapSuiteCpMCSizeS{height:3.5rem;width:8.25rem}.sapSuiteCpMCChartContent.sapSuiteCpMCSizeXS{height:1.5rem;width:6rem}.sapSuiteCpMCChartBar{display:flex;position:absolute;width:100%;box-sizing:border-box}.sapSuiteCpMCChartBar>div{height:100%;min-width:0.25rem}.sapSuiteCpMCChartContent.sapSuiteCpMCLookL{font-size:.875rem}.sapSuiteCpMCChartContent.sapSuiteCpMCLookL .sapSuiteCpMCChartItem{height:1.5rem;margin-bottom:0.625rem}.sapSuiteCpMCChartContent.sapSuiteCpMCLookL .sapSuiteCpMCChartBar{height:0.375rem;top:1.0625rem;left:0}.sapSuiteCpMCChartContent.sapSuiteCpMCLookM{font-size:.75rem}.sapSuiteCpMCChartContent.sapSuiteCpMCLookM .sapSuiteCpMCChartItem{height:1.5rem;margin-bottom:0}.sapSuiteCpMCChartContent.sapSuiteCpMCLookM .sapSuiteCpMCChartBar{height:0.375rem;top:1.125rem;left:0}.sapSuiteCpMCChartContent.sapSuiteCpMCLookS{font-size:.75rem}.sapSuiteCpMCChartContent.sapSuiteCpMCLookS .sapSuiteCpMCChartItem{height:1rem;margin-bottom:0.125rem}.sapSuiteCpMCChartContent.sapSuiteCpMCLookS .sapSuiteCpMCChartBar{height:0.25rem;top:1rem;left:0}.sapSuiteCpMCChartContent.sapSuiteCpMCLookXS .sapSuiteCpMCChartItemTitle,.sapSuiteCpMCChartContent.sapSuiteCpMCLookXS .sapSuiteCpMCChartItemValue{display:none}.sapSuiteCpMCChartContent.sapSuiteCpMCLookXS .sapSuiteCpMCChartItem{height:0.1875rem;margin-bottom:0.1875rem}.sapSuiteCpMCChartContent.sapSuiteCpMCLookXS .sapSuiteCpMCChartBar{height:0.25rem}.sapSuiteCpMCChartContent.sapSuiteCpMCLookWide{font-size:.875rem}.sapSuiteCpMCChartContent.sapSuiteCpMCLookWide .sapSuiteCpMCChartItem{height:0.875rem;margin-bottom:0.3rem;align-items:center}.sapSuiteCpMCChartContent.sapSuiteCpMCLookWide .sapSuiteCpMCChartBar{height:0.375rem;position:relative;margin-left:2.5%;margin-right:2.5%;min-width:4rem;flex-shrink:1000}.sapSuiteCpMCChartContent.sapSuiteCpMCLookWide .sapSuiteCpMCChartItemTitle,.sapSuiteCpMCChartContent.sapSuiteCpMCLookWide .sapSuiteCpMCChartItemValue{top:0;margin-left:0}.sapSuiteCpMCChartContent.sapSuiteCpMCLookWide .sapSuiteCpMCChartItemTitle{flex-shrink:1}.sapSuiteCpMCChartContent.sapSuiteCpMCLookWide .sapSuiteCpMCChartItemValue{text-align:right;max-width:calc(100% - 5% - 4ch - 4rem)}.sapSuiteCpMCChartContent.sapSuiteCpMCLookWide .sapSuiteCpMCChartItemHiddenLabel{display:block;visibility:hidden}.sapSuiteCpMCChartBarNegNoValue,.sapSuiteCpMCChartBarNoValue{background-color:#efefef}.sapSuiteCpMCNegPosNoValue{box-shadow:inset -1px 0 0 0 #758ca4,inset 0 1px 0 0 #758ca4,inset 0 -1px 0 0 #758ca4}.sapSuiteCpMCNotLastBarPart{box-shadow:inset -1px 0 0 0 #fff,inset 1px 0 0 0 #758ca4,inset 0 1px 0 0 #758ca4,inset 0 -1px 0 0 #758ca4}.sapSuiteCpMCNotFirstBarPart{box-shadow:inset -1px 0 0 0 #758ca4,inset 1px 0 0 0 #fff,inset 0 1px 0 0 #758ca4,inset 0 -1px 0 0 #758ca4}.sapSuiteCpMCChartItem{width:100%;position:relative;line-height:normal;display:flex;justify-content:space-between;align-items:flex-start;flex:0 0 auto}.sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle{color:#000}.sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle,.sapSuiteCpMCChartItem .sapSuiteCpMCChartItemValue{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative;top:0.0625rem;min-width:4ch;text-align:start}.sapSuiteCpMCChartItem .sapSuiteCpMCChartItemHiddenLabel{display:none}.sapSuiteCpMCChartItem .sapSuiteCpMCChartItemValue{max-width:calc(100% - 6% - 4ch);margin-left:6%;flex-shrink:0;text-align:end}.sapSuiteCpMCSizeM:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle,.sapSuiteCpMCLookM:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle,.sapSuiteCpMCSizeM:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemValue,.sapSuiteCpMCLookM:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemValue{top:0.125rem}.sapSuiteCpMCSizeL:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle,.sapSuiteCpMCLookL:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle,.sapSuiteCpMCSizeL:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemValue,.sapSuiteCpMCLookL:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemValue{top:-0.0625rem}.sapSuiteCpMCSizeS:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle,.sapSuiteCpMCLookS:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle,.sapSuiteCpMCSizeS:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemValue,.sapSuiteCpMCLookS:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemValue{top:0.0625rem}.sapMGT.sapMTileSmallPhone .sapSuiteCpMC.sapCMCEastCharsPresent.sapSuiteCpMCLookS:not(.sapSuiteCpMCLookWide) .sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle{top:0}.sapSuiteCpMCLookWide.sapSuiteCpMCSizeXS .sapSuiteCpMCChartItemValue{display:none}.sapSuiteCpMCChartItemValue,.sapSuiteCpMCChartItemValue.sapSuiteCpMCViewTypeNormal,.sapSuiteCpMCChartItemValue.sapSuiteCpMCSemanticColorNeutral{color:#131e29}.sapSuiteCpMCChartItemValue.sapSuiteCpMCSemanticColorGood{color:#256f3a}.sapSuiteCpMCChartItemValue.sapSuiteCpMCSemanticColorCritical{color:#b44f00}.sapSuiteCpMCChartItemValue.sapSuiteCpMCSemanticColorError{color:#aa0808}.sapSuiteCpMCChartBarValue{background-color:#168eff}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorNone{background-color:#758ca4}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorNeutral{background-color:#758ca4}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorGood{background-color:#30914c}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorCritical{background-color:#e26300}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorError{background-color:#f53232}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence1{background-color:#168eff}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence2{background-color:#c87b00}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence3{background-color:#75980b}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence4{background-color:#df1278}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence5{background-color:#8b47d7}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence6{background-color:#049f9a}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence7{background-color:#0070f2}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence8{background-color:#cc00dc}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence9{background-color:#798c77}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence10{background-color:#da6c6c}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence11{background-color:#5d36ff}.sapSuiteCpMCChartBarValue.sapSuiteCpMCSemanticColorSequence12{background-color:#a68a5b}.sapSuiteDMC{outline:none;position:relative;display:flex;align-items:center}.sapSuiteDMCVerticalAlignmentContainer{width:100%;height:100%;position:relative;min-width:4rem;max-width:20rem;min-height:1.5rem;max-height:5.875rem;display:flex}html.sap-desktop .sapSuiteDMC:focus:not([tabindex]),.sapSuiteDMC:focus:not([tabindex]){outline:none}html.sap-desktop .sapSuiteDMC:focus{outline:.125rem solid #0032a5;outline-offset:1px}.sapSuiteDMC.sapSuiteDMCSizeResponsive{height:100%;width:100%}.sapSuiteDMC.sapSuiteDMCSizeL{height:5.875rem;width:12rem}html.sapUiMedia-Std-Desktop .sapSuiteDMC.sapSuiteDMCSizeAuto,html.sapUiMedia-Std-Tablet .sapSuiteDMC.sapSuiteDMCSizeAuto,.sapSuiteDMC.sapSuiteDMCSizeM{height:4.5rem;width:10.5rem}html.sapUiMedia-Std-Phone .sapSuiteDMC.sapSuiteDMCSizeAuto,.sapSuiteDMC.sapSuiteDMCSizeS{height:3.5rem;width:8.25rem}.sapSuiteDMC.sapSuiteDMCSizeXS{height:1.5rem;width:6rem}.sapSuiteDMC.sapSuiteDMCNoRightLabels .sapSuiteDMCLbls,.sapSuiteDMC.sapSuiteDMCNoRightLabels .sapSuiteDMCSpacerRight{display:none}.sapSuiteDMC.sapSuiteDMCNoRightLabels.sapSuiteDMCNoTitleTop.sapSuiteDMCNoTitleBottom .sapSuiteDMCChart,.sapSuiteDMC.sapSuiteDMCNoRightLabels:not(.sapSuiteDMCWideMode) .sapSuiteDMCChart{margin:0}.sapSuiteDMC:not(.sapSuiteDMCWideMode) .sapSuiteDMCSpacerLeft,.sapSuiteDMC:not(.sapSuiteDMCWideMode) .sapSuiteDMCWideTitles{display:none}.sapSuiteDMC.sapSuiteDMCWideMode .sapSuiteDMCCnt .sapSuiteDMCLabel{display:none}.sapSuiteDMCLabel{flex:0 0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;color:#000}.sapSuiteDMCLbls{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.sapSuiteDMCValue1{width:100%;text-align:right}.sapSuiteDMCValue2{text-align:right}.sapSuiteDMCDelta{text-align:right;font-weight:bold}.sapSuiteDMCBarDeltaMaxDelta,.sapSuiteDMCBarDeltaNotMax{max-width:calc(100% - 0.3125rem)}.sapSuiteDMCBar.sapSuiteDMCBarZeroWidth~.sapSuiteDMCBarDeltaNotMax{max-width:100%}.sapSuiteDMCBarSizeSmaller{max-width:calc(100% - 0.5rem)}html[dir=rtl] .sapSuiteDMCValue1,html[dir=rtl] .sapSuiteDMCValue2,html[dir=rtl] .sapSuiteDMCDelta{text-align:left}.sapSuiteDMCSpacer{min-width:0.25rem;width:2.5%}.sapSuiteDMCWideTitles{display:flex;flex-direction:column;justify-content:space-between;flex:0 1 auto}.sapSuiteDMCCnt{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;flex:1 0 4rem}.sapSuiteDMCChart{position:relative;width:100%;height:100%;overflow:hidden}.sapSuiteDMCWideMode .sapSuiteDMCChart,.sapSuiteDMCNoTitleTop .sapSuiteDMCChart{margin-top:0.375rem}.sapSuiteDMCWideMode .sapSuiteDMCChart,.sapSuiteDMCNoTitleBottom .sapSuiteDMCChart{margin-bottom:0.375rem}.sapSuiteDMCTitle{text-align:left}html[dir=rtl] .sapSuiteDMCTitle{text-align:right}.sapSuiteDMCTitle.sapSuiteDMCPositionTop{margin-bottom:0.125rem}.sapSuiteDMCTitle.sapSuiteDMCPositionBtm{margin-top:0.125rem}.sapSuiteDMCBar{position:absolute;height:0.375rem}.sapSuiteDMCBar:not(.sapSuiteDMCBarZeroWidth){min-width:0.3125rem}.sapSuiteDMCBar.sapSuiteDMCDirectionLeft{left:0rem}.sapSuiteDMCBar.sapSuiteDMCDirectionRight{right:0rem}.sapSuiteDMCBar.sapSuiteDMCBar1{top:0rem}.sapSuiteDMCBarInternal.sapSuiteDMCDirectionLeft{margin-right:2px}.sapSuiteDMCBarSizeSmaller:not(.sapSuiteDMCBarDeltaMaxDelta) .sapSuiteDMCBarInternal.sapSuiteDMCDirectionLeft{margin-right:1px}.sapSuiteDMCBarInternal.sapSuiteDMCDirectionRight{margin-left:2px}.sapSuiteDMCBarSizeSmaller:not(.sapSuiteDMCBarDeltaMaxDelta) .sapSuiteDMCBarInternal.sapSuiteDMCDirectionRight{margin-left:1px}.sapSuiteDMCBar.sapSuiteDMCBarDelta{margin:auto;top:0rem;bottom:0rem;min-width:0.5rem;height:0.875rem}.sapSuiteDMCBar.sapSuiteDMCBarDelta.sapSuiteDMCBarDeltaEqual{min-width:1px}.sapSuiteDMCBar.sapSuiteDMCBarDelta.sapSuiteDMCBarDeltaEqual.sapSuiteDMCDirectionLeft{left:0rem}.sapSuiteDMCBar.sapSuiteDMCBarDelta.sapSuiteDMCBarDeltaEqual.sapSuiteDMCDirectionLeft.sapSuiteDMCBarDeltaZero{left:3px}.sapSuiteDMCBar.sapSuiteDMCBar2{bottom:0rem;right:0rem}.sapSuiteDMCBarDeltaInt{height:100%;margin-left:0.125rem;margin-right:0.125rem}.sapSuiteDMCBarDelta:not(.sapSuiteDMCBarDeltaEqual)DeltaMicroChart .sapSuiteDMCBarDeltaInt{min-width:0.25rem}.sapSuiteDMCBarDeltaStripe{position:absolute;height:400%;width:1px;bottom:0rem}.sapSuiteDMCBarDeltaStripe.sapSuiteDMCDirectionLeft{left:0px}.sapSuiteDMCBarDeltaStripe.sapSuiteDMCDirectionLeft.sapSuiteDMCBarDeltaEqual{left:0rem}.sapSuiteDMCBarDeltaStripe.sapSuiteDMCDirectionRight{right:0rem}.sapSuiteDMCBarDeltaStripe.sapSuiteDMCBarDeltaFirstStripeUp{bottom:0rem}.sapSuiteDMCBarDeltaStripe.sapSuiteDMCBarDeltaFirstStripeDown{top:0rem}.sapSuiteDMCBar.sapSuiteDMCBarUniqueNonzero .sapSuiteDMCBarInternal.sapSuiteDMCDirectionRight,.sapSuiteDMCBar.sapSuiteDMCBarUniqueNonzero .sapSuiteDMCBarInternal.sapSuiteDMCDirectionLeft{margin-left:.125rem;margin-right:.125rem}.sapSuiteDMC.sapSuiteDMCLookM .sapSuiteDMCLabel{font-size:.75rem}.sapSuiteDMC.sapSuiteDMCLookM.sapSuiteDMCWideMode .sapSuiteDMCChart,.sapSuiteDMC.sapSuiteDMCLookM.sapSuiteDMCNoTitleTop .sapSuiteDMCChart{margin-top:0.25rem}.sapSuiteDMC.sapSuiteDMCLookM.sapSuiteDMCWideMode .sapSuiteDMCChart,.sapSuiteDMC.sapSuiteDMCLookM.sapSuiteDMCNoTitleBottom .sapSuiteDMCChart{margin-bottom:0.25rem}.sapSuiteDMC.sapSuiteDMCLookS .sapSuiteDMCLabel{font-size:.75rem}.sapSuiteDMC.sapSuiteDMCLookS .sapSuiteDMCBar{height:0.25rem}.sapSuiteDMC.sapSuiteDMCLookS .sapSuiteDMCBar.sapSuiteDMCBarDelta{height:0.625rem}.sapSuiteDMC.sapSuiteDMCLookS.sapSuiteDMCWideMode .sapSuiteDMCChart,.sapSuiteDMC.sapSuiteDMCLookS.sapSuiteDMCNoTitleTop .sapSuiteDMCChart{margin-top:0.3rem}.sapSuiteDMC.sapSuiteDMCLookS.sapSuiteDMCWideMode .sapSuiteDMCChart,.sapSuiteDMC.sapSuiteDMCLookS.sapSuiteDMCNoTitleBottom .sapSuiteDMCChart{margin-bottom:0.3rem}.sapSuiteDMC.sapSuiteDMCLookXS .sapSuiteDMCLabel{font-size:.75rem}.sapSuiteDMC.sapSuiteDMCLookXS .sapSuiteDMCBar{height:0.25rem}.sapSuiteDMC.sapSuiteDMCLookXS .sapSuiteDMCBar.sapSuiteDMCBarDelta{height:0.5rem;top:-0.4375rem}.sapSuiteDMC.sapSuiteDMCLookXS .sapSuiteDMCLabel:not(.sapSuiteDMCDelta){display:none}.sapSuiteDMC.sapSuiteDMCLookXS .sapSuiteDMCLbls{justify-content:center}.sapSuiteDMC.sapSuiteDMCLookXS .sapSuiteDMCChart{margin:0}.sapSuiteDMC.sapSuiteDMCLookXS .sapSuiteDMCSpacerLeft{display:none}.sapSuiteDMC.sapSuiteDMCNoLabels .sapSuiteDMCLbls,.sapSuiteDMC.sapSuiteDMCNoLabels .sapSuiteDMCLabel,.sapSuiteDMC.sapSuiteDMCNoLabels .sapSuiteDMCSpacer{display:none}.sapSuiteDMC.sapSuiteDMCNoLabels .sapSuiteDMCChart{margin:0}.sapSuiteDMCDelta.sapSuiteDMCSemanticColorNeutral{color:#131e29}.sapSuiteDMCDelta.sapSuiteDMCSemanticColorGood{color:#256f3a}.sapSuiteDMCDelta.sapSuiteDMCSemanticColorCritical{color:#b44f00}.sapSuiteDMCDelta.sapSuiteDMCSemanticColorError{color:#aa0808}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorNone{background-color:#758ca4}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorNeutral{background-color:#758ca4}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorGood{background-color:#30914c}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorCritical{background-color:#e26300}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorError{background-color:#f53232}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence1{background-color:#168eff}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence2{background-color:#c87b00}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence3{background-color:#75980b}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence4{background-color:#df1278}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence5{background-color:#8b47d7}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence6{background-color:#049f9a}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence7{background-color:#0070f2}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence8{background-color:#cc00dc}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence9{background-color:#798c77}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence10{background-color:#da6c6c}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence11{background-color:#5d36ff}.sapSuiteDMCBarDeltaInt.sapSuiteDMCSemanticColorSequence12{background-color:#a68a5b}.sapSuiteDMCBarDeltaStripe{background-color:#000}.sapSuiteDMCBarInternal{background-color:#758ca4;height:100%}.sapSuiteHBMC{outline:none;position:relative;display:flex;align-items:center}html.sap-desktop .sapSuiteHBMC:focus:not([tabindex]),.sapSuiteHBMC:focus:not([tabindex]){outline:none}html.sap-desktop .sapSuiteHBMC:focus{outline:.125rem solid #0032a5;outline-offset:1px}.sapSuiteHBMCVerticalAlignmentContainer{width:100%;height:100%;position:relative;min-width:4rem;max-width:20rem;min-height:1.125rem;max-height:5.875rem;display:flex;align-items:center}.sapSuiteHBMCChart{height:100%;flex:0 0 auto}.sapSuiteHBMCChart .sapSuiteHBMCChartSvg{height:100%;width:auto}.sapSuiteHBMC .sapSuiteHBMCTextContainer{flex:0 0 auto;display:flex;flex-direction:column;padding-left:4%}.sapSuiteHBMCVerticalAlignmentContainer.sapSuiteHBMCAlignLeft{justify-content:flex-start}.sapSuiteHBMCVerticalAlignmentContainer.sapSuiteHBMCAlignCenter{justify-content:center}.sapSuiteHBMCVerticalAlignmentContainer.sapSuiteHBMCAlignRight{justify-content:flex-end}.sapSuiteHBMC .sapSuiteHBMCTextContainerHide{display:none}.sapSuiteHBMC:focus:not([tabindex]){outline:none}.sapSuiteHBMC.sapSuiteHBMCSizeResponsive{height:100%;width:100%}.sapSuiteHBMC .sapSuiteHBMCValueContainer{font-weight:bold}.sapSuiteHBMC.sapSuiteHBMCSizeL{height:5.875rem;width:12rem}html.sap-desktop .sapSuiteHBMC.sapSuiteHBMCSizeAuto,html.sap-tablet .sapSuiteHBMC.sapSuiteHBMCSizeAuto,.sapSuiteHBMC.sapSuiteHBMCSizeM{height:4.5rem;width:10.5rem}.sapSuiteHBMC.sapSuiteHBMCLookL .sapSuiteHBMCValueContainer,.sapSuiteHBMC.sapSuiteHBMCLookM .sapSuiteHBMCValueContainer{font-size:1.25rem;line-height:1.25rem;padding-bottom:0.34375rem;font-family:\"72-Bold\",\"72-Boldfull\",\"72\",\"72full\",Arial,Helvetica,sans-serif}.sapSuiteHBMC.sapSuiteHBMCLookL .sapSuiteHBMCTotalContainer,.sapSuiteHBMC.sapSuiteHBMCLookM .sapSuiteHBMCTotalContainer{font-size:1rem;line-height:1rem;padding-top:0.34375rem}html.sap-phone .sapSuiteHBMC.sapSuiteHBMCSizeAuto,.sapSuiteHBMC.sapSuiteHBMCSizeS{height:3.5rem;width:8.25rem}.sapSuiteHBMC.sapSuiteHBMCLookS .sapSuiteHBMCValueContainer{font-size:1rem;line-height:1rem;padding-bottom:0.28125rem;font-family:\"72\",\"72full\",Arial,Helvetica,sans-serif}.sapSuiteHBMC.sapSuiteHBMCLookS .sapSuiteHBMCTotalContainer{font-size:0.875rem;line-height:0.875rem;padding-top:0.28125rem}.sapSuiteHBMC.sapSuiteHBMCSizeXS{height:1.5rem;width:6rem}.sapSuiteHBMC.sapSuiteHBMCLookXS .sapSuiteHBMCBackgroundCircle{visibility:hidden}.sapSuiteHBMC.sapSuiteHBMCLookXS .sapSuiteHBMCSegment{stroke:none}.sapSuiteHBMC.sapSuiteHBMCLookXS .sapSuiteHBMCValueContainer{font-size:0.875rem;line-height:0.875rem;font-family:\"72\",\"72full\",Arial,Helvetica,sans-serif}.sapSuiteHBMC.sapSuiteHBMCLookXS .sapSuiteHBMCTotalContainer{display:none}.sapSuiteHBMCValue,.sapSuiteHBMCValueScale,.sapSuiteHBMCTotal,.sapSuiteHBMCTotalScale{white-space:normal;word-wrap:break-word}html[dir=ltr] .sapSuiteHBMCTotalScale,html[dir=ltr] .sapSuiteHBMCValueScale{margin-left:0.2rem}html[dir=rtl] .sapSuiteHBMCTotalScale,html[dir=rtl] .sapSuiteHBMCValueScale{margin-right:0.2rem}.sapSuiteHBMCValueContainer{flex:0 1 auto;color:#556b82}.sapSuiteHBMCTotalContainer{flex:0 1 auto;color:#000}.sapSuiteHBMCSegment{stroke-width:0.125rem}.sapSuiteHBMCBackgro Copyright 2025, 2025 SAP SE. All rights reserved.\n *//*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n *//*!SAP_POSTPROCESS_REDUCE_START*//*!SAP_POSTPROCESS_REDUCE_END*/.sapUiAccKeysHighlighDom:first-letter{text-decoration:underline 20% black}.sapUiCompDirectionLTR{direction:ltr}.sapUiCompUoMPart{padding-left:0.25rem}.sapUiCompDialogContentFieldListContainer{border-right:1px solid #758ca4}.sapUiCompDialogContentFieldListContainerTop{background-color:#efefef;border-bottom:1px solid #758ca4}.sapUiCompDialogContentFieldListContainerTop>div{width:inherit !important;margin-left:2px !important;margin-right:2px !important;margin-top:0px !important;margin-bottom:0px !important}.sapUiCompDialogContentMiddle{border-right:1px solid #758ca4;min-width:40px;max-width:60px}.sapUiCompDialogContentMiddle>div:first-child{margin:auto;text-align:center}.sapUiCompDialogContent{position:absolute;width:100%;height:100%;display:flex;flex-direction:column}.sapUiCompDialogContentHeader{flex-shrink:0}.sapUiCompDialogContentButtonAddFieldContainer{display:flex;align-items:center;padding:10px}.sapUiCompDialogContentBodyFlexItem{flex-grow:0}.sapUiCompDialogBody{position:relative;display:flex}.sapUiCompFieldListNode{padding-left:20px}.sapUiCompFieldListNodeBorder{position:relative}.sapUiCompFieldListNodeIsSelected{background-color:#ebf8ff}.sapUiCompFieldSelectorHeader{margin-right:2px;margin-left:2px}.sapUiCompFieldSelectorHeaderSearch{margin-right:4px}.sapUiCompFieldSelectorComboBox{display:flex}.sapUiCompFieldSelectorCreateButton{margin-left:2px}.sapUiCompFieldSelectorHeaderText{margin:auto}.sapUiCompFieldSelectorScrollContainer{width:100%}.sapUiCompFieldSelectorScrollContainer>div:first-child{width:100%}.sapUiCompFieldSelectorHeaderEntitySelection>div:first-child{margin:auto}.sapUiCompFilterBar{background-color:#fff;border-bottom:1px solid #d9d9d9}.sapUxAPObjectPageHeaderContent .sapUxAPObjectPageHeaderContentItem.sapUiCompFilterBar{display:block}.sapFDynamicPageHeaderContent .sapUiCompFilterBar{border-bottom:none;background-color:transparent}.compVHSearch .sapUiCompFilterBarPhone{padding-left:0rem}.sapUiCompFilterBarPhone{padding-top:0rem;padding-bottom:0rem;padding-right:1rem;padding-left:0.5rem}.sapFDynamicPageHeaderContent .sapUiCompFilterBarPhone{padding-top:0rem;padding-bottom:0rem;padding-right:0rem;padding-left:0rem}.sapUiCompFilterBarNonPhone{padding-top:1rem;padding-bottom:1rem;padding-right:1rem;padding-left:1rem}.sapUiCompFilterBarNonPhone .sapMIBar>.sapMBarChild:last-child{margin-right:0}.sapFDynamicPageHeaderContent .sapUiCompFilterBarNonPhone{padding-top:0rem;padding-bottom:0rem;padding-right:0rem;padding-left:0rem}.sapUiSizeCondensed .sapUiCompFilterBarNonPhone{padding-top:0rem;padding-bottom:0.2rem}.sapUiCompFilterBarToolbar .sapMBarChild.sapMSF{flex-shrink:1;padding-right:0.5rem}.sapUiCompFilterBar .sapMBtn.sapUiCompFilterBarPaddingRightBtn{padding-right:0.5rem}.sapUiCompFilterBar .sapUiCompVarMngmt .sapUICompVarMngmtText{padding-left:0}.sapUiCompFilterBar .sapUiCompFilterLabel.sapMLabel .sapMLabelTextWrapper::after{content:\":\"}.sapUiCompFilterBar .sapUiCompFilterLabel.sapMLabelNoText .sapMLabelTextWrapper::after{display:none}.sapUiCompFilterBar .sapUiCompFilterLabel.sapMLabel:lang(fr) .sapMLabelTextWrapper::after{content:\" :\"}.sapUiCompFilterBarToolbar{border-bottom-style:none;padding-right:0}.sapUiCompFilterBarToolbar .sapMBarChild.sapMSF{min-width:8rem;max-width:28rem}.sapUiCompFilterBarToolbarBasicSearchNoVariant .sapMBarChild.sapMSF{margin-left:0rem}.sapMIBar .sapUiCompFilterBarMarginLeft.sapMBarChild:first-child{margin-left:0rem}html[dir='rtl'] .sapUiCompFilterBarFloatRight{float:left}html[dir='rtl'] .sapUiCompFilterBarFloatLeft{float:right}.sapUiCompFilterBarHint.sapMText{display:block;padding-top:0.5rem}.sapUiCompFilterBar .sapMIBar.sapMTB.sapUiCompFilterBarToolbar .sapUiCompVarMngmt,.sapUiCompFilterBar .sapMIBar.sapMTB.sapUiCompFilterBarToolbar :not(.sapUiCompVarMngmt, .sapMVarMngmt)+.sapMBarChild{margin-left:0}.sapUiCompFilterBar .sapMIBar.sapMTB.sapUiCompFilterBarToolbar .sapUiCompVarMngmt.sapMBarChild{margin-right:0.5rem}.sapUiCompFilterBar .sapUiCompFilterBarToolbar button.sapMBtn{margin-left:0.5rem}.compValueHelpDialog .sapUiCompFilterBar.sapUiCompFilterBarPhone .sapMIBar.sapMTB.sapUiCompFilterBarToolbar{padding-left:0;padding-right:0}.compValueHelpDialog .sapUiCompFilterBarToolbar .sapMBarChild.sapMSF{max-width:unset}.compValueHelpDialog .sapUiCompFilterBarToolbar button.sapMBtn.sapMTBShrinkItem{flex-shrink:0}.compValueHelpDialog .sapUiCompFilterBar.compFilterBarTablet{padding-top:0.5rem}.sapUiCompFilterBar .sapUiCompSmartChartHeader{margin-right:0.5rem}.sapUiCompFilterBarItems{display:flex;align-items:flex-end;flex-wrap:wrap;gap:0 1rem}.sapUiCompFilterBarItem,.sapUiCompFilterBarItemSpacer,.sapUiCompFilterBarBasicSearch{flex:1 0 12rem;max-width:24rem;overflow:hidden}.sapUiCompFilterBarItem,.sapUiCompFilterBarBasicSearch,.sapUiCompFilterBarButtons{margin-top:0.5rem}.sapUiCompFilterBarBasicSearch,.sapUiCompFilterBarButtons{display:flex;align-items:flex-end;flex-wrap:wrap}.sapUiCompFilterBarButtons{justify-content:flex-end;margin-left:auto}.sapUiCompFilterBarOneLine .sapUiCompFilterBarItemSpacer{display:none}.sapUiCompFilterBarOneLine .sapUiCompFilterBarItem,.sapUiCompFilterBarOneLine .sapUiCompFilterBarButtons{margin-bottom:0}.sapUiCompFilterBarWithToolbar:not(.compVHSearch) .sapUiCompFilterBarItem{max-width:12rem}.compVHSearch .sapUiCompFilterBarItem,.compVHSearch .sapUiCompFilterBarBasicSearch,.compVHSearch .sapUiCompFilterBarButtons{margin-top:1rem}.sapUiCompFilterBarAdvancedItems{display:grid;gap:2.5rem 1.5rem}.sapUiCompFilterBarAdvancedGroup{overflow:hidden;padding-top:0.25rem;padding-left:0.1rem}.sapUiCompFilterBarAdvancedGroup .sapUiCompFilterBarItemEmptyDiv{display:none}.sapUiCompFilterBarAdvancedGroupHeader{color:#131e29;font-size:.875rem;margin:0 0.25rem 0.5rem;height:2.75rem;line-height:2.75rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sapUiSizeCompact .sapUiCompFilterBarAdvancedGroupHeader{height:2rem;line-height:2rem}.sapUiCompFilterBarAdvancedItem{display:grid;align-items:center}.sapUiCompFilterBarAdvancedItem .sapUiCompFilterLabel{white-space:pre-line;overflow:hidden;word-wrap:break-word;margin:0.5rem 0.25rem 0.125rem}.sapUiCompFilterBarAdvancedItem .sapMLabelNoText{visibility:hidden}.sapUiCompFilterBarTablet .sapUiCompFilterBarAdvancedItems{grid-template-columns:1fr 1fr}.sapUiCompFilterBarTablet .sapUiCompFilterBarAdvancedItem,.sapUiCompFilterBarDesktop .sapUiCompFilterBarAdvancedItem{grid-template-columns:33.33333333% 66.66666667%}.sapUiCompFilterBarTablet .sapUiCompFilterBarAdvancedItem .sapUiCompFilterLabel,.sapUiCompFilterBarDesktop .sapUiCompFilterBarAdvancedItem .sapUiCompFilterLabel{text-align:end !important;margin-top:0;margin-bottom:0;margin-right:0.5rem}.sapUiCompFilterBarTablet .sapUiCompFilterBarAdvancedItem>:last-child,.sapUiCompFilterBarDesktop .sapUiCompFilterBarAdvancedItem>:last-child{padding-left:0.5rem !important}.sapUiCompFilterBarDesktop .sapUiCompFilterBarAdvancedItems{grid-template-columns:1fr 1fr 1fr }.sapUiCompFilterBarDesktop .sapUiCompFilterBarAdvancedItemsTwoGroups{grid-template-columns:1fr 1fr}.sapMSFContentWrapperError>.sapMSFF{background:0 100% / 100% 0.125rem no-repeat linear-gradient(0deg, #e90b0b, #e90b0b) border-box;background-color:#ffeaf4;border:.125rem none #e90b0b}.sapMFocus.sapMSFContentWrapperError>.sapMSFF{border-color:#e90b0b}:not(.sapMSFDisabled) .sapMSFContentWrapperError>.sapMSFF:hover{border:.125rem none #e90b0b}:not(.sapMSFDisabled) .sapMSFContentWrapperError>.sapMSFF{box-shadow:inset 0 0 0 .0625rem rgba(255,142,196,0.45)}.sapUiCompSmartFullScreenDialog .sapMDialogScroll{height:100%}.sapUiCompGroupElementVBox{margin-bottom:1rem}.sapUiForm .sapUiCompGroupElementVBox .sapMLabel:after{content:\":\"}.sapUiForm .sapUiCompGroupElementHBoxPadding{padding-left:.5rem}.sapUiCompMultiCurrency .sapMCLI{padding:0 2px 0 2px;height:3rem}.sapUiSizeCompact .sapUiCompMultiCurrency .sapMCLI{height:2rem}.navpopoversmallheader .sapUiRLContainer .sapUiFormTitle{margin-bottom:0rem}.navpopoversmallheader .sapUiRLContainerCont{height:0rem}.navigationPopover .sapUiFormTitle,.mdcbaseinfoPanel .sapUiFormTitle{white-space:normal}.navigationPopover .navigationPopoverHeader,.mdcbaseinfoPanel .navigationPopoverHeader{padding-top:1rem;padding-bottom:0.5rem;padding-right:1rem;padding-left:1rem}.navigationPopoverTitleH1 .sapMLnk{font-size:1rem}.navigationPopoverTitleH1 .sapMLnkDsbl{opacity:1;color:#131e29}.navigationPopover .navigationPopoverThumbnail,.mdcbaseinfoPanel .navigationPopoverThumbnail{font-family:SAP-icons;font-size:2.5rem;font-weight:normal;width:3rem !important;height:3rem;margin-right:.75rem}.navigationPopover .navigationPopoverTitle,.mdcbaseinfoPanel .navigationPopoverTitle{font-size:1rem;font-weight:normal}.navigationPopover .navigationPopoverSubTitle,.mdcbaseinfoPanel .navigationPopoverSubTitle{color:#556b82}.navigationPopover .mdcbaseinfoPanelDefaultAdditionalContent .sapUiFormTitle,.mdcbaseinfoPanel .mdcbaseinfoPanelDefaultAdditionalContent .sapUiFormTitle{color:#131e29}.navigationPopover .navigationPopoverSeparator,.mdcbaseinfoPanel .navigationPopoverSeparator{border-bottom:1px solid;border-bottom-color:#d9d9d9;margin-left:1rem;margin-right:1rem}.navigationPopover .navigationPopoverAvailableLinks .sapUiFormResLayout.sapUiFormBackgrTranslucent>div,.mdcbaseinfoPanel .navigationPopoverAvailableLinks .sapUiFormResLayout.sapUiFormBackgrTranslucent>div{background-color:transparent}.navigationPopover .navigationPopoverAvailableLinks,.mdcbaseinfoPanel .navigationPopoverAvailableLinks{padding-top:0.5rem;padding-bottom:0.5rem;padding-right:1rem;padding-left:1rem}.navigationPopover .navigationPopoverAvailableLinks .sapMFlexItem,.mdcbaseinfoPanel .navigationPopoverAvailableLinks .sapMFlexItem{display:-webkit-box;display:flex}.navigationPopover .navigationPopoverAvailableLinkWithoutGroup,.mdcbaseinfoPanel .navigationPopoverAvailableLinkWithoutGroup{padding-top:0.375rem;padding-bottom:0.375rem}.navigationPopover .navigationPopoverAvailableLinkGroup,.mdcbaseinfoPanel .navigationPopoverAvailableLinkGroup{padding-top:0.625rem;padding-bottom:0.375rem}.navigationPopover .navigationPopoverAvailableLinkGroup .sapMLink,.mdcbaseinfoPanel .navigationPopoverAvailableLinkGroup .sapMLink{padding-bottom:0.125rem}.navigationPopover .navigationPopoverAvailableLinkGroup .sapMText,.mdcbaseinfoPanel .navigationPopoverAvailableLinkGroup .sapMText{color:#556b82}.navigationPopover .navigationPopoverPersonalizationButton,.mdcbaseinfoPanel .navigationPopoverPersonalizationButton{padding-top:0;padding-bottom:1rem;padding-right:1rem;padding-left:1rem}/*!* Overwrite overflow to 'scroll' - is relevant for phone mode *!*//*!* The height=100% is needed for VBox content container *!*/.sapUiCompSmartField{display:inline-block;vertical-align:top;width:100%}.sapUiTableCell>.sapUiCompSmartField,.sapMListTblCell>.sapUiCompUOMInTable .sapUiCompSmartField,.sapUiCompGroupElementVBox .sapUiCompSmartField{display:block}.sapMListTblCell>.sapUiCompUOMInTable .sapUiCompSmartField>.sapMText{display:inline-block}.sapUiCompSmartFieldUOMDisplayText{line-height:3rem}.sapUiSizeCompact .sapUiCompSmartFieldUOMDisplayText{line-height:2rem}.sapUiSizeCompact .sapMListTblCell>.sapUiCompSmartField>.sapMObjectIdentifier{margin:.5rem 0}.smartFieldPaddingRight{padding-right:0.5rem}.smartFieldUoMAmountDisplayText{min-width:2.5rem}.sapUiCompSmartFieldFlexItemAmountEdit{max-width:calc(100% - 5.3rem)}.sapUiSizeCompact .sapUiCompSmartFieldFlexItemAmountEdit{max-width:calc(100% - 5rem)}.sapUiCompSmartFieldFlexItemUnitEdit{width:5.3rem !important}.sapUiSizeCompact .sapUiCompSmartFieldFlexItemUnitEdit{width:5rem !important}.sapUiCompUOM.sapUiCompUOMInTableDisplay>div:nth-child(2){min-width:initial}.sapUiSizeCondensed .sapUiTableCell>.sapUiCompSmartField>.sapMText,.sapUiSizeCondensed .sapUiTableCell>.sapUiCompSmartField>.sapMLnk,.sapUiSizeCondensed .sapUiTableCell>.sapUiCompSmartField>.sapUiCompUOM{box-sizing:border-box;padding:0 0.5rem;line-height:1.5rem;vertical-align:middle}.sapMTB>.sapUiCompSmartField{width:auto !important}.sapUiFormEdit-CTX .sapUiCompSmartFieldUnit{min-width:5rem}.sapMSemanticPage .sapUiCompSmartForm .sapMBarChild.sapMLabel{font-style:normal}.sapUiCompSmartForm .sapMPanelContent{padding:0rem}.sapUiCompSmartForm .sapUiCompEmptyValue{float:left}.sapUiCompSmartForm .sapUiCompEmptyValue::after{content:\"\\2013\\a0\"}.sapUiCompSmartLink.sapMLnkDsbl{opacity:1;color:#131e29;text-decoration:none}.sapUiSizeCondensed .sapUiTableCell>.sapUiCompSmartLink>.sapMText,.sapUiSizeCondensed .sapUiTableCell>.sapUiCompSmartLink>.sapMLnk,.sapUiSizeCondensed .sapUiTableCell>.sapUiCompSmartLink>.sapUiCompUOM{box-sizing:border-box;padding:0 0.5rem;line-height:1.5rem;vertical-align:middle}html.sap-desktop .sapUiCompSmartLink.sapMLnk:hover:not(.sapMLnkDsbl) span,html.sap-desktop .sapUiCompSmartLink.sapMLnk:focus:not(.sapMLnkDsbl) span{text-decoration:underline}.mdcbaseinfoPanel .sapUiFormResGrid>div,.mdcbaseinfoPanel .sapUiFormResGridCont>div{padding-left:0;padding-right:0}.sapUiCompSmartMultiEditField{display:flex;flex-direction:column;width:100%;margin-bottom:1rem}.sapUiCompSmartMultiEditFieldSFWrapper{display:flex}.sapUiCompSmartMultiEditSmartField{display:block}.sapUiCompSmartMultiEditSmartFieldHidden{display:none}.sapUiCompSmartMultiEditSmartFieldDescription{font-family:\"72\",\"72full\",Arial,Helvetica,sans-serif;font-size:.75rem;font-weight:normal;font-style:italic;color:#131e29}.sapUiSizeCompact .sapUiCompSmartMultiEditField{margin-bottom:0.5rem}.sapUiCompSmartTable .sapUiCompSmartTableHeader{margin:0}.sapUiCompSmartTable .sapUiAnalyticalTableSum input{border:0;background:inherit;pointer-events:none}.sapUiCompSmartTable .sapUiTableGroupHeader input{border:0;background:inherit;pointer-events:none}.sapUiCompSmartTable .sapUiAnalyticalTableSum .sapMInputValHelpInner{display:none}.sapUiCompSmartTable .sapUiTableGroupHeader .sapMInputValHelpInner{display:none}.sapUiCompSmartTable .sapUiAnalyticalTableSum .sapMDP{display:none}.sapUiCompSmartTable .sapUiTableGroupHeader .sapMDP{display:none}.sapUiCompSmartTable .sapUiAnalyticalTableSum .sapUiCompCurrencyBold{font-weight:bold}.sapUiCompSmartTable:not(.sapUiSizeCondensed) .sapUiTable:not(.sapUiSizeCondensed) .sapUiCompCurrency,.sapUiCompSmartTable:not(.sapUiSizeCondensed) .sapUiTable:not(.sapUiSizeCondensed) .sapUiCompUoMPart{margin-top:2px}.sapUiSizeCondensed .sapUiCompSmartTable .sapUiTable .sapUiCompCurrency,.sapUiSizeCondensed .sapUiCompSmartTable .sapUiTable .sapUiCompUoMPart{margin-top:0 !important}.sapUiCompSmartTable .sapUiCompCurrencyTabNums{font-variant-numeric:tabular-nums}.sapUiCompSmartChart .sapUiCompSmartChartToolbar{width:100%}.sapUiCompSmartChart .sapUiCompChartSegmented .sapUiCompChartArrowDwn.sapMSegBBtn .sapUiIcon{font-size:0.875rem}.sapUiCompSmartChart .sapUiCompChartSegmented .sapMSegBBtn.sapMBtnTransparent{background-color:transparent}.sapUiCompSmartChart .sapUiCompChartSegmented .sapMSegBBtn.sapMBtnTransparent.sapMSegBBtnSel{background-color:#0064d9}.sapUiCompSmartChartDetailsPopover .sapUiCompSmartChartDetailsScrollContainer{height:auto;max-height:17rem}.sapUiCompSmartChart .sapUiCompSmartChartBreadcrumbs{padding-top:0.5rem;max-width:60%;width:auto;margin-left:1rem}.sapUiCompSmartChartInnerChartHeight>div:last-child{height:0}.sapUiCompSmartChart.sapMFlexBox .sapMIBar .sapUiCompVarMngmt.sapMBarChild{margin-left:0.5rem}.sapUiCompTransportDialog .compTransportPadding{padding-left:1rem;padding-right:1rem;padding-bottom:1rem;padding-top:1rem}.sapUiCompTransportDialog .compFieldMargin{margin-top:0.5rem}.sapUiSizeCompact .sapUiCompTransportDialog .compFieldMargin{margin-top:0.5rem}.compValueHelpDialog .sapMFlexItem{-ms-flex-negative:0}.compValueHelpDialog .sapMITBContent{padding:0rem;border-bottom:none}.compValueHelpDialog .sapMITBHead{margin-top:0rem}.sapMDialog.compValueHelpDialog .sapMITHWrapper{padding-left:2rem;padding-right:2rem}.compValueHelpDialog .sapUiTable .sapUiTableHdrTitle{font-size:1rem;font-weight:normal;color:#131e29}.compValueHelpDialog .sapUiTableHdr{padding-left:0}.compValueHelpDialog .compVHTokenizerPanelToolbar{border-bottom:none;padding-left:0 !important}.compValueHelpDialog .compVHTokenizerPanelToolbarTitle{margin-left:0 !important}.sapUiSizeCompact .compValueHelpDialog .compVHBackgroundTransparent .sapMPanelHdr,.sapUiSizeCompact.compValueHelpDialog .compVHBackgroundTransparent .sapMPanelHdr{font-size:1rem;color:#131e29}.compValueHelpDialog .compVHBackgroundTransparent .sapMPanelBG{background-color:Transparent;margin-left:3rem}.sapUiSizeCompact .compValueHelpDialog .compVHBackgroundTransparent .sapMPanelBG,.sapUiSizeCompact.compValueHelpDialog .compVHBackgroundTransparent .sapMPanelBG{margin-left:2rem}.compValueHelpDialog .sapMPanelContent:not(.sapMPanelBGTransparent){border-bottom-width:0px}.compValueHelpDialog .sapMFilterPanelContent .sapMPanel>.sapMPanelHdr{padding-left:1rem}.compValueHelpDialog .sapMPanel>.sapMPanelHdr{border-bottom:none}.compValueHelpDialog .compVHDBackground{padding-bottom:1rem}.compValueHelpDialog .compVHSelectedItemsText{font-size:16px;font-weight:normal;margin-top:1rem;margin-bottom:1rem;color:#131e29}.sapUiSizeCompact .compValueHelpDialog .compVHSelectedItemsText,.sapUiSizeCompact.compValueHelpDialog .compVHSelectedItemsText{font-size:.875rem;font-weight:normal;margin-top:0.5rem;margin-bottom:0.5rem}html.sap-desktop .compValueHelpDialog .compVHTokensDiv.sapMTokenizer:focus{outline-offset:-4px}.compValueHelpDialog .compVHTokensDiv{border-width:1px;border-color:#556b81;border-style:solid;border-radius:.25rem;padding-top:1px;padding-left:5px;padding-right:2px;margin-top:5px;margin-bottom:5px;min-height:2.25rem;display:block;box-sizing:border-box;margin-right:42px;overflow:hidden;background:#fff}.sapUiSizeCompact .compValueHelpDialog .compVHTokensDiv,.sapUiSizeCompact.compValueHelpDialog .compVHTokensDiv{padding-top:4px;min-height:32px;margin-right:2.5rem}.compValueHelpDialog .compVHTokenizerHLayout{position:relative;width:100%}.compValueHelpDialog .compVHTokenizerHLayout .sapUiHLayoutChildWrapper:first-child{width:100%}.compValueHelpDialog .compVHRemoveAllBtn{position:absolute;right:0px;top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%)}.compValueHelpDialog .sapUiTable{margin-bottom:1rem}.compValueHelpDialog .sapMTB{padding-left:0}.compValueHelpDialog .sapMIBar.sapMTB.sapMTBHeader-CTX{padding-left:0}.compValueHelpDialog .sapUiCompFilterBar .sapMPanel{margin-top:0.5rem}.compValueHelpDialog .sapUiCompFilterBar{background:#eff1f2;border-color:#a8b3bd;border-style:solid;background-color:rgba(239,241,242,0);margin-bottom:1rem}.compValueHelpDialog .sapUiCompFilterBarToolbar .sapMBarChild.sapMSF{min-width:10rem}.compValueHelpDialog .compVHSearch{border-color:#a8b3bd;border-style:solid;border-left-width:0rem;border-right-width:0rem;border-top-width:0rem;border-bottom-width:0rem;margin-bottom:0rem;margin-left:0rem;padding-left:2rem}.compValueHelpDialog .compVHSearch{padding-left:0;padding-right:0}.compValueHelpDialog .sapMConditionPanel .conditionRootGrid .sapUiRespGridVSpace0{margin-top:0.125rem}.compValueHelpDialog .compVHFilterBarPadding.sapUiCompFilterBarNonPhone.sapUiRespGrid.sapUiRespGridHSpace1{padding-bottom:1rem}.compValueHelpDialog .compVHColSearchVBox.sapMFlexBox,.compValueHelpDialog .sapMFlexBox.mainLayout{overflow-y:hidden}.compValueHelpDialog .compVHColSearch{padding-top:1rem;padding-right:1rem}.compValueHelpDialog .compVHColSearchText.compVHColSearchTextMaxWidth{max-width:20rem}.compValueHelpDialog .compVHColSearchText.compVHColSearchTextTabletMaxWidth{max-width:10rem}.sapUiSizeCompact .compValueHelpDialog .compVHColSearchText,.sapUiSizeCompact.compValueHelpDialog .compVHColSearchText{font-size:1rem;font-weight:normal;padding-top:0.4rem}.compValueHelpDialog .compVHColSearchText{font-size:1.25rem;font-weight:normal;padding-top:1rem;color:#0064d9}.compValueHelpDialog .compVHColSearchBtn{line-height:1.5rem;margin-right:1rem}.sapUiSizeCompact .compValueHelpDialog .compVHColSearchBtn,.sapUiSizeCompact.compValueHelpDialog .compVHColSearchBtn{line-height:1.5rem;margin-right:1rem}.sapUiSizeCompact .compValueHelpDialog .compVHColSearchBtn .sapMBtnInner,.sapUiSizeCompact.compValueHelpDialog .compVHColSearchBtn .sapMBtnInner{border-width:0px}.compValueHelpDialog .compVHColSearchBtn .sapMBtnInner{border-width:0px}.compVHTokensPanel.compValueHelpDialogTokens{padding-top:2px;padding-bottom:2px;border:none}.compValueHelpDialog .compValueHelpDialogTokens .sapMPanelContent{padding:0;border-bottom:0px;background-color:Transparent}.sapUiSizeCompact .compValueHelpDialog .sapMPanelHdr,.sapUiSizeCompact.compValueHelpDialog .sapMPanelHdr{font-size:1rem;font-weight:normal;color:#131e29}.compValueHelpDialog .sapUiCompFilterBar .sapMPanelHdr{height:0.5rem;border-bottom:0px}.compValueHelpDialog .sapMPanelHdr{padding-left:0;padding-right:0}.compValueHelpDialog .sapMDialogScrollCont{padding-top:0px;height:100%}.compValueHelpDialog .displayNone{display:none}.compValueHelpDialog .sapMPanelWrappingDiv{border-bottom:0px}.sapMFilterPanel .sapMPanelBG{background-color:Transparent}.compValueHelpDialog .sapUiCompFilterBar .sapMPanelContent{overflow:visible}.compValueHelpDialog .sapUiCompFilterBar .sapMPanel{overflow:visible}.compValueHelpDialog .sapUiCompFilterBar{border-color:#a8b3bd;border-style:solid;border-top-width:0px;border-left-width:0px;border-right-width:0px}.compValueHelpDialog .sapMFilterPanel{padding-bottom:1rem}.compValueHelpDialog .sapMFilterPanel .sapUiFormResGrid>div{padding-left:0;padding-right:0}.compValueHelpDialog .sapMFilterPanel .sapUiRespGrid.sapUiRespGridHSpace1{padding-left:0;padding-right:0}.compValueHelpDialog .sapMFilterPanel .sapUiFormResGridCont>div{padding-left:0;padding-right:0}.compValueHelpDialog .compVHAdvancedSearchLink{margin-left:1rem;margin-right:1rem;margin-top:1rem;margin-bottom:1rem}html.sap-phone .compValueHelpDialog .compVHDarkBackground{padding-left:0rem;padding-right:0.5rem}html.sap-phone .compValueHelpDialog .compVHDarkBackground .sapMPanelHdr{font-size:.875rem}html.sap-phone .compValueHelpDialog .compVHSelectedItemsText{font-size:.875rem}html.sap-phone .compValueHelpDialog .compVHSearch{background-color:transparent;margin-bottom:0rem;margin-top:0.5rem;padding-right:0rem}html.sap-phone .compValueHelpDialog .compVHColSearchText{margin-left:1rem}html.sap-phone .compValueHelpDialog .sapMFilterPanel{padding-left:0rem}html.sap-phone .compValueHelpDialog .sapMTokenizerScrollContainer{height:auto}html.sap-phone .compValueHelpDialog .compVHRemoveAllBtn{top:1.5rem}html.sap-phone .compValueHelpDialog .sapUiCompFilterBarToolbar .sapMBarChild.sapMSF{max-width:initial}html.sap-phone .compValueHelpDialog .sapUiCompFilterBar .sapUiFormResGridCont>div{padding-left:0rem}.compValueHelpDialog .sapMFlexBox{overflow-y:auto}.compValueHelpDialog .sapUiVHImageExpand{-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.compValueHelpDialog .sapUiCompFilterBarNonPhone.sapUiRespGrid.sapUiRespGridHSpace1{padding-right:1rem}.compValueHelpDialog.sapMDialog.sapMPopup-CTX>header .sapMHeader-CTX,.compValueHelpDialog.sapMDialog.sapMPopup-CTX>header .sapMSubHeader-CTX,.compValueHelpDialog.sapMDialog.sapMPopup-CTX>header.sapMHeader-CTX,.compValueHelpDialog.sapMDialog.sapMPopup-CTX>header.sapMHeader-CTX{background-color:#fff}.compValueHelpDialog.sapMDialog.sapMPopup-CTX>header .sapMHeader-CTX.compValueHelpDialogHeaderNoBoxShadow{box-shadow:unset}.compValueHelpSmallMarginTop{margin-top:0.5rem}.compValueHelpDialog .sapMPanelHeadingDiv .sapMPanelHdr{border:none}.sapUiCompValueListProviderTable .sapMListTblDummyCell{width:0 !important}.sapUiCompVarMngmt{display:inline-block;text-align:center}.sapUiCompVarMngmt .sapMTitle.sapUICompVarMngmtTitle{color:#0064d9}.sapUiCompVarMngmt .sapUiHLayout.sapUICompVarMngmtLayout .sapUiHLayoutChildWrapper:first-child{vertical-align:middle}.sapUiCompVarMngmt .sapUiHLayout.sapUICompVarMngmtLayout .sapUiHLayoutChildWrapper:first-child>div{vertical-align:middle}.sapUiCompVarMngmt .sapUiHLayout.sapUICompVarMngmtLayout .sapUiHLayoutChildWrapper:nth-child(2){vertical-align:top}.sapUiCompVarMngmt .sapUiHLayout.sapUICompVarMngmtLayout .sapUiHLayoutChildWrapper:nth-child(2)>span{vertical-align:top}.sapUiCompVarMngmt .sapUiHLayout.sapUICompVarMngmtLayout .sapUiHLayoutChildWrapper:last-child{vertical-align:middle}.sapUiCompVarMngmt .sapUiHLayout.sapUICompVarMngmtLayout .sapUiHLayoutChildWrapper:last-child>button{vertical-align:middle}.sapMFlexBox .sapMIBar .sapUiCompVarMngmt.sapMBarChild{margin-left:0.25rem}.sapUiCompVarMngmtSaveDialog .sapUiRespGrid.sapUiRespGridVSpace1>div{margin-bottom:0rem;margin:0rem}.sapUiCompVarMngmtSaveDialog .sapUiCompVarMngmtSaveDialogLabel.sapMLabel::after{content:\":\"}.sapUICompVarMngmtModified{color:#0064d9;font-weight:bold;padding-left:0.125rem;padding-right:0.125rem}.sapUICompVarMngmtTriggerBtnHover>span{background-image:none;border-color:#0064d9;background-color:#637d97;color:#0064d9}.sapUICompVarMngmtErrorPopover>div{padding-top:1rem}.sapUICompVarMngmtErrorPopover>div:last-child{padding-left:4rem;padding-right:4rem}.sapUiCompVarMngmt .sapUICompVarMngmtTextPhoneMaxWidth{max-width:5em}.sapUiCompVarMngmt .sapUICompVarMngmtTextMaxWidth{max-width:25rem}.sapUiCompVarMngmt .sapUICompVarMngmtClickable:hover{color:#0064d9;cursor:default}.sapUiCompVarMngmt .sapUICompVarMngmtClickable:active{color:#0064d9;cursor:pointer}.sapUiCompVarMngmt .sapUICompVarMngmtTriggerBtn{padding-left:0.125rem}.sapUiCompVarMngmt .sapUICompVarMngmtDisabled{opacity:0.5}.sapUICompVarMngmtPopover .sapMSelectList{border:0rem solid}.sapUICompVarMngmtFavColor{color:#5d36ff}.sapUICompVarMngmtFavNonInteractiveColor{color:#758ca4}.sapUICompVarMngmtFavNonInteractiveColor:hover{cursor:default}.sapUiCompVarMngmtRolesEdit{padding-left:0.5rem}.sapUiCompDateRangeType{padding:1rem}.sapUiCompFilterBarCTPaddingTop{margin-top:.2rem}.conditionAddBtnMarginTop{margin-top:1rem}.sapMP13nContainer .sapMITH.sapMITBInLine .sapMITBHead{padding-top:5px}.sapUiCompSmartTable .sapUiCompCurrencyMonoFont,.sapUiCompMultiCurrency .sapUiCompCurrencyMonoFont{font-family:\"72Mono\",\"72Monofull\",lucida console,monospace}.sapUiCompSmartTableToolbar,.sapUiCompSmartTable .sapMIBar.sapMTBHeader-CTX{border-top-right-radius:.75rem;border-top-left-radius:.75rem}.sapUiCompSmartChart{background:#fff;border-radius:.75rem;padding-bottom:1rem}.compVHContentContainer{background-color:#fff}html.sap-desktop .compValueHelpDialog .sapMIBar.sapMFooter-CTX{border-top:1px solid #d9d9d9}.sapUiCompFilterBar .sapMBtnBase.sapMBtn{padding:0 2px}.compVHMainTable .sapUiTableHdr{border-bottom:1px solid #a8b3bd}.compVHMainTable .sapUiTableCCnt{border-bottom:0}.compValueHelpDialog .compVHTokensDiv{border-top:0;border-left:0;border-right:0;box-shadow:inset 0 0 0 .0625rem rgba(85,107,129,0.25)}.compValueHelpDialog .compVHTokensDiv:focus{border-bottom:0}.compValueHelpDialog .compVHRemoveAllBtn{padding-right:2px}.compValueHelpDialog .compVHTokenizerHLayout{padding-left:3px}.sapUiCompFilterBar .sapMInputBase,.sapUiCompFilterBar .sapMSF{padding-left:0.125rem;padding-right:0.125rem}.sapUiCompFilterBarNonPhone .sapMIBar>.sapMBarChild:last-child{padding-right:0.125rem}.sapMTB.sapMTBStandard.sapUiCompFilterBarToolbar{border-bottom:none}.sapUiCompFilterBarNonPhone .sapUiCompFilterBarToolbar{padding-left:0}.sapMFocus.sapMSFContentWrapperError>.sapMSFF::before{border-color:#e90b0b !important}\n/* Inline theming parameters */\n#sap-ui-theme-sap\\.ui\\.comp{background-image:url('data:text/plain;utf-8,%7B%22_sap_ui_comp_SmartTable_ExportButton%22%3A%22Transparent%22%2C%22_sap_ui_comp_SmartTable_ToolbarDesign%22%3A%22Solid%22%2C%22_sap_ui_comp_SmartTable_HeaderStyle%22%3A%22H5%22%2C%22_sap_ui_comp_SmartChart_ToolbarDesign%22%3A%22Solid%22%7D')}\n" Copyright 2025, 2025, 2014, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.act\", [\"sap/ui/util/ActivityDetection\",\"jquery.sap.global\"],function(t,jQuery){\"use strict\";jQuery.sap.act=t;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.dom\", [\"jquery.sap.global\",\"sap/ui/dom/containsOrEquals\",\"sap/ui/core/syncStyleClass\",\"sap/ui/dom/getOwnerWindow\",\"sap/ui/dom/getScrollbarSize\",\"sap/ui/dom/denormalizeScrollLeftRTL\",\"sap/ui/dom/denormalizeScrollBeginRTL\",\"sap/ui/dom/units/Rem\",\"sap/ui/dom/jquery/Aria\",\"sap/ui/dom/jquery/Selection\",\"sap/ui/dom/jquery/zIndex\",\"sap/ui/dom/jquery/parentByAttribute\",\"sap/ui/dom/jquery/cursorPos\",\"sap/ui/dom/jquery/selectText\",\"sap/ui/dom/jquery/getSelectedText\",\"sap/ui/dom/jquery/rect\",\"sap/ui/dom/jquery/rectContains\",\"sap/ui/dom/jquery/Focusable\",\"sap/ui/dom/jquery/hasTabIndex\",\"sap/ui/dom/jquery/scrollLeftRTL\",\"sap/ui/dom/jquery/scrollRightRTL\",\"sap/ui/dom/jquery/Selectors\"],function(jQuery,e,r,o,u,s,t,a){\"use strict\";jQuery.sap.domById=function e(r,o){return r?(o||window).document.getElementById(r):null};jQuery.sap.byId=function e(r,o){var u=\"\";if(r){u=\"#\"+r.replace(/(:|\\.)/g,\"\\\\$1\")}return jQuery(u,o)};jQuery.sap.focus=function e(r){if(!r){return}r.focus();return true};jQuery.sap.pxToRem=a.fromPx;jQuery.sap.remToPx=a.toPx;jQuery.fn.outerHTML=function(){var e=this.get(0);if(e&&e.outerHTML){return e.outerHTML.trim()}else{var r=this[0]?this[0].ownerDocument:document;var o=r.createElement(\"div\");o.appendChild(e.cloneNode(true));return o.innerHTML}};jQuery.sap.containsOrEquals=e;jQuery.sap.denormalizeScrollLeftRTL=s;jQuery.sap.denormalizeScrollBeginRTL=t;\n/*\n\t * The following implementation of jQuery.support.selectstart is taken from jQuery UI core but modified.\n\t *\n\t * jQuery UI Core\n\t * http://jqueryui.com\n\t *\n\t * Copyright jQuery Foundation and other contributors\n\t * Released under the MIT license.\n\t * http://jquery.org/license\n\t *\n\t * http://api.jqueryui.com/category/ui-core/\n\t */jQuery.support.selectstart=\"onselectstart\"in document.createElement(\"div\");jQuery.sap.ownerWindow=o;jQuery.sap.scrollbarSize=u;jQuery.sap.syncStyleClass=r;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.encoder\", [\"jquery.sap.global\",\"sap/base/security/encodeXML\",\"sap/base/security/encodeJS\",\"sap/base/security/encodeURL\",\"sap/base/security/encodeURLParameters\",\"sap/base/security/encodeCSS\",\"sap/base/security/URLListValidator\",\"sap/base/security/URLWhitelist\",\"sap/base/security/sanitizeHTML\"],function(jQuery,e,s,a,t,i,r,c,p){\"use strict\";jQuery.sap.encodeHTML=e;jQuery.sap.encodeXML=e;jQuery.sap.escapeHTML=e;jQuery.sap.encodeJS=s;jQuery.sap.escapeJS=s;jQuery.sap.encodeURL=a;jQuery.sap.encodeURLParameters=t;jQuery.sap.encodeCSS=i;jQuery.sap.clearUrlWhitelist=r.clear;jQuery.sap.addUrlWhitelist=r.add.bind(c);jQuery.sap.removeUrlWhitelist=function(e){r._delete(r.entries()[e])};jQuery.sap.getUrlWhitelist=r.entries;jQuery.sap.validateUrl=r.validate;jQuery.sap._sanitizeHTML=p;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.events\", [\"jquery.sap.global\",\"sap/ui/events/ControlEvents\",\"sap/ui/events/PseudoEvents\",\"sap/ui/events/checkMouseEnterOrLeave\",\"sap/ui/events/isSpecialKey\",\"sap/ui/events/isMouseEventDelayed\",\"sap/ui/events/F6Navigation\",\"sap/ui/events/jquery/EventSimulation\",\"sap/ui/events/KeyCodes\",\"sap/base/util/defineCoupledProperty\",\"sap/ui/events/jquery/EventExtension\"],function(jQuery,e,n,s,a,t,u,i,o,r){\"use strict\";jQuery.sap.PseudoEvents=n.events;jQuery.sap.ControlEvents=e.events;jQuery.sap.disableTouchToMouseHandling=i.disableTouchToMouseHandling;r(jQuery.sap,\"touchEventMode\",i,\"touchEventMode\");jQuery.sap.bindAnyEvent=e.bindAnyEvent;jQuery.sap.unbindAnyEvent=e.unbindAnyEvent;jQuery.sap.checkMouseEnterOrLeave=s;jQuery.sap.isSpecialKey=function(e){if(e.key){return a(e)}function n(e){var n=e.which;return n===o.SHIFT||n===o.CONTROL||n===o.ALT||n===o.CAPS_LOCK||n===o.NUM_LOCK}function s(e){var n=e.which,s=n>=37&&n<=40;switch(e.type){case\"keydown\":case\"keyup\":return s;case\"keypress\":return n===0;default:return false}}var t=e.which,u=n(e)||s(e)||t>=33&&t<=36||t>=44&&t<=46||t>=112&&t<=123||t===o.BREAK||t===o.BACKSPACE||t===o.TAB||t===o.ENTER||t===o.ESCAPE||t===o.SCROLL_LOCK;switch(e.type){case\"keydown\":case\"keyup\":return u;case\"keypress\":return t===0||t===o.BACKSPACE||t===o.ESCAPE||t===o.ENTER||false;default:return false}};jQuery.sap.handleF6GroupNavigation=function(e,n){if(!e.key&&e.keyCode===o.F6){e.key=\"F6\"}return u.handleF6GroupNavigation(e,n)};jQuery.sap._FASTNAVIGATIONKEY=u.fastNavigationKey;jQuery.sap._refreshMouseEventDelayedFlag=function(e){jQuery.sap.isMouseEventDelayed=t.apply(this,arguments)};jQuery.sap._refreshMouseEventDelayedFlag(navigator);return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.history\", [\"jquery.sap.global\",\"sap/base/Log\",\"sap/base/util/uid\",\"sap/base/strings/escapeRegExp\"],function(jQuery,e,t,r){\"use strict\";(function(i){var n=\"_skip\",a=/\\|id-[0-9]+-[0-9]+/,o=new RegExp(n+\"[0-9]*$\"),s=[],f=[],u={},h=0,l,c=\"|\",p=[],y=false,d,g=false;jQuery.sap.history=function(e){if(!jQuery.isPlainObject(e)){return}if(!g){var t=jQuery(i),r=i.location.href.split(\"#\")[1]||\"\";t.on(\"hashchange\",k);if(Array.isArray(e.routes)){var n,a;for(n=0;n<e.routes.length;n++){a=e.routes[n];if(a.path&&a.handler){jQuery.sap.history.addRoute(a.path,a.handler)}}}if(typeof e.defaultHandler===\"function\"){d=e.defaultHandler}f.push(r);if(r.length>1){t.trigger(\"hashchange\",[true])}else{l=r}g=true}};jQuery.sap.history.addHistory=function(e,t,r,n){var a,o;if(r===undefined){r=true}if(!n){o=O(e,t);a=T(o);if(a){o+=c+a}o+=c+(r?\"1\":\"0\")}else{o=x(l)}p.push(o);u[o]=true;i.location.hash=o;return o};jQuery.sap.history.addVirtualHistory=function(){jQuery.sap.history.addHistory(\"\",undefined,false,true)};jQuery.sap.history.addRoute=function(e,t,r){if(r){t=jQuery.proxy(t,r)}var i={};i.sIdentifier=e;i[\"action\"]=t;s.push(i);return this};jQuery.sap.history.setDefaultHandler=function(e){d=e};jQuery.sap.history.getDefaultHandler=function(){return d};jQuery.sap.history.backToHash=function(t){t=t||\"\";var r;if(f.length===1){if(typeof d===\"function\"){d()}}else{r=v(l,t);if(r<0){i.history.go(r)}else{e.error(\"jQuery.sap.history.backToHash: \"+t+\"is not in the history stack or it's after the current hash\")}}};jQuery.sap.history.backThroughPath=function(t){t=t||\"\";t=i.encodeURIComponent(t);var r;if(f.length===1){if(typeof d===\"function\"){d()}}else{r=v(l,t,true);if(r<0){i.history.go(r)}else{e.error(\"jQuery.sap.history.backThroughPath: there's no history state which has the \"+t+\" identifier in the history stack before the current hash\")}}};jQuery.sap.history.back=function(e){if(f.length===1){if(typeof d===\"function\"){d(jQuery.sap.history.NavType.Back)}}else{if(!e){e=1}i.history.go(-1*e)}};jQuery.sap.history.NavType={Back:\"_back\",Forward:\"_forward\",Bookmark:\"_bookmark\",Unknown:\"_unknown\"};function v(e,t,r){var i=f.indexOf(e),n,a,o;if(i>0){if(r){for(a=i-1;a>=0;a--){o=f[a];if(o.indexOf(t)===0&&!I(o)){return a-i}}}else{n=f.indexOf(t);if(n===-1&&t.length===0){return-1*i}if(n>-1&&n<i){return n-i}}}return 0}function k(e,t){var r=i.location.href.split(\"#\")[1]||\"\";r=b(r);if(t||!u[r]){p.push(r)}if(!y){y=true;if(p.length>0){var n=p.shift();if(u[n]){m(n);delete u[n]}else{H(n)}l=n}y=false}}function b(e,t){var r=e,i=e?e.indexOf(\"#\"):-1;if(i===0){r=r.slice(i+1)}if(t){r=r.replace(a,\"\")}return r}function x(e){var t=e?e:\"\";if(I(t)){var r=t.lastIndexOf(n);t=t.slice(0,r)}return t+n+h++}function O(e,t){var r=encodeURIComponent(e);var i=encodeURIComponent(JSON.stringify(t));return r+c+i}function T(e){var r=f.indexOf(l),i,n;if(r>-1){for(i=0;i<r+1;i++){n=f[i];if(n.slice(0,n.length-2)===e){return t()}}}return\"\"}function m(e){var t=f.indexOf(l);if(!(t===-1||t===f.length-1)){f.splice(t+1,f.length-1-t)}f.push(e)}function I(e){return o.test(e)}function B(e,t){var r=f.indexOf(e),i;if(r!==-1){if(t){for(i=r;i<f.length;i++){if(!I(f[i])){return i-r}}}else{for(i=r;i>=0;i--){if(!I(f[i])){return i-r}}return-1*(r+1)}}}function H(t){var a,o,s,u,h;if(l===undefined){s=R(t);if(!s||!s.bBookmarkable){if(typeof d===\"function\"){d(jQuery.sap.history.NavType.Bookmark)}return}}if(t.length===0){if(typeof d===\"function\"){d(jQuery.sap.history.NavType.Back)}}else{u=f.indexOf(t);if(u===0){s=R(t);if(!s||!s.bBookmarkable){if(typeof d===\"function\"){d(jQuery.sap.history.NavType.Back)}return}}if(I(t)){if(I(l)){o=B(t,false);i.history.go(o)}else{var c=new RegExp(r(l+n)+\"[0-9]*$\");if(c.test(t)){o=B(t,true);if(o){i.history.go(o)}else{i.history.back()}}else{o=B(t,false);i.history.go(o)}}}else{if(u===-1){h=jQuery.sap.history.NavType.Unknown;f.push(t)}else{if(f.indexOf(l,u+1)===-1){h=jQuery.sap.history.NavType.Forward}else{h=jQuery.sap.history.NavType.Back}}s=R(t);if(s){a=N(s.sIdentifier);if(a){a.action.apply(null,[s.oStateData,h])}}else{e.error(\"hash format error! The current Hash: \"+t)}}}}function N(e){var t;for(t=0;t<s.length;t++){if(s[t].sIdentifier===e){return s[t]}}}function R(e){if(I(e)){var t=e.lastIndexOf(n);e=e.slice(0,t)}var r=e.split(c),a={};if(r.length===4||r.length===3){a.sIdentifier=i.decodeURIComponent(r[0]);a.oStateData=JSON.parse(i.decodeURIComponent(r[1]));if(r.length===4){a.uid=r[2]}a.bBookmarkable=r[r.length-1]===\"0\"?false:true;return a}else{return null}}})(this);return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.keycodes\", [\"jquery.sap.global\",\"sap/ui/events/KeyCodes\"],function(jQuery,e){\"use strict\";jQuery.sap.KeyCodes=e;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.mobile\", [\"jquery.sap.global\",\"sap/ui/util/Mobile\",\"sap/ui/Device\"],function(jQuery,e,s){\"use strict\";function t(e,s){var t=Object.getOwnPropertyDescriptor(e,s);return t&&t.value}(function(){jQuery.os=jQuery.extend({os:s.os.name,version:s.os.versionStr,fVersion:s.os.version},t(jQuery,\"os\"));jQuery.os[s.os.name]=true;jQuery.device=jQuery.extend({},t(jQuery,\"device\"));jQuery.device.is=jQuery.extend({standalone:window.navigator.standalone,landscape:s.orientation.landscape,portrait:s.orientation.portrait,iphone:s.os.ios&&s.system.phone,ipad:s.os.ios&&s.system.tablet,android_phone:s.system.phone&&s.os.android,android_tablet:s.system.tablet&&s.os.android,tablet:s.system.tablet,phone:s.system.phone,desktop:s.system.desktop},jQuery.device.is)})();jQuery.sap.initMobile=e.init;jQuery.sap.setIcons=e.setIcons;jQuery.sap.setMobileWebAppCapable=e.setWebAppCapable;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.promise\", [],function(){\"use strict\"});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.properties\", [\"jquery.sap.global\",\"sap/base/util/Properties\"],function(jQuery,e){\"use strict\";jQuery.sap.properties=e.create;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.resources\", [\"sap/base/i18n/ResourceBundle\",\"jquery.sap.global\"],function(e,jQuery){\"use strict\";jQuery.sap.resources=function(){return e.create.apply(e,arguments)};jQuery.sap.resources.isBundle=function(s){return s instanceof e};jQuery.sap.resources._getFallbackLocales=e._getFallbackLocales;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.script\", [\"jquery.sap.global\",\"sap/base/util/uid\",\"sap/base/strings/hash\",\"sap/base/util/array/uniqueSort\",\"sap/base/util/deepEqual\",\"sap/base/util/each\",\"sap/base/util/array/diff\",\"sap/base/util/JSTokenizer\",\"sap/base/util/merge\",\"sap/base/util/UriParameters\"],function(jQuery,e,r,a,t,n,o,i,s,l){\"use strict\";jQuery.sap.uid=e;jQuery.sap.hashCode=r;jQuery.sap.unique=a;jQuery.sap.equal=t;jQuery.sap.each=n;jQuery.sap.arraySymbolDiff=o;jQuery.sap._createJSTokenizer=function(){return new i};jQuery.sap.parseJS=i.parseJS;jQuery.sap.extend=function(){var e=arguments,r=false;if(typeof arguments[0]===\"boolean\"){r=arguments[0];e=Array.prototype.slice.call(arguments,1)}if(r){return s.apply(this,e)}else{\n/*\n\t\t\t * The code in this function is taken from jQuery 3.6.0 \"jQuery.extend\" and got modified.\n\t\t\t *\n\t\t\t * jQuery JavaScript Library v3.6.0\n\t\t\t * https://jquery.com/\n\t\t\t *\n\t\t\t * Copyright OpenJS Foundation and other contributors\n\t\t\t * Released under the MIT license\n\t\t\t * https://jquery.org/license\n\t\t\t */\nvar a,t,n,o=arguments[0]||{},i=1,l=arguments.length;if(typeof o!==\"object\"&&typeof o!==\"function\"){o={}}for(;i<l;i++){n=arguments[i];for(t in n){a=n[t];if(t===\"__proto__\"||o===a){continue}o[t]=a}}return o}};jQuery.sap.getUriParameters=function e(r){return l.fromURL(r||window.location.href)};jQuery.sap.delayedCall=function e(r,a,t,n){return setTimeout(function(){if(typeof t===\"string\"){t=a[t]}t.apply(a,n||[])},r)};jQuery.sap.clearDelayedCall=function e(r){clearTimeout(r);return this};jQuery.sap.intervalCall=function e(r,a,t,n){return setInterval(function(){if(typeof t===\"string\"){t=a[t]}t.apply(a,n||[])},r)};jQuery.sap.clearIntervalCall=function e(r){clearInterval(r);return this};jQuery.sap.forIn=n;jQuery.sap.arrayDiff=function(e,r,a,n){a=a||function(e,r){return t(e,r)};var o=[];var i=[];var s=[];for(var l=0;l<r.length;l++){var f=r[l];var p=0;var u;if(n&&a(e[l],f)){p=1;u=l}else{for(var d=0;d<e.length;d++){if(a(e[d],f)){p++;u=d;if(n||p>1){break}}}}if(p==1){var w={oldIndex:u,newIndex:l};if(s[u]){delete o[u];delete i[s[u].newIndex]}else{i[l]={data:r[l],row:u};o[u]={data:e[u],row:l};s[u]=w}}}for(var l=0;l<r.length-1;l++){if(i[l]&&!i[l+1]&&i[l].row+1<e.length&&!o[i[l].row+1]&&a(e[i[l].row+1],r[l+1])){i[l+1]={data:r[l+1],row:i[l].row+1};o[i[l].row+1]={data:o[i[l].row+1],row:l+1}}}for(var l=r.length-1;l>0;l--){if(i[l]&&!i[l-1]&&i[l].row>0&&!o[i[l].row-1]&&a(e[i[l].row-1],r[l-1])){i[l-1]={data:r[l-1],row:i[l].row-1};o[i[l].row-1]={data:o[i[l].row-1],row:l-1}}}var c=[];if(r.length==0){for(var l=0;l<e.length;l++){c.push({index:0,type:\"delete\"})}}else{var h=0;if(!o[0]){for(var l=0;l<e.length&&!o[l];l++){c.push({index:0,type:\"delete\"});h=l+1}}for(var l=0;l<r.length;l++){if(!i[l]||i[l].row>h){c.push({index:l,type:\"insert\"})}else{h=i[l].row+1;for(var d=i[l].row+1;d<e.length&&(!o[d]||o[d].row<l);d++){c.push({index:l+1,type:\"delete\"});h=d+1}}}}return c};return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.sjax\", [\"jquery.sap.global\"],function(jQuery){\"use strict\";jQuery.sap.sjaxSettings={complexResult:true,fallback:undefined};jQuery.sap.sjax=function t(s){var a;var e=jQuery.extend(true,{},jQuery.sap.sjaxSettings,s,{async:false,success:function(t,s,e){a={success:true,data:t,status:s,statusCode:e&&e.status}},error:function(t,s,e){a={success:false,data:undefined,status:s,error:e,statusCode:t.status,errorResponse:t.responseText}}});jQuery.ajax(e);if(!e.complexResult){return a.success?a.data:e.fallback}return a};jQuery.sap.syncHead=function(t){return jQuery.sap.sjax({type:\"HEAD\",url:t}).success};jQuery.sap.syncGet=function t(s,a,e){return jQuery.sap.sjax({url:s,data:a,type:\"GET\",dataType:e||\"text\"})};jQuery.sap.syncPost=function t(s,a,e){return jQuery.sap.sjax({url:s,data:a,type:\"POST\",dataType:e||\"text\"})};jQuery.sap.syncGetText=function t(s,a,e){return jQuery.sap.sjax({url:s,data:a,type:\"GET\",dataType:\"text\",fallback:e,complexResult:arguments.length<3})};jQuery.sap.syncGetJSON=function t(s,a,e){return jQuery.sap.sjax({url:s,data:a||null,type:\"GET\",dataType:\"json\",fallback:e,complexResult:arguments.length<3})};return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.storage\", [\"jquery.sap.global\",\"sap/base/assert\",\"sap/ui/util/Storage\"],function(jQuery,e,t){\"use strict\";var s={};jQuery.sap.storage=function(a,r){if(!a){a=t.Type.session}if(typeof a===\"string\"&&t.Type[a]){var i=a;if(r&&r!=\"state.key_\"){i=a+\"_\"+r}if(!s[i]){s[i]=new t(a,r)}return s[i]}e(a instanceof Object&&a.clear&&a.setItem&&a.getItem&&a.removeItem,\"storage: duck typing the storage\");return new t(a,r)};jQuery.sap.storage.Storage=t;jQuery.sap.storage.Type=t.Type;Object.assign(jQuery.sap.storage,t);return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.strings\", [\"jquery.sap.global\",\"sap/base/strings/capitalize\",\"sap/base/strings/camelize\",\"sap/base/strings/hyphenate\",\"sap/base/strings/escapeRegExp\",\"sap/base/strings/formatMessage\"],function(jQuery,t,s,e,r,a){\"use strict\";jQuery.sap.endsWith=function(t,s){if(typeof s!=\"string\"||s==\"\"){return false}return t.endsWith(s)};jQuery.sap.endsWithIgnoreCase=function(t,s){if(typeof s!=\"string\"||s==\"\"){return false}t=t.toUpperCase();s=s.toUpperCase();return t.endsWith(s)};jQuery.sap.startsWith=function(t,s){if(typeof s!=\"string\"||s==\"\"){return false}return t.startsWith(s)};jQuery.sap.startsWithIgnoreCase=function(t,s){if(typeof s!=\"string\"||s==\"\"){return false}t=t.toUpperCase();s=s.toUpperCase();return t.startsWith(s)};jQuery.sap.charToUpperCase=function(s,e){if(!s){return s}if(!e||isNaN(e)||e<=0||e>=s.length){return t(s)}var r=s.charAt(e).toUpperCase();if(e>0){return s.substring(0,e)+r+s.substring(e+1)}return r+s.substring(e+1)};jQuery.sap.padLeft=function(t,s,e){jQuery.sap.assert(typeof s===\"string\"&&s,\"padLeft: sPadChar must be a non-empty string\");if(!t){t=\"\"}if(s&&s.length===1){return t.padStart(e,s)}while(t.length<e){t=s+t}return t};jQuery.sap.padRight=function(t,s,e){jQuery.sap.assert(typeof s===\"string\"&&s,\"padRight: sPadChar must be a non-empty string\");if(!t){t=\"\"}if(s&&s.length===1){return t.padEnd(e,s)}while(t.length<e){t=t+s}return t};jQuery.sap.camelCase=s;jQuery.sap.hyphen=e;jQuery.sap.escapeRegExp=r;jQuery.sap.formatMessage=a;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.trace\", [\"jquery.sap.global\",\"sap/ui/performance/trace/Passport\",\"sap/ui/performance/trace/Interaction\",\"sap/ui/performance/trace/FESR\",\"sap/base/Log\",\"sap/base/config\",\"sap/ui/Global\"],function(jQuery,t,e,a,n,r){\"use strict\";function i(){if(!(performance&&performance.getEntries)){n.warning(\"Interaction tracking is not supported on browsers with insufficient performance API\")}}jQuery.sap.interaction={};jQuery.sap.interaction.setActive=function(t){i();return e.setActive.apply(this,arguments)};jQuery.sap.interaction.getActive=()=>e.getActive();jQuery.sap.interaction.notifyStepStart=(t,a,n)=>{e.notifyStepStart(t,a,n)};jQuery.sap.interaction.notifyStepEnd=()=>{e.notifyStepEnd()};jQuery.sap.interaction.notifyEventStart=t=>{e.notifyEventStart(t)};jQuery.sap.interaction.notifyScrollEvent=t=>{e.notifyScrollEvent(t)};jQuery.sap.interaction.notifyEventEnd=()=>{e.notifyEventEnd()};jQuery.sap.interaction.setStepComponent=()=>{e.setStepComponent()};jQuery.sap.fesr={};jQuery.sap.fesr.setActive=function(t){i();return a.setActive.apply(this,arguments)};jQuery.sap.fesr.getActive=()=>a.getActive();jQuery.sap.fesr.getCurrentTransactionId=()=>t.getTransactionId();jQuery.sap.fesr.getRootId=()=>t.getRootId();jQuery.sap.fesr.addBusyDuration=t=>{e.addBusyDuration(t)};jQuery.sap.passport={};jQuery.sap.passport.setActive=t.setActive;jQuery.sap.passport.traceFlags=t.traceFlags;a.setActive(r.get({name:\"sapUiFesr\",type:r.Type.Boolean,external:true,freeze:true}));if(r.get({name:\"sapUiXxE2eTrace\",type:r.Type.Boolean,external:true,freeze:true})){sap.ui.requireSync(\"sap/ui/core/support/trace/E2eTraceLib\")}return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.ui\", [\"jquery.sap.global\",\"sap/base/util/ObjectPath\",\"sap/ui/core/UIArea\",\"sap/ui/dom/jquery/control\"],function(jQuery,t,e){\"use strict\";function i(t){return t.getUIArea().getInterface()}function r(){return e.registry.get(this.id)!=null}function n(){return e.registry.get(this.id).getInterface()}jQuery.fn.root=function(t){if(t){sap.ui.getCore().setRoot(this.get(0),t);return this}var r=this.control();if(r.length>0){return r.map(i)}var n=this.uiarea();if(n.length>0){return n}this.each(function(){e.create(this)});return this};jQuery.fn.uiarea=function(t){var e=this.slice(\"[id]\").filter(r).map(n).get();return typeof t===\"number\"?e[t]:e};jQuery.fn.sapui=function(e,i,r){return this.each(function(){var n=null;if(this){if(e.indexOf(\".\")==-1){e=\"sap.ui.commons.\"+e}var s=t.get(e);if(s){if(typeof r==\"object\"&&typeof r.press==\"function\"){r.press=jQuery.proxy(r.press,this)}n=new s(i,r);n.placeAt(this)}}})};return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.xml\", [\"jquery.sap.global\",\"sap/ui/util/XMLHelper\"],function(jQuery,e){\"use strict\";jQuery.sap.parseXML=e.parse;jQuery.sap.serializeXML=function(r){var a=\"\";if(window.ActiveXObject){a=r.xml;if(a){return a}}if(window.XMLSerializer){return e.serialize(r)}return a};jQuery.sap.isEqualNode=function(e,r){if(e===r){return true}if(!e||!r){return false}if(e.isEqualNode){return e.isEqualNode(r)}if(e.nodeType!=r.nodeType){return false}if(e.nodeValue!=r.nodeValue){return false}if(e.baseName!=r.baseName){return false}if(e.nodeName!=r.nodeName){return false}if(e.nameSpaceURI!=r.nameSpaceURI){return false}if(e.prefix!=r.prefix){return false}if(e.nodeType!=1){return true}if(e.attributes.length!=r.attributes.length){return false}for(var a=0;a<e.attributes.length;a++){if(!jQuery.sap.isEqualNode(e.attributes[a],r.attributes[a])){return false}}if(e.childNodes.length!=r.childNodes.length){return false}for(var a=0;a<e.childNodes.length;a++){if(!jQuery.sap.isEqualNode(e.childNodes[a],r.childNodes[a])){return false}}return true};jQuery.sap.getParseError=e.getParseError;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/security/URLListValidator\", [],function(){\"use strict\";var e=/^(?:([^:\\/?#]+):)?((?:[\\/\\\\]{2,}((?:\\[[^\\]]+\\]|[^\\/?#:]+))(?::([0-9]+))?)?([^?#]*))(?:\\?([^#]*))?(?:#(.*))?$/;var t=/^([a-z0-9-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*$/i;var a=/^([a-z0-9-._~!$&'()*+,;=:@\\/?]|%[0-9a-f]{2})*$/i;var r=a;var f=/^([a-z0-9!$'*+:^_`{|}~-]|%[0-9a-f]{2})+(?:\\.([a-z0-9!$'*+:^_`{|}~-]|%[0-9a-f]{2})+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i;var s=/^([0-9]{1,3}\\.){3}[0-9]{1,3}$/;var i=/^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$/;var n=/^\\[[^\\]]+\\]$/;var u=/^\\[(((([0-9a-f]{1,4}:){6}|(::([0-9a-f]{1,4}:){5})|(([0-9a-f]{1,4})?::([0-9a-f]{1,4}:){4})|((([0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::([0-9a-f]{1,4}:){3})|((([0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::([0-9a-f]{1,4}:){2})|((([0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:)|((([0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::))(([0-9a-f]{1,4}:[0-9a-f]{1,4})|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])))|((([0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4})|((([0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::))\\]$/i;var l=/^([a-z0-9]([a-z0-9\\-]*[a-z0-9])?\\.)*[a-z0-9]([a-z0-9\\-]*[a-z0-9])?$/i;var p=/^((?:ftp|https?|wss?):)([\\s\\S]+)$/;var o=/[\\u0009\\u000A\\u000D]/;var v={};v._createEntry=function(e,t,a,r){return new h(e,t,a,r)};function h(e,t,a,r){Object.defineProperties(this,{protocol:{value:e&&e.toUpperCase(),enumerable:true},host:{value:t&&t.toUpperCase(),enumerable:true},port:{value:a,enumerable:true},path:{value:r,enumerable:true}})}var c=[];v.clear=function(){c=[]};v.add=function(e,t,a,r){var f=this._createEntry(e,t,a,r);c.push(f)};v._delete=function(e){c.splice(c.indexOf(e),1)};v.entries=function(){return c.slice()};v.validate=function(v){if(typeof v===\"string\"){if(o.test(v)){return false}}var h=p.exec(v);if(h&&!/^[\\/\\\\]{2}/.test(h[2])){v=h[1]+\"//\"+h[2]}h=e.exec(v);if(!h){return false}var $=h[1],g=h[2],z=h[3],_=h[4],x=h[5],R=h[6],d=h[7];if($){$=$.toUpperCase();if(c.length<=0){if(!/^(https?|ftp)/i.test($)){return false}}}if(z){if(s.test(z)){if(!i.test(z)){return false}}else if(n.test(z)){if(!u.test(z)){return false}}else if(!l.test(z)){return false}z=z.toUpperCase()}if(x){if($===\"MAILTO\"){var b=g.split(\",\");for(var m=0;m<b.length;m++){if(!f.test(b[m])){return false}}}else{var C=x.split(\"/\");for(var m=0;m<C.length;m++){if(!t.test(C[m])){return false}}}}if(R){if(!a.test(R)){return false}}if(d){if(!r.test(d)){return false}}if(c.length>0){var E=false;for(var m=0;m<c.length;m++){if(!$||!c[m].protocol||$==c[m].protocol){var U=false;if(z&&c[m].host&&/^\\*/.test(c[m].host)){if(!c[m]._hostRegexp){var y=c[m].host.slice(1).replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,\"\\\\$&\");c[m]._hostRegexp=RegExp(y+\"$\")}var O=c[m]._hostRegexp;if(O.test(z)){U=true}}else if(!z||!c[m].host||z==c[m].host){U=true}if(U){if(!z&&!_||!c[m].port||_==c[m].port){if(c[m].path&&/\\*$/.test(c[m].path)){if(!c[m]._pathRegexp){var w=c[m].path.slice(0,-1).replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,\"\\\\$&\");c[m]._pathRegexp=RegExp(\"^\"+w)}var O=c[m]._pathRegexp;if(O.test(x)){E=true}}else if(!c[m].path||x==c[m].path){E=true}}}}if(E){break}}if(!E){return false}}return true};return v});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/security/URLWhitelist\", [\"sap/base/security/URLListValidator\"],function(e){\"use strict\";return{add:e.add,delete:e._delete,clear:e.clear,entries:e.entries,validate:e.validate,_createEntry:function(e,t,a,r){return{protocol:e&&e.toUpperCase(),host:t&&t.toUpperCase(),port:a,path:r}}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/security/encodeJS\", [\"sap/base/strings/toHex\"],function(r){\"use strict\";var e=/[\\x00-\\x2b\\x2d\\x2f\\x3a-\\x40\\x5b-\\x5e\\x60\\x7b-\\xff\\u2028\\u2029]/g,x={};var a=function(e){var a=x[e];if(!a){var n=e.charCodeAt(0);if(n<256){a=\"\\\\x\"+r(n,2)}else{a=\"\\\\u\"+r(n,4)}x[e]=a}return a};var n=function(r){return r.replace(e,a)};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/security/encodeURL\", [\"sap/base/strings/toHex\"],function(e){\"use strict\";var f=/[\\ud800-\\udbff][\\udc00-\\udfff]|[\\x00-\\x2c\\x2f\\x3a-\\x40\\x5b-\\x5e\\x60\\x7b-\\uffff]/g,r={};var u=function(f){var u=r[f];if(!u){var i=f.codePointAt(0);if(i<128){u=\"%\"+e(i,2)}else if(i<2048){u=\"%\"+e(i>>6|192,2)+\"%\"+e(i&63|128,2)}else if(i<65536){u=\"%\"+e(i>>12|224,2)+\"%\"+e(i>>6&63|128,2)+\"%\"+e(i&63|128,2)}else{u=\"%\"+e(i>>18|240,2)+\"%\"+e(i>>12&63|128,2)+\"%\"+e(i>>6&63|128,2)+\"%\"+e(i&63|128,2)}r[f]=u}return u};var i=function(e){return e.replace(f,u)};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/security/encodeURLParameters\", [\"./encodeURL\"],function(n){\"use strict\";var r=function(r){if(!r){return\"\"}var t=[];Object.keys(r).forEach(function(e){var i=r[e];if(i instanceof String||typeof i===\"string\"){i=n(i)}t.push(n(e)+\"=\"+i)});return t.join(\"&\")};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/security/sanitizeHTML\", [\"sap/base/assert\",\"sap/base/security/URLListValidator\",\"sap/ui/thirdparty/caja-html-sanitizer\"],function(i,t){\"use strict\";var a=function(a,e){i(window.html&&window.html.sanitize,\"Sanitizer should have been loaded\");e=e||{uriRewriter:function(i){if(t.validate(i)){return i}}};var r=e.tagPolicy||window.html.makeTagPolicy(e.uriRewriter,e.tokenPolicy);return window.html.sanitizeWithPolicy(a,r)};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/strings/hyphenate\", [],function(){\"use strict\";var r=/([A-Z])/g;var e=function(e){return e.replace(r,function(r,e){return\"-\"+e.toLowerCase()})};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/strings/whitespaceReplacer\", [],function(){\"use strict\";var r=function(r){var e=\" \",t=\" \";if(typeof r!==\"string\"){return r}return r.replaceAll(\"\\t\",e+e).replaceAll(e+e,e+t)};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/UriParameters\", [\"sap/base/Log\"],function(e){\"use strict\";function t(e){var t=e.indexOf(\"#\");if(t>=0){e=e.slice(0,t)}var n=e.indexOf(\"?\");if(n>=0){return e.slice(n+1)}return\"\"}function n(e){return decodeURIComponent(e.replace(/\\+/g,\" \"))}function r(e,t){function r(t,n){if(t in e){e[t].push(n)}else{e[t]=[n]}}t.split(\"&\").forEach(function(e){var t=e.indexOf(\"=\");if(t>=0){r(n(e.slice(0,t)),n(e.slice(t+1)))}else if(e.length){r(n(e),\"\")}})}var i=function(n){var i=Object.create(null);if(n!=null){if(typeof n!==\"string\"){throw new TypeError(\"query parameter must be a string\")}r(i,t(n))}this.has=function(e){return e in i};this._get=function(e){return e in i?i[e][0]:null};this.getAll=function(e){return e in i?i[e].slice():[]};this.keys=function(){return Object.keys(i).values()};var u=false;Object.defineProperty(this,\"mParams\",{get:function(){if(!u){e.warning(\"[Deprecated] UriParameters.mParams must not be accessed.\");u=true}return Object.assign({},i)},configurable:false})};i.prototype.get=function(t,n){if(n){e.warning(\"[Deprecated] UriParameters.get(..., true) must not be used, use getAll() instead.\");return this.getAll(t)}return this._get(t)};i.fromURL=function(e){return new i(e)};i.fromQuery=function(e){if(typeof e===\"string\"){if(e[0]!==\"?\"){e=\"?\"+e}e=e.replace(/#/g,\"%23\")}return new i(e)};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/clamp\", [],function(){\"use strict\";const t=(t,a,n)=>Math.min(Math.max(t,a),Math.max(a,n));return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/defineCoupledProperty\", [],function(){\"use strict\";var e=function(e,t,n,r){var i=n[r];var u={configurable:true,get:function(){return i},set:function(e){i=e}};Object.defineProperty(e,t,u);Object.defineProperty(n,r,u)};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/includes\", [\"sap/base/util/values\"],function(e){\"use strict\";var r=function(n,t,i){if(typeof i!==\"number\"){i=0}if(Array.isArray(n)||typeof n===\"string\"){if(i<0){i=n.length+i<0?0:n.length+i}return n.includes(t,i)}else{return r(e(n),t,i)}};return r});\n/**\n * @license\n * Lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash strict include=\"omit,uniq,uniqBy,uniqWith,intersection,intersectionBy,intersectionWith,pick,pickBy,debounce,throttle,max,min,castArray,curry,merge,mergeWith,toArray,xor,xorBy,xorWith,isNil,difference,differenceBy,differenceWith,flatMap,flatMapDeep,flatMapDepth,isEqual,isEqualWith,without,flatten,flattenDeep,flattenDepth,compact,zipObject,zipObjectDeep,union,unionBy,unionWith\"`\n * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n * Modifications SAP SE or an SAP affiliate company and OpenUI5 contributors. All rights reserved.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_/lodash.custom\", function(){\"use strict\";var r;var t=\"4.17.21\";var n=200;var e=\"Expected a function\";var u=\"__lodash_hash_undefined__\";var i=500;var a=\"__lodash_placeholder__\";var f=1,o=2,c=4;var l=1,s=2;var v=1,h=2,p=4,g=8,y=16,_=32,w=64,b=128,d=256,j=512;var m=800,O=16;var A=1/0,x=9007199254740991,z=17976931348623157e292,k=0/0;var S=4294967295;var E=[[\"ary\",b],[\"bind\",v],[\"bindKey\",h],[\"curry\",g],[\"curryRight\",y],[\"flip\",j],[\"partial\",_],[\"partialRight\",w],[\"rearg\",d]];var T=\"[object Arguments]\",$=\"[object Array]\",I=\"[object AsyncFunction]\",B=\"[object Boolean]\",W=\"[object Date]\",L=\"[object Error]\",M=\"[object Function]\",P=\"[object GeneratorFunction]\",D=\"[object Map]\",F=\"[object Number]\",q=\"[object Null]\",R=\"[object Object]\",C=\"[object Promise]\",U=\"[object Proxy]\",N=\"[object RegExp]\",V=\"[object Set]\",G=\"[object String]\",K=\"[object Symbol]\",H=\"[object Undefined]\",J=\"[object WeakMap]\";var Q=\"[object ArrayBuffer]\",X=\"[object DataView]\",Y=\"[object Float32Array]\",Z=\"[object Float64Array]\",rr=\"[object Int8Array]\",tr=\"[object Int16Array]\",nr=\"[object Int32Array]\",er=\"[object Uint8Array]\",ur=\"[object Uint8ClampedArray]\",ir=\"[object Uint16Array]\",ar=\"[object Uint32Array]\";var fr=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,or=/^\\w*$/,cr=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;var lr=/[\\\\^$.*+?()[\\]{}|]/g;var sr=/^\\s+/;var vr=/\\s/;var hr=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,pr=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,gr=/,? & /;var yr=/\\\\(\\\\)?/g;var _r=/\\w*$/;var wr=/^[-+]0x[0-9a-f]+$/i;var br=/^0b[01]+$/i;var dr=/^\\[object .+?Constructor\\]$/;var jr=/^0o[0-7]+$/i;var mr=/^(?:0|[1-9]\\d*)$/;var Or=\"\\\\ud800-\\\\udfff\",Ar=\"\\\\u0300-\\\\u036f\",xr=\"\\\\ufe20-\\\\ufe2f\",zr=\"\\\\u20d0-\\\\u20ff\",kr=Ar+xr+zr,Sr=\"\\\\ufe0e\\\\ufe0f\";var Er=\"[\"+Or+\"]\",Tr=\"[\"+kr+\"]\",$r=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",Ir=\"(?:\"+Tr+\"|\"+$r+\")\",Br=\"[^\"+Or+\"]\",Wr=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",Lr=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",Mr=\"\\\\u200d\";var Pr=Ir+\"?\",Dr=\"[\"+Sr+\"]?\",Fr=\"(?:\"+Mr+\"(?:\"+[Br,Wr,Lr].join(\"|\")+\")\"+Dr+Pr+\")*\",qr=Dr+Pr+Fr,Rr=\"(?:\"+[Br+Tr+\"?\",Tr,Wr,Lr,Er].join(\"|\")+\")\";var Cr=RegExp($r+\"(?=\"+$r+\")|\"+Rr+qr,\"g\");var Ur=RegExp(\"[\"+Mr+Or+kr+Sr+\"]\");var Nr={};Nr[Y]=Nr[Z]=Nr[rr]=Nr[tr]=Nr[nr]=Nr[er]=Nr[ur]=Nr[ir]=Nr[ar]=true;Nr[T]=Nr[$]=Nr[Q]=Nr[B]=Nr[X]=Nr[W]=Nr[L]=Nr[M]=Nr[D]=Nr[F]=Nr[R]=Nr[N]=Nr[V]=Nr[G]=Nr[J]=false;var Vr={};Vr[T]=Vr[$]=Vr[Q]=Vr[X]=Vr[B]=Vr[W]=Vr[Y]=Vr[Z]=Vr[rr]=Vr[tr]=Vr[nr]=Vr[D]=Vr[F]=Vr[R]=Vr[N]=Vr[V]=Vr[G]=Vr[K]=Vr[er]=Vr[ur]=Vr[ir]=Vr[ar]=true;Vr[L]=Vr[M]=Vr[J]=false;var Gr=parseInt;var Kr=typeof global==\"object\"&&global&&global.Object===Object&&global;var Hr=typeof self==\"object\"&&self&&self.Object===Object&&self;var Jr=Kr||Hr||Function(\"return this\")();var Qr=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports;var Xr=Qr&&typeof module==\"object\"&&module&&!module.nodeType&&module;var Yr=Xr&&Xr.exports===Qr;var Zr=Yr&&Kr.process;var rt=function(){try{var r=Xr&&Xr.require&&Xr.require(\"util\").types;if(r){return r}return Zr&&Zr.binding&&Zr.binding(\"util\")}catch(r){}}();var tt=rt&&rt.isMap,nt=rt&&rt.isSet,et=rt&&rt.isTypedArray;function ut(r,t,n){switch(n.length){case 0:return r.call(t);case 1:return r.call(t,n[0]);case 2:return r.call(t,n[0],n[1]);case 3:return r.call(t,n[0],n[1],n[2])}return r.apply(t,n)}function it(r,t){var n=-1,e=r==null?0:r.length;while(++n<e){if(t(r[n],n,r)===false){break}}return r}function at(r,t){var n=-1,e=r==null?0:r.length,u=0,i=[];while(++n<e){var a=r[n];if(t(a,n,r)){i[u++]=a}}return i}function ft(r,t){var n=r==null?0:r.length;return!!n&&pt(r,t,0)>-1}function ot(r,t,n){var e=-1,u=r==null?0:r.length;while(++e<u){if(n(t,r[e])){return true}}return false}function ct(r,t){var n=-1,e=r==null?0:r.length,u=Array(e);while(++n<e){u[n]=t(r[n],n,r)}return u}function lt(r,t){var n=-1,e=t.length,u=r.length;while(++n<e){r[u+n]=t[n]}return r}function st(r,t){var n=-1,e=r==null?0:r.length;while(++n<e){if(t(r[n],n,r)){return true}}return false}function vt(r){return r.split(\"\")}function ht(r,t,n,e){var u=r.length,i=n+(e?1:-1);while(e?i--:++i<u){if(t(r[i],i,r)){return i}}return-1}function pt(r,t,n){return t===t?Tt(r,t,n):ht(r,gt,n)}function gt(r){return r!==r}function yt(t){return function(n){return n==null?r:n[t]}}function _t(r,t){var n=-1,e=Array(r);while(++n<r){e[n]=t(n)}return e}function wt(r){return r?r.slice(0,It(r)+1).replace(sr,\"\"):r}function bt(r){return function(t){return r(t)}}function dt(r,t){return ct(t,function(t){return r[t]})}function jt(r,t){return r.has(t)}function mt(r,t){var n=r.length,e=0;while(n--){if(r[n]===t){++e}}return e}function Ot(t,n){return t==null?r:t[n]}function At(r){return Ur.test(r)}function xt(r){var t,n=[];while(!(t=r.next()).done){n.push(t.value)}return n}function zt(r){var t=-1,n=Array(r.size);r.forEach(function(r,e){n[++t]=[e,r]});return n}function kt(r,t){return function(n){return r(t(n))}}function St(r,t){var n=-1,e=r.length,u=0,i=[];while(++n<e){var f=r[n];if(f===t||f===a){r[n]=a;i[u++]=n}}return i}function Et(r){var t=-1,n=Array(r.size);r.forEach(function(r){n[++t]=r});return n}function Tt(r,t,n){var e=n-1,u=r.length;while(++e<u){if(r[e]===t){return e}}return-1}function $t(r){return At(r)?Bt(r):vt(r)}function It(r){var t=r.length;while(t--&&vr.test(r.charAt(t))){}return t}function Bt(r){return r.match(Cr)||[]}var Wt=Array.prototype,Lt=Function.prototype,Mt=Object.prototype;var Pt=Jr[\"__core-js_shared__\"];var Dt=Lt.toString;var Ft=Mt.hasOwnProperty;var qt=function(){var r=/[^.]+$/.exec(Pt&&Pt.keys&&Pt.keys.IE_PROTO||\"\");return r?\"Symbol(src)_1.\"+r:\"\"}();var Rt=Mt.toString;var Ct=Dt.call(Object);var Ut=RegExp(\"^\"+Dt.call(Ft).replace(lr,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");var Nt=Yr?Jr.Buffer:r,Vt=Jr.Symbol,Gt=Jr.Uint8Array,Kt=Nt?Nt.allocUnsafe:r,Ht=kt(Object.getPrototypeOf,Object),Jt=Object.create,Qt=Mt.propertyIsEnumerable,Xt=Wt.splice,Yt=Vt?Vt.isConcatSpreadable:r,Zt=Vt?Vt.iterator:r,rn=Vt?Vt.toStringTag:r;var tn=function(){try{var r=Mu(Object,\"defineProperty\");r({},\"\",{});return r}catch(r){}}();var nn=Object.getOwnPropertySymbols,en=Nt?Nt.isBuffer:r,un=kt(Object.keys,Object),an=Math.max,fn=Math.min,on=Date.now;var cn=Mu(Jr,\"DataView\"),ln=Mu(Jr,\"Map\"),sn=Mu(Jr,\"Promise\"),vn=Mu(Jr,\"Set\"),hn=Mu(Jr,\"WeakMap\"),pn=Mu(Object,\"create\");var gn=hn&&new hn;var yn={};var _n=_i(cn),wn=_i(ln),bn=_i(sn),dn=_i(vn),jn=_i(hn);var mn=Vt?Vt.prototype:r,On=mn?mn.valueOf:r,An=mn?mn.toString:r;function xn(){}var zn=function(){function t(){}return function(n){if(!oa(n)){return{}}if(Jt){return Jt(n)}t.prototype=n;var e=new t;t.prototype=r;return e}}();function kn(){}function Sn(r){this.__wrapped__=r;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=S;this.__views__=[]}Sn.prototype=zn(kn.prototype);Sn.prototype.constructor=Sn;function En(r){var t=-1,n=r==null?0:r.length;this.clear();while(++t<n){var e=r[t];this.set(e[0],e[1])}}function Tn(){this.__data__=pn?pn(null):{};this.size=0}function $n(r){var t=this.has(r)&&delete this.__data__[r];this.size-=t?1:0;return t}function In(t){var n=this.__data__;if(pn){var e=n[t];return e===u?r:e}return Ft.call(n,t)?n[t]:r}function Bn(t){var n=this.__data__;return pn?n[t]!==r:Ft.call(n,t)}function Wn(t,n){var e=this.__data__;this.size+=this.has(t)?0:1;e[t]=pn&&n===r?u:n;return this}En.prototype.clear=Tn;En.prototype[\"delete\"]=$n;En.prototype.get=In;En.prototype.has=Bn;En.prototype.set=Wn;function Ln(r){var t=-1,n=r==null?0:r.length;this.clear();while(++t<n){var e=r[t];this.set(e[0],e[1])}}function Mn(){this.__data__=[];this.size=0}function Pn(r){var t=this.__data__,n=ie(t,r);if(n<0){return false}var e=t.length-1;if(n==e){t.pop()}else{Xt.call(t,n,1)}--this.size;return true}function Dn(t){var n=this.__data__,e=ie(n,t);return e<0?r:n[e][1]}function Fn(r){return ie(this.__data__,r)>-1}function qn(r,t){var n=this.__data__,e=ie(n,r);if(e<0){++this.size;n.push([r,t])}else{n[e][1]=t}return this}Ln.prototype.clear=Mn;Ln.prototype[\"delete\"]=Pn;Ln.prototype.get=Dn;Ln.prototype.has=Fn;Ln.prototype.set=qn;function Rn(r){var t=-1,n=r==null?0:r.length;this.clear();while(++t<n){var e=r[t];this.set(e[0],e[1])}}function Cn(){this.size=0;this.__data__={hash:new En,map:new(ln||Ln),string:new En}}function Un(r){var t=Wu(this,r)[\"delete\"](r);this.size-=t?1:0;return t}function Nn(r){return Wu(this,r).get(r)}function Vn(r){return Wu(this,r).has(r)}function Gn(r,t){var n=Wu(this,r),e=n.size;n.set(r,t);this.size+=n.size==e?0:1;return this}Rn.prototype.clear=Cn;Rn.prototype[\"delete\"]=Un;Rn.prototype.get=Nn;Rn.prototype.has=Vn;Rn.prototype.set=Gn;function Kn(r){var t=-1,n=r==null?0:r.length;this.__data__=new Rn;while(++t<n){this.add(r[t])}}function Hn(r){this.__data__.set(r,u);return this}function Jn(r){return this.__data__.has(r)}Kn.prototype.add=Kn.prototype.push=Hn;Kn.prototype.has=Jn;function Qn(r){var t=this.__data__=new Ln(r);this.size=t.size}function Xn(){this.__data__=new Ln;this.size=0}function Yn(r){var t=this.__data__,n=t[\"delete\"](r);this.size=t.size;return n}function Zn(r){return this.__data__.get(r)}function re(r){return this.__data__.has(r)}function te(r,t){var e=this.__data__;if(e instanceof Ln){var u=e.__data__;if(!ln||u.length<n-1){u.push([r,t]);this.size=++e.size;return this}e=this.__data__=new Rn(u)}e.set(r,t);this.size=e.size;return this}Qn.prototype.clear=Xn;Qn.prototype[\"delete\"]=Yn;Qn.prototype.get=Zn;Qn.prototype.has=re;Qn.prototype.set=te;function ne(r,t){var n=ra(r),e=!n&&Zi(r),u=!n&&!e&&ea(r),i=!n&&!e&&!u&&ya(r),a=n||e||u||i,f=a?_t(r.length,String):[],o=f.length;for(var c in r){if((t||Ft.call(r,c))&&!(a&&(c==\"length\"||u&&(c==\"offset\"||c==\"parent\")||i&&(c==\"buffer\"||c==\"byteLength\"||c==\"byteOffset\")||Hu(c,o)))){f.push(c)}}return f}function ee(t,n,e){if(e!==r&&!Yi(t[n],e)||e===r&&!(n in t)){oe(t,n,e)}}function ue(t,n,e){var u=t[n];if(!(Ft.call(t,n)&&Yi(u,e))||e===r&&!(n in t)){oe(t,n,e)}}function ie(r,t){var n=r.length;while(n--){if(Yi(r[n][0],t)){return n}}return-1}function ae(r,t){return r&&cu(t,xa(t),r)}function fe(r,t){return r&&cu(t,za(t),r)}function oe(r,t,n){if(t==\"__proto__\"&&tn){tn(r,t,{configurable:true,enumerable:true,value:n,writable:true})}else{r[t]=n}}function ce(t,n,e,u,i,a){var l,s=n&f,v=n&o,h=n&c;if(e){l=i?e(t,u,i,a):e(t)}if(l!==r){return l}if(!oa(t)){return t}var p=ra(t);if(p){l=Uu(t);if(!s){return ou(t,l)}}else{var g=qu(t),y=g==M||g==P;if(ea(t)){return ru(t,s)}if(g==R||g==T||y&&!i){l=v||y?{}:Nu(t);if(!s){return v?su(t,fe(l,t)):lu(t,ae(l,t))}}else{if(!Vr[g]){return i?t:{}}l=Vu(t,g,s)}}a||(a=new Qn);var _=a.get(t);if(_){return _}a.set(t,l);if(ha(t)){t.forEach(function(r){l.add(ce(r,n,e,r,t,a))})}else if(la(t)){t.forEach(function(r,u){l.set(u,ce(r,n,e,u,t,a))})}var w=h?v?Eu:Su:v?za:xa;var b=p?r:w(t);it(b||t,function(r,u){if(b){u=r;r=t[u]}ue(l,u,ce(r,n,e,u,t,a))});return l}function le(r,t,e,u){var i=-1,a=ft,f=true,o=r.length,c=[],l=t.length;if(!o){return c}if(e){t=ct(t,bt(e))}if(u){a=ot;f=false}else if(t.length>=n){a=jt;f=false;t=new Kn(t)}r:while(++i<o){var s=r[i],v=e==null?s:e(s);s=u||s!==0?s:0;if(f&&v===v){var h=l;while(h--){if(t[h]===v){continue r}}c.push(s)}else if(!a(t,v,u)){c.push(s)}}return c}var se=hu(ge);function ve(t,n,e){var u=-1,i=t.length;while(++u<i){var a=t[u],f=n(a);if(f!=null&&(o===r?f===f&&!ga(f):e(f,o))){var o=f,c=a}}return c}function he(r,t,n,e,u){var i=-1,a=r.length;n||(n=Ku);u||(u=[]);while(++i<a){var f=r[i];if(t>0&&n(f)){if(t>1){he(f,t-1,n,e,u)}else{lt(u,f)}}else if(!e){u[u.length]=f}}return u}var pe=pu();function ge(r,t){return r&&pe(r,t,xa)}function ye(t,n){n=Ze(n,t);var e=0,u=n.length;while(t!=null&&e<u){t=t[yi(n[e++])]}return e&&e==u?t:r}function _e(r,t,n){var e=t(r);return ra(r)?e:lt(e,n(r))}function we(t){if(t==null){return t===r?H:q}return rn&&rn in Object(t)?Pu(t):ai(t)}function be(r,t){return r>t}function de(r,t){return r!=null&&t in Object(r)}function je(t,n,e){var u=e?ot:ft,i=t[0].length,a=t.length,f=a,o=Array(a),c=Infinity,l=[];while(f--){var s=t[f];if(f&&n){s=ct(s,bt(n))}c=fn(s.length,c);o[f]=!e&&(n||i>=120&&s.length>=120)?new Kn(f&&s):r}s=t[0];var v=-1,h=o[0];r:while(++v<i&&l.length<c){var p=s[v],g=n?n(p):p;p=e||p!==0?p:0;if(!(h?jt(h,g):u(l,g,e))){f=a;while(--f){var y=o[f];if(!(y?jt(y,g):u(t[f],g,e))){continue r}}if(h){h.push(g)}l.push(p)}}return l}function me(r){return ca(r)&&we(r)==T}function Oe(r,t,n,e,u){if(r===t){return true}if(r==null||t==null||!ca(r)&&!ca(t)){return r!==r&&t!==t}return Ae(r,t,n,e,Oe,u)}function Ae(r,t,n,e,u,i){var a=ra(r),f=ra(t),o=a?$:qu(r),c=f?$:qu(t);o=o==T?R:o;c=c==T?R:c;var s=o==R,v=c==R,h=o==c;if(h&&ea(r)){if(!ea(t)){return false}a=true;s=false}if(h&&!s){i||(i=new Qn);return a||ya(r)?Au(r,t,n,e,u,i):xu(r,t,o,n,e,u,i)}if(!(n&l)){var p=s&&Ft.call(r,\"__wrapped__\"),g=v&&Ft.call(t,\"__wrapped__\");if(p||g){var y=p?r.value():r,_=g?t.value():t;i||(i=new Qn);return u(y,_,n,e,i)}}if(!h){return false}i||(i=new Qn);return zu(r,t,n,e,u,i)}function xe(r){return ca(r)&&qu(r)==D}function ze(t,n,e,u){var i=e.length,a=i,f=!u;if(t==null){return!a}t=Object(t);while(i--){var o=e[i];if(f&&o[2]?o[1]!==t[o[0]]:!(o[0]in t)){return false}}while(++i<a){o=e[i];var c=o[0],v=t[c],h=o[1];if(f&&o[2]){if(v===r&&!(c in t)){return false}}else{var p=new Qn;if(u){var g=u(v,h,c,t,n,p)}if(!(g===r?Oe(h,v,l|s,u,p):g)){return false}}}return true}function ke(r){if(!oa(r)||Zu(r)){return false}var t=aa(r)?Ut:dr;return t.test(_i(r))}function Se(r){return ca(r)&&qu(r)==V}function Ee(r){return ca(r)&&fa(r.length)&&!!Nr[we(r)]}function Te(r){if(typeof r==\"function\"){return r}if(r==null){return Wa}if(typeof r==\"object\"){return ra(r)?Me(r[0],r[1]):Le(r)}return Pa(r)}function $e(r){if(!ri(r)){return un(r)}var t=[];for(var n in Object(r)){if(Ft.call(r,n)&&n!=\"constructor\"){t.push(n)}}return t}function Ie(r){if(!oa(r)){return ii(r)}var t=ri(r),n=[];for(var e in r){if(!(e==\"constructor\"&&(t||!Ft.call(r,e)))){n.push(e)}}return n}function Be(r,t){return r<t}function We(r,t){var n=-1,e=ta(r)?Array(r.length):[];se(r,function(r,u,i){e[++n]=t(r,u,i)});return e}function Le(r){var t=Lu(r);if(t.length==1&&t[0][2]){return ni(t[0][0],t[0][1])}return function(n){return n===r||ze(n,r,t)}}function Me(t,n){if(Qu(t)&&ti(n)){return ni(yi(t),n)}return function(e){var u=Oa(e,t);return u===r&&u===n?Aa(e,t):Oe(n,u,l|s)}}function Pe(t,n,e,u,i){if(t===n){return}pe(n,function(a,f){i||(i=new Qn);if(oa(a)){De(t,n,f,e,Pe,u,i)}else{var o=u?u(li(t,f),a,f+\"\",t,n,i):r;if(o===r){o=a}ee(t,f,o)}},za)}function De(t,n,e,u,i,a,f){var o=li(t,e),c=li(n,e),l=f.get(c);if(l){ee(t,e,l);return}var s=a?a(o,c,e+\"\",t,n,f):r;var v=s===r;if(v){var h=ra(c),p=!h&&ea(c),g=!h&&!p&&ya(c);s=c;if(h||p||g){if(ra(o)){s=o}else if(na(o)){s=ou(o)}else if(p){v=false;s=ru(c,true)}else if(g){v=false;s=iu(c,true)}else{s=[]}}else if(va(c)||Zi(c)){s=o;if(Zi(o)){s=ja(o)}else if(!oa(o)||aa(o)){s=Nu(c)}}else{v=false}}if(v){f.set(c,s);i(s,c,u,a,f);f[\"delete\"](c)}ee(t,e,s)}function Fe(r,t){return qe(r,t,function(t,n){return Aa(r,n)})}function qe(r,t,n){var e=-1,u=t.length,i={};while(++e<u){var a=t[e],f=ye(r,a);if(n(f,a)){Ue(i,Ze(a,r),f)}}return i}function Re(r){return function(t){return ye(t,r)}}function Ce(r,t){return vi(fi(r,t,Wa),r+\"\")}function Ue(t,n,e,u){if(!oa(t)){return t}n=Ze(n,t);var i=-1,a=n.length,f=a-1,o=t;while(o!=null&&++i<a){var c=yi(n[i]),l=e;if(c===\"__proto__\"||c===\"constructor\"||c===\"prototype\"){return t}if(i!=f){var s=o[c];l=u?u(s,c,o):r;if(l===r){l=oa(s)?s:Hu(n[i+1])?[]:{}}}ue(o,c,l);o=o[c]}return t}var Ne=!gn?Wa:function(r,t){gn.set(r,t);return r};var Ve=!tn?Wa:function(r,t){return tn(r,\"toString\",{configurable:true,enumerable:false,value:Ba(t),writable:true})};function Ge(r,t,n){var e=-1,u=r.length;if(t<0){t=-t>u?0:u+t}n=n>u?u:n;if(n<0){n+=u}u=t>n?0:n-t>>>0;t>>>=0;var i=Array(u);while(++e<u){i[e]=r[e+t]}return i}function Ke(r){if(typeof r==\"string\"){return r}if(ra(r)){return ct(r,Ke)+\"\"}if(ga(r)){return An?An.call(r):\"\"}var t=r+\"\";return t==\"0\"&&1/r==-A?\"-0\":t}function He(r,t,e){var u=-1,i=ft,a=r.length,f=true,o=[],c=o;if(e){f=false;i=ot}else if(a>=n){var l=t?null:ju(r);if(l){return Et(l)}f=false;i=jt;c=new Kn}else{c=t?[]:o}r:while(++u<a){var s=r[u],v=t?t(s):s;s=e||s!==0?s:0;if(f&&v===v){var h=c.length;while(h--){if(c[h]===v){continue r}}if(t){c.push(v)}o.push(s)}else if(!i(c,v,e)){if(c!==o){c.push(v)}o.push(s)}}return o}function Je(r,t){t=Ze(t,r);r=oi(r,t);return r==null||delete r[yi(Ei(t))]}function Qe(r,t,n){var e=r.length;if(e<2){return e?He(r[0]):[]}var u=-1,i=Array(e);while(++u<e){var a=r[u],f=-1;while(++f<e){if(f!=u){i[u]=le(i[u]||a,r[f],t,n)}}}return He(he(i,1),t,n)}function Xe(t,n,e){var u=-1,i=t.length,a=n.length,f={};while(++u<i){var o=u<a?n[u]:r;e(f,t[u],o)}return f}function Ye(r){return na(r)?r:[]}function Ze(r,t){if(ra(r)){return r}return Qu(r,t)?[r]:gi(ma(r))}function ru(r,t){if(t){return r.slice()}var n=r.length,e=Kt?Kt(n):new r.constructor(n);r.copy(e);return e}function tu(r){var t=new r.constructor(r.byteLength);new Gt(t).set(new Gt(r));return t}function nu(r,t){var n=t?tu(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}function eu(r){var t=new r.constructor(r.source,_r.exec(r));t.lastIndex=r.lastIndex;return t}function uu(r){return On?Object(On.call(r)):{}}function iu(r,t){var n=t?tu(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.length)}function au(r,t,n,e){var u=-1,i=r.length,a=n.length,f=-1,o=t.length,c=an(i-a,0),l=Array(o+c),s=!e;while(++f<o){l[f]=t[f]}while(++u<a){if(s||u<i){l[n[u]]=r[u]}}while(c--){l[f++]=r[u++]}return l}function fu(r,t,n,e){var u=-1,i=r.length,a=-1,f=n.length,o=-1,c=t.length,l=an(i-f,0),s=Array(l+c),v=!e;while(++u<l){s[u]=r[u]}var h=u;while(++o<c){s[h+o]=t[o]}while(++a<f){if(v||u<i){s[h+n[a]]=r[u++]}}return s}function ou(r,t){var n=-1,e=r.length;t||(t=Array(e));while(++n<e){t[n]=r[n]}return t}function cu(t,n,e,u){var i=!e;e||(e={});var a=-1,f=n.length;while(++a<f){var o=n[a];var c=u?u(e[o],t[o],o,e,t):r;if(c===r){c=t[o]}if(i){oe(e,o,c)}else{ue(e,o,c)}}return e}function lu(r,t){return cu(r,Du(r),t)}function su(r,t){return cu(r,Fu(r),t)}function vu(t){return Ce(function(n,e){var u=-1,i=e.length,a=i>1?e[i-1]:r,f=i>2?e[2]:r;a=t.length>3&&typeof a==\"function\"?(i--,a):r;if(f&&Ju(e[0],e[1],f)){a=i<3?r:a;i=1}n=Object(n);while(++u<i){var o=e[u];if(o){t(n,o,u,a)}}return n})}function hu(r,t){return function(n,e){if(n==null){return n}if(!ta(n)){return r(n,e)}var u=n.length,i=t?u:-1,a=Object(n);while(t?i--:++i<u){if(e(a[i],i,a)===false){break}}return n}}function pu(r){return function(t,n,e){var u=-1,i=Object(t),a=e(t),f=a.length;while(f--){var o=a[r?f:++u];if(n(i[o],o,i)===false){break}}return t}}function gu(r,t,n){var e=t&v,u=yu(r);function i(){var t=this&&this!==Jr&&this instanceof i?u:r;return t.apply(e?n:this,arguments)}return i}function yu(r){return function(){var t=arguments;switch(t.length){case 0:return new r;case 1:return new r(t[0]);case 2:return new r(t[0],t[1]);case 3:return new r(t[0],t[1],t[2]);case 4:return new r(t[0],t[1],t[2],t[3]);case 5:return new r(t[0],t[1],t[2],t[3],t[4]);case 6:return new r(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new r(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(r.prototype),e=r.apply(n,t);return oa(e)?e:n}}function _u(t,n,e){var u=yu(t);function i(){var a=arguments.length,f=Array(a),o=a,c=Iu(i);while(o--){f[o]=arguments[o]}var l=a<3&&f[0]!==c&&f[a-1]!==c?[]:St(f,c);a-=l.length;if(a<e){return du(t,n,wu,i.placeholder,r,f,l,r,r,e-a)}var s=this&&this!==Jr&&this instanceof i?u:t;return ut(s,this,f)}return i}function wu(t,n,e,u,i,a,f,o,c,l){var s=n&b,p=n&v,_=n&h,w=n&(g|y),d=n&j,m=_?r:yu(t);function O(){var r=arguments.length,v=Array(r),h=r;wh Copyright 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/SimpleForm\", [\"sap/ui/core/Control\",\"sap/ui/base/ManagedObjectObserver\",\"sap/ui/core/Element\",\"sap/ui/layout/library\",\"./Form\",\"./FormContainer\",\"./FormElement\",\"./FormLayout\",\"./SimpleFormRenderer\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\"],function(e,t,a,i,s,r,n,o,l,u,jQuery){\"use strict\";var h=i.BackgroundDesign;var g=i.form.SimpleFormLayout;var f;var d;var y;var p;var m;var v;var c;var L;var b=e.extend(\"sap.ui.layout.form.SimpleForm\",{metadata:{library:\"sap.ui.layout\",properties:{maxContainerCols:{type:\"int\",group:\"Appearance\",defaultValue:2},minWidth:{type:\"int\",group:\"Appearance\",defaultValue:-1},width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},editable:{type:\"boolean\",group:\"Misc\",defaultValue:false},labelMinWidth:{type:\"int\",group:\"Misc\",defaultValue:192},layout:{type:\"sap.ui.layout.form.SimpleFormLayout\",group:\"Misc\",defaultValue:g.ResponsiveGridLayout},labelSpanXL:{type:\"int\",group:\"Misc\",defaultValue:-1},labelSpanL:{type:\"int\",group:\"Misc\",defaultValue:4},labelSpanM:{type:\"int\",group:\"Misc\",defaultValue:2},labelSpanS:{type:\"int\",group:\"Misc\",defaultValue:12},adjustLabelSpan:{type:\"boolean\",group:\"Misc\",defaultValue:true},emptySpanXL:{type:\"int\",group:\"Misc\",defaultValue:-1},emptySpanL:{type:\"int\",group:\"Misc\",defaultValue:0},emptySpanM:{type:\"int\",group:\"Misc\",defaultValue:0},emptySpanS:{type:\"int\",group:\"Misc\",defaultValue:0},columnsXL:{type:\"int\",group:\"Misc\",defaultValue:-1},columnsL:{type:\"int\",group:\"Misc\",defaultValue:2},columnsM:{type:\"int\",group:\"Misc\",defaultValue:1},singleContainerFullSize:{type:\"boolean\",group:\"Misc\",defaultValue:true},breakpointXL:{type:\"int\",group:\"Misc\",defaultValue:1440},breakpointL:{type:\"int\",group:\"Misc\",defaultValue:1024},breakpointM:{type:\"int\",group:\"Misc\",defaultValue:600},backgroundDesign:{type:\"sap.ui.layout.BackgroundDesign\",group:\"Appearance\",defaultValue:h.Translucent}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Element\",multiple:true,singularName:\"content\"},form:{type:\"sap.ui.layout.form.Form\",multiple:false,visibility:\"hidden\"},title:{type:\"sap.ui.core.Title\",altTypes:[\"string\"],multiple:false},toolbar:{type:\"sap.ui.core.Toolbar\",multiple:false,forwarding:{idSuffix:\"--Form\",aggregation:\"toolbar\"}}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},designtime:\"sap/ui/layout/designtime/form/SimpleForm.designtime\"},renderer:l});b.prototype.init=function(){this._iMaxWeight=8;this._iLabelWeight=3;this._iCurrentWidth=0;var e=new s(this.getId()+\"--Form\");e.getTitle=function(){return this.getParent().getTitle()};e._origInvalidate=e.invalidate;e.invalidate=function(e){if(this.bOutput){this._origInvalidate(e)}if(this._bIsBeingDestroyed){return}var t=this.getParent();if(t){t._formInvalidated(e)}};e.getAriaLabelledBy=function(){var e=this.getParent();if(e){return e.getAriaLabelledBy()}else{return null}};e._origOnLayoutDataChange=e.onLayoutDataChange;e.onLayoutDataChange=function(e){this._origOnLayoutDataChange(e);var t=this.getParent();if(t){t._onLayoutDataChange(e)}};this.setAggregation(\"form\",e);this._aElements=null;this._aLayouts=[];this._changedFormContainers=[];this._changedFormElements=[];this._oObserver=new t(N.bind(this))};b.prototype.exit=function(){var e=this.getAggregation(\"form\");e.invalidate=e._origInvalidate;j.call(this);for(var t=0;t<this._aLayouts.length;t++){var i=a.getElementById(this._aLayouts[t]);if(i&&i.destroy){i.destroy()}}this._aLayouts=[];this._aElements=null;this._changedFormContainers=[];this._changedFormElements=[];this._oObserver.disconnect();this._oObserver=undefined};b.prototype.onBeforeRendering=function(){j.call(this);var e=this.getAggregation(\"form\");var t=this.getLayout();if(!this._bResponsiveLayoutRequested&&t===g.ResponsiveLayout||!this._bGridLayoutRequested&&t===g.GridLayout||!this._bResponsiveGridLayoutRequested&&t===g.ResponsiveGridLayout||!this._bColumnLayoutRequested&&t===g.ColumnLayout){var a=true;if(!e.getLayout()){a=_.call(this)}if(a){A.call(this)}}};b.prototype.onAfterRendering=function(){if(this.getLayout()==g.ResponsiveLayout){this._bChangedByMe=true;this.$().css(\"visibility\",\"hidden\");this._applyLinebreaks();if(!this._bResponsiveLayoutRequested&&L){this._sResizeListenerId=L.register(this.getDomRef(),jQuery.proxy(this._resize,this))}this._bChangedByMe=false}};b.prototype.setEditable=function(e){this._bChangedByMe=true;this.setProperty(\"editable\",e,true);var t=this.getAggregation(\"form\");t.setEditable(e);this._bChangedByMe=false;return this};b.prototype.setToolbar=function(e){this._bChangedByMe=true;this.setAggregation(\"toolbar\",e);this._bChangedByMe=false;return this};b.prototype.destroyToolbar=function(){this._bChangedByMe=true;this.destroyAggregation(\"toolbar\");this._bChangedByMe=false;return this};b.prototype.setLabelMinWidth=function(e){this.setProperty(\"labelMinWidth\",e,true);if(this.getLayout()==g.ResponsiveLayout){this._bLayoutDataChangedByMe=true;var t=this.getContent();for(var a=0;a<t.length;a++){var i=t[a];if(i.isA(\"sap.ui.core.Label\")){var s=w.call(this,i);if(s&&s.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&S.call(this,s)){s.setMinWidth(e)}}}this._bLayoutDataChangedByMe=false}return this};b.prototype.indexOfContent=function(e){var t=this._aElements;if(t){for(var a=0;a<t.length;a++){if(t[a]==e){return a}}}return-1};b.prototype.addContent=function(e){e=this.validateAggregation(\"content\",e,true);if(this.indexOfContent(e)>=0){u.warning(\"SimpleForm.addContent: Content element '\"+e+\"' already assigned. Please remove before adding!\",this);this.removeContent(e)}if(!this._aElements){this._aElements=[]}this._bChangedByMe=true;var t=this._aElements.length;var a;var i=this.getAggregation(\"form\");var s;var o;var l;var h;var f=this.getLayout();if(e.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){s=W.call(this,e);i.addFormContainer(s);this._changedFormContainers.push(s)}else if(e.isA(\"sap.ui.core.Label\")){if(t>0){a=this._aElements[t-1];l=a.getParent();if(l instanceof n){s=l.getParent()}else if(l instanceof r){s=l}}if(!s){s=W.call(this);i.addFormContainer(s);this._changedFormContainers.push(s)}o=O.call(this,s,e)}else{if(t>0){a=this._aElements[t-1];l=a.getParent();if(l instanceof n){s=l.getParent();o=l;h=w.call(this,e);if(h&&h.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&f===g.ResponsiveLayout&&!S.call(this,h)&&h.getLinebreak()){o=O.call(this,s)}}else if(l instanceof r){s=l;o=O.call(this,s)}}else{s=W.call(this);i.addFormContainer(s);this._changedFormContainers.push(s);o=O.call(this,s)}T.call(this,e,5,false,true);o.addField(e);H(this._changedFormElements,o)}this._aElements.push(e);this._oObserver.observe(e,{properties:[\"visible\"]});this.invalidate();this._bChangedByMe=false;return this};b.prototype.insertContent=function(e,t){e=this.validateAggregation(\"content\",e,true);if(this.indexOfContent(e)>=0){u.warning(\"SimpleForm.insertContent: Content element '\"+e+\"' already assigned. Please remove before insert!\",this);this.removeContent(e)}if(!this._aElements){this._aElements=[]}var a=this._aElements.length;var i;if(t<0){i=0}else if(t>a){i=a}else{i=t}if(i!==t){u.warning(\"SimpleForm.insertContent: index '\"+t+\"' out of range [0,\"+a+\"], forced to \"+i)}if(i==a){this.addContent(e);return this}this._bChangedByMe=true;var s=this._aElements[i];var r=this.getAggregation(\"form\");var n;var o;var l;var h;var f;var d=0;var y;var p;var m;var v;var c=0;var L;var b;var _=this.getLayout();if(e.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){n=W.call(this,e);if(t==0&&!s.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){l=s.getParent().getParent();m=l.getFormElements();for(c=0;c<m.length;c++){n.addFormElement(m[c])}l.destroy();f=0}else if(s.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){l=s.getParent();f=r.indexOfFormContainer(l)}else{h=s.getParent();l=h.getParent();f=r.indexOfFormContainer(l)+1;d=l.indexOfFormElement(h);if(!s.isA(\"sap.ui.core.Label\")){y=h.indexOfField(s);if(y>0||h.getLabel()){o=O.call(this,n);this._changedFormElements.push(o);H(this._changedFormElements,h);p=h.getFields();for(c=y;c<p.length;c++){L=p[c];o.addField(L)}d++}}m=l.getFormElements();for(c=d;c<m.length;c++){n.addFormElement(m[c])}}r.insertFormContainer(n,f);this._changedFormContainers.push(n)}else if(e.isA(\"sap.ui.core.Label\")){if(s.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){l=s.getParent();f=r.indexOfFormContainer(l);v=r.getFormContainers();if(f==0){n=W.call(this);r.insertFormContainer(n,f);this._changedFormContainers.push(n)}else{n=v[f-1]}o=O.call(this,n,e)}else if(s.isA(\"sap.ui.core.Label\")){l=s.getParent().getParent();d=l.indexOfFormElement(s.getParent());o=x.call(this,l,e,d)}else{h=s.getParent();l=h.getParent();d=l.indexOfFormElement(h)+1;y=h.indexOfField(s);p=h.getFields();o=x.call(this,l,e,d);for(c=y;c<p.length;c++){L=p[c];o.addField(L)}if(y==0&&!h.getLabel()){h.destroy()}else{H(this._changedFormElements,h)}}this._changedFormElements.push(o)}else{b=w.call(this,e);if(s.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){l=s.getParent();f=r.indexOfFormContainer(l);if(f==0){n=W.call(this);r.insertFormContainer(n,f);this._changedFormContainers.push(n)}else{v=r.getFormContainers();n=v[f-1]}m=n.getFormElements();if(m.length==0){o=O.call(this,n)}else if(b&&b.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&_===g.ResponsiveLayout&&!S.call(this,b)&&b.getLinebreak()){o=O.call(this,n)}else{o=m[m.length-1]}o.addField(e)}else if(s.isA(\"sap.ui.core.Label\")){h=s.getParent();n=h.getParent();d=n.indexOfFormElement(h);if(d==0){o=x.call(this,n,null,0)}else if(b&&b.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&_===g.ResponsiveLayout&&!S.call(this,b)&&b.getLinebreak()){o=x.call(this,n,null,d)}else{m=n.getFormElements();o=m[d-1]}o.addField(e)}else{o=s.getParent();y=o.indexOfField(s);if(b&&b.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&_===g.ResponsiveLayout&&!S.call(this,b)&&b.getLinebreak()&&y>0){n=o.getParent();d=n.indexOfFormElement(o);H(this._changedFormElements,o);p=o.getFields();o=x.call(this,n,undefined,d+1);o.addField(e);for(c=y;c<p.length;c++){L=p[c];o.addField(L)}}else{o.insertField(e,y)}}H(this._changedFormElements,o);T.call(this,e,5,false,true)}this._aElements.splice(i,0,e);this._oObserver.observe(e,{properties:[\"visible\"]});this.invalidate();this._bChangedByMe=false;return this};b.prototype.removeContent=function(e){var t=null;var i=-1;var s=0;if(this._aElements){if(typeof e==\"string\"){e=a.getElementById(e)}if(typeof e==\"object\"){for(s=0;s<this._aElements.length;s++){if(this._aElements[s]==e){e=s;break}}}if(typeof e==\"number\"){if(e<0||e>=this._aElements.length){u.warning(\"Element.removeAggregation called with invalid index: Items, \"+e)}else{i=e;t=this._aElements[i]}}}if(t){this._bChangedByMe=true;var r=this.getAggregation(\"form\");var n;var o;var l;var h;if(t.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){n=t.getParent();n.setTitle(null);n.setToolbar(null);l=n.getFormElements();if(i>0||l.length>0){var g=r.indexOfFormContainer(n);var f;if(i===0){f=W.call(this);r.insertFormContainer(f,g)}else{f=r.getFormContainers()[g-1];if(l.length>0&&!l[0].getLabel()){var d=f.getFormElements();var y=d[d.length-1];h=l[0].getFields();for(s=0;s<h.length;s++){y.addField(h[s])}H(this._changedFormElements,y);n.removeFormElement(l[0]);l[0].destroy();l.splice(0,1)}}for(s=0;s<l.length;s++){f.addFormElement(l[s])}H(this._changedFormContainers,f);r.removeFormContainer(n);n.destroy()}else{r.removeFormContainer(n);n.destroy()}}else if(t.isA(\"sap.ui.core.Label\")){o=t.getParent();n=o.getParent();o.setLabel(null);h=o.getFields();var p=n.indexOfFormElement(o);var m;if(p===0){if(h.length===0){n.removeFormElement(o);o.destroy();if(n.getFormElements().length==0&&!n.getTitle()&&!n.getToolbar()){r.removeFormContainer(n);n.destroy()}}else{m=x.call(this,n,null,0)}}else{l=n.getFormElements();m=l[p-1];H(this._changedFormElements,m)}for(s=0;s<h.length;s++){m.addField(h[s])}n.removeFormElement(o);o.destroy()}else{o=t.getParent();o.removeField(t);if(o.getFields().length==0&&!o.getLabel()){n=o.getParent();n.removeFormElement(o);o.destroy();if(n.getFormElements().length==0&&!n.getTitle()&&!n.getToolbar()){r.removeFormContainer(n);n.destroy()}}else{H(this._changedFormElements,o)}}this._aElements.splice(i,1);t.setParent(null);this._oObserver.unobserve(t);q.call(this,t);this.invalidate();this._bChangedByMe=false;return t}return null};b.prototype.removeAllContent=function(){var e=0;if(this._aElements){this._bChangedByMe=true;var t=this.getAggregation(\"form\");var a=t.getFormContainers();for(e=0;e<a.length;e++){var i=a[e];i.setTitle(null);i.setToolbar(null);var s=i.getFormElements();for(var r=0;r<s.length;r++){var n=s[r];n.setLabel(null);n.removeAllFields()}i.destroyFormElements()}t.destroyFormContainers();for(e=0;e<this._aElements.length;e++){var o=this._aElements[e];q.call(this,o);this._oObserver.unobserve(o)}var l=this._aElements;this._aElements=null;this.invalidate();this._bChangedByMe=false;return l}else{return[]}};b.prototype.destroyContent=function(){var e=this.removeAllContent();if(e){this._bChangedByMe=true;for(var t=0;t<e.length;t++){e[t].destroy()}this.invalidate();this._bChangedByMe=false}return this};b.prototype.getContent=function(){if(!this._aElements){this._aElements=this.getAggregation(\"content\",[])}return this._aElements.slice()};b.prototype.setLayout=function(e){var t=this.getLayout();var a=this.isPropertyInitial(\"layout\");if(e!=t){D.call(this)}this.setProperty(\"layout\",e);if(e!=t||a){var i=_.call(this);if(i){B.call(this)}}return this};b.prototype.clone=function(t){this._bChangedByMe=true;var a=e.prototype.clone.apply(this,arguments);var i=this.getContent();for(var s=0;s<i.length;s++){var r=i[s];var n=r.getLayoutData();this._oObserver.unobserve(r);var o=r.clone(t);this._oObserver.observe(r,{properties:[\"visible\"]});if(n){if(n.isA(\"sap.ui.core.VariantLayoutData\")){var l=n.getMultipleLayoutData();for(var u=0;u<l.length;u++){if(S.call(this,l[u])){a._aLayouts.push(o.getLayoutData().getMultipleLayoutData()[u].getId())}}}else if(S.call(this,n)){a._aLayouts.push(o.getLayoutData().getId())}}a.addContent(o)}this._bChangedByMe=false;return a};function _(){var e=this.getAggregation(\"form\");if(e.getLayout()){this._bChangedByMe=true;e.destroyLayout();j.call(this);this._bChangedByMe=false}var t;switch(this.getLayout()){case g.ResponsiveLayout:if((!f||!d||!L)&&!this._bResponsiveLayoutRequested){f=sap.ui.require(\"sap/ui/layout/form/ResponsiveLayout\");d=sap.ui.require(\"sap/ui/layout/ResponsiveFlowLayoutData\");L=sap.ui.require(\"sap/ui/core/ResizeHandler\");if(!f||!d||!L){sap.ui.require([\"sap/ui/layout/form/ResponsiveLayout\",\"sap/ui/layout/ResponsiveFlowLayoutData\",\"sap/ui/core/ResizeHandler\"],C.bind(this));this._bResponsiveLayoutRequested=true}}if(f&&d){t=new f(this.getId()+\"--Layout\")}break;case g.GridLayout:if((!p||!m||!v)&&!this._bGridLayoutRequested){p=sap.ui.require(\"sap/ui/layout/form/GridLayout\");m=sap.ui.require(\"sap/ui/layout/form/GridContainerData\");v=sap.ui.require(\"sap/ui/layout/form/GridElementData\");if(!p||!m||!v){sap.ui.require([\"sap/ui/layout/form/GridLayout\",\"sap/ui/layout/form/GridContainerData\",\"sap/ui/layout/form/GridElementData\"],F.bind(this));this._bGridLayoutRequested=true}}if(p&&m&&v){t=new p(this.getId()+\"--Layout\")}break;case g.ResponsiveGridLayout:if(!y&&!this._bResponsiveGridLayoutRequested){y=sap.ui.require(\"sap/ui/layout/form/ResponsiveGridLayout\");if(!y){sap.ui.require([\"sap/ui/layout/form/ResponsiveGridLayout\"],E.bind(this));this._bResponsiveGridLayoutRequested=true}}if(y){t=new y(this.getId()+\"--Layout\")}break;case g.ColumnLayout:if(!c&&!this._bColumnLayoutRequested){c=sap.ui.require(\"sap/ui/layout/form/ColumnLayout\");if(!c){sap.ui.require([\"sap/ui/layout/form/ColumnLayout\"],M.bind(this));this._bColumnLayoutRequested=true}}if(c){t=new c(this.getId()+\"--Layout\")}break}if(t){this._bChangedByMe=true;e.setLayout(t);this._bChangedByMe=false;return true}return false}function C(e,t,a){f=e;d=t;L=a;this._bResponsiveLayoutRequested=false;if(this.getLayout()==g.ResponsiveLayout){R.call(this);if(this.getDomRef()&&!this._sResizeListenerId){this._sResizeListenerId=L.register(this.getDomRef(),jQuery.proxy(this._resize,this))}}}function F(e,t,a){p=e;m=t;v=a;this._bGridLayoutRequested=false;if(this.getLayout()==g.GridLayout){R.call(this)}}function E(e){y=e;this._bResponsiveGridLayoutRequested=false;if(this.getLayout()==g.ResponsiveGridLayout){R.call(this)}}function M(e){c=e;this._bColumnLayoutRequested=false;if(this.getLayout()==g.ColumnLayout){R.call(this)}}function R(){if(!this._bIsBeingDestroyed){_.call(this);B.call(this);if(this.getDomRef()){A.call(this);var e=this.getAggregation(\"form\");if(!e.getDomRef()){this.invalidate()}}}}function D(){this._bChangedByMe=true;var e=this.getAggregation(\"form\");var t=e.getFormContainers();for(var a=0;a<t.length;a++){var i=t[a];H(this._changedFormContainers,i);if(i.getLayoutData()){i.destroyLayoutData()}var s=i.getFormElements();for(var r=0;r<s.length;r++){var n=s[r];H(this._changedFormElements,n);if(n.getLayoutData()){n.destroyLayoutData()}var o=n.getLabel();if(o){q.call(this,o)}var l=n.getFields();for(var u=0;u<l.length;u++){var h=l[u];q.call(this,h)}}}this._bChangedByMe=false}function B(){this._bChangedByMe=true;var e=this.getAggregation(\"form\");var t=e.getFormContainers();for(var a=0;a<t.length;a++){var i=t[a];H(this._changedFormContainers,i);P.call(this,i);var s=i.getFormElements();for(var r=0;r<s.length;r++){var n=s[r];H(this._changedFormElements,n);I.call(this,n);var o=n.getLabel();if(o){T.call(this,o,this._iLabelWeight,false,true,this.getLabelMinWidth())}var l=n.getFields();for(var u=0;u<l.length;u++){var h=l[u];T.call(this,h,5,false,true)}}}this._bChangedByMe=false}function A(){this._bChangedByMe=true;this._changedFormContainers=[];var e=this.getLayout();var t=this.getAggregation(\"form\").getLayout();t.setBackgroundDesign(this.getBackgroundDesign());switch(e){case g.ResponsiveLayout:this._applyLinebreaks();for(var a=0;a<this._changedFormElements.length;a++){var i=this._changedFormElements[a];z.call(this,i)}break;case g.GridLayout:X.call(this);break;case g.ResponsiveGridLayout:t.setLabelSpanXL(this.getLabelSpanXL());t.setLabelSpanL(this.getLabelSpanL());t.setLabelSpanM(this.getLabelSpanM());t.setLabelSpanS(this.getLabelSpanS());t.setAdjustLabelSpan(this.getAdjustLabelSpan());t.setEmptySpanXL(this.getEmptySpanXL());t.setEmptySpanL(this.getEmptySpanL());t.setEmptySpanM(this.getEmptySpanM());t.setEmptySpanS(this.getEmptySpanS());t.setColumnsXL(this.getColumnsXL());t.setColumnsL(this.getColumnsL());t.setColumnsM(this.getColumnsM());t.setSingleContainerFullSize(this.getSingleContainerFullSize());t.setBreakpointXL(this.getBreakpointXL());t.setBreakpointL(this.getBreakpointL());t.setBreakpointM(this.getBreakpointM());break;case g.ColumnLayout:t.setColumnsXL(this.getColumnsXL()>0?this.getColumnsXL():this.getColumnsL());t.setColumnsL(this.getColumnsL());t.setColumnsM(this.getColumnsM());t.setLabelCellsLarge(this.getLabelSpanL());t.setEmptyCellsLarge(this.getEmptySpanL());break}this._changedFormElements=[];this._bChangedByMe=false}function S(e){var t=e.getId(),a=\" \"+this._aLayouts.join(\" \")+\" \";return a.indexOf(\" \"+t+\" \")>-1}function k(e,t,a,i){var s=new d({weight:e,linebreak:t===true,linebreakable:a===true});if(i){s.setMinWidth(i)}this._aLayouts.push(s.getId());return s}function w(e){var t;switch(this.getLayout()){case g.ResponsiveLayout:t=o.prototype.getLayoutDataForElement(e,\"sap.ui.layout.ResponsiveFlowLayoutData\");break;case g.GridLayout:t=o.prototype.getLayoutDataForElement(e,\"sap.ui.layout.form.GridElementData\");break;case g.ResponsiveGridLayout:t=o.prototype.getLayoutDataForElement(e,\"sap.ui.layout.GridData\");break;case g.ColumnLayout:t=o.prototype.getLayoutDataForElement(e,\"sap.ui.layout.form.ColumnElementData\");break}return t}function G(){var e=this.getLayout();if(e===g.ResponsiveLayout&&this._bResponsiveLayoutRequested||e===g.GridLayout&&this._bGridLayoutRequested||e===g.ResponsiveGridLayout&&this._bResponsiveGridLayoutRequested||e===g.ColumnLayout&&this._bColumnLayoutRequested){return false}if(!this.getAggregation(\"form\").getLayout()){var t=this._bChangedByMe;var a=_.call(this);this._bChangedByMe=t;if(!a){return false}}return true}function T(e,t,a,i,s){if(this.getLayout()!=g.ResponsiveLayout){return}if(!G.call(this)){return}this._bLayoutDataChangedByMe=true;var r=w.call(this,e);if(!r||!S.call(this,r)){r=e.getLayoutData();if(r&&r.isA(\"sap.ui.core.VariantLayoutData\")){r.addMultipleLayoutData(k.call(this,t,a,i,s))}else if(!r){e.setLayoutData(k.call(this,t,a,i,s))}else{u.warning(\"ResponsiveFlowLayoutData can not be set on Field \"+e.getId(),\"_createFieldLayoutData\",\"SimpleForm\")}}this._bLayoutDataChangedByMe=false}function I(e){if(this.getLayout()!=g.ResponsiveLayout){return}if(!G.call(this)){return}this._bLayoutDataChangedByMe=true;e.setLayoutData(new d({linebreak:true,margin:false}));this._bLayoutDataChangedByMe=false}function P(e){var t=this.getLayout();if(t!=g.ResponsiveLayout&&t!=g.GridLayout){return}if(!G.call(this)){return}this._bLayoutDataChangedByMe=true;switch(t){case g.ResponsiveLayout:e.setLayoutData(new d({minWidth:280}));break;case g.GridLayout:if(this.getMaxContainerCols()>1){e.setLayoutData(new m({halfGrid:true}))}else{e.setLayoutData(new m({halfGrid:false}))}break}this._bLayoutDataChangedByMe=false}function q(e){this._bLayoutDataChangedByMe=true;var t=w.call(this,e);if(t){var a=t.getId();for(var i=0;i<this._aLayouts.length;i++){var s=this._aLayouts[i];if(a==s){t.destroy();this._aLayouts.splice(i,1);break}}}this._bLayoutDataChangedByMe=false}function O(e,t){var a=V.call(this,t,e);e.addFormElement(a);return a}function x(e,t,a){var i=V.call(this,t,e);e.insertFormElement(i,a);return i}function V(e,t){var i;var s={};if(e){i=this.getId()+\"--\"+e.getId()+\"--FE\";e.addStyleClass(\"sapUiFormLabel-CTX\");if(!w.call(this,e)){T.call(this,e,this._iLabelWeight,false,true,this.getLabelMinWidth())}s[\"label\"]=e}else{i=t.getId()+\"--FE-NoLabel\";if(a.getElementById(i)){i=undefined}}var r=new n(i,s);I.call(this,r);r.isVisible=function(){var e=this.getFields();var t=false;for(var a=0;a<e.length;a++){var i=e[a];if(i.getVisible()){t=true;break}}return t};return r}function W(e){var t;var a={};if(e){t=this.getId()+\"--\"+e.getId()+\"--FC\";if(e.isA(\"sap.ui.core.Title\")){a[\"title\"]=e}else if(e.isA(\"sap.ui.core.Toolbar\")){a[\"toolbar\"]=e}}else{t=this.getId()+\"--FC-NoHead\"}var i=new r(t,a);P.call(this,i);i.getAriaLabelledBy=function(){var e=this.getToolbar();if(e){return e.getAriaLabelledBy()}else{return[]}};return i}function z(e){var t=this._iMaxWeight;var a=e.getFields();var i;var s=a.length;var r=e.getLabel();var n;var o=0;this._bLayoutDataChangedByMe=true;if(r&&w.call(this,r)){t=t-w.call(this,r).getWeight()}for(o=0;o<a.length;o++){i=a[o];n=w.call(this,i);if(n&&n.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&!S.call(this,n)){t=t-n.getWeight();s--}}var l=Math.floor(t/s);var u=t%s;for(o=0;o<a.length;o++){i=a[o];n=w.call(this,i);var h=l;if(!n){T.call(this,i,h,false,o==0)}else if(S.call(this,n)&&n.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")){if(u>0){h++;u--}n.setWeight(h)}}this._bLayoutDataChangedByMe=false}b.prototype._applyLinebreaks=function(){if(!f||this._bResponsiveLayoutRequested){return}this._bLayoutDataChangedByMe=true;var e=this.getAggregation(\"form\"),t=e.getFormContainers();var a=this.getDomRef();var i=this.$();for(var s=1;s<t.length;s++){var r=t[s],n=r.getLayoutData();if(!a||i.outerWidth(true)>this.getMinWidth()){if(s%this.getMaxContainerCols()==0){n.setLinebreak(true)}else{n.setLinebreak(false)}}else{n.setLinebreak(true)}}if(a&&i.css(\"visibility\")==\"hidden\"){var o=this;setTimeout(function(){if(o.getDomRef()){o.$().css(\"visibility\",\"\")}},10)}this._bLayoutDataChangedByMe=false};function X(){this._bLayoutDataChangedByMe=true;var e=this.getAggregation(\"form\");var t=e.getFormContainers();var a=t.length;for(var i=0;i<a;i++){var s=t[i];if(this.getMaxContainerCols()<=1||i==a-1&&a%2>0){s.getLayoutData().setHalfGrid(false)}else if(!s.getLayoutData().getHalfGrid()){s.getLayoutData().setHalfGrid(true)}}this._bLayoutDataChangedByMe=false}b.prototype._resize=function(e){this._bChangedByMe=true;if(this._iCurrentWidth==e.size.width){return}this._iCurrentWidth=e.size.width;this._applyLinebreaks();this._bChangedByMe=false};function j(){if(this._sResizeListenerId){L.deregister(this._sResizeListenerId);this._sResizeListenerId=null}}function H(e,t){var a=false;for(var i=0;i<e.length;i++){var s=e[i];if(s==t){a=true;break}}if(!a){e.push(t)}}function N(e){if(e.name==\"visible\"){var t=e.object.getParent();t.invalidate()}}function $(e){var t=[];var a=e.getFormContainers();for(var i=0;i<a.length;i++){var s=a[i];var r=s.getTitle();if(r){t.push(r)}else{var n=s.getToolbar();if(n){t.push(n)}}var o=s.getFormElements();for(var l=0;l<o.length;l++){var u=o[l];var h=u.getLabel();if(h){t.push(h)}var g=u.getFields();for(var f=0;f<g.length;f++){var d=g[f];t.push(d)}}}return t}b.prototype._formInvalidated=function(e){if(!this._bChangedByMe){var t=$(this.getAggregation(\"form\"));var a=0;var i=0;var s=false;if(!this._aElements||t.length<this._aElements.length){s=true}else{for(a=0;a<t.length;a++){var r=t[a];var n=this._aElements[i];if(r===n){i++}else{var o=t[a+1];if(o===n){this.insertContent(r,a);break}o=this._aElements[i+1];if(o===r){s=true;break}break}}}if(s){this.removeAllContent();for(a=0;a<t.length;a++){var l=t[a];this.addContent(l)}}}};b.prototype._onLayoutDataChange=function(e){if(!this._bLayoutDataChangedByMe&&!this._bIsBeingDestroyed){switch(this.getLayout()){case g.ResponsiveLayout:var t=e.srcControl;var a=t.getParent();if(a instanceof n){var i=this.indexOfContent(t);this.removeContent(t);this.insertContent(t,i)}break}}};b.prototype._suggestTitleId=function(e){var t=this.getAggregation(\"form\");t._suggestTitleId(e);return this};return b});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/SimpleFormRenderer\", [],function(){\"use strict\";var e={apiVersion:2};e.render=function(e,t){t._bChangedByMe=true;e.openStart(\"div\",t).class(\"sapUiSimpleForm\").style(\"width\",t.getWidth()).openEnd();var r=t.getAggregation(\"form\");if(r.getLayout()){e.renderControl(r)}e.close(\"div\");t._bChangedByMe=false};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/library\", [\"sap/ui/base/DataType\",\"sap/ui/core/Lib\",\"sap/ui/core/library\"],function(o,e,t){\"use strict\";var a=e.init({apiVersion:2,name:\"sap.ui.layout\",version:\"1.139.0\",dependencies:[\"sap.ui.core\"],designtime:\"sap/ui/layout/designtime/library.designtime\",types:[\"sap.ui.layout.BackgroundDesign\",\"sap.ui.layout.BlockBackgroundType\",\"sap.ui.layout.BlockLayoutCellColorSet\",\"sap.ui.layout.BlockLayoutCellColorShade\",\"sap.ui.layout.BlockRowColorSets\",\"sap.ui.layout.BoxesPerRowConfig\",\"sap.ui.layout.GridIndent\",\"sap.ui.layout.GridPosition\",\"sap.ui.layout.GridSpan\",\"sap.ui.layout.SideContentFallDown\",\"sap.ui.layout.SideContentPosition\",\"sap.ui.layout.SideContentVisibility\",\"sap.ui.layout.form.ColumnsXL\",\"sap.ui.layout.form.ColumnsL\",\"sap.ui.layout.form.ColumnsM\",\"sap.ui.layout.form.ColumnCells\",\"sap.ui.layout.form.EmptyCells\",\"sap.ui.layout.form.GridElementCells\",\"sap.ui.layout.form.SimpleFormLayout\",\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",\"sap.ui.layout.cssgrid.CSSGridTrack\",\"sap.ui.layout.cssgrid.CSSGridLine\",\"sap.ui.layout.cssgrid.CSSGridGapShortHand\"],interfaces:[\"sap.ui.layout.cssgrid.IGridConfigurable\",\"sap.ui.layout.cssgrid.IGridItemLayoutData\"],controls:[\"sap.ui.layout.AlignedFlowLayout\",\"sap.ui.layout.DynamicSideContent\",\"sap.ui.layout.FixFlex\",\"sap.ui.layout.Grid\",\"sap.ui.layout.HorizontalLayout\",\"sap.ui.layout.ResponsiveFlowLayout\",\"sap.ui.layout.ResponsiveSplitter\",\"sap.ui.layout.ResponsiveSplitterPage\",\"sap.ui.layout.Splitter\",\"sap.ui.layout.VerticalLayout\",\"sap.ui.layout.BlockLayoutCell\",\"sap.ui.layout.BlockLayoutRow\",\"sap.ui.layout.BlockLayout\",\"sap.ui.layout.form.Form\",\"sap.ui.layout.form.FormLayout\",\"sap.ui.layout.form.GridLayout\",\"sap.ui.layout.form.ColumnLayout\",\"sap.ui.layout.form.ResponsiveGridLayout\",\"sap.ui.layout.form.ResponsiveLayout\",\"sap.ui.layout.form.SimpleForm\",\"sap.ui.layout.cssgrid.CSSGrid\"],elements:[\"sap.ui.layout.BlockLayoutCellData\",\"sap.ui.layout.GridData\",\"sap.ui.layout.ResponsiveFlowLayoutData\",\"sap.ui.layout.SplitterLayoutData\",\"sap.ui.layout.form.FormContainer\",\"sap.ui.layout.form.FormElement\",\"sap.ui.layout.form.GridContainerData\",\"sap.ui.layout.PaneContainer\",\"sap.ui.layout.SplitPane\",\"sap.ui.layout.form.GridElementData\",\"sap.ui.layout.form.ColumnElementData\",\"sap.ui.layout.form.ColumnContainerData\",\"sap.ui.layout.cssgrid.GridItemLayoutData\"],extensions:{flChangeHandlers:{\"sap.ui.layout.BlockLayout\":{moveControls:\"default\"},\"sap.ui.layout.BlockLayoutRow\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.BlockLayoutCell\":\"sap/ui/layout/flexibility/BlockLayoutCell\",\"sap.ui.layout.DynamicSideContent\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.form.SimpleForm\":\"sap/ui/layout/flexibility/SimpleForm\",\"sap.ui.layout.Grid\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.FixFlex\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.form.Form\":\"sap/ui/layout/flexibility/Form\",\"sap.ui.layout.form.FormContainer\":\"sap/ui/layout/flexibility/FormContainer\",\"sap.ui.layout.form.FormElement\":\"sap/ui/layout/flexibility/FormElement\",\"sap.ui.layout.HorizontalLayout\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.Splitter\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"},\"sap.ui.layout.VerticalLayout\":{moveControls:\"default\",hideControl:\"default\",unhideControl:\"default\"}},\"sap.ui.support\":{publicRules:true,internalRules:true}}});a.BackgroundDesign={Solid:\"Solid\",Transparent:\"Transparent\",Translucent:\"Translucent\"};a.GridIndent=o.createType(\"sap.ui.layout.GridIndent\",{isValid:function(o){return/^(([Xx][Ll](?:[0-9]|1[0-1]))? ?([Ll](?:[0-9]|1[0-1]))? ?([Mm](?:[0-9]|1[0-1]))? ?([Ss](?:[0-9]|1[0-1]))?)$/.test(o)}},o.getType(\"string\"));a.GridPosition={Left:\"Left\",Right:\"Right\",Center:\"Center\"};a.GridSpan=o.createType(\"sap.ui.layout.GridSpan\",{isValid:function(o){return/^(([Xx][Ll](?:[1-9]|1[0-2]))? ?([Ll](?:[1-9]|1[0-2]))? ?([Mm](?:[1-9]|1[0-2]))? ?([Ss](?:[1-9]|1[0-2]))?)$/.test(o)}},o.getType(\"string\"));a.BlockBackgroundType={Default:\"Default\",Light:\"Light\",Mixed:\"Mixed\",Accent:\"Accent\",Dashboard:\"Dashboard\"};a.BlockRowColorSets={ColorSet1:\"ColorSet1\",ColorSet2:\"ColorSet2\",ColorSet3:\"ColorSet3\",ColorSet4:\"ColorSet4\"};a.BlockLayoutCellColorSet={ColorSet1:\"ColorSet1\",ColorSet2:\"ColorSet2\",ColorSet3:\"ColorSet3\",ColorSet4:\"ColorSet4\",ColorSet5:\"ColorSet5\",ColorSet6:\"ColorSet6\",ColorSet7:\"ColorSet7\",ColorSet8:\"ColorSet8\",ColorSet9:\"ColorSet9\",ColorSet10:\"ColorSet10\",ColorSet11:\"ColorSet11\"};a.BlockLayoutCellColorShade={ShadeA:\"ShadeA\",ShadeB:\"ShadeB\",ShadeC:\"ShadeC\",ShadeD:\"ShadeD\",ShadeE:\"ShadeE\",ShadeF:\"ShadeF\"};a.form=a.form||{};a.form.GridElementCells=o.createType(\"sap.ui.layout.form.GridElementCells\",{isValid:function(o){return/^(auto|full|([1-9]|1[0-6]))$/.test(o)}},o.getType(\"string\"));a.form.SimpleFormLayout={ResponsiveLayout:\"ResponsiveLayout\",GridLayout:\"GridLayout\",ResponsiveGridLayout:\"ResponsiveGridLayout\",ColumnLayout:\"ColumnLayout\"};a.SideContentVisibility={AlwaysShow:\"AlwaysShow\",ShowAboveL:\"ShowAboveL\",ShowAboveM:\"ShowAboveM\",ShowAboveS:\"ShowAboveS\",NeverShow:\"NeverShow\"};a.SideContentFallDown={BelowXL:\"BelowXL\",BelowL:\"BelowL\",BelowM:\"BelowM\",OnMinimumWidth:\"OnMinimumWidth\"};a.SideContentPosition={End:\"End\",Begin:\"Begin\"};a.form.ColumnsXL=o.createType(\"sap.ui.layout.form.ColumnsXL\",{isValid:function(o){if(o>0&&o<=6){return true}else{return false}}},o.getType(\"int\"));a.form.ColumnsL=o.createType(\"sap.ui.layout.form.ColumnsL\",{isValid:function(o){if(o>0&&o<=4){return true}else{return false}}},o.getType(\"int\"));a.form.ColumnsM=o.createType(\"sap.ui.layout.form.ColumnsM\",{isValid:function(o){if(o>0&&o<=3){return true}else{return false}}},o.getType(\"int\"));a.form.ColumnCells=o.createType(\"sap.ui.layout.form.ColumnCells\",{isValid:function(o){if(o===-1){return true}else if(o>0&&o<=12){return true}else{return false}}},o.getType(\"int\"));a.form.EmptyCells=o.createType(\"sap.ui.layout.form.EmptyCells\",{isValid:function(o){if(o>=0&&o<12){return true}else{return false}}},o.getType(\"int\"));if(!a.GridHelper){a.GridHelper={getLibrarySpecificClass:function(){return\"\"},bFinal:false}}a.cssgrid=a.cssgrid||{};a.cssgrid.CSSGridTrack=o.createType(\"sap.ui.layout.cssgrid.CSSGridTrack\",{isValid:function(o){var e=/(auto|inherit|(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%))|calc\\(\\s*(\\(\\s*)*[-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%)?)(\\s*(\\)\\s*)*(\\s[-+]\\s|[*\\/])\\s*(\\(\\s*)*([-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%)?)))*\\s*(\\)\\s*)*\\))/g;o=o.replace(/(minmax|repeat|fit-content|max-content|min-content|auto-fill|auto-fit|fr|min|max)/g,\"\");o=o.replace(e,\"\");o=o.replace(/\\(|\\)|\\+|\\-|\\*|\\/|calc|\\%|\\,/g,\"\");o=o.replace(/[0-9]/g,\"\");o=o.replace(/\\s/g,\"\");return o.length===0},parseValue:function(o){return o.trim().split(/\\s+/).join(\" \")}},o.getType(\"string\"));a.cssgrid.CSSGridGapShortHand=o.createType(\"sap.ui.layout.cssgrid.CSSGridGapShortHand\",{},o.getType(\"sap.ui.core.CSSGapShortHand\"));a.cssgrid.CSSGridLine=o.createType(\"sap.ui.layout.cssgrid.CSSGridLine\",{isValid:function(o){return/^(auto|inherit|((span)?(\\s)?-?[0-9]+(\\s\\/\\s(span)?(\\s)?-?[0-9]*)?)?)$/.test(o)}},o.getType(\"string\"));a.cssgrid.CSSGridAutoFlow={Row:\"Row\",Column:\"Column\",RowDense:\"RowDense\",ColumnDense:\"ColumnDense\"};a.BoxesPerRowConfig=o.createType(\"sap.ui.layout.BoxesPerRowConfig\",{isValid:function(o){return/^(([Xx][Ll](?:[1-9]|1[0-2]))? ?([Ll](?:[1-9]|1[0-2]))? ?([Mm](?:[1-9]|1[0-2]))? ?([Ss](?:[1-9]|1[0-2]))?)$/.test(o)}},o.getType(\"string\"));o.registerEnum(\"sap.ui.layout.BackgroundDesign\",a.BackgroundDesign);o.registerEnum(\"sap.ui.layout.BlockBackgroundType\",a.BlockBackgroundType);o.registerEnum(\"sap.ui.layout.BlockLayoutCellColorSet\",a.BlockLayoutCellColorSet);o.registerEnum(\"sap.ui.layout.BlockLayoutCellColorShade\",a.BlockLayoutCellColorShade);o.registerEnum(\"sap.ui.layout.BlockRowColorSets\",a.BlockRowColorSets);o.registerEnum(\"sap.ui.layout.GridPosition\",a.GridPosition);o.registerEnum(\"sap.ui.layout.SideContentFallDown\",a.SideContentFallDown);o.registerEnum(\"sap.ui.layout.SideContentPosition\",a.SideContentPosition);o.registerEnum(\"sap.ui.layout.SideContentVisibility\",a.SideContentVisibility);o.registerEnum(\"sap.ui.layout.form.SimpleFormLayout\",a.form.SimpleFormLayout);o.registerEnum(\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",a.cssgrid.CSSGridAutoFlow);return a});\nsap.ui.require.preload({\n\t\"sap/ui/layout/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"id\":\"sap.ui.layout\",\"type\":\"library\",\"embeds\":[],\"applicationVersion\":{\"version\":\"1.139.0\"},\"title\":\"SAPUI5 library with layout controls.\",\"description\":\"SAPUI5 library with layout controls.\",\"ach\":\"CA-UI5-CTR\",\"resources\":\"resources.json\",\"offline\":true},\"sap.ui\":{\"technology\":\"UI5\",\"supportedThemes\":[\"base\",\"sap_hcb\"]},\"sap.ui5\":{\"dependencies\":{\"minUI5Version\":\"1.139\",\"libs\":{\"sap.ui.core\":{\"minVersion\":\"1.139.0\"}}},\"library\":{\"i18n\":{\"bundleUrl\":\"messagebundle.properties\",\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-sappsd\",\"en-US-saprigi\",\"en-US-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]},\"content\":{\"controls\":[\"sap.ui.layout.AlignedFlowLayout\",\"sap.ui.layout.DynamicSideContent\",\"sap.ui.layout.FixFlex\",\"sap.ui.layout.Grid\",\"sap.ui.layout.HorizontalLayout\",\"sap.ui.layout.ResponsiveFlowLayout\",\"sap.ui.layout.ResponsiveSplitter\",\"sap.ui.layout.ResponsiveSplitterPage\",\"sap.ui.layout.Splitter\",\"sap.ui.layout.VerticalLayout\",\"sap.ui.layout.BlockLayoutCell\",\"sap.ui.layout.BlockLayoutRow\",\"sap.ui.layout.BlockLayout\",\"sap.ui.layout.form.Form\",\"sap.ui.layout.form.FormLayout\",\"sap.ui.layout.form.GridLayout\",\"sap.ui.layout.form.ColumnLayout\",\"sap.ui.layout.form.ResponsiveGridLayout\",\"sap.ui.layout.form.ResponsiveLayout\",\"sap.ui.layout.form.SimpleForm\",\"sap.ui.layout.cssgrid.CSSGrid\"],\"elements\":[\"sap.ui.layout.BlockLayoutCellData\",\"sap.ui.layout.GridData\",\"sap.ui.layout.ResponsiveFlowLayoutData\",\"sap.ui.layout.SplitterLayoutData\",\"sap.ui.layout.form.FormContainer\",\"sap.ui.layout.form.FormElement\",\"sap.ui.layout.form.GridContainerData\",\"sap.ui.layout.PaneContainer\",\"sap.ui.layout.SplitPane\",\"sap.ui.layout.form.GridElementData\",\"sap.ui.layout.form.ColumnElementData\",\"sap.ui.layout.form.ColumnContainerData\",\"sap.ui.layout.cssgrid.GridItemLayoutData\"],\"types\":[\"sap.ui.layout.BackgroundDesign\",\"sap.ui.layout.BlockBackgroundType\",\"sap.ui.layout.BlockLayoutCellColorSet\",\"sap.ui.layout.BlockLayoutCellColorShade\",\"sap.ui.layout.BlockRowColorSets\",\"sap.ui.layout.BoxesPerRowConfig\",\"sap.ui.layout.GridIndent\",\"sap.ui.layout.GridPosition\",\"sap.ui.layout.GridSpan\",\"sap.ui.layout.SideContentFallDown\",\"sap.ui.layout.SideContentPosition\",\"sap.ui.layout.SideContentVisibility\",\"sap.ui.layout.form.ColumnsXL\",\"sap.ui.layout.form.ColumnsL\",\"sap.ui.layout.form.ColumnsM\",\"sap.ui.layout.form.ColumnCells\",\"sap.ui.layout.form.EmptyCells\",\"sap.ui.layout.form.GridElementCells\",\"sap.ui.layout.form.SimpleFormLayout\",\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",\"sap.ui.layout.cssgrid.CSSGridTrack\",\"sap.ui.layout.cssgrid.CSSGridLine\",\"sap.ui.layout.cssgrid.CSSGridGapShortHand\"],\"interfaces\":[\"sap.ui.layout.cssgrid.IGridConfigurable\",\"sap.ui.layout.cssgrid.IGridItemLayoutData\"]}}}}'\n});\n//# sourceMappingURL=library-preload.js.map\n" Copyright 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_ConcatHelper\", [\"./_AggregationHelper\"],function(e){\"use strict\";return{enhanceCache:function(t,n,s,i){var u;t.getResourcePathWithQuery=function(t,s){var a=e.buildApply(n,Object.assign({},this.mQueryOptions,{$skip:t,$top:s-t}),1,u,i);u=true;return this.sResourcePath+this.oRequestor.buildQueryString(this.sMetaPath,a,false,true)};t.handleResponse=function(e){s.forEach(function(t){var n;if(t){n=e.value.shift();if(\"UI5__count\"in n){e[\"@odata.count\"]=n.UI5__count}t(n)}});delete this.handleResponse;return this.handleResponse.apply(this,arguments)}}}},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_GroupLock\", [\"sap/ui/base/SyncPromise\"],function(i){\"use strict\";function e(i,e,o,t,n,r){if(!e){throw new Error(\"Missing owner\")}if(t&&!o){throw new Error(\"A modifying group lock has to be locked\")}this.fnCancel=r;this.bCanceled=false;this.sGroupId=i;this.bLocked=!!o;this.bModifying=!!t;this.oOwner=e;this.oPromise=null;this.iSerialNumber=n===undefined?Infinity:n}e.prototype.cancel=function(){if(!this.bCanceled){this.bCanceled=true;if(this.fnCancel){this.fnCancel()}this.unlock(true)}};e.prototype.getGroupId=function(){return this.sGroupId};e.prototype.getOwner=function(){return this.oOwner};e.prototype.getSerialNumber=function(){return this.iSerialNumber};e.prototype.getUnlockedCopy=function(i){return new e(this.sGroupId,this.oOwner,false,false,i?NaN:this.iSerialNumber)};e.prototype.isCanceled=function(){return this.bCanceled};e.prototype.isLocked=function(){return this.bLocked};e.prototype.isModifying=function(){return this.bModifying};e.prototype.toString=function(){return\"sap.ui.model.odata.v4.lib._GroupLock(group=\"+this.sGroupId+\", owner=\"+this.oOwner+(this.isLocked()?\", locked\":\"\")+(this.isModifying()?\", modifying\":\"\")+(this.iSerialNumber!==Infinity?\", serialNumber=\"+this.iSerialNumber:\"\")+\")\"};e.prototype.unlock=function(i){if(this.bLocked===undefined&&!i){throw new Error(\"GroupLock unlocked twice\")}this.bLocked=undefined;if(this.oPromise){this.oPromise.$resolve()}};e.prototype.waitFor=function(e){var o;if(this.bLocked&&this.sGroupId===e){if(!this.oPromise){this.oPromise=new i(function(i){o=i});this.oPromise.$resolve=o}return this.oPromise}};e.$cached=new e(\"$cached\",\"sap.ui.model.odata.v4.lib._GroupLock\");e.$cached.unlock=function(){};return e},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_Helper\", [\"./_Parser\",\"sap/base/Log\",\"sap/base/util/deepEqual\",\"sap/base/util/isEmptyObject\",\"sap/base/util/merge\",\"sap/base/util/uid\",\"sap/ui/base/SyncPromise\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/thirdparty/URI\"],function(e,t,n,r,i,a,u,o,s,f){\"use strict\";var c=/&/g,l=/^\\w+$/,d=\"sap.ui.model.odata.v4.lib._Helper\",p=/\\=/g,g=/%29/g,h=/%28/g,y=/%27/g,$=/^(\\$auto(\\.\\w+)?|\\$direct|\\w+)$/,v=/#/g,m=/\\([^/]*|\\/-?\\d+/g,P=/\\+/g,b=/'/g,E=/''/g,A=/\\s+/g,j;function x(e){return e.replace(y,\"'\").replace(h,\"(\").replace(g,\")\")}j={addByPath:function(e,t,n){if(n){if(!e[t]){e[t]=[n]}else if(!e[t].includes(n)){e[t].push(n)}}},addChildrenWithAncestor:function(e,t,n){if(t.length){e.forEach(function(e){var r;if(t.includes(e)){n[e]=true;return}r=e.split(\"/\");r.pop();while(r.length){if(t.indexOf(r.join(\"/\"))>=0){n[e]=true;break}r.pop()}})}},addPromise:function(e){return new u(function(t,n){j.setPrivateAnnotation(e,\"reject\",n)})},addToCount:function(e,t,n,r){if(n.$count!==undefined){j.setCount(e,t,n,n.$count+r)}},addToSelect:function(e,t){e.$select??=[];t.forEach(function(t){if(!e.$select.includes(t)){e.$select.push(t)}})},adjustTargets:function(e,t,n,r,i){var a=\"additionalTargets\"in e?\"additionalTargets\":j.getAnnotationKey(e,\".additionalTargets\"),u;u=[e.target].concat(e[a]).map(function(e){return e&&j.getAdjustedTarget(e,t,n,r,i)}).filter(function(e){return e});e.target=u[0];if(a){e[a]=u.slice(1)}},adjustTargetsInError:function(e,t,n,r){if(!e.error){return}j.adjustTargets(e.error,t,n,r);if(e.error.details){e.error.details.forEach(function(e){j.adjustTargets(e,t,n,r)})}},aggregateExpandSelect:function(e,t){if(t.$select){j.addToSelect(e,t.$select)}if(t.$expand){e.$expand??={};Object.keys(t.$expand).forEach(function(n){if(e.$expand[n]){j.aggregateExpandSelect(e.$expand[n],t.$expand[n])}else{e.$expand[n]=t.$expand[n]}})}},buildPath:function(){var e=\"\",t,n;for(n=0;n<arguments.length;n+=1){t=arguments[n];if(t||t===0){if(e&&e!==\"/\"&&t[0]!==\"(\"){e+=\"/\"}e+=t}}return e},buildQuery:function(e,t){var n,r;if(!e){return\"\"}n=Object.keys(e);if(n.length===0){return\"\"}if(t){n=n.filter(e=>e[0]!==\"$\").concat(n.filter(e=>e[0]===\"$\").sort())}r=[];n.forEach(function(t){var n=e[t];if(Array.isArray(n)){n.forEach(function(e){r.push(j.encodePair(t,e))})}else{r.push(j.encodePair(t,n))}});return\"?\"+r.join(\"&\")},buildSelect:function(e){var t={};if(!e||e.includes(\"*\")){return true}e.forEach(function(e){var n=e.split(\"/\"),r=n.length-1,i=t;n.some(function(e,t){if(t===r||n[t+1]===\"*\"){i[e]=true;return true}if(i[e]===true){return true}i=i[e]??={}})});return t},cancelNestedCreates:function(e,t){Object.keys(e).forEach(function(n){var r,i=e[n];if(i&&i.$postBodyCollection){r=new Error(t);r.canceled=true;i.forEach(function(e){j.getPrivateAnnotation(e,\"reject\")(r);j.cancelNestedCreates(e,t)})}})},checkGroupId:function(e,t,n,r){if(!t&&e===undefined||typeof e===\"string\"&&(t?l:$).test(e)||n&&e===\"$single\"){return}throw new Error((r||\"Invalid group ID: \")+e)},clone:function e(t,n,r){var i;if(t===undefined||t===Infinity||t===-Infinity||Number.isNaN(t)){return t}i=JSON.stringify(t,n);return r?i:JSON.parse(i)},cloneNo$:function e(t){return j.clone(t,function(e,t){return e[0]===\"$\"?undefined:t})},convertExpandSelectToPaths:function(e){var t=[];function n(e,r){if(e.$select){e.$select.forEach(function(e){t.push(j.buildPath(r,e))})}if(e.$expand){Object.keys(e.$expand).forEach(function(t){n(e.$expand[t],j.buildPath(r,t))})}}n(e,\"\");return t},copyPrivateAnnotation:function(e,t,n){if(j.hasPrivateAnnotation(e,t)){if(j.hasPrivateAnnotation(n,t)){throw new Error(\"Must not overwrite: \"+t)}j.setPrivateAnnotation(n,t,j.getPrivateAnnotation(e,t))}},copySelected:function(e,t){if(e[\"@$ui5.context.isSelected\"]){t[\"@$ui5.context.isSelected\"]=true}},createError:function(e,n,r,i){var a=e.responseText,u=e.getResponseHeader(\"Content-Type\"),o,s=new Error(n+\": \"+e.status+\" \"+e.statusText),f=e.getResponseHeader(\"Retry-After\"),c;s.status=e.status;s.statusText=e.statusText;s.requestUrl=r;s.resourcePath=i;if(e.status===0){s.message=\"Network error\";return s}u&&=u.split(\";\")[0];if(e.status===412){o=e.getResponseHeader(\"Preference-Applied\");if(o&&o.replace(A,\"\")===\"handling=strict\"){s.strictHandlingFailed=true}else{s.isConcurrentModification=true}}if(f){c=parseInt(f);s.retryAfter=new Date(Number.isNaN(c)?f:Date.now()+c*1e3)}if(u===\"application/json\"){try{s.error=JSON.parse(a).error;s.message=s.error.message;if(typeof s.message===\"object\"){s.message=s.error.message.value}}catch(e){t.warning(e.toString(),a,d)}}else if(u===\"text/plain\"){s.message=a}return s},createGetMethod:function(e,t){return function(){var n=this[e].apply(this,arguments);if(n.isFulfilled()){return n.getResult()}else if(t){if(n.isRejected()){n.caught();throw n.getResult()}else{throw new Error(\"Result pending\")}}}},createMissing:function(e,t){t.reduce(function(e,n,r){if(!(n in e)){if(r+1<t.length){e[n]={}}else{e[n]=undefined;e[n+\"@$ui5.noData\"]=true}}return e[n]},e)},createRequestMethod:function(e){return function(){return Promise.resolve(this[e].apply(this,arguments))}},createTechnicalDetails:function(e){var t,n=e[\"@$ui5.error\"],r=e[\"@$ui5.originalMessage\"]||e,i={};if(n&&(n.status||n.cause)){n=n.cause||n;i.httpStatus=n.status;if(n.isConcurrentModification){i.isConcurrentModification=true}if(n.retryAfter){i.retryAfter=n.retryAfter}}if(!(r instanceof Error)){Object.defineProperty(i,\"originalMessage\",{enumerable:true,get:function(){t??=j.publicClone(r);return t}})}return i},decomposeError:function(e,t,n){var r=e.error.details&&e.error.details.map(function(e){return j.getContentID(e)}),i=j.getContentID(e.error);return t.map(function(t,a){var u=new Error(e.message);function o(e,n){if(a===0&&!n){if(e.target){e.message=e.target+\": \"+e.message}delete e.target;return true}return n===t.$ContentID}u.decomposed=true;u.error=j.clone(e.error);u.requestUrl=n+t.url;u.resourcePath=t.$resourcePath;u.status=e.status;u.statusText=e.statusText;if(!o(u.error,i)){u.error.$ignoreTopLevel=true}if(e.strictHandlingFailed){u.strictHandlingFailed=true}u.error.details&&=u.error.details.filter(function(e,t){return o(e,r[t])});return u})},deepEqual:n,deletePrivateAnnotation:function(e,t){var n=e[\"@$ui5._\"];if(n){delete n[t]}},deleteProperty:function(e,t){var n;if(t.includes(\"/\")){n=t.split(\"/\");t=n.pop();e=j.drillDown(e,n);if(!e){return}}delete e[t]},deleteUpdating:function(e,t){var n=t;e.split(\"/\").some(function(e){var t=n[e];if(t===null||Array.isArray(t)){return true}if(typeof t===\"object\"){n=t;return false}delete n[e+\"@$ui5.updating\"]})},drillDown:function(e,t){if(typeof t===\"string\"){t=t.split(\"/\")}return t.reduce(function(e,t){return e&&t in e?e[t]:undefined},e)},encode:function(e,t){var n=encodeURI(e).replace(c,\"%26\").replace(v,\"%23\").replace(P,\"%2B\");if(t){n=n.replace(p,\"%3D\")}return n},encodePair:function(e,t){return j.encode(e,true)+\"=\"+j.encode(t,false)},extractMergeableQueryOptions:function(e){var t={};if(\"$expand\"in e){t.$expand=e.$expand;e.$expand=\"~\"}if(\"$select\"in e){t.$select=e.$select;e.$select=\"~\"}return t},extractMessages:function(e){var t=[];function n(n,r,i){var a={additionalTargets:j.getAdditionalTargets(n),code:n.code,message:n.message,numericSeverity:r,technical:i||n.technical,\"@$ui5.error\":e,\"@$ui5.originalMessage\":n};Object.keys(n).forEach(function(t){if(t[0]===\"@\"){if(t.endsWith(\".numericSeverity\")){a.numericSeverity=n[t]}else if(t.endsWith(\".longtextUrl\")&&e.requestUrl&&n[t]){a.longtextUrl=j.makeAbsolute(n[t],e.requestUrl)}}});if(typeof n.target===\"string\"){if(n.target[0]===\"$\"||!e.resourcePath){a.message=n.target+\": \"+n.message}else{a.target=n.target}}a.transition=true;t.push(a)}if(e.error){if(!e.error.$ignoreTopLevel){n(e.error,4,true)}if(e.error.details){e.error.details.forEach(function(e){n(e)})}}else{n(e,4,true)}return t},fetchPropertyAndType:function(e,t){return e(t).then(function(n){if(n&&n.$kind===\"NavigationProperty\"){return e(t+\"/\").then(function(){return n})}return n})},filterPaths:function(e,t){return t.filter(function(t){var n=j.getMetaPath(t);return e.every(function(e){return!j.hasPathPrefix(n,e)})})},fireChange:function(e,t,n,r,i){function a(e,t){for(let n=0;n<e.length;n+=1){e[n].onChange(t,r)}}if(!e){return}if(t in e){a(e[t],n)}if(i){t+=\"/\";Object.keys(e).filter(e=>e.startsWith(t)).forEach(t=>a(e[t]))}},fireChanges:function(e,t,n,r){Object.keys(n).forEach(function(i){var a=j.buildPath(t,i),u=n[i];if(u&&typeof u===\"object\"){j.fireChanges(e,a,u,r)}else{j.fireChange(e,a,r?undefined:u)}});j.fireChange(e,t,r?undefined:n)},formatLiteral:function(e,t){if(e===undefined){throw new Error(\"Illegal value: undefined\")}if(e===null){return\"null\"}switch(t){case\"Edm.Binary\":return\"binary'\"+e+\"'\";case\"Edm.Boolean\":case\"Edm.Byte\":case\"Edm.Double\":case\"Edm.Int16\":case\"Edm.Int32\":case\"Edm.SByte\":case\"Edm.Single\":return String(e);case\"Edm.Date\":case\"Edm.DateTimeOffset\":case\"Edm.Decimal\":case\"Edm.Guid\":case\"Edm.Int64\":case\"Edm.TimeOfDay\":return e;case\"Edm.Duration\":return\"duration'\"+e+\"'\";case\"Edm.String\":return\"'\"+String(e).replace(b,\"''\")+\"'\";default:throw new Error(\"Unsupported type: \"+t)}},getAdditionalTargets:function(e){return j.getAnnotation(e,\".additionalTargets\")},getAdjustedTarget:function(e,t,n,r,i){var a,u,o;o=e.split(\"/\");u=o.shift();if(u===\"$Parameter\"){e=o.join(\"/\");u=o.shift()}else if(i){return\"/\"+i+\"/\"+e}if(t.$IsBound&&u===t.$Parameter[0].$Name){e=j.buildPath(r,o.join(\"/\"));return e}if(!n){return e}a=t.$Parameter.some(function(e){return u===e.$Name});if(a){e=n+\"/\"+e;return e}},getAnnotation:function(e,t){var n=j.getAnnotationKey(e,t);return n&&e[n]},getAnnotationKey:function(e,n,r){var i,a,u=(r||\"\")+\"@\";Object.keys(e).forEach(function(e){if(e.startsWith(u)&&e.endsWith(n)){if(i){t.warning(\"Cannot distinguish \"+i+\" from \"+e,undefined,d);a=true}i=e}});return a?undefined:i},getContentID:function(e){return j.getAnnotation(e,\".ContentID\")},getFilterForPredicate:function(t,n,r,i,a){var u,f=e.parseKeyPredicate(t);if(\"\"in f){f[n.$Key[0]]=f[\"\"];delete f[\"\"]}u=(a?Object.keys(f):n.$Key).map(function(e){var t,n;if(typeof e===\"string\"){n=t=e}else{t=Object.keys(e)[0];n=e[t]}return new o(n,s.EQ,j.parseLiteral(decodeURIComponent(f[t]),r.getObject(i+\"/\"+n+\"/$Type\"),n))});return u.length===1?u[0]:new o({and:true,filters:u})},getKeyFilter:function(e,t,n,r){var i=[],a,u=j.getKeyProperties(e,t,n,r);if(!u){return undefined}for(a in u){i.push(a+\" eq \"+u[a])}return i.join(\" and \")},getKeyPredicate:function(e,t,n,r,i){var a=j.getKeyProperties(e,t,n,r,true);if(!a){return undefined}r=Object.keys(a).map(function(e,t,n){var r=encodeURIComponent(a[e]);return i||n.length>1?encodeURIComponent(e)+\"=\"+r:r});return\"(\"+r.join(\",\")+\")\"},getKeyProperties:function(e,t,n,r,i){var a,u={};r??=n[t].$Key;a=r.some(function(r){var a,o,s,f,c,l,d;if(typeof r===\"string\"){a=o=r}else{a=Object.keys(r)[0];o=r[a];if(!i){a=o}}c=o.split(\"/\");f=c.pop();s=j.drillDown(e,c);d=s[f];if(d===undefined||f+\"@odata.type\"in s){return true}l=n[j.buildPath(t,c.join(\"/\"))];d=j.formatLiteral(d,l[f].$Type);u[a]=d});return a?undefined:u},getMetaPath:function(e){if(e[0]===\"/\"){return e.replace(m,\"\")}if(e[0]!==\"(\"){e=\"/\"+e}return e.replace(m,\"\").slice(1)},getMissingPropertyPaths:function(e,t){return(t.$select||[]).concat(Object.keys(t.$expand||{})).filter(function(t){return j.isMissingProperty(e,t)})},getPredicateIndex:function(e){var t=e?e.indexOf(\"(\",e.lastIndexOf(\"/\")):-1;if(t<0||!e.endsWith(\")\")){throw new Error(\"Not a list context path to an entity: \"+e)}return t},getPredicates:function(e){var t,n=e.map(r);function r(e){var n=j.getPrivateAnnotation(e.getValue(),\"predicate\");if(!n){t=true}return n}return t?null:n},getPrivateAnnotation:function(e,t,n){const r=e[\"@$ui5._\"]?.[t];return r===undefined?n:r},getQueryOptionsForPath:function(e,t){t=j.getMetaPath(t);if(t){t.split(\"/\").some(function(t){e&&=e.$expand&&e.$expand[t];if(!e||e===true){e={};return true}})}return e||{}},getRelativePath:function(e,t){if(t.length){if(!e.startsWith(t)){return undefined}e=e.slice(t.length);if(e){if(e[0]===\"/\"){return e.slice(1)}if(e[0]!==\"(\"){return undefined}}}return e},hasPathPrefix:function(e,t){return j.getRelativePath(e,t)!==undefined},hasPathSuffix:function(e,t){return e.endsWith(t)&&(t.startsWith(\"(\")||e.at(-(t.length+1))===\"/\")},hasPrivateAnnotation:function(e,t){var n=e[\"@$ui5._\"];return n?t in n:false},informAll:function(e,t,n,r,i){if(r===n){return}if(r&&typeof r===\"object\"){Object.keys(r).forEach(function(a){j.informAll(e,j.buildPath(t,a),n&&n[a],r[a],i)})}else{j.fireChange(e,t,!i&&r===undefined?null:r);r={}}if(n&&typeof n===\"object\"){Object.keys(n).forEach(function(a){if(!Object.hasOwn(r,a)){j.informAll(e,j.buildPath(t,a),n[a],undefined,i)}})}},inheritPathValue:function(e,t,n,r){e.forEach(function(i,a){var u=!(i in n)||r&&n[i]===null;if(a+1<e.length){if(u){n[i]={}}t=t[i];n=n[i]}else if(u){if(t[i+\"@$ui5.noData\"]){n[i+\"@$ui5.noData\"]=true}n[i]=t[i]}})},insert:function(e,t,n){if(t>=e.length){e[t]=n}else{e.splice(t,0,n)}},intersectQueryOptions:function(e,t,n,i,a,u){var o=[],s={},f=u&&n(i+\"/@com.sap.vocabularies.Common.v1.Messages/$Path\").getResult(),c,l,d,p={};function g(e,t){var r=t.split(\"/\");return r.every(function(t,a){return a===0&&e||t===\"$count\"||n(i+\"/\"+r.slice(0,a+1).join(\"/\")).getResult().$kind===\"Property\"})}if(t.indexOf(\"\")>=0){throw new Error(\"Unsupported empty navigation property path\")}if(t.indexOf(\"*\")>=0){d=(e&&e.$select||[]).slice();if(f&&!d.includes(f)){d.push(f)}}else if(e&&e.$select&&e.$select.indexOf(\"*\")<0){j.addChildrenWithAncestor(t,e.$select,p);j.addChildrenWithAncestor(e.$select,t,p);if(f&&t.includes(f)){p[f]=true}d=Object.keys(p).filter(g.bind(null,true))}else{d=t.filter(g.bind(null,false))}if(e&&e.$expand){o=Object.keys(e.$expand);o.forEach(function(u){var o,f=i+\"/\"+u,c=j.buildPath(a,u),l={},d;j.addChildrenWithAncestor([u],t,l);if(!r(l)){s[u]=e.$expand[u];return}d=j.stripPathPrefix(u,t);if(d.length){if(n(f).getResult().$isCollection){throw new Error(\"Unsupported collection-valued navigation property \"+f)}o=j.intersectQueryOptions(e.$expand[u]||{},d,n,f,c);if(o){s[u]=o}}})}if(!d.length&&r(s)){return null}c=Object.assign({},e,{$select:d});l=n(i).getResult();if(l.$kind===\"NavigationProperty\"&&!l.$isCollection){j.selectKeyProperties(c,n(i+\"/\").getResult())}if(r(s)){delete c.$expand}else{c.$expand=s}return c},isDataAggregation:function(e){return e&&e.$$aggregation&&!e.$$aggregation.hierarchyQualifier},isEmptyObject:r,isMissingProperty:function(e,t){var n=t.split(\"/\");function r(e,t){var i;if(Array.isArray(e)){return e.some(function(e){return r(e,t)})}i=e[n[t]];if(i&&typeof i===\"object\"&&t+1<n.length){return r(i,t+1)}return i===undefined}if(t.includes(\"*\")){throw new Error(\"Unsupported property path \"+t)}return r(e,0)},isSafeInteger:function(e){if(typeof e!==\"number\"||!isFinite(e)){return false}e=Math.abs(e);return e<=9007199254740991&&Math.floor(e)===e},isSelected:function(e,t){var n,r;if(!t){return false}if(t.$expand){for(n in t.$expand){r=j.getRelativePath(e,n);if(r){return j.isSelected(r,t.$expand[n])}}}return!t.$select||t.$select.includes(\"*\")||t.$select.some(function(t){return j.hasPathPrefix(e,t)})},makeAbsolute:function(e,t){return x(new f(e).absoluteTo(t).toString())},makeRelativeUrl:function(e,t){return x(new f(e).relativeTo(t).toString())},makeUpdateData:function(e,t,n){return e.reduceRight(function(e,t){var r={};r[t]=e;if(n){r[t+\"@$ui5.updating\"]=true;n=false}return r},t)},merge:i,mergeQueryOptions:function(e,t,n){var r;function i(t,n){if(n&&e?.[t]!==n){r??={...e};r[t]=n}}i(\"$orderby\",t);if(n){i(\"$filter\",n[0]);i(\"$$filterBeforeAggregate\",n[1]);i(\"$$filterOnAggregate\",n[2])}return r||e},namespace:function(e){var t;e=e.split(\" Copyright 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/Calendar\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/core/LocaleData\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/DateTypeRange\",\"./calendar/Header\",\"./calendar/Month\",\"./calendar/MonthPicker\",\"./calendar/YearPicker\",\"./calendar/YearRangePicker\",\"./calendar/CalendarDate\",\"sap/ui/core/date/UniversalDate\",\"sap/ui/core/date/UI5Date\",\"./library\",\"sap/ui/Device\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/ResizeHandler\",\"sap/ui/core/Locale\",\"sap/ui/events/KeyCodes\",\"./CalendarRenderer\",\"sap/ui/dom/containsOrEquals\",\"sap/base/util/deepEqual\",\"sap/base/Log\",\"sap/base/i18n/date/CalendarWeekNumbering\"],function(e,t,a,i,r,s,n,o,h,g,l,d,u,c,_,p,f,D,y,m,M,P,v,C,S,T,k){\"use strict\";var b=i.extend(\"sap.ui.unified.Calendar\",{metadata:{library:\"sap.ui.unified\",designtime:\"sap/ui/unified/designtime/Calendar.designtime\",properties:{intervalSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:false},singleSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:true},months:{type:\"int\",group:\"Appearance\",defaultValue:1},firstDayOfWeek:{type:\"int\",group:\"Appearance\",defaultValue:-1},nonWorkingDays:{type:\"int[]\",group:\"Appearance\",defaultValue:null},primaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},secondaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},minDate:{type:\"object\",group:\"Misc\",defaultValue:null},maxDate:{type:\"object\",group:\"Misc\",defaultValue:null},showWeekNumbers:{type:\"boolean\",group:\"Appearance\",defaultValue:true},showCurrentDateButton:{type:\"boolean\",group:\"Behavior\",defaultValue:false},_currentPicker:{type:\"string\",group:\"Appearance\",visibility:\"hidden\"},calendarWeekNumbering:{type:\"sap.base.i18n.date.CalendarWeekNumbering\",group:\"Appearance\",defaultValue:null},initialFocusedDate:{type:\"object\",group:\"Data\",defaultValue:null}},aggregations:{selectedDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"selectedDate\"},specialDates:{type:\"sap.ui.unified.DateTypeRange\",multiple:true,singularName:\"specialDate\"},disabledDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"disabledDate\"},header:{type:\"sap.ui.core.Control\",multiple:false,visibility:\"hidden\"},secondMonthHeader:{type:\"sap.ui.unified.calendar.Header\",multiple:false,visibility:\"hidden\"},month:{type:\"sap.ui.unified.calendar.Month\",multiple:true,visibility:\"hidden\"},monthPicker:{type:\"sap.ui.unified.calendar.MonthPicker\",multiple:false,visibility:\"hidden\"},yearPicker:{type:\"sap.ui.unified.calendar.YearPicker\",multiple:false,visibility:\"hidden\"},yearRangePicker:{type:\"sap.ui.unified.calendar.YearPicker\",multiple:false,visibility:\"hidden\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"},legend:{type:\"sap.ui.unified.CalendarLegend\",multiple:false}},events:{select:{},cancel:{},startDateChange:{},weekNumberSelect:{allowPreventDefault:true,parameters:{weekNumber:{type:\"int\"},weekDays:{type:\"sap.ui.unified.DateRange\"}}}}},renderer:v});var Y={MONTH:\"month\",MONTH_PICKER:\"monthPicker\",YEAR_PICKER:\"yearPicker\",YEAR_RANGE_PICKER:\"yearRangePicker\"};b.prototype.init=function(){this._iBreakPointTablet=D.media._predefinedRangeSets[D.media.RANGESETS.SAP_STANDARD_EXTENDED].points[0];this._iBreakPointDesktop=D.media._predefinedRangeSets[D.media.RANGESETS.SAP_STANDARD_EXTENDED].points[1];this._iBreakPointLargeDesktop=D.media._predefinedRangeSets[D.media.RANGESETS.SAP_STANDARD_EXTENDED].points[2];this._iColumns=1;this.setProperty(\"_currentPicker\",Y.MONTH_PICKER);this._oYearFormat=y.getDateInstance({format:\"y\",calendarType:this._getPrimaryCalendarType()});this.data(\"sap-ui-fastnavgroup\",\"true\",true);this._oMinDate=n._minDate(this._getPrimaryCalendarType());this._oMaxDate=n._maxDate(this._getPrimaryCalendarType());this._initializeHeader();this._initializeSecondMonthHeader();var e=this._createMonth(this.getId()+\"--Month0\");e.attachEvent(\"focus\",this._handleFocus,this);e.attachEvent(\"select\",L,this);e.attachEvent(\"_renderMonth\",F,this);e.attachEvent(\"_bindMousemove\",I,this);e.attachEvent(\"_unbindMousemove\",N,this);e._bNoThemeChange=true;this.addAggregation(\"month\",e);this._initializeMonthPicker();this._initializeYearPicker();this._initializeYearRangePicker();this._resizeProxy=w.bind(this);this._oSelectedMonth;this._bSkipCancelButtonRendering=false;this._bActionTriggeredFromSecondHeader=false};b.prototype.exit=function(){if(this._sInvalidateMonth){clearTimeout(this._sInvalidateMonth)}if(this._afterHeaderRenderAdjustCSS){this.removeDelegate(this._afterHeaderRenderAdjustCSS);this._afterHeaderRenderAdjustCSS=null}if(this._afterSecondHeaderRenderAdjustCSS){this.removeDelegate(this._afterSecondHeaderRenderAdjustCSS);this._afterSecondHeaderRenderAdjustCSS=null}if(this._sResizeListener){m.deregister(this._sResizeListener);this._sResizeListener=undefined}this._oSelectedMonth=null};b.prototype._initializeHeader=function(){var e=new h(this.getId()+\"--Head\");e.attachEvent(\"pressPrevious\",this._handlePrevious,this);e.attachEvent(\"pressNext\",this._handleNext,this);e.attachEvent(\"pressCurrentDate\",this._handleCurrentDate,this);e.attachEvent(\"pressButton1\",this._handleButton1,this);e.attachEvent(\"pressButton2\",this._handleButton2,this);e.attachEvent(\"pressButton3\",this._handleButton1,this);e.attachEvent(\"pressButton4\",this._handleButton2,this);this._afterHeaderRenderAdjustCSS=this._createOnAfterRenderingDelegate(e);e.addDelegate(this._afterHeaderRenderAdjustCSS);this.setAggregation(\"header\",e)};b.prototype._createOnAfterRenderingDelegate=function(e){return{onAfterRendering:function(){if(e.getVisible()&&!e.getVisibleButton1()){e.$().find(\".sapUiCalHeadB2\").addClass(\"sapUiCalSingleYearButton\")}if(e.getVisible()&&!e._getVisibleButton3()){this._isTwoMonthsInTwoColumns()&&e.$().find(\".sapUiCalHeadB4\").addClass(\"sapUiCalSingleYearButton\")}}.bind(this)}};b.prototype._initializeSecondMonthHeader=function(){var e=new h(this.getId()+\"--SecondMonthHead\",{visible:false});e.addStyleClass(\"sapUiCalHeadSecondMonth\");e.attachEvent(\"pressPrevious\",this._handlePrevious,this);e.attachEvent(\"pressNext\",this._handleNext,this);e.attachEvent(\"pressButton1\",this._handleButton1,this);e.attachEvent(\"pressButton2\",this._handleButton2,this);this._afterSecondHeaderRenderAdjustCSS=this._createOnAfterRenderingDelegate(e);e.addDelegate(this._afterSecondHeaderRenderAdjustCSS);this.setAggregation(\"secondMonthHeader\",e)};b.prototype._initializeMonthPicker=function(){var e=new l(this.getId()+\"--MP\");e._bCalendar=true;e.attachEvent(\"select\",this._selectMonth,this);e.attachEvent(\"pageChange\",E,this);e._bNoThemeChange=true;this.setAggregation(\"monthPicker\",e);e._setSelectedDatesControlOrigin(this)};b.prototype._initializeYearPicker=function(){var e=new d(this.getId()+\"--YP\");e._bCalendar=true;e.attachEvent(\"select\",this._selectYear,this);e.attachEvent(\"pageChange\",J,this);this.setAggregation(\"yearPicker\",e);e._setSelectedDatesControlOrigin(this)};b.prototype._initializeYearRangePicker=function(){var e=new u(this.getId()+\"--YRP\");e.attachEvent(\"select\",this._selectYearRange,this);e.setPrimaryCalendarType(this._getPrimaryCalendarType());this.setAggregation(\"yearRangePicker\",e);e._setSelectedDatesControlOrigin(this)};b.prototype._createMonth=function(e){var t=new g(e,{width:\"100%\"});this._setMonthCalendarWeekNumbering(t);t._bCalendar=true;t.attachEvent(\"datehovered\",this._handleDateHovered,this);t.attachEvent(\"weekNumberSelect\",this._handleWeekNumberSelect,this);return t};b.prototype._handleWeekNumberSelect=function(e){const t=e.getParameter(\"weekDays\"),a=this.fireWeekNumberSelect({weekNumber:e.getParameter(\"weekNumber\"),weekDays:t}),i=t?.getStartDate()&&t?.getStartDate().getMonth(),r=e.getSource().getDate()&&e.getSource().getDate().getMonth(),s=this.getAggregation(\"month\"),o=c.fromLocalJSDate(s[0].getDate()),h=c.fromLocalJSDate(s[s.length-1].getDate());o.setDate(1);h.setDate(1);h.setMonth(h.getMonth()+1);h.setDate(0);const g=s.length>=2?!n._isBetween(c.fromLocalJSDate(e.getSource().getDate()),o,h,true):i!==r;t&&this._focusDate(c.fromLocalJSDate(t.getStartDate(),this._getPrimaryCalendarType()),g,false,false);if(!a){e.preventDefault()}return this};b.prototype._handleDateHovered=function(e){var t=this.getAggregation(\"month\"),a=e.getParameter(\"date1\"),i=e.getParameter(\"date2\"),r;for(r=0;r<t.length;r++){t[r]._markDatesBetweenStartAndHoveredDate(a,i)}};b.prototype.onBeforeRendering=function(){var e=this.getAggregation(\"month\"),t,a=e[0].getDate(),i=this._getFocusedDate();if(this.getFirstDayOfWeek()!==-1&&this.getCalendarWeekNumbering()!==\"Default\"){T.warning(\"Both properties firstDayOfWeek and calendarWeekNumbering should not be used at the same time!\")}if(e.length>1&&a){t=c.fromLocalJSDate(a,this._getPrimaryCalendarType())}else if(e.length>1){t=H.call(this,this._getFocusedDate())}else{t=i}for(var r=0;r<e.length;r++){a=new c(t);if(r>0){a.setMonth(a.getMonth()+r,1)}var s=a;if(i.getYear()===a.getYear()&&i.getMonth()===a.getMonth()){s=i}e[r].displayDate(s.toLocalJSDate());e[r].setShowWeekNumbers(this.getShowWeekNumbers())}if(this._getMonthPicker()){this._setDisabledMonths(i.getYear(),this._getMonthPicker())}this._updateHeader(t);this._updateHeadersButtons();this._adjustYearRangeDisplay();this._updateLegendParent();if(this.getInitialFocusedDate()){this._oFocusedDate=c.fromLocalJSDate(this.getInitialFocusedDate(),this._getPrimaryCalendarType())}};b.prototype.onAfterRendering=function(e){if(!this._getSucessorsPickerPopup()){x.call(this)}if(B.call(this)>1||this._bInitMonth){e.size={width:this.getDomRef().offsetWidth};w.call(this,e,true);if(!this._sResizeListener){this._sResizeListener=m.register(this,this._resizeProxy)}this._bInitMonth=undefined}};b.prototype.removeSelectedDate=function(e){this._bDateRangeChanged=true;return this.removeAggregation(\"selectedDates\",e)};b.prototype.removeAllSelectedDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"selectedDates\");return e};b.prototype.destroySelectedDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"selectedDates\");return e};b.prototype.removeAllSpecialDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"specialDates\");return e};b.prototype.destroySpecialDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"specialDates\");return e};b.prototype._setSpecialDatesControlOrigin=function(e){this._oSpecialDatesControlOrigin=e};b.prototype._getCalendarWeekNumbering=function(){if(this.isPropertyInitial(\"calendarWeekNumbering\")){return}return this.getCalendarWeekNumbering()};b.prototype.getSpecialDates=function(){var e=this.getParent();if(this._oSpecialDatesControlOrigin){return this._oSpecialDatesControlOrigin.getSpecialDates()}if(e&&e.getSpecialDates){return e.getSpecialDates()}else{return this.getAggregation(\"specialDates\",[])}};b.prototype.removeAllDisabledDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"disabledDates\");return e};b.prototype.destroyDisabledDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"disabledDates\");return e};b.prototype.setLocale=function(e){if(this._sLocale!=e){this._sLocale=e;this._oLocaleData=undefined;this.invalidate();this._toggleTwoMonthsInColumnsCSS()}return this};b.prototype.getLocale=function(){if(!this._sLocale){this._sLocale=new M(e.getLanguageTag()).toString()}return this._sLocale};b.prototype._getFocusedDate=function(){if(!this._oFocusedDate){A.call(this)}return this._oFocusedDate};b.prototype._setFocusedDate=function(e){n._checkCalendarDate(e);this._oFocusedDate=new c(e,this._getPrimaryCalendarType())};b.prototype.focusDate=function(e){R.call(this,e,false);this._addMonthFocusDelegate();return this};b.prototype.displayDate=function(e){R.call(this,e,true);return this};b.prototype.getStartDate=function(){var e;if(this.getDomRef()){var t=this.getAggregation(\"month\");e=c.fromLocalJSDate(t[0].getDate(),this._getPrimaryCalendarType())}else{e=new c(this._getFocusedDate())}e.setDate(1);return e.toLocalJSDate()};b.prototype.setCalendarWeekNumbering=function(e){var t=this.getAggregation(\"month\");this.setProperty(\"calendarWeekNumbering\",e);for(var a=0;a<t.length;a++){this._setMonthCalendarWeekNumbering(t[a])}return this};b.prototype._setMonthCalendarWeekNumbering=function(e){if(this.isPropertyInitial(\"calendarWeekNumbering\")){return this}return e.setCalendarWeekNumbering(this.getCalendarWeekNumbering())};b.prototype.setMonths=function(e){this._bDateRangeChanged=undefined;this.setProperty(\"months\",e);e=B.call(this);var t=this.getAggregation(\"month\");var a=0;var i;if(t.length<e){for(a=t.length;a<e;a++){i=this._createMonth(this.getId()+\"--Month\"+a);i.attachEvent(\"focus\",this._handleFocus,this);i.attachEvent(\"select\",L,this);i.attachEvent(\"_renderMonth\",F,this);i.attachEvent(\"_bindMousemove\",I,this);i.attachEvent(\"_unbindMousemove\",N,this);i._bNoThemeChange=true;i.setSecondaryCalendarType(this._getSecondaryCalendarType());this._setMonthCalendarWeekNumbering(i);this.addAggregation(\"month\",i)}this._toggleTwoMonthsInColumnsCSS()}else if(t.length>e){for(a=t.length;a>e;a--){i=this.removeAggregation(\"month\",a-1);i.destroy()}if(e==1){this._bInitMonth=true}this._toggleTwoMonthsInColumnsCSS()}if(e>1&&t[0].getDate()){t[0].setProperty(\"date\",null,true)}t=this.getAggregation(\"month\");t.forEach(t=>t.setProperty(\"_renderMonthWeeksOnly\",e>1));return this};b.prototype.setPrimaryCalendarType=function(e){var t=this.getAggregation(\"month\"),a,i,r,s,n;this.setProperty(\"primaryCalendarType\",e);this._oYearFormat=y.getDateInstance({format:\"y\",calendarType:e});if(this._oFocusedDate){this._oFocusedDate=new c(this._oFocusedDate,e)}this._oMinDate=new c(this._oMinDate,e);this._oMaxDate=new c(this._oMaxDate,e);for(n=0;n<t.length;n++){a=t[n];a.setPrimaryCalendarType(e)}if(!this._getSucessorsPickerPopup()){i=this._getMonthPicker();i.setPrimaryCalendarType(e);r=this._getYearPicker();r.setPrimaryCalendarType(e);s=this.getAggregation(\"yearRangePicker\");s.setPrimaryCalendarType(e)}return this};b.prototype.setSecondaryCalendarType=function(e){var t=e?2:3,a=this._getMonthPicker();this.setProperty(\"secondaryCalendarType\",e);this._oYearFormatSecondary=y.getDateInstance({format:\"y\",calendarType:e});var i=this.getAggregation(\"month\");for(var r=0;r<i.length;r++){var s=i[r];s.setSecondaryCalendarType(e)}a.setSecondaryCalendarType(e);a.setColumns(t);this._getYearPicker().setSecondaryCalendarType(e);this._getYearRangePicker().setSecondaryCalendarType(e);return this};b.prototype._getPrimaryCalendarType=function(){return this.getProperty(\"primaryCalendarType\")||e.getCalendarType()};b.prototype._getSecondaryCalendarType=function(){var e=this.getSecondaryCalendarType();if(e===this._getPrimaryCalendarType()){return undefined}return e};b.prototype._getActiveHeaderAggregation=function(){if(this._bActionTriggeredFromSecondHeader&&this._isTwoMonthsInOneColumn()){return this.getAggregation(\"secondMonthHeader\")}else{return this.getAggregation(\"header\")}};b.prototype._saveTriggeredHeader=function(e){if(e.getSource().sParentAggregationName===\"secondMonthHeader\"||e.sId===\"pressButton3\"||e.sId===\"pressButton4\"){this._bActionTriggeredFromSecondHeader=true}else{this._bActionTriggeredFromSecondHeader=false}};b.prototype.setMinDate=function(e){var t=this.getAggregation(\"month\"),a=this._getPrimaryCalendarType(),i;if(S(e,this.getMinDate())){return this}if(!e){this._oMinDate=n._minDate(a)}else{n._checkJSDateObject(e);this._oMinDate=c.fromLocalJSDate(e,a);var r=this._oMinDate.getYear();n._checkYearInValidRange(r,a);if(this._oMaxDate.isBefore(this._oMinDate)){T.warning(\"minDate > maxDate -> maxDate set to end of the month\",this);this._oMaxDate=c.fromLocalJSDate(e,a);this._oMaxDate.setDate(n._daysInMonth(this._oMaxDate));this.setProperty(\"maxDate\",this._oMaxDate.toLocalJSDate(),true)}this._setMinMaxDateExtend(c.fromLocalJSDate(e,a))}this.setProperty(\"minDate\",e,false);if(!this._getSucessorsPickerPopup()){i=this._oMinDate.getYear();this._getYearPicker()._oMinDate.setYear(i);this._getYearRangePicker()._oMinDate.setYear(i)}for(var s=0;s<t.length;s++){t[s]._oMinDate=new c(this._oMinDate)}return this};b.prototype.setMaxDate=function(e){var t=this.getAggregation(\"month\"),a=this._getPrimaryCalendarType(),i;if(S(e,this.getMaxDate())){return this}if(!e){this._oMaxDate=n._maxDate(a)}else{n._checkJSDateObject(e);this._oMaxDate=c.fromLocalJSDate(e,a);var r=this._oMaxDate.getYear();n._checkYearInValidRange(r,a);if(this._oMinDate.isAfter(this._oMaxDate)){T.warning(\"maxDate < minDate -> minDate set to begin of the month\",this);this._oMinDate=c.fromLocalJSDate(e,a);this._oMinDate.setDate(1);this.setProperty(\"minDate\",this._oMinDate.toLocalJSDate(),true)}this._setMinMaxDateExtend(c.fromLocalJSDate(e,a))}this.setProperty(\"maxDate\",e,false);if(!this._getSucessorsPickerPopup()){i=this._oMaxDate.getYear();this._getYearPicker()._oMaxDate.setYear(i);this._getYearRangePicker()._oMaxDate.setYear(i)}for(var s=0;s<t.length;s++){t[s]._oMaxDate=new c(this._oMaxDate)}return this};b.prototype.setShowCurrentDateButton=function(e){this.getAggregation(\"header\").setVisibleCurrentDateButton(e);return this.setProperty(\"showCurrentDateButton\",e)};b.prototype.setIntervalSelection=function(e){const t=this._getMonthPicker();if(t){t._setShowSelectedRange(e)}const a=this._getYearPicker();if(a){a._setShowSelectedRange(e)}const i=this._getYearRangePicker();if(i){i._setShowSelectedRange(e)}return this.setProperty(\"intervalSelection\",e)};b.prototype.setSingleSelection=function(e){const t=this._getMonthPicker();if(t){t.setProperty(\"_singleSelection\",e)}const a=this._getYearPicker();if(a){a.setProperty(\"_singleSelection\",e)}const i=this._getYearRangePicker();if(i){i.setProperty(\"_singleSelection\",e)}return this.setProperty(\"singleSelection\",e)};b.prototype._setMinMaxDateExtend=function(e){if(this._oFocusedDate){if(n._isOutside(this._oFocusedDate,this._oMinDate,this._oMaxDate)){T.warning(\"focused date is not between [minDate - maxDate] -> refocus to the new max/min date: \"+e.toString(),this);this.focusDate(e.toLocalJSDate())}}};b.prototype._getLocaleData=function(){if(!this._oLocaleData){var e=this.getLocale();var t=new M(e);this._oLocaleData=s.getInstance(t)}return this._oLocaleData};b.prototype._getShowMonthHeader=function(){var e=B.call(this);if(e>2){return true}else{return false}};b.prototype._getMonthPicker=function(){return this.getAggregation(\"monthPicker\")};b.prototype._getYearPicker=function(){return this.getAggregation(\"yearPicker\")};b.prototype._getYearRangePicker=function(){return this.getAggregation(\"yearRangePicker\")};b.prototype.onclick=function(e){var t=e.target;if(e.isMarked(\"delayedMouseEvent\")){return}if(t.id==this.getId()+\"-cancel\"){this.onsapescape(e)}};b.prototype.onmousedown=function(e){if(e.cancelable){e.preventDefault()}e.setMark(\"cancelAutoClose\")};b.prototype.onsapescape=function(e){this.fireCancel();this._closePickers();this._addMonthFocusDelegate();if(!this._getSucessorsPickerPopup()){this._setHeaderText(this._getFocusedDate())}};b.prototype.onsapshow=function(e){var t=e.which||e.keyCode;if(this._bPoupupMode&&t!==P.F4){this._closePickers();this._addMonthFocusDelegate();this.fireCancel();e.preventDefault()}};b.prototype.onkeydown=function(e){var t=e.which||e.keyCode,a=e.shiftKey;if(t!==P.F4){return}e.preventDefault();switch(this._iMode){case 0:if(a){this._showYearPicker()}else{this._showMonthPicker()}break;case 1:if(a){this._showYearPicker()}break;case 2:if(a){this._showYearRangePicker()}break;default:}};b.prototype.onsaphide=b.prototype.onsapshow;b.prototype.getFocusDomRef=function(){var e=this._oSelectedMonth?this._oSelectedMonth:this.getAggregation(\"month\")[0],t=this._getMonthPicker(),a=this._getYearPicker(),i=this._getYearRangePicker();switch(this._iMode){case 0:return e.getFocusDomRef();case 1:return t.getFocusDomRef();case 2:return a.getFocusDomRef();case 3:return i.getFocusDomRef();default:return}};b.prototype.onThemeChanged=function(){var e,t=arguments;if(!this.getDomRef()){return}this._bNamesLengthChecked=undefined;if(!this._getSucessorsPickerPopup()){var a={onAfterRendering:function(){e.onThemeChanged(t);e._bNoThemeChange=true;x.call(this);this._bLongMonth=e._bLongMonth;this._closePickers();e.removeEventDelegate(a)}};e=this._getMonthPicker();this._showMonthPicker(true);e._bNoThemeChange=false;e.addEventDelegate(a,this)}var i=this.getAggregation(\"month\");for(var r=0;r<i.length;r++){var s=i[r];s._bNoThemeChange=false;s.onThemeChanged(arguments);s._bNoThemeChange=true}var n;if(i.length>1){n=c.fromLocalJSDate(i[0].getDate(),this._getPrimaryCalendarType())}else{n=this._getFocusedDate()}this._setHeaderText(n);this._setPrimaryHeaderMonthButtonText();this._toggleTwoMonthsInColumnsCSS()};b.prototype._updateLegendParent=function(){var e=this.getLegend(),t=r.getElementById(e);t&&t._setParent(this)};b.prototype._updateHeader=function(e){this._setHeaderText(e);switch(this._iMode){case 0:this._togglePrevNext(e,true);break;case 1:this._togglePrevNext(e,false);break;case 2:case 3:this._togglePrevNexYearPicker();break}};b.prototype._togglePrevNext=function(e,t){var a=this._oMaxDate.getYear();var i=this._oMinDate.getYear();var r=this._oMaxDate.getMonth();var s=this._oMinDate.getMonth();var o=this.getAggregation(\"header\");var h=B.call(this);var g=new c(e,this._getPrimaryCalendarType());if(this._iMode===1&&h>1){g=H.call(this,e);g.setMonth(g.getMonth()+h-1);g.setDate(n._daysInMonth(g))}else{g.setDate(n._daysInMonth(g))}var l=g.getYear();var d=g.getMonth();if((this._iMode===0||this._iMode===1)&&h>1){d+=h-1}if(l>a||l===a&&(!t||d>=r)||(this._iMode===0||this._iMode===1)&&this._getSucessorsPickerPopup()){o.setEnabledNext(false)}else{o.setEnabledNext(true)}if(this._iMode===1&&h>1){g.setMonth(g.getMonth()-h+1,1)}else{g.setDate(1)}l=g.getYear();d=g.getMonth();if(l<i||l==i&&(!t||d<=s)||this._iMode==1&&this._getSucessorsPickerPopup()){o.setEnabledPrevious(false)}else{o.setEnabledPrevious(true)}};b.prototype._togglePrevNexYearPicker=function(){var e=this.getAggregation(\"yearRangePicker\"),t=this._getYearPicker(),a=this._getPrimaryCalendarType(),i=new c(this._oMinDate,a),r=new c(this._oMaxDate,a),s=this.getAggregation(\"header\"),n=1,o,h,g,l;if(this._iMode===3){g=e.getYears();n=e.getRangeSize();o=new c(e.getProperty(\"_middleDate\"));h=new c(o);o.setYear(o.getYear()-n*g/2);h.setYear(h.getYear()+n*g/2-1)}else{g=t.getYears();l=t.getProperty(\"_middleDate\")?t.getProperty(\"_middleDate\"):c.fromLocalJSDate(p.getInstance());o=new c(l);h=new c(l);o.setYear(o.getYear()-g/2);h.setYear(h.getYear()+g/2-1)}s.setEnabledNext(h.getYear()<r.getYear());s.setEnabledPrevious(o.getYear()>i.getYear())};b.prototype._handlePrevious=function(){var e=this._getFocusedDate(),t=B.call(this),a,i=false;switch(this._iMode){case 0:if(t>1){a=c.fromLocalJSDate(this.getAggregation(\"month\")[0].getDate(),this._getPrimaryCalendarType());a.setDate(1);this._setFocusedDate(a);e=this._getFocusedDate()}else{e.setDate(1)}e.setDate(e.getDate()-1);this._renderMonth(i,false);this._addMonthFocusDelegate();break;case 1:e.setYear(e.getYear()-1);this._updateHeadersYearPrimaryText(this._oYearFormat.format(e.toUTCJSDate(),true));this._updateHeadersYearAdditionalTextHelper();this._togglePrevNext(e);this._setDisabledMonths(e.getYear());var r=this._getMonthPicker();r._setYear(e.getYear());r._setDate(e);r.invalidate();this.setProperty(\"_currentPicker\",Y.MONTH_PICKER);break;case 2:this._getYearPicker().previousPage();this._togglePrevNexYearPicker();this._updateHeadersYearPrimaryText(this._getYearString());this._updateHeadersYearAdditionalTextHelper();break;case 3:this.getAggregation(\"yearRangePicker\").previousPage();this._togglePrevNexYearPicker();this._updateHeadersYearPrimaryText(this._getYearString());break}};b.prototype._handleNext=function(){var e=this._getFocusedDate(),t=B.call(this),a;switch(this._iMode){case 0:if(t>1){a=c.fromLocalJSDate(this.getAggregation(\"month\")[0].getDate(),this._getPrimaryCalendarType());a.setMonth(a.getMonth(),1);this._setFocusedDate(a);e=this._getFocusedDate()}e.setMonth(e.getMonth()+1,1);this._renderMonth(false,false);this._addMonthFocusDelegate();break;case 1:e.setYear(e.getYear()+1);this._updateHeadersYearPrimaryText(this._oYearFormat.format(e.toUTCJSDate(),true));this._updateHeadersYearAdditionalTextHelper();this._togglePrevNext(e);this._setDisabledMonths(e.getYear());var i=this._getMonthPicker();i._setYear(e.getYear());i._setDate(e);i.invalidate();this.setProperty(\"_currentPicker\",Y.MONTH_PICKER);break;case 2:this._getYearPicker().nextPage();this._togglePrevNexYearPicker();this._updateHeadersYearPrimaryText(this._getYearString());this._updateHeadersYearAdditionalTextHelper();break;case 3:this.getAggregation(\"yearRangePicker\").nextPage();this._togglePrevNexYearPicker();this._updateHeadersYearPrimaryText(this._getYearString());break}};b.prototype._updateHeadersYearAdditionalTextHelper=function(){if(!this._getSecondaryCalendarType()){return}var e=this._getDisplayedSecondaryYears();if(e.start.getYear()===e.end.getYear()){this._updateHeadersYearAdditionalText(this._oYearFormatSecondary.format(e.start.toUTCJSDate(),true))}else{var t=this._getLocaleData();var a=t.getIntervalPattern();var i=a.replace(/\\{0\\}/,this._oYearFormatSecondary.format(e.start.toUTCJSDate(),true)).replace(/\\{1\\}/,this._oYearFormatSecondary.format(e.end.toUTCJSDate(),true));this._updateHeadersYearAdditionalText(i)}};b.prototype._handleCurrentDate=function(){var e=p.getInstance(),t=this.getMaxDate(),a=this.getMinDate();this.setProperty(\"_currentPicker\",Y.MONTH);if(t&&t.getTime()<e.getTime()){this.focusDate(t)}else if(a&&a.getTime()>e.getTime()){this.focusDate(a)}else{this.focusDate(e)}};b.prototype._getYearString=function(){var e=this._getYearPicker(),t=e.getDomRef(),a=this._getFocusedDate();if(e&&t&&t.style.display===\"\"){a=e.getProperty(\"_middleDate\");a.setDate(1)}return this._oYearFormat.format(_.getInstance(a.toUTCJSDate(),a.getCalendarType()),true)};b.prototype._getDisplayedMonths=function(e){var t=[];var a=e.getMonth();var i=B.call(this);if(i>1){for(var r=0;r<i;r++){t.push((a+r)%12)}}else{t.push(a)}return t};b.prototype._getDisplayedSecondaryMonths=function(){var e=this._getPrimaryCalendarType(),t=this._getSecondaryCalendarType(),a=this.getAggregation(\"month\"),i=c.fromLocalJSDate(a[0].getDate(),e),r=c.fromLocalJSDate(a[a.length-1].getDate(),e),s,o;i.setDate(1);i=new c(i,t);s=i.getMonth();r=c.fromLocalJSDate(a[a.length-1].getDate(),e);r.setDate(n._daysInMonth(r));r=new c(r,t);o=r.getMonth();return{start:s,end:o}};b.prototype._getDisplayedSecondaryYears=function(){var e=this._getPrimaryCalendarType(),t=this._getSecondaryCalendarType(),a,i,r,s,o,h,g;switch(this._iMode){case 0:o=this.getAggregation(\"month\");a=c.fromLocalJSDate(o[0].getDate(),e);a.setDate(1);a=new c(a,t);i=c.fromLocalJSDate(o[o.length-1].getDate(),e);i.setDate(n._daysInMonth(i));i=new c(i,t);break;case 1:r=this._getFocusedDate();s=new c(r,e);s.setMonth(0,1);a=new c(s,e);a=new c(a,t);s.setYear(s.getYear()+1);s.setDate(s.getDate()-1);i=new c(s,e);i=new c(i,t);break;case 2:h=this._getYearPicker();g=h.getYears()/2-1;r=h.getProperty(\"_middleDate\");a=new c(r,e);a.setYear(r.getYear()-g-1);a.setMonth(0,1);a=new c(a,t);i=new c(r,e);i.setYear(i.getYear()+g+1);a.setMonth(0,1);i.setDate(i.getDate()-1);i=new c(i,t);break;default:}return{start:a,end:i}};b.prototype._closePickers=function(){this.setProperty(\"_currentPicker\",Y.MONTH);this._togglePrevNext(this._getFocusedDate(),true);if(this.getAggregation(\"month\").length>1){this.getAggregation(\"month\").forEach(function(e){e._oItemNavigation.iActiveTabIndex=0})}};b.prototype._setDisabledMonths=function(e,t){var a=0;var i=11;if(e===this._oMinDate.getYear()){a=this._oMinDate.getMonth()}if(e===this._oMaxDate.getYear()){i=this._oMaxDate.getMonth()}if(!t){t=this._getMonthPicker()}t.setMinMax(a,i)};b.prototype._handleFocus=function(e){var t=c.fromLocalJSDate(e.getParameter(\"date\"),this._getPrimaryCalendarType()),a=e.getParameter(\"otherMonth\"),i=e.getParameter(\"restoreOldDate\");if(this.getIntervalSelection()){this.getAggregation(\"month\").forEach(function(e){e.setProperty(\"_focusedDate\",t)})}if(i){if(!S(this._getFocusedDate(),t)){this._renderMonth(false,true)}}else{this._focusDate(t,a,false,true)}};b.prototype._getVisibleDays=function(){var e=this.getAggregation(\"month\")[0];return e._getVisibleDays(e._getDate(),false)};b.prototype._renderMonth=function(e,t){var a=this._getFocusedDate(),i=this.getAggregation(\"month\"),r,s,o=H.call(this,new c(a,this._getPrimaryCalendarType())),h=0,g=i[0].checkDateFocusable(a.toLocalJSDate()),l=!t&&!g;for(h=0;h<i.length;h++){r=i[h];s=new c(o,this._getPrimaryCalendarType());s.setMonth(o.getMonth()+h);if(!e&&n._isSameMonthAndYear(s,a)){r.setDate(a.toLocalJSDate())}else{r.displayDate(s.toLocalJSDate())}}this._updateHeader(o);this._setPrimaryHeaderMonthButtonText();this._toggleTwoMonthsInColumnsCSS();if(l){this.fireStartDateChange()}};b.prototype._updateMonthButtonVisibility=function(){var e=this._getActiveHeaderAggregation();if(this._bActionTriggeredFromSecondHeader){this._isTwoMonthsInOneColumn()?e.setVisibleButton1(!e.getVisibleButton1()):e._setVisibleButton3(!e._getVisibleButton3())}else{e.setVisibleButton1(false)}return this};b.prototype._showMonthPicker=function(e){var t=this._getFocusedDate(),a=this._getMonthPicker(),i=new c(this._getFocusedDate());this._updateActiveHeaderYearButtonVisibility();this._updateMonthButtonVisibility();this.setProperty(\"_currentPicker\",Y.MONTH_PICKER);if(this._bActionTriggeredFromSecondHeader){i.setDate(1);i.setMonth(i.getMonth()+1);a._setYear(i.getYear());a._setDate(i)}else{a._setYear(t.getYear());a._setDate(t)}if(!e&&this._bActionTriggeredFromSecondHeader){a.setMonth(i.getMonth());this._setDisabledMonths(i.getYear(),a)}else if(!e){a.setMonth(t.getMonth());this._setDisabledMonths(t.getYear(),a)}if(this.getAggregation(\"month\").length>1&&this.getProperty(\"_currentPicker\")==Y.MONTH_PICKER){this.getAggregation(\"month\").forEach(function(e){e._oItemNavigation.iActiveTabIndex=-1})}this._togglePrevNext(t,true);this._setHeaderText(this._getFocusedDate())};b.prototype._showYearPicker=function(){var e=this._getFocusedDate(),t=this._getYearPicker();this.setProperty(\"_currentPicker\",Y.YEAR_PICKER);t.setDate(e.toLocalJSDate());this._togglePrevNexYearPicker();if(this._isTwoMonthsInOneColumn()){this._updateActiveHeaderYearButtonVisibility()}else{this._updateActiveHeaderYearButtonVisibility()}if(this._bActionTriggeredFromSecondHeader&&this.getAggregation(\"month\")[1].getDate().getFullYear()>this._getFocusedDate().getYear()){var a=e.toLocalJSDate();a.setFullYear(a.getFullYear()+1);t.setDate(a);this._updateHeadersYearPrimaryText(this._getYearString())}else{t.setDate(e.toLocalJSDate());this._updateHeadersYearPrimaryText(this._getYearString())}if(this.getAggregation(\"month\").length>1&&this.getProperty(\"_currentPicker\")==Y.YEAR_PICKER){this.getAggregation(\"month\").forEach(function(e){e._oItemNavigation.iActiveTabIndex=-1})}};b.prototype._focusDate=function(e,t,a,i){var r,s=false,n=false,o=this.getAggregation(\"month\"),h;if(e.isBefore(this._oMinDate)){r=this._oMinDate;s=true}else if(e.isAfter(this._oMaxDate)){r=this._oMaxDate;s=true}else{r=e}if(this._focusDateExtend){n=this._focusDateExtend(e,t,a)}this._setFocusedDate(r);if(i&&!this._focusDateExtend){for(h=0;h<o.length;++h){if(o[h].checkDateFocusable(r.toLocalJSDate())){o[h].setDate(r.toLocalJSDate());o[h]._focusDate(r);return}}}if(s||t){this._renderMonth(false,a);this._addMonthFocusDelegate()}if(n){this.fireStartDateChange()}};b.prototype._setHeaderText=function(e){var t=this.getAggregation(\"header\");var a=this.getAggregation(\"secondMonthHeader\");var i=this._getLocaleData();var r=[];var s=[];var n=[];var o=[];var h;var g=false;var l;var d;var u;var _;var p;var f=this._getPrimaryCalendarType();var D=this._getSecondaryCalendarType();var y=\"\";if(this._bLongMonth||!this._bNamesLengthChecked){r=i.getMonthsStandAlone(\"wide\",f)}else{g=true;r=i.getMonthsStandAlone(\"abbreviated\",f);s=i.getMonthsStandAlone(\"wide\",f)}if(D){n=i.getMonthsStandAlone(\"abbreviated\",D);o=i.getMonthsStandAlone(\"wide\",D);var m=this._getDisplayedSecondaryMonths();if(m.start===m.end){u=n[m.start];y=o[m.start]}else{p=i.getIntervalPattern();u=p.replace(/\\{0\\}/,n[m.start]).replace(/\\{1\\}/,n[m.end]);y=p.replace(/\\{0\\}/,o[m.start]).replace(/\\{1\\}/,o[m.end])}}t.setAdditionalTextButton1(u);t._setAdditionalTextButton3(u);a.setAdditionalTextButton1(u);var M=this._getDisplayedMonths(e);this._sFirstMonthName=l=r[M[0]];d=r[M[M.length-1]];if(M.length>1&&!this._bShowOneMonth){if(!p){p=i.getIntervalPattern()}u=p.replace(/\\{0\\}/,l).replace(/\\{1\\}/,d);h=s.length?p.replace(/\\{0\\}/,s[M[0]]).replace(/\\{1\\}/,s[M[M.length-1]]):u;if(this._isTwoMonthsInTwoColumns()||this._isTwoMonthsInOneColumn()){u=l}}else{u=l;h=s[M[0]]||u}if(!this._getSucessorsPickerPopup()&&y){h+=\", \"+y}t.setTextButton1(u);t.setAriaLabelButton1(h);t._setTextButton3(d);t._setAriaLabelButton3(d);a.setTextButton1(d);a.setAriaLabelButton1(d);var P=new c(e,f);P.setDate(1);_=this._oYearFormat.format(P.toUTCJSDate(),true);if(P.getMonth()===11){this._updateHeadersYearPrimaryText(_,(parseInt(_)+1).toString())}else{this._updateHeadersYearPrimaryText(_,_)}if(D&&this._iMode!==3){this._updateHeadersYearAdditionalTextHelper()}else{this._updateHeadersYearAdditionalText()}return{sMonth:u,sYear:_,sAriaLabel:h,bShort:g}};b.prototype._handleButton1=function(e){if(this._iMode!=1){this._saveTriggeredHeader(e);this._showMonthPicker()}else{this.setProperty(\"_currentPicker\",Y.MONTH);this._addMonthFocusDelegate()}};b.prototype._addMonthFocusDelegate=function(){var e=this.getAggregation(\"month\"),t=e[0].getDate(),a=this._getFocusedDate(),i={onAfterRendering:function(){this._oItemNavigation.focusItem(this._oItemNavigation.getFocusedIndex(),undefined,true);this.removeDelegate(i)}},r,s;if(e.length>1&&r){t=c.fromLocalJSDate(r,this._getPrimaryCalendarType())}else if(e.length>1){t=H.call(this,this._getFocusedDate())}else{t=a}for(var n=0;n<e.length;n++){r=new c(t);if(n>0){r.setMonth(r.getMonth()+n,1)}if(a.getYear()===r.getYear()&&a.getMonth()===r.getMonth()){s=this.getAggregation(\"month\")[n];s.addDelegate(i,s)}}};b.prototype._handleButton2=function(e){if(this._iMode<=1){this._saveTriggeredHeader(e);this._showYearPicker()}else{this._showYearRangePicker()}};b.prototype._selectMonth=function(){var e=new c(this._getFocusedDate(),this._getPrimaryCalendarType()),t=this._getMonthPicker(),a=t.getProperty(\"_focusedMonth\"),i=a||a===0?a:t.getMonth(),r=c.fromLocalJSDate(p.getInstance(),this._getPrimaryCalendarType());r=t._iYear?r.setYear(t._iYear).setMonth(i-1,1):new c(this._getFocusedDate().getYear(),i-1,1);if(B.call(this)>1){if(this._bActionTriggeredFromSecondHeader&&r.getYear()>=n._minDate(this._getPrimaryCalendarType()).getYear()){e.setYear(r.getYear());i=r.getMonth()}else if(e.getYear()===n._maxDate(this._getPrimaryCalendarType()).getYear()&&i===11){i-=1}}e.setMonth(i);if(i!=e.getMonth()){e.setDate(0)}this._focusDate(e,true,false,false);this._closePickers();this._addMonthFocusDelegate()};b.prototype._getSucessorsPickerPopup=function(){return this.getPickerPopup&&this.getPickerPopup()};b.prototype._selectYear=function(){var e=new c(this._getFocusedDate(),this._getPrimaryCalendarType()),t=e.getMonth(),a=this._getYearPicker(),i=c.fromLocalJSDate(a.getDate(),this._getPrimaryCalendarType());if(!this._bActionTriggeredFromSecondHeader){i.setMonth(t,e.getDate())}else{i.setYear(t===11?i.getYear()-1:i.getYear());i.setMonth(t,e.getDate())}e=i;this._focusDate(e,true,false,false);this._closePickers();this._addMonthFocusDelegate();this._setHeaderText(this._getFocusedDate())};b.prototype.setProperty=function(){var e=arguments[0],t=arguments[1];i.prototype.setProperty.apply(this,arguments);if(e===\"_currentPicker\"){switch(t){case\"month\":this._iMode=0;break;case\"monthPicker\":this._iMode=1;break;case\"yearPicker\":this._iMode=2;break;case\"yearRangePicker\":this._iMode=3;break;default:return}}return this};b.prototype._selectYearRange=function(){var e=this.getAggregation(\"yearRangePicker\"),t=this.getAggregation(\"header\"),a=e.getRangeSize(),i=this._getPrimaryCalendarType(),r=c.fromLocalJSDate(e.getDate(),i),s=new c(r.getYear()+a-1,0,1,i),n=this._getFocusedDate(),o,h;n.setYear(r.getYear()+a/2);r.setMonth(0,1);if(n.isBefore(this._oMinDate)){n=new c(this._oMinDate,this._getPrimaryCalendarType())}else if(n.isAfter(this._oMaxDate)){n=new c(this._oMaxDate,this._getPrimaryCalendarType())}this._setFocusedDate(n);this._showYearPicker();o=this._oYearFormat.format(_.getInstance(r.toUTCJSDate(),r.getCalendarType()),true);h=this._oYearFormat.format(_.getInstance(s.toUTCJSDate(),s.getCalendarType()),true);t.setTextButton2(o+\" - \"+h);t._setTextButton4(o+\" - \"+h)};b.prototype._showYearRangePicker=function(){var e=this.getAggregation(\"yearRangePicker\"),t=this._getYearPicker(),a=c.fromLocalJSDate(t.getFirstRenderedDate(),this._getPrimaryCalendarType());this.setProperty(\"_currentPicker\",Y.YEAR_RANGE_PICKER);e.getColumns()%2!==0?a.setYear(a.getYear()+Math.floor(e.getRangeSize()/2)):a.setYear(a.getYear());e.setDate(a.toLocalJSDate());this._togglePrevNexYearPicker()};b.prototype._setColumns=function(e){this._iColumns=e;return this};b.prototype._getColumns=function(){return this._iColumns};b.prototype._updateActiveHeaderYearButtonVisibility=function(){var e=this._getActiveHeaderAggregation();if(this._bActionTriggeredFromSecondHeader){this._isTwoMonthsInOneColumn()?e.setVisibleButton1(!e.getVisibleButton1()):e._setVisibleButton3(!e._getVisibleButton3())}else{e.setVisibleButton1(!e.getVisibleButton1())}return this};b.prototype._updateHeadersButtonsHelper=function(e,t,a,i){var r=this.getAggregation(\"header\"),s=this.getAggregation(\"secondMonthHeader\");r.setVisibleButton1(e);r.setVisibleButton2(t);r._setVisibleButton3(a);r._setVisibleButton4(i);if(s.getVisible()){s.setVisibleButton1(e);s.setVisibleButton2(t);s._setVisibleButton3(a);s._setVisibleButton4(i)}};b.prototype._updateHeadersButtons=function(){var e=this.getAggregation(\"secondMonthHeader\");if(this._isTwoMonthsInOneColumn()){e.setVisible(true);if(this._iMode===2){this._updateHeadersButtonsHelper(false,true,false,false)}else if(this._iMode===3){this._updateHeadersButtonsHelper(false,false,false,false)}else{this._updateHeadersButtonsHelper(true,true,false,false)}}else if(this._isTwoMonthsInTwoColumns()){e.setVisible(false);if(this._iMode===2){this._bActionTriggeredFromSecondHeader?this._updateHeadersButtonsHelper(true,true,false,true):this._updateHeadersButtonsHelper(false,true,true,true)}else if(this._iMode===3){this._updateHeadersButtonsHelper(false,false,false,false)}else if(this._iMode===1){this._bActionTriggeredFromSecondHeader?this._updateHeadersButtonsHelper(true,true,false,true):this._updateHeadersButtonsHelper(false,true,true,true)}else{this._updateHeadersButtonsHelper(true,true,true,true)}}else{e.setVisible(false);if(this._iMode===1){this._updateHeadersButtonsHelper(false,true,false,false)}else if(this._iMode===2){this._updateHeadersButtonsHelper(false,true,false,false)}else if(this._iMode===3){this._updateHeadersButtonsHelper(false,false,false,false)}else{this._updateHeadersButtonsHelper(true,true,false,false)}}if(this._getSucessorsPickerPopup()){this.getAggregation(\"header\").setVisibleButton2(false)}};b.prototype._setPrimaryHeaderMonthButtonText=function(){var e=this.getAggregation(\"header\");if(this._isTwoMonthsInOneColumn()||this._isTwoMonthsInTwoColumns()){e.setTextButton1(this._sFirstMonthName)}};b.prototype._toggleTwoMonthsInColumnsCSS=function(){if(this._isTwoMonthsInTwoColumns()){if(new M(t.getLanguageTag()).getLanguage().toLowerCase()===\"ja\"||new M(t.getLanguageTag()).getLanguage().toLowerCase()===\"zh\"){this.addStyleClass(\"sapUiCalTwoMonthsTwoColumnsJaZh\");this.removeStyleClass(\"sapUiCalTwoMonthsTwoColumns\")}else{this.addStyleClass(\"sapUiCalTwoMonthsTwoColumns\");this.removeStyleClass(\"sapUiCalTwoMonthsTwoColumnsJaZh\")}}else{this.removeStyleClass(\"sapUiCalTwoMonthsTwoColumnsJaZh\");this.removeStyleClass(\"sapUiCalTwoMonthsTwoColumns\")}if(this._isTwoMonthsInOneColumn()){this.addStyleClass(\"sapUiCalTwoMonthsInOneColumn\")}else{this.removeStyleClass(\"sapUiCalTwoMonthsInOneColumn\")}};b.prototype._isTwoMonthsInOneColumn=function(){var e=B.call(this);return this._getColumns()===1&&e===2};b.prototype._isTwoMonthsInTwoColumns=function(){var e=B.call(this);return this._getColumns()===2&&e===2};b.prototype._updateHeadersYearPrimaryText=function(e,t){var a=this._getYearPicker(),i=this.getAggregation(\"header\"),r=this.getAggregation(\"secondMonthHeader\"),s=e,o=t||e,h=this._getPrimaryCalendarType();if(this._iMode===2&&a){var g=a.getProperty(\"_middleDate\")?a.getProperty(\"_middleDate\"):a._getDate(),l=new c(g,h),d=n._minDate(this._getPrimaryCalendarType()).getYear(),u=n._maxDate(this._getPrimaryCalendarType()).getYear(),p,f,D;l.setDate(1);l.setYear(l.getYear()-Math.floor(a.getYears()/2));if(l.getYear()<d){l.setYear(d)}else if(l.getYear()+a.getYears()>u){l.setYear(u-a.getYears()+1)}p=new c(l,h);p.setYear(p.getYear()+a.getYears()-1);f=this._oYearFormat.format(_.getInstance(l.toUTCJSDate(),l.getCalendarType()),true);D=this._oYearFormat.format(_.getInstance(p.toUTCJSDate(),p.getCalendarType()),true);if(this._bActionTriggeredFromSecondHeader){o=f+\" - \"+D}else{s=f+\" - \"+D}}i._setTextButton4(o);i._setAriaLabelButton4(o);r.setTextButton2(o);i.setTextButton2(s)};b.prototype._updateHeadersYearAdditionalText=function(e){var t=this.getAggregation(\"header\"),a=this.getAggregation(\"secondMonthHeader\");t.setAdditionalTextButton2(e);t._setAdditionalTextButton4(e);a.setAdditionalTextButton2(e)};b.prototype._adjustYearRangeDisplay=function(){var e=this.getAggregation(\"yearRangePicker\"),t=this._getPrimaryCalendarType(),i=this._getSecondaryCalendarType(),r=t===a.Japanese||i===a.Japanese;if(!this._getSucessorsPickerPopup()){if(r){e.setColumns(1);e.setYears(4)}else{e.setColumns(2);e.setYears(8)}}};function A(){var e=this.getSelectedDates();var t=this._getPrimaryCalendarType();if(e&&e[0]&&e[0].getStartDate()){this._oFocusedDate=c.fromLocalJSDate(e[0].getStartDate(),t)}else{this._oFocusedDate=c.fromLocalJSDate(p.getInstance(),t)}if(this._oFocusedDate.isBefore(this._oMinDate)){this._oFocusedDate=new c(this._oMinDate,t)}else if(this._oFocusedDate.isAfter(this._oMaxDate)){this._oFocusedDate=new c(this._oMaxDate,t)}}function w(e){var t=e.size.width;if(t<=0){return}if(t===this._iPrevWidth){return}this._iPrevWidth=t;var a=this._iSize;if(t<this._iBreakPointTablet){this._iSize=0}else if(t<this._iBreakPointDesktop){this._iSize=1}else if(t<this._iBreakPointLargeDesktop){this._iSize=2}else{this._iSize=3}var i=B.call(this);if(a!=this._iSize||this._bInitMonth){switch(this._iSize){case 1:this._setColumns(2);break;case 2:this._setColumns(3);break;case 3:this._setColumns(4);break;default:this._setColumns(1);break}if(i<this._getColumns()){this._setColumns(i)}if(this._getColumns()>2&&i>this._getColumns()){var r=this._getColumns();var s=0;var n=this._getColumns();while(r>=2){var o=i%r;if(o==0){n=r;break}else{var h=o/r;if(h>s){s=h;n=r}}r--}this._setColumns(n)}var g;var l=this.getAggregation(\"month\");if(this._getColumns()>1){g=100/this._getColumns()+\"%\";this.$(\"content\").removeClass(\"sapUiCalContentSingle\")}else{g=\"100%\";this.$(\"content\").addClass(\"sapUiCalContentSingle\")}for(var d=0;d<l.length;d++){var u=l[d];u.setWidth(g)}this.invalidate()}this._setPrimaryHeaderMonthButtonText();this._toggleTwoMonthsInColumnsCSS()}function H(e){var t=new c(e,this._getPrimaryCalendarType());t.setDate(1);var a=B.call(this);if(a<=12){var i=e.getMonth();if(12%a>0&&i+a>11){i=12-a}t.setMonth(i)}return t}function x(){var e,t,a;if(!this._bNamesLengthChecked){e=this._getMonthPicker();this._bLongMonth=e._bLongMonth;this._bNamesLengthChecked=true;this.setProperty(\"_currentPicker\",Y.MONTH);if(!this._bLongMonth){t=this.getAggregation(\"month\");if(t.length>1){a=c.fromLocalJSDate(t[0].getDate(),this._getPrimaryCalendarType())}else{a=this._getFocusedDate()}this._setHeaderText(a);this._setPrimaryHeaderMonthButtonText();this._toggleTwoMonthsInColumnsCSS()}}}function R(e,t){var a,i=this._getPrimaryCalendarType(),r;if(!e){return}a=c.fromLocalJSDate(e,i);r=a.getYear();n._checkYearInValidRange(r,i);if(n._isOutside(a,this._oMinDate,this._oMaxDate)){throw new Error(\"Date must not be in valid range (minDate and maxDate); \"+this)}this._setFocusedDate(a);if(this.getDomRef()&&this._iMode==0){this._renderMonth(t,true)}}function B(){if(D.system.phone){return 1}else{return this.getMonths()}}function F(e){this.fireEvent(\"_renderMonth\",{days:e.getParameter(\"days\")})}function L(e){this._oSelectedMonth=e.oSource;this.fireSelect()}function I(e){var t,a,i;if(B.call(this)>1){t=this.getAggregation(\"month\");for(i=0;i<t.length;i++){a=t[i];if(a.getId()!=e.oSource.getId()){a._bindMousemove()}}}}function N(e){var t,a,i;if(B.call(this)>1){t=this.getAggregation(\"month\");for(i=0;i<t.length;i++){a=t[i];if(a.getId()!=e.oSource.getId()){a._unbindMousemove()}}}}function E(e){var t=e.getParameter(\"offset\");if(t>0){this._handleNext(e)}if(t<0){this._handlePrevious(e)}}function J(){this._updateHeadersYearPrimaryText(this._getYearString())}return b});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarAppointment\", [\"./DateTypeRange\",\"sap/base/i18n/Formatting\",\"sap/ui/core/Lib\",\"sap/ui/core/Locale\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/format/NumberFormat\",\"./calendar/CalendarUtils\",\"./library\",\"sap/base/Log\",\"sap/ui/core/date/UI5Date\"],function(t,e,a,n,i,r,o,g,u,s){\"use strict\";var p=t.extend(\"sap.ui.unified.CalendarAppointment\",{metadata:{library:\"sap.ui.unified\",properties:{title:{type:\"string\",group:\"Data\"},text:{type:\"string\",group:\"Data\"},description:{type:\"string\",group:\"Data\"},icon:{type:\"sap.ui.core.URI\",group:\"Data\",defaultValue:null},tentative:{type:\"boolean\",group:\"Data\",defaultValue:false},selected:{type:\"boolean\",group:\"Data\",defaultValue:false},key:{type:\"string\",group:\"Data\",defaultValue:null},color:{type:\"sap.ui.core.CSSColor\",group:\"Appearance\",defaultValue:null}},aggregations:{customContent:{type:\"sap.ui.core.Control\",multiple:true}}}});p.prototype.init=function(){this._sAppointmentPartSuffix=null};p.prototype.applyFocusInfo=function(t){var e=this.getParent();if(e){e.applyFocusInfo(t)}return this};p.prototype._getDateRangeIntersectionText=function(t,o){var g=this.getStartDate(),u=this.getEndDate()?this.getEndDate():s.getInstance(864e12),p=o?\"h:mm a\":\"HH:mm\",l,m,f=s.getInstance(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),c=s.getInstance(f.getFullYear(),f.getMonth(),f.getDate()+1),d=i.getTimeInstance({pattern:p}),T=a.getResourceBundleFor(\"sap.m\"),h=r.getUnitInstance({allowedUnits:[\"duration-hour\"]},new n(e.getLanguageTag())),A=r.getUnitInstance({allowedUnits:[\"duration-minute\"]},new n(e.getLanguageTag())),D,I,y,N;if(g.getTime()>c.getTime()||u.getTime()<f.getTime()){l=\"\"}else if(g.getTime()<=f.getTime()&&u.getTime()>=c.getTime()){l=T.getText(\"PLANNINGCALENDAR_ALLDAY\")}else if(g.getTime()<f.getTime()){l=T.getText(\"PLANNINGCALENDAR_UNTIL\");m=d.format(u)}else if(u.getTime()>c.getTime()){l=T.getText(\"PLANNINGCALENDAR_FROM\");m=d.format(g)}else{l=d.format(g);if(u.getTime()-g.getTime()<36e5){I=(u.getTime()-g.getTime())/6e4;m=A.format(I,\"duration-minute\")}else if((u.getTime()-g.getTime())%36e5===0){D=(u.getTime()-g.getTime())/36e5;m=h.format(D,\"duration-hour\")}else{D=Math.floor((u.getTime()-g.getTime())/36e5);y=h.format(D,\"duration-hour\");I=(u.getTime()-g.getTime())/6e4%60;N=A.format(I,\"duration-minute\");m=T.getText(\"PLANNINGCALENDAR_APP_DURATION\",[y,N])}}return{start:l,end:m}};p._getComparer=function(t){var e=24*60*60*1e3,a=s.getInstance(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0).getTime(),n=a+e;return function(t,e){var i=t.appointment.getStartDate().getTime(),r=e.appointment.getStartDate().getTime(),o=t.appointment.getEndDate()?t.appointment.getEndDate().getTime():864e12,g=e.appointment.getEndDate()?e.appointment.getEndDate().getTime():864e12,u=i<=a&&o>=n,s=r<=a&&g>=n,p;if(u&&s||!u&&!s){p=i-r;if(p===0){p=g-o}}else if(u){p=-1}else{p=1}return p}};p.prototype.setColor=function(t){if(t&&!t.match(/^#[0-9a-f]{6}$/i)){u.warning(\"setColor accepts only full hex color value with pound symbol, but value is '\"+t+\"'\")}return this.setProperty(\"color\",t)};p.prototype._getCSSColorForBackground=function(t){if(t.length===4){t=\"#\"+t.charAt(1)+t.charAt(1)+t.charAt(2)+t.charAt(2)+t.charAt(3)+t.charAt(3)}return\"rgba(\"+[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16)].join(\", \")+\", 0.2)\"};p.prototype._setAppointmentPartSuffix=function(t){this._sAppointmentPartSuffix=t;return this};p.prototype.getDomRef=function(t){if(document.getElementById(this.getId())){return document.getElementById(t?this.getId()+\"-\"+t:this.getId())}else if(this._sAppointmentPartSuffix){return document.getElementById(t?this.getId()+\"-\"+this._sAppointmentPartSuffix+\"-\"+t:this.getId()+\"-\"+this._sAppointmentPartSuffix)}var e=document.querySelectorAll(\".sapUiCalendarRowApps[id^='\"+this.getId()+\"-']\");return e.length>0?e[0]:null};return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarDateInterval\", [\"./calendar/CalendarUtils\",\"./Calendar\",\"./calendar/DatesRow\",\"./calendar/MonthPicker\",\"./calendar/YearPicker\",\"./calendar/YearRangePicker\",\"./calendar/CalendarDate\",\"./library\",\"sap/base/i18n/Localization\",\"sap/base/i18n/date/CalendarType\",\"sap/ui/Device\",\"./CalendarDateIntervalRenderer\",\"sap/base/util/deepEqual\",\"sap/m/Popover\",\"sap/base/Log\",\"./DateRange\",\"sap/ui/core/date/UI5Date\"],function(e,t,a,r,i,s,o,n,h,g,p,c,l,u,d,_,D){\"use strict\";var f=t.extend(\"sap.ui.unified.CalendarDateInterval\",{metadata:{library:\"sap.ui.unified\",properties:{startDate:{type:\"object\",group:\"Data\"},days:{type:\"int\",group:\"Appearance\",defaultValue:7},showDayNamesLine:{type:\"boolean\",group:\"Appearance\",defaultValue:true},pickerPopup:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},designtime:\"sap/ui/unified/designtime/CalendarDateInterval.designtime\"},renderer:c});f.prototype.init=function(){t.prototype.init.apply(this,arguments);this._iDaysMonthHead=35};f.prototype.onBeforeRendering=function(){if(this._getSucessorsPickerPopup()){this.setProperty(\"_currentPicker\",\"month\")}t.prototype.onBeforeRendering.apply(this,arguments);this._bPoupupMode=this.getPickerPopup()};f.prototype._selectYearRange=function(){t.prototype._selectYearRange.apply(this,arguments);this.getAggregation(\"month\")[0].setStartDate(this._getFocusedDate().toLocalJSDate())};f.prototype.exit=function(){t.prototype.exit. Copyright 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\n(function(e){\"use strict\";function t(e){const t=e.search(/[?#]/);return t<0?e:e.slice(0,t)}function n(e,r){r=t(r?n(r):document.baseURI);return new URL(e,r).href}function r(){}function i(e,t){Object.keys(e).forEach(n=>t(n,e[n]))}function s(e){setTimeout(e,0)}function o(e){Promise.resolve().then(e)}const a=[];function u(e,t){a.push({level:e,message:t})}let l={debug:u.bind(this,\"debug\"),info:u.bind(this,\"info\"),warning:u.bind(this,\"warning\"),error:u.bind(this,\"error\"),isLoggable:r};let f=r;let c;let d;let g=s;const h=true;let p=false;let m=false;let b=0;const y=\"./\";let w;let v;const x=Object.create(null);x[\"\"]={url:y,absoluteUrl:n(y)};const E=Object.create(null);const $=Object.create(null);const j=Object.create(null);let L=false;let A;function q(e){if(A){if(A(e)){return true}else{return false}}else{return L}}const I=Object.create(null);let D=null;const O=[];let M=\"\";let T=0;const U=-1;let R=U;let k=Date.now()+R;let P;let _;function S(){if(P==null){k=Date.now()+R}}function C(e){e=Number(e);const t=k-R;R=e>=-1?e:U;if(P==null){k=t+R}}const N=e.setTimeout;function W(){if(P==null){P=new Promise(function(e){if(_==null){_=new MessageChannel;_.port2.start()}_.port2.addEventListener(\"message\",function(){N(function(){P=null;k=Date.now()+R;e()},0)},{once:true});_.port1.postMessage(null)})}return P}function J(e){if(R<0){return e}return function(){if(P==null){e.call(undefined,arguments[0]);if(Date.now()>=k){W()}return}P.then(J(e).bind(undefined,arguments[0]))}}function F(e){if(!/\\.js$/.test(e)){return undefined}e=e.slice(0,-3);if(/^jquery\\.sap\\./.test(e)){return e}return e.replace(/\\//g,\".\")}function G(e){const t=e.lastIndexOf(\"/\");const n=e.lastIndexOf(\".\");if(n>t){return{id:e.slice(0,n),type:e.slice(n)}}return{id:e,type:\"\"}}const X=/(\\.controller|\\.fragment|\\.view|\\.designtime|\\.support)?.js$/;function B(e){const t=X.exec(e);if(t){return{baseID:e.slice(0,t.index),subType:t[0]}}}const H=/(?:^|\\/)\\.+(?=\\/|$)/;const Y=/^\\.*$/;function z(e,t){const n=e.search(H);if(n<0){return e}if(n===0){if(t==null){throw new Error(\"relative name not supported ('\"+e+\"'\")}e=t.slice(0,t.lastIndexOf(\"/\")+1)+e}const r=e.split(\"/\");let i=0;const s=r.length;for(let t=0;t<s;t++){const n=r[t];if(Y.test(n)){if(n===\".\"||n===\"\"){continue}else if(n===\"..\"){if(i===0){throw new Error(\"Can't navigate to parent of root ('\"+e+\"')\")}i--}else{throw new Error(\"Illegal path segment '\"+n+\"' ('\"+e+\"')\")}}else{r[i++]=n}}r.length=i;return r.join(\"/\")}function K(e,r){e=String(e||\"\");if(r==null){if(e){if(x[e]){delete x[e];l.info(`registerResourcePath ('${e}') (registration removed)`)}return}r=y;l.info(`registerResourcePath ('${e}') (default registration restored)`)}r=t(String(r));if(r.slice(-1)!==\"/\"){r+=\"/\"}x[e]={url:r,absoluteUrl:n(r)}}function Q(e,t){let n=e;let r=e.length;while(r>0&&!x[n]){r=n.lastIndexOf(\"/\");n=r>0?n.slice(0,r):\"\"}f((r>0||n===\"\")&&x[n],\"there always must be a mapping\");let i=x[n].url+e.slice(r+1);if(i.slice(-1)===\"/\"){i=i.slice(0,-1)}return i+(t||\"\")}function V(){return b}function Z(e,r){e=t(n(e));for(const t in x){const n=x[t].absoluteUrl.slice(0,-1);if(e.startsWith(n)){let i=t+e.slice(n.length);if(i.charAt(0)===\"/\"){i=i.slice(1)}if(!r||I[i]?.data!=undefined){return i}}}}function ee(e){let t,n;if(e!=null){e=G(e).id;t=e.length;n=E[e];while(t>0&&n==null){t=e.lastIndexOf(\"/\");if(t>0){e=e.slice(0,t);n=E[e]}}}return n||E[\"*\"]}function te(e,t){const n=ee(t);e=z(e,t);if(n!=null){let t=G(e).id;let r=t.length;while(r>0&&n[t]==null){r=t.lastIndexOf(\"/\");t=r>0?t.slice(0,r):\"\"}if(r>0){const i=n[t]+e.slice(r);if(l.isLoggable()){l.debug(`module ID ${e} mapped to ${i}`)}return i}}return e}function ne(e,t,n,r){for(let i=0;e&&i<n;i++){if(!e[t[i]]&&r){e[t[i]]={}}e=e[t[i]]}return e}function re(t){const n=t?t.split(\".\"):[];if(b&&n.length>1){l.error(\"[nosync] getGlobalProperty called to retrieve global name '\"+t+\"'\")}return ne(e,n,n.length)}function ie(t,n){const r=t?t.split(\".\"):[];if(r.length>0){const t=ne(e,r,r.length-1,true);t[r[r.length-1]]=n}}function se(e){return{moduleExport:e}}function oe(e){return e.moduleExport}const ae=0,ue=-1,le=1,fe=2,ce=3,de=4,ge=5,he={};class pe{constructor(e){this.name=e;this.state=ae;this.settled=false;this.url=this._deferred=this.data=this.group=this.error=this.pending=null;this.content=he}deferred(){if(this._deferred==null){const e=this._deferred={};e.promise=new Promise(function(t,n){e.resolve=t;e.reject=n});e.promise.catch(r)}return this._deferred}api(){this._api??={id:this.name.slice(0,-3),exports:this._exports={},url:this.url,config:r};return this._api}ready(e){f(!this.settled,`Module ${this.name} is already settled`);this.state=de;this.settled=true;if(arguments.length>0){this.content=e}this.deferred().resolve(se(this.value()));if(this.aliases){e=this.value();this.aliases.forEach(t=>pe.get(t).ready(e))}}failWith(e,t){const n=xe(e,this,t);this.fail(n);return n}fail(e){f(!this.settled,`Module ${this.name} is already settled`);this.settled=true;if(this.state!==ge){this.state=ge;this.error=e;this.deferred().reject(e);this.aliases?.forEach(t=>pe.get(t).fail(e))}}addPending(e){(this.pending??=[]).push(e)}addAlias(e){(this.aliases??=[]).push(e);pe.get(e).addPending(this.name)}preload(e,t,n){if(this.state===ae&&!A?.(this.name)){this.state=ue;this.url=e;this.data=t;this.group=n}return this}value(){if(this.state===de){if(this.content===he){const e=$[this.name],t=e&&(Array.isArray(e.exports)?e.exports[0]:e.exports);this.content=re(t||F(this.name))}return this.content}return undefined}dependsOn(e){const t=e.name,n=Object.create(null),r=l.isLoggable()?[this.name,t]:undefined;function i(e){if(!n[e]){n[e]=true;const s=I[e]?.pending;if(Array.isArray(s)&&(s.includes(t)||s.some(i))){r?.push(e);return true}}return false}const s=this.name===t||i(this.name);if(s&&r){l.error(\"Dependency cycle detected: \",r.reverse().map((e,t)=>`${\"\".padEnd(t)} -> ${e}`).join(\"\\n\").slice(4))}return s}static get(e){const t=I[e]??=new pe(e);return t}}function me(){if(O.length>0){return O[O.length-1].name}return document.currentScript?.getAttribute(\"data-sap-ui-module\")}let be,ye;function we(e){if(be===e){return}if(be){Object.defineProperty(be,\"amd\",{value:ye,configurable:true,enumerable:true,writable:true});be=ye=undefined}be=e;if(e&&!e.ui5){ye=be.amd;Object.defineProperty(be,\"amd\",{get:function(){const e=me();if(e&&$[e]?.amd){l.debug(`suppressing define.amd for ${e}`);return undefined}return ye},set:function(e){ye=e;l.debug(`define.amd became ${e?\"active\":\"unset\"}`)},configurable:true})}}we(e.define);try{Object.defineProperty(e,\"define\",{get:function(){return be},set:function(e){we(e);l.debug(`define became ${e?\"active\":\"unset\"}`)},configurable:true})}catch(e){l.warning(\"could not intercept changes to window.define, ui5loader won't be able to detect a change of the AMD loader\")}function ve(e){return e?.name===\"ModuleError\"}function xe(e,t,n){let r=`'${t.name}'`;if(ve(n)){r+=`\\n -> ${n._modules.replace(/ -> /g,\" -> \")}`;if(e===n._template){n=n.cause}}const i=e.replace(/\\{id\\}/,r).replace(/\\{url\\}/,t.url)+(n?\": \"+n.message:\"\");const s=new Error(i);s.name=\"ModuleError\";s.cause=n;if(n?.stack){s.stack=s.stack+\"\\nCaused by: \"+n.stack}s._template=e;s._modules=r;return s}function Ee(e,t){f(/\\.js$/.test(e),\"must be a Javascript module\");const n=pe.get(e);if(n.state>ae){return n}if(l.isLoggable()){l.debug(`${M}declare module '${e}'`)}n.state=de;n.deprecation=t||undefined;return n}function $e(e,t){pe.get(e).ready(t)}function je(e){let t=[],n=0,r;this.push=function(i,s,o,a){if(l.isLoggable()){l.debug(M+\"pushing define() call\"+(document.currentScript?\" from \"+document.currentScript.src:\"\")+\" to define queue #\"+n)}const u=document.currentScript?.getAttribute(\"data-sap-ui-module\");t.push({name:i,deps:s,factory:o,_export:a,guess:u});if(!r&&!e&&u==null){r=setTimeout(this.process.bind(this,null,\"timer\"))}};this.clear=function(){t=[];if(r){clearTimeout(r);r=null}};this.process=function(e,r){const i=l.isLoggable();const s=t;const o=n++;let a=null;this.clear();if(e?.execError){if(i){l.debug(`module execution error detected, ignoring queued define calls (${s.length})`)}e.fail(e.execError);return}a=e?.name;s.forEach(t=>{if(t.name==null){if(a!=null){t.name=a;a=null}else{if(h){const t=new Error(\"Modules that use an anonymous define() call must be loaded with a require() call; \"+\"they must not be executed via script tag or nested into other modules. \");if(e){e.fail(t)}else{throw t}}t.name=`~anonymous~${++T}.js`;l.error(\"Modules that use an anonymous define() call must be loaded with a require() call; \"+\"they must not be executed via script tag or nested into other modules. \"+\"All other usages will fail in future releases or when standard AMD loaders are used. \"+\"Now using substitute name \"+t.name)}}else if(e&&t.name===e.name){if(a==null&&!h){l.error(\"Duplicate module definition: both, an unnamed module and a module with the expected name exist.\"+\"This use case will fail in future releases or when standard AMD loaders are used. \")}a=null}});if(a&&s.length>0){if(i){l.debug(\"No queued module definition matches the ID of the request. \"+`Now assuming that the first definition '${s[0].name}' is an alias of '${a}'`)}pe.get(s[0].name).addAlias(a);a=null}if(i){l.debug(M+\"[\"+r+\"] \"+\"processing define queue #\"+o+(e?\" for '\"+e.name+\"'\":\"\")+` with entries [${s.map(e=>`'${e.name}'`)}]`)}s.forEach(e=>{Te(e.name,e.deps,e.factory,e._export,true)});if(a!=null&&!e.settled){if(i){l.debug(M+\"no queued module definition for the requested module found, assume the module to be ready\")}e.data=undefined;e.ready()}if(i){l.debug(M+`processing define queue #${o} done`)}}}let Le=new je;function Ae(e){const t=new XMLHttpRequest;function n(e){e=new Error(t.statusText?t.status+\" - \"+t.statusText:t.status);e.name=\"XHRLoadError\";e.status=t.status;e.statusText=t.statusText;return e}t.addEventListener(\"load\",function(r){if(t.status===200||t.status===0){e.state=fe;e.data=t.responseText}else{e.error=n()}});t.addEventListener(\"error\",function(t){e.error=n()});t.open(\"GET\",e.url,false);try{t.send()}catch(t){e.error=t}}window.addEventListener(\"error\",function e(t){var n=document.currentScript?.getAttribute(\"data-sap-ui-module\");var r=n&&pe.get(n);if(r&&r.execError==null){if(l.isLoggable()){l.debug(`unhandled exception occurred while executing ${n}: ${t.message}`)}r.execError=t.error||{name:\"Error\",message:t.message};return false}});function qe(e,t){const n=document.createElement(\"SCRIPT\");n[\"s\"+\"rc\"]=e.url;n.setAttribute(\"data-sap-ui-module\",e.name);function r(t){S();if(l.isLoggable()){l.debug(`JavaScript resource loaded: ${e.name}`)}n.removeEventListener(\"load\",r);n.removeEventListener(\"error\",i);Le.process(e,\"onload\")}function i(s){S();n.removeEventListener(\"load\",r);n.removeEventListener(\"error\",i);if(t){l.warning(`retry loading JavaScript resource: ${e.name}`);n?.parentNode?.removeChild(n);e.url=t;qe(e,null);return}l.error(`failed to load JavaScript resource: ${e.name}`);e.failWith(\"failed to load {id} from {url}\",new Error(\"script load error\"))}if(t!==undefined){if($[e.name]?.amd){n.setAttribute(\"data-sap-ui-module-amd\",\"true\")}n.addEventListener(\"load\",r);n.addEventListener(\"error\",i)}document.head.appendChild(n)}function Ie(e){const t=j[e];if(Array.isArray(t)){j[e]=undefined;const n=[];t.forEach(t=>{t=te(t,e);if(pe.get(t).state<=ae){n.push(t)}});if(n.length>0){l.info(`preload missing dependencies for ${e}: ${n}`);n.forEach(e=>{if(/\\.js$/.test(e)){De(null,e,true)}})}}}function De(e,t,n,i,s){const o=B(t);if(!o){throw new Error(`can only require Javascript module, not ${t}`)}if(t[0]==\"/\"){l.error(\"Module names that start with a slash should not be used, as they are reserved for future use.\")}const a=l.isLoggable();const u=pe.get(t);const f=$[t];if(u.deprecation){const t=typeof u.deprecation===\"function\"?u.deprecation():u.deprecation;l.error((e?\"(dependency of '\"+e.name+\"') \":\"\")+t)}if(f?.deps&&!i){if(a){l.debug(\"require dependencies of raw module \"+t)}return Me(u,f.deps,function(){return De(e,t,n,true,s)},function(e){throw u.failWith(\"Failed to resolve dependencies of {id}\",e)},n)}if(u.state===ae&&u.group&&u.group!==t&&!s){if(l.isLoggable(3)&&pe.get(u.group).state===ae){l.info(`${M}require bundle '${u.group}' containing '${t}'`)}if(n){const s=De(null,u.group,n).catch(r).then(function(){return De(e,t,n,i,true)});Ie(t);return s}else{try{De(null,u.group,n)}catch(e){if(a){l.error(M+\"require bundle '\"+u.group+\"' failed (ignored)\")}}}}if(a){l.debug(M+\"require '\"+t+\"'\"+(e?\" (dependency of '\"+e.name+\"')\":\"\"))}if(u.state!==ae){let r=false;if(u.state===ce&&u.data!=null&&!n&&u.async){u.state=ue;u.async=n;u.pending=null}if(u.state===ue){u.state=fe;u.async=n;r=true;c&&c.start(t,\"Require module \"+t+\" (preloaded)\",[\"require\"]);Oe(t,n);c&&c.end(t)}if(u.state===de){if(!r&&a){l.debug(M+\"module '\"+t+\"' has already been loaded (skipped).\")}return n?Promise.resolve(se(u.value())):se(u.value())}else if(u.state===ge){if(n){return u.deferred().promise}else{throw u.error}}else{if(n){if(e&&u.dependsOn(e)){if(l.isLoggable()){l.debug(\"cycle detected between '\"+e.name+\"' and '\"+t+\"', returning undefined for '\"+t+\"'\")}return Promise.resolve(se(undefined))}return u.deferred().promise}if(!n&&!u.async){if(l.isLoggable()){l.debug(\"cycle detected between '\"+(e?e.name:\"unknown\")+\"' and '\"+t+\"', returning undefined for '\"+t+\"'\")}return se(undefined)}l.warning(\"Sync request triggered for '\"+t+\"' while async request was already pending.\"+\" Loading a module twice might cause issues and should be avoided by fully migrating to async APIs.\")}}c&&c.start(t,\"Require module \"+t,[\"require\"]);u.state=le;u.async=n;const d=q(t)?[\"-dbg\",\"\"]:[\"\"];if(!n){for(let e=0;e<d.length&&u.state!==fe;e++){u.url=Q(o.baseID,d[e]+o.subType);if(a){l.debug(M+\"loading \"+(d[e]?d[e]+\" version of \":\"\")+\"'\"+t+\"' from '\"+u.url+\"' (using sync XHR)\")}if(b){const e=\"[nosync] loading module '\"+u.url+\"'\";if(b===1){l.error(e)}else{throw new Error(e)}}Se.load({completeLoad:r,async:false},u.url,o.baseID);Ae(u)}if(u.state===le){u.failWith(\"failed to load {id} from {url}\",u.error)}else if(u.state===fe){Oe(t,n)}c&&c.end(t);if(u.state!==de){throw u.error}return se(u.value())}else{u.url=Q(o.baseID,d[0]+o.subType);const e=d.length===2?Q(o.baseID,d[1]+o.subType):u.url;if(l.isLoggable()){l.debug(M+\"loading '\"+t+\"' from '\"+u.url+\"' (using <script>)\")}Se.load({completeLoad:r,async:true},e,o.baseID);qe(u,e);if(!s){Ie(t)}return u.deferred().promise}}function Oe(t,r){const i=I[t];if(i&&i.state===fe&&typeof i.data!==\"undefined\"){const s=l.isLoggable();const o=D;const a=Le;let u,f;try{D=!r;Le=new je(true);if(s){if(typeof i.data===\"string\"){l.warning(M+\"executing '\"+t+\"' (using eval)\")}else{l.debug(M+\"executing '\"+t+\"'\")}u=M;M=M+\": \"}i.state=ce;O.push({name:t,used:false});if(typeof i.data===\"function\"){i.data.call(e)}else if(Array.isArray(i.data)){Ue.apply(null,i.data)}else{f=i.data;if(f){const e=/\\/\\/[#@] source(Mapping)?URL=(.*)$/.exec(f);if(e&&e[1]&&/^[^/]+\\.js\\.map$/.test(e[2])){f=f.slice(0,e.index)+e[0].slice(0,-e[2].length)+n(e[2],i.url)}if(!e||e[1]){f+=\"\\n//# sourceURL=\"+n(i.url)+\"?eval\"}}if(typeof d===\"function\"){f=d(f,t)}e.eval(f)}Le.process(i,\"after eval\")}catch(e){i.data=undefined;if(ve(e)){i.fail(e)}else{if(e instanceof SyntaxError&&f){if(A){i.url=URL.createObjectURL(new Blob([f],{type:\"text/javascript\"}));qe(i)}else{l.error(\"A syntax error occurred while evaluating '\"+t+\"'\"+\", restarting the app with sap-ui-debug=x might reveal the error location\")}}i.failWith(\"Failed to execute {id}\",e)}}finally{O.pop();if(s){M=u;l.debug(M+\"finished executing '\"+t+\"'\")}Le=a;D=o}}}function Me(e,t,n,r,i){const s=[];let o,a;try{if(e instanceof pe){o=e.name}else{o=e;e=null}t=t.slice();for(let e=0;e<t.length;e++){t[e]=te(t[e]+\".js\",o)}if(e){t.forEach(t=>{if(!/^(require|exports|module)\\.js$/.test(t)){e.addPending(t)}})}for(let n=0;n<t.length;n++){const r=t[n];if(e){switch(r){case\"require.js\":s[n]=se(ke(o,true));break;case\"module.js\":s[n]=se(e.api());break;case\"exports.js\":e.api();s[n]=se(e._exports);break;default:break}}if(!s[n]){s[n]=De(e,r,i)}}}catch(e){a=e}if(i){const e=a?Promise.reject(a):Promise.all(s);return e.then(n,r)}else{if(a){r(a)}else{return n(s)}}}function Te(t,n,r,i,s){const o=l.isLoggable();t=z(t);if(o){l.debug(M+\"define('\"+t+\"', \"+\"['\"+n.join(\"','\")+\"']\"+\")\")}const a=Ee(t);let u=false;function f(){if(a.settled){if(a.state>=de&&s&&a.async===false){l.warning(\"Repeated module execution skipped after async/sync conflict for \"+a.name);return true}if(h&&s){l.warning(\"Module '\"+a.name+\"' has been defined more than once. \"+\"All but the first definition will be ignored, don't try to define the same module again.\");return true}if(!u){l.error(\"Module '\"+a.name+\"' is executed more than once. \"+\"This is an unsupported scenario and will fail in future versions of UI5 or \"+\"when a standard AMD loader is used. Don't define the same module again.\");u=true}}}if(f()){return}a.content=undefined;function c(n){if(f()){return}if(o){l.debug(M+\"define('\"+t+\"'): dependencies resolved, calling factory \"+typeof r)}if(i&&b!==2){const n=t.split(\"/\");if(n.length>1){ne(e,n,n.length-1,true)}}if(typeof r===\"function\"){try{n=n.map(oe);let t=r.apply(e,n);if(a._api?.exports!==undefined&&a._api.exports!==a._exports){t=a._api.exports}else if(t===undefined&&a._exports){t=a._exports}a.content=t}catch(e){const t=a.failWith(\"failed to execute module factory for '{id}'\",e);if(s){return}throw t}}else{a.content=r}if(i&&b!==2){if(a.content==null){l.error(`Module '${t}' returned no content, but should export to global?`)}else{if(o){l.debug(`exporting content of '${t}': as global object`)}const e=F(t);ie(e,a.content)}}a.ready()}Me(a,n,s&&a.data?J(c):c,function(e){const t=a.failWith(\"Failed to resolve dependencies of {id}\",e);if(!s){throw t}},s)}function Ue(e,t,n,r){let i;if(typeof e===\"string\"){i=e+\".js\"}else{r=n;n=t;t=e;i=null}if(!Array.isArray(t)){r=n;n=t;if(typeof n===\"function\"&&n.length>0){t=[\"require\",\"exports\",\"module\"].slice(0,n.length)}else{t=[]}}if(D===false||D==null&&p){Le.push(i,t,n,r);if(i!=null){const e=pe.get(i);if(e.state<=ae){e.state=ce;e.async=true}}return}const s=O.length>0?O[O.length-1]:null;if(!i){if(s&&!s.used){i=s.name;s.used=true}else{i=`~anonymous~${++T}.js`;if(s){i=s.name.slice(0,s.name.lastIndexOf(\"/\")+1)+i}l.error(\"Modules that use an anonymous define() call must be loaded with a require() call; \"+\"they must not be executed via script tag or nested into other modules. \"+\"All other usages will fail in future releases or when standard AMD loaders are used \"+\"or when ui5loader runs in async mode. Now using substitute name \"+i)}}else if(s?.used&&i!==s.name){l.debug(`module names don't match: requested: ${e}, defined: ${s.name}`);pe.get(s.name).addAlias(e)}Te(i,t,n,r,false)}function Re(e,t,n){let r=arguments;const i=typeof r[r.length-1]===\"boolean\";if(i){r=Array.prototype.slice.call(r,0,r.length-1)}Ue.apply(this,r)}Re.amd={};Re.ui5={};function ke(t,n){const r=function(r,i,s){f(typeof r===\"string\"||Array.isArray(r),\"dependency param either must be a single string or an array of strings\");f(i==null||typeof i===\"function\",\"callback must be a function or null/undefined\");f(s==null||typeof s===\"function\",\"error callback must be a function or null/undefined\");if(typeof r===\"string\"){const e=te(r+\".js\",t);const i=pe.get(e);if(i.deprecation){const e=typeof i.deprecation===\"function\"?i.deprecation():i.deprecation;l.error(e)}if(n&&i.state!==ce&&i.state!==de){throw new Error(\"Module '\"+e+\"' has not been loaded yet. \"+\"Use require(['\"+e+\"']) to load it.\")}return i.value()}Me(t,r,function(t){t=t.map(oe);if(typeof i===\"function\"){if(p){i.apply(e,t)}else{g(function(){i.apply(e,t)})}}},function(t){if(typeof s===\"function\"){if(p){s.call(e,t)}else{g(function(){s.call(e,t)})}}else{throw t}},p)};r.toUrl=function(e){const n=Pe(te(e,t),e);return _e(n)};return r}function Pe(e,t){if(t.slice(-1)===\"/\"&&e.slice(-1)!==\"/\"){return e+\"/\"}return e}function _e(e){if(e.indexOf(\"/\")===0){throw new Error(`The provided argument '${e}' may not start with a slash`)}return Pe(Q(e),e)}const Se=ke(null,false);const Ce=ke(null,true);function Ne(e){e=te(e+\".js\");if(l.isLoggable()){l.warning(`sync require of '${e}'`)}return oe(De(null,e,false))}function We(e,t,n,r){if(typeof e!==\"string\"){throw new Error(\"predefine requires a module name\")}e=z(e);pe.get(e+\".js\").preload(\"<unknown>/\"+e,[e,t,n,r],null)}function Je(e,t,n){t=t||null;n=n||\"<unknown>\";for(let r in e){r=z(r);pe.get(r).preload(n+\"/\"+r,e[r],t)}}function Fe(e){const t=[ue,ae,fe,de,ge,ce,le];const n={[ue]:\"PRELOADED\",[ae]:\"INITIAL\",[le]:\"LOADING\",[fe]:\"LOADED\",[ce]:\"EXECUTING\",[de]:\"READY\",[ge]:\"FAILED\"};if(e==null){e=ue}const r=l.isLoggable(\"INFO\")?l.info.bind(l):console.info.bind(console);const i=Object.keys(I).sort();t.forEach(t=>{if(t<e){return}let s=0;r(n[t]+\":\");i.forEach((e,i)=>{const o=I[e];if(o.state===t){let t;if(o.state===le){const e=o.pending?.reduce((e,t)=>{const r=pe.get(t);if(r.state!==de){e.push(t+\"(\"+n[r.state]+\")\")}return e},[]);if(e?.length>0){t=\"waiting for \"+e.join(\", \")}}else if(o.state===ge){t=(o.error.name||\"Error\")+\": \"+o.error.message}r(\" \"+(i+1)+\" \"+e+(t?\" (\"+t+\")\":\"\"));s++}});if(s===0){r(\" none\")}})}function Ge(){const e=Object.create(null);i(x,function(t,n){e[t]=n.url});return e}function Xe(e,t,n,r){const i=[];if(t==null){t=true}if(t){for(const t in I){const n=I[t];if(n&&n.group===e){i.push(t)}}}else{if(I[e]){i.push(e)}}i.forEach(e=>{const t=I[e];if(t&&r&&e.match(/\\.js$/)){ie(F(e),undefined)}if(t&&(n||t.state===ue)){delete I[e]}})}function Be(e,t){if(e){e=te(e)}else{e=Z(t,true)}const n=e&&I[e];if(n){n.state=fe;return n.data}else{return undefined}}function He(){const e=Object.create(null);i(I,function(t,n){e[t]={state:n.state,ui5:F(t)}});return e}function Ye(e,t){e=te(e);const n=De(null,e,true).then(oe);return t?n.catch(r):n}const ze={baseUrl(e){K(\"\",e)},paths:K,shim(e,t){if(Array.isArray(t)){t={deps:t}}$[e+\".js\"]=t},amd(t){t=!!t;if(m!==t){m=t;if(t){w=e.define;v=e.require;e.define=Re;e.require=Ce;p=true}else{e.define=w;e.require=v}}},async(e){if(p&&!e){throw new Error(\"Changing the ui5loader config from async to sync is not supported. Only a change from sync to async is allowed.\")}p=!!e},bundles(e,t){e+=\".js\";t.forEach(t=>{pe.get(t+\".js\").group=e})},bundlesUI5(e,t){t.forEach(t=>{pe.get(t).group=e})},debugSources(e){L=!!e},depCache(e,t){j[e+\".js\"]=t.map(e=>e+\".js\")},depCacheUI5(e,t){j[e]=t},ignoreBundledResources(e){if(e==null||typeof e===\"function\"){A=e}},map(e,t){if(t==null){delete E[e]}else if(typeof t===\"string\"){E[\"*\"][e]=t}else{E[e]||=Object.create(null);i(t,function(t,n){E[e][t]=n})}},reportSyncCalls(e){if(e===0||e===1||e===2){b=e}},noConflict(e){l.warning(\"Config option 'noConflict' has been deprecated, use option 'amd' instead, if still needed.\");ze.amd(!e)}};const Ke={baseUrl:ze.baseUrl,paths(e,t){K(e,n(t,Q(\"\")+\"/\"))},map:ze.map,shim:ze.shim};function Qe(e,t){function n(e,n){const r=t[e];if(typeof r===\"function\"){if(r.length===1){r(n)}else if(n!=null){i(n,r)}}else{l.warning(`configuration option ${e} not supported (ignored)`)}}if(e.baseUrl){n(\"baseUrl\",e.baseUrl)}i(e,function(e,t){if(e!==\"baseUrl\"){n(e,t)}})}function Ve(e){if(e===undefined){return{amd:m,async:p,noConflict:!m}}Qe(e,ze)}function Ze(e){if(e===undefined){return undefined}Qe(e,Ke)}Se.preload=Je;Se.load=function(e,t,n){};const et={get assert(){return f},set assert(e){f=e},get logger(){return l},set logger(e){l=e;a.forEach(({level:e,message:t})=>l[e](t))},get measure(){return c},set measure(e){c=e},get translate(){return d},set translate(e){d=e},get callbackInMicroTask(){return g===o},set callbackInMicroTask(e){g=e?o:s},get maxTaskDuration(){return R},set maxTaskDuration(e){C(e)},amdDefine:Re,amdRequire:Ce,config:Ve,declareModule(e,t){Ee(z(e),t)},defineModuleSync:$e,dump:Fe,getAllModules:He,getModuleContent:Be,getModuleState(e){return I[e]?I[e].state:ae},getResourcePath:Q,getSyncCallBehavior:V,getUrlPrefixes:Ge,loadJSResourceAsync:Ye,resolveURL:n,guessResourceName:Z,toUrl:_e,unloadResources:Xe};const sap=e.sap=e.sap||{};sap.ui=sap.ui||{};sap.ui.loader={config:Ve,_:et};Ce.config=Ze;sap.ui.define=Ue;sap.ui.predefine=We;sap.ui.require=Se;sap.ui.requireSync=Ne})(globalThis);\n//@ui5-bundle-raw-include ui5loader-autoconfig.js\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\n(function(){\"use strict\";var e=globalThis.sap&&globalThis.sap.ui&&globalThis.sap.ui.loader;if(e==null){throw new Error(\"ui5loader-autoconfig.js: ui5loader is needed, but could not be found\")}const r=globalThis.define;globalThis.define=function r(i,t,a){const s=t.map(e=>sap.ui.require(e));const o=a(...s);e._.defineModuleSync(`${i}.js`,o)};define(\"sap/base/strings/_camelize\",[],function(){var e=/[-\\.]([a-z0-9])/gi;var r=function(r){var i=r.replace(e,function(e,r){return r.toUpperCase()});if(/^[a-z][A-Za-z0-9]*$/.test(i)){return i}return undefined};return r});function i(){var e;function r(e,r){var i=e&&e.getAttribute(\"src\");var t=r.exec(i);var a;if(t){a={tag:e,url:i,resourceRoot:t[1]||\"\"}}return a}if(globalThis.document){var i=/^((?:.*\\/)?resources\\/)/,t,a,s;e=r(globalThis.document.querySelector(\"SCRIPT[src][id=sap-ui-bootstrap]\"),i);if(!e){a=globalThis.document.querySelectorAll(\"SCRIPT[src]\");t=/^([^?#]*\\/)?(?:sap-ui-(?:core|custom|boot|merged)(?:-[^?#/]*)?|jquery.sap.global|ui5loader(?:-autoconfig)?)\\.js(?:[?#]|$)/;for(s=0;s<a.length;s++){e=r(a[s],t);if(e){break}}}}return e||{}}function t(){var r=\"sap-ui-config.json\",t=globalThis[\"sap-ui-config\"];if(typeof t===\"string\"){if(globalThis.XMLHttpRequest){e._.logger.warning('Loading external bootstrap configuration from \"'+t+'\". This is a design time feature and not for productive usage!');if(t!==r){e._.logger.warning('The external bootstrap configuration file should be named \"'+r+'\"!')}try{var a=new XMLHttpRequest;a.open(\"GET\",t,false);a.setRequestHeader(\"Accept\",\"application/json, text/javascript\");a.addEventListener(\"load\",function(){try{if(a.responseType===\"json\"){globalThis[\"sap-ui-config\"]=a.response}else{globalThis[\"sap-ui-config\"]=JSON.parse(a.responseText)}}catch(r){e._.logger.error('Parsing externalized bootstrap configuration from \"'+t+'\" failed! Reason: '+r+\"!\")}});a.addEventListener(\"error\",function(){e._.logger.error('Loading externalized bootstrap configuration from \"'+t+'\" failed! Response: '+a.status+\"!\")});a.send(null);globalThis[\"sap-ui-config\"].__loaded=true}catch(r){e._.logger.error('Loading externalized bootstrap configuration from \"'+t+'\" failed! Reason: '+r+\"!\")}}}var s=i();if(s.tag){var o=s.tag.dataset;if(o[\"sapUiConfig\"]){var n=o[\"sapUiConfig\"];var u;try{u=JSON.parse(\"{\"+n+\"}\")}catch(r){e._.logger.error(\"JSON.parse on the data-sap-ui-config attribute failed. Please check the config for JSON syntax violations.\");u=new Function(\"return {\"+n+\"};\")()}if(u){if(!globalThis[\"sap-ui-config\"]){globalThis[\"sap-ui-config\"]={}}Object.assign(globalThis[\"sap-ui-config\"],u)}}}}t();define(\"sap/base/config/GlobalConfigurationProvider\",[\"sap/base/strings/_camelize\"],function(r){var i;var t=Object.create(null);var a=/^(sapUiXx|sapUi|sap)((?:[A-Z0-9][a-z]*)+)$/;var s=Object.create(null);const o=new Map;var n=false;var u;function p(){i=Object.create(null);globalThis[\"sap-ui-config\"]??={};var t={};var a=globalThis[\"sap-ui-config\"];if(typeof a===\"object\"){for(var n in a){var u=r(\"sapUi-\"+n);var p=s[u];if(!u){e._.logger.error(\"Invalid configuration option '\"+n+\"' in global['sap-ui-config']!\")}else if(Object.hasOwn(i,u)){o.set(u,t[u])}else if(Object.hasOwn(s,u)&&a[n]!==p){i[u]=p;e._.logger.error(\"Configuration option '\"+u+\"' was frozen and cannot be changed to \"+a[n]+\"!\")}else{i[u]=a[n];t[u]=n}}}t=undefined}function d(){if(!n){p();u._.invalidate();n=true}}function l(r,n){var u=t[r]||i[r];if(o.has(r)){e._.logger.error(\"Configuration option '\"+o.get(r)+\"' was set multiple times. Value '\"+u+\"' will be used\");o.delete(r)}if(Object.hasOwn(s,r)){return s[r]}if(!Object.hasOwn(i,r)&&!Object.hasOwn(t,r)){var p=r.match(a);var d=p?p[1]+p[2][0]+p[2].slice(1).toLowerCase():undefined;if(d){u=t[d]||i[d]}}if(n){s[r]=u}return u}function f(r,i){if(Object.hasOwn(s,r)||n){e._.logger.error(\"Configuration option '\"+r+\"' was frozen and cannot be changed to \"+i+\"!\")}else{t[r]=i}}function c(e){u=e}var g={get:l,set:f,freeze:d,setConfiguration:c,_:{configLoaded(){return!!globalThis[\"sap-ui-config\"].__loaded}}};p();return g});define(\"sap/ui/core/config/BootstrapConfigurationProvider\",[\"sap/base/strings/_camelize\"],function(r){var t=Object.create(null);var a=/^(sapUiXx|sapUi|sap)((?:[A-Z0-9][a-z]*)+)$/;const s=new Map;var o=i();if(o.tag){var n=o.tag.dataset;if(n){for(var u in n){var p=r(u);if(!p){e._.logger.error(\"Invalid configuration option '\"+u+\"' in bootstrap!\")}else if(Object.hasOwn(t,p)){s.set(p,u)}else{t[p]=n[u]}}}}function d(r){var i=t[r];if(s.has(r)){e._.logger.error(\"Configuration option '\"+s.get(r)+\"' was set multiple times. Value '\"+i+\"' will be used\");s.delete(r)}if(i===undefined){var o=r.match(a);var n=o?o[1]+o[2][0]+o[2].slice(1).toLowerCase():undefined;if(n){i=t[n]}}return i}var l={get:d};return l});define(\"sap/ui/base/config/URLConfigurationProvider\",[\"sap/base/strings/_camelize\"],function(r){var i=Object.create(null);const t=new Map;if(globalThis.location){i=Object.create(null);var a={};var s=globalThis.location.search;var o=new URLSearchParams(s);o.forEach(function(s,o){const n=/sap\\-?([Uu]?i\\-?)?/.test(o);var u=r(o);if(u){if(Object.hasOwn(i,u)){t.set(u,a[u])}else{i[u]=s;a[u]=o}}else if(n){e._.logger.error(\"Invalid configuration option '\"+o+\"' in url!\")}});a=undefined}function n(r){if(t.has(r)){e._.logger.error(\"Configuration option '\"+t.get(r)+\"' was set multiple times. Value '\"+i[r]+\"' will be used\");t.delete(r)}return i[r]}var u={external:true,get:n};return u});define(\"sap/ui/base/config/MetaConfigurationProvider\",[\"sap/base/strings/_camelize\"],function(r){var i=Object.create(null);const t=new Map;if(globalThis.document){i=Object.create(null);var a={};var s=globalThis.document.querySelectorAll(\"meta\");s.forEach(function(s){var o=r(s.name);const n=/sap\\-?([Uu]?i\\-?)?/.test(s.name);if(o){if(Object.hasOwn(i,o)){t.set(o,a[o])}else{i[o]=s.content;a[o]=s.name}}else if(s.name&&n){e._.logger.error(\"Invalid configuration option '\"+s.name+\"' in meta tag!\")}});a=undefined}function o(r){if(t.has(r)){e._.logger.error(\"Configuration option '\"+t.get(r)+\"' was set multiple times. Value '\"+i[r]+\"' will be used\");t.delete(r)}return i[r]}var n={get:o};return n});define(\"sap/base/config/_Configuration\",[\"sap/base/config/GlobalConfigurationProvider\"],function e(r){var i=/^[a-z][A-Za-z0-9]*$/;var t=/^(sapUi(?!Xx))(.*)$/;var a=Object.create(null);var s=[r];var o={name:\"sapUiIgnoreUrlParams\",type:\"boolean\"};var n={boolean:false,code:undefined,integer:0,string:\"\",\"string[]\":[],\"function[]\":[],function:undefined,object:{},mergedObject:{}};var u={Boolean:\"boolean\",Code:\"code\",Integer:\"integer\",String:\"string\",StringArray:\"string[]\",FunctionArray:\"function[]\",Function:\"function\",Object:\"object\",MergedObject:\"mergedObject\"};var p=h(o);function d(e){if(e==null){return e}else if(Array.isArray(e)){return l(e)}else if(typeof e===\"object\"){return f(e)}else{return e}}function l(e){var r=[];for(var i=0;i<e.length;i++){r.push(d(e[i]))}return r}function f(e){var r={};for(var i in e){if(i===\"__proto__\"){continue}r[i]=d(e[i])}return r}function c(e,r){var i=a[e];if(r.type===u.StringArray||r.type===u.Object||r.type===u.MergedObject){i=d(i)}return i}function g(e){if(s.indexOf(e)===-1){s.push(e);m._.invalidate();p=h(o)}}function y(e,r,i){if(e===undefined||e===null){return e}if(typeof r===\"string\"){switch(r){case u.Boolean:if(typeof e===\"string\"){return e.toLowerCase()===\"true\"||e.toLowerCase()===\"x\"}else{e=!!e}break;case u.Code:e=typeof e===\"function\"?e:String(e);break;case u.Integer:if(typeof e===\"string\"){e=parseInt(e)}if(typeof e!==\"number\"&&isNaN(e)){throw new TypeError(\"unsupported value\")}break;case u.String:e=\"\"+e;break;case u.StringArray:if(Array.isArray(e)){return e}else if(typeof e===\"string\"){e=e?e.split(/[,;]/).map(function(e){return e.trim()}):[];return e}else{throw new TypeError(\"unsupported value\")}case u.FunctionArray:e.forEach(function(e){if(typeof e!==\"function\"){throw new TypeError(\"Not a function: \"+e)}});break;case u.Function:if(typeof e!==\"function\"){throw new TypeError(\"unsupported value\")}break;case u.Object:case u.MergedObject:if(typeof e===\"string\"){e=JSON.parse(e)}if(typeof e!==\"object\"){throw new TypeError(\"unsupported value\")}break;default:throw new TypeError(\"unsupported type\")}}else if(typeof r===\"object\"&&!Array.isArray(r)){e=b(r,e,i)}else if(typeof r===\"function\"){e=r(e)}else{throw new TypeError(\"unsupported type\")}return e}function b(e,r,i){var t=[];for(var a in e){if(e.hasOwnProperty(a)){if(e[a]===r){return r}t.push(e[a])}}throw new TypeError(\"Unsupported Enumeration value for \"+i+\", valid values are: \"+t.join(\", \"))}function h(e){var r=e.name;if(e.provider){r+=\"-\"+e.provider.getId()}if(r in a){return c(r,e)}if(typeof e.name!==\"string\"||!i.test(e.name)){throw new TypeError(\"Invalid configuration key '\"+e.name+\"'!\")}e=Object.assign({},e);var o;var d=p||!e.external;var l=e.name;var f=l.match(t);var g=e.hasOwnProperty(\"defaultValue\")?e.defaultValue:n[e.type];const b=[...s,...e.provider?[e.provider]:[]];for(var v=b.length-1;v>=0;v--){if(!b[v].external||!d){const r=y(b[v].get(l,e.freeze),e.type,e.name);if(r!==undefined){if(e.type===u.MergedObject){o=Object.assign({},r,o)}else{o=r;break}}}}if(o===undefined&&(f&&f[1]===\"sapUi\")){e.name=f[1]+\"Xx\"+f[2];o=h(e)}if(o===undefined){if(typeof g===\"function\"){g=g()}o=g}a[r]=o;return c(r,e)}function v(){a=Object.create(null)}var m={get:h,registerProvider:g,Type:u,_:{checkEnum:b,invalidate:v}};r.setConfiguration(m);return m});globalThis.define=r;function a(){var e=sap.ui.require(\"sap/base/config/_Configuration\");e.registerProvider(sap.ui.require(\"sap/ui/core/config/BootstrapConfigurationProvider\"));e.registerProvider(sap.ui.require(\"sap/ui/base/config/MetaConfigurationProvider\"));e.registerProvider(sap.ui.require(\"sap/ui/base/config/URLConfigurationProvider\"))}a();var s=sap.ui.require(\"sap/base/config/_Configuration\");var o,n,u,p,d,l;function f(e,r){var i=e&&e.getAttribute(\"src\"),t=r.exec(i);if(t){o=t[1]||\"\";l=i;n=/sap-ui-core-nojQuery\\.js(?:[?#]|$)/.test(i);return true}return false}function c(e){return e&&e[e.length-1]!==\"/\"?e+\"/\":e}if(!f(document.querySelector(\"SCRIPT[src][id=sap-ui-bootstrap]\"),/^((?:[^?#]*\\/)?resources\\/)/)){p=/^([^?#]*\\/)?(?:sap-ui-(?:core|custom|boot|merged)(?:-[^?#/]*)?|jquery.sap.global|ui5loader(?:-autoconfig)?)\\.js(?:[?#]|$)/;u=document.scripts;for(d=0;d<u.length;d++){if(f(u[d],p)){break}}}var g=s.get({name:\"sapUiResourceRoots\",type:s.Type.MergedObject});if(typeof g[\"\"]===\"string\"){o=g[\"\"]}if(o==null){throw new Error(\"ui5loader-autoconfig.js: could not determine base URL. No known script tag and no configuration found!\")}(function(){var e;try{e=window.localStorage.getItem(\"sap-ui-reboot-URL\")}catch(e){}var r=s.get({name:\"sapBootstrapDebug\",type:s.Type.Boolean,external:true,freeze:true});if(r){debugger}if(e){var i=c(o)+\"sap/ui/core/support/debugReboot.js\";document.write('<script src=\"'+i+'\"><\\/script>');var t=new Error(\"This is not a real error. Aborting UI5 bootstrap and rebooting from: \"+e);t.name=\"Restart\";throw t}})();(function(){var r=s.get({name:\"sapUiDebug\",type:s.Type.String,defaultValue:false,external:true,freeze:true});try{r=r||window.localStorage.getItem(\"sap-ui-debug\")}catch(e){}if(typeof r===\"string\"){if(/^(?:false|true|x|X)$/.test(r)){r=r!==\"false\"}}else{r=!!r}if(/-dbg\\.js([?#]|$)/.test(l)){window[\"sap-ui-loaddbg\"]=true;r=r||true}window[\"sap-ui-debug\"]=r;window[\"sap-ui-optimized\"]=window[\"sap-ui-optimized\"]||/\\.getAttribute/.test(f)&&!/oScript/.test(f);if(window[\"sap-ui-optimized\"]&&r){window[\"sap-ui-loaddbg\"]=true;if(r===true&&!window[\"sap-ui-debug-no-reboot\"]){var i;if(l!=null){i=l.replace(/\\/(?:sap-ui-cachebuster\\/)?([^\\/]+)\\.js/,\"/$1-dbg.js\")}else{i=c(o)+\"sap-ui-core.js\"}e.config({amd:false});window[\"sap-ui-optimized\"]=false;if(e.config().async){var t=document.createElement(\"script\");t.src=i;document.head.appendChild(t)}else{document.write('<script src=\"'+i+'\"><\\/script>')}var a=new Error(\"This is not a real error. Aborting UI5 bootstrap and restarting from: \"+i);a.name=\"Restart\";throw a}}function n(e){if(!/\\/\\*\\*\\/$/.test(e)){e=e.replace(/\\/$/,\"/**/\")}return e.replace(/\\*\\*\\/|\\*|[[\\]{}()+?.\\\\^$|]/g,function(e){switch(e){case\"**/\":return\"(?:[^/]+/)*\";case\"*\":return\"[^/]*\";default:return\"\\\\\"+e}})}var u;if(typeof r===\"string\"){var p=\"^(?:\"+r.split(/,/).map(n).join(\"|\")+\")\",d=new RegExp(p);u=function(e){return d.test(e)};e._.logger.debug(\"Modules that should be excluded from preload: '\"+p+\"'\")}else if(r===true){u=function(){return true};e._.logger.debug(\"All modules should be excluded from preload\")}e.config({debugSources:!!window[\"sap-ui-loaddbg\"],ignoreBundledResources:u})})();const y=s.get({name:\"sapUiXxFuture\",type:s.Type.Boolean,external:true,freeze:true});(()=>{const r=s.get({name:\"sapUiAsync\",type:s.Type.Boolean,external:true,freeze:true})||y;if(r){e.config({async:true})}})();e._.maxTaskDuration=s.get({name:\"sapUiXxMaxLoaderTaskDuration\",type:s.Type.Integer,defaultValue:undefined,external:true,freeze:true});const b=s.get({name:\"sapUiAmd\",type:s.Type.Boolean,defaultValue:!s.get({name:\"sapUiNoLoaderConflict\",type:s.Type.Boolean,defaultValue:true,external:true,freeze:true}),external:true,freeze:true});let h=0;let v=s.get({name:\"sapUiXxNoSync\",type:s.Type.String,external:true,freeze:true});v=y?\"x\":v;if(v===\"warn\"){h=1}else if(/^(true|x)$/i.test(v)){h=2}(()=>{const r=sap.ui.require(\"sap/base/config/GlobalConfigurationProvider\");if(h&&r._.configLoaded()){const r=\"[nosync]: configuration loaded via sync XHR\";if(h===1){e._.logger.warning(r)}else{e._.logger.error(r)}}})();e.config({baseUrl:o,amd:b,map:{\"*\":{blanket:\"sap/ui/thirdparty/blanket\",crossroads:\"sap/ui/thirdparty/crossroads\",d3:\"sap/ui/thirdparty/d3\",handlebars:\"sap/ui/thirdparty/handlebars\",hasher:\"sap/ui/thirdparty/hasher\",IPv6:\"sap/ui/thirdparty/IPv6\",jquery:\"sap/ui/thirdparty/jquery\",jszip:\"sap/ui/thirdparty/jszip\",less:\"sap/ui/thirdparty/less\",OData:\"sap/ui/thirdparty/datajs\",punycode:\"sap/ui/thirdparty/punycode\",SecondLevelDomains:\"sap/ui/thirdparty/SecondLevelDomains\",sinon:\"sap/ui/thirdparty/sinon\",signals:\"sap/ui/thirdparty/signals\",URI:\"sap/ui/thirdparty/URI\",URITemplate:\"sap/ui/thirdparty/URITemplate\"}},reportSyncCalls:h,shim:{\"sap/ui/thirdparty/bignumber\":{amd:true,exports:\"BigNumber\"},\"sap/ui/thirdparty/blanket\":{amd:true,exports:\"blanket\"},\"sap/ui/thirdparty/caja-html-sanitizer\":{amd:false,exports:\"html\"},\"sap/ui/thirdparty/crossroads\":{amd:true,exports:\"crossroads\",deps:[\"sap/ui/thirdparty/signals\"]},\"sap/ui/thirdparty/d3\":{amd:true,exports:\"d3\"},\"sap/ui/thirdparty/datajs\":{amd:true,exports:\"OData\"},\"sap/ui/thirdparty/handlebars\":{amd:true,exports:\"Handlebars\"},\"sap/ui/thirdparty/hasher\":{amd:true,exports:\"hasher\",deps:[\"sap/ui/thirdparty/signals\"]},\"sap/ui/thirdparty/IPv6\":{amd:true,exports:\"IPv6\"},\"sap/ui/thirdparty/jquery\":{amd:true,exports:\"jQuery\",deps:[\"sap/ui/thirdparty/jquery-compat\"]},\"sap/ui/thirdparty/jqueryui/jquery-ui-datepicker\":{deps:[\"sap/ui/thirdparty/jqueryui/jquery-ui-core\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jqueryui/jquery-ui-draggable\":{deps:[\"sap/ui/thirdparty/jqueryui/jquery-ui-mouse\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jqueryui/jquery-ui-droppable\":{deps:[\"sap/ui/thirdparty/jqueryui/jquery-ui-mouse\",\"sap/ui/thirdparty/jqueryui/jquery-ui-draggable\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jqueryui/jquery-ui-effect\":{deps:[\"sap/ui/thirdparty/jquery\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jqueryui/jquery-ui-mouse\":{deps:[\"sap/ui/thirdparty/jqueryui/jquery-ui-core\",\"sap/ui/thirdparty/jqueryui/jquery-ui-widget\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jqueryui/jquery-ui-position\":{deps:[\"sap/ui/thirdparty/jquery\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jqueryui/jquery-ui-resizable\":{deps:[\"sap/ui/thirdparty/jqueryui/jquery-ui-mouse\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jqueryui/jquery-ui-selectable\":{deps:[\"sap/ui/thirdparty/jqueryui/jquery-ui-mouse\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jqueryui/jquery-ui-sortable\":{deps:[\"sap/ui/thirdparty/jqueryui/jquery-ui-mouse\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jqueryui/jquery-ui-widget\":{deps:[\"sap/ui/thirdparty/jquery\"],exports:\"jQuery\"},\"sap/ui/thirdparty/jquery-mobile-custom\":{amd:true,deps:[\"sap/ui/thirdparty/jquery\",\"sap/ui/Device\"],exports:\"jQuery.mobile\"},\"sap/ui/thirdparty/jszip\":{amd:true,exports:\"JSZip\"},\"sap/ui/thirdparty/less\":{amd:true,exports:\"less\"},\"sap/ui/thirdparty/qunit-2\":{amd:false,exports:\"QUnit\"},\"sap/ui/thirdparty/punycode\":{amd:true,exports:\"punycode\"},\"sap/ui/thirdparty/RequestRecorder\":{amd:true,exports:\"RequestRecorder\",deps:[\"sap/ui/thirdparty/URI\",\"sap/ui/thirdparty/sinon\"]},\"sap/ui/thirdparty/require\":{exports:\"define\"},\"sap/ui/thirdparty/SecondLevelDomains\":{amd:true,exports:\"SecondLevelDomains\"},\"sap/ui/thirdparty/signals\":{amd:true,exports:\"signals\"},\"sap/ui/thirdparty/sinon\":{amd:true,exports:\"sinon\"},\"sap/ui/thirdparty/sinon-4\":{amd:true,exports:\"sinon\"},\"sap/ui/thirdparty/sinon-server\":{amd:true,exports:\"sinon\"},\"sap/ui/thirdparty/URI\":{amd:true,exports:\"URI\"},\"sap/ui/thirdparty/URITemplate\":{amd:true,exports:\"URITemplate\",deps:[\"sap/ui/thirdparty/URI\"]},\"sap/ui/thirdparty/vkbeautify\":{amd:false,exports:\"vkbeautify\"},\"sap/ui/thirdparty/zyngascroll\":{amd:false,exports:\"Scroller\"},\"sap/viz/libs/canvg\":{deps:[\"sap/viz/libs/rgbcolor\"]},\"sap/viz/libs/rgbcolor\":{},\"sap/viz/libs/sap-viz\":{deps:[\"sap/viz/library\",\"sap/ui/thirdparty/jquery\",\"sap/ui/thirdparty/d3\",\"sap/viz/libs/canvg\"]},\"sap/viz/libs/sap-viz-info-charts\":{amd:true,deps:[\"sap/viz/libs/sap-viz-info-framework\"]},\"sap/viz/libs/sap-viz-info-framework\":{amd:true,deps:[\"sap/ui/thirdparty/jquery\",\"sap/ui/thirdparty/d3\"]},\"sap/viz/ui5/container/libs/sap-viz-controls-vizcontainer\":{deps:[\"sap/viz/libs/sap-viz\",\"sap/viz/ui5/container/libs/common/libs/rgbcolor/rgbcolor_static\"]},\"sap/viz/ui5/controls/libs/sap-viz-vizframe/sap-viz-vizframe\":{deps:[\"sap/viz/libs/sap-viz-info-charts\"]},\"sap/viz/ui5/controls/libs/sap-viz-vizservices/sap-viz-vizservices\":{deps:[\"sap/viz/libs/sap-viz-info-charts\"]},\"sap/viz/resources/chart/templates/standard_fiori/template\":{deps:[\"sap/viz/libs/sap-viz-info-charts\"]}}});var m=e._.defineModuleSync;m(\"ui5loader.js\",null);m(\"ui5loader-autoconfig.js\",null);if(n&&typeof jQuery===\"function\"){m(\"sap/ui/thirdparty/jquery.js\",jQuery);if(jQuery.ui&&jQuery.ui.position){m(\"sap/ui/thirdparty/jqueryui/jquery-ui-position.js\",jQuery)}}var j=s.get({name:\"sapUiMain\",type:s.Type.String,freeze:true});if(j){sap.ui.require(j.trim().split(/\\s*,\\s*/))}})();\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.global\", [\"sap/base/util/now\",\"sap/base/util/Version\",\"sap/base/assert\",\"sap/base/Log\",\"sap/ui/dom/includeScript\",\"sap/ui/dom/includeStylesheet\",\"sap/ui/security/FrameOptions\",\"sap/ui/performance/Measurement\",\"sap/ui/performance/trace/Interaction\",\"sap/base/util/LoaderExtensions\",\"sap/ui/Device\",\"sap/ui/thirdparty/jquery\",\"ui5loader-autoconfig\",\"jquery.sap.stubs\"],function(now,Version,assert,Log,includeScript,includeStylesheet,FrameOptions,Measurement,Interaction,LoaderExtensions,Device,jQuery){\"use strict\";if(!jQuery){throw new Error(\"Loading of jQuery failed\")}var ui5loader=sap.ui.loader;if(!ui5loader||!ui5loader._){throw new Error(\"The UI5 compatilbility module requires a UI5 specific AMD implementation\")}var _ui5loader=ui5loader._;(function(){jQuery.support=jQuery.support||{};jQuery.support.retina=Device.support.retina;jQuery.support.touch=Device.support.touch;jQuery.support.cssTransforms=true;jQuery.support.cssTransforms3d=true;jQuery.support.cssTransitions=true;jQuery.support.cssAnimations=true;jQuery.support.cssGradients=true;jQuery.support.flexBoxPrefixed=false;jQuery.support.flexBoxLayout=false;jQuery.support.newFlexBoxLayout=true;jQuery.support.hasFlexBoxSupport=true})();jQuery.sap=jQuery.sap||{};jQuery.sap.Version=Version;jQuery.sap.now=now;var fnMakeLocalStorageAccessor=function(e,r,t){return function(o){try{if(o!=null||r===\"string\"){if(o){localStorage.setItem(e,r===\"boolean\"?\"X\":o)}else{localStorage.removeItem(e)}t(o)}o=localStorage.getItem(e);return r===\"boolean\"?o===\"X\":o}catch(r){Log.warning(\"Could not access localStorage while accessing '\"+e+\"' (value: '\"+o+\"', are cookies disabled?): \"+r.message)}}};jQuery.sap.debug=fnMakeLocalStorageAccessor.call(this,\"sap-ui-debug\",\"\",function(e){alert(\"Usage of debug sources is \"+(e?\"on\":\"off\")+\" now.\\nFor the change to take effect, you need to reload the page.\")});jQuery.sap.setReboot=fnMakeLocalStorageAccessor.call(this,\"sap-ui-reboot-URL\",\"string\",function(e){if(e){alert(\"Next time this app is launched (only once), it will load UI5 from:\\n\"+e+\".\\nPlease reload the application page now.\")}});jQuery.sap.statistics=fnMakeLocalStorageAccessor.call(this,\"sap-ui-statistics\",\"boolean\",function(e){alert(\"Usage of Gateway statistics \"+(e?\"on\":\"off\")+\" now.\\nFor the change to take effect, you need to reload the page.\")});jQuery.sap.log=Object.assign(Log.getLogger(),{Level:Log.Level,getLogger:Log.getLogger,getLogEntries:Log.getLogEntries,addLogListener:Log.addLogListener,removeLogListener:Log.removeLogListener,logSupportInfo:Log.logSupportInfo,LogLevel:Log.Level,getLog:Log.getLogEntries});var sWindowName=typeof window===\"undefined\"||window.top==window?\"\":\"[\"+window.location.pathname.split(\"/\").slice(-1)[0]+\"] \";jQuery.sap.assert=function(e,r){if(!e){var t=typeof r===\"function\"?r():r;assert(e,sWindowName+t)}};jQuery.sap.factory=function e(r){jQuery.sap.assert(typeof r==\"object\",\"oPrototype must be an object (incl. null)\");function t(){}t.prototype=r;return t};jQuery.sap.newObject=function e(r){jQuery.sap.assert(typeof r==\"object\",\"oPrototype must be an object (incl. null)\");return Object.create(r||null)};jQuery.sap.getter=function(e){return function(){return e}};jQuery.sap.getObject=function(e,r,t){var o=t||window,s=(e||\"\").split(\".\"),a=s.length,n=isNaN(r)?0:a-r,u;if(sap.ui.loader._.getSyncCallBehavior()&&t===window){Log.error(\"[nosync] getObject called to retrieve global name '\"+e+\"'\")}for(u=0;o&&u<a;u++){if(!o[s[u]]&&u<n){o[s[u]]={}}o=o[s[u]]}return o};jQuery.sap.setObject=function(e,r,t){var o=t||window,s=(e||\"\").split(\".\"),a=s.length,n;if(a>0){for(n=0;o&&n<a-1;n++){if(!o[s[n]]){o[s[n]]={}}o=o[s[n]]}o[s[a-1]]=r}};jQuery.sap.measure=Measurement;jQuery.sap.measure.clearInteractionMeasurements=()=>{Interaction.clear()};jQuery.sap.measure.startInteraction=(e,r)=>{Interaction.start(e,r)};jQuery.sap.measure.endInteraction=e=>{Interaction.end(e)};jQuery.sap.measure.getPendingInteractionMeasurement=()=>Interaction.getPending();jQuery.sap.measure.filterInteractionMeasurements=e=>Interaction.filter(e);jQuery.sap.measure.getAllInteractionMeasurements=e=>Interaction.getAll(e);jQuery.sap.measure.getRequestTimings=function(){if(performance.getEntriesByType){return performance.getEntriesByType(\"resource\")}return[]};jQuery.sap.measure.clearRequestTimings=function(){if(performance.clearResourceTimings){performance.clearResourceTimings()}};jQuery.sap.measure.setRequestBufferSize=function(e){if(performance.setResourceTimingBufferSize){performance.setResourceTimingBufferSize(e)}};(function(){var e=LoaderExtensions.getKnownSubtypes(),r;(function(){var t=\"\";for(var o in e){t=(t?t+\"|\":\"\")+\"(?:(?:\"+e[o].join(\"\\\\.|\")+\"\\\\.)?\"+o+\")\"}t=\"\\\\.(?:\"+t+\"|[^./]+)$\";r=new RegExp(t)})();function t(e){if(/^jquery\\.sap\\./.test(e)){return e}return e.replace(/\\./g,\"/\")}jQuery.sap.getModulePath=function(e,r){return jQuery.sap.getResourcePath(t(e),r)};jQuery.sap.getResourcePath=function(e,t){if(arguments.length===1&&e!=\"\"){var o=e.split(/\\//);var s=r.exec(o[o.length-1]);if(s){t=s[0];o[o.length-1]=o[o.length-1].slice(0,s.index);e=o.join(\"/\")}else{t=\"\"}}return _ui5loader.getResourcePath(e,t)};jQuery.sap.registerModulePath=function e(r,t){jQuery.sap.assert(!/\\//.test(r),\"module name must not contain a slash.\");r=r.replace(/\\./g,\"/\");t=t||\".\";LoaderExtensions.registerResourcePath(r,t)};jQuery.sap.registerResourcePath=LoaderExtensions.registerResourcePath;jQuery.sap.registerModuleShims=function(e){jQuery.sap.assert(typeof e===\"object\",\"mShims must be an object\");ui5loader.config({shim:e})};jQuery.sap.isDeclared=function e(r,o){var s=_ui5loader.getModuleState(t(r)+\".js\");return s&&(o||s>0)};jQuery.sap.isResourceLoaded=function e(r){return!!_ui5loader.getModuleState(r)};jQuery.sap.getAllDeclaredModules=LoaderExtensions.getAllRequiredModules;jQuery.sap.declare=function(e,r){var o=e;if(typeof e===\"object\"){o=e.modName;e=t(e.modName)+(e.type?\".\"+e.type:\"\")+\".js\"}else{e=t(e)+\".js\"}_ui5loader.declareModule(e);if(r!==false){jQuery.sap.getObject(o,1)}};jQuery.sap.require=function(r){if(arguments.length>1){for(var o=0;o<arguments.length;o++){jQuery.sap.require(arguments[o])}return this}if(typeof r===\"object\"){jQuery.sap.assert(!r.type||e.js.indexOf(r.type)>=0,\"type must be empty or one of \"+e.js.join(\", \"));r=t(r.modName)+(r.type?\".\"+r.type:\"\")}else{r=t(r)}sap.ui.requireSync(r)};Object.defineProperty(jQuery.sap.require,\"_hook\",{get:function(){return _ui5loader.translate},set:function(e){jQuery.sap.assert(false,\"jquery.sap.global: legacy hook for code transformation should no longer be used\");_ui5loader.translate=e}});jQuery.sap.preloadModules=function(e,r,t){Log.error(\"jQuery.sap.preloadModules was never a public API and has been removed. Migrate to Core.loadLibrary()!\")};jQuery.sap.registerPreloadedModules=function(e){var r=e.modules;if(Version(e.version||\"1.0\").compareTo(\"2.0\")<0){r={};for(var o in e.modules){r[t(o)+\".js\"]=e.modules[o]}}sap.ui.require.preload(r,e.name,e.url)};jQuery.sap.unloadResources=_ui5loader.unloadResources;jQuery.sap.getResourceName=function(e,r){return t(e)+(r==null?\".js\":r)};jQuery.sap.loadResource=LoaderExtensions.loadResource;jQuery.sap._loadJSResourceAsync=_ui5loader.loadJSResourceAsync})();jQuery.sap.includeScript=includeScript;jQuery.sap.includeStyleSheet=includeStylesheet;jQuery.sap.FrameOptions=FrameOptions;jQuery.sap.globalEval=function(){eval(arguments[0])};(function(){var e=Device.browser;var r=e.name;if(!jQuery.browser){jQuery.browser=function(e){var r=/(webkit)[ \\/]([\\w.]+)/,t=/(opera)(?:.*version)?[ \\/]([\\w.]+)/,o=/(mozilla)(?:.*? rv:([\\w.]+))?/,e=e.toLowerCase(),s=r.exec(e)||t.exec(e)||e.indexOf(\"compatible\")<0&&o.exec(e)||[],a={};if(s[1]){a[s[1]]=true;a.version=s[2]||\"0\";if(a.webkit){a.safari=true}}return a}(window.navigator.userAgent)}if(r===e.BROWSER.CHROME){jQuery.browser.safari=false;jQuery.browser.chrome=true}else if(r===e.BROWSER.SAFARI){jQuery.browser.safari=true;jQuery.browser.chrome=false}if(r){jQuery.browser.fVersion=e.version;jQuery.browser.mobile=e.mobile}})();return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"jquery.sap.stubs\", [\"sap/base/Log\",\"sap/base/util/defineLazyProperty\",\"sap/ui/thirdparty/jquery\"],function(e,s,jQuery){\"use strict\";jQuery.sap=jQuery.sap||{};var r={\"jQuery.sap.\":{target:jQuery.sap,stubs:{\"jquery.sap.act\":[\"act\"],\"jquery.sap.dom\":[\"domById\",\"byId\",\"focus\",\"pxToRem\",\"remToPx\",\"containsOrEquals\",\"denormalizeScrollLeftRTL\",\"denormalizeScrollBeginRTL\",\"ownerWindow\",\"scrollbarSize\",\"syncStyleClass\"],\"jquery.sap.encoder\":[\"encodeHTML\",\"encodeXML\",\"escapeHTML\",\"encodeJS\",\"escapeJS\",\"encodeURL\",\"encodeURLParameters\",\"encodeCSS\",\"clearUrlWhitelist\",\"addUrlWhitelist\",\"removeUrlWhitelist\",\"getUrlWhitelist\",\"validateUrl\",\"_sanitizeHTML\"],\"jquery.sap.events\":[\"PseudoEvents\",\"ControlEvents\",\"disableTouchToMouseHandling\",\"touchEventMode\",\"bindAnyEvent\",\"unbindAnyEvent\",\"checkMouseEnterOrLeave\",\"isSpecialKey\",\"handleF6GroupNavigation\",\"_FASTNAVIGATIONKEY\",\"_refreshMouseEventDelayedFlag\",\"isMouseEventDelayed\"],\"jquery.sap.global\":[\"Version\",\"now\",\"debug\",\"setReboot\",\"statistics\",\"log\",\"assert\",\"factory\",\"newObject\",\"getter\",\"getObject\",\"setObject\",\"measure\",\"getModulePath\",\"getResourcePath\",\"registerModulePath\",\"registerResourcePath\",\"registerModuleShims\",\"isDeclared\",\"isResourceLoaded\",\"getAllDeclaredModules\",\"declare\",\"require\",\"preloadModules\",\"registerPreloadedModules\",\"unloadResources\",\"getResourceName\",\"loadResource\",\"_loadJSResourceAsync\",\"includeScript\",\"includeStyleSheet\",\"FrameOptions\",\"globalEval\"],\"jquery.sap.history\":[\"history\"],\"jquery.sap.keycodes\":[\"KeyCodes\"],\"jquery.sap.mobile\":[\"initMobile\",\"setIcons\",\"setMobileWebAppCapable\"],\"jquery.sap.properties\":[\"properties\"],\"jquery.sap.resources\":[\"resources\"],\"jquery.sap.script\":[\"uid\",\"hashCode\",\"unique\",\"equal\",\"each\",\"arraySymbolDiff\",\"_createJSTokenizer\",\"parseJS\",\"extend\",\"getUriParameters\",\"delayedCall\",\"clearDelayedCall\",\"intervalCall\",\"clearIntervalCall\",\"forIn\",\"arrayDiff\"],\"jquery.sap.sjax\":[\"sjaxSettings\",\"sjax\",\"syncHead\",\"syncGet\",\"syncPost\",\"syncGetText\",\"syncGetJSON\"],\"jquery.sap.storage\":[\"storage\"],\"jquery.sap.strings\":[\"endsWith\",\"endsWithIgnoreCase\",\"startsWith\",\"startsWithIgnoreCase\",\"charToUpperCase\",\"padLeft\",\"padRight\",\"camelCase\",\"hyphen\",\"escapeRegExp\",\"formatMessage\"],\"jquery.sap.trace\":[\"interaction\",\"fesr\",\"passport\"],\"jquery.sap.xml\":[\"parseXML\",\"serializeXML\",\"isEqualNode\",\"getParseError\"]}},\"jQuery.\":{target:jQuery,stubs:{\"jquery.sap.mobile\":[\"os\",\"device\"]}},\"jQuery Plugin \":{target:jQuery.fn,stubs:{\"jquery.sap.ui\":[\"root\",\"uiarea\",\"sapui\"],\"jquery.sap.dom\":[\"outerHTML\"],\"sap/ui/dom/jquery/Aria\":[\"addAriaLabelledBy\",\"removeAriaLabelledBy\",\"addAriaDescribedBy\",\"removeAriaDescribedBy\"],\"sap/ui/dom/jquery/control\":[\"control\"],\"sap/ui/dom/jquery/cursorPos\":[\"cursorPos\"],\"sap/ui/dom/jquery/Focusable\":[\"firstFocusableDomRef\",\"lastFocusableDomRef\"],\"sap/ui/dom/jquery/getSelectedText\":[\"getSelectedText\"],\"sap/ui/dom/jquery/hasTabIndex\":[\"hasTabIndex\"],\"sap/ui/dom/jquery/parentByAttribute\":[\"parentByAttribute\"],\"sap/ui/dom/jquery/rect\":[\"rect\"],\"sap/ui/dom/jquery/rectContains\":[\"rectContains\"],\"sap/ui/dom/jquery/scrollLeftRTL\":[\"scrollLeftRTL\"],\"sap/ui/dom/jquery/scrollRightRTL\":[\"scrollRightRTL\"],\"sap/ui/dom/jquery/selectText\":[\"selectText\"],\"sap/ui/dom/jquery/zIndex\":[\"zIndex\"],\"sap/ui/dom/jquery/Selection\":[\"disableSelection\",\"enableSelection\"]}},\"jQuery Selector :\":{target:jQuery.expr.pseudos,stubs:{\"sap/ui/dom/jquery/Selectors\":[\"focusable\",\"sapTabbable\",\"sapFocusable\"]}}};function a(s,r,a,t){return function(){e.warning(\"Sync loading of module '\"+s+\"' due to usage of deprecated API '\"+t+a+\"'\",\"jquery.sap.stubs\",null,function(){return{type:\"jquery.sap.stubs\",name:t+a}});sap.ui.requireSync(s);return r[a]}}function t(e,r,t){if(!r){return}Object.keys(t).forEach(function(o){var u=t[o];u.forEach(function(t){if(r&&!r[t]){s(r,t,a(o,r,t,e),\"jquery.sap.stubs\")}})})}e.debug(\"Applying lazy loading stubs for legacy APIs\",\"jquery.sap.stubs\");Object.keys(r).forEach(function(e){var s Copyright 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/PasteHelper\", [\"sap/ui/core/Lib\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/base/Log\"],function(e,r,n,t){\"use strict\";var a={};a.getClipboardText=function(e){return typeof e==\"string\"?e:e.clipboardData.getData(\"text\")};a.getPastedDataAs2DArray=function(e){var r,n,t=[];var a=/sapui5Placeholder4MultiLine/g;var i=a.source;var o=/\"\"/g;var s=this.getClipboardText(e);var l=[];var p=false;var u=s.indexOf('\"'),f=-1;var c,h;while(u>-1){h=s.charAt(u-1);if(u===0||h===\"\\n\"||h===\"\\t\"||h===\"\\r\"){f=s.indexOf('\"',u+1);if(f>-1){c=s.charAt(f+1);while(f>-1&&c==='\"'){f=s.indexOf('\"',f+2);c=s.charAt(f+1)}if(c===\"\\n\"||c===\"\\t\"||c===\"\"||c===\"\\r\"){var g=s.substring(u+1,f);s=s.replace('\"'+g+'\"',i);g=g.replace(o,'\"');l.push(g);u=s.indexOf('\"',u+i.length+1);p=true}}}if(!p){u=s.indexOf('\"',u+1)}p=false}r=s.split(/\\r\\n|\\r|\\n/);var v=0;var m=function(){return l[v++]};for(var d=0;d<r.length;d++){n=r[d];if(l.length>0){n=n.replace(a,m)}if(n.length||d<r.length-1){t.push(n.split(\"\\t\"))}}return t};a.parse=function(r,n){var t={parsedData:null,errors:null};if(!r){throw new Error(\"Parameter aData is not specified\")}if(n){for(var i=0;i<n.length;i++){var o=n[i];if(o.ignore){continue}if(o.property){if(o.type){var s=o.type;if(s.isA&&s.isA(\"sap.ui.model.SimpleType\")){o.typeInstance=s}else{throw new Error(\"Data type \"+o.type+\" is not an instance of any data type\")}}else if(o.customParseFunction==undefined){throw new Error(\"Missing ColumnInfo.type or custom type parse function for column \"+(i+1)+\". Check the application calling PasteHelper.parse(aData, aColumnInfo) and specify the missing type in the parameter aColumnInfo.\")}}else{throw new Error(\"Missing ColumnInfo.property for column \"+(i+1)+\". Check the application calling PasteHelper.parse(aData, aColumnInfo) and specify the missing property in the parameter aColumnInfo.\")}}}else{throw new Error(\"Missing parameter aColumnInfo\")}var l=[],p=[],u=e.getResourceBundleFor(\"sap.ui.core\");var f=function(e,r){return r.parseValue(e,\"string\")};var c=function(e,r){return r.validateValue(e)};for(var i=0;i<r.length;i++){var h=r[i];var g=a._parseRow(h,n,i,f,c,u,l);p.push(g)}return Promise.all(p).then(function(e){if(l.length>0){t.parsedData=null;t.errors=l}else{if(e){t.parsedData=e}t.errors=null}return t})};a._parseRow=function(e,r,n,t,i,o,s){var l=[],p={};for(var u=0;u<r.length&&u<e.length;u++){var f=r[u];if(f.ignore){continue}var c=e[u];if(!f.typeInstance){t=f.customParseFunction;i=function(){}}var h=a._parseCell(u,c,f,n,t,i,o,p,s);l.push(h)}return Promise.all(l).then(function(){return p})};a._parseCell=function(e,a,i,o,s,l,p,u,f){return Promise.resolve(a).then(function(e){return s(e,i.typeInstance)}).then(function(e){return Promise.all([e,l(e,i.typeInstance)])}).then(function(e){u[i.property]=e[0]}).catch(function(s){if(s instanceof r||s instanceof n){var l={row:o+1,column:e+1,property:i.property,value:a,type:i.type,message:p.getText(\"PasteHelper.ErrorMessage\",[a,o+1,e+1])+\" \"+s.message+\"\\n\"};f.push(l);a=null}else{t.error(s)}})};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/ResponsivePaddingsEnablement\", [\"sap/base/Log\",\"sap/ui/core/Element\",\"sap/ui/core/ResizeHandler\",\"sap/ui/thirdparty/jquery\",\"sap/ui/core/library\"],function(e,i,n,jQuery){\"use strict\";var s={S:599,M:1023,L:1439};var t={S:\"sapUi-Std-PaddingS\",M:\"sapUi-Std-PaddingM\",L:\"sapUi-Std-PaddingL\",XL:\"sapUi-Std-PaddingXL\"};var r=function(r){if(!this.isA||!this.isA(\"sap.ui.core.Control\")){e.error(\"Responsive Paddings enablement could be applied over controls only\");return}this._initResponsivePaddingsEnablement=function(){this.addEventDelegate({onAfterRendering:d,onBeforeRendering:a},this)};function a(){u(this)}function d(){var e=c(this,r);if(e.length){window.requestAnimationFrame(function(){o(this)}.bind(this))}}function o(e){f(e);if(!e.__iResponsivePaddingsResizeHandlerId__){e.__iResponsivePaddingsResizeHandlerId__=n.register(e,f.bind(e,e))}}function u(e){if(e.__iResponsivePaddingsResizeHandlerId__){n.deregister(e.__iResponsivePaddingsResizeHandlerId__);e.__iResponsivePaddingsResizeHandlerId__=null}}function f(e,i){var n=c(e,r);var s=l(e,n);var t=i?i.size.width:e.$().width();p(s);v(s,t)}function c(e,i){var n=g(i);n=n.filter(function(i){return e.hasStyleClass(i)});if(!n.length){return[]}n=n.map(function(e){return e.split(\"--\")[1]});n=n.map(function(e){return i[e]}).filter(function(e){return e});return n}function l(e,i){var n=jQuery();i.forEach(function(i){if(i.suffix){n=n.add(e.$(i.suffix))}if(i.selector){n=n.add(e.$().find(i.selector).first())}});return n}function p(e){var n=Object.keys(t).map(function(e){return t[e]});e.each(function(e,s){var t=i.closestTo(s);if(s===t.getDomRef()){n.forEach(t.removeStyleClass.bind(t))}else{jQuery(s).removeClass(n.join(\" \"))}})}function v(e,n){var r;switch(true){case n<=s.S:r=\"S\";break;case n<=s.M&&n>s.S:r=\"M\";break;case n<=s.L&&n>s.M:r=\"L\";break;default:r=\"XL\";break}e.each(function(e,n){var s=i.closestTo(n);if(n===s.getDomRef()){s.addStyleClass(t[r])}else{jQuery(n).addClass(t[r])}})}function g(e){return Object.keys(e).map(function(e){return\"sapUiResponsivePadding--\"+e})}};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/ShortcutHelper\", [\"sap/ui/Device\",\"sap/ui/events/jquery/EventExtension\"],function(e){\"use strict\";var t={plus:\"+\",space:\" \"};var r={OS:\"Meta\"};var a={\"ctrl+l\":\"jump to address bar\",\"ctrl+n\":\"new window, cannot be registered in Chrome\",\"ctrl+shift+n\":\"new incognito window, cannot be registered in Chrome\",\"ctrl+alt+shift+p\":\"UI5 Technical Info\",\"ctrl+q\":\"quit Chrome in Mac\",\"ctrl+alt+shift+s\":\"UI5 Support Popup\",\"ctrl+t\":\"new tab, cannot be registered in Chrome\",\"ctrl+shift+t\":\"reopen last tab, cannot be registered in Chrome\",\"ctrl+w\":\"close tab, cannot be registered in Chrome\",\"ctrl+shift+w\":\"close window, cannot be registered in Chrome\",\"ctrl+0\":\"reset zoom\",\"ctrl+-\":\"zoom out\",\"ctrl++\":\"zoom in\",\"ctrl+shift+=\":\"cannot be handled\",tab:\"TAB-based keyboard navigation\",\"shift+tab\":\"TAB-based keyboard navigation\",\"ctrl+tab\":\"cycling through tabs, cannot be registered in Chrome\",\"ctrl+shift+tab\":\"cycling through tabs, cannot be registered in Chrome\",\"ctrl+alt+delete\":\"nice try\",\"ctrl+pageup\":\"cycling through tabs, cannot be registered in Chrome\",\"ctrl+pagedown\":\"cycling through tabs, cannot be registered in Chrome\",f6:\"F6-based group navigation\",f11:\"fullscreen, cannot be registered in Chrome\",f12:\"browser dev tools\"};var n=false;document.addEventListener(\"keydown\",function(e){try{if(e.keyCode===18){n=typeof e.location!==\"number\"||e.location===1;return}}catch(e){}});var o={findShortcut:function(e,t){var r=e.data(\"sap.ui.core.Shortcut\");if(!r){return}var a=r.filter(function(e){var r=e.shortcutSpec.key===t.key&&e.shortcutSpec.ctrlKey===t.ctrlKey&&e.shortcutSpec.altKey===t.altKey&&e.shortcutSpec.shiftKey===t.shiftKey&&e.shortcutSpec.metaKey===t.metaKey;return r});return a[0]},getNormalizedShortcutSpec:function(t){var r;if(typeof t===\"string\"){r=o.parseShortcut(t)}else{var a=t.key;var n=/^([a-z0-9\\.,\\-\\*\\/= +]|Tab|Enter|Backspace|Home|Delete|End|Pageup|Pagedown|ArrowUp|ArrowDown|ArrowLeft|ArrowRight|Escape|F[1-9]|F1[0-2])$/i.test(a);if(!n){throw new Error(\"Shortcut key '\"+a+\"' is not a valid shortcut key. It must match /^([a-z0-9.,-*/= +]|Tab|Enter|Backspace|Home|Delete|End|Pageup|Pagedown|ArrowUp|ArrowDown|ArrowLeft|ArrowRight|Escape|F[1-9]|F1[0-2])$/i\")}r={key:o.translateRegisteredKeyToStandard(a).toLowerCase(),ctrlKey:e.os.macintosh?false:!!t.ctrl,ctrlRequested:t.ctrl,altKey:!!t.alt,shiftKey:!!t.shift,metaKey:e.os.macintosh?!!t.ctrl:false}}return r},parseShortcut:function(t){this.validateShortcutString(t);var r=t.toLowerCase().split(\"+\");return{key:o.translateRegisteredKeyToStandard(r.pop()),ctrlKey:e.os.macintosh?false:r.indexOf(\"ctrl\")>-1,ctrlRequested:r.indexOf(\"ctrl\")>-1,altKey:r.indexOf(\"alt\")>-1,shiftKey:r.indexOf(\"shift\")>-1,metaKey:e.os.macintosh?r.indexOf(\"ctrl\")>-1:false}},translateRegisteredKeyToStandard:function(e){return t.hasOwnProperty(e)?t[e]:e},validateShortcutString:function(e){var t=/^((Ctrl|Shift|Alt)\\+){0,3}([a-z0-9\\.,\\-\\*\\/=]|Plus|Tab|Space|Enter|Backspace|Home|Delete|End|Pageup|Pagedown|Escape|ArrowUp|ArrowDown|ArrowLeft|ArrowRight|F[1-9]|F1[0-2])$/i.test(e);if(!t){throw new Error(\"Shortcut '\"+e+\"' is not a valid shortcut string. It must be a '+'-separated list of modifier keys and the actual key, like 'Ctrl+Alt+S'. Or more generally, it must match the expression /^((Ctrl|Shift|Alt)+){0,3}([a-z0-9.,-*/=]|Plus|Tab|Space|Enter|Backspace|Home|Delete|End|Pageup|Pagedown|ArrowUp|ArrowDown|ArrowLeft|ArrowRight|Escape|F[1-9]|F1[0-2])$/i.\")}},validateKeyCombination:function(e){var t=e.ctrlRequested?\"ctrl+\":\"\";t+=e.altKey?\"alt+\":\"\";t+=e.shiftKey?\"shift+\":\"\";t+=e.key;if(a[t]){throw new Error(\"Registering the shortcut '\"+t+\"' is not allowed (\"+a[t]+\").\")}if([\".\",\",\",\"-\",\"+\",\"=\",\"*\",\"/\"].indexOf(e.key)>-1&&t.indexOf(\"shift\")>-1){throw new Error(\"Registering the shortcut '\"+t+\"' is not allowed because the 'Shift' modifier changes the meaning of the \"+e.key+\" key on many keyboards.\")}},getNormalizedShortcutString:function(e){var t=e.ctrlRequested?\"ctrl+\":\"\";t+=e.altKey?\"alt+\":\"\";t+=e.shiftKey?\"shift+\":\"\";t+=e.key;return t},shortcutMayBeUsedHere:function(e,t){var r=t.tagName.toLowerCase();if((r===\"input\"||r===\"textarea\")&&e.key.includes(\"arrow\")){return false}return true},handleKeydown:function(e,t,a,i){if(!i.key){return}if(i.key===\"Control\"||i.key===\"Shift\"||i.key===\"Alt\"||i.key===\"AltGraph\"||i.key===\"Meta\"){return}if(i.isMarked()){return}if(i.altKey&&!n){return}var s=r.hasOwnProperty(i.key)?r[i.key]:i.key;s=s.toLowerCase();if(s!==e.key||i.ctrlKey!==e.ctrlKey||i.altKey!==e.altKey||i.shiftKey!==e.shiftKey||i.metaKey!==e.metaKey){return}if(!o.shortcutMayBeUsedHere(e,i.target||i.srcElement)){return}i.preventDefault();i.setMarked();i.stopPropagation();var c={registeredShortcut:t,originalBrowserEvent:i.originalEvent||i};a(c)}};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/XMLPreprocessor\", [\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/JSTokenizer\",\"sap/base/util/ObjectPath\",\"sap/ui/base/BindingInfo\",\"sap/ui/base/BindingParser\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/SyncPromise\",\"sap/ui/core/Component\",\"sap/ui/core/XMLTemplateProcessor\",\"sap/ui/model/BindingMode\",\"sap/ui/model/CompositeBinding\",\"sap/ui/model/Context\",\"sap/ui/performance/Measurement\"],function(e,n,t,r,i,o,a,u,s,f,l,c,d,g){\"use strict\";var p=\"http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1\",m=\"sap.ui.core.util.XMLPreprocessor\",h=[m],v=m+\"/getResolvedBinding\",y=m+\"/insertFragment\",b=m+\".process\",x=u.resolve(),w=u.resolve(true),C=Object.prototype.toString,N={},A=a.extend(\"sap.ui.core.util._with\",{metadata:{library:\"sap.ui.core\",properties:{any:\"any\"},aggregations:{child:{multiple:false,type:\"sap.ui.core.util._with\"}}},updateProperty:function(){this.setAny(this.mBindingInfos.any.binding.getExternalValue())}}),M=A.extend(\"sap.ui.core.util._repeat\",{metadata:{library:\"sap.ui.core\",aggregations:{list:{multiple:true,type:\"n/a\",_doesNotRequireFactory:true}}},updateList:function(){}});function P(e,n,t,r){function i(n){if(!r){r=e.getBinding(\"any\");if(r instanceof c){r=r.getBindings();if(t!==undefined){r=r[t]}}}return Array.isArray(r)?r[n]:r}function o(e){return e instanceof d?e.getPath():e.getModel().resolve(e.getPath(),e.getContext())}return{_slice:function(e,t){i(0);return!e&&t>=r.length?this:P(null,n,undefined,r.slice(e,t))},getInterface:function(e,t){var o,a,u;if(typeof e===\"string\"){t=e;e=undefined}i();if(Array.isArray(r)){if(e>=0&&e<r.length){a=r[e]}else{throw new Error(\"Invalid index of part: \"+e)}}else if(e!==undefined){throw new Error(\"Not the root formatter of a composite binding\")}else if(t){a=r}else{throw new Error(\"Missing path\")}if(t){u=a.getModel();if(t.charAt(0)!==\"/\"){o=a instanceof d?a:u.createBindingContext(a.getPath(),a.getContext())}a=u.createBindingContext(t,o);if(!a){throw new Error(\"Model could not create binding context synchronously: \"+u)}}return P(null,n,undefined,a)},getModel:function(e){var n=i(e);return n&&n.getModel()},getPath:function(e){var n=i(e);return n&&o(n)},getSetting:function(e){if(e===\"bindingContexts\"||e===\"models\"){throw new Error(\"Illegal argument: \"+e)}return n[e]}}}function E(e,n,t,r,i){var o=false;function a(n,a){var s=n.formatter,f=n.model,c=e.getModel(f);if(s&&s.requiresIContext===true){s=n.formatter=s.bind(null,P(e,t,a))}if(s&&i&&(c&&c.$$valueAsPromise||a===undefined&&o)){n.formatter=function(){var e=this;return u.all(arguments).then(function(n){return s.apply(e,n)})};n.formatter.textFragments=s.textFragments}n.mode=l.OneTime;n.parameters??={};n.parameters.scope=r;if(i&&c&&c.$$valueAsPromise){o=n.parameters.$$valueAsPromise=true}}try{n.parts.forEach(a);a(n);e.bindProperty(\"any\",n);return u.resolve(e.getAny())}catch(e){return u.reject(e)}finally{e.unbindProperty(\"any\",true)}}function I(e,n){var t=-1;function r(i){if(i){return e[t]}t+=1;if(t<e.length){return n(e[t],t,e).then(r)}return undefined}return e.length?r():x}function B(e){var n,t=e.attributes,r=\"<\"+e.nodeName,i,o;for(i=0,o=t.length;i<o;i+=1){n=t.item(i);r+=\" \"+n.name+'=\"'+n.value+'\"'}return r+(e.childNodes.length?\">\":\"/>\")}function F(e,n){return n.visitNode(e)}return{plugIn:function(n,t,r){var i=N[t];if(n!==null&&typeof n!==\"function\"||n===F){throw new Error(\"Invalid visitor: \"+n)}if(!t||t===p||t===\"sap.ui.core\"||t.indexOf(\" \")>=0){throw new Error(\"Invalid namespace: \"+t)}e.debug(\"Plug-in visitor for namespace '\"+t+\"', local name '\"+r+\"'\",n,m);if(r){t=t+\" \"+r;i=N[t]||i}N[t]=n;return i||F},visitNodeWrapper:F,process:function(a,c,P){var F=c.caller,j=e.isLoggable(e.Level.DEBUG,m),O=j,R=c.name,S={},L=0,U={},$=c._supportInfo,T=e.isLoggable(e.Level.WARNING,m);function q(e){return{find:function(e,n){try{return u.resolve(I(e,n))}catch(e){return u.reject(e)}},getContext:function(n=\"\"){var t,r,i;if(n[0]===\"{\"){throw new Error(\"Must be a simple path, not a binding: \"+n)}t=o.simpleParser(\"{\"+n+\"}\");r=e.getModel(t.model);if(!r){throw new Error(\"Unknown model '\"+t.model+\"': \"+n)}i=r.resolve(t.path,e.getBindingContext(t.model));if(!i){throw new Error(\"Cannot resolve path: \"+n)}return r.createBindingContext(i)},getResult:function(n,t){return z(n,t,e,true)},getSettings:function(){return P},getViewInfo:function(){return n({},c)},insertFragment:function(n,t){return G(n,t,e)},visitAttribute:function(n,t){return ie(n,t,e)},visitAttributes:function(n){return oe(n,e)},visitChildNodes:function(n){return ae(n,e)},visitNode:function(n){try{return ue(n,e)}catch(e){return u.reject(e)}},with:function(n,t){var r,i=false,o,a=new A;if(!t){e.setChild(a)}for(o in n){r=n[o];i=true;a.setModel(r.getModel(),o);a.bindObject({model:o,path:r.getPath()})}return i||t?q(a):this}}}function k(n){if(j){e.debug(J()+Array.prototype.slice.call(arguments,1).join(\" \"),n&&B(n),m)}}function _(n){if(j){e.debug(J()+\"Finished\",\"</\"+n.nodeName+\">\",m)}}function D(n,t){n+=B(t);e.error(n,F,m);throw new Error(F+\": \"+n)}function X(e){var n,t=Array.prototype.filter.call(e.childNodes,a),r,i,o=false;function a(e){return e.nodeType===1}function u(e,n){return e.namespaceURI===p&&e.localName===n}if(!t.length||!u(t[0],\"then\")){return null}for(r=1,i=t.length;r<i;r+=1){n=t[r];if(o){D(\"Expected </\"+e.prefix+\":if>, but instead saw \",n)}if(u(n,\"else\")){o=true}else if(!u(n,\"elseif\")){D(\"Expected <\"+e.prefix+\":elseif> or <\"+e.prefix+\":else>, but instead saw \",t[r])}}return t}function J(){return(L<10?\"[ \":\"[\")+L+\"] \"}function W(e){return e&&e.charAt(0)===\".\"?r.get(e.slice(1),U):r.get(e||\"\",U)||r.get(e||\"\")}function z(e,n,t,r,a){try{g.average(v,\"\",h);let s;try{s=o.complexParser(e,U,r,true,true,true,null,!c.sync)}catch(e){return u.reject(e)}let f;if(s){if(!c.sync){if(s.wait){f=u.resolve(s.resolved)}s=s.bindingInfo}if(typeof s===\"string\"){a?.();return u.resolve(s)}s=i.createProperty(s)}else{a?.();return u.resolve(e)}if(s.functionsNotFound){if(r){se(n,\"Function name(s)\",s.functionsNotFound.join(\", \"),\"not found\")}return null}if(!i.isReady(s,t)){if(r){se(n,\"Binding not ready\")}return null}const l=s.parts.every(e=>e.value!==undefined);if(l){a?.()}if(!f){const r=E(t,s,P,U,!c.sync);if(c.sync&&r.isPending()){D(\"Async formatter in sync view in \"+e+\" of \",n)}return r}return f.then(function(){return E(t,s,P,U,true)})}finally{g.end(v)}}function G(e,n,t){var r,i=c.sync?f.loadTemplate:f.loadTemplatePromise,o=R;t.$mFragmentContexts??={};if(t.$mFragmentContexts[e]){D(\"Cyclic reference to fragment '\"+e+\"' \",n)}L++;k(n,\"fragmentName =\",e);t.$mFragmentContexts[e]=true;R=e;g.average(y,\"\",h);r=S[e];if(!r){S[e]=r=u.resolve(i(e,\"fragment\"))}return r.then(function(e){e=n.ownerDocument.importNode(e,true);g.end(y);return K(e).then(function(){if(e.namespaceURI===\"sap.ui.core\"&&e.localName===\"FragmentDefinition\"){return V(e,t,n)}n.parentNode.insertBefore(e,n);return ue(e,t)})}).then(function(){n.parentNode.removeChild(n);R=o;t.$mFragmentContexts[e]=false;_(n);L-=1})}function V(e,n,t=e){return ae(e,n).then(function(){var n;while(n=e.firstChild){t.parentNode.insertBefore(n,t)}})}function H(e,n){var t=se.bind(null,e,\"Constant test condition\"),r=z(e.getAttribute(\"test\"),e,n,true,t)||u.resolve(false);return r.catch(function(n){se(e,\"Error in formatter:\",n)}).then(function(n){var t=!!n&&n!==\"false\";if(j){if(typeof n===\"string\"){n=JSON.stringify(n)}else if(n===undefined){n=\"undefined\"}else if(Array.isArray(n)){n=\"[object Array]\"}k(e,\"test ==\",n,\"--\\x3e\",t)}return t})}function K(e){var n={},r=e.getAttributeNodeNS(p,\"require\"),i,o;function a(){return new u(function(e,n){var t=o.map(sap.ui.require);if(t.every(Boolean)){e(t)}else{sap.ui.require(o,function(){e(arguments)},n)}}).then(function(e){Object.keys(n).forEach(function(n,t){U[n]=e[t]})})}if(r&&r.value){i=r.value;e.removeAttributeNode(r);if(i[0]===\"{\"){n=t.parseJS(i);o=Object.keys(n).map(function(e){return n[e]});return a()}o=i.split(\" \").map(function(e){return e.replace(/\\./g,\"/\")});if(!c.sync){return a()}o.forEach(sap.ui.requireSync)}return x}function Q(e,n,t){var r=z(n.value,e,t,false);if(!r){k(e,\"Binding not ready for attribute\",n.name);return x}return r.then(function(t){if(t===null||t===undefined){k(e,\"Removed attribute\",n.name);e.removeAttributeNode(n)}else if(t!==n.value){switch(typeof t){case\"boolean\":case\"number\":case\"string\":k(e,n.name,\"=\",t);n.value=t;break;default:k(e,\"Ignoring\",C.call(t),\"value for attribute\",n.name) Copyright 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/ODataPropertyBinding\", [\"./ODataMetaModel\",\"sap/ui/model/Context\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/PropertyBinding\",\"sap/base/util/deepEqual\"],function(t,e,i,a,s){\"use strict\";var o=a.extend(\"sap.ui.model.odata.ODataPropertyBinding\",{constructor:function(t,e,i,s){a.apply(this,arguments);this.bInitial=true;this.oValue=this._getValue();this.vOriginalValue=undefined;this.getDataState().setValue(this.oValue);this.setIgnoreMessages(s&&s.ignoreMessages);this.bUseUndefinedIfUnresolved=s&&s.useUndefinedIfUnresolved}});o.prototype.initialize=function(){if(this.oModel.oMetadata.isLoaded()&&this.bInitial){this.checkUpdate(true);this.bInitial=false}};o.prototype.getValue=function(){return this.oValue};o.prototype._getValue=function(){return this.oModel._getObject(this.sPath,this.oContext,undefined,this.bUseUndefinedIfUnresolved)};o.prototype.setValue=function(t){if(this.bSuspended){return}if(!s(t,this.oValue)&&this.oModel.setProperty(this.sPath,t,this.oContext,true)){this.oValue=t;var e=this.getDataState();e.setValue(this.oValue);this.oModel.firePropertyChange({reason:i.Binding,path:this.sPath,context:this.oContext,value:t})}};o.prototype.setContext=function(t){var i,a=this.oContext;if(t&&t.isPreliminary&&t.isPreliminary()){return}if(e.hasChanged(this.oContext,t)){this.oContext=t;if(this.isRelative()){i=!!(a!==t&&this.getDataState().getMessages().length);this.checkUpdate(i)}}};o.prototype.checkUpdate=function(e){var a,o=this;if(this.bSuspended&&!e){return}a=t.getCodeListTerm(this.sPath);if(a){if(this.bInitial){this.oModel.getMetaModel().fetchCodeList(a).then(function(t){o.oValue=t;o._fireChange({reason:i.Change})},function(){})}return}var n=this.getDataState();var h=false;var r=this.oModel.getOriginalProperty(this.sPath,this.oContext);if(e||!s(r,this.vOriginalValue)){this.vOriginalValue=r;n.setOriginalValue(r);h=true}var u=this._getValue();if(e||!s(u,this.oValue)){this.oValue=u;n.setValue(this.oValue);this._fireChange({reason:i.Change});h=true}if(h){this.checkDataState()}};o.prototype.checkDataState=function(t){var e=this.oModel.resolve(this.sPath,this.oContext,true)||this.getResolvedPath();this.getDataState().setLaundering(!!t&&!!(e in t));a.prototype._checkDataState.call(this,e,t)};o.prototype.supportsIgnoreMessages=function(){return true};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/ODataTreeBinding\", [\"./CountMode\",\"sap/base/Log\",\"sap/base/util/each\",\"sap/ui/model/TreeBinding\"],function(e,t,s,o){\"use strict\";var i=o.extend(\"sap.ui.model.odata.ODataTreeBinding\",{constructor:function(e,s,i,r,n){o.apply(this,arguments);this.bPendingRequest=false;this.oFinalLengths={};this.oLengths={};this.oKeys={};this.bNeedsUpdate=false;this.bHasTreeAnnotations=this._hasTreeAnnotations();this.oRootContext=null;this.iNumberOfExpandedLevels=n&&n.numberOfExpandedLevels;this.sCountMode=n&&n.countMode||this.oModel.sDefaultCountMode;if(!this.bHasTreeAnnotations){if(!n||!n.navigation){t.error(\"A navigation paths parameter object has to be defined\");this.oNavigationPaths={}}else{this.oNavigationPaths=n.navigation}}else{t.warning(\"Tree hierarchy annotations are deprecated and may not work correctly with the sap.ui.model.odata.ODataModel.\"+\" Please use the sap.ui.model.odata.v2.ODataModel (since version 1.28) instead which fully supports hierarchy annotations.\")}}});i.prototype.getRootContexts=function(e,t,s){var o=null,i={numberOfExpandedLevels:this.iNumberOfExpandedLevels},r=[],n=true,a=this;if(this.bHasTreeAnnotations){i.level=0;if(!this.bDisplayRootNode){i.level=1}}else{o=this.oModel.resolve(this.getPath(),this.getContext());i.navPath=this._getNavPath(this.getPath());if(i.numberOfExpandedLevels>0){var h=o;for(var l=0;l<i.numberOfExpandedLevels;l++){var f=this._getNavPath(h);i.navPath+=\"/\"+f;h+=\"/\"+f}}var u=this.oModel.isList(this.sPath,this.getContext());if(u){this.bDisplayRootNode=true}else{n=false;this.oModel.createBindingContext(o,null,{expand:i.navPath},function(e){r=[e];if(a.oRootContext!==e){a.oRootContext=e;a._processODataObject(e.getObject(),o,i.navPath);a.bNeedsUpdate=true}},this.bRefresh);this.bRefresh=false}}if(n){if(!this.bDisplayRootNode){r=this._getContextsForNodeId(o,0,1,0,i)}else{r=this._getContextsForNodeId(o,e,t,s,i)}}if(!this.bDisplayRootNode&&r.length>0){this.oRootContext=r[0];r=this.getNodeContexts(r[0],e,t,s)}return r};i.prototype.getNodeContexts=function(e,t,s,o){var i,r={};if(this.bHasTreeAnnotations){var n=e.getProperty(this.oTreeProperties[\"hierarchy-drill-state-for\"]);if(n==\"leaf\"){return[]}i=e.getProperty(this.oTreeProperties[\"hierarchy-node-for\"]);r.level=parseInt(e.getProperty(this.oTreeProperties[\"hierarchy-level-for\"]))+1}else{var a=this._getNavPath(e.getPath());if(!a){return[]}i=this.oModel.resolve(a,e);r.navPath=this.oNavigationPaths[a]}return this._getContextsForNodeId(i,t,s,o,r)};i.prototype.hasChildren=function(e){if(!e){return false}if(this.bHasTreeAnnotations){var t=e.getProperty(this.oTreeProperties[\"hierarchy-drill-state-for\"]);return t===\"expanded\"||t===\"collapsed\"}else{var s=this._getNavPath(e.getPath());var o=e.getPath()+\"/\"+s;return s&&this.oLengths[o]>0}};i.prototype.getChildCount=function(e){if(this.bHasTreeAnnotations){var t;if(!e){if(this.oRootContext){t=this.oRootContext.getProperty(this.oTreeProperties[\"hierarchy-node-for\"])}else{t=\"000000\"}}else{t=e.getProperty(this.oTreeProperties[\"hierarchy-node-for\"])}return this.oLengths[t]}else{if(!e){return this.oLengths[this.getPath()]}return this.oLengths[e.getPath()+\"/\"+this._getNavPath(e.getPath())]}};i.prototype._getContextsForNodeId=function(e,t,s,o,i){var r=[],n,a;if(!t){t=0}if(!s){s=this.oModel.iSizeLimit}if(!o){o=0}if(this.bHasTreeAnnotations){if(e==null){e=\"000000\"}if(i.level==0){i.level++}}if(this.oFinalLengths[e]&&this.oLengths[e]<s){s=this.oLengths[e]}if(this.oKeys[e]){for(var h=t;h<t+s;h++){a=this.oKeys[e][h];if(!a){break}r.push(this.oModel.getContext(\"/\"+a))}}n=r.length!=s&&!(this.oFinalLengths[e]&&r.length>=this.oLengths[e]);if(this.oModel.getServiceMetadata()){if(!this.bPendingRequest&&n){var l=[];if(this.bHasTreeAnnotations){if(i.numberOfExpandedLevels>0){var f=i.level+i.numberOfExpandedLevels;l.push(\"$filter=\"+this.oTreeProperties[\"hierarchy-level-for\"]+\" le '0\"+f+\"'\")}else{l.push(\"$filter=\"+this.oTreeProperties[\"hierarchy-level-for\"]+\" eq '0\"+i.level+\"' and \"+this.oTreeProperties[\"hierarchy-parent-node-for\"]+\" eq '\"+e+\"'\")}}else if(i.navPath){l.push(\"$expand=\"+i.navPath)}this._loadSubNodes(e,t,s,o,l,i)}}return r};i.prototype._getCountForNodeId=function(e,s,o,i,r){var n=this;var a=[];function h(t){n.oFinalLengths[e]=true;n.oLengths[e]=parseInt(t)}function l(e){var s=\"Request for $count failed: \"+e.message;if(e.response){s+=\", \"+e.response.statusCode+\", \"+e.response.statusText+\", \"+e.response.body}t.warning(s)}var f;if(this.bHasTreeAnnotations){f=this.oModel.resolve(this.getPath(),this.getContext());a.push(\"$filter=\"+this.oTreeProperties[\"hierarchy-parent-node-for\"]+\" eq '\"+e+\"'\")}else{f=e}if(f){var u=this.oModel._createRequestUrl(f+\"/$count\",null,a);var d=this.oModel._createRequest(u,\"GET\",false);d.headers[\"Accept\"]=\"text/plain, */*;q=0.5\";this.oModel._request(d,h,l,undefined,undefined,this.oModel.getServiceMetadata())}};i.prototype._loadSubNodes=function(t,s,o,i,r,n){var a=this,h=false;if(s||o){r.push(\"$skip=\"+s+\"&$top=\"+o)}if(!a.bHasTreeAnnotations&&!this.oFinalLengths[t]&&(this.sCountMode==e.Inline||this.sCountMode==e.Both)){r.push(\"$inlinecount=allpages\");h=true}function l(e){var o,i;if(e.results){if(!a.bHasTreeAnnotations){if(h&&e.__count){a.oLengths[t]=parseInt(e.__count);a.oFinalLengths[t]=true}else if(a.oModel.isCountSupported()){a._getCountForNodeId(t)}a.oKeys[t]=[];for(i=0;i<e.results.length;i++){o=e.results[i];var r=a.oModel._getKey(o);a._processODataObject(o,\"/\"+r,n.navPath);a.oKeys[t][i+s]=r}}else{var l={};for(i=0;i<e.results.length;i++){o=e.results[i];t=o[a.oTreeProperties[\"hierarchy-parent-node-for\"]];if(i==0){l[t]=s}else if(l[t]==undefined){l[t]=0}if(!(t in a.oKeys)){a.oKeys[t]=[];a._getCountForNodeId(t)}a.oKeys[t][l[t]]=a.oModel._getKey(o);l[t]++}}}else{a.oKeys[null]=a.oModel._getKey(e);if(!a.bHasTreeAnnotations){a._processODataObject(e,t,n.navPath)}}a.oRequestHandle=null;a.bPendingRequest=false;a.bNeedsUpdate=true}function f(){a.fireDataReceived()}function u(e){a.oRequestHandle=null;a.bPendingRequest=false;a.fireDataReceived()}function d(e){a.oRequestHandle=e}if(t){if(!this.oFinalLengths[t]){this.bPendingRequest=true;this.fireDataRequested();var p;if(this.bHasTreeAnnotations){p=this.oModel.resolve(this.getPath(),this.getContext())}else{p=t}this.oModel._loadData(p,r,l,u,false,d,f)}}};i.prototype.resetData=function(e){if(e){var t=e.getPath();delete this.oKeys[t];delete this.oLengths[t];delete this.oFinalLengths[t]}else{this.oKeys={};this.oLengths={};this.oFinalLengths={};this.oRootContext=null}};i.prototype.refresh=function(e,t,o){var i=false;if(!e){if(o){var r=this.oModel.resolve(this.sPath,this.oContext);var n=this.oModel.oMetadata._getEntityTypeByPath(r);if(n&&n.entityType in o){i=true}}if(t&&!i){s(this.oKeys,function(e,o){s(o,function(e,s){if(s in t){i=true;return false}return true});if(i){return false}return true})}if(!t&&!o){i=true}}if(e||i){this.resetData();this.bNeedsUpdate=false;this.bRefresh=true;this._fireChange()}};i.prototype.filter=function(e){t.warning(\"Filtering is currently not possible in the ODataTreeBinding\");return this};i.prototype.checkUpdate=function(e,t){var o=false;if(!e){if(this.bNeedsUpdate||!t){o=true}else{s(this.oKeys,function(e,i){s(i,function(e,s){if(s in t){o=true;return false}return true});if(o){return false}return true})}}if(e||o){this.bNeedsUpdate=false;this._fireChange()}};i.prototype._getNavPath=function(e){var t=this.oModel.resolve(e,this.getContext());if(!t){return undefined}var s=t.split(\"/\"),o=s[s.length-1],i;var r=o.split(\"(\")[0];if(r&&this.oNavigationPaths[r]){i=this.oNavigationPaths[r]}return i};i.prototype._processODataObject=function(e,t,s){var o=[],i=this;if(s&&s.indexOf(\"/\")>-1){o=s.split(\"/\");s=o[0];o.splice(0,1)}var r=this.oModel._getObject(t);if(Array.isArray(r)){this.oKeys[t]=r;this.oLengths[t]=r.length;this.oFinalLengths[t]=true}if(s&&e[s]){if(Array.isArray(r)){r.forEach(function(e){var t=i.getModel().getData(\"/\"+e);i._processODataObject(t,\"/\"+e+\"/\"+s,o.join(\"/\"))})}else if(typeof r===\"object\"){i._processODataObject(e,t+\"/\"+s,o.join(\"/\"))}}};i.prototype._hasTreeAnnotations=function(){var e=this.oModel,o=e.oMetadata,i=e.resolve(this.getPath(),this.getContext()),r=o._getEntityTypeByPath(i),n=o.mNamespaces[\"sap\"],a=this;this.oTreeProperties={\"hierarchy-level-for\":false,\"hierarchy-parent-node-for\":false,\"hierarchy-node-for\":false,\"hierarchy-drill-state-for\":false};if(!r){t.fatal(\"EntityType for path \"+i+\" could not be found.\");return false}s(r.property,function(e,t){if(!t.extensions){return true}s(t.extensions,function(e,s){var o=s.name;if(s.namespace===n&&o in a.oTreeProperties&&!a.oTreeProperties[o]){a.oTreeProperties[o]=t.name}});return true});var h=false;s(this.oTreeProperties,function(e,t){if(!t){h=true;return false}return true});return!h};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/ODataTreeBindingAdapter\", [\"sap/ui/model/TreeBinding\",\"./v2/ODataTreeBinding\",\"sap/ui/model/TreeBindingAdapter\",\"sap/ui/model/TreeAutoExpandMode\",\"sap/ui/model/ChangeReason\",\"./OperationMode\",\"sap/base/assert\",\"sap/ui/model/Filter\",\"sap/ui/model/odata/ODataUtils\"],function(e,t,r,i,o,s,a,n,h){\"use strict\";var p=function(){if(!(this instanceof e)||this._bIsAdapted){return}r.apply(this);for(var t in p.prototype){if(p.prototype.hasOwnProperty(t)){this[t]=p.prototype[t]}}this.mParameters=this.mParameters||{};this._aRowIndexMap=[];this._iThreshold=0;this._iPageSize=0;this.setAutoExpandMode(this.mParameters.autoExpandMode||i.Sequential);if(this.mParameters.collapseRecursive===undefined){this.bCollapseRecursive=true}else{this.bCollapseRecursive=!!this.mParameters.collapseRecursive}this._createTreeState();if(this.mParameters.treeState&&this.sOperationMode==s.Client){this.setTreeState(this.mParameters.treeState)}};p.prototype.nodeHasChildren=function(e){a(e,\"ODataTreeBindingAdapter.nodeHasChildren: No node given!\");if(!e){return false}else if(e.isArtificial){return true}else{return t.prototype.hasChildren.call(this,e.context)}};p.prototype._calculateGroupID=function(e){var t=\"\";var r=\"\";var i;if(e.context===null){return\"/\"}if(e.parent){t=e.parent.groupID;t=t[t.length-1]!==\"/\"?t+\"/\":t;if(this.bHasTreeAnnotations){i=(e.context.getProperty(this.oTreeProperties[\"hierarchy-node-for\"])+\"\").replace(/\\//g,\"%2F\");r=i+\"/\"}else{r=e.context.sPath.substring(1)+\"/\"}}else if(this.bHasTreeAnnotations){t=\"/\";i=(e.context.getProperty(this.oTreeProperties[\"hierarchy-node-for\"])+\"\").replace(/\\//g,\"%2F\");r=i+\"/\"}else{t=\"/\";r=e.context.sPath[0]===\"/\"?e.context.sPath.substring(1):e.context.sPath}var o=t+r;return o};p.prototype.resetData=function(e,r){t.prototype.resetData.call(this,e,r);this._aRowIndexMap=[];this._oRootNode=undefined;this._iPageSize=0;this._iThreshold=0;if(!r||r.reason!==o.Sort){this.clearSelection();this._createTreeState(true)}};p.prototype.expandNodeToLevel=function(e,t,r){var i=this;if(this.sOperationMode!==\"Server\"){return Promise.reject(new Error(\"expandNodeToLevel() does not support binding operation modes other than OperationMode.Server\"))}var s=this.findNode(e),a=[],p=\"\";if(this.sOperationMode==\"Server\"||this.bUseServersideApplicationFilters){p=this.getFilterParams()}var d=s.context.getProperty(this.oTreeProperties[\"hierarchy-node-for\"]);var l=this._getEntityType();var u=h._createFilterParams(new n(this.oTreeProperties[\"hierarchy-node-for\"],\"EQ\",d),this.oModel.oMetadata,l);var c=this._getLevelFilterParams(\"LE\",t);a.push(\"$filter=\"+u+\"%20and%20\"+c+(p?\"%20and%20\"+p:\"\"));if(this.sCustomParams){a.push(this.sCustomParams)}return this._loadSubTree(s,a).then(function(e){var a=e.results.filter(function(e){return e[i.oTreeProperties[\"hierarchy-level-for\"]]<t});this._expandSubTree(s,a);if(!r){this._fireChange({reason:o.Expand})}}.bind(this))};p.prototype._expandSubTree=function(e,t){this._updateTreeState({groupID:e.groupID,expanded:true});var r,i,o,s={},a;o=e.context.getProperty(this.oTreeProperties[\"hierarchy-node-for\"]);s[o]=e.groupID;for(a=1;a<t.length;a++){var n,h,p,d,l;d=t[a];n=d[this.oTreeProperties[\"hierarchy-node-for\"]];r=d[this.oTreeProperties[\"hierarchy-parent-node-for\"]];if(d[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"leaf\"){continue}h=this.oModel._getKey(d);l=this.oModel.getContext(\"/\"+h);i=s[r];p=this._calculateGroupID({parent:{groupID:i},context:l});s[n]=p;this._updateTreeState({groupID:p,expanded:true})}};p.prototype.getLength=function(){if((!this._oRootNode||!this._oRootNode.magnitude)&&this.oFinalLengths[null]){return this.oLengths[null]}return r.prototype.getLength.apply(this)};return p},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/ODataTreeBindingFlat\", [\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/uid\",\"sap/ui/model/_Helper\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/Context\",\"sap/ui/model/Filter\",\"sap/ui/model/TreeBinding\",\"sap/ui/model/TreeBindingUtils\",\"sap/ui/model/odata/v2/ODataTreeBinding\"],function(e,t,i,n,r,o,s,a,d,l,h,u){\"use strict\";var f=\"sap.ui.model.odata.ODataTreeBindingFlat\";var p=function(){if(!(this instanceof l)||this._bIsAdapted){return}for(var e in p.prototype){if(p.prototype.hasOwnProperty(e)){this[e]=p.prototype[e]}}this.mParameters=this.mParameters||{};this._iPageSize=0;this._aNodes=this._aNodes||[];this._aNodeCache=[];this._aCollapsed=this._aCollapsed||[];this._aExpanded=this._aExpanded||[];this._aRemoved=[];this._aAdded=[];this._aNodeChanges=[];this._aAllChangedNodes=[];this._aTurnedToLeaf=[];this._mSubtreeHandles={};this._iLowestServerLevel=null;this._aExpandedAfterSelectAll=this._aExpandedAfterSelectAll||[];this._mSelected=this._mSelected||{};this._mDeselected=this._mDeselected||{};this._bSelectAll=false;this._iLengthDelta=0;if(this.mParameters.collapseRecursive===undefined){this.bCollapseRecursive=true}else{this.bCollapseRecursive=!!this.mParameters.collapseRecursive}this._bIsAdapted=true;this._bReadOnly=true;this._aPendingRequests=[];this._aPendingChildrenRequests=[];this._aPendingSubtreeRequests=[];this._bSubmitChangesCalled=false};p.prototype.setNumberOfExpandedLevels=function(e){this.resetData();u.prototype.setNumberOfExpandedLevels.apply(this,arguments)};p.prototype.getContexts=function(e,t,i){return this._getContextsOrNodes(false,e,t,i)};p.prototype._getContextsOrNodes=function(e,t,i,n){if(!this.isResolved()||this.isInitial()){return[]}t=t||0;i=i||this.oModel.iSizeLimit;n=n||0;this._iPageSize=i;this._iThreshold=n;if(this._aNodes.length==0&&!this.isLengthFinal()){this._loadData(t,i,n)}var r=[];var o=this._retrieveNodeSection(t,i);this._aNodeCache=[];var s;var a=0;var d=0;var l={};for(var h=0;h<o.length;h++){var u=o[h];this._aNodeCache[t+h]=u&&u.context?u:undefined;r.push(u.context);if(!u.context){if(u.serverIndex!=undefined){if(s==undefined){s=u.serverIndex}d=u.serverIndex}else if(u.positionInParent!=undefined){var f=u.parent;l[f.key]=l[f.key]||[];l[f.key].push(u)}}}a=1+Math.max(d-(s||0),0);if(s!=undefined&&a){this._loadData(s,a,n)}for(var p in l){var c=this._calculateRequestParameters(l[p]);this._loadChildren(l[p][0].parent,c.skip,c.top)}if(e){return o}else{return r}};p.prototype._calculateRequestParameters=function(e){var t,i=e[0].positionInParent,n=e[0].parent,r=Math.min(i+Math.max(this._iThreshold,e.length),n.children.length);for(t=i;t<r;t++){var o=n.children[t];if(o){break}}return{skip:i,top:t-i}};p.prototype._retrieveNodeSection=function(e,t){return this._bReadOnly?this._indexRetrieveNodeSection(e,t):this._mapRetrieveNodeSection(e,t)};p.prototype._hasPendingRequest=function(e){return this._aPendingChildrenRequests.some(t=>t.sParent===e)};p.prototype._turnNodeToLeaf=function(e){e.nodeState.collapsed=false;e.nodeState.expanded=false;e.nodeState.isLeaf=true;e.nodeState.wasExpanded=true;this._aTurnedToLeaf.push(e)};p.prototype._mapRetrieveNodeSection=function(e,t){const i=this.getLength()-1;var n=-1;var r=[];let o;this._map((s,a,d,l,h)=>{n++;if(s&&this._aRemoved.length){if(o&&o.nodeState.expanded&&o.level>=s.level&&!this._hasPendingRequest(o.key)){this._turnNodeToLeaf(o)}else if(s.nodeState.expanded&&i===n&&!this._hasPendingRequest(s.key)){this._turnNodeToLeaf(s)}}o=s;if(n>=e){if(!s){if(d==\"serverIndex\"){s={serverIndex:l}}else if(d==\"positionInParent\"){s={positionInParent:l,parent:h}}}r.push(s)}if(r.length>=t){a.broken=true}});return r};p.prototype._indexRetrieveNodeSection=function(e,t){var i,n=[],r,o;for(i=e;i<e+t;i++){r=this.getNodeInfoByRowIndex(i);if(r.index!==undefined&&r.index<this._aNodes.length){o=this._aNodes[r.index];if(!o){o={serverIndex:r.index}}}else if(r.parent){o=r.parent.children[r.childIndex];if(!o){o={parent:r.parent,positionInParent:r.childIndex}}}if(o){n.push(o);o=null}}return n};p.prototype.getNodes=function(e,t,i){return this._getContextsOrNodes(true,e,t,i)};p.prototype._map=function(e){var t,i,n,r,o={broken:false};t=function(e){if(e.addedSubtrees.length>0&&!e.nodeState.collapsed){for(var t=0;t<e.addedSubtrees.length;t++){var n=e.addedSubtrees[t];i(e,n);if(o.broken){return}}}};i=function(e,t){var i=t._getSubtree();if(t){if(Array.isArray(i)){if(t._oSubtreeRoot){r(i,t._oSubtreeRoot.serverIndex,t._oSubtreeRoot,t._oSubtreeRoot.originalLevel||0,e.level+1)}else{r(i,null,null,0,e.level+1)}}else{t._oSubtreeRoot.level=e.level+1;n(t._oSubtreeRoot,false,t._oNewParentNode,-1,t._oSubtreeRoot)}}};n=function(i,r,s,a,d){if(!r){if(!i.nodeState.removed||d==i){e(i,o,\"positionInParent\",a,s);if(o.broken){return}}}t(i);if(o.broken){return}if(i&&i.children&&i.nodeState.expanded){for(var l=0;l<i.children.length;l++){var h=i.children[l];if(h&&!h.nodeState.removed&&!h.nodeState.reinserted){h.level=i.level+1}if(h&&!h.nodeState.removed){n(h,false,i,l,d)}else if(!h){e(h,o,\"positionInParent\",l,i)}if(o.broken){return}}}};r=function(i,r,s,a,d){for(var l=0;l<i.length;l++){var h=i[l];if(h&&h.nodeState&&h.nodeState.removed&&h!=s){if(!h.initiallyCollapsed){l+=h.magnitude}continue}if(h&&a>=0&&d>=0){h.level=h.originalLevel||0;var u=h.level-a||0;h.level=d+u||0}if(r===null){e(h,o,\"newNode\")}else{e(h,o,\"serverIndex\",r+l)}if(o.broken){return}if(h&&h.nodeState){if(!h.initiallyCollapsed&&h.nodeState.collapsed){l+=h.magnitude}else if(h.initiallyCollapsed&&h.nodeState.expanded){n(h,true);if(o.broken){return}}else if(!h.initiallyCollapsed&&h.nodeState.expanded){t(h)}}if(o.broken){return}}};r(this._aNodes,0,null)};p.prototype._loadData=function(e,t,i){var n=this;if(!this.bSkipDataEvents){this.fireDataRequested()}this.bSkipDataEvents=false;return this._requestServerIndexNodes(e,t,i).then(function(e){n._addServerIndexNodes(e.oData,e.iSkip);n._fireChange({reason:s.Change});n.fireDataReceived({data:e.oData})},function(e){var t=e.statusCode===0;if(!t){n._aNodes=[];n._bLengthFinal=true;n._fireChange({reason:s.Change});n.fireDataReceived()}})};p.prototype._restoreServerIndexNodes=function(e,t,i){var n=this;return this._requestServerIndexNodes(e,t,0,i).then(function(e){n._addServerIndexNodes(e.oData,e.iSkip);return e})};p.prototype._addServerIndexNodes=function(e,i){var n,r,o,s,a=function(e,t){return!e.isDeepOne&&!e.initiallyCollapsed&&e.serverIndex<o&&e.serverIndex+e.magnitude>=o};if(!this._bLengthFinal){var d=e.__count?parseInt(e.__count):0;this._aNodes[d-1]=undefined;this._bLengthFinal=true}if(e.results&&e.results.length>0){for(s=0;s<e.results.length;s++){n=e.results[s];r=this.oModel.getKey(n);o=i+s;const d=n[this.oTreeProperties[\"hierarchy-node-descendant-count-for\"]];let h=Number(d);if(h<0){h=0;t.error(\"The entry data with key '\"+r+\"' under binding path '\"+this.getPath()+\"' has a negative 'hierarchy-node-descendant-count-for' which isn't allowed.\")}if(!Number.isSafeInteger(h)){t.error(\"The value of magnitude is not a safe integer: \"+JSON.stringify(d),this.getResolvedPath(),f)}var l=this._aNodes[o]=this._aNodes[o]||{key:r,context:this.oModel.getContext(\"/\"+r,this.oModel.resolveDeep(this.sPath,this.oContext)+r.slice(r.indexOf(\"(\"))),magnitude:h,level:n[this.oTreeProperties[\"hierarchy-level-for\"]],originalLevel:n[this.oTreeProperties[\"hierarchy-level-for\"]],initiallyCollapsed:n[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"collapsed\",initiallyIsLeaf:n[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"leaf\",nodeState:{isLeaf:n[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"leaf\",expanded:n[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"expanded\",collapsed:n[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"collapsed\",selected:this._mSelected[r]?this._mSelected[r].nodeState.selected:false},children:[],addedSubtrees:[],serverIndex:o,parent:null,originalParent:null,isDeepOne:false};if(this._iLowestServerLevel===null){this._iLowestServerLevel=l.level}else{this._iLowestServerLevel=Math.min(this._iLowestServerLevel,l.level)}if(this._bSelectAll){if(!this._aExpandedAfterSelectAll.some(a)){this.setNodeSelection(l,true)}}}}};p.prototype._requestServerIndexNodes=function(e,t,i,n){return new Promise(function(r,o){var s={iSkip:e,iTop:t+(i||0),iThreshold:i};this._aPendingRequests.sort(function(e,t){return e.iSkip-t.iSkip});for(var a=0;a<this._aPendingRequests.length;a++){if(h._determineRequestDelta(s,this._aPendingRequests[a])===false){return}}e=s.iSkip;t=s.iTop;function l(i){var n=this._aPendingRequests.indexOf(s);this._aPendingRequests.splice(n,1);r({oData:i,iSkip:e,iTop:t})}function u(e){var t=this._aPendingRequests.indexOf(s);this._aPendingRequests.splice(t,1);o(e)}var f=[\"$skip=\"+e,\"$top=\"+t];if(!this._bLengthFinal||n){f.push(\"$inlinecount=allpages\")}if(this.sCustomParams){f.push(this.sCustomParams)}var p=new d(this.oTreeProperties[\"hierarchy-level-for\"],\"LE\",this.getNumberOfExpandedLevels());var c=[p];if(this.aApplicationFilters){c=c.concat(this.aApplicationFilters)}var _=this.getResolvedPath();if(_){s.oRequestHandle=this.oModel.read(_,{headers:this._getHeaders(),urlParameters:f,filters:[new d({filters:c,and:true})],sorters:this.aSorters||[],success:l.bind(this),error:u.bind(this),groupId:this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId});this._aPendingRequests.push(s)}}.bind(this))};p.prototype._propagateMagnitudeChange=function(e,t){while(e!=null&&(e.initiallyCollapsed||e.isDeepOne)){e.magnitude+=t;if(!e.nodeState.expanded){return}e=e.parent}};p.prototype._getInitialMagnitude=function(e){var t=0,i;if(e.isDeepOne){return 0}if(e.children){for(var n=0;n<e.children.length;n++){i=e.children[n];t+=i.magnitude+1}}return e.magnitude-t};p.prototype._loadChildren=function(e,t,i){var n=this;if(!this.bSkipDataEvents){this.fireDataRequested()}this.bSkipDataEvents=false;this._requestChildren(e,t,i).then(function(t){n._addChildNodes(t.oData,e,t.iSkip);n._fireChange({reason:s.Change});n.fireDataReceived({data:t.oData})},function(t){var i=t.statusCode===0;if(!i){if(e.childCount===undefined){e.children=[];e.childCount=0;n._fireChange({reason:s.Change})}n.fireDataReceived()}})};p.prototype._restoreChildren=function(e,t,i){var n=this,r=e.context.getProperty(this.oTreeProperties[\"hierarchy-node-for\"]);return this._requestChildren(e,t,i,true).then(function(e){var t;n._map(function(e,i){if(e&&e.context.getProperty(n.oTreeProperties[\"hierarchy-node-for\"])===r){t=e;i.broken=true}});if(t){n._addChildNodes(e.oData,t,e.iSkip);n.expand(t,true)}return e})};p.prototype._addChildNodes=function(e,t,i){if(t.childCount==undefined&&e&&e.__count){var n=e.__count?parseInt(e.__count):0;t.childCount=n;t.children[n-1]=undefined;if(t.nodeState.expanded){this._propagateMagnitudeChange(t,n)}else{t.magnitude=n}this._cleanTreeStateMaps()}if(e.results&&e.results.length>0){for(var r=0;r<e.results.length;r++){var o=e.results[r];this._createChildNode(o,t,i+r)}}};p.prototype._createChildNode=function(e,t,i){var n=this.oModel.getKey(e);var r;if(t.containingServerIndex!==undefined){r=t.containingServerIndex}else{r=t.serverIndex}var o=t.children[i]=t.children[i]||{key:n,context:this.oModel.getContext(\"/\"+n,this.oModel.resolveDeep(this.sPath,this.oContext)+n.slice(n.indexOf(\"(\"))),magnitude:0,level:t.level+1,originalLevel:t.level+1,initiallyCollapsed:e[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"collapsed\",initiallyIsLeaf:e[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"leaf\",nodeState:{isLeaf:e[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"leaf\",expanded:e[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"expanded\",collapsed:e[this.oTreeProperties[\"hierarchy-drill-state-for\"]]===\"collapsed\",selected:this._mSelected[n]?this._mSelected[n].nodeState.selected:false},positionInParent:i,children:[],addedSubtrees:[],parent:t,originalParent:t,isDeepOne:true,containingServerIndex:r};if(this._bSelectAll&&this._aExpandedAfterSelectAll.indexOf(t)===-1){this.setNodeSelection(o,true)}return o};p.prototype._requestChildren=function(e,t,i,n){return new Promise(function(r,o){var s={sParent:e.key,iSkip:t,iTop:i};this._aPendingChildrenRequests.sort(function(e,t){return e.iSkip-t.iSkip});for(var a=0;a<this._aPendingChildrenRequests.length;a++){var l=this._aPendingChildrenRequests[a];if(l.sParent===s.sParent){if(h._determineRequestDelta(s,l)===false){return}}}t=s.iSkip;i=s.iTop;function u(e){var n=this._aPendingChildrenRequests.indexOf(s);this._aPendingChildrenRequests.splice(n,1);r({oData:e,iSkip:t,iTop:i})}function f(e){var t=this._aPendingChildrenRequests.indexOf(s);this._aPendingChildrenRequests.splice(t,1);o(e)}var p=[\"$skip=\"+t,\"$top=\"+i];if(e.childCount==undefined||n){p.push(\"$inlinecount=allpages\")}if(this.sCustomParams){p.push(this.sCustomParams)}var c=new d(this.oTreeProperties[\"hierarchy-parent-node-for\"],\"EQ\",e.context.getProperty(this.oTreeProperties[\"hierarchy-node-for\"]));var _=[c];if(this.aApplicationFilters){_=_.concat(this.aApplicationFilters)}var v=this.getResolvedPath();if(v){s.oRequestHandle=this.oModel.read(v,{headers:this._getHeaders(),urlParameters:p,filters:[new d({filters:_,and:true})],sorters:this.aSorters||[],success:u.bind(this),error:f.bind(this),groupId:this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId});this._aPendingChildrenRequests.push(s)}}.bind(this))};p.prototype._loadSubTree=function(e,i){var n=this;var r;if(e.serverIndex!==undefined&&!e.initiallyCollapsed){var o=[];var s;var a=e.serverIndex+1;var d=a+e.magnitude;for(var l=a;l<d;l++){if(this._aNodes[l]===undefined){if(!s){s={iSkip:l,iTop:1};o.push(s)}else{s.iTop++}}else{s=null}}if(o.length){r=Promise.all(o.map(function(e){return n._loadData(e.iSkip,e.iTop)}))}}if(!r){r=Promise.resolve()}return r.then(function(){if(!n.bSkipDataEvents){n.fireDataRequested()}n.bSkipDataEvents=false;return n._requestSubTree(e,i).then(function(t){n._addSubTree(t.oData,e);n.fireDataReceived({data:t.oData})},function(e){t.warning(\"ODataTreeBindingFlat: Error during subtree request\",e.message);var i=e.statusCode===0;if(!i){n.fireDataReceived()}})})};p.prototype._addSubTree=function(e,t){if(e.results&&e.results.length>0){var i,n,r,o,s,a=[],d={},l,h,u;if(t.serverIndex!==undefined&&!t.initiallyCollapsed){a=this._aNodes.slice(t.serverIndex,t.serverIndex+t.magnitude+1)}else{a.push(t)}for(h=a.length-1;h>=0;h--){o=a[h];if(o.nodeState.isLeaf){continue}if(o.initiallyCollapsed||o.isDeepOne){o.childCount=undefined;if(o.magnitude&&o.nodeState.expanded){this._propagateMagnitudeChange(o.parent,-o.magnitude)}o.magnitude=0}d[o.context.getProperty(this.oTreeProperties[\"hierarchy-node-for\"])]=o}for(l=0;l<e.results.length;l++){r=e.results[l];i=r[this.oTreeProperties[\"hierarchy-node-for\"]];if(d[i]){continue}n=r[this.oTreeProperties[\"hierarchy-parent-node-for\"]];s=d[n];if(s.childCount===undefined){s.childCount=0}o=s.children[s.childCount];if(o){a.push(o);if(o.childCount){o.childCount=undefined;if(o.initiallyCollapsed||o.isDeepOne){o.magnitude=0}}}else{o=this._createChildNode(r,s,s.childCount);if(o.nodeState.expanded){this._aExpanded.push(o);this._sortNodes(this._aExpanded)}}s.childCount++;if(s.nodeState.expanded){this._propagateMagnitudeChange(s,1)}else{s.magnitude++}if(!o.nodeState.isLeaf){d[i]=o}}for(u=a.length-1;u>=0;u--){o=a[u];if(!o.nodeState.expanded&&!o.nodeState.isLeaf){this.expand(o,true)}}}};p.prototype._requestSubTree=function(e,t){return new Promise(function(i,n){var r={sParent:e.key,iLevel:t};for(var o=0;o<this._aPendingSubtreeRequests.length;o++){var s=this._aPendingSubtreeRequests[o];if(s.sParent===r.sParent&&s.iLevel===r.iLevel){return}}function a(e){var t=this._aPendingSubtreeRequests.indexOf(r);this._aPendingSubtreeRequests.splice(t,1);i({oData:e,sParent:r.sParent,iLevel:r.iLevel})}function l(e){var t=this._aPendingSubtreeRequests.indexOf(r);this._aPendingSubtreeRequests.splice(t,1);n(e)}var h=[];if(this.sCustomParams){h.push(this.sCustomParams)}const u=this.oTreeProperties[\"hierarchy-node-for\"];const f=new d(u,\"EQ\",e.context.getProperty(u));var p=new d(this.oTreeProperties[\"hierarchy-level-for\"],\"LE\",t);var c=[f,p];if(this.aApplicationFilters){c=c.concat(this.aApplicationFilters)}var _=this.getResolvedPath();if(_){r.oRequestHandle=this.oModel.read(_,{headers:this._getHeaders(),urlParameters:h,filters:[new d({filters:c,and:true})],sorters:this.aSorters||[],success:a.bind(this),error:l.bind(this),groupId:this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId});this._aPendingSubtreeRequests.push(r)}}.bind(this))};p.prototype.findNode=function(e){return this._bReadOnly?this._indexFindNode(e):this._mapFindNode(e)};p.prototype._mapFindNode=function(e){if(this.isInitial()){return undefined}var t=this._aNodeCache[e];if(t){return t}var i=-1;this._map(function(n,r,o,s,a){i++;if(i===e){t=n;r.broken=true}});return t};p.prototype._indexFindNode=function(e){if(this.isInitial()){return undefined}var t=this._aNodeCache[e];if(t){return t}var i=this.getNodeInfoByRowIndex(e);if(i.parent){t=i.parent.children[i.childIndex]}else{t=this._aNodes[i.index]}this._aNodeCache[e]=t;return t};p.prototype.toggleIndex=function(t){var i=this.findNode(t);e(i!=undefined,\"toggleIndex(\"+t+\"): Node not found!\");if(i){if(i.nodeState.expanded){this.collapse(i)}else{this.expand(i)}}};p.prototype.expand=function(t,i){var n=t;if(typeof t!==\"object\"){n=this.findNode(t);e(n!=undefined,\"expand(\"+t+\"): Node not found!\")}if(n.nodeState.expanded){return}n.nodeState.expanded=true;n.nodeState.collapsed=false;var r=this._aCollapsed.indexOf(n);if(r!=-1){this._aCollapsed.splice(r,1)}this._aExpanded.push(n);this._sortNodes(this._aExpanded);if(n.serverIndex!==undefined){this._aNodeChanges[n.serverIndex]=true}if(this._bSelectAll){this._aExpandedAfterSelectAll.push(n)}if(n.initiallyCollapsed&&n.childCount==undefined){this._loadChildren(n,0,this._iPageSize+this._iThreshold)}else{this._propagateMagnitudeChange(n.parent,n.magnitude)}this._cleanTreeStateMaps();this._aNodeCache=[];if(!i){this._fireChange({reason:s.Expand})}};p.prototype.expandToLevel=function(e){this.setNumberOfExpandedLevels(e)};p.prototype.expandNodeToLevel=function(e,t,i){if(!this._bReadOnly){return Promise.reject(new Error(\"ODataTreeBindingFlat: expandNodeToLevel is not supported while there are pending changes in the hierarchy\"))}var n=this.findNode(e);return this._loadSubTree(n,t).then(function(){if(!i){this._fireChange({reason:s.Expand})}}.bind(this))};p.prototype.collapse=function(t,i){var n=t;if(typeof t!==\"object\"){n=this.findNode(t);e(n!=undefined,\"expand(\"+t+\"): Node not found!\")}if(n.nodeState.collapsed){return}n.nodeState.expanded=false;n.nodeState.collapsed=true;var r=this._aExpanded.indexOf(n);if(r!=-1){this._aExpanded.splice(r,1)}if(this._bSelectAll){r=this._aExpandedAfterSelectAll.indexOf(n);if(r!==-1){this._aExpandedAfterSelectAll.splice(r,1)}}this._aCollapsed.push(n);this._sortNodes(this._aCollapsed);if(n.isDeepOne){this._propagateMagnitudeChange(n.parent,n.magnitude*-1)}if(n.serverIndex!==undefined){this._aNodeChanges[n.serverIndex]=true}this._cleanUpSelection();this._cleanTreeStateMaps();this._aNodeCache=[];if(!i){this._fireChange({reason:s.Collapse})}};p.prototype.collapseToLevel=function(e){var t=-1,i=[],n;if(this.bCollapseRecursive){for(var r in this._mSelected){var o=this._mSelected[r];if(o.level>e){n=this.getRowIndexByNode(o);i.push(n);if(this._sLeadSelectionKey==r){t=n}this.setNodeSelection(o,false)}}}this.setNumberOfExpandedLevels(e);if(this.bCollapseRecursive&&i.length){this._publishSelectionChanges({rowIndices:i,oldIndex:t,leadIndex:-1})}};p.prototype._getInvisibleSelectedNodes=function(){var e=[];var t=true;var i=function(e,i){if(e.nodeState.collapsed||e.nodeState.removed&&!e.nodeState.reinserted){t=false;i.broken=true}};for(var n in this._mSelected){var r=this._mSelected[n];t=true;this._up(r,i,false);if(!t){e.push(r)}}return e};p.prototype._cleanUpSelection=function(e){var t=this._getInvisibleSelectedNodes();t.forEach(function(t){if(t.key==this._sLeadSelectionKey){this._sLeadSelectionKey=null}if(this.bCollapseRecursive||e){this.setNodeSelection(t,false)}}.bind(this));if((this.bCollapseRecursive||e)&&t.length){this._publishSelectionChanges({rowIndices:[],indexChangesCouldNotBeDetermined:true})}};p.prototype._isInSubtree=function(e,t){var i=false;var n=function(t,n){if(t==e){n.broken=true;i=true}};this._up(t,n,false);return i};p.prototype._up=function(e,t,i){var n={broken:false};var r=this._getParent(e,i);if(r){this._structuralUp(r,t,n,i)}else{this._flatUp(e,t,n,true)}};p.prototype._structuralUp=function(e,t,i,n){var r=e;do{t(r,i);if(i.broken){return}e=r;r=this._getParent(r)}while(r);this._flatUp(e,t,i)};p.prototype._flatUp=function(e,t,i,n){var r=e.serverIndex,o=n?r-1:r,s,a;for(;o>=0;o--){if(this._aNodeChanges[o]){s=this._aNodes[o];if(s.initiallyCollapsed){continue}if(s.serverIndex+s.magnitude>=r){t(s,i);if(i.broken){return}a=this._getParent(s);if(a){this._structuralUp(a,t,i);return}}else{continue}}}};p.prototype._getParent=function(e,t){return t?e.originalParent:e.parent};p.prototype._cleanTreeStateMaps=function(){this._iLengthDelta=this._bReadOnly?this._indexCleanTreeStateMaps():this._mapCleanTreeStateMaps()};p.prototype._indexCleanTreeStateMaps=function(){return this._calcIndexDelta(this._aNodes.length)};p.prototype._mapCleanTreeStateMaps=function(){var e=this._aCollapsed.concat(this._aRemoved).concat(this._aExpanded).concat(this._aAdded),t=true,i,n=0,r=function(e,i){if(e.nodeState.isLeaf||e.nodeState.collapsed||e.nodeState.removed&&!e.nodeState.reinserted){t=false;i.broken=true}},o={};var s=[[0,1],[-1,0]];e.forEach(function(e){if(o[e.key]){return}else{o[e.key]=true}if(e.nodeState.added){if(!e.nodeState.removed||e.nodeState.reinserted){t=true;this._up(e,r,false);if(t){n++}}}else if(e.nodeState.collapsed||e.nodeState.expanded||e.nodeState.removed){t=true;this._up(e,r,false);if(t){if(e.nodeState.removed&&!e.nodeState.reinserted){if(e.isDeepOne||e.initiallyCollapsed){n-=1}else{n-=e.magnitude+1}}else{if(e.nodeState.collapsed&&e.serverIndex!==undefined&&!e.initiallyCollapsed){n-=e.magnitude}if(e.nodeState.expanded&&(e.isDeepOne||e.initiallyCollapsed)){n+=e.children.length}}}if(e.nodeState.reinserted){i=t;t=true;this._up(e,r,true);var a=s[t|0][i|0];if(a){if(e.isDeepOne){n+=a*1}else if(e.initiallyCollapsed){n+=a}else{n+=a*(1+e.magnitude)}}}}}.bind(this));return n};p.prototype.isLengthFinal=function(){return this._bLengthFinal};p.prototype.getLength=function(){return this._aNodes.length+this._iLengthDelta};p.prototype.getContextByIndex=function(e){if(this.isInitial()){return undefined}var t=this.findNode(e);return t&&t.context};p.prototype.getNodeByIndex=function(e){if(this.isInitial()){return undefined}var t=this.findNode(e);return t};p.prototype.isExpanded=function(e){var t=this.findNode(e);return t&&t.nodeState.expanded};p.prototype.hasChildren=function(e){if(!e){return false}var t=this._findNodeByContext(e);var i=t&&t.node;return!(i&&i.nodeState.isLeaf)};p.prototype.nodeHasChildren=function(e){return!(e&&e.nodeState.isLeaf)};p.prototype._hasChangedEntity=function(e){var t=false;this._map(function(i,n){if(i&&i.key in e){t=true;n.broken=true}});return t};p.prototype._isRefreshAfterChangeAllowed=function(){return!this._isRestoreTreeStateSupported()};p.prototype._isRestoreTreeStateSupported=function(){return this._bRestoreTreeStateAfterChange&&(!this.aApplicationFilters||this.aApplicationFilters.length===0)};p.prototype._hasPendingChanges=function(e){var t;if(!this.isResolved()||!this._aAllChangedNodes.length){return false}t=this._optimizeChanges();if(t.added.length||t.moved.length||t.removed.length){return true}t.creationCancelled.forEach(function(t){var i=e.indexOf(t.key);if(i>-1){e.splice(i,1)}});return false};p.prototype._getPendingChanges=function(){var e,t,i,n,r={};if(this.isResolved()){i=this._optimizeChanges();e=i.added.concat(i.moved);t=this.oTreeProperties[\"hierarchy-node-for\"];n=this.oTreeProperties[\"hierarchy-parent-node-for\"];e.forEach(function(e){r[e.key]={};r[e.key][n]=e.parent.context.getProperty(t)});i.removed.forEach(function(e){r[e.key]={}});i.creationCancelled.forEach(function(e){r[e.key]=null})}return r};p.prototype._resetChanges=function(e){var t,i=this.getResolvedPath();if(!i||!this._aAllChangedNodes.length){return}if(e){t=e.some(function(e){return e===i});if(!t){return}}this._aRemoved.forEach(e=>{this._resetMovedOrRemovedNode(e)});this._aAdded.forEach(e=>{this._resetParentState(e)});this._aTurnedToLeaf.forEach(e=>{if(!e.initiallyIsLeaf){e.nodeState.isLeaf=false;e.nodeState.expanded=true;e.nodeState.collapsed=false;delete e.nodeState.wasExpanded}});this._mSubtreeHandles={};this._aAdded=[];this._aRemoved=[];this._aAllChangedNodes=[];this._aNodeCache=[];this._aTurnedToLeaf=[];this._cleanTreeStateMaps();this._fireChange({reason:s.Change})};p.prototype.setNodeSelection=function(t,i){e(t,\"Node must be defined!\");t.nodeState.selected=i;if(i){delete this._mDeselected[t.key];this._mSelected[t.key]=t}else{delete this._mSelected[t.key];this._mDeselected[t.key]=t;if(t.key===this._sLeadSelectionKey){this._sLeadSelectionKey=null}}};p.prototype.isIndexSelected=function(e){var t=this.findNode(e);return t&&t.nodeState?t.nodeState.selected:false};p.prototype.isIndexSelectable=function(e){var t=this.findNode(e);return!!t};p.prototype._clearSelection=function(){return this._bReadOnly?this._indexClearSelection():this._mapClearSelection()};p.prototype._indexClearSelection=function(){var e=-1,t=[],i,n,r;this._bSelectAll=false;this._aExpandedAfterSelectAll=[];for(i in this._mSelected){n=this._mSelected[i];this.setNodeSelection(n,false);r=this.getRowIndexByNode(n);t.push(r);if(this._sLeadSelectionKey==i){e=r}}return{rowIndices:t,oldIndex:e,leadIndex:-1}};p.prototype._mapClearSelection=function(){var e=-1;var t=-1;var i=0;var n=[];this._bSelectAll=false;this._aExpandedAfterSelectAll=[];for(var r in this._mSelected){if(r){i++}}this._map(function(r,o,s,a,d){e++;if(r&&r.nodeState.selected){this.setNodeSelection(r,false);n.push(e);if(this._sLeadSelectionKey==r.key){t=e}if(n.length==i){o.broken=true}}}.bind(this));return{rowIndices:n,oldIndex:t,leadIndex:-1}};p.prototype.setSelectedIndex=function(e){var i=this.findNode(e);if(i){var n=this._clearSelection();var r=n.rowIndices.indexOf(e);if(r>=0){n.rowIndices.splice(r,1)}else{n.rowIndices.push(e)}n.leadKey=i.key;n.leadIndex=e;this.setNodeSelection(i,true);this._publishSelectionChanges(n)}else{t.warning(\"ODataTreeBindingFlat: The selection of index '\"+e+\"' was ignored. Please make sure to only select rows, for which data has been fetched to the client.\")}};p.prototype.getSelectedIndex=function(){return this._bReadOnly?this._indexGetSelectedIndex():this._mapGetSelectedIndex()};p.prototype._indexGetSelectedIndex=function(){if(!this._sLeadSelectionKey||n(this._mSelected)){return-1}var e=this._mSelected[this._sLeadSelectionKey];if(e){return this.getRowIndexByNode(e)}else{return-1}};p.prototype._mapGetSelectedIndex=function(){if(!this._sLeadSelectionKey||n(this._mSelected)){return-1}var e=-1;this._map(function(t,i){e++;if(t){if(t.key===this._sLeadSelectionKey){i.broken=true}}}.bind(this));return e};p.prototype.getSelectedIndices=function(){return this._bReadOnly?this._indexGetSelectedIndices():this._mapGetSelectedIndices()};p.prototype._indexGetSelectedIndices=function(){var e=this._getSelectedNodesInfo();return e.map(function(e){return e.rowIndex})};p.prototype._mapGetSelectedIndices=function(){var e=[];if(n(this._mSelected)){return e}var t=-1;this._map(function(i){t++;if(i){if(i.nodeState&&i.nodeState.selected){e.push(t)}}});return e};p.prototype.getSelectedNodesCount=function(){var t;if(this._bSelectAll){if(this._bReadOnly){var i=[],n=0,r;this._aExpandedAfterSelectAll.sort(function(t,i){var n=this._getRelatedServerIndex(t);var r=this._getRelatedServerIndex(i);e(n!=undefined,\"getSelectedNodesCount: (containing) Server-Index not found for node 'a'\");e(r!=undefined,\"getSelectedNodesCount: (containing) Server-Index not found node 'b'\");if(n==r&&t.isDeepOne&&i.isDeepOne){return t.originalLevel-i.originalLevel}return n-r}.bind(this));var o=-1,s,a,d;for(d=0;d<this._aExpandedAfterSelectAll.length;d++){s=this._aExpandedAfterSelectAll[d];a=this._getRelatedServerIndex(s);if(a<=o&&!s.initiallyCollapsed){continue}if(s.initiallyCollapsed){o=a}else{o=a+s.magnitude}i.push(s);n+=s.magnitude}var l=function(e,t){if(i.indexOf(e)!==-1){n--;t.broken=true}};for(r in this._mSelected){this._up(this._mSelected[r],l,true)}var h;var u=function(e,t){if(e.nodeState.collapsed||e.nodeState.removed&&!e.nodeState.reinserted||i.indexOf(e)!==-1){h=false;t.broken=true}};for(r in this._mDeselected){h=true;this._up(this._mDeselected[r],u,true);if(h){n++}}t=this.getLength()-n}else{t=0;this._map(function(e,i,n,r,o){var s;if(e){if(e.nodeState.selected){t++}}else if(e===undefined&&n===\"serverIndex\"){var a=true;for(var d=r-1;d>=0;d--){if(this._aNodeChanges[d]){s=this._aNodes[d];if(s.serverIndex+s.magnitude>=r&&this._aExpandedAfterSelectAll.indexOf(s)!==-1){a=false;break}}}if(a){t++}}}.bind(this))}}else{var f=this._getInvisibleSelectedNodes();t=Math.max(Object.keys(this._mSelected).length-f.length,0)}return t};p.prototype.getSelectedContexts=function(){return this._bReadOnly?this._indexGetSelectedContexts():this._mapGetSelectedContexts()};p.prototype._indexGetSelectedContexts=function(){var e=this._getSelectedNodesInfo();return e.map(function(e){return e.node.context})};p.prototype._mapGetSelectedContexts=function(){var e=[];if(n(this._mSelected)){return e}var t=function(t){if(t){if(t.nodeState.selected&&!t.isArtificial){e.push(t.context)}}};this._map(t);return e};p.prototype.setSelectionInterval=function(e,t){var i,n,r=this._clearSelection(),o={},s=[],a=this._setSelectionInterval(e,t,true);for(n=0;n<r.rowIndices.length;n++){i=r.rowIndices[n];o[i]=true}for(n=0;n<a.rowIndices.length;n++){i=a.rowIndices[n];if(o[i]){delete o[i]}else{o[i]=true}}for(i in o){if(o[i]){s.push(parseInt(i))}}this._publishSelectionChanges({rowIndices:s,oldIndex:r.oldIndex,leadIndex:a.leadIndex,leadKey:a.leadKey})};p.prototype._setSelectionInterval=function(e,t,i){return this._bReadOnly?this._indexSetSelectionInterval(e,t,i):this._mapSetSelectionInterval(e,t,i)};p.prototype._indexSetSelectionInterval=function(e,t,i){var n=Math.min(e,t),r=Math.max(e,t),o=[],s=[],a,d,l,h;i=!!i;for(l=n;l<=r;l++){d=this.findNode(l);if(d){if(d.nodeState.selected!==i){s.push(l)}if(d.key===this._sLeadSelectionKey){a=l}this.setNodeSelection(d,i);o.push(d)}}h={rowIndices:s,oldIndex:a,leadIndex:a&&!i?-1:undefined};if(o.length>0&&i){h.leadKey=o[o.length-1].key;h.leadIndex=r}return h};p.prototype._mapSetSelectionInterval=function(e,t,i){var n=Math.min(e,t);var r=Math.max(e,t);var o=[];var s=[];var a=Math.abs(r-n)+1;var d;var l=-1;var h=function(e,t,h,u,f){l++;if(e){if(l>=n&&l<=r){if(e.nodeState.selected!==!!i){s.push(l)}if(e.key===this._sLeadSelectionKey){d=l}this.setNodeSelection(e,!!i);o.push(e);if(o.length===a){t.broken=true}}}}.bind(this);this._map(h);var u={rowIndices:s,oldIndex:d,leadIndex:d&&!i?-1:undefined};if(o.length>0&&i){var f=o[o.length-1];u.leadKey=f.key;u.leadIndex=r}return u};p.prototype.addSelectionInterval=function(e,t){var i=this._setSelectionInterval(e,t,true);this._publishSelectionChanges(i)};p.prototype.removeSelectionInterval=function(e,t){var i=this._setSelectionInterval(e,t,false);this._publishSelectionChanges(i)};p.prototype.selectAll=function(){if(this._bReadOnly){this._indexSelectAll()}else{this._mapSelectAll()}};p.prototype._indexSelectAll=function(){this._bSelectAll=true;this._aExpandedAfterSelectAll=[];var e={rowIndices:[],oldIndex:-1,selectAll:true};var t=this.getLength(),i,n;for(i=0;i<t;i++){n=this.findNode(i);if(n&&!n.isArtificial){if(n.key===this._sLeadSelectionKey){e.oldIndex=i}if(!n.nodeState.selected){e.rowIndices.push(i)}this.setNodeSelection(n,true);e.leadKey=n.key;e.leadIndex=i}}this._publishSelectionChanges(e)};p.prototype._mapSelectAll=function(){this._bSelectAll=true;this._aExpandedAfterSelectAll=[];var e={rowIndices:[],oldIndex:-1,selectAll:true};var t=-1;this._map(function(i){if(!i||!i.isArtificial){t++}if(i){if(i.key===this._sLeadSelectionKey){e.oldIndex=t}if(i){if(!i.isArtificial&&!i.nodeState.selected){e.rowIndices.push(t)}this.setNodeSelection(i,true);e.leadKey=i.key;e.leadIndex=t}}}.bind(this));this._publishSelectionChanges(e)};p.prototype.clearSelection=function(e){var t=this._clearSelection();if(!e){this._publishSelectionChanges(t)}};p.prototype._publishSelectionChanges=function(e){e.oldIndex=e.oldIndex||this.getSelectedIndex();e.rowIndices.sort(function(e,t){return e-t});if(e.leadIndex>=0&&e.leadKey){this._sLeadSelectionKey=e.leadKey}else if(e.leadIndex===-1){this._sLeadSelectionKey=undefined}else{e.leadIndex=e.oldIndex}if(e.rowIndices.length>0||e.leadIndex!=undefined&&e.leadIndex!==-1||e.indexChangesCouldNotBeDetermined){this.fireSelectionChanged(e)}};p.prototype.setCollapseRecursive=function(e){this.bCollapseRecursive=!!e};p.prototype.resetData=function(){u.prototype.resetData.apply(this,arguments);this._aNodes=[];this._aNodeCache=[];this._aCollapsed=[];this._aExpanded=[];this._aExpandedAfterSelectAll=[];this._mSelected={};this._mDeselected={};this._aAdded=[];this._aRemoved=[];this._aNodeChanges=[];this._aAllChangedNodes=[];this._bLengthFinal=false;this._iLowestServerLevel=null;this._bSelectAll=false;this._bReadOnly=true;this._iLengthDelta=0};p.prototype._findNodeByContext=function(e){for(var t in this._aNodeCache){if(this._aNodeCache[t]&&this._aNodeCache[t].context==e){return{node:this._aNodeCache[t],index:parseInt(t)}}}var i=-1;var n;this._map(function(t,r,o,s,a){i++;if(t){if(t.context===e){n=t;r.broken=true}}});return{node:n,index:i}};p.prototype.createEntry=function(e){var i,n=this.getResolvedPath();if(n){e=e||{};if(e.expand){throw new Error(\"Parameter 'expand' is not supported\")}if(e.inactive){throw new Error(\"Parameter 'inactive' is not supported\")}e.groupId=this.oModel._resolveGroup(n).groupId;e.refreshAfterChange=false;i=this.oModel.createEntry(n,e)}else{t.warning(\"ODataTreeBindingFlat: createEntry failed, as the binding path could not be resolved.\")}return i};p.prototype.submitChanges=function(e){var i=this.getResolvedPath();if(!i){t.error(\"#submitChanges failed: binding is unresolved\",this.getPath(),f);return}this._bSubmitChangesCalled=true;e=e||{};e.groupId=this.oModel._resolveGroup(i).groupId;this.oModel.submitChanges(e)};p.prototype._submitChanges=function(e){var i,n,r=e.groupId,o=this.getResolvedPath(),s=false,a=this;function d(e){t.error(\"Tree state restoration request failed for binding: \"+o,e,f)}if(!o||r&&r!==this.oModel._resolveGroup(o).groupId){this._bSubmitChangesCalled=false;return}n=this._optimizeChanges();i=Object.values(n).some(function(e){return e.length});if(!i&&!this._bSubmitChangesCalled){return}this.bRefresh=false;this._bSubmitChangesCalled=false;e.success=function(e,i){var r,l=e.__batchResponses&&e.__batchResponses[0]&&e.__batchResponses[0].__changeResponses;if(l&&l.length>0){r=l.some(function(e){var t=parseInt(e.statusCode);return t<200||t>299});if(r){}else if(!s&&a._isRestoreTreeStateSupported()){a._restoreTreeState(n).catch(function(e){d(e);a._refresh(true)})}else if(!a.bRefresh){a._refresh(true)}}else if(i){t.warning(\"#submitChanges: no change response in batch response\",o,f)}};this._generateSubmitData(n,function(e){d(e);s=true})};p.prototype._generateSubmitData=function(i,n){var r=i.added,o=i.creationCancelled,s=i.moved,a=i.removed,d={error:n,groupId:this.oModel._resolveGroup(this.getResolvedPath()).groupId},l=this;function h(t){e(t.context,\"Node does not have a context.\");var i=t.parent.context.getProperty(l.oTreeProperties[\"hierarchy-node-for\"]);l.oModel.setProperty(l.oTreeProperties[\"hierarchy-parent-node-for\"],i,t.context)}r.forEach(h);s.forEach(function(e){h(e);if(this._isRestoreTreeStateSupported()){this._generatePreorderPositionRequest(e,d);this._generateSiblingsPositionRequest(e,d)}}.bind(this));a.forEach(function(e){this._generateDeleteRequest(e);t.debug(\"ODataTreeBindingFlat: DELETE \"+e.key)}.bind(this));o.forEach(function(e){this._generateDeleteRequest(e)}.bind(this))};p.prototype._generatePreorderPositionRequest=function(e,t){var i,n,r,s,a,l=[],h=this.getResolvedPath(),u=[],f=this;if(!h){return}t=t||{};r=t.success||function(){};s=function(t){f._updateNodeInfoAfterSave(e,t.results||[]);r.apply(null,arguments)};if(this.aApplicationFilters){l=l.concat(this.aApplicationFilters)}for(i=this._aTreeKeyProperties.length-1;i>=0;i--){n=this._aTreeKeyProperties[i];u.push(n);l.push(new d(n,\"EQ\",e.context.getProperty(n)))}l.push(new d(this.oTreeProperties[\"hierarchy-level-for\"],\"LE\",this.getNumberOfExpandedLevels()));a=o.extend({},this.mParameters);u=u.concat([this.oTreeProperties[\"hierarchy-node-for\"],this.oTreeProperties[\"hierarchy-node-descendant-count-for\"],this.oTreeProperties[\"hierarchy-drill-state-for\"],this.oTreeProperties[\"hierarchy-preorder-rank-for\"]]);a.select=u.join(\",\");this.oModel.read(h,{headers:this._getHeaders(),filters:[new d({filters:l,and:true})],error:t.error,groupId:t.groupId||this.sGroupId,sorters:this.aSorters,success:s,urlParameters:this.oModel.createCustomParams(a)})};p.prototype._generateSiblingsPositionRequest=function(e,t){var n,r,o,s;if(t){n=t.groupId||this.sGroupId;o=t.success;s=t.error}r=i({},this.mParameters);r.select=this.oTreeProperties[\"hierarchy-sibling-rank-for\"];this.oModel.read(e.context.getPath(),{headers:this._getHeaders(),urlParameters:this.oModel.createCustomParams(r),groupId:n,success:o,error:s})};p.prototype._nodeIsOnTopLevel=function(e){if(e&&e.serverIndex>=0){var i=e.parent==null;if(i){if(e.originalLevel==this._iLowestServerLevel){return true}else{return false}}}else{t.warning(\"ODataTreeBindingFlat.nodeIsOnTopLevel: Node is not defined or not a server-indexed node.\")}return undefined};p.prototype._generateDeleteRequest=function(e){var t=e.context;if(e.nodeState.added){this.oModel._discardEntityChanges(t.getPath().slice(1),true);return undefined}else{var i=this.oModel.remove(t.getPath(),{groupId:this.oModel._resolveGroup(this.getResolvedPath()).groupId,refreshAfterChange:false});return i}};p.prototype._filterChangeForServerSections=function(e){var t={};t.removed=e.removed.filter(function(e){return!e.isDeepOne});t.added=e.added.filter(function(e){return!e.isDeepOne});e.moved.forEach(function(e){if(!e.newIsDeepOne){t.added.push(e)}if(!e.isDeepOne){t.removed.push(e)}});return t};p.prototype._filterChangesForDeepSections=function(e){var t={};e.removed.forEach(function(e){var i;if(e.isDeepOne){i=e.parent;if(!t[i.key]){t[i.key]={added:[],removed:[]}}t[i.key].removed.push(e)}});e.added.forEach(function(e){var i;if(e.isDeepOne){i=e.parent;if(!t[i.key]){t[i.key]={added:[],removed:[]}}t[i.key].added.push(e)}});e.moved.forEach(function(e){var i;if(e.newIsDeepOne){i=e.parent;if(!t[i.key]){t[i.key]={added:[],removed:[]}}t[i.key].added.push(e)}if(e.isDeepOne){i=e.originalParent;if(!t[i.key]){t[i.key]={added:[],removed:[]}}t[i.key].removed.push(e)}});return t};p.prototype._optimizeOptimizedChanges=function(e){var t,i=this;t=e.added.slice();t.sort(function(e,t){var n=e.newIsDeepOne!==undefined?e.newIsDeepOne:e.isDeepOne,r=t.newIsDeepOne!==undefined?t.newIsDeepOne:t.isDeepOne;if(n&&r){return 0}if(n){return 1}if(r){return-1}return e.context.getProperty(i.oTreeProperties[\"hierarchy-preorder-rank-for\"])-t.context.getProperty(i.oTreeProperties[\"hierarchy-preorder-rank-for\"])});var n=-1;t=t.filter(function(e,t){if(e.newIsDeepOne!==undefined?e.newIsDeepOne:e.isDeepOne){return true}if(t<=n){return false}var r=e.context.getProperty(i.oTreeProperties[\"hierarchy-node-descendant-count-for\"]);if(r){n=t+r}return true});return{added:t,removed:e.removed,moved:e.moved}};p.prototype._updateNodeInfoAfterSave=function(e,t){var i,n,r=e.context,o=this.oTreeProperties[\"hierarchy-drill-state-for\"],s=this.oTreeProperties[\"hierarchy-node-for\"],a=r.getProperty(s);n=!t.some(function(e){return a===e[s]});i=r.getProperty(o)===\"collapsed\";if(this._aAdded.includes(e)){e.isDeepOne=n;e.initiallyCollapsed=i}else{e.newIsDeepOne=n;e.newInitiallyCollapsed=i}};p.prototype._requestExtraInfoForAddedNodes=function(e){var t=[],i=this;e.forEach(function(e){var n=new Promise(function(t,n){i._generatePreorderPositionRequest(e,{success:t,error:n})});t.push(n)});t=t.map(function(e){return e.then(function(e){return{responseData:e}},function(e){return{error:e}})});return Promise.all(t).then(function(e){var t=0;e.forEach(function(e){if(e.error){if(e.error.statusCode===0){t++}else{throw new Error(\"Tree state restoration request failed. Complete or partial tree state might get lost. Error: \"+(e.error.message.value||e.error.message))}}});return t===0})};p.prototype._restoreTreeState=function(e){var t=this;this._abortPendingRequest();e=e||{creationCancelled:[],added:[],removed:[],moved:[]};if(!this.bSkipDataEvents){this.fireDataRequested()}this.bSkipDataEvents=false;return this._requestExtraInfoForAddedNodes(e.added).then(function(i){if(i){return t._executeRestoreTreeState(e).then(function(e){if(e){t._fireChange({reason:s.Change});t.fireDataReceived({data:e});return e}return undefined})}return undefined})};p.prototype._executeRestoreTreeState=function(e){var t,i,n,r,o={},s=[],a=this;r=this._collectServerSections(this._aNodes);e=this._optimizeOptimizedChanges(e);t=this._filterChangeForServerSections(e);this._adaptSections(r,t);r.forEach(function(e,t){s.push(a._restoreServerIndexNodes(e.iSkip,e.iTop,t===0))});n=this._filterChangesForDeepSections(e);r=this._collectDeepNodes();r.forEach(function(e){var t=e.aChildSections,i=e.oParentNode,r=n[i.key];if(r){a._adaptSections(t,r,{ignoreMagnitude:true,indexName:\"positionInParent\"})}t.forEach(function(e){s.push(a._restoreChildren(i,e.iSkip,e.iTop))})});this._aCollapsed.forEach(function(e){o[e.key]=true});i=this._aCollapsed.length;this.resetData(true);s=s.map(function(e){return e.then(function(e){return{responseData:e}},function(e){return{error:e}})});return Promise.all(s).then(function(e){var t=0;e.forEach(function(e){var i=e.error;if(i){if(i.statusCode===0){t++}else{throw new Error(\"Tree state restoration request failed. Complete or partial\"+\" tree state might get lost. Error: \"+(i.message.value||i.message))}}});if(t<e.length){if(i>0){a._map(function(e,t){if(e&&o[e.key]){a.collapse(e,true);i--;if(i===0){t.broken=true}}})}return e}return undefined})};p.prototype._collectServerSections=function(e){var t=[];var i;for(var n=0;n<e.length;n++){if(e[n]!==undefined){if(!i){i={iSkip:n,iTop:1};t.push(i)}else{i.iTop++}}else{i=null}}return t};p.prototype._adaptSections=function(e,i,n){var r=i.removed||[],o=i.added||[],s=n&&n.indexName||\"serverIndex\",a,d,l,h,u,f=0,p,c,_,v,g,S,y,x=0,m,C,I=[];for(var b=o.length-1;b>=0;b--){a=o[b];if(a.newIsDeepOne!==undefined?a.newIsDeepOne:a.isDeepOne){C=this.oTreeProperties[\"hierarchy-sibling-rank-for\"]}else{C=this.oTreeProperties[\"hierarchy-preorder-rank-for\"];if(a.newInitiallyCollapsed!==undefined?!a.newInitiallyCollapsed:!a.initiallyCollapsed){p=a.context.getProperty(this.oTreeProperties[\"hierarchy-node-descendant-count-for\"])}}c=a.context.getProperty(C);if(c===undefined){t.warning(\"ODataTreeBindingFlat\",\"Missing \"+C+\" value for node \"+a.key);break}I.push({position:c,magnitude:p||0,assignedToSection:false})}for(var P=0;P<e.length;P++){d=e[P];y=x;_=v;v=0;m=0;for(var N=r.length-1;N>=0;N--){a=r[N];c=a[s];if(c>=d.iSkip&&c<=d.iSkip+d.iTop){if(s===\"serverIndex\"){f++}p=n&&n.ignoreMagnitude?0:this._getInitialMagnitude(a);u=1+p;h=d.iSki Copyright 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_AggregationCache\", [\"./_AggregationHelper\",\"./_Cache\",\"./_ConcatHelper\",\"./_GroupLock\",\"./_Helper\",\"./_MinMaxHelper\",\"./_TreeState\",\"sap/base/Log\",\"sap/ui/base/SyncPromise\",\"sap/ui/model/odata/ODataUtils\"],function(e,t,n,i,r,o,s,a,l,u){\"use strict\";function d(e,n,i,o,a){t.call(this,e,n,o,true);this.aElements=[];this.aElements.$byPredicate={};this.aElements.$count=undefined;this.aElements.$created=0;this.bUnifiedCache=i.expandTo>=Number.MAX_SAFE_INTEGER||!!i.createInPlace;this.doReset(i,a);this.addKeptElement=this.oFirstLevel.addKeptElement;this.removeKeptElement=this.oFirstLevel.removeKeptElement;this.requestSideEffects=this.oFirstLevel.requestSideEffects;this.oTreeState=new s(i.$NodeProperty,e=>r.getKeyFilter(e,this.sMetaPath,this.getTypes()))}d.prototype=Object.create(t.prototype);d.prototype.addTransientCollection=null;d.prototype._delete=function(e,n,i,o,s){let a=parseInt(i);if(isNaN(a)){throw new Error(`Unsupported kept-alive entity: ${this.sResourcePath}${i}`)}const u=this.aElements[a];const d=r.getPrivateAnnotation(u,\"predicate\");if(u[\"@$ui5.node.isExpanded\"]){throw new Error(`Unsupported expanded node: ${this.sResourcePath}${d}`)}const c=r.getPrivateAnnotation(u,\"parent\");if(u[\"@$ui5.context.isTransient\"]){return c._delete(e,n,r.getPrivateAnnotation(u,\"transientPredicate\"))}if(this.oCountPromise){this.createCountPromise()}return l.all([this.oRequestor.request(\"DELETE\",n,e,{\"If-Match\":u}),this.readCount(e)]).then(()=>{this.oTreeState.delete(u);if(this.aElements.$count===undefined){return}a=t.getElementIndex(this.aElements,d,a);const e=c.removeElement(r.getPrivateAnnotation(u,\"rank\",0),d);const n=r.getPrivateAnnotation(u,\"descendants\",0);for(let t=0;t<n;t+=1){c.removeElement(e)}const i=n+1;if(c===this.oFirstLevel){this.adjustDescendantCount(u,a,-i)}else if(!c.getValue(\"$count\")){this.makeLeaf(this.aElements[a-1])}this.shiftRank(a,-i);this.removeElement(a,d);s(a,-1)})};d.prototype.addElements=function(t,n,i,o){var s=this.aElements,a=this.oAggregation.$NodeProperty,u=this;function d(t,d){var c=s[n+d],h,f=r.getPrivateAnnotation(t,\"predicate\"),g=r.getPrivateAnnotation(t,\"transientPredicate\");if(c){if(c===t){return}e.beforeOverwritePlaceholder(c,t,i,o===undefined?undefined:o+d,a)}else if(n+d>=s.length){throw new Error(\"Array index out of bounds: \"+(n+d))}h=s.$byPredicate[f];if(h&&h!==t&&!(h instanceof l)){if(s.includes(h)){const e=i.fixDuplicatePredicate(t,f);if(e){f=e;h=t}else{throw new Error(\"Duplicate key predicate: \"+f)}}if(!h[\"@odata.etag\"]||t[\"@odata.etag\"]===h[\"@odata.etag\"]){r.updateNonExisting(t,h)}else if(u.hasPendingChangesForPath(f)){throw new Error(\"Modified on client and on server: \"+u.sResourcePath+f)}else{r.copySelected(h,t)}}if(f){s.$byPredicate[f]=t}if(g){s.$byPredicate[g]=t}s[n+d]=t;if(i){r.setPrivateAnnotation(t,\"parent\",i)}if(g){o-=1}else{r.setPrivateAnnotation(t,\"rank\",o+d)}}if(n<0){throw new Error(\"Illegal offset: \"+n)}if(Array.isArray(t)){t.forEach(d)}else{d(t,0)}};d.prototype.adjustDescendantCount=function(e,t,n){let i=e[\"@$ui5.node.level\"];let o=false;for(let e=t-1;e>=0&&i>1;e-=1){const s=this.aElements[e];const a=s[\"@$ui5.node.level\"];if(a===0){o=true}else if(a<i){if(!o||this.isAncestorOf(e,t)){const i=r.getPrivateAnnotation(s,\"descendants\",0)+n;r.setPrivateAnnotation(s,\"descendants\",i);if(i===0){this.makeLeaf(s)}else if(i===n){r.updateAll(this.mChangeListeners,r.getPrivateAnnotation(s,\"predicate\"),s,{\"@$ui5.node.isExpanded\":true})}t=e;o=false}i=a}}};d.prototype.beforeRequestSideEffects=function(e){if(!this.oAggregation.hierarchyQualifier){throw new Error(\"Missing recursive hierarchy\")}delete e.$apply;if(!e.$select.includes(this.oAggregation.$NodeProperty)){e.$select.push(this.oAggregation.$NodeProperty)}};d.prototype.beforeUpdateSelected=function(t,n){e.checkNodeProperty(this.aElements.$byPredicate[t],n,this.oAggregation.$NodeProperty,true)};d.prototype.collapse=function(t,n,i,o){const s=this.getValue(t);const a=e.getCollapsedObject(s);r.updateAll(i?{}:this.mChangeListeners,t,s,a);const l=!!n;this.oTreeState.collapse(s,l,o);const u=this.aElements;const d=u.indexOf(s);let c=this.countDescendants(s,d);if(this.oAggregation.subtotalsAtBottomOnly!==undefined&&Object.keys(a).length>1){c+=1}let h=c;for(let e=d+1;e<d+1+h;e+=1){const t=u[e];if(r.hasPrivateAnnotation(t,\"placeholder\")){continue}if(l&&t[\"@$ui5.node.isExpanded\"]){h-=this.collapse(r.getPrivateAnnotation(t,\"predicate\"),n,i,true)}if(!this.isSelectionDifferent(t)){delete u.$byPredicate[r.getPrivateAnnotation(t,\"predicate\")];delete u.$byPredicate[r.getPrivateAnnotation(t,\"transientPredicate\")]}}const f=u.splice(d+1,h);const g=s[\"@$ui5.node.level\"];if(!l||!this.bUnifiedCache&&g>=this.oAggregation.expandTo){f.$level=g;f.$rank=r.getPrivateAnnotation(s,\"rank\");r.setPrivateAnnotation(s,\"spliced\",f)}u.$count-=h;if(l&&!o){this.validateAndDeleteExpandInfo(n,s)}return c};d.prototype.countDescendants=function(e,t){var n;const i=e[\"@$ui5.node.level\"];const o=this.bUnifiedCache?Infinity:this.oAggregation.expandTo;let s=r.getPrivateAnnotation(e,\"descendants\");for(n=t+1;n<this.aElements.length;n+=1){const e=this.aElements[n];const t=e[\"@$ui5.node.level\"];const a=t===0&&r.hasPrivateAnnotation(e,\"placeholder\");if(!a&&t<=i){break}if(t<=o&&r.hasPrivateAnnotation(e,\"rank\")){if(!s){break}s-=1;if(e[\"@$ui5.node.isExpanded\"]===false){s-=r.getPrivateAnnotation(e,\"descendants\",0)}}}return n-(t+1)};d.prototype.create=function(e,t,n,i,o,s,a,l){if(s){throw new Error(\"Unsupported bAtEndOfCreated\")}const u=o[\"@$ui5.node.parent\"];delete o[\"@$ui5.node.parent\"];const d=u?.slice(u.indexOf(\"(\"));const c=this.aElements;const h=c.$byPredicate[d];if(h?.[\"@$ui5.node.isExpanded\"]===false){throw new Error(\"Unsupported collapsed parent: \"+u)}const f=h?h[\"@$ui5.node.level\"]+1:1;let g=f>this.oAggregation.expandTo&&!this.oAggregation.createInPlace?r.getPrivateAnnotation(h,\"cache\"):this.oFirstLevel;if(!g){g=this.createGroupLevelCache(h);g.setEmpty();r.setPrivateAnnotation(h,\"cache\",g)}r.addByPath(this.mPostRequests,i,o);const p=c.indexOf(h)+1;const P=g.create(e,t,n,i,o,s,a,l,()=>{r.removeByPath(this.mPostRequests,i,o);if(this.oAggregation.createInPlace){return}c.$count-=1;delete c.$byPredicate[i];c.splice(p,1)});if(u){r.getPrivateAnnotation(o,\"postBody\")[this.oAggregation.$ParentNavigationProperty+\"@odata.bind\"]=r.makeRelativeUrl(\"/\"+u,\"/\"+this.sResourcePath)}const v=h&&h[\"@$ui5.node.isExpanded\"]===undefined;const m=v&&h?.[\"@$ui5.node.level\"]>=this.oAggregation.expandTo;if(m){this.oTreeState.expand(h)}const $=(e,t)=>{if(v){r.updateAll(this.mChangeListeners,d,h,{\"@$ui5.node.isExpanded\":true})}o[\"@$ui5.node.level\"]=f;c.splice(e,0,null);this.addElements(o,e,g,t);c.$count+=1};const y=(e,t)=>{g.removeElement(0);r.deletePrivateAnnotation(o,\"transientPredicate\");delete c.$byPredicate[i];if(t!==undefined){this.adjustDescendantCount(o,e,+1);g.restoreElement(t,o);r.setPrivateAnnotation(o,\"rank\",t);this.shiftRank(e,+1)}};if(this.oAggregation.createInPlace){return P.then(async()=>{r.removeByPath(this.mPostRequests,i,o);delete o[\"@$ui5.context.isTransient\"];const[t]=await Promise.all([this.requestRank(o,e),this.requestNodeProperty(o,e)]);if(m){r.setPrivateAnnotation(o,\"rank\",t)}else if(t===undefined){g.removeElement(0)}else{$(t,t);y(t,t)}return o})}$(p,undefined);return P.then(async()=>{r.removeByPath(this.mPostRequests,i,o);c.$byPredicate[r.getPrivateAnnotation(o,\"predicate\")]=o;o[\"@$ui5.node.level\"]=f;this.oTreeState.setOutOfPlace(o,h);if(g===this.oFirstLevel&&this.oAggregation.expandTo>1){const[t]=await Promise.all([this.requestRank(o,e),this.requestNodeProperty(o,e,true)]);y(p,t)}else{await this.requestNodeProperty(o,e,true)}return o})};d.prototype.createCountPromise=function(){const e=this.oCountPromise;if(e?.isPending()){return}let t;this.oCountPromise=new l(function(e){t=e});this.oCountPromise.$resolve=t;this.oCountPromise.$restore=()=>{t(e)}};d.prototype.createGroupLevelCache=function(n,i){var o=this.oAggregation,s=n?n[\"@$ui5.node.level\"]+1:1,a,l,u,c,h,f,g;if(o.hierarchyQualifier){f=Object.assign({},this.mQueryOptions)}else{a=e.getAllProperties(o);c=s>o.groupLevels.length;u=c?o.groupLevels.concat(Object.keys(o.group).sort()):o.groupLevels.slice(0,s);f=e.filterOrderby(this.mQueryOptions,o,s);g=!c&&Object.keys(o.aggregate).some(function(e){return o.aggregate[e].subtotals})}if(n){h=r.getPrivateAnnotation(n,\"filter\")||r.getKeyFilter(n,this.sMetaPath,this.getTypes());f.$$filterBeforeAggregate=h+(f.$$filterBeforeAggregate?\" and (\"+f.$$filterBeforeAggregate+\")\":\"\")}if(!i){delete f.$count;f=e.buildApply(o,f,s)}f.$count=true;l=t.create(this.oRequestor,this.sResourcePath,f,true);l.calculateKeyPredicate=o.hierarchyQualifier?d.calculateKeyPredicateRH.bind(null,n,o):d.calculateKeyPredicate.bind(null,n,u,a,c,g);if(h){l.$parentFilter=h}if(!o.hierarchyQualifier){l.fixDuplicatePredicate=d.fixDuplicatePredicate.bind(l)}return l};d.prototype.doReset=function(t,i){this.oAggregation=t;this.sToString=this.getDownloadUrl(\"\");const r=[];if(this.mQueryOptions.$count){if(t.hierarchyQualifier){this.createCountPromise()}else if(t.groupLevels.length){this.setQueryOptions({...this.mQueryOptions,$$leaves:true});this.oCountPromise=new l(function(e){r.push(t=>{e(parseInt(t.UI5__leaves))})})}else{this.oCountPromise=undefined}}else{this.oCountPromise=undefined}this.oGrandTotalPromise=i?new l(n=>{r.push(i=>{e.handleGrandTotal(t,i);n(i)})}):undefined;const o=r.length>0;this.oFirstLevel=this.createGroupLevelCache(null,o);if(o){r.push(function(){});n.enhanceCache(this.oFirstLevel,t,r)}};d.prototype.expand=function(t,n,o,s){var a,u=typeof n===\"string\"?this.getValue(n):n,d=r.getPrivateAnnotation(u,\"spliced\"),c=this;if(n!==u){r.updateAll(this.mChangeListeners,n,u,e.getOrCreateExpandedObject(this.oAggregation,u));this.oTreeState.expand(u,o)}if(o>=Number.MAX_SAFE_INTEGER){return l.resolve(this.validateAndDeleteExpandInfo(t,u)).then(()=>-1)}if(d){r.deletePrivateAnnotation(u,\"spliced\");const e=this.aElements;const t=e.indexOf(u)+1;this.aElements=e.concat(d,e.splice(t));this.aElements.$byPredicate=e.$byPredicate;a=d.length;this.aElements.$count=e.$count+a;r.copySelected(e,this.aElements);const n=u[\"@$ui5.node.level\"]-d.$level;const o=r.getPrivateAnnotation(u,\"rank\")-d.$rank;d.forEach(function(e){var t=r.getPrivateAnnotation(e,\"predicate\");if(e[\"@$ui5.node.level\"]){e[\"@$ui5.node.level\"]+=n}if(r.getPrivateAnnotation(e,\"parent\")===c.oFirstLevel){const t=r.getPrivateAnnotation(e,\"rank\");if(t!==undefined){r.setPrivateAnnotation(e,\"rank\",t+o)}}if(!r.hasPrivateAnnotation(e,\"placeholder\")){if(d.$stale&&!c.isSelectionDifferent(e)){c.turnIntoPlaceholder(e,t)}else{c.aElements.$byPredicate[t]=e;const n=r.getPrivateAnnotation(e,\"transientPredicate\");if(n){c.aElements.$byPredicate[n]=e}if(r.hasPrivateAnnotation(e,\"expanding\")){r.deletePrivateAnnotation(e,\"expanding\");a+=c.expand(i.$cached,e).getResult()}}}});return l.resolve(a)}if(this.bUnifiedCache||o>1||u[\"@$ui5.node.level\"]<this.oAggregation.expandTo){return l.resolve(-1)}let h=r.getPrivateAnnotation(u,\"cache\");if(!h){h=this.createGroupLevelCache(u);r.setPrivateAnnotation(u,\"cache\",h)}return h.read(0,this.iReadLength,0,t,s).then(function(t){var i=c.aElements.indexOf(u)+1,o=u[\"@$ui5.node.level\"],s=e.getCollapsedObject(u),l=c.oAggregation.subtotalsAtBottomOnly!==undefined&&Object.keys(s).length>1,d;if(!u[\"@$ui5.node.isExpanded\"]){r.deletePrivateAnnotation(u,\"spliced\");return 0}if(!i){r.setPrivateAnnotation(u,\"expanding\",true);return 0}a=t.value.$count;if(r.hasPrivateAnnotation(u,\"groupLevelCount\")&&r.getPrivateAnnotation(u,\"groupLevelCount\")!==a){throw new Error(\"Unexpected structural change: groupLevelCount\")}r.setPrivateAnnotation(u,\"groupLevelCount\",a);r.updateAll(c.mChangeListeners,n,u,{\"@$ui5.node.groupLevelCount\":a});if(l){a+=1}if(i===c.aElements.length){c.aElements.length+=a}else{for(d=c.aElements.length-1;d>=i;d-=1){c.aElements[d+a]=c.aElements[d];delete c.aElements[d]}}c.addElements(t.value,i,h,0);for(d=i+t.value.length;d<i+t.value.$count;d+=1){c.aElements[d]=e.createPlaceholder(o+1,d-i,h)}if(l){s=Object.assign({},s);e.setAnnotations(s,undefined,true,o,e.getAllProperties(c.oAggregation));r.setPrivateAnnotation(s,\"predicate\",r.getPrivateAnnotation(u,\"predicate\").slice(0,-1)+\",$isTotal=true)\");c.addElements(s,i+a-1)}c.aElements.$count+=a;return a},function(t){r.updateAll(c.mChangeListeners,n,u,e.getCollapsedObject(u));c.oTreeState.collapse(u);throw t})};d.prototype.fetchParentIndex=function(e,t){const n=this.aElements[e][\"@$ui5.node.level\"];for(let t=e-1;t>=0;t-=1){const i=this.aElements[t][\"@$ui5.node.level\"];if(i===0){break}if(i===n){e=t}}const i=this.aElements[e];let o=r.getPrivateAnnotation(i,\"parentIndexPromise\");if(o){return o}const s=r.getKeyFilter(i,this.sMetaPath,this.getTypes());const a=Object.assign({},this.mQueryOptions);a.$apply=\"ancestors($root\"+this.oAggregation.$path+\",\"+this.oAggregation.hierarchyQualifier+\",\"+this.oAggregation.$NodeProperty+\",filter(\"+s+\"),1)\";const u=this.sResourcePath+this.oRequestor.buildQueryString(null,a);o=this.oRequestor.request(\"GET\",u,t).then(async e=>{const n=e.value[0];const i=this.aElements.$byPredicate[r.getKeyPredicate(n,this.sMetaPath,this.getTypes())];if(i&&r.getPrivateAnnotation(i,\"rank\")!==undefined){return this.aElements.indexOf(i)}r.setPrivateAnnotation(n,\"parent\",this.oFirstLevel);const o=[this.oAggregation.$DistanceFromRoot,this.oAggregation.$DrillState,this.oAggregation.$LimitedDescendantCount];const[s]=await Promise.all([this.requestRank(n,t),this.requestProperties(n,o,t,true),this.requestNodeProperty(n,t,false)]);this.oFirstLevel.calculateKeyPredicate(n,this.getTypes(),this.sMetaPath);const a=this.findIndex(s);if(r.hasPrivateAnnotation(this.aElements[a],\"placeholder\")){this.insertNode(n,s,a)}return a}).finally(()=>{r.deletePrivateAnnotation(i,\"parentIndexPromise\")});o=l.resolve(o);r.setPrivateAnnotation(i,\"parentIndexPromise\",o);return o};d.prototype.fetchValue=function(e,t,n,i){var r=this;if(t===\"$count\"){if(this.oCountPromise){return this.oCountPromise}if(this.oAggregation.hierarchyQualifier||this.oAggregation.groupLevels.length){a.error(\"Failed to drill-down into $count, invalid segment: $count\",this.toString(),\"sap.ui.model.odata.v4.lib._Cache\");return l.resolve()}return this.oFirstLevel.fetchValue(e,t,n,i)}return l.resolve(this.aElements.$byPredicate[t.split(\"/\")[0]]).then(function(){r.registerChangeListener(t,i);return r.drillDown(r.aElements,t,e)})};d.prototype.findIndex=function(e,t=this.oFirstLevel){return this.aElements.findIndex(n=>r.getPrivateAnnotation(n,\"rank\")===e&&r.getPrivateAnnotation(n,\"parent\")===t)};d.prototype.get1stInPlaceChildIndex=function(e){let t=e+1;while(this.aElements[t]?.[\"@$ui5.context.isTransient\"]!==undefined){t+=1}const n=this.aElements[t];if(!n){return[-1]}const i=n[\"@$ui5.node.level\"];const o=e>=0?this.aElements[e][\"@$ui5.node.level\"]+1:1;const s=r.hasPrivateAnnotation(n,\"placeholder\");return i===o||i===0?[t,s,o]:[-1]};d.prototype.getCreatedElements=function(e){return[]};d.prototype.getDownloadQueryOptions=function(t){if(this.oAggregation.hierarchyQualifier){if(\"$count\"in t){t=Object.assign({},t);delete t.$count}}else{t=e.filterOrderby(t,this.oAggregation)}return e.buildApply(this.oAggregation,t,0,true)};d.prototype.getElements=function(e,t,n){if(e){throw new Error(\"Unsupported path: \"+e)}const i=this.aElements.slice(t,n).map(e=>r.hasPrivateAnnotation(e,\"placeholder\")?undefined:e);i.$count=this.aElements.$count;return i};d.prototype.getInsertIndex=function(e){var t;for(t=0;t<this.aElements.length;t+=1){const n=this.aElements[t];if(r.getPrivateAnnotation(n,\"rank\")>e&&!this.oTreeState.isOutOfPlace(r.getPrivateAnnotation(n,\"predicate\"))){return t}}return t};d.prototype.getParentIndex=function(e){const t=this.aElements[e][\"@$ui5.node.level\"];if(t<=1){return-1}let n=false;for(let i=e;i>=0;i-=1){const r=this.aElements[i];const o=r[\"@$ui5.node.level\"];if(o===0){n=true}else if(o<t){if(o===t-1&&(!n||this.isAncestorOf(i,e))){return i}break}}};d.prototype.getSiblingIndex=function(t,n,i){const o=this.aElements[t];const s=r.getPrivateAnnotation(o,\"parent\");const a=s!==this.oFirstLevel||this.oAggregation.expandTo===1&&!this.oAggregation.$ExpandLevels;const l=r.getPrivateAnnotation(o,\"rank\");let u=l+n;if(n<0){if(!a){u=e.findPreviousSiblingIndex(s.aElements,l)}if(u<0){return-1}}else{u+=r.getPrivateAnnotation(o,\"descendants\",0);if(u>=s.aElements.$count||s.aElements[u]?.[\"@$ui5.node.level\"]<o[\"@$ui5.node.level\"]){return-1}}if(u>=0){const e=this.findIndex(u,s);if(e<0){return-1}const t=this.aElements[e];if(a&&i||!r.hasPrivateAnnotation(t,\"placeholder\")){if(t[\"@$ui5.context.isTransient\"]!==undefined){return this.getSiblingIndex(e,n,i)}return e}}};d.prototype.getQueryOptions4Single=function(e){if(e!==\"\"){throw new Error(\"Unsupported path: \"+e)}const t=r.clone(this.mLateQueryOptions??this.mQueryOptions);const n=t.$select.indexOf(this.oAggregation.$NodeProperty);if(n>=0){t.$select.splice(n,1)}return t};d.prototype.getValue=function(e){var t;t=this.fetchValue(i.$cached,e);if(t.isFulfilled()){return t.getResult()}t.caught()};d.prototype.handleOutOfPlaceNodes=function([e,...t]){if(!e){return}const n=e=>r.getKeyPredicate(e,this.sMetaPath,this.getTypes());const i=e=>parseInt(r.drillDown(e,this.oAggregation.$LimitedRank));const o={};e.value.forEach(e=>{o[n(e)]=e});const s=new Set(this.oTreeState.getOutOfPlacePredicates());t.forEach(e=>{e.value.forEach(e=>{const t=n(e);s.delete(t);if(this.aElements.$byPredicate[t]){return}const a=this.oTreeState.getOutOfPlace(t).parentPredicate;const l=o[a];if(l){const e=r.drillDown(l,this.oAggregation.$DrillState);if(e===\"collapsed\"){return}}else if(a){return}r.merge(e,o[t]);this.oFirstLevel.calculateKeyPredicate(e,this.getTypes(),this.sMetaPath);const u=i(e);r.deleteProperty(e,this.oAggregation.$LimitedRank);this.insertNode(e,u)})});s.forEach(e=>this.oTreeState.deleteOutOfPlace(e));this.oTreeState.getOutOfPlaceGroupedByParent().forEach(e=>{const t=o[e.parentPredicate];this.moveOutOfPlaceNodes(t&&i(t),e.nodePredicates)})};d.prototype.insertNode=function(e,t,n=t){this.addElements(e,n,this.oFirstLevel,t);this.oFirstLevel.removeElement(t);this.oFirstLevel.restoreElement(t,e)};d.prototype.isAncestorOf=function(e,t){if(t===e){return true}if(t<e||!this.aElements[e][\"@$ui5.node.isExpanded\"]||this.aElements[e][\"@$ui5.node.level\"]>=this.aElements[t][\"@$ui5.node.level\"]){return false}return t<=e+this.countDescendants(this.aElements[e],e)};d.prototype.isDeletingInOtherGroup=function(e){return false};d.prototype.isRefreshNeededAfterCreate=function(e){const t=this.aElements[e];return this.oAggregation.createInPlace&&t[\"@$ui5.node.isExpanded\"]===undefined&&t[\"@$ui5.node.level\"]>=this.oAggregation.expandTo};d.prototype.isSelectionDifferent=function(e){return(e[\"@$ui5.context.isSelected\"]??false)!==(this.aElements[\"@$ui5.context.isSelected\"]??false)};d.prototype.keepOnlyGivenElements=function(t){var n={},i=this;t.forEach(function(e){n[e]=true});return Object.values(this.aElements.$byPredicate).filter(function(t){var o=r.getPrivateAnnotation(t,\"predicate\");if(!o){return}if(n[o]){e.markSplicedStale(t);n[o]=false;return true}if(!(o in n)){i.turnIntoPlaceholder(t,o)}})};d.prototype.makeLeaf=function(e){r.updateAll(this.mChangeListeners,r.getPrivateAnnotation(e,\"predicate\"),e,{\"@$ui5.node.isExpanded\":undefined});delete e[\"@$ui5.node.isExpanded\"];r.deletePrivateAnnotation(e,\"descendants\")};d.prototype.move=function(e,t,n,o,s,a,u){let d=!this.bUnifiedCache;const c=t.slice(t.indexOf(\"(\"));const h=this.aElements.$byPredicate[c];if(!u&&this.oTreeState.isOutOfPlace(c)){this.oTreeState.deleteOutOfPlace(c);delete h[\"@$ui5.context.isTransient\"];d=true}const f=n?.slice(n.indexOf(\"(\"));const g=this.aElements.$byPredicate[f];if(this.oTreeState.isOutOfPlace(f)){this.oTreeState.deleteOutOfPlace(f,true);d=true}if(g?.[\"@$ui5.node.isExpanded\"]===false||g?.[\"@$ui5.node.level\"]>=this.oAggregation.expandTo&&!g[\"@$ui5.node.isExpanded\"]){this.oTreeState.expand(g);if(!r.hasPrivateAnnotation(g,\"spliced\")){d=true}}let p;const P=()=>{if(o!==undefined){d=true;const t=s+\"/\"+this.oAggregation.$Actions.ChangeNextSiblingAction;const n=o?.slice(o.indexOf(\"(\"));p=this.aElements.$byPredicate[n];let i=null;if(p){this.oTreeState.deleteOutOfPlace(n);const e=this.oAggregation.$fetchMetadata(r.getMetaPath(\"/\"+t+\"/NextSibling/\")).getResult();const o=Object.keys(e).filter(e=>e[0]!==\"$\");i=o.reduce((e,t)=>{e[t]=p[t];return e},{})}return this.oRequestor.request(\"POST\",t,e.getUnlockedCopy(),{\"If-Match\":h,Prefer:\"return=minimal\"},{NextSibling:i})}};let v;if(u){d=true;const n={$select:[]};r.selectKeyProperties(n,this.getTypes()[this.sMetaPath]);const i=t+\"/\"+this.oAggregation.$Actions.CopyAction+this.oRequestor.buildQueryString(this.sMetaPath,n,false,true);v=this.oRequestor.request(\"POST\",i,e.getUnlockedCopy(),{\"If-Match\":h},{});t=\"$-1\"}let m=l.all([this.oRequestor.request(\"PATCH\",t,e,{\"If-Match\":h,Prefer:\"return=minimal\"},{[this.oAggregation.$ParentNavigationProperty+\"@odata.bind\"]:n},null,function e(){}),P(),this.requestRank(h,e,d),a&&this.requestRank(p,e,true),v]);if(d){m=m.then(([,,t,n,i])=>()=>{let r;if(u){r=this.requestRank(i,e,true).then(e=>this.findIndex(e))}return[t===undefined?undefined:this.findIndex(t),a&&this.findIndex(n),r]})}else{m=m.then(([e,,t])=>{const n=h[\"@$ui5.node.isExpanded\"]?this.collapse(c):undefined;let o=1;switch(g?g[\"@$ui5.node.isExpanded\"]:true){case false:o=this.expand(i.$cached,f).unwrap()+1;case true:break;default:r.updateAll(this.mChangeListeners,f,g,{\"@$ui5.node.isExpanded\":true})}const s=this.aElements.indexOf(h);const a=r.getPrivateAnnotation(h,\"descendants\",0)+1;this.adjustDescendantCount(h,s,-a);this.aElements.splice(s,1);const l=r.getPrivateAnnotation(h,\"rank\");this.shiftRankForMove(l,a,t);this.oFirstLevel.move(l,t,a);r.updateExisting(this.mChangeListeners,c,h,{\"@odata.etag\":e[\"@odata.etag\"],\"@$ui5.context.isTransient\":undefined,\"@$ui5.node.level\":g?g[\"@$ui5.node.level\"]+1:1});r.deletePrivateAnnotation(h,\"rank\");const u=this.getInsertIndex(t);this.aElements.splice(u,0,h);this.adjustDescendantCount(h,u,+a);r.setPrivateAnnotation(h,\"rank\",t);return[o,u,n]})}return{promise:m,refresh:d}};d.prototype.moveOutOfPlaceNodes=function(e,t){const n=e===undefined?-1:this.findIndex(e);t.forEach(e=>{const t=this.aElements.$byPredicate[e];if(t){this.oTreeState.stillOutOfPlace(t,e);const r=t[\"@$ui5.node.isExpanded\"];if(r){this.collapse(e)}const o=this.aElements.indexOf(t);this.aElements.splice(o,1);this.aElements.splice(n+1,0,t);if(r){this.expand(i.$cached,e)}}})};d.prototype.read=function(e,t,n,i,o){var s,a=e,d=t,c,h,f=this.oGrandTotalPromise&&this.oAggregation.grandTotalAtBottomOnly!==true,g=[],p,P=this;function v(e,t){g.push(P.readGap(c,e,t,i.getUnlockedCopy(),o))}if(f&&!e&&t===1){if(n!==0){throw new Error(\"Unsupported prefetch length: \"+n)}i.unlock();return this.oGrandTotalPromise.then(function(e){return{value:[e]}})}if(this.aElements.$count===undefined){this.iReadLength=t+n;if(f){if(a){a-=1}else{d-=1}}g.push(this.readCount(i),this.readFirst(a,d,n,i,o))}else{const o=u._getReadRange(this.aElements,e,t,n,e=>{switch(r.getPrivateAnnotation(e,\"placeholder\")){case true:return r.getPrivateAnnotation(e,\"parent\").isMissing(r.getPrivateAnnotation(e,\"rank\"));case 1:return!(this.aElements.$byPredicate[r.getPrivateAnnotation(e,\"predicate\")]instanceof l);default:return false}});const a=Math.min(o.start+o.length,this.aElements.length);for(p=o.start;p<a;p+=1){const e=this.aElements[p];s=r.hasPrivateAnnotation(e,\"placeholder\")?r.getPrivateAnnotation(e,\"parent\"):undefined;if(s!==c){if(h!==undefined){v(h,p);c=h=undefined}if(s){h=p;c=s}}else if(h!==undefined&&r.getPrivateAnnotation(e,\"rank\")!==r.getPrivateAnnotation(this.aElements[p-1],\"rank\")+1){v(h,p);h=p}}if(h!==undefined){v(h,p)}i.unlock()}return l.all(g).then(function(){var n=P.aElements.slice(e,e+t).map(function(e){return r.hasPrivateAnnotation(e,\"placeholder\")?undefined:e});n.$count=P.aElements.$count;return{value:n}})};d.prototype.readCount=function(e){var t,n=this.oCountPromise&&this.oCountPromise.$resolve,i;if(n){delete this.oCountPromise.$resolve;t=Object.assign({},this.mQueryOptions);delete t.$apply;delete t.$count;delete t.$expand;delete t.$orderby;if(this.oAggregation.search){t.$search=this.oAggregation.search}delete t.$select;i=this.sResourcePath+\"/$count\"+this.oRequestor.buildQueryString(null,t);return this.oRequestor.request(\"GET\",i,e.getUnlockedCopy()).then(n).catch(e=>{this.oCountPromise.$restore();throw e})}};d.prototype.readFirst=function(t,n,o,s,a){var u=this;n+=o;const d=this.oTreeState.getOutOfPlaceCount();o=Math.max(o,d);if(t>o){n+=o;t-=o}else{n+=t;t=0}const c=this.oFirstLevel.bSentRequest;if(c&&d){s=i.$cached}return l.all([this.oFirstLevel.read(t,n,0,s,a),...c?[]:this.requestOutOfPlaceNodes(s)]).then(function([n,...i]){if(c&&d){return}var o,s,a=0,l;u.aElements.length=u.aElements.$count=n.value.$count;if(u.aElements.length&&u.oGrandTotalPromise){u.aElements.$count+=1;u.aElements.length+=1;o=u.oGrandTotalPromise.getResult();switch(u.oAggregation.grandTotalAtBottomOnly){case false:a=1;u.aElements.$count+=1;u.aElements.length+=1;u.addElements(o,0);s=r.getPrivateAnnotation(o,\"copy\");u.addElements(s,u.aElements.length-1);break;case true:u.addElements(o,u.aElements.length-1);break;default:a=1;u.addElements(o,0)}}u.addElements(n.value,t+a,u.oFirstLevel,t);for(l=0;l<u.aElements.$count;l+=1){u.aElements[l]??=e.createPlaceholder(u.oAggregation.expandTo>1||u.bUnifiedCache?0:1,l-a,u.oFirstLevel)}u.handleOutOfPlaceNodes(i)})};d.prototype.readGap=function(e,t,n,i,o){const s=this.aElements[t];const a=r.getPrivateAnnotation(s,\"rank\");if(a===undefined){if(n-t!==1){throw new Error(\"Not just a single created persisted\")}const a=r.getPrivateAnnotation(s,\"predicate\");const l=e.refreshSingle(i,\"\",-1,a,true,false,o).then(n=>{r.inheritPathValue(this.oAggregation.$NodeProperty.split(\"/\"),s,n,true);this.addElements(n,t,e)});this.aElements.$byPredicate[a]=l;return l}let l=e.getQueryOptions();if(l.$count){l={...l};delete l.$count;e.setQueryOptions(l,true)}const u=e.read(a,n-t,0,i,o,true).then(n=>{var i=false,r;if(s!==this.aElements[t]&&n.value[0]!==this.aElements[t]){i=true;t=this.aElements.indexOf(s);if(t<0){t=this.aElements.indexOf(n.value[0]);if(t<0){r=new Error(\"Collapse before read has finished\");r.canceled=true;throw r}}}this.addElements(n.value,t,e,a);if(i){r=new Error(\"Collapse or expand before read has finished\");r.canceled=true;throw r}});if(u.isPending()){for(let e=t;e<n;e+=1){const t=r.getPrivateAnnotation(this.aElements[e],\"predicate\");if(t){this.aElements.$byPredicate[t]=u}}}return u};d.prototype.refreshKeptElements=function(e,t,n,i){if(!this.oAggregation.hierarchyQualifier){return}const r=this.oFirstLevel.refreshKeptElements;return r.call(this,e,t,n,true)};d.prototype.replaceElement=function(e,t,n,i,o,s,a){this.visitResponse(i,o,r.getMetaPath(r.buildPath(this.sMetaPath,s)),s+n,undefined,a);r.updateAll({},\"\",e.$byPredicate[n],i)};d.prototype.requestFilteredOrderedPredicates=async function(t,n,i){if(!i){throw new Error(\"Not implemented\")}let o={...this.mQueryOptions};delete o.$count;delete o.$expand;delete o.$orderby;o=e.buildApply4Hierarchy(this.oAggregation,o,true);o.$select=[];const s=this.getTypes();r.selectKeyProperties(o,s[this.sMetaPath]);const a=t.map(e=>r.getKeyFilter(this.aElements.$byPredicate[e],this.sMetaPath,s));o.$top=a.length;o.$filter=a.join(\" or \");const l=this.sResourcePath+this.oRequestor.buildQueryString(this.sMetaPath,o,false,true,true);const u=await this.oRequestor.request(\"GET\",l,n);return u.value.map(e=>{this.calculateKeyPredicate(e,s,this.sMetaPath);return r.getPrivateAnnotation(e,\"predicate\")})};d.prototype.requestNodeProperty=async function(e,t,n){if(r.drillDown(e,this.oAggregation.$NodeProperty)!==undefined){return}await this.requestProperties(e,[this.oAggregation.$NodeProperty],t,true,n)};d.prototype.requestOutOfPlaceNodes=function(t){const n=this.oTreeState.getOutOfPlaceGroupedByParent();if(!n.length){return[]}const i=[];const r=e=>{const n=this.sResourcePath+this.oRequestor.buildQueryString(this.sMetaPath,e,false,true);i.push(this.oRequestor.request(\"GET\",n,t.getUnlockedCopy()))};let o=e.getQueryOptionsForOutOfPlaceNodesRank(n,this.oAggregation,this.oFirstLevel.getQueryOptions());r(o);n.forEach(t=>{o=e.getQueryOptionsForOutOfPlaceNodesData(t,this.oAggregation,this.mQueryOptions);r(o)});return i};d.prototype.requestProperties=async function(t,n,i,o,s,a){function l(e){e={...e};delete e.$count;delete e.$expand;delete e.$select;return e}let u;if(a){const t={...this.oAggregation,$ExpandLevels:this.oTreeState.getExpandLevels()};u=l(e.buildApply4Hierarchy(t,this.mQueryOptions))}else{const n=r.getPrivateAnnotation(t,\"parent\",this.oFirstLevel);u=s?e.dropFilter(this.oAggregation,this.mQueryOptions,n.$parentFilter):l(n.getQueryOptions())}u.$filter=r.getKeyFilter(t,this.sMetaPath,this.getTypes());const d=this.sResourcePath+this.oRequestor.buildQueryString(this.sMetaPath,u,false,true);const c=await this.oRequestor.request(\"GET\",d,i.getUnlockedCopy(),undefined,undefined,undefined,undefined,this.sMetaPath,undefined,false,{$select:n},this);const h=c.value[0];if(o&&h){n.forEach(e=>{r.inheritPathValue(e.split(\"/\"),h,t,true)})}else{return h}};d.prototype.requestRank=async function(e,t,n){const i=await this.requestProperties(e,[this.oAggregation.$LimitedRank],t,false,false,n);return i&&parseInt(r.drillDown(i,this.oAggregation.$LimitedRank))};d.prototype.requestSiblingIndex=async function(e,t,n){const i=this.getSiblingIndex(e,t,true);if(i!==undefined){return i}const o=this.aElements[e];const s={...this.oFirstLevel.mQueryOptions,$filter:this.oAggregation.$LimitedRank+(t<0?\" lt \":\" gt \")+r.getPrivateAnnotation(o,\"rank\")+\" and \"+this.oAggregation.$DistanceFromRoot+\" lt \"+o[\"@$ui5.node.level\"],$top:1};if(t<0){s.$orderby=this.oAggregation.$LimitedRank+\" desc\"}s.$select=[...s.$select,this.oAggregation.$LimitedRank];delete s.$count;const a=this.sResourcePath+this.oRequestor.buildQueryString(\"\",s,false,true,true);const l=await this.oRequestor.request(\"GET\",a,n);const u=l.value[0];this.oFirstLevel.calculateKeyPredicate(u,this.getTypes(),this.sMetaPath);const d=parseInt(r.drillDown(u,this.oAggregation.$LimitedRank));r.deleteProperty(u,this.oAggregation.$LimitedRank);if(r.hasPrivateAnnotation(this.aElements[d],\"placeholder\")){this.insertNode(u,d)}return u[\"@$ui5.node.level\"]===o[\"@$ui5.node.level\"]?d:-1};d.prototype.reset=function(t,n,i,o,s){if(s){throw new Error(\"Unsupported grouping via sorter\")}t.forEach(e=>{var t=this.aElements.$byPredicate[e];if(r.hasPrivateAnnotation(t,\"placeholder\")){throw new Error(\"Unexpected placeholder\")}delete t[\"@$ui5.node.isExpanded\"];delete t[\"@$ui5.node.level\"];delete t[\"@$ui5._\"];r.setPrivateAnnotation(t,\"predicate\",e)});const a=this.oFirstLevel.reset;a.call(this,t,n,i);if(n){this.oBackup.oCountPromise=this.oCountPromise;this.oBackup.oFirstLevel=this.oFirstLevel;this.oBackup.oGrandTotalPromise=this.oGrandTotalPromise;this.oBackup.bUnifiedCache=this.bUnifiedCache;this.bUnifiedCache=true}else{this.oTreeState.reset()}o=Object.assign({},o);o.$ExpandLevels=this.oTreeState.getExpandLevels();this.doReset(o,e.hasGrandTotal(o.aggregate))};d.prototype.resetOutOfPlace=function(){this.oTreeState.resetOutOfPlace()};d.prototype.restore=function(e){if(e){this.oCountPromise=this.oBackup.oCountPromise;this.oFirstLevel=this.oBackup.oFirstLevel;this.oGrandTotalPromise=this.oBackup.oGrandTotalPromise;this.bUnifiedCache=this.oBackup.bUnifiedCache}const t=this.oFirstLevel.restore;t.call(this,e)};d.prototype.shiftRank=function(e,t){const n=this.aElements[e];const i=r.getPrivateAnnotation(n,\"rank\");if(i===undefined){return}const o=r.getPrivateAnnotation(n,\"parent\");if(o===this.oFirstLevel){e=-1}for(let s=e+1;s<this.aElements.length;s+=1){const e=this.aElements[s];if(e===n){continue}if(r.getPrivateAnnotation(e,\"parent\")===o){const n=r.getPrivateAnnotation(e,\"rank\");if(n>=i){r.setPrivateAnnotation(e,\"rank\",n+t)}}if(o!==this.oFirstLevel&&e[\"@$ui5.node.level\"]<n[\"@$ui5.node.level\"]){break}}};d.prototype.shiftRankForMove=function(e,t,n){if(e<n){this.aElements.forEach(i=>{const o=r.getPrivateAnnotation(i,\"rank\");if(e+t<=o&&o<n+t){r.setPrivateAnnotation(i,\"rank\",o-t)}})}else if(n<e){this.aElements.forEach(i=>{const o=r.getPrivateAnnotation(i,\"rank\");if(n<=o&&o<e){r.setPrivateAnnotation(i,\"rank\",o+t)}})}};d.prototype.toString=function(){return this.sToString};d.prototype.turnIntoPlaceholder=function(t,n){if(r.hasPrivateAnnotation(t,\"placeholder\")){return}r.setPrivateAnnotation(t,\"placeholder\",1);e.markSplicedStale(t);delete this.aElements.$byPredicate[n];const i=r.getPrivateAnnotation(t,\"rank\");if(i!==undefined){r.getPrivateAnnotation(t,\"parent\").drop(i,n,true)}};d.prototype.validateAndDeleteExpandInfo=async function(t,n){const i=this.oTreeState.getExpandFilters(e=>{const t=this.aElements.$byPredicate[e];return!this.aElements.includes(t)});if(!i.length){return}const o=this.getTypes();let s={...this.mQueryOptions};s.$$filterBeforeAggregate=r.getKeyFilter(n,this.sMetaPath,o);delete s.$count;delete s.$expand;delete s.$orderby;s=e.buildApply4Hierarchy(this.oAggregation,s,true);s.$filter=i.sort().join(\" or \");s.$select=[];r.selectKeyProperties(s,o[this.sMetaPath]);s.$top=i.length;const a=this.sResourcePath+this.oRequestor.buildQueryString(this.sMetaPath,s,false,true,true);const l=await this.oRequestor.request(\"GET\",a,this.oRequestor.getUnlockedAutoCopy(t));l.value.forEach(e=>{this.calculateKeyPredicate(e,o,this.sMetaPath);this.oTreeState.deleteExpandInfo(e)})};d.calculateKeyPredicate=function(t,n,i,o,s,a,l,u){var d;if(!(u in l)){return undefined}if(t){i.forEach(function(e){if(Array.isArray(e)){r.inheritPathValue(e,t,a)}else if(!(e in a)){if(t[e+\"@$ui5.noData\"]){a[e+\"@$ui5.noData\"]=true}a[e]=t[e]}})}d=o&&r.getKeyPredicate(a,u,l)||r.getKeyPredicate(a,u,l,n,true);r.setPrivateAnnotation(a,\"predicate\",d);if(!o){r.setPrivateAnnotation(a,\"filter\",r.getKeyFilter(a,u,l,n))}e.setAnnotations(a,o?undefined:false,s,t?t[\"@$ui5.node.level\"]+1:1,t?null:i);return d};d.calculateKeyPredicateRH=function(t,n,i,o,s){var a,l,u=1,d,c;if(!(s in o)){return undefined}c=r.getKeyPredicate(i,s,o);r.setPrivateAnnotation(i,\"predicate\",c);if(s!==n.$metaPath){return c}switch(r.drillDown(i,n.$DrillState)){case\"expanded\":l=true;break;case\"collapsed\":l=false;break;default:}r.deleteProperty(i,n.$DrillState);if(t){u=t[\"@$ui5.node.level\"]+1}else{a=r.drillDown(i,n.$DistanceFromRoot);if(a){r.deleteProperty(i,n.$DistanceFromRoot);u=parseInt(a)+1}}e.setAnnotations(i,l,undefined,u);if(n.$LimitedDescendantCount){d=r.drillDown(i,n.$LimitedDescendantCount);if(d){r.deleteProperty(i,n.$LimitedDescendantCount);if(d!==\"0\"){r.setPrivateAnnotation(i,\"descendants\",parseInt(d))}}}return c};d.create=function(n,i,r,s,a,l,u,c){var h,f;function g(){if(\"$expand\"in s){throw new Error(\"Unsupported system query option: $expand\")}if(\"$select\"in s){throw new Error(\"Unsupported system query option: $select\")}}if(a){h=e.hasGrandTotal(a.aggregate);f=a.groupLevels&&!!a.groupLevels.length;if(e.hasMinOrMax(a.aggregate)){if(h){throw new Error(\"Unsupported grand totals together with min/max\")}if(f){throw new Error(\"Unsupported group levels together with min/max\")}if(a.hierarchyQualifier){throw new Error(\"Unsupported recursive hierarchy together with min/max\")}if(u){throw new Error(\"Unsupported $$sharedRequest together with min/max\")}g();return o.createCache(n,i,a,s)}if(s.$filter&&(h&&!a[\"grandTotal like 1.84\"]||f)){throw new Error(\"Unsupported system query option: $filter\")}if(h||f||a.hierarchyQualifier){if(s.$search){throw new Error(\"Unsupported system query option: $search\")}if(!a.hierarchyQualifier){g()}if(c){throw new Error(\"Unsupported grouping via sorter\")}if(u){throw new Error(\"Unsupported $$sharedRequest\")}return new d(n,i,a,s,h)}}if(\"$$filterOnAggregate\"in s){throw new Error(\"Unsupported $$filterOnAggregate\")}if(s.$$filterBeforeAggregate){s={...s,$apply:\"filter(\"+s.$$filterBeforeAggregate+\")/\"+s.$apply};delete s.$$filterBeforeAggregate}return t.create(n,i,s,l,r,u)};d.fixDuplicatePredicate=function(e,t){if(t===\"('')\"||t.includes(\"=''\")){a.warning(\"Duplicate key predicate: \"+t,this.toString(),\"sap.ui.model.odata.v4.lib._AggregationCache\");const n=t.slice(0,-1)+\",$duplicate=\"+r.uid()+\")\";r.setPrivateAnnotation(e,\"predicate\",n);if(this.aElements.$byPredicate[t]===e){delete this.aElements.$byPredicate[t];this.aElements.$byPredicate[n]=e}return n}};return d},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_AggregationHelper\", [\"./_Helper\",\"./_Parser\",\"sap/ui/model/Filter\"],function(e,t,r){\"use strict\";var n=/,|%2C|%2c/,i={aggregate:{\"*\":{grandTotal:\"boolean\",max:\"boolean\",min:\"boolean\",name:\"string\",subtotals:\"boolean\",unit:\"string\",with:\"string\"}},\"grandTotal like 1.84\":\"boolean\",grandTotalAtBottomOnly:\"boolean\",group:{\"*\":{additionally:[\"string\"]}},groupLevels:[\"string\"],search:\"string\",subtotalsAtBottomOnly:\"boolean\"},a=Object.freeze({\"@$ui5.node.isExpanded\":false}),o=Object.freeze({\"@$ui5.node.isExpanded\":true}),l=new RegExp(\"^(\"+t.sODataIdentifier+\"(?:/\"+t.sODataIdentifier+\")*\"+\")(?:\"+t.sWhitespace+\"+(?:asc|desc))?$\"),s={createInPlace:true,expandTo:/^[1-9]\\d*$/,hierarchyQualifier:\"string\",search:\"string\"},u=\"com.sap.vocabularies.Hierarchy.v1.\",f;function c(e,t,r,n,i,a,o){var l=e.aggregate[i],s=l.name||i,u=l.unit,f=l.with;if(n){if(f===\"average\"||f===\"countdistinct\"){throw new Error(\"Cannot aggregate totals with '\"+f+\"'\")}s=i;i=\"UI5grand__\"+i}if(f){s+=\" with \"+f+\" as \"+i}else if(l.name){s+=\" as \"+i}r.push(s);if(u&&!r.includes(u)&&!o.includes(u,a+1)&&!t.includes(u)){r.push(u)}}function g(e){var t=[];if(e.$skip){t.push(\"skip(\"+e.$skip+\")\")}delete e.$skip;if(e.$top<Infinity){t.push(\"top(\"+e.$top+\")\")}delete e.$top;return t.join(\"/\")}f={beforeOverwritePlaceholder:function(t,r,n,i,a){var o=e.getPrivateAnnotation(t,\"parent\");if(!e.hasPrivateAnnotation(t,\"placeholder\")){throw new Error(\"Unexpected element\")}if(o!==n||e.getPrivateAnnotation(t,\"rank\")!==i||t[\"@$ui5.node.level\"]!==r[\"@$ui5.node.level\"]&&t[\"@$ui5.node.level\"]!==0){throw new Error(\"Wrong placeholder\")}[\"descendants\",\"predicate\"].forEach(function(n){if(e.hasPrivateAnnotation(t,n)&&e.getPrivateAnnotation(t,n)!==e.getPrivateAnnotation(r,n)){throw new Error(\"Unexpected structural change: \"+n)}});if(a){f.checkNodeProperty(t,r,a)}e.copyPrivateAnnotation(t,\"cache\",r);e.copyPrivateAnnotation(t,\"context\",r);e.copyPrivateAnnotation(t,\"spliced\",r);if(\"@$ui5.context.isTransient\"in t){r[\"@$ui5.context.isTransient\"]=false}if(e.getPrivateAnnotation(t,\"placeholder\")===1){if(t[\"@$ui5.node.isExpanded\"]===undefined!==(r[\"@$ui5.node.isExpanded\"]===undefined)){throw new Error(\"Not a leaf anymore (or vice versa)\")}if(t[\"@$ui5.node.isExpanded\"]!==undefined){r[\"@$ui5.node.isExpanded\"]=t[\"@$ui5.node.isExpanded\"]}}},buildApply:function(e,t,r,n,i){var a,o=\"\",l=[],s=e[\"grandTotal like 1.84\"],u,d,p,h=[],$,y,v=[];function b(t,r){var n,a=e.aggregate[t];if(a[r]){n=\"UI5\"+r+\"__\"+t;h.push(t+\" with \"+r+\" as \"+n);if(i){i[n]={measure:t,method:r}}}}if(e.hierarchyQualifier){return f.buildApply4Hierarchy(e,t,!r)}t=Object.assign({},t);e.groupLevels??=[];e.group??={};e.groupLevels.forEach(function(t){e.group[t]??={}});y=Object.keys(e.group).sort();if(y.length===e.groupLevels.length){e.groupLevels.pop()}d=!r||r>e.groupLevels.length;u=d?y.filter(function(t){return!e.groupLevels.includes(t)}):[e.groupLevels[r-1]];if(!r){u=e.groupLevels.concat(u)}e.aggregate??={};a=Object.keys(e.aggregate).sort();if(r===1&&!n){a.filter(function(t){return e.aggregate[t].grandTotal}).forEach(c.bind(null,e,[],l,s))}if(!n){a.forEach(function(e){b(e,\"min\");b(e,\"max\")})}a.filter(function(t){return d||e.aggregate[t].subtotals}).forEach(c.bind(null,e,u,v,false));if(v.length){o=\"aggregate(\"+v.join(\",\")+\")\"}if(u.length){u.forEach(function(t){var r=e.group[t].additionally;if(r){u.push.apply(u,r)}});o=\"groupby((\"+u.join(\",\")+(o?\"),\"+o+\")\":\"))\")}if(n){delete t.$count}else if(t.$count){h.push(\"$count as UI5__count\");delete t.$count}if(t.$filter){o+=\"/filter(\"+t.$filter+\")\";delete t.$filter}if(t.$orderby){o+=\"/orderby(\"+t.$orderby+\")\";delete t.$orderby}$=g(t);if(s&&l.length){if(e.groupLevels.length){throw new Error(\"Cannot combine visual grouping with grand total\")}o+=\"/concat(aggregate(\"+l.join(\",\")+\"),aggregate(\"+h.join(\",\")+\"),\"+($||\"identity\")+\")\"}else{if(h.length){o+=\"/concat(aggregate(\"+h.join(\",\")+\"),\"+($||\"identity\")+\")\"}else if($){o+=\"/\"+$}if(r===1&&t.$$leaves&&!n){p=\"groupby((\"+y.join(\",\")+\"))/aggregate($count as UI5__leaves)\"}delete t.$$leaves;if(l.length){o=\"concat(\"+(p?p+\",\":\"\")+\"aggregate(\"+l.join(\",\")+\"),\"+o+\")\"}else if(p){o=\"concat(\"+p+\",\"+o+\")\"}}if(t.$$filterOnAggregate){o=\"groupby((\"+y.join(\",\")+\"),filter(\"+t.$$filterOnAggregate+\"))/\"+o;delete t.$$filterOnAggregate}if(e.search){o=\"search(\"+e.search+\")/\"+o}if(t.$$filterBeforeAggregate){o=\"filter(\"+t.$$filterBeforeAggregate+\")/\"+o;delete t.$$filterBeforeAggregate}if(o){t.$apply=o}return t},buildApply4Hierarchy:function(e,t,r){let n;function i(r){if(t.$select){let i=e[\"$\"+r];if(!i){n??=e.$fetchMetadata(e.$metaPath+\"/@\"+u+\"RecursiveHierarchy#\"+e.hierarchyQualifier).getResult();i=e[\"$\"+r]=n[r+\"Property\"]?.$PropertyPath??n[r]?.$Path}t.$select.push(i)}}let a=e.$NodeProperty;if(!a){a=\"???\";if(t){const t=e.$fetchMetadata(e.$metaPath+\"/@Org.OData.Aggregation.V1.RecursiveHierarchy#\"+e.hierarchyQualifier);if(t.isFulfilled()){a=e.$NodeProperty=t.getResult().NodeProperty.$PropertyPath;e.$ParentNavigationProperty=t.getResult().ParentNavigationProperty.$NavigationPropertyPath}}}t=Object.assign({},t);if(t.$select){t.$select=t.$select.slice();if(!t.$select.includes(a)){t.$select.push(a)}e.$Actions??=e.$fetchMetadata(e.$metaPath+\"/@\"+u+\"RecursiveHierarchyActions#\"+e.hierarchyQualifier).getResult()}let o=\"\";if(t.$filter||e.search){let r=\"\";if(t.$filter){o=\"filter(\"+t.$filter;r=\")/\";delete t.$filter}if(e.search){o+=r+\"search(\"+e.search}o=\"ancestors($root\"+e.$path+\",\"+e.hierarchyQualifier+\",\"+a+\",\"+o+\"),keep start)/\"}if(t.$$filterBeforeAggregate){o+=\"descendants($root\"+e.$path+\",\"+e.hierarchyQualifier+\",\"+a+\",filter(\"+t.$$filterBeforeAggregate+(r?\"))\":\"),1)\");delete t.$$filterBeforeAggregate;if(t.$orderby){o+=\"/orderby(\"+t.$orderby+\")\";delete t.$orderby}}else{if(t.$orderby){o+=\"orderby(\"+t.$orderby+\")/\";delete t.$orderby}e.expandTo??=1;if(e.expandTo>Number.MAX_SAFE_INTEGER){e.expandTo=Number.MAX_SAFE_INTEGER}const n=!r&&e.$ExpandLevels;o+=u+\"TopLevels(HierarchyNodes=$root\"+(e.$path||\"\")+\",HierarchyQualifier='\"+e.hierarchyQualifier+\"',NodeProperty='\"+a+\"'\"+(r||e.expandTo>=Number.MAX_SAFE_INTEGER?\"\":\",Levels=\"+e.expandTo)+(n?\",ExpandLevels=\"+n:\"\")+\")\";if(r){i(\"DistanceFromRoot\")}else if(e.expandTo>1||n){i(\"DistanceFromRoot\");i(\"LimitedDescendantCount\")}}i(\"DrillState\");if(n&&!e.$LimitedRank){e.$LimitedRank=n.LimitedRank?.$Path??e.$DrillState.slice(0,e.$DrillState.lastIndexOf(\"/\")+1)+\"LimitedRank\"}t.$apply=o;return t},checkNodeProperty:function(t,r,n,i){var a=e.drillDown(r,n),o=e.drillDown(t,n);if((i||o!==undefined)&&a!==undefined&&o!==a){throw new Error(\"Unexpected structural change: \"+n+\" from \"+JSON.stringify(o)+\" to \"+JSON.stringify(a))}},checkTypeof:function(e,t,r){if(Array.isArray(t)){if(!Array.isArray(e)){throw new Error(\"Not an array value for '\"+r+\"'\")}e.forEach(function(e,n){f.checkTypeof(e,t[0],r+\"/\"+n)})}else if(t instanceof RegExp){if(!t.test(e)){throw new Error(\"Not a matching value for '\"+r+\"'\")}}else if(typeof t===\"object\"){const n=\"*\"in t;if(typeof e!==\"object\"||!e||Array.isArray(e)){throw new Error(\"Not an object value for '\"+r+\"'\")}Object.keys(e).forEach(function(i){if(!n&&!(i in t)){throw new Error(\"Unsupported property: '\"+r+\"/\"+i+\"'\")}f.checkTypeof(e[i],t[n?\"*\":i],r+\"/\"+i)})}else if(t===true){if(e!==true){throw new Error(\"Not a true value for '\"+r+\"'\")}}else if(typeof e!==t){throw new Error(\"Not a \"+t+\" value for '\"+r+\"'\")}},createPlaceholder:function(t,r,n){var i={\"@$ui5.node.level\":t};e.setPrivateAnnotation(i,\"parent\",n);e.setPrivateAnnotation(i,\"placeholder\",true);e.setPrivateAnnotation(i,\"rank\",r);return i},dropFilter:function(e,t,r){e={...e};delete e.search;t={...t};delete t.$count;delete t.$expand;delete t.$filter;delete t.$orderby;delete t.$select;if(r){t.$$filterBeforeAggregate=r}else{delete t.$$filterBeforeAggregate}return f.buildApply4Hierarchy(e,t)},extractSubtotals:function(e,t,r,n){var i=t[\"@$ui5.node.level\"];Object.keys(e.aggregate).forEach(function(a){var o=e.aggregate[a],l,s=o.unit;if(!o.subtotals){return}r[a]=t[a];if(n){n[a]=null}if(s){r[s]=t[s];if(n){l=e.groupLevels.indexOf(s);if(l<0||l>=i){n[s]=null}}}})},filterOrderby:function(e,t,r){var n=f.getFilteredOrderby(e.$orderby,t,r);e=Object.assign({},e);if(n){e.$orderby=n}else{delete e.$orderby}return e},findPreviousSiblingIndex:function(t,r){let n;const i=t[r][\"@$ui5.node.level\"];for(let a=r-1;a>=0;a-=1){const o=t[a];if(!o){n=true;continue}if(o[\"@$ui5.node.level\"]<i){break}if(o[\"@$ui5.node.level\"]>i){continue}if(a+e.getPrivateAnnotation(o,\"descendants\",0)===r-1){return a}break}return n?undefined:-1},getAllProperties:function(e){var t=Object.keys(e.aggregate),r=Object.keys(e.group),n=t.concat(r);t.forEach(function(t){var r=e.aggregate[t].unit;if(r){n.push(r)}});r.forEach(function(t){e.group[t].additionally?.forEach(function(e){n.push(e.includes(\"/\")?e.split(\"/\"):e)})});return n},getCollapsedObject:function(t){return e.getPrivateAnnotation(t,\"collapsed\",a)},getFilteredOrderby:function(e,t,r){var i=!r||r>t.groupLevels.length;function a(e){return Object.keys(t.aggregate).some(function(r){var n=t.aggregate[r];return n.subtotals&&e===n.unit})}function o(e){if(e in t.group&&(!r||!t.groupLevels.includes(e))){return true}return Object.keys(t.aggregate).some(function(r){return e===t.aggregate[r].unit})||Object.keys(t.group).some(function(n){return(!r||!t.groupLevels.includes(n))&&s(e,n)})}function s(e,r){return e===r||t.group[r].additionally?.includes(e)}if(e){return e.split(n).filter(function(e){var n=l.exec(e),u;if(n){u=n[1];return u in t.aggregate&&(i||t.aggregate[u].subtotals)||i&&o(u)||!i&&(s(u,t.groupLevels[r-1])||a(u))}return true}).join(\",\")}},getOrCreateExpandedObject:function(t,r){var n,i;if(t.subtotalsAtBottomOnly===undefined){return o}i=e.getPrivateAnnotation(r,\"expanded\");if(!i){n={\"@$ui5.node.isExpanded\":false};e.setPrivateAnnotation(r,\"collapsed\",n);i={\"@$ui5.node.isExpanded\":true};e.setPrivateAnnotation(r,\"expanded\",i);f.extractSubtotals(t,r,n,t.subtotalsAtBottomOnly?i:null)}return i},getQueryOptionsForOutOfPlaceNodesData:function(e,t,r){t=Object.assign({},t);t.expandTo=1;delete t.search;delete t.$ExpandLevels;r=Object.assign({},r);if(e.parentFilter){r.$$filterBeforeAggregate=e.parentFilter}delete r.$count;delete r.$filter;delete r.$orderby;r=f.buildApply(t,r,1);const n=e.nodeFilters.slice().sort();r.$filter=n.join(\" or \");r.$top=n.length;const i=r.$select.indexOf(t.$DrillState);if(i>=0){r.$select.splice(i,1)}return r},getQueryOptionsForOutOfPlaceNodesRank:function(t,r,n){const i=new Set;t.forEach(function(e){if(e.parentFilter){i.add(e.parentFilter)}e.nodeFilters.forEach(function(e){i.add(e)})});const a=[r.$DistanceFromRoot,r.$DrillState,r.$LimitedRank];if(r.$LimitedDescendantCount){a.push(r.$LimitedDescendantCount)}n=Object.assign({},n,{$filter:[...i].sort().join(\" or \"),$select:a,$top:i.size});delete n.$count;delete n.$orderby;e.selectKeyProperties(n,r.$fetchMetadata(r.$metaPath+\"/\").getResult());return n},handleGrandTotal:function(t,r){if(t[\"grandTotal like 1.84\"]){f.removeUI5grand__(r)}f.setAnnotations(r,true,true,0,f.getAllProperties(t));if(t.grandTotalAtBottomOnly===false){const t=Object.assign({},r,{\"@$ui5.node.isExpanded\":undefined});e.setPrivateAnnotation(r,\"copy\",t);e.setPrivateAnnotation(t,\"predicate\",\"($isTotal=true)\")}e.setPrivateAnnotation(r,\"predicate\",\"()\")},hasGrandTotal:function(e){return e&&Object.keys(e).some(function(t){return e[t].grandTotal})},hasMinOrMax:function(e){return e&&Object.keys(e).some(function(t){var r=e[t];return r.min||r.max})},isAffected:function(t,r,n){return n.some(function(n){function i(t){return e.hasPathPrefix(t,n.endsWith(\"/*\")?n.slice(0,-2):n)||e.hasPathPrefix(n,t)}function a(e){return e.some(function(e){return e.getFilters()?a(e.getFilters()):i(e.getPath())})}return n===\"\"||n===\"*\"||a(r)||Object.keys(t.aggregate).some(e=>{const r=t.aggregate[e];return i(r.name||e)||r.unit&&i(r.unit)})||Object.keys(t.group).some(e=>i(e)||t.group[e].additionally?.some(e=>i(e)))})},markSplicedStale:function(t){var r=e.getPrivateAnnotation(t,\"spliced\");if(r){r.$stale=true}},removeUI5grand__:function(e){Object.keys(e).forEach(function(t){if(t.startsWith(\"UI5grand__\")){e[t.slice(10)]=e[t];delete e[t]}})},setAnnotations:function(t,r,n,i,a){e.setAnnotation(t,\"@$ui5.node.isExpanded\",r);e.setAnnotation(t,\"@$ui5.node.isTotal\",n);t[\"@$ui5.node.level\"]=i;if(a){a.forEach(function(r){if(Array.isArray(r)){e.createMissing(t,r)}else if(!(r in t)){t[r]=undefined;t[r+\"@$ui5.noData\"]=true}})}},setPath:function(t,r){t.$metaPath=r&&e.getMetaPath(r);t.$path=r},splitFilter:function(e,t){var n=[],i=[],a=[];function o(e){return e.getFilters()?e.getFilters().some(o):e.getPath()in t.aggregate}function l(e){return Object.keys(t.aggregate).some(r=>t.aggregate[r].unit===e)}function s(e){if(e.getFilters()&&e.isAnd()){e.getFilters().forEach(s)}else if(e.getPath()&&l(e.getPath())){n.push(e);i.push(e);a.push(e)}else{(o(e)?a:n).push(e)}}function u(e){return e.length>1?new r(e,true):e[0]}if(!t?.aggregate){return[e]}if(!t.$leafLevelAggregated){return[undefined,e]}s(e);let c=[u(a),u(n)];if(t.groupLevels.length||!t[\"grandTotal like 1.84\"]&&f.hasGrandTotal(t.aggregate)){c=[undefined,c[1],c[0],i]}return c},validateAggregation:function(e,t){if(e.hierarchyQualifier&&!t){throw new Error(\"Missing parameter autoExpandSelect at model\")}f.checkTypeof(e,e.hierarchyQualifier?s:i,\"$$aggregation\")},validateAggregationAndSetPath:function(e,t,r,n){f.validateAggregation(e,t);e.$fetchMetadata=r;f.setPath(e,n)}};return f},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_Batch\", [\"./_Helper\",\"sap/base/strings/escapeRegExp\"],function(e,n){\"use strict\";var r={POST:true,PUT:true,PATCH:true,DELETE:true},t=/^\\$\\d+/,i=/(\\S*?)=(?:\"(.+)\"|(\\S+))/;function o(e){var r=s(e,\"boundary\"),t=e.trim().indexOf(\"multipart/mixed\");if(t!==0||!r){throw new Error('Invalid $batch response header \"Content-Type\": '+e)}r=n(r);return new RegExp(\"--\"+r+\"(?:[ \\t]*\\r\\n|--)\")}function s(e,n){var r,t=e.split(\";\"),o;n=n.toLowerCase();for(r=1;r<t.length;r+=1){o=i.exec(t[r]);if(o[1].toLowerCase()===n){return o[2]||o[3]}}}function a(e){var n=f(e,\"content-type\");return n.startsWith(\"multipart/mixed;\")?n:undefined}function u(e){var n=f(e,\"content-id\"),r;if(!n){throw new Error(\"Content-ID MIME header missing for the change set response.\")}r=parseInt(n);if(isNaN(r)){throw new Error(\"Invalid Content-ID value in change set response.\")}return r}function f(e,n){var r,t=e.split(\"\\r\\n\"),i;for(i=0;i<t.length;i+=1){r=t[i].split(\":\");if(r[0].toLowerCase().trim()===n){return r[1].trim()}}}function c(e,n,r){var t=n.split(o(e)),i=[];t=t.slice(1,-1);t.forEach(function(e){var n,t,o,f,d,h,p,l,y,m,C,T,E={},w,v;T=e.indexOf(\"\\r\\n\\r\\n\");C=e.slice(0,T);y=e.indexOf(\"\\r\\n\\r\\n\",T+4);l=e.slice(T+4,y);n=a(C);if(n){i.push(c(n,e.slice(T+4),true));return}p=l.split(\"\\r\\n\");m=p[0].split(\" \");E.status=parseInt(m[1]);E.statusText=m.slice(2).join(\" \");E.headers={};for(v=1;v<p.length;v+=1){f=p[v];o=f.indexOf(\":\");d=f.slice(0,o).trim();h=f.slice(o+1).trim();E.headers[d]=h;if(d.toLowerCase()===\"content-type\"){t=s(h,\"charset\");if(t&&t.toLowerCase()!==\"utf-8\"){throw new Error('Unsupported \"Content-Type\" charset: '+t)}}}E.responseText=e.slice(y+4,-2);if(r){w=u(C);i[w]=E}else{i.push(E)}});return i}function d(e){var n,r=[];for(n in e){r.push(n,\":\",e[n],\"\\r\\n\")}return r}function h(n,i,o,s){var a=(i!==undefined?\"changeset_\":\"batch_\")+e.uid(),u=i!==undefined,f=[];if(u){f.push(\"Content-Type: multipart/mixed;boundary=\",a,\"\\r\\n\\r\\n\")}n.forEach(function(n,o){var c=\"\",p=n.url;if(u){n.$ContentID=o+\".\"+i;c=\"Content-ID:\"+n.$ContentID+\"\\r\\n\"}f.push(\"--\",a,\"\\r\\n\");if(Array.isArray(n)){if(u){throw new Error(\"Change set must not contain a nested change set.\")}f=f.concat(h(n,o,\"\",s).body)}else{if(u&&!r[n.method]){throw new Error(\"Invalid HTTP request method: \"+n.method+\". Change set must contain only POST, PUT, PATCH, or DELETE requests.\")}if(i!==undefined&&p[0]===\"$\"){if(p===\"$-1\"){p=\"$\"+(o-1)+\".\"+i}else{p=p.replace(t,\"$&.\"+i)}}f=f.concat(\"Content-Type:application/http\\r\\n\",\"Content-Transfer-Encoding:binary\\r\\n\",c,\"\\r\\n\",n.method,\" \",p,\" HTTP/1.1\\r\\n\",d(e.resolveIfMatchHeader(n.headers,s)),\"\\r\\n\",JSON.stringify(n.body)||\"\",\"\\r\\n\")}});f.push(\"--\",a,\"--\\r\\n\",o);return{body:f,batchBoundary:a}}return{deserializeBatchResponse:function(e,n){return c(e,n,false)},serializeBatchRequest:function(e,n,r){var t=h(e,undefined,n,r);return{body:t.body.join(\"\"),headers:{\"Content-Type\":\"multipart/mixed; boundary=\"+t.batchBoundary,\"MIME-Version\":\"1.0\"}}}}},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_Cache\", [\"./_GroupLock\",\"./_Helper\",\"./_Requestor\",\"sap/base/Log\",\"sap/ui/base/SyncPromise\",\"sap/ui/model/odata/ODataUtils\"],function(e,t,i,n,s,r){\"use strict\";var o=\"sap.ui.model.odata.v4.lib._Cache\",a=/\\(\\$uid=[-\\w]+\\)$/,u=/^\\$inactive\\./,h=\"@com.sap.vocabularies.Common.v1.Messages\",c=/^-?\\d+$/,l=/^([^(]*)(\\(.*\\))$/;function d(e,t){return t===\"\"||e===t||e.startsWith(t+\"/\")}function f(e,t,i,n,s,r){this.iActiveUsages=1;this.mChangeListeners={};this.mChangeRequests={};this.sOriginalResourcePath=s||t;this.iInactiveSince=Infinity;this.mEditUrl2PatchPromise={};this.oPendingRequestsPromise=null;this.mPostRequests={};this.sReportedMessagesPath=undefined;this.oRequestor=e;this.bSentRequest=false;this.bSortExpandSelect=n;this.setResourcePath(t);this.setQueryOptions(i);this.bSharedRequest=r}f.prototype._delete=function(i,n,r,o,a){var u=r.split(\"/\"),h=u.pop(),l=u.join(\"/\"),d=this;this.checkSharedRequest();return this.fetchValue(e.$cached,l).then(function(e){var r,u=h?e[h]||e.$byPredicate[h]:e,f,p,g,P=c.test(h)?Number(h):undefined,m=t.getPrivateAnnotation(u,\"predicate\"),y=t.buildPath(l,Array.isArray(e)?m:h),$=d.oRequestor.getModelInterface(),v,R=t.getPrivateAnnotation(u,\"transient\"),E=t.getPrivateAnnotation(u,\"transientPredicate\");function q(){t.removeByPath(d.mChangeRequests,y,v);if(p.length){$.updateMessages(undefined,p)}delete u[\"@$ui5.context.isDeleted\"];if(Array.isArray(e)){P=r.index;const t=e.$deleted.indexOf(r);if(P!==undefined){d.restoreElement(P,u,t,e,l)}e.$deleted.splice(t,1)}if(d.iActiveUsages){a(P,1)}else if(P===undefined&&d.reset){d.reset([])}}if(R){if(typeof R!==\"string\"){throw new Error(\"No 'delete' allowed while waiting for server response\")}if(e.$postBodyCollection){e.$postBodyCollection.splice(P,1);d.removeElement(P,E,e,l);a(P,-1);const i=new Error(\"Deleted from deep create\");i.canceled=true;t.getPrivateAnnotation(u,\"reject\")(i);t.cancelNestedCreates(u,\"Deleted from deep create\")}else{d.oRequestor.removePost(R,u)}return undefined}p=$.getMessagesByPath(t.buildPath(\"/\",d.sResourcePath,y),true);$.updateMessages(p);u[\"@$ui5.context.isDeleted\"]=true;if(Array.isArray(e)){r=d.addDeleted(e,P,m,i,!!E);d.removeElement(P,m,e,l)}a(P,-1);if(i){f=i.getGroupId();d.oRequestor.relocateAll(\"$parked.\"+f,f,u)}g={\"If-Match\":o||u};n+=d.oRequestor.buildQueryString(d.sMetaPath,d.mQueryOptions,true);v=i?d.oRequestor.request(\"DELETE\",n,i,g,undefined,undefined,q,undefined,t.buildPath(d.sOriginalResourcePath,y)):s.resolve();t.addByPath(d.mChangeRequests,y,v);return v.catch(function(e){if(e.status!==404){throw e}}).then(function(){t.removeByPath(d.mChangeRequests,y,v);if(Array.isArray(e)){e.$deleted.splice(e.$deleted.indexOf(r),1);delete e.$byPredicate[m];delete e.$byPredicate[E]}else if(h){t.updateExisting(d.mChangeListeners,l,e,t.makeUpdateData([h],null))}else{u[\"$ui5.deleted\"]=true}},function(e){if(!e.canceled){p=p.filter(function(e){return!e.persistent});q()}throw e})})};f.prototype.addDeleted=function(e,t,i,n,s){var r={created:s,groupId:n&&n.getGroupId(),predicate:i,index:t},o;e.$deleted??=[];if(t===undefined){e.$deleted.unshift(r)}else{for(o=0;o<e.$deleted.length;o+=1){if(t<e.$deleted[o].index){break}}e.$deleted.splice(o,0,r)}return r};f.prototype.addPendingRequest=function(){var e;if(!this.oPendingRequestsPromise){this.oPendingRequestsPromise=new s(function(t){e=t});this.oPendingRequestsPromise.$count=0;this.oPendingRequestsPromise.$resolve=e}this.oPendingRequestsPromise.$count+=1};f.prototype.addTransientCollection=function(e,i){var n,s=e.split(\"/\"),r=s.pop(),o=this.getValue(s.join(\"/\")),a=t.getPrivateAnnotation(o,\"postBody\"),u,h=e.indexOf(\")\",e.indexOf(\"($uid=\"))+1,c=this.getValue(e.sl Copyright 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/YearPickerRenderer\", [\"sap/ui/core/Lib\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/core/date/UniversalDate\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/InvisibleText\"],function(e,t,a,r,i,l){\"use strict\";var s={apiVersion:2};s.render=function(e,t){var a=t.getTooltip_AsString();e.openStart(\"div\",t);e.class(\"sapUiCalYearPicker\");if(t._getSecondaryCalendarType()){e.class(\"sapUiCalMonthSecType\")}if(a){e.attr(\"title\",a)}e.accessibilityState(t,this.getAccessibilityState(t));e.openEnd();this.renderCells(e,t);e.close(\"div\")};s.getAccessibilityState=function(t){return{role:\"grid\",readonly:\"true\",multiselectable:t.getIntervalSelection(),roledescription:e.getResourceBundleFor(\"sap.ui.unified\").getText(\"YEAR_PICKER\"),describedby:t._bCalendar?l.getStaticId(\"sap.ui.unified\",\"CALENDAR_YEAR_RANGE_PICKER_OPEN_HINT\"):\"\"}};s.renderCells=function(e,l){var s=l.getProperty(\"_middleDate\")?l.getProperty(\"_middleDate\"):l._getDate(),n=new t(s,l.getPrimaryCalendarType()),d=a._minDate(l.getProperty(\"primaryCalendarType\")).getYear(),o=a._maxDate(l.getProperty(\"primaryCalendarType\")).getYear(),c=l.getYears(),p=l.getId(),g=l.getColumns(),y=l._getSecondaryCalendarType(),u=\"\",f=false,C=l._getLocaleData(),S,m,_,D,Y,T;n.setYear(n.getYear()-Math.floor(c/2));if(n.getYear()<d){n.setYear(d)}else if(n.getYear()+c>o){n.setYear(o-c+1)}if(g>0){u=100/g+\"%\"}else{u=100/c+\"%\"}for(T=0;T<c;T++){Y=l._oFormatYyyymmdd.format(n.toUTCJSDate(),true);D={role:\"gridcell\"};f=l._checkDateEnabled(n);if(g>0&&T%g==0){e.openStart(\"div\");e.accessibilityState(null,{role:\"row\"});e.openEnd()}e.openStart(\"div\",p+\"-y\"+Y);e.class(\"sapUiCalItem\");m=l._isYearSelected(n);_=l._isYearInsideSelectionRange(n);if(m){e.class(\"sapUiCalItemSel\");D[\"selected\"]=true}if(_&&!m){e.class(\"sapUiCalItemSelBetween\");D[\"selected\"]=true}if(!m&&!_){D[\"selected\"]=false}if(!f){e.class(\"sapUiCalItemDsbl\");D[\"disabled\"]=true}S=l._oYearFormat.format(r.getInstance(n.toUTCJSDate(),n.getCalendarType()),true);D[\"label\"]=S;if(y){var b=l._getDisplayedSecondaryDates(n),v=i.getDateInstance({format:\"y\",calendarType:l.getSecondaryCalendarType()}),I,U;if(b.start.getYear()===b.end.getYear()){I=v.format(b.start.toUTCJSDate(),true)}else{U=C.getIntervalPattern();I=U.replace(/\\{0\\}/,v.format(b.start.toUTCJSDate()),true).replace(/\\{1\\}/,v.format(b.end.toUTCJSDate(),true))}D[\"label\"]=D[\"label\"]+\" \"+I}e.attr(\"tabindex\",\"-1\");e.attr(\"data-sap-year-start\",Y);e.style(\"width\",u);e.accessibilityState(null,D);e.openEnd();e.text(S);if(y){e.openStart(\"div\",p+\"-y\"+Y+\"-secondary\");e.class(\"sapUiCalItemSecText\");e.openEnd();e.text(I);e.close(\"div\")}e.close(\"div\");n.setYear(n.getYear()+1);if(g>0&&(T+1)%g==0){e.close(\"div\")}}};return s},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/YearRangePicker\", [\"./YearPicker\",\"./YearRangePickerRenderer\",\"./CalendarDate\",\"./CalendarUtils\",\"sap/ui/thirdparty/jquery\"],function(e,t,a,r,jQuery){\"use strict\";var s=e.extend(\"sap.ui.unified.calendar.YearRangePicker\",{metadata:{library:\"sap.ui.unified\",properties:{years:{type:\"int\",group:\"Appearance\",defaultValue:9},columns:{type:\"int\",group:\"Appearance\",defaultValue:3},rangeSize:{type:\"int\",group:\"Appearance\",defaultValue:20}}},renderer:t});s.prototype.setDate=function(e){var t,s,i,n,o;e&&r._checkJSDateObject(e);s=e.getFullYear();r._checkYearInValidRange(s);t=a.fromLocalJSDate(e,this._getPrimaryCalendarType());t.setMonth(0,1);this.setProperty(\"date\",e);this.setProperty(\"year\",t.getYear());this._oDate=t;i=this.getYears();o=Math.floor(i/2);n=new a(this._oDate,this._getPrimaryCalendarType());n=this._checkFirstDate(n);this._iSelectedIndex=o;this.setProperty(\"_middleDate\",n);return this};s.prototype._checkFirstDate=function(e){var t=this.getYears();var s=new a(this._oMaxDate,this._getPrimaryCalendarType());const i=t*this.getRangeSize();if(!s.isSame(r._maxDate(this._getPrimaryCalendarType()))){return e}if(this.getColumns()%2===0){s.setYear(s.getYear()-i/2+1)}else{Math.floor(t/2)*this.getRangeSize()+1-Math.floor(this.getRangeSize()/2)}if(e.isAfter(s)&&e.getYear()!=s.getYear()){e=new a(s,this._getPrimaryCalendarType());e.setMonth(0,1)}else if(e.isBefore(this._oMinDate)&&e.getYear()!=this._oMinDate.getYear()){e=new a(this._oMinDate,this._getPrimaryCalendarType());e.setMonth(0,1)}return e};s.prototype._updatePage=function(e,t,r){const s=this._oItemNavigation.getItemDomRefs();const i=a.fromLocalJSDate(this._oFormatYyyymmdd.parse(s[0].getAttribute(\"data-sap-year-start\")),this._getPrimaryCalendarType());const n=this.getYears();const o=this.getRangeSize();const h=new a(i,this._getPrimaryCalendarType());const g=n*o;const l=this.getColumns()%2===0?g/2:Math.floor(n/2)*o+Math.floor(o/2);let y;if(e){const e=new a(this._oMaxDate,this._getPrimaryCalendarType());e.setYear(e.getYear()-g+1);if(i.isBefore(e)){h.setYear(i.getYear()+g);const t=new a(h,this._getPrimaryCalendarType());t.setYear(h.getYear()+g);if(t.isAfter(e)){h.setYear(e.getYear())}y=new a(h,this._getPrimaryCalendarType());y.setYear(h.getYear()+l)}else{return}}else{if(i.isAfter(this._oMinDate)){const e=new a(this._oMinDate,this._getPrimaryCalendarType());h.setYear(i.getYear()-g);if(h.isBefore(e)){h.setYear(e.getYear())}y=new a(h,this._getPrimaryCalendarType());y.setYear(h.getYear()+l)}else{return}}this._iSelectedIndex=t;this.setProperty(\"_middleDate\",y);if(r){this.firePageChange()}};s.prototype._checkDateEnabled=function(e,t){if(r._isBetween(this._oMinDate,e,t,true)||r._isBetween(this._oMaxDate,e,t,true)||this._oMinDate.isBefore(e)&&this._oMaxDate.isAfter(t)){return true}return false};s.prototype._selectYear=function(e){var t=this._oItemNavigation.getItemDomRefs(),r=jQuery(t[e]),s=r.attr(\"data-sap-year-start\"),i=a.fromLocalJSDate(this._oFormatYyyymmdd.parse(s),this._getPrimaryCalendarType());if(r.hasClass(\"sapUiCalItemDsbl\")){return false}this.setProperty(\"date\",i.toLocalJSDate());this.setProperty(\"year\",i.getYear());return true};s.prototype._isYearSelected=function(e){const t=this.getSelectedDates();const s=this._getShowSelectedRange();if(!(t&&t.length)){return false}const i=new a(e,this.getPrimaryCalendarType());i.setYear(i.getYear()+this.getRangeSize()-1);i.setMonth(0,1);const n=t[0];const o=n.getStartDate();const h=n.getEndDate();if(s&&o&&h){const t=a.fromLocalJSDate(o,this._getPrimaryCalendarType());t.setMonth(0,1);const s=a.fromLocalJSDate(h,this._getPrimaryCalendarType());s.setMonth(0,1);return r._isBetween(t,e,i,true)||r._isBetween(s,e,i,true)}const g=t=>{const s=t.getStartDate();if(!s){return false}const n=a.fromLocalJSDate(s,this._getPrimaryCalendarType());s.setMonth(0,1);if(r._isBetween(n,e,i,true)){return true}return false};if(this.getProperty(\"_singleSelection\")){return g(n)}return t.some(g)};s.prototype._getDisplayedSecondaryDates=function(e){var t=this.getSecondaryCalendarType(),r=new a(e,e.getCalendarType()),s=new a(e,e.getCalendarType());r.setMonth(0,1);r=new a(r,t);s.setYear(s.getYear()+this.getRangeSize());s.setMonth(0,1);s.setDate(s.getDate()-1);s=new a(s,t);return{start:r,end:s}};s.prototype.setSecondaryCalendarType=function(e){this.setProperty(\"secondaryCalendarType\",e);if(this._getSecondaryCalendarType()){this.setColumns(2);this.setYears(8);this.setRangeSize(8)}return this};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/YearRangePickerRenderer\", [\"sap/ui/core/Lib\",\"sap/ui/core/Renderer\",\"./YearPickerRenderer\",\"./CalendarDate\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/date/UniversalDate\",\"sap/ui/unified/calendar/CalendarUtils\"],function(e,t,a,r,l,i,n){\"use strict\";var s=t.extend(a);s.apiVersion=2;s.getAccessibilityState=function(){return{role:\"grid\",readonly:\"true\",multiselectable:false,roledescription:e.getResourceBundleFor(\"sap.ui.unified\").getText(\"YEAR_RANGE_PICKER\")}};s.renderCells=function(e,t){var a=t.getProperty(\"_middleDate\")?t.getProperty(\"_middleDate\"):t._getDate(),s=new r(a,t.getPrimaryCalendarType()),o=new r(s,t.getPrimaryCalendarType()),d=n._minDate(t.getProperty(\"primaryCalendarType\")).getYear(),g=n._maxDate(t.getProperty(\"primaryCalendarType\")).getYear(),c,p=\"\",y=\"\",f=\"\",u=t.getId(),m=t.getColumns(),Y=t.getYears(),S=t._getSecondaryCalendarType(),C=t._getLocaleData(),D=C.getIntervalPattern(),_=\"\",T,I,R,U,b;if(t.getColumns()%2!==0){o.setYear(o.getYear()-Math.floor(t.getRangeSize()/2));o.setYear(o.getYear()-Math.floor(Y/2)*t.getRangeSize())}else{o.setYear(o.getYear()-Y/2*t.getRangeSize())}if(o.getYear()<d){o.setYear(d)}else if(o.getYear()>g-Y){o.setYear(g-Math.floor(Y)*t.getRangeSize()+1)}c=new r(o,t.getPrimaryCalendarType());c.setYear(c.getYear()+t.getRangeSize()-1);if(m>0){_=100/m+\"%\"}else{_=100/Y+\"%\"}for(b=0;b<Y;b++){U=t._oFormatYyyymmdd.format(o.toUTCJSDate(),true);R={role:\"gridcell\"};if(m>0&&b%m==0){e.openStart(\"div\");e.accessibilityState(null,{role:\"row\"});e.openEnd()}e.openStart(\"div\",u+\"-y\"+U);e.class(\"sapUiCalItem\");T=t._isYearSelected(o);I=t._isYearInsideSelectionRange(o);if(T){e.class(\"sapUiCalItemSel\");R[\"selected\"]=true}if(I&&!T){e.class(\"sapUiCalItemSelBetween\");R[\"selected\"]=true}if(!T&&!I){R[\"selected\"]=false}if(!t._checkDateEnabled(o,c)){e.class(\"sapUiCalItemDsbl\");R[\"disabled\"]=true}p=t._oYearFormat.format(i.getInstance(o.toUTCJSDate(),o.getCalendarType()),true);y=t._oYearFormat.format(i.getInstance(c.toUTCJSDate(),c.getCalendarType()),true);f=D.replace(/\\{0\\}/,p).replace(/\\{1\\}/,y);R[\"label\"]=f;if(S){var v=t._getDisplayedSecondaryDates(o),P=l.getDateInstance({format:\"y\",calendarType:t.getSecondaryCalendarType()}),x;if(v.start.getYear()===v.end.getYear()){x=P.format(v.start.toUTCJSDate(),true)}else{x=D.replace(/\\{0\\}/,P.format(v.start.toUTCJSDate(),true)).replace(/\\{1\\}/,P.format(v.end.toUTCJSDate(),true))}R[\"label\"]=R[\"label\"]+\" \"+x}e.attr(\"tabindex\",\"-1\");e.attr(\"data-sap-year-start\",U);e.style(\"width\",_);e.accessibilityState(null,R);e.openEnd();if(n._isBetween(t._oDate,o,c,true)){t._iSelectedIndex=b}e.text(f);if(S){e.openStart(\"div\",u+\"-y\"+U+\"-secondary\");e.class(\"sapUiCalItemSecText\");e.openEnd();e.text(x);e.close(\"div\")}e.close(\"div\");if(m>0&&(b+1)%m==0){e.close(\"div\")}o.setYear(c.getYear()+1);c.setYear(c.getYear()+t.getRangeSize())}};return s},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/library\", [\"sap/ui/base/Object\",\"sap/ui/base/DataType\",\"sap/ui/core/Lib\",\"./ColorPickerDisplayMode\",\"./FileUploaderHttpRequestMethod\",\"sap/ui/core/RenderManager\",\"sap/ui/core/library\"],function(e,i,n,a,t,r){\"use strict\";var d=n.init({name:\"sap.ui.unified\",apiVersion:2,version:\"1.139.0\",dependencies:[\"sap.ui.core\"],designtime:\"sap/ui/unified/designtime/library.designtime\",types:[\"sap.ui.unified.CalendarAppointmentVisualization\",\"sap.ui.unified.CalendarDayType\",\"sap.ui.unified.CalendarIntervalType\",\"sap.ui.unifief.CalendarAppointmentHeight\",\"sap.ui.unifief.CalendarAppointmentRoundWidth\",\"sap.ui.unified.ColorPickerDisplayMode\",\"sap.ui.unified.ColorPickerMode\",\"sap.ui.unified.ContentSwitcherAnimation\",\"sap.ui.unified.GroupAppointmentsMode\",\"sap.ui.unified.FileUploaderHttpRequestMethod\",\"sap.ui.unified.StandardCalendarLegendItem\"],interfaces:[\"sap.ui.unified.IMenuItem\",\"sap.ui.unified.IProcessableBlobs\"],controls:[\"sap.ui.unified.calendar.DatesRow\",\"sap.ui.unified.calendar.Header\",\"sap.ui.unified.calendar.Month\",\"sap.ui.unified.calendar.MonthPicker\",\"sap.ui.unified.calendar.MonthsRow\",\"sap.ui.unified.calendar.TimesRow\",\"sap.ui.unified.calendar.YearPicker\",\"sap.ui.unified.calendar.YearRangePicker\",\"sap.ui.unified.Calendar\",\"sap.ui.unified.CalendarDateInterval\",\"sap.ui.unified.CalendarWeekInterval\",\"sap.ui.unified.CalendarMonthInterval\",\"sap.ui.unified.CalendarTimeInterval\",\"sap.ui.unified.CalendarLegend\",\"sap.ui.unified.CalendarRow\",\"sap.ui.unified.ContentSwitcher\",\"sap.ui.unified.ColorPicker\",\"sap.ui.unified.ColorPickerPopover\",\"sap.ui.unified.Currency\",\"sap.ui.unified.FileUploader\",\"sap.ui.unified.Menu\",\"sap.ui.unified.Shell\",\"sap.ui.unified.ShellLayout\",\"sap.ui.unified.ShellOverlay\",\"sap.ui.unified.SplitContainer\"],elements:[\"sap.ui.unified.CalendarAppointment\",\"sap.ui.unified.CalendarLegendItem\",\"sap.ui.unified.DateRange\",\"sap.ui.unified.DateTypeRange\",\"sap.ui.unified.FileUploaderParameter\",\"sap.ui.unified.FileUploaderXHRSettings\",\"sap.ui.unified.MenuItem\",\"sap.ui.unified.MenuItemBase\",\"sap.ui.unified.MenuItemGroup\",\"sap.ui.unified.MenuTextFieldItem\",\"sap.ui.unified.NonWorkingPeriod\",\"sap.ui.unified.RecurringNonWorkingPeriod\",\"sap.ui.unified.ShellHeadItem\",\"sap.ui.unified.ShellHeadUserItem\",\"sap.ui.unified.TimeRange\"],extensions:{\"sap.ui.support\":{publicRules:true}}});d.CalendarDayType={None:\"None\",NonWorking:\"NonWorking\",Working:\"Working\",Type01:\"Type01\",Type02:\"Type02\",Type03:\"Type03\",Type04:\"Type04\",Type05:\"Type05\",Type06:\"Type06\",Type07:\"Type07\",Type08:\"Type08\",Type09:\"Type09\",Type10:\"Type10\",Type11:\"Type11\",Type12:\"Type12\",Type13:\"Type13\",Type14:\"Type14\",Type15:\"Type15\",Type16:\"Type16\",Type17:\"Type17\",Type18:\"Type18\",Type19:\"Type19\",Type20:\"Type20\"};i.registerEnum(\"sap.ui.unified.CalendarDayType\",d.CalendarDayType);d.StandardCalendarLegendItem={Today:\"Today\",WorkingDay:\"WorkingDay\",NonWorkingDay:\"NonWorkingDay\",Selected:\"Selected\"};i.registerEnum(\"sap.ui.unified.StandardCalendarLegendItem\",d.StandardCalendarLegendItem);d.CalendarIntervalType={Hour:\"Hour\",Day:\"Day\",Month:\"Month\",Week:\"Week\",OneMonth:\"One Month\"};i.registerEnum(\"sap.ui.unified.CalendarIntervalType\",d.CalendarIntervalType);d.RecurrenceType={Daily:\"Daily\",Weekly:\"Weekly\",Monthly:\"Monthly\",Yearly:\"Yearly\"};i.registerEnum(\"sap.ui.unified.RecurrenceType\",d.RecurrenceType);d.CalendarAppointmentHeight={HalfSize:\"HalfSize\",Regular:\"Regular\",Large:\"Large\",Automatic:\"Automatic\"};i.registerEnum(\"sap.ui.unified.CalendarAppointmentHeight\",d.CalendarAppointmentHeight);d.CalendarAppointmentRoundWidth={HalfColumn:\"HalfColumn\",None:\"None\"};i.registerEnum(\"sap.ui.unified.CalendarAppointmentRoundWidth\",d.CalendarAppointmentRoundWidth);d.GroupAppointmentsMode={Collapsed:\"Collapsed\",Expanded:\"Expanded\"};i.registerEnum(\"sap.ui.unified.GroupAppointmentsMode\",d.GroupAppointmentsMode);d.FileUploaderHttpRequestMethod=t;d.CalendarAppointmentVisualization={Standard:\"Standard\",Filled:\"Filled\"};i.registerEnum(\"sap.ui.unified.CalendarAppointmentVisualization\",d.CalendarAppointmentVisualization);d.ContentSwitcherAnimation={None:\"None\",Fade:\"Fade\",ZoomIn:\"ZoomIn\",ZoomOut:\"ZoomOut\",Rotate:\"Rotate\",SlideRight:\"SlideRight\",SlideOver:\"SlideOver\"};i.registerEnum(\"sap.ui.unified.ContentSwitcherAnimation\",d.ContentSwitcherAnimation);d.ColorPickerMode={HSV:\"HSV\",HSL:\"HSL\"};i.registerEnum(\"sap.ui.unified.ColorPickerMode\",d.ColorPickerMode);d.ColorPickerDisplayMode=a;d._ContentRenderer=e.extend(\"sap.ui.unified._ContentRenderer\",{constructor:function(i,n,a,t){e.apply(this);this._id=n;this._cntnt=a;this._ctrl=i;this._rm=(new r).getInterface();this._cb=t||function(){}},destroy:function(){this._rm.destroy();delete this._rm;delete this._id;delete this._cntnt;delete this._cb;delete this._ctrl;if(this._rerenderTimer){clearTimeout(this._rerenderTimer);delete this._rerenderTimer}e.prototype.destroy.apply(this,arguments)},render:function(){if(!this._rm){return}if(this._rerenderTimer){clearTimeout(this._rerenderTimer)}this._rerenderTimer=setTimeout(function(){var e=document.getElementById(this._id);if(e){if(typeof this._cntnt===\"string\"){var i=this._ctrl.getAggregation(this._cntnt,[]);for(var n=0;n<i.length;n++){this._rm.renderControl(i[n])}}else{this._cntnt(this._rm)}this._rm.flush(e)}this._cb(!!e)}.bind(this),0)}});d._iNumberOfOpenedShellOverlays=0;d.calendar=d.calendar||{};return d});\nsap.ui.require.preload({\n\t\"sap/ui/unified/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"id\":\"sap.ui.unified\",\"type\":\"library\",\"embeds\":[],\"applicationVersion\":{\"version\":\"1.139.0\"},\"title\":\"Unified controls intended for both, mobile and desktop scenarios\",\"description\":\"Unified controls intended for both, mobile and desktop scenarios\",\"ach\":\"CA-UI5-CTR\",\"resources\":\"resources.json\",\"offline\":true},\"sap.ui\":{\"technology\":\"UI5\",\"supportedThemes\":[\"base\",\"sap_hcb\"]},\"sap.ui5\":{\"dependencies\":{\"minUI5Version\":\"1.139\",\"libs\":{\"sap.ui.core\":{\"minVersion\":\"1.139.0\"}}},\"library\":{\"i18n\":{\"bundleUrl\":\"messagebundle.properties\",\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-sappsd\",\"en-US-saprigi\",\"en-US-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]},\"content\":{\"controls\":[\"sap.ui.unified.calendar.DatesRow\",\"sap.ui.unified.calendar.Header\",\"sap.ui.unified.calendar.Month\",\"sap.ui.unified.calendar.MonthPicker\",\"sap.ui.unified.calendar.MonthsRow\",\"sap.ui.unified.calendar.TimesRow\",\"sap.ui.unified.calendar.YearPicker\",\"sap.ui.unified.calendar.YearRangePicker\",\"sap.ui.unified.Calendar\",\"sap.ui.unified.CalendarDateInterval\",\"sap.ui.unified.CalendarWeekInterval\",\"sap.ui.unified.CalendarMonthInterval\",\"sap.ui.unified.CalendarTimeInterval\",\"sap.ui.unified.CalendarLegend\",\"sap.ui.unified.CalendarRow\",\"sap.ui.unified.ContentSwitcher\",\"sap.ui.unified.ColorPicker\",\"sap.ui.unified.ColorPickerPopover\",\"sap.ui.unified.Currency\",\"sap.ui.unified.FileUploader\",\"sap.ui.unified.Menu\",\"sap.ui.unified.Shell\",\"sap.ui.unified.ShellLayout\",\"sap.ui.unified.ShellOverlay\",\"sap.ui.unified.SplitContainer\"],\"elements\":[\"sap.ui.unified.CalendarAppointment\",\"sap.ui.unified.CalendarLegendItem\",\"sap.ui.unified.DateRange\",\"sap.ui.unified.DateTypeRange\",\"sap.ui.unified.FileUploaderParameter\",\"sap.ui.unified.FileUploaderXHRSettings\",\"sap.ui.unified.MenuItem\",\"sap.ui.unified.MenuItemBase\",\"sap.ui.unified.MenuItemGroup\",\"sap.ui.unified.MenuTextFieldItem\",\"sap.ui.unified.NonWorkingPeriod\",\"sap.ui.unified.RecurringNonWorkingPeriod\",\"sap.ui.unified.ShellHeadItem\",\"sap.ui.unified.ShellHeadUserItem\",\"sap.ui.unified.TimeRange\"],\"types\":[\"sap.ui.unified.CalendarAppointmentVisualization\",\"sap.ui.unified.CalendarDayType\",\"sap.ui.unified.CalendarIntervalType\",\"sap.ui.unifief.CalendarAppointmentHeight\",\"sap.ui.unifief.CalendarAppointmentRoundWidth\",\"sap.ui.unified.ColorPickerDisplayMode\",\"sap.ui.unified.ColorPickerMode\",\"sap.ui.unified.ContentSwitcherAnimation\",\"sap.ui.unified.GroupAppointmentsMode\",\"sap.ui.unified.FileUploaderHttpRequestMethod\",\"sap.ui.unified.StandardCalendarLegendItem\"],\"interfaces\":[\"sap.ui.unified.IMenuItem\",\"sap.ui.unified.IProcessableBlobs\"]}}}}'\n});\n//# sourceMappingURL=library-preload.js.map\n" Copyright 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/analytics/AnalyticalTreeBindingAdapter\", [\"./AnalyticalBinding\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/each\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/TreeAutoExpandMode\",\"sap/ui/model/TreeBinding\",\"sap/ui/model/TreeBindingAdapter\",\"sap/ui/model/odata/ODataTreeBindingAdapter\"],function(e,t,o,n,a,i,r,s,d){\"use strict\";var l=function(){if(!(this instanceof r)||this._bIsAdapted){return}d.apply(this);for(var e in l.prototype){if(l.prototype.hasOwnProperty(e)){this[e]=l.prototype[e]}}this.setAutoExpandMode(this.mParameters.autoExpandMode||i.Bundled)},u=\"sap.ui.model.analytics.AnalyticalTreeBindingAdapter\";l.prototype.getGrandTotalContext=function(){return this._oRootNode&&this._oRootNode.context};l.prototype.getGrandTotalNode=function(){return this._oRootNode};l.prototype.getGrandTotalContextInfo=function(){return this._oRootNode};l.prototype.getLength=function(){if(!this._oRootNode){return 0}return this._oRootNode.magnitude+this._oRootNode.numberOfTotals+(this._oWatermark?1:0)};l.prototype.getContextByIndex=function(e){if(this._oRootNode&&e===this.getLength()-1&&this.providesGrandTotal()&&this.hasTotaledMeasures()){return this._oRootNode.context}var t=this.findNode(e);if(!t||!t.context){t={context:this.getContexts(e,1,0)[0]}}return t?t.context:undefined};l.prototype.getNodeByIndex=function(e){if(e===this.getLength()-1&&this.providesGrandTotal()&&this.hasTotaledMeasures()){return this._oRootNode}if(e>=this.getLength()){return undefined}return this.findNode(e)};l.prototype._isNodeSelectable=function(e){if(!e){return false}return e.isLeaf&&!e.isArtificial};l.prototype._getContextsOrNodes=function(e,t,o,a){var i,r,s,d,l=[],u=[],h=this;if(!this.isResolved()){return u}t=t||0;o=o||this.oModel.iSizeLimit;a=a||0;this._iPageSize=o;this._iThreshold=Math.max(this._iThreshold,a);this._aRowIndexMap=[];this._buildTree(t,o);if(this._oRootNode){u=this._retrieveNodeSection(this._oRootNode,t,o)}this._updateRowIndexMap(u,t);if(this._oWatermark){for(i=0;i<u.length;i+=1){if(u[i].absoluteNodeIndex>this._oWatermark.lastWatermarkNodeIndex){u.length=i+1;break}}if(u.length<o){this._autoExpandPaging()}}for(i=0;i<u.length;i++){s=u[i];if(!s.context){r=r||{};d=s.parent;r[d.groupID]=d;this._updateNodeSections(d.groupID,{startIndex:s.positionInParent,length:1})}l.push(s.context)}if(r){n(r,function(e,t){t.magnitude=0;t.numberOfTotals=0;h._loadChildContexts(t,{absoluteNodeIndex:t.absoluteNodeIndex})});l=[];for(i=0;i<u.length;i+=1){s=u[i];l.push(s.context)}}if(e){return u}else{return l}};l.prototype._autoExpandPaging=function(){t(this._oWatermark,\"No watermark was set!\");t(this._isRunningInAutoExpand(i.Bundled),\"Optimised AutoExpand Paging can only be used with TreeAutoExpandMode.Bundled!\");var e=this.getNodeContexts(this._oWatermark.context,{startIndex:this._oWatermark.startIndex,length:this._iPageSize,threshold:this._iThreshold,level:this._oWatermark.level,numberOfExpandedLevels:this._oWatermark.autoExpand});return e};l.prototype._afterMatchHook=function(e,t,o,n,a,i){if(e.sumNode&&e!==this._oRootNode){if(t.length===o){return true}var r=n.call(this,e.sumNode,e.sumNode.positionInParent,i);if(r){t.push(e.sumNode)}}return undefined};l.prototype._afterMapHook=function(e,t){if(e.sumNode&&e!==this._oRootNode){t.call(this,e.sumNode)}};l.prototype._createSumNode=function(e){var t;if(this.bProvideGrandTotals&&!this.mParameters.sumOnTop&&this.hasTotaledMeasures()&&e.children.length>1){t=this._createNode({parent:e.parent,positionInParent:e.children.length,context:e.context,level:e.level});t.nodeState=this._createNodeState({groupID:t.groupID,sum:true,expanded:false})}return t};l.prototype._buildTree=function(e,t){this._oRootNode=undefined;this._oWatermark=undefined;var n=this.mParameters&&this.getNumberOfExpandedLevels();var a=this.getRootContexts({startIndex:0,length:this._iPageSize,threshold:this._iThreshold,numberOfExpandedLevels:this._autoExpandMode===i.Bundled?n:undefined});var r;if(a==null){o.warning(\"AnalyticalTreeBindingAdapter: No Dimensions given. An artificial rootContext has be created. Please check your Table/Service definition for dimension columns!\")}else{r=a[0]}if(!r){return}var s=this._getNodeState(\"/\");if(!s){s=this._updateTreeState({groupID:\"/\",expanded:true,sum:true});this._updateNodeSections(\"/\",{startIndex:0,length:t})}this._oRootNode=this._createNode({context:r,parent:null,level:0,nodeState:s,isLeaf:false,autoExpand:n,absoluteNodeIndex:-1});this._oRootNode.isArtificial=true;this._loadChildContexts(this._oRootNode,{absoluteNodeIndex:-1})};l.prototype._loadChildContexts=function(e,t){var n=e.nodeState;const a=this._isRunningInAutoExpand(i.Bundled);var r=this.getGroupSize(e.context,e.level);if(r>=0){if(!e.children[r-1]){e.children[r-1]=undefined}if(e.level===this.aAggregationLevel.length){n.leafCount=r}e.sumNode=this._createSumNode(e)}for(var s=0;s<n.sections.length;s++){var d=n.sections[s];if(d.startIndex>e.children.length){continue}var l;if(r===-1){l=d.length}else{l=Math.min(d.length,r-d.startIndex)}var h=false;if(e.autoExpand>=0&&a){h=true;l=Math.max(0,r)}var p=this.getNodeContexts(e.context,{startIndex:d.startIndex,length:l,threshold:h?0:this._iThreshold,level:e.level,supressRequest:h});for(var f=0;f<p.length;f++){var g=p[f];var c=f+d.startIndex;var x=e.children[c];var m={context:p[f],parent:e,level:e.level+1,positionInParent:c,autoExpand:Math.max(e.autoExpand-1,-1),absoluteNodeIndex:++t.absoluteNodeIndex};if(x){x.context=m.context;x.parent=m.parent;x.level=m.level;x.positionInParent=m.positionInParent;x.magnitude=0;x.numberOfTotals=0;x.totalNumberOfLeafs=0;x.autoExpand=m.autoExpand;x.absoluteNodeIndex=m.absoluteNodeIndex;var _;if(g){_=this._calculateGroupID(x)}x.groupID=_}else{x=this._createNode(m)}x.nodeState=this._getNodeState(x.groupID);if(!x.nodeState){x.nodeState=this._createNodeState({groupID:x.groupID,expanded:false})}x.nodeState.parentGroupID=e.groupID;x.isLeaf=!this.nodeHasChildren(x);e.children[c]=x;if(x.isLeaf){e.numberOfLeafs+=1}if(x.parent.nodeState.selectAllMode&&!this._mTreeState.deselected[x.groupID]&&x.isLeaf){this.setNodeSelection(x.nodeState,true)}if((x.autoExpand>=0||x.nodeState.expanded)&&this.isGrouped()){if(!this._mTreeState.collapsed[x.groupID]){if(x.autoExpand>=0&&x.parent.nodeState.selectAllMode&&!this._mTreeState.deselected[x.groupID]){if(x.nodeState.selectAllMode===undefined){x.nodeState.selectAllMode=true}}this._updateTreeState({groupID:x.nodeState.groupID,fallbackNodeState:x.nodeState,expanded:true});this._loadChildContexts(x,t)}e.magnitude+=x.magnitude;e.numberOfTotals+=x.numberOfTotals;e.numberOfLeafs+=x.numberOfLeafs}if(x&&x.isLeaf){e.totalNumberOfLeafs=r}else{e.totalNumberOfLeafs+=x.totalNumberOfLeafs}}}r=a?e.children.length:r;e.magnitude+=Math.max(r||0,0);if(!r&&!a){o.warning(\"AnalyticalTreeBindingAdapter: iMaxGroupSize(\"+r+\") is undefined for node '\"+e.groupID+\"'!\")}if(e.sumNode||e===this._oRootNode&&this.providesGrandTotal()&&this.hasTotaledMeasures()){e.numberOfTotals+=1}if(a&&e.autoExpand!=-1){if(!this._oWatermark&&!e.isLeaf&&!this.mFinalLength[e.groupID]){const t=this._getIndexBeforeFirstMissingNode(e);let n=e.children.length;let a=\"WATERMARK: at '\"+e.groupID+\"' (\"+e.absoluteNodeIndex+\") and start index \"+n+\" with last complete node index \"+t;if(n===0){n=e.positionInParent;e=e.parent;a+=\" --\\x3e moved to '\"+e.groupID+\"' (\"+e.absoluteNodeIndex+\") and start index \"+n}this._oWatermark={groupID:e.groupID,context:e.context,absoluteNodeIndex:e.absoluteNodeIndex,startIndex:n,level:e.level,autoExpand:e.autoExpand,lastWatermarkNodeIndex:t};o.debug(a,undefined,u)}}};l.prototype._getIndexBeforeFirstMissingNode=function(e){let t=e.absoluteNodeIndex;e.children.some(e=>{t=e.isLeaf?e.absoluteNodeIndex:this._getIndexBeforeFirstMissingNode(e);return!e.isLeaf&&!this.mFinalLength[e.groupID]});return t};l.prototype._calculateGroupID=function(e){var o;var n=this.aAggregationLevel.length;if(!this.isGrouped()&&e&&e.positionInParent){o=\"/\"+e.positionInParent+\"/\"}else if(e.level>n){o=this._getGroupIdFromContext(e.context,n);t(e.positionInParent!=undefined,\"If the node level is greater than the number of grouped columns, the position of the node to its parent must be defined!\");o+=e.positionInParent+\"/\"}else{o=this._getGroupIdFromContext(e.context,e.level)}return o};l.prototype.collapse=function(e){var o,r;if(typeof e===\"object\"){o=e}else if(typeof e===\"number\"){r=this.findNode(e);t(r&&r.nodeState,\"AnalyticalTreeBindingAdapter.collapse(\"+e+\"): No node found!\");if(!r){return}o=r.nodeState}this._updateTreeState({groupID:o.groupID,expanded:false});o.selectAllMode=false;var s=false;if(this.bCollapseRecursive||this._isRunningInAutoExpand(i.Bundled)){var d=o.groupID;if(this._isRunningInAutoExpand(i.Bundled)&&this._oWatermark&&(typeof d==\"string\"&&d.length>0&&this._oWatermark.groupID.startsWith(d))){if(r&&r.parent){const e=r.parent.children[r.positionInParent+1];this._oWatermark={groupID:r.parent.groupID,context:r.parent.context,absoluteNodeIndex:r.parent.absoluteNodeIndex,startIndex:r.positionInParent+1,level:r.parent.level,autoExpand:r.parent.autoExpand,lastWatermarkNodeIndex:this._getIndexBeforeFirstMissingNode(e??r)}}this._autoExpandPaging();s=true}var l=this;n(this._mTreeState.expanded,function(e,t){if(typeof d==\"string\"&&d.length>0&&e.startsWith(d)){l._updateTreeState({groupID:e,expanded:false})}});var u=[];n(this._mTreeState.selected,function(e,t){if(typeof d==\"string\"&&d.length>0&&e.startsWith(d)){t.selectAllMode=false;l.setNodeSelection(t,false);u.push(e)}});if(u.length){var h={rowIndices:[]};var p=0;this._map(this._oRootNode,function(e){if(!e||!e.isArtificial){p++}if(e&&u.indexOf(e.groupID)!==-1){if(e.groupID===this._sLeadSelectionGroupID){h.oldIndex=p;h.leadIndex=-1}h.rowIndices.push(p)}});this._publishSelectionChanges(h)}}if(!s){this._fireChange({reason:a.Collapse})}};l.prototype.collapseToLevel=function(e){this.setNumberOfExpandedLevels(e,true);s.prototype.collapseToLevel.call(this,e)};l.prototype.nodeHasChildren=function(o){t(o,\"AnalyticalTreeBindingAdapter.nodeHasChildren: No node given!\");if(!o||!o.parent||o.nodeState.sum){return false}else if(o.isArtificial){return true}else{return e.prototype.hasChildren.call(this,o.context,{level:o.level})}};l.prototype.resetData=function(t,o){var n=e.prototype.resetData.call(this,t,o);this._aRowIndexMap=[];this._oRootNode=undefined;this._oWatermark=undefined;this._iPageSize=0;this._iThreshold=0;if(!o||o.reason!==a.Sort){this.clearSelection();this._createTreeState(true)}return n};l.prototype.hasTotaledMeasures=function(){var e=false;n(this.getMeasureDetails()||[],function(t,o){if(o.analyticalInfo.total){e=true;return false}return true});return e};l.prototype.isGrouped=function(){return this.aAggregationLevel.length>0};l.prototype._isRunningInAutoExpand=function(e){if(this.getNumberOfExpandedLevels()>0&&this._autoExpandMode===e){return true}else{return false}};l.prototype.setNumberOfExpandedLevels=function(e,t){var n;e=e||0;if(e<0){o.warning(\"Number of expanded levels was set to 0. Negative values are prohibited\",this,u);e=0}n=this.aAggregationLevel.length;if(e>n){o.warning(\"Number of expanded levels was reduced from \"+e+\" to \"+n+\" which is the number of grouped dimensions\",this,u);e=n}if(!t){this.resetData()}this.mParameters.numberOfExpandedLevels=e};l.prototype.getNumberOfExpandedLevels=function(){return this.mParameters.numberOfExpandedLevels};l.prototype._getSelectableNodesCount=function(e){if(e){return e.totalNumberOfLeafs}else{return 0}};return l},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/analytics/AnalyticalVersionInfo\", [\"sap/base/Log\"],function(a){\"use strict\";var e={NONE:null,V1:1,V2:2,getVersion:function(e){var t;var i;if(e&&e.getMetadata){i=e.getMetadata().getName()}switch(i){case\"sap.ui.model.odata.ODataModel\":t=this.V1;break;case\"sap.ui.model.odata.v2.ODataModel\":t=this.V2;break;default:t=this.NONE;a.info(\"AnalyticalVersionInfo.getVersion(...) - The given object is no\"+\" instance of ODataModel V1 or V2!\");break}return t}};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/analytics/BatchResponseCollector\", function(){\"use strict\";function e(e){if(e){this.setup(e)}}e.TYPE_SUCCESS=\"success\";e.TYPE_ERROR=\"error\";e.prototype.setup=function(e){this.iRequestCollectionCount=0;this.aCollectedSuccesses=[];this.aCollectedErrors=[];this.aExecutedRequestDetails=e.executedRequests;this.oAnalyticalBinding=e.binding;this.fnSuccessHandler=e.success;this.fnErrorHandler=e.error};e.prototype.success=function(t){this.collect(t,e.TYPE_SUCCESS)};e.prototype.error=function(t){this.collect(t,e.TYPE_ERROR)};e.prototype.collect=function(t,s){this.iRequestCollectionCount++;if(s===e.TYPE_SUCCESS){this.aCollectedSuccesses.push(t)}else{this.aCollectedErrors.push(t)}var c=this.aCollectedSuccesses.length+this.aCollectedErrors.length;if(c===this.aExecutedRequestDetails.length){if(this.aCollectedSuccesses.length===c&&this.aCollectedErrors.length===0){this.fnSuccessHandler.call(window,{__batchResponses:this.aCollectedSuccesses},{requestUri:this.oAnalyticalBinding.oModel.sServiceUrl+\"/$batch\"})}else{this.fnErrorHandler.call(window,this.aCollectedErrors[0]||{})}}};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/analytics/ODataModelAdapter\", [\"./AnalyticalBinding\",\"./AnalyticalTreeBindingAdapter\",\"./odata4analytics\",\"sap/base/Log\"],function(t,e,n,a){\"use strict\";var i=function(){const e=t._getModelVersion(this);if(e===null||this.getAnalyticalExtensions){return}this._mPreadapterFunctions={bindList:this.bindList,bindTree:this.bindTree};for(var n in i.prototype){if(i.prototype.hasOwnProperty(n)){this[n]=i.prototype[n]}}if(e===1&&this.isCountSupported()){a.info(\"ODataModelAdapter: switched ODataModel to use inlinecount (mandatory for the AnalyticalBinding)\");this.setCountSupported(false)}};i.prototype.bindList=function(n,a,i,o,s){if(s&&s.analyticalInfo){var r=new t(this,n,a,i,o,s);e.apply(r);return r}else{return this._mPreadapterFunctions.bindList.apply(this,arguments)}};i.prototype.bindTree=function(e,n,a,i){if(i&&i.analyticalInfo){var o=new t(this,e,n,[],a,i);return o}else{return this._mPreadapterFunctions.bindTree.apply(this,arguments)}};i.prototype.getAnalyticalExtensions=function(){if(this.oOData4SAPAnalyticsModel!=undefined&&this.oOData4SAPAnalyticsModel!=null){return this.oOData4SAPAnalyticsModel}const e=t._getModelVersion(this);if(e===2&&!(this.oMetadata&&this.oMetadata.isLoaded())){throw new Error(\"Failed to get the analytical extensions. The metadata have not been loaded by the model\"+\" yet. Register for the 'metadataLoaded' event of the ODataModel(v2) to know when the analytical\"+\" extensions can be retrieved.\")}try{this.oOData4SAPAnalyticsModel=new n.Model(new n.Model.ReferenceByModel(this))}catch(t){throw new Error(\"Failed to instantiate analytical extensions for given OData model: \"+(t.message||t))}return this.oOData4SAPAnalyticsModel};i.prototype.setAnalyticalExtensions=function(t){this.oOData4SAPAnalyticsModel=t};return i},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/analytics/odata4analytics\", [\"sap/base/security/encodeURL\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/Sorter\",\"sap/ui/model/odata/ODataUtils\"],function(e,t,r,i,n){\"use strict\";var o=o||{},a=/^\\d+$/;o.constants={};o.constants[\"SAP_NAMESPACE\"]=\"http://www.sap.com/Protocols/SAPData\";o.constants[\"VERSION\"]=\"0.7\";o.helper={deepEqual:function(e,t,r){var i,n,o=0,a,s;if(!e||e.length!==t.length){return 2}if(e!==t){for(a=0,s=e.length;a<s;a+=1){n=e[a];i=t[a];if(n.grouped!==i.grouped||n.inResult!==i.inResult||n.level!==i.level||n.name!==i.name||n.total!==i.total||n.visible!==i.visible){return 2}if(n.formatter!==i.formatter){o=1;if(r){r(i)}}}}return o},tokenizeNametoLabelText:function(e){var t=\"\";t=e.replace(/^P_(.*)/,\"$1\");t=t.replace(/([^A-Z0-9_]+)([A-Z0-9_])/g,\"$1 $2\");t=t.replace(/([A-Z0-9_]{2,})([A-Z0-9_])([^A-Z0-9_]+)/g,\"$1 $2$3\");t=t.replace(/(.*) _E$/,\"$1\");t=t.replace(/(.*) _(.*)/g,\"$1 $2\");return t}};o.Model=function(e,t){this._init(e,t)};o.Model.ReferenceByURI=function(e){return{sServiceURI:e}};o.Model.ReferenceByModel=function(e){return{oModel:e}};o.Model.ReferenceWithWorkaround=function(e,t){return{oModelReference:e,aWorkaroundID:t}};o.Model.prototype={_init:function(e,t){var r,i=this;if(typeof t==\"string\"){throw\"Deprecated second argument: Adjust your invocation by passing an object with a property sAnnotationJSONDoc as a second argument i Copyright 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarRowRenderer\", [\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/core/date/UniversalDate\",\"sap/ui/unified/CalendarAppointment\",\"sap/ui/unified/CalendarLegendRenderer\",\"sap/ui/Device\",\"sap/ui/unified/library\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/date/UI5Date\",\"sap/ui/unified/calendar/RecurrenceUtils\",\"sap/base/Log\",\"sap/ui/core/IconPool\"],function(e,t,a,n,i,r,s,o,l,p,d){\"use strict\";var g=s.CalendarDayType;var c=s.CalendarIntervalType;var v=s.CalendarAppointmentVisualization;var f=s.CalendarAppointmentHeight;var u={apiVersion:2};u.render=function(e,t){var a=t.getTooltip_AsString();var n=t.getAppointmentsVisualization();var i=this.getLegendItems(t);e.openStart(\"div\",t);e.class(\"sapUiCalendarRow\");if(!r.system.phone&&t.getAppointmentsReducedHeight()){e.class(\"sapUiCalendarRowAppsRedHeight\")}if(n!=v.Standard){e.class(\"sapUiCalendarRowVis\"+n)}if(a){e.attr(\"title\",a)}var s=t.getWidth();if(s){e.style(\"width\",s)}var o=t.getHeight();if(o){e.style(\"height\",o)}e.openEnd();this.renderAppointmentsRow(e,t,i);e.close(\"div\")};u.renderAppointmentsRow=function(e,t,a){var n=t.getId();e.openStart(\"div\",n+\"-Apps\");e.class(\"sapUiCalendarRowApps\");e.attr(\"role\",\"list\");e.openEnd();this.renderBeforeAppointments(e,t);this.renderAppointments(e,t,a);this.renderAfterAppointments(e,t);e.close(\"div\")};u.renderBeforeAppointments=function(e,t){};u.renderAfterAppointments=function(e,t){};u.renderResizeHandle=function(e,t,a){};u.renderAppointments=function(e,t,n){var i=t._getVisibleAppointments();var r=t._getVisibleIntervalHeaders();var s=t._getStartDate();var o=[];var l=0;var p=0;var d=[];var g=0;var v=0;var f=t.getIntervals();var u=t.getIntervalType();var A=100/f;var C=0;var I=new a(s);var T=false;var h=false;switch(u){case c.Hour:o=t.getNonWorkingHours()||[];l=s.getUTCHours();p=24;break;case c.Day:case c.Week:case c.OneMonth:case\"OneMonth\":o=t._getNonWorkingDays();l=s.getUTCDay();p=7;d=t.getNonWorkingHours()||[];g=s.getUTCHours();v=24;break;case c.Month:d=t._getNonWorkingDays();g=s.getUTCDay();v=7;break;default:break}if(t._isOneMonthsRowOnSmallSizes()){this.renderSingleDayInterval(e,t,i,n,r,o,l,p,d,g,v,true,true)}else{for(C=0;C<f;C++){if(h){T=true}else{T=false}h=false;switch(u){case c.Hour:I.setUTCHours(I.getUTCHours()+1);if(I.getUTCHours()==0){h=true}break;case c.Day:case c.Week:case c.OneMonth:case\"OneMonth\":I.setUTCDate(I.getUTCDate()+1);if(I.getUTCDate()==1){h=true}break;case c.Month:g=I.getUTCDay();I.setUTCMonth(I.getUTCMonth()+1);if(I.getUTCMonth()==0){h=true}break;default:break}this.renderInterval(e,t,C,A,r,o,l,p,d,g,v,T,h)}this.renderIntervalHeaders(e,t,A,r,f);if(!(t._getRelativeInfo&&t._getRelativeInfo().bIsRelative)){e.openStart(\"div\",t.getId()+\"-Now\");e.class(\"sapUiCalendarRowNow\");e.openEnd();e.close(\"div\")}for(C=0;C<i.length;C++){var m=i[C];this.renderAppointment(e,t,m,n)}e.openStart(\"div\",t.getId()+\"-DummyApp\");e.class(\"sapUiCalendarApp\");e.class(\"sapUiCalendarAppTitleOnly\");e.class(\"sapUiCalendarAppDummy\");e.class(\"sapUiCalendarAppHeight1\");e.openEnd();e.close(\"div\")}};u.writeCustomAttributes=function(e,t){};u.renderInterval=function(e,t,n,i,r,s,o,d,g,v,f,u,A){const C=t.getStartDate();const I=l.getInstance(C);I.setHours(n+o,0,0,0);var T=t.getId()+\"-AppsInt\"+n;var h;var m=t.getShowIntervalHeaders()&&(t.getShowEmptyIntervalHeaders()||r.length>0);var U=t.getStartDate().getMonth();var S=l.getInstance(t.getStartDate().getFullYear(),U+1,0).getDate();const R=t.getIntervalType()!==c.Hour?[]:t.getNonWorkingPeriods().filter(e=>{if(!e.isRecurring()){return e.hasNonWorkingAtDate(C)}const t=p.hasOccurrenceOnDate.bind(e);return t(C)});const y=R.filter(e=>e.hasNonWorkingAtHour(I));e.openStart(\"div\",T);e.class(\"sapUiCalendarRowAppsInt\");e.style(\"position\",\"relative\");e.style(\"width\",i+\"%\");if(n>=S&&(t.getIntervalType()===c.OneMonth||t.getIntervalType()===\"OneMonth\")){e.class(\"sapUiCalItemOtherMonth\")}if(t._isNonWorkingInterval(n,s,o,d)){e.class(\"sapUiCalendarRowAppsNoWork\")}if(!m){e.class(\"sapUiCalendarRowAppsIntNoHead\")}if(u){e.class(\"sapUiCalendarRowAppsIntFirst\")}if(A){e.class(\"sapUiCalendarRowAppsIntLast\")}this.writeCustomAttributes(e,t);e.openEnd();if(y.length){e.openStart(\"div\");e.class(\"sapUiCalendarRowAppsIntNoWork\");e.openEnd();p.getWorkingAndNonWorkingSegments(I,y).forEach(t=>{if(t.type===\"working\"){this.renderWorkingParts(e,t.duration)}else{this.renderNonWorkingParts(e,t.duration)}});e.close(\"div\")}if(m){e.openStart(\"div\");e.class(\"sapUiCalendarRowAppsIntHead\");e.openEnd();e.close(\"div\")}if(t.getShowSubIntervals()){var b=t.getIntervalType();var w=0;switch(b){case c.Hour:w=4;break;case c.Day:case c.Week:case c.OneMonth:case\"OneMonth\":w=24;break;case c.Month:var E=t._getStartDate();var D=new a(E);D.setUTCMonth(D.getUTCMonth()+n+1,0);w=D.getUTCDate();D.setUTCDate(1);o=D.getUTCDay();break;default:break}var _=100/w;for(h=0;h<w;h++){e.openStart(\"div\");e.class(\"sapUiCalendarRowAppsSubInt\");e.style(\"width\",_+\"%\");if(t._isNonWorkingInterval(h,g,v,f)){e.class(\"sapUiCalendarRowAppsNoWork\")}e.openEnd();e.close(\"div\")}}e.close(\"div\")};u.renderIntervalHeaders=function(e,t,a,n,i){var r=t.getShowIntervalHeaders()&&(t.getShowEmptyIntervalHeaders()||n.length>0);if(r){for(var s=0;s<n.length;s++){var o=n[s],l,p;if(t._bRTL){p=a*o.interval;l=a*(i-o.last-1)}else{l=a*o.interval;p=a*(i-o.last-1)}this.renderIntervalHeader(e,t,o,t._bRTL,l,p)}}};u.renderIntervalHeader=function(e,t,a,n,i,r){var s=a.appointment.getId(),o={role:\"listitem\",labelledby:{value:s+\"-Descr\",append:true}},l;var p=t._calculateAppoitnmentVisualCue(a.appointment);e.openStart(\"div\",a.appointment);e.class(\"sapUiCalendarRowAppsIntHead\");if(i!==undefined){e.style(\"left\",i+\"%\")}if(r!==undefined){e.style(\"right\",r+\"%\")}e.class(\"sapUiCalendarRowAppsIntHeadFirst\");var d=a.appointment.getSelected();if(d){e.class(\"sapUiCalendarRowAppsIntHeadSel\")}if(a.appointment.getTentative()){e.class(\"sapUiCalendarRowAppsIntHeadTent\")}var c=a.appointment.getTooltip_AsString();if(c){e.attr(\"title\",c)}var v=a.appointment.getType();var f=a.appointment.getColor();if(!f&&v&&v!=g.None){e.class(\"sapUiCalendarRowAppsIntHead\"+v)}if(f){if(n){e.style(\"border-right-color\",f)}else{e.style(\"border-left-color\",f)}}e.accessibilityState(a.appointment,o);e.openEnd();e.openStart(\"div\");e.class(\"sapUiCalendarIntervalHeaderCont\");if(!d&&f){e.style(\"background-color\",a.appointment._getCSSColorForBackground(f))}e.openEnd();if(p.appTimeUnitsDifRowStart>0){e.icon(\"sap-icon://arrow-left\",[\"sapUiCalendarAppArrowIconLeft\"],{title:null,role:\"img\"})}var u=a.appointment.getIcon();if(u){var A=[\"sapUiCalendarRowAppsIntHeadIcon\"];var C={};C[\"id\"]=s+\"-Icon\";C[\"title\"]=null;C[\"alt\"]=null;C[\"role\"]=\"presentation\";e.icon(u,A,C)}var I=a.appointment.getTitle();if(I&&!a.appointment.getCustomContent().length){e.openStart(\"span\",s+\"-Title\");e.class(\"sapUiCalendarRowAppsIntHeadTitle\");e.openEnd();e.text(I);e.close(\"span\")}var T=a.appointment.getText();if(T&&!a.appointment.getCustomContent().length){e.openStart(\"span\",s+\"-Text\");e.class(\"sapUiCalendarRowAppsIntHeadText\");e.openEnd();e.text(T);e.close(\"span\")}if(p.appTimeUnitsDifRowEnd>0){e.icon(\"sap-icon://arrow-right\",[\"sapUiCalendarAppArrowIconRight\"],{title:null,role:\"img\"})}l=t._oRb.getText(\"CALENDAR_START_TIME\")+\": \"+t._oFormatAria.format(a.appointment.getStartDate())+\"; \"+t._oRb.getText(\"CALENDAR_END_TIME\")+\": \"+t._oFormatAria.format(a.appointment.getEndDate());if(v&&v!==g.None){l+=\"; \"+this.getAriaTextForType(v,this.getLegendItems(t))}e.openStart(\"span\",s+\"-Descr\");e.class(\"sapUiInvisibleText\");e.openEnd();e.text(l);e.close(\"span\");e.close(\"div\");e.close(\"div\")};u.renderAppointment=function(e,t,a,n,i){var r=a.appointment;var s=r.getTooltip_AsString();var l=r.getType();var p=r.getColor();var d=r.getTitle();var c=r.getText();var u=r.getDescription();var A=r.getIcon();var C=r.getId();var I=t._getAppointmentReducedHeight(a);var T=r.getSelected();var h={role:\"listitem\",labelledby:{value:`${o.getStaticId(\"sap.m\",\"ACC_CTR_TYPE_LISTITEM\")} ${o.getStaticId(\"sap.ui.unified\",\"APPOINTMENT\")} ${C.concat(\"-Descr\")}`,append:true},describedby:{value:T?o.getStaticId(\"sap.ui.unified\",\"APPOINTMENT_SELECTED\"):\"\",append:true},selected:null};var m=t._getAppointmentRowCount(a,I);var U=t.getAriaLabelledBy();var S=t._calculateAppoitnmentVisualCue(r);if(U.length>0){h[\"labelledby\"].value=h[\"labelledby\"].value+\" \"+U.join(\" \")}if(d&&!r.getCustomContent().length){h[\"labelledby\"].value=h[\"labelledby\"].value+\" \"+C+\"-Title\"}if(c&&!r.getCustomContent().length){h[\"labelledby\"].value=h[\"labelledby\"].value+\" \"+C+\"-Text\"}e.openStart(\"div\",r);e.class(\"sapUiCalendarApp\");e.class(\"sapUiCalendarAppHeight\"+m);if(T){e.class(\"sapUiCalendarAppSel\")}if(r.getTentative()){e.class(\"sapUiCalendarAppTent\");h[\"labelledby\"].value=h[\"labelledby\"].value+\" \"+o.getStaticId(\"sap.ui.unified\",\"APPOINTMENT_TENTATIVE\")}if(m===1){e.class(\"sapUiCalendarAppTitleOnly\")}if(A){e.class(\"sapUiCalendarAppWithIcon\")}if(!i){if(t._bRTL){e.style(\"right\",a.begin+\"%\");e.style(\"left\",a.end+\"%\")}else{e.style(\"left\",a.begin+\"%\");e.style(\"right\",a.end+\"%\")}}e.attr(\"data-sap-level\",a.level);if(t._sFocusedAppointmentId==C){e.attr(\"tabindex\",\"0\")}else{e.attr(\"tabindex\",\"-1\")}if(s){e.attr(\"title\",s)}if(!p&&l&&l!=g.None){e.class(\"sapUiCalendarApp\"+l)}if(p){if(t._bRTL){e.style(\"border-right-color\",p)}else{e.style(\"border-left-color\",p)}}e.accessibilityState(r,h);e.openEnd();e.openStart(\"div\");e.class(\"sapUiCalendarAppCont\");if(!T&&p&&t.getAppointmentsVisualization()===v.Filled){e.style(\"background-color\",r._getCSSColorForBackground(p))}e.openEnd();if(r.getCustomContent().length){r.getCustomContent().forEach(function(t){e.renderControl(t)})}else{if(S.appTimeUnitsDifRowStart>0){e.icon(\"sap-icon://arrow-left\",[\"sapUiCalendarAppArrowIconLeft\"],{title:null,role:\"img\"})}if(A){var R=[\"sapUiCalendarAppIcon\"];var y={};y[\"id\"]=C+\"-Icon\";y[\"title\"]=null;y[\"alt\"]=null;y[\"role\"]=\"presentation\";e.icon(A,R,y)}e.openStart(\"div\");e.class(\"sapUiCalendarAppTitleWrapper\");e.openEnd();if(d){e.openStart(\"span\",C+\"-Title\");e.class(\"sapUiCalendarAppTitle\");e.openEnd();e.text(d);e.close(\"span\")}if(c&&a.size!==f.HalfSize){e.openStart(\"span\",C+\"-Text\");e.class(\"sapUiCalendarAppText\");e.openEnd();e.text(c);e.close(\"span\")}if(u&&a.size!==f.HalfSize&&(a.size!==f.Regular||!c)){e.openStart(\"span\",C+\"-Info\");e.class(\"sapUiCalendarAppDescription\");e.openEnd();e.text(u);e.close(\"span\")}e.close(\"div\");if(S.appTimeUnitsDifRowEnd>0){e.icon(\"sap-icon://arrow-right\",[\"sapUiCalendarAppArrowIconRight\"],{title:null,role:\"img\"})}}var b=t._oRb.getText(\"CALENDAR_START_TIME\")+\": \"+t._oFormatAria.format(r.getStartDate());b=b+\"; \"+t._oRb.getText(\"CALENDAR_END_TIME\")+\": \"+t._oFormatAria.format(r.getEndDate());if(t._getRelativeInfo&&t._getRelativeInfo().bIsRelative){var w=t._getRelativeInfo();b=t._oRb.getText(\"CALENDAR_START_TIME\")+\": \"+w.intervalLabelFormatter(w._getIndexFromDate(r.getStartDate()));b=b+\"; \"+t._oRb.getText(\"CALENDAR_END_TIME\")+\": \"+w.intervalLabelFormatter(w._getIndexFromDate(r.getEndDate()))}if(l&&l!=g.None){b=b+\"; \"+this.getAriaTextForType(l,n)}e.openStart(\"span\",C+\"-Descr\");e.class(\"sapUiInvisibleText\");e.openEnd();e.text(b);e.close(\"span\");e.close(\"div\");this.renderResizeHandle(e,t,r);e.close(\"div\")};u.renderSingleDayInterval=function(i,r,s,o,p,d,g,v,f,u,A,C,I){var T=1,h=100,m=r.getId()+\"-AppsInt\"+T,U,S=r.getShowIntervalHeaders()&&(r.getShowEmptyIntervalHeaders()||p.length>0),R=l.getInstance(r.getStartDate()),y=R.getMonth(),b=l.getInstance(R.getFullYear(),y+1,0).getDate(),w,E=r._getPlanningCalendar(),D,_,N=[];R.setHours(0,0,0,0);D=s.concat(r.getIntervalHeaders().filter(function(e){var t=e.getStartDate().getTime(),a=e.getEndDate().getTime(),n=R.getTime(),i=n+1e3*60*60*24;return!(t>=i||a<=n)}).map(function(e){return{appointment:e,isHeader:true}})).sort(n._getComparer(R));if(E){N=E._getSelectedDates()}i.openStart(\"div\",m);i.class(\"sapUiCalendarRowAppsInt\");i.class(\"sapUiCalendarMonthRowAppsS\");i.style(\"width\",h+\"%\");if(T>=b&&(r.getIntervalType()===c.OneMonth||r.getIntervalType()===\"OneMonth\")){i.class(\"sapUiCalItemOtherMonth\")}if(r._isNonWorkingInterval(T,d,g,v)){i.class(\"sapUiCalendarRowAppsNoWork\")}if(!S){i.class(\"sapUiCalendarRowAppsIntNoHead\")}if(C){i.class(\"sapUiCalendarRowAppsIntFirst\")}if(I){i.class(\"sapUiCalendarRowAppsIntLast\")}i.openEnd();if(S){i.openStart(\"div\");i.class(\"sapUiCalendarRowAppsIntHead\");i.openEnd();i.close(\"div\")}if(N.length>0){var H=0,k=D.length;if(E.getRows()[0]._calculateVisibleAppointments){var x=E.getRows()[0]._calculateVisibleAppointments(N,D);H=x.iStart;k=x.iEnd}for(U=H;U<k;U++){_=D[U];i.openStart(\"div\");i.class(\"sapUiCalendarAppContainer\");i.openEnd();i.openStart(\"div\");i.class(\"sapUiCalendarAppContainerLeft\");i.openEnd();i.openStart(\"div\");i.class(\"sapUiCalendarAppStart\");i.openEnd();i.text(_.appointment._getDateRangeIntersectionText(R).start);i.close(\"div\");i.openStart(\"div\");i.class(\"sapUiCalendarAppEnd\");i.openEnd();i.text(_.appointment._getDateRangeIntersectionText(R).end);i.close(\"div\");i.close(\"div\");i.openStart(\"div\");i.class(\"sapUiCalendarAppContainerRight\");i.openEnd();if(_.isHeader){this.renderIntervalHeader(i,r,_)}else{this.renderAppointment(i,r,_,o,true)}i.close(\"div\");i.close(\"div\")}}if(s.length===0||N.length===0){i.openStart(\"div\");i.class(\"sapUiCalendarNoApps\");i.openEnd();var M=e.getElementById(r.getAssociation(\"row\"));w=M.getNoAppointmentsText()?M.getNoAppointmentsText():t.getResourceBundleFor(\"sap.m\").getText(\"PLANNINGCALENDAR_ROW_NO_APPOINTMENTS\");i.text(w);i.close(\"div\")}if(!(r._getRelativeInfo&&r._getRelativeInfo().bIsRelative)){i.openStart(\"div\",r.getId()+\"-Now\");i.class(\"sapUiCalendarRowNow\");i.openEnd()}i.close(\"div\");i.openStart(\"div\",r.getId()+\"-DummyApp\");i.class(\"sapUiCalendarApp\");i.class(\"sapUiCalendarAppTitleOnly\");i.class(\"sapUiCalendarAppDummy\");i.style(\"margin\",\"0\");i.style(\"height\",\"0px\");i.openEnd();i.close(\"div\");if(r.getShowSubIntervals()){var W=r.getIntervalType();var L=0;switch(W){case c.Hour:L=4;break;case c.Day:case c.Week:case c.OneMonth:case\"OneMonth\":L=24;break;case c.Month:var O=new a(R);O.setUTCMonth(O.getUTCMonth()+T+1,0);L=O.getUTCDate();O.setUTCDate(1);g=O.getUTCDay();break;default:break}var F=100/L;for(U=0;U<L;U++){i.openStart(\"div\");i.class(\"sapUiCalendarRowAppsSubInt\");i.style(\"width\",F+\"%\");if(r._isNonWorkingInterval(U,f,u,A)){i.class(\"sapUiCalendarRowAppsNoWork\")}i.openEnd();i.close(\"div\")}}i.close(\"div\")};u.getLegendItems=function(t){var a=[],n,i=t.getLegend();if(i){n=e.getElementById(i);if(n){a=n.getItems()}else{d.error(\"CalendarLegend with id '\"+i+\"' does not exist!\",t)}}return a};u.renderWorkingParts=function(e,t){const a=t/60*100;e.openStart(\"div\");e.style(\"width\",`${a}%`);e.style(\"height\",\"inherit\");e.style(\"display\",\"inline-block\");e.openEnd();e.close(\"div\")};u.renderNonWorkingParts=function(e,t){const a=t/60*100;e.openStart(\"div\");e.style(\"width\",`${a}%`);e.class(\"sapUiCalendarRowAppsNoWork\");e.style(\"height\",\"inherit\");e.style(\"display\",\"inline-block\");e.openEnd();e.close(\"div\")};u.getAriaTextForType=function(e,t){var a,n,r,s;if(t&&t.length){for(var s=0;s<t.length;s++){r=t[s];if(r.getType()===e){a=r.getText();break}}}if(!a){n=i.getTypeAriaText(e);if(n){a=n.getText()}}return a};return u},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarTimeInterval\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/m/Popover\",\"sap/ui/core/Control\",\"sap/ui/core/Lib\",\"sap/ui/core/LocaleData\",\"sap/ui/unified/calendar/CalendarUtils\",\"./calendar/Header\",\"./calendar/TimesRow\",\"./calendar/DatesRow\",\"./calendar/MonthPicker\",\"./calendar/YearPicker\",\"sap/ui/core/date/UniversalDate\",\"./library\",\"sap/ui/core/format/DateFormat\",\"sap/ui/Device\",\"sap/ui/core/Locale\",\"./CalendarTimeIntervalRenderer\",\"sap/ui/dom/containsOrEquals\",\"sap/base/util/deepEqual\",\"sap/base/Log\",\"sap/ui/unified/DateRange\",\"sap/ui/core/date/UI5Date\",\"sap/ui/unified/Calendar\"],function(e,t,a,i,s,r,o,n,h,g,l,c,u,D,_,d,f,p,T,v,M,C,m,U){\"use strict\";var P=i.extend(\"sap.ui.unified.CalendarTimeInterval\",{metadata:{library:\"sap.ui.unified\",properties:{width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},startDate:{type:\"object\",group:\"Data\"},intervalSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:false},singleSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:true},items:{type:\"int\",group:\"Appearance\",defaultValue:12},intervalMinutes:{type:\"int\",group:\"Appearance\",defaultValue:60},pickerPopup:{type:\"boolean\",group:\"Appearance\",defaultValue:false},minDate:{type:\"object\",group:\"Misc\",defaultValue:null},maxDate:{type:\"object\",group:\"Misc\",defaultValue:null},_currentPicker:{type:\"string\",group:\"Appearance\",defaultValue:\"timesRow\",visibility:\"hidden\"}},aggregations:{selectedDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"selectedDate\"},specialDates:{type:\"sap.ui.unified.DateTypeRange\",multiple:true,singularName:\"specialDate\"},header:{type:\"sap.ui.unified.calendar.Header\",multiple:false,visibility:\"hidden\"},timesRow:{type:\"sap.ui.unified.calendar.TimesRow\",multiple:false,visibility:\"hidden\"},datesRow:{type:\"sap.ui.unified.calendar.Month\",multiple:false,visibility:\"hidden\"},monthPicker:{type:\"sap.ui.unified.calendar.MonthPicker\",multiple:false,visibility:\"hidden\"},yearPicker:{type:\"sap.ui.unified.calendar.YearPicker\",multiple:false,visibility:\"hidden\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"},legend:{type:\"sap.ui.unified.CalendarLegend\",multiple:false}},events:{select:{},cancel:{},startDateChange:{}}},renderer:p});var y={TIMES_ROW:\"timesRow\",DATES_ROW:\"datesRow\",MONTH_PICKER:\"monthPicker\",YEAR_PICKER:\"yearPicker\"};P.prototype.init=function(){this._iMode=0;this._oYearFormat=_.getDateInstance({format:\"y\"});this.data(\"sap-ui-fastnavgroup\",\"true\",true);this._oMinDate=new u(m.getInstance(Date.UTC(1,0,1)));this._oMinDate.getJSDate().setUTCFullYear(1);this._oMaxDate=new u(m.getInstance(Date.UTC(9999,11,31,23,59,59)));this._initializeHeader();this._initializeTimesRow();this._initializeMonthPicker();this._initializeYearPicker();this.setPickerPopup(false);this._iItemsHead=15};P.prototype._initializeHeader=function(){var e=new n(this.getId()+\"--Head\"),t=s.getResourceBundleFor(\"sap.m\");e.attachEvent(\"pressPrevious\",this._handlePrevious,this);e.attachEvent(\"pressNext\",this._handleNext,this);this.setAggregation(\"header\",e);if(e){e.setAriaLabelButton0(t.getText(\"DATETIMEPICKER_DATE\"));e.setAriaLabelButton1(t.getText(\"MOBISCROLL_MONTH\"));e.setAriaLabelButton2(t.getText(\"MOBISCROLL_YEAR\"))}};P.prototype._initializeTimesRow=function(){var e=new h(this.getId()+\"--TimesRow\");e.attachEvent(\"focus\",z,this);e.attachEvent(\"select\",H,this);e._bNoThemeChange=true;this.setAggregation(\"timesRow\",e)};P.prototype._initializeMonthPicker=function(){var e=this._createMonthPicker();this.setAggregation(\"monthPicker\",e);e._setSelectedDatesControlOrigin(this)};P.prototype._initializeYearPicker=function(){var e=this._createYearPicker();this.setAggregation(\"yearPicker\",e);e._setSelectedDatesControlOrigin(this)};P.prototype._createDatesRow=function(){var e=new g(this.getId()+\"--DatesRow\",{days:18,selectedDates:[new C(this.getId()+\"--Range\")]});e.attachEvent(\"focus\",K,this);e.attachEvent(\"select\",j,this);e._bNoThemeChange=true;e.getIntervalSelection=function(){return this.getProperty(\"intervalSelection\")};e.getSingleSelection=function(){return this.getProperty(\"singleSelection\")};e.getSelectedDates=function(){return this.getAggregation(\"selectedDates\",[])};e.getSpecialDates=function(){return this.getAggregation(\"specialDates\",[])};e.getAriaLabelledBy=function(){return this.getAssociation(\"ariaLabelledBy\",[])};return e};P.prototype._createMonthPicker=function(){var e=new l(this.getId()+\"--MP\",{columns:0,months:6});e.attachEvent(\"select\",$,this);e._bNoThemeChange=true;e.attachEvent(\"pageChange\",ee,this);return e};P.prototype._createYearPicker=function(){var e=new c(this.getId()+\"--YP\",{columns:0,years:6});e.attachEvent(\"select\",q,this);e.attachEvent(\"pageChange\",te,this);e._oMinDate.setYear(this._oMinDate.getUTCFullYear());e._oMaxDate.setYear(this._oMaxDate.getUTCFullYear());return e};P.prototype.exit=function(){if(this._oPopup){this._oPopup.destroy();this._oPopup=null}if(this._oCalendar){this._oCalendar.removeDelegate(this._oFocusCalendarDelegate);this._oCalendar.destroy();this._oCalendar=null}if(this._sInvalidateContent){clearTimeout(this._sInvalidateContent)}};P.prototype.onBeforeRendering=function(){var e=this.getAggregation(\"timesRow\");var t=this._getFocusedDate();I.call(this);e.displayDate(o._createLocalDate(t,true))};P.prototype._setAriaRole=function(e){var t=this.getAggregation(\"timesRow\");t._setAriaRole(e);t.invalidate();return this};P.prototype._getCalendar=function(){var e;if(!this._oCalendar){e=new U(this.getId()+\"--Cal\",{});e.attachEvent(\"select\",W,this);e.attachEvent(\"cancel\",function(e){this._oPopup.close();var t=this.getAggregation(\"header\").getDomRef(\"B1\");if(t){t.focus()}},this);this._oFocusCalendarDelegate={onAfterRendering:function(){this.focus()}};e.addDelegate(this._oFocusCalendarDelegate,e);this._oCalendar=e}return this._oCalendar};P.prototype._getMonthPicker=function(){return this.getAggregation(\"monthPicker\")};P.prototype._getYearPicker=function(){return this.getAggregation(\"yearPicker\")};P.prototype.setStartDate=function(e){o._checkJSDateObject(e);if(v(this.getStartDate(),e)){return this}var t=e.getFullYear();o._checkYearInValidRange(t);var a=this.getMinDate();if(a&&e.getTime()<a.getTime()){M.warning(\"startDate < minDate -> minDate as startDate set\",this);e=m.getInstance(a)}var i=this.getMaxDate();if(i&&e.getTime()>i.getTime()){M.warning(\"startDate > maxDate -> maxDate as startDate set\",this);e=m.getInstance(i)}this.setProperty(\"startDate\",e);var s=this.getAggregation(\"timesRow\");s.setStartDate(e);this._oUTCStartDate=new u(s._getStartDate().getTime());I.call(this);var r=o._createLocalDate(this._getFocusedDate(),true);if(!s.checkDateFocusable(r)){this._setFocusedDate(this._oUTCStartDate);s.displayDate(e)}return this};P.prototype.removeAllSelectedDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"selectedDates\");return e};P.prototype.destroySelectedDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"selectedDates\");return e};P.prototype.removeAllSpecialDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"specialDates\");return e};P.prototype.destroySpecialDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"specialDates\");return e};P.prototype.setIntervalMinutes=function(e){if(e>=720){throw new Error(\"Only intervals < 720 minutes are allowed; \"+this)}if(1440%e>0){throw new Error(\"A day must be divisible by the interval size; \"+this)}this.setProperty(\"intervalMinutes\",e);var t=this.getAggregation(\"timesRow\");var a=o._createLocalDate(this._getFocusedDate(),true);if(!t.checkDateFocusable(a)){var i=k.call(this);this._setFocusedDate(i);t.setDate(o._createLocalDate(i,true))}return this};P.prototype.setLocale=function(e){if(this._sLocale!=e){this._sLocale=e;this._oLocaleData=undefined;this.invalidate()}return this};P.prototype.getLocale=function(){if(!this._sLocale){this._sLocale=new f(e.getLanguageTag()).toString()}return this._sLocale};P.prototype._getFocusedDate=function(){if(!this._oFocusedDate){F.call(this)}return this._oFocusedDate};P.prototype._setFocusedDate=function(e){if(!(e instanceof u)){throw new Error(\"Date must be a UniversalDate object \"+this)}this._oFocusedDate=new u(e.getTime())};P.prototype.focusDate=function(e){var t=false;var a=this.getAggregation(\"timesRow\");if(!a.checkDateFocusable(e)){var i=o._createUniversalUTCDate(e,undefined,true);X.call(this,i);t=true}J.call(this,e,false);if(t){this.fireStartDateChange()}return this};P.prototype.displayDate=function(e){J.call(this,e,true);return this};P.prototype.setItems=function(e){this.setProperty(\"items\",e);e=this._getItems();var t=this.getAggregation(\"timesRow\");t.setItems(e);var a=o._createLocalDate(this._getFocusedDate(),true);if(!t.checkDateFocusable(a)){var i=k.call(this);this._setFocusedDate(i);t.setDate(o._createLocalDate(i,true))}if(!this.getPickerPopup()){var s=this.getAggregation(\"datesRow\");var r=Math.floor(e*1.5);if(r>31){r=31}s.setDays(r);var n=this._getMonthPicker();var h=Math.floor(e/2);if(h>12){h=12}n.setMonths(h);var g=this._getYearPicker();var l=Math.floor(e/2);if(l>20){l=20}g.setYears(l)}I.call(this);return this};P.prototype._getItems=function(){var e=this.getItems();if(d.system.phone&&e>6){return 6}else{return e}};P.prototype._getLocaleData=function(){if(!this._oLocaleData){var e=this.getLocale();var t=new f(e);this._oLocaleData=r.getInstance(t)}return this._oLocaleData};P.prototype.setPickerPopup=function(e){var t=this.getAggregation(\"header\"),a,i,s;this.setProperty(\"pickerPopup\",e);if(a){a.destroy()}if(e){t.setVisibleButton0(false);t.setVisibleButton1(true);t.setVisibleButton2(false);t.detachEvent(\"pressButton1\",N,this);t.attachEvent(\"pressButton1\",N,this);if(this.getAggregation(\"datesRow\")){this.getAggregation(\"datesRow\").destroy()}if(this._getMonthPicker()){this._getMonthPicker().destroy()}if(this._getYearPicker()){this._getYearPicker().destroy()}}else{t.setVisibleButton0(true);t.setVisibleButton1(true);t.setVisibleButton2(true);t.detachEvent(\"pressButton0\",B,this);t.attachEvent(\"pressButton0\",B,this);t.detachEvent(\"pressButton1\",N,this);t.attachEvent(\"pressButton1\",N,this);t.detachEvent(\"pressButton2\",V,this);t.attachEvent(\"pressButton2\",V,this);if(!this.getAggregation(\"datesRow\")){this.setAggregation(\"datesRow\",this._createDatesRow())}if(!this._getYearPicker()){this.setAggregation(\"yearPicker\",this._createYearPicker())}if(!this._getMonthPicker()){this.setAggregation(\"monthPicker\",this._createMonthPicker())}i=this._getMonthPicker();s=this._getYearPicker();i.setColumns(0);i.setMonths(6);s.setColumns(0);s.setYears(6)}return this};P.prototype.setMinDate=function(e){var t,a,i,s;if(v(e,this.getMinDate())){return this}if(!e){o._updateUTCDate(this._oMinDate.getJSDate(),1,0,1,0,0,0,0)}else{o._checkJSDateObject(e);this._oMinDate=o._createUniversalUTCDate(e,undefined,true);t=this.getAggregation(\"timesRow\");this._oMinDate=t._getIntervalStart(this._oMinDate);a=this._oMinDate.getUTCFullYear();o._checkYearInValidRange(a);if(this._oMaxDate.getTime()<this._oMinDate.getTime()){M.warning(\"minDate > maxDate -> maxDate set to end of the month\",this);this._oMaxDate=o._createUniversalUTCDate(e,undefined,true);o._updateUTCDate(this._oMaxDate,null,this._oMaxDate.getUTCMonth()+1,0,23,59,59,0);this.setProperty(\"maxDate\",o._createLocalDate(this._oMaxDate,true))}if(this._oFocusedDate){if(this._oFocusedDate.getTime()<this._oMinDate.getTime()){M.warning(\"focused date < minDate -> minDate focused\",this);this.focusDate(e)}}if(this._oUTCStartDate&&this._oUTCStartDate.getTime()<this._oMinDate.getTime()){M.warning(\"start date < minDate -> minDate set as start date\",this);w.call(this,new u(this._oMinDate.getTime()),true,true)}}this.setProperty(\"minDate\",e);if(this.getPickerPopup()){s=this._getCalendar();s.setMinDate(e)}else{i=this._getYearPicker();i._oMinDate.setYear(this._oMinDate.getUTCFullYear())}return this};P.prototype.setMaxDate=function(e){var t,a,i,s,r,n;if(v(e,this.getMaxDate())){return this}if(!e){o._updateUTCDate(this._oMaxDate.getJSDate(),9999,11,31,23,59,59,0)}else{o._checkJSDateObject(e);this._oMaxDate=o._createUniversalUTCDate(e,undefined,true);t=this.getAggregation(\"timesRow\");this._oMaxDate=t._getIntervalStart(this._oMaxDate);this._oMaxDate.setUTCMinutes(this._oMaxDate.getUTCMinutes()+this.getIntervalMinutes());this._oMaxDate.setUTCMilliseconds(-1);a=this._oMaxDate.getUTCFullYear();o._checkYearInValidRange(a);if(this._oMinDate.getTime()>this._oMaxDate.getTime()){M.warning(\"maxDate < minDate -> minDate set to begin of the month\",this);this._oMinDate=o._createUniversalUTCDate(e,undefined,true);o._updateUTCDate(this._oMinDate,null,null,1,0,0,0,0);this.setProperty(\"minDate\",o._createLocalDate(this._oMinDate,true))}if(this._oFocusedDate){if(this._oFocusedDate.getTime()>this._oMaxDate.getTime()){M.warning(\"focused date > maxDate -> maxDate focused\",this);this.focusDate(e)}}if(this._oUTCStartDate){i=new u(this._oUTCStartDate.getTime());i.setUTCMinutes(i.getUTCMinutes()+this.getIntervalMinutes()*(this._getItems()-1));if(i.getTime()>this._oMaxDate.getTime()){s=new u(this._oMaxDate.getTime());s.setUTCMinutes(s.getUTCMinutes()-this.getIntervalMinutes()*(this._getItems()-1));if(s.getTime()>=this._oMinDate.getTime()){M.warning(\"end date > maxDate -> maxDate set as end date\",this);w.call(this,s,true,true)}}}}this.setProperty(\"maxDate\",e);if(this.getPickerPopup()){n=this._getCalendar();n.setMaxDate(e)}else{r=this._getYearPicker();r._oMaxDate.setYear(this._oMaxDate.getUTCFullYear())}return this};P.prototype.onclick=function(e){if(e.isMarked(\"delayedMouseEvent\")){return}if(e.target.id==this.getId()+\"-cancel\"){this.onsapescape(e)}};P.prototype.onmousedown=function(e){e.preventDefault();e.setMark(\"cancelAutoClose\")};P.prototype.onsapescape=function(e){if(this.getPickerPopup()){b.call(this);this.fireCancel()}else{switch(this._iMode){case 0:this.fireCancel();break;case 1:case 2:case 3:this.setProperty(\"_currentPicker\",y.TIMES_ROW);break}}};P.prototype.setProperty=function(){var e=arguments[0],t=arguments[1];i.prototype.setProperty.apply(this,arguments);if(e===\"_currentPicker\"){switch(t){case\"timesRow\":this._iMode=0;break;case\"datesRow\":this._iMode=1;break;case\"monthPicker\":this._iMode=2;break;case\"yearPicker\":this._iMode=3;break;default:return}}return this};P.prototype._handlePrevious=function(e){var t=this._getFocusedDate(),a,i,s,r,n,h,g,l;switch(this._iMode){case 0:a=this._getItems();i=new u(k.call(this).getTime());s=this.getIntervalMinutes();i.setUTCMinutes(i.getUTCMinutes()-a*s);t.setUTCMinutes(t.getUTCMinutes()-a*s);this._setFocusedDate(t);w.call(this,i,true);break;case 1:if(!this.getPickerPopup()){r=this.getAggregation(\"datesRow\");n=o._createUniversalUTCDate(r.getDate());h=r.getDays();if(n.getUTCDate()<=h){n.setUTCDate(1)}else{n.setUTCDate(n.getUTCDate()-h)}G.call(this,n)}break;case 2:if(!this.getPickerPopup()){g=this._getMonthPicker();if(g.getMonths()<12){g.previousPage();Y.call(this)}else{t.setUTCFullYear(t.getUTCFullYear()-1);X.call(this,t);this._setFocusedDate(t);I.call(this);Z.call(this,t.getUTCFullYear(),g);this.fireStartDateChange()}}break;case 3:if(!this.getPickerPopup()){l=this._getYearPicker();l.previousPage();E.call(this)}break}};P.prototype._handleNext=function(e){var t=this._getFocusedDate();switch(this._iMode){case 0:var a=this._getItems();var i=new u(k.call(this).getTime());var s=this.getIntervalMinutes();i.setUTCMinutes(i.getUTCMinutes()+a*s);t.setUTCMinutes(t.getUTCMinutes()+a*s);this._setFocusedDate(t);w.call(this,i,true);break;case 1:if(!this.getPickerPopup()){var r=this.getAggregation(\"datesRow\");var n=o._createUniversalUTCDate(r.getDate());var h=new u(n.getTime());h.setUTCDate(1);h.setUTCMonth(h.getUTCMonth()+1);h.setUTCDate(0);var g=r.getDays();if(n.getUTCDate()+g>h.getUTCDate()){n.setUTCDate(h.getUTCDate())}else{n.setUTCDate(n.getUTCDate()+g)}G.call(this,n)}break;case 2:if(!this.getPickerPopup()){var l=this._getMonthPicker();if(l.getMonths()<12){l.nextPage();Y.call(this)}else{t.setUTCFullYear(t.getUTCFullYear()+1);X.call(this,t);this._setFocusedDate(t);I.call(this);Z.call(this,t.getUTCFullYear(),l);this.fireStartDateChange()}}break;case 3:if(!this.getPickerPopup()){var c=this._getYearPicker();c.nextPage();E.call(this)}break}};P.prototype._getShowItemHeader=function(){var e=this.getItems();if(e>this._iItemsHead){return true}else{return false}};function w(e,t,a){var i=new u(this._oMaxDate.getTime());i.setUTCMinutes(i.getUTCMinutes()-this.getIntervalMinutes()*(this._getItems()-1));if(i.getTime()<this._oMinDate.getTime()){i=new u(this._oMinDate.getTime());i.setUTCMinutes(i.getUTCMinutes()+this.getIntervalMinutes()*(this._getItems()-1))}if(e.getTime()<this._oMinDate.getTime()){e=new u(this._oMinDate.getTime())}else if(e.getTime()>i.getTime()){e=i}var s=this.getAggregation(\"timesRow\");var r=o._createLocalDate(e,true);s.setStartDate(r);this._oUTCStartDate=new u(s._getStartDate().getTime());r=o._createLocalDate(this._oUTCStartDate,true);this.setProperty(\"startDate\",r);I.call(this);if(t){var n=o._createLocalDate(this._getFocusedDate(),true);if(!s.checkDateFocusable(n)){this._setFocusedDate(e);s.setDate(r)}else{s.setDate(n)}}if(!a){this.fireStartDateChange()}}function k(){if(!this._oUTCStartDate){var e=this.getAggregation(\"timesRow\");e.setStartDate(o._createLocalDate(this._getFocusedDate(),true));this._oUTCStartDate=new u(e._getStartDate().getTime());this._setFocusedDate(this._oUTCStartDate)}return this._oUTCStartDate}function S(e){var t=this._getFocusedDate();var a=this.getAggregation(\"timesRow\");if(!e){a.setDate(o._createLocalDate(t,true))}else{a.displayDate(o._createLocalDate(t,true))}I.call(this)}function F(){var e=this.getSelectedDates();if(e&&e[0]&&e[0].getStartDate()){this._oFocusedDate=o._createUniversalUTCDate(e[0].getStartDate(),undefined,true)}else{var t=m.getInstance();this._oFocusedDate=o._createUniversalUTCDate(t,undefined,true)}if(this._oFocusedDate.getTime()<this._oMinDate.getTime()){this._oFocusedDate=new u(this._oMinDate.getTime())}else if(this._oFocusedDate.getTime()>this._oMaxDate.getTime()){this._oFocusedDate=new u(this._oMaxDate.getTime())}}P.prototype._showCalendarPicker=function(){var e=o._createLocalDate(this._getFocusedDate(),true);var t=this._getCalendar();var a=new C({startDate:e});t.displayDate(e,false);t.removeAllSelectedDates();t.addSelectedDate(a);t.setMinDate(this.getMinDate());t.setMaxDate(this.getMaxDate());Q.call(this,t);this._showOverlay()};P.prototype._showOverlay=function(){this.$(\"contentOver\").css(\"display\",\"\")};P.prototype._hideOverlay=function(){this.$(\"contentOver\").css(\"display\",\"none\")};function b(e){if(this._oPopup&&this._oPopup.isOpen()){this._oPopup.close()}this._hideOverlay();if(!e){S.call(this)}this._getCalendar()._closePickers()}function R(){var e=this._getFocusedDate();var t=this._getItems();var a=this.getAggregation(\"datesRow\");var i=a.getSelectedDates()[0];i.setStartDate(o._createLocalDate(e,true));var s=new u(e.getTime());s.setUTCDate(1);s.setUTCMonth(s.getUTCMonth()+1);s.setUTCDate(0);var r=s.getUTCDate();var n=Math.floor(t*1.5);if(n>r){n=r}a.setDays(n);this.setProperty(\"_currentPicker\",y.DATES_ROW);this._showOverlay();G.call(this,e);this._iMode=1}function x(){var e=this._getFocusedDate();var t=this._getMonthPicker();this.setProperty(\"_currentPicker\",y.MONTH_PICKER);this._showOverlay();t.setMonth(e.getUTCMonth());Z.call(this,e.getUTCFullYear(),t);this._iMode=2;Y.call(this)}function A(){var e=this._getFocusedDate();var t=this._getYearPicker();this.setProperty(\"_currentPicker\",y.YEAR_PICKER);this._showOverlay();t.setDate(e.getJSDate());E.call(this);this._iMode=3}function I(){L.call(this);Y.call(this)}function Y(e){var t=new u(k.call(this).getTime());var a=this._getItems();var i=t.getJSDate().getUTCFullYear();var s=this._oMaxDate.getJSDate().getUTCFullYear();var r=this._oMinDate.getJSDate().getUTCFullYear();var o=t.getJSDate().getUTCMonth();var n=this._oMaxDate.getJSDate().getUTCMonth();var h=this._oMinDate.getJSDate().getUTCMonth();var g=t.getJSDate().getUTCDate();var l=this._oMaxDate.getJSDate().getUTCDate();var c=this._oMinDate.getJSDate().getUTCDate();var D=t.getJSDate().getUTCHours();var _=this._oMaxDate.getJSDate().getUTCHours();var d=this._oMinDate.getJSDate().getUTCHours();var f=t.getJSDate().getUTCMinutes();var p=this._oMaxDate.getJSDate().getUTCMinutes();var T=this._oMinDate.getJSDate().getUTCMinutes();var v=this.getAggregation(\"header\");if(this._iMode==2&&!e){var M=this._getMonthPicker();var C=M.getMonths();var m=M.getStartMonth();var U=m+C-1;if(m==0||i==r&&m<=h){v.setEnabledPrevious(false)}else{v.setEnabledPrevious(true)}if(U>10||i==s&&U>=n){v.setEnabledNext(false)}else{v.setEnabledNext(true)}return}if(i<r||i==r&&(e||(o<h||o==h&&(g<c||g==c&&(D<d||D==d&&f<=T))))||(this._iMode==1||this._iMode==2)&&this.getPickerPopup()){v.setEnabledPrevious(false)}else{v.setEnabledPrevious(true)}t.setUTCMinutes(t.getUTCMinutes()+a*this.getIntervalMinutes()-1);i=t.getJSDate().getUTCFullYear();o=t.getJSDate().getUTCMonth();g=t.getJSDate().getUTCDate();D=t.getJSDate().getUTCHours();f=t.getJSDate().getUTCMinutes();if(i>s||i==s&&(!e||(o>n||o==n&&(g>l||g==l&&(D>_||D==_&&f>=p))))||(this._iMode==1||this._iMode==2)&&this.getPickerPopup()){v.setEnabledNext(false)}else{v.setEnabledNext(true)}if(this._iMode===1){var P=new u(t.getTime());P.setUTCDate(1);P.setUTCMonth(P.getUTCMonth()+1);P.setUTCDate(0);var y=this.getAggregation(\"datesRow\").getDays();t.setUTCDate(1+(Math.ceil(t.getUTCDate()/y)-1)*y);if(P.getUTCDate()-t.getUTCDate()<y){t.setUTCDate(P.getUTCDate()-y+1)}g=t.getUTCDate();if(g<=1||i==r&&o==h&&g<=c){v.setEnabledPrevious(false)}else{v.setEnabledPrevious(true)}if(g+y>=P.getUTCDate()||i==s&&o==n&&g>=l){v.setEnabledNext(false)}else{v.setEnabledNext(true)}}}function E(){var e=this._getYearPicker();var t=e.getYears();var a=o._createUniversalUTCDate(e.getProperty(\"_middleDate\").toLocalJSDate());a.setUTCFullYear(a.getUTCFullYear()+Math.floor(t/2));var i=this.getAggregation(\"header\");var s=new u(this._oMaxDate);s.setUTCFullYear(s.getUTCFullYear()-Math.ceil(t/2));s.setUTCMonth(11,31);var r=new u(this._oMinDate);r.setUTCFullYear(r.getUTCFullYear()+Math.floor(t/2)+1);r.setUTCMonth(0,1);if(a.getTime()>s.getTime()){i.setEnabledNext(false)}else{i.setEnabledNext(true)}if(a.getTime()<r.getTime()){i.setEnabledPrevious(false)}else{i.setEnabledPrevious(true)}}function L(){var e=this.getAggregation(\"header\");var t;var a=k.call(this);var i;var s=this._getLocaleData();var r=[];var n=[];var h;var g=false;var l;var c=false;if(s.oLocale.sLanguage.toLowerCase()===\"ja\"||s.oLocale.sLanguage.toLowerCase()===\"zh\"){l=_.getDateInstance({format:\"d\"}).format(a,true)}else{l=a.getUTCDate().toString()}if(this._bLongMonth||!this._bNamesLengthChecked){r=s.getMonthsStandAlone(\"wide\")}else{g=true;r=s.getMonthsStandAlone(\"abbreviated\");n=s.getMonthsStandAlone(\"wide\")}var u=a.getUTCMonth();t=r[u];if(g){h=n[r[u]]}if(!this.getPickerPopup()){e.setTextButton0(l);e.setTextButton1(t);e.setTextButton2(this._oYearFormat.format(a,true))}else{i=_.getInstance({style:\"long\",strictParsing:true,relative:c},s.oLocale);h=l=i.format(o._createLocalDate(a,true));e.setTextButton1(l)}if(g){e.setAriaLabelButton1(h)}}function O(e,t){var a;var i=false;if(e.getTime()<this._oMinDate.getTime()){a=this._oMinDate;i=true}else if(e.getTime()>this._oMaxDate.getTime()){a=this._oMaxDate;i=true}else{a=e}this._setFocusedDate(a);if(i||t){X.call(this,a);S.call(this,false);this.fireStartDateChange()}}function J(e,t){if(e&&(!this._oFocusedDate||this._oFocusedDate.getTime()!=e.getTime())){o._checkJSDateObject(e);e=o._createUniversalUTCDate(e,undefined,true);var a=e.getUTCFullYear();o._checkYearInValidRange(a);if(e.getTime()<this._oMinDate.getTime()||e.getTime()>this._oMaxDate.getTime()){throw new Error(\"Date must not be in valid range (minDate and maxDate); \"+this)}this._setFocusedDate(e);if(this.getDomRef()&&this._iMode==0){S.call(this,t)}}}function B(e){if(this._iMode!=1){R.call(this)}else{this.setProperty(\"_currentPicker\",y.TIMES_ROW)}}function N(e){var t;if(this.getPickerPopup()){this._showCalendarPicker()}else{if(this._iMode!=2){t=function(){var e=this._getMonthPicker();e._oItemNavigation.focusItem(e.getProperty(\"_focusedMonth\"));e.removeDelegate(t)};x.call(this);this._getMonthPicker().addDelegate({onAfterRendering:t},this)}else{this.setProperty(\"_currentPicker\",y.TIMES_ROW)}}}function V(e){var t;if(this._iMode!=3){t=function(){var e=this._getYearPicker();e.focus();e.removeDelegate(t)};A.call(this);this._getYearPicker().addDelegate({onAfterRendering:t},this)}else{this.setProperty(\"_currentPicker\",y.TIMES_ROW)}}function H(e){this.fireSelect()}function z(e){var t=o._createUniversalUTCDate(e.getParameter(\"date\"),undefined,true);var a=e.getParameter(\"notVisible\");O.call(this,t,a)}function W(e){var t=e.getSource(),a=t.getSelectedDates()[0].getStartDate();var i=new u(this._getFocusedDate().getTime());var s=o._createUniversalUTCDate(a);i.setUTCFullYear(s.getUTCFullYear());i.setUTCMonth(s.getUTCMonth(),s.getUTCDate());O.call(this,i,true);b.call(this)}function j(e){var t=new u(this._getFocusedDate().getTime());var a=e.oSource;var i=a.getSelectedDates()[0];var s=o._createUniversalUTCDate(i.getStartDate());if(!this.getPickerPopup()||s.getUTCMonth()==t.getUTCMonth()){t.setUTCDate(s.getUTCDate());t.setUTCMonth(s.getUTCMonth());t.setUTCFullYear(s.getUTCFullYear());O.call(this,t,true);this.setProperty(\"_currentPicker\",y.TIMES_ROW)}this._addTimesRowFocusDelegate()}function K(e){var t=new u(this._getFocusedDate().getTime());var a=o._createUniversalUTCDate(e.getParameter(\"date\"),undefined,true);var i=e.getParameter(\"otherMonth\");if(i&&a.getUTCMonth()==t.getUTCMonth()&&a.getUTCFullYear()==t.getUTCFullYear()){G.call(this,a)}}function $(e){var t=new u(this._getFocusedDate().getTime());var a=this._getMonthPicker();var i=a.getMonth();t.setUTCMonth(i);if(i!=t.getUTCMonth()){t.setUTCDate(0)}O.call(this,t,true);this.setProperty(\"_currentPicker\",y.TIMES_ROW);this._addTimesRowFocusDelegate()}function q(e){var t=new u(this._getFocusedDate().getTime());var a=this._getYearPicker();var i=o._createUniversalUTCDate(a.getDate());var s=t.getUTCMonth();i.setUTCMonth(t.getUTCMonth(),t.getUTCDate());i.setUTCHours(t.getUTCHours());i.setUTCMinutes(t.getUTCMinutes());t=i;if(s!=t.getUTCMonth()){t.setUTCDate(0)}O.call(this,t,true);this.setProperty(\"_currentPicker\",y.TIMES_ROW);this._addTimesRowFocusDelegate()}P.prototype._addTimesRowFocusDelegate=function(){var e={onAfterRendering:function(){this._oItemNavigation.focusItem(this._oItemNavigation.getFocusedIndex());this.removeDelegate(e)}},t=this.getAggregation(\"timesRow\");t.addDelegate(e,t)};function X(e){var t=this.getAggregation(\"timesRow\");var a=k.call(this);var i=t._oItemNavigation.getFocusedIndex();a=new u(e.getTime());a.setUTCMinutes(a.getUTCMinutes()-i*this.getIntervalMinutes());w.call(this,a,false,true)}function G(e){var t=this.getAggregation(\"datesRow\");var a=this.getAggregation(\"header\");if(!this.getPickerPopup()){var i=new u(e.getTime());i.setUTCDate(1);i.setUTCMonth(i.getUTCMonth()+1);i.setUTCDate(0);var s=t.getDays();var r=new u(e.getTime());r.setUTCDate(1+(Math.ceil(e.getUTCDate()/s)-1)*s);if(i.getUTCDate()-r.getUTCDate()<s){r.setUTCDate(i.getUTCDate()-s+1)}t.setStartDate(o._createLocalDate(r,true));var n=r.getJSDate().getUTCFullYear();var h=this._oMaxDate.getJSDate().getUTCFullYear();var g=this._oMinDate.getJSDate().getUTCFullYear();var l=r.getJSDate().getUTCMonth();var c=this._oMaxDate.getJSDate().getUTCMonth();var D=this._oMinDate.getJSDate().getUTCMonth();var _=r.getJSDate().getUTCDate();var d=this._oMaxDate.getJSDate().getUTCDate();var f=this._oMinDate.getJSDate().getUTCDate();if(_<=1||n==g&&l==D&&_<=f){a.setEnabledPrevious(false)}else{a.setEnabledPrevious(true)}if(_+s>=i.getUTCDate()||n==h&&l==c&&_>=d){a.setEnabledNext(false)}else{a.setEnabledNext(true)}if(!this._oFocusDatesRowDelegate){this._oFocusDatesRowDelegate={onAfterRendering:function(){this.focus()}};t.addDelegate(this._oFocusDatesRowDelegate,t)}}else{a.setEnabledPrevious(false);a.setEnabledNext(false)}t.setDate(o._createLocalDate(e,true))}function Q(e){if(!this._oPopup){var i=new a({placement:\"VerticalPreferredBottom\",showHeader:false,showArrow:false,verticalScrolling:false});i.oPopup.setDurations(0,0);i.addEventDelegate({onsapescape:this._oCalendar.onsapescape},this._oCalendar);this._oPopup=i}this._oPopup.addContent(e);this._oPopup.attachAfterClose(function(){this._hideOverlay();this._addTimesRowFocusDelegate()},this);this._oPopup.attachAfterOpen(function(){var e=s.$(\"B1\");var a=this._oPopup.$();var i=Math.floor((a.width()-e.width())/2);this._oPopup.setOffsetX(t.getRTL()?i:-i);var r=e.height();this._oPopup.setOffsetY(this._oPopup._getCalculatedPlacement()===\"Top\"?r:-r)},this);var s=this.getAggregation(\"header\");this._oPopup.openBy(s.getDomRef(\"B1\"))}function Z(e,t){var a=0;var i=11;if(e==this._oMinDate.getUTCFullYear()){a=this._oMinDate.getUTCMonth()}if(e==this._oMaxDate.getUTCFullYear()){i=this._oMaxDate.getUTCMonth()}t.setMinMax(a,i)}function ee(e){Y.call(this)}function te(e){E.call(this)}return P});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarTimeIntervalRenderer\", [\"sap/ui/core/Lib\"],function(e){\"use strict\";var t={apiVersion:2};t.render=function(t,a){var i=a.getId();var n=a.getTooltip_AsString();t.openStart(\"div\",a);t.class(\"sapUiCal\");t.class(\"sapUiCalInt\");t.class(\"sapUiCalTimeInt\");if(a._getShowItemHeader()){t.class(\"sapUiCalIntHead\")}if(a.getPickerPopup()){t.class(\"sapUiCalIntLarge\")}var o=e.getResourceBundleFor(\"sap.ui.unified\");var r={labelledby:{value:\"\",append:false}};if(a._bPoupupMode){r[\"role\"]=\"dialog\"}else{r[\"role\"]=\"group\";r[\"roledescription\"]=o.getText(\"CALENDAR_DIALOG\")}t.accessibilityState(a,r);if(n){t.attr(\"title\",n)}var s=a.getWidth();if(s&&s!=\"\"){t.style(\"width\",s)}t.openEnd();var l=a.getAggregation(\"header\");t.renderControl(l);t.openStart(\"div\",i+\"-content\");t.class(\"sapUiCalContent\");t.openEnd();t.renderControl(a.getAggregation(a.getProperty(\"_currentPicker\")));t.close(\"div\");t.openStart(\"button\",i+\"-cancel\");t.class(\"sapUiCalCancel\");t.attr(\"tabindex\",\"-1\");t.openEnd();t.text(o.getText(\"CALENDAR_CANCEL\"));t.close(\"button\");if(a.getPickerPopup()){t.openStart(\"div\",i+\"-contentOver\");t.class(\"sapUiCalContentOver\");if(!a._oPopup||!a._oPopup.isOpen()){t.style(\"display\",\"none\")}t.openEnd();t.close(\"div\")}t.close(\"div\")};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarWeekInterval\", [\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"./library\",\"sap/ui/unified/CalendarDateInterval\",\"sap/ui/unified/CalendarDateIntervalRenderer\",\"sap/ui/unified/DateRange\"],function(e,t,a,i,s,r){\"use strict\";var o=i.extend(\"sap.ui.unified.CalendarWeekInterval\",{renderer:s});o.prototype._getDaysLarge=function(){return 6};o.prototype._handleFocus=function(a){var s=!!a.getParameter(\"_outsideBorder\"),r,o,n;if(s){r=a.getParameter(\"date\");this._oFocusDateWeek=t.fromLocalJSDate(r);o=e._getFirstDateOfWeek(this._oFocusDateWeek);n=this.getAggregation(\"month\")[0];if(n.getDomRef()){this._setStartDate(o,false,true)}}return i.prototype._handleFocus.apply(this,arguments)};o.prototype._focusDateExtend=function(e,t,a){var s,r;if(!this._oFocusDateWeek){return i.prototype._focusDateExtend.apply(this,arguments)}s=this.getAggregation(\"month\")[0];r=this._oFocusDateWeek.toLocalJSDate();this._setFocusedDate(this._oFocusDateWeek);s.setDate(r);this._oFocusDateWeek=null;return!a};o.prototype._dateMatchesVisibleRange=function(e){var a=this.getDays(),i=t.fromLocalJSDate(e),s=t.fromLocalJSDate(this.getStartDate()),r=t.fromLocalJSDate(this.getStartDate());r.setDate(r.getDate()+a);return i.isSameOrAfter(s)&&i.isBefore(r)};o.prototype._showCalendarPicker=function(){var e=this._getFocusedDate(),a=this._getStartDate(),i=this._getCalendar(),s=new r,o;o=new t(a);o.setDate(o.getDate()+this._getDays()-1);s.setStartDate(a.toLocalJSDate());s.setEndDate(o.toLocalJSDate());i.displayDate(e.toLocalJSDate(),false);i.removeAllSelectedDates();i.addSelectedDate(s);i.setMinDate(this.getMinDate());i.setMaxDate(this.getMaxDate());this._openPickerPopup(i)};o.prototype._handleCalendarPickerDateSelect=function(a){var i=this._getCalendar(),s=i.getSelectedDates()[0].getStartDate(),r=t.fromLocalJSDate(s),o;if(this._dateMatchesVisibleRange(r.toLocalJSDate())){this._oFocusDateWeek=r;this._focusDate(this._oFocusDateWeek,false,true)}else{o=e._getFirstDateOfWeek(r);this._setStartDate(o);this._oFocusDateWeek=r;this._focusDate(this._oFocusDateWeek,false,true)}this._closeCalendarPicker(true)};o.prototype._calculateStartDate=function(e,a,i){var e=new t(this._oMaxDate,this.getPrimaryCalendarType());e=this._getMaxDateAlignedToMinDate(e,this._oMinDate);i=this._getStartDateAlignedToMinAndMaxDate(e,this._oMinDate,i);return i};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ColorPicker\", [\"./library\",\"sap/base/i18n/Localization\",\"sap/ui/core/Control\",\"sap/ui/core/HTML\",\"sap/ui/core/Lib\",\"sap/ui/core/ResizeHandler\",\"sap/ui/layout/Grid\",\"sap/ui/layout/GridData\",\"sap/ui/layout/VerticalLayout\",\"sap/ui/layout/HorizontalLayout\",\"sap/ui/core/theming/Parameters\",\"sap/ui/core/InvisibleText\",\"sap/ui/Device\",\"sap/ui/core/library\",\"./ColorPickerRenderer\",\"./ColorPickerHelper\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\",\"sap/ui/Global\"],function(e,t,i,s,o,a,l,r,h,n,d,u,p,C,c,g,f,jQuery){\"use strict\";var S=C.ValueState,b=e.ColorPickerMode,_=e.ColorPickerDisplayMode;var y=i.extend(\"sap.ui.unified.ColorPicker\",{metadata:{library:\"sap.ui.unified\",properties:{colorString:{type:\"string\",group:\"Misc\",defaultValue:null},mode:{type:\"sap.ui.unified.ColorPickerMode\",group:\"Appearance\",defaultValue:b.HSV},displayMode:{type:\"sap.ui.unified.ColorPickerDisplayMode\",group:\"Appearance\",defaultValue:_.Default}},aggregations:{_grid:{type:\"sap.ui.layout.Grid\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_invisibleTexts:{type:\"sap.ui.core.InvisibleText\",multiple:true,visibility:\"hidden\"},_oCPBox:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oSlider:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oAlphaSlider:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oHexField:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oRedField:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oGreenField:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oBlueField:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oHueField:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oSatField:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oLitField:{type:\"sap.ui.core.Control\",group:\"Appearance\",multiple:false,visibility:\"hidden\"},_oValField:{ty Copyright 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ComponentHooks\", [],function(){\"use strict\";class e{#e;#l;constructor(e){this.#e=e;this.#l=e?[]:null}register(e){if(typeof e!==\"function\"){throw new Error(\"Registered callback must be a function.\")}if(this.#e){this.#l.push(e)}else{if(this.#l){throw new Error(`Callback is already registered. The hooks are restricted to the 'sap.ui.fl' library only.`)}this.#l=e}}isRegistered(){return this.#e?this.#l.length>0:!!this.#l}deregister(){this.#l=this.#e?[]:null}execute(...e){return this.#e?this.#l.map(l=>l(...e)):this.#l?.(...e)}}const l={onModelCreated:new e(false),onInstanceCreated:new e(true),onPreprocessManifest:new e(false),onComponentLoaded:new e(false),onUIComponentInstanceInitialized:new e(false),onUIComponentInstanceDestroy:new e(false)};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ComponentMetadata\", [\"sap/ui/base/ManagedObjectMetadata\",\"sap/ui/core/Manifest\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/util/extend\",\"sap/base/util/deepExtend\",\"sap/base/util/isPlainObject\",\"sap/base/util/LoaderExtensions\"],function(e,t,n,a,i,o,s,r){\"use strict\";var p=sap.ui.loader._.getSyncCallBehavior();var c=function(t,n){e.apply(this,arguments)};c.prototype=Object.create(e.prototype);c.prototype.constructor=c;c.preprocessClassInfo=function(e){if(e&&typeof e.metadata===\"string\"){e.metadata={_src:e.metadata}}return e};c.prototype.applySettings=function(t){var o=this._oStaticInfo=t.metadata;var s=this.getName(),p=s.replace(/\\.\\w+?$/,\"\");const c=!!o._src;if(c||t&&typeof t.metadata===\"string\"){n.errorThrows(\"Component Metadata must not be a string. Please use \\\"metadata: { manifest: 'json' }\\\" instead.\");(()=>{var e=p.replace(/\\./g,\"/\")+\"/component.json\";a.info(\"The metadata of the component \"+s+\" is loaded from file \"+e+\".\");try{var t=r.loadResource(e,{dataType:\"json\"});i(o,t)}catch(t){a.error('Failed to load component metadata from \"'+e+'\" (component '+s+\")! Reason: \"+t)}})()}e.prototype.applySettings.call(this,t);this._sComponentName=p;this._bInitialized=false;this._iInstanceCount=0;var f=o[\"manifest\"];if(f){o.__metadataVersion=2;if(typeof f===\"string\"&&f===\"json\"){return}}else{o.__metadataVersion=1;f={}}this._applyManifest(f)};c.prototype._applyManifest=function(e,n=false){if(this._oManifest){a.info(\"Can't apply manifest to ComponentMetadata as it has already been created.\",this.getName(),\"sap.ui.core.ComponentMetadata\");return}e[\"name\"]=e[\"name\"]||this.getName();e[\"sap.app\"]=e[\"sap.app\"]||{id:this.getComponentName()};e[\"sap.ui5\"]=e[\"sap.ui5\"]||{};if(!this.isBaseClass()){e[\"sap.ui5\"][\"extends\"]=e[\"sap.ui5\"][\"extends\"]||{}}this._convertLegacyMetadata(this._oStaticInfo,e);this._oManifest=new t(e,{componentName:this.getComponentName(),baseUrl:sap.ui.require.toUrl(this.getComponentName().replace(/\\./g,\"/\"))+\"/\",process:!n&&this._oStaticInfo.__metadataVersion===2})};c.prototype.init=function(){if(this._iInstanceCount===0){var e=this.getParent();if(e instanceof c){e.init()}this.getManifestObject().init();this._bInitialized=true}this._iInstanceCount++};c.prototype.exit=function(){var e=Math.max(this._iInstanceCount-1,0);if(e===0){this.getManifestObject().exit();var t=this.getParent();if(t instanceof c){t.exit()}this._bInitialized=false}this._iInstanceCount=e};c.prototype.onInitComponent=function(e){a.error(\"The function ComponentMetadata#onInitComponent will be removed soon!\")};c.prototype.onExitComponent=function(e){a.error(\"The function ComponentMetadata#onExitComponent will be removed soon!\")};c.prototype.isBaseClass=function(){return/^sap\\.ui\\.core\\.(UI)?Component$/.test(this.getName())};c.prototype.getMetadataVersion=function(){return this._oStaticInfo.__metadataVersion};c.prototype.getManifestObject=function(){if(!this._oManifest){var e=this._oStaticInfo[\"manifest\"];if(typeof e===\"string\"&&e===\"json\"){var t=this.getName();var n=this.getComponentName();var i=n.replace(/\\./g,\"/\")+\"/manifest.json\";var o=!!sap.ui.loader._.getModuleState(i);if(!o&&p===2){a.error(\"[nosync] Loading manifest of the component \"+t+\" ignored.\",i,\"sap.ui.core.ComponentMetadata\");e={}}else{if(!o&&p===1){a.error(\"[nosync] The manifest of the component \"+t+\" is loaded with sync XHR.\",i,\"sap.ui.core.ComponentMetadata\")}else{a.info(\"The manifest of the component \"+t+\" is loaded from file \"+i+\".\")}try{var s=r.loadResource(i,{dataType:\"json\"});e=s}catch(n){a.error('Failed to load component manifest from \"'+i+'\" (component '+t+\")! Reason: \"+n);e={}}}this._applyManifest(e)}}return this._oManifest};c.prototype.getManifest=function(){return this._getManifest()};c.prototype._getManifest=function(){if(this.getMetadataVersion()===1){return this.getManifestObject().getRawJson()}return this.getManifestObject().getJson()};c.prototype.getRawManifest=function(){return this.getManifestObject().getRawJson()};c.prototype._getRawManifest=function(){a.warning(\"ComponentMetadata#_getRawManifest: do not use deprecated functions anymore!\");return this.getManifestObject().getRawJson()};c.prototype.getManifestEntry=function(e,t){return this._getManifestEntry(e,t)};c.prototype._getManifestEntry=function(e,t){var n=this.getManifestObject().getEntry(e);if(n!==undefined&&!s(n)){return n}var a,i;if(t&&(a=this.getParent())instanceof c){i=a._getManifestEntry(e,t)}if(i||n){n=o({},i,n)}return n};c.prototype.getCustomEntry=function(e,t){if(!e||e.indexOf(\".\")<=0){a.warning(\"Component Metadata entries with keys without namespace prefix can not be read via getCustomEntry. Key: \"+e+\", Component: \"+this.getName());return null}var n,i=this._oStaticInfo[e]||{};if(!s(i)){a.warning(\"Custom Component Metadata entry with key '\"+e+\"' must be an object. Component: \"+this.getName());return null}if(t&&(n=this.getParent())instanceof c){return o({},n.getCustomEntry(e,t),i)}return o({},i)};c.prototype.getComponentName=function(){return this._sComponentName};c.prototype.getDependencies=function(){if(!this._oLegacyDependencies){var e=this.getManifestEntry(\"/sap.ui5/dependencies\"),t=e&&e.minUI5Version||null,n=e&&e.libs||{},a=e&&e.components||{};var i={ui5version:t,libs:[],components:[]};for(var o in n){i.libs.push(o)}for(var s in a){i.components.push(s)}this._oLegacyDependencies=i}return this._oLegacyDependencies};c.prototype.getIncludes=function(){a.warning(\"Usage of sap.ui.core.ComponentMetadata.prototype.getIncludes() is deprecated. \"+\"For CSS files, please use the '/sap.ui5/resources/css' section in your 'manifest.json'. \",\"Deprecation\",null,function(){return{type:\"sap.ui.core.ComponentMetadata\",name:this.getName()}}.bind(this));if(!this._aLegacyIncludes){var e=[],t=this.getManifestEntry(\"/sap.ui5/resources\")||{},n=t&&t.css||[],i=t&&t.js||[];for(var o=0,s=n.length;o<s;o++){if(n[o]&&n[o].uri){e.push(n[o].uri)}}for(var o=0,s=i.length;o<s;o++){if(i[o]&&i[o].uri){e.push(i[o].uri)}}this._aLegacyIncludes=e.length>0?e:null}return this._aLegacyIncludes};c.prototype.getUI5Version=function(){return this.getManifestEntry(\"/sap.ui5/dependencies/minUI5Version\")};c.prototype.getComponents=function(){return this.getDependencies().components};c.prototype.getLibs=function(){return this.getDependencies().libs};c.prototype.getVersion=function(){return this.getManifestEntry(\"/sap.app/applicationVersion/version\")};c.prototype.getConfig=function(e,t){var n=this.getManifestEntry(\"/sap.ui5/config\",!t);if(!n){return{}}if(!e){return n}return n.hasOwnProperty(e)?n[e]:{}};c.prototype.getCustomizing=function(e){return this.getManifestEntry(\"/sap.ui5/extends/extensions\",!e)};c.prototype.getModels=function(e){if(!this._oLegacyModels){this._oLegacyModels={};var t=this.getManifestEntry(\"/sap.ui5/models\")||{};for(var n in t){var a=t[n];this._oLegacyModels[n]=a.settings||{};this._oLegacyModels[n].type=a.type;this._oLegacyModels[n].uri=a.uri}}var i,s=o({},this._oLegacyModels);if(!e&&(i=this.getParent())instanceof c){s=o({},i.getModels(),s)}return s};c.prototype.handleValidation=function(){return this.getManifestEntry(\"/sap.ui5/handleValidation\")};c.prototype.getServices=function(){a.warning(\"Usage of sap.ui.core.ComponentMetadata.prototype.getServices is deprecated!\");return this._oStaticInfo.services||{}};c.prototype._convertLegacyMetadata=function(e,t){var n=function(e,t){var n={};if(e){for(var a=0,i=e.length;a<i;a++){var o=e[a];if(typeof o===\"string\"){n[o]=typeof t===\"function\"&&t(o)||{}}}}return n};var a=t[\"sap.app\"];var i=t[\"sap.ui5\"];for(var o in e){var s=e[o];if(s!==undefined){switch(o){case\"name\":t[o]=t[o]||s;a[\"id\"]=a[\"id\"]||s;break;case\"description\":case\"keywords\":a[o]=a[o]||s;break;case\"version\":var r=a.applicationVersion=a.applicationVersion||{};r.version=r.version||s;break;case\"config\":i[o]=i[o]||s;break;case\"customizing\":var p=i[\"extends\"]=i[\"extends\"]||{};p.extensions=p.extensions||s;break;case\"dependencies\":if(!i[o]){i[o]={};i[o].minUI5Version=s.ui5version;i[o].libs=n(s.libs);i[o].components=n(s.components)}break;case\"includes\":if(!i[\"resources\"]){i[\"resources\"]={};if(s&&s.length>0){for(var c=0,f=s.length;c<f;c++){var u=s[c];var d=u.match(/\\.(css|js)$/i);if(d){i[\"resources\"][d[1]]=i[\"resources\"][d[1]]||[];i[\"resources\"][d[1]].push({uri:u})}}}}break;case\"handleValidation\":if(i[o]===undefined){i[o]=s}break;case\"models\":if(!i[\"models\"]){var g={};for(var h in s){var m=s[h];var l={};for(var y in m){var v=m[y];switch(y){case\"type\":case\"uri\":l[y]=v;break;default:l.settings=l.settings||{};l.settings[y]=v}}g[h]=l}i[\"models\"]=g}break}}}};return c},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ComponentRegistry\", [\"sap/base/Log\",\"sap/ui/base/ManagedObjectRegistry\",\"sap/ui/core/ElementRegistry\"],(e,t,n)=>{\"use strict\";const r=function(t){var r=sap.ui.require(\"sap/ui/core/Component\");n.forEach(function(n,a){var i=r.getOwnerIdFor(n);if(i===t&&!n.getParent()){if(n._sapui_candidateForDestroy){e.debug(\"destroying dangling template \"+n+\" when destroying the owner component\");n.destroy()}}})};const a=t.create({onDeregister:r});return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Configuration\", [\"sap/base/assert\",\"sap/base/config\",\"sap/base/Event\",\"sap/base/Log\",\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/base/util/Version\",\"sap/ui/base/DesignTime\",\"sap/ui/base/Object\",\"sap/ui/core/AnimationMode\",\"sap/ui/core/ControlBehavior\",\"sap/ui/core/getCompatibilityVersion\",\"sap/ui/core/Locale\",\"sap/ui/core/Supportability\",\"sap/ui/core/Theming\",\"sap/ui/security/Security\"],function(e,t,n,a,i,r,o,s,u,g,l,c,p,m,f,d){\"use strict\";var y=new o(\"1.139.0\");var C;var b;var h;function A(){h=h||{__count:0};h.__count++;return h}function T(){if(h&&--h.__count===0){var e=h;delete h.__count;h=undefined;b?.fireLocalizationChanged(e)}}var S=u.extend(\"sap.ui.core.Configuration\",{constructor:function(){u.call(this);a.error(\"Configuration is designed as a singleton and should not be created manually! \"+\"Please require 'sap/ui/core/Configuration' instead and use the module export directly without using 'new'.\");return S}});Object.assign(S,{getVersion:function(){return y},getCompatibilityVersion:c,getTheme:f.getTheme,setTheme:function(e){f.setTheme(e);return this},getLanguage:r.getLanguage,setLanguage:function(){r.setLanguage.apply(r,arguments);return S},getLanguageTag:function(){return r.getLanguageTag().toString()},getSAPLogonLanguage:r.getSAPLogonLanguage,getTimezone:r.getTimezone,setTimezone:function(){r.setTimezone.apply(r,arguments);return S},getCalendarType:i.getCalendarType,getCalendarWeekNumbering:i.getCalendarWeekNumbering,getRTL:r.getRTL,setRTL:function(){r.setRTL.apply(r,arguments);return S},getLocale:function(){var e=r.getLanguageTag();return p._getCoreLocale(e)},setCalendarType:function(e){i.setCalendarType.apply(i,arguments);return this},setCalendarWeekNumbering:function(e){i.setCalendarWeekNumbering.apply(i,arguments);return this},getFormatLocale:function(){return i.getLanguageTag().toString()},setFormatLocale:function(e){i.setLanguageTag.apply(i,arguments);return this},getLanguagesDeliveredWithCore:r.getLanguagesDeliveredWithCore,getSupportedLanguages:r.getSupportedLanguages,getAccessibility:l.isAccessibilityEnabled,getAutoAriaBodyRole:function(){return t.get({name:\"sapUiAutoAriaBodyRole\",type:t.Type.Boolean})},getAnimation:function(){var e=S.getAnimationMode();return e!==S.AnimationMode.minimal&&e!==S.AnimationMode.none},getAnimationMode:l.getAnimationMode,setAnimationMode:l.setAnimationMode,getFiori2Adaptation:function(){var e=t.get({name:\"sapUiXxFiori2Adaptation\",type:t.Type.StringArray,external:true}),n;if(e.length===0||e.length===1&&e[0]===\"false\"){n=false}else if(e.length===1&&e[0]===\"true\"){n=true}return n===undefined?e:n},getDebug:m.isDebugModeEnabled,getInspect:m.isControlInspectorEnabled,getOriginInfo:m.collectOriginInfo,getNoDuplicateIds:function(){return t.get({name:\"sapUiNoDuplicateIds\",type:t.Type.Boolean,defaultValue:true,external:true})},getUIDPrefix:function(){var e=sap.ui.require(\"sap/ui/base/ManagedObjectMetadata\");return e.getUIDPrefix()},getDesignMode:s.isDesignModeEnabled,getSuppressDeactivationOfControllerCode:s.isControllerCodeDeactivationSuppressed,getControllerCodeDeactivated:s.isControllerCodeDeactivated,getApplication:function(){return t.get({name:\"sapUiApplication\",type:t.Type.String,external:true})},getRootComponent:function(){return t.get({name:\"sapUiRootComponent\",type:t.Type.String})},getAppCacheBuster:function(){return t.get({name:\"sapUiAppCacheBuster\",type:t.Type.StringArray,external:true,freeze:true})},getAppCacheBusterMode:function(){return t.get({name:\"sapUiXxAppCacheBusterMode\",type:t.Type.String,defaultValue:\"sync\",external:true,freeze:true})},getDisableCustomizing:function(){return t.get({name:\"sapUiXxDisableCustomizing\",type:t.Type.Boolean})},getManifestFirst:function(){return t.get({name:\"sapUiManifestFirst\",type:t.Type.Boolean,external:true})},getFlexibilityServices:function(){var e=sap.ui.require(\"sap/ui/fl/initial/_internal/FlexConfiguration\");var n;if(e){n=e.getFlexibilityServices()}else{const e=[{url:\"/sap/bc/lrep\",connector:\"LrepConnector\"}];n=t.get({name:\"sapUiFlexibilityServices\",type:t=>{if(t&&typeof t===\"string\"){if(t[0]===\"/\"){e[0].url=t;t=e}else{t=JSON.parse(t)}}return t||[]},defaultValue:e,external:true})}return n},getFormatSettings:function(){return C},getFrameOptions:d.getFrameOptions,getWhitelistService:d.getAllowlistService,getAllowlistService:d.getAllowlistService,getFileShareSupport:function(){return t.get({name:\"sapUiFileShareSupport\",type:t.Type.String,defaultValue:undefined})},getStatistics:S.getStatisticsEnabled,getStatisticsEnabled:m.isStatisticsEnabled,getNoNativeScroll:function(){return false},getActiveTerminologies:r.getActiveTerminologies,getSecurityTokenHandlers:d.getSecurityTokenHandlers,setSecurityTokenHandlers:d.setSecurityTokenHandlers,applySettings:function(t){function n(e,t){var i,r;for(i in t){r=\"set\"+i.slice(0,1).toUpperCase()+i.slice(1);if(i===\"formatSettings\"&&C){n(C,t[i])}else if(typeof e[r]===\"function\"){e[r](t[i])}else{a.warning(\"Configuration.applySettings: unknown setting '\"+i+\"' ignored\")}}}e(typeof t===\"object\",\"mSettings must be an object\");A();n(S,t);T();return this},setCore:function(e){b=e}});S.AnimationMode=g;function L(e,t){if(!e){throw new Error(t)}}var D=u.extend(\"sap.ui.core.Configuration.FormatSettings\",{constructor:function(){u.call(this);this.mSettings={}},getFormatLocale:function(){var e=i.getLanguageTag();return p._getCoreLocale(e)},_set:i._set,getCustomUnits:i.getCustomUnits,setCustomUnits:function(){i.setCustomUnits.apply(i,arguments);return this},addCustomUnits:function(){i.addCustomUnits.apply(i,arguments);return this},setUnitMappings:function(){i.setUnitMappings.apply(i,arguments);return this},addUnitMappings:function(){i.addUnitMappings.apply(i,arguments);return this},getUnitMappings:i.getUnitMappings,getDatePattern:i.getDatePattern,setDatePattern:function(){i.setDatePattern.apply(i,arguments);return this},getTimePattern:i.getTimePattern,setTimePattern:function(){i.setTimePattern.apply(i,arguments);return this},getNumberSymbol:i.getNumberSymbol,setNumberSymbol:function(){i.setNumberSymbol.apply(i,arguments);return this},getCustomCurrencies:i.getCustomCurrencies,setCustomCurrencies:function(){i.setCustomCurrencies.apply(i,arguments);return this},addCustomCurrencies:function(){i.addCustomCurrencies.apply(i,arguments);return this},setFirstDayOfWeek:function(e){L(typeof e==\"number\"&&e>=0&&e<=6,\"iValue must be an integer value between 0 and 6\");i._set(\"weekData-firstDay\",e);return this},_setDayPeriods:i._setDayPeriods,getLegacyDateFormat:i.getABAPDateFormat,setLegacyDateFormat:function(){i.setABAPDateFormat.apply(i,arguments);return this},getLegacyTimeFormat:i.getABAPTimeFormat,setLegacyTimeFormat:function(){i.setABAPTimeFormat.apply(i,arguments);return this},getLegacyNumberFormat:i.getABAPNumberFormat,setLegacyNumberFormat:function(){i.setABAPNumberFormat.apply(i,arguments);return this},setLegacyDateCalendarCustomizing:function(){i.setCustomIslamicCalendarData.apply(i,arguments);return this},getLegacyDateCalendarCustomizing:i.getCustomIslamicCalendarData,setTrailingCurrencyCode:function(){i.setTrailingCurrencyCode.apply(i,arguments);return this},getTrailingCurrencyCode:i.getTrailingCurrencyCode,getCustomLocaleData:i.getCustomLocaleData});C=new D(this);r.attachChange(function(e){if(!h&&b){b.fireLocalizationChanged(n.getParameters(e))}else if(h){Object.assign(h,n.getParameters(e))}});i.attachChange(function(e){const t=n.getParameters(e);Object.keys(e).forEach(e=>{if([\"ABAPDateFormat\",\"ABAPTimeFormat\",\"ABAPNumberFormat\"].includes(e)){t[e.replace(\"ABAP\",\"legacy\")]=t[e];delete t[e]}else if(e===\"customIslamicCalendarData\"){t[\"legacyDateCalendarCustomizing\"]=t[e];delete t[e]}});if(!h&&b){b.fireLocalizationChanged(t)}else if(h){Object.assign(h,t)}});return S});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ControlBehavior\", [\"sap/base/config\",\"sap/base/Eventing\",\"sap/ui/core/AnimationMode\"],(e,n,t)=>{\"use strict\";const a=e.getWritableInstance();const i=new n;const o={attachChange:e=>{i.attachEvent(\"change\",e)},detachChange:e=>{i.detachEvent(\"change\",e)},isAccessibilityEnabled:()=>a.get({name:\"sapUiAccessibility\",type:e.Type.Boolean,defaultValue:true,external:true}),getAnimationMode:()=>{const n=a.get({name:\"sapUiAnimation\",type:e.Type.Boolean,defaultValue:undefined,external:true})===false?t.minimal:undefined;return a.get({name:\"sapUiAnimationMode\",type:t,defaultValue:n??t.full,external:true})},setAnimationMode:n=>{e._.checkEnum(t,n,\"animationMode\");const i=a.get({name:\"sapUiAnimationMode\",type:t,defaultValue:undefined,external:true});a.set(\"sapUiAnimationMode\",n);if(i!=n){s({animationMode:n})}}};function s(e){i.fireEvent(\"change\",e)}return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Core\", [\"./AnimationMode\",\"./Component\",\"./Configuration\",\"./ControlBehavior\",\"./Element\",\"./ElementRegistry\",\"./Lib\",\"./LocaleData\",\"./Rendering\",\"./RenderManager\",\"./UIArea\",\"./Messaging\",\"./StaticArea\",\"./Supportability\",\"./Theming\",\"sap/base/assert\",\"sap/base/config\",\"sap/base/Event\",\"sap/base/Log\",\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/base/util/Deferred\",\"sap/base/util/isEmptyObject\",\"sap/base/util/ObjectPath\",\"sap/base/util/Version\",\"sap/ui/Device\",\"sap/ui/Global\",\"sap/ui/VersionInfo\",\"sap/ui/base/EventProvider\",\"sap/ui/base/Interface\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/Object\",\"sap/ui/base/syncXHRFix\",\"sap/ui/core/support/Hotkeys\",\"sap/ui/core/util/_LocalizationHelper\",\"sap/ui/dom/getComputedStyleFix\",\"sap/ui/performance/Measurement\",\"sap/ui/performance/trace/initTraces\",\"sap/ui/security/FrameOptions\",\"sap/ui/security/Security\",\"sap/ui/test/RecorderHotkeyListener\",\"sap/ui/thirdparty/jquery\",\"jquery.sap.global\",\"sap/ui/events/PasteEventFix\",\"sap/ui/events/jquery/EventSimulation\",\"sap/ui/thirdparty/URI\",\"sap/ui/thirdparty/jqueryui/jquery-ui-position\"],function(e,t,n,i,o,r,a,s,u,p,c,l,d,f,h,g,y,m,b,v,E,C,T,S,M,L,I,R,_,A,P,w,j,O,V,U,B,k,z,x,N,jQuery){\"use strict\";var q;const F=\"1.139.0\";const D=Object.assign({},I.buildinfo);Object.freeze(D);if(L.browser.firefox){U();if(L.browser.version<129){j()}}if(y.get({name:\"sapUiNoConflict\",type:y.Type.Boolean,freeze:true})){jQuery.noConflict()}const H=y.get({name:\"sapUiLogLevel\",type:y.Type.String,defaultValue:undefined,external:true});if(H){b.setLevel(b.Level[H.toUpperCase()]||parseInt(H))}else if(!globalThis[\"sap-ui-optimized\"]){b.setLevel(b.Level.DEBUG)}const X=M(jQuery.fn.jquery);if(X.compareTo(\"3.6.0\")!=0){b.warning(\"SAPUI5's default jQuery version is 3.6.0; current version is \"+jQuery.fn.jquery+\". Please note that we only support version 3.6.0.\")}sap.ui.loader._.logger=b.getLogger(\"sap.ui.ModuleSystem\",y.get({name:\"sapUiXxDebugModuleLoading\",type:y.Type.Boolean,external:true,freeze:true})?b.Level.DEBUG:Math.min(b.getLevel(),b.Level.INFO));O.init();N.init();if(sap.ui.getCore&&sap.ui.getCore()){return sap.ui.getCore()}k();var $;var G=function(){var e=y.get({name:\"sapUiOnInit\",type:e=>{if(typeof e===\"string\"||typeof e===\"function\"){return e}else{throw new TypeError(\"unsupported value\")}}});if(e){if(typeof e===\"string\"){var t=/^module\\:((?:[_$.\\-a-zA-Z0-9]+\\/)*[_$.\\-a-zA-Z0-9]+)$/.exec(e);if(t&&t[1]){setTimeout(sap.ui.require.bind(null,[t[1]]),0)}else if(typeof globalThis[e]===\"function\"){globalThis[e]()}else{throw Error(\"Invalid init module \"+e+\" provided via config option 'sapUiOnInit'\")}}else{e()}}};function Z(){var e=y.get({name:\"sapUiOnInit\",type:y.Type.Code,defaultValue:y.get({name:\"sapUiEvtOninit\",type:y.Type.Code})});if(e){if(typeof e===\"function\"){e()}else if(typeof e===\"string\"){var t=/^module\\:((?:[_$.\\-a-zA-Z0-9]+\\/)*[_$.\\-a-zA-Z0-9]+)$/.exec(e);if(t&&t[1]){setTimeout(sap.ui.require.bind(sap.ui,[t[1]]),0)}else{var n=S.get(e);if(typeof n===\"function\"){n()}else{b.warning(\"[Deprecated] Do not use inline JavaScript code with the oninit attribute.\"+\" Use the module:... syntax or the name of a global function\");window.eval(e)}}}}}function W(){var e=y.get({name:\"sapUiXxWaitForTheme\",type:y.Type.String,external:true}).toLowerCase();if(e===\"true\"){e=\"rendering\"}if(e!==\"rendering\"&&e!==\"init\"){e=undefined}return e}function J(e){if(/^jquery\\.sap\\./.test(e)){return e}return e.replace(/\\./g,\"/\")}var K=function(e,t){var n=[],i=0,o=0;this.startTask=function(e){var t=n.length;n[t]={name:e,finished:false};i++;return t};this.finishTask=function(t,a){if(!n[t]||n[t].finished){throw new Error(\"trying to finish non existing or already finished task\")}n[t].finished=true;i--;if(a===false){o++}if(i===0){b.info(\"Sync point '\"+e+\"' finished (tasks:\"+n.length+\", open:\"+i+\", failures:\"+o+\")\");r()}};function r(){if(t){t(i,o)}t=null}b.info(\"Sync point '\"+e+\"' created\")};var Q=w.extend(\"sap.ui.core.Core\",{constructor:function(){w.call(this);var e=this,t=\"sap.ui.core.Core\";if(q){b.error(\"Only the framework must create an instance of sap/ui/core/Core.\"+\" To get access to its functionality, require sap/ui/core/Core,\"+\" and use the module export directly without using 'new'.\");return q}$=new _;[\"attachEvent\",\"detachEvent\",\"getEventingParent\"].forEach(function(e){Q.prototype[e]=$[e].bind($)});this.bBooted=false;this.bInitialized=false;this.bReady=false;this.aPlugins=[];this.oModels={};this.oEventBus=null;Object.defineProperty(this,\"mElements\",{get:function(){b.error(\"oCore.mElements was a private member and has been removed. Use one of the methods in sap.ui.core.ElementRegistry instead\");return r.all()},configurable:false});this.mObjects={template:{}};this.oRootComponent=null;this.pReady=new C;this.bInitLegacyLib=false;b.info(\"Creating Core\",null,t);B.start(\"coreComplete\",\"Core.js - complete\");B.start(\"coreBoot\",\"Core.js - boot\");B.start(\"coreInit\",\"Core.js - init\");var i=sap.ui.require(\"sap/base/config/GlobalConfigurationProvider\");i.freeze();(()=>{const e=globalThis[\"sap-ui-config\"];for(const t in e){const n=e[t];const i=t.toLowerCase();if(!Object.hasOwn(e,i)){e[i]=n;delete e[t]}}})();const o={};const s=y.get({name:\"sapUiResourceRoots\",type:y.Type.MergedObject})??{};for(const e in s){o[J(e)]=s[e]||\".\"}sap.ui.loader.config({paths:o});n.setCore(this);(function(){var e=y.get({name:\"sapUiXxHandleValidation\",type:y.Type.Boolean,external:true});if(e){l.registerObject(this,true)}}).bind(this)();var u=y.get({name:\"sapUiFrameOptionsConfig\",type:y.Type.Object});u.mode=x.getFrameOptions();u.allowlistService=x.getAllowlistService();this.oFrameOptions=new z(u);this.aModules=y.get({name:\"sapUiModules\",type:y.Type.StringArray})??[];this.aLibs=y.get({name:\"sapUiLibs\",type:y.Type.StringArray})??[];this.aModules=this.aModules.filter(e=>{const t=e.match(/^(.*)\\.library$/);if(t){this.aLibs.push(t[1])}else{return e}});(()=>{const e=\"/sap/bc/lrep\";const t=y.get({name:\"sapUiFlexibilityServices\",type:e=>e,external:true,defaultValue:e});const n=y.get({name:\"sapUiXxSkipAutomaticFlLibLoading\",type:y.Type.Boolean,external:true});if(t&&t!==e&&!n&&!this.aLibs.includes(\"sap.ui.fl\")){this.aLibs.push(\"sap.ui.fl\")}})();if(f.isDebugModeEnabled()){this.aModules.unshift(\"sap.ui.debug.DebugEnv\")}var p=this.aLibs.indexOf(\"sap.ui.core\");if(p!=0){if(p>0){this.aLibs.splice(p,1)}this.aLibs.unshift(\"sap.ui.core\")}if(y.get({name:\"sapUiXxLesssupport\",type:y.Type.Boolean})&&!this.aModules.includes(\"sap.ui.core.plugin.LessSupport\")){b.info(\"Including LessSupport into declared modules\");this.aModules.push(\"sap.ui.core.plugin.LessSupport\")}var c=a.getPreloadMode();var d=c===\"async\"||sap.ui.loader.config().async;document.documentElement.classList.add(\"sapUiTheme-\"+h.getTheme());b.info(\"Declared theme \"+h.getTheme(),null,t);b.info(\"Declared modules: \"+this.aModules,t);b.info(\"Declared libraries: \"+this.aLibs,t);V.init();V.registerForUpdate(\"Core\",()=>({Core:this}));this._setupBrowser();this._setupOS();this._setupAnimation();sap.ui.getCore=function(){return e.getInterface()};var g=new K(\"UI5 Document Ready\",function(t,n){e.init()});var m=g.startTask(\"document.ready\");var v=g.startTask(\"preload and boot\");var E=function(){b.trace(\"document is ready\");g.finishTask(m);document.removeEventListener(\"DOMContentLoaded\",E)};if(document.readyState!==\"loading\"){E()}else{document.addEventListener(\"DOMContentLoaded\",E)}var T=new K(\"UI5 Core Preloads and Bootstrap Script\",function(t,n){b.trace(\"Core loaded: open=\"+t+\", failures=\"+n);e._boot(d,function(){g.finishTask(v);B.end(\"coreBoot\")})});var S=T.startTask(\"create sp2 tasks task\");if(a.getVersionedLibCss()){var M=T.startTask(\"load version info\");var L=function(e){if(e){b.trace('Loaded \"sap-ui-version.json\".')}else{b.error('Could not load \"sap-ui-version.json\".')}T.finishTask(M)};if(d){R.load().then(L,function(e){b.error('Unexpected error when loading \"sap-ui-version.json\": '+e);T.finishTask(M)})}else{L(sap.ui.getVersionInfo({async:d,failOnError:false}))}}this._polyfillFlexbox();var I=T.startTask(\"bootstrap script\");this.boot=function(){if(this.bBooted){return}this.bBooted=true;A.call(this);T.finishTask(I)};function A(){var t=y.get({name:\"sapUiXxBootTask\",type:y.Type.Function});if(t){var n=T.startTask(\"custom boot task\");t(function(e){T.finishTask(n,typeof e===\"undefined\"||e===true)})}if(c===\"sync\"||c===\"async\"){var i=a._load(e.aLibs,{sync:!d,preloadOnly:true});if(d){var o=T.startTask(\"preload bootstrap libraries\");i.then(function(){T.finishTask(o)},function(){T.finishTask(o,false)})}}var r=y.get({name:\"sapUiAppCacheBuster\",type:y.Type.StringArray,external:true,freeze:true});if(r&&r.length>0){if(d){var s=T.startTask(\"require AppCachebuster\");sap.ui.require([\"sap/ui/core/AppCacheBuster\"],function(e){e.boot(T,r);T.finishTask(s)})}if(!d){var u=sap.ui.requireSync(\"sap/ui/core/AppCacheBuster\");u.boot(T,r)}}if(f.getSupportSettings()!==null){var p=T.startTask(\"support info script\");var l=function(e,t){e.initializeSupportMode(f.getSupportSettings(),d);t.initSupportRules(f.getSupportSettings());T.finishTask(p)};if(d){sap.ui.require([\"sap/ui/core/support/Support\",\"sap/ui/support/Bootstrap\"],l,function(e){b.error(\"Could not load support mode modules:\",e)})}if(!d){b.warning(\"Synchronous loading of Support mode. Set preload configuration to 'async' or switch to asynchronous bootstrap to prevent these synchronous request.\",\"SyncXHR\",null,function(){return{type:\"SyncXHR\",name:\"support-mode\"}});l(sap.ui.requireSync(\"sap/ui/core/support/Support\"),sap.ui.requireSync(\"sap/ui/support/Bootstrap\"))}}if(f.getTestRecorderSettings()!==null){var h=T.startTask(\"test recorder script\");var g=function(e){e.init(f.getTestRecorderSettings());T.finishTask(h)};if(d){sap.ui.require([\"sap/ui/testrecorder/Bootstrap\"],g,function(e){b.error(\"Could not load test recorder:\",e)})}if(!d){b.warning(\"Synchronous loading of Test recorder mode. Set preload configuration to 'async' or switch to asynchronous bootstrap to prevent these synchronous request.\",\"SyncXHR\",null,function(){return{type:\"SyncXHR\",name:\"test-recorder-mode\"}});g(sap.ui.requireSync(\"sap/ui/testrecorder/Bootstrap\"))}}T.finishTask(S)}},metadata:{publicMethods:[\"ready\",\"boot\",\"getConfiguration\",\"isMobile\",\"isInitialized\",\"attachInit\",\"lock\",\"unlock\",\"isLocked\",\"attachInitEvent\",\"registerPlugin\",\"unregisterPlugin\",\"setRoot\",\"getRootComponent\",\"getApplication\",\"getControl\",\"getComponent\",\"getTemplate\",\"createComponent\",\"getCurrentFocusedControlId\",\"getEventBus\",\"byId\",\"attachIntervalTimer\",\"detachIntervalTimer\",\"getElementById\",\"byFieldGroupId\",\"getLoadedLibraries\",\"loadLibrary\",\"initLibrary\",\"getLibraryResourceBundle\",\"attachLibraryChanged\",\"detachLibraryChanged\",\"loadLibraries\",\"setModel\",\"getModel\",\"hasModel\",\"getMessageManager\",\"attachEvent\",\"detachEvent\",\"attachControlEvent\",\"detachControlEvent\",\"attachParseError\",\"detachParseError\",\"attachValidationError\",\"detachValidationError\",\"attachFormatError\",\"detachFormatError\",\"attachValidationSuccess\",\"detachValidationSuccess\",\"attachLocalizationChanged\",\"detachLocalizationChanged\",\"fireFormatError\",\"fireValidationSuccess\",\"fireValidationError\",\"fireParseError\",\"getStaticAreaRef\",\"isStaticAreaRef\",\"createRenderManager\",\"createUIArea\",\"getUIArea\",\"getUIDirty\",\"applyChanges\",\"getRenderManager\",\"addPrerenderingTask\",\"applyTheme\",\"setThemeRoot\",\"attachThemeChanged\",\"detachThemeChanged\",\"isThemeApplied\",\"notifyContentDensityChanged\",\"attachThemeScopingChanged\",\"detachThemeScopingChanged\",\"fireThemeScopingChanged\",\"includeLibraryTheme\"]}});Q.prototype.getInterface=function(){const e=w.prototype.getInterface.call(this);Object.defineProperties(e,{version:{value:F},buildinfo:{value:D}});return e};Q.M_EVENTS={ControlEvent:\"ControlEvent\",UIUpdated:\"UIUpdated\",ThemeChanged:\"ThemeChanged\",ThemeScopingChanged:\"themeScopingChanged\",LocalizationChanged:\"localizationChanged\",LibraryChanged:\"libraryChanged\",ValidationError:\"validationError\",ParseError:\"parseError\",FormatError:\"formatError\",ValidationSuccess:\"validationSuccess\"};Q.prototype._setupBrowser=function(){var e=\"sap.ui.core.Core\";var t=document.documentElement;var n=L.browser;var i=n.name;if(i){if(i===n.BROWSER.SAFARI&&n.mobile){i=\"m\"+i}i=i+(n.version===-1?\"\":Math.floor(n.version));t.dataset.sapUiBrowser=i;b.debug(\"Browser-Id: \"+i,null,e)}};Q.prototype._setupOS=function(){var e=document.documentElement;e.dataset.sapUiOs=L.os.name+L.os.versionStr;var t=null;switch(L.os.name){case L.os.OS.IOS:t=\"sap-ios\";break;case L.os.OS.ANDROID:t=\"sap-android\";break}if(t){e.classList.add(t)}};Q.prototype._setupAnimation=function(){function t(){var t=document.documentElement;var n=i.getAnimationMode();t.dataset.sapUiAnimationMode=n;var o=n!==e.minimal&&n!==e.none;t.dataset.sapUiAnimation=o?\"on\":\"off\";if(typeof jQuery!==\"undefined\"){jQuery.fx.off=!o}}i.attachChange(function(e){if(e.animationMode){t()}});t()};Q.prototype._polyfillFlexbox=function(){jQuery.support.useFlexBoxPolyfill=false};Q.prototype._boot=function(e,t){this.aModules.push(\"sap/ui/core/date/\"+v.getCalendarType());this.aModules.push(\"sap/ui/core/boot/FieldHelpEndpoint\");this.aModules.push(\"sap/ui/core/boot/KeyboardInteractionEndpoint\");if(e){return this._requireModulesAsync().then(function(){t()})}b.warning(\"Modules and libraries declared via bootstrap-configuration are loaded synchronously. Set preload configuration to\"+\" 'async' or switch to asynchronous bootstrap to prevent these requests.\",\"SyncXHR\",null,function(){return{type:\"SyncXHR\",name:\"legacy-module\"}});this.aLibs.forEach(function(e){a._load(e,{sync:true})});this.aModules.forEach(function(e){sap.ui.requireSync(/^jquery\\.sap\\./.test(e)?e:e.replace(/\\./g,\"/\"))});t()};Q.prototype._requireModulesAsync=function(){var e=[];this.aModules.forEach(function(t){e.push(/^jquery\\.sap\\./.test(t)?t:t.replace(/\\./g,\"/\"))});return Promise.all([a._load(this.aLibs),new Promise(function(t){sap.ui.require(e,function(){t(Array.prototype.slice.call(arguments))})}),s.requestInstance(E.getLanguageTag())])};Q.prototype.applyTheme=function(e,t){g(typeof e===\"string\",\"sThemeName must be a string\");g(typeof t===\"string\"||typeof t===\"undefined\",\"sThemeBaseUrl must be a string or undefined\");if(t){h.setThemeRoot(e,t)}h.setTheme(e)};Q.prototype.setThemeRoot=function(e,t,n,i){if(typeof t===\"string\"){i=n;n=t;t=undefined}h.setThemeRoot(e,n,t,i);return this};Q.prototype.init=function(){if(this.bInitialized){return}c.setCore(this);var e=\"sap.ui.core.Core.init()\";b.info(\"Initializing\",null,e);B.end(\"coreInit\");this._setBodyAccessibilityRole();var t=W();if(this.isThemeApplied()||!t){this._executeInitialization()}else{u.suspend();if(t===\"rendering\"){u.notifyInteractionStep();this._executeInitialization();u.getLogger().debug(\"delay initial rendering until theme has been loaded\");h.attachAppliedOnce(function(){u.resume(\"after theme has been loaded\")})}else if(t===\"init\"){u.getLogger().debug(\"delay init event and initial rendering until theme has been loaded\");u.notifyInteractionStep();h.attachAppliedOnce(function(){this._executeInitialization();u.resume(\"after theme has been loaded\")}.bind(this))}}};Q.prototype._setupRootComponent=function(){var e=\"sap.ui.core.Core.init()\";var t=n.getRootComponent();if(t){b.info(\"Loading Root Component: \"+t,null,e);var i=sap.ui.component({name:t});this.oRootComponent=i;var o=y.get({name:\"sapUiXxRootComponentNode\",type:y.Type.String});if(o&&i.isA(\"sap.ui.core.UIComponent\")){var r=document.getElementById(o);if(r){b.info(\"Creating ComponentContainer for Root Component: \"+t,null,e);var a=sap.ui.requireSync(\"sap/ui/core/ComponentContainer\"),s=new a({component:i,propagateModel:true});s.placeAt(r)}}}else{var u=n.getApplication();if(u){b.warning(\"The configuration 'application' is deprecated. Please use the configuration 'component' instead! \"+\"Please migrate from sap.ui.app.Application to sap.ui.core.Component.\",\"SyncXHR\",null,function(){return{type:\"Deprecation\",name:\"sap.ui.core\"}});b.info(\"Loading Application: \"+u,null,e);sap.ui.requireSync(u.replace(/\\./g,\"/\"));var p=S.get(u);g(p!==undefined,'The specified application \"'+u+'\" could not be found!');var c=new p;g(w.isObjectA(c,\"sap.ui.app.Application\"),'The specified application \"'+u+'\" must be an instance of sap.ui.app.Application!')}}};Q.prototype._setBodyAccessibilityRole=function(){var e=document.body;if(i.isAccessibilityEnabled()&&n.getAutoAriaBodyRole()&&!e.getAttribute(\"role\")){e.setAttribute(\"role\",\"application\")}};Q.prototype._executeInitialization=function(){var e=\"sap.ui.core.Core.init()\";if(this.bInitialized){return}this.bInitialized=true;b.info(\"Initialized\",null,e);b.info(\"Starting Plugins\",null,e);this.startPlugins();b.info(\"Plugins started\",null,e);G=Z;G();this._setupRootComponent();this.pReady.resolve();this.bReady=true};Q.prototype.isInitialized=function(){return this.bInitialized};Q.prototype.isThemeApplied=function(){var e=false;function t(){e=true}h.attachAppliedOnce(t);return e};h.attachApplied(function(e){$&&$.fireEvent(Q.M_EVENTS.ThemeChanged,m.getParameters(e))});Q.prototype.attachInitEvent=function(e){g(typeof e===\"function\",\"fnFunction must be a function\");if(!this.bReady){this.pReady.promise.then(e)}};Q.prototype.attachInit=function(e){g(typeof e===\"function\",\"fnFunction must be a function\");this.ready(e)};Q.prototype.lock=function(){this.bLocked=true;c.registry.forEach(e=>{e.lock()})};Q.prototype.unlock=function(){this.bLocked=false;c.registry.forEach(e=>{e.unlock()})};Q.prototype.isLocked=function(){return this.bLocked};Q.prototype.getConfiguration=function(){return n};Q.prototype.getRenderManager=function(){return this.createRenderManager()};Q.prototype.createRenderManager=function(){g(this.isInitialized(),\"A RenderManager should be created only after the Core has been initialized\");var e=new p;return e.getInterface()};Q.prototype.getCurrentFocusedControlId=function(){if(!this.isInitialized()){throw new Error(\"Core must be initialized\")}return o.getActiveElement()?.getId()||null};Q.prototype.loadLibrary=function(e,t){var n={name:e};var i={sync:true};if(typeof t===\"boolean\"){i.sync=!t}else if(typeof t===\"string\"){n.url=t}else if(typeof t===\"object\"){i.sync=!t.async;n.url=t.url}var o=a. Copyright 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Locale\", [\"sap/base/assert\",\"sap/ui/base/Object\",\"sap/base/i18n/Localization\",\"sap/base/i18n/LanguageTag\"],function(t,n,e,a){\"use strict\";var i=Object.create(null);var s=n.extend(\"sap.ui.core.Locale\",{constructor:function(t){n.apply(this);if(t instanceof a){this.oLanguageTag=t;this.sLocaleId=this.oLanguageTag.toString()}else{this.oLanguageTag=new a(t);this.sLocaleId=t}Object.assign(this,this.oLanguageTag);this.sLanguage=this.language},getLanguage:function(){return this.language},getScript:function(){return this.script},getRegion:function(){return this.region},getVariant:function(){return this.variant},getVariantSubtags:function(){return this.variantSubtags},getExtension:function(){return this.extension},getExtensionSubtags:function(){return this.extensionSubtags},getPrivateUse:function(){return this.privateUse},getPrivateUseSubtags:function(){return this.privateUseSubtags},hasPrivateUseSubtag:function(n){t(n&&n.match(/^[0-9A-Z]{1,8}$/i),\"subtag must be a valid BCP47 private use tag\");return this.privateUseSubtags.indexOf(n)>=0},toString:function(){return this.oLanguageTag.toString()},getSAPLogonLanguage:function(){return e._getSAPLogonLanguage(this)}});s._getCoreLocale=function(t){if(t instanceof a){t=i[t.toString()]||new s(t);i[t.toString()]=t}return t};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/LocaleData\", [\"./Locale\",\"sap/base/assert\",\"sap/base/i18n/Formatting\",\"sap/base/i18n/LanguageTag\",\"sap/base/i18n/Localization\",\"sap/base/i18n/date/CalendarType\",\"sap/base/i18n/date/CalendarWeekNumbering\",\"sap/base/util/extend\",\"sap/base/util/LoaderExtensions\",\"sap/ui/base/Object\",\"sap/ui/base/SyncPromise\"],function(e,t,r,n,i,a,o,s,u,l,c){\"use strict\";var f=/c/i,g=/e/i,m=/^([+-]?)((\\d+)(?:\\.(\\d+))?)[eE]([+-]?\\d+)$/,h=/0+$/;const d=/(.*)?\\{[0|1]}(.*)?\\{[0|1]}(.*)?/;const p=/^0+$/;const _=[\"narrow\",\"abbreviated\",\"wide\"];const y={\"acceleration-meter-per-second-squared\":\"acceleration-meter-per-square-second\",\"concentr-milligram-per-deciliter\":\"concentr-milligram-ofglucose-per-deciliter\",\"concentr-part-per-million\":\"concentr-permillion\",\"consumption-liter-per-100kilometers\":\"consumption-liter-per-100-kilometer\",\"mass-metric-ton\":\"mass-tonne\",\"pressure-millimeter-of-mercury\":\"pressure-millimeter-ofhg\",\"pressure-pound-per-square-inch\":\"pressure-pound-force-per-square-inch\",\"pressure-inch-hg\":\"pressure-inch-ofhg\",\"torque-pound-foot\":\"torque-pound-force-foot\"};let v={};var b=l.extend(\"sap.ui.core.LocaleData\",{constructor:function(t,r){l.apply(this);this.oLocale=e._getCoreLocale(t);this.loaded=T(this.oLocale,r).then(e=>{this.mData=e.mData;this.sCLDRLocaleId=e.sCLDRLocaleId;return this});this.loaded.finally(()=>{delete this.loaded})},_get:function(){return this._getDeep(this.mData,arguments)},_getMerged:function(){return this._get.apply(this,arguments)},_getMonthsWithAlternatives:function(e,t){return this._get(k(t),\"months\",\"format\",e)},_getMonthsStandAloneWithAlternatives:function(e,t){return this._get(k(t),\"months\",\"stand-alone\",e)},_getDeep:function(e,t){var r=e;for(var n=0;n<t.length;n++){r=r[t[n]];if(r===undefined){break}}return r},getOrientation:function(){return this._get(\"orientation\")},getCurrentLanguageName:function(){return this.getLanguageName(this.oLocale.toString())},getLanguageName:function(e){const t=new n(e);let r=i.getModernLanguage(t.language);let a=t.script;if(r===\"sr\"&&a===\"Latn\"){r=\"sh\";a=null}const o=t.region;const s=this._get(\"languages\");const u=s[r];if(!a&&!o||!u){return u}const l=s[r+\"_\"+o]||s[r+\"_\"+a];if(l){return l}if(a){const e=this._get(\"scripts\")[a];if(e){return u+\" (\"+e+\")\"}}if(o){const e=this._get(\"territories\")[o];if(e){return u+\" (\"+e+\")\"}}return u},getLanguages:function(){const e=this._get(\"languages\");[\"ar_001\",\"de_AT\",\"de_CH\",\"en_AU\",\"en_CA\",\"en_GB\",\"en_US\",\"es_419\",\"es_ES\",\"es_MX\",\"fa_AF\",\"fr_CA\",\"fr_CH\",\"nds_NL\",\"nl_BE\",\"pt_BR\",\"pt_PT\",\"ro_MD\",\"sw_CD\",\"zh_Hans\",\"zh_Hant\"].forEach(t=>{if(!e[t]){e[t]=this.getLanguageName(t)}});return e},getScripts:function(){return this._get(\"scripts\")},getTerritories:function(){return this._get(\"territories\")},getMonths:function(e,r){t(_.includes(e),\"sWidth must be narrow, abbreviated or wide\");return this._get(k(r),\"months\",\"format\",e).map(e=>Array.isArray(e)?e[0]:e)},getMonthsStandAlone:function(e,r){t(_.includes(e),\"sWidth must be narrow, abbreviated or wide\");return this._get(k(r),\"months\",\"stand-alone\",e).map(e=>Array.isArray(e)?e[0]:e)},getDays:function(e,r){t(e==\"narrow\"||e==\"abbreviated\"||e==\"wide\"||e==\"short\",\"sWidth must be narrow, abbreviate, wide or short\");return this._get(k(r),\"days\",\"format\",e)},getDaysStandAlone:function(e,r){t(e==\"narrow\"||e==\"abbreviated\"||e==\"wide\"||e==\"short\",\"sWidth must be narrow, abbreviated, wide or short\");return this._get(k(r),\"days\",\"stand-alone\",e)},getQuarters:function(e,r){t(e==\"narrow\"||e==\"abbreviated\"||e==\"wide\",\"sWidth must be narrow, abbreviated or wide\");return this._get(k(r),\"quarters\",\"format\",e)},getQuartersStandAlone:function(e,r){t(e==\"narrow\"||e==\"abbreviated\"||e==\"wide\",\"sWidth must be narrow, abbreviated or wide\");return this._get(k(r),\"quarters\",\"stand-alone\",e)},getDayPeriods:function(e,r){t(e==\"narrow\"||e==\"abbreviated\"||e==\"wide\",\"sWidth must be narrow, abbreviated or wide\");return this._get(k(r),\"dayPeriods\",\"format\",e)},getDayPeriodsStandAlone:function(e,r){t(e==\"narrow\"||e==\"abbreviated\"||e==\"wide\",\"sWidth must be narrow, abbreviated or wide\");return this._get(k(r),\"dayPeriods\",\"stand-alone\",e)},getDatePattern:function(e,r){t(e==\"short\"||e==\"medium\"||e==\"long\"||e==\"full\",\"sStyle must be short, medium, long or full\");return this._get(k(r),\"dateFormats\",e)},getFlexibleDayPeriods:function(e,t){return this._get(k(t),\"flexibleDayPeriods\",\"format\",e)},getFlexibleDayPeriodsStandAlone:function(e,t){return this._get(k(t),\"flexibleDayPeriods\",\"stand-alone\",e)},getFlexibleDayPeriodOfTime:function(e,t){var r,n,i;r=(e*60+t)%1440;n=this._get(\"dayPeriodRules\");function a(e){var t=e.split(\":\"),r=t[0],n=t[1];return parseInt(r)*60+parseInt(n)}i=Object.keys(n).find(function(e){var t=n[e];return t[\"_at\"]&&a(t[\"_at\"])===r});if(i){return i}return Object.keys(n).find(function(e){var t,i,o,s=n[e];if(s[\"_at\"]){return false}o=a(s[\"_from\"]);t=a(s[\"_before\"]);if(o>t){i=[{start:o,end:1440},{start:0,end:t}]}else{i=[{start:o,end:t}]}return i.some(function(e){return e.start<=r&&e.end>r})})},getTimePattern:function(e,r){t(e==\"short\"||e==\"medium\"||e==\"long\"||e==\"full\",\"sStyle must be short, medium, long or full\");return this._get(k(r),\"timeFormats\",e)},getDateTimePattern:function(e,r){t(e==\"short\"||e==\"medium\"||e==\"long\"||e==\"full\",\"sStyle must be short, medium, long or full\");return this._get(k(r),\"dateTimeFormats\",e)},getCombinedDateTimePattern:function(e,r,n){t(e==\"short\"||e==\"medium\"||e==\"long\"||e==\"full\",\"sStyle must be short, medium, long or full\");t(r==\"short\"||r==\"medium\"||r==\"long\"||r==\"full\",\"sStyle must be short, medium, long or full\");var i=this.getDateTimePattern(e,n),a=this.getDatePattern(e,n),o=this.getTimePattern(r,n);return i.replace(\"{0}\",o).replace(\"{1}\",a)},getCombinedDateTimeWithTimezonePattern:function(e,t,r){return this.applyTimezonePattern(this.getCombinedDateTimePattern(e,t,r))},applyTimezonePattern:function(e){var t=[e];var r=[{group:\"Timezone\",length:2,field:\"zone\",symbol:\"V\"}];this._appendItems(t,r);return t[0]},getTimezoneTranslations:function(){var e=this.oLocale.toString();var t=b._mTimezoneTranslations[e];if(!t){b._mTimezoneTranslations[e]=t=P(this._get(\"timezoneNames\"))}return Object.assign({},t)},getCustomDateTimePattern:function(e,t){var r=this._get(k(t),\"dateTimeFormats\",\"availableFormats\");return this._getFormatPattern(e,r,t)},getIntervalPattern:function(e,t){var r=this._get(k(t),\"dateTimeFormats\",\"intervalFormats\"),n,i,a,o,s;if(e){n=e.split(\"-\");i=n[0];a=n[1];o=r[i];if(o){s=o[a];if(s){return s}}}return r.intervalFormatFallback},getCombinedIntervalPattern:function(e,t){const r=this._get(k(t),\"dateTimeFormats\",\"intervalFormats\");const[,n,i,a]=d.exec(r.intervalFormatFallback);return b._escapeIfNeeded(n)+e+b._escapeIfNeeded(i)+e+b._escapeIfNeeded(a)},getCustomIntervalPattern:function(e,t,r){var n=this._get(k(r),\"dateTimeFormats\",\"intervalFormats\");return this._getFormatPattern(e,n,r,t)},_getFormatPattern:function(e,t,r,n){var i,a,o;if(!n){i=t[e]}else if(typeof n===\"string\"){if(n==\"j\"||n==\"J\"){n=this.getPreferredHourSymbol()}o=t[e];i=o&&o[n]}if(i){if(typeof i===\"object\"){a=Object.keys(i).map(function(e){return i[e]})}else{return i}}if(!a){a=this._createFormatPattern(e,t,r,n)}if(a&&a.length===1){return a[0]}return a},_createFormatPattern:function(e,t,r,n){var i=this._parseSkeletonFormat(e),a,o=this._findBestMatch(i,e,t),s,u,l,c,f,g,m,h,d=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/,p,_;if(n){if(typeof n===\"string\"){h=w[n]?w[n].group:\"\";if(h){p=C[h].index>i[i.length-1].index}m=n}else{p=true;if(i[0].symbol===\"y\"&&o&&o.pattern.G){l=w[\"G\"];c=C[l.group];i.splice(0,0,{symbol:\"G\",group:l.group,match:l.match,index:c.index,field:c.field,length:1})}for(_=i.length-1;_>=0;_--){s=i[_];if(n[s.group]){p=false;break}}for(_=0;_<i.length;_++){s=i[_];if(n[s.group]){m=s.symbol;break}}if((m==\"h\"||m==\"K\")&&n.DayPeriod){m=\"a\"}}if(p){return[this.getCustomDateTimePattern(e,r)]}if(o&&o.missingTokens.length===0){f=o.pattern[m];if(f&&o.distance>0){f=this._expandFields(f,o.patternTokens,i)}}if(!f){u=this._get(k(r),\"dateTimeFormats\",\"availableFormats\");if(d.test(e)&&\"ahHkKjJms\".indexOf(m)>=0){f=this._getMixedFormatPattern(e,u,r,n)}else{g=this._getFormatPattern(e,u,r);f=this.getCombinedIntervalPattern(g,r)}}a=[f]}else if(!o){f=e;a=[f]}else{if(typeof o.pattern===\"string\"){a=[o.pattern]}else if(typeof o.pattern===\"object\"){a=[];for(var y in o.pattern){f=o.pattern[y];a.push(f)}}if(o.distance>0){if(o.missingTokens.length>0){if(d.test(e)){a=[this._getMixedFormatPattern(e,t,r)]}else{a=this._expandFields(a,o.patternTokens,i);a=this._appendItems(a,o.missingTokens,r)}}else{a=this._expandFields(a,o.patternTokens,i)}}}if(e.indexOf(\"J\")>=0){a.forEach(function(e,t){a[t]=e.replace(/ ?[abB](?=([^']*'[^']*')*[^']*)$/g,\"\")})}return a},_parseSkeletonFormat:function(e){var t=[],r={index:-1},n,i,a;for(var o=0;o<e.length;o++){n=e.charAt(o);if(n==\"j\"||n==\"J\"){n=this.getPreferredHourSymbol()}if(n==r.symbol){r.length++;continue}i=w[n];a=C[i.group];if(i.group==\"Other\"||a.diffOnly){throw new Error(\"Symbol '\"+n+\"' is not allowed in skeleton format '\"+e+\"'\")}if(a.index<=r.index){throw new Error(\"Symbol '\"+n+\"' at wrong position or duplicate in skeleton format '\"+e+\"'\")}r={symbol:n,group:i.group,match:i.match,index:a.index,field:a.field,length:1};t.push(r)}return t},_findBestMatch:function(e,t,r){var n,i,a,o,s,u,l,c,f,g,m={distance:1e4,firstDiffPos:-1};for(var h in r){if(h===\"intervalFormatFallback\"||h.indexOf(\"B\")>-1){continue}n=this._parseSkeletonFormat(h);u=0;i=[];l=true;if(e.length<n.length){continue}s=0;c=e.length;for(var d=0;d<e.length;d++){a=e[d];o=n[s];if(c===e.length){c=d}if(o){f=w[a.symbol];g=w[o.symbol];if(a.symbol===o.symbol){if(a.length===o.length){if(c===d){c=e.length}}else{if(a.length<f.numericCeiling?o.length<g.numericCeiling:o.length>=g.numericCeiling){u+=Math.abs(a.length-o.length)}else{u+=5}}s++;continue}else{if(a.match==o.match){u+=Math.abs(a.length-o.length)+10;s++;continue}}}i.push(a);u+=50-d}if(s<n.length){l=false}if(l&&(u<m.distance||u===m.distance&&c>m.firstDiffPos)){m.distance=u;m.firstDiffPos=c;m.missingTokens=i;m.pattern=r[h];m.patternTokens=n}}if(m.pattern){return m}},_expandFields:function(e,t,r){var n=typeof e===\"string\";var i;if(n){i=[e]}else{i=e}var a=i.map(function(e){var n={},i={},a=\"\",o=false,s=0,u,l,c,f,g,m,h,d;r.forEach(function(e){n[e.group]=e});t.forEach(function(e){i[e.group]=e});while(s<e.length){d=e.charAt(s);if(o){a+=d;if(d==\"'\"){o=false}}else{h=w[d];if(h&&n[h.group]&&i[h.group]){g=n[h.group];m=i[h.group];u=g.length;c=m.length;l=1;while(e.charAt(s+1)==d){s++;l++}if(u===c||(u<h.numericCeiling?l>=h.numericCeiling:l<h.numericCeiling)){f=l}else{f=Math.max(l,u)}for(var p=0;p<f;p++){a+=d}}else{a+=d;if(d==\"'\"){o=true}}}s++}return a});return n?a[0]:a},_appendItems:function(e,t,r){var n=this._get(k(r),\"dateTimeFormats\",\"appendItems\");e.forEach(function(r,i){var a,o,s;t.forEach(function(t){o=n[t.group];a=\"'\"+this.getDisplayName(t.field)+\"'\";s=\"\";for(var u=0;u<t.length;u++){s+=t.symbol}e[i]=o.replace(/\\{0\\}/,r).replace(/\\{1\\}/,s).replace(/\\{2\\}/,a)}.bind(this))}.bind(this));return e},_getMixedFormatPattern:function(e,t,r,n){var i=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/,a=/MMMM|LLLL/,o=/MMM|LLL/,s=/E|e|c/,u,l,c,f,g,m,h,d;u=i.exec(e);l=u[1];c=u[2];g=this._getFormatPattern(l,t,r);if(n){m=this.getCustomIntervalPattern(c,n,r)}else{m=this._getFormatPattern(c,t,r)}if(a.test(l)){f=s.test(l)?\"full\":\"long\"}else if(o.test(l)){f=\"medium\"}else{f=\"short\"}h=this.getDateTimePattern(f,r);d=h.replace(/\\{1\\}/,g).replace(/\\{0\\}/,m);return d},getNumberSymbol:function(e){t(e==\"decimal\"||e==\"group\"||e==\"plusSign\"||e==\"minusSign\"||e==\"percentSign\",\"sType must be decimal, group, plusSign, minusSign or percentSign\");return this._get(\"symbols-latn-\"+e)},getLenientNumberSymbols:function(e){t(e==\"plusSign\"||e==\"minusSign\",\"sType must be plusSign or minusSign\");return this._get(\"lenient-scope-number\")[e]},getDecimalPattern:function(){return this._get(\"decimalFormat\").standard},getCurrencyPattern:function(e,t){return this._get(\"currencyFormat\")[t?e+\"-\"+t:e]},getPercentPattern:function(){return this._get(\"percentFormat\").standard},getMiscPattern:function(e){t(e==\"approximately\"||e==\"atLeast\"||e==\"atMost\"||e==\"range\",\"sName must be approximately, atLeast, atMost or range\");return this._get(\"miscPattern\")[e]},getMinimalDaysInFirstWeek:function(){return this._get(\"weekData-minDays\")},getFirstDayOfWeek:function(){return this._get(\"weekData-firstDay\")},getWeekendStart:function(){return this._get(\"weekData-weekendStart\")},getWeekendEnd:function(){return this._get(\"weekData-weekendEnd\")},getCustomCurrencyCodes:function(){var e=this._get(\"currency\")||{},t={};Object.keys(e).forEach(function(e){t[e]=e});return t},getCurrencyDigits:function(e){const t=this.getAllCurrencyDigits();return t[e]??t[\"DEFAULT\"]},getAllCurrencyDigits(){const e={...this._get(\"currencyDigits\")};const t=this._get(\"currency\");if(t){for(const r in t){if(t[r].digits!==undefined){e[r]=t[r].digits}}}return e},getCurrencySymbol:function(e){var t=this.getCurrencySymbols();return t&&t[e]||e},getCurrencyCodeBySymbol:function(e){var t=this._get(\"currencySymbols\"),r;for(r in t){if(t[r]===e){return r}}return e},getCurrencySymbols:function(){var e=this._get(\"currency\"),t={},r;for(var n in e){r=e[n].isoCode;if(e[n].symbol){t[n]=e[n].symbol}else if(r){t[n]=this._get(\"currencySymbols\")[r]}}return Object.assign({},this._get(\"currencySymbols\"),t)},getUnitDisplayName:function(e){var t=this.getUnitFormat(e);return t&&t[\"displayName\"]||\"\"},getRelativePatterns:function(e,r){if(r===undefined){r=\"wide\"}t(r===\"wide\"||r===\"short\"||r===\"narrow\",\"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'\");var n=[],i=this.getPluralCategories(),a,o,s,u;if(!e){e=[\"year\",\"month\",\"week\",\"day\",\"hour\",\"minute\",\"second\"]}e.forEach(function(e){a=this._get(\"dateFields\",e+\"-\"+r);for(var t in a){if(t.indexOf(\"relative-type-\")===0){s=parseInt(t.substr(14));n.push({scale:e,value:s,pattern:a[t]})}else if(t.indexOf(\"relativeTime-type-\")==0){o=a[t];u=t.substr(18)===\"past\"?-1:1;i.forEach(function(t){var r=o[\"relativeTimePattern-count-\"+t];if(r){n.push({scale:e,sign:u,pattern:r})}})}}}.bind(this));return n},getRelativePattern:function(e,r,n,i){var a,o,s,u;if(typeof n===\"string\"){i=n;n=undefined}if(n===undefined){n=r>0}if(i===undefined){i=\"wide\"}t(i===\"wide\"||i===\"short\"||i===\"narrow\",\"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'\");s=e+\"-\"+i;if(r===0||r===-2||r===2){a=this._get(\"dateFields\",s,\"relative-type-\"+r)}if(!a){o=this._get(\"dateFields\",s,\"relativeTime-type-\"+(n?\"future\":\"past\"));u=this.getPluralCategory(Math.abs(r).toString());a=o[\"relativeTimePattern-count-\"+u]}return a},getRelativeSecond:function(e,t){return this.getRelativePattern(\"second\",e,t)},getRelativeMinute:function(e,t){if(e==0){return null}return this.getRelativePattern(\"minute\",e,t)},getRelativeHour:function(e,t){if(e==0){return null}return this.getRelativePattern(\"hour\",e,t)},getRelativeDay:function(e,t){return this.getRelativePattern(\"day\",e,t)},getRelativeWeek:function(e,t){return this.getRelativePattern(\"week\",e,t)},getRelativeMonth:function(e,t){return this.getRelativePattern(\"month\",e,t)},getDisplayName:function(e,r){t(e==\"second\"||e==\"minute\"||e==\"hour\"||e==\"zone\"||e==\"day\"||e==\"weekday\"||e==\"week\"||e==\"month\"||e==\"quarter\"||e==\"year\"||e==\"era\",\"sType must be second, minute, hour, zone, day, weekday, week, month, quarter, year, era\");if(r===undefined){r=\"wide\"}t(r===\"wide\"||r===\"short\"||r===\"narrow\",\"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'\");var n=[\"era\",\"weekday\",\"zone\"],i=n.indexOf(e)===-1?e+\"-\"+r:e;return this._get(\"dateFields\",i,\"displayName\")},getRelativeYear:function(e,t){return this.getRelativePattern(\"year\",e,t)},getCompactDecimalPattern:function(e,t,r=\"other\"){const n=this._get(\"decimalFormat-\"+e);return n&&(n[t+\"-\"+r]||n[t+\"-other\"])},getCompactCurrencyPattern:function(e,t,r=\"other\",n=undefined){const i=this._get(\"currencyFormat-\"+e);const a=n?\"-\"+n:\"\";return i&&(i[t+\"-\"+r+a]||i[t+\"-other\"+a])},getListFormat:function(e,t){var r=this._get(\"listPattern-\"+(e||\"standard\")+\"-\"+(t||\"wide\"));if(r){return r}return{}},getResolvedUnitFormat:function(e){e=this.getUnitFromMapping(e)||e;return this.getUnitFormat(e)},getUnitFormat:function(e){var t=this._get(\"units\",\"short\",e);if(!t&&y[e]){t=this._get(\"units\",\"short\",y[e])}return t},getUnitFormats:function(){return this._getMerged(\"units\",\"short\")},getUnitFromMapping:function(e){return this._get(\"unitMappings\",e)},getEras:function(e,r){t(e==\"wide\"||e==\"abbreviated\"||e==\"narrow\",\"sWidth must be wide, abbreviate or narrow\");var n=this._get(k(r),\"era-\"+e),i=[];for(var a in n){i[parseInt(a)]=n[a]}return i},getEraDates:function(e=r.getCalendarType()){var t=this._get(\"eras-\"+e.toLowerCase()),n=[];for(var i in t){n[parseInt(i)]=t[i]}return n},getCalendarWeek:function(e,r){t(e==\"wide\"||e==\"narrow\",\"sStyle must be wide or narrow\");const n=this._get(\"sap-calendarWeek\")[e];return r?n.replace(\"{0}\",r):n},firstDayStartsFirstWeek:function(){return this.oLocale.getLanguage()===\"en\"&&this.oLocale.getRegion()===\"US\"},getPreferredCalendarType:function(){var e,t,r,n=this._get(\"calendarPreference\")||[];for(r=0;r<n.length;r++){e=n[r].split(\"-\")[0];for(t in a){if(e===t.toLowerCase()){return t}}}return a.Gregorian},getPreferredHourSymbol:function(){return this._get(\"timeData\",\"_preferred\")},getPluralCategories:function(){var e=this._get(\"plurals\"),t=Object.keys(e);t.push(\"other\");return t},getPluralCategory:function(e){var t=typeof e===\"number\"?e.toString():e,r=this._get(\"plurals\");if(!this._pluralTest){this._pluralTest={}}for(var n in r){var i=this._pluralTest[n];if(!i){i=this._parsePluralRule(r[n]);this._pluralTest[n]=i}if(i(t).bMatch){return n}}return\"other\"},_parsePluralRule:function(e){var t=\"or\",r=\"and\",n=\"%\",i=\"=\",a=\"!=\",o=\"n\",s=\"i\",u=\"f\",l=\"t\",c=\"v\",m=\"w\",d=\"c\",p=\"e\",_=\"..\",y=\",\";var v=0,C;C=e.split(\" \");function w(e){if(C[v]===e){v++;return true}return false}function D(){var e=C[v];v++;return e}function P(){var e,r;e=k();if(w(t)){r=P();return function(t){return e(t)||r(t)}}return e}function k(){var e,t;e=T();if(w(r)){t=k();return function(r){return e(r)&&t(r)}}return e}function T(){var e,t,r;e=F();if(w(i)){r=true}else if(w(a)){r=false}else{throw new Error(\"Expected '=' or '!='\")}t=L();if(r){return function(r){return t(r).indexOf(e(r))>=0}}else{return function(r){return t(r).indexOf(e(r))===-1}}}function F(){var e;e=S();if(w(n)){var t=parseInt(D());return function(r){return e(r)%t}}return e}function S(){if(w(o)){return function(e){return e.n}}else if(w(s)){return function(e){return e.i}}else if(w(u)){return function(e){return e.f}}else if(w(l)){return function(e){return e.t}}else if(w(c)){return function(e){return e.v}}else if(w(m)){return function(e){return e.w}}else if(w(d)){return function(e){return e.c}}else if(w(p)){return function(e){return e.c}}else{throw new Error(\"Unknown operand: \"+D())}}function L(){var e=[],t=D(),r=t.split(y),n,i,a;r.forEach(function(t){n=t.split(_);if(n.length===1){e.push(parseInt(t))}else{i=parseInt(n[0]);a=parseInt(n[1]);for(var r=i;r<=a;r++){e.push(r)}}});return function(t){return e}}var x=P();if(v!=C.length){throw new Error(\"Not completely parsed\")}return function(e){var t,r,n,i,a,o,s;e=e.replace(f,\"e\");n=e.search(g);r=n<0?0:parseInt(e.slice(n+1));e=b.convertToDecimal(e);t=e.indexOf(\".\");if(t===-1){o=e;i=\"\";a=\"\"}else{o=e.slice(0,t);i=e.slice(t+1);a=i.replace(h,\"\")}s={n:parseFloat(e),i:parseInt(o),v:i.length,w:a.length,f:i===\"\"?0:parseInt(i),t:a===\"\"?0:parseInt(a),c:r};return{bMatch:x(s),oOperands:s}}}});b.convertToDecimal=function(e){var t,r,n,i,a,o,s=String(e);if(!s.includes(\"e\")&&!s.includes(\"E\")){return s}o=s.match(m);i=o[1]===\"-\";s=o[2].replace(\".\",\"\");if(p.test(s)){return\"0\"}t=o[3]?o[3].length:0;n=o[4]?o[4].length:0;r=parseInt(o[5]);a=t+r;if(r>0){s=r<n?s.slice(0,a)+\".\"+s.slice(a):s=s.padEnd(a,\"0\")}else{s=-r<t?s=s.slice(0,a)+\".\"+s.slice(a):s=\"0.\"+s.padStart(n-r,\"0\")}if(i){s=\"-\"+s}return s};var C={Era:{field:\"era\",index:0},Year:{field:\"year\",index:1},Quarter:{field:\"quarter\",index:2},Month:{field:\"month\",index:3},Week:{field:\"week\",index:4},\"Day-Of-Week\":{field:\"weekday\",index:5},Day:{field:\"day\",index:6},DayPeriod:{field:\"hour\",index:7,diffOnly:true},Hour:{field:\"hour\",index:8},Minute:{field:\"minute\",index:9},Second:{field:\"second\",index:10},Timezone:{field:\"zone\",index:11}};var w={G:{group:\"Era\",match:\"Era\",numericCeiling:1},y:{group:\"Year\",match:\"Year\",numericCeiling:100},Y:{group:\"Year\",match:\"Year\",numericCeiling:100},Q:{group:\"Quarter\",match:\"Quarter\",numericCeiling:3},q:{group:\"Quarter\",match:\"Quarter\",numericCeiling:3},M:{group:\"Month\",match:\"Month\",numericCeiling:3},L:{group:\"Month\",match:\"Month\",numericCeiling:3},w:{group:\"Week\",match:\"Week\",numericCeiling:100},W:{group:\"Week\",match:\"Week\",numericCeiling:100},d:{group:\"Day\",match:\"Day\",numericCeiling:100},D:{group:\"Day\",match:\"Day\",numericCeiling:100},E:{group:\"Day-Of-Week\",match:\"Day-Of-Week\",numericCeiling:1},e:{group:\"Day-Of-Week\",match:\"Day-Of-Week\",numericCeiling:3},c:{group:\"Day-Of-Week\",match:\"Day-Of-Week\",numericCeiling:2},h:{group:\"Hour\",match:\"Hour12\",numericCeiling:100},H:{group:\"Hour\",match:\"Hour24\",numericCeiling:100},k:{group:\"Hour\",match:\"Hour24\",numericCeiling:100},K:{group:\"Hour\",match:\"Hour12\",numericCeiling:100},m:{group:\"Minute\",match:\"Minute\",numericCeiling:100},s:{group:\"Second\",match:\"Second\",numericCeiling:100},z:{group:\"Timezone\",match:\"Timezone\",numericCeiling:1},Z:{group:\"Timezone\",match:\"Timezone\",numericCeiling:1},O:{group:\"Timezone\",match:\"Timezone\",numericCeiling:1},v:{group:\"Timezone\",match:\"Timezone\",numericCeiling:1},V:{group:\"Timezone\",match:\"Timezone\",numericCeiling:1},X:{group:\"Timezone\",match:\"Timezone\",numericCeiling:1},x:{group:\"Timezone\",match:\"Timezone\",numericCeiling:1},S:{group:\"Other\",numericCeiling:100},u:{group:\"Other\",numericCeiling:100},U:{group:\"Other\",numericCeiling:1},r:{group:\"Other\",numericCeiling:100},F:{group:\"Other\",numericCeiling:100},g:{group:\"Other\",numericCeiling:100},a:{group:\"DayPeriod\",numericCeiling:1},b:{group:\"Other\",numericCeiling:1},B:{group:\"Other\",numericCeiling:1},A:{group:\"Other\",numericCeiling:100}};const D=[\"ar\",\"ar_EG\",\"ar_SA\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"de_AT\",\"de_CH\",\"el\",\"el_CY\",\"en\",\"en_AU\",\"en_GB\",\"en_HK\",\"en_IE\",\"en_IN\",\"en_NZ\",\"en_PG\",\"en_SG\",\"en_ZA\",\"es\",\"es_AR\",\"es_BO\",\"es_CL\",\"es_CO\",\"es_MX\",\"es_PE\",\"es_UY\",\"es_VE\",\"et\",\"fa\",\"fi\",\"fr\",\"fr_BE\",\"fr_CA\",\"fr_CH\",\"fr_LU\",\"he\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"it_CH\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nb\",\"nl\",\"nl_BE\",\"pl\",\"pt\",\"pt_PT\",\"ro\",\"ru\",\"ru_UA\",\"sk\",\"sl\",\"sr\",\"sr_Latn\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh_CN\",\"zh_HK\",\"zh_SG\",\"zh_TW\"];function P(e,t,r,n){n=n?n.slice():[];r=r||{};t=t||\"\";Object.keys(e).forEach(function(i){var a=e[i];if(typeof a===\"object\"){var o=n.slice();var s=a[\"_parent\"];if(s){o.push(s)}P(a,t+i+\"/\",r,o)}else if(typeof a===\"string\"&&i!==\"_parent\"){var u=n.length?n.join(\", \")+\", \":\"\";r[t+i]=u+a}});return r}function k(e){if(!e){e=r.getCalendarType()}return\"ca-\"+e.toLowerCase()}function T(e,t){var r=e.getLanguage()||\"\",n=e.getRegion()||\"\",a=e.getScript()||\"\";function o(e,t){var r,n,i;if(!t){return}for(r in t){if(t.hasOwnProperty(r)){n=e[r];i=t[r];if(n===undefined){e[r]=i}else if(n===null){delete e[r]}else if(typeof n===\"object\"&&typeof i===\"object\"&&!Array.isArray(n)){o(n,i)}}}}function s(e){if(!v[e]&&D.includes(e)||v[e]instanceof Promise&&!t){v[e]=c.resolve(u.loadResource(`sap/ui/core/cldr/${e}.json`,{async:t,dataType:\"json\",failOnError:false})).then(t=>{if(t){return s(t.__fallbackLocale).then(r=>{o(t,r);v[e]=t;delete t.__fallbackLocale;return t})}return t}).unwrap()}return c.resolve(v[e])}r=r&&i.getModernLanguage(r)||r;if(r===\"no\"){r=\"nb\"}if(r===\"zh\"&&!n){if(a===\"Hans\"){n=\"CN\"}else if(a===\"Hant\"){n=\"TW\"}}if(r===\"sh\"||r===\"sr\"&&a===\"Latn\"){r=\"sr_Latn\"}const l=r+\"_\"+n;let f=l;return s(l).then(e=>{if(!e){f=r;return s(r)}return e}).then(e=>{if(!e){f=\"en\";return s(\"en\")}return e}).then(e=>({mData:e,sCLDRLocaleId:f.replace(/_/g,\"-\")}))}var F=b.extend(\"sap.ui.core.CustomLocaleData\",{constructor:function(e){b.apply(this,arguments);this.mCustomData=r.getCustomLocaleData()},_get:function(){var e=Array.prototype.slice.call(arguments),t,r;if(e[0].indexOf(\"ca-\")==0){t=e[0];if(t==k()){e=e.slice(1)}}r=e.join(\"-\");var n=this.mCustomData[r];if(n==null){n=this._getDeep(this.mCustomData,arguments);if(n==null){n=this._getDeep(this.mData,arguments)}}return n},_getMerged:function(){var e=this._getDeep(this.mData,arguments);var t=this._getDeep(this.mCustomData,arguments);return s({},e,t)},getFirstDayOfWeek:function(){var e=r.getCalendarWeekNumbering();if(e===o.Default){return b.prototype.getFirstDayOfWeek.call(this)}return o.getWeekConfigurationValues(e).firstDayOfWeek},getMinimalDaysInFirstWeek:function(){var e=r.getCalendarWeekNumbering();if(e===o.Default){return b.prototype.getMinimalDaysInFirstWeek.call(this)}return o.getWeekConfigurationValues(e).minimalDaysInFirstWeek}});b._resetLocaleDataCache=function(){v={}};b.getInstance=function(t){t=e._getCoreLocale(t);return t.hasPrivateUseSubtag(\"sapufmt\")?new F(t):new b(t)};b.requestInstance=function(t){const r=e._getCoreLocale(t);const n=r.hasPrivateUseSubtag(\"sapufmt\")?new F(r,true):new b(r,true);return Promise.resolve(n.loaded)};b._cldrLocales=D;b._mTimezoneTranslations={};const S=new RegExp(\"[\"+Object.keys(w).join(\"\")+\"]\");const L=/^(\\s)?(.*?)(\\s)?$/;b._escapeIfNeeded=function(e){if(e===undefined){return\"\"}if(S.test(e)){return e.replace(L,\"$1'$2'$3\")}return e};b.prototype.getCurrencyFormat=b.prototype.getCompactCurrencyPattern;b.prototype.getDecimalFormat=b.prototype.getCompactDecimalPattern;return b});\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Manifest\", [\"sap/base/i18n/Localization\",\"sap/ui/base/Object\",\"sap/ui/thirdparty/URI\",\"sap/ui/VersionInfo\",\"sap/base/util/Version\",\"sap/base/future\",\"sap/base/Log\",\"sap/ui/dom/includeStylesheet\",\"sap/base/i18n/ResourceBundle\",\"sap/base/util/uid\",\"sap/base/util/merge\",\"sap/base/util/isPlainObject\",\"sap/base/util/LoaderExtensions\",\"sap/base/config\",\"sap/ui/core/Supportability\",\"sap/ui/core/Lib\",\"./_UrlResolver\"],function(e,n,i,t,s,r,o,a,u,c,f,l,p,h,d,m,g){\"use strict\";function v(e){const n=[];e.forEach(e=>{const i=s(e);if(n.includes(i.getMajor())){throw new Error(`The minimal UI5 versions defined in the manifest must not include multiple versions with the same major version, Component: ${this.getComponentName()}.`)}else{n.push(i.getMajor())}})}function _(e){let n=e;if(Array.isArray(e)){n=e.sort()[0];v.call(this,e)}const i=s(n);return i.getSuffix()?s(i.getMajor()+\".\"+i.getMinor()+\".\"+i.getPatch()):i}function b(e,n){if(e&&n&&typeof n===\"string\"&&n[0]===\"/\"){var i=n.substring(1).split(\"/\"),t;for(var s=0,r=i.length;s<r;s++){t=i[s];e=Object.hasOwn(e,t)?e[t]:undefined;if(e===null||typeof e!==\"object\"){if(s+1<r&&e!==undefined){e=undefined}break}}return e}return e&&e[n]}function y(e){if(e&&typeof e===\"object\"&&!Object.isFrozen(e)){Object.freeze(e);for(var n in e){if(Object.hasOwn(e,n)){y(e[n])}}}}var w=n.extend(\"sap.ui.core.Manifest\",{constructor:function(e,t){n.apply(this,arguments);this._uid=c();this._iInstanceCount=0;this._oRawManifest=e;this._bProcess=!(t&&t.process===false);this._bAsync=!(t&&t.async===false);this._activeTerminologies=t&&t.activeTerminologies;this._bLoadManifestRequestFailed=t&&t._bLoadManifestRequestFailed;this._sComponentName=t&&t.componentName;var s=this.getComponentName(),r=t&&t.baseUrl||s&&sap.ui.require.toUrl(s.replace(/\\./g,\"/\"))+\"/\";if(r){this._oBaseUri=new i(r).absoluteTo(new i(document.baseURI).search(\"\"))}if(t&&typeof t.url===\"string\"){this._oManifestBaseUri=new i(t.url).absoluteTo(new i(document.baseURI).search(\"\")).search(\"\")}else{this._oManifestBaseUri=this._oBaseUri}y(this._oRawManifest);this._oManifest=f({},this._oRawManifest);if(this._bProcess){this._processI18n()}},_processI18n:function(e,n){if(!n){n=[];this._preprocess({i18nProperties:n})}if(n.length>0){var i=function(e){var i=function(n,i){return e.getText(i)};for(var t=0,s=n.length;t<s;t++){var r=n[t];r.object[r.key]=r.object[r.key].replace(w._rManifestTemplate,i)}};if(e){return this._loadI18n(e).then(i)}else{i(this._loadI18n(e))}}else{return e?Promise.resolve():undefined}},_loadI18n:function(e){var n=this._oRawManifest,t,s=\"manifest\",r=n[\"sap.app\"]&&n[\"sap.app\"][\"i18n\"]||\"i18n/i18n.properties\";if(typeof r===\"string\"){t=new i(r);return u.create({url:this.resolveUri(t,s),async:e})}else if(typeof r===\"object\"){r=JSON.parse(JSON.stringify(r));s=r.bundleUrlRelativeTo||s;g._processResourceConfiguration(r,{alreadyResolvedOnRoot:false,baseURI:this._oBaseUri,manifestBaseURI:this._oManifestBaseUri,relativeTo:s});var o=Object.assign({activeTerminologies:this._activeTerminologies,async:e},r);return u.create(o)}},getJson:function(){return this._oManifest},getRawJson:function(){return this._oRawManifest},getEntry:function(e){if(!e||e.indexOf(\".\")<=0){r.warningThrows(\"Manifest entries with keys without namespace prefix can not be read via getEntry. Key: \"+e+\", Component: \"+this.getComponentName());return null}var n=this.getJson();var i=b(n,e);if(e&&e[0]!==\"/\"&&i!==undefined&&!l(i)){r.warningThrows(\"Manifest entry with key '\"+e+\"' must be an object. Component: \"+this.getComponentName());return null}return i},checkUI5Version:async function(){var e=this.getEntry(\"/sap.ui5/dependencies/minUI5Version\");if(e&&o.isLoggable(o.Level.WARNING)&&d.isDebugModeEnabled()){const n=await t.load().catch(e=>{o.warning('The validation of the version for Component \"'+this.getComponentName()+'\" failed! Reason: '+e)});const i=_.call(this,e);const s=_.call(this,n?.version);if(i.compareTo(s)>0){o.warning('Component \"'+this.getComponentName()+'\" requires at least version \"'+i.toString()+'\" but running on \"'+s.toString()+'\"!')}}},_getSchemaVersion:function(){const e=this.getJson();const n=b(e,\"/_version\");return new s(n).getMajor()},_loadIncludes:function(e){var n=this.getEntry(\"/sap.ui5/resources\"),i;if(!n){return}var t=this.getComponentName();if(n[\"js\"]){if(this._getSchemaVersion()===2){throw new Error(`'sap.ui5/resources/js' is deprecated and not supported with manifest version 2 (component '${t}'.`)}var s=n[\"js\"];var r=function(e){return function(){return new Promise(function(n,i){sap.ui.require([e],n,i)})}};i=Promise.resolve();for(var u=0;u<s.length;u++){var c=s[u];var f=c.uri;if(f){var l=f.match(/\\.js$/i);if(l){var p=t.replace(/\\./g,\"/\")+(f.slice(0,1)===\"/\"?\"\":\"/\")+f.slice(0,l.index);o.info('Component \"'+t+'\" is loading JS: \"'+p+'\"');if(e){i=i.then(r(p))}else{sap.ui.requireSync(p)}}}}}var h=n[\"css\"];if(h){for(var d=0;d<h.length;d++){var m=h[d];if(m.uri){var g=this.resolveUri(m.uri);o.info('Component \"'+t+'\" is loading CSS: \"'+g+'\"');a(g,{id:m.id,\"data-sap-ui-manifest-uid\":this._uid})}}}return i},removeIncludes:function(){var e=this.getEntry(\"/sap.ui5/resources\");if(!e){return}var n=this.getComponentName();var i=e[\"css\"];if(i){var t=document.querySelectorAll(\"link[data-sap-ui-manifest-uid='\"+this._uid+\"']\");for(var s=0;s<t.length;s++){var r=t[s];o.info('Component \"'+n+'\" is removing CSS: \"'+r.href+'\"');r.parentNode.removeChild(r)}}},_loadDependencies:function(e){var n=[];var i=this.getEntry(\"/sap.ui5/dependencies\"),t=this.getComponentName();if(i){var s=i[\"libs\"];if(s){for(var r in s){if(!s[r].lazy){o.info('Component \"'+t+'\" is loading library: \"'+r+'\"');n.push(m._load(r,{sync:!e}))}}}var a=i[\"components\"];if(a){var u=[];for(var c in a){if(!a[c].lazy){u.push(c)}}if(u.length>0){if(e){var f=new Promise(function(e,n){sap.ui.require([\"sap/ui/core/Component\"],function(n){e(n)},n)}).then(function(e){return Promise.all(u.map(function(n){return e.load({name:n,manifest:false})}))});n.push(f)}else{u.forEach(function(e){var n=e.replace(/\\./g,\"/\")+\"/Component\";var i=sap.ui.loader._.getModuleState(n+\".js\");if(i===-1){sap.ui.requireSync(n)}else if(i===0){o.info('Component \"'+t+'\" is loading component: \"'+e+'.Component\"');sap.ui.requireSync(\"sap/ui/core/Component\");sap.ui.component.load({name:e})}})}}}}return Promise.all(n)},defineResourceRoots:function(){var e=this.getEntry(\"/sap.ui5/resourceRoots\");if(e){for(var n in e){var t=e[n];var s=new i(t);if(s.is(\"absolute\")||s.path()&&s.path()[0]===\"/\"){r.errorThrows(`${this.getComponentName()}: Resource root for \"${n}\" is absolute and therefore won't be registered! \"${t}\"`);continue}t=this.resolveUri(t);var o={};o[n.replace(/\\./g,\"/\")]=t;sap.ui.loader.config({paths:o})}}},getComponentName:function(){var e=this.getRawJson();return this._sComponentName||b(e,\"/sap.ui5/componentName\")||b(e,\"/sap.app/id\")},resolveUri:function(e,n){var i=n===\"manifest\"?this._oManifestBaseUri:this._oBaseUri;var t=g._resolveUri(e,i);return t&&t.toString()},_preprocess:function(e){w.processObject(this._oManifest,function(n,i,t){if(e.resolveUI5Urls&&t.startsWith(\"ui5:\")){n[i]=p.resolveUI5Url(t)}else if(e.i18nProperties&&t.match(w._rManifestTemplate)){e.i18nProperties.push({object:n,key:i})}})},init:function(e){if(this._iInstanceCount===0){this.loadDependenciesAndIncludes()}this._iInstanceCount++},loadDependenciesAndIncludes:function(e){if(this._pDependenciesAndIncludes){return this._pDependenciesAndIncludes}const n=this.checkUI5Version();this.defineResourceRoots();this._preprocess({resolveUI5Urls:true});this._pDependenciesAndIncludes=Promise.all([this._loadDependencies(e),this._loadIncludes(e),n]);return this._pDependenciesAndIncludes},exit:function(e){var n=Math.max(this._iInstanceCount-1,0);if(n===0){this.removeIncludes();delete this._pDependenciesAndIncludes}this._iInstanceCount=n}});w._rManifestTemplate=/\\{\\{([^\\}\\}]+)\\}\\}/g;w.load=function(n){var t=n&&n.manifestUrl,s=n&&n.componentName,r=n&&n.async,a=n&&n.failOnError,u=n&&n.processJson;var c=new i(t);if(!c.hasQuery(\"sap-language\")){var f=e.getSAPLogonLanguage();if(f){c.addQuery(\"sap-language\",f)}}if(!c.hasQuery(\"sap-client\")){var f=h.get({name:\"sapClient\",type:h.Type.String,external:true});if(f){c.addQuery(\"sap-client\",f)}}t=c.toString();o.info(\"Loading manifest via URL: \"+t);if(!r){o.warning(\"Synchronous loading of manifest, due to Manifest.load() call for '\"+t+\"'. Use parameter 'async' true to avoid this.\",\"SyncXHR\",null,function(){return{type:\"SyncXHR\",name:\"Manifest\"}})}var l=p.loadResource({url:t,dataType:\"json\",async:typeof r!==\"undefined\"?r:false,headers:{\"Accept-Language\":e.getLanguageTag().toString()},failOnError:typeof a!==\"undefined\"?a:true});var d={componentName:s,url:t,process:false};if(n.activeTerminologies){d[\"activeTerminologies\"]=n.activeTerminologies}if(r){return l.then(function(e){if(u&&e){return u(e)}else{return e}}).then(function(e){if(!e){d._bLoadManifestRequestFailed=true}return new w(e,d)})}return new w(l,d)};w.processObject=function(e,n){for(var i in e){if(!Object.hasOwn(e,i)){continue}var t=e[i];switch(typeof t){case\"object\":if(t){w.processObject(t,n)}break;case\"string\":n(e,i,t);break;default:}}};return w});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Messaging\", [\"sap/base/future\",\"sap/base/util/deepEqual\",\"sap/base/util/merge\",\"sap/ui/core/message/ControlMessageProcessor\",\"sap/ui/core/message/Message\",\"sap/ui/core/message/MessageType\",\"sap/ui/core/message/MessageProcessor\",\"sap/ui/model/message/MessageModel\"],(e,r,a,s,t,i,n,o)=>{\"use strict\";var g;var c={};var f={};var u;const d={addMessages:function(e){var r=e,a=A(e);if(!e){return}else if(Array.isArray(e)){for(var s=0;s<e.length;s++){r=e[s];p(r)}}else{p(e)}m(a)},removeMessages:function(e){y.apply(d,arguments)},removeAllMessages:function(){var e={};for(var r in f){var a=Object.keys(f[r])[0];var s=f[r][a];Object.assign(e,A(s))}f={};m(e)},updateMessages:function(e,r){d.removeMessages(e);d.addMessages(r);var a=[].concat(e||[],r||[]);var s=A(a);for(var t in s){s[t].fireEvent(\"messageChange\",{newMessages:r,oldMessages:e})}},registerMessageProcessor:function(e){var r=e.getId(),a={};if(!c[r]){c[r]=r;if(r in f){a[r]=e;M(a)}if(!n._isRegistered){var s=sap.ui.require(\"sap/ui/core/Messaging\");var t=n.prototype.destroy;n.prototype.destroy=function(){t.apply(this);s.unregisterMessageProcessor(this)};n._isRegistered=true}}},unregisterMessageProcessor:function(e){I(e.getId());delete c[e.getId()]},registerObject:function(r,a){if(!(r&&r.isA&&r.isA([\"sap.ui.base.ManagedObject\",\"sap.ui.core.Core\"]))){e.errorThrows(\"Messaging: \"+r.toString()+\" is not an instance of sap.ui.base.ManagedObject\")}else{r.attachValidationSuccess(a,v);r.attachValidationError(a,l);r.attachParseError(a,l);r.attachFormatError(a,l)}},unregisterObject:function(r){if(!(r&&r.isA&&r.isA(\"sap.ui.base.ManagedObject\"))){e.errorThrows(\"Messaging: \"+r.toString()+\" is not an instance of sap.ui.base.ManagedObject\")}else{r.detachValidationSuccess(v);r.detachValidationError(l);r.detachParseError(l);r.detachFormatError(l)}},getMessageModel:function(){if(!g){g=new o;g.setData([])}return g}};function l(e,r){if(!u){u=new s}if(r){var a=e.getParameter(\"element\");var n=e.getParameter(\"property\");var o=a.getId()+\"/\"+n;var g=u.getId();var c=e.sId===\"formatError\";if(f[g]&&f[g][o]){y(f[g][o],true)}var l={};l[a.getId()]={properties:{},fieldGroupIds:a.getFieldGroupIds?a.getFieldGroupIds():undefined};l[a.getId()].properties[n]=true;var v=new t({type:i.Error,message:e.getParameter(\"message\"),target:o,processor:u,technical:c,references:l,validation:true});d.addMessages(v)}e.cancelBubble()}function v(e,r){if(!u){u=new s}if(r){var a=e.getParameter(\"element\");var t=e.getParameter(\"property\");var i=a.getId()+\"/\"+t;var n=u.getId();if(f[n]&&f[n][i]){y(f[n][i],true)}}e.cancelBubble()}function p(e){var r=e.getMessageProcessor(),a=r&&r.getId(),s=e.getTargets();if(!f[a]){f[a]={}}if(!s.length){s=[undefined]}s.forEach(function(r){var s=f[a][r]?f[a][r]:[];s.push(e);f[a][r]=s})}function M(e){var r,s;for(s in e){r=e[s];var t=f[s]?f[s]:{};h(t);t=Object.keys(t).length===0?null:a({},t);r.setMessages(t)}}function h(e){var r,a;if(Array.isArray(e)){e={ignored:e}}for(r in e){a=e[r];if(a.length>1){a.sort(t.compare)}}}function m(e){var r=new Map,a,s=d.getMessageModel(),t;function i(e){r.set(e,true)}for(a in f){for(t in f[a]){f[a][t].forEach(i)}}M(e);s.setData(Array.from(r.keys()))}function y(e,r){var a=A(e);if(!e||Array.isArray(e)&&e.length==0){return}else if(Array.isArray(e)){var s=e.slice(0);for(var i=0;i<s.length;i++){if(!r||s[i].validation){b(s[i])}}}else if(e instanceof t&&(!r||e.validation)){b(e)}else{for(var n in e){y(e[n],r)}}m(a)}function b(e){var a=e.getMessageProcessor(),s=a&&a.getId(),t=f[s],i;if(!t){return}i=e.getTargets();if(!i.length){i=[undefined]}i.forEach(function(a){var s=t[a];if(s){for(var i=0;i<s.length;i++){var n=s[i];if(r(n,e)){s.splice(i,1);--i}}if(t[a].length===0){delete t[a]}}})}function A(e){var r,a,s={};if(e){if(!Array.isArray(e)){e=[e]}e.forEach(function(e){r=e.getMessageProcessor();if(r){a=r.getId();s[a]=r;d.registerMessageProcessor(r)}})}return s}function I(e){delete f[e];m({})}return d});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Patcher\", [\"sap/ui/Device\"],function(t){\"use strict\";var e=document.createElement(\"title\").style;var r=document.createElement(\"template\");var i={value:function(t,e){if(t.tagName==\"INPUT\"){t.value=e==null?\"\":e}},checked:function(t,e){if(t.tagName==\"INPUT\"){t.checked=e==null?false:true}},selected:function(t,e){if(t.tagName==\"OPTION\"){t.selected=e==null?false:true}}};if(t.browser.safari){i.style=function(t,e){if(e==null){t.style=\"\";return true}}}var n=function(t,e){if(t==\"svg\"){return document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\")}var r=e&&e.namespaceURI;if(!r||r==\"http://www.w3.org/1999/xhtml\"||e.localName==\"foreignObject\"){return document.createElement(t)}return document.createElementNS(r,t)};var s=function(){this._oRoot=null;this._oCurrent=null;this._oParent=null;this._oReference=null;this._oNewElement=null;this._oNewParent=null;this._oNewReference=null;this._iTagOpenState=0;this._sStyles=\"\";this._sClasses=\"\";this._mAttributes=Object.create(null)};s.prototype.setRootNode=function(t){if(this._oRoot){this.reset()}this._oRoot=t||document.createDocumentFragment()};s.prototype.getRootNode=function(){return this._oRoot};s.prototype.getCurrentNode=function(){return this._oCurrent};s.prototype.reset=function(){this._oRoot=this._oCurrent=this._oParent=this._oReference=this._oNewElement=this._oNewParent=this._oNewReference=null;this._iTagOpenState=0};s.prototype._walkOnTree=function(){this._oReference=null;if(!this._oCurrent){if(this._oRoot.nodeType==11){this._oParent=this._oRoot}else{this._oParent=this._oRoot.parentNode;this._oCurrent=this._oRoot}}else if(this._iTagOpenState){this._oParent=this._oCurrent;this._oCurrent=this._oCurrent.firstChild}else{this._oParent=this._oCurrent.parentNode;this._oCurrent=this._oCurrent.nextSibling}};s.prototype._matchElement=function(t){if(!t){return}if(!this._oCurrent){return}if(this._oCurrent.id==t||this._oCurrent==this._oRoot){return}var e=document.getElementById(t);if(e){this._oCurrent=this._oParent.insertBefore(e,this._oCurrent);return}if(this._oCurrent.id){this._oReference=this._oCurrent;this._oCurrent=null}};s.prototype._matchNodeName=function(t){if(!this._oCurrent){return}var e=this._oCurrent.nodeType==1?this._oCurrent.localName:this._oCurrent.nodeName;if(e==t){return}this._oReference=this._oCurrent;this._oCurrent=null};s.prototype._getAttributes=function(){for(var t=0,e=this._oCurrent.getAttributeNames();t<e.length;t++){this._mAttributes[e[t]]=this._oCurrent.getAttribute(e[t])}};s.prototype._setNewElement=function(t){if(!t){return}if(!this._oNewElement){this._oNewElement=this._oCurrent;this._oNewParent=this._oParent;this._oNewReference=this._oReference}else{this._oParent.insertBefore(this._oCurrent,this._oReference)}};s.prototype._insertNewElement=function(){if(this._oCurrent==this._oNewElement){this._oNewParent[this._oNewReference==this._oRoot?\"replaceChild\":\"insertBefore\"](this._oNewElement,this._oNewReference);this._oNewElement=this._oNewParent=this._oNewReference=null}};s.prototype.isCreating=function(){return Boolean(this._oNewElement)};s.prototype.alignWithDom=function(t,e){this._walkOnTree();if(!this._oCurrent||this._oCurrent.id!=t.id||this._oParent!=t.parentNode){this._oCurrent=this._oParent.insertBefore(t,this._oCurrent)}if(e){this._oCurrent=e(t)||this._oCurrent}this._iTagOpenState=0;return this};s.prototype.openStart=function(t,e){this._walkOnTree();this._matchElement(e);this._matchNodeName(t);if(this._oCurrent){this._getAttributes();this._iTagOpenState=2}else{this._oCurrent=n(t,this._oParent);this._setNewElement(this._oCurrent);this._iTagOpenState=1}if(e){this.attr(\"id\",e)}return this};s.prototype.voidStart=s.prototype.openStart;s.prototype.attr=function(t,e){if(t===\"style\"){this._sStyles=e;return this}if(this._iTagOpenState==1){this._oCurrent.setAttribute(t,e);return this}var r=String(e);var n=this._mAttributes[t];var s=i[t];if(n!==undefined){delete this._mAttributes[t]}if(s&&s(this._oCurrent,r,n)){return this}if(n!==r){this._oCurrent.setAttribute(t,r)}return this};s.prototype.class=function(t){if(t){this._sClasses+=this._sClasses?\" \"+t:t}return this};s.prototype.style=function(t,r){if(!t||r==null||r==\"\"){return this}r=r+\"\";if(r.includes(\";\")){e.setProperty(t,r);r=e.getPropertyValue(t)}this._sStyles+=(this._sStyles?\" \":\"\")+(t+\": \"+r+\";\");return this};s.prototype.openEnd=function(){if(this._sClasses){this.attr(\"class\",this._sClasses);this._sClasses=\"\"}if(this._sStyles){if(this._mAttributes.style!=this._sStyles){this._oCurrent.style=this._sStyles}delete this._mAttributes.style;this._sStyles=\"\"}if(this._iTagOpenState==1){return this}for(var t in this._mAttributes){var e=i[t];if(!e||!e(this._oCurrent,null)){this._oCurrent.removeAttribute(t)}delete this._mAttributes[t]}return this};s.prototype.voidEnd=function(){this.openEnd();this._iTagOpenState=0;this._insertNewElement();return this};s.prototype.text=function(t){this._walkOnTree();this._matchNodeName(\"#text\");if(!this._oCurrent){this._oCurrent=document.createTextNode(t);this._oParent.insertBefore(this._oCurrent,this._oReference)}else if(this._oCurrent.data!=t){this._oCurrent.data=t}this._iTagOpenState=0;return this};s.prototype.close=function(t){if(this._iTagOpenState){this._iTagOpenState=0;if(this._oCurrent.lastChild){this._oCurrent.textContent=\"\"}}else{var e=this._oCurrent.parentNode;for(var r=e.lastChild;r&&r!=this._oCurrent;r=e.lastChild){e.removeChild(r)}this._oCurrent=e}this._insertNewElement();return this};s.prototype.unsafeHtml=function(t,e,i){var n=null;var s=this._oCurrent;if(!s){n=this._oRoot}else if(this._iTagOpenState){n=s.firstChild;if(t){this._iTagOpenState=0;s.insertAdjacentHTML(\"afterbegin\",t);this._oCurrent=n?n.previousSibling:s.lastChild}}else{n=s.nextSibling;if(t){if(s.nodeType==1){s.insertAdjacentHTML(\"afterend\",t)}else{r.innerHTML=t;s.parentNode.insertBefore(r.content,n)}this._oCurrent=n?n.previousSibling:s.parentNode.lastChild}}if(t&&i){var o=[this._oCurrent];for(var h=this._oCurrent.previousSibling;h&&h!=s;h=h.previousSibling){o.unshift(h)}i(o)}if(e&&n&&n.id==e){n.remove()}return this};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/RenderManager\", [\"./ControlBehavior\",\"./FocusHandler\",\"./InvisibleRenderer\",\"./LabelEnablement\",\"./Patcher\",\"sap/base/assert\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/security/encodeCSS\",\"sap/base/security/encodeXML\",\"sap/base/util/extend\",\"sap/base/util/uid\",\"sap/ui/base/Object\",\"sap/ui/performance/Measurement\",\"sap/ui/performance/trace/Interaction\",\"sap/ui/thirdparty/jquery\",\"sap/ui/util/ActivityDetection\"],function(e,t,n,r,i,a,s,o,l,u,f,c,d,p,h,jQuery,g){\"use strict\";var m;var y=[\"renderControl\",\"cleanupControlWithoutRendering\",\"accessibilityState\",\"icon\"];var b=[\"write\",\"writeEscaped\",\"writeAcceleratorKey\",\"writeControlData\",\"writeElementData\",\"writeAttribute\",\"writeAttributeEscaped\",\"addClass\",\"writeClasses\",\"addStyle\",\"writeStyles\",\"writeAccessibilityState\",\"writeIcon\",\"translate\",\"getConfiguration\",\"getHTML\"];var v=[\"openStart\",\"voidStart\",\"attr\",\"class\",\"style\",\"openEnd\",\"voidEnd\",\"text\",\"unsafeHtml\",\"close\"];var C=[\"render\",\"flush\",\"destroy\"];var S=document.createElement(\"template\");var E=\"data-sap-ui-stylekey\";var R=\"data-sap-ui-render\";function A(){var e=this,r,s,l,f,c=\"\",m=false,I,P=\"\",O={},j={},T=[],N=new i,_=0,x,H;function F(){a(!(x=H=\"\"));r=e.aBuffer=[];s=e.aRenderedControls=[];l=e.aStyleStack=[{}];I=undefined;m=false;_=0;c=\"\"}function L(e,t){r.push(\" \",e,'=\"',t,'\"')}function V(e){var t=l[l.length-1];var n;if(e){n=e.aCustomStyleClasses}else if(e===false){n=[]}else{n=t.aCustomStyleClasses}if(t.aClasses||n){var r=[].concat(t.aClasses||[],n||[]);if(r.length){L(\"class\",r.join(\" \"))}}if(!e){t.aCustomStyleClasses=null}t.aClasses=null}function q(){var e=l[l.length-1];if(e.aStyle&&e.aStyle.length){L(E,T.push(e.aStyle.join(\" \"))-1)}e.aStyle=null}function U(e,t){a(e&&typeof e==\"string\"&&/^[a-z_][a-zA-Z0-9_\\-]*$/.test(e),\"The \"+t+\" name provided '\"+e+\"' is not valid; it must contain alphanumeric characters, hyphens or underscores\")}function W(e){a(c,\"There is no open tag; '\"+e+\"' must not be called without an open tag\")}function G(e){var t=e===undefined?!c:e;a(t,\"There is an open tag; '\"+c+\"' tag has not yet ended with '\"+(m?\"voidEnd\":\"openEnd\")+\"'\")}function X(e){U(e,\"attr\");a((e!=\"class\"||H!=\"class\"&&(H=\"attr\"))&&(e!=\"style\"||x!=\"style\"&&(x=\"attr\")),\"Attributes 'class' and 'style' must not be written when the methods with the same name\"+\" have been called for the same element already\")}function $(e){a(H!=\"attr\"&&(H=\"class\"),\"Method class() must not be called after the 'class' attribute has been written for the same element\");a(typeof e==\"string\"&&!/\\s/.test(e)&&arguments.length===1,\"Method 'class' must be called with exactly one class name\")}function z(e){a(x!=\"attr\"&&(x=\"style\"),\"Method style() must not be called after the 'style' attribute has been written for the same element\");a(e&&typeof e==\"string\"&&!/\\s/.test(e),\"Method 'style' must be called with a non-empty string name\")}this.write=function(e){a(typeof e===\"string\"||typeof e===\"number\",\"sText must be a string or number\");r.push.apply(r,arguments);return this};this.writeEscaped=function(e,t){if(e!=null){e=u(String(e));if(t){e=e.replace(/ /g,\"<br>\")}r.push(e)}return this};this.writeAttribute=function(e,t){a(typeof e===\"string\",\"sName must be a string\");a(typeof t===\"string\"||typeof t===\"number\"||typeof t===\"boolean\",\"value must be a string, number or boolean\");r.push(\" \",e,'=\"',t,'\"');return this};this.writeAttributeEscaped=function(e,t){a(typeof e===\"string\",\"sName must be a string\");r.push(\" \",e,'=\"',u(String(t)),'\"');return this};this.addStyle=function(e,t){a(typeof e===\"string\",\"sName must be a string\");if(t!=null&&t!=\"\"){a(typeof t===\"string\"||typeof t===\"number\",\"value must be a string or number\");var n=l[l.length-1];if(!n.aStyle){n.aStyle=[]}n.aStyle.push(e+\": \"+t+\";\")}return this};this.writeStyles=function(){q();return this};this.addClass=function(e){if(e){a(typeof e===\"string\",\"sName must be a string\");var t=l[l.length-1];if(!t.aClasses){t.aClasses=[]}t.aClasses.push(e)}return this};this.writeClasses=function(e){a(!e||typeof e===\"boolean\"||d.isObjectA(e,\"sap.ui.core.Element\"),\"oElement must be empty, a boolean, or an sap.ui.core.Element\");V(e);return this};this.openStart=function(e,t){U(e,\"tag\");G();a(!(x=H=\"\"));c=e;_++;r.push(\"<\"+e);if(t){if(typeof t==\"string\"){this.attr(\"id\",t)}else{a(t&&d.isObjectA(t,\"sap.ui.core.Element\"),\"vControlOrId must be an sap.ui.core.Element\");this.attr(\"id\",t.getId());M(this,t)}}return this};this.openEnd=function(e){W(\"openEnd\");G(!m);a(e===undefined||e===true,\"The private parameter bExludeStyleClasses must be true or omitted!\");c=\"\";V(e===true?false:undefined);q();r.push(\">\");return this};this.close=function(e){U(e,\"tag\");G();_--;r.push(\"</\"+e+\">\");return this};this.voidStart=function(e,t){this.openStart(e,t);m=true;return this};this.voidEnd=function(e){W(\"voidEnd\");G(m||!c);m=false;_--;c=\"\";V(e?false:undefined);q();r.push(\">\");return this};this.unsafeHtml=function(e){G();r.push(e);return this};this.text=function(e){G();if(e!=null){e=u(String(e));r.push(e)}return this};this.attr=function(e,t){X(e);if(e==\"style\"){l[l.length-1].aStyle=[t]}else{r.push(\" \",e,'=\"',u(String(t)),'\"')}return this};this.class=function(e){if(e){$.apply(this,arguments);var t=l[l.length-1];if(!t.aClasses){t.aClasses=[]}t.aClasses.push(u(e))}return this};this.style=function(e,t){z(e);if(t!=null&&t!=\"\"){a(typeof t===\"string\"||typeof t===\"number\",\"value must be a string or number\");var n=l[l.length-1];if(!n.aStyle){n.aStyle=[]}n.aStyle.push(e+\": \"+t+\";\")}return this};j.openStart=function(e,t){U(e,\"tag\");G();a(!(x=H=\"\"));c=e;_++;if(!t){N.openStart(e)}else if(typeof t==\"string\"){N.openStart(e,t)}else{N.openStart(e,t.getId());M(this,t)}return this};j.voidStart=function(e,t){this.openStart(e,t);m=true;return this};j.attr=function(e,t){X(e);W(\"attr\");N.attr(e,t);return this};j.class=function(e){if(e){$.apply(this,arguments);W(\"class\");N.class(e)}return this};j.style=function(e,t){z(e);W(\"style\");N.style(e,t);return this};j.openEnd=function(e){if(e!==true){var t=l[l.length-1];var n=t.aCustomStyleClasses;if(n){n.forEach(N.class,N);t.aCustomStyleClasses=null}}W(\"openEnd\");G(!m);a(e===undefined||e===true,\"The private parameter bExludeStyleClasses must be true or omitted!\");c=\"\";N.openEnd();return this};j.voidEnd=function(e){if(!e){var t=l[l.length-1];var n=t.aCustomStyleClasses;if(n){n.forEach(N.class,N);t.aCustomStyleClasses=null}}W(\"voidEnd\");G(m||!c);m=false;_--;c=\"\";N.voidEnd();return this};j.text=function(e){G();if(e!=null){N.text(e)}return this};j.unsafeHtml=function(e){G();N.unsafeHtml(e);return this};j.close=function(e){U(e,\"tag\");G();_--;N.close(e);return this};function J(e){f=true;try{var t=new jQuery.Event(\"BeforeRendering\");t.srcControl=e;e._bOnBeforeRenderingPhase=true;e._handleEvent(t)}finally{e._bOnBeforeRenderingPhase=false;f=false}}this.cleanupControlWithoutRendering=function(e){a(!e||d.isObjectA(e,\"sap.ui.core.Control\"),\"oControl must be an sap.ui.core.Control or empty\");if(!e){return}var t=e.getDomRef();if(t){J(e);A.preserveContent(t,false,false);if(!t.hasAttribute(D)){e._bNeedsRendering=false;e.bOutput=false}}};function K(e,t){if(t){J(e)}if(e.bOutput==true){var i=e.aBindParameters;if(i&&i.length>0){var a=e.$();i.forEach(function(e){a.off(e.sEventType,e.fnProxy)})}}var u=B(e);if(u==n){n.render(I?j:O,e);e.bOutput=\"invisible\"}else if(u&&typeof u.render===\"function\"){var f={};if(e.aCustomStyleClasses&&e.aCustomStyleClasses.length>0){f.aCustomStyleClasses=e.aCustomStyleClasses}l.push(f);e._bRenderingPhase=true;if(I){var c=N.getCurrentNode();u.render(j,e);if(N.getCurrentNode()==c){N.unsafeHtml(\"\",e.getId());e.bOutput=false}else{e.bOutput=true}}else{var d=r.length;u.render(O,e);e.bOutput=r.length!=d}e._bRenderingPhase=false;l.pop()}else{o.error(\"The renderer for class \"+e.getMetadata().getName()+\" is not defined or does not define a render function! Rendering of \"+e.getId()+\" will be skipped!\")}s.push(e);e._bNeedsRendering=false;var p=e.getUIArea();if(p){p._onControlRendered(e)}}this.renderControl=function(e){a(!e||d.isObjectA(e,\"sap.ui.core.Control\"),\"oControl must be an sap.ui.core.Control or empty\");if(!e){return this}var i,s;var o=true;if(r.length){I=false}else if(I===undefined){J(e);o=false;s=B(e);if(A.getApiVersion(s)!=1){i=e.getDomRef()||n.getDomRef(e);if(A.isPreservedContent(i)){I=false}else{i&&t.storePatchingControlFocusInfo(i);N.setRootNode(i);I=true}}else{I=false}}else if(!P&&I){s=B(e);if(A.getApiVersion(s)==1){P=e.getId();I=false}}if(I){if(e._bNeedsRendering||!e.getParent()||N.isCreating()||!A.canSkipRendering(e)||!(i=i||e.getDomRef()||n.getDomRef(e))||i.hasAttribute(R)||i.querySelector(\"[\"+R+\"]\")){K(e,o)}else{N.alignWithDom(i)}}else{K(e,o);if(P&&P===e.getId()){N.unsafeHtml(r.join(\"\"),P,ee);P=\"\";I=true;r=[]}}return this};this.getHTML=function(e){a(e&&d.isObjectA(e,\"sap.ui.core.Control\"),\"oControl must be an sap.ui.core.Control\");var t=r;var n=r=this.aBuffer=[];this.renderControl(e);r=this.aBuffer=t;return n.join(\"\")};function Z(e){a(!_,\"RenderManager: Mismatched opening and closing tags. Verify renderers!\");var n,r=s.length;for(n=0;n<r;n++){s[n]._sapui_bInAfterRenderingPhase=true}f=true;try{for(n=0;n<r;n++){var i=s[n];if(i.bOutput&&i.bOutput!==\"invisible\"){var l=new jQuery.Event(\"AfterRendering\");l.srcControl=i;p.start(i.getId()+\"---AfterRendering\",\"AfterRendering of \"+i.getMetadata().getName(),[\"rendering\",\"after\"]);i._handleEvent(l);p.end(i.getId()+\"---AfterRendering\")}}}finally{for(n=0;n<r;n++){delete s[n]._sapui_bInAfterRenderingPhase}f=false}try{t.restoreFocus(e)}catch(e){o.warning(\"Problems while restoring the focus after rendering: \"+e,null)}for(n=0;n<r;n++){var i=s[n],u=i.aBindParameters,c;if(u&&u.length>0&&(c=i.getDomRef())){var d=jQuery(c);for(var h=0;h<u.length;h++){var g=u[h];d.on(g.sEventType,g.fnProxy)}}}}function Q(e,n,i){var a;if(!I){a=t.getControlFocusInfo();var s=r.join(\"\");if(s&&T.length){if(i instanceof SVGElement&&i.localName!=\"foreignObject\"){S.innerHTML=\"<svg>\"+s+\"</svg>\";S.replaceWith.apply(S.content.firstChild,S.content.firstChild.childNodes)}else{S.innerHTML=s}ee(S.content.childNodes);e(S.content)}else{e(s)}}else{var o=N.getRootNode();if(o.nodeType==11){a=t.getControlFocusInfo();e(o.lastChild?o:\"\")}else{a=t.getPatchingControlFocusInfo()}N.reset()}Z(a);F();g.refresh();if(n){n()}}function Y(e,t){var n=e.getAttribute(E);if(n!=t){return 0}e.style=T[t];e.removeAttribute(E);return 1}function ee(e){if(!T.length){return}var t=0;e.forEach(function(e){if(e.nodeType==1){t+=Y(e,t);e.querySelectorAll(\"[\"+E+\"]\").forEach(function(e){t+=Y(e,t)})}});T=[]}this.flush=function(e,t,n){a(typeof e===\"object\"&&e.ownerDocument==document,\"oTargetDomNode must be a DOM element\");var r=h.notifyAsyncStep();if(!t&&typeof n!==\"number\"&&!n){A.preserveContent(e)}Q(function(t){for(var r=0;r<s.length;r++){var i=s[r].getDomRef();if(i&&!A.isPreservedContent(i)){if(A.isInlineTemplate(i)){jQuery(i).empty()}else{jQuery(i).remove()}}}if(typeof n===\"number\"){if(n<=0){k(e,\"prepend\",t)}else{var a=e.children[n-1];if(a){k(a,\"after\",t)}else{k(e,\"append\",t)}}}else if(!n){jQuery(e).html(t)}else{k(e,\"append\",t)}},r,e)};this.render=function(e,t){a(e&&d.isObjectA(e,\"sap.ui.core.Control\"),\"oControl must be a control\");a(typeof t===\"object\"&&t.ownerDocument==document,\"oTargetDomNode must be a DOM element\");if(f){o.error(\"Render must not be called within Before or After Rendering Phase. Call ignored.\",null,this);return}var r=h.notifyAsyncStep();F();this.renderControl(e);Q(function(r){if(e&&t){var i=e.getDomRef();if(!i||A.isPreservedContent(i)){i=n.getDomRef(e)||document.getElementById(w.Dummy+e.getId())}var a=i&&i.parentNode!=t;if(a){if(!A.isPreservedContent(i)){if(A.isInlineTemplate(i)){jQuery(i).empty()}else{jQuery(i).remove()}}if(r){k(t,\"append\",r)}}else{if(r){if(i){if(A.isInlineTemplate(i)){jQuery(i).html(r)}else{k(i,\"after\",r);jQuery(i).remove()}}else{k(t,\"append\",r)}}else{if(A.isInlineTemplate(i)){jQuery(i).empty()}else{if(!e.getParent()||!e.getParent()._onChildRerenderedEmpty||!e.getParent()._onChildRerenderedEmpty(e,i)){jQuery(i).remove()}}}}}},r,t)};this.destroy=function(){F()};var te={};y.forEach(function(e){O[e]=j[e]=te[e]=this[e]},this);v.forEach(function(e){O[e]=te[e]=this[e]},this);b.forEach(function(e){O[e]=te[e]=this[e]},this);C.forEach(function(e){te[e]=this[e]},this);this.getRendererInterface=function(){return O};this.getInterface=function(){return te};F()}A.prototype.getConfiguration=function(){return sap.ui.require(\"sap/ui/core/Configuration\")};A.prototype.translate=function(e){};A.prototype.writeAcceleratorKey=function(){return this};A.prototype.writeControlData=function(e){a(e&&d.isObjectA(e,\"sap.ui.core.Control\"),\"oControl must be an sap.ui.core.Control\");this.writeElementData(e);return this};A.prototype.writeElementData=function(e){a(e&&d.isObjectA(e,\"sap.ui.core.Element\"),\"oElement must be an sap.ui.core.Element\");this.attr(\"id\",e.getId());M(this,e);return this};A.prototype.accessibilityState=function(t,n){if(!e.isAccessibilityEnabled()){return this}if(arguments.length==1&&!d.isObjectA(t,\"sap.ui.core.Element\")){n=t;t=null}var i={};if(t!=null){var a=t.getMetadata();var s=function(e,n,r){var s=a.getProperty(e);if(s&&t[s._sGetter]()===r){i[n]=\"true\"}};var o=function(e,n){var s=a.getAssociation(e);if(s&&s.multiple){var o=t[s._sGetter]();if(e==\"ariaLabelledBy\"){var l=r.getReferencingLabels(t);var u=l.length;if(u){var f=[];for(var c=0;c<u;c++){if(o.indexOf(l[c])<0){f.push(l[c])}}o=f.concat(o)}}if(o.length>0){i[n]=o.join(\" \")}}};s(\"editable\",\"readonly\",false);s(\"enabled\",\"disabled\",false);s(\"visible\",\"hidden\",false);if(r.isRequired(t)){i[\"required\"]=\"true\"}s(\"selected\",\"selected\",true);s(\"checked\",\"checked\",true);o(\"ariaDescribedBy\",\"describedby\");o(\"ariaLabelledBy\",\"labelledby\")}if(n){var l=function(e){var t=typeof e;return e===null||t===\"number\"||t===\"string\"||t===\"boolean\"};var u={};var f,c,p;for(f in n){c=n[f];if(l(c)){u[f]=c}else if(typeof c===\"object\"&&l(c.value)){p=\"\";if(c.append&&(f===\"describedby\"||f===\"labelledby\")){p=i[f]?i[f]+\" \":\"\"}u[f]=p+c.value}}Object.assign(i,u)}if(d.isObjectA(t,\"sap.ui.core.Element\")){var h=t.getParent();if(h&&h.enhanceAccessibilityState){var g=Object.assign({},i);h.enhanceAccessibilityState(t,i);if(i.canSkipRendering==false||i.canSkipRendering==undefined&&d.isObjectA(t,\"sap.ui.core.Control\")&&A.canSkipRendering(t)&&JSON.stringify(g)!=JSON.stringify(i)){this.attr(R,\"\")}delete i.canSkipRendering}}for(var m in i){if(i[m]!=null&&i[m]!==\"\"){this.attr(m===\"role\"?m:\"aria-\"+m,i[m])}}return this};A.prototype.writeAccessibilityState=A.prototype.accessibilityState;A.prototype.icon=function(e,t,n){var r=sap.ui.require(\"sap/ui/core/IconPool\");if(!r){s.warningThrows(\"sap/ui/core/IconPool must be loaded before sap.ui.core.RenderManager#icon can be called.\",{suffix:\"Falling back to synchronous loading of IconPool\"},\"SyncXHR\",null,function(){return{type:\"SyncXHR\",name:\"rendermanager-icon\"}});r=sap.ui.requireSync(\"sap/ui/core/IconPool\")}var i=r.isIconURI(e),a=false,u,d,p,h,g;if(typeof t===\"string\"){t=[t]}if(i){d=r.getIconInfo(e);if(!d){o.error(\"An unregistered icon: \"+e+\" is used in sap.ui.core.RenderManager's writeIcon method.\");return this}if(!t){t=[]}t.push(\"sapUiIcon\");if(!d.suppressMirroring){t.push(\"sapUiIconMirrorInRTL\")}}if(i){this.openStart(\"span\")}else{this.voidStart(\"img\")}if(Array.isArray(t)){t.forEach(function(e){this.class(e)},this)}if(i){p={\"data-sap-ui-icon-content\":d.content,role:\"presentation\",title:d.text||null};this.style(\"fon Copyright 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v2/_CreatedContextsCache\", [],function(){\"use strict\";function t(){this.mCache={}}t.prototype.addContext=function(t,e,n,r){var i,o;o=this.mCache[e];if(!o){o=this.mCache[e]={}}i=o[n];if(!i){i=o[n]=[];i.bAtEnd=r}if(r){i.push(t)}else{i.unshift(t)}};t.prototype.findAndRemoveContext=function(t){var e=this.getCacheInfo(t);if(e){this.removeContext(t,e.cachePath,e.listID)}};t.prototype.findCreatedContext=function(t){var e;Object.values(this.mCache).some(function(n){return Object.values(n).some(function(n){return n.some(function(n){if(t.startsWith(n.getPath())){e=n;return true}return false})})});return e};t.prototype.getCacheInfo=function(t){var e,n=this;Object.keys(this.mCache).some(function(r){var i=n.mCache[r];return Object.keys(i).some(function(i){var o=n.mCache[r][i];if(o.includes(t)){e={cachePath:r,listID:i};return true}return false})});return e};t.prototype.getContexts=function(t,e){var n=this.mCache[t],r=n&&n[e];return r?r.slice():[]};t.prototype.isAtEnd=function(t,e){var n=this.mCache[t],r=n&&n[e];return r&&r.bAtEnd};t.prototype.removeContext=function(t,e,n){var r=this.mCache[e],i=r[n];i.splice(i.indexOf(t),1);if(!i.length){delete r[n];if(!Object.keys(r).length){delete this.mCache[e]}}};t.prototype.removePersistedContexts=function(t,e){var n=this.getContexts(t,e).filter(function(t){return t.isTransient()===false}),r=this;n.forEach(function(n){n.resetCreatedPromise();r.removeContext(n,t,e)});return n};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/AnnotationHelper\", [\"./_AnnotationHelperExpression\"],function(e){\"use strict\";var t=/[\\\\{}:]/,n=/\\/\\$count$/,r=/\\$(?:(?:Annotation)|(?:(?:Navigation)?Property))?Path/,i=/^(.+?\\/(\\$(?:Annotation)?Path))(\\/?)(.*)$/,a=/\\$(?:Navigation)?PropertyPath/,o={format:function(t,n){var r,o=n.context.getModel(),s=n.context.getPath();function l(r){if(s.endsWith(\"/\")){s=s.slice(0,-1)}return e.getExpression({asExpression:false,complexBinding:true,formatOptions:n.arguments&&n.arguments[1],ignoreAsPrefix:n.overload&&n.overload.$IsBound&&!s.includes(\"/$Parameter/\")?n.overload.$Parameter[0].$Name+\"/\":\"\",model:o,parameters:n.arguments&&n.arguments[0],path:s,prefix:r,value:t,$$valueAsPromise:true})}if(s.endsWith(\"/$Path\")){s=s.slice(0,-6);t={$Path:t}}else if(s.endsWith(\"/$PropertyPath\")){s=s.slice(0,-14);t={$PropertyPath:t}}r=a.exec(s);if(r){throw new Error(\"Unsupported path segment \"+r[0]+\" in \"+s)}r=i.exec(s);if(r&&s.length>r[1].length){if(i.test(r[4])){throw new Error(\"Only one $Path or $AnnotationPath segment is supported: \"+s)}return o.fetchObject(r[1]).then(function(e){var t=r[2]===\"$AnnotationPath\",n=t?e.split(\"@\")[0]:e,i;if(!t&&r[3]){n+=\"/\"}else if(!n.endsWith(\"/\")){i=n.lastIndexOf(\"/\");n=i<0?\"\":n.slice(0,i+1)}return l(n)})}return l(\"\")},getNavigationBinding:function(e){e=o.getNavigationPath(e);if(t.test(e)){throw new Error(\"Invalid OData identifier: \"+e)}return e?\"{\"+e+\"}\":e},getNavigationPath:function(e){var t;if(!e||e[0]===\"@\"){return\"\"}if(n.test(e)){return e.slice(0,-7)}t=e.indexOf(\"@\");if(t>-1){e=e.slice(0,t)}if(e[e.length-1]===\"/\"){e=e.slice(0,-1)}if(e.includes(\".\")){e=e.split(\"/\").filter(function(e){return!e.includes(\".\")}).join(\"/\")}return e},getValueListType:function(e,t){var n=typeof e===\"string\"?\"/\"+t.schemaChildName+\"/\"+e:t.context.getPath();return t.$$valueAsPromise?t.context.getModel().fetchValueListType(n).unwrap():t.context.getModel().getValueListType(n)},isMultiple:function(e,t){var r;function i(e){return e===true}if(!e||e[0]===\"@\"){return false}if(n.test(e)){return true}r=e.indexOf(\"@\");if(r>-1){e=e.slice(0,r)}if(e[e.length-1]!==\"/\"){e+=\"/\"}e=\"/\"+t.schemaChildName+\"/\"+e+\"$isCollection\";return t.$$valueAsPromise?t.context.getModel().fetchObject(e).then(i).unwrap():t.context.getObject(e)===true},label:function(e,t){var n;if(e.Label){return o.value(e.Label,{context:t.context.getModel().createBindingContext(\"Label\",t.context)})}if(e.Value&&e.Value.$Path){n=t.context.getModel().createBindingContext(\"Value/$Path@com.sap.vocabularies.Common.v1.Label\",t.context);if(t.$$valueAsPromise){return n.getModel().fetchObject(\"\",n).then(function(e){return o.value(e,{context:n})}).unwrap()}return o.value(n.getObject(\"\"),{context:n})}},resolve$Path:function(e){var t,n,i,a,o,s=e.getPath(),l,u;for(;;){o=s.match(r);if(!o){return s}i=o.index;t=i+o[0].length;l=s.slice(0,t);u=e.getModel().getObject(l);if(typeof u!==\"string\"){throw new Error(\"Cannot resolve \"+l+\" due to unexpected value \"+u)}l=s.slice(0,i);n=l.indexOf(\"@\");a=l.lastIndexOf(\"/\",n);if(a===0){l=l.slice(0,n);if(n>1&&u){l+=\"/\"}}else{l=l.slice(0,a+1)}s=l+u+s.slice(t)}},value:function(t,n){var r=n.context.getPath();if(r.endsWith(\"/\")){r=r.slice(0,-1)}else if(r.endsWith(\"/$Path\")){r=r.slice(0,-6);t={$Path:t}}else if(r.endsWith(\"/$PropertyPath\")){r=r.slice(0,-14);t={$PropertyPath:t}}return e.getExpression({asExpression:false,complexBinding:false,ignoreAsPrefix:n.overload&&n.overload.$IsBound&&!r.includes(\"/$Parameter/\")?n.overload.$Parameter[0].$Name+\"/\":\"\",model:n.context.getModel(),parameters:n.arguments&&n.arguments[0],path:r,prefix:\"\",value:t,$$valueAsPromise:n.$$valueAsPromise})}};return o},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/Context\", [\"./lib/_Helper\",\"sap/base/Log\",\"sap/ui/base/SyncPromise\",\"sap/ui/model/Context\"],function(e,t,i,n){\"use strict\";var r=\"sap.ui.model.odata.v4.Context\",o=0,s,h=Number.MIN_SAFE_INTEGER,a=n.extend(\"sap.ui.model.odata.v4.Context\",{constructor:d});function d(e,t,i,r,o,s,h){if(i[0]!==\"/\"){throw new Error(\"Not an absolute path: \"+i)}if(i.endsWith(\"/\")){throw new Error(\"Unsupported trailing slash: \"+i)}n.call(this,e,i);this.oBinding=t;this.setCreated(o);this.oDeletePromise=null;this.bFiringCreateActivate=false;this.iGeneration=s||0;this.bInactive=h||undefined;this.iIndex=r;this.bKeepAlive=false;this.bOutOfPlace=false;this.bSelected=false;this.fnOnBeforeDestroy=undefined}a.prototype.adjustPredicate=function(e,t,i){var n=this.sPath;this.sPath=n.replace(e,t);if(i){i(n,this.sPath)}this.oModel.getDependentBindings(this).forEach(function(i){i.adjustPredicate(e,t)})};a.prototype.checkUpdate=function(){if(this.oModel){this.oModel.getDependentBindings(this).forEach(function(e){e.checkUpdate()})}};a.prototype.checkUpdateInternal=function(){return i.all(this.oModel.getDependentBindings(this).map(function(e){return e.checkUpdateInternal()}))};a.prototype.collapse=function(e){switch(this.getProperty(\"@$ui5.node.level\")===0?undefined:this.isExpanded()){case true:this.oBinding.collapse(this,e);break;case false:throw new Error(\"Already collapsed: \"+this);default:throw new Error(\"Not expandable: \"+this)}};a.prototype.created=function(){return this.oCreatedPromise};a.prototype.delete=function(t,n){var r,o=null,s=this;if(this.isDeleted()){throw new Error(\"Must not delete twice: \"+this)}if(e.isDataAggregation(this.oBinding.mParameters)){throw new Error(\"Cannot delete \"+this+\" when using data aggregation\")}this.oBinding.checkSuspended();if(this.isTransient()){if(!this.oBinding.getHeaderContext){throw new Error(\"Cannot delete \"+this)}if(this.iIndex===undefined){return Promise.resolve()}t=null}else if(t===null){if(this.iIndex!==undefined||!this.isKeepAlive()){throw new Error(\"Cannot delete \"+this)}}if(this.oBinding.mParameters.$$aggregation){if(this.iIndex===undefined){throw new Error(\"Unsupported kept-alive context: \"+this)}if(t!==null){const e=t??this.oBinding.getUpdateGroupId();if(this.oModel.isApiGroup(e)){throw new Error(\"Unsupported group ID: \"+e)}}}if(t===null){r=i.resolve();n=true}else{e.checkGroupId(t,false,true);r=this.fetchCanonicalPath().then(function(e){return e.slice(1)});o=this.oBinding.lockGroup(t,true,true)}return Promise.resolve(r.then(function(e){if(o&&s.oModel.getMetaModel().isAddressViaNavigationPath()){e=s.getPath().slice(1)}return s.oBinding.delete(o,e,s,null,n,function(){if(s.oDeletePromise){s.oDeletePromise=null;if(s.bSelected){s.oBinding.getHeaderContext().onSelectionChanged(s)}}})}).catch(function(e){if(o){o.unlock(true)}throw e}))};a.prototype.destroy=function(){var e=this.fnOnBeforeDestroy;if(e){this.fnOnBeforeDestroy=undefined;e()}this.oModel?.getDependentBindings(this).forEach(function(e){e.setContext(undefined)});this.oBinding=undefined;delete this.mChangeListeners;this.oCreatedPromise=undefined;this.oSyncCreatePromise=undefined;this.bInactive=undefined;this.bKeepAlive=undefined;this.bSelected=false;this.oModel=undefined;n.prototype.destroy.call(this)};a.prototype.doDelete=function(e,t,i,n,o,s){var h=this.oModel,a=this;this.oDeletePromise=o.deleteFromCache(e,t,i,n,s).then(function(){var e=a.sPath.slice(1);h.getAllBindings().forEach(function(t){t.removeCachesAndMessages(e,true)})}).catch(function(e){h.reportError(\"Failed to delete \"+a.getPath(),r,e);a.checkUpdate();throw e});if(this.bSelected){this.oBinding.getHeaderContext().onSelectionChanged(this)}if(e&&h.isApiGroup(e.getGroupId())){h.getDependentBindings(this).forEach(function(e){e.setContext(undefined)})}return this.oDeletePromise};a.prototype.doSetProperty=function(t,n,o,s,h){var a=this.oModel,d=a.getMetaModel(),u,c,l=this;if(this.isDeleted()){if(o){o.unlock()}throw new Error(\"Must not modify a deleted entity: \"+this)}if(t===\"@$ui5.context.isSelected\"){this.setSelected(n);if(o){o.unlock();o=null}if(this.oBinding.getHeaderContext?.()===this){return i.resolve()}}if(o&&this.isTransient()&&!this.isInactive()){c=this.getValue();u=c&&e.getPrivateAnnotation(c,\"transient\");if(u instanceof Promise){o.unlock();o=o.getUnlockedCopy();this.doSetProperty(t,n,null,true,true).catch(a.getReporter());return i.resolve(u).then(function(e){return e&&l.created()}).then(function(){return l.doSetProperty(t,n,o,s)})}}if(a.bAutoExpandSelect){t=d.getReducedPath(a.resolve(t,this),this.oBinding.getBaseForPathReduction())}return this.withCache(function(i,u,c){return c.doSetProperty(u,n,o)||d.fetchUpdateData(t,l,!o).then(function(u){var f=e.getRelativePath(u.entityPath,c.oReturnValueContext?c.oReturnValueContext.getPath():c.getResolvedPath()),p=false;function g(e){a.reportError(\"Failed to update path \"+a.resolve(t,l),r,e);P(false)}function P(e){if(p){c.firePatchCompleted(e);p=false}}function v(){p=true;c.firePatchSent()}if(!o){return i.setProperty(u.propertyPath,n,f,h)}if(l.bInactive&&!l.bFiringCreateActivate){i.setProperty(u.propertyPath,n,f,h).catch(a.getReporter());l.bFiringCreateActivate=true;l.bInactive=c.fireCreateActivate(l)?false:1;l.bFiringCreateActivate=false;i.setInactive(f,l.bInactive)}const C=d.isAddressViaNavigationPath()?u.entityPath.slice(1):u.editUrl;const y=e.hasPathSuffix(l.sPath,f)?l.setCreated.bind(l):null;return i.update(o,u.propertyPath,n,s?undefined:g,C,f,d.getUnitOrCurrencyPath(l.oModel.resolve(t,l)),c.isPatchWithoutSideEffects(),v,l.isEffectivelyKeptAlive.bind(l),y).then(function(){P(true)},function(e){P(false);throw e})})},t,false,true)};a.prototype.doSetSelected=function(e,t){if(this.bSelected===e){return false}this.bSelected=e;if(!t){this.oBinding.onKeepAliveChanged(this)}const i=this.oBinding.getHeaderContext();if(i===this){if(!e){this.iSelectionCount=0}}else if(!this.isDeleted()){i.onSelectionChanged(this)}if(!t){this.withCache((t,i)=>{if(this.oBinding){t.setProperty(\"@$ui5.context.isSelected\",e,i)}},\"\")}return true};a.prototype.expand=function(e){switch(this.isExpanded()){case true:if(!e){throw new Error(\"Already expanded: \"+this)}this.oBinding.collapse(this,false,true);case false:{const t=e?Number.MAX_SAFE_INTEGER:1;return Promise.resolve(this.oBinding.expand(this,t)).then(()=>{})}default:throw new Error(\"Not expandable: \"+this)}};a.prototype.fetchCanonicalPath=function(){return this.oModel.getMetaModel().fetchCanonicalPath(this)};a.prototype.fetchPrimitiveValue=function(e,t,n){var r,o=[this.fetchValue(e,null,n)],s=this.oModel.resolve(e,this);if(t){o.push(this.oModel.getMetaModel().fetchUI5Type(s))}return i.all(o).then(function(e){var i=e[1],n=e[0];if(n&&typeof n===\"object\"){r=new Error(\"Accessed value is not primitive: \"+s);r.isNotPrimitive=true;throw r}return t?i.formatValue(n,\"string\"):n})};a.prototype.fetchValue=function(t,n,r){if(this.iIndex===h){return i.resolve()}if(this.oBinding.getHeaderContext?.()===this){const o=this.bSelected?undefined:this.iSelectionCount??0;if(t&&t.startsWith(this.sPath)){t=t.slice(this.sPath.length+1)}if(!t){if(n){throw new Error(\"Cannot register change listener for header context object\")}return this.oBinding.fetchValue(this.sPath+\"/$count\",null,r).then(e=>({\"@$ui5.context.isSelected\":this.bSelected,$count:e,$selectionCount:o}))}else if(t===\"@$ui5.context.isSelected\"){this.mChangeListeners??={};e.registerChangeListener(this,t,n);return i.resolve(this.bSelected)}else if(t===\"$selectionCount\"){this.mChangeListeners??={};e.registerChangeListener(this,t,n);return i.resolve(o)}else if(t!==\"$count\"){throw new Error(\"Invalid header path: \"+t)}}if(!t){t=this.sPath}else if(t[0]!==\"/\"){t=this.oModel.resolve(t,this);if(this.oModel.bAutoExpandSelect){t=this.oModel.getMetaModel().getReducedPath(t,this.oBinding.getBaseForPathReduction())}}return this.oBinding.fetchValue(t,n,r)};a.prototype.getAndRemoveCollection=function(e){return this.withCache(function(e,t){return e.getAndRemoveCollection(t)},e,true).unwrap()};a.prototype.getBinding=function(){return this.oBinding};a.prototype.getCanonicalPath=e.createGetMethod(\"fetchCanonicalPath\",true);a.prototype.getFilter=function(){if(!this.oBinding.getHeaderContext||this.isTransient()){throw new Error(\"Not a list context path to an entity: \"+this)}const t=e.getPredicateIndex(this.sPath);const i=this.sPath.slice(t).replace(/,?\\$isTotal=true\\)$/,\")\");if(i===\"()\"){return null}const n=this.oModel.getMetaModel();const r=e.getMetaPath(this.sPath);const o=n.getObject(r+\"/\");return e.getFilterForPredicate(i,o,n,r,true)};a.prototype.getGeneration=function(e){if(this.iGeneration||e){return this.iGeneration}return this.oBinding.getGeneration()};a.prototype.getGroupId=function(){return this.oBinding.getGroupId()};a.prototype.getIndex=function(){if(this.iIndex===undefined){return undefined}if(this.oBinding?.isFirstCreateAtEnd()){if(this.iIndex<0){return this.oBinding.bLengthFinal?this.oBinding.iMaxLength-this.iIndex-1:-this.iIndex-1}return this.iIndex}return this.getModelIndex()};a.prototype.getModelIndex=function(){if(this.iIndex!==undefined&&this.oBinding?.iCreatedContexts){return this.iIndex+this.oBinding.iCreatedContexts}return this.iIndex};a.prototype.getObject=function(t){return e.publicClone(this.getValue(t))};a.prototype.getParent=function(){if(!this.oBinding.fetchOrGetParent){throw new Error(\"Not a list binding's context: \"+this)}return this.oBinding.fetchOrGetParent(this)};a.prototype.getProperty=function(e,i){var n,o;this.oBinding.checkSuspended();o=this.fetchPrimitiveValue(e,i,true);if(o.isRejected()){o.caught();n=o.getResult();if(n.isNotPrimitive){throw n}else if(!n.$cached){t.warning(n.message,e,r)}}return o.isFulfilled()?o.getResult():undefined};a.prototype.getQueryOptionsForPath=function(e){return this.oBinding.getQueryOptionsForPath(e)};a.prototype.getSibling=function(e){return this.oBinding.fetchOrGetSibling(this,e)};a.prototype.getUpdateGroupId=function(){return this.oBinding.getUpdateGroupId()};a.prototype.getValue=function(e){var t,i=this;this.oBinding.checkSuspended();t=this.fetchValue(e,null,true).catch(function(e){if(!e.$cached){i.oModel.reportError(\"Unexpected error\",r,e)}});if(t.isFulfilled()){return t.getResult()}};a.prototype.hasPendingChanges=function(){var e=this;return this.isTransient()&&this.isInactive()!==true||this.oDeletePromise?.isPending()||this.oBinding.hasPendingChangesForPath(this.sPath)||this.oModel.getDependentBindings(this).some(function(t){return t.oCache?t._hasPendingChanges(false,e.sPath):t.hasPendingChangesInDependents(false,e.sPath)})||this.oModel.withUnresolvedBindings(\"hasPendingChangesInCaches\",this.sPath.slice(1))};a.prototype.isAggregated=function(){this.oBinding.checkSuspended();const e=this.oBinding.mParameters.$$aggregation?.$leafLevelAggregated;if(e===undefined){return false}return e||this.oBinding.getHeaderContext()!==this&&this.isExpanded()!==undefined};a.prototype.isAncestorOf=function(e){if(!this.oBinding.isAncestorOf){throw new Error(\"Missing recursive hierarchy\")}return this.oBinding.isAncestorOf(this,e)};a.prototype.isDeleted=function(){return!!this.oDeletePromise};a.prototype.isEffectivelyKeptAlive=function(){var e=this.oBinding.mParameters;return this.bKeepAlive&&!this.isDeleted()||!e.$$sharedRequest&&this.oBinding.getHeaderContext?.()&&this.oBinding.getHeaderContext().isSelected()!==this.isSelected()&&(e.$$ownRequest||!this.oBinding.isRelative())&&this.sPath.indexOf(\"(\",this.sPath.lastIndexOf(\"/\"))>0};a.prototype.isExpanded=function(){return this.getProperty(\"@$ui5.node.isExpanded\")};a.prototype.isInactive=function(){return this.bInactive};a.prototype.isKeepAlive=function(){return this.bKeepAlive};a.prototype.isOutOfPlace=function(){return this.bOutOfPlace};a.prototype.isSelected=function(){return this.bSelected&&!this.oDeletePromise};a.prototype.isTransient=function(){return this.oSyncCreatePromise?.isPending()};a.prototype.move=function({copy:e,nextSibling:t,parent:i}={}){if(t===undefined&&i===undefined){return Promise.resolve()}if(this.iIndex===undefined||this.isDeleted()||this.isTransient()){throw new Error(\"Cannot move \"+this)}if(i&&(i.iIndex===undefined||i.isDeleted()||i.isTransient())){throw new Error(\"Cannot move to \"+i)}if(!e&&this.isAncestorOf(i)){throw new Error(\"Unsupported parent context: \"+i)}return Promise.resolve(this.oBinding.move(this,i,t,e))};a.prototype.onSelectionChanged=function(t){this.iSelectionCount??=0;this.iSelectionCount+=t.isSelected()?+1:-1;if(this.iSelectionCount<0||t===this){throw new Error(\"Unexpected $selectionCount: \"+this.iSelectionCount)}e.fireChange(this.mChangeListeners,\"$selectionCount\",this.iSelectionCount)};a.prototype.patch=function(e){return this.withCache(function(t,i){t.patch(i,e)},\"\")};a.prototype.refresh=function(e,t){this.requestRefresh.apply(this,arguments).catch(this.oModel.getReporter())};a.prototype.refreshDependentBindings=function(e,t,n,r){return i.all(this.oModel.getDependentBindings(this).map(function(i){return i.refreshInternal(e,t,n,r)}))};a.prototype.replaceWith=function(t){var i;this.oBinding.checkSuspended();if(this.isTransient()||this.isDeleted()){throw new Error(\"Cannot replace \"+this)}if(t.oBinding!==this.oBinding||t.iIndex!==undefined||t.isDeleted()||!t.isKeepAlive()){throw new Error(\"Cannot replace with \"+t)}i=t.getValue();this.oBinding.doReplaceWith(this,i,e.getPrivateAnnotation(i,\"predicate\"))};a.prototype.requestCanonicalPath=e.createRequestMethod(\"fetchCanonicalPath\");a.prototype.requestObject=function(t){this.oBinding.checkSuspended();return Promise.resolve(this.fetchValue(t)).then(e.publicClone)};a.prototype.requestParent=function(){if(!this.oBinding.fetchOrGetParent){throw new Error(\"Not a list binding's context: \"+this)}return Promise.resolve(this.oBinding.fetchOrGetParent(this,true))};a.prototype.requestProperty=function(e,i){var n=Array.isArray(e)?e:[e],o=this;this.oBinding.checkSuspended();return Promise.all(n.map(function(e){return o.oBinding.fetchIfChildCanUseCache(o,e,undefined,true).then(function(n){if(n){return o.fetchPrimitiveValue(n,i)}t.error(\"Not a valid property path: \"+e,undefined,r)})})).then(function(t){return Array.isArray(e)?t:t[0]})};a.prototype.requestRefresh=function(t,i){var n;e.checkGroupId(t);if(this.oBinding.mParameters.$$aggregation){throw new Error(\"Cannot refresh \"+this+\" when using data aggregation\")}this.oBinding.checkSuspended();if(this.hasPendingChanges()){throw new Error(\"Cannot refresh entity due to pending changes: \"+this)}if(this.oBinding.refreshSingle){n=this.oBinding.refreshSingle(this,this.oBinding.lockGroup(t,true),i)}else{if(arguments.length>1){throw new Error(\"Unsupported parameter bAllowRemoval: \"+i)}n=this.oBinding.refreshReturnValueContext(this,t)||this.oBinding.requestRefresh(t)}this.oModel.withUnresolvedBindings(\"removeCachesAndMessages\",this.sPath.slice(1));return Promise.resolve(n).then(function(){})};a.prototype.requestSibling=function(e){return Promise.resolve(this.oBinding.fetchOrGetSibling(this,e,true))};a.prototype.requestSideEffects=function(t,n){var r,o=this.oModel.getMetaModel(),s=[],h=[],a,d,u=this;function c(e){if(!e){return false}if(e===\"*\"){return true}if(e.endsWith(\"/*\")){e=e.slice(0,-2)}return!e.includes(\"*\")}this.oBinding.checkSuspended();e.checkGroupId(n);if(this.isTransient()||this.isDeleted()){throw new Error(\"Unsupported context: \"+this)}if(!t||!t.length){throw new Error(\"Missing edm:(Navigation)PropertyPath expressions\")}if(!this.oBinding.isResolved()){throw new Error(\"Cannot request side effects of unresolved binding's context: \"+this)}r=o.getObject(\"/$EntityContainer\");if(!r){throw new Error(\"Missing metadata\")}r=\"/\"+r+\"/\";t.map(function(e){if(e&&typeof e===\"object\"){if(c(e.$PropertyPath)){return e.$PropertyPath}if(typeof e.$NavigationPropertyPath===\"string\"&&!e.$NavigationPropertyPath.includes(\"*\")){return e.$NavigationPropertyPath}}else if(typeof e===\"string\"&&(!e||c(e))){return e}throw new Error(\"Not an edm:(Navigation)PropertyPath expression: \"+JSON.stringify(e))}).forEach(function(e){if(e[0]===\"/\"){if(!e.startsWith(r)){throw new Error(\"Path must start with '\"+r+\"': \"+e)}h.push(e.slice(r.length-1))}else{s.push(e)}});a=this.oBinding.getRootBinding();d=a.getResolvedPath();s=s.reduce(function(t,i){return t.concat(o.getAllPathReductions(e.buildPath(u.getPath(),i),d))},[]);s=e.filterPaths(h,s);n??=this.getUpdateGroupId();return Promise.resolve(i.resolve(this.oModel.isAutoGroup(n)&&this.oModel.oRequestor.waitForRunningChangeRequests(n).then(function(){u.oModel.oRequestor.relocateAll(\"$parked.\"+n,n)})).then(function(){return i.all([u.oModel.requestSideEffects(n,h),u.requestSideEffectsInternal(s,n)])})).then(function(){})};a.prototype.requestSideEffectsInternal=function(t,n){var r=this,o,s=r,h,a=[],d,u=[],c,l=[];if(!t.length){return undefined}for(;;){o=s.oBinding;c=o.getPath();d=o.getContext();if(o.oCache?.hasChangeListeners()||!h&&o.oCache!==null){h=s}if(h&&c){break}if(!o.getBoundContext){throw new Error(\"Not a context binding: \"+o)}s=d}o=h.oBinding;t.forEach(function(t){var i=e.getRelativePath(t,h.getPath());if(i===undefined){u.push(t)}else{a.push(i)}});if(u.length){l.push(o.getContext().requestSideEffectsInternal(u,n))}if(a.length&&o.oCache!==undefined){l.push(o.requestSideEffects(n,a,h))}return i.all(l)};a.prototype.resetChanges=function(){var e=this.oDeletePromise?[this.oDeletePromise.catch(function(){})]:[],t=this;if(this.iIndex===h||this.oBinding.getHeaderContext&&!this.bInactive&&this.isTransient()||this.oBinding.getHeaderContext?.()===this||this.oBinding.oOperation&&this.oBinding.getParameterContext()===this){throw new Error(\"Cannot reset: \"+this)}this.oBinding.checkSuspended();this.oBinding.resetChangesForPath(this.sPath,e);if(this.bInactive===1){this.bInactive=true}this.oModel.getDependentBindings(this).forEach(function(i){if(i.oCache){e.push(i._resetChanges(t.sPath))}else{i.resetChangesInDependents(e,t.sPath);i.resetInvalidDataState()}});return Promise.all(e).then(function(){})};a.prototype.resetKeepAlive=function(){this.bKeepAlive=false;this.doSetSelected(false,true)};a.prototype.setCreated=function(e){if(e&&this.oCreatedPromise){throw new Error(\"Already 'created'\")}this.oCreatedPromise=e&&Promise.resolve(e).then(function(){});this.oSyncCreatePromise=e};a.prototype.setInactive=function(){if(!this.bInactive){throw new Error(\"Not inactive: \"+this.bInactive)}this.bInactive=true};a.prototype.setKeepAlive=function(t,i,n){var r=this;if(this.isTransient()||t&&this.isDeleted()){throw new Error(\"Unsupported context: \"+this)}e.getPredicateIndex(this.sPath);this.oBinding.checkKeepAlive(this,t);if(t&&n){if(!this.oModel.bAutoExpandSelect){throw new Error(\"Missing parameter autoExpandSelect at model\")}this.bKeepAlive=t;this.oModel.getMetaModel().fetchObject(e.getMetaPath(this.sPath)+\"/@com.sap.vocabularies.Common.v1.Messages/$Path\").then(function(e){if(!e){throw new Error(\"Missing @com.sap.vocabularies.Common.v1.Messages\")}return r.oBinding.fetchIfChildCanUseCache(r,e,undefined,true)}).then(function(e){return r.fetchValue(e)}).catch(this.oModel.getReporter())}this.bKeepAlive=t;this.fnOnBeforeDestroy=t?i:undefined;this.oBinding.onKeepAliveChanged(this)};a.prototype.setNewGeneration=function(){o+=1;this.iGeneration=o};a.prototype.setOutOfPlace=function(e){if(!e){this.setPersisted()}else if(!this.created()){throw new Error(\"Not 'created persisted'\")}this.bOutOfPlace=e};a.prototype.setPersisted=function(e){if(!e&&this.isTransient()!==false){throw new Error(\"Not 'created persisted'\")}this.bInactive=undefined;this.oCreatedPromise=undefined;this.oSyncCreatePromise=undefined};a.prototype.setProperty=function(t,i,n,o){var s=null,h=this.oModel,a=this;this.oBinding.checkSuspended();if(typeof i===\"function\"||i&&typeof i===\"object\"){throw new Error(\"Not a primitive value\")}if(n!==null){e.checkGroupId(n);s=this.oBinding.lockGroup(n,true,true)}return Promise.resolve(this.doSetProperty(t,i,s,!o)).catch(function(e){if(s){s.unlock(true)}h.reportError(\"Failed to update path \"+h.resolve(t,a),r,e);throw e})};a.prototype.setSelected=function(t){if(!this.oBinding?.getHeaderContext){throw new Error(\"Unsupported context: \"+this)}if(t&&this.isDeleted()){throw new Error(\"Must not select a deleted entity: \"+this)}const i=this.oBinding.getHeaderContext()===this&&this.oBinding._getAllExistingContexts().reduce((e,i)=>i.doSetSelected(t)||e,false);const n=this.doSetSelected(t);if(n&&this.mChangeListeners){e.fireChange(this.mChangeListeners,\"@$ui5.context.isSelected\",t)}if(n||i){this.oBinding.fireSelectionChanged(this)}};a.prototype.toString=function(){var e=\"\";if(!this.oModel){e=\";destroyed\"}else if(this.isDeleted()){e=\";deleted\"}if(this.iIndex!==undefined){if(!e){switch(this.isTransient()){case false:e=\";createdPersisted\";break;case true:e=this.isInactive()?\";inactive\":\";transient\";break}if(this.isSelected()){e+=\";selected\"}}e=\"[\"+this.iIndex+e+\"]\"}else if(this.isSelected()){e+=\";selected\"}return this.sPath+e};a.prototype.updateAfterCreate=function(e,t){i.all(this.oModel.getDependentBindings(this).map(function(i){return i.updateAfterCreate(e,t)})).catch(this.oModel.getReporter())};a.prototype.withCache=function(e,t,n,r){if(this.iIndex===h){return i.resolve()}return this.oBinding.withCache(e,this.oModel.resolve(t,this),n,r)};s={create:function(e,t,i,n,r,o){return new a(e,t,i,n,r,0,o)},createNewContext:function(e,t,i){o+=1;return new a(e,t,i,undefined,undefined,o)}};Object.defineProperty(s,\"VIRTUAL\",{value:h});return s},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/ODataBinding\", [\"./lib/_Helper\",\"sap/ui/base/SyncPromise\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/odata/OperationMode\",\"sap/ui/model/odata/v4/Context\"],function(e,t,n,i,r){\"use strict\";var o=[n.Context,n.Change,n.Refresh,n.Sort,n.Filter],s=/\\/\\d|\\(\\$uid=/;function a(e,t){return o.indexOf(e)>o.indexOf(t)}function h(){this.mCacheByResourcePath=undefined;this.oCache=null;this.oCachePromise=t.resolve(null);this.mCacheQueryOptions=undefined;this.fnDeregisterChangeListener=undefined;this.oFetchCacheCallToken=undefined;this.mLateQueryOptions=undefined;this.sReducedPath=undefined;this.sResumeChangeReason=undefined}h.prototype._hasPendingChanges=function(e,t){return this.isResolved()&&(this.hasPendingChangesForPath(\"\",e)||this.hasPendingChangesInDependents(e,t))};h.prototype._resetChanges=function(e){var t=[];this.checkSuspended();this.resetChangesForPath(\"\",t);this.resetChangesInDependents(t,e);this.resetInvalidDataState();return Promise.all(t).then(function(){})};h.prototype.adjustPredicate=function(e,t){this.sReducedPath=this.sReducedPath.replace(e,t)};h.prototype.checkBindingParameters=function(t,n){var r=this;Object.keys(t).forEach(function(o){var s=t[o];if(!o.startsWith(\"$$\")){return}if(!n.includes(o)){throw new Error(\"Unsupported binding parameter: \"+o)}switch(o){case\"$$aggregation\":break;case\"$$groupId\":case\"$$updateGroupId\":e.checkGroupId(s,false,\"Unsupported value for binding parameter '\"+o+\"': \");break;case\"$$ignoreMessages\":case\"$$sharedRequest\":if(s!==true&&s!==false){throw new Error(\"Unsupported value for binding parameter '\"+o+\"': \"+s)}break;case\"$$inheritExpandSelect\":if(s!==true&&s!==false){throw new Error(\"Unsupported value for binding parameter \"+\"'$$inheritExpandSelect': \"+s)}if(!r.oOperation){throw new Error(\"Unsupported binding parameter $$inheritExpandSelect: \"+\"binding is not an operation binding\")}if(t.$expand){throw new Error(\"Must not set parameter $$inheritExpandSelect on a binding \"+\"which has a $expand binding parameter\")}break;case\"$$operationMode\":if(s!==i.Server){throw new Error(\"Unsupported operation mode: \"+s)}break;case\"$$getKeepAliveContext\":if(r.isRelative()&&!t.$$ownRequest){throw new Error(\"$$getKeepAliveContext requires $$ownRequest in a relative binding\")}[\"$$aggregation\",\"$$canonicalPath\",\"$$sharedRequest\"].forEach(function(n,i){if(n in t&&(i>0||e.isDataAggregation(t))){throw new Error(\"Cannot combine $$getKeepAliveContext and \"+n)}});case\"$$canonicalPath\":case\"$$clearSelectionOnFilter\":case\"$$noPatch\":case\"$$ownRequest\":case\"$$patchWithoutSideEffects\":if(s!==true){throw new Error(\"Unsupported value for binding parameter '\"+o+\"': \"+s)}break;case\"$$separate\":if(t.$$aggregation){throw new Error(\"Cannot combine $$aggregation and $$separate\")}break;default:throw new Error(\"Unknown binding-specific parameter: \"+o)}})};h.prototype.checkSameCache=function(e){var t;if(this.oCache!==e){t=new Error(this+\" is ignoring response from inactive cache: \"+e);t.canceled=true;throw t}};h.prototype.checkSuspended=function(e){if(this.isRootBindingSuspended()&&(!e||this.isRoot()||this.getResumeChangeReason())){throw new Error(\"Must not call method when the binding's root binding is suspended: \"+this)}};h.prototype.checkTransient=function(){if(this.isTransient()){throw new Error(\"Must not call method when the binding is part of a deep create: \"+this)}};h.prototype.checkUpdate=function(e){if(arguments.length>1){throw new Error(\"Only the parameter bForceUpdate is supported\")}this.checkUpdateInternal(e).catch(this.oModel.getReporter())};h.prototype.createAndSetCache=function(e,t,n,i,r,o){var s,a,h;this.mCacheQueryOptions=Object.assign({},this.oModel.mUriParameters,e);if(this.bRelative){s=this.mCacheByResourcePath&&this.mCacheByResourcePath[t];h=n.getGeneration?.()??0;if(s&&s.$generation>=h){s.setActive(true)}else{a=this.oModel.resolve(this.sPath,n).slice(1);s=this.doCreateCache(t,this.mCacheQueryOptions,n,a,i,r,o);if(!(this.mParameters&&this.mParameters.$$sharedRequest)){this.mCacheByResourcePath??={};this.mCacheByResourcePath[t]=s}s.$deepResourcePath=a;s.$generation=h}}else{s=this.doCreateCache(t,this.mCacheQueryOptions,undefined,undefined,i,r,o)}if(o&&o!==s){this.deregisterChangeListener();o.setActive(false)}if(this.mLateQueryOptions){s.setLateQueryOptions(this.mLateQueryOptions)}this.oCache=s;return s};h.prototype.deregisterChangeListener=function(){this.fnDeregisterChangeListener?.();this.fnDeregisterChangeListener=undefined};h.prototype.destroy=function(){this.mCacheByResourcePath=undefined;this.deregisterChangeListener();this.oCachePromise.then(function(e){e?.setActive(false)},function(){});this.oCache=null;this.oCachePromise=t.resolve(null);this.mCacheQueryOptions=undefined;this.mLateQueryOptions=undefined;this.oContext=undefined;this.oFetchCacheCallToken=undefined};h.prototype.getEventingParent=function(){return this.oModel};h.prototype.fetchCache=function(e,n,i,r,o){var s=this.oCache,a={oOldCache:s===undefined?this.oFetchCacheCallToken.oOldCache:s},h,u=this;if(!this.bRelative){e=undefined}if(!s&&i){if(s===undefined){throw new Error(\"Unsupported bKeepQueryOptions while oCachePromise is pending\")}return}this.oCache=undefined;this.oFetchCacheCallToken=a;if(i){this.oCachePromise=t.resolve(Promise.resolve()).then(function(){return u.createAndSetCache(u.mCacheQueryOptions,s.getResourcePath(),e,r,o,s)});return}h=[this.fetchOrGetQueryOptionsForOwnCache(e,n),this.oModel.oRequestor.ready()];this.mCacheQueryOptions=undefined;this.oCachePromise=t.all(h).then(function(t){var n=t[0].mQueryOptions;if(t[0].sReducedPath){u.sReducedPath=t[0].sReducedPath}if(!u.prepareDeepCreate(e,n)){return u.fetchResourcePath(e).then(function(t){if(u.oFetchCacheCallToken!==a){return u.oCachePromise.then(function(e){if(e===a.oOldCache){return e}const t=new Error(\"Cache discarded as a new cache has been created\");t.canceled=true;throw t})}return u.oModel.waitForKeepAliveBinding(u).then(function(){u.oFetchCacheCallToken=undefined;return u.createAndSetCache(n,t,e,r,o,a.oOldCache)})})}a.oOldCache=undefined;if(s){s.setActive(false)}u.oCache=null;return null});this.oCachePromise.catch(this.oModel.getReporter())};h.prototype.fetchOrGetQueryOptionsForOwnCache=function(n,i){var r,o,s=this.oModel.resolve(this.sPath,n),a=this;function h(t,n,i){if(n&&t&&e.isEmptyObject(t)){t=undefined}return{mQueryOptions:t,sReducedPath:i||s}}function u(e,n){if(o instanceof t){if(!o.isFulfilled()){return o.then(function(t){return h(t,e,n)})}o=o.getResult()}return h(o,e,n)}if(this.oOperation||!s||this.isMeta()){return h()}o=this.doFetchOrGetQueryOptions(n);if(this.oModel.bAutoExpandSelect&&this.aChildCanUseCachePromises&&!e.isDataAggregation(this.mParameters)){o=t.all([o,Promise.resolve().then(function(){return t.all(a.aChildCanUseCachePromises)})]).then(function(e){a.aChildCanUseCachePromises=[];a.updateAggregatedQueryOptions(e[0]);return a.mAggregatedQueryOptions})}if(i||!this.bRelative||!n.fetchValue){return u()}if(this.oModel.bAutoExpandSelect){r=this.mParameters&&Object.keys(a.mParameters).some(function(e){return e[0]!==\"$\"||e[1]===\"$\"});if(r){return u()}return n.getBinding().fetchIfChildCanUseCache(n,a.sPath,o,!this.mParameters).then(function(e){if(e){o=undefined}else{o??={}}return u(false,e)})}if(this.mParameters&&!e.isEmptyObject(this.mParameters)){return u()}return u(true)};h.prototype.fetchResourcePath=function(n){var i,r,o,a=this;if(!this.bRelative){return t.resolve(this.sPath.slice(1))}n??=this.oContext;if(!n){return t.resolve()}r=n.getPath();i=n.fetchCanonicalPath&&(this.mParameters&&this.mParameters.$$canonicalPath||!this.isTransient()&&s.test(r));o=i?n.fetchCanonicalPath():t.resolve(r);return o.then(function(t){return e.buildPath(t,a.sPath).slice(1)})};h.prototype.fireDataReceived=function(e,t){this.fireEvent(\"dataReceived\",e,false,!t)};h.prototype.fireDataRequested=function(e){this.fireEvent(\"dataRequested\",undefined,false,!e)};h.prototype.getGroupId=function(){return this.sGroupId||this.bRelative&&this.oContext&&this.oContext.getGroupId&&this.oContext.getGroupId()||this.oModel.getGroupId()};h.prototype.getRelativePath=function(t){var n;if(t[0]===\"/\"){n=e.getRelativePath(t,this.getResolvedPath());if(n===undefined&&this.oReturnValueContext){n=e.getRelativePath(t,this.oReturnValueContext.getPath())}return n}return t};h.prototype.getResumeChangeReason=function(){var e=this.sResumeChangeReason;this.getDependentBindings().forEach(function(t){var n=t.getResumeChangeReason();if(n&&a(n,e)){e=n}});return e};h.prototype.getRootBinding=function(){if(this.bRelative){if(!this.oContext){return undefined}if(this.oContext.getBinding){return this.oContext.getBinding().getRootBinding()}}return this};h.prototype.getRootBindingResumePromise=function(){var e=this.getRootBinding();return e&&e.getResumePromise()||t.resolve()};h.prototype.getUpdateGroupId=function(){return this.sUpdateGroupId||this.bRelative&&this.oContext&&this.oContext.getUpdateGroupId&&this.oContext.getUpdateGroupId()||this.oModel.getUpdateGroupId()};h.prototype.hasPendingChanges=function(e){return this._hasPendingChanges(e)};h.prototype.hasPendingChangesForPath=function(e,t){return this.withCache(function(e,n,i){return e.hasPendingChangesForPath(n,t,t&&(i.isRoot()||i.mParameters.$$ownRequest))},e,true).unwrap()};h.prototype.hasPendingChangesInCaches=function(e){var t=this;if(!this.mCacheByResourcePath){return false}return Object.keys(this.mCacheByResourcePath).some(function(n){var i=t.mCacheByResourcePath[n];return i.$deepResourcePath.startsWith(e)&&i.hasPendingChangesForPath(\"\")})};h.prototype.isInitial=function(){throw new Error(\"Unsupported operation: isInitial\")};h.prototype.isRoot=function(){return!this.bRelative||this.oContext&&!this.oContext.getBinding};h.prototype.isRootBindingSuspended=function(){var e=this.getRootBinding();return e&&e.isSuspended()};h.prototype.isTransient=function(){return this.bRelative&&this.oContext?.getPath().includes(\"($uid=\")};h.prototype.lockGroup=function(e,t,n,i){e??=n?this.getUpdateGroupId():this.getGroupId();return this.oModel.lockGroup(e,this,t,n,i)};h.prototype.prepareDeepCreate=function(e,t){if(e){if(e.iIndex===r.VIRTUAL){return true}if(e.getPath().includes(\"($uid=\")){this.mCacheQueryOptions=t;return true}}return!t};h.prototype.ready=function(){return this.oCachePromise};h.prototype.refresh=function(e){if(typeof e===\"boolean\"){throw new Error(\"Unsupported parameter bForceUpdate\")}this.requestRefresh(e).catch(this.oModel.getReporter())};h.prototype.refreshSuspended=function(e){if(e&&e!==this.getGroupId()){throw new Error(this+\": Cannot refresh a suspended binding with group ID '\"+e+\"' (own group ID is '\"+this.getGroupId()+\"')\")}this.setResumeChangeReason(n.Refresh)};h.prototype.removeCachesAndMessages=function(t,n){var i=this;if(!n&&this.oCache){this.oCache.removeMessages()}if(this.mCacheByResourcePath){Object.keys(this.mCacheByResourcePath).forEach(function(r){var o=i.mCacheByResourcePath[r],s=o.$deepResourcePath;if(e.hasPathPrefix(s,t)){if(!n){o.removeMessages()}delete i.mCacheByResourcePath[r]}})}};h.prototype.requestAbsoluteSideEffects=function(t,n){var i=[],r=e.getMetaPath(this.getResolvedPath());if(this.oCache===undefined){return undefined}n.some(function(t){var n=e.getRelativePath(t,r);if(n!==undefined){i.push(n)}else if(e.hasPathPrefix(r,t)){i=[\"\"];return true}});if(i.length){if(this.requestSideEffects){return this.requestSideEffects(t,i)}return this.refreshInternal(\"\",t,true,true)}};h.prototype.requestRefresh=function(t){if(!this.mParameters?.$$ownRequest&&!this.isRoot()){throw new Error(\"Refresh on this binding is not supported\")}if(this.hasPendingChanges(true)){throw new Error(\"Cannot refresh due to pending changes\")}e.checkGroupId(t);return Promise.resolve(this.refreshInternal(\"\",t,true)).then(function(){})};h.prototype.resetChanges=function(){this.checkTransient();return this._resetChanges()};h.prototype.resetChangesForPath=function(e,t){t.push(this.withCache(function(e,t){e.resetChangesForPath(t)},e).unwrap())};h.prototype.resetInvalidDataState=function(){};h.prototype.setDeregisterChangeListener=function(e){this.fnDeregisterChangeListener=e};h.prototype.setResumeChangeReason=function(e){if(a(e,this.sResumeChangeReason)){this.sResumeChangeReason=e}};h.prototype.toString=function(){return this.getMetadata().getName()+\": \"+(this.bRelative?this.oContext+\"|\":\"\")+this.sPath};h.prototype.withCache=function(n,i=\"\",r=false,o=false){var s=r?t.resolve(this.oCache):this.oCachePromise,a,h=this;return s.then(function(t){if(t){a=h.getRelativePath(i);if(a!==undefined){return n(t,a,h)}}else if(t===undefined){return undefined}else if(h.oOperation){return o?n(null,h.getRelativePath(i),h):undefined}if(h.bRelative&&h.oContext&&h.oContext.withCache){return h.oContext.withCache(n,i[0]===\"/\"?i:e.buildPath(h.sPath,i),r,o)}return undefined})};function u(e){if(this){h.apply(this,arguments)}else{Object.assign(e,h.prototype)}}[\"adjustPredicate\",\"destroy\",\"hasPendingChangesForPath\"].forEach(function(e){u.prototype[e]=h.prototype[e]});return u},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/ODataContextBinding\", [\"./Context\",\"./ODataParentBinding\",\"./lib/_Cache\",\"./lib/_GroupLock\",\"./lib/_Helper\",\"sap/ui/base/SyncPromise\",\"sap/ui/model/Binding\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/ContextBinding\"],function(e,t,n,i,o,r,a,s,h){\"use strict\";var u=\"sap.ui.model.odata.v4.ODataContextBinding\",d={AggregatedDataStateChange:true,change:true,dataReceived:true,dataRequested:true,DataStateChange:true,patchCompleted:true,patchSent:true},l=h.extend(\"sap.ui.model.odata.v4.ODataContextBinding\",{constructor:c});function c(n,i,r,a){var s=i.indexOf(\"(...)\"),u=this;h.call(this,n,i);t.call(this);if(i.endsWith(\"/\")){throw new Error(\"Invalid path: \"+i)}this.bHasFetchedExpandSelectProperties=false;this.oOperation=undefined;this.oParameterContext=null;this.oReturnValueContext=null;if(s>=0){if(s!==this.sPath.length-5){throw new Error(\"The path must not continue after a deferred operation: \"+this.sPath)}this.oOperation={bAction:undefined,bAdditionalQueryOptionsForRVC:undefined,mChangeListeners:{},mParameters:{},mRefreshParameters:{}};if(!this.bRelative){this.oParameterContext=e.create(this.oModel,this,this.sPath+\"/$Parameter\")}}a=o.clone(a)||{};this.checkBindingParameters(a,[\"$$canonicalPath\",\"$$groupId\",\"$$inheritExpandSelect\",\"$$ownRequest\",\"$$patchWithoutSideEffects\",\"$$updateGroupId\"]);this.sGroupId=a.$$groupId;this.bInheritExpandSelect=a.$$inheritExpandSelect;this.sUpdateGroupId=a.$$updateGroupId;this.applyParameters(a);this.oElementContext=this.bRelative?null:e.createNewContext(this.oModel,this,i);if(!this.oOperation&&(!this.bRelative||r&&!r.fetchValue)){this.createReadGroupLock(this.getGroupId(),true)}this.setContext(r);n.bindingCreated(this);Promise.resolve().then(function(){u.bInitial=false})}t(l.prototype);l.prototype._invoke=function(e,t,n,i,a){var h=this.oModel.getMetaModel(),d,l,c=this.getResolvedPathWithReplacedTransientPredicates(),p=o.getMetaPath(c),f=this;function g(){f._fireChange({reason:s.Change});return f.refreshDependentBindings(\"\",e.getGroupId(),true)}l=r.all([h.fetchObject(p+\"/@$ui5.overload\"),this.ready2Inherit()]).then(function([o]){var r,s,u;if(!o){d=h.getObject(p);if(!d||d.$kind!==\"NavigationProperty\"||!a){throw new Error(\"Unknown operation: \"+c)}}else if(o.length!==1){throw new Error(\"Expected a single overload, but found \"+o.length+\" for \"+c)}else{d=o[0]}if(f.bRelative&&f.oContext.getBinding){s=f.sPath.lastIndexOf(\"/\");u=s>=0?f.sPath.slice(0,s):\"\";r=f.oContext.getValue.bind(f.oContext,u)}return f.createCacheAndRequest(e,c,d,t,r,n,i)}).then(function(e){return g().then(function(){return f.handleOperationResult(d,e,a)})},function(e){o.adjustTargetsInError(e,d,f.oParameterContext.getPath(),f.bRelative?f.oContext.getPath():undefined);return g().then(function(){throw e})}).catch(function(t){e.unlock(true);f.oModel.reportError(\"Failed to invoke \"+c,u,t);throw t});return Promise.resolve(l)};l.prototype.addQueryOptionsForReturnValueContext=function(e,t){const n=o.getMetaPath(this.getResolvedPath()).split(\"/\");if(!this.isReturnValueLikeBindingParameter(e)||!this.hasReturnValueContext()||n.length!==4){this.oOperation.bAdditionalQueryOptionsForRVC=false;return t}const i=this.oModel.getMetaModel();const r=i.getObject(\"/\"+n[1]+\"/$NavigationPropertyBinding/\"+n[2]);const a=i.getObject(\"/\"+n[1]+\"/\"+n[2]+\"/$Partner\");let s;if(r&&a){s={$expand:{}};s.$expand[a]={};o.selectKeyProperties(s.$expand[a],i.getObject(\"/\"+r+\"/\"+a+\"/\"));if(t.$select){o.selectKeyProperties(s,i.getObject(\"/\"+r+\"/\"))}t=o.clone(t);o.aggregateExpandSelect(t,s)}this.oOperation.bAdditionalQueryOptionsForRVC=!!s;return t};l.prototype.adjustPredicate=function(e,n){t.prototype.adjustPredicate.apply(this,arguments);if(this.mCacheQueryOptions){this.fetchCache(this.oContext,true)}if(this.oElementContext){this.oElementContext.adjustPredicate(e,n)}};l.prototype.applyParameters=function(e,t){this.mQueryOptions=this.oModel.buildQueryOptions(e,true);this.mParameters=e;if(this.isRootBindingSuspended()){if(!this.oOperation){this.sResumeChangeReason=s.Change}}else if(!this.oOperation){this.fetchCache(this.oContext);if(t){this.refreshInternal(\"\",undefined,true).catch(this.oModel.getReporter())}}else if(this.oOperation.bAction===false){this.invoke().catch(this.oModel.getReporter())}};l.prototype.attachEvent=function(e,t,n,i){if(!(e in d)){throw new Error(\"Unsupported event '\"+e+\"': v4.ODataContextBinding#attachEvent\")}return h.prototype.attachEvent.apply(this,arguments)};l.prototype.checkKeepAlive=function(){throw new Error(\"Unsupported \"+this)};l.prototype.computeOperationQueryOptions=function(){return Object.assign({},this.oModel.mUriParameters,this.getQueryOptionsFromParameters())};l.prototype.createCacheAndRequest=function(e,t,i,a,s,h,u){var d=i.$kind===\"Action\",l,c=s,p=this.oModel,f=o.getMetaPath(t),g=t.slice(1),C=p.oRequestor,m=this;function x(e){if(m.isReturnValueLikeBindingParameter(i)){const t=m.getReturnValueContextPath(e);if(t){return t}if(m.oOperation.bAdditionalQueryOptionsForRVC===false&&o.getPrivateAnnotation(c,\"predicate\")===o.getPrivateAnnotation(e,\"predicate\")){return g.slice(0,g.lastIndexOf(\"/\"))}}return g}function P(e){var t;o.adjustTargetsInError(e,i,m.oParameterContext.getPath(),m.bRelative?m.oContext.getPath():undefined);e.error.$ignoreTopLevel=true;t=u(o.extractMessages(e).map(function(e){return p.createUI5Message(e)}));if(!(t instanceof Promise)){throw new Error(\"Not a promise: \"+t)}return t}if(u&&i.$kind!==\"Action\"){throw new Error(\"Not an action: \"+t)}if(!d&&i.$kind!==\"Function\"&&i.$kind!==\"NavigationProperty\"){throw new Error(\"Not an operation: \"+t)}if(d&&s){c=s()}if(h&&!(d&&i.$IsBound&&c!==null)){throw new Error(\"Not a bound action: \"+t)}if(this.bInheritExpandSelect&&!this.isReturnValueLikeBindingParameter(i)){throw new Error(\"Must not set parameter $$inheritExpandSelect on this binding\")}if(i.$kind!==\"NavigationProperty\"){f+=\"/@$ui5.overload/0/$ReturnType\";if(i.$ReturnType&&!i.$ReturnType.$Type.startsWith(\"Edm.\")){f+=\"/$Type\"}}else if(!o.isEmptyObject(a)){throw new Error(\"Unsupported parameters for navigation property\")}if(m.oReturnValueContext){m.oReturnValueContext.destroy();m.oReturnValueContext=null}this.oOperation.bAction=d;this.oOperation.mRefreshParameters=a;a=Object.assign({},a);this.mCacheQueryOptions=this.addQueryOptionsForReturnValueContext(i,this.computeOperationQueryOptions());t=C.getPathAndAddQueryOptions(t,i,a,this.mCacheQueryOptions,c);l=n.createSingle(C,t,this.mCacheQueryOptions,p.bAutoExpandSelect,p.bSharedRequests,undefined,d,f);this.oCache=l;this.oCachePromise=r.resolve(l);return d?l.post(e,a,c,h,u&&P,x):l.fetchValue(e,\"\",undefined,undefined,false,x)};l.prototype.delete=function(e,t,n,i,o,r){var a=this._findEmptyPathParentContext(this.oElementContext),h=a.getBinding(),u=h.getContext(),d=h.oReturnValueContext,l=this;function c(){r();a.oDeletePromise=null}if(!h.invoke){n.oDeletePromise=h.delete(e,t,a,n.getValue(),o,c);return n.oDeletePromise}h.oElementContext=null;if(d){h.oReturnValueContext=null}this._fireChange({reason:s.Remove});n.oDeletePromise=a.doDelete(e,t,\"\",null,this,function(e,t){if(t>0){c()}}).then(function(){a.destroy();if(d){d.destroy()}},function(e){c();if(!h.isRelative()||u===h.getContext()){h.oElementContext=a;if(d){h.oReturnValueContext=d}l._fireChange({reason:s.Add})}throw e});return n.oDeletePromise};l.prototype.destroy=function(){if(this.oElementContext){this.oElementContext.destroy();this.oElementContext=undefined}if(this.oParameterContext){this.oParameterContext.destroy();this.oParameterContext=undefined}if(this.oReturnValueContext){this.oReturnValueContext.destroy();this.oReturnValueContext=undefined}this.oModel.bindingDestroyed(this);this.oOperation=undefined;this.mParameters=undefined;this.mQueryOptions=undefined;t.prototype.destroy.call(this);h.prototype.destroy.call(this)};l.prototype.doCreateCache=function(e,t,i,o){return n.createSingle(this.oModel.oRequestor,e,t,this.oModel.bAutoExpandSelect,this.oModel.bSharedRequests,o)};l.prototype.doFetchExpandSelectProperties=function(){var e,t=this;if(this.bHasFetchedExpandSelectProperties||!this.oModel.bAutoExpandSelect||!this.mParameters.$expand&&!this.mParameters.$select){return}e=this.getResolvedPath();o.convertExpandSelectToPaths(this.oModel.buildQueryOptions(this.mParameters,true)).forEach(function(n){t.oContext.fetchValue(o.buildPath(e,n)).catch(t.oModel.getReporter())});this.bHasFetchedExpandSelectProperties=true};l.prototype.doFetchOrGetQueryOptions=function(e){return this.fetchResolvedQueryOptions(e)};l.prototype.doSetProperty=function(e,t,n){if(this.oOperation&&(e===\"$Parameter\"||e.startsWith(\"$Parameter/\"))){o.updateAll(this.oOperation.mChangeListeners,\"\",this.oOperation.mParameters,o.makeUpdateData(e.split(\"/\").slice(1),t));this.oOperation.bAction=undefined;if(n){n.unlock()}return r.resolve()}};l.prototype.doSuspend=function(){if(this.bInitial&&!this.oOperation){this.sResumeChangeReason=s.Change}};l.prototype.fetchValue=function(e,t,n){var a=n&&this.oCache!==undefined?r.resolve(this.oCache):this.oCachePromise,s=this;if(this.isRootBindingSuspended()){const e=new Error(\"Suspended binding provides no value\");e.canceled=\"noDebugLog\";throw e}return a.then(function(r){var a,h=false,d,l=s.getResolvedPath(),c=r||s.oOperation?s.getRelativePath(e):undefined,p;if(s.oOperation){if(c===undefined){return s.oContext.fetchValue(e,t,n)}p=c.split(\"/\");if(p[0]===\"$Parameter\"){if(p.length===1){return undefined}o.registerChangeListener(s.oOperation,c.slice(11),t);const e=o.drillDown(s.oOperation.mParameters,p.slice(1));return e===undefined?null:e}}if(r&&c!==undefined){if(n){d=i.$cached}else{d=s.oReadGroupLock||s.lockGroup();s.oReadGroupLock=undefined}a=s.isRefreshWithoutBubbling();return s.resolveRefreshPromise(r.fetchValue(d,c,function(){h=true;s.fireDataRequested(a)},t)).then(function(e){s.checkSameCache(r);return e}).then(function(e){if(h){s.fireDataReceived({data:{}},a)}return e},function(e){d.unlock(true);if(h){s.oModel.reportError(\"Failed to read path \"+l,u,e);s.fireDataReceived(e.canceled?{data:{}}:{error:e},a)}throw e})}if(!s.oOperation&&s.oContext){if(!n){s.doFetchExpandSelectProperties()}return s.oContext.fetchValue(e,t,n)}})};l.prototype.findContextForCanonicalPath=function(e){var t=this.oOperation?this.oReturnValueContext:this.oElementContext,n,i;if(t){n=t.getValue();if(n&&o.hasPrivateAnnotation(n,\"predicate\")){i=t.fetchCanonicalPath();i.caught();if(i.getResult()===e){return t}}}};l.prototype.getDependentBindings=function(){return this.oModel.getDependentBindings(this)};l.prototype.getParameterContext=function(){if(!this.oOperation){throw new Error(\"Not a deferred operation binding: \"+this)}return this.oParameterContext};l.prototype.getQueryOptionsFromParameters=function(){var e,t=this.mQueryOptions;if(this.bInheritExpandSelect){e=this.oContext.getBinding().getInheritableQueryOptions();t=Object.assign({},t);if(\"$select\"in e){t.$select&&=t.$select.slice();o.addToSelect(t,e.$select)}if(\"$expand\"in e){t.$expand=e.$expand}}return t};l.prototype.getResolvedPathWithReplacedTransientPredicates=function(){var e=\"\",t=this.getResolvedPath(),n,i=this;if(t&&t.includes(\"($uid=\")){n=t.slice(1).split(\"/\");t=\"\";n.forEach(function(n){var r,a,s;e+=\"/\"+n;s=n.indexOf(\"($uid=\");if(s>=0){r=i.oContext.getValue(e);a=r&&o.getPrivateAnnotation(r,\"predicate\");if(!a){throw new Error(\"No key predicate known at \"+e)}t+=\"/\"+n.slice(0,s)+a}else{t+=\"/\"+n}})}return t};l.prototype.getReturnValueContextPath=function(e){if(!this.hasReturnValueContext()){return undefined}const t=this.oContext.getPath().slice(1);const n=o.getPrivateAnnotation(e,\"predicate\");if(this.oOperation.bAdditionalQueryOptionsForRVC===false){const e=t.indexOf(\"(\");return(e<0?t:t.slice(0,e))+n}const i=o.getMetaPath(t).split(\"/\");const r=this.oModel.getMetaModel().getObject(\"/\"+i[0]+\"/\"+i[1]+\"/$Partner\");const a=e[r];const s=a&&this.oModel.getKeyPredicate(\"/\"+i[0],a);if(!(s&&n)){return undefined}return t.split(\"/\").map((e,t)=>e.slice(0,e.indexOf(\"(\"))+(t?n:s)).join(\"/\")};l.prototype.handleOperationResult=function(t,n,i){var a,s,h,u,d;if(this.isReturnValueLikeBindingParameter(t)){s=this.oContext.getValue();a=s&&o.getPrivateAnnotation(s,\"predicate\");h=o.getPrivateAnnotation(n,\"predicate\");if(h){if(a===h){this.oContext.patch(n)}u=this.getReturnValueContextPath(n);if(u){if(i){if(this.oOperation.bAdditionalQueryOptionsForRVC&&this.oContext.getPath().split(\"/\")[1]!==u.split(\"/\")[0]){throw new Error(\"Cannot replace due to changed key predicate\"+\" for navigation property in path\")}this.oCache=null;this.oCachePromise=r.resolve(null);d=this.oContext.getPath().indexOf(u)===1?this.oContext:this.oContext.getBinding().doReplaceWith(this.oContext,n,h);d.setNewGeneration();return d}this.oReturnValueContext=e.createNewContext(this.oModel,this,\"/\"+u);this.oCache.setResourcePath(u);return this.oReturnValueContext}}}if(i){throw new Error(\"Cannot replace w/o return value context\")}};l.prototype.hasReturnValueContext=function(){var e=o.getMetaPath(this.getResolvedPath()).split(\"/\");if(e.length===4){return this.oOperation.bAdditionalQueryOptionsForRVC!==false}return e.length===3&&this.oModel.getMetaModel().getObject(\"/\"+e[1]).$kind===\"EntitySet\"};l.prototype.initialize=function(){this.bInitial=false;if(this.isResolved()&&!this.isRootBindingSuspended()){this._fireChange({reason:s.Change})}};l.prototype.invoke=function(e,t,n,i){var r=this.getResolvedPath();this.checkSuspended();o.checkGroupId(e,false,true);if(!this.oOperation){throw new Error(\"The binding must be deferred: \"+this.sPath)}if(this.bRelative){if(!r){throw new Error(\"Unresolved binding: \"+this.sPath)}if(this.oContext.isTransient&&this.oContext.isTransient()){throw new Error(\"Invoke for transient context not allowed: \"+r)}if(this.oContext.getPath().includes(\"(...)\")){throw new Error(\"Nested deferred operation bindings not supported: \"+r)}if(i){if(!this.oContext.getBinding){throw new Error(\"Cannot replace this parent context: \"+this.oContext)}this.oContext.getBinding().checkKeepAlive(this.oContext,true)}}else if(i){throw new Error(\"Cannot replace when operation is not relative\")}return this._invoke(this.lockGroup(e,true),o.publicClone(this.oOperation.mParameters,true),t,n,i)};l.prototype.execute=l.prototype.invoke;l.prototype.isReturnValueLikeBindingParameter=function(e){var t,n;if(!(this.bRelative&&this.oContext&&this.oContext.getBinding)){return false}if(e.$kind===\"NavigationProperty\"){if(e.$isCollection||this.sPath.includes(\"/\")){return false}n=o.getMetaPath(this.oContext.getPath());if(n.lastIndexOf(\"/\")>0){return false}t=this.oModel.getMetaModel().getObject(n);return t.$kind===\"EntitySet\"&&t.$Type===e.$Type&&t.$NavigationPropertyBinding&&t.$NavigationPropertyBinding[this.sPath.slice(0,-5)]===n.slice(1)}return e.$IsBound&&e.$ReturnType&&!e.$ReturnType.$isCollection&&e.$EntitySetPath&&!e.$EntitySetPath.includes(\"/\")};l.prototype.ready2Inherit=function(){return this.bInheritExpandSelect&&this.bRelative&&this.oContext.getBinding?.().ready()||r.resolve()};l.prototype.refreshDependentBindings=function(e,t,n,i){return r.all(this.getDependentBindings().map(function(o){return o.refreshInternal(e,t,n,i)}))};l.prototype.refreshInternal=function(t,n,i,o){var a=this;if(this.oOperation&&this.oOperation.bAction!==false){return r.resolve()}this.bHasFetchedExpandSelectProperties=false;if(this.isRootBindingSuspended()){this.refreshSuspended(n);return this.refreshDependentBindings(t,n,i,o)}this.createReadGroupLock(n,this.isRoot());return this.oCachePromise.then(function(h){var u,d=a.oRefreshPromise,l=a.oReadGroupLock;if(!a.oElementContext){a.oElementContext=e.create(a.oModel,a,a.getResolvedPath());if(!h){a._fireChange({reason:s.Refresh})}}if(a.oOperation){a.oReadGroupLock=undefined;return a._invoke(l,a.oOperation.mRefreshParameters)}if(h&&!d){u=h.hasChangeListeners();a.removeCachesAndMessages(t);if(a.mLateQueryOptions){a.mAggregatedQueryOptions=a.mLateQueryOptions;a.mLateQueryOptions=undefined}a.fetchCache(a.oContext,false,false,n,o);if(u){d=a.createRefreshPromise(o)}else{l.unlock();a.oReadGroupLock=undefined}if(o&&d){d=d.catch(function(e){return a.fetchResourcePath(a.oContext).then(function(e){if(!a.bRelative||h.getResourcePath()===e){a.oCache=h;a.oCachePromise=r.resolve(h);h.setActive(true);return a.checkUpdateInternal()}}).then(function(){throw e})})}if(!i){a.fetchValue(\"\").catch(a.oModel.getReporter())}}return r.all([d,a.refreshDependentBindings(t,n,i,o)])})};l.prototype.refreshReturnValueContext=function(e,t,i){var a=this.oCache,s=this.mCacheQueryOptions,h=this.oModel,u,d=this;if(this.oReturnValueContext!==e){return null}this.mCacheQueryOptions=this.computeOperationQueryOptions();if(this.mLateQueryOptions){this.mCacheQueryOptions=o.clone(this.mCacheQueryOptions);o.aggregateExpandSelect(this.mCacheQueryOptions,this.mLateQueryOptions)}this.oCache=n.createSingle(h.oRequestor,e.getPath().slice(1),this.mCacheQueryOptions,true,h.bSharedRequests);this.oCachePromise=r.resolve(this.oCache);this.createReadGroupLock(t,true);u=e.refreshDependentBindings(\"\",t,true,i);if(i){u=u.catch(function(t){d.oCache=a;d.oCachePromise=r.resolve(a);d.mCacheQueryOptions=s;a.setActive(true);return e.checkUpdateInternal().then(function(){throw t})})}return u};l.prototype.requestObject=function(e){return this.oElementContext?this.oElementContext.requestObject(e):Promise.resolve()};l.prototype.requestSideEffects=function(e,t,n){var i=this.oModel,o=[],a=this;function s(e){return e.catch(function(e){i.reportError(\"Failed to request side effects\",u,e);if(!e.canceled){throw e}})}if(t.indexOf(\"\")<0){try{if(!this.oOperation||this.oReturnValueContext){o.push(this.oCache.requestSideEffects(this.lockGroup(e),t,n&&n.getPath().slice(1)))}this.visitSideEffects(e,t,n,o);return r.all(o.map(s)).then(function(){return a.refreshDependentListBindingsWithoutCache()})}catch(e){if(!e.message.startsWith(\"Unsupported collection-valued navigation property \")){throw e}}}return n&&this.refreshReturnValueContext(n,e,true)||this.refreshInternal(\"\",e,true,true)};l.prototype.resumeInternal=function(e,t){var n=this.sResumeChangeReason,i=this;function o(){i.getDependentBindings().forEach(function(t){t.resumeInternal(e,!!n)})}this.sResumeChangeReason=undefined;if(this.oOperation){o();return}if(t||n){this.mAggregatedQueryOptions={};this.bAggregatedQueryOptionsInitial=true;this.mCanUseCachePromiseByChildPath={};this.removeCachesAndMessages(\"\");this.fetchCache(this.oContext)}o();if(n){this._fireChange({reason:n})}};l.prototype.setContext=function(t){if(this.oContext!==t){if(this.bRelative&&(this.oContext||t)){this.checkSuspended(true);if(this.oElementContext){this.oElementContext.destroy();this.oElementContext=null}if(this.oReturnValueContext){this.oReturnValueContext.destroy();this.oReturnValueContext=null}if(this.oParameterContext){this.oParameterContext.destroy();this.oParameterContext=null}this.fetchCache(t);if(t){this.oElementContext=e.create(this.oModel,this,this.oModel.resolve(this.sPath,t));if(this.oOperation){this.oParameterContext=e.create(this.oModel,this,this.oModel.resolve(this.sPath+\"/$Parameter\",t))}}this.bHasFetchedExpandSelectProperties=false;a.prototype.setContext.call(this,t)}else{this.oContext=t}}};l.prototype.setParameter=function(e,t){var n;if(!this.oOperation){throw new Error(\"The binding must be deferred: \"+this.sPath)}if(!e){throw new Error(\"Missing parameter name\")}if(t===undefined){throw new Error(\"Missing value for parameter: \"+e)}n=this.oOperation.mParameters[e];this.oOperation.mParameters[e]=t;o.informAll(this.oOperation.mChangeListeners,e,n,t);this.oOperation.bAction=undefined;return this};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/ODataListBinding\", [\"./Context\",\"./ODataParentBinding\",\"./lib/_AggregationCache\",\"./lib/_AggregationHelper\",\"./lib/_Cache\",\"./lib/_GroupLock\",\"./lib/_Helper\",\"sap/base/Log\",\"sap/ui/base/SyncPromise\",\"sap/ui/core/Messaging\",\"sap/ui/model/Binding\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/FilterProcessor\",\"sap/ui/model/FilterType\",\"sap/ui/model/ListBinding\",\"sap/ui/model/Sorter\",\"sap/ui/model/odata/OperationMode\"],function(e,t,i,n,r,s,o,a,h,d,u,c,f,l,g,p,C,x,v){\"use strict\";var P=\"sap.ui.model.odata.v4.ODataListBinding\",m=/All|Any|NotAll|NotAny/,y={AggregatedDataStateChange:true,change:true,createActivate:true,createCompleted:true,createSent:true,dataReceived:true,dataRequested:true,DataStateChange:true,patchCompleted:true,patchSent:true,refresh:true,selectionChanged:true,separateReceived:true},E=C.extend(\"sap.ui.model.odata.v4.ODataListBinding\",{constructor:$});function $(i,n,r,s,a,h){C.call(this,i,n);t.call(this);if(n.endsWith(\"/\")){throw new Error(\"Invalid path: \"+n)}h=o.clone(h)||{};this.checkBindingParameters(h,[\"$$aggregation\",\"$$canonicalPath\",\"$$clearSelectionOnFilter\",\"$$getKeepAliveContext\",\"$$groupId\",\"$$operationMode\",\"$$ownRequest\",\"$$patchWithoutSideEffects\",\"$$separate\",\"$$sharedRequest\",\"$$updateGroupId\"]);const d=o.toArray(a);if(h.$$aggregation&&d[0]===f.NONE){throw new Error(\"Cannot combine Filter.NONE with $$aggregation\")}this.iActiveContexts=0;this.aApplicationFilters=d;this.sChangeReason=i.bAutoExpandSelect&&!o.isDataAggregation(h)?\"AddVirtualContext\":undefined;this.iCreatedContexts=0;this.iDeletedContexts=0;this.oDiff=undefined;this.aFilters=[];this.sGroupId=h.$$groupId;this.bHasAnalyticalInfo=false;this.oHeaderContext=this.bRelative?null:e.createNewContext(i,this,n);this.sOperationMode=h.$$operationMode||i.sOperationMode;this.mPreviousContextsByPath={};this.aPreviousData=null;this.bRefreshKeptElements=false;this.sResumeAction=undefined;this.bResetViaSideEffects=undefined;this.bSharedRequest=\"$$sharedRequest\"in h?h.$$sharedRequest:i.bSharedRequests;this.aSorters=o.toArray(s);this.sUpdateGroupId=h.$$updateGroupId;if(!this.sOperationMode&&(this.aSorters.length||this.aApplicationFilters.length)){throw new Error(\"Unsupported operation mode: \"+this.sOperationMode)}this.applyParameters(h);if(!this.bRelative||r&&!r.fetchValue){this.createReadGroupLock(this.getGroupId(),true)}this.setContext(r);i.bindingCreated(this)}t(E.prototype);E.prototype._checkDataStateMessages=function(e,t){if(t){e.setModelMessages(this.oModel.getMessagesByPath(t,true))}};E.prototype._getAllExistingContexts=function(e){let t=this.aContexts??[];if(e){t=t.slice(this.iCreatedContexts)}return t.filter(function(e){return e}).concat(Object.values(this.mPreviousContextsByPath).filter(function(t){const i=t.isEffectivelyKeptAlive();return e?i&&!t.isOutOfPlace():i}))};E.prototype.adjustPredicate=function(e,i,n){var r=this;function s(e,t){var i=r.aPreviousData?.indexOf(e);if(i>=0){r.aPreviousData[i]=t}}if(n){n.adjustPredicate(e,i,s)}else{t.prototype.adjustPredicate.apply(this,arguments);if(this.mCacheQueryOptions&&!this.oContext.getPath().includes(\"($uid=\")){this.fetchCache(this.oContext,true)}this.oHeaderContext.adjustPredicate(e,i);this.aContexts.forEach(function(t){t.adjustPredicate(e,i,s)})}};E.prototype.applyParameters=function(e,t,i){var r,s=this.mParameters&&this.mParameters.$$aggregation,o=this.mQueryOptions&&this.mQueryOptions.$apply;if(\"$$getKeepAliveContext\"in e&&\"$apply\"in e){throw new Error(\"Cannot combine $$getKeepAliveContext and $apply\")}if(\"$$aggregation\"in e){if(\"$apply\"in e){throw new Error(\"Cannot combine $$aggregation and $apply\")}if(!t){n.validateAggregationAndSetPath(e.$$aggregation,this.oModel.bAutoExpandSelect,this.oModel.oInterface.fetchMetadata,this.getResolvedPath())}r=n.buildApply(e.$$aggregation).$apply}const a=this.mParameters?.$$clearSelectionOnFilter&&(i?.includes(\"$filter\")||i?.includes(\"$search\")||e.$$aggregation?.search!==this.mParameters.$$aggregation?.search);this.mQueryOptions=thi Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/fieldhelp/FieldHelpUtil\", [\"sap/ui/core/fieldhelp/FieldHelpCustomData\"],function(t){\"use strict\";class e{static setDocumentationRef(e,s){const a=Array.isArray(s)?s:[s];const o=t.DOCUMENTATION_REF_KEY;const n=e.getCustomData().find(t=>t.getKey()===o);if(n){if(!(n instanceof t)){throw new Error(`Unsupported custom data type for key \"${o}\"`)}n.setValue(a)}else{const s=new t({key:t.DOCUMENTATION_REF_KEY,value:a});e.addAggregation(\"customData\",s,true)}}}return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/format/DateFormat\", [\"sap/base/Log\",\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/base/i18n/date/CalendarType\",\"sap/base/i18n/date/CalendarWeekNumbering\",\"sap/base/i18n/date/TimezoneUtils\",\"sap/base/strings/formatMessage\",\"sap/base/util/deepEqual\",\"sap/base/util/extend\",\"sap/ui/core/Lib\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/core/Supportability\",\"sap/ui/core/date/CalendarUtils\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/date/UniversalDate\",\"sap/ui/core/format/FormatUtils\"],function(e,t,a,r,n,i,o,s,l,u,f,d,c,h,m,g,p){\"use strict\";var y=function(){throw new Error};var v={DATE:\"date\",TIME:\"time\",DATETIME:\"datetime\",DATETIME_WITH_TIMEZONE:\"datetimeWithTimezone\"};var b={};var D=function(e){if(typeof e!==\"string\"&&!(e instanceof String)&&e!=null){throw new TypeError(\"The given timezone must be a string.\")}};y.oDateInfo={type:v.DATE,oDefaultFormatOptions:{style:\"medium\",relativeScale:\"day\",relativeStyle:\"wide\"},aFallbackFormatOptions:[{style:\"short\"},{style:\"medium\"},{pattern:\"yyyy-MM-dd\"},{pattern:\"yyyyMMdd\",strictParsing:true}],bShortFallbackFormatOptions:true,bPatternFallbackWithoutDelimiter:true,getPattern:function(e,t,a){return e.getDatePattern(t,a)},oRequiredParts:{text:true,year:true,weekYear:true,month:true,day:true},aRelativeScales:[\"year\",\"month\",\"week\",\"day\"],aRelativeParseScales:[\"year\",\"quarter\",\"month\",\"week\",\"day\",\"hour\",\"minute\",\"second\"],aIntervalCompareFields:[\"Era\",\"FullYear\",\"Quarter\",\"Month\",\"Week\",\"Date\"]};y.oDateTimeInfo={type:v.DATETIME,oDefaultFormatOptions:{style:\"medium\",relativeScale:\"auto\",relativeStyle:\"wide\"},aFallbackFormatOptions:[{style:\"short\"},{style:\"medium\"},{pattern:\"yyyy-MM-dd'T'HH:mm:ss\"},{pattern:\"yyyyMMdd HHmmss\"}],getPattern:function(e,t,a){var r=t.indexOf(\"/\");if(r>0){return e.getCombinedDateTimePattern(t.substr(0,r),t.substr(r+1),a)}else{return e.getCombinedDateTimePattern(t,t,a)}},oRequiredParts:{text:true,year:true,weekYear:true,month:true,day:true,hour0_23:true,hour1_24:true,hour0_11:true,hour1_12:true},aRelativeScales:[\"year\",\"month\",\"week\",\"day\",\"hour\",\"minute\",\"second\"],aRelativeParseScales:[\"year\",\"quarter\",\"month\",\"week\",\"day\",\"hour\",\"minute\",\"second\"],aIntervalCompareFields:[\"Era\",\"FullYear\",\"Quarter\",\"Month\",\"Week\",\"Date\",\"DayPeriod\",\"Hours\",\"Minutes\",\"Seconds\"]};y._getDateTimeWithTimezoneInfo=function(e){var t=e.showDate===undefined||e.showDate;var a=e.showTime===undefined||e.showTime;var r=e.showTimezone===undefined||e.showTimezone;var n=y.oDateTimeInfo;if(t&&!a){n=y.oDateInfo}else if(!t&&a){n=y.oTimeInfo}return Object.assign({},n,{type:v.DATETIME_WITH_TIMEZONE,getTimezonePattern:function(e){if(!t&&!a&&r){return\"VV\"}else if(!r){return e}else{return e+\" VV\"}},getPattern:function(e,i,o){if(!t&&!a&&r){return\"VV\"}if(!r){return n.getPattern(e,i,o)}var s=n.getPattern(e,i,o);return e.applyTimezonePattern(s)}})};y.oTimeInfo={type:v.TIME,oDefaultFormatOptions:{style:\"medium\",relativeScale:\"auto\",relativeStyle:\"wide\"},aFallbackFormatOptions:[{style:\"short\"},{style:\"medium\"},{pattern:\"HH:mm:ss\"},{pattern:\"HHmmss\"}],getPattern:function(e,t,a){return e.getTimePattern(t,a)},oRequiredParts:{text:true,hour0_23:true,hour1_24:true,hour0_11:true,hour1_12:true},aRelativeScales:[\"hour\",\"minute\",\"second\"],aRelativeParseScales:[\"year\",\"quarter\",\"month\",\"week\",\"day\",\"hour\",\"minute\",\"second\"],aIntervalCompareFields:[\"DayPeriod\",\"Hours\",\"Minutes\",\"Seconds\"]};y.getInstance=function(e,t){return this.getDateInstance(e,t)};y.getDateInstance=function(e,t){return this.createInstance(e,t,this.oDateInfo)};y.getDateTimeInstance=function(e,t){return this.createInstance(e,t,this.oDateTimeInfo)};y.getDateTimeWithTimezoneInstance=function(e,t){if(e&&!(e instanceof f)){(function(){e=Object.assign({},e);if(typeof e.showTimezone===\"string\"){var t=e.showTimezone;if(e.showDate===undefined&&e.showTime===undefined){if(t===\"Hide\"){e.showTimezone=false}else if(t===\"Only\"){e.showDate=false;e.showTime=false}}e.showTimezone=t!==\"Hide\"}})();if(e.showDate===false&&e.showTime===false&&e.showTimezone===false){throw new TypeError(\"Invalid Configuration. One of the following format options must be true: \"+\"showDate, showTime or showTimezone.\")}}return this.createInstance(e,t,y._getDateTimeWithTimezoneInfo(e||{}))};y.getTimeInstance=function(e,t){return this.createInstance(e,t,this.oTimeInfo)};y.createInstance=function(e,a,r,i){var o,s,u;s=Object.create(this.prototype);if(e instanceof f){a=e;e=undefined}if(!a){a=new f(t.getLanguageTag())}s.oLocale=a;s.oLocaleData=d.getInstance(a);s.oFormatOptions=l({},r.oDefaultFormatOptions,e);if(r.type===v.DATETIME_WITH_TIMEZONE){s.oFormatOptions.interval=false;s.oFormatOptions.singleIntervalValue=false;s.oFormatOptions.UTC=false}else{s.oFormatOptions.showTimezone=undefined;s.oFormatOptions.showDate=undefined;s.oFormatOptions.showTime=undefined}s.type=r.type;if(!s.oFormatOptions.calendarType){s.oFormatOptions.calendarType=t.getCalendarType()}if(s.oFormatOptions.firstDayOfWeek===undefined&&s.oFormatOptions.minimalDaysInFirstWeek!==undefined||s.oFormatOptions.firstDayOfWeek!==undefined&&s.oFormatOptions.minimalDaysInFirstWeek===undefined){throw new TypeError(\"Format options firstDayOfWeek and minimalDaysInFirstWeek need both to be set, but only one was provided.\")}if(s.oFormatOptions.calendarWeekNumbering&&!Object.values(n).includes(s.oFormatOptions.calendarWeekNumbering)){throw new TypeError(\"Illegal format option calendarWeekNumbering: '\"+s.oFormatOptions.calendarWeekNumbering+\"'\")}if(!s.oFormatOptions.pattern){if(s.oFormatOptions.format){s.oFormatOptions.pattern=s.oLocaleData.getCustomDateTimePattern(s.oFormatOptions.format,s.oFormatOptions.calendarType)}else{s.oFormatOptions.pattern=r.getPattern(s.oLocaleData,s.oFormatOptions.style,s.oFormatOptions.calendarType)}}if(s.oFormatOptions.interval){var c,h=s.oFormatOptions.intervalDelimiter;if(s.oFormatOptions.format){s.intervalPatterns=s.oLocaleData.getCustomIntervalPattern(s.oFormatOptions.format,null,s.oFormatOptions.calendarType);if(typeof s.intervalPatterns===\"string\"){s.intervalPatterns=[s.intervalPatterns]}c=s.oLocaleData.getCustomDateTimePattern(s.oFormatOptions.format,s.oFormatOptions.calendarType);s.intervalPatterns.push(c)}else{c=s.oFormatOptions.pattern;s.intervalPatterns=[s.oLocaleData.getCombinedIntervalPattern(s.oFormatOptions.pattern,s.oFormatOptions.calendarType),s.oFormatOptions.pattern]}s.intervalPatterns.push(s.oFormatOptions.pattern+\" - \"+s.oFormatOptions.pattern);if(h){h=h.replace(/'/g,\"''\");h=\"'\"+h+\"'\";s.intervalPatterns.unshift(c+h+c)}s.intervalPatterns=Array.from(new Set(s.intervalPatterns))}if(!i){o=r.aFallbackFormatOptions;if(r.bShortFallbackFormatOptions){u=r.getPattern(s.oLocaleData,\"short\");o=o.concat(y._createFallbackOptionsWithoutDelimiter(u))}if(s.oFormatOptions.pattern&&r.bPatternFallbackWithoutDelimiter){o=y._createFallbackOptionsWithoutDelimiter(s.oFormatOptions.pattern).concat(o)}o=o.reduce(function(e,t){var a=Object.keys(t),r=e.some(function(e){return Object.keys(e).length===a.length&&a.every(function(a){return e[a]===t[a]})});if(!r){e.push(t)}return e},[]);s.aFallbackFormats=y._createFallbackFormat(o,s.oFormatOptions.calendarType,a,r,s.oFormatOptions)}s.oRequiredParts=r.oRequiredParts;s.aRelativeScales=r.aRelativeScales;s.aRelativeParseScales=r.aRelativeParseScales;s.aIntervalCompareFields=r.aIntervalCompareFields;s.init();return s};y.prototype.init=function(){var e=this.oFormatOptions.calendarType;this.aMonthsAbbrev=this.oLocaleData._getMonthsWithAlternatives(\"abbreviated\",e);this.aMonthsWide=this.oLocaleData.getMonths(\"wide\",e);this.aMonthsNarrow=this.oLocaleData.getMonths(\"narrow\",e);this.aMonthsAbbrevSt=this.oLocaleData._getMonthsStandAloneWithAlternatives(\"abbreviated\",e);this.aMonthsWideSt=this.oLocaleData.getMonthsStandAlone(\"wide\",e);this.aMonthsNarrowSt=this.oLocaleData.getMonthsStandAlone(\"narrow\",e);this.aDaysAbbrev=this.oLocaleData.getDays(\"abbreviated\",e);this.aDaysWide=this.oLocaleData.getDays(\"wide\",e);this.aDaysNarrow=this.oLocaleData.getDays(\"narrow\",e);this.aDaysShort=this.oLocaleData.getDays(\"short\",e);this.aDaysAbbrevSt=this.oLocaleData.getDaysStandAlone(\"abbreviated\",e);this.aDaysWideSt=this.oLocaleData.getDaysStandAlone(\"wide\",e);this.aDaysNarrowSt=this.oLocaleData.getDaysStandAlone(\"narrow\",e);this.aDaysShortSt=this.oLocaleData.getDaysStandAlone(\"short\",e);this.aQuartersAbbrev=this.oLocaleData.getQuarters(\"abbreviated\",e);this.aQuartersWide=this.oLocaleData.getQuarters(\"wide\",e);this.aQuartersNarrow=this.oLocaleData.getQuarters(\"narrow\",e);this.aQuartersAbbrevSt=this.oLocaleData.getQuartersStandAlone(\"abbreviated\",e);this.aQuartersWideSt=this.oLocaleData.getQuartersStandAlone(\"wide\",e);this.aQuartersNarrowSt=this.oLocaleData.getQuartersStandAlone(\"narrow\",e);this.aErasNarrow=this.oLocaleData.getEras(\"narrow\",e);this.aErasAbbrev=this.oLocaleData.getEras(\"abbreviated\",e);this.aErasWide=this.oLocaleData.getEras(\"wide\",e);this.aDayPeriodsAbbrev=this.oLocaleData.getDayPeriods(\"abbreviated\",e);this.aDayPeriodsNarrow=this.oLocaleData.getDayPeriods(\"narrow\",e);this.aDayPeriodsWide=this.oLocaleData.getDayPeriods(\"wide\",e);this.oFlexibleDayPeriodsAbbrev=this.oLocaleData.getFlexibleDayPeriods(\"abbreviated\",e);this.oFlexibleDayPeriodsNarrow=this.oLocaleData.getFlexibleDayPeriods(\"narrow\",e);this.oFlexibleDayPeriodsWide=this.oLocaleData.getFlexibleDayPeriods(\"wide\",e);this.oFlexibleDayPeriodsAbbrevSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone(\"abbreviated\",e);this.oFlexibleDayPeriodsNarrowSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone(\"narrow\",e);this.oFlexibleDayPeriodsWideSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone(\"wide\",e);this.aFormatArray=this.parseCldrDatePattern(this.oFormatOptions.pattern);this.sAllowedCharacters=this.getAllowedCharacters(this.aFormatArray)};y._createFallbackFormat=function(e,t,a,r,n){return e.map(function(e){var i=Object.assign({},e);i.showDate=n.showDate;i.showTime=n.showTime;i.showTimezone=n.showTimezone;if(typeof r.getTimezonePattern===\"function\"&&i.pattern){i.pattern=r.getTimezonePattern(i.pattern)}if(n.interval){i.interval=true}i.calendarType=t;return y.createInstance(i,a,r,true)})};y._createFallbackOptionsWithoutDelimiter=function(e){var t=/[^dMyGU]/g,a={regex:/d+/g,replace:\"dd\"},r={regex:/M+/g,replace:\"MM\"},n={regex:/[yU]+/g,replace:[\"yyyy\",\"yy\"]};e=e.replace(t,\"\");e=e.replace(a.regex,a.replace);e=e.replace(r.regex,r.replace);return n.replace.map(function(t){return{pattern:e.replace(n.regex,t),strictParsing:true}})};var T={isNumber:function(e){return e>=48&&e<=57},findNumbers:function(e,t){var a=0;while(a<t&&this.isNumber(e.charCodeAt(a))){a++}return e.substr(0,a)},startsWithIgnoreCase:function(e,t,a){if(e.startsWith(t)){return true}try{var r=t.toLocaleUpperCase(a);var n=e.toLocaleUpperCase(a);if(r.length!==t.length||n.length!==e.length){return false}return n.startsWith(r)}catch(e){return false}},findEntry:function(e,t,a){let r=-1;let n=0;t.forEach((t,i)=>{(Array.isArray(t)?t:[t]).forEach(t=>{if(t.length>n&&this.startsWithIgnoreCase(e,t,a)){r=i;n=t.length}})});return{index:r,length:n}},parseTZ:function(e,t){var a=0;var r=e.charAt(0)===\"+\"?-1:1;var n;if(e[0]===\"Z\"){return{length:1,tzDiff:0}}a++;n=this.findNumbers(e.substr(a),2);var i=parseInt(n);a+=2;if(t){a++}n=this.findNumbers(e.substr(a),2);var o=0;if(n){a+=2;o=parseInt(n)}return{length:a,tzDiff:(o+60*i)*60*r}},checkValid:function(e,t,a){if(e in a.oRequiredParts&&t){return false}return true}};y._oParseHelper=T;y._createPatternSymbol=function(e){var t=typeof e.isNumeric===\"function\"&&e.isNumeric||function(){return e.isNumeric||false};return{name:e.name,format:e.format||function(){return\"\"},parse:e.parse||function(){return{}},isNumeric:t}};y.prototype.oSymbols={\"\":y._createPatternSymbol({name:\"text\",format:function(e,t){return e.value},parse:function(e,t,a,r){var n;var i=true;var o=0;var s=0;var l=\"-~‐‑‒–—﹘﹣-~\";const u=p.normalize(t.value);for(;s<u.length;s++){n=u.charAt(s);if(n===\" \"){while(e.charAt(o)===\" \"){o++}}else if(l.includes(n)){if(!l.includes(e.charAt(o))){i=false}o++}else{if(e.charAt(o)!==n){i=false}o++}if(!i){break}}if(i){return{length:o}}else{var f=false;if(r.index<r.formatArray.length-1){f=r.formatArray[r.index+1].type in a.oRequiredParts}return{valid:T.checkValid(t.type,f,a)}}}}),G:y._createPatternSymbol({name:\"era\",format:function(e,t,a,r){var n=t.getUTCEra();if(e.digits<=3){return r.aErasAbbrev[n]}else if(e.digits===4){return r.aErasWide[n]}else{return r.aErasNarrow[n]}},parse:function(e,t,a,r){var n=[a.aErasWide,a.aErasAbbrev,a.aErasNarrow];for(var i=0;i<n.length;i++){var o=n[i];var s=T.findEntry(e,o,a.oLocaleData.sCLDRLocaleId);if(s.index!==-1){return{era:s.index,length:s.length}}}return{era:a.aErasWide.length-1,valid:T.checkValid(t.type,true,a)}}}),y:y._createPatternSymbol({name:\"year\",format:function(e,t,a,n){var i=t.getUTCFullYear();var o=String(i);var s=n.oFormatOptions.calendarType;if(e.digits===2&&o.length>2){o=o.substr(o.length-2)}if(s!==r.Japanese&&e.digits===1&&i<100){o=o.padStart(4,\"0\")}return o.padStart(e.digits,\"0\")},parse:function(e,t,a,n){var i,o,s,l=a.oFormatOptions.calendarType;if(t.digits===1){i=4}else if(t.digits===2){i=2}else{i=t.digits}o=T.findNumbers(e,i);s=o===\"\"||n.exactLength&&o.length!==i;var u=parseInt(o);if(l!==r.Japanese&&o.length<=2){var f=g.getInstance(m.getInstance(),l),d=f.getUTCFullYear(),c=Math.floor(d/100),h=c*100+u-d;if(h<-70){u+=(c+1)*100}else if(h<30){u+=c*100}else{u+=(c-1)*100}}return{length:o.length,valid:T.checkValid(t.type,s,a),year:u}},isNumeric:true}),Y:y._createPatternSymbol({name:\"weekYear\",format:function(e,t,a,n){var i=t.getUTCWeek(n.oLocale,F(n.oFormatOptions));var o=i.year;var s=String(o);var l=n.oFormatOptions.calendarType;if(e.digits===2&&s.length>2){s=s.substr(s.length-2)}if(l!==r.Japanese&&e.digits===1&&o<100){s=s.padStart(4,\"0\")}return s.padStart(e.digits,\"0\")},parse:function(e,t,a,n){var i,o,s,l=a.oFormatOptions.calendarType;if(t.digits===1){i=4}else if(t.digits===2){i=2}else{i=t.digits}o=T.findNumbers(e,i);s=o===\"\"||n.exactLength&&o.length!==i;var u=parseInt(o);var f=u;if(l!==r.Japanese&&o.length<=2){var d=g.getInstance(m.getInstance(),l),c=d.getUTCFullYear(),h=Math.floor(c/100),p=h*100+f-c;if(p<-70){f+=(h+1)*100}else if(p<30){f+=h*100}else{f+=(h-1)*100}}return{length:o.length,valid:T.checkValid(t.type,s,a),year:u,weekYear:f}},isNumeric:true}),M:y._createPatternSymbol({name:\"month\",format:function(e,t,a,r){var n=t.getUTCMonth();if(e.digits===3){const e=r.aMonthsAbbrev[n];return Array.isArray(e)?e[0]:e}else if(e.digits===4){return r.aMonthsWide[n]}else if(e.digits>4){return r.aMonthsNarrow[n]}else{return String(n+1).padStart(e.digits,\"0\")}},parse:function(e,t,a,r){var n,i,o,s,l=[a.aMonthsWide,a.aMonthsWideSt,a.aMonthsAbbrev,a.aMonthsAbbrevSt,a.aMonthsNarrow,a.aMonthsNarrowSt];if(t.digits<3){i=T.findNumbers(e,Math.max(t.digits,2));o=i===\"\"||r.exactLength&&i.length<2;s=T.checkValid(t.type,o,a);n=parseInt(i)-1;if(r.strict&&(n>11||n<0)){s=false}}else{for(var u=0;u<l.length;u++){var f=l[u];var d=T.findEntry(e,f,a.oLocaleData.sCLDRLocaleId);if(d.index!==-1){return{month:d.index,length:d.length}}}s=T.checkValid(t.type,true,a)}return{month:n,length:i?i.length:0,valid:s}},isNumeric:function(e){return e<3}}),L:y._createPatternSymbol({name:\"monthStandalone\",format:function(e,t,a,r){var n=t.getUTCMonth();if(e.digits===3){const e=r.aMonthsAbbrevSt[n];return Array.isArray(e)?e[0]:e}else if(e.digits===4){return r.aMonthsWideSt[n]}else if(e.digits>4){return r.aMonthsNarrowSt[n]}else{return String(n+1).padStart(e.digits,\"0\")}},parse:function(e,t,a,r){var n,i,o,s,l=[a.aMonthsWide,a.aMonthsWideSt,a.aMonthsAbbrev,a.aMonthsAbbrevSt,a.aMonthsNarrow,a.aMonthsNarrowSt];if(t.digits<3){i=T.findNumbers(e,Math.max(t.digits,2));o=i===\"\"||r.exactLength&&i.length<2;s=T.checkValid(t.type,o,a);n=parseInt(i)-1;if(r.strict&&(n>11||n<0)){s=false}}else{for(var u=0;u<l.length;u++){var f=l[u];var d=T.findEntry(e,f,a.oLocaleData.sCLDRLocaleId);if(d.index!==-1){return{month:d.index,length:d.length}}}s=T.checkValid(t.type,true,a)}return{month:n,length:i?i.length:0,valid:s}},isNumeric:function(e){return e<3}}),w:y._createPatternSymbol({name:\"weekInYear\",format:function(e,t,a,r){var n=t.getUTCWeek(r.oLocale,F(r.oFormatOptions));var i=n.week;var o=String(i+1);if(e.digits<3){o=o.padStart(e.digits,\"0\")}else{o=r.oLocaleData.getCalendarWeek(e.digits===3?\"narrow\":\"wide\",o.padStart(2,\"0\"))}return o},parse:function(e,t,a,r){var n,i,o,s,l=0;if(t.digits<3){n=T.findNumbers(e,2);l=n.length;s=parseInt(n)-1;i=!n||r.exactLength&&l<2;o=T.checkValid(t.type,i,a)}else{n=a.oLocaleData.getCalendarWeek(t.digits===3?\"narrow\":\"wide\");n=n.replace(\"{0}\",\"([0-9]+)\");var u=new RegExp(n),f=u.exec(e);if(f){l=f[0].length;s=parseInt(f[f.length-1])-1}else{o=T.checkValid(t.type,true,a)}}return{length:l,valid:o,week:s}},isNumeric:function(e){return e<3}}),W:y._createPatternSymbol({name:\"weekInMonth\"}),D:y._createPatternSymbol({name:\"dayInYear\"}),d:y._createPatternSymbol({name:\"day\",format:function(e,t){var a=t.getUTCDate();return String(a).padStart(e.digits,\"0\")},parse:function(e,t,a,r){var n=T.findNumbers(e,Math.max(t.digits,2)),i=n===\"\"||r.exactLength&&n.length<2,o=T.checkValid(t.type,i,a),s=parseInt(n);if(r.strict&&(s>31||s<1)){o=false}return{day:s,length:n.length,valid:o}},isNumeric:true}),Q:y._createPatternSymbol({name:\"quarter\",format:function(e,t,a,r){var n=t.getUTCQuarter();if(e.digits===3){return r.aQuartersAbbrev[n]}else if(e.digits===4){return r.aQuartersWide[n]}else if(e.digits>4){return r.aQuartersNarrow[n]}else{return String(n+1).padStart(e.digits,\"0\")}},parse:function(e,t,a,r){var n,i,o,s;var l=[a.aQuartersWide,a.aQuartersWideSt,a.aQuartersAbbrev,a.aQuartersAbbrevSt,a.aQuartersNarrow,a.aQuartersNarrowSt];if(t.digits<3){n=T.findNumbers(e,Math.max(t.digits,2));i=n===\"\"||r.exactLength&&n.length<2;s=T.checkValid(t.type,i,a);o=parseInt(n)-1;if(r.strict&&o>3){s=false}}else{for(var u=0;u<l.length;u++){var f=l[u];var d=T.findEntry(e,f,a.oLocaleData.sCLDRLocaleId);if(d.index!==-1){return{quarter:d.index,length:d.length}}}s=T.checkValid(t.type,true,a)}return{length:n?n.length:0,quarter:o,valid:s}},isNumeric:function(e){return e<3}}),q:y._createPatternSymbol({name:\"quarterStandalone\",format:function(e,t,a,r){var n=t.getUTCQuarter();if(e.digits===3){return r.aQuartersAbbrevSt[n]}else if(e.digits===4){return r.aQuartersWideSt[n]}else if(e.digits>4){return r.aQuartersNarrowSt[n]}else{return String(n+1).padStart(e.digits,\"0\")}},parse:function(e,t,a,r){var n,i,o,s;var l=[a.aQuartersWide,a.aQuartersWideSt,a.aQuartersAbbrev,a.aQuartersAbbrevSt,a.aQuartersNarrow,a.aQuartersNarrowSt];if(t.digits<3){n=T.findNumbers(e,Math.max(t.digits,2));i=n===\"\"||r.exactLength&&n.length<2;s=T.checkValid(t.type,i,a);o=parseInt(n)-1;if(r.strict&&o>3){s=false}}else{for(var u=0;u<l.length;u++){var f=l[u];var d=T.findEntry(e,f,a.oLocaleData.sCLDRLocaleId);if(d.index!==-1){return{quarter:d.index,length:d.length}}}s=T.checkValid(t.type,true,a)}return{length:n?n.length:0,quarter:o,valid:s}},isNumeric:function(e){return e<3}}),F:y._createPatternSymbol({name:\"dayOfWeekInMonth\"}),E:y._createPatternSymbol({name:\"dayNameInWeek\",format:function(e,t,a,r){var n=t.getUTCDay();if(e.digits<4){return r.aDaysAbbrev[n]}else if(e.digits===4){return r.aDaysWide[n]}else if(e.digits===5){return r.aDaysNarrow[n]}else{return r.aDaysShort[n]}},parse:function(e,t,a,r){var n=[a.aDaysWide,a.aDaysWideSt,a.aDaysAbbrev,a.aDaysAbbrevSt,a.aDaysShort,a.aDaysShortSt,a.aDaysNarrow,a.aDaysNarrowSt];for(var i=0;i<n.length;i++){var o=n[i];var s=T.findEntry(e,o,a.oLocaleData.sCLDRLocaleId);if(s.index!==-1){return{dayOfWeek:s.index,length:s.length}}}}}),c:y._createPatternSymbol({name:\"dayNameInWeekStandalone\",format:function(e,t,a,r){var n=t.getUTCDay();if(e.digits<4){return r.aDaysAbbrevSt[n]}else if(e.digits===4){return r.aDaysWideSt[n]}else if(e.digits===5){return r.aDaysNarrowSt[n]}else{return r.aDaysShortSt[n]}},parse:function(e,t,a,r){var n=[a.aDaysWide,a.aDaysWideSt,a.aDaysAbbrev,a.aDaysAbbrevSt,a.aDaysShort,a.aDaysShortSt,a.aDaysNarrow,a.aDaysNarrowSt];for(var i=0;i<n.length;i++){var o=n[i];var s=T.findEntry(e,o,a.oLocaleData.sCLDRLocaleId);if(s.index!==-1){return{day:s.index,length:s.length}}}}}),u:y._createPatternSymbol({name:\"dayNumberOfWeek\",format:function(e,t,a,r){var n=t.getUTCDay();return r._adaptDayOfWeek(n)},parse:function(e,t,a,r){var n=T.findNumbers(e,t.digits),i=r.exactLength&&n.length!==t.digits;return{dayNumberOfWeek:parseInt(n),length:n.length,valid:T.checkValid(t.type,i,a)}},isNumeric:true}),a:y._createPatternSymbol({name:\"amPmMarker\",format:function(e,t,a,r){var n=t.getUTCDayPeriod();if(e.digits<=3){return r.aDayPeriodsAbbrev[n]}else if(e.digits===4){return r.aDayPeriodsWide[n]}else{return r.aDayPeriodsNarrow[n]}},parse:function(e,t,a,r,n){var i,o,s,l,u,f,d=[a.aDayPeriodsWide,a.aDayPeriodsAbbrev,a.aDayPeriodsNarrow];i=/[aApP](?:\\.)?[\\x20\\xA0]?[mM](?:\\.)?/;u=e.match(i);o=u&&u.index===0;function c(e){return e.replace(/[\\x20\\xA0]/g,\"\").replace(/\\./g,\"\")}if(o){e=c(e)}for(l=0;l<d.length;l+=1){f=d[l].map(e=>p.normalize(e));if(o){f=f.map(c)}s=T.findEntry(e,f,a.oLocaleData.sCLDRLocaleId);if(s.index!==-1){return{pm:s.index===1,length:o?u[0].length:s.length}}}return{valid:false}}}),B:y._createPatternSymbol({name:\"flexibleDayPeriod\",format:function(e,t,a,r){var n=r.aFormatArray.some(function(e){return\"hHKk\".includes(e.symbol)}),i=r.oLocaleData.getFlexibleDayPeriodOfTime(t.getUTCHours(),t.getUTCMinutes());if(n){if(e.digits<=3){return r.oFlexibleDayPeriodsAbbrev[i]}if(e.digits===4){return r.oFlexibleDayPeriodsWide[i]}return r.oFlexibleDayPeriodsNarrow[i]}if(e.digits<=3){return r.oFlexibleDayPeriodsAbbrevSt[i]}if(e.digits===4){return r.oFlexibleDayPeriodsWideSt[i]}return r.oFlexibleDayPeriodsNarrowSt[i]},parse:function(e,t,a,r){var n,i,o,s=a.aFormatArray.some(function(e){return\"hHKk\".includes(e.symbol)}),l=[a.oFlexibleDayPeriodsWide,a.oFlexibleDayPeriodsAbbrev,a.oFlexibleDayPeriodsNarrow];if(s){for(n=0;n<l.length;n++){o=l[n];i=T.findEntry(e,Object.values(o),a.oLocaleData.sCLDRLocaleId);if(i.index!==-1){return{flexDayPeriod:Object.keys(o)[i.index],length:i.length}}}}return{valid:false}}}),H:y._createPatternSymbol({name:\"hour0_23\",format:function(e,t){var a=t.getUTCHours();return String(a).padStart(e.digits,\"0\")},parse:function(e,t,a,r){var n=T.findNumbers(e,Math.max(t.digits,2)),i=parseInt(n),o=n===\"\"||r.exactLength&&n.length<2,s=T.checkValid(t.type,o,a);if(r.strict&&i>23){s=false}return{hour:i,length:n.length,valid:s}},isNumeric:true}),k:y._createPatternSymbol({name:\"hour1_24\",format:function(e,t){var a=t.getUTCHours();var r=a===0?\"24\":String(a);return r.padStart(e.digits,\"0\")},parse:function(e,t,a,r){var n=T.findNumbers(e,Math.max(t.digits,2)),i=parseInt(n),o=n===\"\"||r.exactLength&&n.length<2,s=T.checkValid(t.type,o,a);if(i===24){i=0}if(r.strict&&i>23){s=false}return{hour:i,length:n.length,valid:s}},isNumeric:true}),K:y._createPatternSymbol({name:\"hour0_11\",format:function(e,t){var a=t.getUTCHours();var r=String(a>11?a-12:a);return r.padStart(e.digits,\"0\")},parse:function(e,t,a,r){var n=T.findNumbers(e,Math.max(t.digits,2)),i=parseInt(n),o=n===\"\"||r.exactLength&&n.length<2,s=T.checkValid(t.type,o,a);if(r.strict&&i>11){s=false}return{hour:i,length:n.length,valid:s}},isNumeric:true}),h:y._createPatternSymbol({name:\"hour1_12\",format:function(e,t){var a=t.getUTCHours();var r;if(a>12){r=String(a-12)}else if(a===0){r=\"12\"}else{r=String(a)}return r.padStart(e.digits,\"0\")},parse:function(e,t,a,r){var n=r.dateValue.pm,i=T.findNumbers(e,Math.max(t.digits,2)),o=parseInt(i),s=i===\"\"||r.exactLength&&i.length<2,l=T.checkValid(t.type,s,a);if(o===12){o=0;n=n===undefined?true:n}if(r.strict&&o>11){l=false}return{hour:o,length:i.length,pm:n,valid:l}},isNumeric:true}),m:y._createPatternSymbol({name:\"minute\",format:function(e,t){var a=t.getUTCMinutes();return String(a).padStart(e.digits,\"0\")},parse:function(e,t,a,r){var n=T.findNumbers(e,Math.max(t.digits,2)),i=parseInt(n),o=n===\"\"||r.exactLength&&n.length<2,s=T.checkValid(t.type,o,a);if(r.strict&&i>59){s=false}return{length:n.length,minute:i,valid:s}},isNumeric:true}),s:y._createPatternSymbol({name:\"second\",format:function(e,t){var a=t.getUTCSeconds();return String(a).padStart(e.digits,\"0\")},parse:function(e,t,a,r){var n=Math.max(t.digits,2),i=T.findNumbers(e,n),o=i===\"\"||r.exactLength&&i.length<n,s=parseInt(i),l=T.checkValid(t.type,o,a);if(r.strict&&s>59){l=false}return{length:i.length,second:s,valid:l}},isNumeric:true}),S:y._createPatternSymbol({name:\"fractionalsecond\",format:function(e,t){var a=t.getUTCMilliseconds();var r=String(a);var n=r.padStart(3,\"0\");n=n.substr(0,e.digits);n=n.padEnd(e.digits,\"0\");return n},parse:function(e,t,a,r){var n=T.findNumbers(e,t.digits),i=n.length,o=r.exactLength&&i<t.digits;n=n.substr(0,3);n=n.padEnd(3,\"0\");var s=parseInt(n);return{length:i,millisecond:s,valid:T.checkValid(t.type,o,a)}},isNumeric:true}),z:y._createPatternSymbol({name:\"timezoneGeneral\",format:function(e,t,a,r,n){if(e.digits>3&&t.getTimezoneLong&&t.getTimezoneLong()){return t.getTimezoneLong()}else if(t.getTimezoneShort&&t.getTimezoneShort()){return t.getTimezoneShort()}var o=i.calculateOffset(t,n);var s=\"GMT\";var l=Math.abs(o/60);var u=o>0;var f=Math.floor(l/60);var d=Math.floor(l%60);if(!a&&l!==0){s+=u?\"-\":\"+\";s+=String(f).padStart(2,\"0\");s+=\":\";s+=String(d).padStart(2,\"0\")}else{s+=\"Z\"}return s},parse:function(e,t,a,r){var n=0;var i;var o=e.substring(0,3);if(o===\"GMT\"||o===\"UTC\"){n=3}else if(e.substring(0,2)===\"UT\"){n=2}else if(e.charAt(0)===\"Z\"){n=1;i=0}else{return{error:\"cannot be parsed correctly by sap.ui.core.format.DateFormat: The given timezone is not supported!\"}}if(e.charAt(0)!==\"Z\"){var s=T.parseTZ(e.substr(n),true);n+=s.length;i=s.tzDiff}return{length:n,tzDiff:i}}}),Z:y._createPatternSymbol({name:\"timezoneRFC822\",format:function(e,t,a,r,n){var o=i.calculateOffset(t,n);var s=Math.abs(o/60);var l=o>0;var u=Math.floor(s/60);var f=Math.floor(s%60);var d=\"\";if(!a){d+=l?\"-\":\"+\";d+=String(u).padStart(2,\"0\");d+=String(f).padStart(2,\"0\")}return d},parse:function(e,t,a,r){return T.parseTZ(e,false)}}),X:y._createPatternSymbol({name:\"timezoneISO8601\",format:function(e,t,a,r,n){var o=i.calculateOffset(t,n);var s=Math.abs(o/60);var l=o>0;var u=Math.floor(s/60);var f=Math.floor(s%60);var d=\"\";if(!a&&s!==0){d+=l?\"-\":\"+\";d+=String(u).padStart(2,\"0\");if(e.digits>1||f>0){if(e.digits===3||e.digits===5){d+=\":\"}d+=String(f).padStart(2,\"0\")}}else{d+=\"Z\"}return d},parse:function(e,t,a,r){if(e.charAt(0)===\"Z\"){return{length:1,tzDiff:0}}else{return T.parseTZ(e,t.digits===3||t.digits===5)}}}),V:y._createPatternSymbol({name:\"timezoneID\",format:function(e,t,a,r,n){if(!a&&e.digits===2){return r.oLocaleData.getTimezoneTranslations()[n]||n}return\"\"},parse:function(e,t,a,r,n){var o={timezone:\"\",length:0};if(t.digits===2){var s=a.oLocaleData.getTimezoneTranslations();n=i.getABAPTimezone(n);if(e===s[n]){return{timezone:n,length:e.length}}var l=Object.values(s);var u=T.findEntry(e,l,a.oLocaleData.sCLDRLocaleId);if(u.index!==-1){return{timezone:Object.keys(s)[u.index],length:u.length}}var f=\"\";for(var d=e.length;d>0;d-=1){f=e.slice(0,d);if(i.isValidTimezone(f)){o.timezone=i.getABAPTimezone(f);o.length=f.length;break}}}return o}})};y.prototype._format=function(e,t,a){if(this.oFormatOptions.relative){var r=this.formatRelative(e,t,this.oFormatOptions.relativeRange,a);if(r){return r}}var n=this.oFormatOptions.calendarType;var i=g.getInstance(e,n);var o=[],s,l,u;for(var f=0;f<this.aFormatArray.length;f++){s=this.aFormatArray[f];u=s.symbol||\"\";o.push(this.oSymbols[u].format(s,i,t,this,a))}l=o.join(\"\");if(c.collectOriginInfo()){l=new String(l);l.originInfo={source:\"Common Locale Data Repository\",locale:this.oLocale.toString(),style:this.oFormatOptions.style,pattern:this.oFormatOptions.pattern}}return l};y.prototype.format=function(t,n){var o;if(this.type===v.DATETIME_WITH_TIMEZONE){o=n;n=false;D(o);o=i.getABAPTimezone(o);if(o&&!i.isValidTimezone(o)){e.error(\"The given timezone isn't valid.\");return\"\"}}var s=this.oFormatOptions.calendarType,l;if(n===undefined){n=this.oFormatOptions.UTC}o=o||a.getTimezone();if(Array.isArray(t)){if(!this.oFormatOptions.interval){e.error(\"Non-interval DateFormat can't format more than one date instance.\");return\"\"}if(t.length!==2){e.error(\"Interval DateFormat can only format with 2 date instances but \"+t.length+\" is given.\");return\"\"}t=t.map(function(e){return O(e,o,n)});if(this.oFormatOptions.singleIntervalValue){if(t[0]===null){e.error(\"First date instance which is passed to the interval DateFormat shouldn't be null.\");return\"\"}if(t[1]===null){l=this._format(t[0],n,o)}}if(l===undefined){if(!t.every(P)){e.error(\"At least one date instance which is passed to the interval DateFormat isn't valid.\");return\"\"}l=this._formatInterval(t,n)}}else{if(!P(t)){const a=t===undefined||t===null;if(a&&this.type===v.DATETIME_WITH_TIMEZONE&&this.oFormatOptions.pattern.includes(\"VV\")){return this.oLocaleData.getTimezoneTranslations()[o]||o}e.error(\"The given date instance isn't valid.\");return\"\"}if(this.oFormatOptions.interval){e.error(\"Interval DateFormat expects an array with two dates for the first argument but only one date is given.\");return\"\"}t=O(t,o,n);l=this._format(t,n,o)}if(s===r.Japanese&&this.oLocale.getLanguage()===\"ja\"){l=l.replace(/(^|\\D)1\\u5e74/g,\"$1元年\")}return l};y.prototype._useCustomIntervalDelimiter=function(e){var t;if(!this.oFormatOptions.intervalDelimiter){return false}if(this.oFormatOptions.format){t=this.oLocaleData._parseSkeletonFormat(this.oFormatOptions.format);return t.some(function(t){return e[t.group]})}return true};y.prototype._formatInterval=function(e,t){var a,r,n,i,o=[],s=this.oFormatOptions.calendarType,l=[],u=g.getInstance(e[0],s),f=g.getInstance(e[1],s),d=this._getDiffFields([u,f]);if(!d){return this._format(e[0],t)}if(this._useCustomIntervalDelimiter(d)){n=this.intervalPatterns[0]}else if(this.oFormatOptions.format){n=this.oLocaleData.getCustomIntervalPattern(this.oFormatOptions.format,d,s)}else{n=this.oLocaleData.getCombinedIntervalPattern(this.oFormatOptions.pattern,s)}l=this.parseCldrDatePattern(n);a=u;for(var c=0;c<l.length;c++){r=l[c];i=r.symbol||\"\";if(r.repeat){a=f}o.push(this.oSymbols[i].format(r,a,t,this))}return o.join(\"\")};var S={Era:\"Era\",FullYear:\"Year\",Quarter:\"Quarter\",Month:\"Month\",Week:\"Week\",Date:\"Day\",DayPeriod:\"DayPeriod\",Hours:\"Hour\",Minutes:\"Minute\",Seconds:\"Second\"};y.prototype._getDiffFields=function(e){var t=false,a={};this.aIntervalCompareFields.forEach(function(r){var n=\"getUTC\",i=n+r,o=S[r],l=e[0][i].apply(e[0]),u=e[1][i].apply(e[1]);if(!s(l,u)){t=true;a[o]=true}});if(t){return a}return null};y.prototype._parse=function(e,t,a,r,n){var i,o,s,u,f,d,c,h={valid:true,lastTimezonePatternSymbol:\"\"},m=0,g={formatArray:t,dateValue:h,strict:r},p=this;function y(e){return p.oSymbols[e.symbol||\"\"]}function v(e){return!!e&&y(e).isNumeric(e.digits)}for(var b=0;b<t.length;b++){c=e.substr(m);s=t[b];f=t[b-1];o=t[b+1];g.index=b;g.exactLength=v(s)&&(v(f)||v(o));d=y(s).parse(c,s,this,g,n)||{};if(d.tzDiff!==undefined||d.timezone){d.lastTimezonePatternSymbol=s.symbol}h=l(h,d);if(d.valid===false){break}m+=d.length||0}h.index=m;u=h.pm;if(h.flexDayPeriod&&h.hour*60+(h.minute||0)<720){i=this.oLocaleData.getFlexibleDayPeriodOfTime(h.hour+12,h.minute||0);u=h.flexDayPeriod===i}if(u){h.hour+=12}if(h.dayNumberOfWeek===undefined&&h.dayOfWeek!==undefined){h.dayNumberOfWeek=this._adaptDayOfWeek(h.dayOfWeek)}if(h.quarter!==undefined&&h.month===undefined&&h.day===undefined){h.month=3*h.quarter;h.day=1}return h};y.prototype._parseInterval=function(e,t,a,r,n){var i,o,s;this.intervalPatterns.some(function(t){var l=this.parseCldrDatePattern(t);o=undefined;for(var u=0;u<l.length;u++){if(l[u].repeat){o=u;break}}if(o===undefined){s=this._parse(e,l,a,r,n);if(s.index===0||s.index<e.length){s.valid=false}if(s.valid===false){return}i=[s,s];return true}else{i=[];s=this._parse(e,l.slice(0,o),a,r,n);if(s.valid===false){return}i.push(s);var f=s.index;s=this._parse(e.substring(f),l.slice(o),a,r,n);if(s.index===0||s.index+f<e.length){s.valid=false}if(s.valid===false){return}i.push(s);return true}}.bind(this));return i};function F(e){if(e.calendarWeekNumbering){return e.calendarWeekNumbering}else if(e.firstDayOfWeek!==undefined&&e.minimalDaysInFirstWeek!==undefined){return{firstDayOfWeek:e.firstDayOfWeek,minimalDaysInFirstWeek:e.minimalDaysInFirstWeek}}return undefined}var O=function(e,t,a){if(!a&&P(e)){return i.convertToTimezone(e,t)}return e};var w=function(e,t,a,r,n,o,s){if(!e.valid){return null}var l,u=typeof e.year===\"number\"?e.year:1970;l=g.getInstance(new Date(0),t);l.setUTCEra(e.era||g.getCurrentEra(t));l.setUTCFullYear(u,e.month||0,e.day||1);l.setUTCHours(e.hour||0);l.setUTCMinutes(e.minute||0);l.setUTCSeconds(e.second||0);l.setUTCMilliseconds(e.millisecond||0);if(r&&(e.day||1)!==l.getUTCDate()){return null}if(e.week!==undefined&&(e.month===undefined||e.day===undefined)){l.setUTCWeek({year:e.weekYear||e.year,week:e.week},s,F(o));if(e.dayNumberOfWeek!==undefined){l.setUTCDate(l.getUTCDate()+e.dayNumberOfWeek-1)}}l=l.getJSDate();if(!a&&(e.lastTimezonePatternSymbol===\"V\"&&e.timezone||e.tzDiff===undefined)){if(e.timezone){n=e.timezone}if(n){e.tzDiff=i.calculateOffset(l,n)}}if(e.tzDiff){l.setUTCSeconds(l.getUTCSeconds()+e.tzDiff)}return l};function k(e,t){if(e===t){return e}var a={};Object.keys(e).forEach(function(t){a[t]=e[t]});Object.keys(t).forEach(function(e){if(!a.hasOwnProperty(e)){a[e]=t[e]}});return a}function I(e,t){if(e.getTime()>t.getTime()){return false}return true}function P(e){return e&&typeof e.getTime===\"function\"&&!isNaN(e.getTime())}y.prototype.parse=function(t,n,o){var s=this.oFormatOptions.showDate===undefined||this.oFormatOptions.showDate;var l=this.oFormatOptions.showTime===undefined||this.oFormatOptions.showTime;if(this.type===v.DATETIME_WITH_TIMEZONE&&(s&&!l||!s&&l)){throw new TypeError(\"The input can only be parsed back to date if both date and time are supplied.\")}var u;if(n===undefined&&this.type!==v.DATETIME_WITH_TIMEZONE){n=this.oFormatOptions.UTC}var f=n;if(this.type===v.DATETIME_WITH_TIMEZONE){u=n;n=false;D(u);if(u&&!i.isValidTimezone(u)){e.error(\"The given timezone isn't valid.\");return null}}t=t==null?\"\":String(t).trim();t=p.normalize(t);var d;var c=this.oFormatOptions.calendarType;u=u||a.getTimezone();if(o===undefined){o=this.oFormatOptions.strictParsing}if(c===r.Japanese&&this.oLocale.getLanguage()===\"ja\"){t=t.replace(/\\u5143\\u5e74/g,\"1年\")}if(!this.oFormatOptions.interval){var h=this.parseRelative(t,n);if(h){return h}d=this._parse(t,this.aFormatArray,n,o,u);if(d.index===0||d.index<t.length){d.valid=false}h=w(d,c,n,o,u,this.oFormatOptions,this.oLocale);if(h){if(this.type===v.DATETIME_WITH_TIMEZONE){var m=this.oFormatOptions.showTimezone===undefined||this.oFormatOptions.showTimezone;if(!m&&s&&l){return[h,undefined]}else if(m&&!s&&!l){return[undefined,d.timezone]}return[h,d.timezone||undefined]}return h}}else{var g=this._parseInterval(t,c,n,o,u);var y,b;if(g&&g.length===2){var T=k(g[0],g[1]);var S=k(g[1],g[0]);y=w(T,c,n,o,u,this.oFormatOptions,this.oLocale);b=w(S,c,n,o,u,this.oFormatOptions,this.oLocale);if(y&&b){if(this.oFormatOptions.singleIntervalValue&&y.getTime()===b.getTime()){return[y,null]}var F=I(y,b);if(o&&!F){e.error(\"StrictParsing: Invalid date range. The given end date is before the start date.\");return[null,null]}return[y,b]}}}if(this.aFallbackFormats){var O;this.aFallbackFormats.every(function(e){O=e.parse(t,f,o);if(Array.isArray(O)){if(e.type===v.DATETIME_WITH_TIMEZONE){return false}return!(O[0]&&O[1])}else{return!O}});return O}if(!this.oFormatOptions.interval){return null}else{return[null,null]}};y.prototype.parseCldrDatePattern=function(e){if(b[e]){return b[e]}var t=[],a,r=false,n=null,i=\"\",o=\"\",s={},l=false;for(a=0;a<e.length;a++){var u=e.charAt(a),f,d,c;if(r){if(u===\"'\"){d=e.charAt(a-1);c=e.charAt(a-2);f=e.charAt(a+1);if(d===\"'\"&&c!==\"'\"){r=false}else if(f===\"'\"){a+=1}else{r=false;continue}}if(i===\"text\"){n.value+=u}else{n={type:\"text\",value:u};t.push(n);i=\"text\"}}else{if(u===\"'\"){r=true}else if(this.oSymbols[u]){o=this.oSymbols[u].name;if(i===o){n.digits++}else{n={type:o,symbol:u,digits:1};t.push(n);i=o;if(!l){if(s[o]){n.repeat=true;l=true}else{s[o]=true}}}}else{if(i===\"text\"){n.value+=u}else{n={type:\"text\",value:u};t.push(n);i=\"text\"}}}}b[e]=t;return t};y.prototype.parseRelative=function(e,t){var a,r,n,i,o;if(!e){return null}a=this.oLocaleData.getRelativePatterns(this.aRelativeParseScales,this.oFormatOptions.relativeStyle);for(var s=0;s<a.length;s++){r=a[s];n=new RegExp(\"^\\\\s*\"+r.pattern.replace(/\\{0\\}/,\"(\\\\d+)\")+\"\\\\s*$\",\"i\");i=n.exec(e);if(i){if(r.value!==undefined){return l(r.value,r.scale)}else{o=parseInt(i[1]);return l(o*r.sign,r.scale)}}}function l(e,a){var r=m.getInstance();if(t){r.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate());r.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds());switch(a){case\"second\":r.setUTCSeconds(r.getUTCSeconds()+e);break;case\"minute\":r.setUTCMinutes(r.getUTCMinutes()+e);break;case\"hour\":r.setUTCHours(r.getUTCHours()+e);break;case\"day\":r.setUTCDate(r.getUTCDate()+e);break;case\"week\":r.setUTCDate(r.getUTCDate()+e*7);break;case\"month\":r.setUTCMonth(r.getUTCMonth()+e);break;case\"quarter\":r.setUTCMonth(r.getUTCMonth()+e*3);break;case\"year\":r.setUTCFullYear(r.getUTCFullYear()+e);break}}else{switch(a){case\"second\":r.setSeconds(r.getSeconds()+e);break;case\"minute\":r.setMinutes(r.getMinutes()+e);break;case\"hour\":r.setHours(r.getHours()+e);break;case\"day\":r.setDate(r.getDate()+e);break;case\"week\":r.setDate(r.getDate()+e*7);break;case\"month\":r.setMonth(r.getMonth()+e);break;case\"quarter\":r.setMonth(r.getMonth()+e*3);break;case\"year\":r.setFullYear(r.getFullYear()+e);break}}return r}};y.prototype.formatRelative=function(e,t,a,r){var n,i,s,l,u=O(new Date,r),f=this.oFormatOptions.relativeScale||\"day\";s=(e.getTime()-u.getTime())/1e3;if(this.oFormatOptions.relativeScale===\"auto\"){f=this._getScale(s,this.aRelativeScales);f=M(e,u,f,s)}if(!a){a=this._mRanges[f]}if(f===\"year\"||f===\"month\"||f===\"day\"){u=new Date(Date.UTC(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()));n=new Date(0);n.setUTCFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate());e=n}i=this._getDifference(f,[u,e]);if(this.oFormatOptions.relativeScale!==\"auto\"&&(i<a[0]||i>a[1])){return null}l=this.oLocaleData.getRelativePattern(f,i,s>0,this.oFormatOptions.relativeStyle);return o(l,[Math.abs(i)])};y.prototype._mRanges={second:[-60,60],minute:[-60,60],hour:[-24,24],day:[-6,6],week:[-4,4],month:[-12,12],year:[-10,10]};y.prototype._mScales={second:1,minute:60,hour:3600,day:86400,week:604800,month:2592e3,quarter:7776e3,year:31536e3};y.prototype._getScale=function(e,t){var a,r;e=Math.abs(e);for(var n=0;n<t.length;n++){r=t[n];if(e>=this._mScales[r]){a=r;break}}if(!a){a=t[t.length-1]}return a};function M(e,t,a,r){var n=Math.abs(e.getUTCMonth()-t.getUTCMonth());if(a===\"week\"&&n===2){return\"month\"}else if(a===\"week\"&&n===1){if(e.getUTCDate()===t.getUTCDate()||r<0&&e.getUTCDate()<t.getUTCDate()||r>0&&e.getUTCDate()>t.getUTCDate()){return\"month\"}}else if(a===\"month\"&&n===1){if(r>0&&e.getUTCDate()<t.getUTCDate()||r<0&&e.getUTCDate()>t.getUTCDate()){return\"week\"}}return a}function C(e,t){var a,r=[\"FullYear\",\"Month\",\"Date\",\"Hours\",\"Minutes\",\"Seconds\",\"Milliseconds\"],n=new Date(e.getTime());for(var i=t;i<r.length;i++){a=\"setUTC\"+r[t];n[a].apply(n,[0])}return n}var L={year:function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},month:function(e,t){return t.getUTCMonth()-e.getUTCMonth()+this.year(e,t)*12},week:function(e,t,a){var r=a._adaptDayOfWeek(e.getUTCDay());var n=a._adaptDayOfWeek(t.getUTCDay());e=C(e,3);t=C(t,3);return(t.getTime()-e.getTime()-(n-r)*a._mScales.day*1e3)/(a._mScales.week*1e3)},day:function(e,t,a){e=C(e,3);t=C(t,3);return(t.getTime()-e.getTime())/(a._mScales.day*1e3)},hour:function(e,t,a){e=C(e,4);t=C(t,4);return(t.getTime()-e.getTime())/(a._mScales.hour*1e3)},minute:function(e,t,a){e=C(e,5);t=C(t,5);return(t.getTime()-e.getTime())/(a._mScales.minute*1e3)},second:function(e,t,a){e=C(e,6);t=C(t,6);return(t.getTime()-e.getTime())/(a._mScales.second*1e3)}};y.prototype._adaptDayOfWeek=function(e){var t=F(this.oFormatOptions),a;if(typeof t===\"object\"){a=t.firstDayOfWeek}else{a=h.getWeekConfigurationValues(t,this.oLocale).firstDayOfWeek}var r=e-(a-1);if(r<=0){r+=7}return r};y.prototype._getDifference=function(e,t){var a=t[0];var r=t[1];return Math.round(L[e](a,r,this))};y.prototype.getAllowedCharacters=function(e){if(this.oFormatOptions.relative){return\"\"}var t=\"\";var a=false;var r=false;var n;for(var i=0;i<e.length;i++){n=e[i];switch(n.type){case\"text\":if(t.indexOf(n.value)<0){t+=n.value}break;case\"day\":case\"year\":case\"weekYear\":case\"dayNumberOfWeek\":case\"weekInYear\":case\"hour0_23\":case\"hour1_24\":case\"hour0_11\":case\"hour1_12\":case\"minute\":case\"second\":case\"fractionalsecond\":if(!a){t+=\"0123456789\";a=true}break;case\"month\":case\"monthStandalone\":if(n.digits<3){if(!a){t+=\"0123456789\";a=true}}else{r=true}break;default:r=true;break}}if(r){t=\"\"}return t};y.prototype.getPlaceholderText=function(){var e=u.getResourceBundleFor(\"sap.ui.core\");return e.getText(\"date.placeholder\",[this.format.apply(this,this.getSampleValue())])};y.prototype.getSampleValue=function(){var e,t=m.getInstance().getFullYear(),r=this.oFormatOptions.UTC;function n(e,t,a,n,i,o,s){return r?m.getInstance(Date.UTC(e,t,a,n,i,o,s)):m.getInstance(e,t,a,n,i,o,s)}e=n(t,11,31,23,59,58,123);if(this.type===v.DATETIME_WITH_TIMEZONE){return[e,a.getTimezone()]}if(this.oFormatOptions.interval){return[[n(t,11,22,9,12,34,567),e]]}return[e]};return y},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/format/DateFormatTimezoneDisplay\", [],function(){\"use strict\";var e={Show:\"Show\",Hide:\"Hide\",Only:\"Only\"};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/format/FileSizeFormat\", [\"sap/base/i18n/Formatting\",\"sap/ui/base/Object\",\"sap/ui/core/Lib\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/core/format/NumberFormat\"],function(t,e,a,i,r,n){\"use strict\";var o=[{binaryFactor:1,decimalFactor:1,decimalUnit:\"Byte\",binaryUnit:\"Byte\"},{binaryFactor:1,decimalFactor:1,decimalUnit:\"Bytes\",binaryUnit:\"Bytes\"},{binaryFactor:Math.pow(2,10),decimalFactor:1e3,decimalUnit:\"Kilobyte\",binaryUnit:\"Kibibyte\"},{binaryFactor:Math.pow(2,20),decimalFactor:1e6,decimalUnit:\"Megabyte\",binaryUnit:\"Mebibyte\"},{binaryFactor:Math.pow(2,30),decimalFactor:1e9,decimalUnit:\"Gigabyte\",binaryUnit:\"Gibibyte\"},{binaryFactor:Math.pow(2,40),decimalFactor:1e12,decimalUnit:\"Terabyte\",binaryUnit:\"Tebibyte\"},{binaryFactor:Math.pow(2,50),decimalFactor:1e15,decimalUnit:\"Petabyte\",binaryUnit:\"Pebibyte\"},{binaryFactor:Math.pow(2,60),decimalFactor:1e18,decimalUnit:\"Exabyte\",binaryUnit:\"Exbibyte\"},{binaryFactor:Math.pow(2,70),decimalFactor:1e21,decimalUnit:\"Zettabyte\",binaryUnit:\"Zebibyte\"},{binaryFactor:Math.pow(2,80),decimalFactor:1e24,decimalUnit:\"Yottabyte\",binaryUnit:\"Yobibyte\"}];var s=e.extend(\"sap.ui.core.format.FileSizeFormat\",{constructor:function(t){throw new Error}});s.getInstance=function(t,e){return this.createInstance(t,e)};s.createInstance=function(e,o){var s=Object.create(this.prototype);if(e instanceof i){o=e;e=undefined}if(!o){o=new i(t.getLanguageTag())}s.oLocale=o;s.oLocaleData=r.getInstance(o);s.oNumberFormat=n.getFloatInstance(e,o);s.oBundle=a.getResourceBundleFor(\"sap.ui.core\",o.toString());s.bBinary=e?!!e.binaryFilesize:false;return s};s.prototype.format=function(t){var e=null,a;if(typeof t==\"string\"){try{if(/^\\s*[\\+-]?0[xX]/.test(t)){e=parseInt(t,16)}else{e=parseFloat(t,10)}}catch(t){}}else if(typeof t==\"number\"){e=t}if(e===null){return\"NaN\"}a=e;var i=c(e,this.bBinary),r=this.oNumberFormat.format(e/i.factor);if(!i.noSecondRounding){e=this.oNumberFormat.parse(r);if(this.bBinary&&Math.abs(e)>=1024||!this.bBinary&&Math.abs(e)>=1e3){i=c(e*i.factor,this.bBinary);r=this.oNumberFormat.format(a/i.factor)}}return this.oBundle.getText(\"FileSize.\"+i.unit,[r])};s.prototype.parse=function(t){var e,a,i,r;if(!t){return NaN}for(var n=0;n<o.length;n++){e=o[n];a=b(this.oBundle,e.decimalUnit,t);if(a){r=false;break}else{a=b(this.oBundle,e.binaryUnit,t);if(a){r=true;break}}}if(!a){a=t;r=false;e=o[0]}i=this.oNumberFormat.parse(a);return i*(r?e.binaryFactor:e.decimalFactor)};function c(t,e){var a=Math.abs(t),i,r;for(var n=o.length-1;n>=2;n--){i=o[n];r=e?i.binaryFactor:i.decimalFactor;if(a>=r){return{factor:r,unit:e?i.binaryUnit:i.decimalUnit,noSecondRounding:n==o.length-1}}}return{factor:1,unit:o[a>=2?1:0].decimalUnit}}function b(t,e,a){var i=t.getText(\"FileSize.\"+e),r;if(i.startsWith(\"{0}\")){r=i.substr(3,i.length);if(typeof r==\"string\"&&r!=\"\"?a.toLowerCase().endsWith(r.toLowerCase()):false){return a.substr(0,a.length-r.length)}}else if(i.endsWith(\"{0}\")){r=i.substr(0,i.length-3);if(typeof r==\"string\"&&r!=\"\"?a.toLowerCase().startsWith(r.toLowerCase()):false){return a.substr(r.length,a.length)}}else{r=i.split(\"{0}\");if(r.length==2&&(typeof r[0]==\"string\"&&r[0]!=\"\"?a.toLowerCase().startsWith(r[0].toLowerCase()):false)&&(typeof r[1]==\"string\"&&r[1]!=\"\"?a.toLowerCase().endsWith(r[1].toLowerCase()):false)){return a.substr(r[0].length,a.length-r[1].length)}}return null}return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/format/FormatUtils\", [],function(){\"use strict\";const u={};const e=/[\\u061c\\u200e\\u200f\\u202a\\u202b\\u202c]/g;const n=/\\s/g;u.normalize=function(u,c){return u.replace(e,\"\").replace(n,c?\"\":\" \")};return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/format/ListFormat\", [\"sap/base/i18n/Formatting\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/base/Log\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\"],function(t,e,r,a,n,o){\"use strict\";var i=function(){throw new Error};i.oDefaultListFormat={type:\"standard\",style:\"wide\"};i.getInstance=function(t,e){return this.createInstance(t,e)};i.createInstance=function(a,o){var i=Object.create(this.prototype);if(a instanceof e){o=a;a=undefined}if(!o){o=new e(t.getLanguageTag())}i.oLocale=o;i.oLocaleData=r.getInstance(o);i.oOriginalFormatOptions=n({},this.oDefaultListFormat,a);return i};i.prototype.format=function(t){if(!Array.isArray(t)){a.error(\"ListFormat can only format with an array given.\");return\"\"}var e=this.oOriginalFormatOptions,r,n,i,s,l,p,c=[].concat(t),f,u;r=this.oLocaleData.getListFormat(e.type,e.style);if(o(r)){a.error(\"No list pattern exists for the provided format options (type, style).\");return\"\"}function g(t,e){var r=t[0];for(var a=1;a<t.length;a++){r=e.replace(\"{0}\",r);r=r.replace(\"{1}\",t[a])}return r}if(r[c.length]){n=r[c.length];for(var h=0;h<c.length;h++){n=n.replace(\"{\"+h+\"}\",c[h])}i=n}else if(c.length<2){i=c.toString()}else{f=c.shift();p=c.pop();u=c;s=r.start.replace(\"{0}\",f);p=r.end.replace(\"{1}\",p);l=g(u,r.middle);i=s.replace(\"{1}\",p.replace(\"{0}\",l))}return i};i.prototype.parse=function(t){if(typeof t!==\"string\"){a.error(\"ListFormat can only parse a String.\");return[]}var e=[],r=[],n=[],s=[],l=[],p=this.oOriginalFormatOptions,c,f=/\\{[01]\\}/g,u,g,h,y,m;if(!p){p=i.oDefaultListFormat}c=this.oLocaleData.getListFormat(p.type,p.style);if(o(c)){a.error(\"No list pattern exists for the provided format options (type, style).\");return[]}h=c.start.replace(f,\"\");y=c.middle.replace(f,\"\");m=c.end.replace(f,\"\");r=t.split(h);e=e.concat(r.shift());s=r.join(h).split(m);u=s.pop();n=s.join(m).split(y);e=e.concat(n);e.push(u);if(r.length<1||n.length<1||s.length<1){g=c[\"2\"].replace(f,\"\");l=t.split(g);if(l.length===2){return l}if(t){return[t]}else{return[]}}return e};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/format/NumberFormat\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/ui/base/Object\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/core/Supportability\",\"sap/ui/core/format/FormatUtils\",\"sap/base/Log\",\"sap/base/assert\",\"sap/base/util/extend\"],function(e,t,r,i,n,a,o,s,u,c){\"use strict\";var l=r.extend(\"sap.ui.core.format.NumberFormat\",{constructor:function(e){throw new Error}});const g=/[0#.,]+/;const f=/\\s/g;const m=/\\p{L}$/u;const p=/^\\p{L}/u;const d=/([0#.,]*)([^0#.,]*)(¤)([^0#.,]*)([0#.,]*)/;const h=/^(-?)0+(\\d)/;const y=/0+(\\.0+)?/;const C=/^0+$/;const b=/^-(0(?:.0+)?)$/;const S=/0+$/;const F=/[\\u061c\\u200e\\u200f\\u202a\\u202b\\u202c]/g;const O=/\\u200e/;var D=function(e,t,r){var i=U(e);return new RegExp(\"^\\\\d+\"+\"(?:\"+i+\"?\"+\"\\\\d{\"+t+\"}\"+\")*\"+\"\"+i+\"?\"+\"\\\\d{\"+r+\"}\"+\"$\")};var N={INTEGER:\"integer\",FLOAT:\"float\",CURRENCY:\"currency\",UNIT:\"unit\",PERCENT:\"percent\"};var R={FLOOR:\"FLOOR\",CEILING:\"CEILING\",TOWARDS_ZERO:\"TOWARDS_ZERO\",AWAY_FROM_ZERO:\"AWAY_FROM_ZERO\",HALF_FLOOR:\"HALF_FLOOR\",HALF_CEILING:\"HALF_CEILING\",HALF_TOWARDS_ZERO:\"HALF_TOWARDS_ZERO\",HALF_AWAY_FROM_ZERO:\"HALF_AWAY_FROM_ZERO\"};l.add=function(e,t){const r=e.split(\".\");let i=r[0];const n=r[1];const a=i[0]===\"-\";if(a){i=i.slice(1);t=-t}const o=i.split(\"\").map(Number);const s=o.length-1;o[s]+=t;for(let e=s;e>=0;e-=1){if(o[e]>=10){o[e]=o[e]%10;if(e===0){o.unshift(1);break}o[e-1]+=1}else if(o[e]<0&&e>0){o[e]=10+o[e];o[e-1]-=1;if(e===1&&o[0]===0){o.shift();break}}else{break}}if(a){o[0]=-o[0]}let u=o.join(\"\");if(!n){return u}u=u===\"0\"&&a?\"-0\":u;const c=u[0]===\"-\"?\"-\":\"\";if(a===!!c){return u+\".\"+n}const l=n.split(\"\").map(Number);for(let e=l.length-1;e>=0;e-=1){l[e]=10-l[e];if(e>0){l[e-1]+=1}}return c+(Math.abs(o[0])-1)+\".\"+l.join(\"\")};l.getMaximumDecimals=function({decimals:e,maxFractionDigits:t}){if(t>=0&&e>0&&t<e){return t}return e};function L(e){if(typeof e===\"number\"){return Math.ceil(e)}const[t,r=\"0\"]=e.split(\".\");return C.test(r)||t[0]===\"-\"?t:l.add(t,1)}function v(e){if(typeof e===\"number\"){return Math.floor(e)}const[t,r=\"0\"]=e.split(\".\");return C.test(r)||t[0]!==\"-\"?t:l.add(t,-1)}function w(e,t){if(typeof e===\"number\"){return t?e+.5:e-.5}e=l._shiftDecimalPoint(e,1);e=l.add(e,t?5:-5);return l._shiftDecimalPoint(e,-1)}const I={[R.FLOOR]:v,[R.CEILING]:L,[R.TOWARDS_ZERO]:e=>e>0?v(e):L(e),[R.AWAY_FROM_ZERO]:e=>e>0?L(e):v(e),[R.HALF_TOWARDS_ZERO]:e=>{const t=e>0;e=w(e,!t);return t?L(e):v(e)},[R.HALF_AWAY_FROM_ZERO]:e=>{const t=e>0;e=w(e,t);return t?v(e):L(e)},[R.HALF_FLOOR]:e=>L(w(e,false)),[R.HALF_CEILING]:e=>v(w(e,true))};l.RoundingMode=R;l.oDefaultIntegerFormat={minIntegerDigits:1,maxIntegerDigits:99,minFractionDigits:0,maxFractionDigits:0,strictGroupingValidation:false,groupingEnabled:false,groupingSize:3,groupingSeparator:\",\",decimalSeparator:\".\",plusSign:\"+\",minusSign:\"-\",isInteger:true,type:N.INTEGER,showMeasure:false,style:\"standard\",showNumber:true,parseAsString:false,preserveDecimals:false,roundingMode:l.RoundingMode.TOWARDS_ZERO,emptyString:NaN,showScale:true};l.oDefaultFloatFormat={minIntegerDigits:1,maxIntegerDigits:99,minFractionDigits:0,maxFractionDigits:99,strictGroupingValidation:false,groupingEnabled:true,groupingSize:3,groupingSeparator:\",\",decimalSeparator:\".\",plusSign:\"+\",minusSign:\"-\",isInteger:false,type:N.FLOAT,showMeasure:false,style:\"standard\",showNumber:true,parseAsString:false,preserveDecimals:false,roundingMode:l.RoundingMode.HALF_AWAY_FROM_ZERO,emptyString:NaN,showScale:true};l.oDefaultPercentFormat={minIntegerDigits:1,maxIntegerDigits:99,minFractionDigits:0,maxFractionDigits:99,strictGroupingValidation:false,groupingEnabled:true,groupingSize:3,groupingSeparator:\",\",decimalSeparator:\".\",plusSign:\"+\",minusSign:\"-\",percentSign:\"%\",isInteger:false,type:N.PERCENT,showMeasure:false,style:\"standard\",showNumber:true,parseAsString:false,preserveDecimals:false,roundingMode:l.RoundingMode.HALF_AWAY_FROM_ZERO,emptyString:NaN,showScale:true};l.oDefaultCurrencyFormat={minIntegerDigits:1,maxIntegerDigits:99,strictGroupingValidation:false,groupingEnabled:true,groupingSize:3,groupingSeparator:\",\",decimalSeparator:\".\",plusSign:\"+\",minusSign:\"-\",isInteger:false,type:N.CURRENCY,showMeasure:true,currencyCode:true,currencyContext:\"standard\",style:\"standard\",showNumber:true,customCurrencies:undefined,parseAsString:false,preserveDecimals:false,roundingMode:l.RoundingMode.HALF_AWAY_FROM_ZERO,emptyString:NaN,showScale:true,ignorePrecision:true};l.oDefaultUnitFormat={minIntegerDigits:1,maxIntegerDigits:99,strictGroupingValidation:false,groupingEnabled:true,groupingSize:3,groupingSeparator:\",\",decimalSeparator:\".\",plusSign:\"+\",minusSign:\"-\",isInteger:false,type:N.UNIT,showMeasure:true,style:\"standard\",showNumber:true,customUnits:undefined,allowedUnits:undefined,parseAsString:false,preserveDecimals:false,roundingMode:l.RoundingMode.HALF_AWAY_FROM_ZERO,emptyString:NaN,showScale:true};l.checkDecimalPadding=function(e,t=true,r=false){const i=e?.decimalPadding;if(!t&&i!==undefined){throw new Error(\"Unsupported format option: 'decimalPadding' cannot be used with an integer or percent\"+\" instance of sap.ui.core.format.NumberFormat\")}if(r&&i&&e?.showMeasure!==false){throw new Error(\"The format option 'decimalPadding' can only be used if the format option\"+\" 'showMeasure' is set to false\")}if(i<1){throw new Error(\"The format option 'decimalPadding' must have a value greater than 0\")}if(i>0&&(e?.style===\"short\"||e?.style===\"long\")){throw new Error(\"The format option 'decimalPadding' can only be used if the format option\"+\" 'style' is not set to 'short' or 'long'\")}};l.getInstance=function(e,t){return this.getFloatInstance(e,t)};l.getFloatInstance=function(e,t){l.checkDecimalPadding(e);const r=l.createInstance(e,t);const i=r.getLocaleFormatOptions(N.FLOAT);r.oFormatOptions=c({},this.oDefaultFloatFormat,i,r.oOriginalFormatOptions);r.checkGroupingFormatOptions();return r};l.getIntegerInstance=function(e,t){l.checkDecimalPadding(e,false);const r=l.createInstance(e,t);const i=r.getLocaleFormatOptions(N.INTEGER);r.oFormatOptions=c({},l.oDefaultIntegerFormat,i,r.oOriginalFormatOptions);r.checkGroupingFormatOptions();return r};l.getCurrencyInstance=function(e,t){l.checkDecimalPadding(e,true,true);const r=l.createInstance(e,t);const i=r.getLocaleFormatOptions(N.CURRENCY);r.oFormatOptions=c({},l.oDefaultCurrencyFormat,i,r.oOriginalFormatOptions);r.oFormatOptions.trailingCurrencyCode=r.showTrailingCurrencyCode();r._defineCustomCurrencySymbols();if(r.oFormatOptions.style===\"long\"){r.oFormatOptions.style=\"short\"}r.checkGroupingFormatOptions();return r};l.getUnitInstance=function(e,t){l.checkDecimalPadding(e,true,true);const r=l.createInstance(e,t);const i=r.getLocaleFormatOptions(N.UNIT);r.oFormatOptions=c({},l.oDefaultUnitFormat,i,r.oOriginalFormatOptions);r.checkGroupingFormatOptions();return r};l.getPercentInstance=function(e,t){l.checkDecimalPadding(e,false);const r=l.createInstance(e,t);const i=r.getLocaleFormatOptions(N.PERCENT);r.oFormatOptions=c({},l.oDefaultPercentFormat,i,r.oOriginalFormatOptions);r.checkGroupingFormatOptions();return r};l.createInstance=function(t,r){var a=Object.create(this.prototype),o;if(t instanceof i){r=t;t=undefined}if(!r){r=new i(e.getLanguageTag())}a.oLocale=r;a.oLocaleData=n.getInstance(r);a.oOriginalFormatOptions=t;if(t){if(t.pattern){o=this.parseNumberPattern(t.pattern);Object.keys(o).forEach(function(e){t[e]=o[e]})}if(t.emptyString!==undefined){u(t.emptyString===\"\"||t.emptyString===0||t.emptyString===null||t.emptyString!==t.emptyString,\"The format option 'emptyString' must be either '', 0, null, or NaN\")}}return a};l.getDefaultUnitPattern=function(e){return\"{0} \"+e};l.prototype.getLocaleFormatOptions=function(e){const t=this.oLocaleData;let r;let i;switch(e){case N.PERCENT:r=t.getPercentPattern();break;case N.CURRENCY:i=this.oOriginalFormatOptions?.currencyContext||l.oDefaultCurrencyFormat.style;if(this.showTrailingCurrencyCode()){i=\"sap-\"+i}r=t.getCurrencyPattern(i);break;default:r=t.getDecimalPattern()}const n=l.parseNumberPattern(r);n.plusSign=t.getNumberSymbol(\"plusSign\");n.minusSign=t.getNumberSymbol(\"minusSign\");n.decimalSeparator=t.getNumberSymbol(\"decimal\");n.groupingSeparator=t.getNumberSymbol(\"group\");n.percentSign=t.getNumberSymbol(\"percentSign\");n.pattern=r;switch(e){case N.INTEGER:n.minFractionDigits=0;n.maxFractionDigits=0;n.groupingEnabled=false;break;case N.CURRENCY:n.minFractionDigits=undefined;n.maxFractionDigits=undefined;break;default:n.minFractionDigits=0;n.maxFractionDigits=99}return n};l.parseNumberPattern=function(e){var t=0,r=0,i=0,n=false,a=0,o=0,s=e.indexOf(\";\"),u={Integer:0,Fraction:1},c=u.Integer;if(s!==-1){e=e.substring(0,s)}for(var l=0;l<e.length;l++){var g=e[l];switch(g){case\",\":if(n){a=o;o=0}n=true;break;case\".\":c=u.Fraction;break;case\"0\":if(c===u.Integer){t++;if(n){o++}}else{r++;i++}break;case\"#\":if(c===u.Integer){if(n){o++}}else{i++}break}}if(!a){a=o;o=0}return{minIntegerDigits:t,minFractionDigits:r,maxFractionDigits:i,groupingEnabled:n,groupingSize:a,groupingBaseSize:o}};l.prototype._defineCustomCurrencySymbols=function(){var e=this.oFormatOptions;var t=this.oLocaleData.getCurrencySymbols();var r=function(e,t){var r=[];var i;for(var n in e){i=e[n];if(r.indexOf(i)===-1){r.push(i)}else if(i!==undefined){t[i]=true;s.error(\"Symbol '\"+i+\"' is defined multiple times in custom currencies.\",undefined,\"NumberFormat\")}}};if(e.customCurrencies&&typeof e.customCurrencies===\"object\"){this.mKnownCurrencySymbols={};this.mKnownCurrencyCodes={};Object.keys(e.customCurrencies).forEach(function(r){if(e.customCurrencies[r].symbol){this.mKnownCurrencySymbols[r]=e.customCurrencies[r].symbol}else{var i=e.customCurrencies[r].isoCode;if(i){this.mKnownCurrencySymbols[r]=t[i]}}this.mKnownCurrencyCodes[r]=r}.bind(this))}else{this.mKnownCurrencySymbols=t;this.mKnownCurrencyCodes=this.oLocaleData.getCustomCurrencyCodes()}this.mDuplicatedSymbols={};r(this.mKnownCurrencySymbols,this.mDuplicatedSymbols)};function E(e,t){if(e.indexOf(\".\")>=0&&e.endsWith(\"0\")){var r=e.length-e.lastIndexOf(\".\")-1;var i=r-t;if(i>0){while(e.endsWith(\"0\")&&i-- >0){e=e.substring(0,e.length-1)}if(e.endsWith(\".\")){e=e.substring(0,e.length-1)}}}return e}function _(e,t){var r=t.groupingSize,i=t.groupingBaseSize||r,n=e.length,a=Math.max(n-i,0)%r||r,o=e.slice(0,a);while(n-a>=i){o+=t.groupingSeparator;o+=e.slice(a,a+r);a+=r}o+=e.slice(a,n);return o}l.prototype.format=function(e,t){if(Array.isArray(e)){t=e[1];e=e[0]}var r=\"\",i=\"\",a=\"\",o=\"\",u=\"\",c=\"\",f=e<0,m=-1,p=Object.assign({},this.oFormatOptions),d=this.oOriginalFormatOptions,h=p.type===N.CURRENCY&&t===\"INR\"&&this.oLocale.getLanguage()===\"en\"&&this.oLocale.getRegion()===\"IN\",y,C,b,S,F,D=e===undefined||e===null;if(p.showNumber&&(e===p.emptyString||isNaN(e)&&isNaN(p.emptyString))){return\"\"}if(t!==undefined&&t!==null&&typeof t!==\"string\"&&!(t instanceof String)){return\"\"}if(!p.showNumber&&!t){return\"\"}if(D&&(!t||!p.showMeasure||p.showNumber)){return\"\"}if(t&&p.customCurrencies&&!p.customCurrencies[t]){s.error(\"Currency '\"+t+\"' is unknown.\");return\"\"}if(!p.showNumber&&!p.showMeasure){return\"\"}if(t&&p.type===N.UNIT){if(p.customUnits&&typeof p.customUnits===\"object\"){S=p.customUnits[t]}else{F=this.oLocaleData.getUnitFromMapping(t)||t;S=this.oLocaleData.getUnitFormat(F)}if(p.showMeasure){var R=!p.allowedUnits||p.allowedUnits.indexOf(t)>=0;if(!R){return\"\"}}if(!S&&!p.showNumber){return this._addOriginInfo(t)}}if(p.type===N.UNIT){p.decimals=S&&(typeof S.decimals===\"number\"&&S.decimals>=0)?S.decimals:p.decimals;p.decimals=l.getMaximumDecimals(p);p.precision=S&&(typeof S.precision===\"number\"&&S.precision>=0)?S.precision:p.precision}let L;if(p.type===N.CURRENCY){L=this.getCurrencySymbolOrCode(t,p.currencyCode);if(t&&p.trailingCurrencyCode){if(!this.mKnownCurrencyCodes[t]&&!/(^[A-Z]{3}$)/.test(t)){p.trailingCurrencyCode=false}}if(!p.showNumber){return L}if(p.style===\"long\"||p.style===\"short\"){p.maxFractionDigits??=0}else{if(p.customCurrencies?.[t]?.decimals!==undefined){p.decimals=p.customCurrencies[t].decimals}else{p.decimals??=this.oLocaleData.getCurrencyDigits(t)}p.decimals=l.getMaximumDecimals(p)}}if(p.decimals!==undefined){p.minFractionDigits=p.decimals;p.maxFractionDigits=p.decimals}if(p.shortLimit===undefined||Math.abs(e)>=p.shortLimit){C=p.shortRefNumber===undefined?e:p.shortRefNumber;y=this.getShortenedFormat(C,p,h);if(y&&y.formatString!=\"0\"){e=e/y.magnitude;if(p.shortDecimals!==undefined){p.minFractionDigits=p.shortDecimals;p.maxFractionDigits=p.shortDecimals}else{if(d.minFractionDigits===undefined&&d.maxFractionDigits===undefined&&d.decimals===undefined&&d.precision===undefined&&d.pattern===undefined){p.precision=2;p.minFractionDigits=0;p.maxFractionDigits=99}if(d.maxFractionDigits===undefined&&d.decimals===undefined){p.maxFractionDigits=99}}p.roundingMode=l.RoundingMode.HALF_AWAY_FROM_ZERO}}if((y||!p.ignorePrecision)&&p.precision!==undefined){p.maxFractionDigits=Math.min(p.maxFractionDigits,T(e,p.precision));p.minFractionDigits=Math.min(p.minFractionDigits,p.maxFractionDigits)}if(p.type==N.PERCENT){e=l._shiftDecimalPoint(e,2)}if((typeof e===\"number\"||typeof e===\"string\"&&typeof p.roundingMode!==\"function\")&&!p.preserveDecimals){e=M(e,p.maxFractionDigits,p.roundingMode)}if(e==0){f=false}if(!D){u=n.convertToDecimal(e)}if(u===\"NaN\"){return u}if(p.preserveDecimals){u=E(u,p.maxFractionDigits)}if(f){u=u.substr(1)}m=u.indexOf(\".\");if(m>-1){r=u.substr(0,m);i=u.substr(m+1)}else{r=u}if(r.length<p.minIntegerDigits){r=r.padStart(p.minIntegerDigits,\"0\")}else if(r.length>p.maxIntegerDigits){r=\"\".padStart(p.maxIntegerDigits,\"?\")}if(i.length<p.minFractionDigits){i=i.padEnd(p.minFractionDigits,\"0\")}else if(i.length>p.maxFractionDigits&&!p.preserveDecimals){i=i.substr(0,p.maxFractionDigits)}if(p.type===N.UNIT&&!p.showNumber){if(S){b=this._getPluralCategory(r,i,y);c=S[\"unitPattern-count-\"+b];if(!c){c=S[\"unitPattern-count-other\"]}if(!c){return this._addOriginInfo(t)}if(b!==\"other\"&&c.indexOf(\"{0}\")===-1){c=S[\"unitPattern-count-other\"];if(!c){return this._addOriginInfo(t)}}if(c.indexOf(\"{0}\")===-1){s.warning(\"Cannot separate the number from the unit because unitPattern-count-other '\"+c+\"' does not include the number placeholder '{0}' for unit '\"+t+\"'\")}else{return this._addOriginInfo(c.replace(\"{0}\",\"\").trim())}}}if(p.groupingEnabled){a=_(r,p)}else{a=r}const v=p.decimalPadding||0;if(v){p.minusSign=p.minusSign.replace(O,\"\")}if(f){o=p.minusSign}o+=a;if(i){o+=p.decimalSeparator+i}const w=y&&y.formatString&&p.showScale;let I;if(w){b=this._getPluralCategory(r,i);I=this.getCompactPattern(p.type,p.style,y.key,b,p.trailingCurrencyCode,h,t&&p.showMeasure,L,f);if(p.type!==N.CURRENCY){o=I.replace(y.valueSubString,o)}}if(p.type===N.CURRENCY){c=w?I:this.getCurrencyPattern(p.currencyContext,p.trailingCurrencyCode,t&&p.showMeasure,L,f);o=l._composeCurrencyResult(c,o,L,p.minusSign,f)}if(p.type===N.PERCENT){c=p.pattern;o=c.replace(g,o);o=o.replace(/%/,p.percentSign)}if(p.showMeasure&&t&&p.type===N.UNIT){b=this._getPluralCategory(r,i,y);if(S){c=S[\"unitPattern-count-\"+b];if(!c){c=S[\"unitPattern-count-other\"]}if(!c){c=l.getDefaultUnitPattern(t)}}else{c=l.getDefaultUnitPattern(t)}o=c.replace(\"{0}\",o)}let A=v-i.length;if(A>0){const e=o[o.length-1]===\")\";const t=\" \";if(i){if(e){o+=t;A=A-1}}else if(!e){o+=t}o+=\" \".repeat(A)}return this._addOriginInfo(o)};l.prototype.getCurrencySymbolOrCode=function(e,t){if(t){return e}return(typeof this.oFormatOptions.customCurrencies===\"object\"?this.mKnownCurrencySymbols[e]:this.oLocaleData.getCurrencySymbol(e))||e};l.prototype._getPluralCategory=function(e,t,r){var i=e;if(t){i+=\".\"+t}if(r){i+=\"c\"+r.magnitude.toExponential().slice(2)}return this.oLocaleData.getPluralCategory(i)};l.prototype._addOriginInfo=function(e){if(a.collectOriginInfo()){e=new String(e);e.originInfo={source:\"Common Locale Data Repository\" Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/AlignedFlowLayout\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Control\",\"./library\",\"sap/ui/core/ResizeHandler\",\"./AlignedFlowLayoutRenderer\",\"sap/ui/dom/units/Rem\"],function(e,t,i,s,n,r){\"use strict\";var o=t.extend(\"sap.ui.layout.AlignedFlowLayout\",{metadata:{library:\"sap.ui.layout\",properties:{minItemWidth:{type:\"sap.ui.core.AbsoluteCSSSize\",defaultValue:\"12rem\"},maxItemWidth:{type:\"sap.ui.core.AbsoluteCSSSize\",defaultValue:\"24rem\"}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true},endContent:{type:\"sap.ui.core.Control\",multiple:true}}},renderer:n});o.prototype.init=function(){if(typeof ResizeObserver===\"function\"){this.oResizeObserver=new ResizeObserver(this.onResize.bind(this));this.fLayoutWidth=0;this.fEndItemWidth=0}else{this._sResizeHandlerContainerListenerID=s.register(this,this.onResizeHandler.bind(this))}this.fnReflow=this.reflow.bind(this);this.bReflowSuspended=false};o.prototype.exit=function(){this.fnReflow=null;this.disconnectResizeObserver();this.oResizeObserver=null;this.fLayoutWidth=undefined;this.fEndItemWidth=undefined;this.disconnectResizeHandler();this._sResizeHandlerContainerListenerID=\"\";this._sResizeHandlerEndItemListenerID=\"\"};o.prototype.onAfterRenderingOrThemeChanged=function(){window.requestAnimationFrame(function(){var t=this.getDomRef(),i=this.getDomRef(\"endItem\"),s=!!(this.hasContent()&&t&&i);if(s){var n=window.getComputedStyle(t,null),r=n.getPropertyValue(\"padding-top\"),o=i.style;if(e.getRTL()){o.left=n.getPropertyValue(\"padding-left\")}else{o.right=n.getPropertyValue(\"padding-right\")}o.bottom=r}var f={domRef:t,endItemDomRef:i};this.reflow(f)}.bind(this))};o.prototype.onBeforeRendering=function(){this.disconnectResizeObserver();this.disconnectResizeHandlerForEndItem()};o.prototype.onAfterRendering=function(){this.observeSizeChangesIfRequired();this.onAfterRenderingOrThemeChanged()};o.prototype.onThemeChanged=o.prototype.onAfterRenderingOrThemeChanged;o.prototype.onResizeHandler=function(e){if(e.size.width!==e.oldSize.width){this.reflow()}};o.prototype.onResize=function(e){var t=this.getDomRef();this.bReflowSuspended=this.bReflowSuspended||this.unobserveSizeChangesIfReflowSuspended(t);if(this.bReflowSuspended){return}var i,s=e[0],n=f(this.fLayoutWidth,s,t),r=s.contentRect.width,o=s.contentRect.height;if(n){this.fLayoutWidth=r;this.fLayoutHeight=o}else{i=this.getDomRef(\"endItem\");n=f(this.fEndItemWidth,s,i);if(n){this.fEndItemWidth=r;this.fLayoutHeight=o}else if(this.fLayoutHeight!==o){this.fLayoutHeight=o}else{return}}window.requestAnimationFrame(function(){var e={domRef:t,endItemDomRef:i};this.reflow(e)}.bind(this))};o.prototype.reflow=function(t){if(this.bReflowSuspended){this.bReflowSuspended=false;if(this.oResizeObserver){this.observeSizeChangesIfRequired()}}var i=this.getContent();if(i.length===0||!i[0].isActive()){return}t=t||{};var s=t.domRef||this.getDomRef();if(!s){return}var n=t.endItemDomRef||this.getDomRef(\"endItem\"),r=this.getLastItemDomRef();if(!n||!r){if(!s.offsetParent){return}this.toggleDisplayOfSpacers(s);return}var o=s.lastElementChild;a(s,o);if(!s.offsetParent){return}var f=o.style,h=n.offsetHeight,d=n.offsetWidth,l=r.offsetTop,u=r.offsetLeft,p,g;var m=window.getComputedStyle(r);if(e.getRTL()){var R=Number.parseFloat(m.marginLeft);g=u-R}else{var c=Number.parseFloat(m.marginRight);var v=u+r.offsetWidth+c;g=s.offsetWidth-v}var y=window.getComputedStyle(n);var b=Number.parseFloat(y.marginLeft);var z=Number.parseFloat(y.marginRight);var I=g>=b+d+z;if(I){if(this.checkItemsWrapping(s)){if(n.offsetTop<l){f.height=Math.max(0,h-l)+\"px\";if(r.offsetTop>=n.offsetTop){p=n.offsetLeft;u=r.offsetLeft;if(p>=u&&p<=u+r.offsetWidth){f.height=h+\"px\"}}f.display=\"block\"}else{f.height=\"0\";f.display=\"\"}}else{if(n.offsetTop<l){f.height=h+\"px\"}f.display=\"block\"}}else{f.height=h+\"px\";f.display=\"block\"}var L=d+\"px\";f.width=L;f.minWidth=L;f.marginLeft=b+\"px\";f.marginRight=z+\"px\";this.toggleDisplayOfSpacers(s)};o.prototype.toggleDisplayOfSpacers=function(e){var t=this.getRenderer().CSS_CLASS+\"OneLine\",i=true;if(this.checkItemsWrapping(e,i)){e.classList.remove(t)}else{e.classList.add(t)}};function f(e,t,i){var s=.25,n=t.contentRect.width;return i===t.target&&Math.abs(n-e)>=s}function a(e,t){var i=t&&t.style;if(i){i.width=\"\";i.height=\"\";i.display=\"\";i.marginLeft=\"\";i.marginRight=\"\"}e.classList.remove(e.classList.item(0)+\"OneLine\")}o.prototype.checkItemsWrapping=function(e,t){e=e||this.getDomRef();if(!e){return false}var i=e.firstElementChild,s=this.getLastItemDomRef();if(!i||!s){return false}var n=i.offsetTop,r=s.offsetTop,o=i.offsetHeight;if(r>=n+o){return true}if(t){return false}var f=this.getDomRef(\"endItem\");return!!f&&f.offsetTop>=n+o};o.prototype.getLastItemDomRef=function(){var e=this.getContent(),t=e.length;if(t){var i=e[t-1],s=i.getDomRef();if(s){return s.parentElement}}return null};o.prototype.getLastVisibleDomRef=function(){return this.getDomRef(\"endItem\")||this.getLastItemDomRef()};o.prototype.computeNumberOfSpacers=function(){var e=this.getContent().length;if(e===0){return 0}var t=e,i=this.getMinItemWidth(),s;if(i.lastIndexOf(\"rem\")!==-1){s=r.toPx(i)}else if(i.lastIndexOf(\"px\")!==-1){s=parseFloat(i)}if(s){var n=Math.max(document.documentElement.clientWidth,window.screen.width);t=Math.abs(n/s)}t=Math.min(t,e-1);t=Math.max(1,t);t=Math.floor(t);return t};o.prototype.observeSizeChangesIfRequired=function(){if(this.hasContent()){this.observeSizeChanges()}};o.prototype.observeSizeChanges=function(){var e=this.getDomRef();if(!e){return}var t=this.getDomRef(\"endItem\");if(this.oResizeObserver){this.oResizeObserver.observe(e);if(t){this.oResizeObserver.observe(t)}return}if(t){this._sResizeHandlerEndItemListenerID=s.register(t,this.onResizeHandler.bind(this))}};o.prototype.unobserveSizeChanges=function(e){if(this.oResizeObserver&&e){this.oResizeObserver.unobserve(e)}};o.prototype.unobserveSizeChangesIfReflowSuspended=function(e){var t=s.isSuspended(e,this.fnReflow);if(t){this.unobserveSizeChanges(e);this.unobserveSizeChanges(this.getDomRef(\"endItem\"));return true}return false};o.prototype.disconnectResizeObserver=function(){if(this.oResizeObserver){this.oResizeObserver.disconnect()}};o.prototype.disconnectResizeHandler=function(){if(this._sResizeHandlerContainerListenerID){s.deregister(this._sResizeHandlerContainerListenerID)}this.disconnectResizeHandlerForEndItem()};o.prototype.disconnectResizeHandlerForEndItem=function(){if(this._sResizeHandlerEndItemListenerID){s.deregister(this._sResizeHandlerEndItemListenerID)}};o.prototype.hasContent=function(){return this.getContent().length>0};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/AlignedFlowLayoutRenderer\", [\"./library\"],function(e){\"use strict\";var t={apiVersion:2};t.CSS_CLASS=\"sapUiAFLayout\";t.render=function(e,n){var r=n.getContent();e.openStart(\"div\",n);e.class(t.CSS_CLASS);if(r.length===0){e.class(t.CSS_CLASS+\"NoContent\")}e.openEnd();this.renderItems(e,n,r);this.renderEndItem(e,n);this.renderSpacers(e,n);e.close(\"div\")};t.renderItems=function(e,t,n){n=n||t.getContent();n.forEach(function(n){this.renderItem(e,t,n)},this)};t.renderItem=function(e,n,r){e.openStart(\"div\");e.class(t.CSS_CLASS+\"Item\");e.style(\"flex-basis\",n.getMinItemWidth());e.style(\"max-width\",n.getMaxItemWidth());e.openEnd();e.renderControl(r);e.close(\"div\")};t.renderEndItem=function(e,n,r){r=r||n.getEndContent();if(r.length){e.openStart(\"div\",n.getId()+\"-endItem\");e.class(t.CSS_CLASS+\"End\");if(n.getContent().length){e.style(\"flex-basis\",n.getMinItemWidth())}e.openEnd();r.forEach(function(t){this.renderEndContent(e,n,t)},this);e.close(\"div\")}};t.renderEndContent=function(e,t,n){e.renderControl(n)};t.renderSpacers=function(e,n){var r=n.computeNumberOfSpacers(),i=n.getMinItemWidth(),s=n.getMaxItemWidth(),d=t.CSS_CLASS,o=n.getId(),a=o+\"-spacer\",S=o+\"-spacerlast\";for(var c=0;c<r;c++){var l=c===r-1,C=l?S:a+c;e.openStart(\"div\",C);e.class(d+\"Item\");e.class(d+\"Spacer\");e.style(\"flex-basis\",i);e.style(\"max-width\",s);e.openEnd();e.close(\"div\")}};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/AssociativeSplitter\", [\"./Splitter\",\"./SplitterRenderer\",\"sap/base/Log\",\"sap/ui/core/Element\"],function(e,t,i,s){\"use strict\";var n=e.extend(\"sap.ui.layout.AssociativeSplitter\",{metadata:{associations:{associatedContentAreas:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"associatedContentArea\"}}},renderer:t});n.prototype.init=function(){e.prototype.init.call(this);this._keyListeners={increase:this._onKeyboardResize.bind(this,\"inc\",1),decrease:this._onKeyboardResize.bind(this,\"dec\",1),increaseMore:this._onKeyboardResize.bind(this,\"incMore\",2),decreaseMore:this._onKeyboardResize.bind(this,\"decMore\",2),max:this._onKeyboardResize.bind(this,\"max\",1),min:this._onKeyboardResize.bind(this,\"min\",1)};this._enableKeyboardListeners()};n.prototype.addAssociatedContentArea=function(e){this._ensureLayoutData(e);return this.addAssociation(\"associatedContentAreas\",e)};n.prototype._enableKeyboardListeners=function(){e.prototype._enableKeyboardListeners.call(this);this.onsaprightmodifiers=this._keyListeners.increase;this.onsapleftmodifiers=this._keyListeners.decrease;this.onsapupmodifiers=this._keyListeners.decrease;this.onsapdownmodifiers=this._keyListeners.increase;this.onsapright=this._keyListeners.increaseMore;this.onsapdown=this._keyListeners.increaseMore;this.onsapleft=this._keyListeners.decreaseMore;this.onsapup=this._keyListeners.decreaseMore;this.onsapend=this._keyListeners.max;this.onsaphome=this._keyListeners.min;this._keyboardEnabled=true};n.prototype._getContentAreas=function(){var e=this.getAssociatedContentAreas()||[];var t=this.getContentAreas();var i=e.map(function(e){return s.getElementById(e)}).filter(function(e){return e});return t.concat(i)};n.prototype.ondblclick=function(e){var t=this.getId(),i,s;if(!(e.target.contains(this._oLastDOMclicked)&&this._oLastDOMclicked.id.indexOf(t+\"-splitbar\")>-1)){return}i=parseInt(this._oLastDOMclicked.id.substr((t+\"-splitbar-\").length));s=this._getContentAreas()[i];s._currentPosition=this._calculatedSizes[i];s._lastPosition=s._lastPosition||s._currentPosition;if(s._currentPosition===s._lastPosition){this._resizeContents(i,this._calculatedSizes[i]*-1,true)}else{this._resizeContents(i,s._lastPosition,true);s._lastPosition=null}};n.prototype._calcPercentBasedSizes=function(t,i){var s=this._getContentAreas(),n=this._calcAvailableContentSize();if(t.length===1&&s.length===1){this._calculatedSizes[t[0]]=n;i-=n}else{i=e.prototype._calcPercentBasedSizes.apply(this,arguments)}return i};n.prototype._logConstraintsViolated=function(){i.warning(\"The set sizes and minimal sizes of the splitter contents are bigger than the available space in the UI. \"+\"Consider enabling the pagination mechanism by setting the 'requiredParentWidth' property of the panes\",null,\"sap.ui.layout.ResponsiveSplitter\")};n.prototype.containsControl=function(e){var t=this._getContentAreas(),i,s;for(s=0;s<t.length;s++){i=t[s];if(i.isA(\"sap.ui.layout.AssociativeSplitter\")){if(i.containsControl(e)){return true}}else{if(i.getId()===e){return true}}}};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayout\", [\"sap/ui/core/Control\",\"./library\",\"sap/ui/core/ResizeHandler\",\"./BlockLayoutRenderer\"],function(e,t,i,n){\"use strict\";var r=e.extend(\"sap.ui.layout.BlockLayout\",{metadata:{library:\"sap.ui.layout\",properties:{background:{type:\"sap.ui.layout.BlockBackgroundType\",group:\"Appearance\",defaultValue:\"Default\"},keepFontSize:{type:\"boolean\",group:\"Behavior\",defaultValue:false}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.layout.BlockLayoutRow\",multiple:true}},designtime:\"sap/ui/layout/designtime/BlockLayout.designtime\"},renderer:n});r.CONSTANTS={SIZES:{S:600,M:1024,L:1440,XL:null}};r.prototype.init=function(){this._currentBreakpoint=null};r.prototype.onBeforeRendering=function(){this._detachResizeHandler()};r.prototype.onAfterRendering=function(){this._onParentResize();this._notifySizeListeners()};r.prototype._onParentResize=function(){var e,t=this.getDomRef(),i=t.clientWidth,n=r.CONSTANTS.SIZES;this._detachResizeHandler();if(i>0){this._removeBreakpointClasses();for(e in n){if(n.hasOwnProperty(e)&&(n[e]===null||n[e]>i)){if(this._currentBreakpoint!=e){this._currentBreakpoint=e;this._notifySizeListeners()}this.addStyleClass(\"sapUiBlockLayoutSize\"+e,true);break}}}this._attachResizeHandler()};r.prototype._notifySizeListeners=function(){var e=this;this.getContent().forEach(function(t){t._onParentSizeChange(e._currentBreakpoint)})};r.prototype._removeBreakpointClasses=function(){var e=r.CONSTANTS.SIZES;for(var t in e){if(e.hasOwnProperty(t)){this.removeStyleClass(\"sapUiBlockLayoutSize\"+t,true)}}};r.prototype._attachResizeHandler=function(){if(!this._parentResizeHandler){this._parentResizeHandler=i.register(this,this._onParentResize.bind(this))}};r.prototype._detachResizeHandler=function(){if(this._parentResizeHandler){i.deregister(this._parentResizeHandler);this._parentResizeHandler=null}};r.prototype.exit=function(){this._detachResizeHandler()};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayoutCell\", [\"sap/ui/core/Control\",\"./library\",\"./BlockLayoutCellRenderer\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\"],function(t,e,a,o,jQuery){\"use strict\";var i=t.extend(\"sap.ui.layout.BlockLayoutCell\",{metadata:{library:\"sap.ui.layout\",properties:{title:{type:\"string\",group:\"Appearance\",defaultValue:null},titleAlignment:{type:\"sap.ui.core.HorizontalAlign\",group:\"Appearance\",defaultValue:\"Begin\"},titleLevel:{type:\"sap.ui.core.TitleLevel\",group:\"Appearance\",defaultValue:\"Auto\"},width:{type:\"int\",group:\"Appearance\",defaultValue:0},backgroundColorSet:{type:\"sap.ui.layout.BlockLayoutCellColorSet\",group:\"Appearance\"},backgroundColorShade:{type:\"sap.ui.layout.BlockLayoutCellColorShade\",group:\"Appearance\"}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"},titleLink:{type:\"sap.ui.core.Control\",multiple:false}},designtime:\"sap/ui/layout/designtime/BlockLayoutCell.designtime\"},renderer:a});i.prototype.setLayoutData=function(t){this.setAggregation(\"layoutData\",t,true);var e=this.getParent();if(e){var a=jQuery.Event(\"LayoutDataChange\");a.srcControl=this;e._handleEvent(a)}if(t&&this.getWidth()!=0){this.getLayoutData().setSize(this.getWidth())}return this};i.prototype.setWidth=function(t){this.setProperty(\"width\",t);if(this.getLayoutData()&&this.getLayoutData().isA(\"sap.ui.layout.BlockLayoutCellData\")){this.getLayoutData().setSize(t)}return this};i.prototype.setTitleLink=function(t){if(t&&t.getMetadata().getName()!==\"sap.m.Link\"){o.warning(\"sap.ui.layout.BlockLayoutCell \"+this.getId()+\": Can't add value for titleLink aggregation different than sap.m.Link.\");return this}this.setAggregation(\"titleLink\",t);return this};i.prototype._setParentRowScrollable=function(t){this._parentRowScrollable=t};i.prototype._getParentRowScrollable=function(){return this._parentRowScrollable};i.prototype._setFlexWidth=function(t){this._flexWidth=t};i.prototype._getFlexWidth=function(){return this._flexWidth};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayoutCellData\", [\"sap/ui/core/LayoutData\",\"./library\"],function(e,t){\"use strict\";var a=e.extend(\"sap.ui.layout.BlockLayoutCellData\",{metadata:{library:\"sap.ui.layout\",properties:{sSize:{type:\"int\",group:\"Appearance\",defaultValue:1},mSize:{type:\"int\",group:\"Appearance\",defaultValue:1},lSize:{type:\"int\",group:\"Appearance\",defaultValue:1},xlSize:{type:\"int\",group:\"Appearance\",defaultValue:1}}}});a.prototype.breakRowOnSSize=true;a.prototype.breakRowOnMSize=false;a.prototype.breakRowOnLSize=false;a.prototype.breakRowOnXlSize=false;a.prototype.setSize=function(e){this.setProperty(\"mSize\",e);this.setProperty(\"lSize\",e);this.setProperty(\"xlSize\",e);var t=this.getParent();if(t&&t.getParent()){t.getParent().invalidate()}return this};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LI Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/ODataModel\", [\"./ODataContextBinding\",\"./ODataListBinding\",\"./ODataMetaModel\",\"./ODataPropertyBinding\",\"./SubmitMode\",\"./lib/_GroupLock\",\"./lib/_Helper\",\"./lib/_MetadataRequestor\",\"./lib/_Parser\",\"./lib/_Requestor\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/ui/base/SyncPromise\",\"sap/ui/core/Messaging\",\"sap/ui/core/Rendering\",\"sap/ui/core/Supportability\",\"sap/ui/core/cache/CacheManager\",\"sap/ui/core/message/Message\",\"sap/ui/core/message/MessageType\",\"sap/ui/model/BindingMode\",\"sap/ui/model/Context\",\"sap/ui/model/Model\",\"sap/ui/model/odata/OperationMode\",\"sap/ui/thirdparty/URI\"],function(e,t,r,i,o,n,s,a,u,p,d,h,c,f,l,g,y,m,v,w,E,b,P,M,R){\"use strict\";const A=false;var C=\"sap.ui.model.odata.v4.ODataModel\",B=[\"$count\",\"$expand\",\"$filter\",\"$levels\",\"$orderby\",\"$search\",\"$select\"],q=[\"$$groupId\",\"$$patchWithoutSideEffects\",\"$$updateGroupId\"],O=[undefined,w.Success,w.Information,w.Warning,w.Error],I={dataReceived:true,dataRequested:true,messageChange:true,propertyChange:true,sessionTimeout:true},$={annotationURI:true,autoExpandSelect:true,earlyRequests:true,groupId:true,groupProperties:true,httpHeaders:true,ignoreAnnotationsFromMetadata:true,metadataUrlParams:true,odataVersion:true,operationMode:true,serviceUrl:true,sharedRequests:true,supportReferences:true,synchronizationMode:true,updateGroupId:true,withCredentials:true},D=[\"$apply\",\"$count\",\"$expand\",\"$filter\",\"$orderby\",\"$search\",\"$select\"],k=/^[ -~]+$/,G=P.extend(\"sap.ui.model.odata.v4.ODataModel\",{constructor:T,metadata:{final:A}});function T(e={}){var t,i=c.getLanguageTag().toString(),n,u,d,h,f,g,m=this;P.call(this);if(\"synchronizationMode\"in e&&e.synchronizationMode!==\"None\"){throw new Error(\"Synchronization mode must be 'None'\")}n=e.odataVersion||\"4.0\";this.sODataVersion=n;if(n!==\"4.0\"&&n!==\"2.0\"){throw new Error(\"Unsupported value for parameter odataVersion: \"+n)}for(u in e){if(!(u in $)){throw new Error(\"Unsupported parameter: \"+u)}}h=e.serviceUrl;if(!h){throw new Error(\"Missing service root URL\")}f=new R(h);if(f.path()[f.path().length-1]!==\"/\"){throw new Error(\"Service root URL must end with '/'\")}if(e.operationMode&&e.operationMode!==M.Server){throw new Error(\"Unsupported operation mode: \"+e.operationMode)}this.sOperationMode=e.operationMode;g=this.buildQueryOptions(f.query(true),false,true);this.mUriParameters=g;if(y.isStatisticsEnabled()){g=Object.assign({\"sap-statistics\":true},g)}this.sServiceUrl=f.query(\"\").toString();this.sGroupId=e.groupId;if(this.sGroupId===undefined){this.sGroupId=\"$auto\"}if(this.sGroupId!==\"$auto\"&&this.sGroupId!==\"$direct\"){throw new Error(\"Group ID must be '$auto' or '$direct'\")}s.checkGroupId(e.updateGroupId,false,false,\"Invalid update group ID: \");this.sUpdateGroupId=e.updateGroupId||this.getGroupId();this.mGroupProperties={};for(const r in e.groupProperties){s.checkGroupId(r,true);t=e.groupProperties[r];if(typeof t!==\"object\"||Object.keys(t).length!==1||!(t.submit in o)){throw new Error(\"Group '\"+r+\"' has invalid properties: '\"+t+\"'\")}}this.mGroupProperties=s.clone(e.groupProperties)||{};this.mGroupProperties.$auto={submit:o.Auto};this.mGroupProperties.$direct={submit:o.Direct};if(e.autoExpandSelect!==undefined&&typeof e.autoExpandSelect!==\"boolean\"){throw new Error(\"Value for autoExpandSelect must be true or false\")}this.bAutoExpandSelect=e.autoExpandSelect===true;if(\"sharedRequests\"in e&&e.sharedRequests!==true){throw new Error(\"Value for sharedRequests must be true\")}this.bSharedRequests=e.sharedRequests===true;this.bIgnoreETag=false;if(\"ignoreAnnotationsFromMetadata\"in e&&e.ignoreAnnotationsFromMetadata!==true){throw new Error(\"Value for ignoreAnnotationsFromMetadata must be true\")}this.mHeaders={\"Accept-Language\":i};this.mMetadataHeaders={\"Accept-Language\":i};d=Object.assign({},g,e.metadataUrlParams);const v=this.getOrCreateRetryAfterPromise.bind(this);this.oMetaModel=new r(a.create(this.mMetadataHeaders,n,e.ignoreAnnotationsFromMetadata,d,e.withCredentials,v),this.sServiceUrl+\"$metadata\",e.annotationURI,this,e.supportReferences,d[\"sap-language\"]);this.oInterface={fetchEntityContainer:this.oMetaModel.fetchEntityContainer.bind(this.oMetaModel),fetchMetadata:this.oMetaModel.fetchObject.bind(this.oMetaModel),fireDataReceived:this.fireDataReceived.bind(this),fireDataRequested:this.fireDataRequested.bind(this),fireSessionTimeout:function(){m.fireEvent(\"sessionTimeout\")},getGroupProperty:this.getGroupProperty.bind(this),getMessagesByPath:this.getMessagesByPath.bind(this),getOptimisticBatchEnabler:this.getOptimisticBatchEnabler.bind(this),getOrCreateRetryAfterPromise:v,getReporter:this.getReporter.bind(this),isIgnoreETag:function(){return m.bIgnoreETag},onCreateGroup:function(e){if(m.isAutoGroup(e)){m.addPrerenderingTask(m._submitBatch.bind(m,e,true))}},onHttpResponse:function(e){const t=m.fnHttpListener;t?.({responseHeaders:e})},reportError:this.reportError.bind(this),reportStateMessages:this.reportStateMessages.bind(this),reportTransitionMessages:this.reportTransitionMessages.bind(this),updateMessages:function(e,t){l.updateMessages(e,t)}};this.oRequestor=p.create(this.sServiceUrl,this.oInterface,this.mHeaders,g,n,e.withCredentials);this.changeHttpHeaders(e.httpHeaders);this.bEarlyRequests=e.earlyRequests;if(this.bEarlyRequests){this.oMetaModel.fetchEntityContainer(true);this.initializeSecurityToken();this.oRequestor.sendOptimisticBatch()}this.aAllBindings=[];this.oAnnotationChangePromise=null;this.mKeepAliveBindingsByPath={};this.mSupportedBindingModes={OneTime:true,OneWay:true};if(e.sharedRequests){this.sDefaultBindingMode=E.OneWay}else{this.sDefaultBindingMode=E.TwoWay;this.mSupportedBindingModes.TwoWay=true}this.aPrerenderingTasks=null;this.fnHttpListener=null;this.fnOptimisticBatchEnabler=null;this.mPath2DataReceivedError={};this.mPath2DataRequestedCount={};this.fnRetryAfter=null;this.oRetryAfterPromise=null}G.prototype._requestAnnotationChanges=function(){this.oAnnotationChangePromise??=f.resolve();return this.oAnnotationChangePromise};G.prototype._submitBatch=function(e,t){var r=this;return this.oRequestor.submitBatch(e).catch(function(e){r.reportError(\"$batch failed\",C,e);if(!t){throw e}})};G.prototype.addPrerenderingTask=function(e,t){var r,i,o=this;function n(e){clearTimeout(i);while(e.length){e.shift()()}if(o.aPrerenderingTasks===e){o.aPrerenderingTasks=null}}if(!this.aPrerenderingTasks){this.aPrerenderingTasks=[];r=n.bind(null,this.aPrerenderingTasks);g.addPrerenderingTask(r);i=setTimeout(function(){i=setTimeout(r,0)},0)}if(t){this.aPrerenderingTasks.unshift(e)}else{this.aPrerenderingTasks.push(e)}};G.prototype.attachDataReceived=function(e,t){return this.attachEvent(\"dataReceived\",e,t)};G.prototype.attachDataRequested=function(e,t){return this.attachEvent(\"dataRequested\",e,t)};G.prototype.attachEvent=function(e,t,r,i){if(!(e in I)){throw new Error(\"Unsupported event '\"+e+\"': v4.ODataModel#attachEvent\")}return P.prototype.attachEvent.apply(this,arguments)};G.prototype.attachSessionTimeout=function(e,t){return this.attachEvent(\"sessionTimeout\",e,t)};G.prototype.bindContext=function(t,r,i){return new e(this,t,r,i)};G.prototype.bindingCreated=function(e){this.aAllBindings.push(e)};G.prototype.bindingDestroyed=function(e){var t=this.aAllBindings.indexOf(e);if(t<0){throw new Error(\"Unknown \"+e)}this.aAllBindings.splice(t,1)};G.prototype.bindList=function(e,r,i,o,n){return new t(this,e,r,i,o,n)};G.prototype.bindProperty=function(e,t,r){return new i(this,e,t,r)};G.prototype.bindTree=function(e,t,r,i,o){throw new Error(\"Unsupported operation: v4.ODataModel#bindTree\")};G.prototype.buildQueryOptions=function(e,t,r){var i,o=Object.assign({},e);function n(e,r,i){var o,a,p,d=e[r];if(!t||!i.includes(r)){throw new Error(\"System query option \"+r+\" is not supported\")}if((r===\"$expand\"||r===\"$select\")&&typeof d===\"string\"){d=u.parseSystemQueryOption(r+\"=\"+d)[r];e[r]=d}if(r===\"$expand\"){d=e[r]=s.clone(d);for(p in d){a=d[p];if(a===null||typeof a!==\"object\"){a=d[p]={}}for(o in a){n(a,o,B)}}}else if(r===\"$count\"){if(typeof d===\"boolean\"){if(!d){delete e.$count}}else{switch(typeof d===\"string\"&&d.toLowerCase()){case\"false\":delete e.$count;break;case\"true\":e.$count=true;break;default:throw new Error(\"Invalid value for $count: \"+d)}}}}if(e){for(i in e){if(i.startsWith(\"$$\")){delete o[i]}else if(i[0]===\"@\"){throw new Error(\"Parameter \"+i+\" is not supported\")}else if(i[0]===\"$\"){n(o,i,D)}else if(!r&&i.startsWith(\"sap-\")&&!i.startsWith(\"sap-valid-\")){throw new Error(\"Custom query option \"+i+\" is not supported\")}}}return o};G.prototype.changeHttpHeaders=function(e){var t,r,i={},o,n;this.oRequestor.checkHeaderNames(e);for(n in e){r=n.toLowerCase();o=e[n];if(i[r]){throw new Error(\"Duplicate header \"+n)}else if(!(typeof o===\"string\"&&k.test(o)||o===undefined)){throw new Error(\"Unsupported value for header '\"+n+\"': \"+o)}else{if(r===\"x-csrf-token\"){n=\"X-CSRF-Token\"}i[r]={key:n,value:o}}}this.oRequestor.checkForOpenRequests();for(n in this.mHeaders){r=n.toLowerCase();t=i[r];if(t){delete this.mHeaders[n];delete this.mMetadataHeaders[n];if(t.value!==undefined){this.mHeaders[t.key]=t.value;this.mMetadataHeaders[t.key]=t.value}delete i[r]}}for(n in i){t=i[n];if(t.value!==undefined){this.mHeaders[t.key]=t.value;if(n!==\"x-csrf-token\"){this.mMetadataHeaders[t.key]=t.value}}}};G.prototype.checkBatchGroupId=function(e){s.checkGroupId(e);if(this.isDirectGroup(e)){throw new Error(\"Group ID does not use batch requests: \"+e)}};G.prototype.clearSessionContext=function(){this.oRequestor.clearSessionContext()};G.prototype.createBindingContext=function(e,t){var r,i,o,n;function s(e){var t=e.indexOf(\".\"),r=e.indexOf(\"/\");return t>0&&(r<0||t<r)}if(arguments.length>2){throw new Error(\"Only the parameters sPath and oContext are supported\")}if(t&&t.getBinding){throw new Error(\"Unsupported type: oContext must be of type sap.ui.model.Context, \"+\"but was sap.ui.model.odata.v4.Context\")}o=this.resolve(e,t);if(o===undefined){throw new Error(\"Cannot create binding context from relative path '\"+e+\"' without context\")}n=o.indexOf(\"#\");if(n>=0){r=o.slice(0,n);let e=o.slice(n+1);if(e[0]===\"#\"){e=e.slice(1)}else if(r.length>1&&e[0]!==\"@\"&&s(e)){return new b(this,o)}if(e[0]===\"/\"){e=\".\"+e}i=this.oMetaModel.getMetaContext(r);return this.oMetaModel.createBindingContext(e,i)}return new b(this,o)};G.prototype.createUI5Message=function(e,t,r,i=e){var o=typeof e.target===\"string\",n=e.longtextUrl,a,u=this;function p(e){return u.normalizeMessageTarget(e[0]===\"/\"?e:s.buildPath(\"/\"+t,r,e))}if(o){t&&=t.split(\"?\")[0];a=[p(e.target)];if(e.additionalTargets){e.additionalTargets.forEach(function(e){a.push(p(e))})}}if(n&&t){n=s.makeAbsolute(n,this.sServiceUrl+t)}return new v({code:e.code,descriptionUrl:n||undefined,message:e.message,persistent:!o||e.transition,processor:this,target:o?a:\"\",technical:e.technical,technicalDetails:s.createTechnicalDetails(i),type:O[e.numericSeverity]||w.None})};G.prototype.delete=function(e,t,r){var i,o,n=this;if(typeof e===\"string\"){if(e[0]!==\"/\"){throw new Error(\"Invalid path: \"+e)}i=true;o=Promise.resolve([e,\"*\"])}else{o=Promise.all([e.fetchCanonicalPath(),e.fetchValue(\"@odata.etag\",null,true)])}s.checkGroupId(t,false,true);t??=this.getUpdateGroupId();if(this.isApiGroup(t)){throw new Error(\"Illegal update group ID: \"+t)}return o.then(function(o){return n.oRequestor.request(\"DELETE\",o[0].slice(1)+s.buildQuery(n.mUriParameters),n.lockGroup(t,n,true,true),{\"If-Match\":o[1]}).catch(function(e){if(r||!(e.status===404||i&&e.status===412)){n.reportError(\"Failed to delete \"+o[0],C,e);throw e}}).then(function(){if(i){n.aAllBindings.forEach(function(t){t.onDelete(e)})}})})};G.prototype.destroy=function(){this.oMetaModel.destroy();this.oRequestor.destroy();this.mHeaders=undefined;this.mMetadataHeaders=undefined;this.oRetryAfterPromise=undefined;return P.prototype.destroy.apply(this,arguments)};G.prototype.destroyBindingContext=function(){throw new Error(\"Unsupported operation: v4.ODataModel#destroyBindingContext\")};G.prototype.detachDataReceived=function(e,t){return this.detachEvent(\"dataReceived\",e,t)};G.prototype.detachDataRequested=function(e,t){return this.detachEvent(\"dataRequested\",e,t)};G.prototype.detachSessionTimeout=function(e,t){return this.detachEvent(\"sessionTimeout\",e,t)};G.prototype.fetchKeyPredicate=function(e,t){var r={};return this.oRequestor.fetchType(r,e).then(function(){return s.getKeyPredicate(t,e,r)})};G.prototype.filterMatchingMessages=function(e,t){return s.hasPathPrefix(e,t)?this.mMessages[e]:[]};G.prototype.fireDataReceived=function(e,t){if(!(t in this.mPath2DataRequestedCount)){throw new Error(\"Received more data than requested\")}this.mPath2DataRequestedCount[t]-=1;this.mPath2DataReceivedError[t]??=e;if(this.mPath2DataRequestedCount[t]===0){this.fireEvent(\"dataReceived\",this.mPath2DataReceivedError[t]?{error:this.mPath2DataReceivedError[t],path:t}:{data:{},path:t});delete this.mPath2DataReceivedError[t];delete this.mPath2DataRequestedCount[t]}};G.prototype.fireDataRequested=function(e){if(e in this.mPath2DataRequestedCount){this.mPath2DataRequestedCount[e]+=1}else{this.mPath2DataRequestedCount[e]=1;this.fireEvent(\"dataRequested\",{path:e})}};G.prototype.getAllBindings=function(){return this.aAllBindings.slice()};G.prototype.getContext=function(){throw new Error(\"Unsupported operation: v4.ODataModel#getContext\")};G.prototype.getDependentBindings=function(e){return this.aAllBindings.filter(function(t){var r=t.getContext();return t.isRelative()&&(r===e||r&&r.getBinding&&r.getBinding()===e)})};G.prototype.getGroupId=function(){return this.sGroupId};G.prototype.getGroupProperty=function(e,t){switch(t){case\"submit\":if(e.startsWith(\"$auto.\")){return o.Auto}if(e===\"$single\"){return\"Single\"}return this.mGroupProperties[e]?this.mGroupProperties[e].submit:o.API;default:throw new Error(\"Unsupported group property: '\"+t+\"'\")}};G.prototype.getHttpHeaders=function(e){var t=Object.assign({},this.mHeaders);if(!e){delete t[\"SAP-ContextId\"]}if(t[\"X-CSRF-Token\"]===null){delete t[\"X-CSRF-Token\"]}return t};G.prototype.getKeepAliveContext=function(e,t,r={}){var i,o,n;if(!this.bAutoExpandSelect){throw new Error(\"Missing parameter autoExpandSelect\")}if(e[0]!==\"/\"){throw new Error(\"Not a list context path to an entity: \"+e)}Object.keys(r).forEach(function(e){if(e.startsWith(\"sap-\")&&!e.startsWith(\"sap-valid-\")||e[0]===\"$\"&&!q.includes(e)){throw new Error(\"Invalid parameter: \"+e)}});n=e.slice(0,s.getPredicateIndex(e));i=this.mKeepAliveBindingsByPath[n];if(!i){o=this.aAllBindings.filter(function(e){if(e.mParameters&&e.mParameters.$$getKeepAliveContext){e.removeCachesAndMessages(n.slice(1),true)}return e.isKeepAliveBindingFor&&e.isKeepAliveBindingFor(n)});if(o.length>1){throw new Error(\"Multiple bindings with $$getKeepAliveContext for: \"+e)}i=o[0];if(!i){i=this.bindList(n,undefined,undefined,undefined,r);this.mKeepAliveBindingsByPath[n]=i}}return i.getKeepAliveContext(e,t,r.$$groupId)};G.prototype.getKeyPredicate=s.createGetMethod(\"fetchKeyPredicate\",true);G.prototype.getMessages=function(e){return this.getMessagesByPath(e.getPath(),true).sort(v.compare)};G.prototype.getMetaModel=function(){return this.oMetaModel};G.prototype.getObject=function(){throw new Error(\"Unsupported operation: v4.ODataModel#getObject\")};G.prototype.getODataVersion=function(){return this.sODataVersion};G.prototype.getOptimisticBatchEnabler=function(){return this.fnOptimisticBatchEnabler};G.prototype.getOrCreateRetryAfterPromise=function(e){if(!this.oRetryAfterPromise&&this.fnRetryAfter&&e){this.oRetryAfterPromise=this.fnRetryAfter(e);this.oRetryAfterPromise.finally(()=>{this.oRetryAfterPromise=null}).catch(()=>{});this.oRetryAfterPromise.catch(t=>{if(t===e){this.reportError(t.message,C,t)}else{t.$reported=true}})}return this.oRetryAfterPromise};G.prototype.getOriginalProperty=function(){throw new Error(\"Unsupported operation: v4.ODataModel#getOriginalProperty\")};G.prototype.getProperty=function(){throw new Error(\"Unsupported operation: v4.ODataModel#getProperty\")};G.prototype.getReporter=function(){var e=this;return function(t){if(!t.$reported){e.reportError(t.message,C,t)}}};G.prototype.getServiceUrl=function(){return this.sServiceUrl};G.prototype.getUpdateGroupId=function(){return this.sUpdateGroupId};G.prototype.hasPendingChanges=function(e){if(e!==undefined){this.checkBatchGroupId(e);if(this.isAutoGroup(e)&&this.oRequestor.hasPendingChanges(\"$parked.\"+e)){return true}}return this.oRequestor.hasPendingChanges(e)};G.prototype.initializeSecurityToken=function(){this.oRequestor.refreshSecurityToken().catch(function(){})};G.prototype.isApiGroup=function(e){return this.getGroupProperty(e,\"submit\")===o.API};G.prototype.isAutoGroup=function(e){return this.getGroupProperty(e,\"submit\")===o.Auto};G.prototype.isDirectGroup=function(e){return this.getGroupProperty(e,\"submit\")===o.Direct};G.prototype.isList=function(){throw new Error(\"Unsupported operation: v4.ODataModel#isList\")};G.prototype.lock=function(e){var t;if(!this.isAutoGroup(e)){throw new Error(\"Group ID does not use automatic batch requests: \"+e)}t=this.lockGroup(e,this,true);return{isLocked:function(){return t.isLocked()},unlock:function(){t.unlock()}}};G.prototype.lockGroup=function(e,t,r,i,o){return this.oRequestor.lockGroup(e,t,r,i,o)};G.prototype.normalizeMessageTarget=function(e){var t,r,i=\"\",o=this;if(e.includes(\"$uid=\")){return e}t=e.split(\"/\").map(function(e){var t,n=e.indexOf(\"(\"),a,p,d;function h(e){if(e in p){return encodeURIComponent(decodeURIComponent(p[e]))}r=true}if(n<0){i=s.buildPath(i,e);return e}t=e.slice(0,n);i=s.buildPath(i,t);p=u.parseKeyPredicate(e.slice(n));if(\"\"in p){return t+\"(\"+h(\"\")+\")\"}d=o.oMetaModel.getObject(\"/\"+i+\"/\");if(!(d&&d.$Key)){r=true;return e}a=d.$Key.map(function(e){var t=h(e);return d.$Key.length>1?e+\"=\"+t:t});return t+\"(\"+a.join(\",\")+\")\"}).join(\"/\");return r?e:t};G.prototype.refresh=function(e){if(typeof e===\"boolean\"){throw new Error(\"Unsupported parameter bForceUpdate\")}s.checkGroupId(e);this.getBindings().forEach(function(t){if(t.isRoot()){t.refresh(t.isSuspended()?undefined:e)}})};G.prototype.releaseKeepAliveBinding=function(e){var t=this.mKeepAliveBindingsByPath[e];if(t){delete this.mKeepAliveBindingsByPath[e];return t}};G.prototype.reportError=function(e,t,r){var i;if(r.canceled===\"noDebugLog\"){return}i=r.stack.includes(r.message)?r.stack:r.message+\"\\n\"+r.stack;if(r.canceled){h.debug(e,i,t);return}h.error(e,i,t);if(r.$reported){return}r.$reported=true;this.reportTransitionMessages(s.extractMessages(r),r.resourcePath)};G.prototype.reportStateMessages=function(e,t,r){var i=\"/\"+e,o=[],n=[],a=this;Object.keys(t).forEach(function(r){t[r].forEach(function(t){o.push(a.createUI5Message(t,e,r))})});(r||[\"\"]).forEach(function(e){var t=s.buildPath(i,e);Object.keys(a.mMessages).forEach(function(e){if(e===t||e.startsWith(t+\"/\")||e.startsWith(t+\"(\")){n=n.concat(a.mMessages[e].filter(function(e){return!e.persistent}))}})});if(o.length||n.length){l.updateMessages(n,o)}};G.prototype.reportTransitionMessages=function(e,t,r,i){var o,n;if(!e.length){return}if(t){const e=this.getMetaModel();o=\"/\"+t.split(\"?\")[0];const r=s.getMetaPath(o);const i=e.getObject(r);if(Array.isArray(i)){n=e.getObject(r+\"/@$ui5.overload/0\");o=o.slice(0,o.lastIndexOf(\"/\"))}}const a=e.map(e=>{const r=e;if(n){e=s.clone(e);s.adjustTargets(e,n,undefined,o,i)}e.transition=true;return this.createUI5Message(e,t,undefined,r)});if(!r){l.updateMessages(undefined,a)}return a};G.prototype.requestCanonicalPath=function(e){d(e.getModel()===this,\"oEntityContext must belong to this model\");return e.requestCanonicalPath()};G.prototype.requestKeyPredicate=s.createRequestMethod(\"fetchKeyPredicate\");G.prototype.requestSideEffects=function(e,t){if(!t.length){return undefined}return f.all(this.aAllBindings.filter(function(e){return e.isRoot()}).map(function(r){return r.requestAbsoluteSideEffects(e,t)}))};G.prototype.resetChanges=function(e){e??=this.sUpdateGroupId;this.checkBatchGroupId(e);if(this.isAutoGroup(e)){this.oRequestor.cancelChanges(\"$parked.\"+e);this.oRequestor.cancelChanges(\"$inactive.\"+e,true)}this.oRequestor.cancelChanges(e);this.aAllBindings.forEach(function(t){if(e===t.getUpdateGroupId()){t.resetInvalidDataState()}})};G.prototype.resolve=function(e,t){var r;if(e&&e[0]===\"/\"){r=e}else if(t){r=t.getPath();if(e){if(!r.endsWith(\"/\")){r+=\"/\"}r+=e}}if(r&&r!==\"/\"&&r[r.length-1]===\"/\"&&!r.includes(\"#\")){r=r.slice(0,r.length-1)}return r};G.prototype.setAnnotationChangePromise=function(e){if(this.oAnnotationChangePromise){throw Error(\"Too late\")}this.oAnnotationChangePromise=e};G.prototype.setContinueOnError=function(e){this.checkBatchGroupId(e);this.oRequestor.setContinueOnError(e)};G.prototype.setHttpListener=function(e){this.fnHttpListener=e};G.prototype.setIgnoreETag=function(e){this.bIgnoreETag=e};G.prototype.setLegacySyntax=function(){throw new Error(\"Unsupported operation: v4.ODataModel#setLegacySyntax\")};G.prototype.setOptimisticBatchEnabler=function(e){if(!this.bEarlyRequests){throw new Error(\"The earlyRequests model parameter is not set\")}if(this.oRequestor.isBatchSent()){throw new Error(\"The setter is called after a non-optimistic batch is sent\")}if(typeof e!==\"function\"){throw new Error(\"The given fnOptimisticBatchEnabler parameter is not a function\")}if(this.fnOptimisticBatchEnabler){throw new Error(\"The setter is called more than once\")}this.fnOptimisticBatchEnabler=e};G.prototype.setRetryAfterHandler=function(e){this.fnRetryAfter=e};G.prototype.submitBatch=function(e){var t=this;this.checkBatchGroupId(e);if(this.isAutoGroup(e)){this.oRequestor.relocateAll(\"$parked.\"+e,e)}this.oRequestor.addChangeSet(e);return new Promise(function(r){t.addPrerenderingTask(function(){r(t._submitBatch(e))})})};G.prototype.toString=function(){return C+\": \"+this.sServiceUrl};G.prototype.waitForKeepAliveBinding=function(e){if(e.mParameters?.$$getKeepAliveContext){const t=this.mKeepAliveBindingsByPath[e.getResolvedPath()];if(t){return t.ready()}}return f.resolve()};G.prototype.withUnresolvedBindings=function(e,t){return this.aAllBindings.filter(function(e){return!e.isResolved()}).some(function(r){return r[e](t)})};G.cleanUpOptimisticBatch=function(e){return m.delWithFilters({olderThan:e,prefix:\"sap.ui.model.odata.v4.optimisticBatch:\"})};(()=>{const e=G.extend;G.extend=function(){h.error(\"[FUTURE FATAL] sap.ui.model.odata.v4.ODataModel must not be extended\");return e.apply(this,arguments)}})();return G});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/ODataParentBinding\", [\"./Context\",\"./ODataBinding\",\"./lib/_Helper\",\"sap/base/Log\",\"sap/ui/base/SyncPromise\",\"sap/ui/model/ChangeReason\"],function(e,t,n,r,i,o){\"use strict\";function s(){t.call(this);this.mAggregatedQueryOptions={};this.bAggregatedQueryOptionsInitial=true;this.mCanUseCachePromiseByChildPath={};this.aChildCanUseCachePromises=[];this.mChildPathsReducedToParent={};this.iPatchCounter=0;this.bPatchSuccess=true;this.oReadGroupLock=undefined;this.oRefreshPromise=null;this.oResumePromise=undefined}t(s.prototype);var a=\"sap.ui.model.odata.v4.ODataParentBinding\";s.prototype._findEmptyPathParentContext=function(e){if(this.sPath===\"\"&&this.oContext.getBinding){return this.oContext.getBinding()._findEmptyPathParentContext(this.oContext)}return e};s.prototype._resume=function(e){var t=this;function n(){t.bSuspended=false;if(t.oResumePromise){t.resumeInternal(true);t.oResumePromise.$resolve();t.oResumePromise=undefined}}if(this.oOperation){throw new Error(\"Cannot resume an operation binding: \"+this)}if(!this.isRoot()){throw new Error(\"Cannot resume a relative binding: \"+this)}if(!this.bSuspended){throw new Error(\"Cannot resume a not suspended binding: \"+this)}if(e){this.createReadGroupLock(this.getGroupId(),true,1);this.oModel.addPrerenderingTask(n)}else{this.createReadGroupLock(this.getGroupId(),true);n()}};s.prototype.aggregateQueryOptions=function(e,t,r,i){var o=n.clone(r&&this.mLateQueryOptions||this.mAggregatedQueryOptions),s=this;function a(e,t,n,o,h){function u(i){var o=!e.$expand[i],h=n+\"/\"+i;if(o){e.$expand[i]={};if(r&&s.oModel.getMetaModel().fetchObject(h).getResult().$isCollection){return false}}return a(e.$expand[i],t.$expand[i],h,true,o)}function c(t){if(!e.$select.includes(t)){e.$select.push(t)}return true}return(i||!o||Object.keys(e).every(function(e){return e in t||e===\"$count\"||e===\"$expand\"||e===\"$select\"}))&&Object.keys(t).every(function(n){switch(n){case\"$count\":if(t.$count){e.$count=true}return true;case\"$expand\":e.$expand??={};return Object.keys(t.$expand).every(u);case\"$select\":e.$select??=[];return t.$select.every(c);default:if(h){e[n]=t[n];return true}return t[n]===e[n]}})}if(a(o,e,t)){if(r){this.mLateQueryOptions=o}else{this.mAggregatedQueryOptions=o;if(this.mLateQueryOptions){a(this.mLateQueryOptions,e)}}return true}return false};s.prototype.attachPatchCompleted=function(e,t){return this.attachEvent(\"patchCompleted\",e,t)};s.prototype.attachPatchSent=function(e,t){return this.attachEvent(\"patchSent\",e,t)};s.prototype.changeParameters=function(e){var t=Object.assign({},this.mParameters),r,i=[],s,a=this;function h(n){if(a.oModel.bAutoExpandSelect&&(n===\"$expand\"||n===\"$select\")){throw new Error(\"Cannot change \"+n+\" parameter in auto-$expand/$select mode: \"+JSON.stringify(e[n])+\" !== \"+JSON.stringify(t[n]))}if(n===\"$filter\"||n===\"$search\"){r=o.Filter}else if(n===\"$orderby\"&&r!==o.Filter){r=o.Sort}else{r??=o.Change}i.push(s)}this.checkTransient();if(!e){throw new Error(\"Missing map of binding parameters\")}for(s in e){if(s.startsWith(\"$$\")){if(this.isUnchangedParameter(s,e[s])){continue}throw new Error(\"Unsupported parameter: \"+s)}if(e[s]===undefined&&t[s]!==undefined){h(s);delete t[s]}else if(t[s]!==e[s]){h(s);if(typeof e[s]===\"object\"){t[s]=n.clone(e[s])}else{t[s]=e[s]}}}if(r){if(this.hasPendingChanges(true)){throw new Error(\"Cannot change parameters due to pending changes\")}this.applyParameters(t,r,i)}};s.prototype.checkUpdateInternal=function(e){var t=this;function n(){return i.all(t.getDependentBindings().map(function(e){return e.checkUpdateInternal()}))}if(e!==undefined){throw new Error(\"Unsupported operation: \"+a+\"#checkUpdateInternal must not\"+\" be called with parameters\")}return this.oCachePromise.then(function(e){if(e&&t.bRelative){return t.fetchResourcePath(t.oContext).then(function(r){if(e.getResourcePath()===r){return n()}return t.refreshInternal(\"\")})}return n()})};s.prototype.createInCache=function(e,t,r,i,o,s,a,h){var u=this;return this.oCachePromise.then(function(c){var d;if(c){d=n.getRelativePath(r,u.getResolvedPath());return c.create(e,t,d,i,o,s,a,h).then(function(e){if(u.mCacheByResourcePath){delete u.mCacheByResourcePath[c.getResourcePath()]}return e})}return u.oContext.getBinding().createInCache(e,t,r,i,o,s,a,h)})};s.prototype.createReadGroupLock=function(e,t,n){var i,o=this;function s(){o.oModel.addPrerenderingTask(function(){if(o.oReadGroupLock===i){n-=1;if(n>0){Promise.resolve().then(s)}else{r.debug(\"Timeout: unlocked \"+i,null,a);o.removeReadGroupLock()}}})}this.removeReadGroupLock();this.oReadGroupLock=i=this.lockGroup(e,t);if(t){n=2+(n||0);s()}};s.prototype.createRefreshPromise=function(e){var t,n;t=new Promise(function(e){n=e});t.$preventBubbling=e;t.$resolve=n;this.oRefreshPromise=t;return t};s.prototype.deleteFromCache=function(e,t,n,r,i){return this.withCache(function(n,o){return n._delete(e,t,o,r,i)},n,true)};s.prototype.destroy=function(){this.mAggregatedQueryOptions=undefined;this.aChildCanUseCachePromises=[];this.mChildPathsReducedToParent={};this.removeReadGroupLock();this.oRefreshPromise=undefined;this.oResumePromise=undefined;this.mCanUseCachePromiseByChildPath=undefined;t.prototype.destroy.call(this)};s.prototype.detachPatchCompleted=function(e,t){return this.detachEvent(\"patchCompleted\",e,t)};s.prototype.detachPatchSent=function(e,t){return this.detachEvent(\"patchSent\",e,t)};s.prototype.doSuspend=function(){};s.prototype.fetchIfChildCanUseCache=function(t,o,s,h){var u=this.getBaseForPathReduction(),c,d,f,p=t.getPath().includes(\"(...)\"),l=t.getIndex(),g=o[0]===\"#\",P=this.oModel.getMetaModel(),m=this.oContext,y,C=this.oModel.resolve(o,t),v=this;function R(){if(g){return P.fetchObject(c+\"/\")}return n.fetchPropertyAndType(v.oModel.oInterface.fetchMetadata,O(C))}function O(e){var t;e=n.getMetaPath(e);t=e.indexOf(\"@\");return t>0?e.slice(0,t):e}if(p&&!C.includes(\"/$Parameter/\")||this.isRootBindingSuspended()||n.isDataAggregation(this.mParameters)){return i.resolve(C)}f=this.mCanUseCachePromiseByChildPath[o];if(h&&this.oCache!==null&&f){return f.then(function(e){if(!e){return undefined}if(!o.includes(\"/\")||n.getMetaPath(e)===n.getMetaPath(C)){return C}return P.getReducedPath(C,u)})}d=this.oCachePromise.isRejected()||l!==undefined&&l!==e.VIRTUAL||t.isEffectivelyKeptAlive()||this.oCache===null||this.oCache&&this.oCache.hasSentRequest();c=n.getMetaPath(t.getPath());y=[this.doFetchOrGetQueryOptions(m),R(),s];f=i.all(y).then(function(e){var t=e[2]||{},i,s=e[0],f=e[1],l,y;if(Array.isArray(f)){return undefined}y=P.getReducedPath(C,u);l=n.getRelativePath(O(y),c);if(l===undefined){v.mChildPathsReducedToParent[o]=true;return m.getBinding().fetchIfChildCanUseCache(m,n.getRelativePath(C,m.getPath()),t,h)}if(p||l===\"$count\"||l.endsWith(\"/$count\")||l===\"$selectionCount\"){return y}if(v.bAggregatedQueryOptionsInitial){v.mAggregatedQueryOptions=n.clone(s);v.selectKeyProperties(v.mAggregatedQueryOptions,c);v.bAggregatedQueryOptionsInitial=false}if(g){i={$select:[l.slice(1)]};return v.aggregateQueryOptions(i,c,d,h)?y:undefined}if(l===\"\"||f&&(f.$kind===\"Property\"||f.$kind===\"NavigationProperty\")){i=n.wrapChildQueryOptions(c,l,t,v.oModel.oInterface.fetchMetadata);if(i){return v.aggregateQueryOptions(i,c,d,h)?y:undefined}return undefined}if(l===\"value\"){return v.aggregateQueryOptions(t,c,d,h)?y:undefined}r.error(\"Failed to enhance query options for auto-$expand/$select as the path '\"+C+\"' does not point to a property\",JSON.stringify(f),a);return undefined}).then(function(e){if(v.mLateQueryOptions&&!v.isTransient()){if(v.oCache){v.oCache.setLateQueryOptions(v.mLateQueryOptions)}else if(v.oCache===null){return m.getBinding().fetchIfChildCanUseCache(m,v.sPath,v.mLateQueryOptions).then(function(t){return t&&e})}}return e});if(h&&this.oCache!==null&&!t.getPath().includes(\"($uid=\")){this.mCanUseCachePromiseByChildPath[o]=f}this.aChildCanUseCachePromises.push(f);const $=d?f:i.all([this.oCachePromise,f]).then(function(e){var r=e[0];if(r&&!r.hasSentRequest()&&!v.oOperation){if(v.bSharedRequest){r.setActive(false);r=v.createAndSetCache(v.mAggregatedQueryOptions,r.getResourcePath(),t)}else{r.setQueryOptions(n.merge({},v.oModel.mUriParameters,v.mAggregatedQueryOptions))}}return r});$.catch(function(e){v.oModel.reportError(v+\": Failed to enhance query options for \"+\"auto-$expand/$select for child \"+o,a,e)});if(!d){this.oCachePromise=$}return f};s.prototype.fetchResolvedQueryOptions=function(e){var t,r,o,s=this.oModel,a=this.getQueryOptionsFromParameters(),h=this;if(!(s.bAutoExpandSelect&&a.$select)){return i.resolve(a)}t=s.oInterface.fetchMetadata;o=n.getMetaPath(s.resolve(this.sPath,e));r=Object.assign({},n.clone(a),{$select:[]});return i.all(a.$select.map(function(e){var i=o+\"/\"+e;if(i.endsWith(\".*\")){i=i.slice(0,-1)}return n.fetchPropertyAndType(t,i).then(function(s){if(!s&&!i.endsWith(\"/*\")){throw new Error(\"Invalid (navigation) property '\"+e+\"' in $select of \"+h)}const a=n.wrapChildQueryOptions(o,e,{},t);if(a){n.aggregateExpandSelect(r,a)}else{n.addToSelect(r,[e])}})})).then(function(){return r})};s.prototype.firePatchCompleted=function(e){if(this.iPatchCounter===0){throw new Error(\"Completed more PATCH requests than sent\")}this.iPatchCounter-=1;this.bPatchSuccess&&=e;if(this.iPatchCounter===0){this.fireEvent(\"patchCompleted\",{success:this.bPatchSuccess});this.bPatchSuccess=true}};s.prototype.firePatchSent=function(){this.iPatchCounter+=1;if(this.iPatchCounter===1){this.fireEvent(\"patchSent\")}};s.prototype.getBaseForPathReduction=function(){var e,t;if(!this.isRoot()){e=this.oContext.getBinding();t=e.getUpdateGroupId();if(t===this.getUpdateGroupId()||!this.oModel.isApiGroup(t)){return e.getBaseForPathReduction()}}return this.getResolvedPath()};s.prototype.getGeneration=function(){return this.bRelative&&this.oContext?.getGeneration?.()||0};s.prototype.getInheritableQueryOptions=function(){if(this.mLateQueryOptions){return n.merge({},this.mCacheQueryOptions,this.mLateQueryOptions)}return this.mCacheQueryOptions||n.getQueryOptionsForPath(this.oContext.getBinding().getInheritableQueryOptions(),this.sPath)};s.prototype.getQueryOptionsForPath=function(e,t){if(!n.isEmptyObject(this.mParameters)){return n.getQueryOptionsForPath(this.getQueryOptionsFromParameters(),e)}t??=this.oContext;if(!this.bRelative||!t.getQueryOptionsForPath){return{}}return t.getQueryOptionsForPath(n.buildPath(this.sPath,e))};s.prototype.getResumePromise=function(){return this.oResumePromise};s.prototype.hasPendingChangesInDependents=function(e,t){return this.getDependentBindings().some(function(n){var r=n.oCache,i,o=e;if(o){if(n.oContext.isEffectivelyKeptAlive()){return false}if(n.oContext.getIndex()!==undefined){o=false}}if(r!==undefined){if(r&&r.hasPendingChangesForPath(\"\",false,o&&n.mParameters&&n.mParameters.$$ownRequest)){return true}}else if(n.hasPendingChangesForPath(\"\")){return true}if(n.mCacheByResourcePath){i=Object.keys(n.mCacheByResourcePath).some(function(e){var i=n.mCacheByResourcePath[e];return(!t||e.startsWith(t.slice(1)))&&i!==r&&i.hasPendingChangesForPath(\"\")});if(i){return true}}return n.hasPendingChangesInDependents(o,t)})||this.oModel.withUnresolvedBindings(\"hasPendingChangesInCaches\",this.getResolvedPath().slice(1))};s.prototype.isMeta=function(){return false};s.prototype.isPatchWithoutSideEffects=function(){return this.mParameters.$$patchWithoutSideEffects||!this.isRoot()&&this.oContext&&this.oContext.getBinding().isPatchWithoutSideEffects()};s.prototype.isRefreshWithoutBubbling=function(){return this.oRefreshPromise&&this.oRefreshPromise.$preventBubbling};s.prototype.isUnchangedParameter=function(e,t){return this.mParameters[e]===t};s.prototype.onDelete=function(e){var t=this.findContextForCanonicalPath(e);if(t){this.resetChangesForPath(this.getRelativePath(t.getPath()),[]);this.oModel.getDependentBindings(t).forEach(function(e){e.resetChanges()});this.delete(null,e.slice(1),t)}};s.prototype.refreshDependentListBindingsWithoutCache=function(){return i.all(this.getDependentBindings().map(function(e){if(e.filter&&e.oCache===null){return e.refreshInternal(\"\")}if(e.refreshDependentListBindingsWithoutCache){return e.refreshDependentListBindingsWithoutCache()}}))};s.prototype.removeReadGroupLock=function(){if(this.oReadGroupLock){this.oReadGroupLock.unlock(true);this.oReadGroupLock=undefined}};s.prototype.resetChangesInDependents=function(e,t){this.getDependentBindings().forEach(function(n){e.push(n.oCachePromise.then(function(e){if(e){e.resetChangesForPath(\"\")}n.resetInvalidDataState()}).unwrap());if(n.mCacheByResourcePath){Object.keys(n.mCacheByResourcePath).forEach(function(e){if(!t||e.startsWith(t.slice(1))){n.mCacheByResourcePath[e].resetChangesForPath(\"\")}})}n.resetChangesInDependents(e,t)})};s.prototype.resolveRefreshPromise=function(e){if(this.oRefreshPromise){this.oRefreshPromise.$resolve(e.catch(function(e){if(!e.canceled){throw e}}));this.oRefreshPromise=null}return e};s.prototype.resume=function(){this._resume(false)};s.prototype.resumeAsync=function(){this._resume(true);return Promise.resolve(this.oResumePromise)};s.prototype.selectKeyProperties=function(e,t){n.selectKeyProperties(e,this.oModel.getMetaModel().getObject(t+\"/\"))};s.prototype.suspend=function(){var e;if(this.oOperation){throw new Error(\"Cannot suspend an operation binding: \"+this)}if(!this.isRoot()){throw new Error(\"Cannot suspend a relative binding: \"+this)}if(this.bSuspended){throw new Error(\"Cannot suspend a suspended binding: \"+this)}if(this.hasPendingChanges(true)){throw new Error(\"Cannot suspend a binding with pending changes: \"+this)}this.bSuspended=true;this.oResumePromise=new i(function(t){e=t});this.oResumePromise.$resolve=e;this.removeReadGroupLock();this.doSuspend()};s.prototype.updateAfterCreate=function(e,t){return i.all(this.getDependentBindings().map(function(n){return n.updateAfterCreate(e,t)}))};s.prototype.updateAggregatedQueryOptions=function(e){var t=this.mAggregatedQueryOptions,n=Object.keys(e),r=this;if(t){n=n.concat(Object.keys(t));n.forEach(function(n){if(r.bAggregatedQueryOptionsInitial||n!==\"$select\"&&n!==\"$expand\"){if(e[n]===undefined){delete t[n]}else{t[n]=e[n]}}});if(t.$select&&!t.$select.length){t.$select=[Object.keys(t.$expand)[0]]}}};s.prototype.visitSideEffects=function(e,t,r,i,o){var s=r?this.oModel.getDependentBindings(r):this.getDependentBindings();s.forEach(function(r){var s=n.buildPath(o,r.oOperation?\"\":n.getMetaPath(r.getPath())),a;if(r.oCache){a=n.stripPathPrefix(s,t);if(a.length){i.push(r.requestSideEffects(e,a))}}else{r.visitSideEffects(e,t,null,i,s)}})};function h(e){if(this){s.apply(this,arguments)}else{Object.assign(e,s.prototype)}}[\"adjustPredicate\",\"destroy\",\"getGeneration\",\"hasPendingChangesForPath\",\"isUnchangedParameter\",\"updateAfterCreate\"].forEach(function(e){h.prototype[e]=s.prototype[e]});return h},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/ODataPropertyBinding\", [\"./Context\",\"./ODataBinding\",\"./lib/_Cache\",\"./lib/_Helper\",\"sap/base/Log\",\"sap/ui/base/SyncPromise\",\"sap/ui/model/BindingMode\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/PropertyBinding\"],function(e,t,o,n,i,s,r,a,h){\"use strict\";var d=\"sap.ui.model.odata.v4.ODataPropertyBinding\",u=Object.freeze([]),p={AggregatedDataStateChange:true,change:true,dataReceived:true,dataRequested:true,DataStateChange:true},c=\"/\"+e.VIRTUAL,l=h.extend(\"sap.ui.model.odata.v4.ODataPropertyBinding\",{constructor:f});function f(e,o,i,s){h.call(this,e,o);t.call(this);if(o.endsWith(\"/\")){throw new Error(\"Invalid path: \"+o)}this.mScope=undefined;if(s){if(typeof s.scope===\"object\"){this.mScope=s.scope;s={...s};delete s.scope}this.checkBindingParameters(s,[\"$$groupId\",\"$$ignoreMessages\",\"$$noPatch\"]);this.sGroupId=s.$$groupId;this.bNoPatch=s.$$noPatch;this.setIgnoreMessages(s.$$ignoreMessages)}else{this.sGroupId=undefined;this.bNoPatch=false}if(this.sPath===\"@$ui5.context.isSelected\"){this.bNoPatch=true}this.oCheckUpdateCallToken=undefined;this.oContext=i;this.bHasDeclaredType=undefined;this.bInitial=true;this.mQueryOptions=this.oModel.buildQueryOptions(n.clone(s),o.endsWith(\"$count\"));this.vValue=undefined;this.fetchCache(i);e.bindingCreated(this)}t(l.prototype);l.prototype.attachEvent=function(e,t,o,n){if(!(e in p)){throw new Error(\"Unsupported event '\"+e+\"': v4.ODataPropertyBinding#attachEvent\")}return h.prototype.attachEvent.apply(this,arguments)};l.prototype.checkUpdateInternal=function(e,t,o,h,u){var p=false,l=this.sPath.indexOf(\"##\"),f=l>=0,g=this.oModel.getMetaModel(),y={data:{}},C=this.getResolvedPath(),v={forceUpdate:C&&(e||e===undefined&&this.getDataState().getControlMessages().length>0||this.oCheckUpdateCallToken&&this.oCheckUpdateCallToken.forceUpdate)},P=this.oType,R=this;this.oCheckUpdateCallToken=v;if(!P&&C&&this.sInternalType!==\"any\"&&!f&&!C.includes(c)){P=g.fetchUI5Type(this.sReducedPath||C)}if(u===undefined){u=this.oCachePromise.then(function(e){var t,n;if(e){return e.fetchValue(R.lockGroup(o||R.getGroupId()),undefined,function(){p=true;R.fireDataRequested(h)},R).then(function(t){R.checkSameCache(e);return t})}if(!R.isResolved()){return undefined}if(C.includes(c)){v.forceUpdate=false}if(!f){return R.oContext.fetchValue(R.sReducedPath,R)}t=R.sPath.slice(0,l);n=R.sPath.slice(l+2);if(n[0]===\"/\"){n=\".\"+n}return g.fetchObject(n,g.getMetaContext(R.oModel.resolve(t,R.oContext)),R.mScope&&{scope:R.mScope})}).then(function(e){if(!e||typeof e!==\"object\"){return e}if(R.sInternalType===\"any\"&&(R.getBindingMode()===r.OneTime||!f&&(R.getBindingMode()===r.OneWay||R.sPath[R.sPath.lastIndexOf(\"/\")+1]===\"#\"))){if(f){return e}else if(R.bRelative){return n.publicClone(e)}}i.error(\"Accessed value is not primitive\",C,d)},function(e){R.oModel.reportError(\"Failed to read path \"+C,d,e);if(e.canceled){v.forceUpdate=false;return R.vValue}y={error:e}});if(e&&u.isFulfilled()){if(P&&P.isFulfilled&&P.isFulfilled()){this.doSetType(P.getResult())}this.vValue=u.getResult()}u=Promise.resolve(u)}else if(u&&typeof u===\"object\"){u=n.publicClone(u)}return s.all([u,P]).then(function(e){var o=e[1],n=e[0];if(v===R.oCheckUpdateCallToken){R.oCheckUpdateCallToken=undefined;R.doSetType(o);if(v.forceUpdate||R.vValue!==n){R.bInitial=false;R.vValue=n;R._fireChange({reason:t||a.Change})}R.checkDataState()}if(p){R.fireDataReceived(y,h)}if(y.error){throw y.error}})};l.prototype.destroy=function(){this.oModel.bindingDestroyed(this);this.oCheckUpdateCallToken=undefined;this.mQueryOptions=undefined;this.mScope=undefined;this.vValue=undefined;t.prototype.destroy.call(this);h.prototype.destroy.apply(this,arguments)};l.prototype.doCreateCache=function(e,t){return o.createProperty(this.oModel.oRequestor,e,t)};l.prototype.doFetchOrGetQueryOptions=function(){return this.isRoot()?this.mQueryOptions:undefined};l.prototype.doSetType=function(e){h.prototype.setType.call(this,e,this.sInternalType)};l.prototype.getDependentBindings=function(){return u};l.prototype.getResumePromise=function(){};l.prototype.getValue=function(){return this.vValue};l.prototype.getValueListType=function(){var e=this.getResolvedPath();if(!e){throw new Error(this+\" is unresolved\")}return this.getModel().getMetaModel().getValueListType(e)};l.prototype.hasPendingChangesInDependents=function(){return false};l.prototype.initialize=function(){if(this.isResolved()){if(this.isRootBindingSuspended()){this.sResumeChangeReason=a.Change}else{this.checkUpdate(true)}}};l.prototype.isMeta=function(){return this.sPath.includes(\"##\")};l.prototype.onChange=function(e,t){this.checkUpdateInternal(t,undefined,undefined,false,e).catch(this.oModel.getReporter())};l.prototype.onDelete=function(){};l.prototype.refreshInternal=function(e,t,o,n){var i=this;if(this.isRootBindingSuspended()){this.refreshSuspended(t);return s.resolve()}return this.oCachePromise.then(function(){if(i.oCache&&i.oCache.reset){i.oCache.reset()}else{i.fetchCache(i.oContext,false,true,t,n)}if(o){return i.checkUpdateInternal(undefined,a.Refresh,t,n)}})};l.prototype.requestValue=function(){var e=this;return Promise.resolve(this.checkUpdateInternal(false).then(function(){return e.getValue()}))};l.prototype.requestValueListInfo=function(e){var t=this.getResolvedPath();if(!t){throw new Error(this+\" is unresolved\")}return this.getModel().getMetaModel().requestValueListInfo(t,e,this.oContext)};l.prototype.requestValueListType=function(){var e=this.getResolvedPath();if(!e){throw new Error(this+\" is unresolved\")}return this.getModel().getMetaModel().requestValueListType(e)};l.prototype.resetChangesInDependents=function(){};l.prototype.resetInvalidDataState=function(){if(this.getDataState().isControlDirty()){this._fireChange({reason:a.Change})}};l.prototype.resume=function(){throw new Error(\"Unsupported operation: resume\")};l.prototype.resumeInternal=function(e,t){var o=this.sResumeChangeReason;this.sResumeChangeReason=undefined;this.fetchCache(this.oContext);if(e){this.checkUpdateInternal(t?undefined:false,o).catch(this.oModel.getReporter())}};l.prototype.setContext=function(e){if(this.oContext!==e){if(this.bRelative){this.checkSuspended(true);this.deregisterChangeListener();if(e){if(this.oType&&!this.bHasDeclaredType&&n.getMetaPath(this.oModel.resolve(this.sPath,e))!==n.getMetaPath(this.sReducedPath)){this.doSetType(undefined)}this.sReducedPath=undefined}}this.oContext=e;this.sResumeChangeReason=undefined;if(this.bRelative){this.fetchCache(this.oContext);this.checkUpdateInternal(this.bInitial||undefined,a.Context).catch(this.oModel.getReporter())}}};l.prototype.setType=function(e,t){var o=this.oType;this.bHasDeclaredType=!!e;if(e&&e.getName()===\"sap.ui.model.odata.type.DateTimeOffset\"){e.setV4()}h.prototype.setType.apply(this,arguments);if(!this.bInitial&&o!==e){this._fireChange({reason:a.Change})}};l.prototype.setValue=function(e,t){var o,i,s=this.getResolvedPath(),r=this;function h(e){r.oModel.reportError(\"Failed to update path \"+s,d,e);return e}this.checkSuspended();if(this.bNoPatch&&t){throw h(new Error(\"Must not specify a group ID (\"+t+\") with $$noPatch\"))}n.checkGroupId(t);if(typeof e===\"function\"||e&&typeof e===\"object\"){throw h(new Error(\"Not a primitive value\"))}if(!this.bNoPatch&&this.vValue===undefined){throw h(new Error(\"Must not change a property before it has been read\"))}if(this.vValue!==e){if(this.oCache){h(new Error(\"Cannot set value on this binding as it is not relative\"+\" to a sap.ui.model.odata.v4.Context\"));return}o=this.bNoPatch?null:this.lockGroup(t,true,true);i=this.oContext.doSetProperty(this.sPath,e,o);i.catch(function(e){if(o){o.unlock(true)}h(e)});if(!i.isRejected()&&r.oModel.hasListeners(\"propertyChange\")){r.oModel.firePropertyChange({context:r.oContext,path:r.sPath,promise:i.isPending()?i.getResult():undefined,reason:a.Binding,resolvedPath:s,value:e})}}};l.prototype.supportsIgnoreMessages=function(){return true};l.prototype.suspend=function(){throw new Error(\"Unsupported operation: suspend\")};l.prototype.updateAfterCreate=function(){return this.checkUpdateInternal()};l.prototype.visitSideEffects=function(){};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/ODataUtils\", [\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/model/odata/v4/lib/_Batch\",\"sap/ui/model/odata/v4/lib/_Helper\"],function(e,t,a,r,i){\"use strict\";var n,s,o=\"\\\\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\\\\d|3[01])\",u,c=\"(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d(\\\\.\\\\d{1,12})?)?\",p=new RegExp(\"^\"+o+\"$\"),d=new RegExp(\"^\"+o+\"T\"+c+\"(?:Z|[-+](?:0\\\\d|1[0-3]):[0-5]\\\\d|[-+]14:00)$\",\"i\"),f=new RegExp(\"^\"+c+\"$\"),m={_setDateTimeFormatter:function(){n=t.getDateInstance({calendarType:e.Gregorian,pattern:\"yyyy-MM-dd\",strictParsing:true,UTC:true});s=t.getDateTimeInstance({calendarType:e.Gregorian,pattern:\"yyyy-MM-dd'T'HH:mm:ss.SSSXXX\",strictParsing:true});u=t.getTimeInstance({calendarType:e.Gregorian,pattern:\"HH:mm:ss.SSS\",strictParsing:true,UTC:true})},compare:function(e,t,r){if(r===true||r===\"Decimal\"){return a.compare(e,t,true)}if(r===\"DateTime\"){return a.compare(m.parseDateTimeOffset(e),m.parseDateTimeOffset(t))}return a.compare(e,t)},deserializeBatchResponse:function(e,t){return r.deserializeBatchResponse(e,t)},formatLiteral:function(e,t){return i.formatLiteral(e,t)},parseDate:function(e){var t=p.test(e)&&n.parse(e);if(!t){throw new Error(\"Not a valid Edm.Date value: \"+e)}return t},parseDateTimeOffset:function(e){var t,a=d.exec(e);if(a){if(a[1]&&a[1].length>4){e=e.replace(a[1],a[1].slice(0,4))}t=s.parse(e.toUpperCase())}if(!t){throw new Error(\"Not a valid Edm.DateTimeOffset value: \"+e)}return t},parseTimeOfDay:function(e){var t;if(f.test(e)){if(e.length>12){e=e.slice(0,12)}t=u.parse(e)}if(!t){throw new Error(\"Not a valid Edm.TimeOfDay value: \"+e)}return t},serializeBatchRequest:function(e,t){return r.serializeBatchRequest(e,t)}};m._setDateTimeFormatter();return m},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/SubmitMode\", function(){\"use strict\";var t={API:\"API\",Auto:\"Auto\",Direct:\"Direct\"};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/ValueListType\", function(){\"use strict\";var e={None:\"None\",Fixed:\"Fixed\",Standard:\"Standard\"};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/_AnnotationHelperExpression\", [\"../_AnnotationHelperBasics\",\"sap/base/Log\",\"sap/ui/base/BindingInfo\",\"sap/ui/base/BindingParser\",\"sap/ui/base/SyncPromise\",\"sap/ui/performance/Measurement\"],function(e,t,n,r,a,i){\"use strict\";var s=\"sap.ui.model.odata.v4.AnnotationHelper\",u=[s],o=s+\"/getExpression\",l=/^{@i18n>[^\\\\{}:]+}$/,c={And:\"&&\",Eq:\"===\",Ge:\">=\",Gt:\">\",Le:\"<=\",Lt:\"<\",Ne:\"!==\",Not:\"!\",Or:\"||\"},p=false,f={\"Edm.Boolean\":\"boolean\",\"Edm.Byte\":\"number\",\"Edm.Date\":\"Date\",\"Edm.DateTimeOffset\":\"DateTimeOffset\",\"Edm.Decimal\":\"Decimal\",\"Edm.Double\":\"number\",\"Edm.Guid\":\"string\",\"Edm.Int16\":\"number\",\"Edm.Int32\":\"number\",\"Edm.Int64\":\"Decimal\",\"Edm.SByte\":\"number\",\"Edm.Single\":\"number\",\"Edm.String\":\"string\",\"Edm.TimeOfDay\":\"TimeOfDay\"},m={Bool:\"Edm.Boolean\",Float:\"Edm.Double\",Date:\"Edm.Date\",DateTimeOffset:\"Edm.DateTimeOffset\",Decimal:\"Edm.Decimal\",Guid:\"Edm.Guid\",Int:\"Edm.Int64\",Int32:\"Edm.Int32\",String:\"Edm.String\",TimeOfDay:\"Edm.TimeOfDay\"},d={boolean:false,Date:false,DateTimeOffset:true,Decimal:true,number:false,string:false,TimeOfDay:false},y;function g(e,t){return a.resolve().then(function(){h(e,t)})}function h(t,n){e.error(t,n,s)}y={adjustOperands:function(e,t){if(e.result!==\"constant\"&&e.category===\"number\"&&t.result===\"constant\"&&t.type===\"Edm.Int64\"){t.category=\"number\"}if(e.result!==\"constant\"&&e.categ Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_MetadataConverter\", [\"./_Helper\",\"sap/base/Log\",\"sap/ui/performance/Measurement\"],function(e,t,o){\"use strict\";var s=\"sap.ui.model.odata.v4.lib._MetadataConverter\";function r(){this.aliases={};this.oAnnotatable=null;this.entityContainer=null;this.entitySet=null;this.namespace=null;this.oOperation=null;this.reference=null;this.schema=null;this.type=null;this.result=null;this.url=null;this.xmlns=null}r.prototype.rCollection=/^Collection\\((.*)\\)$/;r.prototype.sEdmNamespace=\"http://docs.oasis-open.org/odata/ns/edm\";r.prototype.sEdmxNamespace=\"http://docs.oasis-open.org/odata/ns/edmx\";r.prototype.addToResult=function(e,o){if(e in this.result){t.warning(\"Duplicate qualified name \"+e,undefined,s)}this.result[e]=o};r.prototype.annotatable=function(t,o,s){var r,n,a;if(typeof t===\"string\"){r=this.oAnnotatable;if(r){t=e.buildPath(r.path,t)}a=t;n=this.schema.$Annotations;if(n&&n[t]){t=n[t]}}this.oAnnotatable={parent:this.oAnnotatable,path:a,prefix:o||\"\",qualifiedName:undefined,qualifier:s,target:t}};r.prototype.convertXMLMetadata=function(e,t,s){var r;o.average(\"convertXMLMetadata\",\"\",\"sap.ui.model.odata.v4.lib._V4MetadataConverter\");r=e.documentElement;if(r.localName!==\"Edmx\"||r.namespaceURI!==this.sRootNamespace){throw new Error(t+\": expected <Edmx> in namespace '\"+this.sRootNamespace+\"'\")}this.result={};this.url=t;this.bIgnoreAnnotations=s;this.traverse(r,this.oAliasConfig);this.traverse(r,this.oFullConfig,true);this.finalize();o.end(\"convertXMLMetadata\");return this.result};r.prototype.getAnnotationValue=function(t,o){var s,r,n;switch(t){case\"AnnotationPath\":case\"NavigationPropertyPath\":case\"Path\":case\"PropertyPath\":o=this.resolveAliasInPath(o);case\"Binary\":case\"Date\":case\"DateTimeOffset\":case\"Decimal\":case\"Duration\":case\"Guid\":case\"TimeOfDay\":case\"UrlRef\":s={};s[\"$\"+t]=o;return s;case\"Bool\":return o===\"true\";case\"EnumMember\":r=o.trim().replace(/ +/g,\" \").split(\" \");for(n=0;n<r.length;n+=1){r[n]=this.resolveAliasInPath(r[n])}return{$EnumMember:r.join(\" \")};case\"Float\":if(o===\"NaN\"||o===\"INF\"||o===\"-INF\"){return{$Float:o}}return parseFloat(o);case\"Int\":s=parseInt(o);return e.isSafeInteger(s)?s:{$Int:o};case\"String\":return o;default:return undefined}};r.prototype.getInlineAnnotationValue=function(e){var t,o=e.attributes,s,r;for(r=o.length-1;r>=0;r-=1){t=o.item(r);s=this.getAnnotationValue(t.name,t.value);if(s!==undefined){return s}}return true};r.prototype.getOrCreateArray=function(e,t){var o=e[t];o??=e[t]=[];return o};r.prototype.getOrCreateObject=function(e,t){var o=e[t];o??=e[t]={};return o};r.prototype.postProcessAnnotation=function(e,t){var o=this.oAnnotatable.parent;if(!this.bIgnoreAnnotations){o.target[o.qualifiedName]=t.length?t[0]:this.getInlineAnnotationValue(e)}};r.prototype.postProcessApply=function(e,t){var o=this.oAnnotatable.target;o.$Apply=t;o.$Function=this.resolveAlias(e.getAttribute(\"Function\"));return o};r.prototype.postProcessCastOrIsOf=function(e,t){var o=e.localName,s=this.oAnnotatable.target;s[\"$\"+o]=t[0];this.processTypedCollection(e.getAttribute(\"Type\"),s);this.processFacetAttributes(e,s);return s};r.prototype.postProcessCollection=function(e,t){return t};r.prototype.postProcessLabeledElement=function(e,t){var o=this.oAnnotatable.target;o.$LabeledElement=t.length?t[0]:this.getInlineAnnotationValue(e);o.$Name=e.getAttribute(\"Name\");return o};r.prototype.postProcessLabeledElementReference=function(e,t){return{$LabeledElementReference:this.resolveAlias(e.textContent)}};r.prototype.postProcessLeaf=function(e,t){return this.getAnnotationValue(e.localName,e.textContent)};r.prototype.postProcessNot=function(e,t){var o=this.oAnnotatable.target;o.$Not=t[0];return o};r.prototype.postProcessNull=function(e,t){var o=this.oAnnotatable,s=null;if(o.qualifiedName){s=o.target;s.$Null=null}return s};r.prototype.postProcessOperation=function(e,t){var o=this.oAnnotatable.target;o[\"$\"+e.localName]=t;return o};r.prototype.postProcessPropertyValue=function(e,t){return{property:e.getAttribute(\"Property\"),value:t.length?t[0]:this.getInlineAnnotationValue(e)}};r.prototype.postProcessRecord=function(e,t){var o,s=this.oAnnotatable.target,r=e.getAttribute(\"Type\"),n;if(r){s.$Type=this.resolveAlias(r)}for(n=0;n<t.length;n+=1){o=t[n];s[o.property]=o.value}return s};r.prototype.postProcessUrlRef=function(e,t){return{$UrlRef:t[0]}};r.prototype.processAlias=function(e){var t=e.getAttribute(\"Alias\");if(t){this.aliases[t]=e.getAttribute(\"Namespace\")+\".\"}};r.prototype.processAnnotatableExpression=function(e){this.annotatable({})};r.prototype.processAnnotation=function(e){var t=this.oAnnotatable,o,s=t.prefix+\"@\"+this.resolveAlias(e.getAttribute(\"Term\")),r=t.qualifier||e.getAttribute(\"Qualifier\");if(r){s+=\"#\"+r}if(typeof t.target===\"string\"){o=this.getOrCreateObject(this.schema,\"$Annotations\");if(this.bIgnoreAnnotations){return}t.target=o[t.target]={}}t.qualifiedName=s;this.annotatable(t.target,s)};r.prototype.processAnnotations=function(e){this.annotatable(this.resolveAliasInPath(e.getAttribute(\"Target\"),true),undefined,e.getAttribute(\"Qualifier\"))};r.prototype.processAttributes=function(e,t,o){var s,r;for(s in o){r=o[s](e.getAttribute(s));if(r!==undefined&&r!==null){t[\"$\"+s]=r}}};r.prototype.processInclude=function(e){var t=this.getOrCreateArray(this.reference,\"$Include\");t.push(e.getAttribute(\"Namespace\")+\".\")};r.prototype.processIncludeAnnotations=function(e){var t=this.reference,o={$TermNamespace:e.getAttribute(\"TermNamespace\")+\".\"},s=this.getOrCreateArray(t,\"$IncludeAnnotations\");this.processAttributes(e,o,{TargetNamespace:function e(t){return t?t+\".\":t},Qualifier:this.setValue});s.push(o)};r.prototype.processPropertyValue=function(e){this.annotatable(this.oAnnotatable.target,e.getAttribute(\"Property\"))};r.prototype.processReference=function(e){var t=this.getOrCreateObject(this.result,\"$Reference\");this.reference=t[e.getAttribute(\"Uri\")]={};this.annotatable(this.reference)};r.prototype.resolveAlias=function(e){var t=e?e.indexOf(\".\"):-1,o;if(t>=0&&!e.includes(\".\",t+1)){o=this.aliases[e.slice(0,t)];if(o){return o+e.slice(t+1)}}return e};r.prototype.resolveAliasInParentheses=function(e,t){var o=e?t.indexOf(\"(\"):-1;if(o>=0){return this.resolveAlias(t.slice(0,o))+\"(\"+t.slice(o+1,-1).split(\",\").map(this.resolveAliasInParentheses.bind(this,e)).join(\",\")+\")\"}return this.resolveAlias(t)};r.prototype.resolveAliasInPath=function(e,t){var o,s=\"\";if(!e.includes(\".\")){return e}o=e.indexOf(\"@\");if(o>=0){s=\"@\"+this.resolveAlias(e.slice(o+1));e=e.slice(0,o)}return e.split(\"/\").map(this.resolveAliasInParentheses.bind(this,t)).join(\"/\")+s};r.prototype.setIfFalse=function(e){return e===\"false\"?false:undefined};r.prototype.setIfTrue=function(e){return e===\"true\"?true:undefined};r.prototype.setNumber=function(e){return e?parseInt(e):undefined};r.prototype.setValue=function(e){return e};r.prototype.traverse=function(e,t,o){var s=this.oAnnotatable,r,n=e.childNodes,a,i,p,c,l=this.xmlns,u,f=[],_=t.__xmlns||this.xmlns,h,A;if(_&&_!==e.namespaceURI){return undefined}this.xmlns=_;if(o){this.processElement(e,t.__processor)}else if(t.__processor){t.__processor.call(this,e)}for(h=0;h<n.length;h+=1){a=n.item(h);if(a.nodeType===1){c=a.localName;r=t[c];if(!r&&t.__include){p=t.__include;for(A=0;A<p.length;A+=1){r=p[A][c];if(r){break}}}if(r){i=this.traverse(a,r,o);if(i!==undefined&&t.__postProcessor){f.push(i)}}}}if(t.__postProcessor){u=t.__postProcessor.call(this,e,f)}this.oAnnotatable=s;this.xmlns=l;return u};(function(e){var t,o,s,r,n;s={AnnotationPath:{__postProcessor:e.postProcessLeaf},Binary:{__postProcessor:e.postProcessLeaf},Bool:{__postProcessor:e.postProcessLeaf},Date:{__postProcessor:e.postProcessLeaf},DateTimeOffset:{__postProcessor:e.postProcessLeaf},Decimal:{__postProcessor:e.postProcessLeaf},Duration:{__postProcessor:e.postProcessLeaf},EnumMember:{__postProcessor:e.postProcessLeaf},Float:{__postProcessor:e.postProcessLeaf},Guid:{__postProcessor:e.postProcessLeaf},Int:{__postProcessor:e.postProcessLeaf},LabeledElementReference:{__postProcessor:e.postProcessLabeledElementReference},NavigationPropertyPath:{__postProcessor:e.postProcessLeaf},Path:{__postProcessor:e.postProcessLeaf},PropertyPath:{__postProcessor:e.postProcessLeaf},String:{__postProcessor:e.postProcessLeaf},TimeOfDay:{__postProcessor:e.postProcessLeaf}};r=[s];e.oAnnotationConfig={Annotation:{__xmlns:e.sEdmNamespace,__processor:e.processAnnotation,__postProcessor:e.postProcessAnnotation,__include:r}};t=[s,e.oAnnotationConfig];n={__processor:e.processAnnotatableExpression,__postProcessor:e.postProcessOperation,__include:t};o={And:n,Apply:{__processor:e.processAnnotatableExpression,__postProcessor:e.postProcessApply,__include:t},Cast:{__processor:e.processAnnotatableExpression,__postProcessor:e.postProcessCastOrIsOf,__include:t},Collection:{__postProcessor:e.postProcessCollection,__include:r},Eq:n,Ge:n,Gt:n,If:n,IsOf:{__processor:e.processAnnotatableExpression,__postProcessor:e.postProcessCastOrIsOf,__include:t},LabeledElement:{__processor:e.processAnnotatableExpression,__postProcessor:e.postProcessLabeledElement,__include:t},Le:n,Lt:n,Ne:n,Null:{__processor:e.processAnnotatableExpression,__postProcessor:e.postProcessNull,__include:[e.oAnnotationConfig]},Not:{__processor:e.processAnnotatableExpression,__postProcessor:e.postProcessNot,__include:t},Or:n,Record:{__processor:e.processAnnotatableExpression,__postProcessor:e.postProcessRecord,__include:[e.oAnnotationConfig],PropertyValue:{__processor:e.processPropertyValue,__postProcessor:e.postProcessPropertyValue,__include:t}},UrlRef:{__postProcessor:e.postProcessUrlRef,__include:r}};e.oAnnotationsConfig={Annotations:{__processor:e.processAnnotations,__include:[e.oAnnotationConfig]}};r.push(o);t.push(o);e.oAnnotationConfig.Annotation.Annotation=e.oAnnotationConfig.Annotation;e.oReferenceInclude={Reference:{__xmlns:e.sEdmxNamespace,__processor:e.processReference,__include:[e.oAnnotationConfig],Include:{__processor:e.processInclude},IncludeAnnotations:{__processor:e.processIncludeAnnotations}}}})(r.prototype);return r},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_MetadataRequestor\", [\"./_Helper\",\"./_V2MetadataConverter\",\"./_V4MetadataConverter\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\"],function(e,t,a,r,jQuery){\"use strict\";return{create:function(n,i,s,o,d,u){var f={},c=e.buildQuery(o);return{read:function(l,p,h){var M;function g(e){var r=i===\"4.0\"||p?a:t,n=e.$XML,o=s&&!p;delete e.$XML;return Object.assign((new r).convertXMLMetadata(n,l,o),e)}if(l in f){if(h){throw new Error(\"Must not prefetch twice: \"+l)}M=f[l].then(g);delete f[l]}else{M=new Promise(function(t,a){function i(){const s={method:\"GET\",headers:n};if(d){s.xhrFields={withCredentials:true}}jQuery.ajax(p?l:l+c,s).then(function(e,a,r){var n=r.getResponseHeader(\"Date\"),i=r.getResponseHeader(\"ETag\"),s={$XML:e},o=r.getResponseHeader(\"Last-Modified\");if(n){s.$Date=n}if(i){s.$ETag=i}if(o){s.$LastModified=o}t(s)},function(t){var n=e.createError(t,\"Could not load metadata\");if(t.status===503&&t.getResponseHeader(\"Retry-After\")&&u(n)){u().then(i,a)}else{r.error(\"GET \"+l,n.message,\"sap.ui.model.odata.v4.lib._MetadataRequestor\");a(n)}})}const s=u();if(s){s.then(i,a)}else{i()}if(!p&&o&&\"sap-context-token\"in o){delete o[\"sap-context-token\"];c=e.buildQuery(o)}});if(h){f[l]=M}else{M=M.then(g)}}return M}}}}},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_MinMaxHelper\", [\"./_Cache\",\"./_ConcatHelper\"],function(e,n){\"use strict\";return{createCache:function(r,t,u,a){var c={},i,o,f=new Promise(function(e){o=e});function s(e){var n,r={};function t(e){r[e]??={};return r[e]}for(n in c){t(c[n].measure)[c[n].method]=e[n]}o(r)}i=e.create(r,t,a,true);n.enhanceCache(i,u,[s],c);i.getMeasureRangePromise=function(){return f};return i}}},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_Parser\", [],function(){\"use strict\";var e=\"[=(),; \\t\\\"']|%(09|20|22|27|28|29|2c|2C|3b|3B)\",t=\"\\\\$\\\\w+\",n=\"[a-zA-Z_\\\\u0080-\\\\uFFFF][\\\\w\\\\u0080-\\\\uFFFF]*\",r=\"(?:[ \\\\t]|%09|%20)\",i=new RegExp(r+\"+\",\"g\"),a=new RegExp(\"^not\"+r+\"+\"),s=\"(\"+r+\"+)(and|eq|ge|gt|le|lt|ne|or)\"+r+\"+\",o=\"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\",u=\"(?:\\\\*|%2[aA])\",p=n+\"(?:[./]\"+n+\")*\"+\"(?:[./]\"+u+\"|/\\\\$ref|/\\\\$count)?\",c=u+\"(?:/\\\\$ref)?\",f=p+\"|\"+c,h='(?:[-+:./\\\\w\"]|%2[bB]|%3[aA])+',d=new RegExp(\"^(?:\"+s+\"|\"+e+\"|(\"+o+\")|(\"+f+\")|(\"+h+\")|(\"+t+\"))\"),l=/^[0-9a-f]{2}$/i,v={ceiling:{ambiguousParameters:true},concat:{type:\"Edm.String\"},contains:{type:\"Edm.Boolean\"},day:{type:\"Edm.Int32\",ambiguousParameters:true},endswith:{type:\"Edm.Boolean\"},floor:{ambiguousParameters:true},hour:{type:\"Edm.Int32\",ambiguousParameters:true},indexof:{type:\"Edm.Int32\"},length:{type:\"Edm.Int32\"},minute:{type:\"Edm.Int32\",ambiguousParameters:true},month:{type:\"Edm.Int32\",ambiguousParameters:true},round:{ambiguousParameters:true},second:{type:\"Edm.Int32\",ambiguousParameters:true},startswith:{type:\"Edm.Boolean\"},substring:{type:\"Edm.String\"},tolower:{type:\"Edm.String\"},toupper:{type:\"Edm.String\"},trim:{type:\"Edm.String\"},year:{type:\"Edm.Int32\",ambiguousParameters:true}},y={\"(\":{lbp:9,led:function(e,t){var n,r;if(t.id!==\"PATH\"){this.error(\"Unexpected \",e)}n=v[t.value];if(!n){this.error(\"Unknown function \",t)}t.id=\"FUNCTION\";if(n.type){t.type=n.type}t.parameters=[];do{this.advanceBws();r=this.expression(0);if(n.ambiguousParameters){r.ambiguous=true}t.parameters.push(r);this.advanceBws()}while(this.advanceIf(\",\"));this.advanceBws();this.advance(\")\");return t},nud:function(){var e;this.advanceBws();e=this.expression(0);this.advanceBws();this.advance(\")\");return e}},not:{lbp:7,nud:function(e){e.precedence=7;e.right=this.expression(7);e.type=\"Edm.Boolean\";return e}}};function m(e,t){y[e]={lbp:t,led:function(e,n){e.type=\"Edm.Boolean\";e.precedence=t;e.left=n;e.right=this.expression(t);return e}}}function g(e){y[e]={lbp:0,nud:function(e){e.precedence=99;return e}}}m(\"and\",2);m(\"eq\",3);m(\"ge\",4);m(\"gt\",4);m(\"le\",4);m(\"lt\",4);m(\"ne\",3);m(\"or\",1);g(\"PATH\");g(\"VALUE\");function w(){}w.prototype.advance=function(e){var t=this.current();if(e&&(!t||t.id!==e)){if(e===\"OPTION\"){e=\"system query option\"}else if(e.length===1){e=\"'\"+e+\"'\"}this.expected(e,t)}this.iCurrentToken+=1;return t};w.prototype.advanceIf=function(e){var t=this.current();if(t&&t.id===e){this.iCurrentToken+=1;return true}return false};w.prototype.current=function(){return this.aTokens[this.iCurrentToken]};w.prototype.error=function(e,t){var n;if(t){n=t.value;e+=\"'\"+(n===\" \"?n:n.replace(i,\"\"))+\"' at \"+t.at}else{e+=\"end of input\"}throw new SyntaxError(e+\": \"+this.sText)};w.prototype.expected=function(e,t){this.error(\"Expected \"+e+\" but instead saw \",t)};w.prototype.finish=function(){if(this.iCurrentToken<this.aTokens.length){this.expected(\"end of input\",this.aTokens[this.iCurrentToken])}};w.prototype.init=function(e){this.sText=e;this.aTokens=P(e);this.iCurrentToken=0};function E(){w.apply(this,arguments)}E.prototype=Object.create(w.prototype);E.prototype.advanceBws=function(){var e;for(;;){e=this.current();if(!e||e.id!==\" \"&&e.id!==\"\\t\"){return}this.advance()}};E.prototype.expression=function(e){var t,n,r;r=this.advance();if(!r){this.expected(\"expression\")}t=this.getSymbolValue(r,\"nud\");if(!t){this.expected(\"expression\",r)}n=t.call(this,r);r=this.current();while(r&&this.getSymbolValue(r,\"lbp\",0)>e){n=this.getSymbolValue(r,\"led\").call(this,this.advance(),n);r=this.current()}return n};E.prototype.getSymbolValue=function(e,t,n){var r=y[e.id];return r&&t in r?r[t]:n};E.prototype.parse=function(e){var t;this.init(e);t=this.expression(0);this.finish();return t};function x(){w.apply(this,arguments)}x.prototype=Object.create(w.prototype);x.prototype.parse=function(e){var t,n={},r;this.init(e);this.advance(\"(\");if(this.current().id===\"VALUE\"){n[\"\"]=this.advance().value}else{do{t=this.advance(\"PATH\").value;this.advance(\"=\");r=this.advance(\"VALUE\").value;n[t]=r}while(this.advanceIf(\",\"))}this.advance(\")\");this.finish();return n};function b(){w.apply(this,arguments)}b.prototype=Object.create(w.prototype);b.prototype.parse=function(e){var t;this.init(e);t=this.parseSystemQueryOption();this.finish();return t};b.prototype.parseAnythingWithBrackets=function(e){var t=\"\",n={},r,i=this;function a(){for(;;){r=i.advance();if(!r||r.id===\";\"){i.expected(\"')'\",r)}t+=r.value;if(r.id===\")\"){return}if(r.id===\"(\"){a()}}}this.advance(\"=\");for(;;){r=this.current();if(!r||r.id===\")\"||r.id===\";\"){break}t+=this.advance().value;if(r.id===\"(\"){a()}}if(!t){this.expected(\"an option value\",r)}n[e.value]=t;return n};b.prototype.parseExpand=function(){var e={},t,n,r,i;this.advance(\"=\");do{i=null;t=this.advance(\"PATH\").value.replace(/%2a/i,\"*\");if(this.advanceIf(\"(\")){i={};do{n=this.parseSystemQueryOption();r=Object.keys(n)[0];i[r]=n[r]}while(this.advanceIf(\";\"));this.advance(\")\")}e[t]=i}while(this.advanceIf(\",\"));return{$expand:e}};b.prototype.parseSelect=function(){var e,t,n=[],r;this.advance(\"=\");do{r=this.advance(\"PATH\");e=r.value.replace(/%2a/i,\"*\");if(this.advanceIf(\"(\")){t=\"(\";do{e+=t+this.advance(\"PATH\").value;t=\",\"}while(this.advanceIf(\",\"));e+=this.advance(\")\").value}n.push(e)}while(this.advanceIf(\",\"));return{$select:n}};b.prototype.parseSystemQueryOption=function(){var e=this.advance(\"OPTION\");switch(e.value){case\"$expand\":return this.parseExpand();case\"$select\":return this.parseSelect();default:return this.parseAnythingWithBrackets(e)}};function A(e){return String.fromCharCode(parseInt(e,16))}function I(e,t,n){var r;function i(t){var n=e[r];if(n===\"%\"&&e[r+1]===\"2\"&&e[r+2]===\"7\"){n=\"'\";if(t){r+=2}}if(t){r+=1}return n}for(r=1;r<e.length;){if(i(true)===\"'\"){if(i(false)!==\"'\"){return e.slice(0,r)}i(true)}}throw new SyntaxError(\"Unterminated string at \"+n+\": \"+t)}function T(e,t,n){var r,i,a=false,s;for(s=1;s<e.length;s+=1){if(a){a=false}else{r=e[s];if(r===\"%\"){i=e.slice(s+1,s+3);if(l.test(i)){r=A(i);s+=2}}if(r==='\"'){return e.slice(0,s+1)}a=r===\"\\\\\"}}throw new SyntaxError(\"Unterminated string at \"+n+\": \"+t)}function P(e){var t=1,n,r,i=e,s,o,u=[],p;while(i.length){r=d.exec(i);s=0;if(r){p=r[0];if(r[7]){n=\"OPTION\"}else if(r[6]||r[4]){n=\"VALUE\"}else if(r[5]){n=\"PATH\";if(p===\"false\"||p===\"true\"||p===\"null\"){n=\"VALUE\"}else if(p===\"not\"){r=a.exec(i);if(r){n=\"not\";p=r[0]}}}else if(r[3]){n=A(r[3])}else if(r[2]){n=r[2];s=r[1].length}else{n=r[0]}if(n==='\"'){n=\"VALUE\";p=T(i,e,t)}else if(n===\"'\"){n=\"VALUE\";p=I(i,e,t)}o={at:t+s,id:n,value:p}}else{throw new SyntaxError(\"Unknown character '\"+i[0]+\"' at \"+t+\": \"+e)}i=i.slice(p.length);t+=p.length;u.push(o)}return u}return{buildFilterString:function(e){function t(e,n){var r;if(!e){return\"\"}if(e.parameters){r=e.parameters.map(function(e){return t(e,0)}).join(\",\");return e.value+\"(\"+r+\")\"}r=t(e.left,e.precedence)+e.value+t(e.right,e.precedence);if(e.precedence<n){r=\"(\"+r+\")\"}return r}return t(e,0)},parseFilter:function(e){return(new E).parse(e)},parseKeyPredicate:function(e){return(new x).parse(e)},parseSystemQueryOption:function(e){return(new b).parse(e)},sODataIdentifier:n,sWhitespace:r}},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_Requestor\", [\"./_Batch\",\"./_GroupLock\",\"./_Helper\",\"./_V2Requestor\",\"sap/base/Log\",\"sap/ui/base/SyncPromise\",\"sap/ui/core/cache/CacheManager\",\"sap/ui/security/Security\",\"sap/ui/thirdparty/jquery\"],function(e,t,r,n,o,i,s,a,jQuery){\"use strict\";var u={Accept:\"multipart/mixed\"},c=\"sap.ui.model.odata.v4.optimisticBatch:\",h=\"sap.ui.model.odata.v4.lib._Requestor\",f=\"@com.sap.vocabularies.Common.v1.Messages\",d=/(\\$\\w+)=~/g,p=/^\\d+$/;function l(e){var t=Object.assign({},e);delete t[\"X-CSRF-Token\"];return t}function m(e){var t;e=e.toLowerCase();for(t in this.headers){if(t.toLowerCase()===e){return this.headers[t]}}}function g(e,t,n,o,i){this.mBatchQueue={};this.bBatchSent=false;this.mHeaders=t||{};this.aLockedGroupLocks=[];this.oModelInterface=o;this.oOptimisticBatch=null;this.sQueryParams=r.buildQuery(n);this.mRunningChangeRequests={};this.iSessionTimer=0;this.iSerialNumber=0;this.sServiceUrl=e;this.vStatistics=n&&n[\"sap-statistics\"];this.bWithCredentials=i;this.processSecurityTokenHandlers()}g.prototype.mFinalHeaders={\"Content-Type\":\"application/json;charset=UTF-8;IEEE754Compatible=true\"};g.prototype.mPredefinedPartHeaders={Accept:\"application/json;odata.metadata=minimal;IEEE754Compatible=true\"};g.prototype.mPredefinedRequestHeaders={Accept:\"application/json;odata.metadata=minimal;IEEE754Compatible=true\",\"OData-MaxVersion\":\"4.0\",\"OData-Version\":\"4.0\",\"X-CSRF-Token\":\"Fetch\"};g.prototype.mReservedHeaders={accept:true,\"accept-charset\":true,\"content-encoding\":true,\"content-id\":true,\"content-language\":true,\"content-length\":true,\"content-transfer-encoding\":true,\"content-type\":true,\"if-match\":true,\"if-none-match\":true,isolation:true,\"odata-isolation\":true,\"odata-maxversion\":true,\"odata-version\":true,prefer:true,\"sap-contextid\":true};g.prototype.addChangeSet=function(e){var t=[],r=this.getOrCreateBatchQueue(e,true);t.iSerialNumber=this.getSerialNumber();r.iChangeSet+=1;r.splice(r.iChangeSet,0,t)};g.prototype.addChangeToGroup=function(e,t){var r;if(this.getGroupSubmitMode(t)===\"Direct\"){e.$resolve(this.request(e.method,e.url,this.lockGroup(t,this,true,true),e.headers,e.body,e.$submit,e.$cancel))}else{r=this.getOrCreateBatchQueue(t);r[r.iChangeSet].push(e)}};g.prototype.addQueryString=function(e,t,n){var o;n=this.convertQueryOptions(t,n,false,true);e=e.replace(d,function(e,t){var o=n[t];delete n[t];return r.encodePair(t,o)});o=r.buildQuery(n);if(!o){return e}return e+(e.includes(\"?\")?\"&\"+o.slice(1):o)};g.prototype.batchRequestSent=function(e,t,r){var n,o;if(r){if(!(e in this.mRunningChangeRequests)){this.mRunningChangeRequests[e]=[]}n=new i(function(e){o=e});n.$resolve=o;n.$requests=t;this.mRunningChangeRequests[e].push(n)}};g.prototype.batchResponseReceived=function(e,t,r){var n;if(r){n=this.mRunningChangeRequests[e].filter(function(e){if(e.$requests===t){e.$resolve();return false}return true});if(n.length){this.mRunningChangeRequests[e]=n}else{delete this.mRunningChangeRequests[e]}}};g.prototype.buildQueryString=function(e,t,n,o,i){return r.buildQuery(this.convertQueryOptions(e,t,n,o),i)};g.prototype.cancelChanges=function(e,t){if(this.mRunningChangeRequests[e]){throw new Error(\"Cannot cancel the changes for group '\"+e+\"', the batch request is running\")}this.cancelChangesByFilter(function(){return true},e,t);this.cancelGroupLocks(e)};g.prototype.cancelChangesByFilter=function(e,t,r){var n=false,o=this;function i(t){var i=o.mBatchQueue[t],s,a,u,c,h;for(h=i.length-1;h>=0;h-=1){if(Array.isArray(i[h])){a=i[h];for(c=a.length-1;c>=0;c-=1){s=a[c];if(s.$cancel&&e(s)){if(!s.$cancel(r)){u=new Error(\"Request canceled: \"+s.method+\" \"+s.url+\"; group: \"+t);u.canceled=true;s.$reject(u);a.splice(c,1);n=true}}}}}}if(t){if(this.mBatchQueue[t]){i(t)}}else{for(t in this.mBatchQueue){i(t)}}return n};g.prototype.cancelGroupLocks=function(e){this.aLockedGroupLocks.forEach(function(t){if((!e||e===t.getGroupId())&&t.isModifying()&&t.isLocked()){t.cancel()}})};g.prototype.checkConflictingStrictRequest=function(e,t,r){function n(e){return e.filter(i).length>1}function o(e,t){return r!==t&&e.some(i)}function i(e){return e.headers.Prefer?.includes(\"handling=strict\")}const s=\"Each request with strict handling must belong to its own change set due\"+' to the \"odata.continue-on-error\" preference';const a=t.slice(0,t.iChangeSet+1);if(e===null){if(a.some(n)){throw new Error(s)}}else if(t.bContinueOnError){if(a[r].length&&(i(e)||i(a[r][0]))){throw new Error(s)}}else if(i(e)&&a.some(o)){throw new Error(\"All requests with strict handling must belong to the same change set\")}};g.prototype.checkForOpenRequests=function(){var e=this;if(!r.isEmptyObject(this.mRunningChangeRequests)||Object.keys(this.mBatchQueue).some(function(t){return e.mBatchQueue[t].some(function(e){return Array.isArray(e)?e.length:true})})||this.aLockedGroupLocks.some(function(e){return e.isLocked()})){throw new Error(\"Unexpected open requests\")}};g.prototype.checkHeaderNames=function(e){var t;for(t in e){if(this.mReservedHeaders[t.toLowerCase()]){throw new Error(\"Unsupported header: \"+t)}}};g.prototype.cleanUpChangeSets=function(e){var t,n=false,o;function i(e){if(!s(e)){if(e.method===\"DELETE\"&&e.headers[\"If-Match\"]&&e.headers[\"If-Match\"][\"@odata.etag\"]&&t.find(function(t){return t.headers[\"If-Match\"]===e.headers[\"If-Match\"]})){e.headers[\"If-Match\"]={\"@odata.etag\":\"*\"}}t.push(e)}}function s(e){if(e.method!==\"PATCH\"){return false}return t.some(function(t){if(t.method===\"PATCH\"&&t.headers[\"If-Match\"]===e.headers[\"If-Match\"]){r.merge(t.body,e.body);e.$resolve(t.$promise);t.$mergeRequests(e.$mergeRequests());return true}})}for(o=e.iChangeSet;o>=0;o-=1){t=[];e[o].forEach(i);if(t.length===0){e.splice(o,1)}else if(t.length===1&&this.isChangeSetOptional()){e[o]=t[0]}else{e[o]=t}n||=t.length>0}return n};g.prototype.clearSessionContext=function(e){if(e){this.oModelInterface.fireSessionTimeout()}delete this.mHeaders[\"SAP-ContextId\"];if(this.iSessionTimer){clearInterval(this.iSessionTimer);this.iSessionTimer=0}};g.prototype.convertExpand=function(e,t){var r,n=[],o=this;if(!e||typeof e!==\"object\"){throw new Error(\"$expand must be a valid object\")}r=Object.keys(e);if(t){r=r.sort()}r.forEach(function(r){var i=e[r];if(i&&typeof i===\"object\"){n.push(o.convertExpandOptions(r,i,t))}else{n.push(r)}});return n.join(\",\")};g.prototype.convertExpandOptions=function(e,t,r){var n=[];this.doConvertSystemQueryOptions(undefined,t,function(e,t){n.push(e+\"=\"+t)},undefined,r);return n.length?e+\"(\"+n.join(\";\")+\")\":e};g.prototype.convertQueryOptions=function(e,t,r,n){var o={};if(!t){return undefined}this.doConvertSystemQueryOptions(e,t,function(e,t){o[e]=t},r,n);return o};g.prototype.convertResourcePath=function(e){return e};g.prototype.destroy=function(){this.clearSessionContext()};g.prototype.doCheckVersionHeader=function(e,t,r){var n=e(\"OData-Version\"),o=!n&&e(\"DataServiceVersion\");if(o){throw new Error(\"Expected 'OData-Version' header with value '4.0' but received\"+\" 'DataServiceVersion' header with value '\"+o+\"' in response for \"+this.sServiceUrl+t)}if(n===\"4.0\"||!n&&r){return}throw new Error(\"Expected 'OData-Version' header with value '4.0' but received value '\"+n+\"' in response for \"+this.sServiceUrl+t)};g.prototype.doConvertResponse=function(e,t){return e};g.prototype.doConvertSystemQueryOptions=function(e,t,n,o,i){var s=this;Object.keys(t).forEach(function(e){var a=t[e];if(o&&e[0]===\"$\"){return}switch(e){case\"$expand\":if(a!==\"~\"){a=s.convertExpand(a,i)}break;case\"$select\":if(Array.isArray(a)){if(i){a=a.slice().sort();for(let e=1;e<a.length;){if(r.hasPathPrefix(a[e],a[e-1])){a.splice(e,1)}else{e+=1}}}a=a.join(\",\")}break;default:}n(e,a)})};g.prototype.fetchType=function(e,t){var r=this;if(t in e){return i.resolve(e[t])}return this.fetchTypeForPath(t).then(function(n){var o,s=[];if(n){o=r.getModelInterface().fetchMetadata(t+\"/\"+f).getResult();if(o){n=Object.create(n);n[f]=o}e[t]=n;(n.$Key||[]).forEach(function(n){if(typeof n===\"object\"){n=n[Object.keys(n)[0]];s.push(r.fetchType(e,t+\"/\"+n.slice(0,n.lastIndexOf(\"/\"))))}});return i.all(s).then(function(){return n})}})};g.prototype.fetchTypeForPath=function(e){return this.oModelInterface.fetchMetadata(e+\"/\")};g.prototype.formatPropertyAsLiteral=function(e,t){return r.formatLiteral(e,t.$Type)};g.prototype.getGroupSubmitMode=function(e){return this.oModelInterface.getGroupProperty(e,\"submit\")};g.prototype.getModelInterface=function(){return this.oModelInterface};g.prototype.getOrCreateBatchQueue=function(e,t){var r,n=this.mBatchQueue[e];if(!n){r=[];r.iSerialNumber=0;n=this.mBatchQueue[e]=[r];n.iChangeSet=0;if(!t){this.oModelInterface.onCreateGroup(e)}}return n};g.prototype.getPathAndAddQueryOptions=function(e,t,r){var n=[],o,i={},s=this;e=e.slice(1,-5);if(t.$Parameter){t.$Parameter.forEach(function(e){i[e.$Name]=e})}if(t.$kind===\"Function\"){for(o in r){const e=i[o];if(e){if(e.$isCollection){throw new Error(\"Unsupported collection-valued parameter: \"+o)}n.push(encodeURIComponent(o)+\"=\"+encodeURIComponent(s.formatPropertyAsLiteral(r[o],e)))}}e+=\"(\"+n.join(\",\")+\")\"}else{for(o in r){if(!(o in i)){delete r[o]}}}return e};g.prototype.getSerialNumber=function(){this.iSerialNumber+=1;return this.iSerialNumber};g.prototype.getServiceUrl=function(){return this.sServiceUrl};g.prototype.getUnlockedAutoCopy=function(e){if(this.getGroupSubmitMode(e.getGroupId())!==\"API\"){return e.getUnlockedCopy()}return this.lockGroup(\"$auto\",e.getOwner())};g.prototype.hasChanges=function(e,t){var r=this.mBatchQueue[e];if(r){return r.some(function(e){return Array.isArray(e)&&e.some(function(e){return e.headers[\"If-Match\"]===t})})}return false};g.prototype.hasOnlyPatchesWithoutSideEffects=function(e){return this.getGroupSubmitMode(e)===\"Auto\"&&!!this.mBatchQueue[e]&&this.mBatchQueue[e].every(function(e){return Array.isArray(e)&&e.every(function(e){return e.method===\"PATCH\"&&e.headers.Prefer===\"return=minimal\"})})};g.prototype.hasPendingChanges=function(e){var t=this;function r(t){if(!e){return Object.keys(t)}return e in t?[e]:[]}return r(this.mRunningChangeRequests).length>0||this.aLockedGroupLocks.some(function(t){var r=t.getGroupId();return(e===undefined||r===e)&&t.isModifying()&&t.isLocked()&&!r.startsWith(\"$inactive.\")})||r(this.mBatchQueue).some(function(e){return!e.startsWith(\"$inactive.\")&&t.mBatchQueue[e].some(function(e){return Array.isArray(e)&&e.some(function(e){return e.$cancel})})})};g.prototype.isActionBodyOptional=function(){return false};g.prototype.isBatchSent=function(){return this.bBatchSent};g.prototype.isChangeSetOptional=function(){return true};g.prototype.lockGroup=function(e,r,n,o,i){var s;s=new t(e,r,n,o,this.getSerialNumber(),i);if(n){this.aLockedGroupLocks.push(s)}return s};g.prototype.mergeGetRequests=function(e){var t=[],n=this;function o(e){return e.$queryOptions&&t.some(function(t){if(t.$queryOptions&&e.url===t.url&&e.$owner===t.$owner){t.$queryOptions=r.clone(t.$queryOptions);r.aggregateExpandSelect(t.$queryOptions,e.$queryOptions);e.$resolve(t.$promise);if(t.$mergeRequests&&e.$mergeRequests){t.$mergeRequests(e.$mergeRequests())}return true}return false})}e.forEach(function(e){if(!o(e)){t.push(e)}});t.forEach(function(e){var t=e.$queryOptions;if(t){if(t.$expand&&!t.$select.length){t.$select=Object.keys(t.$expand).sort().slice(0,1)}e.url=n.addQueryString(e.url,e.$metaPath,t)}});t.iChangeSet=e.iChangeSet;if(e.bContinueOnError){t.bContinueOnError=true}return t};g.prototype.processBatch=function(e){var t,n=this.mBatchQueue[e]||[],o=this;function i(e){if(Array.isArray(e)){e.forEach(i)}else if(e.$submit){e.$submit()}}function s(e,t){if(Array.isArray(t)){t.forEach(s.bind(null,e))}else{t.$reject(e)}}function a(e,t){var n;e.forEach(function(e,i){var u,c,h=t[i];if(Array.isArray(h)){a(e,h)}else if(!h){const t=new Error(\"HTTP request was not processed because the previous request failed\");t.cause=n;t.$reported=true;s(t,e)}else if(h.status>=400){o.oModelInterface.onHttpResponse(h.headers);h.getResponseHeader=m;n=r.createError(h,\"Communication error\",e.url?o.sServiceUrl+e.url:undefined,e.$resourcePath);if(Array.isArray(e)){r.decomposeError(n,e,o.sServiceUrl).forEach(function(t,r){e[r].$reject(t)})}else{e.$reject(n)}}else{o.oModelInterface.onHttpResponse(h.headers);if(h.responseText){try{o.doCheckVersionHeader(m.bind(h),e.url,true);c=o.doConvertResponse(JSON.parse(h.responseText),e.$metaPath)}catch(t){e.$reject(t);return}}else{c=e.method===\"GET\"?null:{}}o.reportHeaderMessages(e.$resourcePath,m.call(h,\"sap-messages\"),c);u=m.call(h,\"ETag\");if(u){c[\"@odata.etag\"]=u}e.$resolve(c)}})}i(n);delete this.mBatchQueue[e];t=this.cleanUpChangeSets(n);if(n.length===0){return Promise.resolve()}this.bBatchSent=true;n=this.mergeGetRequests(n);this.batchRequestSent(e,n,t);return this.sendBatch(n,e,t).then(function(e){a(n,e)}).catch(function(e){var t=new Error(\"HTTP request was not processed because $batch failed\");t.cause=e;t.$reported=true;s(t,n);throw e}).finally(function(){o.batchResponseReceived(e,n,t)})};g.prototype.processOptimisticBatch=function(e,t){var r,n,i=this.oOptimisticBatch,a,u=this;if(!i){return}a=this.oModelInterface.getOptimisticBatchEnabler();n=i.key;this.oOptimisticBatch=null;if(i.result){if(g.matchesOptimisticBatch(e,t,i.firstBatch.requests,i.firstBatch.groupId)){if(a){Promise.resolve(a(n)).then(async e=>{if(!e){await s.del(c+n);o.info(\"optimistic batch: disabled, batch payload deleted\",n,h)}}).catch(u.oModelInterface.getReporter())}o.info(\"optimistic batch: success, response consumed\",n,h);return i.result}o.warning(\"optimistic batch: mismatch, response skipped\",n,h);s.del(c+n).catch(this.oModelInterface.getReporter())}if(a){r=e.some(function(e){return Array.isArray(e)||e.method!==\"GET\"});if(r){o.warning(\"optimistic batch: modifying batch not supported\",n,h);return}Promise.resolve(a(n)).then(function(r){if(r){return s.set(c+n,{groupId:t,requests:e.map(function(e){return{headers:l(e.headers),method:\"GET\",url:e.url}})}).then(function(){o.info(\"optimistic batch: enabled, batch payload saved\",n,h)})}o.info(\"optimistic batch: disabled\",n,h)}).catch(u.oModelInterface.getReporter())}};g.prototype.processSecurityTokenHandlers=function(){var e=this;this.oSecurityTokenPromise=null;a.getSecurityTokenHandlers().some(function(t){var r=t(e.sServiceUrl);if(r!==undefined){e.oSecurityTokenPromise=r.then(function(t){e.checkHeaderNames(t);Object.assign(e.mHeaders,{\"X-CSRF-Token\":undefined},t);e.oSecurityTokenPromise=null}).catch(function(e){o.error(\"An error occurred within security token handler: \"+t,e,h);throw e});return true}})};g.prototype.ready=function(){return i.resolve()};g.prototype.refreshSecurityToken=function(e){var t=this;if(!this.oSecurityTokenPromise){if(e!==this.mHeaders[\"X-CSRF-Token\"]){return Promise.resolve()}this.oSecurityTokenPromise=new Promise(function(e,n){const o={method:\"HEAD\",headers:Object.assign({},t.mHeaders,{\"X-CSRF-Token\":\"Fetch\"})};if(t.bWithCredentials){o.xhrFields={withCredentials:true}}jQuery.ajax(t.sServiceUrl+t.sQueryParams,o).then(function(n,o,i){var s=i.getResponseHeader(\"X-CSRF-Token\");if(s){t.mHeaders[\"X-CSRF-Token\"]=s}else{delete t.mHeaders[\"X-CSRF-Token\"]}t.oSecurityTokenPromise=null;t.oModelInterface.onHttpResponse(r.parseRawHeaders(i.getAllResponseHeaders()));e()},function(o){t.oSecurityTokenPromise=null;if(o.status===503&&o.getResponseHeader(\"Retry-After\")){e()}else{n(r.createError(o,\"Could not refresh security token\"))}})})}return this.oSecurityTokenPromise};g.prototype.relocate=function(e,t,r){var n=this.mBatchQueue[e],o=this,i=n&&n[0].some(function(e,i){if(e.body===t){o.addChangeToGroup(e,r);n[0].splice(i,1);return true}});if(!i){throw new Error(\"Request not found in group '\"+e+\"'\")}};g.prototype.relocateAll=function(e,t,r){var n=0,o=this.mBatchQueue[e],i=this;if(o){o[0].slice().forEach(function(e){if(!r||e.headers[\"If-Match\"]===r){i.addChangeToGroup(e,t);o[0].splice(n,1)}else{n+=1}})}};g.prototype.removeChangeRequest=function(e){var t=this.cancelChangesByFilter(function(t){return t.$promise===e});if(!t){throw new Error(\"Cannot reset the changes, the batch request is running\")}};g.prototype.removePost=function(e,t){var n=r.getPrivateAnnotation(t,\"postBody\"),o=this.cancelChangesByFilter(function(e){return e.body===n},e);if(!o){throw new Error(\"Cannot reset the changes, the batch request is running\")}};g.prototype.reportHeaderMessages=function(e,t,n){if(t){const o=JSON.parse(t);if(e===\"R#V#C\"){r.setPrivateAnnotation(n,\"headerMessages\",o)}else{this.oModelInterface.reportTransitionMessages(o,e)}}};g.prototype.request=function(e,t,r,n,o,i,s,a,u,c,h,f,d){var p,l,m=r&&r.getGroupId()||\"$direct\",g,y=Infinity,v,S=this;if(m===\"$cached\"){l=new Error(\"Unexpected request: \"+e+\" \"+t);l.$cached=true;throw l}if(r&&r.isCanceled()){if(s){s()}l=new Error(\"Request already canceled\");l.canceled=true;return Promise.reject(l)}if(r){r.unlock();y=r.getSerialNumber()}t=this.convertResourcePath(t);u??=t;if(this.getGroupSubmitMode(m)!==\"Direct\"){if(m===\"$single\"&&this.mBatchQueue[m]){throw new Error(\"Cannot add new request to already existing $single queue\")}g=new Promise(function(r,l){var g=S.getOrCreateBatchQueue(m);v={method:e,url:t,headers:Object.assign({},S.mPredefinedPartHeaders,S.mHeaders,n,S.mFinalHeaders),body:o,$cancel:s,$mergeRequests:d,$metaPath:a,$owner:f,$queryOptions:h,$reject:l,$resolve:r,$resourcePath:u,$submit:i};if(e===\"GET\"){g.push(v)}else if(c){g[0].unshift(v)}else{if(!y&&g[g.iChangeSet].length){S.addChangeSet(m)}p=g.iChangeSet;while(g[p].iSerialNumber>y){p-=1}S.checkConflictingStrictRequest(v,g,p);g[p].push(v);if(!y){S.addChangeSet(m)}}if(m===\"$single\"){S.submitBatch(\"$single\").catch(S.oModelInterface.getReporter())}});v.$promise=g;return g}if(this.vStatistics!==undefined){h=Object.assign({\"sap-statistics\":this.vStatistics},h)}if(h){t=S.addQueryString(t,a,h)}if(i){i()}return this.sendRequest(e,t,Object.assign({},n,this.mFinalHeaders,e===\"GET\"?{\"sap-cancel-on-close\":\"true\"}:undefined),JSON.stringify(o),u===\"R#V#C\"?t:u).then(function(e){const t=S.doConvertResponse(typeof e.body===\"string\"?JSON.parse(e.body):e.body,a);S.reportHeaderMessages(u,e.messages,t);return t})};g.prototype.sendBatch=function(t,r,n){var o=e.serializeBatchRequest(t,this.getGroupSubmitMode(r)===\"Auto\"?\"Group ID: \"+r:\"Group ID (API): \"+r,this.oModelInterface.isIgnoreETag());return this.processOptimisticBatch(t,r)||this.sendRequest(\"POST\",\"$batch\"+this.sQueryParams,Object.assign(o.headers,u,n?undefined:{\"sap-cancel-on-close\":\"true\"},t.bContinueOnError?{Prefer:\"odata.continue-on-error\"}:undefined),o.body).then(function(t){if(t.messages!==null){throw new Error(\"Unexpected 'sap-messages' response header for batch request\")}return e.deserializeBatchResponse(t.contentType,t.body)})};g.prototype.sendOptimisticBatch=function(){var e=window.location.href,t=this;s.get(c+e).then(function(r){var n={key:e};if(r){if(t.isBatchSent()){o.error(\"optimistic batch: #sendBatch called before optimistic batch \"+\"payload could be read\",undefined,h);return}n.firstBatch=r;n.result=t.sendBatch(r.requests,r.groupId);o.info(\"optimistic batch: sent \",e,h)}t.oOptimisticBatch=n}).catch(this.oModelInterface.getReporter())};g.prototype.sendRequest=function(e,t,n,i,s){var a=this.sServiceUrl+t,u=this;return new Promise(function(c,f){function d(p){const l={contentType:n&&n[\"Content-Type\"],data:i,headers:Object.assign({},u.mPredefinedRequestHeaders,u.mHeaders,r.resolveIfMatchHeader(n,u.oModelInterface.isIgnoreETag())),method:e};var m=u.mHeaders[\"X-CSRF-Token\"];if(u.bWithCredentials){l.xhrFields={withCredentials:true}}jQuery.ajax(a,l).then(function(n,o,i){var s=i.getResponseHeader(\"ETag\"),a=i.getResponseHeader(\"X-CSRF-Token\");u.oModelInterface.onHttpResponse(r.parseRawHeaders(i.getAllResponseHeaders()));try{u.doCheckVersionHeader(i.getResponseHeader,t,!n)}catch(e){f(e);return}if(a){u.mHeaders[\"X-CSRF-Token\"]=a}u.setSessionContext(i.getResponseHeader(\"SAP-ContextId\"),i.getResponseHeader(\"SAP-Http-Session-Timeout\"));n||=e===\"GET\"?null:{};if(s&&typeof n===\"object\"){n[\"@odata.etag\"]=s}c({body:n,contentType:i.getResponseHeader(\"Content-Type\"),messages:i.getResponseHeader(\"sap-messages\"),resourcePath:t})},function(e){var t=e.getResponseHeader(\"SAP-ContextId\"),n=e.getResponseHeader(\"X-CSRF-Token\"),i;if(!p&&e.status===403&&n&&n.toLowerCase()===\"required\"){u.refreshSecurityToken(m).then(function(){d(true)},f)}else if(e.status===503&&e.getResponseHeader(\"Retry-After\")&&u.oModelInterface.getOrCreateRetryAfterPromise(r.createError(e,\"\"))){u.oModelInterface.getOrCreateRetryAfterPromise().then(d,f)}else{i=\"Communication error\";if(t){u.setSessionContext(t,e.getResponseHeader(\"SAP-Http-Session-Timeout\"))}else if(u.mHeaders[\"SAP-ContextId\"]){i=\"Session not found on server\";o.error(i,undefined,h);u.clearSessionContext(true)}f(r.createError(e,i,a,s))}})}const p=u.oModelInterface.getOrCreateRetryAfterPromise();if(p){p.then(d,f)}else if(u.oSecurityTokenPromise&&e!==\"GET\"){u.oSecurityTokenPromise.then(d)}else{d()}})};g.prototype.setContinueOnError=function(e){const t=this.getOrCreateBatchQueue(e);this.checkConflictingStrictRequest(null,t);t.bContinueOnError=true};g.prototype.setSessionContext=function(e,t){var r=p.test(t)?parseInt(t):0,n=Date.now()+30*60*1e3,i=this;this.clearSessionContext();if(e){this.mHeaders[\"SAP-ContextId\"]=e;if(r>=60){this.iSessionTimer=setInterval(function(){if(Date.now()>=n){i.clearSessionContext(true);return}const e={method:\"HEAD\",headers:{\"SAP-ContextId\":i.mHeaders[\"SAP-ContextId\"]}};if(i.bWithCredentials){e.xhrFields={withCredentials:true}}jQuery.ajax(i.sServiceUrl+i.sQueryParams,e).fail(function(e){if(e.getResponseHeader(\"SAP-Err-Id\")===\"ICMENOSESSION\"){o.error(\"Session not found on server\",undefined,h);i.clearSessionContext(true)}})},(r-5)*1e3)}else if(t!==null){o.warning(\"Unsupported SAP-Http-Session-Timeout header\",t,h)}}};g.prototype.submitBatch=function(e){var t,r,n=this;r=i.all(this.aLockedGroupLocks.map(function(t){return t.waitFor(e)}));t=r.isPending();if(t){o.info(\"submitBatch('\"+e+\"') is waiting for locks\",null,h)}return r.then(function(){if(n.hasOnlyPatchesWithoutSideEffects(e)){t=true;o.info(\"submitBatch('\"+e+\"') is waiting for potential side effect requests\",null,h);return new Promise(function(e){setTimeout(function(){e()},0)})}}).then(function(){if(t){o.info(\"submitBatch('\"+e+\"') continues\",null,h)}n.aLockedGroupLocks=n.aLockedGroupLocks.filter(function(e){return e.isLocked()});return n.processBatch(e)})};g.prototype.waitForBatchResponseReceived=function(e){return i.resolve(this.mBatchQueue[e][0][0].$promise)};g.prototype.waitForRunningChangeRequests=function(e){var t=this.mRunningChangeRequests[e];if(t){return t.length>1?i.all(t):t[0]}return i.resolve()};g.matchesOptimisticBatch=function(e,t,n,o){return t===o&&e.length===n.length&&e.every(function(e,t){return e.url===n[t].url&&r.deepEqual(l(e.headers),n[t].headers)})};g.create=function(e,t,r,o,i,s){var a=new g(e,r,o,t,s);if(i===\"2.0\"){n(a)}return a};return g},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_TreeState\", [\"./_Helper\"],function(e){\"use strict\";class t{mPredicate2ExpandInfo={};mPredicate2OutOfPlace={};constructor(e,t){this.fnGetKeyFilter=t;this.sNodeProperty=e}collapse(t,i,a){if(!this.sNodeProperty){return}const r=e.getPrivateAnnotation(t,\"predicate\");const n=this.mPredicate2ExpandInfo[r];if(a||n&&n.levels!==0){delete this.mPredicate2ExpandInfo[r]}else{this.mPredicate2ExpandInfo[r]={collapseAll:i,filter:this.fnGetKeyFilter(t),levels:0,nodeId:e.drillDown(t,this.sNodeProperty)}}}delete(t){if(!this.sNodeProperty){return}const i=e.getPrivateAnnotation(t,\"predicate\");delete this.mPredicate2ExpandInfo[i];this.deleteOutOfPlace(i);e.getPrivateAnnotation(t,\"spliced\",[]).forEach(e=>{this.delete(e)})}deleteExpandInfo(t){delete this.mPredicate2ExpandInfo[e.getPrivateAnnotation(t,\"predicate\")];e.getPrivateAnnotation(t,\"spliced\",[]).forEach(e=>{this.deleteExpandInfo(e)})}deleteOutOfPlace(e,t){if(!this.isOutOfPlace(e)){return}if(t){for(;;){const t=this.mPredicate2OutOfPlace[e].parentPredicate;if(!this.isOutOfPlace(t)){break}e=t}}this.mPredicate2OutOfPlace[e].context.setOutOfPlace(false);delete this.mPredicate2OutOfPlace[e];Object.values(this.mPredicate2OutOfPlace).forEach(t=>{if(t.parentPredicate===e){this.deleteOutOfPlace(t.nodePredicate)}})}expand(t,i=1){if(!this.sNodeProperty){return}if(i>=Number.MAX_SAFE_INTEGER){i=null;this.deleteExpandInfo(t)}const a=e.getPrivateAnnotation(t,\"predicate\");const r=this.mPredicate2ExpandInfo[a];if(r&&!r.levels&&!r.collapseAll){delete this.mPredicate2ExpandInfo[a]}else{this.mPredicate2ExpandInfo[a]={filter:this.fnGetKeyFilter(t),levels:i,nodeId:e.drillDown(t,this.sNodeProperty)}}}getExpandFilters(e){return Object.keys(this.mPredicate2ExpandInfo).filter(e).map(e=>this.mPredicate2ExpandInfo[e].filter)}getExpandLevels(){const e=Object.values(this.mPredicate2ExpandInfo);return e.length?JSON.stringify(e.map(e=>({NodeID:e.nodeId,Levels:e.levels}))):undefined}getOutOfPlace(e){return this.mPredicate2OutOfPlace[e]}getOutOfPlaceCount(){return this.getOutOfPlacePredicates().length}getOutOfPlaceGroupedByParent(){const e={};for(const t of Object.values(this.mPredicate2OutOfPlace)){const i=t.parentPredicate;const a=e[i]??={nodeFilters:[],nodePredicates:[],parentFilter:t.parentFilter,parentPredicate:i};a.nodeFilters.push(t.nodeFilter);a.nodePredicates.push(t.nodePredicate)}return Object.values(e)}getOutOfPlacePredicates(){return Object.keys(this.mPredicate2OutOfPlace)}isOutOfPlace(e){return e in this.mPredicate2OutOfPlace}reset(){this.mPredicate2ExpandInfo={};this.resetOutOfPlace()}resetOutOfPlace(){this.getOutOfPlacePredicates().forEach(e=>this.deleteOutOfPlace(e))}setOutOfPlace(t,i){if(t[\"@$ui5.context.isTransient\"]!==false){throw new Error(\"Not 'created persisted'\")}const a={context:e.getPrivateAnnotation(t,\"context\"),nodeFilter:this.fnGetKeyFilter(t),nodePredicate:e.getPrivateAnnotation(t,\"predicate\")};a.context.setOutOfPlace(true);if(i){a.parentFilter=this.fnGetKeyFilter(i);a.parentPredicate=e.getPrivateAnnotation(i,\"predicate\")}this.mPredicate2OutOfPlace[a.nodePredicate]=a}stillOutOfPlace(t,i){t[\"@$ui5.context.isTransient\"]=false;e.setPrivateAnnotation(t,\"context\",this.mPredicate2OutOfPlace[i].context)}}return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_V2MetadataConverter\", [\"./_Helper\",\"./_MetadataConverter\",\"sap/base/Log\"],function(t,e,a){\"use strict\";var o=\"sap.ui.model.odata.v4.lib._V2MetadataConverter\",n=/^(?:DELETE|GET|MERGE|PATCH|POST|PUT)$/,i=\"http://schemas.microsoft.com/ado/2007/06/edmx\",r=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\",s=\"http://www.sap.com/Protocols/SAPData\",p={creatable:{property:\"Insertable\",term:\"@Org.OData.Capabilities.V1.InsertRestrictions\"},deletable:{property:\"Deletable\",term:\"@Org.OData.Capabilities.V1.DeleteRestrictions\"},\"deletable-path\":{property:\"Deletable\",term:\"@Org.OData.Capabilities.V1.DeleteRestrictions\"},\"field-control\":{term:\"@com.sap.vocabularies.Common.v1.FieldControl\"},heading:{term:\"@com.sap.vocabularies.Common.v1.Heading\"},label:{term:\"@com.sap.vocabularies.Common.v1.Label\"},precision:{term:\"@Org.OData.Measures.V1.Scale\"},quickinfo:{term:\"@com.sap.vocabularies.Common.v1.QuickInfo\"},\"requires-filter\":{property:\"RequiresFilter\",term:\"@Org.OData.Capabilities.V1.FilterRestrictions\"},searchable:{property:\"Searchable\",term:\"@Org.OData.Capabilities.V1.SearchRestrictions\"},text:{term:\"@com.sap.vocabularies.Common.v1.Text\"},topable:{term:\"@Org.OData.Capabilities.V1.TopSupported\"},updatable:{property:\"Updatable\",term:\"@Org.OData.Capabilities.V1.UpdateRestrictions\"},\"updatable-path\":{property:\"Updatable\",term:\"@Org.OData.Capabilities.V1.UpdateRestrictions\"}},c={bday:{TermName:\"Contact\"},city:{Path:\"adr\",TermName:\"Contact\",V4Attribute:\"locality\"},country:{Path:\"adr\",TermName:\"Contact\"},email:{Path:\"address\",TermName:\"Contact\",V4Attribute:\"uri\",typeMapping:{home:\"home\",pref:\"preferred\",work:\"work\"},v4EnumType:\"com.sap.vocabularies.Communication.v1.ContactInformationType\",v4PropertyAnnotation:\"@com.sap.vocabularies.Communication.v1.IsEmailAddress\"},familyname:{Path:\"n\",TermName:\"Contact\",V4Attribute:\"surname\"},givenname:{Path:\"n\",TermName:\"Contact\",V4Attribute:\"given\"},honorific:{Path:\"n\",TermName:\"Contact\",V4Attribute:\"prefix\"},middlename:{Path:\"n\",TermName:\"Contact\",V4Attribute:\"additional\"},name:{TermName:\"Contact\",V4Attribute:\"fn\"},nickname:{TermName:\"Contact\"},note:{TermName:\"Contact\"},org:{TermName:\"Contact\"},\"org-role\":{TermName:\"Contact\",V4Attribute:\"role\"},\"org-unit\":{TermName:\"Contact\",V4Attribute:\"orgunit\"},photo:{TermName:\"Contact\"},pobox:{Path:\"adr\",TermName:\"Contact\"},region:{Path:\"adr\",TermName:\"Contact\"},street:{Path:\"adr\",TermName:\"Contact\"},suffix:{Path:\"n\",TermName:\"Contact\"},tel:{Path:\"tel\",TermName:\"Contact\",V4Attribute:\"uri\",typeMapping:{cell:\"cell\",fax:\"fax\",home:\"home\",pref:\"preferred\",video:\"video\",voice:\"voice\",work:\"work\"},v4EnumType:\"com.sap.vocabularies.Communication.v1.PhoneType\",v4PropertyAnnotation:\"@com.sap.vocabularies.Communication.v1.IsPhoneNumber\"},title:{TermName:\"Contact\"},zip:{Path:\"adr\",TermName:\"Contact\",V4Attribute:\"code\"},class:{TermName:\"Event\"},dtend:{TermName:\"Event\"},dtstart:{TermName:\"Event\"},duration:{TermName:\"Event\"},fbtype:{TermName:\"Event\"},location:{TermName:\"Event\"},status:{TermName:\"Event\"},transp:{TermName:\"Event\"},wholeday:{TermName:\"Event\"},body:{TermName:\"Message\"},from:{TermName:\"Message\"},received:{TermName:\"Message\"},sender:{TermName:\"Message\"},subject:{TermName:\"Message\"},completed:{TermName:\"Task\"},due:{TermName:\"Task\"},\"percent-complete\":{TermName:\"Task\",V4Attribute:\"percentcomplete\"},priority:{TermName:\"Task\"}},l={fiscalyear:\"@com.sap.vocabularies.Common.v1.IsFiscalYear\",fiscalyearperiod:\"@com.sap.vocabularies.Common.v1.IsFiscalYearPeriod\",year:\"@com.sap.vocabularies.Common.v1.IsCalendarYear\",yearmonth:\"@com.sap.vocabularies.Common.v1.IsCalendarYearMonth\",yearmonthday:\"@com.sap.vocabularies.Common.v1.IsCalendarDate\",yearquarter:\"@com.sap.vocabularies.Common.v1.IsCalendarYearQuarter\",yearweek:\"@com.sap.vocabularies.Common.v1.IsCalendarYearWeek\",url:\"@Org.OData.Core.V1.IsURL\"};function m(e,a){var o=e.oAnnotatable;if(o){a=t.buildPath(o.sPath,a)}this.oConverter=e;this.sPath=a;this.oParent=o;this.mSapAttributes=e.mSapAttributes;this.mAnnotationsForTarget=null}m.prototype.annotate=function(t,e){this.getTarget()[t]=e};m.prototype.consume=function(t){return this.oConverter.consumeSapAnnotation(t)};m.prototype.convert=function(t,e){var a,o;if(e===undefined||e===\"\"){return}o=p[t];if(o.property){a=this.getOrCreateAnnotationRecord(o.term);a[o.property]=e}else{this.annotate(o.term,e)}};m.prototype.getOrCreateAnnotationRecord=function(t){return this.oConverter.getOrCreateObject(this.getTarget(),t)};m.prototype.getTarget=function(){if(!this.mAnnotationsForTarget){this.mAnnotationsForTarget=this.oConverter.convertedV2Annotations[this.sPath]={}}return this.mAnnotationsForTarget};m.prototype.peek=function(t){return this.oConverter.mSapAnnotations[t]};function u(){this.association=null;this.associations={};this.associationSet=null;this.associationSets=[];this.aBoundOperations=[];this.constraintRole=null;this.convertedV2Annotations={};this.defaultEntityContainer=null;this.mEntityContainersOfSchema={};this.mEntityType2EntitySetAnnotation={};this.mProperty2Semantics={};this.sPropertyName=null;this.navigationProperties=[];this.mSapAnnotations={};this.sTypeName=null;this.mProperty2Unit={};e.call(this)}u.prototype=Object.create(e.prototype);u.prototype.collectSapAnnotations=function(t){var e,a=t.attributes,o,n;this.mSapAnnotations={};for(o=0,n=a.length;o<n;o+=1){e=a.item(o);if(e.namespaceURI===s&&e.localName!==\"content-version\"){this.mSapAnnotations[e.localName]=e.value}}};u.prototype.consumeSapAnnotation=function(t){var e=this.mSapAnnotations[t];delete this.mSapAnnotations[t];return e};u.prototype.convertEntitySetAnnotation=function(t,e){var n,i;switch(e){case\"creatable\":case\"deletable\":case\"updatable\":if(t.peek(e)===\"false\"){t.convert(e,false)}break;case\"deletable-path\":case\"updatable-path\":n=e.slice(0,9);i=t.consume(e);if(t.peek(n)){t.convert(e,false);a.warning(\"Inconsistent metadata in '\"+this.url+\"'\",\"Use either 'sap:\"+n+\"' or 'sap:\"+n+\"-path'\"+\" at entity set '\"+t.sPath+\"'\",o)}else{t.convert(e,{$Path:i})}break;case\"label\":this.convertLabel(t);break;case\"pageable\":i=t.consume(e);if(i===\"false\"){t.annotate(\"@Org.OData.Capabilities.V1.SkipSupported\",false);t.annotate(\"@Org.OData.Capabilities.V1.TopSupported\",false)}break;case\"requires-filter\":i=t.consume(e);if(i===\"true\"){t.convert(e,true)}break;case\"topable\":i=t.consume(e);if(i===\"false\"){t.convert(e,false)}break;default:}};u.prototype.convertLabel=function(t){t.convert(\"label\",t.consume(\"label\"))};u.prototype.convertPropertyAnnotation=function(t,e){var a;switch(e){case\"heading\":case\"label\":case\"quickinfo\":t.convert(e,t.consume(e));break;case\"field-control\":case\"precision\":case\"text\":t.convert(e,{$Path:t.consume(e)});break;case\"aggregation-role\":a=t.consume(e);if(a===\"dimension\"){t.annotate(\"@com.sap.vocabularies.Analytics.v1.Dimension\",true)}else if(a===\"measure\"){t.annotate(\"@com.sap.vocabularies.Analytics.v1.Measure\",true)}break;case\"display-format\":a=t.consume(e);if(a===\"NonNegative\"){t.annotate(\"@com.sap.vocabularies.Common.v1.IsDigitSequence\",true)}else if(a===\"UpperCase\"){t.annotate(\"@com.sap.vocabularies.Common.v1.IsUpperCase\",true)}break;case\"semantics\":this.convertPropertySemanticsAnnotation(t);break;case\"unit\":this.mProperty2Unit[t.sPath]=t.consume(\"unit\");break;case\"visible\":a=t.consume(e);if(a===\"false\"){t.annotate(\"@com.sap.vocabularies.UI.v1.Hidden\",true);t.annotate(\"@com.sap.vocabularies.Common.v1.FieldControl\",{$EnumMember:\"com.sap.vocabularies.Common.v1.FieldControlType/Hidden\"})}break;default:}};u.prototype.convertPropertySemanticsAnnotation=function(t){var e,n,i,r,s,p=t.peek(\"semantics\").split(\";\"),m=p[0],u=c[m];if(m===\"unit-of-measure\"||m===\"currency-code\"){this.mProperty2Semantics[t.sPath]=t.consume(\"semantics\")}else if(l[m]){t.annotate(l[m],true);t.consume(\"semantics\")}else if(u){i={$Path:this.sPropertyName};e=t.oParent.getOrCreateAnnotationRecord(\"@com.sap.vocabularies.Communication.v1.\"+u.TermName);if(u.Path){s=this.getOrCreateObject(e,u.Path);s[u.V4Attribute||m]=i;if(u.v4PropertyAnnotation){t.annotate(u.v4PropertyAnnotation,true);if(p[1]){r=[];n=p[1].split(\"=\")[1];n.split(\",\").forEach(function(t){var e=u.typeMapping[t];if(e){r.push(u.v4EnumType+\"/\"+e)}else{a.warning(\"Unsupported semantic type: \"+t,undefined,o)}});if(r.length){s.type={EnumMember:r.join(\" \")}}}e[u.Path]=[s]}else{e[u.Path]=s}}else{e[u.V4Attribute||m]=i}t.consume(\"semantics\")}};u.prototype.finalize=function(){this.result.$Version=\"4.0\";this.setDefaultEntityContainer();this.updateNavigationPropertiesAndCreateBindings();this.processBoundOperations();this.processUnitConversion()};u.prototype.mergeAnnotations=function(t,e){var a;for(a in t){if(a in e){e[a]=Object.assign(t[a],e[a])}else{e[a]=t[a]}}};u.prototype.postProcessSchema=function(e,a){var o,n,i,r,s,p;for(i in this.mEntityContainersOfSchema){n=this.mEntityContainersOfSchema[i];for(s in n){r=n[s];if(r.$kind!==\"EntitySet\"){continue}p=i+\"/\"+s;o=t.merge(this.convertedV2Annotations[p]||{},this.mEntityType2EntitySetAnnotation[r.$Type]);if(!t.isEmptyObject(o)){this.convertedV2Annotations[p]=o}}}if(this.bIgnoreAnnotations){if(!t.isEmptyObject(this.convertedV2Annotations)){this.schema.$Annotations={}}}else if(this.schema.$Annotations){this.mergeAnnotations(this.convertedV2Annotations,this.schema.$Annotations)}else if(!t.isEmptyObject(this.convertedV2Annotations)){this.schema.$Annotations=this.convertedV2Annotations}this.convertedV2Annotations={};this.mEntityContainersOfSchema={}};u.prototype.processAssociation=function(t){var e=this.namespace+t.getAttribute(\"Name\");this.associations[e]=this.association={referentialConstraint:null,roles:{}}};u.prototype.processAssociationEnd=function(t){var e=t.getAttribute(\"Role\");this.association.roles[e]={multiplicity:t.getAttribute(\"Multiplicity\"),propertyName:undefined,typeName:this.resolveAlias(t.getAttribute(\"Type\"))}};u.prototype.processAssociationSet=function(t){var e={associationName:this.resolveAlias(t.getAttribute(\"Association\")),ends:[],entityContainer:this.entityContainer};this.associationSet=e;this.associationSets.push(e);this.consumeSapAnnotation(\"creatable\");this.consumeSapAnnotation(\"deletable\");this.consumeSapAnnotation(\"updatable\")};u.prototype.processAssociationSetEnd=function(t){this.associationSet.ends.push({entitySetName:t.getAttribute(\"EntitySet\"),roleName:t.getAttribute(\"Role\")})};u.prototype.processBoundOperations=function(){var t=this;this.aBoundOperations.forEach(function(e){var a=t.result[e.$Parameter[0].$Type];a.$Key.forEach(function(t){e.$Parameter.some(function(a,o){if(a.$Name===t){e.$Parameter.splice(o,1);return true}})})})};u.prototype.processComplexType=function(t){this.processType(t,{$kind:\"ComplexType\"})};u.prototype.processDataServices=function(t){if(t.getAttributeNS(r,\"DataServiceVersion\")!==\"2.0\"){throw new Error(this.url+': expected DataServiceVersion=\"2.0\": '+h(t))}};u.prototype.processDependent=function(t){var e=this.association.referentialConstraint;this.constraintRole=e.dependent={roleName:t.getAttribute(\"Role\")}};u.prototype.processElement=function(t,e){this.collectSapAnnotations(t);if(e){e.call(this,t)}this.warnUnsupportedSapAnnotations(t)};u.prototype.processEntityContainer=function(t){var e=this.namespace+t.getAttribute(\"Name\");this.mEntityContainersOfSchema[e]=this.entityContainer={$kind:\"EntityContainer\"};this.addToResult(e,this.entityContainer);if(t.getAttributeNS(r,\"IsDefaultEntityContainer\")===\"true\"){this.defaultEntityContainer=e}this.v2annotatable(e)};u.prototype.processEntitySet=function(t){var e,a=t.getAttribute(\"Name\");this.entityContainer[a]=this.entitySet={$kind:\"EntitySet\",$Type:this.resolveAlias(t.getAttribute(\"EntityType\"))};e=this.v2annotatable(a,this.convertEntitySetAnnotatio Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/HeaderRenderer\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Lib\",\"sap/ui/core/Locale\",\"sap/ui/core/IconPool\"],function(t,e,a){\"use strict\";var i=5;var n={apiVersion:2};n.render=function(n,s){var l=new a(t.getLanguageTag()).getLanguage();var o=s.getTooltip_AsString();var r=s.getId();var u=e.getResourceBundleFor(\"sap.ui.unified\");var d=u.getText(\"CALENDAR_BTN_NEXT\");var c=u.getText(\"CALENDAR_BTN_PREV\");var b=u.getText(\"CALENDAR_BTN_TODAY\");n.openStart(\"div\",s);n.class(\"sapUiCalHead\");if(s.getVisibleCurrentDateButton()){n.class(\"sapUiCalHeaderWithTodayButton\")}if(o){n.attr(\"title\",o)}n.accessibilityState(s);n.openEnd();n.openStart(\"button\",r+\"-prev\");n.attr(\"title\",c);n.accessibilityState(null,{label:c});n.class(\"sapUiCalHeadPrev\");if(!s.getEnabledPrevious()){n.class(\"sapUiCalDsbl\");n.attr(\"disabled\",\"disabled\")}n.attr(\"tabindex\",\"-1\");n.openEnd();n.icon(\"sap-icon://slim-arrow-left\",null,{title:null});n.close(\"button\");var g=-1;var B=-1;var p=0;var f;for(p=0;p<i;p++){if(this.getVisibleButton(s,p)){if(g<0){g=p}B=p}}for(p=0;p<i;p++){if(l.toLowerCase()===\"ja\"||l.toLowerCase()===\"zh\"){f=i-1-p;if(this._isTwoMonthsCalendar(s)){switch(p){case 0:f=2;break;case 2:f=4;break;case 1:f=1;break;case 3:f=3;break}}}else{f=p}if(this._isTwoMonthsCalendar(s)){g=2;B=3}this.renderCalendarButtons(n,s,r,g,B,f)}if(!s.getVisibleButton0()&&!s.getVisibleButton1()&&!s.getVisibleButton2()&&!s._getVisibleButton3()&&!s._getVisibleButton4()){n.openStart(\"div\",r+\"-B\"+\"-Placeholder\");n.class(\"sapUiCalHeadBPlaceholder\");n.openEnd();n.close(\"span\")}n.openStart(\"button\",r+\"-next\");n.attr(\"title\",d);n.accessibilityState(null,{label:d});n.class(\"sapUiCalHeadNext\");if(!s.getEnabledNext()){n.class(\"sapUiCalDsbl\");n.attr(\"disabled\",\"disabled\")}n.attr(\"tabindex\",\"-1\");n.openEnd();n.icon(\"sap-icon://slim-arrow-right\",null,{title:null});n.close(\"button\");if(s.getVisibleCurrentDateButton()){n.openStart(\"button\",r+\"-today\");n.attr(\"title\",b);n.accessibilityState(null,{label:b});n.class(\"sapUiCalHeadB\");n.class(\"sapUiCalHeadToday\");n.openEnd();n.icon(\"sap-icon://appointment\",null,{title:null});n.close(\"button\")}n.close(\"div\")};n.renderCalendarButtons=function(t,e,a,i,n,s){var l={};if(this.getVisibleButton(e,s)){t.openStart(\"button\",a+\"-B\"+s);t.class(\"sapUiCalHeadB\");t.class(\"sapUiCalHeadB\"+s);if(i===s){t.class(\"sapUiCalHeadBFirst\")}if(n===s){t.class(\"sapUiCalHeadBLast\")}if(this.getAriaLabelButton(e,s)){l[\"label\"]=this.getAriaLabelButton(e,s)}t.accessibilityState(null,l);l={};t.openEnd();var o=this.getTextButton(e,s)||\"\";var r=this.getAdditionalTextButton(e,s)||\"\";if(r){t.openStart(\"span\",a+\"-B\"+s+\"-Text\");t.class(\"sapUiCalHeadBText\");t.openEnd();t.text(o);t.close(\"span\");t.openStart(\"span\",a+\"-B\"+s+\"-AddText\");t.class(\"sapUiCalHeadBAddText\");t.openEnd();t.text(r);t.close(\"span\")}else{t.text(o)}t.close(\"button\")}};n.getVisibleButton=function(t,e){var a=false;if(t[\"getVisibleButton\"+e]){a=t[\"getVisibleButton\"+e]()}else if(t[\"_getVisibleButton\"+e]){a=t[\"_getVisibleButton\"+e]()}return a};n.getAriaLabelButton=function(t,e){var a;if(t[\"getAriaLabelButton\"+e]){a=t[\"getAriaLabelButton\"+e]()}else if(t[\"_getAriaLabelButton\"+e]){a=t[\"_getAriaLabelButton\"+e]()}return a};n.getTextButton=function(t,e){var a;if(t[\"getTextButton\"+e]){a=t[\"getTextButton\"+e]()}else if(t[\"_getTextButton\"+e]){a=t[\"_getTextButton\"+e]()}return a};n.getAdditionalTextButton=function(t,e){var a;if(t[\"getAdditionalTextButton\"+e]){a=t[\"getAdditionalTextButton\"+e]()}else if(t[\"_getAdditionalTextButton\"+e]){a=t[\"_getAdditionalTextButton\"+e]()}return a};n._isTwoMonthsCalendar=function(t){return t.getParent()instanceof sap.ui.unified.Calendar&&t.getParent().getMonths()>=2};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/IndexPicker\", [\"sap/ui/core/Control\",\"sap/ui/unified/calendar/Header\",\"sap/ui/unified/calendar/IndexPickerRenderer\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/ui/events/KeyCodes\"],function(e,t,i,a,n){\"use strict\";var s=e.extend(\"sap.ui.unified.calendar.IndexPicker\",{metadata:{library:\"sap.ui.unified\",properties:{startIndex:{type:\"int\",group:\"Data\",defaultValue:0},selectedIndex:{type:\"int\",group:\"Data\",defaultValue:0},formatter:{type:\"object\",group:\"Data\"},rows:{type:\"int\",group:\"Data\",defaultValue:4},columns:{type:\"int\",group:\"Data\",defaultValue:3},periodSize:{type:\"int\",group:\"Data\",defaultValue:1}},aggregations:{header:{type:\"sap.ui.unified.calendar.Header\",multiple:false}},events:{select:{},focus:{}}},renderer:i});s.prototype.init=function(){this._initializeHeader();this.iCurrentIndex=0};s.prototype.onBeforeRendering=function(){this.getHeader().setEnabledPrevious(this.getStartIndex()>0)};s.prototype.onAfterRendering=function(){r.call(this)};s.prototype._initializeHeader=function(){var e=new t(this.getId()+\"--Head\",{visibleButton1:false,visibleButton2:false});e.attachEvent(\"pressPrevious\",this._handlePrevious,this);e.attachEvent(\"pressNext\",this._handleNext,this);this.setAggregation(\"header\",e)};s.prototype._handlePrevious=function(){this.goToPreviousPage()};s.prototype.goToPreviousPage=function(){var e=this.getStartIndex()-this.getRows()*this.getColumns();e=Math.max(0,e);this.setStartIndex(e)};s.prototype._handleNext=function(){this.goToNextPage()};s.prototype.goToNextPage=function(){var e=this.getStartIndex()+this.getRows()*this.getColumns();this.setStartIndex(e)};s.prototype.onmouseup=function(e){var t=e.target.getAttribute(\"data-sap-ui-index\");if(!t){return}this._selectIndex(parseInt(t))};s.prototype.onkeydown=function(e){if(e.keyCode===n.ENTER){var t=e.target.getAttribute(\"data-sap-ui-index\");if(!t){return}this._selectIndex(parseInt(t))}};s.prototype.onkeyup=function(e){if(e.keyCode===n.SPACE){e.preventDefault();var t=e.target.getAttribute(\"data-sap-ui-index\");if(!t){return}this._selectIndex(parseInt(t))}};s.prototype._selectIndex=function(e){this.setSelectedIndex(e);this.iCurrentIndex=0;this.fireSelect({index:e})};s.prototype._getFormatter=function(){return this.getFormatter()||o};function o(e){return(e+1).toString()}function r(){var e=0,t=false,i=this.getDomRef(),n=i.querySelectorAll(\".sapMIPItem\"),s=this.getColumns();for(var o=0;o<n.length;o++){if(n[o].getAttribute(\"data-sap-ui-index\")===this.getSelectedIndex()){e=o;t=true;break}}if(!this._oItemNavigation){this._oItemNavigation=new a;this._oItemNavigation.attachEvent(a.Events.AfterFocus,u,this);this._oItemNavigation.attachEvent(a.Events.BorderReached,this._handleBorderReached,this);this.addDelegate(this._oItemNavigation);if(s>1){this._oItemNavigation.setHomeEndColumnMode(true,true)}this._oItemNavigation.setDisabledModifiers({sapnext:[\"alt\"],sapprevious:[\"alt\"],saphome:[\"alt\"],sapend:[\"alt\"]});this._oItemNavigation.setCycling(false);this._oItemNavigation.setColumns(s,true)}this._oItemNavigation.setRootDomRef(i);this._oItemNavigation.setItemDomRefs(n);if(!t){e=this.iCurrentIndex%n.length}this._oItemNavigation.setFocusedIndex(e);this._oItemNavigation.focusItem(e);this._oItemNavigation.setPageSize(n.length)}function u(e){var t=e.getParameter(\"index\");var i=e.getParameter(\"event\");if(!i){return}var a=e.getParameter(\"index\");var n=this._oItemNavigation.getItemDomRefs();var s=n[t];this.iCurrentIndex=a;a=s.getAttribute(\"data-sap-ui-index\");this.fireFocus({index:a})}s.prototype._handleBorderReached=function(e){var t=e.getParameter(\"event\");var i=parseInt(t.target.getAttribute(\"data-sap-ui-index\"));var a=e.getParameter(\"index\");if(t.type){switch(t.type){case\"sapnext\":case\"sapnextmodifiers\":if(t.keyCode===n.ARROW_DOWN){i+=this.getColumns();a+=this.getColumns()}else{i+=1;a+=1}this.goToNextPage();break;case\"sapprevious\":case\"sappreviousmodifiers\":if(t.keyCode===n.ARROW_UP){i-=this.getColumns();a-=this.getColumns()}else{i-=1;a-=1}this.goToPreviousPage();break;default:break}var s=this._oItemNavigation.getItemDomRefs();a=Math.abs(s.length-Math.abs(a));this.iCurrentIndex=a;this._oItemNavigation.focusItem(s[a]);this.fireFocus({index:i})}};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/IndexPickerRenderer\", [],function(){\"use strict\";var e={apiVersion:2};e.render=function(e,t){var s,a={role:\"gridcell\",selected:false,label:\"\",describedby:\"\"};e.openStart(\"div\",t);e.class(\"sapMIP\");e.openEnd();var l=t.getAggregation(\"header\");e.renderControl(l);e.openStart(\"div\");e.class(\"sapMIPContent\");e.attr(\"role\",\"grid\");e.openEnd();for(var d=0;d<t.getRows();d++){e.openStart(\"div\",t.getId()+\"-\"+d);e.class(\"sapMIPRow\");e.attr(\"role\",\"row\");e.openEnd();var r=t.getSelectedIndex()+t.getPeriodSize()-1;for(var i=0;i<t.getColumns();i++){s=t.getStartIndex()+t.getColumns()*d+i;e.openStart(\"div\");e.class(\"sapMIPItem\");if(s===t.getSelectedIndex()){e.class(\"sapUiCalItemSel\");e.class(\"sapUiCalItemSelStart\");a[\"selected\"]=true;a[\"describedby\"]=a[\"describedby\"]+\" \"+t.sId+\"-Start\"}else if(s===r){e.class(\"sapUiCalItemSel\");e.class(\"sapUiCalItemSelEnd\");a[\"selected\"]=true;a[\"describedby\"]=a[\"describedby\"]+\" \"+t.sId+\"-End\"}else if(s>t.getSelectedIndex()&&s<r){e.class(\"sapUiCalItemSel\");e.class(\"sapUiCalItemSelBetween\");a[\"selected\"]=true}else{a[\"selected\"]=false}e.accessibilityState(null,a);e.class(\"sapUiCalItem\");e.class(\"customWidth\");e.attr(\"tabindex\",\"-1\");e.attr(\"data-sap-ui-index\",s);e.openEnd();e.text(t._getFormatter()(s));e.close(\"div\")}e.close(\"div\")}e.close(\"div\");e.close(\"div\")};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/Month\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/date/CalendarType\",\"sap/base/i18n/date/CalendarWeekNumbering\",\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/core/LocaleData\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/DateRange\",\"sap/ui/unified/DateTypeRange\",\"sap/ui/unified/library\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/library\",\"sap/ui/core/Locale\",\"./MonthRenderer\",\"sap/ui/dom/containsOrEquals\",\"sap/ui/events/KeyCodes\",\"sap/ui/thirdparty/jquery\",\"sap/ui/core/InvisibleMessage\",\"sap/ui/core/date/CalendarUtils\",\"sap/ui/core/date/UI5Date\",\"sap/base/Log\"],function(e,t,a,i,s,r,o,n,l,h,g,d,u,c,p,y,f,D,_,m,jQuery,v,S,C,b){\"use strict\";var M=y.InvisibleMessageMode;var T=c.CalendarDayType;var k=i.extend(\"sap.ui.unified.calendar.Month\",{metadata:{library:\"sap.ui.unified\",properties:{date:{type:\"object\",group:\"Data\"},intervalSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:false},singleSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:true},showHeader:{type:\"boolean\",group:\"Appearance\",defaultValue:false},firstDayOfWeek:{type:\"int\",group:\"Appearance\",defaultValue:-1},nonWorkingDays:{type:\"int[]\",group:\"Appearance\",defaultValue:null},primaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},secondaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},showWeekNumbers:{type:\"boolean\",group:\"Appearance\",defaultValue:true},_focusedDate:{type:\"object\",group:\"Data\",visibility:\"hidden\",defaultValue:null},_renderMonthWeeksOnly:{type:\"boolean\",group:\"Data\",visibility:\"hidden\",defaultValue:false},calendarWeekNumbering:{type:\"sap.base.i18n.date.CalendarWeekNumbering\",group:\"Appearance\",defaultValue:null}},aggregations:{selectedDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"selectedDate\"},specialDates:{type:\"sap.ui.unified.DateTypeRange\",multiple:true,singularName:\"specialDate\"},disabledDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"disabledDate\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"},legend:{type:\"sap.ui.unified.CalendarLegend\",multiple:false}},events:{select:{},focus:{parameters:{date:{type:\"object\"},otherMonth:{type:\"boolean\"},restoreOldDate:{type:\"boolean\"}}},weekNumberSelect:{allowPreventDefault:true,parameters:{weekNumber:{type:\"int\"},weekDays:{type:\"sap.ui.unified.DateRange\"}}}}},renderer:D});k.prototype.init=function(){this._mouseMoveProxy=this._handleMouseMove.bind(this);this._iColumns=7;this._oMinDate=h._minDate(this._getPrimaryCalendarType());this._oMaxDate=h._maxDate(this._getPrimaryCalendarType());this._aVisibleDays=[];this._bAlwaysShowSpecialDates=false;this._oUnifiedRB=o.getResourceBundleFor(\"sap.ui.unified\")};k.prototype._getAriaRole=function(){return\"gridcell\"};k.prototype._getDayDescription=function(){return\"\"};k.prototype.exit=function(){if(this._oItemNavigation){this.removeDelegate(this._oItemNavigation);this._oItemNavigation.destroy();delete this._oItemNavigation}if(this._sInvalidateMonth){clearTimeout(this._sInvalidateMonth)}this._aVisibleDays=null;this._bAlwaysShowSpecialDates=null};k.prototype.getFocusDomRef=function(){return this.getDomRef()&&this._oItemNavigation.getItemDomRefs()[this._oItemNavigation.getFocusedIndex()]};k.prototype.onBeforeRendering=function(){this._oFormatYyyymmdd=p.getInstance({pattern:\"yyyyMMdd\",calendarType:t.Gregorian});this._oFormatLong=p.getInstance({style:\"long\",calendarType:this._getPrimaryCalendarType()});if(this.getFirstDayOfWeek()!==-1&&this.getCalendarWeekNumbering()!==a.Default){b.warning(\"Both properties firstDayOfWeek and calendarWeekNumbering should not be used at the same time!\")}this._aSpecialDates=this._getSpecialDates()};k.prototype.onAfterRendering=function(){this.bSpaceButtonPressed=false;I.call(this);N.call(this);this._oInvisibleMessage=v.getInstance()};k.prototype.onmouseover=function(e){var t=jQuery(e.target),a=this.getSelectedDates()[0],i,s;if(!this._isMarkingUnfinishedRangeAllowed()){return}if(!t.hasClass(\"sapUiCalItemText\")&&!t.hasClass(\"sapUiCalItem\")){return}if(t.hasClass(\"sapUiCalItemText\")){t=t.parent()}i=parseInt(this._oFormatYyyymmdd.format(a.getStartDate()));s=t.data(\"sapDay\");if(this.hasListeners(\"datehovered\")){this.fireEvent(\"datehovered\",{date1:i,date2:s})}else{this._markDatesBetweenStartAndHoveredDate(i,s)}};k.prototype._getCalendarWeekNumbering=function(){if(this.isPropertyInitial(\"calendarWeekNumbering\")){return}return this.getCalendarWeekNumbering()};k.prototype._markDatesBetweenStartAndHoveredDate=function(e,t){var a,i,s,r;a=this.$().find(\".sapUiCalItem\");if(e>t){e=e+t;t=e-t;e=e-t}for(r=0;r<a.length;r++){i=jQuery(a[r]);s=i.data(\"sapDay\");if(s>e&&s<t&&this._isInAllowedRange(s)){i.addClass(\"sapUiCalItemSelBetween\")}else{i.removeClass(\"sapUiCalItemSelBetween\");if(s!=e&&s!=t){i.removeClass(\"sapUiCalItemSel\")}}}};k.prototype._isInAllowedRange=function(e){return this._oFormatYyyymmdd.parse(e).getTime()>this._oMinDate.toLocalJSDate().getTime()&&this._oFormatYyyymmdd.parse(e).getTime()<this._oMaxDate.toLocalJSDate().getTime()};k.prototype.onsapfocusleave=function(e){if(!e.relatedControlId||!_(this.getDomRef(),r.getElementById(e.relatedControlId).getFocusDomRef())){if(this._bMouseMove){this._unbindMousemove(true);var t=this._selectDay(this._getDate());if(!t&&this._oMoveSelectedDate){this._selectDay(this._oMoveSelectedDate)}this._bMoveChange=false;this._bMousedownChange=false;this._oMoveSelectedDate=undefined;P.call(this)}if(this._bMousedownChange){this._bMousedownChange=false;P.call(this)}}};k.prototype.removeAllSelectedDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"selectedDates\");return e};k.prototype.destroySelectedDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"selectedDates\");return e};k.prototype.removeAllSpecialDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"specialDates\");return e};k.prototype.destroySpecialDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"specialDates\");return e};k.prototype.removeAllDisabledDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"disabledDates\");return e};k.prototype.destroyDisabledDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"disabledDates\");return e};k.prototype.setDate=function(e){if(e){var t=g.fromLocalJSDate(e,this._getPrimaryCalendarType());A.call(this,t)}return this.setProperty(\"date\",e)};k.prototype._getDate=function(){if(!this._oDate){this._oDate=g.fromLocalJSDate(C.getInstance(),this._getPrimaryCalendarType())}return this._oDate};k.prototype.displayDate=function(e){var t=g.fromLocalJSDate(e,this._getPrimaryCalendarType());A.call(this,t);return this};k.prototype.setPrimaryCalendarType=function(e){this.setProperty(\"primaryCalendarType\",e);this._oFormatLong=p.getInstance({style:\"long\",calendarType:e});if(this._oDate){this._oDate=new g(this._oDate,e)}return this};k.prototype.setSecondaryCalendarType=function(e){this.setProperty(\"secondaryCalendarType\",e);this._oFormatSecondaryLong=p.getInstance({style:\"long\",calendarType:e});return this};k.prototype._getSecondaryCalendarType=function(){var e=this.getSecondaryCalendarType();if(e===this._getPrimaryCalendarType()){return undefined}return e};k.prototype._getLocale=function(){var t=this.getParent();if(t&&t.getLocale){return t.getLocale()}else if(!this._sLocale){this._sLocale=new f(e.getLanguageTag()).toString()}return this._sLocale};k.prototype._getLocaleData=function(){var e=this.getParent();if(e&&e._getLocaleData){return e._getLocaleData()}else if(!this._oLocaleData){var t=this._getLocale();var a=new f(t);this._oLocaleData=n.getInstance(a)}return this._oLocaleData};k.prototype._getFormatLong=function(){var e=this._getLocale();if(this._oFormatLong.oLocale.toString()!==e){var t=new f(e);this._oFormatLong=p.getInstance({style:\"long\",calendarType:this._getPrimaryCalendarType()},t);if(this._oFormatSecondaryLong){this._oFormatSecondaryLong=p.getInstance({style:\"long\",calendarType:this._getSecondaryCalendarType()},t)}}return this._oFormatLong};k.prototype.getIntervalSelection=function(){var e=this.getParent();if(e&&e.getIntervalSelection){return e.getIntervalSelection()}else{return this.getProperty(\"intervalSelection\")}};k.prototype.getSingleSelection=function(){var e=this.getParent();if(e&&e.getSingleSelection){return e.getSingleSelection()}else{return this.getProperty(\"singleSelection\")}};k.prototype.getSelectedDates=function(){var e=this.getParent();if(e&&e.getSelectedDates){return e.getSelectedDates()}else{return this.getAggregation(\"selectedDates\",[])}};k.prototype.getSpecialDates=function(){var e=this.getParent();if(e&&e.getSpecialDates){return e.getSpecialDates()}else{return this.getAggregation(\"specialDates\",[])}};k.prototype.getDisabledDates=function(){var e=this.getParent();if(e&&e.getDisabledDates){return e.getDisabledDates()}else{return this.getAggregation(\"disabledDates\",[])}};k.prototype.getPrimaryCalendarType=function(){var e=this.getParent();if(e&&e.getPrimaryCalendarType){return e.getPrimaryCalendarType()}return this.getProperty(\"primaryCalendarType\")};k.prototype._getPrimaryCalendarType=function(){var t=this.getParent();if(t&&t._getPrimaryCalendarType){return t._getPrimaryCalendarType()}return this.getProperty(\"primaryCalendarType\")||e.getCalendarType()};k.prototype._getShowHeader=function(){var e=this.getParent();if(e&&e._getShowMonthHeader){return e._getShowMonthHeader()}else{return this.getProperty(\"showHeader\")}};k.prototype.getAriaLabelledBy=function(){var e=this.getParent();if(e&&e.getAriaLabelledBy){return e.getAriaLabelledBy()}else{return this.getAssociation(\"ariaLabelledBy\",[])}};k.prototype.getLegend=function(){var e=this.getParent();if(e&&e.getLegend){return e.getLegend()}else{return this.getAssociation(\"legend\")}};k.prototype._getFirstDayOfWeek=function(){var e=this.getParent();var t=0;if(e&&e.getFirstDayOfWeek){t=e.getFirstDayOfWeek()}else{t=this.getProperty(\"firstDayOfWeek\")}if(t<0||t>6){var a=S.getWeekConfigurationValues(this._getCalendarWeekNumbering(),new f(this._getLocale()));if(a){t=a.firstDayOfWeek}else{var i=this._getLocaleData();t=i.getFirstDayOfWeek()}}return t};k.prototype._getNonWorkingDays=function(){var e=this.getParent();var t;if(e&&e.getNonWorkingDays){t=e.getNonWorkingDays()}else{t=this.getProperty(\"nonWorkingDays\")}if(t&&!Array.isArray(t)){t=[]}return t};k.prototype._isSpecialDateMarkerEnabled=function(e){var t;if(this.getStartDate){t=this.getStartDate()}else if(this.getDate()){t=this.getDate()}else{t=C.getInstance()}return this._bAlwaysShowSpecialDates||h._isSameMonthAndYear(e,g.fromLocalJSDate(t))};k.prototype._checkDateSelected=function(e){h._checkCalendarDate(e);var t=0,a=this.getSelectedDates(),i=this._getPrimaryCalendarType(),s=0,r=this.getProperty(\"_focusedDate\"),o=false,n=this.getParent(),l=this._bCalendar&&n.getMonths(),d,u;for(s=0;s<a.length;s++){var c=a[s],p=c.getStartDate()?g.fromLocalJSDate(c.getStartDate(),i):undefined,y=c.getEndDate()?g.fromLocalJSDate(c.getEndDate(),i):undefined;if(p&&y){u=this._arrangeStartAndEndDates(p,y);p=u.startDate;y=u.endDate}d=r&&p&&l===1&&r.getMonth()!==p.getMonth();o=this._isMarkingUnfinishedRangeAllowed()&&r&&!d&&(h._isBetween(e,p,r,true)||h._isBetween(e,r,p,true));if(p&&!y&&e.isSame(p)){t=1;break}else if(y&&e.isSame(p)){t=2;if(e.isSame(y)){t=5}break}else if(y&&e.isSame(y)){t=3;break}else if(y&&e.isAfter(p)&&e.isBefore(y)||o){t=4;break}if(this.getSingleSelection()){break}}return t};k.prototype._getDateTypes=function(e){h._checkCalendarDate(e);var t,a,i,s=[];var r=this._aSpecialDates||this._getSpecialDates();var o=e.toUTCJSDate().getTime();var n=C.getInstance(Date.UTC(0,0,1));for(var l=0;l<r.length;l++){var g=r[l];var d=g.getStartDate();var u=h.MAX_MILLISECONDS;if(d){n.setUTCFullYear(d.getFullYear(),d.getMonth(),d.getDate());u=n.getTime()}var c=g.getEndDate();var p=-h.MAX_MILLISECONDS;if(c){n.setUTCFullYear(c.getFullYear(),c.getMonth(),c.getDate());p=n.getTime()}i=g.getType()===T.NonWorking;if(o===u&&!c||o>=u&&o<=p){if(!i&&!t){t={type:g.getType(),secondaryType:g.getSecondaryType(),tooltip:g.getTooltip_AsString(),color:g.getColor(),customData:g.getCustomData()};s.push(t)}else if(i&&!a){a={type:g.getType(),secondaryType:g.getSecondaryType(),tooltip:g.getTooltip_AsString(),customData:g.getCustomData()};s.push(a)}if(t&&a){break}}}return s};k.prototype._checkDateEnabled=function(e){h._checkCalendarDate(e);var t=true;var a=this.getDisabledDates();var i=e.toUTCJSDate().getTime();var s=this._getPrimaryCalendarType();if(this._oMinDate&&i<this._oMinDate||this._oMaxDate&&i>this._oMaxDate){return false}for(var r=0;r<a.length;r++){var o=a[r];var n=o.getStartDate();var l=0;if(n){n=g.fromLocalJSDate(n,s);l=n.toUTCJSDate().getTime()}var d=o.getEndDate();var u=0;if(d){d=g.fromLocalJSDate(d,s);u=d.toUTCJSDate().getTime()}if(d){if(i>l&&i<u){t=false;break}}else if(i===l){t=false;break}}return t};k.prototype._handleMouseMove=function(e){if(!this.$().is(\":visible\")){this._unbindMousemove(true)}var t=jQuery(e.target);if(t.hasClass(\"sapUiCalItemText\")){t=t.parent()}if(this._sLastTargetId&&this._sLastTargetId===t.attr(\"id\")){return}this._sLastTargetId=t.attr(\"id\");if(t.hasClass(\"sapUiCalItem\")){var a=this._getDate();if(_(this.getDomRef(),e.target)){var i=g.fromLocalJSDate(this._oFormatYyyymmdd.parse(t.attr(\"data-sap-day\")),this._getPrimaryCalendarType());if(!i.isSame(a)){this._oDate=i;var s=this._selectDay(i,true);if(s){this._oMoveSelectedDate=new g(i,this._getPrimaryCalendarType())}this._bMoveChange=true}}}};k.prototype.onmousedown=function(e){this._oMousedownPosition={clientX:e.clientX,clientY:e.clientY};if(e.button||s.support.touch||!this._isWeekSelectionAllowed()||!e.target.classList.contains(\"sapUiCalWeekNum\")){return}var t=e.target,a=t.nextElementSibling,i=a.getAttribute(\"data-sap-day\"),r=!a.classList.contains(\"sapUiCalItemOtherMonth\"),o=this._oFormatYyyymmdd.parse(i),n=g.fromLocalJSDate(o,this._getPrimaryCalendarType());this._handleWeekSelection(n,r)};k.prototype.onmouseup=function(e){var t=e.button!==2;if(this._bMouseMove){this._unbindMousemove(true);var a=this._getDate();var i=this._oItemNavigation.getItemDomRefs();for(var r=0;r<i.length;r++){var o=jQuery(i[r]);if(!o.hasClass(\"sapUiCalItemOtherMonth\")){if(o.attr(\"data-sap-day\")===this._oFormatYyyymmdd.format(a.toUTCJSDate(),true)){o.trigger(\"focus\");break}}}if(this._bMoveChange){var n=this._selectDay(a);if(!n&&this._oMoveSelectedDate){this._selectDay(this._oMoveSelectedDate)}this._bMoveChange=false;this._bMousedownChange=false;this._oMoveSelectedDate=undefined;P.call(this)}}if(this._bMousedownChange){this._bMousedownChange=false;P.call(this)}else if(s.support.touch&&t&&this._areMouseEventCoordinatesInThreshold(e.clientX,e.clientY,10)){var l=e.target.classList,h=l.contains(\"sapUiCalItemText\")||l.contains(\"sapUiCalDayName\"),g=l.contains(\"sapUiCalWeekNum\"),d=this._getSelectedDateFromEvent(e);if(g&&this._isWeekSelectionAllowed()){this._handleWeekSelection(d,true)}else if(h&&e.shiftKey&&this._isConsecutiveDaysSelectionAllowed()){this._handleConsecutiveDaysSelection(d)}else if(h){this._selectDay(d,false,false);P.call(this)}}};k.prototype.onsapselect=function(e){var t=this.getParent();if(this.bSpaceButtonPressed){return}if(t&&t._isMultiDatesSelectionHeaderAllowed&&!t._isMultiDatesSelectionHeaderAllowed()){return}var a=this._selectDay(this._getSelectedDateFromEvent(e));if(a){P.call(this)}e.stopPropagation();e.preventDefault()};k.prototype.onkeydown=function(e){if(e.which===m.SPACE){this.bSpaceButtonPressed=true}};k.prototype.onkeyup=function(e){if(e.which===m.SPACE){this.bSpaceButtonPressed=false}};k.prototype.onsapselectmodifiers=function(e){var t=this._getSelectedDateFromEvent(e),a,i=this.getParent();if(this._isWeekSelectionAllowed()&&e.shiftKey&&e.keyCode===m.SPACE){if(i&&i._isMultiDatesSelectionHeaderAllowed&&!i._isMultiDatesSelectionHeaderAllowed()){return}a=h._getFirstDateOfWeek(t);this._handleWeekSelection(a,false)}else if(this._isConsecutiveDaysSelectionAllowed()&&e.shiftKey&&e.keyCode===m.ENTER){this._handleConsecutiveDaysSelection(t)}e.preventDefault()};k.prototype.onsappageupmodifiers=function(e){var t=new g(this._getDate(),this._getPrimaryCalendarType());var a=t.getYear();if(e.metaKey||e.ctrlKey){t.setYear(a-10)}else{t.setYear(a-1)}this.fireFocus({date:t.toLocalJSDate(),otherMonth:true});e.preventDefault()};k.prototype.onsappagedownmodifiers=function(e){var t=new g(this._getDate(),this._getPrimaryCalendarType());var a=t.getYear();if(e.metaKey||e.ctrlKey){t.setYear(a+10)}else{t.setYear(a+1)}this.fireFocus({date:t.toLocalJSDate(),otherMonth:true});e.preventDefault()};k.prototype._isValueInThreshold=function(e,t,a){var i=e-a,s=e+a;return t>=i&&t<=s};k.prototype._areMouseEventCoordinatesInThreshold=function(e,t,a){return this._oMousedownPosition&&this._isValueInThreshold(this._oMousedownPosition.clientX,e,a)&&this._isValueInThreshold(this._oMousedownPosition.clientY,t,a)?true:false};k.prototype._bindMousemove=function(e){jQuery(window.document).on(\"mousemove\",this._mouseMoveProxy);this._bMouseMove=true;if(e){this.fireEvent(\"_bindMousemove\")}};k.prototype._unbindMousemove=function(e){jQuery(window.document).off(\"mousemove\",this._mouseMoveProxy);this._bMouseMove=undefined;this._sLastTargetId=undefined;if(e){this.fireEvent(\"_unbindMousemove\")}};k.prototype.onThemeChanged=function(){if(this._bNoThemeChange||!this.getDomRef()){return}var e=this.getDomRef().querySelectorAll(\".sapUiCalWH:not(.sapUiCalDummy)\"),t=this._getLocaleData(),a=this._getFirstWeekDay(),i=t.getDaysStandAlone(\"abbreviated\",this._getPrimaryCalendarType()),s,r;this._bNamesLengthChecked=undefined;this._bLongWeekDays=undefined;for(r=0;r<e.length;r++){s=e[r];s.textContent=i[(r+a)%7]}N.call(this)};k.prototype._handleBorderReached=function(e){var t=e.getParameter(\"event\");var a=0;var i=this._getDate();var s=new g(i,this._getPrimaryCalendarType());if(t.type){switch(t.type){case\"sapnext\":case\"sapnextmodifiers\":if(t.keyCode===m.ARROW_DOWN){s.setDate(s.getDate()+7)}else{s.setDate(s.getDate()+1)}break;case\"sapprevious\":case\"sappreviousmodifiers\":if(t.keyCode===m.ARROW_UP){s.setDate(s.getDate()-7)}else{s.setDate(s.getDate()-1)}break;case\"sappagedown\":a=s.getMonth()+1;s.setMonth(a);if(a%12!==s.getMonth()){while(a!==s.getMonth()){s.setDate(s.getDate()-1)}}break;case\"sappageup\":a=s.getMonth()-1;s.setMonth(a);if(a<0){a=11}if(a!==s.getMonth()){while(a!==s.getMonth()){s.setDate(s.getDate()-1)}}break;default:break}this.fireFocus({date:s.toLocalJSDate(),otherMonth:true})}};k.prototype.checkDateFocusable=function(e){h._checkJSDateObject(e);var t=this._getDate();var a=g.fromLocalJSDate(e,this._getPrimaryCalendarType());return h._isSameMonthAndYear(a,t)};k.prototype.applyFocusInfo=function(e){return this};k.prototype._getFirstWeekDay=function(){return this._getFirstDayOfWeek()};k.prototype._isMonthNameLong=function(e){var t;var a;for(t=0;t<e.length;t++){a=e[t];if(Math.abs(a.clientWidth-a.scrollWidth)>1){return true}}return false};k.prototype._getVisibleDays=function(e,t){var a=42,i=this.getProperty(\"_renderMonthWeeksOnly\"),s,r,o,n,l,h,d,u;if(!e){return this._aVisibleDays}this._aVisibleDays=[];d=this._getFirstDayOfWeek();h=new g(e,this._getPrimaryCalendarType());h.setDate(1);l=h.getDay()-d;if(l<0){l=7+l}if(l>0){h.setDate(1-l)}o=new g(h);r=(e.getMonth()+1)%12;for(let e=0;e<a;e++){u=o.getYear();n=new g(o,this._getPrimaryCalendarType());if(t&&u<1){n._bBeforeFirstYear=true;this._aVisibleDays.push(n)}else if(u>0&&u<1e4){this._aVisibleDays.push(n)}o.setDate(o.getDate()+1);s=o.getMonth()===r&&o.getDay()===d;if(i&&s){break}}return this._aVisibleDays};k.prototype._handleMousedown=function(e,t){var a=e.target.classList.contains(\"sapUiCalWeekNum\"),i=!e.button,r=this._getSelectedDateFromEvent(e);if(!i||s.support.touch){return this}if(a){this._isWeekSelectionAllowed()&&this._handleWeekSelection(r,true);return this}else if(e.shiftKey&&this._isConsecutiveDaysSelectionAllowed()){this._handleConsecutiveDaysSelection(r);return this}var o=this._selectDay(t);if(o){this._bMousedownChange=true}if(this._bMouseMove){this._unbindMousemove(true);this._bMoveChange=false;this._oMoveSelectedDate=undefined}else if(o&&this.getIntervalSelection()&&this.$().is(\":visible\")){this._bindMousemove(true);this._oMoveSelectedDate=new g(t,this._getPrimaryCalendarType())}e.preventDefault();e.setMark(\"cancelAutoClose\")};k.prototype._getSelectedDateFromEvent=function(e){var t=e.target,a,i;if(t.classList.contains(\"sapUiCalWeekNum\")){a=t.nextSibling.getAttribute(\"data-sap-day\")}else{a=t.getAttribute(\"data-sap-day\")||t.parentNode.getAttribute(\"data-sap-day\")}i=this._oFormatYyyymmdd.parse(a);return i?g.fromLocalJSDate(i,this._getPrimaryCalendarType()):null};k.prototype._handleWeekSelection=function(e,t){var a=this._calculateWeekNumber(e),i=this._getLastWeekDate(e),s=this.getSingleSelection(),r=this.getIntervalSelection(),o=this._checkDateEnabled(e)?e:null,n=this._checkDateEnabled(i)?i:null;if(e.isAfter(this._oMaxDate)||i.isBefore(this._oMinDate)){return this}if(!o){o=new g(this._oMinDate)}if(!n){n=new g(this._oMaxDate)}if(!s&&!r){this._handleWeekSelectionByMultipleDays(a,o,n)}else if(s&&r){this._handleWeekSelectionBySingleInterval(a,o,n)}t&&this._focusDate(o);return this};k.prototype._handleConsecutiveDaysSelection=function(e){var t=this.getSelectedDates(),a=t.length&&t[t.length-1].getStartDate(),i=a?g.fromLocalJSDate(a):e,s;s=this._areAllDaysBetweenSelected(i,e);this._toggleDaysBetween(i,e,!s);return this};k.prototype._calculateWeekNumber=function(e){return h.calculateWeekNumber(e,this._getPrimaryCalendarType(),this._getLocale(),this._getCalendarWeekNumbering(),this._getFirstDayOfWeek())};k.prototype._isWeekSelectionAllowed=function(){var e=this.getSingleSelection(),a=this.getIntervalSelection(),i=this._getPrimaryCalendarType(),s=this.getFirstDayOfWeek()!==-1,r=!e&&!a,o=e&&a,n=o||r;return i===t.Gregorian&&!s&&n};k.prototype._isConsecutiveDaysSelectionAllowed=function(){var e=this.getSingleSelection(),t=this.getIntervalSelection();return!e&&!t};k.prototype._isMarkingUnfinishedRangeAllowed=function(){var e=this.getSelectedDates()[0],t=!!(e&&e.getStartDate()&&!e.getEndDate());return this.getIntervalSelection()&&t};k.prototype._handleWeekSelectionByMultipleDays=function(e,t,a){var i,s,r;i=this._areAllDaysBetweenSelected(t,a)?new d({startDate:t.toLocalJSDate()}):new d({startDate:t.toLocalJSDate(),endDate:a.toLocalJSDate()});s=this.fireWeekNumberSelect({weekNumber:e,weekDays:i});r=i.getEndDate()?true:false;if(s){this._toggleDaysBetween(t,a,r)}return this};k.prototype._handleWeekSelectionBySingleInterval=function(e,t,a){var i=new d({startDate:t.toLocalJSDate(),endDate:a.toLocalJSDate()}),s=this.getParent(),r=this,o;if(s&&s.getSelectedDates){r=s}if(this._isIntervalSelected(i)){i=null}o=this.fireWeekNumberSelect({weekNumber:e,weekDays:i});if(o){r.removeAllSelectedDates();r.addSelectedDate(i)}return this};k.prototype._isIntervalSelected=function(e){var t=this.getSelectedDates(),a=t.length&&t[0],i=a&&a.getEndDate();return a&&a.getStartDate()&&a.getStartDate().getTime()===e.getStartDate().getTime()&&i&&a.getEndDate()&&a.getEndDate().getTime()===e.getEndDate().getTime()};k.prototype._getLastWeekDate=function(e){return new g(e).setDate(e.getDate()+6)};k.prototype._toggleDaysBetween=function(e,t,a){var i=this._arrangeStartAndEndDates(e,t),s=new g(i.startDate),r;do{r=this._checkDateSelected(s);if(!r&&a||r&&!a){this._selectDay(s);P.call(this)}s.setDate(s.getDate()+1)}while(s.isSameOrBefore(i.endDate));return this};k.prototype._areAllDaysBetweenSelected=function(e,t){var a=this._arrangeStartAndEndDates(e,t),i=new g(a.startDate),s=true;do{if(!this._checkDateSelected(i)){s=false;break}i.setDate(i.getDate()+1)}while(i.isSameOrBefore(a.endDate));return s};k.prototype._arrangeStartAndEndDates=function(e,t){var a=e.isSameOrBefore(t);return{startDate:a?e:t,endDate:a?t:e}};k.prototype._selectDay=function(e,t){if(!this._checkDateEnabled(e)){return false}var a=this.getSelectedDates();var i;var s=this._oItemNavigation.getItemDomRefs();var r;var o;var n=0;var l=this.getParent();var h=this;var u;var c=this._getPrimaryCalendarType();if(l&&l.isA(\"sap.ui.unified.Calendar\")){h=l}if(this.getSingleSelection()){if(a.length>0){i=a[0];u=i.getStartDate();if(u){u=g.fromLocalJSDate(u,c)}}else{i=new d;h.addAggregation(\"selectedDates\",i,true)}if(this.getIntervalSelection()&&(!i.getEndDate()||t)&&u){var p;if(e.isBefore(u)){p=u;u=e;if(!t){i.setProperty(\"startDate\",u.toLocalJSDate());i.setProperty(\"endDate\",p.toLocalJSDate())}}else if(e.isSameOrAfter(u)){p=e;if(!t){i.setProperty(\"endDate\",p.toLocalJSDate())}}}else{i.setProperty(\"startDate\",e.toLocalJSDate());i.setProperty(\"endDate\",undefined)}this._oInvisibleMessage.announce(this._oUnifiedRB.getText(\"APPOINTMENT_SELECTED\"),M.Assertive)}else{if(this.getIntervalSelection()){throw new Error(\"Calender don't support multiple interval selection\")}else{var y=this._checkDateSelected(e);if(y>0){for(n=0;n<a.length;n++){u=a[n].getStartDate();if(u&&e.isSame(g.fromLocalJSDate(u,c))){h.removeAggregation(\"selectedDates\",n);break}}}else{this._oInvisibleMessage.announce(this._oUnifiedRB.getText(\"APPOINTMENT_SELECTED\"),M.Assertive);i=new d({startDate:e.toLocalJSDate()});h.addAggregation(\"selectedDates\",i)}o=this._oFormatYyyymmdd.format(e.toUTCJSDate(),true);for(n=0;n<s.length;n++){r=jQuery(s[n]);if(r.attr(\"data-sap-day\")===o){if(y>0){r.removeClass(\"sapUiCalItemSel\");if(this._getSelectableAccessibilitySemantics()){r.attr(\"aria-selected\",\"false\")}}else{r.addClass(\"sapUiCalItemSel\");if(this._getSelectableAccessibilitySemantics()){r.attr(\"aria-selected\",\"true\")}}}}}}return true};k.prototype._getSelectableAccessibilitySemantics=function(){return true};k.prototype._getSpecialDates=function(){var e=this.getSpecialDates();for(var t=0;t<e.length;t++){var a=e[t].getSecondaryType()===c.CalendarDayType.NonWorking&&e[t].getType()!==c.CalendarDayType.NonWorking;if(a){var i=new u;i.setType(c.CalendarDayType.NonWorking);i.setStartDate(e[t].getStartDate());if(e[t].getEndDate()){i.setEndDate(e[t].getEndDate())}e.push(i)}}return e};function I(){var e=this._oFormatYyyymmdd.format(this._getDate().toUTCJSDate(),true),t=0,a=this.getDomRef(),i=a.querySelectorAll(\".sapUiCalItem\");for(var s=0;s<i.length;s++){if(i[s].getAttribute(\"data-sap-day\")===e){t=s;break}}if(!this._oItemNavigation){this._oItemNavigation=new l;this._oItemNavigation.attachEvent(l.Events.AfterFocus,L,this);this._oItemNavigation.attachEvent(l.Events.FocusAgain,w,this);this._oItemNavigation.attachEvent(l.Events.BorderReached,this._handleBorderReached,this);this.addDelegate(this._oItemNavigation);if(this._iColumns>1){this._oItemNavigation.setHomeEndColumnMode(true,true)}this._oItemNavigation.setDisabledModifiers({sapnext:[\"alt\"],sapprevious:[\"alt\"],saphome:[\"alt\"],sapend:[\"alt\"]});this._oItemNavigation.setCycling(false);this._oItemNavigation.setColumns(this._iColumns,true)}this._oItemNavigation.setRootDomRef(a);this._oItemNavigation.setItemDomRefs(i);this._oItemNavigation.setFocusedIndex(t);this._oItemNavigation.setPageSize(i.length)}function L(e){var t=e.getParameter(\"index\"),a=e.getParameter(\"event\"),i=this._getDate(),s=new g(i,this._getPrimaryCalendarType()),r=false,o=true,n=this._oItemNavigation.getItemDomRefs(),l=n[t],h=l.getAttribute(\"data-sap-day\"),d;if(!a){return}if(l.classList.contains(\"sapUiCalItemOtherMonth\")||l.classList.contains(\"sapUiCalItemDsbl\")){if(a.type===\"saphomemodifiers\"&&(a.metaKey||a.ctrlKey)){for(var u=0;u<n.length;++u){d=n[u];if(!(d.classList.contains(\"sapUiCalItemOtherMonth\")||d.classList.contains(\"sapUiCalItemDsbl\"))){s=g.fromLocalJSDate(this._oFormatYyyymmdd.parse(d.getAttribute(\"data-sap-day\")),this._getPrimaryCalendarType());break}}this._focusDate(s)}else if(a.type===\"sapendmodifiers\"&&(a.metaKey||a.ctrlKey)){for(var u=n.length-1;u>0;--u){d=n[u];if(!(d.classList.contains(\"sapUiCalItemOtherMonth\")||d.classList.contains(\"sapUiCalItemDsbl\"))){s=g.fromLocalJSDate(this._oFormatYyyymmdd.parse(d.getAttribute(\"data-sap-day\")),this._getPrimaryCalendarType());break}}this._focusDate(s)}else{r=true;s=g.fromLocalJSDate(this._oFormatYyyymmdd.parse(h),this._getPrimaryCalendarType());if(!s){s=new g(i)}this._focusDate(i);if(a.type===\"mousedown\"||this._sTouchstartYyyyMMdd&&a.type===\"focusin\"&&this._sTouchstartYyyyMMdd===h||l.classList.contains(\"sapUiCalItemDsbl\")){o=false;this.fireFocus({date:i.toLocalJSDate(),otherMonth:false,restoreOldDate:true})}this._sTouchstartYyyyMMdd=a.originalEvent&&a.originalEvent.type===\"touchstart\"?h:undefined}}else{if(a.target.classList.contains(\"sapUiCalWeekNum\")){this._focusDate(s)}else{s=g.fromLocalJSDate(this._oFormatYyyymmdd.parse(h),this._getPrimaryCalendarType());this._oDate=s}this._sTouchstartYyyyMMdd=undefined}if(a.type===\"mousedown\"&&this.getIntervalSelection()){this._sLastTargetId=l.id}if(o){this.fireFocus({date:s.toLocalJSDate(),otherMonth:r})}if(a.type===\"mousedown\"){this._handleMousedown(a,s,t)}}function w(e){var t=e.getParameter(\"index\");var a=e.getParameter(\"event\");if(!a){return}if(a.type===\"mousedown\"){var i=this._getDate();if(this.getIntervalSelection()){var s=this._oItemNavigation.getItemDomRefs();this._sLastTargetId=s[t].id}this._handleMousedown(a,i,t)}}function A(e){h._checkCalendarDate(e);var t=e.getYear();h._checkYearInValidRange(t);if(!this.getDate()||!e.isSame(g.fromLocalJSDate(this.getDate(),e.getCalendarType()))){var a=new g(e);this.setProperty(\"date\",e.toLocalJSDate());this._oDate=a}else{this.invalidate()}}k.prototype._focusDate=function(e,t,a){if(!t){this.setDate(e.toLocalJSDate())}var i=this._oFormatYyyymmdd.format(e.toUTCJSDate(),true),r=this._oItemNavigation.getItemDomRefs(),o;for(var n=0;n<r.length;n++){o=r[n];if(o.getAttribute(\"data-sap-day\")===i){if(document.activeElement!==r[n]){if(a||s.system.phone){this._oItemNavigation.setFocusedIndex(n)}else{this._oItemNavigation.focusItem(n)}}break}}};function P(){if(this._bMouseMove){this._unbindMousemove(true)}this.fireSelect()}function N(){if(!this._bNamesLengthChecked){var e,t=this.getDomRef().querySelectorAll(\".sapUiCalWH:not(.sapUiCalDummy)\"),a=this._isMonthNameLong(t),i,s,r,o;if(a){this._bLongWeekDays=false;i=this._getLocaleData();s=this._getFirstWeekDay();r=i.getDaysStandAlone(\"narrow\",this._getPrimaryCalendarType());for(o=0;o<t.length;o++){e=t[o];e.textContent=r[(o+s)%7]}}else{this._bLongWeekDays=true}this._bNamesLengthChecked=true}}return k});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/MonthPicker\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/ui/core/LocaleData\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/ui/unified/library\",\"sap/ui/core/Locale\",\"./MonthPickerRenderer\",\"sap/ui/thirdparty/jquery\",\"sap/ui/events/KeyCodes\",\"sap/ui/unified/DateRange\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/core/date/UI5Date\"],function(t,e,a,i,s,o,n,r,h,jQuery,l,g,c,f,d){\"use strict\";var u=12,p=2,_={OneYearBackward:-1,OneYearForward:1};var m=a.extend(\"sap.ui.unified.calendar.MonthPicker\",{metadata:{library:\"sap.ui.unified\",properties:{month:{type:\"int\",group:\"Data\",defaultValue:0},months:{type:\"int\",group:\"Appearance\",defaultValue:12},intervalSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:false},_singleSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:true,visibility:\"hidden\"},_showSelectedRange:{type:\"boolean\",group:\"Appearance\",defaultValue:false,visibility:\"hidden\"},columns:{type:\"int\",group:\"Appearance\",defaultValue:3},primaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},secondaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},_firstMonth:{type:\"int\",group:\"Data\",visibility:\"hidden\",defaultValue:0},_focusedMonth:{type:\"int\",group:\"Data\",visibility:\"hidden\"}},aggregations:{selectedDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"selectedDate\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},events:{select:{},pageChange:{}}},renderer:h});m.prototype.init=function(){this._iMinMonth=0;this._iMaxMonth=11};m.prototype.onAfterRendering=function(){var t,e=this.getMonth(),a=this.getMonths(),i=this.getProperty(\"_firstMonth\"),s=this.getProperty(\"_focusedMonth\"),o=this._oItemNavigation?this._oItemNavigation.getFocusedIndex():0;M.call(this);S.call(this);if(this.getColumns()>0){t=s%a;var n=parseInt(u/a),r=n*a;if(s>=r){t=12-r+1+t}}else if(e<i||e>i+a-1){t=o}else{t=e-i}this._oItemNavigation.focusItem(t)};m.prototype.setMonth=function(t){var e=Math.floor(t/this.getMonths())*this.getMonths();if(e+this.getMonths()>12){e=12-this.getMonths()}this.setProperty(\"month\",t);this.setProperty(\"_focusedMonth\",t);this.setProperty(\"_firstMonth\",e);t=this.getProperty(\"month\");if(t<0||t>11){throw new Error(\"Property month must be between 0 and 11; \"+this)}if(this.getIntervalSelection()){this._oItemNavigation&&this._oItemNavigation.focusItem(t);return this}if(this.getDomRef()){if(this.getMonths()<12){var a=this.getStartMonth();if(t>=a&&t<=a+this.getMonths()-1){this._selectMonth(t,true);this._oItemNavigation.focusItem(t-a)}else{v.call(this,t)}}else{this._selectMonth(t,true);this._oItemNavigation.focusItem(t)}}return this};m.prototype.getSelectedDates=function(){if(this._oSelectedDatesControlOrigin){return this._oSelectedDatesControlOrigin.getSelectedDates()}return this.getAggregation(\"selectedDates\")};m.prototype._getPrimaryCalendarType=function(){return this.getProperty(\"primaryCalendarType\")||t.getCalendarType()};m.prototype._getSelectedDates=function(){var t=this.getSelectedDates(),e;if(t){return t}else if(!this._aMPSelectedDates||!this._aMPSelectedDates.length){this._aMPSelectedDates=[new g];e=f.fromLocalJSDate(d.getInstance(),this._getPrimaryCalendarType());e.setMonth(this.getMonth(),1);this._iYear&&e.setYear(this._iYear);this._aMPSelectedDates[0].setStartDate(e.toLocalJSDate());return this._aMPSelectedDates}else{return this._aMPSelectedDates}};m.prototype.exit=function(){if(this._aMPSelectedDates&&this._aMPSelectedDates.length){this._aMPSelectedDates.forEach(function(t){t.destroy()});this._aMPSelectedDates=undefined}};m.prototype.getFocusDomRef=function(){return this.getDomRef()&&this._oItemNavigation.getItemDomRefs()[this._oItemNavigation.getFocusedIndex()]};m.prototype.setIntervalSelection=function(t){this._setShowSelectedRange(t);return this.setProperty(\"intervalSelection\",t)};m.prototype._setShowSelectedRange=function(t){return this.setProperty(\"_showSelectedRange\",t)};m.prototype._getShowSelectedRange=function(){return this.getProperty(\"_showSelectedRange\")};m.prototype._setSelectedDatesControlOrigin=function(t){this._oSelectedDatesControlOrigin=t};m.prototype._setYear=function(t){this._iYear=t};m.prototype._setDate=function(t){this._oDate=t};m.prototype._getLocale=function(){var e=this._oSelectedDatesControlOrigin;if(e&&e._getLocale){return e._getLocale()}else if(!this._sLocale){this._sLocale=new r(t.getLanguageTag()).toString()}return this._sLocale};m.prototype._getLocaleData=function(){var t=this._oSelectedDatesControlOrigin;if(t&&t._getLocaleData){return t._getLocaleData()}else if(!this._oLocaleData){var e=this._getLocale();var a=new r(e);this._oLocaleData=s.getInstance(a)}return this._oLocaleData};m.prototype.onsapspace=function(t){t.preventDefault()};m.prototype.onsapselect=function(t){var e=this._oItemNavigation.getFocusedIndex();var a=e+this.getStartMonth();if(a>=this._iMinMonth&&a<=this._iMaxMonth){this._selectMonth(a);this.fireSelect()}};m.prototype.onmousedown=function(t){this._oMousedownPosition={clientX:t.clientX,clientY:t.clientY}};m.prototype.onmouseup=function(t){var e=t.target,a=this._getSelectedDates()[0],s,o,n;if(this._bMousedownChange){this._bMousedownChange=false;if(this.getIntervalSelection()&&e.classList.contains(\"sapUiCalItem\")&&a){s=f.fromLocalJSDate(a.getStartDate(),this._getPrimaryCalendarType());o=a.getEndDate();n=this._extractMonth(e);if(n!==s.getMonth()&&!o&&n>=this._iMinMonth&&n<=this._iMaxMonth){this._selectMonth(n);this._oItemNavigation.focusItem(n)}}this.fireSelect()}else if(i.support.touch&&this._isValueInThreshold(this._oMousedownPosition.clientX,t.clientX,10)&&this._isValueInThreshold(this._oMousedownPosition.clientY,t.clientY,10)){n=this._oItemNavigation.getFocusedIndex()+this.getStartMonth();if(n>=this._iMinMonth&&n<=this._iMaxMonth){this._selectMonth(n);this.fireSelect()}}};m.prototype.onmouseover=function(t){var e=t.target,a=this._getSelectedDates()[0],i,s;if(!a){return}if(a.getStartDate()){i=f.fromLocalJSDate(a.getStartDate(),this._getPrimaryCalendarType());i.setDate(1)}if(e.classList.contains(\"sapUiCalItem\")){s=f.fromLocalJSDate(d.getInstance(),this._getPrimaryCalendarType());s.setMonth(this._extractMonth(e),1);this._iYear&&s.setYear(this._iYear);if(this._isSelectionInProgress()){this._markInterval(i,s)}}};m.prototype.onThemeChanged=function(){if(this._bNoThemeChange){return}if(!this.getDomRef()){return}var t=this._oItemNavigation.getItemDomRefs(),e=this._getLocaleData(),a=e.getMonthsStandAlone(\"wide\",this._getPrimaryCalendarType()),i,s;this._bNamesLengthChecked=undefined;this._bLongMonth=false;for(i=0;i<t.length;i++){s=jQuery(t[i]);s.text(a[i])}S.call(this)};m.prototype.nextPage=function(){var t=this.getStartMonth(),e=this._oItemNavigation.getFocusedIndex(),a=e+t,i=this.getMonths();a=a+i;if(a>u-1){a=u-1}v.call(this,a);var s=Math.floor(this.getStartMonth()+this.getMonths())%u;if(s+this.getMonths()>12){s=12-this.getMonths()}this.setProperty(\"_firstMonth\",s);return this};m.prototype.previousPage=function(){var t=this.getStartMonth(),e=this._oItemNavigation.getFocusedIndex(),a=e+t,i=this.getMonths();a=a-i;if(a<0){a=0}v.call(this,a);var s=Math.floor(this.getStartMonth()-this.getMonths())%u;if(s<0){s=0}this.setProperty(\"_firstMonth\",s);return this};m.prototype.setMinMax=function(t,e){var a,i,s,o;if(t==this._iMinMonth&&e==this._iMaxMonth){return this}t=parseInt(t);if(isNaN(t)||t<0||t>11){t=0}e=parseInt(e);if(isNaN(e)||e<0||e>11){e=11}if(t<=e){this._iMinMonth=t;this._iMaxMonth=e}else{this._iMaxMonth=t;this._iMinMonth=e}if(this.getDomRef()){a=this._oItemNavigation.getItemDomRefs();for(o=0;o<a.length;o++){i=jQuery(a[o]);s=this._extractMonth(a[o]);if(s<this._iMinMonth||s>this._iMaxMonth){i.addClass(\"sapUiCalItemDsbl\");i.attr(\"aria-disabled\",true)}else{i.removeClass(\"sapUiCalItemDsbl\");i.removeAttr(\"aria-disabled\")}}}return this};m.prototype.getStartMonth=function(){return this.getProperty(\"_firstMonth\")};m.prototype._isValueInThreshold=function(t,e,a){var i=t-a,s=t+a;return e>=i&&e<=s};m.prototype._getSecondaryCalendarType=function(){var t=this.getSecondaryCalendarType();if(t===this._getPrimaryCalendarType()){return undefined}return t};m.prototype._getDisplayedSecondaryDates=function(t){var e=this.getSecondaryCalendarType(),a=new f(this._oDate?this._oDate:f.fromLocalJSDate(d.getInstance()),this._getPrimaryCalendarType()),i,s;a.setMonth(t);a.setDate(1);i=new f(a,e);a.setDate(c._daysInMonth(a));s=new f(a,e);return{start:i,end:s}};function M(){var t=this.getDomRef(),e=this.$().find(\".sapUiCalItem\"),a=this.getColumns();if(!this._oItemNavigation){this._oItemNavigation=new o;this._oItemNavigation.attachEvent(o.Events.AfterFocus,this._handleAfterFocus,this);this._oItemNavigation.attachEvent(o.Events.FocusAgain,y,this);this._oItemNavigation.attachEvent(o.Events.BorderReached,D,this);this.addDelegate(this._oItemNavigation);this._oItemNavigation.setHomeEndColumnMode(true,true);this._oItemNavigation.setDisabledModifiers({sapnext:[\"alt\",\"meta\"],sapprevious:[\"alt\",\"meta\"],saphome:[\"alt\",\"meta\"],sapend:[\"meta\"]})}this._oItemNavigation.setRootDomRef(t);this._oItemNavigation.setItemDomRefs(e);this._oItemNavigation.setCycling(false);this._oItemNavigation.setColumns(a,true);var i=this.getMonth()-this.getStartMonth();this._oItemNavigation.setFocusedIndex(i);this._oItemNavigation.setPageSize(e.length)}m.prototype._handleAfterFocus=function(t){var e=t.getParameter(\"index\"),a=t.getParameter(\"event\"),i=this._oItemNavigation.aItemDomRefs[e],s=this._getSelectedDates()[0],o,n;if(!a){return}if(a.type===\"mousedown\"){this._handleMousedown(a,e)}else if(a.type===\"sapnext\"||a.type===\"sapprevious\"){if(!s){return}if(s.getStartDate()){o=f.fromLocalJSDate(s.getStartDate(),this._getPrimaryCalendarType());o.setDate(1)}n=f.fromLocalJSDate(d.getInstance(),this._getPrimaryCalendarType());n.setMonth(this._extractMonth(i),1);this._iYear&&n.setYear(this._iYear);if(this._isSelectionInProgress()){this._markInterval(o,n)}}};function y(t){this._handleAfterFocus(t)}m.prototype._isSelectionInProgress=function(){const t=this._getShowSelectedRange();const e=this._getSelectedDates()[0];if(!e){return false}return t&&e.getStartDate()&&!e.getEndDate()};m.prototype._extractMonth=function(t){var e=this.getId().length+p;return parseInt(t.id.slice(e))};m.prototype._markInterval=function(t,e){var a=this._oItemNavigation.getItemDomRefs(),i=f.fromLocalJSDate(d.getInstance(),this._getPrimaryCalendarType()),s;if(t.isAfter(e)){e=[t,t=e][0]}if(this._bMousedownChange){if(e.getMonth()>this._iMinMonth&&e.getMonth()<this._iMaxMonth){jQuery(a[e.getMonth()]).addClass(\"sapUiCalItemSel\")}if(t.getMonth()>this._iMinMonth&&t.getMonth()<this._iMaxMonth){jQuery(a[t.getMonth()]).addClass(\"sapUiCalItemSel\")}}for(s=0;s<a.length;++s){i.setMonth(this._extractMonth(a[s]),1);this._iYear&&i.setYear(this._iYear);if(c._isBetween(i,t,e)&&i.getMonth()>this._iMinMonth&&i.getMonth()<this._iMaxMonth){jQuery(a[s]).addClass(\"sapUiCalItemSelBetween\")}else{jQuery(a[s]).removeClass(\"sapUiCalItemSelBetween\")}if(this._bMousedownChange&&!i.isSame(t)&&!i.isSame(e)){jQuery(a[s]).removeClass(\"sapUiCalItemSel\")}}};m.prototype._handleMousedown=function(t,e){if(t.button||i.support.touch&&!i.system.combi){return}var a=e+this.getStartMonth();if(a>=this._iMinMonth&&a<=this._iMaxMonth){this._selectMonth(a);this._bMousedownChange=true}t.preventDefault();t.setMark(\"cancelAutoClose\")};function D(t){var e=t.getParameter(\"event\"),a=this._oItemNavigation.getFocusedIndex()+this.getStartMonth(),i=this.getMonths(),s=this.getColumns(),o=this._getSelectedDates()[0],n,r=f.fromLocalJSDate(d.getInstance(),this._getPrimaryCalendarType()),h=s===0&&i<u;this._iYear&&r.setYear(this._iYear);if(o&&o.getStartDate()){n=f.fromLocalJSDate(o.getStartDate(),this._getPrimaryCalendarType());n.setDate(1)}if(e.type){switch(e.type){case\"sapnext\":case\"sapnextmodifiers\":if(h){this._oneRowChangePage(a,true)}else if(e.keyCode===l.ARROW_DOWN&&s<=i){if(a<u-i){v.call(this,a+s,false,_.OneYearForward)}else if(i===u){this.firePageChange({offset:_.OneYearForward});this._oItemNavigation.focusItem(a%s);r.setMonth(a%s,1);this.setProperty(\"_focusedMonth\",a%s);this._isSelectionInProgress()&&this._markInterval(n,r)}else{if(s===0){s=i}v.call(this,a%s,true,_.OneYearForward)}}else{if(a<u-i){v.call(this,a+1,false,_.OneYearForward)}else if(i===u){this.firePageChange({offset:_.OneYearForward});this._oItemNavigation.focusItem(0);r.setMonth(0,1);this._isSelectionInProgress()&&this._markInterval(n,r)}else{v.call(this,0,true,_.OneYearForward)}}break;case\"sapprevious\":case\"sappreviousmodifiers\":if(h){this._oneRowChangePage(a)}else if(e.keyCode===l.ARROW_UP&&s<=i){if(a>=i){v.call(this,a-s,false,_.OneYearBackward)}else if(i===u){this.firePageChange({offset:_.OneYearBackward});this._oItemNavigation.focusItem(i-s+a);r.setMonth(i-s+a,1);this.setProperty(\"_focusedMonth\",i-s+a);this._isSelectionInProgress()&&this._markInterval(n,r)}else{v.call(this,u-s+a,true,_.OneYearBackward)}}else{if(a>=i){v.call(this,a-1,false,_.OneYearBackward)}else if(i===u){this.firePageChange({offset:_.OneYearBackward});this._oItemNavigation.focusItem(i-1);r.setMonth(i-1,1);this._isSelectionInProgress()&&this._markInterval(n,r)}else{v.call(this,u-1,true,_.OneYearBackward)}}break;case\"sappagedown\":if(a<u-i){v.call(this,a+i,false,_.OneYearForward)}else if(i===u){this.firePageChange({offset:_.OneYearForward})}else{v.call(this,a,true,_.OneYearForward)}break;case\"sappageup\":if(a>i){v.call(this,a-i,false,_.OneYearBackward)}else if(i===u){this.firePageChange({offset:_.OneYearBackward})}else{v.call(this,a,true,_.OneYearBackward)}break;default:break}}}m.prototype._oneRowChangePage=function(t,e){var a=this.getProperty(\"_firstMonth\"),i=this.getMonths(),s=e?a+i<u:a>0,o=e?1:-1;if(s){e&&this.nextPage()||this.previousPage();this.firePageChange({offset:0});this.setMonth(t+o)}};m.prototype._selectMonth=function(t,e){var a=this._getSelectedDates()[0],i=this.getAggregation(\"selectedDates\"),s,o;this.setProperty(\"_focusedMonth\",t);if(!a){return}!e&&this.setProperty(\"month\",t);o=f.fromLocalJSDate(d.getInstance(),this._getPrimaryCalendarType());o.setMonth(t,1);this._iYear&&o.setYear(this._iYear);if(!this._oSelectedDatesControlOrigin){if(!i||!i.length){this.addAggregation(\"selectedDates\",a,true)}!this.getIntervalSelection()&&a.setStartDate(o.toLocalJSDate())}if(this.getIntervalSelection()&&!e){if(!a.getStartDate()){a.setStartDate(o.toLocalJSDate())}else if(!a.getEndDate()){s=f.fromLocalJSDate(a.getStartDate(),this._getPrimaryCalendarType());if(o.isBefore(s)){a.setEndDate(s.toLocalJSDate());a.setStartDate(o.toLocalJSDate())}else{a.setEndDate(o.toLocalJSDate())}}else{a.setStartDate(o.toLocalJSDate());a.setEndDate(undefined)}}};function S(){if(!this._bNamesLengthChecked){var t=0,e=this._oItemNavigation.getItemDomRefs(),a=false,i=this.getMonths(),s=Math.ceil(u/i),o=i-1;for(var n=0;n<s;n++){if(i<u){v.call(this,o);o=o+i;if(o>u-1){o=u-1}}for(t=0;t<e.length;t++){var r=e[t];if(Math.abs(r.clientWidth-r.scrollWidth)>1){a=true;break}}if(a){break}}if(i<u){o=this.getMonth();v.call(this,o)}if(a){this._bLongMonth=false;var h=this._getLocaleData(),l=this._getPrimaryCalendarType(),g=h.getMonthsStandAlone(\"abbreviated\",l),c=h.getMonthsStandAlone(\"wide\",l);for(t=0;t<e.length;t++){var f=jQuery(e[t]);f.text(g[t]);f.attr(\"aria-label\",c[t])}}else{this._bLongMonth=true}this._bNamesLengthChecked=true}}function v(t,e,a){var i=this._getSelectedDates()[0],s,o;this.setProperty(\"_focusedMonth\",t);if(i&&i.getStartDate()){s=f.fromLocalJSDate(i.getStartDate(),this._getPrimaryCalendarType());s.setDate(1)}if(i&&i.getEndDate()){o=f.fromLocalJSDate(i.getEndDate(),this._getPrimaryCalendarType());o.setDate(1)}else{o=f.fromLocalJSDate(d.getInstance(),this._getPrimaryCalendarType());this._iYear&&o.setYear(this._iYear);o.setMonth(t,1)}this._isSelectionInProgress()&&this._markInterval(s,o);if(e){this.firePageChange({offset:a})}}m.prototype._isMonthSelected=function(t){const e=this.getSelectedDates();const a=this._getShowSelectedRange();if(!(e&&e.length)){return false}const i=e[0];const s=i.getStartDate();const o=i.getEndDate();if(a&&s&&o){const e=f.fromLocalJSDate(s,this._getPrimaryCalendarType());const a=f.fromLocalJSDate(o,this._getPrimaryCalendarType());return c._isSameMonthAndYear(t,e)||c._isSameMonthAndYear(t,a)}const n=e=>{const a=e.getStartDate();if(a){const a=f.fromLocalJSDate(e.getStartDate(),this._getPrimaryCalendarType());return c._isSameMonthAndYear(t,a)}return false};if(this.getProperty(\"_singleSelection\")){return n(i)}return e.some(n)};m.prototype._isMonthInsideSelectionRange=function(t){const e=this.getSelectedDates();const a=this._getShowSelectedRange();if(!(e&&e.length)){return false}const i=e[0];if(!i){return false}if(a){const e=i.getStartDate();const a=i.getEndDate();if(!e||!a){return false}const s=f.fromLocalJSDate(e,this._getPrimaryCalendarType());const o=f.fromLocalJSDate(a,this._getPrimaryCalendarType());s.setDate(1);o.setDate(c._daysInMonth(o));return c._isBetween(t,s,o,true)}return false};return m});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/MonthPickerRenderer\", [\"sap/ui/core/Lib\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/date/UI5Date\"],function(e,t,a,n,i){\"use strict\";var r={apiVersion:2};r.render=function(r,l){var s=l.getProperty(\"_firstMonth\")!==undefined?l.getProperty(\"_firstMonth\"):l.getMonth(),o=l.getMonths(),d=0,c=l.getColumns(),g=l.getTooltip_AsString(),p=l._getLocaleData(),f=l.getId(),u=\"\",h=[],S=[],y=l.getPrimaryCalendarType(),M=l._getSecondaryCalendarType(),b=a.getDateInstance({format:\"y\",calendarType:l.getPrimaryCalendarType()}),C=l._iYear?l._iYear:i.getInstance().getFullYear(),_=b.format(i.getInstance(Date.UTC(C,0,1)),true),m,I,v;if(l._bLongMonth||!l._bNamesLengthChecked){h=p.getMonthsStandAlone(\"wide\",y)}else{h=p.getMonthsStandAlone(\"abbreviated\",y);S=p.getMonthsStandAlone(\"wide\",y)}r.openStart(\"div\",l);r.class(\"sapUiCalMonthPicker\");if(M){r.class(\"sapUiCalMonthSecType\")}if(g){r.attr(\"tooltip\",g)}r.accessibilityState(l,{role:\"grid\",readonly:\"true\",multiselectable:l.getIntervalSelection(),roledescription:e.getResourceBundleFor(\"sap.ui.unified\").getText(\"MONTH_PICKER\"),describedby:l._bCalendar?n.getStaticId(\"sap.ui.unified\",\"CALENDAR_YEAR_PICKER_OPEN_HINT\"):\"\"});r.openEnd();var T;if(o>12){o=12}else if(o<12){d=s}if(c>0){u=100/c+\"%\"}else{u=100/o+\"%\"}for(m=0;m<o;m++){var D=m+d,U=t.fromLocalJSDate(i.getInstance(),l.getPrimaryCalendarType());U.setMonth(D,1);l._iYear&&U.setYear(l._iYear);T={role:\"gridcell\"};if(!l._bLongMonth&&l._bNamesLengthChecked){T[\"label\"]=S[D]}if(c>0&&m%c===0){r.openStart(\"div\");r.accessibilityState(null,{role:\"row\"});r.openEnd()}r.openStart(\"div\",f+\"-m\"+D);r.class(\"sapUiCalItem\");I=l._isMonthSelected(U);v=l._isMonthInsideSelectionRange(U);if(I){r.class(\"sapUiCalItemSel\");T[\"selected\"]=true}if(v&&!I){r.class(\"sapUiCalItemSelBetween\");T[\"selected\"]=true}if(!I&&!v){T[\"selected\"]=false}if(D<l._iMinMonth||D>l._iMaxMonth){r.class(\"sapUiCalItemDsbl\");T[\"disabled\"]=true}T[\"label\"]=h[D]+\" \"+_;if(M){var P=l.getSecondaryCalendarType(),E=p.getMonthsStandAlone(\"abbreviated\",P),A=a.getDateInstance({format:\"y\",calendarType:P}),L=l._getDisplayedSecondaryDates(D),x,Y,N;if(L.start.getMonth()===L.end.getMonth()){x=E[L.start.getMonth()];Y=A.format(L.start.toUTCJSDate(),true)}else{N=p.getIntervalPattern();x=N.replace(/\\{0\\}/,E[L.start.getMonth()]).replace(/\\{1\\}/,E[L.end.getMonth()]);Y=N.replace(/\\{0\\}/,A.format(L.start.toUTCJSDate(),true)).replace(/\\{1\\}/,A.format(L.end.toUTCJSDate(),true))}T[\"label\"]=T[\"label\"]+\" \"+x+\" \"+Y}r.attr(\"tabindex\",\"-1\");r.style(\"width\",u);r.accessibilityState(null,T);r.openEnd();r.text(h[D]);if(M){r.openStart(\"div\",f+\"-m\"+D+\"-secondary\");r.class(\"sapUiCalItemSecText\");r.openEnd();r.text(x);r.close(\"div\")}r.close(\"div\");if(c>0&&(m+1)%c===0){r.close(\"div\")}}r.close(\"div\")};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/MonthRenderer\", [\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/CalendarLegend\",\"sap/ui/unified/CalendarLegendRenderer\",\"sap/ui/unified/library\",\"sap/base/Log\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/date/CalendarUtils\",\"sap/ui/core/Locale\"],function(e,a,t,i,n,r,s,l,o,d,c,p,g){\"use strict\";var u=l.CalendarDayType;var y={apiVersion:2};y.render=function(e,a){var i=this.getStartDate(a),n=a.getTooltip_AsString(),r=t.getResourceBundleFor(\"sap.ui.unified\"),s=a.getId(),l={value:\"\",append:!a._bCalendar},o=\"\",c=a.getWidth();e.openStart(\"div\",a);this.getClass(e,a).forEach(function(a){e.class(a)});if(a._getSecondaryCalendarType()){e.class(\"sapUiCalMonthSecType\")}this.addWrapperAdditionalStyles(e,a);if(n){e.attr(\"title\",n)}if(a._getShowHeader()){l.value=s+\"-Head\"}if(a._bCalendar){o=d.getStaticId(\"sap.ui.unified\",\"CALENDAR_MONTH_PICKER_OPEN_HINT\")+\" \"+d.getStaticId(\"sap.ui.unified\",\"CALENDAR_YEAR_PICKER_OPEN_HINT\")}if(c){e.style(\"width\",c)}e.accessibilityState(a,{role:\"grid\",roledescription:a._bCalendar?\"\":r.getText(\"CALENDAR_DIALOG\"),multiselectable:!a.getSingleSelection()||a.getIntervalSelection(),labelledby:l,describedby:o});e.openEnd();this.renderMonth(e,a,i);e.close(\"div\")};y.addWrapperAdditionalStyles=function(){};y.getStartDate=function(e){return e._getDate()};y.getClass=function(a,t){var i=[\"sapUiCalMonthView\"],n=t.getPrimaryCalendarType(),r=t.getShowWeekNumbers();if(n===e.Islamic||!r){i.push(\"sapUiCalNoWeekNum\")}return i};y.renderMonth=function(e,a,t){this.renderHeader(e,a,t);this.renderDays(e,a,t)};y.renderHeader=function(e,a,t){var i=a._getLocaleData( Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2011, 2011, 2011, 2020-06-25T01:07Z\n SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/performance/trace/initTraces\", [\"sap/ui/performance/trace/FESR\",\"sap/base/Log\",\"sap/base/config\"],function(e,t,r){\"use strict\";return function(){var n,i=false,a=r.get({name:\"sapUiFesr\",type:r.Type.String,external:true,freeze:true});if(a){i=a!=\"false\";n=[\"true\",\"false\",\"x\",\"X\",undefined].indexOf(a)===-1?a:undefined}if(typeof performance.getEntriesByType===\"function\"){e.setActive(i,n)}else{t.debug(\"FESR is not supported in clients without support of window.Performance extensions.\")}if(r.get({name:\"sapUiXxE2eTrace\",type:r.Type.Boolean,external:true,freeze:true})){sap.ui.require([\"sap/ui/core/support/trace/E2eTraceLib\"])}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/security/FrameOptions\", [\"sap/base/Log\"],function(e){\"use strict\";var t=function(i){this.mSettings=i||{};this.sMode=this.mSettings.mode||t.Mode.ALLOW;this.fnCallback=this.mSettings.callback;this.iTimeout=this.mSettings.timeout||1e4;this.bBlockEvents=this.mSettings.blockEvents!==false;this.bShowBlockLayer=this.mSettings.showBlockLayer!==false;this.bAllowSameOrigin=this.mSettings.allowSameOrigin!==false;this.sParentOrigin=\"\";this.bUnlocked=false;this.bRunnable=false;this.bParentUnlocked=false;this.bParentResponded=false;this.sStatus=\"pending\";this.aFPChilds=[];var s=this;this.iTimer=setTimeout(function(){if(s.bRunnable&&s.bParentResponded&&!s.bParentUnlocked){e.error(\"Reached timeout of \"+s.iTimeout+\"ms waiting for the parent to be unlocked\",\"\",\"sap/ui/security/FrameOptions\")}else{e.error(\"Reached timeout of \"+s.iTimeout+\"ms waiting for a response from parent window\",\"\",\"sap/ui/security/FrameOptions\")}s._callback(false)},this.iTimeout);var n=function(){s._handlePostMessage.apply(s,arguments)};t.__window.addEventListener(\"message\",n);if(t.__parent===t.__self||t.__parent==null||this.sMode===t.Mode.ALLOW){this._applyState(true,true)}else{this._lock();if(this.sMode===t.Mode.DENY){e.error(\"Embedding blocked because configuration mode is set to 'DENY'\",\"\",\"sap/ui/security/FrameOptions\");this._callback(false);return}if(this.bAllowSameOrigin){try{var o=t.__parent;var r=false;var a=true;do{var l=o.document.domain;if(o==t.__top){if(l!=undefined){r=true}break}o=o.parent}while(a);if(r){this._applyState(true,true)}}catch(e){this._sendRequireMessage()}}else{this._sendRequireMessage()}}};t.Mode={TRUSTED:\"trusted\",ALLOW:\"allow\",DENY:\"deny\"};t.__window=window;t.__parent=parent;t.__self=self;t.__top=top;t._events=[\"mousedown\",\"mouseup\",\"click\",\"dblclick\",\"mouseover\",\"mouseout\",\"touchstart\",\"touchend\",\"touchmove\",\"touchcancel\",\"keydown\",\"keypress\",\"keyup\"];t.prototype.match=function(e,t){if(!/\\*/i.test(t)){return e==t}else{t=t.replace(/\\//gi,\"\\\\/\");t=t.replace(/\\./gi,\"\\\\.\");t=t.replace(/\\*/gi,\".*\");t=t.replace(/:\\.\\*$/gi,\":\\\\d*\");if(t.substr(t.length-1,1)!==\"$\"){t=t+\"$\"}if(t.substr(0,1)!==\"^\"){t=\"^\"+t}var i=new RegExp(t,\"i\");return i.test(e)}};t._lockHandler=function(e){e.stopPropagation();e.preventDefault()};t.prototype._createBlockLayer=function(){if(document.readyState==\"complete\"){var e=document.createElement(\"div\");e.style.position=\"absolute\";e.style.top=\"-1000px\";e.style.bottom=\"-1000px\";e.style.left=\"-1000px\";e.style.right=\"-1000px\";e.style.opacity=\"0\";e.style.backgroundColor=\"white\";e.style.zIndex=2147483647;document.body.appendChild(e);this._lockDiv=e}};t.prototype._setCursor=function(){if(this._lockDiv){this._lockDiv.style.cursor=this.sStatus==\"denied\"?\"not-allowed\":\"wait\"}};t.prototype._lock=function(){var e=this;if(this.bBlockEvents){for(var i=0;i<t._events.length;i++){document.addEventListener(t._events[i],t._lockHandler,true)}}if(this.bShowBlockLayer){this._blockLayer=function(){e._createBlockLayer();e._setCursor()};if(document.readyState==\"complete\"){this._blockLayer()}else{document.addEventListener(\"readystatechange\",this._blockLayer)}}};t.prototype._unlock=function(){if(this.bBlockEvents){for(var e=0;e<t._events.length;e++){document.removeEventListener(t._events[e],t._lockHandler,true)}}if(this.bShowBlockLayer){document.removeEventListener(\"readystatechange\",this._blockLayer);if(this._lockDiv){document.body.removeChild(this._lockDiv);delete this._lockDiv}}};t.prototype._callback=function(e){this.sStatus=e?\"allowed\":\"denied\";this._setCursor();clearTimeout(this.iTimer);if(typeof this.fnCallback===\"function\"){this.fnCallback.call(null,e)}};t.prototype._applyState=function(e,t){if(this.bUnlocked){return}if(e){this.bRunnable=true}if(t){this.bParentUnlocked=true}if(!this.bRunnable||!this.bParentUnlocked){return}this._unlock();this._callback(true);this._notifyChildFrames();this.bUnlocked=true};t.prototype._applyTrusted=function(e){if(e){this._applyState(true,false)}else{this._callback(false)}};t.prototype._check=function(i){if(this.bRunnable){return}var s=false;if(this.bAllowSameOrigin&&this.sParentOrigin&&t.__window.document.URL.indexOf(this.sParentOrigin)==0){s=true}else if(this.mSettings.allowlist&&this.mSettings.allowlist.length!=0){var n=this.sParentOrigin.split(\"//\")[1];n=n.split(\":\")[0];for(var o=0;o<this.mSettings.allowlist.length;o++){var r=n.indexOf(this.mSettings.allowlist[o]);if(r!=-1&&n.substring(r)==this.mSettings.allowlist[o]){s=true;break}}}if(s){this._applyTrusted(s)}else if(this.mSettings.allowlistService){var a=this;var l=new XMLHttpRequest;var c=this.mSettings.allowlistService+\"?parentOrigin=\"+encodeURIComponent(this.sParentOrigin);l.onreadystatechange=function(){if(l.readyState==4){a._handleXmlHttpResponse(l,i)}};l.open(\"GET\",c,true);l.setRequestHeader(\"Accept\",\"application/json\");l.send()}else{e.error(\"Embedding blocked because the allowlist or the allowlist service is not configured correctly\",\"\",\"sap/ui/security/FrameOptions\");this._callback(false)}};t.prototype._handleXmlHttpResponse=function(t,i){if(t.status===200){var s=false;var n=t.responseText;var o=JSON.parse(n);if(o.active==false){this._applyState(true,true)}else if(i){return}else{if(this.match(this.sParentOrigin,o.origin)){s=o.framing}if(!s){e.error(\"Embedding blocked because the allowlist service does not allow framing\",\"\",\"sap/ui/security/FrameOptions\")}this._applyTrusted(s)}}else{e.error(\"The configured allowlist service is not available: \"+t.status,\"\",\"sap/ui/security/FrameOptions\");this._callback(false)}};t.prototype._notifyChildFrames=function(){for(var e=0;e<this.aFPChilds.length;e++){this.aFPChilds[e].postMessage(\"SAPFrameProtection*parent-unlocked\",\"*\")}};t.prototype._sendRequireMessage=function(){t.__parent.postMessage(\"SAPFrameProtection*require-origin\",\"*\");if(this.mSettings.allowlistService){setTimeout(function(){if(!this.bParentResponded){this._check(true)}}.bind(this),10)}};t.prototype._handlePostMessage=function(e){var i=e.source,s=e.data;if(i===t.__self||i==null||typeof s!==\"string\"||s.indexOf(\"SAPFrameProtection*\")===-1){return}if(i===t.__parent){this.bParentResponded=true;if(!this.sParentOrigin){this.sParentOrigin=e.origin;this._check()}if(s==\"SAPFrameProtection*parent-unlocked\"){this._applyState(false,true)}}else if(i.parent===t.__self&&s==\"SAPFrameProtection*require-origin\"&&this.bUnlocked){i.postMessage(\"SAPFrameProtection*parent-unlocked\",\"*\")}else{i.postMessage(\"SAPFrameProtection*parent-origin\",\"*\");this.aFPChilds.push(i)}};return t});\n/*!\n * copyright\n */\nsap.ui.predefine(\"sap/ui/security/Security\", [\"sap/base/config\"],function(e){\"use strict\";const t=e.getWritableInstance();const i=()=>{let e=true;let i=t.get({name:\"sapUiAllowlistService\",type:t.Type.String,defaultValue:t.get({name:\"sapUiWhitelistService\",type:t.Type.String,defaultValue:undefined})});if(!i){i=t.get({name:\"sapAllowlistService\",type:t.Type.String,defaultValue:t.get({name:\"sapWhitelistService\",type:t.Type.String})});e=false}return{allowlistService:i,globalProvider:e}};const r={getAllowlistService:()=>i().allowlistService,getFrameOptions(){var e=t.get({name:\"sapUiFrameOptions\",type:t.Type.String,defaultValue:\"default\"});if(e===\"default\"){const t=i();e=t.allowlistService&&!t.globalProvider?\"trusted\":\"allow\"}return e},getSecurityTokenHandlers(){return t.get({name:\"sapUiSecurityTokenHandlers\",type:t.Type.FunctionArray})},setSecurityTokenHandlers(e){e.forEach(function(e){if(typeof e!==\"function\"){throw new Error(\"Not a function: \"+e)}});t.set(\"sapUiSecurityTokenHandlers\",e.slice())}};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/test/RecorderHotkeyListener\", [],function(){\"use strict\";var e={ALT:18,T:84};return{init:function(){var t=false;document.addEventListener(\"keydown\",function(n){if(n.keyCode===e.ALT){t=typeof n.location!==\"number\"||n.location===1;return}if(n.shiftKey&&n.altKey&&n.ctrlKey&&n.keyCode===e.T&&t){n.preventDefault();sap.ui.require([\"sap/ui/testrecorder/Bootstrap\"],function(e){e.init([\"true\"])},function(e){console.warn(\"Could not load module 'sap/ui/testrecorder/Bootstrap'! Details: \"+e)})}})}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/util/ActivityDetection\", [\"sap/ui/core/Theming\"],function(e){\"use strict\";var t={},n=true,i=null,r=1e4,o=[],u=false,c=null;function s(){i=null;if(u&&document.hidden!==true){d();return}n=false;c.observe(document.documentElement,{childList:true,attributes:true,subtree:true,characterData:true})}function d(){if(document.hidden){return}if(!n){n=true;f(o);c.disconnect()}if(i){u=true}else{i=setTimeout(s,r);u=false}}function f(e){if(e.length===0){return}var t=e.slice();setTimeout(function(){var e;for(var n=0,i=t.length;n<i;n++){e=t[n];e.fFunction.call(e.oListener||window)}},0)}t.attachActivate=function(e,t){o.push({oListener:t,fFunction:e})};t.detachActivate=function(e,t){for(var n=0,i=o.length;n<i;n++){if(o[n].fFunction===e&&o[n].oListener===t){o.splice(n,1);break}}};t.isActive=function(){return n};t.refresh=d;var a=[\"resize\",\"orientationchange\",\"mousemove\",\"mousedown\",\"mouseup\",\"paste\",\"cut\",\"keydown\",\"keyup\",\"DOMMouseScroll\",\"mousewheel\"];if(\"ontouchstart\"in window){a.push(\"touchstart\",\"touchmove\",\"touchend\",\"touchcancel\")}for(var h=0;h<a.length;h++){window.addEventListener(a[h],t.refresh,{capture:true,passive:true})}if(window.MutationObserver){c=new window.MutationObserver(t.refresh)}else if(window.WebKitMutationObserver){c=new window.WebKitMutationObserver(t.refresh)}else{c={observe:function(){document.documentElement.addEventListener(\"DOMSubtreeModified\",t.refresh)},disconnect:function(){document.documentElement.removeEventListener(\"DOMSubtreeModified\",t.refresh)}}}if(typeof document.hidden===\"boolean\"){document.addEventListener(\"visibilitychange\",function(){if(document.hidden!==true){t.refresh()}},false)}e.attachApplied(function(){t.refresh()});d();return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/util/XMLHelper\", [\"sap/ui/Device\"],function(r){\"use strict\";var e={};e.parse=function(r){var n;var t;var i=new DOMParser;n=i.parseFromString(r,\"application/xml\");t=e.getParseError(n);if(t){if(!n.parseError){n.parseError=t}}return n};e.getParseError=function(n){var t={errorCode:-1,url:\"\",reason:\"unknown error\",srcText:\"\",line:-1,linepos:-1,filepos:-1,type:\"error\"};if(r.browser.firefox&&n&&n.documentElement&&n.documentElement.tagName==\"parsererror\"){var i=n.documentElement.firstChild.nodeValue,o=/XML Parsing Error: (.*)\\nLocation: (.*)\\nLine Number (\\d+), Column (\\d+):(.*)/,a=o.exec(i);if(a){t.reason=a[1];t.url=a[2];t.line=parseInt(a[3]);t.linepos=parseInt(a[4]);t.srcText=a[5];t.type=\"error\"}return t}if(r.browser.webkit&&n&&n.documentElement&&n.getElementsByTagName(\"parsererror\").length>0){var i=e.serialize(n),o=/(error|warning) on line (\\d+) at column (\\d+): ([^<]*)\\n/,a=o.exec(i);if(a){t.reason=a[4];t.url=\"\";t.line=parseInt(a[2]);t.linepos=parseInt(a[3]);t.srcText=\"\";t.type=a[1]}return t}if(!n||!n.documentElement){return t}return{errorCode:0}};e.serialize=function(r){var e=new XMLSerializer;return e.serializeToString(r)};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/util/_enforceNoReturnValue\", [\"sap/base/future\",\"sap/base/Log\"],function(e,n){\"use strict\";function t(t,r){if(t!==undefined){const a=r.name?`'${r.name}' `:\"\";if(typeof t.then===\"function\"){t.catch(e=>{n.error(`The registered Event Listener ${a}of '${r.component}' failed.`,e)})}e.fatalThrows(`${r.component}: The registered Event Listener ${a}must not have a return value.`)}}return t});\nsap.ui.require.preload({\n\t\"sap/ui/Device.js\":function(){\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nif(typeof window.sap!==\"object\"&&typeof window.sap!==\"function\"){window.sap={}}if(typeof window.sap.ui!==\"object\"){window.sap.ui={}}(function(){\"use strict\";if(typeof window.sap.ui.Device===\"object\"||typeof window.sap.ui.Device===\"function\"){var e=\"1.139.0\";window.sap.ui.Device._checkAPIVersion(e);return}var n={};var t=0,i=1,r=2,o=3,a=4,s=5;var u=function(){function e(e,n){return(\"000\"+String(e)).slice(-n)}this.defaultComponent=\"DEVICE\";this.sWindowName=window.top==window?\"\":\"[\"+window.location.pathname.split(\"/\").slice(-1)[0]+\"] \";this.log=function(n,u,d){d=d||this.defaultComponent||\"\";var l=new Date,f={time:e(l.getHours(),2)+\":\"+e(l.getMinutes(),2)+\":\"+e(l.getSeconds(),2),date:e(l.getFullYear(),4)+\"-\"+e(l.getMonth()+1,2)+\"-\"+e(l.getDate(),2),timestamp:l.getTime(),level:n,message:u||\"\",component:d||\"\"};if(window.console){var m=f.date+\" \"+f.time+\" \"+this.sWindowName+f.message+\" - \"+f.component;switch(n){case t:case i:console.error(m);break;case r:console.warn(m);break;case o:console.info?console.info(m):console.log(m);break;case a:console.debug(m);break;case s:console.trace(m);break}}return f}};var d=new u;d.log(o,\"Device API logging initialized\");n._checkAPIVersion=function(e){var n=\"1.139.0\";if(n!=e){d.log(r,\"Device API version differs: \"+n+\" <-> \"+e)}};var l={};function f(e,n,t){if(!l[e]){l[e]=[]}l[e].push({oListener:t,fFunction:n})}function m(e,n,t){var i=l[e];if(!i){return this}for(var r=0,o=i.length;r<o;r++){if(i[r].fFunction===n&&i[r].oListener===t){i.splice(r,1);break}}if(i.length==0){delete l[e]}}function c(e,n){var t=l[e];var i;if(t){t=t.slice();for(var r=0,o=t.length;r<o;r++){i=t[r];i.fFunction.call(i.oListener||window,n)}}}var v;var p=function(){v={userAgent:window.navigator.userAgent,userAgentData:window.navigator.userAgentData,platform:window.navigator.platform};if(window.navigator.hasOwnProperty(\"standalone\")){v.standalone=window.navigator.standalone}};p();var w={WINDOWS:\"win\",MACINTOSH:\"mac\",LINUX:\"linux\",IOS:\"iOS\",ANDROID:\"Android\"};let S;function h(){var e=v.userAgent;var n,t;function i(){var n=v.platform;if(n.indexOf(\"Win\")!=-1){var t=/Windows NT (\\d+).(\\d)/i;var i=e.match(t);var r=\"\";if(i){if(i[1]==\"6\"){if(i[2]==1){r=\"7\"}else if(i[2]>1){r=\"8\"}}else{r=i[1]}}return{name:w.WINDOWS,versionStr:r}}else if(n.indexOf(\"Mac\")!=-1){return{name:w.MACINTOSH,versionStr:\"\"}}else if(n.indexOf(\"Linux\")!=-1){return{name:w.LINUX,versionStr:\"\"}}d.log(o,\"OS detection returned no result\");return null}n=/\\(([a-zA-Z ]+);\\s(?:[U]?[;]?)([\\D]+)((?:[\\d._]*))(?:.*[\\)][^\\d]*)([\\d.]*)\\s/;t=e.match(n);if(t){var r=/iPhone|iPad|iPod/;if(t[0].match(r)){t[3]=t[3].replace(/_/g,\".\");return{name:w.IOS,versionStr:t[3]}}else if(t[2].match(/Android/)){t[2]=t[2].replace(/\\s/g,\"\");return{name:w.ANDROID,versionStr:t[3]}}}n=/\\((Android)[\\s]?([\\d][.\\d]*)?;.*Firefox\\/[\\d][.\\d]*/;t=e.match(n);if(t){return{name:w.ANDROID,versionStr:t.length==3?t[2]:\"\"}}return i()}function g(){n.os=h()||{};n.os.OS=w;n.os.version=n.os.versionStr?parseFloat(n.os.versionStr):-1;if(n.os.name){for(var e in w){if(w[e]===n.os.name){n.os[e.toLowerCase()]=true}}}n.os.getPlatformInfo=function(){if(S||!v.userAgentData){return Promise.resolve(n.os)}return v.userAgentData.getHighEntropyValues([\"platformVersion\"]).then(e=>{S={OS:w,version:parseFloat(e.platformVersion),versionStr:e.platformVersion,name:e.platform,getPlatformInfo:()=>Promise.resolve(n.os)};if(e.platform===\"macOS\"){S.name=\"MACINTOSH\"}else if(e.platform===\"Windows\"){if(S.version>=13){S.versionStr=\"11\";S.version=11}else if(S.version>0){S.versionStr=\"10\";S.version=10}else{S.versionStr=n.os.versionStr;S.version=n.os.version}}S[S.name.toLowerCase()]=true;S.name=w[S.name.toUpperCase()];n.os=S;return n.os})}}g();const A={EDGE:\"ed\",FIREFOX:\"ff\",CHROME:\"cr\",SAFARI:\"sf\",ANDROID:\"an\"};function E(){var e=v.userAgent,n=e.toLowerCase();\n/*!\n\t\t * Taken from jQuery JavaScript Library v1.7.1\n\t\t * http://jquery.com/\n\t\t *\n\t\t * Copyright, John Resig\n\t\t * Dual licensed under the MIT or GPL Version 2 licenses.\n\t\t * http://jquery.org/license\n\t\t *\n\t\t * Includes Sizzle.js\n\t\t * http://sizzlejs.com/\n\t\t * Copyright, The Dojo Foundation\n\t\t * Released under the MIT, BSD, and GPL Licenses.\n\t\t *\n\t\t * Date: Mon Nov 21 21:11:03 -0500\n\t\t */function t(){var e=/(webkit)[ \\/]([\\w.]+)/;var t=/(mozilla)(?:.*? rv:([\\w.]+))?/;var i=e.exec(n)||n.indexOf(\"compatible\")<0&&t.exec(n)||[];var r={browser:i[1]||\"\",version:i[2]||\"0\"};r[r.browser]=true;return r}var i=t();var r;var o;var a;if(i.mozilla){r=/Mobile/;if(e.match(/Firefox\\/(\\d+\\.\\d+)/)){a=parseFloat(RegExp.$1);o={name:A.FIREFOX,versionStr:\"\"+a,version:a,mozilla:true,mobile:r.test(e),reportingName:A.FIREFOX}}else{o={mobile:r.test(e),mozilla:true,version:-1}}}else if(i.webkit){var s=n.match(/webkit[\\/]([\\d.]+)/);var u;if(s){u=s[1]}r=/Mobile/;var d=e.match(/(Chrome|CriOS)\\/(\\d+\\.\\d+).\\d+/);var l=e.match(/(Edg)\\/(\\d+\\.\\d+).\\d+/);var f=e.match(/FxiOS\\/(\\d+\\.\\d+)/);var m=e.match(/Android .+ Version\\/(\\d+\\.\\d+)/);let t;if(d||f||m){var c,p,w;if(d){c=A.CHROME;w=r.test(e);p=parseFloat(d[2]);t=l?A.EDGE:A.CHROME}else if(f){c=t=A.FIREFOX;w=true;p=parseFloat(f[1])}else if(m){c=t=A.ANDROID;w=r.test(e);p=parseFloat(m[1])}o={name:c,mobile:w,versionStr:\"\"+p,version:p,webkit:true,webkitVersion:u,reportingName:t}}else{var S=/Version\\/(\\d+\\.\\d+).*Safari/;if(S.test(e)||/iPhone|iPad|iPod/.test(e)){var h=v.standalone;o={name:A.SAFARI,fullscreen:h===undefined?false:h,webview:/SAPFioriClient/.test(e),mobile:r.test(e),webkit:true,webkitVersion:u,reportingName:A.SAFARI};var g=S.exec(e);if(g){a=parseFloat(g[1]);o.versionStr=\"\"+a;o.version=a}else{o.version=-1}}else{o={mobile:r.test(e),webkit:true,webkitVersion:u,version:-1}}}}else{o={name:\"\",versionStr:\"\",version:-1,mobile:false,reportingName:\"\"}}if((i.chrome||window.Intl&&window.Intl.v8BreakIterator)&&\"CSS\"in window){o.blink=true}return o}function D(){n.browser=E();n.browser.BROWSER=A;if(n.browser.name){for(var e in A){if(A[e]===n.browser.name){n.browser[e.toLowerCase()]=true}}}}D();n.support={};var b=function(){return!!(\"ontouchstart\"in window||window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch||window.TouchEvent&&n.browser.firefox)};n.support.touch=b();n.support.pointer=!!window.PointerEvent;n.support.matchmedia=true;n.support.matchmedialistener=true;n.support.orientation=!!(\"orientation\"in window&&\"onorientationchange\"in window);n.support.retina=window.retina||window.devicePixelRatio>=2;n.support.websocket=\"WebSocket\"in window;n.support.input={};n.support.input.placeholder=\"placeholder\"in document.createElement(\"input\");n.media={};var P={SAP_3STEPS:\"3Step\",SAP_4STEPS:\"4Step\",SAP_6STEPS:\"6Step\",SAP_STANDARD:\"Std\",SAP_STANDARD_EXTENDED:\"StdExt\"};n.media.RANGESETS=P;n.media._predefinedRangeSets={};n.media._predefinedRangeSets[P.SAP_3STEPS]={points:[520,960],unit:\"px\",name:P.SAP_3STEPS,names:[\"S\",\"M\",\"L\"]};n.media._predefinedRangeSets[P.SAP_4STEPS]={points:[520,760,960],unit:\"px\",name:P.SAP_4STEPS,names:[\"S\",\"M\",\"L\",\"XL\"]};n.media._predefinedRangeSets[P.SAP_6STEPS]={points:[241,400,541,768,960],unit:\"px\",name:P.SAP_6STEPS,names:[\"XS\",\"S\",\"M\",\"L\",\"XL\",\"XXL\"]};n.media._predefinedRangeSets[P.SAP_STANDARD]={points:[600,1024],unit:\"px\",name:P.SAP_STANDARD,names:[\"Phone\",\"Tablet\",\"Desktop\"]};n.media._predefinedRangeSets[P.SAP_STANDARD_EXTENDED]={points:[600,1024,1440],unit:\"px\",name:P.SAP_STANDARD_EXTENDED,names:[\"Phone\",\"Tablet\",\"Desktop\",\"LargeDesktop\"]};var T=P.SAP_STANDARD;var R=n.support.matchmedialistener?0:100;var N={};var I=null;function _(e,n,t){t=t||\"px\";var i=\"all\";if(e>0){i=i+\" and (min-width:\"+e+t+\")\"}if(n>0){i=i+\" and (max-width:\"+n+t+\")\"}return i}function O(e){if(!n.support.matchmedialistener&&I==k()[0]){return}if(N[e].timer){clearTimeout(N[e].timer);N[e].timer=null}N[e].timer=setTimeout(function(){var n=C(e,false);if(n){c(\"media_\"+e,n)}},R)}function C(e,t,i){function o(e,n){var t=N[e].queries[n];var i={from:t.from,unit:N[e].unit};if(t.to>=0){i.to=t.to}if(N[e].names){i.name=N[e].names[n]}return i}i=i||n.media.matches;if(N[e]){var a=N[e].queries;var s=null;for(var u=0,l=a.length;u<l;u++){var f=a[u];if((f!=N[e].currentquery||t)&&i(f.from,f.to,N[e].unit)){if(!t){N[e].currentquery=f}if(!N[e].noClasses&&N[e].names&&!t){x(e,N[e].names[u])}s=o(e,u)}}return s}d.log(r,\"No queryset with name \"+e+\" found\",\"DEVICE.MEDIA\");return null}function x(e,n,t){var i=\"sapUiMedia-\"+e+\"-\";L(i+n,t,i)}function L(e,n,t){var i=document.documentElement;if(i.className.length==0){if(!n){i.className=e}}else{var r=i.className.split(\" \");var o=\"\";for(var a=0;a<r.length;a++){if(t&&r[a].indexOf(t)!=0||!t&&r[a]!=e){o=o+r[a]+\" \"}}if(!n){o=o+e}i.className=o}}function k(){return[window.innerWidth,window.innerHeight]}function F(e,n,t,i){function r(e,n){if(n===\"em\"||n===\"rem\"){var t=window.getComputedStyle||function(e){return e.currentStyle};var i=t(document.documentElement).fontSize;var r=i&&i.indexOf(\"px\")>=0?parseFloat(i,10):16;return e*r}return e}e=r(e,t);n=r(n,t);var o=i[0];var a=e<0||e<=o;var s=n<0||o<=n;return a&&s}function y(e,n,t){return F(e,n,t,k())}function M(e,n,t){var i=_(e,n,t);var r=window.matchMedia(i);return r&&r.matches}n.media.matches=n.support.matchmedia?M:y;n.media.attachHandler=function(e,n,t){var i=t||T;f(\"media_\"+i,e,n)};n.media.detachHandler=function(e,n,t){var i=t||T;m(\"media_\"+i,e,n)};n.media.initRangeSet=function(e,t,i,r,a){var s;if(!e){s=n.media._predefinedRangeSets[T]}else if(e&&n.media._predefinedRangeSets[e]){s=n.media._predefinedRangeSets[e]}else{s={name:e,unit:(i||\"px\").toLowerCase(),points:t||[],names:r,noClasses:!!a}}if(n.media.hasRangeSet(s.name)){d.log(o,\"Range set \"+s.name+\" has already been initialized\",\"DEVICE.MEDIA\");return}e=s.name;s.queries=[];s.timer=null;s.currentquery=null;s.listener=function(){return O(e)};var u,l,f;var m=s.points;for(var c=0,v=m.length;c<=v;c++){u=c==0?0:m[c-1];l=c==m.length?-1:m[c];f=_(u,l,s.unit);s.queries.push({query:f,from:u,to:l})}if(s.names&&s.names.length!=s.queries.length){s.names=null}N[s.name]=s;s.queries.forEach(function(e){e.media=window.matchMedia(e.query);if(e.media.addEventListener){e.media.addEventListener(\"change\",s.listener)}else{e.media.addListener(s.listener)}});s.listener()};n.media.getCurrentRange=function(e,t){if(!n.media.hasRangeSet(e)){return null}return C(e,true,isNaN(t)?null:function(e,n,i){return F(e,n,i,[t,0])})};n.media.hasRangeSet=function(e){return e&&!!N[e]};n.media.removeRangeSet=function(e){if(!n.media.hasRangeSet(e)){d.log(o,\"RangeSet \"+e+\" not found, thus could not be removed.\",\"DEVICE.MEDIA\");return}for(var t in P){if(e===P[t]){d.log(r,\"Cannot remove default rangeset - no action taken.\",\"DEVICE.MEDIA\");return}}var i=N[e];var a=i.queries;for(var s=0;s<a.length;s++){if(a[s].media.removeEventListener){a[s].media.removeEventListener(\"change\",i.listener)}else{a[s].media.removeListener(i.listener)}}x(e,\"\",true);delete l[\"media_\"+e];delete N[e]};var z={TABLET:\"tablet\",PHONE:\"phone\",DESKTOP:\"desktop\",COMBI:\"combi\"};n.system={};function H(e){var t=!!V(e);var i={};i.tablet=t;i.phone=n.support.touch&&!t;i.desktop=!!(!i.tablet&&!i.phone||n.os.windows||n.os.linux||n.os.macintosh);i.combi=i.desktop&&i.tablet;i.SYSTEMTYPE=z;for(var r in z){L(\"sap-\"+z[r],!i[z[r]])}return i}function V(){var e=v.userAgent;if(n.os.ios){return/ipad/i.test(e)}else if(n.os.windows||n.os.macintosh||n.os.linux){return n.support.touch}else{if(n.support.touch){return n.browser.chrome&&n.os.android&&!/Mobile Safari\\/[.0-9]+/.test(e)}else{var t=/(?=android)(?=.*mobile)/i.test(e);return n.os.android&&!t}}}function X(){n.system=H();if(n.system.tablet||n.system.phone){n.browser.mobile=true}}X();n.orientation={};n.resize={};n.orientation.attachHandler=function(e,n){f(\"orientation\",e,n)};n.resize.attachHandler=function(e,n){f(\"resize\",e,n)};n.orientation.detachHandler=function(e,n){m(\"orientation\",e,n)};n.resize.detachHandler=function(e,n){m(\"resize\",e,n)};function q(e){e.landscape=oe(true);e.portrait=!e.landscape}function W(){q(n.orientation);c(\"orientation\",{landscape:n.orientation.landscape})}var U=n.resize._update=function(){j(n.resize);c(\"resize\",{height:n.resize.height,width:n.resize.width})};function j(e){e.width=k()[0];e.height=k()[1]}function B(){var e=n.orientation.landscape;var t=oe();if(e!=t){W()}if(!$){$=window.setTimeout(G,150)}}function G(){U();$=null}var Y=false;var K=false;var Z;var $;var J;var Q=k()[1];var ee=k()[0];var ne=false;var te;var ie=/INPUT|TEXTAREA|SELECT/;var re=n.os.ios&&n.browser.name===\"sf\"&&(n.system.phone&&n.os.version>=7&&n.os.version<7.1||n.system.tablet&&n.os.version>=7);function oe(e){if(n.support.touch&&n.support.orientation&&n.os.android){if(ne&&e){return!n.orientation.landscape}if(ne){return n.orientation.landscape}}else if(n.support.matchmedia&&n.support.orientation){return!!window.matchMedia(\"(orientation: landscape)\").matches}var t=k();return t[0]>t[1]}function ae(e){if(e.type==\"resize\"){if(re&&ie.test(document.activeElement.tagName)&&!Y){return}var n=k()[1];var t=k()[0];var i=(new Date).getTime();if(n===Q&&t===ee){return}K=true;if(Q!=n&&ee==t){if(!te||i-te>300){ne=n<Q}U()}else{ee=t}te=i;Q=n;if(J){window.clearTimeout(J);J=null}J=window.setTimeout(ue,1200)}else if(e.type==\"orientationchange\"){Y=true}if(Z){clearTimeout(Z);Z=null}Z=window.setTimeout(se,50)}function se(){if(K&&(Y||n.system.tablet&&n.os.ios&&n.os.version>=9)){W();U();Y=false;K=false;if(J){window.clearTimeout(J);J=null}}Z=null}function ue(){Y=false;K=false;J=null}j(n.resize);q(n.orientation);window.sap.ui.Device=n;if(n.support.touch&&n.support.orientation){window.addEventListener(\"resize\",ae,false);window.addEventListener(\"orientationchange\",ae,false)}else{window.addEventListener(\"resize\",B,false)}n.media.initRangeSet();n.media.initRangeSet(P[\"SAP_STANDARD_EXTENDED\"]);n._setCustomNavigator=function(e,t){if(!e){n.support.touch=b();p()}else{n.support.touch=t;v=Object.assign(v,e);if(!e.userAgentData){delete v.userAgentData}}S=undefined;g();D();X()};if(sap.ui.define){sap.ui.define(\"sap/ui/Device\",[],function(){return n})}})();\n},\n\t\"sap/ui/thirdparty/URI.js\":function(){\n/*!\n * URI.js - Mutating URLs\n *\n * Version: 1.19.11\n *\n * Author: Rodney Rehm\n * Web: http://medialize.github.io/URI.js/\n *\n * Licensed under\n * MIT License http://www.opensource.org/licenses/mit-license\n *\n */\n(function(e,t){\"use strict\";if(typeof module===\"object\"&&module.exports){module.exports=t(require(\"./punycode\"),require(\"./IPv6\"),require(\"./SecondLevelDomains\"))}else if(typeof define===\"function\"&&define.amd){e.URI=t(e.punycode,e.IPv6,e.SecondLevelDomains,e);define(\"sap/ui/thirdparty/URI\",[],function(){return e.URI})}else{e.URI=t(e.punycode,e.IPv6,e.SecondLevelDomains,e)}})(this,function(e,t,r,n){\"use strict\";var i=n&&n.URI;function s(e,t){var r=arguments.length>=1;var n=arguments.length>=2;if(!(this instanceof s)){if(r){if(n){return new s(e,t)}return new s(e)}return new s}if(e===undefined){if(r){throw new TypeError(\"undefined is not a valid argument for URI\")}if(typeof location!==\"undefined\"){e=location.href+\"\"}else{e=\"\"}}if(e===null){if(r){throw new TypeError(\"null is not a valid argument for URI\")}}this.href(e);if(t!==undefined){return this.absoluteTo(t)}return this}function a(e){return/^[0-9]+$/.test(e)}s.version=\"1.19.11\";var o=s.prototype;var u=Object.prototype.hasOwnProperty;function h(e){return e.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g,\"\\\\$1\")}function f(e){if(e===undefined){return\"Undefined\"}return String(Object.prototype.toString.call(e)).slice(8,-1)}function p(e){return f(e)===\"Array\"}function l(e,t){var r={};var n,i;if(f(t)===\"RegExp\"){r=null}else if(p(t)){for(n=0,i=t.length;n<i;n++){r[t[n]]=true}}else{r[t]=true}for(n=0,i=e.length;n<i;n++){var s=r&&r[e[n]]!==undefined||!r&&t.test(e[n]);if(s){e.splice(n,1);i--;n--}}return e}function c(e,t){var r,n;if(p(t)){for(r=0,n=t.length;r<n;r++){if(!c(e,t[r])){return false}}return true}var i=f(t);for(r=0,n=e.length;r<n;r++){if(i===\"RegExp\"){if(typeof e[r]===\"string\"&&e[r].match(t)){return true}}else if(e[r]===t){return true}}return false}function d(e,t){if(!p(e)||!p(t)){return false}if(e.length!==t.length){return false}e.sort();t.sort();for(var r=0,n=e.length;r<n;r++){if(e[r]!==t[r]){return false}}return true}function m(e){var t=/^\\/+|\\/+$/g;return e.replace(t,\"\")}s._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:s.preventInvalidHostname,duplicateQueryParameters:s.duplicateQueryParameters,escapeQuerySpace:s.escapeQuerySpace}};s.preventInvalidHostname=false;s.duplicateQueryParameters=false;s.escapeQuerySpace=true;s.protocol_expression=/^[a-z][a-z0-9.+-]*$/i;s.idn_expression=/[^a-z0-9\\._-]/i;s.punycode_expression=/(xn--)/i;s.ip4_expression=/^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/;s.ip6_expression=/^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/;s.find_uri_expression=/\\b((?:[a-z][\\w-]+:(?:\\/{1,3}|[a-z0-9%])|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}\\/)(?:[^\\s()<>]+|\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\))+(?:\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\)|[^\\s`!()\\[\\]{};:'\".,<>?«»“”‘’]))/gi;s.findUri={start:/\\b(?:([a-z][a-z0-9.+-]*:\\/\\/)|www\\.)/gi,end:/[\\s\\r\\n]|$/,trim:/[`!()\\[\\]{};:'\".,<>?«»“”„‘’]+$/,parens:/(\\([^\\)]*\\)|\\[[^\\]]*\\]|\\{[^}]*\\}|<[^>]*>)/g};s.leading_whitespace_expression=/^[\\x00-\\x20\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]+/;s.ascii_tab_whitespace=/[\\u0009\\u000A\\u000D]+/g;s.defaultPorts={http:\"80\",https:\"443\",ftp:\"21\",gopher:\"70\",ws:\"80\",wss:\"443\"};s.hostProtocols=[\"http\",\"https\"];s.invalid_hostname_characters=/[^a-zA-Z0-9\\.\\-:_]/;s.domAttributes={a:\"href\",blockquote:\"cite\",link:\"href\",base:\"href\",script:\"src\",form:\"action\",img:\"src\",area:\"href\",iframe:\"src\",embed:\"src\",source:\"src\",track:\"src\",input:\"src\",audio:\"src\",video:\"src\"};s.getDomAttribute=function(e){if(!e||!e.nodeName){return undefined}var t=e.nodeName.toLowerCase();if(t===\"input\"&&e.type!==\"image\"){return undefined}return s.domAttributes[t]};function g(e){return escape(e)}function _(e){return encodeURIComponent(e).replace(/[!'()*]/g,g).replace(/\\*/g,\"%2A\")}s.encode=_;s.decode=decodeURIComponent;s.iso8859=function(){s.encode=escape;s.decode=unescape};s.unicode=function(){s.encode=_;s.decode=decodeURIComponent};s.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{\"%24\":\"$\",\"%26\":\"&\",\"%2B\":\"+\",\"%2C\":\",\",\"%3B\":\";\",\"%3D\":\"=\",\"%3A\":\":\",\"%40\":\"@\"}},decode:{expression:/[\\/\\?#]/g,map:{\"/\":\"%2F\",\"?\":\"%3F\",\"#\":\"%23\"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{\"%3A\":\":\",\"%2F\":\"/\",\"%3F\":\"?\",\"%23\":\"#\",\"%5B\":\"[\",\"%5D\":\"]\",\"%40\":\"@\",\"%21\":\"!\",\"%24\":\"$\",\"%26\":\"&\",\"%27\":\"'\",\"%28\":\"(\",\"%29\":\")\",\"%2A\":\"*\",\"%2B\":\"+\",\"%2C\":\",\",\"%3B\":\";\",\"%3D\":\"=\"}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{\"%21\":\"!\",\"%24\":\"$\",\"%27\":\"'\",\"%28\":\"(\",\"%29\":\")\",\"%2A\":\"*\",\"%2B\":\"+\",\"%2C\":\",\",\"%3B\":\";\",\"%3D\":\"=\",\"%40\":\"@\"}},decode:{expression:/[\\/\\?#:]/g,map:{\"/\":\"%2F\",\"?\":\"%3F\",\"#\":\"%23\",\":\":\"%3A\"}}}};s.encodeQuery=function(e,t){var r=s.encode(e+\"\");if(t===undefined){t=s.escapeQuerySpace}return t?r.replace(/%20/g,\"+\"):r};s.decodeQuery=function(e,t){e+=\"\";if(t===undefined){t=s.escapeQuerySpace}try{return s.decode(t?e.replace(/\\+/g,\"%20\"):e)}catch(t){return e}};var v={encode:\"encode\",decode:\"decode\"};var y;var b=function(e,t){return function(r){try{return s[t](r+\"\").replace(s.characters[e][t].expression,function(r){return s.characters[e][t].map[r]})}catch(e){return r}}};for(y in v){s[y+\"PathSegment\"]=b(\"pathname\",v[y]);s[y+\"UrnPathSegment\"]=b(\"urnpath\",v[y])}var w=function(e,t,r){return function(n){var i;if(!r){i=s[t]}else{i=function(e){return s[t](s[r](e))}}var a=(n+\"\").split(e);for(var o=0,u=a.length;o<u;o++){a[o]=i(a[o])}return a.join(e)}};s.decodePath=w(\"/\",\"decodePathSegment\");s.decodeUrnPath=w(\":\",\"decodeUrnPathSegment\");s.recodePath=w(\"/\",\"encodePathSegment\",\"decode\");s.recodeUrnPath=w(\":\",\"encodeUrnPathSegment\",\"decode\");s.encodeReserved=b(\"reserved\",\"encode\");s.parse=function(e,t){var r;if(!t){t={preventInvalidHostname:s.preventInvalidHostname}}e=e.replace(s.leading_whitespace_expression,\"\");e=e.replace(s.ascii_tab_whitespace,\"\");r=e.indexOf(\"#\");if(r>-1){t.fragment=e.substring(r+1)||null;e=e.substring(0,r)}r=e.indexOf(\"?\");if(r>-1){t.query=e.substring(r+1)||null;e=e.substring(0,r)}e=e.replace(/^(https?|ftp|wss?)?:+[/\\\\]*/i,\"$1://\");e=e.replace(/^[/\\\\]{2,}/i,\"//\");if(e.substring(0,2)===\"//\"){t.protocol=null;e=e.substring(2);e=s.parseAuthority(e,t)}else{r=e.indexOf(\":\");if(r>-1){t.protocol=e.substring(0,r)||null;if(t.protocol&&!t.protocol.match(s.protocol_expression)){t.protocol=undefined}else if(e.substring(r+1,r+3).replace(/\\\\/g,\"/\")===\"//\"){e=e.substring(r+3);e=s.parseAuthority(e,t)}else{e=e.substring(r+1);t.urn=true}}}t.path=e;return t};s.parseHost=function(e,t){if(!e){e=\"\"}e=e.replace(/\\\\/g,\"/\");var r=e.indexOf(\"/\");var n;var i;if(r===-1){r=e.length}if(e.charAt(0)===\"[\"){n=e.indexOf(\"]\");t.hostname=e.substring(1,n)||null;t.port=e.substring(n+2,r)||null;if(t.port===\"/\"){t.port=null}}else{var a=e.indexOf(\":\");var o=e.indexOf(\"/\");var u=e.indexOf(\":\",a+1);if(u!==-1&&(o===-1||u<o)){t.hostname=e.substring(0,r)||null;t.port=null}else{i=e.substring(0,r).split(\":\");t.hostname=i[0]||null;t.port=i[1]||null}}if(t.hostname&&e.substring(r).charAt(0)!==\"/\"){r++;e=\"/\"+e}if(t.preventInvalidHostname){s.ensureValidHostname(t.hostname,t.protocol)}if(t.port){s.ensureValidPort(t.port)}return e.substring(r)||\"/\"};s.parseAuthority=function(e,t){e=s.parseUserinfo(e,t);return s.parseHost(e,t)};s.parseUserinfo=function(e,t){var r=e;var n=e.indexOf(\"\\\\\");if(n!==-1){e=e.replace(/\\\\/g,\"/\")}var i=e.indexOf(\"/\");var a=e.lastIndexOf(\"@\",i>-1?i:e.length-1);var o;if(a>-1&&(i===-1||a<i)){o=e.substring(0,a).split(\":\");t.username=o[0]?s.decode(o[0]):null;o.shift();t.password=o[0]?s.decode(o.join(\":\")):null;e=r.substring(a+1)}else{t.username=null;t.password=null}return e};s.parseQuery=function(e,t){if(!e){return{}}e=e.replace(/&+/g,\"&\").replace(/^\\?*&*|&+$/g,\"\");if(!e){return{}}var r={};var n=e.split(\"&\");var i=n.length;var a,o,h;for(var f=0;f<i;f++){a=n[f].split(\"=\");o=s.decodeQuery(a.shift(),t);h=a.length?s.decodeQuery(a.join(\"=\"),t):null;if(o===\"__proto__\"){continue}else if(u.call(r,o)){if(typeof r[o]===\"string\"||r[o]===null){r[o]=[r[o]]}r[o].push(h)}else{r[o]=h}}return r};s.build=function(e){var t=\"\";var r=false;if(e.protocol){t+=e.protocol+\":\"}if(!e.urn&&(t||e.hostname)){t+=\"//\";r=true}t+=s.buildAuthority(e)||\"\";if(typeof e.path===\"string\"){if(e.path.charAt(0)!==\"/\"&&r){t+=\"/\"}t+=e.path}if(typeof e.query===\"string\"&&e.query){t+=\"?\"+e.query}if(typeof e.fragment===\"string\"&&e.fragment){t+=\"#\"+e.fragment}return t};s.buildHost=function(e){var t=\"\";if(!e.hostname){return\"\"}else if(s.ip6_expression.test(e.hostname)){t+=\"[\"+e.hostname+\"]\"}else{t+=e.hostname}if(e.port){t+=\":\"+e.port}return t};s.buildAuthority=function(e){return s.buildUserinfo(e)+s.buildHost(e)};s.buildUserinfo=function(e){var t=\"\";if(e.username){t+=s.encode(e.username)}if(e.password){t+=\":\"+s.encode(e.password)}if(t){t+=\"@\"}return t};s.buildQuery=function(e,t,r){var n=\"\";var i,a,o,h;for(a in e){if(a===\"__proto__\"){continue}else if(u.call(e,a)){if(p(e[a])){i={};for(o=0,h=e[a].length;o<h;o++){if(e[a][o]!==undefined&&i[e[a][o]+\"\"]===undefined){n+=\"&\"+s.buildQueryParameter(a,e[a][o],r);if(t!==true){i[e[a][o]+\"\"]=true}}}}else if(e[a]!==undefined){n+=\"&\"+s.buildQueryParameter(a,e[a],r)}}}return n.substring(1)};s.buildQueryParameter=function(e,t,r){return s.encodeQuery(e,r)+(t!==null?\"=\"+s.encodeQuery(t,r):\"\")};s.addQuery=function(e,t,r){if(typeof t===\"object\"){for(var n in t){if(u.call(t,n)){s.addQuery(e,n,t[n])}}}else if(typeof t===\"string\"){if(e[t]===undefined){e[t]=r;return}else if(typeof e[t]===\"string\"){e[t]=[e[t]]}if(!p(r)){r=[r]}e[t]=(e[t]||[]).concat(r)}else{throw new TypeError(\"URI.addQuery() accepts an object, string as the name parameter\")}};s.setQuery=function(e,t,r){if(typeof t===\"object\"){for(var n in t){if(u.call(t,n)){s.setQuery(e,n,t[n])}}}else if(typeof t===\"string\"){e[t]=r===undefined?null:r}else{throw new TypeError(\"URI.setQuery() accepts an object, string as the name parameter\")}};s.removeQuery=function(e,t,r){var n,i,a;if(p(t)){for(n=0,i=t.length;n<i;n++){e[t[n]]=undefined}}else if(f(t)===\"RegExp\"){for(a in e){if(t.test(a)){e[a]=undefined}}}else if(typeof t===\"object\"){for(a in t){if(u.call(t,a)){s.removeQuery(e,a,t[a])}}}else if(typeof t===\"string\"){if(r!==undefined){if(f(r)===\"RegExp\"){if(!p(e[t])&&r.test(e[t])){e[t]=undefined}else{e[t]=l(e[t],r)}}else if(e[t]===String(r)&&(!p(r)||r.length===1)){e[t]=undefined}else if(p(e[t])){e[t]=l(e[t],r)}}else{e[t]=undefined}}else{throw new TypeError(\"URI.removeQuery() accepts an object, string, RegExp as the first parameter\")}};s.hasQuery=function(e,t,r,n){switch(f(t)){case\"String\":break;case\"RegExp\":for(var i in e){if(u.call(e,i)){if(t.test(i)&&(r===undefined||s.hasQuery(e,i,r))){return true}}}return false;case\"Object\":for(var a in t){if(u.call(t,a)){if(!s.hasQuery(e,a,t[a])){return false}}}return true;default:throw new TypeError(\"URI.hasQuery() accepts a string, regular expression or object as the name parameter\")}switch(f(r)){case\"Undefined\":return t in e;case\"Boolean\":var o=Boolean(p(e[t])?e[t].length:e[t]);return r===o;case\"Function\":return!!r(e[t],t,e);case\"Array\":if(!p(e[t])){return false}var h=n?c:d;return h(e[t],r);case\"RegExp\":if(!p(e[t])){return Boolean(e[t]&&e[t].match(r))}if(!n){return false}return c(e[t],r);case\"Number\":r=String(r);case\"String\":if(!p(e[t])){return e[t]===r}if(!n){return false}return c(e[t],r);default:throw new TypeError(\"URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter\")}};s.joinPaths=function(){var e=[];var t=[];var r=0;for(var n=0;n<arguments.length;n++){var i=new s(arguments[n]);e.push(i);var a=i.segment();for(var o=0;o<a.length;o++){if(typeof a[o]===\"string\"){t.push(a[o])}if(a[o]){r++}}}if(!t.length||!r){return new s(\"\")}var u=new s(\"\").segment(t);if(e[0].path()===\"\"||e[0].path().slice(0,1)===\"/\"){u.path(\"/\"+u.path())}return u.normalize()};s.commonPath=function(e,t){var r=Math.min(e.length,t.length);var n;for(n=0;n<r;n++){if(e.charAt(n)!==t.charAt(n)){n--;break}}if(n<1){return e.charAt(0)===t.charAt(0)&&e.charAt(0)===\"/\"?\"/\":\"\"}if(e.charAt(n)!==\"/\"||t.charAt(n)!==\"/\"){n=e.substring(0,n).lastIndexOf(\"/\")}return e.substring(0,n+1)};s.withinString=function(e,t,r){r||(r={});var n=r.start||s.findUri.start;var i=r.end||s.findUri.end;var a=r.trim||s.findUri.trim;var o=r.parens||s.findUri.parens;var u=/[a-z0-9-]=[\"']?$/i;n.lastIndex=0;while(true){var h=n.exec(e);if(!h){break}var f=h.index;if(r.ignoreHtml){var p=e.slice(Math.max(f-3,0),f);if(p&&u.test(p)){continue}}var l=f+e.slice(f).search(i);var c=e.slice(f,l);var d=-1;while(true){var m=o.exec(c);if(!m){break}var g=m.index+m[0].length;d=Math.max(d,g)}if(d>-1){c=c.slice(0,d)+c.slice(d).replace(a,\"\")}else{c=c.replace(a,\"\")}if(c.length<=h[0].length){continue}if(r.ignore&&r.ignore.test(c)){continue}l=f+c.length;var _=t(c,f,l,e);if(_===undefined){n.lastIndex=l;continue}_=String(_);e=e.slice(0,f)+_+e.slice(l);n.lastIndex=f+_.length}n.lastIndex=0;return e};s.ensureValidHostname=function(t,r){var n=!!t;var i=!!r;var a=false;if(i){a=c(s.hostProtocols,r)}if(a&&!n){throw new TypeError(\"Hostname cannot be empty, if protocol is \"+r)}else if(t&&t.match(s.invalid_hostname_characters)){if(!e){throw new TypeError('Hostname \"'+t+'\" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available')}if(e.toASCII(t).match(s.invalid_hostname_characters)){throw new TypeError('Hostname \"'+t+'\" contains characters other than [A-Z0-9.-:_]')}}};s.ensureValidPort=function(e){if(!e){return}var t=Number(e);if(a(t)&&t>0&&t<65536){return}throw new TypeError('Port \"'+e+'\" is not a valid port')};s.noConflict=function(e){if(e){var t={URI:this.noConflict()};if(n.URITemplate&&typeof n.URITemplate.noConflict===\"function\"){t.URITemplate=n.URITemplate.noConflict()}if(n.IPv6&&typeof n.IPv6.noConflict===\"function\"){t.IPv6=n.IPv6.noConflict()}if(n.SecondLevelDomains&&typeof n.SecondLevelDomains.noConflict===\"function\"){t.SecondLevelDomains=n.SecondLevelDomains.noConflict()}return t}else if(n.URI===this){n.URI=i}return this};o.build=function(e){if(e===true){this._deferred_build=true}else if(e===undefined||this._deferred_build){this._string=s.build(this._parts);this._deferred_build=false}return this};o.clone=function(){return new s(this)};o.valueOf=o.toString=function(){return this.build(false)._string};function Q(e){return function(t,r){if(t===undefined){return this._parts[e]||\"\"}else{this._parts[e]=t||null;this.build(!r);return this}}}function A(e,t){return function(r,n){if(r===undefined){return this._parts[e]||\"\"}else{if(r!==null){r=r+\"\";if(r.charAt(0)===t){r=r.substring(1)}}this._parts[e]=r;this.build(!n);return this}}}o.protocol=Q(\"protocol\");o.username=Q(\"username\");o.password=Q(\"password\");o.hostname=Q(\"hostname\");o.port=Q(\"port\");o.query=A(\"query\",\"?\");o.fragment=A(\"fragment\",\"#\");o.search=function(e,t){var r=this.query(e,t);return typeof r===\"string\"&&r.length?\"?\"+r:r};o.hash=function(e,t){var r=this.fragment(e,t);return typeof r===\"string\"&&r.length?\"#\"+r:r};o.pathname=function(e,t){if(e===undefined||e===true){var r=this._parts.path||(this._parts.hostname?\"/\":\"\");return e?(this._parts.urn?s.decodeUrnPath:s.decodePath)(r):r}else{if(this._parts.urn){this._parts.path=e?s.recodeUrnPath(e):\"\"}else{this._parts.path=e?s.recodePath(e):\"/\"}this.build(!t);return this}};o.path=o.pathname;o.href=function(e,t){var r;if(e===undefined){return this.toString()}this._string=\"\";this._parts=s._parts();var n=e instanceof s;var i=typeof e===\"object\"&&(e.hostname||e.path||e.pathname);if(e.nodeName){var a=s.getDomAttribute(e);e=e[a]||\"\";i=false}if(!n&&i&&e.pathname!==undefined){e=e.toString()}if(typeof e===\"string\"||e instanceof String){this._parts=s.parse(String(e),this._parts)}else if(n||i){var o=n?e._parts:e;for(r in o){if(r===\"query\"){continue}if(u.call(this._parts,r)){this._parts[r]=o[r]}}if(o.query){this.query(o.query,false)}}else{throw new TypeError(\"invalid input\")}this.build(!t);return this};o.is=function(e){var t=false;var n=false;var i=false;var a=false;var o=false;var u=false;var h=false;var f=!this._parts.urn;if(this._parts.hostname){f=false;n=s.ip4_expression.test(this._parts.hostname);i=s.ip6_expression.test(this._parts.hostname);t=n||i;a=!t;o=a&&r&&r.has(this._parts.hostname);u=a&&s.idn_expression.test(this._parts.hostname);h=a&&s.punycode_expression.test(this._parts.hostname)}switch(e.toLowerCase()){case\"relative\":return f;case\"absolute\":return!f;case\"domain\":case\"name\":return a;case\"sld\":return o;case\"ip\":return t;case\"ip4\":case\"ipv4\":case\"inet4\":return n;case\"ip6\":case\"ipv6\":case\"inet6\":return i;case\"idn\":return u;case\"url\":return!this._parts.urn;case\"urn\":return!!this._parts.urn;case\"punycode\":return h}return null};var x=o.protocol;var P=o.port;var I=o.hostname;o.protocol=function(e,t){if(e){e=e.replace(/:(\\/\\/)?$/,\"\");if(!e.match(s.protocol_expression)){throw new TypeError('Protocol \"'+e+\"\\\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]\")}}return x.call(this,e,t)};o.scheme=o.protocol;o.port=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(e!==undefined){if(e===0){e=null}if(e){e+=\"\";if(e.charAt(0)===\":\"){e=e.substring(1)}s.ensureValidPort(e)}}return P.call(this,e,t)};o.hostname=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(e!==undefined){var r={preventInvalidHostname:this._parts.preventInvalidHostname};var n=s.parseHost(e,r);if(n!==\"/\"){throw new TypeError('Hostname \"'+e+'\" contains characters other than [A-Z0-9.-]')}e=r.hostname;if(this._parts.preventInvalidHostname){s.ensureValidHostname(e,this._parts.protocol)}}return I.call(this,e,t)};o.origin=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(e===undefined){var r=this.protocol();var n=this.authority();if(!n){return\"\"}return(r?r+\"://\":\"\")+this.authority()}else{var i=s(e);this.protocol(i.protocol()).authority(i.authority()).build(!t);return this}};o.host=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(e===undefined){return this._parts.hostname?s.buildHost(this._parts):\"\"}else{var r=s.parseHost(e,this._parts);if(r!==\"/\"){throw new TypeError('Hostname \"'+e+'\" contains characters other than [A-Z0-9.-]')}this.build(!t);return this}};o.authority=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(e===undefined){return this._parts.hostname?s.buildAuthority(this._parts):\"\"}else{var r=s.parseAuthority(e,this._parts);if(r!==\"/\"){throw new TypeError('Hostname \"'+e+'\" contains characters other than [A-Z0-9.-]')}this.build(!t);return this}};o.userinfo=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(e===undefined){var r=s.buildUserinfo(this._parts);return r?r.substring(0,r.length-1):r}else{if(e[e.length-1]!==\"@\"){e+=\"@\"}s.parseUserinfo(e,this._parts);this.build(!t);return this}};o.resource=function(e,t){var r;if(e===undefined){return this.path()+this.search()+this.hash()}r=s.parse(e);this._parts.path=r.path;this._parts.query=r.query;this._parts.fragment=r.fragment;this.build(!t);return this};o.subdomain=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(e===undefined){if(!this._parts.hostname||this.is(\"IP\")){return\"\"}var r=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,r)||\"\"}else{var n=this._parts.hostname.length-this.domain().length;var i=this._parts.hostname.substring(0,n);var a=new RegExp(\"^\"+h(i));if(e&&e.charAt(e.length-1)!==\".\"){e+=\".\"}if(e.indexOf(\":\")!==-1){throw new TypeError(\"Domains cannot contain colons\")}if(e){s.ensureValidHostname(e,this._parts.protocol)}this._parts.hostname=this._parts.hostname.replace(a,e);this.build(!t);return this}};o.domain=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(typeof e===\"boolean\"){t=e;e=undefined}if(e===undefined){if(!this._parts.hostname||this.is(\"IP\")){return\"\"}var r=this._parts.hostname.match(/\\./g);if(r&&r.length<2){return this._parts.hostname}var n=this._parts.hostname.length-this.tld(t).length-1;n=this._parts.hostname.lastIndexOf(\".\",n-1)+1;return this._parts.hostname.substring(n)||\"\"}else{if(!e){throw new TypeError(\"cannot set domain empty\")}if(e.indexOf(\":\")!==-1){throw new TypeError(\"Domains cannot contain colons\")}s.ensureValidHostname(e,this._parts.protocol);if(!this._parts.hostname||this.is(\"IP\")){this._parts.hostname=e}else{var i=new RegExp(h(this.domain())+\"$\");this._parts.hostname=this._parts.hostname.replace(i,e)}this.build(!t);return this}};o.tld=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(typeof e===\"boolean\"){t=e;e=undefined}if(e===undefined){if(!this._parts.hostname||this.is(\"IP\")){return\"\"}var n=this._parts.hostname.lastIndexOf(\".\");var i=this._parts.hostname.substring(n+1);if(t!==true&&r&&r.list[i.toLowerCase()]){return r.get(this._parts.hostname)||i}return i}else{var s;if(!e){throw new TypeError(\"cannot set TLD empty\")}else if(e.match(/[^a-zA-Z0-9-]/)){if(r&&r.is(e)){s=new RegExp(h(this.tld())+\"$\");this._parts.hostname=this._parts.hostname.replace(s,e)}else{throw new TypeError('TLD \"'+e+'\" contains characters other than [A-Z0-9]')}}else if(!this._parts.hostname||this.is(\"IP\")){throw new ReferenceError(\"cannot set TLD on non-domain host\")}else{s=new RegExp(h(this.tld())+\"$\");this._parts.hostname=this._parts.hostname.replace(s,e)}this.build(!t);return this}};o.directory=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(e===undefined||e===true){if(!this._parts.path&&!this._parts.hostname){return\"\"}if(this._parts.path===\"/\"){return\"/\"}var r=this._parts.path.length-this.filename().length-1;var n=this._parts.path.substring(0,r)||(this._parts.hostname?\"/\":\"\");return e?s.decodePath(n):n}else{var i=this._parts.path.length-this.filename().length;var a=this._parts.path.substring(0,i);var o=new RegExp(\"^\"+h(a));if(!this.is(\"relative\")){if(!e){e=\"/\"}if(e.charAt(0)!==\"/\"){e=\"/\"+e}}if(e&&e.charAt(e.length-1)!==\"/\"){e+=\"/\"}e=s.recodePath(e);this._parts.path=this._parts.path.replace(o,e);this.build(!t);return this}};o.filename=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(typeof e!==\"string\"){if(!this._parts.path||this._parts.path===\"/\"){return\"\"}var r=this._parts.path.lastIndexOf(\"/\");var n=this._parts.path.substring(r+1);return e?s.decodePathSegment(n):n}else{var i=false;if(e.charAt(0)===\"/\"){e=e.substring(1)}if(e.match(/\\.?\\//)){i=true}var a=new RegExp(h(this.filename())+\"$\");e=s.recodePath(e);this._parts.path=this._parts.path.replace(a,e);if(i){this.normalizePath(t)}else{this.build(!t)}return this}};o.suffix=function(e,t){if(this._parts.urn){return e===undefined?\"\":this}if(e===undefined||e===true){if(!this._parts.path||this._parts.path===\"/\"){return\"\"}var r=this.filename();var n=r.lastIndexOf(\".\");var i,a;if(n===-1){return\"\"}i=r.substring(n+1);a=/^[a-z0-9%]+$/i.test(i)?i:\"\";return e?s.decodePathSegment(a):a}else{if(e.charAt(0)===\".\"){e=e.substring(1)}var o=this.suffix();var u;if(!o){if(!e){return this}this._parts.path+=\".\"+s.recodePath(e)}else if(!e){u=new RegExp(h(\".\"+o)+\"$\")}else{u=new RegExp(h(o)+\"$\")}if(u){e=s.recodePath(e);this._parts.path=this._parts.path.replace(u,e)}this.build(!t);return this}};o.segment=function(e,t,r){var n=this._parts.urn?\":\":\"/\";var i=this.path();var s=i.substring(0,1)===\"/\";var a=i.split(n);if(e!==undefined&&typeof e!==\"number\"){r=t;t=e;e=undefined}if(e!==undefined&&typeof e!==\"number\"){throw new Error('Bad segment \"'+e+'\", must be 0-based integer')}if(s){a.shift()}if(e<0){e=Math.max(a.length+e,0)}if(t===undefined){return e===undefined?a:a[e]}else if(e===null||a[e]===undefined){if(p(t)){a=[];for(var o=0,u=t.length;o<u;o++){if(!t[o].length&&(!a.length||!a[a.length-1].length)){continue}if(a.length&&!a[a.length-1].length){a.pop()}a.push(m(t[o]))}}else if(t||typeof t===\"string\"){t=m(t);if(a[a.length-1]===\"\"){a[a.length-1]=t}else{a.push(t)}}}else{if(t){a[e]=m(t)}else{a.splice(e,1)}}if(s){a.unshift(\"\")}return this.path(a.join(n),r)};o.segmentCoded=function(e,t,r){var n,i,a;if(typeof e!==\"number\"){r=t;t=e;e=undefined}if(t===undefined){n=this.segment(e,t,r);if(!p(n)){n=n!==undefined?s.decode(n):undefined}else{for(i=0,a=n.length;i<a;i++){n[i]=s.decode(n[i])}}return n}if(!p(t)){t=typeof t===\"string\"||t instanceof String?s.encode(t):t}else{for(i=0,a=t.length;i<a;i++){t[i]=s.encode(t[i])}}return this.segment(e,t,r)};var S=o.query;o.query=function(e,t){if(e===true){return s.parseQuery(this._parts.query,this._parts.escapeQuerySpace)}else if(typeof e===\"function\"){var r=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);var n=e.call(this,r);this._parts.query=s.buildQuery(n||r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);this.build(!t);return this}else if(e!==undefined&&typeof e!==\"string\"){this._parts.query=s.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);this.build(!t);return this}else{return S.call(this,e,t)}};o.setQuery=function(e,t,r){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof e===\"string\"||e instanceof String){n[e]=t!==undefined?t:null}else if(typeof e===\"object\"){for(var i in e){if(u.call(e,i)){n[i]=e[i]}}}else{throw new TypeError(\"URI.addQuery() accepts an object, string as the name parameter\")}this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);if(typeof e!==\"string\"){r=t}this.build(!r);return this};o.addQuery=function(e,t,r){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);s.addQuery(n,e,t===undefined?null:t);this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);if(typeof e!==\"string\"){r=t}this.build(!r);return this};o.removeQuery=function(e,t,r){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);s.removeQuery(n,e,t);this._parts.query=s.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);if(typeof e!==\"string\"){r=t}this.build(!r);return this};o.hasQuery=function(e,t,r){var n=s.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return s.hasQuery(n,e,t,r)};o.setSearch=o.setQuery;o.addSearch=o.addQuery;o.removeSearch=o.removeQuery;o.hasSearch=o.hasQuery;o.normalize=function(){if(this._parts.urn){return this.normalizeProtocol(false).normalizePath(false).normalizeQuery(false).normalizeFragment(false).build()}return this.normalizeProtocol(false).normalizeHostname(false).normalizePort(false).normalizePath(false).normalizeQuery(false).normalizeFragment(false).build()};o.normalizeProtocol=function(e){if(typeof this._parts.protocol===\"string\"){this._parts.protocol=this._parts.protocol.toLowerCase();this.build(!e)}return this};o.normalizeHostname=function(r){if(this._parts.hostname){if(this.is(\"IDN\")&&e){this._parts.hostname=e.toASCII(this._parts.hostname)}else if(this.is(\"IPv6\")&&t){this._parts.hostname=t.best(this._parts.hostname)}this._parts.hostname=this._parts.hostname.toLowerCase();this.build(!r)}return this};o.normalizePort=function(e){if(typeof this._parts.protocol===\"string\"&&this._parts.port===s.defaultPorts[this._parts.protocol]){this._parts.port=null;this.build(!e)}return this};o.normalizePath=function(e){var t=this._parts.path;if(!t){return this}if(this._parts.urn){this._parts.path=s.recodeUrnPath(this._parts.path);this.build(!e);return this}if(this._parts.path===\"/\"){return this}t=s.recodePath(t);var r;var n=\"\";var i,a;if(t.charAt(0)!==\"/\"){r=true;t=\"/\"+t}if(t.slice(-3)===\"/..\"||t.slice(-2)===\"/.\"){t+=\"/\"}t=t.replace(/(\\/(\\.\\/)+)|(\\/\\.$)/g,\"/\").replace(/\\/{2,}/g,\"/\");if(r){n=t.substring(1).match(/^(\\.\\.\\/)+/)||\"\";if(n){n=n[0]}}while(true){i=t.search(/\\/\\.\\.(\\/|$)/);if(i===-1){break}else if(i===0){t=t.substring(3);continue}a=t.substring(0,i).lastIndexOf(\"/\");if(a===-1){a=i}t=t.substring(0,a)+t.substring(i+3)}if(r&&this.is(\"relative\")){t=n+t.substring(1)}this._parts.path=t;this.build(!e);return this};o.normalizePathname=o.normalizePath;o.normalizeQuery=function(e){if(typeof this._parts.query===\"string\"){if(!this._parts.query.length){this._parts.query=null}else{this.query(s.parseQuery(this._parts.query,this._parts.escapeQuerySpace))}this.build(!e)}return this};o.normalizeFragment=function(e){if(!this._parts.fragment){this._parts.fragment=null;this.build(!e)}return this};o.normalizeSearch=o.normalizeQuery;o.normalizeHash=o.normalizeFragment;o.iso8859=function(){var e=s.encode;var t=s.decode;s.encode=escape;s.decode=decodeURIComponent;try{this.normalize()}finally{s.encode=e;s.decode=t}return this};o.unicode=function(){var e=s.encode;var t=s.decode;s.encode=_;s.decode=unescape;try{this.normalize()}finally{s.encode=e;s.decode=t}return this};o.readable=function(){var t=this.clone();t.username(\"\").password(\"\").normalize();var r=\"\";if(t._parts.protocol){r+=t._parts.protocol+\"://\"}if(t._parts.hostname){if(t.is(\"punycode\")&&e){r+=e.toUnicode(t._parts.hostname);if(t._parts.port){r+=\":\"+t._parts.port}}else{r+=t.host()}}if(t._parts.hostname&&t._parts.path&&t._parts.path.charAt(0)!==\"/\"){r+=\"/\"}r+=t.path(true);if(t._parts.query){var n=\"\";for(var i=0,a=t._parts.query.split(\"&\"),o=a.length;i<o;i++){var u=(a[i]||\"\").split(\"=\");n+=\"&\"+s.decodeQuery(u[0],this._parts.escapeQuerySpace).replace(/&/g,\"%26\");if(u[1]!==undefined){n+=\"=\"+s.decodeQuery(u[1],this._parts.escapeQuerySpace).replace(/&/g,\"%26\")}}r+=\"?\"+n.substring(1)}r+=s.decodeQuery(t.hash(),true);return r};o.absoluteTo=function(e){var t=this.clone();var r=[\"protocol\",\"username\",\"password\",\"hostname\",\"port\"];var n,i,a;if(this._parts.urn){throw new Error(\"URNs do not have any generally defined hierarchical components\")}if(!(e instanceof s)){e=new s(e)}if(t._parts.protocol){return t}else{t._parts.protocol=e._parts.protocol}if(this._parts.hostname){return t}for(i=0;a=r[i];i++){t._parts[a]=e._parts[a]}if(!t._parts.path){t._parts.path=e._parts.path;if(!t._parts.query){t._parts.query=e._parts.query}}else{if(t._parts.path.substring(-2)===\"..\"){t._parts.path+=\"/\"}if(t.path().charAt(0)!==\"/\"){n=e.directory();n=n?n:e.path().indexOf(\"/\")===0?\"/\":\"\";t._parts.path=(n?n+\"/\":\"\")+t._parts.path;t.normalizePath()}}t.build();return t};o.relativeTo=function(e){var t=this.clone().normalize();var r,n,i,a,o;if(t._parts.urn){throw new Error(\"URNs do not have any generally defined hierarchical components\")}e=new s(e).normalize();r=t._parts;n=e._parts;a=t.path();o=e.path();if(a.charAt(0)!==\"/\"){throw new Error(\"URI is already relative\")}if(o.charAt(0)!==\"/\"){throw new Error(\"Cannot calculate a URI relative to another relative URI\")}if(r.protocol===n.protocol){r.protocol=null}if(r.username!==n.username||r.password!==n.password){return t.build()}if(r.protocol!==null||r.username!==null||r.password!==null){return t.build()}if(r.hostname===n.hostname&&r.port===n.port){r.hostname=null;r.port=null}else{return t.build()}if(a===o){r.path=\"\";return t.build()}i=s.commonPath(a,o);if(!i){return t.build()}var u=n.path.substring(i.length).replace(/[^\\/]*$/,\"\").replace(/.*?\\//g,\"../\");r.path=u+r.path.substring(i.length)||\"./\";return t.build()};o.equals=function(e){var t=this.clone();var r=new s(e);var n={};var i={};var a={};var o,h,f;t.normalize();r.normalize();if(t.toString()===r.toString()){return true}o=t.query();h=r.query();t.query(\"\");r.query(\"\");if(t.toString()!==r.toString()){return false}if(o.length!==h.length){return false}n=s.parseQuery(o,this._parts.escapeQuerySpace);i=s.parseQuery(h,this._parts.escapeQuerySpace);for(f in n){if(u.call(n,f)){if(!p(n[f])){if(n[f]!==i[f]){return false}}else if(!d(n[f],i[f])){return false}a[f]=true}}for(f in i){if(u.call(i,f)){if(!a[f]){return false}}}return true};o.preventInvalidHostname=function(e){this._parts.preventInvalidHostname=!!e;return this};o.duplicateQueryParameters=function(e){this._parts.duplicateQueryParameters=!!e;return this};o.escapeQuerySpace=function(e){this._parts.escapeQuerySpace=!!e;return this};return s});\n},\n\t\"sap/ui/thirdparty/jquery-compat.js\":function(){\n/*!\n * jQuery Migrate - v3.3.1 - * Copyright OpenJS Foundation and other contributors\n */\n(function(e){\"use strict\";var t=document.querySelector(\"SCRIPT[src][id=sap-ui-bootstrap]\");var r=window[\"sap-ui-config\"]||{};if(/sap-ui-excludeJQueryCompat=(true|x)/.test(location.search)||/sap-ui-excludejquerycompat=(true|x)/.test(location.search)||t&&t.getAttribute(\"data-sap-ui-excludejquerycompat\")===\"true\"||r[\"excludejquerycompat\"]===true||r[\"excludeJQueryCompat\"]===true){return}if(typeof window.sap!==\"object\"&&typeof window.sap!==\"function\"){window.sap={}}if(typeof window.sap.ui!==\"object\"){window.sap.ui={}}sap.ui._jQuery3Compat={_factory:e};if(window.jQuery){e(jQuery,window)}})(function(jQuery,e){\"use strict\";jQuery.migrateVersion=\"3.3.1\";function t(e,t){var r,n=/^(\\d+)\\.(\\d+)\\.(\\d+)/,i=n.exec(e)||[],o=n.exec(t)||[];for(r=1;r<=3;r++){if(+i[r]>+o[r]){return 1}if(+i[r]<+o[r]){return-1}}return 0}function r(e){return t(jQuery.fn.jquery,e)>=0}if(r(\"3.0.0\")&&!r(\"4.0.0\")){if(jQuery.fn.jquery!==\"3.6.0\"&&console){console.warn(\"The current jQuery version \"+jQuery.fn.jquery+\" is different than the version 3.6.0 that is used for testing jquery-compat.js. jquery-compat.js is applied but it may not work properly.\")}}else{if(console){console.error(\"The current jQuery version \"+jQuery.fn.jquery+\" differs at the major version than the version 3.6.0 that is used for testing jquery-compat.js. jquery-compat.js shouldn't be applied in this case!\")}return}var n={};jQuery.migrateDeduplicateWarnings=false;jQuery.migrateWarnings=[];function i(e){var t;e=e.replace(\" and removed\",\"\");if(! Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/MonthsRow\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/core/LocaleData\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/library\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/Locale\",\"./MonthsRowRenderer\",\"sap/ui/dom/containsOrEquals\",\"sap/ui/thirdparty/jquery\",\"sap/ui/unified/DateRange\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/InvisibleText\"],function(e,t,a,i,r,o,s,n,l,h,g,p,c,u,jQuery,f,d,y){\"use strict\";var m=a.extend(\"sap.ui.unified.calendar.MonthsRow\",{metadata:{library:\"sap.ui.unified\",properties:{date:{type:\"object\",group:\"Data\"},startDate:{type:\"object\",group:\"Data\"},months:{type:\"int\",group:\"Appearance\",defaultValue:12},intervalSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:false},singleSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:true},showHeader:{type:\"boolean\",group:\"Appearance\",defaultValue:false},primaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},secondaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},selectableAccessibilitySemantics:{type:\"boolean\",group:\"Behavior\",defaultValue:true,visibility:\"hidden\"}},aggregations:{selectedDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"selectedDate\"},specialDates:{type:\"sap.ui.unified.DateTypeRange\",multiple:true,singularName:\"specialDate\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"},legend:{type:\"sap.ui.unified.CalendarLegend\",multiple:false}},events:{select:{},focus:{parameters:{date:{type:\"object\"},notVisible:{type:\"boolean\"}}}}},renderer:c});m.prototype.init=function(){var e=this._getPrimaryCalendarType();this._oFormatYyyymm=g.getInstance({pattern:\"yyyyMMdd\",calendarType:e});this._oFormatOnlyYearLong=g.getInstance({pattern:\"yyyy\",calendarType:e});this._oFormatLong=g.getInstance({pattern:\"MMMM y\",calendarType:e});this._mouseMoveProxy=jQuery.proxy(this._handleMouseMove,this);this._rb=r.getResourceBundleFor(\"sap.ui.unified\")};m.prototype.setPrimaryCalendarType=function(e){this.setProperty(\"primaryCalendarType\",e);this._oFormatYyyymm=g.getInstance({pattern:\"yyyyMMdd\",calendarType:e});this._oFormatLong=g.getInstance({pattern:\"MMMM y\",calendarType:e});return this};m.prototype._getPrimaryCalendarType=function(){return this.getProperty(\"primaryCalendarType\")||e.getCalendarType()};m.prototype.setSecondaryCalendarType=function(e){this.setProperty(\"secondaryCalendarType\",e);this._oFormatYearInSecType=g.getDateInstance({format:\"y\",calendarType:e});this._oFormatLongInSecType=g.getInstance({pattern:\"MMMM y\",calendarType:e});return this};m.prototype._getSecondaryCalendarType=function(){var e=this.getSecondaryCalendarType();if(e===this._getPrimaryCalendarType()){return undefined}return e};m.prototype.exit=function(){if(this._oItemNavigation){this.removeDelegate(this._oItemNavigation);this._oItemNavigation.destroy();delete this._oItemNavigation}if(this._sInvalidateMonths){clearTimeout(this._sInvalidateMonths)}if(this._invisibleDayHint){this._invisibleDayHint.destroy();this._invisibleDayHint=null}};m.prototype.onAfterRendering=function(){D.call(this);T.call(this)};m.prototype.onsapfocusleave=function(e){if(!e.relatedControlId||!u(this.getDomRef(),i.getElementById(e.relatedControlId).getFocusDomRef())){if(this._bMouseMove){w.call(this,true);I.call(this,this._getDate());this._bMoveChange=false;this._bMousedownChange=false;L.call(this)}if(this._bMousedownChange){this._bMousedownChange=false;L.call(this)}}};m.prototype.removeAllSelectedDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"selectedDates\");return e};m.prototype.destroySelectedDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"selectedDates\");return e};m.prototype.removeAllSpecialDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"specialDates\");return e};m.prototype.destroySpecialDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"specialDates\");return e};m.prototype.setDate=function(e){if(e){var t=l.fromLocalJSDate(e,this.getProperty(\"primaryCalendarType\"));this._oDate=t;C.call(this,t,false)}return this.setProperty(\"date\",e)};m.prototype._getDisplayedSecondaryDates=function(e,t){var a=this._getSecondaryCalendarType(),i,r,o;if(this._oDate){i=new l(this._oDate)}else{i=new l(l.fromLocalJSDate(d.getInstance()),this._getPrimaryCalendarType())}i.setYear(t);i.setMonth(e);i.setDate(1);r=new l(i,a);i.setDate(n._daysInMonth(i));o=new l(i,a);return{start:r,end:o}};m.prototype._getDate=function(){if(!this._oDate){this._oDate=l.fromLocalJSDate(d.getInstance(),this.getProperty(\"primaryCalendarType\"))}return this._oDate};m.prototype.setStartDate=function(e){n._checkJSDateObject(e);var t,a,i;a=e.getFullYear();n._checkYearInValidRange(a);t=l.fromLocalJSDate(e,this.getProperty(\"primaryCalendarType\"));this.setProperty(\"startDate\",e,true);this._oStartDate=t;this._oStartDate.setDate(1);if(this.getDomRef()){i=this._getDate().toLocalJSDate();this._bNoRangeCheck=true;this.displayDate(e);this._bNoRangeCheck=false;if(i&&this.checkDateFocusable(i)){this.setDate(i)}}return this};m.prototype._getStartDate=function(){if(!this._oStartDate){this._oStartDate=l.fromLocalJSDate(d.getInstance(),this.getProperty(\"primaryCalendarType\"));this._oStartDate.setDate(1)}return this._oStartDate};m.prototype.displayDate=function(e){C.call(this,l.fromLocalJSDate(e,this.getProperty(\"primaryCalendarType\")),true);return this};m.prototype._getLocale=function(){var t=this.getParent();if(t&&t.getLocale){return t.getLocale()}else if(!this._sLocale){this._sLocale=new p(e.getLanguageTag()).toString()}return this._sLocale};m.prototype._getLocaleData=function(){var e=this.getParent();if(e&&e._getLocaleData){return e._getLocaleData()}else if(!this._oLocaleData){var t=this._getLocale();var a=new p(t);this._oLocaleData=o.getInstance(a)}return this._oLocaleData};m.prototype._getFormatLong=function(){var e=this._getLocale();if(this._oFormatLong.oLocale.toString()!=e){var t=new p(e);this._oFormatLong=g.getInstance({style:\"long\",calendarType:this.getProperty(\"primaryCalendarType\")},t)}return this._oFormatLong};m.prototype.getIntervalSelection=function(){var e=this.getParent();if(e&&e.getIntervalSelection){return e.getIntervalSelection()}else{return this.getProperty(\"intervalSelection\")}};m.prototype.getSingleSelection=function(){var e=this.getParent();if(e&&e.getSingleSelection){return e.getSingleSelection()}else{return this.getProperty(\"singleSelection\")}};m.prototype.getSelectedDates=function(){var e=this.getParent();if(e&&e.getSelectedDates){return e.getSelectedDates()}else{return this.getAggregation(\"selectedDates\",[])}};m.prototype.getSpecialDates=function(){var e=this.getParent();if(e&&e.getSpecialDates){return e.getSpecialDates()}else{return this.getAggregation(\"specialDates\",[])}};m.prototype._getShowHeader=function(){var e=this.getParent();if(e&&e._getShowItemHeader){return e._getShowItemHeader()}else{return this.getProperty(\"showHeader\")}};m.prototype.getAriaLabelledBy=function(){var e=this.getParent();if(e&&e.getAriaLabelledBy){return e.getAriaLabelledBy()}else{return this.getAssociation(\"ariaLabelledBy\",[])}};m.prototype._setLegendControlOrigin=function(e){this._oLegendControlOrigin=e};m.prototype.getLegend=function(){var e=this.getParent();if(this._oLegendControlOrigin){return this._oLegendControlOrigin.getLegend()}if(e&&e.getLegend){return e.getLegend()}else{return this.getAssociation(\"legend\")}};m.prototype._setAriaRole=function(e){this._ariaRole=e;return this};m.prototype._getAriaRole=function(){return this._ariaRole?this._ariaRole:\"gridcell\"};m.prototype._getMonthDescription=function(){return this._fnInvisibleHintFactory().getId()};m.prototype._fnInvisibleHintFactory=function(){if(!this._invisibleDayHint){this._invisibleDayHint=new y({text:r.getResourceBundleFor(\"sap.m\").getText(\"SLIDETILE_ACTIVATE\")}).toStatic()}return this._invisibleDayHint};m.prototype._checkDateSelected=function(e){var t,a,i,r,o=0,s=0,h=0,g=this.getProperty(\"primaryCalendarType\"),p,c,u;n._checkCalendarDate(e);c=this.getSelectedDates();u=new l(e);u.setDate(1);r=u.toUTCJSDate().getTime();for(p=0;p<c.length;p++){t=c[p];a=t.getStartDate();o=0;if(a){a=l.fromLocalJSDate(a,g);a.setDate(1);o=a.toUTCJSDate().getTime()}i=t.getEndDate();s=0;if(i){i=l.fromLocalJSDate(i,g);i.setDate(1);s=i.toUTCJSDate().getTime()}if(r==o&&!i){h=1;break}else if(r==o&&i){h=2;if(i&&r==s){h=5}break}else if(i&&r==s){h=3;break}else if(i&&r>o&&r<s){h=4;break}if(this.getSingleSelection()){break}}return h};m.prototype._getDateType=function(e){n._checkCalendarDate(e);var t,a,i,r,o=0,s,h=0,g,p=this.getSpecialDates(),c=new l(e),u=this.getProperty(\"primaryCalendarType\");c.setDate(1);g=c.toUTCJSDate().getTime();for(i=0;i<p.length;i++){a=p[i];r=a.getStartDate();o=0;if(r){r=l.fromLocalJSDate(r,u);r.setDate(1);o=r.toUTCJSDate().getTime()}s=a.getEndDate();h=0;if(s){s=l.fromLocalJSDate(s,u);s.setDate(n._daysInMonth(s));h=s.toUTCJSDate().getTime()}if(g==o&&!s||g>=o&&g<=h){t={type:a.getType(),tooltip:a.getTooltip_AsString()};break}}return t};m.prototype._checkMonthEnabled=function(e){n._checkCalendarDate(e);var t=this.getParent();if(t&&t._oMinDate&&t._oMaxDate){if(n._isOutside(e,t._oMinDate,t._oMaxDate)){return false}}return true};m.prototype._handleMouseMove=function(e){if(!this.$().is(\":visible\")){w.call(this,true)}var t=jQuery(e.target);if(t.hasClass(\"sapUiCalItemText\")){t=t.parent()}if(t.hasClass(\"sapUiCalItem\")){var a=this._getDate();var i=l.fromLocalJSDate(this._oFormatYyyymm.parse(t.attr(\"data-sap-month\"),this.getProperty(\"primaryCalendarType\")));i.setDate(1);if(!i.isSame(a)){this.setDate(i.toLocalJSDate());I.call(this,i,true);this._bMoveChange=true}}};m.prototype.onmouseup=function(e){if(this._bMouseMove){w.call(this,true);var t=this._getDate();var a=this._oItemNavigation.getItemDomRefs();for(var i=0;i<a.length;i++){var r=jQuery(a[i]);if(r.attr(\"data-sap-month\")==this._oFormatYyyymm.format(t.toUTCJSDate(),true)){r.trigger(\"focus\");break}}if(this._bMoveChange){var o=jQuery(e.target);if(o.hasClass(\"sapUiCalItemText\")){o=o.parent()}if(o.hasClass(\"sapUiCalItem\")){t=l.fromLocalJSDate(this._oFormatYyyymm.parse(o.attr(\"data-sap-month\")));t.setDate(1)}I.call(this,t);this._bMoveChange=false;this._bMousedownChange=false;L.call(this)}}if(this._bMousedownChange){this._bMousedownChange=false;L.call(this)}};m.prototype.onsapselect=function(e){var t=I.call(this,this._getDate());if(t){L.call(this)}e.stopPropagation();e.preventDefault()};m.prototype.onsapselectmodifiers=function(e){this.onsapselect(e)};m.prototype.onsappageupmodifiers=function(e){var t=new l(this._getDate());var a=t.getYear();if(e.metaKey||e.ctrlKey){t.setYear(a-10)}else{var i=this.getMonths();if(i<=12){t.setYear(a-1)}else{t.setMonth(t.getMonth()-i)}}this.fireFocus({date:t.toLocalJSDate(),notVisible:true});e.preventDefault()};m.prototype.onsappagedownmodifiers=function(e){var t=new l(this._getDate());var a=t.getYear();if(e.metaKey||e.ctrlKey){t.setYear(a+10)}else{var i=this.getMonths();if(i<=12){t.setYear(a+1)}else{t.setMonth(t.getMonth()+i)}}this.fireFocus({date:t.toLocalJSDate(),notVisible:true});e.preventDefault()};m.prototype.onThemeChanged=function(){if(this._bNoThemeChange){return}this._bNamesLengthChecked=undefined;this._bLongWeekDays=undefined;var e=this._getLocaleData();var t=e.getMonthsStandAlone(\"wide\",this.getProperty(\"primaryCalendarType\"));var a=this.$(\"months\").children();var i=this._getStartDate().getMonth();for(var r=0;r<a.length;r++){var o=jQuery(jQuery(a[r]).children(\".sapUiCalItemText\"));o.text(t[(r+i)%12])}T.call(this)};m.prototype.checkDateFocusable=function(e){n._checkJSDateObject(e);if(this._bNoRangeCheck){return false}var t=this._getStartDate();var a=new l(t);a.setDate(1);a.setMonth(a.getMonth()+this.getMonths());var i=l.fromLocalJSDate(e,this.getProperty(\"primaryCalendarType\"));return i.isSameOrAfter(t)&&i.isBefore(a)};m.prototype.applyFocusInfo=function(e){this._oItemNavigation.focusItem(this._oItemNavigation.getFocusedIndex());return this};function D(){var e=this._getDate();var t=this._oFormatYyyymm.format(e.toUTCJSDate(),true);var a=0;var i=this.$(\"months\").get(0);var r=this.$(\"months\").children(\".sapUiCalItem\");for(var o=0;o<r.length;o++){var n=jQuery(r[o]);if(n.attr(\"data-sap-month\")===t){a=o;break}}if(!this._oItemNavigation){this._oItemNavigation=new s;this._oItemNavigation.attachEvent(s.Events.AfterFocus,v,this);this._oItemNavigation.attachEvent(s.Events.FocusAgain,_,this);this._oItemNavigation.attachEvent(s.Events.BorderReached,S,this);this.addDelegate(this._oItemNavigation);this._oItemNavigation.setDisabledModifiers({sapnext:[\"alt\"],sapprevious:[\"alt\"],saphome:[\"alt\"],sapend:[\"alt\"]});this._oItemNavigation.setCycling(false);this._oItemNavigation.setColumns(1,true)}this._oItemNavigation.setRootDomRef(i);this._oItemNavigation.setItemDomRefs(r);this._oItemNavigation.setFocusedIndex(a);this._oItemNavigation.setPageSize(r.length)}function v(e){var t=e.getParameter(\"index\");var a=e.getParameter(\"event\");if(!a){return}var i=this._getDate();var r=new l(i);var o=this._oItemNavigation.getItemDomRefs();var s=jQuery(o[t]);r=l.fromLocalJSDate(this._oFormatYyyymm.parse(s.attr(\"data-sap-month\")));r.setDate(1);this.setDate(r.toLocalJSDate());this.fireFocus({date:r.toLocalJSDate(),notVisible:false});if(a.type==\"mousedown\"){b.call(this,a,r,t)}}function _(e){var t=e.getParameter(\"index\");var a=e.getParameter(\"event\");if(!a){return}if(a.type==\"mousedown\"){var i=this._getDate();b.call(this,a,i,t)}}function S(e){var t=e.getParameter(\"event\");var a=this.getMonths();var i=this._getDate();var r=new l(i);if(t.type){switch(t.type){case\"sapnext\":case\"sapnextmodifiers\":r.setMonth(r.getMonth()+1);break;case\"sapprevious\":case\"sappreviousmodifiers\":r.setMonth(r.getMonth()-1);break;case\"sappagedown\":r.setMonth(r.getMonth()+a);break;case\"sappageup\":r.setMonth(r.getMonth()-a);break;default:break}this.fireFocus({date:r.toLocalJSDate(),notVisible:true})}}function b(e,t,a){if(e.button){return}var i=I.call(this,t);if(i){this._bMousedownChange=true}if(this._bMouseMove){w.call(this,true);this._bMoveChange=false}else if(i&&this.getIntervalSelection()&&this.$().is(\":visible\")){P.call(this,true)}e.preventDefault();e.setMark(\"cancelAutoClose\")}function C(e,t){n._checkCalendarDate(e);var a=e.getYear();n._checkYearInValidRange(a);var i=true;if(!this.getDate()||!e.isSame(l.fromLocalJSDate(this.getDate(),this.getProperty(\"primaryCalendarType\")))){var r=new l(e);r.setDate(1);i=this.checkDateFocusable(e.toLocalJSDate());if(!this._bNoRangeCheck&&!i){throw new Error(\"Date must be in visible date range; \"+this)}this.setProperty(\"date\",e.toLocalJSDate());this._oDate=r}if(this.getDomRef()){if(i){M.call(this,this._oDate,t)}}}function M(e,t){var a=this._oFormatYyyymm.format(e.toUTCJSDate(),true);var i=this._oItemNavigation.getItemDomRefs();var r;for(var o=0;o<i.length;o++){r=jQuery(i[o]);if(r.attr(\"data-sap-month\")==a){if(document.activeElement!=i[o]){if(t){this._oItemNavigation.setFocusedIndex(o)}else{this._oItemNavigation.focusItem(o)}}break}}}function I(e,t){if(!this._checkMonthEnabled(e)){return false}var a=this.getSelectedDates();var i;var r=0;var o=this.getParent();var s=this;var n;if(o&&o.getSelectedDates){s=o}if(this.getSingleSelection()){if(a.length>0){i=a[0];n=i.getStartDate();if(n){n=l.fromLocalJSDate(n,this.getProperty(\"primaryCalendarType\"));n.setDate(1)}}else{i=new f;s.addAggregation(\"selectedDates\",i)}if(this.getIntervalSelection()&&(!i.getEndDate()||t)&&n){var h;if(e.isBefore(n)){h=n;n=e;if(!t){i.setProperty(\"startDate\",n.toLocalJSDate());i.setProperty(\"endDate\",h.toLocalJSDate())}}else if(e.isSameOrAfter(n)){h=e;if(!t){i.setProperty(\"endDate\",h.toLocalJSDate())}}}else{i.setProperty(\"startDate\",e.toLocalJSDate());i.setProperty(\"endDate\",undefined)}}else{if(this.getIntervalSelection()){throw new Error(\"Calender don't support multiple interval selection\")}else{var g=this._checkDateSelected(e);if(g>0){for(r=0;r<a.length;r++){n=a[r].getStartDate();if(n){n=l.fromLocalJSDate(n,this.getProperty(\"primaryCalendarType\"));n.setDate(1);if(e.isSame(n)){s.removeAggregation(\"selectedDates\",r);break}}}}else{i=new f({startDate:e.toLocalJSDate()});s.addAggregation(\"selectedDates\",i)}}}return true}function L(){if(this._bMouseMove){w.call(this,true)}this.fireSelect()}function T(){if(!this._bNamesLengthChecked){var e=0;var t=this.$(\"months\").children();var a=false;var i=this.getMonths();var r=Math.ceil(12/i);var o=0;var s=this._getLocaleData();var n=s.getMonthsStandAlone(\"wide\",this.getProperty(\"primaryCalendarType\"));var l;for(var h=0;h<r;h++){if(i<12){for(e=0;e<t.length;e++){l=jQuery(jQuery(t[e]).children(\".sapUiCalItemText\"));l.text(n[(e+o)%12])}o=o+i;if(o>11){o=11}}for(e=0;e<t.length;e++){var g=t[e];if(Math.abs(g.clientWidth-g.scrollWidth)>1){a=true;break}}if(a){break}}if(i<12){o=this._getStartDate().getMonth();for(e=0;e<t.length;e++){l=jQuery(jQuery(t[e]).children(\".sapUiCalItemText\"));l.text(n[(e+o)%12])}}if(a){this._bLongMonth=false;var p=s.getMonthsStandAlone(\"abbreviated\",this.getProperty(\"primaryCalendarType\"));o=this._getStartDate().getMonth();for(e=0;e<t.length;e++){l=jQuery(jQuery(t[e]).children(\".sapUiCalItemText\"));l.text(p[(e+o)%12])}}else{this._bLongMonth=true}this._bNamesLengthChecked=true}}function P(){jQuery(window.document).on(\"mousemove\",this._mouseMoveProxy);this._bMouseMove=true}function w(){jQuery(window.document).off(\"mousemove\",this._mouseMoveProxy);this._bMouseMove=undefined}return m});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/MonthsRowRenderer\", [\"sap/ui/core/Element\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/CalendarLegendRenderer\",\"sap/ui/unified/library\",\"sap/base/Log\",\"sap/ui/core/date/UI5Date\"],function(e,t,a,n,r,o,s){\"use strict\";var l=r.CalendarDayType;var i={apiVersion:2};i.render=function(e,t){var a=t._getStartDate();var n=t.getTooltip_AsString();var r=t.getId();e.openStart(\"div\",t);e.class(\"sapUiCalMonthsRow\");e.class(\"sapUiCalRow\");if(n){e.attr(\"title\",n)}e.accessibilityState(t,{role:\"grid\",readonly:\"true\",multiselectable:!t.getSingleSelection()||t.getIntervalSelection()});e.openEnd();if(t.getIntervalSelection()){e.openStart(\"span\",r+\"-Start\");e.style(\"display\",\"none\");e.openEnd();e.text(t._rb.getText(\"CALENDAR_START_MONTH\"));e.close(\"span\");e.openStart(\"span\",r+\"-End\");e.style(\"display\",\"none\");e.openEnd();e.text(t._rb.getText(\"CALENDAR_END_MONTH\"));e.close(\"span\")}this.renderRow(e,t,a);e.close(\"div\")};i.renderRow=function(e,t,a){var n=t.getId();this.renderHeader(e,t,a);e.openStart(\"div\",n+\"-months\");e.class(\"sapUiCalItems\");e.attr(\"role\",\"row\");e.openEnd();this.renderMonths(e,t,a);e.close(\"div\")};i.renderHeader=function(e,a,n){t._checkCalendarDate(n);if(a._getShowHeader()){var r=a._getLocaleData();var o=a.getId();e.openStart(\"div\",o+\"-Head\");e.openEnd();this.renderHeaderLine(e,a,r,n);e.close(\"div\")}};i.renderHeaderLine=function(e,n,r,o){t._checkCalendarDate(o);var s=n.getId();var l=n.getMonths();var i=new a(o);var d=\"\";var c=0;var p=[];var g=0;for(g=0;g<l;g++){c=i.getYear();if(p.length>0&&p[p.length-1].iYear==c){p[p.length-1].iMonths++}else{p.push({iYear:c,iMonths:1})}i.setMonth(i.getMonth()+1)}for(g=0;g<p.length;g++){var h=p[g];d=100/l*h.iMonths+\"%\";e.openStart(\"div\",s+\"-Head\"+g);e.class(\"sapUiCalHeadText\");e.style(\"width\",d);e.openEnd();e.text(h.iYear);e.close(\"div\")}};i.renderMonths=function(e,t,n){var r=this.getHelper(t,n);var o=t.getMonths();var s=100/o+\"%\";var l=new a(n);l.setDate(1);for(var i=0;i<o;i++){this.renderMonth(e,t,l,r,s);l.setMonth(l.getMonth()+1)}};i.getHelper=function(n,r){t._checkCalendarDate(r);var l={};var i=n.getProperty(\"primaryCalendarType\");l.sLocale=n._getLocale();l.oLocaleData=n._getLocaleData();l.oToday=a.fromLocalJSDate(s.getInstance(),i);l.sCurrentMonth=n._rb.getText(\"CALENDAR_CURRENT_MONTH\");l.sId=n.getId();l.oFormatLong=n._getFormatLong();if(n._bLongMonth||!n._bNamesLengthChecked){l.aMonthNames=l.oLocaleData.getMonthsStandAlone(\"wide\",i)}else{l.aMonthNames=l.oLocaleData.getMonthsStandAlone(\"abbreviated\",i);l.aMonthNamesWide=l.oLocaleData.getMonthsStandAlone(\"wide\",i)}var d=n.getLegend();if(d){var c=e.getElementById(d);if(c){if(!(c instanceof sap.ui.unified.CalendarLegend)){throw new Error(c+\" is not an sap.ui.unified.CalendarLegend. \"+n)}l.oLegend=c}else{o.warning(\"CalendarLegend \"+d+\" does not exist!\",n)}}l.convertTextInfoToSecondaryType=function(e){var t=n._getSecondaryCalendarType(),a=l.oLocaleData.getMonthsStandAlone(\"abbreviated\",t),r=n._oFormatYearInSecType,o=n._getDisplayedSecondaryDates(e.getMonth(),e.getYear()),s,i,d;if(o.start.getMonth()===o.end.getMonth()){s=a[o.start.getMonth()]}else{d=n._getLocaleData().getIntervalPattern();s=d.replace(/\\{0\\}/,a[o.start.getMonth()]).replace(/\\{1\\}/,a[o.end.getMonth()])}if(o.start.getYear()===o.end.getYear()){i=r.format(o.start.toUTCJSDate(),true)}else{i=d.replace(/\\{0\\}/,r.format(o.start.toUTCJSDate(),true)).replace(/\\{1\\}/,r.format(o.end.toUTCJSDate(),true))}return{sMonthInfo:s,sYearInfo:i}};return l};i.renderMonth=function(e,a,r,o,s){t._checkCalendarDate(r);var i=a._getAriaRole();var d=i===\"gridcell\"&&a.getProperty(\"selectableAccessibilitySemantics\");var c=!!a._getSecondaryCalendarType(),p;if(c){p=o.convertTextInfoToSecondaryType(r)}var g={role:a._getAriaRole(),selected:d?false:null,label:\"\",describedby:d?a._getMonthDescription():null};var h=a._oFormatYyyymm.format(r.toUTCJSDate(),true);var f=a._checkDateSelected(r);var v=a._getDateType(r);var y=a._checkMonthEnabled(r);e.openStart(\"div\",o.sId+\"-\"+h);e.class(\"sapUiCalItem\");if(s){e.style(\"width\",s)}if(t._isSameMonthAndYear(r,o.oToday)){e.class(\"sapUiCalItemNow\");g[\"label\"]=o.sCurrentMonth+\" \"}if(f>0){e.class(\"sapUiCalItemSel\");if(d){g[\"selected\"]=true}}if(f==2){e.class(\"sapUiCalItemSelStart\");g[\"describedby\"]=g[\"describedby\"]+\" \"+o.sId+\"-Start\"}else if(f==3){e.class(\"sapUiCalItemSelEnd\");g[\"describedby\"]=g[\"describedby\"]+\" \"+o.sId+\"-End\"}else if(f==4){e.class(\"sapUiCalItemSelBetween\")}else if(f==5){e.class(\"sapUiCalItemSelStart\");e.class(\"sapUiCalItemSelEnd\");g[\"describedby\"]=g[\"describedby\"]+\" \"+o.sId+\"-Start\";g[\"describedby\"]=g[\"describedby\"]+\" \"+o.sId+\"-End\"}if(v&&v.type!=l.None){e.class(\"sapUiCalItem\"+v.type);if(v.tooltip){e.attr(\"title\",v.tooltip)}}if(!y){e.class(\"sapUiCalItemDsbl\");g[\"disabled\"]=true}e.attr(\"tabindex\",\"-1\");e.attr(\"data-sap-month\",h);g[\"label\"]=g[\"label\"]+o.oFormatLong.format(r.toUTCJSDate(),true);if(c){g[\"label\"]=g[\"label\"]+\", \"+p.sMonthInfo+\" \"+p.sYearInfo}if(v&&v.type!=l.None){n.addCalendarTypeAccInfo(g,v.type,o.oLegend)}e.accessibilityState(null,g);if(c){e.class(\"sapUiCalItemWithSecondaryType\")}e.openEnd();e.openStart(\"span\");e.class(\"sapUiCalItemText\");e.openEnd();e.text(o.aMonthNames[r.getMonth()]);e.close(\"span\");if(c){e.openStart(\"span\");e.class(\"sapUiCalItemAddText\");e.openEnd();e.text(p.sMonthInfo);e.close(\"span\")}e.close(\"div\")};return i},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/OneMonthDatesRow\", [\"sap/ui/unified/calendar/DatesRow\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/library\",\"./OneMonthDatesRowRenderer\"],function(t,e,a,i,o){\"use strict\";var s=t.extend(\"sap.ui.unified.calendar.OneMonthDatesRow\",{metadata:{library:\"sap.ui.unified\"},renderer:o});s.prototype.init=function(){t.prototype.init.apply(this,arguments);this.iMode=2};s.prototype.setMode=function(t){var e=this.getSelectedDates(),a,i=this.iMode!==t;this.iMode=t;if(i&&e.length){if(this.iMode<2){a=this.getStartDate()}e[0].setProperty(\"startDate\",a)}this.iMode<2?this._bAlwaysShowSpecialDates=false:this._bAlwaysShowSpecialDates=true;return this};s.prototype.getMode=function(){return this.iMode};s.prototype.selectDate=function(t){if(this.iMode<2&&this.getSelectedDates().length){this.getSelectedDates()[0].setStartDate(t)}return this};s.prototype.setDate=function(e){if(!this._bNoRangeCheck&&!this.checkDateFocusable(e)){return this}t.prototype.setDate.apply(this,arguments);return this};s.prototype.getDays=function(){if(this.iMode===2){return 31}else{return e._daysInMonth(a.fromLocalJSDate(this.getStartDate(),this.getPrimaryCalendarType()))}};s.prototype.displayDate=function(e){if(!this._bNoRangeCheck&&!this.checkDateFocusable(e)){return this}t.prototype.displayDate.apply(this,arguments);return this};s.prototype.onsaphome=function(t){var e=a.fromLocalJSDate(this.getStartDate());r(t);this.setDate(e.toLocalJSDate());this._focusDate(e);this.fireFocus({date:e.toLocalJSDate(),otherMonth:false})};s.prototype.onsapend=function(t){var i=this.getStartDate(),o;o=a.fromLocalJSDate(i);o.setDate(e._daysInMonth(o));r(t);this.setDate(o.toLocalJSDate());this._focusDate(o);this.fireFocus({date:o.toLocalJSDate(),otherMonth:false})};function r(t){t.stopPropagation();t.preventDefault();t.stopImmediatePropagation(true)}return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/OneMonthDatesRowRenderer\", [\"sap/ui/core/Renderer\",\"./MonthRenderer\",\"./DatesRowRenderer\"],function(e,r,a){\"use strict\";var n=e.extend(a);n.apiVersion=2;[\"getClass\",\"renderMonth\",\"renderDays\",\"renderHeader\"].forEach(function(e){n[e]=function(n,s){if(s.iMode<2){return r[e].apply(r,arguments)}else{if(e===\"getClass\"){var t=[\"sapUiCalDatesRow\",\"sapUiCalRow\",\"sapUiCalOneMonthDatesRow\"];if(!s.getShowDayNamesLine()){t.push(\"sapUiCalNoNameLine\")}return t}return a[e].apply(a,arguments)}}});return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/RecurrenceUtils\", [\"sap/ui/core/date/UI5Date\"],function(t){\"use strict\";var e={};const n={WORKING_PERIOD:\"working\",NON_WORKING_PERIOD:\"non-working\"};e.hasOccurrenceOnDate=function(e){if(this.getRecurrenceType()!==\"Daily\"){return false}const n=t.getInstance(this.getStartDate());const s=t.getInstance(e);n.setHours(0,0,0,0);s.setHours(0,0,0,0);const r=24*60*60*1e3;const u=s>=n&&s<=this.getRecurrenceEndDate();const o=Math.floor((s.getTime()-n.getTime())/r)%this.getRecurrencePattern()===0;return u&&o};e.calculateDurationInCell=function(t,e,n){const s=t.getStartDate();const r=60;let u=t.getDurationInMinutes();if(s.getHours()<e.getHours()){const t=e.getHours()*r+e.getMinutes();const n=s.getHours()*r+s.getMinutes();u-=t-n}else if(s.getHours()===e.getHours()&&s.getMinutes()>0){u=t.getDurationInMinutes()+n>60?r-n:t.getDurationInMinutes()}else if(s.getHours()===e.getHours()&&t.getEndDate().getHours()<=e.getHours()+1){u=t.getDurationInMinutes()}else{u=r-n}return u};e.getWorkingAndNonWorkingSegments=function(t,e){const s=[];const r=60;let u=0;let o=0;while(u<r){const i=e[o];const g=i?.getStartDate();if(!i){const t=r-u;s.push({type:n.WORKING_PERIOD,duration:t});return s}let c=this.calculateDurationInCell(i,t,u);const a=g.getMinutes();if(c>r&&g.getHours()<t.getHours()){s.push({type:n.NON_WORKING_PERIOD,duration:r});return s}if(a===u||g.getHours()<t.getHours()){s.push({type:n.NON_WORKING_PERIOD,duration:c});o++}else{c=a-u;s.push({type:n.WORKING_PERIOD,duration:c})}u+=c}return s};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/TimesRow\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/core/LocaleData\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/core/date/UniversalDate\",\"sap/ui/unified/library\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/Locale\",\"./TimesRowRenderer\",\"sap/ui/dom/containsOrEquals\",\"sap/base/util/deepEqual\",\"sap/ui/thirdparty/jquery\",\"sap/ui/unified/DateRange\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/InvisibleText\"],function(e,t,a,i,r,s,n,o,l,g,u,h,c,p,f,jQuery,d,v,m){\"use strict\";var _=a.extend(\"sap.ui.unified.calendar.TimesRow\",{metadata:{library:\"sap.ui.unified\",properties:{date:{type:\"object\",group:\"Data\"},startDate:{type:\"object\",group:\"Data\"},items:{type:\"int\",group:\"Appearance\",defaultValue:12},intervalMinutes:{type:\"int\",group:\"Appearance\",defaultValue:60},intervalSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:false},singleSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:true},showHeader:{type:\"boolean\",group:\"Appearance\",defaultValue:false},primaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},secondaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},selectableAccessibilitySemantics:{type:\"boolean\",group:\"Behavior\",defaultValue:true,visibility:\"hidden\"}},aggregations:{selectedDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"selectedDate\"},specialDates:{type:\"sap.ui.unified.DateTypeRange\",multiple:true,singularName:\"specialDate\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"},legend:{type:\"sap.ui.unified.CalendarLegend\",multiple:false}},events:{select:{},focus:{parameters:{date:{type:\"object\"},notVisible:{type:\"boolean\"}}}}},renderer:c});_.prototype.init=function(){this._oFormatYyyyMMddHHmm=u.getInstance({pattern:\"yyyyMMddHHmm\",calendarType:this.getProperty(\"primaryCalendarType\")});this._oFormatLong=u.getDateTimeInstance({style:\"long/short\",calendarType:this.getProperty(\"primaryCalendarType\")});this._oFormatDate=u.getDateInstance({style:\"medium\",calendarType:this.getProperty(\"primaryCalendarType\")});this._mouseMoveProxy=jQuery.proxy(this._handleMouseMove,this);this._rb=r.getResourceBundleFor(\"sap.ui.unified\")};_.prototype.exit=function(){if(this._oItemNavigation){this.removeDelegate(this._oItemNavigation);this._oItemNavigation.destroy();delete this._oItemNavigation}if(this._invisibleDayHint){this._invisibleDayHint.destroy();this._invisibleDayHint=null}};_.prototype.onAfterRendering=function(){y.call(this)};_.prototype.onsapfocusleave=function(e){if(!e.relatedControlId||!p(this.getDomRef(),i.getElementById(e.relatedControlId).getFocusDomRef())){if(this._bMouseMove){L.call(this,true);S.call(this,this._getDate());this._bMoveChange=false;this._bMousedownChange=false;U.call(this)}if(this._bMousedownChange){this._bMousedownChange=false;U.call(this)}}};_.prototype.removeAllSelectedDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"selectedDates\");return e};_.prototype.destroySelectedDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"selectedDates\");return e};_.prototype.removeAllSpecialDates=function(){this._bDateRangeChanged=true;var e=this.removeAllAggregation(\"specialDates\");return e};_.prototype.destroySpecialDates=function(){this._bDateRangeChanged=true;var e=this.destroyAggregation(\"specialDates\");return e};_.prototype.setIntervalMinutes=function(e){if(e>=720){throw new Error(\"Only intervals < 720 minutes are allowed; \"+this)}if(1440%e>0){throw new Error(\"A day must be divisible by the interval size; \"+this)}this.setProperty(\"intervalMinutes\",e,false);this._oFormatTime=undefined;return this};_.prototype.setDate=function(e){I.call(this,e,false);return this.setProperty(\"date\",e)};_.prototype._getDate=function(){if(!this._oUTCDate){this._oUTCDate=o._createUniversalUTCDate(v.getInstance(),undefined,true)}return this._oUTCDate};_.prototype.setStartDate=function(e){o._checkJSDateObject(e);var t=e.getFullYear();o._checkYearInValidRange(t);var a=o._createUniversalUTCDate(e,undefined,true);this.setProperty(\"startDate\",e);this._oUTCStartDate=this._getIntervalStart(a);if(this.getDomRef()){var i=o._createLocalDate(this._getDate(),true);this._bNoRangeCheck=true;this.displayDate(e);this._bNoRangeCheck=false;if(i&&this.checkDateFocusable(i)){this.displayDate(i)}}return this};_.prototype._getStartDate=function(){if(!this._oUTCStartDate){this._oUTCStartDate=o._createUniversalUTCDate(v.getInstance(),undefined,true);this._oUTCStartDate=this._getIntervalStart(this._oUTCStartDate)}return this._oUTCStartDate};_.prototype.displayDate=function(e){I.call(this,e,true);return this};_.prototype._getLocale=function(){var t=this.getParent();if(t&&t.getLocale){return t.getLocale()}else if(!this._sLocale){this._sLocale=new h(e.getLanguageTag()).toString()}return this._sLocale};_.prototype._getLocaleData=function(){var e=this.getParent();if(e&&e._getLocaleData){return e._getLocaleData()}else if(!this._oLocaleData){var t=this._getLocale();var a=new h(t);this._oLocaleData=s.getInstance(a)}return this._oLocaleData};_.prototype._getFormatLong=function(){var e=this._getLocale();if(this._oFormatLong.oLocale.toString()!=e){var t=new h(e);this._oFormatLong=u.getDateTimeInstance({style:\"long/short\",calendarType:this.getProperty(\"primaryCalendarType\")},t)}return this._oFormatLong};_.prototype._getFormatTime=function(){var e=this._getLocale();if(!this._oFormatTime||this._oFormatTime.oLocale.toString()!=e){var t=new h(e);var a=this.getIntervalMinutes();var i=this._getLocaleData();var r;var s=i.getTimePattern(\"short\");this._oFormatTimeAmPm=undefined;if(a%60==0){r=F(s);if(s.search(\"a\")>=0){this._oFormatTimeAmPm=u.getTimeInstance({pattern:\"a\",calendarType:this.getProperty(\"primaryCalendarType\")},t)}}else{r=s;r=r.replace(\"HH\",\"H\");r=r.replace(\"hh\",\"h\");if(r.search(\"a\")>=0){this._oFormatTimeAmPm=u.getTimeInstance({pattern:\"a\",calendarType:this.getProperty(\"primaryCalendarType\")},t);r=r.replace(\"a\",\"\").trim()}}this._oFormatTime=u.getTimeInstance({pattern:r,calendarType:this.getProperty(\"primaryCalendarType\")},t)}return this._oFormatTime};_.prototype._getFormatDate=function(){var e=this._getLocale();if(this._oFormatDate.oLocale.toString()!=e){var t=new h(e);this._oFormatDate=u.getDateInstance({style:\"medium\",calendarType:this.getProperty(\"primaryCalendarType\")},t)}return this._oFormatDate};_.prototype.getIntervalSelection=function(){var e=this.getParent();if(e&&e.getIntervalSelection){return e.getIntervalSelection()}else{return this.getProperty(\"intervalSelection\")}};_.prototype.getSingleSelection=function(){var e=this.getParent();if(e&&e.getSingleSelection){return e.getSingleSelection()}else{return this.getProperty(\"singleSelection\")}};_.prototype.getSelectedDates=function(){var e=this.getParent();if(e&&e.getSelectedDates){return e.getSelectedDates()}else{return this.getAggregation(\"selectedDates\",[])}};_.prototype.getSpecialDates=function(){var e=this.getParent();if(e&&e.getSpecialDates){return e.getSpecialDates()}else{return this.getAggregation(\"specialDates\",[])}};_.prototype._getShowHeader=function(){var e=this.getParent();if(e&&e._getShowItemHeader){return e._getShowItemHeader()}else{return this.getProperty(\"showHeader\")}};_.prototype.getIntervalMinutes=function(){var e=this.getParent();if(e&&e.getIntervalMinutes){return e.getIntervalMinutes()}else{return this.getProperty(\"intervalMinutes\")}};_.prototype.getAriaLabelledBy=function(){var e=this.getParent();if(e&&e.getAriaLabelledBy){return e.getAriaLabelledBy()}else{return this.getAssociation(\"ariaLabelledBy\",[])}};_.prototype._setLegendControlOrigin=function(e){this._oLegendControlOrigin=e};_.prototype.getLegend=function(){var e=this.getParent();if(this._oLegendControlOrigin){return this._oLegendControlOrigin.getLegend()}if(e&&e.getLegend){return e.getLegend()}else{return this.getAssociation(\"legend\")}};_.prototype._checkDateSelected=function(e){if(!(e instanceof l)){throw new Error(\"Date must be a UniversalDate object \"+this)}var t=0;var a=this.getSelectedDates();var i=new l(e.getTime());i=this._getIntervalStart(i);var r=i.getTime();for(var s=0;s<a.length;s++){var n=a[s];var g=n.getStartDate();var u=0;if(g){g=o._createUniversalUTCDate(g,undefined,true);g=this._getIntervalStart(g);u=g.getTime()}var h=n.getEndDate();var c=0;if(h){h=o._createUniversalUTCDate(h,undefined,true);h=this._getIntervalStart(h);c=h.getTime()}if(r==u&&!h){t=1;break}else if(r==u&&h){t=2;if(h&&r==c){t=5}break}else if(h&&r==c){t=3;break}else if(h&&r>u&&r<c){t=4;break}if(this.getSingleSelection()){break}}return t};_.prototype._getDateType=function(e){if(!(e instanceof l)){throw new Error(\"Date must be a UniversalDate object \"+this)}var t;var a=this.getSpecialDates();var i=new l(e.getTime());i=this._getIntervalStart(i);var r=i.getTime();for(var s=0;s<a.length;s++){var n=a[s];var g=n.getStartDate();var u=0;if(g){g=o._createUniversalUTCDate(g,undefined,true);g=this._getIntervalStart(g);u=g.getTime()}var h=n.getEndDate();var c=0;if(h){h=o._createUniversalUTCDate(h,undefined,true);h=this._getIntervalStart(h);h.setUTCMinutes(h.getUTCMinutes()+this.getIntervalMinutes()-1);c=h.getTime()}else if(g.getUTCHours()==0&&g.getUTCMinutes()==0&&g.getUTCSeconds()==0&&g.getUTCMilliseconds()==0){h=new l(g.getTime());h.setUTCDate(h.getUTCDate()+1);c=h.getTime()}if(r==u&&!h||r>=u&&r<=c){t={type:n.getType(),tooltip:n.getTooltip_AsString(),color:n.getColor()};break}}return t};_.prototype._checkTimeEnabled=function(e){if(!(e instanceof l)){throw new Error(\"Date must be a UniversalDate object \"+this)}var t=e.getTime();var a=this.getParent();if(a&&a._oMinDate&&a._oMaxDate){if(t<a._oMinDate.getTime()||t>a._oMaxDate.getTime()){return false}}return true};_.prototype._handleMouseMove=function(e){if(!this.$().is(\":visible\")){L.call(this,true)}var t=jQuery(e.target);if(t.hasClass(\"sapUiCalItemText\")){t=t.parent()}if(t.hasClass(\"sapUiCalItem\")){var a=this._getDate();var i=new l(this._oFormatYyyyMMddHHmm.parse(t.attr(\"data-sap-time\"),true).getTime());if(i.getTime()!=a.getTime()){this._oUTCDate=i;S.call(this,i,true);this._bMoveChange=true}}};_.prototype.onmouseup=function(e){if(this._bMouseMove){L.call(this,true);var t=this._getDate();var a=this._oItemNavigation.getItemDomRefs();for(var i=0;i<a.length;i++){var r=jQuery(a[i]);if(r.attr(\"data-sap-time\")==this._oFormatYyyyMMddHHmm.format(t.getJSDate(),true)){r.trigger(\"focus\");break}}if(this._bMoveChange){var s=jQuery(e.target);if(s.hasClass(\"sapUiCalItemText\")){s=s.parent()}if(s.hasClass(\"sapUiCalItem\")){t=new l(this._oFormatYyyyMMddHHmm.parse(s.attr(\"data-sap-time\"),true).getTime())}S.call(this,t);this._bMoveChange=false;this._bMousedownChange=false;U.call(this)}}if(this._bMousedownChange){this._bMousedownChange=false;U.call(this)}};_.prototype.onsapselect=function(e){var t=S.call(this,this._getDate());if(t){U.call(this)}e.stopPropagation();e.preventDefault()};_.prototype.onsapselectmodifiers=function(e){this.onsapselect(e)};_.prototype.onsappageupmodifiers=function(e){var t=new l(this._getDate().getTime());var a=t.getUTCDate();if(e.metaKey||e.ctrlKey){t.setUTCDate(a-7)}else{t.setUTCDate(a-1)}this.fireFocus({date:o._createLocalDate(t,true),notVisible:true});e.preventDefault()};_.prototype.onsappagedownmodifiers=function(e){var t=new l(this._getDate().getTime());var a=t.getUTCDate();if(e.metaKey||e.ctrlKey){t.setUTCDate(a+7)}else{t.setUTCDate(a+1)}this.fireFocus({date:o._createLocalDate(t,true),notVisible:true});e.preventDefault()};_.prototype.checkDateFocusable=function(e){o._checkJSDateObject(e);if(this._bNoRangeCheck){return false}var t=this._getStartDate();var a=new l(t.getTime());a.setUTCMinutes(a.getUTCMinutes()+this.getItems()*this.getIntervalMinutes());var i=o._createUniversalUTCDate(e,undefined,true);if(i.getTime()>=t.getTime()&&i.getTime()<a.getTime()){return true}else{return false}};_.prototype.applyFocusInfo=function(e){this._oItemNavigation.focusItem(this._oItemNavigation.getFocusedIndex());return this};_.prototype._getIntervalStart=function(e){var t=e.getTime();var a=new l(e.getTime());a.setUTCHours(0);a.setUTCMinutes(0);a.setUTCSeconds(0);a.setUTCMilliseconds(0);var i=this.getIntervalMinutes();while(a.getTime()<=t){a.setUTCMinutes(a.getUTCMinutes()+i)}var r=new l(a.getTime());r.setUTCMinutes(r.getUTCMinutes()-i);return r};_.prototype._setAriaRole=function(e){this._ariaRole=e;return this};_.prototype._getAriaRole=function(){return this._ariaRole?this._ariaRole:\"gridcell\"};_.prototype._getTimeDescription=function(){return this._fnInvisibleHintFactory().getId()};_.prototype._fnInvisibleHintFactory=function(){if(!this._invisibleDayHint){this._invisibleDayHint=new m({text:r.getResourceBundleFor(\"sap.m\").getText(\"SLIDETILE_ACTIVATE\")}).toStatic()}return this._invisibleDayHint};function y(){var e=this._getDate();var t=this._oFormatYyyyMMddHHmm.format(e.getJSDate(),true);var a=0;var i=this.$(\"times\").get(0);var r=this.$(\"times\").children(\".sapUiCalItem\");for(var s=0;s<r.length;s++){var o=jQuery(r[s]);if(o.attr(\"data-sap-time\")===t){a=s;break}}if(!this._oItemNavigation){this._oItemNavigation=new n;this._oItemNavigation.attachEvent(n.Events.AfterFocus,D,this);this._oItemNavigation.attachEvent(n.Events.FocusAgain,T,this);this._oItemNavigation.attachEvent(n.Events.BorderReached,C,this);this.addDelegate(this._oItemNavigation);this._oItemNavigation.setDisabledModifiers({sapnext:[\"alt\"],sapprevious:[\"alt\"],saphome:[\"alt\"],sapend:[\"alt\"]});this._oItemNavigation.setCycling(false);this._oItemNavigation.setColumns(1,true)}this._oItemNavigation.setRootDomRef(i);this._oItemNavigation.setItemDomRefs(r);this._oItemNavigation.setFocusedIndex(a);this._oItemNavigation.setPageSize(r.length)}function D(e){var t=e.getParameter(\"index\");var a=e.getParameter(\"event\");if(!a){return}var i=this._getDate();var r=new l(i.getTime());var s=this._oItemNavigation.getItemDomRefs();var n=jQuery(s[t]);r=new l(this._oFormatYyyyMMddHHmm.parse(n.attr(\"data-sap-time\"),true).getTime());this._oUTCDate=r;this.fireFocus({date:o._createLocalDate(r,true),notVisible:false});if(a.type==\"mousedown\"){b.call(this,a,r,t)}}function T(e){var t=e.getParameter(\"index\");var a=e.getParameter(\"event\");if(!a){return}if(a.type==\"mousedown\"){var i=this._getDate();b.call(this,a,i,t)}}function C(e){var t=e.getParameter(\"event\");var a=this.getItems();var i=this.getIntervalMinutes();var r=this._getDate();var s=new l(r.getTime());if(t.type){switch(t.type){case\"sapnext\":case\"sapnextmodifiers\":s.setUTCMinutes(s.getUTCMinutes()+i);break;case\"sapprevious\":case\"sappreviousmodifiers\":s.setUTCMinutes(s.getUTCMinutes()-i);break;case\"sappagedown\":s.setUTCMinutes(s.getUTCMinutes()+i*a);break;case\"sappageup\":s.setUTCMinutes(s.getUTCMinutes()-i*a);break;default:break}this.fireFocus({date:o._createLocalDate(s,true),notVisible:true})}}function b(e,t,a){if(e.button){return}var i=S.call(this,t);if(i){this._bMousedownChange=true}if(this._bMouseMove){L.call(this,true);this._bMoveChange=false}else if(this.getIntervalSelection()&&this.$().is(\":visible\")){w.call(this,true)}e.preventDefault();e.setMark(\"cancelAutoClose\")}function I(e,t){o._checkJSDateObject(e);var a=e.getFullYear();o._checkYearInValidRange(a);var i=true;if(!f(this.getDate(),e)){var r=o._createUniversalUTCDate(e,undefined,true);r=this._getIntervalStart(r);i=this.checkDateFocusable(e);if(!this._bNoRangeCheck&&!i){throw new Error(\"Date must be in visible date range; \"+this)}this.setProperty(\"date\",e);this._oUTCDate=r}if(this.getDomRef()){if(i){M.call(this,this._oUTCDate,t)}else{this.setDate(e)}}}function M(e,t){var a=this._oFormatYyyyMMddHHmm.format(e.getJSDate(),true);var i=this._oItemNavigation.getItemDomRefs();var r;for(var s=0;s<i.length;s++){r=jQuery(i[s]);if(r.attr(\"data-sap-time\")==a){if(document.activeElement!=i[s]){if(t){this._oItemNavigation.setFocusedIndex(s)}else{this._oItemNavigation.focusItem(s)}}break}}}function S(e,t){if(!this._checkTimeEnabled(e)){return false}var a=this.getSelectedDates();var i;var r=0;var s=this.getParent();var n=this;var l;if(s&&s.getSelectedDates){n=s}if(this.getSingleSelection()){if(a.length>0){i=a[0];l=i.getStartDate();if(l){l=o._createUniversalUTCDate(l,undefined,true);l=this._getIntervalStart(l)}}else{i=new d;n.addAggregation(\"selectedDates\",i)}if(this.getIntervalSelection()&&(!i.getEndDate()||t)&&l){var g;if(e.getTime()<l.getTime()){g=l;l=e;if(!t){i.setProperty(\"startDate\",o._createLocalDate(v.getInstance(l.getTime()),true));i.setProperty(\"endDate\",o._createLocalDate(v.getInstance(g.getTime()),true))}}else if(e.getTime()>=l.getTime()){g=e;if(!t){i.setProperty(\"endDate\",o._createLocalDate(v.getInstance(g.getTime()),true))}}}else{i.setProperty(\"startDate\",o._createLocalDate(v.getInstance(e.getTime()),true));i.setProperty(\"endDate\",undefined)}}else{if(this.getIntervalSelection()){throw new Error(\"Calender don't support multiple interval selection\")}else{var u=this._checkDateSelected(e);if(u>0){for(r=0;r<a.length;r++){l=a[r].getStartDate();if(l){l=o._createUniversalUTCDate(l,undefined,true);l=this._getIntervalStart(l);if(e.getTime()==l.getTime()){n.removeAggregation(\"selectedDates\",r);break}}}}else{i=new d({startDate:o._createLocalDate(v.getInstance(e.getTime()),true)});n.addAggregation(\"selectedDates\",i)}}}return true}function U(){if(this._bMouseMove){L.call(this,true)}this.fireSelect()}function w(){jQuery(window.document).on(\"mousemove\",this._mouseMoveProxy);this._bMouseMove=true}function L(){jQuery(window.document).off(\"mousemove\",this._mouseMoveProxy);this._bMouseMove=undefined}function F(e){var t;if(e.toUpperCase().indexOf(\"K\")>-1){t=e.indexOf(\"k\")>-1?\"k\":\"K\"}else{t=e.indexOf(\"h\")>-1?\"h\":\"H\"}return t}return _});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/TimesRowRenderer\", [\"sap/ui/core/Element\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/core/date/UniversalDate\",\"sap/ui/unified/CalendarLegendRenderer\",\"sap/ui/core/date/UI5Date\",\"sap/ui/unified/library\",\"sap/base/Log\"],function(e,t,a,r,i,s,n){\"use strict\";var l=s.CalendarDayType;var o={apiVersion:2};o.render=function(e,t){var a=t._getStartDate();var r=t.getTooltip_AsString();var i=t.getId();e.openStart(\"div\",t);e.class(\"sapUiCalTimesRow\");e.class(\"sapUiCalRow\");if(r){e.attr(\"title\",r)}e.accessibilityState(t,{role:\"grid\",readonly:\"true\",multiselectable:!t.getSingleSelection()||t.getIntervalSelection(),labelledby:t._getShowHeader()?{value:i+\"-Head\",append:true}:undefined});e.openEnd();if(t.getIntervalSelection()){e.openStart(\"span\",i+\"-Start\");e.style(\"display\",\"none\");e.openEnd();e.text(t._rb.getText(\"CALENDAR_START_TIME\"));e.close(\"span\");e.openStart(\"span\",i+\"-End\");e.style(\"display\",\"none\");e.openEnd();e.text(t._rb.getText(\"CALENDAR_END_TIME\"));e.close(\"span\")}this.renderRow(e,t,a);e.close(\"div\")};o.renderRow=function(e,t,a){var r=t.getId();this.renderHeader(e,t,a);e.openStart(\"div\",r+\"-times\");e.class(\"sapUiCalItems\");e.attr(\"role\",\"row\");e.openEnd();this.renderTimes(e,t,a);e.close(\"div\")};o.renderHeader=function(e,t,a){if(t._getShowHeader()){var r=t._getLocaleData();var i=t.getId();e.openStart(\"div\",i+\"-Head\");e.openEnd();this.renderHeaderLine(e,t,r,a);e.close(\"div\")}};o.renderHeaderLine=function(e,t,a,r){var i=t._getFormatDate();var s=t.getId();var n=t.getItems();var l=t._getIntervalStart(r);var o=t.getIntervalMinutes();var d=\"\";var c=0;var p=[];var m=0;for(m=0;m<n;m++){c=i.format(l,true);if(p.length>0&&p[p.length-1].sDay==c){p[p.length-1].iItems++}else{p.push({sDay:c,iItems:1})}l.setUTCMinutes(l.getUTCMinutes()+o)}for(m=0;m<p.length;m++){var g=p[m];d=100/n*g.iItems+\"%\";e.openStart(\"div\",s+\"-Head\"+m);e.class(\"sapUiCalHeadText\");e.style(\"width\",d);e.openEnd();e.text(g.sDay);e.close(\"div\")}};o.renderTimes=function(e,t,a){var r=this.getHelper(t,a);var i=t.getItems();var s=100/i+\"%\";var n=t._getIntervalStart(a);var l=\"\";var o=\"\";for(var d=0;d<i;d++){if(r.oFormatTimeAmPm){o=r.oFormatTimeAmPm.format(n,true);if(l==o){o=\"\"}else{l=o}}this.renderTime(e,t,n,r,s,o);n.setUTCMinutes(n.getUTCMinutes()+r.iMinutes)}};o.getHelper=function(a,r){var s={};s.sLocale=a._getLocale();s.oLocaleData=a._getLocaleData();s.oNow=t._createUniversalUTCDate(i.getInstance(),undefined,true);s.sCurrentTime=a._rb.getText(\"CALENDAR_CURRENT_TIME\");s.sId=a.getId();s.oFormatLong=a._getFormatLong();s.oFormatTime=a._getFormatTime();s.oFormatTimeAmPm=a._oFormatTimeAmPm;s.iMinutes=a.getIntervalMinutes();var l=a.getLegend();if(l){var o=e.getElementById(l);if(o){if(!(o instanceof sap.ui.unified.CalendarLegend)){throw new Error(o+\" is not an sap.ui.unified.CalendarLegend. \"+a)}s.oLegend=o}else{n.warning(\"CalendarLegend \"+l+\" does not exist!\",a)}}return s};o.renderTime=function(e,t,i,s,n,o){var d=t._getAriaRole();var c=d===\"gridcell\"&&t.getProperty(\"selectableAccessibilitySemantics\");var p={role:d,selected:c?false:null,label:\"\",describedby:c?t._getTimeDescription():null};var m=t._oFormatYyyyMMddHHmm.format(i.getJSDate(),true);var g=t._checkDateSelected(i);var u=t._getDateType(i);var v=t._checkTimeEnabled(i);e.openStart(\"div\",s.sId+\"-\"+m);e.class(\"sapUiCalItem\");if(n){e.style(\"width\",n)}var f=new a(i.getTime());f.setUTCMinutes(f.getUTCMinutes()+s.iMinutes);if(i.getTime()<=s.oNow.getTime()&&f.getTime()>s.oNow.getTime()){e.class(\"sapUiCalItemNow\");p[\"label\"]=s.sCurrentTime+\" \"}if(g>0){e.class(\"sapUiCalItemSel\");if(c){p[\"selected\"]=true}}if(g==2){e.class(\"sapUiCalItemSelStart\");p[\"describedby\"]=p[\"describedby\"]+\" \"+s.sId+\"-Start\"}else if(g==3){e.class(\"sapUiCalItemSelEnd\");p[\"describedby\"]=p[\"describedby\"]+\" \"+s.sId+\"-End\"}else if(g==4){e.class(\"sapUiCalItemSelBetween\")}else if(g==5){e.class(\"sapUiCalItemSelStart\");e.class(\"sapUiCalItemSelEnd\");p[\"describedby\"]=p[\"describedby\"]+\" \"+s.sId+\"-Start\";p[\"describedby\"]=p[\"describedby\"]+\" \"+s.sId+\"-End\"}if(u&&u.type!=l.None){e.class(\"sapUiCalItem\"+u.type);if(u.tooltip){e.attr(\"title\",u.tooltip)}}if(!v){e.class(\"sapUiCalItemDsbl\");p[\"disabled\"]=true}e.attr(\"tabindex\",\"-1\");e.attr(\"data-sap-time\",m);p[\"label\"]=p[\"label\"]+s.oFormatLong.format(i,true);if(u&&u.type!=l.None){r.addCalendarTypeAccInfo(p,u.type,s.oLegend)}e.accessibilityState(null,p);e.openEnd();if(u&&u.type!=l.None){e.openStart(\"div\");e.class(\"sapUiCalSpecialDate\");if(u.color){e.style(\"background-color\",u.color)}e.openEnd();e.close(\"div\")}e.openStart(\"span\");e.class(\"sapUiCalItemText\");e.openEnd();e.text(s.oFormatTime.format(i,true));if(o){e.openStart(\"span\");e.class(\"sapUiCalItemTextAmPm\");e.openEnd();e.text(o);e.close(\"span\")}e.close(\"span\");e.close(\"div\")};return o},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/YearPicker\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/DateRange\",\"sap/ui/unified/library\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/library\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/core/date/UI5Date\",\"./YearPickerRenderer\",\"sap/ui/events/KeyCodes\",\"sap/ui/thirdparty/jquery\"],function(e,t,a,r,i,s,o,n,l,h,d,g,p,c,y,u,jQuery){\"use strict\";var m=a.extend(\"sap.ui.unified.calendar.YearPicker\",{metadata:{library:\"sap.ui.unified\",properties:{year:{type:\"int\",group:\"Data\",defaultValue:2e3,deprecated:true},years:{type:\"int\",group:\"Appearance\",defaultValue:20},intervalSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:false},_singleSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:true,visibility:\"hidden\"},_showSelectedRange:{type:\"boolean\",group:\"Appearance\",defaultValue:false,visibility:\"hidden\"},columns:{type:\"int\",group:\"Appearance\",defaultValue:4},date:{type:\"object\",group:\"Data\"},primaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},secondaryCalendarType:{type:\"sap.base.i18n.date.CalendarType\",group:\"Appearance\"},_middleDate:{type:\"object\",group:\"Data\",visibility:\"hidden\"}},aggregations:{selectedDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"selectedDate\"}},events:{select:{},pageChange:{}}},renderer:y});m.prototype.init=function(){var e=c.getInstance();e.setFullYear(2e3);this.setProperty(\"date\",e);this._oFormatYyyymmdd=h.getInstance({pattern:\"yyyyMMdd\",calendarType:t.Gregorian});this._oMinDate=s._minDate(this._getPrimaryCalendarType());this._oMaxDate=s._maxDate(this._getPrimaryCalendarType())};m.prototype.onBeforeRendering=function(){this._oYearFormat=h.getDateInstance({format:\"y\",calendarType:this._getPrimaryCalendarType()})};m.prototype.onAfterRendering=function(){_.call(this);this.focus()};m.prototype.exit=function(){if(this._aMPSelectedDates&&this._aMPSelectedDates.length){this._aMPSelectedDates.forEach(function(e){e.destroy()});this._aMPSelectedDates=undefined}};m.prototype.getFocusDomRef=function(){return this.getDomRef()&&this._oItemNavigation.getItemDomRefs()[this._iSelectedIndex]};m.prototype.setYear=function(e){this.setProperty(\"year\",e);e=this.getProperty(\"year\");var t=new o(e,0,1,this._getPrimaryCalendarType()),a=this._getSelectedDates()[0],r=this.getAggregation(\"selectedDates\");if(!a||this.getIntervalSelection()){return this}if(!this._oSelectedDatesControlOrigin){if(!r||!r.length){this.addAggregation(\"selectedDates\",a)}!this.getIntervalSelection()&&a.setStartDate(t.toLocalJSDate())}this.setDate(t.toLocalJSDate());return this};m.prototype.setDate=function(e){var t=s._maxDate(this.getProperty(\"primaryCalendarType\")).getYear(),a,r,i,n;e&&s._checkJSDateObject(e);r=e.getFullYear();s._checkYearInValidRange(r);a=o.fromLocalJSDate(e,this._getPrimaryCalendarType());a.setMonth(0,1);this.setProperty(\"date\",e);this.setProperty(\"year\",a.getYear());this._oDate=a;i=this.getYears();n=Math.floor(i/2);if(e.getFullYear()<n){this._iSelectedIndex=e.getFullYear()-1}else if(e.getFullYear()>t-n){this._iSelectedIndex=t+i-e.getFullYear()-1}else{this._iSelectedIndex=n}this.setProperty(\"_middleDate\",a);return this};m.prototype._getDate=function(){if(!this._oDate){var e=this.getDate().getFullYear();this._oDate=new o(e,0,1,this._getPrimaryCalendarType())}return this._oDate};m.prototype._getPrimaryCalendarType=function(){return this.getProperty(\"primaryCalendarType\")||e.getCalendarType()};m.prototype._setSelectedDatesControlOrigin=function(e){this._oSelectedDatesControlOrigin=e};m.prototype.getSelectedDates=function(){if(this._oSelectedDatesControlOrigin){return this._oSelectedDatesControlOrigin.getSelectedDates()}return this.getAggregation(\"selectedDates\")};m.prototype._getSelectedDates=function(){var e=this.getSelectedDates();if(e){return e}else if(!this._aMPSelectedDates||!this._aMPSelectedDates.length){this._aMPSelectedDates=[new n];this._aMPSelectedDates[0].setStartDate(this._getDate().toLocalJSDate());return this._aMPSelectedDates}else{return this._aMPSelectedDates}};m.prototype.setPrimaryCalendarType=function(e){this.setProperty(\"primaryCalendarType\",e);this._oYearFormat=h.getDateInstance({format:\"y\",calendarType:e});if(this._oDate){this._oDate=new o(this._oDate,e);this._oDate.setMonth(0,1)}this._oMinDate=new o(this._oMinDate,e);this._oMaxDate=new o(this._oMaxDate,e);if(this._getSecondaryCalendarType()){this.setColumns(2);this.setYears(8)}return this};m.prototype.setIntervalSelection=function(e){this._setShowSelectedRange(e);return this.setProperty(\"intervalSelection\",e)};m.prototype._setShowSelectedRange=function(e){return this.setProperty(\"_showSelectedRange\",e)};m.prototype._getShowSelectedRange=function(){return this.getProperty(\"_showSelectedRange\")};m.prototype.nextPage=function(){this._updatePage(true,this._oItemNavigation.getFocusedIndex());return this};m.prototype.previousPage=function(){this._updatePage(false,this._oItemNavigation.getFocusedIndex());return this};m.prototype.onsapspace=function(e){e.preventDefault()};m.prototype.onsapselect=function(e){var t=this._oItemNavigation.getFocusedIndex();var a=this._selectYear(t);if(a){this.fireSelect()}};m.prototype.onmouseover=function(e){var t=e.target,a=this._getSelectedDates()[0],r,i,s;if(!a){return}if(a.getStartDate()){r=o.fromLocalJSDate(a.getStartDate(),this._getPrimaryCalendarType());r.setMonth(0,1)}if(t.classList.contains(\"sapUiCalItem\")){s=t.getAttribute(\"data-sap-year-start\");i=o.fromLocalJSDate(this._oFormatYyyymmdd.parse(s),this._getPrimaryCalendarType());if(this._isSelectionInProgress()){this._markInterval(r,i)}}};m.prototype.onmousedown=function(e){this._oMousedownPosition={clientX:e.clientX,clientY:e.clientY}};m.prototype.onmouseup=function(e){var t=e.target,a=this._getSelectedDates()[0],i,s,n,l,h=this._oItemNavigation.getItemDomRefs();if(this._bMousedownChange){this._bMousedownChange=false;if(this.getIntervalSelection()&&t.classList.contains(\"sapUiCalItem\")&&a){s=t.getAttribute(\"data-sap-year-start\");l=o.fromLocalJSDate(this._oFormatYyyymmdd.parse(s),this._getPrimaryCalendarType());n=o.fromLocalJSDate(a.getStartDate(),this._getPrimaryCalendarType());n.setMonth(0,1);if(!l.isSame(n)&&!a.getEndDate()){i=h.index(t);this._selectYear.call(this,i);this._oItemNavigation.focusItem(i)}}this.fireSelect()}else if(r.support.touch&&this._isValueInThreshold(this._oMousedownPosition.clientX,e.cl Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/MicroChartRenderUtils\", [\"sap/ui/core/Lib\"],function(e){\"use strict\";var t={apiVersion:2,extendMicroChartRenderer:function(t){t._renderNoData=function(t,i){if(!i.getHideOnNoData()){t.openStart(\"div\",i);this._writeMainProperties(t,i);t.openEnd();t.openStart(\"div\");t.class(\"sapSuiteUiMicroChartNoData\");t.openEnd();t.openStart(\"div\");t.class(\"sapSuiteUiMicroChartNoDataTextWrapper\");t.openEnd();var r=e.getResourceBundleFor(\"sap.suite.ui.microchart\");var a=r.getText(\"NO_DATA\");t.openStart(\"span\").openEnd();t.text(a);t.close(\"span\");t.close(\"div\");t.close(\"div\");t.close(\"div\")}};t._renderActiveProperties=function(e,t){var i=t.hasListeners(\"press\");if(i){if(t._hasData()){e.class(\"sapSuiteUiMicroChartPointer\")}e.attr(\"tabindex\",\"0\")}}}};return t},true);\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/MicroChartUtils\", [\"sap/ui/core/Control\",\"sap/m/library\",\"sap/ui/core/Theming\",\"sap/ui/thirdparty/jquery\",\"sap/ui/core/Lib\",\"./library\"],function(t,e,r,jQuery,o,i){\"use strict\";var n=o.getResourceBundleFor(\"sap.suite.ui.microchart\");var u=e.Size;const s=i.MicroChartColorType;const a=e.ValueCSSColor;var l={extendMicroChart:function(o){o.prototype._isResponsive=function(){return this.getSize()===u.Responsive};o.prototype._digitsAfterDecimalPoint=function(t){var e=(\"\"+t).match(/[.,](\\d+)/g);return e?(\"\"+e).length-1:0};o.prototype.getAccessibilityInfo=function(){return{type:n.getText(\"ACC_CTR_TYPE_MICROCHART\"),description:this.getTooltip_AsString()}};o.prototype._isThemeHighContrast=function(){return/(hcw|hcb)/g.test(r.getTheme())};o.prototype.convertRemToPixels=function(t){return t*parseFloat(window.getComputedStyle(document.documentElement).fontSize)};o.prototype._isAnyLabelTruncated=function(t){return t.toArray().some(this._isLabelTruncated)};o.prototype._isAnyLabelVerticallyTruncated=function(t){return t.toArray().some(this._isLabelVerticallyTruncated)};o.prototype._isLabelTruncated=function(t){return t.scrollWidth>t.offsetWidth};o.prototype._isLabelVerticallyTruncated=function(t){return Math.abs(t.scrollHeight-t.offsetHeight)>1};o.prototype._isAnyLabelNumericAndTruncated=function(t){return t.toArray().some(this._isLabelNumericAndTruncated.bind(this))};o.prototype._isLabelNumericAndTruncated=function(t){return!Number.isFinite(Number(t.textContent))?false:this._isLabelTruncated(t)};o.prototype.isColorCorrect=function(t){if(s.hasOwnProperty(t)&&t!==\"\"){return true}if(e.ValueCSSColor.isValid(t)&&t!==\"\"){return true}if(e.ValueCSSColor.isValid(t.below)&&t.below!==\"\"&&e.ValueCSSColor.isValid(t.above)&&t.above!==\"\"){return true}if(s.hasOwnProperty(t.below)&&t.below!==\"\"&&s.hasOwnProperty(t.above)&&t.above!==\"\"){return true}else{return false}};o.prototype.getTooltip_AsString=function(e){var r=t.prototype.getTooltip_AsString.apply(this,arguments),o=this._getAltHeaderText(e),i=false;if(r){r=r.split(\"((AltText))\").join(o)}if(!r){r=\"\";i=true}if(this._getAltSubText){r+=this._getAltSubText(i)}return r}},extendMicroChartSetColor:function(t){t.prototype.setColor=function(t,e){var r=false;if(s.hasOwnProperty(t)){r=true}else{r=a.isValid(t)}if(t!=null&&!r){throw new Error(`Value ${t} is not valid for property \"color\"`)}return this.setProperty(\"color\",r?t:null,e)}}};return l},true);\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/RadialMicroChart\", [\"./library\",\"sap/ui/core/Control\",\"sap/suite/ui/microchart/RadialMicroChartRenderer\",\"sap/ui/core/ResizeHandler\",\"sap/base/Log\",\"sap/ui/events/KeyCodes\",\"sap/suite/ui/microchart/MicroChartUtils\",\"./RadialMicroChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\",\"sap/m/library\"],function(e,t,i,r,s,a,o,n,u,l,p){\"use strict\";const h=e.MicroChartColorType;const c=p.ValueCSSColor;var d=t.extend(\"sap.suite.ui.microchart.RadialMicroChart\",{constructor:function(e,i){var r;if(i&&typeof i.percentage===\"number\"){r=true}else if(e&&typeof e.percentage===\"number\"){r=true}else{r=false}try{t.apply(this,arguments);this._bPercentageMode=r}catch(e){this.destroy();throw e}},metadata:{library:\"sap.suite.ui.microchart\",properties:{total:{group:\"Data\",type:\"float\"},fraction:{group:\"Data\",type:\"float\",defaultValue:null},percentage:{group:\"Data\",type:\"float\",defaultValue:null},valueColor:{group:\"Appearance\",type:\"string\",defaultValue:h.Neutral},size:{group:\"Misc\",type:\"sap.m.Size\",defaultValue:\"Auto\"},width:{group:\"Misc\",type:\"sap.ui.core.CSSSize\"},height:{group:\"Misc\",type:\"sap.ui.core.CSSSize\"},alignContent:{group:\"Misc\",type:\"sap.suite.ui.microchart.HorizontalAlignmentType\",defaultValue:\"Left\"},hideOnNoData:{type:\"boolean\",group:\"Appearance\",defaultValue:false},showPercentageSymbol:{type:\"boolean\",group:\"Appearance\",defaultValue:true}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},events:{press:{}}},renderer:n});d.THRESHOLD_LOOK_XS=1.125;d.THRESHOLD_LOOK_S=3.5;d.THRESHOLD_LOOK_M=4.5;d.THRESHOLD_LOOK_L=5.875;d.THRESHOLD_WIDTH_NO_LABEL=6;d.prototype.init=function(){this._oRb=u.getLibraryResourceBundle(\"sap.suite.ui.microchart\");this.setAggregation(\"tooltip\",\"((AltText))\",true);this._bThemeApplied=false;u.ready(this._handleCoreInitialized.bind(this))};d.prototype._handleCoreInitialized=function(){l.attachApplied(this._handleThemeApplied.bind(this))};d.prototype._handleThemeApplied=function(){this._bThemeApplied=true;this.invalidate();l.detachApplied(this._handleThemeApplied.bind(this))};d.prototype.onBeforeRendering=function(){if(!this._getPercentageMode()){if(this.getTotal()===0){s.info(\"Total cannot be 0. Please add a valid total value.\")}else{this.setProperty(\"percentage\",Math.round(this.getFraction()*100/this.getTotal()*10)/10,true)}}this._unbindMouseEnterLeaveHandler()};d.prototype.onAfterRendering=function(){this._bindMouseEnterLeaveHandler();this._sResizeHandlerId=r.register(this,this._onResize.bind(this));this._onResize()};d.prototype.ontouchstart=function(e){if(this.hasListeners(\"press\")===true){e.setMarked()}};d.prototype.ontap=function(e){if(this.hasListeners(\"press\")===true){e.setMarked()}this.firePress()};d.prototype.onkeydown=function(e){if(e.which===a.SPACE){if(this.hasListeners(\"press\")===true){e.setMarked()}e.preventDefault()}};d.prototype.onkeyup=function(e){if(e.which===a.ENTER||e.which===a.SPACE){if(this.hasListeners(\"press\")===true){e.setMarked()}this.firePress();e.preventDefault()}};d.prototype.attachEvent=function(e,i,r,s){t.prototype.attachEvent.call(this,e,i,r,s);if(e===\"press\"){this.invalidate()}return this};d.prototype.detachEvent=function(e,i,r){t.prototype.detachEvent.call(this,e,i,r);if(e===\"press\"){this.invalidate()}return this};d.prototype.exit=function(){this._deregisterResizeHandler()};d.prototype._getPercentageMode=function(){return this._bPercentageMode};d.prototype.setPercentage=function(e){if(typeof e===\"number\"){var t=Math.floor(e*10)/10;this._bPercentageMode=true;if(t!==this.getPercentage()){this.setProperty(\"percentage\",t)}}else{this._bPercentageMode=false;this.setProperty(\"percentage\",null)}return this};d.prototype.setValueColor=function(e,t){var i=false;if(h.hasOwnProperty(e)){i=true}else{i=c.isValid(e)}if(e!=null&&!i){throw new Error(`Value ${e} is not valid for property \"valueColor\"`)}return this.setProperty(\"valueColor\",i?e:null,t)};d.prototype._onResize=function(){var e=this.$(),t=e.height(),i=e.width(),r=e.find(\".sapSuiteRMCOutsideLabel\"),s=e.find(\".sapSuiteRMCInsideLabel\"),a=e.find(\".sapSuiteRMCInnerContainer\");e.removeClass(\"sapSuiteRMCLookL sapSuiteRMCLookM sapSuiteRMCLookS sapSuiteRMCLookXS\");r.removeClass(\"sapSuiteRMCLabelHide\");s.removeClass(\"sapSuiteRMCLabelHide\");a.css(\"width\",a.height());if(t<this.convertRemToPixels(d.THRESHOLD_LOOK_S)){e.addClass(\"sapSuiteRMCLookXS\");s.addClass(\"sapSuiteRMCLabelHide\")}else if(t<this.convertRemToPixels(d.THRESHOLD_LOOK_M)||i<this.convertRemToPixels(d.THRESHOLD_LOOK_M)){e.addClass(\"sapSuiteRMCLookS\");r.addClass(\"sapSuiteRMCLabelHide\")}else if(t<this.convertRemToPixels(d.THRESHOLD_LOOK_L)||i<this.convertRemToPixels(d.THRESHOLD_LOOK_L)){e.addClass(\"sapSuiteRMCLookM\");r.addClass(\"sapSuiteRMCLabelHide\")}else{e.addClass(\"sapSuiteRMCLookL\");r.addClass(\"sapSuiteRMCLabelHide\")}if(this._isAnyLabelTruncated(r)){r.addClass(\"sapSuiteRMCLabelHide\")}if(this._isAnyLabelTruncated(s)){s.addClass(\"sapSuiteRMCLabelHide\")}};d.prototype._isValueColorValid=function(){return h.hasOwnProperty(this.getValueColor())};d.prototype._isTooltipSuppressed=function(){var e=this.getTooltip_Text();if(e&&e.trim().length===0){return true}else{return false}};d.prototype._getAltHeaderText=function(e){var t=this._oRb.getText(\"RADIALMICROCHART\");if(e){t+=\" \"+this._oRb.getText(\"IS_ACTIVE\")}t+=\"\\n\";if(!this._hasData()){t+=this._oRb.getText(\"NO_DATA\");return t}var i=this.getPercentage();if(i>100){i=100}else if(i<0){i=0}if(this._isValueColorValid()){t+=this._oRb.getText(\"RADIALMICROCHART_ARIA_LABEL\",[this.getPercentage(),this._getStatusText()])}else{t+=this._oRb.getText(\"RADIALMICROCHART_PERCENTAGE_TEXT\",[i])}return t};d.prototype._getStatusText=function(){var e=this.getValueColor();switch(e){case h[\"Error\"]:return this._oRb.getText(\"SEMANTIC_COLOR_ERROR\");case h[\"Critical\"]:return this._oRb.getText(\"SEMANTIC_COLOR_CRITICAL\");case h[\"Good\"]:return this._oRb.getText(\"SEMANTIC_COLOR_GOOD\");case h[\"Neutral\"]:return this._oRb.getText(\"SEMANTIC_COLOR_NEUTRAL\");case h[\"Sequence1\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE1\");case h[\"Sequence2\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE2\");case h[\"Sequence3\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE3\");case h[\"Sequence4\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE4\");case h[\"Sequence5\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE5\");case h[\"Sequence6\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE6\");case h[\"Sequence7\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE7\");case h[\"Sequence8\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE8\");case h[\"Sequence9\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE9\");case h[\"Sequence10\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE10\");case h[\"Sequence11\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE11\");case h[\"Sequence12\"]:return this._oRb.getText(\"SEMANTIC_COLOR_SEQUENCE12\");default:return\"\"}};d.prototype._addTitleAttribute=function(){if(!this.$().attr(\"title\")&&this._hasData()){this.$().attr(\"title\",this.getTooltip_AsString())}};d.prototype._removeTitleAttribute=function(){if(this.$().attr(\"title\")){this.$().removeAttr(\"title\")}};d.prototype._bindMouseEnterLeaveHandler=function(){this.$().on(\"mouseenter.tooltip\",this._addTitleAttribute.bind(this));this.$().on(\"mouseleave.tooltip\",this._removeTitleAttribute.bind(this))};d.prototype._unbindMouseEnterLeaveHandler=function(){this.$().off(\"mouseenter.tooltip\");this.$().off(\"mouseleave.tooltip\")};d.prototype._isActuallyANumber=function(e){return!isNaN(e)&&e!==null&&(e!==\"Infinity\"&&e!==\"-Infinity\")};d.prototype._hasData=function(){return this._getPercentageMode()||this._isActuallyANumber(this.getTotal())};d.prototype.firePress=function(){if(this._hasData()){t.prototype.fireEvent.call(this,\"press\",arguments)}};d.prototype._deregisterResizeHandler=function(){if(this._sResizeHandlerId){r.deregister(this._sResizeHandlerId);this._sResizeHandlerId=null}};o.extendMicroChart(d);return d});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/RadialMicroChartRenderer\", [\"sap/ui/Device\",\"sap/m/library\",\"./library\",\"sap/base/Log\",\"sap/suite/ui/microchart/MicroChartRenderUtils\",\"sap/ui/core/theming/Parameters\"],function(e,t,r,i,a,n){\"use strict\";var s=r.MicroChartColorType;var o={apiVersion:2};o.FORM_RATIO=100;o.BACKGROUND_CIRCLE_BORDER_WIDTH=1;o.BACKGROUND_CIRCLE_RADIUS=o.FORM_RATIO/2-o.BACKGROUND_CIRCLE_BORDER_WIDTH/2;o.RING_WIDTH=8.75;o.RING_CORE_RADIUS=o.BACKGROUND_CIRCLE_RADIUS-o.RING_WIDTH/2-o.BACKGROUND_CIRCLE_BORDER_WIDTH;o.SVG_VIEWBOX_CENTER_FACTOR=\"50%\";o.X_ROTATION=0;o.SWEEP_FLAG=1;o.PADDING_WIDTH=.22;o.NUMBER_FONT_SIZE=23.5;o.EDGE_CASE_SIZE_USE_SMALL_FONT=54;o.EDGE_CASE_SIZE_SHOW_TEXT=46;o.EDGE_CASE_SIZE_MICRO_CHART=24;o.render=function(e,t){if(!t._bThemeApplied){return}if(t._hasData()){this._writeDivStartElement(t,e);this._writeOuterContainerElement(t,e);e.close(\"div\")}else{this._renderNoData(e,t)}};o._writeOuterContainerElement=function(e,t){this._writeDivVerticalContainerElement(e,t);this._writeDivInnerContainerElement(e,t);if(this._renderingOfInnerContentIsRequired(e)){this._writeLabelInside(e,t)}this._writeSVGStartElement(e,t);this._writeBackground(t);if(this._renderingOfInnerContentIsRequired(e)){this._writeBorders(t);if(this._innerCircleRequired(e)){this._writeCircle(e,t)}else{this._writeCircleWithPathElements(e,t)}}t.close(\"svg\");t.close(\"div\");if(this._renderingOfInnerContentIsRequired(e)){this._writeLabelOutside(e,t)}t.close(\"div\")};o._writeMainProperties=function(e,t){var r=t.hasListeners(\"press\");this._renderActiveProperties(e,t);var i=t.getTooltip_AsString(r);e.attr(\"role\",\"figure\");if(t.getAriaLabelledBy().length){e.accessibilityState(t)}else{e.attr(\"aria-label\",i)}e.class(\"sapSuiteRMC\");e.class(\"sapSuiteRMCSize\"+t.getSize());e.style(\"width\",t.getWidth());e.style(\"height\",t.getHeight())};o._writeDivStartElement=function(e,t){t.openStart(\"div\",e);this._writeMainProperties(t,e);t.openEnd()};o._writeDivVerticalContainerElement=function(e,t){t.openStart(\"div\");t.class(\"sapSuiteRMCVerticalAlignmentContainer\");t.class(\"sapSuiteRMCAlign\"+e.getAlignContent());t.openEnd()};o._writeDivInnerContainerElement=function(e,t){t.openStart(\"div\");t.class(\"sapSuiteRMCInnerContainer\");t.openEnd()};o._writeSVGStartElement=function(e,t){t.openStart(\"svg\");t.class(\"sapSuiteRMCSvg\");t.attr(\"focusable\",false);t.attr(\"viewBox\",\"0 0 \"+o.FORM_RATIO+\" \"+o.FORM_RATIO);t.attr(\"version\",\"1.1\");t.attr(\"xmlns\",\"http://www.w3.org/2000/svg\");t.openEnd()};o._writeBackground=function(e){e.openStart(\"circle\");e.class(\"sapSuiteRMCCircleBackground\");e.attr(\"cx\",o.SVG_VIEWBOX_CENTER_FACTOR);e.attr(\"cy\",o.SVG_VIEWBOX_CENTER_FACTOR);e.attr(\"r\",o.BACKGROUND_CIRCLE_RADIUS);e.attr(\"stroke-width\",this.BACKGROUND_CIRCLE_BORDER_WIDTH);e.openEnd().close(\"circle\")};o._writeBorders=function(e){var t=o.RING_CORE_RADIUS+o.RING_WIDTH/2-o.BACKGROUND_CIRCLE_BORDER_WIDTH/2,r=o.RING_CORE_RADIUS-o.RING_WIDTH/2+o.BACKGROUND_CIRCLE_BORDER_WIDTH/2;e.openStart(\"circle\");e.class(\"sapSuiteRMCRing\");e.attr(\"cx\",o.SVG_VIEWBOX_CENTER_FACTOR);e.attr(\"cy\",o.SVG_VIEWBOX_CENTER_FACTOR);e.attr(\"r\",t);e.attr(\"stroke-width\",o.BACKGROUND_CIRCLE_BORDER_WIDTH);e.openEnd().close(\"circle\");e.openStart(\"circle\");e.class(\"sapSuiteRMCRing\");e.attr(\"cx\",o.SVG_VIEWBOX_CENTER_FACTOR);e.attr(\"cy\",o.SVG_VIEWBOX_CENTER_FACTOR);e.attr(\"r\",r);e.attr(\"stroke-width\",o.BACKGROUND_CIRCLE_BORDER_WIDTH);e.openEnd().close(\"circle\")};o._writeCircle=function(e,t){var r=this._getFullCircleColor(e);t.openStart(\"circle\");if(e._isValueColorValid()||r===\"sapSuiteRMCRemainingCircle\"){t.class(r)}else{t.attr(\"stroke\",n.get(r)||r)}t.attr(\"cx\",o.SVG_VIEWBOX_CENTER_FACTOR);t.attr(\"cy\",o.SVG_VIEWBOX_CENTER_FACTOR);t.attr(\"r\",o.RING_CORE_RADIUS);t.attr(\"fill\",\"transparent\");t.attr(\"stroke-width\",\"7px\");t.openEnd().close(\"circle\")};o._writeCircleWithPathElements=function(e,t){var r=e.getPercentage()>50?1:0;var i=this._getPercentageForCircleRendering(e)-o.PADDING_WIDTH;var a=this._calculatePathCoordinates(e,i,false);this._writePath1(r,a,e,t);i=this._getPercentageForCircleRendering(e)+o.PADDING_WIDTH;a=this._calculatePathCoordinates(e,i,true);this._writePath2(r,a,e,t)};o._writePath1=function(e,t,r,i){var a=\"M\"+t[0]+\" \"+t[1]+\" A \"+o.RING_CORE_RADIUS+\" \"+o.RING_CORE_RADIUS+\", \"+o.X_ROTATION+\", \"+e+\", \"+o.SWEEP_FLAG+\", \"+t[2]+\" \"+t[3];var s=this._getPathColor(r);i.openStart(\"path\");i.class(\"sapSuiteRMCPath\");if(r._isValueColorValid()||s===\"sapSuiteRMCRemainingCircle\"){i.class(s)}else{i.attr(\"stroke\",n.get(s)||s)}i.attr(\"d\",a);i.attr(\"fill\",\"transparent\");i.attr(\"stroke-width\",\"7px\");i.openEnd().close(\"path\")};o._writePath2=function(e,t,r,i){var a=\"M\"+t[2]+\" \"+t[3]+\" A \"+o.RING_CORE_RADIUS+\" \"+o.RING_CORE_RADIUS+\", \"+o.X_ROTATION+\", \"+(1-e)+\", \"+o.SWEEP_FLAG+\", \"+t[0]+\" \"+t[1];i.openStart(\"path\");i.class(\"sapSuiteRMCPath\");i.class(\"sapSuiteRMCRemainingCircle\");i.attr(\"d\",a);i.attr(\"fill\",\"transparent\");i.attr(\"stroke-width\",\"7px\");i.openEnd().close(\"path\")};o._writeLabelInside=function(e,t){t.openStart(\"div\");t.class(\"sapSuiteRMCInsideLabel\");t.class(\"sapSuiteRMCFont\");t.class(this._getTextColorClass(e));t.openEnd();t.unsafeHtml(this._generateTextContent(e));t.close(\"div\")};o._writeLabelOutside=function(e,t){t.openStart(\"div\");t.class(\"sapSuiteRMCOutsideLabel\");t.class(\"sapSuiteRMCFont\");t.class(\"sapSuiteRMCLabelHide\");t.class(this._getTextColorClass(e));t.openEnd();t.unsafeHtml(this._generateTextContent(e));t.close(\"div\")};o._renderingOfInnerContentIsRequired=function(e){return e._hasData()};o._getVerticalViewboxCenterFactorForText=function(){if(e.browser.mozilla){return\"57%\"}else{return\"51%\"}};o._innerCircleRequired=function(e){return e.getPercentage()>=100||e.getPercentage()<=0};o._calculatePathCoordinates=function(e,t,r){var i=[];var a=0;var n=o.FORM_RATIO/2;if(r){a=2*o.PADDING_WIDTH/100*2*Math.PI}i.push(n+o.RING_CORE_RADIUS*Math.cos(-Math.PI/2-a));i.push(n+o.RING_CORE_RADIUS*Math.sin(-Math.PI/2-a));i.push(n+o.RING_CORE_RADIUS*Math.cos(-Math.PI/2+t/100*2*Math.PI));i.push(n+o.RING_CORE_RADIUS*Math.sin(-Math.PI/2+t/100*2*Math.PI));return i};o._getPercentageForCircleRendering=function(e){var t=e.getPercentage();var r=t;if(t>99-o.PADDING_WIDTH){r=99-o.PADDING_WIDTH}if(t<1+o.PADDING_WIDTH){r=1+o.PADDING_WIDTH}return r};o._getTextColorClass=function(e){const t={[s.Good]:\"sapSuiteRMCTextColorGood\",[s.Error]:\"sapSuiteRMCTextColorError\",[s.Critical]:\"sapSuiteRMCTextColorCritical\"};const r=e.getValueColor();if(t[r]){return t[r]}for(let e=1;e<=12;e++){if(r.toLowerCase()===s[`Sequence${e}`].toLowerCase()){return`sapSuiteRMCTextColorSequence${e}`}}return\"sapSuiteRMCTextColorNeutral\"};o._getFullCircleColor=function(e){if(e.getPercentage()>=100){return this._getPathColor(e)}if(e.getPercentage()<=0){return\"sapSuiteRMCRemainingCircle\"}};o._getPathColor=function(e){var t=e.getValueColor();if(e._isValueColorValid()){const t={[s.Good]:\"sapSuiteRMCPathGood\",[s.Error]:\"sapSuiteRMCPathError\",[s.Critical]:\"sapSuiteRMCPathCritical\"};const r=e.getValueColor();if(t[r]){return t[r]}for(let e=1;e<=12;e++){if(r.toLowerCase()===s[`Sequence${e}`].toLowerCase()){return`sapSuiteRMCPathSequence${e}`}}return\"sapSuiteRMCPathNeutral\"}else{return t}};o._generateTextContent=function(e){var t=\"RADIALMICROCHART_PERCENTAGE_TEXT\";if(!e.getShowPercentageSymbol()){t=\"RADIALMICROCHART_PERCENTAGE_SYMBOL\"}if(e.getPercentage()===100){return e._oRb.getText(t,[100])}if(e.getPercentage()===0){return e._oRb.getText(t,[0])}if(e.getPercentage()>=100){i.error(\"Values over 100%(\"+e.getPercentage()+\"%) are not supported\");return e._oRb.getText(t,[100])}if(e.getPercentage()<=0){i.error(\"Values below 0%(\"+e.getPercentage()+\"%) are not supported\");return e._oRb.getText(t,[0])}return e._oRb.getText(t,[e.getPercentage()])};a.extendMicroChartRenderer(o);return o},true);\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/StackedBarMicroChart\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/ui/core/Control\",\"sap/m/library\",\"sap/m/FlexBox\",\"sap/suite/ui/microchart/MicroChartUtils\",\"sap/ui/core/ResizeHandler\",\"./StackedBarMicroChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\",\"sap/ui/core/Lib\",\"./StackedBarMicroChartBar\"],function(jQuery,t,e,i,r,a,o,s,n,l,p,u){\"use strict\";var h=i.Size;const d=t.MicroChartColorType;var c=e.extend(\"sap.suite.ui.microchart.StackedBarMicroChart\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{size:{type:\"sap.m.Size\",group:\"Appearance\",defaultValue:h.Auto},maxValue:{type:\"float\",group:\"Appearance\",defaultValue:null},precision:{type:\"int\",group:\"Appearance\",defaultValue:1},displayZeroValue:{type:\"boolean\",group:\"Appearance\",defaultValue:true},width:{type:\"sap.ui.core.CSSSize\",group:\"Misc\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Misc\"},showLabels:{type:\"boolean\",group:\"Misc\",defaultValue:true},hideOnNoData:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},defaultAggregation:\"bars\",aggregations:{bars:{type:\"sap.suite.ui.microchart.StackedBarMicroChartBar\",multiple:true,bindable:\"bindable\",defaultClass:u}},events:{press:{}}},renderer:s});c.THRESHOLD_SMALL_LOOK=1;c.BAR_COLOR_PARAM_DEFAULT=\"sapUiChartPaletteQualitativeHue\";c.BAR_LABEL_CSSCLASS=\".sapSuiteStackedMCBarLabel\";c.BAR_CSSCLASS=\".sapSuiteStackedMCBar\";c.prototype.attachEvent=function(){e.prototype.attachEvent.apply(this,arguments);if(this.hasListeners(\"press\")){this.$().attr(\"tabindex\",0).addClass(\"sapSuiteUiMicroChartPointer\")}return this};c.prototype.detachEvent=function(){e.prototype.detachEvent.apply(this,arguments);if(!this.hasListeners(\"press\")){this.$().removeAttr(\"tabindex\").removeClass(\"sapSuiteUiMicroChartPointer\")}return this};c.prototype.onclick=function(t){if(this.hasListeners(\"press\")){t.stopPropagation();this.firePress()}};c.prototype.onsapspace=c.prototype.onclick;c.prototype.onsapenter=c.prototype.onclick;c.prototype.setMaxValue=function(t){var e=Number.isFinite(Number(t));this.setProperty(\"maxValue\",e?t:null);return this};c.prototype.setTooltip=function(t){this._title=null;this.setAggregation(\"tooltip\",t,true);return this};c.prototype.init=function(){this._oRb=p.getResourceBundleFor(\"sap.suite.ui.microchart\");this.setAggregation(\"tooltip\",\"((AltText))\",true);this._bThemeApplied=false;n.ready(this._handleCoreInitialized.bind(this))};c.prototype._handleCoreInitialized=function(){l.attachApplied(this._handleThemeApplied.bind(this))};c.prototype._handleThemeApplied=function(){this._bThemeApplied=true;this.invalidate()};c.prototype.onBeforeRendering=function(){if(this._sChartResizeHandlerId){o.deregister(this._sChartResizeHandlerId)}this.$().off(\"mouseenter\");this.$().off(\"mouseleave\")};c.prototype.onAfterRendering=function(){t._checkControlIsVisible(this,this._onControlIsVisible)};c.prototype._onControlIsVisible=function(){this._sChartResizeHandlerId=o.register(this,this._onResize.bind(this));this._onResize();this.$().on(\"mouseenter\",this._addTitleAttribute.bind(this));this.$().on(\"mouseleave\",this._removeTitleAttribute.bind(this))};c.prototype.exit=function(){o.deregister(this._sChartResizeHandlerId);l.detachApplied(this._handleThemeApplied.bind(this))};c.prototype._getLocalizedColorMeaning=function(t){return this._oRb.getText((\"SEMANTIC_COLOR_\"+t).toUpperCase())};c.prototype._calculateChartData=function(){var t=[];var e=this.getBars();var i=e.length;var r=12;var a=1;var o=this.getPrecision();var s=function(){if(r){if(a===r){a=1}return c.BAR_COLOR_PARAM_DEFAULT+a++}};var n=0;var l=this.getMaxValue();var p=0;for(p;p<i;p++){if(!isNaN(e[p].getValue())){n=n+e[p].getValue()}}var u=Math.max(l,n);var h=l>=n;var d=0;var f=0;var _;for(p=0;p<i;p++){_={oBarData:e[p]};_.color=e[p].getValueColor();if(!_.color){_.color=s()}var g=isNaN(e[p].getValue())?0:e[p].getValue();var y=u===0?0:g*100/u;_.value=this._roundFloat(y,o);_.width=this._roundFloat(y,2);d=d+_.value;f=f+_.width;if(h){_.displayValue=e[p].getDisplayValue()||String(g)}else{_.displayValue=e[p].getDisplayValue()||String(_.value+\"%\")}t.push(_)}d=this._roundFloat(d,o);f=this._roundFloat(f,2);var C;if(f>100&&t.length>0){C=t.slice(0).sort(function(t,e){return e.width-t.width})[0];C.width=this._roundFloat(C.width-f+100,2)}var S=function(t){return t.some(function(t){return t.width>0})};if(l>n){_={value:this._roundFloat(100-d,o),width:this._roundFloat(100-f,2)};t.push(_)}else if(t.length>0&&f<100&&(!this.getDisplayZeroValue()||S(t))){C=t.slice(0).sort(function(t,e){return e.width-t.width})[0];C.width=this._roundFloat(C.width-f+100,2)}return t};c.prototype._roundFloat=function(t,e){return parseFloat(t.toFixed(e))};c.prototype._onResize=function(){this._resizeVertically();this._resizeHorizontally()};c.prototype._resizeVertically=function(){var t=this.$();var e=parseFloat(t.height());if(e<=this.convertRemToPixels(c.THRESHOLD_SMALL_LOOK)){t.addClass(\"sapSuiteStackedMCSmallLook\")}else{t.removeClass(\"sapSuiteStackedMCSmallLook\")}};c.prototype._resizeHorizontally=function(){this._hideTruncatedLabels(c.BAR_LABEL_CSSCLASS)};c.prototype._hideTruncatedLabels=function(t){var e=this.$();var i=e.find(t);i.removeClass(\"sapSuiteStackedMCBarLabelHidden\");for(var r=0;r<i.length;r++){if(this._isLabelTruncated(i[r])){e.find(i[r]).addClass(\"sapSuiteStackedMCBarLabelHidden\")}}};c.prototype._getAltHeaderText=function(e){var i=this._calculateChartData(),r=this._oRb.getText(\"STACKEDBARMICROCHART\");if(e){r+=\" \"+this._oRb.getText(\"IS_ACTIVE\")}r+=\"\\n\";if(!this._hasData()){r+=this._oRb.getText(\"NO_DATA\");return r}var a,o,s,n=false;for(var l=0;l<i.length;l++){a=i[l];o=a.oBarData;s=o&&o.getTooltip_AsString();if(t._isTooltipSuppressed(s)){continue}if(n){r+=\"\\n\"}n=true;if(s){r+=s}else if(a.displayValue){r+=a.displayValue;if(d.hasOwnProperty(a.color)){r+=\" \"+this._getLocalizedColorMeaning(a.color)}}}return r};c.prototype._isTooltipSuppressed=function(){var t=this.getTooltip_AsString();return t&&t.trim().length===0};c.prototype._addTitleAttribute=function(){if(this.$().attr(\"title\")){return}if(!this._title&&this._hasData()){this._title=this.getTooltip_AsString()}if(this._title){this.$().attr(\"title\",this._title)}};c.prototype._removeTitleAttribute=function(){if(this.$().attr(\"title\")){this._title=this.$().attr(\"title\");this.$().removeAttr(\"title\")}};c.prototype._hasData=function(){return this.getBars().length>0};c.prototype.firePress=function(){if(this._hasData()){e.prototype.fireEvent.call(this,\"press\",arguments)}};a.extendMicroChart(c);return c});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/StackedBarMicroChartBar\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/ui/core/Element\",\"sap/m/library\"],function(jQuery,r,e,t){\"use strict\";const a=t.ValueCSSColor;const l=r.MicroChartColorType;var u=e.extend(\"sap.suite.ui.microchart.StackedBarMicroChartBar\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{value:{type:\"float\",group:\"Data\",defaultValue:\"0\"},valueColor:{type:\"string\",group:\"Appearance\",defaultValue:null},displayValue:{type:\"string\",group:\"Data\",defaultValue:null}}}});u.prototype.setValue=function(r,e){var t=Number.isFinite(Number(r));return this.setProperty(\"value\",t?r:NaN,e)};u.prototype.setValueColor=function(r,e){var t=false;if(l.hasOwnProperty(r)||(r==null||r==\"\")){t=true}else{t=a.isValid(r)}if(r!=null&&!t){throw new Error(`Value ${r} is not valid for property \"valueColor\"`)}return this.setProperty(\"valueColor\",t?r:null,e)};return u});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/StackedBarMicroChartRenderer\", [\"sap/m/library\",\"sap/ui/core/theming/Parameters\",\"./library\",\"sap/suite/ui/microchart/MicroChartRenderUtils\"],function(e,a,r,f){\"use strict\";const t=r.MicroChartColorType;var i={apiVersion:2};i.LABEL_COLOR_LIGHT=\"#ffffff\";i.LABEL_COLOR_DARK=\"#000000\";i.COLORNAME_TO_HEX_MAP={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgrey:\"#a9a9a9\",darkgreen:\"#006400\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",ghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",grey:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgrey:\"#d3d3d3\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",lightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370d8\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",moccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#d87093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",rebeccapurple:\"#663399\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",seashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};i.SEMANTIC_COLORS={Good:\"Good\",Error:\"Error\",Critical:\"Critical\",Neutral:\"Neutral\",Sequence1:\"Sequence1\",Sequence2:\"Sequence2\",Sequence3:\"Sequence3\",Sequence4:\"Sequence4\",Sequence5:\"Sequence5\",Sequence6:\"Sequence6\",Sequence7:\"Sequence7\",Sequence8:\"Sequence8\",Sequence9:\"Sequence9\",Sequence10:\"Sequence10\",Sequence11:\"Sequence11\",Sequence12:\"Sequence12\"};i.render=function(e,a){if(a._hasData()){var r=a._calculateChartData();if(!a._bThemeApplied){return}this._aBars=a.getAggregation(\"bars\");e.openStart(\"div\",a);this._writeMainProperties(e,a);var f=a.getTooltip_AsString();if(f&&typeof f===\"string\"){e.attr(\"title\",f)}e.openEnd();this._renderInnerContent(e,a,r);e.close(\"div\")}else{this._renderNoData(e,a)}};i._writeMainProperties=function(e,a){var r=a.hasListeners(\"press\");this._renderActiveProperties(e,a);e.attr(\"role\",\"figure\");if(a.getAriaLabelledBy().length){e.accessibilityState(a)}else{e.attr(\"aria-label\",a.getTooltip_AsString(r))}e.class(\"sapSuiteStackedMC\");e.class(\"sapSuiteStackedMCSize\"+a.getSize());e.style(\"width\",a.getWidth());e.style(\"height\",a.getHeight())};i._renderInnerContent=function(e,a,r){e.openStart(\"div\");e.class(\"sapSuiteStackedMCContainer\");e.openEnd();for(var f=0;f<r.length;f++){this._renderChartBar(e,a,r[f],f)}e.close(\"div\")};i._renderChartBar=function(e,r,f){if(!r.getDisplayZeroValue()&&f.width===0){return}var i=r.getShowLabels();if(f.oBarData){e.openStart(\"div\",f.oBarData)}else{e.openStart(\"div\")}e.class(\"sapSuiteStackedMCBar\");if(r.getDisplayZeroValue()&&f?.oBarData?.getValue()===0){e.class(\"sapSuiteStackedMCBarZeroValue\")}if(!f.color){e.style(\"background-color\",\"transparent\")}else if(t.hasOwnProperty(f.color)){e.class(\"sapSuiteStackedMCBarSemanticColor\"+f.color)}else{e.style(\"background-color\",a.get(f.color)||f.color)}e.style(\"width\",f.width+\"%\");e.openEnd();if(i){this._renderChartBarLabel(e,f.displayValue,f.color)}e.close(\"div\")};i._renderChartBarLabel=function(e,a,r){if(!a){return}e.openStart(\"div\");e.class(\"sapSuiteStackedMCBarLabel\");if(Object.values(i.SEMANTIC_COLORS).includes(r)){e.class(\"sapSuiteStackedMCBarLabel\"+r)}e.openEnd();e.text(a);e.close(\"div\")};f.extendMicroChartRenderer(i);return i},true);\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/library\", [\"sap/ui/base/DataType\",\"sap/ui/core/IntervalTrigger\",\"sap/ui/core/Lib\",\"sap/ui/core/library\",\"sap/m/library\"],function(i,e,a){\"use strict\";var r=a.init({name:\"sap.suite.ui.microchart\",apiVersion:2,version:\"1.139.0\",dependencies:[\"sap.ui.core\",\"sap.m\"],types:[\"sap.suite.ui.microchart.AreaMicroChartViewType\",\"sap.suite.ui.microchart.BulletMicroChartModeType\",\"sap.suite.ui.microchart.CommonBackgroundType\",\"sap.suite.ui.microchart.ComparisonMicroChartViewType\",\"sap.suite.ui.microchart.DeltaMicroChartViewType\",\"sap.suite.ui.microchart.HorizontalAlignmentType\",\"sap.suite.ui.microchart.LoadStateType\",\"sap.suite.ui.microchart.LineType\",\"sap.suite.ui.microchart.MicroChartColorType\"],interfaces:[],controls:[\"sap.suite.ui.microchart.AreaMicroChart\",\"sap.suite.ui.microchart.BulletMicroChart\",\"sap.suite.ui.microchart.ColumnMicroChart\",\"sap.suite.ui.microchart.ComparisonMicroChart\",\"sap.suite.ui.microchart.DeltaMicroChart\",\"sap.suite.ui.microchart.HarveyBallMicroChart\",\"sap.suite.ui.microchart.LineMicroChart\",\"sap.suite.ui.microchart.InteractiveBarChart\",\"sap.suite.ui.microchart.InteractiveDonutChart\",\"sap.suite.ui.microchart.InteractiveLineChart\",\"sap.suite.ui.microchart.RadialMicroChart\",\"sap.suite.ui.microchart.StackedBarMicroChart\"],elements:[\"sap.suite.ui.microchart.AreaMicroChartPoint\",\"sap.suite.ui.microchart.AreaMicroChartItem\",\"sap.suite.ui.microchart.AreaMicroChartLabel\",\"sap.suite.ui.microchart.BulletMicroChartData\",\"sap.suite.ui.microchart.ColumnMicroChartData\",\"sap.suite.ui.microchart.ColumnMicroChartLabel\",\"sap.suite.ui.microchart.ComparisonMicroChartData\",\"sap.suite.ui.microchart.HarveyBallMicroChartItem\",\"sap.suite.ui.microchart.LineMicroChartPoint\",\"sap.suite.ui.microchart.LineMicroChartEmphasizedPoint\",\"sap.suite.ui.microchart.LineMicroChartLine\",\"sap.suite.ui.microchart.InteractiveBarChartBar\",\"sap.suite.ui.microchart.InteractiveDonutChartSegment\",\"sap.suite.ui.microchart.InteractiveLineChartPoint\",\"sap.suite.ui.microchart.StackedBarMicroChartBar\"]});r.AreaMicroChartViewType={Normal:\"Normal\",Wide:\"Wide\"};i.registerEnum(\"sap.suite.ui.microchart.AreaMicroChartViewType\",r.AreaMicroChartViewType);r.BulletMicroChartModeType={Actual:\"Actual\",Delta:\"Delta\"};i.registerEnum(\"sap.suite.ui.microchart.BulletMicroChartModeType\",r.BulletMicroChartModeType);r.CommonBackgroundType={Lightest:\"Lightest\",ExtraLight:\"ExtraLight\",Light:\"Light\",MediumLight:\"MediumLight\",Medium:\"Medium\",Dark:\"Dark\",ExtraDark:\"ExtraDark\",Darkest:\"Darkest\",Transparent:\"Transparent\"};i.registerEnum(\"sap.suite.ui.microchart.CommonBackgroundType\",r.CommonBackgroundType);r.LineType={Solid:\"Solid\",Dashed:\"Dashed\",Dotted:\"Dotted\"};i.registerEnum(\"sap.suite.ui.microchart.LineType\",r.LineType);r.HorizontalAlignmentType={Left:\"Left\",Center:\"Center\",Right:\"Right\"};i.registerEnum(\"sap.suite.ui.microchart.HorizontalAlignmentType\",r.HorizontalAlignmentType);r.ComparisonMicroChartViewType={Normal:\"Normal\",Wide:\"Wide\",Responsive:\"Responsive\"};i.registerEnum(\"sap.suite.ui.microchart.ComparisonMicroChartViewType\",r.ComparisonMicroChartViewType);r.DeltaMicroChartViewType={Normal:\"Normal\",Wide:\"Wide\",Responsive:\"Responsive\"};i.registerEnum(\"sap.suite.ui.microchart.DeltaMicroChartViewType\",r.DeltaMicroChartViewType);r.LoadStateType={Loading:\"Loading\",Loaded:\"Loaded\",Failed:\"Failed\",Disabled:\"Disabled\"};r.MicroChartColorType={Neutral:\"Neutral\",None:\"None\",Good:\"Good\",Critical:\"Critical\",Error:\"Error\",Sequence1:\"Sequence1\",Sequence2:\"Sequence2\",Sequence3:\"Sequence3\",Sequence4:\"Sequence4\",Sequence5:\"Sequence5\",Sequence6:\"Sequence6\",Sequence7:\"Sequence7\",Sequence8:\"Sequence8\",Sequence9:\"Sequence9\",Sequence10:\"Sequence10\",Sequence11:\"Sequence11\",Sequence12:\"Sequence12\"};i.registerEnum(\"sap.suite.ui.microchart.MicroChartColorType\",r.MicroChartColorType);r._aStandardMarginClassNames=[\"sapUiTinyMargin\",\"sapUiSmallMargin\",\"sapUiMediumMargin\",\"sapUiLargeMargin\",\"sapUiTinyMarginBeginEnd\",\"sapUiTinyMarginTopBottom\",\"sapUiSmallMarginBeginEnd\",\"sapUiSmallMarginTopBottom\",\"sapUiMediumMarginBeginEnd\",\"sapUiMediumMarginTopBottom\",\"sapUiLargeMarginBeginEnd\",\"sapUiLargeMarginTopBottom\",\"sapUiTinyMarginTop\",\"sapUiTinyMarginBottom\",\"sapUiTinyMarginBegin\",\"sapUiTinyMarginEnd\",\"sapUiSmallMarginTop\",\"sapUiSmallMarginBottom\",\"sapUiSmallMarginBegin\",\"sapUiSmallMarginEnd\",\"sapUiMediumMarginTop\",\"sapUiMediumMarginBottom\",\"sapUiMediumMarginBegin\",\"sapUiMediumMarginEnd\",\"sapUiLargeMarginTop\",\"sapUiLargeMarginBottom\",\"sapUiLargeMarginBegin\",\"sapUiLargeMarginEnd\",\"sapUiResponsiveMargin\",\"sapUiNoMargin\",\"sapUiNoMarginTop\",\"sapUiNoMarginBottom\",\"sapUiNoMarginBegin\",\"sapUiNoMarginEnd\"];r._removeStandardMargins=function(i){for(var e=0;e<r._aStandardMarginClassNames.length;e++){if(i.hasStyleClass(r._aStandardMarginClassNames[e])){i.removeStyleClass(r._aStandardMarginClassNames[e])}}};r._passParentContextToChild=function(i,e){if(i.data(\"_parentRenderingContext\")){e.data(\"_parentRenderingContext\",i.data(\"_parentRenderingContext\"))}else if(typeof i.getParent===\"function\"){e.data(\"_parentRenderingContext\",i.getParent())}};r._isTooltipSuppressed=function(i){return i!==null&&i!==undefined&&!i.trim()};r._checkControlIsVisible=function(i,a){function r(){return i.getVisible()&&i.getDomRef()&&i.$().is(\":visible\")&&i.getDomRef().getBoundingClientRect().width!==0}function t(){if(r()){e.removeListener(t);a.call(i)}}var o=i.exit;i.exit=function(){e.removeListener(t);if(o){o.call(i)}};if(r()){a.call(i)}else{e.addListener(t)}};return r});\nsap.ui.require.preload({\n\t\"sap/suite/ui/microchart/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"id\":\"sap.suite.ui.microchart\",\"type\":\"library\",\"embeds\":[],\"applicationVersion\":{\"version\":\"1.139.0\"},\"title\":\"UI5 library: sap.suite.ui.microchart\",\"description\":\"UI5 library: sap.suite.ui.microchart\",\"ach\":\"CA-UI5-SC\",\"resources\":\"resources.json\",\"offline\":true},\"sap.ui\":{\"technology\":\"UI5\",\"supportedThemes\":[\"base\",\"sap_belize\",\"sap_belize_base\",\"sap_belize_hcb\",\"sap_belize_hcw\",\"sap_belize_plus\",\"sap_bluecrystal\",\"sap_bluecrystal_base\",\"sap_fiori_3\",\"sap_fiori_3_dark\",\"sap_fiori_3_hcb\",\"sap_fiori_3_hcw\",\"sap_hcb\",\"sap_horizon\",\"sap_horizon_dark\",\"sap_horizon_hcb\",\"sap_horizon_hcw\"]},\"sap.ui5\":{\"dependencies\":{\"minUI5Version\":\"1.139\",\"libs\":{\"sap.ui.core\":{\"minVersion\":\"1.139.0\"},\"sap.m\":{\"minVersion\":\"1.139.0\"}}},\"library\":{\"i18n\":{\"bundleUrl\":\"messagebundle.properties\",\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-sappsd\",\"en-US-saprigi\",\"en-US-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]},\"content\":{\"controls\":[\"sap.suite.ui.microchart.AreaMicroChart\",\"sap.suite.ui.microchart.BulletMicroChart\",\"sap.suite.ui.microchart.ColumnMicroChart\",\"sap.suite.ui.microchart.ComparisonMicroChart\",\"sap.suite.ui.microchart.DeltaMicroChart\",\"sap.suite.ui.microchart.HarveyBallMicroChart\",\"sap.suite.ui.microchart.LineMicroChart\",\"sap.suite.ui.microchart.InteractiveBarChart\",\"sap.suite.ui.microchart.InteractiveDonutChart\",\"sap.suite.ui.microchart.InteractiveLineChart\",\"sap.suite.ui.microchart.RadialMicroChart\",\"sap.suite.ui.microchart.StackedBarMicroChart\"],\"elements\":[\"sap.suite.ui.microchart.AreaMicroChartPoint\",\"sap.suite.ui.microchart.AreaMicroChartItem\",\"sap.suite.ui.microchart.AreaMicroChartLabel\",\"sap.suite.ui.microchart.BulletMicroChartData\",\"sap.suite.ui.microchart.ColumnMicroChartData\",\"sap.suite.ui.microchart.ColumnMicroChartLabel\",\"sap.suite.ui.microchart.ComparisonMicroChartData\",\"sap.suite.ui.microchart.HarveyBallMicroChartItem\",\"sap.suite.ui.microchart.LineMicroChartPoint\",\"sap.suite.ui.microchart.LineMicroChartEmphasizedPoint\",\"sap.suite.ui.microchart.LineMicroChartLine\",\"sap.suite.ui.microchart.InteractiveBarChartBar\",\"sap.suite.ui.microchart.InteractiveDonutChartSegment\",\"sap.suite.ui.microchart.InteractiveLineChartPoint\",\"sap.suite.ui.microchart.StackedBarMicroChartBar\"],\"types\":[\"sap.suite.ui.microchart.AreaMicroChartViewType\",\"sap.suite.ui.microchart.BulletMicroChartModeType\",\"sap.suite.ui.microchart.CommonBackgroundType\",\"sap.suite.ui.microchart.ComparisonMicroChartViewType\",\"sap.suite.ui.microchart.DeltaMicroChartViewType\",\"sap.suite.ui.microchart.HorizontalAlignmentType\",\"sap.suite.ui.microchart.LoadStateType\",\"sap.suite.ui.microchart.LineType\",\"sap.suite.ui.microchart.MicroChartColorType\"],\"interfaces\":[]}}}}'\n});\n//# sourceMappingURL=library-preload.js.map\n" Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/ManagedObjectMetadata\", [\"./DataType\",\"./Metadata\",\"./Object\",\"sap/base/Log\",\"sap/base/assert\",\"sap/base/config\",\"sap/base/strings/capitalize\",\"sap/base/strings/escapeRegExp\",\"sap/base/util/merge\",\"sap/base/util/isPlainObject\"],function(t,e,i,r,n,s,o,a,g,u){\"use strict\";var l=function(t,i){e.apply(this,arguments)};var h;l.prototype=Object.create(e.prototype);l.prototype.constructor=l;var p=/(children|ies|ves|oes|ses|ches|shes|xes|s)$/i;var f={children:-3,ies:\"y\",ves:\"f\",oes:-2,ses:-2,ches:-2,shes:-2,xes:-2,s:-1};function c(t){return t.replace(p,function(t,e){var i=f[e.toLowerCase()];return typeof i===\"string\"?i:e.slice(0,i)})}function m(t,e){return function(){r.warning(\"Usage of deprecated feature: \"+e);return t.apply(this,arguments)}}function d(t,e){var i=null;for(var r in e){if(Object.hasOwn(e,r)&&typeof t[r]===\"undefined\"){i=i||{};i[r]=e[r]}}return i}function y(t,e,r){const n=e.defaultClass;if(n){if(!i.isObjectA(n.prototype,t.type)){throw new TypeError(`The 'defaultClass' of the aggregation '${t.name}' in '${r.getName()}' is not of type '${t.type}'.`)}else if(t.altTypes?.includes(\"object\")){throw new TypeError(`The aggregation '${t.name}' in '${r.getName()}' must not defined a 'defaultClass' together with the altType 'object'.`)}}else if(e.hasOwnProperty(\"defaultClass\")){throw new TypeError(`The 'defaultClass' of the aggregation '${t.name}' in '${r.getName()}' is defined with a nullish value (${n}).`)}return n}var A={SPECIAL_SETTING:-1,PROPERTY:0,SINGLE_AGGREGATION:1,MULTIPLE_AGGREGATION:2,SINGLE_ASSOCIATION:3,MULTIPLE_ASSOCIATION:4,EVENT:5};l._guessSingularName=c;function _(t,e,i){i=typeof i!==\"object\"?{type:i}:i;this.name=e;this.type=i.type||\"any\";this.visibility=i.visibility||\"public\";this.defaultValue=i.defaultValue;this.appData=d(this,i);this._oParent=t;this._sUID=\"special:\"+e;this._iKind=A.SPECIAL_SETTING}function v(t,e,i){i=typeof i!==\"object\"?{type:i}:i;this.name=e;this.type=i.type||\"string\";this.group=i.group||\"Misc\";this.defaultValue=i.defaultValue!==null?i.defaultValue:null;this.bindable=!!i.bindable;this.deprecated=!!i.deprecated||false;this.visibility=i.visibility||\"public\";this.byValue=i.byValue===true;this.selector=typeof i.selector===\"string\"?i.selector:null;this.appData=d(this,i);this._oParent=t;this._sUID=e;this._iKind=A.PROPERTY;var r=o(e);this._sMutator=\"set\"+r;this._sGetter=\"get\"+r;if(this.bindable){this._sBind=\"bind\"+r;this._sUnbind=\"unbind\"+r}else{this._sBind=this._sUnbind=undefined}this._oType=null}v.prototype.generate=function(t){var e=this,i=e.name;t(e._sGetter,function(){return this.getProperty(i)});t(e._sMutator,function(t){this.setProperty(i,t);return this},e);if(e.bindable){t(e._sBind,function(t,e,r){this.bindProperty(i,t,e,r);return this},e);t(e._sUnbind,function(t){this.unbindProperty(i,t);return this})}};v.prototype.getType=function(){if(!this._oType){this._oType=t.getType(this.type)}return this._oType};v.prototype.getDefaultValue=function(){var e=this.defaultValue,i;if(e===null){i=this.getType();if(i instanceof t){e=i.getDefaultValue()}}return e};v.prototype.get=function(t){if(this.visibility!==\"public\"){return t.getProperty(this.name)}return t[this._sGetter]()};v.prototype.set=function(t,e){if(this.visibility!==\"public\"){return t.setProperty(this.name,e)}return t[this._sMutator](e)};function P(t,e,i){i=typeof i!==\"object\"?{type:i}:i;this.name=e;this.type=i.type||\"sap.ui.core.Control\";this.altTypes=Array.isArray(i.altTypes)?i.altTypes:undefined;this.defaultClass=y(this,i,t)||null;this.multiple=typeof i.multiple===\"boolean\"?i.multiple:true;this.singularName=this.multiple?i.singularName||c(e):undefined;this.bindable=!!i.bindable;this.deprecated=i.deprecated||false;this.visibility=i.visibility||\"public\";this.selector=i.selector||null;this.forwarding=i.forwarding;this._doesNotRequireFactory=!!i._doesNotRequireFactory;this.appData=d(this,i);this._oParent=t;this._sUID=\"aggregation:\"+e;this._iKind=this.multiple?A.MULTIPLE_AGGREGATION:A.SINGLE_AGGREGATION;this._oForwarder=this.forwarding?new b(this):undefined;var r=o(e);this._sGetter=\"get\"+r;if(this.multiple){var n=o(this.singularName);this._sMutator=\"add\"+n;this._sInsertMutator=\"insert\"+n;this._sRemoveMutator=\"remove\"+n;this._sRemoveAllMutator=\"removeAll\"+r;this._sIndexGetter=\"indexOf\"+n;this._sUpdater=\"update\"+r;this._sRefresher=\"refresh\"+r}else{this._sMutator=\"set\"+r;this._sInsertMutator=this._sRemoveMutator=this._sRemoveAllMutator=this._sIndexGetter=this._sUpdater=this._sRefresher=undefined}this._sDestructor=\"destroy\"+r;if(this.bindable){this._sBind=\"bind\"+r;this._sUnbind=\"unbind\"+r}else{this._sBind=this._sUnbind=undefined}}P.prototype.generate=function(t){var e=this,i=e.name;if(!e.multiple){t(e._sGetter,function(){return this.getAggregation(i)});t(e._sMutator,function(t){this.setAggregation(i,t);return this},e)}else{t(e._sGetter,function(){return this.getAggregation(i,[])});t(e._sMutator,function(t){this.addAggregation(i,t);return this},e);t(e._sInsertMutator,function(t,e){this.insertAggregation(i,t,e);return this},e);t(e._sRemoveMutator,function(t){return this.removeAggregation(i,t)});t(e._sRemoveAllMutator,function(){return this.removeAllAggregation(i)});t(e._sIndexGetter,function(t){return this.indexOfAggregation(i,t)})}t(e._sDestructor,function(){this.destroyAggregation(i);return this});if(e.bindable){t(e._sBind,function(t,e,r,n){this.bindAggregation(i,t,e,r,n);return this},e);t(e._sUnbind,function(t){this.unbindAggregation(i,t);return this})}};P.prototype.getType=function(){if(!this._oType){this._oType=t.getType(this.type)}return this._oType};P.prototype.get=function(t){if(this.visibility!==\"public\"){return t.getAggregation(this.name,this.multiple?[]:undefined)}return t[this._sGetter]()};P.prototype.set=function(t,e){if(this.visibility!==\"public\"){return t.setAggregation(this.name,e)}return t[this._sMutator](e)};P.prototype.add=function(t,e){if(this.visibility!==\"public\"){return t.addAggregation(this.name,e)}return t[this._sMutator](e)};P.prototype.insert=function(t,e,i){if(this.visibility!==\"public\"){return t.insertAggregation(this.name,e,i)}return t[this._sInsertMutator](e,i)};P.prototype.remove=function(t,e){if(this.visibility!==\"public\"){return t.removeAggregation(this.name,e)}return t[this._sRemoveMutator](e)};P.prototype.removeAll=function(t){if(this.visibility!==\"public\"){return t.removeAllAggregation(this.name)}return t[this._sRemoveAllMutator]()};P.prototype.indexOf=function(t,e){if(this.visibility!==\"public\"){return t.indexOfAggregation(this.name,e)}return t[this._sIndexGetter](e)};P.prototype.destroy=function(t){return t[this._sDestructor]()};P.prototype.update=function(t,e,i){if(t[this._sUpdater]){t[this._sUpdater](e,i)}else{t.updateAggregation(this.name,e,i)}};P.prototype.refresh=function(t,e){if(t[this._sRefresher]){t[this._sRefresher](e)}else{this.update(t,e)}};function b(t){var e=t.forwarding;this.aggregation=t;this.targetAggregationName=e.aggregation;this.forwardBinding=e.forwardBinding;this.targetAggregationInfo=null;if(e.getter){if(typeof e.getter===\"function\"){this._getTarget=e.getter}else{this._getTarget=function(t){return function(){return this[t]()}}(e.getter)}}else if(e.idSuffix){this._getTarget=function(t){return function(){h=h||sap.ui.require(\"sap/ui/core/Element\");return h&&h.getElementById(this.getId()+t)}}(e.idSuffix)}else{throw new Error(\"Either getter or idSuffix must be given for forwarding the aggregation \"+t.name+\" to the aggregation \"+e.aggregation+\" in \"+t._oParent.getName())}}b.prototype._getTargetAggregationInfo=function(t){var e=this.targetAggregationInfo;if(!e&&t){e=this.targetAggregationInfo=t.getMetadata().getAggregation(this.targetAggregationName);if(!e){throw new Error(\"Target aggregation \"+this.targetAggregationName+\" not found on \"+t)}if(this.aggregation.multiple&&!e.multiple){throw new Error(\"Aggregation \"+this.aggregation+\" (multiple: \"+this.aggregation.multiple+\") cannot be forwarded to aggregation \"+this.targetAggregationName+\" (multiple: \"+e.multiple+\")\")}if(!this.aggregation.multiple&&e.multiple&&this.aggregation.forwarding.forwardBinding){throw new Error(\"Aggregation \"+this.aggregation+\" (multiple: \"+this.aggregation.multiple+\") cannot be forwarded to aggregation \"+this.targetAggregationName+\" (multiple: \"+e.multiple+\") with 'forwardBinding' set to 'true'\")}}return e};b.prototype.getTarget=function(t,e){var i=this._getTarget.call(t);this._getTargetAggregationInfo(i);if(i){t.mForwardedAggregations=t.mForwardedAggregations||{};if(t.mForwardedAggregations[this.aggregation.name]===undefined||e){var r=i.mAggregations[this.targetAggregationInfo.name];if(r&&!e&&!this.aggregation.forwarding.forwardBinding&&!(Array.isArray(r)&&r.length===0)){throw new Error(\"There is already content in aggregation \"+this.targetAggregationInfo.name+\" of \"+i+\" to which forwarding is being set up now.\")}else{var n=i.mAggregations[this.targetAggregationInfo.name]||(this.targetAggregationInfo.multiple?[]:null);t.mForwardedAggregations[this.aggregation.name]=i.mAggregations[this.targetAggregationInfo.name]=n}}}return i};b.prototype.get=function(t){var e=this.getTarget(t);if(e){var i=this.targetAggregationInfo.get(e);if(!this.aggregation.multiple&&this.targetAggregationInfo.multiple){i=i[0]}return i}else{return this.aggregation.multiple?[]:null}};b.prototype.indexOf=function(t,e){var i=this.getTarget(t);return this.targetAggregationInfo.indexOf(i,e)};b.prototype.set=function(t,e){var i=this.getTarget(t);t.mForwardedAggregations[this.aggregation.name]=e;if(this.targetAggregationInfo.multiple){var r=this.targetAggregationInfo.get(i);if(r&&r[0]){if(r[0]===e){return t}this.targetAggregationInfo.removeAll(i)}l.addAPIParentInfoBegin(e,t,this.aggregation.name);this.targetAggregationInfo.add(i,e)}else{l.addAPIParentInfoBegin(e,t,this.aggregation.name);this.targetAggregationInfo.set(i,e)}l.addAPIParentInfoEnd(e);return t};b.prototype.add=function(t,e){var i=this.getTarget(t);l.addAPIParentInfoBegin(e,t,this.aggregation.name);this.targetAggregationInfo.add(i,e);l.addAPIParentInfoEnd(e);return t};b.prototype.insert=function(t,e,i){var r=this.getTarget(t);l.addAPIParentInfoBegin(e,t,this.aggregation.name);this.targetAggregationInfo.insert(r,e,i);l.addAPIParentInfoEnd(e);return t};l.addAPIParentInfoBegin=function(t,e,i){if(!t){return}var r={parent:e,aggregationName:i};if(t.aAPIParentInfos){if(t.aAPIParentInfos.forwardingCounter){t.aAPIParentInfos.forwardingCounter++}else{delete t.aAPIParentInfos}}if(!t.aAPIParentInfos){t.aAPIParentInfos=[r];t.aAPIParentInfos.forwardingCounter=1}else{t.aAPIParentInfos.push(r)}};l.addAPIParentInfoEnd=function(t){t&&t.aAPIParentInfos&&t.aAPIParentInfos.forwardingCounter--};b.prototype.remove=function(t,e){var i=this.getTarget(t);var r=this.targetAggregationInfo.remove(i,e);if(r){r.aAPIParentInfos&&r.aAPIParentInfos.pop()}return r};b.prototype.removeAll=function(t){var e=this.getTarget(t);delete t.mForwardedAggregations[this.aggregation.name];var i=this.targetAggregationInfo.removeAll(e);for(var r=0;r<i.length;r++){if(i[r].aAPIParentInfos){i[r].aAPIParentInfos.pop()}}return i};b.prototype.destroy=function(t){var e=this.getTarget(t);delete t.mForwardedAggregations[this.aggregation.name];if(e){this.targetAggregationInfo.destroy(e)}return t};function I(t,e,i){i=typeof i!==\"object\"?{type:i}:i;this.name=e;this.type=i.type||\"sap.ui.core.Control\";this.multiple=i.multiple||false;this.singularName=this.multiple?i.singularName||c(e):undefined;this.deprecated=i.deprecated||false;this.visibility=i.visibility||\"public\";this.appData=d(this,i);this._oParent=t;this._sUID=\"association:\"+e;this._iKind=this.multiple?A.MULTIPLE_ASSOCIATION:A.SINGLE_ASSOCIATION;var r=o(e);this._sGetter=\"get\"+r;if(this.multiple){var n=o(this.singularName);this._sMutator=\"add\"+n;this._sRemoveMutator=\"remove\"+n;this._sRemoveAllMutator=\"removeAll\"+r}else{this._sMutator=\"set\"+r;this._sRemoveMutator=this._sRemoveAllMutator=undefined}}I.prototype.generate=function(t){var e=this,i=e.name;if(!e.multiple){t(e._sGetter,function(){return this.getAssociation(i)});t(e._sMutator,function(t){this.setAssociation(i,t);return this},e)}else{t(e._sGetter,function(){return this.getAssociation(i,[])});t(e._sMutator,function(t){this.addAssociation(i,t);return this},e);t(e._sRemoveMutator,function(t){return this.removeAssociation(i,t)});t(e._sRemoveAllMutator,function(){return this.removeAllAssociation(i)});if(i!==e.singularName){t(\"removeAll\"+o(e.singularName),function(){r.warning(\"Usage of deprecated method \"+e._oParent.getName()+\".prototype.\"+\"removeAll\"+o(e.singularName)+\",\"+\" use method \"+e._sRemoveAllMutator+\" (plural) instead.\");return this[e._sRemoveAllMutator]()})}}};I.prototype.getType=function(){if(!this._oType){this._oType=t.getType(this.type)}return this._oType};I.prototype.get=function(t){if(this.visibility!==\"public\"){return t.getAssociation(this.name,this.multiple?[]:undefined)}return t[this._sGetter]()};I.prototype.set=function(t,e){if(this.visibility!==\"public\"){return t.setAssociation(this.name,e)}return t[this._sMutator](e)};I.prototype.add=function(t,e){if(this.visibility!==\"public\"){return t.addAssociation(this.name,e)}return t[this._sMutator](e)};I.prototype.remove=function(t,e){if(this.visibility!==\"public\"){return t.removeAssociation(this.name,e)}return t[this._sRemoveMutator](e)};I.prototype.removeAll=function(t){if(this.visibility!==\"public\"){return t.removeAllAssociation(this.name)}return t[this._sRemoveAllMutator]()};function T(t,e,i){this.name=e;this.allowPreventDefault=i.allowPreventDefault||false;this.deprecated=i.deprecated||false;this.visibility=\"public\";this.allowPreventDefault=!!i.allowPreventDefault;this.enableEventBubbling=!!i.enableEventBubbling;this.appData=d(this,i);this._oParent=t;this._sUID=\"event:\"+e;this._iKind=A.EVENT;var r=o(e);this._sMutator=\"attach\"+r;this._sDetachMutator=\"detach\"+r;this._sTrigger=\"fire\"+r}T.prototype.generate=function(t){var e=this,i=e.name,r=e.allowPreventDefault,n=e.enableEventBubbling;t(e._sMutator,function(t,e,r){this.attachEvent(i,t,e,r);return this},e);t(e._sDetachMutator,function(t,e){this.detachEvent(i,t,e);return this});t(e._sTrigger,function(t){return this.fireEvent(i,t,r,n)})};T.prototype.attach=function(t,e,i,r){return t[this._sMutator](e,i,r)};T.prototype.detach=function(t,e,i){return t[this._sDetachMutator](e,i)};T.prototype.fire=function(t,e){return t[this._sTrigger](e,this.allowPreventDefault,this.enableEventBubbling)};l.prototype.metaFactorySpecialSetting=_;l.prototype.metaFactoryProperty=v;l.prototype.metaFactoryAggregation=P;l.prototype.metaFactoryAssociation=I;l.prototype.metaFactoryEvent=T;l.prototype.applySettings=function(t){var i=this,r=t.metadata;e.prototype.applySettings.call(this,t);function n(t,e){var r={},n;if(t){for(n in t){if(Object.hasOwn(t,n)){r[n]=new e(i,n,t[n])}}}return r}function s(t,e){var i={},r;for(r in t){if(e===(t[r].visibility===\"public\")){i[r]=t[r]}}return i}var o=/([a-z][^.]*(?:\\.[a-z][^.]*)*)\\./;function a(t){var e=o.exec(t);return e&&e[1]||\"\"}this._sLibraryName=r.library||a(this.getName());this._mSpecialSettings=n(r.specialSettings,this.metaFactorySpecialSetting);var g=n(r.properties,this.metaFactoryProperty);this._mProperties=s(g,true);this._mPrivateProperties=s(g,false);var u=n(r.aggregations,this.metaFactoryAggregation);this._mAggregations=s(u,true);this._mPrivateAggregations=s(u,false);this._sDefaultAggregation=r.defaultAggregation||null;this._sDefaultProperty=r.defaultProperty||null;var l=n(r.associations,this.metaFactoryAssociation);this._mAssociations=s(l,true);this._mPrivateAssociations=s(l,false);this._mEvents=n(r.events,this.metaFactoryEvent);this._oDesignTime=t.metadata[\"designtime\"]||t.metadata[\"designTime\"];this._sProvider=t.metadata[\"provider\"];if(t.metadata.__version>1){this.generateAccessors()}};l.prototype.afterApplySettings=function(){e.prototype.afterApplySettings.call(this);var t=this.getParent();if(t instanceof l){this._mAllEvents=Object.assign({},t._mAllEvents,this._mEvents);this._mAllPrivateProperties=Object.assign({},t._mAllPrivateProperties,this._mPrivateProperties);this._mAllProperties=Object.assign({},t._mAllProperties,this._mProperties);this._mAllPrivateAggregations=Object.assign({},t._mAllPrivateAggregations,this._mPrivateAggregations);this._mAllAggregations=Object.assign({},t._mAllAggregations,this._mAggregations);this._mAllPrivateAssociations=Object.assign({},t._mAllPrivateAssociations,this._mPrivateAssociations);this._mAllAssociations=Object.assign({},t._mAllAssociations,this._mAssociations);this._sDefaultAggregation=this._sDefaultAggregation||t._sDefaultAggregation;this._sDefaultProperty=this._sDefaultProperty||t._sDefaultProperty;this._mAllSpecialSettings=Object.assign({},t._mAllSpecialSettings,this._mSpecialSettings);this._sProvider=this._sProvider||t._sProvider}else{this._mAllEvents=this._mEvents;this._mAllPrivateProperties=this._mPrivateProperties;this._mAllProperties=this._mProperties;this._mAllPrivateAggregations=this._mPrivateAggregations;this._mAllAggregations=this._mAggregations;this._mAllPrivateAssociations=this._mPrivateAssociations;this._mAllAssociations=this._mAssociations;this._mAllSpecialSettings=this._mSpecialSettings}};l.Kind=A;l.prototype.getLibraryName=function(){return this._sLibraryName};l.prototype.addProperty=function(t,e){var i=this._mProperties[t]=new v(this,t,e);if(!this._mAllProperties[t]){this._mAllProperties[t]=i}if(this._fnPropertyBagFactory){this._fnPropertyBagFactory.prototype[t]=i.getDefaultValue()}};l.prototype.hasProperty=function(t){return!!this._mAllProperties[t]};l.prototype.getProperty=function(t){var e=this._mAllProperties[t];return typeof e===\"object\"?e:undefined};l.prototype.getProperties=function(){return this._mProperties};l.prototype.getAllProperties=function(){return this._mAllProperties};l.prototype.getAllPrivateProperties=function(){return this._mAllPrivateProperties};l.prototype.getManagedProperty=function(t){t=t||this._sDefaultProperty;var e=t?this._mAllProperties[t]||this._mAllPrivateProperties[t]:undefined;return typeof e===\"object\"?e:undefined};l.prototype.getDefaultPropertyName=function(){return this._sDefaultProperty};l.prototype.getDefaultProperty=function(){return this.getProperty(this.getDefaultPropertyName())};l.prototype.hasAggregation=function(t){return!!this._mAllAggregations[t]};l.prototype.getAggregation=function(t){t=t||this._sDefaultAggregation;var e=t?this._mAllAggregations[t]:undefined;return typeof e===\"object\"?e:undefined};l.prototype.getAggregations=function(){return this._mAggregations};l.prototype.getAllAggregations=function(){return this._mAllAggregations};l.prototype.getAllPrivateAggregations=function(){return this._mAllPrivateAggregations};l.prototype.getManagedAggregation=function(t){t=t||this._sDefaultAggregation;var e=t?this._mAllAggregations[t]||this._mAllPrivateAggregations[t]:undefined;return typeof e===\"object\"?e:undefined};l.prototype.getDefaultAggregationName=function(){return this._sDefaultAggregation};l.prototype.getDefaultAggregation=function(){return this.getAggregation()};l.prototype.forwardAggregation=function(t,e){var i=this.getAggregation(t);if(!i){throw new Error(\"aggregation \"+t+\" does not exist\")}if(!e||!e.aggregation||!(e.idSuffix||e.getter)||e.idSuffix&&e.getter){throw new Error(\"an 'mOptions' object with 'aggregation' property and either 'idSuffix' or 'getter' property (but not both) must be given\"+\" but does not exist\")}if(i._oParent===this){i.forwarding=e;i._oForwarder=new b(i)}else{i=new this.metaFactoryAggregation(this,t,{type:i.type,altTypes:i.altTypes,multiple:i.multiple,singularName:i.singularName,bindable:i.bindable,deprecated:i.deprecated,visibility:i.visibility,selector:i.selector,forwarding:e});this._mAggregations[t]=this._mAllAggregations[t]=i}};l.prototype.getAggregationForwarder=function(t){var e=this._mAllAggregations[t];return e?e._oForwarder:undefined};l.prototype.getDefaultPropertyName=function(){return this._sDefaultProperty};l.prototype.getDefaultProperty=function(){return this.getProperty(this.getDefaultPropertyName())};l.prototype.getPropertyLikeSetting=function(t){var e=this._mAllProperties[t];if(typeof e===\"object\"){return e}e=this._mAllAggregations[t];return typeof e===\"object\"&&e.altTypes&&e.altTypes.length>0?e:undefined};l.prototype.hasAssociation=function(t){return!!this._mAllAssociations[t]};l.prototype.getAssociation=function(t){var e=this._mAllAssociations[t];return typeof e===\"object\"?e:undefined};l.prototype.getAssociations=function(){return this._mAssociations};l.prototype.getAllAssociations=function(){return this._mAllAssociations};l.prototype.getAllPrivateAssociations=function(){return this._mAllPrivateAssociations};l.prototype.getManagedAssociation=function(t){var e=this._mAllAssociations[t]||this._mAllPrivateAssociations[t];return typeof e===\"object\"?e:undefined};l.prototype.hasEvent=function(t){return!!this._mAllEvents[t]};l.prototype.getEvent=function(t){var e=this._mAllEvents[t];return typeof e===\"object\"?e:undefined};l.prototype.getEvents=function(){return this._mEvents};l.prototype.getAllEvents=function(){return this._mAllEvents};l.prototype.addSpecialSetting=function(t,e){var i=new _(this,t,e);this._mSpecialSettings[t]=i;if(!this._mAllSpecialSettings[t]){this._mAllSpecialSettings[t]=i}};l.prototype.hasSpecialSetting=function(t){return!!this._mAllSpecialSettings[t]};l.prototype.getPropertyDefaults=function(){var t=this._mDefaults,e;if(t){return t}if(this.getParent()instanceof l){t=Object.assign({},this.getParent().getPropertyDefaults())}else{t={}}for(e in this._mProperties){t[e]=this._mProperties[e].getDefaultValue()}for(e in this._mPrivateProperties){t[e]=this._mPrivateProperties[e].getDefaultValue()}this._mDefaults=t;return t};l.prototype.createPropertyBag=function(){if(!this._fnPropertyBagFactory){this._fnPropertyBagFactory=function t(){};this._fnPropertyBagFactory.prototype=this.getPropertyDefaults()}return new this._fnPropertyBagFactory};l.prototype.getJSONKeys=function(){if(this._mJSONKeys){return this._mJSONKeys}var t={},e={};function i(i){var r,n,s;for(r in i){n=i[r];s=t[r];if(!s||n._iKind<s._iKind){t[r]=e[r]=n}e[n._sUID]=n}}i(this._mAllSpecialSettings);i(this.getAllProperties());i(this.getAllAggregations());i(this.getAllAssociations());i(this.getAllEvents());this._mJSONKeys=e;this._mAllSettings=t;return this._mJSONKeys};l.prototype.getAllSettings=function(){if(!this._mAllSettings){this.getJSONKeys()}return this._mAllSettings};l.prototype.removeUnknownSettings=function(t){n(t==null||typeof t===\"object\",\"mSettings must be null or undefined or an object\");if(t==null){return t}var e=this.getJSONKeys(),i={},r;for(r in t){if(Object.hasOwn(e,r)){i[r]=t[r]}}return i};l.prototype.generateAccessors=function(){var t=this.getClass().prototype,e=this.getName()+\".\",i=this._aPublicMethods,r;function n(r,n,s){if(!t[r]){t[r]=s&&s.deprecated?m(n,e+s.name):n}i.push(r)}for(r in this._mProperties){this._mProperties[r].generate(n)}for(r in this._mAggregations){this._mAggregations[r].generate(n)}for(r in this._mAssociations){this._mAssociations[r].generate(n)}for(r in this._mEvents){this._mEvents[r].generate(n)}};function w(t){return new Promise(function(e,i){sap.ui.require([\"sap/ui/core/Lib\"],function(i){var r=t.getLibraryName(),n=i.getPreloadMode(),s=i.all()[r];if(s&&s.designtime){var o;if(n===\"async\"||n===\"sync\"){o=sap.ui.loader._.loadJSResourceAsync(s.designtime.replace(/\\.designtime$/,\"-preload.designtime.js\"),true)}else{o=Promise.resolve()}e(new Promise(function(t,e){o.then(function(){sap.ui.require([s.designtime],function(e){t(e)},e)})}))}e(null)},i)})}function D(t){if(u(t._oDesignTime)||!t._oDesignTime){return Promise.resolve(t._oDesignTime||{})}return new Promise(function(e,i){var r;if(typeof t._oDesignTime===\"string\"){r=t._oDesignTime}else{r=t.getName().replace(/\\./g,\"/\")+\".designtime\"}w(t).then(function(n){sap.ui.require([r],function(i){i.designtimeModule=r;t._oDesignTime=i;i._oLib=n;e(i)},i)})})}var S={};l.setDesignTimeDefaultMapping=function(t){S=t};function E(t){var e=i.isObjectA(t,\"sap.ui.base.ManagedObject\")&&typeof t.data===\"function\"&&t.data(\"sap-ui-custom-settings\")&&t.data(\"sap-ui-custom-settings\")[\"sap.ui.dt\"]&&t.data(\"sap-ui-custom-settings\")[\"sap.ui.dt\"].designtime;if(typeof e===\"string\"){e=S[e]||e;return new Promise(function(i,r){sap.ui.require([e],function(e){if(typeof e===\"function\"){i(e(t))}else{i(e)}},r)})}else{return Promise.resolve({})}}function N(t,e){var i=t;if(\"default\"in t){i=g({},t.default,e!==\"default\"&&t[e]||null)}return i}function M(t,e,i){return g({},N(e,i),{templates:{create:null}},N(t,i),{designtimeModule:t.designtimeModule||undefined,_oLib:t._oLib})}l.prototype.loadDesignTime=function(t,e){e=typeof e===\"string\"&&e||\"default\";var i=E(t);if(!this._oDesignTimePromise){var r;var n=this.getParent();if(n instanceof l){r=n.loadDesignTime(null,e)}else{r=Promise.resolve({})}this._oDesignTimePromise=D(this).then(function(t){return r.then(function(i){return M(t,i,e)})})}return Promise.all([i,this._oDesignTimePromise]).then(function(t){var i=t[0],r=t[1];return g({},r,N(i||{},e))})};var O={},j;function R(t){n(!/[0-9]+$/.exec(t),\"AutoId Prefixes must not end with numbers\");t=l.getUIDPrefix()+t;var e=O[t]||0;O[t]=e+1;return t+e}l.uid=R;l.getUIDPrefix=function(){if(j===undefined){j=s.get({name:\"sapUiUidPrefix\",type:s.Type.String,defaultValue:\"__\",freeze:true})}return j};l.prototype.uid=function(){var t=this._sUIDToken;if(typeof t!==\"string\"){t=this.getName();t=t.slice(t.lastIndexOf(\".\")+1);t=t.replace(/([a-z])([A-Z])/g,\"$1 $2\").split(\" \").slice(-1)[0];t=this._sUIDToken=t.replace(/([^A-Za-z0-9-_.:])|([0-9]+$)/g,\"\").toLowerCase()}return R(t)};var G;l.isGeneratedId=function(t){G=G||new RegExp(\"(^|-{1,3})\"+a(l.getUIDPrefix()));return G.test(t)};return l},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/ManagedObjectRegistry\", [\"sap/ui/base/ManagedObject\",\"sap/base/Log\",\"sap/base/assert\"],function(e,t,n){\"use strict\";const i={create(i){const r=Object.create(null);let o=0;i??={};const a={init(n){if(typeof n!==\"function\"||!(n.prototype instanceof e)){throw new TypeError(\"ManagedObjectRegistry mixin can only be applied to subclasses of sap.ui.base.ManagedObject\")}var s=i.onDuplicate||function(e,i,r){var o=n.getMetadata().getStereotype();t.error('adding object \"'+o+\"\\\" with duplicate id '\"+e+\"'\");throw new Error('Error: adding object \"'+o+\"\\\" with duplicate id '\"+e+\"'\")};var c=i.onDeregister||null;n.prototype.register=function e(){var t=this.getId(),n=r[t];if(n&&n!==this){s(t,n,this);o--}r[t]=this;o++};n.prototype.deregister=function e(){var t=this.getId();if(r[t]){if(c){c(t)}delete r[t];o--}};delete a.init;Object.freeze(a)},get size(){return o},all:function(){var e=Object.create(null);return Object.assign(e,r)},get:function(e){n(e==null||typeof e===\"string\",\"id must be a string when defined\");return e==null?undefined:r[e]},forEach:function(e,t){if(typeof e!==\"function\"){throw new TypeError(e+\" is not a function\")}if(t!=null){e=e.bind(t)}for(var n in r){e(r[n],n)}},filter:function(e,t){if(typeof e!==\"function\"){throw new TypeError(e+\" is not a function\")}if(t!=null){e=e.bind(t)}var n=[],i;for(i in r){if(e(r[i],i)){n.push(r[i])}}return n}};return a},apply(e,t){const n=i.create(t);n.init(e);e.registry=n}};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/Metadata\", [\"sap/base/util/ObjectPath\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/array/uniqueSort\"],function(t,e,a,s){\"use strict\";function r(t){return typeof t===\"function\"}var n=function(a,s){e(typeof a===\"string\"&&a,\"Metadata: sClassName must be a non-empty string\");e(typeof s===\"object\",\"Metadata: oClassInfo must be empty or an object\");if(!s||typeof s.metadata!==\"object\"){s={metadata:s||{},constructor:t.get(a)};s.metadata.__version=1}s.metadata??={};s.metadata.__version=s.metadata.__version||2;if(!r(s.constructor)){throw Error(\"constructor for class \"+a+\" must have been declared before creating metadata for it\")}this._sClassName=a;this._oClass=s.constructor;this.extend(s)};n.prototype.extend=function(t){this.applySettings(t);this.afterApplySettings()};n.prototype.applySettings=function(s){var o=this,i=s.metadata,p;if(i.baseType){var c,u=r(i.baseType);if(u){c=i.baseType;if(!r(c.getMetadata)){throw new TypeError(\"baseType must be a UI5 class with a static getMetadata function\")}}if(!u){c=t.get(i.baseType);if(!r(c)){a.fatal(\"base class '\"+i.baseType+\"' does not exist\")}}if(c.getMetadata){this._oParent=c.getMetadata();e(c===c.getMetadata().getClass(),\"Metadata: oParentClass must match the class in the parent metadata\")}else{this._oParent=new n(i.baseType,{})}}else{this._oParent=undefined}this._bAbstract=!!i[\"abstract\"];this._bFinal=!!i[\"final\"];this._sStereotype=i.stereotype||(this._oParent?this._oParent._sStereotype:\"object\");this._bDeprecated=!!i[\"deprecated\"];this._aInterfaces=i.interfaces||[];this._aPublicMethods=i.publicMethods||[];this._bInterfacesUnique=false;p=this._oClass.prototype;for(var f in s){if(f!==\"metadata\"&&f!==\"constructor\"){p[f]=s[f];if(!f.match(/^_|^on|^init$|^exit$/)){o._aPublicMethods.push(f)}}}};n.prototype.afterApplySettings=function(){if(this._oParent){this._aAllPublicMethods=this._oParent._aAllPublicMethods.concat(this._aPublicMethods);this._bInterfacesUnique=false}else{this._aAllPublicMethods=this._aPublicMethods}};n.prototype.getStereotype=function(){return this._sStereotype};n.prototype.getName=function(){return this._sClassName};n.prototype.getClass=function(){return this._oClass};n.prototype.getParent=function(){return this._oParent};n.prototype._dedupInterfaces=function(){if(!this._bInterfacesUnique){s(this._aInterfaces);s(this._aPublicMethods);s(this._aAllPublicMethods);this._bInterfacesUnique=true}};n.prototype.getPublicMethods=function(){this._dedupInterfaces();return this._aPublicMethods};n.prototype.getAllPublicMethods=function(){this._dedupInterfaces();return this._aAllPublicMethods};n.prototype.getInterfaces=function(){this._dedupInterfaces();return this._aInterfaces};n.prototype.isInstanceOf=function(t){if(this._oParent){if(this._oParent.isInstanceOf(t)){return true}}var e=this._aInterfaces;for(var a=0,s=e.length;a<s;a++){if(e[a]===t){return true}}return false};Object.defineProperty(n.prototype,\"_mImplementedTypes\",{get:function(){if(this===n.prototype){throw new Error(\"sap.ui.base.Metadata: The '_mImplementedTypes' property must not be accessed on the prototype\")}var t=Object.create(this._oParent?this._oParent._mImplementedTypes:null);t[this._sClassName]=true;var e=this._aInterfaces,a=e.length;while(a-- >0){if(!t[e[a]]){t[e[a]]=true}}Object.defineProperty(this,\"_mImplementedTypes\",{value:Object.freeze(t),writable:false,configurable:false});return t},configurable:true});n.prototype.isA=function(t){var e=this._mImplementedTypes;if(Array.isArray(t)){for(var a=0;a<t.length;a++){if(t[a]in e){return true}}return false}return t in e};n.prototype.isAbstract=function(){return this._bAbstract};n.prototype.isFinal=function(){return this._bFinal};n.prototype.isDeprecated=function(){return this._bDeprecated};n.prototype.addPublicMethods=function(t){var e=t instanceof Array?t:arguments;Array.prototype.push.apply(this._aPublicMethods,e);Array.prototype.push.apply(this._aAllPublicMethods,e);this._bInterfacesUnique=false};n.prototype.getStaticProperty=function(t){let e=this;while(e&&!(t in e.getClass())){e=e.getParent()}const a=e?.getClass();return a?.[t]};n.createClass=function(s,o,i,p){if(typeof s===\"string\"){p=i;i=o;o=s;s=null}e(!s||r(s));e(typeof o===\"string\"&&!!o);e(!i||typeof i===\"object\");e(!p||r(p));p=p||n;if(r(p.preprocessClassInfo)){i=p.preprocessClassInfo(i)}i=i||{};i.metadata=i.metadata||{};if(!i.hasOwnProperty(\"constructor\")){i.constructor=undefined}var c=i.constructor;e(!c||r(c));if(s){if(!c){if(i.metadata.deprecated){c=function(){a.warning(\"Usage of deprecated class: \"+o);s.apply(this,arguments)}}else{c=function(){s.apply(this,arguments)}}}c.prototype=Object.create(s.prototype);c.prototype.constructor=c;i.metadata.baseType=s}else{c=c||function(){};delete i.metadata.baseType}i.constructor=c;t.set(o,c);var u=new p(o,i);c.getMetadata=c.prototype.getMetadata=function(){return u};if(!c.getMetadata().isFinal()){c.extend=function(t,e,a){return n.createClass(c,t,e,a||p)}}return c};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/Object\", [\"./Metadata\",\"sap/base/Log\"],function(t,e){\"use strict\";var n=t.createClass(\"sap.ui.base.Object\",{constructor:function(){if(!(this instanceof n)){throw Error('Cannot instantiate object: \"new\" is missing!')}}});n.prototype.destroy=function(){};n.prototype.getInterface=function(){var t=new n._Interface(this,this.getMetadata().getAllPublicMethods());this.getInterface=function(){return t};return t};n.defineClass=function(n,r,a){var i=new(a||t)(n,r);var s=i.getClass();s.getMetadata=s.prototype.getMetadata=function(){return i};if(!i.isFinal()){s.extend=function(e,n,r){return t.createClass(s,e,n,r||a)}}e.debug(\"defined class '\"+n+\"'\"+(i.getParent()?\" as subclass of \"+i.getParent().getName():\"\"));return i};n.prototype.isA=function(t){return this.getMetadata().isA(t)};n.isA=function(t,e){return t instanceof n&&t.isA(e)};n.isObjectA=function(t,e){return t instanceof n&&t.isA(e)};n._Interface=function(t,e,r){if(!t){return t}function a(t,e){return function(){var a=t[e].apply(t,arguments);if(r){return this}else{return a instanceof n?a.getInterface():a}}}if(!e){return{}}var i;for(var s=0,o=e.length;s<o;s++){i=e[s];if(!t[i]||typeof t[i]===\"function\"){this[i]=a(t,i)}}};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/OwnStatics\", function(){\"use strict\";const e=new WeakMap;const t={get(t){return e.get(t)},set(t,n){if(e.get(t)){throw new TypeError(\"The 'OwnStatics' can only be defined once for a class\")}Object.freeze(n);e.set(t,n)}};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/SyncPromise\", [],function(){\"use strict\";var t=new r(function(t,n){t()}),n=new r(function(t,n){t(null)});function e(t,n,e){var i;function r(t){if(!i){i=true;e(t)}}function u(t){if(!i){i=true;n(t)}}try{t(u,r)}catch(t){r(t)}}function i(t){return t&&(typeof t===\"function\"||typeof t===\"object\")&&\"then\"in t}function r(t){var n=false,u,f,o,s,c=this;function h(t){s=t;u=-1;if(!n&&r.listener){r.listener(c,false)}if(f){f(t);f=o=null}}function l(t){var n;if(t===c){h(new TypeError(\"A promise cannot be resolved with itself.\"));return}if(t instanceof r){if(t.isFulfilled()){l(t.getResult());return}if(t.isRejected()){t.caught();h(t.getResult());return}t.caught();t=t.getResult()}u=0;s=t;if(i(s)){try{n=s.then}catch(t){h(t);return}if(typeof n===\"function\"){e(n.bind(s),l,h);return}}u=1;if(o){o(s);f=o=null}}this.caught=function(){if(!n){n=true;if(r.listener&&this.isRejected()){r.listener(this,true)}}};this.getResult=function(){return s};this.isFulfilled=function(){return u===1};this.isPending=function(){return!u};this.isRejected=function(){return u===-1};e(t,l,h);if(u===undefined){s=new Promise(function(t,n){o=t;f=n});s.catch(function(){})}}r.prototype.catch=function(t){return this.then(undefined,t)};r.prototype.finally=function(t){if(typeof t===\"function\"){return this.then(function(n){return r.resolve(t()).then(function(){return n}).unwrap()},function(n){return r.resolve(t()).then(function(){throw n}).unwrap()})}return this.then(t,t)};r.prototype.then=function(t,n){var e=this.isFulfilled()?t:n,i=typeof e===\"function\",u=this.isPending(),f=this;if(u||i){this.caught()}if(!u){return i?new r(function(t,n){t(e(f.getResult()))}):this}return r.resolve(this.getResult().then(t,n))};r.prototype.toString=function(){if(this.isPending()){return\"SyncPromise: pending\"}return String(this.getResult())};r.prototype.unwrap=function(){this.caught();if(this.isRejected()){throw this.getResult()}return this.getResult()};r.all=function(t){return new r(function(n,e){var r=false,u=0;function f(){if(r&&u===0){n(t)}}t=Array.prototype.slice.call(t);t.forEach(function(n,r){if(n!==t[r+1]&&i(n)){u+=1;n.then(function(e){do{t[r]=e;r-=1}while(r>=0&&n===t[r]);u-=1;f()},function(t){e(t)})}});r=true;f()})};r.isThenable=function(t){try{return!!i(t)&&typeof t.then===\"function\"}catch(t){return false}};r.reject=function(t){return new r(function(n,e){e(t)})};r.resolve=function(e){if(e===undefined){return t}if(e===null){return n}if(e instanceof r){return e}return new r(function(t,n){t(e)})};r._withResolvers=function(){var t,n;return{promise:new r((e,i)=>{n=e;t=i}),resolve:n,reject:t}};r.withResolvers=Promise.withResolvers??r._withResolvers;return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/syncXHRFix\", [],function(){\"use strict\";var t=function(){(function(){var t=false,n=false;var e=Promise.prototype.then,r=Promise.prototype.catch,i=window.setTimeout,o=window.setInterval,a=[];function u(t){if(!n){n=true;i(function(){var t=a;a=[];n=false;t.forEach(function(t){t()})},0)}a.push(t)}function c(e,r,i){if(typeof e!==\"function\"){return e}return function(){var r=Array.prototype.slice.call(arguments);if(t||n){return new Promise(function(t,n){u(function(){var i;try{i=e.apply(window,r);t(i)}catch(t){n(t)}})})}return e.apply(window,r)}}Promise.prototype.then=function(t,n){var r=c(t),i=c(n);return e.call(this,r,i)};Promise.prototype.catch=function(t){var n=c(t);return r.call(this,n)};function f(t){var e=function(){var r,o;if(n){r=[e,0].concat(arguments);i.apply(window,r)}else{o=typeof t!==\"function\"?new Function(t):t;o.apply(window,arguments)}};return e}window.setTimeout=function(t){var n=Array.prototype.slice.call(arguments);if(n.length!==0){n[0]=f(t)}return i.apply(window,n)};window.setInterval=function(t){var n=Array.prototype.slice.call(arguments);if(n.length!==0){n[0]=f(t)}return o.apply(window,n)};window.XMLHttpRequest=new Proxy(window.XMLHttpRequest,{construct:function(n,e,r){var o=new n,a=false,u=false,c=0,f;function p(n){var e=function(r){var p=o.readyState;function l(){c=p;if(e.active){return n.call(f,r)}}if(!a&&t){u=true}if(u){i(l,0);return true}return l()};n.wrappedHandler=e;e.active=true;return e}function l(t){return s(t.wrappedHandler)}function s(t){if(typeof t===\"function\"){t.active=false}return t}f=new Proxy(o,{get:function(n,e,r){var i=n[e];switch(e){case\"readyState\":return c;case\"addEventListener\":return function(t,e,r){i.call(n,t,p(e),r)};case\"removeEventListener\":return function(t,e,r){i.call(n,t,l(e),r)};case\"open\":return function(t,e,r){a=r===false;i.apply(n,arguments);c=n.readyState};case\"send\":return function(){t=a;try{i.apply(n,arguments)}finally{c=n.readyState;t=false}}}if(typeof i===\"function\"){return function(){return i.apply(n,arguments)}}return i},set:function(t,n,e){if(n.indexOf(\"on\")===0){s(t[n]);if(typeof e===\"function\"){t[n]=p(e);return true}}t[n]=e;return true}});f.addEventListener(\"readystatechange\",function(){});return f}})})()};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/AnimationMode\", [],function(){\"use strict\";var i={full:\"full\",basic:\"basic\",minimal:\"minimal\",none:\"none\"};return i});\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Component\", [\"./Manifest\",\"./ComponentHooks\",\"./ComponentMetadata\",\"./ElementRegistry\",\"sap/base/config\",\"sap/base/future\",\"sap/base/i18n/Localization\",\"sap/base/util/extend\",\"sap/base/util/deepExtend\",\"sap/base/util/merge\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/OwnStatics\",\"sap/ui/core/Lib\",\"sap/ui/core/ResizeHandler\",\"sap/ui/thirdparty/URI\",\"sap/ui/performance/trace/Interaction\",\"sap/ui/util/_enforceNoReturnValue\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/Deferred\",\"sap/base/util/ObjectPath\",\"sap/base/util/isPlainObject\",\"sap/base/util/LoaderExtensions\",\"sap/base/strings/camelize\",\"sap/ui/core/_UrlResolver\",\"sap/ui/VersionInfo\",\"sap/ui/core/mvc/ViewType\",\"sap/ui/core/ComponentRegistry\",\"sap/ui/core/util/_LocalizationHelper\"],function(e,t,n,o,i,r,a,s,u,c,f,p,d,l,m,g,h,v,y,M,w,_,b,C,S,O,E,T,A){\"use strict\";const{runWithOwner:P,getCurrentOwnerId:U}=p.get(f);var I={lazy:\"lazy\",eager:\"eager\",waitFor:\"waitFor\"};function j(e){return{name:e,type:i.Type.String,external:true}}function x(e){[\"sap-client\",\"sap-server\"].forEach(function(t){if(!e.hasSearch(t)){var n=i.get(j(C(t)));if(n){e.addSearch(t,n)}}})}function D(e,t,n,o){if(n){for(var i in e){if(!t[i]&&n[i]&&n[i].uri){t[i]=o}}}}function N(e,t,o,i){var r=t.getEntry(o);if(r!==undefined&&!_(r)){return r}var a,s;if(i&&(a=e.getParent())instanceof n){s=a._getManifestEntry(o,i)}if(s||r){r=u({},s,r)}return r}function k(e,t){var n=Object.create(Object.getPrototypeOf(e));n._oMetadata=e;n._oManifest=t;for(var o in e){if(!/^(getManifest|_getManifest|getManifestObject|getManifestEntry|_getManifestEntry|getMetadataVersion)$/.test(o)&&typeof e[o]===\"function\"){n[o]=e[o].bind(e)}}n.getManifest=function(){return this._getManifest()};n.getManifestEntry=function(e,t){return this._getManifestEntry(e,t)};n._getManifest=function(){return t&&t.getJson()};n.getManifestObject=function(){return t};n._getManifestEntry=function(n,o){return N(e,t,n,o)};n.getMetadataVersion=function(){return 2};n.collectRoutingClasses=e.collectRoutingClasses;n[Symbol(\"isProxy\")]=true;return n}let R;const B=()=>{R??=new Promise((e,t)=>{sap.ui.require([\"sap/ui/core/_CommandPool\"],e,t)});return R};const $=async e=>{if(e?.getEntry(\"/sap.ui5/commands\")){const t=await B();t.resolve(e)}};const F=e=>{if(e?.getEntry(\"/sap.ui5/commands\")){const t=sap.ui.requireSync(\"sap/ui/core/_CommandPool\");t.resolve(e)}};var H=f.extend(\"sap.ui.core.Component\",{constructor:function(e,t){var n=Array.prototype.slice.call(arguments);if(typeof e!==\"string\"){t=e;e=undefined}if(t&&typeof t._metadataProxy===\"object\"){this._oMetadataProxy=t._metadataProxy;this._oManifest=t._metadataProxy._oManifest;delete t._metadataProxy;this.getMetadata=function(){return this._oMetadataProxy}}if(t&&typeof t._cacheTokens===\"object\"){this._mCacheTokens=t._cacheTokens;delete t._cacheTokens}if(t&&Array.isArray(t._activeTerminologies)){this._aActiveTerminologies=t._activeTerminologies;delete t._activeTerminologies}if(t&&typeof t._componentConfig===\"object\"){this._componentConfig=t._componentConfig;delete t._componentConfig}(()=>{this._bSyncCreation=t?._syncCreation??true;delete t?._syncCreation})();if(t&&typeof t._manifestModels===\"object\"){this._mManifestModels=t._manifestModels;delete t._manifestModels}else{this._mManifestModels={}}this._mServices={};this._oKeepAliveConfig=this.getManifestEntry(\"/sap.ui5/keepAlive\");if(this._oKeepAliveConfig){this._oKeepAliveConfig.supported=!!this._oKeepAliveConfig.supported}this._bIsActive=true;this._aDestroyables=[];f.apply(this,n)},metadata:{stereotype:\"component\",abstract:true,specialSettings:{componentData:\"any\"},version:\"0.0\",includes:[],dependencies:{libs:[],components:[],ui5version:\"\"},config:{},customizing:{},library:\"sap.ui.core\"}},n);T.init(H);function L(e,t){o.forEach(function(n,o){var i=H.getOwnerIdFor(n);if(i===t&&!n.getParent()){e(n,o)}})}function W(e){var t,n;if(i.get({name:\"sapUiXxDisableCustomizing\",type:i.Type.Boolean})){return t}if(typeof e===\"string\"){n=e}else if(e&&typeof e.isA===\"function\"&&!e.isA(\"sap.ui.core.Component\")){n=H.getOwnerIdFor(e)}else{t=e}if(n){t=H.getComponentById(n)}if(t){if(t.getExtensionComponent){t=t.getExtensionComponent();if(!t){throw new Error(\"getExtensionComponent() must return an instance.\")}}}return t}H.getCustomizing=function(e,t){var n=t.type,o=t.name?\"/\"+t.name:\"\",i=\"/sap.ui5/extends/extensions/\"+n+o;if(n===\"sap.ui.viewExtensions\"){i+=\"/\"+t.extensionName}var r=W(e);return r?r._getManifestEntry(i,true):undefined};H.getComponentPreloadMode=function(){return i.get({name:\"sapUiXxComponentPreload\",type:i.Type.String,external:true})||d.getPreloadMode()};H.prototype.getManifest=function(){if(!this._oManifest){return this.getMetadata()._getManifest()}else{return this._oManifest.getJson()}};H.prototype.getManifestEntry=function(e){return this._getManifestEntry(e)};H.prototype._getManifestEntry=function(e,t){if(!this._oManifest){return this.getMetadata()._getManifestEntry(e,t)}else{return N(this.getMetadata(),this._oManifest,e,t)}};H.prototype.getManifestObject=function(){if(!this._oManifest){return this.getMetadata().getManifestObject()}else{return this._oManifest}};H.prototype._isVariant=function(){if(this._oManifest){var e=this.getManifestEntry(\"/sap.ui5/componentName\");return e&&e!==this.getManifestEntry(\"/sap.app/id\")}else{return false}};H.activateCustomizing=function(e){};H.deactivateCustomizing=function(e){};H.getOwnerIdFor=function(e){v(e instanceof f,\"oObject must be given and must be a ManagedObject\");var t=e instanceof f&&e._sOwnerId;return t||undefined};H.getOwnerComponentFor=function(e){return H.getComponentById(H.getOwnerIdFor(e))};H.prototype.runAsOwner=function(e){if(!this.isActive()){throw new Error(\"Execute 'runAsOwner' on an inactive owner component is not supported. Component: '\"+this.getMetadata().getName()+\"' with id '\"+this.getId()+\"'.\")}return P(e,this.getId())};H.prototype.getInterface=function(){return this};H.prototype._initCompositeSupport=function(e){this.oComponentData=e&&e.componentData;if(this._oManifest){this._oManifest.init(this)}else{this.getMetadata().init()}if(this._isVariant()){var t=this._oManifest.getEntry(\"/sap.app/id\");if(t){Y(t,this._oManifest.resolveUri(\"./\",\"manifest\"))}}this.initComponentModels();(()=>{if(this.onWindowError){this._fnWindowErrorHandler=function(e){var t=e.originalEvent;this.onWindowError(t.message,t.filename,t.lineno)}.bind(this);window.addEventListener(\"error\",this._fnWindowErrorHandler)}if(this.onWindowBeforeUnload){this._fnWindowBeforeUnloadHandler=function(e){var t=this.onWindowBeforeUnload.apply(this,arguments);if(typeof t===\"string\"){e.returnValue=t;e.preventDefault();return t}}.bind(this);window.addEventListener(\"beforeunload\",this._fnWindowBeforeUnloadHandler)}if(this.onWindowUnload){this._fnWindowUnloadHandler=this.onWindowUnload.bind(this);window.addEventListener(\"unload\",this._fnWindowUnloadHandler)}})()};H.prototype._getDestroyables=function(){if(!this._aDestroyables){r.errorThrows(`${this.getManifestObject().getComponentName()}: A sub-class of sap.ui.core.Component which overrides the constructor must apply the super constructor as well.`,null,\"sap.ui.support\",function(){return{type:\"missingSuperConstructor\"}});this._aDestroyables=[]}return this._aDestroyables};H.prototype.destroy=function(){var e,t=false;for(var n in this._mServices){if(this._mServices[n].instance){this._mServices[n].instance.destroy()}}delete this._mServices;for(var o in this._mManifestModels){this._mManifestModels[o].destroy()}delete this._mManifestModels;(()=>{if(this._fnWindowErrorHandler){window.removeEventListener(\"error\",this._fnWindowErrorHandler);delete this._fnWindowErrorHandler}if(this._fnWindowBeforeUnloadHandler){window.removeEventListener(\"beforeunload\",this._fnWindowBeforeUnloadHandler);delete this._fnWindowBeforeUnloadHandler}if(this._fnWindowUnloadHandler){window.removeEventListener(\"unload\",this._fnWindowUnloadHandler);delete this._fnWindowUnloadHandler}})();if(this._oEventBus){this._oEventBus.destroy();delete this._oEventBus}function i(e){if(e&&!e._bIsBeingDestroyed){e.destroy()}}function r(e){t=true}var a=this._getDestroyables();for(var s=0;s<a.length;s++){a[s]=a[s].then(i,r)}if(a.length>0){e=Promise.all(a).then(function(){if(t){L(function(e){e.destroy()},this.getId())}}.bind(this))}f.prototype.destroy.apply(this,arguments);const u=sap.ui.require(\"sap/ui/core/Messaging\");u?.unregisterObject(this);if(this._oManifest){this._oManifest.exit(this);delete this._oManifest}else{this.getMetadata().exit()}return e};H.prototype.getComponentData=function(){return this.oComponentData};H.prototype.getEventBus=function(){if(!this._oEventBus){var e=sap.ui.require(\"sap/ui/core/EventBus\");if(!e){var t=this.getMetadata().getName();r.warningThrows(\"The module 'sap/ui/core/EventBus' needs to be required before calling #getEventBus() on Component '\"+t+\"'.\");(()=>{y.warning(\"Synchronous loading of EventBus, due to #getEventBus() call on Component '\"+t+\"'.\",\"SyncXHR\",null,function(){return{type:\"SyncXHR\",name:t}});e=sap.ui.requireSync(\"sap/ui/core/EventBus\")})()}this._oEventBus=new e;if(!this.isActive()){this._oEventBus.suspend()}}return this._oEventBus};H.prototype.isActive=function(){return this._bIsActive};H.prototype.initComponentModels=function(){var e=this.getMetadata();if(e.isBaseClass()){return}var t=this._getManifestEntry(\"/sap.app/dataSources\",true)||{};var n=this._getManifestEntry(\"/sap.ui5/models\",true)||{};this._initComponentModels(n,t,this._mCacheTokens)};H.prototype._initComponentModels=function(e,t,n){var o=this.getManifestObject().getComponentName();var i=J({models:e,dataSources:t,componentName:o});if(this._bSyncCreation){K(i,o,this._bSyncCreation)}var r=V({models:i,dataSources:t,component:this,mergeParent:true,cacheTokens:n,activeTerminologies:this.getActiveTerminologies()}),a={},s;if(!r){return}for(s in r){if(!this._mManifestModels[s]){a[s]=r[s]}}var u=Q(a,this._componentConfig,this.getManifestObject());for(s in u){this._mManifestModels[s]=u[s]}for(s in this._mManifestModels){var c=this._mManifestModels[s];this.setModel(c,s||undefined)}};H.prototype.getService=function(e){if(!this._mServices[e]){this._mServices[e]={};this._mServices[e].promise=new Promise(function(t,n){sap.ui.require([\"sap/ui/core/service/ServiceFactoryRegistry\"],function(o){var i=this._getManifestEntry(\"/sap.ui5/services/\"+e,true);var r=i&&i.factoryName;if(!r){n(new Error(\"Service \"+e+\" not declared!\"));return}var a=o.get(r);if(a){a.createInstance({scopeObject:this,scopeType:\"component\",settings:i.settings||{}}).then(function(o){if(!this.bIsDestroyed){this._mServices[e].instance=o;this._mServices[e].interface=o.getInterface();t(this._mServices[e].interface)}else{n(new Error(\"Service \"+e+\" could not be loaded as its Component was destroyed.\"))}}.bind(this)).catch(n)}else{var s=\"The ServiceFactory \"+r+\" for Service \"+e+\" not found in ServiceFactoryRegistry!\";var u=this._getManifestEntry(\"/sap.ui5/services/\"+e+\"/optional\",true);if(!u){y.error(s)}n(new Error(s))}}.bind(this),n)}.bind(this))}return this._mServices[e].promise};function q(e,t){var n=e._getManifestEntry(\"/sap.ui5/services\",true);var o=t?[]:null;if(!n){return o}var i=Object.keys(n);if(!t&&i.some(function(e){return n[e].startup===I.waitFor})){throw new Error('The specified component \"'+e.getMetadata().getName()+'\" cannot be loaded in sync mode since it has some services declared with \"startup\" set to \"waitFor\"')}return i.reduce(function(t,o){if(n[o].lazy===false||n[o].startup===I.waitFor||n[o].startup===I.eager){var i=e.getService(o);if(n[o].startup===I.waitFor){t.push(i)}}return t},o)}H.prototype.createComponent=function(e){v(typeof e===\"string\"&&e||typeof e===\"object\"&&typeof e.usage===\"string\"&&e.usage,\"vUsage either must be a non-empty string or an object with a non-empty usage id\");var t={async:true};if(e){var n;if(typeof e===\"object\"){n=e.usage;[\"id\",\"async\",\"settings\",\"componentData\"].forEach(function(n){if(e[n]!==undefined){t[n]=e[n]}})}else if(typeof e===\"string\"){n=e}t=this._enhanceWithUsageConfig(n,t)}if(!this.isActive()){throw new Error(\"Creation of component '\"+t.name+\"' is not possible due to inactive owner component '\"+this.getId()+\"'\")}const o=t.async;const i=this.runAsOwner(()=>{if(o===true){return H.create(t)}else{return sap.ui.component(t)}});if(i instanceof Promise){this.registerForDestroy(i)}return i};H.prototype._enhanceWithUsageConfig=function(e,t){var n=this.getManifestEntry(\"/sap.ui5/componentUsages/\"+e);if(!n){throw new Error('Component usage \"'+e+'\" not declared in Component \"'+this.getManifestObject().getComponentName()+'\"!')}if(n.activeTerminologies){throw new Error(\"Terminologies vector can't be used in component usages\")}return u(n,t)};H.prototype.getActiveTerminologies=function(){return this._aActiveTerminologies?this._aActiveTerminologies.slice():undefined};function z(e,t,n){var o=n?\"Model\":\"DataSource\";var r=n?'[\"sap.ui5\"][\"models\"]':'[\"sap.app\"][\"dataSources\"]';var a=n&&n[\"sap-language\"]||e.search(true)[\"sap-language\"];var s=n&&n[\"sap-client\"]||e.search(true)[\"sap-client\"];if(!a){y.warning('Component Manifest: Ignoring provided \"sap-context-token='+t.cacheToken+'\" for '+o+' \"'+t.dataSource+'\" ('+e.toString()+\"). \"+'Missing \"sap-language\" URI parameter',r+'[\"'+t.dataSource+'\"]',t.componentName);return}if(!s){y.warning('Component Manifest: Ignoring provided \"sap-context-token='+t.cacheToken+'\" for '+o+' \"'+t.dataSource+'\" ('+e.toString()+\"). \"+'Missing \"sap-client\" URI parameter',r+'[\"'+t.dataSource+'\"]',t.componentName);return}var u=i.get(j(\"sapClient\"));if(s!==u){y.warning('Component Manifest: Ignoring provided \"sap-context-token='+t.cacheToken+'\" for '+o+' \"'+t.dataSource+'\" ('+e.toString()+\"). \"+'URI Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarDateIntervalRenderer\", [\"sap/ui/core/Renderer\",\"./CalendarRenderer\"],function(e,a){\"use strict\";var n=e.extend(a);n.apiVersion=2;n.renderCalContentOverlay=function(){};n.renderCalContentAndArrowsOverlay=function(e,a,n){if(a.getPickerPopup()){e.openStart(\"div\",n+\"-contentOver\");e.class(\"sapUiCalContentOver\");if(!a._oPopup||!a._oPopup.isOpen()){e.style(\"display\",\"none\")}e.openEnd();e.close(\"div\")}};n.addAttributes=function(e,a){e.class(\"sapUiCalInt\");e.class(\"sapUiCalDateInt\");var n=a._getDays();if(n>a._getDaysLarge()){e.class(\"sapUiCalIntLarge\")}if(n>a._iDaysMonthHead){e.class(\"sapUiCalIntHead\")}if(a.getShowDayNamesLine()){e.class(\"sapUiCalWithDayNamesLine\")}if(a.getShowWeekNumbers()){e.class(\"sapUiCalWithWeekNumbers\")}};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarLegend\", [\"sap/ui/core/Control\",\"./library\",\"./CalendarLegendRenderer\",\"sap/base/Log\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/thirdparty/jquery\",\"sap/ui/unified/CalendarLegendItem\",\"sap/ui/Device\",\"sap/ui/core/delegate/ItemNavigation\"],function(e,t,i,a,n,r,jQuery,o,s,d){\"use strict\";var p=r.getResourceBundleFor(\"sap.ui.unified\");var g=t.CalendarDayType;var l=t.StandardCalendarLegendItem;var u=e.extend(\"sap.ui.unified.CalendarLegend\",{metadata:{library:\"sap.ui.unified\",properties:{standardItems:{type:\"string[]\",group:\"Misc\",defaultValue:[\"Today\",\"Selected\",\"WorkingDay\",\"NonWorkingDay\"]},columnWidth:{type:\"sap.ui.core.CSSSize\",group:\"Misc\",defaultValue:\"120px\"}},aggregations:{items:{type:\"sap.ui.unified.CalendarLegendItem\",multiple:true,singularName:\"item\"},_standardItems:{type:\"sap.ui.unified.CalendarLegendItem\",multiple:true,visibility:\"hidden\"}},designtime:\"sap/ui/unified/designtime/CalendarLegend.designtime\"},constructor:function(t,i){e.prototype.constructor.apply(this,arguments);if(typeof t!==\"string\"){i=t}if(!i||i&&!i.standardItems){this._addStandardItems(this.getStandardItems())}this._bShouldRenderStandardItems=true;this._oItemNavigation=null},renderer:i});u.prototype.onAfterRendering=function(){if(!s.system.phone&&this._oParentControl){this._initItemNavigation()}};u.prototype.setStandardItems=function(e){var t;if(e&&e.length===1&&e[0]===\"\"){e=[]}if(e&&e.length){e=this.validateProperty(\"standardItems\",e);for(t=0;t<e.length;t++){if(!l[e[t]]){throw new Error(\"Invalid value '\"+e[t]+\"'. Property standardItems must contain values from sap.ui.unified.StandardCalendarLegendItem.\")}}}this.setProperty(\"standardItems\",e);this._addStandardItems(this.getStandardItems(),true);return this};u.prototype._initItemNavigation=function(){var e=this.getAggregation(\"_standardItems\")||[],t=this.getItems()||[],i,a=[],n,r;i=e.concat(t);if(!i.length){return}r=i[0].getDomRef().parentElement;i.forEach(function(e,t){n=e.getFocusDomRef();n.setAttribute(\"tabindex\",\"-1\");a.push(n)});if(!this._oItemNavigation){this._oItemNavigation=(new d).setCycling(false).attachEvent(d.Events.AfterFocus,this._onItemNavigationAfterFocus,this).attachEvent(d.Events.FocusLeave,this._onItemNavigationFocusLeave,this).setDisabledModifiers({sapnext:[\"alt\",\"meta\",\"ctrl\"],sapprevious:[\"alt\",\"meta\",\"ctrl\"],saphome:[\"alt\",\"meta\",\"ctrl\"],sapend:[\"meta\",\"ctrl\"]});this.addDelegate(this._oItemNavigation)}this._oItemNavigation.setRootDomRef(r).setItemDomRefs(a).setPageSize(i.length).setFocusedIndex(0)};u.prototype._onItemNavigationAfterFocus=function(e){var t=e.getSource(),i=t.getItemDomRefs()[t.getFocusedIndex()],a=n.getElementById(i.id).getType(),r=n.getElementById(i.id).getColor(),o=this._getParent();this._setSpecialDateTypeFilter(a);this._setSpecialDateColorFilter(r);o&&o.invalidate()};u.prototype._onItemNavigationFocusLeave=function(e){var t=this._getParent();this._setSpecialDateColorFilter();this._setSpecialDateTypeFilter();t&&t.invalidate()};u.prototype._setSpecialDateTypeFilter=function(e){this._sSpecialDateTypeFilter=e||\"\"};u.prototype._setSpecialDateColorFilter=function(e){this._sSpecialDateColorFilter=e||\"\"};u.prototype._getSpecialDateTypeFilter=function(){return this._sSpecialDateTypeFilter||\"\"};u.prototype._getSpecialDateColorFilter=function(){return this._sSpecialDateColorFilter||\"\"};u.prototype._setParent=function(e){this._oParentControl=e};u.prototype._getParent=function(){return this._oParentControl};u.prototype._getLegendAriaLabel=function(){return p.getText(\"LEGEND_ARIA_LABEL\")};u.prototype._addStandardItems=function(e,t){var i,a=this.getId();if(t){this.destroyAggregation(\"_standardItems\")}for(i=0;i<e.length;i++){var n=new o(a+\"-\"+e[i],{text:p.getText(u._Standard_Items_TextKeys[e[i]])});this.addAggregation(\"_standardItems\",n)}};u._Standard_Items_TextKeys={Today:\"LEGEND_TODAY\",Selected:\"LEGEND_SELECTED\",WorkingDay:\"LEGEND_NORMAL_DAY\",NonWorkingDay:\"LEGEND_NON_WORKING_DAY\"};u.prototype._getItemType=function(e,t){var i=e.getType(),n,r;if(i&&i!==g.None){return i}r=this._getUnusedItemTypes(t);n=t.filter(function(e){return!e.getType()||e.getType()===g.None}).indexOf(e);if(n<0){a.error(\"Legend item is not in the legend\",this);return i}if(r[n]){i=r[n]}else{i=\"Type\"+(Object.keys(g).length+n-r.length-1)}return i};u.prototype._getItemByType=function(e){var t,i=this.getItems(),a;for(a=0;a<i.length;a++){if(this._getItemType(i[a],i)===e){t=i[a];break}}return t};u.prototype._getUnusedItemTypes=function(e){var t=jQuery.extend({},g),i,a;delete t[g.None];delete t[g.NonWorking];delete t[g.Working];for(a=0;a<e.length;a++){i=e[a].getType();if(t[i]){delete t[i]}}return Object.keys(t)};u.prototype._extractItemIdsString=function(e){return e.map(function(e){return e.getId()}).join(\" \")};u.prototype._getAllItems=function(){var e=this.getAggregation(\"_standardItems\")||[],t=this.getItems()||[];return e.concat(t)};return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarLegendItem\", [\"sap/ui/core/Element\",\"./library\"],function(e,a){\"use strict\";var r=a.CalendarDayType;var u=e.extend(\"sap.ui.unified.CalendarLegendItem\",{metadata:{library:\"sap.ui.unified\",properties:{text:{type:\"string\",group:\"Misc\",defaultValue:null},type:{type:\"sap.ui.unified.CalendarDayType\",group:\"Appearance\",defaultValue:r.None},color:{type:\"sap.ui.core.CSSColor\",group:\"Appearance\",defaultValue:null}}}});return u});\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarLegendRenderer\", [\"sap/ui/core/InvisibleText\",\"sap/ui/core/Lib\",\"sap/ui/unified/library\"],function(e,t,i){\"use strict\";var n={apiVersion:2};n.render=function(e,t){var n=t.getAggregation(\"_standardItems\"),r=t.getItems(),d=this.defineItemsLength(t,r.length),a=(n?n.length:0)+(r?r.length:0),s=\"\",o=4,l,g,p,c,f=1;e.openStart(\"div\",t);e.class(\"sapUiUnifiedLegend\");e.attr(\"aria-label\",t._getLegendAriaLabel());e.attr(\"role\",\"list\");s=t._extractItemIdsString(t._getAllItems());e.attr(\"aria-owns\",s);e.openEnd();this.renderItemsHeader(e,t);if(n||r){e.openStart(\"div\");e.class(\"sapUiUnifiedLegendItems\");p=t.getColumnWidth();e.style(\"column-width\",p);e.style(\"-moz-column-width\",p);e.style(\"-webkit-column-width\",p);e.openEnd();if(n){g=t.getId().length+1;for(l=0;l<n.length;++l){var u=\"sapUiUnifiedLegend\"+n[l].getId().slice(g);this.renderLegendItem(e,u,n[l],[\"sapUiUnifiedLegendSquareColor\"],f++,a)}}if(r){for(l=0;l<d;l++){c=t._getItemType(r[l],r);if(c===i.CalendarDayType.NonWorking){o=0}this.renderLegendItem(e,\"sapUiCalLegDayType\"+c.slice(o),r[l],[\"sapUiUnifiedLegendSquareColor\"],f++,a)}}this.renderAdditionalItems(e,t);e.close(\"div\")}this.renderAdditionalContent(e,t);e.close(\"div\")};n.renderLegendItem=function(e,t,i,n,r,d){var a=i.getText();var s=i.getTooltip_AsString();e.openStart(\"div\",i);if(s){e.attr(\"title\",s)}e.attr(\"role\",\"listitem\");e.attr(\"aria-posinset\",r);e.attr(\"aria-setsize\",d);e.class(\"sapUiUnifiedLegendItem\");e.class(t);e.openEnd();e.openStart(\"div\");e.class(\"sapUiUnifiedLegendSquare\");e.openEnd();this.renderColor(e,i.getColor(),n);e.close(\"div\");e.openStart(\"div\",i.getId()+\"-Text\");e.class(\"sapUiUnifiedLegendDescription\");e.openEnd();e.text(a);e.close(\"div\");e.close(\"div\")};n.renderItemsHeader=function(e,t){};n.renderAdditionalContent=function(e,t){};n.defineItemsLength=function(e,t){return t};n.renderAdditionalItems=function(e,t){};n.renderColor=function(e,t,i){e.openStart(\"div\");for(var n=0;n<i.length;n++){e.class(i[n])}if(t){e.style(\"background-color\",t)}e.openEnd();e.close(\"div\")};n.addCalendarTypeAccInfo=function(e,t,i){var r,d;if(i){var a=i._getItemByType(t);if(a){r=a.getText()}}if(r){e[\"label\"]=e[\"label\"]?e[\"label\"]+\"; \"+r:r}else{d=n.getTypeAriaText(t);if(d){e[\"describedby\"]=e[\"describedby\"]?e[\"describedby\"]+\" \"+d.getId():d.getId()}}};n.typeARIATexts={};n.getTypeAriaText=function(i){var r,d;if(i.indexOf(\"Type\")!==0){return}if(!n.typeARIATexts[i]){r=t.getResourceBundleFor(\"sap.ui.unified\");d=r.getText(\"LEGEND_UNNAMED_TYPE\",[parseInt(i.slice(4)).toString()]);n.typeARIATexts[i]=new e({text:d});n.typeARIATexts[i].toStatic()}return n.typeARIATexts[i]};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarMonthInterval\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/m/Popover\",\"sap/ui/Device\",\"sap/ui/core/Control\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/core/format/DateFormat\",\"./calendar/CalendarUtils\",\"./calendar/CustomYearPicker\",\"./calendar/Header\",\"./calendar/MonthsRow\",\"./calendar/YearPicker\",\"./calendar/CalendarDate\",\"./CalendarMonthIntervalRenderer\",\"sap/ui/dom/containsOrEquals\",\"sap/base/util/deepEqual\",\"sap/base/Log\",\"sap/ui/unified/DateRange\"],function(t,e,a,i,s,o,r,n,h,c,l,g,u,D,f,d,p,_,v){\"use strict\";var M=s.extend(\"sap.ui.unified.CalendarMonthInterval\",{metadata:{library:\"sap.ui.unified\",properties:{width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},startDate:{type:\"object\",group:\"Data\"},intervalSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:false},singleSelection:{type:\"boolean\",group:\"Behavior\",defaultValue:true},months:{type:\"int\",group:\"Appearance\",defaultValue:12},pickerPopup:{type:\"boolean\",group:\"Appearance\",defaultValue:false},minDate:{type:\"object\",group:\"Misc\",defaultValue:null},maxDate:{type:\"object\",group:\"Misc\",defaultValue:null},_currentPicker:{type:\"string\",group:\"Appearance\",defaultValue:\"monthsRow\",visibility:\"hidden\"}},aggregations:{selectedDates:{type:\"sap.ui.unified.DateRange\",multiple:true,singularName:\"selectedDate\"},specialDates:{type:\"sap.ui.unified.DateTypeRange\",multiple:true,singularName:\"specialDate\"},header:{type:\"sap.ui.unified.calendar.Header\",multiple:false,visibility:\"hidden\"},monthsRow:{type:\"sap.ui.unified.calendar.MonthsRow\",multiple:false,visibility:\"hidden\"},yearPicker:{type:\"sap.ui.unified.calendar.YearPicker\",multiple:false,visibility:\"hidden\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"},legend:{type:\"sap.ui.unified.CalendarLegend\",multiple:false}},events:{select:{},cancel:{},startDateChange:{}}},renderer:f});var m={MONTHS_ROW:\"monthsRow\",YEAR_PICKER:\"yearPicker\"};M.prototype.init=function(){this._iMode=0;this.data(\"sap-ui-fastnavgroup\",\"true\",true);this._oYearFormat=n.getDateInstance({format:\"y\"});this._oMinDate=h._minDate();this._oMaxDate=h._maxDate();this._initializeHeader();this._initializeMonthsRow();this._initilizeYearPicker();this._iDaysMonthsHead=15};M.prototype.exit=function(){if(this._sInvalidateContent){clearTimeout(this._sInvalidateContent)}if(this._oPopup){this._oPopup.destroy();this._oPopup=null}if(this._oCustomYearPicker){this._oCustomYearPicker.removeDelegate(this._oFocusCYPDelegate);this._oCustomYearPicker.destroy();this._oCustomYearPicker=null}};M.prototype.onBeforeRendering=function(){var t=this.getAggregation(\"monthsRow\");var e=this._getFocusedDate();C.call(this);t.displayDate(e.toLocalJSDate())};M.prototype._setAriaRole=function(t){var e=this.getAggregation(\"monthsRow\");e._setAriaRole(t);e.invalidate();return this};M.prototype._initializeHeader=function(){var t=new l(this.getId()+\"--Head\",{visibleButton0:false,visibleButton1:false,visibleButton2:true});t.attachEvent(\"pressPrevious\",this._handlePrevious,this);t.attachEvent(\"pressNext\",this._handleNext,this);t.attachEvent(\"pressButton2\",L,this);this.setAggregation(\"header\",t)};M.prototype._initializeMonthsRow=function(){var t=new g(this.getId()+\"--MonthsRow\");t.attachEvent(\"focus\",O,this);t.attachEvent(\"select\",J,this);t._bNoThemeChange=true;this.setAggregation(\"monthsRow\",t)};M.prototype._initilizeYearPicker=function(){var t=this._createYearPicker();this.setAggregation(\"yearPicker\",t);t._setSelectedDatesControlOrigin(this)};M.prototype._createYearPicker=function(){var t=new u(this.getId()+\"--YP\",{columns:0,years:6});t.attachEvent(\"select\",B,this);t.attachEvent(\"pageChange\",T,this);t._oMinDate.setYear(this._oMinDate.getYear());t._oMaxDate.setYear(this._oMaxDate.getYear());return t};M.prototype._getCalendarPicker=function(){var t;if(!this._oCustomYearPicker){t=new c(this.getId()+\"--Cal\");t.attachEvent(\"select\",E,this);t.attachEvent(\"cancel\",function(t){this._oPopup.close();var e=this.getAggregation(\"header\").getDomRef(\"B2\");if(e){e.focus()}},this);this._oFocusCYPDelegate={onAfterRendering:function(){this.focus()}};t.addDelegate(this._oFocusCYPDelegate,t);this._oCustomYearPicker=t}return this._oCustomYearPicker};M.prototype.setStartDate=function(t){h._checkJSDateObject(t);if(p(this.getStartDate(),t)){return this}var e=t.getFullYear();h._checkYearInValidRange(e);this.setProperty(\"startDate\",t,true);this._oStartDate=D.fromLocalJSDate(t);this._oStartDate.setDate(1);var a=this.getAggregation(\"monthsRow\");a.setStartDate(t);C.call(this);var i=this._getFocusedDate().toLocalJSDate();if(!a.checkDateFocusable(i)){this._setFocusedDate(this._oStartDate);a.displayDate(t)}return this};M.prototype.invalidate=function(t){if(!this._bDateRangeChanged&&(!t||!(t instanceof v))){s.prototype.invalidate.apply(this,arguments)}else if(this.getDomRef()&&this._iMode==0&&!this._sInvalidateContent){this._sInvalidateContent=setTimeout(N.bind(this),0)}};M.prototype.removeAllSelectedDates=function(){this._bDateRangeChanged=true;var t=this.removeAllAggregation(\"selectedDates\");return t};M.prototype.destroySelectedDates=function(){this._bDateRangeChanged=true;var t=this.destroyAggregation(\"selectedDates\");return t};M.prototype.removeAllSpecialDates=function(){this._bDateRangeChanged=true;var t=this.removeAllAggregation(\"specialDates\");return t};M.prototype.destroySpecialDates=function(){this._bDateRangeChanged=true;var t=this.destroyAggregation(\"specialDates\");return t};M.prototype.setLocale=function(t){if(this._sLocale!=t){this._sLocale=t;this._oLocaleData=undefined;this.invalidate()}return this};M.prototype.getLocale=function(){if(!this._sLocale){this._sLocale=new o(t.getLanguageTag()).toString()}return this._sLocale};M.prototype._getFocusedDate=function(){if(!this._oFocusedDate){k.call(this)}return this._oFocusedDate};M.prototype._setFocusedDate=function(t){h._checkCalendarDate(t);this._oFocusedDate=new D(t)};M.prototype.focusDate=function(t){var e=false;var a=this.getAggregation(\"monthsRow\");if(t&&!a.checkDateFocusable(t)){H.call(this,D.fromLocalJSDate(t));e=true}R.call(this,t,false);if(e){this.fireStartDateChange()}return this};M.prototype.displayDate=function(t){R.call(this,t,true);return this};M.prototype.setMonths=function(t){this.setProperty(\"months\",t,true);t=this._getMonths();var e=this.getAggregation(\"monthsRow\");e.setMonths(t);if(!e.checkDateFocusable(this._getFocusedDate().toLocalJSDate())){var a=P.call(this);this._setFocusedDate(this._oStartDate);e.setDate(a.toLocalJSDate())}if(!this.getPickerPopup()){var i=this.getAggregation(\"yearPicker\");var s=Math.floor(t/2);if(s>20){s=20}i.setYears(s)}C.call(this);if(this.getDomRef()){if(this._getShowItemHeader()){this.$().addClass(\"sapUiCalIntHead\")}else{this.$().removeClass(\"sapUiCalIntHead\")}}return this};M.prototype._getMonths=function(){var t=this.getMonths();if(i.system.phone&&t>6){return 6}else{return t}};M.prototype._getLocaleData=function(){if(!this._oLocaleData){var t=this.getLocale();var e=new o(t);this._oLocaleData=r.getInstance(e)}return this._oLocaleData};M.prototype.setPickerPopup=function(t){var e;this.setProperty(\"pickerPopup\",t,true);if(t){if(this.getAggregation(\"yearPicker\")){this.getAggregation(\"yearPicker\").destroy()}}else{if(!this.getAggregation(\"yearPicker\")){this.setAggregation(\"yearPicker\",this._createYearPicker())}e=this.getAggregation(\"yearPicker\");e.setColumns(0);e.setYears(6)}return this};M.prototype.setMinDate=function(t){if(p(t,this.getMinDate())){return this}if(!t){this._oMinDate=h._minDate()}else{h._checkJSDateObject(t);this._oMinDate=D.fromLocalJSDate(t);this._oMinDate.setDate(1);var e=this._oMinDate.getYear();h._checkYearInValidRange(e);if(this._oMaxDate.isBefore(this._oMinDate)){_.warning(\"minDate > maxDate -> maxDate set to end of the month\",this);this._oMaxDate=D.fromLocalJSDate(t);this._oMaxDate.setDate(h._daysInMonth(this._oMaxDate));this.setProperty(\"maxDate\",this._oMaxDate.toLocalJSDate(),true)}if(this._oFocusedDate){if(this._oFocusedDate.isBefore(this._oMinDate)){_.warning(\"focused date < minDate -> minDate focused\",this);this.focusDate(t)}}if(this._oStartDate&&this._oStartDate.isBefore(this._oMinDate)){_.warning(\"start date < minDate -> minDate set as start date\",this);y.call(this,new D(this._oMinDate),true,true)}}this.setProperty(\"minDate\",t,false);if(this.getPickerPopup()){var a=this._getCalendarPicker();a.setMinDate(t)}else{var i=this.getAggregation(\"yearPicker\");i._oMinDate.setYear(this._oMinDate.getYear())}return this};M.prototype.setMaxDate=function(t){if(p(t,this.getMaxDate())){return this}if(!t){this._oMaxDate=h._maxDate()}else{h._checkJSDateObject(t);this._oMaxDate=D.fromLocalJSDate(t);this._oMaxDate.setDate(h._daysInMonth(this._oMaxDate));var e=this._oMaxDate.getYear();h._checkYearInValidRange(e);if(this._oMinDate.isAfter(this._oMaxDate)){_.warning(\"maxDate < minDate -> minDate set to begin of the month\",this);this._oMinDate=D.fromLocalJSDate(t);this._oMinDate.setDate(1);this.setProperty(\"minDate\",this._oMinDate.toLocalJSDate(),true)}if(this._oFocusedDate){if(this._oFocusedDate.isAfter(this._oMaxDate)){_.warning(\"focused date > maxDate -> maxDate focused\",this);this.focusDate(t)}}if(this._oStartDate){var a=new D(this._oStartDate);a.setDate(1);a.setMonth(a.getMonth()+this._getMonths());a.setDate(0);if(a.isAfter(this._oMaxDate)){var i=new D(this._oMaxDate);i.setDate(1);i.setMonth(i.getMonth()-this._getMonths()+1);if(i.isSameOrAfter(this._oMinDate)){_.warning(\"end date > maxDate -> maxDate set as end date\",this);y.call(this,i,true,true)}}}}this.setProperty(\"maxDate\",t,false);if(this.getPickerPopup()){var s=this._getCalendarPicker();s.setMaxDate(t)}else{var o=this.getAggregation(\"yearPicker\");o._oMaxDate.setYear(this._oMaxDate.getYear())}return this};M.prototype.onclick=function(t){if(t.isMarked(\"delayedMouseEvent\")){return}if(t.target.id==this.getId()+\"-cancel\"){this.onsapescape(t)}};M.prototype.onmousedown=function(t){t.preventDefault();t.setMark(\"cancelAutoClose\")};M.prototype.onsapescape=function(t){if(this.getPickerPopup()){I.call(this);this.fireCancel()}else{switch(this._iMode){case 0:this.fireCancel();break;case 1:A.call(this);break}}};M.prototype._handlePrevious=function(t){var e,a,i,s;switch(this._iMode){case 0:e=this._getFocusedDate();a=this._getMonths();i=new D(P.call(this));i.setMonth(i.getMonth()-a);e.setMonth(e.getMonth()-a);this._setFocusedDate(e);y.call(this,i,true);break;case 1:if(!this.getPickerPopup()){s=this.getAggregation(\"yearPicker\");s.previousPage();Y.call(this)}break}};M.prototype._handleNext=function(t){var e,a,i,s;switch(this._iMode){case 0:e=this._getFocusedDate();a=this._getMonths();i=new D(P.call(this));i.setMonth(i.getMonth()+a);e.setMonth(e.getMonth()+a);this._setFocusedDate(e);y.call(this,i,true);break;case 1:if(!this.getPickerPopup()){s=this.getAggregation(\"yearPicker\");s.nextPage();Y.call(this)}break}};M.prototype._showOverlay=function(){this.$(\"contentOver\").css(\"display\",\"\")};M.prototype._hideOverlay=function(){this.$(\"contentOver\").css(\"display\",\"none\")};M.prototype._getShowItemHeader=function(){var t=this.getMonths();if(t>this._iDaysMonthsHead){return true}else{return false}};function y(t,e,a){var i=new D(this._oMaxDate);i.setDate(1);i.setMonth(i.getMonth()-this._getMonths()+1);if(i.isBefore(this._oMinDate)){i=new D(this._oMinDate);i.setMonth(i.getMonth()+this._getMonths()-1)}if(t.isBefore(this._oMinDate)){t=new D(this._oMinDate)}else if(t.isAfter(i)){t=i}t.setDate(1);var s=t.toLocalJSDate();this.setProperty(\"startDate\",s,true);this._oStartDate=t;var o=this.getAggregation(\"monthsRow\");o.setStartDate(s);C.call(this);if(e){var r=this._getFocusedDate().toLocalJSDate();if(!o.checkDateFocusable(r)){this._setFocusedDate(t);o.setDate(s)}else{o.setDate(r)}}if(!a){this.fireStartDateChange()}}function P(){if(!this._oStartDate){this._oStartDate=this._getFocusedDate();this._oStartDate.setDate(1)}return this._oStartDate}function S(t){var e=this._getFocusedDate();var a=this.getAggregation(\"monthsRow\");if(!t){a.setDate(e.toLocalJSDate())}else{a.displayDate(e.toLocalJSDate())}C.call(this)}function k(){var t=this.getSelectedDates();if(t&&t[0]&&t[0].getStartDate()){this._oFocusedDate=D.fromLocalJSDate(t[0].getStartDate())}else{this._oFocusedDate=new D}this._oFocusedDate.setDate(1);if(this._oFocusedDate.isBefore(this._oMinDate)){this._oFocusedDate=new D(this._oMinDate)}else if(this._oFocusedDate.isAfter(this._oMaxDate)){this._oFocusedDate=new D(this._oMaxDate)}}function w(){var t=this._getFocusedDate();var e=this.getAggregation(\"yearPicker\");this.setProperty(\"_currentPicker\",m.YEAR_PICKER);this._showOverlay();e.setDate(t.toLocalJSDate());Y.call(this);this._iMode=1}function A(t){this._iMode=0;this.setProperty(\"_currentPicker\",m.MONTHS_ROW);this._hideOverlay();if(!t){S.call(this)}}function C(){b.call(this);x.call(this)}function x(){var t=new D(P.call(this));var e=this._getMonths();var a=t.getYear();var i=this._oMaxDate.getYear();var s=this._oMinDate.getYear();var o=t.getMonth();var r=this._oMaxDate.getMonth();var n=this._oMinDate.getMonth();var h=this.getAggregation(\"header\");if(a<s||a==s&&o<=n){h.setEnabledPrevious(false)}else{h.setEnabledPrevious(true)}t.setMonth(t.getMonth()+e-1);a=t.getYear();o=t.getMonth();if(a>i||a==i&&o>=r){h.setEnabledNext(false)}else{h.setEnabledNext(true)}}function Y(){var t=this.getAggregation(\"yearPicker\");var e=t.getYears();var a=new D(t.getProperty(\"_middleDate\"));a.setYear(a.getYear()+Math.floor(e/2));var i=this.getAggregation(\"header\");var s=new D(this._oMaxDate);s.setYear(s.getYear()-Math.ceil(e/2));s.setMonth(11,31);var o=new D(this._oMinDate);o.setYear(o.getYear()+Math.floor(e/2)+1);o.setMonth(0,1);i.setEnabledNext(!a.isAfter(s));i.setEnabledPrevious(!a.isBefore(o))}function b(){var t;var e=P.call(this);var a=this._oYearFormat.format(e.toUTCJSDate(),true);var i=new D(e);i.setMonth(i.getMonth()+this._getMonths()-1);var s=this._oYearFormat.format(i.toUTCJSDate(),true);if(a!=s){var o=this._getLocaleData();var r=o.getIntervalPattern();t=r.replace(/\\{0\\}/,a).replace(/\\{1\\}/,s)}else{t=a}var n=this.getAggregation(\"header\");n.setTextButton2(t)}function F(t,e){var a;var i=false;if(t.isBefore(this._oMinDate)){a=this._oMinDate;i=true}else if(t.isAfter(this._oMaxDate)){a=this._oMaxDate;i=true}else{a=t}this._setFocusedDate(a);if(i||e){H.call(this,a);S.call(this,false);this.fireStartDateChange()}}function R(t,e){if(!t){return}var a=D.fromLocalJSDate(t);if(this._oFocusedDate&&this._oFocusedDate.isSame(a)){return}var i=a.getYear();h._checkYearInValidRange(i);if(h._isOutside(a,this._oMinDate,this._oMaxDate)){throw new Error(\"Date must not be in valid range (minDate and maxDate); \"+this)}this._setFocusedDate(a);if(this.getDomRef()&&this._iMode==0){S.call(this,e)}}function L(t){var e;if(this.getPickerPopup()){this._showCalendarPicker()}else{if(this._iMode!=1){e=function(){var t=this.getAggregation(\"yearPicker\");t.focus();t.removeDelegate(e)};w.call(this);this.getAggregation(\"yearPicker\").addDelegate({onAfterRendering:e},this)}else{A.call(this)}}}M.prototype._showCalendarPicker=function(){var t=this._getFocusedDate(true).toLocalJSDate();var e=this._getCalendarPicker();var a=new v({startDate:t});var i=D.fromLocalJSDate(t);e.displayDate(t,false);i.setMonth(0,1);e._getYearPicker().setProperty(\"_middleDate\",i);e.removeAllSelectedDates();e.addSelectedDate(a);e.setMinDate(this.getMinDate());e.setMaxDate(this.getMaxDate());V.call(this,e);this._showOverlay()};function I(t){if(this._oPopup&&this._oPopup.isOpen()){this._oPopup.close()}this._hideOverlay();if(!t){S.call(this)}}function J(t){this.fireSelect()}function O(t){var e=D.fromLocalJSDate(t.getParameter(\"date\"));var a=t.getParameter(\"notVisible\");F.call(this,e,a)}function E(t){var e=new D(this._getFocusedDate());var a=this._getCalendarPicker();var i=a.getSelectedDates()[0].getStartDate();var s=D.fromLocalJSDate(i);s.setMonth(e.getMonth());s.setDate(e.getDate());F.call(this,s,true);I.call(this)}function B(t){var e=new D(this._getFocusedDate());var a=this.getAggregation(\"yearPicker\");var i=D.fromLocalJSDate(a.getDate());var s={onAfterRendering:function(){this._oItemNavigation.focusItem(this._oItemNavigation.getFocusedIndex());this.removeDelegate(s)}};var o=this.getAggregation(\"monthsRow\");i.setMonth(e.getMonth());i.setDate(e.getDate());e=i;F.call(this,e,true);A.call(this);o.addDelegate(s,o)}function N(){this._sInvalidateContent=undefined;var t=this.getAggregation(\"monthsRow\");if(t){t._bDateRangeChanged=true;t._bInvalidateSync=true;t.invalidate();t._bInvalidateSync=undefined}this._bDateRangeChanged=undefined}function H(t){var e=this.getAggregation(\"monthsRow\");var a=P.call(this);var i=e._oItemNavigation.getFocusedIndex();a=new D(t);a.setMonth(a.getMonth()-i);y.call(this,a,false,true)}function V(t){if(!this._oPopup){var i=new a({placement:\"VerticalPreferredBottom\",showHeader:false,showArrow:false,verticalScrolling:false});i.oPopup.setDurations(0,0);i.addEventDelegate({onsapescape:function(t){this._oCustomYearPicker.onsapescape(t);this._hideOverlay()}},this);this._oPopup=i}this._oPopup.addContent(t);this._oPopup.attachAfterClose(function(){this._hideOverlay()},this);this._oPopup.attachAfterOpen(function(){var t=s.$(\"B2\");var a=this._oPopup.$();var i=Math.floor((a.width()-t.width())/2);this._oPopup.setOffsetX(e.getRTL()?i:-i);var o=t.height();this._oPopup.setOffsetY(this._oPopup._getCalculatedPlacement()===\"Top\"?o:-o)},this);var s=this.getAggregation(\"header\");this._oPopup.openBy(s.getDomRef(\"B2\"))}function T(t){Y.call(this)}return M});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarMonthIntervalRenderer\", [\"sap/ui/core/Lib\"],function(e){\"use strict\";var t={apiVersion:2};t.render=function(t,a){var n=a.getId();var i=a.getTooltip_AsString();t.openStart(\"div\",a);t.class(\"sapUiCal\");t.class(\"sapUiCalInt\");t.class(\"sapUiCalMonthInt\");if(a._getShowItemHeader()){t.class(\"sapUiCalIntHead\")}var o=e.getResourceBundleFor(\"sap.ui.unified\");var r={labelledby:{value:\"\",append:false}};if(a._bPoupupMode){r[\"role\"]=\"dialog\"}else{r[\"role\"]=\"group\";r[\"roledescription\"]=o.getText(\"CALENDAR_DIALOG\")}t.accessibilityState(a,r);if(i){t.attr(\"title\",i)}var s=a.getWidth();if(s&&s!=\"\"){t.style(\"width\",s)}t.openEnd();var l=a.getAggregation(\"header\");t.renderControl(l);t.openStart(\"div\",n+\"-content\");t.class(\"sapUiCalContent\");t.openEnd();t.renderControl(a.getAggregation(a.getProperty(\"_currentPicker\")));t.close(\"div\");t.openStart(\"button\",n+\"-cancel\");t.class(\"sapUiCalCancel\");t.attr(\"tabindex\",\"-1\");t.openEnd();t.text(o.getText(\"CALENDAR_CANCEL\"));t.close(\"button\");if(a.getPickerPopup()){t.openStart(\"div\",n+\"-contentOver\");t.class(\"sapUiCalContentOver\");if(!a._oPopup||!a._oPopup.isOpen()){t.style(\"display\",\"none\")}t.openEnd();t.close(\"div\")}t.close(\"div\")};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarOneMonthInterval\", [\"sap/ui/unified/calendar/CustomMonthPicker\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/Calendar\",\"./library\",\"sap/ui/unified/CalendarDateInterval\",\"sap/ui/unified/calendar/OneMonthDatesRow\",\"sap/ui/unified/DateRange\",\"./CalendarOneMonthIntervalRenderer\"],function(t,e,a,n,i,o,r,s,h){\"use strict\";var g=o.extend(\"sap.ui.unified.CalendarOneMonthInterval\",{renderer:h});g.prototype.init=function(){o.prototype.init.apply(this,arguments);this._bShowOneMonth=true};g.prototype._getCalendar=function(){var n;if(!this._oCalendar){n=new t(this.getId()+\"--Cal\");n.attachEvent(\"select\",function(){var t=this._getCalendar(),n=t._getFocusedDate(),i=e._getFirstDateOfMonth(new a(n,this.getPrimaryCalendarType()));var o=this.getAggregation(\"month\")[0];this._setStartDate(i);if(o.getMode()<2){i=this._getStartDate()}this._adjustSelectedDate(i);this._oFocusDateOneMonth=i;this._closeCalendarPicker(true);this._focusDate(n,false,true)},this);n.attachEvent(\"cancel\",function(t){var e=this._getCalendar(),a=e._getFocusedDate();this._closeCalendarPicker(true);this._oFocusDateOneMonth=a;this._focusDate(a,true);var n=this.getAggregation(\"header\").getDomRef(\"B1\");if(n){n.focus()}},this);this._oCalendar=n}return this._oCalendar};g.prototype._createMonth=function(t){return new r(t)};g.prototype._handleFocus=function(t){var n=!!t.getParameter(\"_outsideBorder\"),i=t.getParameter(\"date\"),r=a.fromLocalJSDate(i,this.getPrimaryCalendarType()),s=a.fromLocalJSDate(this.getStartDate()),h=!e._isSameMonthAndYear(r,s),g,l,u;if(n||h){if(e._isLastDateInMonth(r)){this._oFocusDateOneMonth=r}else{this._oFocusDateOneMonth=e._getFirstDateOfMonth(r)}g=r.isBefore(s)?-1:1;l=new a(this._getFocusedDate(),this.getPrimaryCalendarType());u=new a(this._getStartDate(),this.getPrimaryCalendarType());o.prototype._shiftStartFocusDates.call(this,l,u,g)}return o.prototype._handleFocus.apply(this,arguments)};g.prototype._focusDateExtend=function(t,e,a){var n,i;if(!this._oFocusDateOneMonth){return o.prototype._focusDateExtend.apply(this,arguments)}n=this.getAggregation(\"month\")[0];i=this._oFocusDateOneMonth.toLocalJSDate();this._setFocusedDate(this._oFocusDateOneMonth);n._bNoRangeCheck=true;n.setDate(i);n._bNoRangeCheck=false;this._oFocusDateOneMonth=null;return!a};g.prototype._setDisplayMode=function(t){this.getAggregation(\"month\")[0].setMode(t)};g.prototype._shiftStartFocusDates=function(t,e,n){var i=n,o=this.getAggregation(\"month\")[0],r,s;if(i!==0){i=i>0?1:-1}t.setMonth(t.getMonth()+i);e.setYear(t.getYear());e.setMonth(t.getMonth(),t.getDate());this._setFocusedDate(e);this._setStartDate(t,true);r=this.getStartDate();s=a.fromLocalJSDate(r,this.getPrimaryCalendarType());if(this.getMinDate()&&this.getMinDate().getTime()>r.getTime()){s=a.fromLocalJSDate(this.getMinDate(),this.getPrimaryCalendarType())}if(this.getMaxDate()&&this.getMaxDate().getTime()<r.getTime()){s=a.fromLocalJSDate(this.getMaxDate(),this.getPrimaryCalendarType())}o.selectDate(s.toLocalJSDate());if(o.getMode()<2){this.fireSelect()}};g.prototype._adjustSelectedDate=function(t){var e=this.getAggregation(\"month\")[0];if(e.getMode&&e.getMode()<2){this._selectDate(t)}};g.prototype._selectDate=function(t){var e=this.getAggregation(\"month\")[0],a=t.toLocalJSDate();this.removeAllSelectedDates();this.addSelectedDate(new s({startDate:a}));e.selectDate(a);this._bDateRangeChanged=undefined};g.prototype._dateMatchesVisibleRange=function(t){return e._isSameMonthAndYear(a.fromLocalJSDate(this.getStartDate()),a.fromLocalJSDate(t))};g.prototype._togglePrevNext=function(t,n){var i=this.getAggregation(\"header\");var o=this._oMaxDate.getYear();var r=this._oMinDate.getYear();var s=this._oMaxDate.getMonth();var h=this._oMinDate.getMonth();var g=e._getFirstDateOfMonth(new a(t,this.getPrimaryCalendarType()));var l=new a(g),u,d;l.setMonth(l.getMonth()+1);u=g.getYear();d=g.getMonth();if(u<r||u==r&&(!n||d<=h)){i.setEnabledPrevious(false)}else{i.setEnabledPrevious(true)}u=l.getYear();d=l.getMonth();if(u>o||u==o&&(!n||d>s)){i.setEnabledNext(false)}else{i.setEnabledNext(true)}};g.prototype._setMinMaxDateExtend=function(t){return n.prototype._setMinMaxDateExtend.apply(this,arguments)};return g});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarOneMonthIntervalRenderer\", [\"sap/ui/core/Renderer\",\"./CalendarDateIntervalRenderer\"],function(e,t){\"use strict\";var n=e.extend(t);n.apiVersion=2;n.addAttributes=function(e,n){t.addAttributes.apply(this,arguments);e.class(\"sapUiCalOneMonthInt\")};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarRenderer\", [\"sap/ui/core/Lib\"],function(e){\"use strict\";var t={apiVersion:2};var n={MONTH:\"month\",MONTH_PICKER:\"monthPicker\",YEAR_PICKER:\"yearPicker\",YEAR_RANGE_PICKER:\"yearRangePicker\"};t.render=function(t,r){var a=r.getId(),i=r.getTooltip_AsString(),o=r.getAggregation(\"month\"),s=r.getProperty(\"_currentPicker\"),l=r.getWidth(),c=e.getResourceBundleFor(\"sap.ui.unified\"),d={labelledby:{value:\"\",append:!r._oSpecialDatesControlOrigin},role:r._oSpecialDatesControlOrigin?\"\":\"group\",roledescription:r._oSpecialDatesControlOrigin?\"\":c.getText(\"CALENDAR_DIALOG\")};t.openStart(\"div\",r);t.class(\"sapUiCal\");if(o.length>1){t.class(\"sapUiCalMulti\")}t.accessibilityState(r,d);if(i){t.attr(\"title\",i)}if(l){t.class(\"sapUiCalWidth\");t.style(\"width\",l)}if(r._getSecondaryCalendarType()){t.class(\"sapUiCalSecType\")}if(this.addAttributes){this.addAttributes(t,r)}t.openEnd();var C=r.getAggregation(\"header\");t.renderControl(C);t.openStart(\"div\",a+\"-content\");t.class(\"sapUiCalContent\");t.openEnd();if(r.getMonths()>1){switch(s){case n.MONTH_PICKER:case n.YEAR_PICKER:case n.YEAR_RANGE_PICKER:this.renderMonths(t,r,o);this.renderCalContentOverlay(t,r,a);break}}switch(s){case n.MONTH:this.renderMonths(t,r,o);break;case n.MONTH_PICKER:t.renderControl(r._getMonthPicker());break;case n.YEAR_PICKER:t.renderControl(r._getYearPicker());break;case n.YEAR_RANGE_PICKER:t.renderControl(r._getYearRangePicker());break}t.close(\"div\");if(!r._bSkipCancelButtonRendering){t.openStart(\"button\",a+\"-cancel\");t.class(\"sapUiCalCancel\");t.attr(\"tabindex\",\"-1\");t.openEnd();t.text(c.getText(\"CALENDAR_CANCEL\"));t.close(\"button\")}this.renderCalContentAndArrowsOverlay(t,r,a);t.close(\"div\")};t.renderMonths=function(e,t,n){n.forEach(function(r,a){e.renderControl(r);if(n.length===2&&a===0){e.renderControl(t.getAggregation(\"secondMonthHeader\"))}})};t.renderCalContentOverlay=function(e,t,n){e.openStart(\"div\",n+\"-contentOver\");e.class(\"sapUiCalContentOver\");e.openEnd();e.close(\"div\")};t.renderCalContentAndArrowsOverlay=function(e,t,n){};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CalendarRow\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/ui/core/Lib\",\"sap/ui/core/LocaleData\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/core/date/UniversalDate\",\"./library\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/ResizeHandler\",\"sap/ui/core/Locale\",\"./CalendarRowRenderer\",\"sap/ui/dom/containsOrEquals\",\"sap/ui/thirdparty/jquery\",\"sap/ui/unified/CalendarAppointment\",\"sap/ui/core/library\",\"sap/ui/core/date/UI5Date\"],function(e,t,i,n,a,r,s,o,p,l,u,g,h,d,c,jQuery,f,m,v){\"use strict\";var T=p.CalendarDayType;var C=p.CalendarAppointmentVisualization;var A=p.GroupAppointmentsMode;var _=p.CalendarIntervalType;var U=p.CalendarAppointmentHeight;var y=p.CalendarAppointmentRoundWidth;var D=i.extend(\"sap.ui.unified.CalendarRow\",{metadata:{library:\"sap.ui.unified\",properties:{startDate:{type:\"object\",group:\"Data\"},intervals:{type:\"int\",group:\"Appearance\",defaultValue:12},intervalSize:{type:\"int\",group:\"Appearance\",defaultValue:1},intervalType:{type:\"sap.ui.unified.CalendarIntervalType\",group:\"Appearance\",defaultValue:_.Hour},showSubIntervals:{type:\"boolean\",group:\"Appearance\",defaultValue:false},showIntervalHeaders:{type:\"boolean\",group:\"Appearance\",defaultValue:true},showEmptyIntervalHeaders:{type:\"boolean\",group:\"Appearance\",defaultValue:true},nonWorkingDays:{type:\"int[]\",group:\"Misc\",defaultValue:null},nonWorkingHours:{type:\"int[]\",group:\"Misc\",defaultValue:null},width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},height:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},checkResize:{type:\"boolean\",group:\"Behavior\",defaultValue:true},updateCurrentTime:{type:\"boolean\",group:\"Behavior\",defaultValue:true},groupAppointmentsMode:{type:\"sap.ui.unified.GroupAppointmentsMode\",group:\"Appearance\",defaultValue:A.Collapsed},appointmentsReducedHeight:{type:\"boolean\",group:\"Appearance\",defaultValue:false,deprecated:true},appointmentsVisualization:{type:\"sap.ui.unified.CalendarAppointmentVisualization\",group:\"Appearance\",defaultValue:C.Standard},appointmentHeight:{type:\"sap.ui.unified.CalendarAppointmentHeight\",group:\"Appearance\",defaultValue:U.Regular},appointmentRoundWidth:{type:\"sap.ui.unified.CalendarAppointmentRoundWidth\",group:\"Appearance\",defaultValue:y.None},multipleAppointmentsSelection:{type:\"boolean\",group:\"Data\",defaultValue:false}},aggregations:{appointments:{type:\"sap.ui.unified.CalendarAppointment\",defaultClass:f,multiple:true,singularName:\"appointment\"},nonWorkingPeriods:{type:\"sap.ui.unified.NonWorkingPeriod\",multiple:true},intervalHeaders:{type:\"sap.ui.unified.CalendarAppointment\",multiple:true,singularName:\"intervalHeader\"},groupAppointments:{type:\"sap.ui.unified.CalendarAppointment\",multiple:true,singularName:\"groupAppointment\",visibility:\"hidden\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"},legend:{type:\"sap.ui.unified.CalendarLegend\",multiple:false}},events:{select:{parameters:{appointment:{type:\"sap.ui.unified.CalendarAppointment\"},appointments:{type:\"sap.ui.unified.CalendarAppointment[]\"},multiSelect:{type:\"boolean\"},domRefId:{type:\"string\"}}},startDateChange:{},leaveRow:{parameters:{type:{type:\"string\"}}},intervalSelect:{parameters:{startDate:{type:\"object\"},endDate:{type:\"object\"},subInterval:{type:\"boolean\"}}}}},renderer:d});D.prototype.init=function(){this._bRTL=t.getRTL();this._oRb=a.getResourceBundleFor(\"sap.ui.unified\");var e=this._oRb.getText(\"APPOINTMENT_DATE_TIME_DESCRIPTION\",[I.call(this).getDatePattern(\"long\"),I.call(this).getTimePattern(\"medium\")]);this._oFormatAria=u.getDateTimeInstance({pattern:\"EEEE \"+e});this._aVisibleAppointments=[];this._aVisibleIntervalHeaders=[];this.setStartDate(v.getInstance());this._resizeProxy=jQuery.proxy(this.handleResize,this);this.aSelectedAppointments=[];this._fnCustomSortedAppointments=undefined};D.prototype.exit=function(){if(this._sResizeListener){g.deregister(this._sResizeListener);this._sResizeListener=undefined}if(this._sUpdateCurrentTime){clearTimeout(this._sUpdateCurrentTime);this._sUpdateCurrentTime=undefined}this._fnCustomSortedAppointments=undefined};D.prototype.onBeforeRendering=function(){this._aVisibleAppointments=[];M.call(this);H.call(this);z.call(this);if(this._sUpdateCurrentTime){clearTimeout(this._sUpdateCurrentTime);this._sUpdateCurrentTime=undefined}if(!this.getAppointments().length){this.aSelectedAppointments=[]}else{this.getAppointments().forEach(function(e){this._updateSelectedAppointmentsArray(e)}.bind(this))}};D.prototype.onAfterRendering=function(){F.call(this);this.updateCurrentTimeVisualization();if(this.getCheckResize()&&!this._sResizeListener){this._sResizeListener=g.register(this,this._resizeProxy)}};D.prototype.onThemeChanged=function(e){if(this.getDomRef()){for(var t=0;t<this._aVisibleAppointments.length;t++){var i=this._aVisibleAppointments[t];i.level=-1}this.handleResize(e)}};D.prototype.invalidate=function(e){if(e&&e instanceof f){var t=false;for(var n=0;n<this._aVisibleAppointments.length;n++){if(this._aVisibleAppointments[n].appointment==e){t=true;break}}if(t){this._aVisibleAppointments=[]}this._updateSelectedAppointmentsArray(e)}i.prototype.invalidate.apply(this,arguments)};D.prototype.setStartDate=function(e){if(!e){e=v.getInstance()}s._checkJSDateObject(e);var t=e.getFullYear();s._checkYearInValidRange(t);this._oUTCStartDate=s._createUniversalUTCDate(e,undefined,true);this.setProperty(\"startDate\",e);return this};D.prototype._getStartDate=function(){if(!this._oUTCStartDate){this._oUTCStartDate=s._createUniversalUTCDate(this.getStartDate(),undefined,true)}return this._oUTCStartDate};D.prototype.setIntervalType=function(e){this.setProperty(\"intervalType\",e);this._aVisibleAppointments=[];return this};D.prototype._getAppointmentReducedHeight=function(e){var t=!n.system.phone&&this.getAppointmentsReducedHeight()&&e.size===U.Regular;return t};D.prototype.onfocusin=function(e){if(jQuery(e.target).hasClass(\"sapUiCalendarApp\")){N.call(this,e.target.id)}else{var t=this._getVisibleAppointments();var i=false;var n;for(var a=0;a<t.length;a++){n=t[a].appointment;if(c(n.getDomRef(),e.target)){i=true;n.focus();break}}if(!i){n=this.getFocusedAppointment();if(n){n.focus()}}}};D.prototype.applyFocusInfo=function(e){if(this._sFocusedAppointmentId){this.getFocusedAppointment().focus()}return this};D.prototype.onsapleft=function(e){if(jQuery(e.target).hasClass(\"sapUiCalendarApp\")){Y.call(this,this._bRTL,1)}e.preventDefault();e.stopPropagation()};D.prototype.onsapright=function(e){if(jQuery(e.target).hasClass(\"sapUiCalendarApp\")){Y.call(this,!this._bRTL,1)}e.preventDefault();e.stopPropagation()};D.prototype.onsapup=function(e){this.fireLeaveRow({type:e.type})};D.prototype.onsapdown=function(e){this.fireLeaveRow({type:e.type})};D.prototype.onsaphome=function(e){x.call(this,e);e.preventDefault();e.stopPropagation()};D.prototype.onsapend=function(e){x.call(this,e);e.preventDefault();e.stopPropagation()};D.prototype.onsapselect=function(e){var t=this._getVisibleAppointments(),i;for(var n=0;n<t.length;n++){i=t[n].appointment;if(c(i.getDomRef(),e.target)){var a=!(this.getMultipleAppointmentsSelection()||e.ctrlKey||e.metaKey);P.call(this,i,a);break}}e.stopPropagation();e.preventDefault()};D.prototype.ontap=function(e){var t=this.$(\"Apps\").children(\".sapUiCalendarRowAppsInt\");var i=0;var n=false;for(i=0;i<t.length;i++){var a=t[i];if(!this._isOneMonthsRowOnSmallSizes()&&c(a,e.target)){n=true;break}}if(n){B.call(this,i,e.target)}else{this.onsapselect(e)}};D.prototype.onsapselectmodifiers=function(e){this.onsapselect(e)};D.prototype.handleResize=function(e){if(e&&e.size&&e.size.width<=0){return this}var t=this.$(\"DummyApp\");t.css(\"display\",\"\");F.call(this);return this};D.prototype.updateCurrentTimeVisualization=function(){var e=this.$(\"Now\");var t=s._createUniversalUTCDate(v.getInstance(),undefined,true);var i=this.getIntervals();var n=this.getIntervalType();var a=this._getStartDate();var r=a.getTime();var o=this._oUTCEndDate;var p=o.getTime();this._sUpdateCurrentTime=undefined;if(t.getTime()<=p&&t.getTime()>=r){var l=V.call(this,n,i,a,o,r,t);var u=0;if(this._bRTL){e.css(\"right\",l+\"%\")}else{e.css(\"left\",l+\"%\")}e.css(\"display\",\"\");if(this.getUpdateCurrentTime()){switch(n){case _.Hour:u=6e4;break;case _.Day:case _.Week:case _.OneMonth:case\"OneMonth\":u=18e5;break;default:u=-1;break}if(u>0){this._sUpdateCurrentTime=setTimeout(this.updateCurrentTimeVisualization.bind(this),u)}}}else{e.css(\"display\",\"none\")}return this};D.prototype.getFocusedAppointment=function(){var e=this._getAppointmentsSorted();var t=this.getAggregation(\"groupAppointments\",[]);var i;var n=0;for(n=0;n<t.length;n++){if(t[n].getId()==this._sFocusedAppointmentId){i=t[n];break}}if(!i){for(n=0;n<e.length;n++){if(e[n].getId()==this._sFocusedAppointmentId){i=e[n];break}}}return i};D.prototype.focusAppointment=function(e){if(!e||!(e instanceof f)){throw new Error(\"Appointment must be a CalendarAppointment; \"+this)}var t=e.getId();if(this._sFocusedAppointmentId!=t){N.call(this,t)}else{e.focus()}return this};D.prototype.focusNearestAppointment=function(e){s._checkJSDateObject(e);var t=this._getAppointmentsSorted();var i;var n;var a;for(var r=0;r<t.length;r++){i=t[r];if(i.getStartDate()>e){if(r>0){n=t[r-1]}else{n=i}break}}if(i){if(n&&Math.abs(i.getStartDate()-e)>=Math.abs(n.getStartDate()-e)){a=n}else{a=i}this.focusAppointment(a)}return this};D.prototype._getVisibleAppointments=function(){return this._aVisibleAppointments};D.prototype._getVisibleIntervalHeaders=function(){return this._aVisibleIntervalHeaders};D.prototype._getNonWorkingDays=function(){if(this.getIntervalSize()!==1){return[]}var e=this.getNonWorkingDays();if(!e){var t=I.call(this);var i=t.getWeekendStart();var n=t.getWeekendEnd();e=[];for(var a=0;a<=6;a++){if(i<=n&&a>=i&&a<=n||i>n&&(a>=i||a<=n)){e.push(a)}}}else if(!Array.isArray(e)){e=[]}return e};D.prototype._isOneMonthsRowOnSmallSizes=function(){return(this.getIntervalType()===_.OneMonth||this.getIntervalType()===\"OneMonth\")&&this.getIntervals()===1};D.prototype._getAppointmentsSorted=function(){var e=this.getAppointments(),t=j;e.sort(this._fnCustomSortedAppointments?this._fnCustomSortedAppointments:t);return e};D.prototype._setCustomAppointmentsSorterCallback=function(e){this._fnCustomSortedAppointments=e;this.invalidate()};D.prototype._calculateAppoitnmentVisualCue=function(e){if(b(this,e)){return{appTimeUnitsDifRowStart:0,appTimeUnitsDifRowEnd:0}}var t=e.getStartDate(),i=e.getEndDate(),n=new o(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes()),a=new o(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes()),r=this.getIntervalType(),s=this.getStartDate(),p=r===\"Hour\"?new o(s.getFullYear(),s.getMonth(),s.getDate(),s.getHours()):new o(s.getFullYear(),s.getMonth(),s.getDate()),l=this.getIntervals(),u;switch(r){case\"Hour\":u=new o(s.getFullYear(),s.getMonth(),s.getDate(),s.getHours()+l);break;case\"Day\":case\"Week\":case\"One Month\":u=new o(s.getFullYear(),s.getMonth(),s.getDate()+l);break;case\"Month\":u=new o(s.getFullYear(),s.getMonth()+l,s.getDate());break;default:break}return{appTimeUnitsDifRowStart:p.getTime()-n.getTime(),appTimeUnitsDifRowEnd:a.getTime()-u.getTime()}};D.prototype._updateSelectedAppointmentsArray=function(e){if(e.getSelected()){if(this.aSelectedAppointments.indexOf(e.getId())===-1){this.aSelectedAppointments.push(e.getId())}}else{this.aSelectedAppointments=this.aSelectedAppointments.filter(function(t){return t!==e.getId()})}};function b(e,t){var i=e.getAggregation(\"groupAppointments\",[]);var n;for(n=0;n<i.length;++n){if(t===i[n]){return true}}return false}function S(){if(!this._sLocale){this._sLocale=new h(e.getLanguageTag()).toString()}return this._sLocale}function I(){if(!this._oLocaleData){var e=S.call(this);var t=new h(e);this._oLocaleData=r.getInstance(t)}return this._oLocaleData}function M(){var e=this.getStartDate();var t;var i=this.getIntervals();var n=this.getIntervalType();this._oUTCStartDate=w.call(this,e);switch(n){case _.Hour:t=new o(this._oUTCStartDate.getTime());t.setUTCHours(t.getUTCHours()+i);break;case _.Day:case _.Week:case _.OneMonth:case\"OneMonth\":t=new o(this._oUTCStartDate.getTime());t.setUTCDate(t.getUTCDate()+i*this.getIntervalSize());break;case _.Month:t=new o(this._oUTCStartDate.getTime());t.setUTCMonth(t.getUTCMonth()+i);break;default:throw new Error(\"Unknown IntervalType: \"+n+\"; \"+this)}t.setUTCMilliseconds(-1);this._iRowSize=t.getTime()-this._oUTCStartDate.getTime();this._iIntervalSize=Math.floor(this._iRowSize/i);this._oUTCEndDate=t}function w(e){var t=this.getIntervalType();var i=s._createUniversalUTCDate(e,undefined,true);switch(t){case _.Hour:i.setUTCMinutes(0);i.setUTCSeconds(0);i.setUTCMilliseconds(0);break;case _.Day:case _.Week:case _.OneMonth:case\"OneMonth\":i.setUTCHours(0);i.setUTCMinutes(0);i.setUTCSeconds(0);i.setUTCMilliseconds(0);break;case _.Month:i.setUTCDate(1);i.setUTCHours(0);i.setUTCMinutes(0);i.setUTCSeconds(0);i.setUTCMilliseconds(0);break;default:throw new Error(\"Unknown IntervalType: \"+t+\"; \"+this)}return i}function k(){return n.system.phone||this.getGroupAppointmentsMode()===A.Collapsed}function H(){var e=this._getAppointmentsSorted();var t;var i;var n;var a=this.getIntervals();var r=this.getIntervalType();var p=this._getStartDate();var l=p.getTime();var u=this._oUTCEndDate;var g=u.getTime();var h=[];var d=false;var c=0;var f=0;var m=k.call(this);var T=this._needAppointmentHorizontalFit();this.destroyAggregation(\"groupAppointments\",true);for(c=0;c<e.length;c++){t=e[c];if(!t||!t.getStartDate()){continue}var C=s._createUniversalUTCDate(t.getStartDate(),undefined,true);var A=C.getTime();C.setUTCSeconds(0);C.setUTCMilliseconds(0);var U=t.getEndDate()?s._createUniversalUTCDate(t.getEndDate(),undefined,true):s._createUniversalUTCDate(v.getInstance(864e12),undefined,true);var y=U.getTime();U.setUTCSeconds(0);U.setUTCMilliseconds(0);var D=false;if(C.getTime()<l&&U.getTime()>=l){C=new o(l);D=true}if(U.getTime()>g&&C.getTime()<=g){U=new o(g);D=true}var Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/ComparisonMicroChartData\", [\"./library\",\"sap/ui/core/Element\",\"sap/ui/core/Control\",\"sap/m/library\",\"sap/suite/ui/microchart/MicroChartUtils\"],function(t,e,r,i,a){\"use strict\";const o=t.MicroChartColorType;var s=i.Size;var n=e.extend(\"sap.suite.ui.microchart.ComparisonMicroChartData\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{value:{type:\"float\",group:\"Misc\",defaultValue:\"0\"},color:{group:\"Misc\",type:\"string\",defaultValue:o.Neutral},title:{type:\"string\",group:\"Misc\",defaultValue:\"\"},displayValue:{type:\"string\",group:\"Misc\",defaultValue:\"\"}},events:{press:{}}}});n.prototype.init=function(){this.setAggregation(\"tooltip\",\"((AltText))\",true)};n.prototype.setValue=function(t,e){this._isValueSet=this._fnIsNumber(t);return this.setProperty(\"value\",this._isValueSet?t:NaN,e)};n.prototype._fnIsNumber=function(t){return typeof t==\"number\"&&!isNaN(t)&&isFinite(t)};n.prototype.clone=function(t,e,i){var a=r.prototype.clone.apply(this,arguments);a._isValueSet=this._isValueSet;return a};n.prototype.attachEvent=function(t,e,i,a){r.prototype.attachEvent.call(this,t,e,i,a);if(this.getParent()){this.getParent().setBarPressable(this.getParent().getData().indexOf(this),true)}return this};n.prototype.detachEvent=function(t,e,i){r.prototype.detachEvent.call(this,t,e,i);if(this.getParent()){this.getParent().setBarPressable(this.getParent().getData().indexOf(this),false)}return this};n.prototype.onsapenter=function(t){this.firePress()};n.prototype.onsapspace=n.prototype.onsapenter;n.prototype.onclick=function(t){var e=this.getParent()?._getSize();if(e===s.XS||e===s.S){var r=t.target;if(r&&!r.getAttribute(\"data-bar-index\")){return}}setTimeout(()=>{var t=this.getParent()?._oMenu;if(!t.isOpen()){this.firePress()}},0);t.preventDefault()};n.prototype.oncontextmenu=function(t){if(this.getParent()){this.getParent().oncontextmenu(t)}};a.extendMicroChartSetColor(n);return n});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/ComparisonMicroChartRenderer\", [\"./library\",\"sap/suite/ui/microchart/MicroChartRenderUtils\",\"sap/ui/core/theming/Parameters\",\"sap/m/library\"],function(e,t,a,i){\"use strict\";const r=e.MicroChartColorType;var s=i.Size;var n={apiVersion:2};n.render=function(e,t){if(!t._bThemeApplied){return}if(t._hasData()){var a=t.getTooltip_AsString(t.hasListeners(\"press\"));e.openStart(\"div\",t);this._writeMainProperties(e,t);if(t.getShrinkable()){e.class(\"sapSuiteCpMCShrinkable\");e.style(\"height\",\"auto\")}e.openEnd();this._renderInnerContent(e,t,a);e.openStart(\"div\",t.getId()+\"-info\");e.attr(\"aria-hidden\",\"true\");e.style(\"display\",\"none\");e.openEnd();e.text(a);e.close(\"div\");e.openStart(\"div\",t.getId()+\"-hidden\");e.attr(\"aria-hidden\",\"true\");e.attr(\"focusable\",\"false\");e.openEnd();e.close(\"div\");e.close(\"div\")}else{this._renderNoData(e,t)}};n._writeMainProperties=function(e,t){var a=t.hasListeners(\"press\");this._renderActiveProperties(e,t);var i=t.getTooltip_AsString(a);e.attr(\"role\",\"figure\");if(t.getAriaLabelledBy().length){e.accessibilityState(t)}else{e.attr(\"aria-label\",i)}e.class(\"sapSuiteCpMC\");e.class(\"sapSuiteCpMCChartContent\");e.class(t._isResponsive()?\"sapSuiteCpMCResponsive\":\"sapSuiteCpMCSize\"+t.getSize());e.class(\"sapSuiteCpMCViewType\"+t.getView());e.style(\"width\",t.getWidth());e.style(\"height\",t.getHeight())};n._renderInnerContent=function(e,t){var i=t.getColorPalette().length,r=0,s=t.getData(),n=t._calculateChartData(),l;var o=function(e){if(i){if(r===i){r=0}e=t.getColorPalette()[r++].trim()}l=a.get(e);return l||e};e.openStart(\"div\");e.class(\"sapSuiteCpMCVerticalAlignmentContainer\");e.openEnd();for(var p=0;p<n.length;p++){this._renderChartItem(e,t,n[p],p,o(s[p].getColor()))}e.close(\"div\")};n._renderChartItem=function(e,t,a,i,r){var n=t.getData();var l=t._getSize();var o=l===s.L||l===s.M;e.openStart(\"div\",n[i]);e.class(\"sapSuiteCpMCChartItem\");if(o){this._applyAriaAttributes(e,t,i)}e.openEnd();this._renderChartTitle(e,t,i);this._renderChartBar(e,t,a,i,r);this._renderChartValue(e,t,i,r);e.close(\"div\")};n._applyAriaAttributes=function(t,a,i){if(a.getData()[i].hasListeners(\"press\")){if(i===0){t.attr(\"tabindex\",\"0\")}t.attr(\"role\",\"presentation\");t.attr(\"aria-label\",a._getBarAltText(i));if(!e._isTooltipSuppressed(a._getBarAltText(i))){t.attr(\"title\",a._getBarAltText(i))}else{t.attr(\"title\",\"\")}t.attr(\"data-bar-index\",i);t.class(\"sapSuiteUiMicroChartBarPointer\")}};n._renderChartBar=function(e,t,a,i,r){var n=t.getData()[i];var l=t._getSize();var o=l===s.L||l===s.M;e.openStart(\"div\",t.getId()+\"-chart-item-bar-\"+i);e.class(\"sapSuiteCpMCChartBar\");if(!o){this._applyAriaAttributes(e,t,i)}e.openEnd();if(a.negativeNoValue>0){e.openStart(\"div\");e.attr(\"data-bar-index\",i);e.class(\"sapSuiteCpMCChartBarNegNoValue\");if(a.value>0||a.positiveNoValue>0){e.class(\"sapSuiteCpMCNotLastBarPart\")}e.style(\"width\",a.negativeNoValue+\"%\");e.openEnd();e.close(\"div\")}if(a.value>0){e.openStart(\"div\");e.attr(\"data-bar-index\",i);e.class(\"sapSuiteCpMCChartBarValue\");e.class(\"sapSuiteCpMCSemanticColor\"+n.getColor());e.style(\"background-color\",r?r:\"\");e.style(\"width\",a.value+\"%\");e.openEnd();e.close(\"div\")}if(a.positiveNoValue>0){e.openStart(\"div\");e.attr(\"data-bar-index\",i);e.class(\"sapSuiteCpMCChartBarNoValue\");if(a.negativeNoValue&&!a.value){e.class(\"sapSuiteCpMCNegPosNoValue\")}else if(a.negativeNoValue||a.value){e.class(\"sapSuiteCpMCNotFirstBarPart\")}e.style(\"width\",a.positiveNoValue+\"%\");e.openEnd();e.close(\"div\")}e.close(\"div\")};n._renderChartTitle=function(e,t,a){var i=t.getData()[a];e.openStart(\"div\",t.getId()+\"-chart-item-\"+a+\"-title\");e.class(\"sapSuiteCpMCChartItemTitle\");e.openEnd();e.text(i.getTitle());e.close(\"div\")};n._renderChartValue=function(e,t,a,i){var s=t.getData()[a];var n=t.getScale();var l=s.getDisplayValue();var o=l?l:\"\"+s.getValue();var p=o+n;e.openStart(\"div\",t.getId()+\"-chart-item-\"+a+\"-value\");e.class(\"sapSuiteCpMCChartItemValue\");if(r.hasOwnProperty(i)){e.class(\"sapSuiteCpMCSemanticColor\"+s.getColor())}if(s.getTitle()){e.class(\"sapSuiteCpMCTitle\")}e.openEnd();if(!isNaN(s.getValue())){e.text(p)}e.close(\"div\")};t.extendMicroChartRenderer(n);return n},true);\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/DeltaMicroChart\", [\"./library\",\"sap/m/FlexBox\",\"sap/ui/core/Control\",\"sap/ui/core/ResizeHandler\",\"sap/ui/events/KeyCodes\",\"sap/suite/ui/microchart/MicroChartUtils\",\"./DeltaMicroChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\"],function(t,e,i,a,s,r,o,l,n){\"use strict\";const p=t.MicroChartColorType;var h=t.DeltaMicroChartViewType;var u=i.extend(\"sap.suite.ui.microchart.DeltaMicroChart\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{value1:{type:\"float\",group:\"Misc\"},value2:{type:\"float\",group:\"Misc\"},title1:{type:\"string\",group:\"Misc\",defaultValue:null},title2:{type:\"string\",group:\"Misc\",defaultValue:null},displayValue1:{type:\"string\",group:\"Misc\",defaultValue:null},displayValue2:{type:\"string\",group:\"Misc\",defaultValue:null},deltaDisplayValue:{type:\"string\",group:\"Misc\",defaultValue:null},color:{group:\"Misc\",type:\"string\",defaultValue:p.Neutral},view:{type:\"sap.suite.ui.microchart.DeltaMicroChartViewType\",group:\"Appearance\",defaultValue:\"Normal\"},width:{type:\"sap.ui.core.CSSSize\",group:\"Misc\"},height:{group:\"Misc\",type:\"sap.ui.core.CSSSize\"},size:{type:\"sap.m.Size\",group:\"Misc\",defaultValue:\"Auto\"},isResponsive:{type:\"boolean\",group:\"Appearance\",defaultValue:false},hideOnNoData:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},events:{press:{}}},renderer:o});u.THRESHOLD_LOOK_XS=1.125;u.THRESHOLD_LOOK_S=3.5;u.THRESHOLD_LOOK_M=4.5;u.THRESHOLD_LOOK_L=5.875;u.THRESHOLD_WIDTH_NO_LABEL=6;u.THRESHOLD_WIDTH_WIDE_MODE=12;u.prototype.init=function(){this._oRb=l.getLibraryResourceBundle(\"sap.suite.ui.microchart\");this.setAggregation(\"tooltip\",\"((AltText))\",true);this._bThemeApplied=false;l.ready(this._handleCoreInitialized.bind(this))};u.prototype.setSize=function(t){if(this.getSize()!==t){this.setProperty(\"size\",t,false)}return this};u.prototype._handleCoreInitialized=function(){n.attachApplied(this._handleThemeApplied.bind(this))};u.prototype._handleThemeApplied=function(){this._bThemeApplied=true;this.invalidate();n.detachApplied(this._handleThemeApplied.bind(this))};u.prototype._calcChartData=function(){var t=this.getValue1();var e=this.getValue2();var i=Math.min(t,e,0);var a=Math.max(t,e,0);var s=a-i;function r(t){return(s===0?0:Math.abs(t)/s*100).toFixed(2)}var o={};var l=t-e;o.delta={left:a===0,width:r(l),isFirstStripeUp:t<e,isMax:t<0&&e>=0||t>=0&&e<0,isZero:t===0&&e===0,isEqual:l===0};o.bar1={left:e>=0,width:r(t),isSmaller:Math.abs(t)<Math.abs(e)};o.bar2={left:t>=0,width:r(e),isSmaller:Math.abs(e)<Math.abs(t)};return o};u.prototype._getDeltaValue=function(){var t=this.getValue1(),e=this.getValue2();return Math.abs(t-e).toFixed(Math.max(this._digitsAfterDecimalPoint(t),this._digitsAfterDecimalPoint(e)))};u.prototype._getLocalizedColorMeaning=function(t){return p.hasOwnProperty(t)?this._oRb.getText((\"SEMANTIC_COLOR_\"+t).toUpperCase()):\"\"};u.prototype._getAltHeaderText=function(t){var e=this._oRb.getText(\"DELTAMICROCHART\");if(t){e+=\" \"+this._oRb.getText(\"IS_ACTIVE\")}e+=\"\\n\";if(!this._hasData()){e+=this._oRb.getText(\"NO_DATA\");return e}var i=this.getDisplayValue1();var a=this.getDisplayValue2();var s=this.getDeltaDisplayValue();var r=this.getValue1();var o=this.getValue2();var l=i?i:\"\"+r;var n=a?a:\"\"+o;var p=s?s:\"\"+Math.abs(r-o).toFixed(Math.max(this._digitsAfterDecimalPoint(r),this._digitsAfterDecimalPoint(o)));var h=this._getLocalizedColorMeaning(this.getColor());e+=this.getTitle1()+\" \"+l+\"\\n\"+this.getTitle2()+\" \"+n+\"\\n\"+this._oRb.getText(\"DELTAMICROCHART_DELTA_TOOLTIP\",[p,h]);return e};u.prototype.onBeforeRendering=function(){this._oChartData=this._calcChartData();if(this._sResizeHandlerId){a.deregister(this._sResizeHandlerId)}this.$().off(\"mouseenter\");this.$().off(\"mouseleave\")};u.prototype.onAfterRendering=function(){t._checkControlIsVisible(this,this._onControlIsVisible);this.$().on(\"mouseenter\",this._addTitleAttribute.bind(this));this.$().on(\"mouseleave\",this._removeTitleAttribute.bind(this))};u.prototype._onControlIsVisible=function(){if(this._hasData()){this._onResize();this._sResizeHandlerId=a.register(this,this._onResize.bind(this))}};u.prototype.exit=function(){a.deregister(this._sResizeHandlerId)};u.prototype._onResize=function(){var t=this.$(),e=parseInt(t.width()),i=parseInt(t.height()),a=t.find(\".sapSuiteDMCLbls .sapSuiteDMCLabel\"),s=this.getView();t.removeClass(\"sapSuiteDMCNoLabels sapSuiteDMCNoRightLabels sapSuiteDMCLookM sapSuiteDMCLookS sapSuiteDMCLookXS\");if(s===h.Responsive){t.removeClass(\"sapSuiteDMCWideMode\")}if(e<=this.convertRemToPixels(u.THRESHOLD_WIDTH_NO_LABEL)||i<=this.convertRemToPixels(u.THRESHOLD_LOOK_XS)){t.addClass(\"sapSuiteDMCNoLabels\")}if(s===h.Responsive&&e>this.convertRemToPixels(u.THRESHOLD_WIDTH_WIDE_MODE)){t.addClass(\"sapSuiteDMCWideMode\")}if(i<this.convertRemToPixels(u.THRESHOLD_LOOK_S)){t.addClass(\"sapSuiteDMCLookXS\")}else if(i<this.convertRemToPixels(u.THRESHOLD_LOOK_M)){t.addClass(\"sapSuiteDMCLookS\")}else if(i<this.convertRemToPixels(u.THRESHOLD_LOOK_L)){t.addClass(\"sapSuiteDMCLookM\")}if(this._isAnyLabelTruncated(a)){t.addClass(\"sapSuiteDMCNoRightLabels\")}};u.prototype.attachEvent=function(t,e,a,s){i.prototype.attachEvent.call(this,t,e,a,s);if(this.hasListeners(\"press\")){this.$().attr(\"tabindex\",0).addClass(\"sapSuiteUiMicroChartPointer\")}return this};u.prototype.detachEvent=function(t,e,a){i.prototype.detachEvent.call(this,t,e,a);if(!this.hasListeners(\"press\")){this.$().removeAttr(\"tabindex\").removeClass(\"sapSuiteUiMicroChartPointer\")}return this};u.prototype.ontap=function(t){this.firePress()};u.prototype.onkeydown=function(t){if(t.which===s.SPACE){t.preventDefault()}};u.prototype.onkeyup=function(t){if(t.which===s.ENTER||t.which===s.SPACE){this.firePress();t.preventDefault()}};u.prototype._addTitleAttribute=function(){if(!this.$().attr(\"title\")&&this._hasData()){this.$().attr(\"title\",this.getTooltip_AsString())}};u.prototype._removeTitleAttribute=function(){if(this.$().attr(\"title\")){this.$().removeAttr(\"title\")}};u.prototype._isActuallyANumber=function(t){return!isNaN(t)&&t!==null&&(t!==\"Infinity\"&&t!==\"-Infinity\")};u.prototype._hasData=function(){return this._isActuallyANumber(this.getValue1())||this._isActuallyANumber(this.getValue2())};u.prototype.firePress=function(){if(this._hasData()){i.prototype.fireEvent.call(this,\"press\",arguments)}};r.extendMicroChart(u);r.extendMicroChartSetColor(u);return u});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/DeltaMicroChartRenderer\", [\"./library\",\"sap/suite/ui/microchart/MicroChartRenderUtils\",\"sap/ui/core/theming/Parameters\"],function(a,e,t){\"use strict\";const s=a.MicroChartColorType;var i=a.DeltaMicroChartViewType;var r={apiVersion:2};r.render=function(a,e){function r(a){return a?\"sapSuiteDMCDirectionLeft\":\"sapSuiteDMCDirectionRight\"}if(e._hasData()){if(!e._bThemeApplied){return}var l=e.getDisplayValue1();var o=e.getDisplayValue2();var p=e.getValue1();var n=e.getValue2();var d=e.getDeltaDisplayValue();var c=l?l:\"\"+p;var D=o?o:\"\"+n;var S=d?d:\"\"+e._getDeltaValue();var u=e.getColor();var C=function(e,i){if(s.hasOwnProperty(e)){a.class(\"sapSuiteDMCSemanticColor\"+e)}else{a.style(i,t.get(e)||e)}};var M=e.getTitle1();var v=e.getTitle2();var h=e.getView();a.openStart(\"div\",e);this._writeMainProperties(a,e);if(!M){a.class(\"sapSuiteDMCNoTitleTop\")}if(!v){a.class(\"sapSuiteDMCNoTitleBottom\")}if(h===i.Wide){a.class(\"sapSuiteDMCWideMode\")}a.openEnd();a.openStart(\"div\");a.class(\"sapSuiteDMCVerticalAlignmentContainer\");a.openEnd();if((M||v)&&(h===i.Wide||h===i.Responsive)){a.openStart(\"div\");a.class(\"sapSuiteDMCWideTitles\");a.class(\"sapSuiteDMCLabel\");a.openEnd();this._renderTitle(a,M,\"sapSuiteDMCPositionTop\");this._renderTitle(a,v,\"sapSuiteDMCPositionBtm\");a.close(\"div\");a.openStart(\"div\");a.class(\"sapSuiteDMCSpacer\");a.class(\"sapSuiteDMCSpacerLeft\");a.openEnd();a.close(\"div\")}a.openStart(\"div\");a.class(\"sapSuiteDMCCnt\");a.openEnd();if(M&&(h===i.Normal||h===i.Responsive)){this._renderTitle(a,M,\"sapSuiteDMCPositionTop\")}a.openStart(\"div\",e.getId()+\"-dmc-chart\");a.class(\"sapSuiteDMCChart\");a.openEnd();a.openStart(\"div\",e.getId()+\"-dmc-bar1\");a.class(\"sapSuiteDMCBar\");a.class(\"sapSuiteDMCBar1\");if(e._oChartData.delta.isMax){a.class(\"sapSuiteDMCBarDeltaMaxDelta\")}if(e._oChartData.bar1.isSmaller){a.class(\"sapSuiteDMCBarSizeSmaller\")}if(parseFloat(e._oChartData.bar1.width)===0){a.class(\"sapSuiteDMCBarZeroWidth\")}else if(parseFloat(e._oChartData.bar2.width)===0){a.class(\"sapSuiteDMCBarUniqueNonzero\")}a.class(r(e._oChartData.bar1.left));a.style(\"width\",e._oChartData.bar1.width+\"%\");a.openEnd();a.openStart(\"div\");a.class(\"sapSuiteDMCBarInternal\");a.class(r(e._oChartData.bar2.left));a.openEnd();a.close(\"div\");a.close(\"div\");a.openStart(\"div\",e.getId()+\"-dmc-bar2\");a.class(\"sapSuiteDMCBar\");a.class(\"sapSuiteDMCBar2\");if(e._oChartData.delta.isMax){a.class(\"sapSuiteDMCBarDeltaMaxDelta\")}if(e._oChartData.bar2.isSmaller){a.class(\"sapSuiteDMCBarSizeSmaller\")}if(parseFloat(e._oChartData.bar2.width)===0){a.class(\"sapSuiteDMCBarZeroWidth\")}else if(parseFloat(e._oChartData.bar1.width)===0){a.class(\"sapSuiteDMCBarUniqueNonzero\")}a.class(r(e._oChartData.bar2.left));a.style(\"width\",e._oChartData.bar2.width+\"%\");a.openEnd();a.openStart(\"div\");a.class(\"sapSuiteDMCBarInternal\");a.class(r(e._oChartData.bar1.left));a.openEnd();a.close(\"div\");a.close(\"div\");a.openStart(\"div\",e.getId()+\"-dmc-bar-delta\");a.class(\"sapSuiteDMCBar\");a.class(\"sapSuiteDMCBarDelta\");if(!e._oChartData.delta.isMax){a.class(\"sapSuiteDMCBarDeltaNotMax\")}if(e._oChartData.delta.isZero){a.class(\"sapSuiteDMCBarDeltaZero\")}if(e._oChartData.delta.isEqual){a.class(\"sapSuiteDMCBarDeltaEqual\")}a.class(r(e._oChartData.delta.left));a.style(\"width\",e._oChartData.delta.width+\"%\");a.openEnd();a.openStart(\"div\");C(u,\"background-color\");a.class(\"sapSuiteDMCBarDeltaInt\");a.openEnd();a.close(\"div\");a.openStart(\"div\");a.class(\"sapSuiteDMCBarDeltaStripe\");a.class(r(true));if(e._oChartData.delta.isEqual){a.class(\"sapSuiteDMCBarDeltaEqual\")}a.class(\"sapSuiteDMCBarDeltaFirstStripe\"+(e._oChartData.delta.isFirstStripeUp?\"Up\":\"Down\"));a.openEnd();a.close(\"div\");a.openStart(\"div\");a.class(\"sapSuiteDMCBarDeltaStripe\");a.class(r(false));a.class(\"sapSuiteDMCBarDeltaFirstStripe\"+(e._oChartData.delta.isFirstStripeUp?\"Down\":\"Up\"));a.openEnd();a.close(\"div\");a.close(\"div\");a.close(\"div\");if(v&&(h===i.Normal||h===i.Responsive)){this._renderTitle(a,v,\"sapSuiteDMCPositionBtm\")}a.close(\"div\");a.openStart(\"div\");a.class(\"sapSuiteDMCSpacer\");a.class(\"sapSuiteDMCSpacerRight\");a.openEnd();a.close(\"div\");a.openStart(\"div\");a.class(\"sapSuiteDMCLbls\");a.openEnd();a.openStart(\"div\",e.getId()+\"-value1\");a.class(\"sapSuiteDMCLabel\");a.class(\"sapSuiteDMCValue1\");a.openEnd();a.text(c);a.close(\"div\");a.openStart(\"div\",e.getId()+\"-delta\");a.class(\"sapSuiteDMCLabel\");a.class(\"sapSuiteDMCDelta\");C(u,\"color\");a.openEnd();a.text(S);a.close(\"div\");a.openStart(\"div\",e.getId()+\"-value2\");a.class(\"sapSuiteDMCLabel\");a.class(\"sapSuiteDMCValue2\");a.openEnd();a.text(D);a.close(\"div\");a.close(\"div\");a.close(\"div\");a.close(\"div\")}else{this._renderNoData(a,e)}};r._renderTitle=function(a,e,t){a.openStart(\"div\");a.class(\"sapSuiteDMCLabel\");a.class(\"sapSuiteDMCTitle\");a.class(t);a.openEnd();a.text(e);a.close(\"div\")};r._writeMainProperties=function(a,e){var t=e.hasListeners(\"press\");this._renderActiveProperties(a,e);var s=e.getTooltip_AsString(t);a.attr(\"role\",\"figure\");if(e.getAriaLabelledBy().length){a.accessibilityState(e)}else{a.attr(\"aria-label\",s)}a.class(\"sapSuiteDMC\");a.class(\"sapSuiteDMCSize\"+e.getSize());a.style(\"width\",e.getWidth());a.style(\"height\",e.getHeight())};e.extendMicroChartRenderer(r);return r},true);\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/HarveyBallMicroChart\", [\"./library\",\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/ui/events/KeyCodes\",\"sap/suite/ui/microchart/MicroChartUtils\",\"sap/ui/core/ResizeHandler\",\"./HarveyBallMicroChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\",\"./HarveyBallMicroChartItem\"],function(t,e,i,a,r,s,o,n,l,p){\"use strict\";const h=t.MicroChartColorType;var u=e.extend(\"sap.suite.ui.microchart.HarveyBallMicroChart\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{total:{group:\"Misc\",type:\"float\",defaultValue:null},totalLabel:{group:\"Misc\",type:\"string\"},totalScale:{group:\"Misc\",type:\"string\"},formattedLabel:{group:\"Misc\",type:\"boolean\",defaultValue:false},showTotal:{group:\"Misc\",type:\"boolean\",defaultValue:true},showFractions:{group:\"Misc\",type:\"boolean\",defaultValue:true},size:{group:\"Misc\",type:\"sap.m.Size\",defaultValue:\"Auto\"},colorPalette:{type:\"string[]\",group:\"Appearance\",defaultValue:[]},width:{type:\"sap.ui.core.CSSSize\",group:\"Misc\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Misc\"},alignContent:{group:\"Misc\",type:\"sap.suite.ui.microchart.HorizontalAlignmentType\",defaultValue:\"Left\"},isResponsive:{type:\"boolean\",group:\"Appearance\",defaultValue:false},hideOnNoData:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},defaultAggregation:\"items\",aggregations:{items:{multiple:true,type:\"sap.suite.ui.microchart.HarveyBallMicroChartItem\",bindable:\"bindable\",defaultClass:p}},events:{press:{}}},renderer:o});u.VALUE_TRUNCATION_DIGITS=5;u.THRESHOLD_LOOK_XS=1.125;u.THRESHOLD_LOOK_S=3.5;u.THRESHOLD_LOOK_M=4.5;u.THRESHOLD_LOOK_L=5.875;u.prototype._getAltHeaderText=function(t){var e=this._oRb.getText(\"HARVEYBALLMICROCHART\");if(t){e+=\" \"+this._oRb.getText(\"IS_ACTIVE\")}if(!this._hasData()){e+=\"\\n\"+this._oRb.getText(\"NO_DATA\");return e}return e};u.prototype._getAltSubText=function(t){var e=\"\";var i=this.getItems();i.forEach(function(i){var a=i.getColor(),r=i.getTooltip_AsString(),s=\"\";if(!r){return}var o=this.getColorPalette().length===0&&h.hasOwnProperty(a)?this._oRb.getText((\"SEMANTIC_COLOR_\"+a).toUpperCase()):\"\";var n=i.getFractionLabel();var l=i.getFractionScale();if(!n&&l){n=i.getFormattedLabel()?i.getFraction():i.getFraction()+i.getFractionScale().substring(0,3)}else if(!i.getFormattedLabel()&&i.getFractionLabel()&&l){n+=i.getFractionScale().substring(0,3)}s+=n+\" \"+o;s=r.split(\"((AltText))\").join(s);if(s){e+=\"\\n\"+s;t=false}}.bind(this));if(this.getTotal()){var a=this.getTotalLabel();if(!a){if(this.getFormattedLabel()&&this.getTotal()){a=this.getTotal()}else if(this.getTotalScale()&&this.getTotal()){a=this.getTotal()+this.getTotalScale().substring(0,3)}}else if(!this.getFormattedLabel()&&this.getTotalScale()){a+=this.getTotalScale().substring(0,3)}e+=(t?\"\":\"\\n\")+this._oRb.getText(\"HARVEYBALLMICROCHART_TOTAL_TOOLTIP\")+\" \"+a}return e};u.prototype.getTooltip_AsString=function(t){var i=e.prototype.getTooltip_AsString.apply(this,arguments),a=this._getAltHeaderText(t),r=false;if(i){a=i.split(\"((AltText))\").join(a)}if(!i||!a){a=\"\";r=true}a+=this._getAltSubText(r);return a};u.prototype.init=function(){this._oRb=n.getLibraryResourceBundle(\"sap.suite.ui.microchart\");this.setAggregation(\"tooltip\",\"((AltText))\",true);i.media.attachHandler(this.invalidate,this,i.media.RANGESETS.SAP_STANDARD);this._sChartResizeHandlerId=null;this._bThemeApplied=false;n.ready(this._handleCoreInitialized.bind(this))};u.prototype.setSize=function(t){if(this.getSize()!==t){this.setProperty(\"size\",t,false)}return this};u.prototype._handleCoreInitialized=function(){l.attachApplied(this._handleThemeApplied.bind(this))};u.prototype._handleThemeApplied=function(){this._bThemeApplied=true;this.invalidate();l.detachApplied(this._handleThemeApplied.bind(this))};u.prototype.onBeforeRendering=function(){if(this._sChartResizeHandlerId){s.deregister(this._sChartResizeHandlerId)}this._unbindMouseEnterLeaveHandler()};u.prototype.onAfterRendering=function(){t._checkControlIsVisible(this,this._onControlIsVisible);this._bindMouseEnterLeaveHandler()};u.prototype._onControlIsVisible=function(){this._onResize();this._sChartResizeHandlerId=s.register(this,this._onResize.bind(this))};u.prototype._onResize=function(){var t=this.$(),e=t.height(),i=t.find(\".sapSuiteHBMCChart\").first(),a=t.find(\".sapSuiteHBMCTextContainer\").first(),r,s;t.removeClass(\"sapSuiteHBMCLookL sapSuiteHBMCLookM sapSuiteHBMCLookS sapSuiteHBMCLookXS\");a.removeClass(\"sapSuiteHBMCTextContainerHide\");i.css(\"width\",i.css(\"height\"));var o=t.find(\".sapSuiteHBMCChartSvg\")[0];if(o){o.setAttribute(\"viewBox\",\"0 0 72 72\")}if(e<this.convertRemToPixels(u.THRESHOLD_LOOK_S)){t.addClass(\"sapSuiteHBMCLookXS\");if(o){o.setAttribute(\"viewBox\",\"5 5 62 62\")}}else if(e<this.convertRemToPixels(u.THRESHOLD_LOOK_M)){t.addClass(\"sapSuiteHBMCLookS\")}else if(e<this.convertRemToPixels(u.THRESHOLD_LOOK_L)){t.addClass(\"sapSuiteHBMCLookM\")}else{t.addClass(\"sapSuiteHBMCLookL\")}r=t.width();s=i.width()+a.outerWidth();if(r<s){a.addClass(\"sapSuiteHBMCTextContainerHide\")}};u.prototype._parseFormattedValue=function(t){return{scale:t.replace(/.*?([^+-.,\\d]*)$/g,\"$1\").trim(),value:t.replace(/(.*?)[^+-.,\\d]*$/g,\"$1\").trim()}};u.prototype.ontap=function(t){if(this.hasListeners(\"press\")===true){t.setMarked();t.stopPropagation()}this.firePress()};u.prototype.onkeydown=function(t){if(t.which==a.SPACE){t.preventDefault()}};u.prototype.onkeyup=function(t){if(t.which===a.ENTER||t.which===a.SPACE){this.firePress();t.preventDefault()}};u.prototype.attachEvent=function(t,i,a,r){e.prototype.attachEvent.call(this,t,i,a,r);if(this.hasListeners(\"press\")){this.$().attr(\"tabindex\",0).addClass(\"sapSuiteUiMicroChartPointer\")}return this};u.prototype.detachEvent=function(t,i,a){e.prototype.detachEvent.call(this,t,i,a);if(!this.hasListeners(\"press\")){this.$().removeAttr(\"tabindex\").removeClass(\"sapSuiteUiMicroChartPointer\")}return this};u.prototype.exit=function(t){i.media.detachHandler(this.invalidate,this,i.media.RANGESETS.SAP_STANDARD);s.deregister(this._sChartResizeHandlerId)};u.prototype._addTitleAttribute=function(){if(!this.$().attr(\"title\")&&this._hasData()){this.$().attr(\"title\",this.getTooltip_AsString())}};u.prototype._removeTitleAttribute=function(){if(this.$().attr(\"title\")){this.$().removeAttr(\"title\")}};u.prototype._bindMouseEnterLeaveHandler=function(){this.$().on(\"mouseenter.tooltip\",this._addTitleAttribute.bind(this));this.$().on(\"mouseleave.tooltip\",this._removeTitleAttribute.bind(this))};u.prototype._unbindMouseEnterLeaveHandler=function(){this.$().off(\"mouseenter.tooltip\");this.$().off(\"mouseleave.tooltip\")};u._truncateValue=function(t,e){var i=t.replace(String.fromCharCode(8206),\"\").replace(String.fromCharCode(8207),\"\");var a=i.replace(/[+-., \\d]*(.*)$/g,\"$1\").trim().replace(/\\.$/,\"\");t=i.replace(/([+-., \\d]*).*$/g,\"$1\").trim();var r=t[e-1]===\".\"||t[e-1]===\",\";if(t.length>=e&&r){return t.substring(0,e-1)+a}else{return t.substring(0,e)+a}};u.prototype._hasData=function(){return this.getItems().length>0};u.prototype.firePress=function(){if(this._hasData()){e.prototype.fireEvent.call(this,\"press\",arguments)}};r.extendMicroChart(u);return u});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/HarveyBallMicroChartItem\", [\"./library\",\"sap/ui/core/Element\",\"sap/suite/ui/microchart/MicroChartUtils\"],function(t,r,e){\"use strict\";const i=t.MicroChartColorType;var a=r.extend(\"sap.suite.ui.microchart.HarveyBallMicroChartItem\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{color:{group:\"Misc\",type:\"string\",defaultValue:i.Neutral},fraction:{group:\"Misc\",type:\"float\",defaultValue:0},fractionLabel:{group:\"Misc\",type:\"string\"},fractionScale:{group:\"Misc\",type:\"string\"},formattedLabel:{group:\"Misc\",type:\"boolean\",defaultValue:false}}}});a.prototype.init=function(){this.setAggregation(\"tooltip\",\"((AltText))\",true)};e.extendMicroChartSetColor(a);return a});\n/*!\n* SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n*/\nsap.ui.predefine(\"sap/suite/ui/microchart/HarveyBallMicroChartRenderer\", [\"sap/m/library\",\"./library\",\"sap/base/security/encodeXML\",\"sap/suite/ui/microchart/MicroChartRenderUtils\",\"sap/ui/core/theming/Parameters\"],function(e,t,a,r,i){\"use strict\";var s=e.ValueCSSColor;const n=t.MicroChartColorType;var l;var o={apiVersion:2};o._iReferenceControlSize=72;o._iReferenceControlCenter=o._iReferenceControlSize/2;o.render=function(e,t){l=l||sap.ui.require(\"sap/suite/ui/microchart/HarveyBallMicroChart\");if(!t._hasData()){this._renderNoData(e,t);return}if(!t._bThemeApplied){return}this._calculatePath(t);var r=t.getColorPalette();var o=\"\";var c=\"\";var h=\"\";var p=false;var u=0;var g=\"\";var d=function(e){if(n.hasOwnProperty(e)){g=\"sapSuiteHBMCSemanticColor\"+a(e)}else{return s.isValid(e)&&i.get(e)||e}return null};var S=r.length>0?d(r[0]):null;var v=this._oPath.center-1;if(t.getItems().length){var C=t.getItems()[0];u=C.getFraction();c=C.getFractionLabel()?C.getFractionLabel():c+C.getFraction();h=C.getFractionScale()?C.getFractionScale().substring(0,3):h;p=C.getFormattedLabel();if(!S&&!g){S=d(C.getColor())}}if(p){var f=t._parseFormattedValue(c);h=f.scale.substring(0,3);c=f.value}var _=t.getTotal();var M=t.getTotalLabel()?t.getTotalLabel():\"\"+t.getTotal();if(t.getTotalScale()){o=t.getTotalScale().substring(0,3)}if(t.getFormattedLabel()){var b=t._parseFormattedValue(M);o=b.scale.substring(0,3);M=b.value}if(c){c=l._truncateValue(c,l.VALUE_TRUNCATION_DIGITS)}if(M){M=l._truncateValue(M,l.VALUE_TRUNCATION_DIGITS)}e.openStart(\"div\",t);this._writeMainProperties(e,t);e.openEnd();e.openStart(\"div\");e.class(\"sapSuiteHBMCAlign\"+t.getAlignContent());e.class(\"sapSuiteHBMCVerticalAlignmentContainer\");e.openEnd();e.openStart(\"div\");e.class(\"sapSuiteHBMCChart\");e.openEnd();e.openStart(\"svg\",t.getId()+\"-harvey-ball\");e.class(\"sapSuiteHBMCChartSvg\");e.attr(\"viewBox\",\"0 0 72 72\");e.attr(\"focusable\",false);e.openEnd();e.openStart(\"g\").openEnd();e.openStart(\"circle\");e.attr(\"cx\",this._oPath.center);e.attr(\"cy\",this._oPath.center);e.attr(\"r\",v);e.class(\"sapSuiteHBMCBackgroundCircle\");e.openEnd();e.close(\"circle\");if(u&&u>=_){e.openStart(\"circle\");e.attr(\"cx\",this._oPath.center);e.attr(\"cy\",this._oPath.center);e.attr(\"r\",v-this._oPath.border);e.class(\"sapSuiteHBMCSegment\");if(S){e.style(\"fill\",S)}else{e.class(g)}e.openEnd();e.close(\"circle\")}else if(u>0){e.openStart(\"path\",t.getId()+\"-segment\");e.class(\"sapSuiteHBMCSegment\");if(S){e.style(\"fill\",S)}else{e.class(g)}e.attr(\"d\",this._serializePieChart());e.openEnd();e.close(\"path\")}e.close(\"g\");e.close(\"svg\");e.close(\"div\");e.openStart(\"div\");e.class(\"sapSuiteHBMCTextContainer\");e.openEnd();if(t.getShowFractions()){e.openStart(\"div\");e.class(\"sapSuiteHBMCValueContainer\");e.openEnd();this.renderLabel(e,t,[g,\"sapSuiteHBMCValue\"],c,S,\"-fraction\");this.renderLabel(e,t,[g,\"sapSuiteHBMCValueScale\"],h,S,\"-fraction-scale\");e.close(\"div\")}if(t.getShowTotal()){e.openStart(\"div\");e.class(\"sapSuiteHBMCTotalContainer\");e.openEnd();this.renderLabel(e,t,[g,\"sapSuiteHBMCTotal\"],M,S,\"-total\");this.renderLabel(e,t,[g,\"sapSuiteHBMCTotalScale\"],o,S,\"-total-scale\");e.close(\"div\")}e.close(\"div\");e.close(\"div\");e.close(\"div\")};o._writeMainProperties=function(e,t){var a=t.hasListeners(\"press\");this._renderActiveProperties(e,t);var r=t.getTooltip_AsString(a);e.attr(\"role\",\"figure\");if(t.getAriaLabelledBy().length){e.accessibilityState(t)}else{e.attr(\"aria-label\",r)}e.class(\"sapSuiteHBMC\");e.class(\"sapSuiteHBMCSize\"+t.getSize());e.style(\"width\",t.getWidth());e.style(\"height\",t.getHeight())};o.renderLabel=function(e,t,a,r,i,s){var n=!(a.indexOf(\"sapSuiteHBMCTotal\")>-1||a.indexOf(\"sapSuiteHBMCTotalScale\")>-1);e.openStart(\"span\",t.getId()+s);for(var l=0;l<a.length;l++){if(!(l===0&&i&&n)){e.class(a[l])}}e.openEnd();if(r){e.text(r)}e.close(\"span\")};o._calculatePath=function(e){var t=e.getTotal();var a=0;if(e.getItems().length){a=e.getItems()[0].getFraction()}var r=o._iReferenceControlCenter;var i=5;this._oPath={initial:{x:r,y:r},lineTo:{x:r,y:i},arc:{x1:r-i,y1:r-i,largeArc:0,x2:\"\",y2:\"\"},size:o._iReferenceControlSize,border:i,center:r};var s=a/t*360;var n=Math.PI/180;var l=this._oPath.center-this._oPath.border;var c=l*Math.cos((s-90)*n)+this._oPath.center;var h=this._oPath.size-(l*Math.sin((s+90)*n)+this._oPath.center);this._oPath.arc.x2=c.toFixed(2);this._oPath.arc.y2=h.toFixed(2);var p=t/a<2?1:0;this._oPath.arc.largeArc=p};o._serializePieChart=function(){var e=this._oPath;return[\"M\",e.initial.x,\",\",e.initial.y,\" L\",e.initial.x,\",\",e.lineTo.y,\" A\",e.arc.x1,\",\",e.arc.y1,\" 0 \",e.arc.largeArc,\",1 \",e.arc.x2,\",\",e.arc.y2,\" L\",e.initial.x,\",\",e.initial.y,\" z\"].join(\"\")};r.extendMicroChartRenderer(o);return o},true);\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/InteractiveBarChart\", [\"sap/base/i18n/Localization\",\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/m/library\",\"sap/ui/core/Control\",\"sap/m/FlexBox\",\"sap/ui/core/ResizeHandler\",\"sap/base/Log\",\"sap/m/IllustratedMessage\",\"./InteractiveBarChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\",\"./InteractiveBarChartBar\"],function(t,jQuery,e,i,a,s,r,n,l,o,h,p,d){\"use strict\";var _=a.extend(\"sap.suite.ui.microchart.InteractiveBarChart\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{displayedBars:{type:\"int\",group:\"Appearance\",defaultValue:3},labelWidth:{type:\"sap.ui.core.Percentage\",group:\"Appearance\",defaultValue:\"40%\"},selectionEnabled:{type:\"boolean\",group:\"Behavior\",defaultValue:true},min:{type:\"float\",group:\"Appearance\"},max:{type:\"float\",group:\"Appearance\"},showError:{type:\"boolean\",group:\"Appearance\",defaultValue:false},errorMessageTitle:{type:\"string\",group:\"Appearance\"},errorMessage:{type:\"string\",group:\"Appearance\"}},defaultAggregation:\"bars\",aggregations:{bars:{type:\"sap.suite.ui.microchart.InteractiveBarChartBar\",defaultClass:d,multiple:true,bindable:\"bindable\"}},events:{selectionChanged:{parameters:{selectedBars:{type:\"sap.suite.ui.microchart.InteractiveBarChartBar[]\"},bar:{type:\"sap.suite.ui.microchart.InteractiveBarChartBar\"},selected:{type:\"boolean\"}}},press:{}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}}},renderer:o});_.MIN_BAR_WIDTH_IN_PX=1;_.BAR_VALUE_PADDING_LEFT_IN_PX=4;_.BAR_VALUE_PADDING_RIGHT_IN_PX=4;_.SELECTION_AREA_BORDER_IN_PX=1;_.DIVIDER_WIDTH_IN_PX=1;_.AREA_HEIGHT_MINVALUE=18;_.BAR_HEIGHT_FONT_SMALLER=20;_.BAR_HEIGHT_MINVALUE=6;_.BAR_HEIGHT_LABEL_HIDE=16;_.CHART_WIDTH_FONT_SMALLER=286;_.LABEL_WIDTH_MINVALUE=80;_.CHART_WIDTH_MINVALUE=130;_.AREA_HEIGHT_INTERACTIVE_MINVALUE=48;_.AREA_HEIGHT_INTERACTIVE_MINVALUE_COMPACT=32;_.AREA_HEIGHT_PADDING_STAGE1=34;_.AREA_HEIGHT_PADDING_STAGE1_COMPACT=32;_.AREA_HEIGHT_PADDING_STAGE2=28;_.AREA_HEIGHT_PADDING_STAGE2_COMPACT=31;_.prototype.init=function(){this._iVisibleBars=0;this._bInteractiveMode=true;this._bMinMaxValid=null;this._fDividerPositionRight=0;this._oRb=h.getLibraryResourceBundle(\"sap.suite.ui.microchart\");this._fMin=null;this._fMax=null;this._bThemeApplied=false;this._oIllustratedMessageControl=new l({illustrationSize:i.IllustratedMessageSize.Base,illustrationType:i.IllustratedMessageType.NoData});h.ready(this._handleCoreInitialized.bind(this))};_.prototype._handleCoreInitialized=function(){p.attachApplied(this._handleThemeApplied.bind(this))};_.prototype.onBeforeRendering=function(){this._bCompact=this._isCompact();this._bInteractiveMode=true;this._setResponsivenessData();this._setInternalMinMax();this._errorMessage=this.getErrorMessage();this._errorMessageTitle=this.getErrorMessageTitle();this._oIllustratedMessageControl.setTitle(this._errorMessageTitle);this._oIllustratedMessageControl.setDescription(this._errorMessage);this._bMinMaxValid=this._checkIfMinMaxValid();if(this.getAggregation(\"bars\")&&this.getDisplayedBars()){this._iVisibleBars=Math.min(this.getAggregation(\"bars\").length,this.getDisplayedBars())}if(!this.data(\"_parentRenderingContext\")&&typeof this.getParent===\"function\"){this.data(\"_parentRenderingContext\",this.getParent())}this._deregisterResizeHandler();this._updateUseSemanticTooltip()};_.prototype.onAfterRendering=function(){this._adjustToParent();e._checkControlIsVisible(this,this._onControlIsVisible);this._bindMouseEnterLeaveHandler()};_.prototype._updateUseSemanticTooltip=function(){var t=this.getBars();this._bUseSemanticTooltip=false;for(var e=0;e<this._iVisibleBars;e++){if(t[e].getColor()!==i.ValueColor.Neutral){this._bUseSemanticTooltip=true;return}}};_.prototype._onControlIsVisible=function(){this._sResizeHandlerId=r.register(this,this._onResize.bind(this));this._calcBarsWidth();this._onResize();if(this.$().length>0){var t=this._isCompact();if(t!==this._bCompact){this._bCompact=t;this.invalidate()}}};_.prototype.exit=function(){this._deregisterResizeHandler();this._oIllustratedMessageControl.destroy()};_.prototype.onclick=function(t){if(!this.getSelectionEnabled()){return}if(this._bInteractiveMode){var e=jQuery(t.target).attr(\"id\")||jQuery(t.target).parents(\".sapSuiteIBCBarInteractionArea\").attr(\"id\"),i=this.$().find(\".sapSuiteIBCBarInteractionArea\"),a,s;if(e){a=e.substring(e.lastIndexOf(\"-\")+1);if(isNaN(a)){return}else{a=parseInt(a)}this._toggleSelected(a);s=i.index(this.$().find(\".sapSuiteIBCBarInteractionArea[tabindex='0']\"));this._switchTabindex(s,a,i)}}else{this.firePress()}};_.prototype.onsapenter=function(t){if(this._bInteractiveMode){var e=this.$().find(\".sapSuiteIBCBarInteractionArea\").index(t.target);if(e!==-1){this._toggleSelected(e)}t.preventDefault();t.stopImmediatePropagation()}else{this.firePress()}};_.prototype.onsapspace=_.prototype.onsapenter;_.prototype.onsapup=function(t){var e=this.$().find(\".sapSuiteIBCBarInteractionArea\");var i=e.index(t.target);if(e.length>0){this._switchTabindex(i,i-1,e)}t.preventDefault();t.stopImmediatePropagation()};_.prototype.onsapdown=function(t){var e=this.$().find(\".sapSuiteIBCBarInteractionArea\");var i=e.index(t.target);if(e.length>0){this._switchTabindex(i,i+1,e)}t.preventDefault();t.stopImmediatePropagation()};_.prototype.onsaphome=function(t){var e=this.$().find(\".sapSuiteIBCBarInteractionArea\");var i=e.index(t.target);if(i!==0&&e.length>0){this._switchTabindex(i,0,e)}t.preventDefault();t.stopImmediatePropagation()};_.prototype.onsapend=function(t){var e=this.$().find(\".sapSuiteIBCBarInteractionArea\"),i=e.index(t.target),a=e.length;if(i!==a-1&&a>0){this._switchTabindex(i,a-1,e)}t.preventDefault();t.stopImmediatePropagation()};_.prototype.onsapleft=_.prototype.onsapup;_.prototype.onsapright=_.prototype.onsapdown;_.prototype.getSelectedBars=function(){var t=this.getAggregation(\"bars\"),e=[],i;for(i=0;i<t.length;i++){if(t[i].getSelected()){e.push(t[i])}}return e};_.prototype.setSelectedBars=function(t){var e=this.getAggregation(\"bars\"),i,a;this._deselectAllSelectedBars();if(!t){return this}if(t instanceof d){t=[t]}if(Array.isArray(t)){for(i=0;i<t.length;i++){a=this.indexOfAggregation(\"bars\",t[i]);if(a>=0){e[a].setProperty(\"selected\",true,true)}else{n.warning(\"setSelectedBars method called with invalid InteractiveBarChartBar element\")}}}this.invalidate();return this};_.prototype.getTooltip_AsString=function(t){if(this._isChartEnabled()){i=this._createTooltipText(t,true);if(!i&&e._isTooltipSuppressed(i)){i=null}}else{var i=this.getTooltip_Text();if(!i){i=this._createTooltipText()}else if(e._isTooltipSuppressed(i)){i=null}}return i};_.prototype._isCompact=function(){return jQuery(\"body\").hasClass(\"sapUiSizeCompact\")||this.$().is(\".sapUiSizeCompact\")||this.$().closest(\".sapUiSizeCompact\").length>0};_.prototype._setResponsivenessData=function(){if(this._bCompact){this._iAreaHeightInteractiveMinValue=_.AREA_HEIGHT_INTERACTIVE_MINVALUE_COMPACT;this._iAreaHeightPaddingStage1=_.AREA_HEIGHT_PADDING_STAGE1_COMPACT;this._iAreaHeightPaddingStage2=_.AREA_HEIGHT_PADDING_STAGE2_COMPACT}else{this._iAreaHeightInteractiveMinValue=_.AREA_HEIGHT_INTERACTIVE_MINVALUE;this._iAreaHeightPaddingStage1=_.AREA_HEIGHT_PADDING_STAGE1;this._iAreaHeightPaddingStage2=_.AREA_HEIGHT_PADDING_STAGE2}};_.prototype._handleThemeApplied=function(){this._bThemeApplied=true;this._bCompact=this._isCompact();this.invalidate();p.detachApplied(this._handleThemeApplied.bind(this))};_.prototype._adjustToParent=function(){var t=this.$();if(this.data(\"_parentRenderingContext\")&&this.data(\"_parentRenderingContext\")instanceof s){var e=this.data(\"_parentRenderingContext\").$();var i=e.width()-2;var a=e.height()-2;t.outerWidth(i);t.outerHeight(a)}};_.prototype._calcBarsWidth=function(){var e=this.$(),i=e.find(\".sapSuiteIBCBarLabel\"),a=_.DIVIDER_WIDTH_IN_PX,s=parseFloat(this.getLabelWidth()),r,n,l,o,h,p,d,u,c,f,g=t.getRTL();if(!this._bMinMaxValid){return this}if(this._bFullWidth){s=100;r=100}else{r=100-s}n=Math.abs(this._fMax-this._fMin);if(this._fMin>=0&&this._fMax>=0){l=0;o=1}else if(this._fMin<0&&this._fMax<0){l=1;o=0}else{l=Math.abs(this._fMin/n);o=Math.abs(this._fMax/n)}if(this._bFullWidth){if(o>=l){h=o*100;p=l*100}else{h=l*100;p=0}i.css(\"width\",h+\"%\");i.css(g?\"right\":\"left\",p+\"%\")}else{i.css(\"width\",s+\"%\");i.css(g?\"right\":\"left\",\"\")}e.find(\".sapSuiteIBCBarWrapper\").css(\"width\",r+\"%\");if(l>0){e.find(\".sapSuiteIBCBarWrapperNegative\").width(\"calc(\"+l*100+\"% - \"+a+\"px)\")}else{e.find(\".sapSuiteIBCBarWrapperNegative\").width(\"0%\")}if(o>0){e.find(\".sapSuiteIBCBarWrapperPositive\").width(\"calc(\"+o*100+\"% - \"+a+\"px)\")}else{e.find(\".sapSuiteIBCBarWrapperPositive\").width(\"0%\")}for(var I=0;I<this._iVisibleBars;I++){d=this.getBars()[I].getValue();c=this.$(\"bar-negative-\"+I);f=this.$(\"bar-positive-\"+I);if(this.getBars()[I]._bNullValue||d===0){f.add(c).css(\"min-width\",0)}else if(!this.getBars()[I]._bNullValue){if(d>0){u=Math.min(Math.max(d,this._fMin),this._fMax);f.css({width:this._calcPercent(u,n,Math.max(0,this._fMin),o),\"min-width\":1});c.css(\"min-width\",0)}else{u=Math.max(Math.min(d,this._fMax),this._fMin);c.css({width:this._calcPercent(u,n,Math.min(0,this._fMax),l),\"min-width\":1});f.css(\"min-width\",0)}}}};_.prototype._calcPercent=function(t,e,i,a){return Math.abs((t-i)/(e*a)*100).toFixed(5)+\"%\"};_.prototype._deselectAllSelectedBars=function(){var t=this.getAggregation(\"bars\"),e=t.length,i;for(i=0;i<e;i++){t[i].setProperty(\"selected\",false,true)}};_.prototype._toggleSelected=function(t){var e=this.getAggregation(\"bars\"),i=e[t];if(t<0||t>=e.length){return}var a=this.$(\"interactionArea-\"+t);if(i.getSelected()){a.removeClass(\"sapSuiteIBCBarSelected\");i.setProperty(\"selected\",false,true)}else{a.addClass(\"sapSuiteIBCBarSelected\");i.setProperty(\"selected\",true,true)}a.attr(\"aria-selected\",i.getSelected());this.fireSelectionChanged({selectedBars:this.getSelectedBars(),bar:i,selected:i.getSelected()})};_.prototype._showValueOutsideBar=function(){var e=this.$(),i,a,s,r,n,l,o,h,p=this.$(\"bar-positive-0\").parent().width(),d=this.$(\"bar-negative-0\").parent().width(),u=t.getRTL();i=e.find(\".sapSuiteIBCBarValue\");if(i.length===0){return}for(var c=0;c<this._iVisibleBars;c++){r=this.getBars()[c].getValue();s=i.eq(c).width()+_.BAR_VALUE_PADDING_LEFT_IN_PX+_.BAR_VALUE_PADDING_RIGHT_IN_PX;n=this.$(\"bar-positive-\"+c).width();l=this.$(\"bar-negative-\"+c).width();o=p-n;h=d-l;if(r>0||(this.getBars()[c]._bNullValue||r===0)&&this._fMin+this._fMax>=0){if(s>n&&s>o){i.eq(c).css(\"visibility\",\"hidden\")}else{i.eq(c).css(\"visibility\",\"inherit\")}if(s>n){a=this.$(\"bar-positive-\"+c).width()+_.BAR_VALUE_PADDING_LEFT_IN_PX+\"px\";i.eq(c).addClass(\"sapSuiteIBCBarValueOutside\")}else{a=\"\";i.eq(c).removeClass(\"sapSuiteIBCBarValueOutside\")}if(u){i.eq(c).css({right:a})}else{i.eq(c).css({left:a})}}else{if(s>l&&s>h){i.eq(c).css(\"visibility\",\"hidden\")}else{i.eq(c).css(\"visibility\",\"inherit\")}if(s>l){a=this.$(\"bar-negative-\"+c).width()+_.BAR_VALUE_PADDING_RIGHT_IN_PX+\"px\";i.eq(c).addClass(\"sapSuiteIBCBarValueOutside\")}else{a=\"\";i.eq(c).removeClass(\"sapSuiteIBCBarValueOutside\")}if(u){i.eq(c).css({left:a})}else{i.eq(c).css({right:a})}}}};_.prototype._checkIfMinMaxValid=function(){if(this._fMin>this._fMax){n.warning(\"Min value for InteractiveBarChart is larger than Max value.\");return false}return true};_.prototype._setInternalMinMax=function(){var t=null,e=null,i,a=this.getBars(),s=Math.min(this.getDisplayedBars(),a.length);for(var r=0;r<s;r++){if(!a[r]._bNullValue){i=a[r].getValue();t=Math.min(t,i);e=Math.max(e,i)}}this._fMin=this.getMin();this._fMax=this.getMax();if(!Number.isFinite(Number(this._fMin))||!Number.isFinite(Number(this._fMax))){if(t>=0&&e>=0){if(!Number.isFinite(Number(this._fMin))){this._fMin=0}if(!Number.isFinite(Number(this._fMax))){this._fMax=e}}else if(t<0&&e<0){if(!Number.isFinite(Number(this._fMin))){this._fMin=t}if(!Number.isFinite(Number(this._fMax))){this._fMax=0}}else{if(!Number.isFinite(Number(this._fMin))){this._fMin=t}if(!Number.isFinite(Number(this._fMax))){this._fMax=e}}}};_.prototype.validateProperty=function(t,e){if(t===\"labelWidth\"&&(e!==null||e!==undefined)){var i=parseFloat(e);if(i<0||i>100){n.warning(\"LabelWidth for InteractiveBarChart is not between 0 and 100.\");e=null}}return a.prototype.validateProperty.apply(this,[t,e])};_.prototype._switchTabindex=function(t,e,i){if(t>=0&&t<i.length&&e>=0&&e<i.length){i.eq(t).removeAttr(\"tabindex\");i.eq(e).attr(\"tabindex\",\"0\");i.eq(e).trigger(\"focus\")}};_.prototype._isChartEnabled=function(){return this.getSelectionEnabled()&&this._bInteractiveMode};_.prototype._resizeVertically=function(t){var e,i,a,s=this.$(),r=false,n=s.find(\".sapSuiteIBCBarInteractionArea\"),l=Math.round(s.height()),o=0,h=this._iVisibleBars;if(this._bInteractiveMode){o=1}i=parseInt(n.css(\"margin-bottom\"))+parseInt(n.css(\"margin-top\"));const p=Number.parseFloat(n.css(\"border-bottom-width\"));e=(l-(i+2*p)*h)/h;if(e+o<this._iAreaHeightInteractiveMinValue){if(this._bInteractiveMode){this._bInteractiveMode=false;r=true;s.addClass(\"sapSuiteIBCNonInteractive\");if(this.getSelectionEnabled()){var d=this.$().find(\".sapSuiteIBCBarInteractionArea[tabindex='0']\");this._iActiveElement=n.index(d);d.removeAttr(\"tabindex\");this.$().attr(\"tabindex\",\"0\")}this.$().attr({role:\"button\",\"aria-multiselectable\":\"false\",\"aria-disabled\":!this._isChartEnabled()})}}else if(!this._bInteractiveMode){this._bInteractiveMode=true;r=true;s.removeClass(\"sapSuiteIBCNonInteractive\");if(this.getSelectionEnabled()){this.$().removeAttr(\"tabindex\");if(!this._iActiveElement||this._iActiveElement<0){this._iActiveElement=0}n.eq(this._iActiveElement).attr(\"tabindex\",\"0\")}this.$().attr({role:\"listbox\",\"aria-multiselectable\":\"true\",\"aria-disabled\":!this._isChartEnabled()})}if(r){if(this._isChartEnabled()){s.removeAttr(\"title\");this._addInteractionAreaTooltip(n)}else{n.removeAttr(\"title\");s.attr(\"title\",this.getTooltip_AsString())}}n.height(e);if(e<=this._iAreaHeightPaddingStage2){s.addClass(\"sapSuiteIBCStage2\")}else{s.removeClass(\"sapSuiteIBCStage2\");if(e<=this._iAreaHeightPaddingStage1){s.addClass(\"sapSuiteIBCStage1\")}else{s.removeClass(\"sapSuiteIBCStage1\")}}var u=this.$().find(\".sapSuiteIBCBar\");if(u.length>0&&u[0].getBoundingClientRect()){a=u[0].getBoundingClientRect().height}if(a<=_.BAR_HEIGHT_FONT_SMALLER){s.addClass(\"sapSuiteIBCSmallFont\")}if(a<=_.BAR_HEIGHT_LABEL_HIDE){s.find(\".sapSuiteIBCBarValue\").css(\"visibility\",\"hidden\");t.labelsVisible=false}else{s.find(\".sapSuiteIBCBarValue\").css(\"visibility\",\"inherit\")}if(e<_.AREA_HEIGHT_MINVALUE){s.css(\"visibility\",\"hidden\");t.labelsVisible=false;t.chartVisible=false}};_.prototype._resizeHorizontally=function(t){if(!t.chartVisible){return}var e=this.$(),i=e.find(\".sapSuiteIBCBarInteractionArea\"),a=e.find(\".sapSuiteIBCBarLabel\"),s=parseFloat(this.getLabelWidth())/100*i.eq(0).width(),r=0,n=e.width(),l,o=false;if(n<_.CHART_WIDTH_FONT_SMALLER){e.addClass(\"sapSuiteIBCSmallFont\");s=parseFloat(this.getLabelWidth())/100*i.eq(0).width()}if(this._bFullWidth){r=6}for(var h=0;h<a.length;h++){a.eq(h).css(\"width\",s+\"px\");if(a.eq(h).children(\".sapSuiteIBCBarLabelText\").prop(\"clientWidth\")<a.eq(h).children(\".sapSuiteIBCBarLabelText\").prop(\"scrollWidth\")-r){o=true}a.eq(h).css(\"width\",\"100%\")}if(s<_.LABEL_WIDTH_MINVALUE&&o){e.addClass(\"sapSuiteIBCFullWidth\");this._bFullWidth=true;this._calcBarsWidth()}else{e.removeClass(\"sapSuiteIBCFullWidth\");this._bFullWidth=false;this._calcBarsWidth()}var p=this.$().find(\".sapSuiteIBCBar\");if(p.length>0&&p[0].getBoundingClientRect()){l=p[0].getBoundingClientRect().height}if(n<_.CHART_WIDTH_MINVALUE||l<_.BAR_HEIGHT_MINVALUE){e.css(\"visibility\",\"hidden\");t.labelsVisible=false;t.chartVisible=false}else if(l<=_.BAR_HEIGHT_LABEL_HIDE){e.find(\".sapSuiteIBCBarValue\").css(\"visibility\",\"hidden\");t.labelsVisible=false}};_.prototype._onResize=function(){var t=this.$(),e={chartVisible:true,labelsVisible:true};if(this.getBars().length!==0){t.css(\"visibility\",\"visible\");t.removeClass(\"sapSuiteIBCSmallFont\");this._resizeVertically(e);this._resizeHorizontally(e);if(e.labelsVisible){this._showValueOutsideBar()}}};_.prototype._deregisterResizeHandler=function(){if(this._sResizeHandlerId){r.deregister(this._sResizeHandlerId);this._sResizeHandlerId=null}};_.prototype._addInteractionAreaTooltip=function(t){var e=this.getBars(),i,a;t.each(function(t,s){i=jQuery(s);a=parseInt(i.attr(\"data-sap-ui-ibc-selection-index\"));i.attr(\"title\",e[a].getTooltip_AsString())})};_.prototype._createTooltipText=function(t,e){var i=true,a=this.getBars(),s,r=\"\";for(var n=0;n<this._iVisibleBars;n++){if(e){if(t&&t-1===n){s=a[n].getTooltip_AsString();if(s){r+=(i?\"\":\"\\n\")+s;i=false;break}}}else{s=a[n]._getBarTooltip(this._bUseSemanticTooltip);if(s){r+=(i?\"\":\"\\n\")+s;i=false}}}return r};_.prototype._bindMouseEnterLeaveHandler=function(){this.$().find(\".sapSuiteIBCBarInteractionArea\").on(\"mouseenter.tooltip\",this._addTitleAttribute.bind(this));this.$().find(\".sapSuiteIBCBarInteractionArea\").on(\"mouseleave.tooltip\",this._removeTitleAttribute.bind(this))};_.prototype._addTitleAttribute=function(t){if(this._isChartEnabled()&&this._hasData()){var e=this.getDomRef().querySelectorAll(\".sapSuiteIBCBarInteractionArea\");var i=t.target.getAttribute(\"aria-posinset\");if(i&&e[parseInt(i)-1]&&!e[parseInt(i)-1].getAttribute(\"title\")){e[parseInt(i)-1].setAttribute(\"title\",this.getTooltip_AsString(parseInt(i)))}else{var a=t.target;var s=a.closest(\".sapSuiteIBCBarInteractionArea\");if(s&&!s.getAttribute(\"title\")){s.setAttribute(\"title\",this.getTooltip_AsString(parseInt(s.getAttribute(\"aria-posinset\"))))}}}};_.prototype._removeTitleAttribute=function(t){var e=t.target.getAttribute(\"aria-posinset\");var i=this.getDomRef().querySelectorAll(\".sapSuiteIBCBarInteractionArea\");if(e&&i[parseInt(e)-1]&&i[parseInt(e)-1].getAttribute(\"title\")){i[parseInt(e)-1].removeAttribute(\"title\")}else{var a=t.target;var s=a.closest(\".sapSuiteIBCBarInteractionArea\");if(s&&s.getAttribute(\"title\")){s.removeAttribute(\"title\")}}};_.prototype._hasData=function(){return this.getBars().length>0};return _});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/InteractiveBarChartBar\", [\"./library\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\"],function(t,e,i){\"use strict\";var l=e.extend(\"sap.suite.ui.microchart.InteractiveBarChartBar\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{label:{type:\"string\",group:\"Misc\",defaultValue:null},selected:{type:\"boolean\",group:\"Appearance\",defaultValue:false},displayedValue:{type:\"string\",group:\"Data\",defaultValue:null},color:{type:\"sap.m.ValueColor\",group:\"Misc\",defaultValue:\"Neutral\"},value:{type:\"float\",group:\"Data\"}}}});l.prototype.init=function(){this._bNullValue=true;this._oRb=i.getResourceBundleFor(\"sap.suite.ui.microchart\")};l.prototype.validateProperty=function(t,i){if(t===\"value\"&&(i===null||i===undefined||isNaN(i))){this._bNullValue=true}else if(t===\"value\"){this._bNullValue=false}return e.prototype.validateProperty.apply(this,arguments)};l.prototype.getTooltip_AsString=function(){var e=this.getTooltip_Text();this._bCustomTooltip=true;if(!e){e=this._createTooltipText();this._bCustomTooltip=false}else if(t._isTooltipSuppressed(e)){e=null}return e};l.prototype._createTooltipText=function(){var t=\"\",e=this.getLabel(),i=this.getParent()&&this.getParent()._bUseSemanticTooltip,l,o;if(e&&e.length>0){t=e+\":\\n\"}if(this._bNullValue){t+=this._oRb.getText(\"INTERACTIVECHART_NA\")}else{t+=this.getValue()}if(i){l=this.getColor();o=this._oRb.getText((\"SEMANTIC_COLOR_\"+l).toUpperCase());t+=\" \"+o}return t};l.prototype._getBarTooltip=function(){var t=this.getTooltip_AsString();if(t&&!this._bCustomTooltip){t=t.replace(\"\\n\",\" \")}return t};return l});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/InteractiveBarChartRenderer\", [\"sap/m/library\"],function(e){\"use strict\";var a={apiVersion:2};a.BAR_DIRECTION_POSITIVE={NAME:\"positive\",WRAPPER_CSSCLASS:\"sapSuiteIBCBarWrapperPositive\",CSSCLASS:\"sapSuiteIBCBarPositive\"};a.BAR_DIRECTION_NEGATIVE={NAME:\"negative\",WRAPPER_CSSCLASS:\"sapSuiteIBCBarWrapperNegative\",CSSCLASS:\"sapSuiteIBCBarNegative\"};a.render=function(e,a){if(!a._bThemeApplied){return}if(a.getShowError()){e.openStart(\"div\",a);e.class(\"sapSuiteUiMicroChartNoData\");e.openEnd();e.renderControl(a._oIllustratedMessageControl);e.close(\"div\");return}var t=a.getBars(),i=Math.min(a.getDisplayedBars(),t.length);e.openStart(\"div\",a);e.class(\"sapSuiteIBC\");if(!a._isChartEnabled()){var s=a.getTooltip_AsString();if(typeof s===\"string\"||s instanceof String){e.attr(\"title\",s)}}var r={};r.role=\"listbox\";r.roledescription=a._oRb.getText(\"INTERACTIVEBARCHART\");r.multiselectable=true;r.disabled=!a._isChartEnabled();r.labelledby=a.getAriaLabelledBy();e.accessibilityState(a,r);e.openEnd();if(!a.getSelectionEnabled()){this.renderDisabledOverlay(e,a)}for(var l=0;l<i;l++){this._renderBar(e,a,t[l],l,i)}e.close(\"div\")};a._renderBar=function(t,i,s,r,l){var n,o,d,p,S,u;t.openStart(\"div\",i.getId()+\"-interactionArea-\"+r);t.attr(\"data-sap-ui-ibc-selection-index\",r);t.class(\"sapSuiteIBCBarInteractionArea\");if(s.getSelect Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/FormLayoutRenderer\", [\"sap/ui/core/library\",\"sap/ui/layout/library\",\"sap/ui/layout/form/Form\",\"./FormHelper\",\"sap/ui/core/IconPool\"],function(e,t,i,r,n){\"use strict\";var o=e.TitleLevel;var a=t.BackgroundDesign;var s={apiVersion:2};s.render=function(e,t){var r=t.getParent();if(r&&r instanceof i){this.renderForm(e,t,r)}};s.renderForm=function(e,t,i){var r=i.getToolbar();e.openStart(\"div\",t);e.class(this.getMainClass());if(r){e.class(\"sapUiFormToolbar\")}this.addBackgroundClass(e,t);e.openEnd();this.renderHeader(e,r,i.getTitle(),undefined,false,t._sFormTitleSize,i.getId());this.renderContainers(e,t,i);e.close(\"div\")};s.getMainClass=function(){return\"sapUiFormLayout\"};s.addBackgroundClass=function(e,t){var i=t.getBackgroundDesign();if(i!=a.Transparent){e.class(\"sapUiFormBackgr\"+i)}};s.renderContainers=function(e,t,i){var r=i.getVisibleFormContainers();for(var n=0,o=r.length;n<o;n++){var a=r[n];this.renderContainer(e,t,a)}};s.renderContainer=function(e,t,i){var r=i.getExpandable();var n=i.getToolbar();var o=i.getTitle();e.openStart(\"div\",i);e.class(\"sapUiFormContainer\");if(n){e.class(\"sapUiFormContainerToolbar\")}else if(o){e.class(\"sapUiFormContainerTitle\")}if(i.getTooltip_AsString()){e.attr(\"title\",i.getTooltip_AsString())}this.writeAccessibilityStateContainer(e,i,t.isContainerLabelled(i)?\"form\":\"\");e.openEnd();this.renderHeader(e,n,o,i._oExpandButton,r,t._sFormSubTitleSize,i.getId());if(r){e.openStart(\"div\",i.getId()+\"-content\");if(!i.getExpanded()){e.style(\"display\",\"none\")}e.openEnd()}var a=i.getVisibleFormElements();for(var s=0,l=a.length;s<l;s++){var d=a[s];if(d.isA(\"sap.ui.layout.form.SemanticFormElement\")&&!d._getEditable()){this.renderSemanticElement(e,t,d)}else{this.renderElement(e,t,d)}}if(r){e.close(\"div\")}e.close(\"section\")};s.renderElement=function(e,t,i){var r=i.getLabelControl();e.openStart(\"div\",i);e.class(\"sapUiFormElement\");if(r){e.class(\"sapUiFormElementLbl\")}e.openEnd();if(r){e.renderControl(r)}var n=i.getFieldsForRendering();if(n&&n.length>0){for(var o=0,a=n.length;o<a;o++){var s=n[o];e.renderControl(s)}}e.close(\"div\")};s.renderSemanticElement=function(e,t,i){this.renderElement(e,t,i)};s.renderTitle=function(e,t,i,r,n,a){if(t){if(typeof t!==\"string\"&&t.getLevel()!=o.Auto){n=t.getLevel()}if(!n){n=\"H5\"}const c=r&&i;if(c){e.openStart(\"div\",a+\"--head\");e.class(\"sapUiFormTitle\");e.class(\"sapUiFormTitleExpandable\");e.openEnd();e.renderControl(i)}if(typeof t!==\"string\"){e.openStart(n.toLowerCase(),t);if(t.getTooltip_AsString()){e.attr(\"title\",t.getTooltip_AsString())}if(t.getEmphasized()){e.class(\"sapUiFormTitleEmph\")}}else{e.openStart(n.toLowerCase(),a+\"--title\")}if(!c){e.class(\"sapUiFormTitle\")}e.class(\"sapUiFormTitle\"+n);e.openEnd();if(typeof t===\"string\"){t.split(/\\n/).forEach(function(t,i){if(i>0){e.voidStart(\"br\").voidEnd()}e.text(t)})}else{var s=t.getIcon();if(s){var l=[];var d={title:null};d[\"id\"]=t.getId()+\"-ico\";e.icon(s,l,d)}t.getText().split(/\\n/).forEach(function(t,i){if(i>0){e.voidStart(\"br\").voidEnd()}e.text(t)})}e.close(n.toLowerCase());if(c){e.close(\"div\")}}};s.renderHeader=function(e,t,i,r,n,o,a){if(t){e.renderControl(t)}else{this.renderTitle(e,i,r,n,o,a)}};s.writeAccessibilityStateContainer=function(e,t,i){const r={};const n=this.getTitleId(t);if(n){r[\"labelledby\"]={value:n,append:true}}if(i){r[\"role\"]=i}e.accessibilityState(t,r)};s.getTitleId=function(e){const t=e.getTitle();const i=e.getToolbar();let n=\"\";if(i){if(!e.getAriaLabelledBy()||e.getAriaLabelledBy().length==0){n=r.getToolbarTitle(i)}}else if(t){if(typeof t==\"string\"){n=e.getId()+\"--title\"}else{n=t.getId()}}return n};return s},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/FormRenderer\", [\"./FormHelper\",\"sap/base/Log\"],function(e,t){\"use strict\";var s={apiVersion:2};s.render=function(s,i){const r=i.getLayout();const a={role:r&&r.hasLabelledContainers(i)?\"region\":\"form\"};s.openStart(\"div\",i).class(\"sapUiForm\").class(\"sapUiFormLblColon\").attr(\"data-sap-ui-customfastnavgroup\",\"true\");var o=e.addFormClass();if(o){s.class(o)}if(i.getEditable()){s.class(\"sapUiFormEdit\");s.class(\"sapUiFormEdit-CTX\")}else{a.readonly=\"\"}if(i.getWidth()){s.style(\"width\",i.getWidth())}if(i.getTooltip_AsString()){s.attr(\"title\",i.getTooltip_AsString())}const n=r?.getRenderer().getTitleId(i)||i._sSuggestedTitleId;if(n){a[\"labelledby\"]={value:n,append:true}}s.accessibilityState(i,a);s.openEnd();if(r){s.renderControl(r)}else{t.warning('Form \"'+i.getId()+'\" - Layout missing!',\"Renderer\",\"Form\")}s.close(\"div\")};return s},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/GridContainerData\", [\"sap/ui/core/LayoutData\",\"sap/ui/layout/library\"],function(a,t){\"use strict\";var e=a.extend(\"sap.ui.layout.form.GridContainerData\",{metadata:{library:\"sap.ui.layout\",properties:{halfGrid:{type:\"boolean\",group:\"Misc\",defaultValue:false}}}});return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/GridElementData\", [\"sap/ui/core/LayoutData\",\"sap/ui/layout/library\"],function(a,e){\"use strict\";var t=a.extend(\"sap.ui.layout.form.GridElementData\",{metadata:{library:\"sap.ui.layout\",properties:{hCells:{type:\"sap.ui.layout.form.GridElementCells\",group:\"Appearance\",defaultValue:\"auto\"},vCells:{type:\"int\",group:\"Appearance\",defaultValue:1}}}});return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/GridLayout\", [\"sap/ui/layout/library\",\"./FormLayout\",\"./GridLayoutRenderer\"],function(e,t,r){\"use strict\";var n=t.extend(\"sap.ui.layout.form.GridLayout\",{metadata:{library:\"sap.ui.layout\",deprecated:true,properties:{singleColumn:{type:\"boolean\",group:\"Misc\",defaultValue:false}}},renderer:r});n.prototype.toggleContainerExpanded=function(e){this.invalidate()};n.prototype.onAfterRendering=function(){var e=this.getParent();if(e){var t=e.getVisibleFormContainers();for(var r=0;r<t.length;r++){var n=t[r];if(n.getExpandable()&&n._oExpandButton){n._oExpandButton.$().attr(\"tabindex\",\"-1\")}}}};n.prototype.onLayoutDataChange=function(e){if(this.getDomRef()){this.invalidate()}};n.prototype.onsaptabnext=function(e){this.tabForward(e)};n.prototype.onsaptabprevious=function(e){this.tabBack(e)};n.prototype.findFieldOfElement=function(e,r,n){if(!n){return t.prototype.findPrevFieldOfElement.apply(this,arguments)}if(!e.isVisible()){return null}var i=e.getFieldsForRendering();var a;var o=i.length;r=o-1;for(var f=r;f>=0;f--){var l=i[f];var d=l.$().offset().left;if(n<d&&f!=0){continue}var s=this._getDomRef(l);if((!l.getEnabled||l.getEnabled())&&s){a=s;break}}return a};n.prototype.findFieldBelow=function(e,t){var r=t.getParent();var n=r.indexOfFormElement(t);var i;if(r.isVisible()){var a=r.getFormElements();var o=a.length;var f=n+1;var l=e.$().offset().left;while(!i&&f<o){var d=a[f];i=this.findFieldOfElement(d,0,l);f++}}if(!i){var s=r.getParent();n=s.indexOfFormContainer(r);i=this.findFirstFieldOfFirstElementInNextContainer(s,n+1)}return i};n.prototype.findFieldAbove=function(e,t){var r=t.getParent();var n=r.indexOfFormElement(t);var i;if(r.isVisible()){var a=r.getFormElements();var o=n-1;var f=e.$().offset().left;while(!i&&o>=0){var l=a[o];i=this.findFieldOfElement(l,0,f);o--}}if(!i){var d=r.getParent();n=d.indexOfFormContainer(r);i=this.findLastFieldOfLastElementInPrevContainer(d,n-1)}return i};n.prototype.getContainerRenderedDomRef=function(e){return null};n.prototype.getElementRenderedDomRef=function(e){if(this.getDomRef()){var t=this.getSingleColumn();var r=e.getParent();var n=this.getLayoutDataForElement(r,\"sap.ui.layout.form.GridContainerData\");if((t||!n||!n.getHalfGrid())&&!this.getRenderer().checkFullSizeElement(this,e)){return e.getDomRef()}}return null};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/GridLayoutRenderer\", [\"sap/ui/core/Renderer\",\"./FormLayoutRenderer\",\"sap/base/Log\"],function(e,t,r){\"use strict\";var a=e.extend(t);a.apiVersion=2;a.renderForm=function(e,t,r){var a=t.getSingleColumn();var n=16;var i=false;var l=0;var o=r.getFormContainers();var s=o.length;var d=0;var f;var p;var c=r.getToolbar();var g=r.getTitle();if(a){n=n/2;l=n}else{l=n/2;for(d=0;d<s;d++){p=this.getContainerData(t,o[d]);if(p&&p.getHalfGrid()){i=true;break}}}e.openStart(\"table\",t).attr(\"role\",\"presentation\").attr(\"cellpadding\",\"0\").attr(\"cellspacing\",\"0\").style(\"border-collapse\",\"collapse\").style(\"table-layout\",\"fixed\").style(\"width\",\"100%\").class(\"sapUiGrid\");this.addBackgroundClass(e,t);if(c){e.class(\"sapUiFormToolbar\")}e.openEnd();e.openStart(\"colgroup\").openEnd();e.voidStart(\"col\").attr(\"span\",l).voidEnd();if(i){e.voidStart(\"col\").class(\"sapUiGridSpace\").attr(\"span\",\"1\").voidEnd()}if(!a){e.voidStart(\"col\").attr(\"span\",l).voidEnd()}e.close(\"colgroup\");e.openStart(\"tbody\").openEnd();if(c||g){var u=n;if(i){u++}e.openStart(\"tr\").class(\"sapUiGridTitle\").openEnd();e.openStart(\"th\").attr(\"colspan\",u).openEnd();this.renderHeader(e,c,g,undefined,false,t._sFormTitleSize,r.getId());e.close(\"th\");e.close(\"tr\")}d=0;var v;var E;while(d<s){f=o[d];f._checkProperties();if(f.isVisible()){p=this.getContainerData(t,f);if(p&&p.getHalfGrid()&&!a){v=o[d+1];E=undefined;if(v&&v.isVisible()){E=this.getContainerData(t,v)}if(E&&E.getHalfGrid()){v._checkProperties();this.renderContainerHalfSize(e,t,f,v,n);d++}else{this.renderContainerHalfSize(e,t,f,undefined,n)}}else{this.renderContainerFullSize(e,t,f,n,i)}}d++}e.close(\"tbody\");e.close(\"table\")};a.renderContainerFullSize=function(e,t,r,a,n){var i=r.getExpandable();var l=r.getTooltip_AsString();var o=r.getToolbar();var s=r.getTitle();if(o||s){var d=a;if(n){d++}e.openStart(\"tr\").class(\"sapUiGridConteinerFirstRow\").class(\"sapUiGridConteinerHeaderRow\").openEnd();e.openStart(\"td\").attr(\"colspan\",d);e.class(\"sapUiGridHeader\");if(l){e.attr(\"title\",l)}if(o){e.class(\"sapUiFormContainerToolbar\")}else if(s){e.class(\"sapUiFormContainerTitle\")}e.openEnd();this.renderHeader(e,o,r.getTitle(),r._oExpandButton,i,t._sFormSubTitleSize,r.getId());e.close(\"td\");e.close(\"tr\")}if(!i||r.getExpanded()){var f=r.getFormElements();var p;var c=[];var g;var u=false;for(var v=0,E=f.length;v<E;v++){p=f[v];if(p.isVisible()){g=c[0]&&c[0][0]==a;if(!this.checkFullSizeElement(t,p)&&c[0]!=\"full\"&&!g){e.openStart(\"tr\",p);e.class(\"sapUiFormElement\")}else{e.openStart(\"tr\")}if(!u){u=true;if(!o&&!s){e.class(\"sapUiGridConteinerFirstRow\")}}e.openEnd();if(!g){c=this.renderElement(e,t,p,false,a,n,c)}else{c.splice(0,1)}e.close(\"tr\");if(c[0]==\"full\"||g){v=v-1}}}if(c.length>0){for(var h=0;h<c.length;h++){e.openStart(\"tr\").openEnd().close(\"tr\")}}}};a.renderContainerHalfSize=function(e,t,r,a,n){var i=n/2;var l=r.getExpandable();var o=r.getTooltip_AsString();var s;var d=r.getTitle();var f;var p=r.getToolbar();var c;var g=[];if(!l||r.getExpanded()){g=r.getFormElements()}var u=g.length;var v=[];var E=0;var h=false;if(a){h=a.getExpandable();s=a.getTooltip_AsString();f=a.getTitle();c=a.getToolbar();if(!h||a.getExpanded()){v=a.getFormElements()}E=v.length}if(d||f||p||c){e.openStart(\"tr\").class(\"sapUiGridConteinerFirstRow\").class(\"sapUiGridConteinerHeaderRow\").openEnd();e.openStart(\"td\").attr(\"colspan\",i);e.class(\"sapUiGridHeader\");if(o){e.attr(\"title\",o)}if(p){e.class(\"sapUiFormContainerToolbar\")}else if(d){e.class(\"sapUiFormContainerTitle\")}e.openEnd();if(r){this.renderHeader(e,p,d,r._oExpandButton,l,t._sFormSubTitleSize,r.getId())}e.close(\"td\");e.openStart(\"td\").openEnd().close(\"td\");e.openStart(\"td\").attr(\"colspan\",i);e.class(\"sapUiGridHeader\");if(s){e.attr(\"title\",s)}if(c){e.class(\"sapUiFormContainerToolbar\")}else if(f){e.class(\"sapUiFormContainerTitle\")}e.openEnd();if(a){this.renderHeader(e,c,f,a._oExpandButton,h,t._sFormSubTitleSize,a.getId())}e.close(\"td\");e.close(\"tr\")}if(!l||r.getExpanded()||(!h||a.getExpanded())){var m=[],S=[];var C=0,F=0;var b;var T;var U;var G;var H=false;while(C<u||F<E){b=g[C];T=v[F];U=m[0]&&m[0][0]==i;G=S[0]&&S[0][0]==i;if(b&&b.isVisible()||T&&T.isVisible()||U||G){e.openStart(\"tr\");if(!H){H=true;if(!p&&!d&&!c&&!f){e.class(\"sapUiGridConteinerFirstRow\")}}e.openEnd();if(!U){if(b&&b.isVisible()&&(!l||r.getExpanded())){m=this.renderElement(e,t,b,true,i,false,m)}else{e.openStart(\"td\").attr(\"colspan\",i).openEnd().close(\"td\")}if(m[0]!=\"full\"){C++}}else{if(m[0][2]>0){e.openStart(\"td\").attr(\"colspan\",m[0][2]).openEnd().close(\"td\")}m.splice(0,1)}e.openStart(\"td\").openEnd().close(\"td\");if(!G){if(T&&T.isVisible()&&(!h||a.getExpanded())){S=this.renderElement(e,t,T,true,i,false,S)}else{e.openStart(\"td\").attr(\"colspan\",i).openEnd().close(\"td\")}if(S[0]!=\"full\"){F++}}else{if(S[0][2]>0){e.openStart(\"td\").attr(\"colspan\",S[0][2]).openEnd().close(\"td\")}S.splice(0,1)}e.close(\"tr\")}else{C++;F++}}if(m.length>0||S.length>0){for(var x=0;x<m.length||x<S.length;x++){e.openStart(\"tr\").openEnd().close(\"tr\")}}}};a.renderElement=function(e,t,a,n,i,l,o){var s=a.getLabelControl();var d=0;var f=a.getFieldsForRendering();var p=0;var c=0;var g=false;var u=1;var v=1;var E=0;if(this.checkFullSizeElement(t,a)){if(o.length>0&&o[0]!=\"full\"){r.error('Element \"'+a.getId()+'\" - Too much fields for one row!',\"Renderer\",\"GridLayout\");return o}if(l){i=i+1}if(s&&o[0]!=\"full\"){e.openStart(\"td\").attr(\"colspan\",i).class(\"sapUiFormElementLbl\").class(\"sapUiGridLabelFull\").openEnd();e.renderControl(s);e.close(\"td\");return[\"full\"]}else{o.splice(0,1);v=this.getElementData(t,f[0]).getVCells();e.openStart(\"td\").attr(\"colspan\",i);if(v>1&&n){e.attr(\"rowspan\",v);for(E=0;E<v-1;E++){o.push([i,undefined,false])}}e.openEnd();e.renderControl(f[0]);e.close(\"td\");return o}}if(o.length>0&&o[0][0]>0){i=i-o[0][0]+o[0][2];g=o[0][1];d=o[0][2];o.splice(0,1)}var h=d;var m;var S=\"\";if(s||d>0){h=3;if(s&&d==0){m=this.getElementData(t,s);if(m){S=m.getHCells();if(S!=\"auto\"&&S!=\"full\"){h=parseInt(S)}}}e.openStart(\"td\").attr(\"colspan\",h).class(\"sapUiFormElementLbl\").openEnd();if(s){e.renderControl(s)}i=i-h;e.close(\"td\")}if(f&&f.length>0){var C=i;var F=f.length;var b;var T=0;var U=0;for(T=0,U=f.length;T<U;T++){b=f[T];m=this.getElementData(t,b);if(m&&m.getHCells()!=\"auto\"){C=C-parseInt(m.getHCells());F=F-1}}var G=0;for(T=0,G=0,U=f.length;T<U;T++){b=f[T];m=this.getElementData(t,b);S=\"auto\";u=1;v=1;if(m){S=m.getHCells();v=m.getVCells()}if(S==\"auto\"){if(C>0){u=Math.floor(C/F);if(u<1){u=1}G++;c=c+u;if(G==F&&C>c){u=u+(C-c)}}else{u=1}}else{u=parseInt(S)}p=p+u;if(p>i){r.error('Element \"'+a.getId()+'\" - Too much fields for one row!',\"Renderer\",\"GridLayout\");p=p-u;break}if(v>1){for(E=0;E<v-1;E++){if(s){d=h}if(o.length>E){o[E][0]=o[E][0]+u;o[E][2]=d}else{o.push([h+u,undefined,d])}}}if(l&&p>=Math.floor(i/2)&&!g){u=u+1;g=true;if(v>1){for(E=0;E<v-1;E++){o[E][1]=true}}}e.openStart(\"td\");if(u>1){e.attr(\"colspan\",u)}if(v>1){e.attr(\"rowspan\",v)}e.openEnd();e.renderControl(b);e.close(\"td\")}}if(p<i){var H=i-p;if(!n&&l&&!g){H++}e.openStart(\"td\").attr(\"colspan\",H).openEnd().close(\"td\")}return o};a.checkFullSizeElement=function(e,t){var r=t.getFieldsForRendering();if(r.length==1&&this.getElementData(e,r[0])&&this.getElementData(e,r[0]).getHCells()==\"full\"){return true}else{return false}};a.getContainerData=function(e,t){return e.getLayoutDataForElement(t,\"sap.ui.layout.form.GridContainerData\")};a.getElementData=function(e,t){return e.getLayoutDataForElement(t,\"sap.ui.layout.form.GridElementData\")};return a},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ResponsiveGridLayout\", [\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/core/ResizeHandler\",\"sap/ui/layout/library\",\"sap/ui/layout/Grid\",\"sap/ui/layout/GridData\",\"./Form\",\"./FormContainer\",\"./FormElement\",\"./FormLayout\",\"./ResponsiveGridLayoutRenderer\",\"sap/ui/thirdparty/jquery\"],function(e,t,a,i,n,r,s,o,l,f,u,jQuery){\"use strict\";var d=f.extend(\"sap.ui.layout.form.ResponsiveGridLayout\",{metadata:{library:\"sap.ui.layout\",properties:{labelSpanXL:{type:\"int\",group:\"Misc\",defaultValue:-1},labelSpanL:{type:\"int\",group:\"Misc\",defaultValue:4},labelSpanM:{type:\"int\",group:\"Misc\",defaultValue:2},labelSpanS:{type:\"int\",group:\"Misc\",defaultValue:12},adjustLabelSpan:{type:\"boolean\",group:\"Misc\",defaultValue:true},emptySpanXL:{type:\"int\",group:\"Misc\",defaultValue:-1},emptySpanL:{type:\"int\",group:\"Misc\",defaultValue:0},emptySpanM:{type:\"int\",group:\"Misc\",defaultValue:0},emptySpanS:{type:\"int\",group:\"Misc\",defaultValue:0},columnsXL:{type:\"int\",group:\"Misc\",defaultValue:-1},columnsL:{type:\"int\",group:\"Misc\",defaultValue:2},columnsM:{type:\"int\",group:\"Misc\",defaultValue:1},singleContainerFullSize:{type:\"boolean\",group:\"Misc\",defaultValue:true},breakpointXL:{type:\"int\",group:\"Misc\",defaultValue:1440},breakpointL:{type:\"int\",group:\"Misc\",defaultValue:1024},breakpointM:{type:\"int\",group:\"Misc\",defaultValue:600}}},renderer:u});var p=e.extend(\"sap.ui.layout.form.ResponsiveGridLayoutPanel\",{metadata:{library:\"sap.ui.layout\",aggregations:{content:{type:\"sap.ui.layout.Grid\",multiple:false}},associations:{container:{type:\"sap.ui.layout.form.FormContainer\",multiple:false},layout:{type:\"sap.ui.layout.form.ResponsiveGridLayout\",multiple:false}}},getLayoutData:function(){var e=t.getElementById(this.getContainer());var a=t.getElementById(this.getLayout());var i;if(a&&e){i=a.getLayoutDataForElement(e,\"sap.ui.layout.GridData\")}if(i){return i}else{return this.getAggregation(\"layoutData\")}},getCustomData:function(){var e=t.getElementById(this.getContainer());if(e){return e.getCustomData()}},refreshExpanded:function(){var e=t.getElementById(this.getContainer());if(e){if(e.getExpanded()){this.$().removeClass(\"sapUiRGLContainerColl\")}else{this.$().addClass(\"sapUiRGLContainerColl\")}}},renderer:{apiVersion:2,render:function(e,a){var i=t.getElementById(a.getContainer());var n=t.getElementById(a.getLayout());var r=a.getContent();var s=i.getExpandable();var o=i.getTooltip_AsString();var l=i.getToolbar();var f=i.getTitle();e.openStart(\"div\",a);e.class(\"sapUiRGLContainer\");if(s&&!i.getExpanded()){e.class(\"sapUiRGLContainerColl\")}if(l){e.class(\"sapUiFormContainerToolbar\")}else if(f){e.class(\"sapUiFormContainerTitle\")}if(o){e.attr(\"title\",o)}n.getRenderer().writeAccessibilityStateContainer(e,i,\"form\");e.openEnd();n.getRenderer().renderHeader(e,l,f,i._oExpandButton,s,n._sFormSubTitleSize,i.getId());if(r){e.openStart(\"div\");e.class(\"sapUiRGLContainerCont\");e.openEnd();e.renderControl(r);e.close(\"div\")}e.close(\"div\")}}});d.prototype.init=function(){f.prototype.init.apply(this,arguments);this.mContainers={};this.oDummyLayoutData=new r(this.getId()+\"--Dummy\")};d.prototype.exit=function(){for(var e in this.mContainers){_.call(this,e,true)}if(this._mainGrid){this._mainGrid.destroy();delete this._mainGrid}this.oDummyLayoutData.destroy();this.oDummyLayoutData=undefined};d.prototype.onBeforeRendering=function(e){f.prototype.onBeforeRendering.apply(this,arguments);var t=this.getParent();if(!t||!(t instanceof s)){return}t._bNoInvalidate=true;g.call(this,t);c.call(this,t);t._bNoInvalidate=false};d.prototype.onAfterRendering=function(e){if(this._mainGrid&&this._mainGrid.__bIsUsed){for(var t in this.mContainers){if(this.mContainers[t][1]._sContainerResizeListener){a.deregister(this.mContainers[t][1]._sContainerResizeListener);this.mContainers[t][1]._sContainerResizeListener=null}}}};d.prototype.toggleContainerExpanded=function(e){var t=e.getId();if(this.mContainers[t]&&this.mContainers[t][0]){var a=this.mContainers[t][0];a.refreshExpanded()}};d.prototype.onLayoutDataChange=function(e){var t=e.srcControl;if(t instanceof o){if(this._mainGrid){this._mainGrid.onLayoutDataChange(e);this.invalidate()}}else if(!(t instanceof l)){var a=t.getParent();if(a instanceof l){var i=a.getParent();var n=i.getId();if(this.mContainers[n]&&this.mContainers[n][1]){this.mContainers[n][1].onLayoutDataChange(e)}}}};d.prototype.onsapup=function(e){this.onsapleft(e)};d.prototype.onsapdown=function(e){this.onsapright(e)};d.prototype.getContainerRenderedDomRef=function(e){if(this.getDomRef()){var t=e.getId();if(this.mContainers[t]){if(this.mContainers[t][0]){var a=this.mContainers[t][0];return a.getDomRef()}else if(this.mContainers[t][1]){var i=this.mContainers[t][1];return i.getDomRef()}}}return null};d.prototype.getElementRenderedDomRef=function(e){return null};function g(e){var t=e.getVisibleFormContainers();var a=t.length;var i=0;var n;var r;var s;var o;var l=0;for(l=0;l<a;l++){s=t[l];s._checkProperties();if(s.isVisible()){i++;o=s.getId();n=undefined;r=undefined;var f=t[l+1];if(this.mContainers[o]&&this.mContainers[o][1]){r=this.mContainers[o][1]}else{r=h.call(this,s)}var u=s.getTitle();var d=s.getToolbar();if(d||u||s.getExpandable()){if(this.mContainers[o]&&this.mContainers[o][0]){n=this.mContainers[o][0]}else{n=m.call(this,s,r);v(r,true)}C(n,s,i,f,a)}else{if(this.mContainers[o]&&this.mContainers[o][0]){y(this.mContainers[o][0])}v(r,false);C(r,s,i,f,a)}this.mContainers[o]=[n,r]}}var p=Object.keys(this.mContainers).length;if(a<p){for(o in this.mContainers){var g=false;for(l=0;l<a;l++){s=t[l];if(o==s.getId()){g=true;break}}if(!g){_.call(this,o)}}}}function m(e,t){var a=e.getId();var i=new p(a+\"---Panel\",{container:e,layout:this,content:t});return i}function y(e,t){e.setLayout(null);e.setContainer(null);if(!t||!e.getParent()){e.setContent(null);e.destroy()}}function h(e){var a=e.getId()+\"--Grid\";var i=new n(a,{vSpacing:0,hSpacing:0,containerQuery:true});i.__myParentLayout=this;i.__myParentContainerId=e.getId();i.addStyleClass(\"sapUiFormResGridCont\").addStyleClass(\"sapUiRespGridOverflowHidden\");i.getContent=function(){var e=t.getElementById(this.__myParentContainerId);if(e){var a=[];var i=e.getVisibleFormElements();var n;var r;for(var s=0;s<i.length;s++){var o=i[s];r=o.getLabelControl();if(r){a.push(r)}n=o.getFieldsForRendering();for(var l=0;l<n.length;l++){a.push(n[l])}}return a}else{return false}};i.getAriaLabelledBy=function(){var e=t.getElementById(this.__myParentContainerId);if(e&&!e.getToolbar()&&!e.getTitle()&&!e.getExpandable()){return e.getAriaLabelledBy()}return[]};var r={labelSpan:0,span:0,firstField:false,defaultFields:0,row:0,myRow:false,freeFields:0,finished:false};var s={id:\"XL\",getEffectiveSpan:function(e){var t=e._getEffectiveSpanXLarge();if(!t){t=e._getEffectiveSpanLarge()}return t},getEmptySpan:function(e){var t=e.getEmptySpanXL();if(t<0){t=e.getEmptySpanL()}return t},getLabelSpan:function(e){return e.getLabelSpanXL()},setIndent:function(e,t){e.setIndentXL(t)},setLinebreak:function(e,t){e.setLinebreakXL(t)}};jQuery.extend(s,r);var o={id:\"L\",getEffectiveSpan:function(e){return e._getEffectiveSpanLarge()},getEmptySpan:function(e){return e.getEmptySpanL()},getLabelSpan:function(e){return e.getLabelSpanL()},setIndent:function(e,t){e.setIndentL(t)},setLinebreak:function(e,t){e.setLinebreakL(t)}};jQuery.extend(o,r);var l={id:\"M\",getEffectiveSpan:function(e){return e._getEffectiveSpanMedium()},getEmptySpan:function(e){return e.getEmptySpanM()},getLabelSpan:function(e){return e.getLabelSpanM()},setIndent:function(e,t){e.setIndentM(t)},setLinebreak:function(e,t){e.setLinebreakM(t)}};jQuery.extend(l,r);var f={id:\"S\",getEffectiveSpan:function(e){return e._getEffectiveSpanSmall()},getEmptySpan:function(e){return e.getEmptySpanS()},getLabelSpan:function(e){return e.getLabelSpanS()},setIndent:function(e,t){e.setIndentS(t)},setLinebreak:function(e,t){e.setLinebreakS(t)}};jQuery.extend(f,r);var u=[s,o,l,f];i._getLayoutDataForControl=function(e){var a=this.__myParentLayout;var i=a.getLayoutDataForElement(e,\"sap.ui.layout.GridData\");var n=e.getParent();var d=n.getLabelControl();if(i){if(d==e){i._setStylesInternal(\"sapUiFormElementLbl\")}return i}else{var p=t.getElementById(this.__myParentContainerId);var g=a.getLayoutDataForElement(p,\"sap.ui.layout.GridData\");var m=p.getParent();var y;var h=0;for(h=0;h<u.length;h++){y=u[h];jQuery.extend(y,r);y.labelSpan=y.getLabelSpan(a)}if(a.getAdjustLabelSpan()){if(m.getVisibleFormContainers().length>=1&&a.getColumnsM()>1){l.labelSpan=a.getLabelSpanL()}if(g){if(g._getEffectiveSpanLarge()==12){o.labelSpan=a.getLabelSpanM();l.labelSpan=a.getLabelSpanM()}}if(m.getVisibleFormContainers().length==1||a.getColumnsL()==1){o.labelSpan=a.getLabelSpanM();l.labelSpan=a.getLabelSpanM()}}if(s.labelSpan<0){s.labelSpan=o.labelSpan}if(d==e){a.oDummyLayoutData.setSpan(\"XL\"+s.labelSpan+\" L\"+o.labelSpan+\" M\"+l.labelSpan+\" S\"+f.labelSpan);a.oDummyLayoutData.setLinebreak(true);a.oDummyLayoutData.setIndentXL(0).setIndentL(0).setIndentM(0).setIndentS(0);a.oDummyLayoutData._setStylesInternal(\"sapUiFormElementLbl\");return a.oDummyLayoutData}else{var L;if(d){L=a.getLayoutDataForElement(d,\"sap.ui.layout.GridData\")}var v=n.getFieldsForRendering();var C=v.length;var _;var c;var b=1;var S=false;var D;var F=0;for(h=0;h<u.length;h++){y=u[h];y.span=12-y.getEmptySpan(a);if(d){if(L){D=y.getEffectiveSpan(L);if(D){y.labelSpan=D}}if(y.labelSpan<12){y.span=y.span-y.labelSpan}}y.spanFields=y.span}for(F=0;F<C;F++){_=v[F];if(_!=e){c=a.getLayoutDataForElement(_,\"sap.ui.layout.GridData\");if(c){for(h=0;h<u.length;h++){y=u[h];D=y.getEffectiveSpan(c);if(D&&D<y.span){y.span=y.span-D}}}else{b++}}else{if(b==1){S=true}}}var G=[];for(h=0;h<u.length;h++){y=u[h];y.firstField=S;y.defaultFields=b;if(y.span<b){y.defaultFields=0;y.row=0;y.myRow=false;y.freeFields=y.spanFields;y.span=y.spanFields;y.finished=false;G.push(y)}}if(G.length>0){for(F=0;F<C;F++){_=v[F];c=undefined;if(_!=e){c=a.getLayoutDataForElement(_,\"sap.ui.layout.GridData\")}for(h=0;h<G.length;h++){y=G[h];if(y.finished){continue}if(c){D=y.getEffectiveSpan(c);y.span=y.span-D}else{D=1}if(y.freeFields>=D){y.freeFields=y.freeFields-D;if(!c){y.defaultFields++}}else{if(y.myRow){y.finished=true}else{y.freeFields=y.spanFields-D;y.row++;if(c){y.defaultFields=0;y.span=y.spanFields-D}else{y.defaultFields=1;y.span=y.spanFields}if(_==e){y.firstField=true}}}if(_==e){y.myRow=true}}}}var I=0;var R=\"\";var E;for(h=0;h<u.length;h++){y=u[h];if(y.id!=\"S\"||y.labelSpan<12){if(y.firstField){I=y.span-Math.floor(y.span/y.defaultFields)*y.defaultFields;E=Math.floor(y.span/y.defaultFields)+I}else{E=Math.floor(y.span/y.defaultFields)}}else{E=12}if(R){R=R+\" \"}R=R+y.id+E;y.setLinebreak(a.oDummyLayoutData,y.firstField&&y.row>0);y.setIndent(a.oDummyLayoutData,y.firstField&&y.row>0?y.labelSpan:0)}a.oDummyLayoutData.setSpan(R);a.oDummyLayoutData.setLinebreak(S&&!d);a.oDummyLayoutData._setStylesInternal(undefined);return a.oDummyLayoutData}}};i._onParentResizeOrig=i._onParentResize;i._onParentResize=function(){if(!this.getDomRef()){this._cleanup();return}if(!jQuery(this.getDomRef()).is(\":visible\")){return}var e=this.__myParentLayout;if(!e._mainGrid||!e._mainGrid.__bIsUsed){var t=e.getParent().getVisibleFormContainers()[0];if(!t||!e.mContainers[t.getId()]||t.getId()!=this.__myParentContainerId){return}if(e.mContainers[this.__myParentContainerId][0]){var a=e.mContainers[this.__myParentContainerId][0].getDomRef();var i=a.clientWidth;if(i<=e.getBreakpointM()){this._toggleClass(\"Phone\")}else if(i>e.getBreakpointM()&&i<=e.getBreakpointL()){this._toggleClass(\"Tablet\")}else if(i>e.getBreakpointL()&&i<=e.getBreakpointXL()){this._toggleClass(\"Desktop\")}else{this._toggleClass(\"LargeDesktop\")}}else{this._setBreakPointTablet(e.getBreakpointM());this._setBreakPointDesktop(e.getBreakpointL());this._setBreakPointLargeDesktop(e.getBreakpointXL());this._onParentResizeOrig()}}else{var n=e._mainGrid.$();if(n.hasClass(\"sapUiRespGridMedia-Std-Phone\")){this._toggleClass(\"Phone\")}else if(n.hasClass(\"sapUiRespGridMedia-Std-Tablet\")){this._toggleClass(\"Tablet\")}else if(n.hasClass(\"sapUiRespGridMedia-Std-Desktop\")){this._toggleClass(\"Desktop\")}else{this._toggleClass(\"LargeDesktop\")}}};i._getAccessibleRole=function(){var e=t.getElementById(this.__myParentContainerId);var a=this.__myParentLayout;if(a._mainGrid&&a._mainGrid.__bIsUsed&&!e.getToolbar()&&!e.getTitle()&&!e.getExpandable()&&e.getAriaLabelledBy().length>0){return\"form\"}};i.getUIArea=function(){var e=this.__myParentLayout;if(e){return e.getUIArea()}else{return null}};return i}function L(e,t){if(e.__myParentContainerId){e.__myParentContainerId=undefined}e.__myParentLayout=undefined;if(!t||!e.getParent()){e.destroy()}}function v(e,a){if(a){if(e.__originalGetLayoutData){e.getLayoutData=e.__originalGetLayoutData;delete e.__originalGetLayoutData}}else if(!e.__originalGetLayoutData){e.__originalGetLayoutData=e.getLayoutData;e.getLayoutData=function(){var e=this.__myParentLayout;var a=t.getElementById(this.__myParentContainerId);var i;if(a){i=e.getLayoutDataForElement(a,\"sap.ui.layout.GridData\")}if(i){return i}else{return this.getAggregation(\"layoutData\")}}}}function C(e,a,i,n,s){var o;if(e instanceof p){o=t.getElementById(e.getLayout())}else{o=e.__myParentLayout}var l=o.getLayoutDataForElement(a,\"sap.ui.layout.GridData\");if(!l){var f=o.getColumnsM();var u=o.getColumnsL();var d=o.getColumnsXL();var g=i%u==1;var m=i%u==0;var y=i>u*(Math.ceil(s/u)-1);var h=i<=u;var L=i%f==1;var v=i%f==0;var C=i>f*(Math.ceil(s/f)-1);var _=i<=f;var c=false;var b=m;var S=y;var D=h;if(d>0){c=i%d==1;b=i%d==0;S=i>d*(Math.ceil(s/d)-1);D=i<=d}if(n){var F=o.getLayoutDataForElement(n,\"sap.ui.layout.GridData\");if(F&&(F.getLinebreak()||F.getLinebreakXL())){b=true;S=false}if(F&&(F.getLinebreak()||F.getLinebreakL())){m=true;y=false}if(F&&(F.getLinebreak()||F.getLinebreakM())){v=true;C=false}}var G=\"\";if(b){G=\"sapUiFormResGridLastContXL\"}if(m){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastContL\"}if(v){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastContM\"}if(S){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastRowXL\"}if(y){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastRowL\"}if(C){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastRowM\"}if(D){if(G){G=G+\" \"}G=G+\"sapUiFormResGridFirstRowXL\"}if(h){if(G){G=G+\" \"}G=G+\"sapUiFormResGridFirstRowL\"}if(_){if(G){G=G+\" \"}G=G+\"sapUiFormResGridFirstRowM\"}l=e.getLayoutData();if(!l){l=new r(e.getId()+\"--LD\",{linebreakL:g,linebreakM:L});e.setLayoutData(l)}else{l.setLinebreakL(g);l.setLinebreakM(L)}if(d>0){l.setLinebreakXL(c)}l._setStylesInternal(G)}}function _(e,t){var a=this.mContainers[e];var i=a[1];if(i){L(i,t)}var n=a[0];if(n){y(n,t)}delete this.mContainers[e]}function c(e){var a=e.getVisibleFormContainers();var i;var r;var s=a.length;var o=0;var l=0;var f=0;if(s>1||!this.getSingleContainerFullSize()){var u=Math.floor(12/this.getColumnsM());var d=Math.floor(12/this.getColumnsL());var p;var g=\"\";var m=this.getColumnsXL();if(m>=0){p=Math.floor(12/m);g=g+\"XL\"+p+\" \"}g=g+\"L\"+d+\" M\"+u+\" S12\";if(!this._mainGrid){this._mainGrid=new n(e.getId()+\"--Grid\",{defaultSpan:g,hSpacing:0,vSpacing:0,containerQuery:true}).setParent(this);this._mainGrid.addStyleClass(\"sapUiFormResGridMain\").addStyleClass(\"sapUiRespGridOverflowHidden\");this._mainGrid._onParentResizeOrig=this._mainGrid._onParentResize;this._mainGrid._onParentResize=function(){this._onParentResizeOrig();var e=this.getParent();for(var t in e.mContainers){e.mContainers[t][1]._onParentResize()}}}else{this._mainGrid.setDefaultSpan(g);var y=this._mainGrid.getContent();o=y.length;var h=false;for(l=0;l<o;l++){var L=y[l];i=undefined;if(L.getContainer){i=t.getElementById(L.getContainer())}else{i=t.getElementById(L.__myParentContainerId)}if(i&&i.isVisible()){var v=a[f];if(i!=v){h=true;break}var C=this.mContainers[i.getId()];if(C[0]&&C[0]!=L){h=true;break}if(!C[0]&&C[1]&&C[1]!=L){h=true;break}f++}else{this._mainGrid.removeContent(L)}}if(h){this._mainGrid.removeAllContent();o=0}}this._mainGrid._setBreakPointTablet(this.getBreakpointM());this._mainGrid._setBreakPointDesktop(this.getBreakpointL());this._mainGrid._setBreakPointLargeDesktop(this.getBreakpointXL());this._mainGrid.__bIsUsed=true;if(o<s){var _=0;if(o>0){_=o--}for(l=_;l<s;l++){i=a[l];r=i.getId();if(this.mContainers[r]){if(this.mContainers[r][0]){this._mainGrid.addContent(this.mContainers[r][0])}else if(this.mContainers[r][1]){this._mainGrid.addContent(this.mContainers[r][1])}}}}}else{if(this._mainGrid){this._mainGrid.__bIsUsed=false}for(l=0;l<s;l++){i=a[l];r=i.getId();if(this.mContainers[r]){if(this.mContainers[r][0]){if(this.mContainers[r][0].getParent()!==this){this.addDependent(this.mContainers[r][0])}}else if(this.mContainers[r][1]){if(this.mContainers[r][1].getParent()!==this){this.addDependent(this.mContainers[r][1])}}}}}}d.prototype.getLayoutDataForDelimiter=function(){return new r({spanS:1,spanM:1,spanL:1,spanXL:1})};d.prototype.getLayoutDataForSemanticField=function(e,t,a){var i=8-(e-1);i=Math.floor(i/e);if(e===t){i=i+8-(e-1+e*i)}if(a){if(a.isA(\"sap.ui.layout.GridData\")){a.setSpanS(11).setSpanM(i).setSpanL(i).setSpanXL(i);return a}else{a.destroy()}}return new r({spanS:11,spanM:i,spanL:i,spanXL:i})};return d});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ResponsiveGridLayoutRenderer\", [\"sap/ui/core/Renderer\",\"./FormLayoutRenderer\"],function(e,r){\"use strict\";var n=e.extend(r);n.apiVersion=2;n.getMainClass=function(){return\"sapUiFormResGrid\"};n.renderContainers=function(e,r,n){var i=n.getVisibleFormContainers();var t=i.length;if(t>0){if(t>1||!r.getSingleContainerFullSize()){e.renderControl(r._mainGrid)}else if(r.mContainers[i[0].getId()][0]){e.renderControl(r.mContainers[i[0].getId()][0])}else{e.renderControl(r.mContainers[i[0].getId()][1])}}};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ResponsiveLayout\", [\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/layout/library\",\"sap/ui/layout/ResponsiveFlowLayout\",\"sap/ui/layout/ResponsiveFlowLayoutData\",\"./Form\",\"./FormContainer\",\"./FormElement\",\"./FormLayout\",\"./ResponsiveLayoutRenderer\"],function(t,e,a,n,i,r,o,s,l,u){\"use strict\";var f=l.extend(\"sap.ui.layout.form.ResponsiveLayout\",{metadata:{library:\"sap.ui.layout\"},renderer:u});var d=t.extend(\"sap.ui.layout.form.ResponsiveLayoutPanel\",{metadata:{library:\"sap.ui.layout\",aggregations:{content:{type:\"sap.ui.layout.ResponsiveFlowLayout\",multiple:false}},associations:{container:{type:\"sap.ui.layout.form.FormContainer\",multiple:false},layout:{type:\"sap.ui.layout.form.ResponsiveLayout\",multiple:false}}},getLayoutData:function(){var t=e.getElementById(this.getContainer());var a=e.getElementById(this.getLayout());var n;if(a&&t){n=a.getLayoutDataForElement(t,\"sap.ui.layout.ResponsiveFlowLayoutData\")}return n},getCustomData:function(){var t=e.getElementById(this.getContainer());if(t){return t.getCustomData()}},refreshExpanded:function(){var t=e.getElementById(this.getContainer());if(t){if(t.getExpanded()){this.$().removeClass(\"sapUiRLContainerColl\")}else{this.$().addClass(\"sapUiRLContainerColl\")}}},renderer:{apiVersion:2,render:function(t,a){var n=e.getElementById(a.getContainer());var i=e.getElementById(a.getLayout());var r=a.getContent();if(!n||!i){return}var o=n.getExpandable();var s=n.getTooltip_AsString();var l=n.getToolbar();var u=n.getTitle();t.openStart(\"div\",a);t.class(\"sapUiRLContainer\");if(o&&!n.getExpanded()){t.class(\"sapUiRLContainerColl\")}if(l){t.class(\"sapUiFormContainerToolbar\")}else if(u){t.class(\"sapUiFormContainerTitle\")}if(s){t.attr(\"title\",s)}i.getRenderer().writeAccessibilityStateContainer(t,n,\"form\");t.openEnd();i.getRenderer().renderHeader(t,l,u,n._oExpandButton,o,i._sFormSubTitleSize,n.getId());if(r){t.openStart(\"div\");t.class(\"sapUiRLContainerCont\");t.openEnd();t.renderControl(r);t.close(\"div\")}t.close(\"div\")}}});f.prototype.init=function(){l.prototype.init.apply(this,arguments);this.mContainers={};this._defaultLayoutData=new i({margin:false})};f.prototype.exit=function(){for(var t in this.mContainers){_.call(this,t)}if(this._mainRFLayout){this._mainRFLayout.destroy();delete this._mainRFLayout}this._defaultLayoutData.destroy();delete this._defaultLayoutData};f.prototype.onBeforeRendering=function(t){l.prototype.onBeforeRendering.apply(this,arguments);var e=this.getParent();if(!e||!(e instanceof r)){return}e._bNoInvalidate=true;m.call(this,e);I.call(this,e);e._bNoInvalidate=false};f.prototype.toggleContainerExpanded=function(t){var e=t.getId();if(this.mContainers[e]&&this.mContainers[e][0]){var a=this.mContainers[e][0];a.refreshExpanded()}};f.prototype.onLayoutDataChange=function(t){var e=t.srcControl;var a;var n;var i;if(e instanceof o){if(this._mainRFLayout){this._mainRFLayout.onLayoutDataChange(t)}}else if(e instanceof s){n=e.getParent().getId();if(this.mContainers[n]&&this.mContainers[n][1]){this.mContainers[n][1].onLayoutDataChange(t)}}else{var r=e.getParent();if(r instanceof s){a=r.getParent();n=a.getId();i=r.getId();if(this.mContainers[n]&&this.mContainers[n][2]&&this.mContainers[n][2][i]){if(this.mContainers[n][2][i][1]){var l=r.getFieldsForRendering();p.call(this,this.mContainers[n][2][i][1],l)}this.mContainers[n][2][i][0].onLayoutDataChange(t)}}}};f.prototype.onsapup=function(t){this.onsapleft(t)};f.prototype.onsapdown=function(t){this.onsapright(t)};f.prototype.getContainerRenderedDomRef=function(t){if(this.getDomRef()){var e=t.getId();if(this.mContainers[e]){if(this.mContainers[e][0]){var a=this.mContainers[e][0];return a.getDomRef()}else if(this.mContainers[e][1]){var n=this.mContainers[e][1];return n.getDomRef()}}}return null};f.prototype.getElementRenderedDomRef=function(t){if(this.getDomRef()){var e=t.getParent();var a=t.getId();var n=e.getId();if(this.mContainers[n]){if(this.mContainers[n][2]){var i=this.mContainers[n][2];if(i[a]){var r=i[a][0];return r.getDomRef()}}}}return null};function m(t){var e=t.getVisibleFormContainers();var a=e.length;var n;var i;var r;var o;var s=0;for(s=0;s<a;s++){n=e[s];n._checkProperties();i=n.getId();r=undefined;o=undefined;if(this.mContainers[i]&&this.mContainers[i][1]){o=this.mContainers[i][1]}else{o=h.call(this,n,undefined)}var l=n.getTitle();var u=n.getToolbar();if(u||l||n.getExpandable()){if(this.mContainers[i]&&this.mContainers[i][0]){r=this.mContainers[i][0]}else{r=y.call(this,n,o);C(o,true)}o.removeStyleClass(\"sapUiRLContainer\")}else{if(this.mContainers[i]&&this.mContainers[i][0]){g(this.mContainers[i][0]);C(o,false)}o.addStyleClass(\"sapUiRLContainer\")}var f=v.call(this,n,o);this.mContainers[i]=[r,o,f]}var d=Object.keys(this.mContainers).length;if(a<d){for(i in this.mContainers){var m=false;for(s=0;s<a;s++){n=e[s];if(i==n.getId()){m=true;break}}if(!m){_.call(this,i)}}}}function y(t,e){var a=t.getId();var n=new d(a+\"--Panel\",{container:t,layout:this,content:e});return n}function g(t){t.setContent(null);t.setLayout(null);t.setContainer(null);t.destroy()}function v(t,e){var a=t.getId();var n=t.getVisibleFormElements();var i=n.length;var r={};if(this.mContainers[a]&&this.mContainers[a][2]){r=this.mContainers[a][2]}var o;var s;var l=-1;var u;var f;var d=0;for(d=0;d<i;d++){u=n[d];f=u.getId();c.call(this,t,u,r,e,d);if(r[f]){o=r[f][0];l=e.indexOfContent(o);if(l!=i){e.removeContent(o);e.insertContent(o,i);l=i}}else{o=h.call(this,t,u);o.addStyleClass(\"sapUiRLElement\");if(u.getLabel()){o.addStyleClass(\"sapUiRLElementWithLabel\")}r[f]=[o,undefined];l++;e.insertContent(o,l)}var m=u.getFieldsForRendering();if(u.getLabel()&&m.length>1){if(r[f][1]){s=r[f][1]}else{s=h.call(this,t,u,true);s.addStyleClass(\"sapUiRLElementFields\");r[f][1]=s}p.call(this,s,m)}else{if(r[f][1]){s=r[f][1];L(s);r[f][1]=undefined}}}var y=Object.keys(r).length;if(i<y){for(f in r){var g=false;for(d=0;d<i;d++){u=n[d];if(f==u.getId()){g=true;break}}if(!g){if(r[f][1]){s=r[f][1];L(s)}o=r[f][0];e.removeContent(o);L(o);delete r[f]}}}return r}function h(t,a,r){var o;if(a&&!r){o=a.getId()+\"--RFLayout\"}else if(a&&r){o=a.getId()+\"--content--RFLayout\"}else if(t){o=t.getId()+\"--RFLayout\"}else{return false}var s=new n(o);s.__myParentLayout=this;s.__myParentContainerId=t.getId();if(a){s.__myParentElementId=a.getId();if(!r){s.getContent=function(){var t=e.getElementById(this.__myParentElementId);if(t){var a=[];var n=t.getLabelControl();var i=t.getFieldsForRendering();if(!n||i.length<=1){a=i;if(n){a.unshift(n)}}else{var r=this.__myParentLayout;var o=this.__myParentContainerId;var s=t.getId();if(n){a.push(n)}if(r.mContainers[o]&&r.mContainers[o][2]&&r.mContainers[o][2][s]&&r.mContainers[o][2][s][1]){a.push(r.mContainers[o][2][s][1])}}return a}else{return false}};s._addContentClass=function(t,a){if(a==0){var n=e.getElementById(this.__myParentElementId);if(n){var i=n.getLabelControl();if(t==i){return\"sapUiFormElementLbl\"}}}return null}}else{s.getContent=function(){var t=e.getElementById(this.__myParentElementId);if(t){return t.getFieldsForRendering()}else{return false}}}}else if(t){s._getAccessibleRole=function(){var t=e.getElementById(this.__myParentContainerId);var a=this.__myParentLayout;if(a._mainRFLayout&&!t.getToolbar()&&!t.getTitle()&&!t.getExpandable()&&t.getAriaLabelledBy().length>0){return\"form\"}};s.getAriaLabelledBy=function(){var t=e.getElementById(this.__myParentContainerId);if(t&&!t.getToolbar()&&!t.getTitle()&&!t.getExpandable()){return t.getAriaLabelledBy()}return[]}}if(a&&!r||!a&&!t.getToolbar()&&!t.getTitle()&&!t.getExpandable()){C(s,false)}else{s.setLayoutData(new i({margin:false}))}return s}function C(t,a){if(a){if(t.__originalGetLayoutData){t.getLayoutData=t.__originalGetLayoutData;delete t.__originalGetLayoutData}}else if(!t.__originalGetLayoutData){t.__originalGetLayoutData=t.getLayoutData;t.getLayoutData=function(){var t=this.__myParentLayout;var a=e.getElementById(this.__myParentContainerId);var n=e.getElementById(this.__myParentElementId);var i;if(n){i=t.getLayoutDataForElement(n,\"sap.ui.layout.ResponsiveFlowLayoutData\")}else if(a){i=t.getLayoutDataForElement(a,\"sap.ui.layout.ResponsiveFlowLayoutData\")}if(i){return i}else if(n){return t._defaultLayoutData}}}}function p(t,e){var a;var n=0;for(var r=0;r<e.length;r++){var o=e[r];a=this.getLayoutDataForElement(o,\"sap.ui.layout.ResponsiveFlowLayoutData\");if(a){n=n+a.getWeight()}else{n++}}a=t.getLayoutData();if(a){a.setWeight(n)}else{t.setLayoutData(new i({weight:n}))}}function L(t){if(t.__myParentContainerId){t.__myParentContainerId=undefined}if(t.__myParentElementId){t.__myParentElementId=undefined}t.__myParentLayout=undefined;t.destroy()}function _(t){var e=this.mContainers[t];var a;var n=e[2];if(n){for(var i in n){if(n[i][1]){L(n[i][1])}a=n[i][0];L(a);delete n[i]}}a=e[1];if(a){a.removeAllContent();L(a)}var r=e[0];if(r){g(r)}delete this.mContainers[t]}function c(t,a,n,i,r){var o=a.getId();var s=o+\"--RFLayout\";var l=e.getElementById(s);if(!n[o]&&l){var u=l.__myParentContainerId;n[o]=this.mContainers[u][2][o];i.insertContent(l,r);l.__myParentContainerId=t.getId();if(n[o][1]){n[o][1].__myParentContainerId=t.getId()}delete this.mContainers[u][2][o]}}function I(t){var a=t.getVisibleFormContainers();var i;var r=a.length;var o=0;var s=0;var l=0;if(r>1){if(!this._mainRFLayout){this._mainRFLayout=new n(t.getId()+\"--RFLayout\").setParent(this)}else{var u=this._mainRFLayout.getContent();o=u.length;var f=false;for(s=0;s<o;s++){var d=u[s];i=undefined;if(d.getContainer){i=e.getElementById(d.getContainer())}else{i=e.getElementById(d.__myParentContainerId)}if(i&&i.isVisible()){var m=a[l];if(i!=m){f=true;break}var y=this.mContainers[i.getId()];if(y[0]&&y[0]!=d){f=true;break}if(!y[0]&&y[1]&&y[1]!=d){f=true;break}l++}else{this._mainRFLayout.removeContent(d)}}if(f){this._mainRFLayout.removeAllContent();o=0}}if(o<r){var g=0;if(o>0){g=o--}for(s=g;s<r;s++){i=a[s];var v=i.getId();if(this.mContainers[v]){if(this.mContainers[v][0]){this._mainRFLayout.addContent(this.mContainers[v][0])}else if(this.mContainers[v][1]){this._mainRFLayout.addContent(this.mContainers[v][1])}}}}}}return f});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ResponsiveLayoutRenderer\", [\"sap/ui/core/Renderer\",\"./FormLayoutRenderer\"],function(e,r){\"use strict\";var n=e.extend(r);n.apiVersion=2;n.getMainClass=function(){return\"sapUiFormResLayout\"};n.renderContainers=function(e,r,n){var t=n.getVisibleFormContainers();var i=t.length;if(i>0){if(i>1){e.renderControl(r._mainRFLayout)}else if(r.mContainers[t[0].getId()][0]){e.renderControl(r.mContainers[t[0].getId()][0])}else{e.renderControl(r.mContainers[t[0].getId()][1])}}};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/SemanticFormElement\", [\"./FormElement\",\"./FormHelper\"],function(e,t){\"use strict\";var i=e.extend(\"sap.ui.layout.form.SemanticFormElement\",{metadata:{library:\"sap.ui.layout\",properties:{delimiter:{type:\"string\",group:\"Data\",defaultValue:\"/\"}},aggregations:{fieldLabels:{type:\"sap.ui.core.Label\",multiple:true},_delimiters:{type:\"sap.ui.core.Control\",multiple:true,visibility:\"hidden\"},_displayField:{type:\"sap.ui.core.Control\",multiple:false,visibility:\"hidden\"}}}});i.prototype.init=function(){e.prototype.init.apply(this,arguments);this._oObserver.observe(this,{properties:[\"_editable\",\"delimiter\"],aggregations:[\"fieldLabels\"],parent:true})};i.prototype.exit=function(){e.prototype.exit.apply(this,arguments)};i.prototype.enhanceAccessibilityState=function(t,i){var a=this.getAggregation(\"delimiters\",[]);if(a.indexOf(t)<0){if(!m.call(this)){var r=this.indexOfField(t);if(r>=0){var l=this.getFieldLabels();var s=l[r];if(s){var o;if(typeof s===\"string\"){o=s}else{o=s.getText()}var n=i[\"label\"];if(!n){n=o}else{n=n+\" \"+o}i[\"label\"]=n;var g=i[\"labelledby\"];if(g){s=this.getLabelControl();var h=g.split(\" \");r=h.indexOf(s.getId());if(r>=0){h.splice(r,1);g=h.join(\" \")}i[\"labelledby\"]=g}return i}}}}e.prototype.enhanceAccessibilityState.apply(this,arguments)};i.prototype.onLayoutDataChange=function(t){var i=t.srcControl;var a=i.getLayoutData();if(!a||!a._bSetBySemanticFormElement){d.call(this)}e.prototype.onLayoutDataChange.apply(this,arguments)};i.prototype.getFieldsForRendering=function(){var e=[];if(!this._bLayoutDataCreated){d.call(this)}if(!m.call(this)){if(this.getAggregation(\"_displayField\")){this.destroyAggregation(\"_displayField\");g.call(this)}var t=this.getFields();var i=this.getAggregation(\"_delimiters\",[]);for(var a=0;a<t.length;a++){var r=t[a];if(r.getVisible()){if(e.length>0&&i[a-1]){e.push(i[a-1])}e.push(r)}}}else{if(!this.getAggregation(\"_displayField\")){this.destroyAggregation(\"_delimiters\");this._bLayoutDataCreated=false;f.call(this)}var l=this.getAggregation(\"_displayField\");if(l){e.push(l)}}return e};i.prototype._observeChanges=function(t){e.prototype._observeChanges.apply(this,arguments);if(t.object===this){if(t.type===\"parent\"){y.call(this,t.mutation,t.parent)}else if(t.name===\"fields\"){r.call(this,t.child,t.mutation)}else if(t.name===\"_editable\"){a.call(this,t.current)}else if(t.name===\"delimiter\"){l.call(this,t.current)}else if(t.name===\"fieldLabels\"){s.call(this,t.mutation,t.child)}}else{if(t.type===\"parent\"){y.call(this,t.mutation,t.parent)}else if(t.name===\"layout\"){v.call(this,t.child,t.mutation)}else if(t.object.isA(\"sap.ui.core.Label\")){n.call(this,t)}else{o.call(this,t)}}};function a(e){if(e){this.destroyAggregation(\"_displayField\");g.call(this)}else if(m.call(this)){this.destroyAggregation(\"_delimiters\");this._bLayoutDataCreated=false;f.call(this)}else{g.call(this)}}function r(e,t){if(t===\"insert\"){if(!e.isA(\"sap.ui.core.IFormContent\")||!e.isA(\"sap.ui.core.ISemanticFormContent\")){throw new Error(e+\" is not valid Form content. \"+this)}var i=[\"visible\"];if(e.getFormObservingProperties){i=i.concat(e.getFormObservingProperties())}if(e.getFormValueProperty){if(i.indexOf(e.getFormValueProperty())===-1){i.push(e.getFormValueProperty())}}else if(e.getMetadata().getProperty(\"value\")){i.push(\"value\")}else if(e.getMetadata().getProperty(\"text\")){i.push(\"text\")}this._oObserver.observe(e,{properties:i})}else{var a=e.getLayoutData();if(a&&a._bSetBySemanticFormElement){a.destroy()}}if(!m.call(this)){g.call(this)}else{f.call(this,true)}p.call(this)}function l(e){if(!m.call(this)){g.call(this)}else{u.call(this,false)}p.call(this)}function s(e,t){if(typeof t!==\"string\"){if(e===\"insert\"){this._oObserver.observe(t,{properties:[\"text\"]})}else{this._oObserver.unobserve(t)}}p.call(this)}function o(e){var t=e.object.getFormValueProperty?e.object.getFormValueProperty():null;var i=e.object.getFormObservingProperties?e.object.getFormObservingProperties():[];if(e.name===t||e.name===\"value\"||e.name===\"text\"){if(m.call(this)){u.call(this,false)}}else if(e.name===\"visible\"||i.indexOf(e.name)>=0){if(!m.call(this)){g.call(this)}else{f.call(this,true)}p.call(this);this.invalidate()}}function n(e){p.call(this)}function g(){if(this._oInitPromise){this._oInitPromise.then(function(){delete this._oInitPromise;if(!m.call(this)){g.call(this)}}.bind(this));return}var e=this.getFields();var i=this.getAggregation(\"_delimiters\",[]);var a=this.getDelimiter();var r=this.getId()+\"-delimiter-\";var l=0;if(!this._getEditable()){a=\" \"+a+\" \"}for(l=0;l<e.length;l++){if(l<e.length-1){if(i.length>l){t.updateDelimiter(i[l],a)}else{var s=t.createDelimiter(a,r+l);s.addStyleClass(\"sapUiFormDelimiter\");this.addAggregation(\"_delimiters\",s)}}}if(i.length>0&&i.length>e.length-1){for(l=e.length-1;l<i.length;l++){i[l].destroy()}}d.call(this)}var h={onBeforeRendering:function(){u.call(this,true)}};function f(e){if(this._oInitPromise){this._oInitPromise.then(function(){delete this._oInitPromise;if(m.call(this)){f.call(this)}}.bind(this));return}var i=this.getAggregation(\"_displayField\");if(i){u.call(this,false)}else{var a=this.getId()+\"-display\";i=t.createSemanticDisplayControl(\"\",a);i.addDelegate(h,true,this);this.setAggregation(\"_displayField\",i)}}function u(e){var i=this.getAggregation(\"_displayField\");if(i&&(i.getDomRef()||e)){if(e&&i._bNoForceUpdate){i._bNoForceUpdate=false;return}var a=this.getFields();var r=[];var l=false;for(var s=0;s<a.length;s++){var o=a[s];if(o.getVisible()){var n=o.getFormValueProperty?o.getFormValueProperty():null;var g;if(o.getFormFormattedValue){g=o.getFormFormattedValue();if(g instanceof Promise){l=true}}else if(n){g=o.getProperty(n)}else if(o.getMetadata().getProperty(\"value\")){g=o.getValue()}else if(o.getMetadata().getProperty(\"text\")){g=o.getText()}r.push(g)}}i._bNoForceUpdate=true;if(l){Promise.all(r).then(function(e){var i=this.getAggregation(\"_displayField\");var a=c.call(this,e);i._bNoForceUpdate=true;t.updateSemanticDisplayControl(i,a)}.bind(this))}else{var h=c.call(this,r);t.updateSemanticDisplayControl(i,h)}}else if(i&&i._bNoForceUpdate){i._bNoForceUpdate=false}}function c(e){var t=this.getDelimiter();var i=\"\";for(var a=0;a<e.length;a++){i=i+e[a];if(a<e.length-1){i=i+\" \"+t+\" \"}}return i}function p(){if(!this.getLabel()){if(this._oInitPromise){this._oInitPromise.then(function(){delete this._oInitPromise;p.call(this)}.bind(this));return}var e=this.getFieldLabels();var t=this.getFields();var i=[];for(var a=0;a<e.length;a++){if(t[a]&&t[a].getVisible()){var r=e[a];if(typeof r===\"string\"){i.push(r)}else{i.push(r.getText())}}}var l=c.call(this,i);this._setInternalLabel(l)}}function d(){var e=this.getFields().filter(function(e){return e.getVisible()});var t=this.getAggregation(\"_delimiters\",[]);var i=this.getParent();var a=i&&i.getParent();var r=a&&a.getLayout();var l;var s=0;if(!r||!r.getLayoutDataForDelimiter){return}if(this._getEditable()){for(s=0;s<t.length;s++){var o=t[s];if(!o.getLayoutData()){l=r.getLayoutDataForDelimiter();if(l){if(l instanceof Promise){l.then(function(e){e._bSetBySemanticFormElement=true;this.setLayoutData(e)}.bind(o))}else if(l.isA(\"sap.ui.core.LayoutData\")){l._bSetBySemanticFormElement=true;o.setLayoutData(l)}}}}if(e.length>1){for(s=0;s<e.length;s++){var n=e[s];l=n.getLayoutData();if(!l||l._bSetBySemanticFormElement){l=r.getLayoutDataForSemanticField(e.length,s+1,l);if(l){if(l instanceof Promise){l.then(function(e){e._bSetBySemanticFormElement=true;this.setLayoutData(e)}.bind(n))}else if(l.isA(\"sap.ui.core.LayoutData\")&&!l._bSetBySemanticFormElement){l._bSetBySemanticFormElement=true;n.setLayoutData(l)}}}}}this._bLayoutDataCreated=true}}function m(){if(this._getEditable()){return false}else{var e=this.getFields();var t=true;for(var i=0;i<e.length;i++){if(!e[i].getFormRenderAsControl||!e[i].getFormRenderAsControl()){t=false;break}}var a=this.getParent();var r=a&&a.getParent();var l=r&&r.getLayout();var s=l?l.renderControlsForSemanticElement():true;return!(t&&s)}}function y(e,t){var i;if(e===\"set\"){var a;if(t.isA(\"sap.ui.layout.form.FormContainer\")){this._oObserver.observe(t,{parent:true});a=t.getParent()}else if(t.isA(\"sap.ui.layout.form.Form\")){this._oObserver.observe(t,{aggregations:[\"layout\"]});a=t}i=a&&a.getLayout()}else if(t.isA(\"sap.ui.layout.form.FormContainer\")||t.isA(\"sap.ui.layout.form.Form\")){this._oObserver.unobserve(t)}if(i){v.call(this,i)}}function v(e,t){a.call(this,this._getEditable());d.call(this)}return i});\n/*!\n * OpenUI5\n Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/FormRenderer\", [\"./FormHelper\",\"sap/base/Log\"],function(e,t){\"use strict\";var s={apiVersion:2};s.render=function(s,i){const r=i.getLayout();const a={role:r&&r.hasLabelledContainers(i)?\"region\":\"form\"};s.openStart(\"div\",i).class(\"sapUiForm\").class(\"sapUiFormLblColon\").attr(\"data-sap-ui-customfastnavgroup\",\"true\");var o=e.addFormClass();if(o){s.class(o)}if(i.getEditable()){s.class(\"sapUiFormEdit\");s.class(\"sapUiFormEdit-CTX\")}else{a.readonly=\"\"}if(i.getWidth()){s.style(\"width\",i.getWidth())}if(i.getTooltip_AsString()){s.attr(\"title\",i.getTooltip_AsString())}const n=r?.getRenderer().getTitleId(i)||i._sSuggestedTitleId;if(n){a[\"labelledby\"]={value:n,append:true}}s.accessibilityState(i,a);s.openEnd();if(r){s.renderControl(r)}else{t.warning('Form \"'+i.getId()+'\" - Layout missing!',\"Renderer\",\"Form\")}s.close(\"div\")};return s},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/GridContainerData\", [\"sap/ui/core/LayoutData\",\"sap/ui/layout/library\"],function(a,t){\"use strict\";var e=a.extend(\"sap.ui.layout.form.GridContainerData\",{metadata:{library:\"sap.ui.layout\",properties:{halfGrid:{type:\"boolean\",group:\"Misc\",defaultValue:false}}}});return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/GridElementData\", [\"sap/ui/core/LayoutData\",\"sap/ui/layout/library\"],function(a,e){\"use strict\";var t=a.extend(\"sap.ui.layout.form.GridElementData\",{metadata:{library:\"sap.ui.layout\",properties:{hCells:{type:\"sap.ui.layout.form.GridElementCells\",group:\"Appearance\",defaultValue:\"auto\"},vCells:{type:\"int\",group:\"Appearance\",defaultValue:1}}}});return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/GridLayout\", [\"sap/ui/layout/library\",\"./FormLayout\",\"./GridLayoutRenderer\"],function(e,t,r){\"use strict\";var n=t.extend(\"sap.ui.layout.form.GridLayout\",{metadata:{library:\"sap.ui.layout\",deprecated:true,properties:{singleColumn:{type:\"boolean\",group:\"Misc\",defaultValue:false}}},renderer:r});n.prototype.toggleContainerExpanded=function(e){this.invalidate()};n.prototype.onAfterRendering=function(){var e=this.getParent();if(e){var t=e.getVisibleFormContainers();for(var r=0;r<t.length;r++){var n=t[r];if(n.getExpandable()&&n._oExpandButton){n._oExpandButton.$().attr(\"tabindex\",\"-1\")}}}};n.prototype.onLayoutDataChange=function(e){if(this.getDomRef()){this.invalidate()}};n.prototype.onsaptabnext=function(e){this.tabForward(e)};n.prototype.onsaptabprevious=function(e){this.tabBack(e)};n.prototype.findFieldOfElement=function(e,r,n){if(!n){return t.prototype.findPrevFieldOfElement.apply(this,arguments)}if(!e.isVisible()){return null}var i=e.getFieldsForRendering();var a;var o=i.length;r=o-1;for(var f=r;f>=0;f--){var l=i[f];var d=l.$().offset().left;if(n<d&&f!=0){continue}var s=this._getDomRef(l);if((!l.getEnabled||l.getEnabled())&&s){a=s;break}}return a};n.prototype.findFieldBelow=function(e,t){var r=t.getParent();var n=r.indexOfFormElement(t);var i;if(r.isVisible()){var a=r.getFormElements();var o=a.length;var f=n+1;var l=e.$().offset().left;while(!i&&f<o){var d=a[f];i=this.findFieldOfElement(d,0,l);f++}}if(!i){var s=r.getParent();n=s.indexOfFormContainer(r);i=this.findFirstFieldOfFirstElementInNextContainer(s,n+1)}return i};n.prototype.findFieldAbove=function(e,t){var r=t.getParent();var n=r.indexOfFormElement(t);var i;if(r.isVisible()){var a=r.getFormElements();var o=n-1;var f=e.$().offset().left;while(!i&&o>=0){var l=a[o];i=this.findFieldOfElement(l,0,f);o--}}if(!i){var d=r.getParent();n=d.indexOfFormContainer(r);i=this.findLastFieldOfLastElementInPrevContainer(d,n-1)}return i};n.prototype.getContainerRenderedDomRef=function(e){return null};n.prototype.getElementRenderedDomRef=function(e){if(this.getDomRef()){var t=this.getSingleColumn();var r=e.getParent();var n=this.getLayoutDataForElement(r,\"sap.ui.layout.form.GridContainerData\");if((t||!n||!n.getHalfGrid())&&!this.getRenderer().checkFullSizeElement(this,e)){return e.getDomRef()}}return null};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/GridLayoutRenderer\", [\"sap/ui/core/Renderer\",\"./FormLayoutRenderer\",\"sap/base/Log\"],function(e,t,r){\"use strict\";var a=e.extend(t);a.apiVersion=2;a.renderForm=function(e,t,r){var a=t.getSingleColumn();var n=16;var i=false;var l=0;var o=r.getFormContainers();var s=o.length;var d=0;var f;var p;var c=r.getToolbar();var g=r.getTitle();if(a){n=n/2;l=n}else{l=n/2;for(d=0;d<s;d++){p=this.getContainerData(t,o[d]);if(p&&p.getHalfGrid()){i=true;break}}}e.openStart(\"table\",t).attr(\"role\",\"presentation\").attr(\"cellpadding\",\"0\").attr(\"cellspacing\",\"0\").style(\"border-collapse\",\"collapse\").style(\"table-layout\",\"fixed\").style(\"width\",\"100%\").class(\"sapUiGrid\");this.addBackgroundClass(e,t);if(c){e.class(\"sapUiFormToolbar\")}e.openEnd();e.openStart(\"colgroup\").openEnd();e.voidStart(\"col\").attr(\"span\",l).voidEnd();if(i){e.voidStart(\"col\").class(\"sapUiGridSpace\").attr(\"span\",\"1\").voidEnd()}if(!a){e.voidStart(\"col\").attr(\"span\",l).voidEnd()}e.close(\"colgroup\");e.openStart(\"tbody\").openEnd();if(c||g){var u=n;if(i){u++}e.openStart(\"tr\").class(\"sapUiGridTitle\").openEnd();e.openStart(\"th\").attr(\"colspan\",u).openEnd();this.renderHeader(e,c,g,undefined,false,t._sFormTitleSize,r.getId());e.close(\"th\");e.close(\"tr\")}d=0;var v;var E;while(d<s){f=o[d];f._checkProperties();if(f.isVisible()){p=this.getContainerData(t,f);if(p&&p.getHalfGrid()&&!a){v=o[d+1];E=undefined;if(v&&v.isVisible()){E=this.getContainerData(t,v)}if(E&&E.getHalfGrid()){v._checkProperties();this.renderContainerHalfSize(e,t,f,v,n);d++}else{this.renderContainerHalfSize(e,t,f,undefined,n)}}else{this.renderContainerFullSize(e,t,f,n,i)}}d++}e.close(\"tbody\");e.close(\"table\")};a.renderContainerFullSize=function(e,t,r,a,n){var i=r.getExpandable();var l=r.getTooltip_AsString();var o=r.getToolbar();var s=r.getTitle();if(o||s){var d=a;if(n){d++}e.openStart(\"tr\").class(\"sapUiGridConteinerFirstRow\").class(\"sapUiGridConteinerHeaderRow\").openEnd();e.openStart(\"td\").attr(\"colspan\",d);e.class(\"sapUiGridHeader\");if(l){e.attr(\"title\",l)}if(o){e.class(\"sapUiFormContainerToolbar\")}else if(s){e.class(\"sapUiFormContainerTitle\")}e.openEnd();this.renderHeader(e,o,r.getTitle(),r._oExpandButton,i,t._sFormSubTitleSize,r.getId());e.close(\"td\");e.close(\"tr\")}if(!i||r.getExpanded()){var f=r.getFormElements();var p;var c=[];var g;var u=false;for(var v=0,E=f.length;v<E;v++){p=f[v];if(p.isVisible()){g=c[0]&&c[0][0]==a;if(!this.checkFullSizeElement(t,p)&&c[0]!=\"full\"&&!g){e.openStart(\"tr\",p);e.class(\"sapUiFormElement\")}else{e.openStart(\"tr\")}if(!u){u=true;if(!o&&!s){e.class(\"sapUiGridConteinerFirstRow\")}}e.openEnd();if(!g){c=this.renderElement(e,t,p,false,a,n,c)}else{c.splice(0,1)}e.close(\"tr\");if(c[0]==\"full\"||g){v=v-1}}}if(c.length>0){for(var h=0;h<c.length;h++){e.openStart(\"tr\").openEnd().close(\"tr\")}}}};a.renderContainerHalfSize=function(e,t,r,a,n){var i=n/2;var l=r.getExpandable();var o=r.getTooltip_AsString();var s;var d=r.getTitle();var f;var p=r.getToolbar();var c;var g=[];if(!l||r.getExpanded()){g=r.getFormElements()}var u=g.length;var v=[];var E=0;var h=false;if(a){h=a.getExpandable();s=a.getTooltip_AsString();f=a.getTitle();c=a.getToolbar();if(!h||a.getExpanded()){v=a.getFormElements()}E=v.length}if(d||f||p||c){e.openStart(\"tr\").class(\"sapUiGridConteinerFirstRow\").class(\"sapUiGridConteinerHeaderRow\").openEnd();e.openStart(\"td\").attr(\"colspan\",i);e.class(\"sapUiGridHeader\");if(o){e.attr(\"title\",o)}if(p){e.class(\"sapUiFormContainerToolbar\")}else if(d){e.class(\"sapUiFormContainerTitle\")}e.openEnd();if(r){this.renderHeader(e,p,d,r._oExpandButton,l,t._sFormSubTitleSize,r.getId())}e.close(\"td\");e.openStart(\"td\").openEnd().close(\"td\");e.openStart(\"td\").attr(\"colspan\",i);e.class(\"sapUiGridHeader\");if(s){e.attr(\"title\",s)}if(c){e.class(\"sapUiFormContainerToolbar\")}else if(f){e.class(\"sapUiFormContainerTitle\")}e.openEnd();if(a){this.renderHeader(e,c,f,a._oExpandButton,h,t._sFormSubTitleSize,a.getId())}e.close(\"td\");e.close(\"tr\")}if(!l||r.getExpanded()||(!h||a.getExpanded())){var m=[],S=[];var C=0,F=0;var b;var T;var U;var G;var H=false;while(C<u||F<E){b=g[C];T=v[F];U=m[0]&&m[0][0]==i;G=S[0]&&S[0][0]==i;if(b&&b.isVisible()||T&&T.isVisible()||U||G){e.openStart(\"tr\");if(!H){H=true;if(!p&&!d&&!c&&!f){e.class(\"sapUiGridConteinerFirstRow\")}}e.openEnd();if(!U){if(b&&b.isVisible()&&(!l||r.getExpanded())){m=this.renderElement(e,t,b,true,i,false,m)}else{e.openStart(\"td\").attr(\"colspan\",i).openEnd().close(\"td\")}if(m[0]!=\"full\"){C++}}else{if(m[0][2]>0){e.openStart(\"td\").attr(\"colspan\",m[0][2]).openEnd().close(\"td\")}m.splice(0,1)}e.openStart(\"td\").openEnd().close(\"td\");if(!G){if(T&&T.isVisible()&&(!h||a.getExpanded())){S=this.renderElement(e,t,T,true,i,false,S)}else{e.openStart(\"td\").attr(\"colspan\",i).openEnd().close(\"td\")}if(S[0]!=\"full\"){F++}}else{if(S[0][2]>0){e.openStart(\"td\").attr(\"colspan\",S[0][2]).openEnd().close(\"td\")}S.splice(0,1)}e.close(\"tr\")}else{C++;F++}}if(m.length>0||S.length>0){for(var x=0;x<m.length||x<S.length;x++){e.openStart(\"tr\").openEnd().close(\"tr\")}}}};a.renderElement=function(e,t,a,n,i,l,o){var s=a.getLabelControl();var d=0;var f=a.getFieldsForRendering();var p=0;var c=0;var g=false;var u=1;var v=1;var E=0;if(this.checkFullSizeElement(t,a)){if(o.length>0&&o[0]!=\"full\"){r.error('Element \"'+a.getId()+'\" - Too much fields for one row!',\"Renderer\",\"GridLayout\");return o}if(l){i=i+1}if(s&&o[0]!=\"full\"){e.openStart(\"td\").attr(\"colspan\",i).class(\"sapUiFormElementLbl\").class(\"sapUiGridLabelFull\").openEnd();e.renderControl(s);e.close(\"td\");return[\"full\"]}else{o.splice(0,1);v=this.getElementData(t,f[0]).getVCells();e.openStart(\"td\").attr(\"colspan\",i);if(v>1&&n){e.attr(\"rowspan\",v);for(E=0;E<v-1;E++){o.push([i,undefined,false])}}e.openEnd();e.renderControl(f[0]);e.close(\"td\");return o}}if(o.length>0&&o[0][0]>0){i=i-o[0][0]+o[0][2];g=o[0][1];d=o[0][2];o.splice(0,1)}var h=d;var m;var S=\"\";if(s||d>0){h=3;if(s&&d==0){m=this.getElementData(t,s);if(m){S=m.getHCells();if(S!=\"auto\"&&S!=\"full\"){h=parseInt(S)}}}e.openStart(\"td\").attr(\"colspan\",h).class(\"sapUiFormElementLbl\").openEnd();if(s){e.renderControl(s)}i=i-h;e.close(\"td\")}if(f&&f.length>0){var C=i;var F=f.length;var b;var T=0;var U=0;for(T=0,U=f.length;T<U;T++){b=f[T];m=this.getElementData(t,b);if(m&&m.getHCells()!=\"auto\"){C=C-parseInt(m.getHCells());F=F-1}}var G=0;for(T=0,G=0,U=f.length;T<U;T++){b=f[T];m=this.getElementData(t,b);S=\"auto\";u=1;v=1;if(m){S=m.getHCells();v=m.getVCells()}if(S==\"auto\"){if(C>0){u=Math.floor(C/F);if(u<1){u=1}G++;c=c+u;if(G==F&&C>c){u=u+(C-c)}}else{u=1}}else{u=parseInt(S)}p=p+u;if(p>i){r.error('Element \"'+a.getId()+'\" - Too much fields for one row!',\"Renderer\",\"GridLayout\");p=p-u;break}if(v>1){for(E=0;E<v-1;E++){if(s){d=h}if(o.length>E){o[E][0]=o[E][0]+u;o[E][2]=d}else{o.push([h+u,undefined,d])}}}if(l&&p>=Math.floor(i/2)&&!g){u=u+1;g=true;if(v>1){for(E=0;E<v-1;E++){o[E][1]=true}}}e.openStart(\"td\");if(u>1){e.attr(\"colspan\",u)}if(v>1){e.attr(\"rowspan\",v)}e.openEnd();e.renderControl(b);e.close(\"td\")}}if(p<i){var H=i-p;if(!n&&l&&!g){H++}e.openStart(\"td\").attr(\"colspan\",H).openEnd().close(\"td\")}return o};a.checkFullSizeElement=function(e,t){var r=t.getFieldsForRendering();if(r.length==1&&this.getElementData(e,r[0])&&this.getElementData(e,r[0]).getHCells()==\"full\"){return true}else{return false}};a.getContainerData=function(e,t){return e.getLayoutDataForElement(t,\"sap.ui.layout.form.GridContainerData\")};a.getElementData=function(e,t){return e.getLayoutDataForElement(t,\"sap.ui.layout.form.GridElementData\")};return a},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ResponsiveGridLayout\", [\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/core/ResizeHandler\",\"sap/ui/layout/library\",\"sap/ui/layout/Grid\",\"sap/ui/layout/GridData\",\"./Form\",\"./FormContainer\",\"./FormElement\",\"./FormLayout\",\"./ResponsiveGridLayoutRenderer\",\"sap/ui/thirdparty/jquery\"],function(e,t,a,i,n,r,s,o,l,f,u,jQuery){\"use strict\";var d=f.extend(\"sap.ui.layout.form.ResponsiveGridLayout\",{metadata:{library:\"sap.ui.layout\",properties:{labelSpanXL:{type:\"int\",group:\"Misc\",defaultValue:-1},labelSpanL:{type:\"int\",group:\"Misc\",defaultValue:4},labelSpanM:{type:\"int\",group:\"Misc\",defaultValue:2},labelSpanS:{type:\"int\",group:\"Misc\",defaultValue:12},adjustLabelSpan:{type:\"boolean\",group:\"Misc\",defaultValue:true},emptySpanXL:{type:\"int\",group:\"Misc\",defaultValue:-1},emptySpanL:{type:\"int\",group:\"Misc\",defaultValue:0},emptySpanM:{type:\"int\",group:\"Misc\",defaultValue:0},emptySpanS:{type:\"int\",group:\"Misc\",defaultValue:0},columnsXL:{type:\"int\",group:\"Misc\",defaultValue:-1},columnsL:{type:\"int\",group:\"Misc\",defaultValue:2},columnsM:{type:\"int\",group:\"Misc\",defaultValue:1},singleContainerFullSize:{type:\"boolean\",group:\"Misc\",defaultValue:true},breakpointXL:{type:\"int\",group:\"Misc\",defaultValue:1440},breakpointL:{type:\"int\",group:\"Misc\",defaultValue:1024},breakpointM:{type:\"int\",group:\"Misc\",defaultValue:600}}},renderer:u});var p=e.extend(\"sap.ui.layout.form.ResponsiveGridLayoutPanel\",{metadata:{library:\"sap.ui.layout\",aggregations:{content:{type:\"sap.ui.layout.Grid\",multiple:false}},associations:{container:{type:\"sap.ui.layout.form.FormContainer\",multiple:false},layout:{type:\"sap.ui.layout.form.ResponsiveGridLayout\",multiple:false}}},getLayoutData:function(){var e=t.getElementById(this.getContainer());var a=t.getElementById(this.getLayout());var i;if(a&&e){i=a.getLayoutDataForElement(e,\"sap.ui.layout.GridData\")}if(i){return i}else{return this.getAggregation(\"layoutData\")}},getCustomData:function(){var e=t.getElementById(this.getContainer());if(e){return e.getCustomData()}},refreshExpanded:function(){var e=t.getElementById(this.getContainer());if(e){if(e.getExpanded()){this.$().removeClass(\"sapUiRGLContainerColl\")}else{this.$().addClass(\"sapUiRGLContainerColl\")}}},renderer:{apiVersion:2,render:function(e,a){var i=t.getElementById(a.getContainer());var n=t.getElementById(a.getLayout());var r=a.getContent();var s=i.getExpandable();var o=i.getTooltip_AsString();var l=i.getToolbar();var f=i.getTitle();e.openStart(\"div\",a);e.class(\"sapUiRGLContainer\");if(s&&!i.getExpanded()){e.class(\"sapUiRGLContainerColl\")}if(l){e.class(\"sapUiFormContainerToolbar\")}else if(f){e.class(\"sapUiFormContainerTitle\")}if(o){e.attr(\"title\",o)}n.getRenderer().writeAccessibilityStateContainer(e,i,\"form\");e.openEnd();n.getRenderer().renderHeader(e,l,f,i._oExpandButton,s,n._sFormSubTitleSize,i.getId());if(r){e.openStart(\"div\");e.class(\"sapUiRGLContainerCont\");e.openEnd();e.renderControl(r);e.close(\"div\")}e.close(\"div\")}}});d.prototype.init=function(){f.prototype.init.apply(this,arguments);this.mContainers={};this.oDummyLayoutData=new r(this.getId()+\"--Dummy\")};d.prototype.exit=function(){for(var e in this.mContainers){_.call(this,e,true)}if(this._mainGrid){this._mainGrid.destroy();delete this._mainGrid}this.oDummyLayoutData.destroy();this.oDummyLayoutData=undefined};d.prototype.onBeforeRendering=function(e){f.prototype.onBeforeRendering.apply(this,arguments);var t=this.getParent();if(!t||!(t instanceof s)){return}t._bNoInvalidate=true;g.call(this,t);c.call(this,t);t._bNoInvalidate=false};d.prototype.onAfterRendering=function(e){if(this._mainGrid&&this._mainGrid.__bIsUsed){for(var t in this.mContainers){if(this.mContainers[t][1]._sContainerResizeListener){a.deregister(this.mContainers[t][1]._sContainerResizeListener);this.mContainers[t][1]._sContainerResizeListener=null}}}};d.prototype.toggleContainerExpanded=function(e){var t=e.getId();if(this.mContainers[t]&&this.mContainers[t][0]){var a=this.mContainers[t][0];a.refreshExpanded()}};d.prototype.onLayoutDataChange=function(e){var t=e.srcControl;if(t instanceof o){if(this._mainGrid){this._mainGrid.onLayoutDataChange(e);this.invalidate()}}else if(!(t instanceof l)){var a=t.getParent();if(a instanceof l){var i=a.getParent();var n=i.getId();if(this.mContainers[n]&&this.mContainers[n][1]){this.mContainers[n][1].onLayoutDataChange(e)}}}};d.prototype.onsapup=function(e){this.onsapleft(e)};d.prototype.onsapdown=function(e){this.onsapright(e)};d.prototype.getContainerRenderedDomRef=function(e){if(this.getDomRef()){var t=e.getId();if(this.mContainers[t]){if(this.mContainers[t][0]){var a=this.mContainers[t][0];return a.getDomRef()}else if(this.mContainers[t][1]){var i=this.mContainers[t][1];return i.getDomRef()}}}return null};d.prototype.getElementRenderedDomRef=function(e){return null};function g(e){var t=e.getVisibleFormContainers();var a=t.length;var i=0;var n;var r;var s;var o;var l=0;for(l=0;l<a;l++){s=t[l];s._checkProperties();if(s.isVisible()){i++;o=s.getId();n=undefined;r=undefined;var f=t[l+1];if(this.mContainers[o]&&this.mContainers[o][1]){r=this.mContainers[o][1]}else{r=h.call(this,s)}var u=s.getTitle();var d=s.getToolbar();if(d||u||s.getExpandable()){if(this.mContainers[o]&&this.mContainers[o][0]){n=this.mContainers[o][0]}else{n=m.call(this,s,r);v(r,true)}C(n,s,i,f,a)}else{if(this.mContainers[o]&&this.mContainers[o][0]){y(this.mContainers[o][0])}v(r,false);C(r,s,i,f,a)}this.mContainers[o]=[n,r]}}var p=Object.keys(this.mContainers).length;if(a<p){for(o in this.mContainers){var g=false;for(l=0;l<a;l++){s=t[l];if(o==s.getId()){g=true;break}}if(!g){_.call(this,o)}}}}function m(e,t){var a=e.getId();var i=new p(a+\"---Panel\",{container:e,layout:this,content:t});return i}function y(e,t){e.setLayout(null);e.setContainer(null);if(!t||!e.getParent()){e.setContent(null);e.destroy()}}function h(e){var a=e.getId()+\"--Grid\";var i=new n(a,{vSpacing:0,hSpacing:0,containerQuery:true});i.__myParentLayout=this;i.__myParentContainerId=e.getId();i.addStyleClass(\"sapUiFormResGridCont\").addStyleClass(\"sapUiRespGridOverflowHidden\");i.getContent=function(){var e=t.getElementById(this.__myParentContainerId);if(e){var a=[];var i=e.getVisibleFormElements();var n;var r;for(var s=0;s<i.length;s++){var o=i[s];r=o.getLabelControl();if(r){a.push(r)}n=o.getFieldsForRendering();for(var l=0;l<n.length;l++){a.push(n[l])}}return a}else{return false}};i.getAriaLabelledBy=function(){var e=t.getElementById(this.__myParentContainerId);if(e&&!e.getToolbar()&&!e.getTitle()&&!e.getExpandable()){return e.getAriaLabelledBy()}return[]};var r={labelSpan:0,span:0,firstField:false,defaultFields:0,row:0,myRow:false,freeFields:0,finished:false};var s={id:\"XL\",getEffectiveSpan:function(e){var t=e._getEffectiveSpanXLarge();if(!t){t=e._getEffectiveSpanLarge()}return t},getEmptySpan:function(e){var t=e.getEmptySpanXL();if(t<0){t=e.getEmptySpanL()}return t},getLabelSpan:function(e){return e.getLabelSpanXL()},setIndent:function(e,t){e.setIndentXL(t)},setLinebreak:function(e,t){e.setLinebreakXL(t)}};jQuery.extend(s,r);var o={id:\"L\",getEffectiveSpan:function(e){return e._getEffectiveSpanLarge()},getEmptySpan:function(e){return e.getEmptySpanL()},getLabelSpan:function(e){return e.getLabelSpanL()},setIndent:function(e,t){e.setIndentL(t)},setLinebreak:function(e,t){e.setLinebreakL(t)}};jQuery.extend(o,r);var l={id:\"M\",getEffectiveSpan:function(e){return e._getEffectiveSpanMedium()},getEmptySpan:function(e){return e.getEmptySpanM()},getLabelSpan:function(e){return e.getLabelSpanM()},setIndent:function(e,t){e.setIndentM(t)},setLinebreak:function(e,t){e.setLinebreakM(t)}};jQuery.extend(l,r);var f={id:\"S\",getEffectiveSpan:function(e){return e._getEffectiveSpanSmall()},getEmptySpan:function(e){return e.getEmptySpanS()},getLabelSpan:function(e){return e.getLabelSpanS()},setIndent:function(e,t){e.setIndentS(t)},setLinebreak:function(e,t){e.setLinebreakS(t)}};jQuery.extend(f,r);var u=[s,o,l,f];i._getLayoutDataForControl=function(e){var a=this.__myParentLayout;var i=a.getLayoutDataForElement(e,\"sap.ui.layout.GridData\");var n=e.getParent();var d=n.getLabelControl();if(i){if(d==e){i._setStylesInternal(\"sapUiFormElementLbl\")}return i}else{var p=t.getElementById(this.__myParentContainerId);var g=a.getLayoutDataForElement(p,\"sap.ui.layout.GridData\");var m=p.getParent();var y;var h=0;for(h=0;h<u.length;h++){y=u[h];jQuery.extend(y,r);y.labelSpan=y.getLabelSpan(a)}if(a.getAdjustLabelSpan()){if(m.getVisibleFormContainers().length>=1&&a.getColumnsM()>1){l.labelSpan=a.getLabelSpanL()}if(g){if(g._getEffectiveSpanLarge()==12){o.labelSpan=a.getLabelSpanM();l.labelSpan=a.getLabelSpanM()}}if(m.getVisibleFormContainers().length==1||a.getColumnsL()==1){o.labelSpan=a.getLabelSpanM();l.labelSpan=a.getLabelSpanM()}}if(s.labelSpan<0){s.labelSpan=o.labelSpan}if(d==e){a.oDummyLayoutData.setSpan(\"XL\"+s.labelSpan+\" L\"+o.labelSpan+\" M\"+l.labelSpan+\" S\"+f.labelSpan);a.oDummyLayoutData.setLinebreak(true);a.oDummyLayoutData.setIndentXL(0).setIndentL(0).setIndentM(0).setIndentS(0);a.oDummyLayoutData._setStylesInternal(\"sapUiFormElementLbl\");return a.oDummyLayoutData}else{var L;if(d){L=a.getLayoutDataForElement(d,\"sap.ui.layout.GridData\")}var v=n.getFieldsForRendering();var C=v.length;var _;var c;var b=1;var S=false;var D;var F=0;for(h=0;h<u.length;h++){y=u[h];y.span=12-y.getEmptySpan(a);if(d){if(L){D=y.getEffectiveSpan(L);if(D){y.labelSpan=D}}if(y.labelSpan<12){y.span=y.span-y.labelSpan}}y.spanFields=y.span}for(F=0;F<C;F++){_=v[F];if(_!=e){c=a.getLayoutDataForElement(_,\"sap.ui.layout.GridData\");if(c){for(h=0;h<u.length;h++){y=u[h];D=y.getEffectiveSpan(c);if(D&&D<y.span){y.span=y.span-D}}}else{b++}}else{if(b==1){S=true}}}var G=[];for(h=0;h<u.length;h++){y=u[h];y.firstField=S;y.defaultFields=b;if(y.span<b){y.defaultFields=0;y.row=0;y.myRow=false;y.freeFields=y.spanFields;y.span=y.spanFields;y.finished=false;G.push(y)}}if(G.length>0){for(F=0;F<C;F++){_=v[F];c=undefined;if(_!=e){c=a.getLayoutDataForElement(_,\"sap.ui.layout.GridData\")}for(h=0;h<G.length;h++){y=G[h];if(y.finished){continue}if(c){D=y.getEffectiveSpan(c);y.span=y.span-D}else{D=1}if(y.freeFields>=D){y.freeFields=y.freeFields-D;if(!c){y.defaultFields++}}else{if(y.myRow){y.finished=true}else{y.freeFields=y.spanFields-D;y.row++;if(c){y.defaultFields=0;y.span=y.spanFields-D}else{y.defaultFields=1;y.span=y.spanFields}if(_==e){y.firstField=true}}}if(_==e){y.myRow=true}}}}var I=0;var R=\"\";var E;for(h=0;h<u.length;h++){y=u[h];if(y.id!=\"S\"||y.labelSpan<12){if(y.firstField){I=y.span-Math.floor(y.span/y.defaultFields)*y.defaultFields;E=Math.floor(y.span/y.defaultFields)+I}else{E=Math.floor(y.span/y.defaultFields)}}else{E=12}if(R){R=R+\" \"}R=R+y.id+E;y.setLinebreak(a.oDummyLayoutData,y.firstField&&y.row>0);y.setIndent(a.oDummyLayoutData,y.firstField&&y.row>0?y.labelSpan:0)}a.oDummyLayoutData.setSpan(R);a.oDummyLayoutData.setLinebreak(S&&!d);a.oDummyLayoutData._setStylesInternal(undefined);return a.oDummyLayoutData}}};i._onParentResizeOrig=i._onParentResize;i._onParentResize=function(){if(!this.getDomRef()){this._cleanup();return}if(!jQuery(this.getDomRef()).is(\":visible\")){return}var e=this.__myParentLayout;if(!e._mainGrid||!e._mainGrid.__bIsUsed){var t=e.getParent().getVisibleFormContainers()[0];if(!t||!e.mContainers[t.getId()]||t.getId()!=this.__myParentContainerId){return}if(e.mContainers[this.__myParentContainerId][0]){var a=e.mContainers[this.__myParentContainerId][0].getDomRef();var i=a.clientWidth;if(i<=e.getBreakpointM()){this._toggleClass(\"Phone\")}else if(i>e.getBreakpointM()&&i<=e.getBreakpointL()){this._toggleClass(\"Tablet\")}else if(i>e.getBreakpointL()&&i<=e.getBreakpointXL()){this._toggleClass(\"Desktop\")}else{this._toggleClass(\"LargeDesktop\")}}else{this._setBreakPointTablet(e.getBreakpointM());this._setBreakPointDesktop(e.getBreakpointL());this._setBreakPointLargeDesktop(e.getBreakpointXL());this._onParentResizeOrig()}}else{var n=e._mainGrid.$();if(n.hasClass(\"sapUiRespGridMedia-Std-Phone\")){this._toggleClass(\"Phone\")}else if(n.hasClass(\"sapUiRespGridMedia-Std-Tablet\")){this._toggleClass(\"Tablet\")}else if(n.hasClass(\"sapUiRespGridMedia-Std-Desktop\")){this._toggleClass(\"Desktop\")}else{this._toggleClass(\"LargeDesktop\")}}};i._getAccessibleRole=function(){var e=t.getElementById(this.__myParentContainerId);var a=this.__myParentLayout;if(a._mainGrid&&a._mainGrid.__bIsUsed&&!e.getToolbar()&&!e.getTitle()&&!e.getExpandable()&&e.getAriaLabelledBy().length>0){return\"form\"}};i.getUIArea=function(){var e=this.__myParentLayout;if(e){return e.getUIArea()}else{return null}};return i}function L(e,t){if(e.__myParentContainerId){e.__myParentContainerId=undefined}e.__myParentLayout=undefined;if(!t||!e.getParent()){e.destroy()}}function v(e,a){if(a){if(e.__originalGetLayoutData){e.getLayoutData=e.__originalGetLayoutData;delete e.__originalGetLayoutData}}else if(!e.__originalGetLayoutData){e.__originalGetLayoutData=e.getLayoutData;e.getLayoutData=function(){var e=this.__myParentLayout;var a=t.getElementById(this.__myParentContainerId);var i;if(a){i=e.getLayoutDataForElement(a,\"sap.ui.layout.GridData\")}if(i){return i}else{return this.getAggregation(\"layoutData\")}}}}function C(e,a,i,n,s){var o;if(e instanceof p){o=t.getElementById(e.getLayout())}else{o=e.__myParentLayout}var l=o.getLayoutDataForElement(a,\"sap.ui.layout.GridData\");if(!l){var f=o.getColumnsM();var u=o.getColumnsL();var d=o.getColumnsXL();var g=i%u==1;var m=i%u==0;var y=i>u*(Math.ceil(s/u)-1);var h=i<=u;var L=i%f==1;var v=i%f==0;var C=i>f*(Math.ceil(s/f)-1);var _=i<=f;var c=false;var b=m;var S=y;var D=h;if(d>0){c=i%d==1;b=i%d==0;S=i>d*(Math.ceil(s/d)-1);D=i<=d}if(n){var F=o.getLayoutDataForElement(n,\"sap.ui.layout.GridData\");if(F&&(F.getLinebreak()||F.getLinebreakXL())){b=true;S=false}if(F&&(F.getLinebreak()||F.getLinebreakL())){m=true;y=false}if(F&&(F.getLinebreak()||F.getLinebreakM())){v=true;C=false}}var G=\"\";if(b){G=\"sapUiFormResGridLastContXL\"}if(m){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastContL\"}if(v){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastContM\"}if(S){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastRowXL\"}if(y){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastRowL\"}if(C){if(G){G=G+\" \"}G=G+\"sapUiFormResGridLastRowM\"}if(D){if(G){G=G+\" \"}G=G+\"sapUiFormResGridFirstRowXL\"}if(h){if(G){G=G+\" \"}G=G+\"sapUiFormResGridFirstRowL\"}if(_){if(G){G=G+\" \"}G=G+\"sapUiFormResGridFirstRowM\"}l=e.getLayoutData();if(!l){l=new r(e.getId()+\"--LD\",{linebreakL:g,linebreakM:L});e.setLayoutData(l)}else{l.setLinebreakL(g);l.setLinebreakM(L)}if(d>0){l.setLinebreakXL(c)}l._setStylesInternal(G)}}function _(e,t){var a=this.mContainers[e];var i=a[1];if(i){L(i,t)}var n=a[0];if(n){y(n,t)}delete this.mContainers[e]}function c(e){var a=e.getVisibleFormContainers();var i;var r;var s=a.length;var o=0;var l=0;var f=0;if(s>1||!this.getSingleContainerFullSize()){var u=Math.floor(12/this.getColumnsM());var d=Math.floor(12/this.getColumnsL());var p;var g=\"\";var m=this.getColumnsXL();if(m>=0){p=Math.floor(12/m);g=g+\"XL\"+p+\" \"}g=g+\"L\"+d+\" M\"+u+\" S12\";if(!this._mainGrid){this._mainGrid=new n(e.getId()+\"--Grid\",{defaultSpan:g,hSpacing:0,vSpacing:0,containerQuery:true}).setParent(this);this._mainGrid.addStyleClass(\"sapUiFormResGridMain\").addStyleClass(\"sapUiRespGridOverflowHidden\");this._mainGrid._onParentResizeOrig=this._mainGrid._onParentResize;this._mainGrid._onParentResize=function(){this._onParentResizeOrig();var e=this.getParent();for(var t in e.mContainers){e.mContainers[t][1]._onParentResize()}}}else{this._mainGrid.setDefaultSpan(g);var y=this._mainGrid.getContent();o=y.length;var h=false;for(l=0;l<o;l++){var L=y[l];i=undefined;if(L.getContainer){i=t.getElementById(L.getContainer())}else{i=t.getElementById(L.__myParentContainerId)}if(i&&i.isVisible()){var v=a[f];if(i!=v){h=true;break}var C=this.mContainers[i.getId()];if(C[0]&&C[0]!=L){h=true;break}if(!C[0]&&C[1]&&C[1]!=L){h=true;break}f++}else{this._mainGrid.removeContent(L)}}if(h){this._mainGrid.removeAllContent();o=0}}this._mainGrid._setBreakPointTablet(this.getBreakpointM());this._mainGrid._setBreakPointDesktop(this.getBreakpointL());this._mainGrid._setBreakPointLargeDesktop(this.getBreakpointXL());this._mainGrid.__bIsUsed=true;if(o<s){var _=0;if(o>0){_=o--}for(l=_;l<s;l++){i=a[l];r=i.getId();if(this.mContainers[r]){if(this.mContainers[r][0]){this._mainGrid.addContent(this.mContainers[r][0])}else if(this.mContainers[r][1]){this._mainGrid.addContent(this.mContainers[r][1])}}}}}else{if(this._mainGrid){this._mainGrid.__bIsUsed=false}for(l=0;l<s;l++){i=a[l];r=i.getId();if(this.mContainers[r]){if(this.mContainers[r][0]){if(this.mContainers[r][0].getParent()!==this){this.addDependent(this.mContainers[r][0])}}else if(this.mContainers[r][1]){if(this.mContainers[r][1].getParent()!==this){this.addDependent(this.mContainers[r][1])}}}}}}d.prototype.getLayoutDataForDelimiter=function(){return new r({spanS:1,spanM:1,spanL:1,spanXL:1})};d.prototype.getLayoutDataForSemanticField=function(e,t,a){var i=8-(e-1);i=Math.floor(i/e);if(e===t){i=i+8-(e-1+e*i)}if(a){if(a.isA(\"sap.ui.layout.GridData\")){a.setSpanS(11).setSpanM(i).setSpanL(i).setSpanXL(i);return a}else{a.destroy()}}return new r({spanS:11,spanM:i,spanL:i,spanXL:i})};return d});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ResponsiveGridLayoutRenderer\", [\"sap/ui/core/Renderer\",\"./FormLayoutRenderer\"],function(e,r){\"use strict\";var n=e.extend(r);n.apiVersion=2;n.getMainClass=function(){return\"sapUiFormResGrid\"};n.renderContainers=function(e,r,n){var i=n.getVisibleFormContainers();var t=i.length;if(t>0){if(t>1||!r.getSingleContainerFullSize()){e.renderControl(r._mainGrid)}else if(r.mContainers[i[0].getId()][0]){e.renderControl(r.mContainers[i[0].getId()][0])}else{e.renderControl(r.mContainers[i[0].getId()][1])}}};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ResponsiveLayout\", [\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/layout/library\",\"sap/ui/layout/ResponsiveFlowLayout\",\"sap/ui/layout/ResponsiveFlowLayoutData\",\"./Form\",\"./FormContainer\",\"./FormElement\",\"./FormLayout\",\"./ResponsiveLayoutRenderer\"],function(t,e,a,n,i,r,o,s,l,u){\"use strict\";var f=l.extend(\"sap.ui.layout.form.ResponsiveLayout\",{metadata:{library:\"sap.ui.layout\"},renderer:u});var d=t.extend(\"sap.ui.layout.form.ResponsiveLayoutPanel\",{metadata:{library:\"sap.ui.layout\",aggregations:{content:{type:\"sap.ui.layout.ResponsiveFlowLayout\",multiple:false}},associations:{container:{type:\"sap.ui.layout.form.FormContainer\",multiple:false},layout:{type:\"sap.ui.layout.form.ResponsiveLayout\",multiple:false}}},getLayoutData:function(){var t=e.getElementById(this.getContainer());var a=e.getElementById(this.getLayout());var n;if(a&&t){n=a.getLayoutDataForElement(t,\"sap.ui.layout.ResponsiveFlowLayoutData\")}return n},getCustomData:function(){var t=e.getElementById(this.getContainer());if(t){return t.getCustomData()}},refreshExpanded:function(){var t=e.getElementById(this.getContainer());if(t){if(t.getExpanded()){this.$().removeClass(\"sapUiRLContainerColl\")}else{this.$().addClass(\"sapUiRLContainerColl\")}}},renderer:{apiVersion:2,render:function(t,a){var n=e.getElementById(a.getContainer());var i=e.getElementById(a.getLayout());var r=a.getContent();if(!n||!i){return}var o=n.getExpandable();var s=n.getTooltip_AsString();var l=n.getToolbar();var u=n.getTitle();t.openStart(\"div\",a);t.class(\"sapUiRLContainer\");if(o&&!n.getExpanded()){t.class(\"sapUiRLContainerColl\")}if(l){t.class(\"sapUiFormContainerToolbar\")}else if(u){t.class(\"sapUiFormContainerTitle\")}if(s){t.attr(\"title\",s)}i.getRenderer().writeAccessibilityStateContainer(t,n,\"form\");t.openEnd();i.getRenderer().renderHeader(t,l,u,n._oExpandButton,o,i._sFormSubTitleSize,n.getId());if(r){t.openStart(\"div\");t.class(\"sapUiRLContainerCont\");t.openEnd();t.renderControl(r);t.close(\"div\")}t.close(\"div\")}}});f.prototype.init=function(){l.prototype.init.apply(this,arguments);this.mContainers={};this._defaultLayoutData=new i({margin:false})};f.prototype.exit=function(){for(var t in this.mContainers){_.call(this,t)}if(this._mainRFLayout){this._mainRFLayout.destroy();delete this._mainRFLayout}this._defaultLayoutData.destroy();delete this._defaultLayoutData};f.prototype.onBeforeRendering=function(t){l.prototype.onBeforeRendering.apply(this,arguments);var e=this.getParent();if(!e||!(e instanceof r)){return}e._bNoInvalidate=true;m.call(this,e);I.call(this,e);e._bNoInvalidate=false};f.prototype.toggleContainerExpanded=function(t){var e=t.getId();if(this.mContainers[e]&&this.mContainers[e][0]){var a=this.mContainers[e][0];a.refreshExpanded()}};f.prototype.onLayoutDataChange=function(t){var e=t.srcControl;var a;var n;var i;if(e instanceof o){if(this._mainRFLayout){this._mainRFLayout.onLayoutDataChange(t)}}else if(e instanceof s){n=e.getParent().getId();if(this.mContainers[n]&&this.mContainers[n][1]){this.mContainers[n][1].onLayoutDataChange(t)}}else{var r=e.getParent();if(r instanceof s){a=r.getParent();n=a.getId();i=r.getId();if(this.mContainers[n]&&this.mContainers[n][2]&&this.mContainers[n][2][i]){if(this.mContainers[n][2][i][1]){var l=r.getFieldsForRendering();p.call(this,this.mContainers[n][2][i][1],l)}this.mContainers[n][2][i][0].onLayoutDataChange(t)}}}};f.prototype.onsapup=function(t){this.onsapleft(t)};f.prototype.onsapdown=function(t){this.onsapright(t)};f.prototype.getContainerRenderedDomRef=function(t){if(this.getDomRef()){var e=t.getId();if(this.mContainers[e]){if(this.mContainers[e][0]){var a=this.mContainers[e][0];return a.getDomRef()}else if(this.mContainers[e][1]){var n=this.mContainers[e][1];return n.getDomRef()}}}return null};f.prototype.getElementRenderedDomRef=function(t){if(this.getDomRef()){var e=t.getParent();var a=t.getId();var n=e.getId();if(this.mContainers[n]){if(this.mContainers[n][2]){var i=this.mContainers[n][2];if(i[a]){var r=i[a][0];return r.getDomRef()}}}}return null};function m(t){var e=t.getVisibleFormContainers();var a=e.length;var n;var i;var r;var o;var s=0;for(s=0;s<a;s++){n=e[s];n._checkProperties();i=n.getId();r=undefined;o=undefined;if(this.mContainers[i]&&this.mContainers[i][1]){o=this.mContainers[i][1]}else{o=h.call(this,n,undefined)}var l=n.getTitle();var u=n.getToolbar();if(u||l||n.getExpandable()){if(this.mContainers[i]&&this.mContainers[i][0]){r=this.mContainers[i][0]}else{r=y.call(this,n,o);C(o,true)}o.removeStyleClass(\"sapUiRLContainer\")}else{if(this.mContainers[i]&&this.mContainers[i][0]){g(this.mContainers[i][0]);C(o,false)}o.addStyleClass(\"sapUiRLContainer\")}var f=v.call(this,n,o);this.mContainers[i]=[r,o,f]}var d=Object.keys(this.mContainers).length;if(a<d){for(i in this.mContainers){var m=false;for(s=0;s<a;s++){n=e[s];if(i==n.getId()){m=true;break}}if(!m){_.call(this,i)}}}}function y(t,e){var a=t.getId();var n=new d(a+\"--Panel\",{container:t,layout:this,content:e});return n}function g(t){t.setContent(null);t.setLayout(null);t.setContainer(null);t.destroy()}function v(t,e){var a=t.getId();var n=t.getVisibleFormElements();var i=n.length;var r={};if(this.mContainers[a]&&this.mContainers[a][2]){r=this.mContainers[a][2]}var o;var s;var l=-1;var u;var f;var d=0;for(d=0;d<i;d++){u=n[d];f=u.getId();c.call(this,t,u,r,e,d);if(r[f]){o=r[f][0];l=e.indexOfContent(o);if(l!=i){e.removeContent(o);e.insertContent(o,i);l=i}}else{o=h.call(this,t,u);o.addStyleClass(\"sapUiRLElement\");if(u.getLabel()){o.addStyleClass(\"sapUiRLElementWithLabel\")}r[f]=[o,undefined];l++;e.insertContent(o,l)}var m=u.getFieldsForRendering();if(u.getLabel()&&m.length>1){if(r[f][1]){s=r[f][1]}else{s=h.call(this,t,u,true);s.addStyleClass(\"sapUiRLElementFields\");r[f][1]=s}p.call(this,s,m)}else{if(r[f][1]){s=r[f][1];L(s);r[f][1]=undefined}}}var y=Object.keys(r).length;if(i<y){for(f in r){var g=false;for(d=0;d<i;d++){u=n[d];if(f==u.getId()){g=true;break}}if(!g){if(r[f][1]){s=r[f][1];L(s)}o=r[f][0];e.removeContent(o);L(o);delete r[f]}}}return r}function h(t,a,r){var o;if(a&&!r){o=a.getId()+\"--RFLayout\"}else if(a&&r){o=a.getId()+\"--content--RFLayout\"}else if(t){o=t.getId()+\"--RFLayout\"}else{return false}var s=new n(o);s.__myParentLayout=this;s.__myParentContainerId=t.getId();if(a){s.__myParentElementId=a.getId();if(!r){s.getContent=function(){var t=e.getElementById(this.__myParentElementId);if(t){var a=[];var n=t.getLabelControl();var i=t.getFieldsForRendering();if(!n||i.length<=1){a=i;if(n){a.unshift(n)}}else{var r=this.__myParentLayout;var o=this.__myParentContainerId;var s=t.getId();if(n){a.push(n)}if(r.mContainers[o]&&r.mContainers[o][2]&&r.mContainers[o][2][s]&&r.mContainers[o][2][s][1]){a.push(r.mContainers[o][2][s][1])}}return a}else{return false}};s._addContentClass=function(t,a){if(a==0){var n=e.getElementById(this.__myParentElementId);if(n){var i=n.getLabelControl();if(t==i){return\"sapUiFormElementLbl\"}}}return null}}else{s.getContent=function(){var t=e.getElementById(this.__myParentElementId);if(t){return t.getFieldsForRendering()}else{return false}}}}else if(t){s._getAccessibleRole=function(){var t=e.getElementById(this.__myParentContainerId);var a=this.__myParentLayout;if(a._mainRFLayout&&!t.getToolbar()&&!t.getTitle()&&!t.getExpandable()&&t.getAriaLabelledBy().length>0){return\"form\"}};s.getAriaLabelledBy=function(){var t=e.getElementById(this.__myParentContainerId);if(t&&!t.getToolbar()&&!t.getTitle()&&!t.getExpandable()){return t.getAriaLabelledBy()}return[]}}if(a&&!r||!a&&!t.getToolbar()&&!t.getTitle()&&!t.getExpandable()){C(s,false)}else{s.setLayoutData(new i({margin:false}))}return s}function C(t,a){if(a){if(t.__originalGetLayoutData){t.getLayoutData=t.__originalGetLayoutData;delete t.__originalGetLayoutData}}else if(!t.__originalGetLayoutData){t.__originalGetLayoutData=t.getLayoutData;t.getLayoutData=function(){var t=this.__myParentLayout;var a=e.getElementById(this.__myParentContainerId);var n=e.getElementById(this.__myParentElementId);var i;if(n){i=t.getLayoutDataForElement(n,\"sap.ui.layout.ResponsiveFlowLayoutData\")}else if(a){i=t.getLayoutDataForElement(a,\"sap.ui.layout.ResponsiveFlowLayoutData\")}if(i){return i}else if(n){return t._defaultLayoutData}}}}function p(t,e){var a;var n=0;for(var r=0;r<e.length;r++){var o=e[r];a=this.getLayoutDataForElement(o,\"sap.ui.layout.ResponsiveFlowLayoutData\");if(a){n=n+a.getWeight()}else{n++}}a=t.getLayoutData();if(a){a.setWeight(n)}else{t.setLayoutData(new i({weight:n}))}}function L(t){if(t.__myParentContainerId){t.__myParentContainerId=undefined}if(t.__myParentElementId){t.__myParentElementId=undefined}t.__myParentLayout=undefined;t.destroy()}function _(t){var e=this.mContainers[t];var a;var n=e[2];if(n){for(var i in n){if(n[i][1]){L(n[i][1])}a=n[i][0];L(a);delete n[i]}}a=e[1];if(a){a.removeAllContent();L(a)}var r=e[0];if(r){g(r)}delete this.mContainers[t]}function c(t,a,n,i,r){var o=a.getId();var s=o+\"--RFLayout\";var l=e.getElementById(s);if(!n[o]&&l){var u=l.__myParentContainerId;n[o]=this.mContainers[u][2][o];i.insertContent(l,r);l.__myParentContainerId=t.getId();if(n[o][1]){n[o][1].__myParentContainerId=t.getId()}delete this.mContainers[u][2][o]}}function I(t){var a=t.getVisibleFormContainers();var i;var r=a.length;var o=0;var s=0;var l=0;if(r>1){if(!this._mainRFLayout){this._mainRFLayout=new n(t.getId()+\"--RFLayout\").setParent(this)}else{var u=this._mainRFLayout.getContent();o=u.length;var f=false;for(s=0;s<o;s++){var d=u[s];i=undefined;if(d.getContainer){i=e.getElementById(d.getContainer())}else{i=e.getElementById(d.__myParentContainerId)}if(i&&i.isVisible()){var m=a[l];if(i!=m){f=true;break}var y=this.mContainers[i.getId()];if(y[0]&&y[0]!=d){f=true;break}if(!y[0]&&y[1]&&y[1]!=d){f=true;break}l++}else{this._mainRFLayout.removeContent(d)}}if(f){this._mainRFLayout.removeAllContent();o=0}}if(o<r){var g=0;if(o>0){g=o--}for(s=g;s<r;s++){i=a[s];var v=i.getId();if(this.mContainers[v]){if(this.mContainers[v][0]){this._mainRFLayout.addContent(this.mContainers[v][0])}else if(this.mContainers[v][1]){this._mainRFLayout.addContent(this.mContainers[v][1])}}}}}}return f});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ResponsiveLayoutRenderer\", [\"sap/ui/core/Renderer\",\"./FormLayoutRenderer\"],function(e,r){\"use strict\";var n=e.extend(r);n.apiVersion=2;n.getMainClass=function(){return\"sapUiFormResLayout\"};n.renderContainers=function(e,r,n){var t=n.getVisibleFormContainers();var i=t.length;if(i>0){if(i>1){e.renderControl(r._mainRFLayout)}else if(r.mContainers[t[0].getId()][0]){e.renderControl(r.mContainers[t[0].getId()][0])}else{e.renderControl(r.mContainers[t[0].getId()][1])}}};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/SemanticFormElement\", [\"./FormElement\",\"./FormHelper\"],function(e,t){\"use strict\";var i=e.extend(\"sap.ui.layout.form.SemanticFormElement\",{metadata:{library:\"sap.ui.layout\",properties:{delimiter:{type:\"string\",group:\"Data\",defaultValue:\"/\"}},aggregations:{fieldLabels:{type:\"sap.ui.core.Label\",multiple:true},_delimiters:{type:\"sap.ui.core.Control\",multiple:true,visibility:\"hidden\"},_displayField:{type:\"sap.ui.core.Control\",multiple:false,visibility:\"hidden\"}}}});i.prototype.init=function(){e.prototype.init.apply(this,arguments);this._oObserver.observe(this,{properties:[\"_editable\",\"delimiter\"],aggregations:[\"fieldLabels\"],parent:true})};i.prototype.exit=function(){e.prototype.exit.apply(this,arguments)};i.prototype.enhanceAccessibilityState=function(t,i){var a=this.getAggregation(\"delimiters\",[]);if(a.indexOf(t)<0){if(!m.call(this)){var r=this.indexOfField(t);if(r>=0){var l=this.getFieldLabels();var s=l[r];if(s){var o;if(typeof s===\"string\"){o=s}else{o=s.getText()}var n=i[\"label\"];if(!n){n=o}else{n=n+\" \"+o}i[\"label\"]=n;var g=i[\"labelledby\"];if(g){s=this.getLabelControl();var h=g.split(\" \");r=h.indexOf(s.getId());if(r>=0){h.splice(r,1);g=h.join(\" \")}i[\"labelledby\"]=g}return i}}}}e.prototype.enhanceAccessibilityState.apply(this,arguments)};i.prototype.onLayoutDataChange=function(t){var i=t.srcControl;var a=i.getLayoutData();if(!a||!a._bSetBySemanticFormElement){d.call(this)}e.prototype.onLayoutDataChange.apply(this,arguments)};i.prototype.getFieldsForRendering=function(){var e=[];if(!this._bLayoutDataCreated){d.call(this)}if(!m.call(this)){if(this.getAggregation(\"_displayField\")){this.destroyAggregation(\"_displayField\");g.call(this)}var t=this.getFields();var i=this.getAggregation(\"_delimiters\",[]);for(var a=0;a<t.length;a++){var r=t[a];if(r.getVisible()){if(e.length>0&&i[a-1]){e.push(i[a-1])}e.push(r)}}}else{if(!this.getAggregation(\"_displayField\")){this.destroyAggregation(\"_delimiters\");this._bLayoutDataCreated=false;f.call(this)}var l=this.getAggregation(\"_displayField\");if(l){e.push(l)}}return e};i.prototype._observeChanges=function(t){e.prototype._observeChanges.apply(this,arguments);if(t.object===this){if(t.type===\"parent\"){y.call(this,t.mutation,t.parent)}else if(t.name===\"fields\"){r.call(this,t.child,t.mutation)}else if(t.name===\"_editable\"){a.call(this,t.current)}else if(t.name===\"delimiter\"){l.call(this,t.current)}else if(t.name===\"fieldLabels\"){s.call(this,t.mutation,t.child)}}else{if(t.type===\"parent\"){y.call(this,t.mutation,t.parent)}else if(t.name===\"layout\"){v.call(this,t.child,t.mutation)}else if(t.object.isA(\"sap.ui.core.Label\")){n.call(this,t)}else{o.call(this,t)}}};function a(e){if(e){this.destroyAggregation(\"_displayField\");g.call(this)}else if(m.call(this)){this.destroyAggregation(\"_delimiters\");this._bLayoutDataCreated=false;f.call(this)}else{g.call(this)}}function r(e,t){if(t===\"insert\"){if(!e.isA(\"sap.ui.core.IFormContent\")||!e.isA(\"sap.ui.core.ISemanticFormContent\")){throw new Error(e+\" is not valid Form content. \"+this)}var i=[\"visible\"];if(e.getFormObservingProperties){i=i.concat(e.getFormObservingProperties())}if(e.getFormValueProperty){if(i.indexOf(e.getFormValueProperty())===-1){i.push(e.getFormValueProperty())}}else if(e.getMetadata().getProperty(\"value\")){i.push(\"value\")}else if(e.getMetadata().getProperty(\"text\")){i.push(\"text\")}this._oObserver.observe(e,{properties:i})}else{var a=e.getLayoutData();if(a&&a._bSetBySemanticFormElement){a.destroy()}}if(!m.call(this)){g.call(this)}else{f.call(this,true)}p.call(this)}function l(e){if(!m.call(this)){g.call(this)}else{u.call(this,false)}p.call(this)}function s(e,t){if(typeof t!==\"string\"){if(e===\"insert\"){this._oObserver.observe(t,{properties:[\"text\"]})}else{this._oObserver.unobserve(t)}}p.call(this)}function o(e){var t=e.object.getFormValueProperty?e.object.getFormValueProperty():null;var i=e.object.getFormObservingProperties?e.object.getFormObservingProperties():[];if(e.name===t||e.name===\"value\"||e.name===\"text\"){if(m.call(this)){u.call(this,false)}}else if(e.name===\"visible\"||i.indexOf(e.name)>=0){if(!m.call(this)){g.call(this)}else{f.call(this,true)}p.call(this);this.invalidate()}}function n(e){p.call(this)}function g(){if(this._oInitPromise){this._oInitPromise.then(function(){delete this._oInitPromise;if(!m.call(this)){g.call(this)}}.bind(this));return}var e=this.getFields();var i=this.getAggregation(\"_delimiters\",[]);var a=this.getDelimiter();var r=this.getId()+\"-delimiter-\";var l=0;if(!this._getEditable()){a=\" \"+a+\" \"}for(l=0;l<e.length;l++){if(l<e.length-1){if(i.length>l){t.updateDelimiter(i[l],a)}else{var s=t.createDelimiter(a,r+l);s.addStyleClass(\"sapUiFormDelimiter\");this.addAggregation(\"_delimiters\",s)}}}if(i.length>0&&i.length>e.length-1){for(l=e.length-1;l<i.length;l++){i[l].destroy()}}d.call(this)}var h={onBeforeRendering:function(){u.call(this,true)}};function f(e){if(this._oInitPromise){this._oInitPromise.then(function(){delete this._oInitPromise;if(m.call(this)){f.call(this)}}.bind(this));return}var i=this.getAggregation(\"_displayField\");if(i){u.call(this,false)}else{var a=this.getId()+\"-display\";i=t.createSemanticDisplayControl(\"\",a);i.addDelegate(h,true,this);this.setAggregation(\"_displayField\",i)}}function u(e){var i=this.getAggregation(\"_displayField\");if(i&&(i.getDomRef()||e)){if(e&&i._bNoForceUpdate){i._bNoForceUpdate=false;return}var a=this.getFields();var r=[];var l=false;for(var s=0;s<a.length;s++){var o=a[s];if(o.getVisible()){var n=o.getFormValueProperty?o.getFormValueProperty():null;var g;if(o.getFormFormattedValue){g=o.getFormFormattedValue();if(g instanceof Promise){l=true}}else if(n){g=o.getProperty(n)}else if(o.getMetadata().getProperty(\"value\")){g=o.getValue()}else if(o.getMetadata().getProperty(\"text\")){g=o.getText()}r.push(g)}}i._bNoForceUpdate=true;if(l){Promise.all(r).then(function(e){var i=this.getAggregation(\"_displayField\");var a=c.call(this,e);i._bNoForceUpdate=true;t.updateSemanticDisplayControl(i,a)}.bind(this))}else{var h=c.call(this,r);t.updateSemanticDisplayControl(i,h)}}else if(i&&i._bNoForceUpdate){i._bNoForceUpdate=false}}function c(e){var t=this.getDelimiter();var i=\"\";for(var a=0;a<e.length;a++){i=i+e[a];if(a<e.length-1){i=i+\" \"+t+\" \"}}return i}function p(){if(!this.getLabel()){if(this._oInitPromise){this._oInitPromise.then(function(){delete this._oInitPromise;p.call(this)}.bind(this));return}var e=this.getFieldLabels();var t=this.getFields();var i=[];for(var a=0;a<e.length;a++){if(t[a]&&t[a].getVisible()){var r=e[a];if(typeof r===\"string\"){i.push(r)}else{i.push(r.getText())}}}var l=c.call(this,i);this._setInternalLabel(l)}}function d(){var e=this.getFields().filter(function(e){return e.getVisible()});var t=this.getAggregation(\"_delimiters\",[]);var i=this.getParent();var a=i&&i.getParent();var r=a&&a.getLayout();var l;var s=0;if(!r||!r.getLayoutDataForDelimiter){return}if(this._getEditable()){for(s=0;s<t.length;s++){var o=t[s];if(!o.getLayoutData()){l=r.getLayoutDataForDelimiter();if(l){if(l instanceof Promise){l.then(function(e){e._bSetBySemanticFormElement=true;this.setLayoutData(e)}.bind(o))}else if(l.isA(\"sap.ui.core.LayoutData\")){l._bSetBySemanticFormElement=true;o.setLayoutData(l)}}}}if(e.length>1){for(s=0;s<e.length;s++){var n=e[s];l=n.getLayoutData();if(!l||l._bSetBySemanticFormElement){l=r.getLayoutDataForSemanticField(e.length,s+1,l);if(l){if(l instanceof Promise){l.then(function(e){e._bSetBySemanticFormElement=true;this.setLayoutData(e)}.bind(n))}else if(l.isA(\"sap.ui.core.LayoutData\")&&!l._bSetBySemanticFormElement){l._bSetBySemanticFormElement=true;n.setLayoutData(l)}}}}}this._bLayoutDataCreated=true}}function m(){if(this._getEditable()){return false}else{var e=this.getFields();var t=true;for(var i=0;i<e.length;i++){if(!e[i].getFormRenderAsControl||!e[i].getFormRenderAsControl()){t=false;break}}var a=this.getParent();var r=a&&a.getParent();var l=r&&r.getLayout();var s=l?l.renderControlsForSemanticElement():true;return!(t&&s)}}function y(e,t){var i;if(e===\"set\"){var a;if(t.isA(\"sap.ui.layout.form.FormContainer\")){this._oObserver.observe(t,{parent:true});a=t.getParent()}else if(t.isA(\"sap.ui.layout.form.Form\")){this._oObserver.observe(t,{aggregations:[\"layout\"]});a=t}i=a&&a.getLayout()}else if(t.isA(\"sap.ui.layout.form.FormContainer\")||t.isA(\"sap.ui.layout.form.Form\")){this._oObserver.unobserve(t)}if(i){v.call(this,i)}}function v(e,t){a.call(this,this._getEditable());d.call(this)}return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/SimpleForm\", [\"sap/ui/core/Control\",\"sap/ui/base/ManagedObjectObserver\",\"sap/ui/core/Element\",\"sap/ui/layout/library\",\"./Form\",\"./FormContainer\",\"./FormElement\",\"./FormLayout\",\"./SimpleFormRenderer\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\"],function(e,t,a,i,s,r,n,o,l,u,jQuery){\"use strict\";var h=i.BackgroundDesign;var g=i.form.SimpleFormLayout;var f;var d;var y;var p;var m;var v;var c;var L;var b=e.extend(\"sap.ui.layout.form.SimpleForm\",{metadata:{library:\"sap.ui.layout\",properties:{maxContainerCols:{type:\"int\",group:\"Appearance\",defaultValue:2},minWidth:{type:\"int\",group:\"Appearance\",defaultValue:-1},width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},editable:{type:\"boolean\",group:\"Misc\",defaultValue:false},labelMinWidth:{type:\"int\",group:\"Misc\",defaultValue:192},layout:{type:\"sap.ui.layout.form.SimpleFormLayout\",group:\"Misc\",defaultValue:g.ResponsiveGridLayout},labelSpanXL:{type:\"int\",group:\"Misc\",defaultValue:-1},labelSpanL:{type:\"int\",group:\"Misc\",defaultValue:4},labelSpanM:{type:\"int\",group:\"Misc\",defaultValue:2},labelSpanS:{type:\"int\",group:\"Misc\",defaultValue:12},adjustLabelSpan:{type:\"boolean\",group:\"Misc\",defaultValue:true},emptySpanXL:{type:\"int\",group:\"Misc\",defaultValue:-1},emptySpanL:{type:\"int\",group:\"Misc\",defaultValue:0},emptySpanM:{type:\"int\",group:\"Misc\",defaultValue:0},emptySpanS:{type:\"int\",group:\"Misc\",defaultValue:0},columnsXL:{type:\"int\",group:\"Misc\",defaultValue:-1},columnsL:{type:\"int\",group:\"Misc\",defaultValue:2},columnsM:{type:\"int\",group:\"Misc\",defaultValue:1},singleContainerFullSize:{type:\"boolean\",group:\"Misc\",defaultValue:true},breakpointXL:{type:\"int\",group:\"Misc\",defaultValue:1440},breakpointL:{type:\"int\",group:\"Misc\",defaultValue:1024},breakpointM:{type:\"int\",group:\"Misc\",defaultValue:600},backgroundDesign:{type:\"sap.ui.layout.BackgroundDesign\",group:\"Appearance\",defaultValue:h.Translucent}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Element\",multiple:true,singularName:\"content\"},form:{type:\"sap.ui.layout.form.Form\",multiple:false,visibility:\"hidden\"},title:{type:\"sap.ui.core.Title\",altTypes:[\"string\"],multiple:false},toolbar:{type:\"sap.ui.core.Toolbar\",multiple:false,forwarding:{idSuffix:\"--Form\",aggregation:\"toolbar\"}}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},designtime:\"sap/ui/layout/designtime/form/SimpleForm.designtime\"},renderer:l});b.prototype.init=function(){this._iMaxWeight=8;this._iLabelWeight=3;this._iCurrentWidth=0;var e=new s(this.getId()+\"--Form\");e.getTitle=function(){return this.getParent().getTitle()};e._origInvalidate=e.invalidate;e.invalidate=function(e){if(this.bOutput){this._origInvalidate(e)}if(this._bIsBeingDestroyed){return}var t=this.getParent();if(t){t._formInvalidated(e)}};e.getAriaLabelledBy=function(){var e=this.getParent();if(e){return e.getAriaLabelledBy()}else{return null}};e._origOnLayoutDataChange=e.onLayoutDataChange;e.onLayoutDataChange=function(e){this._origOnLayoutDataChange(e);var t=this.getParent();if(t){t._onLayoutDataChange(e)}};this.setAggregation(\"form\",e);this._aElements=null;this._aLayouts=[];this._changedFormContainers=[];this._changedFormElements=[];this._oObserver=new t(N.bind(this))};b.prototype.exit=function(){var e=this.getAggregation(\"form\");e.invalidate=e._origInvalidate;j.call(this);for(var t=0;t<this._aLayouts.length;t++){var i=a.getElementById(this._aLayouts[t]);if(i&&i.destroy){i.destroy()}}this._aLayouts=[];this._aElements=null;this._changedFormContainers=[];this._changedFormElements=[];this._oObserver.disconnect();this._oObserver=undefined};b.prototype.onBeforeRendering=function(){j.call(this);var e=this.getAggregation(\"form\");var t=this.getLayout();if(!this._bResponsiveLayoutRequested&&t===g.ResponsiveLayout||!this._bGridLayoutRequested&&t===g.GridLayout||!this._bResponsiveGridLayoutRequested&&t===g.ResponsiveGridLayout||!this._bColumnLayoutRequested&&t===g.ColumnLayout){var a=true;if(!e.getLayout()){a=_.call(this)}if(a){A.call(this)}}};b.prototype.onAfterRendering=function(){if(this.getLayout()==g.ResponsiveLayout){this._bChangedByMe=true;this.$().css(\"visibility\",\"hidden\");this._applyLinebreaks();if(!this._bResponsiveLayoutRequested&&L){this._sResizeListenerId=L.register(this.getDomRef(),jQuery.proxy(this._resize,this))}this._bChangedByMe=false}};b.prototype.setEditable=function(e){this._bChangedByMe=true;this.setProperty(\"editable\",e,true);var t=this.getAggregation(\"form\");t.setEditable(e);this._bChangedByMe=false;return this};b.prototype.setToolbar=function(e){this._bChangedByMe=true;this.setAggregation(\"toolbar\",e);this._bChangedByMe=false;return this};b.prototype.destroyToolbar=function(){this._bChangedByMe=true;this.destroyAggregation(\"toolbar\");this._bChangedByMe=false;return this};b.prototype.setLabelMinWidth=function(e){this.setProperty(\"labelMinWidth\",e,true);if(this.getLayout()==g.ResponsiveLayout){this._bLayoutDataChangedByMe=true;var t=this.getContent();for(var a=0;a<t.length;a++){var i=t[a];if(i.isA(\"sap.ui.core.Label\")){var s=w.call(this,i);if(s&&s.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&S.call(this,s)){s.setMinWidth(e)}}}this._bLayoutDataChangedByMe=false}return this};b.prototype.indexOfContent=function(e){var t=this._aElements;if(t){for(var a=0;a<t.length;a++){if(t[a]==e){return a}}}return-1};b.prototype.addContent=function(e){e=this.validateAggregation(\"content\",e,true);if(this.indexOfContent(e)>=0){u.warning(\"SimpleForm.addContent: Content element '\"+e+\"' already assigned. Please remove before adding!\",this);this.removeContent(e)}if(!this._aElements){this._aElements=[]}this._bChangedByMe=true;var t=this._aElements.length;var a;var i=this.getAggregation(\"form\");var s;var o;var l;var h;var f=this.getLayout();if(e.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){s=W.call(this,e);i.addFormContainer(s);this._changedFormContainers.push(s)}else if(e.isA(\"sap.ui.core.Label\")){if(t>0){a=this._aElements[t-1];l=a.getParent();if(l instanceof n){s=l.getParent()}else if(l instanceof r){s=l}}if(!s){s=W.call(this);i.addFormContainer(s);this._changedFormContainers.push(s)}o=O.call(this,s,e)}else{if(t>0){a=this._aElements[t-1];l=a.getParent();if(l instanceof n){s=l.getParent();o=l;h=w.call(this,e);if(h&&h.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&f===g.ResponsiveLayout&&!S.call(this,h)&&h.getLinebreak()){o=O.call(this,s)}}else if(l instanceof r){s=l;o=O.call(this,s)}}else{s=W.call(this);i.addFormContainer(s);this._changedFormContainers.push(s);o=O.call(this,s)}T.call(this,e,5,false,true);o.addField(e);H(this._changedFormElements,o)}this._aElements.push(e);this._oObserver.observe(e,{properties:[\"visible\"]});this.invalidate();this._bChangedByMe=false;return this};b.prototype.insertContent=function(e,t){e=this.validateAggregation(\"content\",e,true);if(this.indexOfContent(e)>=0){u.warning(\"SimpleForm.insertContent: Content element '\"+e+\"' already assigned. Please remove before insert!\",this);this.removeContent(e)}if(!this._aElements){this._aElements=[]}var a=this._aElements.length;var i;if(t<0){i=0}else if(t>a){i=a}else{i=t}if(i!==t){u.warning(\"SimpleForm.insertContent: index '\"+t+\"' out of range [0,\"+a+\"], forced to \"+i)}if(i==a){this.addContent(e);return this}this._bChangedByMe=true;var s=this._aElements[i];var r=this.getAggregation(\"form\");var n;var o;var l;var h;var f;var d=0;var y;var p;var m;var v;var c=0;var L;var b;var _=this.getLayout();if(e.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){n=W.call(this,e);if(t==0&&!s.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){l=s.getParent().getParent();m=l.getFormElements();for(c=0;c<m.length;c++){n.addFormElement(m[c])}l.destroy();f=0}else if(s.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){l=s.getParent();f=r.indexOfFormContainer(l)}else{h=s.getParent();l=h.getParent();f=r.indexOfFormContainer(l)+1;d=l.indexOfFormElement(h);if(!s.isA(\"sap.ui.core.Label\")){y=h.indexOfField(s);if(y>0||h.getLabel()){o=O.call(this,n);this._changedFormElements.push(o);H(this._changedFormElements,h);p=h.getFields();for(c=y;c<p.length;c++){L=p[c];o.addField(L)}d++}}m=l.getFormElements();for(c=d;c<m.length;c++){n.addFormElement(m[c])}}r.insertFormContainer(n,f);this._changedFormContainers.push(n)}else if(e.isA(\"sap.ui.core.Label\")){if(s.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){l=s.getParent();f=r.indexOfFormContainer(l);v=r.getFormContainers();if(f==0){n=W.call(this);r.insertFormContainer(n,f);this._changedFormContainers.push(n)}else{n=v[f-1]}o=O.call(this,n,e)}else if(s.isA(\"sap.ui.core.Label\")){l=s.getParent().getParent();d=l.indexOfFormElement(s.getParent());o=x.call(this,l,e,d)}else{h=s.getParent();l=h.getParent();d=l.indexOfFormElement(h)+1;y=h.indexOfField(s);p=h.getFields();o=x.call(this,l,e,d);for(c=y;c<p.length;c++){L=p[c];o.addField(L)}if(y==0&&!h.getLabel()){h.destroy()}else{H(this._changedFormElements,h)}}this._changedFormElements.push(o)}else{b=w.call(this,e);if(s.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){l=s.getParent();f=r.indexOfFormContainer(l);if(f==0){n=W.call(this);r.insertFormContainer(n,f);this._changedFormContainers.push(n)}else{v=r.getFormContainers();n=v[f-1]}m=n.getFormElements();if(m.length==0){o=O.call(this,n)}else if(b&&b.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&_===g.ResponsiveLayout&&!S.call(this,b)&&b.getLinebreak()){o=O.call(this,n)}else{o=m[m.length-1]}o.addField(e)}else if(s.isA(\"sap.ui.core.Label\")){h=s.getParent();n=h.getParent();d=n.indexOfFormElement(h);if(d==0){o=x.call(this,n,null,0)}else if(b&&b.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&_===g.ResponsiveLayout&&!S.call(this,b)&&b.getLinebreak()){o=x.call(this,n,null,d)}else{m=n.getFormElements();o=m[d-1]}o.addField(e)}else{o=s.getParent();y=o.indexOfField(s);if(b&&b.isA(\"sap.ui.layout.ResponsiveFlowLayoutData\")&&_===g.ResponsiveLayout&&!S.call(this,b)&&b.getLinebreak()&&y>0){n=o.getParent();d=n.indexOfFormElement(o);H(this._changedFormElements,o);p=o.getFields();o=x.call(this,n,undefined,d+1);o.addField(e);for(c=y;c<p.length;c++){L=p[c];o.addField(L)}}else{o.insertField(e,y)}}H(this._changedFormElements,o);T.call(this,e,5,false,true)}this._aElements.splice(i,0,e);this._oObserver.observe(e,{properties:[\"visible\"]});this.invalidate();this._bChangedByMe=false;return this};b.prototype.removeContent=function(e){var t=null;var i=-1;var s=0;if(this._aElements){if(typeof e==\"string\"){e=a.getElementById(e)}if(typeof e==\"object\"){for(s=0;s<this._aElements.length;s++){if(this._aElements[s]==e){e=s;break}}}if(typeof e==\"number\"){if(e<0||e>=this._aElements.length){u.warning(\"Element.removeAggregation called with invalid index: Items, \"+e)}else{i=e;t=this._aElements[i]}}}if(t){this._bChangedByMe=true;var r=this.getAggregation(\"form\");var n;var o;var l;var h;if(t.isA([\"sap.ui.core.Title\",\"sap.ui.core.Toolbar\"])){n=t.getParent();n.setTitle(null);n.setToolbar(null);l=n.getFormElements();if(i>0||l.length>0){var g=r.indexOfFormContainer(n);var f;if(i===0){f=W.call(this);r.insertFormContainer(f,g)}else{f=r.getFormContainers()[g-1];if(l.length>0&&!l[0].getLabel()){var d=f.getFormElements();var y=d[d.length-1];h=l[0].getFields();for(s=0;s<h.length;s++){y.addField(h[s])}H(this._changedFormElements,y);n.removeFormElement(l[0]);l[0].destroy();l.splice(0,1)}}for(s=0;s<l.length;s++){f.addFormElement(l[s])}H(this._changedFormContainers,f);r.removeFormContainer(n);n.destroy()}else{r.removeFormContainer(n);n.destroy()}}else if(t.isA(\"sap.ui.core.Label\")){o=t.getParent();n=o.getParent();o.setLabel(null);h=o.getFields();var p=n.indexOfFormElement(o);var m;if(p===0){if(h.length===0){n.removeFormElement(o);o.destroy();if(n.getFormElements().length==0&&!n.getTitle()&&!n.getToolbar()){r.removeFormContainer(n);n.destroy()}}else{m=x.call(this,n,null,0)}}else{l=n.getFormElements();m=l[p-1];H(this._changedFormElements,m)}for(s=0;s<h.length;s++){m.addField(h[s])}n.removeFormElement(o);o.destroy()}else{o=t.getParent();o.removeField(t);if(o.getFields().length==0&&!o.getLabel()){n=o.getParent();n.removeFormElement(o);o.destroy();if(n.getFormElements().length==0&&!n.getTitle()&&!n.getToolbar()){r.removeFormContainer(n);n.destroy()}}else{H(this._changedFormElements,o)}}this._aElements.splice(i,1);t.setParent(null);this._oObserver.unobserve(t);q.call(this,t);this.invalidate();this._bChangedByMe=false;return t}return null};b.prototype.removeAllContent=function(){var e=0;if(this._aElements){this._bChangedByMe=true;var t=this.getAggregation(\"form\");var a=t.getFormContainers();for(e=0;e<a.length;e++){var i=a[e];i.setTitle(null);i.setToolbar(null);var s=i.getFormElements();for(var r=0;r<s.length;r++){var n=s[r];n.setLabel(null);n.removeAllFields()}i.destroyFormElements()}t.destroyFormContainers();fo Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ColorPickerDisplayMode\", [\"sap/ui/base/DataType\"],function(e){\"use strict\";var i={Default:\"Default\",Large:\"Large\",Simplified:\"Simplified\"};e.registerEnum(\"sap.ui.unified.ColorPickerDisplayMode\",i);return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ColorPickerHelper\", [\"sap/ui/core/Lib\"],function(e){\"use strict\";var t;var n={isResponsive:function(){return true},factory:{createLabel:function(e){return new sap.m.Label(e)},createInput:function(e,t){return new sap.m.InputBase(e,t)},createSlider:function(e,t){return new sap.m.Slider(e,t)},createRadioButtonGroup:function(e){return new sap.m.RadioButtonGroup(e)},createRadioButtonItem:function(e){return new sap.m.RadioButton(e)},createButton:function(e,t){return new sap.m.Button(e,t)}}};var r={isResponsive:function(){return false},factory:{createLabel:function(e){return new sap.ui.commons.Label(e)},createInput:function(e,t){return new sap.ui.commons.TextField(e,t)},createSlider:function(e,t){if(t&&t.step){t.smallStepWidth=t.step;delete t.step}return new sap.ui.commons.Slider(e,t)},createRadioButtonGroup:function(e){if(e&&e.buttons){e.items=e.buttons;delete e.buttons}return new sap.ui.commons.RadioButtonGroup(e)},createRadioButtonItem:function(e){return new sap.ui.core.Item(e)}}};var o={isResponsive:function(){return false},factory:{createLabel:function(){throw new Error(\"no Label control available\")},createInput:function(){throw new Error(\"no Input control available\")},createSlider:function(){throw new Error(\"no Slider control available\")},createRadioButtonGroup:function(){throw new Error(\"no RadioButtonGroup control available\")},createRadioButtonItem:function(){throw new Error(\"no RadioButtonItem control available\")}}};t={getHelper:function(){if(e.isLoaded(\"sap.m\")){return n}else if(e.isLoaded(\"sap.ui.unified\")){return r}return o}};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ColorPickerPopover\", [\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/m/Button\",\"sap/m/ResponsivePopover\",\"./ColorPicker\",\"./library\",\"sap/m/library\",\"sap/ui/core/Lib\",\"sap/ui/thirdparty/jquery\"],function(e,t,o,r,i,n,p,a,jQuery){\"use strict\";var s=p.PlacementType;var l=n.ColorPickerMode,u=n.ColorPickerDisplayMode;var P=p.ButtonType;var y=e.extend(\"sap.ui.unified.ColorPickerPopover\",{metadata:{library:\"sap.ui.unified\",publicMethods:[\"openBy\",\"close\"],properties:{colorString:{type:\"string\",group:\"Misc\",defaultValue:null},mode:{type:\"sap.ui.unified.ColorPickerMode\",group:\"Appearance\",defaultValue:l.HSV},displayMode:{type:\"sap.ui.unified.ColorPickerDisplayMode\",group:\"Appearance\",defaultValue:u.Default}},events:{change:{parameters:{r:{type:\"int\"},g:{type:\"int\"},b:{type:\"int\"},h:{type:\"int\"},s:{type:\"int\"},v:{type:\"int\"},l:{type:\"int\"},hex:{type:\"string\"},alpha:{type:\"string\"}}},liveChange:{parameters:{r:{type:\"int\"},g:{type:\"int\"},b:{type:\"int\"},h:{type:\"int\"},s:{type:\"int\"},v:{type:\"int\"},l:{type:\"int\"},hex:{type:\"string\"},alpha:{type:\"string\"}}}}},renderer:{apiVersion:2}});var c=a.getResourceBundleFor(\"sap.ui.unified\");var h={COLOR_PICKER_PROPS:{colorString:\"setColorString\",mode:\"setMode\",displayMode:\"setDisplayMode\"},POPOVER_METHODS:{getDomRef:\"\",close:\"\"}};y.prototype.init=function(){this._oPopover=null;this._bPopoverDestroying=null};y.prototype.exit=function(){this._bPopoverDestroying=true;if(this._oPopover){this._oPopover.removeDelegate(this._oPopover._onAfterRenderingDelegate);this._oPopover.destroy();this._oPopover=null}};y.prototype.openBy=function(e){return r.prototype.openBy.apply(this._ensurePopover(),arguments)};y.prototype._getColorPicker=function(){return this._ensurePopover().getContent()[0]};y.prototype._ensurePopover=function(){if(!this._oPopover){this._oPopover=this._createPopover()}return this._oPopover};y.prototype._createPopover=function(){var e,i=this._createColorPicker(),n,p=this;e=new r(this.getId()+\"-colorPickerPopover\",{showHeader:t.system.phone,placement:s.VerticalPreferredBottom,showArrow:false,showCloseButton:false,beginButton:new o({text:c.getText(\"COLOR_PICKER_SUBMIT\"),type:P.Emphasized,press:function(){p.fireChange(p._oLastChangeCPParams);e.close()}}),endButton:new o({text:c.getText(\"COLOR_PICKER_CANCEL\"),press:function(){e.close()}}),title:c.getText(\"COLOR_PICKER_TITLE\"),content:i});i.attachChange(function(e){this._handleChange(e)}.bind(this));i.attachLiveChange(function(e){this.fireLiveChange(e.getParameters())}.bind(this));n={onAfterRendering:function(){var e=this.$();e.attr(\"aria-modal\",\"true\");e.attr(\"aria-label\",this.getTitle())}};e.addEventDelegate(n,e);e._onAfterRenderingDelegate=n;return e};y.prototype._handleChange=function(e){var t={};this._oLastChangeCPParams=jQuery.extend(t,e.getParameters());delete this._oLastChangeCPParams.id;return this};y.prototype._createColorPicker=function(){var e=new i(this.getId()+\"-color_picker\");return e};y.prototype.setProperty=function(t,o,r){var n;if(h.COLOR_PICKER_PROPS[t]!==undefined){n=h.COLOR_PICKER_PROPS[t]||t;i.prototype[n].call(this._getColorPicker(),o)}return e.prototype.setProperty.apply(this,arguments)};Object.keys(h.POPOVER_METHODS).forEach(function(e){var t=h.POPOVER_METHODS[e]||e;y.prototype[e]=function(){if(this._bPopoverDestroying){return null}var e=this._ensurePopover();return e[t].apply(e,arguments)}});return y});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ColorPickerRenderer\", [\"./ColorPickerDisplayMode\",\"sap/ui/Device\",\"sap/ui/core/Lib\"],function(e,o,t){\"use strict\";var r={apiVersion:2};var n=t.getResourceBundleFor(\"sap.ui.unified\");r.render=function(t,r){var i=r.getDisplayMode(),s=r.bResponsive;t.openStart(\"div\",r);t.accessibilityState(r,{role:\"group\",roledescription:n.getText(\"COLOR_PICKER_TITLE\")});if(s){t.class(\"sapUiColorPicker-ColorPickerMatrix\");t.class(\"sapUiColorPicker-\"+i);t.class(\"sapUnifiedColorPicker\");if(r._bHSLMode){t.class(\"sapUiColorPickerHSL\")}}if(o.system.phone){t.class(\"sapUiCPPhone\")}t.openEnd();if(!s){t.renderControl(r.getAggregation(\"_grid\"))}else{switch(i){case e.Default:this.renderDefaultColorPicker(t,r);break;case e.Large:this.renderLargeColorPicker(t,r);break;case e.Simplified:this.renderSimplifiedColorPicker(t,r)}}t.close(\"div\")};r.renderDefaultColorPicker=function(e,t){e.renderControl(t.getAggregation(\"_oCPBox\"));if(o.system.phone){e.openStart(\"div\");e.class(\"sapUiCPPhoneContent\");e.openEnd();e.openStart(\"div\");e.class(\"sapUiCPSlidersPhone\");e.openEnd();e.renderControl(t.getAggregation(\"_oSlider\"));e.renderControl(t.getAggregation(\"_oAlphaSlider\"));e.close(\"div\");this.renderMobileSwatches(e,t);e.close(\"div\")}else{e.renderControl(t.getAggregation(\"_oSlider\"));e.renderControl(t.getAggregation(\"_oAlphaSlider\"));this.renderDesktopSwatchesAndHexFields(e,t)}e.openStart(\"div\");e.class(\"sapUiCPDefaultWrapper\");e.openEnd();if(o.system.phone){e.renderControl(t.getAggregation(\"_oHexField\"));e.openStart(\"div\");e.class(\"sapUiCPHexText\");e.openEnd();e.text(\"Hex\");e.close(\"div\")}e.openStart(\"div\");e.class(\"sapUiCPDefaultRGB\");e.openEnd();e.renderControl(t.getAggregation(\"_oRedField\"));this.renderEmptyDiv(e);e.renderControl(t.getAggregation(\"_oGreenField\"));this.renderEmptyDiv(e);e.renderControl(t.getAggregation(\"_oBlueField\"));this.renderEmptyDiv(e);e.renderControl(t.getAggregation(\"_oAlphaField\"));e.close(\"div\");e.openStart(\"div\");e.class(\"sapUiCPDefaultHSLV\");e.openEnd();e.renderControl(t.getAggregation(\"_oHueField\"));this.renderEmptyDiv(e);e.renderControl(t.getAggregation(\"_oSatField\"));e.openStart(\"div\");e.class(\"sapUiCPPercentSymbol\");e.openEnd();e.text(\"%\");e.close(\"div\");e.renderControl(t.getAggregation(\"_oLitField\"));e.renderControl(t.getAggregation(\"_oValField\"));if(t.getMode()===\"HSL\"){e.openStart(\"div\");e.class(\"sapUiCPPercentSymbol\");e.openEnd();e.text(\"%\");e.close(\"div\")}else{this.renderEmptyDiv(e)}e.renderControl(t.getAggregation(\"_oAlphaField2\"));e.close(\"div\");e.renderControl(t.getAggregation(\"_oButton\"));this.renderRGBLabel(e,t);this.renderHSLVLabel(e,t);e.close(\"div\")};r.renderLargeColorPicker=function(e,o){e.renderControl(o.getAggregation(\"_oCPBox\"));e.renderControl(o.getAggregation(\"_oSlider\"));e.renderControl(o.getAggregation(\"_oAlphaSlider\"));this.renderDesktopSwatchesAndHexFields(e,o);e.renderControl(o.oRGBorHSLRBUnifiedGroup);e.openStart(\"div\");e.class(\"sapUiCPRGBA\");e.openEnd();e.renderControl(o.getAggregation(\"_oRedField\"));this.renderEmptyDiv(e);e.renderControl(o.getAggregation(\"_oGreenField\"));this.renderEmptyDiv(e);e.renderControl(o.getAggregation(\"_oBlueField\"));this.renderEmptyDiv(e);e.renderControl(o.getAggregation(\"_oAlphaField\"));e.close(\"div\");this.renderRGBLabel(e,o);e.openStart(\"div\");e.class(\"sapUiCPHSLV\");e.openEnd();e.renderControl(o.getAggregation(\"_oHueField\"));this.renderEmptyDiv(e);e.renderControl(o.getAggregation(\"_oSatField\"));e.openStart(\"div\");e.class(\"sapUiCPPercentSymbol\");e.openEnd();e.text(\"%\");e.close(\"div\");const t=o.getMode()===\"HSL\";if(t){e.renderControl(o.getAggregation(\"_oLitField\"))}else{e.renderControl(o.getAggregation(\"_oValField\"))}e.openStart(\"div\");e.class(\"sapUiCPPercentSymbol\");if(!t){e.style(\"visibility\",\"hidden\")}e.openEnd();e.text(\"%\");e.close(\"div\");e.renderControl(o.getAggregation(\"_oAlphaField2\"));e.close(\"div\");this.renderHSLVLabel(e,o)};r.renderSimplifiedColorPicker=function(e,t){e.renderControl(t.getAggregation(\"_oCPBox\"));if(o.system.phone){e.openStart(\"div\");e.class(\"sapUiCPPhoneContent\");e.openEnd();e.openStart(\"div\");e.class(\"sapUiCPSlidersPhone\");e.openEnd();e.renderControl(t.getAggregation(\"_oSlider\"));e.close(\"div\");e.renderControl(t.getAggregation(\"_oHexField\"));this.renderMobileSwatches(e,t);e.openStart(\"div\");e.class(\"sapUiCPHexWrapper\");e.openEnd();e.openStart(\"div\");e.class(\"sapUiCPHexText\");e.openEnd();e.text(\"Hex\");e.close(\"div\");e.close(\"div\");e.close(\"div\")}else{e.renderControl(t.getAggregation(\"_oSlider\"));this.renderDesktopSwatchesAndHexFields(e,t)}};r.renderDesktopSwatchesAndHexFields=function(e,o){e.openStart(\"div\");e.class(\"sapUiCPComparisonWrapper\");e.openEnd();e.openStart(\"div\",o.getId()+\"-ocBox\");e.class(\"sapUiColorPicker-ColorPickerOldColor\");e.attr(\"title\",n.getText(\"COLOR_PICKER_CURRENT_COLOR_TOOLTIP\"));e.openEnd();e.close(\"div\");e.openStart(\"div\",o.getId()+\"-ncBox\");e.class(\"sapUiColorPicker-ColorPickerNewColor\");e.attr(\"title\",n.getText(\"COLOR_PICKER_NEW_COLOR_TOOLTIP\"));e.openEnd();e.close(\"div\");e.close(\"div\");e.openStart(\"div\");e.class(\"sapUiCPHexWrapper\");e.openEnd();e.openStart(\"span\");e.class(\"sapUiCPHexText\");e.openEnd();e.text(\"Hex\");e.close(\"span\");e.close(\"div\");e.renderControl(o.getAggregation(\"_oHexField\"))};r.renderMobileSwatches=function(e,o){e.openStart(\"div\");e.class(\"sapUiCPComparisonWrapper\");e.class(\"sapUiCPComparisonWrapperPhone\");e.openEnd();e.openStart(\"div\",o.getId()+\"-ocBox\");e.class(\"sapUiColorPicker-ColorPickerOldColor\");e.openEnd();e.close(\"div\");e.openStart(\"div\",o.getId()+\"-ncBox\");e.class(\"sapUiColorPicker-ColorPickerNewColor\");e.openEnd();e.close(\"div\");e.close(\"div\")};r.renderEmptyDiv=function(e){e.openStart(\"div\");e.class(\"sapUiCPEmptyDiv\");e.openEnd();e.close(\"div\")};r.renderRGBLabel=function(e,o){e.openStart(\"div\");e.class(\"sapUiCPRGBText\");e.openEnd();e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.text(\"R\");e.close(\"span\");this.renderEmptyDiv(e);e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.text(\"G\");e.close(\"span\");this.renderEmptyDiv(e);e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.text(\"B\");e.close(\"span\");this.renderEmptyDiv(e);if(o.getDisplayMode()===\"Default\"){e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.text(\"A\");e.close(\"span\")}else{e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.close(\"span\")}e.close(\"div\")};r.renderHSLVLabel=function(e,o){e.openStart(\"div\");e.class(\"sapUiCPHSLVText\");e.openEnd();e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.text(\"H\");e.close(\"span\");this.renderEmptyDiv(e);e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.text(\"S\");e.close(\"span\");this.renderEmptyDiv(e);if(o.getMode()===\"HSL\"){e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.text(\"L\");e.close(\"span\")}else{e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.text(\"V\");e.close(\"span\")}this.renderEmptyDiv(e);e.openStart(\"span\");e.class(\"sapUiCPText\");e.openEnd();e.text(\"A\");e.close(\"span\");e.close(\"div\")};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ContentSwitcher\", [\"sap/ui/core/Control\",\"./library\",\"./ContentSwitcherRenderer\",\"sap/base/Log\"],function(t,e,n,i){\"use strict\";var o=e.ContentSwitcherAnimation;var r=t.extend(\"sap.ui.unified.ContentSwitcher\",{metadata:{deprecated:true,library:\"sap.ui.unified\",properties:{animation:{type:\"string\",group:\"Appearance\",defaultValue:\"None\"},activeContent:{type:\"int\",group:\"Behavior\",defaultValue:1}},aggregations:{content1:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content1\"},content2:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content2\"}}},renderer:n});(function(t){r.prototype.init=function(){};r.prototype.switchContent=function(){this.setActiveContent(this.getActiveContent()==1?2:1);return this};r.prototype.onAfterRendering=function(){this._$Contents=[this.$(\"content1\"),this.$(\"content2\")]};r.prototype._showActiveContent=function(t){if(this._$Contents){this._$Contents[0].toggleClass(\"sapUiUfdCSwitcherVisible\",t===1);this._$Contents[1].toggleClass(\"sapUiUfdCSwitcherVisible\",t===2)}};r.prototype.setActiveContent=function(t){t=parseInt(t);if(isNaN(t)||t<1){t=1;i.warning(\"setActiveContent argument must be either 1 or 2. Active content set to 1.\")}else if(t>2){t=2;i.warning(\"setActiveContent argument must be either 1 or 2. Active content set to 2.\")}this.setProperty(\"activeContent\",t,true);this._showActiveContent(t);return this};r.prototype.setAnimation=function(t,e){if(typeof t!==\"string\"){t=o.None;i.warning('setAnimation argument must be a string. Animation was set to \"'+o.None+'\".')}t=t.replace(/[^a-zA-Z0-9]/g,\"\");var n=this.getProperty(\"animation\");if(t===n){return this}var r=this.$();if(r[0]){r.toggleClass(\"sapUiUfdCSwitcherAnimation\"+n,false);r.toggleClass(\"sapUiUfdCSwitcherAnimation\"+t,true)}return this.setProperty(\"animation\",t,e)}})(window);return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ContentSwitcherRenderer\", [\"sap/ui/core/ControlBehavior\",\"sap/ui/unified/library\",\"sap/base/security/encodeXML\",\"sap/ui/core/Configuration\"],function(t,e,i,n){\"use strict\";var r=e.ContentSwitcherAnimation;var o={};o.render=function(e,o){var a=o.getId();var s=o.getAnimation();if(t.getAnimationMode()===n.AnimationMode.none){s=r.None}var d=o.getActiveContent();e.write(\"<div\");e.writeControlData(o);e.addClass(\"sapUiUfdCSwitcher\");e.addClass(\"sapUiUfdCSwitcherAnimation\"+i(s));e.writeClasses();e.write(\">\");e.write('<section id=\"'+a+'-content1\" class=\"sapUiUfdCSwitcherContent sapUiUfdCSwitcherContent1'+(d==1?\" sapUiUfdCSwitcherVisible\":\"\")+'\">');this.renderContent(e,o.getContent1());e.write(\"</section>\");e.write('<section id=\"'+a+'-content2\" class=\"sapUiUfdCSwitcherContent sapUiUfdCSwitcherContent2'+(d==2?\" sapUiUfdCSwitcherVisible\":\"\")+'\">');this.renderContent(e,o.getContent2());e.write(\"</section>\");e.write(\"</div>\")};o.renderContent=function(t,e){for(var i=0;i<e.length;++i){t.renderControl(e[i])}};return o},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/Currency\", [\"sap/ui/core/Control\",\"sap/m/library\",\"sap/ui/core/format/NumberFormat\",\"./CurrencyRenderer\"],function(e,t,r,i){\"use strict\";var n=t.EmptyIndicatorMode;var u=e.extend(\"sap.ui.unified.Currency\",{metadata:{library:\"sap.ui.unified\",properties:{value:{type:\"float\",group:\"Appearance\",defaultValue:0},stringValue:{type:\"string\",group:\"Appearance\",defaultValue:null},currency:{type:\"string\",group:\"Appearance\",defaultValue:null},maxPrecision:{type:\"int\",group:\"Appearance\"},useSymbol:{type:\"boolean\",group:\"Appearance\",defaultValue:true},emptyIndicatorMode:{type:\"sap.m.EmptyIndicatorMode\",group:\"Appearance\",defaultValue:n.Off}},designtime:\"sap/ui/unified/designtime/Currency.designtime\",dnd:{draggable:true,droppable:false}},renderer:i});u.FIGURE_SPACE=\" \";u.PUNCTUATION_SPACE=\" \";u.prototype.init=function(){this._oFormat=r.getCurrencyInstance({showMeasure:false})};u.prototype.exit=function(){this._oFormat=null;this._$Value=null;this._$Currency=null;this._sLastCurrency=null;this._iLastCurrencyDigits=null;this._bRenderNoValClass=null};u.prototype.onAfterRendering=function(){if(this.$()){this._$Value=this.$().find(\".sapUiUfdCurrencyValue\");this._$Currency=this.$().find(\".sapUiUfdCurrencyCurrency\")}};u.prototype.setValue=function(e){if(this.isBound(\"value\")){this._bRenderNoValClass=e==null}this.setProperty(\"value\",e,true);this._renderValue();return this};u.prototype.unbindProperty=function(t){e.prototype.unbindProperty.apply(this,arguments);if(t===\"value\"){this._bRenderNoValClass=false}};u.prototype.setCurrency=function(e){var t,r;this.setProperty(\"currency\",e,true);this._renderCurrency();t=this._oFormat.oLocaleData.getCurrencyDigits(e);if(this._iLastCurrencyDigits!=null&&this._iLastCurrencyDigits!==t){r=true}else if(this._oFormat.oLocaleData.getCurrencyDigits()!==t){r=true}this._iLastCurrencyDigits=t;if(this._sLastCurrency===\"*\"||e===\"*\"){r=true}this._sLastCurrency=e;if(r){this._renderValue()}return this};u.prototype.setUseSymbol=function(e){this.setProperty(\"useSymbol\",e,true);this._renderCurrency();return this};u.prototype.setMaxPrecision=function(e){this.setProperty(\"maxPrecision\",e,true);this._renderValue();return this};u.prototype._renderValue=function(){if(this._$Value){this._$Value.text(this.getFormattedValue())}};u.prototype._renderCurrency=function(){if(this._$Currency){this._$Currency.text(this._getCurrency())}};u.prototype._getCurrency=function(){return this.getUseSymbol()?this.getCurrencySymbol():this.getCurrency()};u.prototype.getFormattedValue=function(){var e=this.getCurrency(),t,r,i,n=this.getMaxPrecision(),s=!n&&n!==0;if(e===\"*\"){return\"\"}r=this._oFormat.oLocaleData.getCurrencyDigits(e);if(s){n=r}n=n<=0&&r>0?n-1:n;t=n-r;i=this._oFormat.format(this.getStringValue()||this.getValue(),e);if(t==n&&n>0){i+=u.PUNCTUATION_SPACE}if(t>0){i=i.padEnd(i.length+t,u.FIGURE_SPACE)}else if(t<0){i=i.substr(0,i.length+t)}return i};u.prototype.getCurrencySymbol=function(){return this._oFormat.oLocaleData.getCurrencySymbol(this.getCurrency())};u.prototype.getAccessibilityInfo=function(){if(this._bRenderNoValClass){return{}}return{description:(this.getFormattedValue()||\"\")+\" \"+(this.getCurrency()||\"\").trim()}};return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/CurrencyRenderer\", [\"sap/m/library\",\"sap/ui/core/Lib\"],function(e,t){\"use strict\";var n={apiVersion:2};var a=e.EmptyIndicatorMode;var r=t.getResourceBundleFor(\"sap.m\");n.render=function(e,t){var n=t.getTooltip_AsString();e.openStart(\"div\",t);if(n){e.attr(\"title\",n)}e.class(\"sapUiUfdCurrency\");if(t.getEmptyIndicatorMode()!==a.Off&&!t.getValue()){e.openEnd();this.renderEmptyIndicator(e,t)}else{e.openEnd();e.openStart(\"div\");e.class(\"sapUiUfdCurrencyAlign\");e.openEnd();e.openStart(\"span\");e.attr(\"dir\",\"ltr\");e.class(\"sapUiUfdCurrencyValue\");e.openEnd();e.text(t.getFormattedValue());e.close(\"span\");e.openStart(\"span\");e.class(\"sapUiUfdCurrencyCurrency\");e.openEnd();e.text(t._getCurrency());e.close(\"span\");e.close(\"div\")}e.close(\"div\")};n.renderEmptyIndicator=function(e,t){e.openStart(\"span\");e.class(\"sapMEmptyIndicator\");if(t.getEmptyIndicatorMode()===a.Auto){e.class(\"sapMEmptyIndicatorAuto\")}e.openEnd();e.openStart(\"span\");e.attr(\"aria-hidden\",true);e.openEnd();e.text(r.getText(\"EMPTY_INDICATOR\"));e.close(\"span\");e.openStart(\"span\");e.class(\"sapUiPseudoInvisibleText\");e.openEnd();e.text(r.getText(\"EMPTY_INDICATOR_TEXT\"));e.close(\"span\");e.close(\"span\")};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/DateRange\", [\"sap/ui/core/Element\",\"./library\",\"sap/ui/unified/calendar/CalendarUtils\"],function(e,t,a){\"use strict\";var r=e.extend(\"sap.ui.unified.DateRange\",{metadata:{library:\"sap.ui.unified\",properties:{startDate:{type:\"object\",group:\"Misc\",defaultValue:null},endDate:{type:\"object\",group:\"Misc\",defaultValue:null}}}});r.prototype.setStartDate=function(e,t){if(e){a._checkJSDateObject(e);var r=e.getFullYear();a._checkYearInValidRange(r)}this.setProperty(\"startDate\",e,t);return this};r.prototype.setEndDate=function(e,t){if(e){a._checkJSDateObject(e);var r=e.getFullYear();a._checkYearInValidRange(r)}this.setProperty(\"endDate\",e,t);return this};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/DateTypeRange\", [\"./DateRange\",\"./library\"],function(e,a){\"use strict\";var p=a.CalendarDayType;var r=e.extend(\"sap.ui.unified.DateTypeRange\",{metadata:{library:\"sap.ui.unified\",properties:{type:{type:\"sap.ui.unified.CalendarDayType\",group:\"Appearance\",defaultValue:p.Type01},secondaryType:{type:\"sap.ui.unified.CalendarDayType\",group:\"Appearance\",defaultValue:p.None},color:{type:\"sap.ui.core.CSSColor\",group:\"Appearance\",defaultValue:null}}}});return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/FileUploader\", [\"sap/ui/core/Control\",\"./library\",\"sap/ui/core/ControlBehavior\",\"sap/ui/core/Element\",\"sap/ui/core/LabelEnablement\",\"sap/ui/core/InvisibleText\",\"sap/ui/core/Lib\",\"sap/ui/core/library\",\"sap/ui/core/StaticArea\",\"sap/ui/Device\",\"./FileUploaderRenderer\",\"sap/ui/dom/containsOrEquals\",\"sap/ui/events/KeyCodes\",\"sap/base/Log\",\"sap/base/security/encodeXML\",\"sap/ui/thirdparty/jquery\",\"./FileUploaderHelper\",\"sap/ui/dom/jquery/Aria\"],function(e,t,i,s,o,r,a,l,n,p,h,u,f,d,g,jQuery,c){var y=l.ValueState;var m=t.FileUploaderHttpRequestMethod;var F=e.extend(\"sap.ui.unified.FileUploader\",{metadata:{interfaces:[\"sap.ui.core.IFormContent\",\"sap.ui.unified.IProcessableBlobs\"],library:\"sap.ui.unified\",designtime:\"sap/ui/unified/designtime/FileUploader.designtime\",properties:{value:{type:\"string\",group:\"Data\",defaultValue:\"\"},enabled:{type:\"boolean\",group:\"Behavior\",defaultValue:true},uploadUrl:{type:\"sap.ui.core.URI\",group:\"Data\",defaultValue:\"\"},name:{type:\"string\",group:\"Data\",defaultValue:null},width:{type:\"sap.ui.core.CSSSize\",group:\"Misc\",defaultValue:\"\"},uploadOnChange:{type:\"boolean\",group:\"Behavior\",defaultValue:false},additionalData:{type:\"string\",group:\"Data\",defaultValue:null},sameFilenameAllowed:{type:\"boolean\",group:\"Behavior\",defaultValue:false},buttonText:{type:\"string\",group:\"Misc\",defaultValue:null},fileType:{type:\"string[]\",group:\"Data\",defaultValue:null},multiple:{type:\"boolean\",group:\"Behavior\",defaultValue:false},maximumFileSize:{type:\"float\",group:\"Data\",defaultValue:null},mimeType:{type:\"string[]\",group:\"Data\",defaultValue:null},sendXHR:{type:\"boolean\",group:\"Behavior\",defaultValue:false},httpRequestMethod:{type:\"sap.ui.unified.FileUploaderHttpRequestMethod\",group:\"Behavior\",defaultValue:m.Post},placeholder:{type:\"string\",group:\"Appearance\",defaultValue:null},style:{type:\"string\",group:\"Appearance\",defaultValue:null},buttonOnly:{type:\"boolean\",group:\"Appearance\",defaultValue:false},useMultipart:{type:\"boolean\",group:\"Behavior\",defaultValue:true},maximumFilenameLength:{type:\"int\",group:\"Data\",defaultValue:null},valueState:{type:\"sap.ui.core.ValueState\",group:\"Data\",defaultValue:y.None},valueStateText:{type:\"string\",group:\"Misc\",defaultValue:null},icon:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:\"\"},iconHovered:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:\"\"},iconSelected:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:\"\"},iconFirst:{type:\"boolean\",group:\"Appearance\",defaultValue:true},iconOnly:{type:\"boolean\",group:\"Appearance\",defaultValue:false},directory:{type:\"boolean\",group:\"Behavior\",defaultValue:false}},aggregations:{parameters:{type:\"sap.ui.unified.FileUploaderParameter\",multiple:true,singularName:\"parameter\"},headerParameters:{type:\"sap.ui.unified.FileUploaderParameter\",multiple:true,singularName:\"headerParameter\"},xhrSettings:{type:\"sap.ui.unified.FileUploaderXHRSettings\",multiple:false}},associations:{ariaDescribedBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaDescribedBy\"},ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},events:{change:{parameters:{newValue:{type:\"string\"},files:{type:\"object[]\"}}},uploadComplete:{parameters:{fileName:{type:\"string\"},response:{type:\"string\"},readyStateXHR:{type:\"string\"},status:{type:\"int\"},responseRaw:{type:\"string\"},headers:{type:\"object\"},requestHeaders:{type:\"object[]\"}}},typeMissmatch:{parameters:{fileName:{type:\"string\"},fileType:{type:\"string\"},mimeType:{type:\"string\"}}},fileSizeExceed:{parameters:{fileName:{type:\"string\"},fileSize:{type:\"string\"}}},fileEmpty:{parameters:{fileName:{type:\"string\"}}},fileAllowed:{},uploadProgress:{parameters:{lengthComputable:{type:\"boolean\"},loaded:{type:\"float\"},total:{type:\"float\"},fileName:{type:\"string\"},requestHeaders:{type:\"object[]\"}}},uploadAborted:{parameters:{fileName:{type:\"string\"},requestHeaders:{type:\"object[]\"}}},filenameLengthExceed:{parameters:{fileName:{type:\"string\"}}},uploadStart:{parameters:{fileName:{type:\"string\"},requestHeaders:{type:\"object[]\"}}},beforeDialogOpen:{},afterDialogClose:{}}},renderer:h});F.prototype.init=function(){var e=this;this.oFileUploaderHelper=c.getHelper();this.oFilePath=this.oFileUploaderHelper.createTextField(this.getId()+\"-fu_input\").addEventDelegate({onAfterRendering:function(){if(e.getWidth()){e._resizeDomElements()}}});this.oBrowse=this.oFileUploaderHelper.createButton(this.getId()+\"-fu_button\");this.oFilePath.setParent(this);this.oBrowse.setParent(this);this.oFileUpload=null;this.bMobileLib=this.oBrowse.getMetadata().getName()==\"sap.m.Button\";if(i.isAccessibilityEnabled()){if(!F.prototype._sAccText){var t=a.getResourceBundleFor(\"sap.ui.unified\");F.prototype._sAccText=t.getText(\"FILEUPLOAD_ACC\")}if(this.oBrowse.addAriaDescribedBy){this.oBrowse.addAriaDescribedBy(this.getId()+\"-AccDescr\")}if(this.oFilePath){this.oFilePath.addAriaLabelledBy(r.getStaticId(\"sap.ui.unified\",\"FILEUPLOAD_FILENAME\") Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/InteractiveDonutChart\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/m/library\",\"sap/ui/core/Control\",\"sap/ui/core/ResizeHandler\",\"sap/ui/Device\",\"sap/m/FlexBox\",\"sap/base/Log\",\"./InteractiveDonutChartSegment\",\"sap/m/IllustratedMessage\",\"./InteractiveDonutChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\",\"sap/ui/core/theming/Parameters\"],function(jQuery,e,t,i,s,a,n,r,o,l,d,S,h,p){\"use strict\";var g=i.extend(\"sap.suite.ui.microchart.InteractiveDonutChart\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{displayedSegments:{type:\"int\",group:\"Appearance\",defaultValue:3},selectionEnabled:{type:\"boolean\",group:\"Behavior\",defaultValue:true},showError:{type:\"boolean\",group:\"Appearance\",defaultValue:false},errorMessageTitle:{type:\"string\",group:\"Appearance\"},errorMessage:{type:\"string\",group:\"Appearance\"}},defaultAggregation:\"segments\",aggregations:{segments:{type:\"sap.suite.ui.microchart.InteractiveDonutChartSegment\",multiple:true,bindable:\"bindable\",defaultClass:o}},events:{selectionChanged:{parameters:{selectedSegments:{type:\"sap.suite.ui.microchart.InteractiveDonutChartSegment[]\"},segment:{type:\"sap.suite.ui.microchart.InteractiveDonutChartSegment\"},selected:{type:\"boolean\"}}},press:{}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}}},renderer:d});g.SEGMENT_CSSCLASS_SELECTED=\"sapSuiteIDCLegendSegmentSelected\";g.SEGMENT_CSSCLASS_HIGHLIGHT=\"sapSuiteIDCLegendSegmentHover\";g.CHART_SEGMENT_LABEL_MAXLENGTH=7;g.CHART_SEGMENT={CSSCLASS:\"sapSuiteIDCChartSegment\",CSSCLASS_HIGHLIGHT:\"sapSuiteIDCChartSegmentHighlight\",CSSCLASS_SELECTED:\"sapSuiteIDCChartSegmentSelected\"};g.CHART_SEGMENT_GHOST={CSSCLASS:\"sapSuiteIDCChartSegmentGhost\",CSSCLASS_HIGHLIGHT:\"sapSuiteIDCChartSegmentGhostHighlight\",CSSCLASS_SELECTED:\"sapSuiteIDCChartSegmentGhostSelected\"};g.AREA_HEIGHT_INTERACTIVE_MINVALUE=48;g.AREA_HEIGHT_INTERACTIVE_MINVALUE_COMPACT=32;g.AREA_HEIGHT_SMALLFONT=36;g.AREA_HEIGHT_SMALLFONT_COMPACT=32;g.AREA_HEIGHT_MINVALUE=18;g.LEGEND_HEIGHT_PADDING=6;g.CHART_HEIGHT_MINVALUE=110;g.CHART_WIDTH_MINVALUE=130;g.CHART_WIDTH_HIDEDONUT_MINVALUE=220;g.CHART_WIDTH_LEGENDPADDING_MINVALUE=300;g.CHART_WIDTH_FULLWIDTH_SMALLFONT_MINVALUE=180;g.prototype.onclick=function(e){if(!this.getSelectionEnabled()){return}if(this._bInteractiveMode){var t=jQuery(e.target),i=t.data(\"sap-ui-idc-selection-index\"),s=this.getAggregation(\"segments\"),a=this.$().find(\".sapSuiteIDCLegendSegment\"),n;if(!(i>=0)){i=t.closest(\".sapSuiteIDCLegendSegment\").data(\"sap-ui-idc-selection-index\")}if(isNaN(i)||i<0||i>=s.length){return}this._toggleSelected(i);n=a.index(this.$().find(\".sapSuiteIDCLegendSegment[tabindex='0']\"));this._switchTabindex(n,i,a)}else{this.firePress()}};g.prototype.onsapup=function(e){var t=this.$().find(\".sapSuiteIDCLegendSegment\");var i=t.index(e.target);if(t.length>0){this._switchTabindex(i,i-1,t)}e.preventDefault();e.stopImmediatePropagation()};g.prototype.onsapdown=function(e){var t=this.$().find(\".sapSuiteIDCLegendSegment\");var i=t.index(e.target);if(t.length>0){this._switchTabindex(i,i+1,t)}e.preventDefault();e.stopImmediatePropagation()};g.prototype.onsaphome=function(e){var t=this.$().find(\".sapSuiteIDCLegendSegment\");var i=t.index(e.target);if(i!==0&&t.length>0){this._switchTabindex(i,0,t)}e.preventDefault();e.stopImmediatePropagation()};g.prototype.onsapend=function(e){var t=this.$().find(\".sapSuiteIDCLegendSegment\");var i=t.index(e.target);var s=t.length;if(i!==s-1&&s>0){this._switchTabindex(i,s-1,t)}e.preventDefault();e.stopImmediatePropagation()};g.prototype.onsapenter=function(e){if(this._bInteractiveMode){var t=this.$().find(\".sapSuiteIDCLegendSegment\").index(e.target);if(t!==-1){this._toggleSelected(t)}e.preventDefault();e.stopImmediatePropagation()}else{this.firePress()}};g.prototype.onsapleft=g.prototype.onsapup;g.prototype.onsapright=g.prototype.onsapdown;g.prototype.onsapspace=g.prototype.onsapenter;g.prototype.getTooltip_AsString=function(){var t=this.getTooltip_Text();if(!t){t=this._createTooltipText()}else if(e._isTooltipSuppressed(t)){t=null}return t};g.prototype.getSelectedSegments=function(){var e,t;e=this.getAggregation(\"segments\");t=[];for(var i=0;i<e.length;i++){if(e[i].getSelected()){t.push(e[i])}}return t};g.prototype.setSelectedSegments=function(e){var t,i,s;t=this.getAggregation(\"segments\");this._deselectAllSelectedSegments();if(!e){return this}if(e instanceof o){e=[e]}if(Array.isArray(e)){s=e.length;for(var a=0;a<s;a++){i=this.indexOfAggregation(\"segments\",e[a]);if(i>=0&&t[i]){t[i].setProperty(\"selected\",true,true)}else{r.warning(\"Method setSelectedSegments called with invalid InteractiveDonutChartSegment element\")}}}this.invalidate();return this};g.prototype.init=function(){this._oRb=S.getLibraryResourceBundle(\"sap.suite.ui.microchart\");this._bThemeApplied=false;this._oIllustratedMessageControl=new l({illustrationSize:t.IllustratedMessageSize.Base,illustrationType:t.IllustratedMessageType.NoData});S.ready(this._handleCoreInitialized.bind(this))};g.prototype.onBeforeRendering=function(){this._bCompact=this._isCompact();this._bInteractiveMode=true;this._errorMessage=this.getErrorMessage();this._errorMessageTitle=this.getErrorMessageTitle();this._oIllustratedMessageControl.setTitle(this._errorMessageTitle);this._oIllustratedMessageControl.setDescription(this._errorMessage);var e=this.getSegments();this._iVisibleSegments=Math.min(this.getDisplayedSegments(),e.length);this._setResponsivenessData();var i=this.$().find(\".sapSuiteIDCChartSegment, .sapSuiteIDCLegendSegment, .sapSuiteIDCChartSegmentGhost\");i.off();if(!this.data(\"_parentRenderingContext\")&&typeof this.getParent===\"function\"){this.data(\"_parentRenderingContext\",this.getParent())}this._deregisterResizeHandler();this._bSemanticTooltip=false;for(var s=0;s<this._iVisibleSegments;s++){if(e[s].getColor()!==t.ValueColor.Neutral){this._bSemanticTooltip=true;break}}};g.prototype.onAfterRendering=function(){this._adjustToParent(this.$());e._checkControlIsVisible(this,this._onControlIsVisible)};g.prototype._onControlIsVisible=function(){if(this._bInteractiveMode){this._sResizeHandlerId=s.register(this,this._onResize.bind(this));this._onResize();if(this.$().length>0){var e=this._isCompact();if(e!==this._bCompact){this._bCompact=e;this.invalidate()}}if(a.system.desktop){this._attachHoverHandlers()}}};g.prototype.exit=function(){this._deregisterResizeHandler();this._oIllustratedMessageControl.destroy()};g.prototype._handleCoreInitialized=function(){h.attachApplied(this._handleThemeApplied.bind(this))};g.prototype._deselectAllSelectedSegments=function(){var e=this.getAggregation(\"segments\");for(var t=0;t<e.length;t++){if(e[t].getSelected()){e[t].setProperty(\"selected\",false,true)}}};g.prototype._attachHoverHandlers=function(){var e=this,t=this.$().find(\".sapSuiteIDCChartSegment, .sapSuiteIDCLegendSegment, .sapSuiteIDCChartSegmentGhost\");t.on({mousemove:function(){e._handleHoverSync(jQuery(this).data(\"sap-ui-idc-selection-index\"))},mouseleave:function(){e._handleHoverSync(jQuery(this).data(\"sap-ui-idc-selection-index\"),true)}})};g.prototype._handleHoverSync=function(e,t){if(this._bInteractiveMode){var i=this.getAggregation(\"segments\"),s=i[e].getSelected();this._setSegmentInteractionState(g.CHART_SEGMENT,e,s,t);this._setSegmentInteractionState(g.CHART_SEGMENT_GHOST,e,s,t);this._setLegendEntryInteractionState(e,s,t,i[e])}};g.prototype._setSegmentInteractionState=function(e,t,i,s){var a=this.$().find(\".\"+e.CSSCLASS+\"[data-sap-ui-idc-selection-index='\"+t+\"']\");a.removeClass(e.CSSCLASS_SELECTED);a.removeClass(e.CSSCLASS_HIGHLIGHT);if(a.length>0&&a[0].children.length>0){a[0].children[0].style.visibility=\"hidden\"}if(!s){a.addClass(e.CSSCLASS_HIGHLIGHT);if(a.length>0&&a[0].children.length>0){a[0].children[0].style.visibility=\"visible\"}}if(i){a.addClass(e.CSSCLASS_SELECTED)}};g.prototype._setLegendEntryInteractionState=function(e,t,i,s){var a=this.$().find(\".sapSuiteIDCLegendSegment[data-sap-ui-idc-selection-index='\"+e+\"']\");a.removeClass(g.SEGMENT_CSSCLASS_SELECTED);a.removeClass(g.SEGMENT_CSSCLASS_HIGHLIGHT);a.removeAttr(\"title\");if(!i){a.addClass(g.SEGMENT_CSSCLASS_HIGHLIGHT);a.attr(\"title\",s.getTooltip_AsString())}if(t){a.addClass(g.SEGMENT_CSSCLASS_SELECTED)}};g.prototype._switchModeInteractive=function(e){var t=this.$(),i=false;if(e<this._iAreaHeightInteractiveMinValue){i=true;if(this._bInteractiveMode){this._bInteractiveMode=false;t.addClass(\"sapSuiteIDCNonInteractive\");if(this.getSelectionEnabled()){var s=t.find(\".sapSuiteIDCLegendSegment[tabindex='0']\");this._iActiveElement=t.find(\".sapSuiteIDCLegendSegment\").index(s);s.removeAttr(\"tabindex\");t.attr(\"tabindex\",\"0\")}t.attr({role:\"button\",\"aria-multiselectable\":\"false\",\"aria-disabled\":!this._isChartEnabled()})}}else if(!this._bInteractiveMode){i=true;this._bInteractiveMode=true;t.removeClass(\"sapSuiteIDCNonInteractive\");if(this.getSelectionEnabled()){t.removeAttr(\"tabindex\");if(!this._iActiveElement||this._iActiveElement<0){this._iActiveElement=0}t.find(\".sapSuiteIDCLegendSegment\").eq(this._iActiveElement).attr(\"tabindex\",\"0\")}t.attr({role:\"listbox\",\"aria-multiselectable\":\"true\",\"aria-disabled\":!this._isChartEnabled()})}if(i){if(this._isChartEnabled()){t.removeAttr(\"title\");this._addInteractionAreaTooltip()}else{t.find(\".sapSuiteIDCChartSegment title, .sapSuiteIDCChartSegmentGhost title\").remove();t.find(\".sapSuiteIDCLegendSegment\").removeAttr(\"title\");t.attr(\"title\",this.getTooltip_AsString())}}};g.prototype._addInteractionAreaTooltip=function(){var e,t,i,s=this.$(),a=this.getSegments();s.find(\".sapSuiteIDCChartSegment, .sapSuiteIDCChartSegmentGhost\").each(function(s,n){t=jQuery(n);i=parseInt(t.attr(\"data-sap-ui-idc-selection-index\"));e=jQuery(\"<div></div>\").text(a[i].getTooltip_AsString());t.html(\"<title>\"+e.getEncodedText()+\"\")});s.find(\".sapSuiteIDCLegendSegment\").each(function(e,s){t=jQuery(s);i=parseInt(t.attr(\"data-sap-ui-idc-selection-index\"));t.attr(\"title\",a[i].getTooltip_AsString())})};g.prototype._onResize=function(){var e,t,i=this.$(),s=i.find(\".sapSuiteIDCLegendSegment\"),a=i.find(\".sapSuiteIDCChart\"),n=parseInt(a.css(\"padding-right\"))+parseInt(a.css(\"padding-left\")),r=i.height(),o=i.width();if(this._bInteractiveMode){t=2}else{t=1}e=(r-g.LEGEND_HEIGHT_PADDING-s.length*t)/s.length;s.height(e+\"px\");if(o0};g.prototype._toggleSelected=function(e){var t=this.getSegments()[e],i=!t.getSelected(),s=this.$(\"interactionArea-\"+e),a=this.$().find(\".\"+g.CHART_SEGMENT.CSSCLASS+\"[data-sap-ui-idc-selection-index='\"+e+\"']\"),n=this.$().find(\".\"+g.CHART_SEGMENT_GHOST.CSSCLASS+\"[data-sap-ui-idc-selection-index='\"+e+\"']\");t.setProperty(\"selected\",i,true);s.attr(\"aria-selected\",t.getSelected());if(i){s.addClass(g.SEGMENT_CSSCLASS_SELECTED);a.addClass(g.CHART_SEGMENT.CSSCLASS_SELECTED);n.addClass(g.CHART_SEGMENT_GHOST.CSSCLASS_SELECTED)}else{s.removeClass(g.SEGMENT_CSSCLASS_SELECTED);a.removeClass(g.CHART_SEGMENT.CSSCLASS_SELECTED);n.removeClass(g.CHART_SEGMENT_GHOST.CSSCLASS_SELECTED)}this.fireSelectionChanged({selectedSegments:this.getSelectedSegments(),segment:t,selected:i})};g.prototype._switchTabindex=function(e,t,i){if(e!==t&&e>=0&&e=0&&t0){o=this._calculateSegmentPath(n,s.getValue(),r,_+c,S-c,this._fGhostHalfGapSize);t.openStart(\"path\");t.attr(\"d\",o);t.attr(\"data-sap-ui-idc-selection-index\",d);t.class(i.CHART_SEGMENT_GHOST.CSSCLASS);if(s.getSelected()){t.class(i.CHART_SEGMENT_GHOST.CSSCLASS_SELECTED)}t.openEnd();if(e._isChartEnabled()){this._renderTitle(s.getTooltip_AsString(),t)}t.close(\"path\");r+=this._aSegments[d].getValue()}}r=0;for(d=0;d0){o=this._calculateSegmentPath(n,s.getValue(),r,_,S,0);t.openStart(\"path\");t.attr(\"d\",o);t.attr(\"fill\",this._getSegmentColor(d,a,e));t.attr(\"cursor\",\"pointer\");t.attr(\"data-sap-ui-idc-selection-index\",d);t.class(i.CHART_SEGMENT.CSSCLASS);if(s.getSelected()){t.class(i.CHART_SEGMENT.CSSCLASS_SELECTED)}t.openEnd();if(e._isChartEnabled()){this._renderTitle(s.getTooltip_AsString(),t)}t.close(\"path\");r+=this._aSegments[d].getValue()}}t.close(\"g\");t.close(\"svg\");t.close(\"div\")};s._renderLegend=function(t,e,a){t.openStart(\"div\");t.class(\"sapSuiteIDCLegend\");t.openEnd();for(var i=0;i0){e+=s}}return e};s._calculateCircleFraction=function(t,e){return 2*Math.PI*e/t};s._renderDisabledOverlay=function(t){t.openStart(\"div\");t.class(\"sapSuiteIDCDisabledOverlay\");t.openEnd();t.close(\"div\")};s._getAriaDescribedBy=function(t,e){var a=[];for(var i=0;i0){t=e+\":\\n\"}if(this._bNullValue){t+=this._oRb.getText(\"INTERACTIVECHART_NA\")}else{t+=this.getDisplayedValue()?this.getDisplayedValue():this.getValue()}var i=this._getSemanticColor();if(i){t+=\" \"+i}return t};o.prototype._getSemanticColor=function(){var t=this.getColor();var e=this.getParent();if(e&&e._bSemanticTooltip){return this._oRb.getText(\"SEMANTIC_COLOR_\"+t.toUpperCase())}return\"\"};o.prototype._getSegmentTooltip=function(){var t=this.getTooltip_AsString();if(t&&!this._bCustomTooltip){t=t.replace(\"\\n\",\" \")}return t};return o});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/InteractiveLineChart\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/m/library\",\"sap/ui/core/Control\",\"sap/suite/ui/microchart/InteractiveLineChartPoint\",\"sap/ui/core/ResizeHandler\",\"sap/m/FlexBox\",\"sap/base/Log\",\"sap/m/IllustratedMessage\",\"./InteractiveLineChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\"],function(jQuery,t,e,i,s,a,n,r,o,l,p,d){\"use strict\";var h=i.extend(\"sap.suite.ui.microchart.InteractiveLineChart\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{displayedPoints:{type:\"int\",group:\"Appearance\",defaultValue:6},precedingPoint:{type:\"float\",group:\"Data\",defaultValue:0},succeedingPoint:{type:\"float\",group:\"Data\",defaultValue:0},selectionEnabled:{type:\"boolean\",group:\"Behavior\",defaultValue:true},showError:{type:\"boolean\",group:\"Appearance\",defaultValue:false},errorMessageTitle:{type:\"string\",group:\"Appearance\"},errorMessage:{type:\"string\",group:\"Appearance\"}},defaultAggregation:\"points\",aggregations:{points:{type:\"sap.suite.ui.microchart.InteractiveLineChartPoint\",multiple:true,bindable:\"bindable\",defaultClass:s}},events:{selectionChanged:{parameters:{selectedPoints:{type:\"sap.suite.ui.microchart.InteractiveLineChartPoint[]\"},point:{type:\"sap.suite.ui.microchart.InteractiveLineChartPoint\"},selected:{type:\"boolean\"}}},press:{}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}}},renderer:l});h.MAX_SCALED_CANVAS_VALUE=99;h.MIN_SCALED_CANVAS_VALUE=1;h.AREA_WIDTH_INTERACTIVE_MINVALUE=48;h.AREA_WIDTH_INTERACTIVE_MINVALUE_COMPACT=32;h.CHART_HEIGHT_MINVALUE=106;h.AREA_WIDTH_MINVALUE=24;h.LABEL_WIDTH_MINVALUE=32;h.AREA_WIDTH_SMALLFONT=36;h.prototype.init=function(){this._oRb=p.getLibraryResourceBundle(\"sap.suite.ui.microchart\");this._aNormalizedValues=[];this._iAreaWidthInteractiveMinValue=h.AREA_WIDTH_INTERACTIVE_MINVALUE;this._bInteractiveMode=true;this._fNormalizedZero=0;this._bThemeApplied=false;this._oIllustratedMessageControl=new o({illustrationSize:e.IllustratedMessageSize.Base,illustrationType:e.IllustratedMessageType.NoData});p.ready(this._handleCoreInitialized.bind(this))};h.prototype._handleCoreInitialized=function(){d.attachApplied(this._handleThemeApplied.bind(this))};h.prototype.onBeforeRendering=function(){this._bCompact=this._isCompact();this._bInteractiveMode=true;var t=this.getPoints();this._errorMessage=this.getErrorMessage();this._errorMessageTitle=this.getErrorMessageTitle();this._oIllustratedMessageControl.setTitle(this._errorMessageTitle);this._oIllustratedMessageControl.setDescription(this._errorMessage);this._iVisiblePointsCount=Math.min(this.getDisplayedPoints(),t.length);this._setResponsivenessData();if(!this.data(\"_parentRenderingContext\")&&typeof this.getParent===\"function\"){this.data(\"_parentRenderingContext\",this.getParent())}this._updateNormalizedValues();this._deregisterResizeHandler();this._bSemanticTooltip=false;for(var i=0;i=0){this._toggleSelected(a);i=s.index(this.$().find(\".sapSuiteILCInteractionArea[tabindex='0']\"));this._switchTabindex(i,a,s)}}else{this.firePress()}};h.prototype.onsapleft=function(t){var e=this.$().find(\".sapSuiteILCInteractionArea\");var i=e.index(t.target);if(e.length>0){this._switchTabindex(i,i-1,e)}t.preventDefault();t.stopImmediatePropagation()};h.prototype.onsapright=function(t){var e=this.$().find(\".sapSuiteILCInteractionArea\");var i=e.index(t.target);if(e.length>0){this._switchTabindex(i,i+1,e)}t.preventDefault();t.stopImmediatePropagation()};h.prototype.onsapup=h.prototype.onsapleft;h.prototype.onsapdown=h.prototype.onsapright;h.prototype.onsapenter=function(t){if(this._bInteractiveMode){var e=this.$().find(\".sapSuiteILCInteractionArea\").index(t.target);if(e!==-1){this._toggleSelected(e)}t.preventDefault();t.stopImmediatePropagation()}else{this.firePress()}};h.prototype.onsapspace=h.prototype.onsapenter;h.prototype.onsaphome=function(t){var e=this.$().find(\".sapSuiteILCInteractionArea\");var i=e.index(t.target);if(i!==0&&e.length>0){this._switchTabindex(i,0,e)}t.preventDefault();t.stopImmediatePropagation()};h.prototype.onsapend=function(t){var e=this.$().find(\".sapSuiteILCInteractionArea\");var i=e.index(t.target),s=e.length;if(i!==s-1&&s>0){this._switchTabindex(i,s-1,e)}t.preventDefault();t.stopImmediatePropagation()};h.prototype.getTooltip_AsString=function(e){if(this._isChartEnabled()){i=this._createTooltipText(e,true);if(!i&&t._isTooltipSuppressed(i)){i=null}}else{var i=this.getTooltip_Text();if(!i){i=this._createTooltipText()}else if(t._isTooltipSuppressed(i)){i=null}}return i};h.prototype.getSelectedPoints=function(){var t=[],e=this.getAggregation(\"points\");for(var i=0;i=0){e[i].setProperty(\"selected\",true,true)}else{r.warning(\"setSelectedPoints method called with invalid InteractiveLineChartPoint element\")}}}this.invalidate();return this};h.prototype._fnIsNumber=function(t){return typeof t===\"number\"&&!isNaN(t)&&isFinite(t)};h.prototype._isCompact=function(){return jQuery(\"body\").hasClass(\"sapUiSizeCompact\")||this.$().is(\".sapUiSizeCompact\")||this.$().closest(\".sapUiSizeCompact\").length>0};h.prototype._setResponsivenessData=function(){if(this._bCompact){this._iAreaWidthInteractiveMinValue=h.AREA_WIDTH_INTERACTIVE_MINVALUE_COMPACT}else{this._iAreaWidthInteractiveMinValue=h.AREA_WIDTH_INTERACTIVE_MINVALUE}};h.prototype._handleThemeApplied=function(){this._bThemeApplied=true;this._bCompact=this._isCompact();this.invalidate();d.detachApplied(this._handleThemeApplied.bind(this))};h.prototype._deselectAllSelectedPoints=function(){var t=this.getPoints();for(var e=0;e=0&&t=0&&e0){this._fNormalizedPrecedingPoint=this._bIsPrecedingPointSet&&!t[0]._bNullValue?n(this.getPrecedingPoint()):null;this._fNormalizedSucceedingPoint=this._bIsSucceedingPointSet&&!t[t.length-1]._bNullValue?n(this.getSucceedingPoint()):null}if(this.nMin<0&&this.nMax>0){this._fNormalizedZero=Math.max(0-this.nMin,0)/a*100}else{this._fNormalizedZero=null}};h.prototype._adjustToParent=function(){if(this.data(\"_parentRenderingContext\")&&this.data(\"_parentRenderingContext\")instanceof n){var t=this.data(\"_parentRenderingContext\").$();var e=parseFloat(t.width())-2;var i=parseFloat(t.height())-2;this.$().outerWidth(e);this.$().outerHeight(i)}};h.prototype._isChartEnabled=function(){return this.getSelectionEnabled()&&this._bInteractiveMode};h.prototype._switchModeInteractive=function(t){var e=this.$(),i=false;if(t0){t=n[0].getBoundingClientRect().width}if(t0};return h});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/InteractiveLineChartPoint\", [\"./library\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\"],function(t,e,i){\"use strict\";var l=e.extend(\"sap.suite.ui.microchart.InteractiveLineChartPoint\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{label:{type:\"string\",group:\"Misc\",defaultValue:null},secondaryLabel:{type:\"string\",group:\"Misc\",defaultValue:null},selected:{type:\"boolean\",group:\"Appearance\",defaultValue:false},value:{type:\"float\",group:\"Data\",defaultValue:null},displayedValue:{type:\"string\",group:\"Data\",defaultValue:null},color:{type:\"sap.m.ValueColor\",group:\"Misc\",defaultValue:\"Neutral\"}}}});l.prototype.init=function(){this._bNullValue=true;this._oRb=i.getResourceBundleFor(\"sap.suite.ui.microchart\")};l.prototype.validateProperty=function(t,i){if(t===\"value\"&&(i===null||i===undefined)){this._bNullValue=true}else if(t===\"value\"){this._bNullValue=false}return e.prototype.validateProperty.apply(this,arguments)};l.prototype.getTooltip_AsString=function(){var e=this.getTooltip_Text();this._bCustomTooltip=true;if(!e){e=this._createTooltipText();this._bCustomTooltip=false}else if(t._isTooltipSuppressed(e)){e=null}return e};l.prototype._createTooltipText=function(){var t=\"\";var e=this.getLabel();if(e&&e.length>0){t=e+\":\\n\"}if(this._bNullValue){t+=this._oRb.getText(\"INTERACTIVECHART_NA\")}else{t+=this.getValue()}var i=this._getSemanticColor();if(i){t+=\" \"+i}return t};l.prototype._getSemanticColor=function(){var t=this.getColor();var e=this.getParent();if(e&&e._bSemanticTooltip){return this._oRb.getText(\"SEMANTIC_COLOR_\"+t.toUpperCase())}return\"\"};l.prototype._getAreaTooltip=function(){var t=this.getTooltip_AsString();if(t&&!this._bCustomTooltip){t=t.replace(\"\\n\",\" \")}return t};return l});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/InteractiveLineChartRenderer\", [\"sap/m/library\"],function(e){\"use strict\";var t={apiVersion:2};t.render=function(e,t){if(!t._bThemeApplied){return}if(t.getShowError()){e.openStart(\"div\",t);e.class(\"sapSuiteUiMicroChartNoData\");e.openEnd();e.renderControl(t._oIllustratedMessageControl);e.close(\"div\");return}var a=t._iVisiblePointsCount,i=100/a;e.openStart(\"div\",t);e.class(\"sapSuiteILC\");var s={};s.role=\"listbox\";s.roledescription=t._oRb.getText(\"INTERACTIVELINECHART\");s.multiselectable=true;s.disabled=!t._isChartEnabled();s.labelledby=t.getAriaLabelledBy();s.owns=this._getAriaOwns(t,a);e.accessibilityState(t,s);if(!t._isChartEnabled()){var l=t.getTooltip_AsString();if(typeof l===\"string\"||l instanceof String){e.attr(\"title\",l)}}e.openEnd();e.openStart(\"div\");e.class(\"sapSuiteILCWrapperChild\");e.attr(\"aria-hidden\",\"true\");e.openEnd();e.openStart(\"div\");e.class(\"sapSuiteILCInner\");e.openEnd();if(!t.getSelectionEnabled()){this._renderDisabledOverlay(e,t)}this._renderChartCanvas(e,t,a,i);e.openStart(\"div\");e.class(\"sapSuiteILCBottomLabelArea\");if(t._fNormalizedZero){e.class(\"sapSuiteILCBottomLabelAreaNoDivider\")}e.openEnd();e.close(\"div\");e.openStart(\"div\");e.class(\"sapSuiteILCInteraction\");e.openEnd();for(var n=0;n0&&!t.getPoints()[a-1]._bNullValue){o.push((t._aNormalizedValues[a]+t._aNormalizedValues[a-1])/2)}if(a=0){if(!(isFinite(i)&&!isNaN(parseFloat(i)))){o.warning(\"Property \"+e+\" of LineMicroChart is not numeric and it will be reset to default\");i=null}}return t.prototype.validateProperty.apply(this,[e,i])};f.prototype._getInternalLine=function(){var e=this.getAggregation(\"_line\");if(!e){e=new r;this.setAggregation(\"_line\",e)}return e};f.prototype._getLines=function(){var e=this.getAggregation(\"_line\");return e&&e._getPoints().length>0?[e]:this.getLines()};f.prototype._setModeFlags=function(){var e;this._minXScale=Infinity;this._maxXScale=-Infinity;if(this._bThresholdNull){this._minYScale=Infinity;this._maxYScale=-Infinity}else{this._minYScale=this._maxYScale=this.getThreshold()}this._getLines().forEach(function(t){e=t._getPoints();t._bFocusMode=false;t._bSemanticMode=false;for(var i=0;it){o.error(\"Property minXValue of LineMicroChart must be smaller to at least one X value of the points aggregation if property maxXValue is not set\")}}if(Number.isFinite(Number(this.getMaxXValue()))){this._maxXScale=this.getMaxXValue();if(!Number.isFinite(Number(this.getMinXValue()))&&this._maxXScalea){o.error(\"Property minYValue of LineMicroChart must be greater to threshold or at least one Y value of the points aggregation if property maxYValue is not set\")}}if(Number.isFinite(Number(this.getMaxYValue()))){this._maxYScale=this.getMaxYValue();if(!Number.isFinite(Number(this.getMinYValue()))&&this._maxYScale=0&&l>=0;if(this._bScalingValid){this._getLines().forEach(function(e){s=e._getPoints();e._aNormalizedPoints=[];for(var t=0;tt){s=t-a}i.css(\"top\",s*100/t+\"%\")};f.prototype._getAltHeaderText=function(e){var t=this._oRb.getText(\"LINEMICROCHART\");if(e){t+=\" \"+this._oRb.getText(\"IS_ACTIVE\")}t+=\"\\n\";if(!this._hasData()){t+=this._oRb.getText(\"NO_DATA\");return t}var i=this.getLeftTopLabel();var a=this.getLeftBottomLabel();var o=this.getRightTopLabel();var s=this.getRightBottomLabel();var r=true;if(i||a){t+=this._oRb.getText(\"LINEMICROCHART_START\")+\": \"+a+\" \"+i;r=false}if(o||s){t+=(r?\"\":\"\\n\")+this._oRb.getText(\"LINEMICROCHART_END\")+\": \"+s+\" \"+o}return t};f.prototype._addTitleAttribute=function(){if(!this.$().attr(\"title\")&&this._hasData()){this.$().attr(\"title\",this.getTooltip_AsString())}};f.prototype._removeTitleAttribute=function(){if(this.$().attr(\"title\")){this.$().removeAttr(\"title\")}};f.prototype._bindMouseEnterLeaveHandler=function(){this.$().on(\"mouseenter.tooltip\",this._addTitleAttribute.bind(this));this.$().on(\"mouseleave.tooltip\",this._removeTitleAttribute.bind(this))};f.prototype._unbindMouseEnterLeaveHandler=function(){this.$().off(\"mouseenter.tooltip\");this.$().off(\"mouseleave.tooltip\")};f.prototype._deregisterResizeHandler=function(){if(this._sResizeHandlerId){i.deregister(this._sResizeHandlerId);this._sResizeHandlerId=null}};f.prototype._hasData=function(){return this._getLines().length>0};f.prototype.firePress=function(){if(this._hasData()){t.prototype.fireEvent.call(this,\"press\",arguments)}};s.extendMicroChart(f);return f});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/LineMicroChartEmphasizedPoint\", [\"sap/suite/ui/microchart/MicroChartUtils\",\"./library\",\"sap/suite/ui/microchart/LineMicroChartPoint\"],function(r,t,e){\"use strict\";const i=t.MicroChartColorType;var a=e.extend(\"sap.suite.ui.microchart.LineMicroChartEmphasizedPoint\",{metadata:{properties:{color:{group:\"Misc\",type:\"string\",defaultValue:i.Neutral},show:{type:\"boolean\",group:\"Appearance\",defaultValue:false}}}});r.extendMicroChartSetColor(a);return a});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/LineMicroChartLine\", [\"./library\",\"sap/ui/core/Element\",\"sap/suite/ui/microchart/LineMicroChartEmphasizedPoint\",\"sap/base/Log\",\"sap/suite/ui/microchart/MicroChartUtils\",\"./LineMicroChartPoint\"],function(t,e,r,o,i,a){\"use strict\";var n=t.LineType;var p=e.extend(\"sap.suite.ui.microchart.LineMicroChartLine\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{color:{type:\"any\",group:\"Appearance\"},showPoints:{type:\"boolean\",group:\"Appearance\"},type:{type:\"sap.suite.ui.microchart.LineType\",group:\"Appearance\",defaultValue:n.Solid}},defaultAggregation:\"points\",aggregations:{points:{type:\"sap.suite.ui.microchart.LineMicroChartPoint\",multiple:true,bindable:\"bindable\",defaultClass:a}}}});p.getMetadata().getAllAggregations()[\"points\"]._doesNotRequireFactory=true;p.prototype.bindAggregation=function(t,r){if(t===\"points\"){if(!r.factory&&!r.template){this._bNoFactory=true}}e.prototype.bindAggregation.apply(this,arguments)};p.prototype.updatePoints=function(t){if(!this._bNoFactory){return this.updateAggregation(\"points\")}else{this.invalidate()}};p.prototype.clone=function(){var t=e.prototype.clone.apply(this,arguments);t._bNoFactory=this._bNoFactory;return t};p.prototype._getPoints=function(){var t=this;if(!this._bNoFactory){var e=this.getAggregation(\"points\");return e===null?[]:e}return this.getBinding(\"points\").getContexts().map(function(e){return{getX:function(){return e.getProperty(\"x\")},getY:function(){return e.getProperty(\"y\")},getShow:function(){return e.getProperty(\"show\")?e.getProperty(\"show\"):t._getEmphPointPropDefaultValue(\"show\")},getColor:function(){return e.getProperty(\"color\")?e.getProperty(\"color\"):t._getEmphPointPropDefaultValue(\"color\")},getMetadata:function(){return{getName:function(){return e.getProperty(\"emphasized\")?\"sap.suite.ui.microchart.LineMicroChartEmphasizedPoint\":\"sap.suite.ui.microchart.LineMicroChartPoint\"}}}}})};p.prototype._getEmphPointPropDefaultValue=function(t){return r.getMetadata().getProperty(t).getDefaultValue()};p.prototype.getColor=function(){var t=this.getProperty(\"color\"),e=this.getParent();if(t===undefined||t===null){if(e&&e.isA(\"sap.suite.ui.microchart.LineMicroChart\")){t=e.getColor()}}return t};p.prototype.validateProperty=function(t,r){if(r===null||r===undefined){return e.prototype.validateProperty.apply(this,[t,null])}if(t===\"color\"&&!this.isColorCorrect(r)){o.warning(\"Color property of LineMicroChartLine must be of type sap.m.ValueCSSColor either as single value or as composite value (above: value, below: value)\");r=null}return e.prototype.validateProperty.apply(this,[t,r])};p.prototype.getShowPoints=function(){var t=this.getParent(),e=this.getProperty(\"showPoints\");if(e===undefined||e===null){if(t&&t.isA(\"sap.suite.ui.microchart.LineMicroChart\")){e=t.getShowPoints()}}return e};i.extendMicroChart(p);return p});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/LineMicroChartPoint\", [\"sap/ui/core/Element\"],function(t){\"use strict\";var e=t.extend(\"sap.suite.ui.microchart.LineMicroChartPoint\",{metadata:{properties:{x:{type:\"float\",group:\"Data\",defaultValue:0},y:{type:\"float\",group:\"Data\",defaultValue:0}}}});return e});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/LineMicroChartRenderer\", [\"./library\",\"sap/ui/core/theming/Parameters\",\"sap/suite/ui/microchart/MicroChartRenderUtils\"],function(e,t,s){\"use strict\";var i={apiVersion:2};var o=e.LineType;const a=e.MicroChartColorType;i.QUALITATIVE_COLOR_CLASS=\"sapChart_Sequence_\";i.QUALITATIVE_CLASS=\"Sequence\";i.QUALITATIVE_MAX=13;i.render=function(e,t){if(t._hasData()){e.openStart(\"div\",t);this._writeMainProperties(e,t);if(t._bSemanticMode){e.class(\"sapSuiteLMCSemanticMode\")}if(t._bFocusMode){e.class(\"sapSuiteLMCFocusMode\")}if(t._bNoBottomLabels||!t.getShowBottomLabels()){e.class(\"sapSuiteLMCNoBottomLabels\")}if(t._bNoTopLabels||!t.getShowTopLabels()){e.class(\"sapSuiteLMCNoTopLabels\")}e.openEnd();e.openStart(\"div\");e.class(\"sapSuiteLMCVerticalAlignmentContainer\");e.openEnd();this._renderLabelsTop(e,t);e.openStart(\"div\");e.class(\"sapSuiteLMCContentWrapper\");e.openEnd();this._renderCanvas(e,t);this._renderThresholdLabel(e,t);e.close(\"div\");this._renderLabelsBottom(e,t);e.close(\"div\");e.close(\"div\")}else{this._renderNoData(e,t)}};i._writeMainProperties=function(e,t){var s=t.hasListeners(\"press\");this._renderActiveProperties(e,t);var i=t.getTooltip_AsString(s);e.attr(\"role\",\"figure\");if(t.getAriaLabelledBy().length){e.accessibilityState(t)}else{e.attr(\"aria-label\",i)}e.class(\"sapSuiteLMC\");e.class(\"sapSuiteLMCSize\"+t.getSize());e.style(\"width\",t.getWidth());e.style(\"height\",t.getHeight())};i._renderCanvas=function(e,t){var s;var i;e.openStart(\"div\");e.class(\"sapSuiteLMCSvgCanvas\");e.openEnd();if(t._bScalingValid){e.openStart(\"svg\",t.getId()+\"-sapSuiteLMCSvgElement\");e.attr(\"focusable\",\"false\");e.class(\"sapSuiteLMCSvgElement\");e.openEnd();this._renderThresholdLine(e,t);t._getLines().forEach(function(s,o){e.openStart(\"g\",s);e.openEnd();i=s._getPoints().length;for(var a=1;a0){n=o===1?n:n.slice();for(r=0;r{b(i,l)});break;case o.DEFAULT:default:Promise.resolve().then(()=>{b(i,l)});break}}};v.prototype.insertDependent=function(e,t){this.insertAggregation(\"dependents\",e,t,true);return this};v.prototype.addDependent=function(e){this.addAggregation(\"dependents\",e,true);return this};v.prototype.removeDependent=function(e){return this.removeAggregation(\"dependents\",e,true)};v.prototype.removeAllDependents=function(){return this.removeAllAggregation(\"dependents\",true)};v.prototype.destroyDependents=function(){this.destroyAggregation(\"dependents\",true);return this};function E(e){let t=null;for(let i=0;ie[1]||e[0]>t[1]){return null}else{return[Math.max(e[0],t[0]),Math.min(e[1],t[1])]}}v.prototype.isFocusable=function(){var e=this.getFocusDomRef();if(!e){return false}var t=e;var i=[[0,window.innerWidth],[0,window.innerHeight]];var n;var r;while(!n||!r){var o=t.getBoundingClientRect();n=C(i[0],[o.x,o.x+o.width]);r=C(i[1],[o.y,o.y+o.height]);if(t.assignedSlot){t=t.assignedSlot}if(t.parentElement){t=t.parentElement}else if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){t=t.parentNode.host}else{break}}var a=document.elementsFromPoint(Math.floor((n[0]+n[1])/2),Math.floor((r[0]+r[1])/2));var s=a.findIndex(function(t){return t.contains(e)});var l=a.findIndex(function(e){return e.classList.contains(\"sapUiBLy\")||e.classList.contains(\"sapUiBlockLayer\")});if(l!==-1&&s>l){return false}return jQuery(e).is(\":sapFocusable\")};function R(e){var t,i=[];t=e.parentNode;while(t){i.push({node:t,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop});t=t.parentNode}return i}function I(e){e.forEach(function(e){var t=e.node;if(t.scrollLeft!==e.scrollLeft){t.scrollLeft=e.scrollLeft}if(t.scrollTop!==e.scrollTop){t.scrollTop=e.scrollTop}})}v.prototype.focus=function(e){var t=this.getFocusDomRef(),i=[];if(!t){return}if(jQuery(t).is(\":sapFocusable\")){e=e||{};if(a.browser.safari){if(e.preventScroll===true){i=R(t)}t.focus();if(i.length>0){setTimeout(I.bind(null,i),0)}}else{t.focus(e)}}else{const e=this.getDomRef();if(document.activeElement?.closest(\".sapUiSkipFocusFail\")||e&&!e.contains(document.activeElement)){v.fireFocusFail.call(this,o.DEFAULT)}}};v.prototype.getFocusInfo=function(){return{id:this.getId()}};v.prototype.applyFocusInfo=function(e){this.focus(e);return this};v.prototype._refreshTooltipBaseDelegate=function(e){var i=this.getTooltip();if(t.isObjectA(i,\"sap.ui.core.TooltipBase\")){this.removeDelegate(i)}if(t.isObjectA(e,\"sap.ui.core.TooltipBase\")){e._currentControl=this;this.addDelegate(e)}};v.prototype.setTooltip=function(e){this._refreshTooltipBaseDelegate(e);this.setAggregation(\"tooltip\",e);return this};v.prototype.getTooltip=function(){return this.getAggregation(\"tooltip\")};v.prototype.getTooltip_AsString=function(){var e=this.getTooltip();if(typeof e===\"string\"||e instanceof String){return e}return undefined};v.prototype.getTooltip_Text=function(){var e=this.getTooltip();if(e&&typeof e.getText===\"function\"){return e.getText()}return e};var S=v.extend(\"sap.ui.core.CustomData\",{metadata:{library:\"sap.ui.core\",properties:{key:{type:\"string\",defaultValue:null},value:{type:\"any\",defaultValue:null},writeToDom:{type:\"boolean\",defaultValue:false}},designtime:\"sap/ui/core/designtime/CustomData.designtime\"}});S.prototype.setValue=function(e){this.setProperty(\"value\",e,true);var t=this.getParent();if(t&&t.getDomRef()){var i=this._checkWriteToDom(t);if(i){t.$().attr(i.key,i.value)}}return this};S.prototype._checkWriteToDom=function(t){if(!this.getWriteToDom()){return null}var i=this.getKey();var n=this.getValue();function r(e){u.errorThrows(\"CustomData with key \"+i+\" should be written to HTML of \"+t+\" but \"+e);return null}if(typeof n!=\"string\"){return r(\"the value is not a string.\")}var o=e.getType(\"sap.ui.core.ID\");if(!o.isValid(i)||i.indexOf(\":\")!=-1){return r(\"the key is not valid (must be a valid sap.ui.core.ID without any colon).\")}if(i==f.fastNavigationKey){n=/^\\s*(x|true)\\s*$/i.test(n)?\"true\":\"false\"}else if(i.indexOf(\"sap-ui\")==0){return r(\"the key is not valid (may not start with 'sap-ui').\")}return{key:\"data-\"+i,value:n}};function N(e,t){var i=e.getAggregation(\"customData\");if(i){for(var n=0;n1&&e<4&&arguments[1]!==null){u.errorThrows(\"Cannot create custom data on an already destroyed element '\"+this+\"'\");return this}return v.prototype.data.apply(this,arguments)}v.prototype.clone=function(e,t){var n=i.prototype.clone.apply(this,arguments);for(var r=0;r{try{var e=jQuery(document.activeElement);if(e.is(\":focus\")){return v.closestTo(e[0])}}catch(e){}};v.registry=y;m.attachApplied(function(e){var t=jQuery.Event(\"ThemeChanged\");t.theme=e.theme;y.forEach(function(e){t._bNoReturnValue=true;e._handleEvent(t)})});D.registerForUpdate(\"Elements\",y.all);return v});\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ElementHooks\", [],function(){\"use strict\";const n={interceptEvent:null};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ElementMetadata\", [\"sap/base/Log\",\"sap/base/util/ObjectPath\",\"sap/ui/base/ManagedObjectMetadata\",\"sap/ui/core/Lib\",\"sap/ui/core/Renderer\"],function(e,t,r,n,i){\"use strict\";var o=function(e,t){r.apply(this,arguments)};o.prototype=Object.create(r.prototype);o.prototype.constructor=o;o.uid=r.uid;o.prototype.getElementName=function(){return this._sClassName};o.prototype.getRendererName=function(){return this._sRendererName};o.prototype.getRenderer=function(){if(this._oRenderer){return this._oRenderer}var r=this.getRendererName();if(!r){return undefined}this._oRenderer=sap.ui.require(r.replace(/\\./g,\"/\"));(()=>{if(!this._oRenderer){this._oRenderer=t.get(r)}if(!this._oRenderer){e.warning(\"Synchronous loading of Renderer for control class '\"+this.getName()+\"', due to missing Renderer dependency.\",\"SyncXHR\",null,function(){return{type:\"SyncXHR\",name:r}});this._oRenderer=sap.ui.requireSync(r.replace(/\\./g,\"/\"))||t.get(r)}})();return this._oRenderer};o.prototype.applySettings=function(e){var n=e.metadata;this._sVisibility=n.visibility||\"public\";var a=Object.hasOwn(e,\"renderer\")?e.renderer||\"\":undefined;delete e.renderer;r.prototype.applySettings.call(this,e);var d=this.getParent();this._sRendererName=this.getName()+\"Renderer\";this.dnd=Object.assign({draggable:false,droppable:false},d.dnd,typeof n.dnd==\"boolean\"?{draggable:n.dnd,droppable:n.dnd}:n.dnd);if(typeof a!==\"undefined\"){if(typeof a===\"string\"){this._sRendererName=a||undefined;return}if((typeof a===\"object\"||typeof a===\"function\")&&typeof a.render===\"function\"){var s=sap.ui.require(this.getRendererName().replace(/\\./g,\"/\"));if(!s){s=t.get(this.getRendererName())}if(s===a){this._oRenderer=a;return}if(s===undefined&&typeof a.extend===\"function\"){t.set(this.getRendererName(),a);this._oRenderer=a;return}}if(typeof a===\"function\"){a={render:a}}var p;if(d instanceof o){p=d.getRenderer()}this._oRenderer=i.extend.call(p||i,this.getRendererName(),a)}};o.prototype.afterApplySettings=function(){r.prototype.afterApplySettings.apply(this,arguments);n._registerElement(this)};o.prototype.isHidden=function(){return this._sVisibility===\"hidden\"};var a=o.prototype.metaFactoryAggregation;function d(e,t,r){a.apply(this,arguments);this.dnd=Object.assign({draggable:false,droppable:false,layout:\"Vertical\"},typeof r.dnd==\"boolean\"?{draggable:r.dnd,droppable:r.dnd}:r.dnd)}d.prototype=Object.create(a.prototype);d.prototype.constructor=d;o.prototype.metaFactoryAggregation=d;o.prototype.getDragDropInfo=function(e){if(!e){return this.dnd}var t=this._mAllAggregations[e]||this._mAllPrivateAggregations[e];if(!t){return{}}return t.dnd};return o},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ElementRegistry\", [\"sap/base/Log\",\"sap/ui/base/ManagedObjectRegistry\",\"sap/ui/core/Configuration\"],(e,t,r)=>{\"use strict\";const i=function(t,i,a){if(i._sapui_candidateForDestroy){e.debug(\"destroying dangling template \"+i+\" when creating new object with same ID\");i.destroy()}else{var n=\"adding element with duplicate id '\"+t+\"'\";if(!r.getNoDuplicateIds()){e.warning(n);return}e.error(n);throw new Error(\"Error: \"+n)}};const a=t.create({onDuplicate:i});return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/EnabledPropagator\", [\"./FocusMode\"],function(e){\"use strict\";let t;var a=function(a,i){if(!this.isA||!this.isA(\"sap.ui.core.Control\")){throw new Error(\"EnabledPropagator only supports subclasses of Control\")}this._bUseEnabledPropagator=true;var s=this.getEnabled;if(s===undefined){this.getEnabled=function(){return this._bUseEnabledPropagator&&n(this)?false:this.getProperty(\"enabled\")};a=a===undefined?true:Boolean(a);if(i){this.getMetadata().addProperty(\"Enabled\",{type:\"boolean\",group:\"Behavior\",defaultValue:a})}this.getMetadata().addProperty(\"enabled\",{type:\"boolean\",group:\"Behavior\",defaultValue:a});this.getMetadata().addPublicMethods(\"getEnabled\")}else{this.getEnabled=function(){return this._bUseEnabledPropagator&&n(this)?false:s.apply(this,arguments)}}if(this.setEnabled===undefined){this.setEnabled=function(a){this.setProperty(\"enabled\",a);if(!a&&this.getDomRef()?.contains(document.activeElement)){t??=sap.ui.require(\"sap/ui/core/Element\");t?.fireFocusFail.call(this,e.RENDERING_PENDING)}return this};this.getMetadata().addPublicMethods(\"setEnabled\")}else{var r=this.setEnabled;this.setEnabled=function(a){r.apply(this,arguments);if(!a&&this.getDomRef()?.contains(document.activeElement)){t??=sap.ui.require(\"sap/ui/core/Element\");t?.fireFocusFail.call(this,e.RENDERING_PENDING)}return this}}this.useEnabledPropagator=function(e){this._bUseEnabledPropagator=e};this.getMetadata().addPublicMethods(\"useEnabledPropagator\")};a.updateDescendants=function(e){e.isActive()&&e.findElements(true,function(e){if(e._bUseEnabledPropagator&&e.bOutput==true){e.invalidate()}})};function n(e){let t;for(t=e.getParent();t&&!t.getEnabled&&t.getParent;t=t.getParent()){}return t&&t.getEnabled&&!t.getEnabled()}return a},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/EventBus\", [\"sap/ui/base/Object\",\"sap/ui/base/EventProvider\",\"sap/base/assert\",\"sap/base/Log\"],function(e,t,n,s){\"use strict\";let i;var r=e.extend(\"sap.ui.core.EventBus\",{constructor:function(){e.apply(this);this._mChannels={};this._defaultChannel=new t;this._bIsSuspended=false}});r.prototype.subscribe=function(e,t,s,i){if(typeof t===\"function\"){i=s;s=t;t=e;e=null}n(!e||typeof e===\"string\",\"EventBus.subscribe: sChannelId must be empty or a non-empty string\");n(typeof t===\"string\"&&t,\"EventBus.subscribe: sEventId must be a non-empty string\");n(typeof s===\"function\",\"EventBus.subscribe: fnFunction must be a function\");n(!i||typeof i===\"object\",\"EventBus.subscribe: oListener must be empty or an object\");var r=o(this,e);r.attachEvent(t,s,i);return this};r.prototype.subscribeOnce=function(e,t,n,s){if(typeof t===\"function\"){s=n;n=t;t=e;e=null}function i(){this.unsubscribe(e,t,i,undefined);n.apply(s||this,arguments)}return this.subscribe(e,t,i,undefined)};r.prototype.unsubscribe=function(e,s,i,r){if(typeof s===\"function\"){r=i;i=s;s=e;e=null}n(!e||typeof e===\"string\",\"EventBus.unsubscribe: sChannelId must be empty or a non-empty string\");n(typeof s===\"string\"&&s,\"EventBus.unsubscribe: sEventId must be a non-empty string\");n(typeof i===\"function\",\"EventBus.unsubscribe: fnFunction must be a function\");n(!r||typeof r===\"object\",\"EventBus.unsubscribe: oListener must be empty or an object\");var o=u(this,e);if(!o){return this}o.detachEvent(s,i,r);if(o!=this._defaultChannel){var a=t.getEventList(o);var p=true;for(var l in a){if(o.hasListeners(l)){p=false;break}}if(p){delete this._mChannels[e]}}return this};r.prototype.publish=function(e,i,r){if(arguments.length==1){r=null;i=e;e=null}else if(arguments.length==2){if(typeof i!=\"string\"){r=i;i=e;e=null}}if(this._bIsSuspended){s.warning(\"Failed to publish into channel '\"+e+\"'.\"+\" The EventBus is suspended.\",e+\"#\"+i,\"sap.ui.core.EventBus\");return}r=r?r:{};n(!e||typeof e===\"string\",\"EventBus.publish: sChannelId must be empty or a non-empty string\");n(typeof i===\"string\"&&i,\"EventBus.publish: sEventId must be a non-empty string\");n(typeof r===\"object\",\"EventBus.publish: oData must be an object\");var o=u(this,e);if(!o){if(s.isLoggable(s.Level.DEBUG,\"sap.ui.core.EventBus\")){s.debug(\"Failed to publish into channel '\"+e+\"'.\"+\" No such channel.\",e,\"sap.ui.core.EventBus\")}return}var a=t.getEventList(o)[i];if(Array.isArray(a)){a=a.slice();var p;for(var l=0,c=a.length;l{if(!i){i=new r;i.destroy=()=>{s.error(\"Global EventBus cannot be destroyed!\")}}return i};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/FocusHandler\", [\"../base/EventProvider\",\"../base/Object\",\"sap/base/Log\",\"sap/ui/core/UIAreaRegistry\",\"sap/ui/thirdparty/jquery\",\"sap/ui/dom/_ready\"],function(t,o,e,n,jQuery,r){\"use strict\";var s;var u;var i;var a=new t;var c=\"focusInfo\";var l={};var f=o.extend(\"sap.ui.core.FocusHandler\",{constructor:function(){o.apply(this);this.oCurrent=null;this.oLast=null;this.aEventQueue=[];this.oLastFocusedControlInfo=null;this.oPatchingControlFocusInfo=null;this.fnEventHandler=this.onEvent.bind(this);r().then(function(){var t=document.body;t.addEventListener(\"focus\",this.fnEventHandler,true);t.addEventListener(\"blur\",this.fnEventHandler,true);e.debug(\"FocusHandler setup on Root \"+t.type+(t.id?\": \"+t.id:\"\"),null,\"sap.ui.core.FocusHandler\")}.bind(this))}});f.prototype.getControlFocusInfo=function(t){var o;s??=sap.ui.require(\"sap/ui/core/Element\");t=t||s?.getActiveElement()?.getId();if(!t){return null}o=p(t);if(o){return{id:t,control:o,info:o.getFocusInfo(),type:o.getMetadata().getName(),focusref:o.getFocusDomRef()}}return null};f.prototype.storePatchingControlFocusInfo=function(t){var o=document.activeElement;if(!o||!t.contains(o)){this.oPatchingControlFocusInfo=null}else{this.oPatchingControlFocusInfo=this.getControlFocusInfo();if(this.oPatchingControlFocusInfo){this.oPatchingControlFocusInfo.patching=true}}};f.prototype.getPatchingControlFocusInfo=function(){return this.oPatchingControlFocusInfo};f.prototype.updateControlFocusInfo=function(t){if(t&&this.oLastFocusedControlInfo&&this.oLastFocusedControlInfo.control===t){var o=t.getId();this.oLastFocusedControlInfo=this.getControlFocusInfo(o);e.debug(\"Update focus info of control \"+o,null,\"sap.ui.core.FocusHandler\")}};f.prototype.addFocusInfoExtender=function(t,o){a.attachEvent(c,l,t,o);return this};f.prototype.removeFocusInfoExtender=function(t,o){a.detachEvent(c,t,o);return this};f.prototype.restoreFocus=function(t){var o=t||this.oLastFocusedControlInfo;if(!o){return}var n=p(o.id);var r=o.focusref;if(n&&o.info&&n.getMetadata().getName()==o.type&&(o.patching||n.getFocusDomRef()!=r&&(t||n!==o.control||o.preserved))){e.debug(\"Apply focus info of control \"+o.id,null,\"sap.ui.core.FocusHandler\");o.control=n;this.oLastFocusedControlInfo=o;delete this.oLastFocusedControlInfo.patching;l.info=o.info;a.fireEvent(c,{domRef:n.getDomRef()});n.applyFocusInfo(l.info);Object.keys(l).forEach(function(t){delete l[t]})}else{e.debug(\"Apply focus info of control \"+o.id+\" not possible\",null,\"sap.ui.core.FocusHandler\")}};f.prototype.destroy=function(t){var o=t.data.oRootRef;if(o){o.removeEventListener(\"focus\",this.fnEventHandler,true);o.removeEventListener(\"blur\",this.fnEventHandler,true)}};f.prototype.onEvent=function(t){var o=jQuery.event.fix(t);e.debug(\"Event \"+o.type+\" reached Focus Handler (target: \"+o.target+(o.target?o.target.id:\"\")+\")\",null,\"sap.ui.core.FocusHandler\");var n=o.type==\"focus\"||o.type==\"focusin\"?\"focus\":\"blur\";this.aEventQueue.push({type:n,controlId:d(o.target)});if(this.aEventQueue.length==1){this.processEvent()}};f.prototype.processEvent=function(){var t=this.aEventQueue[0];if(!t){return}try{if(t.type==\"focus\"){this.onfocusEvent(t.controlId)}else if(t.type==\"blur\"){this.onblurEvent(t.controlId)}}finally{this.aEventQueue.shift();if(this.aEventQueue.length>0){this.processEvent()}}};f.prototype.onfocusEvent=function(t){var o=p(t);if(o){this.oLastFocusedControlInfo=this.getControlFocusInfo(t);e.debug(\"Store focus info of control \"+t,null,\"sap.ui.core.FocusHandler\")}this.oCurrent=t;if(!this.oLast){return}if(this.oLast!=this.oCurrent){h(this.oLast,t)}this.oLast=null};f.prototype.onblurEvent=function(t){if(!this.oCurrent){return}this.oLast=t;this.oCurrent=null;setTimeout(this[\"checkForLostFocus\"].bind(this),0)};f.prototype.checkForLostFocus=function(){if(this.oCurrent==null&&this.oLast!=null){h(this.oLast,null)}this.oLast=null};f.prototype.trackFocusForPreservedElement=function(t){if(t.contains(document.activeElement)&&this.oLastFocusedControlInfo&&document.activeElement===this.oLastFocusedControlInfo.focusref){this.oLastFocusedControlInfo.preserved=true}};var d=function(t){var o=jQuery(t).closest(\"[data-sap-ui]\").attr(\"id\");if(o){return o}return null};var h=function(t,o){var e=p(t);if(e){var n=jQuery.Event(\"sapfocusleave\");n.target=e.getDomRef();var r=p(o);n.relatedControlId=r?r.getId():null;n.relatedControlFocusInfo=r?r.getFocusInfo():null;u=u||sap.ui.require(\"sap/ui/core/UIArea\");if(u){var s=e.getUIArea();var a=null;if(s){a=s}else{i=i||sap.ui.require(\"sap/ui/core/StaticArea\");if(i){var c=i.getDomRef();if(c.contains(n.target)){a=i.getUIArea()}}}if(a){a._handleEvent(n)}}}};function p(t){var o;if(!s){s=sap.ui.require(\"sap/ui/core/Element\")}if(s){o=s.getElementById(t)}return o||null}return new f});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/FocusMode\", [],function(){\"use strict\";const n={SYNC:\"sync\",RENDERING_PENDING:\"rendering_pending\",DEFAULT:\"default\"};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/IntervalTrigger\", [\"../base/Object\",\"./EventBus\",\"sap/base/assert\"],function(e,t,i){\"use strict\";var n=\"sapUiIntervalTrigger-event\";var s=e.extend(\"sap.ui.core.IntervalTrigger\",{constructor:function(i){e.apply(this);this._oEventBus=new t;this._delayedCallId=null;this._trigger=r.bind(this);this._iInterval=0;if(i){this.setInterval(i)}}});var r=function(){if(this._delayedCallId){clearTimeout(this._delayedCallId);this._delayedCallId=null}var e=this._oEventBus._defaultChannel.hasListeners(n);if(this._iInterval>0&&e){this._oEventBus.publish(n);this._delayedCallId=setTimeout(this._trigger,this._iInterval)}};s.prototype.destroy=function(){e.prototype.destroy.apply(this,arguments);if(this._delayedCallId){clearTimeout(this._delayedCallId);this._delayedCallId=null}delete this._trigger;this._oEventBus.destroy();delete this._oEventBus};s.prototype.setInterval=function(e){i(typeof e===\"number\",\"Interval must be an integer value\");if(this._iInterval!==e){this._iInterval=e;this._trigger()}};s.prototype.addListener=function(e,t){this._oEventBus.subscribe(n,e,t);this._trigger()};s.prototype.removeListener=function(e,t){this._oEventBus.unsubscribe(n,e,t)};s.prototype.getInterface=function(){return this};var a=function(){var e=new s(200);a=function(){return e};return e};s.addListener=function(e,t){a().addListener(e,t)};s.removeListener=function(e,t){a().removeListener(e,t)};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/InvisibleRenderer\", [],function(){\"use strict\";var e={apiVersion:2};e.PlaceholderPrefix=\"sap-ui-invisible-\";e.createInvisiblePlaceholderId=function(e){return this.PlaceholderPrefix+e.getId()};e.getDomRef=function(e){return document.getElementById(this.createInvisiblePlaceholderId(e))};e.render=function(e,i,r){var t=this.createInvisiblePlaceholderId(i);r=r||\"span\";e.openStart(r,t);e.attr(\"data-sap-ui\",t);e.attr(\"aria-hidden\",\"true\");e.class(\"sapUiHiddenPlaceholder\");e.openEnd(true);e.close(r)};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/LabelEnablement\", [\"../base/ManagedObject\",\"sap/base/assert\"],function(e,t){\"use strict\";var r={};const n={};var i;function a(e,t){if(!e){return null}i??=sap.ui.require(\"sap/ui/core/Element\");var r=i.getElementById(e);if(r&&t&&(!r.isA(\"sap.ui.core.Control\")||r.getDomRef())){r.invalidate()}return r}function l(e,t){const r=e.getLabelFor()||e._sAlternativeId||\"\";const n={controlId:r};i??=sap.ui.require(\"sap/ui/core/Element\");const a=i.getElementById(r);if(a&&typeof a.getIdForLabel===\"function\"){const l=a.getIdForLabel();if(l!==a.getId()){const o=document.getElementById(l);if(!o){const r={onAfterRendering:function(e){this.removeEventDelegate(r);if(typeof t===\"function\"&&!e.bIsDestroyed){t(e)}}.bind(a,e)};a.addEventDelegate(r)}else{const e=i.closestTo(o);const t=e.getId();if(t!==r){n.innerControlId=t}}}}return n}function o(e,t,i){var s=e.getId();var u=e.__sLabeledControl;var d=t?null:l(e,e=>{if(!i){o(e,false,true)}});if(d&&u===d.controlId&&d.innerControlId===n[d.controlId]){return}if(!t){e.invalidate()}if(d?.controlId){e.__sLabeledControl=d.controlId}else{delete e.__sLabeledControl}var f;if(u){f=r[u];if(f){const e=n[u];f=f.filter(function(e){return e!=s});if(f.length){r[u]=f;if(e){r[e]=f}}else{delete r[u];if(e){delete r[e];delete n[u]}}}}if(d?.controlId){f=r[d.controlId]||[];f.push(s);r[d.controlId]=f;if(d.innerControlId){r[d.innerControlId]=f;n[d.controlId]=d.innerControlId}else{const e=n[d.controlId];if(e){delete r[e];delete n[d.controlId]}}}var c=a(u,true);var g=a(d?.controlId,true);if(c){e.detachRequiredChange(c)}if(g){e.attachRequiredChange(g)}}function s(e){if(!e){throw new Error(\"sap.ui.core.LabelEnablement cannot enrich null\")}var t=e.getMetadata();if(!t.isInstanceOf(\"sap.ui.core.Label\")){throw new Error(\"sap.ui.core.LabelEnablement only supports Controls with interface sap.ui.core.Label\")}var r=t.getAssociation(\"labelFor\");if(!r||r.multiple){throw new Error(\"sap.ui.core.LabelEnablement only supports Controls with a to-1 association 'labelFor'\")}}function u(e){if(!e){return true}if(e.isA(\"sap.ui.core.ILabelable\")){return e.hasLabelableHTMLElement()}return true}var d={};d.writeLabelForAttribute=function(e,t){if(!t){return}const r=l(t,e=>{e.invalidate()});if(!r.controlId){return}i??=sap.ui.require(\"sap/ui/core/Element\");const n=i.getElementById(r.innerControlId||r.controlId);if(n&&typeof n.getIdForLabel===\"function\"&&u(n)){e.attr(\"for\",n.getIdForLabel())}};d.getReferencingLabels=function(e){var t=e?e.getId():null;if(!t){return[]}return r[t]||[]};d._getLabelTexts=function(e){const t={};const r=e.getFieldHelpInfo?.();if(r?.label){t.label=r.label}let n=d.getReferencingLabels(e);if(n.length){t.labelledby=n}if(e.getMetadata().getAssociation(\"ariaLabelledBy\")){n=e.getAriaLabelledBy();if(n.length){t.labelledby??=[];n.forEach(e=>{if(!t.labelledby.includes(e)){t.labelledby.push(e)}})}}if(t.labelledby?.length){t.labelledby=t.labelledby.join(\" \")}e.getParent()?.enhanceAccessibilityState?.(e,t);const a=t.label?[t.label]:[];if(t.labelledby){t.labelledby.split(\" \").forEach(e=>{const t=i.getElementById(e);if(t){const e=t.getText?.()||t.getDomRef()?.innerText;if(e){a.push(e)}}})}return a};d.isRequired=function(e){if(f(e)){return true}var t=d.getReferencingLabels(e),r;i??=sap.ui.require(\"sap/ui/core/Element\");for(var n=0;n-1};if(!n.getMetadata().getProperty(\"required\")){return}n.__orig_setRequired=n.setRequired;n.setRequired=function(e){var t=this.getRequired(),r=this.__orig_setRequired.apply(this,arguments);if(this.getRequired()!==t){a(this.__sLabeledControl,true)}return r};n.isRequired=function(){var e=a(this.getLabelForRendering(),false);return f(this)||f(e)};n.isDisplayOnly=function(){if(this.getDisplayOnly){return this.getDisplayOnly()}else{return false}};n.isWrapping=function(){if(this.getWrapping){return this.getWrapping()}else{return false}};n.disableRequiredChangeCheck=function(e){this._bNoRequiredChangeCheck=e};n.attachRequiredChange=function(e){if(e&&!this._bNoRequiredChangeCheck){if(e.getMetadata().getProperty(\"required\")){e.attachEvent(\"_change\",l,this)}this._bRequiredAttached=true}};n.detachRequiredChange=function(e){if(e&&!this._bNoRequiredChangeCheck){if(e.getMetadata().getProperty(\"required\")){e.detachEvent(\"_change\",l,this)}this._bRequiredAttached=false}};function l(e){if(e.getParameter(\"name\")==\"required\"){this.invalidate()}}n.__orig_onAfterRendering=n.onAfterRendering;n.onAfterRendering=function(e){var t;if(this.__orig_onAfterRendering){t=this.__orig_onAfterRendering.apply(this,arguments)}if(!this._bNoRequiredChangeCheck&&!this._bRequiredAttached&&this.__sLabeledControl){var r=a(this.__sLabeledControl,false);this.attachRequiredChange(r)}return t}};return d},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Lib\", [\"sap/base/assert\",\"sap/base/config\",\"sap/base/i18n/Localization\",\"sap/base/i18n/ResourceBundle\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/isPlainObject\",\"sap/base/util/LoaderExtensions\",\"sap/base/util/fetch\",\"sap/base/util/mixedFetch\",\"sap/base/util/ObjectPath\",\"sap/base/util/Version\",\"sap/base/util/array/uniqueSort\",\"sap/ui/Global\",\"sap/ui/VersionInfo\",\"sap/ui/base/DataType\",\"sap/ui/base/EventProvider\",\"sap/ui/base/Object\",\"sap/ui/base/SyncPromise\",\"sap/ui/core/_UrlResolver\",\"sap/ui/core/Supportability\"],function(e,n,t,r,i,a,s,o,u,l,c,f,d,p,h,y,g,m,b,v,_,S,j){\"use strict\";var L={};var w={};var T={};var P=new Set([\"sap.suite.ui.generic.template\",\"sap.ui.comp\",\"sap.ui.layout\",\"sap.ui.unified\"]);function O(e,n){return sap.ui.require.toUrl(e.replace(/\\./g,\"/\")+n)}function E(e,n){l.registerResourcePath(e.replace(/\\./g,\"/\"),n)}function C(e,n){var t=e.modules,r=function(e){return/^jquery\\.sap\\./.test(e)?e:e.replace(/\\./g,\"/\")};if(p(e.version||\"1.0\").compareTo(\"2.0\")<0){t={};for(var i in e.modules){t[r(i)+\".js\"]=e.modules[i]}}sap.ui.require.preload(t,e.name,n)}var x={};n.get({name:\"sapUiXxLibraryPreloadFiles\",type:n.Type.StringArray,external:true}).forEach(function(e){var n=String(e).trim().split(/\\s*:\\s*/),t=n[0],r=n[1];if(n.length===1){r=t;t=\"\"}if(/^(?:none|js|json|both)$/.test(r)){x[t]=r}});var B=[];var M;function R(e){var n=sap.ui.require(\"sap/ui/core/theming/ThemeManager\");if(!M){if(!n){M=new Promise(function(e,n){sap.ui.require([\"sap/ui/core/theming/ThemeManager\"],function(n){e(n)},n)})}else{M=Promise.resolve(n)}}if(n&&e){n.reset()}return M}var z=Symbol(\"sap.ui.core.Lib\");var A={configurable:true,enumerable:true,writable:false};function F(e){A.value=e;return A}function q(e){if(e&&typeof e===\"object\"&&!Object.isFrozen(e)){Object.freeze(e);for(var n in e){if(Object.hasOwn(e,n)){q(e[n])}}}}function $(){var e=n.get({name:\"sapUiPreloadLibCss\",type:n.Type.StringArray,external:true});if(e.length>0){if(e[0].startsWith(\"!\")){e[0]=e[0].slice(1)}if(e[0]===\"*\"){e.shift();Object.keys(L).forEach(function(n){if(!e.includes(n)){e.unshift(n)}})}}return e}var k=v.extend(\"sap.ui.core.Lib\",{constructor:function(n){v.call(this);e(typeof n===\"object\",\"A settings object must be given to the constructor of sap/ui/core/Lib\");e(typeof n.name===\"string\"&&n.name,\"The settings object that is given to the constructor of sap/ui/core/Lib must contain a 'name' property which is a non-empty string\");if(n._key!==z){throw new Error(\"The constructor of sap/ui/core/Lib is restricted to the internal usage. To get an instance of Library with name '\"+n.name+\"', use the static method 'get' from sap/ui/core/Lib instead.\")}this.name=n.name;this.namespace=n.name.replace(/\\./g,\"/\");var t=[\"dependencies\",\"types\",\"interfaces\",\"controls\",\"elements\"];t.forEach(function(e){Object.defineProperty(this,e,F([]))}.bind(this));Object.defineProperty(this,\"_resourceBundles\",{value:{},writable:true});Object.defineProperty(this,\"_loadingStatus\",{value:null,writable:true});Object.defineProperty(this,\"_settingsEnhanced\",{value:false,writable:true});Object.defineProperty(this,\"_manifestFailed\",{value:false,writable:true})},getInterface:function(){return this},isSettingsEnhanced:function(){return this._settingsEnhanced},enhanceSettings:function(e){if(this._settingsEnhanced){return this}this._settingsEnhanced=true;var n,t,r;for(n in e){t=e[n];r=undefined;if(t!==undefined){if(Array.isArray(this[n])){if(this[n].length===0){r=t}else{r=h(this[n].concat(t))}}else if(this[n]===undefined){r=t}else if(n!=\"name\"){i.warningThrows(\"library info setting ignored: \"+n+\"=\"+t)}if(r!==undefined){Object.defineProperty(this,n,F(r))}}}return this},_getFileType:function(e){var n;var t=x[this.name]||x[\"\"]||\"both\";if(e===true){n=\"json\"}else if(e===false){n=\"js\"}else{n=t}if(t!==\"both\"&&n!==\"both\"&&t!==n){n=\"none\"}return n},preload:function(e){if(e&&(e.hasOwnProperty(\"async\")||e.hasOwnProperty(\"sync\"))){i.errorThrows(\"The 'preload' function of class sap/ui/core/Lib only supports preloading a library asynchronously.\",{suffix:\"The given 'async' or 'sync' setting is ignored.\"})}if(e&&e.hasOwnProperty(\"json\")){i.errorThrows(\"The 'preload' function of class sap/ui/core/Lib only supports preloading in JS Format.\",{suffix:\"The given 'json' setting is ignored.\"})}return this._preload([\"url\",\"lazy\"].reduce(function(n,t){if(e&&e.hasOwnProperty(t)){n[t]=e[t]}return n},{}))},_preload:function(e){e=e||{};var n=this._getFileType(e.json),t=!!sap.ui.loader._.getModuleState(this.namespace+\"/library.js\"),r=k.isDepCacheEnabled();if(n===\"none\"){return e.sync?this:Promise.resolve(this)}if(this._loadingStatus==null&&e.url){E(this.name,e.url)}this._loadingStatus=this._loadingStatus||{};if(this._loadingStatus.pending){if(e.sync){if(e.lazy){return this}else if(this._loadingStatus.async){a.warning(\"request to load \"+this.name+\" synchronously while async loading is pending; this causes a duplicate request and should be avoided by caller\")}else{a.warning(\"request to load \"+this.name+\" synchronously while sync loading is pending (cycle, ignored)\");return this}}else if(this._loadingStatus.preloadFinished){return Promise.resolve(this)}}if(e.sync&&this._loadingStatus.pending===false||!e.sync&&this._loadingStatus.promise){return e.sync?this:this._loadingStatus.promise}if(e.lazy){a.debug(\"Lazy dependency to '\"+this.name+\"' encountered, loading library-preload-lazy.js\");if(e.sync){try{sap.ui.requireSync(this.namespace+\"/library-preload-lazy\")}catch(e){a.error(\"failed to load '\"+this.namespace+\"/library-preload-lazy.js\"+\"' synchronously (\"+(e&&e.message||e)+\")\")}return this}return sap.ui.loader._.loadJSResourceAsync(this.namespace+\"/library-preload-lazy.js\",true)}this._loadingStatus.pending=true;this._loadingStatus.async=!e.sync;var i;if(t){i=(e.sync?_:Promise).resolve()}else{i=n!==\"json\"?this._preloadJSFormat({fallbackToJSON:n!==\"js\",http2:r,sync:e.sync}):this._preloadJSONFormat({sync:e.sync})}this._loadingStatus.promise=i.then(function(n){n=n||this._getDependencies();this._loadingStatus.preloadFinished=true;var t=this.getManifest(),r;if(n&&n.length){if(!e.sync){n=g._getTransitiveDependencyForLibraries(n)}r=n.map(function(n){var t=k._get(n.name,true);return t._preload({sync:e.sync,lazy:n.lazy})})}else{r=[]}if(!e.sync&&t&&p(t._version).compareTo(\"1.9.0\")>=0){r.push(this.loadResourceBundle())}var i=e.sync?_.all(r):Promise.all(r);return i.then(function(){this._loadingStatus.pending=false;return this}.bind(this))}.bind(this));return e.sync?this._loadingStatus.promise.unwrap():this._loadingStatus.promise},_preloadJSFormat:function(e){e=e||{};var n=this;var t=this.namespace+(e.http2?\"/library-h2-preload\":\"/library-preload\")+(e.sync?\"\":\".js\");var r;if(e.sync){r=_.resolve().then(function(){sap.ui.requireSync(t)})}else{r=sap.ui.loader._.loadJSResourceAsync(t)}return r.catch(function(r){if(e.fallbackToJSON){var i;if(e.sync){var s=r;while(s&&s.cause){s=s.cause}i=s&&s.name===\"XHRLoadError\"}else{i=true}if(i){a.error(\"failed to load '\"+t+\"' (\"+(r&&r.message||r)+\"), falling back to library-preload.json\");return n._preloadJSONFormat({sync:e.sync})}}})},_preloadJSONFormat:function(e){e=e||{};var n=O(this.name,\"/library-preload.json\");c=f?f:c;return c(n,{headers:{Accept:c.ContentTypes.JSON}},e.sync).then(function(e){if(e.ok){return e.json().then(function(e){if(e){C(e,n);if(Array.isArray(e.dependencies)){return e.dependencies.map(function(e){return{name:e.replace(/\\.library-preload$/,\"\")}})}else{return e.dependencies}}})}else{throw Error(e.statusText||e.status)}}).catch(function(e){a.error(\"failed to load '\"+n+\"': \"+e.message)})},getManifest:function(e){if(!this.oManifest){var n=this.namespace+\"/manifest.json\";if(sap.ui.loader._.getModuleState(n)||e&&!this._manifestFailed){try{this.oManifest=l.loadResource(n,{dataType:\"json\",async:false,failOnError:!this.isSettingsEnhanced()});if(this._oManifest){q(this.oManifest)}else{this._manifestFailed=true}}catch(e){this._manifestFailed=true}}}return this.oManifest},_getDependencies:function(){var e=this.getManifest();var n=[];var t=e&&e[\"sap.ui5\"]&&e[\"sap.ui5\"].dependencies&&e[\"sap.ui5\"].dependencies.libs;if(t){return Object.keys(t).reduce(function(e,n){if(!t[n].lazy){e.push({name:n})}else if(P.has(n)){e.push({name:n,lazy:true})}return e},n)}else{return n}},_getI18nSettings:function(){var e=this.getManifest(),n;if(e&&p(e._version).compareTo(\"1.9.0\")>=0){n=e[\"sap.ui5\"]&&e[\"sap.ui5\"].library&&e[\"sap.ui5\"].library.i18n}n=this._normalizeI18nSettings(n);return n},_normalizeI18nSettings:function(e){if(e==null||e===true){e={bundleUrl:\"messagebundle.properties\"}}else if(typeof e===\"string\"){e={bundleUrl:e}}else if(typeof e===\"object\"){e=s({},e)}return e},_includeTheme:function(e,n){var t=this.name,r=$().indexOf(t)!==-1;B.push({name:t,version:this.version,variant:e,preloadedCss:r});R().then(function(r){r.includeLibraryTheme(t,e,n)})},getResourceBundle:function(e){return this._loadResourceBundle(e,true)},loadResourceBundle:function(e){return this._loadResourceBundle(e)},_loadResourceBundle:function(n,i){var a=this,s=this.getManifest(i),o=!!s,u,l,c,f;e(n===undefined||typeof n===\"string\",\"sLocale must be a string or omitted\");n=n||t.getLanguage();c=n+\"/manifest-not-available\";if(o){f=n;delete this._resourceBundles[c]}else{f=c}u=this._resourceBundles[f];if(!u||i&&u instanceof Promise){l=this._getI18nSettings();if(l){var d=O(this.name+\"/\",l.bundleUrl);w[d]=this;u=r.create({bundleUrl:d,supportedLocales:l.supportedLocales,fallbackLocale:l.fallbackLocale,locale:n,async:!i,activeTerminologies:t.getActiveTerminologies()});if(u instanceof Promise){u=u.then(function(e){a._resourceBundles[f]=e;return e})}this._resourceBundles[f]=u}}return i?u:Promise.resolve(u)}});k.getAllInstancesRequiringCss=function(){return B.slice()};k.isLoaded=function(e){return L[e]?true:false};k._get=function(e,n){var t=L[e];if(!t&&n){L[e]=t=new k({name:e,_key:z});T={}}return t};k._getByBundleUrl=function(e){if(e){if(w[e]){return w[e]}if(e in T){return undefined}var n=sap.ui.loader._.guessResourceName(e);if(n){for(var t in L){var r=L[t];if(!r.isSettingsEnhanced()){continue}if(r.namespace!==\"\"&&n.startsWith(r.namespace+\"/\")){var i=n.replace(r.namespace+\"/\",\"\");var a=r._getI18nSettings();if(a){var s=O(r.namespace,\"/\"+a.bundleUrl);i=O(r.namespace,\"/\"+i);if(i===s){w[e]=r;return r}T[e]=undefined}}}}}};k.all=function(){return k._all(false)};k._all=function(e){var n={};Object.keys(L).forEach(function(t){if(e||L[t].isSettingsEnhanced()){n[t]=L[t]}});return n};const U=Symbol(\"isProxy\");function I(e,n){const t=new WeakMap;t.set(n,`${e}.`);const r={set(e,n,i){if(u(i)&&!i[U]){const s=o(i);let u=s;if(!s){if(m._isEnumCandidate(i)){e[n]=i;const r=t.get(e);m.registerEnum(`${r}${n}`,i);a.debug(`[Library API-Version 2] If you intend to use API-Version 2 in your library, make sure to call 'sap/ui/base/DataType.registerEnum' for ${r}${n}.`)}else{const t=n.charAt(0);if(t===t.toLowerCase()&&t!==t.toUpperCase()){u=true}else{e[n]=i}}}if(u){e[n]=new Proxy(i,r);const a=`${t.get(e)}${n}.`;t.set(i,a)}}else{e[n]=i}return true},get(e,n){if(n===U){return true}return e[n]}};return r}k.init=function(n){if(!sap.ui.require(\"sap/ui/core/Core\")){throw new Error(\"Library \"+n.name+\": Library must not be used before the core is ready!\")}e(typeof n===\"object\",\"mSettings given to 'sap/ui/core/Lib.init' must be an object\");e(typeof n.name===\"string\"&&n.name,\"mSettings given to 'sap/ui/core/Lib.init' must have the 'name' property set\");var t=\"sap/ui/core/Lib.init\";a.debug(\"Analyzing Library \"+n.name,null,t);var r=k._get(n.name,true);r.enhanceSettings(n);var i=Object.create(null),s;i=d.create(n.name);let o=n.apiVersion;if(!o){o=1}const l=[1,2];if(!l.includes(o)){let e=`The library '${n.name}' has defined 'apiVersion: ${o}', which is an unsupported value. The supported values are: ${l.join(\", \")}`;e+=\" and undefined (defaults to 1).\";throw new TypeError(e)}if(o<2){const e=I(n.name,i);i=new Proxy(i,e);d.set(n.name,i)}for(s=0;s`Importing the pseudo module '${e.replace(/\\./g,\"/\")}' is deprecated.`+` To access the type '${e}', please import '${r.namespace}/library'`+p(e)+` For more information, see documentation under 'Best Practices for Loading Modules'.`);var h=e.substring(0,e.lastIndexOf(\".\"));if(d.get(h)===undefined){d.create(h)}}}(()=>{var e=r.controls.concat(r.elements);for(s=0;s=0){if(s.trim()==r){i.removeAttribute(\"aria-describedby\")}else{s=s.replace(r,\"\");i.setAttribute(\"aria-describedby\",s)}}}if(u.sOpenTimeout){clearTimeout(u.sOpenTimeout);u.sOpenTimeout=undefined}this.sCloseNowTimeout=setTimeout(this[\"closePopup\"].bind(this),this.getCloseDelay())};u.prototype.isStandardTooltip=function(t){return typeof t===\"string\"&&!!t.trim()};u.prototype.onmouseover=function(t){var o=e.closestTo(t.target),i=e.closestTo(t.currentTarget),s=e.closestTo(t.relatedTarget);if(!o){return}if(o===this){if(this.sCloseNowTimeout){clearTimeout(this.sCloseNowTimeout);this.sCloseNowTimeout=null}t.stopPropagation();t.preventDefault();return}if(i===o||!this.isStandardTooltip(o.getTooltip())){if(this.sCloseNowTimeout){clearTimeout(this.sCloseNowTimeout);this.sCloseNowTimeout=null;t.stopPropagation();t.preventDefault()}}if(s){if(s.getParent()){if(s.getParent()===i&&i===o){var r=s.getTooltip();if(!this.isStandardTooltip(r)&&(!r||!(r instanceof u))){if(this.sCloseNowTimeout){clearTimeout(this.sCloseNowTimeout);this.sCloseNowTimeout=null;t.stopPropagation();t.preventDefault()}}}}}if(this._currentControl===o||!this.isStandardTooltip(o.getTooltip())){this.removeStandardTooltips();if(u.sOpenTimeout){clearTimeout(u.sOpenTimeout)}u.sOpenTimeout=setTimeout(this[\"openPopup\"].bind(this,this._currentControl),this.getOpenDelay());t.stopPropagation();t.preventDefault()}};u.prototype.onmouseout=function(t){if(u.sOpenTimeout){clearTimeout(u.sOpenTimeout);u.sOpenTimeout=undefined}if(!this.sCloseNowTimeout){this.sCloseNowTimeout=setTimeout(this[\"closePopup\"].bind(this),this.getCloseDelay())}this.restoreStandardTooltips();t.stopPropagation();t.preventDefault()};u.prototype.closePopup=function(){var t=this._getPopup();if(this.sCloseNowTimeout){clearTimeout(this.sCloseNowTimeout)}this.sCloseNowTimeout=undefined;t.attachClosed(this.handleClosed,this);t.close();this.restoreStandardTooltips()};u.prototype.handleClosed=function(){this._getPopup().detachClosed(this.handleClosed,this);this.fireClosed()};u.prototype.openPopup=function(t){if(!this.getVisible()){return}if(t.getTooltip()!=null){if(this.sCloseNowTimeout){clearTimeout(this.sCloseNowTimeout);this.sCloseNowTimeout=null;return}var e=this._getPopup();if(e.isOpen()&&e.getContent()==this){return}var o=t.getDomRef();e.setContent(this);e.setPosition(this.getMyPosition(),this.getAtPosition(),o,this.getOffset(),this.getCollision());e.setDurations(this.getOpenDuration(),this.getCloseDuration());e.open();this.removeStandardTooltips()}};u.prototype.removeStandardTooltips=function(){var t=this._currentControl.getDomRef();if(!this.aStoredTooltips){this.aStoredTooltips=[]}else{return}var e=\"\";while(t&&!(t===document)){e=t.title;if(e){this.aStoredTooltips.push({domref:t,tooltip:e});t.title=\"\"}t=t.parentNode}if(this._currentControl.getTooltipDomRefs){var o=this._currentControl.getTooltipDomRefs();for(var i=0;i/\");e.setModel(this._oManagedObjectModel,\"$\"+this.alias);if(this.bUsesI18n){var i=this._getResourceModel();if(i){e.setModel(i,\"$\"+this.alias+\".i18n\")}}}this.setAggregation(t,e)};p.mResourceModels={};p.getLibraryResourceModel=function(e){var t=p.mResourceModels[e];if(!t){t=new n({bundleName:e+\".messagebundle\",async:true});p.mResourceModels[e]=t}return t};p.prototype._getResourceModel=function(){if(this.resourceModel){return this.resourceModel}if(this.messageBundle){this.resourceModel=new n({bundleName:this.messageBundle,async:true});return this.resourceModel}else{this.sLibraryName=this.sLibraryName||this.getMetadata().getLibraryName();if(this.sLibraryName){return p.getLibraryResourceModel(this.sLibraryName)}}};p.prototype.getResourceBundle=function(){var e=this._getResourceModel();return e?e.getResourceBundle():null};p.prototype.destroy=function(){e.prototype.destroy.apply(this,arguments);if(this.resourceModel){this.resourceModel.destroy()}if(this._oManagedObjectModel){this._oManagedObjectModel.destroy()}};p.prototype._initCompositeSupport=function(e){var t=this.getMetadata(),i=t._fragment,r=t.getCompositeAggregationName();this._destroyCompositeAggregation();if(e&&r&&e[r]){var o=e[r];if(o.localName===\"FragmentDefinition\"){i=o;delete e[r]}}var n=i?(new XMLSerializer).serializeToString(i):undefined;this.bUsesI18n=n?n.indexOf(\"$\"+this.alias+\".i18n\")!=-1:true;this._setCompositeAggregation(sap.ui.xmlfragment({sId:this.getId(),fragmentContent:i,oController:this}));this._bIsInitialized=true};p.prototype.enhanceAccessibilityState=function(e,t){var i=this.getParent();if(i&&i.enhanceAccessibilityState){i.enhanceAccessibilityState(this,t)}};p.prototype.getFocusDomRef=function(){var e=this._renderingContent?this._renderingContent():this._getCompositeAggregation();return e.getFocusDomRef()};p.prototype.getFocusInfo=function(){var e=this._renderingContent?this._renderingContent():this._getCompositeAggregation();return e.getFocusInfo()};p.prototype.getIdForLabel=function(){var e=this._renderingContent?this._renderingContent():this._getCompositeAggregation();return e.getIdForLabel()};return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/XMLCompositeMetadata\", [\"sap/ui/core/ElementMetadata\",\"sap/ui/core/XMLTemplateProcessor\",\"sap/base/Log\"],function(t,e,r){\"use strict\";var a={};var n=function(e,a){this.InvalidationMode={Render:true,None:false};if(!a.hasOwnProperty(\"renderer\")){a.renderer=\"sap.ui.core.XMLCompositeRenderer\"}if(!a.hasOwnProperty(\"alias\")){a.alias=\"this\"}t.apply(this,arguments);var n=this._bAbstract;if(!n){if(!a.fragment&&e!==\"sap.ui.core.XMLComposite\"){a.fragment=e;a.fragmentUnspecified=true}if(!this._fragment&&a.fragment){try{if(!this._fragment){if(a.fragmentContent){if(typeof a.fragmentContent===\"string\"){var o=new DOMParser;a.fragmentContent=o.parseFromString(a.fragmentContent,\"text/xml\").documentElement;if(a.fragmentContent&&a.fragmentContent.getElementsByTagName(\"parsererror\").length){var i=a.fragmentContent.getElementsByTagName(\"parsererror\")[0].innerText;throw new Error(\"There was an error parsing the XML fragment for XMLComposite '\"+e+\"'. The following message may contain hints to find the problem: \"+i)}}this._fragment=a.fragmentContent}else{this._fragment=this._loadFragment(a.fragment,\"control\")}}}catch(t){if(!a.fragmentUnspecified||t.message.startsWith(\"There was an error parsing\")){throw t}else{r.warning(\"Implicitly inferred fragment xml \"+a.fragment+\" not found. \"+e+\" is not abstract!\")}}}}this._sCompositeAggregation=a.metadata?a.metadata.compositeAggregation||null:null;this._createPrivateAggregationAccessors();this._applyAggregationSettings()};n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.uid=t.uid;n.extend=function(t){for(var e in t){n[e]=t[e]}return n};n.prototype.getCompositeAggregationName=function(){return this._sCompositeAggregation||\"_content\"};n.prototype.getFragment=function(){if(this._fragment){return this._fragment.cloneNode(true)}};n.prototype._applyAggregationSettings=function(){var t=this.getAllAggregations();for(var e in t){if(t[e].type===\"TemplateMetadataContext\"){this.getAggregation(e)._doesNotRequireFactory=true}}};n.prototype._createPrivateAggregationAccessors=function(){var t=this.getAllPrivateAggregations(),e=this.getClass().prototype,r=function(t,r){if(!e[t]){e[t]=r}};for(var a in t){t[a].generate(r)}};n.prototype._suppressInvalidate=function(t,e){if(e){return true}if(!t.appData){t.appData={};t.appData.invalidate=this.InvalidationMode.None}if(t&&t.appData&&t.appData.invalidate===this.InvalidationMode.Render){return false}return true};n.prototype.getMandatoryAggregations=function(){if(!this._mMandatoryAggregations){var t=this.getAllAggregations(),e={};for(var r in t){if(t[r].type===\"TemplateMetadataContext\"&&t[r].appData.mandatory){e[r]=t[r]}}this._mMandatoryAggregations=e}return this._mMandatoryAggregations};n.prototype._loadFragment=function(t,r){var n=r+\"$\"+t;if(!a[n]){a[n]=e.loadTemplate(t,r)}return a[n]};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/XMLTemplateProcessor\", [\"sap/ui/base/DataType\",\"sap/ui/base/BindingInfo\",\"sap/ui/core/CustomData\",\"sap/ui/core/Component\",\"sap/ui/core/ElementRegistry\",\"./mvc/View\",\"./mvc/ViewType\",\"./mvc/_ViewFactory\",\"./mvc/XMLProcessingMode\",\"./mvc/EventHandlerResolver\",\"./ExtensionPoint\",\"./StashedControlSupport\",\"sap/ui/base/SyncPromise\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/util/ObjectPath\",\"sap/base/assert\",\"sap/base/util/LoaderExtensions\",\"sap/base/util/JSTokenizer\",\"sap/base/util/each\",\"sap/base/util/isEmptyObject\",\"sap/ui/base/DesignTime\",\"sap/ui/core/Lib\"],function(e,t,n,r,i,a,o,s,u,l,c,f,d,p,g,m,v,h,w,b,y,C,A){\"use strict\";function N(n,r,i,a,o,s,u){var l=!!s;var c;var f=t.parse(r,a,true,false,false,false,o,l,u);if(l&&f){s.push(f.resolved);c=f.bindingInfo}else{c=f}if(c&&typeof c===\"object\"){return c}var d=r=typeof c===\"string\"?c:r;var g=e.getType(n);if(g){if(g instanceof e){d=g.parseValue(r,{context:a,locals:o});if(!g.isValid(d)){p.errorThrows(\"Value '\"+r+\"' is not valid for type '\"+g.getName()+\"'.\")}}}else{throw new Error(\"Property \"+i+\" has unknown type \"+n)}return typeof d===\"string\"?t.escape(d):d}function M(e){return e.localName||e.nodeName}var _=\"http://www.w3.org/1999/xhtml\";var x=\"http://www.w3.org/2000/xmlns/\";var V=\"http://www.w3.org/2000/svg\";var E=\"sap.ui.core\";var I=\"sap.ui.core.mvc\";var T=\"http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1\";var P=\"http://schemas.sap.com/sapui5/extension/sap.ui.core.support.Support.info/1\";var S=\"http://schemas.sap.com/sapui5/extension/sap.ui.core.xmlcomposite/1\";var L=\"http://schemas.sap.com/sapui5/extension/sap.ui.core.Internal/1\";var R=\"http://schemas.sap.com/sapui5/preprocessorextension/\";var X=[\"controllerName\",\"resourceBundleName\",\"resourceBundleUrl\",\"resourceBundleLocale\",\"resourceBundleAlias\"];var q=/^(?:area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/;function B(e,t){function n(t,n){var r,i=[];for(var a=0;a=0;r--){n=e[r];if(n&&n._isExtensionPoint){var i=[r,1].concat(n._aControls);Array.prototype.splice.apply(e,i)}}}return e})};function j(e,t){if(t instanceof Promise){throw new Error(`The module '${e}' returns a Promise where a control class was expected. Promises as module content are not supported. Please also refer to https://ui5.sap.com/#/topic/0cb44d7a147640a0890cefa5fd7c7f8e.`)}}function k(e){const t=/^[a-zA-Z_][a-zA-Z0-9_$]*$/;const n={throwError:false,errorMessage:\"\"};if(!e||typeof e!==\"object\"){n.errorMessage=\"core:require in XMLView can't be parsed to a valid object\";n.throwError=true;return n}for(const r of Object.keys(e)){if(!t.test(r)){n.errorMessage=`core:require in XMLView contains an invalid identifier: '${r}'`;if(!r.startsWith(\"$\")){n.throwError=true}return n}const i=e[r];if(!i||typeof i!==\"string\"){n.errorMessage=`core:require in XMLView contains an invalid value '${i}' under key '${r}'`;n.throwError=true;return n}}return n}function O(e,t){var n=e.getAttributeNS(E,\"require\"),r,i,a;if(n){try{r=w.parseJS(n)}catch(t){g.error(\"Require attribute can't be parsed on Node: \",e.nodeName);throw t}a=k(r);if(a.errorMessage){const t=`${a.errorMessage} on Node: ${e.nodeName}`;if(a.throwError){throw new Error(t)}else{p.fatalThrows(`${t}. Keys that begin with '$' are reserved by the framework.`)}}if(!y(r)){i={};if(t){return new Promise(function(e,t){var n=Object.keys(r).reduce(function(e,t){i[t]=sap.ui.require(r[t]);return e&&i[t]!==undefined},true);if(n){e(i);return}sap.ui.require(Object.values(r),function(){var t=arguments;Object.keys(r).forEach(function(e,n){i[e]=t[n]});e(i)},t)})}else{Object.keys(r).forEach(function(e){i[e]=sap.ui.requireSync(r[e])});return d.resolve(i)}}}}function $(e,t,n){var r=d.resolve();if(!y(t)){var i=[];var a;if(n){r=new Promise(function(e){a=e})}Object.keys(t).forEach(function(n){var r=t[n];r.forEach(function(t){t.targetControl=e;var n=sap.ui.require(t.providerClass);if(n){i.push(n.applyExtensionPoint(t))}else{var r=new Promise(function(e,n){sap.ui.require([t.providerClass],function(t){e(t)},n)}).then(function(e){return e.applyExtensionPoint(t)});i.push(r)}})});if(n){Promise.all(i).then(a)}}return r}function F(e,t,n){var r=n;for(var i=0;i<100;i++){var a=e.lookupNamespaceURI(r);if(a==null||a===t){return r}r=n+i}throw new Error(\"Could not find an unused namespace prefix after 100 tries, giving up\")}function H(e,h,w,k,H){var D=[],K=F(e,L,\"__ui5\"),W=O(e,H)||d.resolve(),z=e=>D.push(e);const J={$control:null,$controller:h._oContainingView.oController};const Z={openStart:function(e,t){D.push([\"openStart\",[e,t]])},voidStart:function(e,t){D.push([\"voidStart\",[e,t]])},style:function(e,t){D.push([\"style\",[e,t]])},class:function(e){D.push([\"class\",[e]])},attr:function(e,t){D.push([\"attr\",[e,t]])},openEnd:function(){D.push([\"openEnd\"])},voidEnd:function(){D.push([\"voidEnd\"])},text:function(e){D.push([\"text\",[e]])},unsafeHtml:function(e){D.push([\"unsafeHtml\",[e]])},close:function(e){D.push([\"close\",[e]])}};if(k?.settings?.requireContext){W=W.then(e=>Object.assign({},k.settings.requireContext,e))}(()=>{H=H&&!!h._sProcessingMode;g.debug(\"XML processing mode is \"+(h._sProcessingMode||\"default\")+\".\",\"\",\"XMLTemplateProcessor\")})();g.debug(\"XML will be processed \"+(H?\"asynchronously\":\"synchronously\")+\".\",\"\",\"XMLTemplateProcessor\");var G=C.isDesignModeEnabled();if(G){h._sapui_declarativeSourceInfo={xmlNode:e,xmlRootNode:h._oContainingView===h?e:h._oContainingView._sapui_declarativeSourceInfo.xmlRootNode}}if(!h.isSubView()){e.setAttributeNS(x,\"xmlns:\"+K,L)}var Q=oe(e,W);var Y=0;function ee(){for(;Y{e=m.get(n);if(e){t+=\" The control class was instead retrieved via a deprecated access to the global namespace. This fallback behavior will be removed in the next major version (2.0).\"}})();p.errorThrows(`XMLTemplateProcessor: ${t}`)}j(t,e);return e}var a=n.replace(/\\./g,\"/\");var o=sap.ui.require(a);if(!o){if(!H){o=sap.ui.requireSync(a);o=i(o,a);return o}return new Promise(function(e,t){sap.ui.require([a],function(n){try{n=i(n,a);e(n)}catch(e){t(e)}},t)})}else{j(a,o)}return o}function le(e,t,n,r,i){var a=i&&i.rootArea,o=i&&i.rootNode&&h.isSubView(),s=M(e),u=a&&(h.isA(\"sap.ui.core.Fragment\")||r&&r.name===\"content\"),l,c;const f=e.nodeType===3&&u;if(e.nodeType===1){if(e.namespaceURI===_||e.namespaceURI===V){p.warningThrows(`${h.getId()}: Using native HTML content in XMLViews is deprecated.`)}const f=e.namespaceURI===_||e.namespaceURI===V;if(f){if(a){if(r&&r.name!==\"content\"){g.error(ie(e,\"XHTML nodes can only be added to the 'content' aggregation and not to the '\"+r.name+\"' aggregation.\"));return d.resolve([])}if(i&&i.contentBound){throw new Error(ie(e,\"No XHTML or SVG node is allowed because the 'content' aggregation is bound.\"))}var m=e.namespaceURI===_;var v=e.getAttribute(\"id\");if(v!=null){v=pe(h,e)}else{v=o?h.getId():undefined}if(s===\"style\"){var b=e.attributes;var y=e.textContent;e=document.createElement(s);e.textContent=y;for(c=0;c=0){s=o.substring(u+1,o.length)}if(/^[a-z].*/.test(s)){var l=h.sViewName||h._sFragmentName||h.getId();g.warning(\"View or Fragment '\"+l+\"' contains a Control tag that starts with lower case '\"+s+\"'\",h.getId(),\"sap.ui.core.XMLTemplateProcessor#lowerCase\")}var f=ue(e.namespaceURI,o);if(f&&typeof f.then===\"function\"){return f.then(function(r){return fe(e,r,t,n)})}else{return fe(e,f,t,n)}}}function fe(e,c,m,b,C){var A=e.namespaceURI,_={},x={},V=\"\",I=[],q=null,j=null,F=e.getAttribute(\"stashed\")===\"true\",D=C&&C.rootArea,K=C&&C.rootNode,W;if(!w){e.removeAttribute(\"stashed\")}if(!c){return d.resolve([])}if(K){_.id=h.getId()}var z=c.getMetadata();var Z=z.getAllSettings();var Q=!D?O(e,H):undefined;if(Q){m=d.all([m,Q]).then(function(e){return Object.assign({},e[0],e[1])})}m=m.then(function(r){if(y(r)){r=null}W=r;var i=H?[]:undefined;if(!w){for(var a=0;a-1){f=s.namespaceURI;if(f===T){var C=M(s);I.push(new n({key:C,value:N(\"any\",m,C,h._oContainingView.oController,r,i)}))}else if(f===P){j=m}else if(f&&f.startsWith(R)){g.debug(h+\": XMLView parser ignored preprocessor attribute '\"+u+\"' (value: '\"+m+\"')\")}else if(f===L&&M(s)===\"invisible\"){d=Z.visible;if(d&&d._iKind===0&&d.type===\"boolean\"){_.visible=false}}else if(f===E||f===L||u.startsWith(\"xmlns:\")){}else{if(!q){q={}}if(!q.hasOwnProperty(s.namespaceURI)){q[s.namespaceURI]={}}q[s.namespaceURI][M(s)]=s.nodeValue;g.debug(h+\": XMLView parser encountered unknown attribute '\"+u+\"' (value: '\"+m+\"') with unknown namespace, stored as sap-ui-custom-settings of customData\")}}else if(d&&d._iKind===0){_[u]=N(d.type,m,u,h._oContainingView.oController,r,i,J)}else if(d&&d._iKind===1&&d.altTypes){if(!F){_[u]=N(d.altTypes[0],m,u,h._oContainingView.oController,r,null,J)}}else if(d&&d._iKind===2){if(!F){var v=t.parse(m,h._oContainingView.oController,false,false,false,false,r);if(v){_[u]=v}else{p.errorThrows(\"\"+h+\": aggregations with cardinality 0..n specifies a non valid BindingInfo (wrong value: \"+u+\"='\"+m+\"')\")}}}else if(d&&d._iKind===3){if(!F){_[u]=re(m)}}else if(d&&d._iKind===4){if(!F){_[u]=m.split(/[\\s,]+/g).filter(ne).map(re)}}else if(d&&d._iKind===5){if(!F){var A=[];l.parse(m).forEach(function(e){var t=l.resolveEventHandler(e,h._oContainingView.oController,r);if(t){A.push(t)}else{p.warningThrows(\"\"+h+': event handler function \"'+e+'\" is not a function or does not exist in the controller.')}});if(A.length){_[u]=A}}}else if(d&&d._iKind===-1){if(z.isA(\"sap.ui.core.mvc.View\")&&(u==\"async\"||u==\"type\"&&o[m])){_[u]=N(d.type,m,u,h._oContainingView.oController,r)}else{p.warningThrows(\"\"+h+\": setting '\"+u+\"' for class \"+z.getName()+\" (value:'\"+m+\"') is not supported\")}}else{p.assertThrows(u===\"xmlns\",h+\": encountered unknown setting '\"+u+\"' for class \"+z.getName()+\" (value:'\"+m+\"')\");if(U._supportInfo){U._supportInfo({context:e,env:{caller:\"createRegularControls\",error:true,info:\"unknown setting '\"+u+\"' for class \"+z.getName()}})}}}if(q){I.push(new n({key:\"sap-ui-custom-settings\",value:q}))}if(I.length>0){_.customData=I}}if(Array.isArray(i)){return Promise.all(i).then(function(){return r})}return r}).catch(function(t){if(!t.isEnriched){t=new Error(ie(e,t));t.isEnriched=true;g.error(t)}const n=h._sProcessingMode===u.SequentialLegacy;if(H&&!n){throw t}});var Y=B(ee,H);function ee(e,t,n){var r=n.aggregation,i=n.allAggregations,a=n.chain,o=n.closestBinding,s=n.config,u,l;if(t.nodeType===1){if(t.namespaceURI===S){_[M(t)]=t.querySelector(\"*\");return undefined}u=t.namespaceURI===A&&i&&i[M(t)];if(u){return Y(t,{aggregation:u,allAggregations:null,chain:a,closestBinding:o,config:s})}else if(r){if(t.getAttribute(\"stashed\")===\"true\"&&!w){var c=t;t=t.cloneNode();c.removeAttribute(\"stashed\");l=function(){var n=pe(h,t);f.createStashedControl({wrapperId:n,fnCreate:function(t){var n=H;if(H===false){t=true}H=!t;try{de(c,\"unstash\");let n=ee(e,c,{aggregation:r,allAggregations:i,chain:d.resolve(W),closestBinding:o});if(t){n=n.unwrap()}return n}finally{H=n}}})};se(l);t.removeAttribute(\"visible\");de(t,\"invisible\")}if(_[r.name]&&typeof _[r.name].path===\"string\"){o={aggregation:r.name,id:_.id};if(K&&r.name===\"content\"){s=s||{};s.contentBound=true}}return le(t,a,o,r,s).then(function(e){for(var t=0;t{const o=i[s];if(o.ref){if(o.shortcut){throw new TypeError(`If a command reference 'ref' is specified in the 'sap.ui5/commands' section of the manifest, the 'shortcut' property must be omitted.`)}const s=o.ref;const i=t[s];if(!i){throw new TypeError(`The given reference '${s}' in the 'sap.ui5/commands' section of the manifest is not valid.`)}o.ref=undefined;o.shortcut=i.shortcut;if(!o.description){const t=e.getResourceBundleFor(\"sap.ui.core\");o.description=i.description.replace(r,(e,r)=>t.getText(r))}}})}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/_IconRegistry\", [\"sap/ui/thirdparty/URI\",\"sap/base/i18n/ResourceBundle\",\"sap/base/Log\",\"sap/base/util/fetch\",\"sap/base/util/syncFetch\",\"sap/base/util/isPlainObject\",\"sap/ui/core/Lib\",\"sap/ui/core/Theming\",\"sap/ui/core/theming/ThemeHelper\"],function(e,t,a,r,n,o,i,s,c){\"use strict\";var l=\"SAP-icons\";var d=\"sap-icon\";var u={undefined:{config:{fontFamily:l},metadataLoaded:true,deprecatedNames:new Set([\"soccor\",\"clinical-tast-tracker\"])}};var p={undefined:{\"accidental-leave\":57344,account:57345,wrench:57346,\"windows-doors\":57347,\"washing-machine\":57348,visits:57349,video:57350,\"travel-expense\":122887,temperature:57352,task:122889,synchronize:57354,survey:122891,settings:57356,search:122893,\"sales-document\":122894,\"retail-store\":57359,refresh:57360,product:57361,present:57362,\"ppt-attachment\":57363,pool:57364,\"pie-chart\":57365,picture:57366,\"photo-voltaic\":57367,phone:57368,pending:57369,\"pdf-attachment\":122906,past:122907,\"outgoing-call\":57372,opportunity:57373,opportunities:122910,notes:57375,\"money-bills\":122912,map:57377,log:57378,\"line-charts\":57379,lightbulb:57380,leads:57381,lead:122918,laptop:57383,\"kpi-managing-my-area\":122920,\"kpi-corporate-performance\":122921,\"incoming-call\":57386,inbox:57387,\"horizontal-bar-chart\":57388,history:57389,\"heating-cooling\":57390,\"gantt-bars\":57391,future:122928,fridge:57393,fallback:57394,\"expense-report\":122931,\"excel-attachment\":57396,\"energy-saving-lightbulb\":57397,employee:57398,email:57399,edit:57400,duplicate:57401,download:57402,\"doc-attachment\":57403,dishwasher:57404,delete:57405,decline:57406,complete:122943,competitor:57408,\"collections-management\":57409,chalkboard:122946,cart:57411,card:57412,camera:57413,calendar:122950,begin:57415,basket:57416,\"bar-chart\":57417,attachment:57418,\"arrow-top\":57419,\"arrow-right\":57420,\"arrow-left\":57421,\"arrow-bottom\":57422,approvals:122959,appointment:57424,\"alphabetical-order\":122961,\"along-stacked-chart\":57426,alert:57427,addresses:57428,\"address-book\":122965,\"add-filter\":57430,\"add-favorite\":57431,add:57432,activities:122969,action:57434,accept:122971,hint:122972,group:57437,\"check-availability\":122974,\"weather-proofing\":57439,\"payment-approval\":122976,\"batch-payments\":122977,bed:57442,arobase:122979,\"family-care\":57444,favorite:57445,\"navigation-right-arrow\":57446,\"navigation-left-arrow\":57447,\"e-care\":57448,less:57449,lateness:57450,lab:57451,\"internet-browser\":57452,instance:57453,inspection:57454,\"image-viewer\":57455,home:57456,grid:57457,goalseek:57458,\"general-leave-request\":57459,\"create-leave-request\":57460,flight:57461,filter:57462,\"favorite-list\":57463,factory:57464,endoscopy:57465,\"employee-pane\":57466,\"employee-approvals\":123003,\"email-read\":57468,electrocardiogram:57469,documents:57470,decision:57471,database:57472,\"customer-history\":57473,customer:57474,\"credit-card\":57475,\"create-entry-time\":57476,contacts:57477,compare:57478,\"clinical-order\":57479,\"chain-link\":57480,\"pull-down\":57481,\"cargo-train\":57482,\"car-rental\":57483,\"business-card\":57484,\"bar-code\":57485,\"folder-blank\":57486,\"passenger-train\":57487,\"question-mark\":123024,world:57489,iphone:57490,ipad:57491,warning:57492,sort:57493,\"course-book\":57494,\"course-program\":57495,\"add-coursebook\":57496,print:57497,save:57498,play:123035,pause:57500,record:57501,response:57502,\"pushpin-on\":57503,\"pushpin-off\":57504,unfavorite:57505,\"learning-assistant\":57506,timesheet:57507,\"time-entry-request\":57508,list:57509,\"action-settings\":57510,share:57511,feed:57512,role:57513,flag:123050,post:57515,inspect:57516,\"inspect-down\":57517,\"appointment-2\":57518,\"target-group\":57519,\"marketing-campaign\":57520,notification:57521,\"message-error\":57521,comment:57522,\"shipping-status\":57523,collaborate:57524,shortcut:57525,\"lead-outdated\":123062,\"tools-opportunity\":57527,permission:57528,supplier:57529,\"table-view\":57530,\"table-chart\":57531,\"switch-views\":57532,\"e-learning\":57533,manager:57534,\"switch-classes\":57535,\"simple-payment\":123072,signature:57537,\"sales-order-item\":123074,\"sales-order\":123075,request:57540,receipt:57541,puzzle:57542,process:57543,private:57544,\"popup-window\":57545,\"person-placeholder\":57546,\"per-diem\":123083,\"paper-plane\":57548,\"paid-leave\":123085,\"pdf-reader\":123086,\"overview-chart\":57551,overlay:57552,\"org-chart\":57553,\"number-sign\":57554,\"notification-2\":57555,\"my-sales-order\":123092,meal:57557,loan:123094,\"order-status\":123095,\"customer-order-entry\":123096,performance:57561,menu:57562,\"employee-lookup\":57563,education:57564,\"customer-briefing\":57565,\"customer-and-contacts\":57566,\"my-view\":57567,accelerated:57568,\"to-be-reviewed\":57569,warning2:57570,\"feeder-arrow\":57571,\"quality-issue\":57572,\"workflow-tasks\":57573,create:57574,\"home-share\":57575,globe:123112,tags:57577,\"work-history\":57578,\"x-ray\":57579,\"wounds-doc\":57580,\"web-cam\":57581,waiver:123118,\"vertical-bar-chart\":57583,\"upstacked-chart\":57584,\"trip-report\":57585,microphone:57586,\"unpaid-leave\":123123,tree:57588,\"toaster-up\":57589,\"toaster-top\":57590,\"toaster-down\":57591,\"time-account\":57592,theater:57593,taxi:57594,\"subway-train\":57595,\"study-leave\":57596,stethoscope:57597,step:57598,sonography:57599,soccor:57600,soccer:57600,\"physical-activity\":57601,pharmacy:57602,\"official-service\":57603,\"offsite-work\":57604,\"nutrition-activity\":57605,newspaper:57606,\"monitor-payments\":123143,\"map-2\":57608,machine:57609,\"mri-scan\":57610,\"end-user-experience-monitoring\":57611,unwired:57612,\"customer-financial-fact-sheet\":123149,\"retail-store-manager\":57614,\"Netweaver-business-client\":57615,\"electronic-medical-record\":57616,\"eam-work-order\":123153,\"customer-view\":57618,\"crm-service-manager\":57619,\"crm-sales\":123156,widgets:123157,\"commission-check\":123158,\"collections-insight\":123159,\"clinical-tast-tracker\":57624,\"clinical-task-tracker\":57624,\"citizen-connect\":57625,\"cart-approval\":123162,\"capital-projects\":123163,\"bo-strategy-management\":57628,\"business-objects-mobile\":57629,\"business-objects-explorer\":57630,\"business-objects-experience\":57631,\"bbyd-dashboard\":57632,\"bbyd-active-sales\":123169,\"business-by-design\":123170,\"business-one\":123171,\"sap-box\":57636,\"manager-insight\":57637,\"accounting-document-verification\":123174,\"hr-approval\":123175,\"idea-wall\":57640,\"Chart-Tree-Map\":57641,\"cart-5\":57642,\"cart-4\":57643,wallet:57644,\"vehicle-repair\":57645,upload:57646,unlocked:57647,umbrella:57648,\"travel-request\":123185,\"travel-expense-report\":123186,\"travel-itinerary\":57651,\"time-overtime\":123188,\"thing-type\":57653,\"technical-object\":57654,tag:57655,syringe:57656,syntax:57657,suitcase:57658,simulate:57659,shield:57660,\"share-2\":57661,\"sales-quote Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/date/UniversalDate\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/date/CalendarWeekNumbering\",\"sap/ui/base/Object\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"./_Calendars\",\"./CalendarUtils\",\"./UI5Date\"],function(e,t,r,a,n,i,o,s){\"use strict\";var u=r.extend(\"sap.ui.core.date.UniversalDate\",{constructor:function(){var e=u.getClass();return this.createDate(e,arguments)}});u.UTC=function(){var e=u.getClass();return e.UTC.apply(e,arguments)};u.now=function(){return Date.now()};u.prototype.createDate=function(e,t){if(e===Date){return s.getInstance.apply(null,t)}return new e(...t)};u.getInstance=function(t,r){var a,n;if(t instanceof u){t=t.getJSDate()}if(t&&isNaN(t.getTime())){throw new Error(\"The given date object is invalid\")}if(!r){r=e.getCalendarType()}a=u.getClass(r);n=Object.create(a.prototype);n.oDate=t?s.getInstance(t):s.getInstance();n.sCalendarType=r;return n};u.getClass=function(t){if(!t){t=e.getCalendarType()}return i.get(t)};[\"getDate\",\"getMonth\",\"getFullYear\",\"getYear\",\"getDay\",\"getHours\",\"getMinutes\",\"getSeconds\",\"getMilliseconds\",\"getUTCDate\",\"getUTCMonth\",\"getUTCFullYear\",\"getUTCDay\",\"getUTCHours\",\"getUTCMinutes\",\"getUTCSeconds\",\"getUTCMilliseconds\",\"getTime\",\"valueOf\",\"getTimezoneOffset\",\"toString\",\"toDateString\",\"setDate\",\"setFullYear\",\"setYear\",\"setMonth\",\"setHours\",\"setMinutes\",\"setSeconds\",\"setMilliseconds\",\"setUTCDate\",\"setUTCFullYear\",\"setUTCMonth\",\"setUTCHours\",\"setUTCMinutes\",\"setUTCSeconds\",\"setUTCMilliseconds\"].forEach(function(e){u.prototype[e]=function(){return this.oDate[e].apply(this.oDate,arguments)}});u.prototype.getJSDate=function(){return this.oDate};u.prototype.getCalendarType=function(){return this.sCalendarType};u.prototype.getEra=function(){return u.getEraByDate(this.sCalendarType,this.oDate.getFullYear(),this.oDate.getMonth(),this.oDate.getDate())};u.prototype.setEra=function(e){};u.prototype.getUTCEra=function(){return u.getEraByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.oDate.getUTCMonth(),this.oDate.getUTCDate())};u.prototype.setUTCEra=function(e){};u.prototype.getWeek=function(e,t){return u.getWeekByDate(this.sCalendarType,this.getFullYear(),this.getMonth(),this.getDate(),e,t)};u.prototype.setWeek=function(e,t,r){var a=u.getFirstDateOfWeek(this.sCalendarType,e.year||this.getFullYear(),e.week,t,r);this.setFullYear(a.year,a.month,a.day)};u.prototype.getUTCWeek=function(e,t){return u.getWeekByDate(this.sCalendarType,this.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate(),e,t)};u.prototype.setUTCWeek=function(e,t,r){var a=u.getFirstDateOfWeek(this.sCalendarType,e.year||this.getFullYear(),e.week,t,r);this.setUTCFullYear(a.year,a.month,a.day)};u.prototype.getQuarter=function(){return Math.floor(this.getMonth()/3)};u.prototype.getUTCQuarter=function(){return Math.floor(this.getUTCMonth()/3)};u.prototype.getDayPeriod=function(){if(this.getHours()<12){return 0}else{return 1}};u.prototype.getUTCDayPeriod=function(){if(this.getUTCHours()<12){return 0}else{return 1}};u.prototype.getTimezoneShort=function(){if(this.oDate.getTimezoneShort){return this.oDate.getTimezoneShort()}};u.prototype.getTimezoneLong=function(){if(this.oDate.getTimezoneLong){return this.oDate.getTimezoneLong()}};var g=7*24*60*60*1e3;u.getWeekByDate=function(t,r,n,i,o,s){s=s||e.getCalendarWeekNumbering();l(s);o=o||new a(e.getLanguageTag());var u=this.getClass(t);var g=c(u,r,o,s);var p=new u(u.UTC(r,n,i));var T,h,C,D,d;var U=f(s,o);if(U){T=y(g,p)}else{h=r-1;C=r+1;D=c(u,h,o,s);d=c(u,C,o,s);if(p>=d){r=C;T=0}else if(p=0;s--){o=n[s];if(!o){continue}if(o._start&&i>=o._startInfo.timestamp){return s}if(o._end&&i0){n.setDate(n.getDate()+1)}i=u(n);e=e==0?1:e;i.setDate(n.getDate()+e);break;case\"WEEK\":if(e>0){n.setDate(n.getDate()+7)}i=u(n);e=e==0?1:e;i.setDate(n.getDate()+e*7);break;case\"MONTH\":if(e>0){n.setMonth(n.getMonth()+1)}i=u(n);e=e==0?1:e;i.setMonth(n.getMonth()+e);break;case\"QUARTER\":if(e>0){n.setMonth(n.getMonth()+3)}i=u(n);e=e==0?1:e;i.setMonth(n.getMonth()+e*3);break;case\"YEAR\":if(e>0){n.setFullYear(n.getFullYear()+1)}i=u(n);e=e==0?1:e;i.setFullYear(n.getFullYear()+e);break;default:throw new TypeError(\"invalid unit \"+t)}if(i.getTime()=0){jQuery(this.oDomRef).attr(\"tabindex\",this.iTabIndex)}else{jQuery(this.oDomRef).attr(\"tabindex\",this.iActiveTabIndex)}}jQuery(this.oDomRef).data(\"sap.INRoot\",this);return this};n.prototype.getRootDomRef=function(){return this.oDomRef};n.prototype.getItemDomRefs=function(){return this.aItemDomRefs};n.prototype.setItemDomRefs=function(e){s(typeof e===\"object\"&&typeof e.length===\"number\",\"aItemDomRefs must be an array of DOM elements\");this.aItemDomRefs=e;if(this.iFocusedIndex>-1){var t=e.length;if(this.iFocusedIndex>t-1){this.iFocusedIndex=t-1}var i=document.activeElement;if(i&&i!=this.aItemDomRefs[this.iFocusedIndex]){for(var o=0;o1){t-=e.getRTL()?-1:1}}else{if(h>1){t-=1}}if(t!=f){this.focusItem(t,s,a)}}return}if(!this.fireEvent(n.Events.BeforeFocus,{index:t,event:s},true)){i.info(\"Focus prevented on ID: \"+this.aItemDomRefs[this.iFocusedIndex].id,\"focusItem\",\"ItemNavigation\");return}this.setFocusedIndex(t);this.bISetFocus=true;if(s&&jQuery(this.aItemDomRefs[this.iFocusedIndex]).data(\"sap.INRoot\")){var r=jQuery(this.aItemDomRefs[this.iFocusedIndex]).data(\"sap.INRoot\");r._sFocusEvent=s.type}i.info(\"Set Focus on ID: \"+this.aItemDomRefs[this.iFocusedIndex].id,\"focusItem\",\"ItemNavigation\");this.aItemDomRefs[this.iFocusedIndex].focus({preventScroll:a});this.fireEvent(n.Events.AfterFocus,{index:t,event:s})};n.prototype.setFocusedIndex=function(e){var t;if(this.aItemDomRefs.length<0){this.iFocusedIndex=-1;return this}if(e<0){e=0}if(e>this.aItemDomRefs.length-1){e=this.aItemDomRefs.length-1}jQuery(this.oDomRef).attr(\"tabindex\",this.iTabIndex);if(this.iFocusedIndex!==-1&&this.aItemDomRefs.length>this.iFocusedIndex){jQuery(this.aItemDomRefs[this.iFocusedIndex]).attr(\"tabindex\",-1);t=jQuery(this.aItemDomRefs[this.iFocusedIndex]);if(t.data(\"sap.INRoot\")&&e!=this.iFocusedIndex){jQuery(t.data(\"sap.INRoot\").aItemDomRefs[t.data(\"sap.INRoot\").iFocusedIndex]).attr(\"tabindex\",-1)}}this.iFocusedIndex=e;var s=this.aItemDomRefs[this.iFocusedIndex];t=jQuery(this.aItemDomRefs[this.iFocusedIndex]);if(!t.data(\"sap.INRoot\")){jQuery(s).attr(\"tabindex\",this.iActiveTabIndex)}return this};n.prototype.getFocusedDomRef=function(){return this.aItemDomRefs[this.iFocusedIndex]};n.prototype.getFocusedIndex=function(){return this.iFocusedIndex};n.prototype.onfocusin=function(e){var t=e.target;var s=0;if(t==this.oDomRef){if(!this._bItemTabIndex){this.setItemsTabindex();this._bItemTabIndex=true}if(this._bMouseDownHappened){return}var i;if(jQuery(this.oDomRef).data(\"sap.INItem\")&&this._sFocusEvent&&!jQuery(this.oDomRef).data(\"sap.InNavArea\")){switch(this._sFocusEvent){case\"sapnext\":i=0;break;case\"sapprevious\":i=this.aItemDomRefs.length-1;break;default:if(this.iSelectedIndex!=-1){i=this.iSelectedIndex}else if(this.iFocusedIndex!=-1){i=this.iFocusedIndex}else{i=0}break}this._sFocusEvent=undefined}else{if(this.iSelectedIndex!=-1){i=this.iSelectedIndex}else if(this.iFocusedIndex!=-1){i=this.iFocusedIndex}else{i=0}}this.focusItem(i,e);if(this.iFocusedIndex==-1){for(s=i+1;s0){for(s=i-1;s>=0;s--){this.focusItem(s,e);if(this.iFocusedIndex==s){break}}}}e.preventDefault();e.stopPropagation()}else if(!this.bISetFocus){if(this.aItemDomRefs&&e.target!=this.aItemDomRefs[this.iFocusedIndex]){for(s=0;s-1){if(this.bTableMode){var a=this.aItemDomRefs.length/this.iColumns,h=Math.floor(t/this.iColumns),f=t%this.iColumns;if(e.keyCode==o.ARROW_DOWN){if(h1&&e.keyCode==o.ARROW_DOWN){if(t+this.iColumns>=this.aItemDomRefs.length){if(!this.bNoColumnChange){if(t%this.iColumns-1){if(this.bTableMode){var h=Math.floor(t/this.iColumns);a=t%this.iColumns;if(e.keyCode==o.ARROW_UP){if(h>0){t-=this.iColumns}}else{if(a>0){t-=1}}}else{do{if(this.iColumns>1&&e.keyCode==o.ARROW_UP){if(t-this.iColumns<0){if(!this.bNoColumnChange){a=0;if(t%this.iColumns>0){a=t%this.iColumns-1}else if(this.bCycling){a=Math.min(this.iColumns-1,this.aItemDomRefs.length-1)}if(t===0&&a===0){t=0}else{var f=Math.ceil(this.aItemDomRefs.length/this.iColumns);t=a+(f-1)*this.iColumns;if(t>=this.aItemDomRefs.length){t=t-this.iColumns}}}else{t=this.iFocusedIndex;i=true}}else{t=t-this.iColumns}}else{if(t==0){if(jQuery(this.oDomRef).data(\"sap.INItem\")){return}else if(this.bCycling){t=this.aItemDomRefs.length-1}else{t=this.iFocusedIndex;i=true}}else{t--}}if(t==this.iFocusedIndex){if(s){s=false}else{throw new Error(\"ItemNavigation has no visible/existing items and is hence unable to select the previous one\")}}}while(!this.aItemDomRefs[t]||!jQuery(this.aItemDomRefs[t]).is(\":sapFocusable\"))}this.focusItem(t,e);if(i){this.fireEvent(n.Events.BorderReached,{index:t,event:e})}e.preventDefault();e.stopPropagation()}};n.prototype.onsappreviousmodifiers=function(e){if(this.hasDisabledModifier(e)){return}this.onsapprevious(e)};n.prototype.onsappageup=function(e){if(!this.oDomRef||!this.oDomRef.contains(e.target)){return}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return}var t=0;var s=false;if(this.iPageSize>0){t=this.iFocusedIndex;if(t>-1){t=t-this.iPageSize;while(t>0&&!jQuery(this.aItemDomRefs[t]).is(\":sapFocusable\")){t--}if(t<0){if(!this.bNoColumnChange){t=0}else{t=this.iFocusedIndex;s=true}}this.focusItem(t,e)}}else if(this.bTableMode){t=this.iFocusedIndex%this.iColumns;this.focusItem(t,e)}if(s){this.fireEvent(n.Events.BorderReached,{index:t,event:e})}e.preventDefault();e.stopPropagation()};n.prototype.onsappagedown=function(e){if(!this.oDomRef||!this.oDomRef.contains(e.target)){return}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return}var t=0;var s=false;if(this.iPageSize>0){t=this.iFocusedIndex;if(t>-1){t=t+this.iPageSize;while(tthis.aItemDomRefs.length-1){if(!this.bNoColumnChange){t=this.aItemDomRefs.length-1}else{t=this.iFocusedIndex;s=true}}this.focusItem(t,e)}}else if(this.bTableMode){var i=this.aItemDomRefs.length/this.iColumns,o=this.iFocusedIndex%this.iColumns;t=(i-1)*this.iColumns+o;this.focusItem(t,e)}if(s){this.fireEvent(n.Events.BorderReached,{index:t,event:e})}e.preventDefault();e.stopPropagation()};n.prototype.onsaphome=function(e){if(!this.oDomRef||!this.oDomRef.contains(e.target)){return}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return}var t=0;var s=0;if(this.bTableMode){if(!this.bTableList&&!(e.metaKey||e.ctrlKey)){s=Math.floor(this.iFocusedIndex/this.iColumns);t=s*this.iColumns}}else{if((e.metaKey||e.ctrlKey)&&!this._bCtrlEnabled){return}if(this._bStayInRow&&!(this._bCtrlEnabled&&(e.metaKey||e.ctrlKey))&&this.iColumns>0){s=Math.floor(this.iFocusedIndex/this.iColumns);t=s*this.iColumns}else{while(!this.aItemDomRefs[t]||!jQuery(this.aItemDomRefs[t]).is(\":sapFocusable\")){t++;if(t==this.aItemDomRefs.length){return}}}}this.focusItem(t,e);e.preventDefault();e.stopPropagation()};n.prototype.onsaphomemodifiers=function(e){if(this.hasDisabledModifier(e)){return}this.onsaphome(e)};n.prototype.onsapend=function(e){if(!this.oDomRef||!this.oDomRef.contains(e.target)){return}if(this.bTableMode&&this.aItemDomRefs.indexOf(e.target)===-1){return}var t=this.aItemDomRefs.length-1;var s=0;if(this.bTableMode){if(!this.bTableList&&!(e.metaKey||e.ctrlKey)){s=Math.floor(this.iFocusedIndex/this.iColumns);t=s*this.iColumns+this.iColumns-1}}else{if((e.metaKey||e.ctrlKey)&&!this._bCtrlEnabled){return}if(this._bStayInRow&&!(this._bCtrlEnabled&&(e.metaKey||e.ctrlKey))&&this.iColumns>0){s=Math.floor(this.iFocusedIndex/this.iColumns);t=(s+1)*this.iColumns-1;if(t>=this.aItemDomRefs.length){t=this.aItemDomRefs.length-1}}else{while(!this.aItemDomRefs[t]||!jQuery(this.aItemDomRefs[t]).is(\":sapFocusable\")){t--;if(t<0){return}}}}this.focusItem(t,e);e.preventDefault();e.stopPropagation()};n.prototype.onsapendmodifiers=function(e){if(this.hasDisabledModifier(e)){return}this.onsapend(e)};n.prototype.setTabIndex0=function(){this.iTabIndex=0;this.iActiveTabIndex=0};n.prototype.onkeyup=function(e){if(e.keyCode==o.F2){var t=jQuery(this.oDomRef);if(t.data(\"sap.InNavArea\")){t.data(\"sap.InNavArea\",false)}else if(t.data(\"sap.InNavArea\")===false){t.data(\"sap.InNavArea\",true)}e.preventDefault();e.stopPropagation()}};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/delegate/ScrollEnablement\", [\"sap/base/i18n/Localization\",\"sap/ui/Device\",\"sap/ui/base/Object\",\"sap/ui/core/IntervalTrigger\",\"sap/ui/core/ResizeHandler\",\"sap/ui/thirdparty/jquery\",\"sap/ui/events/KeyCodes\",\"sap/ui/core/Element\"],function(t,i,o,e,s,jQuery,l,r){\"use strict\";var n=o.extend(\"sap.ui.core.delegate.ScrollEnablement\",{constructor:function(t,i,e){o.apply(this);this._oControl=t;this._oControl.addDelegate(this,e.callBefore);this._sContentId=i;this._sContainerId=e.scrollContainerId;this._bHorizontal=!!e.horizontal;this._bVertical=!!e.vertical;this._scrollX=0;this._scrollY=0;this._scrollCoef=.9;this._iLastMaxScrollTop=0;this._iScrollPaddingTop=0;c(this);if(this._init){this._init.apply(this,arguments)}},setHorizontal:function(t){this._bHorizontal=!!t;this._setOverflow&&this._setOverflow()},setVertical:function(t){this._bVertical=!!t;this._setOverflow&&this._setOverflow()},getHorizontal:function(){return this._bHorizontal},getVertical:function(){return this._bVertical},setBounce:function(t){},setPullDown:function(t){this._oPullDown=t;return this},setGrowingList:function(t,i,o){this._fnScrollLoadCallback=t;this._sScrollLoadDirection=i;this.onOverflowChange(o);return this},onOverflowChange:function(t){this._fnOverflowChangeCallback=t;if(!this._fnOverflowChangeCallback){this._deregisterOverflowMonitor()}},setOnAfterScrollToElement:function(t){this._fnAfterScrollToElement=t},setIconTabBar:function(t,i,o){this._oIconTabBar=t;if(i){this._fnScrollEndCallback=i.bind(t)}if(o){this._fnScrollStartCallback=o.bind(t)}return this},setScrollPaddingTop:function(t){if(typeof t===\"number\"){this._iScrollPaddingTop=t}},scrollTo:function(t,i,o,e){this._scrollX=t;this._scrollY=i;this._scrollTo(t,i,o,e);return this},getChildPosition:function(t){var i=t instanceof jQuery?t:jQuery(t),o=i.position(),e=i.offsetParent(),s;while(!e.is(this._$Container)&&!e.is(\"html\")&&e.length){s=e.position();o.top+=s.top;o.left+=s.left;e=e.offsetParent()}return o},scrollToElement:function(t,i,o,e){o=o||[0,0];if(!this._$Container[0].contains(t)||t.style.display===\"none\"||t.offsetParent.nodeName.toUpperCase()===\"HTML\"){return this}o[1]-=this._iScrollPaddingTop;if(e&&this._isInScrollport(t,o)){return this}var s=jQuery(t),l=this.getChildPosition(s),r=this.getScrollLeft()+l.left+o[0],n=this.getScrollTop()+l.top+o[1];if(this._bFlipX){r=this.getScrollLeft()-(l.left-this._$Container.width())-s.width()}this._scrollTo(r,n,i,this._fnAfterScrollToElement);return this},destroy:function(){if(this._exit){this._exit()}if(this._oControl){this._oControl.removeDelegate(this);this._oControl=undefined}},refresh:function(){if(this._refresh){this._refresh()}},_useDefaultScroll:function(t){return t.isContentEditable},onkeydown:function(i){if(this._useDefaultScroll(i.target)||i.getMark(\"dnd\")){return}var o=this._$Container[0];if(i.altKey&&this.getHorizontal()){switch(i.keyCode){case l.PAGE_UP:this._customScrollTo(this._scrollX-o.clientWidth,this._scrollY,i);break;case l.PAGE_DOWN:this._customScrollTo(this._scrollX+o.clientWidth,this._scrollY,i);break}}if(i.ctrlKey&&!i.altKey){switch(i.keyCode){case l.ARROW_UP:if(this.getVertical()){this._customScrollTo(this._scrollX,this._scrollY-o.clientHeight*this._scrollCoef,i)}break;case l.ARROW_DOWN:if(this.getVertical()){this._customScrollTo(this._scrollX,this._scrollY+o.clientHeight*this._scrollCoef,i)}break;case l.ARROW_LEFT:if(this.getHorizontal()){this._customScrollTo(this._scrollX-o.clientWidth,this._scrollY,i)}break;case l.ARROW_RIGHT:if(this.getHorizontal()){this._customScrollTo(this._scrollX+o.clientWidth,this._scrollY,i)}break;case l.HOME:if(this.getHorizontal()){this._customScrollTo(0,this._scrollY,i)}if(this.getVertical()){this._customScrollTo(this._scrollX,0,i)}break;case l.END:var e=o.scrollWidth-o.clientWidth;var s=o.scrollHeight-o.clientHeight;if(!this.getHorizontal()){s=this._scrollY}if(!this.getVertical()){e=t.getRTL()?o.clientWidth-o.scrollWidth:this._scrollX}this._customScrollTo(e,s,i);break}}},_customScrollTo:function(t,i,o){var e=o.target.nodeName;if(e!=\"INPUT\"&&e!=\"TEXTAREA\"&&!r.closestTo(o.target)?.isA(\"sap.m.Select\")){o.preventDefault();o.setMarked();this._scrollTo(t,i)}}});var h={getScrollTop:function(){return this._scrollY||0},getScrollLeft:function(){return this._scrollX||0},getScrollHeight:function(){var t=this._$Container;return t&&t[0]?t[0].scrollHeight:0},getMaxScrollTop:function(){var t=this._$Container;return t&&t[0]?t[0].scrollHeight-t[0].clientHeight:-1},getContainerDomRef:function(){return this._$Container&&this._$Container[0]},_cleanup:function(){if(this._sResizeListenerId){s.deregister(this._sResizeListenerId);this._sResizeListenerId=null}this._deregisterOverflowMonitor()},_setOverflow:function(){var t=this._$Container;if(!t||!t[0]){return}if(i.os.ios){t.css(\"overflow-x\",this._bHorizontal&&!this._bDragScroll?\"scroll\":\"hidden\").css(\"overflow-y\",this._bVertical&&!this._bDragScroll?\"scroll\":\"hidden\").css(\"-webkit-overflow-scrolling\",\"touch\")}else{t.css(\"overflow-x\",this._bHorizontal&&!this._bDragScroll?\"auto\":\"hidden\").css(\"overflow-y\",this._bVertical&&!this._bDragScroll?\"auto\":\"hidden\")}},_refresh:function(){var t=this._$Container;if(!(t&&t.length)){return}if(this._oPullDown&&this._oPullDown._bTouchMode){var i=this._oPullDown.getDomRef();if(i){i.style.marginTop=this._oPullDown._iState==2?\"\":\"-\"+i.offsetHeight+\"px\"}}if(t.scrollTop()!=this._scrollY){t.scrollTop(this._scrollY)}if(!(this._oPullDown&&this._oPullDown._bTouchMode)&&!this._fnScrollLoadCallback){s.deregister(this._sResizeListenerId);this._sResizeListenerId=null}},_onScroll:function(){var t=this._$Container,i=t.scrollTop(),o=i-this._scrollY;this._scrollX=t.scrollLeft();this._scrollY=i;if(this._fnScrollLoadCallback){if(this._sScrollLoadDirection==\"Upwards\"){if(o<0&&i<10){this._fnScrollLoadCallback()}}else if(o>=0&&t[0].scrollHeight-i-t[0].clientHeight<100){this._fnScrollLoadCallback()}}if(this._oIconTabBar&&this._fnScrollEndCallback){this._fnScrollEndCallback()}},_onStart:function(t){var i=this._$Container[0];if(!i){return}this._bDoDrag=this._bDragScroll;var o=t.touches?t.touches[0]:t;this._iX=o.pageX;this._iY=o.pageY;this._bPullDown=false;this._iDirection=\"\"},_onTouchMove:function(t){var i=this._$Container[0];var o=t.touches?t.touches[0]:t;var e=o.pageX-this._iX;var s=o.pageY-this._iY;if(this._iDirection==\"\"){if(e!=0||s!=0){this._iDirection=Math.abs(s)>Math.abs(e)?\"v\":\"h\"}if(this._oPullDown&&this._oPullDown._bTouchMode&&this._iDirection==\"v\"&&i.scrollTop<=1){if(s>Math.abs(e)){this._bPullDown=true}}}if(this._bPullDown===true){var l=this._oPullDown.getDomRef();var r=t.touches[0].pageY-this._iY-l.offsetHeight;if(r>20){r=20}l.style.marginTop=r+\"px\";this._oPullDown.doPull(r);t.preventDefault();this._bDoDrag=false}if(this._bDoDrag){var n=i.scrollLeft,h=i.scrollTop;if(this._bHorizontal){if(this._bFlipX){i.scrollLeft=n-this._iX+o.pageX}else{i.scrollLeft=n+this._iX-o.pageX}}if(this._bVertical){i.scrollTop=h+this._iY-o.pageY}if(i.scrollLeft!=n||i.scrollTop!=h){t.setMarked&&t.setMarked();t.preventDefault()}this._iX=o.pageX;this._iY=o.pageY;return}},_onEnd:function(t){if(this._oPullDown&&this._oPullDown._bTouchMode){this._oPullDown.doScrollEnd();this._refresh()}if(this._bDragScroll&&this._iDirection){t.setMarked&&t.setMarked()}},_onMouseDown:function(t){if(this._bDragScroll&&t.button==0){this._bScrolling=true;this._onStart(t)}},_onMouseMove:function(t){if(this._bScrolling){var i=t.originalEvent||t;var o=i.buttons||i.which;if(o==1||t.pressure){var e=this._$Container[0];if(this._bHorizontal){if(this._bFlipX){e.scrollLeft=e.scrollLeft-this._iX+t.pageX}else{e.scrollLeft=e.scrollLeft+this._iX-t.pageX}}if(this._bVertical){e.scrollTop=e.scrollTop+this._iY-t.pageY}this._iX=t.pageX;this._iY=t.pageY}}},_onMouseUp:function(){if(this._bScrolling){this._bScrolling=false;this._onEnd()}},onBeforeRendering:function(){if(this._sResizeListenerId){s.deregister(this._sResizeListenerId);this._sResizeListenerId=null}this._deregisterOverflowMonitor();var t=this._$Container;if(t){if(t.height()>0){this._scrollX=t.scrollLeft();this._scrollY=t.scrollTop()}t.off()}},_checkOverflowChange:function(t){var i=this.getMaxScrollTop(),o=i>0&&this._iLastMaxScrollTop===0,e=i===0&&this._iLastMaxScrollTop>0,s=o||e;if(s){this._fnOverflowChangeCallback(o,i)}this._iLastMaxScrollTop=i},_registerOverflowMonitor:function(){this._fnOverflowChangeCallback&&e.addListener(this._checkOverflowChange,this)},_deregisterOverflowMonitor:function(){e.removeListener(this._checkOverflowChange,this)},onAfterRendering:function(){var t=this._$Container=this._sContainerId?jQuery(document.getElementById(this._sContainerId)):jQuery(document.getElementById(this._sContentId)).parent();var o=this._refresh;var e=t.is(\":visible\");t.addClass(\"sapUiScrollDelegate\");this._setOverflow();if(this._scrollX!==0||this._scrollY!==0){this._scrollTo(this._scrollX,this._scrollY)}this._refresh();if(!e||this._oPullDown||this._fnScrollLoadCallback){this._sResizeListenerId=s.register(t[0],o.bind(this))}if(this._fnOverflowChangeCallback){this._iOverflowTimer&&window.cancelAnimationFrame(this._iOverflowTimer);this._iOverflowTimer=window.requestAnimationFrame(this._registerOverflowMonitor.bind(this))}t.on(\"scroll\",this._onScroll.bind(this));var l=t[0];function r(t,i){t.split(\" \").forEach(function(t){l&&l.addEventListener(t,i)})}function n(t){return t.pointerType==\"touch\"?this._onStart(t):this._onMouseDown(t)}function h(t){return t.pointerType==\"touch\"?this._onTouchMove(t):this._onMouseMove(t)}function c(t){return t.pointerType==\"touch\"?this._onEnd(t):this._onMouseUp(t)}if(i.support.pointer&&i.system.desktop){if(this._bDragScroll){r(\"pointerdown\",n.bind(this));r(\"pointermove\",h.bind(this));r(\"pointerup pointercancel pointerleave\",c.bind(this))}}else if(i.support.touch){if(this._bDragScroll||this._oPullDown&&this._oPullDown._bTouchMode){t.on(\"touchcancel touchend\",this._onEnd.bind(this)).on(\"touchstart\",this._onStart.bind(this)).on(\"touchmove\",this._onTouchMove.bind(this))}}else if(this._bDragScroll){t.on(\"mouseup mouseleave\",this._onMouseUp.bind(this)).on(\"mousedown\",this._onMouseDown.bind(this)).on(\"mousemove\",this._onMouseMove.bind(this))}},_readActualScrollPosition:function(){if(this._$Container.width()>0){this._scrollX=this._$Container.scrollLeft()}if(this._$Container.height()>0){this._scrollY=this._$Container.scrollTop()}},_scrollTo:function(t,i,o,e){if(this._$Container.length>0){if(o>0){this._$Container.finish().animate({scrollTop:i,scrollLeft:t},{duration:o,complete:this._readActualScrollPosition.bind(this),always:e})}else{this._$Container.scrollTop(i);this._$Container.scrollLeft(t);this._readActualScrollPosition();e&&e()}}},_isInScrollport:function(t,i){var o=t.getBoundingClientRect(),e=this._$Container[0].getBoundingClientRect(),s=e.top-i[1];return Math.ceil(o.top)>=Math.floor(s)&&Math.floor(o.bottom)<=Math.ceil(e.bottom)}};function c(i){var o={_init:function(i,o,e){if(jQuery.event&&jQuery.event.special&&jQuery.event.special.swipe&&jQuery.event.special.swipe.scrollSupressionThreshold<120){jQuery.event.special.swipe.scrollSupressionThreshold=120}Object.assign(this,h);if(e.nonTouchScrolling===true){this._bDragScroll=true}if(t.getRTL()){this._scrollX=9999}},_exit:function(){if(this._cleanup){this._cleanup()}}};Object.assign(i,o)}return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/dnd/DragAndDrop\", [\"../library\",\"sap/base/i18n/Localization\",\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/core/StaticArea\",\"../UIArea\",\"sap/ui/thirdparty/jquery\"],function(e,t,r,n,o,i,jQuery){\"use strict\";var a=e.dnd.RelativeDropPosition;var f={},s=null,g=null,u=null,l=[],c=[],d=null,p,D,h,v,m={},w,b,A,C;function E(e,t){if(!e){return}if(e.addStyleClass){e.addStyleClass(t)}else{e.$().addClass(t)}}function y(e,t){if(!e){return}if(e.removeStyleClass){e.removeStyleClass(t)}else{e.$().removeClass(t)}}function T(e,t){var r=n.closestTo(e.target,true);if(!r){return}var o=new jQuery.Event(null,e);o.type=t;r.getUIArea()._handleEvent(o)}function x(e,t,r,n=true){const o=new Event(e);if(r){o.dataTransfer=r}const i=new jQuery.Event(o);i.setMark(\"simulated\",n);t.$().trigger(i);return i}function S(e,t){let r=[];const n=e.getParent();const o=n.getMetadata();const i=e.sParentAggregationName;const a=o.getAllAggregations();if(a[i]){r=n[a[i]._sGetter]()}else{const e=o.getAllPrivateAggregations();if(e[i]){r=n.getAggregation(i)}}const f=r.indexOf(e);if(t==\"next\"){return r.slice(f+1).find(e=>e.getDomRef())}return r.slice(0,f).findLast(e=>e.getDomRef())}function I(e){if(e.isMarked()||!(e.ctrlKey||e.metaKey)||!e.code?.startsWith(\"Arrow\")){return}const t=e.target;const r=t.hasAttribute(\"data-sap-ui-draghandle\")?n.closestTo(t,true):n.getElementById(t.id);if(!r){return}const o=n.getElementById(r.$().closest(\"[data-sap-ui-draggable]\").attr(\"id\"));const i=o?.getParent();const a=o?.sParentAggregationName;if(!i||!a){return}const f=[];const s=[];i.getDragDropConfig().forEach(e=>{if(!e.getKeyboardHandling()){return}if(e.isA(\"sap.ui.core.dnd.IDropInfo\")&&e.getTargetAggregation()==a&&e.getDropPosition()==\"Between\"){f.push(e)}if(e.isA(\"sap.ui.core.dnd.IDragInfo\")&&e.getSourceAggregation()==a){s.push(e.getGroupName())}});const g=f.find(e=>s.includes(e.getGroupName()));if(!g){return}return{oDragControl:o,oDropConfig:g}}function k(e){return!e.disabled&&/^(input|textarea)$/.test(e.localName)}function N(e,t){if(!e||!e.getDragGhost){return}var r=e.getDragGhost();if(!r){return}if(!D){D=jQuery('
');jQuery(document.body).append(D)}D.append(r);window.setTimeout(function(){D.empty()},0);var n=t.originalEvent;n.dataTransfer.setDragImage(r,n.offsetX,n.offsetY)}function R(e){var t={},r,n=e.originalEvent.dataTransfer,o=function(e,t){n.setData(e,t)};return{setData:function(e,r){r=\"\"+r;t[e]=r;o(e,r)},getData:function(e){return t[e]},setTextData:function(e){e=\"\"+e;t[\"text/plain\"]=e;t[\"text\"]=e;o(\"text/plain\",e);o(\"text\",e)},getTextData:function(){return t[\"text/plain\"]},setComplexData:function(e,r){t[e]=r},getComplexData:function(e){return t[e]},getIndicator:function(){return p&&p[0]},setIndicatorConfig:function(e){r=e},getIndicatorConfig:function(){return r},getDragControl:function(){return s},getDropControl:function(){return u},setDropControl:function(e){u=e},getDropInfo:function(){return c[0]||null},getDropPosition:function(){return h}}}function B(){O();s=g=u=d=null;h=\"\";C=false;l=[];c=[]}function M(){if(p){return p}p=jQuery(\"
\");jQuery(o.getDomRef()).append(p);return p}function O(){if(p){p.removeAttr(\"style\");p.hide();m={}}}function P(e,r,n,o,i){if(!r){return}const f=e.getMark(\"simulated\");if(f){if(f==\"prev\"){return a.Before}if(f==\"next\"){return a.After}}var s=u.getDropAreaRect?u.getDropAreaRect(o):r.getBoundingClientRect(),g=e.dragSession&&e.dragSession.getIndicatorConfig(),l=window.scrollY,c=window.scrollX,d=M(),p,D={},h={top:s.top+l,bottom:s.bottom+l,left:s.left+c,right:s.right+c,width:s.width,height:s.height};if(!n||n==\"On\"){p=a.On;o=\"\"}else if(o==\"Horizontal\"){var v=e.pageX-h.left;D.height=h.height;D.top=h.top;if(n==\"Between\"){D.width=\"\";if(vh.width*.75){p=a.After;D.left=h.right;D.width=\"\"}else{p=a.On}}if(p!=a.On&&t.getRTL()){p=p==a.After?a.Before:a.After}}else{var w=e.pageY-h.top;D.width=h.width;D.left=h.left;if(n==\"Between\"){D.height=\"\";if(wh.height*.75){p=a.After;D.top=h.bottom;D.height=\"\"}else{p=a.On}}}if(i||g?.display==\"none\"){return p}if(p==a.On){D.top=h.top;D.left=h.left;D.width=h.width;D.height=h.height;n=p}else{n=\"Between\"}if(m.top!=D.top||m.left!=D.left||m.width!=D.width||m.height!=D.height){d.attr(\"data-drop-layout\",o);d.attr(\"data-drop-position\",n);d.css(Object.assign(D,g));d.show();m=D}return p}function U(e){var t=e.getParent(),r=e.getDragDropConfig?e.getDragDropConfig():[],n=t&&t.getDragDropConfig?t.getDragDropConfig():[];return r.concat(n)}function L(e){var t=U(e);return t.filter(function(t){return t.isDraggable(e)})}function G(e,t,r){var n=U(e);t=t||[];return n.filter(function(e){return!e.isA(\"sap.ui.core.dnd.IDragInfo\")}).concat(t).filter(function(n){if(!n.isDroppable(e,r)){return false}var o=n.getGroupName();if(!o){return true}return t.some(function(e){return e.getGroupName()==o})})}function W(e,t){e.preventDefault();if(s){var r=t.getDropEffect().toLowerCase();e.originalEvent.dataTransfer.dropEffect=r}}function $(e,t,r,n){var o=t.getTargetAggregation();if(!o){return P(e,r.getDomRef(),undefined,undefined,n)}var i;if(e.getMark(\"DragWithin\")==o){i=r.getDomRefForSetting(o)}i=i||r.getDomRef();return P(e,i,t.getDropPosition(true),t.getDropLayout(true),n)}f.preprocessEvent=function(e){if(d&&e.type.indexOf(\"dr\")==0){e.dragSession=d;if(A){A=clearTimeout(A)}}var t=\"onbefore\"+e.type;if(f[t]){f[t](e)}};f.postprocessEvent=function(e){var t=\"onafter\"+e.type;if(f[t]){f[t](e)}};f.onbeforekeydown=function(e){if(I(e)){e.setMark(\"dnd\")}};f.onafterkeydown=function(e){if(!e.getMark(\"dnd\")){return}let r,n;const{oDragControl:o,oDropConfig:i}=I(e);const a=i.getDropLayout(true);if(a==\"Horizontal\"&&(e.code==\"ArrowRight\"||e.code==\"ArrowLeft\")){const i=t.getRTL()?\"prev\":\"next\";const a=t.getRTL()?\"next\":\"prev\";r=e.code==\"ArrowRight\"?i:a;n=S(o,r);e.preventDefault()}if(a==\"Vertical\"&&(e.code==\"ArrowDown\"||e.code==\"ArrowUp\")){r=e.code==\"ArrowDown\"?\"next\":\"prev\";n=S(o,r);e.preventDefault()}if(!n){return}const f=new DataTransfer;const s=x(\"dragstart\",o,f,r);if(s.isDefaultPrevented()||s.isMarked(\"NonDraggable\")){return}const g=x(\"dragenter\",n,f,r);if(!g.isMarked(\"NonDroppable\")){x(\"drop\",n,f,r)}x(\"dragend\",o,f,r)};f.onbeforemousedown=function(e){if(r.browser.firefox&&k(e.target)){w=jQuery(e.target).closest(\"[data-sap-ui-draggable=true]\").prop(\"draggable\",false)[0]}};f.onbeforemouseup=function(e){if(w){w.draggable=true;w=null}};f.onbeforedragstart=function(e){if(!e.target.draggable){return}if(k(document.activeElement)){e.target.getAttribute(\"data-sap-ui-draggable\")&&e.preventDefault();return}s=n.closestTo(e.target,true);if(!s){return}l=L(s);if(!l.length){return}if(r.browser.mobile&&!e.originalEvent.dataTransfer.getData(\"text\")){e.originalEvent.dataTransfer.setData(\"text\",\" \")}e.dragSession=d=R(e)};f.onafterdragstart=function(e){if(!l.length||e.isDefaultPrevented()){B();return}l=e.isMarked(\"NonDraggable\")?[]:l.filter(function(t){return t.fireDragStart(e)});if(!l.length){e.preventDefault();B();return}if(e.simulated){return}N(s,e);E(s,\"sapUiDnDDragging\");if(jQuery(e.target).closest(\".sapUiScrollDelegate\")[0]){jQuery(\"html\").addClass(\"sapUiDnDNoScrolling\")}};f.onbeforedragenter=function(e){var t=n.closestTo(e.target,true);if(t&&g===t){e.setMark(\"DragWithin\",\"SameControl\")}else{v=Date.now();g=t}var r=[],o;u=t;for(var i=0;i<20&&u;i++){r=G(u,l,e);if(r.length){break}o=u.getDomRef();o=o&&o.parentElement;u=n.closestTo(o,true)}if(e.getMark(\"DragWithin\")!=\"SameControl\"){c=r;if(d){d.setIndicatorConfig(null)}}if(!c.length){u=null}else if(!d){C=true;e.dragSession=d=R(e)}};f.onafterdragenter=function(e){if(!u||e.isMarked(\"NonDroppable\")){c=[]}else if(e.getMark(\"DragWithin\")!=\"SameControl\"){c=c.filter(function(t){h=$(e,t,u,true);return t.fireDragEnter(e)})}var t=c[0];if(!t||t.getDropEffect()==\"None\"){O();h=\"\"}else{W(e,t);h=$(e,t,u)}};f.onbeforedragover=function(e){var t=Date.now();if(t-v>=1e3){T(e,\"longdragover\");v=t}};f.onafterdragover=function(e){if(!u||e.isMarked(\"NonDroppable\")){c=[]}else{c=c.filter(function(t){h=$(e,t,u,true);return t.fireDragOver(e)})}const t=c[0];if(!t||t.getDropEffect()==\"None\"){O();h=\"\"}else{W(e,t);if(t&&t.getDropPosition(true)==\"On\"){return}h=$(e,t,u)}};f.onafterdragleave=function(e){if(C){if(r.browser.safari){A=setTimeout(B,100)}else if(!e.relatedTarget){B()}}};f.onbeforedrop=function(e){if(c.length){e.preventDefault()}};f.onafterdrop=function(e){c.forEach(function(t){t.fireDrop(e)});b=requestAnimationFrame(this.onafterdragend.bind(this,e))};f.onafterdragend=function(e){b=cancelAnimationFrame(b);l.forEach(function(t){t.fireDragEnd(e)});y(s,\"sapUiDnDDragging\");jQuery(\"html\").removeClass(\"sapUiDnDNoScrolling\");B()};i.addEventPreprocessor(f.preprocessEvent);i.addEventPostprocessor(f.postprocessEvent);return f},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/dnd/DragDropBase\", [\"sap/base/Log\",\"../Element\",\"../library\",\"./DragAndDrop\"],function(e,t){\"use strict\";var a=t.extend(\"sap.ui.core.dnd.DragDropBase\",{metadata:{abstract:true,library:\"sap.ui.core\",properties:{groupName:{type:\"string\",defaultValue:null,invalidate:false},enabled:{type:\"boolean\",defaultValue:true,invalidate:false},keyboardHandling:{type:\"boolean\",defaultValue:false,invalidate:false}}}});a.prototype.bIgnoreMetadataCheck=false;a.prototype.isDraggable=function(e,t){return false};a.prototype.isDroppable=function(e,t){return false};a.prototype.checkMetadata=function(t,a,r){if(this.bIgnoreMetadataCheck){return true}var n=t.getMetadata().getDragDropInfo(a);if(!n[r]){e.warning((a?a+\" aggregation of \":\"\")+t+\" is not configured to be \"+r);return false}return true};a.prototype.setProperty=function(e,a,r){r=r==undefined?(this.getMetadata().getProperty(e).appData||{}).invalidate===false:r;return t.prototype.setProperty.call(this,e,a,r)};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/dnd/DragDropInfo\", [\"sap/ui/core/Element\",\"./DragInfo\",\"./DropInfo\",\"sap/base/Log\"],function(e,t,r,a){\"use strict\";var n=r.extend(\"sap.ui.core.dnd.DragDropInfo\",{metadata:{library:\"sap.ui.core\",interfaces:[\"sap.ui.core.dnd.IDragInfo\",\"sap.ui.core.dnd.IDropInfo\"],properties:{sourceAggregation:{type:\"string\",defaultValue:null}},associations:{targetElement:{type:\"sap.ui.core.Element\",multiple:false}},events:{dragStart:{allowPreventDefault:true},dragEnd:{}}}});t.Mixin.apply(n.prototype);n.prototype.getDropTarget=function(){var t=this.getTargetElement();if(t){return e.getElementById(t)}return this.getParent()};n.prototype.setGroupName=function(){a.error(\"groupName property must not be set on \"+this);return this};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/dnd/DragInfo\", [\"./DragDropBase\"],function(t){\"use strict\";var e=t.extend(\"sap.ui.core.dnd.DragInfo\",{metadata:{library:\"sap.ui.core\",interfaces:[\"sap.ui.core.dnd.IDragInfo\"],properties:{sourceAggregation:{type:\"string\",defaultValue:null}},events:{dragStart:{allowPreventDefault:true},dragEnd:{}}}});e.Mixin=function(){this.isDraggable=function(t,e){if(!this.getEnabled()){return false}var r=this.getParent();if(!r){return false}var a=this.getSourceAggregation();if(!this.checkMetadata(r,a,\"draggable\")){return false}if(r===t&&!a||r===t&&e&&a===e||t.getParent()===r&&a===t.sParentAggregationName){return t.isDragAllowed&&!t.isDragAllowed(this)?false:true}return false};this.fireDragStart=function(t){if(!t||!t.dragSession){return}var e=t.dragSession;return this.fireEvent(\"dragStart\",{dragSession:e,browserEvent:t.originalEvent,target:e.getDragControl()},true)};this.fireDragEnd=function(t){if(!t||!t.dragSession){return}var e=t.dragSession;return this.fireEvent(\"dragEnd\",{dragSession:e,browserEvent:t.originalEvent,target:e.getDragControl()})};this.setEnabled=function(t){this.setProperty(\"enabled\",t,false);this.invalidateDraggables();return this};this.setParent=function(){t.prototype.setParent.apply(this,arguments);this.invalidateDraggables();return this};this.setSourceAggregation=function(t){var e=this.getSourceAggregation();if(e==t){return this}e&&this.invalidateDraggables();this.setProperty(\"sourceAggregation\",t,false);this.invalidateDraggables();return this};this.invalidateDraggables=function(){var t=this.getParent();if(t&&t.bOutput==true){var e=this.getSourceAggregation();if(e){[].concat(t.getAggregation(e)).forEach(function(t){if(t&&t.bOutput==true){t.invalidate()}})}else{t.invalidate()}}}};e.Mixin.apply(e.prototype);return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/dnd/DropInfo\", [\"./DragDropBase\"],function(r){\"use strict\";var t=r.extend(\"sap.ui.core.dnd.DropInfo\",{metadata:{library:\"sap.ui.core\",interfaces:[\"sap.ui.core.dnd.IDropInfo\"],properties:{targetAggregation:{type:\"string\",defaultValue:null,invalidate:false},dropEffect:{type:\"sap.ui.core.dnd.DropEffect\",defaultValue:\"Move\",invalidate:false},dropPosition:{type:\"sap.ui.core.dnd.DropPosition\",defaultValue:\"On\",invalidate:false},dropLayout:{type:\"sap.ui.core.dnd.DropLayout\",defaultValue:\"Default\",invalidate:false}},events:{dragEnter:{allowPreventDefault:true},dragOver:{allowPreventDefault:true},drop:{}}}});t.prototype.getDropTarget=function(){return this.getParent()};t.prototype.isDroppable=function(r,t){this.sTemporaryDropPosition=\"\";if(!this.getEnabled()){return false}var e=this.getDropTarget();if(!e){return false}var o=this.getTargetAggregation();if(!this.checkMetadata(e,o,\"droppable\")){return false}var o=this.getTargetAggregation();if(e===r&&!o){return true}if(r.getParent()===e&&o===r.sParentAggregationName){return true}if(t&&o&&e===r){var i=r.getDomRefForSetting(o);if(i&&i!=t.target&&i.contains(t.target)){t.setMark(\"DragWithin\",o);this.sTemporaryDropPosition=\"On\";return true}}return false};t.prototype.getDropPosition=function(r){if(r&&this.sTemporaryDropPosition){return this.sTemporaryDropPosition}return this.getProperty(\"dropPosition\")};t.prototype.getDropLayout=function(r){var t=this.getProperty(\"dropLayout\");if(!r||t!=\"Default\"){return t}return this.getDropTarget().getMetadata().getDragDropInfo(this.getTargetAggregation()).layout};t.prototype.fireDragEnter=function(r){if(!r||!r.dragSession){return}var t=r.dragSession;return this.fireEvent(\"dragEnter\",{dragSession:r.dragSession,browserEvent:r.originalEvent,target:t.getDropControl(),dropPosition:t.getDropPosition()},true)};t.prototype.fireDragOver=function(r){if(!r||!r.dragSession){return}var t=r.dragSession;return this.fireEvent(\"dragOver\",{dragSession:r.dragSession,browserEvent:r.originalEvent,target:t.getDropControl(),dropPosition:t.getDropPosition()},true)};t.prototype.fireDrop=function(r){if(!r||!r.dragSession){return}var t=r.dragSession;this.fireEvent(\"drop\",{dragSession:r.dragSession,browserEvent:r.originalEvent,dropPosition:t.getDropPosition(),draggedControl:t.getDragControl(),droppedControl:t.getDropControl()})};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/fieldhelp/FieldHelp\", [\"sap/base/Log\",\"sap/ui/base/BindingInfo\",\"sap/ui/base/ManagedObject\",\"sap/ui/core/Element\",\"sap/ui/core/ElementRegistry\",\"sap/ui/core/LabelEnablement\"],function(e,t,o,n,s,i){\"use strict\";const a=\"sap/ui/core/fieldhelp/FieldHelp\";const r=\"com.sap.vocabularies.Common.v1.DocumentationRef\";let l;const c=\"urn:sap-com:documentation:key?=\";function p(e,t){if(e.size!==t.size){return false}for(const o of e){if(!t.has(o)){return false}}return true}function d(e){if(e){l._updateProperty(this,e)}else{l._updateElement(this)}}class u{#e=false;#t=null;mDocuRefControlToFieldHelp={};#o=false;#n=new Map;#s=new Map;static#i={getDocumentationRef(e){return this.oMetaModel.getObject(\"@\"+r,this.oMetaModel.getMetaContext(e))},getProperties(e){return Object.keys(e).filter(t=>e[t].$kind===\"Property\")},getTextPropertyPath(e,t){return this.oMetaModel.getObject(`/${e}/${t}@com.sap.vocabularies.Common.v1.Text/$Path`)},getTypeQName(e){return this.oMetaModel.getObject(this.oMetaModel.getMetaPath(e)+\"/$Type\")},async requestTypes(){const e=new Map;const t=new Map;const o=await this.oMetaModel.requestObject(\"/$\");Object.entries(o).forEach(([o,n])=>{if(n.$kind===\"EntityType\"){e.set(o,n)}else if(n.$kind===\"ComplexType\"){t.set(o,n)}});return[e,t]}};static#a={getDocumentationRef(e){return this.oMetaModel.getObject(\"\",this.oMetaModel.getMetaContext(e))[r]?.String},getProperties(e){return e.property?.map(e=>e.name)??[]},getTextPropertyPath(e,t,o,n,s){const i=s?\"complexType\":\"entityType\";return this.oMetaModel.getObject(`/dataServices/schema/0/${i}/${o}/property/${n}`+\"/com.sap.vocabularies.Common.v1.Text\")?.Path},getTypeQName(e){let t;try{t=this.oMetaModel.getMetaContext(e)}catch(t){const o=new Error(`Failed to determine type QName for path '${e}'`);o.cause=t;throw o}const o=this.oMetaModel.getObject(\"\",t);if(o.namespace){return`${o.namespace}.${o.name}`}return o.type},async requestTypes(){await this.oMetaModel.loaded();const e=this.oMetaModel.getObject(\"/dataServices/schema/0\");const t=e=>new Map(e?.map(e=>[`${e.namespace}.${e.name}`,e])??[]);return[t(e.entityType),t(e.complexType)]}};static _getMetamodelInterface(e){if(!e){return undefined}let t;if(e.isA(\"sap.ui.model.odata.v4.ODataModel\")){t=Object.create(u.#i)}else if(e.isA(\"sap.ui.model.odata.v2.ODataModel\")){t=Object.create(u.#a)}else{return undefined}t.oMetaModel=e.getMetaModel();return t}async _requestIDPropertyPath(e,t){const o=await this._requestText2IdByType(e);const[n,...s]=t.slice(1).split(\"/\");const i=[n];while(s.length){const t=\"/\"+i.join(\"/\");const n=e.getTypeQName(t);const a=s.join(\"/\");const r=o.get(a)?.get(n);if(r){return t+\"/\"+r}i.push(s.shift())}return t}_requestText2IdByType(e){const t=e.oMetaModel;if(this.#n.has(t)){return this.#n.get(t)}const o=e.requestTypes().then(([o,n])=>{const s=this.#s.get(t);const i=s?.text2IdByType??new Map;const a=s?.visitedTypes??new Set;const r=new Map([...o,...n]);const l=o.size;let c=0;for(const[t,o]of r){const n=c>=l;const s=n?c-l:c;c+=1;if(a.has(t)){continue}a.add(t);e.getProperties(o).forEach((o,a)=>{const r=e.getTextPropertyPath(t,o,s,a,n);if(!r){return}const l=i.get(r)??i.set(r,new Map).get(r);l.set(t,o)})}this.#s.set(t,{text2IdByType:i,visitedTypes:a});return i});this.#n.set(e.oMetaModel,o);return o}async _requestDocumentationRef(t){if(t.isDestroyed()){return undefined}let o=t.getResolvedPath();if(!o||o.includes(\"#\")||o.includes(\"@\")){return undefined}const n=u._getMetamodelInterface(t.getModel());if(!n){return undefined}let s;try{const e=await this._requestIDPropertyPath(n,o);o=e;s=n.getDocumentationRef(e)}catch(t){e.error(`Failed to request '${r}' annotation for path '${o}'`,t,a)}return s}_getFieldHelpDisplayMapping(){const e={};for(const o in this.mDocuRefControlToFieldHelp){const s=n.getElementById(o);if(!s){delete this.mDocuRefControlToFieldHelp[o];continue}let i;let a=s;do{i=a.getAssociation(\"fieldHelpDisplay\")||a[t.OriginalParent]?.getId();a=a.getParent()}while(!i&&a);if(i){e[o]=i}}return e}_getDisplayControlIDToURNs(){const t=this._getFieldHelpDisplayMapping();const o=new Map;const n=new Map;const s=new Map;for(const i in this.mDocuRefControlToFieldHelp){const r=t[i]||i;const l=this.mDocuRefControlToFieldHelp[i][undefined];if(l){const s=new Set(l);if(t[i]){const t=o.get(r);if(t&&!p(s,t)){e.error(\"Cannot display field help for control '\"+i+\"': different field help already set on hotspot '\"+r+\"'\",undefined,a);continue}o.set(r,s)}else{n.set(r,s)}}else{const e=Object.values(this.mDocuRefControlToFieldHelp[i]).flat();const t=s.get(r)??new Set;e.forEach(t.add.bind(t));s.set(r,t)}}return new Map([...s,...o,...n])}_getFieldHelpHotspots(){const t=[];for(const[o,s]of this._getDisplayControlIDToURNs()){const r=n.getElementById(o);const l=i._getLabelTexts(r)[0];if(!l){e.error(`Cannot find a label for control '${o}'; ignoring field help`,Array.from(s).join(),a);continue}for(const e of s){const n=new URLSearchParams(e.slice(c.length));const s=n.get(\"origin\");t.push({backendHelpKey:{id:n.get(\"id\"),type:n.get(\"type\"),...s&&{origin:s}},hotspotId:o,labelText:l})}}return t}_setFieldHelpDocumentationRefs(e,t,o){const n=e.getId();this.mDocuRefControlToFieldHelp[n]||={};if(o.length>0){this.mDocuRefControlToFieldHelp[n][t]=o}else{delete this.mDocuRefControlToFieldHelp[n][t];if(Object.keys(this.mDocuRefControlToFieldHelp[n]).length===0){delete this.mDocuRefControlToFieldHelp[n]}}this._updateHotspots()}_updateElement(e,t){if(e.isDestroyed()||e.isDestroyStarted()){t=[]}else{t||=e.data(\"sap-ui-DocumentationRef\")||[]}this._setFieldHelpDocumentationRefs(e,undefined,t)}_updateHotspots(){if(this.#o){return}this.#o=true;setTimeout(()=>{if(this.isActive()){this.#t(this._getFieldHelpHotspots());this.#n.clear()}this.#o=false},0)}_updateProperty(e,t){if(e.getMetadata().getProperty(t)?.group!==\"Data\"){return}const o=e.getBinding(t);if(!o){return}let n;if(o.isA(\"sap.ui.model.CompositeBinding\")){const e=o.getType()?.getPartsIgnoringMessages()||[];n=o.getBindings().filter((t,o)=>!e.includes(o))}else{n=[o]}Promise.all(n.map(e=>this._requestDocumentationRef(e))).then(o=>{o=o.filter(e=>e);this._setFieldHelpDocumentationRefs(e,t,o)})}static getInstance(){l||=new u;return l}activate(e){if(this.#e){if(this.#t!==e){throw new Error(\"The field help is active for a different update hotspots callback handler\")}return}this.#e=true;this.#t=e;s.forEach(e=>{const t=e.data(\"sap-ui-DocumentationRef\");if(t){this._updateElement(e,t)}else{Object.keys(e.getMetadata().getAllProperties()).forEach(t=>{this._updateProperty(e,t)})}});o.prototype.updateFieldHelp=d}deactivate(){this.#e=false;this.mDocuRefControlToFieldHelp={};this.#t=null;this.#n.clear();this.#s.clear();o.prototype.updateFieldHelp=undefined}isActive(){return this.#e}}return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/fieldhelp/FieldHelpCustomData\", [\"sap/ui/core/CustomData\"],function(t){\"use strict\";const e=t.extend(\"sap.ui.core.fieldhelp.FieldHelpCustomData\",{metadata:{library:\"sap.ui.core\"}});e.DOCUMENTATION_REF_KEY=\"sap-ui-DocumentationRef\";function o(t){const o=t.getParent();if(o&&t.getKey()===e.DOCUMENTATION_REF_KEY&&Array.isArray(t.getValue())){o.updateFieldHelp?.()}}e.prototype.init=function(){this.setKey(e.DOCUMENTA Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/format/TimezoneUtil\", [\"sap/base/i18n/date/TimezoneUtils\"],function(e){\"use strict\";return e});\n/*!\n* OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.predefine(\"sap/ui/core/hyphenation/Hyphenation\", [\"./HyphenationTestingWords\",\"sap/base/i18n/Localization\",\"sap/ui/base/ManagedObject\",\"sap/base/Log\",\"sap/ui/core/Locale\"],function(e,n,t,r,i){\"use strict\";var a={bg:true,ca:true,hr:true,cs:false,// no valid license\nda:true,nl:true,\"en-us\":true,et:true,fi:true,fr:true,de:true,\"el-monoton\":true,hi:true,hu:true,it:true,lt:true,\"nb-no\":true,pl:false,// no valid license\npt:true,ru:true,sr:false,// no valid license\nsl:true,es:true,sv:true,th:true,tr:true,uk:true};var o={bg:\"Bulgarian\",ca:\"Catalan\",hr:\"Croatian\",cs:\"Czech\",da:\"Danish\",nl:\"Dutch\",en:\"English\",et:\"Estonian\",fi:\"Finnish\",fr:\"French\",de:\"German\",el:\"Greek\",hi:\"Hindi\",hu:\"Hungarian\",it:\"Italian\",lt:\"Lithuanian\",nb:\"Norwegian Bokmål\",no:\"Norwegian\",pl:\"Polish\",pt:\"Portuguese\",ru:\"Russian\",sr:\"Serbian\",sl:\"Slovenian\",es:\"Spanish\",sv:\"Swedish\",th:\"Thai\",tr:\"Turkish\",uk:\"Ukrainian\"};var u={};var s={};var p={};var h=null;var l=null;var y={};function c(e){r.info(\"[UI5 Hyphenation] Initializing third-party module for language \"+P(e),\"sap.ui.core.hyphenation.Hyphenation.initialize()\");var n=d();n.require[e]=\"FORCEHYPHENOPOLY\";return f(sap.ui.require.toUrl(\"sap/ui/thirdparty/hyphenopoly/\"),\"Hyphenopoly_Loader.js\").then(function(){delete n.require[e];return window.Hyphenopoly.hyphenators[e]})}function d(){if(!window.Hyphenopoly){window.Hyphenopoly={require:{},setup:{selectors:{\".hyphenate\":{hyphen:\"­\",leftmin:3,rightmin:3,compound:\"all\"}},hide:\"DONT_HIDE\"},handleEvent:{error:function(e){if(e.msg.match(/engine for language .* loaded, but no elements found./)){e.preventDefault()}}}}}return window.Hyphenopoly}function f(e,n){return new Promise(function(t,r){var i=document.createElement(\"script\");i.async=true;i.src=e+n;i.addEventListener(\"load\",t);i.addEventListener(\"error\",function(){return r(\"Error loading script: \"+n)});i.addEventListener(\"abort\",function(){return r(n+\" Script loading aborted.\")});document.head.appendChild(i)})}var g=function e(){var n=[\"visibility:hidden;\",\"-moz-hyphens:auto;\",\"-webkit-hyphens:auto;\",\"hyphens:auto;\",\"width:48px;\",\"font-size:12px;\",\"line-height:12px;\",\"border:none;\",\"padding:0;\",\"word-wrap:normal\"];return n.join(\"\")}();function v(e,n){if(!l){l=document.createElement(\"body\")}var t=document.createElement(\"div\");t.lang=e;t.id=e;t.style.cssText=g;t.appendChild(document.createTextNode(n));l.appendChild(t)}function m(e){if(l){e.appendChild(l);return l}return null}function w(){if(l){l.parentNode.removeChild(l)}}function H(e){return e.style.hyphens===\"auto\"||e.style.webkitHyphens===\"auto\"||e.style.msHyphens===\"auto\"||e.style[\"-moz-hyphens\"]===\"auto\"}function b(e){var t;if(e){t=new i(e)}else{t=new i(n.getLanguageTag())}var r=t.getLanguage().toLowerCase();switch(r){case\"en\":r=\"en-us\";break;case\"nb\":r=\"nb-no\";break;case\"no\":r=\"nb-no\";break;case\"el\":r=\"el-monoton\";break;default:break}return r}function L(e){if(e){return new i(e).toString()}return new i(n.getLanguageTag()).toString()}function I(e){if(typeof e===\"string\"){const n=e.split(/[-_]/);return n[0]}else{return null}}function P(e){var n=I(e);if(o.hasOwnProperty(n)){return\"'\"+o[n]+\"' (code:'\"+n+\"')\"}else{return\"'\"+n+\"'\"}}function E(e){h.fireError(e);r.error(\"[UI5 Hyphenation] \"+e,\"sap.ui.core.hyphenation.Hyphenation\")}var k=t.extend(\"sap.ui.core.hyphenation.Hyphenation\",{metadata:{library:\"sap.ui.core\",events:{error:{parameters:{sErrorMessage:{type:\"string\"}}}}}});k.prototype.canUseNativeHyphenation=function(n){var t=L(n),i=b(n),a;if(!this.isLanguageSupported(i)){return null}if(!u.hasOwnProperty(t)){v(t,e[i.toLowerCase()]);var o=m(document.documentElement);if(o!==null){var s=document.getElementById(t);if(H(s)&&s.offsetHeight>12){a=true}else{a=false}w()}u[t]=a;if(a){r.info(\"[UI5 Hyphenation] Browser-native hyphenation can be used for language \"+P(t),\"sap.ui.core.hyphenation.Hyphenation.canUseNativeHyphenation()\")}else{r.info(\"[UI5 Hyphenation] Browser-native hyphenation is not supported by current platform for language \"+P(t),\"sap.ui.core.hyphenation.Hyphenation.canUseNativeHyphenation()\")}}else{a=u[t]}return a};k.prototype.canUseThirdPartyHyphenation=function(e){var n=b(e),t;if(!this.isLanguageSupported(e)){return null}if(!p.hasOwnProperty(n)){t=a.hasOwnProperty(n)&&a[n];if(t){r.info(\"[UI5 Hyphenation] Third-party hyphenation can be used for language \"+P(n),\"sap.ui.core.hyphenation.Hyphenation.canUseThirdPartyHyphenation()\")}else{r.info(\"[UI5 Hyphenation] Third-party hyphenation is not supported for language \"+P(n),\"sap.ui.core.hyphenation.Hyphenation.canUseThirdPartyHyphenation()\")}p[n]=t}else{t=p[n]}return t};k.prototype.isLanguageSupported=function(n){var t=b(n),i;if(!s.hasOwnProperty(t)){i=e.hasOwnProperty(t);if(!i){r.info(\"[UI5 Hyphenation] Language \"+P(t)+\" is not known to the Hyphenation API\",\"sap.ui.core.hyphenation.Hyphenation.isLanguageSupported()\")}s[t]=i}else{i=s[t]}return i};k.prototype.hyphenate=function(e,n){var t=b(n);if(!y.hasOwnProperty(t)){E(\"Language \"+P(t)+\" is not initialized. You have to initialize it first with method 'initialize()'\");return e}return y[t](e)};k.prototype.getInitializedLanguages=function(){return Object.keys(y).map(function(e){return I(e)})};k.prototype.isLanguageInitialized=function(e){var n=b(e);return Object.keys(y).indexOf(n)!=-1};k.prototype.initialize=function(e){var n=b(e);if(!a[n]){var t=\"Language \"+P(e)+\" can not be initialized. It is either not supported by the third-party module or an error occurred\";E(t);return Promise.reject(t)}if(y[n]){return Promise.resolve()}var r;if(!this._pInitLanguage){r=this._pInitLanguage=c(n).then(function(e){y[n]=e;this._pInitLanguage=null}.bind(this))}else{r=this._pInitLanguage.then(function(){return this.initialize(e)}.bind(this))}return r};k.getInstance=function(){if(!h){h=new k}return h};return k});\n/*!\n* OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.predefine(\"sap/ui/core/hyphenation/HyphenationTestingWords\", [],function(){\"use strict\";var i={bg:\"непротивоконституционствувателствувайте\",ca:\"psiconeuroimmunoendocrinologia\",hr:\"prijestolonasljednikovičičinima\",cs:\"nejnezdevětadevadesáteronásobitelnějšími\",da:\"gedebukkebensoverogundergeneralkrigskommandersergenten\",nl:\"meervoudigepersoonlijkheidsstoornissen\",\"en-us\":\"pneumonoultramicroscopicsilicovolcanoconiosis\",et:\"sünnipäevanädalalõpupeopärastlõunaväsimus\",fi:\"kolmivaihekilowattituntimittari\",fr:\"hippopotomonstrosesquippedaliophobie\",de:\"Kindercarnavalsoptochtvoorbereidingswerkzaamhedenplan\",\"el-monoton\":\"ηλεκτροεγκεφαλογράφημα\",hi:\"किंकर्तव्यविमूढ़\",hu:\"megszentségteleníthetetlenségeskedéseitekért\",it:\"hippopotomonstrosesquippedaliofobia\",lt:\"nebeprisikiškiakopūstlapiaujančiuosiuose\",\"nb-no\":\"supercalifragilisticexpialidocious\",pl:\"dziewięćdziesięciokilkuletniemu\",pt:\"pneumoultramicroscopicossilicovulcanoconiose\",ru:\"превысокомногорассмотрительствующий\",sr:\"семпаравиливичинаверсаламилитипиковски\",sl:\"dialektičnomaterialističen\",es:\"electroencefalografistas\",sv:\"realisationsvinstbeskattning\",th:\"ตัวอย่างข้อความที่จะใช้ในการยืนยันการถ่ายโอน\",tr:\"muvaffakiyetsizleştiricileştiriveremeyebileceklerimizdenmişsinizcesine\",uk:\"нікотинамідаденіндинуклеотидфосфат\"};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/interaction/KeyboardInteractionDisplay\", [\"sap/base/Log\",\"sap/base/i18n/LanguageFallback\",\"sap/base/i18n/Localization\",\"sap/ui/Device\",\"sap/ui/core/Element\",\"sap/ui/core/LabelEnablement\",\"sap/ui/core/Lib\",\"sap/ui/util/XMLHelper\"],function(t,e,n,o,s,r,a,i){\"use strict\";const c=\"sap.ui.interaction.UpdateDisplay\";const l=\"1.0.0\";const u={_version:l,elements:[],docs:{}};const d=new Map;const f=t=>{const e=t.split(\"+\").map(t=>t.trim());const n={ctrl:false,alt:false,shift:false};let s=null;for(const t of e){const e=t.toLowerCase();if(e===\"ctrl\"){n.ctrl=true}else if(e===\"alt\"){n.alt=true}else if(e===\"shift\"){n.shift=true}else if(!s){if(t.length===1){s=t.toUpperCase()}else{s=t}}}const r=[];if(n.ctrl){r.push(o.os.macintosh?\"Cmd\":\"Ctrl\")}if(n.alt){r.push(\"Alt\")}if(n.shift){r.push(\"Shift\")}if(s){r.push(s)}return r.join(\"+\")};const g=t=>{const e=a.getResourceBundleFor(\"sap.ui.core\");return t.split(\"+\").map(t=>{const n=t.trim();const o=`Keyboard.Shortcut.${n}`;const s=n.length>1?e.getText(o):n;return s===o?t.trim():s}).join(\"+\")};const m=t=>{t.forEach(t=>{if(!t.hasAttribute(\"data-sap-ui-kbd-raw\")){const e=f(t.textContent);t.setAttribute(\"data-sap-ui-kbd-raw\",e);t.textContent=g(e)}});return t};const p=t=>{const e=t.documentElement;const n=Array.from(e.querySelectorAll(\"kbd\"));m(n);return t};const h=t=>{const e=[];const n=t.getDependents?.()||[];for(const t of n){if(t.isA(\"sap.ui.core.CommandExecution\")&&t.getVisible()){const n=t._getCommandInfo();const o=f(n.shortcut);e.push({name:t.getCommand(),kbd:[{raw:o,translated:g(o)}],description:n.description})}}return e};const b=(t,e)=>{const n=t.getFieldHelpDisplay();const o=n?s.getElementById(n):t;let a=r._getLabelTexts(o)[0];if(!a){const e=t.getAccessibilityInfo?.();if(e){a=e.description||e.children?.[0]?.getAccessibilityInfo?.()?.description||null}}const i=\"aria-labelledby\";if(!a){let n;let o=t;let s=false;while(o&&!n&&!a){const r=t.getDomRef();n=r?.getAttribute(i);if(!n&&!s){s=true;const n=e.documentElement;if(n){const e=[...n.querySelectorAll(\"control-interactions\")];const o=e.find(e=>Array.from(e.querySelectorAll(`control[name]`)).find(e=>e.getAttribute(\"name\")===t.getMetadata().getName()));a=o?.querySelector(\"control\")?.querySelector(\"defaultLabel\")?.textContent}}if(!n&&!a){const t=r.querySelector(\"[aria-labelledby]\");n=t?.getAttribute(i)}o=o.getParent?.()}if(!a&&n){const t=document.getElementById(n);a=t?.textContent||null}}return a||t.getMetadata().getName()};const y=async(o,s)=>{let r=o;while(r&&!s){s=r.getMetadata().getLibraryName();r=r.getParent()}if(!s){return null}const c=a._get(s);if(!c?.interactionDocumentation){return null}const l=n.getLanguage();const u=e.getFallbackLocales(l);let f=null;while(u.length){const e=u.shift();const n=e?`interaction_${e}.xml`:`interaction.xml`;const o=sap.ui.require.toUrl(`${s.replace(/\\./g,\"/\")}/i18n/${n}`);const r=`${s}:${e}`;if(d.has(r)){return d.get(r)}try{const t=await fetch(o);if(!t.ok){const e=t.statusText||`HTTP status ${t.status}`;throw new Error(`Failed to load resource: ${o} - ${e}`)}const e=await t.text();f=i.parse(e);if(f){f=p(f);d.set(r,f);break}}catch(e){t.error(`Error loading interaction XML for library ${s}:`,e)}}return f};const A=(t,e)=>{const n=e.documentElement;if(!n){return[]}const o=[...n.querySelectorAll(\"control-interactions\")];const s=o.find(e=>Array.from(e.querySelectorAll(`control[name]`)).find(e=>e.getAttribute(\"name\")===t));if(!s){return[]}return[...s.querySelectorAll(\"interaction\")].map(t=>{const e=Array.from(t.children).filter(t=>t.tagName===\"kbd\");const n=e.map(t=>({raw:t.getAttribute(\"data-sap-ui-kbd-raw\"),translated:t.textContent}));return{kbd:n,description:t.querySelector(\"description\")?.innerHTML||\"\"}})};let v;let w=false;const x=async t=>{if(w){return}w=true;setTimeout(()=>{w=false},300);const e=[];const n={};const o=new Map;let r;if(t){r=t.type===\"focusin\"?t.target:t.relatedTarget}r??=document.activeElement;const i=s.closestTo(r);const l=await y(null,\"sap.ui.core\");if(l){const t=a.getResourceBundleFor(\"sap.ui.core\");const e=t.getText(\"Generic.Keyboard.Interaction.Text\");n[\"sap.ui.core.Control\"]={interactions:A(\"sap.ui.core.Control\",l)};o.set(e,{index:-1,class:\"sap.ui.core.Control\",label:e,interactions:[{$ref:`docs/sap.ui.core.Control/interactions`}]})}let d=i;while(d){e.push(d);d=d.getParent()}for(let t=0;t0){n[l]={interactions:c};a.push({$ref:`docs/${l}/interactions`})}const u=b(s,i);if(!o.has(u)){o.set(u,{interactions:[],label:u})}const d=o.get(u);d.index=t;d.id=s.getId();d.class=l;d.interactions.unshift(...a.reverse())}u.elements=Array.from(o.values()).sort((t,e)=>t.index-e.index).map(t=>{delete t.index;return t});u.docs=n;v?.postMessage(JSON.parse(JSON.stringify({service:c,type:\"request\",payload:{...u}})))};return{_isActive:false,async activate(t){v=t;if(this._isActive){return}this._isActive=true;await x();document.addEventListener(\"focusin\",x);document.addEventListener(\"focusout\",x);n.attachChange(x)},deactivate(){if(!this._isActive){return}this._isActive=false;document.removeEventListener(\"focusin\",x);document.removeEventListener(\"focusout\",x);n.detachChange(x)},_:{getNormalizedShortcutString:f,translateInteractionXML:p,localizeKeys:g,annotateAndTranslateKbdTags:m,getInteractions:A,getCommandInfosFor:h}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/library\", [\"sap/ui/base/DataType\",\"sap/ui/core/Lib\",\"sap/ui/core/message/MessageType\",\"sap/ui/core/mvc/ViewType\",\"./CalendarType\",\"sap/ui/core/date/CalendarWeekNumbering\"],function(e,i,o,r,a,t){\"use strict\";var n=i.init({name:\"sap.ui.core\",version:\"1.139.0\",designtime:\"sap/ui/core/designtime/library.designtime\",apiVersion:2,...{interactionDocumentation:true},types:[\"any\",\"boolean\",\"float\",\"int\",\"object\",\"string\",\"void\",\"sap.ui.core.AbsoluteCSSSize\",\"sap.ui.core.AccessibleRole\",\"sap.ui.core.AccessibleLandmarkRole\",\"sap.ui.core.aria.HasPopup\",\"sap.ui.core.BarColor\",\"sap.ui.core.BusyIndicatorSize\",\"sap.ui.core.CalendarType\",\"sap.ui.core.CSSColor\",\"sap.ui.core.CSSGapShortHand\",\"sap.ui.core.CSSSize\",\"sap.ui.core.CSSSizeShortHand\",\"sap.ui.core.Collision\",\"sap.ui.core.ComponentLifecycle\",\"sap.ui.core.Design\",\"sap.ui.core.Dock\",\"sap.ui.core.HorizontalAlign\",\"sap.ui.core.ID\",\"sap.ui.core.IconColor\",\"sap.ui.core.ImeMode\",\"sap.ui.core.IndicationColor\",\"sap.ui.core.ItemSelectionMode\",\"sap.ui.core.MessageType\",\"sap.ui.core.OpenState\",\"sap.ui.core.Orientation\",\"sap.ui.core.Percentage\",\"sap.ui.core.Priority\",\"sap.ui.core.ScrollBarAction\",\"sap.ui.core.Scrolling\",\"sap.ui.core.SortOrder\",\"sap.ui.core.TextAlign\",\"sap.ui.core.TextDirection\",\"sap.ui.core.TitleLevel\",\"sap.ui.core.URI\",\"sap.ui.core.ValueState\",\"sap.ui.core.VerticalAlign\",\"sap.ui.core.Wrapping\",\"sap.ui.core.InvisibleMessageMode\",\"sap.ui.core.dnd.DropEffect\",\"sap.ui.core.dnd.DropLayout\",\"sap.ui.core.dnd.DropPosition\",\"sap.ui.core.mvc.ViewType\",\"sap.ui.core.routing.HistoryDirection\"],interfaces:[\"sap.ui.core.IShrinkable\",\"sap.ui.core.Label\",\"sap.ui.core.ILabelable\",\"sap.ui.core.PopupInterface\",\"sap.ui.core.Toolbar\",\"sap.ui.core.IContextMenu\",\"sap.ui.core.IFormContent\",\"sap.ui.core.dnd.IDragInfo\",\"sap.ui.core.dnd.IDropInfo\",\"sap.ui.core.IDScope\",\"sap.ui.core.ITitleContent\",\"sap.ui.core.IAsyncContentCreation\",\"sap.ui.core.IPlaceholderSupport\",\"sap.ui.core.IColumnHeaderMenu\"],controls:[\"sap.ui.core.ComponentContainer\",\"sap.ui.core.Control\",\"sap.ui.core.HTML\",\"sap.ui.core.Icon\",\"sap.ui.core.InvisibleText\",\"sap.ui.core.LocalBusyIndicator\",\"sap.ui.core.ScrollBar\",\"sap.ui.core.TooltipBase\",\"sap.ui.core.XMLComposite\",\"sap.ui.core.mvc.HTMLView\",\"sap.ui.core.mvc.JSONView\",\"sap.ui.core.mvc.JSView\",\"sap.ui.core.mvc.TemplateView\",\"sap.ui.core.mvc.View\",\"sap.ui.core.mvc.XMLView\",\"sap.ui.core.tmpl.DOMElement\",\"sap.ui.core.tmpl.TemplateControl\",\"sap.ui.core.util.Export\"],elements:[\"sap.ui.core.CustomData\",\"sap.ui.core.Element\",\"sap.ui.core.Item\",\"sap.ui.core.LayoutData\",\"sap.ui.core.ListItem\",\"sap.ui.core.Message\",\"sap.ui.core.SeparatorItem\",\"sap.ui.core.Title\",\"sap.ui.core.VariantLayoutData\",\"sap.ui.core.dnd.DragDropBase\",\"sap.ui.core.dnd.DragInfo\",\"sap.ui.core.dnd.DropInfo\",\"sap.ui.core.dnd.DragDropInfo\",\"sap.ui.core.search.OpenSearchProvider\",\"sap.ui.core.search.SearchProvider\",\"sap.ui.core.tmpl.DOMAttribute\",\"sap.ui.core.util.ExportCell\",\"sap.ui.core.InvisibleMessage\"],extensions:{\"sap.ui.support\":{diagnosticPlugins:[\"sap/ui/core/support/plugins/TechInfo\",\"sap/ui/core/support/plugins/ControlTree\",\"sap/ui/core/support/plugins/Debugging\",\"sap/ui/core/support/plugins/Trace\",\"sap/ui/core/support/plugins/Selector\",\"sap/ui/core/support/plugins/Breakpoint\",\"sap/ui/core/support/plugins/ViewInfo\",\"sap/ui/core/support/plugins/LocalStorage\",\"sap/ui/core/support/plugins/Interaction\",\"sap/ui/core/support/plugins/Performance\"],publicRules:true,internalRules:true}}});n.AbsoluteCSSSize=e.createType(\"sap.ui.core.AbsoluteCSSSize\",{isValid:function(e){return/^([-+]?(0*|([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]))|calc\\(\\s*(\\(\\s*)*[-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC])?)(\\s*(\\)\\s*)*(\\s[-+]\\s|[*\\/])\\s*(\\(\\s*)*([-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC])?)))*\\s*(\\)\\s*)*\\))$/.test(e)}},e.getType(\"string\"));n.AccessibleRole={Alert:\"Alert\",AlertDialog:\"AlertDialog\",Application:\"Application\",Banner:\"Banner\",Button:\"Button\",Checkbox:\"Checkbox\",ColumnHeader:\"ColumnHeader\",Combobox:\"Combobox\",\n/**\n\t\t * Information about the content on the page. Examples are footnotes, copyrights, or links to privacy statements.\n\t\t *\n\t\t * @public\n\t\t */\nContentInfo:\"ContentInfo\",Definition:\"Definition\",Description:\"Description\",Dialog:\"Dialog\",Directory:\"Directory\",Document:\"Document\",Grid:\"Grid\",GridCell:\"GridCell\",Group:\"Group\",Heading:\"Heading\",Img:\"Img\",Link:\"Link\",List:\"List\",Listbox:\"Listbox\",ListItem:\"ListItem\",Log:\"Log\",Main:\"Main\",Marquee:\"Marquee\",Menu:\"Menu\",Menubar:\"Menubar\",MenuItem:\"MenuItem\",MenuItemCheckbox:\"MenuItemCheckbox\",MenuItemRadio:\"MenuItemRadio\",Navigation:\"Navigation\",Note:\"Note\",Option:\"Option\",Presentation:\"Presentation\",ProgressBar:\"ProgressBar\",Radio:\"Radio\",RadioGroup:\"RadioGroup\",Region:\"Region\",Row:\"Row\",RowHeader:\"RowHeader\",Search:\"Search\",Secondary:\"Secondary\",SeeAlso:\"SeeAlso\",Separator:\"Separator\",Slider:\"Slider\",SpinButton:\"SpinButton\",Status:\"Status\",Tab:\"Tab\",Tablist:\"Tablist\",Tabpanel:\"Tabpanel\",Textbox:\"Textbox\",Timer:\"Timer\",Toolbar:\"Toolbar\",Tooltip:\"Tooltip\",Tree:\"Tree\",TreeGrid:\"TreeGrid\",TreeItem:\"TreeItem\"};e.registerEnum(\"sap.ui.core.AccessibleRole\",n.AccessibleRole);n.AccessibleLandmarkRole={None:\"None\",Banner:\"Banner\",Main:\"Main\",Region:\"Region\",Navigation:\"Navigation\",Search:\"Search\",Complementary:\"Complementary\",Form:\"Form\",ContentInfo:\"ContentInfo\"};e.registerEnum(\"sap.ui.core.AccessibleLandmarkRole\",n.AccessibleLandmarkRole);n.aria=n.aria||{};n.aria.HasPopup={None:\"None\",Menu:\"Menu\",ListBox:\"ListBox\",Tree:\"Tree\",Grid:\"Grid\",Dialog:\"Dialog\"};e.registerEnum(\"sap.ui.core.aria.HasPopup\",n.aria.HasPopup);n.BarColor={NEUTRAL:\"NEUTRAL\",POSITIVE:\"POSITIVE\",CRITICAL:\"CRITICAL\",NEGATIVE:\"NEGATIVE\"};e.registerEnum(\"sap.ui.core.BarColor\",n.BarColor);n.BusyIndicatorSize={Auto:\"Auto\",Small:\"Small\",Medium:\"Medium\",Large:\"Large\",Section:\"Section\"};e.registerEnum(\"sap.ui.core.BusyIndicatorSize\",n.BusyIndicatorSize);(()=>{n.CalendarType=a})();n.CSSColor=e.createType(\"sap.ui.core.CSSColor\",{isValid:function(e){return/^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\\(\\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*(,\\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*){2}\\)|rgba\\((\\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*,){3}\\s*(0(\\.[0-9]+)?|1(\\.0+)?)\\s*\\)|hsl\\(\\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\\s*(,\\s*(([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*){2}\\)|hsla\\(\\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\\s*,(\\s*(([0-9]?[0-9](\\.[0-9]+)?|100(\\.0+)?)%)\\s*,){2}\\s*(0(\\.[0-9]+)?|1(\\.0+)?)\\s*\\)|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgrey|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgrey|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silverskyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|inherit|)$/.test(e)}},e.getType(\"string\"));n.CSSGapShortHand=e.createType(\"sap.ui.core.CSSGapShortHand\",{isValid:function(e){var i=true,o=e.split(/\\s+/);o.forEach(function(e){if(!n.CSSSize.isValid(e)){i=false}});return i},parseValue:function(e){return e.trim().split(/\\s+/).join(\" \")}},e.getType(\"string\"));n.CSSSize=e.createType(\"sap.ui.core.CSSSize\",{isValid:function(e){return/^(auto|inherit|[-+]?(0*|([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%))|calc\\(\\s*(\\(\\s*)*[-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%)?)(\\s*(\\)\\s*)*(\\s[-+]\\s|[*\\/])\\s*(\\(\\s*)*([-+]?(([0-9]+|[0-9]*\\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%)?)))*\\s*(\\)\\s*)*\\))$/.test(e)}},e.getType(\"string\"));n.CSSSizeShortHand=e.createType(\"sap.ui.core.CSSSizeShortHand\",{isValid:function(e){return/^(inherit|(auto|[-+]?(0*|(\\d+|\\d*\\.\\d+)([eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|%))){1}(\\s(auto|[-+]?(0*|(\\d+|\\d*\\.\\d+)([eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|%)))){0,3})$/.test(e)}},e.getType(\"string\"));n.Collision=e.createType(\"sap.ui.core.Collision\",{isValid:function(e){return/^((flip|fit|flipfit|none)( (flip|fit|flipfit|none))?)$/.test(e)}},e.getType(\"string\"));n.Design={Standard:\"Standard\",Monospace:\"Monospace\"};e.registerEnum(\"sap.ui.core.Design\",n.Design);n.Dock=e.createType(\"sap.ui.core.Dock\",{isValid:function(e){return/^((begin|left|center|right|end) (top|center|bottom))$/.test(e)}},e.getType(\"string\"));n.HorizontalAlign={Begin:\"Begin\",End:\"End\",Left:\"Left\",Right:\"Right\",Center:\"Center\"};e.registerEnum(\"sap.ui.core.HorizontalAlign\",n.HorizontalAlign);n.ID=e.getType(\"sap.ui.core.ID\");n.IconColor={Default:\"Default\",Positive:\"Positive\",Negative:\"Negative\",Critical:\"Critical\",Neutral:\"Neutral\",Contrast:\"Contrast\",NonInteractive:\"NonInteractive\",Tile:\"Tile\",Marker:\"Marker\"};e.registerEnum(\"sap.ui.core.IconColor\",n.IconColor);n.ImeMode={Auto:\"Auto\",Active:\"Active\",Inactive:\"Inactive\",Disabled:\"Disabled\"};e.registerEnum(\"sap.ui.core.ImeMode\",n.ImeMode);n.IndicationColor={Indication01:\"Indication01\",Indication02:\"Indication02\",Indication03:\"Indication03\",Indication04:\"Indication04\",Indication05:\"Indication05\",Indication06:\"Indication06\",Indication07:\"Indication07\",Indication08:\"Indication08\",Indication09:\"Indication09\",Indication10:\"Indication10\",Indication11:\"Indication11\",Indication12:\"Indication12\",Indication13:\"Indication13\",Indication14:\"Indication14\",Indication15:\"Indication15\",Indication16:\"Indication16\",Indication17:\"Indication17\",Indication18:\"Indication18\",Indication19:\"Indication19\",Indication20:\"Indication20\"};e.registerEnum(\"sap.ui.core.IndicationColor\",n.IndicationColor);n.OpenState={OPEN:\"OPEN\",CLOSED:\"CLOSED\",OPENING:\"OPENING\",CLOSING:\"CLOSING\"};e.registerEnum(\"sap.ui.core.OpenState\",n.OpenState);n.Orientation={Horizontal:\"Horizontal\",Vertical:\"Vertical\"};e.registerEnum(\"sap.ui.core.Orientation\",n.Orientation);n.Percentage=e.createType(\"sap.ui.core.Percentage\",{isValid:function(e){return/^([0-9][0-9]*(\\.[0-9]+)?%)$/.test(e)}},e.getType(\"string\"));n.Priority={None:\"None\",Low:\"Low\",Medium:\"Medium\",High:\"High\"};e.registerEnum(\"sap.ui.core.Priority\",n.Priority);n.ScrollBarAction={Step:\"Step\",Page:\"Page\",MouseWheel:\"MouseWheel\",Drag:\"Drag\"};e.registerEnum(\"sap.ui.core.ScrollBarAction\",n.ScrollBarAction);n.Scrolling={None:\"None\",Auto:\"Auto\",Scroll:\"Scroll\",Hidden:\"Hidden\"};e.registerEnum(\"sap.ui.core.Scrolling\",n.Scrolling);n.SortOrder={None:\"None\",Ascending:\"Ascending\",Descending:\"Descending\"};e.registerEnum(\"sap.ui.core.SortOrder\",n.SortOrder);n.TextAlign={Begin:\"Begin\",End:\"End\",Left:\"Left\",Right:\"Right\",Center:\"Center\",Initial:\"Initial\"};e.registerEnum(\"sap.ui.core.TextAlign\",n.TextAlign);n.TextDirection={LTR:\"LTR\",RTL:\"RTL\",Inherit:\"Inherit\"};e.registerEnum(\"sap.ui.core.TextDirection\",n.TextDirection);n.TitleLevel={Auto:\"Auto\",H1:\"H1\",H2:\"H2\",H3:\"H3\",H4:\"H4\",H5:\"H5\",H6:\"H6\"};e.registerEnum(\"sap.ui.core.TitleLevel\",n.TitleLevel);n.URI=e.createType(\"sap.ui.core.URI\",{isValid:function(e){return/^((([^:\\/?#]+):)?(\\/\\/([^\\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?)$/.test(e)}},e.getType(\"string\"));n.ValueState={Error:\"Error\",Warning:\"Warning\",Success:\"Success\",Information:\"Information\",None:\"None\"};e.registerEnum(\"sap.ui.core.ValueState\",n.ValueState);n.VerticalAlign={Bottom:\"Bottom\",Middle:\"Middle\",Top:\"Top\",Inherit:\"Inherit\"};e.registerEnum(\"sap.ui.core.VerticalAlign\",n.VerticalAlign);n.Wrapping={None:\"None\",Soft:\"Soft\",Hard:\"Hard\",Off:\"Off\"};e.registerEnum(\"sap.ui.core.Wrapping\",n.Wrapping);n.dnd=n.dnd||{};n.dnd.DropPosition={On:\"On\",Between:\"Between\",OnOrBetween:\"OnOrBetween\"};e.registerEnum(\"sap.ui.core.dnd.DropPosition\",n.dnd.DropPosition);n.dnd.RelativeDropPosition={On:\"On\",Before:\"Before\",After:\"After\"};e.registerEnum(\"sap.ui.core.dnd.RelativeDropPosition\",n.dnd.RelativeDropPosition);n.dnd.DropLayout={Default:\"Default\",Vertical:\"Vertical\",Horizontal:\"Horizontal\"};e.registerEnum(\"sap.ui.core.dnd.DropLayout\",n.dnd.DropLayout);n.dnd.DropEffect={Copy:\"Copy\",Move:\"Move\",Link:\"Link\",None:\"None\"};e.registerEnum(\"sap.ui.core.dnd.DropEffect\",n.dnd.DropEffect);n.mvc=n.mvc||{};n.ItemSelectionMode={None:\"None\",SingleSelect:\"SingleSelect\",MultiSelect:\"MultiSelect\"};e.registerEnum(\"sap.ui.core.ItemSelectionMode\",n.ItemSelectionMode);n.MessageType=o;e.registerEnum(\"sap.ui.core.MessageType\",n.MessageType);n.mvc.ViewType=r;n.routing=n.routing||{};n.routing.HistoryDirection={Forwards:\"Forwards\",Backwards:\"Backwards\",NewEntry:\"NewEntry\",Unknown:\"Unknown\"};n.ComponentLifecycle={Legacy:\"Legacy\",Application:\"Application\",Container:\"Container\"};e.registerEnum(\"sap.ui.core.ComponentLifecycle\",n.ComponentLifecycle);n.InvisibleMessageMode={Polite:\"Polite\",Assertive:\"Assertive\"};e.registerEnum(\"sap.ui.core.InvisibleMessageMode\",n.InvisibleMessageMode);(function(){var e=sap.ui.lazyRequire;function i(i,o,r){for(var a=0;a0){var i=e.getElementById(l);if(i.getMetadata().isInstanceOf(\"sap.ui.core.Label\")&&i.getText){let e=t.getAdditionalText()||\"\";const s=i.getText();if(!e.split(\",\").includes(s)){if(t[a]){e=e?`${e}, ${s}`:s}else{e=s;t[a]=true}t.setAdditionalText(e);d=true}}else{s.warning(\"sap.ui.core.message.Message: Can't create labelText.\"+\"Label with id \"+l+\" is no valid sap.ui.core.Label.\",this)}}if(!t.getControlIds().includes(this.getId())){t.addControlId(this.getId());d=true}}.bind(this));var u=sap.ui.require(\"sap/ui/core/Messaging\");if(u){var f=u.getMessageModel();f.checkUpdate(d,true)}if(o&&o.length>0){var h=o[0];if(n[h.type]){this.setValueState(h.type);this.setValueStateText(h.message)}}else{this.setValueState(n.None);this.setValueStateText(\"\")}}}function g(){var e=this.getId();function t(t){t.removeControlId(e)}for(var s in this.mBindingInfos){var i=this.mBindingInfos[s];if(i.binding){var a=i.binding.getDataState();var n=a.getAllMessages();n.forEach(t)}}this.fnDestroy.apply(this,arguments)}return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/message/MessageParser\", [\"sap/ui/base/Object\",\"sap/base/Log\"],function(e,s){\"use strict\";var r=e.extend(\"sap.ui.core.message.MessageParser\",{metadata:{publicMethods:[\"parse\",\"setProcessor\"]},constructor:function(){this._processor=null}});r.prototype.setProcessor=function(e){this._processor=e;return this};r.prototype.getProcessor=function(){return this._processor};r.prototype.parse=function(e,r){s.error(\"MessageParser: parse-method must be implemented in the specific parser class. Messages \"+\"have been ignored.\")};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/Controller\", [\"sap/base/util/ObjectPath\",\"sap/base/util/extend\",\"sap/ui/base/EventProvider\",\"sap/ui/base/OwnStatics\",\"sap/ui/base/ManagedObject\",\"sap/ui/core/mvc/ControllerMetadata\",\"sap/ui/core/mvc/ControllerExtension\",\"sap/ui/core/mvc/ControllerExtensionProvider\",\"sap/ui/core/mvc/OverrideExecution\",\"sap/ui/util/_enforceNoReturnValue\",\"sap/base/future\",\"sap/base/Log\"],function(e,t,n,r,o,i,a,s,l,u,c,f){\"use strict\";const{getCurrentOwnerId:d}=r.get(o);var p={};var h=n.extend(\"sap.ui.core.mvc.Controller\",{metadata:{stereotype:\"controller\",methods:{byId:{public:true,final:true},getInterface:{public:false,final:true},getMetadata:{public:true,final:true},getView:{public:true,final:true},isA:{public:true,final:true},onExit:{public:false,final:false,overrideExecution:l.Before},onInit:{public:false,final:false,overrideExecution:l.After},onAfterRendering:{public:false,final:false,overrideExecution:l.After},onBeforeRendering:{public:false,final:false,overrideExecution:l.Before}}},constructor:function(e){var r=null;if(typeof e==\"string\"){if(!p[e]){f.warning(\"Do not call sap.ui.core.mvc.Controller constructor for non typed scenario!\")}r=p[e]}n.apply(this,arguments);if(r){t(this,p[e])}if(this.extension){throw new Error(\"The keyword 'extension' cannot be used as a member of a controller\")}this[\"_sapui_Extensions\"]={};m(this,false);this._sapui_isExtended=false;this._aDestroyables=[]},_isExtended:function(){return this._sapui_isExtended},getInterface:function(){var e={};var t=this.getMetadata();var n=t._aAllPublicMethods;n.forEach(function(t){var n=this[t];if(typeof n===\"function\"){e[t]=function(){var e=n.apply(this,arguments);return e instanceof h?e.getInterface():e}.bind(this)}}.bind(this));this.getInterface=function(){return e};return e}},i);function g(t,n,r){var o=n.getMetadata().getName();var i=t.getMetadata();var s=t[\"_sapui_Extensions\"];var l=t.getInterface();var u=a.getMetadata().getLifecycleConfiguration();var d={namespace:o,extension:n,reloadNeeded:false};n._setController(l);if(n.getMetadata().hasOverrides()){var p,h,g,v,y=n.getMetadata().getOverrides(),x=n.getMetadata().getStaticOverrides();for(v in x){g=n.getMetadata();if(!g.isMethodFinal(v)){a.overrideMethod(v,n,x,n,g.getOverrideExecution(v))}else{c.errorThrows(\"Method '\"+v+\"' of extension '\"+o+\"' is flagged final and cannot be overridden by calling 'override'\")}}for(v in y){if(v!==\"extension\"){if(v in n.base){f.debug(\"Overriding member '\"+v+\"' of original controller.\");var m=y[v];var w=t[v];if(typeof w==\"object\"&&typeof m==\"object\"){h=s[v];g=h.extension.getMetadata();for(p in m){if(!g.isMethodFinal(p)){a.overrideMethod(p,w,m,n,g.getOverrideExecution(p))}else{c.errorThrows(\"Method '\"+p+\"' of extension '\"+h.namespace+\"' is flagged final and cannot be overridden by extension '\"+o+\"'\")}}}else if(!i.isMethodFinal(v)){a.overrideMethod(v,t,y,n,i.getOverrideExecution(v))}else{c.errorThrows(\"Method '\"+v+\"' of controller '\"+t.getMetadata().getName()+\"' is flagged final and cannot be overridden by extension '\"+o+\"'\")}}else if(v in u){a.overrideMethod(v,t,y,n,i.getOverrideExecution(v))}else if(v.startsWith(\"extHook\")&&t[v]===null){a.overrideMethod(v,t,y,n)}else{c.errorThrows(\"Method '\"+v+\"' does not exist in controller \"+t.getMetadata().getName()+\" and cannot be overridden\")}}d.reloadNeeded=true}if(y&&y.extension){for(var b in y.extension){g=s[b].extension.getMetadata();var E=e.create(b,t.extension);var M=s[b].extension;var C=y.extension[b];for(p in C){if(!g.isMethodFinal(p)){a.overrideMethod(p,E,C,n,g.getOverrideExecution(p));a.overrideMethod(p,M,C,n,g.getOverrideExecution(p))}else{c.errorThrows(\"Method '\"+p+\"' of extension '\"+b+\"' is flagged final and cannot be overridden by extension '\"+o+\"'\")}}}}}var _=n.getInterface();if(r){s[r]=d;d.location=r;t[r]=_;l[r]=_}else{s[o]=d;d.location=\"extension.\"+o;e.set(\"extension.\"+o,_,t);e.set(\"extension.\"+o,_,l)}}function v(e,t,n){if(t instanceof a){g(e,t,n)}else if(t.getMetadata&&t.getMetadata().getStereotype()==\"controllerextension\"){var r=new t;g(e,r,n)}else{var o=a.getMetadata().getLifecycleConfiguration();for(var i in t){if(i in o){a.overrideMethod(i,e,t,e,o[i].overrideExecution)}else{a.overrideMethod(i,e,t)}}}}function y(t,n,r){if(typeof t!==\"string\"){throw new Error(\"Controller name ('sName' parameter) is required and must be typeof 'string'\")}function o(n){if(n){return n}else if(p[t]){return h}else{return e.get(t)}}let i;if(t.startsWith(\"module:\")){i=t.substring(7)}else{i=t.replace(/\\./g,\"/\")+\".controller\"}let a=sap.ui.require(i);a??=o(a);(()=>{if(a?.getMetadata?.().isA?.(\"sap.ui.core.mvc.View\")){throw new Error(`The controller '${t}' define for the View with ID '${n}' is not a valid Controller, but rather a View. `+`This happens when the View and Controller classes have the same fully qualified class name. Please make sure that the class names in`+`Controller.extend(\"...\") and the View.extend(\"...\") call differ. If you migrated a 'JSView' to a 'Typed View' please refer to the documentation section under 'Typed View'`)}})();if(!r){if(!a){a=sap.ui.requireSync(i);return o(a)}else{return a}}return new Promise(function(e,t){if(!a){sap.ui.require([i],function(t){t??=o(t);e(t)},t)}else{e(a)}})}function x(e,t){var n;if(p[t]){n=new e(t)}else{n=new e}if(!n){throw new Error(\"Controller \"+t+\" couldn't be instantiated\")}return n}function m(e){for(const t in e){if(e[t]&&e[t].getMetadata&&e[t].getMetadata().getStereotype()==\"controllerextension\"){e[t]=new e[t]}}for(const t in e){if(e[t]&&e[t].getMetadata&&e[t].getMetadata().getStereotype()==\"controllerextension\"){v(e,e[t],t)}}}h.applyExtensions=function(e,t,n,r,o){function i(e){return y(e,r,true).then(function(t){t=p[e]||t;if(t!==undefined){if(t.getMetadata&&t.getMetadata().isA(\"sap.ui.core.mvc.Controller\")){c.fatalThrows(\"Attempt to load Extension Controller \"+e+\" was not successful. Controller extension should be a plain object.\",\"\",null,function(){return{type:\"ControllerExtension\",name:e}})}return t}},function(t){c.errorThrows(\"Attempt to load Extension Controller \"+e+\" was not successful - is the Controller correctly defined in its file?\")})}function a(e){if(!p[e]&&!sap.ui.require(e)){y(e,r)}if(p[e]!==undefined){return p[e]}else{f.error(\"Attempt to load Extension Controller \"+e+\" was not successful - is the Controller correctly defined in its file?\",null,function(){return{type:\"ControllerExtension\",name:e}});return{}}}if(o){return s.getControllerExtensions(t,n,r,o).then(function(t){var n=t.customizingControllerNames.map(i);return Promise.all(n).then(function(n){var r=n.concat(t.providerControllers);for(var o=0,i=r.length;o\")}}};r.prototype._checkAndAdaptWidth=function(e){if(!this.getDomRef()){return false}var t=this.$(),a=this.$(\"name\");var i=t.width();t.toggleClass(\"sapUiUfdShellHeadUsrItmLimit\",false);var r=240;if(e){r=Math.min(r,.5*document.documentElement.clientWidth-225)}if(r\");e.write(\"
\");this.renderHeaderItems(e,t,true);e.write(\"
\");e.write(\"
\");this.renderSearch(e,t);e.write(\"
\");e.write(\"
\");this.renderHeaderItems(e,t,false);e.write(\"
\");e.write(\"\")},renderSearch:function(e,t){var i=t.getSearch();e.write(\"\")},renderHeaderItems:function(e,t,i){e.write(\"
\");var a=i?t.getHeadItems():t.getHeadEndItems();for(var s=0;s
\")}var l=t.getUser();if(!i&&l){e.write(\"
\");e.write(\"\");e.writeEscaped(n);e.write(\"
\")}e.write(\"\");if(i){this._renderLogo(e,t)}},_renderLogo:function(e,t){var i=s.getResourceBundleFor(\"sap.ui.unified\"),a=i.getText(\"SHELL_LOGO_TOOLTIP\"),r=t._getLogo();e.write(\"
\");e.write(\"\");e.write(\"
\")}}});l.prototype.init=function(){var e=this;this._rtl=t.getRTL();this._handleMediaChange=function(t){if(!e.getDomRef()){return}e._refresh()};a.media.attachHandler(this._handleMediaChange,this,a.media.RANGESETS.SAP_STANDARD);this._handleResizeChange=function(t){if(!e.getDomRef()||!e.getUser()){return}var i=this.getUser();var a=i._checkAndAdaptWidth(!e.$(\"hdr-search\").hasClass(\"sapUiUfdShellHidden\")&&!!e.getSearch());if(a){e._refresh()}};a.resize.attachHandler(this._handleResizeChange,this);this.data(\"sap-ui-fastnavgroup\",\"true\",true)};l.prototype.exit=function(){a.media.detachHandler(this._handleMediaChange,this,a.media.RANGESETS.SAP_STANDARD);delete this._handleMediaChange;a.resize.detachHandler(this._handleResizeChange,this);delete this._handleResizeChange};l.prototype.onAfterRendering=function(){this._refresh();this.$(\"hdr-center\").toggleClass(\"sapUiUfdShellAnim\",!this._noHeadCenterAnim)};l.prototype.onThemeChanged=function(){if(this.getDomRef()){this.invalidate()}};l.prototype._getLogo=function(){var e=this.getLogo();if(!e){e=d._getThemeImage(null,true)}return e};l.prototype._refresh=function(){function e(e){for(var t=0;tl._HEADER_TOUCH_TRESHOLD){t._doShowHeader(e>0);t._startY=t._currY}}if(e.support.touch){l._HEADER_ALWAYS_VISIBLE=false;l.prototype.ontouchstart=function(t){this._startY=t.touches[0].pageY;if(this._startY>2*48){this._startY=undefined}this._currY=this._startY};l.prototype.ontouchend=function(e){t(this);this._startY=undefined;this._currY=undefined};l.prototype.ontouchcancel=l.prototype.ontouchend;l.prototype.ontouchmove=function(e){this._currY=e.touches[0].pageY;t(this)}}})();l.prototype.setHeaderHiding=function(t){t=!!t;return this._mod(function(e){return this.setProperty(\"headerHiding\",t,e)},function(){this._doShowHeader(!t?true:this._showHeader)})};l.prototype.setHeaderHidingDelay=function(t){this._iHeaderHidingDelay=t;return this};l.prototype.getHeaderHidingDelay=function(){return this._iHeaderHidingDelay};l.prototype.getShowPane=function(){return this._cont.getShowSecondaryContent()};l.prototype.setShowPane=function(t){this._cont.setShowSecondaryContent(t);this.setProperty(\"showPane\",!!t,true);return this};l.prototype.setShowCurtainPane=function(t){this._curtCont.setShowSecondaryContent(t);return this};l.prototype.getShowCurtainPane=function(){return this._curtCont.getShowSecondaryContent()};l.prototype.setHeaderVisible=function(t){t=!!t;this.setProperty(\"headerVisible\",t,true);this.$().toggleClass(\"sapUiUfdShellNoHead\",!t);return this};l.prototype.setShowCurtain=function(t){t=!!t;return this._mod(function(e){this._showCurtain=t;return this},function(){this.$(\"main-focusDummyOut\").attr(\"tabindex\",t?0:-1);this.$().toggleClass(\"sapUiUfdShellCurtainHidden\",!t).toggleClass(\"sapUiUfdShellCurtainVisible\",t);if(t){var e=r.getNextZIndex();this.$(\"curt\").css(\"z-index\",e+1);this.$(\"hdr\").css(\"z-index\",e+3);this.$(\"brand\").css(\"z-index\",e+7);this.$().toggleClass(\"sapUiUfdShellCurtainClosed\",false)}this._timedCurtainClosed(t);this._doShowHeader(true)})};l.prototype.getShowCurtain=function(){return this._showCurtain};l.prototype.setHeader=function(t){this.setAggregation(\"header\",t,true);t=this.getHeader();if(this.getDomRef()){if(!t){this.$(\"hdrcntnt\").html(\"\")}else{var e=(new o).getInterface();e.renderControl(t);e.flush(this.getDomRef(\"hdrcntnt\"));e.destroy()}}return this};l.prototype.destroyHeader=function(){this.destroyAggregation(\"header\",true);this.$(\"hdrcntnt\").html(\"\");return this};l.prototype.getCurtainContent=function(){return this._curtCont.getContent()};l.prototype.insertCurtainContent=function(t,e){this._curtCont.insertContent(t,e);return this};l.prototype.addCurtainContent=function(t){this._curtCont.addContent(t);return this};l.prototype.removeCurtainContent=function(t){return this._curtCont.removeContent(t)};l.prototype.removeAllCurtainContent=function(){return this._curtCont.removeAllContent()};l.prototype.destroyCurtainContent=function(){this._curtCont.destroyContent();return this};l.prototype.indexOfCurtainContent=function(t){return this._curtCont.indexOfCurtainContent(t)};l.prototype.getCurtainPaneContent=function(){return this._curtCont.getSecondaryContent()};l.prototype.insertCurtainPaneContent=function(t,e){this._curtCont.insertSecondaryContent(t,e);return this};l.prototype.addCurtainPaneContent=function(t){this._curtCont.addSecondaryContent(t);return this};l.prototype.removeCurtainPaneContent=function(t){return this._curtCont.removeSecondaryContent(t)};l.prototype.removeAllCurtainPaneContent=function(){return this._curtCont.removeAllSecondaryContent()};l.prototype.destroyCurtainPaneContent=function(){this._curtCont.destroySecondaryContent();return this};l.prototype.indexOfCurtainPaneContent=function(t){return this._curtCont.indexOfSecondaryContent(t)};l.prototype._setStrongBackground=function(t){this._useStrongBG=!!t;this.$(\"strgbg\").toggleClass(\"sapUiStrongBackgroundColor\",this._useStrongBG)};l.prototype._mod=function(t,e){var n=!!this.getDomRef();var i=t.apply(this,[n]);if(n&&e){if(e instanceof u._ContentRenderer){e.render()}else{e.apply(this)}}return i};l.prototype._doShowHeader=function(t){var e=this._showHeader;this._showHeader=this._isHeaderHidingActive()?!!t:true;this.$().toggleClass(\"sapUiUfdShellHeadHidden\",!this._showHeader).toggleClass(\"sapUiUfdShellHeadVisible\",this._showHeader);if(this._showHeader){this._timedHideHeader()}if(e!=this._showHeader&&this._isHeaderHidingActive()){setTimeout(function(){try{var t=document.createEvent(\"UIEvents\");t.initUIEvent(\"resize\",true,false,window,0);window.dispatchEvent(t)}catch(t){c.error(t)}},500)}};l.prototype._timedHideHeader=function(t){if(this._headerHidingTimer){clearTimeout(this._headerHidingTimer);this._headerHidingTimer=null}if(t||!l._HEADER_AUTO_CLOSE||!this._isHeaderHidingActive()||this._iHeaderHidingDelay<=0){return}this._headerHidingTimer=setTimeout(function(){if(this._isHeaderHidingActive()&&this._iHeaderHidingDelay>0&&!h(this.getDomRef(\"hdr\"),document.activeElement)){this._doShowHeader(false)}}.bind(this),this._iHeaderHidingDelay)};l.prototype._timedCurtainClosed=function(t){if(this._curtainClosedTimer){clearTimeout(this._curtainClosedTimer);this._curtainClosedTimer=null}if(t){return}var e=parseInt(s.get(\"_sap_ui_unified_ShellLayout_AnimDuration\"));if(!this._animation){e=0}this._curtainClosedTimer=setTimeout(function(){this._curtainClosedTimer=null;this.$(\"curt\").css(\"z-index\",\"\");this.$(\"hdr\").css(\"z-index\",\"\");this.$(\"brand\").css(\"z-index\",\"\");this.$().toggleClass(\"sapUiUfdShellCurtainClosed\",true)}.bind(this),e)};l.prototype._isHeaderHidingActive=function(){if(l._HEADER_ALWAYS_VISIBLE||this.getShowCurtain()||!this.getHeaderHiding()||u._iNumberOfOpenedShellOverlays>0||!this.getHeaderVisible()){return false}return true};l.prototype._setSidePaneWidth=function(t){if(!t){t=e.media.getCurrentRange(e.media.RANGESETS.SAP_STANDARD).name}var n=l[\"_SIDEPANE_WIDTH_\"+t.toUpperCase()]+\"px\";this._cont.setSecondaryContentSize(n);this._curtCont.setSecondaryContentSize(n)};l.prototype._handleMediaChange=function(t){if(!this.getDomRef()){return false}this._setSidePaneWidth(t.name)};l.prototype._handleResizeChange=function(t){};l.prototype._refreshAfterRendering=function(){var t=this.getDomRef();if(!t){return false}this._timedHideHeader();return true};l.prototype._getSearchWidth=function(){return-1};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ShellLayoutRenderer\", [\"sap/ui/core/ControlBehavior\"],function(i){\"use strict\";var e={};e.render=function(e,a){var d=a.getId();e.write(\"\");e.write(\"
\");e.write(\"
\");if(a.getHeader()){e.renderControl(a.getHeader())}e.write(\"
\",\"
\",\"
\");e.write(\"
\");e.write(\"
\");e.renderControl(a._curtCont);e.write(\"
\");e.write(\"\");e.write(\"
\");e.write(\"
\");e.write(\"
\");e.write(\"
\");e.renderControl(a._cont);e.write(\"
\");e.write(\"\");e.write(\"\")};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ShellOverlay\", [\"sap/ui/Device\",\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/core/Popup\",\"./library\",\"sap/ui/core/theming/Parameters\",\"./ShellOverlayRenderer\",\"sap/ui/thirdparty/jquery\",\"sap/ui/core/Configuration\",\"sap/ui/dom/jquery/rect\",\"sap/ui/dom/jquery/Selectors\"],function(e,t,i,n,r,o,s,jQuery,a){\"use strict\";var l=t.extend(\"sap.ui.unified.ShellOverlay\",{metadata:{library:\"sap.ui.unified\",deprecated:true,defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"},search:{type:\"sap.ui.core.Control\",multiple:false}},associations:{shell:{type:\"sap.ui.unified.ShellLayout\",multiple:false},ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},events:{closed:{}}},renderer:s});l.prototype.open=function(){if(this._getPopup().isOpen()){return}this._opening=true;this._forceShellHeaderVisible();this._getPopup().setModal(true,n.blStack.length==0&&this._getAnimActive()?\"sapUiUfdShellOvrlyBly sapUiUfdShellOvrlyBlyTp\":\"\");this._getPopup().open(0,n.Dock.BeginTop,n.Dock.BeginTop,window,\"0 0\",\"none\");var e=this.getSearch();if(e){e.focus()}this._opening=false;if(this._getAnimActive()){setTimeout(function(){jQuery(document.getElementById(\"sap-ui-blocklayer-popup\")).toggleClass(\"sapUiUfdShellOvrlyBlyTp\",false)},50)}setTimeout(function(){this.$().toggleClass(\"sapUiUfdShellOvrlyOpening\",false)}.bind(this),this._getAnimDuration(true))};l.prototype.close=function(){if(!this._getPopup().isOpen()){return}this.$().toggleClass(\"sapUiUfdShellOvrlyCntntHidden\",true).toggleClass(\"sapUiUfdShellOvrlyClosing\",true);this._setSearchWidth();setTimeout(function(){var e=jQuery(document.getElementById(\"sap-ui-blocklayer-popup\"));if(n.blStack.length==1&&this._getAnimActive()&&e.hasClass(\"sapUiUfdShellOvrlyBly\")){e.toggleClass(\"sapUiUfdShellOvrlyBlyTp\",true)}}.bind(this),Math.max(this._getAnimDuration(false)-this._getBLAnimDuration(),0));setTimeout(function(){this._getPopup().close(0);this.$().remove();this._forceShellHeaderVisible();this.fireClosed()}.bind(this),this._getAnimDuration(false))};l.prototype.setShell=function(e){return this.setAssociation(\"shell\",e,true)};l.prototype.setSearch=function(e){this.setAggregation(\"search\",e,true);if(this.getDomRef()){this._headRenderer.render()}return this};l.prototype.insertContent=function(e,t){var i=this.insertAggregation(\"content\",e,t,true);if(this.getDomRef()){this._contentRenderer.render()}return i};l.prototype.addContent=function(e){var t=this.addAggregation(\"content\",e,true);if(this.getDomRef()){this._contentRenderer.render()}return t};l.prototype.removeContent=function(e){var t=this.removeAggregation(\"content\",e,true);if(this.getDomRef()){this._contentRenderer.render()}return t};l.prototype.removeAllContent=function(){var e=this.removeAllAggregation(\"content\",true);if(this.getDomRef()){this._contentRenderer.render()}return e};l.prototype.destroyContent=function(){var e=this.destroyAggregation(\"content\",true);if(this.getDomRef()){this._contentRenderer.render()}return e};l.prototype.init=function(){this._animOpenDuration=-1;this._animCloseDuration=-1;this._animBlockLayerDuration=-1;this._animation=a.getAnimation();this._opening=false;var e=this;this._headRenderer=new r._ContentRenderer(this,this.getId()+\"-hdr-center\",function(t){s.renderSearch(t,e)});this._contentRenderer=new r._ContentRenderer(this,this.getId()+\"-cntnt\",function(t){s.renderContent(t,e)})};l.prototype.exit=function(){if(this._popup){this._popup.close(0);this._popup.destroy();this._popup=null}this._getPopup=function(){return null};this._headRenderer.destroy();delete this._headRenderer;this._contentRenderer.destroy();delete this._contentRenderer};l.prototype.onAfterRendering=function(){if(this._opening){this._setSearchWidth()}setTimeout(function(){this.$().toggleClass(\"sapUiUfdShellOvrlyCntntHidden\",false);this.$(\"search\").css(\"width\",\"\")}.bind(this),10)};l.prototype.onclick=function(e){if(jQuery(e.target).attr(\"id\")===this.getId()+\"-close\"){this.close();e.preventDefault()}};l.prototype.onsapspace=l.prototype.onclick;l.prototype.onThemeChanged=function(){this._animOpenDuration=-1;this._animCloseDuration=-1;this._animBlockLayerDuration=-1};l.prototype.onfocusin=function(e){var t,i;if(e.target.id==this.getId()+\"-focfirst\"){t=jQuery(\":sapTabbable\",this.$(\"inner\"));i=t.get(t.length-1)}else if(e.target.id==this.getId()+\"-foclast\"){t=jQuery(\":sapTabbable\",this.$(\"inner\"));i=t.get(0)}if(i){i.focus()}};l.prototype._getAnimDurationThemeParam=function(e,t){var i=parseInt(o.get(e));if(!this._getAnimActive()&&t){i=0}return i};l.prototype._getAnimDuration=function(e){if(e&&this._animOpenDuration==-1||!e&&this._animCloseDuration==-1){var t=e?\"Open\":\"Close\";this[\"_anim\"+t+\"Duration\"]=this._getAnimDurationThemeParam(\"_sap_ui_unified_ShellOverlay_\"+t+\"AnimOverAll\",true)}return e?this._animOpenDuration:this._animCloseDuration};l.prototype._getBLAnimDuration=function(){if(this._animBlockLayerDuration==-1){this._animBlockLayerDuration=this._getAnimDurationThemeParam(\"_sap_ui_unified_ShellOverlay_BlockLayerAnimDuration\",true)}return this._animBlockLayerDuration};l.prototype._getAnimActive=function(){if(!this._animation){return false}return true};l.prototype._getPopup=function(){if(!this._popup){this._popup=new n(this,true,false,false);this._popup._applyPosition=function(e){this._$().css(\"left\",\"0\").css(\"top\",\"0\");this._oLastPosition=e;this._oLastOfRect=jQuery(window).rect()};this._popup.attachOpened(function(){r._iNumberOfOpenedShellOverlays++});this._popup.attachClosed(function(){r._iNumberOfOpenedShellOverlays--})}return this._popup};l.prototype._getShell=function(){var e=this.getShell();if(!e){return}var t=i.getElementById(e);if(!t||!(t instanceof sap.ui.unified.ShellLayout)){return}return t};l.prototype._forceShellHeaderVisible=function(){var e=this._getShell();if(e){e._doShowHeader(true)}};l.prototype._getSearchWidth=function(){var e=this._getShell();return e?e._getSearchWidth():-1};l.prototype._setSearchWidth=function(){var t=this._getSearchWidth();if(t<=0){return}var i=t+\"px\";if(e.browser.safari){var n=this.$(\"hdr-center\").width();if(n>t){i=Math.round(t*100/n)+\"%\"}else{i=\"100%\"}}this.$(\"search\").css(\"width\",i)};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ShellOverlayRenderer\", [\"sap/ui/core/Lib\",\"sap/ui/core/ControlBehavior\"],function(e,i){\"use strict\";var t={};t.render=function(r,d){r.write(\"
\");r.write(\"
\");r.write(\"
\");r.write(\"
\");t.renderSearch(r,d);r.write(\"
\");var a=e.getResourceBundleFor(\"sap.ui.unified\"),l=a.getText(\"SHELL_OVERLAY_CLOSE\");r.write(\"\");r.writeEscaped(l);r.write(\"
\");r.write(\"
\");t.renderContent(r,d);r.write(\"
\");r.write(\"
\")};t.renderSearch=function(e,i){var t=i._getSearchWidth();e.write(\"\")};t.renderContent=function(e,i){e.write(\"
\");var t=i.getContent();for(var r=0;r\")};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/ShellRenderer\", [\"sap/ui/core/Renderer\",\"./ShellLayoutRenderer\"],function(e,r){\"use strict\";var n=e.extend(r);return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/SplitContainer\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Control\",\"sap/ui/core/theming/Parameters\",\"./library\",\"sap/ui/core/library\",\"./SplitContainerRenderer\",\"sap/base/Log\"],function(t,e,n,o,r,i,a){\"use strict\";var s=r.Orientation;var d=e.extend(\"sap.ui.unified.SplitContainer\",{metadata:{library:\"sap.ui.unified\",deprecated:true,properties:{showSecondaryContent:{type:\"boolean\",group:\"Appearance\",defaultValue:null},secondaryContentSize:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"250px\"},secondaryContentWidth:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"250px\",deprecated:true},orientation:{type:\"sap.ui.core.Orientation\",group:\"Appearance\",defaultValue:s.Horizontal}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"},secondaryContent:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"secondaryContent\"}}},renderer:i});(function(e){d.prototype.init=function(){this.bRtl=t.getRTL();this._paneRenderer=new o._ContentRenderer(this,this.getId()+\"-panecntnt\",\"secondaryContent\");this._canvasRenderer=new o._ContentRenderer(this,this.getId()+\"-canvascntnt\",\"content\");this._moveContent=true};d.prototype.exit=function(){this._paneRenderer.destroy();delete this._paneRenderer;this._canvasRenderer.destroy();delete this._canvasRenderer;if(this._closeContentDelayId){clearTimeout(this._closeContentDelayId);delete this._closeContentDelayId}delete this._contentContainer;delete this._secondaryContentContainer};d.prototype.onAfterRendering=function(){this.bRtl=t.getRTL();this._contentContainer=this.$(\"canvas\");this._secondaryContentContainer=this.$(\"pane\");this._applySecondaryContentSize()};d.prototype._applySecondaryContentSize=function(){if(this.getDomRef()){var t=this.getOrientation()==s.Vertical;var e,o;var r,i;var a=this.getSecondaryContentSize();var d=this.getShowSecondaryContent();if(t){e=\"height\";o=\"width\";r=\"top\";i=this.bRtl?\"right\":\"left\"}else{e=\"width\";o=\"height\";r=this.bRtl?\"right\":\"left\";i=\"top\"}if(this._closeContentDelayId){clearTimeout(this._closeContentDelayId);delete this._closeContentDelayId}this._secondaryContentContainer.css(e,a);this._secondaryContentContainer.css(o,\"\");this._secondaryContentContainer.css(r,d?\"0\":\"-\"+a);this._secondaryContentContainer.css(i,\"\");if(this._moveContent){this._contentContainer.css(r,d?a:\"0\")}else{this._contentContainer.css(r,\"0\")}if(!d){var c=parseInt(n.get(\"_sap_ui_unified_SplitContainer_AnimationDuration\"));this._closeContentDelayId=setTimeout(function(){this._secondaryContentContainer.toggleClass(\"sapUiUfdSplitContSecondClosed\",true)}.bind(this),c)}else{this._secondaryContentContainer.toggleClass(\"sapUiUfdSplitContSecondClosed\",false)}}};d.prototype._mod=function(t,e){var n=!!this.getDomRef();var o=t.apply(this,[n]);if(n&&e){e.render()}return o};d.prototype.setShowSecondaryContent=function(t){var e=this.getDomRef();this.setProperty(\"showSecondaryContent\",!!t,e);this._applySecondaryContentSize();return this};d.prototype.setSecondaryContentSize=function(t){this.setProperty(\"secondaryContentSize\",t,true);this._applySecondaryContentSize();return this};d.prototype.getSecondaryContentWidth=function(){a.warning('SplitContainer: Use of deprecated property \"SecondaryContentWidth\", please use '+'\"SecondaryContentSize\" instead.');return this.getSecondaryContentSize.apply(this,arguments)};d.prototype.setSecondaryContentWidth=function(){a.warning('SplitContainer: Use of deprecated property \"SecondaryContentWidth\", please use '+'\"SecondaryContentSize\" instead.');return this.setSecondaryContentSize.apply(this,arguments)};d.prototype.insertContent=function(t,e){return this._mod(function(n){return this.insertAggregation(\"content\",t,e,n)},this._canvasRenderer)};d.prototype.addContent=function(t){return this._mod(function(e){return this.addAggregation(\"content\",t,e)},this._canvasRenderer)};d.prototype.removeContent=function(t){return this._mod(function(e){return this.removeAggregation(\"content\",t,e)},this._canvasRenderer)};d.prototype.removeAllContent=function(){return this._mod(function(t){return this.removeAllAggregation(\"content\",t)},this._canvasRenderer)};d.prototype.destroyContent=function(){return this._mod(function(t){return this.destroyAggregation(\"content\",t)},this._canvasRenderer)};d.prototype.insertSecondaryContent=function(t,e){return this._mod(function(n){return this.insertAggregation(\"secondaryContent\",t,e,n)},this._paneRenderer)};d.prototype.addSecondaryContent=function(t){return this._mod(function(e){return this.addAggregation(\"secondaryContent\",t,e)},this._paneRenderer)};d.prototype.removeSecondaryContent=function(t){return this._mod(function(e){return this.removeAggregation(\"secondaryContent\",t,e)},this._paneRenderer)};d.prototype.removeAllSecondaryContent=function(){return this._mod(function(t){return this.removeAllAggregation(\"secondaryContent\",t)},this._paneRenderer)};d.prototype.destroySecondaryContent=function(){return this._mod(function(t){return this.destroyAggregation(\"secondaryContent\",t)},this._paneRenderer)}})(window);return d});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/SplitContainerRenderer\", [\"sap/ui/core/ControlBehavior\",\"sap/ui/core/library\",\"sap/ui/core/Configuration\"],function(t,e,n){\"use strict\";var i=e.Orientation;var a={};a.render=function(e,a){var o=a.getId();var r=a.getOrientation()==i.Vertical;e.write(\"\");var d=o+\"-canvas\";e.write(\"
\");this.renderContent(e,d,a.getContent(),a._bRootContent);e.write(\"
\");var s=o+\"-pane\";var C=a.getShowSecondaryContent()?a.getSecondaryContentSize():\"0\";e.write(\"\");e.write(\"
\")};a.renderContent=function(t,e,n,i){t.write(\"
\");for(var a=0;a\")};return a},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/TimeRange\", [\"sap/ui/core/Element\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/Configuration\",\"sap/base/i18n/Formatting\",\"sap/ui/core/Locale\"],function(t,e,a,r,n){\"use strict\";var i=t.extend(\"sap.ui.unified.TimeRange\",{metadata:{library:\"sap.ui.unified\",properties:{start:{type:\"string\",group:\"Misc\",defaultValue:null},end:{type:\"string\",group:\"Misc\",defaultValue:null},valueFormat:{type:\"string\",group:\"Misc\",defaultValue:\"hh:mm\"}}}});i.prototype._getFormatInstance=function(){const t={pattern:this.getValueFormat(),strictParsing:true};return e.getTimeInstance(t,new n(r.getLanguageTag()))};i.prototype.getStartDate=function(){return this._getFormatInstance().parse(this.getStart())};i.prototype.getEndDate=function(){return this._getFormatInstance().parse(this.getEnd())};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/CalendarDate\", [\"sap/ui/base/Object\",\"sap/ui/core/date/UniversalDate\",\"sap/ui/core/date/UI5Date\"],function(t,e,a){\"use strict\";var n=t.extend(\"sap.ui.unified.calendar.CalendarDate\",{constructor:function(){var t=arguments,e,o,i;switch(t.length){case 0:o=a.getInstance();return n.call(this,o.getFullYear(),o.getMonth(),o.getDate());case 1:case 2:if(!(t[0]instanceof n)){throw\"Invalid arguments: the first argument must be of type sap.ui.unified.calendar.CalendarDate.\"}i=t[1]?t[1]:t[0]._oUDate.sCalendarType;e=a.getInstance(t[0].valueOf());e.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate());e.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds());this._oUDate=r(e,i);break;case 3:case 4:u(t[0],\"Invalid year: \"+t[0]);u(t[1],\"Invalid month: \"+t[1]);u(t[2],\"Invalid date: \"+t[2]);e=a.getInstance(0,0,1);e.setFullYear(t[0],t[1],t[2]);if(t[3]){i=t[3]}this._oUDate=r(e,i);break;default:throw\"Invalid arguments. Accepted arguments are: 1) oCalendarDate, (optional)calendarType\"+\"or 2) year, month, date, (optional) calendarType\"+t}}});n.prototype.getYear=function(){return this._oUDate.getUTCFullYear()};n.prototype.setYear=function(t){u(t,\"Invalid year: \"+t);this._oUDate.setUTCFullYear(t);return this};n.prototype.getMonth=function(){return this._oUDate.getUTCMonth()};n.prototype.setMonth=function(t,e){u(t,\"Invalid month: \"+t);if(e||e===0){u(e,\"Invalid date: \"+e);this._oUDate.setUTCMonth(t,e)}else{this._oUDate.setUTCMonth(t)}return this};n.prototype.getDate=function(){return this._oUDate.getUTCDate()};n.prototype.setDate=function(t){u(t,\"Invalid date: \"+t);this._oUDate.setUTCDate(t);return this};n.prototype.getDay=function(){return this._oUDate.getUTCDay()};n.prototype.getCalendarType=function(){return this._oUDate.sCalendarType};n.prototype.getEra=function(){return this._oUDate.getUTCEra()};n.prototype.isBefore=function(t){i(t);return this.valueOf()t.valueOf()};n.prototype.isSameOrBefore=function(t){i(t);return this.valueOf()<=t.valueOf()};n.prototype.isSameOrAfter=function(t){i(t);return this.valueOf()>=t.valueOf()};n.prototype.isSame=function(t){i(t);return this.valueOf()===t.valueOf()};n.prototype.toLocalJSDate=function(){var t=a.getInstance(this._oUDate.getTime());t.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate());t.setHours(0,0,0,0);return t};n.prototype.toUTCJSDate=function(){var t=a.getInstance(this._oUDate.getTime());t.setUTCHours(0,0,0,0);return t};n.prototype.toString=function(){return this._oUDate.sCalendarType+\": \"+this.getYear()+\"/\"+(this.getMonth()+1)+\"/\"+this.getDate()};n.prototype.valueOf=function(){return this._oUDate.getTime()};n.fromLocalJSDate=function(t,e){if(!t||Object.prototype.toString.call(t)!==\"[object Date]\"||isNaN(t)){throw new Error(\"Date parameter must be a JavaScript or UI5Date date object: [\"+t+\"].\")}return new n(t.getFullYear(),t.getMonth(),t.getDate(),e)};n.fromUTCDate=function(t,e){if(!t||Object.prototype.toString.call(t)!==\"[object Date]\"||isNaN(t)){throw new Error(\"Date parameter must be a JavaScript or UI5Date date object: [\"+t+\"].\")}return new n(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),e)};function r(t,a){if(a){return e.getInstance(o(t),a)}else{return new e(o(t).getTime())}}function o(t){var e=a.getInstance(Date.UTC(0,0,1));e.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate());return e}function i(t){if(!(t instanceof n)){throw\"Invalid calendar date: [\"+t+\"]. Expected: sap.ui.unified.calendar.CalendarDate\"}}function u(t,e){if(t==undefined||t===Infinity||isNaN(t)){throw e}}return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/CalendarUtils\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/date/UniversalDate\",\"./CalendarDate\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/date/UI5Date\"],function(e,t,a,n,r,i,s,g,u){\"use strict\";var l={};l.MAX_MILLISECONDS=864e13;l.HOURS24=1e3*3600*24;l._createLocalDate=function(e,t){var a;if(e){var r;if(e instanceof n){r=e.getJSDate()}else{r=e}a=u.getInstance(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate());if(r.getFullYear()<1e3){a.setFullYear(r.getFullYear())}if(t){a.setHours(r.getUTCHours());a.setMinutes(r.getUTCMinutes());a.setSeconds(r.getUTCSeconds());a.setMilliseconds(r.getUTCMilliseconds())}}return a};l._createUTCDate=function(e,t){var a;if(e){var r;if(e instanceof n){r=e.getJSDate()}else{r=e}a=u.getInstance(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate()));if(r.getFullYear()<1e3){a.setUTCFullYear(r.getFullYear())}if(t){a.setUTCHours(r.getHours());a.setUTCMinutes(r.getMinutes());a.setUTCSeconds(r.getSeconds());a.setUTCMilliseconds(r.getMilliseconds())}}return a};l._createUniversalUTCDate=function(e,t,a){var r;if(t){r=n.getInstance(this._createUTCDate(e,a),t)}else{r=new n(this._createUTCDate(e,a).getTime())}return r};l.calculateWeekNumber=function(e,t,a,n,r){const u=new i(a);const l=s.getInstance(u);const o=l.getMinimalDaysInFirstWeek();const c=g.getInstance({pattern:\"w\",calendarType:t,firstDayOfWeek:r,minimalDaysInFirstWeek:o,calendarWeekNumbering:n},u);const f=c.format(e.toLocalJSDate());return Number(f)};l._getLastWeekDate=function(e){return new r(e).setDate(e.getDate()+6)};l.getFirstDateOfWeek=function(a,r){var g=new n(a.getTime()),u,l,o=s.getInstance(new i(e.getLanguageTag())),c=new i(t.getLanguageTag()),f=o.getFirstDayOfWeek(),D;if(!r||(r.firstDayOfWeek===-1||r.firstDayOfWeek===undefined)){r={firstDayOfWeek:o.getFirstDayOfWeek(),minimalDaysInFirstWeek:o.getMinimalDaysInFirstWeek()}}D=n.getWeekByDate(g.getCalendarType(),g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate(),c,r);u=n.getFirstDateOfWeek(g.getCalendarType(),D.year,D.week,c,r);l=new n(n.UTC(u.year,u.month,u.day));if(r&&(r.firstDayOfWeek===-1||r.firstDayOfWeek===undefined)){while(l.getUTCDay()!==f){l.setUTCDate(l.getUTCDate()-1)}}return new n(n.UTC(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds())).getJSDate()};l.getFirstDateOfMonth=function(e){var t=new n(e.getTime());t.setUTCDate(1);return t};l._getNumberOfWeeksForYear=function(t){var a=e.getLanguageTag().toString(),n=s.getInstance(new i(a)),r=u.getInstance(Date.UTC(t,0,1)),g=r.getUTCDay(),l=52;if(n.getFirstDayOfWeek()===0){if(g===5||g===6){l=53}}else{if(g===3||g===4){l=53}}return l};l.monthsDiffer=function(e,t){return e.getMonth()!==t.getMonth()||e.getFullYear()!==t.getFullYear()};l.isDateLastInMonth=function(e){var t=u.getInstance(e.getTime()+24*60*60*1e3);return t.getUTCDate()g.getYear()){throw new Error(\"Year must be in valid range (between year and year in Gregorian calendar type).\")}};l._isNextMonth=function(e,t){return e.getMonth()>t.getMonth()&&e.getFullYear()===t.getFullYear()||e.getFullYear()>t.getFullYear()};l._minutesBetween=function(e,t){var a=(t.getTime()-e.getTime())/1e3;a=a/60;return Math.abs(Math.round(a))};l._areCurrentMinutesLessThan=function(e){var t=u.getInstance().getMinutes();return e>=t};l._areCurrentMinutesMoreThan=function(e){var t=u.getInstance().getMinutes();return e<=t};l._monthsBetween=function(e,t,a){var n=u.getInstance(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())),r=u.getInstance(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())),i;n.setUTCFullYear(e.getUTCFullYear());r.setUTCFullYear(t.getUTCFullYear());i=r.getUTCFullYear()*12+r.getUTCMonth()-(n.getUTCFullYear()*12+n.getUTCMonth());if(!a){i=Math.abs(i)}return i};l._hoursBetween=function(e,t){var a=u.getInstance(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()));var n=u.getInstance(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()));a.setUTCFullYear(e.getUTCFullYear());n.setUTCFullYear(t.getUTCFullYear());return Math.abs((a.getTime()-n.getTime())/(1e3*60*60))};l._isMidnight=function(e){return e.getHours()===0&&e.getMinutes()===0&&e.getSeconds()===0&&e.getMilliseconds()===0};l._daysInMonth=function(e){this._checkCalendarDate(e);e=new r(e);e.setDate(1);e.setMonth(e.getMonth()+1);e.setDate(0);return e.getDate()};l._isLastDateInMonth=function(e){return e.getDate()===l._daysInMonth(e)};l._getFirstDateOfWeek=function(t,a){var n=s.getInstance(new i(e.getLanguageTag()));this._checkCalendarDate(t);if(!a||(a.firstDayOfWeek===-1||a.firstDayOfWeek===undefined)){a={firstDayOfWeek:n.getFirstDayOfWeek(),minimalDaysInFirstWeek:n.getMinimalDaysInFirstWeek()}}if(t.getDay()!==a.firstDayOfWeek){var g=l.getFirstDateOfWeek(t.toUTCJSDate(),a);g.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate());return r.fromLocalJSDate(g,t.getCalendarType())}return t};l._getFirstDateOfMonth=function(e){this._checkCalendarDate(e);var t=new r(e,e.getCalendarType());t.setDate(1);return t};l._minDate=function(e){var t=new r(1,0,1,e);t.setYear(1);t.setMonth(0);t.setDate(1);return t};l._maxDate=function(e){var t=new r(9999,11,1,e);t.setYear(9999);t.setMonth(11);t.setDate(this._daysInMonth(t));return new r(t)};l._isBetween=function(e,t,a,n){this._checkCalendarDate(e);this._checkCalendarDate(t);this._checkCalendarDate(a);if(n){return e.isSameOrAfter(t)&&e.isSameOrBefore(a)}else{return e.isAfter(t)&&e.isBefore(a)}};l._daysBetween=function(e,t){this._checkCalendarDate(e);this._checkCalendarDate(t);return Math.ceil((e.valueOf()-t.valueOf())/this.HOURS24)};l._isOutside=function(e,t,a){return!this._isBetween(e,t,a,true)};l._isSameMonthAndYear=function(e,t){this._checkCalendarDate(e);this._checkCalendarDate(t);return e.getEra()===t.getEra()&&e.getYear()===t.getYear()&&e.getMonth()===t.getMonth()};l._checkCalendarDate=function(e){if(!e||!(e instanceof r)){throw\"Invalid calendar date: [\"+e+\"]. Expected: sap.ui.unified.calendar.CalendarDate\"}};l._getWeek=function(e){this._checkCalendarDate(e);return n.getWeekByDate(e.getCalendarType(),e.getYear(),e.getMonth(),e.getDate())};l._isWeekend=function(e,t){var a=e.getDay();return a===t.getWeekendStart()||a===t.getWeekendEnd()};return l},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/CustomMonthPicker\", [\"sap/ui/core/Renderer\",\"sap/ui/unified/Calendar\",\"sap/ui/unified/CalendarRenderer\",\"sap/ui/unified/calendar/Header\",\"sap/ui/unified/DateRange\"],function(e,t,i,r,a){\"use strict\";var n=e.extend(i);n.apiVersion=2;var s=t.extend(\"sap.ui.unified.internal.CustomMonthPicker\",{metadata:{library:\"sap.ui.unified\"},renderer:n});s.prototype._initializeHeader=function(){var e=new r(this.getId()+\"--Head\",{visibleButton1:false});e.attachEvent(\"pressPrevious\",this._handlePrevious,this);e.attachEvent(\"pressNext\",this._handleNext,this);e.attachEvent(\"pressButton2\",this._handleButton2,this);this._afterHeaderRenderAdjustCSS=this._createOnAfterRenderingDelegate(e);e.addDelegate(this._afterHeaderRenderAdjustCSS);this.setAggregation(\"header\",e)};s.prototype.init=function(){t.prototype.init.apply(this,arguments);this.setProperty(\"_currentPicker\",\"monthPicker\");this._bNamesLengthChecked=true};s.prototype.onBeforeRendering=function(){var e=this.getSelectedDates(),i=this._getYearPicker().getDate(),r=this._getMonthPicker(),a,n=r&&!r._iYear;t.prototype.onBeforeRendering.apply(this,arguments);if(this._iMode===1){if(e.length&&e[0].getStartDate()&&(!i||n||e[0].getStartDate().getFullYear()===i.getFullYear())){a=e[0].getStartDate();r.setMonth(a.getMonth());r._iYear=a.getFullYear()}}};s.prototype._closePickers=function(){this.setProperty(\"_currentPicker\",\"monthPicker\");this._togglePrevNext(this._getFocusedDate(),true)};s.prototype._selectYear=function(){var e=this._getMonthPicker(),t=this._getYearPicker(),i=this._getFocusedDate();i.setYear(t.getDate().getFullYear());e._setYear(i.getYear());e._setDate(i);this._focusDate(i,true);this._showMonthPicker()};s.prototype._selectMonth=function(){var e=this._getMonthPicker(),t=this.getSelectedDates()[0],i=this._getFocusedDate();if(!t){t=new a}if(!e.getIntervalSelection()){i.setMonth(e.getMonth(),1);t.setStartDate(i.toLocalJSDate());this.addSelectedDate(t)}this.fireSelect()};s.prototype.onsapescape=function(e){this.fireCancel()};s.prototype._hideMonthPicker=function(){this._hideOverlay();this._togglePrevNext(this._getFocusedDate(),true);this._bActionTriggeredFromSecondHeader=false};s.prototype.setShowCurrentDateButton=function(e){return this};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/CustomYearPicker\", [\"sap/ui/core/Renderer\",\"sap/ui/unified/Calendar\",\"sap/ui/unified/CalendarRenderer\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/calendar/Header\",\"sap/ui/unified/DateRange\"],function(e,t,i,r,a,n){\"use strict\";var s=e.extend(i);s.apiVersion=2;var o=t.extend(\"sap.ui.unified.internal.CustomYearPicker\",{metadata:{library:\"sap.ui.unified\"},renderer:s});o.prototype.init=function(){t.prototype.init.apply(this,arguments);this.setProperty(\"_currentPicker\",\"yearPicker\");this._bNamesLengthChecked=true};o.prototype.onBeforeRendering=function(){var e=this.getSelectedDates(),i=e.length?e[0].getStartDate():undefined,a=this._getYearPicker(),n,s;if(i){n=r.fromLocalJSDate(i);n.setMonth(0,1);s=new r(this._getFocusedDate());s.setMonth(0,1);if(s.isSame(n)){a.setDate(i)}}else{a.setProperty(\"_middleDate\",this._getFocusedDate());a.setDate(this._getFocusedDate().toLocalJSDate())}t.prototype.onBeforeRendering.call(this,arguments)};o.prototype.exit=function(){t.prototype.exit.apply(this,arguments);if(this._fnYPDelegate){this.getAggregation(\"yearPicker\").removeDelegate(this._fnYPDelegate)}};o.prototype._initializeHeader=function(){var e=new a(this.getId()+\"--Head\",{visibleButton1:false});e.attachEvent(\"pressPrevious\",this._handlePrevious,this);e.attachEvent(\"pressNext\",this._handleNext,this);e.attachEvent(\"pressButton2\",this._handleButton2,this);this._afterHeaderRenderAdjustCSS=this._createOnAfterRenderingDelegate(e);e.addDelegate(this._afterHeaderRenderAdjustCSS);this.setAggregation(\"header\",e)};o.prototype._closePickers=function(){this.setProperty(\"_currentPicker\",\"yearPicker\");this._togglePrevNexYearPicker()};o.prototype._selectYear=function(){var e=this.getSelectedDates()[0],t=this._getYearPicker();if(!e){e=new n}if(!t.getIntervalSelection()){e.setStartDate(this._getYearPicker().getDate());this.addSelectedDate(e)}this.fireSelect()};o.prototype.onsapescape=function(e){this.fireCancel()};o.prototype.setShowCurrentDateButton=function(e){return this};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/DatesRow\", [\"sap/base/i18n/date/CalendarWeekNumbering\",\"sap/ui/core/Lib\",\"sap/ui/core/RenderManager\",\"sap/ui/unified/calendar/CalendarUtils\",\"sap/ui/unified/calendar/CalendarDate\",\"sap/ui/unified/calendar/Month\",\"sap/ui/unified/library\",\"./DatesRowRenderer\",\"sap/ui/thirdparty/jquery\",\"sap/ui/core/format/DateFormat\",\"sap/ui/core/Locale\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/InvisibleText\"],function(e,t,a,i,r,s,n,o,jQuery,p,h,l,u){\"use strict\";var c=s.extend(\"sap.ui.unified.calendar.DatesRow\",{metadata:{library:\"sap.ui.unified\",properties:{startDate:{type:\"object\",group:\"Data\"},days:{type:\"int\",group:\"Appearance\",defaultValue:7},showDayNamesLine:{type:\"boolean\",group:\"Appearance\",defaultValue:true},calendarWeekNumbering:{type:\"sap.base.i18n.date.CalendarWeekNumbering\",group:\"Appearance\",defaultValue:null},selectableAccessibilitySemantics:{type:\"boolean\",group:\"Behavior\",defaultValue:true,visibility:\"hidden\"}}},renderer:o});c.prototype.init=function(){s.prototype.init.apply(this,arguments);this._iColumns=1;this._aWeekNumbers=[];this._bAlwaysShowSpecialDates=true};c.prototype.exit=function(){s.prototype.exit(this,arguments);if(this._invisibleDayHint){this._invisibleDayHint.destroy();this._invisibleDayHint=null}};c.prototype._setAriaRole=function(e){this._ariaRole=e;return this};c.prototype._getAriaRole=function(){return this._ariaRole?this._ariaRole:\"gridcell\"};c.prototype._getDayDescription=function(){return this._fnInvisibleHintFactory().getId()};c.prototype._fnInvisibleHintFactory=function(){if(!this._invisibleDayHint){this._invisibleDayHint=new u({text:t.getResourceBundleFor(\"sap.m\").getText(\"SLIDETILE_ACTIVATE\")}).toStatic()}return this._invisibleDayHint};c.prototype.setStartDate=function(e){i._checkJSDateObject(e);var t=e.getFullYear();i._checkYearInValidRange(t);this.setProperty(\"startDate\",e);this._oStartDate=r.fromLocalJSDate(e,this.getPrimaryCalendarType());if(this.getDomRef()){var a=this._getDate().toLocalJSDate();this._bNoRangeCheck=true;this.displayDate(e);this._bNoRangeCheck=false;if(a&&this.checkDateFocusable(a)){this.displayDate(a)}}return this};c.prototype._getStartDate=function(){if(!this._oStartDate){this._oStartDate=r.fromLocalJSDate(l.getInstance(),this.getPrimaryCalendarType())}return this._oStartDate};c.prototype.setDate=function(e){if(!this._bNoRangeCheck&&!this.checkDateFocusable(e)){throw new Error(\"Date must be in visible date range; \"+this)}s.prototype.setDate.apply(this,arguments);return this};c.prototype.displayDate=function(e){if(!this._bNoRangeCheck&&!this.checkDateFocusable(e)){throw new Error(\"Date must be in visible date range; \"+this)}s.prototype.displayDate.apply(this,arguments);return this};c.prototype._setTopPosition=function(e){this._iTopPosition=e};c.prototype.setPrimaryCalendarType=function(e){s.prototype.setPrimaryCalendarType.apply(this,arguments);if(this._oStartDate){this._oStartDate=new r(this._oStartDate,e)}return this};c.setSecondaryCalendarType=function(e){this._bSecondaryCalendarTypeSet=true;s.prototype.setSecondaryCalendarType.apply(this,arguments);return this};c.prototype._handleBorderReached=function(e){var t=e.getParameter(\"event\");var a=this._getRelativeInfo?this.getDays()*this._getRelativeInfo().iIntervalSize:this.getDays();var i=this._getRelativeInfo?this._getRelativeInfo().iIntervalSize:1;var s=this._getDate();var n=new r(s,this.getPrimaryCalendarType());if(t.type){switch(t.type){case\"sapnext\":case\"sapnextmodifiers\":n.setDate(n.getDate()+i);break;case\"sapprevious\":case\"sappreviousmodifiers\":n.setDate(n.getDate()-i);break;case\"sappagedown\":n.setDate(n.getDate()+a);break;case\"sappageup\":n.setDate(n.getDate()-a);break;default:break}this.fireFocus({date:n.toLocalJSDate(),otherMonth:true,_outsideBorder:true})}};c.prototype.checkDateFocusable=function(e){i._checkJSDateObject(e);if(this._bNoRangeCheck){return false}var t=this._getStartDate();var a=new r(t,this.getPrimaryCalendarType());var s=this.getDays();if(this._getRelativeInfo&&this._getRelativeInfo().bIsRelative){s=this.getDays()*this._getRelativeInfo().iIntervalSize}a.setDate(a.getDate()+s);var n=r.fromLocalJSDate(e,this.getPrimaryCalendarType());return n.isSameOrAfter(t)&&n.isBefore(a)};c.prototype._renderHeader=function(){var e=this._getStartDate();var t=e.getDay();var i=this._getLocaleData();var r=this.$(\"Names\").children();var s=[];if(this._bLongWeekDays||!this._bNamesLengthChecked){s=i.getDaysStandAlone(\"abbreviated\")}else{s=i.getDaysStandAlone(\"narrow\")}var n=i.getDaysStandAlone(\"wide\");var o=0;for(o=0;o0){var l=(new a).getInterface();this.getRenderer().renderHeaderLine(l,this,i,e);l.flush(h[0]);l.destroy()}}};c.prototype._getFirstWeekDay=function(){return this._getStartDate().getDay()};c.prototype.getWeekNumbers=function(){var e=this.getDays(),t=this._getLocale(),a=this.getPrimaryCalendarType(),s=this._getStartDate(),n=new r(s,a),o=new r(s,a).setDate(n.getDate()+e),p=[];while(n.isBefore(o)){p.push(new r(n,a));n.setDate(n.getDate()+1)}this._aWeekNumbers=p.reduce(function(e,a){var r=i.calculateWeekNumber(a,this.getPrimaryCalendarType(),t,this.getCalendarWeekNumbering(),this._getFirstWeekDay());if(!e.length||e[e.length-1].number!==r){e.push({len:0,number:r})}e[e.length-1].len++;return e}.bind(this),[]);return this._aWeekNumbers};c.prototype._getCachedWeekNumbers=function(){return this._aWeekNumbers};c.prototype._getSelectableAccessibilitySemantics=function(){return this.getProperty(\"selectableAccessibilitySemantics\")};return c});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/calendar/DatesRowRenderer\", [\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/Lib\",\"sap/ui/core/Renderer\",\"sap/ui/unified/calendar/CalendarDate\",\"./MonthRenderer\"],function(e,a,t,r,n){\"use strict\";var i=t.extend(n);i.apiVersion=2;i.getStartDate=function(e){return e._getStartDate()};i.getClass=function(e,a){var t=[\"sapUiCalDatesRow\",\"sapUiCalRow\"];if(!a.getShowDayNamesLine()){t.push(\"sapUiCalNoNameLine\")}return t};i.addWrapperAdditionalStyles=function(e,a){if(a._iTopPosition){e.style(\"top\",a._iTopPosition+\"px\")}};i.renderMonth=function(e,a,t){if(a.isRelative&&a.isRelative()){i.renderCustomIntervals(e,a)}else{n.renderMonth.apply(this,arguments);this.renderWeekNumbers(e,a)}};i.renderCustomIntervals=function(e,a){var t;e.openStart(\"div\",a.getId()+\"-customintervals\");e.openEnd();var r=a.getDays();t=100/r;var n=a._getRelativeInfo()._getIndexFromDate(a.getStartDate());for(var i=0;i0&&v[v.length-1].iMonth==l){v[v.length-1].iDays++}else{v.push({iMonth:l,iDays:1})}o.setDate(o.getDate()+1)}var g=t.getMonthsStandAlone(\"wide\",a.getPrimaryCalendarType());for(p=0;p{if((l!==window.innerHeight||p!==window.innerWidth)&&e.resize._update){e.resize._update()}},50)}if(t.useFullScreenHeight){n().then(function(){document.documentElement.style.height=\"100%\"})}if(t.preventScroll&&c){n().then(function(){document.documentElement.style.position=\"fixed\";document.documentElement.style.overflow=\"hidden\";document.documentElement.style.height=\"100%\";document.documentElement.style.width=\"100%\"})}}if(t){if(t.homeIcon){var m;if(typeof t.homeIcon===\"string\"){m={phone:t.homeIcon,favicon:t.homeIcon}}else{m=Object.assign({},t.homeIcon);m.phone=t.homeIcon.phone||t.homeIcon.icon||m.favicon;m.favicon=m.favicon||t.homeIcon.icon||t.homeIcon.phone;m.icon=undefined}m.precomposed=t.homeIconPrecomposed||m.precomposed;i.setIcons(m)}if(t.hasOwnProperty(\"mobileWebAppCapable\")){i.setWebAppCapable(t.mobileWebAppCapable,t.statusBar)}}};i.setIcons=function(e){if(!e||typeof e!==\"object\"){t.warning(\"Call to sap/ui/util/Mobile.setIcons() has been ignored because there were no icons given or the argument was not an object.\");return}var o=e.precomposed?\"-precomposed\":\"\",n={phone:\"\",tablet:\"152x152\",\"phone@2\":\"180x180\",\"tablet@2\":\"167x167\"};if(e[\"favicon\"]){c(\"link[rel=icon]\");r(\"link\",{rel:\"icon\",href:e[\"favicon\"]})}var i=Object.keys(n).some(function(t){return e.hasOwnProperty(t)});if(i){c(\"[rel=apple-touch-icon]\");c(\"[rel=apple-touch-icon-precomposed]\")}for(var a in n){if(e[a]){r(\"link\",{rel:\"apple-touch-icon\"+o,href:e[a],sizes:n[a]})}}};i.setWebAppCapable=function(t,o){if(!e.system.tablet&&!e.system.phone){return}var n=[\"\",\"apple\"],i=\"mobile-web-app-capable\",a=t?\"yes\":\"no\",c,s,l;for(c=0;c0,\"key must be a non-empty string\");return a(function(){u.setItem(o+e,JSON.stringify(n))})};this.get=function(e){t(typeof e===\"string\"&&e.length>0,\"key must be a non-empty string\");var n;a(function(){n=JSON.parse(u.getItem(o+e))});return n!==undefined?n:null};this.remove=function(e){t(typeof e===\"string\"&&e.length>0,\"key must be a non-empty string\");return a(function(){u.removeItem(o+e)})};this.removeAll=function(t){return a(function(){var e=o+(t||\"\"),n=[],r,i;for(i=0;i
';t.firstChild.style=\"width: 1px; height: 1px; position: fixed; top: 0px; left: 0px; overflow: hidden\";t.firstChild.firstChild.style=\"width: 2px\";t.firstChild.firstChild.firstChild.style=\"display: inline-block; width: 1px\";t.firstChild.firstChild.lastChild.style=\"display: inline-block; width: 1px\";document.documentElement.appendChild(t);var e=t.firstChild;i.initialZero=e.scrollLeft==0;document.documentElement.removeChild(t)}t();var e={initialScrollPositionIsZero:function(){return i.initialZero}};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/util/defaultLinkTypes\", [],function(){\"use strict\";var r=function r(e,n){e=typeof e===\"string\"?e.trim():e;if(!e&&n&&n!==\"_self\"){return\"noopener noreferrer\"}return e};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/util/isCrossOriginURL\", [],function(){\"use strict\";function n(n){var i=new URL(n,document.baseURI);return i.origin===\"null\"||window.location.origin===\"null\"||i.origin!==window.location.origin}return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/util/openWindow\", [],function(){\"use strict\";var n=function n(r,e){var o=\"noopener,noreferrer\";return window.open(r,e,o)};return n});\nsap.ui.require.preload({\n\t\"jquery.sap.logger.js\":function(){\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\njQuery.sap.declare(\"jquery.sap.logger\",false);\n},\n\t\"sap/ui/core/boot/_bootConfig.js\":function(){\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.loader.config({map:{\"*\":{\"sap/ui/core/Core\":\"sap/ui/core/boot\"}}});sap.ui.loader.config({depCacheUI5:{\"Eventing-preload-1.js\":[\"Eventing-preload-0.js\"]},bundlesUI5:{\"Calendar-preload.js\":[\"sap/base/future.js\",\"sap/base/i18n/Formatting.js\",\"sap/base/i18n/date/CalendarWeekNumbering.js\",\"sap/base/util/ObjectPath.js\",\"sap/base/util/array/uniqueSort.js\",\"sap/base/util/deepEqual.js\",\"sap/base/util/isEmptyObject.js\",\"sap/base/util/resolveReference.js\",\"sap/ui/base/DataType.js\",\"sap/ui/base/Metadata.js\",\"sap/ui/base/Object.js\",\"sap/ui/core/Locale.js\",\"sap/ui/core/LocaleData.js\",\"sap/ui/core/date/Buddhist.js\",\"sap/ui/core/date/CalendarUtils.js\",\"sap/ui/core/date/CalendarWeekNumbering.js\",\"sap/ui/core/date/Gregorian.js\",\"sap/ui/core/date/Islamic.js\",\"sap/ui/core/date/Japanese.js\",\"sap/ui/core/date/Persian.js\",\"sap/ui/core/date/UI5Date.js\",\"sap/ui/core/date/UniversalDate.js\",\"sap/ui/core/date/UniversalDateUtils.js\",\"sap/ui/core/date/_Calendars.js\"],\"Eventing-preload-0.js\":[\"sap/base/i18n/ResourceBundle.js\",\"sap/base/security/encodeCSS.js\",\"sap/base/security/encodeXML.js\",\"sap/base/strings/camelize.js\",\"sap/base/strings/capitalize.js\",\"sap/base/strings/escapeRegExp.js\",\"sap/base/strings/formatMessage.js\",\"sap/base/strings/toHex.js\",\"sap/base/util/JSTokenizer.js\",\"sap/base/util/Properties.js\",\"sap/base/util/Version.js\",\"sap/base/util/deepClone.js\",\"sap/base/util/deepExtend.js\",\"sap/base/util/merge.js\",\"sap/ui/Global.js\",\"sap/ui/VersionInfo.js\",\"sap/ui/base/BindingInfo.js\",\"sap/ui/base/BindingParser.js\",\"sap/ui/base/DesignTime.js\",\"sap/ui/base/Event.js\",\"sap/ui/base/EventProvider.js\",\"sap/ui/base/ExpressionParser.js\",\"sap/ui/base/ManagedObject.js\",\"sap/ui/base/ManagedObjectMetadata.js\",\"sap/ui/base/ManagedObjectRegistry.js\",\"sap/ui/core/AnimationMode.js\",\"sap/ui/core/Configuration.js\",\"sap/ui/core/ControlBehavior.js\",\"sap/ui/core/Element.js\",\"sap/ui/core/ElementMetadata.js\",\"sap/ui/core/ElementRegistry.js\",\"sap/ui/core/EnabledPropagator.js\",\"sap/ui/core/FocusHandler.js\",\"sap/ui/core/FocusMode.js\",\"sap/ui/core/InvisibleRenderer.js\",\"sap/ui/core/LabelEnablement.js\",\"sap/ui/core/Lib.js\",\"sap/ui/core/Patcher.js\",\"sap/ui/core/RenderManager.js\",\"sap/ui/core/Renderer.js\",\"sap/ui/core/Rendering.js\",\"sap/ui/core/Supportability.js\",\"sap/ui/core/Theming.js\",\"sap/ui/core/UIAreaRegistry.js\",\"sap/ui/core/_UrlResolver.js\",\"sap/ui/core/getCompatibilityVersion.js\"],\"Library-preload.js\":[\"sap/base/future.js\",\"sap/base/i18n/ResourceBundle.js\",\"sap/base/strings/formatMessage.js\",\"sap/base/util/ObjectPath.js\",\"sap/base/util/Properties.js\",\"sap/base/util/Version.js\",\"sap/base/util/array/uniqueSort.js\",\"sap/base/util/deepExtend.js\",\"sap/base/util/isEmptyObject.js\",\"sap/base/util/merge.js\",\"sap/base/util/resolveReference.js\",\"sap/ui/Global.js\",\"sap/ui/VersionInfo.js\",\"sap/ui/base/DataType.js\",\"sap/ui/base/Event.js\",\"sap/ui/base/EventProvider.js\",\"sap/ui/base/Metadata.js\",\"sap/ui/base/Object.js\",\"sap/ui/core/Lib.js\",\"sap/ui/core/Supportability.js\",\"sap/ui/core/_UrlResolver.js\",\"sap/ui/thirdparty/URI.js\"],\"Eventing-preload-1.js\":[\"sap/ui/core/theming/ThemeHelper.js\",\"sap/ui/core/util/_LocalizationHelper.js\",\"sap/ui/dom/findTabbable.js\",\"sap/ui/dom/jquery/Selectors.js\",\"sap/ui/events/ControlEvents.js\",\"sap/ui/events/F6Navigation.js\",\"sap/ui/events/KeyCodes.js\",\"sap/ui/events/PseudoEvents.js\",\"sap/ui/events/TouchToMouseMapping.js\",\"sap/ui/events/checkMouseEnterOrLeave.js\",\"sap/ui/events/jquery/EventSimulation.js\",\"sap/ui/model/BindingMode.js\",\"sap/ui/model/Filter.js\",\"sap/ui/model/FilterOperator.js\",\"sap/ui/model/Sorter.js\",\"sap/ui/performance/Measurement.js\",\"sap/ui/performance/trace/Interaction.js\",\"sap/ui/security/Security.js\",\"sap/ui/util/ActivityDetection.js\",\"sap/ui/util/_enforceNoReturnValue.js\",\"sap/ui/thirdparty/URI.js\",\"sap/ui/thirdparty/jquery-compat.js\",\"sap/ui/thirdparty/jquery-mobile-custom.js\",\"sap/ui/thirdparty/jquery.js\"],\"Theming-preload.js\":[\"sap/base/util/each.js\",\"sap/ui/core/theming/ThemeManager.js\",\"sap/ui/dom/includeStylesheet.js\"]}});globalThis[\"sap-ui-config\"]=globalThis[\"sap-ui-config\"]?globalThis[\"sap-ui-config\"]:{};globalThis[\"sap-ui-config\"].bootManifest=\"sap/ui/core/boot/manifest.json\";globalThis[\"sap-ui-config\"].xxMaxLoaderTaskDuration=0;\n},\n\t\"sap/ui/core/boot/_runBoot.js\":function(){\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\n(function(){\"use strict\";sap.ui.require([\"sap/ui/core/boot\"])})();\n},\n\t\"sap/ui/core/boot/manifest.json\":'{\"extends\":\"\",\"preBoot\":[],\"boot\":[\"sap/ui/core/boot/loadCalendar\",\"sap/ui/core/boot/loadModules\"],\"postBoot\":[\"sap/ui/core/boot/onInit\"]}',\n\t\"sap/ui/core/manifest.json\":'{\"_version\":\"1.21.0\",\"sap.app\":{\"id\":\"sap.ui.core\",\"type\":\"library\",\"embeds\":[],\"applicationVersion\":{\"version\":\"1.139.0\"},\"title\":\"The SAPUI5 Core Runtime.\",\"description\":\"The SAPUI5 Core Runtime.\\\\n\\\\n Contains the UI5 jQuery plugins (jQuery.sap.*), the Core and all its components,\\\\n base classes for Controls, Components and the Model View Controller classes.\",\"ach\":\"CA-UI5-COR\",\"resources\":\"resources.json\",\"offline\":true,\"openSourceComponents\":[{\"name\":\"jquery-3\",\"packagedWithMySelf\":true,\"version\":\"3.6.0\"},{\"name\":\"jquery-1\",\"packagedWithMySelf\":true,\"version\":\"1.7.1\"},{\"name\":\"jquery_UI_1-8-17\",\"packagedWithMySelf\":true,\"version\":\"1.8.17\"},{\"name\":\"jquery_UI-1-10-4\",\"packagedWithMySelf\":true,\"version\":\"1.10.4\"},{\"name\":\"jquery_UI_1-11-1\",\"packagedWithMySelf\":true,\"version\":\"1.11.1\"},{\"name\":\"qunit\",\"packagedWithMySelf\":true,\"version\":\"1.18.0\"},{\"name\":\"qunit-2\",\"packagedWithMySelf\":true,\"version\":\"2.3.2\"},{\"name\":\"qunit-2.18\",\"packagedWithMySelf\":true,\"version\":\"2.18.0\"},{\"name\":\"jquery-migrate\",\"packagedWithMySelf\":true,\"version\":\"3.3.1\"},{\"name\":\"jquery_mobile\",\"packagedWithMySelf\":true,\"version\":\"1.3.1\"},{\"name\":\"jquery.rtl-scroll-type\",\"packagedWithMySelf\":true,\"version\":\"2.0.0\"},{\"name\":\"qunit-composite\",\"packagedWithMySelf\":true,\"version\":\"1.0.2-pre\"},{\"name\":\"qunit-reporter-junit\",\"packagedWithMySelf\":true,\"version\":\"1.1.1\"},{\"name\":\"zynga\",\"packagedWithMySelf\":true,\"version\":\"1.2.1-0-g5d43806\"},{\"name\":\"less\",\"packagedWithMySelf\":true,\"version\":\"1.6.3\"},{\"name\":\"datajs\",\"packagedWithMySelf\":true,\"version\":\"unknown\"},{\"name\":\"d3\",\"packagedWithMySelf\":true,\"version\":\"3.4.12\"},{\"name\":\"jszip\",\"packagedWithMySelf\":true,\"version\":\"2.2.0\"},{\"name\":\"caja\",\"packagedWithMySelf\":true,\"version\":\"Build 4884\"},{\"name\":\"cldr\",\"packagedWithMySelf\":true,\"version\":\"46.1.0\"},{\"name\":\"sinonjs\",\"packagedWithMySelf\":true,\"version\":\"1.14.1\"},{\"name\":\"sinonjs4\",\"packagedWithMySelf\":true,\"version\":\"4.4.6\"},{\"name\":\"sinonjs14\",\"packagedWithMySelf\":true,\"version\":\"14.0.0\"},{\"name\":\"sinon-qunit\",\"packagedWithMySelf\":true,\"version\":\"2.0.0\"},{\"name\":\"urijs\",\"packagedWithMySelf\":true,\"version\":\"1.19.11\"},{\"name\":\"punycodejs\",\"packagedWithMySelf\":true,\"version\":\"1.4.0\"},{\"name\":\"handlebars\",\"packagedWithMySelf\":true,\"version\":\"4.7.7\"},{\"name\":\"requirejs\",\"packagedWithMySelf\":true,\"version\":\"2.1.8\"},{\"name\":\"crossroadsjs\",\"packagedWithMySelf\":true,\"version\":\"0.12.0\"},{\"name\":\"hasherjs\",\"packagedWithMySelf\":true,\"version\":\"1.2.0\"},{\"name\":\"jssignals\",\"packagedWithMySelf\":true,\"version\":\"1.0.0\"},{\"name\":\"blanket\",\"packagedWithMySelf\":true,\"version\":\"1.1.5\"},{\"name\":\"json-in-js\",\"packagedWithMySelf\":true,\"version\":\"ff55d8d451\"},{\"name\":\"tdop\",\"packagedWithMySelf\":true,\"version\":\"unknown\"},{\"name\":\"klayjs\",\"packagedWithMySelf\":true,\"version\":\"0.4.1\"},{\"name\":\"bignumber\",\"packagedWithMySelf\":true,\"version\":\"6.0.0\"},{\"name\":\"lodash\",\"packagedWithMySelf\":true,\"version\":\"4.17.21\"},{\"name\":\"hyphenopoly\",\"packagedWithMySelf\":true,\"version\":\"3.4.0\"},{\"name\":\"p-cancelable\",\"packagedWithMySelf\":true,\"version\":\"2.0.0\"},{\"name\":\"@babel/helpers\",\"packagedWithMySelf\":true,\"version\":\"7.10.4\"},{\"name\":\"jalaali\",\"packagedWithMySelf\":true,\"version\":\"unknown\"},{\"name\":\"vkbeautify\",\"packagedWithMySelf\":true,\"version\":\"0.99.00.beta\"},{\"name\":\"node-lru-cache\",\"packagedWithMySelf\":true,\"version\":\"2.7.3\"},{\"name\":\"ui5-webcomponents\",\"packagedWithMySelf\":true,\"version\":\"2.11.0\"}]},\"sap.ui\":{\"technology\":\"UI5\",\"supportedThemes\":[\"base\",\"sap_hcb\"]},\"sap.ui5\":{\"dependencies\":{\"minUI5Version\":\"1.139\",\"libs\":{}},\"library\":{\"i18n\":{\"bundleUrl\":\"messagebundle.properties\",\"supportedLocales\":[\"\",\"ar\",\"bg\",\"ca\",\"cnr\",\"cs\",\"cy\",\"da\",\"de\",\"el\",\"en\",\"en-GB\",\"en-US-sappsd\",\"en-US-saprigi\",\"en-US-saptrc\",\"es\",\"es-MX\",\"et\",\"fi\",\"fr\",\"fr-CA\",\"hi\",\"hr\",\"hu\",\"id\",\"it\",\"iw\",\"ja\",\"kk\",\"ko\",\"lt\",\"lv\",\"mk\",\"ms\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sr\",\"sv\",\"th\",\"tr\",\"uk\",\"vi\",\"zh-CN\",\"zh-TW\"]},\"content\":{\"controls\":[\"sap.ui.core.ComponentContainer\",\"sap.ui.core.Control\",\"sap.ui.core.HTML\",\"sap.ui.core.Icon\",\"sap.ui.core.InvisibleText\",\"sap.ui.core.LocalBusyIndicator\",\"sap.ui.core.ScrollBar\",\"sap.ui.core.TooltipBase\",\"sap.ui.core.XMLComposite\",\"sap.ui.core.mvc.HTMLView\",\"sap.ui.core.mvc.JSONView\",\"sap.ui.core.mvc.JSView\",\"sap.ui.core.mvc.TemplateView\",\"sap.ui.core.mvc.View\",\"sap.ui.core.mvc.XMLView\",\"sap.ui.core.tmpl.DOMElement\",\"sap.ui.core.tmpl.TemplateControl\",\"sap.ui.core.util.Export\"],\"elements\":[\"sap.ui.core.CustomData\",\"sap.ui.core.Element\",\"sap.ui.core.Item\",\"sap.ui.core.LayoutData\",\"sap.ui.core.ListItem\",\"sap.ui.core.Message\",\"sap.ui.core.SeparatorItem\",\"sap.ui.core.Title\",\"sap.ui.core.VariantLayoutData\",\"sap.ui.core.dnd.DragDropBase\",\"sap.ui.core.dnd.DragInfo\",\"sap.ui.core.dnd.DropInfo\",\"sap.ui.core.dnd.DragDropInfo\",\"sap.ui.core.search.OpenSearchProvider\",\"sap.ui.core.search.SearchProvider\",\"sap.ui.core.tmpl.DOMAttribute\",\"sap.ui.core.util.ExportCell\",\"sap.ui.core.InvisibleMessage\"],\"types\":[\"any\",\"boolean\",\"float\",\"int\",\"object\",\"string\",\"void\",\"sap.ui.core.AbsoluteCSSSize\",\"sap.ui.core.AccessibleRole\",\"sap.ui.core.AccessibleLandmarkRole\",\"sap.ui.core.aria.HasPopup\",\"sap.ui.core.BarColor\",\"sap.ui.core.BusyIndicatorSize\",\"sap.ui.core.CalendarType\",\"sap.ui.core.CSSColor\",\"sap.ui.core.CSSGapShortHand\",\"sap.ui.core.CSSSize\",\"sap.ui.core.CSSSizeShortHand\",\"sap.ui.core.Collision\",\"sap.ui.core.ComponentLifecycle\",\"sap.ui.core.Design\",\"sap.ui.core.Dock\",\"sap.ui.core.HorizontalAlign\",\"sap.ui.core.ID\",\"sap.ui.core.IconColor\",\"sap.ui.core.ImeMode\",\"sap.ui.core.IndicationColor\",\"sap.ui.core.ItemSelectionMode\",\"sap.ui.core.MessageType\",\"sap.ui.core.OpenState\",\"sap.ui.core.Orientation\",\"sap.ui.core.Percentage\",\"sap.ui.core.Priority\",\"sap.ui.core.ScrollBarAction\",\"sap.ui.core.Scrolling\",\"sap.ui.core.SortOrder\",\"sap.ui.core.TextAlign\",\"sap.ui.core.TextDirection\",\"sap.ui.core.TitleLevel\",\"sap.ui.core.URI\",\"sap.ui.core.ValueState\",\"sap.ui.core.VerticalAlign\",\"sap.ui.core.Wrapping\",\"sap.ui.core.InvisibleMessageMode\",\"sap.ui.core.dnd.DropEffect\",\"sap.ui.core.dnd.DropLayout\",\"sap.ui.core.dnd.DropPosition\",\"sap.ui.core.mvc.ViewType\",\"sap.ui.core.routing.HistoryDirection\"],\"interfaces\":[\"sap.ui.core.IShrinkable\",\"sap.ui.core.Label\",\"sap.ui.core.ILabelable\",\"sap.ui.core.PopupInterface\",\"sap.ui.core.Toolbar\",\"sap.ui.core.IContextMenu\",\"sap.ui.core.IFormContent\",\"sap.ui.core.dnd.IDragInfo\",\"sap.ui.core.dnd.IDropInfo\",\"sap.ui.core.IDScope\",\"sap.ui.core.ITitleContent\",\"sap.ui.core.IAsyncContentCreation\",\"sap.ui.core.IPlaceholderSupport\",\"sap.ui.core.IColumnHeaderMenu\"]}}}}',\n\t\"sap/ui/model/odata/v4/ts.js\":function(){\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\n\n},\n\t\"sap/ui/thirdparty/caja-html-sanitizer.js\":function(){\n(function(){\n/* Copyright Google Inc.\n * Licensed under the Apache Licence Version 2.0\n * Autogenerated at Tue May 22 10:18:21 PDT 2012\n * \\@overrides window\n * \\@provides cssSchema, CSS_PROP_BIT_QUANTITY, CSS_PROP_BIT_HASH_VALUE, CSS_PROP_BIT_NEGATIVE_QUANTITY, CSS_PROP_BIT_QSTRING_CONTENT, CSS_PROP_BIT_QSTRING_URL, CSS_PROP_BIT_HISTORY_INSENSITIVE, CSS_PROP_BIT_Z_INDEX, CSS_PROP_BIT_ALLOWED_IN_LINK */\nvar e=1;var r=2;var t=4;var s=8;var o=16;var i=32;var a=64;var n=128;var c=function(){var e=[\"rgb(?:\\\\(\\\\s*(?:\\\\d+|0|\\\\d+(?:\\\\.\\\\d+)?%)\\\\s*,\\\\s*(?:\\\\d+|0|\\\\d+(?:\\\\.\\\\d+)?%)\\\\s*,\\\\s*(?:\\\\d+|0|\\\\d+(?:\\\\.\\\\d+)?%)|a\\\\(\\\\s*(?:\\\\d+|0|\\\\d+(?:\\\\.\\\\d+)?%)\\\\s*,\\\\s*(?:\\\\d+|0|\\\\d+(?:\\\\.\\\\d+)?%)\\\\s*,\\\\s*(?:\\\\d+|0|\\\\d+(?:\\\\.\\\\d+)?%)\\\\s*,\\\\s*(?:\\\\d+|0(?:\\\\.\\\\d+)?|\\\\.\\\\d+|1(?:\\\\.0+)?|0|\\\\d+(?:\\\\.\\\\d+)?%)) *\\\\)\"],r=[/^ *$/i,RegExp(\"^ *(?:\\\\s*\"+e[0]+\"|(?:\\\\s*\"+e[0]+\")?)+ *$\",\"i\"),RegExp(\"^ *\\\\s*\"+e[0]+\" *$\",\"i\"),RegExp(\"^ *\\\\s*\"+e[0]+\"\\\\s*\"+e[0]+\" *$\",\"i\")],t=[[\"aliceblue\",\"antiquewhite\",\"aqua\",\"aquamarine\",\"azure\",\"beige\",\"bisque\",\"black\",\"blanchedalmond\",\"blue\",\"blueviolet\",\"brown\",\"burlywood\",\"cadetblue\",\"chartreuse\",\"chocolate\",\"coral\",\"cornflowerblue\",\"cornsilk\",\"crimson\",\"cyan\",\"darkblue\",\"darkcyan\",\"darkgoldenrod\",\"darkgray\",\"darkgreen\",\"darkkhaki\",\"darkmagenta\",\"darkolivegreen\",\"darkorange\",\"darkorchid\",\"darkred\",\"darksalmon\",\"darkseagreen\",\"darkslateblue\",\"darkslategray\",\"darkturquoise\",\"darkviolet\",\"deeppink\",\"deepskyblue\",\"dimgray\",\"dodgerblue\",\"firebrick\",\"floralwhite\",\"forestgreen\",\"fuchsia\",\"gainsboro\",\"ghostwhite\",\"gold\",\"goldenrod\",\"gray\",\"green\",\"greenyellow\",\"honeydew\",\"hotpink\",\"indianred\",\"indigo\",\"ivory\",\"khaki\",\"lavender\",\"lavenderblush\",\"lawngreen\",\"lemonchiffon\",\"lightblue\",\"lightcoral\",\"lightcyan\",\"lightgoldenrodyellow\",\"lightgreen\",\"lightgrey\",\"lightpink\",\"lightsalmon\",\"lightseagreen\",\"lightskyblue\",\"lightslategray\",\"lightsteelblue\",\"lightyellow\",\"lime\",\"limegreen\",\"linen\",\"magenta\",\"maroon\",\"mediumaquamarine\",\"mediumblue\",\"mediumorchid\",\"mediumpurple\",\"mediumseagreen\",\"mediumslateblue\",\"mediumspringgreen\",\"mediumturquoise\",\"mediumvioletred\",\"midnightblue\",\"mintcream\",\"mistyrose\",\"moccasin\",\"navajowhite\",\"navy\",\"oldlace\",\"olive\",\"olivedrab\",\"orange\",\"orangered\",\"orchid\",\"palegoldenrod\",\"palegreen\",\"paleturquoise\",\"palevioletred\",\"papayawhip\",\"peachpuff\",\"peru\",\"pink\",\"plum\",\"powderblue\",\"purple\",\"red\",\"rosybrown\",\"royalblue\",\"saddlebrown\",\"salmon\",\"sandybrown\",\"seagreen\",\"seashell\",\"sienna\",\"silver\",\"skyblue\",\"slateblue\",\"slategray\",\"snow\",\"springgreen\",\"steelblue\",\"tan\",\"teal\",\"thistle\",\"tomato\",\"turquoise\",\"violet\",\"wheat\",\"white\",\"whitesmoke\",\"yellow\",\"yellowgreen\"],[\"all-scroll\",\"col-resize\",\"crosshair\",\"default\",\"e-resize\",\"hand\",\"help\",\"move\",\"n-resize\",\"ne-resize\",\"no-drop\",\"not-allowed\",\"nw-resize\",\"pointer\",\"progress\",\"row-resize\",\"s-resize\",\"se-resize\",\"sw-resize\",\"text\",\"vertical-text\",\"w-resize\",\"wait\"],[\"-moz-inline-box\",\"-moz-inline-stack\",\"block\",\"inline\",\"inline-block\",\"inline-table\",\"list-item\",\"run-in\",\"table\",\"table-caption\",\"table-cell\",\"table-column\",\"table-column-group\",\"table-footer-group\",\"table-header-group\",\"table-row\",\"table-row-group\"],[\"armenian\",\"circle\",\"decimal\",\"decimal-leading-zero\",\"disc\",\"georgian\",\"lower-alpha\",\"lower-greek\",\"lower-latin\",\"lower-roman\",\"square\",\"upper-alpha\",\"upper-latin\",\"upper-roman\"],[\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\",\"bold\",\"bolder\",\"lighter\"],[\"condensed\",\"expanded\",\"extra-condensed\",\"extra-expanded\",\"narrower\",\"semi-condensed\",\"semi-expanded\",\"ultra-condensed\",\"ultra-expanded\",\"wider\"],[\"behind\",\"center-left\",\"center-right\",\"far-left\",\"far-right\",\"left-side\",\"leftwards\",\"right-side\",\"rightwards\"],[\"large\",\"larger\",\"small\",\"smaller\",\"x-large\",\"x-small\",\"xx-large\",\"xx-small\"],[\"-moz-pre-wrap\",\"-o-pre-wrap\",\"-pre-wrap\",\"nowrap\",\"pre\",\"pre-line\",\"pre-wrap\"],[\"dashed\",\"dotted\",\"double\",\"groove\",\"outset\",\"ridge\",\"solid\"],[\"baseline\",\"middle\",\"sub\",\"super\",\"text-bottom\",\"text-top\"],[\"caption\",\"icon\",\"menu\",\"message-box\",\"small-caption\",\"status-bar\"],[\"fast\",\"faster\",\"slow\",\"slower\",\"x-fast\",\"x-slow\"],[\"above\",\"below\",\"higher\",\"level\",\"lower\"],[\"border-box\",\"contain\",\"content-box\",\"cover\",\"padding-box\"],[\"cursive\",\"fantasy\",\"monospace\",\"sans-serif\",\"serif\"],[\"loud\",\"silent\",\"soft\",\"x-loud\",\"x-soft\"],[\"no-repeat\",\"repeat-x\",\"repeat-y\",\"round\",\"space\"],[\"blink\",\"line-through\",\"overline\",\"underline\"],[\"high\",\"low\",\"x-high\",\"x-low\"],[\"absolute\",\"relative\",\"static\"],[\"capitalize\",\"lowercase\",\"uppercase\"],[\"child\",\"female\",\"male\"],[\"bidi-override\",\"embed\"],[\"bottom\",\"top\"],[\"clip\",\"ellipsis\"],[\"continuous\",\"digits\"],[\"hide\",\"show\"],[\"inside\",\"outside\"],[\"italic\",\"oblique\"],[\"left\",\"right\"],[\"ltr\",\"rtl\"],[\"no-content\",\"no-display\"],[\"suppress\",\"unrestricted\"],[\"thick\",\"thin\"],[\",\"],[\"/\"],[\"always\"],[\"auto\"],[\"avoid\"],[\"both\"],[\"break-word\"],[\"center\"],[\"code\"],[\"collapse\"],[\"fixed\"],[\"hidden\"],[\"inherit\"],[\"inset\"],[\"invert\"],[\"justify\"],[\"local\"],[\"medium\"],[\"mix\"],[\"none\"],[\"normal\"],[\"once\"],[\"repeat\"],[\"scroll\"],[\"separate\"],[\"small-caps\"],[\"spell-out\"],[\"transparent\"],[\"visible\"]];return{\"-moz-border-radius\":{cssExtra:r[0],cssPropBits:5,cssLitGroup:[t[36]]},\"-moz-border-radius-bottomleft\":{cssExtra:r[0],cssPropBits:5},\"-moz-border-radius-bottomright\":{cssExtra:r[0],cssPropBits:5},\"-moz-border-radius-topleft\":{cssExtra:r[0],cssPropBits:5},\"-moz-border-radius-topright\":{cssExtra:r[0],cssPropBits:5},\"-moz-box-shadow\":{cssExtra:r[1],cssAlternates:[\"boxShadow\"],cssPropBits:7,cssLitGroup:[t[0],t[35],t[48],t[54]]},\"-moz-opacity\":{cssPropBits:1,cssLitGroup:[t[47]]},\"-moz-outline\":{cssExtra:r[3],cssPropBits:7,cssLitGroup:[t[0],t[9],t[34],t[46],t[47],t[48],t[49],t[52],t[54]]},\"-moz-outline-color\":{cssExtra:r[2],cssPropBits:2,cssLitGroup:[t[0],t[47],t[49]]},\"-moz-outline-style\":{cssPropBits:0,cssLitGroup:[t[9],t[46],t[47],t[48],t[54]]},\"-moz-outline-width\":{cssPropBits:5,cssLitGroup:[t[34],t[47],t[52]]},\"-o-text-overflow\":{cssPropBits:0,cssLitGroup:[t[25]]},\"-webkit-border-bottom-left-radius\":{cssExtra:r[0],cssPropBits:5},\"-webkit-border-bottom-right-radius\":{cssExtra:r[0],cssPropBits:5},\"-webkit-border-radius\":{cssExtra:r[0],cssPropBits:5,cssLitGroup:[t[36]]},\"-webkit-border-radius-bottom-left\":{cssExtra:r[0],cssPropBits:5},\"-webkit-border-radius-bottom-right\":{cssExtra:r[0],cssPropBits:5},\"-webkit-border-radius-top-left\":{cssExtra:r[0],cssPropBits:5},\"-webkit-border-radius-top-right\":{cssExtra:r[0],cssPropBits:5},\"-webkit-border-top-left-radius\":{cssExtra:r[0],cssPropBits:5},\"-webkit-border-top-right-radius\":{cssExtra:r[0],cssPropBits:5},\"-webkit-box-shadow\":{cssExtra:r[1],cssAlternates:[\"boxShadow\"],cssPropBits:7,cssLitGroup:[t[0],t[35],t[48],t[54]]},azimuth:{cssPropBits:5,cssLitGroup:[t[6],t[30],t[42],t[47]]},background:{cssExtra:RegExp(\"^ *(?:\\\\s*\"+e[0]+\"){0,2} *$\",\"i\"),cssPropBits:23,cssLitGroup:[t[0],t[14],t[17],t[24],t[30],t[35],t[36],t[38],t[42],t[45],t[47],t[51],t[54],t[57],t[58],t[62]]},\"background-attachment\":{cssExtra:r[0],cssPropBits:0,cssLitGroup:[t[35],t[45],t[51],t[58]]},\"background-color\":{cssExtra:r[2],cssPropBits:130,cssLitGroup:[t[0],t[47],t[62]]},\"background-image\":{cssExtra:r[0],cssPropBits:16,cssLitGroup:[t[35],t[54]]},\"background-position\":{cssExtra:r[0],cssPropBits:5,cssLitGroup:[t[24],t[30],t[35],t[42]]},\"background-repeat\":{cssExtra:r[0],cssPropBits:0,cssLitGroup:[t[17],t[35],t[57]]},border:{cssExtra:r[3],cssPropBits:7,cssLitGroup:[t[0],t[9],t[34],t[46],t[47],t[48],t[52],t[54],t[62]]},\"border-bottom\":{cssExtra:r[3],cssPropBits:7,cssLitGroup:[t[0],t[9],t[34],t[46],t[47],t[48],t[52],t[54],t[62]]},\"border-bottom-color\":{cssExtra:r[2],cssPropBits:2,cssLitGroup:[t[0],t[47],t[62]]},\"border-bottom-left-radius\":{cssExtra:r[0],cssPropBits:5},\"border-bottom-right-radius\":{cssExtra:r[0],cssPropBits:5},\"border-bottom-style\":{cssPropBits:0,cssLitGroup:[t[9],t[46],t[47],t[48],t[54]]},\"border-bottom-width\":{cssPropBits:5,cssLitGroup:[t[34],t[47],t[52]]},\"border-collapse\":{cssPropBits:0,cssLitGroup:[t[44],t[47],t[59]]},\"border-color\":{cssExtra:RegExp(\"^ *(?:\\\\s*\"+e[0]+\"){1,4} *$\",\"i\"),cssPropBits:2,cssLitGroup:[t[0],t[47],t[62]]},\"border-left\":{cssExtra:r[3],cssPropBits:7,cssLitGroup:[t[0],t[9],t[34],t[46],t[47],t[48],t[52],t[54],t[62]]},\"border-left-color\":{cssExtra:r[2],cssPropBits:2,cssLitGroup:[t[0],t[47],t[62]]},\"border-left-style\":{cssPropBits:0,cssLitGroup:[t[9],t[46],t[47],t[48],t[54]]},\"border-left-width\":{cssPropBits:5,cssLitGroup:[t[34],t[47],t[52]]},\"border-radius\":{cssExtra:r[0],cssPropBits:5,cssLitGroup:[t[36]]},\"border-right\":{cssExtra:r[3],cssPropBits:7,cssLitGroup:[t[0],t[9],t[34],t[46],t[47],t[48],t[52],t[54],t[62]]},\"border-right-color\":{cssExtra:r[2],cssPropBits:2,cssLitGroup:[t[0],t[47],t[62]]},\"border-right-style\":{cssPropBits:0,cssLitGroup:[t[9],t[46],t[47],t[48],t[54]]},\"border-right-width\":{cssPropBits:5,cssLitGroup:[t[34],t[47],t[52]]},\"border-spacing\":{cssExtra:r[0],cssPropBits:5,cssLitGroup:[t[47]]},\"border-style\":{cssPropBits:0,cssLitGroup:[t[9],t[46],t[47],t[48],t[54]]},\"border-top\":{cssExtra:r[3],cssPropBits:7,cssLitGroup:[t[0],t[9],t[34],t[46],t[47],t[48],t[52],t[54],t[62]]},\"border-top-color\":{cssExtra:r[2],cssPropBits:2,cssLitGroup:[t[0],t[47],t[62]]},\"border-top-left-radius\":{cssExtra:r[0],cssPropBits:5},\"border-top-right-radius\":{cssExtra:r[0],cssPropBits:5},\"border-top-style\":{cssPropBits:0,cssLitGroup:[t[9],t[46],t[47],t[48],t[54]]},\"border-top-width\":{cssPropBits:5,cssLitGroup:[t[34],t[47],t[52]]},\"border-width\":{cssPropBits:5,cssLitGroup:[t[34],t[47],t[52]]},bottom:{cssPropBits:5,cssLitGroup:[t[38],t[47]]},\"box-shadow\":{cssExtra:r[1],cssPropBits:7,cssLitGroup:[t[0],t[35],t[48],t[54]]},\"caption-side\":{cssPropBits:0,cssLitGroup:[t[24],t[47]]},clear:{cssPropBits:0,cssLitGroup:[t[30],t[40],t[47],t[54]]},clip:{cssExtra:/^ *\\s*rect\\(\\s*(?:0|[+\\-]?\\d+(?:\\.\\d+)?(?:[cem]m|ex|in|p[ctx])|auto)\\s*,\\s*(?:0|[+\\-]?\\d+(?:\\.\\d+)?(?:[cem]m|ex|in|p[ctx])|auto)\\s*,\\s*(?:0|[+\\-]?\\d+(?:\\.\\d+)?(?:[cem]m|ex|in|p[ctx])|auto)\\s*,\\s*(?:0|[+\\-]?\\d+(?:\\.\\d+)?(?:[cem]m|ex|in|p[ctx])|auto) *\\) *$/i,cssPropBits:0,cssLitGroup:[t[38],t[47]]},color:{cssExtra:r[2],cssPropBits:130,cssLitGroup:[t[0],t[47]]},content:{cssPropBits:0},\"counter-increment\":{cssExtra:r[0],cssPropBits:5,cssLitGroup:[t[47],t[54]]},\"counter-reset\":{cssExtra:r[0],cssPropBits:5,cssLitGroup:[t[47],t[54]]},cue:{cssPropBits:16,cssLitGroup:[t[47],t[54]]},\"cue-after\":{cssPropBits:16,cssLitGroup:[t[47],t[54]]},\"cue-before\":{cssPropBits:16,cssLitGroup:[t[47],t[54]]},cursor:{cssExtra:r[0],cssPropBits:144,cssLitGroup:[t[1],t[35],t[38],t[47]]},direction:{cssPropBits:0,cssLitGroup:[t[31],t[47]]},display:{cssPropBits:32,cssLitGroup:[t[2],t[47],t[54]]},elevation:{cssPropBits:5,cssLitGroup:[t[13],t[47]]},\"empty-cells\":{cssPropBits:0,cssLitGroup:[t[27],t[47]]},filter:{cssExtra:/^ *(?:\\s*alpha\\(\\s*opacity\\s*=\\s*(?:0|\\d+(?:\\.\\d+)?%|[+\\-]?\\d+(?:\\.\\d+)?) *\\))+ *$/i,cssPropBits:32},float:{cssAlternates:[\"cssFloat\",\"styleFloat\"],cssPropBits:32,cssLitGroup:[t[30],t[47],t[54]]},font:{cssExtra:r[0],cssPropBits:9,cssLitGroup:[t[4],t[7],t[11],t[15],t[29],t[35],t[36],t[47],t[52],t[55],t[60]]},\"font-family\":{cssExtra:r[0],cssPropBits:8,cssLitGroup:[t[15],t[35],t[47]]},\"font-size\":{cssPropBits:1,cssLitGroup:[t[7],t[47],t[52]]},\"font-stretch\":{cssPropBits:0,cssLitGroup:[t[5],t[55]]},\"font-style\":{cssPropBits:0,cssLitGroup:[t[29],t[47],t[55]]},\"font-variant\":{cssPropBits:0,cssLitGroup:[t[47],t[55],t[60]]},\"font-weight\":{cssPropBits:0,cssLitGroup:[t[4],t[47],t[55]],cssLitNumeric:true},height:{cssPropBits:37,cssLitGroup:[t[38],t[47]]},left:{cssPropBits:37,cssLitGroup:[t[38],t[47]]},\"letter-spacing\":{cssPropBits:5,cssLitGroup:[t[47],t[55]]},\"line-height\":{cssPropBits:1,cssLitGroup:[t[47],t[55]]},\"list-style\":{cssPropBits:16,cssLitGroup:[t[3],t[28],t[47],t[54]]},\"list-style-image\":{cssPropBits:16,cssLitGroup:[t[47],t[54]]},\"list-style-position\":{cssPropBits:0,cssLitGroup:[t[28],t[47]]},\"list-style-type\":{cssPropBits:0,cssLitGroup:[t[3],t[47],t[54]]},margin:{cssPropBits:5,cssLitGroup:[t[38],t[47]]},\"margin-bottom\":{cssPropBits:5,cssLitGroup:[t[38],t[47]]},\"margin-left\":{cssPropBits:5,cssLitGroup:[t[38],t[47]]},\"margin-right\":{cssPropBits:5,cssLitGroup:[t[38],t[47]]},\"margin-top\":{cssPropBits:5,cssLitGroup:[t[38],t[47]]},\"max-height\":{cssPropBits:1,cssLitGroup:[t[38],t[47],t[54]]},\"max-width\":{cssPropBits:1,cssLitGroup:[t[38],t[47],t[54]]},\"min-height\":{cssPropBits:1,cssLitGroup:[t[38],t[47]]},\"min-width\":{cssPropBits:1,cssLitGroup:[t[38],t[47]]},opacity:{cssPropBits:33,cssLitGroup:[t[47]]},outline:{cssExtra:r[3],cssPropBits:7,cssLitGroup:[t[0],t[9],t[34],t[46],t[47],t[48],t[49],t[52],t[54]]},\"outline-color\":{cssExtra:r[2],cssPropBits:2,cssLitGroup:[t[0],t[47],t[49]]},\"outline-style\":{cssPropBits:0,cssLitGroup:[t[9],t[46],t[47],t[48],t[54]]},\"outline-width\":{cssPropBits:5,cssLitGroup:[t[34],t[47],t[52]]},overflow:{cssPropBits:32,cssLitGroup:[t[38],t[46],t[47],t[58],t[63]]},\"overflow-x\":{cssPropBits:0,cssLitGroup:[t[32],t[38],t[46],t[58],t[63]]},\"overflow-y\":{cssPropBits:0,cssLitGroup:[t[32],t[38],t[46],t[58],t[63]]},padding:{cssPropBits:1,cssLitGroup:[t[47]]},\"padding-bottom\":{cssPropBits:33,cssLitGroup:[t[47]]},\"padding-left\":{cssPropBits:33,cssLitGroup:[t[47]]},\"padding-right\":{cssPropBits:33,cssLitGroup:[t[47]]},\"padding-top\":{cssPropBits:33,cssLitGroup:[t[47]]},\"page-break-after\":{cssPropBits:0,cssLitGroup:[t[30],t[37],t[38],t[39],t[47]]},\"page-break-before\":{cssPropBits:0,cssLitGroup:[t[30],t[37],t[38],t[39],t[47]]},\"page-break-inside\":{cssPropBits:0,cssLitGroup:[t[38],t[39],t[47]]},pause:{cssPropBits:5,cssLitGroup:[t[47]]},\"pause-after\":{cssPropBits:5,cssLitGroup:[t[47]]},\"pause-before\":{cssPropBits:5,cssLitGroup:[t[47]]},pitch:{cssPropBits:5,cssLitGroup:[t[19],t[47],t[52]]},\"pitch-range\":{cssPropBits:5,cssLitGroup:[t[47]]},\"play-during\":{cssExtra:r[0],cssPropBits:16,cssLitGroup:[t[38],t[47],t[53],t[54],t[57]]},position:{cssPropBits:32,cssLitGroup:[t[20],t[47]]},quotes:{cssExtra:r[0],cssPropBits:0,cssLitGroup:[t[47],t[54]]},richness:{cssPropBits:5,cssLitGroup:[t[47]]},right:{cssPropBits:37,cssLitGroup:[t[38],t[47]]},speak:{cssPropBits:0,cssLitGroup:[t[47],t[54],t[55],t[61]]},\"speak-header\":{cssPropBits:0,cssLitGroup:[t[37],t[47],t[56]]},\"speak-numeral\":{cssPropBits:0,cssLitGroup:[t[26],t[47]]},\"speak-punctuation\":{cssPropBits:0,cssLitGroup:[t[43],t[47],t[54]]},\"speech-rate\":{cssPropBits:5,cssLitGroup:[t[12],t[47],t[52]]},stress:{cssPropBits:5,cssLitGroup:[t[47]]},\"table-layout\":{cssPropBits:0,cssLitGroup:[t[38],t[45],t[47]]},\"text-align\":{cssPropBits:0,cssLitGroup:[t[30],t[42],t[47],t[50]]},\"text-decoration\":{cssPropBits:0,cssLitGroup:[t[18],t[47],t[54]]},\"text-indent\":{cssPropBits:5,cssLitGroup:[t[47]]},\"text-overflow\":{cssPropBits:0,cssLitGroup:[t[25]]},\"text-shadow\":{cssExtra:r[1],cssPropBits:7,cssLitGroup:[t[0],t[35],t[48],t[54]]},\"text-transform\":{cssPropBits:0,cssLitGroup:[t[21],t[47],t[54]]},\"text-wrap\":{cssPropBits:0,cssLitGroup:[t[33],t[54],t[55]]},top:{cssPropBits:37,cssLitGroup:[t[38],t[47]]},\"unicode-bidi\":{cssPropBits:0,cssLitGroup:[t[23],t[47],t[55]]},\"vertical-align\":{cssPropBits:5,cssLitGroup:[t[10],t[24],t[47]]},visibility:{cssPropBits:32,cssLitGroup:[t[44],t[46],t[47],t[63]]},\"voice-family\":{cssExtra:r[0],cssPropBits:8,cssLitGroup:[t[22],t[35],t[47]]},volume:{cssPropBits:1,cssLitGroup:[t[16],t[47],t[52]]},\"white-space\":{cssPropBits:0,cssLitGroup:[t[8],t[47],t[55]]},width:{cssPropBits:33,cssLitGroup:[t[38],t[47]]},\"word-spacing\":{cssPropBits:5,cssLitGroup:[t[47],t[55]]},\"word-wrap\":{cssPropBits:0,cssLitGroup:[t[41],t[55]]},\"z-index\":{cssPropBits:69,cssLitGroup:[t[38],t[47]]},zoom:{cssPropBits:1,cssLitGroup:[t[55]]}}}();if(typeof window!==\"undefined\"){window[\"cssSchema\"]=c}\n// Copyright (C) Google Inc.\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n// http://www.apache.org/licenses/LICENSE-2.0\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// See the License for the specific language governing permissions and\n// limitations under the License.\nvar l;var u;(function(){function e(e){var r=parseInt(e.substring(1),16);if(r>65535){return r-=65536,String.fromCharCode(55296+(r>>10),56320+(r&1023))}else if(r==r){return String.fromCharCode(r)}else if(e[1]<\" \"){return\"\"}else{return e[1]}}function r(e,r){return'\"'+e.replace(/[\\u0000-\\u001f\\\\\\\"<>]/g,r)+'\"'}function t(e){return o[e]||(o[e]=\"\\\\\"+e.charCodeAt(0).toString(16)+\" \")}function s(e){return i[e]||(i[e]=(e<\"\u0010\"?\"%0\":\"%\")+e.charCodeAt(0).toString(16))}var o={\"\\\\\":\"\\\\\\\\\"};var i={\"\\\\\":\"%5c\"};var a=\"[\\\\t\\\\n\\\\f ]\";var n=a+\"*\";var c=\"[\\\\n\\\\f]\";var p=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\";var d=\"[\\\\u0080-\\\\ud7ff\\\\ue000-\\\\ufffd]|\"+p;var f=\"[0-9a-fA-F]{1,6}\"+a+\"?\";var h=\"\\\\\\\\\"+f;var m=\"(?:\"+f+\"|[\\\\u0020-\\\\u007e\\\\u0080-\\\\ud7ff\\\\ue000\\\\ufffd]|\"+p+\")\";var g=\"\\\\\\\\\"+m;var b=\"(?:[\\\\t\\\\x21\\\\x23-\\\\x26\\\\x28-\\\\x5b\\\\x5d-\\\\x7e]|\"+d+\"|\"+g+\")\";var v=\"[^'\\\"\\\\n\\\\f\\\\\\\\]|\\\\\\\\[\\\\s\\\\S]\";var w=\"\\\"(?:'|\"+v+')*\"'+\"|'(?:\\\"|\"+v+\")*'\";var L=\"[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)\";var P=\"(?:[a-zA-Z_]|\"+d+\"|\"+g+\")\";var x=\"(?:[a-zA-Z0-9_-]|\"+d+\"|\"+g+\")\";var y=x+\"+\";var B=\"-?\"+P+x+\"*\";var E=\"@\"+B;var G=\"#\"+y;var k=L;var A=\"(?:@?-?\"+P+\"|#)\"+x+\"*\";var T=L+\"%\";var S=L+B;var C=L+\"(?:%|\"+B+\")?\";var z=\"url[(]\"+n+\"(?:\"+w+\"|\"+b+\"*)\"+n+\"[)]\";var N=\"U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?\";var R=\"\\x3c!--\";var M=\"--\\x3e\";var D=a+\"+\";var O=\"/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\\\n\\\\f]*)\";var $=\"(?!url[(])(?=(\"+B+\"))\\\\1[(]\";var j=\"~=\";var I=\"[|]=\";var _=\"[^]=\";var q=\"[$]=\";var F=\"[*]=\";var U=\"[~|^$*]=\";var Y=\"[^\\\"'\\\\\\\\/]|/(?![/*])\";var Z=\"\\\\uFEFF\";var H=new RegExp([Z,N,z,$,A,w,C,R,M,D,O,U,Y].join(\"|\"),\"gi\");u=function(r){return r.replace(new RegExp(\"\\\\\\\\(?:\"+m+\"|\"+c+\")\",\"g\"),e)};l=function(e){e=\"\"+e;var o=e.replace(/\\r\\n?/g,\"\\n\").match(H)||[];var i=0;var a=\" \";for(var c=0,l=o.length;c1||p==\"\\\\\"||p==M||p==R||p==\"\\ufeff\"||f<=\" \".charCodeAt(0)?\" \":/url\\(/i.test(p)?\"url(\"+r(p.replace(new RegExp(\"^url\\\\(\"+n+\"[\\\"']?|[\\\"']?\"+n+\"\\\\)$\",\"gi\"),\"\"),s)+\")\":p;if(a!=p||p!=\" \"){o[i++]=a=p}}o.length=i;return o}})();if(typeof window!==\"undefined\"){window[\"lexCss\"]=l;window[\"decodeCss\"]=u}\n// Copyright (C) Google Inc.\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n// http://www.apache.org/licenses/LICENSE-2.0\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// See the License for the specific language governing permissions and\n// limitations under the License.\nvar p=function(){var i='url(\"about:blank\")';var n=/[\\n\\f\\r\\\"\\'()*<>]/g;var c={\"\\n\":\"%0a\",\"\\f\":\"%0c\",\"\\r\":\"%0d\",'\"':\"%22\",\"'\":\"%27\",\"(\":\"%28\",\")\":\"%29\",\"*\":\"%2a\",\"<\":\"%3c\",\">\":\"%3e\"};function l(e){if(\"string\"===typeof e){return'url(\"'+e.replace(n,p)+'\")'}else{return i}}function p(e){return c[e]}var d=new RegExp(\"^\"+\"(?:\"+\"([^:/?# ]+)\"+\":)?\");var f=/^(?:https?|mailto)$/i;function h(e,r,t){if(!t){return null}var s=(\"\"+e).match(d);if(s&&(!s[1]||f.test(s[1]))){return t(e,r)}else{return null}}function m(e){var r={};for(var t=e.length;--t>=0;){var s=e[t];for(var o=s.length;--o>=0;){r[s[o]]=b}}return r}function g(e,r){var t=1,s=r+1,o=e.length;while(s\"||e[i+1]==\">\"))){e[o++]=e[i]}}e.length=o;var a=e.length,n=0;for(i=0;i\";if(d||p===\" \"){l=f(c,u,false);if(!l||d&&/^html/i.test(l)){return}c=u+1;n.push(l,d?\" > \":\" \")}}l=f(c,i,true);if(!l){return}n.push(l);function f(t,s,o){var i=t,n=s;var c,l,u,p,d;c=\"\";if(t html\";t=true}a.push(c,\"{\")}}n.push(l?null:{historySensitiveSelectors:r,endOfSelectors:a.length-1,removeHistoryInsensitiveSelectors:t})},endRuleset:function(){var e=n.pop();var r=a.length;if(!l){a.push(\"}\");if(e){var s=e.historySensitiveSelectors;if(s.length){var o=a.slice(e.endOfSelectors);a.push(s.join(\", \"),t(o))}}}if(e&&e.removeHistoryInsensitiveSelectors){a.splice(e.endOfSelectors-1,r+1)}u()},declaration:function(e,r){if(!l){var t=c[e];if(t){p(e,t,r,i);if(r.length){a.push(e,\":\",r.join(\" \"),\";\")}}}}});function u(){l=n.length!==0&&n[n.length-1]!==null}return a.join(\"\")}}();if(typeof window!==\"undefined\"){window[\"sanitizeCssProperty\"]=p;window[\"sanitizeCssSelectors\"]=d;window[\"sanitizeStylesheet\"]=f}\n// Copyright (C) Google Inc.\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n// http://www.apache.org/licenses/LICENSE-2.0\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// See the License for the specific language governing permissions and\n// limitations under the License.\nvar h;var m;(function(){h=function(r,t){var s=l(r);if(t.startStylesheet){t.startStylesheet()}for(var o=0,i=s.length;on&&e[c-1]===\" \"){--c}if(o.startAtrule){o.startAtrule(e[a].toLowerCase(),e.slice(n,c))}r=e[r]===\"{\"?t(e,r,s,o):r+1;if(o.endAtrule){o.endAtrule()}}return r}function t(e,o,i,a){++o;if(a.startBlock){a.startBlock()}while(oi&&e[n-1]===\" \"){--n}var c=e[r];++r;if(c!==\"{\"){return r}if(s.startRuleset){s.startRuleset(e.slice(i,n))}while(r=0){r=~(r+1)}return r}var i=/^-?[a-z]/i;function a(e,r,t,s){var a=e[r++];if(!i.test(a)){return r+1}var n;if(r\",amp:\"&\",nbsp:\" \",quot:'\"',apos:\"'\"};var a=/^#(\\d+)$/;var n=/^#x([0-9A-Fa-f]+)$/;function c(e){e=o(e);if(i.hasOwnProperty(e)){return i[e]}var r=e.match(a);if(r){return String.fromCharCode(parseInt(r[1],10))}else if(!!(r=e.match(n))){return String.fromCharCode(parseInt(r[1],16))}return\"\"}function l(e,r){return c(r)}var u=/\\0/g;function p(e){return e.replace(u,\"\")}var d=/&(#\\d+|#x[0-9A-Fa-f]+|\\w+);/g;function f(e){return e.replace(d,l)}var h=/&/g;var m=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi;var g=/[<]/g;var b=/>/g;var v=/\\\"/g;function w(e){return(\"\"+e).replace(h,\"&\").replace(g,\"<\").replace(b,\">\").replace(v,\""\")}function L(e){return e.replace(m,\"&$1\").replace(g,\"<\").replace(b,\">\")}var P=new RegExp(\"^\\\\s*\"+\"([a-z][a-z-]*)\"+\"(?:\"+(\"\\\\s*(=)\\\\s*\"+\"(\"+('(\")[^\"]*(\"|$)'+\"|\"+\"(')[^']*('|$)\"+\"|\"+\"(?=[a-z][a-z-]*\\\\s*=)\"+\"|\"+\"[^\\\"'\\\\s]*\")+\")\")+\")?\",\"i\");var x=/^(#[0-9]+|#x[0-9a-f]+|\\w+);/i;var y=\"a,b\".split(/(,)/).length===3;var B=e.eflags.CDATA|e.eflags.RCDATA;function E(e){return function(r,t){return k(r,e,t)}}var G={};function k(e,r,t){var s=r;var o,i,a;var n=S(e);var c={noMoreGT:false,noMoreEndComments:false};T(r,n,0,c,t)}function A(e,r,t,s,o){return function(){T(e,r,t,s,o)}}function T(r,t,s,i,a){try{if(r.startDoc&&s==0){r.startDoc(a)}var n,c,l;for(var u=s,p=t.length;u\"){u+=2;l=o(n[1]);if(e.ELEMENTS.hasOwnProperty(l)){if(r.endTag){r.endTag(l,a,G,A(r,t,u,i,a))}}}else{u=C(t,u,r,a,G,i)}}else{if(r.pcdata){r.pcdata(\"</\",a,G,A(r,t,u,i,a))}}break;case\"<\":if(n=/^(\\w+)\\s*\\/?/.exec(f)){if(n[0].length===f.length&&t[u+1]===\">\"){u+=2;l=o(n[1]);if(e.ELEMENTS.hasOwnProperty(l)){if(r.startTag){r.startTag(l,[],a,G,A(r,t,u,i,a))}var h=e.ELEMENTS[l];if(h&B){var m={name:l,next:u,eflags:h};u=R(t,m,r,a,G,i)}}}else{u=z(t,u,r,a,G,i)}}else{if(r.pcdata){r.pcdata(\"<\",a,G,A(r,t,u,i,a))}}break;case\"\\x3c!--\":if(!i.noMoreEndComments){for(c=u+1;c\"&&/--$/.test(t[c-1])){break}}if(c\"){break}}if(c\"){break}}if(c\":if(r.pcdata){r.pcdata(\">\",a,G,A(r,t,u,i,a))}break;case\"\":break;default:if(r.pcdata){r.pcdata(d,a,G,A(r,t,u,i,a))}break}}if(r.endDoc){r.endDoc(a)}}catch(e){if(e!==G){throw e}}}function S(e){var r=/(<\\/|<\\!--|<[!?]|[&<>])/g;e+=\"\";if(y){return e.split(r)}else{var t=[];var s=0;var o;while((o=r.exec(e))! Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/AreaMicroChart\", [\"./library\",\"sap/ui/core/Control\",\"sap/m/FlexBox\",\"sap/suite/ui/microchart/MicroChartUtils\",\"sap/base/Log\",\"sap/ui/events/KeyCodes\",\"sap/ui/core/theming/Parameters\",\"sap/ui/core/ResizeHandler\",\"./AreaMicroChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\",\"sap/base/i18n/Localization\",\"./AreaMicroChartItem\",\"./AreaMicroChartLabel\",\"sap/ui/core/Lib\"],function(e,t,i,r,s,a,o,n,l,h,u,d,p,g,f){\"use strict\";var c=e.MicroChartColorType;var _=e.AreaMicroChartViewType;var C=t.extend(\"sap.suite.ui.microchart.AreaMicroChart\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{size:{type:\"sap.m.Size\",group:\"Misc\",defaultValue:\"Auto\"},width:{type:\"sap.ui.core.CSSSize\",group:\"Misc\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Misc\"},maxXValue:{type:\"float\",group:\"Misc\",defaultValue:null},minXValue:{type:\"float\",group:\"Misc\",defaultValue:null},maxYValue:{type:\"float\",group:\"Misc\",defaultValue:null},minYValue:{type:\"float\",group:\"Misc\",defaultValue:null},view:{type:\"sap.suite.ui.microchart.AreaMicroChartViewType\",group:\"Appearance\",defaultValue:\"Normal\"},colorPalette:{type:\"string[]\",group:\"Appearance\",defaultValue:[]},showLabel:{type:\"boolean\",group:\"Misc\",defaultValue:true},isResponsive:{type:\"boolean\",group:\"Appearance\",defaultValue:false},hideOnNoData:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},events:{press:{}},defaultAggregation:\"lines\",aggregations:{chart:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartItem\",defaultClass:p,bindable:\"bindable\"},maxThreshold:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartItem\",defaultClass:p},innerMaxThreshold:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartItem\",defaultClass:p},innerMinThreshold:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartItem\",defaultClass:p},minThreshold:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartItem\",defaultClass:p},target:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartItem\",defaultClass:p,bindable:\"bindable\"},firstXLabel:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartLabel\",defaultClass:g},firstYLabel:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartLabel\",defaultClass:g},lastXLabel:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartLabel\",defaultClass:g},lastYLabel:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartLabel\",defaultClass:g},maxLabel:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartLabel\",defaultClass:g},minLabel:{multiple:false,type:\"sap.suite.ui.microchart.AreaMicroChartLabel\",defaultClass:g},lines:{multiple:true,type:\"sap.suite.ui.microchart.AreaMicroChartItem\",defaultClass:p,bindable:\"bindable\"}}},renderer:l});C.THRESHOLD_LOOK_XS=1.125;C.THRESHOLD_LOOK_S=3.5;C.THRESHOLD_LOOK_M=4.5;C.THRESHOLD_LOOK_L=5.875;C.THRESHOLD_WIDTH_NO_LABEL=6;C.THRESHOLD_WIDE_HEIGHT_NO_LABEL=2.25;C.ITEM_NEUTRAL_COLOR=\"sapSuiteAMCSemanticColorNeutral\";C.ITEM_NEUTRAL_NOTHRESHOLD_CSSCLASS=\"sapSuiteAMCNeutralNoThreshold\";C._CHARTITEM_AGGREGATIONS=[\"chart\",\"target\",\"minThreshold\",\"maxThreshold\",\"innerMinThreshold\",\"innerMaxThreshold\"];C.prototype.init=function(){this._oRb=f.getResourceBundleFor(\"sap.suite.ui.microchart\");this.setAggregation(\"tooltip\",\"((AltText))\",true);this._bThemeApplied=false;h.ready(this._handleCoreInitialized.bind(this))};C.prototype._handleCoreInitialized=function(){u.attachApplied(this._handleThemeApplied.bind(this));d.attachChange(this._handleThemeApplied.bind(this))};C.prototype._handleThemeApplied=function(){this._bThemeApplied=true;this.invalidate()};C.prototype._getCssValues=function(){this._$CssHelper.className=Array.prototype.slice.call(arguments).join(\" \");var e=window.getComputedStyle(this._$CssHelper);if(!e.backgroundColor){e.backgroundColor=e[\"background-color\"]}if(!e.outlineStyle){e.outlineStyle=e[\"outline-style\"]}if(!e.outlineWidth){e.outlineWidth=e[\"outline-width\"]}return e};C.prototype.__fillThresholdArea=function(e,t,i,r){e.beginPath();e.moveTo(t[0].x,t[0].y);for(var s=1,a=t.length;s=0;o--){e.lineTo(i[o].x,i[o].y)}e.closePath();e.fillStyle=\"white\";e.fill();e.fillStyle=r;e.fill();e.lineWidth=1;e.strokeStyle=\"white\";e.stroke();e.strokeStyle=r;e.stroke()};C.prototype._renderDashedLine=function(e,t,i){if(e.setLineDash){e.setLineDash(i);this._renderLine(e,t);e.setLineDash([])}else{e.beginPath();for(var r=0,s=t.length-1;r1){return true}}return false};C.prototype._renderTarget=function(e,t){if(t.target.length>1){var i=this._getItemColor(t,true);var r=this._getCssValues(\"sapSuiteAMCTarget\",i);e.strokeStyle=r.color;e.lineWidth=parseFloat(r.width);if(r?.textShadow&&r.textShadow!==\"none\"){this._renderShadows(r,e)}if(r.outlineStyle==\"dotted\"){this._renderDashedLine(e,t.target,[parseFloat(r.outlineWidth),3])}else{this._renderLine(e,t.target,t)}}else if(t.target.length==1){s.warning(\"Target is not rendered because only 1 point was given\")}};C.prototype._renderThresholdLine=function(e,t){if(t&&t.length){var i=this._getCssValues(\"sapSuiteAMCThreshold\");e.strokeStyle=i.color;e.lineWidth=i.width;this._renderLine(e,t)}};C.prototype._fillMaxThreshold=function(e,t){if(t.maxThreshold.length>1){var i=this._getCssValues(\"sapSuiteAMCThreshold\",\"sapSuiteAMCSemanticColor\"+this.getMaxThreshold().getColor());this.__fillThresholdArea(e,t.maxThreshold,[{x:t.maxThreshold[0].x,y:t.minY},{x:t.maxThreshold[t.maxThreshold.length-1].x,y:t.minY}],i.backgroundColor);this._renderThresholdLine(e,t.maxThreshold,t)}else if(t.maxThreshold.length==1){s.warning(\"Max Threshold is not rendered because only 1 point was given\")}};C.prototype._fillMinThreshold=function(e,t){if(t.minThreshold.length>1){var i=this._getCssValues(\"sapSuiteAMCThreshold\",\"sapSuiteAMCSemanticColor\"+this.getMinThreshold().getColor());this.__fillThresholdArea(e,t.minThreshold,[{x:t.minThreshold[0].x,y:t.maxY},{x:t.minThreshold[t.minThreshold.length-1].x,y:t.maxY}],i.backgroundColor)}else if(t.minThreshold.length==1){s.warning(\"Min Threshold is not rendered because only 1 point was given\")}};C.prototype._fillThresholdArea=function(e,t){if(t.minThreshold.length>1&&t.maxThreshold.length>1){var i=this._getCssValues(\"sapSuiteAMCThreshold\",\"sapSuiteAMCSemanticColorCritical\");this.__fillThresholdArea(e,t.maxThreshold,t.minThreshold,i.backgroundColor)}};C.prototype._fillInnerThresholdArea=function(e,t){if(t.innerMinThreshold.length>1&&t.innerMaxThreshold.length>1){var i=this._getCssValues(\"sapSuiteAMCThreshold\",\"sapSuiteAMCSemanticColor\"+this.getInnerMaxThreshold().getColor());this.__fillThresholdArea(e,t.innerMaxThreshold,t.innerMinThreshold,i.backgroundColor)}else if(t.innerMinThreshold.length||t.innerMaxThreshold.length){s.warning(\"Inner threshold area is not rendered because inner min and max threshold were not correctly set\")}};C.prototype._renderChart=function(e,t){if(t.chart.length>1){var i=this._getItemColor(t);var r=this._getCssValues(\"sapSuiteAMCChart\",i);e.strokeStyle=r.color;e.lineWidth=parseFloat(r.width);if(r?.textShadow&&r.textShadow!==\"none\"){this._renderShadows(r,e)}this._renderLine(e,t.chart,t)}else if(t.chart.length==1){s.warning(\"Actual values are not rendered because only 1 point was given\")}};C.prototype._renderLines=function(e,t){var i=this.getColorPalette().length,r=0,s=this._getCssValues(\"sapSuiteAMCLine\"),a=t.lines.length;var n=function(e){if(i){if(r===i){r=0}e=this.getColorPalette()[r++].trim()}if(c.hasOwnProperty(e)){s=this._getCssValues(\"sapSuiteAMCLine\",\"sapSuiteAMCSemanticColor\"+e);return s.color}else{return o.get(e)||e}}.bind(this);e.lineWidth=parseFloat(s.width);for(var l=0;l1){e.strokeStyle=n(this.getLines()[l].getColor());this._renderLine(e,t.lines[l],t)}}};C.prototype._renderCanvas=function(){var e=this.getDomRef(\"canvas\");if(!this._hasData()||!e){return}this._$CssHelper=this.getDomRef(\"css-helper\");var t=this.$();var i=window.getComputedStyle(e);var r=parseFloat(i.width);e.setAttribute(\"width\",r||360);var s=parseFloat(i.height);e.setAttribute(\"height\",s||242);var a=e.getContext(\"2d\");a.lineJoin=\"round\";a._dashedLine=this._drawDashedLine;var o=this._calculateDimensions(e.width,e.height);if(this._isThresholdPresent(o)){t.find(\".sapSuiteAMCCanvasContainer\").addClass(\"sapSuiteAMCWithThreshold\")}this._fillMaxThreshold(a,o);this._fillMinThreshold(a,o);this._fillThresholdArea(a,o);this._renderThresholdLine(a,o.minThreshold,o);this._renderThresholdLine(a,o.maxThreshold,o);this._fillInnerThresholdArea(a,o);this._renderThresholdLine(a,o.innerMinThreshold,o);this._renderThresholdLine(a,o.innerMaxThreshold,o);this._renderTarget(a,o);this._renderChart(a,o);this._renderLines(a,o)};C.prototype._drawDashedLine=function(e,t,i,r,s){var a=s.length;this.moveTo(e,t);var o=i-e,n=r-t,l=o?n/o:1e15,h=Math.sqrt(o*o+n*n),u=0,d=true;while(h>=.1){var p=s[u++%a];if(p>h){p=h}var g=Math.sqrt(p*p/(1+l*l));if(o<0){g=-g}e+=g;t+=l*g;this[d?\"lineTo\":\"moveTo\"](e,t);h-=p;d=!d}};C.prototype._calculateDimensions=function(e,t){var i,r,a,o;function n(){if(!this._isMinXValue||!this._isMaxXValue||!this._isMinYValue||!this._isMaxYValue){var e=this.getLines();if(this.getMaxThreshold()){e.push(this.getMaxThreshold())}if(this.getMinThreshold()){e.push(this.getMinThreshold())}if(this.getChart()){e.push(this.getChart())}if(this.getTarget()){e.push(this.getTarget())}if(this.getInnerMaxThreshold()){e.push(this.getInnerMaxThreshold())}if(this.getInnerMinThreshold()){e.push(this.getInnerMinThreshold())}for(var t=0,s=e.length;ti||i===undefined){i=u}if(ur||r===undefined){r=d}if(d0){h=e/u}else if(u==0){h=0;l.maxX/=2}else{s.warning(\"Min X is greater than max X.\")}var p;var g=r-o;if(g>0){p=t/(r-o)}else if(g==0){p=0;l.maxY/=2}else{s.warning(\"Min Y is greater than max Y.\")}function f(e){var t=d.getRTL();var i=function(e){var i=h*(e-a);if(t){i=l.maxX-i}return i};var r=function(e){return l.maxY-p*(e-o)};var n=[];if(e&&h!==undefined&&p!==undefined){var u=e.getPoints();var g=u.length;var f,c,_,C;if(g==1){_=u[0].getXValue();C=u[0].getYValue();if(_==undefined^C==undefined){var T,M;if(_==undefined){M=c=r(C);f=l.minX;T=l.maxX}else{T=f=i(_);c=l.minY;M=l.maxY}n.push({x:f,y:c},{x:T,y:M})}else{s.warning(\"Point with coordinates [\"+_+\" \"+C+\"] ignored\")}}else{for(var m=0;m0){t+=\"\\n\"+this._oRb.getText(\"AREAMICROCHART_ACTUAL_VALUES\")+\":\";var u=l.getPoints();for(var d=0;d0){t+=\"\\n\"+this._oRb.getText(\"AREAMICROCHART_TARGET_VALUES\")+\":\";var p=h.getPoints();for(var g=0;g0){o+=(e?\"\":\"\\n\")+(r.getTitle()?r.getTitle():this._oRb.getText(\"AREAMICROCHART_LINE\",[i+1]))+\":\";var n=r.getPoints();for(var l=0;l0||!!this.getChart()};C.prototype.firePress=function(){if(this._hasData()){t.prototype.fireEvent.call(this,\"press\",arguments)}};C.prototype._renderShadows=function(e,t){var i=e.textShadow.split(/,(?![^(]*\\))/);var r=i.map(e=>e.trim().replace(/;$/,\"\"));r.forEach(e=>{var i=e.match(/(rgb\\([^)]+\\))\\s+(-?\\d+px)\\s+(-?\\d+px)\\s+(-?\\d+px)/);if(i){var r=i[1];var a=parseInt(i[2]);var o=parseInt(i[3]);s(t,a,o,r)}});function s(e,t,i,r){e.shadowOffsetX=t;e.shadowOffsetY=i;e.shadowBlur=0;e.shadowColor=r}};r.extendMicroChart(C);return C});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/AreaMicroChartItem\", [\"./library\",\"sap/ui/core/Element\",\"./AreaMicroChartPoint\",\"sap/suite/ui/microchart/MicroChartUtils\"],function(t,r,i,e){\"use strict\";const a=t.MicroChartColorType;var o=r.extend(\"sap.suite.ui.microchart.AreaMicroChartItem\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{color:{group:\"Misc\",type:\"string\",defaultValue:a.Neutral},title:{type:\"string\",group:\"Misc\",defaultValue:null}},defaultAggregation:\"points\",aggregations:{points:{multiple:true,type:\"sap.suite.ui.microchart.AreaMicroChartPoint\",defaultClass:i,bindable:\"bindable\"}}}});o.prototype.init=function(){this.setAggregation(\"tooltip\",\"((AltText))\",true)};e.extendMicroChartSetColor(o);return o});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/AreaMicroChartLabel\", [\"./library\",\"sap/ui/core/Element\",\"sap/suite/ui/microchart/MicroChartUtils\"],function(r,t,e){\"use strict\";const a=r.MicroChartColorType;var i=t.extend(\"sap.suite.ui.microchart.AreaMicroChartLabel\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{color:{group:\"Misc\",type:\"string\",defaultValue:a.Neutral},label:{type:\"string\",group:\"Misc\",defaultValue:\"\"}}}});e.extendMicroChartSetColor(i);return i});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/AreaMicroChartPoint\", [\"./library\",\"sap/ui/core/Element\"],function(t,e){\"use strict\";var i=e.extend(\"sap.suite.ui.microchart.AreaMicroChartPoint\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{x:{type:\"float\",group:\"Misc\",defaultValue:null},y:{type:\"float\",group:\"Misc\",defaultValue:null}}}});i.prototype.setX=function(t,e){this._isXValue=this._isNumber(t);return this.setProperty(\"x\",this._isXValue?t:NaN,e)};i.prototype.setY=function(t,e){this._isYValue=this._isNumber(t);return this.setProperty(\"y\",this._isYValue?t:NaN,e)};i.prototype.getXValue=function(){return this._isXValue?this.getX():undefined};i.prototype.getYValue=function(){return this._isYValue?this.getY():undefined};i.prototype._isNumber=function(t){return typeof t==\"number\"&&!isNaN(t)&&isFinite(t)};i.prototype.clone=function(t,i,r){var u=e.prototype.clone.apply(this,arguments);u._isXValue=this._isXValue;u._isYValue=this._isYValue;return u};return i});\n/*!\n* SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n*/\nsap.ui.predefine(\"sap/suite/ui/microchart/AreaMicroChartRenderer\", [\"./library\",\"sap/suite/ui/microchart/MicroChartRenderUtils\"],function(e,t){\"use strict\";var i=e.AreaMicroChartViewType;var a={apiVersion:2};a.render=function(e,t){if(!t._bThemeApplied){return}if(t._hasData()){var a=t.getView()===i.Wide;var s=t.getShowLabel();var l=s&&(!a&&(t.getFirstYLabel()||t.getLastYLabel())||t.getMaxLabel());var r=s&&(!a&&(t.getFirstXLabel()||t.getLastXLabel())||t.getMinLabel());var o=s&&a&&(t.getFirstYLabel()||t.getFirstXLabel());var n=s&&a&&(t.getLastYLabel()||t.getLastXLabel());e.openStart(\"div\",t);this._writeMainProperties(e,t);if(a){e.class(\"sapSuiteAMCWideMode\")}e.openEnd();e.openStart(\"div\");e.class(\"sapSuiteAMCVerticalAlignmentContainer\");e.openEnd();if(l){e.openStart(\"div\",t.getId()+\"-top-labels\");e.class(\"sapSuiteAMCLabels\");e.class(\"sapSuiteAMCPositionTop\");e.openEnd();if(!a){this._writeLabel(e,t,t.getFirstYLabel(),\"-top-left-lbl\",\"sapSuiteAMCPositionLeft\")}this._writeLabel(e,t,t.getMaxLabel(),\"-top-center-lbl\",\"sapSuiteAMCPositionCenter\");if(!a){this._writeLabel(e,t,t.getLastYLabel(),\"-top-right-lbl\",\"sapSuiteAMCPositionRight\")}e.close(\"div\")}if(a){e.openStart(\"div\");e.class(\"sapSuiteAMCHorizontalContainer\");e.openEnd()}if(o){e.openStart(\"div\",t.getId()+\"-left-labels\");e.class(\"sapSuiteAMCSideLabels\");e.class(\"sapSuiteAMCPositionLeft\");e.openEnd();this._writeLabel(e,t,t.getFirstYLabel(),\"-top-left-lbl\",\"sapSuiteAMCPositionLeft\");this._writeLabel(e,t,t.getFirstXLabel(),\"-btm-left-lbl\",\"sapSuiteAMCPositionLeft\",true);e.close(\"div\")}e.openStart(\"div\",t.getId()+\"-canvas-cont\");e.class(\"sapSuiteAMCCanvasContainer\");e.openEnd();e.openStart(\"canvas\",t.getId()+\"-canvas\");e.class(\"sapSuiteAMCCanvas\");e.openEnd();e.close(\"canvas\");e.close(\"div\");if(n){e.openStart(\"div\",t.getId()+\"-right-labels\");e.class(\"sapSuiteAMCSideLabels\");e.class(\"sapSuiteAMCPositionRight\");e.openEnd();this._writeLabel(e,t,t.getLastYLabel(),\"-top-right-lbl\",\"sapSuiteAMCPositionRight\");this._writeLabel(e,t,t.getLastXLabel(),\"-btm-right-lbl\",\"sapSuiteAMCPositionRight\",true);e.close(\"div\")}if(a){e.close(\"div\")}if(r){e.openStart(\"div\",t.getId()+\"-bottom-labels\");e.class(\"sapSuiteAMCLabels\");e.class(\"sapSuiteAMCPositionBtm\");e.openEnd();if(!a){this._writeLabel(e,t,t.getFirstXLabel(),\"-btm-left-lbl\",\"sapSuiteAMCPositionLeft\",true)}this._writeLabel(e,t,t.getMinLabel(),\"-btm-center-lbl\",\"sapSuiteAMCPositionCenter\",true);if(!a){this._writeLabel(e,t,t.getLastXLabel(),\"-btm-right-lbl\",\"sapSuiteAMCPositionRight\",true)}e.close(\"div\")}e.openStart(\"div\",t.getId()+\"-css-helper\");e.style(\"display\",\"none\");e.openEnd();e.close(\"div\");e.close(\"div\");e.close(\"div\")}else{this._renderNoData(e,t)}};a._writeMainProperties=function(e,t){var i=t.hasListeners(\"press\");this._renderActiveProperties(e,t);var a=t.getTooltip_AsString(i);e.attr(\"role\",\"figure\");if(t.getAriaLabelledBy().length){e.accessibilityState(t)}else{e.attr(\"aria-label\",a)}e.class(\"sapSuiteAMC\");e.class(\"sapSuiteAMCSize\"+t.getSize());e.style(\"width\",t.getWidth());e.style(\"height\",t.getHeight())};a._writeLabel=function(e,t,i,a,s,l){if(!i){return}var r=i?i.getLabel():\"\";e.openStart(\"div\",t.getId()+a);if(l){e.class(\"sapSuiteAMCTextColor\")}else{e.class(\"sapSuiteAMCSemanticColor\"+i.getColor())}e.class(\"sapSuiteAMCLbl\");e.class(s);e.openEnd();e.text(r);e.close(\"div\")};t.extendMicroChartRenderer(a);return a},true);\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/BulletMicroChart\", [\"./library\",\"sap/base/i18n/Localization\",\"sap/m/library\",\"sap/ui/core/Control\",\"sap/m/FlexBox\",\"sap/ui/core/ResizeHandler\",\"sap/ui/events/KeyCodes\",\"sap/suite/ui/microchart/MicroChartUtils\",\"./BulletMicroChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\",\"./BulletMicroChartData\"],function(e,t,a,i,s,r,l,o,u,n,h,p){\"use strict\";var f=a.Size;var c=i.extend(\"sap.suite.ui.microchart.BulletMicroChart\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{size:{type:\"sap.m.Size\",group:\"Misc\",defaultValue:f.Auto},mode:{type:\"sap.suite.ui.microchart.BulletMicroChartModeType\",group:\"Misc\",defaultValue:\"Actual\"},scale:{type:\"string\",group:\"Misc\",defaultValue:\"\"},forecastValue:{type:\"float\",group:\"Misc\",defaultValue:null},targetValue:{type:\"float\",group:\"Misc\",defaultValue:null},minValue:{type:\"float\",group:\"Misc\",defaultValue:null},maxValue:{type:\"float\",group:\"Misc\",defaultValue:null},showActualValue:{type:\"boolean\",group:\"Misc\",defaultValue:true},showDeltaValue:{type:\"boolean\",group:\"Misc\",defaultValue:true},showActualValueInDeltaMode:{type:\"boolean\",group:\"Misc\",defaultValue:false},showTargetValue:{type:\"boolean\",group:\"Misc\",defaultValue:true},showValueMarker:{type:\"boolean\",group:\"Misc\",defaultValue:false},showThresholds:{type:\"boolean\",group:\"Misc\",defaultValue:true},actualValueLabel:{type:\"string\",group:\"Misc\",defaultValue:\"\"},deltaValueLabel:{type:\"string\",group:\"Misc\",defaultValue:\"\"},targetValueLabel:{type:\"string\",group:\"Misc\",defaultValue:\"\"},width:{type:\"sap.ui.core.CSSSize\",group:\"Misc\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Misc\"},scaleColor:{type:\"sap.suite.ui.microchart.CommonBackgroundType\",group:\"Misc\",defaultValue:\"MediumLight\"},isResponsive:{type:\"boolean\",group:\"Appearance\",defaultValue:false},hideOnNoData:{type:\"boolean\",group:\"Appearance\",defaultValue:false},smallRangeAllowed:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},defaultAggregation:\"actual\",aggregations:{actual:{type:\"sap.suite.ui.microchart.BulletMicroChartData\",defaultClass:p,multiple:false,bindable:\"bindable\"},thresholds:{type:\"sap.suite.ui.microchart.BulletMicroChartData\",defaultClass:p,multiple:true,singularName:\"threshold\",bindable:\"bindable\"}},events:{press:{}}},renderer:u});c.THRESHOLD_SMALL_LABEL=3.5;c.THRESHOLD_BIG_LABEL=4.5;c.THRESHOLD_SMALL_LOOK=3.5;c.THRESHOLD_EXTRASMALL_LOOK=1.3125;c.THRESHOLD_THRESHOLDS=6;c.prototype.init=function(){this._oRb=n.getLibraryResourceBundle(\"sap.suite.ui.microchart\");this.setAggregation(\"tooltip\",\"((AltText))\",true);this._bThemeApplied=false;n.ready(this._handleCoreInitialized.bind(this))};c.prototype._handleCoreInitialized=function(){h.attachApplied(this._handleThemeApplied.bind(this))};c.prototype._handleThemeApplied=function(){this._bThemeApplied=true;this.invalidate();h.detachApplied(this._handleThemeApplied.bind(this))};c.prototype._calculateChartData=function(){var t=100,a=this.getThresholds(),i=[],s=this.getTargetValue(),r=this.getForecastValue(),l=this.getActual()&&this.getActual().getValue()?this.getActual().getValue():0,o=[],u=0,n=0,h=0,p;if(this.getActual()&&this.getActual()._isValueSet){o.push(l)}if(this._isForecastValueSet){o.push(r)}if(this._isTargetValueSet){o.push(s)}if(this._isMinValueSet){o.push(this.getMinValue())}if(this._isMaxValueSet){o.push(this.getMaxValue())}for(p=0;p0){u=n=o[0];for(p=0;pn){n=o[p]}}if(this.getSmallRangeAllowed()==false){n=n<0&&n<3*(u-n)?0:n;u=u>0&&u>3*(n-u)?0:u}h=n-u;for(p=0;p=this.convertRemToPixels(c.THRESHOLD_SMALL_LABEL)&&t<=this.convertRemToPixels(c.THRESHOLD_BIG_LABEL)){e.addClass(\"sapSuiteBMCSmallFont\")}if(tt){e.css(s,\"0\")}else{var l=a-.5*r;if(l<0){l=0}if(l+r>t){l=t-r}e.css(s,l)}};c.prototype._adjustValueToMarker=function(){var e=this.$(\"bc-bar-value\");var a=this.$(\"bc-bar-value-marker\");var i=this.$().find(\".sapSuiteBMCVerticalAlignmentContainer\");if(e.offset()&&a.offset()){var s=e.width();var r=e.offset().left;var l=a.width();var o=a.offset().left;if(t.getRTL()){if(or+s){a.css(\"right\",\"\");a.offset({left:r+s-l})}}else{if(or+s){e.width((o+l-r)/i.width()*100+\"%\")}}}};c.prototype._getLocalizedColorMeaning=function(e){return this._oRb.getText((\"SEMANTIC_COLOR_\"+e).toUpperCase())};c.prototype._getAltHeaderText=function(t){var a=this._oRb.getText(\"BULLETMICROCHART\");if(t){a+=\" \"+this._oRb.getText(\"IS_ACTIVE\")}if(!this._hasData()){a+=\"\\n\"+this._oRb.getText(\"NO_DATA\");return a}var i=this.getActual()&&this.getActual()._isValueSet;var s=this.getScale();var r=this.getTargetValueLabel();var l=!this.getActual()||!this.getActual().getColor()?\"\":this._getLocalizedColorMeaning(this.getActual().getColor());if(i){var o=this.getActualValueLabel();var u=o?o:\"\"+this.getActual().getValue();a+=\"\\n\"+this._oRb.getText(\"BULLETMICROCHART_ACTUAL_TOOLTIP\",[u+s,l])}if(this.getMode()===e.BulletMicroChartModeType.Delta){if(this._isTargetValueSet&&i){var n=this.getDeltaValueLabel();var h=n?n:\"\"+this._calculateDeltaValue();a+=\"\\n\"+this._oRb.getText(\"BULLETMICROCHART_DELTA_TOOLTIP\",[h+s,l])}}else if(this._isForecastValueSet){a+=this._isForecastValueSet?\"\\n\"+this._oRb.getText(\"BULLETMICROCHART_FORECAST_TOOLTIP\",[this.getForecastValue()+s,l]):\"\"}if(this._isTargetValueSet){var p=r?r:\"\"+this.getTargetValue();a+=\"\\n\"+this._oRb.getText(\"BULLETMICROCHART_TARGET_TOOLTIP\",[p+s])}return a};c.prototype._getAltSubText=function(e){var t=\"\";var a=this.getThresholds().sort(function(e,t){return e.getValue()-t.getValue()});for(var i=0;i0&&r){t.find(\".sapSuiteClMCBar\").show();while(r.scrollWidth>r.offsetWidth){l[--n].$().hide();a.warning(this.toString()+\" Chart overflow\",\"Column \"+n+\" was not rendered\")}}};c.prototype._calcColumns=function(){var t=this.getColumns();if(t&&t.length===this._aBars.length){var e=parseFloat(this.$().css(\"height\"));if(e!==this._fChartHeight){this._fChartHeight=e;this._calcColumnsHeight(e,this._aBars)}for(var i=0;il.getValue()){s=l.getValue()}}if(a===0&&s===0){for(var n=0;n=0){if(o===a){f=h-o}}else if(o===s){p=h+o}}}if(f){a+=f;s-=f}if(p){a-=p;s+=p}var c=0-h;for(var g=0;g=0){d=Math.max(d+f-p,h)}else{d=Math.min(d+f-p,c)}e[g].value=d}function b(t){return(t/u*100).toFixed(2)+\"%\"}var m=b(a);for(var n=0;n1){if(e===-1){i.eq(i.length-2).get(0).focus()}else{i.eq(e-1>=0?e-1:i.length-1).get(0).focus()}t.preventDefault();t.stopPropagation()}break;case s.ARROW_DOWN:case s.ARROW_RIGHT:i=this.$().find(\":focusable\");e=i.index(t.target);if(i.length>0){i.eq(e+10};c.prototype.firePress=function(){if(this._hasData()){e.prototype.fireEvent.call(this,\"press\",arguments)}};o.extendMicroChart(c);return c});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/ColumnMicroChartData\", [\"./library\",\"sap/ui/core/Element\",\"sap/suite/ui/microchart/MicroChartUtils\"],function(t,e,r){\"use strict\";const a=t.MicroChartColorType;var i=e.extend(\"sap.suite.ui.microchart.ColumnMicroChartData\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{color:{group:\"Misc\",type:\"string\",defaultValue:a.Neutral},label:{type:\"string\",group:\"Misc\",defaultValue:\"\"},displayValue:{type:\"string\",group:\"Appearance\"},value:{type:\"float\",group:\"Misc\"}},events:{press:{}}}});i.prototype.init=function(){this.setAggregation(\"tooltip\",\"((AltText))\",true)};i.prototype.attachEvent=function(t,r,a,i){e.prototype.attachEvent.call(this,t,r,a,i);if(this.getParent()&&t===\"press\"){this.getParent().setBarPressable(this,true)}return this};i.prototype.detachEvent=function(t,r,a){e.prototype.detachEvent.call(this,t,r,a);if(this.getParent()&&t===\"press\"){this.getParent().setBarPressable(this,false)}return this};r.extendMicroChartSetColor(i);return i});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/ColumnMicroChartLabel\", [\"./library\",\"sap/ui/core/Element\",\"sap/suite/ui/microchart/MicroChartUtils\"],function(r,t,e){\"use strict\";const i=r.MicroChartColorType;var a=t.extend(\"sap.suite.ui.microchart.ColumnMicroChartLabel\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{color:{group:\"Misc\",type:\"string\",defaultValue:i.Neutral},label:{type:\"string\",group:\"Misc\",defaultValue:\"\"}}}});e.extendMicroChartSetColor(a);return a});\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/ColumnMicroChartRenderer\", [\"./library\",\"sap/suite/ui/microchart/MicroChartRenderUtils\",\"sap/ui/core/theming/Parameters\",\"sap/m/library\",\"sap/ui/thirdparty/jquery\"],function(e,t,a,i,jQuery){\"use strict\";var l=i.ValueCSSColor;var s=\"sapUiChartNeutral\";const o=e.MicroChartColorType;var r={apiVersion:2};r.render=function(e,t){if(!t._bThemeApplied){return}var a=t.getAllowColumnLabels();var i=t.getColumns().some(function(e){return e.getLabel()});if(t._hasData()){e.openStart(\"div\",t);this._writeMainProperties(e,t);if(a){e.class(\"sapSuiteClMCColumnLabels\")}if(!i){e.class(\"sapSuiteClMCNoBottomColumnLabels\")}e.openEnd();var l=t.getLeftTopLabel()&&t.getLeftTopLabel().getLabel()!==\"\"&&t.getShowTopLabels();var o=t.getRightTopLabel()&&t.getRightTopLabel().getLabel()!==\"\"&&t.getShowTopLabels();var r=t.getLeftBottomLabel()&&t.getLeftBottomLabel().getLabel()!==\"\"&&t.getShowBottomLabels();var n=t.getRightBottomLabel()&&t.getRightBottomLabel().getLabel()!==\"\"&&t.getShowBottomLabels();e.openStart(\"div\");e.class(\"sapSuiteClMCVerticalAlignmentContainer\");e.openEnd();if(l||o){e.openStart(\"div\",t.getId()+\"-top-lbls\");e.class(\"sapSuiteClMCLabels\");e.class(\"sapSuiteClMCPositionTop\");e.openEnd();var C=l^o;if(l){this._writeEdgeLabel(e,t,t.getLeftTopLabel(),\"-left-top-lbl\",\"sapSuiteClMCPositionLeft\",C)}if(o){this._writeEdgeLabel(e,t,t.getRightTopLabel(),\"-right-top-lbl\",\"sapSuiteClMCPositionRight\",C)}e.close(\"div\")}var p=t.getColumns();var u=p.length;var b,d;var g,c,L;if(a){for(L=0;L=0){b=true}else if(c&&c<0){d=true}if(b&&d){break}}}if(a&&b){e.openStart(\"div\");e.class(\"sapSuiteClMCColumnLabelDivider\");e.openEnd();e.close(\"div\")}e.openStart(\"div\",t.getId()+\"-bars\");e.class(\"sapSuiteClMCBars\");e.openEnd();for(L=0;L=0){this._writeColumnValueLabel(e,g,\"sapSuiteClMCLabelColumnTop\")}e.openStart(\"div\");e.class(\"sapSuiteClMCInnerBar\");this._setHexColor(e,g.getColor(),s,\"background-color\");e.openEnd();e.close(\"div\");if(a&&Number.isFinite(Number(c))&&c<0){this._writeColumnValueLabel(e,g,\"sapSuiteClMCLabelColumnBottom\")}e.close(\"div\")}e.close(\"div\");if(a&&d){e.openStart(\"div\");e.class(\"sapSuiteClMCColumnLabelDivider\");e.openEnd();e.close(\"div\")}if(r||n){e.openStart(\"div\",t.getId()+\"-btm-lbls\");e.class(\"sapSuiteClMCLabels\");e.class(\"sapSuiteClMCPositionBtm\");e.openEnd();var h=r^n;if(r){this._writeEdgeLabel(e,t,t.getLeftBottomLabel(),\"-left-btm-lbl\",\"sapSuiteClMCPositionLeft\",h)}if(n){this._writeEdgeLabel(e,t,t.getRightBottomLabel(),\"-right-btm-lbl\",\"sapSuiteClMCPositionRight\",h)}e.close(\"div\")}if(a&&i){e.openStart(\"div\");e.class(\"sapSuiteClMCLabels\");e.class(\"sapSuiteClMCBottomColumnLabels\");e.openEnd();p.forEach(function(t){this._writeColumnLabel(e,t)},this);e.close(\"div\")}e.openStart(\"div\",t.getId()+\"-hidden\");e.attr(\"aria-hidden\",\"true\");e.attr(\"tabindex\",\"-1\");e.openEnd();e.close(\"div\");e.close(\"div\");e.close(\"div\")}else{this._renderNoData(e,t)}};r._writeMainProperties=function(e,t){var a=t.hasListeners(\"press\");this._renderActiveProperties(e,t);var i=t.getTooltip_AsString(a);e.attr(\"role\",\"figure\");if(t.getAriaLabelledBy().length){e.accessibilityState(t)}else{e.attr(\"aria-label\",i)}e.class(\"sapSuiteClMC\");e.class(\"sapSuiteClMCSize\"+t.getSize());e.style(\"width\",t.getWidth());e.style(\"height\",t.getHeight())};r._getHexColor=function(e,t){e=l.isValid(e)?e:t;return a.get(e)||e};r._setHexColor=function(e,t,a,i){if(o.hasOwnProperty(t)){e.class(\"sapSuiteClMCSemanticColor\"+t)}else if(i!==\"\"){e.style(i,this._getHexColor(t,a))}};r._writeEdgeLabel=function(e,t,a,i,l,s){e.openStart(\"div\",t.getId()+i);e.class(\"sapSuiteClMCLabel\");e.class(\"sapSuiteClMCEdgeLabel\");e.class(l);if(s){e.class(\"sapSuiteClMCWideBtmLbl\")}e.openEnd();e.text(a.getLabel());e.close(\"div\")};r._writeColumnValueLabel=function(e,t,a){var i=t.getDisplayValue()?t.getDisplayValue():t.getValue();e.openStart(\"div\");e.class(\"sapSuiteClMCLabel\");e.class(\"sapSuiteClMCLabelColumn\");e.class(a);this._setHexColor(e,t.getColor(),s);e.openEnd();e.text(i);e.close(\"div\")};r._writeColumnLabel=function(e,t){var a=t.getLabel();e.openStart(\"div\");e.class(\"sapSuiteClMCLabel\");e.class(\"sapSuiteClMCLabelColumn\");e.class(\"sapSuiteClMCBottomColumnLabel\");e.openEnd();e.text(a);e.close(\"div\")};t.extendMicroChartRenderer(r);return r},true);\n/*!\n * SAPUI5\n * (c) Copyright SAP SE. All rights reserved.\n */\nsap.ui.predefine(\"sap/suite/ui/microchart/ComparisonMicroChart\", [\"sap/ui/thirdparty/jquery\",\"./library\",\"sap/ui/core/Control\",\"sap/ui/Device\",\"sap/m/FlexBox\",\"sap/suite/ui/microchart/MicroChartUtils\",\"sap/m/library\",\"sap/ui/core/ResizeHandler\",\"./ComparisonMicroChartRenderer\",\"sap/ui/core/Core\",\"sap/ui/core/Theming\",\"./ComparisonMicroChartData\",\"sap/m/Menu\",\"sap/m/MenuItem\",\"sap/ui/core/Lib\",\"sap/base/i18n/Localization\"],function(jQuery,e,t,i,a,r,s,o,n,h,p,l,u,d,f,c){\"use strict\";const g=e.MicroChartColorType;var C=e.ComparisonMicroChartViewType;var v=s.Size;var _=[\"zh\",\"zh-hk\",\"zh-cn\",\"zh-sg\",\"zh-sw\"];var m=t.extend(\"sap.suite.ui.microchart.ComparisonMicroChart\",{metadata:{library:\"sap.suite.ui.microchart\",properties:{size:{type:\"sap.m.Size\",group:\"Misc\",defaultValue:\"Auto\"},scale:{type:\"string\",group:\"Misc\",defaultValue:\"\"},minValue:{type:\"float\",group:\"Appearance\",defaultValue:null},maxValue:{type:\"float\",group:\"Appearance\",defaultValue:null},view:{type:\"sap.suite.ui.microchart.ComparisonMicroChartViewType\",group:\"Appearance\",defaultValue:\"Normal\"},colorPalette:{type:\"string[]\",group:\"Appearance\",defaultValue:[]},shrinkable:{type:\"boolean\",group:\"Misc\",defaultValue:false},width:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\"},isResponsive:{type:\"boolean\",group:\"Appearance\",defaultValue:false},hideOnNoData:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},defaultAggregation:\"data\",aggregations:{data:{type:\"sap.suite.ui.microchart.ComparisonMicroChartData\",multiple:true,bindable:\"bindable\",defaultClass:l}},events:{press:{}}},renderer:n});m.THRESHOLD_LOOK_XS=6;m.THRESHOLD_LOOK_S=8 Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/ODataUtils\", [\"sap/base/assert\",\"sap/base/Log\",\"sap/base/i18n/date/CalendarType\",\"sap/base/security/encodeURL\",\"sap/base/util/each\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/_Helper\",\"sap/ui/model/FilterProcessor\",\"sap/ui/model/Sorter\"],function(e,t,r,n,i,a,s,o,u){\"use strict\";let f,l,c,d,m;const g=\"sap.ui.model.odata.ODataUtils\";const p=/^([-+]?)0*(\\d+)(\\.\\d+|)$/;const y=/\\/(Annotations|ServiceNames|ServiceCollection)(\\(|%28)/;const h=/\\.$/;const v=/'$/;const b=/0+$/;function S(){if(!f){f=a.getDateInstance({pattern:\"'datetime'''yyyy-MM-dd'T'HH:mm:ss''\",calendarType:r.Gregorian});l=a.getDateInstance({pattern:\"'datetime'''yyyy-MM-dd'T'HH:mm:ss.SSS''\",calendarType:r.Gregorian});c=a.getDateInstance({pattern:\"'datetimeoffset'''yyyy-MM-dd'T'HH:mm:ss'Z'''\",calendarType:r.Gregorian});d=a.getDateInstance({pattern:\"'datetimeoffset'''yyyy-MM-dd'T'HH:mm:ss.SSS'Z'''\",calendarType:r.Gregorian});m=a.getTimeInstance({pattern:\"'time''PT'HH'H'mm'M'ss'S'''\",calendarType:r.Gregorian})}}var _=function(){};_.createSortParams=function(e){var r;if(!e||e.length==0){return undefined}r=\"$orderby=\";for(var n=0;n_._processSingleFilter(e,t,r)).join(a?\"%20and%20\":\"%20or%20\")+(!n?\")\":\"\")};_._createUrlParamsArray=function(e){var t,r=typeof e,n;if(Array.isArray(e)){return e}t=[];if(r===\"string\"||e instanceof String){if(e){t.push(e)}}else if(r===\"object\"){n=this._encodeURLParameters(e);if(n){t.push(n)}}return t};_._encodeURLParameters=function(e){if(!e){return\"\"}var t=[];i(e,function(e,r){if(typeof r===\"string\"||r instanceof String){r=encodeURIComponent(r)}e=e.startsWith(\"$\")?e:encodeURIComponent(e);t.push(e+\"=\"+r)});return t.join(\"&\")};_.setOrigin=function(e,r){var n,i,a;if(!e||!r||e.indexOf(\";mo\")>0){return e}if(typeof r==\"string\"){n=r}else{n=r.alias;if(!n){i=r.system;a=r.client;if(!i||!a){t.warning(\"ODataUtils.setOrigin: No Client or System ID given for Origin\");return e}n=\"sid(\"+i+\".\"+a+\")\"}}var s=e.split(\"?\");var o=s[0];var u=s[1]?\"?\"+s[1]:\"\";var f=\"\";if(o[o.length-1]===\"/\"){o=o.substring(0,o.length-1);f=\"/\"}var l=/(\\/[^\\/]+)$/g;var c=/(;o=[^\\/;]+)/g;var d=o.match(l)[0];var m=d.match(c);var g=m?m[0]:null;if(g){if(r.force){var p=d.replace(g,\";o=\"+n);o=o.replace(d,p);return o+f+u}return e}o=o+\";o=\"+n+f;return o+u};_.setAnnotationOrigin=function(e,r){var n;var i=e.search(y);var a=r&&r.preOriginBaseUri?r.preOriginBaseUri.indexOf(\".xsodata\"):-1;if(i>=0){if(e.indexOf(\"/$value\",i)===-1){t.warning(\"ODataUtils.setAnnotationOrigin: Annotation url is missing $value segment.\");n=e}else{var s=e.substring(0,i);var o=e.substring(i,e.length);var u=_.setOrigin(s,r);n=u+o}}else if(a>=0){n=_.setOrigin(e,r)}else{n=e.replace(r.preOriginBaseUri,r.postOriginBaseUri)}return n};_._resolveMultiFilter=function(e,t,r){const n=e.aFilters;if(n){return\"(\"+n.map(e=>{let n=\"\";if(e._bMultiFilter){n=_._resolveMultiFilter(e,t,r)}else if(e.sPath){n=_._createFilterSegment(e,t,r)}return n}).join(e.bAnd?\"%20and%20\":\"%20or%20\")+\")\"}return\"\"};_._createFilterSegment=function(e,r,n){let{sPath:i,oValue1:a,oValue2:o}=e;const{sOperator:u,bCaseSensitive:f=true,sFractionalSeconds1:l,sFractionalSeconds2:c}=e;let d;if(n){const e=r._getPropertyMetadata(n,i);if(e){d=e.type;if(d){a=_._formatValue(a,d,f,l);o=o===null||o===undefined?null:_._formatValue(o,d,f,c)}else{t.error(\"Type for property '\"+i+\"' of EntityType '\"+n.name+\"' not found!\",undefined,g)}}else{t.error(\"Property type for property '\"+i+\"' of EntityType '\"+n.name+\"' not found!\",undefined,g)}}if(a){a=s.encodeURL(String(a))}if(o){o=s.encodeURL(String(o))}if(!f&&d===\"Edm.String\"){i=\"toupper(\"+i+\")\"}switch(u){case\"EQ\":case\"NE\":case\"GT\":case\"GE\":case\"LT\":case\"LE\":return i+\"%20\"+u.toLowerCase()+\"%20\"+a;case\"BT\":return\"(\"+i+\"%20ge%20\"+a+\"%20and%20\"+i+\"%20le%20\"+o+\")\";case\"NB\":return\"not%20(\"+i+\"%20ge%20\"+a+\"%20and%20\"+i+\"%20le%20\"+o+\")\";case\"Contains\":return\"substringof(\"+a+\",\"+i+\")\";case\"NotContains\":return\"not%20substringof(\"+a+\",\"+i+\")\";case\"StartsWith\":return\"startswith(\"+i+\",\"+a+\")\";case\"NotStartsWith\":return\"not%20startswith(\"+i+\",\"+a+\")\";case\"EndsWith\":return\"endswith(\"+i+\",\"+a+\")\";case\"NotEndsWith\":return\"not%20endswith(\"+i+\",\"+a+\")\";default:t.error(\"Unknown filter operator '\"+u+\"'\",undefined,g);return\"true\"}};_.formatValue=function(e,t,r){return _._formatValue(e,t,r)};_._formatValue=function(e,t,r,n){var i,a;if(r===undefined){r=true}if(e===null||e===undefined){return\"null\"}S();switch(t){case\"Edm.String\":e=r?e:e.toUpperCase();a=\"'\"+String(e).replace(/'/g,\"''\")+\"'\";break;case\"Edm.Time\":if(typeof e===\"object\"){a=m.format(new Date(e.ms),true)}else{a=\"time'\"+e+\"'\"}break;case\"Edm.DateTime\":i=e instanceof Date?e:new Date(e);if(i.getMilliseconds()>0){a=l.format(i,true);if(n){a=a.replace(v,n+\"'\")}}else{a=f.format(i,true);if(n){a=a.replace(v,\".000\"+n+\"'\")}}break;case\"Edm.DateTimeOffset\":i=e instanceof Date?e:new Date(e);if(i.getMilliseconds()>0){a=d.format(i,true);if(n){a=a.replace(\"Z'\",n+\"Z'\")}}else{a=c.format(i,true);if(n){a=a.replace(\"Z'\",\".000\"+n+\"Z'\")}}break;case\"Edm.Guid\":a=\"guid'\"+e+\"'\";break;case\"Edm.Decimal\":a=e+\"m\";break;case\"Edm.Int64\":a=e+\"l\";break;case\"Edm.Double\":a=e+\"d\";break;case\"Edm.Float\":case\"Edm.Single\":a=e+\"f\";break;case\"Edm.Binary\":a=\"binary'\"+e+\"'\";break;default:a=String(e);break}return a};_.parseValue=function(e){var t=e[0],r=e[e.length-1];S();if(t===\"'\"){return e.slice(1,-1).replace(/''/g,\"'\")}else if(e.startsWith(\"time'\")){return{__edmType:\"Edm.Time\",ms:m.parse(e,true).getTime()}}else if(e.startsWith(\"datetime'\")){return e.includes(\".\")?l.parse(e,true):f.parse(e,true)}else if(e.startsWith(\"datetimeoffset'\")){return e.includes(\".\")?d.parse(e,true):c.parse(e,true)}else if(e.startsWith(\"guid'\")){return e.slice(5,-1)}else if(e===\"null\"){return null}else if(r===\"m\"||r===\"l\"||r===\"d\"||r===\"f\"){return e.slice(0,-1)}else if(!isNaN(t)||t===\"-\"){return parseInt(e)}else if(e===\"true\"||e===\"false\"){return e===\"true\"}else if(e.startsWith(\"binary'\")){return e.slice(7,-1)}throw new Error(\"Cannot parse value '\"+e+\"', no Edm type found\")};function T(e,t){if(e===t){return 0}if(e===null||t===null||e===undefined||t===undefined){return NaN}return e>t?1:-1}function F(e){var t;if(typeof e!==\"string\"){return undefined}t=p.exec(e);if(!t){return undefined}return{sign:t[1]===\"-\"?-1:1,integerLength:t[2].length,abs:t[2]+t[3].replace(b,\"\").replace(h,\"\")}}function M(e,t){var r,n,i;if(e===t){return 0}r=F(e);n=F(t);if(!r||!n){return NaN}if(r.sign!==n.sign){return r.sign>n.sign?1:-1}i=T(r.integerLength,n.integerLength)||T(r.abs,n.abs);return r.sign*i}var D=/^PT(\\d\\d)H(\\d\\d)M(\\d\\d)S$/;function O(e){if(typeof e===\"string\"&&D.test(e)){e=parseInt(RegExp.$1)*36e5+parseInt(RegExp.$2)*6e4+parseInt(RegExp.$3)*1e3}if(e instanceof Date){return e.getTime()}if(e&&e.__edmType===\"Edm.Time\"){return e.ms}return e}_.compare=function(e,t,r){return r?M(e,t):T(O(e),O(t))};_.getComparator=function(e){switch(e){case\"Edm.Date\":case\"Edm.DateTime\":case\"Edm.DateTimeOffset\":case\"Edm.Time\":return _.compare;case\"Edm.Decimal\":case\"Edm.Int64\":return M;default:return T}};var I=/([(=,])('.*?')([,)])/g,U=/[MLDF](?=[,)](?:[^']*'[^']*')*[^']*$)/g,w=/([(=,])(X')/g,R=function(e,t,r,n){return t+encodeURIComponent(decodeURIComponent(r))+n},P=function(e){return e.toLowerCase()},$=function(e,t){return t+\"binary'\"};_._normalizeKey=function(e){return e.replace(I,R).replace(U,P).replace(w,$)};_._mergeIntervals=function(e){if(e.length){return{start:e[0].start,end:e[e.length-1].end}}return undefined};_._getReadIntervals=function(e,t,r,n,i){var a,s,o,u=-1,f=[],l=_._getReadRange(e,t,r,n);if(i===undefined){i=Infinity}s=Math.min(l.start+l.length,i);o=Math.min(s,Math.max(l.start,e.length)+1);for(a=l.start;a=0){f.push({start:u,end:a});u=-1}}else if(u<0){u=a}}if(u>=0){f.push({start:u,end:s})}return f};_._getReadRange=function(e,t,r,n,i){function a(t,r){const n=Math.sign(r-t);for(let a=t;a!==r;a+=n){if(e[a]===undefined||i?.(e[a])){return a}}return-1}const s=Math.ceil(n/2);let o=a(t+r,t+r+s);if(o!==-1){const e=o-(t+r);r+=e+n}o=a(t-1,Math.max(t-1-s,-1));if(o!==-1){const e=t-1-o;const i=e+n;r+=i;t-=i;if(t<0){r+=t;if(isNaN(r)){r=Infinity}t=0}}return{length:r,start:t}};_.removeOriginSegmentParameters=function(e){return e.replaceAll(/(;o=[^\\/;]+|;mo)(?=\\/|;|$)/g,\"\")};return _},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/OperationMode\", function(){\"use strict\";var e={Default:\"Default\",Server:\"Server\",Client:\"Client\",Auto:\"Auto\"};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/UpdateMethod\", function(){\"use strict\";var e={MERGE:\"MERGE\",PUT:\"PUT\",Merge:\"MERGE\",Put:\"PUT\"};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/_AnnotationHelperBasics\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ui/base/BindingParser\",\"sap/ui/performance/Measurement\"],function(e,t,a,n){\"use strict\";var i=\"sap.ui.model.odata.AnnotationHelper\",r=/[\\\\\\{\\}:]/,o,u=/^(\\/dataServices\\/schema\\/\\d+\\/entityContainer\\/\\d+\\/entitySet\\/\\d+)(?:\\/|$)/,d=[i],s=i+\"/followPath\",p=/^(\\/dataServices\\/schema\\/\\d+\\/(?:complex|entity)Type\\/\\d+)(?:\\/|$)/,f={\"Edm.Boolean\":\"sap.ui.model.odata.type.Boolean\",\"Edm.Byte\":\"sap.ui.model.odata.type.Byte\",\"Edm.Date\":\"sap.ui.model.odata.type.Date\",\"Edm.DateTime\":\"sap.ui.model.odata.type.DateTime\",\"Edm.DateTimeOffset\":\"sap.ui.model.odata.type.DateTimeOffset\",\"Edm.Decimal\":\"sap.ui.model.odata.type.Decimal\",\"Edm.Double\":\"sap.ui.model.odata.type.Double\",\"Edm.Float\":\"sap.ui.model.odata.type.Single\",\"Edm.Guid\":\"sap.ui.model.odata.type.Guid\",\"Edm.Int16\":\"sap.ui.model.odata.type.Int16\",\"Edm.Int32\":\"sap.ui.model.odata.type.Int32\",\"Edm.Int64\":\"sap.ui.model.odata.type.Int64\",\"Edm.SByte\":\"sap.ui.model.odata.type.SByte\",\"Edm.Single\":\"sap.ui.model.odata.type.Single\",\"Edm.String\":\"sap.ui.model.odata.type.String\",\"Edm.Stream\":\"sap.ui.model.odata.type.Stream\",\"Edm.Time\":\"sap.ui.model.odata.type.Time\",\"Edm.TimeOfDay\":\"sap.ui.model.odata.type.TimeOfDay\"};o={descend:function(e,a,n){var i=t({},e);o.expectType(e,typeof a===\"number\"?\"array\":\"object\");i.path=e.path+\"/\"+a;i.value=e.value[a];if(n===true){i.asExpression=true}else if(n){o.expectType(i,n)}return i},error:function(t,a,n){a=t.path+\": \"+a;e.error(a,o.toErrorString(t.value),n||i);throw new SyntaxError(a)},expectType:function(e,t){var a,n=e.value;if(t===\"array\"){a=!Array.isArray(n)}else{a=typeof n!==t||n===null||Array.isArray(n)}if(a){o.error(e,\"Expected \"+t)}},followPath:function(e,t){var a,i,r,u,p=e.getModel(),f,l={associationSetEnd:undefined,navigationAfterMultiple:false,isMultiple:false,navigationProperties:[],resolvedPath:undefined},m,y;n.average(s,\"\",d);i=o.getPath(t);r=i!==undefined&&o.getStartingPoint(e,i);if(!r){n.end(s);return undefined}f=i.split(\"/\");if(i){while(f.length&&r){m=f[0];u=m.indexOf(\"@\");if(u===0){r+=\"/\"+m.slice(1);f.shift();continue}y=p.getObject(r);a=p.getODataAssociationEnd(y,m);if(a){l.associationSetEnd=p.getODataAssociationSetEnd(y,m);l.navigationProperties.push(m);if(l.isMultiple){l.navigationAfterMultiple=true}l.isMultiple=a.multiplicity===\"*\";r=p.getODataEntityType(a.type,true);f.shift();continue}r=p.getODataProperty(y,f,true)}}l.resolvedPath=r;n.end(s);return l},getPath:function(e){if(e){if(e.hasOwnProperty(\"AnnotationPath\")){return e.AnnotationPath}if(e.hasOwnProperty(\"Path\")){return e.Path}if(e.hasOwnProperty(\"PropertyPath\")){return e.PropertyPath}if(e.hasOwnProperty(\"NavigationPropertyPath\")){return e.NavigationPropertyPath}}return undefined},getStartingPoint:function(e,t){var a,n=p.exec(e.getPath()),i;if(n){return n[1]}n=u.exec(e.getPath());if(n){if(!t){return n[1]}i=e.getModel();a=i.getObject(n[1]);return i.getODataEntityType(a.entityType,true)}return undefined},property:function(e,t,a){return o.descend(e,t,a).value},resultToString:function(e,t,n,i){var u=e.value;function d(t){var a,n,i=e.parameters&&o.toJSON(e.parameters),d=i&&i!==\"{}\",s,p=f[e.type];t=t&&!e.ignoreTypeInPath&&p;if(t||r.test(u)||d){s=\"{path:\"+o.toJSON(u);if(t){s+=\",type:'\"+p+\"'\";a=o.toJSON(e.constraints);if(a&&a!==\"{}\"){s+=\",constraints:\"+a}n=e.formatOptions&&o.toJSON(e.formatOptions);if(n&&n!==\"{}\"){s+=\",formatOptions:\"+n}}if(d){s+=\",parameters:\"+i}return s+\"}\"}return\"{\"+u+\"}\"}function s(e){switch(e.type){case\"Edm.Boolean\":case\"Edm.Double\":case\"Edm.Int32\":return String(e.value);default:return o.toJSON(e.value)}}switch(e.result){case\"binding\":if(t){return(i?\"%\":\"$\")+d(n)}return d(n);case\"composite\":if(t){throw new Error(\"Trying to embed a composite binding into an expression binding\")}return u;case\"constant\":if(e.type===\"edm:Null\"){if(e.value===undefined){return t?\"undefined\":undefined}return t?\"null\":null}if(t){return s(e)}return typeof u===\"string\"?a.complexParser.escape(u):String(u);case\"expression\":return t?u:\"{=\"+u+\"}\";default:return undefined}},toErrorString:function(e){var t;if(typeof e!==\"function\"){try{t=o.toJSON(e);if(t!==undefined&&t!==\"null\"){return t}}catch(e){}}return String(e)},toJSON:function(e){var t,a=false,n=\"\",i,r;t=JSON.stringify(e);if(t===undefined){return undefined}for(i=0;i[^\\\\\\{\\}:]+\\}$/,S=/^\\d+$/,h={And:\"&&\",Eq:\"===\",Ge:\">=\",Gt:\">\",Le:\"<=\",Lt:\"<\",Ne:\"!==\",Not:\"!\",Or:\"||\"},O=/^(\\/dataServices\\/schema\\/\\d+)(?:\\/|$)/,b={\"Edm.Boolean\":\"boolean\",\"Edm.Byte\":\"number\",\"Edm.Date\":\"date\",\"Edm.DateTime\":\"datetime\",\"Edm.DateTimeOffset\":\"datetime\",\"Edm.Decimal\":\"decimal\",\"Edm.Double\":\"number\",\"Edm.Float\":\"number\",\"Edm.Guid\":\"string\",\"Edm.Int16\":\"number\",\"Edm.Int32\":\"number\",\"Edm.Int64\":\"decimal\",\"Edm.SByte\":\"number\",\"Edm.Single\":\"number\",\"Edm.String\":\"string\",\"Edm.Time\":\"time\",\"Edm.TimeOfDay\":\"time\"},P={Bool:\"Edm.Boolean\",Float:\"Edm.Double\",Date:\"Edm.Date\",DateTimeOffset:\"Edm.DateTimeOffset\",Decimal:\"Edm.Decimal\",Guid:\"Edm.Guid\",Int:\"Edm.Int64\",String:\"Edm.String\",TimeOfDay:\"Edm.TimeOfDay\"},w={boolean:false,date:true,datetime:true,decimal:true,number:false,string:false,time:true};D={_setDateTimeFormatter:function(){l=i.getDateInstance({calendarType:r.Gregorian,pattern:\"yyyy-MM-dd\",strictParsing:true,UTC:true});p=i.getDateTimeInstance({calendarType:r.Gregorian,pattern:\"yyyy-MM-dd'T'HH:mm:ss.SSSXXX\",strictParsing:true});E=i.getTimeInstance({calendarType:r.Gregorian,pattern:\"HH:mm:ss.SSS\",strictParsing:true,UTC:true})},adjustOperands:function(e,t){if(e.result!==\"constant\"&&e.category===\"number\"&&t.result===\"constant\"&&t.type===\"Edm.Int64\"){t.category=\"number\"}if(e.result!==\"constant\"&&e.category===\"decimal\"&&t.result===\"constant\"&&t.type===\"Edm.Int32\"){t.category=\"decimal\";t.type=e.type}if(e.result===\"constant\"&&e.category===\"date\"&&t.result!==\"constant\"&&t.category===\"datetime\"){t.category=\"date\"}},apply:function(t,r){var a=e.descend(r,\"Name\",\"string\"),n=e.descend(r,\"Parameters\");switch(a.value){case\"odata.concat\":return D.concat(t,n);case\"odata.fillUriTemplate\":return D.fillUriTemplate(t,n);case\"odata.uriEncode\":return D.uriEncode(t,n);default:e.error(a,\"unknown function: \"+a.value);return undefined}},concat:function(t,r){var a=r.asExpression,n=[],i,s=[];e.expectType(r,\"array\");r.value.forEach(function(e,n){i=D.parameter(t,r,n);a=a||i.result===\"expression\";s.push(i)});s.forEach(function(t){if(a){D.wrapExpression(t)}if(t.type!==\"edm:Null\"){n.push(e.resultToString(t,a,r.withType))}});i=a?{result:\"expression\",value:n.join(\"+\")}:{result:\"composite\",value:n.join(\"\")};i.type=\"Edm.String\";return i},conditional:function(t,r){var a=D.parameter(t,r,0,\"Edm.Boolean\"),n=D.parameter(t,r,1),i=D.parameter(t,r,2),s=n.type,o=r.withType;if(n.type===\"edm:Null\"){s=i.type}else if(i.type!==\"edm:Null\"&&n.type!==i.type){e.error(r,\"Expected same type for second and third parameter, types are '\"+n.type+\"' and '\"+i.type+\"'\")}return{result:\"expression\",type:s,value:e.resultToString(D.wrapExpression(a),true,false)+\"?\"+e.resultToString(D.wrapExpression(n),true,o)+\":\"+e.resultToString(D.wrapExpression(i),true,o)}},constant:function(t,r,a){var n=r.value;e.expectType(r,\"string\");if(a===\"String\"){if(x.test(n)){return{ignoreTypeInPath:true,result:\"binding\",type:\"Edm.String\",value:n.slice(1,-1)}}else if(t.getSetting&&t.getSetting(\"bindTexts\")){return{result:\"binding\",type:\"Edm.String\",ignoreTypeInPath:true,value:\"/##\"+D.replaceIndexes(t.getModel(),r.path)}}a=\"Edm.String\"}else if(!T[a].test(n)){e.error(r,\"Expected \"+a+\" value but instead saw '\"+n+\"'\")}else{a=P[a];if(a===\"Edm.Int64\"&&s.compare(n,f,true)>=0&&s.compare(n,m,true)<=0){a=\"Edm.Int32\"}}return{result:\"constant\",type:a,value:n}},expression:function(t,r){var a=r.value,n,i;e.expectType(r,\"object\");if(a.hasOwnProperty(\"Type\")){i=e.property(r,\"Type\",\"string\");n=e.descend(r,\"Value\")}else{[\"And\",\"Apply\",\"Bool\",\"Date\",\"DateTimeOffset\",\"Decimal\",\"Float\",\"Eq\",\"Ge\",\"Gt\",\"Guid\",\"If\",\"Int\",\"Le\",\"Lt\",\"Ne\",\"Not\",\"Null\",\"Or\",\"Path\",\"PropertyPath\",\"String\",\"TimeOfDay\"].forEach(function(t){if(a.hasOwnProperty(t)){i=t;n=e.descend(r,t)}})}switch(i){case\"Apply\":return D.apply(t,n);case\"If\":return D.conditional(t,n);case\"Path\":case\"PropertyPath\":return D.path(t,n);case\"Bool\":case\"Date\":case\"DateTimeOffset\":case\"Decimal\":case\"Float\":case\"Guid\":case\"Int\":case\"String\":case\"TimeOfDay\":return D.constant(t,n,i);case\"And\":case\"Eq\":case\"Ge\":case\"Gt\":case\"Le\":case\"Lt\":case\"Ne\":case\"Or\":return D.operator(t,n,i);case\"Not\":return D.not(t,n);case\"Null\":return{result:\"constant\",value:\"null\",type:\"edm:Null\"};default:e.error(r,\"Unsupported OData expression\");return undefined}},formatOperand:function(t,r,a,n){var i;if(a.result===\"constant\"){switch(a.category){case\"boolean\":case\"number\":return a.value;case\"date\":i=D.parseDate(a.value);if(!i){e.error(e.descend(t,r),\"Invalid Date \"+a.value)}return String(i.getTime());case\"datetime\":i=D.parseDateTimeOffset(a.value);if(!i){e.error(e.descend(t,r),\"Invalid DateTime \"+a.value)}return String(i.getTime());case\"time\":return String(D.parseTimeOfDay(a.value).getTime())}}if(n){D.wrapExpression(a)}return e.resultToString(a,true)},getExpression:function(r,i,s){var l;if(i===undefined){return undefined}o.average(y,\"\",g);if(!D.simpleParserWarningLogged&&a.parse===n.simpleParser){t.warning(\"Complex binding syntax not active\",null,u);D.simpleParserWarningLogged=true}try{l=D.expression(r,{asExpression:false,path:r.getPath(),value:i,withType:s});o.end(y);return e.resultToString(l,false,s)}catch(t){o.end(y);if(t instanceof SyntaxError){return\"Unsupported: \"+n.complexParser.escape(e.toErrorString(i))}throw t}},fillUriTemplate:function(t,r){var a,n,i=[],s=\"\",o,u=r.value,l,p=D.parameter(t,r,0,\"Edm.String\");i.push(\"odata.fillUriTemplate(\",e.resultToString(p,true),\",{\");for(a=1;a4){e=e.replace(t[1],t[1].slice(0,4))}return p.parse(e.toUpperCase())},parseTimeOfDay:function(e){if(e.length>12){e=e.slice(0,12)}return E.parse(e)},path:function(r,a){var n=a.value,i={},s,o,l,p=r.getModel(),d={getModel:function(){return p},getPath:function(){return a.path}},c,m={result:\"binding\",value:n},f;e.expectType(a,\"string\");f=e.followPath(d,{Path:n});if(f&&f.resolvedPath){c=p.getProperty(f.resolvedPath);m.type=c.type;switch(c.type){case\"Edm.DateTime\":i.displayFormat=c[\"sap:display-format\"];break;case\"Edm.Decimal\":if(c.precision){i.precision=c.precision}if(c.scale){i.scale=c.scale}l=c[\"Org.OData.Validation.V1.Minimum\"];if(l&&(l.Decimal||l.String)){i.minimum=l.Decimal||l.String;s=l[\"Org.OData.Validation.V1.Exclusive\"];if(s){i.minimumExclusive=s.Bool||\"true\"}}l=c[\"Org.OData.Validation.V1.Maximum\"];if(l&&(l.Decimal||l.String)){i.maximum=l.Decimal||l.String;s=l[\"Org.OData.Validation.V1.Exclusive\"];if(s){i.maximumExclusive=s.Bool||\"true\"}}break;case\"Edm.String\":i.maxLength=c.maxLength;o=c[\"com.sap.vocabularies.Common.v1.IsDigitSequence\"];if(o){i.isDigitSequence=o.Bool||\"true\"}break}if(c.nullable===\"false\"){i.nullable=\"false\"}m.constraints=i}else{t.warning(\"Could not find property '\"+n+\"' starting from '\"+a.path+\"'\",null,u)}return m},replaceIndexes:function(t,r){var a,n=r.split(\"/\"),i,s;function o(r,a){var s=t.getProperty(i+\"/\"+r);if(typeof s===\"string\"){n[a]=\"[${\"+r+\"}===\"+e.toJSON(s)+\"]\";return true}return false}a=O.exec(r);if(!a){return r}i=a[1];if(!o(\"namespace\",3)){return r}for(var u=4;u=0){r=i?e.$path+\"/\"+a+\"/\"+n:e[a][n]}}return r},getObject:function(e,a,t,i){var n,r=i?undefined:null,o,s,l,c;t=t||\"\";s=t.lastIndexOf(\".\");l=t.slice(0,s);c=t.slice(s+1);o=y.getSchema(e,l);if(o){n=o[a];if(n){n.some(function(e){if(e.name===c){r=i?e.$path:e;return true}return false})}}return r},getSchema:function(e,a){var t=null,i=Array.isArray(e)?e:e.getObject(\"/dataServices/schema\");if(i){i.some(function(e){if(e.namespace===a){t=e;return true}return false})}return t},getV4TypesForV2Semantics:function(e,t,i,n){var r=[],o=u[e];if(o){t.split(\",\").forEach(function(e){var t=o.typeMapping[e];if(t){r.push(o.v4EnumType+\"/\"+t)}else if(a.isLoggable(b,l)){a.warning(\"Unsupported type for sap:semantics: \"+e,n.name+\".\"+i.name,l)}})}return r.join(\" \")},getValueLists:function(e){var a,t,i,n={};for(t in e){a=v.exec(t);if(a){i=(a[1]||\"\").slice(1);n[i]=e[t]}}return n},handleCreatableNavigationProperty:function(e,t){var i=t[\"sap:creatable\"],n=t[\"sap:creatable-path\"],r,o={NavigationPropertyPath:t.name},s;if(i&&n){a.warning(\"Inconsistent service\",\"Use either 'sap:creatable' or 'sap:creatable-path' at navigation property \"+\"'\"+e.entityType+\"/\"+t.name+\"'\",l);i=\"false\";n=undefined}if(i===\"false\"||n){r=e[\"Org.OData.Capabilities.V1.InsertRestrictions\"]=e[\"Org.OData.Capabilities.V1.InsertRestrictions\"]||{};s=r[\"NonInsertableNavigationProperties\"]=r[\"NonInsertableNavigationProperties\"]||[];if(n){o={If:[{Not:{Path:n}},o]}}s.push(o)}},handleXableAndXablePath:function(e,t,i,r,o){var s=o.toLowerCase(),c;if(i!==\"EntitySet\"){return}if(e[\"sap:\"+s]&&e[\"sap:\"+s+\"-path\"]){a.warning(\"Inconsistent service\",\"Use either 'sap:\"+s+\"' or 'sap:\"+s+\"-path'\"+\" at entity set '\"+e.name+\"'\",l);c=n}else if(s!==t.name){c={Path:t.value}}else if(t.value===\"false\"){c=n}if(c){e[r]=e[r]||{};e[r][o]=c}},liftSAPData:function(e,a,t){if(!e.extensions){return}e.extensions.forEach(function(i){if(i.namespace===\"http://www.sap.com/Protocols/SAPData\"){e[\"sap:\"+i.name]=i.value;if(!t){y.addV4Annotation(e,i,a)}}});if(t){return}switch(a){case\"Property\":if(e[\"sap:updatable\"]===\"false\"){if(e[\"sap:creatable\"]===\"false\"){e[\"Org.OData.Core.V1.Computed\"]=r}else{e[\"Org.OData.Core.V1.Immutable\"]=r}}break;case\"EntitySet\":if(e[\"sap:searchable\"]!==\"true\"){e[\"Org.OData.Capabilities.V1.SearchRestrictions\"]={Searchable:n}}break;default:}},merge:function(e,a,t,n){var r=a.dataServices.schema;if(!r){return}r.forEach(function(a,t){var r;delete a.annotations;y.liftSAPData(a,undefined,n);a.$path=\"/dataServices/schema/\"+t;r=a[\"sap:schema-version\"];if(r&&!n){a[\"Org.Odata.Core.V1.SchemaVersion\"]={String:r}}i(a,e[a.namespace]);y.visitParents(a,e,\"association\",function(e,a){y.visitChildren(e.end,a)});y.visitParents(a,e,\"complexType\",function(e,a){y.visitChildren(e.property,a,\"Property\",undefined,undefined,undefined,n);if(!n){y.addSapSemantics(e)}});y.visitParents(a,e,\"entityType\",y.visitEntityType,undefined,n)});r.forEach(function(a){y.visitParents(a,e,\"entityContainer\",function(t,i){y.visitChildren(t.associationSet,i);y.visitChildren(t.entitySet,i,\"EntitySet\",r,undefined,undefined,n);y.visitChildren(t.functionImport,i,\"\",null,y.visitParameters.bind(this,e,a,t),undefined,n)})});if(!n){y.addUnitAnnotations(r,t)}},visitChildren:function(e,a,t,n,r,o,s){if(!e){return}if(o){e=e.slice(o)}e.forEach(function(e){y.liftSAPData(e,t,s)});e.forEach(function(e){var o;if(t===\"EntitySet\"&&!s){o=y.getObject(n,\"entityType\",e.entityType);y.calculateEntitySetAnnotations(e,o)}if(r){r(e,s)}i(e,a[e.name||e.role])})},visitEntityType:function(e,a,t){y.visitChildren(e.property,a,\"Property\",undefined,undefined,undefined,t);y.visitChildren(e.navigationProperty,a);if(!t){y.addSapSemantics(e)}},visitParameters:function(e,a,t,n,r){var o;if(!n.parameter){return}o=y.getChildAnnotations(e,a.namespace+\".\"+t.name,true);n.parameter.forEach(function(e){y.liftSAPData(e,undefined,r);i(e,o[n.name+\"/\"+e.name])})},visitParents:function(e,a,t,n,r,o){var s=e[t];function l(r,s){var l=e.namespace+\".\"+r.name,c=y.getChildAnnotations(a,l,t===\"entityContainer\");y.liftSAPData(r,undefined,o);r.namespace=e.namespace;r.$path=e.$path+\"/\"+t+\"/\"+s;n(r,c,o);i(r,a[l])}if(!s){return}if(r!==undefined){l(s[r],r)}else{s.forEach(l)}}};return y});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Boolean\", [\"sap/base/Log\",\"sap/ui/core/Lib\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(e,t,n,o,a,r){\"use strict\";function i(){return u(\"EnterYesOrNo\",[l(true),l(false)])}function u(e,n){return t.getResourceBundleFor(\"sap.ui.core\").getText(e,n)}function l(e){return u(e?\"YES\":\"NO\")}function s(t,n){var o;t.oConstraints=undefined;if(n){o=n.nullable;if(o===false||o===\"false\"){t.oConstraints={nullable:false}}else if(o!==undefined&&o!==true&&o!==\"true\"){e.warning(\"Illegal nullable: \"+o,null,t.getName())}}}var f=r.extend(\"sap.ui.model.odata.type.Boolean\",{constructor:function(e,t){r.apply(this,arguments);s(this,t)}});f.prototype.formatValue=function(e,t){if(e===null||e===undefined){return null}switch(this.getPrimitiveType(t)){case\"any\":case\"boolean\":return e;case\"string\":return l(e);default:throw new n(\"Don't know how to format \"+this.getName()+\" to \"+t)}};f.prototype.parseValue=function(e,t){var n;if(e===null||e===\"\"){return null}switch(this.getPrimitiveType(t)){case\"boolean\":return e;case\"string\":n=e.trim().toLowerCase();if(n===l(true).toLowerCase()){return true}if(n===l(false).toLowerCase()){return false}throw new o(i());default:throw new o(\"Don't know how to parse \"+this.getName()+\" from \"+t)}};f.prototype.validateValue=function(e){if(e===null){if(this.oConstraints&&this.oConstraints.nullable===false){throw new a(i())}return}if(typeof e!==\"boolean\"){throw new a(\"Illegal \"+this.getName()+\" value: \"+e)}};f.prototype.getName=function(){return\"sap.ui.model.odata.type.Boolean\"};return f});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Byte\", [\"sap/ui/model/odata/type/Int\"],function(t){\"use strict\";var e={minimum:0,maximum:255};var n=t.extend(\"sap.ui.model.odata.type.Byte\",{constructor:function(){t.apply(this,arguments)}});n.prototype.getName=function(){return\"sap.ui.model.odata.type.Byte\"};n.prototype.getRange=function(){return e};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Currency\", [\"./UnitMixin\",\"sap/ui/model/type/Currency\"],function(t,e){\"use strict\";var n=e.extend(\"sap.ui.model.odata.type.Currency\",{constructor:function(t,e){this._applyUnitMixin.apply(this,arguments)}});t(n.prototype,e,\"customCurrencies\",\"Currency\");n.prototype.getCustomUnitForKey=function(t,e){return{decimals:t[e].UnitSpecificScale,isoCode:t[e].StandardCode}};n.prototype.getName=function(){return\"sap.ui.model.odata.type.Currency\"};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Date\", [\"sap/base/Log\",\"sap/base/i18n/date/CalendarType\",\"sap/base/util/extend\",\"sap/ui/core/Lib\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(t,e,a,r,n,o,i,s,l,u){\"use strict\";var p=/\\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\\d|3[01])/,f;function c(){if(!f){f=o.getDateInstance({calendarType:e.Gregorian,pattern:\"yyyy-MM-dd\",strictParsing:true,UTC:true})}return f}function g(e,a){var r;e.oConstraints=undefined;if(a){r=a.nullable;if(r===false||r===\"false\"){e.oConstraints={nullable:false}}else if(r!==undefined&&r!==true&&r!==\"true\"){t.warning(\"Illegal nullable: \"+r,null,e.getName())}}}var d=u.extend(\"sap.ui.model.odata.type.Date\",{constructor:function(t,e){u.apply(this,arguments);this.oFormatOptions=t;g(this,e)}});d.prototype._handleLocalizationChange=function(){this.oFormat=null};d.prototype.formatValue=function(t,e){var a;if(t===undefined||t===null){return null}switch(this.getPrimitiveType(e)){case\"any\":return t;case\"object\":return t instanceof Date?n.getInstance(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()):c().parse(t,false);case\"string\":a=t instanceof Date?t:c().parse(t);return a?this.getFormat().format(a):t;default:throw new i(\"Don't know how to format \"+this.getName()+\" to \"+e)}};d.prototype._getErrorMessage=function(){var t=n.getInstance().getFullYear()+\"-12-31\";return r.getResourceBundleFor(\"sap.ui.core\").getText(\"EnterDate\",[this.formatValue(t,\"string\")])};d.prototype.getDateValue=function(t){return t?n.getInstance(t+\"T00:00\"):null};d.prototype.getFormat=function(){if(!this.oFormat){var t=a({strictParsing:true},this.oFormatOptions);t.UTC=true;this.oFormat=o.getDateInstance(t)}return this.oFormat};d.prototype.getISOStringFromModelValue=function(t){return t?t:null};d.prototype.getModelFormat=function(){return c()};d.prototype.getModelValue=function(t){var e;if(t===null){e=null}else{n.checkDate(t);e=n.getInstance(0);e.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate());e=this.getModelFormat().format(e)}this.validateValue(e);return e};d.prototype.getModelValueFromISOString=function(t){return t?t:null};d.prototype.getName=function(){return\"sap.ui.model.odata.type.Date\"};d.prototype.parseValue=function(t,e){var a;if(t===\"\"||t===null){return null}switch(this.getPrimitiveType(e)){case\"object\":return c().format(t,false);case\"string\":a=this.getFormat().parse(t);if(!a){throw new s(this._getErrorMessage())}return c().format(a);default:throw new s(\"Don't know how to parse \"+this.getName()+\" from \"+e)}};d.prototype.validateValue=function(t){if(t===null){if(this.oConstraints&&this.oConstraints.nullable===false){throw new l(this._getErrorMessage())}}else if(typeof t!==\"string\"||!p.test(t)){throw new l(\"Illegal \"+this.getName()+\" value: \"+t)}};d._resetModelFormatter=function(){f=undefined};return d});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/DateTime\", [\"sap/base/Log\",\"sap/ui/core/date/UI5Date\",\"sap/ui/model/odata/type/DateTimeBase\"],function(t,e,a){\"use strict\";function n(e,a){var n={};if(a){switch(a.displayFormat){case\"Date\":n.isDateOnly=true;break;case undefined:break;default:t.warning(\"Illegal displayFormat: \"+a.displayFormat,null,e.getName())}n.nullable=a.nullable}return n}var r=a.extend(\"sap.ui.model.odata.type.DateTime\",{constructor:function(t,e){a.call(this,t,n(this,e))}});r.prototype.getConstraints=function(){var t=a.prototype.getConstraints.call(this);if(t.isDateOnly){t.displayFormat=\"Date\";delete t.isDateOnly}return t};r.prototype.getISOStringFromModelValue=function(t){if(!t){return null}var e=t.toISOString();return this.oConstraints&&this.oConstraints.isDateOnly?e.split(\"T\")[0]:e};r.prototype.getModelValue=function(t){var e=this._getModelValue(t);this.validateValue(e);return e};r.prototype.getModelValueFromISOString=function(t){if(!t){return null}return e.getInstance(t)};r.prototype.getName=function(){return\"sap.ui.model.odata.type.DateTime\"};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/DateTimeBase\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ui/core/Lib\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(t,e,a,n,o,r,s,i,l){\"use strict\";function u(t){return t.oConstraints&&t.oConstraints.isDateOnly}function g(e,a){var n,o;e.oConstraints=undefined;if(a){n=a.nullable;if(n===false||n===\"false\"){e.oConstraints={nullable:false}}else if(n!==undefined&&n!==true&&n!==\"true\"){t.warning(\"Illegal nullable: \"+n,null,e.getName())}if(a.isDateOnly===true){e.oConstraints=e.oConstraints||{};e.oConstraints.isDateOnly=true}o=a.precision;if(o!==undefined){if(o===Math.floor(o)&&o>=1&&o<=12){e.oConstraints=e.oConstraints||{};e.oConstraints.precision=o}else if(o!==0){t.warning(\"Illegal precision: \"+o,null,e.getName())}}}e._handleLocalizationChange()}var h=l.extend(\"sap.ui.model.odata.type.DateTimeBase\",{constructor:function(t,e){l.apply(this,arguments);g(this,e);this.oFormat=null;this.oFormatOptions=t},metadata:{abstract:true}});h.prototype.getDateValue=function(t){var e;if(!t){return null}e=n.getInstance(t);if(u(this)){e.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate());e.setHours(0,0,0,0)}else if(this.oFormatOptions&&this.oFormatOptions.UTC){e.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate());e.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}return e};h.prototype.formatValue=function(t,e){if(t===null||t===undefined){return null}switch(this.getPrimitiveType(e)){case\"any\":return t;case\"object\":if(u(this)){return this.getDateValue(t)}return t;case\"string\":if(!(t instanceof Date)){throw new r(\"Illegal \"+this.getName()+\" value: \"+t)}return this.getFormat().format(t);default:throw new r(\"Don't know how to format \"+this.getName()+\" to \"+e)}};h.prototype.getFormat=function(){if(!this.oFormat){var t=e({strictParsing:true},this.oFormatOptions);if(u(this)){t.UTC=true;this.oFormat=o.getDateInstance(t)}else{this.oFormat=o.getDateTimeInstance(t)}}return this.oFormat};h.prototype._getErrorMessage=function(){var t=n.getInstance().getFullYear(),e=u(this)?new Date(Date.UTC(t,11,31)):n.getInstance(t,11,31,23,59,58),o=u(this)?\"EnterDate\":\"EnterDateTime\",r=a.getResourceBundleFor(\"sap.ui.core\");return r.getText(o,[this.formatValue(e,\"string\")])};h.prototype.parseValue=function(t,e){var a;if(t===null||t===\"\"){return null}switch(this.getPrimitiveType(e)){case\"object\":if(u(this)){return this._getModelValue(t)}return t;case\"string\":a=this.getFormat().parse(t);if(!a){throw new s(this._getErrorMessage())}return a;default:throw new s(\"Don't know how to parse \"+this.getName()+\" from \"+e)}};h.prototype._handleLocalizationChange=function(){this.oFormat=null};h.prototype.validateValue=function(t){if(t===null){if(this.oConstraints&&this.oConstraints.nullable===false){throw new i(this._getErrorMessage())}return}else if(t instanceof Date){if(t.getFullYear()===0){throw new i(this._getErrorMessage())}return}throw new i(\"Illegal \"+this.getName()+\" value: \"+t)};h.prototype._getModelValue=function(t){var e;if(t===null){return null}n.checkDate(t);e=n.getInstance(t);if(u(this)){e.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate());e.setUTCHours(0,0,0,0)}else if(this.oFormatOptions&&this.oFormatOptions.UTC){e.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate());e.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}return e};return h});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/DateTimeOffset\", [\"sap/base/Log\",\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/odata/type/DateTimeBase\"],function(t,e,i,r,o,n){\"use strict\";var a=n.extend(\"sap.ui.model.odata.type.DateTimeOffset\",{constructor:function(e,i){var r;n.call(this,e,{nullable:i?i.nullable:undefined,precision:i?i.precision:undefined});this.rDateTimeOffset=undefined;this.oModelFormat=undefined;this.bV4=false;if(i){r=i.V4;if(r===true){this.bV4=true}else if(r!==undefined&&r!==false){t.warning(\"Illegal V4: \"+r,null,this.getName())}}}});function s(t){var i=\"yyyy-MM-dd'T'HH:mm:ss\",o;if(!t.oModelFormat){o=t.oConstraints&&t.oConstraints.precision;if(o){i+=\".\"+\"\".padEnd(o,\"S\")}t.oModelFormat=r.getDateInstance({calendarType:e.Gregorian,pattern:i+\"XXX\",strictParsing:true,UTC:t.oFormatOptions&&t.oFormatOptions.UTC})}return t.oModelFormat}a.prototype._resetModelFormatter=function(){this.oModelFormat=undefined};a.prototype.formatValue=function(t,e){var r;if(t===undefined||t===null){return null}if(this.getPrimitiveType(e)===\"object\"){if(t instanceof Date){return i.getInstance(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds())}return s(this).parse(t)}if(typeof t===\"string\"&&this.getPrimitiveType(e)===\"string\"){r=s(this).parse(t);if(!r){throw new o(\"Illegal \"+this.getName()+\" value: \"+t)}t=r}return n.prototype.formatValue.call(this,t,e)};a.prototype.getConstraints=function(){var t=n.prototype.getConstraints.call(this);if(this.bV4){t.V4=true}return t};a.prototype.getISOStringFromModelValue=function(t){if(!t){return null}return this.bV4?t:t.toISOString()};a.prototype.getModelFormat=function(){if(this.bV4){return s(this)}return n.prototype.getModelFormat.call(this)};a.prototype.getModelValue=function(t){var e=this._getModelValue(t);if(this.bV4&&e!==null){e=this.getModelFormat().format(e)}this.validateValue(e);return e};a.prototype.getModelValueFromISOString=function(t){if(!t){return null}return this.bV4?this.getModelFormat().format(i.getInstance(t),true):i.getInstance(t)};a.prototype.getName=function(){return\"sap.ui.model.odata.type.DateTimeOffset\"};a.prototype.parseValue=function(t,e){var i=n.prototype.parseValue.call(this,t,e);return this.bV4&&i!==null?s(this).format(i):i};a.prototype.setV4=function(){this.bV4=true;return this};a.prototype.validateValue=function(t){var e;if(this.bV4){if(typeof t===\"string\"){if(!this.rDateTimeOffset){e=this.oConstraints&&this.oConstraints.precision;this.rDateTimeOffset=new RegExp(\"^\"+\"\\\\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\\\\d|3[01])\"+\"T\"+\"(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d\"+(e?\"(\\\\.\\\\d{1,\"+e+\"})?\":\"\")+\")?\"+\"(?:Z|[-+](?:0\\\\d|1[0-3]):[0-5]\\\\d|[-+]14:00)$\",\"i\")}if(this.rDateTimeOffset.test(t)){return}}else if(t){t=t.toString()}}n.prototype.validateValue.call(this,t)};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/DateTimeWithTimezone\", [\"sap/ui/core/Lib\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/_Helper\",\"sap/ui/model/CompositeType\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\"],function(e,t,o,i,n,r,a){\"use strict\";var s=\"For type 'object', at least one of the format options 'showDate' or\"+\" 'showTime' must be enabled\";var h=n.extend(\"sap.ui.model.odata.type.DateTimeWithTimezone\",{constructor:function(e,t){if(t&&Object.keys(t).length){throw new Error(\"Type \"+this.getName()+\" does not support constraints\")}e=Object.assign({},e);n.call(this,e);this.oFormat=null;this.bParseWithValues=true;this.bUseInternalValues=true;this.vEmptyTimezoneValue=null;this.bShowDate=e.showDate===undefined||e.showDate;this.bShowTime=e.showTime===undefined||e.showTime;this.bShowTimezone=e.showTimezone===undefined||e.showTimezone;this.setConstraints=function(){throw new Error(\"Constraints are immutable\")};this.setFormatOptions=function(){throw new Error(\"Format options are immutable\")}}});h.prototype._getErrorMessage=function(){var o=new Date(Date.UTC(t.getInstance().getFullYear(),11,31,23,59,58)),i=!this.bShowDate&&!this.bShowTime?\"EnterDateTimeTimezone\":\"EnterDateTime\";return e.getResourceBundleFor(\"sap.ui.core\").getText(i,[this.formatValue([o,\"America/New_York\"],\"string\")])};h.prototype.formatValue=function(e,t){var o=e&&e[0],i=e&&e[1];if(!e||i===undefined||o===undefined||!o&&!this.bShowTimezone){return null}if(o&&!(o instanceof Date)){throw new r(\"Timestamp value for \"+this.getName()+\" is not an instance of Date: \"+o)}switch(this.getPrimitiveType(t)){case\"object\":if(!this.bShowDate&&!this.bShowTime){throw new r(s)}return o;case\"string\":return this.getFormat().format(o,i);default:throw new r(\"Don't know how to format \"+this.getName()+\" to \"+t)}};h.prototype.getFormat=function(){if(!this.oFormat){var e=i.extend({strictParsing:true},this.oFormatOptions);this.oFormat=o.getDateTimeWithTimezoneInstance(e)}return this.oFormat};h.prototype.getName=function(){return\"sap.ui.model.odata.type.DateTimeWithTimezone\"};h.prototype.getPartsIgnoringMessages=function(){if(!this.bShowDate&&!this.bShowTime){return[0]}else if(!this.bShowTimezone){return[1]}return[]};h.prototype.getPlaceholderText=function(){return this.getFormat().getPlaceholderText()};h.prototype.parseValue=function(e,t,o){var i;if(!o){throw new a(\"'aCurrentValues' is mandatory\")}switch(this.getPrimitiveType(t)){case\"object\":if(!this.bShowDate&&!this.bShowTime){throw new a(s)}if(!e){return[null,undefined]}if(!(e instanceof Date)){throw new a(\"Given value must be an instance of Date\")}return[e,undefined];case\"string\":if(!e){if(!this.bShowDate&&!this.bShowTime){return[undefined,this.vEmptyTimezoneValue]}return[null,undefined]}try{i=this.getFormat().parse(e,o[1])}catch(e){throw new a(e.message)}if(!i){throw new a(this._getErrorMessage())}return i;default:throw new a(\"Don't know how to parse \"+this.getName()+\" from \"+t)}};h.prototype.processPartTypes=function(e){var t=e[1];if(t&&t.isA(\ Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Item\", [\"./Element\",\"./library\"],function(e,t){\"use strict\";var a=t.TextDirection;var r=e.extend(\"sap.ui.core.Item\",{metadata:{library:\"sap.ui.core\",properties:{text:{type:\"string\",group:\"Data\",defaultValue:\"\"},enabled:{type:\"boolean\",group:\"Misc\",defaultValue:true},textDirection:{type:\"sap.ui.core.TextDirection\",group:\"Misc\",defaultValue:a.Inherit},key:{type:\"string\",group:\"Data\",defaultValue:null}}}});return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/LayoutData\", [\"./Element\",\"sap/ui/thirdparty/jquery\",\"./library\"],function(t,jQuery){\"use strict\";var a=t.extend(\"sap.ui.core.LayoutData\",{metadata:{abstract:true,library:\"sap.ui.core\"}});a.prototype.invalidate=function(){var t=this.getParent();if(t&&t.getMetadata().getName()==\"sap.ui.core.VariantLayoutData\"){t=t.getParent()}if(t){var a=t.getParent();if(a){var e=jQuery.Event(\"LayoutDataChange\");e.srcControl=t;a._handleEvent(e)}}};a.prototype.setLayoutData=function(t){return this};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ListItem\", [\"./Item\",\"./library\"],function(e){\"use strict\";var t=e.extend(\"sap.ui.core.ListItem\",{metadata:{library:\"sap.ui.core\",properties:{icon:{type:\"string\",group:\"Appearance\",defaultValue:null},additionalText:{type:\"string\",group:\"Data\",defaultValue:null}}}});return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/LocalBusyIndicator\", [\"./Control\",\"./theming/Parameters\",\"./LocalBusyIndicatorRenderer\",\"./library\"],function(t,e,i){\"use strict\";var o=t.extend(\"sap.ui.core.LocalBusyIndicator\",{metadata:{deprecated:true,library:\"sap.ui.core\",properties:{width:{type:\"sap.ui.core.CSSSize\",group:\"Misc\",defaultValue:\"100px\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Misc\",defaultValue:\"100px\"}}},renderer:i});o.prototype.init=function(){var t=\"sap.ui.core.LocalBusyIndicator:\";var i=\"sapUiLocalBusyIndicatorBoxSize\";i=e.get(t+i);this._iBoxSize=8;i=\"sapUiLocalBusyIndicatorBoxColor\";this._sBoxColor=e.get(t+i);i=\"sapUiLocalBusyIndicatorBoxColorActive\";this._sBoxColorActive=e.get(t+i);this._animateProxy=r.bind(this)};o.prototype.exit=function(){clearTimeout(this._delayedCallId);delete this._delayedCallId};o.prototype.onThemeChanged=function(t){if(this.getDomRef()){this.invalidate()}};o.prototype.onAfterRendering=function(){var t=parseInt(this.getWidth());var e=parseInt(this.getHeight());var i=this.$();i.css(\"width\",t+\"px\");i.css(\"height\",e+\"px\");var o=this.$(\"animation\");var r=Math.floor(t/2);r-=Math.floor(5*this._iBoxSize/2);var s=Math.floor(e/2)-Math.floor(this._iBoxSize/2);o.css(\"left\",r+\"px\");o.css(\"top\",s+\"px\");if(!this._$left){this._$left=this.$(\"leftBox\")}if(!this._$middle){this._$middle=this.$(\"middleBox\")}if(!this._$right){this._$right=this.$(\"rightBox\")}this._delayedCallId=setTimeout(this._animateProxy,0)};var r=function(){if(this.getDomRef()){var t=this;var e,i,o;var r=\"\",s=\"\";if(t._$left){e=t._$left}else{return}if(t._$middle){i=t._$middle}else{return}if(t._$right){o=t._$right}else{return}if(t._sBoxColor){r=t._sBoxColor}else{return}if(t._sBoxColorActive){s=t._sBoxColorActive}else{return}e.css(\"background-color\",s);setTimeout(function(){e.css(\"background-color\",r);i.css(\"background-color\",s);setTimeout(function(){i.css(\"background-color\",r);o.css(\"background-color\",s);setTimeout(function(){o.css(\"background-color\",r)},150)},150)},150);this._delayedCallId=setTimeout(this._animateProxy,1200)}};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/LocalBusyIndicatorRenderer\", function(){\"use strict\";var n=function(n,a){var i=a.getId();var o=i+\"-animation\";var t=[\"-leftBox\",\"-middleBox\",\"-rightBox\"];n.openStart(\"div\",o);n.class(\"sapUiLocalBusyIndicatorAnimation\");n.openEnd();for(var e=0;e0};n.getPlaceholderFromProviders=function(e){var t;if(e){a.some(function(i){t=i(e);return!!t})}return t};n.isEnabled=function(){return t.get({name:\"sapUiXxPlaceholder\",type:t.Type.Boolean,external:true,defaultValue:true})};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Popup\", [\"sap/ui/Device\",\"sap/ui/base/DataType\",\"sap/ui/base/Event\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/Object\",\"sap/ui/base/ObjectPool\",\"./Control\",\"./Element\",\"./EventBus\",\"./FocusHandler\",\"./IntervalTrigger\",\"./RenderManager\",\"./ResizeHandler\",\"./library\",\"./StaticArea\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/Version\",\"sap/base/util/uid\",\"sap/base/util/extend\",\"sap/base/util/each\",\"sap/base/util/deepExtend\",\"sap/ui/events/F6Navigation\",\"sap/ui/base/EventProvider\",\"sap/ui/thirdparty/jquery\",\"sap/ui/thirdparty/jqueryui/jquery-ui-position\",\"sap/ui/dom/jquery/control\",\"sap/ui/dom/jquery/Focusable\",\"sap/ui/dom/jquery/rect\"],function(t,e,o,i,s,n,r,a,l,u,f,p,h,c,d,_,g,b,m,v,y,C,E,P,O,jQuery){\"use strict\";var I=c.CSSSize;var S=c.OpenState;var w=c.Collision;var L;var x;var F;var k=\"sapUiPopupResize\";var A=new l;if(window.ResizeObserver){F=new window.ResizeObserver(function(t){N(jQuery(\"#sap-ui-blocklayer-popup\"),t[0].target)})}else{F={observe:function(t){var e=t.dataset[k];if(!e){e=h.register(t,function(t){N(jQuery(\"#sap-ui-blocklayer-popup\"),t.target)});t.dataset[k]=e}},unobserve:function(t){var e=t.dataset[k];if(e){h.deregister(e);delete t.dataset[k]}}}}function D(){if(L){return L}var t;try{L=d.getUIArea()}catch(t){g.error(t);throw new Error(\"Popup cannot be opened because static UIArea cannot be determined.\")}t=new r;L.addDependent(t);L=t.getUIArea();t.destroy();return L}function R(t){var e;if(typeof t===\"string\"){e=document.querySelector(t)}else if(t instanceof a){e=t.getDomRef()}else{e=t}return e||window}function B(t){var e=[\"left\",\"top\",\"width\",\"height\"];if(t[0]){t[0].classList.remove(\"sapUiBLyWithin\");e.forEach(function(e){t[0].style.removeProperty(e)})}}function N(t,e){var o=e.getBoundingClientRect();t.css({width:o.width,height:o.height}).addClass(\"sapUiBLyWithin\").position({my:\"left top\",at:\"left top\",of:e})}var T=i.extend(\"sap.ui.core.Popup\",{constructor:function(t,e,o,s){_(arguments.length==0||t&&typeof t===\"object\",\"oContent must be an object or there may be no arguments at all\");_(e===undefined||e===true||e===false,\"bModal must be true, false, or undefined\");_(o===undefined||o===true||o===false,\"bShadow must be true, false, or undefined\");_(s===undefined||s===true||s===false,\"bAutoClose must be true, false, or undefined\");i.apply(this);this._popupUID=v();this.bOpen=false;this.eOpenState=S.CLOSED;this._mEvents={};this._mEvents[\"sap.ui.core.Popup.addFocusableContent-\"+this._popupUID]=this._addFocusableArea;this._mEvents[\"sap.ui.core.Popup.removeFocusableContent-\"+this._popupUID]=this._removeFocusableArea;this._mEvents[\"sap.ui.core.Popup.closePopup-\"+this._popupUID]=this._closePopup;this._mEvents[\"sap.ui.core.Popup.onFocusEvent-\"+this._popupUID]=this.onFocusEvent;this._mEvents[\"sap.ui.core.Popup.increaseZIndex-\"+this._popupUID]=this._increaseMyZIndex;this._mEvents[\"sap.ui.core.Popup.contains-\"+this._popupUID]=this._containsEventBusWrapper;this._mEvents[\"sap.ui.core.Popup.extendFocusInfo-\"+this._popupUID]=this._extendFocusInfoEventBusWrapper;if(t){this.setContent(t)}this._oDefaultPosition={my:T.Dock.CenterCenter,at:T.Dock.CenterCenter,of:document,offset:\"0 0\",collision:\"flip\"};this._oPosition=Object.assign({},this._oDefaultPosition);this._bModal=!!e;this._oPreviousFocus=null;this._sInitialFocusId=null;this._bShadow=typeof o===\"boolean\"?o:true;this._bAutoClose=!!s;this._animations={open:null,close:null};this._durations={open:\"fast\",close:\"fast\"};this._iZIndex=-1;this.setNavigationMode();if(this.touchEnabled){this._fAutoCloseHandler=function(t){if(t.isMarked(\"delayedMouseEvent\")||t.isMarked(\"cancelAutoClose\")){return}if(this.eOpenState===S.CLOSING||this.eOpenState===S.CLOSED){return}if(!this._contains(t.target)){this.close()}}.bind(this)}this._F6NavigationHandler=function(t){var e={},o=this._sF6NavMode,i;if(o==\"DOCK\"){if(this._bModal){o=\"NONE\"}else if(this._oLastPosition&&this._oLastPosition.of){i=this._getOfDom(this._oLastPosition.of);if(!i||i===document){i=null;o=\"NONE\"}}}switch(o){case\"SCOPE\":e.scope=this._$()[0];break;case\"DOCK\":e.target=i;var s=jQuery(i).parents(\"[data-sap-ui-popup]\");e.scope=s.length?s[0]:null;break;default:e.skip=true}P.handleF6GroupNavigation(t,e)}.bind(this)},metadata:{library:\"sap.ui.core\",publicMethods:[\"open\",\"close\",\"setContent\",\"getContent\",\"setPosition\",\"setShadow\",\"setModal\",\"getModal\",\"setAutoClose\",\"setAutoCloseAreas\",\"setExtraContent\",\"isOpen\",\"getAutoClose\",\"getOpenState\",\"setAnimations\",\"setDurations\",\"attachOpened\",\"attachClosed\",\"detachOpened\",\"detachClosed\"],associations:{childPopups:{type:\"sap.ui.core.Popup\",multiple:true,visibility:\"hidden\"}},events:{opened:{},closed:{}}}});T.prototype.getChildPopups=function(){return this.getAssociation(\"childPopups\",[])};T.prototype.addChildPopup=function(t){return this.addAssociation(\"childPopups\",t)};T.prototype.removeChildPopup=function(t){return this.removeAssociation(\"childPopups\",t)};T.blStack=[];T.Dock={BeginTop:\"BeginTop\",BeginCenter:\"BeginCenter\",BeginBottom:\"BeginBottom\",LeftTop:\"LeftTop\",LeftCenter:\"LeftCenter\",LeftBottom:\"LeftBottom\",CenterTop:\"CenterTop\",CenterCenter:\"CenterCenter\",CenterBottom:\"CenterBottom\",RightTop:\"RightTop\",RightCenter:\"RightCenter\",RightBottom:\"RightBottom\",EndTop:\"EndTop\",EndCenter:\"EndCenter\",EndBottom:\"EndBottom\"};e.registerEnum(\"sap.ui.core.Popup.Dock\",T.Dock);T.prototype.touchEnabled=t.support.touch&&(t.browser.safari||!t.system.combi);T.prototype.preventBrowserFocus=t.support.touch&&!t.system.combi;var U=0;var M=Math.pow(2,32)-1;T.setInitialZIndex=function(t){if(t>=M){throw new Error(\"Z-index can't be higher than Number.MAX_SAFE_INTEGER\")}U=Math.max(t,this.getLastZIndex())};T.getLastZIndex=function(){return U};T.prototype.getLastZIndex=function(){return T.getLastZIndex()};T.getNextZIndex=function(){U+=10;if(U>=M){throw new Error(\"Z-index can't be higher than Number.MAX_SAFE_INTEGER\")}return U};T.prototype.getNextZIndex=function(){return T.getNextZIndex()};var $=function(t,e){if(!t&&e||t&&!e){return false}if(!t&&!e){return true}var o=3;var i=Math.abs(t.left-e.left);var s=Math.abs(t.top-e.top);var n=Math.abs(t.width-e.width);var r=Math.abs(t.height-e.height);if(i>o||s>o||n>o||r>o){return false}return true};T.prototype.open=function(t,e,o,i,s,n,l,u){_(this.oContent,\"Popup content must have been set by now\");if(this.eOpenState!=S.CLOSED){return}if(typeof t==\"string\"){u=l;l=n;n=s;s=i;i=o;o=e;e=t;t=-1}if(typeof l===\"boolean\"||typeof l===\"function\"||l===T.CLOSE_ON_SCROLL){u=l;l=undefined}if(t===undefined){t=-1}_(t===-1||typeof t===\"number\"&&t%1==0,\"iDuration must be an integer (or omitted)\");_(e===undefined||typeof e===\"string\",\"my must be a string or empty\");_(o===undefined||typeof o===\"string\",\"at must be a string or empty\");_(!i||typeof i===\"object\"||typeof i===\"function\",\"of must be empty or an object\");_(!s||typeof s===\"string\",\"offset must be empty or a string\");_(!n||w.isValid(n),\"collision must be empty or of type sap.ui.core.Collision\");_(!l||l===window||typeof l===\"string\"||l instanceof a||l instanceof HTMLElement,\"within must be either empty, or the global window object, or a string, or a sap.ui.core.Element, or a DOM element\");_(!u||typeof u===\"boolean\"||typeof u===\"function\"||u===T.CLOSE_ON_SCROLL,\"followOf must be either empty or a boolean\");this.eOpenState=S.OPENING;var f=D(),p;this._bContentAddedToStatic=false;this._bUIAreaPatched=false;if(this.oContent instanceof r){if(!this.oContent.getParent()){f.addContent(this.oContent,true);this._bContentAddedToStatic=true}else if(!this.oContent.getUIArea()){this.oContent.getUIArea=function(){return f};this._bUIAreaPatched=true}p=this.oContent.getUIArea();if(T._bEnableUIAreaCheck&&p.getRootNode().id!==f.getRootNode().id){g.warning(\"The Popup content is NOT connected with the static-UIArea and may not work properly!\")}}this._oPreviousFocus=T.getCurrentFocusInfo();if(this.isInPopup(i)||this.isInPopup(this._oPosition.of)){var h=this.getParentPopupId(i)||this.getParentPopupId(this._oPosition.of);var c=\"\";var b=this.getContent();if(b instanceof a){c=b.getId()}else if(typeof b===\"object\"){c=b.id}this.addChildToPopup(h,c);this.addChildToPopup(h,this._popupUID)}var m=this._$(true);m.addClass(\"sapUiPopupInitial\");m.css({position:\"absolute\",display:\"block\",visibility:\"visible\",opacity:\"\"});var v=\"fast\";if(t===0||t>0){v=t}else if(this._durations.open===0||this._durations.open>0){v=this._durations.open}var y;if(e||o||i||s||n||l){y=this._createPosition(e,o,i,s,n,l);this._oPosition=y}else{y=this._oPosition;if(!this._bOwnWithin&&x){this._oPosition.within=x}}if(!y.of){y.of=this._oPosition.of||document}this._iZIndex=this._iZIndex===this.getLastZIndex()?this._iZIndex:this.getNextZIndex();var C=d.getDomRef();if(!(m[0].parentNode==C)){m.appendTo(C)}m.css(\"z-index\",this._iZIndex);g.debug(\"position popup content \"+m.attr(\"id\")+\" at \"+JSON.stringify(y.at));this._applyPosition(y);if(u!==undefined){this.setFollowOf(u)}m.toggleClass(\"sapUiShd\",this._bShadow);var E=v==0;this._duringOpen(!E);if(E){this._opened()}else if(this._animations.open){this._animations.open.call(null,m,v,this._opened.bind(this))}else{m.fadeTo(v,1,this._opened.bind(this))}};T.prototype._getDomRefToFocus=function(){var t=this._$(false,true),e,o;if(this._shouldGetFocusAfterOpen()){if(this._sInitialFocusId){o=a.getElementById(this._sInitialFocusId);if(o){e=o.getFocusDomRef()}e=e||window.document.getElementById(this._sInitialFocusId)}e=e||t.firstFocusableDomRef()}return e};T.prototype._opened=function(){if(this.eOpenState!==S.OPENING){return}this.bOpen=true;var t=this._$(false,true);t.removeClass(\"sapUiPopupInitial\");this._activateFocusHandle();this._$(false,true).on(\"keydown\",this._F6NavigationHandler);if(this.getFollowOf()){T.DockTrigger.addListener(T.checkDocking,this)}this.eOpenState=S.OPEN;this.fireOpened()};T.prototype._duringOpen=function(t){T._clearSelection();this._setupUserSelection();if(this._bModal){this._showBlockLayer()}if(this._shouldGetFocusAfterOpen()){var e=this._getDomRefToFocus();if(e){e.focus()}var o=this._getOfDom(this._oLastPosition.of);var i=jQuery(o).rect();if(this._oLastOfRect&&i&&!$(this._oLastOfRect,i)){this._applyPosition(this._oLastPosition)}}if(this.oContent instanceof a){this.oContent.addDelegate(this)}this.bOpen=true};T.prototype._shouldGetFocusAfterOpen=function(){return this._bModal||this._bAutoClose||this._sInitialFocusId};T.prototype._contains=function(t){var e=this._$().get(0);if(!e){return false}var o=e.contains(t);var i;if(!o){i=this.getChildPopups();o=i.some(function(e){var o=e?window.document.getElementById(e):null;var i=o&&o.contains(t);if(!i){var s=\"sap.ui.core.Popup.contains-\"+e;var n={domRef:t};A.publish(\"sap.ui\",s,n);i=n.contains}return i})}if(!o&&this._aExtraContent){o=this._aExtraContent.some(({ref:e})=>{if(e instanceof a){e=e.getDomRef()}if(!e){return false}const o=[e];if(e.shadowRoot){o.push(e.shadowRoot)}return o.some(e=>e.contains?.(t))})}if(!o){W.forEach(function(e){o=o||jQuery(t).closest(e).length>0})}return o};T.prototype._containsEventBusWrapper=function(t,e,o){o.contains=this._contains(o.domRef)};T.prototype.onFocusEvent=function(e){var o=jQuery.event.fix(e);if(arguments.length>1&&arguments[1]===\"sap.ui.core.Popup.onFocusEvent-\"+this._popupUID){o=jQuery.event.fix(arguments[2])}var i=o.type==\"focus\"||o.type==\"activate\"?\"focus\":\"blur\";var s=false;if(i==\"focus\"){var n=this._$().get(0);if(n){const e=o.target.shadowRoot?o.target.shadowRoot.activeElement:o.target;s=this._contains(e);g.debug(\"focus event on \"+o.target.id+\", contains: \"+s);if(this._bModal&&!s){var r=T.blStack.length>0&&T.blStack[T.blStack.length-1].popup===this;if(r){if(t.system.desktop||jQuery(o.target).is(\":input\")){if(this.oLastBlurredElement){setTimeout(function(){if(this.oLastBlurredElement){this.oLastBlurredElement.focus()}}.bind(this),0)}else{n.focus()}}}}else if(this._bAutoClose&&s&&this._sTimeoutId){clearTimeout(this._sTimeoutId);this._sTimeoutId=null}}}else if(i==\"blur\"){g.debug(\"blur event on \"+o.target.id);if(this._bModal){this.oLastBlurredElement=o.target}else if(this._bAutoClose){if(!this.touchEnabled&&!this._sTimeoutId){if(o.target===document.activeElement){return}var a=typeof this._durations.close===\"string\"?0:this._durations.close;this._sTimeoutId=setTimeout(function(){this.close(a,\"autocloseBlur\");var t=this._oLastPosition&&this._oLastPosition.of;if(t){var e=this.getParentPopupId(t);if(e){var i=\"sap.ui.core.Popup.onFocusEvent-\"+e;A.publish(\"sap.ui\",i,o)}}}.bind(this),a)}}}};T.prototype.setInitialFocusId=function(t){_(!t||typeof t===\"string\",\"sId must be a string or empty\");this._sInitialFocusId=t};T.prototype.close=function(t){if(T._autoCloseDebug){return}if(this._sTimeoutId){clearTimeout(this._sTimeoutId);this._sTimeoutId=null}_(t===undefined||typeof t===\"number\"&&t%1==0,\"iDuration must be empty or an integer\");if(this.eOpenState==S.CLOSED||this.eOpenState==S.CLOSING){return}var e=\"fast\";if(t===0||t>0){e=t}else if(this._durations.close===0||this._durations.close>0){e=this._durations.close}this.eOpenState=S.CLOSING;if(this.getFollowOf()){T.DockTrigger.removeListener(T.checkDocking,this)}if(this.oContent){if(this._bContentAddedToStatic){A.publish(\"sap.ui\",\"__beforePopupClose\",{domNode:this._$().get(0)});var o=d.getUIArea();const t=o.indexOfContent(this.oContent);if(t>=0){o.removeContent(t,true)}}else if(this._bUIAreaPatched){delete this.oContent.getUIArea}}this._bContentAddedToStatic=false;this._bUIAreaPatched=false;this._sTimeoutId=null;this._deactivateFocusHandle();this._$(false,true).off(\"keydown\",this._F6NavigationHandler);if(this.oContent instanceof a){this.oContent.removeDelegate(this)}var i=this._$();if(this._bEventBusEventsRegistered){this._unregisterEventBusEvents()}if(this.isInPopup(this._oLastPosition.of)){var s=this.getParentPopupId(this._oLastPosition.of);var n=\"\";var r=this.getContent();if(r instanceof a){n=r.getId()}else if(typeof r===\"object\"){n=r.id}this.removeChildFromPopup(s,n);this.removeChildFromPopup(s,this._popupUID)}if(this._bModal&&this.preventBrowserFocus){i.one(\"mousedown\",function(t){t.preventDefault()})}this._duringClose();if(e==0){this._closed()}else if(this._animations.close){this._animations.close.call(null,i,e,this._closed.bind(this))}else{i.fadeOut(e,this._closed.bind(this))}};T.prototype._closed=function(){var t=this._$(false,true);if(this._bModal){this._hideBlockLayer()}T._clearSelection();this._restoreUserSelection();if(t.length){var e=t.get(0);if(e){e.style.display=\"none\";e.style.visibility=\"hidden\";e.style.left=\"0px\";e.style.top=\"0px\";e.style.right=\"\"}t=this._$(false,true);e=t.length?t[0]:null;if(e){e.style.display=\"none\";e.style.visibility=\"hidden\";e.style.left=\"0px\";e.style.top=\"0px\";e.style.right=\"\"}}if(this._bModal){T.applyFocusInfo(this._oPreviousFocus);this._oPreviousFocus=null;this.oLastBlurredElement=null}this.bOpen=false;this.eOpenState=S.CLOSED;var o=this.getChildPopups();for(var i=0,s=o.length;i0){if(o.offset&&o.offset!=\"0 0\"){const t=o.my.split(\" \");const e=o.offset.split(\" \");var i=[parseInt(e[0])<0?\"\":\"+\",parseInt(e[1])<0?\"\":\"+\"];o.my=t[0]+i[0]+e[0]+\" \"+t[1]+i[1]+e[1];delete o.offset}}return o}T.prototype._createPosition=function(t,e,o,i,s,n){var r=y({},this._oDefaultPosition,{my:t||this._oDefaultPosition.my,at:e||this._oDefaultPosition.at,of:o,offset:i,collision:s});if(n||x){r.within=n||x}this._bOwnWithin=!!n;return r};T.prototype._getPositionOffset=function(){var t=[];if(this._oPosition.my&&(this._oPosition.my.indexOf(\"+\")>=0||this._oPosition.my.indexOf(\"-\")>=0)){var e=this._oPosition.my.split(\" \");var o=e[0].indexOf(\"+\");if(o<0){o=e[0].indexOf(\"-\")}if(o>=0){t[0]=e[0].slice(o)}o=e[1].indexOf(\"+\");if(o<0){o=e[1].indexOf(\"-\")}if(o>=0){t[1]=e[1].slice(o)}}else if(this._oPosition.offset){t=this._oPosition.offset.split(\" \")}return t};T.prototype._applyPosition=function(t){var e=b.getRTL();var o=this._$();const i=Z(t);if(o.length){var s=i.at;var n=o.get(0);if(typeof s===\"string\"){n.style.display=\"block\";n.style.left=\"\";n.style.right=\"\";o.position(this._resolveReference(this._convertPositionRTL(i,e)));this._fixPositioning(i,e)}else if(I.isValid(s.left)&&I.isValid(s.top)){o.css({left:s.left,top:s.top})}else if(I.isValid(s.right)&&I.isValid(s.top)){o.css({right:s.right,top:s.top})}else if(typeof s.left===\"number\"&&typeof s.top===\"number\"){var r=o[0];if(r&&r.style.right){var a=o[0].getBoundingClientRect().width;o.css({right:document.documentElement.clientWidth-(s.left+a)+\"px\",top:s.top+\"px\"})}else{o.css({left:s.left+\"px\",top:s.top+\"px\"})}}this._oLastPosition=t;this._oLastOfRect=this._calcOfRect(i.of)}};T.prototype._calcOfRect=function(t){var e=this._getOfDom(t);if(e){return jQuery(e).rect()}return null};T.prototype._getOfDom=function(t){if(t instanceof jQuery.Event){return null}var e;if(typeof t===\"string\"){e=jQuery(document.getElementById(t))}else if(t instanceof jQuery){e=t}else{e=jQuery(t instanceof a?t.getDomRef():t)}return e[0]};T.prototype._convertPositionRTL=function(t,e){var o=Object.assign({},t);if(e){var i=false;if(o.my&&(o.my.indexOf(\"+\")>=0||o.my.indexOf(\"-\")>=0)){i=true}if((o.offset||i)&&(o.my.indexOf(\"begin\")>-1||o.my.indexOf(\"end\")>-1)&&(o.at.indexOf(\"begin\")>-1||o.at.indexOf(\"end\")>-1)){if(i){var s=o.my.split(\" \");if(s.length==2){o.my=\"\";if(s[0]){if(s[0].indexOf(\"begin\")>-1||s[0].indexOf(\"end\")>-1){if(s[0].indexOf(\"+\")>-1){s[0]=s[0].replace(\"+\",\"-\")}else if(s[0].indexOf(\"-\")>-1){s[0]=s[0].replace(\"-\",\"+\")}}o.my=s[0]}if(s[1]){if(s[1].indexOf(\"begin\")>-1||s[1].indexOf(\"end\")>-1){if(s[1].indexOf(\"+\")>-1){s[1]=s[1].replace(\"+\",\"-\")}else if(s[1].indexOf(\"-\")>-1){s[1]=s[1].replace(\"-\",\"+\")}}if(s[0]){o.my=o.my+\" \"}o.my=o.my+s[1]}}}else{o.offset=this._mirrorOffset(o.offset)}}o.my=o.my.replace(\"begin\",\"right\").replace(\"end\",\"left\");o.at=o.at.replace(\"begin\",\"right\").replace(\"end\",\"left\")}else{o.my=o.my.replace(\"end\",\"right\").replace(\"begin\",\"left\");o.at=o.at.replace(\"end\",\"right\").replace(\"begin\",\"left\")}return o};T.prototype._mirrorOffset=function(t){var e=String(t).trim().split(/\\s/);var o=parseInt(e[0]);return-o+\" \"+e[e.length-1]};T.prototype._fixPositioning=function(t,e){var o=t.my;if(typeof o===\"string\"){if(T._isPositionFixingNeeded(o,e)){var i=this._$();var s=jQuery(window).width()-i[0].getBoundingClientRect().width-i.offset().left;i.css({right:s+\"px\",left:\"\"})}}};T._isPositionFixingNeeded=function(t,e){return e&&(t.indexOf(\"right\")>-1||t.indexOf(\"begin\")>-1||t.indexOf(\"center\")>-1)||!e&&(t.indexOf(\"right\")>-1||t.indexOf(\"end\")>-1)};T.prototype._resolveReference=function(t){var e,o=[\"of\",\"within\"];o.forEach(function(o){if(t[o]instanceof a){e=e||{};e[o]=t[o].getDomRef()}});return e?Object.assign({},t,e):t};T.prototype.setShadow=function(t){_(typeof t===\"boolean\",\"bShowShadow must be boolean\");this._bShadow=t;if(this.eOpenState!=S.CLOSED){this._$().toggleClass(\"sapUiShd\",t)}return this};T.prototype.setModal=function(t,e){_(typeof t===\"boolean\",\"bModal must be boolean\");_(!e||typeof e===\"string\",\"sModalCSSClass must be empty or a string\");var o=this._bModal;this._bModal=t;this._sModalCSSClass=e;if(this.isOpen()){if(o!==t){T._clearSelection();if(t){this._setupUserSelection();this._showBlockLayer()}else{this._hideBlockLayer();this._restoreUserSelection()}if(this.touchEnabled&&this._bAutoClose){if(!t){jQuery(document).on(\"touchstart mousedown\",this._fAutoCloseHandler)}else{jQuery(document).off(\"touchstart mousedown\",this._fAutoCloseHandler)}}}}return this};T.prototype.getModal=function(){return this._bModal};T.prototype.setNavigationMode=function(t){if(t!=\"NONE\"&&t!=\"DOCK\"&&t!=\"SCOPE\"){this._sF6NavMode=\"NONE\"}this._sF6NavMode=t};T.prototype.setAutoClose=function(t){_(typeof t===\"boolean\",\"bAutoClose must be boolean\");if(this.touchEnabled&&this.isOpen()&&this._bAutoClose!==t){if(!this._bModal){if(t){jQuery(document).on(\"touchstart mousedown\",this._fAutoCloseHandler)}else{jQuery(document).off(\"touchstart mousedown\",this._fAutoCloseHandler)}}}this._bAutoClose=t;return this};T.prototype.setExtraContent=function(t){_(Array.isArray(t),\"Extra popup content must be an array which contains either sap.ui.core.Element, DOM Element or an ID\");if(!this._aExtraContent){this._aExtraContent=[]}var e=function(t){return{onBeforeRendering:function(){var e=t.getDomRef();if(e&&this.isOpen()){e.removeEventListener(\"blur\",this.fnEventHandler,true)}},onAfterRendering:function(){var e=t.getDomRef();if(e&&this.isOpen()){e.addEventListener(\"blur\",this.fnEventHandler,true)}}}};var o,i,s,n;for(var r=0,l=t.length;r0||t===0){this._durations.open=t}if(e>0||e===0){this._durations.close=e}return this};T.CLOSE_ON_SCROLL=\"close_Popup_if_of_is_moved\";T.prototype._fnCloseOnScroll=function(t){this.close()};T.prototype.setFollowOf=function(t){T.DockTrigger.removeListener(T.checkDocking,this);var e=false;this._bFollowOf=true;this._followOfHandler=null;if(typeof t===\"function\"){this._followOfHandler=t;e=true}else if(typeof t===\"boolean\"){e=t}else if(t===T.CLOSE_ON_SCROLL){this._followOfHandler=this._fnCloseOnScroll;e=true}else{this._bFollowOf=false;if(t!==null){g.error(\"Trying to set an invalid type to 'followOf: \"+t)}}if(e&&this._oLastPosition){this._oLastOfRect=this._calcOfRect(this._oLastPosition.of)}if(this._bFollowOf&&this.getOpenState()===S.OPEN){T.DockTrigger.addListener(T.checkDocking,this)}};T.prototype.getAutoClose=function(){return this._bAutoClose};T.prototype.getFollowOf=function(){if(this._bFollowOf){return typeof this._followOfHandler===\"function\"?this._followOfHandler:true}return false};T.prototype.isOpen=function(){return this.bOpen};T.prototype.getOpenState=function(){return this.eOpenState};T.prototype.destroy=function(){if(this._resizeListenerId){h.deregister(this._resizeListenerId);this._resizeListenerId=null}this.close(0);this.oContent=null;if(this._bFollowOf){this.setFollowOf(null)}if(this._bEventBusEventsRegistered){this._unregisterEventBusEvents()}if(this._iTopShieldRemoveTimer){clearTimeout(this._iTopShieldRemoveTimer);this.oShieldLayerPool.returnObject(this._oTopShieldLayer);this._oTopShieldLayer=null;this._iTopShieldRemoveTimer=null}if(this._iBottomShieldRemoveTimer){clearTimeout(this._iBottomShieldRemoveTimer);this.oShieldLayerPool.returnObject(this._oBottomShieldLayer);this._oBottomShieldLayer=null;this._iBottomShieldRemoveTimer=null}if(this._aExtraContent){var t;this._aExtraContent.forEach(function(e){if(e.delegate){t=a.closestTo(document.getElementById(e.id));if(t){t.removeEventDelegate(e.delegate)}}})}i.prototype.destroy.apply(this,arguments)};T.prototype.exit=function(){delete this._mEvents};T.prototype._addFocusEventListeners=function(){if(!this.fnEventHandler){this.fnEventHandler=this.onFocusEvent.bind(this)}var t=this._$();var e=this.getChildPopups();var o={};var i=0,s=0;if(t.length){document.addEventListener(\"focus\",this.fnEventHandler,true);t.get(0).addEventListener(\"blur\",this.fnEventHandler,true);for(i=0,s=e.length;i0){p.preserveContent(o[0],true,false)}(new p).render(this.oContent,d.getDomRef());o=this.oContent.$()}}else if(this.oContent instanceof a){o=this.oContent.$()}else{o=jQuery(this.oContent)}this._setIdentity(o);return o};function j(t){if(T._blockLayerStateProvider){T._blockLayerStateProvider.fireEvent(\"blockLayerStateChange\",t)}}T.attachBlockLayerStateChange=function(t,e,o){if(!T._blockLayerStateProvider){T._blockLayerStateProvider=new O}T._blockLayerStateProvider.attachEvent(\"blockLayerStateChange\",t,e,o)};T.detachBlockLayerStateChange=function(t,e){if(T._blockLayerStateProvider){T._blockLayerStateProvider.detachEvent(\"blockLayerStateChange\",t,e)}};function z(t,e){if(e===window){B(t);document.documentElement.classList.add(\"sapUiBLyBack\")}else{N(t,e);e.classList.add(\"sapUiBLyBack\");F.observe(e)}}function G(t){if(t===window){document.documentElement.classList.remove(\"sapUiBLyBack\")}else{t.classList.remove(\"sapUiBLyBack\");F.unobserve(t)}}T.prototype._extendFocusInfo=function(t,e){var i=false,s=\"sap.ui.core.Popup.extendFocusInfo-\",n;if(t instanceof o){n={info:e.info,element:t.getParameter(\"domRef\")}}else{n=t}var r=this.getContent();var l=r instanceof a?r.getDomRef():r;if(l&&l.contains(n.element)){n.info.preventScroll=true;i=true}else{var u=this.getChildPopups();i=u.some(function(t){var e=s+t;A.publish(\"sap.ui\",e,n);return n.extended})}return i};T.prototype._extendFocusInfoEventBusWrapper=function(t,e,o){o.contains=this._extendFocusInfo(o)};T.prototype._showBlockLayer=function(){var t=jQuery(\"#sap-ui-blocklayer-popup\"),e=\"sapUiBLy\"+(this._sModalCSSClass?\" \"+this._sModalCSSClass:\"\"),o;if(t.length===0){t=jQuery('
');t.appendTo(d.getDomRef())}else{t.removeClass().addClass(e)}var i=T.blStack[T.blStack.length-1];if(i){o=R(i.popup._oLastPosition.within);G(o)}o=R(this._oLastPosition.within);z(t,o);T.blStack.push({zIndex:this._iZIndex-2,popup:this});t.css({\"z-index\":this._iZIndex-2,visibility:\"visible\"}).show();if(!this.isInPopup(this._oLastPosition.of)){this._bFocusExtenderAdded=true;u.addFocusInfoExtender(this._extendFocusInfo,this)}if(T.blStack.length===1){j({visible:true,zIndex:T.blStack[0].zIndex})}};T.prototype._hideBlockLayer=function(){var t=jQuery(\"#sap-ui-blocklayer-popup\"),e=t[0],o=this,i,s;s=R(this._oLastPosition.within);G(s);if(t.length){if(this._bFocusExtenderAdded){this._bFocusExtenderAdded=false;u.removeFocusInfoExtender(this._extendFocusInfo,this)}const n=this._sModalCSSClass?.split(\" \")??[];n.forEach(t=>{e.classList.remove(t)});if(T.blStack.length>1){T.blStack=T.blStack.filter(function(t){return t.popup!==o});i=T.blStack[T.blStack.length-1];e.style.zIndex=i.zIndex;const n=i.popup._sModalCSSClass?.split(\" \")??[];n.forEach(t=>{e.classList.add(t)});e.style.visibility=\"visible\";e.style.display=\"block\";s=R(i.popup._oLastPosition.within);z(t,s)}else{i=T.blStack.pop();e.style.visibility=\"hidden\";e.style.display=\"none\";j({visible:false,zIndex:i.zIndex})}}};T.prototype._isFocusInsidePopup=function(){var t=this._$(false,true).get(0);if(t&&t.contains(document.activeElement)){return true}return false};T.DockTrigger=f;T.checkDocking=function(){if(this.getOpenState()===S.OPEN||this.getOpenState()===S.OPENING){var t=this._getOfDom(this._oLastPosition.of),e;if(t){if(t===window||t===window.document||document.documentElement.contains(t)||t.getRootNode()instanceof ShadowRoot){e=jQuery(t).rect()}else if(t.id){var o=window.document.getElementById(t.id);var i=jQuery(o).rect();if(i&&!$(e,i)){e=i;this._oLastPosition.of=o}}}if(!e){this.close();return}else if(e.left===0&&e.top===0&&e.height===0&&e.height===0&&this._oLastPosition.of.id){this._oLastPosition.of=window.document.getElementById(this._oLastPosition.of.id);t=this._getOfDom(this._oLastPosition.of);e=jQuery(t).rect();if(!e){this.close();return}}if(this._oLastOfRect){if(!$(this._oLastOfRect,e)){if(this._followOfHandler&&this.getOpenState()===S.OPEN){var s=E({},this._oLastPosition),n=E({},this._oLastOfRect);this._followOfHandler({lastPosition:s,lastOfRect:n,currentOfRect:e})}else{this._applyPosition(this._oLastPosition)}}}}};T.prototype.ontouchstart=function(t){this.onmousedown(t,true);this._bMousedownCalled=true};T.prototype.onmousedown=function(t,e){if(this._bMousedownCalled&&!e){this._bMousedownCalled=false;return}if(this._iZIndex===this.getLastZIndex()||this.getModal()){return}this._increaseMyZIndex(\"\",\"mousedown\",t)};T.prototype._increaseMyZIndex=function(t,e,o){var i=this.getParentPopup(this._oLastPosition.of);if(o&&o.type===\"mousedown\"||o&&o.isFromParentPopup||i.length===0){this._iZIndex=this.getNextZIndex();var s=this._$(false,true);s.css(\"z-index\",this._iZIndex);if(o&&!o.type||o&&o.type!=\"mousedown\"||e===\"mousedown\"){var n=this.getChildPopups();for(var r=0,a=n.length;r0){var l=jQuery(i.get(0)).attr(\"data-sap-ui-popup\");this.increaseZIndex(l,false)}};T.prototype.onAfterRendering=function(){var t=this.getContent();var e=t instanceof a?t.$():jQuery(t);e.toggleClass(\"sapUiShd\",this._bShadow);T._clearSelection();this._setupUserSelection();e.css(\"position\",\"absolute\");this._setIdentity(e);var o=e[0];var i=o.style.left;var s=o.style.right;var n=o.style.top;var r=o.style.bottom;if(!(i&&i!=\"auto\"||s&&s!=\"auto\"||n&&n!=\"auto\"||r&&r!=\"auto\")){g.debug(\"reposition popup content \"+e.attr(\"id\")+\" at \"+JSON.stringify(this._oLastPosition.at));this._applyPosition(this._oLastPosition)}e.show().css({visibility:\"visible\",\"z-index\":this._iZIndex});if(this.isOpen()&&(this.getModal()||this.getAutoClose())){this._addFocusEventListeners()}this._$(false,true).on(\"keydown\",this._F6NavigationHandler)};T.prototype.onBeforeRendering=function(){if(this._resizeListenerId){h.deregister(this._resizeListenerId);this._resizeListenerId=null}if(this.isOpen()&&(this.getModal()||this.getAutoClose())){this._removeFocusEventListeners()}this._$(false,true).off(\"keydown\",this._F6NavigationHandler)};T.prototype.isInPopup=function(t){var e=this.getParentPopup(t);return e&&e.length>0};T.prototype.getParentPopup=function(t){var e=t?t:this;var o=jQuery(e instanceof a?e.getDomRef():e);return o.closest(\"[data-sap-ui-popup]\")};T.prototype.getParentPopupId=function(t){var e=this.getParentPopup(t);return e.attr(\"data-sap-ui-popup\")};T.prototype.addChildToPopup=function(t,e){var o=\"sap.ui.core.Popup.addFocusableContent-\"+t;A.publish(\"sap.ui\",o,{id:e})};T.prototype.removeChildFromPopup=function(t,e){var o=\"sap.ui.core.Popup.removeFocusableContent-\"+t;A.publish(\"sap.ui\",o,{id:e})};T.prototype.closePopup=function(t){var e=\"sap.ui.core.Popup.closePopup-\"+t;A.publish(\"sap.ui\",e)};T.prototype.increaseZIndex=function(t,e){var o=\"sap.ui.core.Popup.increaseZIndex-\"+t;A.publish(\"sap.ui\",o,{isFromParentPopup:e?e:false})};T.prototype.focusTabChain=function(t){var e=t.event.target,o=t.that.getMetadata().getName(),i;if(!t.$FocusablesContent||!t.$FocusablesFooter||!t.$FocusablesContent.length&&!t.$FocusablesFooter.length){return}if(e.id===t.firstFocusable){g.debug(\"First dummy focus element was focused\",\"\",o);if(t.$FocusablesFooter.length>0){g.debug(\"Last footer element will be focused\",\"\",o);i=t.$FocusablesFooter[t.$FocusablesFooter.length-1]}else{g.debug(\"Last content element will be focused\",\"\",o);i=t.$FocusablesContent[t.$FocusablesContent.length-1]}}else if(e.id===t.lastFocusable){g.debug(\"Last dummy focus element was focues\",\"\",o);if(t.$FocusablesContent.length>0){g.debug(\"First content element will be focused\",\"\",o);i=t.$FocusablesContent[0]}else{g.debug(\"First footer element will be focused\",\"\",o);i=t.$FocusablesFooter[0]}}if(i){setTimeout(function(){var t=a.getElementById(i.id);if(t instanceof r){g.debug(\"Focus will be handled by \"+t.getMetadata().getName(),\"\",o)}else{g.debug(\"oFocusDomRef will be focused\",\"\",o)}if(t){t.focus()}else if(i){i.focus()}return t?t.getId():i.id},0)}};T.prototype._setupUserSelection=function(){var t=this._$(false,true);T._markAsUserSelectable(t,this._bModal||T.blStack.length>0);if(this._bModal){if(T.blStack.length>0){var e=T.blStack[T.blStack.length-1];var o=function(t){return t.popup.getId()};if(T.blStack.map(o).indexOf(this.getId())===-1){T._markAsNotUserSelectable(e.popup._$(false,true),true)}else if(e.popup.getId()!==this.getId()){T._markAsNotUserSelectable(t,true)}}else{T._markAsNotUserSelectable(jQuery(\"html\"),true);T._markExternalContentAsUserSelectable(true)}}};T.prototype._restoreUserSelection=function(){var t=this._$(false,true);T._markAsNotUserSelectable(t,false);if(T.blStack.length>0){T._markAsUserSelectable(T.blStack[T.blStack.length-1].popup._$(false,true),true)}else{T._markAsUserSelectable(jQuery(\"html\"),false);T._markExternalContentAsNotUserSelectable(false)}};T.prototype.isTopmost=function(){return this._iZIndex===T.getLastZIndex()};T._clearSelection=function(){var t=document.getSelection();if(!t.isCollapsed){t.removeAllRanges()}};T._markAsUserSelectable=function(t,e){t.removeClass(\"sapUiNotUserSelectable\");if(e){t.addClass(\"sapUiUserSelectable\")}};T._markAsNotUserSelectable=function(t,e){t.removeClass(\"sapUiUserSelectable\");if(e){t.addClass(\"sapUiNotUserSelectable\")}};var W=new Set,q=\"[data-sap-ui-integration-popup-content]\";W.add(q);T.addExternalContent=function(t,e){if(!Array.isArray(t)){t=[t]}t.forEach(Set.prototype.add.bind(W));if(e){T.markExternalContentAsSelectable()}};T.removeExternalContent=function(t,e){if(!Array.isArray(t)){t=[t]}if(e){T.markExternalContentAsNotSelectable()}t.forEach(function(t){if(t!==q){W.delete(t)}})};T.markExternalContentAsSelectable=function(){T._clearSelection();if(T.blStack.length>0){T._markExternalContentAsUserSelectable(true)}};T.markExternalContentAsNotSelectable=function(){T._clearSelection();if(T.blStack.length>0){T._markExternalContentAsNotUserSelectable(false)}};T._getExternalContent=function(){var t=[];if(W.size>0){W.forEach(function(e){var o=jQuery(e);if(o.length>0){t.push(o)}})}return t};T._markExternalContentAsUserSelectable=function(t){var e=T._getExternalContent();e.forEach(function(e){T._markAsUserSelectable(e,t)})};T._markExternalContentAsNotUserSelectable=function(t){var e=T._getExternalContent();e.forEach(function(e){T._markAsNotUserSelectable(e,t)})};T.setWithinArea=function(t){x=t};T.getWithinArea=function(){return x};T.getWithinAreaDomRef=function(){return R(x)};return T});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ScrollBar\", [\"sap/base/i18n/Localization\",\"sap/ui/Device\",\"./Control\",\"./library\",\"./ScrollBarRenderer\",\"sap/ui/performance/trace/Interaction\",\"sap/base/Log\",\"sap/ui/events/jquery/EventSimulation\",\"sap/ui/thirdparty/jquery\"],function(t,e,o,i,s,r,l,h,jQuery){\"use strict\";var n=i.ScrollBarAction;var c=o.extend(\"sap.ui.core.ScrollBar\",{metadata:{library:\"sap.ui.core\",properties:{vertical:{type:\"boolean\",group:\"Behavior\",defaultValue:true},scrollPosition:{type:\"int\",group:\"Behavior\",defaultValue:null},size:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},contentSize:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},steps:{type:\"int\",group:\"Dimension\",defaultValue:null}},events:{scroll:{parameters:{action:{type:\"sap.ui.core.ScrollBarAction\"},forward:{type:\"boolean\"},newScrollPos:{type:\"int\"},oldScrollPos:{type:\"int\"}}}}},renderer:s});c.prototype.init=function(){this.ontouchstart=this.ontouchstart.bind(this);this.ontouchmove=this.ontouchmove.bind(this);this.ontouchend=this.ontouchend.bind(this);this.ontouchcancel=this.ontouchcancel.bind(this);this.onmousewheel=this.onmousewheel.bind(this);this.onscroll=this.onscroll.bind(this);this._$ScrollDomRef=null;this._iOldScrollPos=0;this._iOldStep=0;this._bScrollPosIsChecked=false;this._bRTL=t.getRTL();this._bSuppressScroll=false;this._iMaxContentDivSize=1e6;if(h.touchEventMode===\"ON\"){sap.ui.requireSync(\"sap/ui/thirdparty/zyngascroll\");this._iLastTouchScrollerPosition=null;this._iTouchStepTreshold=24;this._bSkipTouchHandling=false;this._oTouchScroller=new window.Scroller(this._handleTouchScroll.bind(this),{bouncing:false})}};c.prototype.onBeforeRendering=function(){this.$(\"sb\").off(\"scroll\",this.onscroll)};c.prototype.onAfterRendering=function(){this._iSteps=this.getSteps();var t=this.getContentSize();this._bStepMode=!t;var o=this.getSize();if(o.endsWith(\"px\")){o=o.substr(0,o.length-2)}else{o=this.getVertical()?this.$().height():this.$().width()}var i=null;var s=this.$(\"ffsize\");if(e.browser.firefox){i=s.outerHeight();if(i===0){i=window.getComputedStyle(jQuery(\"body\").get(0))[\"font-size\"];if(i.endsWith(\"px\")){i=i.substr(0,i.length-2)}i=parseInt(i)}}s.remove();if(e.browser.webkit){if(!document.width){i=Math.round(40/(window.outerWidth/jQuery(document).width()))}else{i=Math.round(40/(document.width/jQuery(document).width()))}}if(this.getVertical()){if(e.browser.firefox){this._iFactor=i}else if(e.browser.webkit){this._iFactor=i}else{this._iFactor=Math.floor(o*.125)}this._iFactorPage=e.browser.firefox?o-i:Math.floor(o*.875)}else{if(e.browser.firefox){this._iFactor=10;this._iFactorPage=Math.floor(o*.8)}else if(e.browser.webkit){this._iFactor=i;this._iFactorPage=Math.floor(o*.875)}else{this._iFactor=7;this._iFactorPage=o-14}}this._$ScrollDomRef=this.$(\"sb\");if(this._bStepMode){if(this.getVertical()){var r=this._iSteps*this._iFactor;if(r>this._iMaxContentDivSize){this._iFactor=this._iFactor/(r/this._iMaxContentDivSize)}var l=this._$ScrollDomRef.height()+Math.ceil(this._iSteps*this._iFactor);this._$ScrollDomRef.find(\"div\").height(l)}else{var l=this._$ScrollDomRef.width()+this._iSteps*this._iFactor;this._$ScrollDomRef.find(\"div\").width(l)}}this.setCheckedScrollPosition(this.getScrollPosition()?this.getScrollPosition():0,true);this._$ScrollDomRef.on(\"scroll\",this.onscroll);if(h.touchEventMode===\"ON\"){this._bSkipTouchHandling=true;var n={width:0,height:0};n[this.getVertical()?\"height\":\"width\"]=this._bStepMode?this.getSteps()*this._iTouchStepTreshold:parseInt(this.getContentSize());this._oTouchScroller.setDimensions(0,0,n.width,n.height);var c=this._$ScrollDomRef.get(0);if(c){var a=c.getBoundingClientRect();this._oTouchScroller.setPosition(a.left+c.clientLeft,a.top+c.clientTop);this._bSkipTouchHandling=false}}};c.prototype.onmousewheel=function(t){if(this.$().is(\":visible\")){var e=t.originalEvent;var o=e.detail?e.detail:e.wheelDelta*-1/40;var i=o>0?true:false;if(this._$ScrollDomRef[0]&&this._$ScrollDomRef[0].contains(t.target)){this._doScroll(n.MouseWheel,i)}else{this._bMouseWheel=true;var s=null;if(this._bStepMode){s=o+this._iOldStep}else{s=o*this._iFactor+this._iOldScrollPos}this.setCheckedScrollPosition(s,true)}t.preventDefault();t.stopPropagation();return false}};c.prototype.ontouchstart=function(t){var e=t.touches;var o=e[0];if(o&&o.target&&o.target.tagName.match(/input|textarea|select/i)){return}if(this._oTouchScroller){this._oTouchScroller.doTouchStart(e,t.timeStamp)}if(e.length==1){t.preventDefault()}};c.prototype.ontouchmove=function(t){if(this._oTouchScroller){this._oTouchScroller.doTouchMove(t.touches,t.timeStamp,t.scale)}};c.prototype.ontouchend=function(t){if(this._oTouchScroller){this._oTouchScroller.doTouchEnd(t.timeStamp)}};c.prototype.ontouchcancel=function(t){if(this._oTouchScroller){this._oTouchScroller.doTouchEnd(t.timeStamp)}};c.prototype.onscroll=function(t){if(this._bSuppressScroll){this._bSuppressScroll=false;t.preventDefault();t.stopPropagation();return false}var o=null;if(this._$ScrollDomRef){if(this.getVertical()){o=Math.round(this._$ScrollDomRef.scrollTop())}else{o=Math.round(this._$ScrollDomRef.scrollLeft());if(e.browser.firefox&&this._bRTL){o=Math.abs(o)}else if(e.browser.webkit&&this._bRTL){var i=this._$ScrollDomRef.get(0);o=i.scrollWidth-i.clientWidth-i.scrollLeft}}}var s=o-this._iOldScrollPos;var r=s>0?true:false;if(s<0){s=s*-1}var l=n.Drag;if(s==this._iFactor){l=n.Step}else if(s==this._iFactorPage){l=n.Page}else if(this._bMouseWheel){l=n.MouseWheel}if(this._bLargeDataScrolling&&l===n.Drag){this._eAction=l;this._bForward=r}else{this._doScroll(l,r)}t.preventDefault();t.stopPropagation();return false};c.prototype._onScrollTimeout=function(){this._scrollTimeout=undefined;this._doScroll(this._eAction,this._bForward);this._eAction=undefined;this._bForward=undefined;this._bTouchScroll=undefined};c.prototype.onmouseup=function(){if(this._bLargeDataScrolling&&(this._eAction||this._bForward||this._bTouchScroll)){this._doScroll(this._eAction,this._bForward);this._eAction=undefined;this._bForward=undefined;this._bTouchScroll=undefined}};c.prototype.ontouchend=c.prototype.onmouseup;c.prototype._handleTouchScroll=function(t,e,o){if(this._bSkipTouchHandling){return}var i=this.getVertical()?e:t;var s;if(this._bStepMode){s=Math.max(Math.round(i/this._iTouchStepTreshold),0)}else{s=Math.round(i)}if(this._iLastTouchScrollerPosition!==s){this._iLastTouchScrollerPosition=s;this.setCheckedScrollPosition(s,true);if(this._bLargeDataScrolling){this._bTouchScroll=true}else{this.fireScroll()}}};c.prototype.unbind=function(t){if(t){this._$OwnerDomRef=jQuery(t);if(this.getVertical()){this._$OwnerDomRef.off(e.browser.firefox?\"DOMMouseScroll\":\"mousewheel\",this.onmousewheel)}if(h.touchEventMode===\"ON\"){this._$OwnerDomRef.off(this._getTouchEventType(\"touchstart\"),this.ontouchstart);this._$OwnerDomRef.off(this._getTouchEventType(\"touchmove\"),this.ontouchmove);this._$OwnerDomRef.off(this._getTouchEventType(\"touchend\"),this.ontouchend);this._$OwnerDomRef.off(this._getTouchEventType(\"touchcancel\"),this.ontouchcancel)}}};c.prototype.bind=function(t){if(t){this._$OwnerDomRef=jQuery(t);if(this.getVertical()){this._$OwnerDomRef.on(e.browser.firefox?\"DOMMouseScroll\":\"mousewheel\",this.onmousewheel)}if(h.touchEventMode===\"ON\"){this._$OwnerDomRef.on(this._getTouchEventType(\"touchstart\"),this.ontouchstart);this._$OwnerDomRef.on(this._getTouchEventType(\"touchmove\"),this.ontouchmove);this._$OwnerDomRef.on(this._getTouchEventType(\"touchend\"),this.ontouchend);this._$OwnerDomRef.on(this._getTouchEventType(\"touchcancel\"),this.ontouchcancel)}}};c.prototype._getTouchEventType=function(t){return h.touchEventMode===\"SIM\"?\"sap\"+t:t};c.prototype.pageUp=function(){this._doScroll(n.Page,false)};c.prototype.pageDown=function(){this._doScroll(n.Page,true)};c.prototype.setScrollPosition=function(t){if(this._$ScrollDomRef){this.setCheckedScrollPosition(t,true)}else{this.setProperty(\"scrollPosition\",t)}return this};c.prototype.setCheckedScrollPosition=function(t,o){var i=Math.max(t,0);if(this._bStepMode===undefined){this._bStepMode=!this.getContentSize()}var s=i;if(this._bStepMode){i=Math.min(i,this.getSteps());s=i*this._iFactor}i=Math.round(i);this._bSuppressScroll=!o;this.setProperty(\"scrollPosition\",i,true);if(this.getVertical()){this._$ScrollDomRef.scrollTop(s)}else{if(e.browser.firefox&&this._bRTL){this._$ScrollDomRef.scrollLeft(-s)}else if(e.browser.webkit&&this._bRTL){var r=this._$ScrollDomRef.get(0);this._$ScrollDomRef.scrollLeft(r.scrollWidth-r.clientWidth-s)}else{this._$ScrollDomRef.scrollLeft(s)}}if(h.touchEventMode===\"ON\"){var l=i;if(this._bStepMode){l=Math.round(i*this._iTouchStepTreshold)}this._oTouchScroller.__scrollTop=this.getVertical()?l:0;this._oTouchScroller.__scrollLeft=this.getVertical()?0:l}};c.prototype.setContentSize=function(t){this.setProperty(\"contentSize\",t,true);this._bStepMode=false;var e=this.$(\"sbcnt\");if(e){if(this.getVertical()){e.height(t)}else{e.width(t)}}return this};c.prototype._doScroll=function(t,o){var i=null;if(this._$ScrollDomRef){if(this.getVertical()){i=Math.round(this._$ScrollDomRef.scrollTop())}else{i=Math.round(this._$ScrollDomRef.scrollLeft());if(e.browser.firefox&&this._bRTL){i=Math.abs(i)}else if(e.browser.webkit&&this._bRTL){var s=this._$ScrollDomRef.get(0);i=s.scrollWidth-s.clientWidth-s.scrollLeft}}}if(this._bStepMode){var h=Math.round(i/this._iFactor);var n=this._iOldStep;if(n!==h){this.setCheckedScrollPosition(h,false);l.debug(\"-----STEPMODE-----: New Step: \"+h+\" --- Old Step: \"+n+\" --- Scroll Pos in px: \"+i+\" --- Action: \"+t+\" --- Direction is forward: \"+o);this.fireScroll({action:t,forward:o,newScrollPos:h,oldScrollPos:n});this._iOldStep=h}}else{i=Math.round(i);this.setProperty(\"scrollPosition\",i,true);l.debug(\"-----PIXELMODE-----: New ScrollPos: \"+i+\" --- Old ScrollPos: \"+this._iOldScrollPos+\" --- Action: \"+t+\" --- Direction is forward: \"+o);this.fireScroll({action:t,forward:o,newScrollPos:i,oldScrollPos:this._iOldScrollPos})}this._bSuppressScroll=false;this._iOldScrollPos=i;this._bMouseWheel=false;r.notifyScrollEvent({type:t})};c.prototype.onThemeChanged=function(){this.invalidate()};c.prototype.getNativeScrollPosition=function(){if(this._$ScrollDomRef){if(this.getVertical()){return Math.round(this._$ScrollDomRef.scrollTop())}else{return Math.round(this._$ScrollDomRef.scrollLeft())}}return 0};c.prototype.setNativeScrollPosition=function(t){var e=Math.round(t);if(this._$ScrollDomRef){if(this.getVertical()){this._$ScrollDomRef.scrollTop(e)}else{this._$ScrollDomRef.scrollLeft(e)}}};return c});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ScrollBarRenderer\", [\"sap/base/i18n/Localization\",\"sap/ui/Device\",\"sap/ui/dom/getScrollbarSize\"],function(e,t,i){\"use strict\";var s={apiVersion:2};s.render=function(s,l){var o=e.getRTL();s.openStart(\"div\",l);s.class(\"sapUiScrollBar\");var n;if(t.support.touch){n=\"sapUiScrollBarTouch\";s.class(n)}var d=l.getVertical();var r=l.getSize();var p=l.getContentSize();var a=i(n);var h=a.width||1;var v=a.height||1;if(d){s.style(\"overflow\",\"hidden\");s.style(\"width\",h+\"px\");s.style(\"height\",r);s.openEnd();s.openStart(\"div\",l.getId()+\"-sb\");s.style(\"width\",h*2+\"px\");s.style(\"height\",\"100%\");s.style(\"overflow-y\",\"scroll\");s.style(\"overflow-x\",\"hidden\");if(o){s.style(\"margin-right\",\"-\"+h+\"px\")}else{s.style(\"margin-left\",\"-\"+h+\"px\")}s.openEnd();s.openStart(\"div\",l.getId()+\"-sbcnt\");s.style(\"width\",h+\"px\");s.style(\"height\",p);s.openEnd();s.close(\"div\");s.close(\"div\");s.openStart(\"div\");s.openEnd();s.openStart(\"span\",l.getId()+\"-ffsize\");s.style(\"position\",\"absolute\");s.style(\"top\",\"-9000px\");s.style(\"left\",\"-9000px\");s.style(\"visibility\",\"hidden\");s.style(\"line-height\",\"normal\");s.openEnd();s.text(\"FF Size\");s.close(\"span\");s.close(\"div\")}else{s.style(\"overflow\",\"hidden\");s.style(\"height\",v+\"px\");s.style(\"width\",r);s.openEnd();s.openStart(\"div\",l.getId()+\"-sb\");s.style(\"height\",v*2+\"px\");s.style(\"margin-top\",\"-\"+v+\"px\");s.style(\"overflow-x\",\"scroll\");s.style(\"overflow-y\",\"hidden\");s.openEnd();s.openStart(\"div\",l.getId()+\"-sbcnt\");s.style(\"height\",v+\"px\");s.style(\"width\",p);s.openEnd();s.close(\"div\");s.close(\"div\")}s.close(\"div\")};return s},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/SeparatorItem\", [\"./Item\",\"./library\"],function(e){\"use strict\";var r=e.extend(\"sap.ui.core.SeparatorItem\",{metadata:{library:\"sap.ui.core\"}});return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Shortcut\", [\"sap/ui/core/StaticArea\",\"sap/ui/core/util/ShortcutHelper\",\"sap/base/assert\"],function(t,e,r){\"use strict\";var o={register:function(r,o,i){if(!r){throw new Error(\"Shortcut.register: oScopeControl must be given.\")}if(typeof i!==\"function\"){throw new Error(\"Shortcut.register: a function fnCallback must be given.\")}var n=e.getNormalizedShortcutSpec(o);e.validateKeyCombination(n);var u=e.findShortcut(r,n);if(u){throw new Error(\"Same shortcut is already registered on this element\")}function a(){var e=document.activeElement,r=document.createElement(\"span\"),o=t.getDomRef(),n=arguments;r.setAttribute(\"tabindex\",0);r.setAttribute(\"id\",\"sap-ui-shortcut-focus\");r.style.position=\"absolute\";r.style.top=\"50%\";r.style.bottom=\"50%\";r.style.left=\"50%\";r.style.right=\"50%\";o.appendChild(r);setTimeout(function(){r.focus();setTimeout(function(){e.focus();o.removeChild(r);i.apply(null,n)})})}var c={};c[\"onkeydown\"]=e.handleKeydown.bind(null,n,o,a);r.addEventDelegate(c);var s=r.data(\"sap.ui.core.Shortcut\");if(!s){s=[];r.data(\"sap.ui.core.Shortcut\",s)}s.push({shortcutSpec:n,platformIndependentShortcutString:e.getNormalizedShortcutString(n),delegate:c})},isRegistered:function(t,o){r(t,\"Shortcut.isRegistered: oScopeControl must be given.\");var i=e.getNormalizedShortcutSpec(o);return!!e.findShortcut(t,i)},unregister:function(t,o){r(t,\"Shortcut.unregister: oScopeControl must be given.\");var i=e.getNormalizedShortcutSpec(o);var n=e.findShortcut(t,i);if(n){t.removeEventDelegate(n.delegate);var u=t.data(\"sap.ui.core.Shortcut\");var a=u.indexOf(n);u.splice(a,1);return true}return false}};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ShortcutHint\", [\"sap/base/Log\",\"sap/ui/core/CommandExecution\",\"sap/ui/core/Lib\"],function(t,o,e){\"use strict\";var n=function(t,o){this.oControl=t;this.oConfig=o};n.prototype._getShortcutText=function(){var t;if(this.oConfig.commandName){t=this._getShortcutHintFromCommandExecution(this.oControl,this.oConfig.commandName)}else if(this.oConfig.message){t=this.oConfig.message}else if(this.oConfig.messageBundleKey){t=this._getShortcutHintFromMessageBundle(this.oControl,this.oConfig.messageBundleKey)}return t};n.prototype._getShortcutHintFromCommandExecution=function(e,n){try{return o.find(e,n)._getCommandInfo().shortcut}catch(o){t.error(\"Error on retrieving command shortcut. Command \"+n+\" was not found!\")}};n.prototype._getShortcutHintFromMessageBundle=function(t,o){var n=e.getResourceBundleFor(t.getMetadata().getLibraryName());return n.getText(o)};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ShortcutHintsMixin\", [\"sap/ui/base/EventProvider\",\"./Element\",\"./ShortcutHint\",\"./Popup\",\"./InvisibleText\",\"sap/ui/events/checkMouseEnterOrLeave\",\"sap/ui/Device\"],function(t,e,i,n,o,r,s){\"use strict\";var u=function(t){this.sControlId=t.getId();this._hintConfigs=[]};u.init=function(t){t._shortcutHintsMixin=new u(t)};u.addConfig=function(t,e,i){if(s.system.phone){return}if(/sap-ui-xx-noshortcuthints=true/.test(document.location.search)){return}var n=t._shortcutHintsMixin;if(!n){u.init(t);n=t._shortcutHintsMixin}n._hintConfigs.push(e);n.initHint(e,i)};u.hideAll=function(){var t;for(var i in f.mControls){t=e.getElementById(i);if(t){t._shortcutHintsMixin.hideShortcutHint()}}};u.isDOMIDRegistered=function(t){return f.mDOMNodes[t]&&!!f. Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/json/JSONListBinding\", [\"sap/base/Log\",\"sap/base/util/deepEqual\",\"sap/base/util/deepExtend\",\"sap/base/util/each\",\"sap/base/util/extend\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/ClientListBinding\"],function(t,e,s,i,a,h,n){\"use strict\";var o=n.extend(\"sap.ui.model.json.JSONListBinding\");o.prototype.updateIndices=function(){var t;this.aIndices=[];if(Array.isArray(this.oList)){for(t=0;t0){u={};for(X=0;X0){v=h.split(\"/\")[0];var F=s._parserData.serviceMetadata.dataServices&&s._parserData.serviceMetadata.dataServices.schema&&s._parserData.serviceMetadata.dataServices.schema.length;if(F){for(var M=s._parserData.serviceMetadata.dataServices.schema.length-1;M>=0;M--){var W=s._parserData.serviceMetadata.dataServices.schema[M];if(W.entityContainer){var k=v.split(\".\");for(var w=W.entityContainer.length-1;w>=0;w--){if(W.entityContainer[w].name===k[k.length-1]){S=h.replace(v+\"/\",\"\");break}}}}}if(!S){g=h.replace(v+\"/\",\"\")}}if(g){if(!n.propertyAnnotations){n.propertyAnnotations={}}if(!n.propertyAnnotations[v]){n.propertyAnnotations[v]={}}if(!n.propertyAnnotations[v][g]){n.propertyAnnotations[v][g]={}}A=s._oXPath.selectNodes(\"./d:Annotation\",m);for(var L=0;L=0;g-=1){t=e.dataServices.schema[g];if(t.entityType){o=t.namespace;i=t.entityType;s=t.complexType;for(var A=0;A-1){var o=e.substr(0,n);var i=s.findNavProperty(a,o);if(i){var l=s._parserData.metadataInstance._getEntityTypeByNavPropertyObject(i);if(l){a=l.entityType;e=e.substr(n+1)}}}if(e.charAt(0)===\"@\"&&e.indexOf(r.Alias)===1){e=e.slice(r.Alias.length+2)}if(e.indexOf(\"/\")>=0){if(t[e.slice(0,e.indexOf(\"/\"))]){a=e.slice(0,e.indexOf(\"/\"));e=e.slice(e.indexOf(\"/\")+1)}}return t[a]&&t[a][e]},enrichFromPropertyValueAttributes:function(e,t){var a={Property:true,Qualifier:true,Term:true,xmlns:true};for(var r=0;r-1){var i=o.split(\" \");e[n]=i.map(s.replaceWithAlias).join(\" \")}else{e[n]=s.replaceWithAlias(o)}}}return e},_getRecordValues:function(e){var t=[];var a=s._oXPath;for(var r=0;r0){if(f.length===0&&p.length>0){l=c[0]}else{l=c}}else{var m=i.selectNodes(\"./d:Collection/d:AnnotationPath | ./d:Collection/d:NavigationPropertyPath | ./d:Collection/d:PropertyPath\",e);if(m.length>0){l=s._getTextValues(m)}else{var h=i.selectNodes('./d:*[not(local-name() = \"Annotation\")]',e);if(h.length>0){for(r=0;r0){for(r=0;r=0;r-=1){var n=a.dataServices.schema[r];if(n.entityType){var o=n.namespace+\".\";var i=n.entityType;for(var l=i.length-1;l>=0;l-=1){if(o+i[l].name===e&&i[l].navigationProperty){for(var p=0;p1){var u=new t({filters:e,and:this.bAND});return u}else{return e[0]}}});return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/MessageScope\", function(){\"use strict\";var e={RequestedObjects:\"RequestedObjects\",BusinessObject:\"BusinessObject\"};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/ODataAnnotations\", [\"./AnnotationParser\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/ui/base/EventProvider\",\"sap/ui/thirdparty/jquery\"],function(t,e,a,o,s,n,r,jQuery){\"use strict\";var i=r.extend(\"sap.ui.model.odata.ODataAnnotations\",{constructor:function(t){r.apply(this,arguments);if(arguments.length!==1){if(typeof arguments[2]===\"object\"){t=arguments[2]}t.urls=arguments[0];t.metadata=arguments[1]}this.oMetadata=t.metadata;this.oAnnotations=t.annotationData?t.annotationData:{};this.bLoaded=false;this.bAsync=t&&t.async;this.xPath=null;this.oError=null;this.bValidXML=true;this.oRequestHandles=[];this.oLoadEvent=null;this.oFailedEvent=null;this.mCustomHeaders=t.headers?s({},t.headers):{};if(t.urls){this.addUrl(t.urls);if(!this.bAsync){e(!n(this.oMetadata),\"Metadata must be available for synchronous annotation loading\");if(this.oError){a.error(\"OData annotations could not be loaded: \"+this.oError.message)}}}},metadata:{publicMethods:[\"parse\",\"getAnnotationsData\",\"attachFailed\",\"detachFailed\",\"attachLoaded\",\"detachLoaded\"]}});i.prototype.getData=function(){return this.oAnnotations};i.prototype.getAnnotationsData=i.prototype.getData;i.prototype.isLoaded=function(){return this.bLoaded};i.prototype.isFailed=function(){return this.oError!==null};i.prototype.fireLoaded=function(t){this.fireEvent(\"loaded\",t);return this};i.prototype.attachLoaded=function(t,e,a){this.attachEvent(\"loaded\",t,e,a);return this};i.prototype.detachLoaded=function(t,e){this.detachEvent(\"loaded\",t,e);return this};i.prototype.fireFailed=function(t){this.fireEvent(\"failed\",t);return this};i.prototype.attachFailed=function(t,e,a){this.attachEvent(\"failed\",t,e,a);return this};i.prototype.detachFailed=function(t,e){this.detachEvent(\"failed\",t,e);return this};i.prototype.setHeaders=function(t){this.mCustomHeaders=s({},t)};i.prototype._createXMLDocument=function(t,e){var a=null;if(typeof t===\"string\"){e=t;t=null}if(t){a=t}else{a=(new DOMParser).parseFromString(e,\"application/xml\")}return a};i.prototype._documentHasErrors=function(t){return t.getElementsByTagName(\"parsererror\").length>0};i.prototype._mergeAnnotationData=function(e,a){if(!this.oAnnotations){this.oAnnotations={}}t.merge(this.oAnnotations,e);this.bLoaded=true;if(!a){this.fireLoaded({annotations:e})}};i.prototype.setXML=function(e,a,o){var r={success:function(){},error:function(){},fireEvents:false};o=s({},r,o);var i=this._createXMLDocument(e,a);var u=function(e){var a={xmlDoc:e};var s=t.parse(this.oMetadata,e);if(s){a.annotations=s;o.success(a);this._mergeAnnotationData(s,!o.fireEvents)}else{o.error(a);if(o.fireEvents){this.fireFailed(a)}}}.bind(this,i);if(this._documentHasErrors(i)){o.error({xmlDoc:i});return false}else{var l=this.oMetadata.getServiceMetadata();if(!l||n(l)){this.oMetadata.attachLoaded(u)}else{u()}return true}};i.prototype.addUrl=function(t){var e=this;var a=t;if(Array.isArray(t)&&t.length==0){return Promise.resolve({annotations:this.oAnnotations})}if(!Array.isArray(t)){a=[t]}return new Promise(function(t,o){var s=0;var n={annotations:null,success:[],fail:[]};var r=function(r){s++;if(r.type===\"success\"){n.success.push(r)}else{n.fail.push(r)}if(s===a.length){n.annotations=e.oAnnotations;if(n.success.length>0){var i={annotations:e.oAnnotations,results:n};e.fireLoaded(i)}if(n.success.length=this.iLength-t);if(this.oModel.getServiceMetadata()){if(!this.bPendingRequest&&l.length>0&&(s||e=Math.max(t-i,0);f--){u=this.aKeys[f];if(!u){h=f+1;break}}for(var d=t+e;di&&o0){if(n>t){n=r;a+=i}}if(this.bLengthFinal&&this.iLength0&&!this.aFilters.length>0){this.aKeys=e;this.iLength=e.length;this.bLengthFinal=true;this._fireChange({reason:o.Context})}else if(!this.oModel.resolve(this.sPath,this.oContext)||e===null){this.aKeys=[];this.iLength=0;this.bLengthFinal=true;this._fireChange({reason:o.Context})}else{this.refresh()}}}}};c.prototype.getDownloadUrl=function(t){var e=[],i;if(t){e.push(\"$format=\"+encodeURIComponent(t))}if(this.sSortParams){e.push(this.sSortParams)}if(this.sFilterParams){e.push(this.sFilterParams)}if(this.sCustomParams){e.push(this.sCustomParams)}i=this.oModel.resolve(this.sPath,this.oContext);return i&&this.oModel._createRequestUrl(i,null,e)};c.prototype.loadData=function(e,i,s){var a=this,r=false;if(e||i){this.sRangeParams=\"$skip=\"+e+\"&$top=\"+i;this.iStartIndex=e}else{e=this.iStartIndex}var h=[];if(this.sRangeParams){h.push(this.sRangeParams)}if(this.sSortParams){h.push(this.sSortParams)}if(this.sFilterParams){h.push(this.sFilterParams)}if(this.sCustomParams){h.push(this.sCustomParams)}if(!this.bLengthFinal&&(this.sCountMode==t.Inline||this.sCountMode==t.Both)){h.push(\"$inlinecount=allpages\");r=true}function l(t){n(t.results,function(t,i){a.aKeys[e+t]=a.oModel._getKey(i)});if(r&&t.__count){a.iLength=parseInt(t.__count);a.bLengthFinal=true}if(a.iLength0||this.aFilters.length>0){this.refresh();return}else{this.aKeys=u;this.iLength=u.length;this.bLengthFinal=true;s=true}}else if(e){n(this.aKeys,function(t,i){if(i in e){s=true;return false}return true})}else{s=true}if(s&&this.aLastContexts){s=false;var d=this._getContexts(this.iLastStartIndex,this.iLastLength,this.iLastThreshold);if(this.aLastContexts.length!=d.length){s=true}else{n(this.aLastContexts,function(t,e){r=l.oLastContextData[e.getPath()];h=d[t].getObject();if(!a(r,h,true)){s=true;return false}return true})}}}if(t||s||this.bNeedsUpdate){this.bNeedsUpdate=false;this._fireChange({reason:i})}this.sChangeReason=undefined;this.bIgnoreSuspend=false};c.prototype.resetData=function(){this.aKeys=[];this.iLength=0;this.bLengthFinal=false;this.sChangeReason=undefined;this.bDataAvailable=false;if(this.oModel.isCountSupported()&&(this.sCountMode==t.Request||this.sCountMode==t.Both)){this._getLength()}};c.prototype.abortPendingRequest=function(){if(this.oRequestHandle){this.oRequestHandle.abort();this.oRequestHandle=null;this.bPendingRequest=false}};c.prototype.sort=function(t,e){var i=false;if(!t){t=[]}if(t instanceof p){t=[t]}this.aSorters=t;this.createSortParams(t);if(!this.bInitial){this.aKeys=[];this.abortPendingRequest();this.sChangeReason=o.Sort;this._fireRefresh({reason:this.sChangeReason});this._fireSort({sorter:t});i=true}if(e){return i}else{return this}};c.prototype.createSortParams=function(t){this.sSortParams=e.createSortParams(t)};c.prototype.filter=function(t,e,i){var s=false;if(!t){t=[]}if(t instanceof l){t=[t]}this.oModel.checkFilter(t);if(e==f.Application){this.aApplicationFilters=t}else{this.aFilters=t}if(!t||!Array.isArray(t)||t.length==0){this.aFilters=[]}if(!this.aApplicationFilters||!Array.isArray(this.aApplicationFilters)||this.aApplicationFilters.length===0){this.aApplicationFilters=[]}this.convertFilters();this.oCombinedFilter=u.combineFilters(this.aFilters,this.aApplicationFilters);this.createFilterParams(this.oCombinedFilter);if(!this.bInitial){this.resetData();this.abortPendingRequest();this.sChangeReason=o.Filter;this._fireRefresh({reason:this.sChangeReason});if(e==f.Application){this._fireFilter({filters:this.aApplicationFilters})}else{this._fireFilter({filters:this.aFilters})}s=true}if(i){return s}else{return this}};c.prototype.convertFilters=function(){this.aFilters=this.aFilters.map(function(t){return t instanceof g?t.convert():t});this.aApplicationFilters=this.aApplicationFilters.map(function(t){return t instanceof g?t.convert():t})};c.prototype.createFilterParams=function(t){this.sFilterParams=e.createFilterParams(t,this.oModel.oMetadata,this.oEntityType)};c.prototype._initSortersFilters=function(){var t=this.oModel.resolve(this.sPath,this.oContext);if(!t){return}this.oEntityType=this._getEntityType();this.convertFilters();this.oCombinedFilter=u.combineFilters(this.aFilters,this.aApplicationFilters);this.createSortParams(this.aSorters);this.createFilterParams(this.oCombinedFilter)};c.prototype._getEntityType=function(){var t=this.oModel.resolve(this.sPath,this.oContext);if(t){var e=this.oModel.oMetadata._getEntityTypeByPath(t);i(e,\"EntityType for path \"+t+\" could not be found!\");return e}return undefined};c.prototype.resume=function(){this.bIgnoreSuspend=false;d.prototype.resume.apply(this,arguments)};return c});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/ODataMessageParser\", [\"sap/ui/core/Lib\",\"sap/ui/model/odata/ODataMetadata\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/thirdparty/URI\",\"sap/ui/core/Messaging\",\"sap/ui/core/message/MessageParser\",\"sap/ui/core/message/Message\",\"sap/ui/core/message/MessageType\",\"sap/base/Log\"],function(e,r,t,s,a,i,n,o,u){\"use strict\";var d=\"sap.ui.model.odata.ODataMessageParser\",c=/^\\/+|\\/$/g,l={error:o.Error,info:o.Information,success:o.Success,warning:o.Warning};var h=i.extend(\"sap.ui.model.odata.ODataMessageParser\",{metadata:{publicMethods:[\"parse\",\"setProcessor\",\"getHeaderField\",\"setHeaderField\"]},constructor:function(e,r,t){i.apply(this);this._serviceUrl=g(this._parseUrl(e).url);this._metadata=r;this._headerField=\"sap-message\";this._lastMessages=[];this._bPersistTechnicalMessages=t}});h.prototype.getHeaderField=function(){return this._headerField};h.prototype.setHeaderField=function(e){this._headerField=e;return this};h.prototype.parse=function(e,r,t,s,a){var i,n,o=String(e.statusCode);if(r.method===\"GET\"&&o===\"204\"){return}n={request:r,response:e,url:r.requestUri};if(e.statusCode>=200&&e.statusCode<300){i=this._parseHeader(e,n)}else if(e.statusCode>=400&&e.statusCode<600){try{i=this._parseBody(e,n)}catch(e){i=this._createGenericError(n);u.debug(\"Failed to parse error messages from the response body\",e,d)}finally{this._logErrorMessages(i,r,o)}}else{i=this._createGenericError(n);u.error(\"Request failed with unsupported status code \"+o+\": \"+r.method+\" \"+r.requestUri,undefined,d)}if(r.method===\"GET\"&&o===\"424\"){return}this._propagateMessages(i,n,t,s,!a)};h.prototype._getAffectedTargets=function(e,r,t,s){var a=Object.assign({\"\":true},t,s),i,n=this._parseUrl(r.url).url;if(r.request.key&&r.request.created){a[r.request.key]=true}if(n.startsWith(this._serviceUrl)){n=n.slice(this._serviceUrl.length+1)}i=this._metadata._getEntitySetByPath(n);if(i){a[i.name]=true}e.forEach(function(e){e.getTargets().forEach(function(e){var r,t,s;if(!e){return}s=e.replace(c,\"\");a[s]=true;t=s.lastIndexOf(\"/\");if(t>0){r=s.slice(0,t);a[r]=true}})});return a};h.prototype._propagateMessages=function(e,t,s,i,n){var o,l=t.request.deepPath,h=[],p,f=l&&t.request.updateAggregatedMessages,g=t.request.headers&&t.request.headers[\"sap-messages\"]===\"transientOnly\",y=[],_=r._returnsCollection(t.request.functionMetadata),m,v,M;function T(e,r){return r.some(function(e){return o[e]})||f&&e.aFullTargets.some(function(e){if(_){return p.some(function(r){var t=r.slice(r.indexOf(\"(\"));return e.startsWith(l+t)})}else{return e.startsWith(l)}})}s=s||{};if(g){h=this._lastMessages;m=e.some(function(e){return!e.getPersistent()&&!e.getTechnical()});if(m){u.error(\"Unexpected non-persistent message in response, but requested only \"+\"transition messages\",undefined,d)}}else{o=this._getAffectedTargets(e,t,s,i);p=Object.keys(s);v=t.response.statusCode;M=v>=200&&v<300;this._lastMessages.forEach(function(e){var r=e.getTargets().map(function(e){e=e.replace(c,\"\");var r=e.lastIndexOf(\")/\");if(r>0){e=e.substr(0,r+1)}return e});if(M||n){if(!e.getPersistent()&&T(e,r)){y.push(e)}else{h.push(e)}}else if(!e.getPersistent()&&e.getTechnical()&&T(e,r)){y.push(e)}else{h.push(e)}})}a.updateMessages(y,e);this._lastMessages=h.concat(e)};h.prototype._createMessage=function(e,r,t){var s=e.target&&e.target.indexOf(\"/#TRANSIENT#\")===0||e.transient||e.transition||t&&this._bPersistTechnicalMessages,a,i=typeof e.message===\"object\"?e.message.value:e.message,o=e[\"@sap.severity\"]||e.severity;e.transition=!!s;a=this._createTargets(e,r,t);return new n({code:e.code||\"\",description:e.description,descriptionUrl:e.longtext_url||\"\",fullTarget:a.aDeepPaths,message:i,persistent:!!s,processor:this._processor,target:a.aTargets,technical:t,technicalDetails:{headers:r.response.headers,statusCode:r.response.statusCode},type:l[o]||o})};h._isResponseForCreate=function(e){var r=e.request,t=e.response;if(r.method===\"POST\"&&t.statusCode==201&&t.headers[\"location\"]){return true}if(r.key&&r.created&&t.statusCode>=400){return false}return undefined};h.prototype._createTarget=function(e,r,s,a){var i,n,o,u,d,c,l,p,f,g=r.request,y=r.response;if(e===undefined&&(!s&&g.headers[\"sap-message-scope\"]===\"BusinessObject\"||s&&a)){return{deepPath:\"\",target:\"\"}}e=e||\"\";e=e.startsWith(\"/#TRANSIENT#\")?e.slice(12):e;if(e[0]!==\"/\"){n=h._isResponseForCreate(r);o=g.deepPath||\"\";if(n===true){f=y.headers[\"location\"]}else if(n===false){f=g.key}else{f=r.url}p=this._parseUrl(f);l=p.url;u=l.indexOf(this._serviceUrl);if(u>-1){c=l.slice(u+this._serviceUrl.length)}else{c=\"/\"+l}if(!n&&g.functionMetadata){c=g.functionTarget}if(c.slice(c.lastIndexOf(\"/\")).indexOf(\"(\")>-1||!this._metadata._isCollection(c)){o=e?o+\"/\"+e:o;e=e?c+\"/\"+e:c}else{o=o+e;e=c+e}}i=this._processor.resolve(e,undefined,true);while(i&&i.lastIndexOf(\"/\")>0&&i!==d){d=i;i=this._processor.resolve(i,undefined,true)||d}e=i||e;return{deepPath:t._normalizeKey(this._metadata._getReducedPath(o||e)),target:t._normalizeKey(e)}};h.prototype._createTargets=function(e,r,t){var s=[],a=Array.isArray(e.additionalTargets)?[e.target].concat(e.additionalTargets):[e.target],i,n=[],o=this;if(e.propertyref!==undefined&&a[0]!==undefined){u.warning(\"Used the message's 'target' property for target calculation; the property\"+\" 'propertyref' is deprecated and must not be used together with 'target'\",r.url,d)}else if(a[0]===undefined){a[0]=e.propertyref}a.forEach(function(a){i=o._createTarget(a,r,t,e.transition);s.push(i.deepPath);n.push(i.target)});return{aDeepPaths:s,aTargets:n}};h.prototype._parseHeader=function(e,r){var t,s,a,i,n=this.getHeaderField(),o=[];if(!e.headers){return o}for(s in e.headers){if(s.toLowerCase()===n.toLowerCase()){n=s}}if(!e.headers[n]){return o}a=e.headers[n];try{i=JSON.parse(a);o.push(this._createMessage(i,r));if(Array.isArray(i.details)){for(t=0;t-1?this._parseBodyXML(e,r,t):this._parseBodyJSON(e,r)};h.prototype._createGenericError=function(r){return[this._createMessage({description:r.response.body,message:e.getResourceBundleFor(\"sap.ui.core\").getText(\"CommunicationError\"),severity:o.Error,transition:true},r,true)]};h.prototype._getBodyMessages=function(e,r,t){var s=t.request.headers[\"Content-ID\"],a=[],i=this._createMessage(e,t,true),n=this;r.forEach(function(e){var r=n._createMessage(e,t,true);if(i&&i.getCode()===r.getCode()&&i.getMessage()===r.getMessage()){i=undefined}if(!s||!e.ContentID||s===e.ContentID){a.push(r)}});if(i){a.unshift(i)}return a};h.prototype._logErrorMessages=function(e,r,t){var s=e.length?JSON.stringify(e.map(function(e){return{code:e.getCode(),message:e.getMessage(),persistent:e.getPersistent(),targets:e.getTargets(),type:e.getType()}})):\"Another request in the same change set failed\";u.error(\"Request failed with status code \"+t+\": \"+r.method+\" \"+r.requestUri,s,d)};h.prototype._parseBodyXML=function(e,r,t){var s,a,i,n,u,d,c,l=(new DOMParser).parseFromString(e.body,t),h=y(l,[\"error\",\"errordetail\"]),p=[];if(!h.length){return this._createGenericError(r)}for(n=0;n-1){r.hash=r.url.substr(t+1);r.url=r.url.substr(0,t)}t=e.indexOf(\"?\");if(t>-1){var a=r.url.substr(t+1);r.parameters=s.parseQuery(a);r.url=r.url.substr(0,t)}return r};h.prototype._setPersistTechnicalMessages=function(e){this._bPersistTechnicalMessages=e};function p(e){if(e&&e.headers){for(var r in e.headers){if(r.toLowerCase()===\"content-type\"){return e.headers[r].replace(/([^;]*);.*/,\"$1\")}}}return false}var f=document.createElement(\"a\");function g(e){f.href=e;return s.parse(f.href).path}function y(e,r){var t=[];var s={};for(var a=0;au){n=n-f;p=true}if(a){if(s-o+h>s){o=s-(o+h);p=true}else{o=s-o;p=true}}else{if(o+h>s){o=o-h;p=true}}this._bOpenedAsContextMenu=false;p&&this.oPopup.setPosition(\"begin top\",\"begin top\",i,o+\" \"+n,\"flipfit\")};_.prototype.close=function(e){if(!this.isOpen()||_._dbg){return}this._discardOpenSubMenuDelayed();p(this,false);delete this._bFixed;g.unbindAnyEvent(this.fAnyEventHandlerProxy);if(this._bOrientationChangeBound){jQuery(r).off(\"orientationchange\",this.fOrientationChangeHandler);this._bOrientationChangeBound=false}this.closeSubmenu();this.setHoveredItem();if(!e){this.bIgnoreOpenerDOMRef=true}this.getPopup().close(0);this.bOpen=this.getPopup().isOpen();this._detachResizeHandler();this._resetDelayedRerenderItems();this.$().remove();this.bOutput=false;if(this.isSubMenu()){this.getParent().getParent().oOpenedSubMenu=null}};_.prototype.isOpen=function(){return this.getPopup().isOpen()};_.prototype._menuClosed=function(){this.fireClosed();if(this.oOpenerRef){if(!this.bIgnoreOpenerDOMRef){try{this.oOpenerRef.focus()}catch(e){c.warning(\"Menu.close cannot restore the focus on opener \"+this.oOpenerRef+\", \"+e)}}this.oOpenerRef=undefined}};_.prototype.onclick=function(e){this.selectItem(this.getItemByDomRef(e.target),false,!!(e.metaKey||e.ctrlKey));e.preventDefault();e.stopPropagation()};_.prototype.onsapnext=function(e){var t,i,o=this.oHoveredItem?this.oHoveredItem.getSubmenu():undefined;if(e.keyCode!==d.ARROW_DOWN&&!e.metaKey&&!e.altKey){if(o){if(o.isOpen()){i=o.getNextSelectableItem(-1);o.setHoveredItem(i);i&&i.focus(this)}else{this.openSubmenu(this.oHoveredItem,true)}}return}if(o&&o.isOpen()){this.closeSubmenu(false,true)}t=this.oHoveredItem?this._getItems().indexOf(this.oHoveredItem):-1;i=this.getNextSelectableItem(t);this.setHoveredItem(i);i&&i.focus(this);if(!e.metaKey&&!e.altKey){e.preventDefault();e.stopPropagation()}};_.prototype.onsapnextmodifiers=_.prototype.onsapnext;_.prototype.onsapprevious=function(e){var t=this.oHoveredItem?this._getItems().indexOf(this.oHoveredItem):-1,i=this.getPreviousSelectableItem(t),o=this.oHoveredItem?this.oHoveredItem.getSubmenu():null;if(e.keyCode!==d.ARROW_UP&&!e.metaKey&&!e.altKey){if(this.isSubMenu()){this.close(true)}e.preventDefault();e.stopPropagation();return}if(o&&o.isOpen()){this.closeSubmenu(false,true)}this.setHoveredItem(i);i&&i.focus(this);if(!e.metaKey&&!e.altKey){e.preventDefault();e.stopPropagation()}};_.prototype.onsappreviousmodifiers=_.prototype.onsapprevious;_.prototype.onsaphome=function(e){var t=this.getNextSelectableItem(-1);this.setHoveredItem(t);t&&t.focus(this);e.preventDefault();e.stopPropagation()};_.prototype.onsapend=function(e){var t=this.getPreviousSelectableItem(this._getItems().length);this.setHoveredItem(t);t&&t.focus(this);e.preventDefault();e.stopPropagation()};_.prototype.onsappagedown=function(e){var t=this._getItems(),i=this.oHoveredItem?t.indexOf(this.oHoveredItem):-1,o;if(this.getPageSize()<1){this.onsapend(e);return}i+=this.getPageSize();if(i>=t.length){this.onsapend(e);return}o=this.getNextSelectableItem(i-1);this.setHoveredItem(o);o&&o.focus(this);e.preventDefault();e.stopPropagation()};_.prototype.onsappageup=function(e){var t=this.oHoveredItem?this._getItems().indexOf(this.oHoveredItem):-1,i;if(this.getPageSize()<1){this.onsaphome(e);return}t-=this.getPageSize();if(t<0){this.onsaphome(e);return}i=this.getPreviousSelectableItem(t+1);this.setHoveredItem(i);i&&i.focus(this);e.preventDefault();e.stopPropagation()};_.prototype.onsapselect=function(e){this._sapSelectOnKeyDown=true;e.preventDefault();e.stopPropagation()};_.prototype.onkeyup=function(e){if(e.keyCode===d.ARROW_LEFT||e.keyCode===d.ARROW_RIGHT){return}if(this.oHoveredItem&&jQuery(e.target).prop(\"tagName\")!=\"INPUT\"){var t=this.oHoveredItem.getDomRef();jQuery(t).trigger(\"focus\")}if(!this._sapSelectOnKeyDown){return}else{this._sapSelectOnKeyDown=false}if(!m.events.sapselect.fnCheck(e)&&e.keyCode!==d.ENTER){return}this.selectItem(this.oHoveredItem,true,false);e.preventDefault();e.stopPropagation()};_.prototype.onsapbackspace=function(e){if(jQuery(e.target).prop(\"tagName\")!=\"INPUT\"){e.preventDefault()}};_.prototype.onsapbackspacemodifiers=_.prototype.onsapbackspace;_.prototype.onsapescape=function(e){this._bLeavingMenu=true;this.close(true);e.preventDefault();e.stopPropagation()};_.prototype.onsaptabnext=function(e){if(this.isSubMenu()){e.preventDefault()}this._bLeavingMenu=true;this.close(true);e.stopPropagation()};_.prototype.onsaptabprevious=_.prototype.onsaptabnext;_.prototype._openSubMenuDelayed=function(e){if(!e){return}var t=e.getSubmenu(),i=t&&t._getItems().length;this._discardOpenSubMenuDelayed();this._delayedSubMenuTimer=setTimeout(function(){if(i){this.setHoveredItem(e);e&&e.focus(this);this.openSubmenu(e,false,true)}}.bind(this),i?_._DELAY_SUBMENU_TIMER:_._DELAY_SUBMENU_TIMER_EXT)};_.prototype._discardOpenSubMenuDelayed=function(e){if(this._delayedSubMenuTimer){clearTimeout(this._delayedSubMenuTimer);this._delayedSubMenuTimer=null}};_.prototype.onmouseout=function(e){if(!o.system.desktop){return}if(y(e,this.getDomRef())){this.setHoveredItem(null);if(!this.oOpenedSubMenu||!(this.oOpenedSubMenu.getParent()===this.oHoveredItem)){this.setHoveredItem(this.oHoveredItem)}this._discardOpenSubMenuDelayed()}};_.prototype.onsapfocusleave=function(e){if(this.oOpenedSubMenu||!this.isOpen()){return}if(o.os.name==\"mac\"&&o.browser.firefox&&this.isOpen()){var t=e.relatedControlId,i=t?a.byId(t):null,n=i&&i instanceof s;if(i&&!n){this._getItems()[0].focus();return}}this.getRootMenu().handleOuterEvent(this.getId(),e)};_.prototype.handleOuterEvent=function(e,t){var i=false,n=o.support.touch||o.system.combi;this.bIgnoreOpenerDOMRef=false;if(t.type==\"mousedown\"||t.type==\"touchstart\"){if(n&&(t.isMarked(\"delayedMouseEvent\")||t.isMarked(\"cancelAutoClose\"))){return}var s=this;while(s&&!i){if(l(s.getDomRef(),t.target)){i=true}s=s.oOpenedSubMenu}}else if(t.type==\"sapfocusleave\"){if(n){return}if(t.relatedControlId){var s=this;while(s&&!i){if(s.oOpenedSubMenu&&s.oOpenedSubMenu.getId()==t.relatedControlId||l(s.getDomRef(),jQuery(document.getElementById(t.relatedControlId)).get(0))){i=true}s=s.oOpenedSubMenu}}if(!i){this.bIgnoreOpenerDOMRef=true}}if(!i&&this.fireBeforeClose()){this.close()}};_.prototype.getItemByDomRef=function(e){var t=this._getItems(),i=t.length;for(var o=0;on){t.scrollTop=n}else if(n+r>o+s){t.scrollTop=Math.ceil(n+r-s)}};_.prototype._bringToFront=function(){jQuery(document.getElementById(this.getPopup().getId())).mousedown()};_.prototype.checkEnabled=function(e){return e&&e.getEnabled()&&this.getEnabled()};_.prototype.getNextSelectableItem=function(e){var t=this._getItems();var i=t[e];for(var o=e+1;o=0;o--){if(t[o].getVisible()){return t[o]}}return i&&i.getVisible()?i:null};_.prototype.setRootMenuTopStyle=function(e){this.getRootMenu().bUseTopStyle=e;_.rerenderMenu(this.getRootMenu())};_.rerenderMenu=function(e){var t=e._getItems();for(var i=0;ie.getSelected&&e.getSelected()&&e._getItemSelectionMode()!==I.None)};_.prototype._getItems=function(){var e=this.getItems(),t=[],i,o;for(o=0;o0){var n=e._getItems();for(var s=0;si){o.css(\"max-height\",i+\"px\").toggleClass(\"sapUiMnuScroll\",true)}else{o.css(\"max-height\",\"\").toggleClass(\"sapUiMnuScroll\",false)}}function M(e){var t;if(!e){return false}if(e instanceof jQuery){e=e.get(0)}t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(r.innerHeight||document.documentElement.clientHeight)&&t.right<=(r.innerWidth||document.documentElement.clientWidth)}})(window);return _});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/MenuItem\", [\"sap/ui/core/Element\",\"sap/ui/core/IconPool\",\"sap/ui/events/KeyCodes\",\"./MenuItemBase\",\"./library\",\"sap/ui/core/library\"],function(e,t,o,n,i,s){\"use strict\";var a=s.ItemSelectionMode;var r=n.extend(\"sap.ui.unified.MenuItem\",{metadata:{interfaces:[\"sap.ui.unified.IMenuItem\"],library:\"sap.ui.unified\",properties:{text:{type:\"string\",group:\"Appearance\",defaultValue:\"\"},icon:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:\"\"},selected:{type:\"boolean\",group:\"Behavior\",defaultValue:false},shortcutText:{type:\"string\",group:\"Appearance\",defaultValue:\"\"},_expanded:{type:\"boolean\",group:\"Misc\",visibility:\"hidden\",defaultValue:undefined}},aggregations:{endContent:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"endContent\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"},_group:{type:\"sap.ui.unified.MenuItemGroup\",group:\"Behavior\",visibility:\"hidden\"}}}});t.insertFontFaceStyle();r.prototype.render=function(e,t,o,n){var i=e,r=t.getSubmenu(),l=t.getEnabled(),p=t.getSelected()&&t._getItemSelectionMode()!==a.None,u=t.getEndContent(),d=t.getShortcutText(),c,g;i.openStart(\"li\",t);if(t.getVisible()){i.attr(\"tabindex\",\"0\")}i.class(\"sapUiMnuItm\");if(n.iItemNo==1){i.class(\"sapUiMnuItmFirst\")}else if(n.iItemNo==n.iTotalItems){i.class(\"sapUiMnuItmLast\")}if(!o.checkEnabled(t)){i.class(\"sapUiMnuItmDsbl\")}if(t.getStartsSection()){i.class(\"sapUiMnuItmSepBefore\")}if(t.getTooltip_AsString()){i.attr(\"title\",t.getTooltip_AsString())}if(n.bAccessible){switch(t._getItemSelectionMode()){case a.SingleSelect:c=\"menuitemradio\";break;case a.MultiSelect:c=\"menuitemcheckbox\";break;default:c=\"menuitem\"}i.accessibilityState(t,{role:c,disabled:!l,posinset:n.iItemNo,setsize:n.iTotalItems,selected:null,checked:p?true:undefined,labelledby:{value:this.getId()+\"-txt\",append:true},keyshortcuts:!r&&d?d:null,haspopup:r&&s.aria.HasPopup.Menu.toLowerCase(),owns:r&&r.getId(),expanded:r&&t.getProperty(\"_expanded\")})}i.openEnd();i.openStart(\"div\");i.class(\"sapUiMnuItmIco\");i.openEnd();if(t.getIcon()){g=t._getIcon();i.renderControl(g)}i.close(\"div\");i.openStart(\"div\",this.getId()+\"-txt\");i.class(\"sapUiMnuItmTxt\");i.openEnd();i.text(t.getText());i.close(\"div\");i.openStart(\"div\",this.getId()+\"-scuttxt\");i.class(\"sapUiMnuItmSCut\");i.openEnd();if(!r&&d){i.text(d)}i.close(\"div\");if(r){i.openStart(\"div\");i.class(\"sapUiMnuItmSbMnu\");i.openEnd();i.openStart(\"div\");i.class(\"sapUiIconMirrorInRTL\");i.openEnd();i.close(\"div\");i.close(\"div\")}else if(p||u.length){if(u.length){i.openStart(\"div\",this.getId()+\"-endContent\");i.class(\"sapUiMnuEndContent\");i.openEnd();u.forEach(e=>i.renderControl(e));i.close(\"div\")}if(p){i.openStart(\"div\",this.getId()+\"-sel\");i.class(\"sapUiMnuItmSel\");i.openEnd();i.close(\"div\")}}i.close(\"li\")};r.prototype.hover=function(e,t){this.$().toggleClass(\"sapUiMnuItmHov\",e)};r.prototype.focus=function(e){if(this.getVisible()){this.$().trigger(\"focus\")}else{e.focus()}};r.prototype._handleContentNavigation=function(e){const t=e.keyCode===o.ARROW_LEFT||e.keyCode===o.ARROW_RIGHT;if(!this.getEndContent().length||!t){this.oHoveredItem=null;return}const n=this.oHoveredItem?this.getEndContent().indexOf(this.oHoveredItem):-1;let i;if(e.keyCode===o.ARROW_LEFT){i=this.getPreviousSelectableItem(n)}else{i=this.getNextSelectableItem(n)}this.setHoveredItem(i);i&&i.focus();e.preventDefault();e.stopPropagation()};r.prototype.onsapnext=r.prototype._handleContentNavigation;r.prototype.onsapprevious=r.prototype._handleContentNavigation;r.prototype.getNextSelectableItem=function(e){const t=this.getEndContent();const o=e+1>=t.length?t.length-1:e+1;return t[o]};r.prototype.getPreviousSelectableItem=function(e){const t=this.getEndContent();const o=e-1<0?0:e-1;return t[o]};r.prototype.setHoveredItem=function(e){if(!e){this.oHoveredItem=null;return}this.oHoveredItem=e};r.prototype.onSubmenuToggle=function(e){this.setProperty(\"_expanded\",e);n.prototype.onSubmenuToggle.call(this,e)};r.prototype._getItemSelectionMode=function(){var t=this.getAssociation(\"_group\");return t?e.getElementById(t).getItemSelectionMode():a.None};r.prototype.setSelected=function(t){var o=e.getElementById(this.getAssociation(\"_group\"));if(t&&o&&o.getItemSelectionMode()===a.SingleSelect){o._clearSelectedItems()}this.setProperty(\"selected\",t);return this};r.prototype.getSelected=function(){return this.getProperty(\"selected\")&&this._getItemSelectionMode()!==a.None};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/MenuItemBase\", [\"sap/ui/core/Element\",\"./library\",\"sap/ui/core/IconPool\",\"sap/m/Image\"],function(e,t,o,n){\"use strict\";var i=e.extend(\"sap.ui.unified.MenuItemBase\",{metadata:{library:\"sap.ui.unified\",properties:{enabled:{type:\"boolean\",group:\"Behavior\",defaultValue:true},visible:{type:\"boolean\",group:\"Behavior\",defaultValue:true},startsSection:{type:\"boolean\",group:\"Behavior\",defaultValue:false}},defaultAggregation:\"submenu\",aggregations:{submenu:{type:\"sap.ui.unified.Menu\",multiple:false}},events:{select:{parameters:{item:{type:\"sap.ui.unified.MenuItemBase\"}}}}}});i.prototype.init=function(){};i.prototype.render=function(e,t,o){var n=e;n.openStart(\"li\",t);n.openEnd();n.openStart(\"div\",this.getId()+\"-txt\");n.style(\"white-space\",\"nowrap\");n.style(\"display\",\"inline-block\");n.style(\"padding\",\"1px\");n.style(\"color\",\"black\");n.openEnd();n.text(t.getId());if(this.getSubmenu()){n.text(\"  ->\")}n.close(\"div\");n.close(\"li\")};i.prototype.hover=function(e,t){this.$(\"txt\").attr(\"style\",e?\"white-space:nowrap;display:inline-block;padding:1px;color:red;\":\"white-space:nowrap;display:inline-block;padding:1px;color:black;\")};i.prototype.focus=function(){};i.prototype.onSubmenuToggle=function(e){this.$().toggleClass(\"sapUiMnuItmSubMnuOpen\",e)};i.prototype.onAfterRendering=function(){};i.prototype.onsapshow=function(e){if(this.getParent()&&this.getParent().close){this.getParent().close(true)}e.preventDefault()};i.prototype._getIcon=function(){return o.createControlByURI({src:this.getIcon(),useIconTooltip:false},n)};i.prototype.onsaphide=i.prototype.onsapshow;return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/MenuItemGroup\", [\"sap/ui/core/Element\",\"sap/ui/core/library\"],function(e,t){\"use strict\";var i=t.ItemSelectionMode;var n=e.extend(\"sap.ui.unified.MenuItemGroup\",{metadata:{interfaces:[\"sap.ui.unified.IMenuItem\"],library:\"sap.ui.unified\",properties:{itemSelectionMode:{type:\"sap.ui.core.ItemSelectionMode\",group:\"Behavior\",defaultValue:i.None}},aggregations:{items:{type:\"sap.ui.unified.IMenuItem\",multiple:true,singularName:\"item\"}}}});n.prototype.setItemSelectionMode=function(e,t){this.setProperty(\"itemSelectionMode\",e,t);if(e===i.SingleSelect){this._ensureSingleSelection()}return this};n.prototype.addItem=function(e,t){this._addOrInsertItem(e,undefined,t);return this};n.prototype.insertItem=function(e,t,i){if(t===undefined){t=this.getItems().length}this._addOrInsertItem(e,t,i);return this};n.prototype.removeItem=function(e,t){const i=this.removeAggregation(\"items\",e,t);!t&&this._invalidateParentControls();return i};n.prototype.removeAllItems=function(e){const t=this.removeAllAggregation(\"items\",e);!e&&this._invalidateParentControls();return t};n.prototype.destroyItems=function(e){this.destroyAggregation(\"items\",e);!e&&this._invalidateParentControls();return this};n.prototype._invalidateParentControls=function(){const e=this.getParent();if(e&&!e._getItems().length){const t=e.getParent();t&&t.invalidate();e.close()}};n.prototype._addOrInsertItem=function(e,t,n){const r=e.getSelected&&e.getSelected(),s=this.getItems().length;e.setAssociation(\"_group\",this);if(r&&this.getItemSelectionMode()===i.SingleSelect){this._clearSelectedItems()}t===undefined?this.addAggregation(\"items\",e,n):this.insertAggregation(\"items\",e,t,n);if(s>0){return}const o=this.getParent();if(o){const e=o.getParent();e&&e.invalidate();o.invalidate()}};n.prototype._clearSelectedItems=function(){this.getItems().forEach(e=>e.setSelected&&e.setSelected(false))};n.prototype._ensureSingleSelection=function(){var e=this.getItems(),t=e.map(e=>e.getSelected()),i=t.lastIndexOf(true);this._clearSelectedItems();if(i!==-1){e[i].setSelected(true)}};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/MenuRenderer\", [\"sap/ui/core/ControlBehavior\"],function(e){\"use strict\";var t={apiVersion:2};t.render=function(i,n){var s=e.isAccessibilityEnabled(),o=n.getRootMenu();if(n.oHoveredItem&&n.indexOfItem(n.oHoveredItem)<0){n.oHoveredItem=null}i.openStart(\"div\",n);i.attr(\"tabindex\",-1);i.attr(\"hideFocus\",true);if(n.getTooltip_AsString()){i.attr(\"title\",n.getTooltip_AsString())}if(s){i.accessibilityState(n,{disabled:null})}i.class(\"sapUiMnu\");if(n.isSubMenu()){i.class(\"sapUiSubmenu\")}if(o.bUseTopStyle){i.class(\"sapUiMnuTop\")}i.openEnd();t.renderItems(i,n);i.close(\"div\")};t.renderItems=function(i,n){var s=n._getItems(),o=e.isAccessibilityEnabled(),r=false,a=false,l=0,d=0,u,p,c=null,f=null,g=false,v;i.openStart(\"ul\");i.attr(\"role\",\"menu\");i.class(\"sapUiMnuLst\");for(u=0;u=n&&s<=this.getEndDate();return i};s.prototype.hasNonWorkingAtHour=function(t){const e=this.getStartDate().getHours();const n=e+(this.getStartDate().getMinutes()+this.getDurationInMinutes())/60;const s=t.getHours()+t.getMinutes()/60;return t.getHours()===e||n>=s&&e<=t.getHours()};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/RecurringNonWorkingPeriod\", [\"./NonWorkingPeriod\"],function(e){\"use strict\";var r=e.extend(\"sap.ui.unified.RecurringNonWorkingPeriod\",{metadata:{library:\"sap.ui.unified\",properties:{recurrenceType:{type:\"sap.ui.unified.RecurrenceType\",group:\"Misc\"},recurrenceEndDate:{type:\"object\",group:\"Data\"},recurrencePattern:{type:\"int\",group:\"Behavior\",defaultValue:1}}}});r.prototype.isRecurring=function(){return true};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/unified/Shell\", [\"./ShellHeader\",\"./ShellLayout\",\"./library\",\"./ShellRenderer\"],function(e,t,r,a){\"use strict\";var i=t.extend(\"sap.ui.unified.Shell\",{metadata:{library:\"sap.ui.unified\",deprecated:true,properties:{icon:{type:\"sap.ui.core.URI\",group:\"Appearance\",defaultValue:null},showCurtain:{type:\"boolean\",group:\"Appearance\",defaultValue:null,deprecated:true},showCurtainPane:{type:\"boolean\",group:\"Appearance\",defaultValue:null,deprecated:true},searchVisible:{type:\"boolean\",group:\"Appearance\",defaultValue:true}},aggregations:{curtainContent:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"curtainContent\"},curtainPaneContent:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"curtainPaneContent\"},headItems:{type:\"sap.ui.unified.ShellHeadItem\",multiple:true,singularName:\"headItem\",forwarding:{idSuffix:\"-header\",aggregation:\"headItems\"}},headEndItems:{type:\"sap.ui.unified.ShellHeadItem\",multiple:true,singularName:\"headEndItem\",forwarding:{idSuffix:\"-header\",aggregation:\"headEndItems\"}},search:{type:\"sap.ui.core.Control\",multiple:false,forwarding:{idSuffix:\"-header\",aggregation:\"search\"}},user:{type:\"sap.ui.unified.ShellHeadUserItem\",multiple:false,forwarding:{idSuffix:\"-header\",aggregation:\"user\"}}}},renderer:a});i.prototype.init=function(){t.prototype.init.apply(this,arguments);this._header=new e(this.getId()+\"-header\");this.setHeader(this._header)};i.prototype.exit=function(){t.prototype.exit.apply(this,arguments);this._header.destroy();delete this._header};i.prototype._getSearchWidth=function(){if(this._header===this.getHeader()&&this._header.getDomRef()){var e=this._header.$(\"hdr-center\").children();if(e.length){return e.width()}}return-1};i.prototype.setIcon=function(e){this.setProperty(\"icon\",e,true);this._header.setLogo(e);return this};i.prototype.getIcon=function(){return this._header.getLogo()};i.prototype.setSearchVisible=function(e){this.setProperty(\"searchVisible\",e,true);this._header.setSearchVisible(e);return this};i.prototype.getSearchVisible=function(){return this._header.getSearchVisible()};i.prototype.setHeader=function(e){return t.prototype.setHeader.apply(this,[e?e:this._header])};i.prototype.destroyHeader=function(){if(this.getHeader()===this._header){return this}return t.prototype.destroyHeader.apply(this,[])};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayoutRenderer\", [\"./library\"],function(t){\"use strict\";var o=t.BlockRowColorSets;var e={apiVersion:2};e.render=function(t,o){this.startLayout(t,o);this.addContent(t,o);this.endLayout(t)};e.startLayout=function(t,o){t.openStart(\"div\",o).class(\"sapUiBlockLayout\").class(\"sapUiBlockLayoutBackground\"+o.getBackground());if(o.getKeepFontSize()){t.class(\"sapUiBlockLayoutKeepFontSize\")}t.openEnd()};e.addContent=function(t,e){var n=e.getContent(),a=Object.keys(o).map(function(t){return o[t]}),r=a.length;n.forEach(function(o,e,n){var s=o.getRowColorSet()||a[e%r],i=\"sapUiBlockLayoutBackground\"+s,u=e&&n[e-1]||null;if(u&&u.hasStyleClass(i)){o.removeStyleClass(i);i+=\"Inverted\"}if(i){o.addStyleClass(i)}t.renderControl(o)})};e.endLayout=function(t){t.close(\"div\")};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayoutRow\", [\"sap/ui/core/Control\",\"./library\",\"sap/ui/layout/BlockLayoutCellData\",\"./BlockLayoutRowRenderer\",\"sap/base/Log\"],function(t,e,a,r,o){\"use strict\";var n=e.BlockBackgroundType;var s=e.BlockRowColorSets;var l=t.extend(\"sap.ui.layout.BlockLayoutRow\",{metadata:{library:\"sap.ui.layout\",properties:{scrollable:{type:\"boolean\",group:\"Appearance\",defaultValue:false},rowColorSet:{type:\"sap.ui.layout.BlockRowColorSets\",group:\"Appearance\"}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.layout.BlockLayoutCell\",multiple:true,singularName:\"content\"}},associations:{accentCells:{type:\"sap.ui.layout.BlockLayoutCell\",multiple:true,singularName:\"accentCell\"}},designtime:\"sap/ui/layout/designtime/BlockLayoutRow.designtime\"},renderer:r});l.prototype.init=function(){this._applyLayoutData={}};l.prototype.addContent=function(t){this._ensureLayoutData(t);return this.addAggregation(\"content\",t)};l.prototype.insertContent=function(t,e){this._ensureLayoutData(t);return this.insertAggregation(\"content\",t,e)};l.prototype.onBeforeRendering=function(){var t=this.getContent(),e=this;t.forEach(function(t,a){e._ensureLayoutData(t);t._setParentRowScrollable(e.getScrollable())});this._calculateBreakpointRendering()};l.prototype.setRowColorSet=function(e){var a=Array.prototype.slice.call(arguments),r=t.prototype.setProperty.apply(this,[\"rowColorSet\"].concat(a)),o=\"sapUiBlockLayoutBackground\"+e,n=this.getParent(),l=n&&n.getBackground(),i=n&&n.indexOfAggregation(\"content\",this),u=n&&n.getContent(),c=i&&u[i-1]||null,y=u&&u[i+1]||null,g=Object.keys(s).map(function(t){return s[t]}),p=false;if(c&&c._hasStyleClass(o,l,p,e)){o+=\"Inverted\";p=true}g.forEach(function(t){var e=\"sapUiBlockLayoutBackground\"+t,a=e+\"Inverted\";if(this._hasStyleClass(e,l,false,t)){this.removeStyleClass(e,true)}else if(this._hasStyleClass(a,l,true,t)){this.removeStyleClass(a,true)}},this);this.addStyleClass(o,true);if(y&&y._hasStyleClass(o,l,p,e)){y.setRowColorSet(e)}this.invalidate();return r};l.prototype.addAccentCell=function(t){var e,a=t&&t.getId?t.getId():t,r=this.getParent(),s=r&&(r.getBackground()||\"\");e=this.addAssociation(\"accentCells\",t);if(!r){return this}if([n.Accent,n.Mixed].indexOf(s)===-1){o.warning(a+\" was not set as accent cell. Accent cells could be set only for 'Accent' and 'Mixed' layout backgrounds.\");return this}return e};l.prototype._ensureLayoutData=function(t){var e=t.getLayoutData();if(!e||!(e instanceof a)){t.setLayoutData(new a)}};l.prototype._onParentSizeChange=function(t){this._currentSize=t;this._calculateBreakpointRendering();this.invalidate()};l.prototype._getCellArangementForCurrentSize=function(){if(!this._arrangements||!this._currentSize){return null}return this._arrangements[this._currentSize]};l.prototype._calculateBreakpointRendering=function(){if(!this._currentSize){return}this._arrangements={S:this._calcArrangementForSize(\"S\"),M:this._calcArrangementForSize(\"M\"),L:this._calcArrangementForSize(\"L\"),XL:this._calcArrangementForSize(\"Xl\")}};l.prototype._calcArrangementForSize=function(t){var e=this.getContent();if(e.length>=3&&t===\"M\"&&e.length<5){return this._generateArrangementForMCase()}else{return this._generateArrangement(t)}};l.prototype._generateArrangement=function(t){var e,a=0,r=[],o=[],n=[[]],s=this.getContent();s.forEach(function(a){e=a.getLayoutData();o.push(e[\"breakRowOn\"+t+\"Size\"]);r.push(e[\"get\"+t+\"Size\"]())});r.forEach(function(t,e){n[a].push(t);if(o[e+1]){a++;n[a]=[]}});return n};l.prototype._generateArrangementForMCase=function(){var t=this.getContent();if(t.length===3&&this._isAllCellsHasSameWidth(\"M\")){return[[1,1,1]]}else if(t.length===3){return[[1,1],[1]]}else if(t.length===4){return[[1,1],[1,1]]}};l.prototype._isAllCellsHasSameWidth=function(t){var e,a=this.getContent(),r=a[0].getLayoutData()[\"get\"+t+\"Size\"]();for(var o=1;o-1){s++;o=\"sapUiBlockLayoutBackgroundColorSetGray\"+(s%2+1);if(a.hasStyleClass(o)){continue}l.splice(l.indexOf(r),1);a.removeStyleClass(\"sapUiBlockLayoutBackgroundColorSetGray1\").removeStyleClass(\"sapUiBlockLayoutBackgroundColorSetGray2\").addStyleClass(o)}}return this};l.prototype._hasStyleClass=function(t,e,a,r){var o=n,l=s,i,u,c;if([o.Light,o.Mixed].indexOf(e)===-1){return this.hasStyleClass(t)}else if(this.hasStyleClass(t)){return true}c=[[l.ColorSet1,l.ColorSet3],[l.ColorSet2,l.ColorSet4]];for(i=0;i<=c.length;i++){if(c[i]&&c[i].indexOf(r)>-1){break}}if(!c[i]){return false}u=c[i].map(function(t){return\"sapUiBlockLayoutBackground\"+t+(a?\"Inverted\":\"\")});return u.some(this.hasStyleClass,this)};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayoutRowRenderer\", [\"./library\"],function(e){\"use strict\";var l=e.BlockBackgroundType;var t={apiVersion:2};t.render=function(e,l){this.startRow(e,l);this.renderContent(e,l);this.endRow(e,l)};t.startRow=function(e,l){e.openStart(\"div\",l).class(\"sapUiBlockLayoutRow\");this.addRowRenderingClass(e,l);e.openEnd()};t.addRowRenderingClass=function(e,l){if(l.getScrollable()){e.class(\"sapUiBlockScrollingRow\");if(l.getContent().length>=6){e.class(\"sapUiBlockScrollingNarrowCells\")}}else{e.class(\"sapUiBlockHorizontalCellsRow\")}};t.renderContent=function(e,t){var n=t.getContent(),o=t.getScrollable(),a=t.getParent().getBackground(),s=t.getAccentCells(),r=0,i;n.forEach(function(e,l){l%2==0?e.addStyleClass(\"sapUiBlockLayoutOddCell\"):e.addStyleClass(\"sapUiBlockLayoutEvenCell\");if(o){e.addStyleClass(\"sapUiBlockScrollableCell\")}else{e.addStyleClass(\"sapUiBlockHorizontalCell\")}});switch(a){case l.Mixed:if(s.length>0){t._processMixedCellStyles(s[s.length-1],n)}break;case l.Accent:t._processAccentCellStyles(s,n);break}var c=t._getCellArangementForCurrentSize();if(o){n.forEach(e.renderControl,e)}else if(c){for(var d=0;dP&&t<=z&&this._currentBreakpoint!==u){return u}else if(t>z&&t<=B&&this._currentBreakpoint!==p){return p}else if(t>B&&this._currentBreakpoint!==C){return C}return this._currentBreakpoint};l.prototype._setBreakpointFromWidth=function(t){var e=this._getBreakPointFromWidth(t),i=this.getCurrentBreakpoint();this._currentBreakpoint=e;if(i!==undefined){e!==i&&this.fireBreakpointChanged({currentBreakpoint:this._currentBreakpoint})}};l.prototype._adjustToScreenSize=function(){if(this.getContainerQuery()){this._iWindowWidth=this.$().parent().width()}else{this._iWindowWidth=jQuery(window).width()}this._setResizeData(this._getBreakPointFromWidth(this._iWindowWidth),this.getEqualSplit());this._changeGridState();this._setBreakpointFromWidth(this._iWindowWidth)};l.prototype._setResizeData=function(t,e){var i=this.getSideContentVisibility(),n=this.getSideContentFallDown();if(!e){switch(t){case d:this._setSpanSize(M,M);if(this.getProperty(\"showSideContent\")&&this.getProperty(\"showMainContent\")&&this._MCVisible){this._SCVisible=i===h.AlwaysShow}this._bFixedSideContent=false;break;case u:var s=Math.ceil(33.333/100*this._iWindowWidth);if(n===a.BelowL||n===a.BelowXL||s<=320&&n===a.OnMinimumWidth){this._setSpanSize(M,M);this._bFixedSideContent=false}else{this._setSpanSize(y,w);this._bFixedSideContent=true}this._SCVisible=i===h.ShowAboveS||i===h.AlwaysShow;this._MCVisible=true;break;case p:if(n===a.BelowXL){this._setSpanSize(M,M)}else{this._setSpanSize(y,w)}this._SCVisible=i===h.ShowAboveS||i===h.ShowAboveM||i===h.AlwaysShow;this._MCVisible=true;this._bFixedSideContent=false;break;case C:this._setSpanSize(f,V);this._SCVisible=i!==h.NeverShow;this._MCVisible=true;this._bFixedSideContent=false;break;default:throw new Error(m)}}else{switch(t){case d:this._setSpanSize(M,M);this._SCVisible=false;break;default:this._setSpanSize(b,b);this._SCVisible=true;this._MCVisible=true}this._bFixedSideContent=false}return this};l.prototype._shouldSetHeight=function(){var t,e,i,n,s,r,o;t=this.getProperty(\"scSpan\")+this.getProperty(\"mcSpan\")===M;e=this._MCVisible&&this._SCVisible;i=!this._MCVisible&&this._SCVisible;n=this._MCVisible&&!this._SCVisible;s=i||n;r=this._fixedSideContent;o=this.getSideContentVisibility()===h.NeverShow;return t&&e||s||r||o};l.prototype._getSideContentWidth=function(){var t,e=this.getCurrentBreakpoint();switch(e){case u:t=this.getSideContentWidthM();break;case p:t=this.getSideContentWidthL();break;case C:t=this.getSideContentWidthXL();break;default:t=\"\"}return t};l.prototype._changeGridState=function(){var t=this.$(k),e=this.$(v),i=this.getProperty(\"showMainContent\"),n=this.getProperty(\"showSideContent\"),s=this._shouldSetHeight(),r=this._getSideContentWidth();if(this._bFixedSideContent&&!r){t.removeClass().addClass(c);e.removeClass().addClass(g)}else{t.removeClass(c);e.removeClass(g)}if(this._SCVisible&&this._MCVisible&&n&&i){if(!this._bFixedSideContent&&(!r||this.getEqualSplit())){e.removeClass().addClass(\"sapUiDSCSpan\"+this.getProperty(\"mcSpan\"));t.removeClass().addClass(\"sapUiDSCSpan\"+this.getProperty(\"scSpan\"))}e.removeClass(S);t.removeClass(S);t.css(this._getSideContentStyles(s));e.css(this._getMainContentStyles(s))}else if(!this._SCVisible&&!this._MCVisible){e.addClass(S);t.addClass(S)}else if(this._MCVisible&&i||!i&&!n){e.removeClass().addClass(_).css(\"width\",\"\");t.addClass(S)}else if(this._SCVisible&&n){t.removeClass().addClass(_).css(\"width\",\"\");e.addClass(S)}e.addClass(\"sapUiDSCM\");t.addClass(\"sapUiDSCS\")};l.prototype._getMainContentStyles=function(t){var e=this._getSideContentWidth();return{width:e&&t&&!this.getEqualSplit()?\"calc(100% - \"+e+\")\":\"\",float:t?\"left\":\"none\",height:t?\"100%\":\"auto\"}};l.prototype._getSideContentStyles=function(t){var e=this._getSideContentWidth();return{width:e&&t&&!this.getEqualSplit()?e:\"\",float:t?\"left\":\"none\",height:t?\"100%\":\"auto\"}};l.prototype._setSpanSize=function(t,e){this.setProperty(\"scSpan\",t);this.setProperty(\"mcSpan\",e)};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/DynamicSideContentRenderer\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Lib\",\"sap/ui/layout/library\",\"sap/ui/Device\"],function(e,t,n,i){\"use strict\";var r=n.SideContentPosition;var o=\"SIDE_CONTENT_LABEL\";var s={apiVersion:2};s.render=function(e,t){e.openStart(\"div\",t);e.class(\"sapUiDSC\");e.style(\"height\",\"100%\");e.openEnd();this.renderSubControls(e,t);e.close(\"div\")};s.renderSubControls=function(t,n){var i=n.getId(),o=n._shouldSetHeight(),s=e.getRTL(),a=n.getSideContentPosition();if(a===r.Begin&&!s||s&&a===r.End){this._renderSideContent(t,n,i,o);this._renderMainContent(t,n,i,o)}else{this._renderMainContent(t,n,i,o);this._renderSideContent(t,n,i,o)}};s.renderControls=function(e,t){var n=t.length,i=0;for(;il){this.$(\"Flexible\").attr(\"style\",\"min-\"+i+\":\"+l+\"px\")}else{this.$(\"Flexible\").attr(\"style\",i+\":\"+l+\"px\")}}else{t.addClass(\"sapUiFixFlexInnerScrolling\");t.removeClass(\"sapUiFixFlexScrolling\");if(r){this._scroller.setVertical(false);this._innerScroller.setVertical(true)}else{this._scroller.setHorizontal(false);this._innerScroller.setHorizontal(true)}this._changeFlexibleContainerScroll();this.$(\"Flexible\").removeAttr(\"style\")}};s.prototype._changeFlexibleContainerScroll=function(){var e=this.$(\"FlexibleContainer\"),i=e.height(),t=e.children().height();if(i==t){return}if(i>t){e.removeClass(\"sapUiFixFlexFlexibleContainerGrowing\")}else{e.addClass(\"sapUiFixFlexFlexibleContainerGrowing\")}};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/FixFlexRenderer\", [],function(){\"use strict\";var e={apiVersion:2};e.render=function(e,i){e.openStart(\"div\",i).class(\"sapUiFixFlex\");if(i.getMinFlexSize()!==0){e.class(\"sapUiFixFlexInnerScrolling\")}if(!i.getVertical()){e.class(\"sapUiFixFlexRow\")}e.openEnd();if(i.getFixFirst()){this.renderFixChild(e,i);this.renderFlexChild(e,i)}else{this.renderFlexChild(e,i);this.renderFixChild(e,i)}e.close(\"div\")};e.renderFixChild=function(e,i){e.openStart(\"div\",i.getId()+\"-Fixed\").class(\"sapUiFixFlexFixed\");if(i.getFixContentSize()!==\"auto\"){if(i.getVertical()){e.style(\"height\",i.getFixContentSize())}else{e.style(\"width\",i.getFixContentSize())}}e.openEnd();i.getFixContent().forEach(e.renderControl,e);e.close(\"div\")};e.renderFlexChild=function(e,i){e.openStart(\"div\",i.getId()+\"-Flexible\").class(\"sapUiFixFlexFlexible\").openEnd();e.openStart(\"div\",i.getId()+\"-FlexibleContainer\").class(\"sapUiFixFlexFlexibleContainer\");if(i.getMinFlexSize()!==0){if(i.getVertical()){e.style(\"min-height\",i.getMinFlexSize()+\"px\")}else{e.style(\"min-width\",i.getMinFlexSize()+\"px\")}}e.openEnd();e.renderControl(i.getFlexContent());e.close(\"div\").close(\"div\")};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/Grid\", [\"sap/ui/core/Control\",\"./library\",\"sap/ui/Device\",\"sap/ui/core/ResizeHandler\",\"sap/ui/base/ManagedObjectObserver\",\"./GridRenderer\",\"sap/ui/thirdparty/jquery\"],function(e,t,i,s,a,n,jQuery){\"use strict\";var o=e.extend(\"sap.ui.layout.Grid\",{metadata:{library:\"sap.ui.layout\",properties:{width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:\"100%\"},vSpacing:{type:\"float\",group:\"Dimension\",defaultValue:1},hSpacing:{type:\"float\",group:\"Dimension\",defaultValue:1},position:{type:\"sap.ui.layout.GridPosition\",group:\"Dimension\",defaultValue:\"Left\"},defaultSpan:{type:\"sap.ui.layout.GridSpan\",group:\"Behavior\",defaultValue:\"XL3 L3 M6 S12\"},defaultIndent:{type:\"sap.ui.layout.GridIndent\",group:\"Behavior\",defaultValue:\"XL0 L0 M0 S0\"},containerQuery:{type:\"boolean\",group:\"Behavior\",defaultValue:false}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},designtime:\"sap/ui/layout/designtime/Grid.designtime\"},renderer:n});(function(){o.prototype.init=function(){(()=>{var e=t.GridHelper.getLibrarySpecificClass();if(e){this.addStyleClass(e)}})();this._iBreakPointTablet=i.media._predefinedRangeSets[i.media.RANGESETS.SAP_STANDARD_EXTENDED].points[0];this._iBreakPointDesktop=i.media._predefinedRangeSets[i.media.RANGESETS.SAP_STANDARD_EXTENDED].points[1];this._iBreakPointLargeDesktop=i.media._predefinedRangeSets[i.media.RANGESETS.SAP_STANDARD_EXTENDED].points[2];this._indentXLChanged=false;this._spanXLChanged=false;this._oObserver=new a(o.prototype._observeChanges.bind(this));this._oObserver.observe(this,{aggregations:[\"content\"]})};o.prototype.onAfterRendering=function(){if(this.getContainerQuery()){this._sContainerResizeListener=s.register(this,jQuery.proxy(this._onParentResize,this));this._onParentResize()}else{this._attachMediaContainerWidthChange(this._handleMediaChange,this,i.media.RANGESETS.SAP_STANDARD_EXTENDED)}};o.prototype.onBeforeRendering=function(){this._cleanup()};o.prototype.exit=function(){this._cleanup();if(this._oObserver){this._oObserver.disconnect();this._oObserver=null}};o.prototype._cleanup=function(){if(this._sContainerResizeListener){s.deregister(this._sContainerResizeListener);this._sContainerResizeListener=null}this._detachMediaContainerWidthChange(this._handleMediaChange,this,i.media.RANGESETS.SAP_STANDARD_EXTENDED)};o.prototype._observeVisibility=function(e){this._oObserver.observe(e,{properties:[\"visible\"]})};o.prototype._unobserveVisibility=function(e){this._oObserver.unobserve(e,{properties:[\"visible\"]})};o.prototype._observeChanges=function(e){var t=e.object,i=e.name,s=e.mutation,a=e.child;if(t===this){if(s===\"insert\"){this._observeVisibility(a)}else if(s===\"remove\"){this._unobserveVisibility(a)}}else if(i===\"visible\"){var n=this.getContent().indexOf(t);jQuery(this.$().children()[n]).toggleClass(\"sapUiRespGridSpanInvisible\",!e.current)}};o.prototype._handleMediaChange=function(e){this._toggleClass(e.name)};o.prototype._setBreakPointTablet=function(e){this._iBreakPointTablet=e};o.prototype._setBreakPointDesktop=function(e){this._iBreakPointDesktop=e};o.prototype._setBreakPointLargeDesktop=function(e){this._iBreakPointLargeDesktop=e};o.prototype.setDefaultIndent=function(e){if(/XL/gi.test(e)){this._setIndentXLChanged(true)}return this.setProperty(\"defaultIndent\",e)};o.prototype._setIndentXLChanged=function(e){this._indentXLChanged=e};o.prototype._getIndentXLChanged=function(){return this._indentXLChanged};o.prototype.setDefaultSpan=function(e){if(/XL/gi.test(e)){this._setSpanXLChanged(true)}return this.setProperty(\"defaultSpan\",e)};o.prototype._setSpanXLChanged=function(e){this._spanXLChanged=e};o.prototype._getSpanXLChanged=function(){return this._spanXLChanged};o.prototype._onParentResize=function(){var e=this.getDomRef();if(!e){this._cleanup();return}if(!jQuery(e).is(\":visible\")){return}var t=e.clientWidth;if(t<=this._iBreakPointTablet){this._toggleClass(\"Phone\")}else if(t>this._iBreakPointTablet&&t<=this._iBreakPointDesktop){this._toggleClass(\"Tablet\")}else if(t>this._iBreakPointDesktop&&t<=this._iBreakPointLargeDesktop){this._toggleClass(\"Desktop\")}else{this._toggleClass(\"LargeDesktop\")}};o.prototype._toggleClass=function(e){var t=this.$();if(!t){return}if(t.hasClass(\"sapUiRespGridMedia-Std-\"+e)){return}t.toggleClass(\"sapUiRespGridMedia-Std-\"+e,true);if(e===\"Phone\"){t.toggleClass(\"sapUiRespGridMedia-Std-Desktop\",false).toggleClass(\"sapUiRespGridMedia-Std-Tablet\",false).toggleClass(\"sapUiRespGridMedia-Std-LargeDesktop\",false)}else if(e===\"Tablet\"){t.toggleClass(\"sapUiRespGridMedia-Std-Desktop\",false).toggleClass(\"sapUiRespGridMedia-Std-Phone\",false).toggleClass(\"sapUiRespGridMedia-Std-LargeDesktop\",false)}else if(e===\"LargeDesktop\"){t.toggleClass(\"sapUiRespGridMedia-Std-Desktop\",false).toggleClass(\"sapUiRespGridMedia-Std-Phone\",false).toggleClass(\"sapUiRespGridMedia-Std-Tablet\",false)}else{t.toggleClass(\"sapUiRespGridMedia-Std-Phone\",false).toggleClass(\"sapUiRespGridMedia-Std-Tablet\",false).toggleClass(\"sapUiRespGridMedia-Std-LargeDesktop\",false)}this.fireEvent(\"mediaChanged\",{media:e})};o.prototype._getLayoutDataForControl=function(e){var t=e.getLayoutData();if(!t){return undefined}else if(t.isA(\"sap.ui.layout.GridData\")){return t}else if(t.isA(\"sap.ui.core.VariantLayoutData\")){var i=t.getMultipleLayoutData();for(var s=0;s0){this._sStylesInternal=e}else{this._sStylesInternal=undefined}};a.prototype._getEffectiveSpanXLarge=function(){var e=this.getSpanXL();if(e&&e>0&&e<13){return e}var t=/XL([1-9]|1[0-2])(?:\\s|$)/i;var n=t.exec(this.getSpan());if(n){var a=n[0];if(a){a=a.toUpperCase();if(a.substr(0,2)===\"XL\"){return parseInt(a.substr(2))}}}return undefined};a.prototype._getEffectiveSpanLarge=function(){var e=this.getSpanL();if(e&&e>0&&e<13){return e}var t=/\\bL([1-9]|1[0-2])(?:\\s|$)/i;var n=t.exec(this.getSpan());if(n){var a=n[0];if(a){a=a.toUpperCase();if(a.substr(0,1)===\"L\"){return parseInt(a.substr(1))}}}return undefined};a.prototype._getEffectiveSpanMedium=function(){var e=this.getSpanM();if(e&&e>0&&e<13){return e}var t=/M([1-9]|1[0-2])(?:\\s|$)/i;var n=t.exec(this.getSpan());if(n){var a=n[0];if(a){a=a.toUpperCase();if(a.substr(0,1)===\"M\"){return parseInt(a.substr(1))}}}return undefined};a.prototype._getEffectiveSpanSmall=function(){var e=this.getSpanS();if(e&&e>0&&e<13){return e}var t=/S([1-9]|1[0-2])(?:\\s|$)/i;var n=t.exec(this.getSpan());if(n){var a=n[0];if(a){a=a.toUpperCase();if(a.substr(0,1)===\"S\"){return parseInt(a.substr(1))}}}return undefined};a.prototype.init=function(){this._bLinebreakXLChanged=false};a.prototype.setLinebreakXL=function(e){this.setProperty(\"linebreakXL\",e);this._bLinebreakXLChanged=true;return this};a.prototype._getLinebreakXLChanged=function(){return this._bLinebreakXLChanged};a.prototype.setSpanLarge=function(e){this.setSpanL(e);n.warning(\"Deprecated property spanLarge is used, please use spanL instead.\");return this};a.prototype.setSpanMedium=function(e){n.warning(\"Deprecated property spanMedium is used, please use spanM instead.\");return this.setSpanM(e)};a.prototype.setSpanSmall=function(e){n.warning(\"Deprecated property spanSmall is used, please use spanS instead.\");return this.setSpanS(e)};a.prototype.setIndentLarge=function(e){n.warning(\"Deprecated property indentLarge is used, please use indentL instead.\");return this.setIndentL(e)};a.prototype.setIndentMedium=function(e){n.warning(\"Deprecated property indentMedium is used, please use indentM instead.\");return this.setIndentM(e)};a.prototype.setIndentSmall=function(e){n.warning(\"Deprecated property indentSmall is used, please use indentS instead.\");return this.setIndentS(e)};a.prototype.setVisibleOnLarge=function(e){n.warning(\"Deprecated property visibleOnLarge is used, please use visibleL instead.\");return this.setVisibleL(e)};a.prototype.setVisibleOnMedium=function(e){n.warning(\"Deprecated property visibleOnMedium is used, please use visibleM instead.\");return this.setVisibleM(e)};a.prototype.setVisibleOnSmall=function(e){n.warning(\"Deprecated property visibleOnSmall is used, please use visibleS instead.\");return this.setVisibleS(e)};a.prototype.getSpanLarge=function(){n.warning(\"Deprecated property spanLarge is used, please use spanL instead.\");return this.getSpanL()};a.prototype.getSpanMedium=function(){n.warning(\"Deprecated property spanMedium is used, please use spanM instead.\");return this.getSpanM()};a.prototype.getSpanSmall=function(){n.warning(\"Deprecated property spanSmall is used, please use spanS instead.\");return this.getSpanS()};a.prototype.getIndentLarge=function(){n.warning(\"Deprecated property indentLarge is used, please use indentL instead.\");return this.getIndentL()};a.prototype.getIndentMedium=function(){n.warning(\"Deprecated property indentMedium is used, please use indentM instead.\");return this.getIndentM()};a.prototype.getIndentSmall=function(){n.warning(\"Deprecated property indentSmall is used, please use indentS instead.\");return this.getIndentS()};a.prototype.getVisibleOnLarge=function(){n.warning(\"Deprecated property visibleOnLarge is used, please use visibleL instead.\");return this.getVisibleL()};a.prototype.getVisibleOnMedium=function(){n.warning(\"Deprecated property visibleOnMedium is used, please use visibleM instead.\");return this.getVisibleM()};a.prototype.getVisibleOnSmall=function(){n.warning(\"Deprecated property visibleOnSmall is used, please use visibleS instead.\");return this.getVisibleS()}})();return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/GridRenderer\", [\"sap/ui/Device\",\"sap/ui/layout/library\"],function(e,s){\"use strict\";var a=s.GridPosition;var i={apiVersion:2};i.render=function(s,i){var r=/^([X][L](?:[0-9]|1[0-1]))? ?([L](?:[0-9]|1[0-1]))? ?([M](?:[0-9]|1[0-1]))? ?([S](?:[0-9]|1[0-1]))?$/i;var t=/^([X][L](?:[1-9]|1[0-2]))? ?([L](?:[1-9]|1[0-2]))? ?([M](?:[1-9]|1[0-2]))? ?([S](?:[1-9]|1[0-2]))?$/i;s.openStart(\"div\",i);s.class(\"sapUiRespGrid\");var p=i._getCurrentMediaContainerRange(e.media.RANGESETS.SAP_STANDARD_EXTENDED).name;s.class(\"sapUiRespGridMedia-Std-\"+p);var n=i.getHSpacing();if(n===.5){n=\"05\"}else if(n!==0&&n!==1&&n!==2){n=1}s.class(\"sapUiRespGridHSpace\"+n);var l=i.getVSpacing();if(l===.5){l=\"05\"}else if(l!==0&&l!==1&&l!==2){l=1}s.class(\"sapUiRespGridVSpace\"+l);var d=i.getPosition();if(d){d=d.toUpperCase();if(d===a.Center.toUpperCase()){s.class(\"sapUiRespGridPosCenter\")}else if(d===a.Right.toUpperCase()){s.class(\"sapUiRespGridPosRight\")}}var f=i.getWidth();if(f!==\"100%\"&&f!==\"auto\"&&f!==\"inherit\"){if(n===0){s.style(\"width\",f)}else{s.style(\"width\",\"-webkit-calc(\"+f+\" - \"+n+\"rem)\");s.style(\"width\",\"calc(\"+f+\" - \"+n+\"rem)\")}}var v=i._getAccessibleRole();var c;if(v){c={role:v}}s.accessibilityState(i,c);s.openEnd();var g=i.getContent();var o=i.getDefaultSpan();var L=[\"\",\"XL3\",\"L3\",\"M6\",\"S12\"];var S=[\"\",\"XL0\",\"L0\",\"M0\",\"S0\"];var U=t.exec(o);var u=i._getSpanXLChanged();var R=i._getIndentXLChanged();var G=i.getDefaultIndent();var b=r.exec(G);for(var X=0;X0&&B<13){s.class(\"sapUiRespGridSpanXL\"+B);C=true}else if(w.substr(0,1)===\"L\"&&D>0&&D<13){s.class(\"sapUiRespGridSpanL\"+D);k=D}else if(w.substr(0,1)===\"M\"&&V>0&&V<13){s.class(\"sapUiRespGridSpanM\"+V)}else if(w.substr(0,1)===\"S\"&&x>0&&x<13){s.class(\"sapUiRespGridSpanS\"+x)}else{if(w.substr(0,2)!==\"XL\"||u||C){s.class(\"sapUiRespGridSpan\"+w)}}}if(!u&&!C){s.class(\"sapUiRespGridSpanXL\"+k)}}var E;var H;var A=h.getIndent();if(!A||A.length==0){E=b}else{E=r.exec(A);if(/XL/gi.test(A)){R=true}}if(!E){E=b;if(!E){E=undefined}}var P=h.getIndentXL();var m=h.getIndentL();var F=h.getIndentM();var N=h.getIndentS();if(E){for(var _=1;_0&&P<12){s.class(\"sapUiRespGridIndentXL\"+P);R=true}else if(T.substr(0,1)===\"L\"&&m>0&&m<12){s.class(\"sapUiRespGridIndentL\"+m);H=m}else if(T.substr(0,1)===\"M\"&&F>0&&F<12){s.class(\"sapUiRespGridIndentM\"+F)}else if(T.substr(0,1)===\"S\"&&N>0&&N<12){s.class(\"sapUiRespGridIndentS\"+N)}else{if(!/^(XL0)? ?(L0)? ?(M0)? ?(S0)?$/.exec(T)){s.class(\"sapUiRespGridIndent\"+T)}}}}if(!R){if(H&&H>0){s.class(\"sapUiRespGridIndentXL\"+H)}}}if(!h.getVisibleXL()){s.class(\"sapUiRespGridHiddenXL\")}if(!h.getVisibleL()){s.class(\"sapUiRespGridHiddenL\")}if(!h.getVisibleM()){s.class(\"sapUiRespGridHiddenM\")}if(!h.getVisibleS()){s.class(\"sapUiRespGridHiddenS\")}var $=h.getMoveBackwards();if($&&$.length>0){var W=r.exec($);if(W){for(var _=1;_0){var z=r.exec(q);if(z){for(var _=1;_0;_--){a=i[r].cont[_-1];if(a.linebreakable){a.breakWith.push(n);m=true;break}}}if(!m){i[r].cont.push(n)}}t._rows=i};var a=function(e,i,r){var n=[];var o=1e7;var a=-1;var s=function(t){var i=jQuery(document.getElementById(e.cont[t].id));if(i.length>0){var r=i[0].offsetLeft;if(o>=r){n.push({cont:[]});a++}o=r;n[a].cont.push(e.cont[t])}};if(t.getRTL()){for(var h=e.cont.length-1;h>=0;h--){s(h)}}else{for(var h=0;he){i.push({cont:[]});if(r!==-1){a=l}r++}i[r].cont.push(t.cont[l])}return i};var l=function(t,e){if(t.length!=e.length){return true}for(var i=0;i0){p=u.weight;f=u.minWidth;for(var w=0;w0?f:u.minWidth};d=100/l*u.weight;var y=R[\"min-width\"]/e*100;var W=Math.ceil(y);var b=Math.floor(d);if(b!==100&&W>b){d=W}else{d=b}d=r0&&s===i[o].cont.length-1){d+=r}c.push(\"sapUiRFLContainer\");R[\"width\"]=d+\"%\";R[\"min-width\"]=R[\"min-width\"]+\"px\";_.writeHeader(m,R,c);c.length=0;c.push(\"sapUiRFLContainerContent\");if(u.breakWith.length>0){c.push(\"sapUiRFLMultiContainerContent\")}if(u.padding){c.push(\"sapUiRFLPaddingClass\")}var I=this._addContentClass(u.control,s);if(I){c.push(I)}R={};_.writeHeader(\"\",R,c);if(u.breakWith.length>0){m=i[o].cont[s].id+\"-multi0\";c.length=0;R={\"min-width\":f+\"px\"};var D=100/p*u.weight;D=Math.floor(D);g.push(D);c.push(\"sapUiRFLMultiContent\");R[\"width\"]=D+\"%\";if(i[o].cont[s].padding){c.push(\"sapUiRFLPaddingClass\")}_.writeHeader(m,R,c);var L=D;_.renderControl(u.control);_.close(\"div\");for(h=0;h=1){this.setProperty(\"weight\",e)}else{a.warning(\"Values smaller than 1 are invalid. Default value '1' is used instead\",this);this.setProperty(\"weight\",i.WEIGHT)}return this};i.prototype.setLinebreak=function(e){if(this.getLinebreakable()==false&&e){a.warning(\"Setting 'linebreak' AND 'linebreakable' doesn't make any sense. Please set either 'linebreak' or 'linebreakable'\",this)}else{this.setProperty(\"linebreak\",e)}return this};i.prototype.setLinebreakable=function(e){if(this.getLinebreak()===true&&e===false){a.warning(\"Setting 'linebreak' AND 'linebreakable' doesn't make any sense. Please set either 'linebreak' or 'linebreakable'\",this)}else{this.setProperty(\"linebreakable\",e)}return this};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/ResponsiveFlowLayoutRenderer\", [],function(){\"use strict\";var e={apiVersion:2};(function(){e.render=function(e,i){e.openStart(\"div\",i);e.class(\"sapUiRFL\");var n=i._getAccessibleRole();var t;if(n){t={role:n}}e.accessibilityState(i,t);e.openEnd();e.close(\"div\")}})();return e},true);\n/*!\n* OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.predefine(\"sap/ui/layout/ResponsiveSplitter\", [\"./library\",\"./PaneContainer\",\"./ResponsiveSplitterPage\",\"./ResponsiveSplitterRenderer\",\"./ResponsiveSplitterUtilities\",\"./SplitPane\",\"./Splitter\",\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/ui/core/ResizeHandler\",\"sap/ui/core/RenderManager\"],function(t,e,i,n,a,s,o,r,l,p,g,u,h){\"use strict\";var d=r.extend(\"sap.ui.layout.ResponsiveSplitter\",{metadata:{library:\"sap.ui.layout\",properties:{width:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"100%\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"100%\"}},defaultAggregation:\"rootPaneContainer\",aggregations:{rootPaneContainer:{type:\"sap.ui.layout.PaneContainer\",multiple:false},_pages:{type:\"sap.ui.layout.ResponsiveSplitterPage\",multiple:true,visibility:\"hidden\"}},associations:{defaultPane:{type:\"sap.ui.layout.SplitPane\",multiple:false}},events:{}},renderer:n});var f={MAX_VISIBLE_BUTTONS:7};d.prototype.init=function(){this._aPaneContainers=[];this._aPanes=[];this._oResourceBundle=p.getResourceBundleFor(\"sap.ui.layout\");this._oItemNavigation=new g;this._oItemNavigation.setCycling(false);this.addDelegate(this._oItemNavigation);this._iDefaultPageIndex=0};d.prototype.onBeforeRendering=function(){var t=this.getRootPaneContainer();if(t){this._oSplitterDelegate=this._oSplitterDelegate||{onAfterRendering:function(){this._setSplitterBarsTooltips(t._oSplitter);this._updatePaginatorButtonsTooltips()}};t._oSplitter.addEventDelegate(this._oSplitterDelegate,this);this._createWidthIntervals();this._createPages();this._detachResizeHandler()}};d.prototype.onAfterRendering=function(){this._parentResizeHandler=u.register(this,this._onParentResize.bind(this));var t=this.getRootPaneContainer();if(t){this._onParentResize();this._updatePaginatorButtonsTooltips()}this._setItemNavigation()};d.prototype.exit=function(){this._detachResizeHandler();this._clearItemNavigation();this._oSplitterDelegate=null};d.prototype._setSplitterBarsTooltips=function(t,e){var i=t.$().find(\" > .sapUiLoSplitterBar\"),n=t.$().find(\" > .sapUiLoSplitterContent\"),a=\"\",s,r,p,g;for(var u=0;u0){o=t.shift();for(var r=1;r<=e;r++){i+=r;if(rt){while(n>t){n--;if(e[n].getDo Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2014, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/isBehindOtherElement\", [\"sap/base/Log\"],function(e){\"use strict\";function t(t){if(!t){return false}var n=t.getBoundingClientRect(),i=n.left+1,o=n.right-1,r=n.top+1,m=n.bottom-1;if(i<0||o<0||r<0||m<0){e.warning(\"isBehindOtherElement :: Element with id \"+t.id+\" is outside the visible viewport, cannot determine whether it is behind another DOM element\",this);return false}if(document.elementFromPoint(i,r)!==t&&!t.contains(document.elementFromPoint(i,r))){return true}if(document.elementFromPoint(o,r)!==t&&!t.contains(document.elementFromPoint(o,r))){return true}if(document.elementFromPoint(i,m)!==t&&!t.contains(document.elementFromPoint(i,m))){return true}if(document.elementFromPoint(o,m)!==t&&!t.contains(document.elementFromPoint(o,m))){return true}return false}return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/isElementCovered\", [],function(){\"use strict\";function t(t,n,e,i){const r=document.elementFromPoint(t,n);if(!r){return true}return r!==e&&!e.contains(r)&&!r.contains(e)&&(!i||!i.contains(r))}function n(n,e){if(!n){return false}var i=n.getBoundingClientRect(),r=i.left+1,o=i.right-1,u=i.top+1,c=i.bottom-1;return t(r,u,n,e)&&t(o,u,n,e)&&t(r,c,n,e)&&t(o,c,n,e)}return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/isHidden\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";function i(i){return i.offsetWidth<=0&&i.offsetHeight<=0||jQuery.css(i,\"visibility\")===\"hidden\"}return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/Aria\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";function i(i,t,r){var e=this.attr(i);if(!e){return this.attr(i,t)}var n=e.split(\" \");if(n.indexOf(t)==-1){r?n.unshift(t):n.push(t);this.attr(i,n.join(\" \"))}return this}function t(i,t){var r=this.attr(i)||\"\",e=r.split(\" \"),n=e.indexOf(t);if(n==-1){return this}e.splice(n,1);if(e.length){this.attr(i,e.join(\" \"))}else{this.removeAttr(i)}return this}jQuery.fn.addAriaLabelledBy=function(t,r){return i.call(this,\"aria-labelledby\",t,r)};jQuery.fn.removeAriaLabelledBy=function(i){return t.call(this,\"aria-labelledby\",i)};jQuery.fn.addAriaDescribedBy=function(t,r){return i.call(this,\"aria-describedby\",t,r)};jQuery.fn.removeAriaDescribedBy=function(i){return t.call(this,\"aria-describedby\",i)};return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/Focusable\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/dom/isHidden\",\"./hasTabIndex\"],function(jQuery,i){\"use strict\";function n(e,r){var t=r?e.firstChild:e.lastChild,u;while(t){if(t.nodeType==1&&!i(t)){if(jQuery(t).hasTabIndex()){return t}u=n(t,r);if(u){return u}}t=r?t.nextSibling:t.previousSibling}return null}jQuery.fn.firstFocusableDomRef=function(){var e=this.get(0);if(!e||i(e)){return null}return n(e,true)};jQuery.fn.lastFocusableDomRef=function(){var e=this.get(0);if(!e||i(e)){return null}return n(e,false)};return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/Selection\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";jQuery.fn.disableSelection=function(){return this.on((\"onselectstart\"in document.createElement(\"div\")?\"selectstart\":\"mousedown\")+\".ui-disableSelection\",function(e){e.preventDefault()})};jQuery.fn.enableSelection=function(){return this.off(\".ui-disableSelection\")};return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/control\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/core/Element\",\"sap/ui/Global\"],function(jQuery,t){\"use strict\";jQuery.prototype.control=function(a,e){var r=this.map(function(){var a;if(e){var r=jQuery(this).closest(\"[data-sap-ui],[data-sap-ui-related]\");a=r.attr(\"data-sap-ui-related\")||r.attr(\"id\")}else{a=jQuery(this).closest(\"[data-sap-ui]\").attr(\"id\")}return t.getElementById(a)});return r.get(a)};return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/cursorPos\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";var t=function t(e){var r=arguments.length,s,i;s=this.prop(\"tagName\");i=this.prop(\"type\");if(this.length===1&&(s==\"INPUT\"&&(i==\"text\"||i==\"password\"||i==\"search\")||s==\"TEXTAREA\")){var n=this.get(0);if(r>0){if(typeof n.selectionStart==\"number\"){n.focus();n.selectionStart=e;n.selectionEnd=e}return this}else{if(typeof n.selectionStart==\"number\"){return n.selectionStart}return-1}}else{return this}};jQuery.fn.cursorPos=t;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/getSelectedText\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";var t=function(){var t=this.get(0);try{if(typeof t.selectionStart===\"number\"){return t.value.substring(t.selectionStart,t.selectionEnd)}}catch(t){}return\"\"};jQuery.fn.getSelectedText=t;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/hasTabIndex\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";var t=function(t){var n=jQuery.prop(t,\"tabIndex\");return n!=null&&n>=0&&(!jQuery.attr(t,\"disabled\")||jQuery.attr(t,\"tabindex\"))};jQuery.fn.hasTabIndex=function(){return t(this.get(0))};return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/parentByAttribute\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";var t=function t(r,e){if(this.length>0){if(e){return this.first().parents(\"[\"+r+\"='\"+e+\"']\").get(0)}else{return this.first().parents(\"[\"+r+\"]\").get(0)}}};jQuery.fn.parentByAttribute=t;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/rect\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/dom/getOwnerWindow\"],function(jQuery,t){\"use strict\";var e=function e(){var i=this.get(0);if(i){if(i.getBoundingClientRect){var r=i.getBoundingClientRect();var n={top:r.top,left:r.left,width:r.right-r.left,height:r.bottom-r.top};var o=t(i);n.left+=jQuery(o).scrollLeft();n.top+=jQuery(o).scrollTop();return n}else{return{top:10,left:10,width:i.offsetWidth,height:i.offsetHeight}}}return null};jQuery.fn.rect=e;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/rectContains\", [\"sap/ui/thirdparty/jquery\",\"sap/base/assert\",\"sap/ui/dom/jquery/rect\"],function(jQuery,t){\"use strict\";var e=function e(r,s){t(!isNaN(r),\"iPosX must be a number\");t(!isNaN(s),\"iPosY must be a number\");var i=this.rect();if(i){return r>=i.left&&r<=i.left+i.width&&s>=i.top&&s<=i.top+i.height}return false};jQuery.fn.rectContains=e;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/scrollLeftRTL\", [\"sap/ui/dom/denormalizeScrollLeftRTL\",\"sap/ui/util/_FeatureDetection\",\"sap/ui/thirdparty/jquery\"],function(t,e,jQuery){\"use strict\";var i;if(e.initialScrollPositionIsZero()){i=function(t){return t.scrollWidth+t.scrollLeft-t.clientWidth}}else{i=function(t){return t.scrollLeft}}var r=function(e){var r=this.get(0);if(r){if(e===undefined){return i(r)}else{r.scrollLeft=t(e,r);return this}}};jQuery.fn.scrollLeftRTL=r;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/scrollRightRTL\", [\"sap/ui/util/_FeatureDetection\",\"sap/ui/thirdparty/jquery\"],function(t,jQuery){\"use strict\";var i;if(t.initialScrollPositionIsZero()){i=function(t){return-t.scrollLeft}}else{i=function(t){return t.scrollWidth-t.scrollLeft-t.clientWidth}}var r=function(){var t=this.get(0);if(t){return i(t)}};jQuery.fn.scrollRightRTL=r;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/selectText\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";var t=function t(e,r){var i=this.get(0);try{if(typeof i.selectionStart===\"number\"){i.setSelectionRange(e>0?e:0,r)}}catch(t){}return this};jQuery.fn.selectText=t;return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/zIndex\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";function e(e,n){var t=Object.getOwnPropertyDescriptor(e,n);return t&&t.value}if(!e(jQuery.fn,\"zIndex\")){var n=function(e){if(e!==undefined){return this.css(\"zIndex\",e)}if(this.length){var n=jQuery(this[0]),t,i;while(n.length&&n[0]!==document){t=n.css(\"position\");if(t===\"absolute\"||t===\"relative\"||t===\"fixed\"){i=parseInt(n.css(\"zIndex\"));if(!isNaN(i)&&i!==0){return i}}n=n.parent()}}return 0};\n/*!\n\t\t * The following function is taken from\n\t\t * jQuery UI Core 1.11.1\n\t\t * http://jqueryui.com\n\t\t *\n\t\t * Copyright jQuery Foundation and other contributors\n\t\t * Released under the MIT license.\n\t\t * http://jquery.org/license\n\t\t *\n\t\t * http://api.jqueryui.com/category/ui-core/\n\t\t */jQuery.fn.zIndex=n}return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/units/Rem\", [\"sap/base/assert\"],function(e){\"use strict\";function t(){var e=document.documentElement;if(!e){return 16}return parseFloat(window.getComputedStyle(e).getPropertyValue(\"font-size\"))}var r={fromPx:function(r){e(typeof r===\"string\"&&r!==\"\"&&!isNaN(parseFloat(r))&&typeof parseFloat(r)===\"number\"||typeof r===\"number\"&&!isNaN(r),'Rem.fromPx: either the \"vPx\" parameter must be an integer, or a string e.g.: \"16px\"');return parseFloat(r)/t()},toPx:function(r){e(typeof r===\"string\"&&r!==\"\"&&!isNaN(parseFloat(r))&&typeof parseFloat(r)===\"number\"||typeof r===\"number\"&&!isNaN(r),'Rem.toPx: either the \"vRem\" parameter must be an integer, or a string e.g.: \"1rem\"');return parseFloat(r)*t()}};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/events/isMouseEventDelayed\", [\"sap/ui/Device\"],function(e){\"use strict\";var i=function(e){return false};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/events/isSpecialKey\", function(){\"use strict\";var e=function(e){function r(e){var r=e.key;return r===\"Shift\"||r===\"Control\"||r===\"Alt\"||r===\"AltGraph\"||r===\"CapsLock\"||r===\"NumLock\"}function t(e){var r=e.key;return r===\"ArrowLeft\"||r===\"ArrowUp\"||r===\"ArrowRight\"||r===\"ArrowDown\"}var n=e.key,a=r(e)||t(e)||n===\"PageUp\"||n===\"PageDown\"||n===\"End\"||n===\"Home\"||n===\"PrintScreen\"||n===\"Insert\"||n===\"Delete\"||n===\"F1\"||n===\"F2\"||n===\"F3\"||n===\"F4\"||n===\"F5\"||n===\"F6\"||n===\"F7\"||n===\"F8\"||n===\"F9\"||n===\"F10\"||n===\"F11\"||n===\"F12\"||n===\"Pause\"||n===\"Backspace\"||n===\"Tab\"||n===\"Enter\"||n===\"Escape\"||n===\"ScrollLock\";switch(e.type){case\"keydown\":case\"keyup\":case\"keypress\":return a;default:return false}};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/events/jquery/EventTriggerHook\", [\"sap/base/Log\",\"sap/ui/dom/containsOrEquals\",\"sap/ui/thirdparty/jquery\",\"sap/base/util/uid\"],function(e,r,jQuery,i){\"use strict\";var t={};function o(i){var o=e.isLoggable(e.Level.DEBUG),n=t[i.type],s=n.originalTriggerHook,a=performance.now(),f,d,u;if(!i.isPropagationStopped()&&!i.isSimulated){for(d in n.domRefs){u=n.domRefs[d];if(u.excludedDomRefs.indexOf(i.target)===-1&&r(u.domRef,i.target)){i.preventDefault();i.stopImmediatePropagation();if(o){f=performance.now();e.debug(\"Perf: jQuery trigger suppression event handler \"+i.type+\" took \"+(f-a)+\" milliseconds.\")}return false}}}if(s){return s.call(this,i)}}function n(e){if(!jQuery.event.special[e]){jQuery.event.special[e]={}}var r=jQuery.event.special[e],i=r.trigger;r.trigger=o;return i}function s(e,r,o){var s=t[e];var a=i();if(!s){s=t[e]={domRefs:{},originalTriggerHook:n(e)}}s.domRefs[a]={domRef:r,excludedDomRefs:[].concat(o)};return{id:a,type:e}}function a(r){if(!r){e.error(\"Release trigger events must not be called without passing a valid handler!\");return}var i=t[r.type];if(!i){return}else if(!i.domRefs[r.id]||!i.domRefs[r.id].domRef){e.warning(\"Release trigger event for event type \"+r.type+\"on Control \"+r.id+\": DomRef does not exists\");return}delete i.domRefs[r.id]}return{suppress:s,release:a}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/ClientTreeBindingAdapter\", [\"sap/ui/model/TreeBinding\",\"sap/ui/model/ClientTreeBinding\",\"./TreeBindingAdapter\",\"sap/ui/model/ChangeReason\",\"sap/base/assert\",\"sap/base/Log\"],function(e,t,i,o,r,n){\"use strict\";var p=function(){if(!(this instanceof e)||this._bIsAdapted){return}i.apply(this);for(var t in p.prototype){if(p.prototype.hasOwnProperty(t)){this[t]=p.prototype[t]}}this._invalidTree=true;this.setNumberOfExpandedLevels(this.mParameters.numberOfExpandedLevels||0)};p.prototype.setNumberOfExpandedLevels=function(e){this._iNumberOfExpandedLevels=parseInt(e)};p.prototype.getNumberOfExpandedLevels=function(){return this._iNumberOfExpandedLevels};p.prototype.nodeHasChildren=function(e){r(e,\"TreeBindingAdapter.nodeHasChildren: No node given!\");if(!e){return false}else if(e.isArtificial){return true}else{return t.prototype.hasChildren.call(this,e.context)}};p.prototype.resetData=function(e,i){var r=t.prototype.resetData.call(this,e,i);this._aRowIndexMap=[];this._oRootNode=undefined;this._iPageSize=0;this._iThreshold=0;if(!i||i.reason!==o.Sort){this.clearSelection();this._createTreeState(true)}return r};p.prototype._calculateGroupID=function(e){var t=this.getPath();var i;if(e.context){var o=e.context.getPath();if(t!=\"/\"){var r=o.match(t+\"(.*)\");if(r!=null&&r[1]){i=r[1]}else{n.warning(\"CTBA: BindingPath/ContextPath matching problem!\")}}if(!i){i=o}if(i.startsWith(\"/\")){i=i.substring(1,i.length)}var p;if(!e.parent){p=this._calculateGroupID({context:e.context._parentContext||null})}else{p=e.parent.groupID}i=p+i.replace(/\\//g,\"_\")+\"/\"}else if(e.context===null){i=\"/\"}return i};p.prototype.expand=function(){this._buildTree();i.prototype.expand.apply(this,arguments)};p.prototype.collapse=function(){this._buildTree();i.prototype.collapse.apply(this,arguments)};p.prototype._buildTree=function(e,t){if(this._invalidTree){e=e||0;t=t||this.getRootContexts().length;this._invalidTree=false;this._aRowIndexMap=[];i.prototype._buildTree.call(this,e,t)}};p.prototype.findNode=function(e){this._buildTree();return i.prototype.findNode.apply(this,arguments)};p.prototype.setSelectedIndex=function(e){this._buildTree();i.prototype.setSelectedIndex.apply(this,arguments)};p.prototype.setSelectionInterval=function(e,t){this._buildTree();i.prototype.setSelectionInterval.apply(this,arguments)};p.prototype.addSelectionInterval=function(){this._buildTree();i.prototype.addSelectionInterval.apply(this,arguments)};p.prototype.removeSelectionInterval=function(){this._buildTree();i.prototype.removeSelectionInterval.apply(this,arguments)};p.prototype.clearSelection=function(){this._buildTree();i.prototype.clearSelection.apply(this,arguments)};p.prototype.selectAll=function(){this._buildTree();i.prototype.selectAll.apply(this,arguments)};p.prototype._calculateRequestLength=function(e,t){return e};p.prototype.getLength=function(){this._buildTree();return i.prototype.getLength.apply(this,arguments)};p.prototype._fireChange=function(){this._invalidTree=true;this.constructor.prototype._fireChange.apply(this,arguments)};return p},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/MetaModel\", [\"./Model\"],function(t){\"use strict\";var n=t.extend(\"sap.ui.model.MetaModel\",{constructor:function(){t.apply(this,arguments)}});n.prototype.createBindingContext=function(t,n,e,i){if(typeof n==\"function\"){i=n;n=null}if(typeof e==\"function\"){i=e;e=null}var o=this.resolve(t,n),u=o==undefined?undefined:this.getContext(o?o:\"/\");if(!u){u=null}if(i){i(u)}return u};n.prototype.destroyBindingContext=function(){};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/SelectionModel\", [\"sap/ui/base/EventProvider\",\"sap/base/assert\"],function(e,t){\"use strict\";var n=e.extend(\"sap.ui.model.SelectionModel\",{constructor:function(t){e.apply(this);this.iSelectionMode=t||n.SINGLE_SELECTION;this.aSelectedIndices=[];this.iLeadIndex=-1;this.fnSort=function(e,t){return e-t};this.fnSortReverse=function(e,t){return t-e}}});n.SINGLE_SELECTION=0;n.MULTI_SELECTION=1;n.prototype.getSelectionMode=function(){return this.iSelectionMode};n.prototype.setSelectionMode=function(e){this.iSelectionMode=e||n.SINGLE_SELECTION};n.prototype.isSelectedIndex=function(e){return this.aSelectedIndices.indexOf(e)!==-1};n.prototype.getLeadSelectedIndex=function(){return this.iLeadIndex};n.prototype.setLeadSelectedIndex=function(e){t(typeof e===\"number\",\"iLeadIndex must be an integer\");this.setSelectionInterval(e,e);return this};n.prototype.getMinSelectionIndex=function(){if(this.aSelectedIndices.length>0){var e=this.aSelectedIndices.sort(this.fnSort);return e[0]}else{return-1}};n.prototype.getMaxSelectionIndex=function(){if(this.aSelectedIndices.length>0){var e=this.aSelectedIndices.sort(this.fnSortReverse);return e[0]}else{return-1}};n.prototype.getSelectedIndices=function(){var e=this.aSelectedIndices.sort(this.fnSort);return e};n.prototype.setSelectionInterval=function(e,i){t(typeof e===\"number\",\"iFromIndex must be an integer\");t(typeof i===\"number\",\"iToIndex must be an integer\");if(this.iSelectionMode===n.SINGLE_SELECTION){e=i}var r=Math.min(e,i);var s=Math.max(e,i);var a=this.aSelectedIndices.slice();var o={};var d=[];for(var h=0;hi){d.push(a[h])}}var c=[];for(var u=r;u<=s;u++){c.push(u);if(!o[u]){d.push(u)}}this._update(c,i,d);return this};n.prototype.addSelectionInterval=function(e,i){t(typeof e===\"number\",\"iFromIndex must be an integer\");t(typeof i===\"number\",\"iToIndex must be an integer\");if(this.iSelectionMode===n.SINGLE_SELECTION){return this.setSelectionInterval(e,i)}var r=Math.min(e,i);var s=Math.max(e,i);var a=[];var o=this.aSelectedIndices;for(var d=r;d<=s;d++){if(o.indexOf(d)===-1){o.push(d);a.push(d)}}this._update(o,s,a);return this};n.prototype.moveSelectionInterval=function(e,n){t(typeof e===\"number\",\"iFromIndex must be an integer\");t(typeof n===\"number\",\"iToIndex must be an integer\");var i=[];var r=this.aSelectedIndices;var s=this.iLeadIndex;for(var a=0;a=e){i.push(r[a]);r[a]+=n;i.push(r[a]);if(o===this.iLeadIndex){s+=n}}}this._update(r,s,i);return this};n.prototype.removeSelectionInterval=function(e,i){t(typeof e===\"number\",\"iFromIndex must be an integer\");t(typeof i===\"number\",\"iToIndex must be an integer\");if(this.iSelectionMode===n.SINGLE_SELECTION){e=i}var r=Math.min(e,i);var s=Math.max(e,i);var a=[];var o=this.aSelectedIndices;var d=this.iLeadIndex;for(var h=r;h<=s;h++){var c=o.indexOf(h);if(c>-1){o.splice(c,1);a.push(h)}if(h===this.iLeadIndex){d=-1}}this._update(o,d,a);return this};n.prototype.sliceSelectionInterval=function(e,n){t(typeof e===\"number\",\"iFromIndex must be an integer\");t(typeof n===\"number\",\"iToIndex must be an integer\");var i=Math.min(e,n);var r=Math.max(e,n);var s=[];var a=[];var o=this.aSelectedIndices.slice(0);var d=this.aSelectedIndices;var h=this.iLeadIndex;var c=r-i+1;for(var u=r;u>=i;u--){var f=d.indexOf(u);if(f>-1){d.splice(f,1);a.push(u)}if(u===this.iLeadIndex){h=-1}}for(var u=0;u=i){var p=d[u]-c;if(l===h){h=p}d[u]=p;if(o.indexOf(p)===-1){s.push(p)}}}for(var I=0;I0||this.iLeadIndex!==-1){this._update([],-1,this.aSelectedIndices.slice())}return this};n.prototype.attachSelectionChanged=function(e,t,n){this.attachEvent(\"selectionChanged\",e,t,n);return this};n.prototype.detachSelectionChanged=function(e,t){this.detachEvent(\"selectionChanged\",e,t);return this};n.prototype.fireSelectionChanged=function(e){this.fireEvent(\"selectionChanged\",e);return this};n.prototype._update=function(e,t,n,i){var r={rowIndices:n&&n.sort(this.fnSort),selectAll:i};this.aSelectedIndices=e;r.oldIndex=this.iLeadIndex;if(this.iLeadIndex!==t){this.iLeadIndex=t;r.leadIndex=this.iLeadIndex}if(n.length>0||typeof r.leadIndex!==\"undefined\"){this.fireSelectionChanged(r)}};n.prototype.selectAll=function(e){t(typeof e===\"number\",\"iToIndex must be an integer\");var n=this.aSelectedIndices.slice();var i={};var r=[];var s=[];var a=0;for(a=0;ae){r.push(n[a])}}for(a=0;a<=e;a++){s.push(a);if(!i[a]){r.push(a)}}this._update(s,0,r,true);return this};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/TreeAutoExpandMode\", [],function(){\"use strict\";var e={Sequential:\"Sequential\",Bundled:\"Bundled\"};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/TreeBindingAdapter\", [\"sap/ui/model/TreeBinding\",\"sap/ui/model/TreeAutoExpandMode\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/TreeBindingUtils\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/each\",\"sap/base/util/isEmptyObject\"],function(e,t,i,o,n,r,a,s){\"use strict\";var d=function(){if(!(this instanceof e)||this._bIsAdapted){return}for(var i in d.prototype){if(d.prototype.hasOwnProperty(i)){this[i]=d.prototype[i]}}this.mParameters=this.mParameters||{};this._aRowIndexMap=[];this._iThreshold=0;this._iPageSize=0;this.setAutoExpandMode(this.mParameters.autoExpandMode||t.Sequential);if(this.mParameters.collapseRecursive===undefined){this.bCollapseRecursive=true}else{this.bCollapseRecursive=!!this.mParameters.collapseRecursive}this._createTreeState();this._bIsAdapted=true};d.prototype.getCurrentTreeState=function(){var e=\";\",t;var i={};for(t in this._mTreeState.expanded){i[t]=true}var o={};for(t in this._mTreeState.collapsed){o[t]=true}var n={};for(t in this._mTreeState.selected){n[t]=true}return{_getExpandedList:function(){return Object.keys(i).join(e)},_getCollapsedList:function(){return Object.keys(o).join(e)},_getSelectedList:function(){return Object.keys(n).join(e)},_isExpanded:function(e){return!!i[e]},_isCollapsed:function(e){return!!o[e]},_remove:function(e){delete i[e];delete o[e];delete n[e]}}};d.prototype.setTreeState=function(e){this._oInitialTreeState=e};d.prototype.setAutoExpandMode=function(e){this._autoExpandMode=e};d.prototype.getLength=function(){if(!this._oRootNode){return 0}return this._oRootNode.magnitude};d.prototype.getContextByIndex=function(e){if(this.isInitial()){return undefined}var t=this.findNode(e);return t?t.context:undefined};d.prototype.getNodeByIndex=function(e){if(this.isInitial()){return undefined}if(e>=this.getLength()){return undefined}return this.findNode(e)};d.prototype.findNode=function(e){if(this.isInitial()){return undefined}var t=typeof e;var i;var o=[];if(t===\"number\"){i=this._aRowIndexMap[e];if(!i){var n=-1;this._match(this._oRootNode,o,1,function(t){if(n===e){return true}n+=1;return false});i=o[0]}}return i};d.prototype._createTreeState=function(e){if(!this._mTreeState||e){this._mTreeState={expanded:{},collapsed:{},selected:{},deselected:{}}}};d.prototype._updateTreeState=function(e){e=e||{};var t=e.expanded?this._mTreeState.expanded:this._mTreeState.collapsed;var i=e.expanded?this._mTreeState.collapsed:this._mTreeState.expanded;var o=this._getNodeState(e.groupID);if(!o){o=e.fallbackNodeState||this._createNodeState({groupID:e.groupID,expanded:e.expanded,sum:e.sum})}delete i[e.groupID];t[e.groupID]=o;o.expanded=e.expanded;return o};d.prototype._createNodeState=function(e){if(!e.groupID){n(false,\"To create a node state a group ID is mandatory!\");return undefined}var t;var i;if(this._oInitialTreeState){t=this._oInitialTreeState._isExpanded(e.groupID);i=this._oInitialTreeState._isCollapsed(e.groupID);this._oInitialTreeState._remove(e.groupID)}var o=e.expanded||t||false;var r=e.selected||false;var a={groupID:e.groupID,expanded:o,sections:e.sections||[{startIndex:0,length:this._iPageSize}],sum:e.sum||false,selected:r};if(t||i){this._updateTreeState({groupID:e.groupID,fallbackNodeState:a,expanded:t,collapsed:i})}return a};d.prototype._getNodeState=function(e){var t=this._mTreeState.expanded[e];var i=this._mTreeState.collapsed[e];var o=this._mTreeState.selected[e];var n=this._mTreeState.deselected[e];return t||i||o||n};d.prototype._updateNodeSections=function(e,t){var i=this._getNodeState(e);if(!i){n(false,\"No Node State for Group ID '\"+e+\"' found!\");return undefined}else if(!t){n(false,\"No Section given!\");return undefined}else if(t.length<=0){n(false,\"The length of the given section must be positive greater than 0.\");return undefined}else if(t.startIndex<0){n(false,\"The sections start index must be greater/equal to 0.\");return undefined}i.sections=o.mergeSections(i.sections,t);return i.sections};d.prototype._increaseSections=function(){var e=function(e){if(!e){return}var t=this._getMaxGroupSize(e);var i=e.nodeState;if(t===undefined){var n=[];for(var r=0;rthis._iPageSize){this._iPageSize=i;this._increaseSections()}this._iThreshold=Math.max(this._iThreshold,o);this._aRowIndexMap=[];this._buildTree(t,i);if(this._oRootNode){d=this._retrieveNodeSection(this._oRootNode,t,i)}this._updateRowIndexMap(d,t);for(var l=0;l=t&&o0){if(!e.children[o-1]){e.children[o-1]=undefined}i.leafCount=o}if(this.bClientOperation){i.sections=[{startIndex:0,length:o}]}for(var n=0;n=0&&this._autoExpandMode===t.Bundled){a=Math.max(0,o)}var s;if(e.isArtificial){s=this.getRootContexts(r.startIndex,a,this._iThreshold)}else{s=this.nodeHasChildren(e)?this.getNodeContexts(e.context,r.startIndex,a,this._iThreshold):[]}for(var d=0;d0||h.nodeState.expanded)&&this.isGrouped()){if(!this._mTreeState.collapsed[h.groupID]&&!h.isLeaf){this._updateTreeState({groupID:h.nodeState.groupID,fallbackNodeState:h.nodeState,expanded:true});this._loadChildContexts(h)}e.magnitude+=Math.max(h.magnitude||0,0);e.numberOfLeafs+=h.numberOfLeafs}}}e.magnitude+=Math.max(o||0,0)};d.prototype.isGrouped=function(){return true};d.prototype._calculateGroupID=function(e){r.error(\"TreeBindingAdapter#_calculateGroupID: Not implemented. Needs to be implemented in respective sub-classes.\")};d.prototype._createNode=function(e){e=e||{};var t=e.context;var i=e.level||0;var o={context:t,level:i,children:e.children||[],parent:e.parent,nodeState:e.nodeState,isLeaf:e.isLeaf||false,positionInParent:e.positionInParent,magnitude:e.magnitude||0,numberOfTotals:e.numberOfTotals||0,numberOfLeafs:e.numberOfLeafs||0,autoExpand:e.autoExpand||0,absoluteNodeIndex:e.absoluteNodeIndex||0,totalNumberOfLeafs:0};if(t!==undefined){o.groupID=this._calculateGroupID(o)}return o};d.prototype.expand=function(e,t){var o=this.findNode(e);if(!o){n(false,\"No node found for index \"+e);return}this._updateTreeState({groupID:o.nodeState.groupID,fallbackNodeState:o.nodeState,expanded:true});if(!t){this._fireChange({reason:i.Expand})}};d.prototype.expandToLevel=function(e){this._mTreeState.collapsed={};this.setNumberOfExpandedLevels(e);this._fireChange({reason:i.Expand})};d.prototype.isExpanded=function(e){var t=this.findNode(e);return t&&t.nodeState?t.nodeState.expanded:false};d.prototype.collapse=function(e,t){var o;var r=this;if(typeof e===\"object\"){o=e}else if(typeof e===\"number\"){var s=this.findNode(e);if(!s){n(false,\"No node found for index \"+e);return}o=s.nodeState}this._updateTreeState({groupID:o.groupID,fallbackNodeState:o,expanded:false});o.selectAllMode=false;if(this.bCollapseRecursive){var d=o.groupID;a(this._mTreeState.expanded,function(e,t){if(typeof d==\"string\"&&d.length>0&&e.startsWith(d)){r._updateTreeState({groupID:e,expanded:false})}});var l=[];a(this._mTreeState.selected,function(e,t){if(typeof d==\"string\"&&d.length>0&&e.startsWith(d)&&e!==d){t.selectAllMode=false;r.setNodeSelection(t,false);l.push(e)}});if(l.length){var u={rowIndices:[]};var h=-1;this._map(this._oRootNode,function(e){if(!e||!e.isArtificial){h++}if(e&&l.indexOf(e.groupID)!==-1){if(e.groupID===this._sLeadSelectionGroupID){u.oldIndex=h;u.leadIndex=-1}u.rowIndices.push(h)}});this._publishSelectionChanges(u)}}if(!t){this._fireChange({reason:i.Collapse})}};d.prototype.collapseToLevel=function(e){if(!e||e<0){e=0}var t=this;a(this._mTreeState.expanded,function(i,o){var n=t._getGroupIdLevel(i)-1;if(n===e){t.collapse(o,true)}});if(this.bCollapseRecursive){this.setNumberOfExpandedLevels(e)}this._fireChange({reason:i.Collapse})};d.prototype._map=function(e,t){t.call(this,e);if(!e){return}for(var i=0;i=0){i.rowIndices.splice(o,1)}else{i.rowIndices.push(e)}i.leadGroupID=t.groupID;i.leadIndex=e;this.setNodeSelection(t.nodeState,true);this._publishSelectionChanges(i)}else{r.warning(\"TreeBindingAdapter: The selection was ignored. Please make sure to only select rows, for which data has been fetched to the client. For AnalyticalTables, some rows might not be selectable at all.\")}};d.prototype.getSelectedIndex=function(){if(!this._sLeadSelectionGroupID||s(this._mTreeState.selected)){return-1}var e=-1;var t=false;var i=function(i){if(!i||!i.isArtificial){e++}if(i){if(i.groupID===this._sLeadSelectionGroupID){t=true;return true}}return false};this._match(this._oRootNode,[],1,i);if(t){return e}return-1};d.prototype.getSelectedIndices=function(){var e=[];var t=this;if(s(this._mTreeState.selected)){return e}var i=Object.keys(this._mTreeState.selected).length;var o=-1;var n=function(i){if(!i||!i.isArtificial){o++}if(i){if(i.nodeState&&i.nodeState.selected&&!i.isArtificial){e.push(o);t._aRowIndexMap[o]=i;return true}}return false};this._match(this._oRootNode,[],i,n);return e};d.prototype.getSelectedNodesCount=function(){var e;if(this._oRootNode&&this._oRootNode.nodeState.selectAllMode){var t,i,o,n;var r,a=[];if(this.filterInfo&&this.oCombinedFilter){for(var s=this.filterInfo.aFilteredContexts.length-1;s>=0;s--){r=this.filterInfo.aFilteredContexts[s];a.push(this._calculateGroupID({context:r}))}}i=0;for(t in this._mTreeState.expanded){if(!this.oCombinedFilter||a.indexOf(t)!==-1){n=this._mTreeState.expanded[t];if(!n.selectAllMode&&n.leafCount!==undefined){i+=n.leafCount}}}for(t in this._mTreeState.selected){if(!this.oCombinedFilter||a.indexOf(t)!==-1){n=this._mTreeState.selected[t];o=this._mTreeState.expanded[n.parentGroupID];if(o&&!o.selectAllMode){i--}}}for(t in this._mTreeState.deselected){if(!this.oCombinedFilter||a.indexOf(t)!==-1){n=this._mTreeState.deselected[t];o=this._mTreeState.expanded[n.parentGroupID];if(o&&o.selectAllMode){i++}}}e=this._getSelectableNodesCount(this._oRootNode)-i}else{e=Object.keys(this._mTreeState.selected).length}return e};d.prototype._getSelectableNodesCount=function(e){if(e){return e.magnitude}else{return 0}};d.prototype.getSelectedContexts=function(){var e=[];var t=this;if(s(this._mTreeState.selected)){return e}var i=Object.keys(this._mTreeState.selected).length;var o=-1;var n=function(i){if(!i||!i.isArtificial){o++}if(i){if(i.nodeState&&i.nodeState.selected&&!i.isArtificial){e.push(i.context);t._aRowIndexMap[o]=i;return true}}return false};this._match(this._oRootNode,[],i,n);return e};d.prototype.setSelectionInterval=function(e,t){var i,o,n=this._clearSelection(),r={},a=[],s=this._setSelectionInterval(e,t,true);for(i=0;i=o&&l<=n){if(this._isNodeSelectable(e)){if(e.nodeState.selected!==!!i){a.push(l)}if(e.groupID===this._sLeadSelectionGroupID){d=l}this.setNodeSelection(e.nodeState,!!i)}return true}}return false};this._match(this._oRootNode,r,s,u);var h={rowIndices:a,oldIndex:d,leadIndex:d&&!i?-1:undefined};if(r.length>0&&i){var p=r[r.length-1];h.leadGroupID=p.groupID;h.leadIndex=n}return h};d.prototype.addSelectionInterval=function(e,t){var i=this._setSelectionInterval(e,t,true);this._publishSelectionChanges(i)};d.prototype.removeSelectionInterval=function(e,t){var i=this._setSelectionInterval(e,t,false);this._publishSelectionChanges(i)};d.prototype.selectAll=function(){this._mTreeState.deselected={};var e={rowIndices:[],oldIndex:-1,selectAll:true};var t=-1;this._map(this._oRootNode,function(i){if(!i||!i.isArtificial){t++}if(i){if(i.groupID===this._sLeadSelectionGroupID){e.oldIndex=t}if(this._isNodeSelectable(i)){if(i.nodeState.selected!==true){e.rowIndices.push(t)}this.setNodeSelection(i.nodeState,true);e.leadGroupID=i.groupID;e.leadIndex=t}if(i.nodeState.expanded){i.nodeState.selectAllMode=true}}});this._publishSelectionChanges(e)};d.prototype._clearSelection=function(){var e=-1;var t=-1;var i;var o=[];if(this._oRootNode&&!this._oRootNode.nodeState.selectAllMode){i=0;for(var n in this._mTreeState.selected){if(n){i++}}}var r=function(i){if(!i||!i.isArtificial){e++}if(i){i.nodeState.selectAllMode=false;if(this._mTreeState.selected[i.groupID]){if(!i.isArtificial){o.push(e)}this.setNodeSelection(i.nodeState,false);if(i.groupID===this._sLeadSelectionGroupID){t=e}return true}}return false};this._match(this._oRootNode,[],i,r);if(this._oRootNode&&this._oRootNode.nodeState&&this._oRootNode.isArtificial){this._oRootNode.nodeState.selectAllMode=false}return{rowIndices:o,oldIndex:t,leadIndex:-1}};d.prototype.clearSelection=function(e){var t=this._clearSelection();if(!e){this._publishSelectionChanges(t)}};d.prototype._publishSelectionChanges=function(e){e.oldIndex=e.oldIndex||this.getSelectedIndex();e.rowIndices.sort(function(e,t){return e-t});if(e.leadIndex>=0&&e.leadGroupID){this._sLeadSelectionGroupID=e.leadGroupID}else if(e.leadIndex===-1){this._sLeadSelectionGroupID=undefined}else{e.leadIndex=e.oldIndex}if(e.rowIndices.length>0||e.leadIndex!=undefined&&e.leadIndex!==-1){this.fireSelectionChanged(e)}};d.prototype.setCollapseRecursive=function(e){this.bCollapseRecursive=!!e};d.prototype.getCollapseRecursive=function(){return this.bCollapseRecursive};d.prototype.attachSelectionChanged=function(e,t,i){this.attachEvent(\"selectionChanged\",e,t,i);return this};d.prototype.detachSelectionChanged=function(e,t){this.detachEvent(\"selectionChanged\",e,t);return this};d.prototype.fireSelectionChanged=function(e){this.fireEvent(\"selectionChanged\",e);return this};return d},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/TreeBindingCompatibilityAdapter\", [\"sap/base/util/each\"],function(t){\"use strict\";var e=function(e,n){Object.assign(e,{_init:function(t){this._bExpandFirstLevel=t;this.mContextInfo={};this._initContexts();if(t&&!this._bFirstLevelExpanded){this._expandFirstLevel()}},_initContexts:function(t){this.aContexts=this.getRootContexts(0,Number.MAX_VALUE);for(var e=0,n=this.aContexts.length;e0){t(this.aContexts.slice(),function(t,i){if(!e){n._loadChildContexts(i)}n._getContextInfo(i).bExpanded=true});this._bFirstLevelExpanded=true}},_fnFireFilter:e._fireFilter,_fireFilter:function(){this._fnFireFilter.apply(this,arguments);this._initContexts(true);this._restoreContexts(this.aContexts)},_fnFireChange:e._fireChange,_fireChange:function(){this._fnFireChange.apply(this,arguments);this._initContexts(true);this._restoreContexts(this.aContexts)},_restoreContexts:function(e){var n=this;var i=[];t(e.slice(),function(t,e){var o=n._getContextInfo(e);if(o&&o.bExpanded){i.push.apply(i,n._loadChildContexts(e))}});if(i.length>0){this._restoreContexts(i)}},_loadChildContexts:function(t){var e=this._getContextInfo(t);var n=this.aContexts?this.aContexts.indexOf(t):-1;var i=this.getNodeContexts(t,0,Number.MAX_VALUE);for(var o=0,s=i.length;o0;i--){if(this._getContextInfo(this.aContexts[i]).oParentContext===t){this.aContexts.splice(i,1)}}n.bExpanded=false;if(!e){this._fireChange()}this.restoreSelection()}},collapse:function(t){this.collapseContext(this.getContextByIndex(t))},collapseToLevel:function(t){if(!t||t<0){t=0}var e=this.aContexts.slice();for(var n=e.length-1;n>=0;n--){var i=this.getLevel(e[n]);if(i!=-1&&i>=t){this.collapseContext(e[n],true)}}this._fireChange()},toggleContext:function(t){var e=this._getContextInfo(t);if(e){if(e.bExpanded){this.collapseContext(t)}else{this.expandContext(t)}}},toggleIndex:function(t){this.toggleContext(this.getContextByIndex(t))},storeSelection:function(){var e=n.getSelectedIndices();var i=[];t(e,function(t,e){i.push(n.getContextByIndex(e))});this._aSelectedContexts=i},restoreSelection:function(){n.clearSelection();var e=this._aSelectedContexts;t(this.aContexts,function(t,i){if((e?e.indexOf(i):-1)>=0){n.addSelectionInterval(t,t)}});this._aSelectedContexts=undefined},attachSelectionChanged:function(){return undefined},detachSelectionChanged:function(){},clearSelection:function(){n._oSelection.clearSelection()},attachSort:function(){},detachSort:function(){}});e._init(n.getExpandFirstLevel())};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/TreeBindingUtils\", function(){\"use strict\";var i=function(){};i.mergeSections=function(i,e){var t=[];for(var r=0;r=s&&e.startIndex>=n.startIndex){e.startIndex=n.startIndex;e.length=a-n.startIndex}else if(e.startIndex<=n.startIndex&&a>=n.startIndex&&a<=s){e.length=s-e.startIndex}else if(e.startIndex>=n.startIndex&&a<=s){e.startIndex=n.startIndex;e.length=n.length}else if(as){t.push(n)}}t.push(e);return t};i._determineRequestDelta=function(i,e){var t=i.iSkip+i.iTop;var r=e.iSkip+e.iTop;if(i.iSkip===e.iSkip&&i.iTop===e.iTop){return false}else if(i.iSkipe.iSkip&&t<=r){i.iTop=e.iSkip-i.iSkip;if(i.iThreshold){i.iTop=i.iTop+i.iThreshold;i.iSkip=Math.max(0,i.iSkip-i.iThreshold);i.iThreshold=0}}else if(i.iSkipr&&i.iSkip>=e.iSkip){i.iSkip=r;i.iTop=t-i.iSkip;if(i.iThreshold){i.iTop+=i.iThreshold;i.iThreshold=0}}else if(i.iSkip>=e.iSkip&&t<=r){return false}else if(i.iSkip<=e.iSkip&&t>=r){e.oRequestHandle.abort()}else if(t<=e.iSkip||i.iSkip>=r){}return undefined};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/_Helper\", [\"sap/base/security/encodeURL\",\"sap/base/util/deepClone\",\"sap/base/util/deepEqual\",\"sap/base/util/extend\",\"sap/base/util/isPlainObject\",\"sap/base/util/merge\"],function(e,a,s,i,t,l){\"use strict\";var n={deepClone:a,deepEqual:s,encodeURL:e,extend:i,isPlainObject:t,merge:l};return n},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/analytics/AnalyticalBinding\", [\"./BatchResponseCollector\",\"./odata4analytics\",\"sap/base/Log\",\"sap/base/util/deepExtend\",\"sap/base/util/each\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/uid\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/FilterProcessor\",\"sap/ui/model/FilterType\",\"sap/ui/model/Sorter\",\"sap/ui/model/TreeAutoExpandMode\",\"sap/ui/model/TreeBinding\",\"sap/ui/model/odata/CountMode\",\"sap/ui/model/odata/ODataUtils\"],function(e,t,i,r,s,n,a,o,u,l,d,h,p,f,g,y,c,v){\"use strict\";var m=\"sap.ui.model.analytics.AnalyticalBinding\",_=0,I=i.getLogger(m);function R(e){var i,r,s,n,a,o,u,l,d,h=new t.QueryResultRequest(e.oAnalyticalQueryResult),p=e.mParameters.select.split(\",\"),f=q(p,e.sPath);h.setAggregationLevel(e.aMaxAggregationLevel);h.setMeasures(e.aMeasureName);Object.keys(e.oDimensionDetailsSet).forEach(function(t){n=e.oDimensionDetailsSet[t];h.includeDimensionKeyTextAttributes(t,true,n.textPropertyName!==undefined,n.aAttributeName)});Object.keys(e.oMeasureDetailsSet).forEach(function(t){u=e.oMeasureDetailsSet[t];h.includeMeasureRawFormattedValueUnit(t,u.rawValuePropertyName!==undefined,u.formattedValuePropertyName!==undefined,u.unitPropertyName!==undefined)});s=h.getURIQueryOptionValue(\"$select\");if(s){r=s.split(\",\");for(a=0,l=r.length;a=0;s--){i=e[s];if(e.indexOf(i)!==s){I.warning(\"Ignored the 'select' binding parameter, because it\"+\" contains the property '\"+i+\"' multiple times\",t);e.splice(s,1);r=true}}return r}var b=y.extend(\"sap.ui.model.analytics.AnalyticalBinding\",{constructor:function(e,t,i,r,s,n){y.call(this,e,t,i,s,n);this.iModelVersion=b._getModelVersion(this.oModel);if(this.iModelVersion===null){throw new Error(\"The AnalyticalBinding does not support the given model\")}this.aAdditionalSelects=[];this.sEntitySetName=n.entitySet?n.entitySet:undefined;this.bArtificalRootContext=false;this.aApplicationFilter=this._convertDeprecatedFilterObjects(s);this.aControlFilter=undefined;this.aSorter=r?r:[];if(!Array.isArray(this.aSorter)){this.aSorter=[this.aSorter]}this.aMaxAggregationLevel=[];this.aAggregationLevel=[];this.oPendingRequests={};this.oPendingRequestHandle=[];this.oGroupedRequests={};this.bUseBatchRequests=n.useBatchRequests===true;this.bProvideTotalSize=n.provideTotalResultSize!==false;this.bProvideGrandTotals=n.provideGrandTotals!==false;this.bReloadSingleUnitMeasures=n.reloadSingleUnitMeasures!==false;this.bUseAcceleratedAutoExpand=n.useAcceleratedAutoExpand!==false;this.bNoPaging=n.noPaging===true;_+=1;this._iId=_;this.iTotalSize=-1;this.mServiceKey={};this.mServiceLength={};this.mServiceFinalLength={};this.mKeyIndex={};this.mFinalLength=this.mServiceFinalLength;this.mLength={};this.mMultiUnitKey={};this.aMultiUnitLoadFactor={};this.bNeedsUpdate=false;this.bApplySortersToGroups=true;this.sLastAutoExpandMode=undefined;this.mEntityKey={};this.sCustomParams=this.oModel.createCustomParams({custom:this.mParameters.custom});this.oAnalyticalQueryResult=null;this.aAnalyticalInfo=[];this.mAnalyticalInfoByProperty={};this.aBatchRequestQueue=[];if(n.countMode==c.None){I.fatal(\"requested count mode is ignored; OData requests will include\"+\" $inlinecount options\")}else if(n.countMode==c.Request||n.countMode==c.Both){I.warning(\"default count mode is ignored; OData requests will include\"+\" $inlinecount options\")}else if(this.oModel.sDefaultCountMode==c.Request){I.warning(\"default count mode is ignored; OData requests will include\"+\" $inlinecount options\")}this.aAllDimensionSortedByName=null;this.aInitialAnalyticalInfo=n.analyticalInfo;this.bInitial=true}});function x(e,t){return function(){if(!e.__supportUID){e.__supportUID=o()}return{type:m,analyticalError:t,analyticalBindingId:e.__supportUID}}}b.prototype.setContext=function(e){var t;if(this.oContext!==e){this.oContext=e;if(!this.isRelative()){return}this.oDataState=null;this.bApplySortersToGroups=true;this.iTotalSize=-1;this._abortAllPendingRequests();t=this.getResolvedPath();if(t){this.resetData();this._initialize();this._fireChange({reason:u.Context})}else{this.bInitial=true}}};b.prototype.initialize=function(){if(this.oModel.oMetadata&&this.oModel.oMetadata.isLoaded()&&this.isInitial()){var e=this.isRelative();if(!e||e&&this.oContext){this._initialize()}this._fireRefresh({reason:u.Refresh})}return this};b.prototype._initialize=function(){if(this.oModel.oMetadata&&this.oModel.oMetadata.isLoaded()){this.bInitial=false;this.oAnalyticalQueryResult=this.oModel.getAnalyticalExtensions().findQueryResultByName(this._getEntitySet());if(!this.oAnalyticalQueryResult){throw\"Error in AnalyticalBinding - The QueryResult '\"+this._getEntitySet()+\"' could not be retrieved. Please check your service definition.\"}this.updateAnalyticalInfo(this.aInitialAnalyticalInfo);this.aAllDimensionSortedByName=this.oAnalyticalQueryResult.getAllDimensionNames().concat([]).sort();this._fireRefresh({reason:u.Refresh})}};b.prototype.getRootContexts=function(e,t,i,r){if(typeof e!==\"object\"){e={length:t,numberOfExpandedLevels:i,startIndex:e,threshold:r}}if(this.isInitial()){return[]}var s=e&&e.numberOfExpandedLevels?e.numberOfExpandedLevels+1:1;var n=null;var a=this._getRequestId(b._requestType.groupMembersQuery,{groupId:null});if(this.bArtificalRootContext&&!this._cleanupGroupingForCompletedRequest(a)){return n}n=this._getContextsForParentContext(null);if(n.length==1){return n}if(s<=1){if(s==1){this._considerRequestGrouping([a,this._getRequestId(b._requestType.groupMembersQuery,{groupId:\"/\"})]);this.getNodeContexts(this.getModel().getContext(\"/\"),{startIndex:e.startIndex,length:e.length,threshold:e.threshold,level:0,numberOfExpandedLevels:0})}}else{var o=this._prepareGroupMembersAutoExpansionRequestIds(\"/\",e.numberOfExpandedLevels);o.push(a);this._considerRequestGrouping(o);this.getNodeContexts(this.getModel().getContext(\"/\"),{startIndex:e.startIndex,length:e.length,threshold:e.threshold,level:0,numberOfExpandedLevels:e.numberOfExpandedLevels})}if(n.length>1){I.fatal(\"assertion failed: grand total represented by a single entry\")}return n};b.prototype.getNodeContexts=function(e,t){if(this.isInitial()){return[]}var i,r,s,n,a,o;if(typeof t==\"object\"){i=t.startIndex;r=t.length;s=t.threshold;n=t.level;a=t.numberOfExpandedLevels;o=t.supressRequest}else{i=arguments[1];r=arguments[2];s=arguments[3];n=arguments[4];a=arguments[5];o=arguments[6]}var u=this._getContextsForParentContext(e,i,r,s,n,a,o);return u};b.prototype.ContextsAvailabilityStatus={ALL:2,SOME:1,NONE:0};b.prototype.hasAvailableNodeContexts=function(e,t){var i=this._getGroupIdFromContext(e,t);if(this._getKeys(i)!=undefined){if(this.mFinalLength[i]==true){return b.prototype.ContextsAvailabilityStatus.ALL}else{return b.prototype.ContextsAvailabilityStatus.SOME}}else{return b.prototype.ContextsAvailabilityStatus.NONE}};b.prototype.getGroupSize=function(e,t){if(e===undefined){return 0}var i=this._getGroupIdFromContext(e,t);return this.mFinalLength[i]?this.mLength[i]:-1};b.prototype.getCount=function(){return this.iTotalSize>=0?this.iTotalSize:undefined};b.prototype.getTotalSize=function(){if(!this.bProvideTotalSize){I.fatal(\"total size of result explicitly turned off, but getter invoked\")}return this.iTotalSize};b.prototype.hasChildren=function(e,t){t=t||{level:1};if(e===undefined){return false}if(e==null){return true}var i=t.level;if(i==0){return true}if(this.aAggregationLevel.length999){this.iAnalyticalInfoVersionNumber=1}else{this.iAnalyticalInfoVersionNumber=this.iAnalyticalInfoVersionNumber+1}this.oMeasureDetailsSet={};this.oDimensionDetailsSet={};this.aAdditionalSelects=[];this.mHierarchyDetailsByName={};o=this.oAnalyticalQueryResult.getEntityType();for(var c=0;c=0;o--){n=this.aBindParameters[o];if(n.sEventType===t&&n.fnHandler===e&&n.oListener===i){this.aBindParameters.splice(o,1);s.off(t,n.fnProxy)}}}}}return this};y.prototype.getRenderer=function(){return r.getRenderer(this)};y.prototype.placeAt=function(t,s){e.ready(function(){var e=t;if(typeof t===\"string\"){e=i.getElementById(t)}if(e instanceof i){if(!p(e)){c.warningThrows(\"placeAt cannot be processed because container \"+e+\" does not have an aggregation 'content'.\");return this}}else{if(t===n.STATIC_UIAREA_ID||t&&t.id===n.STATIC_UIAREA_ID){e=n.getUIArea()}else{e=o.create(t)}}if(typeof s===\"number\"){e.insertContent(this,s)}else{s=s||\"last\";switch(s){case\"last\":e.addContent(this);break;case\"first\":e.insertContent(this,0);break;case\"only\":e.removeAllContent();e.addContent(this);break;default:c.warningThrows(\"Position \"+s+\" is not supported for function placeAt.\")}}}.bind(this));return this};function p(t){var e=t.getMetadata().getAggregation(\"content\");if(e){return e.multiple&&e.type===\"sap.ui.core.Control\"}return typeof t.addContent===\"function\"&&typeof t.insertContent===\"function\"&&typeof t.removeAllContent===\"function\"}y.prototype.onselectstart=function(t){if(!this.bAllowTextSelection){t.preventDefault();t.stopPropagation()}};y.prototype.onBeforeRendering=function(){return undefined};y.prototype.onAfterRendering=function(){return undefined};y.prototype.getIdForLabel=function(){return this.getId()};y.prototype.destroy=function(t){if(this.bIsDestroyed){return}this._bIsBeingDestroyed=true;this._cleanupBusyIndicator();d=d||sap.ui.require(\"sap/ui/core/ResizeHandler\");if(d){d.deregisterAllForControl(this.getId())}if(!this.getVisible()){var e=document.getElementById(r.createInvisiblePlaceholderId(this));if(e&&e.parentNode){e.parentNode.removeChild(e)}}i.prototype.destroy.call(this,t)};var B={onBeforeRendering:function(){if(this.getBusy()){S.call(this)}I.call(this)},onAfterRendering:function(){if(this.getBlocked()&&this.getDomRef()&&!this.getDomRef(\"blockedLayer\")){this._oBlockState=l.block(this,this.getId()+\"-blockedLayer\",this._sBlockSection);jQuery(this._oBlockState.$blockLayer.get(0)).addClass(\"sapUiBlockLayerOnly\")}if(this.getBusy()&&this.getDomRef()&&!this._busyIndicatorDelayedCallId&&!this.getDomRef(\"busyIndicator\")){var t=this.getBusyIndicatorDelay();if(t){this._busyIndicatorDelayedCallId=setTimeout(b.bind(this),t)}else{b.call(this,true)}}}};function g(){if(this._oBusyBlockState&&this.getDomRef(this._sBusySection)?.contains(document.activeElement)){this._oBusyBlockState.lastFocusPosition=document.activeElement;this._oBusyBlockState.$blockLayer.get(0).focus({preventScroll:true})}}function b(t){if(!this.getBusy()){return}var e=this.$(this._sBusySection);if(this._busyIndicatorDelayedCallId){clearTimeout(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId}if(!e||e.length===0){u.warning(\"BusyIndicator could not be rendered. The outer control instance is not valid anymore.\");return}if(this._sBlockSection===this._sBusySection){if(this._oBlockState){a.addHTML(this._oBlockState,this.getBusyIndicatorSize());l.toggleAnimationStyle(this._oBlockState,true);this._oBusyBlockState=this._oBlockState}else{_.call(this)}}else{_.call(this)}if(t){setTimeout(g.bind(this),0)}else{g.call(this)}}function k(){this._oBlockState=l.block(this,this.getId()+\"-blockedLayer\",this._sBlockSection);jQuery(this._oBlockState.$blockLayer.get(0)).addClass(\"sapUiBlockLayerOnly\")}function _(){if(this._oBusyBlockState){l.unblock(this._oBusyBlockState)}this._oBusyBlockState=l.block(this,this.getId()+\"-busyIndicator\",this._sBusySection);a.addHTML(this._oBusyBlockState,this.getBusyIndicatorSize())}function I(){l.unblock(this._oBlockState);l.unblock(this._oBusyBlockState);delete this._oBlockState;delete this._oBusyBlockState}function S(t){if(t){I.call(this);return}let e;if(this._oBusyBlockState){const t=this._oBusyBlockState.$blockLayer.get(0);if(t===document.activeElement){if(jQuery(this._oBusyBlockState.lastFocusPosition).is(\":sapFocusable\")){e=this._oBusyBlockState.lastFocusPosition}else{e=i.closestTo(this._oBusyBlockState.lastFocusPosition)||this}e.focus()}}const s=this.$(this._sBusySection);s.removeClass(\"sapUiLocalBusy\");s.removeAttr(\"aria-busy\");if(this._sBlockSection===this._sBusySection){if(!this.getBlocked()&&!this.getBusy()){I.call(this)}else if(this.getBlocked()){if(this._oBlockState||this._oBusyBlockState){l.toggleAnimationStyle(this._oBlockState||this._oBusyBlockState,false);this._oBlockState=this._oBusyBlockState}}else if(this._oBusyBlockState){l.unblock(this._oBusyBlockState);delete this._oBusyBlockState}}else if(this._oBusyBlockState){l.unblock(this._oBusyBlockState);delete this._oBusyBlockState}}y.prototype.setBlocked=function(t,e){if(!!t==this.getProperty(\"blocked\")){return this}this._sBlockSection=e||this._sBlockSection;this.setProperty(\"blocked\",t,true);if(t){this.addDelegate(B,false,this)}else if(!this.getBusy()){this.removeDelegate(B)}if(!this.getDomRef()){return this}if(t){if(this._sBlockSection===this._sBusySection){if(!this._oBusyBlockState&&!this._oBlockState){k.call(this)}else{u.info(\"The control is already busy. Hence, no new block-layer was created for the shared section.\")}}else{k.call(this)}}else{if(this._sBlockSection===this._sBusySection){if(!this.getBlocked()&&!this.getBusy()){I.call(this)}else if(this.getBusy()){u.info(\"The control is already busy. Hence, no new block-layer was created for the shared section.\")}}else if(this._oBlockState){l.unblock(this._oBlockState);delete this._oBlockState}}return this};y.prototype.getBlocked=function(){return this.getProperty(\"blocked\")};y.prototype.setBusy=function(t,e){if(!!t==this.getProperty(\"busy\")){return this}this._sBusySection=e||this._sBusySection;this.setProperty(\"busy\",t,true);if(t){h.notifyShowBusyIndicator(this);this.addDelegate(B,false,this)}else{if(!this.getProperty(\"blocked\")){this.removeDelegate(B)}if(this._busyIndicatorDelayedCallId){clearTimeout(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId}}if(!this.getDomRef()){return this}if(t){if(this.getBusyIndicatorDelay()<=0){b.call(this)}else{this._busyIndicatorDelayedCallId=setTimeout(b.bind(this),this.getBusyIndicatorDelay())}}else{S.call(this);h.notifyHideBusyIndicator(this)}return this};y.prototype.isBusy=y.prototype.getBusy;y.prototype.setBusyIndicatorDelay=function(t){this.setProperty(\"busyIndicatorDelay\",t,true);return this};y.prototype._cleanupBusyIndicator=function(){if(this._busyIndicatorDelayedCallId){clearTimeout(this._busyIndicatorDelayedCallId);delete this._busyIndicatorDelayedCallId}S.call(this,true)};y.prototype.getControlsByFieldGroupId=function(t){return this.findAggregatedObjects(true,function(e){if(e instanceof y){return e.checkFieldGroupIds(t)}return false})};y.prototype.checkFieldGroupIds=function(t){if(typeof t===\"string\"){t=t?t.split(\",\"):[]}var e=this._getFieldGroupIds();if(Array.isArray(t)){return t.every(function(t){return e.indexOf(t)>=0})}else if(!t){return e.length>0}return false};y.prototype.triggerValidateFieldGroup=function(t){this.fireValidateFieldGroup({fieldGroupIds:t})};y.getControlsByFieldGroupId=function(t){return s.filter(e=>e.isA(\"sap.ui.core.Control\")&&e.checkFieldGroupIds(t))};return y});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/CustomData\", [\"./Element\"],function(t){\"use strict\";var e=t.getMetadata().getAggregation(\"customData\").defaultClass;return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/CustomStyleClassSupport\", [\"./Element\",\"sap/ui/core/Theming\",\"sap/base/assert\",\"sap/base/Log\"],function(s,t,e,i){\"use strict\";var a=/\\s/;var l=/\\S+/g;var n=function(){if(!(this instanceof s)){return}var t=this.clone;this.clone=function(){var s=t.apply(this,arguments);if(this.aCustomStyleClasses){s.aCustomStyleClasses=this.aCustomStyleClasses.slice()}if(this.mCustomStyleClassMap){s.mCustomStyleClassMap=Object.assign(Object.create(null),this.mCustomStyleClassMap)}return s};this.addStyleClass=function(s,t){e(typeof s===\"string\",\"sStyleClass must be a string\");if(!s||typeof s!==\"string\"||s.indexOf('\"')>-1||s.indexOf(\"'\")>-1){return this}var i=this.aCustomStyleClasses||(this.aCustomStyleClasses=[]),n=this.mCustomStyleClassMap||(this.mCustomStyleClassMap=Object.create(null)),r,o=false,h=[],C=f();function m(s){if(!n[s]){n[s]=true;i.push(s);if(C&&C.indexOf(s)>-1){h.push(s)}o=true}}if(a.test(s)){r=s.match(l);r&&r.forEach(m)}else{m(s)}if(!o){return this}var y=this.getDomRef();if(y){if(r){y.classList.add.apply(y.classList,r)}else{y.classList.add(s)}}else if(t===false){this.invalidate()}if(h.length>0){u(this,h,true)}return this};this.removeStyleClass=function(s,t){e(typeof s===\"string\",\"sStyleClass must be a string\");if(!s||typeof s!==\"string\"||!this.aCustomStyleClasses||!this.mCustomStyleClassMap){return this}var i=this.aCustomStyleClasses,n=this.mCustomStyleClassMap,r,o=false,h=[],C=f(),m;function y(s){if(n[s]){o=true;m=i.indexOf(s);if(m!==-1){i.splice(m,1);delete n[s];if(C&&C.indexOf(s)>-1){h.push(s)}}}}if(a.test(s)){r=s.match(l);r&&r.forEach(y)}else{y(s)}if(o){var c=this.getDomRef();if(c){if(r){c.classList.remove.apply(c.classList,r)}else{c.classList.remove(s)}}else if(t===false){this.invalidate()}if(h.length>0){u(this,h,false)}}return this};this.toggleStyleClass=function(s,t){e(typeof s===\"string\",\"sStyleClass must be a string\");if(s&&typeof s===\"string\"){if(t===true){this.addStyleClass(s)}else if(t===false){this.removeStyleClass(s)}else if(t===undefined){this.hasStyleClass(s)?this.removeStyleClass(s):this.addStyleClass(s)}else{i.warning(this.toString()+\"- toggleStyleClass(): bAdd should be a boolean or undefined, but is '\"+t+\"'\")}}return this};this.hasStyleClass=function(s){e(typeof s===\"string\",\"sStyleClass must be a string\");if(s&&typeof s===\"string\"&&this.mCustomStyleClassMap){if(a.test(s)){var t=s.match(l);return t!=null&&t.every(function(s){return this.mCustomStyleClassMap[s]},this)}else{return!!this.mCustomStyleClassMap[s]}}return false};this.getMetadata().addPublicMethods([\"addStyleClass\",\"removeStyleClass\",\"toggleStyleClass\",\"hasStyleClass\"])};var r;function f(){if(!r){r=sap.ui.require(\"sap/ui/core/theming/Parameters\")}if(r){return r._getScopes(true)}}function u(s,e,i){t.fireThemeScopingChanged({scopes:e,added:i,element:s})}return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/DeclarativeSupport\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/base/BindingInfo\",\"sap/ui/base/DataType\",\"./Control\",\"./CustomData\",\"./HTML\",\"./mvc/View\",\"./mvc/_ViewFactory\",\"./mvc/EventHandlerResolver\",\"sap/base/Log\",\"sap/base/util/ObjectPath\",\"sap/base/assert\",\"sap/base/strings/camelize\"],function(jQuery,t,e,a,r,i,n,o,s,u,g,l,p){\"use strict\";var f={};f.attributes={\"data-sap-ui-type\":true,\"data-sap-ui-id\":true,\"data-sap-ui-aggregation\":true,\"data-sap-ui-default-aggregation\":true,\"data-sap-ui-binding\":function(e,a){var r=t.parse(e);a.objectBindings=a.objectBindings||{};a.objectBindings[r.model||undefined]=r},\"data-tooltip\":function(t,e){e[\"tooltip\"]=t},tooltip:function(t,e,a){e[\"tooltip\"]=t;u.warning('[Deprecated] Control \"'+e.id+'\": The attribute \"tooltip\" is not prefixed with \"data-*\". Future version of declarative support will only suppport attributes with \"data-*\" prefix.')},class:true,style:true,id:true};f.compile=function(t,e,a){var r=this;jQuery(t).find(\"[data-sap-ui-type]\").filter(function(){return jQuery(this).parents(\"[data-sap-ui-type]\").length===0}).each(function(){r._compile(this,e,a)})};f._compile=function(t,e,r){var i=jQuery(t);var n=i.attr(\"data-sap-ui-type\");var o=[];var s=n===\"sap.ui.core.UIArea\";var u=t.getAttributeNames();if(s){var g=this;i.children().each(function(){var t=g._createControl(this,e);if(t){o.push(t)}})}else{var l=this._createControl(t,e);if(l){o.push(l)}}i.empty();var p=[];for(var f=0;f0){i.removeAttr(p.join(\" \"))}o.forEach(function(i){if(i instanceof a){if(e&&!r){e.addContent(i)}else{i.placeAt(t);if(e){e.connectControl(i)}}}})};f._createControl=function(t,e){var a=jQuery(t);var r=null;var i=a.attr(\"data-sap-ui-type\");if(i){var s=sap.ui.requireSync(i.replace(/\\./g,\"/\"));s=s||g.get(i);l(typeof s!==\"undefined\",\"Class not found: \"+i);var u={};u.id=this._getId(a,e);if(e&&e._sProcessingMode!=null&&s.getMetadata().hasSpecialSetting(\"processingMode\")){u.processingMode=e._sProcessingMode}this._addSettingsForAttributes(u,s,t,e);this._addSettingsForAggregations(u,s,t,e);var r;if(n.prototype.isPrototypeOf(s.prototype)&&typeof s._sType===\"string\"){r=o.create(u,undefined,s._sType)}else{r=new s(u)}if(t.className){r.addStyleClass(t.className)}a.removeAttr(\"data-sap-ui-type\")}else{r=this._createHtmlControl(t,e)}return r};f._createHtmlControl=function(t,e){var a=new i;a.setDOMContent(t);this.compile(t,e,true);return a};f._addSettingsForAttributes=function(e,a,i,n){var o=this;var u=f.attributes;var g=t.parse;var d=[];var c=/^data-custom-data:(.+)/i;var v=i.getAttributeNames();for(var h=0;h0){e.customData=d}return e};f._addSettingsForAggregations=function(t,e,a,r){var i=jQuery(a);var n=this._getDefaultAggregation(e,a);var o=this;var s=e.getMetadata().getAllAggregations();i.children().each(function(){var e=jQuery(this);var a=e.attr(\"data-sap-ui-aggregation\");var i=e.attr(\"data-sap-ui-type\");var u=false;if(!a){u=true;a=n}if(a&&s[a]){var g=s[a].multiple;var p=function(e){var i=o._createControl(e,r);if(i){if(g){if(!t[a]){t[a]=[]}if(typeof t[a].path===\"string\"){l(!t[a].template,\"list bindings support only a single template object\");t[a].template=i}else{t[a].push(i)}}else{t[a]=i}}};if(u||i&&!u){p(this)}else{e.children().each(function(){p(this)})}}e.removeAttr(\"data-sap-ui-aggregation\");e.removeAttr(\"data-sap-ui-type\")});return t};f._getId=function(t,e){var a=jQuery(t);var r=a.attr(\"id\");if(r){if(e){r=e.createId(r);a.attr(\"data-sap-ui-id\",r)}a.attr(\"id\",\"\")}return r};f._getProperty=function(t,e){return t.getMetadata().getProperty(e)};f.convertValueToType=function(a,r){if(a instanceof e){r=a.parseValue(r)}return typeof r===\"string\"?t.parse.escape(r):r};f.getPropertyDataType=function(t){var a=e.getType(t.type);if(!a){throw new Error(\"Property \"+t.name+\" has no known type\")}return a};f.convertAttributeToSettingName=function(t,e,a){if(t.indexOf(\"data-\")===0){t=t.substr(5)}else if(a){u.warning('[Deprecated] Control \"'+e+'\": The attribute \"'+t+'\" is not prefixed with \"data-*\". Future version of declarative support will only suppport attributes with \"data-*\" prefix.')}else{throw new Error('Control \"'+e+'\": The attribute \"'+t+'\" is not prefixed with \"data-*\".')}return p(t)};f._getAssociation=function(t,e){return t.getMetadata().getAssociation(e)};f._getAggregation=function(t,e){return t.getMetadata().getAggregation(e)};f._getEvent=function(t,e){return t.getMetadata().getEvent(e)};f._getDefaultAggregation=function(t,e){var a=jQuery(e);var r=a.attr(\"data-sap-ui-default-aggregation\")||t.getMetadata().getDefaultAggregationName();a.removeAttr(\"data-sap-ui-default-aggregation\");return r};return f},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ExtensionPoint\", [\"sap/base/future\",\"sap/base/Log\",\"sap/ui/core/mvc/View\",\"sap/ui/core/mvc/_ViewFactory\",\"sap/ui/core/Component\"],function(e,n,i,t,o){\"use strict\";sap.ui.extensionpoint=function(e,i,t,o,r){n.warning(\"Do not use deprecated factory function 'sap.ui.extensionpoint'. Use 'sap.ui.core.ExtensionPoint.load' instead\",\"sap.ui.extensionpoint\",null,function(){return{type:\"sap.ui.extensionpoint\",name:i}});return a._factory(e,i,t,o,r)};let a={};(()=>{a=sap.ui.extensionpoint})();a._factory=function(r,s,u,f,c,l){var g,d,m,p;if(r){if(r.isA(\"sap.ui.core.mvc.View\")){p=r.sViewName;d=r}else if(r.isA(\"sap.ui.core.Fragment\")){p=r.getFragmentName();d=r._oContainingView}g=o.getCustomizing(r,{type:\"sap.ui.viewExtensions\",name:p,extensionName:s})}if(g){if(g.className){n.info(\"Customizing: View extension found for extension point '\"+s+\"' in View '\"+d.sViewName+\"': \"+g.className+\": \"+(g.viewName||g.fragmentName));var w=d&&g.id?d.createId(g.id):g.id;var v={async:l,id:w,type:g.type};if(l&&d._sProcessingMode){v.processingMode=d._sProcessingMode}if(g.className===\"sap.ui.core.Fragment\"){var x=sap.ui.require(\"sap/ui/core/Fragment\");v.fragmentName=g.fragmentName;v.containingView=d;if(l){if(x){m=x.load(v)}else{m=new Promise(function(e,n){sap.ui.require([\"sap/ui/core/Fragment\"],function(n){e(n.load(v))},n)})}}else{x=x||sap.ui.requireSync(\"sap/ui/core/Fragment\");var N=new x(v);m=Array.isArray(N)?N:[N]}}else if(g.className===\"sap.ui.core.mvc.View\"){v.viewName=g.viewName;const e=true;if(e){const e=t.create(v);if(l){m=e.loaded()}else{m=[e]}}else{m=i.create(v)}}else{e.warningThrows(\"Customizing: Unknown extension className configured in Component.js for extension point '\"+s+\"' in View '\"+d.sViewName+\"': \"+g.className+\".\",{suffix:\"Extension className will be ignored.\"})}}else{e.warningThrows(\"Customizing: no extension className configured in Component.js for extension point '\"+s+\"' in View '\"+d.sViewName+\"': \"+g.className)}}else if(a._fnExtensionProvider){var y=a._fnExtensionProvider(d);var _;if(d.isA(\"sap.ui.core.Fragment\")){_=d._sExplicitId;var V=d.getController();d=V&&typeof V.isA===\"function\"&&V.isA(\"sap.ui.core.mvc.Controller\")&&V.getView();if(d){_=d.getLocalId(_)||_}}if(y){if(!d){e.warningThrows(\"View instance could not be passed to ExtensionPoint Provider for extension point '\"+s+\"' \"+\"in fragment '\"+_+\"'.\")}return[{providerClass:y,view:d,fragmentId:_,name:s,createDefault:u,targetControl:undefined,aggregationName:undefined,index:undefined,ready:function(e){var n=this._nextSibling;while(n!=null){n.index+=e.length;n=n._nextSibling}this._aControls=e},_aControls:[],_isExtensionPoint:true,_nextSibling:null}]}}if(!m&&typeof u===\"function\"){m=u()}var C=function(n){if(n&&!Array.isArray(n)){n=[n]}if(n&&f){var i=f.getMetadata().getAggregation(c);if(i){for(var t=0,o=n.length;t=3){return sap.ui.fragment({id:e,fragmentName:t,type:\"JS\"},n)}else{a.error(\"sap.ui.jsfragment() was called with wrong parameter set: \"+e+\" + \"+t)}};sap.ui.htmlfragment=function(e,t,n){if(typeof e===\"string\"){if(typeof t===\"string\"){return sap.ui.fragment({fragmentName:t,sId:e,type:\"HTML\"},n)}else{return sap.ui.fragment(e,\"HTML\",t)}}else{e.type=\"HTML\";return sap.ui.fragment(e,t)}};d.registerType(\"XML\",{load:function(e){return r.loadTemplatePromise(e.fragmentName,\"fragment\").then(function(e){return e})},init:function(e){this._aContent=[];if(e.fragmentContent){if(typeof e.fragmentContent===\"string\"){this._xContent=m.parse(e.fragmentContent).documentElement}else{this._xContent=e.fragmentContent}}else{a.warning(\"Synchronous loading of fragment, due to Fragment.init() call for '\"+e.fragmentName+\"'. Use 'sap/ui/core/Fragment' module with Fragment.load() instead.\",\"SyncXHR\",null,function(){return{type:\"SyncXHR\",name:\"Fragment\"}});this._xContent=r.loadTemplate(e.fragmentName,\"fragment\")}this._oContainingView=this._sExplicitId?this:e.containingView||this;if(this._oContainingView===this){this._oContainingView.oController=e.containingView&&e.containingView.oController||e.oController}this._sProcessingMode=e.processingMode;var t=this._oContainingView._fnSettingsPreprocessor;var i={fnRunWithPreprocessor:function(e){return h(e,{settings:t})}};var s=r.parseTemplatePromise(this._xContent,this,this._bAsync,i).then(function(t){this._aContent=t;if(this._aContent&&this._aContent.length&&e.objectBindings){this._aContent.forEach(function(t,i){if(t instanceof n){for(var r in e.objectBindings){t.bindObject(e.objectBindings[r])}}})}return this._aContent.length>1?this._aContent:this._aContent[0]}.bind(this));if(!this._bAsync){try{s.unwrap()}catch(t){o.errorThrows(this.getMetadata().getName()+\": An Error occured during XML processing of '\"+(e.fragmentName||e.fragmentContent)+\"' with id '\"+this.getId()+\"'\",{cause:t})}}return s}});d.registerType(\"JS\",{load:function(e){let t;if(e.fragmentName.startsWith(\"module:\")){t=e.fragmentName.substring(7)}else{t=e.fragmentName.replace(/\\./g,\"/\")+\".fragment\"}return new Promise(function(e,n){sap.ui.require([t],function(t){e(t)},n)})},init:function(e){this._aContent=[];if(e.fragmentContent){f(this,e.fragmentContent)}else{(()=>{if(!p[e.fragmentName]){sap.ui.requireSync(e.fragmentName.replace(/\\./g,\"/\")+\".fragment\")}})();f(this,p[e.fragmentName])}this._oContainingView=e.containingView||this;return h(function(){var t;if(this.fnScopedRunWithOwner){this.fnScopedRunWithOwner(function(){t=this.createContent(e.oController||this._oContainingView.oController)}.bind(this))}else{t=this.createContent(e.oController||this._oContainingView.oController)}if(t instanceof Promise){return t.then(function(e){this._aContent=this._aContent.concat(e);return this._aContent.length>1?this._aContent:this._aContent[0]}.bind(this))}else{return new Promise(function(e,n){this._aContent=this._aContent.concat(t);e(this._aContent.length>1?this._aContent:this._aContent[0])}.bind(this))}}.bind(this),{settings:this._oContainingView._fnSettingsPreprocessor})}});(function(){var e={};var t=function(t){var n=sap.ui.require.toUrl(t.replace(/\\./g,\"/\"))+\".fragment.html\";var i=e[n];var r;if(!i){r=t.replace(/\\./g,\"/\")+\".fragment.html\";i=s.loadResource(r);e[n]=i}return i};d.registerType(\"HTML\",{load:function(e){var t=e.fragmentName.replace(/\\./g,\"/\")+\".fragment\";return s.loadResource(t+\".html\",{async:true}).then(function(e){return e})},init:function(e){this._aContent=[];this.getContent=function(){return this._aContent};this.addContent=function(e){this._aContent.push(e)};this._oContainingView=e.containingView||this;this._sProcessingMode=e.processingMode;var n=e.fragmentContent||t(e.fragmentName);this._oTemplate=document.createElement(\"div\");if(typeof n===\"string\"){this._oTemplate.innerHTML=n}else{var r=n;var o=document.createDocumentFragment();for(var a=0;a0||r0){e.replaceWith(t);r=t;i=true}else{e.remove()}this._postprocessNewContent(r);this.fireAfterRendering({isPreservedDOM:i})};o.prototype._postprocessNewContent=function(t){if(t&&t.length>0){if(t.length>1){e.warning(\"[Unsupported Feature]: \"+this+\" has rendered \"+t.length+\" root nodes!\")}else{var r=t.attr(\"id\");if(r&&r!=this.getId()){e.warning(\"[Unsupported Feature]: Id of HTML Control '\"+this.getId()+\"' does not match with content id '\"+r+\"'!\")}}if(this.getPreferDOM()){n.markPreservableContent(t,this.getId())}if(t.find(\"#\"+this.getId().replace(/(:|\\.)/g,\"\\\\$1\")).length===0){t.filter(\":not([id])\").first().attr(\"id\",this.getId())}}else{e.debug(\"\"+this+\" is empty after rendering, setting bOutput to false\");this.bOutput=false}};o.prototype.setDOMContent=function(e){var t=jQuery(e);if(this.getDomRef()){jQuery(this.getDomRef()).replaceWith(t);this._postprocessNewContent(t)}else{t.appendTo(n.getPreserveAreaRef());if(this.getUIArea()){this.getUIArea().invalidate()}this._postprocessNewContent(t)}return this};o.prototype.setTooltip=function(){e.warning(\"The sap.ui.core.HTML control doesn't support tooltips. Add the tooltip to the HTML content instead.\");return t.prototype.setTooltip.apply(this,arguments)};\"hasStyleClass addStyleClass removeStyleClass toggleStyleClass\".split(\" \").forEach(function(n){o.prototype[n]=function(){e.warning(\"The sap.ui.core.HTML control doesn't support custom style classes. Manage custom CSS classes in the HTML content instead.\");return t.prototype[n].apply(this,arguments)}});return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/HTMLRenderer\", [\"./RenderManager\"],function(e){\"use strict\";var n=e.RenderPrefixes;var r={apiVersion:2,render:function(e,r){e.openStart(\"div\",n.Dummy+r.getId());e.style(\"display\",\"none\");e.openEnd();e.close(\"div\")}};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/History\", [\"sap/ui/base/Object\",\"sap/ui/util/Storage\"],function(t,i){\"use strict\";var s=t.extend(\"sap.ui.core.History\",{constructor:function(s,r){t.apply(this);if(!r){r={}}var e=r.prefix?r.prefix:document.location.pathname;this._iMaxHistory=r.max?r.max:100;this._sHistoryId=e+s;this._oStorage=new i(i.Type.local);this._fFilter=r.filter?r.filter:function(t,i){return t&&(!i||i&&(typeof i==\"string\"?t.toLowerCase().startsWith(i.toLowerCase()):false))};this._fCheckHistory=r.checkHistory?r.checkHistory:function(t){return t}},_initHistory:function(){if(!this._aHistory){var t=this._oStorage.get(this._sHistoryId);if(typeof t===\"string\"){t=t.split(\",\")}else if(!t){t=[]}this._aHistory=this._fCheckHistory(t)}return this._aHistory},get:function(t){var i=this._initHistory();var s=[];for(var r=0;rthis._iMaxHistory){i.splice(this._iMaxHistory)}this._oStorage.put(this._sHistoryId,i)},clear:function(){this._oStorage.remove(this._sHistoryId);this._aHistory=null}});return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Icon\", [\"sap/base/assert\",\"../Device\",\"./Control\",\"./_IconRegistry\",\"./InvisibleText\",\"./library\",\"./IconRenderer\",\"./Lib\",\"sap/ui/events/KeyCodes\",\"sap/base/Log\",\"sap/base/util/each\"],function(e,t,o,r,s,i,n,a,l,c,u){\"use strict\";var p=i.IconColor;var h=i.CSSColor;var d=function(e){if(e!=null&&e!==\"\"&&!h.isValid(e)&&!(e in p)){c.error('\"'+e+'\" is not of type sap.ui.core.CSSColor nor of type sap.ui.core.IconColor.');return false}else{return true}};var f=o.extend(\"sap.ui.core.Icon\",{metadata:{interfaces:[\"sap.ui.core.IFormContent\"],library:\"sap.ui.core\",designtime:\"sap/ui/core/designtime/Icon.designtime\",properties:{src:{type:\"sap.ui.core.URI\",group:\"Data\",defaultValue:null},size:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},color:{type:\"string\",group:\"Appearance\",defaultValue:null},hoverColor:{type:\"string\",group:\"Appearance\",defaultValue:null},activeColor:{type:\"string\",group:\"Appearance\",defaultValue:null},width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},height:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},backgroundColor:{type:\"string\",group:\"Appearance\",defaultValue:null},hoverBackgroundColor:{type:\"string\",group:\"Appearance\",defaultValue:null},activeBackgroundColor:{type:\"string\",group:\"Appearance\",defaultValue:null},decorative:{type:\"boolean\",group:\"Accessibility\",defaultValue:true},useIconTooltip:{type:\"boolean\",group:\"Accessibility\",defaultValue:true},alt:{type:\"string\",group:\"Accessibility\",defaultValue:null},noTabStop:{type:\"boolean\",group:\"Accessibility\",defaultValue:false}},aggregations:{_invisibleText:{type:\"sap.ui.core.InvisibleText\",multiple:false,visibility:\"hidden\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},events:{press:{}}},renderer:n});f.prototype[t.support.touch?\"ontouchstart\":\"onmousedown\"]=function(e){if(this.hasListeners(\"press\")){e.setMarked()}if(!e.targetTouches||e.targetTouches&&e.targetTouches.length===1){this._activeIcon()}};f.prototype[t.support.touch?\"ontouchend\":\"onmouseup\"]=function(e){if(!e.targetTouches||e.targetTouches&&e.targetTouches.length===0){this._deactiveIcon()}};f.prototype._activeIcon=function(){var e=this.getActiveColor(),t=this.getActiveBackgroundColor(),o;if(e||t){o=this.$();o.addClass(\"sapUiIconActive\");if(e){this._addColorClass(e,\"color\")}if(t){this._addColorClass(t,\"background-color\")}}};f.prototype._deactiveIcon=function(){this.$().removeClass(\"sapUiIconActive\");this._restoreColors(t.system.desktop?\"hover\":undefined)};f.prototype.onmouseover=function(){var e=this.getHoverColor(),t=this.getHoverBackgroundColor();if(e){this._addColorClass(e,\"color\")}if(t){this._addColorClass(t,\"background-color\")}};f.prototype.onmouseout=function(){this._restoreColors()};f.prototype[t.support.touch&&!t.system.desktop?\"ontap\":\"onclick\"]=function(e){if(this.hasListeners(\"press\")){e.setMarked()}this.firePress({})};f.prototype.onkeydown=function(e){if((e.which===l.SPACE||e.which===l.ENTER||e.which===l.ESCAPE||e.which===l.SHIFT)&&!e.ctrlKey&&!e.metaKey){if(this.hasListeners(\"press\")&&(e.which===l.SPACE||e.which===l.ENTER)){e.setMarked();this._activeIcon()}if(e.which===l.ENTER){this.firePress({})}if(e.which===l.SPACE){if(this.hasListeners(\"press\")){e.preventDefault()}this._bPressedSpace=true}if(this._bPressedSpace){if(e.which===l.SHIFT||e.which===l.ESCAPE){this._bPressedEscapeOrShift=true;this._deactiveIcon()}}}else{if(this._bPressedSpace){e.preventDefault()}}};f.prototype.onkeyup=function(e){if(e.which===l.ENTER){e.setMarked();this._deactiveIcon()}if(e.which===l.SPACE){if(!this._bPressedEscapeOrShift){e.setMarked();this._deactiveIcon();this.firePress({})}else{this._bPressedEscapeOrShift=false}this._bPressedSpace=false}if(e.which===l.ESCAPE){this._bPressedSpace=false}};f.prototype._restoreColors=function(e){var t,o;if(e===\"hover\"){t=this.getHoverColor();o=this.getHoverBackgroundColor()}t=t||this.getColor();o=o||this.getBackgroundColor();this._addColorClass(t||\"\",\"color\");this._addColorClass(o||\"\",\"background-color\")};f.prototype._addColorClass=function(e,t){var o=this.$(),r=this;var s=\"\";if(t===\"color\"){s=\"sapUiIconColor\"}else if(t===\"background-color\"){s=\"sapUiIconBGColor\"}else{return}u(p,function(e,t){r.removeStyleClass(s+t)});if(e in p){o.css(t,\"\");this.addStyleClass(s+e)}else{o.css(t,e)}};f.prototype.setSrc=function(t){e(t==null||t==\"\"||r.isIconURI(t),this+\": Property 'src' (value: '\"+t+\"') should be a valid Icon URI (sap-icon://...)\");return this.setProperty(\"src\",t)};f.prototype.setColor=function(e){if(d(e)){this.setProperty(\"color\",e,true);this._addColorClass(e,\"color\")}return this};f.prototype.setActiveColor=function(e){if(d(e)){this.setProperty(\"activeColor\",e,true)}return this};f.prototype.setHoverColor=function(e){if(d(e)){this.setProperty(\"hoverColor\",e,true)}return this};f.prototype.setBackgroundColor=function(e){if(d(e)){this.setProperty(\"backgroundColor\",e,true);this._addColorClass(e,\"background-color\")}return this};f.prototype.setActiveBackgroundColor=function(e){if(d(e)){this.setProperty(\"activeBackgroundColor\",e,true)}return this};f.prototype.setHoverBackgroundColor=function(e){if(d(e)){this.setProperty(\"hoverBackgroundColor\",e,true)}return this};f.prototype.attachEvent=function(e){o.prototype.attachEvent.apply(this,arguments);if(e==\"press\"&&this.hasListeners(\"press\")){this.invalidate()}return this};f.prototype.detachEvent=function(e){o.prototype.detachEvent.apply(this,arguments);if(e==\"press\"&&!this.hasListeners(\"press\")){this.invalidate()}return this};f.prototype._getOutputTitle=function(e){var t=this.getTooltip_AsString(),o=this.getUseIconTooltip();if(t||o&&e&&e.text){return t||e.text}};f.prototype._getIconLabel=function(e){var t=this.getAlt(),o=this.getTooltip_AsString(),r=this.getUseIconTooltip(),s=t||o||r&&e&&(e.text||e.name);if(s){return s}};f.prototype._createInvisibleText=function(e){var t=this.getAggregation(\"_invisibleText\");if(!t){t=new s(this.getId()+\"-label\",{text:e});this.setAggregation(\"_invisibleText\",t,true)}else{t.setText(e)}return t};f.prototype._getAccessibilityAttributes=function(e){var t=this.getAriaLabelledBy(),o={},r=this._getIconLabel(e),s;if(this.getDecorative()){o.role=\"presentation\";o.hidden=\"true\"}else if(this.hasListeners(\"press\")){o.role=\"button\"}else{o.role=\"img\"}if(t.length>0){if(r){s=this._createInvisibleText(r);t.push(s.getId())}o.labelledby=t.join(\" \")}else if(r){o.label=r}return o};f.prototype.getAccessibilityInfo=function(){if(this.getDecorative()){return null}var e=this.hasListeners(\"press\");var t=r.getIconInfo(this.getSrc(),undefined,\"sync\");return{role:e?\"button\":\"img\",type:a.getResourceBundleFor(\"sap.ui.core\").getText(e?\"ACC_CTR_TYPE_BUTTON\":\"ACC_CTR_TYPE_IMAGE\"),description:this.getAlt()||this.getTooltip_AsString()||(t?t.text||t.name:\"\"),focusable:e}};return f});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/IconPool\", [\"sap/ui/core/Icon\",\"sap/ui/core/_IconRegistry\",\"sap/base/Log\",\"./Core\"],function(t,a,e){\"use strict\";var n={};n.createControlByURI=function(a,e){if(typeof a===\"string\"){a={src:a}}if(a&&a.src){var o=a.src,i=e;if(n.isIconURI(o)){i=t;if(a.tap){a.press=a.tap;delete a.tap}}if(typeof i===\"function\"){a=i.getMetadata().removeUnknownSettings(a);return new i(a)}}};n.addIcon=a.addIcon;n.getIconURI=a.getIconURI;n.getIconInfo=a.getIconInfo;n.fontLoaded=function(t){var e=a.getFontRegistry();if(e[t]){if(e[t].metadataLoaded instanceof Promise){return e[t].metadataLoaded}else if(e[t].metadataLoaded===true){return Promise.resolve()}}};n.isIconURI=a.isIconURI;n.getIconCollectionNames=a.getIconCollectionNames;n.getIconNames=a.getIconNames;n.insertFontFaceStyle=a.insertFontFaceStyle;n.registerFont=function(t){t.collectionName=t.collectionName||t.fontFamily;if(!t.fontURI){e.error(\"The configuration parameter fontURI is missing, cannot register the font '\"+t.collectionName+\"'!\");return}if(t.fontFamily===a.sapIconFontFamily){e.error(\"The font family\"+a.sapIconFontFamily+\" is already registered\");return}if(t.fontURI.substr(t.fontURI.length-1)!==\"/\"){t.fontURI+=\"/\"}var n=a.getFontRegistry();if(!n[t.collectionName]||n[t.collectionName].metadataLoaded===false){n[t.collectionName]={config:t}}else{e.warning(\"The font '\"+t.collectionName+\"' is already registered\")}if(!t.lazy){a._loadFontMetadata(t.collectionName,true)}};var o={\"application/msword\":\"sap-icon://doc-attachment\",\"application/vnd.google-apps.document\":\"sap-icon://doc-attachment\",\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":\"sap-icon://doc-attachment\",\"application/rtf\":\"sap-icon://doc-attachment\",\"application/pdf\":\"sap-icon://pdf-attachment\",\"application/msexcel\":\"sap-icon://excel-attachment\",\"application/vnd.ms-excel\":\"sap-icon://excel-attachment\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":\"sap-icon://excel-attachment\",\"application/vnd.ms-excel.sheet.macroenabled.12\":\"sap-icon://excel-attachment\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":\"sap-icon://excel-attachment\",\"application/vnd.ms-excel.template.macroenabled.12\":\"sap-icon://excel-attachment\",\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":\"sap-icon://excel-attachment\",\"application/vnd.ms-excel.addin.macroenabled.12\":\"sap-icon://excel-attachment\",\"application/vnd.google-apps.spreadsheet\":\"sap-icon://excel-attachment\",\"application/vnd.ms-powerpoint\":\"sap-icon://ppt-attachment\",\"application/vnd.google-apps.presentation\":\"sap-icon://ppt-attachment\",\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":\"sap-icon://ppt-attachment\",\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":\"sap-icon://ppt-attachment\",\"application/mspowerpoint\":\"sap-icon://ppt-attachment\",\"application/xml\":\"sap-icon://attachment-html\",\"application/xhtml+xml\":\"sap-icon://attachment-html\",\"application/x-httpd-php\":\"sap-icon://attachment-html\",\"application/x-javascript\":\"sap-icon://attachment-html\",\"application/gzip\":\"sap-icon://attachment-zip-file\",\"application/x-rar-compressed\":\"sap-icon://attachment-zip-file\",\"application/x-tar\":\"sap-icon://attachment-zip-file\",\"application/zip\":\"sap-icon://attachment-zip-file\",\"audio/mpeg\":\"sap-icon://attachment-audio\",\"audio/voxware\":\"sap-icon://attachment-audio\",\"audio/x-aiff\":\"sap-icon://attachment-audio\",\"audio/x-midi\":\"sap-icon://attachment-audio\",\"audio/x-mpeg\":\"sap-icon://attachment-audio\",\"audio/x-m4a\":\"sap-icon://attachment-audio\",\"audio/x-pn-realaudio\":\"sap-icon://attachment-audio\",\"audio/x-pn-realaudio-plugin\":\"sap-icon://attachment-audio\",\"audio/x-qt-stream\":\"sap-icon://attachment-audio\",\"audio/x-wav\":\"sap-icon://attachment-audio\",\"image/png\":\"sap-icon://attachment-photo\",\"image/tiff\":\"sap-icon://attachment-photo\",\"image/bmp\":\"sap-icon://attachment-photo\",\"image/jpeg\":\"sap-icon://attachment-photo\",\"image/gif\":\"sap-icon://attachment-photo\",\"text/plain\":\"sap-icon://attachment-text-file\",\"text/comma-separated-values\":\"sap-icon://attachment-text-file\",\"text/css\":\"sap-icon://attachment-text-file\",\"text/javascript\":\"sap-icon://attachment-text-file\",\"text/richtext\":\"sap-icon://attachment-text-file\",\"text/rtf\":\"sap-icon://attachment-text-file\",\"text/tab-separated-values\":\"sap-icon://attachment-text-file\",\"text/xml\":\"sap-icon://attachment-text-file\",\"text/html\":\"sap-icon://attachment-html\",\"video/mpeg\":\"sap-icon://attachment-video\",\"video/mp4\":\"sap-icon://attachment-video\",\"video/quicktime\":\"sap-icon://attachment-video\",\"video/x-msvideo\":\"sap-icon://attachment-video\",\"application/x-shockwave-flash\":\"sap-icon://attachment-video\"};n.getIconForMimeType=function(t){return o[t?.toLowerCase()]||\"sap-icon://document\"};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/IconRenderer\", [\"./_IconRegistry\",\"./library\",\"sap/base/security/encodeCSS\"],function(e,t,i){\"use strict\";var n=t.IconColor;var s={apiVersion:2};s.render=function(t,s){var r=e.getIconInfo(s.getSrc(),undefined,\"mixed\"),a=s.getWidth(),o=s.getHeight(),l=s.getColor(),c=s.getBackgroundColor(),g=s.getSize(),f=s._getOutputTitle(r),p,d,u,y=false;if(r instanceof Promise){r.then(s.invalidate.bind(s))}else if(r){y=true;p=s.getAriaLabelledBy();u=s._getAccessibilityAttributes(r);d=s.getAggregation(\"_invisibleText\")}t.openStart(\"span\",s);t.class(\"sapUiIcon\");if(y){t.accessibilityState(s,u);t.attr(\"data-sap-ui-icon-content\",r.content);t.style(\"font-family\",\"'\"+i(r.fontFamily)+\"'\");if(!r.suppressMirroring){t.class(\"sapUiIconMirrorInRTL\")}}if(s.hasListeners(\"press\")){t.class(\"sapUiIconPointer\");if(!s.getNoTabStop()){t.attr(\"tabindex\",\"0\")}}t.style(\"width\",a);t.style(\"height\",o);t.style(\"line-height\",o);t.style(\"font-size\",g);if(l&&!(l in n)){t.style(\"color\",l)}if(c&&!(c in n)){t.style(\"background-color\",c)}t.openEnd();if(f){t.openStart(\"span\").class(\"sapUiIconTitle\").attr(\"title\",f).attr(\"aria-hidden\",true).openEnd().close(\"span\")}if(p&&p.length&&d){t.renderControl(d)}t.close(\"span\")};return s},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/IndicationColorSupport\", [\"./library\",\"sap/ui/core/Lib\"],function(I,T){\"use strict\";var N=I.IndicationColor;var t={};var e=null;var A=function(){if(!e){e={};var I=T.getResourceBundleFor(\"sap.ui.core\");e[N.Indication01]=I.getText(\"INDICATION_STATE_INDICATION01\");e[N.Indication02]=I.getText(\"INDICATION_STATE_INDICATION02\");e[N.Indication03]=I.getText(\"INDICATION_STATE_INDICATION03\");e[N.Indication04]=I.getText(\"INDICATION_STATE_INDICATION04\");e[N.Indication05]=I.getText(\"INDICATION_STATE_INDICATION05\");e[N.Indication06]=I.getText(\"INDICATION_STATE_INDICATION06\");e[N.Indication07]=I.getText(\"INDICATION_STATE_INDICATION07\");e[N.Indication08]=I.getText(\"INDICATION_STATE_INDICATION08\");e[N.Indication09]=I.getText(\"INDICATION_STATE_INDICATION09\");e[N.Indication10]=I.getText(\"INDICATION_STATE_INDICATION10\");e[N.Indication11]=I.getText(\"INDICATION_STATE_INDICATION11\");e[N.Indication12]=I.getText(\"INDICATION_STATE_INDICATION12\");e[N.Indication13]=I.getText(\"INDICATION_STATE_INDICATION13\");e[N.Indication14]=I.getText(\"INDICATION_STATE_INDICATION14\");e[N.Indication15]=I.getText(\"INDICATION_STATE_INDICATION15\");e[N.Indication16]=I.getText(\"INDICATION_STATE_INDICATION16\");e[N.Indication17]=I.getText(\"INDICATION_STATE_INDICATION17\");e[N.Indication18]=I.getText(\"INDICATION_STATE_INDICATION18\");e[N.Indication19]=I.getText(\"INDICATION_STATE_INDICATION19\");e[N.Indication20]=I.getText(\"INDICATION_STATE_INDICATION20\")}};t.getAdditionalText=function(I){var T=null;if(I&&I.getValueState){T=I.getIndicationColor()}else if(N[I]){T=I}if(T){A();return e[T]}return null};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/InvisibleMessage\", [\"./library\",\"./Core\",\"sap/ui/base/ManagedObject\",\"sap/base/Log\",\"sap/ui/core/StaticArea\"],function(e,t,s,i,n){\"use strict\";var a;var r=e.InvisibleMessageMode;var o=s.extend(\"sap.ui.core.InvisibleMessage\",{constructor:function(){s.apply(this,arguments);if(a){i.warning(\"This is a singleton, therefore you are not able to create another instance of this class.\");return a}a=this}});o.getInstance=function(){if(!a){a=new o(\"__invisiblemessage\",{})}return a};o.prototype.init=function(){var e=n.getDomRef();if(!e){t.ready(()=>{this._insertInstances()})}else{this._insertInstances()}};o.prototype.announce=function(e,t){var s=n.getDomRef(),a=s.querySelector(\".sapUiInvisibleMessagePolite\"),o=s.querySelector(\".sapUiInvisibleMessageAssertive\");if(!a||!o){return}var l=t===r.Assertive?o:a;l.textContent=\"\";l.textContent=e;if(t!==r.Assertive&&t!==r.Polite){i.info(\"You have entered an invalid mode. Valid values are: \"+'\"Polite\" '+'and \"Assertive\".'+' The framework will automatically set the mode to \"Polite\".')}setTimeout(function(){if(l.textContent===e){l.textContent=\"\"}},3e3)};o.prototype.getPoliteInstance=function(){var e=this.getId();return''+\"\"};o.prototype.getAssertiveInstance=function(){var e=this.getId();return''+\"\"};o.prototype._insertInstances=function(){var e=n.getDomRef();e.insertAdjacentHTML(\"beforeend\",this.getPoliteInstance());e.insertAdjacentHTML(\"beforeend\",this.getAssertiveInstance())};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/InvisibleText\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/security/encodeXML\",\"./Control\",\"./ControlBehavior\",\"./Element\",\"./Lib\",\"./StaticArea\",\"./libr Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/Route\", [\"sap/base/Log\",\"sap/base/assert\",\"sap/base/future\",\"sap/base/util/deepExtend\",\"sap/base/util/extend\",\"sap/ui/base/EventProvider\",\"sap/ui/core/Component\",\"sap/ui/core/routing/Target\",\"sap/ui/core/routing/sync/Route\"],function(t,e,r,o,a,n,i,s,u){\"use strict\";var h=n.extend(\"sap.ui.core.routing.Route\",{metadata:{publicMethods:[\"getURL\",\"getPattern\"]},constructor:function(t,e,o){n.apply(this,arguments);this._validateConfig(e);this._aPattern=[];this._aRoutes=[];this._oParent=o;this._oConfig=e;this._oRouter=t;var a=this,i=e.pattern,h,f,g,c=t._isAsync();if(!c){for(const t in u){this[t]=u[t]}}if(!Array.isArray(i)){i=[i]}if(e.parent){var _=this._getParentRoute(e.parent);if(!_){r.errorThrows(`${this}: No parent route with \"${e.parent}\" could be found`)}else if(_._aPattern.length>1){r.errorThrows(`${this}: Routes with multiple patterns cannot be used as parent for nested routes`);return}else{this._oNestingParent=_;i.forEach(function(t,e){var r=_._aPattern[0];r=r.charAt(r.length)===\"/\"?r:r+\"/\";i[e]=r+t})}}if(Array.isArray(e.subroutes)){h=e.subroutes;e.subroutes={};h.forEach(function(t){e.subroutes[t.name]=t})}if(!e.target){var d=this._convertToTargetOptions(e);d._async=c;this._oTarget=new s(d,t._oViews,o&&o._oTarget);this._oTarget._bUseRawViewId=true}if(e.subroutes){for(f in e.subroutes){g=e.subroutes[f];if(g.name===undefined){g.name=f}t.addRoute(g,a)}}if(e.pattern===undefined){return}i.forEach(function(r,o){a._aPattern[o]=r;a._aRoutes[o]=t._oRouter.addRoute(r);a._checkRoute(a._aRoutes[o]);a._aRoutes[o].greedy=e.greedy;a._aRoutes[o].matched.add(function(){var t={};Array.from(arguments).forEach(function(e,r){t[a._aRoutes[o]._paramsIds[r]]=e});a._routeMatched(t,true)});a._aRoutes[o].switched.add(function(){a._routeSwitched()})})},_checkRoute:function(t){var e=t._paramsIds;if(Array.isArray(e)){var r=e.filter(function(t){return t.charAt(0)===\"?\"}).filter(function(t){return e.indexOf(t.substring(1))>-1}).map(function(t){return t.substring(1)});if(r.length>0){throw Error(\"The config of route '\"+this._oConfig.name+\"' contains standard parameter and query parameter with the same name: '\"+r+\"'. The name of the routing parameters and query parameter have to differentiate.\")}}},_routeSwitched:function(){this._suspend();this.fireEvent(\"switched\",{name:this._oConfig.name})},_suspend:function(){if(this._oRouter._oTargets){this._oRouter._oTargets.suspend(this._oConfig.target);if(this._oConfig.dynamicTarget){this._oRouter._oTargets.suspend(this._oConfig.dynamicTarget)}}},_resume:function(){if(this._oRouter._oTargets){this._oRouter._oTargets.resume(this._oConfig.target);if(this._oConfig.dynamicTarget){this._oRouter._oTargets.resume(this._oConfig.dynamicTarget)}}},destroy:function(){n.prototype.destroy.apply(this);this._aPattern=null;this._aRoutes=null;this._oParent=null;this._oConfig=null;this.bIsDestroyed=true;return this},getURL:function(t){return this._aRoutes[0].interpolate(t||{})},_alignTargetsConfig:function(t){if(!t){return[]}if(!Array.isArray(t)){return typeof t===\"string\"?[{name:t}]:[t]}return t.map(function(t){if(typeof t===\"string\"){t={name:t}}return t})},_changeHashWithComponentTargets:function(t,e){var o=this._alignTargetsConfig(this._oConfig.target),a=this._oRouter._oTargets,n,i;if(o&&o.length>0&&a){n=a.getTarget(o);if(!Array.isArray(n)){n=[n]}}else{n=[]}var s=this;i=n.map(function(a,n){if(a._oOptions.type===\"Component\"){var i=a._load({prefix:o[n].prefix,propagateTitle:o[n].hasOwnProperty(\"propagateTitle\")?o[n].propagateTitle:s._oRouter._oConfig.propagateTitle});return i.then(function(a){var i=a.getRouter(),s=i&&i.getHashChanger(),u=t&&t[o[n].name],h=u&&u.route,f=i&&i.getRoute(h),g;if(u){if(f){g=i._getLastMatchedRouteName()!==h;s.setHash(f.getURL(u.parameters),e||!g);return f._changeHashWithComponentTargets(u.componentTargetInfo,e||g)}else{r.errorThrows(\"Can not navigate to route with name '\"+h+\"' because the route does not exist in component with id '\"+a.getId()+\"'\")}}})}return});return Promise.all(i)},getPattern:function(){return this._aPattern[0]},match:function(t){return this._aRoutes.some(function(e){return e.match(t)})},attachMatched:function(t,e,r){return this.attachEvent(\"matched\",t,e,r)},detachMatched:function(t,e){return this.detachEvent(\"matched\",t,e)},attachBeforeMatched:function(t,e,r){return this.attachEvent(\"beforeMatched\",t,e,r)},detachBeforeMatched:function(t,e){return this.detachEvent(\"beforeMatched\",t,e)},fireBeforeMatched:function(t){this.fireEvent(\"beforeMatched\",t);return this},attachPatternMatched:function(t,e,r){return this.attachEvent(\"patternMatched\",t,e,r)},detachPatternMatched:function(t,e){return this.detachEvent(\"patternMatched\",t,e)},_validateConfig:function(t){if(!t.name){r.errorThrows(`${this}: A name has to be specified for every route`)}if(t.viewName){r.errorThrows(`${this}: The 'viewName' option shouldn't be used in Route. please use 'view' instead`)}},_convertToTargetOptions:function(t){return o({},t,{rootView:t.targetParent,controlId:t.targetControl,controlAggregation:t.targetAggregation,clearControlAggregation:t.clearTarget,viewName:t.view,viewType:t.viewType,viewId:t.viewId})},_getParentRoute:function(t){var r=t.split(\":\");if(r.length===1||r.length===2&&!r[0]){return this._oRouter.getRoute(r[r.length-1])}else{e(this._oRouter._oOwner,\"No owner component for \"+this._oRouter._oOwner.getId());var o=i.getOwnerComponentFor(this._oRouter._oOwner);while(o){if(o.isA(r[0])){var a=o.getRouter();return a.getRoute(r[1])}o=i.getOwnerComponentFor(o)}return null}},getPatternArguments:function(t){return this._aRoutes[0].extrapolate(t)},_routeMatched:function(e,r,o){var n=this._oRouter,s,u,h,f,g=null,c=null,_,d,p,l,m=n._oMatchedRoute===this;n._sRouteInProgress=null;n._stopWaitingTitleChangedFromChild();if(n._oMatchedRoute){delete n._oMatchedRoute._oConfig.dynamicTarget}n._oMatchedRoute=this;n._bMatchingProcessStarted=true;h=a({},n._oConfig,this._oConfig);u=n.getTargets();var T;if(u){T=u._getTitleTargetName(h.target,h.titleTarget);if(T&&n._oPreviousTitleChangedRoute!==this){n._bFireTitleChanged=true;if(n._oOwner&&n._oOwner._bRoutingPropagateTitle){var R=i.getOwnerComponentFor(n._oOwner);var v=R&&R.getRouter();if(v){v._waitForTitleChangedOn(n)}}}else{n._bFireTitleChanged=false}if(this._oConfig.target){l=u._alignTargetsInfo(this._oConfig.target);l.forEach(function(t){t.propagateTitle=t.hasOwnProperty(\"propagateTitle\")?t.propagateTitle:n._oConfig.propagateTitle;t.routeRelevant=true;t.repeatedRoute=m})}}else{l=this._oConfig.target}if(!r||r===true){_=true;r=Promise.resolve()}if(this._oParent){r=this._oParent._routeMatched(e,r)}else if(this._oNestingParent){this._oNestingParent._routeMatched(e,r,this)}d=Object.assign({},e);d.routeConfig=h;f={name:h.name,arguments:e,config:h};if(o){f.nestedRoute=o}this.fireBeforeMatched(f);n.fireBeforeRouteMatched(f);if(this._oTarget){s=this._oTarget;s._updateOptions(this._convertToTargetOptions(h));r=s._place(r,{legacy:true});if(this._oRouter._oTargetHandler&&this._oRouter._oTargetHandler._chainNavigation){p=r;r=this._oRouter._oTargetHandler._chainNavigation(function(){return p})}}else{r=n._oTargets._display(l,d,this._oConfig.titleTarget,r)}return r.then(function(r){n._bMatchingProcessStarted=false;var o,a,i;if(Array.isArray(r)){o=r;r=o[0]}r=r||{};g=r.view;c=r.control;f.view=g;f.targetControl=c;if(o){a=[];i=[];o.forEach(function(t){a.push(t.view);i.push(t.control)});f.views=a;f.targetControls=i}if(h.callback){h.callback(this,e,h,c,g)}this.fireEvent(\"matched\",f);n.fireRouteMatched(f);if(_){t.info(\"The route named '\"+h.name+\"' did match with its pattern\",this);this.fireEvent(\"patternMatched\",f);n.fireRoutePatternMatched(f)}return r}.bind(this))}});h.M_EVENTS={BeforeMatched:\"beforeMatched\",Matched:\"matched\",PatternMatched:\"patternMatched\"};return h});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/Router\", [\"sap/ui/core/library\",\"sap/ui/base/EventProvider\",\"./HashChanger\",\"./Route\",\"./Views\",\"./Targets\",\"./History\",\"sap/ui/thirdparty/crossroads\",\"sap/base/util/each\",\"sap/base/util/deepEqual\",\"sap/base/util/isEmptyObject\",\"sap/base/future\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\",\"./RouterHashChanger\",\"sap/ui/core/Component\"],function(t,e,i,s,n,a,r,h,o,u,d,f,c,jQuery,g,_){\"use strict\";var l={};var p=e.extend(\"sap.ui.core.routing.Router\",{constructor:function(t,s,a,r,u){e.apply(this);s=s||{};this._oRouter=h.create();this._oRouter.ignoreState=true;this._oRoutes={};this._oOwner=a;s.router=this;function d(){if(new URLSearchParams(window.location.search).get(\"sap-ui-xx-asyncRouting\")===\"true\"){c.warning(\"Activation of async view loading in routing via url parameter is only temporarily supported and may be removed soon\",\"Router\");return true}return false}s._async=s.async;if(s._async===undefined){s._async=d()}this._oConfig=s;this._oViews=new n({component:a,async:s._async});if(r){this._oTargets=this._createTargets(this._oConfig,r);this._oTargets._setRouter(this);this._oTargets.attachDisplay(function(t){var e=t.getParameter(\"routeRelevant\");if(this.isInitialized()&&!this._bMatchingProcessStarted){var i=this.getHashChanger();if(i instanceof g&&!e){i.resetHash(this)}}},this)}var f=this,_;if(!t){t={}}if(Array.isArray(t)){_=t;t={};_.forEach(function(e){t[e.name]=e})}o(t,function(t,e){if(e.name===undefined){e.name=t}f.addRoute(e)});this._oRouter.bypassed.add(this._onBypassed.bind(this));if(!u){u=i.getInstance().createRouterHashChanger()}this.setHashChanger(u);var l=this._getParentRouter();if(l){this.attachTitleChanged(function(t){if(this._oOwner&&!this._oOwner._bRoutingPropagateTitle){return}var e=t.getParameters(),i,s;if(l._fnTitleChangedFiredOnChild){l._fnTitleChangedFiredOnChild(e)}else{i=e.nestedHistory.slice();i.unshift({ownerComponentId:l._oOwner.getId(),history:l.getTitleHistory()});s={propagated:true,title:e.title,history:e.history,nestedHistory:i};l.fireTitleChanged(s)}})}},addRoute:function(t,e){if(!t.name){f.errorThrows(`${this}: A name has to be specified for every route`)}if(this._oRoutes[t.name]){c.error(\"Route with name \"+t.name+\" already exists\",this)}this._oRoutes[t.name]=this._createRoute(this,t,e)},parse:function(t){if(this._oRouter){this._oRouter.parse(t)}else{f.warningThrows(`${this}: This router has been destroyed while the hash changed. No routing events where fired by the destroyed instance.`)}},initialize:function(t){var e=this,i;if(this._bIsInitialized){c.warning(\"Router is already initialized.\",this);return this}this._bIsInitialized=true;this._bLastHashReplaced=false;this._bHashChangedAfterTitleChange=false;this.fnHashChanged=function(t){e.parse(t.getParameter(\"newHash\"));e._bHashChangedAfterTitleChange=true};if(!this.oHashChanger){f.errorThrows(`${this}: navTo of the router is called before the router is initialized. If you want to replace the current hash before you initialize the router you may use getUrl and use replaceHash of the Hashchanger.`);return this}if(this._oTargets){var s=this._oRoutes[this._oConfig.homeRoute];this._oTargets.attachTitleChanged(this._forwardTitleChanged,this);this._aHistory=[];var n=s&&R(this._oOwner,s);if(n){this._aHistory.push(n)}}if(this.oHashChanger instanceof g){this.oHashChanger._setActiveRouter(this)}this.oHashChanger.init();i=this.oHashChanger.getHash();this.oHashChanger.attachEvent(\"hashChanged\",this.fnHashChanged);if(t){if(this._oMatchedRoute){this._oMatchedRoute._resume()}}else if(i!==g.InvalidHash){this.parse(i)}return this},_forwardTitleChanged:function(t){var e=t.getParameters();var i={title:e.title};var s=this._oRoutes[this._oConfig.homeRoute];if(s&&C(e.name,s._oConfig.name)){i.isHome=true}this.fireTitleChanged(i)},stop:function(){if(!this._bIsInitialized){c.warning(\"Router is not initialized. But it got stopped\",this)}if(this.fnHashChanged){this.oHashChanger.detachEvent(\"hashChanged\",this.fnHashChanged)}if(this.fnHashReplaced){this.oHashChanger.detachEvent(\"hashReplaced\",this.fnHashReplaced)}if(this._oTargets){this._oTargets.detachTitleChanged(this._forwardTitleChanged,this);this._oTargets._oLastTitleTarget={}}if(this._oMatchedRoute){this._oMatchedRoute._routeSwitched()}this._bIsInitialized=false;delete this._oPreviousTitleChangedRoute;return this},isStopped:function(){return this._bIsInitialized===false},isInitialized:function(){return this._bIsInitialized===true},getHashChanger:function(){return this.oHashChanger},setHashChanger:function(t){if(this.oHashChanger){c.warning(\"The Router already has a HashChanger set and this call is ignored\")}else{this.oHashChanger=t}return this},destroy:function(){if(this.bIsDestroyed){return this}e.prototype.destroy.apply(this);if(this._oViews){this._oViews.destroy();this._oViews=null}if(!this._bIsInitialized){c.info(\"Router is not initialized, but got destroyed.\",this)}if(this.fnHashChanged){this.oHashChanger.detachEvent(\"hashChanged\",this.fnHashChanged)}if(this.fnHashReplaced){this.oHashChanger.detachEvent(\"hashReplaced\",this.fnHashReplaced)}this._oRouter.removeAllRoutes();this._oRouter=null;o(this._oRoutes,function(t,e){e.destroy()});this._oRoutes=null;this._oConfig=null;if(this._oTargets){this._oTargets.destroy();this._oTargets=null}delete this._bIsInitialized;this.bIsDestroyed=true;return this},getURL:function(t,e){var i=this.getRoute(t);if(i){return i.getURL(e)}else{f.warningThrows(`${this}: Route with name \"${t}\" does not exist`)}},match:function(t){return Object.keys(this._oRoutes).some(function(e){return this._oRoutes[e].match(t)}.bind(this))},getRouteByHash:function(t){for(var e in this._oRoutes){if(this._oRoutes.hasOwnProperty(e)){var i=this.getRoute(e);if(i.match(t)){return i}}}},getRouteInfoByHash:function(t){var e=this.getRouteByHash(t);if(!e){return undefined}return{name:e._oConfig.name,arguments:e.getPatternArguments(t)}},getRoute:function(t){return this._oRoutes[t]},getViews:function(){return this._oViews},_createTargets:function(t,e){return new a({views:this._oViews,config:t,targets:e})},_createRoute:function(t,e,i){return new s(t,e,i)},getView:function(t,e,i){c.warning(\"Deprecated API Router#getView called - use Router#getViews instead.\",this);var s=this._oViews._getViewWithGlobalId({viewName:t,type:e,id:i},true);this.fireViewCreated({view:s,viewName:t,type:e});return s},setView:function(t,e){this._oViews.setView(t,e);return this},_getParentRouter:function(){var t=this._oOwner&&_.getOwnerComponentFor(this._oOwner);return t&&t.getRouter()},navTo:function(t,e,i,s){var n=this,a=this.getRoute(t),r,h;if(this.isStopped()){c.info(\"The router instance \"+this._sId+\" is stopped. No navigation can be performed.\");return this}if(!a){f.warningThrows(`${this}: Route with name \"${t}\" does not exist`);return this}var o=this._getLastMatchedRouteName()!==t&&this._sRouteInProgress!==t;this._sRouteInProgress=t;if(typeof i===\"boolean\"){s=i}if(e===undefined){e={}}if(i&&!d(i)){if(!this._oConfig._async){c.error(\"navTo with component target info is only supported with async router\",this);return this}r=a._changeHashWithComponentTargets(i,o)}h=a.getURL(e);if(s){n._bLastHashReplaced=true;n.oHashChanger.replaceHash(h,r,!o)}else{n.oHashChanger.setHash(h,r,!o)}return this},_getLastMatchedRouteName:function(){return this._oMatchedRoute&&this._oMatchedRoute._oConfig.name},getTargets:function(){return this._oTargets},getTarget:function(t){return this._oTargets.getTarget(t)},attachRouteMatched:function(t,e,i){this.attachEvent(\"routeMatched\",t,e,i);return this},detachRouteMatched:function(t,e){this.detachEvent(\"routeMatched\",t,e);return this},fireRouteMatched:function(t){this.fireEvent(\"routeMatched\",t);if(p._interceptRouteMatched){p._interceptRouteMatched(this._oConfig.controlId,this)}return this},attachBeforeRouteMatched:function(t,e,i){this.attachEvent(\"beforeRouteMatched\",t,e,i);return this},detachBeforeRouteMatched:function(t,e){this.detachEvent(\"beforeRouteMatched\",t,e);return this},fireBeforeRouteMatched:function(t){this.fireEvent(\"beforeRouteMatched\",t);return this},attachViewCreated:function(t,e,i){this.attachEvent(\"viewCreated\",t,e,i);return this},detachViewCreated:function(t,e){this.detachEvent(\"viewCreated\",t,e);return this},fireViewCreated:function(t){this.fireEvent(\"viewCreated\",t);return this},attachRoutePatternMatched:function(t,e,i){this.attachEvent(\"routePatternMatched\",t,e,i);return this},detachRoutePatternMatched:function(t,e){this.detachEvent(\"routePatternMatched\",t,e);return this},fireRoutePatternMatched:function(t){this.fireEvent(\"routePatternMatched\",t);return this},attachBypassed:function(t,e,i){return this.attachEvent(p.M_EVENTS.BYPASSED,t,e,i)},detachBypassed:function(t,e){return this.detachEvent(p.M_EVENTS.BYPASSED,t,e)},fireBypassed:function(t){return this.fireEvent(p.M_EVENTS.BYPASSED,t)},attachTitleChanged:function(t,e,i){this.attachEvent(p.M_EVENTS.TITLE_CHANGED,t,e,i);return this},detachTitleChanged:function(t,e){return this.detachEvent(p.M_EVENTS.TITLE_CHANGED,t,e)},fireTitleChanged:function(e){if(this.isStopped()){return this}var i=!this._pWaitForTitleChangedOnChild;if(!e.propagated){e.propagated=false;var s=r.getInstance().getDirection(),n=this.getHashChanger().getHash(),a=t.routing.HistoryDirection,h=this._aHistory[this._aHistory.length-1],o;if(s===a.Backwards&&h&&!h.isHome){if(h&&h.title!==e.title){this._aHistory.pop()}}else if(h&&h.hash==n){h.title=e.title;this._aHistory.some(function(t,e,i){if(e-1}function R(t,e){var i=e.getPattern(),s=t&&t.getManifestEntry(\"/sap.app/title\");if(i===\"\"||i!==undefined&&!/({.*})+/.test(i)){return{hash:i,isHome:true,title:s}}else{f.errorThrows(\"Routes with dynamic parts cannot be resolved as home route.\")}}p.M_EVENTS={BEFORE_ROUTE_MATCHED:\"beforeRouteMatched\",ROUTE_MATCHED:\"routeMatched\",ROUTE_PATTERN_MATCHED:\"routePatternMatched\",VIEW_CREATED:\"viewCreated\",BYPASSED:\"bypassed\",TITLE_CHANGED:\"titleChanged\"};p._interceptRouteMatched=undefined;p.getRouter=function(t){return l[t]};return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/RouterHashChanger\", [\"./HashChangerBase\"],function(e){\"use strict\";var t=e.extend(\"sap.ui.core.routing.RouterHashChanger\",{constructor:function(t){if(!t||!t.parent){throw new Error(\"sap.ui.core.routing.RouterHashChanger can't be instantiated without a parent\")}this.parent=t.parent;this.hash=t.hash||\"\";this.subHashMap=t.subHashMap;this.key=t.key||\"\";e.apply(this)}});t.InvalidHash=\"SapUiCoreRoutingInvalidHash\"+(new Date).getTime();t.prototype.init=function(){this.parent.init()};t.prototype._generatePrefixedKey=function(e){return this.key?this.key+\"-\"+e:e};t.prototype.createSubHashChanger=function(e){this.children=this.children||{};var i=this._generatePrefixedKey(e);if(this.children[i]){return this.children[i]}var h=new t({key:i,parent:this,subHashMap:this.subHashMap,hash:this.subHashMap&&this.subHashMap[i]||\"\"});h.attachEvent(\"hashSet\",this._onChildHashChanged.bind(this,i));h.attachEvent(\"hashReplaced\",this._onChildHashChanged.bind(this,i));this.children[i]=h;return h};t.prototype.fireHashChanged=function(e,t,i){var h,s=this.hash;this.hash=e;this.subHashMap=t;if(!i&&e!==s){this.fireEvent(\"hashChanged\",{newHash:e,oldHash:s})}if(this.children){h=Object.keys(this.children);h.forEach(function(e){var h=t[e]===undefined?\"\":t[e];this.children[e].fireHashChanged(h,t,i)}.bind(this))}};t.prototype._onChildHashChanged=function(e,t){var i=t.getParameter(\"key\")||e,h=t.getParameter(\"hash\"),s=t.getParameter(\"nestedHashInfo\"),n=t.getParameter(\"deletePrefix\");if(this._bCollectMode){this._collectHash(i,h,n)}else{this.fireEvent(t.getId(),{hash:h,key:i,nestedHashInfo:s,deletePrefix:n})}};t.prototype._collectHash=function(e,t,i){this._aCollectedHashInfo=this._aCollectedHashInfo||[];this._aCollectedHashInfo.push({key:e,hash:t,deletePrefix:i})};t.prototype._hasRouterAttached=function(){return this.hasListeners(\"hashChanged\")};t.prototype._collectActiveDescendantPrefix=function(){if(this.children){var e=Object.keys(this.children);return e.reduce(function(e,t){var i=this.children[t];if(i._hasRouterAttached()){e.push(t);Array.prototype.push.apply(e,i._collectActiveDescendantPrefix())}return e}.bind(this),[])}else{return[]}};t.prototype.getHash=function(){if(this._isUnderCollectMode()){return t.InvalidHash}else{return this.hash}};t.prototype._setActiveRouter=function(e){if(e.getHashChanger()===this){this._oActiveRouter=e}return this};t.prototype.resetHash=function(e){if(e&&this._oActiveRouter===e){this.hash=undefined}return this};t.prototype.setHash=function(e,t,i){if(!(t instanceof Promise)){i=t;t=null}return this._modifyHash(e,t,i)};t.prototype.replaceHash=function(e,t,i,h){if(typeof t!==\"string\"){h=i;i=t;t=undefined}if(!(i instanceof Promise)){h=i;i=null}return this._modifyHash(e,i,h,true,t)};t.prototype._modifyHash=function(e,t,i,h,s){var n=h?\"hashReplaced\":\"hashSet\",r=this,a={hash:e};if(h&&s){a.direction=s}if(!i){a.deletePrefix=this._collectActiveDescendantPrefix()}if(t){this._bCollectMode=true;return t.then(function(){a.nestedHashInfo=r._aCollectedHashInfo;r.fireEvent(n,a);r._aCollectedHashInfo=null;r._bCollectMode=false})}else{this.fireEvent(n,a)}};t.prototype._isUnderCollectMode=function(){return this.parent instanceof t&&this.parent._isInCollectMode()};t.prototype._isInCollectMode=function(){return this._bCollectMode||this.parent instanceof t&&this.parent._isInCollectMode()};t.prototype.destroy=function(){this.parent.deregisterRouterHashChanger(this);if(this.children){Object.keys(this.children).forEach(function(e){var t=this.children[e];t.destroy()}.bind(this));delete this.children}delete this.hash;delete this.subHashMap;delete this.parent;delete this.key;e.prototype.destroy.apply(this,arguments)};t.prototype.deregisterRouterHashChanger=function(e){if(this.children){Object.keys(this.children).some(function(t){var i=this.children[t];if(i===e){delete this.children[t];return true}}.bind(this))}};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/Target\", [\"sap/base/Log\",\"sap/base/future\",\"sap/ui/base/EventProvider\",\"sap/ui/base/ManagedObjectMetadata\",\"sap/ui/core/ComponentContainer\",\"sap/ui/core/Element\",\"sap/ui/core/Placeholder\",\"sap/ui/core/library\",\"sap/ui/core/mvc/View\",\"sap/ui/core/routing/sync/Target\"],function(e,t,i,n,o,r,a,s,l,h){\"use strict\";var d=s.ComponentLifecycle;var c=r.extend(\"sap.ui.core.routing.Target.TitleProvider\",{metadata:{library:\"sap.ui.core\",properties:{title:{type:\"string\",group:\"Data\",defaultValue:null}}},constructor:function(e){this._oTarget=e.target;delete e.target;r.prototype.constructor.call(this,e)},setTitle:function(e){this.setProperty(\"title\",e,true);if(this._oTarget._bIsDisplayed&&e){this._oTarget.fireTitleChanged({name:this._oTarget._oOptions._name,title:e})}}});var u=i.extend(\"sap.ui.core.routing.Target\",{constructor:function(t,n){var o;function r(){if(new URLSearchParams(window.location.search).get(\"sap-ui-xx-asyncRouting\")===\"true\"){e.warning(\"Activation of async view loading in routing via url parameter is only temporarily supported and may be removed soon\",\"Target\");return true}return false}if(t._async===undefined){t._async=r()}if(t.type===\"Component\"&&!t._async){o=\"sap.ui.core.routing.Target doesn't support loading component in synchronous mode, please switch routing to async\";e.error(o);throw new Error(o)}this._updateOptions(t);this._oCache=n;i.apply(this,arguments);if(this._oOptions.title){this._oTitleProvider=new c({target:this})}if(!t._async){for(const e in h){this[e]=h[e]}}this._bIsDisplayed=false;this._bIsLoaded=false},destroy:function(){this._oParent=null;this._oOptions=null;this._oCache=null;if(this._oTitleProvider){this._oTitleProvider.destroy()}this._oTitleProvider=null;i.prototype.destroy.apply(this,arguments);this.bIsDestroyed=true;return this},attachDisplay:function(e,t,i){return this.attachEvent(this.M_EVENTS.DISPLAY,e,t,i)},detachDisplay:function(e,t){return this.detachEvent(this.M_EVENTS.DISPLAY,e,t)},fireDisplay:function(e){var t=this._oTitleProvider&&this._oTitleProvider.getTitle();if(t){this.fireTitleChanged({name:this._oOptions._name,title:t})}this._bIsDisplayed=true;e=e||{};e.config=this._oRawOptions;return this.fireEvent(this.M_EVENTS.DISPLAY,e)},attachTitleChanged:function(e,t,i){var n=this.hasListeners(\"titleChanged\"),o=this._oTitleProvider&&this._oTitleProvider.getTitle();this.attachEvent(this.M_EVENTS.TITLE_CHANGED,e,t,i);if(!n&&o&&this._bIsDisplayed){this.fireTitleChanged({name:this._oOptions._name,title:o})}return this},detachTitleChanged:function(e,t){return this.detachEvent(this.M_EVENTS.TITLE_CHANGED,e,t)},fireTitleChanged:function(e){return this.fireEvent(this.M_EVENTS.TITLE_CHANGED,e)},_getEffectiveObjectName:function(e){var t=this._oOptions.path;if(t&&e&&!e.startsWith(\"module:\")){e=t+\".\"+e}return e},_updateOptions:function(t){var i=Object.assign({},t);const n=i._async;if(n){if(i.viewName){if(i.name){i._name=i.name}i.type=\"View\";i.name=i.viewName;delete i.viewName;if(i.viewPath){i.path=i.viewPath;delete i.viewPath}if(i.viewId){i.id=i.viewId;delete i.viewId}}}else if(i.type){e.error(\"Sync Target '\"+i._name+\"' uses the new options which are only supported by async Target.\")}this._oOptions=i;this._oRawOptions=t},_bindTitleInTitleProvider:function(e){if(this._oTitleProvider&&e instanceof l){this._oTitleProvider.applySettings({title:this._oOptions.title},e.getController())}},_addTitleProviderAsDependent:function(e){if(!this._oTitleProvider){return}var t=this._oTitleProvider.getParent();if(t){t.removeDependent(this._oTitleProvider)}if(e instanceof l){e.addDependent(this._oTitleProvider)}},_beforePlacingViewIntoContainer:function(e){},display:function(e){var t=Promise.resolve();return this._display(e,t)},_display:function(e,t,i){if(this._oParent){t=this._oParent._display(e,t,Object.assign({},i))}return this._place(e,t,i)},suspend:function(){if(this._oParent){this._oParent.suspend()}if(this._isLoaded()){var t=this._get(),i;if(t.isA(\"sap.ui.core.UIComponent\")&&(i=t.getRouter())&&t.hasNativeRouter()){i.stop()}}else{e.warning(\"The target with name '\"+this._oOptions._name+\"' can't be suspended because it's being loaded or not loaded yet\")}return this},resume:function(){if(this._oParent){this._oParent.resume()}if(this._isLoaded()){var e=this._get(),t;if(e.isA(\"sap.ui.core.UIComponent\")&&(t=e.getRouter())&&e.hasNativeRouter()){t.initialize(true)}}return this},_isLoaded:function(){return this._bIsLoaded},_getCreateOptions:function(){var e=this._getEffectiveObjectName(this._oOptions.name),t=this._oOptions,i;switch(t.type){case\"View\":i={name:e,id:t.id,async:true};if(!e.startsWith(\"module:\")){i.type=t.viewType}break;case\"Component\":t.id=t.id||n.uid(\"uicomponent\");i={id:t.id};if(t.usage){i.usage=t.usage}else{i.name=e}i=Object.assign({},t.options||{},i);break;default:throw new Error(\"The given type \"+t.type+\" isn't support by sap.ui.core.routing.Target\")}return i},_get:function(e){var t=this._getCreateOptions();return this._oCache._get(t,this._oOptions.type,this._bUseRawViewId,e)},_load:function(e){var t=this._get(e),i;if(!(t instanceof Promise)){if(t.isA(\"sap.ui.core.mvc.View\")){i=t.loaded()}else{i=Promise.resolve(t)}}else{i=t}return i.then(function(e){this._bIsLoaded=true;return e}.bind(this))},load:function(e){return this._load(e).then(function(t){return{object:t,nestedComponentReady:this.waitForComponentTarget({target:t,createInfo:e})}}.bind(this))},waitForComponentTarget:function(e){return new Promise(function(t,i){var n=e.target;var o=e.createInfo;var r=true;if(n.isA(\"sap.ui.core.UIComponent\")){var a=n.getRouter();if(a&&n.hasNativeRouter()){var s=a.getHashChanger().getHash();var l=a.getRouteByHash(s);var h=o&&o.ignoreInitialHash;if(!a._oConfig.async){throw new Error(\"The router of component '\"+n.getId()+\"' which is loaded via the target '\"+this._oOptions._name+\"' is defined as synchronous which is not supported using as a nested component.\")}if(a._oOwner&&o){a._oOwner._bRoutingPropagateTitle=o.propagateTitle}if(!h&&(!a.isInitialized()||a._bMatchingProcessStarted)&&l&&l._oConfig.target){r=false;a.attachRouteMatched(t)}if(a.isStopped()){a.initialize(h)}}}if(r){t()}}.bind(this))},resolveContainerControl:function(e){return Promise.resolve().then(function(){e=e||{};var t=this._oOptions;var i=this._isValid(e);var n;if(i!==true){n=i;return this._refuseInvalidTarget(t._name,n)}var o=e.view,a=e.control,s,l;if(o&&o.isA(\"sap.ui.core.ComponentContainer\")){o=o.getComponentInstance().getRootControl()}if(!o&&t.rootView){s=Promise.resolve(t.rootView).then(function(e){var i;if(e){i=r.getElementById(e);t.rootView=e}if(!i){n=\"Did not find the root view with the id \"+t.rootView;return this._refuseInvalidTarget(t._name,n)}else{return i}}.bind(this))}else{s=Promise.resolve(o)}s=s.then(function(e){if(e&&e.isA(\"sap.ui.core.mvc.View\")){return e.loaded()}else{return e}});if(t.controlId){l=s.then(function(e){var i;if(e){i=e.byId(t.controlId)}if(!i){i=r.getElementById(t.controlId)}return i})}else{l=Promise.resolve(a)}return l.then(function(e){if(!e){n=\"Control with ID \"+t.controlId+\" could not be found\";return this._refuseInvalidTarget(t._name,n)}else{return e}}.bind(this))}.bind(this))},displayPlaceholder:function(e,t){var i,n=this._oOptions,s=n.type===\"Component\",l=false,h=e.placeholder||n.placeholder||{},c=Promise.resolve();if(a.hasProviders()){Object.assign(h,a.getPlaceholderFromProviders({name:n.name,type:n.type}))}if(Object.keys(h).length>0){if(h.autoClose===undefined){h.autoClose=true}l=true}if(s){var u=this._oCache._oComponent;var f=n.id+\"-container\";i=u&&u.byId(f)||r.getElementById(f);if(!i){var p=Object.assign({height:\"100%\",width:\"100%\",lifecycle:d.Application},n.containerOptions);if(u){u.runAsOwner(function(){i=new o(u.createId(f),p)})}else{i=new o(f,p)}}if(l){h.container=i}}if(l&&t.isA(\"sap.ui.core.IPlaceholderSupport\")){h.container=t}if(h.container&&!e.repeatedRoute){h.aggregation=this._oOptions.controlAggregation;var g=this._getCreateOptions();var _=this._oCache.fetch(g,this._oOptions.type);if(_&&s){h.object=i}else{h.object=_}if(h.html){h.placeholder=new a({html:h.html})}if(h.placeholder&&a.isEnabled()){c=this.showPlaceholder(h)}}return c.then(function(e){return{containerControl:t,object:i,placeholderConfig:h,placeholderShown:!!e}})},_place:function(t,i,n){var o=this._oOptions,r=this,a,s=o.type===\"Component\";var l,h;if(t instanceof Promise){n=i;i=t;t=undefined}n=n||{};if((o.name||o.usage)&&o.type){l=this.load(n);if(this._oParent||n.legacy){h=i.then(this.resolveContainerControl.bind(this))}else{h=this.resolveContainerControl()}h=h.then(this.displayPlaceholder.bind(this,n));i=Promise.all([l,h,i]).then(function(e){var t=e[0].object,i=e[1],n,o;i.nestedComponentReady=e[0].nestedComponentReady;if(s){var a=t.destroy;t.destroy=function(){if(a){a.apply(this)}i.object.destroy()};i.object.setComponent(t);o=t.getRootControl();if(o&&o.isA(\"sap.ui.core.mvc.View\")){n=o}}else{i.object=t;n=t}r._bindTitleInTitleProvider(n);r._addTitleProviderAsDependent(n);return i}).then(function(i){var n=i.containerControl,s=i.object;r._beforePlacingViewIntoContainer({container:n,view:s,data:t});var l=n.getMetadata().getJSONKeys()[o.controlAggregation];if(!l){a=\"Control \"+o.controlId+\" does not have an aggregation called \"+o.controlAggregation;return r._refuseInvalidTarget(o._name,a)}if(o.clearControlAggregation===true){n[l._sRemoveAllMutator]()}e.info(\"Did place the \"+o.type.toLowerCase()+\" target '\"+(o.name?r._getEffectiveObjectName(o.name):o.usage)+\"' with the id '\"+s.getId()+\"' into the aggregation '\"+o.controlAggregation+\"' of a control with the id '\"+n.getId()+\"'\",r);n[l._sMutator](s);return{name:o._name,view:s,control:n,nestedComponentReady:i.nestedComponentReady,placeholderConfig:i.placeholderConfig,placeholderShown:i.placeholderShown}})}else{i=i.then(function(){return{name:o._name}})}return i.then(function(e){var i=e.nestedComponentReady||Promise.resolve();return i.then(function(){var i=e.control,o=e.view,a=e.placeholderConfig;if(i&&o){r.fireDisplay({view:o.isA(\"sap.ui.core.mvc.View\")?o:undefined,object:o,control:i,data:t,routeRelevant:n.routeRelevant})}if(a&&a.container&&a.autoClose&&r.hidePlaceholder){r.hidePlaceholder(a)}return e})})},showPlaceholder:function(e){if(e.container&&e.container.showPlaceholder){return e.container.showPlaceholder(e)}else{return Promise.resolve()}},hidePlaceholder:function(e){if(e.container.hidePlaceholder){e.container.hidePlaceholder()}},_isValid:function(e){var i=this._oOptions,n=e&&e.control,o=n||i.controlId,r=true,a=\"\";if(!o){a=\"The target \"+i._name+\" has no controlId set and no parent so the target cannot be displayed.\";r=false}if(!i.controlAggregation){a=\"The target \"+i._name+\" has a control id or a parent but no 'controlAggregation' was set, so the target could not be displayed.\";r=false}if(a){t.errorThrows(`${this}: ${a}`)}return r||a},_refuseInvalidTarget:function(e,t){return Promise.reject(new Error(t+\" - Target: \"+e))},M_EVENTS:{DISPLAY:\"display\",TITLE_CHANGED:\"titleChanged\"}});return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/TargetCache\", [\"sap/base/Log\",\"sap/base/assert\",\"sap/ui/base/EventProvider\",\"sap/ui/core/Component\",\"sap/ui/core/mvc/_ViewFactory\",\"sap/ui/core/mvc/View\",\"sap/ui/core/routing/HashChanger\",\"sap/ui/core/routing/sync/TargetCache\"],function(e,t,n,o,r,i,s,a){\"use strict\";var c=n.extend(\"sap.ui.core.routing.TargetCache\",{constructor:function(e){if(!e){e={}}if(e.async===undefined){e.async=true}this._oCache={view:{},component:{}};this._oComponent=e.component;if(this._oComponent){t(this._oComponent.isA(\"sap.ui.core.UIComponent\"),this+\" - the component passed to the constructor needs to be an instance of UIComponent\")}n.apply(this,arguments);this.async=e.async;if(!e.async){for(const e in a){this[e]=a[e]}}},metadata:{publicMethods:[\"get\",\"set\"]},get:function(t,n){var o;try{if(n===\"Component\"&&!this.async){e.error(\"sap.ui.core.routing.Target doesn't support loading component in synchronous mode, please switch routing to async\");throw new Error(\"sap.ui.core.routing.Target doesn't support loading component in synchronous mode, please switch routing to async\")}if(!t){e.error(\"the oOptions parameter of getObject is mandatory\",this);throw new Error(\"the oOptions parameter of getObject is mandatory\")}o=this._get(t,n)}catch(e){return Promise.reject(e)}if(o instanceof Promise){return o}else if(o.isA(\"sap.ui.core.mvc.View\")){return o.loaded()}else{return Promise.resolve(o)}},fetch:function(e,t){return this._get(e,t,undefined,undefined,true)},set:function(e,n,o){var r;this._checkName(e,n);t(n===\"View\"||n===\"Component\",\"sType must be either 'View' or 'Component'\");r=this._oCache[n.toLowerCase()][e];if(!r){r=this._oCache[n.toLowerCase()][e]={}}r[undefined]=o;return this},destroy:function(){n.prototype.destroy.apply(this);if(this.bIsDestroyed){return this}function e(e){if(e&&e.destroy&&!e._bIsBeingDestroyed){e.destroy()}}Object.keys(this._oCache).forEach(function(t){var n=this._oCache[t];Object.keys(n).forEach(function(t){var o=n[t];Object.keys(o).forEach(function(t){var n=o[t];if(n instanceof Promise){n.then(e)}else{e(n)}})})}.bind(this));this._oCache=undefined;this.bIsDestroyed=true;return this},attachCreated:function(e,t,n){return this.attachEvent(\"created\",e,t,n)},detachCreated:function(e,t){return this.detachEvent(\"created\",e,t)},fireCreated:function(e){return this.fireEvent(\"created\",e)},_get:function(e,t,n,o,r){var i;switch(t){case\"View\":i=this._getView(e,n,r);break;case\"Component\":i=this._getComponent(e,n,o,r);break;default:throw Error(\"The given sType: \"+t+\" isn't supported by TargetCache.getObject\")}return i},_getView:function(e,t,n){if(!t){e=this._createId(e)}return this._getViewWithGlobalId(e,false,n)},_getComponent:function(e,t,n,o){if(!t){e=this._createId(e)}return this._getComponentWithGlobalId(e,n,o)},_createId:function(e){if(this._oComponent&&e.id){e=Object.assign({},e,{id:this._oComponent.createId(e.id)})}return e},_checkName:function(t,n){if(!t){var o=\"A name for the \"+n.toLowerCase()+\" has to be defined\";e.error(o,this);throw Error(o)}},_getObjectWithGlobalId:function(e,t,n,s,a){var c=this,h,u,f,d=this._oComponent,p=[];n=n||{};function g(){const a=!e.async||s;switch(t){case\"View\":e.viewName=e.name;delete e.name;if(a){return r.create(e)}else{return i.create(e)}case\"Component\":e.settings=e.settings||{};e.settings._propagateTitle=n.propagateTitle;var h=c._createRouterHashChanger(n.prefix);if(h){e.settings._routerHashChanger=h}if(e.usage){return d.createComponent(e)}else{return o.create(e)}default:}}function m(o){if(c._oCache){p.forEach(function(e){f[e]=o});if(n.afterCreate){n.afterCreate(o)}c.fireCreated({object:o,type:t,options:e})}return o}if(e.async===undefined){e.async=true}u=e.usage||e.name;this._checkName(u,t);f=this._oCache[t.toLowerCase()][u];h=f&&f[e.id];if(a||h){return h}if(d){h=d.runAsOwner(g);if(h instanceof Promise){d.registerForDestroy(h)}}else{h=g()}if(h instanceof Promise){h=h.then(m)}else{h.loaded().then(m)}if(!f){f=this._oCache[t.toLowerCase()][u]={};f[undefined]=h;p.push(undefined)}if(e.id!==undefined){f[e.id]=h;p.push(e.id)}return h},_getViewWithGlobalId:function(e,t,n){if(e&&!e.name){e.name=e.viewName}return this._getObjectWithGlobalId(e,\"View\",undefined,t,n)},_getComponentWithGlobalId:function(e,t,n){return this._getObjectWithGlobalId(e,\"Component\",t,n)},_createRouterHashChanger:function(e){var t;var n=this._oComponent&&this._oComponent.getRouter();if(n){t=n.getHashChanger();if(t&&e){t=t.createSubHashChanger(e)}}return t||s.getInstance().createRouterHashChanger()}});return c});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/Targets\", [\"sap/base/Log\",\"sap/base/future\",\"sap/base/util/deepExtend\",\"sap/ui/base/EventProvider\",\"sap/ui/core/routing/Target\",\"sap/ui/core/routing/sync/Targets\"],function(t,e,i,n,a,r){\"use strict\";var s=n.extend(\"sap.ui.core.routing.Targets\",{constructor:function(e){n.apply(this);this._mTargets={};this._oLastTitleTarget={};this._oCache=e.cache||e.views;if(!e.config){e.config={};e.config._async=false}function i(){if(new URLSearchParams(window.location.search).get(\"sap-ui-xx-asyncRouting\")===\"true\"){t.warning(\"Activation of async view loading in routing via url parameter is only temporarily supported and may be removed soon\",\"Targets\");return true}return false}if(e.config._async===undefined){e.config._async=e.config.async===undefined?i():e.config.async}if(!e.config._async){for(const t in r){this[t]=r[t]}}this._oConfig=e.config;Object.keys(e.targets).forEach(function(t){this._createTarget(t,e.targets[t])}.bind(this));Object.keys(this._mTargets).forEach(function(t){this._addParentTo(this._mTargets[t])}.bind(this))},_setRouter:function(e){if(!this._oRouter){this._oRouter=e}else{t.warning(\"The Targets is already connected with a router and this call of _setRouter is ignored\")}return this},destroy:function(){var t;n.prototype.destroy.apply(this);for(t in this._mTargets){if(this._mTargets.hasOwnProperty(t)){this._mTargets[t].destroy()}}this._mTargets=null;this._oCache=null;this._oConfig=null;this.bIsDestroyed=true;return this},getViews:function(){return this._oCache},getCache:function(){return this._oCache},getTarget:function(e,i){var n=this,a=this._alignTargetsInfo(e),r;r=a.reduce(function(e,a){var r=n._mTargets[a.name];if(r){e.push(r)}else if(!i){t.error('The target you tried to get \"'+a.name+'\" does not exist!',n)}return e},[]);return r.length<=1?r[0]:r},addTarget:function(t,i){var n=this.getTarget(t,true),a;if(n){e.errorThrows(`${this}: Target with name \"${t}\" already exists`)}else{a=this._createTarget(t,i);this._addParentTo(a)}return this},suspend:function(t){var e=this._alignTargetsInfo(t);e.forEach(function(t){var e=t.name;var i=this.getTarget(e);if(i){i.suspend()}}.bind(this));return this},resume:function(t){var e=this._alignTargetsInfo(t);e.forEach(function(t){var e=t.name;var i=this.getTarget(e);if(i){i.resume()}}.bind(this));return this},attachDisplay:function(t,e,i){return this.attachEvent(this.M_EVENTS.DISPLAY,t,e,i)},detachDisplay:function(t,e){return this.detachEvent(this.M_EVENTS.DISPLAY,t,e)},fireDisplay:function(t){return this.fireEvent(this.M_EVENTS.DISPLAY,t)},attachTitleChanged:function(t,e,i){this.attachEvent(this.M_EVENTS.TITLE_CHANGED,t,e,i);return this},detachTitleChanged:function(t,e){return this.detachEvent(this.M_EVENTS.TITLE_CHANGED,t,e)},fireTitleChanged:function(t){if(this._oLastTitleTarget.name!==t.name||this._oLastTitleTarget.title!==t.title){this._oLastTitleTarget.name=t.name;this._oLastTitleTarget.title=t.title;this.fireEvent(this.M_EVENTS.TITLE_CHANGED,t)}return this},M_EVENTS:{DISPLAY:\"display\",TITLE_CHANGED:\"titleChanged\"},_alignTargetsInfo:function(t){if(t===undefined){return[]}if(!Array.isArray(t)){return typeof t===\"object\"?[t]:[{name:t}]}return t.map(function(t){if(typeof t!==\"object\"){t={name:t}}return t})},_createTarget:function(t,e){var n,a,r={_name:t};if(this._vRootViewId){r.rootView=this._vRootViewId}a=i(r,this._oConfig,e);this._validateOptions(a);n=this._constructTarget(a);n.attachDisplay(function(e){var i=e.getParameters();this.fireDisplay({name:t,view:i.view,object:i.object,control:i.control,config:i.config,data:i.data,routeRelevant:i.routeRelevant})},this);this._mTargets[t]=n;return n},_getDeprecatedOptions:function(){return{viewPath:\"path\",viewName:\"name\",viewId:\"id\"}},_validateOptions:function(t){const e=this._oConfig?.router?._oOwner?.getManifestObject();if(e?._getSchemaVersion()===2){const i=this._getDeprecatedOptions();const n=e.getComponentName();Object.keys(i).forEach(e=>{if(Object.hasOwn(t,e)){throw new Error(`sap.ui5/routing/targets/${e} is deprecated and not supported with manifest version 2. Use the option '${i[e]}' instead (component '${n}').`)}})}},_addParentTo:function(t){var i,n=t._oOptions.parent;if(!n){return}i=this._mTargets[n];if(!i){e.errorThrows(`${this}: The target \"${t._oOptions._name}\" has a parent \"${n}\" defined, but it was not found in the other targets`);return}t._oParent=i},_constructTarget:function(t,e){return new a(t,this._oCache,e)},_setRootViewId:function(t){var e,i;for(e in this._mTargets){if(this._mTargets.hasOwnProperty(e)){i=this._mTargets[e]._oOptions;if(i.rootView===undefined){i.rootView=t}}}this._vRootViewId=t},_getTitleTargetName:function(t,e){var i,n;if(e){t=[e]}t=this._alignTargetsInfo(t);t.some(function(t){i=this.getTarget(t);while(i&&!i._oOptions.title){i=i._oParent}if(i){n=i._oOptions._name;return true}}.bind(this));return n},_forwardTitleChanged:function(t){this.fireTitleChanged({name:t.getParameter(\"name\"),title:t.getParameter(\"title\")})},_attachTitleChanged:function(t,i){var n,a;a=this._getTitleTargetName(t,i);if(a){n=this.getTarget(a)}if(this._oLastDisplayedTitleTarget){this._oLastDisplayedTitleTarget.detachTitleChanged(this._forwardTitleChanged,this);this._oLastDisplayedTitleTarget._bIsDisplayed=false}if(n){n.attachTitleChanged({name:n._oOptions._name},this._forwardTitleChanged,this);this._oLastDisplayedTitleTarget=n}else if(i){e.errorThrows(`${this}: The target with the name \"${i}\" where the titleChanged event should be fired does not exist!`)}},display:function(t,e,i){var n=Promise.resolve();return this._display(t,e,i,n)},_display:function(t,e,i,n){var a=this,r=[];if(!Array.isArray(t)){t=[t]}this._attachTitleChanged(t,i);return this._alignTargetsInfo(t).reduce(function(t,i){var n={prefix:i.prefix,propagateTitle:i.propagateTitle||false,ignoreInitialHash:i.ignoreInitialHash,placeholder:i.placeholder,repeatedRoute:i.repeatedRoute,routeRelevant:i.routeRelevant||false};return a._displaySingleTarget(i,e,t,n).then(function(t){t=t||{};t.targetInfo=i;r.push(t)})},n).then(function(){return r})},_addDynamicTargetToRoute:function(t){if(this._oRouter){var e=this._oRouter._getLastMatchedRouteName();var i,n;if(e){i=this._oRouter.getRoute(e);if(i&&i._oConfig&&i._oConfig.target){n=this._alignTargetsInfo(i._oConfig.target).some(function(e){return e.name===t.name});if(!n){i._oConfig.dynamicTarget=i._oConfig.dynamicTarget||[];i._oConfig.dynamicTarget.push(t)}}}}},_displaySingleTarget:function(t,i,n,a){var r=t.name,s=this.getTarget(r);if(s!==undefined){if(t.routeRelevant){this._addDynamicTargetToRoute(t)}return s._display(i,n,a)}else{var o=`${this}: The target with the name \"${r}\" does not exist!`;e.errorThrows(o);return Promise.resolve({name:r,error:o})}}});return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/Views\", [\"./TargetCache\",\"sap/base/Log\"],function(e,t){\"use strict\";var i=e.extend(\"sap.ui.core.routing.Views\",{metadata:{publicMethods:[\"getView\",\"setView\"]},constructor:function(i){if(!i){i={}}function n(){if(new URLSearchParams(window.location.search).get(\"sap-ui-xx-asyncRouting\")===\"true\"){t.warning(\"Activation of async view loading in routing via url parameter is only temporarily supported and may be removed soon\",\"TargetCache\");return true}return false}if(i.async===undefined){i.async=n()}e.apply(this,[i])},getView:function(e){return this.get(e,\"View\")},setView:function(e,t){return this.set(e,\"View\",t)},fireCreated:function(e){if(e){e.view=e.object;e.viewOptions=e.options}return this.fireEvent(\"created\",e)}});return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/sync/Route\", [\"sap/base/Log\",\"sap/base/util/extend\"],function(t,e){\"use strict\";return{_routeMatched:function(i,a,r){var o=this._oRouter,s,n,h,f,g,c=null,u=null,_,l,d,p,C;o._sRouteInProgress=null;o._oMatchedRoute=this;o._bMatchingProcessStarted=true;if(this._oParent){s=this._oParent._routeMatched(i)}else if(this._oNestingParent){this._oNestingParent._routeMatched(i,false,this)}f=e({},o._oConfig,this._oConfig);_=Object.assign({},i);_.routeConfig=f;g={name:f.name,arguments:i,config:f};if(r){g.nestedRoute=r}this.fireBeforeMatched(g);o.fireBeforeRouteMatched(g);if(this._oTarget){h=this._oTarget;h._updateOptions(this._convertToTargetOptions(f));if(h._isValid(s,false)){n=h._place(s)}n=n||{};c=n.oTargetParent;u=n.oTargetControl;g.view=c;g.targetControl=u}else{d=[];p=[];l=function(t){d.push(t.getParameter(\"view\"));p.push(t.getParameter(\"control\"))};if(Array.isArray(this._oConfig.target)){C=this._oConfig.target}else{C=[this._oConfig.target]}C.forEach(function(t){var e=o._oTargets.getTarget(t);if(e){e.attachEventOnce(\"display\",l)}});o._oTargets._display(this._oConfig.target,_,this._oConfig.titleTarget);g.view=d[0];g.targetControl=p[0];g.views=d;g.targetControls=p}o._bMatchingProcessStarted=false;if(f.callback){f.callback(this,i,f,u,c)}this.fireEvent(\"matched\",g);o.fireRouteMatched(g);if(a){t.info(\"The route named '\"+f.name+\"' did match with its pattern\",this);this.fireEvent(\"patternMatched\",g);o.fireRoutePatternMatched(g)}return n}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/sync/Target\", [\"sap/base/Log\",\"sap/ui/core/Element\"],function(t,e){\"use strict\";return{display:function(t){var e;if(this._oParent){e=this._oParent.display(t)}return this._place(e,t)},suspend:function(){return this},resume:function(){return this},_place:function(i,o){var r=this._oOptions;i=i||{};var n,a=i.oTargetControl,s=i.oTargetParent;if(!this._isValid(i,true)){return undefined}if(!s&&r.rootView){s=e.getElementById(r.rootView);if(!s){t.error(\"Did not find the root view with the id \"+r.rootView,this);return undefined}}if(r.controlId){if(s){a=s.byId(r.controlId)}if(!a){a=e.getElementById(r.controlId)}if(!a){t.error(\"Control with ID \"+r.controlId+\" could not be found\",this);return undefined}}var d=a.getMetadata().getJSONKeys()[r.controlAggregation];if(!d){t.error(\"Control \"+r.controlId+\" does not have an aggregation called \"+r.controlAggregation,this);return undefined}var l=this._getEffectiveObjectName(r.viewName);var g={name:l,id:r.viewId};if(!l.startsWith(\"module:\")){g.type=r.viewType}n=this._oCache._get(g,\"View\",this._bUseRawViewId);this._beforePlacingViewIntoContainer({container:a,view:n,data:o});this._bindTitleInTitleProvider(n);this._addTitleProviderAsDependent(n);if(r.clearControlAggregation===true){a[d._sRemoveAllMutator]()}t.info(\"Did place the view '\"+l+\"' with the id '\"+n.getId()+\"' into the aggregation '\"+r.controlAggregation+\"' of a control with the id '\"+a.getId()+\"'\",this);a[d._sMutator](n);this.fireDisplay({view:n,control:a,data:o});return{oTargetParent:n,oTargetControl:a}},_isValid:function(e,i){var o=this._oOptions,r=e&&e.oTargetControl,n=r||o.controlId,a=true,s=\"\";if(!n){s=\"The target \"+o._name+\" has no controlId set and no parent so the target cannot be displayed.\";a=false}if(!o.controlAggregation){s=\"The target \"+o._name+\" has a control id or a parent but no 'controlAggregation' was set, so the target could not be displayed.\";a=false}if(!o.viewName){s=\"The target \"+o._name+\" no viewName defined.\";a=false}if(i&&s){t.error(s,this)}return a},_getEffectiveObjectName:function(t){var e=this._oOptions.viewPath;if(e&&t&&!t.startsWith(\"module:\")){t=e+\".\"+t}return t}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/sync/TargetCache\", [\"sap/ui/core/mvc/_ViewFactory\"],function(e){\"use strict\";return{_getObjectWithGlobalId:function(i){function t(){i.viewName=i.name;delete i.name;return e.create(i)}var n,o=i.name,a;this._checkName(o,\"View\");a=this._oCache.view[o];n=a&&a[i.id];if(n){return n}if(this._oComponent){n=this._oComponent.runAsOwner(t)}else{n=t()}a=this._oCache.view[o];if(!a){a=this._oCache.view[o]={};a[undefined]=n}if(i.id!==undefined){a[i.id]=n}this.fireCreated({object:n,type:\"View\",options:i});return n},_getViewWithGlobalId:function(e){if(e&&!e.name){e.name=e.viewName}return this._getObjectWithGlobalId(e)}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/sync/Targets\", [\"sap/base/Log\"],function(i){\"use strict\";return{display:function(i,t,e){this._display(i,t,e)},_display:function(i,t,e){var a=this;this._attachTitleChanged(i,e);if(Array.isArray(i)){i.forEach(function(i){a._displaySingleTarget(i,t)})}else{this._displaySingleTarget(i,t)}return this},_displaySingleTarget:function(t,e){var a=this.getTarget(t);if(a!==undefined){a.display(e)}else{i.error('The target with the name \"'+t+'\" does not exist!',this)}}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/search/OpenSearchProvider\", [\"./SearchProvider\",\"sap/base/Log\",\"sap/base/security/encodeURL\",\"sap/base/util/fetch\",\"sap/ui/thirdparty/jquery\",\"sap/ui/core/library\"],function(e,r,t,s,jQuery){\"use strict\";var a=e.extend(\"sap.ui.core.search.OpenSearchProvider\",{metadata:{library:\"sap.ui.core\",properties:{suggestUrl:{type:\"sap.ui.core.URI\",group:\"Misc\",defaultValue:null},suggestType:{type:\"string\",group:\"Misc\",defaultValue:\"json\"}}}});a.prototype.suggest=function(e,a){var i=this.getSuggestUrl();if(!i){return}i=i.replace(\"{searchTerms}\",t(e));var n=this.getSuggestType();var u;if(n&&n.toLowerCase()===\"xml\"){n=\"xml\";u=function(r){var t=jQuery(r);var s=t.find(\"Text\");var i=[];s.each(function(){i.push(jQuery(this).text())});a(e,i)}}else{n=\"json\";u=function(r){a(e,r[1])}}s(i,{headers:{Accept:s.ContentTypes[n.toUpperCase()]}}).then(function(e){if(e.ok){return e.text().then(function(e){var r;if(n===\"json\"){r=JSON.parse(e)}else{var t=new DOMParser;r=t.parseFromString(e,\"text/xml\")}u(r)})}else{throw new Error(e.statusText||e.status)}}).catch(function(e){r.fatal(\"The following problem occurred: \"+e.message)})};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/search/SearchProvider\", [\"sap/ui/core/Element\",\"sap/base/Log\",\"sap/ui/core/library\"],function(e,r){\"use strict\";var a=e.extend(\"sap.ui.core.search.SearchProvider\",{metadata:{abstract:true,library:\"sap.ui.core\",properties:{icon:{type:\"string\",group:\"Misc\",defaultValue:null}}}});a.prototype.suggest=function(e,a){r.warning(\"sap.ui.core.search.SearchProvider is the abstract base class for all SearchProviders. Do not create instances of this class, but use a concrete sub class instead.\")};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/service/Service\", [\"sap/ui/base/Object\",\"sap/base/assert\",\"sap/base/Log\"],function(t,e,i){\"use strict\";var o=t.extend(\"sap.ui.core.service.Service\",{metadata:{abstract:true,library:\"sap.ui.core\"},constructor:function(i){t.apply(this);if(i){e(typeof i.scopeObject===\"object\",\"The service context requires a scope object!\");e(typeof i.scopeType===\"string\",\"The service context requires a scope type!\")}this._oServiceContext=i;if(typeof this.init===\"function\"){this.init()}}});o.prototype.getInterface=function(){var t=Object.create(null);for(var e in this){if(!e.match(/^_|^metadata$|^constructor$|^getInterface$|^destroy$|^init$|^exit$|^getContext$/)&&typeof this[e]===\"function\"){t[e]=this[e].bind(this)}}this.getInterface=function(){return t};return t};o.prototype.getContext=function(){return this._oServiceContext};o.prototype.destroy=function(){if(typeof this.exit===\"function\"){this.exit()}t.prototype.destroy.apply(this,arguments);delete this._oServiceContext};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/service/ServiceFactory\", [\"sap/ui/base/Object\",\"sap/ui/core/service/Service\",\"sap/base/assert\",\"sap/base/Log\"],function(e,t,r,o){\"use strict\";const n=function(e){var r=function r(n){for(var i in e){if(!i.match(/^(metadata|constructor|getContext|destroy)$/)){this[i]=e[i]}else{o.warning(\"The member \"+i+\" is not allowed for anonymous service declaration and will be ignored!\")}}t.apply(this,arguments)};r.prototype=Object.create(t.prototype);return r};var i=e.extend(\"sap.ui.core.service.ServiceFactory\",{metadata:{library:\"sap.ui.core\"},constructor:function(t){e.apply(this);var o=typeof t===\"object\"?n(t):t;r(!o||o&&typeof o===\"function\",\"The service constructor either should be undefined or a constructor function!\");this._fnService=o}});i.prototype.destroy=function(){e.prototype.destroy.apply(this,arguments);delete this._fnService};i.prototype.createInstance=function(e){if(typeof this._fnService===\"function\"){return Promise.resolve(new this._fnService(e))}else{return Promise.reject(new Error(\"Usage of sap.ui.core.service.ServiceFactory requires a service constructor function to create a new service instance or to override the createInstance function!\"))}};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/service/ServiceFactoryRegistry\", [\"./ServiceFactory\",\"sap/base/assert\"],function(e,t){\"use strict\";var r=Object.create(null);var n=Object.create(null);n.register=function(n,c){t(n,\"sServiceFactoryName must not be empty, null or undefined\");t(c instanceof e,\"oServiceFactory must be an instance of sap.ui.core.service.ServiceFactory\");r[n]=c;return this};n.unregister=function(e){t(e,\"sServiceFactoryName must not be empty, null or undefined\");delete r[e];return this};n.get=function(e){return r[e]};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/syncStyleClass\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/base/Object\",\"sap/base/assert\"],function(jQuery,e,s){\"use strict\";var t=function(t,r,a){if(!t){return a}if(e.isObjectA(r,\"sap.ui.core.Control\")){r=r.$()}else if(typeof r===\"string\"){r=jQuery(document.getElementById(r))}else if(!(r instanceof jQuery)){s(false,\"sap/ui/core/syncStyleClass(): vSource must be a jQuery object or a Control or a string\");return a}var o=!!r.closest(\".\"+t).length;if(a instanceof jQuery){a.toggleClass(t,o)}else if(e.isObjectA(a,\"sap.ui.core.Control\")){a.toggleStyleClass(t,o)}else{s(false,\"sap/ui/core/syncStyleClass(): vDestination must be a jQuery object or a Control\")}return a};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/theming/Parameters\", [\"sap/ui/core/Lib\",\"sap/ui/core/Theming\",\"sap/ui/thirdparty/URI\",\"../Element\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/util/extend\",\"sap/base/util/syncFetch\",\"sap/ui/core/theming/ThemeManager\",\"./ThemeHelper\"],function(e,r,t,a,n,i,s,o,u,c){\"use strict\";var f=sap.ui.loader._.getSyncCallBehavior();var l={};var m=null;var p=null;var h=[];var d=[];var g=new t(sap.ui.require.toUrl(\"\"),document.baseURI).origin();var v={};var y=/url[\\s]*\\('?\"?([^\\'\")]*)'?\"?\\)/;var b=new URLSearchParams(window.location.search).get(\"sap-ui-xx-no-inline-theming-parameters\")!==\"true\";function w(e,r){var a=y.exec(e);if(a){var n=new t(a[1]);if(n.is(\"relative\")){var i=n.absoluteTo(r).normalize().toString();e=\"url('\"+i+\"')\"}}return e}function P(e,r,t){for(var a in r){if(typeof e[a]===\"undefined\"){e[a]=w(r[a],t)}}return e}function A(e,r){if(typeof e[\"default\"]!==\"object\"){e={default:e,scopes:{}}}m=m||{};m[\"default\"]=m[\"default\"]||{};m[\"scopes\"]=m[\"scopes\"]||{};P(m[\"default\"],e[\"default\"],r);if(typeof e[\"scopes\"]===\"object\"){for(var t in e[\"scopes\"]){m[\"scopes\"][t]=m[\"scopes\"][t]||{};P(m[\"scopes\"][t],e[\"scopes\"][t],r)}}}function T(e){document.querySelectorAll(\"link[id^=sap-ui-theme-]\").forEach(function(r){e(r.getAttribute(\"id\"))})}function U(e,r){var t=S(e);var a=c.checkAndRemoveStyle({id:e});if(!a&&!r){i.warning(\"Parameters have been requested but theme is not applied, yet.\",\"sap.ui.core.theming.Parameters\")}if(a&&b){var s=document.getElementById(e);var o=window.getComputedStyle(s).getPropertyValue(\"background-image\");var u=/\\([\"']?data:text\\/plain;utf-8,(.*?)['\"]?\\)$/i.exec(o);if(u&&u.length>=2){var f=u[1];if(f.charAt(0)!==\"{\"&&f.charAt(f.length-1)!==\"}\"){try{f=decodeURIComponent(f)}catch(e){n.warningThrows(\"Could not decode theme parameters URI from \"+t.styleSheetUrl,{cause:e})}}try{var l=JSON.parse(f);A(l,t.themeBaseUrl);return true}catch(e){n.warningThrows(\"Could not parse theme parameters from \"+t.styleSheetUrl+\".\",{cause:e,suffix:\"Loading library-parameters.json as fallback solution.\"})}}}return r?a:false}function L(e){var r=S(e);if(!U(e)){var a=r.styleSheetUrl.replace(/\\/(?:css_variables|library)([^\\/.]*)\\.(?:css|less)($|[?#])/,function(e,r,t){return\"/library-parameters.json\"+(t?t:\"\")});if(f===2){i.error(\"[nosync] Loading library-parameters.json ignored\",a,\"sap.ui.core.theming.Parameters\");return}else if(f===1){i.error(\"[nosync] Loading library-parameters.json with sync XHR\",a,\"sap.ui.core.theming.Parameters\")}var n=new t(r.themeBaseUrl).origin();var s=v[n];var o=[];if(s===undefined){if(a.startsWith(g)){o=[false,true]}else{o=[true,false]}}else{o=[s]}j(a,r.themeBaseUrl,o)}}function S(e){var r=document.getElementById(e);if(!r){n.warningThrows(`sap.ui.core.theming.Parameters: Could not find stylesheet element with ID \"${e}\"`);return undefined}var a=r.href;return{themeBaseUrl:new t(a).filename(\"\").query(\"\").toString(),styleSheetUrl:a}}function j(e,r,a){var s={Accept:o.ContentTypes.JSON};var u=a.shift();if(u){s[\"X-Requested-With\"]=\"XMLHttpRequest\"}function c(t){n.errorThrows(\"Could not load theme parameters from: \"+e,{cause:t});if(a.length>0){i.warning(\"Initial library-parameters.json request failed ('withCredentials=\"+u+\"'; sUrl: '\"+e+\"').\\n\"+\"Retrying with 'withCredentials=\"+!u+\"'.\",\"sap.ui.core.theming.Parameters\");j(e,r,a)}}try{var f=o(e,{credentials:u?\"include\":\"omit\",headers:s});if(f.ok){var l=f.json();var m=new t(r).origin();v[m]=u;if(Array.isArray(l)){for(var p=0;p0){t.push(o)}n=n.parentNode}}else{var u=function(r){return typeof e.hasStyleClass===\"function\"&&e.hasStyleClass(r)};while(e){var o=i.filter(u);if(o.length>0){t.push(o)}e=typeof e.getParent===\"function\"&&e.getParent()}}}}return t};l.get=function(e,t){let s,o,u,c,f;let l;var m=function(e){return e.callback===o};if(!p){p=r.getTheme()}if(arguments.length===0){i.warning(\"[FUTURE FATAL] Legacy variant usage of sap.ui.core.theming.Parameters.get API detected. Do not use the Parameters.get() API to retrieve ALL theming parameters, \"+\"as this will lead to unwanted synchronous requests. \"+\"Use the asynchronous API variant instead and retrieve a fixed set of parameters.\",\"LegacyParametersGet\",\"sap.ui.support\",function(){return{type:\"LegacyParametersGet\"}});N();var h=x();return Object.assign({},h[\"default\"])}if(!e){return undefined}if(e instanceof Object&&!Array.isArray(e)){if(!e.name){n.warningThrows(\"sap.ui.core.theming.Parameters: Get was called with an object argument without one or more parameter names.\");return undefined}t=e.scopeElement;o=e.callback;l=e._restrictedParseUrls||false;c=typeof e.name===\"string\"?[e.name]:e.name;u=true}else{if(typeof e===\"string\"){c=[e]}else{c=e}i.warning(\"[FUTURE FATAL] Legacy variant usage of sap.ui.core.theming.Parameters.get API detected for param Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/isEmptyObject\", [],function(){\"use strict\";var r=function r(n){for(var e in n){return false}return true};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/isPlainObject\", [],function(){\"use strict\";var t={};var r=t.hasOwnProperty;var e=t.toString;var c=r.toString;var n=c.call(Object);var a=function(t){\n/*\n\t\t * The code in this function is taken from jQuery 3.6.0 \"jQuery.isPlainObject\" and got modified.\n\t\t *\n\t\t * jQuery JavaScript Library v3.6.0\n\t\t * http://jquery.com/\n\t\t *\n\t\t * Copyright OpenJS Foundation and other contributors\n\t\t * Released under the MIT license\n\t\t * http://jquery.org/license\n\t\t */\nvar a,o;if(!t||e.call(t)!==\"[object Object]\"){return false}a=Object.getPrototypeOf(t);if(!a){return true}o=r.call(a,\"constructor\")&&a.constructor;return typeof o===\"function\"&&c.call(o)===n};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/merge\", [\"./_merge\"],function(e){\"use strict\";var r=function(){var r=[true,false];r.push.apply(r,arguments);return e.apply(null,r)};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/mixedFetch\", [\"./fetch\",\"sap/ui/base/SyncPromise\"],function(e,n){\"use strict\";function t(t,i,r){var s;if(r===true){s={promiseImpl:n}}return e(t,i,s)}t.ContentTypes=e.ContentTypes;return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/now\", [],()=>{\"use strict\";var r=function r(){return performance.timeOrigin+performance.now()};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/resolveReference\", [\"sap/base/util/ObjectPath\"],function(t){\"use strict\";var n=Object.create(null);function e(e,i,o){var r,f;if(i&&e[0]in i){f=e.length>1?t.get(e.slice(0,-1),i):i;r=f&&f[e[e.length-1]];if(typeof r===\"function\"&&o.bindContext){r=r.bind(o.rootContext||f)}return r}return n}var i=function(i,o,r){o=o||{};r=r||{};r.bindContext=r.bindContext!==false;r.bindDotContext=r.bindDotContext!==false;var f=i.split(\".\"),u=f.shift()||\".\",d=u===\".\",b=n;f.unshift(u);if(r.preferDotContext&&!d){b=e(f,o[\".\"],{bindContext:r.bindContext&&r.bindDotContext,rootContext:o[\".\"]})}if(b===n){b=e(f,o,{bindContext:r.bindContext&&(d?r.bindDotContext:f.length>1),rootContext:d?o[\".\"]:undefined})}if(!d){if(b===n&&r.useProbingRequire){b=sap.ui.require(i.replace(/\\./g,\"/\"));if(b===undefined){b=n}}if(b===n){b=t.get(i)}}return b===n?undefined:b};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/uid\", [],function(){\"use strict\";var e=0;var n=function n(){return\"id-\"+(new Date).valueOf()+\"-\"+e++};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/Global\", [\"sap/ui/VersionInfo\",\"sap/base/Log\",\"sap/base/assert\",\"sap/base/util/ObjectPath\"],function(e,a,r,t){\"use strict\";if(globalThis.OpenAjax&&globalThis.OpenAjax.hub){OpenAjax.hub.registerLibrary(\"sap\",\"http://www.sap.com/\",\"0.1\",{})}var n;let s={version:\"1.139.0\",buildinfo:{lastchange:\"\",buildtime:\"20250805-1206\"}};s=Object.assign(sap.ui,s);var o=sap.ui.loader._.getSyncCallBehavior();sap.ui.getVersionInfo=function(r){if(r&&r.async){a.info(\"Do not use deprecated function 'sap.ui.getVersionInfo'. Use\"+\" 'sap/ui/VersionInfo' module's asynchronous .load function instead\")}else{a.warning(\"Do not use deprecated function 'sap.ui.getVersionInfo' synchronously! Use\"+\" 'sap/ui/VersionInfo' module's asynchronous .load function instead\",\"Deprecation\",null,function(){return{type:\"sap.ui.getVersionInfo\",name:\"Global\"}})}return e._load(r)};sap.ui.namespace=function(e){r(false,\"sap.ui.namespace is long time deprecated and shouldn't be used\");return t.create(e)};sap.ui.lazyRequire=function(e,s,i){r(typeof e===\"string\"&&e,\"lazyRequire: sClassName must be a non-empty string\");r(!s||typeof s===\"string\",\"lazyRequire: sMethods must be empty or a string\");if(o===2){a.error(\"[nosync] lazy stub creation ignored for '\"+e+\"'\");return}var u=e.replace(/\\//gi,\".\"),l=u.lastIndexOf(\".\"),c=u.substr(0,l),p=u.substr(l+1),f=t.create(c),y=f[p],d=(s||\"new\").split(\" \"),b=d.indexOf(\"new\");i=i||u;if(!y){if(b>=0){y=function(){if(o){if(o===1){a.error(\"[nosync] lazy stub for constructor '\"+u+\"' called\")}}else{a.debug(\"lazy stub for constructor '\"+u+\"' called.\")}sap.ui.requireSync(i.replace(/\\./g,\"/\"));var t=f[p];r(typeof t===\"function\",\"lazyRequire: oRealClass must be a function after loading\");if(t._sapUiLazyLoader){throw new Error(\"lazyRequire: stub '\"+u+\"'has not been replaced by module '\"+i+\"'\")}var s=Object.create(t.prototype);if(!(this instanceof y)){n=n||sap.ui.require(\"sap/ui/base/Object\");if(n&&s instanceof n){a.error(\"Constructor \"+e+' has been called without \"new\" operator!',null,null,function(){try{throw new Error}catch(e){return e}})}}var l=t.apply(s,arguments);if(l&&(typeof l===\"function\"||typeof l===\"object\")){s=l}return s};y._sapUiLazyLoader=true;d.splice(b,1)}else{y={}}f[p]=y}d.forEach(function(e){if(!y[e]){y[e]=function(){if(o){if(o===1){a.error(\"[no-sync] lazy stub for method '\"+u+\".\"+e+\"' called\")}}else{a.debug(\"lazy stub for method '\"+u+\".\"+e+\"' called.\")}sap.ui.requireSync(i.replace(/\\./g,\"/\"));var t=f[p];r(typeof t===\"function\"||typeof t===\"object\",\"lazyRequire: oRealClass must be a function or object after loading\");r(typeof t[e]===\"function\",\"lazyRequire: method must be a function\");if(t[e]._sapUiLazyLoader){throw new Error(\"lazyRequire: stub '\"+u+\".\"+e+\"' has not been replaced by loaded module '\"+i+\"'\")}return t[e].apply(t,arguments)};y[e]._sapUiLazyLoader=true}})};sap.ui.lazyRequire._isStub=function(e){r(typeof e===\"string\"&&e,\"lazyRequire._isStub: sClassName must be a non-empty string\");var a=e.lastIndexOf(\".\"),n=e.slice(0,a),s=e.slice(a+1),o=t.get(n||\"\");return!!(o&&typeof o[s]===\"function\"&&o[s]._sapUiLazyLoader)};sap.ui.resource=function(e,a){r(typeof e===\"string\",\"sLibraryName must be a string\");r(typeof a===\"string\",\"sResourcePath must be a string\");return sap.ui.require.toUrl((String(e).replace(/\\./g,\"/\")+\"/\"+a).replace(/^\\/*/,\"\"))};sap.ui.localResources=function(e){r(e,\"sNamespace must not be empty\");var a={};a[e.replace(/\\./g,\"/\")]=\"./\"+e.replace(/\\./g,\"/\");sap.ui.loader.config({paths:a})};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/VersionInfo\", [\"sap/base/util/LoaderExtensions\"],function(n){\"use strict\";let e;var r={get _content(){return e}};r.load=function(n){n=n||{};n.async=true;return r._load(n)};var i=null;var t;var a;function s(n){e=n;t=null;a=null}Object.defineProperty(sap.ui,\"versioninfo\",{configurable:true,enumerable:true,get:function(){return e},set:function(n){s(n)}});r._load=function(t){if(typeof t!==\"object\"){t={library:t}}t.async=t.async===true;t.failOnError=t.failOnError!==false;if(!e){if(t.async&&i instanceof Promise){return i.then(function(){return r._load(t)})}var a=function(n){i=null;if(n===null){return undefined}s(n);return r._load(t)};var o=function(n){i=null;throw n};var f=n.loadResource(\"sap-ui-version.json\",{async:t.async,failOnError:t.async||t.failOnError});if(f instanceof Promise){i=f;return f.then(a,o)}else{return a(f)}}else{var l;if(typeof t.library!==\"undefined\"){var u=e.libraries;if(u){for(var c=0,d=u.length;c\");if(t>0){e.model=e.path.substr(0,t);e.path=e.path.substr(t+1);e[s]=true}}return e}var p={createProperty:function(e){if(!e.parts){e.parts=[];e.parts[0]={path:e.path,targetType:e.targetType,type:e.type,suspended:e.suspended,formatOptions:e.formatOptions,constraints:e.constraints,model:e.model,mode:e.mode,value:e.value};delete e.path;delete e.targetType;delete e.mode;delete e.model;delete e.value}for(var t=0;te.value!==undefined||t.getModel(e.model))}else{return!!t.getModel(e.model)}},UI5ObjectMarker:a.UI5ObjectMarker,OriginalParent:i};function d(){var t=e.get({name:\"sapUiBindingSyntax\",type:e.Type.String,defaultValue:\"default\",freeze:true});if(t===\"default\"){t=r(\"sapCoreBindingSyntax\").compareTo(\"1.26\")<0?\"simple\":\"complex\"}return t}Object.defineProperty(p,\"parse\",{get:function(){if(!this.oParser){this.oParser=a.complexParser;this.oParser=d()===\"simple\"?a.simpleParser:a.complexParser;if(t.isDesignModeEnabled()==true){a._keepBindingStrings=true}}return this.oParser},set:function(e){this.oParser=e}});return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/BindingParser\", [\"./ExpressionParser\",\"sap/ui/model/BindingMode\",\"sap/ui/model/Filter\",\"sap/ui/model/Sorter\",\"sap/base/future\",\"sap/base/util/JSTokenizer\",\"sap/base/util/resolveReference\"],function(e,t,r,n,i,o,s){\"use strict\";var a={_keepBindingStrings:false,UI5ObjectMarker:Symbol(\"ui5object\")};var f=/^\\{\\s*('|\"|)[a-zA-Z$_][a-zA-Z0-9$_]*\\1\\s*:/;var u=/(\\\\[\\\\\\{\\}])|(\\{)/g;var l=/([\\\\\\{\\}])/g;function c(e,t){var r=e.some(function(e){return e.requiresIContext});function n(n){var i,o=e.length,s=arguments,a=new Array(o);for(i=0;i1?a.join(\" \"):a[0]}if(r){n.requiresIContext=true}n.textFragments=t&&t.textFragments||\"sap.ui.base.BindingParser: composeFormatters\";return n}function p(e){var t=function(){var t=[],r=e.length,n;for(n=0;n\"),n={path:e};if(r>0){n.model=e.slice(0,r);n.path=e.slice(r+1)}if(t?.mLocals&&n.path.includes(\"@@\")){n.parameters={scope:t.mLocals}}return n}function h(e,t){try{a.mergeParts(e)}catch(e){i.errorThrows(`sap.ui.base.BindingParser: Cannot merge parts for binding \"${t}\"`,{cause:e})}}const m=/(^(?:\\.)?(?:[$_\\p{ID_Start}][$_\\p{ID_Continue}]*\\.)*[\\p{ID_Start}][$_\\p{ID_Continue}]*)\\.bind\\(([$_\\p{ID_Start}][$_\\p{ID_Continue}]*)\\)$/u;function y(e,t){var o=Object.assign({\".\":e.oContext},e.mLocals);function a(t,r){if(typeof t[r]===\"string\"){let n=t[r];let a=false;let f=[],u={};if(r==\"formatter\"&&n.includes(\".bind(\")){f=n.match(m);if(!f){throw new Error(`Error in formatter '${n}': Either syntax error in the usage of '.bind(...)' or wrong number of arguments given. Only one argument is allowed when using '.bind()'.`)}if(f[2].startsWith(\"$\")&&!Object.hasOwn(e.mAdditionalBindableValues,f[2])){throw new Error(`Error in formatter '${n}': The argument '${f[2]}' used in the '.bind()' call starts with '$', which is only allowed for framework-reserved variables. Please rename the variable so that it doesn't start with '$'.`)}a=true;u=Object.assign(u,e.mLocals,e.mAdditionalBindableValues);n=f[1]}t[r]=s(n,o,{preferDotContext:e.bPreferContext,bindContext:!a,bindDotContext:!e.bStaticContext});if(typeof t[r]!==\"function\"){if(e.bTolerateFunctionsNotFound){e.aFunctionsNotFound=e.aFunctionsNotFound||[];e.aFunctionsNotFound.push(n)}else{i.errorThrows(r+\" function \"+n+\" not found!\")}}if(a){if(!Object.hasOwn(u,f[2])){throw new Error(`Error in formatter '${n}': Unknown argument '${f[2]}' passed to '.bind()' call.`)}t[r]=u[f[2]]!==null?t[r].bind(u[f[2]]):t[r]}}}function f(t){var r;var n=t.type;if(typeof n===\"string\"){r=s(n,o,{bindContext:false,useProbingRequire:!e.aTypePromises});var a=function(e){if(typeof e===\"function\"){t.type=new e(t.formatOptions,t.constraints)}else{t.type=e}if(!t.type){i.errorThrows(\"Failed to resolve type '\"+n+\"'. Maybe not loaded or a typo?\")}delete t.formatOptions;delete t.constraints};if(e.aTypePromises){var f;if(typeof r===\"function\"&&!r._sapUiLazyLoader||r&&typeof r===\"object\"){f=Promise.resolve(a(r))}else{f=new Promise(function(e,t){sap.ui.require([n.replace(/\\./g,\"/\")],e,t)}).catch(function(e){i.errorThrows(e)}).then(a)}e.aTypePromises.push(f)}else{a(r)}}}function u(e){if(e!=null&&typeof e===\"object\"){for(var t in e){a(e,t)}}}function l(e,t){var n=e[t];if(Array.isArray(n)){n.forEach(function(e,t){l(n,t)});return}if(n&&typeof n===\"object\"){a(n,\"test\");l(n,\"filters\");l(n,\"condition\");e[t]=new r(n)}}function c(e,t){var r=e[t];if(Array.isArray(r)){r.forEach(function(e,t){c(r,t)});return}if(r&&typeof r===\"object\"){a(r,\"group\");a(r,\"comparator\");e[t]=new n(r)}}if(typeof t===\"object\"){if(Array.isArray(t.parts)){t.parts.forEach(function(t){y(e,t)})}f(t);l(t,\"filters\");c(t,\"sorter\");u(t.events);a(t,\"formatter\");a(t,\"factory\");a(t,\"groupHeaderFactory\");if(e.mLocals&&t.path?.includes(\"@@\")&&t.parameters?.scope===undefined){t.parameters??={};t.parameters.scope=e.mLocals}}return t}function b(e,t,r){var n=o.parseJS,i,s;if(f.test(t.slice(r))){i=n(t,r);y(e,i.result);return i}s=t.indexOf(\"}\",r);if(s0){if(v.length===1){y=y.parts[0];g=m}else{y.formatter=p(v)}if(g){h(y,r)}if(a._keepBindingStrings){y.bindingString=r}if(x.aFunctionsNotFound){y.functionsNotFound=x.aFunctionsNotFound}if(c){return{bindingInfo:y,resolved:Promise.all(x.aTypePromises),wait:x.aTypePromises.length>0}}return y}else if(i&&w){const e=C!==undefined&&typeof C!==\"string\"&&v.length===1?{value:C,[a.UI5ObjectMarker]:false}:v.join(\"\");if(c){return{bindingInfo:e,resolved:Promise.resolve()}}return e}};a.complexParser.escape=function(e){return e.replace(l,\"\\\\$1\")};a.mergeParts=function(e){var t=[],r=[];e.parts.forEach(function(e){var n,i=function(){return e},o,s=r.length;function a(){return arguments[s]}if(e&&typeof e===\"object\"){if(e.parts){for(o in e){if(o!==\"formatter\"&&o!==\"parts\"){throw new Error(\"Unsupported property: \"+o)}}r=r.concat(e.parts);n=r.length;if(e.formatter){if(e.formatter.requiresIContext===true){i=function(t){var r=Array.prototype.slice.call(arguments,s+1,n+1);r.unshift(t._slice(s,n));return e.formatter.apply(this,r)};i.requiresIContext=true}else{i=function(){return e.formatter.apply(this,Array.prototype.slice.call(arguments,s,n))}}}else if(n-s>1){i=function(){return Array.prototype.slice.call(arguments,s,n).join(\" \")}}else{i=a}}else if(\"path\"in e){r.push(e);i=a}}t.push(i)});e.parts=r;e.formatter=c(t,e.formatter)};a.parseExpression=function(t,r,n,i){n=n||{};if(i){n.mLocals=i}return e.parse(b.bind(null,n),t,r,i)};return a},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/DataType\", [\"sap/base/future\",\"sap/base/util/ObjectPath\",\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/isPlainObject\",\"sap/base/util/resolveReference\",\"sap/base/i18n/date/_EnumHelper\"],function(e,t,n,r,a,i,u){\"use strict\";var o=function(){throw new Error};o.prototype.getName=function(){return undefined};o.prototype.getBaseType=function(){return undefined};o.prototype.getPrimitiveType=function(){var e=this;while(e.getBaseType()){e=e.getBaseType()}return e};o.prototype.getComponentType=function(){return undefined};o.prototype.getDefaultValue=function(){return undefined};o.prototype.isArrayType=function(){return false};o.prototype.isEnumType=function(){return false};o.prototype.getEnumValues=function(){return undefined};o.prototype.parseValue=function(e){return e};o.prototype.isValid=undefined;o.prototype.setNormalizer=function(e){n(typeof e===\"function\",\"DataType.setNormalizer: fnNormalizer must be a function\");this._fnNormalizer=typeof e===\"function\"?e:undefined};o.prototype.normalize=function(e){return this._fnNormalizer?this._fnNormalizer(e):e};function s(e,t,n){t=t||{};var r=n||o.prototype;var a=Object.create(r);a.getName=function(){return e};if(t.hasOwnProperty(\"defaultValue\")){var i=t.defaultValue;a.getDefaultValue=function(){return i}}if(t.isValid){var u=t.isValid;a.isValid=r.isValid?function(e){if(!r.isValid(e)){return false}return u(e)}:u}if(t.parseValue){a.parseValue=t.parseValue}a.getBaseType=function(){return n};return a}var f={any:s(\"any\",{defaultValue:null,isValid:function(e){return true}}),boolean:s(\"boolean\",{defaultValue:false,isValid:function(e){return typeof e===\"boolean\"},parseValue:function(e){return e==\"true\"}}),int:s(\"int\",{defaultValue:0,isValid:function(e){return typeof e===\"number\"&&(isNaN(e)||Math.floor(e)==e)},parseValue:function(e){return parseInt(e)}}),float:s(\"float\",{defaultValue:0,isValid:function(e){return typeof e===\"number\"},parseValue:function(e){return parseFloat(e)}}),string:s(\"string\",{defaultValue:\"\",isValid:function(e){return typeof e===\"string\"||e instanceof String},parseValue:function(e){return e}}),object:s(\"object\",{defaultValue:null,isValid:function(e){return typeof e===\"object\"||typeof e===\"function\"},parseValue:function(e){return e?JSON.parse(e):null}}),function:s(\"function\",{defaultValue:null,isValid:function(e){return e==null||typeof e===\"function\"},parseValue:function(e,t){if(e===\"\"){return undefined}if(!/^\\.?[A-Z_\\$][A-Z0-9_\\$]*(\\.[A-Z_\\$][A-Z0-9_\\$]*)*$/i.test(e)){throw new Error(\"Function references must consist of dot separated \"+\"simple identifiers (A-Z, 0-9, _ or $) only, but was '\"+e+\"'\")}var n,r=t&&t.context,a=t&&t.locals;n=i(e,Object.assign({\".\":r},a));if(n&&this.isValid(n)){return n}throw new TypeError(\"The string '\"+e+\"' couldn't be resolved to a function\")}})};var p=s(\"array\",{defaultValue:[]});function l(e){n(e instanceof o,\"DataType.: componentType must be a DataType\");var t=Object.create(o.prototype);t.getName=function(){return e.getName()+\"[]\"};t.getComponentType=function(){return e};t.isValid=function(t){if(t===null){return true}if(Array.isArray(t)){for(var n=0;n0){var s=r.slice(0,-2),p=this.getType(s);u=p&&l(p);if(u){f[r]=u}}else if(r!==\"array\"){u=c[r];if(u==null){u=t.get(r);if(u!=null){g(i?._oParent.getName(),i?.name,`[DEPRECATED] The type '${r}' was accessed via globals. Defining types via globals is deprecated. `+`In case the referenced type is an enum: require the module 'sap/ui/base/DataType' and call the static 'DataType.registerEnum' API. `+`In case the referenced type is non-primitive, please note that only primitive types (and those derived from them) are supported for ManagedObject properties. `+`If the given type is an interface or a subclass of ManagedObject, you can define a \"0..1\" aggregation instead of a property`)}}if(u instanceof o){f[r]=u}else if(a(u)){u=f[r]=y(r,u);delete c[r]}else if(u){e.warningThrows(\"'\"+r+\"' is not a valid data type. Falling back to type 'any'.\");u=f.any}else{e.errorThrows(\"data type '\"+r+\"' could not be found.\");u=undefined}}}return u};o.createType=function(t,r,a){n(typeof t===\"string\"&&t,\"DataType.createType: type name must be a non-empty string\");n(a==null||a instanceof o||typeof a===\"string\"&&a,\"DataType.createType: base type must be empty or a DataType or a non-empty string\");if(/[\\[\\]]/.test(t)){e.errorThrows(\"DataType.createType: array types ('something[]') must not be created with createType, \"+\"they're created on-the-fly by DataType.getType\")}if(typeof a===\"string\"){a=o.getType(a)}a=a||f.any;if(a.isArrayType()||a.isEnumType()){e.errorThrows(\"DataType.createType: base type must not be an array- or enum-type\")}if(t===\"array\"||f[t]instanceof o){if(t===\"array\"||f[t].getBaseType()==null){throw new Error(\"DataType.createType: primitive or hidden type \"+t+\" can't be re-defined\")}e.warningThrows(\"DataTypes.createType: type \"+t+\" is redefined. \"+\"This is an unsupported usage of DataType and might cause issues.\")}var i=f[t]=s(t,r,a);return i};var T=new Set;o.registerInterfaceTypes=function(e){e.forEach(function(e){T.add(e);(()=>{t.set(e,e)})()})};o.registerEnum=function(e,t){c[e]=t};o._isEnumCandidate=function(e){return!Object.keys(e).some(t=>{const n=typeof e[t];return n===\"object\"||n===\"function\"})};o.isInterfaceType=function(e){return T.has(e)};o.createType(\"sap.ui.core.ID\",{isValid:function(e){return/^([A-Za-z_][-A-Za-z0-9_.:]*)$/.test(e)}},o.getType(\"string\"));u.inject(o.registerEnum);return o},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/DesignTime\", [\"sap/base/config\"],e=>{\"use strict\";const t={isDesignModeEnabled(){return e.get({name:\"sapUiXxDesignMode\",type:e.Type.Boolean,external:true,freeze:true})},isControllerCodeDeactivationSuppressed(){return e.get({name:\"sapUiXxSuppressDeactivationOfControllerCode\",type:e.Type.Boolean,external:true,freeze:true})},isControllerCodeDeactivated(){return t.isDesignModeEnabled()&&!t.isControllerCodeDeactivationSuppressed()}};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/Event\", [\"./Object\",\"sap/base/assert\"],function(t,e){\"use strict\";var r=t.extend(\"sap.ui.base.Event\",{constructor:function(e,r,n){t.apply(this);if(arguments.length>0){this.init(e,r,n)}}});r.prototype.init=function(r,n,s){e(typeof r===\"string\",\"Event.init: sId must be a string\");e(t.isObjectA(n,\"sap.ui.base.EventProvider\"),\"Event.init: oSource must be an EventProvider\");this.sId=r;this.oSource=n;this.mParameters=s||{};this.bCancelBubble=false;this.bPreventDefault=false};r.prototype.reset=function(){this.sId=\"\";this.oSource=null;this.mParameters=null;this.bCancelBubble=false;this.bPreventDefault=false};r.prototype.getId=function(){return this.sId};r.prototype.getSource=function(){return this.oSource};r.prototype.getParameters=function(){return this.mParameters};r.prototype.getParameter=function(t){e(typeof t===\"string\"&&t,\"Event.getParameter: sName must be a non-empty string\");return this.mParameters[t]};r.prototype.cancelBubble=function(){this.bCancelBubble=true};r.prototype.preventDefault=function(){this.bPreventDefault=true};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/EventProvider\", [\"./Event\",\"./Object\",\"sap/base/assert\",\"sap/base/Log\"],function(t,e,n,i){\"use strict\";var r=e.extend(\"sap.ui.base.EventProvider\",{constructor:function(){e.call(this);this.mEventRegistry={}}});var o=\"EventHandlerChange\";r.prototype.attachEvent=function(t,e,i,r){var s=this.mEventRegistry;n(typeof t===\"string\"&&t,\"EventProvider.attachEvent: sEventId must be a non-empty string\");if(typeof e===\"function\"){r=i;i=e;e=undefined}n(typeof i===\"function\",\"EventProvider.attachEvent: fnFunction must be a function\");n(!r||typeof r===\"object\",\"EventProvider.attachEvent: oListener must be empty or an object\");r=r===this?undefined:r;var a=s[t];if(!Array.isArray(a)){a=s[t]=[]}a.push({oListener:r,fFunction:i,oData:e});if(s[o]){this.fireEvent(o,{EventId:t,type:\"listenerAttached\",listener:r,func:i,data:e})}return this};r.prototype.attachEventOnce=function(t,e,i,r){if(typeof e===\"function\"){r=i;i=e;e=undefined}n(typeof i===\"function\",\"EventProvider.attachEventOnce: fnFunction must be a function\");var o=function(){this.detachEvent(t,o);i.apply(r||this,arguments)};o.oOriginal={fFunction:i,oListener:r,oData:e};this.attachEvent(t,e,o,undefined);return this};r.prototype.detachEvent=function(t,e,i){var r=this.mEventRegistry;n(typeof t===\"string\"&&t,\"EventProvider.detachEvent: sEventId must be a non-empty string\");n(typeof e===\"function\",\"EventProvider.detachEvent: fnFunction must be a function\");n(!i||typeof i===\"object\",\"EventProvider.detachEvent: oListener must be empty or an object\");var s=r[t];if(!Array.isArray(s)){return this}var a,f;i=i===this?undefined:i;for(var v=0,u=s.length;v{i.error(`EventProvider.fireEvent: Event Listener for event '${e}' failed during execution.`,t)})}}o=o&&!v.bCancelBubble}s=s.getEventingParent()}while(o&&s);if(v){a=v.bPreventDefault}return r?!a:this};r.prototype.hasListeners=function(t){return!!this.mEventRegistry[t]};r.getEventList=function(t){return t.mEventRegistry};r.hasListener=function(t,e,i,r){n(typeof e===\"string\"&&e,\"EventProvider.hasListener: sEventId must be a non-empty string\");n(typeof i===\"function\",\"EventProvider.hasListener: fnFunction must be a function\");n(!r||typeof r===\"object\",\"EventProvider.hasListener: oListener must be empty or an object\");var o=t&&t.mEventRegistry[e];if(o){for(var s=0,a=o.length;s=\",\">\",\"[\",\"]\"],h;b.forEach(function(e,t){b[t]=n(e)});h=new RegExp(b.join(\"|\"),\"g\");O(\"*\",14,function(e,n){return e*n});O(\"/\",14,function(e,n){return e/n});O(\"%\",14,function(e,n){return e%n});O(\"+\",13,function(e,n){return e+n}).nud=function(e,n){return R.bind(null,n.expression(this.lbp),function(e){return+e})};O(\"-\",13,function(e,n){return e-n}).nud=function(e,n){return R.bind(null,n.expression(this.lbp),function(e){return-e})};O(\"<=\",11,function(e,n){return e<=n});O(\"<\",11,function(e,n){return e=\",11,function(e,n){return e>=n});O(\">\",11,function(e,n){return e>n});O(\"in\",11,function(e,n){return e in n});O(\"===\",10,function(e,n){return e===n});O(\"!==\",10,function(e,n){return e!==n});O(\"&&\",7,function(e,n){return e&&n()},true);O(\"||\",6,function(e,n){return e||n()},true);function x(e,n){return e.map(function(e){return e(n)})}function g(e,n){return S(n[e])}function m(e,n,t,r){return e(r)?n(r):t(r)}function I(e){return e}function E(e,n,t,r){var i=e(t),u=i[n];if(r){r.base=i}return S(u)}function y(e,n,t){var r={};return S(e(t,r).apply(r.base,n.map(function(e){return e(t)})))}function N(e,n,t,r,i){return t(e(i),r?n.bind(null,i):n(i))}function w(e,n){var t,r={};for(t in e){r[t]=e[t](n)}return r}function T(e,n,t,r){var i=e(t),u=n(t),a=i[u];if(r){r.base=i}return S(a)}function R(e,n,t){return n(e(t))}function O(e,n,t,r){v[e]={lbp:n,led:function(e,n,i){var u=r?this.lbp-1:this.lbp;return N.bind(null,i,n.expression(u),t,r)},nud:D};return v[e]}function S(e){return e===Function?undefined:e}function U(n,t,r){var i=new SyntaxError(n);i.at=r;i.text=t;if(r!==undefined){n+=\" at position \"+r}e.error(n,t,l);throw i}function D(e){U(\"Unexpected \"+e.id,e.input,e.start+1)}function F(e,n,i){var u=[],a=[],s=[],l=new r;function f(e,i,s){var o=false,l,d,c;function f(e){if(s){if(e.parts){e.parts.forEach(f)}else{e.targetType=e.targetType||\"any\"}}}for(l in e){if(l===\"parameters\"){continue}switch(typeof e[l]){case\"boolean\":case\"number\":case\"string\":case\"undefined\":break;default:o=true}}f(e);if(o){d=r.parseJS(n,i).result;f(d)}else{d=e}for(c=0;c=(v[a.id].lbp||0)){break}s();r=v[a.id].led(a,u,r)}return r}r=l(0);return{at:o()&&o().start,formatter:q(r,n)}}return{parse:function(e,n,t,r,u){var a,o;i.average(p,\"\",f);o=F(e,n,t);r=r||s;if(u){r=Object.assign({},r,u)}a=C(o.tokens,n,r);i.end(p);if(!o.parts.length){return{constant:a.formatter(),at:a.at||o.at}}function l(){return a.formatter(arguments)}l.textFragments=true;return{result:{formatter:l,parts:o.parts},at:a.at||o.at}}}},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/Interface\", [\"sap/ui/base/Object\"],function(e){\"use strict\";var t=e._Interface;return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/ManagedObject\", [\"./BindingInfo\",\"./DataType\",\"./EventProvider\",\"./ManagedObjectMetadata\",\"./Object\",\"./OwnStatics\",\"sap/ui/util/ActivityDetection\",\"sap/ui/util/_enforceNoReturnValue\",\"sap/base/future\",\"sap/base/util/ObjectPath\",\"sap/base/Log\",\"sap/base/assert\",\"sap/base/util/deepClone\",\"sap/base/util/deepEqual\",\"sap/base/util/uid\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\"],function(t,e,i,n,r,s,o,a,g,p,f,d,h,l,u,c,y){\"use strict\";const b=e.getType(\"sap.ui.core.ID\");const m=Symbol(\"bindingInfoFactory\");var v=i.extend(\"sap.ui.base.ManagedObject\",{metadata:{abstract:true,publicMethods:[\"getId\",\"getMetadata\",\"getModel\",\"setModel\",\"hasModel\",\"bindProperty\",\"unbindProperty\",\"bindAggregation\",\"unbindAggregation\",\"bindObject\",\"unbindObject\",\"getObjectBinding\"],library:\"sap.ui.core\",properties:{},aggregations:{},associations:{},events:{validationSuccess:{enableEventBubbling:true,parameters:{element:{type:\"sap.ui.base.ManagedObject\"},property:{type:\"string\"},type:{type:\"sap.ui.model.Type\"},newValue:{type:\"any\"},oldValue:{type:\"any\"}}},validationError:{enableEventBubbling:true,parameters:{element:{type:\"sap.ui.base.ManagedObject\"},property:{type:\"string\"},type:{type:\"sap.ui.model.Type\"},newValue:{type:\"any\"},oldValue:{type:\"any\"},message:{type:\"string\"}}},parseError:{enableEventBubbling:true,parameters:{element:{type:\"sap.ui.base.ManagedObject\"},property:{type:\"string\"},type:{type:\"sap.ui.model.Type\"},newValue:{type:\"any\"},oldValue:{type:\"any\"},message:{type:\"string\"}}},formatError:{enableEventBubbling:true,parameters:{element:{type:\"sap.ui.base.ManagedObject\"},property:{type:\"string\"},type:{type:\"sap.ui.model.Type\"},newValue:{type:\"any\"},oldValue:{type:\"any\"}}},modelContextChange:{}},specialSettings:{id:\"sap.ui.core.ID\",models:\"object\",bindingContexts:\"object\",objectBindings:\"object\",metadataContexts:\"object\",Type:{type:\"string\",visibility:\"hidden\"}}},constructor:function(t,e,n){i.call(this);const r=this;if(typeof t!==\"string\"&&t!==undefined){n=e;e=t;t=e&&e.id}if(!t){t=this.getMetadata().uid()}else{t=B?B.call(this,t):t;if(!b.isValid(t)){throw new Error(`\"${t}\" is not a valid ID.`)}}this.sId=t;this.mProperties=this.getMetadata().createPropertyBag();this.mAggregations={};this.mAssociations={};this.oParent=null;this.aDelegates=[];this.aBeforeDelegates=[];this.iSuppressInvalidate=0;this.oPropagatedProperties=T;this.mSkipPropagation={};this._bIsOwnerActive=true;this.oModels={};this.aPropagationListeners=[];this.oBindingContexts={};this.mElementBindingContexts={};this.mBindingInfos={};this.mObjectBindingInfos={};this._oContextualSettings=D;this._sOwnerId=w;(function(){var t=false;if(r.register){r.register()}try{if(r._initCompositeSupport){r._initCompositeSupport(e)}if(r.init){a(r.init(),{name:\"init\",component:r.getId()})}r.applySettings(e,n);t=true}finally{if(!t&&r.deregister){r.deregister()}}})()}},n);function P(t){d(t===undefined||typeof t===\"string\"&&!/^(undefined|null)?$/.test(t),\"sModelName must be a string or omitted\")}var A=false;function I(t){if(!A){var e=Object.values(t)[0];if(e&&e.mixinBindingSupport){e.mixinBindingSupport(v.prototype);A=true}}}function _(t,e,i){if(!t||t instanceof v||typeof t!==\"object\"||t instanceof String){return t}function n(t){if(typeof t===\"function\"){return t}if(typeof t===\"string\"){const e=p.get(t);if(e!=null){f.error(`Defining the object type ('${t}') via its string name is deprecated, since it leads to accesses to the global namespace. `+`The object type either stems from an explicitly given 'Type' value or was inferred from the default aggregation type. `+`Please require the respective object type module beforehand. `+`For control development, please also refer to the runtime metadata property 'defaultClass', which allows you to specify a default aggregation class type via constructor reference.`)}return e}}let r;r=n(t.Type);r??=e?.defaultClass;r??=n(e?.type);if(typeof r===\"function\"){return new r(t,i)}var s=\"Don't know how to create a ManagedObject from \"+t+\" (\"+typeof t+\")\";f.fatal(s);throw new Error(s)}v.create=_;let B=null;let C=null;function M(t,e,i){d(typeof t===\"function\",\"fn must be a function\");d(!e||typeof e===\"object\",\"oPreprocessors must be an object\");const n=[B,C];B=e?.id;C=e?.settings;try{return t.call(i)}finally{[B,C]=n}}let w;function j(t,e,i){d(typeof t===\"function\",\"fn must be a function\");var n=w;try{w=e;return t.call(i)}finally{w=n}}v.prototype.applySettings=function(t,i){if(!t||y(t)){return this}var n=this,s=this.getMetadata(),o=s.getJSONKeys(),a,p,f;function h(t){for(var e=0,r=t.length;e1){g.errorThrows(\"Tried to add an array of controls to a single aggregation\")}p=p[0]}this[f._sMutator](_(typeof b===\"string\"?b:p,f,i))}break;case 2:b=this.extractBindingInfo(p,i);if(b&&typeof b===\"object\"){this.bindAggregation(a,b)}else{p=typeof b===\"string\"?b:p;if(p){if(Array.isArray(p)){h(p)}else{n[f._sMutator](_(p,f,i))}}}break;case 3:this[f._sMutator](p);break;case 4:if(p){if(Array.isArray(p)){for(var m=0,v=p.length;m=0&&e{f=p.get(a.type);if(typeof f===\"function\"&&i instanceof f){return true}return false})()){return i}l='\"'+i+'\" is not valid for aggregation \"'+t+'\" of '+this;if(e.isInterfaceType(a.type)){d(false,l);return i}else{throw new Error(l)}};v.prototype.setAggregation=function(t,e,i){var n=this.getMetadata().getAggregationForwarder(t);if(n){e=this.validateAggregation(t,e,false,true);return n.set(this,e)}var r=this.mAggregations[t];if(r===e){return this}e=this.validateAggregation(t,e,false);if(i){this.iSuppressInvalidate++}this.mAggregations[t]=null;if(r instanceof v){r.setParent(null)}else{if(this._observer!=null&&r!=null){this._observer.aggregationChange(this,t,\"remove\",r)}}this.mAggregations[t]=e;if(e instanceof v){e.setParent(this,t,i)}else{if(!this.isInvalidateSuppressed()){this.invalidate()}if(this._observer!=null&&e!=null){this._observer.aggregationChange(this,t,\"insert\",e)}}if(i){this.iSuppressInvalidate--}return this};v.prototype.getAggregation=function(t,e){var i=this.getMetadata().getAggregationForwarder(t);if(i){return i.get(this)}var n=this.mAggregations[t];if(!n){n=this.mAggregations[t]=e||null}if(n){if(typeof n.length===\"number\"&&!n.propertyIsEnumerable(\"length\")){return n.slice()}return n}else{return null}};v.prototype.indexOfAggregation=function(t,e){var i=this.getMetadata().getAggregationForwarder(t);if(i){return i.indexOf(this,e)}var n=this.mAggregations[t];if(n){if(n.length==undefined){return-2}for(var r=0;rs.length){o=s.length}else{o=i}s.splice(o,0,e);e.setParent(this,t,n);return this};v.prototype.addAggregation=function(t,e,i){if(!e){return this}e=this.validateAggregation(t,e,true,true);var n=this.getMetadata().getAggregationForwarder(t);if(n){return n.add(this,e)}var r=this.mAggregations[t];if(!r){r=this.mAggregations[t]=[e]}else{r.push(e)}e.setParent(this,t,i);return this};v.prototype.removeAggregation=function(t,e,i){var n=this.getMetadata().getAggregationForwarder(t);if(n){return n.remove(this,e)}var r=this.mAggregations[t],s=null,o;if(!r){return null}if(i){this.iSuppressInvalidate++}if(typeof e==\"string\"){for(o=0;o=0&&e=0;r--){s=n[r];if(s){s.destroy(e);if(this._observer){this._observer.aggregationChange(this,t,\"remove\",s)}}}}if(!this.isInvalidateSuppressed()){this.invalidate()}if(e){this.iSuppressInvalidate--}return this};v.prototype.invalidate=function(){if(this.oParent&&this.oParent.isInvalidateSuppressed&&!this.oParent.isInvalidateSuppressed()){this.oParent.invalidate(this)}};v.prototype.isInvalidateSuppressed=function(){return this.iSuppressInvalidate>0};v.prototype._removeChild=function(t,e,i){if(!e){g.errorThrows(`${this}: Cannot remove aggregated child without aggregation name.`)}else{if(i){this.iSuppressInvalidate++}var n=this.indexOfAggregation(e,t);var r=this.getMetadata().getAggregation(e);if(n==-2){if(r&&this[r._sMutator]){this[r._sMutator](null)}else{this.setAggregation(e,null,i)}}else if(n>-1){if(r&&this[r._sRemoveMutator]){this[r._sRemoveMutator](n)}else{this.removeAggregation(e,n,i)}}if(i){this.iSuppressInvalidate--}}};function x(t,e){while(t&&t!==e){t=t.oParent}return!!t}v.prototype.setParent=function(t,e,i){d(t==null||t instanceof v,\"oParent either must be null, undefined or a ManagedObject\");var n;if(!t){if(this.oParent){n=this._observer||this.oParent._observer;if(n){n.parentChange(this,this.sParentAggregationName,\"unset\",this.oParent)}if(this.aAPIParentInfos&&this.aAPIParentInfos.forwardingCounter===0){delete this.aAPIParentInfos}}this.oParent=null;this.sParentAggregationName=null;var r=T;if(r!==this.oPropagatedProperties){this.oPropagatedProperties=r;if(!this._bIsBeingDestroyed){Promise.resolve().then(function(){if(!this.oParent){this.updateBindings(true,null);this.updateBindingContext(false,undefined,true);this.propagateProperties(true);this.fireModelContextChange()}}.bind(this))}}this._oContextualSettings=D;if(!this._bIsBeingDestroyed){Promise.resolve().then(function(){if(!this.oParent){this._propagateContextualSettings()}}.bind(this))}o.refresh();return}if(x(t,this)){throw new Error(\"Cycle detected: new parent '\"+t+\"' is already a descendant of (or equal to) '\"+this+\"'\")}if(i){o.refresh();t.iSuppressInvalidate++}var s=this.getParent();if(s){s._removeChild(this,this.sParentAggregationName)}this.oParent=t;this.sParentAggregationName=e;if(!t.mSkipPropagation[e]){var r=this.aAPIParentInfos?this.aAPIParentInfos[0].parent._getPropertiesToPropagate():t._getPropertiesToPropagate();if(r!==this.oPropagatedProperties){this.oPropagatedProperties=r;if(this.hasModel()){this.updateBindings(true,null);this.updateBindingContext(false,undefined,true);this.propagateProperties(true)}this._callPropagationListener();this.fireModelContextChange()}}this._applyContextualSettings(t._oContextualSettings);if(t&&!t.isInvalidateSuppressed()){t.invalidate(this)}if(i){t.iSuppressInvalidate--}n=this._observer||this.oParent._observer;if(n){n.parentChange(this,e,\"set\",this.oParent)}return this};v.prototype._applyContextualSettings=function(t){t=t||D;if(this._oContextualSettings!==t){this._oContextualSettings=t;this._propagateContextualSettings();if(this._bIsOwnerActive){this._onContextualSettingsChanged()}}};v.prototype._onContextualSettingsChanged=function(){};v.prototype._propagateContextualSettings=function(){var t=this._oContextualSettings,e,i,n;for(e in this.mAggregations){i=this.mAggregations[e];if(i instanceof v){i._applyContextualSettings(t)}else if(i instanceof Array){for(n=0;n1){n=i.join(\" \")}else{n=i[0]}var r=this.getMetadata().getPropertyLikeSetting(t);this[r._sMutator](n)}else{S.call(this,\"_bindProperty\")}};v.prototype._detachPropertyBindingHandlers=function(t){};v.prototype.unbindProperty=function(t,e){var i=this.mBindingInfos[t];if(i){if(i.binding){this._unbindProperty(i,t)}if(this._observer&&!this._bIsBeingDestroyed){this._observer.bindingChange(this,t,\"remove\",this.mBindingInfos[t],\"property\")}delete this.mBindingInfos[t];if(!e){this.resetProperty(t)}}ret Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/boot\", [\"sap/base/Log\",\"sap/base/config/_Configuration\",\"sap/base/config/GlobalConfigurationProvider\",\"sap/base/util/Deferred\",\"sap/ui/core/boot/initDOM\",\"sap/ui/core/boot/loadManifest\",\"sap/ui/core/boot/onInit\"],function(e,n,t,r,o,i){\"use strict\";var u=e.getLevel();e.setLevel(e.Level.WARNING);e.warning(\"sap-ui-boot.js: This is a private module, its API must not be used in production and is subject to change!\");e.setLevel(u);var a=false;var s=new r;var c;var f={ready:function(e){if(e&&a){e()}else{s.promise.then(e)}return s.promise}};var p=o.run(f);function l(e){e=e||[];var n=new Promise(function(n,t){sap.ui.require(e,function(){n(Array.from(arguments))},t)});return n}function v(e,n){return Promise.all(e.map(function(e){return e.run(n)}))}i().then(function(e){c=e;return l(c.preBoot)}).then(function(e){return v(e)}).then(function(){t.freeze();return l(c.boot)}).then(function(e){return v(e,f)}).then(function(){return l(c.postBoot)}).then(function(e){return Promise.all([v(e),p])}).then(function(){s.resolve();a=true}).catch(s.reject);return f},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/boot/FieldHelpEndpoint\", [],function(){\"use strict\";let n;function e(){n??=new Promise((n,e)=>{sap.ui.require([\"sap/ui/core/fieldhelp/FieldHelp\"],n,e)});return n}function t(n){const e={service:\"sap.companion.services.UpdateHotspots\",type:\"request\",body:{hotspots:n}};window.postMessage(JSON.stringify(e),document.location.origin)}const i={\"sap.companion.services.StartCompanion\":async function(){const n=await e();n.getInstance().activate(t)},\"sap.companion.services.StopCompanion\":async function(){const n=await e();n.getInstance().deactivate()}};window.addEventListener(\"message\",n=>{if(n.origin!==document.location.origin){return}let e=n.data;if(typeof e===\"string\"){try{e=JSON.parse(e)}catch(n){}}const t=e?.service;if(!t){return}const o=i[t];if(o){o()}});return{run:function(){return Promise.resolve()}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/boot/KeyboardInteractionEndpoint\", [\"sap/base/Log\"],function(e){\"use strict\";let t;function n(){t??=new Promise((e,t)=>{sap.ui.require([\"sap/ui/core/interaction/KeyboardInteractionDisplay\"],e,t)});return t}function i(t){try{t.port1.onmessage=null;t.port2.onmessage=null;t.port1.close();t.port2.close()}catch(t){e.warning(\"Error cleaning up channel:\",t)}}const o=new Map;const r={\"sap.ui.interaction.RequestMessagePort\":t=>{const n=t.data;const a=n?.id;if(!a){e.warning(\"Received MessagePort request without an id. Ignoring.\");return}const s=o.get(a);if(s){e.debug(`Detected already-used or neutered port for id '${a}'. Cleaning up and establishing a new channel.`);i(s);o.delete(a)}const c=new MessageChannel;o.set(a,{origin:t.origin,port1:c.port1,port2:c.port2});c.port1.onmessage=e=>{const t=e.data;const n=t?.service;const i=r[n];if(i){i(e,c.port1)}};try{t.source.postMessage({service:\"sap.ui.interaction.MessagePortReady\"},t.origin,[c.port2])}catch(t){e.error(`Failed to postMessage with port for id '${a}': ${t.message}`,t)}},\"sap.ui.interaction.StartDisplay\":async(e,t)=>{const i=await n();await i.activate(t)},\"sap.ui.interaction.StopDisplay\":async e=>{const t=await n();t.deactivate()}};window.addEventListener(\"message\",t=>{const n=t?.data?.service;const i=r[n];if(i){const n=new URL(sap.ui.require.toUrl(\"\"),document.baseURI)?.origin;if(t.origin!==document.location.origin&&t.origin!==n){e.error(`Received message from an unauthorized origin: ${t.origin}.`);return}i?.(t)}});return{run:function(){return Promise.resolve()}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/boot/initDOM\", [\"sap/base/Log\",\"sap/ui/Device\",\"sap/base/i18n/Localization\",\"sap/ui/dom/_ready\"],function(e,t,n,o){\"use strict\";function a(){var t=n.getRTL()?\"rtl\":\"ltr\";document.documentElement.setAttribute(\"dir\",t);e.info(\"Content direction set to '\"+t+\"'\",null,\"sap.ui.core.boot\")}function i(){var n=document.documentElement;var o=t.browser;var a=o.name;if(a){if(a===o.BROWSER.SAFARI&&o.mobile){a=\"m\"+a}a=a+(o.version===-1?\"\":Math.floor(o.version));n.dataset.sapUiBrowser=a;e.debug(\"Browser-Id: \"+a,null,\"sap.ui.core.boot\")}}function r(){var e=document.documentElement;e.dataset.sapUiOs=t.os.name+t.os.versionStr;var n=null;if(t.os.name===t.os.OS.IOS){n=\"sap-ios\"}else if(t.os.name===t.os.OS.ANDROID){n=\"sap-android\"}if(n){e.classList.add(n)}}function s(e){var t=document.createElement(\"div\");t.textContent=\"bootstrapping UI5...\";t.style.color=\"transparent\";document.body.append(t);e.ready().then(function(){document.body.removeChild(t)})}return{run:function(e){return o().then(function(){a();i();r();s(e)})}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/boot/loadCalendar\", [\"sap/base/config\",\"sap/base/i18n/Localization\",\"sap/base/util/LoaderExtensions\"],function(e,a,n){\"use strict\";var r=new Promise(function(a,n){sap.ui.require([\"sap/ui/core/date/\"+e.get({name:\"sapUiCalendarType\",type:\"string\",defaultValue:\"Gregorian\"})],function(e){a(e)},n)});var i=new Promise(function(e,r){var i=a.getLanguageTag().language;n.loadResource(\"sap/ui/core/cldr/\"+i+\".json\",{async:true,dataType:\"text\"}).then(function(a){var n={};n[\"sap/ui/core/cldr/\"+i+\".json\"]=a;sap.ui.require.preload(n);e()})});return{run:function(){return Promise.all([r,i])}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/boot/loadManifest\", [\"sap/base/config\",\"sap/base/util/LoaderExtensions\"],function(t,o){\"use strict\";function e(t,o){var e=Object.assign({},t);delete o.boot;e.preBoot=e.preBoot?e.preBoot:[];e.preBoot=e.preBoot.concat(o.preBoot||[]);o.postBoot=o.postBoot?o.postBoot:[];e.postBoot=o.postBoot.concat(e.postBoot||[]);return e}function n(t){var r=o.loadResource(t,{async:true}).then(function(t){if(t.extends){return n(t.extends).then(function(o){return e(o,t)})}return t});return r}function r(){var o=t.get({name:\"sapUiBootManifest\",type:t.Type.String});return n(o)}return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/boot/loadModules\", [\"sap/base/config\"],function(e){\"use strict\";var n=Promise.resolve();var i=Promise.resolve();var r=[];var u=e.get({name:\"sapUiModules\",type:e.Type.StringArray});var a=e.get({name:\"sapUiLibs\",type:e.Type.StringArray});if(a.length>0){i=new Promise(function(e,n){sap.ui.require([\"sap/ui/core/Lib\"],function(n){e(n)},n)}).then(function(e){var n=[];a.forEach(function(i){n.push(e.load({name:i}))});return Promise.all(n)})}r.push(new Promise(function(e,n){sap.ui.require([\"sap/ui/events/jquery/EventSimulation\"],function(){e()})}));if(u.length>0){u.forEach(function(e){var n=/^\\[([^\\[\\]]+)?\\]$/.exec(e);r.push(new Promise(function(i,r){sap.ui.require([n&&n[1]||e],function(){i()},n?i:r)}))})}n=Promise.all(r);return{run:function(){return Promise.all([n,i])}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/boot/onInit\", [\"sap/base/config\"],function(e){\"use strict\";var i;var n=e.get({name:\"sapUiOnInit\",type:e.Type.String});if(n){i=n.split(\"@\");if(i.length>1){var r={};var t=/^.*[\\/\\\\]/.exec(i[0])[0];t=t.substr(0,t.length-1);r[t]=i[1];sap.ui.loader.config({paths:r})}}return{run:function(){var e=Promise.resolve();if(n){e=new Promise(function(e,n){sap.ui.require([i[0]],e,n)})}return e}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/cache/CacheManager\", [\"./LRUPersistentCache\",\"./CacheManagerNOP\",\"sap/ui/Device\",\"sap/base/config\",\"sap/base/Log\",\"sap/ui/performance/Measurement\",\"sap/ui/performance/trace/Interaction\"],function(e,n,t,s,r,i,a){\"use strict\";var o=s.getWritableInstance();function c(){return o.get({name:\"sapUiXxCacheUse\",type:s.Type.Boolean,defaultValue:true,external:true})}function u(e){o.set(\"sapUiXxCacheUse\",e)}var h={_instance:null,_getInstance:function(){var e,n=b(\"_getInstance\"),t=this;e=new Promise(function(e,s){var a;r.debug(\"Cache Manager: Initialization...\");if(!h._instance){a=t._findImplementation();i.start(l,\"CM\",d);a.init().then(o,s);i.end(l,\"CM\")}else{o(h._instance)}function o(t){h._instance=t;n.endAsync();r.debug(\"Cache Manager initialized with implementation [\"+h._instance.name+\"], resolving _getInstance promise\");e(t)}});n.endSync();return e},_findImplementation:function(){if(g()&&this._isSupportedEnvironment()){return e}else{r.debug(\"UI5 Cache Manager is switched off\");return n}},set:function(e,n){var t,s=b(\"set\",e);r.debug(\"Cache Manager: Setting value of type[\"+typeof n+\"] with key [\"+e+\"]\");t=this._callInstanceMethod(\"set\",arguments).then(function e(){this.logResolved(\"set\");s.endAsync()}.bind(this),function(n){r.error(\"Cache Manager: Setting key [\"+e+\"] failed. Error:\"+n);s.endAsync();throw n});s.endSync();return t},get:function(e){var n,t=a.notifyAsyncStep(),s=b(\"get\",e);r.debug(\"Cache Manager: Getting key [\"+e+\"]\");n=this._callInstanceMethod(\"get\",arguments).then(function e(n){this.logResolved(\"get\");s.endAsync();return n}.bind(this),function(n){r.debug(\"Cache Manager: Getting key [\"+e+\"] failed. Error: \"+n);s.endAsync();throw n}).finally(t);s.endSync();return n},has:function(e){var n,t=b(\"has\",e);r.debug(\"Cache Manager: has key [\"+e+\"] called\");n=this._callInstanceMethod(\"has\",arguments).then(function e(n){this.logResolved(\"has\");t.endAsync();return n}.bind(this));t.endSync();return n},del:function(e){var n,t=b(\"del\",e);r.debug(\"Cache Manager: del called.\");n=this._callInstanceMethod(\"del\",arguments).then(function e(){this.logResolved(\"del\");t.endAsync()}.bind(this),function(e){r.debug(\"Cache Manager: del failed. Error: \"+e);t.endAsync();throw e});t.endSync();return n},delWithFilters:function(e){var n;r.debug(\"Cache Manager: delWithFilters called.\");n=this._callInstanceMethod(\"delWithFilters\",arguments).then(function e(){this.logResolved(\"delWithFilters\")}.bind(this),function(e){r.debug(\"Cache Manager: delWithFilters failed. Error: \"+e);throw e});return n},reset:function(){var e,n=b(\"reset\");r.debug(\"Cache Manager: Reset called.\");e=this._callInstanceMethod(\"reset\",arguments).then(function e(){this.logResolved(\"reset\");n.endAsync()}.bind(this),function(e){r.debug(\"Cache Manager: Reset failed. Error: \"+e);n.endAsync();throw e});n.endSync();return e},_switchOff:function(){var e=this;return Promise.resolve().then(function(){y(e);u(false)})},_switchOn:function(){var e=this;return Promise.resolve().then(function(){if(!c()){y(e);u(true)}return Promise.resolve()})},_callInstanceMethod:function(e,n){var t,s=\"[sync ] _callInstanceMethod\";i.start(s,\"CM\",d);if(this._instance){r.debug(\"Cache Manager: calling instance...\");return this._instance[e].apply(this._instance,n)}r.debug(\"Cache Manager: getting instance...\");t=this._getInstance().then(function t(s){return s[e].apply(s,n)});i.end(s);return t},_isSupportedEnvironment:function(){var e=[];if(this._bSupportedEnvironment==undefined){e.push({system:t.system.SYSTEMTYPE.DESKTOP,browserName:t.browser.BROWSER.CHROME,browserVersion:49});e.push({system:t.system.SYSTEMTYPE.DESKTOP,browserName:t.browser.BROWSER.SAFARI,browserVersion:13});e.push({system:t.system.SYSTEMTYPE.TABLET,browserName:t.browser.BROWSER.SAFARI,browserVersion:13});e.push({system:t.system.SYSTEMTYPE.PHONE,browserName:t.browser.BROWSER.SAFARI,browserVersion:13});e.push({system:t.system.SYSTEMTYPE.TABLET,os:t.os.OS.ANDROID,browserName:t.browser.BROWSER.CHROME,browserVersion:80});e.push({system:t.system.SYSTEMTYPE.PHONE,os:t.os.OS.ANDROID,browserName:t.browser.BROWSER.CHROME,browserVersion:80});this._bSupportedEnvironment=e.some(function(e){var n=t.system[e.system],s=e.os?e.os===t.os.name:true,r=e.browserName===t.browser.name,i=t.browser.version>=e.browserVersion;try{return n&&s&&r&&i&&window.indexedDB}catch(e){return false}})}return this._bSupportedEnvironment},logResolved:function(e){this._instance.logResolved&&this._instance.logResolved(e)}};var d=\"CacheManager\",l=\"[sync ] _initImplementation\",f=0;function g(){return c()}function y(e){if(e._instance){e._instance._destroy();e._instance=null}}function b(e,n){f++;var t=\"[async] \"+e+\"[\"+n+\"]- #\"+f,s=\"[sync ] \"+e+\"[\"+n+\"]- #\"+f;i.start(t,\"CM\",[d,e]);i.start(s,\"CM\",[d,e]);return{sMeasureAsync:t,sMeasureSync:s,endAsync:function(){i.end(this.sMeasureAsync)},endSync:function(){i.end(this.sMeasureSync)}}}return h});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/cache/CacheManagerNOP\", [\"sap/base/Log\"],function(e){\"use strict\";var n={name:\"CacheManagerNOP\",logResolved:function(n){e.debug(\"Cache Manager is not supported on this environment.\")},set:function(){return Promise.resolve()},get:function(){return Promise.resolve(undefined)},has:function(){return Promise.resolve(false)},del:function(){return Promise.resolve()},delWithFilters:function(){return Promise.resolve()},reset:function(){return Promise.resolve()},init:function(){return Promise.resolve(this)},_db:{close:function(){}},_getCount:function(){return Promise.resolve(0)},_destroy:function(){},_getVersion:function(){return\"\"}};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/cache/LRUPersistentCache\", [\"sap/base/config\",\"sap/base/Log\",\"sap/ui/performance/Measurement\",\"sap/ui/core/Core\"],function(e,t,a,n){\"use strict\";var r={name:\"LRUPersistentCache\",logResolved:function(e){t.debug(\"Cache Manager: \"+e+\" completed successfully.\")},defaultOptions:{databaseName:\"ui5-cachemanager-db\",_contentStoreName:\"content-store\",_metadataStoreName:\"metadata-store\",_metadataKey:\"metadataKey\"},_db:{},init:function(){this._metadata={};this._mru=-1;this._lru=-1;return g(this)},_getVersion(){return n.version},_destroy:function(){if(this._db.close){this._db.close()}this._metadata=null;this._ui5version=null},set:function(e,n){if(R(e)){t.warning(\"Cache Manager ignored 'set' for key [\"+e+\"]\");return Promise.resolve()}if(e==null){return Promise.reject(\"Cache Manager does not accept undefined or null as key\")}if(typeof n===\"undefined\"){return Promise.reject(\"Cache Manager does not accept undefined as value\")}t.debug(\"Cache Manager LRUPersistentCache: adding item with key [\"+e+\"]...\");var r=this,o=\"[sync ] fnSet: total[sync] key [\"+e+\"]\",i=\"[sync ] fnSet: txStart[sync] key [\"+e+\"]\",c=\"[sync ] fnSet: storeOpen[sync] key [\"+e+\"]\",u=\"[sync ] fnSet: putContent[sync] key [\"+e+\"]\",d=\"[sync ] fnSet: putMetadata[sync] key [\"+e+\"]\",f=\"[sync ] fnSet: serialize[sync] key [\"+e+\"]\";return new Promise(function l(m,_){a.start(o,\"CM\",s);var g,y,C,S,w;w=b(r._metadata);S=new p(e,n,typeof n,++r._mru,f,s).serialize();a.start(i,\"CM\",s);var P=r._db.transaction([r.defaultOptions._contentStoreName,r.defaultOptions._metadataStoreName],\"readwrite\");a.end(i);P.onerror=function(e){var a=\"Cache Manager cannot complete add/put transaction for entry with key: \"+S.oData.key+\". Details: \"+L(e);t.error(a);r._metadata=w;M(r);_(a)};P.onabort=function(a){r._metadata=w;M(r);var o=v(r);if(D(a)&&o>0){t.warning(\"Cache Manager is trying to free some space to add/put new item\");O(r,e,n).then(function(){t.debug(\"Cache Manager LRUPersistentCache: set completed after freeing space. ItemCount changed from \"+o+\" to \"+v(r));m()},function(e){var a=\"Cache Manager LRUPersistentCache: set unsuccessful. Cannot free space to add/put entry. Details: \"+e;t.error(a);_(a)})}else{var s=\"Cache Manager LRUPersistentCache: set failed: \"+L(a);t.error(s);_(s)}};P.oncomplete=function(){t.debug(\"Cache Manager LRUPersistentCache: adding item with key [\"+e+\"]... done\");m()};a.start(c,\"CM\",s);g=P.objectStore(r.defaultOptions._contentStoreName);C=P.objectStore(r.defaultOptions._metadataStoreName);a.end(c);a.start(u,\"CM\",s);y=g.put(S.oData,S.oData.key);a.end(u);a.end(o);y.onsuccess=function(){h(r,S);a.start(d,\"CM\",s);C.put(r._metadata,r.defaultOptions._metadataKey);a.end(d)};if(t.getLevel()>=t.Level.DEBUG){t.debug(\"Cache Manager LRUPersistentCache: measurements: \"+o+\": \"+a.getMeasurement(o).duration+\"; \"+f+\": \"+a.getMeasurement(f).duration+\"; \"+i+\": \"+a.getMeasurement(i).duration+\"; \"+c+\": \"+a.getMeasurement(c).duration+\"; \"+u+\": \"+a.getMeasurement(u).duration+\"; \"+d+\": \"+a.getMeasurement(d).duration)}})},has:function(e){if(R(e)){t.warning(\"Cache Manager ignored 'has' for key [\"+e+\"]\");return Promise.resolve(false)}return this.get(e).then(function(a){var n=typeof a!==\"undefined\";t.debug(\"Cache Manager: has key [\"+e+\"] returned \"+n);return n})},_getCount:function(){return Promise.resolve(v(this))},_getAll:function(e){var t=this,a,n=\"[sync ] _getAll: deserialize\";return new Promise(function(e,r){var s=[],i=t._db.transaction([t.defaultOptions._contentStoreName],\"readonly\"),c=i.objectStore(t.defaultOptions._contentStoreName);i.onerror=function(e){r(L(e))};i.oncomplete=function(t){e(s)};c.openCursor().onsuccess=function(e){var t=e.target.result;if(t&&t.value){a=new p(t.value,n,o).deserialize();s.push({key:a.oData.key,value:a.oData.value});t.continue()}}})},_loadMetaStructure:function(){var e=this;return new Promise(function(a,n){var r=e._db.transaction([e.defaultOptions._metadataStoreName],\"readonly\");r.onerror=function(e){if(!r.errorHandled){r.errorHandled=true;var a=\"Cache Manager cannot complete transaction for read metadata. Details: \"+r.error;t.error(a);n(a)}};var o=r.objectStore(e.defaultOptions._metadataStoreName);try{var s=o.get(e.defaultOptions._metadataKey);s.onsuccess=function(n){e._metadata=s.result?s.result:C(e._ui5version);if(e._metadata.__ui5version!==e._ui5version){e.reset().then(a,function(e){t.error(\"Cannot reset the cache. Details:\"+e);r.abort()})}else{if(!e._metadata.timestamps){e._metadata.timestamps={}}a()}};s.onerror=function(e){t.error(\"Cache Manager cannot complete transaction for read metadata items. Details: \"+e.message);n(e.message)}}catch(a){t.error(\"Cache Manager cannot read metadata entries behind key: \"+e.defaultOptions._metadataKey+\". Details: \"+a.message);n(a.message)}})},get:function(e){if(R(e)){t.warning(\"Cache Manager ignored 'get' for key [\"+e+\"]\");return Promise.resolve()}return d(this,e)},del:function(e){if(R(e)){t.warning(\"Cache Manager ignored 'del' for key [\"+e+\"]\");return Promise.resolve()}return u(this,e)},delWithFilters:function(e){var a=this,n=e||{};return new Promise(function(e,r){var o=b(a._metadata),s=a._db.transaction([a.defaultOptions._contentStoreName,a.defaultOptions._metadataStoreName],\"readwrite\"),i=s.objectStore(a.defaultOptions._contentStoreName),c=s.objectStore(a.defaultOptions._metadataStoreName),u=i.openCursor(),d=n.prefix||\"\";function f(){a._metadata=o;M(a)}function l(e){f();r(L(e))}s.onerror=l;s.onabort=l;s.oncomplete=function(t){e()};u.onsuccess=function(e){var r=e.target.result,o,s;if(!r){c.put(a._metadata,a.defaultOptions._metadataKey);return}o=r.value.key;if(o.indexOf(d)===0&&(!n.olderThan||!(o in a._metadata.timestamps)||a._metadata.timestamps[o]<=n.olderThan)){s=r.delete();s.onsuccess=function(){t.debug(\"Deleted \"+o+\"!\");P(a,o)}}r.continue()}})},reset:function(){var e=this;return new Promise(function(a,n){var r,o,s,i,c;c=e._db.transaction([e.defaultOptions._contentStoreName,e.defaultOptions._metadataStoreName],\"readwrite\");c.onerror=c.onabort=function(e){if(!c.errorHandled){c.errorHandled=true;var a=\"Cache Manager LRUPersistentCache: transaction for reset() failed. Details: \"+c.error;t.error(a);n(a)}};c.oncomplete=function(e){a()};r=c.objectStore(e.defaultOptions._contentStoreName);o=c.objectStore(e.defaultOptions._metadataStoreName);try{s=r.clear();s.onerror=function(){c.abort()};s.onsuccess=function(){i=o.clear();i.onerror=function(){c.abort()};i.onsuccess=function(){e._metadata=C(e._getVersion());M(e)}}}catch(e){c.abort()}})}};var o=\"LRUPersistentCache,get\",s=\"LRUPersistentCache,set\",i=0;function c(e,a){var n;e._metadata.timestamps[a.oData.key]=Date.now();n=e._db.transaction([e.defaultOptions._contentStoreName,e.defaultOptions._metadataStoreName],\"readwrite\");n.onerror=n.onabort=function(e){t.warning(\"Cache Manager cannot persist the information about usage of an entry. This may lead to earlier removal of the entry if browser storage space is over. Details: \"+n.error)};try{n.objectStore(e.defaultOptions._metadataStoreName).put(e._metadata,e.defaultOptions._metadataKey)}catch(e){t.warning(\"Cache Manager cannot persist the information about usage of an entry. This may lead to earlier removal of the entry if browser storage space is over. Details: \"+e.message)}}function u(e,a){return new Promise(function(n,r){var o,s;o=e._db.transaction([e.defaultOptions._contentStoreName,e.defaultOptions._metadataStoreName],\"readwrite\");s=b(e._metadata);function i(n){e._metadata=s;M(e);var o=\"Cache Manager LRUPersistentCache: cannot delete item with key: \"+a+\". Details: \"+L(n);t.error(o);r(o)}o.onerror=i;o.onabort=i;o.oncomplete=function(){if(v(e)===0){e._lru=-1;e._mru=-1;e._metadata=C(e._ui5version)}t.debug(\"Cache Manager LRUPersistentCache: item with key \"+a+\" deleted\");n()};t.debug(\"Cache Manager LRUPersistentCache: deleting item [\"+a+\"]\");var c=o.objectStore(e.defaultOptions._contentStoreName).delete(a);c.onsuccess=function(){t.debug(\"Cache Manager LRUPersistentCache: request for deleting item [\"+a+\"] is successful, updating metadata...\");P(e,a);o.objectStore(e.defaultOptions._metadataStoreName).put(e._metadata,e.defaultOptions._metadataKey)}})}function d(e,n){if(e.getCounter===undefined){e.getCounter=0}e.getCounter++;var r=\"[sync ] fnGet\"+e.getCounter+\": total[sync] key [\"+n+\"]\",s=\"[sync ] fnGet\"+e.getCounter+\": txStart[sync] key [\"+n+\"]\",i=\"[sync ] fnGet\"+e.getCounter+\": storeOpen[sync] key [\"+n+\"]\",u=\"[sync ] fnGet\"+e.getCounter+\": access result[sync] key [\"+n+\"]\",d=\"[sync ] fnGet\"+e.getCounter+\": putMetadata[sync] key [\"+n+\"]\",f=\"[sync ] fnGet\"+e.getCounter+\": deserialize[sync] key [\"+n+\"]\",l=\"[sync ] _instance.get\",m=\"[sync ] getRequest.onSuccess\";t.debug(\"Cache Manager LRUPersistentCache: get for key [\"+n+\"]...\");a.start(l,\"CM\",o);var _=new Promise(function l(_,g){var y,C,b,M;a.start(r,\"CM\",o);a.start(s,\"CM\",o);C=e._db.transaction([e.defaultOptions._contentStoreName,e.defaultOptions._metadataStoreName],\"readwrite\");a.end(s);C.onerror=function(e){var a=\"Cache Manager cannot complete delete transaction for entry with key: \"+n+\". Details: \"+C.error;t.error(a);g(a)};try{a.start(i,\"CM\",o);b=C.objectStore(e.defaultOptions._contentStoreName).get(n);a.end(i);b.onsuccess=function(r){a.start(m,\"CM\",o);a.start(u,\"CM\",o);M=new p(b.result,f,o);a.end(u);I(\"Cache Manager LRUPersistentCache: accessing the result\",n,u);if(M.oData){a.start(d,\"CM\",o);if(M.oData.lu!==e._mru){M.oData.lu=++e._mru;h(e,M)}c(e,M);a.end(d);y=M.deserialize().oData.value}a.end(m);t.debug(\"Cache Manager LRUPersistentCache: get for key [\"+n+\"]...done\");_(y)};b.onerror=function(e){t.error(\"Cache Manager cannot get entry with key: \"+n+\". Details: \"+e.message);g(e.message)}}catch(e){t.error(\"Cache Manager cannot get entry with key: \"+n+\". Details: \"+e.message);g(e.message);return}a.end(r)});a.end(l);return _}function f(e){var a=S(e);if(a==undefined){var n=\"Cache Manager LRUPersistentCache: deleteItemAndUpdateMetadata cannot find item to delete\";t.debug(n);return Promise.reject(n)}return m(e,a).then(function(){return Promise.resolve().then(function(){P(e,a);return l(e).then(function(){return a},function(){t.warning(\"Cache Manager LRUPersistentCache: Free space algorithm deleted item \"+\"but the metadata changes could not be persisted. This won't break the functionality.\");return a})})})}function l(e){return new Promise(function(a,n){try{var r=e._db.transaction([e.defaultOptions._contentStoreName,e.defaultOptions._metadataStoreName],\"readwrite\");r.onerror=o;r.onabort=o;r.oncomplete=function(){t.debug(\"Cache Manager LRUPersistentCache: persistMetadata - metadata was successfully updated\");a()};r.objectStore(e.defaultOptions._metadataStoreName).put(e._metadata,e.defaultOptions._metadataKey)}catch(e){o(null,e)}function o(e,a){var r=\"Cache Manager LRUPersistentCache: persistMetadata error - metadata was not successfully persisted. Details: \"+L(e)+\". Exception: \"+(a?a.message:\"\");t.debug(r);n(r)}})}function m(e,a){return new Promise(function(n,r){var o=e._db.transaction([e.defaultOptions._contentStoreName,e.defaultOptions._metadataStoreName],\"readwrite\");function s(e){var n=\"Cache Manager LRUPersistentCache: internalDel cannot complete delete transaction for entry with key: \"+a+\". Details: \"+L(e);t.warning(n);r(e)}o.onerror=s;o.onabort=s;o.oncomplete=function(){if(v(e)===0){e._lru=0;e._mru=0;e._metadata=C(e._ui5version)}t.debug(\"Cache Manager LRUPersistentCache: internalDel deleting item [\"+a+\"]...done\");n()};t.debug(\"Cache Manager LRUPersistentCache: internalDel deleting item [\"+a+\"]...\");o.objectStore(e.defaultOptions._contentStoreName).delete(a)})}function _(e,a,n){return new Promise(function(r,o){var i,c,u,d=\"[sync ] internalSet: serialize[sync] key [\"+a+\"]\";u=b(e._metadata);var f=new p(a,n,typeof n,++e._mru,d,s).serialize();t.debug(\"Cache Manager: LRUPersistentCache: internal set with parameters: key [\"+f.oData.key+\"], access index [\"+f.oData.lu+\"]\");c=e._db.transaction([e.defaultOptions._contentStoreName,e.defaultOptions._metadataStoreName],\"readwrite\");c.onerror=l;c.onabort=l;function l(a){t.debug(\"Cache Manager: LRUPersistentCache: internal set failed. Details: \"+L(a));e._metadata=u;M(e);o(a)}c.oncomplete=function(){t.debug(\"Cache Manager: LRUPersistentCache: Internal set transaction completed. ItemCount: \"+v(e));r()};i=c.objectStore(e.defaultOptions._contentStoreName).put(f.oData,f.oData.key);i.onsuccess=function(){h(e,f);c.objectStore(e.defaultOptions._metadataStoreName).put(e._metadata,e.defaultOptions._metadataKey)}})}function h(e,a){if(e._metadata.__byKey__[a.oData.key]!=null){var n=e._metadata.__byKey__[a.oData.key];delete e._metadata.__byIndex__[n];t.debug(\"Cache Manager LRUPersistentCache: set/internalset - item already exists, so its indexes are updated\")}e._metadata.__byIndex__[a.oData.lu]=a.oData.key;e._metadata.__byKey__[a.oData.key]=a.oData.lu;k(e)}function g(e){e._ui5version=e._getVersion();return new Promise(function a(n,r){var o;t.debug(\"Cache Manager \"+\"_initIndexedDB started\");function s(){try{o=window.indexedDB.open(e.defaultOptions.databaseName,1)}catch(e){t.error(\"Could not open Cache Manager database. Details: \"+e.message);r(e.message)}}s();o.onerror=function(e){t.error(\"Could not initialize Cache Manager database. Details: \"+e.message);r(e.error)};o.onsuccess=function(a){var s=x(\"init_onsuccess\");e._db=o.result;e._db.onversionchange=function(e){if(!e.newVersion){e.target.close()}};e._loadMetaStructure().then(function(){t.debug(\"Cache Manager \"+\" metadataLoaded. Serialization support: \"+N()+\", resolving initIndexDb promise\");n(e)},r);s.endSync()};o.onupgradeneeded=function(a){var n=a.target.result;n.onerror=function(e){t.error(\"Cache Manager error. Details: \"+e.message);r(n.error)};try{var o=n.createObjectStore(e.defaultOptions._contentStoreName);n.createObjectStore(e.defaultOptions._metadataStoreName)}catch(e){t.error(\"Could not initialize Cache Manager object store. Details: \"+e.message);throw e}o.createIndex(\"ui5version\",\"ui5version\",{unique:false})}})}function y(e,t,a,n){this.key=e;this.sOrigType=a;this.value=t;this.lu=n}function p(e,t,a,n,r,o){if(arguments.length===3){this.oData=e;this.sMeasureId=t;this.sMsrCat=a}else{this.oData=new y(e,t,a,n)}}p.prototype.deserialize=function(){if(N()&&this.oData.sOrigType===\"object\"){a.start(this.sMeasureId,this.sMeasureId,this.sMsrCat);this.oData.value=JSON.parse(this.oData.value);a.end(this.sMeasureId);I(\"Cache Manager LRUPersistentCache: de-serialization the result\",this.oData.key,this.sMeasureId)}return this};p.prototype.serialize=function(){if(N()&&this.oData.sOrigType===\"object\"){a.start(this.sMeasureId,this.sMeasureId,this.sMsrCat);this.oData.value=JSON.stringify(this.oData.value);a.end(this.sMeasureId);I(\"Cache Manager LRUPersistentCache: serialization of the value\",this.oData.key,this.sMeasureId)}return this};function C(e){return{timestamps:{},__byKey__:{},__byIndex__:{},__ui5version:e}}function b(e){var t=C(e.__ui5version);for(var a in e.__byIndex__){t.__byIndex__[a]=e.__byIndex__[a]}for(var n in e.__byKey__){t.__byKey__[n]=e.__byKey__[n]}for(var n in e.timestamps){t.timestamps[n]=e.timestamps[n]}return t}function M(e){var a=w(e._metadata.__byIndex__);e._mru=a.mru;e._lru=a.lru;t.debug(\"Cache Manager LRUPersistentCache: LRU counters are assigned to the CM: \"+JSON.stringify(a))}function v(e){return Object.keys(e._metadata.__byKey__).length}function S(e){var t=e._metadata.__byIndex__[e._lru];if(t==undefined&&!k(e)){return null}else{return e._metadata.__byIndex__[e._lru]}}function w(e){var t=-1,a=-1,n=Number.MAX_VALUE,r=Object.keys(e),o=r.length;if(o===0){return{mru:-1,lru:-1}}else{while(++ts){n=s}}return{mru:a,lru:n}}}function O(e,a,n){return new Promise(function(r,o){var s=0;i(e,a,n);function i(e,a,n){s++;t.debug(\"Cache Manager LRUPersistentCache: cleanAndStore: freeing space attempt [\"+s+\"]\");f(e).then(function(s){t.debug(\"Cache Manager LRUPersistentCache: cleanAndStore: deleted item with key [\"+s+\"]. Going to put \"+a);return _(e,a,n).then(r,function(r){if(D(r)){t.debug(\"Cache Manager LRUPersistentCache: cleanAndStore: QuotaExceedError during freeing up space...\");if(v(e)>0){i(e,a,n)}else{o(\"Cache Manager LRUPersistentCache: cleanAndStore: even when the cache is empty, the new item with key [\"+a+\"] cannot be added\")}}else{o(\"Cache Manager LRUPersistentCache: cleanAndStore: cannot free space: \"+L(r))}})},o)}})}function D(e){return e&&e.target&&e.target.error&&e.target.error.name===\"QuotaExceededError\"}function P(e,t){var a=e._metadata.__byKey__[t];delete e._metadata.__byKey__[t];delete e._metadata.__byIndex__[a];if(e._metadata.timestamps[t]){delete e._metadata.timestamps[t]}k(e)}function k(e){while(e._lru<=e._mru&&e._metadata.__byIndex__[e._lru]==undefined){e._lru++}return e._lru<=e._mru}function L(e){if(!e){return\"\"}var t=e.message;if(e.target&&e.target.error&&e.target.error.name){t+=\" Error name: \"+e.target.error.name}return t}function N(){return e.get({name:\"sapUiXxCacheSerialization\",type:e.Type.Boolean,external:true})}function U(){return e.get({name:\"sapUiXxCacheExcludedKeys\",type:e.Type.StringArray,external:true})}function R(e){return U().some(function(t){return e.indexOf(t)>-1})}function x(e,t){i++;var n=\"[async] \"+e+\"[\"+t+\"]- #\"+i,r=\"[sync ] \"+e+\"[\"+t+\"]- #\"+i;a.start(n,\"CM\",[\"LRUPersistentCache\",e]);a.start(r,\"CM\",[\"LRUPersistentCache\",e]);return{sMeasureAsync:n,sMeasureSync:r,endAsync:function(){a.end(this.sMeasureAsync)},endSync:function(){a.end(this.sMeasureSync)}}}function I(e,n,r){if(t.getLevel()>=t.Level.DEBUG){t.debug(e+\" for key [\"+n+\"] took: \"+a.getMeasurement(r).duration)}}return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/date/Buddhist\", [\"./UniversalDate\",\"./_Calendars\",\"sap/base/i18n/date/CalendarType\"],function(t,e,r){\"use strict\";var a=t.extend(\"sap.ui.core.date.Buddhist\",{constructor:function(){var t=arguments;if(t.length>1){t=u(t)}this.oDate=this.createDate(Date,t);this.sCalendarType=r.Buddhist}});a.UTC=function(){var t=u(arguments);return Date.UTC.apply(Date,t)};a.now=function(){return Date.now()};function n(e){var a=t.getEraStartDate(r.Buddhist,0).year,n=e.year-a+1;if(e.year<1941&&e.month<3){n-=1}if(e.year===null){n=undefined}return{year:n,month:e.month,day:e.day}}function i(e){var a=t.getEraStartDate(r.Buddhist,0).year,n=e.year+a-1;if(n<1941&&e.month<3){n+=1}if(e.year===null){n=undefined}return{year:n,month:e.month,day:e.day}}function u(t){var e,r;e={year:t[0],month:t[1],day:t[2]!==undefined?t[2]:1};r=i(e);t[0]=r.year;return t}a.prototype._getBuddhist=function(){var t={year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()};return n(t)};a.prototype._setBuddhist=function(t){var e=i(t);return this.oDate.setFullYear(e.year,e.month,e.day)};a.prototype._getUTCBuddhist=function(){var t={year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()};return n(t)};a.prototype._setUTCBuddhist=function(t){var e=i(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)};a.prototype.getYear=function(){return this._getBuddhist().year};a.prototype.getFullYear=function(){return this._getBuddhist().year};a.prototype.getUTCFullYear=function(){return this._getUTCBuddhist().year};a.prototype.setYear=function(t){var e=this._getBuddhist();e.year=t;return this._setBuddhist(e)};a.prototype.setFullYear=function(t,e,r){var a=this._getBuddhist();a.year=t;if(e!==undefined){a.month=e}if(r!==undefined){a.day=r}return this._setBuddhist(a)};a.prototype.setUTCFullYear=function(t,e,r){var a=this._getUTCBuddhist();a.year=t;if(e!==undefined){a.month=e}if(r!==undefined){a.day=r}return this._setUTCBuddhist(a)};e.set(r.Buddhist,a);return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/date/CalendarUtils\", [\"sap/base/i18n/Formatting\",\"sap/base/i18n/date/CalendarWeekNumbering\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\"],function(e,a,n,i){\"use strict\";var t={getWeekConfigurationValues:function(r,u){var s,g;if(!r){return t.getWeekConfigurationValues(e.getCalendarWeekNumbering(),u)}g=a.getWeekConfigurationValues(r);if(g){return g}if(r===a.Default){u=u||new n(e.getLanguageTag());s=i.getInstance(u);return{firstDayOfWeek:s.getFirstDayOfWeek(),minimalDaysInFirstWeek:s.getMinimalDaysInFirstWeek()}}return undefined}};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/date/CalendarWeekNumbering\", [\"sap/ui/base/DataType\",\"sap/base/i18n/date/CalendarWeekNumbering\"],function(e,a){\"use strict\";e.registerEnum(\"sap.ui.core.date.CalendarWeekNumbering\",a);return a},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/date/Gregorian\", [\"./UniversalDate\",\"./_Calendars\",\"sap/base/i18n/date/CalendarType\"],function(e,a,t){\"use strict\";var n=e.extend(\"sap.ui.core.date.Gregorian\",{constructor:function(){this.oDate=this.createDate(Date,arguments);this.sCalendarType=t.Gregorian}});n.UTC=function(){return Date.UTC.apply(Date,arguments)};n.now=function(){return Date.now()};a.set(t.Gregorian,n);return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/date/Islamic\", [\"./UniversalDate\",\"sap/base/Log\",\"sap/base/i18n/Formatting\",\"sap/base/i18n/date/CalendarType\",\"./_Calendars\"],function(t,e,a,r,o){\"use strict\";var n=t.extend(\"sap.ui.core.date.Islamic\",{constructor:function(){var t=arguments;if(t.length>1){t=p(t)}this.oDate=this.createDate(Date,t);this.sCalendarType=r.Islamic}});n.UTC=function(){var t=p(arguments);return Date.UTC.apply(Date,t)};n.now=function(){return Date.now()};var i=1400,s=1721425.5,h=1948439.5,l=-425215872e5,f=864e5;var u=null;var c=[\"A\",\"B\"];function y(t){var e=t.year,a=t.month,r=t.day,o,n,i,l,f,u,c;u=0;if(a+1>2){u=v(e)?-1:-2}c=s-1+365*(e-1)+Math.floor((e-1)/4)+-Math.floor((e-1)/100)+Math.floor((e-1)/400)+Math.floor((367*(a+1)-362)/12+u+r);c=Math.floor(c)+.5;f=c-h;l=Math.floor(f/29.530588853);if(l<0){o=Math.floor(l/12)+1;n=l%12;if(n<0){n+=12}i=f-I(o,n)+1}else{l++;while(M(l)>f){l--}o=Math.floor(l/12)+1;n=l%12;i=f-M(12*(o-1)+n)+1}return{day:i,month:n,year:o}}function m(t){var e=t.year,a=t.month,r=t.day,o=e<1?I(e,a):M(12*(e-1)+a),n=r+o+h-1,i=Math.floor(n-.5)+.5,l=i-s,f=Math.floor(l/146097),u=C(l,146097),c=Math.floor(u/36524),y=C(u,36524),m=Math.floor(y/1461),p=C(y,1461),d=Math.floor(p/365),g=f*400+c*100+m*4+d,T,D,_,U,F,Y,b,w;if(!(c==4||d==4)){g++}_=s+365*(g-1)+Math.floor((g-1)/4)-Math.floor((g-1)/100)+Math.floor((g-1)/400);U=i-_;F=s-1+365*(g-1)+Math.floor((g-1)/4)-Math.floor((g-1)/100)+Math.floor((g-1)/400)+Math.floor(739/12+(v(g)?-1:-2)+1);b=0;if(i2){w=v(g)?-1:-2}Y+=Math.floor((367*T-362)/12+w+1);D=i-Y+1;return{day:D,month:T-1,year:g}}function p(t){var e=Array.prototype.slice.call(t),a,r;a={year:t[0],month:t[1],day:t[2]!==undefined?t[2]:1};r=m(a);e[0]=r.year;e[1]=r.month;e[2]=r.day;return e}function d(){var t,r;u={};t=a.getABAPDateFormat();t=T(t)?t:\"A\";r=a.getCustomIslamicCalendarData();r=r||[];if(!r.length){e.warning(\"No calendar customizations.\");return}r.forEach(function(e){if(e.dateFormat===t){var a=g(e.gregDate);var r=new Date(Date.UTC(a.year,a.month-1,a.day));var o=r.getTime();var n=(o-l)/f;a=g(e.islamicMonthStart);var i=(a.year-1)*12+a.month-1;u[i]=n}});e.info(\"Working with date format: [\"+t+\"] and customization: \"+JSON.stringify(r))}function g(t){return{year:parseInt(t.substr(0,4)),month:parseInt(t.substr(4,2)),day:parseInt(t.substr(6,2))}}function M(t){if(!u){d()}var e=u[t];if(!e){var a=Math.floor(t/12)+1;var r=t%12;e=I(a,r)}return e}function I(t,e){return Math.ceil(29.5*e)+(t-1)*354+Math.floor((3+11*t)/30)}function C(t,e){return t-e*Math.floor(t/e)}function v(t){return!(t%400)||!(t%4)&&!!(t%100)}function T(t){return c.indexOf(t)!==-1}n.prototype._getIslamic=function(){return y({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})};n.prototype._setIslamic=function(t){var e=m(t);return this.oDate.setFullYear(e.year,e.month,e.day)};n.prototype._getUTCIslamic=function(){return y({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})};n.prototype._setUTCIslamic=function(t){var e=m(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)};n.prototype.getDate=function(t){return this._getIslamic().day};n.prototype.getMonth=function(){return this._getIslamic().month};n.prototype.getYear=function(){return this._getIslamic().year-i};n.prototype.getFullYear=function(){return this._getIslamic().year};n.prototype.setDate=function(t){var e=this._getIslamic();e.day=t;return this._setIslamic(e)};n.prototype.setMonth=function(t,e){var a=this._getIslamic();a.month=t;if(e!==undefined){a.day=e}return this._setIslamic(a)};n.prototype.setYear=function(t){var e=this._getIslamic();e.year=t+i;return this._setIslamic(e)};n.prototype.setFullYear=function(t,e,a){var r=this._getIslamic();r.year=t;if(e!==undefined){r.month=e}if(a!==undefined){r.day=a}return this._setIslamic(r)};n.prototype.getUTCDate=function(t){return this._getUTCIslamic().day};n.prototype.getUTCMonth=function(){return this._getUTCIslamic().month};n.prototype.getUTCFullYear=function(){return this._getUTCIslamic().year};n.prototype.setUTCDate=function(t){var e=this._getUTCIslamic();e.day=t;return this._setUTCIslamic(e)};n.prototype.setUTCMonth=function(t,e){var a=this._getUTCIslamic();a.month=t;if(e!==undefined){a.day=e}return this._setUTCIslamic(a)};n.prototype.setUTCFullYear=function(t,e,a){var r=this._getUTCIslamic();r.year=t;if(e!==undefined){r.month=e}if(a!==undefined){r.day=a}return this._setUTCIslamic(r)};o.set(r.Islamic,n);return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/date/Japanese\", [\"./UniversalDate\",\"./_Calendars\",\"sap/base/i18n/date/CalendarType\"],function(e,t,a){\"use strict\";var n=e.extend(\"sap.ui.core.date.Japanese\",{constructor:function(){var e=arguments;if(e.length>1){e=s(e)}this.oDate=this.createDate(Date,e);this.sCalendarType=a.Japanese}});n.UTC=function(){var e=s(arguments);return Date.UTC.apply(Date,e)};n.now=function(){return Date.now()};function r(t){var n=e.getEraByDate(a.Japanese,t.year,t.month,t.day),r=e.getEraStartDate(a.Japanese,n).year;return{era:n,year:t.year-r+1,month:t.month,day:t.day}}function o(t){var n=e.getEraStartDate(a.Japanese,t.era).year;return{year:n+t.year-1,month:t.month,day:t.day}}function s(t){var n,r,s,i=t[0];if(typeof i==\"number\"){if(i>=100){return t}else{s=e.getCurrentEra(a.Japanese);i=[s,i]}}else if(!Array.isArray(i)){i=[]}n={era:i[0],year:i[1],month:t[1],day:t[2]!==undefined?t[2]:1};r=o(n);t[0]=r.year;return t}n.prototype._getJapanese=function(){var e={year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()};return r(e)};n.prototype._setJapanese=function(e){var t=o(e);return this.oDate.setFullYear(t.year,t.month,t.day)};n.prototype._getUTCJapanese=function(){var e={year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()};return r(e)};n.prototype._setUTCJapanese=function(e){var t=o(e);return this.oDate.setUTCFullYear(t.year,t.month,t.day)};n.prototype.getYear=function(){return this._getJapanese().year};n.prototype.getFullYear=function(){return this._getJapanese().year};n.prototype.getEra=function(){return this._getJapanese().era};n.prototype.getUTCFullYear=function(){return this._getUTCJapanese().year};n.prototype.getUTCEra=function(){return this._getUTCJapanese().era};n.prototype.setYear=function(e){var t=this._getJapanese();t.year=e;return this._setJapanese(t)};n.prototype.setFullYear=function(e,t,a){var n=this._getJapanese();n.year=e;if(t!==undefined){n.month=t}if(a!==undefined){n.day=a}return this._setJapanese(n)};n.prototype.setEra=function(t,n,o,s){var i=e.getEraStartDate(a.Japanese,t),u=r(i);if(n!==undefined){u.year=n}if(o!==undefined){u.month=o}if(s!==undefined){u.day=s}return this._setJapanese(u)};n.prototype.setUTCFullYear=function(e,t,a){var n=this._getUTCJapanese();n.year=e;if(t!==undefined){n.month=t}if(a!==undefined){n.day=a}return this._setUTCJapanese(n)};n.prototype.setUTCEra=function(t,n,o,s){var i=e.getEraStartDate(a.Japanese,t),u=r(i);if(n!==undefined){u.year=n}if(o!==undefined){u.month=o}if(s!==undefined){u.day=s}return this._setUTCJapanese(u)};n.prototype.getWeek=function(t,a){return e.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate(),t,a)};n.prototype.getUTCWeek=function(t,a){return e.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate(),t,a)};t.set(a.Japanese,n);return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/date/Persian\", [\"./UniversalDate\",\"./_Calendars\",\"sap/base/i18n/date/CalendarType\"],function(t,e,r){\"use strict\";var n=t.extend(\"sap.ui.core.date.Persian\",{constructor:function(){var t=arguments;if(t.length>1){t=s(t)}this.oDate=this.createDate(Date,t);this.sCalendarType=r.Persian}});n.UTC=function(){var t=s(arguments);return Date.UTC.apply(Date,t)};n.now=function(){return Date.now()};var a=1300;function i(t){var e=f(t.year,t.month+1,t.day);return h(e)}function o(t){var e=y(t.year,t.month+1,t.day);return p(e)}function s(t){var e=Array.prototype.slice.call(t),r,n;if(typeof t[0]!==\"number\"||typeof t[1]!==\"number\"||t[2]!==undefined&&typeof t[2]!=\"number\"){e[0]=NaN;e[1]=NaN;e[2]=NaN;return e}r={year:t[0],month:t[1],day:t[2]!==undefined?t[2]:1};n=o(r);e[0]=n.year;e[1]=n.month;e[2]=n.day;return e}function u(t){var e=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178],r=e.length,n=t+621,a=-14,i=e[0],o,s,u,y,h,f,p;for(p=1;p12){e-=12;t++}var n=u(t);return f(n.gy,3,n.march)+(e-1)*31-c(e,7)*(e-7)+r-1}function h(t){var e=p(t).year,r=e-621,n=u(r),a=f(e,3,n.march),i,o,s;s=t-a;if(s>=0){if(s<=185){o=1+c(s,31);i=d(s,31)+1;return{year:r,month:o-1,day:i}}else{s-=186}}else{r-=1;s+=179;if(n.leap===1){s+=1}}o=7+c(s,30);i=d(s,30)+1;return{year:r,month:o-1,day:i}}function f(t,e,r){var n=c((t+c(e-8,6)+100100)*1461,4)+c(153*d(e+9,12)+2,5)+r-34840408;n=n-c(c(t+100100+c(e-8,6),100)*3,4)+752;return n}function p(t){var e,r,n,a,i;e=4*t+139361631;e=e+c(c(4*t+183187720,146097)*3,4)*4-3908;r=c(d(e,1461),4)*5+308;n=c(d(r,153),5)+1;a=d(c(r,153),12)+1;i=c(e,1461)-100100+c(8-a,6);return{year:i,month:a-1,day:n}}function c(t,e){return~~(t/e)}function d(t,e){return t-~~(t/e)*e}n.prototype._getPersian=function(){return i({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})};n.prototype._setPersian=function(t){var e=o(t);return this.oDate.setFullYear(e.year,e.month,e.day)};n.prototype._getUTCPersian=function(){return i({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})};n.prototype._setUTCPersian=function(t){var e=o(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)};n.prototype.getDate=function(t){return this._getPersian().day};n.prototype.getMonth=function(){return this._getPersian().month};n.prototype.getYear=function(){return this._getPersian().year-a};n.prototype.getFullYear=function(){return this._getPersian().year};n.prototype.setDate=function(t){var e=this._getPersian();e.day=t;return this._setPersian(e)};n.prototype.setMonth=function(t,e){var r=this._getPersian();r.month=t;if(e!==undefined){r.day=e}return this._setPersian(r)};n.prototype.setYear=function(t){var e=this._getPersian();e.year=t+a;return this._setPersian(e)};n.prototype.setFullYear=function(t,e,r){var n=this._getPersian();n.year=t;if(e!==undefined){n.month=e}if(r!==undefined){n.day=r}return this._setPersian(n)};n.prototype.getUTCDate=function(t){return this._getUTCPersian().day};n.prototype.getUTCMonth=function(){return this._getUTCPersian().month};n.prototype.getUTCFullYear=function(){return this._getUTCPersian().year};n.prototype.setUTCDate=function(t){var e=this._getUTCPersian();e.day=t;return this._setUTCPersian(e)};n.prototype.setUTCMonth=function(t,e){var r=this._getUTCPersian();r.month=t;if(e!==undefined){r.day=e}return this._setUTCPersian(r)};n.prototype.setUTCFullYear=function(t,e,r){var n=this._getUTCPersian();n.year=t;if(e!==undefined){n.month=e}if(r!==undefined){n.day=r}return this._setUTCPersian(n)};e.set(r.Persian,n);return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/date/UI5Date\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/i18n/date/TimezoneUtils\"],function(t,e,n){\"use strict\";var o=[\"year\",\"month\",\"day\",\"hour\",\"minute\",\"second\",\"fractionalSecond\"],r=/Z|GMT|:.*[\\+|\\-]|^([\\+|\\-]\\d{2})?\\d{4}(-\\d{2}){0,2}$/,i=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],a=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],s={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};const u=/^(\\d{1,4})-(\\d{1,2})-(\\d{1,2})(?:[T ](\\d{1,2})(?::(\\d{1,2})(?::(\\d{1,2})(?:\\.(\\d{1,3}))?)?)?)?$/;function c(t,e){return(t<0?\"-\":\"\")+Math.abs(t).toString().padStart(e,\"0\")}function h(e,n){var i=h._createDateInstance(e);Object.defineProperties(this,{sTimezoneID:{value:n},oDate:{value:i,writable:true},oDateParts:{value:undefined,writable:true}});if(isNaN(i)){return}if(e.length>1||e.length===1&&typeof e[0]===\"string\"&&!r.test(e[0])){const n=[i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()];const r=i.getTimezoneOffset();const a=new Date(i.getTime()-72e5).getTimezoneOffset();if(r1){n[1]=e[1]||0;n[2]=e[2]!==undefined?e[2]:1;n[3]=e[3]!==undefined?e[3]:0;n[4]=e[4]!==undefined?e[4]:0}else{const o=u.exec(e[0]);if(o){n[1]=+o[2]-1;n[2]=o[3];n[3]=o[4]!==undefined?o[4]:0;n[4]=o[5]!==undefined?o[5]:0}else{t.warning(\"UI5Date for '\"+e[0]+\"' cannot be ensured to be correct as it is near\"+\" the change from standard time to daylight saving time in the current browser locale;\"+\" use the constructor with more than 1 arguments or use the ISO format instead\",i,\"sap.ui.core.date.UI5Date\")}}}this._setParts(o,n)}}h.prototype=Object.create(Date.prototype,{constructor:{value:Date}});h.prototype[Symbol.toStringTag]=\"Date\";h.prototype._getPart=function(t){var e;if(isNaN(this.oDate)){return NaN}this.oDateParts=this.oDateParts||n._getParts(this.oDate,this.sTimezoneID);if(t===\"weekday\"){return s[this.oDateParts.weekday]}e=parseInt(this.oDateParts[t]);if(t===\"month\"){e-=1}else if(t===\"year\"){if(this.oDateParts.era===\"B\"){e=1-e}}return e};h.prototype._setParts=function(t,e){var o,r,i,a,s,u,c={},h=Math.min(t.length,e.length);if(h===0){return this.setTime(NaN)}for(o=0;o10||Math.abs(t.clientY-a)>10){o=true}if(o){v(\"mousemove\",e)}}};var m=function(e){v(\"mouseup\",e);if(!o){v(\"click\",e)}};var E=function(e){v(\"mouseup\",e)};for(;c-1&&r.fnCheck&&r.fnCheck(this)){e.push(r.sName)}}}this.getPseudoTypes=function(){return e.slice()};return e.slice()};jQuery.Event.prototype.isPseudoType=function(t){var e=this.getPseudoTypes();if(t){return e.indexOf(t)>-1}else{return e.length>0}};jQuery.Event.prototype.getOffsetX=function(){if(this.type==\"click\"&&this.offsetX){return this.offsetX}return 0};jQuery.Event.prototype.getOffsetY=function(){if(this.type==\"click\"&&this.offsetY){return this.offsetY}return 0};var e=function(t){return function(e){t.apply(this,arguments);if(e){this._bIsStopHandlers=true}}};var r=jQuery.Event.prototype.stopImmediatePropagation;jQuery.Event.prototype.stopImmediatePropagation=e(r);jQuery.Event.prototype.isImmediateHandlerPropagationStopped=function(){return!!this._bIsStopHandlers};var i=function(t){while(t&&t.originalEvent&&t!==t.originalEvent){t=t.originalEvent}return t};jQuery.Event.prototype.setMark=function(t,e){t=t||\"handledByControl\";e=arguments.length<2?true:e;var n=i(this);n[\"_sapui_\"+t]=e};jQuery.Event.prototype.isMarked=function(t){return!!this.getMark(t)};jQuery.Event.prototype.getMark=function(t){t=t||\"handledByControl\";var e=i(this);return e[\"_sapui_\"+t]};jQuery.Event.prototype.setMarked=jQuery.Event.prototype.setMark};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/events/jquery/EventSimulation\", [\"sap/base/i18n/Localization\",\"sap/base/util/Version\",\"sap/ui/core/Element\",\"sap/ui/events/PseudoEvents\",\"sap/ui/events/checkMouseEnterOrLeave\",\"sap/ui/events/ControlEvents\",\"sap/ui/Device\",\"sap/ui/events/TouchToMouseMapping\",\"sap/ui/thirdparty/jquery\",\"sap/ui/thirdparty/jquery-mobile-custom\"],function(e,t,n,o,a,s,i,u,jQuery){\"use strict\";var r={};var c=t(jQuery.fn.jquery);r.aAdditionalControlEvents=[];r.aAdditionalPseudoEvents=[];r._createSimulatedEvent=function(e,t,n){var o=\"__\"+e+\"Handler\";var a=\"sap\"+e;this.aAdditionalControlEvents.push(a);this.aAdditionalPseudoEvents.push({sName:e,aTypes:[a],fnCheck:function(e){return true}});jQuery.event.special[a]={add:function(o){var s=this,i=jQuery(this),u={domRef:s,eventName:e,sapEventName:a,eventHandle:o};var r=function(e){n(e,u)};o.__sapSimulatedEventHandler=r;for(var c=0;ct||Math.abs(u.pageY-o)>t}var r=i(a,s,a.touches[0]);setTimeout(function(){r.setMark(\"handledByUIArea\",false);s.eventHandle.handler.call(s.domRef,r)},0)};var r=function(t,u){if(t.isMarked(\"handledByTouchToMouse\")){return}t.setMarked(\"handledByTouchToMouse\");var r,c,d;function l(){return i(t,u,u.eventName===\"mouseup\"?t.changedTouches[0]:t.touches[0])}if(t.type===\"touchstart\"){var h=t.originalEvent.touches[0];e=false;n=h.pageX;o=h.pageY;a=Math.round(h.pageX-jQuery(t.target).offset().left);s=Math.round(h.pageY-jQuery(t.target).offset().top);r=l();setTimeout(function(){r.setMark(\"handledByUIArea\",false);u.eventHandle.handler.call(u.domRef,r)},0)}else if(t.type===\"touchend\"){c=l();d=!e;setTimeout(function(){c.setMark(\"handledByUIArea\",false);u.eventHandle.handler.call(u.domRef,c);if(d){c.type=\"click\";c.getPseudoTypes=jQuery.Event.prototype.getPseudoTypes;c.setMark(\"handledByUIArea\",false);c.offsetX=a;c.offsetY=s;u.eventHandle.handler.call(u.domRef,c)}},0)}};this._createSimulatedEvent(\"mousedown\",[\"touchstart\"],r);this._createSimulatedEvent(\"mousemove\",[\"touchmove\"],u);this._createSimulatedEvent(\"mouseup\",[\"touchend\",\"touchcancel\"],r)};r._init=function(t){this.aAdditionalControlEvents.push(\"swipe\",\"tap\",\"swipeleft\",\"swiperight\",\"scrollstart\",\"scrollstop\");this.aAdditionalPseudoEvents.push({sName:\"swipebegin\",aTypes:[\"swipeleft\",\"swiperight\"],fnCheck:function(t){var n=e.getRTL();return n&&t.type===\"swiperight\"||!n&&t.type===\"swipeleft\"}});this.aAdditionalPseudoEvents.push({sName:\"swipeend\",aTypes:[\"swipeleft\",\"swiperight\"],fnCheck:function(t){var n=e.getRTL();return!n&&t.type===\"swiperight\"||n&&t.type===\"swipeleft\"}});if(c.compareTo(\"1.9.1\")<0){t=t.concat(this.aAdditionalControlEvents)}else{t=this.aAdditionalControlEvents.concat(t)}for(var n=0;n-1){n.aPendingRequestHandles.splice(i,1)}}if(!(e&&e.bSuppressErrorHandlerCall)){t.apply(this,arguments)}}}t.success=i(t.success);t.error=i(t.error);e=jQuery.ajax(t);if(t.async){this.aPendingRequestHandles.push(e)}};n.prototype.destroy=function(){t.prototype.destroy.apply(this,arguments);if(this.aPendingRequestHandles){for(var e=this.aPendingRequestHandles.length-1;e>=0;e--){var n=this.aPendingRequestHandles[e];if(n&&n.abort){n.bSuppressErrorHandlerCall=true;n.abort()}}delete this.aPendingRequestHandles}};n.prototype.destroyBindingContext=function(t){};n.prototype.bindContext=function(t,n,i){var r=new e(this,t,n,i);return r};n.prototype.updateBindings=function(t){this.checkUpdate(t)};n.prototype.forceNoCache=function(t){this.bCache=!t};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/ClientPropertyBinding\", [\"./PropertyBinding\"],function(t){\"use strict\";var e=t.extend(\"sap.ui.model.ClientPropertyBinding\",{constructor:function(e,s,i,o){t.apply(this,arguments);this.oValue=this._getValue();this.setIgnoreMessages(o&&o.ignoreMessages)}});e.prototype.getValue=function(){return this.oValue};e.prototype._getValue=function(){var t=this.sPath.substr(this.sPath.lastIndexOf(\"/\")+1);if(this.oContext&&t==\"__name__\"){var e=this.oContext.getPath().split(\"/\");return e[e.length-1]}return this.oModel.getProperty(this.sPath,this.oContext)};e.prototype.setContext=function(t){if(this.oContext!=t){var e=sap.ui.require(\"sap/ui/core/Messaging\");if(e){e.removeMessages(this.getDataState().getControlMessages(),true)}this.oContext=t;if(this.isRelative()){this.checkUpdate()}}};e.prototype.supportsIgnoreMessages=function(){return true};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/ClientTreeBinding\", [\"./ChangeReason\",\"./TreeBinding\",\"sap/base/util/each\",\"sap/ui/model/FilterProcessor\",\"sap/ui/model/FilterType\",\"sap/ui/model/SorterProcessor\"],function(t,e,i,o,r,s){\"use strict\";var n=e.extend(\"sap.ui.model.ClientTreeBinding\",{constructor:function(t,i,o,s,n,h){e.apply(this,arguments);if(!this.oContext){this.oContext=\"\"}this._mLengthsCache={};this.filterInfo={aFilteredContexts:[],iMatches:0,oParentContext:{}};this.oCombinedFilter=null;this.mNormalizeCache={};if(s){this.oModel.checkFilter(s);if(this.oModel._getObject(this.sPath,this.oContext)){this.filter(s,r.Application)}}}});n.prototype.getRootContexts=function(t,e){if(!t){t=0}if(!e){e=this.oModel.iSizeLimit}var o=this.getResolvedPath(),r=this,s,n,h;if(!o){return[]}if(!this.oModel.isList(o)){n=this.oModel.getContext(o);if(this.bDisplayRootNode){s=[n]}else{s=this.getNodeContexts(n,t,e)}}else{s=[];h=this._sanitizePath(o);i(this.oModel._getObject(h),function(t,e){r._saveSubContext(e,s,h,t)});this._applySorter(s);this._setLengthCache(h,s.length);s=s.slice(t,t+e)}return s};n.prototype.getNodeContexts=function(t,e,i){if(!e){e=0}if(!i){i=this.oModel.iSizeLimit}var o=this._sanitizePath(t.getPath());var r=[],s=this,n=this.oModel._getObject(o),h=this.mParameters&&this.mParameters.arrayNames,a;if(n){if(Array.isArray(n)){n.forEach(function(t,e){s._saveSubContext(t,r,o,e)})}else{a=h||Object.keys(n);a.forEach(function(t){var e=n[t];if(e){if(Array.isArray(e)){e.forEach(function(e,i){s._saveSubContext(e,r,o,t+\"/\"+i)})}else if(typeof e==\"object\"){s._saveSubContext(e,r,o,t)}}})}}this._applySorter(r);this._setLengthCache(o,r.length);return r.slice(e,e+i)};n.prototype.hasChildren=function(t){if(t==undefined){return false}return this.getChildCount(t)>0};n.prototype.getChildCount=function(t){var e=t?t.sPath:this.getPath();if(this.oContext){e=this.oModel.resolve(e,this.oContext)}e=this._sanitizePath(e);if(this._mLengthsCache[e]===undefined){if(t){this.getNodeContexts(t)}else{this.getRootContexts()}}return this._mLengthsCache[e]};n.prototype._sanitizePath=function(t){if(!t.endsWith(\"/\")){t=t+\"/\"}if(!t.startsWith(\"/\")){t=\"/\"+t}return t};n.prototype._saveSubContext=function(t,e,i,o){if(t&&typeof t==\"object\"){var r=this.oModel.getContext(i+o);if(this.oCombinedFilter&&!this.bIsFiltering){if(this.filterInfo.aFilteredContexts.indexOf(r)!=-1){e.push(r)}}else{e.push(r)}}};n.prototype.filter=function(t,e){if(t&&!Array.isArray(t)){t=[t]}this.oModel.checkFilter(t);if(e==r.Application){this.aApplicationFilters=t||[]}else if(e==r.Control){this.aFilters=t||[]}else{this.aFilters=t||[];this.aApplicationFilters=[]}this.oCombinedFilter=o.combineFilters(this.aFilters,this.aApplicationFilters);if(this.oCombinedFilter){this.applyFilter()}this._mLengthsCache={};this._fireChange({reason:\"filter\"});this._fireFilter({filters:t});return this};n.prototype.applyFilter=function(){this.filterInfo.aFilteredContexts=[];this.filterInfo.iMatches=0;this.filterInfo.oParentContext={};this._applyFilterRecursive()};n.prototype._applyFilterRecursive=function(t){var e=this,r=[];if(!this.oCombinedFilter){return}this.bIsFiltering=true;var s;if(t){s=this.getNodeContexts(t,0,Number.MAX_VALUE)}else{s=this.getRootContexts(0,Number.MAX_VALUE)}this.bIsFiltering=false;if(s.length>0){i(s,function(i,o){o._parentContext=t;e._applyFilterRecursive(o)});r=o.apply(s,this.oCombinedFilter,function(t,i){return e.oModel.getProperty(i,t)},this.mNormalizeCache);if(r.length>0){this.filterInfo.aFilteredContexts=this.filterInfo.aFilteredContexts.concat(r);this.filterInfo.aFilteredContexts.push(t);this.filterInfo.oParentContext=t;this.filterInfo.iMatches+=r.length}if(s.indexOf(this.filterInfo.oParentContext)!=-1){this.filterInfo.aFilteredContexts.push(t);this.filterInfo.oParentContext=t}}};n.prototype.sort=function(e){e=e||[];this.aSorters=Array.isArray(e)?e:[e];this._fireChange({reason:t.Sort});return this};n.prototype._applySorter=function(t){var e=this;s.apply(t,this.aSorters,function(t,i){return e.oModel.getProperty(i,t)},function(t){return t.getPath()})};n.prototype._setLengthCache=function(t,e){this._mLengthsCache[t]=e};n.prototype.checkUpdate=function(t){this.applyFilter();this._mLengthsCache={};this._fireChange()};n.prototype.getCount=function(){if(!this.isResolved()){return undefined}if(this.oCombinedFilter){return this.filterInfo.iMatches}return n._getTotalNodeCount(this.oModel.getObject(this.getResolvedPath()),this.mParameters&&this.mParameters.arrayNames,true)};n._getTotalNodeCount=function(t,e,i){if(t===null||typeof t!==\"object\"){return 0}if(Array.isArray(t)){return t.reduce(function(t,i){return t+n._getTotalNodeCount(i,e)},0)}return(e||Object.keys(t)).reduce(function(i,o){return i+n._getTotalNodeCount(t[o],e)},i?0:1)};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/CompositeBinding\", [\"./BindingMode\",\"./ChangeReason\",\"./CompositeDataState\",\"./CompositeType\",\"./Context\",\"./PropertyBinding\",\"sap/base/Log\",\"sap/base/util/deepEqual\",\"sap/ui/base/DataType\",\"sap/ui/base/SyncPromise\"],function(t,e,n,a,i,s,r,u,o,h){\"use strict\";var l=s.extend(\"sap.ui.model.CompositeBinding\",{constructor:function(t,e,n){var a;s.apply(this,[null,\"\"]);this.aBindings=t;this.aValues=null;this.bRawValues=e;this.bPreventUpdate=false;this.bInternalValues=n;this.bMultipleModels=this.aBindings.some(function(t){var e=t.getModel();a=a||e;return a&&e&&e!==a});this.aOriginalValues=undefined;this.fnChangeHandler=undefined;this.fnDataStateChangeHandler=undefined},metadata:{publicMethods:[\"getBindings\",\"attachChange\",\"detachChange\"]}});l.prototype.destroy=function(){this.aBindings.forEach(function(t){t.destroy()});s.prototype.destroy.apply(this)};l.prototype.getPath=function(){return null};l.prototype.getModel=function(){return null};l.prototype.getContext=function(){return null};l.prototype.isResolved=function(){return this.aBindings.every(function(t){return t.isResolved()})};l.prototype.setType=function(t,e){const n=this;function i(){n.oType?.processPartTypes(n.aBindings.map(function(t){return t.getType()}))}if(t&&!(t instanceof a)){throw new Error(\"Only CompositeType can be used as type for composite bindings!\")}s.prototype.setType.apply(this,arguments);if(this.oType){t.getPartsIgnoringMessages().forEach(function(t){var e=n.aBindings[t];if(e&&e.supportsIgnoreMessages()&&e.getIgnoreMessages()===undefined){e.setIgnoreMessages(true)}});this.bRawValues=this.oType.getUseRawValues();this.bInternalValues=this.oType.getUseInternalValues();i();t.getPartsListeningToTypeChanges().forEach(t=>{this.aBindings[t].registerTypeChanged(i)});if(this.bRawValues&&this.bInternalValues){throw new Error(this.oType+\" has both 'bUseRawValues' & 'bUseInternalValues' set to true. Only one of them is allowed to be true\")}}};l.prototype.setContext=function(t,e){var n,a,s=this.aBindings,r=t&&t.getModel(),u=e&&e.fnIsBindingRelevant?e.fnIsBindingRelevant:function(e){return!t||r&&r===s[e].getModel()};s.forEach(function(e,s){var r;if(u(s)){r=e.getContext();n=n||e.isRelative()&&i.hasChanged(r,t);a=a||n&&r!==t;e.setContext(t)}});if(n){this.checkUpdate(a&&this.getDataState().getControlMessages().length)}};l.prototype.setValue=function(e){if(this.bSuspended){return}this.aBindings.forEach(function(n,a){var i=e[a],s=n.getBindingMode();if(i!==undefined&&s!==t.OneWay&&s!==t.OneTime){n.setValue(i)}});this.getDataState().setValue(this.getValue())};l.prototype.getValue=function(){return this.aBindings.map(function(t){return t.getValue()})};l.prototype.getOriginalValue=function(){return this.aBindings.map(function(t){return t.getDataState().getOriginalValue()})};l.prototype.getExternalValue=function(){var t=[],e,n;switch(this.sInternalType){case\"raw\":return this.getRawValue();case\"internal\":return this.getInternalValue();default:e=this.sInternalType&&o.getType(this.sInternalType);t=this.getCurrentValues();if(this.fnFormatter){n=this.fnFormatter.apply(this,t)}else if(this.oType){n=this.oType.formatValue(t,this.sInternalType)}else if(e instanceof o&&e.isArrayType()){n=t}else if(t.length>1){n=t.join(\" \")}else{n=t[0]}return n}};l.prototype.setExternalValue=function(e){var n,a,i,s,u=this;if(this.sInternalType===\"raw\"){this.setRawValue(e);return undefined}else if(this.sInternalType===\"internal\"){this.setInternalValue(e);return undefined}n=this.sInternalType&&o.getType(this.sInternalType);if(this.fnFormatter){r.warning(\"Tried to use twoway binding, but a formatter function is used\");return undefined}a=this.getDataState();let l;if(this.oType){l=this.aBindings.map(t=>t.getContext());s=h.resolve().then(function(){var t;if(u.oType.getParseWithValues()){t=u.getCurrentValues()}return u.oType.parseValue(e,u.sInternalType,t)}).then(function(t){var e=u.getValidateValues(t);return h.all([t,u.oType.validateValue(e)])}).then(function(t){return t[0]}).catch(function(t){a.setInvalidValue(e);u.checkDataState();throw t})}else if(Array.isArray(e)&&n instanceof o&&n.isArrayType()){s=h.resolve(e)}else if(typeof e==\"string\"){s=h.resolve(e.split(\" \"))}else{s=h.resolve([e])}i=s.then(function(n){u.aBindings.forEach(function(a,i){var s=a.getBindingMode();e=n[i];let r;if(l&&l[i]!==a.getContext()){r=l[i]}if(e!==undefined&&s!==t.OneWay&&s!==t.OneTime){if(u.bRawValues){a._setRawValue(e,r)}else if(u.bInternalValues){a._setInternalValue(e,r)}else{a._setExternalValue(e,r)}}});a.setValue(u.getValue());a.setInvalidValue(undefined)});i.catch(function(){});return i.unwrap()};l.prototype.getInternalValue=function(){return this.aBindings.map(function(t){return t.getInternalValue()})};l.prototype.setInternalValue=function(e){var n=this.getDataState(),a,i=this;if(this.oType){a=h.resolve(e).then(function(t){if(!i.bInternalValues){t=i.aBindings.map(function(e,n){return e._internalToRaw(t[n])});if(!i.bRawValues){t=i.aBindings.map(function(e,n){return e._rawToExternal(t[n])})}}return i.oType.validateValue(t)}).then(function(){return e}).catch(function(t){n.setInvalidValue(e);i.checkDataState();throw t})}else{a=h.resolve(e)}return a.then(function(){i.aBindings.forEach(function(n,a){var i=e[a],s=n.getBindingMode();if(i!==undefined&&s!==t.OneWay&&s!==t.OneTime){n.setInternalValue(i)}});n.setValue(i.getValue());n.setInvalidValue(undefined)}).unwrap()};l.prototype.getRawValue=function(){return this.aBindings.map(function(t){return t.getRawValue()})};l.prototype.setRawValue=function(e){var n=this.getDataState(),a,i=this;if(this.oType){a=h.resolve(e).then(function(t){if(!i.bRawValues){if(i.bInternalValues){t=i.aBindings.map(function(e,n){return e._rawToInternal(t[n])})}else{t=i.aBindings.map(function(e,n){return e._rawToExternal(t[n])})}}return i.oType.validateValue(t)}).then(function(){return e}).catch(function(t){n.setInvalidValue(e);i.checkDataState();throw t})}else{a=h.resolve(e)}return a.then(function(){i.aBindings.forEach(function(n,a){var i=e[a],s=n.getBindingMode();if(i!==undefined&&s!==t.OneWay&&s!==t.OneTime){n.setRawValue(i)}});n.setValue(i.getValue());n.setInvalidValue(undefined)}).unwrap()};l.prototype.getCurrentValues=function(){if(this.bRawValues){return this.getRawValue()}else if(this.bInternalValues){return this.getInternalValue()}else{return this.aBindings.map(function(t){return t.getExternalValue()})}};l.prototype.getValidateValues=function(t){var e,n,a=t;n=this.aBindings.some(function(e,n){return t[n]===undefined});if(n){e=this.getCurrentValues();a=e.map(function(e,n){return t[n]===undefined?e:t[n]})}return a};l.prototype.getBindings=function(){return this.aBindings};l.prototype.hasValidation=function(){if(this.getType()){return true}var t=this.getBindings();for(var e=0;e{t.setParent(this)})}});a.prototype._hasInnerInvalidValues=function(){return this.aDataStates.reduce(function(t,e){if(e.getInvalidValue()!==undefined){return true}else{return t}},false)};a.prototype.getInternalProperty=function(t){var e;if(t===\"invalidValue\"&&this._hasInnerInvalidValues()){e=this.aDataStates.map(function(t){return t.getProperty(\"invalidValue\")||t.getProperty(\"value\")})}else{e=this.aDataStates.map(function(e){return e.getProperty(t)})}return e};a.prototype.getProperty=function(e){var r=t.prototype.getProperty.apply(this,arguments);var a=this.getInternalProperty(e);var s;switch(e){case\"modelMessages\":case\"controlMessages\":s=r;for(var i=0;it.isControlDirtyInternal())};a.prototype.isLaundering=function(){return this.aDataStates.reduce(function(t,e){if(e.isLaundering()){return true}else{return t}},t.prototype.isLaundering.apply(this,arguments))};a.prototype.getInvalidValue=function(){var t=this.mChangedProperties[\"invalidValue\"];var e=this.getInternalProperty(\"invalidValue\");if(e&&this.containsValues(e)){t=e;this.setInvalidValue(e)}return t};a.prototype.changed=function(t){if(t===false){this.mProperties=Object.assign({},this.mChangedProperties);this.aDataStates.forEach(function(t){t.changed(false)})}return this.aDataStates.reduce(function(t,e){if(t){return true}else{return e.changed()}},!e(this.mProperties,this.mChangedProperties))};a.prototype.getChanges=function(){var t={};var a,s,i;var n=[];for(a=0;a0||h.length>0){u[\"messages\"]={};u[\"messages\"].oldValue=h;u[\"messages\"].value=p}return u};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/CompositeType\", [\"./SimpleType\"],function(e){\"use strict\";var t=e.extend(\"sap.ui.model.CompositeType\",{constructor:function(t,s){e.apply(this,arguments);this.sName=\"CompositeType\";this.bUseRawValues=false;this.bParseWithValues=false;this.bUseInternalValues=false},metadata:{abstract:true}});t.prototype.getPartsIgnoringMessages=function(){return[]};t.prototype.getPartsListeningToTypeChanges=function(){return[]};t.prototype.getUseRawValues=function(){return this.bUseRawValues};t.prototype.getUseInternalValues=function(){return this.bUseInternalValues};t.prototype.getParseWithValues=function(){return this.bParseWithValues};t.prototype.processPartTypes=function(e){};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/Context\", [\"sap/base/util/isPlainObject\",\"sap/ui/base/Object\"],function(t,e){\"use strict\";var o=e.extend(\"sap.ui.model.Context\",{constructor:function(t,o){e.apply(this);this.oModel=t;this.sPath=o;this.bForceRefresh=false;this.sDeepPath=\"\"},metadata:{publicMethods:[\"getModel\",\"getPath\",\"getProperty\",\"getObject\"]}});o.prototype.getModel=function(){return this.oModel};o.prototype.getPath=function(t){return this.sPath+(t?\"/\"+t:\"\")};o.prototype.getProperty=function(t){return this.oModel.getProperty(t,this)};o.prototype.setProperty=function(t,e,o,r){if(!this.oModel.setProperty(t,e,this,true)){throw new Error(\"Cannot set the value \"+e+\" for the property \"+t+\" as the context path \"+this.getPath()+\" does not refer to an entry in the model data.\")}};o.prototype.getObject=function(e,o){if(t(e)){o=e;e=undefined}return this.oModel.getObject(e,this,o)};o.prototype.setForceRefresh=function(t){this.bForceRefresh=t};o.prototype.isRefreshForced=function(){return this.bForceRefresh};o.prototype.setPreliminary=function(t){this.bPreliminary=t};o.prototype.isPreliminary=function(){return this.bPreliminary};o.prototype.setUpdated=function(t){this.bUpdated=t};o.prototype.isUpdated=function(){return this.bUpdated};o.prototype.hasChanged=function(){return false};o.hasChanged=function(t,e){return t!==e||!!e&&!!e.hasChanged()};o.prototype.toString=function(){return this.sPath};o.prototype.getMessages=function(){return this.oModel.getMessages(this)};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/ContextBinding\", [\"./Binding\"],function(t){\"use strict\";var n=t.extend(\"sap.ui.model.ContextBinding\",{constructor:function(n,e,o,i,u){t.call(this,n,e,o,i,u);this.oElementContext=null;this.bInitial=true},metadata:{publicMethods:[\"getBoundContext\"]}});n.prototype.checkUpdate=function(t){};n.prototype.getBoundContext=function(){return this.oElementContext};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/DataState\", [\"sap/base/util/deepEqual\",\"sap/base/util/each\",\"sap/ui/base/Object\",\"sap/ui/core/message/Message\"],function(e,t,r,s){\"use strict\";var i=r.extend(\"sap.ui.model.DataState\",{metadata:{},constructor:function(){this.mProperties=i.getInitialProperties();this.mChangedProperties=i.getInitialProperties()}});i.prototype.setParent=function(e){this.oParentDataState=e};i.prototype.setProperty=function(e,t){this.mChangedProperties[e]=t;return this};i.prototype.calculateChanges=function(){for(var t in this.mChangedProperties){var r=this.mChangedProperties[t].value;if(!e(this.mProperties[t],r)){if(Array.isArray(r)){r=r.slice(0)}this.mProperties[t]=r}}return this};i.prototype.getProperty=function(e){return this.mChangedProperties[e]};i.prototype.getAllMessages=function(){var e=new Set;this.getMessages().forEach(e.add.bind(e));this._getOldMessages().forEach(e.add.bind(e));return Array.from(e)};i.prototype.getMessages=function(){return i.getMessagesForProperties(this.mChangedProperties)};i.prototype._getOldMessages=function(){return i.getMessagesForProperties(this.mProperties)};i.getMessagesForProperties=function(e){var t=[],r=e.controlMessages,i=e.modelMessages;if(i.length||r.length){t=t.concat(r||[],i||[]);t.sort(s.compare)}return t};i.prototype.setModelMessages=function(e){this.mChangedProperties[\"modelMessages\"]=e||[];return this};i.prototype.getModelMessages=function(){return this.getProperty(\"modelMessages\")};i.prototype.setControlMessages=function(e){this.mChangedProperties[\"controlMessages\"]=e||[];return this};i.prototype.getControlMessages=function(){return this.getProperty(\"controlMessages\")};i.prototype.isDirty=function(){var t=this.mChangedProperties[\"value\"],r=this.mChangedProperties[\"originalValue\"];return this.isControlDirty()||!e(t,r)};i.prototype.isControlDirty=function(){return this.oParentDataState?this.oParentDataState.isControlDirty():this.isControlDirtyInternal()};i.prototype.isControlDirtyInternal=function(){return this.mChangedProperties[\"invalidValue\"]!==undefined};i.prototype.isLaundering=function(){return this.mChangedProperties[\"laundering\"]};i.prototype.setLaundering=function(e){this.mChangedProperties[\"laundering\"]=e;return this};i.prototype.getValue=function(){return this.getProperty(\"value\")};i.prototype.setValue=function(e){this.mChangedProperties[\"value\"]=e;return this};i.prototype.getInvalidValue=function(){return this.getProperty(\"invalidValue\")};i.prototype.setInvalidValue=function(e){this.mChangedProperties[\"invalidValue\"]=e;return this};i.prototype.getOriginalValue=function(){return this.getProperty(\"originalValue\")};i.prototype.setOriginalValue=function(e){this.mChangedProperties[\"originalValue\"]=e;return this};i.prototype.changed=function(t){if(t===false){this.mProperties=Object.assign({},this.mChangedProperties)}return!e(this.mChangedProperties,this.mProperties)};i.prototype.getChanges=function(){var r={},s,i;t(this.mChangedProperties,function(t,s){if(!e(this.mChangedProperties[t],this.mProperties[t])){r[t]={};r[t].value=this.mChangedProperties[t];r[t].oldValue=this.mProperties[t]}}.bind(this));s=this.getMessages();i=this._getOldMessages();if(s.length>0||i.length>0){r[\"messages\"]={};r[\"messages\"].oldValue=i;r[\"messages\"].value=s}return r};i.getInitialProperties=function(){return{controlMessages:[],dirty:false,internalValue:undefined,invalidValue:undefined,laundering:false,messages:[],modelMessages:[],originalInternalValue:undefined,originalValue:undefined,value:undefined}};i.prototype.reset=function(){this.mChangedProperties=i.getInitialProperties()};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/Filter\", [\"./FilterOperator\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/ui/base/Object\"],function(t,e,r,i){\"use strict\";var a=i.extend(\"sap.ui.model.Filter\",{constructor:function(r,o,s,l){i.call(this);if(typeof r===\"object\"&&!Array.isArray(r)){this.sPath=r.path;this.sOperator=r.operator;this.oValue1=r.value1;this.oValue2=r.value2;this.sVariable=r.variable;this.oCondition=r.condition;this.aFilters=r.filters||r.aFilters;this.bAnd=r.and||r.bAnd;this.fnTest=r.test;this.fnCompare=r.comparator;this.bCaseSensitive=r.caseSensitive}else{if(Array.isArray(r)){this.aFilters=r}else{this.sPath=r}if(typeof o===\"boolean\"){this.bAnd=o}else if(typeof o===\"function\"){this.fnTest=o}else{this.sOperator=o}this.oValue1=s;this.oValue2=l;if(this.sOperator===t.Any||this.sOperator===t.All||this.sOperator===t.NotAny||this.sOperator===t.NotAll){throw new Error(\"The filter operators 'Any', 'All', 'NotAny', and 'NotAll' are only supported with \"+\"the parameter object notation.\")}}if(this.aFilters?.includes(a.NONE)){throw new Error(\"Filter.NONE not allowed in multiple filter\")}else if(this.oCondition&&this.oCondition===a.NONE){throw new Error(\"Filter.NONE not allowed as condition\")}if(this.sOperator===t.Any||this.sOperator===t.NotAny){if(this.sVariable&&this.oCondition){this._checkLambdaArgumentTypes()}else if(!this.sVariable&&!this.oCondition){}else{throw new Error(\"When using the filter operator 'Any' or 'NotAny', you need to provide \"+\"both a lambda variable and a condition, or neither.\")}}else if(this.sOperator===t.All||this.sOperator===t.NotAll){this._checkLambdaArgumentTypes()}else if(Array.isArray(this.aFilters)&&!this.sPath&&!this.sOperator&&!this.oValue1&&!this.oValue2){this._bMultiFilter=true;if(!this.aFilters.every(n)){e.error(\"Filter in aggregation of multi filter has to be instance of\"+\" sap.ui.model.Filter\")}}else if(!this.aFilters&&this.sPath!==undefined&&(this.sOperator&&this.oValue1!==undefined||this.fnTest)){this._bMultiFilter=false}else{e.error(\"Wrong parameters defined for filter.\")}this.sFractionalSeconds1=undefined;this.sFractionalSeconds2=undefined}});a.NONE=new a({path:\"/\",test:()=>false});a.checkFilterNone=function(t){if(Array.isArray(t)&&t.length>1&&t.includes(a.NONE)){throw new Error(\"Filter.NONE cannot be used together with other filters\")}};a.prototype._checkLambdaArgumentTypes=function(){if(!this.sVariable||typeof this.sVariable!==\"string\"){throw new Error(\"When using the filter operators 'Any', 'All', 'NotAny', or 'NotAll', a string has to be \"+\"given as the 'variable' argument.\")}if(!n(this.oCondition)){throw new Error(\"When using the filter operator 'Any', 'All', 'NotAny', or 'NotAll', a valid instance of \"+\"sap.ui.model.Filter has to be given as the 'condition' argument.\")}};function n(t){return t instanceof a}a.prototype.appendFractionalSeconds1=function(t){this.sFractionalSeconds1=t};a.prototype.appendFractionalSeconds2=function(t){this.sFractionalSeconds2=t};var o={Logical:\"Logical\",Binary:\"Binary\",Unary:\"Unary\",Lambda:\"Lambda\",Reference:\"Reference\",Literal:\"Literal\",Variable:\"Variable\",Call:\"Call\",Custom:\"Custom\"};var s={Equal:\"==\",NotEqual:\"!=\",LessThan:\"<\",GreaterThan:\">\",LessThanOrEqual:\"<=\",GreaterThanOrEqual:\">=\",And:\"&&\",Or:\"||\",Not:\"!\"};var l={Contains:\"contains\",StartsWith:\"startswith\",EndsWith:\"endswith\"};a.prototype.getAST=function(e){var r,i,a,n,h,u,p;function c(t,e,r){return{type:o.Logical,op:t,left:e,right:r}}function f(t,e,r){return{type:o.Binary,op:t,left:e,right:r}}function d(t,e){return{type:o.Unary,op:t,arg:e}}function y(t,e,r,i){return{type:o.Lambda,op:t,ref:e,variable:r,condition:i}}function b(t){return{type:o.Reference,path:t}}function A(t){return{type:o.Literal,value:t}}function g(t){return{type:o.Variable,name:t}}function N(t,e){return{type:o.Call,name:t,args:e}}if(this.aFilters){i=this.bAnd?s.And:s.Or;a=this.bAnd?\"AND\":\"OR\";r=this.aFilters[this.aFilters.length-1].getAST(e);for(var O=this.aFilters.length-2;O>=0;O--){r=c(i,this.aFilters[O].getAST(e),r)}}else{i=this.sOperator;a=this.sOperator;n=b(this.sPath);h=A(this.oValue1);switch(i){case t.EQ:r=f(s.Equal,n,h);break;case t.NE:r=f(s.NotEqual,n,h);break;case t.LT:r=f(s.LessThan,n,h);break;case t.GT:r=f(s.GreaterThan,n,h);break;case t.LE:r=f(s.LessThanOrEqual,n,h);break;case t.GE:r=f(s.GreaterThanOrEqual,n,h);break;case t.Contains:r=N(l.Contains,[n,h]);break;case t.StartsWith:r=N(l.StartsWith,[n,h]);break;case t.EndsWith:r=N(l.EndsWith,[n,h]);break;case t.NotContains:r=d(s.Not,N(l.Contains,[n,h]));break;case t.NotStartsWith:r=d(s.Not,N(l.StartsWith,[n,h]));break;case t.NotEndsWith:r=d(s.Not,N(l.EndsWith,[n,h]));break;case t.BT:u=h;p=A(this.oValue2);r=c(s.And,f(s.GreaterThanOrEqual,n,u),f(s.LessThanOrEqual,n,p));break;case t.NB:u=h;p=A(this.oValue2);r=c(s.Or,f(s.LessThan,n,u),f(s.GreaterThan,n,p));break;case t.Any:case t.All:case t.NotAny:case t.NotAll:{let a=i;if(i===t.NotAny){a=t.Any}else if(i===t.NotAll){a=t.All}const o=y(a,n,g(this.sVariable),this.oCondition.getAST(e));r=i===t.NotAny||i===t.NotAll?d(s.Not,o):o;break}default:throw new Error(\"Unknown operator: \"+i)}}if(e&&!r.origin){r.o Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_V2Requestor\", [\"./_Helper\",\"./_Parser\",\"sap/base/i18n/date/CalendarType\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/odata/ODataUtils\"],function(e,t,r,a,n){\"use strict\";var i=/^\\/Date\\((-?\\d+)\\)\\/$/,o,s=/^\\/Date\\((-?\\d+)(?:([-+])(\\d\\d)(\\d\\d))?\\)\\/$/,c,u={},f=/\\+/g,d=/^([^(]+)(\\(.+\\))$/,l=/\\//g,p=/^PT(?:(?:(\\d+)H)?(?:(\\d+)M)?(?:(\\d+)(\\.\\d+)?S)?)$/i,m;const y={};y.mFinalHeaders={\"Content-Type\":\"application/json;charset=UTF-8\"};y.mPredefinedPartHeaders={Accept:\"application/json\"};y.mPredefinedRequestHeaders={Accept:\"application/json\",MaxDataServiceVersion:\"2.0\",DataServiceVersion:\"2.0\",\"X-CSRF-Token\":\"Fetch\"};y.mReservedHeaders={accept:true,\"content-id\":true,\"content-transfer-encoding\":true,\"content-type\":true,dataserviceversion:true,\"if-match\":true,\"if-none-match\":true,maxdataserviceversion:true,\"sap-contextid\":true,\"x-http-method\":true};y.convertBinary=function(e){return e.replace(f,\"-\").replace(l,\"_\")};y.convertDate=function(e){var t,r=i.exec(e);if(!r){throw new Error(\"Not a valid Edm.DateTime value '\"+e+\"'\")}t=new Date(parseInt(r[1]));if(Number(r[1]%(24*60*60*1e3))!==0){throw new Error(\"Cannot convert Edm.DateTime value '\"+e+\"' to Edm.Date because it contains a time of day\")}return o.format(t)};y.convertDateTimeOffset=function(e,t){var n=s.exec(e),i,o,c,f,d=\"yyyy-MM-dd'T'HH:mm:ss\",l=t.$Precision,p;if(!n){throw new Error(\"Not a valid Edm.DateTimeOffset value '\"+e+\"'\")}p=parseInt(n[1]);o=parseInt(n[3]);c=parseInt(n[4]);if(!n[2]||o===0&&c===0){i=\"Z\"}else{f=n[2]===\"-\"?-1:1;p+=f*(o*60*60*1e3+c*60*1e3);i=n[2]+n[3]+\":\"+n[4]}if(l>0){d+=\".\"+\"\".padEnd(l,\"S\")}u[d]??=a.getDateTimeInstance({calendarType:r.Gregorian,pattern:d,UTC:true});return u[d].format(new Date(p))+i};y.convertDoubleSingle=function(e){switch(e){case\"NaN\":case\"INF\":case\"-INF\":return e;default:return parseFloat(e)}};y.convertFilter=function(r,a){var n=t.parseFilter(r),i=this;function o(t,r){var a,n=c(r);if(n.$Type!==\"Edm.String\"){a=e.parseLiteral(t.value,n.$Type,n.path);t.value=i.formatPropertyAsLiteral(a,n)}}function s(e,t){throw new Error(\"Cannot convert filter to V2, \"+t+\" at \"+e.at+\": \"+r)}function c(e){var t;if(e.type){return{$Type:e.type}}if(e.id===\"PATH\"){t=i.oModelInterface.fetchMetadata(a+\"/\"+e.value).getResult();if(!t){throw new Error(\"Invalid filter path: \"+e.value)}return{path:e.value,$Type:t.$Type,$v2Type:t.$v2Type}}return c(e.parameters[0])}function u(e){if(e){if(e.id===\"VALUE\"&&e.ambiguous){s(e,\"ambiguous type for the literal\")}u(e.left);u(e.right);if(e.parameters){if(e.value===\"contains\"){e.value=\"substringof\";e.parameters.push(e.parameters.shift())}e.parameters.forEach(u)}if(e.left&&e.right){if(e.left.id===\"VALUE\"){if(e.right.id===\"VALUE\"){s(e,\"saw literals on both sides of '\"+e.id+\"'\")}o(e.left,e.right)}else if(e.right.id===\"VALUE\"){o(e.right,e.left)}}}}u(n);return t.buildFilterString(n)};y.convertKeyPredicate=function(r,a){var n=this.fetchTypeForPath(e.getMetaPath(a)).getResult(),i=t.parseKeyPredicate(decodeURIComponent(r)),o=this;function s(t,r){var i=n[t];if(i.$Type!==\"Edm.String\"){r=o.formatPropertyAsLiteral(e.parseLiteral(r,i.$Type,a),i)}return encodeURIComponent(r)}if(\"\"in i){return\"(\"+s(n.$Key[0],i[\"\"])+\")\"}return\"(\"+n.$Key.map(function(e){return encodeURIComponent(e)+\"=\"+s(e,i[e])}).join(\",\")+\")\"};y.convertNonPrimitive=function(e){var t,r,a,n,i=this;if(Array.isArray(e.results)){e.results.forEach(function(e){i.convertNonPrimitive(e)});return e.results}if(!e.__metadata||!e.__metadata.type){throw new Error(\"Cannot convert structured value without type information in \"+\"__metadata.type: \"+JSON.stringify(e))}a=e.__metadata.type;r=i.getTypeForName(a);delete e.__metadata;for(t in e){n=e[t];if(n===null){continue}if(typeof n===\"object\"){if(n.__deferred){delete e[t]}else{e[t]=this.convertNonPrimitive(n)}continue}e[t]=this.convertPrimitive(n,r[t],a,t)}return e};y.convertPrimitive=function(e,t,r,a){switch(t&&t.$Type){case\"Edm.Binary\":return this.convertBinary(e);case\"Edm.Date\":return this.convertDate(e);case\"Edm.DateTimeOffset\":return this.convertDateTimeOffset(e,t);case\"Edm.Boolean\":case\"Edm.Byte\":case\"Edm.Decimal\":case\"Edm.Guid\":case\"Edm.Int16\":case\"Edm.Int32\":case\"Edm.Int64\":case\"Edm.SByte\":case\"Edm.String\":return e;case\"Edm.Double\":case\"Edm.Single\":return this.convertDoubleSingle(e);case\"Edm.TimeOfDay\":return this.convertTimeOfDay(e);default:throw new Error(\"Type '\"+(t&&t.$Type)+\"' of property '\"+a+\"' in type '\"+r+\"' is unknown; cannot convert value: \"+e)}};y.convertResourcePath=function(e){var t=e.indexOf(\"?\"),r=\"\",a,n=-1,i=this;if(t>0){r=e.slice(t);e=e.slice(0,t)}a=e.split(\"/\");return a.map(function(t){var r=d.exec(t);n+=t.length+1;if(r){t=r[1]+i.convertKeyPredicate(r[2],\"/\"+e.slice(0,n))}return t}).join(\"/\")+r};y.convertTimeOfDay=function(e){var t,r=p.exec(e),a;if(!r){throw new Error(\"Not a valid Edm.Time value '\"+e+\"'\")}a=Date.UTC(1970,0,1,r[1]||0,r[2]||0,r[3]||0);t=new Date(a);return m.format(t)+(r[4]||\"\")};y.doCheckVersionHeader=function(e,t,r){var a=e(\"DataServiceVersion\"),n=!a&&e(\"OData-Version\");if(n){throw new Error(\"Expected 'DataServiceVersion' header with value '1.0' or '2.0' but \"+\"received 'OData-Version' header with value '\"+n+\"' in response for \"+this.sServiceUrl+t)}if(!a){return}a=a.split(\";\")[0];if(a===\"1.0\"||a===\"2.0\"){return}throw new Error(\"Expected 'DataServiceVersion' header with value '1.0' or '2.0' but \"+\"received value '\"+a+\"' in response for \"+this.sServiceUrl+t)};y.doConvertResponse=function(e,t){var r,a,n,i,o,s=this;e=e.d;a=Array.isArray(e.results);if(!a&&!e.__metadata){n=Object.keys(e);r=e[n[0]];if(n.length===1){if(r===null){return{value:null}}else if(typeof r!==\"object\"){return{value:this.convertPrimitive(r,this.oModelInterface.fetchMetadata(t).getResult(),t,n[0])}}else if(r.__metadata){e=r}}}if(a&&!e.results.length){i=[]}else if(a&&!e.results[0].__metadata){o=this.oModelInterface.fetchMetadata(t).getResult();i=e.results.map(function(e){return s.convertPrimitive(e,o,t,\"\")})}else{i=this.convertNonPrimitive(e)}if(a){i={value:i};if(e.__count){i[\"@odata.count\"]=e.__count}if(e.__next){i[\"@odata.nextLink\"]=e.__next}}return i};y.doConvertSystemQueryOptions=function(t,r,a,n,i){var o,s={},c=this;function u(t,r){if(!Array.isArray(t)){t=t.split(\",\")}t.forEach(function(t){var a=t.indexOf(\"/\");if(a>=0&&!t.includes(\".\")){t=t.slice(0,a)}s[e.buildPath(r,t)]=true})}function f(t,r,a){if(!r||typeof r!==\"object\"){throw new Error(\"$expand must be a valid object\")}Object.keys(r).forEach(function(n){var i=e.buildPath(a,n),o=r[n];t.push(i);if(typeof o===\"object\"){Object.keys(o).forEach(function(e){switch(e){case\"$expand\":f(t,o.$expand,i);break;case\"$select\":u(o.$select,i);break;default:throw new Error(\"Unsupported query option in $expand: \"+e)}})}if(!o.$select){s[i+\"/*\"]=true}});return t}Object.keys(r).forEach(function(e){var o=e[0]===\"$\",s=r[e];if(n&&o){return}switch(e){case\"$count\":e=\"$inlinecount\";s=s?\"allpages\":\"none\";break;case\"$expand\":s=f([],s,\"\");s=(i?s.sort():s).join(\",\");break;case\"$orderby\":case\"$search\":break;case\"$select\":u(s);return;case\"$filter\":s=c.convertFilter(s,t);break;default:if(o){throw new Error(\"Unsupported system query option: \"+e)}}a(e,s)});o=Object.keys(s);if(o.length){if(!r.$select){o.push(\"*\")}a(\"$select\",(i?o.sort():o).join(\",\"))}};y.formatPropertyAsLiteral=function(e,t){function r(e,r){var a=e.parse(r);if(!a){throw new Error(\"Not a valid \"+t.$Type+\" value: \"+r)}return a}if(e===null){return\"null\"}switch(t.$Type){case\"Edm.Boolean\":case\"Edm.Byte\":case\"Edm.Decimal\":case\"Edm.Double\":case\"Edm.Guid\":case\"Edm.Int16\":case\"Edm.Int32\":case\"Edm.Int64\":case\"Edm.SByte\":case\"Edm.Single\":case\"Edm.String\":break;case\"Edm.Date\":e=r(o,e);break;case\"Edm.DateTimeOffset\":e=r(c,e);break;case\"Edm.TimeOfDay\":e={__edmType:\"Edm.Time\",ms:r(m,e).getTime()};break;default:throw new Error(\"Type '\"+t.$Type+\"' in the key predicate is not supported\")}return n.formatValue(e,t.$v2Type||t.$Type)};y.getPathAndAddQueryOptions=function(e,t,r,a,n){var i,o,s=this;e=e.slice(1,-5);if(t.$IsBound){e=e.slice(e.lastIndexOf(\".\")+1);if(typeof n===\"function\"){n=n()}o=this.getTypeForName(t.$Parameter[0].$Type);o.$Key.forEach(function(e){a[e]=s.formatPropertyAsLiteral(n[e],o[e])})}if(t.$Parameter){t.$Parameter.forEach(function(e){i=e.$Name;if(i in r){if(e.$isCollection){throw new Error(\"Unsupported collection-valued parameter: \"+i)}a[i]=s.formatPropertyAsLiteral(r[i],e);delete r[i]}})}for(i in r){delete r[i]}if(t.$v2HttpMethod){r[\"X-HTTP-Method\"]=t.$v2HttpMethod}return e};y.getTypeForName=function(e){this.mTypesByName??={};this.mTypesByName[e]??=this.oModelInterface.fetchMetadata(\"/\"+e).getResult();return this.mTypesByName[e]};y.isActionBodyOptional=function(){return true};y.isChangeSetOptional=function(){return false};y.ready=function(){return this.oModelInterface.fetchEntityContainer().then(function(){})};function h(e){Object.assign(e,y);e.oModelInterface.reportStateMessages=function(){};e.oModelInterface.reportTransitionMessages=function(){}}h._setDateTimeFormatter=function(){o=a.getDateInstance({calendarType:r.Gregorian,pattern:\"yyyy-MM-dd\",UTC:true});c=a.getDateTimeInstance({calendarType:r.Gregorian,pattern:\"yyyy-MM-dd'T'HH:mm:ss.SSSZ\"});m=a.getTimeInstance({calendarType:r.Gregorian,pattern:\"HH:mm:ss\",UTC:true})};h._setDateTimeFormatter();return h},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v4/lib/_V4MetadataConverter\", [\"./_Helper\",\"./_MetadataConverter\"],function(t,e){\"use strict\";function o(){this.enumType=null;this.enumTypeMemberCounter=0;this.navigationProperty=null;e.call(this)}o.prototype=Object.create(e.prototype);o.prototype.finalize=function(){if(this.result.$Version!==\"4.0\"){throw new Error(this.url+\": Unsupported OData version \"+this.result.$Version)}};o.prototype.processActionOrFunction=function(t){var e=t.localName,o={$kind:e},s,i,n=this.namespace+t.getAttribute(\"Name\"),r=\"\",a=this;function p(t){var e={};a.processTypedCollection(t.getAttribute(\"Type\"),e);return e.$isCollection?\"Collection(\"+e.$Type+\")\":e.$Type}this.processAttributes(t,o,{IsBound:this.setIfTrue,EntitySetPath:this.setValue,IsComposable:this.setIfTrue});s=this.getOrCreateArray(this.result,n);if(!Array.isArray(s)){s=[];this.addToResult(n,s)}s.push(o);this.oOperation=o;if(o.$IsBound){i=t.getElementsByTagName(\"Parameter\");r=t.localName===\"Action\"?p(i[0]):Array.prototype.map.call(i,p).join(\",\")}this.annotatable(n+\"(\"+r+\")\")};o.prototype.processComplexType=function(t){this.processType(t,{$kind:\"ComplexType\"})};o.prototype.processEdmx=function(t){this.processAttributes(t,this.result,{Version:this.setValue})};o.prototype.processElement=function(t,e){if(e){e.call(this,t)}};o.prototype.processEntityContainer=function(t){var e=this.namespace+t.getAttribute(\"Name\");this.entityContainer={$kind:\"EntityContainer\"};this.addToResult(e,this.entityContainer);this.addToResult(\"$EntityContainer\",e);this.annotatable(e)};o.prototype.processEntitySet=function(t){var e=t.getAttribute(\"Name\");this.entityContainer[e]=this.entitySet={$kind:\"EntitySet\",$Type:this.resolveAlias(t.getAttribute(\"EntityType\"))};this.processAttributes(t,this.entitySet,{IncludeInServiceDocument:this.setIfFalse});this.annotatable(e)};o.prototype.processEntityType=function(t){this.processType(t,{$kind:\"EntityType\"})};o.prototype.processEntityTypeKeyPropertyRef=function(t){var e=t.getAttribute(\"Alias\"),o,s=t.getAttribute(\"Name\");if(e){o={};o[e]=s}else{o=s}this.getOrCreateArray(this.type,\"$Key\").push(o)};o.prototype.processEnumType=function(t){var e=this.namespace+t.getAttribute(\"Name\"),o={$kind:\"EnumType\"};this.processAttributes(t,o,{IsFlags:this.setIfTrue,UnderlyingType:function(t){return t!==\"Edm.Int32\"?t:undefined}});this.enumType=o;this.addToResult(e,o);this.enumTypeMemberCounter=0;this.annotatable(e)};o.prototype.processEnumTypeMember=function(e){var o=e.getAttribute(\"Name\"),s=e.getAttribute(\"Value\"),i;if(s){i=parseInt(s);if(!t.isSafeInteger(i)){i=s}}else{i=this.enumTypeMemberCounter;this.enumTypeMemberCounter+=1}this.enumType[o]=i;this.annotatable(o)};o.prototype.processFacetAttributes=function(t,e){var o=this;this.processAttributes(t,e,{MaxLength:function(t){return t===\"max\"?undefined:o.setNumber(t)},Precision:this.setNumber,Scale:function(t){return t===\"variable\"?t:o.setNumber(t)},SRID:this.setValue,Unicode:this.setIfFalse})};o.prototype.processImport=function(t){var e=t.localName,o={$kind:e},s=t.getAttribute(\"Name\"),i=this;e=e.replace(\"Import\",\"\");o[\"$\"+e]=this.resolveAlias(t.getAttribute(e));this.processAttributes(t,o,{EntitySet:function(t){return i.resolveTargetPath(t)},IncludeInServiceDocument:this.setIfTrue});this.entityContainer[s]=o;this.annotatable(s)};o.prototype.processNavigationPropertyBinding=function(t){var e=this.getOrCreateObject(this.entitySet,\"$NavigationPropertyBinding\");e[t.getAttribute(\"Path\")]=this.resolveTargetPath(t.getAttribute(\"Target\"))};o.prototype.processParameter=function(t){var e=this.oOperation,o={};this.processTypedCollection(t.getAttribute(\"Type\"),o);this.processAttributes(t,o,{Name:this.setValue,Nullable:this.setIfFalse});this.processFacetAttributes(t,o);this.getOrCreateArray(e,\"$Parameter\").push(o);this.annotatable(o.$Name)};o.prototype.processReturnType=function(t){var e=this.oOperation,o={};this.processTypedCollection(t.getAttribute(\"Type\"),o);this.processAttributes(t,o,{Nullable:this.setIfFalse});this.processFacetAttributes(t,o);e.$ReturnType=o;this.annotatable(\"$ReturnType\")};o.prototype.processSchema=function(t){this.namespace=t.getAttribute(\"Namespace\")+\".\";this.schema={$kind:\"Schema\"};this.addToResult(this.namespace,this.schema);this.annotatable(this.schema)};o.prototype.processSingleton=function(t){var e=t.getAttribute(\"Name\");this.entityContainer[e]=this.entitySet={$kind:\"Singleton\",$Type:this.resolveAlias(t.getAttribute(\"Type\"))};this.annotatable(e)};o.prototype.processTerm=function(t){var e=this.namespace+t.getAttribute(\"Name\"),o={$kind:\"Term\"},s=this;this.processTypedCollection(t.getAttribute(\"Type\"),o);this.processAttributes(t,o,{Nullable:this.setIfFalse,BaseTerm:function(t){return t?s.resolveAlias(t):undefined}});this.processFacetAttributes(t,o);this.addToResult(e,o);this.annotatable(e)};o.prototype.processType=function(t,e){var o=this.namespace+t.getAttribute(\"Name\"),s=this;this.processAttributes(t,e,{OpenType:s.setIfTrue,HasStream:s.setIfTrue,Abstract:s.setIfTrue,BaseType:function(t){return t?s.resolveAlias(t):undefined}});this.type=e;this.addToResult(o,e);this.annotatable(o)};o.prototype.processTypedCollection=function(t,e){var o=this.rCollection.exec(t);if(o){e.$isCollection=true;t=o[1]}e.$Type=this.resolveAlias(t)};o.prototype.processTypeDefinition=function(t){var e=this.namespace+t.getAttribute(\"Name\"),o={$kind:\"TypeDefinition\",$UnderlyingType:t.getAttribute(\"UnderlyingType\")};this.addToResult(e,o);this.processFacetAttributes(t,o);this.annotatable(e)};o.prototype.processTypeNavigationProperty=function(t){var e=t.getAttribute(\"Name\"),o={$kind:\"NavigationProperty\"};this.processTypedCollection(t.getAttribute(\"Type\"),o);this.processAttributes(t,o,{Nullable:this.setIfFalse,Partner:this.setValue,ContainsTarget:this.setIfTrue});this.type[e]=this.navigationProperty=o;this.annotatable(e)};o.prototype.processTypeNavigationPropertyOnDelete=function(t){this.navigationProperty.$OnDelete=t.getAttribute(\"Action\");this.annotatable(this.navigationProperty,\"$OnDelete\")};o.prototype.processTypeNavigationPropertyReferentialConstraint=function(t){var e=t.getAttribute(\"Property\"),o=this.getOrCreateObject(this.navigationProperty,\"$ReferentialConstraint\");o[e]=t.getAttribute(\"ReferencedProperty\");this.annotatable(o,e)};o.prototype.processTypeProperty=function(t){var e=t.getAttribute(\"Name\"),o={$kind:\"Property\"};this.processTypedCollection(t.getAttribute(\"Type\"),o);this.processAttributes(t,o,{Nullable:this.setIfFalse,DefaultValue:this.setValue});this.processFacetAttributes(t,o);this.type[e]=o;this.annotatable(e)};o.prototype.resolveTargetPath=function(t){var e;if(!t){return t}t=this.resolveAliasInPath(t);e=t.indexOf(\"/\");if(e>=0&&!t.includes(\"/\",e+1)){if(t.slice(0,e)===this.result.$EntityContainer){return t.slice(e+1)}}return t};(function(t){var e,o,s;t.sRootNamespace=t.sEdmxNamespace;t.oAliasConfig={__xmlns:t.sEdmxNamespace,Reference:{Include:{__processor:t.processAlias}},DataServices:{Schema:{__xmlns:t.sEdmNamespace,__processor:t.processAlias}}};s={Property:{__processor:t.processTypeProperty,__include:[t.oAnnotationConfig]},NavigationProperty:{__processor:t.processTypeNavigationProperty,__include:[t.oAnnotationConfig],OnDelete:{__processor:t.processTypeNavigationPropertyOnDelete,__include:[t.oAnnotationConfig]},ReferentialConstraint:{__processor:t.processTypeNavigationPropertyReferentialConstraint,__include:[t.oAnnotationConfig]}}};o={NavigationPropertyBinding:{__processor:t.processNavigationPropertyBinding}};e={Parameter:{__processor:t.processParameter,__include:[t.oAnnotationConfig]},ReturnType:{__processor:t.processReturnType,__include:[t.oAnnotationConfig]}};t.oFullConfig={__xmlns:t.sEdmxNamespace,__processor:t.processEdmx,__include:[t.oReferenceInclude],DataServices:{Schema:{__xmlns:t.sEdmNamespace,__processor:t.processSchema,__include:[t.oAnnotationsConfig,t.oAnnotationConfig],Action:{__processor:t.processActionOrFunction,__include:[e,t.oAnnotationConfig]},Function:{__processor:t.processActionOrFunction,__include:[e,t.oAnnotationConfig]},EntityType:{__processor:t.processEntityType,__include:[s,t.oAnnotationConfig],Key:{PropertyRef:{__processor:t.processEntityTypeKeyPropertyRef}}},ComplexType:{__processor:t.processComplexType,__include:[s,t.oAnnotationConfig]},EntityContainer:{__processor:t.processEntityContainer,__include:[t.oAnnotationConfig],ActionImport:{__processor:t.processImport,__include:[t.oAnnotationConfig]},EntitySet:{__processor:t.processEntitySet,__include:[o,t.oAnnotationConfig]},FunctionImport:{__processor:t.processImport,__include:[t.oAnnotationConfig]},Singleton:{__processor:t.processSingleton,__include:[o,t.oAnnotationConfig]}},EnumType:{__processor:t.processEnumType,__include:[t.oAnnotationConfig],Member:{__processor:t.processEnumTypeMember,__include:[t.oAnnotationConfig]}},Term:{__processor:t.processTerm,__include:[t.oAnnotationConfig]},TypeDefinition:{__processor:t.processTypeDefinition,__include:[t.oAnnotationConfig]}}}}})(o.prototype);return o},false);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/resource/ResourceModel\", [\"sap/base/Log\",\"sap/base/i18n/ResourceBundle\",\"sap/ui/base/SyncPromise\",\"sap/ui/core/Supportability\",\"sap/ui/model/BindingMode\",\"sap/ui/model/Model\",\"./ResourcePropertyBinding\"],function(e,n,t,i,o,r,s){\"use strict\";var a=\"sap.ui.model.resource.ResourceModel\",u=/^(?:\\/|\\.)*/;var c=r.extend(\"sap.ui.model.resource.ResourceModel\",{constructor:function(t){var i;r.apply(this,arguments);this.aCustomBundles=[];this.bReenhance=false;this.bAsync=!!(t&&t.async);if(!this.bAsync){e.warning(\"Usage of synchronous loading is deprecated. For performance reasons, asynchronous loading\"+\" is strongly recommended.\",undefined,a)}this.sDefaultBindingMode=t.defaultBindingMode||o.OneWay;this.mSupportedBindingModes={OneWay:true,TwoWay:false,OneTime:!this.bAsync};if(this.bAsync&&this.sDefaultBindingMode==o.OneTime){e.warning(\"Using binding mode OneTime for asynchronous ResourceModel is not supported!\")}this.oData=Object.assign({},t);i=Array.isArray(this.oData.enhanceWith)&&this.oData.enhanceWith.some(function(e){return e instanceof n});if(t&&t.bundle){this._oResourceBundle=t.bundle;i=true}else if(t&&(t.bundleUrl||t.bundleName)){if(i){delete this.oData.enhanceWith;if(t.terminologies||t.activeTerminologies){throw new Error(\"'terminologies' parameter and 'activeTerminologies' parameter are not\"+\" supported in configuration when enhanceWith contains ResourceBundles\")}}l(this)}else{throw new Error(\"At least bundle, bundleName or bundleUrl must be provided!\")}if(i&&Array.isArray(t.enhanceWith)){if(this.bAsync){this._pEnhanced=t.enhanceWith.reduce(function(e,n){return e.then(this.enhance.bind(this,n))}.bind(this),Promise.resolve())}else{t.enhanceWith.forEach(this.enhance.bind(this))}}}});c._sanitizeBundleName=function(n){if(n&&(n[0]===\"/\"||n[0]===\".\")){e.error('Incorrect resource bundle name \"'+n+'\"',\"Leading slashes or dots in resource bundle names are ignored, since such names are\"+' invalid UI5 module names. Please check whether the resource bundle \"'+n+'\" is actually needed by your application.',a);n=n.replace(u,\"\")}return n};c.loadResourceBundle=function(e,t){var o=e.bundleLocale,r;e.bundleName=c._sanitizeBundleName(e.bundleName);r=Object.assign({async:t,includeInfo:i.collectOriginInfo(),locale:o},e);return n.create(r)};c.prototype.enhance=function(e){var t=this,i,o=this.bAsync?new Promise(function(e){i=e}):null;function r(){if(e instanceof n){t._oResourceBundle._enhance(e);t.checkUpdate(true);if(o){i(true)}}else{if(e.terminologies){throw new Error(\"'terminologies' parameter is not\"+\" supported for enhancement\")}var r=c.loadResourceBundle(e,t.bAsync);if(r instanceof Promise){r.then(function(e){t._oResourceBundle._enhance(e);t.checkUpdate(true);i(true)},function(){i(true)})}else if(r){t._oResourceBundle._enhance(r);t.checkUpdate(true)}}}if(this._oPromise){Promise.resolve(this._oPromise).then(r)}else{r()}if(!this.bReenhance){this.aCustomBundles.push(e)}return o};c.prototype.bindProperty=function(e){return new s(this,e)};c.prototype.getProperty=function(e){return this._oResourceBundle?this._oResourceBundle.getText(e):null};c.prototype.getResourceBundle=function(){if(!this.bAsync){return this._oResourceBundle}else{var e=this._oPromise;if(e){return new Promise(function(n,t){function i(e){n(e)}e.then(i,i)})}else{return Promise.resolve(this._oResourceBundle)}}};c.prototype._handleLocalizationChange=function(){var i=this;t.resolve(this.getResourceBundle()).then(function(e){var o;if(i.bAsync){o={url:n._getUrl(i.oData.bundleUrl,c._sanitizeBundleName(i.oData.bundleName)),async:true};i.fireRequestSent(o)}var r=e._recreate();if(r instanceof Promise){i._oPromise=r}return t.resolve(r).then(function(e){i._oResourceBundle=e;i._reenhance();delete i._oPromise;i.checkUpdate(true)}).finally(function(){if(i.bAsync){i.fireRequestCompleted(o)}})}).catch(function(n){e.error(\"Failed to reload bundles after localization change\",n,a)})};c.prototype._reenhance=function(){this.bReenhance=true;this.aCustomBundles.forEach(function(e){this.enhance(e)}.bind(this));this.bReenhance=false};function l(e){var t=e.oData;if(t&&(t.bundleUrl||t.bundleName)){var i=c.loadResourceBundle(t,t.async);if(i instanceof Promise){var o={url:n._getUrl(t.bundleUrl,c._sanitizeBundleName(t.bundleName)),async:true};e.fireRequestSent(o);e._oPromise=i;e._oPromise.then(function(n){e._oResourceBundle=n;e._reenhance();delete e._oPromise;e.checkUpdate(true);e.fireRequestCompleted(o)})}else{e._oResourceBundle=i;e._reenhance();e.checkUpdate(true)}}}return c});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/resource/ResourcePropertyBinding\", [\"sap/ui/model/PropertyBinding\",\"sap/ui/model/ChangeReason\"],function(e,t){\"use strict\";var o=e.extend(\"sap.ui.model.resource.ResourcePropertyBinding\",{constructor:function(t,o){e.apply(this,arguments);this.oValue=this.oModel.getProperty(o)}});o.prototype.getValue=function(){return this.oValue};o.prototype.checkUpdate=function(e){if(!this.bSuspended){var o=this.oModel.getProperty(this.sPath);if(e||o!=this.oValue){this.oValue=o;this._fireChange({reason:t.Change})}}};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/Boolean\", [\"sap/ui/core/Lib\",\"sap/ui/model/SimpleType\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\"],function(e,t,o,n){\"use strict\";var r=t.extend(\"sap.ui.model.type.Boolean\",{constructor:function(){t.apply(this,arguments);this.sName=\"Boolean\"}});r.prototype.formatValue=function(e,t){if(e==undefined||e==null){return null}switch(this.getPrimitiveType(t)){case\"any\":case\"boolean\":return e;case\"string\":return e.toString();default:throw new o(\"Don't know how to format Boolean to \"+t)}};r.prototype.parseValue=function(t,o){var r;switch(this.getPrimitiveType(o)){case\"boolean\":return t;case\"string\":if(t.toLowerCase()==\"true\"||t==\"X\"){return true}if(t.toLowerCase()==\"false\"||t==\"\"||t==\" \"){return false}r=e.getResourceBundleFor(\"sap.ui.core\");throw new n(r.getText(\"Boolean.Invalid\"));default:throw new n(\"Don't know how to parse Boolean from \"+o)}};r.prototype.validateValue=function(){};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/Currency\", [\"sap/base/Log\",\"sap/base/util/each\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/ui/core/Lib\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/CompositeType\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\"],function(t,e,r,i,o,s,a,n,u,p){\"use strict\";var h=a.extend(\"sap.ui.model.type.Currency\",{constructor:function(t){a.apply(this,arguments);this.sName=\"Currency\";this.bShowMeasure=!t||!(\"showMeasure\"in t)||t.showMeasure;this.bShowNumber=!t||!(\"showNumber\"in t)||t.showNumber;this.bUseRawValues=true}});h.prototype.formatValue=function(t,e){var r=t;if(t==undefined||t==null){return null}if(this.oInputFormat){r=this.oInputFormat.parse(t)}if(!Array.isArray(r)){throw new n(\"Cannot format currency: \"+t+\" has the wrong format\")}if((r[0]==undefined||r[0]==null)&&this.bShowNumber){return null}switch(this.getPrimitiveType(e)){case\"string\":return this.oOutputFormat.format(r);default:throw new n(\"Don't know how to format currency to \"+e)}};h.prototype.parseValue=function(t,e){var r;switch(this.getPrimitiveType(e)){case\"string\":r=this.oOutputFormat.parse(t);if(!Array.isArray(r)||this.bShowNumber&&isNaN(r[0])){throw this.getParseException()}break;default:throw new u(\"Don't know how to parse Currency from \"+e)}if(this.oInputFormat){r=this.oInputFormat.format(r)}return r};h.prototype.validateValue=function(r){if(this.oConstraints){var i=o.getResourceBundleFor(\"sap.ui.core\"),s=[],a=[],n=r,u;if(this.oInputFormat){n=this.oInputFormat.parse(r)}u=n[0];e(this.oConstraints,function(e,r){switch(e){case\"minimum\":if(ur){s.push(\"maximum\");a.push(i.getText(\"Currency.Maximum\",[r]))}break;default:t.warning(\"Unknown constraint '\"+e+\"': Value is not validated.\",null,\"sap.ui.model.type.Currency\")}});if(s.length>0){throw new p(this.combineMessages(a),s)}}};h.prototype.setFormatOptions=function(t){this.oFormatOptions=Object.assign(t.style!==\"short\"&&t.style!==\"long\"?{preserveDecimals:true}:{},t);this._createFormats()};h.prototype._handleLocalizationChange=function(){this._createFormats()};h.prototype._createFormats=function(){var t=this.oFormatOptions.source;this.oOutputFormat=s.getCurrencyInstance(this.iScale>=0?r({},{maxFractionDigits:this.iScale},this.oFormatOptions):this.oFormatOptions);if(t){if(i(t)){t={groupingEnabled:false,groupingSeparator:\",\",decimalSeparator:\".\"}}this.oInputFormat=s.getCurrencyInstance(t)}};h.prototype.getParseException=function(){var t=o.getResourceBundleFor(\"sap.ui.core\"),e;if(!this.bShowNumber){e=t.getText(\"Currency.InvalidMeasure\")}else if(!this.bShowMeasure){e=t.getText(\"EnterNumber\")}else{e=t.getText(\"Currency.Invalid\")}return new u(e)};h.prototype.getPartsIgnoringMessages=function(){if(!this.bShowMeasure){return[1]}else if(!this.bShowNumber){return[0]}return[]};h.prototype.getPartsListeningToTypeChanges=function(){return this.bShowNumber?[0]:[]};h.prototype.processPartTypes=function(t){const e=this.iScale;const r=t[0];if(r?.isA(\"sap.ui.model.odata.type.Decimal\")){this.iScale=r.oConstraints?.scale||0}if(e!==this.iScale){this._createFormats()}};return h});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/Date\", [\"sap/base/util/each\",\"sap/base/util/isEmptyObject\",\"sap/ui/core/Lib\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/SimpleType\",\"sap/ui/model/ValidateException\"],function(t,e,o,a,r,i,s,n,u){\"use strict\";var p=n.extend(\"sap.ui.model.type.Date\",{constructor:function(){n.apply(this,arguments);this.sName=\"Date\"}});p.prototype.formatValue=function(t,e){var o;switch(this.getPrimitiveType(e)){case\"string\":case\"any\":if(t==null){return\"\"}if(this.oFormatOptions.source&&this.oFormatOptions.source.pattern!==\"timestamp\"&&t===\"\"){return\"\"}o=this.getModelFormat();t=o.parse(t);return this.oOutputFormat.format(t);default:throw new i(\"Don't know how to format Date to \"+e)}};p.prototype.parseValue=function(t,e){var a,r;switch(this.getPrimitiveType(e)){case\"string\":if(t===\"\"){return null}a=this.oOutputFormat.parse(t);if(!a){r=o.getResourceBundleFor(\"sap.ui.core\");throw new s(r.getText(\"Enter\"+this.getName(),[this.oOutputFormat.format(this.oOutputFormat.getSampleValue()[0])]))}if(this.oInputFormat){if(this.oFormatOptions.source.pattern==\"timestamp\"){a=a.getTime()}else{a=this.oInputFormat.format(a)}}return a;default:throw new s(\"Don't know how to parse Date from \"+e)}};p.prototype.validateValue=function(e){if(this.oConstraints){var a=o.getResourceBundleFor(\"sap.ui.core\"),r=[],i=[],s=this.oInputFormat,n,p=this;if(s&&this.oFormatOptions.source.pattern!=\"timestamp\"){e=s.parse(e)}t(this.oConstraints,function(t,o){if(s){o=s.parse(o)}n=p.oOutputFormat.format(o);switch(t){case\"minimum\":if(eo){r.push(\"maximum\");i.push(a.getText(p.sName+\".Maximum\",[n]))}break;default:break}});if(r.length>0){throw new u(this.combineMessages(i),r)}}};var m={format:function(t){if(t instanceof Date){return t.getTime()}return null},parse:function(t){if(typeof t!=\"number\"){if(isNaN(t)){throw new i(\"Cannot format date: \"+t+\" is not a valid Timestamp\")}else{t=parseInt(t)}}t=a.getInstance(t);return t}};p.prototype.getModelFormat=function(){if(this.oInputFormat){if(this.oFormatOptions.source.pattern==\"timestamp\"){return m}else{return this.oInputFormat}}else{return n.prototype.getModelFormat.call(this)}};p.prototype.setFormatOptions=function(t){this.oFormatOptions=t;this._createFormats()};p.prototype.getOutputPattern=function(){return this.oOutputFormat.oFormatOptions.pattern};p.prototype._handleLocalizationChange=function(){this._createFormats()};p.prototype._createFormats=function(){var t=this.oFormatOptions.source;this.oOutputFormat=r.getInstance(this.oFormatOptions);if(t){if(e(t)){t={pattern:\"yyyy-MM-dd\"}}this.oInputFormat=r.getInstance(t)}};p.prototype.getPlaceholderText=function(){return this.oOutputFormat.getPlaceholderText()};return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/DateInterval\", [\"sap/base/util/isEmptyObject\",\"sap/ui/core/Lib\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/CompositeType\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\"],function(t,e,o,a,i,r,n,s){\"use strict\";var u=i.extend(\"sap.ui.model.type.DateInterval\",{constructor:function(){i.apply(this,arguments);this.sName=\"DateInterval\";this.bUseInternalValues=true}});u.prototype.formatValue=function(t,e){var a=this;if(!Array.isArray(t)){throw new r(\"Cannot format date interval: \"+t+\" is expected as an Array but given the wrong format\")}switch(this.getPrimitiveType(e)){case\"string\":case\"any\":if(!t[0]||!t[1]&&!this.oFormatOptions.singleIntervalValue){return\"\"}if(this.oInputFormat){t=t.map(function(t){if(a.oFormatOptions.source.pattern===\"timestamp\"){if(typeof t!==\"number\"){if(isNaN(t)){throw new r(\"Cannot format date: \"+t+\" is not a valid Timestamp\")}else{t=parseInt(t)}}t=o.getInstance(t)}else{t=a.oInputFormat.parse(t);if(t==null){throw new r(\"Cannot format date: \"+t+\" has the wrong format\")}}return t})}return this.oOutputFormat.format(t);default:throw new r(\"Don't know how to format Date to \"+e)}};u.prototype.parseValue=function(t,o){var a,i,r=this;switch(this.getPrimitiveType(o)){case\"string\":if(t===\"\"){return[null,null]}i=this.oOutputFormat.parse(t);if(!i[0]||!i[1]&&!this.oFormatOptions.singleIntervalValue){a=e.getResourceBundleFor(\"sap.ui.core\");throw new n(a.getText(\"Enter\"+this.getName(),[this.oOutputFormat.format(this.oOutputFormat.getSampleValue()[0])]))}if(i[1]&&this.sName===\"DateInterval\"){if(this.oFormatOptions.UTC){i[1].setUTCHours(23,59,59,0)}else{i[1].setHours(23,59,59,0)}}if(this.oInputFormat){i=i.map(function(t){return r.oFormatOptions.source.pattern===\"timestamp\"?t.getTime():r.oInputFormat.format(t)})}return i;default:throw new n(\"Don't know how to parse a date interval from \"+o)}};u.prototype.validateValue=function(t){var o,a,i=e.getResourceBundleFor(\"sap.ui.core\"),r=[],n=[],u=this;if(this.oInputFormat&&this.oFormatOptions.source.pattern!=\"timestamp\"){t=t.map(function(t){return u.oInputFormat.parse(t)})}o=!this.oFormatOptions.singleIntervalValue||t[1]!==null;if(this.oConstraints.minimum){a=this.oConstraints.minimum;if(t[0]a||o&&t[1]>a){r.push(\"maximum\");n.push(i.getText(\"Date.Maximum\",[a]))}}if(r.length>0){throw new s(this.combineMessages(n),r)}};u.prototype.setFormatOptions=function(t){this.oFormatOptions=t;this._createFormats()};u.prototype._handleLocalizationChange=function(){this._createFormats()};u.prototype._createFormats=function(){var e=this.oFormatOptions.source;this.oFormatOptions.interval=true;this.oOutputFormat=a.getDateInstance(this.oFormatOptions);if(e){if(t(e)){e={pattern:\"yyyy-MM-dd\"}}this.oInputFormat=a.getDateInstance(e)}};u.prototype.getPlaceholderText=function(){return this.oOutputFormat.getPlaceholderText()};return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/DateTime\", [\"./Date\",\"sap/ui/core/format/DateFormat\"],function(t,e){\"use strict\";var o=t.extend(\"sap.ui.model.type.DateTime\",{constructor:function(){t.apply(this,arguments);this.sName=\"DateTime\"}});o.prototype._createFormats=function(){this.oOutputFormat=e.getDateTimeInstance(this.oFormatOptions);if(this.oFormatOptions.source){this.oInputFormat=e.getDateTimeInstance(this.oFormatOptions.source)}};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/DateTimeInterval\", [\"./DateInterval\",\"sap/ui/core/format/DateFormat\"],function(t,e){\"use strict\";var o=t.extend(\"sap.ui.model.type.DateTimeInterval\",{constructor:function(){t.apply(this,arguments);this.sName=\"DateTimeInterval\"}});o.prototype._createFormats=function(){this.oFormatOptions.interval=true;this.oOutputFormat=e.getDateTimeInstance(this.oFormatOptions);if(this.oFormatOptions.source){this.oInputFormat=e.getDateTimeInstance(this.oFormatOptions.source)}};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/FileSize\", [\"sap/base/util/each\",\"sap/ui/core/Lib\",\"sap/ui/core/format/FileSizeFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/SimpleType\",\"sap/ui/model/ValidateException\"],function(t,e,i,o,n,r,s){\"use strict\";var a=r.extend(\"sap.ui.model.type.FileSize\",{constructor:function(){r.apply(this,arguments);this.sName=\"FileSize\"}});a.prototype.formatValue=function(t,e){var i;if(t==undefined||t==null){return null}if(this.oInputFormat&&typeof t===\"string\"){i=this.oInputFormat.parse(t);if(isNaN(i)){throw new o(\"Cannot format file size: \"+t+\" has the wrong format\")}}else if(!this.oInputFormat&&typeof t===\"string\"){throw new o(\"Cannot format file size: \"+t+\" of type string without input/source formatter\")}else if(typeof t===\"number\"){i=t}else{throw new o(\"Cannot format file size: \"+t+\" has wrong type: \"+typeof t)}if(i==undefined||i==null){return null}switch(this.getPrimitiveType(e)){case\"string\":return this.oOutputFormat.format(i);case\"int\":return Math.floor(i);case\"float\":case\"any\":return i;default:throw new o(\"Don't know how to format FileSize to \"+e)}};a.prototype.parseValue=function(t,i){var o,r;if(t==undefined||t==null){return null}switch(this.getPrimitiveType(i)){case\"string\":o=this.oOutputFormat.parse(t);if(isNaN(o)){r=e.getResourceBundleFor(\"sap.ui.core\");throw new n(r.getText(\"FileSize.Invalid\"))}break;case\"int\":case\"float\":o=t;break;default:throw new n(\"Don't know how to parse FileSize from \"+i)}if(this.oInputFormat){o=this.oInputFormat.format(o)}return o};a.prototype.validateValue=function(i){if(this.oConstraints){var o=e.getResourceBundleFor(\"sap.ui.core\"),n=[],r=[],a=this.oInputFormat;if(a&&typeof i===\"string\"){i=a.parse(i)}else if(!a&&typeof i===\"string\"){throw new Error(\"No Validation possible: '\"+i+\"' is of type string but not input/source format specified.\")}t(this.oConstraints,function(t,e){if(a&&typeof e===\"string\"){e=a.parse(e)}else if(!a&&typeof e===\"string\"){throw new Error(\"No Validation possible: Compare value (\"+t+\") '\"+e+\"' is of type string but not input/source format specified.\")}switch(t){case\"minimum\":if(ie){n.push(\"maximum\");r.push(o.getText(\"FileSize.Maximum\",[e]))}break;default:break}});if(n.length>0){throw new s(this.combineMessages(r),n)}}};a.prototype.setFormatOptions=function(t){this.oFormatOptions=t;this._handleLocalizationChange()};a.prototype._handleLocalizationChange=function(){this.oOutputFormat=i.getInstance(this.oFormatOptions);if(this.oFormatOptions.source){this.oInputFormat=i.getInstance(this.oFormatOptions.source)}};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/Float\", [\"sap/base/util/each\",\"sap/base/util/isEmptyObject\",\"sap/ui/core/Lib\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/SimpleType\",\"sap/ui/model/ValidateException\"],function(t,o,e,a,i,r,s,n){\"use strict\";var u=s.extend(\"sap.ui.model.type.Float\",{constructor:function(){s.apply(this,arguments);this.sName=\"Float\"}});u.prototype.formatValue=function(t,o){var e=t;if(t==undefined||t==null){return null}if(this.oInputFormat){e=this.oInputFormat.parse(t);if(e==null){throw new i(\"Cannot format float: \"+t+\" has the wrong format\")}}switch(this.getPrimitiveType(o)){case\"string\":return this.oOutputFormat.format(e);case\"int\":return Math.floor(e);case\"float\":case\"any\":return e;default:throw new i(\"Don't know how to format Float to \"+o)}};u.prototype.parseValue=function(t,o){var a,i;switch(this.getPrimitiveType(o)){case\"string\":a=this.oOutputFormat.parse(t);if(isNaN(a)){i=e.getResourceBundleFor(\"sap.ui.core\");throw new r(i.getText(\"Float.Invalid\"))}break;case\"int\":case\"float\":a=t;break;default:throw new r(\"Don't know how to parse Float from \"+o)}if(this.oInputFormat){a=this.oInputFormat.format(a)}return a};u.prototype.validateValue=function(o){if(this.oConstraints){var a=e.getResourceBundleFor(\"sap.ui.core\"),i=[],r=[],s=o,u=this;if(this.oInputFormat){s=this.oInputFormat.parse(o)}t(this.oConstraints,function(t,o){switch(t){case\"minimum\":if(so){i.push(\"maximum\");r.push(a.getText(\"Float.Maximum\",[u.oOutputFormat.format(o)]))}break;default:break}});if(i.length>0){throw new n(this.combineMessages(r),i)}}};u.prototype.setFormatOptions=function(t){this.oFormatOptions=Object.assign(t.style!==\"short\"&&t.style!==\"long\"?{preserveDecimals:true}:{},t);this._createFormats()};u.prototype._handleLocalizationChange=function(){this._createFormats()};u.prototype._createFormats=function(){var t=this.oFormatOptions.source;this.oOutputFormat=a.getFloatInstance(this.oFormatOptions);if(t){if(o(t)){t={groupingEnabled:false,groupingSeparator:\",\",decimalSeparator:\".\"}}this.oInputFormat=a.getFloatInstance(t)}};return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/Integer\", [\"sap/base/util/each\",\"sap/base/util/isEmptyObject\",\"sap/ui/core/Lib\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/SimpleType\",\"sap/ui/model/ValidateException\"],function(t,e,o,a,r,i,n,s){\"use strict\";var u=n.extend(\"sap.ui.model.type.Integer\",{constructor:function(){n.apply(this,arguments);this.sName=\"Integer\"}});u.prototype.formatValue=function(t,e){var o=t;if(t==undefined||t==null){return null}if(this.oInputFormat){o=this.oInputFormat.parse(t);if(o==null){throw new r(\"Cannot format float: \"+t+\" has the wrong format\")}}switch(this.getPrimitiveType(e)){case\"string\":return this.oOutputFormat.format(o);case\"int\":case\"float\":case\"any\":return o;default:throw new r(\"Don't know how to format Integer to \"+e)}};u.prototype.parseValue=function(t,e){var a,r;switch(this.getPrimitiveType(e)){case\"string\":a=this.oOutputFormat.parse(String(t));if(isNaN(a)){r=o.getResourceBundleFor(\"sap.ui.core\");throw new i(r.getText(\"EnterInt\"))}break;case\"float\":a=Math.floor(t);if(a!=t){r=o.getResourceBundleFor(\"sap.ui.core\");throw new i(r.getText(\"EnterInt\"))}break;case\"int\":a=t;break;default:throw new i(\"Don't know how to parse Integer from \"+e)}if(this.oInputFormat){a=this.oInputFormat.format(a)}return a};u.prototype.validateValue=function(e){if(this.oConstraints){var a=o.getResourceBundleFor(\"sap.ui.core\"),r=[],i=[],n=e,u=this;if(this.oInputFormat){n=this.oInputFormat.parse(e)}t(this.oConstraints,function(t,e){switch(t){case\"minimum\":if(ne){r.push(\"maximum\");i.push(a.getText(\"Integer.Maximum\",[u.oOutputFormat.format(e)]))}break;default:break}});if(r.length>0){throw new s(this.combineMessages(i),r)}}};u.prototype.setFormatOptions=function(t){this.oFormatOptions=t;this._createFormats()};u.prototype._handleLocalizationChange=function(){this._createFormats()};u.prototype._createFormats=function(){var t=this.oFormatOptions.source;this.oOutputFormat=a.getIntegerInstance(this.oFormatOptions);if(t){if(e(t)){t={groupingEnabled:false,groupingSeparator:\",\",decimalSeparator:\".\"}}this.oInputFormat=a.getIntegerInstance(t)}};return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/String\", [\"sap/base/Log\",\"sap/base/util/each\",\"sap/ui/core/Lib\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/SimpleType\",\"sap/ui/model/ValidateException\"],function(t,e,s,n,a,i,r){\"use strict\";var o=i.extend(\"sap.ui.model.type.String\",{constructor:function(){i.apply(this,arguments);this.sName=\"String\";if(this.oConstraints.search&&typeof this.oConstraints.search==\"string\"){this.oConstraints.search=new RegExp(this.oConstraints.search)}}});o.prototype.formatValue=function(t,e){if(t==undefined||t==null){return null}switch(this.getPrimitiveType(e)){case\"string\":case\"any\":return t;case\"int\":var s=parseInt(t);if(isNaN(s)){throw new n(t+\" is not a valid int value\")}return s;case\"float\":var a=parseFloat(t);if(isNaN(a)){throw new n(t+\" is not a valid float value\")}return a;case\"boolean\":if(t.toLowerCase()==\"true\"||t==\"X\"){return true}if(t.toLowerCase()==\"false\"||t==\"\"){return false}throw new n(t+\" is not a valid boolean value\");default:throw new n(\"Don't know how to format String to \"+e)}};o.prototype.parseValue=function(t,e){switch(this.getPrimitiveType(e)){case\"string\":return t;case\"boolean\":case\"int\":case\"float\":return t.toString();default:throw new a(\"Don't know how to parse String from \"+e)}};o.prototype.validateValue=function(n){if(this.oConstraints){var a=s.getResourceBundleFor(\"sap.ui.core\"),i=[],o=[];if(n===null){n=\"\"}e(this.oConstraints,function(e,s){switch(e){case\"maxLength\":if(n.length>s){i.push(\"maxLength\");o.push(a.getText(\"String.MaxLength\",[s]))}break;case\"minLength\":if(n.length0&&n.startsWith(s))){i.push(\"startsWith\");o.push(a.getText(\"String.StartsWith\",[s]))}break;case\"startsWithIgnoreCase\":if(!(typeof s==\"string\"&&s!=\"\"?n.toLowerCase().startsWith(s.toLowerCase()):false)){i.push(\"startsWithIgnoreCase\");o.push(a.getText(\"String.StartsWith\",[s]))}break;case\"endsWith\":if(!(typeof s==\"string\"&&s.length>0&&n.endsWith(s))){i.push(\"endsWith\");o.push(a.getText(\"String.EndsWith\",[s]))}break;case\"endsWithIgnoreCase\":if(!(typeof s==\"string\"&&s!=\"\"?n.toLowerCase().endsWith(s.toLowerCase()):false)){i.push(\"endsWithIgnoreCase\");o.push(a.getText(\"String.EndsWith\",[s]))}break;case\"contains\":if(n.indexOf(s)==-1){i.push(\"contains\");o.push(a.getText(\"String.Contains\",[s]))}break;case\"equals\":if(n!=s){i.push(\"equals\");o.push(a.getText(\"String.Equals\",[s]))}break;case\"search\":if(n.search(s)==-1){i.push(\"search\");o.push(a.getText(\"String.Search\",[s]))}break;default:t.warning(\"Ignoring unknown constraint: '\"+e+\"'\",null,\"sap.ui.model.type.String\")}});if(i.length>0){throw new r(this.combineMessages(o),i)}}};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/Time\", [\"./Date\",\"sap/ui/core/format/DateFormat\"],function(t,o){\"use strict\";var e=t.extend(\"sap.ui.model.type.Time\",{constructor:function(){t.apply(this,arguments);this.sName=\"Time\"}});e.prototype._createFormats=function(){this.oOutputFormat=o.getTimeInstance(this.oFormatOptions);if(this.oFormatOptions.source){this.oInputFormat=o.getTimeInstance(this.oFormatOptions.source)}};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/TimeInterval\", [\"./DateInterval\",\"sap/ui/core/format/DateFormat\"],function(t,e){\"use strict\";var o=t.extend(\"sap.ui.model.type.TimeInterval\",{constructor:function(){t.apply(this,arguments);this.sName=\"TimeInterval\"}});o.prototype._createFormats=function(){this.oFormatOptions.interval=true;this.oOutputFormat=e.getTimeInstance(this.oFormatOptions);if(this.oFormatOptions.source){this.oInputFormat=e.getTimeInstance(this.oFormatOptions.source)}};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/type/Unit\", [\"sap/base/i18n/Formatting\",\"sap/base/strings/hash\",\"sap/base/util/each\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/ui/core/Lib\",\"sap/ui/core/Locale\",\"sap/ui/core/LocaleData\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/CompositeType\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\"],function(t,e,a,i,s,n,o,r,u,c,p,m,h){\"use strict\";var l=c.extend(\"sap.ui.model.type.Unit\",{constructor:function(t,e,a){c.apply(this,arguments);this.sName=\"Unit\";this.bShowMeasure=!t||!(\"showMeasure\"in t)||t.showMeasure;this.bShowNumber=!t||!(\"showNumber\"in t)||t.showNumber;this.bUseRawValues=true;this.aDynamicFormatOptionNames=a}});l.prototype._getInstance=function(a,s){var n=this.createFormatOptions(a);if(s&&!this.oFormatOptions.customUnits&&!n.customUnits){var c=new o(t.getLanguageTag());var p=r.getInstance(c);var m=p.getUnitFromMapping(s)||s;var h=p.getUnitFormat(m);if(h){var f=i({},h);f.decimals=n.decimals!=undefined?n.decimals:f.decimals;f.precision=n.precision!=undefined?n.precision:f.precision;n.customUnits={};n.customUnits[s]=f}}var g=n;if(this.oFormatOptions){g=i({},this.oFormatOptions,n)}if(this.iScale>=0){g=i({},{maxFractionDigits:this.iScale},g)}if(this.getMetadata().getClass()!==l){var d=this.getMetadata();d._mTypeInstanceCache=d._mTypeInstanceCache||{};var y=e(JSON.stringify(g)||\"\");var F=d._mTypeInstanceCache[y];if(!F){F=u.getUnitInstance(g);d._mTypeInstanceCache[y]=F}return F}else{return u.getUnitInstance(g)}};l.prototype._clearInstances=function(){if(this.getMetadata().getClass()!==l){var t=this.getMetadata();if(t._mTypeInstanceCache){t._mTypeInstanceCache={}}}};l.prototype.createFormatOptions=function(t){var e={};if(this.aDynamicFormatOptionNames&&t.length>=this.aDynamicFormatOptionNames.length){this.aDynamicFormatOptionNames.forEach(function(a,i){if(a){e[a]=t[i]}})}return e};l.prototype.extractArguments=function(t){return Array.isArray(t)&&t.length>2?t.slice(2):[]};l.prototype.formatValue=function(t,e){var a=t;if(t==undefined||t==null){return null}if(this.oInputFormat){a=this.oInputFormat.parse(t)}if(!Array.isArray(a)){throw new p(\"Cannot format Unit: \"+t+\" has the wrong format\")}if((a[0]==undefined||a[0]==null)&&this.bShowNumber){return null}switch(this.getPrimitiveType(e)){case\"string\":this.aDynamicValues=this.extractArguments(a);this.oOutputFormat=this._getInstance(this.aDynamicValues,a[1]);return this.oOutputFormat.format(a);case\"int\":case\"float\":case\"any\":default:throw new p(\"Don't know how to format Unit to \"+e)}};l.prototype.getPartsListeningToTypeChanges=function(){return this.bShowNumber?[0]:[]};l.prototype.parseValue=function(t,e){var a;switch(this.getPrimitiveType(e)){case\"string\":this.oOutputFormat=this._getInstance(this.aDynamicValues);a=this.oOutputFormat.parse(t);if(!Array.isArray(a)||this.bShowNumber&&isNaN(a[0])){throw this.getParseException()}break;case\"int\":case\"float\":default:throw new m(\"Don't know how to parse Unit from \"+e)}if(this.oInputFormat){a=this.oInputFormat.format(a)}return a};l.prototype.processPartTypes=function(t){const e=t[0];if(e?.isA(\"sap.ui.model.odata.type.Decimal\")){this.iScale=e.oConstraints?.scale||0}};l.prototype.validateValue=function(t){if(this.oConstraints){var e=n.getResourceBundleFor(\"sap.ui.core\"),i=[],s=[],o=t,r;if(this.oInputFormat){o=this.oInputFormat.parse(t)}r=o[0];a(this.oConstraints,function(t,a){switch(t){case\"minimum\":if(ra){i.push(\"maximum\");s.push(e.getText(\"Unit.Maximum\",[a]))}break;case\"decimals\":var n=u._shiftDecimalPoint(r,a);if(Math.floor(n)!==n){i.push(\"decimals\");s.push(e.getText(\"Unit.Decimals\",[a]))}break;default:break}});if(i.length>0){throw new h(s.join(\" \"),i)}}};l.prototype.setFormatOptions=function(t){const e=t.maxFractionDigits===undefined&&t.minFractionDigits===undefined&&t.decimals===undefined;this.oFormatOptions={...t.style!==\"short\"&&t.style!==\"long\"?{preserveDecimals:true}:{},...t,...e?{decimals:3}:{}};this._clearInstances();this._createInputFormat()};l.prototype._handleLocalizationChange=function(){this._clearInstances();this._createInputFormat()};l.prototype._createInputFormat=function(){var t=this.oFormatOptions.source;if(t){if(s(t)){t={groupingEnabled:false,groupingSeparator:\",\",decimalSeparator:\".\"}}this.oInputFormat=u.getUnitInstance(t)}};l.prototype.getParseException=function(){var t=n.getResourceBundleFor(\"sap.ui.core\"),e;if(!this.bShowNumber){e=t.getText(\"Unit.InvalidMeasure\")}else if(!this.bShowMeasure){e=t.getText(\"EnterNumber\")}else{e=t.getText(\"Unit.Invalid\")}return new m(e)};l.prototype.getPartsIgnoringMessages=function(){if(!this.bShowMeasure){return[1]}else if(!this.bShowNumber){return[0]}return[]};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/xml/XMLListBinding\", [\"sap/ui/model/ChangeReason\",\"sap/ui/model/ClientListBinding\",\"sap/ui/util/XMLHelper\",\"sap/base/util/deepEqual\",\"sap/base/util/each\"],function(t,e,i,s,n){\"use strict\";var h=e.extend(\"sap.ui.model.xml.XMLListBinding\");h.prototype.getEntryData=function(t){return i.serialize(t.getObject())};h.prototype.update=function(){var t=this.oModel._getObject(this.sPath,this.oContext);if(t){this.oList=[];var e=this;if(this.bUseExtendedChangeDetection){n(t,function(t,i){e.oList.push(i.cloneNode(true))})}else{this.oList=t.slice(0)}this.updateIndices();this.applyFilter();this.applySort();this.iLength=this._getLength()}else{this.oList=[];this.aIndices=[];this.iLength=0}};h.prototype.checkUpdate=function(e){var i;if(this.bSuspended&&!this.bIgnoreSuspend&&!e){return}if(!this.bUseExtendedChangeDetection){i=this.oModel._getObject(this.sPath,this.oContext)||[];if(i.length!=this.oList.length||e){this.update();this._fireChange({reason:t.Change})}}else{var h=false;var a=this;i=this.oModel._getObject(this.sPath,this.oContext)||[];if(this.oList.length!=i.length){h=true}if(!s(this.oList,i)){this.update()}var o=this._getContexts(this.iLastStartIndex,this.iLastLength);if(this.aLastContexts){if(this.aLastContexts.length!=o.length){h=true}else{n(this.aLastContextData,function(t,e){var i=a.getContextData(o[t]);if(i!==e){h=true;return false}return true})}}else{h=true}if(h||e){this._fireChange({reason:t.Change})}}};return h});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/xml/XMLModel\", [\"sap/ui/model/ClientModel\",\"sap/ui/model/Context\",\"./XMLListBinding\",\"./XMLPropertyBinding\",\"./XMLTreeBinding\",\"sap/ui/util/XMLHelper\",\"sap/base/Log\",\"sap/base/util/each\"],function(e,t,r,s,i,a,o,n){\"use strict\";var u=e.extend(\"sap.ui.model.xml.XMLModel\",{constructor:function(t){e.apply(this,arguments);this.o Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/theming/ThemeManager\", [\"sap/base/assert\",\"sap/base/Eventing\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/each\",\"sap/base/util/LoaderExtensions\",\"sap/ui/Device\",\"sap/ui/VersionInfo\",\"sap/ui/core/Lib\",\"sap/ui/core/Theming\",\"sap/ui/core/theming/ThemeHelper\",\"sap/ui/dom/includeStylesheet\"],function(e,t,r,a,i,s,n,o,u,c,l,d,f){\"use strict\";const h=new t;const m=150;const p={};const g=/\\.sapUiThemeDesignerCustomCss/i;const v=\"sap-ui-core-customcss\";const T=\"sap-ui-theme-\";let b=true;document.querySelectorAll(`link[id^=${T}]`).forEach(function(e){let t=true;const r=e.getAttribute(\"id\").replace(T,\"\");p[r]={};e.removeAttribute(\"data-sap-ui-ready\");a.info(`ThemeManager: Preloaded CSS for library ${r} detected: ${e.href}`,undefined,\"sap.ui.core.theming.ThemeManager\");try{t=!!(e.sheet?.href===e.href&&e.sheet?.cssRules);if(!t){b=t;e.addEventListener(\"load\",t=>{const r=t.type===\"error\";e.setAttribute(\"data-sap-ui-ready\",!r)})}else{e.setAttribute(\"data-sap-ui-ready\",e.sheet.cssRules.length>0)}}catch(t){a.info(\"Could not detect ready state of preloaded CSS. Request stylesheet again to verify the response status\",undefined,\"sap.ui.core.theming.ThemeManager\");b=false;f({url:e.href,id:e.getAttribute(\"id\")})}});let y=0;let L=false;let A=null;let C=null;let S={};let E;var R={themeLoaded:b,checkThemeApplied:function(){R.reset();w(true);if(!E){R.fireThemeApplied()}},reset:function(){R.themeLoaded=false;if(E){clearTimeout(E);E=null;y=0;C=null;S={}}},_includeLibraryThemeAndEnsureThemeRoot:function(e){var t=e.name;_(t,l.getTheme());_(t,\"base\");const r=`${t}${e.variant?\"-[\"+e.variant+\"]\":\"\"}`;e.preloadedCss=e.preloadedCss||!!p[r];p[r]=e;if(!e.preloadedCss){R.includeLibraryTheme(t,e.variant,e)}},includeLibraryTheme:function(t,r,s){e(typeof t===\"string\",\"sLibName must be a string\");e(r===undefined||typeof r===\"string\",\"sVariant must be a string or undefined\");var n=s;if(typeof n===\"object\"){n=M(s)}if(t===\"sap.ui.legacy\"||t===\"sap.ui.classic\"){return}if(!r){r=\"\"}var o=i.getRTL()?\"-RTL\":\"\";var u,c=t+(r.length>0?\"-[\"+r+\"]\":r);if(t&&t.indexOf(\":\")==-1){u=\"library\"+r+o}else{u=t.substring(t.indexOf(\":\")+1)+r;t=t.substring(0,t.indexOf(\":\"))}const d=`${T}${c}`;if(!document.querySelector(\"LINK[id='\"+d+\"']\")){var h=new URL(R._getThemePath(t,l.getTheme()),document.baseURI).toString();var m=document.createElement(\"link\");m.href=h+u+\".css\"+(n?n:\"\");var p=m.href;$(d);a.info(\"Including \"+p+\" - sap.ui.core.theming.ThemeManager.includeLibraryTheme()\");f(p,d);var g=sap.ui.require(\"sap/ui/core/theming/Parameters\");if(g){g._addLibraryTheme(c)}R.checkThemeApplied()}},_getThemePath:function(e,t){_(e,t);return sap.ui.require.toUrl((e+\".themes.\"+t).replace(/\\./g,\"/\")+\"/\")},_updateThemeUrls:function(e,t){var r=document.querySelectorAll(`link[id^=${T}]`);Array.prototype.forEach.call(r,function(r){I(r,e,t)})},_attachThemeApplied:function(e){h.attachEvent(\"applied\",e)},_detachThemeApplied:function(e){h.detachEvent(\"applied\",e)},fireThemeApplied:function(){d.reset();var e=sap.ui.require(\"sap/ui/core/theming/Parameters\");if(e){e._reset(true)}h.fireEvent(\"applied\",{theme:l.getTheme()})}};function U(){var e=l.getTheme();var t=R._getThemePath(\"sap.ui.core\",e)+\"custom.css\";var r=d.isStandardTheme(l.getTheme());var i=true;var n=[];if(L&&A===e){p[v]={}}function o(s){var o=d.checkAndRemoveStyle({prefix:T,id:s});i=i&&o;if(i){if(!L||A!=e){if(!r&&k(s)){var u=t;var c=M(p[\"sap.ui.core\"]);if(c){u+=c}f(u,v);L=true;a.debug(\"ThemeManager: delivered custom CSS needs to be loaded, Theme not yet applied\");A=e;i=false;return false}else if(L){var l=document.querySelector(\"LINK[id='\"+v+\"']\");if(l){l.remove();a.debug(\"ThemeManager: Custom CSS removed\")}L=false}}}if(!r&&o&&!S[s]){var h=document.getElementById(`${T}${s}`);if(h&&h.getAttribute(\"data-sap-ui-ready\")===\"false\"&&!(h.sheet&&d.hasSheetCssRules(h.sheet))){n.push(s)}}}s(p,o);if(n.length>0){if(!C){for(var u in p){var c=d.getMetadata(u);if(c&&c.Extends&&c.Extends[0]){C=c.Extends[0]}else{const t=l.getThemeRoot(e,u);if(t){const e=/~v=[^\\/]+\\(([a-zA-Z0-9_]+)\\)/;C=e.exec(t)?.[1];if(C){C=d.validateAndFallbackTheme(C)}}}if(C){break}}}if(C){n.forEach(function(t){const r=document.getElementById(`${T}${t}`);a.warning(\"ThemeManager: Custom theme '\"+e+\"' could not be loaded for library '\"+t+\"'. \"+\"Falling back to its base theme '\"+C+\"'.\");I(r,C);S[t]=true});i=false}}if(!i){a.debug(\"ThemeManager: Theme not yet applied.\")}else{A=e}return i}function k(e){var t=window.document.getElementById(`${T}${e}`);if(!t){return false}var i=window.getComputedStyle(t,\":after\");var s=i?i.getPropertyValue(\"content\"):null;if(!s&&o.browser.safari){var n=document.documentElement;n.classList.add(\"sapUiThemeDesignerCustomCss\");s=window.getComputedStyle(n,\":after\").getPropertyValue(\"content\");n.classList.remove(\"sapUiThemeDesignerCustomCss\")}if(s&&s!==\"none\"){try{if(s[0]===\"'\"||s[0]==='\"'){s=s.substring(1,s.length-1)}return s===\"true\"}catch(e){r.errorThrows(\"Custom check: Error parsing JSON string for custom.css indication.\",{cause:e})}}var u=t.sheet?d.safeAccessSheetCssRules(t.sheet):null;if(!u||u.length===0){a.warning(\"Custom check: Failed retrieving a CSS rule from stylesheet \"+e);return false}for(var c=0;c<2&&cm;if(!U()&&!t){var a;if(y<=100){a=2}else if(y<=110){a=500}else{a=1e3}E=setTimeout(w,a)}else if(!e){R.reset();R.themeLoaded=true;R.fireThemeApplied();if(t){r.errorThrows(\"ThemeManager: max. check cycles reached.\")}}else{R.themeLoaded=true}}function $(e){var t=document.getElementById(e);if(t){t.dataset.sapUiFoucmarker=e}}function x(e){var t=document.documentElement;var r=e.new;R._updateThemeUrls(r,true);t.classList.remove(\"sapUiTheme-\"+e.old);t.classList.add(\"sapUiTheme-\"+r);R.checkThemeApplied()}function _(e,t){var r=l.getThemeRoot(t,e);if(r){r=r+(r.slice(-1)==\"/\"?\"\":\"/\")+e.replace(/\\./g,\"/\")+\"/themes/\"+t+\"/\";n.registerResourcePath((e+\".themes.\"+t).replace(/\\./g,\"/\"),r)}}function I(e,t,r){var a,s=e.href.search(/[?#]/),n,o,u=\"library\",c=i.getRTL()?\"-RTL\":\"\",l,d;var h=new RegExp(`^${T}(.*)$`,\"i\").exec(e.id);if(Array.isArray(h)){a=h[1]}else{a=e.id.slice(T.length)}p[a]=p[a]||{};if(s>-1){n=e.href.substring(0,s);o=e.href.substring(s)}else{n=e.href;o=\"\"}n=n.substring(n.lastIndexOf(\"/\")+1);if((d=a.indexOf(\"-[\"))>0){u+=a.slice(d+2,-1);a=a.slice(0,d)}if(n===u+\".css\"||n===u+\"-RTL.css\"){n=u+c+\".css\"}l=new URL(R._getThemePath(a,t)+n+o,document.baseURI).toString();if(l!=e.href){if(r){e.dataset.sapUiFoucmarker=e.id}f(l,e.id)}}function M(e){var t;if(e){t=\"?version=\"+e.version;if(u._content){t+=\"&sap-ui-dist-version=\"+u._content.version}}return t}document.documentElement.classList.add(\"sapUiTheme-\"+l.getTheme());a.info(\"Declared theme \"+l.getTheme(),null);l.attachChange(function(e){var t=e.themeRoots;var r=e.theme;if(t&&t.forceUpdate){R._updateThemeUrls(l.getTheme())}if(r){x(r)}});l.registerThemeManager(R);if(!R.themeLoaded){R.checkThemeApplied()}return R});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/tmpl/DOMAttribute\", [\"sap/ui/core/Element\",\"sap/ui/core/library\"],function(t){\"use strict\";var e=t.extend(\"sap.ui.core.tmpl.DOMAttribute\",{metadata:{library:\"sap.ui.core\",properties:{name:{type:\"string\",group:\"Data\",defaultValue:null},value:{type:\"string\",group:\"Data\",defaultValue:null}}}});e.prototype.setValue=function(t){this.setProperty(\"value\",t,true);var e=this.getParent(),r=e&&e.$();if(r&&r.length>0){r.attr(this.getName(),this.getProperty(\"value\"))}return this};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/tmpl/DOMElement\", [\"sap/ui/core/Control\",\"./DOMAttribute\",\"./DOMElementRenderer\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\",\"sap/ui/core/library\"],function(t,e,i,r,jQuery){\"use strict\";var a=t.extend(\"sap.ui.core.tmpl.DOMElement\",{metadata:{library:\"sap.ui.core\",properties:{text:{type:\"string\",group:\"Appearance\",defaultValue:null},tag:{type:\"string\",group:\"Behavior\",defaultValue:\"span\"}},defaultAggregation:\"attributes\",aggregations:{attributes:{type:\"sap.ui.core.tmpl.DOMAttribute\",multiple:true,singularName:\"attribute\"},elements:{type:\"sap.ui.core.tmpl.DOMElement\",multiple:true,singularName:\"element\"}}},renderer:i});a.prototype.applySettings=function(i){var a=this.getMetadata(),n=a.getJSONKeys();if(i){if(!i[\"attributes\"]){var s=i[\"attributes\"]=[];jQuery.each(i,function(t,r){if(t!==\"id\"&&!n[t]&&typeof r===\"string\"){s.push(new e({name:t,value:r}));delete i[t]}})}else{r.warning(\"DOMElement#\"+this.getId()+\": custom attributes in settings will be ignored since attributes are provided!\")}}t.prototype.applySettings.apply(this,arguments)};a.prototype.exit=a.prototype.onBeforeRendering=function(){var t=this.getTag().toLowerCase();if(t===\"input\"||t===\"textarea\"||t===\"select\"){this.$().off(\"change\")}};a.prototype.onAfterRendering=function(){var t=this.getTag().toLowerCase();if(t===\"input\"||t===\"textarea\"||t===\"select\"){this.$().on(\"change\",jQuery.proxy(this.oninputchange,this))}};a.prototype.oninputchange=function(t){var e=this.getTag().toLowerCase();if(e===\"input\"){var i=this.$().val();this.getAttributes().forEach(function(t){if(t.getName().toLowerCase()===\"value\"){t.setValue(i)}})}else if(e===\"textarea\"){var r=this.$().val();this.setText(r)}else if(e===\"select\"){var r=\"\";this.$().find(\"select option:selected\").each(function(){r+=jQuery(this).text()+\" \"});this.setText(r)}};a.prototype.attr=function(t,i){var r=this.getAttributes().find(function(e){var i=e.getName();return i.toLowerCase()===t});if(i===undefined){return r&&r.getValue()}else{if(r){if(i===null){this.removeAttribute(r)}else{r.setValue(i)}}else{if(i!==null){this.addAttribute(new e({name:t,value:i}))}}return this}};a.prototype.removeAttr=function(t){this.attr(t,null);return this};a.prototype.setText=function(t){this.setProperty(\"text\",t,true);var e=this.$();if(e.length>0){var i=this.getTag().toLowerCase();if(i===\"textarea\"){e.val(this.getProperty(\"text\"))}else{e.text(this.getProperty(\"text\"))}}return this};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/tmpl/DOMElementRenderer\", [\"sap/base/Log\",\"sap/base/security/encodeXML\"],function(e,t){\"use strict\";var r={apiVersion:2};var a=/^(?:area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/i;r.render=function(r,i){var n=t(i.getTag()),s=a.test(n);if(s){r.voidStart(n,i)}else{r.openStart(n,i)}i.getAttributes().forEach(function(a){var i=a.getName().toLowerCase();if(i===\"class\"){var n=a.getValue().split(\" \");n.forEach(function(e){var e=e.trim();if(e){r.class(e)}})}else if(i===\"style\"){var s=a.getValue().split(\";\");s.forEach(function(e){var a=e.indexOf(\":\");if(a!=-1){var i=e.substring(0,a).trim();var n=e.substring(a+1).trim();r.style(t(i),n)}})}else if(a.getName()){r.attr(t(a.getName()),a.getValue())}else{e.error(\"Attributes must have a non-empty name\")}});if(s){r.voidEnd()}else{r.openEnd()}var o=i.getElements(),f=!!i.getText()||o.length>0;if(f){if(s){e.error(\"Void element '\"+n+\"' is rendered with children\")}if(i.getText()){r.text(i.getText())}o.forEach(function(e,t){r.renderControl(t)})}if(!s){r.close(n)}};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/tmpl/HandlebarsTemplate\", [\"./Template\",\"./TemplateControl\",\"sap/ui/core/RenderManager\",\"sap/ui/thirdparty/handlebars\",\"sap/ui/base/BindingInfo\",\"sap/base/util/ObjectPath\",\"sap/base/security/encodeXML\",\"sap/base/util/isEmptyObject\",\"sap/ui/core/Core\"],function(e,t,a,r,n,o,i,s){\"use strict\";var h=e.extend(\"sap.ui.core.tmpl.HandlebarsTemplate\",{metadata:{library:\"sap.ui.core\"},constructor:function(t,a){e.apply(this,arguments)}});e.registerType(\"text/x-handlebars-template\",\"sap.ui.core.tmpl.HandlebarsTemplate\");function l(e){for(var t in e){e[t]=e[t].replace(\">\",\">\").replace(\"<\",\"<\").replace(\""\",'\"').replace(\"&\",\"&\")}}function p(e,t){var a=/^((\\w+)>)?(.*)/,r=a.exec(e),n=r[2],o=a.exec(t),i=o[2];var r=a.exec(e);if(t&&n==i){return t+r[3]}else{return e}}h.RENDER_HELPERS=function(){var e=r.helpers[\"each\"],t=r.helpers[\"with\"],h=r.helpers[\"if\"],g=r.helpers[\"unless\"],f=(new a).getInterface();f.renderControl=function(e){this.writeControlData(e);this.writeClasses(e);this.writeStyles(e)};var u={each:function(t,a){a=a||t;if(!a.hash.path){return e.apply(this,arguments)}else{l(a.hash);var n=a.data.renderManager,o=a.data.rootControl,i=a.data.path,s=a.data.parentControl,h=p(a.hash.path,i),g=o.bindList(h),f=[],u;if(a.data){u=r.createFrame(a.data)}if(g){for(var d in g){if(u){u.renderManager=n;u.rootControl=o;u.path=h+\"/\"+d+\"/\";u.parentControl=s}f.push(a.fn({},{data:u}))}}if(!s){return new r.SafeString(f.join(\"\"))}}},with:function(e,a){a=a||e;if(!a.hash.path){return t.apply(this,arguments)}},if:function(e,t){t=t||e;if(!t.hash.path){return h.apply(this,arguments)}else{l(t.hash);var a=t.data.rootControl,r=t.data.path,n=p(t.hash.path,r);if(n){var o=a.bindProp(n);if(o){return t.fn(this)}else{return t.inverse(this)}}}},unless:function(e,t){t=t||e;if(!t.hash.path){return g.apply(this,arguments)}else{l(t.hash);var a=t.data.rootControl,r=t.data.path,n=p(t.hash.path,r);if(n){var o=a.bindProp(n);if(!o){return t.fn(this)}else{return t.inverse(this)}}}},text:function(e,t){t=t||e;l(t.hash);var a=t.data.rootControl,n=t.data.path,o=p(t.hash.path,n);if(o){var s=a.bindProp(o);return s&&new r.SafeString(i(s))}else{throw new Error('The expression \"text\" requires the option \"path\"!')}},element:function(e,t){t=t||e;l(t.hash);var a=t.data.renderManager,n=t.data.rootControl,o=n.createDOMElement(t.hash,t.data.path),i=t.data.parentElement;if(t.fn){t.fn({},{data:{renderManager:a,rootControl:n,parentElement:o}})}if(i){i.addElement(o);return}return new r.SafeString(a.getHTML(o))},control:function(e,t){t=t||e;l(t.hash);var a=t.data.renderManager,i=t.data.control;if(i){return new r.SafeString(a.getHTML(i))}var h=t.data.rootControl,p=t.data.path,g=t.data.children,f=t.hash[\"sap-ui-type\"],u=o.get(f||\"\"),d=u&&u.getMetadata(),c=t.hash[\"sap-ui-default-aggregation\"]||d&&d.getDefaultAggregationName(),v=t.data.view;if(!u){throw new Error(\"Control of type \"+f+\" cannot be found.\")}var m={};if(t.fn){t.fn({},{data:{rootControl:h,path:p,children:m,defaultAggregation:c,view:v}})}var C=Object.assign({},t.hash),w;for(var y in C){if(y===\"sap-ui-class\"&&typeof C[y]===\"string\"){w=C[\"sap-ui-class\"]&&C[\"sap-ui-class\"].split(\" \");delete C[y]}else if(m[y]){delete C[y]}}var b=h.createControl(C,t.data.path,!!g,v);if(w&&w.length>0){w.forEach(b.addStyleClass.bind(b))}if(!s(m)){C=t.hash;var M=d.getAllAggregations();for(var E in m){var S=m[E];for(var T=0,A=S.length;T0){o=s.attr(\"id\");e=s.get(0);var p=s.attr(\"data-context\");t=t||p&&JSON.parse(p);n.markInlineTemplate(s)}}var c=this.createControl(o,t);c.placeAt(e,r);return c};l.prototype.createMetadata=function(){o.error(\"The function createMetadata is an abstract function which needs to be implemented by subclasses.\")};l.prototype.createRenderer=function(){o.error(\"The function createRenderer is an abstract function which needs to be implemented by subclasses.\")};sap.ui.template=function(e){var t=function(e){o.warning(\"The usage of Template Views is deprecated since 1.56. Please make use of the asynchronous create functions of the different view classes, e.g. XMLView.create()\",\"Deprecation\",null,function(){return{type:\"sap.ui.template\",name:e}})};if(!e){var r=[];jQuery.each(l._mSupportedTypes,function(e,t){jQuery(\"script[type='\"+e+\"'], [data-type='\"+e+\"']\").each(function(a,n){r.push(sap.ui.template({id:n.id,domref:n,type:e,_class:t}))})});return r}else{if(typeof e===\"string\"){return sap.ui.template({id:e})}else if(e&&e.tagName&&e.nodeName&&e.ownerDocument&&e.nodeType===1){return sap.ui.template({id:e.id,domref:e})}e=jQuery.extend({type:l.DEFAULT_TEMPLATE},e);t(e.id);var a,n,s,p,c=false,u=typeof e.src===\"string\",d=false;if(u){jQuery.ajax({url:e.src,dataType:\"text\",async:false,success:function(t){a=e.id;n=e.type;s=e.control;p=t;var r=/^/,i=p.match(r);if(i){n=i[1];if(i.length==3){c=i[2]}p=p.substr(i[0].length)}},error:function(){throw new Error(\"The template could not be loaded from \"+e.src+\"!\")}})}else{var f=e.domref||(e.id?window.document.getElementById(e.id):null),m=jQuery(f);d=false;a=e.id||f&&f.id;n=m.attr(\"type\")||e.type;s=m.attr(\"data-control\")||e.control;if(a){var h=sap.ui.getCore().getTemplate(a);if(!h instanceof l){throw new Error('Object for id \"'+a+'\" is no sap.ui.core.tmpl.Template!')}else{if(h){return h}}}if(m.length===0){throw new Error('DOM element for the Template with the id \"'+a+'\" not found!')}p=m.html();var y=f.tagName.toLowerCase();if(y!==\"script\"){d=m.parents(\"body\").length===1}}var g=e._class;if(!g){g=l._mSupportedTypes[n];if(!g){throw new Error('The type \"'+n+'\" is not supported.')}}var T=sap.ui.requireSync(g.replace(/\\./g,\"/\"));T=T||i.get(g||\"\");var b=new T({id:a,content:p});if(s){b.declareControl(s)}if(c){b._sControllerName=c}if(d){b.placeAt(a,e.context,undefined,true)}return b}};l.DEFAULT_TEMPLATE=\"text/x-handlebars-template\";l.registerType(l.DEFAULT_TEMPLATE,\"sap.ui.core.tmpl.HandlebarsTemplate\");return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/tmpl/TemplateControl\", [\"sap/ui/core/Control\",\"sap/ui/core/DeclarativeSupport\",\"sap/ui/core/Element\",\"sap/ui/core/UIArea\",\"./DOMElement\",\"./TemplateControlRenderer\",\"./_parsePath\",\"sap/base/strings/capitalize\",\"sap/base/strings/hyphenate\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\",\"sap/ui/core/library\"],function(t,e,n,i,r,o,a,p,s,l,jQuery){\"use strict\";var c=t.extend(\"sap.ui.core.tmpl.TemplateControl\",{metadata:{library:\"sap.ui.core\",properties:{context:{type:\"object\",group:\"Data\",defaultValue:null}},aggregations:{controls:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"control\",visibility:\"hidden\"}},associations:{template:{type:\"sap.ui.core.tmpl.Template\",multiple:false}},events:{afterRendering:{},beforeRendering:{}}},renderer:o});c.prototype.init=function(){this._aBindingInfos=[]};c.prototype.isInline=function(){var t=false,e=this.getParent();if(e instanceof i&&jQuery(e.getRootNode()).attr(\"id\")===this.getId()){t=true}return t};c.prototype.placeAt=function(e,n){var i=this.isInline();var r=this.$(),o=this.getUIArea();t.prototype.placeAt.apply(this,arguments);if(i&&r.length===1){r.remove();o.destroyContent()}};c.prototype.getTemplateRenderer=function(){return this.fnRenderer};c.prototype.setTemplateRenderer=function(t){this.fnRenderer=t;return this};c.prototype._cleanup=function(){this.destroyAggregation(\"controls\");this._aBindingInfos.forEach(function(t){var e=t.binding;if(e){e.detachChange(t.changeHandler);e.destroy()}});this._aBindingInfos=[]};c.prototype._compile=function(){var t=n.getElementById(this.getTemplate()),i=t&&t.getDeclarativeSupport();if(i){var r=this;setTimeout(function(){e.compile(r.getDomRef())})}};c.prototype.exit=function(){this._cleanup()};c.prototype.onBeforeRendering=function(){this.fireBeforeRendering();this._cleanup()};c.prototype.onAfterRendering=function(){this.fireAfterRendering()};c.prototype.clone=function(){var e=t.prototype.clone.apply(this,arguments);e.fnRenderer=this.fnRenderer;return e};c.prototype.updateBindings=function(e,n){t.prototype.updateBindings.apply(this,arguments);if(this.getDomRef()){this.invalidate()}};c.prototype.bind=function(t,e){var n=a(t),i=this.getModel(n.model),t=n.path,r=e?\"bind\"+p(e):\"bindProperty\",o=i&&i[r](t),s={binding:o,path:n.path,model:n.model};if(o){s.changeHandler=function(){l.debug(\"TemplateControl#\"+this.getId()+\": \"+e+' binding changed for path \"'+t+'\"');this.invalidate()}.bind(this);o.attachChange(s.changeHandler)}this._aBindingInfos.push(s);return o};c.prototype.calculatePath=function(t,e){var n=this.getBindingContext(),i=n&&n.getPath();if(t&&i&&!t.startsWith(\"/\")){if(!i.endsWith(\"/\")){i+=\"/\"}t=i+t}return t};c.prototype.bindProp=function(t){var e=this.bind(this.calculatePath(t),\"property\");return e&&e.getExternalValue()};c.prototype.bindList=function(t){var e=this.bind(this.calculatePath(t),\"list\"),n=e&&e.getModel(),t=e&&e.getPath();return e&&n.getProperty(t)};c.prototype.createDOMElement=function(t,e,n){var i=new r(t);if(e){i.bindObject(e)}if(!n){this.addAggregation(\"controls\",i)}return i};c.prototype.createControl=function(t,n,i,r){var o={};jQuery.each(t,function(t,e){o[\"data-\"+s(t)]=e});var a=jQuery(\"
\",o);var p=e._createControl(a.get(0),r);if(n){p.bindObject(n)}if(!i){this.addAggregation(\"controls\",p)}return p};return c});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/tmpl/TemplateControlRenderer\", function(){\"use strict\";var e={apiVersion:1};e.render=function(e,i){var n=i.isInline()||this.hasControlData;if(!n){e.openStart(\"div\",i).openEnd()}var r=this.renderTemplate||i.getTemplateRenderer();if(r){r.apply(this,arguments)}if(!n){e.close(\"div\")}};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/tmpl/_parsePath\", [],function(){\"use strict\";return function(t){var n,r=t.indexOf(\">\");if(r>0){n=t.substr(0,r);t=t.substr(r+1)}return{path:t,model:n}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/AsyncHintsHelper\", [],function(){\"use strict\";var r={};r.modifyUrls=function(r,u){function e(r,u){if(u===undefined){delete r.url}}[r.components,r.libs].forEach(function(r){if(Array.isArray(r)){r.forEach(function(r){if(typeof r!==\"object\"){return}if(typeof r.url===\"string\"){r.url=u(r.url);e(r,r.url)}else if(typeof r.url===\"object\"&&typeof r.url.url===\"string\"){r.url.url=u(r.url.url);e(r,r.url.url)}})}});return r};return r});\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/DraftEnabledMockServer\", [\"sap/ui/thirdparty/jquery\",\"sap/base/util/isEmptyObject\"],function(jQuery,t){\"use strict\";return{_oDraftMetadata:{},_oConstants:{COM_SAP_VOCABULARIES_COMMON_V1_DRAFTROOT:\"com.sap.vocabularies.Common.v1.DraftRoot\",COM_SAP_VOCABULARIES_COMMON_V1_DRAFTNODE:\"com.sap.vocabularies.Common.v1.DraftNode\",COM_SAP_VOCABULARIES_COMMON_V1_SEMANTICKEY:\"com.sap.vocabularies.Common.v1.SemanticKey\",EMPTY_GUID:\"00000000-0000-0000-0000-000000000000\",SIBLINGENTITY_NAVIGATION:\"SiblingEntity\",DRAFT_ADMINISTRATIVE_DATA:\"DraftAdministrativeData\",DRAFT_ADMINISTRATIVE_DATA_UUID:\"DraftAdministrativeDataUUID\",ACTIVATION_ACTION:\"ActivationAction\",EDIT_ACTION:\"EditAction\",VALIDATE_ACTION:\"ValidationFunction\",PREPARE_ACTION:\"PreparationAction\"},handleDraft:function(t,a){var e=sap.ui.require(\"sap/ui/core/util/MockServer\");var r=e._syncAjax;var o=function(t){var a=t.getParameter(\"oEntity\");a.IsActiveEntity=false;a.HasActiveEntity=false;a.HasDraftEntity=false};var i=function(t){var a=t.getParameter(\"oXhr\");var e=r({url:a.url,dataType:\"json\"}).data.d;for(var o=0;o-1){e=this._oDraftMetadata.annotations[r][this._oConstants.COM_SAP_VOCABULARIES_COMMON_V1_SEMANTICKEY]||[];break}}var o=[];var i;for(var s=0;s1?i.splice(1,1):i.splice(0,1)}}else if(e===this._oConstants.DRAFT_ADMINISTRATIVE_DATA){if(r){if(r.IsActiveEntity&&!r.HasDraftEntity){i[0]=null}}else{i[0]=null}}return i},_findEntitySets:function(t){var a=sap.ui.require(\"sap/ui/core/util/MockServer\");var e=a.prototype._findEntitySets.apply(this,[t]);this._prepareDraftMetadata(e);return e},getEntitySetData:function(t){var a=sap.ui.require(\"sap/ui/core/util/MockServer\");var e=a.prototype.getEntitySetData.apply(this,[t]);var r=function(){return e};if(t===this._oDraftMetadata.draftRootName){this._fnDraftAdministrativeData({getParameter:r});return e}for(var o=0;o1){throw new Error('Value of property \"separatorChar\" needs to be exactly one character or empty. '+'\"'+e+'\" is '+e.length+\" characters long.\")}return this.setProperty(\"separatorChar\",e)};a.prototype.init=function(){this.setProperty(\"fileExtension\",\"csv\",true);this.setProperty(\"mimeType\",\"text/csv\",true);this.setProperty(\"charset\",\"utf-8\",true)};a.prototype.escapeContent=function(e){if(!e){return e}if(e.length>a.MAX_CELL_LENGTH){e=e.slice(0,a.MAX_CELL_LENGTH)}if(r.test(e)){e=\"'\"+e}var o=e.indexOf(this.getSeparatorChar())>-1;if(o||t.test(e)){e=e.replace(/\"/g,'\"\"');e='\"'+e+'\"'}return e};a.prototype.generate=function(){var e=[];this.generateColumns(e);this.generateRows(e);return e.join(\"\\r\\n\")};a.prototype.generateColumns=function(e){var t=[],r=this.columnGenerator(),a;while(!(a=r.next()).done){t.push(this.escapeContent(a.value.name))}e.push(t.join(this.getSeparatorChar()))};a.prototype.generateRows=function(e){var t=this.rowGenerator(),r;while(!(r=t.next()).done){var a=[];var o=r.value.cells,n;while(!(n=o.next()).done){a.push(this.escapeContent(n.value.content))}e.push(a.join(this.getSeparatorChar()))}};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/File\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";var e={save:function(e,o,n,r,a,t){var i=o+\".\"+n;if(typeof t===\"undefined\"&&a===\"utf-8\"&&n===\"csv\"){t=true}if(t===true&&a===\"utf-8\"){e=\"\\ufeff\"+e}if(window.Blob){var d=\"data:\"+r;if(a){d+=\";charset=\"+a}var w=new window.Blob([e],{type:d});if(window.navigator.msSaveOrOpenBlob){window.navigator.msSaveOrOpenBlob(w,i)}else{var u=window.URL||window.webkitURL;var f=u.createObjectURL(w);var l=window.document.createElement(\"a\");if(\"download\"in l){var v=jQuery(document.body);var p=jQuery(l).attr({download:i,href:f,style:\"display:none\"});v.append(p);p.get(0).click();p.remove()}else{e=encodeURI(e);var c=window.open(d+\",\"+e);c.opener=null;if(!c){throw new Error(\"Could not download the file, please deactivate your pop-up blocker.\")}}}}}};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/LibraryInfo\", [\"sap/ui/base/Object\",\"sap/base/Log\",\"sap/base/util/fetch\",\"sap/base/util/Version\",\"sap/ui/thirdparty/jquery\"],function(e,t,r,a,jQuery){\"use strict\";var n=e.extend(\"sap.ui.core.util.LibraryInfo\",{constructor:function(){e.apply(this);this._oLibInfos={}},destroy:function(){e.prototype.destroy.apply(this,arguments);this._oLibInfos={}},getInterface:function(){return this}});n.prototype._loadLibraryMetadata=function(e,a){e=e.replace(/\\//g,\".\");if(this._oLibInfos[e]){setTimeout(a.bind(window,this._oLibInfos[e]),0);return}var n=this,o,i,s=/themelib_(.*)/i.exec(e),l;if(!s){i=\".library\";o=sap.ui.require.toUrl(e.replace(/\\./g,\"/\"))+\"/\"}else{i=\".theme\";o=sap.ui.require.toUrl(\"sap/ui/core/themes/\"+s[1]+\"/\")}l=typeof n.getResourceUrl===\"function\"?n.getResourceUrl(o):o;function f(r){t.error(\"failed to load library details from '\"+o+i+\": \"+r.message+\", \"+r);n._oLibInfos[e]={name:e,data:null,url:o};a(n._oLibInfos[e])}r(l+i,{headers:{Accept:r.ContentTypes.XML}}).then(function(t){if(t.ok){return t.text().then(function(t){var r=new DOMParser;var i=r.parseFromString(t,\"text/xml\");n._oLibInfos[e]={name:e,data:i,url:o};a(n._oLibInfos[e])})}else{throw new Error(t.statusText||t.status)}}).catch(f)};n.prototype._getLibraryInfo=function(e,t){this._loadLibraryMetadata(e,function(e){var r={libs:[],library:e.name,libraryUrl:e.url};if(e.data){var a=jQuery(e.data);r.vendor=a.find(\"vendor\").text();r.copyright=a.find(\"copyright\").text();r.version=a.find(\"version\").text();r.documentation=a.find(\"documentation\").text();r.releasenotes=a.find(\"releasenotes\").attr(\"url\");r.componentInfo=n.prototype._getLibraryComponentInfo(a)}t(r)})};n.prototype._getThirdPartyInfo=function(e,t){this._loadLibraryMetadata(e,function(e){var r={libs:[],library:e.name,libraryUrl:e.url};if(e.data){var a=jQuery(e.data).find(\"appData\").find(\"thirdparty\").children();a.each(function(t,a){if(a.nodeName===\"lib\"){var n=jQuery(a);var o=n.children(\"license\");r.libs.push({displayName:n.attr(\"displayName\"),homepage:n.attr(\"homepage\"),license:{url:o.attr(\"url\"),type:o.attr(\"type\"),file:e.url+o.attr(\"file\")}})}})}t(r)})};n.prototype._getDocuIndex=function(e,a){var n=this;this._loadLibraryMetadata(e,function(e){var o=e.name,i=e.url,s={docu:{},library:o,libraryUrl:i};if(!e.data){a(s);return}var l=jQuery(e.data).find(\"appData\").find(\"documentation\");var f=l.attr(\"indexUrl\");if(!f){a(s);return}if(l.attr(\"resolve\")==\"lib\"){f=e.url+f}if(typeof n.getResourceUrl===\"function\"){f=n.getResourceUrl(f)}r(f,{headers:{Accept:r.ContentTypes.JSON}}).then(function(e){if(e.ok){e.json().then(function(e){e.library=o;e.libraryUrl=i;a(e)})}else{throw new Error(e.statusText||e.status)}}).catch(function(e){t.error(\"failed to load library docu from '\"+f+\"': \"+e.message+\", \"+e);a(s)})})};n.prototype._getReleaseNotes=function(e,n,o){var i=this;this._loadLibraryMetadata(e,function(s){if(!s.data){o({});return}var l=n.split(\".\").length===3&&!/-SNAPSHOT/.test(n);var f=a(n);var u=f.getMajor();var c=f.getMinor();var p=f.getPatch();var d=jQuery(s.data).find(\"appData\").find(\"releasenotes\");var h=d.attr(\"url\");var y=typeof i.getResourceUrl===\"function\";if(!h){t.warning(\"failed to load release notes for library \"+e);o({});return}if(f.getSuffix()===\"-SNAPSHOT\"){if(c%2!=0){c=c+1;p=0}n=u+\".\"+c+\".\"+p}var m=y?i.getResourceUrl(\"\"):window.location.href,g=/\\/\\d\\.\\d+\\.\\d+\\//;if(d.attr(\"resolve\")==\"lib\"){if(g.test(m)||l===false){h=s.url+h}else{h=\"{major}.{minor}.{patch}/\"+s.url+h}}h=h.replace(/\\{major\\}/g,u);h=h.replace(/\\{minor\\}/g,c);h=h.replace(/\\{patch\\}/g,p);if(y){h=i.getResourceUrl(h)}r(h,{headers:{Accept:r.ContentTypes.JSON}}).then(function(e){if(e.ok){return e.json().then(function(e){o(e,n)})}else{throw new Error(e.statusText||e.status)}}).catch(function(r){if(r.name===\"SyntaxError\"){t.error(\"failed to parse release notes for library '\"+e+\", \"+r)}else{t.warning(\"failed to load release notes for library '\"+e+\", \"+r)}o({})})})};n.prototype._getLibraryComponentInfo=function(e){var t={};var r=[];var a=\"\";e.find(\"ownership > component\").each(function(e,t){if(t.childElementCount===0){a=t.textContent}else{var n=t.getElementsByTagName(\"name\");if(n&&n.length>0){n=n[0].textContent;var o=t.getElementsByTagName(\"module\");if(n&&o&&o.length>0){var i=[];for(var s=0;s0){r.push({component:n,modules:i})}}}}});t[\"defaultComponent\"]=a;if(r&&r.length>0){t[\"specialCases\"]=r}return t};n.prototype._getActualComponent=function(e,r){function a(e,t){e=e.toLowerCase();t=t.toLowerCase();return e===t||t.match(/\\*$/)&&e.indexOf(t.slice(0,-1))===0||t.match(/\\.\\*$/)&&e===t.slice(0,-2)}if(r){for(var n in e){if(!e[n]){t.error(\"No library information deployed for \"+n);continue}var o;if(r.indexOf(n)===0){o=e[n].defaultComponent}var i=e[n].specialCases;if(i){for(var s=0;s1){switch(i[1]){case\"asc\":u=1;break;case\"desc\":u=-1;break;default:s._logAndThrowMockServerCustomError(400,s._oErrorMessages.INVALID_SORTORDER_DETECTED,i[1])}}var f,c;var d=i[0].indexOf(\"/\");if(d!==-1){f=i[0].substring(d+1);c=i[0].substring(0,d);if(!t[c].hasOwnProperty(f)){var p=false;var l=[];if(c){var h=s._mEntitySets[r].navprops[c].to.entitySet;l=s._mEntityTypes[s._mEntitySets[h].type].properties;for(var o=0;oa[c][f]){return 1*u}}else{f=i[0];if(!t.hasOwnProperty(f)){s._logAndThrowMockServerCustomError(400,s._oErrorMessages.PROPERTY_NOT_FOUND,f)}if(t[f]a[f]){return 1*u}}}return 0}; Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/AlignedFlowLayoutRenderer\", [\"./library\"],function(e){\"use strict\";var t={apiVersion:2};t.CSS_CLASS=\"sapUiAFLayout\";t.render=function(e,n){var r=n.getContent();e.openStart(\"div\",n);e.class(t.CSS_CLASS);if(r.length===0){e.class(t.CSS_CLASS+\"NoContent\")}e.openEnd();this.renderItems(e,n,r);this.renderEndItem(e,n);this.renderSpacers(e,n);e.close(\"div\")};t.renderItems=function(e,t,n){n=n||t.getContent();n.forEach(function(n){this.renderItem(e,t,n)},this)};t.renderItem=function(e,n,r){e.openStart(\"div\");e.class(t.CSS_CLASS+\"Item\");e.style(\"flex-basis\",n.getMinItemWidth());e.style(\"max-width\",n.getMaxItemWidth());e.openEnd();e.renderControl(r);e.close(\"div\")};t.renderEndItem=function(e,n,r){r=r||n.getEndContent();if(r.length){e.openStart(\"div\",n.getId()+\"-endItem\");e.class(t.CSS_CLASS+\"End\");if(n.getContent().length){e.style(\"flex-basis\",n.getMinItemWidth())}e.openEnd();r.forEach(function(t){this.renderEndContent(e,n,t)},this);e.close(\"div\")}};t.renderEndContent=function(e,t,n){e.renderControl(n)};t.renderSpacers=function(e,n){var r=n.computeNumberOfSpacers(),i=n.getMinItemWidth(),s=n.getMaxItemWidth(),d=t.CSS_CLASS,o=n.getId(),a=o+\"-spacer\",S=o+\"-spacerlast\";for(var c=0;c-1)){return}i=parseInt(this._oLastDOMclicked.id.substr((t+\"-splitbar-\").length));s=this._getContentAreas()[i];s._currentPosition=this._calculatedSizes[i];s._lastPosition=s._lastPosition||s._currentPosition;if(s._currentPosition===s._lastPosition){this._resizeContents(i,this._calculatedSizes[i]*-1,true)}else{this._resizeContents(i,s._lastPosition,true);s._lastPosition=null}};n.prototype._calcPercentBasedSizes=function(t,i){var s=this._getContentAreas(),n=this._calcAvailableContentSize();if(t.length===1&&s.length===1){this._calculatedSizes[t[0]]=n;i-=n}else{i=e.prototype._calcPercentBasedSizes.apply(this,arguments)}return i};n.prototype._logConstraintsViolated=function(){i.warning(\"The set sizes and minimal sizes of the splitter contents are bigger than the available space in the UI. \"+\"Consider enabling the pagination mechanism by setting the 'requiredParentWidth' property of the panes\",null,\"sap.ui.layout.ResponsiveSplitter\")};n.prototype.containsControl=function(e){var t=this._getContentAreas(),i,s;for(s=0;s0){this._removeBreakpointClasses();for(e in n){if(n.hasOwnProperty(e)&&(n[e]===null||n[e]>i)){if(this._currentBreakpoint!=e){this._currentBreakpoint=e;this._notifySizeListeners()}this.addStyleClass(\"sapUiBlockLayoutSize\"+e,true);break}}}this._attachResizeHandler()};r.prototype._notifySizeListeners=function(){var e=this;this.getContent().forEach(function(t){t._onParentSizeChange(e._currentBreakpoint)})};r.prototype._removeBreakpointClasses=function(){var e=r.CONSTANTS.SIZES;for(var t in e){if(e.hasOwnProperty(t)){this.removeStyleClass(\"sapUiBlockLayoutSize\"+t,true)}}};r.prototype._attachResizeHandler=function(){if(!this._parentResizeHandler){this._parentResizeHandler=i.register(this,this._onParentResize.bind(this))}};r.prototype._detachResizeHandler=function(){if(this._parentResizeHandler){i.deregister(this._parentResizeHandler);this._parentResizeHandler=null}};r.prototype.exit=function(){this._detachResizeHandler()};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayoutCell\", [\"sap/ui/core/Control\",\"./library\",\"./BlockLayoutCellRenderer\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\"],function(t,e,a,o,jQuery){\"use strict\";var i=t.extend(\"sap.ui.layout.BlockLayoutCell\",{metadata:{library:\"sap.ui.layout\",properties:{title:{type:\"string\",group:\"Appearance\",defaultValue:null},titleAlignment:{type:\"sap.ui.core.HorizontalAlign\",group:\"Appearance\",defaultValue:\"Begin\"},titleLevel:{type:\"sap.ui.core.TitleLevel\",group:\"Appearance\",defaultValue:\"Auto\"},width:{type:\"int\",group:\"Appearance\",defaultValue:0},backgroundColorSet:{type:\"sap.ui.layout.BlockLayoutCellColorSet\",group:\"Appearance\"},backgroundColorShade:{type:\"sap.ui.layout.BlockLayoutCellColorShade\",group:\"Appearance\"}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"},titleLink:{type:\"sap.ui.core.Control\",multiple:false}},designtime:\"sap/ui/layout/designtime/BlockLayoutCell.designtime\"},renderer:a});i.prototype.setLayoutData=function(t){this.setAggregation(\"layoutData\",t,true);var e=this.getParent();if(e){var a=jQuery.Event(\"LayoutDataChange\");a.srcControl=this;e._handleEvent(a)}if(t&&this.getWidth()!=0){this.getLayoutData().setSize(this.getWidth())}return this};i.prototype.setWidth=function(t){this.setProperty(\"width\",t);if(this.getLayoutData()&&this.getLayoutData().isA(\"sap.ui.layout.BlockLayoutCellData\")){this.getLayoutData().setSize(t)}return this};i.prototype.setTitleLink=function(t){if(t&&t.getMetadata().getName()!==\"sap.m.Link\"){o.warning(\"sap.ui.layout.BlockLayoutCell \"+this.getId()+\": Can't add value for titleLink aggregation different than sap.m.Link.\");return this}this.setAggregation(\"titleLink\",t);return this};i.prototype._setParentRowScrollable=function(t){this._parentRowScrollable=t};i.prototype._getParentRowScrollable=function(){return this._parentRowScrollable};i.prototype._setFlexWidth=function(t){this._flexWidth=t};i.prototype._getFlexWidth=function(){return this._flexWidth};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayoutCellData\", [\"sap/ui/core/LayoutData\",\"./library\"],function(e,t){\"use strict\";var a=e.extend(\"sap.ui.layout.BlockLayoutCellData\",{metadata:{library:\"sap.ui.layout\",properties:{sSize:{type:\"int\",group:\"Appearance\",defaultValue:1},mSize:{type:\"int\",group:\"Appearance\",defaultValue:1},lSize:{type:\"int\",group:\"Appearance\",defaultValue:1},xlSize:{type:\"int\",group:\"Appearance\",defaultValue:1}}}});a.prototype.breakRowOnSSize=true;a.prototype.breakRowOnMSize=false;a.prototype.breakRowOnLSize=false;a.prototype.breakRowOnXlSize=false;a.prototype.setSize=function(e){this.setProperty(\"mSize\",e);this.setProperty(\"lSize\",e);this.setProperty(\"xlSize\",e);var t=this.getParent();if(t&&t.getParent()){t.getParent().invalidate()}return this};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayoutCellRenderer\", [\"./library\",\"sap/ui/core/library\",\"sap/base/Log\"],function(e,t,l){\"use strict\";var i=t.TitleLevel;var n={apiVersion:2};n.render=function(e,t){this.startCell(e,t);this.addContent(e,t);this.endCell(e)};n.startCell=function(e,t){var l=this.getCellColor(e,t);e.openStart(\"div\",t).class(\"sapUiBlockLayoutCell\");l&&e.class(l);this.setWidth(e,t);e.openEnd()};n.getCellColor=function(e,t){var i=t.getBackgroundColorSet(),n=t.getBackgroundColorShade();if(!i&&!n){return\"\"}else if(i&&!n||!i&&n){l.warning(\"Both, backgroundColorSet and backgroundColorShade should be defined. ColoSet is not applied to \"+t.getId()+\".\");return\"\"}i=i.replace(\"ColorSet\",\"\");n=n.replace(\"Shade\",\"\");return\"sapUiBlockLayoutCellColor\"+i+n};n.setWidth=function(e,t){var l=t.getWidth();if(t._getParentRowScrollable()){if(l!==0){e.style(\"width\",l+\"%\")}}else{this.addFlex(e,t._getFlexWidth())}};n.addFlex=function(e,t){e.style(\"-webkit-flex\",t);e.style(\"-ms-flex\",t);e.style(\"flex\",t)};n.addTitle=function(e,t){var l=t.getTitleLink();var n=t.getTitle();if(n||l){var o=\"sapUiBlockCell\"+t.getTitleAlignment(),r=\"sapUiBlockCellTitle \"+o;if(t.getContent().length===0){r+=\" sapUiBlockCellTitleNoContent\"}var a=t.getTitleLevel(),s=a===i.Auto,d=s?\"h2\":a.toLowerCase();var c=r.split(\" \");e.openStart(d,this.getTitleId(t));for(var C=0;C=3&&t===\"M\"&&e.length<5){return this._generateArrangementForMCase()}else{return this._generateArrangement(t)}};l.prototype._generateArrangement=function(t){var e,a=0,r=[],o=[],n=[[]],s=this.getContent();s.forEach(function(a){e=a.getLayoutData();o.push(e[\"breakRowOn\"+t+\"Size\"]);r.push(e[\"get\"+t+\"Size\"]())});r.forEach(function(t,e){n[a].push(t);if(o[e+1]){a++;n[a]=[]}});return n};l.prototype._generateArrangementForMCase=function(){var t=this.getContent();if(t.length===3&&this._isAllCellsHasSameWidth(\"M\")){return[[1,1,1]]}else if(t.length===3){return[[1,1],[1]]}else if(t.length===4){return[[1,1],[1,1]]}};l.prototype._isAllCellsHasSameWidth=function(t){var e,a=this.getContent(),r=a[0].getLayoutData()[\"get\"+t+\"Size\"]();for(var o=1;o-1){s++;o=\"sapUiBlockLayoutBackgroundColorSetGray\"+(s%2+1);if(a.hasStyleClass(o)){continue}l.splice(l.indexOf(r),1);a.removeStyleClass(\"sapUiBlockLayoutBackgroundColorSetGray1\").removeStyleClass(\"sapUiBlockLayoutBackgroundColorSetGray2\").addStyleClass(o)}}return this};l.prototype._hasStyleClass=function(t,e,a,r){var o=n,l=s,i,u,c;if([o.Light,o.Mixed].indexOf(e)===-1){return this.hasStyleClass(t)}else if(this.hasStyleClass(t)){return true}c=[[l.ColorSet1,l.ColorSet3],[l.ColorSet2,l.ColorSet4]];for(i=0;i<=c.length;i++){if(c[i]&&c[i].indexOf(r)>-1){break}}if(!c[i]){return false}u=c[i].map(function(t){return\"sapUiBlockLayoutBackground\"+t+(a?\"Inverted\":\"\")});return u.some(this.hasStyleClass,this)};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/BlockLayoutRowRenderer\", [\"./library\"],function(e){\"use strict\";var l=e.BlockBackgroundType;var t={apiVersion:2};t.render=function(e,l){this.startRow(e,l);this.renderContent(e,l);this.endRow(e,l)};t.startRow=function(e,l){e.openStart(\"div\",l).class(\"sapUiBlockLayoutRow\");this.addRowRenderingClass(e,l);e.openEnd()};t.addRowRenderingClass=function(e,l){if(l.getScrollable()){e.class(\"sapUiBlockScrollingRow\");if(l.getContent().length>=6){e.class(\"sapUiBlockScrollingNarrowCells\")}}else{e.class(\"sapUiBlockHorizontalCellsRow\")}};t.renderContent=function(e,t){var n=t.getContent(),o=t.getScrollable(),a=t.getParent().getBackground(),s=t.getAccentCells(),r=0,i;n.forEach(function(e,l){l%2==0?e.addStyleClass(\"sapUiBlockLayoutOddCell\"):e.addStyleClass(\"sapUiBlockLayoutEvenCell\");if(o){e.addStyleClass(\"sapUiBlockScrollableCell\")}else{e.addStyleClass(\"sapUiBlockHorizontalCell\")}});switch(a){case l.Mixed:if(s.length>0){t._processMixedCellStyles(s[s.length-1],n)}break;case l.Accent:t._processAccentCellStyles(s,n);break}var c=t._getCellArangementForCurrentSize();if(o){n.forEach(e.renderControl,e)}else if(c){for(var d=0;dP&&t<=z&&this._currentBreakpoint!==u){return u}else if(t>z&&t<=B&&this._currentBreakpoint!==p){return p}else if(t>B&&this._currentBreakpoint!==C){return C}return this._currentBreakpoint};l.prototype._setBreakpointFromWidth=function(t){var e=this._getBreakPointFromWidth(t),i=this.getCurrentBreakpoint();this._currentBreakpoint=e;if(i!==undefined){e!==i&&this.fireBreakpointChanged({currentBreakpoint:this._currentBreakpoint})}};l.prototype._adjustToScreenSize=function(){if(this.getContainerQuery()){this._iWindowWidth=this.$().parent().width()}else{this._iWindowWidth=jQuery(window).width()}this._setResizeData(this._getBreakPointFromWidth(this._iWindowWidth),this.getEqualSplit());this._changeGridState();this._setBreakpointFromWidth(this._iWindowWidth)};l.prototype._setResizeData=function(t,e){var i=this.getSideContentVisibility(),n=this.getSideContentFallDown();if(!e){switch(t){case d:this._setSpanSize(M,M);if(this.getProperty(\"showSideContent\")&&this.getProperty(\"showMainContent\")&&this._MCVisible){this._SCVisible=i===h.AlwaysShow}this._bFixedSideContent=false;break;case u:var s=Math.ceil(33.333/100*this._iWindowWidth);if(n===a.BelowL||n===a.BelowXL||s<=320&&n===a.OnMinimumWidth){this._setSpanSize(M,M);this._bFixedSideContent=false}else{this._setSpanSize(y,w);this._bFixedSideContent=true}this._SCVisible=i===h.ShowAboveS||i===h.AlwaysShow;this._MCVisible=true;break;case p:if(n===a.BelowXL){this._setSpanSize(M,M)}else{this._setSpanSize(y,w)}this._SCVisible=i===h.ShowAboveS||i===h.ShowAboveM||i===h.AlwaysShow;this._MCVisible=true;this._bFixedSideContent=false;break;case C:this._setSpanSize(f,V);this._SCVisible=i!==h.NeverShow;this._MCVisible=true;this._bFixedSideContent=false;break;default:throw new Error(m)}}else{switch(t){case d:this._setSpanSize(M,M);this._SCVisible=false;break;default:this._setSpanSize(b,b);this._SCVisible=true;this._MCVisible=true}this._bFixedSideContent=false}return this};l.prototype._shouldSetHeight=function(){var t,e,i,n,s,r,o;t=this.getProperty(\"scSpan\")+this.getProperty(\"mcSpan\")===M;e=this._MCVisible&&this._SCVisible;i=!this._MCVisible&&this._SCVisible;n=this._MCVisible&&!this._SCVisible;s=i||n;r=this._fixedSideContent;o=this.getSideContentVisibility()===h.NeverShow;return t&&e||s||r||o};l.prototype._getSideContentWidth=function(){var t,e=this.getCurrentBreakpoint();switch(e){case u:t=this.getSideContentWidthM();break;case p:t=this.getSideContentWidthL();break;case C:t=this.getSideContentWidthXL();break;default:t=\"\"}return t};l.prototype._changeGridState=function(){var t=this.$(k),e=this.$(v),i=this.getProperty(\"showMainContent\"),n=this.getProperty(\"showSideContent\"),s=this._shouldSetHeight(),r=this._getSideContentWidth();if(this._bFixedSideContent&&!r){t.removeClass().addClass(c);e.removeClass().addClass(g)}else{t.removeClass(c);e.removeClass(g)}if(this._SCVisible&&this._MCVisible&&n&&i){if(!this._bFixedSideContent&&(!r||this.getEqualSplit())){e.removeClass().addClass(\"sapUiDSCSpan\"+this.getProperty(\"mcSpan\"));t.removeClass().addClass(\"sapUiDSCSpan\"+this.getProperty(\"scSpan\"))}e.removeClass(S);t.removeClass(S);t.css(this._getSideContentStyles(s));e.css(this._getMainContentStyles(s))}else if(!this._SCVisible&&!this._MCVisible){e.addClass(S);t.addClass(S)}else if(this._MCVisible&&i||!i&&!n){e.removeClass().addClass(_).css(\"width\",\"\");t.addClass(S)}else if(this._SCVisible&&n){t.removeClass().addClass(_).css(\"width\",\"\");e.addClass(S)}e.addClass(\"sapUiDSCM\");t.addClass(\"sapUiDSCS\")};l.prototype._getMainContentStyles=function(t){var e=this._getSideContentWidth();return{width:e&&t&&!this.getEqualSplit()?\"calc(100% - \"+e+\")\":\"\",float:t?\"left\":\"none\",height:t?\"100%\":\"auto\"}};l.prototype._getSideContentStyles=function(t){var e=this._getSideContentWidth();return{width:e&&t&&!this.getEqualSplit()?e:\"\",float:t?\"left\":\"none\",height:t?\"100%\":\"auto\"}};l.prototype._setSpanSize=function(t,e){this.setProperty(\"scSpan\",t);this.setProperty(\"mcSpan\",e)};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/DynamicSideContentRenderer\", [\"sap/base/i18n/Localization\",\"sap/ui/core/Lib\",\"sap/ui/layout/library\",\"sap/ui/Device\"],function(e,t,n,i){\"use strict\";var r=n.SideContentPosition;var o=\"SIDE_CONTENT_LABEL\";var s={apiVersion:2};s.render=function(e,t){e.openStart(\"div\",t);e.class(\"sapUiDSC\");e.style(\"height\",\"100%\");e.openEnd();this.renderSubControls(e,t);e.close(\"div\")};s.renderSubControls=function(t,n){var i=n.getId(),o=n._shouldSetHeight(),s=e.getRTL(),a=n.getSideContentPosition();if(a===r.Begin&&!s||s&&a===r.End){this._renderSideContent(t,n,i,o);this._renderMainContent(t,n,i,o)}else{this._renderMainContent(t,n,i,o);this._renderSideContent(t,n,i,o)}};s.renderControls=function(e,t){var n=t.length,i=0;for(;il){this.$(\"Flexible\").attr(\"style\",\"min-\"+i+\":\"+l+\"px\")}else{this.$(\"Flexible\").attr(\"style\",i+\":\"+l+\"px\")}}else{t.addClass(\"sapUiFixFlexInnerScrolling\");t.removeClass(\"sapUiFixFlexScrolling\");if(r){this._scroller.setVertical(false);this._innerScroller.setVertical(true)}else{this._scroller.setHorizontal(false);this._innerScroller.setHorizontal(true)}this._changeFlexibleContainerScroll();this.$(\"Flexible\").removeAttr(\"style\")}};s.prototype._changeFlexibleContainerScroll=function(){var e=this.$(\"FlexibleContainer\"),i=e.height(),t=e.children().height();if(i==t){return}if(i>t){e.removeClass(\"sapUiFixFlexFlexibleContainerGrowing\")}else{e.addClass(\"sapUiFixFlexFlexibleContainerGrowing\")}};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/FixFlexRenderer\", [],function(){\"use strict\";var e={apiVersion:2};e.render=function(e,i){e.openStart(\"div\",i).class(\"sapUiFixFlex\");if(i.getMinFlexSize()!==0){e.class(\"sapUiFixFlexInnerScrolling\")}if(!i.getVertical()){e.class(\"sapUiFixFlexRow\")}e.openEnd();if(i.getFixFirst()){this.renderFixChild(e,i);this.renderFlexChild(e,i)}else{this.renderFlexChild(e,i);this.renderFixChild(e,i)}e.close(\"div\")};e.renderFixChild=function(e,i){e.openStart(\"div\",i.getId()+\"-Fixed\").class(\"sapUiFixFlexFixed\");if(i.getFixContentSize()!==\"auto\"){if(i.getVertical()){e.style(\"height\",i.getFixContentSize())}else{e.style(\"width\",i.getFixContentSize())}}e.openEnd();i.getFixContent().forEach(e.renderControl,e);e.close(\"div\")};e.renderFlexChild=function(e,i){e.openStart(\"div\",i.getId()+\"-Flexible\").class(\"sapUiFixFlexFlexible\").openEnd();e.openStart(\"div\",i.getId()+\"-FlexibleContainer\").class(\"sapUiFixFlexFlexibleContainer\");if(i.getMinFlexSize()!==0){if(i.getVertical()){e.style(\"min-height\",i.getMinFlexSize()+\"px\")}else{e.style(\"min-width\",i.getMinFlexSize()+\"px\")}}e.openEnd();e.renderControl(i.getFlexContent());e.close(\"div\").close(\"div\")};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/Grid\", [\"sap/ui/core/Control\",\"./library\",\"sap/ui/Device\",\"sap/ui/core/ResizeHandler\",\"sap/ui/base/ManagedObjectObserver\",\"./GridRenderer\",\"sap/ui/thirdparty/jquery\"],function(e,t,i,s,a,n,jQuery){\"use strict\";var o=e.extend(\"sap.ui.layout.Grid\",{metadata:{library:\"sap.ui.layout\",properties:{width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:\"100%\"},vSpacing:{type:\"float\",group:\"Dimension\",defaultValue:1},hSpacing:{type:\"float\",group:\"Dimension\",defaultValue:1},position:{type:\"sap.ui.layout.GridPosition\",group:\"Dimension\",defaultValue:\"Left\"},defaultSpan:{type:\"sap.ui.layout.GridSpan\",group:\"Behavior\",defaultValue:\"XL3 L3 M6 S12\"},defaultIndent:{type:\"sap.ui.layout.GridIndent\",group:\"Behavior\",defaultValue:\"XL0 L0 M0 S0\"},containerQuery:{type:\"boolean\",group:\"Behavior\",defaultValue:false}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"}},associations:{ariaLabelledBy:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"ariaLabelledBy\"}},designtime:\"sap/ui/layout/designtime/Grid.designtime\"},renderer:n});(function(){o.prototype.init=function(){(()=>{var e=t.GridHelper.getLibrarySpecificClass();if(e){this.addStyleClass(e)}})();this._iBreakPointTablet=i.media._predefinedRangeSets[i.media.RANGESETS.SAP_STANDARD_EXTENDED].points[0];this._iBreakPointDesktop=i.media._predefinedRangeSets[i.media.RANGESETS.SAP_STANDARD_EXTENDED].points[1];this._iBreakPointLargeDesktop=i.media._predefinedRangeSets[i.media.RANGESETS.SAP_STANDARD_EXTENDED].points[2];this._indentXLChanged=false;this._spanXLChanged=false;this._oObserver=new a(o.prototype._observeChanges.bind(this));this._oObserver.observe(this,{aggregations:[\"content\"]})};o.prototype.onAfterRendering=function(){if(this.getContainerQuery()){this._sContainerResizeListener=s.register(this,jQuery.proxy(this._onParentResize,this));this._onParentResize()}else{this._attachMediaContainerWidthChange(this._handleMediaChange,this,i.media.RANGESETS.SAP_STANDARD_EXTENDED)}};o.prototype.onBeforeRendering=function(){this._cleanup()};o.prototype.exit=function(){this._cleanup();if(this._oObserver){this._oObserver.disconnect();this._oObserver=null}};o.prototype._cleanup=function(){if(this._sContainerResizeListener){s.deregister(this._sContainerResizeListener);this._sContainerResizeListener=null}this._detachMediaContainerWidthChange(this._handleMediaChange,this,i.media.RANGESETS.SAP_STANDARD_EXTENDED)};o.prototype._observeVisibility=function(e){this._oObserver.observe(e,{properties:[\"visible\"]})};o.prototype._unobserveVisibility=function(e){this._oObserver.unobserve(e,{properties:[\"visible\"]})};o.prototype._observeChanges=function(e){var t=e.object,i=e.name,s=e.mutation,a=e.child;if(t===this){if(s===\"insert\"){this._observeVisibility(a)}else if(s===\"remove\"){this._unobserveVisibility(a)}}else if(i===\"visible\"){var n=this.getContent().indexOf(t);jQuery(this.$().children()[n]).toggleClass(\"sapUiRespGridSpanInvisible\",!e.current)}};o.prototype._handleMediaChange=function(e){this._toggleClass(e.name)};o.prototype._setBreakPointTablet=function(e){this._iBreakPointTablet=e};o.prototype._setBreakPointDesktop=function(e){this._iBreakPointDesktop=e};o.prototype._setBreakPointLargeDesktop=function(e){this._iBreakPointLargeDesktop=e};o.prototype.setDefaultIndent=function(e){if(/XL/gi.test(e)){this._setIndentXLChanged(true)}return this.setProperty(\"defaultIndent\",e)};o.prototype._setIndentXLChanged=function(e){this._indentXLChanged=e};o.prototype._getIndentXLChanged=function(){return this._indentXLChanged};o.prototype.setDefaultSpan=function(e){if(/XL/gi.test(e)){this._setSpanXLChanged(true)}return this.setProperty(\"defaultSpan\",e)};o.prototype._setSpanXLChanged=function(e){this._spanXLChanged=e};o.prototype._getSpanXLChanged=function(){return this._spanXLChanged};o.prototype._onParentResize=function(){var e=this.getDomRef();if(!e){this._cleanup();return}if(!jQuery(e).is(\":visible\")){return}var t=e.clientWidth;if(t<=this._iBreakPointTablet){this._toggleClass(\"Phone\")}else if(t>this._iBreakPointTablet&&t<=this._iBreakPointDesktop){this._toggleClass(\"Tablet\")}else if(t>this._iBreakPointDesktop&&t<=this._iBreakPointLargeDesktop){this._toggleClass(\"Desktop\")}else{this._toggleClass(\"LargeDesktop\")}};o.prototype._toggleClass=function(e){var t=this.$();if(!t){return}if(t.hasClass(\"sapUiRespGridMedia-Std-\"+e)){return}t.toggleClass(\"sapUiRespGridMedia-Std-\"+e,true);if(e===\"Phone\"){t.toggleClass(\"sapUiRespGridMedia-Std-Desktop\",false).toggleClass(\"sapUiRespGridMedia-Std-Tablet\",false).toggleClass(\"sapUiRespGridMedia-Std-LargeDesktop\",false)}else if(e===\"Tablet\"){t.toggleClass(\"sapUiRespGridMedia-Std-Desktop\",false).toggleClass(\"sapUiRespGridMedia-Std-Phone\",false).toggleClass(\"sapUiRespGridMedia-Std-LargeDesktop\",false)}else if(e===\"LargeDesktop\"){t.toggleClass(\"sapUiRespGridMedia-Std-Desktop\",false).toggleClass(\"sapUiRespGridMedia-Std-Phone\",false).toggleClass(\"sapUiRespGridMedia-Std-Tablet\",false)}else{t.toggleClass(\"sapUiRespGridMedia-Std-Phone\",false).toggleClass(\"sapUiRespGridMedia-Std-Tablet\",false).toggleClass(\"sapUiRespGridMedia-Std-LargeDesktop\",false)}this.fireEvent(\"mediaChanged\",{media:e})};o.prototype._getLayoutDataForControl=function(e){var t=e.getLayoutData();if(!t){return undefined}else if(t.isA(\"sap.ui.layout.GridData\")){return t}else if(t.isA(\"sap.ui.core.VariantLayoutData\")){var i=t.getMultipleLayoutData();for(var s=0;s0){this._sStylesInternal=e}else{this._sStylesInternal=undefined}};a.prototype._getEffectiveSpanXLarge=function(){var e=this.getSpanXL();if(e&&e>0&&e<13){return e}var t=/XL([1-9]|1[0-2])(?:\\s|$)/i;var n=t.exec(this.getSpan());if(n){var a=n[0];if(a){a=a.toUpperCase();if(a.substr(0,2)===\"XL\"){return parseInt(a.substr(2))}}}return undefined};a.prototype._getEffectiveSpanLarge=function(){var e=this.getSpanL();if(e&&e>0&&e<13){return e}var t=/\\bL([1-9]|1[0-2])(?:\\s|$)/i;var n=t.exec(this.getSpan());if(n){var a=n[0];if(a){a=a.toUpperCase();if(a.substr(0,1)===\"L\"){return parseInt(a.substr(1))}}}return undefined};a.prototype._getEffectiveSpanMedium=function(){var e=this.getSpanM();if(e&&e>0&&e<13){return e}var t=/M([1-9]|1[0-2])(?:\\s|$)/i;var n=t.exec(this.getSpan());if(n){var a=n[0];if(a){a=a.toUpperCase();if(a.substr(0,1)===\"M\"){return parseInt(a.substr(1))}}}return undefined};a.prototype._getEffectiveSpanSmall=function(){var e=this.getSpanS();if(e&&e>0&&e<13){return e}var t=/S([1-9]|1[0-2])(?:\\s|$)/i;var n=t.exec(this.getSpan());if(n){var a=n[0];if(a){a=a.toUpperCase();if(a.substr(0,1)===\"S\"){return parseInt(a.substr(1))}}}return undefined};a.prototype.init=function(){this._bLinebreakXLChanged=false};a.prototype.setLinebreakXL=function(e){this.setProperty(\"linebreakXL\",e);this._bLinebreakXLChanged=true;return this};a.prototype._getLinebreakXLChanged=function(){return this._bLinebreakXLChanged};a.prototype.setSpanLarge=function(e){this.setSpanL(e);n.warning(\"Deprecated property spanLarge is used, please use spanL instead.\");return this};a.prototype.setSpanMedium=function(e){n.warning(\"Deprecated property spanMedium is used, please use spanM instead.\");return this.setSpanM(e)};a.prototype.setSpanSmall=function(e){n.warning(\"Deprecated property spanSmall is used, please use spanS instead.\");return this.setSpanS(e)};a.prototype.setIndentLarge=function(e){n.warning(\"Deprecated property indentLarge is used, please use indentL instead.\");return this.setIndentL(e)};a.prototype.setIndentMedium=function(e){n.warning(\"Deprecated property indentMedium is used, please use indentM instead.\");return this.setIndentM(e)};a.prototype.setIndentSmall=function(e){n.warning(\"Deprecated property indentSmall is used, please use indentS instead.\");return this.setIndentS(e)};a.prototype.setVisibleOnLarge=function(e){n.warning(\"Deprecated property visibleOnLarge is used, please use visibleL instead.\");return this.setVisibleL(e)};a.prototype.setVisibleOnMedium=function(e){n.warning(\"Deprecated property visibleOnMedium is used, please use visibleM instead.\");return this.setVisibleM(e)};a.prototype.setVisibleOnSmall=function(e){n.warning(\"Deprecated property visibleOnSmall is used, please use visibleS instead.\");return this.setVisibleS(e)};a.prototype.getSpanLarge=function(){n.warning(\"Deprecated property spanLarge is used, please use spanL instead.\");return this.getSpanL()};a.prototype.getSpanMedium=function(){n.warning(\"Deprecated property spanMedium is used, please use spanM instead.\");return this.getSpanM()};a.prototype.getSpanSmall=function(){n.warning(\"Deprecated property spanSmall is used, please use spanS instead.\");return this.getSpanS()};a.prototype.getIndentLarge=function(){n.warning(\"Deprecated property indentLarge is used, please use indentL instead.\");return this.getIndentL()};a.prototype.getIndentMedium=function(){n.warning(\"Deprecated property indentMedium is used, please use indentM instead.\");return this.getIndentM()};a.prototype.getIndentSmall=function(){n.warning(\"Deprecated property indentSmall is used, please use indentS instead.\");return this.getIndentS()};a.prototype.getVisibleOnLarge=function(){n.warning(\"Deprecated property visibleOnLarge is used, please use visibleL instead.\");return this.getVisibleL()};a.prototype.getVisibleOnMedium=function(){n.warning(\"Deprecated property visibleOnMedium is used, please use visibleM instead.\");return this.getVisibleM()};a.prototype.getVisibleOnSmall=function(){n.warning(\"Deprecated property visibleOnSmall is used, please use visibleS instead.\");return this.getVisibleS()}})();return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/GridRenderer\", [\"sap/ui/Device\",\"sap/ui/layout/library\"],function(e,s){\"use strict\";var a=s.GridPosition;var i={apiVersion:2};i.render=function(s,i){var r=/^([X][L](?:[0-9]|1[0-1]))? ?([L](?:[0-9]|1[0-1]))? ?([M](?:[0-9]|1[0-1]))? ?([S](?:[0-9]|1[0-1]))?$/i;var t=/^([X][L](?:[1-9]|1[0-2]))? ?([L](?:[1-9]|1[0-2]))? ?([M](?:[1-9]|1[0-2]))? ?([S](?:[1-9]|1[0-2]))?$/i;s.openStart(\"div\",i);s.class(\"sapUiRespGrid\");var p=i._getCurrentMediaContainerRange(e.media.RANGESETS.SAP_STANDARD_EXTENDED).name;s.class(\"sapUiRespGridMedia-Std-\"+p);var n=i.getHSpacing();if(n===.5){n=\"05\"}else if(n!==0&&n!==1&&n!==2){n=1}s.class(\"sapUiRespGridHSpace\"+n);var l=i.getVSpacing();if(l===.5){l=\"05\"}else if(l!==0&&l!==1&&l!==2){l=1}s.class(\"sapUiRespGridVSpace\"+l);var d=i.getPosition();if(d){d=d.toUpperCase();if(d===a.Center.toUpperCase()){s.class(\"sapUiRespGridPosCenter\")}else if(d===a.Right.toUpperCase()){s.class(\"sapUiRespGridPosRight\")}}var f=i.getWidth();if(f!==\"100%\"&&f!==\"auto\"&&f!==\"inherit\"){if(n===0){s.style(\"width\",f)}else{s.style(\"width\",\"-webkit-calc(\"+f+\" - \"+n+\"rem)\");s.style(\"width\",\"calc(\"+f+\" - \"+n+\"rem)\")}}var v=i._getAccessibleRole();var c;if(v){c={role:v}}s.accessibilityState(i,c);s.openEnd();var g=i.getContent();var o=i.getDefaultSpan();var L=[\"\",\"XL3\",\"L3\",\"M6\",\"S12\"];var S=[\"\",\"XL0\",\"L0\",\"M0\",\"S0\"];var U=t.exec(o);var u=i._getSpanXLChanged();var R=i._getIndentXLChanged();var G=i.getDefaultIndent();var b=r.exec(G);for(var X=0;X0&&B<13){s.class(\"sapUiRespGridSpanXL\"+B);C=true}else if(w.substr(0,1)===\"L\"&&D>0&&D<13){s.class(\"sapUiRespGridSpanL\"+D);k=D}else if(w.substr(0,1)===\"M\"&&V>0&&V<13){s.class(\"sapUiRespGridSpanM\"+V)}else if(w.substr(0,1)===\"S\"&&x>0&&x<13){s.class(\"sapUiRespGridSpanS\"+x)}else{if(w.substr(0,2)!==\"XL\"||u||C){s.class(\"sapUiRespGridSpan\"+w)}}}if(!u&&!C){s.class(\"sapUiRespGridSpanXL\"+k)}}var E;var H;var A=h.getIndent();if(!A||A.length==0){E=b}else{E=r.exec(A);if(/XL/gi.test(A)){R=true}}if(!E){E=b;if(!E){E=undefined}}var P=h.getIndentXL();var m=h.getIndentL();var F=h.getIndentM();var N=h.getIndentS();if(E){for(var _=1;_0&&P<12){s.class(\"sapUiRespGridIndentXL\"+P);R=true}else if(T.substr(0,1)===\"L\"&&m>0&&m<12){s.class(\"sapUiRespGridIndentL\"+m);H=m}else if(T.substr(0,1)===\"M\"&&F>0&&F<12){s.class(\"sapUiRespGridIndentM\"+F)}else if(T.substr(0,1)===\"S\"&&N>0&&N<12){s.class(\"sapUiRespGridIndentS\"+N)}else{if(!/^(XL0)? ?(L0)? ?(M0)? ?(S0)?$/.exec(T)){s.class(\"sapUiRespGridIndent\"+T)}}}}if(!R){if(H&&H>0){s.class(\"sapUiRespGridIndentXL\"+H)}}}if(!h.getVisibleXL()){s.class(\"sapUiRespGridHiddenXL\")}if(!h.getVisibleL()){s.class(\"sapUiRespGridHiddenL\")}if(!h.getVisibleM()){s.class(\"sapUiRespGridHiddenM\")}if(!h.getVisibleS()){s.class(\"sapUiRespGridHiddenS\")}var $=h.getMoveBackwards();if($&&$.length>0){var W=r.exec($);if(W){for(var _=1;_0){var z=r.exec(q);if(z){for(var _=1;_0;_--){a=i[r].cont[_-1];if(a.linebreakable){a.breakWith.push(n);m=true;break}}}if(!m){i[r].cont.push(n)}}t._rows=i};var a=function(e,i,r){var n=[];var o=1e7;var a=-1;var s=function(t){var i=jQuery(document.getElementById(e.cont[t].id));if(i.length>0){var r=i[0].offsetLeft;if(o>=r){n.push({cont:[]});a++}o=r;n[a].cont.push(e Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/ResponsiveFlowLayoutData\", [\"sap/ui/core/LayoutData\",\"./library\",\"sap/base/Log\"],function(e,t,a){\"use strict\";var i=e.extend(\"sap.ui.layout.ResponsiveFlowLayoutData\",{metadata:{library:\"sap.ui.layout\",properties:{minWidth:{type:\"int\",group:\"Misc\",defaultValue:100},weight:{type:\"int\",group:\"Misc\",defaultValue:1},linebreak:{type:\"boolean\",group:\"Misc\",defaultValue:false},margin:{type:\"boolean\",group:\"Misc\",defaultValue:true},linebreakable:{type:\"boolean\",group:\"Misc\",defaultValue:true}}}});i.MIN_WIDTH=100;i.WEIGHT=1;i.LINEBREAK=false;i.MARGIN=true;i.LINEBREAKABLE=true;i.prototype.setWeight=function(e){if(e>=1){this.setProperty(\"weight\",e)}else{a.warning(\"Values smaller than 1 are invalid. Default value '1' is used instead\",this);this.setProperty(\"weight\",i.WEIGHT)}return this};i.prototype.setLinebreak=function(e){if(this.getLinebreakable()==false&&e){a.warning(\"Setting 'linebreak' AND 'linebreakable' doesn't make any sense. Please set either 'linebreak' or 'linebreakable'\",this)}else{this.setProperty(\"linebreak\",e)}return this};i.prototype.setLinebreakable=function(e){if(this.getLinebreak()===true&&e===false){a.warning(\"Setting 'linebreak' AND 'linebreakable' doesn't make any sense. Please set either 'linebreak' or 'linebreakable'\",this)}else{this.setProperty(\"linebreakable\",e)}return this};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/ResponsiveFlowLayoutRenderer\", [],function(){\"use strict\";var e={apiVersion:2};(function(){e.render=function(e,i){e.openStart(\"div\",i);e.class(\"sapUiRFL\");var n=i._getAccessibleRole();var t;if(n){t={role:n}}e.accessibilityState(i,t);e.openEnd();e.close(\"div\")}})();return e},true);\n/*!\n* OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.predefine(\"sap/ui/layout/ResponsiveSplitter\", [\"./library\",\"./PaneContainer\",\"./ResponsiveSplitterPage\",\"./ResponsiveSplitterRenderer\",\"./ResponsiveSplitterUtilities\",\"./SplitPane\",\"./Splitter\",\"sap/ui/core/Control\",\"sap/ui/core/Element\",\"sap/ui/core/Lib\",\"sap/ui/core/delegate/ItemNavigation\",\"sap/ui/core/ResizeHandler\",\"sap/ui/core/RenderManager\"],function(t,e,i,n,a,s,o,r,l,p,g,u,h){\"use strict\";var d=r.extend(\"sap.ui.layout.ResponsiveSplitter\",{metadata:{library:\"sap.ui.layout\",properties:{width:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"100%\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Appearance\",defaultValue:\"100%\"}},defaultAggregation:\"rootPaneContainer\",aggregations:{rootPaneContainer:{type:\"sap.ui.layout.PaneContainer\",multiple:false},_pages:{type:\"sap.ui.layout.ResponsiveSplitterPage\",multiple:true,visibility:\"hidden\"}},associations:{defaultPane:{type:\"sap.ui.layout.SplitPane\",multiple:false}},events:{}},renderer:n});var f={MAX_VISIBLE_BUTTONS:7};d.prototype.init=function(){this._aPaneContainers=[];this._aPanes=[];this._oResourceBundle=p.getResourceBundleFor(\"sap.ui.layout\");this._oItemNavigation=new g;this._oItemNavigation.setCycling(false);this.addDelegate(this._oItemNavigation);this._iDefaultPageIndex=0};d.prototype.onBeforeRendering=function(){var t=this.getRootPaneContainer();if(t){this._oSplitterDelegate=this._oSplitterDelegate||{onAfterRendering:function(){this._setSplitterBarsTooltips(t._oSplitter);this._updatePaginatorButtonsTooltips()}};t._oSplitter.addEventDelegate(this._oSplitterDelegate,this);this._createWidthIntervals();this._createPages();this._detachResizeHandler()}};d.prototype.onAfterRendering=function(){this._parentResizeHandler=u.register(this,this._onParentResize.bind(this));var t=this.getRootPaneContainer();if(t){this._onParentResize();this._updatePaginatorButtonsTooltips()}this._setItemNavigation()};d.prototype.exit=function(){this._detachResizeHandler();this._clearItemNavigation();this._oSplitterDelegate=null};d.prototype._setSplitterBarsTooltips=function(t,e){var i=t.$().find(\" > .sapUiLoSplitterBar\"),n=t.$().find(\" > .sapUiLoSplitterContent\"),a=\"\",s,r,p,g;for(var u=0;u0){o=t.shift();for(var r=1;r<=e;r++){i+=r;if(rt){while(n>t){n--;if(e[n].getDomRef()){h.preserveContent(e[n].getDomRef())}e[n].destroy()}}};d.prototype._intervalHasChanged=function(){var t=this.getDomRef().clientWidth,e=null,i=this._aIntervals;for(var n=0;n1&&n>1){this.addStyleClass(\"sapUiRSVisiblePaginator\");t=t.slice(0,s?n:f.MAX_VISIBLE_BUTTONS);t.removeClass(\"sapUiResponsiveSplitterHiddenElement\");t.removeClass(\"sapUiResponsiveSplitterHiddenPaginatorButton\");e.toggleClass(\"sapUiResponsiveSplitterHiddenPaginatorButton\",s);i.toggleClass(\"sapUiResponsiveSplitterWithNavButtons\",!s)}else{this.removeStyleClass(\"sapUiRSVisiblePaginator\")}};d.prototype._getMaxPageCount=function(){var t=0;this._aIntervals.forEach(function(e){if(e.iPagesCount>t){t=e.iPagesCount}});return t};d.prototype._arrangeContent=function(){var t=this.getAggregation(\"_pages\")||[],e=0,i=l.getElementById(this.getDefaultPane()),n,a,s;this._clearContent();t.forEach(function(t){t.setVisible(false)});this._fillPageContent(this.getRootPaneContainer());if(i){n=i.getContent();if(n){a=n.getId();for(s=0;s0;g=t._oSplitter;if(o&&p){a._oSplitter.addAssociatedContentArea(g)}else if(!o){r[0].setContent(g)}t.getPanes().forEach(function(t){this._fillPageContent(t)},this)}else if(n&&r){this._assignDefault(t);this._aPanes.push(t);u=t.getDemandPane();l=this._getHiddenPanes();h=l.length;d=this._getMaxPageCount();var f;if(t._isInInterval(this._currentInterval.iFrom)){a._oSplitter.addAssociatedContentArea(t.getContent())}else if(u&&h=f.MAX_VISIBLE_BUTTONS&&a<=i});if(s.length>0){e.first().addClass(\"sapUiResponsiveSplitterHiddenElement\");s.last().removeClass(\"sapUiResponsiveSplitterHiddenElement\")}};d.prototype._handlePaginatorBack=function(t){var e=this._getVisibleButtons(),i=this._getMaxPageCount()-f.MAX_VISIBLE_BUTTONS,n=this.$().find(\".sapUiResponsiveSplitterPaginatorButton.sapUiResponsiveSplitterHiddenElement\"),a=n.filter(function(){return parseInt(this.getAttribute(\"page-index\"))0){e.last().addClass(\"sapUiResponsiveSplitterHiddenElement\");a.last().removeClass(\"sapUiResponsiveSplitterHiddenElement\")}};d.prototype.ontap=d.prototype._handlePaginatorButtonTap;d.prototype.onsapenter=d.prototype._handlePaginatorButtonTap;d.prototype.onsapspace=d.prototype._handlePaginatorButtonTap;return d});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/ResponsiveSplitterPage\", [\"./library\",\"sap/ui/core/Control\",\"sap/ui/core/Element\"],function(e,t,n){\"use strict\";var i=t.extend(\"sap.ui.layout.ResponsiveSplitterPage\",{metadata:{library:\"sap.ui.layout\",associations:{content:{type:\"sap.ui.core.Control\",multiple:false,singularName:\"content\"}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t).class(\"sapUiResponsiveSplitterPage\").openEnd();var i=n.getElementById(t.getAssociation(\"content\"));if(i){e.renderControl(i)}e.close(\"div\")}}});i.prototype.containsControl=function(e){var t=n.getElementById(this.getAssociation(\"content\"));if(!t){return false}if(t.isA(\"sap.ui.layout.AssociativeSplitter\")){return t.containsControl(e)}return t.getId()===e};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/ResponsiveSplitterRenderer\", [\"sap/ui/core/IconPool\",\"sap/ui/core/Lib\"],function(t,e){\"use strict\";var a=e.getResourceBundleFor(\"sap.ui.layout\");var i={apiVersion:2};t.insertFontFaceStyle();i.render=function(t,e){t.openStart(\"div\",e).class(\"sapUiResponsiveSplitter\").style(\"width\",e.getWidth()).style(\"height\",e.getHeight()).openEnd();var a=e.getAggregation(\"_pages\");if(a){a.forEach(t.renderControl,t);this.renderPaginator(t,e)}t.close(\"div\")};i.renderPaginator=function(t,e){var i=e._getMaxPageCount(),s=e.getAggregation(\"_pages\")||[];if(i<=1){return}t.openStart(\"div\").attr(\"role\",\"navigation\").class(\"sapUiResponsiveSplitterPaginator\").openEnd();t.openStart(\"div\").class(\"sapUiResponsiveSplitterPaginatorNavButton\").class(\"sapUiResponsiveSplitterHiddenPaginatorButton\").class(\"sapUiResponsiveSplitterPaginatorButtonBack\").openEnd().close(\"div\");t.openStart(\"div\").class(\"sapUiResponsiveSplitterPaginatorButtons\").attr(\"role\",\"listbox\").attr(\"aria-multiselectable\",true).attr(\"aria-label\",a.getText(\"RESPONSIVE_SPLITTER_ARIA_PAGINATOR_LABEL\"));if(s.length>0){t.attr(\"aria-controls\",s[0].getParent().getId())}t.openEnd();for(var n=0;n=0&&a>=0&&s>=this._move.c1MinSize&&a>=this._move.c2MinSize;if(n){this._$SplitterOverlayBar.css(this._sizeDir,this._move.relStart+r);if(!this._liveResize){return}var o=this._move[\"start\"]-t[this._moveCord];if(this.getOrientation()==p.Horizontal&&this._bRtl){o=-o}this._resizeContents(this._move[\"barNum\"],-o,false)}};v.prototype._onBarMoveEnd=function(e){this._ignoreMouse=false;this._ignoreTouch=false;var t=e;if(e.changedTouches&&e.changedTouches[0]){t=t.changedTouches[0]}var i=t[this._moveCord];var r=this._move[\"start\"]-i;if(this.getOrientation()==p.Horizontal&&this._bRtl){r=-r}this._resizeContents(this._move[\"barNum\"],-r,true);this._move.$bar.css(\"visibility\",\"\");this._$SplitterOverlay.css(\"display\",\"\");document.removeEventListener(\"mouseup\",this._boundBarMoveEnd);document.removeEventListener(\"mousemove\",this._boundBarMove);document.removeEventListener(\"touchend\",this._boundBarMoveEnd);document.removeEventListener(\"touchmove\",this._boundBarMove);this._enableAutoResize(true);if(this._move.$bar){this._move.$bar.trigger(\"focus\")}};v.prototype._resizeContents=function(e,t,i){if(isNaN(t)){d.warning(\"Splitter: Received invalid resizing values - resize aborted.\");return}var r=this._getContentAreas();var s=r[e].getLayoutData();var a=r[e+1].getLayoutData();var n=s.getSize();var o=a.getSize();var h=this.$(\"content-\"+e);var l=this.$(\"content-\"+(e+1));var u=parseFloat(this._move.c1Size).toFixed(5);var c=parseFloat(this._move.c2Size).toFixed(5);var p=parseFloat(u)+t;var _=parseFloat(c)-t;var v=parseInt(s.getMinSize());var f=parseInt(a.getMinSize());var z,g;var y;if(p0){var p=c&&o;i=this.$(\"splitbar-\"+(t-1));i.toggleClass(\"sapUiLoSplitterNoResize\",!p);i.attr(\"tabindex\",p&&this._keyboardEnabled?\"0\":\"-1\")}o=c}this._resizeBars(r);if(f(s,a)){this.fireResize({oldSizes:s,newSizes:a})}};v.prototype._getTotalSize=function(){return this._bHorizontal?this.$().innerWidth():this.$().innerHeight()};v.prototype._calcAvailableContentSize=function(){return this._getTotalSize()-this._calcBarsSize()};v.prototype._calcBarsSize=function(){var e=0,t=this._getContentAreas().length-1;for(var i=0;i-1){c=parseFloat(u)*_;n-=c;this._calculatedSizes[e]=c}else if(u.indexOf(\"px\")>-1){c=parseInt(u);n-=c;this._calculatedSizes[e]=c}else if(u.indexOf(\"%\")>-1){l.push(e)}else if(u===\"auto\"){if(a[e].getLayoutData().getMinSize()!==0){h.push(e)}else{o.push(e)}}else{d.error(\"Illegal size value: \"+s[e])}}var p=false;if(n<0){p=true;n=0}n=this._calcPercentBasedSizes(l,n);if(n<0){p=true;n=0}var v=Math.floor(n/(h.length+o.length),0);for(e=0;en){t=n}if(t=0;l--){var u=e[l],d=i[u],c=this._calculatedSizes[u],p=d.getLayoutData();if(p._isMarked()){var _=c-h;if(_{\"use strict\";const t=new Set;const n=e=>{if(i(e.target)){e.preventDefault()}};let s=false;function i(e){return!!e.closest(\".sapUiLoSplitterBar\")}function u(){document.addEventListener(\"touchstart\",n,{passive:false})}function a(){document.removeEventListener(\"touchstart\",n)}function c(n){t.add(n);if(e.support.touch&&!s){u();s=true}}function o(e){t.delete(e);if(t.size===0){a();s=false}}return{addInstance:c,removeInstance:o}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/AddFormContainer\", [\"sap/ui/fl/changeHandler/Base\",\"sap/ui/core/util/reflection/JsControlTreeModifier\"],function(e,r){\"use strict\";var t={};t.applyChange=function(r,t,o){var n=o.modifier;var a=o.appComponent;var i=o.view;var l=r.getContent();var u=r.getTexts();if(u&&u.groupLabel&&u.groupLabel.value&&l&&l.group&&(l.group.selector||l.group.id)){var s=u.groupLabel.value;var p=l.group.index;var g=l.group.selector||{id:l.group.id};var c=Object.assign({},g);c.id=c.id+\"--title\";r.setRevertData({newGroupSelector:g});if(n.bySelector(c,a)){return e.markAsNotApplicable(\"Control to be created already exists:\"+c)}else if(n.bySelector(g,a)){return e.markAsNotApplicable(\"Control to be created already exists:\"+g)}return Promise.resolve().then(function(){return Promise.all([n.createControl(\"sap.ui.core.Title\",a,i,c),n.createControl(\"sap.ui.layout.form.FormContainer\",a,i,g)])}).then(function(e){var r=e[0];var o=e[1];n.setProperty(r,\"text\",s);return Promise.resolve().then(n.insertAggregation.bind(n,o,\"title\",r,0,i)).then(n.insertAggregation.bind(n,t,\"formContainers\",o,p,i))})}else{return Promise.resolve()}};t.completeChangeContent=function(e,t,o){var n=o.appComponent;if(t.newLabel){e.setText(\"groupLabel\",t.newLabel,\"XFLD\")}else{throw new Error(\"Cannot create a new group: oSpecificChangeInfo.groupLabel attribute required\")}var a={group:{}};if(t.index===undefined){throw new Error(\"Cannot create a new group: oSpecificChangeInfo.index attribute required\")}else{a.group.index=t.index}if(t.newControlId){a.group.selector=r.getSelector(t.newControlId,n)}else{throw new Error(\"Cannot create a new group: oSpecificChangeInfo.newControlId attribute required\")}e.setContent(a)};t.revertChange=function(e,r,t){var o=t.appComponent;var n=t.view;var a=t.modifier;var i=e.getRevertData().newGroupSelector;var l=a.bySelector(i,o,n);return Promise.resolve().then(function(){return a.removeAggregation(r,\"formContainers\",l)}).then(function(){a.destroy(l);e.resetRevertData()})};t.getChangeVisualizationInfo=function(e){var r=e.getText(\"groupLabel\");return r?{descriptionPayload:{originalLabel:r}}:{}};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/AddFormField\", [\"sap/ui/fl/changeHandler/BaseAddViaDelegate\"],function(e){\"use strict\";var n=e.createAddViaDelegateChangeHandler({addProperty:function(e){var n=e.innerControls;var r=e.modifier;var t=e.view;var a=e.appComponent;var o=e.change;var i=o.getContent();var l=i.newFieldIndex;var u=i.newFieldSelector;var d;var g;return Promise.resolve().then(function(){if(!n.layoutControl){return Promise.resolve().then(r.createControl.bind(r,\"sap.ui.layout.form.FormElement\",a,t,u)).then(function(e){d=e;return Promise.all([r.insertAggregation(d,\"label\",n.label,0,t),r.insertAggregation(d,\"fields\",n.control,0,t)])})}d=n.control;return undefined}).then(function(){g=o.getDependentControl(\"parentFormContainer\",e);return r.insertAggregation(g,\"formElements\",d,l,t)}).then(function(){if(n.valueHelp){return r.insertAggregation(g,\"dependents\",n.valueHelp,0,t)}return undefined})},aggregationName:\"formElements\",parentAlias:\"parentFormContainer\",fieldSuffix:\"-field\"});return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/AddSimpleFormField\", [\"sap/ui/fl/changeHandler/BaseAddViaDelegate\",\"sap/ui/core/util/reflection/JsControlTreeModifier\"],function(e,t){\"use strict\";var r=\"sap.ui.core.Title\";var n=\"sap.m.Toolbar\";var a=\"sap.m.Label\";var o=\"sap.ui.comp.smartfield.SmartLabel\";function i(e,t){var i=t.change;var l=t.modifier;var g=i.getContent();var c=g.newFieldIndex;var d=i.getDependentControl(\"targetContainerHeader\",t);var v=e.indexOf(d);var s=0;var f=0;if(e.length===1||e.length===v+1){s=e.length}else{var u=0;for(u=v+1;u-1){a++;if(a===o){i=t[u];return t.indexOf(i)}}}return t.length})};t.applyChange=function(r,n,i){var a=i.modifier;var u=i.view;var l=i.appComponent;var f;var g=r.getTexts();var c=r.getContent();if(g&&g.groupLabel&&g.groupLabel.value&&c&&c.group&&(c.group.selector||c.group.id)){var d=c.group.selector;var p;if(d){if(d.idIsLocal){p=l.createId(d.id)}else{p=d.id}}else{p=c.group.id}r.setRevertData({groupId:p});var s=g.groupLabel.value;var v;return Promise.resolve().then(function(){return a.getAggregation(n,t.CONTENT_AGGREGATION)}).then(function(e){if(typeof c.group.index===\"number\"){return c.group.index}else{v=c.group.relativeIndex;return o(a,[\"sap.ui.core.Title\",\"sap.m.Title\",\"sap.m.Toolbar\",\"sap.m.OverflowToolbar\"],e,v)}}).then(function(r){f=r;if(a.bySelector(p,l)){return e.markAsNotApplicable(\"Control to be created already exists:\"+p)}return a.createControl(\"sap.ui.core.Title\",l,u,p)}).then(function(e){a.setProperty(e,\"text\",s);return a.insertAggregation(n,\"content\",e,f,u)})}};t.completeChangeContent=function(e,t,n){var o=n.appComponent;var i={group:{}};if(t.newLabel){e.setText(\"groupLabel\",t.newLabel,\"XFLD\")}else{throw new Error(\"oSpecificChangeInfo.newLabel attribute required\")}if(t.newControlId){i.group.selector=r.getSelector(t.newControlId,o)}else{throw new Error(\"oSpecificChangeInfo.newControlId attribute required\")}if(t.index===undefined){throw new Error(\"oSpecificChangeInfo.index attribute required\")}else{i.group.relativeIndex=t.index}e.setContent(i)};t.getControlIdFromChangeContent=function(e){var r;if(e&&e.getContent()){r=e.getContent().group.id}return r};t.revertChange=function(e,r,n){var o=n.appComponent;var i=n.view;var a=n.modifier;var u=e.getRevertData().groupId;var l=a.getSelector(u,o);var f=a.bySelector(l,o,i);return Promise.resolve().then(function(){return a.removeAggregation(r,t.CONTENT_AGGREGATION,f)}).then(function(){a.destroy(f);e.resetRevertData()})};t.getChangeVisualizationInfo=function(e,t){var n=e.getContent().group.selector;var o=r.bySelector(n,t).getParent().getId();var i=e.getText(\"groupLabel\");return{affectedControls:[o],updateRequired:true,descriptionPayload:{originalLabel:i}}};t.getCondenserInfo=function(){return undefined};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/HideSimpleForm\", [\"sap/ui/core/Element\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/base/Log\"],function(e,t,n){\"use strict\";var r={};var o=function(e,t){var n=t.getControlType(e);return n===\"sap.ui.core.Title\"||n===\"sap.m.Title\"||n===\"sap.m.Toolbar\"||n===\"sap.m.OverflowToolbar\"};var i=function(e,t){var n;for(n=0;n=0&&t>n){if(s.getControlType(e)===\"sap.m.Label\"||s.getControlType(e)===\"sap.ui.comp.smartfield.SmartLabel\"||o(e,s)){return true}else{s.setVisible(e,false)}}})}else if(r===\"removeSimpleFormGroup\"){var a=[];var u=i(f,s);var g=u&&!c;f.some(function(e,r){if(!u){s.setVisible(e,false)}else if(g){n=0;s.setVisible(e,false);g=false}else{if(e===c){n=r}if(n>=0&&r>n){if(o(e,s)){if(n===0){a.push(function(){return Promise.resolve().then(s.removeAggregation.bind(s,t,\"content\",e,l))});a.push(function(){return Promise.resolve().then(s.insertAggregation.bind(s,t,\"content\",e,0,l))})}return true}else{s.setVisible(e,false)}}}});if(c){a.push(function(){return Promise.resolve().then(s.removeAggregation.bind(s,t,\"content\",c,l))});a.push(function(){return Promise.resolve().then(s.insertAggregation.bind(s,t,\"dependents\",c,0,l))})}if(a.length>0){return a.reduce(function(e,t){return e.then(t)},Promise.resolve())}}return Promise.resolve()}).catch(function(t){e.resetRevertData();n.error(t.message||t.name)})};r._getStableElement=function(e){if(e.getMetadata().getName()===\"sap.ui.layout.form.FormContainer\"){return e.getTitle()||e.getToolbar()}else if(e.getMetadata().getName()===\"sap.ui.layout.form.FormElement\"){return e.getLabel()}else{return e}};r.completeChangeContent=function(n,r,o){if(r.removedElement&&r.removedElement.id){var i=this._getStableElement(e.getElementById(r.removedElement.id));n.setContent({elementSelector:t.getSelector(i,o.appComponent)});n.addDependentControl(i,\"elementSelector\",o)}else{throw new Error(\"oSpecificChangeInfo.removedElement.id attribute required\")}};r._getState=function(e,t,n){return Promise.resolve().then(function(){return t.getAggregation(e,\"content\")}).then(function(e){if(!e){return Promise.reject(new Error(\"Cannot get control state: 'content' aggregation doesn't exist\"))}return{content:e.map(function(r){return{elementSelector:t.getSelector(t.getId(r),n),visible:r.getVisible?r.getVisible():undefined,index:e.indexOf(r)}})}})};r.revertChange=function(e,t,n){var r=e.getRevertData();var o=n.appComponent;var i=n.modifier;return Promise.resolve().then(i.removeAllAggregation.bind(i,t,\"content\")).then(function(){return r.content.reduce(function(e,r){var a=i.bySelector(r.elementSelector,o,n.view);var s=i.getId(a);return e.then(i.getAggregation.bind(i,t,\"dependents\")).then(function(e){var r=Promise.resolve();e.some(function(e){var o=i.getId(e);if(o===s){r=r.then(i.removeAggregation.bind(i,t,\"dependents\",e,n.view));return true}});return r}).then(i.insertAggregation.bind(i,t,\"content\",a,r.index,n.view)).then(function(){i.setProperty(a,\"visible\",r.visible)})},Promise.resolve()).then(function(){e.resetRevertData()})})};r.getChangeVisualizationInfo=function(e,n){const r=e.getContent().elementSelector;const o=e.getSelector();const i=t.bySelector(o,n);const a=t.bySelector(r,n);const s=a.getParent();let l=i.getId();if(s.isA(\"sap.ui.layout.form.FormElement\")){if(a.getVisible()){l=s.getId()}}return{affectedControls:[a.getId()],displayControls:[l],updateRequired:true}};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/MoveSimpleForm\", [\"sap/ui/core/Element\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/base/util/uid\",\"sap/base/Log\"],function(e,t,n,o){\"use strict\";const r={};const c=\"moveSimpleFormField\";const i=\"moveSimpleFormGroup\";const l=\"sap.ui.core.Title\";const s=\"sap.m.Title\";const u=\"sap.m.Toolbar\";const a=\"sap.m.OverflowToolbar\";const d=\"sap.m.Label\";const g=\"sap.ui.comp.smartfield.SmartLabel\";const p=\"content\";const f=\"sap.ui.layout.form.FormContainer\";function m(e,t,n){return n.reduce(function(n,o){return n.then(function(n){if(n!==undefined){return n}const r=e.getControlType(o);if(t.indexOf(r)===-1){return Promise.resolve().then(e.getVisible.bind(e,o)).then(function(e){return e||undefined})}else{return false}})},Promise.resolve())}function C(e,t,n,o,r,c,i){return m(t,c,n).then(function(n){if(n){const n=r.view;const c=r.appComponent;let s;return Promise.resolve().then(t.createControl.bind(t,l,c,n,i)).then(function(e){s=e;t.setProperty(s,\"text\",\"\");return t.insertAggregation(o,p,s,0,n)}).then(function(){const t=e.getRevertData();t.createdTitleSelector=r.modifier.getSelector(s,r.appComponent);e.setRevertData(t)})}return Promise.resolve()}).then(function(){return t.getAggregation(o,p)})}function S(e,t,n,o){let r;let c=-1;return m(e,t,n).then(function(i){if(i){c++}for(let i=0;i-1){c++;if(c===o){r=n[i];break}}}return n.indexOf(r)})}function h(e,t,n){if(t>=e.length||t===-1){return true}const o=n.getControlType(e[t]);return l===o||u===o||s===o||a===o}function v(e,t,n,o){let r=0;for(r=t+1;r-1){break}}return r-t}function I(e,t,n){return v(e,n,t,[l,s,u,a,d,g])}function y(e,t,n,r,c){if(!h(t,n,e)){o.error(\"Illegal argument. iIndex has to point to a Label.\");return-1}else{r=c?r+1:r;let o=0;let i=n;let l;while(is){S=h.slice(0,s+u);v=h.slice(s+u,n);b=h.slice(n+o,h.length);h=S.concat(a.concat(v.concat(b)))}if(n!=s){return w(d,t,r,h,p,g)}}else if(e.getChangeType()===i){const o=[l,u,s,a];const c=d.bySelector(P.elementSelector||P.element,f,g);return Promise.resolve().then(function(){if(P.target.groupIndex===0||!c){return C(e,d,p,t,n,o,T.newControlId).then(function(e){p=e})}return undefined}).then(function(){x=c?p.indexOf(c):0;return S(d,o,p,P.target.groupIndex)}).then(function(e){m=p[e];const n=v(d,e,p,o);const c=v(d,x,p,o);h=p.slice();h.splice(x,c);e=h.indexOf(m);const i=P.source.groupIndex1){o.warning(\"Moving more than 1 Formelement is not yet supported.\")}const g=d[0];g.element=e.getElementById(g.id);const p=Object.assign({},r.source);const f=Object.assign({},r.target);if(!f.parent){f.parent=e.getElementById(f.id)}if(!p.parent){p.parent=e.getElementById(p.id)}if(a&&g.element&&f.parent){if(r.changeType===\"moveSimpleFormGroup\"){i=T(a,g,c)}else if(r.changeType===\"moveSimpleFormField\"){i=P(a,g,p,f,c)}}else{o.error(\"Element not found. This may be caused by an unstable id!\")}const m={targetSelector:i.targetSelector,movedElements:i.movedElements,newControlId:l.getSelector(s.createId(n()),u)};t.setContent(m);if(i.source&&i.target){t.addDependentControl(i.source,\"sourceParent\",c);t.addDependentControl(i.target,\"targetParent\",c)}if(i.movedControl){t.addDependentControl([i.movedControl],\"movedElements\",c)}};r.revertChange=function(e,t,n){const o=n.modifier;const c=n.appComponent;const i=n.view;const l=e.getRevertData();const s=l.content;return o.getAggregation(t,p).then(function(u){const a=s.map(function(e){return o.bySelector(e,c,i)});return w(o,t,r,a,u,i).then(function(){const t=l.createdTitleSelector;const o=n.modifier.bySelector(t,n.appComponent);if(o){o.destroy()}e.resetRevertData();return true})})};r.getChangeVisualizationInfo=function(e,n){let o;const r=e.getContent().movedElements[0];if(r.elementSelector.id){o=t.bySelector(r.elementSelector,n)}else if(e.getContent().newControlId){o=t.bySelector(e.getContent().newControlId,n)}let i=r.source.groupSelector?{...r.source.groupSelector}:{};const l=r.target.groupSelector?{...r.target.groupSelector}:{};if(e.getChangeType()===c){const e=t.bySelector(i,n);const o=t.bySelector(r.target.groupSelector,n);if(e&&e.isA(f)){i.id=e.getId()}else{i.id=e?e.getParent().getId():null}if(o&&o.isA(f)){l.id=o.getId()}else{l.id=o?o.getParent().getId():null}}else if(!i&&h([o],0,t)){const e=o.getParent();i={id:e.getId()}}const s=o.getParent().getId();return{affectedControls:[s],dependentControls:[i&&i.id?i:e.getContent().targetSelector],updateRequired:true,descriptionPayload:{sourceContainer:i.id,targetContainer:l.id}}};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/RenameFormContainer\", [],function(){\"use strict\";var e={};var t={TARGET_ALIAS:\"target\"};e.applyChange=function(e,r,n){var o=n.modifier,i=e.getTexts(),a=e.getDependentControl(t.TARGET_ALIAS,n);return Promise.resolve().then(function(){return o.getAggregation(a,\"title\")}).then(function(t){if(i&&i.formText&&this._isProvided(i.formText.value)){var r=i.formText.value;var n;if(typeof t===\"string\"){n=Promise.resolve(o.getProperty(a,\"title\")).then(function(t){e.setRevertData(t);o.setProperty(a,\"title\",r)})}else{n=Promise.resolve(o.getProperty(t,\"text\")).then(function(n){e.setRevertData(n);o.setProperty(t,\"text\",r)})}return n}}.bind(this))};e.completeChangeContent=function(e,r,n){if(!(r.renamedElement&&r.renamedElement.id)){throw new Erro Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/EventHandlerResolver\", [\"sap/ui/base/BindingParser\",\"sap/ui/core/CommandExecution\",\"sap/ui/model/BindingMode\",\"sap/ui/model/CompositeBinding\",\"sap/ui/model/json/JSONModel\",\"sap/ui/model/base/ManagedObjectModel\",\"sap/base/util/JSTokenizer\",\"sap/base/util/resolveReference\",\"sap/base/future\",\"sap/ui/base/DesignTime\"],function(e,t,r,n,a,i,s,o,d,l){\"use strict\";var f={resolveEventHandler:function(r,n,s){var f,u,m;r=r.trim();if(l.isControllerCodeDeactivated()){f=function(){}}else{if(r.startsWith(\"cmd:\")){var c=r.substr(4);f=function(e){var n=t.find(e.getSource(),c);if(n){n.trigger()}else{d.errorThrows(\"Handler '\"+r+\"' could not be resolved. No CommandExecution defined for command: \"+c)}};f._sapui_commandName=c}else{u=r.indexOf(\"(\");m=r;if(u>0){m=r.substring(0,u).trim()}else if(u===0){throw new Error(\"Event handler name starts with a bracket, must start with a function name \"+\"(or with a dot followed by controller-local function name): \"+r)}f=o(m,Object.assign({\".\":n},s),{preferDotContext:m.indexOf(\".\")===-1,bindContext:false})}if(f&&u>0){var g=r.lastIndexOf(\")\");if(g>u){if(r.substring(u).indexOf(\"{=\")>-1){d.warningThrows(\"It looks like an event handler parameter contains a binding expression ({=...}). This is not allowed \"+\"because the entire event handler is already considered an expression: \"+r)}f=function(t,n){return function(o){var d,l,f=r;if(r.indexOf(\"$parameters\")>-1){d=new a(o.mParameters)}if(r.indexOf(\"$source\")>-1){l=new i(o.getSource())}var u={$controller:n,$event:o};if(t.indexOf(\".\")>0){var m=t.split(\".\")[0];u[m]=window[m]}else if(t.indexOf(\".\")===-1){if(n&&n[t]){f=\"$controller.\"+f}else if(window[t]){u[t]=window[t]}}Object.assign(u,s);var c=e.parseExpression(f.replace(/^\\./,\"$controller.\"),0,{oContext:n},u);if(c.result){try{p(c.result,o.getSource(),n,d,l)}catch(e){e.message=\"Error when evaluating event handler '\"+r+\"': \"+e.message;throw e}}if(d){d.destroy()}if(l){l.destroy()}}}(m,n)}else{d.errorThrows(\"Syntax error in event handler '\"+r+\"': arguments must be enclosed in a pair of brackets\")}}}if(typeof f===\"function\"){f._sapui_handlerName=r;return[f,n]}d.warningThrows(\"Event handler name '\"+r+\"' could not be resolved to an event handler function\")},parse:function e(t){t=t.trim();var r=new s;var n=[];var a=\"\";var i=0;r.init(t,0);for(;;){var o=r.next();if(o==='\"'||o===\"'\"){var d=r.getIndex();r.string();a+=t.slice(d,r.getIndex());o=r.getCh()}if(!o){break}switch(o){case\"(\":i++;break;case\")\":i--;break;default:break}if(o===\";\"&&i===0){n.push(a.trim());a=\"\"}else{a+=o}}if(a){n.push(a.trim())}return n}};function p(e,t,a,i,s){var o,d;e.mode=r.OneWay;if(!e.parts){e.parts=[];e.parts[0]={path:e.path,targetType:e.targetType,type:e.type,suspended:e.suspended,formatOptions:e.formatOptions,constraints:e.constraints,model:e.model,mode:e.mode};delete e.path;delete e.targetType;delete e.mode;delete e.model}for(var l=0;l\");if(f>0){d.model=d.path.substr(0,f);d.path=d.path.substr(f+1)}}var p,u,m=[];e.parts.forEach(function(n){var a;if(n.model===\"$parameters\"){a=i;p=i.createBindingContext(\"/\")}else if(n.model===\"$source\"){a=s;p=s.createBindingContext(\"/\")}else{a=t.getModel(n.model);p=t.getBindingContext(n.model)}o=n.type;u=a.bindProperty(n.path,p,e.parameters);u.setType(o,n.targetType||\"any\");u.setFormatter(n.formatter);u.setBindingMode(r.OneTime);m.push(u)});if(m.length>1||e.formatter&&e.formatter.textFragments){o=e.type;u=new n(m,e.useRawValues,e.useInternalValues);u.setType(o,d.targetType||\"any\");u.setBindingMode(r.OneTime)}else{u=m[0]}u.setFormatter(e.formatter);u.initialize();return u.getExternalValue()}return f});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/HTMLView\", [\"./View\",\"./HTMLViewRenderer\",\"./ViewType\",\"sap/base/util/merge\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/OwnStatics\",\"sap/ui/core/DeclarativeSupport\",\"sap/ui/model/resource/ResourceModel\",\"sap/base/util/LoaderExtensions\"],function(e,t,r,n,o,i,a,l,s){\"use strict\";const{runWithPreprocessors:u}=i.get(o);var c=e.extend(\"sap.ui.core.mvc.HTMLView\",{metadata:{library:\"sap.ui.core\",deprecated:true},renderer:t});c.create=function(t){var o=n({},t);o.type=r.HTML;return e.create(o)};sap.ui.htmlview=function(e,t){return sap.ui.view(e,t,r.HTML)};c._sType=r.HTML;c.asyncSupport=true;c._mTemplates={};c._mAllowedSettings={viewName:true,controller:true,viewContent:true,definition:true,controllerName:true,resourceBundleName:true,resourceBundleUrl:true,resourceBundleLocale:true,resourceBundleAlias:true};c._getTemplate=function(e,t){var r=this._getViewUrl(e);var n=this._mTemplates[r];if(!n){n=this._loadTemplate(e,t);if(t&&t.async){var o=this;return n.then(function(e){o._mTemplates[r]=e;return Promise.resolve(e)})}else{this._mTemplates[r]=n}}return t.async?Promise.resolve(n):n};c.prototype.getControllerName=function(){return this._controllerName};c._getViewUrl=function(e){return sap.ui.require.toUrl(e.replace(/\\./g,\"/\"))+\".view.html\"};c._loadTemplate=function(e,t){var r=e.replace(/\\./g,\"/\")+\".view.html\";return s.loadResource(r,t)};c.prototype.initViewSettings=function(e){if(!e){throw new Error(\"mSettings must be given\")}if(e.viewName&&e.viewContent){throw new Error(\"View name and view content are given. There is no point in doing this, so please decide.\")}else if(!e.viewName&&!e.viewContent){throw new Error(\"Neither view name nor view content is given. One of them is required.\")}var t=this;function r(){t._oTemplate=document.createElement(\"div\");if(typeof n===\"string\"){t._oTemplate.innerHTML=n}else{var r=n;var o=document.createDocumentFragment();for(var i=0;i',\"gi\");var n=a.exec(i);if(n){i=i.replace(n[0],e.getHTML(r));return i}else{return\"\"}};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/JSONView\", [\"./View\",\"./JSONViewRenderer\",\"./ViewType\",\"./EventHandlerResolver\",\"sap/base/util/merge\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/OwnStatics\",\"sap/ui/model/resource/ResourceModel\",\"sap/base/Log\",\"sap/base/util/LoaderExtensions\"],function(e,t,n,r,i,o,s,a,u,c){\"use strict\";const{runWithPreprocessors:w}=s.get(o);var l=e.extend(\"sap.ui.core.mvc.JSONView\",{metadata:{library:\"sap.ui.core\"},renderer:t});l.create=function(t){var r=i({},t);for(var o in r){if(o===\"preprocessors\"){delete r[\"preprocessors\"];u.warning(\"JSONView.create does not support the option preprocessors!\")}}r.type=n.JSON;return e.create(r)};sap.ui.jsonview=function(e,t){return sap.ui.view(e,t,n.JSON)};l._sType=n.JSON;l.asyncSupport=true;l.prototype.initViewSettings=function(e){if(!e){throw new Error(\"mSettings must be given\")}if(e.viewName&&e.viewContent){throw new Error(\"View name and view content are given. There is no point in doing this, so please decide.\")}else if(!e.viewName&&!e.viewContent){throw new Error(\"Neither view name nor view content is given. One of them is required.\")}var t=this;var n=function(){if((t._oJSONView.resourceBundleName||t._oJSONView.resourceBundleUrl)&&(!e.models||!e.models[t._oJSONView.resourceBundleAlias])){var n=new a({bundleName:t._oJSONView.resourceBundleName,bundleUrl:t._oJSONView.resourceBundleUrl,async:e.async});var r=n.getResourceBundle();if(r instanceof Promise){return r.then(function(){t.setModel(n,t._oJSONView.resourceBundleAlias)})}t.setModel(n,t._oJSONView.resourceBundleAlias)}};if(e.viewName){if(e.async){return this._loadTemplate(e.viewName,{async:true}).then(n)}else{this._loadTemplate(e.viewName);n()}}else if(e.viewContent){this.mProperties[\"viewContent\"]=e.viewContent;if(typeof e.viewContent===\"string\"){this._oJSONView=JSON.parse(e.viewContent);if(!this._oJSONView){throw new Error(\"error when parsing viewContent: \"+e.viewContent)}}else if(typeof e.viewContent===\"object\"){this._oJSONView=e.viewContent}else{throw new Error(\"viewContent must be a JSON string or object, but is a \"+typeof e.viewContent)}if(e.async){return Promise.resolve().then(n)}else{n()}}};l.prototype.onControllerConnected=function(e){var t=this;w(function(){t.applySettings({content:t._oJSONView.content},e)},{id:function(e){return t.createId(e)},settings:function(n){var i=this.getMetadata(),o=i.getJSONKeys(),s,a,u;for(s in n){if((u=o[s])!==undefined){a=n[s];switch(u._iKind){case 3:if(typeof a===\"string\"){n[s]=t.createId(a)}break;case 5:if(typeof a===\"string\"){n[s]=r.resolveEventHandler(a,e)}break}}}}})};l.prototype._loadTemplate=function(e,t){var n=e.replace(/\\./g,\"/\")+\".view.json\";if(!t||!t.async){this._oJSONView=c.loadResource(n)}else{var r=this;return c.loadResource(n,t).then(function(e){r._oJSONView=e})}};l.prototype.getControllerName=function(){return this._oJSONView.controllerName};return l});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/JSONViewRenderer\", [\"./ViewRenderer\"],function(e){\"use strict\";var t={apiVersion:2};t.render=function(t,i){t.openStart(\"div\",i);t.class(\"sapUiView\");t.class(\"sapUiJSONView\");e.addDisplayClass(t,i);t.style(\"width\",i.getWidth());t.style(\"height\",i.getHeight());t.openEnd();i.getContent().forEach(t.renderControl,t);t.close(\"div\")};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/JSView\", [\"./View\",\"./JSViewRenderer\",\"./ViewType\",\"sap/base/util/extend\",\"sap/base/util/merge\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/OwnStatics\",\"sap/base/Log\"],function(e,i,t,r,n,s,o,a){\"use strict\";const{runWithPreprocessors:p}=o.get(s);var c=e.extend(\"sap.ui.core.mvc.JSView\",{metadata:{library:\"sap.ui.core\"},renderer:i});var u={};c.asyncSupport=true;c._sType=t.JS;c.create=function(i){var n=r({},i);for(var s in n){if(s===\"definition\"||s===\"preprocessors\"){delete n[s];a.warning(\"JSView.create does not support the options definition or preprocessor!\")}}n.type=t.JS;return e.create(n)};sap.ui.jsview=function(e,i,t){return w.apply(this,arguments)};function w(e,i,t){var r={},n;if(i&&typeof i==\"string\"){r.viewName=i;if(typeof arguments[2]==\"boolean\"){r.async=t}else if(typeof arguments[2]==\"object\"){r.controller=arguments[2];r.async=!!arguments[3]}if(r.viewName.startsWith(\"module:\")){throw Error(\"Legacy factory sap.ui.jsview doesn't support typed views!\")}n=new c(e,r);return n}else if(i&&typeof i==\"object\"){u[e]=i;sap.ui.loader._.declareModule(e.replace(/\\./g,\"/\")+\".view.js\");a.warning(\"For defining views, use typed views with 'sap.ui.core.mvc.View.extend()'.\")}else if(arguments.length==1&&typeof e==\"string\"||arguments.length==2&&typeof arguments[0]==\"string\"&&typeof arguments[1]==\"boolean\"){r.viewName=arguments[0];r.async=!!arguments[1];n=r.id?new c(r.id,r):new c(r);return n}else{throw new Error(\"Wrong arguments ('\"+e+\"', '\"+i+\"')!\"+\" Either call sap.ui.jsview([sId,] sViewName) to instantiate a View\"+\" or sap.ui.jsview(sViewName, oViewImpl) to define a View type.\")}}c.prototype.initViewSettings=function(e){var i;a.warning(\"Do not use deprecated sap.ui.core.mvc.JSView: (View: \"+(e.id||e.viewName)+\"). \"+\"Use typed views defined by 'sap.ui.core.mvc.View.extend()' and created by 'sap.ui.core.mvc.View.create()'. \"+\"For further information, have a look at https://sdk.openui5.org/topic/e6bb33d076dc4f23be50c082c271b9f0.\",\"sap.ui.core.mvc.JSView\",null,function(){return{type:\"sap.ui.core.mvc.JSView\",name:e.viewName}});if(Object.getPrototypeOf(this)===c.prototype){if(!u[e.viewName]){var t=e.viewName.replace(/\\./g,\"/\")+\".view\";if(e.async){i=new Promise(function(e,i){sap.ui.require([t],e,i)})}else{sap.ui.requireSync(t)}}if(e.async){return Promise.resolve(i).then(function(){n(this,u[e.viewName])}.bind(this))}n(this,u[e.viewName])}else if(e.async){return Promise.resolve()}};c.prototype.onControllerConnected=function(e){p(function(){this.applySettings({content:this.createContent(e)})},{id:this.getAutoPrefixId()?this.createId.bind(this):undefined,settings:this._fnSettingsPreprocessor},this)};return c});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/JSViewRenderer\", [\"./ViewRenderer\"],function(e){\"use strict\";var t={apiVersion:2};t.render=function(t,i){t.openStart(\"div\",i);t.class(\"sapUiView\");t.class(\"sapUiJSView\");e.addDisplayClass(t,i);t.style(\"width\",i.getWidth());t.style(\"height\",i.getHeight());t.openEnd();i.getContent().forEach(t.renderControl,t);t.close(\"div\")};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/OverrideExecution\", function(){\"use strict\";var e={After:\"After\",Before:\"Before\",Instead:\"Instead\"};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/TemplateView\", [\"./View\",\"./TemplateViewRenderer\",\"./ViewType\",\"sap/base/Log\"],function(e,t,i,r){\"use strict\";var n=e.extend(\"sap.ui.core.mvc.TemplateView\",{metadata:{library:\"sap.ui.core\"},renderer:t});(function(){sap.ui.templateview=function(e,t){r.warning(\"sap.ui.core.mvc.TemplateView is deprecated. Use XMLView or JSView instead.\");return sap.ui.view(e,t,i.Template)};n._sType=i.Template;n.prototype.getControllerName=function(){return this._sControllerName};n._getViewUrl=function(e){return sap.ui.require.toUrl(e.replace(/\\./g,\"/\"))+\".view.tmpl\"};n.prototype.initViewSettings=function(e){if(!e){throw new Error(\"mSettings must be given\")}if(!e.viewName){throw new Error(\"No view name is given.\")}this._oTemplate=sap.ui.template({id:this.getId(),src:n._getViewUrl(e.viewName)});this._sControllerName=this._oTemplate._sControllerName;this._oTemplate=this._oTemplate.createControl(undefined,undefined,this);this.addContent(this._oTemplate)}})();return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/TemplateViewRenderer\", [\"./ViewRenderer\"],function(e){\"use strict\";var i={apiVersion:2};i.render=function(i,t){i.openStart(\"div\",t);i.class(\"sapUiView\");i.class(\"sapUiTmplView\");e.addDisplayClass(i,t);i.style(\"width\",t.getWidth());i.style(\"height\",t.getHeight());i.openEnd();i.renderControl(t._oTemplate);i.close(\"div\")};return i},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/View\", [\"sap/base/assert\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\",\"sap/base/util/merge\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/OwnStatics\",\"sap/ui/core/Control\",\"sap/ui/base/DesignTime\",\"sap/ui/core/Element\",\"./Controller\",\"./ViewRenderer\",\"./ViewType\",\"./_ViewFactory\",\"./XMLProcessingMode\"],function(e,t,r,o,n,i,s,a,c,u,p,l,f,d,g,h){\"use strict\";const{getCurrentOwnerId:m,runWithPreprocessors:y}=a.get(s);var w=c.extend(\"sap.ui.core.mvc.View\",{metadata:{interfaces:[\"sap.ui.core.IDScope\"],abstract:true,library:\"sap.ui.core\",properties:{width:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:\"100%\"},height:{type:\"sap.ui.core.CSSSize\",group:\"Dimension\",defaultValue:null},viewName:{type:\"string\",group:\"Misc\",defaultValue:null},displayBlock:{type:\"boolean\",group:\"Appearance\",defaultValue:false}},defaultAggregation:\"content\",aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"}},events:{afterInit:{},beforeExit:{},afterRendering:{},beforeRendering:{}},specialSettings:{controller:\"sap.ui.core.mvc.Controller\",controllerName:\"string\",preprocessors:\"Object\",resourceBundleName:\"string\",resourceBundleUrl:\"sap.ui.core.URI\",resourceBundleLocale:\"string\",resourceBundleAlias:\"string\",type:\"string\",definition:\"any\",viewContent:{type:\"any\",deprecated:true},viewData:\"any\",async:{type:\"boolean\",defaultValue:false}},designtime:\"sap/ui/core/designtime/mvc/View.designtime\"},renderer:f});const v={};function C(e){e._settings={};for(var t in e){if(t.indexOf(\"_\")!==0){e._settings[t]=e[t]}}}function P(e,t){var r;if(typeof e.preprocessor===\"string\"){var o=e.preprocessor.replace(/\\./g,\"/\");if(t){return new Promise(function(e,t){sap.ui.require([o],function(t){e(t)},t)})}else{return sap.ui.requireSync(o)}}else if(typeof e.preprocessor===\"function\"&&!e.preprocessor.process){r={process:e.preprocessor}}else{r=e.preprocessor}if(t){return Promise.resolve(r)}else{return r}}function b(e,t){var r=this.mPreprocessors[t]||[],n=[],i,s,a,c=[];if(v[e]&&v[e][t]){n=v[e][t].map(function(e){return Object.assign({},e)})}for(i=0,s=n.length;i=0;u--){if(a[u].oListener===this.getController()){a[u]={oListener:i.getController(),fFunction:a[u].fFunction,oData:a[u].oData}}}}i.applySettings(o);return i};w.prototype.getPreprocessors=function(){return this.mPreprocessors};w.prototype.getPreprocessorInfo=function(e){if(!this.oPreprocessorInfo){this.oPreprocessorInfo={name:this.sViewName,componentId:this._sOwnerId,id:this.getId(),caller:this+\" (\"+this.sViewName+\")\",sync:!!e}}if(w._supportInfo){this.oPreprocessorInfo._supportInfo=w._supportInfo}return this.oPreprocessorInfo};w.prototype.runPreprocessor=function(e,t,o){var n=this.getPreprocessorInfo(o),i=this.mPreprocessors&&this.mPreprocessors[e]||[],s,a,c;if(!o){a=function(e,t){return function(r){return t.preprocessor.then(function(o){return o.process(r,e,t._settings)})}};c=Promise.resolve(t)}for(var u=0,p=i.length;u!!e._onDemand===!!o&&!!e._syncSupport===!!n&&e.preprocessor===r);if(s>=0){return i.splice(s,1)[0]}}return null}});return w});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/ViewRenderer\", function(){\"use strict\";var e={apiVersion:2};e.render=function(t,i){t.openStart(\"div\",i);t.class(\"sapUiView\");e.addDisplayClass(t,i);t.style(\"width\",i.getWidth());t.style(\"height\",i.getHeight());t.openEnd();i.getContent().forEach(t.renderControl,t);t.close(\"div\")};e.addDisplayClass=function(e,t){if(t.getDisplayBlock()||t.getWidth()===\"100%\"&&t.getHeight()===\"100%\"){e.class(\"sapUiViewDisplayBlock\")}};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/XMLProcessingMode\", [],function(){\"use strict\";var e={Sequential:\"Sequential\",SequentialLegacy:\"SequentialLegacy\"};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/XMLView\", [\"./View\",\"./ViewType\",\"./XMLViewRenderer\",\"sap/base/config\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/strings/hash\",\"sap/base/util/LoaderExtensions\",\"sap/base/util/merge\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/OwnStatics\",\"sap/ui/core/Core\",\"sap/ui/core/Control\",\"sap/ui/core/RenderManager\",\"sap/ui/core/XMLTemplateProcessor\",\"sap/ui/core/cache/CacheManager\",\"sap/ui/model/resource/ResourceModel\",\"sap/ui/util/XMLHelper\",\"sap/ui/VersionInfo\",\"sap/ui/performance/trace/Interaction\",\"sap/ui/thirdparty/jquery\"],function(e,t,r,n,i,o,s,a,c,u,l,d,p,f,h,m,g,y,v,w,C,jQuery){\"use strict\";const{runWithPreprocessors:M}=d.get(l);var P=h.RenderPrefixes,N=\"XMLViewCacheError\",b={};var _=f.extend(\"sap.ui.core.mvc.XMLAfterRenderingNotifier\",{metadata:{library:\"sap.ui.core\"},renderer:{apiVersion:2,render:function(e,t){e.text(\"\")}}});var x=e.extend(\"sap.ui.core.mvc.XMLView\",{metadata:{library:\"sap.ui.core\",specialSettings:{containingView:{type:\"sap.ui.core.mvc.XMLView\",visibility:\"hidden\"},xmlNode:{type:\"Element\",visibility:\"hidden\"},cache:\"Object\",processingMode:{type:\"sap.ui.core.mvc.XMLProcessingMode\",visibility:\"hidden\"},requireContext:{type:\"Object\",visibility:\"hidden\"}},designtime:\"sap/ui/core/designtime/mvc/XMLView.designtime\"},renderer:r});sap.ui.xmlview=function(e,r){return sap.ui.view(e,r,t.XML)};x.create=function(r){var n=u({},r);n.viewContent=n.definition;n.async=true;n.type=t.XML;return e.create(n)};x._sType=t.XML;x.asyncSupport=true;x._bUseCache=n.get({name:\"sapUiXxViewCache\",type:n.Type.Boolean,defaultValue:true,external:true})&&g._isSupportedEnvironment();function E(e){if(e.parseError.errorCode!==0){var t=e.parseError;throw new Error(\"The following problem occurred: XML parse Error for \"+t.url+\" code: \"+t.errorCode+\" reason: \"+t.reason+\" src: \"+t.srcText+\" line: \"+t.line+\" linepos: \"+t.linepos+\" filepos: \"+t.filepos)}}function V(e,t){if(!t){throw new Error(\"mSettings must be given\")}else if(t.viewName&&t.viewContent){throw new Error(\"View name and view content are given. There is no point in doing this, so please decide.\")}else if((t.viewName||t.viewContent)&&t.xmlNode){throw new Error(\"View name/content AND an XML node are given. There is no point in doing this, so please decide.\")}else if(!(t.viewName||t.viewContent)&&!t.xmlNode){throw new Error(\"Neither view name/content nor an XML node is given. One of them is required.\")}else if(t.cache&&!(t.cache.keys&&t.cache.keys.length)){throw new Error(\"No cache keys provided. At least one is required.\")}}function L(e,t){e.mProperties[\"viewContent\"]=t.viewContent;var r=v.parse(t.viewContent);E(r);return r.documentElement}function R(e,t){if((e._resourceBundleName||e._resourceBundleUrl)&&(!t.models||!t.models[e._resourceBundleAlias])){var r=new y({bundleName:e._resourceBundleName,bundleUrl:e._resourceBundleUrl,bundleLocale:e._resourceBundleLocale,async:t.async});var n=r.getResourceBundle();if(n instanceof Promise){return n.then(function(){e.setModel(r,e._resourceBundleAlias)})}e.setModel(r,e._resourceBundleAlias)}}function A(e){e.oAfterRenderingNotifier=new _;e.oAfterRenderingNotifier.addDelegate({onAfterRendering:function(){e.onAfterRenderingBeforeChildren()}})}function D(e){var t=sap.ui.require(\"sap/ui/core/Component\"),r;if(t){while(e){var n=t.getOwnerComponentFor(e);if(n){e=r=n}else{if(e instanceof t){r=e}e=e.getParent&&e.getParent()}}}return r}function T(e,t){var r=D(e),n=r?JSON.stringify(r.getManifest()):null,i=[];i=i.concat(S(e,r),O(),B(e),t.keys);return I(e,i).then(function(e){return{key:e+\"(\"+a(n||\"\")+\")\",componentManifest:n,additionalData:t.additionalData}})}function X(e){return e}function I(e,t){return Promise.all(t).then(function(e){e=e.filter(function(e){return e!==b});if(e.every(X)){return e.join(\"_\")}else{var t=new Error(\"Provided cache keys may not be empty or undefined.\");t.name=N;return Promise.reject(t)}})}function S(e,t){var r=t&&t.getMetadata().getName();return[r||window.location.host+window.location.pathname,e.getId(),s.getLanguageTag().toString()].concat(t&&t.getActiveTerminologies()||[])}function B(e){var t=e.getPreprocessors(),r=e.getPreprocessorInfo(false),n=[];function i(e){n.push(e.preprocessor.then(function(e){if(e.getCacheKey){return e.getCacheKey(r)}else{return b}}))}for(var o in t){t[o].forEach(i)}return n}function O(){return w.load().then(function(e){var t=\"\";if(!e.libraries){t=p.buildinfo.buildtime}else{e.libraries.forEach(function(e){t+=e.buildTimestamp})}return t}).catch(function(e){o.warning(\"version info could not be retrieved\",\"sap.ui.core.mvc.XMLView\");o.debug(e);return\"\"})}function k(e,t){var r=e.key;delete e.key;var n=e.additionalData;e.xml=v.serialize(t);if(n&&n.setAdditionalCacheData&&n.getAdditionalCacheData){e.additionalData=n.getAdditionalCacheData()}return g.set(r,e)}function U(e){return g.get(e.key).then(function(t){if(t&&t.componentManifest==e.componentManifest){t.xml=v.parse(t.xml,\"application/xml\").documentElement;if(t.additionalData){var r=e.additionalData;if(r&&r.setAdditionalCacheData&&r.getAdditionalCacheData){r.setAdditionalCacheData(t.additionalData)}else{o.error(\"Deprecated: Don't use an object reference for caching additional Data! Use a CacheDataProvider instead!\");u(e.additionalData,t.additionalData)}}return t}})}x.prototype.initViewSettings=function(t){var r=this,n;function i(n){r._xContent=n;if(e._supportInfo){e._supportInfo({context:r._xContent,env:{caller:\"view\",viewinfo:u({},r),settings:u({},t||{}),type:\"xmlview\"}})}if(!r.isSubView()){m.parseViewAttributes(n,r)}else{delete t.controller}const i=true;var o=R(r,t);if(o instanceof Promise){if(i){return o.then(function(){A(r)})}else{return o}}if(i){A(r)}}function s(e,t){if(r.hasPreprocessor(\"viewxml\")){return m.enrichTemplateIdsPromise(e,r,t).then(function(){return r.runPreprocessor(\"viewxml\",e,!t)})}return e}function a(e){var t=C.notifyAsyncStep(\"VIEW PREPROCESSING\");return r.runPreprocessor(\"xml\",e).then(function(e){return s(e,true)}).finally(t)}function l(e){return c.loadResource(e,{async:true}).then(function(e){return e.documentElement})}function d(e,t){return l(e).then(a).then(function(e){if(t){k(t,e)}return e})}function p(e,t){return T(r,t).then(function(t){return U(t).then(function(r){if(!r){return d(e,t)}else{return r.xml}})}).catch(function(t){if(t.name===N){o.error(t.message,t.name,\"sap.ui.core.mvc.XMLView\");o.error(\"Processing the View without caching.\",\"sap.ui.core.mvc.XMLView\");return d(e)}else{return Promise.reject(t)}})}this._oContainingView=t.containingView||this;this._sProcessingMode=t.processingMode;if(this.oAsyncState){this.oAsyncState.suppressPreserve=true}V(this,t);if(t.viewName){var f=t.viewName.replace(/\\./g,\"/\")+\".view.xml\";if(t.async){if(t.cache&&x._bUseCache){return p(f,t.cache).then(i)}else{return l(f).then(a).then(i)}}else{n=c.loadResource(f).documentElement}}else if(t.viewContent){if(t.viewContent.nodeType===window.Node.DOCUMENT_NODE){n=t.viewContent.documentElement}else{n=L(this,t)}}else if(t.xmlNode){n=t.xmlNode}if(t.async){return a(n).then(i)}else{n=this.runPreprocessor(\"xml\",n,true);n=s(n,false);if(n&&typeof n.getResult===\"function\"){if(n.isRejected()){throw n.getResult()}n=n.getResult()}i(n)}};x.prototype.onBeforeRendering=function(){var t=this.getDomRef();if(t&&!h.isPreservedContent(t)){h.preserveContent(t,true)}e.prototype.onBeforeRendering.apply(this,arguments)};x.prototype.exit=function(){if(this.oAfterRenderingNotifier){this.oAfterRenderingNotifier.destroy()}e.prototype.exit.apply(this,arguments)};x.prototype.onControllerConnected=function(e,t){var r=this;function n(e){return M(e,{settings:r._fnSettingsPreprocessor})}if(!this.oAsyncState){this._aParsedContent=n(m.parseTemplate.bind(null,this._xContent,this,t))}else{var i=C.notifyAsyncStep(\"VIEW PROCESSING\");return m.parseTemplatePromise(this._xContent,this,true,{fnRunWithPreprocessor:n}).then(function(e){r._aParsedContent=e;delete r.oAsyncState.suppressPreserve}).finally(i)}};x.prototype.getControllerName=function(){if(this._controllerModuleName){o.error(`Controller name is specified using module syntax: '${this._controllerModule}'. Use #getControllerModuleName() instead.`);return undefined}return this._controllerName};x.prototype._getControllerName=function(){return this._controllerName};x.prototype.getControllerModuleName=function(){if(typeof this._controllerName===\"string\"){return this._controllerName.replace(/\\./g,\"/\")+\".controller\"}return typeof this._controllerModuleName===\"string\"?this._controllerModuleName.substring(\"module:\".length):\"\"};x.prototype._getControllerModuleName=function(){return this._controllerModuleName};x.prototype.isSubView=function(){return this._oContainingView!=this};x.prototype.onAfterRenderingBeforeChildren=function(){if(this._$oldContent.length!==0){var e=this.getAggregation(\"content\");if(e){for(var t=0;t');return true};x.registerPreprocessor=function(t,r,n,o,s,a){var c=this.getMetadata().getClass()._sType;if(typeof n===\"string\"){if(n!==c){throw new TypeError(\"View types other than \"+c+\" are not supported by XMLView.registerPreprocessor,\"+\" check View.registerPreprocessor instead\")}}else{a=s;s=o;o=n}t=t.toUpperCase();if(x.PreprocessorType[t]){e.registerPreprocessor(x.PreprocessorType[t],r,c,o,s,a)}else{i.errorThrows(`${this.getMetadata().getName()}: Preprocessor could not be registered due to unknown sType \"${t}\"`)}};x.PreprocessorType={XML:\"xml\",VIEWXML:\"viewxml\",CONTROLS:\"controls\"};x.registerPreprocessor(\"xml\",\"sap.ui.core.util.XMLPreprocessor\",true,true);return x});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/XMLViewRenderer\", [\"./ViewRenderer\",\"../RenderManager\",\"sap/ui/thirdparty/jquery\"],function(e,t,jQuery){\"use strict\";var n=t.RenderPrefixes.Dummy,i=t.RenderPrefixes.Invisible,r=t.RenderPrefixes.Temporary;var s={apiVersion:2};s.render=function(s,d){function o(t){s.openStart(\"div\",d);s.class(\"sapUiView\");s.class(\"sapUiXMLView\");e.addDisplayClass(s,d);if(t){s.attr(\"data-sap-ui-preserve\",d.getId())}s.style(\"width\",d.getWidth());s.style(\"height\",d.getHeight());s.openEnd()}function a(){s.close(\"div\")}var l=d._aParsedContent,f;if(d.isBound(\"content\")){o();var p=d.getContent();for(f=0;f')}}}s.close(\"div\")}}};return s},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/_ViewFactory\", [\"sap/base/assert\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ui/base/OwnStatics\",\"sap/ui/base/ManagedObject\",\"./ViewType\",\"./XMLProcessingMode\"],function(e,i,t,n,a,s,r,o){\"use strict\";const{getCurrentOwnerId:p}=a.get(s);function u(e){var i;if(e.viewName&&e.viewName.startsWith(\"module:\")){i=e.viewName.slice(\"module:\".length)}return i}function c(e,i){var n=u(e);if(n){if(e.type&&!i){t.error(\"When using the view factory, the 'type' setting must be omitted for typed views. When embedding typed views in XML, don't use the tag, use the tag instead.\")}return n}if(!e.type){throw new Error(\"No view type specified.\")}if(e.type===r.XML){return\"sap/ui/core/mvc/XMLView\"}if(e.type===r.JS){n=\"sap/ui/core/mvc/JSView\"}else if(e.type===r.JSON){n=\"sap/ui/core/mvc/JSONView\"}else if(e.type===r.HTML){n=\"sap/ui/core/mvc/HTMLView\"}else if(e.type===r.Template){n=\"sap/ui/core/mvc/TemplateView\"}if(!n){throw new Error(\"Unknown view type \"+e.type+\" specified.\")}return n}function f(e,n){var a=sap.ui.require(e);if(!a){i.warningThrows(`The view class '${e}' needs to be required before an instance of the view can be created.`);(()=>{a=sap.ui.requireSync(e);if(n.async){t.warning(\"sap.ui.view was called without requiring the according view class.\")}})()}return new a(n)}function w(i,a,s){var u=null,w={};if(typeof i===\"object\"||typeof i===\"string\"&&a===undefined){a=i;i=undefined}if(a){if(typeof a===\"string\"){w.viewName=a}else{w=a}}e(!w.async||typeof w.async===\"boolean\",\"sap.ui.view factory: Special setting async has to be of the type 'boolean'!\");if(i){w.id=i}if(s){w.type=s}if(w.type===r.XML&&w.async){w.processingMode=w.processingMode||o.SequentialLegacy}var d=sap.ui.require(\"sap/ui/core/Component\");if(d&&p()){var y=d.getCustomizing(p(),{type:\"sap.ui.viewReplacements\",name:w.viewName});if(y){delete y.async;t.info(\"Customizing: View replacement for view '\"+w.viewName+\"' found and applied: \"+y.viewName+\" (type: \"+y.type+\")\");n(w,y)}else{t.debug(\"Customizing: no View replacement found for view '\"+w.viewName+\"'.\")}}var v=c(w);u=f(v,w);return u}return{create:w,getViewClassName:c}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/plugin/TemplatingSupport\", [\"sap/base/Log\",\"sap/ui/core/tmpl/Template\",\"sap/ui/core/Core\"],function(t){\"use strict\";var i=function(){};i.prototype.startPlugin=function(i,e){t.info(\"Starting TemplatingSupport plugin.\");this.oCore=i;sap.ui.template()};i.prototype.stopPlugin=function(){t.info(\"Stopping TemplatingSupport plugin.\");this.oCore=null};sap.ui.getCore().registerPlugin(new i);return i},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/postmessage/Bus\", [\"sap/ui/core/EventBus\",\"sap/ui/core/Lib\",\"sap/base/util/isPlainObject\",\"sap/base/Log\"],function(e,t,i,n){\"use strict\";var r;var s=\"______UI5______\";var o=e.extend(\"sap.ui.core.postmessage.Bus\",{constructor:function(){if(r){return r}r=this;e.apply(this,arguments);this._aAcceptedOrigins=[window.location.origin];this._aDeclinedOrigins=[];this._oPendingProcess=null;this._aEventQueue=[];this._receiver=this._receiver.bind(this);window.addEventListener(\"message\",this._receiver)}});o.event={CONNECT:\"______CONNECT______\",READY:\"______READY______\",ACCEPTED:\"______ACCEPTED______\",DECLINED:\"______DECLINED______\"};o.prototype.destroy=function(){window.removeEventListener(\"message\",this._receiver);this._aEventQueue=[];e.prototype.destroy.apply(this,arguments);r=undefined;this.bIsDestroyed=true};o.getInstance=function(){if(!r){r=new o}return r};o.prototype.publish=function(e){var t=e.target;var i=e.origin;var n=e.channelId;var r=e.eventId;var a=e.data;if(r===o.event.READY){if(!t){if(window.opener&&window.opener!==window){t=window.opener}else if(window.parent!==window){t=window.parent}else{return}}if(!i){i=\"*\"}}if(typeof window===\"undefined\"||!(t!=null&&t===t.window)||t===window){throw TypeError(\"Target must be a window object and has to differ from current window\")}if(typeof i!==\"string\"){throw TypeError(\"Origin must be a string\")}if(typeof n!==\"string\"){throw TypeError(\"ChannelId must be a string\")}if(typeof r!==\"string\"){throw TypeError(\"EventId must be a string\")}if(![o.event.READY,o.event.ACCEPTED,o.event.DECLINED].includes(r)&&i!==\"*\"&&!this._aAcceptedOrigins.includes(i)){this._aAcceptedOrigins.push(i)}var c={origin:i,channelId:n,eventId:r,data:a};c[s]=true;t.postMessage(c,i)};o.prototype._callListener=function(e,t,i,n,r){e.call(t,r)};o.prototype._getText=function(e,i){var n=t.getResourceBundleFor(\"sap.ui.core\");return Promise.resolve(n.getText(e,i))};o.prototype._receiver=function(e){var t=e.data;if(!i(t)||!t.hasOwnProperty(s)){return}if(this._oPendingProcess){this._aEventQueue.push(e)}else{this._oPendingProcess=this._processEvent(e)}};o.prototype._processEvent=function(e){return new Promise(function(t,i){var n=e.data;var r=e.origin;if(this._aDeclinedOrigins.includes(r)){t();return}switch(n.eventId){case o.event.CONNECT:{if(typeof n.data!==\"string\"){this.publish({target:e.source,origin:e.origin,channelId:n.channelId,eventId:o.event.DECLINED});t()}else if(this._aAcceptedOrigins.includes(r)){this.publish({target:e.source,origin:e.origin,channelId:n.channelId,eventId:o.event.ACCEPTED});t()}else{sap.ui.require([\"sap/ui/core/postmessage/confirmationDialog\"],function(i){this._getText(\"PostMessage.Message\",[n.data,r]).then(function(e){return i(e)}).then(function(){this.addAcceptedOrigin(r);this.publish({target:e.source,origin:e.origin,channelId:n.channelId,eventId:o.event.ACCEPTED})}.bind(this),function(){this.addDeclinedOrigin(r);this.publish({target:e.source,origin:e.origin,channelId:n.channelId,eventId:o.event.DECLINED})}.bind(this)).then(t)}.bind(this),i)}break}case o.event.ACCEPTED:case o.event.DECLINED:case o.event.READY:{e.data.data=undefined;this._emitMessage(e);t();break}default:{if(this._aAcceptedOrigins.includes(r)){this._emitMessage(e)}t()}}}.bind(this)).catch(function(e){var t;var i;if(typeof e===\"string\"){t=e}else if(e instanceof Error){t=e.message;i=e.stack}else{t=\"Some unexpected error happened during post message processing\"}n.error(t,i,\"sap.ui.core.postmessage.Bus\")}).then(function(){this._oPendingProcess=this._aEventQueue.length>0?this._processEvent(this._aEventQueue.shift()):null}.bind(this))};o.prototype._emitMessage=function(t){var i=t.data.channelId;var n=t.data.eventId;e.prototype.publish.call(this,i,n,{originalEvent:t,channelId:i,eventId:n,source:t.source,origin:t.origin,data:t.data.data})};o.prototype.getAcceptedOrigins=function(){return this._aAcceptedOrigins.slice()};o.prototype.setAcceptedOrigins=function(e){if(!Array.isArray(e)){throw new TypeError(\"Expected an array, but got \"+typeof e)}this._aAcceptedOrigins=e.slice()};o.prototype.addAcceptedOrigin=function(e){if(typeof e!==\"string\"){throw new TypeError(\"Expected a string, but got \"+typeof e)}if(!this._aAcceptedOrigins.includes(e)){this._aAcceptedOrigins.push(e)}};o.prototype.resetAcceptedOrigins=function(){this.setAcceptedOrigins([])};o.prototype.getDeclinedOrigins=function(){return this._aDeclinedOrigins.slice()};o.prototype.setDeclinedOrigins=function(e){if(!Array.isArray(e)){throw new TypeError(\"Expected an array, but got \"+typeof e)}this._aDeclinedOrigins=e.slice()};o.prototype.addDeclinedOrigin=function(e){if(typeof e!==\"string\"){throw new TypeError(\"Expected a string, but got \"+typeof e)}if(!this._aDeclinedOrigins.includes(e)){this._aDeclinedOrigins.push(e)}};o.prototype.resetDeclinedOrigins=function(){this.setDeclinedOrigins([])};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/postmessage/confirmationDialog\", [\"sap/ui/core/Lib\"],function(i){\"use strict\";return function(n){return new Promise(function(e,o){var s=i.isLoaded(\"sap.m\");if(s){sap.ui.require([\"sap/m/MessageBox\"],function(i){i.confirm(n,{actions:[i.Action.YES,i.Action.NO],onClose:function(n){if(n===i.Action.YES){e()}else{o()}}})},o)}else{var c=window.confirm(n);if(c){e()}else{o()}}})}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/HashChanger\", [\"./HashChangerBase\",\"./RouterHashChanger\",\"sap/ui/thirdparty/hasher\",\"sap/base/Log\",\"sap/ui/performance/trace/Interaction\"],function(e,t,s,a,n){\"use strict\";var r=e.extend(\"sap.ui.core.routing.HashChanger\",{constructor:function(){e.apply(this)}});r.prototype.init=function(){if(this._initialized){a.info(\"this HashChanger instance has already been initialized.\");return false}this._initialized=true;s.changed.add(this.fireHashChanged,this);if(!s.isActive()){s.initialized.addOnce(this.fireHashChanged,this);s.init()}else{this.fireHashChanged(s.getHash())}return this._initialized};r.prototype.fireHashChanged=function(e,t){this.fireEvent(\"hashChanged\",{newHash:e,oldHash:t})};r.prototype.createRouterHashChanger=function(){if(!this._oRouterHashChanger){var e=this._parseHash(this.getHash());this._oRouterHashChanger=new t({parent:this,hash:e.hash,subHashMap:e.subHashMap});this._registerListenerToRelevantEvents();this._oRouterHashChanger.attachEvent(\"hashSet\",this._onHashModified,this);this._oRouterHashChanger.attachEvent(\"hashReplaced\",this._onHashModified,this)}this._oRouterHashChanger.attachEvent(\"hashChanged\",function(){n.notifyNavigation()});return this._oRouterHashChanger};r.prototype._registerListenerToRelevantEvents=function(){if(!this._mEventListeners){this._mEventListeners={};this.getRelevantEventsInfo().forEach(function(e){var t=e.name,s=this._onHashChangedForRouterHashChanger.bind(this,e);this._mEventListeners[t]=s;this.attachEvent(t,s,this)}.bind(this))}};r.prototype._deregisterListenerFromRelevantEvents=function(){if(this._mEventListeners){var e=Object.keys(this._mEventListeners);e.forEach(function(e){this.detachEvent(e,this._mEventListeners[e],this)}.bind(this));delete this._mEventListeners}};r.prototype._onHashChangedForRouterHashChanger=function(e,t){if(this._oRouterHashChanger){var s=e.paramMapping||{},a=s[\"newHash\"]||\"newHash\",n=t.getParameter(a)||\"\",r=this._parseHash(n);this._oRouterHashChanger.fireHashChanged(r.hash,r.subHashMap,!!e.updateHashOnly)}};r.prototype._onHashModified=function(e){var t=e.getId(),s=[e.getParameter(\"hash\")],a=[e.getParameter(\"key\")],n=e.getParameter(\"nestedHashInfo\"),r=e.getParameter(\"deletePrefix\")||[];if(Array.isArray(n)){n.forEach(function(e){s.push(e.hash);a.push(e.key);if(Array.isArray(e.deletePrefix)){e.deletePrefix.forEach(function(e){if(r.indexOf(e)===-1){r.push(e)}})}})}if(t===\"hashSet\"){this._setSubHash(a,s,r)}else{this._replaceSubHash(a,s,r)}};r.prototype._setSubHash=function(e,t,s){var a=this._reconstructHash(e,t,s);this.setHash(a)};r.prototype._replaceSubHash=function(e,t,s){var a=this._reconstructHash(e,t,s);this.replaceHash(a)};r.prototype._reconstructHash=function(e,t,s){var a=this.getHash().split(\"&/\"),n=a.shift();e.forEach(function(e,r){if(s){s=s.filter(function(t){return t!==e})}var h=t[r];if(e===undefined){n=h+\"\"}else{var i=a.some(function(t,a,n){if(t.startsWith(e)){if(h){n[a]=e+\"/\"+h}else{s.push(e)}return true}return false});if(!i){a.push(e+\"/\"+h)}}});if(s&&s.length>0){a=a.filter(function(e){return!s.some(function(t){return e.startsWith(t)})})}a.unshift(n);return a.join(\"&/\")};r.prototype._parseHash=function(e){var t=e.split(\"&/\");return{hash:t.shift(),subHashMap:t.reduce(function(e,t){var s=t.indexOf(\"/\");if(s===-1){e[t]=\"\"}else{e[t.substring(0,s)]=t.substring(s+1)}return e},{})}};r.prototype.setHash=function(t){e.prototype.setHash.apply(this,arguments);s.setHash(t)};r.prototype.replaceHash=function(t){e.prototype.replaceHash.apply(this,arguments);s.replaceHash(t)};r.prototype.getHash=function(){return s.getHash()};r.prototype.getRelevantEventsInfo=function(){return[{name:\"hashChanged\",paramMapping:{fullHash:\"newHash\"}}]};r.prototype.destroy=function(){if(this._oRouterHashChanger){this._deregisterListenerFromRelevantEvents();this._oRouterHashChanger.destroy();this._oRouterHashChanger=undefined}delete this._initialized;s.changed.remove(this.fireHashChanged,this);e.prototype.destroy.apply(this,arguments)};r.prototype.deregisterRouterHashChanger=function(){this._deregisterListenerFromRelevantEvents();delete this._oRouterHashChanger};(function(){var e=null;var t;r.getInstance=function(){if(!e){e=new r}return e};function s(t){var s,a,n;for(s in e.mEventRegistry){if(e.mEventRegistry.hasOwnProperty(s)){a=e.mEventRegistry[s];n=t.mEventRegistry[s];if(n){t.mEventRegistry[s]=a.concat(n)}else{t.mEventRegistry[s]=a}}}}r.replaceHashChanger=function(a){if(e&&a){t=t||sap.ui.require(\"sap/ui/core/routing/History\");if(t){var n=t.getInstance();n._setHashChanger(a)}if(e._oRouterHashChanger){e._oRouterHashChanger.detachEvent(\"hashSet\",e._onHashModified,e);e._oRouterHashChanger.detachEvent(\"hashReplaced\",e._onHashModified,e);e._deregisterListenerFromRelevantEvents();a._oRouterHashChanger=e._oRouterHashChanger;a._oRouterHashChanger.parent=a;delete e._oRouterHashChanger;a._oRouterHashChanger.attachEvent(\"hashSet\",a._onHashModified,a);a._oRouterHashChanger.attachEvent(\"hashReplaced\",a._onHashModified,a);a._registerListenerToRelevantEvents()}s(a);e.destroy()}e=a}})();return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/HashChangerBase\", [\"sap/ui/base/EventProvider\"],function(e){\"use strict\";var a=e.extend(\"sap.ui.core.routing.HashChangerBase\",{metadata:{abstract:true,publicMethods:[\"getHash\",\"setHash\",\"replaceHash\"]},constructor:function(){e.apply(this)}});a.M_EVENTS={HashChanged:\"hashChanged\",HashSet:\"hashSet\",HashReplaced:\"hashReplaced\"};a.prototype.setHash=function(e){this.fireEvent(\"hashSet\",{sHash:e,hash:e})};a.prototype.replaceHash=function(e,a){this.fireEvent(\"hashReplaced\",{sHash:e,hash:e,direction:a})};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/routing/History\", [\"sap/ui/core/library\",\"./HashChanger\",\"sap/base/future\",\"sap/base/Log\"],function(t,i,s,e){\"use strict\";var a=t.routing.HistoryDirection;var r=\"Direction_Unchanged\";var n=function(t){var i=this;this._iHistoryLength=window.history.length;this.aHistory=[];this._bIsInitial=true;function a(t){if(n._bUsePushState&&!n.getInstance()){var s=window.history.state===null?{}:window.history.state;if(typeof s===\"object\"){s.sap=s.sap?s.sap:{};if(s.sap.history&&Array.isArray(s.sap.history)&&s.sap.history[s.sap.history.length-1]===t){n._aStateHistory=s.sap.history}else{n._aStateHistory.push(t);s.sap.history=n._aStateHistory;window.history.replaceState(s,window.document.title)}}else{e.debug(\"Unable to determine HistoryDirection as history.state is already set: \"+window.history.state,\"sap.ui.core.routing.History\")}}i._reset()}if(!t){s.errorThrows(\"sap.ui.core.routing.History constructor was called and it did not get a hashChanger as parameter\")}this._setHashChanger(t);if(t._initialized){a(t.getHash())}else{t.attachEventOnce(\"hashChanged\",function(t){a(t.getParameter(\"newHash\"))})}};n._aStateHistory=[];n._bUsePushState=window.self===window.top;n.prototype.getHistoryStateOffset=function(){if(!n._bUsePushState){return undefined}var t=window.history.state?.sap?.history;if(!Array.isArray(t)){return undefined}return t.length-n._aStateHistory.length};n.prototype.destroy=function(){this._unRegisterHashChanger()};n.prototype.getDirection=function(t){if(t!==undefined&&this._bIsInitial){return undefined}if(t===undefined){return this._sCurrentDirection}return this._getDirection(t)};n.prototype.getPreviousHash=function(){return this.aHistory[this.iHistoryPosition-1]};n.prototype._setHashChanger=function(t){if(this._oHashChanger){this._unRegisterHashChanger()}this._oHashChanger=t;this._mEventListeners={};t.getRelevantEventsInfo().forEach(function(t){var i=t.name,s=t.paramMapping||{},e=this._onHashChange.bind(this,s);this._mEventListeners[i]=e;this._oHashChanger.attachEvent(i,e,this)}.bind(this));this._oHashChanger.attachEvent(\"hashReplaced\",this._hashReplaced,this);this._oHashChanger.attachEvent(\"hashSet\",this._hashSet,this)};n.prototype._unRegisterHashChanger=function(){if(this._mEventListeners){var t=Object.keys(this._mEventListeners);t.forEach(function(t){this._oHashChanger.detachEvent(t,this._mEventListeners[t],this)}.bind(this));delete this._mEventListeners}this._oHashChanger.detachEvent(\"hashReplaced\",this._hashReplaced,this);this._oHashChanger.detachEvent(\"hashSet\",this._hashSet,this);this._oHashChanger=null};n.prototype._reset=function(){this.aHistory.length=0;this.iHistoryPosition=0;this._bUnknown=true;this.aHistory[0]=this._oHashChanger.getHash()};n.prototype._getDirection=function(t,i,s){if(s&&this._oNextHash&&this._oNextHash.sHash===t){return a.NewEntry}if(i){return a.NewEntry}if(this._bUnknown){return a.Unknown}if(this.aHistory[this.iHistoryPosition+1]===t&&this.aHistory[this.iHistoryPosition-1]===t){return a.Unknown}if(this.aHistory[this.iHistoryPosition-1]===t){return a.Backwards}if(this.aHistory[this.iHistoryPosition+1]===t){return a.Forwards}return a.Unknown};n.prototype._getDirectionWithState=function(t){var i=window.history.state===null?{}:window.history.state,s,o;if(typeof i===\"object\"){if(i.sap===undefined){n._aStateHistory.push(t);i.sap={};i.sap.history=n._aStateHistory;window.history.replaceState(i,document.title);o=a.NewEntry}else{s=i.sap.history.every(function(t,i){return t===n._aStateHistory[i]});if(s&&i.sap.history.length===n._aStateHistory.length){o=r}else{o=s?a.Backwards:a.Forwards;n._aStateHistory=i.sap.history}}}else{e.debug(\"Unable to determine HistoryDirection as history.state is already set: \"+window.history.state,\"sap.ui.core.routing.History\")}return o};n.prototype._onHashChange=function(t,i){var s=t.newHash||\"newHash\",e=t.oldHash||\"oldHash\",a=t.fullHash||\"fullHash\";this._hashChange(i.getParameter(s),i.getParameter(e),i.getParameter(a))};n.prototype._hashChange=function(t,i,s){var e=window.history.length,o;if(this._oNextHash&&this._oNextHash.bWasReplaced&&this._oNextHash.sHash===t){if(this._oNextHash.sDirection){o=this._oNextHash.sDirection}else{this.aHistory[this.iHistoryPosition]=t;if(s!==undefined&&n._bUsePushState&&this===n.getInstance()){n._aStateHistory[n._aStateHistory.length-1]=s;window.history.replaceState({sap:{history:n._aStateHistory}},window.document.title)}this._oNextHash=null;if(!this._bIsInitial){this._sCurrentDirection=a.Unknown}return}}this._bIsInitial=false;if(o){this._adaptToDirection(o,{oldHash:i,newHash:t,fullHash:s})}else{if(!o&&s!==undefined&&n._bUsePushState&&this===n.getInstance()){o=this._getDirectionWithState(s)}if(o===r){return}if(!o){o=this._getDirection(t,this._iHistoryLength{t[r._sInsertMutator](e,n)})},removeAllAggregation:async function(t,e){if(e===\"customData\"){t.removeAllAggregation(e,true)}else{const n=await this.findAggregation(t,e);if(n){t[n._sRemoveAllMutator]()}}},getBindingTemplate:function(t,e){const n=t.getBindingInfo(e);return Promise.resolve(n?.template)},updateAggregation:async function(t,e){const n=await this.findAggregation(t,e);if(n&&t.getBinding(e)){t[n._sDestructor]();t.updateAggregation(e)}},findIndexInParentAggregation:async function(t){const e=this.getParent(t);if(!e){return-1}const n=await this.getParentAggregationName(t);const r=await this.getAggregation(e,n);if(Array.isArray(r)){return r.indexOf(t)}else{return 0}},getParentAggregationName:function(t){return Promise.resolve(t.sParentAggregationName)},findAggregation:function(t,e){if(t?.getMetadata){const n=t.getMetadata();const r=n.getAllAggregations();return Promise.resolve(r[e])}return Promise.resolve(undefined)},validateType:async function(t,e,n,r){const i=e.type;const o=await this.getAggregation(n,e.name);if(e.multiple===false&&o&&o.length>0){return false}return t.isA(i)},instantiateFragment:async function(t,e,n){const r=s.parse(t);const i=await this._checkAndPrefixIdsInFragment(r,e);const o=await a.load({definition:i,sId:n&&n.getId(),controller:n.getController()});if(o&&!Array.isArray(o)){return[o]}return o||[]},templateControlFragment:async function(t,e,n){const i=await r._templateFragment(t,e);const o=n?.getController();return a.load({definition:i,controller:o})},destroy:function(t,e){t.destroy(e)},_getFlexCustomData:function(t,n){const r=typeof t===\"object\"&&typeof t.data===\"function\"&&t.data(\"sap-ui-custom-settings\");return e.get([\"sap.ui.fl\",n],r)},bindAggregation:function(t,e,n){return Promise.resolve(t.bindAggregation(e,n))},unbindAggregation:function(t,e){return Promise.resolve(t.unbindAggregation(e))},getExtensionPointInfo:async function(t,e){const n=e._xContent?e._xContent:e;const r=await i.getExtensionPointInfo(t,n);if(r){r.index--;r.parent=r.parent&&this._byId(e.createId(r.parent.getAttribute(\"id\")));r.defaultContent=r.defaultContent.map(t=>{const n=e.createId(t.getAttribute(\"id\"));return this._byId(n)}).filter(t=>!!t)}return r}};return t({},r,u)},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/reflection/XmlTreeModifier\", [\"sap/base/util/isPlainObject\",\"sap/base/util/merge\",\"sap/ui/base/BindingInfo\",\"sap/ui/base/DataType\",\"sap/ui/core/util/reflection/BaseTreeModifier\",\"sap/ui/core/Fragment\",\"sap/ui/util/XMLHelper\"],function(t,e,n,i,r,o,a){\"use strict\";const s=\"http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1\";const c=e({},r,{targets:\"xmlTree\",setVisible:function(t,e){if(e){t.removeAttribute(\"visible\")}else{t.setAttribute(\"visible\",e)}},getVisible:function(t){return c.getProperty(t,\"visible\")},setStashed:function(t,e){if(!e){t.removeAttribute(\"stashed\")}else{t.setAttribute(\"stashed\",e)}c.setVisible(t,!e);return Promise.resolve()},getStashed:function(t){return Promise.all([c.getProperty(t,\"stashed\"),c.getProperty(t,\"visible\")]).then(function(t){return!!t[0]||!t[1]})},bindProperty:function(t,e,n){t.setAttribute(e,\"{\"+n+\"}\")},unbindProperty:function(t,e){t.removeAttribute(e)},_setProperty:function(t,e,n,i){let r=c._getSerializedValue(n);if(i){r=c._escapeCurlyBracketsInString(r)}t.setAttribute(e,r)},setProperty:function(t,e,n){c._setProperty(t,e,n,true)},getProperty:async function(e,r){let o;let a=e.getAttribute(r);const s=await c.getControlMetadata(e);const g=s.getProperty(r);if(g){o=g.getType();if(r===\"value\"&&c.getControlType(e)===\"sap.ui.core.CustomData\"){const t=await c.getProperty(e,\"key\");if(t===\"sap-ui-custom-settings\"){o=i.getType(\"object\")}}if(a===null){a=g.getDefaultValue()||o.getDefaultValue()}else{const e=n.parse(a,undefined,true);if(t(e)){if(e.path||e.parts){a=undefined}else{a=e}}else{a=o.parseValue(e||a)}}}return a},isPropertyInitial:function(t,e){const n=t.getAttribute(e);return n==null},setPropertyBinding:function(t,e,n){if(typeof n!==\"string\"){throw new Error(\"For XML, only strings are supported to be set as property binding.\")}t.setAttribute(e,n)},getPropertyBinding:function(t,e){const i=t.getAttribute(e);if(i){const t=n.parse(i,undefined,true);if(t&&(t.path||t.parts)){return t}}return undefined},createAndAddCustomData:function(t,e,n){t.setAttributeNS(s,\"custom.data.via.modifier:\"+e,c._escapeCurlyBracketsInString(n));return Promise.resolve()},getCustomDataInfo:function(t,e){const n=t.attributes[\"custom.data.via.modifier:\"+e];if(n){return{customData:n,customDataValue:n.value}}else{return{}}},createControl:async function(t,e,n,i,r,o){const a=c.getControlIdBySelector(i,e);if(!c.bySelector(i,e,n)){let e;const i=t.split(\".\");let o=\"\";if(i.length>1){e=i.pop();o=i.join(\".\")}const s=n.ownerDocument.createElementNS(o,e);if(a){s.setAttribute(\"id\",a)}if(r){await c.applySettings(s,r)}return s}else{throw new Error(\"Can't create a control with duplicated ID \"+a)}},applySettings:async function(t,e){const n=await c.getControlMetadata(t);const i=n.getJSONKeys();Object.keys(e).forEach(function(n){const r=i[n];const o=e[n];switch(r._iKind){case 0:c._setProperty(t,n,o,false);break;case 3:c.setAssociation(t,n,o);break;default:throw new Error(\"Unsupported in applySettings on XMLTreeModifier: \"+n)}})},_byId:function(t,e){if(e){if(e.ownerDocument&&e.ownerDocument.getElementById&&e.ownerDocument.getElementById(t)){return e.ownerDocument.getElementById(t)}return e.querySelector(\"[id='\"+t+\"']\")}return undefined},getId:function(t){return t.getAttribute(\"id\")},getParent:function(t){const e=t.parentNode;if(e&&!c.getId(e)&&!c._isExtensionPoint(e)){return e.parentNode}return e},_getLocalName:function(t){return t.localName||t.baseName||t.nodeName},getControlType:function(t){return c._getControlTypeInXml(t)},setAssociation:function(t,e,n){if(typeof n!==\"string\"){n=c.getId(n)}t.setAttribute(e,n)},getAssociation:function(t,e){return t.getAttribute(e)},getAllAggregations:async function(t){const e=await c.getControlMetadata(t);return e.getAllAggregations()},getAggregation:async function(t,e){let n=[];const i=await c._isSingleValueAggregation(t,e);const r=await c._findAggregationNode(t,e);if(r){const e=await c._getControlsInAggregation(t,r);n=e}else{const r=await c._isAltTypeAggregation(t,e);if(r&&i){const i=await c.getProperty(t,e);n.push(i)}}if(e===\"customData\"){let e;const i=Array.prototype.slice.call(t.attributes).reduce(function(n,i){const r=c._getLocalName(i);if(i.namespaceURI===s){const e=t.ownerDocument.createElementNS(\"sap.ui.core\",\"CustomData\");e.setAttribute(\"key\",r);e.setAttribute(\"value\",i.value);n.push(e)}else if(i.namespaceURI&&i.name.indexOf(\"xmlns:\")!==0){if(!e){e={}}if(!e.hasOwnProperty(i.namespaceURI)){e[i.namespaceURI]={}}e[i.namespaceURI][r]=i.nodeValue}return n},[]);n=n.concat(i);if(e){const i=t.ownerDocument.createElementNS(\"sap.ui.core\",\"CustomData\");i.setAttribute(\"key\",\"sap-ui-custom-settings\");c.setProperty(i,\"value\",e);n.push(i)}}return i?n[0]:n},insertAggregation:async function(t,e,n,i,r,o){const a=await c._findAggregationNode(t,e);return g(t,e,n,i,r,o,a)},removeAggregation:async function(t,e,n){const i=await c._findAggregationNode(t,e);i.removeChild(n)},moveAggregation:async function(t,e,n,i,r,o,a,s){const u=await c._findAggregationNode(t,e);const l=await c._findAggregationNode(n,i);u.removeChild(r);await g(n,i,r,o,a,s,l)},replaceAllAggregation:async function(t,e,n){const i=await c._findAggregationNode(t,e);const r=await c._getControlsInAggregation(t,i);r.forEach(function(t){i.removeChild(t)});n.forEach(t=>{i.appendChild(t)})},removeAllAggregation:async function(t,e){const n=await c._findAggregationNode(t,e);if(t===n){const e=await c._getControlsInAggregation(t,t);e.forEach(function(e){t.removeChild(e)})}else{return t.removeChild(n)}},_findAggregationNode:async function(t,e){let n;const i=c._children(t);for(let t=0;t{const n=await c._isNotNamedAggregationNode(t,e);return n?e:undefined}));return i.filter(t=>!!t)},_children:function(t){if(t.children){return t.children}else{const e=[];for(let n=0;n{if(c._isExtensionPoint(t)){return t}const e=await c.getProperty(t,\"stashed\");return!e?t:undefined});i=await Promise.all(e);return i.filter(t=>!!t).indexOf(t)}else{return 0}},getParentAggregationName:async function(t,e){const n=e.isSameNode(t.parentNode);const i=await c._isNotNamedAggregationNode(e,t);if(i&&n){const t=await c.getControlMetadata(e);return t.getDefaultAggregationName()}else{return c._getLocalName(t.parentNode)}},findAggregation:async function(t,e){const n=await c.getControlMetadata(t);const i=await n.getAllAggregations();if(i){return i[e]}return undefined},validateType:async function(t,e,n,i,r){const a=e.type;const s=await c.getAggregation(n,e.name);if(e.multiple===false&&s&&s.length>0){return false}const g=await o.load({definition:i});const u=!Array.isArray(g)?[g]:g;const l=u[r].isA(a);u.forEach(function(t){t.destroy()});return l},instantiateFragment:async function(t,e,n){const i=a.parse(t);const r=await c._checkAndPrefixIdsInFragment(i,e);let o;if(r.localName===\"FragmentDefinition\"){o=c._getElementNodeChildren(r)}else{o=[r]}o.forEach(function(t){if(c._byId(t.getAttribute(\"id\"),n)){throw Error(\"The following ID is already in the view: \"+t.getAttribute(\"id\"))}});return o},templateControlFragment:async function(t,e){const n=await r._templateFragment(t,e);return c._children(n)},destroy:function(t){const e=t.parentNode;if(e){e.removeChild(t)}},_getFlexCustomData:function(t,e){if(!t){return undefined}return t.getAttributeNS(\"sap.ui.fl\",e)},bindAggregation:function(t,e,n,i){c.bindProperty(t,e,n.path);return c.insertAggregation(t,e,n.template,0,i)},unbindAggregation:function(t,e){if(t.hasAttribute(e)){t.removeAttribute(e);return c.removeAllAggregation(t,e)}return Promise.resolve()},getExtensionPointInfo:async function(t,e){if(e&&t){const n=Array.prototype.slice.call(e.getElementsByTagNameNS(\"sap.ui.core\",\"ExtensionPoint\"));const i=n.filter(function(e){return e.getAttribute(\"name\")===t});const r=i.length===1?i[0]:undefined;if(r){const t=c.getParent(r);const e=await Promise.all([c.getParentAggregationName(r,t),c.findIndexInParentAggregation(r)]);const n={parent:t,aggregationName:e[0],index:e[1]+1,defaultContent:Array.prototype.slice.call(c._children(r))};return n}}return undefined}});async function g(t,e,n,i,r,o,a){let s;if(!a){const n=t.namespaceURI;s=await c.createControl(n+\".\"+e,undefined,r);t.appendChild(s)}else{s=a}if(!o){const t=s.children;let e=0;const n=i=s.childElementCount){s.appendChild(n)}else{const e=await c._getControlsInAggregation(t,s);s.insertBefore(n,e[i])}return undefined}return c},true);\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/serializer/HTMLViewSerializer\", [\"sap/ui/base/EventProvider\",\"./Serializer\",\"./delegate/HTML\",\"sap/ui/thirdparty/vkbeautify\"],function(e,t,i,r){\"use strict\";var n=e.extend(\"sap.ui.core.util.serializer.HTMLViewSerializer\",{constructor:function(t,i,r,n){e.apply(this);this._oView=t;this._oWindow=i;this._fnGetControlId=r;this._fnGetEventHandlerName=n}});n.prototype.serialize=function(){var e=this;var n=function(t){return t?.isA?.(\"sap.ui.core.mvc.View\")&&t!==e._oView};var o=new t(this._oView,new i(this._fnGetControlId,this._fnGetEventHandlerName),true,this._oWindow,n);var a=o.serialize();var s=[];s.push(\"\");s.push(a);s.push(\"\");return r.xml(s.join(\"\"))};return n});\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/serializer/Serializer\", [\"sap/ui/base/EventProvider\",\"sap/base/assert\"],function(e,t){\"use strict\";var i=e.extend(\"sap.ui.core.util.serializer.Serializer\",{constructor:function(t,i,r,s,a,n){e.apply(this);this._oRootControl=t;this._delegate=i;this._bSkipRoot=!!r;this._oWindow=s||globalThis;this._fnSkipAggregations=a;this._fnSkipElement=n}});i.prototype.serialize=function(){return this._serializeRecursive(this._oRootControl,0)};i.prototype._serializeRecursive=function(e,i,r,s){t(typeof e!==\"undefined\",\"The control must not be undefined\");var a=[];var n=!this._bSkipRoot||i!==0;if(n){var o=this._delegate.start(e,r,s);var g=this._delegate.middle(e,r,s);a.push(o+g)}var l=e.getMetadata().getAllAggregations();if(l){for(var h in l){if(this._fnSkipAggregations&&this._fnSkipAggregations(e,h)){continue}var u=[];var f=l[h];var p=e[f._sGetter]();if(e.getBindingPath(h)&&e.getBindingInfo(h).template){u.push(e.getBindingInfo(h).template)}else if(p&&p.length){for(var _=0;_0){if(n){a.push(this._delegate.startAggregation(e,h))}var v=this._isDefaultAggregation(e,h);for(var c=0;c\");l.push(u);l.push(\"\");return r.xml(l.join(\"\"))};return s});\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/serializer/delegate/Delegate\", [\"sap/ui/base/EventProvider\"],function(t){\"use strict\";var e=t.extend(\"sap.ui.core.util.serializer.delegate.Delegate\",{constructor:function(){t.apply(this)}});e.prototype.start=function(t,e,r){return\"\"};e.prototype.middle=function(t,e,r){return\"\"};e.prototype.end=function(t,e,r){return\"\"};e.prototype.startAggregation=function(t,e){return\"\"};e.prototype.endAggregation=function(t,e){return\"\"};return e});\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/serializer/delegate/HTML\", [\"./Delegate\",\"sap/base/strings/hyphenate\",\"sap/base/util/deepEqual\"],function(t,e,r){\"use strict\";var i=t.extend(\"sap.ui.core.util.serializer.delegate.HTML\",{constructor:function(e,r){t.apply(this);this._fnGetControlId=e;this._fnGetEventHandlerName=r}});i.prototype.startAggregation=function(t,e){return'
'};i.prototype.endAggregation=function(t,e){return\"
\"};i.prototype.start=function(t,e,r){return\"0){a.push(this._createAttribute(\"class\",u.join(\" \")))}}if(this._fnGetEventHandlerName){var g=t.getMetadata().getAllEvents();for(var p in g){if(t.hasListeners(p)){var f=t.mEventRegistry[p];for(var o=0;o\");return a.join(\"\")};i.prototype.end=function(t,e,r){return\"\"};i.prototype._createAttributes=function(t,e,r,i,a){for(var n in r){var s=r[n];var u=s._sGetter;if(e[u]){var o=e[u]();o=i?i(n,o):o;if(!e.getBindingInfo(n)){if(!a||a(n,o)){t.push(this._createAttribute(\"data-\"+this._createHtmlAttributeName(n),o))}}else{t.push(this._createDataBindingAttribute(e,n,o))}}}};i.prototype._createDataBindingAttribute=function(t,e,r){var i=t.getBindingInfo(e);var a=null;var n=r;if(!i.bindingString){if(i.binding){var s=i.binding.getMetadata().getName();if(s===\"sap.ui.model.PropertyBinding\"||s===\"sap.ui.model.resource.ResourcePropertyBinding\"){a=i.binding.getValue()}}if(i.parts){i=i.parts[0]}var u=i.model;if(a===r||a===null){n=\"{\"+(u?u+\">\"+i.path:i.path)+\"}\"}}else{n=i.bindingString}return this._createAttribute(\"data-\"+this._createHtmlAttributeName(e),n)};i.prototype._createAttribute=function(t,e){return\" \"+t+'=\"'+e+'\"'};i.prototype._createHtmlAttributeName=function(t){return e(t)};return i});\n/*\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/serializer/delegate/XML\", [\"./Delegate\",\"sap/base/util/deepEqual\",\"sap/base/security/encodeXML\"],function(t,e,r){\"use strict\";var a=t.extend(\"sap.ui.core.util.serializer.delegate.XML\",{constructor:function(e,r,a,i){t.apply(this);this._sDefaultNamespace=e;this._fnGetControlId=r;this._fnMemorizePackage=i;this._fnGetEventHandlerName=a}});a.prototype.startAggregation=function(t,e){return\"<\"+this._createAggregationName(t,e)+\">\"};a.prototype.endAggregation=function(t,e){return\"\"};a.prototype.start=function(t,e,r){return\"<\"+this._createTagName(t)};a.prototype.end=function(t,e,r){return\"\"};a.prototype.middle=function(t,r,a){var i=[];var n=this._fnGetControlId?this._fnGetControlId(t):t.getId();if(n.indexOf(\"__\")!==0){i.push(this._createAttribute(\"id\",n))}if(t.aCustomStyleClasses){var s=t.aCustomStyleClasses;var o=[];for(var u=0;u0){i.push(this._createAttribute(\"class\",o.join(\" \")))}}if(this._fnGetEventHandlerName){var f=t.getMetadata().getAllEvents();for(var c in f){if(t.hasListeners(c)){var l=t.mEventRegistry[c];for(var u=0;u\");return i.join(\"\")};a.prototype._createAttributes=function(t,e,r,a,i){for(var n in r){var s=r[n];var o=s._sGetter;if(e[o]){var u=e[o]();u=a?a(n,u):u;if(!e.getBindingInfo(n)){if(!i||i(n,u)){t.push(this._createAttribute(n,u))}}else{t.push(this._createDataBindingAttribute(e,n,u))}}}};a.prototype._createDataBindingAttribute=function(t,e,r){var a=t.getBindingInfo(e);var i=null;var n=r;if(!a.bindingString){if(a.binding){var s=a.binding.getMetadata().getName();if(s===\"sap.ui.model.PropertyBinding\"||s===\"sap.ui.model.resource.ResourcePropertyBinding\"){i=a.binding.getValue()}}if(a.parts){a=a.parts[0]}var o=a.model;if(i===r||i===null){n=\"{\"+(o?o+\">\"+a.path:a.path)+\"}\"}}else{n=a.bindingString}return this._createAttribute(e,n)};a.prototype._createAttribute=function(t,e){var a=typeof e===\"string\"||e instanceof String?r(e):e;return\" \"+t+'=\"'+a+'\"'};a.prototype._createTagName=function(t){var e=t.getMetadata()._sClassName;var r=e.lastIndexOf(\".\");var a=r===-1?e:e.substring(r+1);var i=r===-1?e:e.substring(0,r);if(this._fnMemorizePackage){this._fnMemorizePackage(t,i)}return this._createNamespace(i,a)};a.prototype._createAggregationName=function(t,e){var r=t.getMetadata()._sClassName;var a=r.lastIndexOf(\".\");var i=a===-1?r:r.substring(0,a);return this._createNamespace(i,e)};a.prototype._createNamespace=function(t,e){if(this._sDefaultNamespace&&this._sDefaultNamespace===t){return e}else{return t+\":\"+e}};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/webc/WebComponent\", [\"../Control\",\"../Element\",\"./WebComponentMetadata\",\"./WebComponentRenderer\",\"sap/base/strings/hyphenate\",\"sap/base/strings/camelize\",\"../library\",\"../LabelEnablement\"],function(t,e,o,n,r,i,a,s){\"use strict\";var p=a.TextDirection;const u=a.ValueState;const f={[u.Error]:\"Negative\",[u.Warning]:\"Critical\",[u.Success]:\"Positive\",[u.Information]:\"Information\",[u.None]:\"None\"};const l=Object.fromEntries(Object.entries(f).map(([t,e])=>[e,t]));var c=function(t){if(t.id&&e.getElementById(t.id)){return e.getElementById(t.id)}};var d=function(t){while(t&&t.shadowRoot&&t.shadowRoot.activeElement){t=t.shadowRoot.activeElement}return t};var h=function(t,e,o){if(e===undefined){e=0}if(o===undefined){o=2}if(t==null){return t}if(t instanceof window.HTMLElement){var n=c(t);return n?n:t}if(ee!==undefined&&e!==false?t:null));for(var i in a){var o=a[i];if(e.isPropertyInitial(i)&&!n.includes(i)){continue}var s=o.get(e);if(o.type===\"object\"||typeof s===\"object\"){continue}var p=o._sMapTo?o._sMapTo:r(i);if(o._fnMappingFormatter){s=e[o._fnMappingFormatter].call(e,s)}if(o.type===\"boolean\"){if(s){t.attr(p,\"\")}}else{if(s!=null){t.attr(p,s)}}}};a.preserveUnmanagedAttributes=function(t,e){var r=e.getDomRef();if(!r){return}var a=r.getAttributeNames();var n=[\"id\",\"data-sap-ui\",\"style\",\"class\",\"__is-busy\"];a.forEach(function(a){if(n.indexOf(a)!==-1){return}if(e.getMetadata().isManagedAttribute(a)){return}var i=r.getAttribute(a);if(i!==null){t.attr(a,i)}})};a.preserveUnmanagedStyles=function(t,e){var a=e.getDomRef();if(!a){return}var n=Array.prototype.slice.apply(a.style);if(n.length===0){return}var i=e.getMetadata().getPropertiesByMapping(\"style\");var o=[];for(var s in i){var p=i[s];var g=p._sMapTo?p._sMapTo:r(s);o.push(g)}n.forEach(function(e){if(o.indexOf(e)!==-1){return}var r=e.startsWith(\"--\")?window.getComputedStyle(a).getPropertyValue(e):a.style[e];t.style(e,r)})};a.renderStyleProperties=function(t,e){var a=e.getMetadata().getPropertiesByMapping(\"style\");for(var n in a){var i=a[n];var o=i._sMapTo?i._sMapTo:r(n);var s=i.get(e);if(i._fnMappingFormatter){s=e[i._fnMappingFormatter].call(e,s)}if(s!=null){t.style(o,s)}}};a.renderAssociationProperties=function(t,e){var a=e.getMetadata().getAssociationsWithMapping();for(var n in a){var i=a[n];var o=i.get(e);var s=r(i._sMapTo);if(i._fnMappingFormatter){o=e[i._fnMappingFormatter].call(e,o)}if(!i.multiple&&o&&typeof o===\"object\"){o=o.getId()}if(o){t.attr(s,o)}}};a.renderTooltipAggregation=function(t,e){var r=e.getTooltip_Text();if(r){t.attr(\"tooltip\",r)}};a.renderTextContentProperties=function(t,e){var r=e.getMetadata().getPropertiesByMapping(\"textContent\");for(var a in r){var n=r[a];var i=n.get(e);if(n._fnMappingFormatter){i=e[n._fnMappingFormatter].call(e,i)}t.text(i)}};a.renderSlotProperties=function(t,e){var r=e.getMetadata().getPropertiesByMapping(\"slot\");for(var a in r){var n=r[a];var i=n.get(e);if(n._fnMappingFormatter){i=e[n._fnMappingFormatter].call(e,i)}var o=n._sMapTo?n._sMapTo:\"span\";const s=n._sSlotName||a;if(i){t.openStart(o);t.attr(\"slot\",s);t.openEnd();t.text(i);t.close(o)}}};a.renderAggregations=function(r,a){var n=a.getMetadata().getAllAggregations();for(var i in n){if(t.getMetadata().getAggregations().hasOwnProperty(i)||e.getMetadata().getAggregations().hasOwnProperty(i)){continue}var o=n[i];var s=o.get(a);if(o.multiple){s.forEach(r.renderControl,r)}else{if(s){r.renderControl(s)}}}};a.customRenderInOpeningTag=function(t,e){};a.customRenderInsideTag=function(t,e){};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ws/ReadyState\", function(){\"use strict\";var e={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ws/SapPcpWebSocket\", [\"./WebSocket\",\"sap/base/Log\"],function(e,t){\"use strict\";var r=e.extend(\"sap.ui.core.ws.SapPcpWebSocket\",{constructor:function(t,r){e.apply(this,arguments)}});r.SUPPORTED_PROTOCOLS={v10:\"v10.pcp.sap.com\"};r._deserializeRegexp=/((?:[^:\\\\]|(?:\\\\.))+):((?:[^:\\\\\\n]|(?:\\\\.))*)/;r._SEPARATOR=\"\\n\\n\";r._MESSAGE=\"MESSAGE\";r.prototype._onopen=function(){var e=false;if(this.getProtocol()===\"\"){e=true}else{for(var i in r.SUPPORTED_PROTOCOLS){if(r.SUPPORTED_PROTOCOLS.hasOwnProperty(i)){if(r.SUPPORTED_PROTOCOLS[i]===this.getProtocol()){e=true;break}}}}if(e){this.fireOpen()}else{t.error(\"Unsupported protocol '\"+this.getProtocol()+\"' selected by the server. \"+\"Connection will be closed.\");this.close(\"Unsupported protocol selected by the server\")}};r.prototype._onmessage=function(e){var i=-1,n={};if(typeof e.data===\"string\"){i=e.data.indexOf(r._SEPARATOR)}if(i!==-1){n.pcpFields=this._extractPcpFields(e.data.substring(0,i));n.data=e.data.substr(i+r._SEPARATOR.length)}else{t.warning(\"Invalid PCP message received: \"+e.data);n.pcpFields={};n.data=e.data}this.fireMessage(n)};r.prototype._extractPcpFields=function(e){var t=e.split(\"\\n\"),i=[],n={};for(var o=0;o\").css(\"visibility\",\"hidden\").css(\"height\",\"0\").css(\"width\",\"0\").css(\"overflow\",\"hidden\");if(e){s.addClass(e)}s.prependTo(document.body);var d=jQuery(\"
\");d[0].style=\"visibility:visible;position:absolute;height:100px;width:100px;overflow:scroll;opacity:0;\";s.append(d);var o=d.get(0);var h=o.offsetWidth-o.scro Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/GridItemLayoutData\", [\"sap/ui/core/LayoutData\",\"sap/ui/layout/library\"],function(t){\"use strict\";var e={gridColumnStart:\"grid-column-start\",gridColumnEnd:\"grid-column-end\",gridRowStart:\"grid-row-start\",gridRowEnd:\"grid-row-end\",gridColumn:\"grid-column\",gridRow:\"grid-row\"};var r=t.extend(\"sap.ui.layout.cssgrid.GridItemLayoutData\",{metadata:{library:\"sap.ui.layout\",interfaces:[\"sap.ui.layout.cssgrid.IGridItemLayoutData\"],properties:{gridColumnStart:{type:\"sap.ui.layout.cssgrid.CSSGridLine\",defaultValue:\"\"},gridColumnEnd:{type:\"sap.ui.layout.cssgrid.CSSGridLine\",defaultValue:\"\"},gridRowStart:{type:\"sap.ui.layout.cssgrid.CSSGridLine\",defaultValue:\"\"},gridRowEnd:{type:\"sap.ui.layout.cssgrid.CSSGridLine\",defaultValue:\"\"},gridColumn:{type:\"sap.ui.layout.cssgrid.CSSGridLine\",defaultValue:\"\"},gridRow:{type:\"sap.ui.layout.cssgrid.CSSGridLine\",defaultValue:\"\"}}}});r.prototype.setItemStyles=function(t){if(!t){return}var i=this.getMetadata().getProperties();for(var a in e){if(i[a]){var u=this.getProperty(a);if(typeof u!==\"undefined\"){r._setItemStyle(t,e[a],u)}}}};r.removeItemStyles=function(t){for(var r in e){t.style.removeProperty(e[r])}};r._setItemStyle=function(t,e,r){if(r!==\"0\"&&!r){t.style.removeProperty(e)}else{t.style.setProperty(e,r)}};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/GridLayoutBase\", [\"sap/ui/base/ManagedObject\",\"./GridItemLayoutData\"],function(t,e){\"use strict\";var r={gridTemplateColumns:\"grid-template-columns\",gridTemplateRows:\"grid-template-rows\",gridGap:\"grid-gap\",gridColumnGap:\"grid-column-gap\",gridRowGap:\"grid-row-gap\",gridAutoRows:\"grid-auto-rows\",gridAutoColumns:\"grid-auto-columns\",gridAutoFlow:\"grid-auto-flow\"};var i={Row:\"row\",Column:\"column\",RowDense:\"row dense\",ColumnDense:\"column dense\"};var o=t.extend(\"sap.ui.layout.cssgrid.GridLayoutBase\",{metadata:{library:\"sap.ui.layout\",abstract:true}});o.setItemStyles=function(t){if(!t){return}var r=o._getLayoutDataForControl(t),i=t.getDomRef();if(!i){return}if(!r){e.removeItemStyles(i)}else{r.setItemStyles(i)}};o._getLayoutDataForControl=function(t){var e,r,i;if(!t){return undefined}e=t.getLayoutData();if(!e){return undefined}if(e.isA(\"sap.ui.layout.cssgrid.IGridItemLayoutData\")){return e}if(e.isA(\"sap.ui.core.VariantLayoutData\")){r=e.getMultipleLayoutData();for(var o=0;othis.getColumnsL()||this.getColumnsL()>this.getColumnsXL()){throw new Error(\"Column size not correct defined for \"+this)}r.call(this)};s.prototype.onAfterRendering=function(e){if(this._oResizeObserver){var a=this.getDomRef();this._oResizeObserver.observe(a)}else{this._sResizeListener=t.register(this,this._resizeProxy)}n.call(this)};s.prototype.toggleContainerExpanded=function(e){e.$().toggleClass(\"sapUiFormCLContainerColl\",!e.getExpanded())};s.prototype.onLayoutDataChange=function(e){this.invalidate()};s.prototype.onsapup=function(e){this.onsapleft(e)};s.prototype.onsapdown=function(e){this.onsapright(e)};s.prototype.getContainerRenderedDomRef=function(e){return e.getDomRef()};s.prototype.getElementRenderedDomRef=function(e){return e.getDomRef()};s.prototype._getContainerSize=function(e){var t=this.getParent();var a=this.getLayoutDataForElement(e,\"sap.ui.layout.form.ColumnContainerData\");var i=t.getVisibleFormContainers();var l=i.length;var s=this.getColumnsM();var r=this.getColumnsL();var o=this.getColumnsXL();var n={S:{Size:1,Break:false,FirstRow:false},M:{Size:1,Break:false,FirstRow:false},L:{Size:1,Break:false,FirstRow:false},XL:{Size:1,Break:false,FirstRow:false}};var u=function(e,t,a,i,l){if(a1&&i>0&&i%e===0;t.FirstRow=a>1&&is||n.L.Size>r||n.XL.Size>o){throw new Error(\"More cells defined for FormContainer \"+e.getId()+\" than columns on \"+this)}}if(l===1){if(!a){n.M.Size=s;n.L.Size=r;n.XL.Size=o}n.S.FirstRow=true;n.M.FirstRow=true;n.L.FirstRow=true;n.XL.FirstRow=true}else{var f=0;var g=0;var m=0;var p;var C=false;var S=0;var L=s;var d=r;var h=o;var y=0;for(y=0;y1&&f===0;n.S.Break=f>0;if(!C){u(s,n.M,l,f,f===m);u(r,n.L,l,f,f===m);u(o,n.XL,l,f,f===m)}else{if(!a){if(S1){e.lineBreak=true}e.first=false}}else{if(e.rowColumns1){e.lineBreak=true}e.first=false}}};for(y=0;yf){i.S.Break=true}}if(!a||a.getCellsLarge()===-1){i.L.Size=g}else if(o){if(i.L.Size>g){i.L.Break=true}}}else{var p=0;var C=[];var S=[];var L={availableCells:f,first:0,last:999,firstDefault:-1,defaultFields:0};var d=0;var h=0;var y=0;var v;C.push(jQuery.extend({},L));L.availableCells=g;S.push(jQuery.extend({},L));var c=function(e,t,a,i){e[t].last=a-1;e.push(jQuery.extend({},L));t++;e[t].first=a;e[t].availableCells=i;return t};var D=function(e,a,i,l,s){if(e[a].availableCells-e[a].defaultFields0){d=D(C,d,v.getCellsSmall(),f,p)}else{d=F(C,d,f,p)}if(v&&v.getCellsLarge()>0){h=D(S,h,v.getCellsLarge(),g,p)}else{h=F(S,h,g,p)}}var z=function(e,a,i,l,s){var r=0;var o;for(p=0;p=e[p].first&&a<=e[p].last){o=e[p];break}}if(i<=0){l.Size=Math.floor(o.availableCells/o.defaultFields)}if(a===o.first&&a>0){l.Break=true;if(s>0&&s0){l.Size=l.Size+r}}};z(C,y,a?a.getCellsSmall():-1,i.S,l);z(S,y,a?a.getCellsLarge():-1,i.L,s)}}return i};function r(){if(this._oResizeObserver){this._oResizeObserver.disconnect()}if(this._sResizeListener){t.deregister(this._sResizeListener);this._sResizeListener=undefined}}function o(e,t){window.requestAnimationFrame(function(){n.call(this,e,t)}.bind(this))}function n(e,a){var i=this.getDomRef();if(!i){r.call(this);return}var l=this.$();if(!l.is(\":visible\")){return}if(t.isSuspended(i,this._resizeProxy)){return}var s=i.clientWidth;var o=1;if(s<=this._iBreakPointTablet){this.toggleStyleClass(\"sapUiFormCLMedia-Std-Phone\",true);this.toggleStyleClass(\"sapUiFormCLMedia-Std-Desktop\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Tablet\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-LargeDesktop\",false)}else if(s>this._iBreakPointTablet&&s<=this._iBreakPointDesktop){this.toggleStyleClass(\"sapUiFormCLMedia-Std-Tablet\",true);this.toggleStyleClass(\"sapUiFormCLMedia-Std-Desktop\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Phone\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-LargeDesktop\",false);o=this.getColumnsM()}else if(s>this._iBreakPointDesktop&&s<=this._iBreakPointLargeDesktop){this.toggleStyleClass(\"sapUiFormCLMedia-Std-Desktop\",true);this.toggleStyleClass(\"sapUiFormCLMedia-Std-Phone\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Tablet\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-LargeDesktop\",false);o=this.getColumnsL()}else{this.toggleStyleClass(\"sapUiFormCLMedia-Std-LargeDesktop\",true);this.toggleStyleClass(\"sapUiFormCLMedia-Std-Desktop\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Phone\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Tablet\",false);o=this.getColumnsXL()}var n=this.getLabelCellsLarge()<12&&s/o>this._iBreakPointTablet;this.toggleStyleClass(\"sapUiFormCLWideColumns\",n);this.toggleStyleClass(\"sapUiFormCLSmallColumns\",!n)}s.prototype.getLayoutDataForDelimiter=function(){var e=sap.ui.require(\"sap/ui/layout/form/ColumnElementData\");if(!e){var t;sap.ui.require([\"sap/ui/layout/form/ColumnElementData\"],function(e){t(new e({cellsLarge:1,cellsSmall:1}))});return new Promise(function(e){t=e})}else{return new e({cellsLarge:1,cellsSmall:1})}};s.prototype.getLayoutDataForSemanticField=function(e,t,a){if(a){if(a.isA(\"sap.ui.layout.form.ColumnElementData\")){a.setCellsLarge(-1).setCellsSmall(11);return a}else{a.destroy()}}var i=sap.ui.require(\"sap/ui/layout/form/ColumnElementData\");if(!i){var l;sap.ui.require([\"sap/ui/layout/form/ColumnElementData\"],function(e){l(new e({cellsLarge:-1,cellsSmall:11}))});return new Promise(function(e){l=e})}else{return new i({cellsLarge:-1,cellsSmall:11})}};s.prototype.renderControlsForSemanticElement=function(){return true};s.prototype.hasLabelledContainers=function(e){const t=e.getFormContainers();return t.length!==1||this.isContainerLabelled(t[0])};s.prototype.invalidateEditableChange=function(){return true};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ColumnLayoutRenderer\", [\"sap/ui/core/Renderer\",\"sap/ui/Device\",\"./FormLayoutRenderer\"],function(e,i,t){\"use strict\";var r=e.extend(t);r.apiVersion=2;r.getMainClass=function(){return\"sapUiFormCL\"};r.renderContainers=function(e,i,t){var r=t.getVisibleFormContainers();var o=r.length;if(o>0){var a=o===1&&!i.getLayoutDataForElement(r[0],\"sap.ui.layout.form.ColumnContainerData\");if(!a){var n=i.getColumnsM();var s=i.getColumnsL();var l=i.getColumnsXL();e.openStart(\"div\");e.class(\"sapUiFormCLContent\");e.class(\"sapUiFormCLColumnsM\"+n);e.class(\"sapUiFormCLColumnsL\"+s);e.class(\"sapUiFormCLColumnsXL\"+l);e.openEnd()}for(var c=0;c1&&C.length<=s.XL.Size){e.openStart(\"div\").class(\"sapUiFormCLElementDummy\").openEnd().close(\"div\")}}e.close(c);e.close(\"div\")};r.renderElement=function(e,i,t){var r=t.getLabelControl();var a;const n=t.getProperty(\"_editable\");const s=n?\"div\":\"dd\";e.openStart(\"div\",t);e.class(\"sapUiFormCLElement\");if(t.getTooltip_AsString()){e.attr(\"title\",t.getTooltip_AsString())}e.openEnd();if(r){a=i._getFieldSize(r);o(e,t,r,a)}var l=t.getFieldsForRendering();if(l&&l.length>0){for(var c=0,C=l.length;c0){for(var m=0,L=p.length;m0?e[0]:null;var s=this._oLabel;if(s){s.setLabelFor(i)}else{s=this.getLabel();if(s instanceof t){s.setAlternativeLabelFor(i)}}}function d(e){e.addDelegate(this._oFieldDelegate);if(!this._bNoObserverChange){if(e.getMetadata().getProperty(\"required\")){this._oObserver.observe(e,{properties:[\"required\"]})}if(e.getMetadata().getProperty(\"editable\")){this._oObserver.observe(e,{properties:[\"editable\"]})}}}function g(e){e.removeDelegate(this._oFieldDelegate);if(!this._bNoObserverChange){this._oObserver.unobserve(e)}}function f(e){var t=this.oElement.getParent();if(t&&t.contentOnAfterRendering){t.contentOnAfterRendering(this.oElement,e.srcControl)}}return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/FormHelper\", [\"sap/ui/core/Lib\",\"sap/ui/core/library\",\"sap/base/util/merge\"],function(t,e,n){\"use strict\";const i={Label:undefined,Button:undefined,Text:undefined,Library:undefined,init:function(){this.Label=sap.ui.require(\"sap/m/Label\");this.Text=sap.ui.require(\"sap/m/Text\");this.Button=sap.ui.require(\"sap/m/Button\");this.Library=sap.ui.require(\"sap/m/library\");if(!this.Label||!this.Text||!this.Button||!this.Library){if(!this.oInitPromise){this.oInitPromise=new Promise(function(t,e){sap.ui.require([\"sap/m/Label\",\"sap/m/Text\",\"sap/m/Button\",\"sap/m/library\"],function(e,n,i,r){this.Label=e;this.Text=n;this.Button=i;this.Library=r;t(true)}.bind(this))}.bind(this))}return this.oInitPromise}else if(this.oInitPromise){delete this.oInitPromise}return null},createLabel:function(t,e){return new this.Label(e,{text:t})},createButton:function(t,e,n){const i=new this.Button(t,{type:this.Library.ButtonType.Transparent});i.attachEvent(\"press\",e,n);return i},setButtonContent:function(t,e,n,i,r){t.setText(e);t.setTooltip(n);t.setIcon(i);t.setActiveIcon(r)},addFormClass:function(){return\"sapUiFormM\"},setToolbar:function(t,e){if(e&&e.setDesign){e.setDesign(e.getDesign(),true)}if(t&&t.setDesign){const e=t.getMetadata().getManagedProperty(\"design\");if(e&&e.type===\"sap.m.ToolbarDesign\"){t.setDesign(this.Library.ToolbarDesign.Transparent,true)}}return t},getToolbarTitle:function(t){if(t){const e=t.getContent?t.getContent():[];for(let t=0;t0){var f=l[s-1];if(!f.getExpandable()||f.getExpanded()){n=this.findFirstFieldOfFirstElementInPrevContainer(a,s-1)}s=s-1}if(n&&n!==t.getFocusDomRef()){n.focus();e.preventDefault()}};s.prototype.onBeforeFastNavigationFocus=function(e){if(jQuery.contains(this.getDomRef(),e.source)){e.srcControl=r.closestTo(e.source);if(e.forward){this.onsapskipforward(e)}else{this.onsapskipback(e)}}else{var t=e.forward?this.findFirstFieldOfForm(this.getParent()):this.findFirstFieldOfLastContainerOfForm(this.getParent());if(t){t.focus();e.preventDefault()}}};s.prototype.findElement=function(e){var t=e.getParent();var r=e;while(t&&!t.isA(\"sap.ui.layout.form.FormElement\")&&!t.isA(\"sap.ui.layout.form.FormContainer\")&&!t.isA(\"sap.ui.layout.form.Form\")){r=t;t=t.getParent()}return{rootControl:r,element:t}};s.prototype.navigateForward=function(e){var t=e.srcControl;var r=0;var i;var n=this.findElement(t);var o=n.element;t=n.rootControl;if(o&&o.isA(\"sap.ui.layout.form.FormElement\")){if(t==o.getLabelControl()){r=-1}else{r=o.indexOfField(t)}i=this.findNextFieldOfElement(o,r+1);if(!i){var a=o.getParent();r=a.indexOfFormElement(o);i=this.findFirstFieldOfNextElement(a,r+1);if(!i){var l=a.getParent();r=l.indexOfFormContainer(a);i=this.findFirstFieldOfFirstElementInNextContainer(l,r+1)}}}else if(o&&o.isA(\"sap.ui.layout.form.FormContainer\")){i=this.findFirstFieldOfNextElement(o,0)}if(i){i.focus();e.preventDefault()}};s.prototype.tabForward=function(e){var t;var r=e.srcControl;var i=0;var n;var o=this.findElement(r);var a=o.element;r=o.rootControl;if(a&&a.isA(\"sap.ui.layout.form.FormElement\")){if(r==a.getLabelControl()){i=-1}else{i=a.indexOfField(r)}n=this.findNextFieldOfElement(a,i+1,true);if(!n){var l=a.getParent();i=l.indexOfFormElement(a);n=this.findFirstFieldOfNextElement(l,i+1,true);if(!n){t=l.getParent();i=t.indexOfFormContainer(l);n=this.findFirstFieldOfFirstElementInNextContainer(t,i+1,true)}}}else if(a&&a.isA(\"sap.ui.layout.form.FormContainer\")){n=this.findFirstFieldOfNextElement(a,0,true);if(!n){t=a.getParent();i=t.indexOfFormContainer(a);n=this.findFirstFieldOfFirstElementInNextContainer(t,i+1,true)}}if(n){n.focus();e.preventDefault()}};s.prototype.findNextFieldOfElement=function(e,t,r){var i=e.getFieldsForRendering();var n=i.length;var o;for(var a=t;a0){var n=r[i-1];if(!n.getExpandable()||n.getExpanded()){t=this.findFirstFieldOfFirstElementInPrevContainer(e,i-1)}i=i-1}return t};s.prototype.findFirstFieldOfFirstElementInNextContainer=function(e,t,r){var i=e.getFormContainers();var n=i.length;var o;var a=t;while(!o&&a=0){var a=r[o];if(!a.getExpandable()||a.getExpanded()){n=this.findFirstFieldOfNextElement(a,0)}o++}return n};s.prototype.navigateBack=function(e){var t;var r=e.srcControl;var i=0;var n;var o=this.findElement(r);var a=o.element;r=o.rootControl;if(a&&a.isA(\"sap.ui.layout.form.FormElement\")){if(r==a.getLabelControl()){i=0}else{i=a.indexOfField(r)}n=this.findPrevFieldOfElement(a,i-1);if(!n){var l=a.getParent();i=l.indexOfFormElement(a);n=this.findLastFieldOfPrevElement(l,i-1);if(!n){t=l.getParent();i=t.indexOfFormContainer(l);n=this.findLastFieldOfLastElementInPrevContainer(t,i-1)}}}else if(a&&a.isA(\"sap.ui.layout.form.FormContainer\")){t=a.getParent();i=t.indexOfFormContainer(a);n=this.findLastFieldOfLastElementInPrevContainer(t,i-1)}if(n){n.focus();e.preventDefault()}};s.prototype.tabBack=function(e){var t;var r=e.srcControl;var i=0;var n;var o=this.findElement(r);var a=o.element;r=o.rootControl;if(a&&a.isA(\"sap.ui.layout.form.FormElement\")){if(r==a.getLabelControl()){i=0}else{i=a.indexOfField(r)}n=this.findPrevFieldOfElement(a,i-1,true);if(!n){var l=a.getParent();i=l.indexOfFormElement(a);n=this.findLastFieldOfPrevElement(l,i-1,true);if(!n){t=l.getParent();i=t.indexOfFormContainer(l);if(l.getExpandable()){n=l._oExpandButton.getFocusDomRef()}if(!n){n=this.findLastFieldOfLastElementInPrevContainer(t,i-1,true)}}}}else if(a&&a.isA(\"sap.ui.layout.form.FormContainer\")){t=a.getParent();i=t.indexOfFormContainer(a);n=this.findLastFieldOfLastElementInPrevContainer(t,i-1,true)}if(n){n.focus();e.preventDefault()}};s.prototype.findPrevFieldOfElement=function(e,t,r){var i=e.getFieldsForRendering();var n;for(var o=t;o>=0;o--){var a=i[o];var l=this._getDomRef(a);if(r==true){if((!a.getEditable||a.getEditable())&&(!a.getEnabled||a.getEnabled())&&l){n=l;break}}else{if((!a.getEnabled||a.getEnabled())&&l){n=l;break}}}return n};s.prototype.findLastFieldOfPrevElement=function(e,t,r){var i=e.getFormElements();var n;var o=t;while(!n&&o>=0){var a=i[o];var l=a.getFieldsForRendering().length;if(r==true){n=this.findPrevFieldOfElement(a,l-1,true)}else{n=this.findPrevFieldOfElement(a,l-1)}o--}return n};s.prototype.findLastFieldOfLastElementInPrevContainer=function(e,t,r){var i=e.getFormContainers();var n;var o=t;while(!n&&o>=0){var a=i[o];if(a.getExpandable()&&!a.getExpanded()&&r){n=a._oExpandButton.getFocusDomRef();if(n){break}}if(!a.getExpandable()||a.getExpanded()){var l=a.getFormElements().length;if(r==true){n=this.findLastFieldOfPrevElement(a,l-1,true)}else{n=this.findLastFieldOfPrevElement(a,l-1,0)}}o--}return n};s.prototype.findFieldBelow=function(e,t){var r=t.getParent();var i=r.indexOfFormElement(t);var n=this.findFirstFieldOfNextElement(r,i+1);if(!n){var o=r.getParent();i=o.indexOfFormContainer(r);n=this.findFirstFieldOfFirstElementInNextContainer(o,i+1)}return n};s.prototype.findFieldAbove=function(e,t){var r=t.getParent();var i=r.indexOfFormElement(t);var n=r.getFormElements();var o;var a=i-1;while(!o&&a>=0){var l=n[a];o=this.findPrevFieldOfElement(l,0);a--}if(!o){var s=r.getParent();i=s.indexOfFormContainer(r);o=this.findLastFieldOfLastElementInPrevContainer(s,i-1)}return o};s.prototype._getDomRef=function(e){var t=e.getFocusDomRef();if(!jQuery(t).is(\":sapFocusable\")){t=undefined}return t};s.prototype.getContainerRenderedDomRef=function(e){if(this.getDomRef()){return e.getDomRef()}else{return null}};s.prototype.getElementRenderedDomRef=function(e){if(this.getDomRef()){return e.getDomRef()}else{return null}};s.prototype.getLayoutDataForDelimiter=function(){};s.prototype.getLayoutDataForSemanticField=function(e,t,r){};s.prototype.renderControlsForSemanticElement=function(){return false};s.prototype.loadTitleSizes=function(){var e=a.get({name:[\"sap.ui.layout.FormLayout:_sap_ui_layout_FormLayout_FormTitleSize\",\"sap.ui.layout.FormLayout:_sap_ui_layout_FormLayout_FormSubTitleSize\"],callback:this.applyTitleSizes.bind(this)});if(e&&e.hasOwnProperty(\"sap.ui.layout.FormLayout:_sap_ui_layout_FormLayout_FormTitleSize\")){this.applyTitleSizes(e,true)}};s.prototype.applyTitleSizes=function(e,t){if(e&&(this._sFormTitleSize!==e[\"sap.ui.layout.FormLayout:_sap_ui_layout_FormLayout_FormTitleSize\"]||this._sFormSubTitleSize!==e[\"sap.ui.layout.FormLayout:_sap_ui_layout_FormLayout_FormSubTitleSize\"])){this._sFormTitleSize=e[\"sap.ui.layout.FormLayout:_sap_ui_layout_FormLayout_FormTitleSize\"];this._sFormSubTitleSize=e[\"sap.ui.layout.FormLayout:_sap_ui_layout_FormLayout_FormSubTitleSize\"];if(!t){this.invalidate()}}};s.prototype.hasLabelledContainers=function(e){const t=e.getFormContainers();let r=false;for(let e=0;e0||e.getExpandable()};s.prototype.invalidateEditableChange=function(){return false};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/FormLayoutRenderer\", [\"sap/ui/core/library\",\"sap/ui/layout/library\",\"sap/ui/layout/form/Form\",\"./FormHelper\",\"sap/ui/core/IconPool\"],function(e,t,i,r,n){\"use strict\";var o=e.TitleLevel;var a=t.BackgroundDesign;var s={apiVersion:2};s.render=function(e,t){var r=t.getParent();if(r&&r instanceof i){this.renderForm(e,t,r)}};s.renderForm=function(e,t,i){var r=i.getToolbar();e.openStart(\"div\",t);e.class(this.getMainClass());if(r){e.class(\"sapUiFormToolbar\")}this.addBackgroundClass(e,t);e.openEnd();this.renderHeader(e,r,i.getTitle(),undefined,false,t._sFormTitleSize,i.getId());this.renderContainers(e,t,i);e.close(\"div\")};s.getMainClass=function(){return\"sapUiFormLayout\"};s.addBackgroundClass=function(e,t){var i Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Decimal\", [\"sap/base/Log\",\"sap/ui/core/Lib\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/model/odata/type/ODataType\"],function(t,e,i,n,r,a,o,s){\"use strict\";var u=/^[-+]?(\\d+)(?:\\.(\\d+))?$/,m=/(?:(\\.[0-9]*[1-9]+)0+|\\.0*)$/;function l(t){return t.oConstraints&&t.oConstraints.scale||0}function f(t,i){return e.getResourceBundleFor(\"sap.ui.core\").getText(t,i)}function c(t){if(t.indexOf(\".\")>=0){t=t.replace(m,\"$1\")}return t}function p(e,i){var n,r,a,o,s;function m(i,n){t.warning(\"Illegal \"+n+\": \"+i,null,e.getName())}function l(t,e,i,n){var r=typeof t===\"string\"?parseInt(t):t;if(r===undefined){return e}if(typeof r!==\"number\"||isNaN(r)||rh){if(h===0){throw new a(f(\"EnterInt\"))}else if(i+h>p){if(h!==p){throw new a(f(\"EnterNumberIntegerFraction\",[p-h,h]))}if(n[1]!==\"0\"){throw new a(f(\"EnterNumberFractionOnly\",[h]))}}throw new a(f(\"EnterNumberFraction\",[h]))}if(h===Infinity){if(i+e>p){throw new a(f(\"EnterNumberPrecision\",[p]))}}else if(i>p-h){if(h!==p){if(h){throw new a(f(\"EnterNumberInteger\",[p-h]))}throw new a(f(\"EnterMaximumOfDigits\",[p]))}if(n[1]!==\"0\"){throw new a(f(\"EnterNumberFractionOnly\",[h]))}}if(m){c=this.oConstraints.minimumExclusive;if(o.compare(m,t,true)>=(c?0:1)){throw new a(f(c?\"EnterNumberMinExclusive\":\"EnterNumberMin\",[this.formatValue(m,\"string\")]))}}if(r){s=this.oConstraints.maximumExclusive;if(o.compare(r,t,true)<=(s?0:-1)){throw new a(f(s?\"EnterNumberMaxExclusive\":\"EnterNumberMax\",[this.formatValue(r,\"string\")]))}}};h.prototype.getName=function(){return\"sap.ui.model.odata.type.Decimal\"};return h});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Double\", [\"sap/base/Log\",\"sap/ui/core/Lib\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(e,t,a,o,r,n,i){\"use strict\";function s(){return t.getResourceBundleFor(\"sap.ui.core\").getText(\"EnterNumber\")}function l(e){return!e.oConstraints||e.oConstraints.nullable!==false}function u(t,a){var o;t.oConstraints=undefined;if(a){o=a.nullable;if(o===false||o===\"false\"){t.oConstraints={nullable:false}}else if(o!==undefined&&o!==true&&o!==\"true\"){e.warning(\"Illegal nullable: \"+o,null,t.getName())}}t._handleLocalizationChange()}var p=i.extend(\"sap.ui.model.odata.type.Double\",{constructor:function(e,t){i.apply(this,arguments);this.oFormatOptions=e;u(this,t);this.checkParseEmptyValueToZero()}});p.prototype.formatValue=function(e,t){var a,r;if(e===null||e===undefined){return null}if(typeof e===\"number\"){r=e}else if(typeof e===\"string\"){r=parseFloat(e)}else if(t!==\"any\"){throw new o(\"Illegal \"+this.getName()+\" value: \"+e)}switch(this.getPrimitiveType(t)){case\"any\":return e;case\"float\":return r;case\"int\":return Math.floor(r);case\"string\":if(r&&(Math.abs(r)>=1e15||Math.abs(r)<1e-4)){a=this.getFormat().oFormatOptions;return r.toExponential().replace(\"e\",\" E\").replace(\".\",a.decimalSeparator).replace(\"+\",a.plusSign).replace(\"-\",a.minusSign)}return this.getFormat().format(r);default:throw new o(\"Don't know how to format \"+this.getName()+\" to \"+t)}};p.prototype.getFormat=function(){if(!this.oFormat){var e={groupingEnabled:true},t=this.oFormatOptions||{};if(t.style!==\"short\"&&t.style!==\"long\"){e.preserveDecimals=true}Object.assign(e,this.oFormatOptions);delete e.parseEmptyValueToZero;this.oFormat=a.getFloatInstance(e)}return this.oFormat};p.prototype.parseValue=function(e,t){var a=this.getEmptyValue(e,true);if(a!==undefined){return a}var o;switch(this.getPrimitiveType(t)){case\"string\":o=this.getFormat().parse(e);if(isNaN(o)){throw new r(s())}break;case\"int\":case\"float\":o=e;break;default:throw new r(\"Don't know how to parse \"+this.getName()+\" from \"+t)}return o};p.prototype._handleLocalizationChange=function(){this.oFormat=null};p.prototype.validateValue=function(e){if(e===null&&l(this)){return}if(typeof e===\"number\"){return}throw new n(s())};p.prototype.getName=function(){return\"sap.ui.model.odata.type.Double\"};return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Guid\", [\"sap/base/Log\",\"sap/ui/core/Lib\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(e,t,n,i,a,o){\"use strict\";var r=/[-\\s]/g,l=/^[A-F0-9]{8}-([A-F0-9]{4}-){3}[A-F0-9]{12}$/i;function s(){return t.getResourceBundleFor(\"sap.ui.core\").getText(\"EnterGuid\")}function u(t,n){var i;t.oConstraints=undefined;if(n){i=n.nullable;if(i===false||i===\"false\"){t.oConstraints={nullable:false}}else if(i!==undefined&&i!==true&&i!==\"true\"){e.warning(\"Illegal nullable: \"+i,null,t.getName())}}}var p=o.extend(\"sap.ui.model.odata.type.Guid\",{constructor:function(e,t){o.apply(this,arguments);u(this,t)}});p.prototype.formatValue=function(e,t){if(e===undefined||e===null){return null}switch(this.getPrimitiveType(t)){case\"any\":case\"string\":return e;default:throw new n(\"Don't know how to format \"+this.getName()+\" to \"+t)}};p.prototype.getName=function(){return\"sap.ui.model.odata.type.Guid\"};p.prototype.parseValue=function(e,t){var n;if(e===\"\"||e===null){return null}if(this.getPrimitiveType(t)!==\"string\"){throw new i(\"Don't know how to parse \"+this.getName()+\" from \"+t)}n=e.replace(r,\"\");if(n.length!==32){return e}return n.slice(0,8)+\"-\"+n.slice(8,12)+\"-\"+n.slice(12,16)+\"-\"+n.slice(16,20)+\"-\"+n.slice(20)};p.prototype.validateValue=function(e){if(e===null){if(this.oConstraints&&this.oConstraints.nullable===false){throw new a(s())}return}if(typeof e!==\"string\"){throw new a(\"Illegal \"+this.getName()+\" value: \"+e)}if(!l.test(e)){throw new a(s())}};return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Int\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ui/core/Lib\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(t,e,a,n,o,r,i,s){\"use strict\";function u(t,e){return a.getResourceBundleFor(\"sap.ui.core\").getText(t,e)}function l(e,a){var n;e.oConstraints=undefined;if(a){n=a.nullable;if(n===false||n===\"false\"){e.oConstraints={nullable:false}}else if(n!==undefined&&n!==true&&n!==\"true\"){t.warning(\"Illegal nullable: \"+n,null,e.getName())}}e._handleLocalizationChange()}var m=s.extend(\"sap.ui.model.odata.type.Int\",{constructor:function(t,e){s.apply(this,arguments);this.oFormatOptions=t;l(this,e);this.checkParseEmptyValueToZero()},metadata:{abstract:true}});m.prototype._handleLocalizationChange=function(){this.oFormat=null};m.prototype.formatValue=function(t,e){if(t===undefined||t===null){return null}if(typeof t!==\"number\"&&e!==\"any\"){throw new o(\"Illegal \"+this.getName()+\" value: \"+t)}switch(this.getPrimitiveType(e)){case\"string\":return this.getFormat().format(t);case\"int\":return Math.floor(t);case\"float\":case\"any\":return t;default:throw new o(\"Don't know how to format \"+this.getName()+\" to \"+e)}};m.prototype.getFormat=function(){if(!this.oFormat){var t=e({groupingEnabled:true},this.oFormatOptions);delete t.parseEmptyValueToZero;this.oFormat=n.getIntegerInstance(t)}return this.oFormat};m.prototype.parseValue=function(t,e){var a=this.getEmptyValue(t,true);if(a!==undefined){return a}switch(this.getPrimitiveType(e)){case\"string\":var n=this.getFormat().parse(t);if(isNaN(n)){throw new r(u(\"EnterInt\"))}return n;case\"float\":return Math.floor(t);case\"int\":return t;default:throw new r(\"Don't know how to parse \"+this.getName()+\" from \"+e)}};m.prototype.validateValue=function(t){var e=this.getRange();if(t===null){if(this.oConstraints&&this.oConstraints.nullable===false){throw new i(u(\"EnterInt\"))}return}if(typeof t!==\"number\"){throw new i(t+\" (of type \"+typeof t+\") is not a valid \"+this.getName()+\" value\")}if(Math.floor(t)!==t){throw new i(u(\"EnterInt\"))}if(te.maximum){throw new i(u(\"EnterNumberMax\",[this.formatValue(e.maximum,\"string\")]))}};return m});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Int16\", [\"sap/ui/model/odata/type/Int\"],function(t){\"use strict\";var e={minimum:-32768,maximum:32767};var n=t.extend(\"sap.ui.model.odata.type.Int16\",{constructor:function(){t.apply(this,arguments)}});n.prototype.getName=function(){return\"sap.ui.model.odata.type.Int16\"};n.prototype.getRange=function(){return e};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Int32\", [\"sap/ui/model/odata/type/Int\"],function(t){\"use strict\";var e={minimum:-2147483648,maximum:2147483647};var n=t.extend(\"sap.ui.model.odata.type.Int32\",{constructor:function(){t.apply(this,arguments)}});n.prototype.getName=function(){return\"sap.ui.model.odata.type.Int32\"};n.prototype.getRange=function(){return e};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Int64\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ui/core/Lib\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(t,e,n,r,a,i,o,u){\"use strict\";var s=/^[-+]?(\\d+)$/,l={minimum:\"-9223372036854775808\",maximum:\"9223372036854775807\"},m={minimum:\"-9007199254740991\",maximum:\"9007199254740991\"};function f(t,e,n){var r,a,i;a=s.exec(e);if(a){i=e.charAt(0)===\"-\";r=i?n.minimum.slice(1):n.maximum;if(a[1].lengthr.length||a[1]>r){if(i){return p(\"EnterNumberMin\",[t.formatValue(n.minimum,\"string\")])}else{return p(\"EnterNumberMax\",[t.formatValue(n.maximum,\"string\")])}}return undefined}return p(\"EnterInt\")}function p(t,e){return n.getResourceBundleFor(\"sap.ui.core\").getText(t,e)}function c(t){return!t.oConstraints||t.oConstraints.nullable!==false}function h(e,n){var r;e.oConstraints=undefined;if(n){r=n.nullable;if(r===false||r===\"false\"){e.oConstraints={nullable:false}}else if(r!==undefined&&r!==true&&r!==\"true\"){t.warning(\"Illegal nullable: \"+r,null,e.getName())}}e._handleLocalizationChange()}var g=u.extend(\"sap.ui.model.odata.type.Int64\",{constructor:function(t,e){u.apply(this,arguments);this.oFormatOptions=t;h(this,e);this.checkParseEmptyValueToZero()}});g.prototype.formatValue=function(t,e){var n;if(t===null||t===undefined){return null}switch(this.getPrimitiveType(e)){case\"any\":return t;case\"float\":case\"int\":n=f(this,t,m);if(n){throw new a(n)}return parseInt(t);case\"string\":return this.getFormat().format(t);default:throw new a(\"Don't know how to format \"+this.getName()+\" to \"+e)}};g.prototype.getFormat=function(){if(!this.oFormat){var t=e({groupingEnabled:true},this.oFormatOptions);t.parseAsString=true;delete t.parseEmptyValueToZero;this.oFormat=r.getIntegerInstance(t)}return this.oFormat};g.prototype.getName=function(){return\"sap.ui.model.odata.type.Int64\"};g.prototype._handleLocalizationChange=function(){this.oFormat=null};g.prototype.parseValue=function(t,e){var n=this.getEmptyValue(t);if(n!==undefined){return n}var a;switch(this.getPrimitiveType(e)){case\"string\":a=this.getFormat().parse(t);if(!a){throw new i(p(\"EnterInt\"))}break;case\"int\":case\"float\":a=r.getIntegerInstance({maxIntegerDigits:Infinity,groupingEnabled:false}).format(t);break;default:throw new i(\"Don't know how to parse \"+this.getName()+\" from \"+e)}return a};g.prototype.validateValue=function(t){var e;if(t===null&&c(this)){return}if(typeof t===\"string\"){e=f(this,t,l);if(e){throw new o(e)}return}throw new o(p(\"EnterInt\"))};return g});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/ODataType\", [\"sap/base/Log\",\"sap/ui/model/SimpleType\"],function(t,e){\"use strict\";var o=e.extend(\"sap.ui.model.odata.type.ODataType\",{constructor:function(t,e){},metadata:{abstract:true}});o.prototype.checkParseEmptyValueToZero=function(){if(this.oFormatOptions&&this.oFormatOptions.parseEmptyValueToZero&&(!this.oConstraints||this.oConstraints.nullable!==false)){t.warning(\"The parseEmptyValueToZero format option is ignored as the nullable constraint\"+\" is not false.\",null,this.getName())}};o.prototype.getEmptyValue=function(t,e){if(t!==null&&t!==\"\"){return undefined}if(this.oFormatOptions&&this.oFormatOptions.parseEmptyValueToZero&&this.oConstraints&&this.oConstraints.nullable===false){return e?0:\"0\"}return null};o.prototype.getPlaceholderText=function(){return this.getFormat&&this.getFormat().getPlaceholderText&&this.getFormat().getPlaceholderText()};o.prototype.setConstraints=function(t){};o.prototype.setFormatOptions=function(t){};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Raw\", [\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(t,e,o,a){\"use strict\";var p=a.extend(\"sap.ui.model.odata.type.Raw\",{constructor:function(t,e){a.apply(this,arguments);if(t!==undefined||e!==undefined||arguments.length>2){throw new Error(\"Unsupported arguments\")}}});p.prototype.formatValue=function(e,o){if(o===\"any\"){return e}throw new t(\"Type 'sap.ui.model.odata.type.Raw' does not support formatting\")};p.prototype.getName=function(){return\"sap.ui.model.odata.type.Raw\"};p.prototype.parseValue=function(){throw new e(\"Type 'sap.ui.model.odata.type.Raw' does not support parsing\")};p.prototype.validateValue=function(){throw new o(\"Type 'sap.ui.model.odata.type.Raw' does not support validating\")};return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/SByte\", [\"sap/ui/model/odata/type/Int\"],function(t){\"use strict\";var e={minimum:-128,maximum:127};var n=t.extend(\"sap.ui.model.odata.type.SByte\",{constructor:function(){t.apply(this,arguments)}});n.prototype.getName=function(){return\"sap.ui.model.odata.type.SByte\"};n.prototype.getRange=function(){return e};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Single\", [\"sap/base/Log\",\"sap/ui/core/Lib\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(t,e,o,a,n,r,i){\"use strict\";function s(){return e.getResourceBundleFor(\"sap.ui.core\").getText(\"EnterNumber\")}function u(t){return!t.oConstraints||t.oConstraints.nullable!==false}function l(e,o){var a;e.oConstraints=undefined;if(o){a=o.nullable;if(a===false||a===\"false\"){e.oConstraints={nullable:false}}else if(a!==undefined&&a!==true&&a!==\"true\"){t.warning(\"Illegal nullable: \"+a,null,e.getName())}}e._handleLocalizationChange()}var p=i.extend(\"sap.ui.model.odata.type.Single\",{constructor:function(t,e){i.apply(this,arguments);this.oFormatOptions=t;l(this,e);this.checkParseEmptyValueToZero()}});p.prototype.formatValue=function(t,e){var o;if(t===null||t===undefined){return null}if(typeof t===\"number\"){o=t}else if(typeof t===\"string\"){o=parseFloat(t)}else if(e!==\"any\"){throw new a(\"Illegal \"+this.getName()+\" value: \"+t)}switch(this.getPrimitiveType(e)){case\"any\":return t;case\"float\":return o;case\"int\":return Math.floor(o);case\"string\":return this.getFormat().format(parseFloat(o.toPrecision(7)));default:throw new a(\"Don't know how to format \"+this.getName()+\" to \"+e)}};p.prototype.getFormat=function(){if(!this.oFormat){var t={groupingEnabled:true},e=this.oFormatOptions||{};if(e.style!==\"short\"&&e.style!==\"long\"){t.preserveDecimals=true}Object.assign(t,this.oFormatOptions);delete t.parseEmptyValueToZero;this.oFormat=o.getFloatInstance(t)}return this.oFormat};p.prototype.parseValue=function(t,e){var o=this.getEmptyValue(t,true);if(o!==undefined){return o}switch(this.getPrimitiveType(e)){case\"string\":var a=this.getFormat().parse(t);if(isNaN(a)){throw new n(s())}return Math.fround(a);case\"int\":case\"float\":return Math.fround(t);default:throw new n(\"Don't know how to parse \"+this.getName()+\" from \"+e)}};p.prototype._handleLocalizationChange=function(){this.oFormat=null};p.prototype.validateValue=function(t){if(t===null&&u(this)){return}if(typeof t===\"number\"){return}throw new r(s())};p.prototype.getName=function(){return\"sap.ui.model.odata.type.Single\"};return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Stream\", [\"sap/base/Log\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(e,t,a,o,n){\"use strict\";function i(t,a){var o;t.oConstraints=undefined;if(a){o=a.nullable;if(o===false){t.oConstraints={nullable:false}}else if(o!==undefined&&o!==true){e.warning(\"Illegal nullable: \"+o,null,t.getName())}}}var r=n.extend(\"sap.ui.model.odata.type.Stream\",{constructor:function(e,t){n.apply(this,arguments);if(e!==undefined&&e!==null){throw new Error(\"Unsupported arguments\")}i(this,t)}});r.prototype.formatValue=function(e,a){switch(this.getPrimitiveType(a)){case\"any\":case\"string\":return e;default:throw new t(\"Don't know how to format \"+this.getName()+\" to \"+a)}};r.prototype.getName=function(){return\"sap.ui.model.odata.type.Stream\"};r.prototype.parseValue=function(){throw new a(\"Type 'sap.ui.model.odata.type.Stream' does not support parsing\")};r.prototype.validateValue=function(){throw new o(\"Type 'sap.ui.model.odata.type.Stream' does not support validating\")};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/String\", [\"sap/base/Log\",\"sap/ui/core/Lib\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\",\"sap/ui/model/type/String\"],function(e,t,i,n,s){\"use strict\";var r=/^\\d+$/,a=/^0*(?=\\d)/;function o(e,t){return t&&t.isDigitSequence&&e&&e.match(r)}function l(t,i){var n,s,r;t.oConstraints=undefined;if(i){s=i.maxLength;if(typeof s===\"string\"){s=parseInt(s)}if(typeof s===\"number\"&&!isNaN(s)&&s>0){t.oConstraints={maxLength:s}}else if(s!==undefined){e.warning(\"Illegal maxLength: \"+i.maxLength,null,t.getName())}n=i.isDigitSequence;if(n===true||n===\"true\"){t.oConstraints=t.oConstraints||{};t.oConstraints.isDigitSequence=true}else if(n!==undefined&&n!==false&&n!==\"false\"){e.warning(\"Illegal isDigitSequence: \"+n,null,t.getName())}r=i.nullable;if(r===false||r===\"false\"){t.oConstraints=t.oConstraints||{};t.oConstraints.nullable=false}else if(r!==undefined&&r!==true&&r!==\"true\"){e.warning(\"Illegal nullable: \"+r,null,t.getName())}}}var u=n.extend(\"sap.ui.model.odata.type.String\",{constructor:function(t,i){var s=t?t.parseKeepsEmptyString:undefined;n.apply(this,arguments);this.oFormatOptions=t;l(this,i);this._sParsedEmptyString=null;if(this.oConstraints&&this.oConstraints.nullable===false&&this.oConstraints.isDigitSequence){this._sParsedEmptyString=\"0\"}else if(s!==undefined){if(s===true){this._sParsedEmptyString=\"\"}else if(s!==false){e.warning(\"Illegal parseKeepsEmptyString: \"+s,null,this.getName())}}}});u.prototype.formatValue=function(e,t){if(e===null&&this.getPrimitiveType(t)===\"string\"){return\"\"}if(o(e,this.oConstraints)){e=e.replace(a,\"\");if(this.oConstraints.maxLength&&e===\"0\"&&this.getPrimitiveType(t)===\"string\"){return\"\"}}return s.prototype.formatValue.call(this,e,t)};u.prototype.parseValue=function(e,t){var i;i=e===\"\"?this._sParsedEmptyString:s.prototype.parseValue.apply(this,arguments);if(o(i,this.oConstraints)){i=i.replace(a,\"\");if(this.oConstraints.maxLength){i=i.padStart(this.oConstraints.maxLength,\"0\")}}return i};u.prototype.validateValue=function(e){var n=this.oConstraints||{},s=n.maxLength;if(e===null){if(n.nullable!==false){return}}else if(e===\"\"&&this._sParsedEmptyString===\"\"){return}else if(typeof e!==\"string\"){throw new i(\"Illegal \"+this.getName()+\" value: \"+e)}else if(n.isDigitSequence){if(!e.match(r)){throw new i(t.getResourceBundleFor(\"sap.ui.core\").getText(\"EnterDigitsOnly\"))}if(s&&e.length>s){throw new i(t.getResourceBundleFor(\"sap.ui.core\").getText(\"EnterMaximumOfDigits\",[s]))}return}else if(!s||e.length<=s){return}throw new i(t.getResourceBundleFor(\"sap.ui.core\").getText(s?\"EnterTextMaxLength\":\"EnterText\",[s]))};u.prototype.getName=function(){return\"sap.ui.model.odata.type.String\"};return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Time\", [\"sap/base/Log\",\"sap/base/util/extend\",\"sap/ui/core/Lib\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(t,e,n,o,r,i,a,u,s){\"use strict\";var l={__edmType:\"Edm.Time\",ms:86398e3},p={format:d,parse:g};function m(t){return n.getResourceBundleFor(\"sap.ui.core\").getText(\"EnterTime\",[t.formatValue(l,\"string\")])}function f(t){return typeof t===\"object\"&&t.__edmType===\"Edm.Time\"&&typeof t.ms===\"number\"}function c(e,n){var o;e.oConstraints=undefined;if(n){o=n.nullable;if(o===false||o===\"false\"){e.oConstraints={nullable:false}}else if(o!==undefined&&o!==true&&o!==\"true\"){t.warning(\"Illegal nullable: \"+o,null,e.getName())}}}function g(t){if(!f(t)){throw new i(\"Illegal sap.ui.model.odata.type.Time value: \"+h(t))}return new Date(t.ms)}function d(t){return{__edmType:\"Edm.Time\",ms:((t.getUTCHours()*60+t.getUTCMinutes())*60+t.getUTCSeconds())*1e3+t.getUTCMilliseconds()}}function h(t){try{return JSON.stringify(t)}catch(e){return String(t)}}var y=s.extend(\"sap.ui.model.odata.type.Time\",{constructor:function(t,e){s.apply(this,arguments);c(this,e);this.oFormatOptions=t}});y.prototype.formatValue=function(t,e){if(t===undefined||t===null){return null}switch(this.getPrimitiveType(e)){case\"any\":return t;case\"string\":return this.getFormat().format(g(t));default:throw new i(\"Don't know how to format \"+this.getName()+\" to \"+e)}};y.prototype.getDateValue=function(t){var e;if(!t){return null}e=o.getInstance(t.ms);e.setFullYear(1970,0,1);e.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds());return e};y.prototype.getFormat=function(){if(!this.oFormat){var t=e({strictParsing:true},this.oFormatOptions);t.UTC=true;this.oFormat=r.getTimeInstance(t)}return this.oFormat};y.prototype.getISOStringFromModelValue=function(t){if(!t){return null}return o.getInstance(t.ms).toISOString().slice(11,-1)};y.prototype.getModelFormat=function(){return p};y.prototype.getModelValue=function(t){var e;if(t===null){e=null}else{o.checkDate(t);e=o.getInstance(0);e.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds());e=d(e)}this.validateValue(e);return e};y.prototype.getModelValueFromISOString=function(t){if(!t){return null}return d(o.getInstance(\"1970-01-01T\"+t+\"Z\"))};y.prototype.getName=function(){return\"sap.ui.model.odata.type.Time\"};y.prototype.parseValue=function(t,e){var n;if(t===\"\"||t===null){return null}if(this.getPrimitiveType(e)!==\"string\"){throw new a(\"Don't know how to parse \"+this.getName()+\" from \"+e)}n=this.getFormat().parse(t);if(!n){throw new a(m(this))}return d(n)};y.prototype.validateValue=function(t){if(t===null){if(this.oConstraints&&this.oConstraints.nullable===false){throw new u(m(this))}return}if(!f(t)){throw new u(\"Illegal \"+this.getName()+\" value: \"+h(t))}};y.prototype._handleLocalizationChange=function(){this.oFormat=null};return y});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/TimeOfDay\", [\"sap/base/Log\",\"sap/base/i18n/date/CalendarType\",\"sap/base/util/extend\",\"sap/ui/core/Lib\",\"sap/ui/core/date/UI5Date\",\"sap/ui/core/format/DateFormat\",\"sap/ui/model/FormatException\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\",\"sap/ui/model/odata/type/ODataType\"],function(t,e,o,n,i,a,r,s,l,u){\"use strict\";function f(t){return n.getResourceBundleFor(\"sap.ui.core\").getText(\"EnterTime\",[t.formatValue(\"23:59:58\",\"string\")])}function p(e,o){var n,i;e.oConstraints=undefined;if(o){n=o.nullable;i=o.precision;if(n===false){e.oConstraints={nullable:false}}else if(n!==undefined&&n!==true){t.warning(\"Illegal nullable: \"+n,null,e.getName())}if(i===Math.floor(i)&&i>0&&i<=12){e.oConstraints=e.oConstraints||{};e.oConstraints.precision=i}else if(i!==undefined&&i!==0){t.warning(\"Illegal precision: \"+i,null,e.getName())}}}var d=u.extend(\"sap.ui.model.odata.type.TimeOfDay\",{constructor:function(t,e){u.apply(this,arguments);this.oModelFormat=undefined;this.rTimeOfDay=undefined;this.oFormat=undefined;p(this,e);this.oFormatOptions=t}});d.prototype._handleLocalizationChange=function(){this.oFormat=null};d.prototype._resetModelFormatter=function(){this.oModelFormat=undefined};d.prototype.formatValue=function(t,e){var o,n,a;if(t===undefined||t===null){return null}a=this.getPrimitiveType(e);switch(a){case\"any\":return t;case\"object\":case\"string\":n=t.indexOf(\".\");if(n>=0){t=t.slice(0,n+4)}o=this.getModelFormat().parse(t);if(o){if(a===\"object\"){return i.getInstance(1970,0,1,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds())}return this.getFormat().format(o)}throw new r(\"Illegal \"+this.getName()+\" value: \"+t);default:throw new r(\"Don't know how to format \"+this.getName()+\" to \"+e)}};d.prototype.getDateValue=function(t){return t?i.getInstance(\"1970-01-01T\"+t):null};d.prototype.getFormat=function(){if(!this.oFormat){var t=o({strictParsing:true},this.oFormatOptions);t.UTC=true;this.oFormat=a.getTimeInstance(t)}return this.oFormat};d.prototype.getISOStringFromModelValue=function(t){return t?t:null};d.prototype.getModelFormat=function(){var t=\"HH:mm:ss\",o;if(!this.oModelFormat){o=this.oConstraints&&this.oConstraints.precision;if(o){t+=\".\"+\"\".padEnd(o,\"S\")}this.oModelFormat=a.getTimeInstance({calendarType:e.Gregorian,pattern:t,strictParsing:true,UTC:true})}return this.oModelFormat};d.prototype.getModelValue=function(t){var e;if(t===null){e=null}else{i.checkDate(t);e=i.getInstance(0);e.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds());e=this.getModelFormat().format(e)}this.validateValue(e);return e};d.prototype.getModelValueFromISOString=function(t){return t?this.getModelFormat().format(i.getInstance(\"1970-01-01T\"+t+\"Z\")):null};d.prototype.getName=function(){return\"sap.ui.model.odata.type.TimeOfDay\"};d.prototype.parseValue=function(t,e){var o;if(t===\"\"||t===null){return null}switch(this.getPrimitiveType(e)){case\"object\":return this.getModelFormat().format(t,false);case\"string\":o=this.getFormat().parse(t);if(!o){throw new s(f(this))}return this.getModelFormat().format(o);default:throw new s(\"Don't know how to parse \"+this.getName()+\" from \"+e)}};d.prototype.validateValue=function(t){var e;if(t===null){if(this.oConstraints&&this.oConstraints.nullable===false){throw new l(f(this))}return}if(!this.rTimeOfDay){e=this.oConstraints&&this.oConstraints.precision;this.rTimeOfDay=new RegExp(\"^(?:[01]\\\\d|2[0-3]):[0-5]\\\\d(?::[0-5]\\\\d\"+(e?\"(\\\\.\\\\d{1,\"+e+\"})?\":\"\")+\")?$\")}if(!this.rTimeOfDay.test(t)){throw new l(\"Illegal sap.ui.model.odata.type.TimeOfDay value: \"+t)}};return d});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/Unit\", [\"./UnitMixin\",\"sap/ui/core/format/NumberFormat\",\"sap/ui/model/type/Unit\"],function(t,e,i){\"use strict\";var n=i.extend(\"sap.ui.model.odata.type.Unit\",{constructor:function(t,e,i){this._applyUnitMixin.apply(this,arguments)}});t(n.prototype,i,\"customUnits\",\"Unit\");n.prototype.getCustomUnitForKey=function(t,i){return{decimals:t[i].UnitSpecificScale,displayName:t[i].Text,\"unitPattern-count-other\":e.getDefaultUnitPattern(i)}};n.prototype.getName=function(){return\"sap.ui.model.odata.type.Unit\"};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/type/UnitMixin\", [\"sap/ui/core/Lib\",\"sap/ui/model/ParseException\",\"sap/ui/model/ValidateException\"],function(t,i,e){\"use strict\";var n=new Map,s=/\\.(\\d+)$/,o=/\\.$/,r=/0+$/;function a(i,e){return t.getResourceBundleFor(\"sap.ui.core\").getText(i,e)}return function(t,u,m,l){function c(t,i){var e,s=this;if(this.mCustomUnits===undefined&&t&&t[2]!==undefined){if(t[2]===null){this.mCustomUnits=null}else{this.mCustomUnits=n.get(t[2]);if(!this.mCustomUnits){this.mCustomUnits={};Object.keys(t[2]).forEach(function(i){s.mCustomUnits[i]=s.getCustomUnitForKey(t[2],i)});n.set(t[2],this.mCustomUnits)}e={};e[m]=this.mCustomUnits;u.prototype.setFormatOptions.call(this,Object.assign(e,this.oFormatOptions))}}if(!t||t[0]===undefined||t[1]===undefined||this.mCustomUnits===undefined&&t[2]===undefined){return null}return u.prototype.formatValue.call(this,t.slice(0,2),i)}function h(){var t=u.prototype.getFormatOptions.call(this);delete t[m];return t}function p(){if(!this.bShowMeasure){return[1,2]}else if(!this.bShowNumber){return[0,2]}return[2]}function f(t){var i;if(!this.bShowNumber){i=t?a(l+\".WithDecimals\",[t]):a(l+\".WithoutDecimals\")}else{i=t?a(\"EnterNumberFraction\",[t]):a(\"EnterInt\")}return new e(i)}function d(t,e){var n;if(this.mCustomUnits===undefined){throw new i(\"Cannot parse value without customizing\")}n=u.prototype.parseValue.apply(this,arguments);if(n[0]&&typeof n[0]===\"string\"&&n[0].includes(\".\")){n[0]=n[0].replace(r,\"\").replace(o,\"\")}return n}function w(t){var i,n,o,a=t[0],u=t[1];if(this.mCustomUnits===undefined){throw new e(\"Cannot validate value without customizing\")}if(!a||!u||!this.mCustomUnits||this.oConstraints.skipDecimalsValidation){return}o=s.exec(a);n=o?o[1].replace(r,\"\").length:0;i=this.mCustomUnits[u].decimals;if(n>i){throw this.getValidateException(i)}}function g(t,i){var e=i?Object.keys(i):[];function n(t){if(t!==\"skipDecimalsValidation\"){throw new Error(\"Only 'skipDecimalsValidation' constraint is supported\")}}if(t&&t[m]){throw new Error(\"Format option \"+m+\" is not supported\")}e.forEach(n);if(arguments.length>2){throw new Error(\"Only parameters oFormatOptions and oConstraints are supported\")}const s=!t||!(\"showNumber\"in t)||t[\"showNumber\"];const o=!t||!(\"showMeasure\"in t)||t[\"showMeasure\"];t=Object.assign({emptyString:s?0:\"\",parseAsString:true,unitOptional:s&&o},t);i=Object.assign({},i);u.call(this,t,i);this.mCustomUnits=undefined;this.setConstraints=function(){throw new Error(\"Constraints are immutable\")};this.setFormatOptions=function(){throw new Error(\"Format options are immutable\")}}t._applyUnitMixin=g;t.formatValue=c;t.getFormatOptions=h;t.getPartsIgnoringMessages=p;t.getValidateException=f;t.parseValue=d;t.validateValue=w}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v2/BatchMode\", function(){\"use strict\";var e={None:\"None\",Group:\"Group\"};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v2/Context\", [\"sap/ui/base/SyncPromise\",\"sap/ui/model/Context\",\"sap/ui/model/_Helper\"],function(t,e,i){\"use strict\";var n=[\"changeSetId\",\"groupId\",\"refreshAfterChange\"];var r=e.extend(\"sap.ui.model.odata.v2.Context\",{constructor:function(i,n,r,o,s,a){var u=this;e.call(this,i,n);this.oCreatePromise=undefined;this.sDeepPath=r||n;this.bForceRefresh=false;this.bPreliminary=false;this.oSyncCreatePromise=a?a.oSyncCreatePromise:o;this.bUpdated=false;this.bInactive=!!s;this.fnStartActivation=undefined;this.oStartActivationPromise=s?new t(function(t){u.fnStartActivation=t}):t.resolve();this.fnActivate=undefined;this.oActivatedPromise=s?new t(function(t){u.fnActivate=t}):t.resolve();this.mSubContexts=undefined;this.oTransientParent=a}});r.prototype.addSubContext=function(t,e,i){this.mSubContexts=this.mSubContexts||{};if(i){this.mSubContexts[t]=this.mSubContexts[t]||[];this.mSubContexts[t].push(e)}else{this.mSubContexts[t]=e}};r.prototype.cancelActivation=function(){var e=this;this.oStartActivationPromise=new t(function(t){e.fnStartActivation=t})};r.prototype.created=function(){if(this.oSyncCreatePromise&&!this.oCreatePromise){this.oCreatePromise=Promise.resolve(this.oSyncCreatePromise).then(function(){})}return this.oCreatePromise};r.prototype.delete=function(t){var e,r=this.getModel(),o=this;t=t||{};for(e in t){if(!n.includes(e)){throw new Error(\"Parameter '\"+e+\"' is not supported\")}}if(this.isInactive()){r._discardEntityChanges(r._getKey(this),true);r.checkUpdate();return Promise.resolve()}else if(this.isTransient()){return r.resetChanges([this.getPath()],false,true)}return new Promise(function(e,n){var s=r._resolveGroup(o.getPath());r.remove(\"\",i.merge({changeSetId:s.changeSetId,context:o,error:n,groupId:s.groupId,success:function(){e()}},t))})};r.prototype.fetchActivated=function(){return this.oActivatedPromise};r.prototype.fetchActivationStarted=function(){return this.oStartActivationPromise};r.prototype.finishActivation=function(){this.bInactive=false;if(this.fnActivate){this.fnActivate()}};r.prototype.getDeepPath=function(){return this.sDeepPath};r.prototype.getSubContexts=function(){return this.mSubContexts};r.prototype.getSubContextsArray=function(t){var e,i,n=[];function r(e){n.push(e);if(t){n=n.concat(e.getSubContextsArray(t))}}for(e in this.mSubContexts){i=this.mSubContexts[e];if(Array.isArray(i)){i.forEach(r)}else{r(i)}}return n};r.prototype.getSubContextsAsKey=function(t){return this.getSubContextsArray(t).map(function(t){return t.getPath().slice(1)})};r.prototype.getSubContextsAsPath=function(t){return this.getSubContextsArray(t).map(function(t){return t.getPath()})};r.prototype.hasChanged=function(){return this.bUpdated||this.bForceRefresh};r.prototype.hasSubContexts=function(){return!!this.mSubContexts};r.prototype.hasTransientParent=function(){return!!this.oTransientParent};r.prototype.isInactive=function(){return this.bInactive};r.prototype.isPreliminary=function(){return this.bPreliminary};r.prototype.isRefreshForced=function(){return this.bForceRefresh};r.prototype.isTransient=function(){return this.oSyncCreatePromise&&this.oSyncCreatePromise.isPending()};r.prototype.isUpdated=function(){return this.bUpdated};r.prototype.removeFromTransientParent=function(){if(this.oTransientParent){this.oTransientParent.removeSubContext(this);delete this.oTransientParent}};r.prototype.removeSubContext=function(t){var e,i,n;for(i in this.mSubContexts){n=this.mSubContexts[i];if(Array.isArray(n)){e=n.indexOf(t);if(e>-1){n.splice(e,1)}if(!n.length){delete this.mSubContexts[i]}}else if(n===t){delete this.mSubContexts[i]}}if(this.mSubContexts&&!Object.keys(this.mSubContexts).length){this.mSubContexts=undefined}};r.prototype.resetCreatedPromise=function(){this.oCreatePromise=undefined;this.oSyncCreatePromise=undefined};r.prototype.setDeepPath=function(t){this.sDeepPath=t};r.prototype.setForceRefresh=function(t){this.bForceRefresh=t};r.prototype.setPreliminary=function(t){this.bPreliminary=t};r.prototype.setUpdated=function(t){this.bUpdated=t};r.prototype.startActivation=function(){if(this.fnStartActivation){this.fnStartActivation()}};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v2/ODataAnnotations\", [\"sap/base/assert\",\"sap/base/i18n/Localization\",\"sap/base/util/extend\",\"sap/ui/base/EventProvider\",\"sap/ui/core/cache/CacheManager\",\"sap/ui/model/odata/AnnotationParser\",\"sap/ui/thirdparty/jquery\"],function(e,t,r,a,o,n,jQuery){\"use strict\";var i=a.extend(\"sap.ui.model.odata.v2.ODataAnnotations\",{constructor:function(e,t){var r=this;a.apply(this,[t]);this.bWithCredentials=t?.withCredentials===true;this._oMetadata=e;this._pLoaded=e.loaded();this._mCustomHeaders={};this._mAnnotations={};this._hasErrors=false;function i(e){if(!r._hasErrors){o.set(r.sCacheKey,JSON.stringify(e))}}if(!t||!t.skipMetadata){if(!t){t={}}if(!t.source){t.source=[]}else if(Array.isArray(t.source)){t.source=t.source.slice(0)}else{t.source=[t.source]}t.source.unshift({type:\"xml\",data:e.loaded().then(function(e){return{xml:e[\"metadataString\"],lastModified:e[\"lastModified\"],eTag:e[\"eTag\"]}})})}if(t){this.sCacheKey=t.cacheKey;this.setHeaders(t.headers);if(this.sCacheKey){this._pLoaded=o.get(r.sCacheKey).then(function(e){var a;if(e){a=JSON.parse(e)}if(Array.isArray(a)){a.annotations={};a.forEach(function(e){n.restoreAnnotationsAtArrays(e.annotations);n.merge(a.annotations,e.annotations)});r._mAnnotations=a.annotations;r._fireSomeLoaded(a);r._fireLoaded(a);return a}else{return r.addSource(t.source).then(function(e){i(e);return e})}})}else{this._pLoaded=this.addSource(t.source)}}},metadata:{publicMethods:[\"getData\",\"addSource\",\"getHeaders\",\"setHeaders\",\"attachSuccess\",\"detachSuccess\",\"attachError\",\"detachError\",\"attachLoaded\",\"detachLoaded\",\"attachFailed\",\"detachFailed\"]}});i.prototype.getData=function(){return this._mAnnotations};i.prototype.getAnnotationsData=i.prototype.getData;i.prototype.getHeaders=function(){return r({},this._mCustomHeaders)};i.prototype.setHeaders=function(e){this._mCustomHeaders=r({},e)};i.prototype.loaded=function(){return this._pLoaded};i.prototype.addSource=function(e){if(!e||Array.isArray(e)&&e.length===0){return this._oMetadata.loaded()}if(!Array.isArray(e)){e=[e]}var t=this;var r=e.map(function(e){e=typeof e===\"string\"?{type:\"url\",data:e}:e;return t._loadSource(e).then(t._parseSourceXML).then(t._parseSource.bind(t)).catch(function(e){return e})});return Promise.all(r).then(function(e){return e.map(function(e){try{e=t._mergeSource(e);t._fireSuccess(e)}catch(r){t._fireError(e)}return e})}).then(function(e){e.annotations=t.getData();var r=e.filter(function(e){return e instanceof Error});if(r.length>0){t._hasErrors=true;if(r.length!==e.length){t._fireSomeLoaded(e);t._fireFailed(e)}else{t._fireFailed(e);t._fireAllFailed(e);return Promise.reject(e)}}else{t._fireSomeLoaded(e);t._fireLoaded(e)}return e})};i.prototype.attachSuccess=function(e,t,r){return this.attachEvent(\"success\",e,t,r)};i.prototype.detachSuccess=function(e,t){return this.detachEvent(\"success\",e,t)};i.prototype.attachError=function(e,t,r){return this.attachEvent(\"error\",e,t,r)};i.prototype.detachError=function(e,t){return this.detachEvent(\"error\",e,t)};i.prototype.attachLoaded=function(e,t,r){return this.attachEvent(\"loaded\",e,t,r)};i.prototype.detachLoaded=function(e,t){return this.detachEvent(\"loaded\",e,t)};i.prototype.attachFailed=function(e,t,r){return this.attachEvent(\"failed\",e,t,r)};i.prototype.detachFailed=function(e,t){return this.detachEvent(\"failed\",e,t)};i.prototype.attachSomeLoaded=function(e,t,r){return this.attachEvent(\"someLoaded\",e,t,r)};i.prototype.detachSomeLoaded=function(e,t){return this.detachEvent(\"someLoaded\",e,t)};i.prototype.attachAllFailed=function(e,t,r){return this.attachEvent(\"allFailed\",e,t,r)};i.prototype.detachAllFailed=function(e,t){return this.detachEvent(\"allFailed\",e,t)};i.prototype._fireSuccess=function(e){return this.fireEvent(\"success\",{result:e},false,false)};i.prototype._fireError=function(e){return this.fireEvent(\"error\",{result:e},false,false)};i.prototype._fireLoaded=function(e){return this.fireEvent(\"loaded\",{result:e},false,false)};i.prototype._fireFailed=function(e){return this.fireEvent(\"failed\",{result:e},false,false)};i.prototype._fireSomeLoaded=function(e){return this.fireEvent(\"someLoaded\",{result:e},false,false)};i.prototype._fireAllFailed=function(e){return this.fireEvent(\"allFailed\",{result:e},false,false)};i.prototype._loadSource=function(e){if(e.data instanceof Promise){return e.data.then(function(t){delete e.data;e.type=\"xml\";e.xml=t.xml;e.lastModified=t.lastModified;e.eTag=t.eTag;return this._loadSource(e)}.bind(this))}else if(e.type===\"xml\"){if(typeof e.data===\"string\"){e.xml=e.data;delete e.data}return Promise.resolve(e)}else if(e.type===\"url\"){return this._loadUrl(e)}else{var t=new Error('Unknown source type: \"'+e.type+'\"');t.source=e;return Promise.reject(t)}};i.prototype._loadUrl=function(t){e(t.type===\"url\",'Source type must be \"url\" in order to be loaded');return new Promise((e,r)=>{var a={url:t.data,async:true,headers:this._getHeaders(),...this.bWithCredentials===true?{xhrFields:{withCredentials:true}}:{},beforeSend:function(e){e.overrideMimeType(\"text/plain\")}};var o=function(r,a,o){t.xml=o.responseText;if(o.getResponseHeader(\"Last-Modified\")){t.lastModified=new Date(o.getResponseHeader(\"Last-Modified\"))}if(o.getResponseHeader(\"eTag\")){t.eTag=o.getResponseHeader(\"eTag\")}e(t)};var n=function(e,a){var o=new Error('Could not load annotation URL: \"'+t.data+'\"');o.source=t;r(o)};jQuery.ajax(a).done(o).fail(n)})};i.prototype._parseSourceXML=function(t){e(typeof t.xml===\"string\",\"Source must contain XML string in order to be parsed\");return new Promise(function(e,r){var a=(new DOMParser).parseFromString(t.xml,\"application/xml\");if(a.getElementsByTagName(\"parsererror\").length>0){var o=new Error(\"There were errors parsing the XML.\");o.source={type:t.type,data:t.data,xml:t.xml,document:a};r(o)}else{t.document=a;e(t)}})};i.prototype._parseSource=function(e){return this._oMetadata.loaded().then(function(){e.annotations=n.parse(this._oMetadata,e.document,e.data);delete e.document;return e}.bind(this))};i.prototype._mergeSource=function(t){e(typeof t.annotations===\"object\",\"Source must contain an annotation object to be merged\");n.merge(this._mAnnotations,t.annotations);return t};i.prototype._getHeaders=function(){return r({\"sap-cancel-on-close\":\"true\"},this.getHeaders(),{\"Accept-Language\":t.getLanguageTag().toString()})};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v2/ODataContextBinding\", [\"sap/base/util/deepExtend\",\"sap/base/util/extend\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/Context\",\"sap/ui/model/ContextBinding\"],function(e,t,i,n,o){\"use strict\";var s=o.extend(\"sap.ui.model.odata.v2.ODataContextBinding\",{constructor:function(t,i,n,s,a){o.call(this,t,i,n,s,a);this.sRefreshGroupId=undefined;this.bPendingRequest=false;this.mParameters=e({},this.mParameters);this.bCreatePreliminaryContext=this.mParameters.createPreliminaryContext||t.bPreliminaryContext;this.bUsePreliminaryContext=this.mParameters.usePreliminaryContext||t.bPreliminaryContext;this.mParameters.createPreliminaryContext=this.bCreatePreliminaryContext;this.mParameters.usePreliminaryContext=this.bUsePreliminaryContext;this.bPendingRequest=false}});s.prototype.initialize=function(){var e,t,o,s=this.oContext&&this.oContext.isPreliminary(),a=this.isRelative()&&this.oContext&&this.oContext.isTransient&&this.oContext.isTransient(),r=this;if(!this.oModel.oMetadata.isLoaded()||!this.bInitial){return}this.bInitial=false;if(s&&!this.bUsePreliminaryContext){return}o=this.getResolvedPath();if(!o||a){this.oElementContext=null;this._fireChange({reason:i.Context});return}t=this.oModel._isReloadNeeded(o,this.mParameters);if(t){this.fireDataRequested();this.bPendingRequest=true}e=this.oModel.createBindingContext(this.sPath,this.oContext,this.mParameters,function(e){var o,s=e&&e.isRefreshForced(),a=e&&e.isUpdated();if(r.bCreatePreliminaryContext&&e&&r.oElementContext){r.oElementContext.setPreliminary(false);r.oModel._updateContext(r.oElementContext,e.getPath());r._fireChange({reason:i.Context},false,true)}else if(!e||n.hasChanged(e,r.oElementContext)){r.oElementContext=e;r._fireChange({reason:i.Context},s,a)}if(t){if(r.oElementContext){o=r.oElementContext.getObject(r.mParameters)}r.oModel.callAfterUpdate(function(){r.fireDataReceived({data:o})});r.bPendingRequest=false}},t);if(e){if(this.bCreatePreliminaryContext&&this.oElementContext!==e){e.setPreliminary(true);this.oElementContext=e;this.oModel.oMetadata.loaded().then(function(){this._fireChange({reason:i.Context})}.bind(this))}}else if(this.oContext){this.oElementContext=null;this._fireChange({reason:i.Context})}};s.prototype.checkUpdate=function(){var e,t=this.mParameters,n=this.oContext&&this.oContext.isPreliminary();if(this.bInitial||this.bPendingRequest){return}if(this.oContext&&this.oContext.isUpdated()){this.setContext(this.oContext);return}if(n&&!this.bUsePreliminaryContext){return}if(t.createPreliminaryContext){t=Object.assign({},t);delete t.createPreliminaryContext}e=this.oModel.createBindingContext(this.sPath,this.oContext,t);if(e!==undefined&&e!==this.oElementContext){this.oElementContext=e;this._fireChange({reason:i.Context})}};s.prototype.refresh=function(e,t){if(typeof e===\"string\"){t=e;e=false}this.sRefreshGroupId=t;this._refresh(e);this.sRefreshGroupId=undefined};s.prototype._refresh=function(e,o){var s,a,r,h,l,C=false,x=this.mParameters,f=this.isRelative()&&this.oContext&&this.oContext.isTransient&&this.oContext.isTransient(),d=this.getResolvedPath(),m=this;if(this.bInitial||f){return}if(o){l=this.oModel._getObject(this.sPath,this.oContext);if(l){h=this.oModel._getKey(l);if(h in o){C=true}}}else{C=true}if(e||C){if(d){this.fireDataRequested();this.bPendingRequest=true}if(this.sRefreshGroupId){x=t({},this.mParameters);x.groupId=this.sRefreshGroupId}s=this.oModel.createBindingContext(this.sPath,this.oContext,x,function(t){if(m.bCreatePreliminaryContext&&t&&m.oElementContext){m.oElementContext.setPreliminary(false);m.oModel._updateContext(m.oElementContext,t.getPath());m._fireChange({reason:i.Context},false,true)}else if(n.hasChanged(t,m.oElementContext)||e){m.oElementContext=t;m._fireChange({reason:i.Context},e)}if(m.oElementContext){r=m.oElementContext.getObject(m.mParameters)}if(d){m.oModel.callAfterUpdate(function(){m.fireDataReceived({data:r})});m.bPendingRequest=false}},true);if(s&&this.bCreatePreliminaryContext){if(this.oElementContext!==s||e){s.setPreliminary(true);this.oElementContext=s;a=this.oElementContext.sPath;this.oModel._updateContext(this.oElementContext,d);this._fireChange({reason:i.Context},e);this.oModel._updateContext(this.oElementContext,a)}}}};s.prototype.setContext=function(e){var t,o,s,a,r,h,l=e&&e.isRefreshForced(),C=e&&e.isPreliminary(),x=e&&e.isTransient&&e.isTransient(),f=e&&e.isUpdated(),d=this;if(this.bInitial||!this.isRelative()){return}if(C&&!this.bUsePreliminaryContext){return}if(f&&this.bUsePreliminaryContext){this._fireChange({reason:i.Context});return}if(n.hasChanged(this.oContext,e)){this.oContext=e;h=this.getResolvedPath();if(h&&x){a=this.oModel.oMetadata._splitByLastNavigationProperty(h).lastNavigationProperty}if(!h||a){if(this.oElementContext!==null){this.oElementContext=null;this._fireChange({reason:i.Context})}return}s=this.oModel._getObject(this.sPath,this.oContext);r=l||this.oModel._isReloadNeeded(h,this.mParameters);if(h&&r){this.fireDataRequested();this.bPendingRequest=true}t=this.oModel.createBindingContext(this.sPath,this.oContext,this.mParameters,function(e){if(d.bCreatePreliminaryContext&&e&&d.oElementContext){d.oElementContext.setPreliminary(false);d.oModel._updateContext(d.oElementContext,e.getPath());d._fireChange({reason:i.Context},false,true)}else if(n.hasChanged(e,d.oElementContext)){d.oElementContext=e;d._fireChange({reason:i.Context},l,f)}if(h&&r){if(d.oElementContext){s=d.oElementContext.getObject(d.mParameters)}d.oModel.callAfterUpdate(function(){d.fireDataReceived({data:s})});d.bPendingRequest=false}},r);if(t){if(this.bCreatePreliminaryContext){t.setPreliminary(true);this.oElementContext=t;o=this.oElementContext.sPath;this.oModel._updateContext(this.oElementContext,h);this._fireChange({reason:i.Context},l);this.oModel._updateContext(this.oElementContext,o)}}else if(this.oContext&&this.oElementContext!==null){this.oElementContext=null;this._fireChange({reason:i.Context})}}};s.prototype._fireChange=function(e,t,i){var n;if(this.oElementContext){n=this.oElementContext.isUpdated();this.oElementContext.setForceRefresh(t);this.oElementContext.setUpdated(i)}o.prototype._fireChange.call(this,e);if(this.oElementContext){this.oElementContext.setForceRefresh(false);this.oElementContext.setUpdated(n)}};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/odata/v2/ODataListBinding\", [\"sap/base/assert\",\"sap/base/Log\",\"sap/base/util/deepEqual\",\"sap/base/util/each\",\"sap/base/util/isEmptyObject\",\"sap/base/util/uid\",\"sap/ui/model/ChangeReason\",\"sap/ui/model/Context\",\"sap/ui/model/Filter\",\"sap/ui/model/FilterOperator\",\"sap/ui/model/FilterProcessor\",\"sap/ui/model/FilterType\",\"sap/ui/model/ListBinding\",\"sap/ui/model/Sorter\",\"sap/ui/model/SorterProcessor\",\"sap/ui/model/odata/CountMode\",\"sap/ui/model/odata/Filter\",\"sap/ui/model/odata/ODataUtils\",\"sap/ui/model/odata/OperationMode\"],function(e,t,s,i,a,n,r,o,h,l,d,u,f,p,c,g,C,y,m){\"use strict\";var b=\"sap.ui.model.odata.v2.ODataListBinding\",P=[\"changeSetId\",\"error\",\"expand\",\"groupId\",\"inactive\",\"success\"];var x=f.extend(\"sap.ui.model.odata.v2.ODataListBinding\",{constructor:function(e,t,s,i,a,n){f.apply(this,arguments);this.sFilterParams=null;this.sSortParams=null;this.sCustomParams=this.oModel.createCustomParams(this.mParameters);this.mCustomParams=n&&n.custom;this.iLength=0;this.bPendingChange=false;this.aAllKeys=null;this.aKeys=[];this.sCountMode=n&&n.countMode||this.oModel.sDefaultCountMode;this.sOperationMode=n&&n.operationMode||this.oModel.sDefaultOperationMode;this.bUsePreliminaryContext=n&&n.usePreliminaryContext||e.bPreliminaryContext;if(!this.bUsePreliminaryContext&&s&&s.isPreliminary&&s.isPreliminary()){this.oContext=s=undefined}this.bRefresh=false;this.bNeedsUpdate=false;this.bDataAvailable=false;this.bIgnoreSuspend=false;this.bPendingRefresh=false;this.sGroupId=undefined;this.sRefreshGroupId=undefined;this.bLengthRequested=false;this.bUseExtendedChangeDetection=false;this.bFaultTolerant=n&&n.faultTolerant;this.bLengthFinal=false;this.iLastEndIndex=0;this.aLastContexts=null;this.aLastContextData=null;this.bInitial=true;this.mRequestHandles={};this.oCountHandle=null;this.bSkipDataEvents=false;this.bUseExpandedList=false;this.oCombinedFilter=null;this.sDeepPath=e.resolveDeep(t,s);this.bCanonicalRequest=n&&n.bCanonicalRequest;this.mNormalizeCache={};this.bTransitionMessagesOnly=!!(n&&n.transitionMessagesOnly);this.sCreatedEntitiesKey=n&&n.createdEntitiesKey||\"\";this.oCreatedPersistedToRemove=new Set;this.bRemovePersistedCreatedAfterRefresh=false;this.oModel.checkFilter(this.aApplicationFilters);if(n&&(n.batchGroupId||n.groupId)){this.sGroupId=n.groupId||n.batchGroupId}this.iThreshold=n&&n.threshold||0;this.bThresholdRejected=false;if(this.sCountMode==g.None){this.bThresholdRejected=true}if(!this.checkExpandedList()){this._removePersistedCreatedContexts();this.resetData()}this._reassignCreateActivate()},metadata:{publicMethods:[\"getLength\"]}});x.prototype.attachCreateActivate=function(e,t){return this.attachEvent(\"createActivate\",e,t)};x.prototype.detachCreateActivate=function(e,t){return this.detachEvent(\"createActivate\",e,t)};x.prototype._updateLastStartAndLength=function(e,t,s,i){if(i){this._checkKeepCurrentSupported(s)}else{this.iLastStartIndex=e;this.iLastLength=t;this.iLastMaximumPrefetchSize=s}};x.prototype.getAllCurrentContexts=function(){var e=this._getCreatedContexts(),t=this;this.aKeys.forEach(function(s){e.push(t.oModel.getContext(\"/\"+s))});return e};x.prototype.getContextByIndex=function(e){return this._getContexts(e,1)[0]};x.prototype.getContexts=function(e,t,s,i){var a,n,o;if(this.bInitial){return[]}if(!this.bLengthFinal&&this.sOperationMode==m.Auto&&(this.sCountMode==g.Request||this.sCountMode==g.Both)){if(!this.bLengthRequested){this._getLength();this.bLengthRequested=true}return[]}if(!this.bLengthFinal&&!this.bPendingRequest&&!this.bLengthRequested){this._getLength();this.bLengthRequested=true}this._updateLastStartAndLength(e,t,s,i);if(!e){e=0}if(!t){t=this._getMaximumLength()}if(!s){s=0}if(this.sOperationMode==m.Auto){if(this.iThreshold>=0){s=Math.max(this.iThreshold,s)}}a=this._getContexts(e,t);a.bExpectMore=this._isExpectingMoreContexts(a,e,t);if(this.oCombinedFilter===h.NONE||this._hasTransientParentContext()){}else if(this.useClientMode()){if(!this.aAllKeys&&!this.bPendingRequest&&this.oModel.getServiceMetadata()){this.loadData();a.dataRequested=true}}else{o=this._getSkipAndTop(e,t,s);if(this.oModel.getServiceMetadata()){if(!this.bPendingRequest&&o){this.loadData(o.skip,o.top);a.dataRequested=true}}}if(this.isFirstCreateAtEnd()&&this.bPendingRequest&&a.length&&a[0].isTransient()!==undefined){a.length=0}if(this.bRefresh){this.bRefresh=false;if(!a.dataRequested){this._fireChange({reason:r.Change})}}else if(!i){n=[];for(var l=0;l=this.iLength){if(i-this.iLength>=l){break}s=h[i-this.iLength]}else{n=this.aKeys[r?i:i-l];if(!n){break}s=this.oModel.getContext(\"/\"+n,d+n.substr(n.indexOf(\"(\")))}o.push(s)}return o};x.prototype.setContext=function(e){var s,i,a=e&&e.isRefreshForced(),n=e&&e.isPreliminary(),h=e&&e.isUpdated();if(this.bInitial||!this.isRelative()){return}if(n&&!this.bUsePreliminaryContext){return}if(h&&this.bUsePreliminaryContext&&this.oContext===e){this._fireChange({reason:r.Context});return}if(o.hasChanged(this.oContext,e)){s=this.isResolved()&&!this._hasTransientParentWithoutSubContexts();this.oContext=e;i=this.getResolvedPath();this.sDeepPath=this.oModel.resolveDeep(this.sPath,this.oContext);if(!this._checkPathType()){t.error(\"List Binding is not bound against a list for \"+i,undefined,b)}this.checkDataState();if(!i||this._hasTransientParentWithoutSubContexts()){this.aAllKeys=null;this.aKeys=[];this.iLength=0;this.bLengthFinal=true;this.abortPendingRequest(true,true);if(s){this._fireChange({reason:r.Context})}return}this._initSortersFilters();if(this.checkExpandedList()&&!a){this.abortPendingRequest();this._fireChange({reason:r.Context})}else{this._removePersistedCreatedContexts();this._refresh()}}};x.prototype._cleanupCreatedPersisted=function(){var e=false,t=this.oModel._getObject(this.sPath,this.oContext),s=this;function i(t){s.oModel._discardEntityChanges(t,true);e=true}if(this.oCreatedPersistedToRemove.size&&!this.bSuspended){this.oCreatedPersistedToRemove.forEach(i);this.oCreatedPersistedToRemove.clear()}if(t&&t.sideEffects){this._getCreatedPersistedContexts().forEach(function(e){var a=s.oModel.getKey(e);if(!t.includes(a)){if(s.bSuspended){s.oCreatedPersistedToRemove.add(a)}else{i(a)}}})}return e};x.prototype.checkExpandedList=function(e){var t,s=this.oModel._getObject(this.sPath,this.oContext),i=this.bUseExpandedList,a=this;if(!this.isResolved()||s===undefined||!this._isExpandedListUsable()){this.bUseExpandedList=false;this.aExpandRefs=undefined;return false}else{this.bUseExpandedList=true;if(Array.isArray(s)){if(!e&&(this.oModel._isReloadNeeded(\"/\"+s[0],this.mParameters)||this.oModel._isReloadNeeded(\"/\"+s[s.length-1],this.mParameters))){this.bUseExpandedList=false;this.aExpandRefs=undefined;return false}this.aExpandRefs=s;if(s.sideEffects){t=this._getCreatedPersistedContexts().map(function(e){return a.oModel.getKey(e)});if(t.length){s=s.filter(function(e){return!t.includes(e)})}}this.aAllKeys=s;this.iLength=s.length;this.bLengthFinal=true;this.bDataAvailable=true;this._initSortersFilters();this.applyFilter();this.applySort();if(this.aExpandRefs.sideEffects&&!i){this.aExpandRefs=undefined;this.bUseExpandedList=false;return this.bUseExpandedList}}else{this.aExpandRefs=undefined;this.aAllKeys=null;this.aKeys=[];this.iLength=0;this.bLengthFinal=true;this.bDataAvailable=true}return true}};x.prototype.updateExpandedList=function(e){if(this.aExpandRefs){for(var t=0;t0){t=s.map(function(e){var t=e.getPath();return i._getFilterForPredicate(t.slice(t.indexOf(\"(\")))});e=\"not(\"+y._createFilterParams(t.length===1?t[0]:new h({filters:t}),this.oModel.oMetadata,this.oEntityType)+\")\"}return e};x.prototype.loadData=function(e,t){var s,a,o=n(),h=false,l=this.oModel.iSizeLimit,d=this.sPath,u=this.bRemovePersistedCreatedAfterRefresh,f=[],p=this.useClientMode(),c=this;function C(){var s=[];if(t){s.push(\"$skip=\"+e+\"&$top=\"+t)}else{e=0}if(c.sSortParams){s.push(c.sSortParams)}c._addFilterQueryOption(s,!p);if(c.sCustomParams){s.push(c.sCustomParams)}if(c.sCountMode==g.InlineRepeat||!c.bLengthFinal&&(c.sCountMode===g.Inline||c.sCountMode===g.Both)){s.push(\"$inlinecount=allpages\");h=true}else{h=false}return s}function y(s){if(h&&s.__count!==undefined){c.iLength=parseInt(s.__count);c.bLengthFinal=true;if(c.sOperationMode==m.Auto){if(c.iLength<=c.mParameters.threshold){c.bThresholdRejected=false}else{c.bThresholdRejected=true;delete c.mRequestHandles[o];c.bPendingRequest=false;c.bNeedsUpdate=true;return}}}if(p){if(!e){c.aKeys=[]}i(s.results,function(t,s){c.aKeys[e+t]=c.oModel._getKey(s)});f.push(s.results);if(s.__next&&c.aKeys.length0){i(s.results,function(t,s){c.aKeys[e+t]=c.oModel._getKey(s)});if(c.iLength1){c.fireDataReceived({data:{__count:String(c.iLength),results:Array.prototype.concat.apply([],f)}})}else{c.fireDataReceived({data:s})}})}function b(e){var t=e.statusCode==0;delete c.mRequestHandles[o];c.bPendingRequest=false;if(c.bFaultTolerant){c.iLength=c.aKeys.length;c.bLengthFinal=true;c.bDataAvailable=true}else if(!t){c.aKeys=[];c.aAllKeys=[];c.iLength=0;c.bLengthFinal=true;c.bDataAvailable=true;c._fireChange({reason:r.Change})}if(!c.bSkipDataEvents){c.fireDataReceived()}}if(this.isRelative()){d=this.getResolvedPath()}if(d){this.bPendingRequest=true;if(!this.bSkipDataEvents){this.fireDataRequested()}this.bSkipDataEvents=false;s=this.sRefreshGroupId?this.sRefreshGroupId:this.sGroupId;a={headers:this.bTransitionMessagesOnly?{\"sap-messages\":\"transientOnly\"}:undefined,context:this.oContext,groupId:s,urlParameters:C(),success:y,error:b,canonicalRequest:this.bCanonicalRequest,updateAggregatedMessages:this.bRefresh};this.mRequestHandles[o]=this.oModel.read(this.sPath,a)}};x.prototype.isLengthFinal=function(){return this.bLengthFinal};x.prototype.getLength=function(){var e=this.iLength+this._getCreatedContexts().length;if(this.bLengthFinal||this.iLength===0){return e}return e+(this.iLastMaximumPrefetchSize||this.iLastLength||10)};x.prototype._getLength=function(){var e,s,a=[],n=this;if(this.sCountMode!==g.Request&&this.sCountMode!==g.Both){return}this._addFilterQueryOption(a,this.sOperationMode!==m.Auto);if(this.mParameters&&this.mParameters.custom){var o={custom:{}};i(this.mPa Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2011, 2011, 2014, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Renderer\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/isPlainObject\",\"sap/base/util/ObjectPath\",\"sap/base/assert\",\"sap/base/util/extend\"],function(e,r,t,a,n,i){\"use strict\";var s={};var u;function c(e,r){n(this!=null,\"BaseRenderer must be a non-null object\");n(typeof e===\"string\"&&e,\"Renderer.extend must be called with a non-empty name for the new renderer\");n(r==null||t(r)&&Object.keys(r).every(function(e){return r[e]!==undefined}),\"oRendererInfo can be omitted or must be a plain object without any undefined property values\");var s=Object.create(this);s.extend=c;i(s,r);(()=>{a.set(e,s)})();return s}s.extend=function(e,r){if(typeof e===\"string\"){return c.call(this,e,r)}else if(this===s){var t=Object.create(e||null);t._super=e;t.extend=c;return t}else{throw new TypeError(\"The signature extend(BaseRenderer) without a name can only be called on sap.ui.core.Renderer\")}};s.getTextAlign=function(t,a){u=sap.ui.require(\"sap/ui/core/library\");if(!u){e.warning(\"Synchronous loading of a library.js. Ensure that 'sap/ui/core/library.js' is loaded\"+\" before sap.ui.core.Renderer#getTextAlign is called.\",\"SyncXHR\",null,function(){return{type:\"SyncXHR\",name:\"renderer-getTextAlign\"}});u=sap.ui.requireSync(\"sap/ui/core/library\")}var n=u.TextAlign;var i=u.TextDirection;var s=\"\",c=r.getRTL();switch(t){case n.End:switch(a){case i.LTR:s=\"right\";break;case i.RTL:s=\"left\";break;default:s=c?\"left\":\"right\";break}break;case n.Begin:switch(a){case i.LTR:s=\"left\";break;case i.RTL:s=\"right\";break;default:s=c?\"right\":\"left\";break}break;case n.Right:if(!c||a==i.LTR){s=\"right\"}break;case n.Center:s=\"center\";break;case n.Left:if(c||a==i.RTL){s=\"left\"}break}return s};return s},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Rendering\", [\"sap/base/config\",\"sap/base/Log\",\"sap/ui/base/EventProvider\",\"sap/ui/performance/trace/Interaction\",\"sap/ui/performance/Measurement\"],(e,n,t,r,d)=>{\"use strict\";const a=n.getLogger(\"sap.ui.Rendering\",e.get({name:\"sapUiXxDebugRendering\",type:e.Type.Boolean,external:true,freeze:true})?n.Level.DEBUG:Math.min(n.Level.INFO,n.getLevel()));const i=20,s=new t,p=[];let o,u={};let g=[];let U=false;const f=e=>{try{d.start(\"renderPendingUIUpdates\",\"Render pending UI updates in all UIAreas\");a.debug(\"Render pending UI updates: start (\"+(e||\"by timer\")+\")\");let n=0;const t=i>0;U=true;do{if(t){n++;if(n>i){U=false;throw new Error(\"Rendering has been re-started too many times (\"+n+\"). Add URL parameter sap-ui-xx-debugRendering=true for a detailed analysis.\")}if(n>1){a.debug(\"Render pending UI updates: iteration \"+n)}}if(o){if(o!==c){clearTimeout(o)}o=undefined;if(p.length>0){p.pop()()}}l();const e=u;u={};for(const n in e){e[n].rerender()}}while(t&&o);U=false;c.fireUIUpdated();a.debug(\"Render pending UI updates: finished\");d.end(\"renderPendingUIUpdates\")}catch(e){const n=c.fireUIUpdated({failed:e});if(n){throw e}}};const c={notifyInteractionStep(){p.push(r.notifyAsyncStep())},addPrerenderingTask(e,n){if(n){g.unshift(e)}else{g.push(e)}},renderPendingUIUpdates(e,n){if(n!==undefined){p.push(r.notifyAsyncStep());o=setTimeout(f.bind(null,e),n)}else{f(e)}},suspend(){o=c},resume(e){c.renderPendingUIUpdates(e,0)},isPending(){return!!(o||U)},attachUIUpdated(e,n){s.attachEvent(\"UIUpdated\",e,n)},detachUIUpdated(e,n){s.detachEvent(\"UIUpdated\",e,n)},fireUIUpdated(e){return s.fireEvent(\"UIUpdated\",e,true)},getLogger(){return a},invalidateUIArea(e){u[e.getId()]=e;if(!o){a.debug(\"Registering timer for delayed re-rendering\");c.renderPendingUIUpdates(\"invalidated UIArea\",0)}}};const l=()=>{const e=g.slice();g=[];e.forEach(e=>{e()})};return c});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/ResizeHandler\", [\"sap/base/Log\",\"sap/ui/base/Object\",\"sap/ui/core/IntervalTrigger\",\"sap/ui/thirdparty/jquery\",\"sap/ui/util/ActivityDetection\"],function(e,t,i,jQuery,s){\"use strict\";var r=e.getLogger(\"sap.ui.core.ResizeHandler\",e.Level.ERROR);var n;var o=t.extend(\"sap.ui.core.ResizeHandler\",{constructor:function(){t.apply(this);this.aResizeListeners=[];this.aSuspendedDomRefs=[];this.bRegistered=false;this.mCallbacks=new Map;this.iIdCounter=0;window.addEventListener(\"unload\",()=>{});s.attachActivate(d,this);if(n){r.error(\"ResizeHandler is designed as a singleton and should not be created manually! \"+\"Please require 'sap/ui/core/ResizeHandler' instead and use the module export directly without using 'new'.\")}}});function a(){if(this.bRegistered){this.bRegistered=false;i.removeListener(this.checkSizes,this)}}function d(){if(!this.bRegistered&&this.aResizeListeners.length>0){this.bRegistered=true;i.addListener(this.checkSizes,this)}}o.prototype.attachListener=function(e,i){var s=t.isObjectA(e,\"sap.ui.core.Control\"),n=e instanceof jQuery,o=s?e.getDomRef():e,a=o?o.offsetWidth:0,u=o?o.offsetHeight:0,f=\"rs-\"+Date.now()+\"-\"+this.iIdCounter++,l;if(s){l=\"Control \"+e.getId()}else if(e.id){l=e.id}else{l=String(e)}this.aResizeListeners.push({sId:f,oDomRef:s?null:e,oControl:s?e:null,bIsJQuery:n,fHandler:i,iWidth:a,iHeight:u,dbg:l});r.debug(\"registered \"+l);d.call(this);return f};o.prototype.detachListener=function(e){var t=this.aResizeListeners;for(var i=0;i \"+u.size.width+\"x\"+u.size.height)}t.fHandler(u)}}}},this);if(o._keepActive!=true&&o._keepActive!=false){o._keepActive=false}if(!s.isActive()&&!o._keepActive){a.call(this)}};o.register=function(e,t){return n.attachListener(e,t)};o.deregister=function(e){n.detachListener(e)};o.deregisterAllForControl=function(e){n.aResizeListeners.filter(function(t){return t&&t.oControl&&t.oControl.getId()===e}).forEach(function(e){o.deregister(e.sId)})};o.suspend=function(e){if(!document.documentElement.contains(e)){return false}if(n.aSuspendedDomRefs.indexOf(e)===-1){n.aSuspendedDomRefs.push(e)}return true};o.resume=function(e){var t=n.aSuspendedDomRefs.indexOf(e);if(t===-1){return false}n.aSuspendedDomRefs.splice(t,1);n.checkSizes();var i=n.mCallbacks.get(e);if(i){for(var s=0;s{\"use strict\";let a;let n=false;r().then(()=>{n=true});const o={STATIC_UIAREA_ID:\"sap-ui-static\",getUIArea:()=>{if(!a){a=i.get(o.STATIC_UIAREA_ID)||t.create(s());a.bInitial=false}return a},getDomRef:()=>o.getUIArea().getRootNode(),contains:e=>o.getDomRef().contains(e)};const s=()=>{if(!n){throw new Error(\"DOM is not ready yet. Static UIArea cannot be created.\")}let t=document.getElementById(o.STATIC_UIAREA_ID);if(!t){t=document.createElement(\"div\");t.setAttribute(\"id\",o.STATIC_UIAREA_ID);Object.assign(t.style,{height:\"0\",width:\"0\",overflow:\"hidden\",float:e.getRTL()?\"right\":\"left\"});document.body.insertBefore(t,document.body.firstChild)}return t};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/Supportability\", [\"sap/base/config\"],e=>{\"use strict\";const t={isDebugModeEnabled(){let t=window[\"sap-ui-debug\"]===true||e.get({name:\"sapUiDebug\",type:e.Type.Boolean,external:true});try{t=t||/^(?:true|x|X)$/.test(window.localStorage.getItem(\"sap-ui-debug\"))}catch(e){}return t},isControlInspectorEnabled(){return e.get({name:\"sapUiInspect\",type:e.Type.Boolean,external:true})},isStatisticsEnabled(){var t=e.get({name:\"sapUiStatistics\",type:e.Type.Boolean,defaultValue:e.get({name:\"sapStatistics\",type:e.Type.Boolean,external:true}),external:true});try{t=t||window.localStorage.getItem(\"sap-ui-statistics\")==\"X\"}catch(e){}return t},getSupportSettings(){return e.get({name:\"sapUiSupport\",type:e.Type.StringArray,defaultValue:null,external:true})},getTestRecorderSettings(){return e.get({name:\"sapUiTestRecorder\",type:e.Type.StringArray,defaultValue:null,external:true})},collectOriginInfo(){return e.get({name:\"sapUiOriginInfo\",type:e.Type.Boolean,external:true})}};return t});\n/*!\n * copyright\n */\nsap.ui.predefine(\"sap/ui/core/Theming\", [\"sap/base/assert\",\"sap/base/config\",\"sap/base/Event\",\"sap/base/Eventing\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/deepEqual\",\"sap/ui/core/theming/ThemeHelper\"],function(e,t,n,i,a,o,s,r,c){\"use strict\";const h=t.getWritableInstance();const l=new i;const g=document.querySelector(\"link[rel=icon]\")?.getAttribute(\"href\");let f;const p={getTheme:()=>{let e=h.get({name:\"sapTheme\",type:h.Type.String,defaultValue:h.get({name:\"sapUiTheme\",type:h.Type.String,external:true}),external:true});if(e===\"\"){const t=c.getDefaultThemeInfo();e=`${t.DEFAULT_THEME}${t.DARK_MODE?\"_dark\":\"\"}`}const t=e.indexOf(\"@\");if(t>=0){const n=T(e.slice(t+1));e=t>0?e.slice(0,t):e;if(n!==p.getThemeRoot(e)){p.setThemeRoot(e,n)}}e=c.validateAndFallbackTheme(e,p.getThemeRoot(e));return e},setTheme:e=>{if(e){if(e.indexOf(\"@\")!==-1){throw new TypeError(\"Providing a theme root as part of the theme parameter is not allowed.\")}const t=p.getTheme();h.set(\"sapTheme\",e);const n=p.getTheme();const i=t!==n;if(i){const e={theme:{new:n,old:t}};m(e)}if(!f&&i){u({theme:n})}}},getThemeRoot:(e,t)=>{const n=h.get({name:\"sapUiThemeRoots\",type:h.Type.MergedObject});let i;e??=p.getTheme();if(n[e]&&typeof n[e]===\"string\"){i=n[e]}else if(n[e]&&typeof n[e]===\"object\"){i=n[e][t]||n[e][\"\"]}return i},setThemeRoot:(t,n,i,a)=>{e(typeof t===\"string\",\"sThemeName must be a string\");e(typeof n===\"string\",\"sThemeBaseUrl must be a string\");const o={name:\"sapUiThemeRoots\",type:h.Type.MergedObject};const s=h.get(Object.assign(o,{defaultValue:{}}));const c=h.get(Object.assign(o,{defaultValue:{}}));if(typeof i===\"boolean\"){a=i;i=undefined}c[t]??={};if(typeof c[t]===\"string\"){c[t]={\"\":c[t]};s[t]={\"\":s[t]}}if(i){for(let e=0;e{const e=g||sap.ui.require.toUrl(\"sap/ui/core/themes/base/icons/favicon.ico\");const t=h.get({name:\"sapUiFavicon\",type:e=>{const t=e.toString();if([\"\",\"false\"].includes(t.toLowerCase())){return false}else if([\"x\",\"true\"].includes(t.toLowerCase())){return true}if(!e||new URL(e,window.location.origin).href.startsWith(window.location.origin)){return t}else{o.error(\"Absolute URLs are not allowed for favicon. The configured favicon will be ignored.\",undefined,\"sap.ui.core.theming.Theming\");return true}}});if(!t){return t}if(typeof t===\"string\"){return t}else if(f&&!c.isStandardTheme(p.getTheme())){const t=await new Promise(e=>{sap.ui.require([\"sap/ui/core/theming/Parameters\"],t=>{const n=t.get({name:\"sapUiFavicon\",_restrictedParseUrls:true,callback:t=>{e(t)}});if(n!==undefined){e(n)}})});return t||e}return e},setFavicon:async e=>{if(typeof e===\"string\"&&!new URL(e,window.location.origin).href.startsWith(window.location.origin)){throw new TypeError(\"Path to favicon must be relative to the current origin\")}h.set(\"sapUiFavicon\",e);const t=await p.getFavicon();if(t){await new Promise((e,n)=>{sap.ui.require([\"sap/ui/util/Mobile\"],n=>{n.setIcons({favicon:t});e()},n)})}else{document.querySelector(\"link[rel=icon]\")?.remove()}},attachAppliedOnce:e=>{const t=\"applied\";if(f){if(f.themeLoaded){e.call(null,new n(t,{theme:p.getTheme()}))}else{l.attachEventOnce(t,e)}}else{e.call(null,new n(t,{theme:p.getTheme()}))}},attachApplied:e=>{const t=\"applied\";l.attachEvent(t,e);if(f){if(f.themeLoaded){e.call(null,new n(t,{theme:p.getTheme()}))}}else{e.call(null,new n(t,{theme:p.getTheme()}))}},detachApplied:e=>{l.detachEvent(\"applied\",e)},attachChange:e=>{l.attachEvent(\"change\",e)},detachChange:e=>{l.detachEvent(\"change\",e)},attachThemeScopingChanged:e=>{l.attachEvent(\"themeScopingChanged\",e)},detachThemeScopingChanged:e=>{l.detachEvent(\"themeScopingChanged\",e)},fireThemeScopingChanged:e=>{l.fireEvent(\"themeScopingChanged\",e)},notifyContentDensityChanged:()=>{u({theme:p.getTheme()})},registerThemeManager:e=>{f=e;f._attachThemeApplied(function(e){u(n.getParameters(e))});s.attachChange(function(e){var t=e.rtl;if(t!==undefined){f._updateThemeUrls(p.getTheme())}})}};function m(e){if(e){l.fireEvent(\"change\",e)}}function u(e){l.fireEvent(\"applied\",e)}function d(e,t){const n=h.get({name:\"sapAllowedThemeOrigins\",type:h.Type.String});return!!n?.split(\",\").some(n=>{try{n=t&&!n.startsWith(\"//\")?\"//\"+n:n;return n===\"*\"||e===new URL(n.trim(),window.location.href).origin}catch(e){a.errorThrows(\"sapAllowedThemeOrigins provides invalid theme origin: \"+n,{cause:e});return false}})}function T(e){const t=e.startsWith(\"//\");let n,i;try{n=new URL(e,window.location.href);n.search=\"\";if(n.origin&&d(n.origin,t)){i=n.toString()}else{n=new URL(n.pathname,window.location.href);i=n.toString()}if(t){i=i.replace(n.protocol,\"\")}i+=(i.endsWith(\"/\")?\"\":\"/\")+\"UI5/\"}catch(e){}return i}p.attachApplied(()=>{p.getFavicon().then(e=>{if(e){sap.ui.require([\"sap/ui/util/Mobile\"],t=>{t.setIcons({favicon:e})})}})});return p});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/UIArea\", [\"sap/ui/base/ManagedObject\",\"./Element\",\"./RenderManager\",\"./UIAreaRegistry\",\"./FocusHandler\",\"sap/ui/performance/trace/Interaction\",\"sap/ui/util/ActivityDetection\",\"sap/ui/events/KeyCodes\",\"sap/base/Log\",\"sap/base/assert\",\"sap/base/config\",\"sap/ui/performance/Measurement\",\"sap/base/util/uid\",\"sap/base/util/isEmptyObject\",\"sap/ui/core/Rendering\",\"sap/ui/core/util/_LocalizationHelper\",\"sap/ui/events/jquery/EventExtension\",\"sap/ui/events/ControlEvents\",\"sap/ui/events/F6Navigation\",\"sap/ui/thirdparty/jquery\"],function(e,t,r,o,n,i,s,a,d,u,l,p,f,g,c,h,v,m,y,jQuery){\"use strict\";var C=c.getLogger();var I=new r;var b;v.apply();jQuery(document).on(\"keydown\",function(e){y.handleF6GroupNavigation(e,null)});var R=function(e){return e},E=function(){},A=function(){};if(C.isLoggable()){R=function(e){var t;try{throw new Error}catch(e){t=e.stack||e.stacktrace||(e.sourceURL?e.sourceURL+\":\"+e.line:null);t=t?t.split(/\\n\\s*/g).slice(2):undefined}return{obj:e,location:t}};E=function(e,r){var o={},n,i;for(n in r){i=t.getElementById(n);o[n]={type:i?i.getMetadata().getName():r[n].obj===e?\"UIArea\":\"(no such control)\",location:r[n].location,reason:r[n].reason}}C.debug(\" UIArea '\"+e.getId()+\"', pending updates: \"+JSON.stringify(o,null,\"\\t\"))};A=function(e,t){var r;for(r in t){if(e[r]!=null){if(e[r].obj!==t[r].obj){t[r].reason=\"replaced during rendering\"}else{t[r].reason=\"invalidated again during rendering\"}}else{t[r].reason=\"invalidated during rendering\"}}}}var N=e.extend(\"sap.ui.core.UIArea\",{constructor:function(t){if(arguments.length===0){return}e.apply(this);this.bLocked=false;this.bInitial=true;this.aContentToRemove=[];this.bNeedsRerendering=false;if(t!=null){this._setRootNode(t);this.bNeedsRerendering=this.bNeedsRerendering&&!document.getElementById(t.id+\"-Init\")}this.mInvalidatedControls={};this.mSuppressedControls={};this.iSuppressedControlsLength=0;if(!this.bNeedsRerendering){this.bRenderSelf=false}else{c.invalidateUIArea(this)}},metadata:{publicMethods:[\"setRootNode\",\"getRootNode\",\"setRootControl\",\"getRootControl\",\"lock\",\"unlock\",\"isLocked\"],aggregations:{content:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"content\"},dependents:{type:\"sap.ui.core.Control\",multiple:true}}},insertDependent:function(e,t){return this.insertAggregation(\"dependents\",e,t,true)},addDependent:function(e){return this.addAggregation(\"dependents\",e,true)},removeDependent:function(e){return this.removeAggregation(\"dependents\",e,true)},removeAllDependents:function(){return this.removeAllAggregation(\"dependents\",true)},destroyDependents:function(){return this.destroyAggregation(\"dependents\",true)}});N.prototype.getId=function(){return this.oRootNode?this.oRootNode.id:null};N.prototype.getUIArea=function(){return this};N.prototype.setRootNode=function(e){this._setRootNode(e)};N.prototype._setRootNode=function(e){if(this.oRootNode===e){return}u(!e||e.nodeType===1&&!jQuery(e).attr(\"data-sap-ui-area\"),\"UIArea root node must be a DOMElement\");if(this.oRootNode){this._ondetach()}this.deregister();this.oRootNode=e;this.register();if(this.getContent().length>0){this.invalidate()}if(this.oRootNode){this._onattach()}};N.prototype.getRootNode=function(){return this.oRootNode};N.prototype.setRootControl=function(e){this.removeAllContent();this.addContent(e)};N.prototype.getRootControl=function(e){var t=this.getContent();if(t.length>0){if(e>=0&&e0){n.triggerValidateFieldGroup(i)}return true}return false};N.prototype.setFieldGroupControl=function(e){var r=e;while(r&&!(r instanceof t&&r.isA(\"sap.ui.core.Control\"))){r=r.getParent()}var o=this.getFieldGroupControl();if(r!=o){var n=o?o._getFieldGroupIds():[],i=r?r._getFieldGroupIds():[],s=n.filter(function(e){return i.indexOf(e)<0});if(s.length>0){o.triggerValidateFieldGroup(s)}N._oFieldGroupControl=r}return this};N.prototype.getFieldGroupControl=function(){if(N._oFieldGroupControl&&!N._oFieldGroupControl.bIsDestroyed){return N._oFieldGroupControl}return null};o.init(N);N._oFieldGroupControl=null;N._iFieldGroupDelayTimer=null;N._oFieldGroupValidationKey={keyCode:a.ENTER,shiftKey:false,altKey:false,ctrlKey:false};N._oRenderLog=C;N.create=function(e){u(typeof e===\"string\"||typeof e===\"object\",\"vDomRef must be a string or object\");if(!e){throw new Error(\"vDomRef must not be null\")}var t;if(typeof e===\"string\"){var r=e;t=document.getElementById(r);if(!t){throw new Error(\"DOM element with ID '\"+r+\"' not found in page, but application tries to insert content.\")}}else{t=e}if(!t.id||t.id.length==0){t.id=f()}var n=t.id;var i=o.get(n);if(!i){i=new N(t);if(b&&!g(b.oModels)){var s={oModels:Object.assign({},b.oModels),oBindingContexts:{},aPropagationListeners:[]};i._propagateProperties(true,i,s,true)}}else{i._setRootNode(t)}return i};N.setCore=function(e){b=e;var t=l.get({name:\"sapUiAreas\",type:l.Type.StringArray,defaultValue:null,freeze:true});if(t){for(var r=0,o=t.length;r{\"use strict\";const a=function(e,a,t){var i=\"adding UIArea with duplicate id '\"+e+\"'\";r.error(i);throw new Error(\"Error: \"+i)};const t=e.create({onDuplicate:a});return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/_UrlResolver\", [\"sap/ui/thirdparty/URI\"],function(e){\"use strict\";var r={};r._processResourceConfiguration=function(e,a){a=a||{};var i=a.alreadyResolvedOnRoot||false;var n=e.bundleUrlRelativeTo||a.relativeTo;var o;if(n===\"manifest\"){o=a.manifestBaseURI}else if(n===\"component\"){o=a.baseURI}else{o=n||a.baseURI}Object.keys(e).forEach(function(s){if(s===\"bundleUrl\"&&!i){var t=e[s];var f=r._resolveUri(t,o);e[s]=f&&f.toString()}if(s===\"terminologies\"){var u=e[s];for(var l in u){r._processResourceConfiguration(u[l],{relativeTo:n,baseURI:a.baseURI,manifestBaseURI:a.manifestBaseURI})}}if(s===\"enhanceWith\"){var v=e[s]||[];for(var R=0;R{\"use strict\";const a=t(\"1.14\");const n=\"1.139.0\";var i={\"xx-test\":\"1.15\",flexBoxPolyfill:\"1.14\",sapMeTabContainer:\"1.14\",sapMeProgessIndicator:\"1.14\",sapMGrowingList:\"1.14\",sapMListAsTable:\"1.14\",sapMDialogWithPadding:\"1.14\",sapCoreBindingSyntax:\"1.24\"};const o=o=>{const r=\"sapUiCompatVersion\";const p=e.get({name:r,type:e.Type.String});function g(o){var g=!o?p||a.toString():e.get({name:s(r+\"-\"+o.toLowerCase()),type:e.Type.String})||p||i[o]||a.toString();g=t(g.toLowerCase()===\"edge\"?n:g);return t(g.getMajor(),g.getMinor())}return i.hasOwnProperty(o)?g(o):g()};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/message/ControlMessageProcessor\", [\"sap/ui/core/Element\",\"sap/ui/core/message/MessageProcessor\"],function(s,e){\"use strict\";var t=e.extend(\"sap.ui.core.message.ControlMessageProcessor\",{constructor:function(){if(!t._instance){e.apply(this,arguments);t._instance=this}return t._instance},metadata:{}});t._instance=null;t.prototype.setMessages=function(s){this.mOldMessages=this.mMessages===null?{}:this.mMessages;this.mMessages=s||{};this.checkMessages();delete this.mOldMessages};t.prototype.checkMessages=function(){var e,t,a=Object.assign({},this.mMessages);for(t in this.mOldMessages){if(!(t in a)){a[t]=[]}}for(t in a){var i,n,r=t.split(\"/\");if(!r[0]){r.shift()}n=s.getElementById(r[0]);if(!n||n._bIsBeingDestroyed){return}i=n.getBinding(r[1]);e=a[t]?a[t]:[];if(i){var o=i.getDataState();o.setControlMessages(e);i.checkDataState()}else{n.propagateMessages(r[1],e)}}};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/message/Message\", [\"./MessageType\",\"sap/base/future\",\"sap/base/util/uid\",\"sap/ui/base/Object\"],function(t,e,s,r){\"use strict\";const i={[t.Error]:0,[t.Warning]:1,[t.Success]:2,[t.Information]:3,[t.None]:4};var o=r.extend(\"sap.ui.core.message.Message\",{constructor:function(e){r.apply(this,arguments);e=e||{};this.id=e.id?e.id:s();this.message=e.message;this.description=e.description;this.descriptionUrl=e.descriptionUrl;this.additionalText=e.additionalText;this.setType(e.type||t.None);this.code=e.code;this.aTargets=[];if(e.target!==undefined){this.aTargets=Array.isArray(e.target)?e.target.slice():[e.target]}Object.defineProperty(this,\"target\",{get:this.getTarget,set:this.setTarget,enumerable:true});this.processor=e.processor;this.persistent=e.persistent||false;this.technical=e.technical||false;this.technicalDetails=e.technicalDetails;this.references=e.references||{};this.validation=!!e.validation;this.date=e.date||Date.now();this.controlIds=[];if(Array.isArray(e.fullTarget)){this.aFullTargets=e.fullTarget.length?e.fullTarget.slice():[\"\"]}else{this.aFullTargets=[e.fullTarget||\"\"]}Object.defineProperty(this,\"fullTarget\",{get:function(){return this.aFullTargets[0]},set:function(t){this.aFullTargets[0]=t},enumerable:true})}});o.prototype.getId=function(){return this.id};o.prototype.setMessage=function(t){this.message=t};o.prototype.getMessage=function(){return this.message};o.prototype.getControlId=function(){return this.controlIds[this.controlIds.length-1]};o.prototype.addControlId=function(t){if(this.controlIds.indexOf(t)==-1){this.controlIds=this.controlIds.slice();this.controlIds.push(t)}};o.prototype.removeControlId=function(t){var e=this.controlIds.indexOf(t);if(e!=-1){this.controlIds=this.controlIds.slice();this.controlIds.splice(e,1)}};o.prototype.getControlIds=function(){return this.controlIds};o.prototype.setDescription=function(t){this.description=t};o.prototype.getDescription=function(){return this.description};o.prototype.setAdditionalText=function(t){this.additionalText=t};o.prototype.getAdditionalText=function(){return this.additionalText};o.prototype.getDescriptionUrl=function(){return this.descriptionUrl};o.prototype.setDescriptionUrl=function(t){this.descriptionUrl=t};o.prototype.setType=function(s){if(s in t){this.type=s}else{e.errorThrows(\"MessageType must be of type sap/ui/core/message/MessageType\")}};o.prototype.getType=function(){return this.type};o.prototype.setTarget=function(t){this.aTargets[0]=t};o.prototype.getTarget=function(){return this.aTargets[0]};o.prototype.setTargets=function(t){this.aTargets=t.slice()};o.prototype.getTargets=function(){return this.aTargets.slice()};o.prototype.setMessageProcessor=function(t){if(r.isObjectA(t,\"sap.ui.core.message.MessageProcessor\")){this.processor=t}else{e.errorThrows(\"oMessageProcessor must be an instance of 'sap.ui.core.message.MessageProcessor'\")}};o.prototype.getMessageProcessor=function(){return this.processor};o.prototype.setCode=function(t){this.code=t};o.prototype.getCode=function(){return this.code};o.prototype.setPersistent=function(t){this.persistent=t};o.prototype.getPersistent=function(){return this.persistent};o.prototype.setTechnical=function(t){this.technical=t};o.prototype.getTechnical=function(){return this.technical};o.prototype.setTechnicalDetails=function(t){this.technicalDetails=t};o.prototype.getTechnicalDetails=function(){return this.technicalDetails};o.prototype.addReference=function(t,e){if(!t){return}if(!this.references[t]){this.references[t]={properties:{}}}if(!this.references[t].properties[e]){this.references[t].properties[e]=true}};o.prototype.removeReference=function(t,e){if(!t){return}if(t in this.references){if(!e){delete this.references[t]}else if(this.references[t].properties[e]){delete this.references[t].properties[e]}}};o.prototype.setDate=function(t){this.date=t};o.prototype.getDate=function(){return this.date};o.compare=function(t,e){return i[t.type]-i[e.type]};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/message/MessageProcessor\", [\"sap/ui/base/EventProvider\",\"sap/base/util/uid\"],function(e,s){\"use strict\";var t=e.extend(\"sap.ui.core.message.MessageProcessor\",{constructor:function(){e.apply(this,arguments);this.mMessages=null;this.id=s()},metadata:{abstract:true,publicMethods:[\"getId\",\"setMessages\",\"attachMessageChange\",\"detachMessageChange\"]}});const a={messageChange:\"messageChange\"};t.prototype.attachMessageChange=function(e,s,t){this.attachEvent(a.messageChange,e,s,t);return this};t.prototype.detachMessageChange=function(e,s){this.detachEvent(a.messageChange,e,s);return this};t.prototype.fireMessageChange=function(e){var s=sap.ui.require(\"sap/ui/core/Messaging\");if(s){s.registerMessageProcessor(this);s.updateMessages(e.oldMessages,e.newMessages);this.fireEvent(a.messageChange,e)}else{sap.ui.require([\"sap/ui/core/Messaging\"],function(s){s.registerMessageProcessor(this);s.updateMessages(e.oldMessages,e.newMessages);this.fireEvent(a.messageChange,e)}.bind(this))}return this};t.prototype.getId=function(){return this.id};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/message/MessageType\", [\"sap/ui/base/DataType\"],e=>{\"use strict\";const r={Information:\"Information\",Warning:\"Warning\",Error:\"Error\",None:\"None\",Success:\"Success\"};e.registerEnum(\"sap.ui.core.message.MessageType\",r);return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/mvc/ViewType\", [],function(){\"use strict\";var e={JSON:\"JSON\",XML:\"XML\",HTML:\"HTML\",JS:\"JS\",Template:\"Template\"};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/support/Hotkeys\", [\"sap/base/Log\"],function(e){\"use strict\";var o={init:function(){var o=false;document.addEventListener(\"keydown\",function(r){try{if(r.keyCode===18){o=typeof r.location!==\"number\"||r.location===1;return}if(r.shiftKey&&r.altKey&&r.ctrlKey&&o){if(r.keyCode===80){r.preventDefault();sap.ui.require([\"sap/ui/core/support/techinfo/TechnicalInfo\"],function(e){e.open(function(){var e={modules:sap.ui.loader._.getAllModules(),prefixes:sap.ui.loader._.getUrlPrefixes()};return{modules:e.modules,prefixes:e.prefixes}})},function(o){e.error(\"Could not load module 'sap/ui/core/support/techinfo/TechnicalInfo':\",o)})}else if(r.keyCode===83){r.preventDefault();sap.ui.require([\"sap/ui/core/support/Support\"],function(e){var o=e.getStub();if(o.getType()!=e.StubType.APPLICATION){return}o.openSupportTool()},function(o){e.error(\"Could not load module 'sap/ui/core/support/Support':\",o)})}}}catch(e){}})}};return o});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/theming/ThemeHelper\", [\"sap/base/future\",\"sap/base/Log\"],function(e,r){\"use strict\";var t={};const a=\"sap_horizon\";const n=window.matchMedia(\"(prefers-color-scheme: dark)\").matches;const s=/(_hcb|_hcw|_dark)$/g;const i=[\"sap_horizon\",\"sap_horizon_dark\",\"sap_horizon_hcb\",\"sap_horizon_hcw\",\"sap_fiori_3\",\"sap_fiori_3_dark\",\"sap_fiori_3_hcb\",\"sap_fiori_3_hcw\"];const o={};var c={};c.reset=function(){t={}};c.getMetadata=function(r){if(!r){return null}var a=r.replace(\"sap-ui-theme-\",\"\").replace(/\\./g,\"-\");if(t[a]){return t[a]}var n=document.createElement(\"span\");n.classList.add(\"sapThemeMetaData-UI5-\"+a);document.documentElement.appendChild(n);var s=window.getComputedStyle(n).getPropertyValue(\"background-image\");document.documentElement.removeChild(n);var i=/\\([\"']?data:text\\/plain;utf-8,(.*?)['\"]?\\)/i.exec(s);if(!i||i.length<2){return null}var o=i[1];if(o.charAt(0)!==\"{\"&&o.charAt(o.length-1)!==\"}\"){try{o=decodeURI(o)}catch(e){}}o=o.replace(/\\\\\"/g,'\"');var c=o.replace(/%20/g,\" \");var u;try{u=JSON.parse(c);t[a]=u}catch(r){e.errorThrows(\"Could not parse theme metadata for library \"+a+\".\")}return u};c.checkAndRemoveStyle=function(t){var a=t.prefix||\"\",n=t.id;var s=function(t,a){var n=document.getElementById(t);try{var s=false,i=false,o=false,u=false;s=!n;i=!!(n&&(n.getAttribute(\"data-sap-ui-ready\")===\"true\"||n.getAttribute(\"data-sap-ui-ready\")===\"false\"));o=!!(n&&n.sheet&&n.sheet.href===n.href&&c.hasSheetCssRules(n.sheet));u=!!(n&&n.innerHTML&&n.innerHTML.length>0);var l=s||o||u||i;if(a){r.debug(\"sap.ui.core.theming.ThemeHelper: \"+t+\": \"+l+\" (noLinkElement: \"+s+\", sheet: \"+o+\", innerHtml: \"+u+\", linkElementFinishedLoading: \"+i+\")\")}return l}catch(r){if(a){e.errorThrows(`sap.ui.core.theming.ThemeHelper: Error during check styles for Id: \"${t}\"`,{cause:r})}}return false};var i=s(a+n,true);if(i){var o=document.querySelectorAll(\"link[data-sap-ui-foucmarker='\"+a+n+\"']\");if(o.length>0){for(var u=0,l=o.length;u0};c.validateAndFallbackTheme=function(e,t){if(t==null&&o[e]){return o[e]}let n=e;if(t==null&&e.startsWith(\"sap_\")&&i.indexOf(e)==-1){const t=e.match(s)?.[0]||\"\";n=`${a}${t}`;o[e]=n;r.warning(`The configured theme '${e}' is not yet or no longer supported in this version. The valid fallback theme is '${n}'.`,\"Theming\")}return n};c.getDefaultThemeInfo=function(){return{DEFAULT_THEME:a,DARK_MODE:n}};c.isStandardTheme=function(e){return e.startsWith(\"sap_\")||e===\"base\"};return c});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/util/_LocalizationHelper\", [\"sap/base/Event\",\"sap/base/Log\",\"sap/base/i18n/Formatting\",\"sap/base/i18n/Localization\",\"sap/ui/thirdparty/jquery\"],(t,e,n,a,jQuery)=>{\"use strict\";const o={};function i(){let t=[];for(const e of Object.values(o)){t=[...t,...Object.values(e())]}return t}function l(n){let a=\"LocalizationChanged\";a=\"localizationChanged\";const o=t.getParameters(n),l=jQuery.Event(a,{changes:o}),s=i(),r=o.rtl!==undefined,c=o.language!==undefined;e.info(\"localization settings changed: \"+Object.keys(o).join(\",\"),null,\"sap/ui/core/util/LocalizationHelper\");if(r){document.documentElement.setAttribute(\"dir\",o.rtl?\"rtl\":\"ltr\");e.info(\"RTL mode \"+o.rtl?\"activated\":\"deactivated\")}if(c){document.documentElement.setAttribute(\"lang\",o.language)}for(const t of s){for(const e in t.oModels){const n=t.oModels[e];n?._handleLocalizationChange?.()}}for(const t of s){for(const e in t.mBindingInfos){const n=t.mBindingInfos[e];const a=n.parts;if(a){for(let t=0;t=0){l.push({element:n[s],checkChildren:true});continue}}else if(t.previousElementSibling){l.push({element:t.previousElementSibling,checkChildren:true});continue}let i;if(t.assignedSlot){i=t.assignedSlot}else if(t.parentElement){i=t.parentElement}else if(t.parentNode){i=t.parentNode.host}return i}return null}function n(n,l){const s=l.scope||document.documentElement;const i=!!l.forward;let r=false;const o=[{element:n,skipChild:l.skipChild}];while(o.length){const l=o.pop();const u=l.element;const d=l.skipChild;const h=i?e({element:u,scope:s,skipChild:d}):t({element:u,scope:s});if(!h){return null}if(h===s){if(r){return{element:null,startOver:true}}else{r=true}}if(r&&h===n){return{element:null,startOver:true}}if(jQuery.expr.pseudos.sapTabbable(h)&&!h.closest(\".sapUiSkipFocusFail\")){return{element:h,startOver:r}}else{o.push({element:h})}}return null}return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/getComputedStyleFix\", [],function(){\"use strict\";var e=function(){var e=window.getComputedStyle;window.getComputedStyle=function(t,n){var r=e.call(this,t,n);if(r===null){if(document.body==null){var o=document.createElement(\"body\");var l=document.getElementsByTagName(\"html\")[0];l.insertBefore(o,l.firstChild);var u=o.style;o.parentNode.removeChild(o);return u}return document.body.cloneNode(false).style}return r}};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/includeScript\", [\"sap/base/assert\"],function(e){\"use strict\";function t(e,t,n,r){var i=document.createElement(\"script\");i.src=e;i.type=\"text/javascript\";if(t&&typeof t===\"object\"){for(var o in t){if(t[o]!=null){i.setAttribute(o,t[o])}}}function f(){if(typeof n===\"function\"){n()}i.removeEventListener(\"load\",f);i.removeEventListener(\"error\",a)}function a(){if(typeof r===\"function\"){r()}i.removeEventListener(\"load\",f);i.removeEventListener(\"error\",a)}if(typeof n===\"function\"||typeof r===\"function\"){i.addEventListener(\"load\",f);i.addEventListener(\"error\",a)}var s=t&&t.id,u=s&&document.getElementById(s);if(u&&u.tagName===\"SCRIPT\"){u.parentNode.removeChild(u)}document.head.appendChild(i)}var n=function(n,r,i,o){var f;if(typeof n===\"string\"){f=typeof r===\"string\"?{id:r}:r;t(n,f,i,o)}else{e(typeof n===\"object\"&&n.url,\"vUrl must be an object and requires a URL\");f=Object.assign({},n.attributes);if(n.id){f.id=n.id}return new Promise(function(e,r){t(n.url,f,e,r)})}};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/includeStylesheet\", [\"sap/base/assert\"],function(e){\"use strict\";function t(e,t,r,i){var n=function(){var n=document.createElement(\"link\");n.rel=\"stylesheet\";n.href=e;if(t&&typeof t===\"object\"){Object.keys(t).forEach(function(e){if(t[e]!=null){n.setAttribute(e,t[e])}})}function a(e){var t=e.type===\"error\";n.setAttribute(\"data-sap-ui-ready\",!t);n.removeEventListener(\"load\",a);n.removeEventListener(\"error\",a);var o=t?i:r;if(typeof o===\"function\"){o()}}n.addEventListener(\"load\",a);n.addEventListener(\"error\",a);return n};var a=t&&t.id;var o=document.getElementById(a);var s=n();if(o&&o.tagName===\"LINK\"&&o.rel===\"stylesheet\"){if(typeof r===\"function\"||typeof i===\"function\"||o.href!==s.href){if(o.getAttribute(\"data-sap-ui-foucmarker\")===a){o.removeAttribute(\"id\");o.parentNode.insertBefore(s,o)}else{o.parentNode.replaceChild(s,o)}}else if(o.getAttribute(\"data-sap-ui-foucmarker\")===a){o.removeAttribute(\"data-sap-ui-foucmarker\")}}else{var u=document.getElementById(\"sap-ui-core-customcss\");if(u){u.parentNode.insertBefore(s,u)}else{document.head.appendChild(s)}}}var r=function r(i,n,a,o){var s;if(typeof i===\"string\"){s=typeof n===\"string\"?{id:n}:n;t(i,s,a,o)}else{e(typeof i===\"object\"&&i.url,\"vUrl must be an object and requires a URL\");s=Object.assign({},i.attributes);if(i.id){s.id=i.id}return new Promise(function(e,r){t(i.url,s,e,r)})}};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/dom/jquery/Selectors\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";function e(e,t){var r=Object.getOwnPropertyDescriptor(e,t);return r&&r.value}\n/*!\n\t * The following functions are taken from jQuery UI 1.8.17 but modified\n\t *\n\t * Copyright, AUTHORS.txt (http://jqueryui.com/about)\n\t * Dual licensed under the MIT or GPL Version 2 licenses.\n\t * http://jquery.org/license\n\t *\n\t * http://docs.jquery.com/UI\n\t */function t(e){var t=jQuery(e).offsetParent();var r=false;var a=jQuery(e).parents().filter(function(){if(this===t){r=true}return r});return!jQuery(e).add(a).filter(function(){return jQuery.css(this,\"visibility\")===\"hidden\"||jQuery.expr.pseudos.hidden(this)}).length}function r(e,r){var a=e.nodeName.toLowerCase();if(a===\"area\"){var s=e.parentNode,n=s.name,i;if(!e.href||!n||s.nodeName.toLowerCase()!==\"map\"){return false}i=jQuery(\"img[usemap='#\"+n+\"']\")[0];return!!i&&t(i)}return(/input|select|textarea|button|object/.test(a)?!e.disabled:a==\"a\"?e.href||r:r)&&t(e)}if(!e(jQuery.expr.pseudos,\"focusable\")){\n/*!\n\t\t * The following function is taken from jQuery UI 1.8.17\n\t\t *\n\t\t * Copyright, AUTHORS.txt (http://jqueryui.com/about)\n\t\t * Dual licensed under the MIT or GPL Version 2 licenses.\n\t\t * http://jquery.org/license\n\t\t *\n\t\t * http://docs.jquery.com/UI\n\t\t *\n\t\t * But since visible is modified, focusable is different from the jQuery UI version too.\n\t\t */\njQuery.expr.pseudos.focusable=function(e){return r(e,!isNaN(jQuery.attr(e,\"tabindex\")))}}if(!e(jQuery.expr.pseudos,\"sapTabbable\")){\n/*!\n\t\t * The following function is taken from\n\t\t * jQuery UI Core 1.11.1\n\t\t * http://jqueryui.com\n\t\t *\n\t\t * Copyright jQuery Foundation and other contributors\n\t\t * Released under the MIT license.\n\t\t * http://jquery.org/license\n\t\t *\n\t\t * http://api.jqueryui.com/category/ui-core/\n\t\t */\njQuery.expr.pseudos.sapTabbable=function(e){var t=jQuery.attr(e,\"tabindex\"),a=isNaN(t);return(a||t>=0)&&r(e,!a)}}if(!e(jQuery.expr.pseudos,\"sapFocusable\")){jQuery.expr.pseudos.sapFocusable=function(e){return r(e,!isNaN(jQuery.attr(e,\"tabindex\")))}}return jQuery});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/events/ControlEvents\", [\"sap/ui/thirdparty/jquery\"],function(jQuery){\"use strict\";var e={};e.events=[\"click\",\"dblclick\",\"contextmenu\",\"focusin\",\"focusout\",\"keydown\",\"keypress\",\"keyup\",\"mousedown\",\"mouseout\",\"mouseover\",\"mouseup\",\"select\",\"selectstart\",\"dragstart\",\"dragenter\",\"dragover\",\"dragleave\",\"dragend\",\"drop\",\"compositionstart\",\"compositionend\",\"paste\",\"cut\",\"input\",\"change\"];e.bindAnyEvent=function(n){if(n){jQuery(document).on(e.events.join(\" \"),n)}};e.unbindAnyEvent=function n(t){if(t){jQuery(document).off(e.events.join(\" \"),t)}};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/events/F6Navigation\", [\"sap/ui/thirdparty/jquery\",\"sap/ui/events/PseudoEvents\",\"sap/ui/dom/findTabbable\"],function(jQuery,e,t){\"use strict\";var a={};a.fastNavigationKey=\"sap-ui-fastnavgroup\";function r(e){var t=document.querySelector(\"html\");var a,r;while(e&&e!==t){if(e.getAttribute(\"data-sap-ui-customfastnavgroup\")===\"true\"){r=e}if(e.getAttribute(\"data-sap-ui-fastnavgroup\")===\"true\"){a=a||e}if(r){break}e=e.assignedSlot||e.parentElement||e.parentNode.host}return r||a}function n(e){if(e.activeElement&&e.activeElement.shadowRoot){return n(e.activeElement.shadowRoot)}return e.activeElement}function i(e,t){var a=e.parentElement||e.parentNode||e.host;if(a&&a!==t){return i(a,t)}return e!==document}a.handleF6GroupNavigation=function(a,u){var s=e.events.sapskipforward,o=e.events.sapskipback,d=s.aTypes.includes(a.type)&&s.fnCheck(a),p=d||o.aTypes.includes(a.type)&&o.fnCheck(a),v=null,f;if(!p||a.isMarked(\"sapui5_handledF6GroupNavigation\")||a.isMarked()||a.isDefaultPrevented()){return}a.setMark(\"sapui5_handledF6GroupNavigation\");a.setMarked();a.preventDefault();if(u&&u.skip){return}var c=u&&u.target?u.target:n(document);var l;if(u&&u.scope){l=u.scope}else{l=document.documentElement}if(!i(c,l)){return}var m=r(c);var g;var h;f=c;do{h=t(f,{scope:l,forward:d});f=h.element;g=r(f)}while(!h.startOver&&m===g);if(!d){var E,k;do{f=E||f;h=t(f,{scope:l,forward:d});E=h.element;k=r(E)}while(k===g&&!h.startOver)}if(g&&g.getAttribute(\"data-sap-ui-customfastnavgroup\")===\"true\"&&g.id){var w=sap.ui.require(\"sap/ui/core/Element\");var y=w?.getElementById(g.id);if(y){v=jQuery.Event(\"BeforeFastNavigationFocus\");v.target=f;v.source=c;v.forward=d;y._handleEvent(v)}}if(!v||!v.isDefaultPrevented()){f.focus()}};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/events/KeyCodes\", [],function(){\"use strict\";var A={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CONTROL:17,ALT:18,BREAK:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,PRINT:44,INSERT:45,DELETE:46,DIGIT_0:48,DIGIT_1:49,DIGIT_2:50,DIGIT_3:51,DIGIT_4:52,DIGIT_5:53,DIGIT_6:54,DIGIT_7:55,DIGIT_8:56,DIGIT_9:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,WINDOWS:91,CONTEXT_MENU:93,TURN_OFF:94,SLEEP:95,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_ASTERISK:106,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_COMMA:110,NUMPAD_SLASH:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUM_LOCK:144,SCROLL_LOCK:145,OPEN_BRACKET:186,PLUS:187,COMMA:188,SLASH:189,DOT:190,PIPE:191,SEMICOLON:192,MINUS:219,GREAT_ACCENT:220,EQUALS:221,SINGLE_QUOTE:222,BACKSLASH:226};return A});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/events/PasteEventFix\", function(){\"use strict\";document.documentElement.addEventListener(\"paste\",function(e){var t=document.activeElement;if(e.isTrusted&&t instanceof HTMLElement&&!t.contains(e.target)){var a=new ClipboardEvent(\"paste\",{bubbles:true,cancelable:true,clipboardData:e.clipboardData});t.dispatchEvent(a);e.stopImmediatePropagation();e.preventDefault()}},true)});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/events/PseudoEvents\", [\"sap/base/i18n/Localization\",\"sap/ui/events/KeyCodes\",\"sap/ui/thirdparty/jquery\"],function(e,s,jQuery){\"use strict\";var a={};function r(e,s,a,r){return e.shiftKey==r&&e.altKey==a&&o(e)==s}function n(e){return e.shiftKey||e.altKey||o(e)}function o(e){return!!(e.metaKey||e.ctrlKey)}a.events={sapdown:{sName:\"sapdown\",aTypes:[\"keydown\"],fnCheck:function(e){return(e.key?e.key===\"ArrowDown\":e.keyCode==s.ARROW_DOWN)&&!n(e)}},sapdownmodifiers:{sName:\"sapdownmodifiers\",aTypes:[\"keydown\"],fnCheck:function(e){return(e.key?e.key===\"ArrowDown\":e.keyCode==s.ARROW_DOWN)&&n(e)}},sapshow:{sName:\"sapshow\",aTypes:[\"keydown\"],fnCheck:function(e){if(e.key){return e.key===\"F4\"&&!n(e)||e.key===\"ArrowDown\"&&r(e,false,true,false)}return e.keyCode==s.F4&&!n(e)||e.keyCode==s.ARROW_DOWN&&r(e,false,true,false)}},sapup:{sName:\"sapup\",aTypes:[\"keydown\"],fnCheck:function(e){return(e.key?e.key===\"ArrowUp\":e.keyCode==s.ARROW_UP)&&!n(e)}},sapupmodifiers:{sName:\"sapupmodifiers\",aTypes:[\"keydown\"],fnCheck:function(e){return(e.key?e.key===\"ArrowUp\":e.keyCode==s.ARROW_UP)&&n(e)}},saphide:{sName:\"saphide\",aTypes:[\"keydown\"],fnCheck:function(e){return(e.key?e.key===\"ArrowUp\":e.keyCode==s.ARROW_UP)&&r(e,false,true,false)}},sapleft:{sName:\"sapleft\",aTypes:[\"keydown\"],fnCheck:function(e){return(e.key?e.key===\"ArrowLeft\":e.keyCode==s.ARROW_LEFT)&&!n(e)}},sapleftmodifiers:{sName:\"sapleftmodifiers\",aTypes:[\"keydown\"],fnCheck:function(e){return(e.key?e.key===\"ArrowLeft\":e.keyCode==s.ARROW_LEFT)&&n(e)}},sapright:{sName:\"sapright\",aTypes:[\"keydown\"],fnCheck:function(e){return(e.key?e.key===\"ArrowRight\":e.keyCode==s.ARROW_RIGHT)&&!n(e)}},saprightmodifiers:{sName:\"saprightmodifiers\",aTypes:[\"keydown\"],fnCheck:function(e){return(e.key?e.key===\"ArrowRight\":e.keyCode==s.ARROW_RIGHT)&&n(e)}},saphome:{sName:\"saphome\",aTypes:[ Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/ResponsiveSplitterPage\", [\"./library\",\"sap/ui/core/Control\",\"sap/ui/core/Element\"],function(e,t,n){\"use strict\";var i=t.extend(\"sap.ui.layout.ResponsiveSplitterPage\",{metadata:{library:\"sap.ui.layout\",associations:{content:{type:\"sap.ui.core.Control\",multiple:false,singularName:\"content\"}}},renderer:{apiVersion:2,render:function(e,t){e.openStart(\"div\",t).class(\"sapUiResponsiveSplitterPage\").openEnd();var i=n.getElementById(t.getAssociation(\"content\"));if(i){e.renderControl(i)}e.close(\"div\")}}});i.prototype.containsControl=function(e){var t=n.getElementById(this.getAssociation(\"content\"));if(!t){return false}if(t.isA(\"sap.ui.layout.AssociativeSplitter\")){return t.containsControl(e)}return t.getId()===e};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/ResponsiveSplitterRenderer\", [\"sap/ui/core/IconPool\",\"sap/ui/core/Lib\"],function(t,e){\"use strict\";var a=e.getResourceBundleFor(\"sap.ui.layout\");var i={apiVersion:2};t.insertFontFaceStyle();i.render=function(t,e){t.openStart(\"div\",e).class(\"sapUiResponsiveSplitter\").style(\"width\",e.getWidth()).style(\"height\",e.getHeight()).openEnd();var a=e.getAggregation(\"_pages\");if(a){a.forEach(t.renderControl,t);this.renderPaginator(t,e)}t.close(\"div\")};i.renderPaginator=function(t,e){var i=e._getMaxPageCount(),s=e.getAggregation(\"_pages\")||[];if(i<=1){return}t.openStart(\"div\").attr(\"role\",\"navigation\").class(\"sapUiResponsiveSplitterPaginator\").openEnd();t.openStart(\"div\").class(\"sapUiResponsiveSplitterPaginatorNavButton\").class(\"sapUiResponsiveSplitterHiddenPaginatorButton\").class(\"sapUiResponsiveSplitterPaginatorButtonBack\").openEnd().close(\"div\");t.openStart(\"div\").class(\"sapUiResponsiveSplitterPaginatorButtons\").attr(\"role\",\"listbox\").attr(\"aria-multiselectable\",true).attr(\"aria-label\",a.getText(\"RESPONSIVE_SPLITTER_ARIA_PAGINATOR_LABEL\"));if(s.length>0){t.attr(\"aria-controls\",s[0].getParent().getId())}t.openEnd();for(var n=0;n=0&&a>=0&&s>=this._move.c1MinSize&&a>=this._move.c2MinSize;if(n){this._$SplitterOverlayBar.css(this._sizeDir,this._move.relStart+r);if(!this._liveResize){return}var o=this._move[\"start\"]-t[this._moveCord];if(this.getOrientation()==p.Horizontal&&this._bRtl){o=-o}this._resizeContents(this._move[\"barNum\"],-o,false)}};v.prototype._onBarMoveEnd=function(e){this._ignoreMouse=false;this._ignoreTouch=false;var t=e;if(e.changedTouches&&e.changedTouches[0]){t=t.changedTouches[0]}var i=t[this._moveCord];var r=this._move[\"start\"]-i;if(this.getOrientation()==p.Horizontal&&this._bRtl){r=-r}this._resizeContents(this._move[\"barNum\"],-r,true);this._move.$bar.css(\"visibility\",\"\");this._$SplitterOverlay.css(\"display\",\"\");document.removeEventListener(\"mouseup\",this._boundBarMoveEnd);document.removeEventListener(\"mousemove\",this._boundBarMove);document.removeEventListener(\"touchend\",this._boundBarMoveEnd);document.removeEventListener(\"touchmove\",this._boundBarMove);this._enableAutoResize(true);if(this._move.$bar){this._move.$bar.trigger(\"focus\")}};v.prototype._resizeContents=function(e,t,i){if(isNaN(t)){d.warning(\"Splitter: Received invalid resizing values - resize aborted.\");return}var r=this._getContentAreas();var s=r[e].getLayoutData();var a=r[e+1].getLayoutData();var n=s.getSize();var o=a.getSize();var h=this.$(\"content-\"+e);var l=this.$(\"content-\"+(e+1));var u=parseFloat(this._move.c1Size).toFixed(5);var c=parseFloat(this._move.c2Size).toFixed(5);var p=parseFloat(u)+t;var _=parseFloat(c)-t;var v=parseInt(s.getMinSize());var f=parseInt(a.getMinSize());var z,g;var y;if(p0){var p=c&&o;i=this.$(\"splitbar-\"+(t-1));i.toggleClass(\"sapUiLoSplitterNoResize\",!p);i.attr(\"tabindex\",p&&this._keyboardEnabled?\"0\":\"-1\")}o=c}this._resizeBars(r);if(f(s,a)){this.fireResize({oldSizes:s,newSizes:a})}};v.prototype._getTotalSize=function(){return this._bHorizontal?this.$().innerWidth():this.$().innerHeight()};v.prototype._calcAvailableContentSize=function(){return this._getTotalSize()-this._calcBarsSize()};v.prototype._calcBarsSize=function(){var e=0,t=this._getContentAreas().length-1;for(var i=0;i-1){c=parseFloat(u)*_;n-=c;this._calculatedSizes[e]=c}else if(u.indexOf(\"px\")>-1){c=parseInt(u);n-=c;this._calculatedSizes[e]=c}else if(u.indexOf(\"%\")>-1){l.push(e)}else if(u===\"auto\"){if(a[e].getLayoutData().getMinSize()!==0){h.push(e)}else{o.push(e)}}else{d.error(\"Illegal size value: \"+s[e])}}var p=false;if(n<0){p=true;n=0}n=this._calcPercentBasedSizes(l,n);if(n<0){p=true;n=0}var v=Math.floor(n/(h.length+o.length),0);for(e=0;en){t=n}if(t=0;l--){var u=e[l],d=i[u],c=this._calculatedSizes[u],p=d.getLayoutData();if(p._isMarked()){var _=c-h;if(_{\"use strict\";const t=new Set;const n=e=>{if(i(e.target)){e.preventDefault()}};let s=false;function i(e){return!!e.closest(\".sapUiLoSplitterBar\")}function u(){document.addEventListener(\"touchstart\",n,{passive:false})}function a(){document.removeEventListener(\"touchstart\",n)}function c(n){t.add(n);if(e.support.touch&&!s){u();s=true}}function o(e){t.delete(e);if(t.size===0){a();s=false}}return{addInstance:c,removeInstance:o}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/AddFormContainer\", [\"sap/ui/fl/changeHandler/Base\",\"sap/ui/core/util/reflection/JsControlTreeModifier\"],function(e,r){\"use strict\";var t={};t.applyChange=function(r,t,o){var n=o.modifier;var a=o.appComponent;var i=o.view;var l=r.getContent();var u=r.getTexts();if(u&&u.groupLabel&&u.groupLabel.value&&l&&l.group&&(l.group.selector||l.group.id)){var s=u.groupLabel.value;var p=l.group.index;var g=l.group.selector||{id:l.group.id};var c=Object.assign({},g);c.id=c.id+\"--title\";r.setRevertData({newGroupSelector:g});if(n.bySelector(c,a)){return e.markAsNotApplicable(\"Control to be created already exists:\"+c)}else if(n.bySelector(g,a)){return e.markAsNotApplicable(\"Control to be created already exists:\"+g)}return Promise.resolve().then(function(){return Promise.all([n.createControl(\"sap.ui.core.Title\",a,i,c),n.createControl(\"sap.ui.layout.form.FormContainer\",a,i,g)])}).then(function(e){var r=e[0];var o=e[1];n.setProperty(r,\"text\",s);return Promise.resolve().then(n.insertAggregation.bind(n,o,\"title\",r,0,i)).then(n.insertAggregation.bind(n,t,\"formContainers\",o,p,i))})}else{return Promise.resolve()}};t.completeChangeContent=function(e,t,o){var n=o.appComponent;if(t.newLabel){e.setText(\"groupLabel\",t.newLabel,\"XFLD\")}else{throw new Error(\"Cannot create a new group: oSpecificChangeInfo.groupLabel attribute required\")}var a={group:{}};if(t.index===undefined){throw new Error(\"Cannot create a new group: oSpecificChangeInfo.index attribute required\")}else{a.group.index=t.index}if(t.newControlId){a.group.selector=r.getSelector(t.newControlId,n)}else{throw new Error(\"Cannot create a new group: oSpecificChangeInfo.newControlId attribute required\")}e.setContent(a)};t.revertChange=function(e,r,t){var o=t.appComponent;var n=t.view;var a=t.modifier;var i=e.getRevertData().newGroupSelector;var l=a.bySelector(i,o,n);return Promise.resolve().then(function(){return a.removeAggregation(r,\"formContainers\",l)}).then(function(){a.destroy(l);e.resetRevertData()})};t.getChangeVisualizationInfo=function(e){var r=e.getText(\"groupLabel\");return r?{descriptionPayload:{originalLabel:r}}:{}};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/AddFormField\", [\"sap/ui/fl/changeHandler/BaseAddViaDelegate\"],function(e){\"use strict\";var n=e.createAddViaDelegateChangeHandler({addProperty:function(e){var n=e.innerControls;var r=e.modifier;var t=e.view;var a=e.appComponent;var o=e.change;var i=o.getContent();var l=i.newFieldIndex;var u=i.newFieldSelector;var d;var g;return Promise.resolve().then(function(){if(!n.layoutControl){return Promise.resolve().then(r.createControl.bind(r,\"sap.ui.layout.form.FormElement\",a,t,u)).then(function(e){d=e;return Promise.all([r.insertAggregation(d,\"label\",n.label,0,t),r.insertAggregation(d,\"fields\",n.control,0,t)])})}d=n.control;return undefined}).then(function(){g=o.getDependentControl(\"parentFormContainer\",e);return r.insertAggregation(g,\"formElements\",d,l,t)}).then(function(){if(n.valueHelp){return r.insertAggregation(g,\"dependents\",n.valueHelp,0,t)}return undefined})},aggregationName:\"formElements\",parentAlias:\"parentFormContainer\",fieldSuffix:\"-field\"});return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/AddSimpleFormField\", [\"sap/ui/fl/changeHandler/BaseAddViaDelegate\",\"sap/ui/core/util/reflection/JsControlTreeModifier\"],function(e,t){\"use strict\";var r=\"sap.ui.core.Title\";var n=\"sap.m.Toolbar\";var a=\"sap.m.Label\";var o=\"sap.ui.comp.smartfield.SmartLabel\";function i(e,t){var i=t.change;var l=t.modifier;var g=i.getContent();var c=g.newFieldIndex;var d=i.getDependentControl(\"targetContainerHeader\",t);var v=e.indexOf(d);var s=0;var f=0;if(e.length===1||e.length===v+1){s=e.length}else{var u=0;for(u=v+1;u-1){a++;if(a===o){i=t[u];return t.indexOf(i)}}}return t.length})};t.applyChange=function(r,n,i){var a=i.modifier;var u=i.view;var l=i.appComponent;var f;var g=r.getTexts();var c=r.getContent();if(g&&g.groupLabel&&g.groupLabel.value&&c&&c.group&&(c.group.selector||c.group.id)){var d=c.group.selector;var p;if(d){if(d.idIsLocal){p=l.createId(d.id)}else{p=d.id}}else{p=c.group.id}r.setRevertData({groupId:p});var s=g.groupLabel.value;var v;return Promise.resolve().then(function(){return a.getAggregation(n,t.CONTENT_AGGREGATION)}).then(function(e){if(typeof c.group.index===\"number\"){return c.group.index}else{v=c.group.relativeIndex;return o(a,[\"sap.ui.core.Title\",\"sap.m.Title\",\"sap.m.Toolbar\",\"sap.m.OverflowToolbar\"],e,v)}}).then(function(r){f=r;if(a.bySelector(p,l)){return e.markAsNotApplicable(\"Control to be created already exists:\"+p)}return a.createControl(\"sap.ui.core.Title\",l,u,p)}).then(function(e){a.setProperty(e,\"text\",s);return a.insertAggregation(n,\"content\",e,f,u)})}};t.completeChangeContent=function(e,t,n){var o=n.appComponent;var i={group:{}};if(t.newLabel){e.setText(\"groupLabel\",t.newLabel,\"XFLD\")}else{throw new Error(\"oSpecificChangeInfo.newLabel attribute required\")}if(t.newControlId){i.group.selector=r.getSelector(t.newControlId,o)}else{throw new Error(\"oSpecificChangeInfo.newControlId attribute required\")}if(t.index===undefined){throw new Error(\"oSpecificChangeInfo.index attribute required\")}else{i.group.relativeIndex=t.index}e.setContent(i)};t.getControlIdFromChangeContent=function(e){var r;if(e&&e.getContent()){r=e.getContent().group.id}return r};t.revertChange=function(e,r,n){var o=n.appComponent;var i=n.view;var a=n.modifier;var u=e.getRevertData().groupId;var l=a.getSelector(u,o);var f=a.bySelector(l,o,i);return Promise.resolve().then(function(){return a.removeAggregation(r,t.CONTENT_AGGREGATION,f)}).then(function(){a.destroy(f);e.resetRevertData()})};t.getChangeVisualizationInfo=function(e,t){var n=e.getContent().group.selector;var o=r.bySelector(n,t).getParent().getId();var i=e.getText(\"groupLabel\");return{affectedControls:[o],updateRequired:true,descriptionPayload:{originalLabel:i}}};t.getCondenserInfo=function(){return undefined};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/HideSimpleForm\", [\"sap/ui/core/Element\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/base/Log\"],function(e,t,n){\"use strict\";var r={};var o=function(e,t){var n=t.getControlType(e);return n===\"sap.ui.core.Title\"||n===\"sap.m.Title\"||n===\"sap.m.Toolbar\"||n===\"sap.m.OverflowToolbar\"};var i=function(e,t){var n;for(n=0;n=0&&t>n){if(s.getControlType(e)===\"sap.m.Label\"||s.getControlType(e)===\"sap.ui.comp.smartfield.SmartLabel\"||o(e,s)){return true}else{s.setVisible(e,false)}}})}else if(r===\"removeSimpleFormGroup\"){var a=[];var u=i(f,s);var g=u&&!c;f.some(function(e,r){if(!u){s.setVisible(e,false)}else if(g){n=0;s.setVisible(e,false);g=false}else{if(e===c){n=r}if(n>=0&&r>n){if(o(e,s)){if(n===0){a.push(function(){return Promise.resolve().then(s.removeAggregation.bind(s,t,\"content\",e,l))});a.push(function(){return Promise.resolve().then(s.insertAggregation.bind(s,t,\"content\",e,0,l))})}return true}else{s.setVisible(e,false)}}}});if(c){a.push(function(){return Promise.resolve().then(s.removeAggregation.bind(s,t,\"content\",c,l))});a.push(function(){return Promise.resolve().then(s.insertAggregation.bind(s,t,\"dependents\",c,0,l))})}if(a.length>0){return a.reduce(function(e,t){return e.then(t)},Promise.resolve())}}return Promise.resolve()}).catch(function(t){e.resetRevertData();n.error(t.message||t.name)})};r._getStableElement=function(e){if(e.getMetadata().getName()===\"sap.ui.layout.form.FormContainer\"){return e.getTitle()||e.getToolbar()}else if(e.getMetadata().getName()===\"sap.ui.layout.form.FormElement\"){return e.getLabel()}else{return e}};r.completeChangeContent=function(n,r,o){if(r.removedElement&&r.removedElement.id){var i=this._getStableElement(e.getElementById(r.removedElement.id));n.setContent({elementSelector:t.getSelector(i,o.appComponent)});n.addDependentControl(i,\"elementSelector\",o)}else{throw new Error(\"oSpecificChangeInfo.removedElement.id attribute required\")}};r._getState=function(e,t,n){return Promise.resolve().then(function(){return t.getAggregation(e,\"content\")}).then(function(e){if(!e){return Promise.reject(new Error(\"Cannot get control state: 'content' aggregation doesn't exist\"))}return{content:e.map(function(r){return{elementSelector:t.getSelector(t.getId(r),n),visible:r.getVisible?r.getVisible():undefined,index:e.indexOf(r)}})}})};r.revertChange=function(e,t,n){var r=e.getRevertData();var o=n.appComponent;var i=n.modifier;return Promise.resolve().then(i.removeAllAggregation.bind(i,t,\"content\")).then(function(){return r.content.reduce(function(e,r){var a=i.bySelector(r.elementSelector,o,n.view);var s=i.getId(a);return e.then(i.getAggregation.bind(i,t,\"dependents\")).then(function(e){var r=Promise.resolve();e.some(function(e){var o=i.getId(e);if(o===s){r=r.then(i.removeAggregation.bind(i,t,\"dependents\",e,n.view));return true}});return r}).then(i.insertAggregation.bind(i,t,\"content\",a,r.index,n.view)).then(function(){i.setProperty(a,\"visible\",r.visible)})},Promise.resolve()).then(function(){e.resetRevertData()})})};r.getChangeVisualizationInfo=function(e,n){const r=e.getContent().elementSelector;const o=e.getSelector();const i=t.bySelector(o,n);const a=t.bySelector(r,n);const s=a.getParent();let l=i.getId();if(s.isA(\"sap.ui.layout.form.FormElement\")){if(a.getVisible()){l=s.getId()}}return{affectedControls:[a.getId()],displayControls:[l],updateRequired:true}};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/MoveSimpleForm\", [\"sap/ui/core/Element\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/base/util/uid\",\"sap/base/Log\"],function(e,t,n,o){\"use strict\";const r={};const c=\"moveSimpleFormField\";const i=\"moveSimpleFormGroup\";const l=\"sap.ui.core.Title\";const s=\"sap.m.Title\";const u=\"sap.m.Toolbar\";const a=\"sap.m.OverflowToolbar\";const d=\"sap.m.Label\";const g=\"sap.ui.comp.smartfield.SmartLabel\";const p=\"content\";const f=\"sap.ui.layout.form.FormContainer\";function m(e,t,n){return n.reduce(function(n,o){return n.then(function(n){if(n!==undefined){return n}const r=e.getControlType(o);if(t.indexOf(r)===-1){return Promise.resolve().then(e.getVisible.bind(e,o)).then(function(e){return e||undefined})}else{return false}})},Promise.resolve())}function C(e,t,n,o,r,c,i){return m(t,c,n).then(function(n){if(n){const n=r.view;const c=r.appComponent;let s;return Promise.resolve().then(t.createControl.bind(t,l,c,n,i)).then(function(e){s=e;t.setProperty(s,\"text\",\"\");return t.insertAggregation(o,p,s,0,n)}).then(function(){const t=e.getRevertData();t.createdTitleSelector=r.modifier.getSelector(s,r.appComponent);e.setRevertData(t)})}return Promise.resolve()}).then(function(){return t.getAggregation(o,p)})}function S(e,t,n,o){let r;let c=-1;return m(e,t,n).then(function(i){if(i){c++}for(let i=0;i-1){c++;if(c===o){r=n[i];break}}}return n.indexOf(r)})}function h(e,t,n){if(t>=e.length||t===-1){return true}const o=n.getControlType(e[t]);return l===o||u===o||s===o||a===o}function v(e,t,n,o){let r=0;for(r=t+1;r-1){break}}return r-t}function I(e,t,n){return v(e,n,t,[l,s,u,a,d,g])}function y(e,t,n,r,c){if(!h(t,n,e)){o.error(\"Illegal argument. iIndex has to point to a Label.\");return-1}else{r=c?r+1:r;let o=0;let i=n;let l;while(is){S=h.slice(0,s+u);v=h.slice(s+u,n);b=h.slice(n+o,h.length);h=S.concat(a.concat(v.concat(b)))}if(n!=s){return w(d,t,r,h,p,g)}}else if(e.getChangeType()===i){const o=[l,u,s,a];const c=d.bySelector(P.elementSelector||P.element,f,g);return Promise.resolve().then(function(){if(P.target.groupIndex===0||!c){return C(e,d,p,t,n,o,T.newControlId).then(function(e){p=e})}return undefined}).then(function(){x=c?p.indexOf(c):0;return S(d,o,p,P.target.groupIndex)}).then(function(e){m=p[e];const n=v(d,e,p,o);const c=v(d,x,p,o);h=p.slice();h.splice(x,c);e=h.indexOf(m);const i=P.source.groupIndex1){o.warning(\"Moving more than 1 Formelement is not yet supported.\")}const g=d[0];g.element=e.getElementById(g.id);const p=Object.assign({},r.source);const f=Object.assign({},r.target);if(!f.parent){f.parent=e.getElementById(f.id)}if(!p.parent){p.parent=e.getElementById(p.id)}if(a&&g.element&&f.parent){if(r.changeType===\"moveSimpleFormGroup\"){i=T(a,g,c)}else if(r.changeType===\"moveSimpleFormField\"){i=P(a,g,p,f,c)}}else{o.error(\"Element not found. This may be caused by an unstable id!\")}const m={targetSelector:i.targetSelector,movedElements:i.movedElements,newControlId:l.getSelector(s.createId(n()),u)};t.setContent(m);if(i.source&&i.target){t.addDependentControl(i.source,\"sourceParent\",c);t.addDependentControl(i.target,\"targetParent\",c)}if(i.movedControl){t.addDependentControl([i.movedControl],\"movedElements\",c)}};r.revertChange=function(e,t,n){const o=n.modifier;const c=n.appComponent;const i=n.view;const l=e.getRevertData();const s=l.content;return o.getAggregation(t,p).then(function(u){const a=s.map(function(e){return o.bySelector(e,c,i)});return w(o,t,r,a,u,i).then(function(){const t=l.createdTitleSelector;const o=n.modifier.bySelector(t,n.appComponent);if(o){o.destroy()}e.resetRevertData();return true})})};r.getChangeVisualizationInfo=function(e,n){let o;const r=e.getContent().movedElements[0];if(r.elementSelector.id){o=t.bySelector(r.elementSelector,n)}else if(e.getContent().newControlId){o=t.bySelector(e.getContent().newControlId,n)}let i=r.source.groupSelector?{...r.source.groupSelector}:{};const l=r.target.groupSelector?{...r.target.groupSelector}:{};if(e.getChangeType()===c){const e=t.bySelector(i,n);const o=t.bySelector(r.target.groupSelector,n);if(e&&e.isA(f)){i.id=e.getId()}else{i.id=e?e.getParent().getId():null}if(o&&o.isA(f)){l.id=o.getId()}else{l.id=o?o.getParent().getId():null}}else if(!i&&h([o],0,t)){const e=o.getParent();i={id:e.getId()}}const s=o.getParent().getId();return{affectedControls:[s],dependentControls:[i&&i.id?i:e.getContent().targetSelector],updateRequired:true,descriptionPayload:{sourceContainer:i.id,targetContainer:l.id}}};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/RenameFormContainer\", [],function(){\"use strict\";var e={};var t={TARGET_ALIAS:\"target\"};e.applyChange=function(e,r,n){var o=n.modifier,i=e.getTexts(),a=e.getDependentControl(t.TARGET_ALIAS,n);return Promise.resolve().then(function(){return o.getAggregation(a,\"title\")}).then(function(t){if(i&&i.formText&&this._isProvided(i.formText.value)){var r=i.formText.value;var n;if(typeof t===\"string\"){n=Promise.resolve(o.getProperty(a,\"title\")).then(function(t){e.setRevertData(t);o.setProperty(a,\"title\",r)})}else{n=Promise.resolve(o.getProperty(t,\"text\")).then(function(n){e.setRevertData(n);o.setProperty(t,\"text\",r)})}return n}}.bind(this))};e.completeChangeContent=function(e,r,n){if(!(r.renamedElement&&r.renamedElement.id)){throw new Error(\"Rename of the group cannot be executed: oSpecificChangeInfo.renamedElement attribute required\")}if(!this._isProvided(r.value)){throw new Error(\"Rename of the group cannot be executed: oSpecificChangeInfo.value attribute required\")}e.addDependentControl(r.renamedElement.id,t.TARGET_ALIAS,n);e.setText(\"formText\",r.value,\"XGRP\")};e.revertChange=function(e,r,n){var o=e.getRevertData(),i=n.modifier,a=e.getDependentControl(t.TARGET_ALIAS,n);return Promise.resolve().then(function(){return i.getAggregation(a,\"title\")}).then(function(t){if(typeof t===\"string\"){i.setProperty(a,\"title\",o)}else{i.setProperty(t,\"text\",o)}e.resetRevertData()})};e._isProvided=function(e){return typeof e===\"string\"};return e},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/RenameFormElement\", [\"sap/ui/fl/changeHandler/condenser/Classification\"],function(e){\"use strict\";var t={};var n=function(e){return typeof e===\"string\"};t.applyChange=function(e,t,n){var r=n.modifier,a=e.getText(\"fieldLabel\");return Promise.resolve().then(function(){return r.getAggregation(t,\"label\")}).then(function(n){if(typeof n===\"string\"){e.setRevertData(n);return r.setProperty(t,\"label\",a)}return r.getProperty(n,\"text\").then(function(t){e.setRevertData(t);r.setProperty(n,\"text\",a)})})};t.completeChangeContent=function(e,t,r){if(!(t.renamedElement&&t.renamedElement.id)){throw new Error(\"Rename of label cannot be executed: oSpecificChangeInfo.renamedElement attribute required\")}if(!n(t.value)){throw new Error(\"Rename of label cannot be executed: oSpecificChangeInfo.value attribute required\")}e.setText(\"fieldLabel\",t.value,\"XGRP\")};t.revertChange=function(e,t,n){var r=e.getRevertData(),a=n.modifier;return Promise.resolve().then(function(){return a.getAggregation(t,\"label\")}).then(function(n){if(typeof n===\"string\"){a.setProperty(t,\"label\",r)}else{a.setProperty(n,\"text\",r)}e.resetRevertData()})};t.getChangeVisualizationInfo=function(e){var t=e.getText(\"fieldLabel\");return{descriptionPayload:{originalLabel:e.getRevertData(),newLabel:t}}};t.getCondenserInfo=function(t){return{affectedControl:t.getSelector(),classification:e.LastOneWins,uniqueKey:\"label\"}};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/RenameSimpleForm\", [\"sap/ui/core/Element\",\"sap/ui/core/util/reflection/JsControlTreeModifier\",\"sap/base/Log\"],function(e,t,r){\"use strict\";var n={};n.applyChange=function(e,t,r){var n=r.modifier;var o=r.view;var a=r.appComponent;var i=e.getTexts();var l=e.getContent();var d=l.elementSelector||l.sRenameId;var v=n.bySelector(d,a,o);if(i&&i.formText&&this._isProvided(i.formText.value)){if(!t){return Promise.reject(new Error(\"no Control provided for renaming\"))}return n.getPropertyBindingOrProperty(v,\"text\").then(function(t){e.setRevertData(t);var r=i.formText.value;n.setPropertyBindingOrProperty(v,\"text\",r)})}else{return Promise.resolve()}};n.revertChange=function(e,t,n){var o=e.getRevertData();var a=n.appComponent;var i=e.getContent();var l=n.view;var d=n.modifier;var v=i.elementSelector||i.sRenameId;var f=d.bySelector(v,a,l);if(o||o===\"\"){d.setPropertyBindingOrProperty(f,\"text\",o);f.getParent().invalidate();e.resetRevertData()}else{r.error(\"Change doesn't contain sufficient information to be reverted. Most Likely the Change didn't go through applyChange.\")}};n.completeChangeContent=function(r,n,o){var a={};if(!n.changeType){throw new Error(\"oSpecificChangeInfo.changeType attribute required\")}if(n.renamedElement&&n.renamedElement.id){var i=e.getElementById(n.renamedElement.id);var l;if(n.changeType===\"renameLabel\"){l=i.getLabel()}else if(n.changeType===\"renameTitle\"){l=i.getTitle()}a.elementSelector=t.getSelector(l,o.appComponent);r.addDependentControl(l,\"elementSelector\",o)}else{throw new Error(\"oSpecificChangeInfo.renamedElement attribute required\")}if(this._isProvided(n.value)){r.setText(\"formText\",n.value,\"XFLD\")}else{throw new Error(\"oSpecificChangeInfo.value attribute required\")}r.setContent(a)};n._isProvided=function(e){return typeof e===\"string\"};n.getChangeVisualizationInfo=function(e,r){var n=e.getContent().elementSelector;var o=t.bySelector(n,r).getParent().getId();return{affectedControls:[o],updateRequired:true,descriptionPayload:{originalLabel:e.getRevertData(),newLabel:e.getTexts().formText.value}}};return n},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/changeHandler/UnhideSimpleForm\", [\"sap/ui/core/Element\",\"sap/ui/core/util/reflection/JsControlTreeModifier\"],function(e,t){\"use strict\";var r={};function n(e){return e.modifier.targets===\"xmlTree\"}r.applyChange=function(e,t,r){var o=r.modifier;var i=r.view;var l=r.appComponent;var a=e.getContent();if(n(r)){return Promise.reject(Error(\"Change cannot be applied in XML. Retrying in JS.\"))}var s=o.bySelector(a.elementSelector||a.sUnhideId,l,i);return Promise.resolve().then(function(){return o.getAggregation(t,\"content\")}).then(function(t){var r=-1;if(e.getChangeType()===\"unhideSimpleFormField\"){e.setRevertData(true);t.some(function(e,t){if(e===s){r=t;o.setVisible(e,true)}if(r>=0&&t>r){if(o.getControlType(e)===\"sap.m.Label\"||o.getControlType(e)===\"sap.ui.comp.smartfield.SmartLabel\"||o.getControlType(e)===\"sap.ui.core.Title\"||o.getControlType(e)===\"sap.m.Title\"||o.getControlType(e)===\"sap.m.Toolbar\"||o.getControlType(e)===\"sap.m.OverflowToolbar\"){return true}o.setVisible(e,true)}})}})};r.completeChangeContent=function(r,n,o){var i={};if(n.sUnhideId){var l=e.getElementById(n.sUnhideId);i.elementSelector=t.getSelector(l,o.appComponent);r.addDependentControl(l,\"elementSelector\",o)}else if(n.revealedElementId){var a=e.getElementById(n.revealedElementId||n.sUnhideId);var s=a.getLabel();i.elementSelector=t.getSelector(s,o.appComponent);r.addDependentControl(s,\"elementSelector\",o)}else{throw new Error(\"oSpecificChangeInfo.revealedElementId attribute required\")}r.setContent(i)};r.revertChange=function(e,t,r){var n=r.modifier;var o=r.view;var i=r.appComponent;var l=e.getContent();var a=n.bySelector(l.elementSelector||l.sUnhideId,i,o);return Promise.resolve().then(function(){return n.getAggregation(t,\"content\")}).then(function(t){var r=-1;if(e.getChangeType()===\"unhideSimpleFormField\"){t.some(function(e,t){if(e===a){r=t;n.setVisible(e,false)}if(r>=0&&t>r){if(n.getControlType(e)===\"sap.m.Label\"||n.getControlType(e)===\"sap.ui.comp.smartfield.SmartLabel\"||n.getControlType(e)===\"sap.ui.core.Title\"||n.getControlType(e)===\"sap.m.Title\"||n.getControlType(e)===\"sap.m.Toolbar\"||n.getControlType(e)===\"sap.m.OverflowToolbar\"){return true}n.setVisible(e,false)}});e.resetRevertData()}return Promise.resolve()})};r.getChangeVisualizationInfo=function(e,r){const n=e.getContent().elementSelector;const o=e.getSelector();const i=t.bySelector(n,r);const l=i.getParent();const a=t.bySelector(o,r);const s={affectedControls:[l.getId()],updateRequired:true};if(!i.getVisible()){s.displayControls=[a.getId()]}return s};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/CSSGrid\", [\"sap/ui/core/Control\",\"sap/ui/layout/cssgrid/GridLayoutBase\",\"sap/ui/layout/cssgrid/GridBasicLayout\",\"sap/ui/layout/cssgrid/GridLayoutDelegate\",\"./CSSGridRenderer\",\"sap/ui/base/ManagedObjectObserver\",\"sap/ui/layout/library\"],function(e,t,i,a,r,o){\"use strict\";var s=e.extend(\"sap.ui.layout.cssgrid.CSSGrid\",{metadata:{library:\"sap.ui.layout\",defaultAggregation:\"items\",interfaces:[\"sap.ui.layout.cssgrid.IGridConfigurable\"],properties:{width:{type:\"sap.ui.core.CSSSize\",defaultValue:\"100%\"},gridTemplateColumns:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridTemplateRows:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridRowGap:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},gridColumnGap:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},gridGap:{type:\"sap.ui.core.CSSGapShortHand\",defaultValue:\"\"},gridAutoRows:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridAutoColumns:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridAutoFlow:{type:\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",defaultValue:\"Row\"}},aggregations:{customLayout:{type:\"sap.ui.layout.cssgrid.GridLayoutBase\",multiple:false},items:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"item\",dnd:true}},dnd:{draggable:false,droppable:true}},renderer:r});s.prototype.getGridDomRefs=function(){return[this.getDomRef()]};s.prototype.getGridLayoutConfiguration=function(){if(this.getCustomLayout()){return this.getCustomLayout()}else{return this._getDefaultGridLayout()}};s.prototype._getDefaultGridLayout=function(){var e=new i({gridTemplateColumns:this.getGridTemplateColumns(),gridTemplateRows:this.getGridTemplateRows(),gridRowGap:this.getGridRowGap(),gridColumnGap:this.getGridColumnGap(),gridGap:this.getGridGap(),gridAutoRows:this.getGridAutoRows(),gridAutoColumns:this.getGridAutoColumns(),gridAutoFlow:this.getGridAutoFlow()});return e};s.prototype.init=function(){this._oItemDelegate={onAfterRendering:this._onAfterItemRendering};this._oGridObserver=new o(this._onGridChange.bind(this));this._oGridObserver.observe(this,{aggregations:[\"items\"]});this._addGridLayoutDelegate()};s.prototype.exit=function(){this._removeGridLayoutDelegate();if(this._oGridObserver){this._oGridObserver.disconnect();this._oGridObserver=null}};s.prototype._addGridLayoutDelegate=function(){if(!this.oGridLayoutDelegate){this.oGridLayoutDelegate=new a;this.addDelegate(this.oGridLayoutDelegate,false,this,false)}};s.prototype._removeGridLayoutDelegate=function(){if(this.oGridLayoutDelegate){this.removeDelegate(this.oGridLayoutDelegate);this.oGridLayoutDelegate.destroy();this.oGridLayoutDelegate=null}};s.prototype._onGridChange=function(e){var t;if(e.name!==\"items\"||!e.child){return}if(e.mutation===\"insert\"){t=!e.child.isA(\"sap.ui.core.HTML\");e.child.addDelegate(this._oItemDelegate,t,e.child)}else if(e.mutation===\"remove\"){e.child.removeEventDelegate(this._oItemDelegate,e.child)}};s.prototype._onAfterItemRendering=function(){t.setItemStyles(this)};s.prototype.onLayoutDataChange=function(e){t.setItemStyles(e.srcControl)};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/CSSGridRenderer\", [],function(){\"use strict\";var t={apiVersion:2};t.render=function(t,e){t.openStart(\"div\",e).class(\"sapUiLayoutCSSGrid\");if(e.getWidth()){t.style(\"width\",e.getWidth())}e.getGridLayoutConfiguration().addGridStyles(t);t.openEnd();e.getItems().forEach(t.renderControl,t);t.close(\"div\")};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/GridBasicLayout\", [\"sap/ui/layout/cssgrid/GridLayoutBase\",\"sap/ui/layout/cssgrid/GridSettings\",\"sap/ui/layout/library\"],function(t,i){\"use strict\";var a=t.extend(\"sap.ui.layout.cssgrid.GridBasicLayout\",{metadata:{library:\"sap.ui.layout\",properties:{gridTemplateColumns:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridTemplateRows:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridRowGap:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},gridColumnGap:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},gridGap:{type:\"sap.ui.core.CSSGapShortHand\",defaultValue:\"\"},gridAutoRows:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridAutoColumns:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridAutoFlow:{type:\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",defaultValue:\"Row\"}}}});a.prototype.getActiveGridSettings=function(){return new i({gridTemplateColumns:this.getGridTemplateColumns(),gridTemplateRows:this.getGridTemplateRows(),gridRowGap:this.getGridRowGap(),gridColumnGap:this.getGridColumnGap(),gridGap:this.getGridGap(),gridAutoRows:this.getGridAutoRows(),gridAutoColumns:this.getGridAutoColumns(),gridAutoFlow:this.getGridAutoFlow()})};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/GridBoxLayout\", [\"sap/ui/core/Element\",\"sap/ui/layout/cssgrid/GridLayoutBase\",\"sap/ui/layout/cssgrid/GridSettings\",\"sap/ui/Device\",\"sap/ui/thirdparty/jquery\"],function(t Copyright 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/FilterOperator\", function(){\"use strict\";var t={EQ:\"EQ\",NE:\"NE\",LT:\"LT\",LE:\"LE\",GT:\"GT\",GE:\"GE\",BT:\"BT\",NB:\"NB\",Contains:\"Contains\",NotContains:\"NotContains\",StartsWith:\"StartsWith\",NotStartsWith:\"NotStartsWith\",EndsWith:\"EndsWith\",NotEndsWith:\"NotEndsWith\",All:\"All\",NotAll:\"NotAll\",Any:\"Any\",NotAny:\"NotAny\"};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/FilterProcessor\", [\"./Filter\",\"sap/base/Log\"],function(e,r){\"use strict\";var t={};t.groupFilters=function(r){var t,n={},i=[];function a(r,t){if(r.length===1){return r[0]}if(r.length>1){return new e(r,t)}return undefined}if(!r||r.length===0){return undefined}if(r.length===1){return r[0]}e.checkFilterNone(r);r.forEach(function(e){if(e.aFilters||e.sVariable){t=\"__multiFilter\"}else{t=e.sPath}if(!n[t]){n[t]=[]}n[t].push(e)});for(var u in n){i.push(a(n[u],u===\"__multiFilter\"))}return a(i,true)};t.combineFilters=function(r,n){var i,a,u,f=[];i=t.groupFilters(r);a=t.groupFilters(n);if(i===e.NONE||a===e.NONE){return e.NONE}if(i){f.push(i)}if(a){f.push(a)}if(f.length===1){u=f[0]}else if(f.length>1){u=new e(f,true)}return u};t.apply=function(e,r,t,n){var i=Array.isArray(r)?this.groupFilters(r):r,a,u=this;if(n){if(!n[true]){n[true]={};n[false]={}}}else{n={true:{},false:{}}}this._normalizeCache=n;if(!e){return[]}else if(!i){return e.slice()}a=e.filter(function(e){return u._evaluateFilter(i,e,t)});return a};t._evaluateFilter=function(e,r,t){var n,i;if(e.aFilters){return this._evaluateMultiFilter(e,r,t)}n=t(r,e.sPath);i=this.getFilterFunction(e);if(!e.fnCompare||e.bCaseSensitive!==undefined){n=this.normalizeFilterValue(n,e.bCaseSensitive)}if(n!==undefined&&i(n)){return true}return false};t._evaluateMultiFilter=function(e,r,t){var n=this,i=!!e.bAnd,a=e.aFilters,u,f,s=i;for(var l=0;l=0&&a(e,i)<=0};switch(t.sOperator){case\"EQ\":t.fnTest=function(e){return a(e,n)===0};break;case\"NE\":t.fnTest=function(e){return a(e,n)!==0};break;case\"LT\":t.fnTest=function(e){return a(e,n)<0};break;case\"LE\":t.fnTest=function(e){return a(e,n)<=0};break;case\"GT\":t.fnTest=function(e){return a(e,n)>0};break;case\"GE\":t.fnTest=function(e){return a(e,n)>=0};break;case\"BT\":t.fnTest=l;break;case\"NB\":t.fnTest=function(e){return!l(e)};break;case\"Contains\":t.fnTest=u;break;case\"NotContains\":t.fnTest=function(e){return!u(e)};break;case\"StartsWith\":t.fnTest=f;break;case\"NotStartsWith\":t.fnTest=function(e){return!f(e)};break;case\"EndsWith\":t.fnTest=s;break;case\"NotEndsWith\":t.fnTest=function(e){return!s(e)};break;default:r.error('The filter operator \"'+t.sOperator+'\" is unknown, filter will be ignored.');t.fnTest=function(e){return true}}return t.fnTest};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/FilterType\", function(){\"use strict\";var t={Application:\"Application\",Control:\"Control\"};return t},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/FormatException\", [\"sap/ui/base/Exception\"],function(t){\"use strict\";var e=function(t){this.name=\"FormatException\";this.message=t};e.prototype=Object.create(t.prototype);return e},true);\n/*!\n\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/ListBinding\", [\"./Binding\",\"./Filter\",\"./FilterType\",\"./Sorter\",\"sap/base/util/array/diff\"],function(t,e,n,i,r){\"use strict\";var o=t.extend(\"sap.ui.model.ListBinding\",{constructor:function(n,r,o,a,u,h){t.call(this,n,r,o,h);this.aSorters=s(a,i);this.aFilters=[];e.checkFilterNone(u);this.aApplicationFilters=s(u,e);this.oCombinedFilter=null;this.bUseExtendedChangeDetection=false;this.bDetectUpdates=true;this.oExtendedChangeDetectionConfig=undefined},metadata:{abstract:true,publicMethods:[\"getContexts\",\"getCurrentContexts\",\"sort\",\"attachSort\",\"detachSort\",\"filter\",\"attachFilter\",\"detachFilter\",\"getDistinctValues\",\"isGrouped\",\"getLength\",\"isLengthFinal\"]}});function s(t,e){if(Array.isArray(t)){return t}return t instanceof e?[t]:[]}o.prototype._checkKeepCurrentSupported=function(t){if(this.bUseExtendedChangeDetection){throw new Error(\"Unsupported operation: \"+this.getMetadata().getName()+\"#getContexts, must not use bKeepCurrent if extended change detection is\"+\" enabled\")}if(t){throw new Error(\"Unsupported operation: \"+this.getMetadata().getName()+\"#getContexts, must not use both iMaximumPrefetchSize and bKeepCurrent\")}};o.prototype.getCurrentContexts=function(){return this.getContexts()};o.prototype.getCount=function(){return this.isLengthFinal()?this.getLength():undefined};o.prototype.getLength=function(){return 0};o.prototype.isLengthFinal=function(){return true};o.prototype.getDistinctValues=function(t){return null};o.prototype.attachSort=function(t,e){this.attachEvent(\"sort\",t,e)};o.prototype.detachSort=function(t,e){this.detachEvent(\"sort\",t,e)};o.prototype._fireSort=function(t){this.fireEvent(\"sort\",t)};o.prototype.attachFilter=function(t,e){this.attachEvent(\"filter\",t,e)};o.prototype.detachFilter=function(t,e){this.detachEvent(\"filter\",t,e)};o.prototype._fireFilter=function(t){this.fireEvent(\"filter\",t)};o.prototype.isGrouped=function(){return!!(this.aSorters&&this.aSorters[0]&&this.aSorters[0].fnGroup)};o.prototype.getGroup=function(t){return this.aSorters[0].getGroup(t)};o.prototype.diffData=function(t,e){return r(t,e,this.oExtendedChangeDetectionConfig)};o.prototype.enableExtendedChangeDetection=function(t,e,n){this.bUseExtendedChangeDetection=true;this.bDetectUpdates=t;this.oExtendedChangeDetectionConfig=n;if(typeof e===\"string\"){this.getEntryKey=function(t){return t.getProperty(e)}}else if(typeof e===\"function\"){this.getEntryKey=e}if(this.update){this.update()}};o.prototype.getContextData=function(t){var e;if(this.getEntryKey&&!this.bDetectUpdates){e=this.getEntryKey(t);if(this.isGrouped()){e+=\"-\"+this.getGroup(t).key}}else{e=this.getEntryData(t)}return e};o.prototype.getEntryData=function(t){return JSON.stringify(t.getObject())};o.prototype.getFilters=function(t){switch(t){case n.Application:return this.aApplicationFilters&&this.aApplicationFilters.slice()||[];case n.Control:return this.aFilters&&this.aFilters.slice()||[];default:throw new Error(\"Invalid FilterType: \"+t)}};o.prototype.getFilterInfo=function(t){if(this.oCombinedFilter){return this.oCombinedFilter.getAST(t)}return null};o.prototype._isExpectingMoreContexts=function(t,e,n){if(t.includes(undefined)){return true}return t.lengtht.length){for(var f=t.length;f0){n.setControlMessages([]);var s=sap.ui.require(\"sap/ui/core/Messaging\");if(s){s.removeMessages(r)}}n.setInvalidValue(undefined)}if(g.getBindingMode()===e.OneTime&&g.isResolved()){g.detachChange(b);if(this.refreshDataState){g.detachAggregatedDataStateChange(y)}g.detachEvents(a.events)}},y=function(){var e=g.getDataState();if(!e){return}if(c.refreshDataState){c.refreshDataState(i,e)}},C=function(e,t){var n=e.replace(/\\./g,\"/\");var i=sap.ui.require(n);if(!i){i=u.get(e);if(typeof i===\"function\"&&!i._sapUiLazyLoader){d.errorThrows(\"The type class '\"+e+\"' is exported to the global namespace without being set as an export value of a UI5 module. \"+\"This scenario will not be supported in the future and a separate UI5 module needs to be created which exports this type class.\")}else{i=sap.ui.requireSync(n)}}if(typeof i!==\"function\"){throw new Error(`Cannot find type \"${e}\" used in control \"${t.getId()}\"!`)}return i},v=function(e){const t=e.type;let n;if(typeof t==\"string\"){n=C(t,c)}else if(typeof t===\"function\"&&t.prototype instanceof o){n=t}if(n){return new n(e.formatOptions,e.constraints)}else{return t}};a.parts.forEach(function(n){s=c.getBindingContext(n.model);r=c.getModel(n.model);const i=v(n);if(n.value!==undefined){g=new t(n.value)}else{g=r.bindProperty(n.path,s,n.parameters||a.parameters)}g.setType(i,n.targetType||p);g.setFormatter(n.formatter);if(n.suspended){g.suspend(true)}f=n.mode||r&&r.getDefaultBindingMode()||e.TwoWay;g.setBindingMode(f);if(f!==e.TwoWay){h=e.OneWay}g.attachEvents(n.events);m.push(g)});if(m.length>1||a.formatter&&a.formatter.textFragments){const e=v(a);g=new n(m,a.useRawValues,a.useInternalValues);g.setType(e,a.targetType||p);g.setBindingMode(a.mode||h)}else{g=m[0]}g.attachChange(b);if(this.refreshDataState){g.attachAggregatedDataStateChange(y)}if(typeof a.formatter===\"function\"){g.setFormatter(a.formatter.bind(this))}a.binding=g;a.modelChangeHandler=b;a.dataStateChangeHandler=y;g.attachEvents(a.events);g.initialize();this.updateFieldHelp?.(i);if(this._observer){this._observer.bindingChange(this,i,\"ready\",a,\"property\")}},_unbindProperty:function(e,t){var n;n=e.binding;if(n){if(!this._bIsBeingDestroyed){this._detachPropertyBindingHandlers(t)}n.destroy();if(this.refreshDataState&&!this._bIsBeingDestroyed){n.detachAggregatedDataStateChange(e.dataStateChangeHandler)}this.updateFieldHelp?.(t)}},_detachPropertyBindingHandlers:function(e){var t=this.mBindingInfos[e],n;if(t){n=t.binding;if(n){n.detachChange(t.modelChangeHandler);n.detachEvents(t.events);if(this.refreshDataState&&this._bIsBeingDestroyed){n.detachAggregatedDataStateChange(t.dataStateChangeHandler)}}const e=t.aBindings;e?.forEach(function(e,n){e.detachEvents(t.parts[n].events)})}},_bindAggregation:function(e,t){var n=this,i,a=this.getMetadata().getAggregation(e),r=function(e){a.update(n,e.getParameter(\"reason\"),{detailedReason:e.getParameter(\"detailedReason\")})},s=function(e){a.refresh(n,e.getParameter(\"reason\"))},o=function(t){var a=i.getDataState();if(!a){return}if(n.refreshDataState){n.refreshDataState(e,a)}};var d=this.getModel(t.model);if(this.isTreeBinding(e)){i=d.bindTree(t.path,this.getBindingContext(t.model),t.filters,t.parameters,t.sorter)}else{i=d.bindList(t.path,this.getBindingContext(t.model),t.sorter,t.filters,t.parameters);if(this.bUseExtendedChangeDetection){f(!this.oExtendedChangeDetectionConfig||!this.oExtendedChangeDetectionConfig.symbol,\"symbol function must not be set by controls\");i.enableExtendedChangeDetection(!t.template,t.key,this.oExtendedChangeDetectionConfig)}}if(t.suspended){i.suspend(true)}t.binding=i;t.modelChangeHandler=r;t.modelRefreshHandler=s;t.dataStateChangeHandler=o;i.attachChange(r);i.attachRefresh(s);i.attachEvents(t.events);if(this.refreshDataState){i.attachAggregatedDataStateChange(o)}i.initialize();if(this._observer){this._observer.bindingChange(this,e,\"ready\",t,\"aggregation\")}},_unbindAggregation:function(e,t){if(e.binding){if(!this._bIsBeingDestroyed){this._detachAggregationBindingHandlers(t)}e.binding.destroy()}},_detachAggregationBindingHandlers:function(e){var t=this.mBindingInfos[e];if(t){if(t.binding){t.binding.detachChange(t.modelChangeHandler);t.binding.detachRefresh(t.modelRefreshHandler);t.binding.detachEvents(t.events);if(this.refreshDataState){t.binding.detachAggregatedDataStateChange(t.dataStateChangeHandler)}}}}};return m});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/Model\", [\"sap/ui/core/message/MessageProcessor\",\"./ManagedObjectBindingSupport\",\"./BindingMode\",\"./Context\",\"./Filter\",\"sap/base/util/deepEqual\",\"sap/base/util/each\"],function(t,e,i,r,n,s,o){\"use strict\";var a=t.extend(\"sap.ui.model.Model\",{constructor:function(){t.apply(this,arguments);this.aBindings=[];this.oBindingsToRemove=new Set;this.mContexts={};this.oData={};this.sDefaultBindingMode=i.TwoWay;this.bDestroyed=false;this.bForceUpdate=undefined;this.bLegacySyntax=false;this.mMessages={};this.sRemoveTimer=null;this.iSizeLimit=100;this.mSupportedBindingModes={OneWay:true,TwoWay:true,OneTime:true};this.mUnsupportedFilterOperators={};this.sUpdateTimer=null},metadata:{abstract:true,publicMethods:[\"bindProperty\",\"bindList\",\"bindTree\",\"bindContext\",\"createBindingContext\",\"destroyBindingContext\",\"getProperty\",\"getDefaultBindingMode\",\"setDefaultBindingMode\",\"isBindingModeSupported\",\"attachParseError\",\"detachParseError\",\"attachRequestCompleted\",\"detachRequestCompleted\",\"attachRequestFailed\",\"detachRequestFailed\",\"attachRequestSent\",\"detachRequestSent\",\"attachPropertyChange\",\"detachPropertyChange\",\"setSizeLimit\",\"refresh\",\"isList\",\"getObject\"]}});a.M_EVENTS={ParseError:\"parseError\",RequestFailed:\"requestFailed\",RequestSent:\"requestSent\",RequestCompleted:\"requestCompleted\",PropertyChange:\"propertyChange\"};a.prototype.attachRequestFailed=function(t,e,i){this.attachEvent(\"requestFailed\",t,e,i);return this};a.prototype.detachRequestFailed=function(t,e){this.detachEvent(\"requestFailed\",t,e);return this};a.prototype.fireRequestFailed=function(t){this.fireEvent(\"requestFailed\",t);return this};a.prototype.attachParseError=function(t,e,i){this.attachEvent(\"parseError\",t,e,i);return this};a.prototype.detachParseError=function(t,e){this.detachEvent(\"parseError\",t,e);return this};a.prototype.fireParseError=function(t){this.fireEvent(\"parseError\",t);return this};a.prototype.attachRequestSent=function(t,e,i){this.attachEvent(\"requestSent\",t,e,i);return this};a.prototype.detachRequestSent=function(t,e){this.detachEvent(\"requestSent\",t,e);return this};a.prototype.fireRequestSent=function(t){this.fireEvent(\"requestSent\",t);return this};a.prototype.attachRequestCompleted=function(t,e,i){this.attachEvent(\"requestCompleted\",t,e,i);return this};a.prototype.detachRequestCompleted=function(t,e){this.detachEvent(\"requestCompleted\",t,e);return this};a.prototype.fireRequestCompleted=function(t){this.fireEvent(\"requestCompleted\",t);return this};a.prototype.firePropertyChange=function(t){this.fireEvent(\"propertyChange\",t);return this};a.prototype.attachPropertyChange=function(t,e,i){this.attachEvent(\"propertyChange\",t,e,i);return this};a.prototype.detachPropertyChange=function(t,e){this.detachEvent(\"propertyChange\",t,e);return this};a.prototype.getObject=function(t,e,i){return this.getProperty(t,e,i)};a.prototype.getContext=function(t){if(!t.startsWith(\"/\")){throw new Error(\"Path \"+t+\" must start with a / \")}var e=this.mContexts[t];if(!e){e=new r(this,t);this.mContexts[t]=e}return e};a.prototype.resolve=function(t,e){var i=typeof t==\"string\"&&!t.startsWith(\"/\"),r=t,n;if(i){if(e){n=e.getPath();r=n+(n.endsWith(\"/\")?\"\":\"/\")+t}else{r=undefined;if(this.isLegacySyntax()){r=\"/\"+t}}}if(!t&&e){r=e.getPath()}if(r&&r!==\"/\"&&r.endsWith(\"/\")){r=r.substr(0,r.length-1)}return r};a.prototype._cleanUpBindings=function(){var t=this.oBindingsToRemove;if(t.size>0){this.aBindings=this.aBindings.filter(function(e){return!t.has(e)});t.clear()}};a.prototype.addBinding=function(t){this._cleanUpBindings();this.aBindings.push(t)};a.prototype.getBindings=function(){this._cleanUpBindings();return this.aBindings.slice()};a.prototype.removeBinding=function(t){this.oBindingsToRemove.add(t);if(!this.sRemoveTimer){this.sRemoveTimer=setTimeout(function(){this.sRemoveTimer=null;this._cleanUpBindings()}.bind(this),0)}};a.prototype.getDefaultBindingMode=function(){return this.sDefaultBindingMode};a.prototype.setDefaultBindingMode=function(t){if(this.isBindingModeSupported(t)){this.sDefaultBindingMode=t;return this}throw new Error(\"Binding mode \"+t+\" is not supported by this model.\",this)};a.prototype.isBindingModeSupported=function(t){return t in this.mSupportedBindingModes};a.prototype.setLegacySyntax=function(t){this.bLegacySyntax=t};a.prototype.isLegacySyntax=function(){return this.bLegacySyntax};a.prototype.setSizeLimit=function(t){this.iSizeLimit=t};a.prototype.getInterface=function(){return this};a.prototype.refresh=function(t){this.checkUpdate(t);if(t){var e=[];for(var i in this.mMessages){e=e.concat(this.mMessages[i])}var r=sap.ui.require(\"sap/ui/core/Messaging\");if(r){r.updateMessages(e,[])}}};a.prototype.checkUpdate=function(t,e){if(e){this.bForceUpdate=this.bForceUpdate||t;if(!this.sUpdateTimer){this.sUpdateTimer=setTimeout(function(){this.checkUpdate(this.bForceUpdate)}.bind(this),0)}return}t=this.bForceUpdate||t;if(this.sUpdateTimer){clearTimeout(this.sUpdateTimer);this.sUpdateTimer=null;this.bForceUpdate=undefined}var i=this.getBindings();o(i,function(e,i){i.checkUpdate(t)})};a.prototype.setMessages=function(t){t=t||{};if(!s(this.mMessages,t)){this.mMessages=t;this.checkMessages()}};a.prototype.getMessagesByPath=function(t,e){var i=new Set,r=this;if(!e){return this.mMessages[t]||[]}Object.keys(this.mMessages).forEach(function(e){r.filterMatchingMessages(e,t).forEach(function(t){i.add(t)})});return Array.from(i)};a.prototype.filterMatchingMessages=function(t,e){if(t===e||t.startsWith(e===\"/\"?e:e+\"/\")){return this.mMessages[t]}return[]};a.prototype.checkMessages=function(){o(this.getBindings(),function(t,e){if(e.checkDataState){e.checkDataState()}})};a.prototype.destroy=function(){t.prototype.destroy.apply(this,arguments);this.oData={};this.aBindings=[];this.mContexts={};if(this.sRemoveTimer){clearTimeout(this.sRemoveTimer);this.sRemoveTimer=null;this.oBindingsToRemove.clear()}if(this.sUpdateTimer){clearTimeout(this.sUpdateTimer);this.sUpdateTimer=null}this.bDestroyed=true};a.prototype.getMetaModel=function(){return undefined};a.prototype.getOriginalProperty=function(t,e){return this.getProperty(t,e)};a.prototype.isLaundering=function(t,e){return false};a.prototype.checkFilter=function(t){n.checkFilterNone(t);a._traverseFilter(t,function(t){if(this.mUnsupportedFilterOperators[t.sOperator]){throw new Error(\"Filter instances contain an unsupported FilterOperator: \"+t.sOperator)}}.bind(this))};a._traverseFilter=function(t,e){t=t||[];if(t instanceof n){t=[t]}for(var i=0;it,e)};i.prototype.setType=function(t,e){const r=this.oType;this.oType=t;this.sInternalType=e;if(this.fnTypeChangedCallback&&t&&r!==t){this.fnTypeChangedCallback();this._fireChange({reason:n.Change})}};i.prototype.getType=function(){return this.oType};i.prototype.setFormatter=function(t){this.fnFormatter=t};i.prototype.getFormatter=function(){return this.fnFormatter};i.prototype.getBindingMode=function(){return this.sMode};i.prototype.setBindingMode=function(t){this.sMode=t};i.prototype.registerTypeChanged=function(t){this.fnTypeChangedCallback=t};i.prototype.resume=function(){this.bSuspended=false;this.checkUpdate(true)};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/SimpleType\", [\"sap/base/util/merge\",\"sap/ui/base/DataType\",\"./Type\",\"./FormatException\",\"./ParseException\",\"./ValidateException\"],function(t,e,n){\"use strict\";var o={format:function(t){return t},parse:function(t){return t}};var r=n.extend(\"sap.ui.model.SimpleType\",{constructor:function(t,e){n.apply(this,arguments);this.oInputFormat=undefined;this.setFormatOptions(t||{});this.setConstraints(e||{});this.sName=\"SimpleType\"},metadata:{abstract:true}});r.prototype.getModelFormat=function(){if(this.oInputFormat){return this.oInputFormat}return o};r.prototype.getConstraints=function(){return t({},this.oConstraints)};r.prototype.setConstraints=function(t){this.oConstraints=t};r.prototype.getFormatOptions=function(){return t({},this.oFormatOptions)};r.prototype.setFormatOptions=function(t){this.oFormatOptions=t};r.prototype.getPrimitiveType=function(t){switch(t){case\"any\":case\"boolean\":case\"int\":case\"float\":case\"string\":case\"object\":return t;default:var n=e.getType(t);return n&&n.getPrimitiveType().getName()}};r.prototype.combineMessages=function(t){if(t.length===1){return t[0]}return t.map(function(t){return t.endsWith(\".\")?t:t+\".\"}).join(\" \")};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/Sorter\", [\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/ui/base/Object\"],function(t,e,n){\"use strict\";var r=n.extend(\"sap.ui.model.Sorter\",{constructor:function(e,n,r,i){let o=e;if(typeof e===\"object\"){o=e.path;n=e.descending;r=e.group;i=e.comparator}this.sPath=o;var s=this.sPath.indexOf(\">\");if(s>0){t.error('Model names are not allowed in sorter-paths: \"'+this.sPath+'\"');this.sPath=this.sPath.substr(s+1)}this.bDescending=n;this.vGroup=r;if(typeof r==\"boolean\"&&r){this.fnGroup=function(t){return t.getProperty(this.sPath)}}if(typeof r==\"function\"){this.fnGroup=r}this.fnCompare=i},getGroup:function(t){var e=this.fnGroup(t);if(typeof e===\"string\"||typeof e===\"number\"||typeof e===\"boolean\"||e==null){e={key:e}}return e},getGroupFunction:function(){return this.fnGroup&&this.fnGroup.bind(this)},getPath(){return this.sPath},isDescending(){return this.bDescending}});r.defaultComparator=function(t,n){if(t==n){return 0}if(n==null){return-1}if(t==null){return 1}if(typeof t==\"string\"&&typeof n==\"string\"){return t.localeCompare(n,e.getLanguageTag().toString())}if(tn){return 1}return 0};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/model/SorterProcessor\", [\"./Sorter\",\"sap/base/util/each\"],function(r,t){\"use strict\";var e={};e.apply=function(e,a,n,i){var o=this,p=[],f=[],u,s;if(!a||a.length==0){return e}for(var c=0;c-1){return true}}return false}function i(e){if(!e){e=[\"javascript\"]}e=typeof e===\"string\"?e.split(\",\"):e;if(!n(e)){return null}return e}function u(e,t){for(var r=0;r-1){return true}}return t.length===0}var s=false,a=XMLHttpRequest,f=null,o=[],l=[],d={},c={};this.getActive=function(){return s};this.setActive=function(e,t){var r,n;if(!t){t=null}else if(typeof t===\"string\"){t=t.split(\",\")}f=t;if(s===e){return}s=e;if(s){for(var i in d){this[i]=d[i].bind(this)}d={};r=this.end;n=this.start;XMLHttpRequest=function(){var e=new a,t=e.open,i;e.open=function(){i=new URL(arguments[1],document.baseURI).href;n(i,\"Request for \"+i,\"xmlhttprequest\");e.addEventListener(\"loadend\",r.bind(null,i));t.apply(this,arguments)};return e}}else{XMLHttpRequest=a}return s};d[\"start\"]=function(n,u,a){if(!s){return}a=i(a);if(!a){return}var f=t(),o=new r(n,u,f,0,a);if(e.getLevel(\"sap.ui.Performance\")>=4){console?.time(u+\" - \"+n)}e.info(\"Performance measurement start: \"+n+\" on \"+f);if(o){c[n]=o;return this.getMeasurement(o.id)}else{return false}};d[\"pause\"]=function(r){if(!s){return}var n=t();var i=c[r];if(i&&i.end>0){return false}if(i&&i.pause==0){i.pause=n;if(i.pause>=i.resume&&i.resume>0){i.duration=i.duration+i.pause-i.resume;i.resume=0}else if(i.pause>=i.start){i.duration=i.pause-i.start}}if(i){e.info(\"Performance measurement pause: \"+r+\" on \"+n+\" duration: \"+i.duration);return this.getMeasurement(i.id)}else{return false}};d[\"resume\"]=function(r){if(!s){return}var n=t();var i=c[r];if(i&&i.pause>0){i.pause=0;i.resume=n}if(i){e.info(\"Performance measurement resume: \"+r+\" on \"+n+\" duration: \"+i.duration);return this.getMeasurement(i.id)}else{return false}};d[\"end\"]=function(r){if(!s){return}var n=t();var i=c[r];if(i&&!i.end){e.info(\"Performance measurement end: \"+r+\" on \"+n);i.end=n;if(i.end>=i.resume&&i.resume>0){i.duration=i.duration+i.end-i.resume;i.resume=0}else if(i.pause>0){i.pause=0}else if(i.end>=i.start){if(i.average){i.completeDuration+=i.end-i.start;i.count++;i.duration=i.completeDuration/i.count;i.start=n}else{i.duration=i.end-i.start}}if(i.end>=i.start){i.time=i.end-i.start}}if(i){if(e.getLevel(\"sap.ui.Performance\")>=4){console?.timeEnd(i.info+\" - \"+r)}return this.getMeasurement(r)}else{return false}};d[\"clear\"]=function(){c={}};d[\"remove\"]=function(e){delete c[e]};d[\"add\"]=function(e,t,n,u,a,f,o){if(!s){return}o=i(o);if(!o){return false}var l=new r(e,t,n,u,o);l.time=a;l.duration=f;if(l){c[e]=l;return this.getMeasurement(l.id)}else{return false}};d[\"average\"]=function(e,r,n){if(!s){return}n=i(n);if(!n){return}var u=c[e],a=t();if(!u||!u.average){this.start(e,r,n);u=c[e];u.average=true}else{if(!u.end){u.completeDuration+=a-u.start;u.count++}u.start=a;u.end=0}return this.getMeasurement(u.id)};this.getMeasurement=function(e){var t=c[e];if(t){var r={};for(var n in t){r[n]=t[n]}return r}else{return false}};this.getAllMeasurements=function(e){return this.filterMeasurements(function(e){return e},e)};this.filterMeasurements=function(){var e,t,r=0,n=[],i=typeof arguments[r]===\"function\"?arguments[r++]:undefined,s=typeof arguments[r]===\"boolean\"?arguments[r++]:undefined,a=Array.isArray(arguments[r])?arguments[r]:[];for(var f in c){e=this.getMeasurement(f);t=s===false&&e.end===0||s!==false&&(!s||e.end);if(t&&u(e,a)&&(!i||i(e))){n.push(e)}}return n};this.registerMethod=function(t,r,n,i){var u=r[n];if(u&&typeof u===\"function\"){var s=o.indexOf(u)>-1;if(!s){l.push({func:u,obj:r,method:n,id:t});var a=this;r[n]=function(){a.average(t,t+\" method average\",i);var e=u.apply(this,arguments);a.end(t);return e};o.push(r[n]);return true}}else{e.debug(n+\" in not a function. Measurement.register failed\")}return false};this.unregisterMethod=function(e,t,r){var n=t[r],i=o.indexOf(n);if(n&&i>-1){t[r]=l[i].func;o.splice(i,1);l.splice(i,1);return true}return false};this.unregisterAllMethods=function(){while(l.length>0){var e=l[0];this.unregisterMethod(e.id,e.obj,e.method)}};var h=location.search.match(/sap-ui-measure=([^\\&]*)/);if(h&&h[1]){if(h[1]===\"true\"||h[1]===\"x\"||h[1]===\"X\"){this.setActive(true)}else{this.setActive(true,h[1])}}else{var m=function(){return null};for(var p in d){this[p]=m}}}return new r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/performance/XHRInterceptor\", [\"sap/base/Log\"],function(e){\"use strict\";var t=\"XHRInterceptor\";var r=Object.create(null);var n=Object.create(null);function i(e){r[e]=Object.create(null);n[e]=window.XMLHttpRequest.prototype[e];window.XMLHttpRequest.prototype[e]=function(){var t=arguments;n[e].apply(this,t);for(var i in r[e]){r[e][i].apply(this,t)}}}var u={register:function(n,u,o){e.debug(\"Register '\"+n+\"' for XHR function '\"+u+\"'\",t);if(!r[u]){i(u)}r[u][n]=o},unregister:function(n,i){var u=delete r[i][n];e.debug(\"Unregister '\"+n+\"' for XHR function '\"+i+(u?\"'\":\"' failed\"),t);return u},isRegistered:function(e,t){return r[t]&&r[t][e]}};return u});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/performance/trace/FESR\", [\"sap/base/config\",\"sap/ui/thirdparty/URI\",\"sap/ui/Device\",\"sap/ui/performance/trace/Passport\",\"sap/ui/performance/trace/Interaction\",\"sap/ui/performance/XHRInterceptor\",\"sap/ui/performance/BeaconRequest\",\"sap/base/util/Version\"],function(e,t,n,r,i,o,a,s){\"use strict\";const u=e.get({name:\"sapUiFesrEnv\",type:e.Type.String,external:true});var p=false,c,f,m,d=r.getRootId(),g=window.location.host,l=n.os.name+\"_\"+n.os.version,S=`${n.browser.reportingName}_${n.browser.version}${u?\":\"+u:\"\"}`,v=w(),R=\"\",P=\"\",h,T=0,A=\"undetermined\",I=\"undetermined_startup_0\",y,E,N=new WeakMap;function w(){var e=0;if(n.system.combi){e=1}else if(n.system.desktop){e=2}else if(n.system.tablet){e=4}else if(n.system.phone){e=3}return e}function b(e){var t=new Date(e);return t.toISOString().replace(/[^\\d]/g,\"\")}function F(e){var n=new t(e.toString()).host();return n&&n!==g}function _(){if(!F(arguments[1])){if(!h){h=r.getTransactionId()}var e=r.header(r.traceFlags(),d,r.getTransactionId(),A,I);this.setRequestHeader(\"SAP-PASSPORT\",e);N.set(this,e)}}function H(){if(!F(arguments[1])){if(y&&E){this.setRequestHeader(\"SAP-Perf-FESRec\",y);this.setRequestHeader(\"SAP-Perf-FESRec-opt\",E);y=null;E=null;h=r.getTransactionId()}}}function q(e,t){return[D(d,32),D(h,32),M(e.navigation,4),M(e.roundtrip,4),M(t.timeToInteractive,4),M(e.completeRoundtrips,2),D(I,40,true),M(e.networkTime,4),M(e.requestTime,4),D(l,10),\"SAP_UI5\"].join(\",\")}function O(e,t){return[D(t.appNameShort,20,true),D(t.stepName,20,true),\"\",D(S,20),M(e.bytesSent,4),M(e.bytesReceived,4),\"\",\"\",M(e.processing,4),e.requestCompression?\"X\":\"\",\"\",\"\",\"\",\"\",M(e.busyDuration,4),M(t.interactionType||0,4),D(v,1),\"\",D(b(e.start),20),D(t.appNameLong,70,true)].join(\",\")}function D(e,t,n){if(!e){e=e===0?\"0\":\"\"}else if(typeof e===\"number\"){var r=e;e=Math.round(e).toString();if(e.length>t||r<0){e=\"-1\"}}else{e=n?e.substr(-t,t):e.substr(0,t)}return e}function M(e,t){if(typeof e!==\"number\"){e=\"\"}else{var n=Math.pow(256,t)/2-1;e=Math.round(e);e=e>=0&&e<=n?e.toString():\"-1\"}return e}function C(e){var t=new s(e);return\"@\"+t.getMajor()+\".\"+t.getMinor()+\".\"+t.getPatch()}function L(e,t){y=q(e,t);E=O(e,t)}function $(e){T++;A=e?e.component+R:undefined;I=e?e.trigger+\"_\"+e.event+\"_\"+T:undefined;return I}function B(e){if(e){e.rootId=r.getRootId();var t=e.semanticStepName?e.semanticStepName:e.trigger+\"_\"+e.event;var n=k.onBeforeCreated({stepName:t,appNameLong:e.stepComponent||e.component,appNameShort:e.stepComponent||e.component,timeToInteractive:e.duration,interactionType:j(t)},e);if(f||e.requests.length>0){L(e,n);if(f){h=null}}if(f&&y&&E){f.append(\"SAP-Perf-FESRec\",y+\"SAP-Perf-FESRec-opt\"+E);U()}if(P!=e.appVersion){P=e.appVersion;R=P?C(P):\"\"}}A=\"undefined\";I=\"undefined\"}function U(){if(!m){m=setTimeout(function(){f.send();clearTimeout(m);m=undefined},6e4)}}function j(e){var t=2;if(e.indexOf(\"startup\")!==-1){t=1}return t}var k={};k.getBeaconURL=function(){return c};k.setActive=async function(e,t){if(e&&!p){f=t?a.isSupported()&&new a({url:t}):null;c=t;p=true;r.setActive(true);await i.setActive(true);o.register(\"PASSPORT_HEADER\",\"open\",_);if(!f){o.register(\"FESR\",\"open\",H)}i.setFESR(k);await n.os.getPlatformInfo().then(e=>{l=`${e.name}_${e.version}`})}else if(!e&&p){p=false;await i.setActive(false);o.unregister(\"FESR\",\"open\");if(o.isRegistered(\"PASSPORT_HEADER\",\"open\")){o.register(\"PASSPORT_HEADER\",\"open\",function(){this.setRequestHeader(\"SAP-PASSPORT\",r.header(r.traceFlags(),d,r.getTransactionId()))})}if(f){f.send();clearTimeout(m);m=null;f=null;c=null}i.setFESR(null)}};k.getActive=function(){return p};k.onBeforeCreated=function(e,t){return{stepName:e.stepName,appNameLong:e.appNameLong,appNameShort:e.appNameShort,timeToInteractive:e.timeToInteractive,interactionType:e.interactionType}};k.onInteractionStarted=$;k.onInteractionFinished=B;k.passportHeader=N;return k});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/performance/trace/FESRHelper\", [],function(){\"use strict\";var t={FESR_NAMESPACE:\"http://schemas.sap.com/sapui5/extension/sap.ui.core.FESR/1\",setSemanticStepname:function(t,s,i){var a=t.data(\"sap-ui-custom-settings\");if(a===null){a={}}if(!a[this.FESR_NAMESPACE]){a[this.FESR_NAMESPACE]={}}a[this.FESR_NAMESPACE][s]=i;t.data(\"sap-ui-custom-settings\",a)},getSemanticStepname:function(t,s){var i=t&&t.data(\"sap-ui-custom-settings\")&&t.data(\"sap-ui-custom-settings\")[this.FESR_NAMESPACE];if(!i){return}return i[s]}};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/performance/trace/Interaction\", [],function(){\"use strict\";let n=false;let t;var i={getAll:function(n){return[]},filter:function(n){return[]},getPending:function(){return undefined},clear:function(){},start:function(n,t){},end:function(n){},getActive:function(){return n},setActive:async function(e){n=e;if(e){await new Promise((n,o)=>{sap.ui.require([\"sap/ui/performance/trace/_InteractionImpl\"],o=>{Object.assign(i,o);t=o;t._setActive(e);n()},o)})}else{t?._setActive(e)}},notifyNavigation:function(){},notifyShowBusyIndicator:function(n){},notifyHideBusyIndicator:function(n){},notifyStepStart:function(n,t,i){},notifyAsyncStep:function(n){return()=>{}},notifyAsyncStepStart:function(){},notifyAsyncStepEnd:function(n){},notifyStepEnd:function(n){},notifyEventStart:function(n){},notifyScrollEvent:function(n){},notifyEventEnd:function(){},onInteractionStarted:null,onInteractionFinished:null,setStepComponent:function(n){},addBusyDuration:function(n){},setFESR:function(n){t?._setFESR(n)}};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/performance/trace/Passport\", [\"sap/ui/performance/XHRInterceptor\",\"sap/ui/thirdparty/URI\"],function(r,t){\"use strict\";var n;var a;var e;var o=window.location.host;function i(r){var t=[];for(var n=0;nf.start&&e.end0&&e.startTime<=e.requestStart&&e.requestStart<=e.responseEnd;var i=f.start<=performance.timeOrigin+e.requestStart&&f.end>=performance.timeOrigin+e.responseEnd;return i&&t&&e.initiatorType===\"xmlhttprequest\"}function P(e){this.end=e.responseEnd>this.end?e.responseEnd:this.end;f.requestTime+=e.responseEnd-e.startTime;if(this.roundtripHigherLimit<=e.startTime){f.navigation+=this.navigationHigherLimit-this.navigationLowerLimit;f.roundtrip+=this.roundtripHigherLimit-this.roundtripLowerLimit;this.navigationLowerLimit=e.startTime;this.roundtripLowerLimit=e.startTime}if(e.responseEnd>this.roundtripHigherLimit){this.roundtripHigherLimit=e.responseEnd}if(e.requestStart>this.navigationHigherLimit){this.navigationHigherLimit=e.requestStart}}function R(e){var t={start:e[0].startTime,end:e[0].responseEnd,navigationLowerLimit:e[0].startTime,navigationHigherLimit:e[0].requestStart,roundtripLowerLimit:e[0].startTime,roundtripHigherLimit:e[0].responseEnd};e.forEach(P,t);f.navigation+=t.navigationHigherLimit-t.navigationLowerLimit;f.roundtrip+=t.roundtripHigherLimit-t.roundtripLowerLimit;if(f.networkTime){var i=f.requestTime-f.networkTime;f.networkTime=i/e.length}else{f.networkTime=0}}function N(t){if(f){var i=performance.getEntriesByType(\"resource\");var n;f.end=t;f.processing=t-f.start;f.duration=f.processing;f.requests=i.filter(w);f.completeRoundtrips=0;f.measurements=e.filterMeasurements(q,true);if(f.requests.length>0){R(f.requests)}f.completeRoundtrips=f.requests.length;var r=f.processing-f.navigation-f.roundtrip;f.processing=r>-1?r:0;f.completed=true;if(f.semanticStepName||f.duration>=2||f.requests.length>0||u){p.push(f);n=p[p.length-1];if(a.isLoggable()){a.debug(\"Interaction step finished: trigger: \"+f.trigger+\"; duration: \"+f.duration+\"; requests: \"+f.requests.length,\"_InteractionImpl.js\")}}if(I?.onInteractionFinished){I.onInteractionFinished(n)}Object.freeze(f);f=null;g=null;u=false;l=false;c=false;clearTimeout(d)}}function A(e){var t,i;if(e){var n,r;n=sap.ui.require(\"sap/ui/core/Component\");if(n){while(e&&e.getParent){r=n.getOwnerComponentFor(e);if(r||e instanceof n){r=r||e;var s=r.getManifestEntry(\"sap.app\");t=s&&s.id||r.getMetadata().getName();i=s&&s.applicationVersion&&s.applicationVersion.version}e=e.getParent()}}}return{id:t?t:\"undetermined\",version:i?i:\"\"}}function C(){const e=Object.getOwnPropertyDescriptor(HTMLScriptElement.prototype,\"src\");Object.defineProperty(HTMLScriptElement.prototype,\"src\",{set:function(t){var i;if(!this.dataset.sapUiCoreInteractionHandled){i=j.notifyAsyncStep();this.addEventListener(\"load\",function(){i()});this.addEventListener(\"error\",function(){i()});this.dataset.sapUiCoreInteractionHandled=\"true\"}e.set.call(this,t)},get:e.get})}function _(){t.register(\"INTERACTION\",\"send\",function(){if(this.oPendingInteraction){this.oPendingInteraction.bytesSent+=arguments[0]?arguments[0].length:0}});t.register(\"INTERACTION\",\"setRequestHeader\",function(e,t){if(!this.requestHeaderLength){this.requestHeaderLength=0}this.requestHeaderLength+=(e+\"\").length+(t+\"\").length});t.register(\"INTERACTION\",\"open\",function(e,t,i){var n,r,s;function a(e){if(this.readyState===4){e()}}if(f){var o=!b(t);if(o){n=I?.passportHeader.get(this);if(n&&n.length>=370){r=E(n.substring(150,230));if(parseInt(n.substring(8,10),16)>2){s=n.substring(372,404)}}if(!n||r&&s&&f.passportAction.endsWith(r)){this.addEventListener(\"readystatechange\",D.bind(this,f.id))}}if(o||i!==false){this.addEventListener(\"readystatechange\",a.bind(this,j.notifyAsyncStep()))}this.oPendingInteraction=f}})}function O(e,t,i,n){var r=e.split(\".\").pop().split(/\\#|\\?/)[0];if(t===\"gzip\"||t===\"br\"||i in L||r&&T.indexOf(r)!==-1||n<1024){return true}else{return false}}function D(e){if(this.readyState===4){if(this.oPendingInteraction&&!this.oPendingInteraction.completed&&f.id===e){var t=this.getResponseHeader(\"content-length\"),i=O(this.responseURL,this.getResponseHeader(\"content-encoding\"),this.getResponseHeader(\"content-type\"),t),n=this.getResponseHeader(\"sap-perf-fesrec\");this.oPendingInteraction.bytesReceived+=t?parseInt(t):0;this.oPendingInteraction.bytesReceived+=this.getAllResponseHeaders().length;this.oPendingInteraction.bytesSent+=this.requestHeaderLength||0;this.oPendingInteraction.requestCompression=i&&this.oPendingInteraction.requestCompression!==false;this.oPendingInteraction.networkTime+=n?Math.round(parseFloat(n,10)/1e3):0;var r=this.getResponseHeader(\"sap-statistics\");if(r){var s=performance.getEntriesByType(\"resource\");this.oPendingInteraction.sapStatistics.push({url:this.responseURL,statistics:r,timing:s?s[s.length-1]:undefined})}delete this.requestHeaderLength;delete this.oPendingInteraction}}}var j={getAll:function(e){if(e){j.end(true)}return p},filter:function(e){var t=[];if(e){for(var i=0,n=p.length;i=0&&t>r){if(o.getControlType(e)===\"sap.m.Label\"||o.getControlType(e)===\"sap.ui.comp.smartfield.SmartLabel\"||o.getControlType(e)===\"sap.ui.core.Title\"||o.getControlType(e)===\"sap.m.Title\"||o.getControlType(e)===\"sap.m.Toolbar\"||o.getControlType(e)===\"sap.m.OverflowToolbar\"){return true}o.setVisible(e,true)}})}})};r.completeChangeContent=function(r,n,o){var i={};if(n.sUnhideId){var l=e.getElementById(n.sUnhideId);i.elementSelector=t.getSelector(l,o.appComponent);r.addDependentControl(l,\"elementSelector\",o)}else if(n.revealedElementId){var a=e.getElementById(n.revealedElementId||n.sUnhideId);var s=a.getLabel();i.elementSelector=t.getSelector(s,o.appComponent);r.addDependentControl(s,\"elementSelector\",o)}else{throw new Error(\"oSpecificChangeInfo.revealedElementId attribute required\")}r.setContent(i)};r.revertChange=function(e,t,r){var n=r.modifier;var o=r.view;var i=r.appComponent;var l=e.getContent();var a=n.bySelector(l.elementSelector||l.sUnhideId,i,o);return Promise.resolve().then(function(){return n.getAggregation(t,\"content\")}).then(function(t){var r=-1;if(e.getChangeType()===\"unhideSimpleFormField\"){t.some(function(e,t){if(e===a){r=t;n.setVisible(e,false)}if(r>=0&&t>r){if(n.getControlType(e)===\"sap.m.Label\"||n.getControlType(e)===\"sap.ui.comp.smartfield.SmartLabel\"||n.getControlType(e)===\"sap.ui.core.Title\"||n.getControlType(e)===\"sap.m.Title\"||n.getControlType(e)===\"sap.m.Toolbar\"||n.getControlType(e)===\"sap.m.OverflowToolbar\"){return true}n.setVisible(e,false)}});e.resetRevertData()}return Promise.resolve()})};r.getChangeVisualizationInfo=function(e,r){const n=e.getContent().elementSelector;const o=e.getSelector();const i=t.bySelector(n,r);const l=i.getParent();const a=t.bySelector(o,r);const s={affectedControls:[l.getId()],updateRequired:true};if(!i.getVisible()){s.displayControls=[a.getId()]}return s};return r},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/CSSGrid\", [\"sap/ui/core/Control\",\"sap/ui/layout/cssgrid/GridLayoutBase\",\"sap/ui/layout/cssgrid/GridBasicLayout\",\"sap/ui/layout/cssgrid/GridLayoutDelegate\",\"./CSSGridRenderer\",\"sap/ui/base/ManagedObjectObserver\",\"sap/ui/layout/library\"],function(e,t,i,a,r,o){\"use strict\";var s=e.extend(\"sap.ui.layout.cssgrid.CSSGrid\",{metadata:{library:\"sap.ui.layout\",defaultAggregation:\"items\",interfaces:[\"sap.ui.layout.cssgrid.IGridConfigurable\"],properties:{width:{type:\"sap.ui.core.CSSSize\",defaultValue:\"100%\"},gridTemplateColumns:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridTemplateRows:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridRowGap:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},gridColumnGap:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},gridGap:{type:\"sap.ui.core.CSSGapShortHand\",defaultValue:\"\"},gridAutoRows:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridAutoColumns:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridAutoFlow:{type:\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",defaultValue:\"Row\"}},aggregations:{customLayout:{type:\"sap.ui.layout.cssgrid.GridLayoutBase\",multiple:false},items:{type:\"sap.ui.core.Control\",multiple:true,singularName:\"item\",dnd:true}},dnd:{draggable:false,droppable:true}},renderer:r});s.prototype.getGridDomRefs=function(){return[this.getDomRef()]};s.prototype.getGridLayoutConfiguration=function(){if(this.getCustomLayout()){return this.getCustomLayout()}else{return this._getDefaultGridLayout()}};s.prototype._getDefaultGridLayout=function(){var e=new i({gridTemplateColumns:this.getGridTemplateColumns(),gridTemplateRows:this.getGridTemplateRows(),gridRowGap:this.getGridRowGap(),gridColumnGap:this.getGridColumnGap(),gridGap:this.getGridGap(),gridAutoRows:this.getGridAutoRows(),gridAutoColumns:this.getGridAutoColumns(),gridAutoFlow:this.getGridAutoFlow()});return e};s.prototype.init=function(){this._oItemDelegate={onAfterRendering:this._onAfterItemRendering};this._oGridObserver=new o(this._onGridChange.bind(this));this._oGridObserver.observe(this,{aggregations:[\"items\"]});this._addGridLayoutDelegate()};s.prototype.exit=function(){this._removeGridLayoutDelegate();if(this._oGridObserver){this._oGridObserver.disconnect();this._oGridObserver=null}};s.prototype._addGridLayoutDelegate=function(){if(!this.oGridLayoutDelegate){this.oGridLayoutDelegate=new a;this.addDelegate(this.oGridLayoutDelegate,false,this,false)}};s.prototype._removeGridLayoutDelegate=function(){if(this.oGridLayoutDelegate){this.removeDelegate(this.oGridLayoutDelegate);this.oGridLayoutDelegate.destroy();this.oGridLayoutDelegate=null}};s.prototype._onGridChange=function(e){var t;if(e.name!==\"items\"||!e.child){return}if(e.mutation===\"insert\"){t=!e.child.isA(\"sap.ui.core.HTML\");e.child.addDelegate(this._oItemDelegate,t,e.child)}else if(e.mutation===\"remove\"){e.child.removeEventDelegate(this._oItemDelegate,e.child)}};s.prototype._onAfterItemRendering=function(){t.setItemStyles(this)};s.prototype.onLayoutDataChange=function(e){t.setItemStyles(e.srcControl)};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/CSSGridRenderer\", [],function(){\"use strict\";var t={apiVersion:2};t.render=function(t,e){t.openStart(\"div\",e).class(\"sapUiLayoutCSSGrid\");if(e.getWidth()){t.style(\"width\",e.getWidth())}e.getGridLayoutConfiguration().addGridStyles(t);t.openEnd();e.getItems().forEach(t.renderControl,t);t.close(\"div\")};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/GridBasicLayout\", [\"sap/ui/layout/cssgrid/GridLayoutBase\",\"sap/ui/layout/cssgrid/GridSettings\",\"sap/ui/layout/library\"],function(t,i){\"use strict\";var a=t.extend(\"sap.ui.layout.cssgrid.GridBasicLayout\",{metadata:{library:\"sap.ui.layout\",properties:{gridTemplateColumns:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridTemplateRows:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridRowGap:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},gridColumnGap:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},gridGap:{type:\"sap.ui.core.CSSGapShortHand\",defaultValue:\"\"},gridAutoRows:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridAutoColumns:{type:\"sap.ui.layout.cssgrid.CSSGridTrack\",defaultValue:\"\"},gridAutoFlow:{type:\"sap.ui.layout.cssgrid.CSSGridAutoFlow\",defaultValue:\"Row\"}}}});a.prototype.getActiveGridSettings=function(){return new i({gridTemplateColumns:this.getGridTemplateColumns(),gridTemplateRows:this.getGridTemplateRows(),gridRowGap:this.getGridRowGap(),gridColumnGap:this.getGridColumnGap(),gridGap:this.getGridGap(),gridAutoRows:this.getGridAutoRows(),gridAutoColumns:this.getGridAutoColumns(),gridAutoFlow:this.getGridAutoFlow()})};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/cssgrid/GridBoxLayout\", [\"sap/ui/core/Element\",\"sap/ui/layout/cssgrid/GridLayoutBase\",\"sap/ui/layout/cssgrid/GridSettings\",\"sap/ui/Device\",\"sap/ui/thirdparty/jquery\"],function(t,i,e,s,jQuery){\"use strict\";var a=/^([X][L](?:[1-9]|1[0-2]))? ?([L](?:[1-9]|1[0-2]))? ?([M](?:[1-9]|1[0-2]))? ?([S](?:[1-9]|1[0-2]))?$/i;var o=a.exec(\"XL7 L6 M4 S2\");var r={Phone:\"sapUiLayoutCSSGridBoxLayoutSizeS\",Tablet:\"sapUiLayoutCSSGridBoxLayoutSizeM\",Desktop:\"sapUiLayoutCSSGridBoxLayoutSizeL\",LargeDesktop:\"sapUiLayoutCSSGridBoxLayoutSizeXL\"};var n={XL:\"sapUiLayoutCSSGridBoxLayoutSpanXL7\",L:\"sapUiLayoutCSSGridBoxLayoutSpanL6\",M:\"sapUiLayoutCSSGridBoxLayoutSpanM4\",S:\"sapUiLayoutCSSGridBoxLayoutSpanS2\"};var p=\"0.5rem\";var l=i.extend(\"sap.ui.layout.cssgrid.GridBoxLayout\",{metadata:{library:\"sap.ui.layout\",properties:{boxMinWidth:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},boxWidth:{type:\"sap.ui.core.CSSSize\",defaultValue:\"\"},boxesPerRowConfig:{type:\"sap.ui.layout.BoxesPerRowConfig\",group:\"Behavior\",defaultValue:\"XL7 L6 M4 S2\"}}}});l.prototype.getActiveGridSettings=function(){return new e({gridTemplateColumns:this._getTemplateColumns(),gridGap:p+\" \"+p})};l.prototype._applySingleGridLayout=function(e){i.prototype._applySingleGridLayout.call(this,e);var s=t.getElementById(e.parentElement.id);if(s&&s.isA(\"sap.f.GridList\")&&s.isGrouped()){this._flattenHeight(s)}};l.prototype.addGridStyles=function(t){i.prototype.addGridStyles.apply(this,arguments);this._addSpanClasses(t);t.class(\"sapUiLayoutCSSGridBoxLayoutContainer\")};l.prototype.onGridAfterRendering=function(t){t.getGridDomRefs().forEach(function(t){if(t.children){for(var i=0;i0&&e<13){return\"sapUiLayoutCSSGridBoxLayoutSpan\"+t}};l.prototype._loopOverGridItems=function(t,i){t.getGridDomRefs().forEach(function(t){if(t&&t.children){for(var e=0;ethis.getColumnsL()||this.getColumnsL()>this.getColumnsXL()){throw new Error(\"Column size not correct defined for \"+this)}r.call(this)};s.prototype.onAfterRendering=function(e){if(this._oResizeObserver){var a=this.getDomRef();this._oResizeObserver.observe(a)}else{this._sResizeListener=t.register(this,this._resizeProxy)}n.call(this)};s.prototype.toggleContainerExpanded=function(e){e.$().toggleClass(\"sapUiFormCLContainerColl\",!e.getExpanded())};s.prototype.onLayoutDataChange=function(e){this.invalidate()};s.prototype.onsapup=function(e){this.onsapleft(e)};s.prototype.onsapdown=function(e){this.onsapright(e)};s.prototype.getContainerRenderedDomRef=function(e){return e.getDomRef()};s.prototype.getElementRenderedDomRef=function(e){return e.getDomRef()};s.prototype._getContainerSize=function(e){var t=this.getParent();var a=this.getLayoutDataForElement(e,\"sap.ui.layout.form.ColumnContainerData\");var i=t.getVisibleFormContainers();var l=i.length;var s=this.getColumnsM();var r=this.getColumnsL();var o=this.getColumnsXL();var n={S:{Size:1,Break:false,FirstRow:false},M:{Size:1,Break:false,FirstRow:false},L:{Size:1,Break:false,FirstRow:false},XL:{Size:1,Break:false,FirstRow:false}};var u=function(e,t,a,i,l){if(a1&&i>0&&i%e===0;t.FirstRow=a>1&&is||n.L.Size>r||n.XL.Size>o){throw new Error(\"More cells defined for FormContainer \"+e.getId()+\" than columns on \"+this)}}if(l===1){if(!a){n.M.Size=s;n.L.Size=r;n.XL.Size=o}n.S.FirstRow=true;n.M.FirstRow=true;n.L.FirstRow=true;n.XL.FirstRow=true}else{var f=0;var g=0;var m=0;var p;var C=false;var S=0;var L=s;var d=r;var h=o;var y=0;for(y=0;y1&&f===0;n.S.Break=f>0;if(!C){u(s,n.M,l,f,f===m);u(r,n.L,l,f,f===m);u(o,n.XL,l,f,f===m)}else{if(!a){if(S1){e.lineBreak=true}e.first=false}}else{if(e.rowColumns1){e.lineBreak=true}e.first=false}}};for(y=0;yf){i.S.Break=true}}if(!a||a.getCellsLarge()===-1){i.L.Size=g}else if(o){if(i.L.Size>g){i.L.Break=true}}}else{var p=0;var C=[];var S=[];var L={availableCells:f,first:0,last:999,firstDefault:-1,defaultFields:0};var d=0;var h=0;var y=0;var v;C.push(jQuery.extend({},L));L.availableCells=g;S.push(jQuery.extend({},L));var c=function(e,t,a,i){e[t].last=a-1;e.push(jQuery.extend({},L));t++;e[t].first=a;e[t].availableCells=i;return t};var D=function(e,a,i,l,s){if(e[a].availableCells-e[a].defaultFields0){d=D(C,d,v.getCellsSmall(),f,p)}else{d=F(C,d,f,p)}if(v&&v.getCellsLarge()>0){h=D(S,h,v.getCellsLarge(),g,p)}else{h=F(S,h,g,p)}}var z=function(e,a,i,l,s){var r=0;var o;for(p=0;p=e[p].first&&a<=e[p].last){o=e[p];break}}if(i<=0){l.Size=Math.floor(o.availableCells/o.defaultFields)}if(a===o.first&&a>0){l.Break=true;if(s>0&&s0){l.Size=l.Size+r}}};z(C,y,a?a.getCellsSmall():-1,i.S,l);z(S,y,a?a.getCellsLarge():-1,i.L,s)}}return i};function r(){if(this._oResizeObserver){this._oResizeObserver.disconnect()}if(this._sResizeListener){t.deregister(this._sResizeListener);this._sResizeListener=undefined}}function o(e,t){window.requestAnimationFrame(function(){n.call(this,e,t)}.bind(this))}function n(e,a){var i=this.getDomRef();if(!i){r.call(this);return}var l=this.$();if(!l.is(\":visible\")){return}if(t.isSuspended(i,this._resizeProxy)){return}var s=i.clientWidth;var o=1;if(s<=this._iBreakPointTablet){this.toggleStyleClass(\"sapUiFormCLMedia-Std-Phone\",true);this.toggleStyleClass(\"sapUiFormCLMedia-Std-Desktop\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Tablet\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-LargeDesktop\",false)}else if(s>this._iBreakPointTablet&&s<=this._iBreakPointDesktop){this.toggleStyleClass(\"sapUiFormCLMedia-Std-Tablet\",true);this.toggleStyleClass(\"sapUiFormCLMedia-Std-Desktop\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Phone\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-LargeDesktop\",false);o=this.getColumnsM()}else if(s>this._iBreakPointDesktop&&s<=this._iBreakPointLargeDesktop){this.toggleStyleClass(\"sapUiFormCLMedia-Std-Desktop\",true);this.toggleStyleClass(\"sapUiFormCLMedia-Std-Phone\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Tablet\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-LargeDesktop\",false);o=this.getColumnsL()}else{this.toggleStyleClass(\"sapUiFormCLMedia-Std-LargeDesktop\",true);this.toggleStyleClass(\"sapUiFormCLMedia-Std-Desktop\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Phone\",false).toggleStyleClass(\"sapUiFormCLMedia-Std-Tablet\",false);o=this.getColumnsXL()}var n=this.getLabelCellsLarge()<12&&s/o>this._iBreakPointTablet;this.toggleStyleClass(\"sapUiFormCLWideColumns\",n);this.toggleStyleClass(\"sapUiFormCLSmallColumns\",!n)}s.prototype.getLayoutDataForDelimiter=function(){var e=sap.ui.require(\"sap/ui/layout/form/ColumnElementData\");if(!e){var t;sap.ui.require([\"sap/ui/layout/form/ColumnElementData\"],function(e){t(new e({cellsLarge:1,cellsSmall:1}))});return new Promise(function(e){t=e})}else{return new e({cellsLarge:1,cellsSmall:1})}};s.prototype.getLayoutDataForSemanticField=function(e,t,a){if(a){if(a.isA(\"sap.ui.layout.form.ColumnElementData\")){a.setCellsLarge(-1).setCellsSmall(11);return a}else{a.destroy()}}var i=sap.ui.require(\"sap/ui/layout/form/ColumnElementData\");if(!i){var l;sap.ui.require([\"sap/ui/layout/form/ColumnElementData\"],function(e){l(new e({cellsLarge:-1,cellsSmall:11}))});return new Promise(function(e){l=e})}else{return new i({cellsLarge:-1,cellsSmall:11})}};s.prototype.renderControlsForSemanticElement=function(){return true};s.prototype.hasLabelledContainers=function(e){const t=e.getFormContainers();return t.length!==1||this.isContainerLabelled(t[0])};s.prototype.invalidateEditableChange=function(){return true};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/ColumnLayoutRenderer\", [\"sap/ui/core/Renderer\",\"sap/ui/Device\",\"./FormLayoutRenderer\"],function(e,i,t){\"use strict\";var r=e.extend(t);r.apiVersion=2;r.getMainClass=function(){return\"sapUiFormCL\"};r.renderContainers=function(e,i,t){var r=t.getVisibleFormContainers();var o=r.length;if(o>0){var a=o===1&&!i.getLayoutDataForElement(r[0],\"sap.ui.layout.form.ColumnContainerData\");if(!a){var n=i.getColumnsM();var s=i.getColumnsL();var l=i.getColumnsXL();e.openStart(\"div\");e.class(\"sapUiFormCLContent\");e.class(\"sapUiFormCLColumnsM\"+n);e.class(\"sapUiFormCLColumnsL\"+s);e.class(\"sapUiFormCLColumnsXL\"+l);e.openEnd()}for(var c=0;c1&&C.length<=s.XL.Size){e.openStart(\"div\").class(\"sapUiFormCLElementDummy\").openEnd().close(\"div\")}}e.close(c);e.close(\"div\")};r.renderElement=function(e,i,t){var r=t.getLabelControl();var a;const n=t.getProperty(\"_editable\");const s=n?\"div\":\"dd\";e.openStart(\"div\",t);e.class(\"sapUiFormCLElement\");if(t.getTooltip_AsString()){e.attr(\"title\",t.getTooltip_AsString())}e.openEnd();if(r){a=i._getFieldSize(r);o(e,t,r,a)}var l=t.getFieldsForRendering();if(l&&l.length>0){for(var c=0,C=l.length;c0){for(var m=0,L=p.length;m0?e[0]:null;var s=this._oLabel;if(s){s.setLabelFor(i)}else{s=this.getLabel();if(s instanceof t){s.setAlternativeLabelFor(i)}}}function d(e){e.addDelegate(this._oFieldDelegate);if(!this._bNoObserverChange){if(e.getMetadata().getProperty(\"required\")){this._oObserver.observe(e,{properties:[\"required\"]})}if(e.getMetadata().getProperty(\"editable\")){this._oObserver.observe(e,{properties:[\"editable\"]})}}}function g(e){e.removeDelegate(this._oFieldDelegate);if(!this._bNoObserverChange){this._oObserver.unobserve(e)}}function f(e){var t=this.oElement.getParent();if(t&&t.contentOnAfterRendering){t.contentOnAfterRendering(this.oElement,e.srcControl)}}return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/layout/form/FormHelper\", [\"sap/ui/core/Lib\",\"sap/ui/core/library\",\"sap/base/util/merge\"],function(t,e,n){\"use strict\";const i={Label:undefined,Button:undefined,Text:undefined,Library:undefined,init:function(){this.Label=sap.ui.require(\"sap/m/Label\");this.Text=sap.ui.require(\"sap/m/Text\");this.Button=sap.ui.require(\"sap/m/Button\");this.Library=sap.ui.require(\"sap/m/library\");if(!this.Label||!this.Text||!this.Button||!this.Library){if(!this.oInitPromise){this.oInitPromise=new Promise(function(t,e){sap.ui.require([\"sap/m/Label\",\"sap/m/Text\",\"sap/m/Button\",\"sap/m/library\"],function(e,n,i,r){this.Label=e;this.Text=n;this.Button=i;this.Library=r;t(true)}.bind(this))}.bind(this))}return this.oInitPromise}else if(this.oInitPromise){delete this.oInitPromise}return null},createLabel:function(t,e){return new this.Label(e,{text:t})},createButton:function(t,e,n){const i=new this.Button(t,{type:this.Library.ButtonType.Transparent});i.attachEvent(\"press\",e,n);return i},setButtonContent:function(t,e,n,i,r){t.setText(e);t.setTooltip(n);t.setIcon(i);t.setActiveIcon(r)},addFormClass:function(){return\"sapUiFormM\"},setToolbar:function(t,e){if(e&&e.setDesign){e.setDesign(e.getDesign(),true)}if(t&&t.setDesign){const e=t.getMetadata().getManagedProperty(\"design\");if(e&&e.type===\"sap.m.ToolbarDesign\"){t.setDesign(this.Library.ToolbarDesign.Transparent,true)}}return t},getToolbarTitle:function(t){if(t){const e=t.getContent?t.getContent():[];for(let t=0;t{\"use strict\";const t=Symbol(\"parameters\");class e{#t;constructor(e,s){for(const t in s){this[t]=s[t];Object.defineProperty(this,t,{configurable:false,writable:false})}this[t]=s;this.#t=e}get type(){return this.#t}static getParameters(e){return Object.assign({},e[t])}}return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/Eventing\", [\"sap/base/assert\",\"sap/base/Event\"],function(t,n){\"use strict\";class e{#t={};attachEvent(n,e,i){t(typeof n===\"string\"&&n,\"Eventing.attachEvent: sType must be a non-empty string\");t(typeof e===\"function\",\"Eventing.attachEvent: fnFunction must be a function\");let s=this.#t[n];if(!Array.isArray(s)){s=this.#t[n]=[]}s.push({fnFunction:e,oData:i})}attachEventOnce(t,n,e){const i=e=>{this.detachEvent(t,i);n.call(null,e)};i.oOriginal={fnFunction:n};this.attachEvent(t,i,e)}detachEvent(n,e){t(typeof n===\"string\"&&n,\"Eventing.detachEvent: sType must be a non-empty string\");t(typeof e===\"function\",\"Eventing.detachEvent: fnFunction must be a function\");const i=this.#t[n];if(!Array.isArray(i)){return}let s;for(let t=0,n=i.length;t=i){c()}t.push(d)}if(r){r.onLogEntry(d)}if(console){var p=u instanceof Error,R=d.date+\" \"+d.time+\" \"+d.message+\" - \"+d.details+\" \"+d.component;switch(o){case n.Level.FATAL:case n.Level.ERROR:p?console.error(R,\"\\n\",u):console.error(R);break;case n.Level.WARNING:p?console.warn(R,\"\\n\",u):console.warn(R);break;case n.Level.INFO:if(console.info){p?console.info(R,\"\\n\",u):console.info(R)}else{p?console.log(R,\"\\n\",u):console.log(R)}break;case n.Level.DEBUG:p?console.debug(R,\"\\n\",u):console.debug(R);break;case n.Level.TRACE:p?console.trace(R,\"\\n\",u):console.trace(R);break}if(console.info&&d.supportInfo){console.info(d.supportInfo)}}return d}}n.getLogEntries=function(){return t.slice()};n.getLogEntriesLimit=function(){return i};n.setLogEntriesLimit=function(e){if(e<0){throw new Error(\"The log entries limit needs to be greater than or equal to 0!\")}i=e;if(t.length>=i){c()}};n.addLogListener=function(e){a().attach(this,e)};n.removeLogListener=function(e){a().detach(this,e)};function g(e){this.fatal=function(t,o,i,r){n.fatal(t,o,i||e,r);return this};this.error=function(t,o,i,r){n.error(t,o,i||e,r);return this};this.warning=function(t,o,i,r){n.warning(t,o,i||e,r);return this};this.info=function(t,o,i,r){n.info(t,o,i||e,r);return this};this.debug=function(t,o,i,r){n.debug(t,o,i||e,r);return this};this.trace=function(t,o,i,r){n.trace(t,o,i||e,r);return this};this.setLevel=function(t,o){n.setLevel(t,o||e);return this};this.getLevel=function(t){return n.getLevel(t||e)};this.isLoggable=function(t,o){return n.isLoggable(t,o||e)}}n.getLogger=function(e,n){if(!isNaN(n)&&o[e]==null){o[e]=n}return new g(e)};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/assert\", [],function(){\"use strict\";var n=function(n,t){if(!n){var e=typeof t===\"function\"?t():t;console.assert(n,e)}};return n});\n/*!\n* OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.predefine(\"sap/base/config\", [\"sap/base/Eventing\",\"sap/base/config/MemoryConfigurationProvider\",\"ui5loader-autoconfig\"],(e,t)=>{\"use strict\";const n=sap.ui.require(\"sap/base/config/_Configuration\");const a=new e;n.getWritableInstance=()=>{const e=new t;return{set(t,a){const i=/^[a-z][A-Za-z0-9]*$/;if(i.test(t)){e.set(t,a);n._.invalidate()}else{throw new TypeError(\"Invalid configuration key '\"+t+\"'!\")}},get(t){t.provider=e;return n.get(t)},Type:n.Type}};function i(e){a.attachEvent(\"invalidated\",e)}n._.attachInvalidated=i;const r=n._.invalidate;n._.invalidate=()=>{r();a.fireEvent(\"invalidated\")};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/config/MemoryConfigurationProvider\", [\"sap/base/util/uid\"],function(t){\"use strict\";var i=function(){this.oConfig=Object.create(null);this.id=t()};i.prototype.getId=function(){return this.id};i.prototype.get=function(t){return this.oConfig[t]};i.prototype.set=function(t,i){this.oConfig[t]=i};return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/future\", [\"sap/base/assert\",\"sap/base/config\",\"sap/base/Log\"],(e,s,r)=>{\"use strict\";const f=s.get({name:\"sapUiXxFuture\",type:s.Type.Boolean,external:true});let i=f;function a(e,s,f,...a){if(i){throw new Error(s,{cause:f?.cause})}if(f){if(f.suffix){s+=\" \"+f.suffix}if(f.cause){a.unshift(f.cause)}if(!f.cause&&!f.suffix){a.unshift(f)}}r[e](\"[FUTURE FATAL] \"+s,...a)}function t(e,s,f,a,t,...n){if(i){s(new Error(a,{cause:t?.cause}));return}if(t){if(t.suffix){a+=\" \"+t.suffix}if(t.cause){n.unshift(t.cause)}if(!t.cause&&!t.suffix){n.unshift(t)}}e();r[f](\"[FUTURE FATAL] \"+a,...n)}const n={get active(){return i},set active(e){i=!!(e??f)},fatalThrows(...e){a(\"fatal\",...e)},errorThrows(...e){a(\"error\",...e)},warningThrows(...e){a(\"warning\",...e)},assertThrows(s,r){const f=typeof r===\"function\"?r():r;if(!s&&i){throw new Error(r)}e(s,\"[FUTURE FATAL] \"+f)},warningRejects(e,s,...r){t(e,s,\"warning\",...r)}};return n});\n/*!\n* OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.predefine(\"sap/base/i18n/Formatting\", [\"sap/base/assert\",\"sap/base/config\",\"sap/base/Eventing\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/i18n/LanguageTag\",\"sap/base/i18n/date/CalendarType\",\"sap/base/i18n/date/CalendarWeekNumbering\",\"sap/base/util/deepEqual\",\"sap/base/util/extend\",\"sap/base/util/isEmptyObject\"],(e,t,a,r,n,s,i,o,u,m,l)=>{\"use strict\";const d=new a;const g=t.getWritableInstance();const p={};let c;let y;let f=false;const b={\"\":{pattern:null},1:{pattern:\"dd.MM.yyyy\"},2:{pattern:\"MM/dd/yyyy\"},3:{pattern:\"MM-dd-yyyy\"},4:{pattern:\"yyyy.MM.dd\"},5:{pattern:\"yyyy/MM/dd\"},6:{pattern:\"yyyy-MM-dd\"},7:{pattern:\"Gyy.MM.dd\"},8:{pattern:\"Gyy/MM/dd\"},9:{pattern:\"Gyy-MM-dd\"},A:{pattern:\"yyyy/MM/dd\"},B:{pattern:\"yyyy/MM/dd\"},C:{pattern:\"yyyy/MM/dd\"}};const C={\"\":{short:null,medium:null,dayPeriods:null},0:{short:\"HH:mm\",medium:\"HH:mm:ss\",dayPeriods:null},1:{short:\"hh:mm a\",medium:\"hh:mm:ss a\",dayPeriods:[\"AM\",\"PM\"]},2:{short:\"hh:mm a\",medium:\"hh:mm:ss a\",dayPeriods:[\"am\",\"pm\"]},3:{short:\"KK:mm a\",medium:\"KK:mm:ss a\",dayPeriods:[\"AM\",\"PM\"]},4:{short:\"KK:mm a\",medium:\"KK:mm:ss a\",dayPeriods:[\"am\",\"pm\"]}};const A={\"\":{groupingSeparator:null,decimalSeparator:null},\" \":{groupingSeparator:\".\",decimalSeparator:\",\"},X:{groupingSeparator:\",\",decimalSeparator:\".\"},Y:{groupingSeparator:\" \",decimalSeparator:\",\"}};function P(e,t){if(!e){throw new TypeError(t)}}function h(e,a){t._.invalidate();const r=p[e];if(a!=null){p[e]=a}else{delete p[e]}if((r!=null||a!=null)&&!u(r,a)){const t=!c;c??={};c[e]=a;if(t){F()}}}function T(e){let t;if(e&&typeof e===\"string\"){try{t=new s(e)}catch(e){}}else if(e instanceof s){t=e}return t}const S={attachChange(e){d.attachEvent(\"change\",e)},detachChange(e){d.detachEvent(\"change\",e)},getLanguageTag(){function e(){let e=new s(n.getLanguage());if(!l(p)||S.getCalendarWeekNumbering()!==o.Default){let t=e.toString();if(t.indexOf(\"-x-\")<0){t+=\"-x-sapufmt\"}else if(t.indexOf(\"-sapufmt\")<=t.indexOf(\"-x-\")){t+=\"-sapufmt\"}e=new s(t)}return e}return g.get({name:\"sapUiFormatLocale\",type:function(e){return new s(e)},defaultValue:e,external:true})},setLanguageTag(e){const t=T(e);P(e==null||t,\"vLanguageTag must be a BCP47 language tag or Java Locale id or null\");const a=S.getLanguageTag();g.set(\"sapUiFormatLocale\",t?.toString());const r=S.getLanguageTag();if(a.toString()!==r.toString()){const e=!c;c??={};c.languageTag=r.toString();if(e){F()}}},_set:h,getCustomUnits(){return p[\"units\"]?.[\"short\"]},setCustomUnits(e){let t=null;if(e){t={short:e}}h(\"units\",t)},addCustomUnits(e){const t=S.getCustomUnits();if(t){e=m({},t,e)}S.setCustomUnits(e)},setUnitMappings(e){h(\"unitMappings\",e)},addUnitMappings(e){const t=S.getUnitMappings();if(t){e=m({},t,e)}S.setUnitMappings(e)},getUnitMappings(){return p[\"unitMappings\"]},getDatePattern(t){e(t==\"short\"||t==\"medium\"||t==\"long\"||t==\"full\",\"sStyle must be short, medium, long or full\");return p[\"dateFormats-\"+t]},setDatePattern(e,t){P(e==\"short\"||e==\"medium\"||e==\"long\"||e==\"full\",\"sStyle must be short, medium, long or full\");h(\"dateFormats-\"+e,t)},getTimePattern(t){e(t==\"short\"||t==\"medium\"||t==\"long\"||t==\"full\",\"sStyle must be short, medium, long or full\");return p[\"timeFormats-\"+t]},setTimePattern(e,t){P(e==\"short\"||e==\"medium\"||e==\"long\"||e==\"full\",\"sStyle must be short, medium, long or full\");h(\"timeFormats-\"+e,t)},getNumberSymbol(t){e([\"group\",\"decimal\",\"plusSign\",\"minusSign\"].includes(t),\"sType must be decimal, group, plusSign or minusSign\");return p[\"symbols-latn-\"+t]},setNumberSymbol(e,t){P([\"group\",\"decimal\",\"plusSign\",\"minusSign\"].includes(e),\"sType must be decimal, group, plusSign or minusSign\");h(\"symbols-latn-\"+e,t)},getCustomCurrencies(){return p[\"currency\"]},setCustomCurrencies(e){P(typeof e===\"object\"||e==null,\"mCurrencyDigits must be an object\");Object.keys(e||{}).forEach(function(t){P(typeof t===\"string\");P(typeof e[t]===\"object\")});h(\"currency\",e)},addCustomCurrencies(e){const t=S.getCustomCurrencies();if(t){e=m({},t,e)}S.setCustomCurrencies(e)},_setDayPeriods(t,a){e(t==\"narrow\"||t==\"abbreviated\"||t==\"wide\",\"sWidth must be narrow, abbreviated or wide\");h(\"dayPeriods-format-\"+t,a)},getABAPDateFormat(){const e=g.get({name:\"sapUiABAPDateFormat\",type:t.Type.String,defaultValue:g.get({name:\"sapUiLegacyDateFormat\",type:t.Type.String,external:true}),external:true});return e?e.toUpperCase():undefined},setABAPDateFormat(e){e=e?String(e).toUpperCase():\"\";P(b.hasOwnProperty(e),\"sFormatId must be one of ['1','2','3','4','5','6','7','8','9','A','B','C'] or empty\");const t=!c;const a=S.getABAPDateFormat();if(a!==e||!f){c??={};g.set(\"sapUiABAPDateFormat\",e);c.ABAPDateFormat=e;S.setDatePattern(\"short\",b[e].pattern);S.setDatePattern(\"medium\",b[e].pattern);if(t){F()}}},getABAPTimeFormat(){const e=g.get({name:\"sapUiABAPTimeFormat\",type:t.Type.String,defaultValue:g.get({name:\"sapUiLegacyTimeFormat\",type:t.Type.String,external:true}),external:true});return e?e.toUpperCase():undefined},setABAPTimeFormat(e){e=e||\"\";P(C.hasOwnProperty(e),\"sFormatId must be one of ['0','1','2','3','4'] or empty\");const t=!c;const a=S.getABAPTimeFormat();if(a!==e||!f){c??={};g.set(\"sapUiABAPTimeFormat\",e);c.ABAPTimeFormat=e;S.setTimePattern(\"short\",C[e][\"short\"]);S.setTimePattern(\"medium\",C[e][\"medium\"]);S._setDayPeriods(\"abbreviated\",C[e].dayPeriods);if(t){F()}}},getABAPNumberFormat(){const e=g.get({name:\"sapUiABAPNumberFormat\",type:t.Type.String,defaultValue:g.get({name:\"sapUiLegacyNumberFormat\",type:t.Type.String,external:true}),external:true});return e?e.toUpperCase():undefined},setABAPNumberFormat(e){e=e?e.toUpperCase():\"\";P(A.hasOwnProperty(e),\"sFormatId must be one of [' ','X','Y'] or empty\");const t=!c;const a=S.getABAPNumberFormat();if(a!==e||!f){c??={};g.set(\"sapUiABAPNumberFormat\",e);c.ABAPNumberFormat=e;S.setNumberSymbol(\"group\",A[e].groupingSeparator);S.setNumberSymbol(\"decimal\",A[e].decimalSeparator);if(t){F()}}},setCustomIslamicCalendarData(e){P(Array.isArray(e),\"aCustomCalendarData must be an Array\");const t=!c;c??={};y=c.customIslamicCalendarData=e.slice();if(t){F()}},getCustomIslamicCalendarData(){return y?.slice()??undefined},setTrailingCurrencyCode(e){P(typeof e===\"boolean\",\"bTrailingCurrencyCode must be a boolean\");g.set(\"sapUiTrailingCurrencyCode\",e)},getTrailingCurrencyCode(){return g.get({name:\"sapUiTrailingCurrencyCode\",type:t.Type.Boolean,defaultValue:true,external:true})},getCustomLocaleData(){return p},getCalendarWeekNumbering(){let e=o.Default;try{e=g.get({name:\"sapUiCalendarWeekNumbering\",type:o,defaultValue:o.Default,external:true})}catch(e){}return e},setCalendarWeekNumbering(e){t._.checkEnum(o,e,\"calendarWeekNumbering\");const a=g.get({name:\"sapUiCalendarWeekNumbering\",type:o,defaultValue:o.Default,external:true});if(a!==e){const t=!c;c??={};g.set(\"sapUiCalendarWeekNumbering\",e);c.calendarWeekNumbering=e;if(t){F()}}},getCalendarType(){let e,a=g.get({name:\"sapUiCalendarType\",type:t.Type.String,external:true});a??=null;if(a){for(e in i){if(e.toLowerCase()===a.toLowerCase()){return e}}r.warning(\"Parameter 'calendarType' is set to \"+a+\" which isn't a valid value and therefore ignored. The calendar type is determined from format setting and current locale\")}const s=S.getABAPDateFormat();switch(s){case\"1\":case\"2\":case\"3\":case\"4\":case\"5\":case\"6\":return i.Gregorian;case\"7\":case\"8\":case\"9\":return i.Japanese;case\"A\":case\"B\":return i.Islamic;case\"C\":return i.Persian;default:return n.getPreferredCalendarType()}},setCalendarType(e){const t=S.getCalendarType();g.set(\"sapUiCalendarType\",e);const a=S.getCalendarType();if(t!==a){const e=!c;c??={};c.calendarType=a;if(e){F()}}}};function F(){d.fireEvent(\"change\",c);c=undefined}function M(){const e=S.getABAPDateFormat();if(e!==undefined){S.setABAPDateFormat(e)}const t=S.getABAPNumberFormat();if(t!==undefined){S.setABAPNumberFormat(t)}const a=S.getABAPTimeFormat();if(a!==undefined){S.setABAPTimeFormat(a)}f=true}M();return S});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/i18n/LanguageFallback\", [\"sap/base/Log\"],function(e){\"use strict\";const n=/(?:^|-)(saptrc|sappsd|saprigi)(?:-|$)/i;const r=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;const i={he:\"iw\",yi:\"ji\",nb:\"no\"};const t={iw:\"he\",ji:\"yi\"};const s=new Map;const a=function(e,t){let a=e;if(t){a+=\"|true\"}let o=s.get(a);if(o){return o}var l;if(typeof e===\"string\"&&(l=r.exec(e.replace(/_/g,\"-\")))){var f=l[1].toLowerCase();if(!t){f=i[f]||f}var c=l[2]?l[2].toLowerCase():undefined;var u=l[3]?l[3].toUpperCase():undefined;var d=l[4]?l[4].slice(1):undefined;var p=l[6];if(p&&(l=n.exec(p))||d&&(l=n.exec(d))){o=\"en_US_\"+l[1].toLowerCase();s.set(a,o);return o}if(f===\"zh\"&&!u){if(c===\"hans\"){u=\"CN\"}else if(c===\"hant\"){u=\"TW\"}}if(f===\"sr\"&&c===\"latn\"){if(t){f=\"sr_Latn\"}else{f=\"sh\"}}o=f+(u?\"_\"+u+(d?\"_\"+d.replace(\"-\",\"_\"):\"\"):\"\")}s.set(a,o);return o};const o=function(e,n){if(e===\"\"){return e}var r=a(e,n);if(r===undefined){throw new TypeError(\"Locale '\"+e+\"' is not a valid BCP47 language tag\")}return r};const l=function(e,n){var i;if(typeof e===\"string\"&&(i=r.exec(e.replace(/_/g,\"-\")))){var s=i[1].toLowerCase();var a=i[2]?i[2].toLowerCase():undefined;if(n&&s===\"sh\"&&!a){s=\"sr_Latn\"}else if(!n&&s===\"sr\"&&a===\"latn\"){s=\"sh\"}s=t[s]||s;return s+(i[3]?\"-\"+i[3].toUpperCase()+(i[4]?\"-\"+i[4].slice(1).replace(\"_\",\"-\"):\"\"):\"\")}};const f=function(e,n){if(!n||n.length===0||n.includes(e)){return e}e=l(e,true);if(e){e=a(e,true)}if(n.includes(e)){return e}return undefined};const c=function(n,r,i,t,s){r=r&&r.map(function(e){return o(e,true)});if(!s){var a=i!==undefined;i=a?i:\"en\";i=o(i);if(i!==\"\"&&!f(i,r)){var l=\"The fallback locale '\"+i+\"' is not contained in the list of supported locales ['\"+r.join(\"', '\")+\"']\"+t+\" and will be ignored.\";if(a){throw new Error(l)}e.error(l)}}var c=[],u;while(n!=null){u=f(n,r);if(u!==undefined&&c.indexOf(u)===-1){c.push(u)}if(!n){n=null}else if(n===\"zh_HK\"){n=\"zh_TW\"}else if(n.lastIndexOf(\"_\")>=0){n=n.slice(0,n.lastIndexOf(\"_\"))}else if(s){n=null}else if(i){n=i;i=null}else{n=\"\"}}return c};const u=function(e,n,r){return c(a(e),n,r,\"\")};return{convertLocaleToBCP47:l,calculate:c,getFallbackLocales:u,normalize:a}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/i18n/LanguageTag\", [],function(){\"use strict\";var t=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;class i{language;script;region;variant;variantSubtags;extension;extensionSubtags;privateUse;privateUseSubtags;#t;constructor(i){var s=t.exec(i.replace(/_/g,\"-\"));if(s===null){throw new TypeError(\"The given language tag '\"+i+\"' does not adhere to BCP-47.\")}this.language=s[1]||null;this.script=s[2]||null;this.region=s[3]||null;this.variant=s[4]&&s[4].slice(1)||null;this.variantSubtags=this.variant?this.variant.split(\"-\"):[];this.extension=s[5]&&s[5].slice(1)||null;this.extensionSubtags=this.variant?this.variant.split(\"-\"):[];this.privateUse=s[6]||null;this.privateUseSubtags=this.privateUse?this.privateUse.slice(2).split(\"-\"):[];if(this.language){this.language=this.language.toLowerCase()}if(this.script){this.script=this.script.toLowerCase().replace(/^[a-z]/,function(t){return t.toUpperCase()})}if(this.region){this.region=this.region.toUpperCase()}this.#t=this.#i(this.language,this.script,this.region,this.variant,this.extension,this.privateUse);Object.freeze(this)}toString(){return this.#t}#i(){return Array.prototype.filter.call(arguments,Boolean).join(\"-\")}}return i});\n/*!\n* OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n*/\nsap.ui.predefine(\"sap/base/i18n/Localization\", [\"sap/base/config\",\"sap/base/Eventing\",\"sap/base/Log\",\"sap/base/i18n/LanguageTag\",\"sap/base/i18n/date/CalendarType\",\"sap/base/i18n/date/TimezoneUtils\"],function(e,n,t,a,g,r){\"use strict\";const i=e.getWritableInstance();let o;const l=new n;let u=Object.create(null);let s;let c=false;e._.attachInvalidated(()=>{u=Object.create(null)});const f={\"ar-SA\":g.Islamic,fa:g.Persian,th:g.Buddhist,default:g.Gregorian};const p={ZH:\"zh-Hans\",ZF:\"zh-Hant\",SH:\"sr-Latn\",CT:\"cnr\",\"6N\":\"en-GB\",\"1P\":\"pt-PT\",\"1X\":\"es-MX\",\"3F\":\"fr-CA\",\"1Q\":\"en-US-x-saptrc\",\"2Q\":\"en-US-x-sappsd\",\"3Q\":\"en-US-x-saprigi\"};const d={iw:\"he\",ji:\"yi\"};const T=(e=>Object.keys(e).reduce((n,t)=>{n[e[t]]=t;return n},{}))(p);function L(e){let n;if(e){const t=/-(saptrc|sappsd|saprigi)(?:-|$)/i.exec(e);n=t&&\"en-US-x-\"+t[1].toLowerCase()}return n}function m(e){const n=/\\$([-a-z0-9A-Z._]+)(?::([^$]*))?\\$/.exec(e);return n&&n[2]?n[2].split(/,/):null}const y=[\"ar\",\"ar_EG\",\"ar_SA\",\"fa\",\"he\"];const h=m(\"$core-i18n-locales:,ar,bg,ca,cnr,cs,cy,da,de,el,en,en_GB,es,es_MX,et,fi,fr,fr_CA,hi,hr,hu,id,it,iw,ja,kk,ko,lt,lv,mk,ms,nl,no,pl,pt,pt_PT,ro,ru,sh,sk,sl,sr,sv,th,tr,uk,vi,zh_CN,zh_TW$\");function z(e){let n;if(e&&typeof e===\"string\"){e=p[e.toUpperCase()]||e;try{n=new a(e)}catch(e){}}return[n,e]}function S(e){let n;if(e){n=new a(e)}return n}const b=globalThis.navigator?function(){return globalThis.navigator.languages?.[0]||globalThis.navigator.language||\"en\"}:function(){return(new Intl.Collator).resolvedOptions().locale||\"en\"};function v(e,n){if(!e){throw new TypeError(n)}}function x(){return Array.prototype.filter.call(arguments,Boolean).join(\"-\")}function A(e){const n=r.isValidTimezone(e);if(!n){t.error(\"The provided timezone '\"+e+\"' is not a valid IANA timezone ID.\"+\" Falling back to browser's local timezone '\"+r.getLocalTimezone()+\"'.\")}return n}const C={attachChange:function(e){l.attachEvent(\"change\",e)},detachChange:function(e){l.detachEvent(\"change\",e)},getActiveTerminologies:function(){return i.get({name:\"sapUiActiveTerminologies\",type:e.Type.StringArray,defaultValue:undefined,external:true})},getLanguage:function(){let n,a;if(u.language){return u.language}if(o){return o}const g=i.get({name:\"sapUiLanguage\",type:e.Type.String,external:true});const r=i.get({name:\"sapLocale\",type:e.Type.String,external:true});const l=i.get({name:\"sapLanguage\",type:e.Type.String,external:true});if(r){n=S(r);a=r}else if(l){if(!g&&!c){t.warning(\"sap-language '\"+l+\"' is not a valid BCP47 language tag and will only be used as SAP logon language\");c=true}[n,a]=z(l)}if(!n){if(g){S(g);a=g}else{a=b();S(g)}}u.language=a;return u.language},getModernLanguage:function(e){return d[e]||e},setLanguage:function(n,t){const a=S(n),g=C.getRTL();v(a,\"Localization.setLanguage: sLanguage must be a valid BCP47 language tag\");v(t==null||typeof t===\"string\"&&/^[A-Z0-9]{2,2}$/i.test(t),\"Localization.setLanguage: sSAPLogonLanguage must be null or be a string of length 2, consisting of digits and latin characters only\");t=t||\"\";if(a.toString()!=C.getLanguageTag().toString()||t!==i.get({name:\"sapLanguage\",type:e.Type.String,external:true})){i.set(\"sapLanguage\",t);o=n;s={};s.language=C.getLanguageTag().toString();const e=C.getRTL();if(g!=e){s.rtl=e}P()}},getTimezone:function(){if(u.timezone){return u.timezone}let n=i.get({name:\"sapTimezone\",type:e.Type.String,external:true,defaultValue:i.get({name:\"sapUiTimezone\",type:e.Type.String,external:true})});if(!n||!A(n)){n=r.getLocalTimezone()}u.timezone=n;return u.timezone},setTimezone:function(e){v(e==null||typeof e===\"string\",\"Localization.setTimezone: sTimezone must be null or be a string\");const n=C.getTimezone();e=e===null||!A(e)?undefined:e;i.set(\"sapTimezone\",e);if(C.getTimezone()!==n){s={};s.timezone=C.getTimezone();P()}},getLanguageTag:function(){if(u.languageTag){return u.languageTag}const e=new a(C.getLanguage());const n=C.getModernLanguage(e.language);const t=e.script;let g=e.toString();if(n===\"sr\"&&t===\"Latn\"){g=g.replace(\"sr-Latn\",\"sh\")}else{g=g.replace(e.language,n)}u.languageTag=new a(g);return u.languageTag},getRTL:function(){if(u.rtl){return u.rtl}u.rtl=i.get({name:\"sapRtl\",type:e.Type.Boolean,external:true,defaultValue:i.get({name:\"sapUiRtl\",type:e.Type.Boolean,defaultValue:function(){return w(C.getLanguageTag())},external:true})});return u.rtl},setRTL:function(e){v(e===null||typeof e===\"boolean\",\"bRTL must be null or a boolean\");e=e===null?undefined:e;const n=C.getRTL();i.set(\"sapRtl\",e);const t=C.getRTL();if(n!=t){s={};s.rtl=t;P()}},_getSAPLogonLanguage:function(e){let n=e.language||\"\";if(n.indexOf(\"-\")>=0){n=n.slice(0,n.indexOf(\"-\"))}n=C.getModernLanguage(n);if(n===\"zh\"&&!e.script&&e.region===\"TW\"){return\"ZF\"}return T[x(n,e.script)]||T[x(n,e.region)]||T[L(e.privateUse)]||n.toUpperCase()},getSAPLogonLanguage:function(){let n;const a=i.get({name:\"sapLanguage\",type:e.Type.String,external:true}).toUpperCase();try{[n]=z(a)}catch(e){}if(a&&!n){t.warning(\"sap-language '\"+a+\"' is not a valid BCP47 language tag and will only be used as SAP logon language\")}return a||C._getSAPLogonLanguage(C.getLanguageTag())},getPreferredCalendarType:function(){const e=C.getLanguageTag();return f[e.language+\"-\"+e.region]||f[e.language]||f[\"default\"]},getLanguagesDeliveredWithCore:function(){return h},getSupportedLanguages:function(){let n=e.get({name:\"sapUiXxSupportedLanguages\",type:e.Type.StringArray,external:true});if(n.length===0||n.length===1&&n[0]===\"*\"){n=[]}else if(n.length===1&&n[0]===\"default\"){n=this.getLanguagesDeliveredWithCore()||[]}return n}};function w(e){let n=e.language||\"\";n=C.getModernLanguage(e.language);const t=e.region||\"\";if(t&&y.indexOf(n+\"_\"+t)>=0){return true}return y.indexOf(n)>=0}function P(){l.fireEvent(\"change\",s);s=undefined}return C});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/i18n/ResourceBundle\", [\"sap/base/assert\",\"sap/base/future\",\"sap/base/Log\",\"sap/base/i18n/LanguageFallback\",\"sap/base/i18n/Localization\",\"sap/base/strings/formatMessage\",\"sap/base/util/Properties\",\"sap/base/util/merge\"],function(e,r,t,n,a,o,s,i){\"use strict\";var l={en_US_saptrc:\"1Q\",en_US_sappsd:\"2Q\",en_US_saprigi:\"3Q\"};var u=\"en\";const c={_oCache:new Map,_oUrlResolutionCache:new Map,_getResolvedUrl(e){const r=document.baseURI+\"|\"+e;let t=this._oUrlResolutionCache.get(r);if(!t){t=new URL(e,document.baseURI).href;this._oUrlResolutionCache.set(r,t)}return t},_delete(e){this._oCache.delete(e)},_load(e){return s.create(e)},get(e,r,t){let n=this._getResolvedUrl(e);if(r.headers){n+=\"|\"+JSON.stringify(r.headers)}let a=this._oCache.get(n);if(a){if(t){return Promise.resolve(a)}else if(!(a instanceof Promise)){return a}}a=this._load(r);if(a instanceof Promise){a.then(e=>{if(e){this._oCache.set(n,e)}else{this._delete(n)}}).catch(e=>{this._delete(n);throw e})}if(a){this._oCache.set(n,a)}return a}};function f(e){var r;r=a.getLanguage();r=n.normalize(r);return r||e}var h=/^((?:[^?#]*\\/)?[^\\/?#]*)(\\.[^.\\/?#]+)((?:\\?([^#]*))?(?:#(.*))?)$/;var p=[\".properties\",\".hdbtextbundle\"];const d=new Map;function g(e){if(d.has(e)){return d.get(e)}var r=h.exec(e);if(!r||p.indexOf(r[2])<0){throw new Error(\"resource URL '\"+e+\"' has unknown type (should be one of \"+p.join(\",\")+\")\")}const t={url:e,prefix:r[1],ext:r[2],query:r[4],hash:r[5]||\"\",suffix:r[2]+(r[3]||\"\")};d.set(e,t);return t}function b(e,t,o,s,i,l,c){this.sLocale=n.normalize(t)||f(l===undefined?u:l);this.oUrlInfo=g(e);this.bIncludeInfo=o;this.bAsync=s;this.aCustomBundles=[];this.aPropertyFiles=[];this.aPropertyOrigins=[];this.aLocales=[];this._aFallbackLocales=n.calculate(this.sLocale,i||a.getSupportedLanguages(),l,\" of the bundle '\"+this.oUrlInfo.url+\"'\",c);if(s){return m(this).then(()=>this,e=>{r.errorThrows(e.message);return this})}_(this)}b.prototype._enhance=function(e){if(e instanceof b){this.aCustomBundles.push(e)}else{t.error(\"Custom resource bundle is either undefined or not an instanceof sap/base/i18n/ResourceBundle. Therefore this custom resource bundle will be ignored!\")}};b.prototype.getText=function(r,t,n){var a=this._getTextFromProperties(r,t);if(a!=null){return a}a=this._getTextFromFallback(r,t);if(a!=null){return a}if(n){return undefined}else{e(false,\"could not find any translatable text for key '\"+r+\"' in bundle file(s): '\"+this.aPropertyOrigins.join(\"', '\")+\"'\");return this._formatValue(r,r,t)}};b.prototype._formatValue=function(e,t,n){if(typeof e===\"string\"){if(n!==undefined&&!Array.isArray(n)){r.errorThrows(\"sap/base/i18n/ResourceBundle: value for parameter 'aArgs' is not of type array\")}if(n){e=o(e,n)}if(this.bIncludeInfo){e=new String(e);e.originInfo={source:\"Resource Bundle\",url:this.oUrlInfo.url,locale:this.sLocale,key:t}}}return e};b.prototype._getTextFromFallback=function(e,r){var t,n;for(n=this.aCustomBundles.length-1;n>=0;n--){t=this.aCustomBundles[n]._getTextFromFallback(e,r);if(t!=null){return t}}while(typeof t!==\"string\"&&this._aFallbackLocales.length){var a=_(this);if(a){t=a.getProperty(e);if(typeof t===\"string\"){return this._formatValue(t,e,r)}}}return null};b.prototype._getTextFromProperties=function(e,r){var t=null,n;for(n=this.aCustomBundles.length-1;n>=0;n--){t=this.aCustomBundles[n]._getTextFromProperties(e,r);if(t!=null){return t}}for(n=0;n0&&typeof this.aPropertyFiles[0].getProperty(e)===\"string\"};b.prototype._recreate=function(){if(!this._mCreateFactoryParams){var e=new Error(\"ResourceBundle instance can't be recreated as it has not been created by the ResourceBundle.create factory.\");if(this.bAsync){return Promise.reject(e)}else{throw e}}else{return b.create(this._mCreateFactoryParams)}};function m(e){if(e._aFallbackLocales.length){return y(e,true).then(function(r){return r||m(e)})}return Promise.resolve(null)}function _(e){while(e._aFallbackLocales.length){var r=y(e,false);if(r){return r}}return null}function y(e,r){var t=e._aFallbackLocales.shift();if(t!=null){var a=e.oUrlInfo,o,s;if(a.ext===\".hdbtextbundle\"){if(l[t]){o=a.prefix+a.suffix+\"?\"+(a.query?a.query+\"&\":\"\")+\"sap-language=\"+l[t]+(a.hash?\"#\"+a.hash:\"\")}else{o=a.url}s={\"Accept-Language\":n.convertLocaleToBCP47(t)||\"*\"}}else{o=t?a.prefix+\"_\"+t+a.suffix:a.url}var i={url:o,headers:s,async:!!r,returnNullIfMissing:true};const f=c.get(o,i,i.async);var u=function(r){if(r){e.aPropertyFiles.push(r);e.aPropertyOrigins.push(o);e.aLocales.push(t)}return r};return r?f.then(u):u(f)}return r?Promise.resolve(null):null}b._getUrl=function(e,r){var t=e;if(r){r=r.replace(/\\./g,\"/\");t=sap.ui.require.toUrl(r)+\".properties\"}return t};function v(e,r,t,n,a,o,s){if(!r){return[]}var i=[];r.forEach(function(r){if(r.fallbackLocale===undefined){r.fallbackLocale=o}if(r.supportedLocales===undefined){r.supportedLocales=s}var l=b._getUrl(r.bundleUrl,r.bundleName);var u=new b(l,t,n,a,r.supportedLocales,r.fallbackLocale);i.push(u);if(r.terminologies){i=i.concat(L(e,r.terminologies,t,n,a))}});return i}function L(e,r,t,n,a){if(!e){return[]}e=e.filter(function(e){return r.hasOwnProperty(e)});e.reverse();return e.map(function(e){var o=r[e];var s=b._getUrl(o.bundleUrl,o.bundleName);var i=o.supportedLocales;return new b(s,t,n,a,i,null,true)})}b.create=function(e){var r=i({},e);e=i({url:\"\",includeInfo:false},e);if(e.bundleUrl||e.bundleName){e.url=e.url||b._getUrl(e.bundleUrl,e.bundleName)}e=b._enrichBundleConfig(e);var t=new b(e.url,e.locale,e.includeInfo,!!e.async,e.supportedLocales,e.fallbackLocale);if(t instanceof Promise){t=t.then(function(e){e._mCreateFactoryParams=r;return e})}else{t._mCreateFactoryParams=r}var n=[];if(e.terminologies){n=n.concat(L(e.activeTerminologies,e.terminologies,e.locale,e.includeInfo,!!e.async))}if(e.enhanceWith){n=n.concat(v(e.activeTerminologies,e.enhanceWith,e.locale,e.includeInfo,!!e.async,e.fallbackLocale,e.supportedLocales))}if(n.length){if(t instanceof Promise){t=t.then(function(e){return Promise.all(n).then(function(r){r.forEach(e._enhance,e)}).then(function(){return e})})}else{n.forEach(t._enhance,t)}}return t};b._enrichBundleConfig=function(e){return e};b._getFallbackLocales=n.getFallbackLocales;b._getPropertiesCache=function(){return c._oCache};return b});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/i18n/date/CalendarType\", [\"sap/base/i18n/date/_EnumHelper\"],function(e){\"use strict\";var a={Gregorian:\"Gregorian\",Islamic:\"Islamic\",Japanese:\"Japanese\",Persian:\"Persian\",Buddhist:\"Buddhist\"};e.register(\"sap.base.i18n.date.CalendarType\",a);return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/i18n/date/CalendarWeekNumbering\", [\"sap/base/i18n/date/_EnumHelper\"],function(e){\"use strict\";var a={Default:\"Default\",ISO_8601:\"ISO_8601\",MiddleEastern:\"MiddleEastern\",WesternTraditional:\"WesternTraditional\"};e.register(\"sap.base.i18n.date.CalendarWeekNumbering\",a);Object.defineProperty(a,\"getWeekConfigurationValues\",{value:function(e){switch(e){case a.ISO_8601:return{firstDayOfWeek:1,minimalDaysInFirstWeek:4};case a.MiddleEastern:return{firstDayOfWeek:6,minimalDaysInFirstWeek:1};case a.WesternTraditional:return{firstDayOfWeek:0,minimalDaysInFirstWeek:1};default:return undefined}}});return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/i18n/date/TimezoneUtils\", [],function(){\"use strict\";var a={};var i=\"\";var e;var r={_oCache:new Map,_iCacheLimit:10,get:function(a){var i=this._oCache.get(a);if(i){return i}var e={hourCycle:\"h23\",hour:\"2-digit\",minute:\"2-digit\",second:\"2-digit\",fractionalSecondDigits:3,day:\"2-digit\",month:\"2-digit\",year:\"numeric\",timeZone:a,timeZoneName:\"short\",era:\"narrow\",weekday:\"short\"};var r=new Intl.DateTimeFormat(\"en-US\",e);if(this._oCache.size===this._iCacheLimit){this._oCache=new Map}this._oCache.set(a,r);return r}};a.isValidTimezone=function(a){if(!a){return false}if(Intl.supportedValuesOf){try{e=e||Intl.supportedValuesOf(\"timeZone\");if(e.includes(a)){return true}}catch(a){e=[]}}try{r.get(a);return true}catch(a){return false}};a.convertToTimezone=function(i,e){var r=this._getParts(i,e);return a._getDateFromParts(r)};a._getParts=function(a,i){var e,n,t=Object.create(null),o=r.get(i),c=o.formatToParts(new Date(a.getTime()));for(e in c){n=c[e];if(n.type!==\"literal\"){t[n.type]=n.value}}return t};a._getDateFromParts=function(a){var i=new Date(0),e=parseInt(a.year);if(a.era===\"B\"){e=e*-1+1}i.setUTCFullYear(e,parseInt(a.month)-1,parseInt(a.day));i.setUTCHours(parseInt(a.hour),parseInt(a.minute),parseInt(a.second),parseInt(a.fractionalSecond||0));return i};a.calculateOffset=function(i,e){const r=a.convertToTimezone(i,e);const n=i.getTime();const t=n-r.getTime();const o=new Date(n+t);const c=a.convertToTimezone(o,e);const A=c.getTime();const s=o.getTime()-A;let u=s;if(t!==s){const i=new Date(n+s);const r=a.convertToTimezone(i,e);const o=r.getTime();if(o!==n&&A>o){u=t}}return u/1e3};a.mTimezoneAliases2ABAPTimezones={\"Africa/Asmera\":\"Africa/Asmara\",\"Africa/Timbuktu\":\"Africa/Bamako\",\"America/Argentina/ComodRivadavia\":\"America/Argentina/Catamarca\",\"America/Atka\":\"America/Adak\",\"America/Buenos_Aires\":\"America/Argentina/Buenos_Aires\",\"America/Catamarca\":\"America/Argentina/Catamarca\",\"America/Coral_Harbour\":\"America/Atikokan\",\"America/Cordoba\":\"America/Argentina/Cordoba\",\"America/Ensenada\":\"America/Tijuana\",\"America/Fort_Wayne\":\"America/Indiana/Indianapolis\",\"America/Godthab\":\"America/Nuuk\",\"America/Indianapolis\":\"America/Indiana/Indianapolis\",\"America/Jujuy\":\"America/Argentina/Jujuy\",\"America/Knox_IN\":\"America/Indiana/Knox\",\"America/Louisville\":\"America/Kentucky/Louisville\",\"America/Mendoza\":\"America/Argentina/Mendoza\",\"America/Montreal\":\"America/Toronto\",\"America/Nipigon\":\"America/Toronto\",\"America/Pangnirtung\":\"America/Iqaluit\",\"America/Porto_Acre\":\"America/Rio_Branco\",\"America/Rainy_River\":\"America/Winnipeg\",\"America/Rosario\":\"America/Argentina/Cordoba\",\"America/Santa_Isabel\":\"America/Tijuana\",\"America/Shiprock\":\"America/Denver\",\"America/Thunder_Bay\":\"America/Toronto\",\"America/Virgin\":\"America/St_Thomas\",\"America/Yellowknife\":\"America/Edmonton\",\"Antarctica/South_Pole\":\"Pacific/Auckland\",\"Asia/Ashkhabad\":\"Asia/Ashgabat\",\"Asia/Calcutta\":\"Asia/Kolkata\",\"Asia/Choibalsan\":\"Asia/Ulaanbaatar\",\"Asia/Chongqing\":\"Asia/Shanghai\",\"Asia/Chungking\":\"Asia/Shanghai\",\"Asia/Dacca\":\"Asia/Dhaka\",\"Asia/Harbin\":\"Asia/Shanghai\",\"Asia/Istanbul\":\"Europe/Istanbul\",\"Asia/Kashgar\":\"Asia/Urumqi\",\"Asia/Katmandu\":\"Asia/Kathmandu\",\"Asia/Macao\":\"Asia/Macau\",\"Asia/Rangoon\":\"Asia/Yangon\",\"Asia/Saigon\":\"Asia/Ho_Chi_Minh\",\"Asia/Tel_Aviv\":\"Asia/Jerusalem\",\"Asia/Thimbu\":\"Asia/Thimphu\",\"Asia/Ujung_Pandang\":\"Asia/Makassar\",\"Asia/Ulan_Bator\":\"Asia/Ulaanbaatar\",\"Atlantic/Faeroe\":\"Atlantic/Faroe\",\"Atlantic/Jan_Mayen\":\"Arctic/Longyearbyen\",\"Australia/ACT\":\"Australia/Sydney\",\"Australia/Canberra\":\"Australia/Sydney\",\"Australia/Currie\":\"Australia/Hobart\",\"Australia/LHI\":\"Australia/Lord_Howe\",\"Australia/NSW\":\"Australia/Sydney\",\"Australia/North\":\"Australia/Darwin\",\"Australia/Queensland\":\"Australia/Brisbane\",\"Australia/South\":\"Australia/Adelaide\",\"Australia/Tasmania\":\"Australia/Hobart\",\"Australia/Victoria\":\"Australia/Melbourne\",\"Australia/West\":\"Australia/Perth\",\"Australia/Yancowinna\":\"Australia/Broken_Hill\",\"Brazil/Acre\":\"America/Rio_Branco\",\"Brazil/DeNoronha\":\"America/Noronha\",\"Brazil/East\":\"America/Sao_Paulo\",\"Brazil/West\":\"America/Manaus\",CET:\"Europe/Brussels\",CST6CDT:\"America/Chicago\",\"Canada/Atlantic\":\"America/Halifax\",\"Canada/Central\":\"America/Winnipeg\",\"Canada/East-Saskatchewan\":\"America/Regina\",\"Canada/Eastern\":\"America/Toronto\",\"Canada/Mountain\":\"America/Edmonton\",\"Canada/Newfoundland\":\"America/St_Johns\",\"Canada/Pacific\":\"America/Vancouver\",\"Canada/Saskatchewan\":\"America/Regina\",\"Canada/Yukon\":\"America/Whitehorse\",\"Chile/Continental\":\"America/Santiago\",\"Chile/EasterIsland\":\"Pacific/Easter\",Cuba:\"America/Havana\",EET:\"Europe/Athens\",EST:\"America/Panama\",EST5EDT:\"America/New_York\",Egypt:\"Africa/Cairo\",Eire:\"Europe/Dublin\",\"Etc/GMT+0\":\"Etc/GMT\",\"Etc/GMT-0\":\"Etc/GMT\",\"Etc/GMT0\":\"Etc/GMT\",\"Etc/Greenwich\":\"Etc/GMT\",\"Etc/UCT\":\"Etc/UTC\",\"Etc/Zulu\":\"Etc/UTC\",\"Europe/Belfast\":\"Europe/London\",\"Europe/Kyiv\":\"Europe/Kiev\",\"Europe/Nicosia\":\"Asia/Nicosia\",\"Europe/Tiraspol\":\"Europe/Chisinau\",\"Europe/Uzhgorod\":\"Europe/Kiev\",\"Europe/Zaporozhye\":\"Europe/Kiev\",GB:\"Europe/London\",\"GB-Eire\":\"Europe/London\",GMT:\"Etc/GMT\",\"GMT+0\":\"Etc/GMT\",\"GMT-0\":\"Etc/GMT\",GMT0:\"Etc/GMT\",Greenwich:\"Etc/GMT\",HST:\"Pacific/Honolulu\",Hongkong:\"Asia/Hong_Kong\",Iceland:\"Atlantic/Reykjavik\",Iran:\"Asia/Tehran\",Israel:\"Asia/Jerusalem\",Jamaica:\"America/Jamaica\",Japan:\"Asia/Tokyo\",Kwajalein:\"Pacific/Kwajalein\",Libya:\"Africa/Tripoli\",MET:\"Europe/Brussels\",MST:\"America/Phoenix\",MST7MDT:\"America/Denver\",\"Mexico/BajaNorte\":\"America/Tijuana\",\"Mexico/BajaSur\":\"America/Mazatlan\",\"Mexico/General\":\"America/Mexico_City\",NZ:\"Pacific/Auckland\",\"NZ-CHAT\":\"Pacific/Chatham\",Navajo:\"America/Denver\",PRC:\"Asia/Shanghai\",PST8PDT:\"America/Los_Angeles\",\"Pacific/Enderbury\":\"Pacific/Kanton\",\"Pacific/Johnston\":\"Pacific/Honolulu\",\"Pacific/Ponape\":\"Pacific/Pohnpei\",\"Pacific/Samoa\":\"Pacific/Pago_Pago\",\"Pacific/Truk\":\"Pacific/Chuuk\",\"Pacific/Yap\":\"Pacific/Chuuk\",Poland:\"Europe/Warsaw\",Portugal:\"Europe/Lisbon\",ROC:\"Asia/Taipei\",ROK:\"Asia/Seoul\",Singapore:\"Asia/Singapore\",Turkey:\"Europe/Istanbul\",UCT:\"Etc/UTC\",\"US/Alaska\":\"America/Anchorage\",\"US/Aleutian\":\"America/Adak\",\"US/Arizona\":\"America/Phoenix\",\"US/Central\":\"America/Chicago\",\"US/East-Indiana\":\"America/Indiana/Indianapolis\",\"US/Eastern\":\"America/New_York\",\"US/Hawaii\":\"Pacific/Honolulu\",\"US/Indiana-Starke\":\"America/Indiana/Knox\",\"US/Michigan\":\"America/Detroit\",\"US/Mountain\":\"America/Denver\",\"US/Pacific\":\"America/Los_Angeles\",\"US/Pacific-New\":\"America/Los_Angeles\",\"US/Samoa\":\"Pacific/Pago_Pago\",UTC:\"Etc/UTC\",Universal:\"Etc/UTC\",\"W-SU\":\"Europe/Moscow\",WET:\"Europe/Lisbon\",Zulu:\"Etc/UTC\"};a.getLocalTimezone=function(){if(i===\"\"){i=(new Intl.DateTimeFormat).resolvedOptions().timeZone;i=a.getABAPTimezone(i)}return i};a.getABAPTimezone=function(i){return a.mTimezoneAliases2ABAPTimezones[i]||i};a._clearLocalTimezoneCache=function(){i=\"\"};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/i18n/date/_EnumHelper\", [],function(){\"use strict\";let e;const n=new Map;return{inject:function(t){if(!e){e=t;n.forEach((n,t)=>{e(t,n)})}},register:function(t,i){if(e){e(t,i)}else{n.set(t,i)}}}});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/security/encodeCSS\", [\"sap/base/strings/toHex\"],function(r){\"use strict\";var e=/[\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xff\\u2028\\u2029][0-9A-Fa-f]?/g;var t=function(e){var t=e.charCodeAt(0);if(e.length===1){return\"\\\\\"+r(t)}else{return\"\\\\\"+r(t)+\" \"+e.substr(1)}};var n=function(r){return r.replace(e,t)};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/security/encodeXML\", [\"sap/base/strings/toHex\"],function(x){\"use strict\";var e=/[\\x00-\\x2b\\x2f\\x3a-\\x40\\x5b-\\x5e\\x60\\x7b-\\xff\\u2028\\u2029]/g,t=/[\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f-\\x9f]/,f={\"<\":\"<\",\">\":\">\",\"&\":\"&\",'\"':\""\"};var r=function(e){var r=f[e];if(!r){if(t.test(e)){r=\"�\"}else{r=\"&#x\"+x(e.charCodeAt(0))+\";\"}f[e]=r}return r};var a=function(x){return x.replace(e,r)};return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/strings/camelize\", [],function(){\"use strict\";var r=/-(.)/gi;var e=function(e){return e.replace(r,function(r,e){return e.toUpperCase()})};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/strings/capitalize\", [],function(){\"use strict\";var r=function(r){return r.charAt(0).toUpperCase()+r.substring(1)};return r});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/strings/escapeRegExp\", [],function(){\"use strict\";var r=/[[\\]{}()*+?.\\\\^$|]/g;var e=function(e){return e.replace(r,\"\\\\$&\")};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/strings/formatMessage\", [\"sap/base/assert\"],function(r){\"use strict\";var e=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\\{([0-9]+(?:\\s*,[^{}]*)?)\\}|[{}]/g;var t=function(t,n){r(typeof t===\"string\"||t instanceof String,\"pattern must be string\");if(arguments.length>2||n!=null&&!Array.isArray(n)){n=Array.prototype.slice.call(arguments,1)}n=n||[];return t.replace(e,function(r,e,t,s,a){if(e){return\"'\"}else if(t){return t.replace(/''/g,\"'\")}else if(s){return String(n[parseInt(s)])}throw new Error(\"formatMessage: pattern syntax error at pos. \"+a)})};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/strings/hash\", [],function(){\"use strict\";var e=function(e){var n=e.length,r=0;while(n--){r=(r<<5)-r+e.charCodeAt(n);r=r&r}return r};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/strings/toHex\", [],function(){\"use strict\";var t=function(t,r){var n=t.toString(16);if(r){n=n.padStart(r,\"0\")}return n};return t});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/Deferred\", ()=>{\"use strict\";var e=function(){this.promise=new Promise((e,i)=>{this.resolve=e;this.reject=i})};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/JSTokenizer\", [],function(){\"use strict\";\n/*\n\t * The following code has been taken from the component JSON in JavaScript\n\t * from Douglas Crockford which is licensed under Public Domain\n\t * (http://www.json.org/ > JavaScript > json-2). The code contains\n\t * local modifications.\n\t *\n\t * Git URL: https://github.com/douglascrockford/JSON-js/blob/ff55d8d4513b149e2511aee01c3a61d372837d1f/json_parse.js\n\t */var t=function(){this.at;this.ch;this.escapee={'\"':'\"',\"'\":\"'\",\"\\\\\":\"\\\\\",\"/\":\"/\",b:\"\\b\",f:\"\\f\",n:\"\\n\",r:\"\\r\",t:\"\\t\"};this.text};t.prototype.error=function(t){const i=new SyntaxError(t);i.at=this.at;i.text=this.text;throw i};t.prototype.next=function(t){if(t&&t!==this.ch){this.error(\"Expected '\"+t+\"' instead of '\"+this.ch+\"'\")}this.ch=this.text.charAt(this.at);this.at+=1;return this.ch};t.prototype.number=function(){var t,i=\"\";if(this.ch===\"-\"){i=\"-\";this.next(\"-\")}while(this.ch>=\"0\"&&this.ch<=\"9\"){i+=this.ch;this.next()}if(this.ch===\".\"){i+=\".\";while(this.next()&&this.ch>=\"0\"&&this.ch<=\"9\"){i+=this.ch}}if(this.ch===\"e\"||this.ch===\"E\"){i+=this.ch;this.next();if(this.ch===\"-\"||this.ch===\"+\"){i+=this.ch;this.next()}while(this.ch>=\"0\"&&this.ch<=\"9\"){i+=this.ch;this.next()}}t=+i;if(!isFinite(t)){this.error(\"Bad number\")}else{return t}};t.prototype.string=function(){var t,i,h=\"\",e,s;if(this.ch==='\"'||this.ch===\"'\"){e=this.ch;while(this.next()){if(this.ch===e){this.next();return h}if(this.ch===\"\\\\\"){this.next();if(this.ch===\"u\"){s=0;for(i=0;i<4;i+=1){t=parseInt(this.next(),16);if(!isFinite(t)){break}s=s*16+t}h+=String.fromCharCode(s)}else if(typeof this.escapee[this.ch]===\"string\"){h+=this.escapee[this.ch]}else{break}}else{h+=this.ch}}}this.error(\"Bad string\")};function i(t){return t===\"_\"||t===\"$\"||t>=\"0\"&&t<=\"9\"||t>=\"a\"&&t<=\"z\"||t>=\"A\"&&t<=\"Z\"}t.prototype.name=function(){var t=\"\";if(i(this.ch)){t+=this.ch}else{this.error(\"Bad name\")}while(this.next()){if(this.ch<=\" \"){this.next();return t}if(this.ch===\":\"){return t}if(i(this.ch)){t+=this.ch}else{this.error(\"Bad name\")}}this.error(\"Bad name\")};t.prototype.white=function(){while(this.ch&&this.ch<=\" \"){this.next()}};t.prototype.word=function(){switch(this.ch){case\"t\":this.next(\"t\");this.next(\"r\");this.next(\"u\");this.next(\"e\");return true;case\"f\":this.next(\"f\");this.next(\"a\");this.next(\"l\");this.next(\"s\");this.next(\"e\");return false;case\"n\":this.next(\"n\");this.next(\"u\");this.next(\"l\");this.next(\"l\");return null}this.error(\"Unexpected '\"+this.ch+\"'\")};t.prototype.array=function(){var t=[];if(this.ch===\"[\"){this.next(\"[\");this.white();if(this.ch===\"]\"){this.next(\"]\");return t}while(this.ch){t.push(this.value());this.white();if(this.ch===\"]\"){this.next(\"]\");return t}this.next(\",\");this.white()}}this.error(\"Bad array\")};var h=function(){var t,h={};if(this.ch===\"{\"){this.next(\"{\");this.white();if(this.ch===\"}\"){this.next(\"}\");return h}while(this.ch){if(this.ch>=\"0\"&&this.ch<=\"9\"){t=this.number()}else if(this.ch==='\"'||this.ch===\"'\"){t=this.string()}else if(i(this.ch)){t=this.name()}else{const t=Math.max(0,this.at-10);const i=this.text.substring(t,this.at+10);const h=this.at-t;this.error(`Syntax error: Unexpected character '${this.ch}'.\\n\\n${i}\\n${\" \".repeat(h-1)}^`)}this.white();this.next(\":\");if(Object.hasOwn(h,t)){this.error('Duplicate key \"'+t+'\"')}h[t]=this.value();this.white();if(this.ch===\"}\"){this.next(\"}\");return h}this.next(\",\");this.white()}}this.error(\"Bad object\")};t.prototype.value=function(){this.white();switch(this.ch){case\"{\":return h.call(this);case\"[\":return this.array();case'\"':case\"'\":return this.string();case\"-\":return this.number();default:return this.ch>=\"0\"&&this.ch<=\"9\"?this.number():this.word()}};t.prototype.getIndex=function(){return this.at-1};t.prototype.getCh=function(){return this.ch};t.prototype.init=function(t,i){this.text=t;this.at=i||0;this.ch=\" \"};t.prototype.setIndex=function(t){if(t2&&40*r>e.length){Number(e)}return e}:function(e){return e};var n=/(?:\\r\\n|\\r|\\n|^)[ \\t\\f]*/;var i=/(\\\\u[0-9a-fA-F]{0,4})|(\\\\.)|(\\\\$)|([ \\t\\f]*[ \\t\\f:=][ \\t\\f]*)/g;var s=/(\\\\u[0-9a-fA-F]{0,4})|(\\\\.)|(\\\\$)/g;var o={\"\\\\f\":\"\\f\",\"\\\\n\":\"\\n\",\"\\\\r\":\"\\r\",\"\\\\t\":\"\\t\"};function f(e,r){var f=e.split(n),u,l,a,c,p,h,y,g;function d(e){if(c){c=c+e;g++}else{c=e;g=0}}r.mProperties={};for(p=0;p=0&&this.compareTo(n)<0};return n});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/_merge\", [\"./isPlainObject\"],function(e){\"use strict\";var r=Object.create(null);var i=function(){\n/*\n\t\t * The code in this function is taken from jQuery 3.6.0 \"jQuery.extend\" and got modified.\n\t\t *\n\t\t * jQuery JavaScript Library v3.6.0\n\t\t * https://jquery.com/\n\t\t *\n\t\t * Copyright OpenJS Foundation and other contributors\n\t\t * Released under the MIT license\n\t\t * https://jquery.org/license\n\t\t */\nvar n,f,t,a,o,u,l=arguments[2]||{},s=3,c=arguments.length,y=arguments[0]||false,p=arguments[1]?undefined:r;if(typeof l!==\"object\"&&typeof l!==\"function\"){l={}}for(;s0;c--){d=u[c].line;if(d!==undefined&&d>0){if(s[d-1].symbol===u[c-1].symbol){s[d-1].line=c-1;u[c-1].line=d-1}}}while(p1){a.sort();var i=0;for(var t=1;tn){throw new TypeError(\"The structure depth of the source exceeds the maximum depth (\"+n+\")\")}if(e==null){return e}else if(e instanceof Date){if(e.clone){return e.clone()}return new Date(e.getTime())}else if(Array.isArray(e)){return t(e,r,n)}else if(typeof e===\"object\"){return i(e,r,n)}else{return e}}function t(e,r,t){var i=[];for(var o=0;of){e.warning(\"deepEqual comparison exceeded maximum recursion depth of \"+f+\". Treating values as unequal\");return false}if(t===n||Number.isNaN(t)&&Number.isNaN(n)){return true}if(Array.isArray(t)&&Array.isArray(n)){if(!a&&t.length!==n.length){return false}if(t.length>n.length){return false}for(var i=0;i0){t.append(e.slice(0,r),e.slice(r+1))}else{t.append(e,\"\")}}})}return t}function t(t,r){var n=e(t.getAllResponseHeaders());Object.defineProperties(this,{headers:{value:n},ok:{value:t.status>=200&&t.status<300},status:{value:t.status},statusText:{value:t.statusText}});this.json=function(){if(t.responseType===\"json\"){return r.resolve(t.response)}else{try{var e=JSON.parse(t.responseText);return r.resolve(e)}catch(e){return r.reject(e)}}};this.text=function(){return r.resolve(t.responseText)}}var r=[\"include\",\"omit\",\"same-origin\"];function n(e,n,s){n=Object.assign({body:null,credentials:\"sam Copyright (C) 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025, 2025 Sindre Sorhus (sindresorhus.com)\n * Version 2.0.0, see https://github.com/sindresorhus/p-cancelable/tree/v2.0.0\n */\nsap.ui.predefine(\"sap/base/util/restricted/_CancelablePromise\", function(){\"use strict\";function e(e,n){var r;if(typeof Symbol===\"undefined\"||e[Symbol.iterator]==null){if(Array.isArray(e)||(r=t(e))||n&&e&&typeof e.length===\"number\"){if(r)e=r;var o=0;var i=function e(){};return{s:i,n:function t(){if(o>=e.length)return{done:true};return{done:false,value:e[o++]}},e:function e(t){throw t},f:i}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}var u=true,c=false,f;return{s:function t(){r=e[Symbol.iterator]()},n:function e(){var t=r.next();u=t.done;return t},e:function e(t){c=true;f=t},f:function e(){try{if(!u&&r.return!=null)r.return()}finally{if(c)throw f}}}}function t(e,t){if(!e)return;if(typeof e===\"string\")return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r===\"Object\"&&e.constructor)r=e.constructor.name;if(r===\"Map\"||r===\"Set\")return Array.from(e);if(r===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}function n(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,r=new Array(t);n0){try{var r=e(this._cancelHandlers),o;try{for(r.s();!(o=r.n()).done;){var i=o.value;i()}}catch(e){r.e(e)}finally{r.f()}}catch(e){this._reject(e)}}this._isCanceled=true;if(this._rejectOnCancel){this._reject(new v(n))}}},{key:\"isCanceled\",get:function e(){return this._isCanceled}}]);return t}();Object.setPrototypeOf(m.prototype,Promise.prototype);m.CancelError=v;return m});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_castArray\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.castArray});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_compact\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.compact});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_curry\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.curry});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_debounce\", [\"sap/base/util/restricted/_/lodash.custom\"],function(e){\"use strict\";return e.debounce});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_difference\", [\"sap/base/util/restricted/_/lodash.custom\"],function(e){\"use strict\";return e.difference});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_differenceBy\", [\"sap/base/util/restricted/_/lodash.custom\"],function(e){\"use strict\";return e.differenceBy});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_differenceWith\", [\"sap/base/util/restricted/_/lodash.custom\"],function(e){\"use strict\";return e.differenceWith});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_flatMap\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.flatMap});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_flatMapDeep\", [\"sap/base/util/restricted/_/lodash.custom\"],function(e){\"use strict\";return e.flatMapDeep});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_flatMapDepth\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.flatMapDepth});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_flatten\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.flatten});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_flattenDeep\", [\"sap/base/util/restricted/_/lodash.custom\"],function(e){\"use strict\";return e.flattenDeep});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_flattenDepth\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.flattenDepth});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_intersection\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.intersection});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_intersectionBy\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.intersectionBy});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_intersectionWith\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.intersectionWith});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_isEqual\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.isEqual});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_isEqualWith\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.isEqualWith});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_isNil\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.isNil});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_max\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.max});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_merge\", [\"sap/base/util/restricted/_/lodash.custom\"],function(e){\"use strict\";return e.merge});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_mergeWith\", [\"sap/base/util/restricted/_/lodash.custom\"],function(e){\"use strict\";return e.mergeWith});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_min\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.min});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_omit\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.omit});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_pick\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.pick});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_pickBy\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.pickBy});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_throttle\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.throttle});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_toArray\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.toArray});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_union\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.union});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_unionBy\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.unionBy});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_unionWith\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.unionWith});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_uniq\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.uniq});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_uniqBy\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.uniqBy});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_uniqWith\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.uniqWith});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_without\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.without});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_xor\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.xor});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_xorBy\", [\"sap/base/util/restricted/_/lodash.custom\"],function(s){\"use strict\";return s.xorBy});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_xorWith\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.xorWith});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_zipObject\", [\"sap/base/util/restricted/_/lodash.custom\"],function(t){\"use strict\";return t.zipObject});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/restricted/_zipObjectDeep\", [\"sap/base/util/restricted/_/lodash.custom\"],function(e){\"use strict\";return e.zipObjectDeep});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/syncFetch\", [\"./fetch\",\"sap/ui/base/SyncPromise\"],function(n,t){\"use strict\";function e(){var n=this.text;var t=this.json;this.text=function(){return n().unwrap()};this.json=function(){return t().unwrap()}}function i(i,r){return n(i,r,{promiseImpl:t,responseMixin:e}).unwrap()}i.ContentTypes=n.ContentTypes;return i});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/base/util/values\", function(){\"use strict\";var e=function e(n){if(typeof n===\"undefined\"||n===null||n!==n){return[]}return Object.values(n)};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/ManagedObjectObserver\", [\"sap/ui/base/Object\",\"sap/ui/base/ManagedObject\",\"sap/ui/base/EventProvider\",\"sap/base/util/array/uniqueSort\",\"sap/base/util/deepExtend\"],function(e,n,t,r,i){\"use strict\";var a=e.extend(\"sap.ui.base.ManagedObjectObserver\",{constructor:function(n){if(!n&&typeof n!==\"function\"){throw new Error(\"Missing callback function in ManagedObjectObserver constructor\")}e.call(this);this._fnCallback=n}});a.prototype.observe=function(e,t){if(!(e instanceof n)){if(e==null){return}throw new TypeError(\"ManagedObjectObserver can only handle ManagedObjects, but observe was called for \"+e)}A(e,t);l(e,this,t)};a.prototype.unobserve=function(e,t){if(!(e instanceof n)){if(e==null){return}throw new TypeError(\"ManagedObjectObserver can only handle ManagedObjects, but unobserve was called for \"+e)}if(t){A(e,t)}p(e,this,t)};a.prototype.isObserved=function(e,t){if(!(e instanceof n)){if(e==null){return false}throw new TypeError(\"ManagedObjectObserver can only handle ManagedObjects, but isObserved was called for \"+e)}return v(e,this,t)};a.prototype.disconnect=function(){b(this)};a.prototype.getConfiguration=function(e){return d(e,this)};var s={},o=Object.create(null),u=new WeakMap;s.propertyChange=function(e,n,t,r){c(\"properties\",e,n,function(){return{type:\"property\",old:t,current:r}})};s.aggregationChange=function(e,n,t,r){c(\"aggregations\",e,n,function(){return{type:\"aggregation\",mutation:t,children:Array.isArray(r)?r:null,child:!Array.isArray(r)?r:null}})};s.parentChange=function(e,n,t,r){c(\"parent\",e,n,function(){return{type:\"parent\",mutation:t,parent:r}});var i=t===\"unset\"?\"remove\":\"insert\";s.aggregationChange(r,n,i,e)};s.associationChange=function(e,n,t,r){c(\"associations\",e,n,function(){return{type:\"association\",mutation:t,ids:r}})};s.eventChange=function(e,n,t,r,i,a){c(\"events\",e,n,function(){return{type:\"event\",mutation:t,listener:r,func:i,data:a}})};s.bindingChange=function(e,n,t,r,i){c(\"bindings\",e,n,function(){return{type:\"binding\",mutation:t,bindingInfo:r,memberType:i}})};s.objectDestroyed=function(e){c(\"destroy\",e,null,function(){return{type:\"destroy\"}});f(e)};function f(e){var n=e.getId();if(o[n]){e.detachEvent(\"EventHandlerChange\",O);for(var t=0;t-1}function l(e,n,t){h(e,n,t,false)}function d(e,n){var t=e.getId();var r=o[t];if(r&&r.listeners){var a=r.listeners.indexOf(n);if(a>=0){var s=i({},r.configurations[a]);return s}}return null}function p(e,n,t){t=t||d(e,n);h(e,n,t,true)}function v(e,n,t){var r=e.getId(),i=o[r];t=t||d(e,n);if(!i){return false}var a=i.listeners.indexOf(n);if(a===-1){return false}else{return j(i.configurations[a].properties,t.properties)&&j(i.configurations[a].aggregations,t.aggregations)&&j(i.configurations[a].associations,t.associations)&&j(i.configurations[a].bindings,t.bindings)&&j(i.configurations[a].events,t.events)&&E(i.configurations[a].destroy,t.destroy)&&E(i.configurations[a].parent,t.parent)}}function b(e){var n=u.get(e);if(!n){return}n.forEach(function(n){var t=o[n];for(var r=0;r=0){l=c.configurations[d]}}else{if(!c){c=o[a]={listeners:[],configurations:[],object:e}}if(g.size===0){u.set(n,g)}g.add(a);d=c.listeners.indexOf(n);if(d===-1){c.listeners.push(n);c.configurations.push(r)}else{l=c.configurations[d]}}if(l){l.properties=l.properties||[];m(l.properties,r.properties,i);l.aggregations=l.aggregations||[];m(l.aggregations,r.aggregations,i);l.associations=l.associations||[];m(l.associations,r.associations,i);l.bindings=l.bindings||[];m(l.bindings,r.bindings,i);l.events=l.events||[];m(l.events,r.events,i);if(r.destroy!=null){if(i){delete l.destroy}else{l.destroy=r.destroy}}if(r.parent!=null){if(i){delete l.parent}else{l.parent=r.parent}}}var p=y(e,\"events\");if(e._observer&&i){if(!p&&t.hasListener(e,\"EventHandlerChange\",O)){e.detachEvent(\"EventHandlerChange\",O)}if(!p&&!y(e,\"properties\")&&!y(e,\"aggregations\")&&!y(e,\"associations\")&&!y(e,\"destroy\")&&!y(e,\"parent\")&&!y(e,\"bindings\")){f(e)}}else if(!e._observer&&!i){if(p&&!t.hasListener(e,\"EventHandlerChange\",O)){e.attachEvent(\"EventHandlerChange\",O)}e._observer=s}}function y(e,n){var t=e.getId(),r=o[t];if(r){var i=r.configurations.filter(function(e){return e.hasOwnProperty(n)&&e[n]&&(e[n]===true||e[n].length>0)});return i.length>0}return false}function O(e){var n=e.getSource(),t=e.mParameters.EventId;if(n.getMetadata().hasEvent(t)){if(e.mParameters.type===\"listenerAttached\"){s.eventChange(n,t,\"insert\",e.mParameters.listener,e.mParameters.func,e.mParameters.data)}else if(e.mParameters.type===\"listenerDetached\"){s.eventChange(n,t,\"remove\",e.mParameters.listener,e.mParameters.func,e.mParameters.data)}}}function m(e,n,t){if(!n){return}for(var r=0;r-1&&t){e.splice(i,1)}else if(i===-1&&!t){e.push(n[r])}}}function j(e,n){if(!Array.isArray(n)||n.length==0){return true}if(!Array.isArray(e)||e.length==0){return false}var t=r(e.concat(n));return e.length===t.length}function E(e,n){if(n==null){return true}return e===n}function A(e,n){var t=e.getMetadata(),i=Object.keys(t.getAllProperties()),a=Object.keys(t.getAllAggregations()),s=Object.keys(t.getAllAssociations()),o=r(i.concat(a)),u=Object.keys(t.getAllEvents());n.properties=n.properties===true?i:n.properties;n.aggregations=n.aggregations===true?a:n.aggregations;n.associations=n.associations===true?s:n.associations;n.bindings=n.bindings===true?o:n.bindings;n.events=n.events===true?u:n.events;n.destroy=n.destroy==null?false:n.destroy;n.parent=n.parent==null?false:n.parent}return a});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/base/ObjectPool\", [\"./Object\"],function(t){\"use strict\";var e=t.extend(\"sap.ui.base.ObjectPool\",{constructor:function(e){t.call(this);this.oObjectClass=e;this.aFreeObjects=[]}});e.prototype.borrowObject=function(){var t=this.aFreeObjects.length==0?new this.oObjectClass:this.aFreeObjects.pop();t.init.apply(t,arguments);return t};e.prototype.returnObject=function(t){t.reset();this.aFreeObjects.push(t)};return e});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/AccessKeysEnablement\", [\"sap/base/config\",\"sap/ui/base/Object\",\"sap/ui/core/Element\",\"sap/ui/Device\"],function(e,t,n,i){\"use strict\";var s=t.extend(\"sap.ui.core.AccessKeysEnablement\",{});s.controlRegistry=new Set;s.CSS_CLASS=\"sapUiAccKeysHighlighDom\";s.bListenersAttached=false;var r=function(){var e=function(e){var t=e.getEnabled&&!e.getEnabled();if(t){return}if(e){e.setProperty(\"highlightAccKeysRef\",true);e.onAccKeysHighlightStart&&e.onAccKeysHighlightStart()}};s.controlRegistry.forEach(function(t){e(t)})};var a=function(){var e=function(e){if(e){e.setProperty(\"highlightAccKeysRef\",false);e.onAccKeysHighlightStart&&e.onAccKeysHighlightEnd()}};s.controlRegistry.forEach(function(t){e(t)})};s.attachKeydownListeners=function(){document.addEventListener(\"keydown\",function(e){if(this.hasHighlightedElements()){e.preventDefault()}this.handleHighlightStart(e);document.addEventListener(\"keydown\",function(e){if(this.hasHighlightedElements()){e.preventDefault()}}.bind(this),{once:true})}.bind(this));document.addEventListener(\"keyup\",function(e){this.handleHighlightEnd(e)}.bind(this));window.addEventListener(\"blur\",function(){this.handleHighlightEnd(true)}.bind(this))};s.handleHighlightStart=function(e){var t=e.altKey;var n=e.key;if(t){r();if(this.hasHighlightedElements()){var i=this.getElementToBeFocused(n);if(!i.length){return}var s=document.activeElement;var a=e.shiftKey;var c=i.indexOf(s);if(a){var o=i[c-1];if(o){o.focus()}else if(c===0){i[i.length-1].focus()}}else{var l=i[c+1];if(l){l.focus()}else if(c===i.length-1){i[0].focus()}}}}};s.hasHighlightedElements=function(){return document.getElementsByClassName(s.CSS_CLASS).length};s.handleHighlightEnd=function(e,t){if(!e.altKey||t){a()}};s.getElementToBeFocused=function(e){return[].filter.call(document.querySelectorAll(\"[data-ui5-accesskey='\"+e.toLowerCase()+\"']\"),function(e){var t=n.getElementById(e.getAttribute(\"id\"));var i=t.getEnabled?t.getEnabled():true;var s=t.getVisible();return i&&s}).map(function(e){e=n.getElementById(e.getAttribute(\"id\"));return e.getAccessKeysFocusTarget?e.getAccessKeysFocusTarget():e.getFocusDomRef()})};s.registerControl=function(t){var n=e.get({name:\"sapUiXxAccKeys\",type:e.Type.Boolean,external:true});if(i.os.macintosh){return}this.controlRegistry.add(t);if(n&&!this.bListenersAttached){this.attachKeydownListeners();s.bListenersAttached=true}var r=t.exit;t.exit=function(){s.controlRegistry.delete(t);r&&r.call(t)}};s.deregisterControl=function(e){s.registerControl.delete()};return s});\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/AppCacheBuster\", [\"sap/ui/base/ManagedObject\",\"sap/ui/thirdparty/URI\",\"sap/base/config\",\"sap/base/Log\",\"sap/base/i18n/Localization\",\"sap/base/util/extend\",\"sap/base/util/mixedFetch\",\"sap/base/strings/escapeRegExp\",\"sap/ui/core/_IconRegistry\"],function(e,t,r,n,o,i,a,s,p){\"use strict\";const c=o.getLanguage();const u=r.get({name:\"sapUiXxAppCacheBusterMode\",type:r.Type.String,defaultValue:\"sync\",external:true,freeze:true});const f=u===\"sync\";const l=u===\"batch\";var d={index:{},active:false};var h,y,g,v,b;var L=document.baseURI.replace(/\\?.*|#.*/g,\"\");var m=t(sap.ui.require.toUrl(\"\")+\"/../\");var x=m.toString();if(m.is(\"relative\")){m=m.absoluteTo(L)}var R=m.normalize().toString();var U=t(\"resources\").absoluteTo(R).toString();var A=new RegExp(\"^\"+s(U));var C=function(e){if(e.length>0&&e.slice(-1)!==\"/\"){e+=\"/\"}return e};var T=function(e,t){var r=d.index;var o;var s;var p;var u,h;if(Array.isArray(e)&&!l){e.forEach(function(e){T(e,t)})}else if(Array.isArray(e)&&l){var y=C(e[0]);var g=[];n.debug('sap.ui.core.AppCacheBuster.register(\"'+y+'\"); // BATCH MODE!');var v=O.normalizeURL(y);n.debug(' --\\x3e normalized to: \"'+v+'\"');e.forEach(function(e){s=C(e);var t=O.normalizeURL(s);if(!r[p]){g.push(t)}});if(g.length>0){s=v+\"sap-ui-cachebuster-info.json?sap-ui-language=\"+c;o={body:g.join(\"\\n\"),headers:{Accept:a.ContentTypes.JSON,\"Content-Type\":\"text/plain\"},mode:\"POST\"};u=function(e){O.onIndexLoaded(s,e);i(r,e)};h=function(e){n.error('Failed to batch load AppCacheBuster index file from: \"'+e+'\".')}}}else{e=C(e);n.debug('sap.ui.core.AppCacheBuster.register(\"'+e+'\");');p=O.normalizeURL(e);n.debug(' --\\x3e normalized to: \"'+p+'\"');if(!r[p]){s=p+\"sap-ui-cachebuster-info.json?sap-ui-language=\"+c;o={headers:{Accept:a.ContentTypes.JSON},mode:\"POST\"};u=function(e){O.onIndexLoaded(s,e);r[p]=e};h=function(e){n.error('Failed to load AppCacheBuster index file from: \"'+e+'\".')}}}if(o){var b=O.onIndexLoad(s);if(b!=null){n.info('AppCacheBuster index file injected for: \"'+s+'\".');u(b)}else{var L=!f&&!!t;if(L){var m=t.startTask(\"load \"+s);var x=u,R=h;u=function(e){x.apply(this,arguments);t.finishTask(m)};h=function(){R.apply(this,arguments);t.finishTask(m,false)}}n.info('Loading AppCacheBuster index file from: \"'+s+'\".');a(s,o,!L).then(function(e){if(e.ok){return e.json()}else{throw new Error(\"Status code: \"+e.status)}}).then(u).catch(function(){h(s)})}}};var O={boot:function(e,r){if(r&&r.length>0){var n=true;var o=String(r[0]).toLowerCase();if(r.length===1){if(o===\"true\"||o===\"x\"){var i=t(x);r=i.is(\"relative\")?[i.toString()]:[]}else if(o===\"false\"){n=false}}if(n){O.init();T(r,e)}}},init:function(){d.active=true;h=e.prototype.validateProperty;y=Object.getOwnPropertyDescriptor(HTMLScriptElement.prototype,\"src\");g=Object.getOwnPropertyDescriptor(HTMLLinkElement.prototype,\"href\");var t=O.convertURL;var r=O.normalizeURL;var o=function(e){if(this.active===true&&e&&typeof e===\"string\"){e=r(e);return!e.match(A)}return false}.bind(d);v=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(e,r){if(r&&o(r)){arguments[1]=t(r)}v.apply(this,arguments)};b=XMLHttpRequest.prototype.open;e.prototype.validateProperty=function(e,r){var n=this.getMetadata(),i=n.getProperty(e),a;if(i&&i.type===\"sap.ui.core.URI\"){a=Array.prototype.slice.apply(arguments);try{if(o(a[1])){a[1]=t(a[1])}}catch(e){}}return h.apply(this,a||arguments)};p._convertUrl=function(e){return t(e)};var i=function(e){var r={get:e.get,set:function(r){if(o(r)){r=t(r)}e.set.call(this,r)},enumerable:e.enumerable,configurable:e.configurable};r.set._sapUiCoreACB=true;return r};var a=false;try{Object.defineProperty(HTMLScriptElement.prototype,\"src\",i(y))}catch(e){n.error(\"Your browser doesn't support redefining the src property of the script tag. Disabling AppCacheBuster as it is not supported on your browser!\\nError: \"+e);a=true}try{Object.defineProperty(HTMLLinkElement.prototype,\"href\",i(g))}catch(e){n.error(\"Your browser doesn't support redefining the href property of the link tag. Disabling AppCacheBuster as it is not supported on your browser!\\nError: \"+e);a=true}if(a){this.exit()}},exit:function(){e.prototype.validateProperty=h;delete p._convertUrl;if(XMLHttpRequest.prototype.open===b){XMLHttpRequest.prototype.open=v}var t;if((t=Object.getOwnPropertyDescriptor(HTMLScriptElement.prototype,\"src\"))&&t.set&&t.set._sapUiCoreACB===true){Object.defineProperty(HTMLScriptElement.prototype,\"src\",y)}if((t=Object.getOwnPropertyDescriptor(HTMLLinkElement.prototype,\"href\"))&&t.set&&t.set._sapUiCoreACB===true){Object.defineProperty(HTMLLinkElement.prototype,\"href\",g)}d.index={};d.active=false;d={index:{},active:false}},register:function(e){T(e)},convertURL:function(e){n.debug('sap.ui.core.AppCacheBuster.convertURL(\"'+e+'\");');var t=d.index;if(t&&e&&!/^#/.test(e)){var r=O.normalizeURL(e);n.debug(' --\\x3e normalized to: \"'+r+'\"');if(r&&O.handleURL(r)){for(var o in t){var i=t[o],a,s;if(o&&r.length>=o.length&&r.slice(0,o.length)===o){a=r.slice(o.length);s=a.match(/([^?#]*)/)[1];if(i[s]){e=o+\"~\"+i[s]+\"~/\"+a;n.debug(' ==> rewritten to \"'+e+'\";');break}}}}}return e},normalizeURL:function(e){var r=t(e||\"./\");if(r.is(\"relative\")){r=r.absoluteTo(L)}return r.normalizeProtocol().normalizeHostname().normalizePort().normalizePath().toString()},handleURL:function(e){return true},onIndexLoad:function(e){return null},onIndexLoaded:function(e,t){}};const z=r.get({name:\"sapUiXxAppCacheBusterHooks\",type:r.Type.Object,defaultValue:undefined,freeze:true});if(z){[\"handleURL\",\"onIndexLoad\",\"onIndexLoaded\"].forEach(function(e){if(typeof z[e]===\"function\"){O[e]=z[e]}})}return O},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/BlockLayerUtils\", [\"sap/ui/events/jquery/EventTriggerHook\",\"sap/base/Log\",\"sap/ui/thirdparty/jquery\"],function(e,t,jQuery){\"use strict\";var i={},a=[\"focusin\",\"focusout\",\"keydown\",\"keypress\",\"keyup\",\"mousedown\",\"touchstart\",\"touchmove\",\"mouseup\",\"touchend\",\"click\"],n=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr|tr)$/i;i.block=function(e,i,a){var r,l,c,u;if(e){r=e.getDomRef(a);if(!r){r=e.getDomRef()}if(!r){t.warning(\"BlockLayer could not be rendered. The outer Control instance is not valid anymore or was not rendered yet.\");return}l=r.tagName;if(n.test(l)){t.warning(\"BusyIndicator cannot be placed in elements with tag '\"+l+\"'.\");return}u=s(r,i);c={$parent:jQuery(r),$blockLayer:jQuery(u),control:e};if(c.$parent.css(\"position\")==\"static\"){if(r.style&&r.style.position===\"static\"){c.originalPosition=\"static\"}c.$parent.css(\"position\",\"relative\");c.positionChanged=true}o.call(c,true)}else{t.warning(\"BlockLayer couldn't be created. No Control instance given.\")}return c};i.unblock=function(e){if(e){if(e.originalPosition){e.$parent.css(\"position\",e.originalPosition)}else if(e.positionChanged){e.$parent.css(\"position\",\"\")}o.call(e,false);e.$blockLayer.remove()}};i.toggleAnimationStyle=function(e,t){var i=jQuery(e.$blockLayer.get(0));if(t){i.removeClass(\"sapUiHiddenBusyIndicatorAnimation\");i.removeClass(\"sapUiBlockLayerOnly\")}else{i.addClass(\"sapUiBlockLayerOnly\");i.addClass(\"sapUiHiddenBusyIndicatorAnimation\")}};function s(e,t){var i=document.createElement(\"div\");i.id=t;i.classList.add(\"sapUiBlockLayer\",\"sapUiSkipFocusFail\");i.setAttribute(\"tabindex\",\"0\");e.appendChild(i);return i}function o(i){if(i){var n=this.$parent.get(0);if(n){this.fnRedirectFocus=o.bind(this);this.oTabbableBefore=r(this.fnRedirectFocus);this.oTabbableAfter=r(this.fnRedirectFocus);n.parentNode.insertBefore(this.oTabbableBefore,n);n.parentNode.insertBefore(this.oTabbableAfter,n.nextSibling);this._fnSuppressDefaultAndStopPropagationHandler=s.bind(this);this._aSuppressHandler=c.call(this,this._fnSuppressDefaultAndStopPropagationHandler)}else{t.warning(\"fnHandleInteraction called with bEnabled true, but no DOMRef exists!\")}}else{if(this.oTabbableBefore){l(this.oTabbableBefore,this.fnRedirectFocus);delete this.oTabbableBefore}if(this.oTabbableAfter){l(this.oTabbableAfter,this.fnRedirectFocus);delete this.oTabbableAfter}delete this.fnRedirectFocus;u.call(this,this._fnSuppressDefaultAndStopPropagationHandler)}function s(e){var i=e.target===this.$blockLayer.get(0),a;if(i&&e.type===\"keydown\"&&e.keyCode===9){t.debug(\"Local Busy Indicator Event keydown handled: \"+e.type);a=e.shiftKey?this.oTabbableBefore:this.oTabbableAfter;a.setAttribute(\"tabindex\",-1);this.bIgnoreFocus=true;a.focus();this.bIgnoreFocus=false;a.setAttribute(\"tabindex\",0);e.stopImmediatePropagation();return}if(i&&[\"mousedown\",\"touchstart\"].includes(e.type)){t.debug(\"Local Busy Indicator click handled on busy area: \"+e.target.id);e.stopImmediatePropagation();return}const n=e.type==\"keydown\"&&[9,37,38,39,40].includes(e.keyCode);if(!n){t.debug(\"Local Busy Indicator Event Suppressed: \"+e.type);e.preventDefault();e.stopImmediatePropagation()}}function o(){if(!this.bIgnoreFocus){this.$blockLayer.get(0).focus()}}function r(e){var t=document.createElement(\"span\");t.setAttribute(\"tabindex\",0);t.classList.add(\"sapUiBlockLayerTabbable\",\"sapUiSkipFocusFail\");t.addEventListener(\"focusin\",e);return t}function l(e,t){if(e.parentNode){e.parentNode.removeChild(e)}e.removeEventListener(\"focusin\",t)}function c(t){var i=[],n=this.$parent.get(0),s=this.$blockLayer.get(0);for(var o=0;o0?e:0);delete this._fDelayedStartTime}var t=h;if(h._bShowIsDelayed===true){h._bShowIsDelayed=false}t.bOpenRequested=false;if(t.oDomRef){var s=t.oDomRef.querySelector(\".sapUiLocalBusyIndicator\");jQuery(s).removeClass(\"sapUiLocalBusyIndicatorFade\");this.fireClose({$Busy:this.oPopup._$()});t.oPopup.close(0)}};h.attachOpen=function(e,t){this.attachEvent(f.Open,e,t);return this};h.detachOpen=function(e,t){this.detachEvent(f.Open,e,t);return this};h.attachClose=function(e,t){this.attachEvent(f.Close,e,t);return this};h.detachClose=function(e,t){this.detachEvent(f.Close,e,t);return this};h.fireOpen=function(e){this.fireEvent(f.Open,e)};h.fireClose=function(e){this.fireEvent(f.Close,e)};return h},true);\n/*!\n * OpenUI5\n * (c) Copyright SAP SE or an SAP affiliate company.\n * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.\n */\nsap.ui.predefine(\"sap/ui/core/BusyIndicatorUtils\", [\"./BlockLayerUtils\",\"sap/ui/core/Lib\",\"sap/ui/core/library\"],function(a,i,e){\"use strict\";var t=function(){};var r=e.BusyIndicatorSize;t.getElement=function(a){var i;switch(a){case r.Large:i=\"sapUiLocalBusyIndicatorSizeBig sapUiLocalBusyIndicatorShowContainer\";break;case r.Medium:i=\"sapUiLocalBusyIndicatorSizeMedium\";break;case r.Section:i=\"sapUiLocalBusyIndicatorSizeSection sapUiLocalBusyIndicatorShowContainer\";break;default:i=\"sapUiLocalBusyIndicatorSizeMedium\";break}var e=document.createElement(\"div\");e.className=\"sapUiLocalBusyIndicator \"+i+\" sapUiLocalBusyIndicatorFade\";t.addAriaAttributes(e);c(e);return e};function c(a,i){i=i||\"sapUiLocalBusyIndicatorAnimStandard\";var e=document.createElement(\"div\");e.className=\"sapUiLocalBusyIndicatorAnimation \"+i;e.appendChild(document.createElement(\"div\"));e.appendChild(document.createElement(\"div\"));e.appendChild(document.createElement(\"div\"));a.appendChild(e)}function o(a,i){var e=a.$parent.get(0),t=a.$blockLayer.get(0);var r=t.children[0],c=r.offsetWidth;if(e.offsetWidth/\"+e.getId())}this.bSkipUpdate=false}},setParent:function(e){var i=this,a,o=this.getParent(),s,d,g;function m(){var t=e.oPropagatedProperties.oBindingContexts[\"$cmd\"];return t?t.getObject():null}function p(){if(e.getModel(\"$cmd\")){var t=m();i.getParent().detachModelContextChange(p);i._createCommandData(t)}}n.prototype.setParent.apply(this,arguments);a=this._getCommandInfo();if(a){if(this.getVisible()){if(e&&e!==o){d=a.shortcut;g=r.isRegistered(this.getParent(),d);if(!g){r.register(e,d,this.trigger.bind(this))}if(e.getModel(\"$cmd\")){s=m();this._createCommandData(s)}else{e.attachModelContextChange(p)}if(!e._propagateProperties._sapui_fnOrig){var c=e._propagateProperties;e._propagateProperties=function(t,n,r,a,o,d){c.apply(e,arguments);var g=e.getBindingContext(\"$cmd\");var p=arguments[1];if(g&&p.isA(\"sap.ui.core.CommandExecution\")){var h=g.getObject();var u=Object.getPrototypeOf(h);s=m();if(u!==s){i._createCommandData.apply(p,[s])}}};e._propagateProperties._sapui_fnOrig=c}}if(o&&o!=e){d=a.shortcut;g=r.isRegistered(o,d);if(g){r.unregister(o,a.shortcut)}this._cleanupContext(o)}}}else{t.error(`${this}: Command '${this.getCommand()}' is not defined in component manifest. No shortcut will be registered.`)}return this},_cleanupContext:function(t){if(t.getBindingContext(\"$cmd\")){var i=t.getBindingContext(\"$cmd\").getObject();if(i){delete i[this.getCommand()];if(e(Object.assign({},i))){if(t._propagateProperties._sapui_fnOrig){t._propagateProperties=t._propagateProperties._sapui_fnOrig}if(!t._bIsBeingDestroyed){t.unbindElement(\"$cmd\")}}}}},setVisible:function(t){var e=this.getParent(),i=this.getModel(\"$cmd\");this.setProperty(\"visible\",t,true);t=this.getProperty(\"visible\");if(e){var n=this._getCommandInfo(),a=n.shortcut,o=r.isRegistered(e,a);if(t&&!o){r.register(e,a,this.trigger.bind(this))}else if(!t&&o){r.unregister(e,a)}}if(i){var s=this.getBindingContext(\"$cmd\");i.setProperty(this.getCommand()+\"/visible\",t,s)}return this},setEnabled:function(t){var e=this.getModel(\"$cmd\");this.setProperty(\"enabled\",t,true);if(e){var i=this.getBindingContext(\"$cmd\");e.setProperty(this.getCommand()+\"/enabled\",this.getProperty(\"enabled\"),i)}return this},destroy:function(){var t=this.getParent();var e=this._getCommandInfo();if(t&&e){r.unregister(this.getParent(),e.shortcut);this._cleanupContext(t)}n.prototype.destroy.apply(this,arguments)}});a.find=function(t,e){var i,n,r;r=t.getDependents();for(i=0;i FileName: ./README.md SPDXID: SPDXRef-0eb583029f0d69aef0a9bf90dbe2732e FileChecksum: SHA1: c5d265d9466f8f350389f9393bccb2ee69997a8a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: Copyright 2026 SAP SE or an SAP affiliate company and JW263 contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/JW263). SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/README.md SPDXID: SPDXRef-fdb51e7787455fafb4e37c2a04b07b8a FileChecksum: SHA1: a62b9007d9b4c022cc28b4fb13e63b595a234b52 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/annotations.cds SPDXID: SPDXRef-50bbaddfef3ab0a9b4f2ebe1a15be3a6 FileChecksum: SHA1: 59a560497ca839f4a02ec4dceaefbe688609b698 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/package-lock.json SPDXID: SPDXRef-543e73250e40c9e794276b6d242d5104 FileChecksum: SHA1: 781cd5302c5e78f2aee1fac9b664f893ee8d5690 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/package.json SPDXID: SPDXRef-84184da62e9b04ac0012a04ece5a391c FileChecksum: SHA1: 8321447c5eb9f1c55a90198345a9e386bf4721f4 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/ui5.yaml SPDXID: SPDXRef-f7105b222e56bab8c1838f9a93faa879 FileChecksum: SHA1: 8612fa9504cbc4202dda630992f452ec812f62cd LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/Component.js SPDXID: SPDXRef-dc11bfc9ef33af2c8b9a467069ab745e FileChecksum: SHA1: 50ee3c538cb32372a9dc19b9777803614dd626e5 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/ext/fragment/InvolvedSupportContacts.fragment.xml SPDXID: SPDXRef-7bce7bd337a3be02bd719f6905bea5ae FileChecksum: SHA1: 14c733a71abf7b801939b6c3d66b8d644f9c0a73 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/ext/fragment/TestSection.fragment.xml SPDXID: SPDXRef-5e1c8d0bfae47164485e13ae1690da7b FileChecksum: SHA1: 8a544cad807ab16defdd1957451124996db2c17a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/ext/fragment/TestSection.js SPDXID: SPDXRef-a5268bff3e210610a6f2273b7f668bd6 FileChecksum: SHA1: f3ccd1f4699ad6c8a091f055bdcf5d74572e178d LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/i18n/i18n.properties SPDXID: SPDXRef-f7beacdd1c348464e877cae7147ee39b FileChecksum: SHA1: a4d812e77d18273c0937f2e7289320264127b19a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/img/performance.png SPDXID: SPDXRef-d1a93b1df84fd0b8eaf503bbeb9ffa90 FileChecksum: SHA1: 90b86ad53514a238ff78ce74a495371a4d1b138a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/index.html SPDXID: SPDXRef-a9a2eb306539ef595d62fb66e6b5998d FileChecksum: SHA1: a630fff2f2cd3c92da8136d61bb04fc8c81b2eb4 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/manifest.json SPDXID: SPDXRef-423ea6600a88e7a6c344700f9f776ab0 FileChecksum: SHA1: 29429dea73ad5fbc0e521d0fef9d6248a38fc10e LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/test/flpSandbox.html SPDXID: SPDXRef-318c931f832bd0dfa47b577533bbc853 FileChecksum: SHA1: 193d5848b03917a8cc50aeac5f1e6a1d5387e336 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: Copyright (C) 2015 SAP AG, All Rights Reserved SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/test/integration/FirstJourney.js SPDXID: SPDXRef-4523000e61a681d9a84d56962efc7b12 FileChecksum: SHA1: bd44fc94ae3cc6d19496f52ec4b9b217c898f504 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/test/integration/opaTests.qunit.html SPDXID: SPDXRef-833d62a382aade4b225719cb55cbaab1 FileChecksum: SHA1: 3b6464cfbb9267d8fd1e06dcb3e922ab84b3907c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/test/integration/opaTests.qunit.js SPDXID: SPDXRef-fac2ad63b7cb7f061832dae6e1bc90f8 FileChecksum: SHA1: 5bf6450d5a2edd5b7a65f5da4b947b5b2fa02ef5 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/test/integration/pages/IncidentsList.js SPDXID: SPDXRef-bc8045183becfad9256fe2d0fce509d4 FileChecksum: SHA1: 7bd967b211745b67ef698119b23a663a82ba63a7 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/test/integration/pages/IncidentsObjectPage.js SPDXID: SPDXRef-f71bf5b0ff121c65f2eb399c5cfe2e1e FileChecksum: SHA1: ed216e5b3e137627000368de55691481b3c6309a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/test/testsuite.qunit.html SPDXID: SPDXRef-79ef1d9fdf4f9c967b94e74dca64b4b5 FileChecksum: SHA1: 7dac63ae7a3f17850931dedc5a9eb3abd87bcfaf LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/incidents/webapp/test/testsuite.qunit.js SPDXID: SPDXRef-2668cb8d24a2ad7c1ef997b110a75ad9 FileChecksum: SHA1: 303183a02065cdc17983aa2cb3ad2aed5daef5be LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/launchpage.html SPDXID: SPDXRef-c00a1eb8934328e2710569d08a7e8b92 FileChecksum: SHA1: 44d9240b38addc0ac750c71c221ed2e0fef0b0db LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./app/services.cds SPDXID: SPDXRef-8a28d1309eae0d2308b5784340d7cedc FileChecksum: SHA1: 35c2be137856d7a977b699bfaff33c4d12c73909 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./backup-skill/analyze-har.js SPDXID: SPDXRef-a86fc532a95f1145f9810acc017c5c48 FileChecksum: SHA1: 574596ae5d4fe4aa60e10045a3af65549a5123ac LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Addresses.csv SPDXID: SPDXRef-33f1aae8a6f1718d94f88145acf64374 FileChecksum: SHA1: 9f18c71f34e6f1c3df4aeebc46909b0613f1d038 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Customers.csv SPDXID: SPDXRef-f4e4a4ad0dd3c749320c1d5a1b05cf3f FileChecksum: SHA1: d7d517bda6f970ec83c15a0e0dc4ccfbeb2288f7 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Incidents.conversation.csv SPDXID: SPDXRef-181cac5f89fcadd407d6a7336128f8a1 FileChecksum: SHA1: 4945cab9b447248d4dd7f27f41d1ecca3dc7b62c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Incidents.csv SPDXID: SPDXRef-7768f800c4ed6713b5a30414ed130ced FileChecksum: SHA1: 8ce90549f923226addf3c86c5a31139c0d5f5f4e LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Incidents.processors.csv SPDXID: SPDXRef-4750558783387c2e1b09d061b181763f FileChecksum: SHA1: 1f882ab14d3e69340eb2d5aeb14a72cbd28e1500 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Processors.csv SPDXID: SPDXRef-ff28e9a007185f5d0214650844d041f6 FileChecksum: SHA1: 08eb55f4b7f7d3d5c9564aa002d6c2685339f38c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Status.csv SPDXID: SPDXRef-1a9f119054f10020651b308eb34195ad FileChecksum: SHA1: 01ea0227b7909f85dd0f405fe4b8b1cbf5679849 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Status.texts.csv SPDXID: SPDXRef-9697c6edc45e2ba3bdbff0298dfebbeb FileChecksum: SHA1: 3b54aa7158d50df0d9f8ead9cb648752fe5d7440 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Urgency.csv SPDXID: SPDXRef-44c688ab48111c78b64f1c6d0d8526f4 FileChecksum: SHA1: 5c1a3e83339e3e308d422696d91582a5eb61dfeb LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data/sap.jw263.incidents-Urgency.texts.csv SPDXID: SPDXRef-967ebd6285af6f6bc27668430ac1237b FileChecksum: SHA1: 3b54aa7158d50df0d9f8ead9cb648752fe5d7440 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Addresses.csv SPDXID: SPDXRef-0157ac37f9c46ad8d9e691fa20e1b65d FileChecksum: SHA1: 9f18c71f34e6f1c3df4aeebc46909b0613f1d038 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Customers.csv SPDXID: SPDXRef-64cd5188105c5900c4e9dd5c7ca8feed FileChecksum: SHA1: d7d517bda6f970ec83c15a0e0dc4ccfbeb2288f7 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Incidents.conversation.csv SPDXID: SPDXRef-5d44442be0453eb058ab10ca4ee4c96a FileChecksum: SHA1: 4945cab9b447248d4dd7f27f41d1ecca3dc7b62c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Incidents.csv SPDXID: SPDXRef-9d19d764efe570125a8632284c543106 FileChecksum: SHA1: abb64172a57eb1f4dbf44d744767a31ee407fffe LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Incidents.processors.csv SPDXID: SPDXRef-61b58e8af0aa2e8d9782e38b05f7098a FileChecksum: SHA1: 31c0915c6bd1852c02a2a6af82e48bb89750f4d9 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Processors.csv SPDXID: SPDXRef-a00e52b4385b17871444bc7157091146 FileChecksum: SHA1: 08eb55f4b7f7d3d5c9564aa002d6c2685339f38c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Status.csv SPDXID: SPDXRef-e0968fa9105c6c9cbf969c92d8dcc826 FileChecksum: SHA1: 01ea0227b7909f85dd0f405fe4b8b1cbf5679849 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Status.texts.csv SPDXID: SPDXRef-433158eaa9a204af5bf32497bcd84bc6 FileChecksum: SHA1: 3b54aa7158d50df0d9f8ead9cb648752fe5d7440 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Urgency.csv SPDXID: SPDXRef-315304e75e642de14fe1fb96b0d19de4 FileChecksum: SHA1: 5c1a3e83339e3e308d422696d91582a5eb61dfeb LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/data_large/sap.jw263.incidents-Urgency.texts.csv SPDXID: SPDXRef-2543b0c200388e377733e00d73f92f65 FileChecksum: SHA1: 3b54aa7158d50df0d9f8ead9cb648752fe5d7440 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/schema.cds SPDXID: SPDXRef-067ffdc30366b9d2889f2955f4ce27fd FileChecksum: SHA1: c0a8fe6e3a526948aa4805d8a4b044c97e2089c5 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/src/.hdiconfig SPDXID: SPDXRef-dc489de8748eface5bcd7d7850039c7f FileChecksum: SHA1: 436cc738bfbdf505bc210ee80d462929ccaee867 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./db/undeploy.json SPDXID: SPDXRef-4523fa70625b9b57579bf7ff4d4c670c FileChecksum: SHA1: 767e876a0df559548073e30c98a742eccd60b826 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex0/README.md SPDXID: SPDXRef-43e8a8cc062704c73e2db7536c26123b FileChecksum: SHA1: 381b6a03930abe3c3c10d2897c3c4f3597f1beac LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex0/images/VSCode-NewTerminal.png SPDXID: SPDXRef-8c57cf05b2a50783d0143ca959d1a057 FileChecksum: SHA1: 81fbccfdbec773ac43be48abd54495227b826f5d LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex0/images/VSCode.png SPDXID: SPDXRef-6928d8ecde5e8120ec6e0ed682353aa3 FileChecksum: SHA1: 6f3998a4700acb243a02feeb4f5707833af7ea35 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex0/images/webapp.png SPDXID: SPDXRef-83367d32d420a1dd3b6995685e439536 FileChecksum: SHA1: aacd330fd533417169d46495c12866dd0e5d5ab7 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/README.md SPDXID: SPDXRef-8b649a867bce9e046d103551b3e4f5db FileChecksum: SHA1: 5bf082963c661d90f8259d4a2060e5e4970605fa LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/images/DevTools-disable-cache.png SPDXID: SPDXRef-f96e76cfaccccea5d9f896144fe6328e FileChecksum: SHA1: 96dee7179a8cfab1bb9ec6f78fa3d917a6dc886a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/images/DevTools-network-Akamai.png SPDXID: SPDXRef-b6d2d07b4e548e9e3294514086896692 FileChecksum: SHA1: 946fb1130ad111376eab49c8fcdfb6a13d1dd33c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/images/DevTools-network-clear.png SPDXID: SPDXRef-20d8b71b659ea243bb29bac1df108eb4 FileChecksum: SHA1: adfd2ffcc9aecd010ee65fa2f105147385ec3e93 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/images/DevTools-network-footer.png SPDXID: SPDXRef-3c1dea5cd8e7148f37600e83dd90c36d FileChecksum: SHA1: 8375686e51cf74fa8e366efb36031e1c9c7f6119 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/images/DevTools-network-parallel.png SPDXID: SPDXRef-73e4c070c3dda990ac180cc79c47b93c FileChecksum: SHA1: 078657ddbc7a76c8cbc7dde81c97197b6a67f29a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/images/DevTools-network-sequential.png SPDXID: SPDXRef-bad181100013c3713ec487196d573e20 FileChecksum: SHA1: 8b81987f12f4fd6fa39cd9d0ba3d2fa49fca816d LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/images/DevTools-network-tab-columns.png SPDXID: SPDXRef-f389b2f18ff3796397863f5906af8e43 FileChecksum: SHA1: 6378214ff8dc269194b5ddcfde6ecbbc3726d518 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/images/DevTools-network-tab.png SPDXID: SPDXRef-ae42abdaa6c4d629f37ff8efa797858d FileChecksum: SHA1: e4807ea42a84ee85b08dafcabdc76ec9c6980468 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex1/images/DevTools-network-throttling.png SPDXID: SPDXRef-47e8e7e25c6de2363656287927e3c686 FileChecksum: SHA1: 88234ac79cb46bd59638ba3839c4bf0ac4a64395 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex2/README.md SPDXID: SPDXRef-e67a609e08f6295265f7d7ed1d8a4194 FileChecksum: SHA1: 5067fd4aaf9e06729e1e3bcef544ed445735ab86 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex2/images/BuildPreload.png SPDXID: SPDXRef-42460e2a285542a3652ae14714a1543e FileChecksum: SHA1: 585b59419a06467e1ff5bc0ea964513da79dacf5 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex2/images/componentDBG.png SPDXID: SPDXRef-c03d3bc3406bc3a039d7bb0f162d2956 FileChecksum: SHA1: 1cd405b919b7b3dca5a424a99f18e088ee0f66a0 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex2/images/componentJS.png SPDXID: SPDXRef-8fb7f3e3a71d2e4c529478a784dbf38f FileChecksum: SHA1: ad98830aef7b526c782aaf35e2801a63d9b04565 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex2/images/componentPreloadDistNetworkTrace.png SPDXID: SPDXRef-f5fd1ce1eb66013b66b54025e58cec43 FileChecksum: SHA1: 45dde0dbf20a3b969f051da2cdd00b29b90e6e95 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex2/images/componentPreloadMinified.png SPDXID: SPDXRef-2594611c04c8b29ffe1caed460466c6f FileChecksum: SHA1: e29eeea92aacd39e2f2fb7e8f5a73a2050a7ab0e LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex2/images/componentPreloadNoMinified.png SPDXID: SPDXRef-745ec54a3b4a845540c40d605c419336 FileChecksum: SHA1: e495c159bfdca85eda550ab783ecfd14f26c5c76 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/README.md SPDXID: SPDXRef-30968169b456345d08c0c4e4cbcf826f FileChecksum: SHA1: 203f1578d6cd677a0e1306b3ecac4f7e7875a67c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/DevTools-big-rows.png SPDXID: SPDXRef-2679fb52a51fab6b414da5e5c8283367 FileChecksum: SHA1: 8cc3529ef138e05ea621933e6b8cb602411cbe88 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/DevTools-bundle-request.png SPDXID: SPDXRef-c0e031f1526950ae58991d9144047952 FileChecksum: SHA1: 4a500d12663ce30c0719701dc2acd095e4a49bb0 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/DevTools-disable-cache.png SPDXID: SPDXRef-2ee76e8948cab2032fdaaad1882e8afa FileChecksum: SHA1: 96dee7179a8cfab1bb9ec6f78fa3d917a6dc886a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/DevTools-download-HAR.png SPDXID: SPDXRef-e8aa93d0eae3d65e203347ad4ecb43c1 FileChecksum: SHA1: 951ae76ba5ede681cdd8cd6876de7932c49b8f84 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/DevTools-network-clear.png SPDXID: SPDXRef-231f25aa0b8be74028ab47151c1aabfa FileChecksum: SHA1: adfd2ffcc9aecd010ee65fa2f105147385ec3e93 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/DevTools-single-request.png SPDXID: SPDXRef-596a18224021a44a5d90a03792a4444f FileChecksum: SHA1: f7e44dccbda4ac0c8d330735f991c512ed3da179 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/FL_Library_identified.png SPDXID: SPDXRef-c797fa8828e86fce8ec6fa8aaf918b4d FileChecksum: SHA1: 04338885ed5f9aff2eabe4ae4fee75bcf9999d3c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/FL_Library_ui5_demo_kit.png SPDXID: SPDXRef-81f4f53a71af51519af5f5e0f36aac72 FileChecksum: SHA1: 37d640dfc56291a59fc1359cc40fdc5b303fe92c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/FL_Library_ui5_demo_kit_search.png SPDXID: SPDXRef-7f51f2e5299befaa49f107ac56e1aa4f FileChecksum: SHA1: a7873f76c3bc6f59baf4507b3f1e7ac4d8e39af5 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/FilterOperatorUtil.png SPDXID: SPDXRef-29777c37e62e9540b034467e4cd79ae1 FileChecksum: SHA1: 26e66a6964ae05b11742fe153220e52128b72177 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/UI5DemoKit-API-Reference.png SPDXID: SPDXRef-07b9af99c2050cc6fe8a4ebe7fe16657 FileChecksum: SHA1: a7f845feaee4669fe74509fec9d45c1e3f59aa9d LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/UI5DemoKit-MDC-Library.png SPDXID: SPDXRef-4f468a04785e1a85682af39391057e1f FileChecksum: SHA1: 07387a64e93ebbbc6836b14dbfafdae49c9e2b5f LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/all_libraries_added.png SPDXID: SPDXRef-e807d7efd46d6a7bace7344933b0a8e0 FileChecksum: SHA1: ba91ee067ac7332b372182ad62ff66b07da8a7f4 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/claude_code_chat.png SPDXID: SPDXRef-87df58b2583c3d66375474700a7e06d2 FileChecksum: SHA1: 22414b9f757176ec391abd67bf15dc8e77c836a1 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/library_mdc_added.png SPDXID: SPDXRef-138e887e2cb2fa6f1bcdb04f855cc632 FileChecksum: SHA1: d117190cdbcbe2d3d265cb7b6ec96c252137ca7f LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/open_claude_code.png SPDXID: SPDXRef-fe167c8ed47f7490ed51108e86c7503b FileChecksum: SHA1: a10944af56b0f680fe10eff61f6170dadeea9617 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/result_backup-skill.png SPDXID: SPDXRef-f242034627bb492ee113fd82bd7acabb FileChecksum: SHA1: c23f7a2f69aeac30ad67e73882f449a45d996a2a LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/results_table_with_cache.png SPDXID: SPDXRef-1c2d33d08c57b836386eab1afd6c334f FileChecksum: SHA1: a98e4e7c1dfaf26a3bf5f73b6845f1ed3e6d6b29 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/results_table_without_cache.png SPDXID: SPDXRef-fc9f13acbcb7c920aef90bc10f9316c3 FileChecksum: SHA1: 1a50796702a4a8d1710a580830bd8f0057fc03f4 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex3/images/skill_dependency_recommendations.png SPDXID: SPDXRef-018b96a1c202e4c2681a62e4f8445825 FileChecksum: SHA1: 81b6d1100784da095e9af2c72068f307d517349f LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/README.md SPDXID: SPDXRef-982c471f5d156be732a313dd130347e1 FileChecksum: SHA1: dc489daee8d0d5c9a73f45732f63d159da50a7bd LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/Batch-Request-Payload.png SPDXID: SPDXRef-7f540042fc1620497d31f63752d48f89 FileChecksum: SHA1: 7cc64fda544873c78b748f916c1657d738bbc20d LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/Batch-Request-Size.png SPDXID: SPDXRef-4bff18c779d354019cbbd69ed60bda3a FileChecksum: SHA1: dabca22732b1d9074016bb0f41525cf68b4b6ce7 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/Launchpad-App-Build-MDC-FL-F-UXAP.png SPDXID: SPDXRef-abd50099b7072eda85ab1267eb408c5a FileChecksum: SHA1: f99c8e98348c0262e483f02f17d1697ce96de3e5 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/Launchpad-App-Latest-Build-Empty-Columns.png SPDXID: SPDXRef-23904aff05b5f5c85363f513566dadca FileChecksum: SHA1: fd489b028d6339b3db3c36f316844c0bb82d4c5c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/Launchpad-App-Latest-Build.png SPDXID: SPDXRef-88ba34b3f8b997f437ad67dde4f8bf38 FileChecksum: SHA1: e2bf1be89dc11a00a111c329acc8b46a15988ee4 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/Launchpage_URLs.png SPDXID: SPDXRef-2a4e15613a7317aeb40a76cadb908683 FileChecksum: SHA1: 03523d76a5b0709c87e55c7dfd846ce23db70520 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/Manifest.png SPDXID: SPDXRef-592b205aa74afeacb8bea112d2602bb9 FileChecksum: SHA1: 9ff8215642809d70acf0cb52fe831661d519bbef LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/Metadata-Request.png SPDXID: SPDXRef-eee21a77a304bcc7cdce98cac230c407 FileChecksum: SHA1: 7d42ee9ed71299351a2f7edeff4eebfeec473104 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/Network-Trace-Throttling-3G.png SPDXID: SPDXRef-6d3f83f87bffcdffd41af964a13826db FileChecksum: SHA1: 96e3efca647d4b24fca2f273b17db4c31a6d0354 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/NetworkTraceFirstStartUp.png SPDXID: SPDXRef-9400a8d2b4fa2a6a03c5ee0afd800796 FileChecksum: SHA1: c4393b47bbca3cd41f0e1bd43760b52374b7716d LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex4/images/NetworkTraceSecondStartUpWith3GThrottling.png SPDXID: SPDXRef-05262cc7b0ea931481d2871789e73ce4 FileChecksum: SHA1: 34baeee49d39f3f75c95099fb275cbd02f769e96 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex5/README.md SPDXID: SPDXRef-ebebe677061a54c50b9f7af914e0e17e FileChecksum: SHA1: 948584fbc5aa667a5aa655591dae6c3e5d56ace7 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex5/images/app-view-2.png SPDXID: SPDXRef-edc210c56fbfc0cd2ecbd142d20ebf33 FileChecksum: SHA1: 0e3d72e2a328220a350fc8ed1f63b145eb9be634 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex5/images/app-view.png SPDXID: SPDXRef-ed814c53ad490e9a635f604b182a2a21 FileChecksum: SHA1: 3d5bd7a6ad7e02a4f4145898c41e32afbd3b0d06 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex5/images/manifest-live-mode.png SPDXID: SPDXRef-c2adbe83ce8ab613afb631966e40212e FileChecksum: SHA1: fb670d61aa4f2d1285dc2582f226e8fd566f7aef LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex5/images/manifest-no-initial-load.png SPDXID: SPDXRef-d6adb5c8b167a2e5cd77975ceea72ff9 FileChecksum: SHA1: fb86709aabdea49c81d24d6ed248ca9e92de50d4 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex5/images/network-initial-load.png SPDXID: SPDXRef-8ee9a30b36cf65c6f01d3d55ef3b8fa7 FileChecksum: SHA1: 1f22099c60f81da0c2a5402a0f8a83230851cb86 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex5/images/network-live-mode.png SPDXID: SPDXRef-57aca94de3ffa9db0133f099a29de174 FileChecksum: SHA1: edb65b5a86961c64f249d6bab0e09e7ba5c0896c LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./exercises/ex5/images/network-no-initial-load.png SPDXID: SPDXRef-2af3b52ff1e5d9c53dac12d3b6002e9e FileChecksum: SHA1: a172b8bb7c493cba583cfcab79cae7189fdb6762 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./package-lock.json SPDXID: SPDXRef-5abe08b50b2d4745204d548f1a05150a FileChecksum: SHA1: 6c814013a938275da066ce0128b88e2f6d697c66 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./package.json SPDXID: SPDXRef-0e7b90522023aedab1ab76a91ecc3f42 FileChecksum: SHA1: a52c765fa45ca54c1a895f38a2e67575065c9859 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./ppt/SAP_TechEd_2026_JW263_Introduction.pdf SPDXID: SPDXRef-a26e2245e7f5cad7b537f94279d5157f FileChecksum: SHA1: d945c4ff3fd960a102295835492addba96863009 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./srv/services.cds SPDXID: SPDXRef-4fda61dd2c56c1f7df52899e2aefb2cc FileChecksum: SHA1: ace587daf1c5da971f7f0b1731d6531920467c33 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./srv/services.js SPDXID: SPDXRef-00643b28fa10be9e27ce00ca21407188 FileChecksum: SHA1: 056ca4a1dac43d55cac4342edb7ecf6a05130fa5 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors FileName: ./teched2026-JW263-Results.xlsx SPDXID: SPDXRef-6e086ee4617f3e1dbd1bb65b3591723c FileChecksum: SHA1: 71fa49058ef04c2854b182f9d0a52d13c1449dc7 LicenseConcluded: NOASSERTION LicenseInfoInFile: Apache-2.0 FileCopyrightText: SPDX-FileCopyrightText: 2026 SAP SE or an SAP affiliate company and teched2026-[SESSION ID] contributors