function org_kie_workbench_common_stunner_sw_KogitoSWEditor(){var O='bootstrap',P='begin',Q='gwt.codesvr.org.kie.workbench.common.stunner.sw.KogitoSWEditor=',R='gwt.codesvr=',S='org.kie.workbench.common.stunner.sw.KogitoSWEditor',T='startup',U='DUMMY',V=0,W=1,X='iframe',Y='position:absolute; width:0; height:0; border:none; left: -1000px;',Z=' top: -1000px;',$='CSS1Compat',_='<!doctype html>',ab='',bb='<html><head><\/head><body><\/body><\/html>',cb='undefined',db='readystatechange',eb=10,fb='Chrome',gb='eval("',hb='");',ib='script',jb='javascript',kb='moduleStartup',lb='moduleRequested',mb='org_kie_workbench_common_stunner_sw_KogitoSWEditor',nb='Failed to load ',ob='head',pb='meta',qb='name',rb='org.kie.workbench.common.stunner.sw.KogitoSWEditor::',sb='::',tb='gwt:property',ub='content',vb='=',wb='gwt:onPropertyErrorFn',xb='Bad handler "',yb='" for "gwt:onPropertyErrorFn"',zb='gwt:onLoadErrorFn',Ab='" for "gwt:onLoadErrorFn"',Bb='#',Cb='?',Db='/',Eb='img',Fb='clear.cache.gif',Gb='baseUrl',Hb='org.kie.workbench.common.stunner.sw.KogitoSWEditor.nocache.js',Ib='base',Jb='//',Kb='selectingPermutation',Lb='org.kie.workbench.common.stunner.sw.KogitoSWEditor.devmode.js',Mb='BF82CFD5EBDC803D94F7F90E757DB124',Nb=':',Ob='.cache.js',Pb='link',Qb='rel',Rb='stylesheet',Sb='href',Tb='loadExternalRefs',Ub='jquery-ui/jquery-ui.min.css',Vb='bootstrap-daterangepicker/daterangepicker.css',Wb='bootstrap-select/css/bootstrap-select.min.css',Xb='uberfire-patternfly.css',Yb='css/patternfly.min.css',Zb='css/patternfly-additions.min.css',$b='css/bootstrap-switch-3.3.2.min.cache.css',_b='css/animate-3.5.2.min.cache.css',ac='css/bootstrap-notify-custom.min.cache.css',bc='css/bootstrap-datepicker3-1.6.4.min.cache.css',cc='css/card-1.0.1.cache.css',dc='end',ec='http:',fc='file:',gc='_gwt_dummy_',hc='__gwtDevModeHook:org.kie.workbench.common.stunner.sw.KogitoSWEditor',ic='Ignoring non-whitelisted Dev Mode URL: ',jc=':moduleBase';var o=window;var p=document;r(O,P);function q(){var a=o.location.search;return a.indexOf(Q)!=-1||a.indexOf(R)!=-1}
function r(a,b){if(o.__gwtStatsEvent){o.__gwtStatsEvent({moduleName:S,sessionId:o.__gwtStatsSessionId,subSystem:T,evtGroup:a,millis:(new Date).getTime(),type:b})}}
org_kie_workbench_common_stunner_sw_KogitoSWEditor.__sendStats=r;org_kie_workbench_common_stunner_sw_KogitoSWEditor.__moduleName=S;org_kie_workbench_common_stunner_sw_KogitoSWEditor.__errFn=null;org_kie_workbench_common_stunner_sw_KogitoSWEditor.__moduleBase=U;org_kie_workbench_common_stunner_sw_KogitoSWEditor.__softPermutationId=V;org_kie_workbench_common_stunner_sw_KogitoSWEditor.__computePropValue=null;org_kie_workbench_common_stunner_sw_KogitoSWEditor.__getPropMap=null;org_kie_workbench_common_stunner_sw_KogitoSWEditor.__installRunAsyncCode=function(){};org_kie_workbench_common_stunner_sw_KogitoSWEditor.__gwtStartLoadingFragment=function(){return null};org_kie_workbench_common_stunner_sw_KogitoSWEditor.__gwt_isKnownPropertyValue=function(){return false};org_kie_workbench_common_stunner_sw_KogitoSWEditor.__gwt_getMetaProperty=function(){return null};var s=null;var t=o.__gwt_activeModules=o.__gwt_activeModules||{};t[S]={moduleName:S};org_kie_workbench_common_stunner_sw_KogitoSWEditor.__moduleStartupDone=function(e){var f=t[S].bindings;t[S].bindings=function(){var a=f?f():{};var b=e[org_kie_workbench_common_stunner_sw_KogitoSWEditor.__softPermutationId];for(var c=V;c<b.length;c++){var d=b[c];a[d[V]]=d[W]}return a}};var u;function v(){w();return u}
function w(){if(u){return}var a=p.createElement(X);a.id=S;a.style.cssText=Y+Z;a.tabIndex=-1;p.body.appendChild(a);u=a.contentWindow.document;u.open();var b=document.compatMode==$?_:ab;u.write(b+bb);u.close()}
function A(k){function l(a){function b(){if(typeof p.readyState==cb){return typeof p.body!=cb&&p.body!=null}return /loaded|complete/.test(p.readyState)}
var c=b();if(c){a();return}function d(){if(!c){if(!b()){return}c=true;a();if(p.removeEventListener){p.removeEventListener(db,d,false)}if(e){clearInterval(e)}}}
if(p.addEventListener){p.addEventListener(db,d,false)}var e=setInterval(function(){d()},eb)}
function m(c){function d(a,b){a.removeChild(b)}
var e=v();var f=e.body;var g;if(navigator.userAgent.indexOf(fb)>-1&&window.JSON){var h=e.createDocumentFragment();h.appendChild(e.createTextNode(gb));for(var i=V;i<c.length;i++){var j=window.JSON.stringify(c[i]);h.appendChild(e.createTextNode(j.substring(W,j.length-W)))}h.appendChild(e.createTextNode(hb));g=e.createElement(ib);g.language=jb;g.appendChild(h);f.appendChild(g);d(f,g)}else{for(var i=V;i<c.length;i++){g=e.createElement(ib);g.language=jb;g.text=c[i];f.appendChild(g);d(f,g)}}}
org_kie_workbench_common_stunner_sw_KogitoSWEditor.onScriptDownloaded=function(a){l(function(){m(a)})};r(kb,lb);var n=p.createElement(ib);n.src=k;if(org_kie_workbench_common_stunner_sw_KogitoSWEditor.__errFn){n.onerror=function(){org_kie_workbench_common_stunner_sw_KogitoSWEditor.__errFn(mb,new Error(nb+code))}}p.getElementsByTagName(ob)[V].appendChild(n)}
org_kie_workbench_common_stunner_sw_KogitoSWEditor.__startLoadingFragment=function(a){return D(a)};org_kie_workbench_common_stunner_sw_KogitoSWEditor.__installRunAsyncCode=function(a){var b=v();var c=b.body;var d=b.createElement(ib);d.language=jb;d.text=a;c.appendChild(d);c.removeChild(d)};function B(){var c={};var d;var e;var f=p.getElementsByTagName(pb);for(var g=V,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(qb),k;if(j){j=j.replace(rb,ab);if(j.indexOf(sb)>=V){continue}if(j==tb){k=i.getAttribute(ub);if(k){var l,m=k.indexOf(vb);if(m>=V){j=k.substring(V,m);l=k.substring(m+W)}else{j=k;l=ab}c[j]=l}}else if(j==wb){k=i.getAttribute(ub);if(k){try{d=eval(k)}catch(a){alert(xb+k+yb)}}}else if(j==zb){k=i.getAttribute(ub);if(k){try{e=eval(k)}catch(a){alert(xb+k+Ab)}}}}}__gwt_getMetaProperty=function(a){var b=c[a];return b==null?null:b};s=d;org_kie_workbench_common_stunner_sw_KogitoSWEditor.__errFn=e}
function C(){function e(a){var b=a.lastIndexOf(Bb);if(b==-1){b=a.length}var c=a.indexOf(Cb);if(c==-1){c=a.length}var d=a.lastIndexOf(Db,Math.min(c,b));return d>=V?a.substring(V,d+W):ab}
function f(a){if(a.match(/^\w+:\/\//)){}else{var b=p.createElement(Eb);b.src=a+Fb;a=e(b.src)}return a}
function g(){var a=__gwt_getMetaProperty(Gb);if(a!=null){return a}return ab}
function h(){var a=p.getElementsByTagName(ib);for(var b=V;b<a.length;++b){if(a[b].src.indexOf(Hb)!=-1){return e(a[b].src)}}return ab}
function i(){var a=p.getElementsByTagName(Ib);if(a.length>V){return a[a.length-W].href}return ab}
function j(){var a=p.location;return a.href==a.protocol+Jb+a.host+a.pathname+a.search+a.hash}
var k=g();if(k==ab){k=h()}if(k==ab){k=i()}if(k==ab&&j()){k=e(p.location.href)}k=f(k);return k}
function D(a){if(a.match(/^\//)){return a}if(a.match(/^[a-zA-Z]+:\/\//)){return a}return org_kie_workbench_common_stunner_sw_KogitoSWEditor.__moduleBase+a}
function F(){var f=[];var g=V;var h=[];var i=[];function j(a){var b=i[a](),c=h[a];if(b in c){return b}var d=[];for(var e in c){d[c[e]]=e}if(s){s(a,d,b)}throw null}
__gwt_isKnownPropertyValue=function(a,b){return b in h[a]};org_kie_workbench_common_stunner_sw_KogitoSWEditor.__getPropMap=function(){var a={};for(var b in h){if(h.hasOwnProperty(b)){a[b]=j(b)}}return a};org_kie_workbench_common_stunner_sw_KogitoSWEditor.__computePropValue=j;o.__gwt_activeModules[S].bindings=org_kie_workbench_common_stunner_sw_KogitoSWEditor.__getPropMap;r(O,Kb);if(q()){return D(Lb)}var k;try{k=Mb;var l=k.indexOf(Nb);if(l!=-1){g=parseInt(k.substring(l+W),eb);k=k.substring(V,l)}}catch(a){}org_kie_workbench_common_stunner_sw_KogitoSWEditor.__softPermutationId=g;return D(k+Ob)}
function G(){if(!o.__gwt_stylesLoaded){o.__gwt_stylesLoaded={}}function c(a){if(!__gwt_stylesLoaded[a]){var b=p.createElement(Pb);b.setAttribute(Qb,Rb);b.setAttribute(Sb,D(a));p.getElementsByTagName(ob)[V].appendChild(b);__gwt_stylesLoaded[a]=true}}
r(Tb,P);c(Ub);c(Vb);c(Wb);c(Xb);c(Yb);c(Zb);c($b);c(_b);c(ac);c(bc);c(cc);r(Tb,dc)}
B();org_kie_workbench_common_stunner_sw_KogitoSWEditor.__moduleBase=C();t[S].moduleBase=org_kie_workbench_common_stunner_sw_KogitoSWEditor.__moduleBase;var H=F();if(o){var I=!!(o.location.protocol==ec||o.location.protocol==fc);o.__gwt_activeModules[S].canRedirect=I;function J(){var b=gc;try{o.sessionStorage.setItem(b,b);o.sessionStorage.removeItem(b);return true}catch(a){return false}}
if(I&&J()){var K=hc;var L=o.sessionStorage[K];if(!/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?\/.*$/.test(L)){if(L&&(window.console&&console.log)){console.log(ic+L)}L=ab}if(L&&!o[K]){o[K]=true;o[K+jc]=C();var M=p.createElement(ib);M.src=L;var N=p.getElementsByTagName(ob)[V];N.insertBefore(M,N.firstElementChild||N.children[V]);return false}}}G();r(O,dc);A(H);return true}
org_kie_workbench_common_stunner_sw_KogitoSWEditor.succeeded=org_kie_workbench_common_stunner_sw_KogitoSWEditor();