text: /*!
   * UI development toolkit for HTML5 (OpenUI5)
   * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  (function(){if(!window.jQuery){throw new Error("SAPUI5 requires jQuery as a prerequisite (>= version 1.7)");}if(jQuery.sap){return;}if(!window.Promise){ES6Promise.polyfill();}var _=window;var a=[];function b(l,m){a.push({level:l,message:m});}var c;var f=/^[0-9]+(?:\.([0-9]+)(?:\.([0-9]+))?)?(.*)$/;function V(M,i,d,s){if(M instanceof V){return M;}if(!(this instanceof V)){return new V(M,i,d,s);}var m;if(typeof M==="string"){m=f.exec(M);}else if(jQuery.isArray(M)){m=M;}else{m=arguments;}m=m||[];function n(v){v=parseInt(v,10);return isNaN(v)?0:v;}M=n(m[0]);i=n(m[1]);d=n(m[2]);s=String(m[3]||"");this.toString=function(){return M+"."+i+"."+d+s;};this.getMajor=function(){return M;};this.getMinor=function(){return i;};this.getPatch=function(){return d;};this.getSuffix=function(){return s;};this.compareTo=function(){var o=V.apply(window,arguments);return M-o.getMajor()||i-o.getMinor()||d-o.getPatch()||((s<o.getSuffix())?-1:(s===o.getSuffix())?0:1);};}V.prototype.inRange=function(m,M){return this.compareTo(m)>=0&&this.compareTo(M)<0;};var J=V(jQuery.fn.jquery);if(!J.inRange("1.7.0","2.2.0")){b("error","SAPUI5 requires a jQuery version of 1.7 or higher, but lower than 2.2; current version is "+jQuery.fn.jquery);}if(!jQuery.browser){jQuery.browser=(function(d){var r=/(webkit)[ \/]([\w.]+)/,i=/(opera)(?:.*version)?[ \/]([\w.]+)/,j=/(msie) ([\w.]+)/,l=/(mozilla)(?:.*? rv:([\w.]+))?/,d=d.toLowerCase(),m=r.exec(d)||i.exec(d)||j.exec(d)||d.indexOf("compatible")<0&&l.exec(d)||[],n={};if(m[1]){n[m[1]]=true;n.version=m[2]||"0";if(n.webkit){n.safari=true;}}return n;}(window.navigator.userAgent));}if(!!sap.ui.Device.browser.internet_explorer){jQuery.support=jQuery.support||{};jQuery.support.cors=true;var g=V(jQuery.fn.jquery);if(window.ActiveXObject!==undefined&&g.getMajor()==1&&g.getMinor()>=11){var C=function(){try{return new window.XMLHttpRequest();}catch(e){}};var h=function(){try{return new window.ActiveXObject("Microsoft.XMLHTTP");}catch(e){}};jQuery.ajaxSettings=jQuery.ajaxSettings||{};jQuery.ajaxSettings.xhr=function(){return!this.isLocal?C():h();};}}var k=(function(){var T,U,r,d=/^(.*\/)?download\/configurator[\/\?]/,i=/^(.*\/)?(sap-ui-(core|custom|boot|merged)(-.*)?)\.js([?#]|$)/,j=/^(.*\/)?resources\//;jQuery("script[src]").each(function(){var s=this.getAttribute("src"),m;if((m=s.match(d))!==null){T=this;U=s;r=(m[1]||"")+"resources/";return false;}else if((m=s.match(i))!==null){T=this;U=s;r=m[1]||"";return false;}else if(this.id=='sap-ui-bootstrap'&&(m=s.match(j))){T=this;U=s;r=m[0];return false;}});return{tag:T,url:U,resourceRoot:r};})();(function(){if(/sap-bootstrap-debug=(true|x|X)/.test(location.search)){debugger;}var r;try{r=window.localStorage.getItem("sap-ui-reboot-URL");window.localStorage.removeItem("sap-ui-reboot-URL");}catch(e){}if(r&&r!=="undefined"){var U=confirm("WARNING!\n\nUI5 will be booted from the URL below.\nPress 'Cancel' unless you have configured this.\n\n"+r);if(U){var s=k.tag,d="<script src=\""+r+"\"";jQuery.each(s.attributes,function(i,A){if(A.nodeName.indexOf("data-sap-ui-")==0){d+=" "+A.nodeName+"=\""+A.nodeValue.replace(/"/g,"&quot;")+"\"";}});d+="></script>";s.parentNode.removeChild(s);jQuery("#sap-ui-bootstrap-cachebusted").remove();window["sap-ui-config"]&&window["sap-ui-config"].resourceRoots&&(window["sap-ui-config"].resourceRoots[""]=undefined);document.write(d);var R=new Error("This is not a real error. Aborting UI5 bootstrap and rebooting from: "+r);R.name="Restart";throw R;}}})();(function(){var d=/sap-ui-debug=(true|x|X)/.test(location.search),i=window["sap-ui-optimized"];try{d=d||(window.localStorage.getItem("sap-ui-debug")=="X");}catch(e){}window["sap-ui-debug"]=d;if(/-dbg\.js([?#]|$)/.test(k.url)){window["sap-ui-loaddbg"]=true;window["sap-ui-debug"]=true;}if(i&&d){var D=k.url.replace(/\/(?:sap-ui-cachebuster\/)?([^\/]+)\.js/,"/$1-dbg.js");window["sap-ui-optimized"]=false;window["sap-ui-loaddbg"]=true;document.write("<script type=\"text/javascript\" src=\""+D+"\"></script>");var r=new Error("Aborting UI5 bootstrap and restarting from: "+D);r.name="Restart";throw r;}})();var p=_["sap-ui-config"]=(function(){function n(o){jQuery.each(o,function(i,v){var m=i.toLowerCase();if(!o.hasOwnProperty(m)){o[m]=v;delete o[i];}});return o;}var s=k.tag,d=_["sap-ui-config"],j="sap-ui-config.json";if(typeof d==="string"){b("warning","Loading external bootstrap configuration from \""+d+"\". This is a design time feature and not for productive usage!");if(d!==j){b("warning","The external bootstrap configuration file should be named \""+j+"\"!");}jQuery.ajax({url:d,dataType:'json',async:false,success:function(D,T,i){d=D;},error:function(i,T,o){b("error","Loading externalized bootstrap configuration from \""+d+"\" failed! Reason: "+o+"!");d=undefined;}});}d=n(d||{});d.resourceroots=d.resourceroots||{};d.themeroots=d.themeroots||{};d.resourceroots['']=d.resourceroots['']||k.resourceRoot;d['xx-loadallmode']=/(^|\/)(sap-?ui5|[^\/]+-all).js([?#]|$)/.test(k.url);if(s){var l=s.getAttribute("data-sap-ui-config");if(l){try{jQuery.extend(d,n((new Function("return {"+l+"};"))()));}catch(e){b("error","failed to parse data-sap-ui-config attribute: "+(e.message||e));}}jQuery.each(s.attributes,function(i,o){var m=o.name.match(/^data-sap-ui-(.*)$/);if(m){m=m[1].toLowerCase();if(m==='resourceroots'){jQuery.extend(d[m],jQuery.parseJSON(o.value));}else if(m==='theme-roots'){jQuery.extend(d.themeroots,jQuery.parseJSON(o.value));}else if(m!=='config'){d[m]=o.value;}}});}return d;}());if(p.noconflict===true||p.noconflict==="true"||p.noconflict==="x"){jQuery.noConflict();}jQuery.sap={};jQuery.sap.Version=V;jQuery.sap.now=!(window.performance&&window.performance.now&&window.performance.timing)?Date.now:function(){return window.performance.timing.navigationStart+window.performance.now();};jQuery.sap.debug=function(d){if(!window.localStorage){return null;}function r(U){alert("Usage of debug sources is "+(U?"on":"off")+" now.\nFor the change to take effect, you need to reload the page.");}if(d===true){window.localStorage.setItem("sap-ui-debug","X");r(true);}else if(d===false){window.localStorage.removeItem("sap-ui-debug");r(false);}return window.localStorage.getItem("sap-ui-debug")=="X";};jQuery.sap.setReboot=function(r){var U;if(!window.localStorage){return null;}try{if(r){window.localStorage.setItem("sap-ui-reboot-URL",r);alert("Next time this app is launched (only once), it will load UI5 from:\n"+r+".\nPlease reload the application page now.");}else{window.localStorage.removeItem("sap-ui-reboot-URL");}U=window.localStorage.getItem("sap-ui-reboot-URL");}catch(e){jQuery.sap.log.warning("Could not access localStorage while setting reboot URL '"+r+"' (are cookies disabled?): "+e.message);}return U;};jQuery.sap.statistics=function(d){if(!window.localStorage){return null;}function i(U){alert("Usage of Gateway statistics "+(U?"on":"off")+" now.\nFor the change to take effect, you need to reload the page.");}if(d===true){window.localStorage.setItem("sap-ui-statistics","X");i(true);}else if(d===false){window.localStorage.removeItem("sap-ui-statistics");i(false);}return window.localStorage.getItem("sap-ui-statistics")=="X";};(function(){var d=0,j=1,W=2,l=3,D=4,T=5,s=(window.top==window)?"":"["+window.location.pathname.split('/').slice(-1)[0]+"] ",L=[],M={'':j},o=null;function n(i,w){return("000"+String(i)).slice(-w);}function r(i){return(!i||isNaN(M[i]))?M['']:M[i];}function z(){if(!o){o={listeners:[],onLogEntry:function(m){for(var i=0;i<o.listeners.length;i++){if(o.listeners[i].onLogEntry){o.listeners[i].onLogEntry(m);}}},attach:function(i,m){if(m){o.listeners.push(m);if(m.onAttachToLog){m.onAttachToLog(i);}}},detach:function(m,v){for(var i=0;i<o.listeners.length;i++){if(o.listeners[i]===v){if(v.onDetachFromLog){v.onDetachFromLog(m);}o.listeners.splice(i,1);return;}}}};}return o;}function A(i,m,v,w){if(i<=r(w)){var N=jQuery.sap.now(),H=new Date(N),K=Math.floor((N-Math.floor(N))*1000),O={time:n(H.getHours(),2)+":"+n(H.getMinutes(),2)+":"+n(H.getSeconds(),2)+"."+n(H.getMilliseconds(),3)+n(K,3),date:n(H.getFullYear(),4)+"-"+n(H.getMonth()+1,2)+"-"+n(H.getDate(),2),timestamp:N,level:i,message:String(m||""),details:String(v||""),component:String(w||"")};L.push(O);if(o){o.onLogEntry(O);}if(window.console){var Q=O.date+" "+O.time+" "+s+O.message+" - "+O.details+" "+O.component;switch(i){case d:case j:console.error(Q);break;case W:console.warn(Q);break;case l:console.info?console.info(Q):console.log(Q);break;case D:console.debug?console.debug(Q):console.log(Q);break;case T:console.trace?console.trace(Q):console.log(Q);break;}}return O;}}function B(i){this.fatal=function(m,v,w){A(d,m,v,w||i);return this;};this.error=function error(m,v,w){A(j,m,v,w||i);return this;};this.warning=function warning(m,v,w){A(W,m,v,w||i);return this;};this.info=function info(m,v,w){A(l,m,v,w||i);return this;};this.debug=function debug(m,v,w){A(D,m,v,w||i);return this;};this.trace=function trace(m,v,w){A(T,m,v,w||i);return this;};this.setLevel=function setLevel(m,w){w=w||i||'';M[w]=m;var H=[];jQuery.each(jQuery.sap.log.LogLevel,function(K,v){H[v]=K;});A(l,"Changing log level "+(w?"for '"+w+"' ":"")+"to "+H[m],"","jQuery.sap.log");return this;};this.getLevel=function getLevel(m){return r(m||i);};this.isLoggable=function(m,v){return(m==null?D:m)<=r(v||i);};}jQuery.sap.log=jQuery.extend(new B(),{Level:{NONE:d-1,FATAL:d,ERROR:j,WARNING:W,INFO:l,DEBUG:D,TRACE:T,ALL:(T+1)},getLogger:function(i,m){if(!isNaN(m)&&M[i]==null){M[i]=m;}return new B(i);},getLogEntries:function(){return L.slice();},addLogListener:function(o){z().attach(this,o);return this;},removeLogListener:function(o){z().detach(this,o);return this;}});jQuery.sap.log.LogLevel=jQuery.sap.log.Level;jQuery.sap.log.getLog=jQuery.sap.log.getLogEntries;function G(){function m(a1,b1,c1,d1,e1){this.id=a1;this.info=b1;this.start=c1;this.end=d1;this.pause=0;this.resume=0;this.duration=0;this.time=0;this.categories=e1;this.average=false;this.count=0;this.completeDuration=0;}function v(a1){if(!R){return true;}if(!a1){return R===null;}for(var i=0;i<R.length;i++){if(a1.indexOf(R[i])>-1){return true;}}return false;}function w(a1){if(!a1){a1=["javascript"];}a1=typeof a1==="string"?a1.split(","):a1;if(!v(a1)){return null;}return a1;}var H=false,K=jQuery.ajax,R=null,N=[],O=[],Q=["start","end","pause","resume","add","remove","clear","average"];this.getActive=function(){return H;};this.setActive=function(a1,b1){if(!b1){b1=null;}else if(typeof b1==="string"){b1=b1.split(",");}R=b1;if(H===a1){return;}H=a1;if(H){for(var i=0;i<Q.length;i++){this[Q[i]]=this["_"+Q[i]];}Q=[];jQuery.ajax=function(c1,d1){if(typeof c1==='object'){d1=c1;c1=undefined;}d1=d1||{};var e1=new URI(c1||d1.url).absoluteTo(document.location.origin+document.location.pathname).href();jQuery.sap.measure.start(e1,"Request for "+e1,"xmlhttprequest");var f1=d1.complete;d1.complete=function(){jQuery.sap.measure.end(e1);if(f1){f1.apply(this,arguments);}};return K.call(this,c1,d1);};}else if(K){jQuery.ajax=K;}return H;};this.mMeasurements={};this._start=function(a1,b1,c1){if(!H){return;}c1=w(c1);if(!c1){return;}var d1=jQuery.sap.now(),e1=new m(a1,b1,d1,0,c1);if(window.console&&console.time){console.time(b1+" - "+a1);}if(e1){this.mMeasurements[a1]=e1;return this.getMeasurement(e1.id);}else{return false;}};this._pause=function(a1){if(!H){return;}var b1=jQuery.sap.now();var c1=this.mMeasurements[a1];if(c1&&c1.end>0){return false;}if(c1&&c1.pause==0){c1.pause=b1;if(c1.pause>=c1.resume&&c1.resume>0){c1.duration=c1.duration+c1.pause-c1.resume;c1.resume=0;}else if(c1.pause>=c1.start){c1.duration=c1.pause-c1.start;}}if(c1){return this.getMeasurement(c1.id);}else{return false;}};this._resume=function(a1){if(!H){return;}var b1=jQuery.sap.now();var c1=this.mMeasurements[a1];if(c1&&c1.pause>0){c1.pause=0;c1.resume=b1;}if(c1){return this.getMeasurement(c1.id);}else{return false;}};this._end=function(a1){if(!H){return;}var b1=jQuery.sap.now();var c1=this.mMeasurements[a1];if(c1&&!c1.end){c1.end=b1;if(c1.end>=c1.resume&&c1.resume>0){c1.duration=c1.duration+c1.end-c1.resume;c1.resume=0;}else if(c1.pause>0){c1.pause=0;}else if(c1.end>=c1.start){if(c1.average){c1.completeDuration+=(c1.end-c1.start);c1.count++;c1.duration=c1.completeDuration/c1.count;c1.start=b1;}else{c1.duration=c1.end-c1.start;}}if(c1.end>=c1.start){c1.time=c1.end-c1.start;}}if(c1){if(window.console&&console.timeEnd){console.timeEnd(c1.info+" - "+a1);}return this.getMeasurement(a1);}else{return false;}};this._clear=function(){this.mMeasurements={};};this._remove=function(a1){delete this.mMeasurements[a1];};this._add=function(a1,b1,c1,d1,e1,f1,g1){if(!H){return;}g1=w(g1);if(!g1){return false;}var h1=new m(a1,b1,c1,d1,g1);h1.time=e1;h1.duration=f1;if(h1){this.mMeasurements[a1]=h1;return this.getMeasurement(h1.id);}else{return false;}};this._average=function(a1,b1,c1){if(!H){return;}c1=w(c1);if(!c1){return;}var d1=this.mMeasurements[a1],e1=jQuery.sap.now();if(!d1||!d1.average){this.start(a1,b1,c1);d1=this.mMeasurements[a1];d1.average=true;}else{if(!d1.end){d1.completeDuration+=(e1-d1.start);d1.count++;}d1.start=e1;d1.end=0;}return this.getMeasurement(d1.id);};this.getMeasurement=function(a1){var b1=this.mMeasurements[a1];if(b1){return{id:b1.id,info:b1.info,start:b1.start,end:b1.end,pause:b1.pause,resume:b1.resume,time:b1.time,duration:b1.duration,completeDuration:b1.completeDuration,count:b1.count,average:b1.average,categories:b1.categories};}else{return false;}};this.getAllMeasurements=function(a1){return this.filterMeasurements(function(b1){return b1;},a1);};this.filterMeasurements=function(a1,b1){var c1=[],d1=this;jQuery.each(this.mMeasurements,function(e1){var f1=d1.getMeasurement(e1);if(a1){var g1=a1(f1);if(g1&&((b1===false&&g1.end===0)||(b1!==false&&(!b1||g1.end)))){c1.push(g1);}}});return c1;};this.registerMethod=function(a1,b1,c1,d1){var e1=b1[c1];if(e1&&typeof e1==="function"){var f1=N.indexOf(e1)>-1;if(!f1){O.push({func:e1,obj:b1,method:c1,id:a1});b1[c1]=function(){jQuery.sap.measure.average(a1,a1+" method average",d1);var g1=e1.apply(this,arguments);jQuery.sap.measure.end(a1);return g1;};N.push(b1[c1]);return true;}}else{jQuery.sap.log.debug(c1+" in not a function. jQuery.sap.measure.register failed");}return false;};this.unregisterMethod=function(a1,b1,c1){var d1=b1[c1],e1=N.indexOf(d1);if(d1&&e1>-1){b1[c1]=O[e1].func;N.splice(e1,1);O.splice(e1,1);return true;}return false;};this.unregisterAllMethods=function(){while(O.length>0){var a1=O[0];this.unregisterMethod(a1.id,a1.obj,a1.method);}};var U=[];var X;this.getAllInteractionMeasurements=function(){return U;};this.getPendingInteractionMeasurement=function(){return X;};this.clearInteractionMeasurements=function(){U=[];};function Y(a1){if(X){X.end=a1;X.duration=X.processing;X.requests=jQuery.sap.measure.getRequestTimings();X.measurements=jQuery.sap.measure.filterMeasurements(function(h1){return(h1.start>X.start&&h1.end<X.end)?h1:null;},true);if(X.requests.length>0){var b1=X.requests[0].startTime,c1=X.requests[0].startTime,d1=X.requests[0].requestStart,e1=X.requests[0].requestStart,f1=X.requests[0].responseEnd;X.requests.forEach(function(h1){b1=h1.responseEnd>b1?h1.responseEnd:b1;X.requestTime+=(h1.responseEnd-h1.startTime);if(f1<h1.startTime){X.navigation+=(d1-c1);X.roundtrip+=(f1-e1);c1=h1.startTime;e1=h1.requestStart;}if(h1.responseEnd>f1){d1=h1.requestStart;f1=h1.responseEnd;}});X.navigation+=d1-c1;X.roundtrip+=f1-e1;X.networkTime=X.networkTime?((X.requestTime-X.networkTime)/X.requests.length):0;if(X.duration===0){X.duration=X.navigation+X.roundtrip;}}if(X.processing!==0){var g1=X.processing-X.navigation-X.roundtrip;X.processing=g1>0?g1:0;}U.push(X);jQuery.sap.log.info("Interaction step finished: trigger: "+X.trigger+"; duration: "+X.duration+"; requests: "+X.requests.length);X=null;}}this.startInteraction=function(a1,b1){function c1(b1){if(b1){var e1,f1;e1=sap.ui.require("sap/ui/core/Component");while(e1&&b1&&b1.getParent){f1=e1.getOwnerComponentFor(b1);if(f1||b1 instanceof e1){f1=f1||b1;var g1=f1.getMetadata().getManifestEntry("sap.app");return g1&&g1.id||f1.getMetadata().getName();}b1=b1.getParent();}}return"undetermined";}var d1=jQuery.sap.now();if(X){Y(d1);}this.clearRequestTimings();X={event:a1,trigger:b1&&b1.getId?b1.getId():"undetermined",component:c1(b1),start:d1,end:0,navigation:0,roundtrip:0,processing:0,duration:0,requests:[],measurements:[],sapStatistics:[],requestTime:0,networkTime:0,bytesSent:0,bytesReceived:0,requestCompression:undefined};jQuery.sap.log.info("Interaction step started: trigger: "+X.trigger+"; type: "+X.event);};this.endInteraction=function(a1){if(X){if(!a1){X.processing=jQuery.sap.now()-X.start;}else{Y(jQuery.sap.now());}}};this.setRequestBufferSize=function(a1){if(!window.performance){return;}if(window.performance.setResourceTimingBufferSize){window.performance.setResourceTimingBufferSize(a1);}else if(window.performance.webkitSetResourceTimingBufferSize){window.performance.webkitSetResourceTimingBufferSize(a1);}};this.getRequestTimings=function(){if(window.performance&&window.performance.getEntriesByType){return jQuery.extend(window.performance.getEntriesByType("resource"),{});}return[];};this.clearRequestTimings=function(){if(!window.performance){return;}if(window.performance.clearResourceTimings){window.performance.clearResourceTimings();}else if(window.performance.webkitClearResourceTimings){window.performance.webkitClearResourceTimings();}};this.setRequestBufferSize(1000);var Z=location.search.match(/sap-ui-measure=([^\&]*)/);if(Z&&Z[1]){if(Z[1]==="true"||Z[1]==="x"||Z[1]==="X"){this.setActive(true);}else{this.setActive(true,Z[1]);}}else{var $=function(){return null;};for(var i=0;i<Q.length;i++){this[Q[i]]=$;}}}jQuery.sap.measure=new G();jQuery.sap.assert=function(R,m){if(!R){var i=typeof m==="function"?m():m;if(window.console&&console.assert){console.assert(R,s+i);}else{jQuery.sap.log.debug("[Assertions] "+i);}}};p.loglevel=(function(){var m=/(?:\?|&)sap-ui-log(?:L|-l)evel=([^&]*)/.exec(window.location.search);return m&&m[1];}())||p.loglevel;if(p.loglevel){jQuery.sap.log.setLevel(jQuery.sap.log.Level[p.loglevel.toUpperCase()]||parseInt(p.loglevel,10));}jQuery.sap.log.info("SAP Logger started.");jQuery.each(a,function(i,e){jQuery.sap.log[e.level](e.message);});a=null;}());jQuery.sap.factory=function factory(o){function d(){}d.prototype=o;return d;};jQuery.sap.newObject=function newObject(o){return new(jQuery.sap.factory(o))();};jQuery.sap.getter=function getter(v){return function(){return v;};};jQuery.sap.getObject=function getObject(n,N,o){var O=o||_,d=(n||"").split("."),l=d.length,j=isNaN(N)?0:l-N,i;for(i=0;O&&i<l;i++){if(!O[d[i]]&&i<j){O[d[i]]={};}O=O[d[i]];}return O;};jQuery.sap.setObject=function(n,v,o){var O=o||_,N=(n||"").split("."),l=N.length,i;if(l>0){for(i=0;O&&i<l-1;i++){if(!O[N[i]]){O[N[i]]={};}O=O[N[i]];}O[N[l-1]]=v;}};function S(n,d,T){var i=[],o=0,j=0,s;this.startTask=function(m){var r=i.length;i[r]={name:m,finished:false};o++;return r;};this.finishTask=function(m,r){if(!i[m]||i[m].finished){throw new Error("trying to finish non existing or already finished task");}i[m].finished=true;o--;if(r===false){j++;}if(o===0){jQuery.sap.log.info("Sync point '"+n+"' finished (tasks:"+i.length+", open:"+o+", failures:"+j+")");if(s){clearTimeout(s);s=null;}l();}};function l(){d&&d(o,j);d=null;}if(!isNaN(T)){s=setTimeout(function(){jQuery.sap.log.info("Sync point '"+n+"' timed out (tasks:"+i.length+", open:"+o+", failures:"+j+")");l();},T);}jQuery.sap.log.info("Sync point '"+n+"' created"+(T?"(timeout after "+T+" ms)":""));}jQuery.sap.syncPoint=function(n,d,T){return new S(n,d,T);};var q=(function(){var o=jQuery.sap.log.getLogger("sap.ui.ModuleSystem",(/sap-ui-xx-debug(M|-m)odule(L|-l)oading=(true|x|X)/.test(location.search)||p["xx-debugModuleLoading"])?jQuery.sap.log.Level.DEBUG:jQuery.sap.log.Level.INFO),U={'':{'url':'resources/'}},r=0,v=-1,L=1,w=2,z=3,R=4,A=5,M={"sap/ui/thirdparty/URI.js":{state:R,url:c,content:URI},"sap/ui/Device.js":{state:R,url:c,content:sap.ui.Device},"jquery.sap.global.js":{state:R,url:c,content:jQuery}},B={},D={'sap/ui/thirdparty/blanket.js':{amd:true,exports:'blanket'},'sap/ui/thirdparty/caja-html-sanitizer.js':{amd:false,exports:'html'},'sap/ui/thirdparty/crossroads.js':{amd:true,exports:'crossroads',deps:['sap/ui/thirdparty/signals.js']},'sap/ui/thirdparty/d3.js':{amd:true,exports:'d3'},'sap/ui/thirdparty/datajs.js':{amd:true,exports:'OData'},'sap/ui/thirdparty/es6-promise.js':{amd:true,exports:'ES6Promise'},'sap/ui/thirdparty/flexie.js':{exports:'Flexie'},'sap/ui/thirdparty/handlebars.js':{amd:true,exports:'Handlebars'},'sap/ui/thirdparty/hasher.js':{amd:true,exports:'hasher',deps:['sap/ui/thirdparty/signals.js']},'sap/ui/thirdparty/IPv6.js':{amd:true,exports:'IPv6'},'sap/ui/thirdparty/iscroll-lite.js':{exports:'iScroll'},'sap/ui/thirdparty/iscroll.js':{exports:'iScroll'},'sap/ui/thirdparty/jquery.js':{amd:true},'sap/ui/thirdparty/jquery/jquery-1.11.1.js':{amd:true},'sap/ui/thirdparty/jquery/jquery-1.10.2.js':{amd:true},'sap/ui/thirdparty/jquery/jquery-1.10.1.js':{amd:true},'sap/ui/thirdparty/jquery/jquery.1.7.1.js':{amd:true},'sap/ui/thirdparty/jquery/jquery.1.8.1.js':{amd:true},'sap/ui/thirdparty/jquery-mobile-custom.js':{amd:true,exports:'jQuery.mobile'},'sap/ui/thirdparty/jszip.js':{amd:true,exports:'JSZip'},'sap/ui/thirdparty/less.js':{amd:true,exports:'less'},'sap/ui/thirdparty/mobify-carousel.js':{exports:'Mobify'},'sap/ui/thirdparty/punycode.js':{amd:true,exports:'punycode'},'sap/ui/thirdparty/require.js':{exports:'define'},'sap/ui/thirdparty/SecondLevelDomains.js':{amd:true,exports:'SecondLevelDomains'},'sap/ui/thirdparty/signals.js':{amd:true,exports:'signals'},'sap/ui/thirdparty/sinon.js':{amd:true,exports:'sinon'},'sap/ui/thirdparty/sinon-server.js':{amd:true,exports:'sinon'},'sap/ui/thirdparty/unorm.js':{exports:'UNorm'},'sap/ui/thirdparty/unormdata.js':{exports:'UNorm',deps:['sap/ui/thirdparty/unorm.js']},'sap/ui/thirdparty/URI.js':{amd:true,exports:'URI'},'sap/ui/thirdparty/URITemplate.js':{amd:true,exports:'URITemplate',deps:['sap/ui/thirdparty/URI.js']},'sap/ui/thirdparty/vkbeautify.js':{exports:'vkbeautify'},'sap/ui/thirdparty/zyngascroll.js':{exports:'Scroller'},'sap/ui/demokit/js/esprima.js':{amd:true,exports:'esprima'}},G=[],H="",K=512*1024,N=document.location.href.replace(/\?.*|#.*/g,""),O="fragment",Q="view",T={js:[Q,O,"controller","designtime"],xml:[Q,O],json:[Q,O],html:[Q,O]},W=new RegExp("(\\.(?:"+T.js.join("|")+"))?\\.js$"),X,Y;(function(){var s="",d="";jQuery.each(T,function(i,j){s=(s?s+"|":"")+i;d=(d?d+"|":"")+"(?:(?:"+j.join("\\.|")+"\\.)?"+i+")";});s="\\.("+s+")$";d="\\.(?:"+d+"|[^./]+)$";o.debug("constructed regexp for file types :"+s);o.debug("constructed regexp for file sub-types :"+d);X=new RegExp(s);Y=new RegExp(d);}());function Z(s){if(/^sap\.ui\.thirdparty\.jquery\.jquery-/.test(s)){return"sap/ui/thirdparty/jquery/jquery-"+s.slice("sap.ui.thirdparty.jquery.jquery-".length);}else if(/^jquery\.sap\./.test(s)){return s;}return s.replace(/\./g,"/");}function $(s){if(!/\.js$/.test(s)){return;}s=s.slice(0,-3);if(/^sap\/ui\/thirdparty\/jquery\/jquery-/.test(s)){return"sap.ui.thirdparty.jquery.jquery-"+s.slice("sap/ui/thirdparty/jquery/jquery-".length);}else if(/^jquery\.sap\./.test(s)){return s;}return s.replace(/\//g,".");}function a1(s,d){var i=s.split(/\//),l,j,j1,m;if(arguments.length===1&&i.length>0){m=Y.exec(i[i.length-1]);if(m){d=m[0];i[i.length-1]=i[i.length-1].slice(0,m.index);}else{d="";}}for(l=i.length;l>=0;l--){j=i.slice(0,l).join('/');if(U[j]){j1=U[j].url;if(l<i.length){j1+=i.slice(l).join('/');}if(j1.slice(-1)==='/'){j1=j1.slice(0,-1);}return j1+(d||'');}}}function b1(s){var d,i,j;for(d in U){if(U.hasOwnProperty(d)){i=U[d].url.slice(0,-1);if(s.indexOf(i)===0){j=d+s.slice(i.length);if(j.charAt(0)==='/'){j=j.slice(1);}if(M[j]&&M[j].data){return j;}}}}}var c1=/(?:^|\/)\.+/;var d1=/^\.*$/;function e1(s,d){var m=c1.exec(d),j1,k1,i,j,l;if(!m){return d;}if(m.index===0&&s==null){throw new Error("relative name not supported ('"+d+"'");}j1=(m.index===0?s+d:d).split('/');for(i=0,j=0,l=j1.length;i<l;i++){var k1=j1[i];if(d1.test(k1)){if(k1==='.'||k1===''){continue;}else if(k1==='..'){if(j===0){throw new Error("Can't navigate to parent of root (base='"+s+"', name='"+d+"'");}j--;}else{throw new Error("illegal path segment '"+k1+"'");}}else{j1[j++]=k1;}}j1.length=j;return j1.join('/');}function f1(m){var d;d=M[m]||(M[m]={state:r});if(d.state>r){return d;}if(o.isLoggable()){o.debug(H+"declare module '"+m+"'");}d.state=R;if(G.length===0){G.push(m);d.url=d.url||c;}return d;}function g1(s){var m=W.exec(s),d=D[s],j,l,j1,k1,i;if(!m){o.error("can only require Javascript module, not "+s);return;}if(d&&d.deps){if(o.isLoggable()){o.debug("require dependencies of raw module "+s);}for(i=0;i<d.deps.length;i++){if(o.isLoggable()){o.debug("  require "+d.deps[i]);}g1(d.deps[i]);}}j=s.slice(0,m.index);l=m[0];j1=M[s]||(M[s]={state:r});if(o.isLoggable()){o.debug(H+"require '"+s+"' of type '"+l+"'");}if(j1.state!==r){if(j1.state===v){j1.state=w;h1(s);}if(j1.state===R){if(o.isLoggable()){o.debug(H+"module '"+s+"' has already been loaded (skipped).");}return this;}else if(j1.state===A){throw new Error("found in negative cache: '"+s+"' from "+j1.url+": "+j1.error);}else{return this;}}j1.state=L;k1=window["sap-ui-loaddbg"]?["-dbg",""]:[""];for(i=0;i<k1.length&&j1.state!==w;i++){j1.url=a1(j,k1[i]+l);if(o.isLoggable()){o.debug(H+"loading "+(k1[i]?k1[i]+" version of ":"")+"'"+s+"' from '"+j1.url+"'");}jQuery.ajax({url:j1.url,dataType:'text',async:false,success:function(l1,m1,n1){j1.state=w;j1.data=l1;},error:function(l1,m1,n1){j1.state=A;j1.error=l1?l1.status+" - "+l1.statusText:m1;}});}if(j1.state===w){h1(s);}if(j1.state!==R){throw new Error("failed to load '"+s+"' from "+j1.url+": "+j1.error);}}function h1(m){var d=M[m],s=D[m],i,j,l;if(d&&d.state===w&&typeof d.data!=="undefined"){l=(s===true||(s&&s.amd))&&typeof window.define==="function"&&window.define.amd;try{if(l){delete window.define.amd;}if(o.isLoggable()){o.debug(H+"executing '"+m+"'");i=H;H=H+": ";}d.state=z;G.push(m);if(typeof d.data==="function"){d.data.call(window);}else if(jQuery.isArray(d.data)){sap.ui.define.apply(sap.ui,d.data);}else{j=d.data;if(j&&!j.match(/\/\/[#@] source(Mapping)?URL=.*$/)){j+="\n//# sourceURL="+URI(d.url).absoluteTo(N);}if(typeof jQuery.sap.require._hook==="function"){j=jQuery.sap.require._hook(j,m);}if(_.execScript&&(!d.data||d.data.length<K)){try{d.data&&_.execScript(j);}catch(e){G.pop();jQuery.sap.globalEval(d.data);throw e;}}else{_.eval(j);}}G.pop();d.state=R;d.data=undefined;d.content=d.content||jQuery.sap.getObject((s&&s.exports)||$(m));if(o.isLoggable()){H=i;o.debug(H+"finished executing '"+m+"'");}}catch(j1){d.state=A;d.error=((j1.toString&&j1.toString())||j1.message)+(j1.line?"(line "+j1.line+")":"");d.data=undefined;if(window["sap-ui-debug"]&&(/sap-ui-xx-show(L|-l)oad(E|-e)rrors=(true|x|X)/.test(location.search)||p["xx-showloaderrors"])){o.error("error while evaluating "+m+", embedding again via script tag to enforce a stack trace (see below)");jQuery.sap.includeScript(d.url);return;}}finally{if(l){window.define.amd=l;}}}}function i1(s,d,j){var m=[],i,l;for(i=0;i<d.length;i++){l=e1(s,d[i]);o.debug(H+"require '"+l+"'");g1(l+".js");m[i]=M[l+".js"].content||jQuery.sap.getObject($(l+".js"));o.debug(H+"require '"+l+"': done.");}j(m);}jQuery.sap.getModulePath=function(m,s){return a1(Z(m),s);};jQuery.sap.getResourcePath=a1;jQuery.sap.registerModulePath=function registerModulePath(m,d){m=m.replace(/\./g,"/");d=d||'.';jQuery.sap.registerResourcePath(m,d);};jQuery.sap.registerResourcePath=function registerResourcePath(s,d){s=String(s||"");if(U[s]&&U[s]["final"]==true){o.warning("registerResourcePath with prefix "+s+" already set as final to '"+U[s].url+"'. This call is ignored.");return;}if(typeof d==='string'||d instanceof String){d={'url':d};}if(!d||d.url==null){delete U[s];o.info("registerResourcePath ('"+s+"') (registration removed)");}else{d.url=String(d.url);var i=d.url.indexOf("?");if(i!==-1){d.url=d.url.substr(0,i);}var j=d.url.indexOf("#");if(j!==-1){d.url=d.url.substr(0,j);}if(d.url.slice(-1)!='/'){d.url+='/';}U[s]=d;o.info("registerResourcePath ('"+s+"', '"+d.url+"')"+((d['final'])?" (final)":""));}};jQuery.sap.isDeclared=function isDeclared(m,i){m=Z(m)+".js";return M[m]&&(i||M[m].state!==v);};jQuery.sap.getAllDeclaredModules=function(){var m=[];jQuery.each(M,function(s,d){if(d&&d.state!==v){var i=$(s);if(i){m.push(i);}}});return m;};if(p.resourceroots){jQuery.each(p.resourceroots,jQuery.sap.registerModulePath);}o.info("URL prefixes set to:");for(var n in U){o.info("  "+(n?"'"+n+"'":"(default)")+" : "+U[n].url+((U[n]['final'])?" (final)":""));}jQuery.sap.declare=function(m,d){var s=m;if(typeof(m)==="object"){s=m.modName;m=Z(m.modName)+(m.type?"."+m.type:"")+".js";}else{m=Z(m)+".js";}f1(m);if(d!==false){jQuery.sap.getObject(s,1);}return this;};jQuery.sap.require=function(m,d){if(arguments.length>1){for(var i=0;i<arguments.length;i++){jQuery.sap.require(arguments[i]);}return this;}if(typeof(m)==="object"){m=Z(m.modName)+(m.type?"."+m.type:"")+".js";}else{m=Z(m)+".js";}jQuery.sap.measure.start(m,"Require module "+m,["require"]);g1(m);jQuery.sap.measure.end(m);return this;};jQuery.sap._requirePath=function(m){g1(m+".js");};window.sap=window.sap||{};sap.ui=sap.ui||{};sap.ui.define=function(m,d,i,j){var s,l;if(typeof m==='string'){s=m+'.js';}else{j=i;i=d;d=m;s=G[G.length-1];}m=$(s);l=s.slice(0,s.lastIndexOf('/')+1);if(!jQuery.isArray(d)){j=i;i=d;d=[];}if(o.isLoggable()){o.debug("define("+s+", "+"['"+d.join("','")+"']"+")");}var j1=f1(s);i1(l,d,function(k1){if(o.isLoggable()){o.debug("define("+s+"): calling factory "+typeof i);}if(j){var l1=s.split('/').slice(0,-1).join('.');if(l1){jQuery.sap.getObject(l1,0);}}if(typeof i==='function'){j1.content=i.apply(window,k1);}else{j1.content=i;}if(j){if(j1.content==null){o.error("module '"+s+"' returned no content, but should be exported");}else{if(o.isLoggable()){o.debug("exporting content of '"+s+"': as global object");}jQuery.sap.setObject(m,j1.content);}}});};sap.ui.predefine=function(m,d,i,j){if(typeof m!=='string'){throw new Error("sap.ui.predefine requires a module name");}var s=m+'.js';var l=M[s];if(!l){M[s]={state:v,url:"TODO???/"+m,data:[m,d,i,j],group:null};}if(s.match(/\/library\.js$/)){B[$(s)+"-preload"]=true;}};sap.ui.require=function(d,i){if(typeof d==='string'){var m=d+'.js',j=M[m];return j?(j.content||jQuery.sap.getObject($(m))):undefined;}i1(null,d,function(l){if(typeof i==='function'){setTimeout(function(){i.apply(window,l);},0);}});};jQuery.sap.preloadModules=function(s,d,i){var j,l;if(B[s]){return;}B[s]=true;j=jQuery.sap.getModulePath(s,".json");o.debug("preload file "+s);l=i&&i.startTask("load "+s);jQuery.ajax({dataType:"json",async:d,url:j,success:function(m){if(m){m.url=j;}jQuery.sap.registerPreloadedModules(m,d,i);i&&i.finishTask(l);},error:function(m,j1,k1){o.error("failed to preload '"+s+"': "+(k1||j1));i&&i.finishTask(l,false);}});};jQuery.sap.registerPreloadedModules=function(d,i,s){var j=V(d.version||"1.0").compareTo("2.0")<0;if(o.isLoggable()){o.debug(H+"adding preloaded modules from '"+d.url+"'");}if(d.name){B[d.name]=true;}jQuery.each(d.modules,function(l,m){l=j?Z(l)+".js":l;if(!M[l]){M[l]={state:v,url:d.url+"/"+l,data:m,group:d.name};}if(l.match(/\/library\.js$/)){B[$(l)+"-preload"]=true;}});if(d.dependencies){jQuery.each(d.dependencies,function(l,m){jQuery.sap.preloadModules(m,i,s);});}};jQuery.sap.unloadResources=function(s,d,j,l){var m=[];if(d==null){d=true;}if(d){jQuery.each(M,function(i,j1){if(j1&&j1.group===s){m.push(i);}});delete B[s];}else{if(M[s]){m.push(s);}}jQuery.each(m,function(i,j1){var k1=M[j1];if(k1&&l&&j1.match(/\.js$/)){jQuery.sap.setObject($(j1),undefined);}if(k1&&(j||k1.state===v)){delete M[j1];}});};jQuery.sap.getResourceName=function(m,s){return Z(m)+(s||".js");};jQuery.sap.loadResource=function(s,m){var i,j,l,j1,k1;if(typeof s==="string"){m=m||{};}else{m=s||{};s=m.name;if(!s&&m.url){s=b1(m.url);}}m=jQuery.extend({failOnError:true,async:false},m);i=m.dataType;if(i==null&&s){i=(i=X.exec(s))&&i[1];}k1=m.async?new jQuery.Deferred():null;function l1(d,e){if(d==null&&m.failOnError){j1=e||new Error("no data returned for "+s);if(m.async){k1.reject(j1);jQuery.sap.log.error(j1);}return null;}if(m.async){k1.resolve(d);}return d;}function m1(d){var n1=jQuery.ajaxSettings.converters["text "+i];if(typeof n1==="function"){d=n1(d);}return l1(d);}if(s&&M[s]){j=M[s].data;M[s].state=w;}if(j!=null){if(m.async){setTimeout(function(){m1(j);},0);}else{j=m1(j);}}else{jQuery.ajax({url:l=m.url||a1(s),async:m.async,dataType:i,headers:m.headers,success:function(d,n1,o1){j=l1(d);},error:function(d,n1,o1){j1=new Error("resource "+s+" could not be loaded from "+l+". Check for 'file not found' or parse errors. Reason: "+o1);j1.status=n1;j1.error=o1;j1.statusCode=d.status;j=l1(null,j1);}});}if(m.async){return Promise.resolve(k1);}if(j1!=null&&m.failOnError){throw j1;}return j;};jQuery.sap._loadJSResourceAsync=function(s,i){return new Promise(function(d,j){var m=M[s]||(M[s]={state:r});var l=m.url=a1(s);m.state=L;var j1=window.document.createElement('SCRIPT');j1.src=l;j1.setAttribute("data-sap-ui-module",s);j1.addEventListener('load',function(e){jQuery.sap.log.info("Javascript resource loaded: "+s);m.state=R;d();});j1.addEventListener('error',function(e){jQuery.sap.log.error("failed to load Javascript resource: "+s);m.state=A;if(i){d();}else{j();}});t(j1);});};return function(){var m={};jQuery.each(U,function(s,d){m[s]=d.url;});return{modules:M,prefixes:m};};}());function t(o){var d=window.document.getElementsByTagName("head")[0];if(d){d.appendChild(o);}}jQuery.sap.includeScript=function includeScript(U,i,l,d){var s=window.document.createElement("script");s.src=U;s.type="text/javascript";if(i){s.id=i;}if(!!sap.ui.Device.browser.internet_explorer&&sap.ui.Device.browser.version<9){if(l){s.onreadystatechange=function(){if(s.readyState==="loaded"||s.readyState==="complete"){l();s.onreadystatechange=null;}};}}else{if(l){jQuery(s).load(l);}if(d){jQuery(s).error(d);}}var o;if((i&&(o=jQuery.sap.domById(i))&&o.tagName==="SCRIPT")){jQuery(o).remove();}t(s);};var I;var u=jQuery.sap._mIEStyleSheets={};jQuery.sap.includeStyleSheet=function includeStyleSheet(U,s,l,d){var j=function(U,s,l,d){var L=document.createElement("link");L.type="text/css";L.rel="stylesheet";L.href=U;if(s){L.id=s;}var i=function(){jQuery(L).attr("data-sap-ui-ready","false");if(d){d();}};var n=function(){jQuery(L).attr("data-sap-ui-ready","true");if(l){l();}};if(!!sap.ui.Device.browser.internet_explorer){var r=n;n=function(v){var R;try{R=v.target&&v.target.sheet&&v.target.sheet.rules;}catch(w){}if(R&&R.length>0){r();}else{i();}};}jQuery(L).load(n);jQuery(L).error(i);return L;};var m=function(U,s,l,d){if(sap.ui.Device.browser.internet_explorer&&sap.ui.Device.browser.version<=9&&document.styleSheets.length>=28){var r=URI.parse(document.URL).path;var A=new URI(U).absoluteTo(r).toString();if(s){var n=u[s];if(n&&n.href===A){return;}}jQuery.sap.log.warning("Stylesheet "+(s?s+" ":"")+"not added as LINK because of IE limits",U,"jQuery.sap.includeStyleSheet");if(!I){I=document.createStyleSheet();}var v=false;for(var i=0;i<I.imports.length;i++){var w=I.imports[i];if(w.imports.length<30){w.addImport(A);v=true;break;}}if(!v){I.addImport(A);}if(s){u[s]={href:A};}var z=document.getElementById('sap-ui-core-customcss');if(!jQuery.isEmptyObject(z)){t(z);}}else{var L=j(U,s,l,d);if(jQuery('#sap-ui-core-customcss').length>0){jQuery('#sap-ui-core-customcss').first().before(jQuery(L));}else{t(L);}}};var o=jQuery.sap.domById(s);if(o&&o.tagName==="LINK"&&o.rel==="stylesheet"){if(l||d||o.href!==URI(String(U),URI().search("")).toString()){jQuery(o).replaceWith(j(U,s,l,d));}}else{m(U,s,l,d);}};if(!(p.productive===true||p.productive==="true"||p.productive==="x")){jQuery(function(){jQuery(document.body).keydown(function(e){if(e.keyCode==80&&e.shiftKey&&e.altKey&&e.ctrlKey){try{jQuery.sap.require("sap.ui.debug.TechnicalInfo");}catch(d){return;}sap.ui.debug.TechnicalInfo.open(function(){var i=q();return{modules:i.modules,prefixes:i.prefixes,config:p};});}});});jQuery(function(){jQuery(document.body).keydown(function(e){if(e.keyCode==83&&e.shiftKey&&e.altKey&&e.ctrlKey){try{jQuery.sap.require("sap.ui.core.support.Support");var s=sap.ui.core.support.Support.getStub();if(s.getType()!=sap.ui.core.support.Support.StubType.APPLICATION){return;}s.openSupportTool();}catch(d){}}});});}if(!jQuery.support){jQuery.support={};}jQuery.extend(jQuery.support,{touch:sap.ui.Device.support.touch});var P=["Webkit","ms","Moz"];var x=document.documentElement.style;var y=function(d,j){if(jQuery.support[d]===undefined){if(x[j]!==undefined){jQuery.support[d]=true;if(j==="boxFlex"||j==="flexOrder"||j==="flexGrow"){if(!sap.ui.Device.browser.chrome||sap.ui.Device.browser.version>28){jQuery.support.flexBoxPrefixed=false;}}return;}else{j=j.charAt(0).toUpperCase()+j.slice(1);for(var i in P){if(x[P[i]+j]!==undefined){jQuery.support[d]=true;return;}}}jQuery.support[d]=false;}};y("cssTransforms","transform");y("cssTransforms3d","perspective");y("cssTransitions","transition");y("cssAnimations","animationName");if(jQuery.support.cssGradients===undefined){var E=document.createElement('div'),x=E.style;try{x.backgroundImage="linear-gradient(left top, red, white)";x.backgroundImage="-moz-linear-gradient(left top, red, white)";x.backgroundImage="-webkit-linear-gradient(left top, red, white)";x.backgroundImage="-ms-linear-gradient(left top, red, white)";x.backgroundImage="-webkit-gradient(linear, left top, right bottom, from(red), to(white))";}catch(e){}jQuery.support.cssGradients=(x.backgroundImage&&x.backgroundImage.indexOf("gradient")>-1);E=null;}jQuery.support.flexBoxPrefixed=true;y("flexBoxLayout","boxFlex");y("newFlexBoxLayout","flexGrow");if(!jQuery.support.newFlexBoxLayout&&x.msFlexOrder!==undefined){jQuery.support.ie10FlexBoxLayout=true;}else{jQuery.support.ie10FlexBoxLayout=false;}if(jQuery.support.flexBoxLayout||jQuery.support.newFlexBoxLayout||jQuery.support.ie10FlexBoxLayout){jQuery.support.hasFlexBoxSupport=true;}else{jQuery.support.hasFlexBoxSupport=false;}var F=function(s){this.mSettings=s||{};this.sMode=this.mSettings.mode||F.Mode.ALLOW;this.fnCallback=this.mSettings.callback;this.iTimeout=this.mSettings.timeout||10000;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 d=this;this.iTimer=setTimeout(function(){d._callback(false);},this.iTimeout);var H=function(){d._handlePostMessage.apply(d,arguments);};F.__window.addEventListener('message',H);if(F.__parent===F.__self||F.__parent==null||this.sMode===F.Mode.ALLOW){this._applyState(true,true);}else{this._lock();if(this.sMode===F.Mode.DENY){this._callback(false);return;}if(this.bAllowSameOrigin){try{var o=F.__parent;var O=false;var T=true;do{var i=o.document.domain;if(o==F.__top){if(i!=undefined){O=true;}break;}o=o.parent;}while(T);if(O){this._applyState(true,true);}}catch(e){this._sendRequireMessage();}}else{this._sendRequireMessage();}}};F.Mode={TRUSTED:'trusted',ALLOW:'allow',DENY:'deny'};F.__window=window;F.__parent=parent;F.__self=self;F.__top=top;F._events=["mousedown","mouseup","click","dblclick","mouseover","mouseout","touchstart","touchend","touchmove","touchcancel","keydown","keypress","keyup"];F.prototype.match=function(s,d){if(!(/\*/i.test(d))){return s==d;}else{d=d.replace(/\//gi,"\\/");d=d.replace(/\./gi,"\\.");d=d.replace(/\*/gi,".*");d=d.replace(/:\.\*$/gi,":\\d*");if(d.substr(d.length-1,1)!=='$'){d=d+'$';}if(d.substr(0,1)!=='^'){d='^'+d;}var r=new RegExp(d,'i');return r.test(s);}};F._lockHandler=function(o){o.stopPropagation();o.preventDefault();};F.prototype._createBlockLayer=function(){if(document.readyState=="complete"){var l=document.createElement("div");l.style.position="absolute";l.style.top="0px";l.style.bottom="0px";l.style.left="0px";l.style.right="0px";l.style.opacity="0";l.style.backgroundColor="white";l.style.zIndex=2147483647;document.body.appendChild(l);this._lockDiv=l;}};F.prototype._setCursor=function(){if(this._lockDiv){this._lockDiv.style.cursor=this.sStatus=="denied"?"not-allowed":"wait";}};F.prototype._lock=function(){var d=this;if(this.bBlockEvents){for(var i=0;i<F._events.length;i++){document.addEventListener(F._events[i],F._lockHandler,true);}}if(this.bShowBlockLayer){this._blockLayer=function(){d._createBlockLayer();d._setCursor();};if(document.readyState=="complete"){this._blockLayer();}else{document.addEventListener("readystatechange",this._blockLayer);}}};F.prototype._unlock=function(){if(this.bBlockEvents){for(var i=0;i<F._events.length;i++){document.removeEventListener(F._events[i],F._lockHandler,true);}}if(this.bShowBlockLayer){document.removeEventListener("readystatechange",this._blockLayer);if(this._lockDiv){document.body.removeChild(this._lockDiv);delete this._lockDiv;}}};F.prototype._callback=function(s){this.sStatus=s?"allowed":"denied";this._setCursor();clearTimeout(this.iTimer);if(typeof this.fnCallback==='function'){this.fnCallback.call(null,s);}};F.prototype._applyState=function(i,d){if(this.bUnlocked){return;}if(i){this.bRunnable=true;}if(d){this.bParentUnlocked=true;}if(!this.bRunnable||!this.bParentUnlocked){return;}this._unlock();this._callback(true);this._notifyChildFrames();this.bUnlocked=true;};F.prototype._applyTrusted=function(T){if(T){this._applyState(true,false);}else{this._callback(false);}};F.prototype._check=function(d){if(this.bRunnable){return;}var T=false;if(this.bAllowSameOrigin&&this.sParentOrigin&&F.__window.document.URL.indexOf(this.sParentOrigin)==0){T=true;}else if(this.mSettings.whitelist&&this.mSettings.whitelist.length!=0){var H=this.sParentOrigin.split('//')[1];H=H.split(':')[0];for(var i=0;i<this.mSettings.whitelist.length;i++){var m=H.indexOf(this.mSettings.whitelist[i]);if(m!=-1&&H.substring(m)==this.mSettings.whitelist[i]){T=true;break;}}}if(T){this._applyTrusted(T);}else if(this.mSettings.whitelistService){var j=this;var l=new XMLHttpRequest();var n=this.mSettings.whitelistService+'?parentOrigin='+encodeURIComponent(this.sParentOrigin);l.onreadystatechange=function(){if(l.readyState==4){j._handleXmlHttpResponse(l,d);}};l.open('GET',n,true);l.setRequestHeader('Accept','application/json');l.send();}else{this._callback(false);}};F.prototype._handleXmlHttpResponse=function(d,i){if(d.status===200){var T=false;var r=d.responseText;var R=JSON.parse(r);if(R.active==false){this._applyState(true,true);}else if(i){return;}else{if(this.match(this.sParentOrigin,R.origin)){T=R.framing;}this._applyTrusted(T);}}else{jQuery.sap.log.warning("The configured whitelist service is not available: "+d.status);this._callback(false);}};F.prototype._notifyChildFrames=function(){for(var i=0;i<this.aFPChilds.length;i++){this.aFPChilds[i].postMessage('SAPFrameProtection*parent-unlocked','*');}};F.prototype._sendRequireMessage=function(){F.__parent.postMessage('SAPFrameProtection*require-origin','*');if(this.mSettings.whitelistService){setTimeout(function(){if(!this.bParentResponded){this._check(true);}}.bind(this),10);}};F.prototype._handlePostMessage=function(o){var s=o.source,d=o.data;if(s===F.__self||s==null||typeof d!=="string"||d.indexOf("SAPFrameProtection*")===-1){return;}if(s===F.__parent){this.bParentResponded=true;if(!this.sParentOrigin){this.sParentOrigin=o.origin;this._check();}if(d=="SAPFrameProtection*parent-unlocked"){this._applyState(false,true);}}else if(s.parent===F.__self&&d=="SAPFrameProtection*require-origin"&&this.bUnlocked){s.postMessage("SAPFrameProtection*parent-unlocked","*");}else{s.postMessage("SAPFrameProtection*parent-origin","*");this.aFPChilds.push(s);}};jQuery.sap.FrameOptions=F;}());
  jQuery.sap.globalEval=function(){eval(arguments[0]);};
  