var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(h,n,p){if(h==Array.prototype||h==Object.prototype)return h;h[n]=p.value;return h};
$jscomp.getGlobal=function(h){h=["object"==typeof globalThis&&globalThis,h,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<h.length;++n){var p=h[n];if(p&&p.Math==Math)return p}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};
$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(h,n){var p=$jscomp.propertyToPolyfillSymbol[n];if(null==p)return h[n];p=h[p];return void 0!==p?p:h[n]};$jscomp.polyfill=function(h,n,p,x){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(h,n,p,x):$jscomp.polyfillUnisolated(h,n,p,x))};
$jscomp.polyfillUnisolated=function(h,n,p,x){p=$jscomp.global;h=h.split(".");for(x=0;x<h.length-1;x++){var u=h[x];if(!(u in p))return;p=p[u]}h=h[h.length-1];x=p[h];n=n(x);n!=x&&null!=n&&$jscomp.defineProperty(p,h,{configurable:!0,writable:!0,value:n})};
$jscomp.polyfillIsolated=function(h,n,p,x){var u=h.split(".");h=1===u.length;x=u[0];x=!h&&x in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var O=0;O<u.length-1;O++){var b=u[O];if(!(b in x))return;x=x[b]}u=u[u.length-1];p=$jscomp.IS_SYMBOL_NATIVE&&"es6"===p?x[u]:null;n=n(p);null!=n&&(h?$jscomp.defineProperty($jscomp.polyfills,u,{configurable:!0,writable:!0,value:n}):n!==p&&(void 0===$jscomp.propertyToPolyfillSymbol[u]&&(p=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[u]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(u):$jscomp.POLYFILL_PREFIX+p+"$"+u),$jscomp.defineProperty(x,$jscomp.propertyToPolyfillSymbol[u],{configurable:!0,writable:!0,value:n})))};
$jscomp.polyfill("String.prototype.replaceAll",function(h){return h?h:function(n,p){if(n instanceof RegExp&&!n.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return n instanceof RegExp?this.replace(n,p):this.replace(new RegExp(String(n).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),p)}},"es_2021","es3");
(function(){function h(k){var q,v,r,D,F,J,N,g,y,w,e,z=!0,l=!1,B=!1,C,t,E="icon_nodata",G="12px";this.setShowErrorDetailListener=function(a){C=a};this.setIsQingreportDsbComponent=function(a){B=a};this.setIsDsbComponent=function(a){l=a};this.show=function(a,f,m){q?W(a,f,m):S(a,f,m)};this.setShowDetail=function(a){z=a};this.getShowOperate=function(){return e};this.setBackgroundIcon=function(a){E=a};this.setFontSize=function(a){G=a};var S=function(a,f,m){q=$("<div>");q.text("loading...");q.appendTo(k);
T.setCallback(function(){ia();W(a,f,m)});T.loadSkinCss("scene","common-square-exhibition")},ia=function(){q.empty();q.addClass("carderror-errorprompt");!l&&q.css("top","22px");v=$("<div>");v.css({position:"absolute",margin:"0px auto",width:"100%",height:"100%"});v.appendTo(q);var a=$("<iframe>");a.addClass("carderror-errorprompt-size-listener");a.appendTo(q);a[0].contentWindow&&a[0].contentWindow.addEventListener("resize",function(){X()});r=$("<div>");r.addClass("carderror-errorprompt-img");u.Icons.background(r,
E);r.appendTo(v);J=$("<div>");J.addClass("carderror-errorprompt-errorinfo");J.appendTo(v);D=$("<span>");D.addClass("carderror-errorprompt-text");D.css("font-size",G);D.appendTo(J);F=$("<span>");F.addClass("carderror-errorprompt-error-btn");F.text(b.get("showErrorLog","\u663e\u793a\u9519\u8bef\u65e5\u5fd7"));F.appendTo(J)},W=function(a,f,m){var d;if(2101001==a){e=d=!1;var c=b.get("themeIsDeleted","\u5bf9\u5e94\u4e3b\u9898\u4e0d\u5b58\u5728\u6216\u5df2\u88ab\u5220\u9664")}else if(2101002==a||2101003==
a||2101004==a||2101005==a)e=d=!1,c=b.get("themeHasNoData","\u5bf9\u5e94\u4e3b\u9898\u6ca1\u6709\u5b9a\u4e49\u6570\u636e");else if(2103001==a||2103002==a)e=d=!1,c=b.get("componentSourceHasNotFound","\u8be5\u7ec4\u4ef6\u6765\u6e90\u5df2\u88ab\u53d1\u5e03\u8005\u5220\u9664");else if(2101016==a)e=d=!1,c=b.get("subjectEntityMySQLMoreThan61Table","\u5f53\u524d\u5b9e\u4f53\u5173\u8054\u6570\u636e\u8868\u592a\u591a\uff0c\u8bf7\u51cf\u5c11\u5b9e\u4f53\u7684\u5206\u6790\u5b57\u6bb5\u6216\u5220\u9664\u4e0d\u9700\u8981\u7684\u5b9e\u4f53\u5206\u5f55\u3002");
else if(2101009==a)d=!0,e=!1,c=b.get("subjectDataSourceError","\u6570\u636e\u6e90\u53d1\u751f\u5f02\u5e38");else if(2101010==a)e=d=!1,c=b.get("qingStorageFileSizeLimit","\u8f7b\u5b58\u50a8\u7a7a\u95f4\u4e0d\u8db3");else if(2100001==a)e=d=!1,c=b.get("qingStorageNoSpace","\u78c1\u76d8\u7a7a\u95f4\u4e0d\u8db3\uff0c\u8bf7\u8054\u7cfb\u8fd0\u7ef4\u4eba\u5458\u6dfb\u52a0\u78c1\u76d8");else if(2101011==a)d=!0,e=!1,c=b.get("subjectDBDataSourceError","\u6570\u636e\u6e90\u5bf9\u5e94\u7684\u6570\u636e\u5e93\u8fde\u63a5\u5f02\u5e38");
else if(2101012==a)c=b.get("noDBCenterPermission","\u6ca1\u6709\u6570\u636e\u4e2d\u5fc3\u6743\u9650\uff0c\u8bf7\u5148\u8054\u7cfb\u7ba1\u7406\u5458\u5206\u914d\u6743\u9650");else if(2101023==a)c=b.get("noSuperQueryAuth","\u6ca1\u6709\u5f53\u524d\u8d85\u7ea7\u67e5\u8be2\u6a21\u5f0f\u7684\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u7ba1\u7406\u5458\u5206\u914d\u6743\u9650");else if(2101013==a||2101014==a)c=b.get("entityDestroyed","\u5bf9\u5e94\u4e3b\u9898\u7684\u6570\u636e\u8868\u88ab\u635f\u574f");else if(2101015==
a)c=b.get("noDBCenterOwnerPermission","\u53d1\u5e03\u4eba\u201c#1\u201d\u6ca1\u6709\u6570\u636e\u4e2d\u5fc3\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",f);else if(2101021==a)c=b.get("notExistTable","\u65e0\u6cd5\u5728\u6a21\u5f0f\u201c#1\u201d\u4e2d\u627e\u5230\u8be5\u5b9e\u4f53\u6570\u636e\u8868").replaceAll("#1",f);else if(2101022==a)c=b.get("noSuperQueryPerm","\u53d1\u5e03\u4eba\u201c#1\u201d\u6ca1\u6709\u8d85\u7ea7\u67e5\u8be2\u76f8\u5173\u6a21\u5f0f\u7684\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",
f);else if(2101024==a)c=b.get("ownerNotExistTable","\u6570\u636e\u6e90\u5f02\u5e38\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6570\u636e\u6e90");else if(2101025==a)c=b.get("prepareDataReject","\u8be5\u5361\u7247\u5bf9\u5e94\u7684\u4e1a\u52a1\u4e3b\u9898\u56e0\u5b58\u5728\u6162\u67e5\u8be2\uff0c\u5df2\u88ab\u4e34\u65f6\u7981\u7528\u3002\u8bf7\u8054\u7cfb\u201c#1\u201d\u5904\u7406\u3002").replace("#1",f);else if(2215011==a)c=b.get("noDmoPermission","\u6ca1\u6709\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u6743\u9650\uff0c\u8bf7\u5148\u8054\u7cfb\u7ba1\u7406\u5458\u5206\u914d\u6743\u9650");
else if(2215012==a)c=b.get("noDmoOwnerPermission","\u53d1\u5e03\u4eba\u201c#1\u201d\u6ca1\u6709\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",f);else if(2215020==a)c=b.get("dmoPermission","\u6ca1\u6709\u6570\u636e\u5f00\u53d1\u5e73\u53f0#1\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",f);else if(2301001==a)e=d=!1,c=l||B?b.get("componentSourceHasNotFound","\u8be5\u7ec4\u4ef6\u6765\u6e90\u5df2\u88ab\u53d1\u5e03\u8005\u5220\u9664"):
b.get("cardHasNotFound","\u8be5\u5361\u7247\u5df2\u88ab\u53d1\u5e03\u8005\u5220\u9664");else if(2301005==a)e=d=!1,c=l?b.get("componentSourceNoAuthority","\u6ca1\u6709\u8be5\u7ec4\u4ef6\u6765\u6e90\u7684\u67e5\u770b\u6743\u9650"):B?b.get("extreportCardNoAuthority","\u6ca1\u6709\u8be5\u8f7b\u62a5\u8868\u7684\u67e5\u770b\u6743\u9650"):b.get("cardNoAuthority","\u6ca1\u6709\u8be5\u5361\u7247\u7684\u67e5\u770b\u6743\u9650");else if(2105E3==a)e=d=!1,c=b.get("cardHasNotFound","\u8be5\u5361\u7247\u5df2\u88ab\u5220\u9664");
else if(2201003==a)e=d=!1,c=b.get("cardNoDefaultSchema","\u8be5\u5361\u7247\u6ca1\u6709\u5b9a\u4e49\u9ed8\u8ba4\u65b9\u6848");else if(909001==a)e=d=!1,c=b.get("unsupportedDsbRefSource","\u5f53\u524d\u7cfb\u7edf\u4e0d\u652f\u6301\u8be5\u7ec4\u4ef6\u6765\u6e90");else if(3010002==a)e=d=!1,c=b.get("illegalLicense","\u5f53\u524d\u7cfb\u7edf\u6ca1\u6709\u3010\u8f7b\u5206\u6790\u3011\u6a21\u5757\u7684\u4f7f\u7528\u8bb8\u53ef\uff0c\u8bf7\u4e0e\u7cfb\u7edf\u7ba1\u7406\u5458\u8054\u7cfb\u3002");else if(3010003==
a)e=d=!1,c=b.get("noQingModulePermission","\u60a8\u6240\u4f7f\u7528\u7684\u8d26\u6237\u6ca1\u6709\u88ab\u5206\u914d\u3010\u8f7b\u5206\u6790\u3011\u6a21\u5757\u7684\u4f7f\u7528\u8bb8\u53ef\uff0c\u8bf7\u4e0e\u7cfb\u7edf\u7ba1\u7406\u5458\u8054\u7cfb\u3002");else if(3010004==a)e=d=!1,c=b.get("replicatedLogin","\u60a8\u7684\u8d26\u53f7\u5728\u5176\u4ed6\u5730\u65b9\u767b\u5f55\uff0c\u8bf7\u91cd\u65b0\u767b\u5f55\u5f53\u524d\u7cfb\u7edf\u3002");else if(3010005==a)e=d=!1,c=b.get("illegalQingReportLicense",
"\u5f53\u524d\u7cfb\u7edf\u6ca1\u6709\u3010\u8f7b\u62a5\u8868\u3011\u6a21\u5757\u7684\u4f7f\u7528\u8bb8\u53ef\uff0c\u8bf7\u4e0e\u7cfb\u7edf\u7ba1\u7406\u5458\u8054\u7cfb\u3002");else if(3010006==a)e=d=!1,c=b.get("noQingReportModulePermission","\u60a8\u6240\u4f7f\u7528\u7684\u8d26\u6237\u6ca1\u6709\u88ab\u5206\u914d\u3010\u8f7b\u62a5\u8868\u3011\u6a21\u5757\u7684\u4f7f\u7528\u8bb8\u53ef\uff0c\u8bf7\u4e0e\u7cfb\u7edf\u7ba1\u7406\u5458\u8054\u7cfb\u3002");else if(3099002==a)e=d=!1,c=b.get("qingRuntimeException",
"\u7a0b\u5e8f\u53d1\u751f\u9519\u8bef");else if(3001002==a)e=d=!0,c=b.get("qingRuntimeException","\u7a0b\u5e8f\u53d1\u751f\u9519\u8bef");else if(1030001==a)e=d=!1,c=f;else if("unsetCardSource"==a)e=d=!1,c=b.get("unsetCardSource","\u8bf7\u9009\u62e9\u5361\u7247\u6765\u6e90");else if(8099001==a)e=d=!1,c=b.get("extreportNotFound","\u8be5\u62a5\u8868\u4e0d\u5b58\u5728\u6216\u5df2\u88ab\u5220\u9664");else if(21000008==a)e=d=!1,c=b.get("noQingModelerLicense","\u5f53\u524d\u7cfb\u7edf\u6ca1\u6709\u3010\u8f7b\u5efa\u6a21\u3011\u6a21\u5757\u7684\u4f7f\u7528\u8bb8\u53ef\uff0c\u8bf7\u4e0e\u7cfb\u7edf\u7ba1\u7406\u5458\u8054\u7cfb");
else if(2101006==a)e=!1,(c=f.match(/(\(|\uff08)([^(\)|\uff09)]+)(\)|\uff09)/))&&(f=c[2]),t=$("<p>"),t.addClass("carderror-errorprompt-support-qing-text"),t.html(f.replace(/,/g,b.get("semicolon","\uff1b")+"<br>")),l?(d=!0,c=b.get("haveNotGetDataEntityAuthority","\u5c1a\u672a\u83b7\u5f97\u5b9e\u4f53\u6570\u636e\u8868\u7684\u67e5\u770b\u6743\u9650"),F.text(b.get("viewDetails","\u67e5\u770b\u8be6\u60c5"))):(d=!1,c=b.get("noAuthorityForTheseEntities","\u5c1a\u672a\u83b7\u5f97\u4ee5\u4e0b\u5b9e\u4f53\u6570\u636e\u8868\u7684\u67e5\u770b\u6743\u9650\uff1a")),
D.text(c),!d&&D.append(t);else if(2101018==a){e=!1;d=U.getSupportQingAnalysisUrl();(c=/(?:\u3010\s)(.+)(?=\s\u3011)/.exec(f))&&(f=c[1]);var I=$("<a onclick='javascript:window.open(\""+d+"\");' href='#'>");I.css({cursor:"pointer",color:"#5582f3"});I.text(b.get("viewDocument","\u67e5\u770b\u5e2e\u52a9\u6587\u6863"));t=$("<p>");t.addClass("carderror-errorprompt-support-qing-text");t.html(f.replace(/,/g,b.get("semicolon","\uff1b")+"<br>"));l?(d=!0,c=b.get("entityNotSupportQingAnalysis","\u4e1a\u52a1\u5b9e\u4f53\u672a\u5f00\u542f\u201c\u652f\u6301\u8f7b\u5206\u6790\u201d\u8bbe\u7f6e\u9879\uff0c\u8bf7\u5728\u5f00\u53d1\u5e73\u53f0\u7684\u5bf9\u5e94\u8868\u5355\u4e2d\u8fdb\u884c\u8bbe\u7f6e  "),
F.text(b.get("viewDetails","\u67e5\u770b\u8be6\u60c5"))):(d=!1,c=b.get("notSupportQingAnalysisTip","\u4ee5\u4e0b\u4e1a\u52a1\u5b9e\u4f53\u5c1a\u672a\u5f00\u542f\u201c\u652f\u6301\u8f7b\u5206\u6790\u201d\u8bbe\u7f6e\u9879\uff0c\u8bf7\u5728\u5f00\u53d1\u5e73\u53f0\u7684\u5bf9\u5e94\u8868\u5355\u4e2d\u8fdb\u884c\u8bbe\u7f6e  "),q.css("overflow-y","auto"),J.css("max-height","unset"));D.text(c);D.append(I);!d&&D.append(t)}else 4040002==a||4040003==a||4040004==a?(e=d=!0,c=b.get("serverBusy","\u5f53\u524d\u670d\u52a1\u5668\u7e41\u5fd9\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5\u3002")):
4100001==a?(e=d=!0,c=b.get("extractDataFail","\u51c6\u5907\u6570\u636e\u5931\u8d25")):(e=d=!0,c=a+"",c=0==c.indexOf("21")&&7==c.length?b.get("extractDataFail","\u51c6\u5907\u6570\u636e\u5931\u8d25"):0==c.indexOf("30")&&6==c.length?b.get("extractDataFail","\u51c6\u5907\u6570\u636e\u5931\u8d25"):0==c.indexOf("40")&&6==c.length?b.get("executeFail","\u56fe\u8868\u6267\u884c\u5931\u8d25"):b.get("unknownException","\u53d1\u751f\u4e86\u672a\u77e5\u9519\u8bef"));d&&z?(F.show(),F.on("click",function(K){ja(a,
f,m)})):F.hide();2101018!=a&&2101006!=a&&D.text(c);setTimeout(X,500)},X=function(){var a=q.height()-2;q.width();if(0!=a){var f=J.height()+10,m=a-f;70>m?(r.hide(),m=0):(r.show(),200<m&&(m=200),r.css("height",m+"px"));J.css("min-height","unset");v.css({"margin-top":-Math.floor((m+f)/2)+"px",top:"50%",height:m+f+"px"});0>a-f&&(q.css("overflow-y","auto"),q.css("overflow-x","auto"))}},ja=function(a,f,m){if(2101006==a){var d=new Y($(document.body));d.setSize(440,330);d.setTitle(b.get("permissionTitle",
"\u6743\u9650\u63d0\u793a"));d.showDialog(Z(b.get("noAuthorityForTheseEntities","\u5c1a\u672a\u83b7\u5f97\u4ee5\u4e0b\u5b9e\u4f53\u6570\u636e\u8868\u7684\u67e5\u770b\u6743\u9650\uff1a"),t),!0)}else if(2101018==a)d=new Y($(document.body)),d.setSize(440,330),d.setTitle(b.get("DetailInfo","\u8be6\u7ec6\u4fe1\u606f")),d.showDialog(Z(b.get("notSupportQingAnalysis","\u4ee5\u4e0b\u4e1a\u52a1\u5b9e\u4f53\u5c1a\u672a\u5f00\u542f\u201c\u652f\u6301\u8f7b\u5206\u6790\u201d\u8bbe\u7f6e\u9879\uff1a"),t),!0);else if(C)C(a,
f,m);else{if(!N){N=$("<div>");N.addClass("carderror-errorprompt-logdetail-container");d=$("<div>");d.addClass("carderror-errorprompt-logdetail-container-title");var c=$("<div>");c.addClass("carderror-errorprompt-logdetail-titiletag");var I=$("<div>");I.addClass("carderror-errorprompt-logdetail-title-lable");I.text(b.get("errorLog","\u9519\u8bef\u65e5\u5fd7"));var K=$("<div>");K.addClass("carderror-errorprompt-logdetail-close");u.Icons.background(K,"icon_errorclose");K.on("click",ka);d.append(c);d.append(I);
d.append(K);y=$("<div>");y.css("padding","10px");y.text(b.get("errorCode","\u9519\u8bef\u7801\uff1a")+a);w=$("<pre>");w.addClass("carderror-errorprompt-logdetail-content-container-text");w.text("\u9519\u8bef\u4fe1\u606f\uff1a"+f+(null!=m?"\r\n\u9519\u8bef\u6808\uff1a"+m:""));var H=$("<div>");H.addClass("carderror-errorprompt-logdetail-content-container");var L=$("<span>");L.text(b.get("copy","\u590d\u5236"));L.addClass("carderror-errorprompt-logdetail-content-copybutton");L.click(function(){var R=
la("\u9519\u8bef\u7801\uff1a"+a+"\r\n\u9519\u8bef\u4fe1\u606f\uff1a"+f+"\r\n\u9519\u8bef\u6808\uff1a"+m),A=$("<span>");A.addClass("carderror-errorprompt-logdetail-content-copybutton-end");H.append(A);R?A.text(b.get("copy success!","\u590d\u5236\u6210\u529f\uff01")):A.text(b.get("copy error!","\u590d\u5236\u5931\u8d25\uff01"));setTimeout(function(){A.remove()},1500)});H.mouseover(function(){L.css("visibility","visible")});H.mouseout(function(){L.css("visibility","hidden")});H.append(y);H.append(w);
H.append(L);N.append(d);N.append(H);g=$("<div class='sa-ctrl-common-modallayer'>");N.appendTo(g)}d=$(document.body);g.appendTo(d)}},la=function(a){var f=document.createElement("textarea");document.body.appendChild(f);f.value=a;f.select();a=document.execCommand("copy");document.body.removeChild(f);return a},Z=function(a,f){var m=$("<div>");m.addClass("carderror-errorprompt-logdetail-content");var d=$("<p>");d.addClass("carderror-errorprompt-logdetail-contenxt-texttitle");d.text(a);a=$("<p>");a.addClass("carderror-errorprompt-logdetail-contenxt-text");
a.html(f);m.append(d);m.append(a);return m},Y=function(a){var f=$("<div class='sa-ctrl-common-modallayer'>"),m=new aa(f),d=0,c=0,I=320,K=240,H=a?a:$(document.body),L,R;this.setTitle=function(A){R=A};this.setClosingListener=function(A){L=A};this.setSize=function(A,M){I=A;K=M};this.showDialog=function(A,M){f.appendTo(H);if(!d){var P=H.prop("clientWidth"),ba=H.prop("clientHeight");d=P-I>>1;c=(ba-K)/3}m.setBounds(d,c,I,K);m.setToolbarVisible(!1);m.setContent(A,M);m.setTitle(R);m.addClosingListener(function(V,
ca){if(ca)L(ca);else return V.destroy(),f.remove(),!0});m.addClosedListener(function(V){V.destroy();f.remove()});m.showFooterPane(this.createFooter);m.show()};this.setContent=function(A,M){m.setContent(A,M)};this.destroy=function(){m.destroy();f.remove()};this.createFooter=function(A){var M=new da(b.get("iknow","\u6211\u77e5\u9053\u4e86"));M.setHighlight(!0);var P=M.getJqUi();ea.layoutCtrlWithLRTB(P,"50%",0,100,null,13,28);P.addClass("dialog-footer-close");P.css("margin-left","-50px");P.appendTo(A);
M.addActionListener(function(ba){m.destroy();f.remove()})}},ka=function(){g&&g.detach()}}function n(){var k,q,v;this.setIsSquare=function(r){k=r};this.getIsSquare=function(){return k};this.setLoadSchema=function(r){q=r};this.getLoadSchema=function(){return q};this.setSaveSchema=function(r){v=r};this.getSaveSchema=function(){return v}}function p(){fa.call(this);this.protectedShowErrorImpl=function(k,q,v,r){k=new h(k);k.setIsDsbComponent(!0);k.show(q,v,r);return!0}}function x(){ha.call(this);this.protectedShowErrorImpl=
function(k,q,v,r){k=new h(k);k.setIsDsbComponent(!0);k.show(q,v,r);return!0}}"undefined"==typeof com&&(com={});"undefined"==typeof com.kingdee&&(com.kingdee={});"undefined"==typeof com.kingdee.bos&&(com.kingdee.bos={});"undefined"==typeof com.kingdee.bos.qing&&(com.kingdee.bos.qing={});"undefined"==typeof com.kingdee.bos.qing.scene&&(com.kingdee.bos.qing.scene={});"undefined"==typeof com.kingdee.bos.qing.scene.common&&(com.kingdee.bos.qing.scene.common={});"undefined"==typeof com.kingdee.bos.qing.scene.common.square&&
(com.kingdee.bos.qing.scene.common.square={});"undefined"==typeof com.kingdee.bos.qing.scene.common.square.exhibition&&(com.kingdee.bos.qing.scene.common.square.exhibition={});var u=com.kingdee.bos.qing.scene.common.square.exhibition,O,b,T,fa,ha,Q,U,aa,da,ea;(function(){var k=com.kingdee.bos.qing.framework.common;O=k.AbstractIcons;b=k.MultilanguageManager.createPackageAccessor(com.kingdee.bos.qing.scene);U=U=k.OfficialArticleUtil;k=com.kingdee.bos.qing;T=k.CodeLoader;fa=k.DashboardSquareScene;ha=
k.DashboardLongerScene;k=com.kingdee.bos.qing.ui.component;Q=k.MessageDialog;aa=k.Dialog;da=k.Button;k=com.kingdee.bos.qing.common;ea=k.DomUtil})();u.Icons=new function(){O.call(this);var k=this.protectedMethod,q;this.setComboIconImpl=function(v){q=v};this.protectedInit=function(v,r){if(!q)throw Error("Please setComboIconImpl() first.");q.define(r,"scene-error-image-sprite");r.setStartPosition(1,1);r.setGap(1);r.setIconSize(20,20);k.registIcon(0,0,"icon_qhfInfo");k.registIcon(0,1,"icon_errorclose");
q.define(r,"errorbackground");r.setStartPosition(0,0);r.setGap(0);r.setIconSize(200,200);k.registIcon(0,0,"icon_errorbackground");q.define(r,"nodata");k.registIcon(0,1,"icon_nodata")}};u.CardErrorUi=h;u.DsbIntegrationScene=function(){var k,q,v,r,D;this.setResetSquare=function(g){r=g};this.setFacade=function(g){v=g};this.setParamPathPrefix=function(g){};this.setMessageCurtain=function(g){q=g};this.setCoreRemoteUrl=function(g){k=g};this.setDesignerSceneCreator=function(g){D=g};this.createSquareDesignerScene=
function(g){var y=new p;y.setRemoteUrl(k);g(y)};this.createLongerDesignerScene=function(g){var y=new x;y.setRemoteUrl(k);g(y)};this.loadImage=function(g,y,w){var e=g.refToId;e&&0!=$.trim(e).length?(g=v(function(z){var l=z.imageHeight;z=z.imageWidth;if(l||z){var B=com.kingdee.bos.qing.framework.common.RemoteFramework.getLoadImgUrl(e,"image-library");y(B,z,l)}else w&&w("")},function(z,l){return!1}),g.setShowBlocking(!1),g.getImageSize(e)):(g=g.widgetSourcePath,w&&w(g))};this.createSquareDesigner=function(g,
y,w,e,z,l){var B=new n;B.setIsSquare(!0);B.setLoadSchema(function(C,t){v(C,t).squareLoadSchema(w)});B.setSaveSchema(function(C,t,E){v(t,E).squareSaveSchema(w,C)});F(B,g,y,w,e,z,l,!0)};this.createLongerDesigner=function(g,y,w,e,z,l,B){var C=new n;C.setIsSquare(!1);C.setLoadSchema(function(t,E){v(t,E).longerLoadSchema(w,B)});C.setSaveSchema(function(t,E,G){v(E,G).longerSaveSchema(w,t)});F(C,g,y,w,e,z,l,!1)};var F=function(g,y,w,e,z,l,B,C){var t=D(),E=function(G){t.hide();B(G)};t.setIsSquare(g.getIsSquare());
t.setRemoteUrl(k);t.setRemoteTag(z);t.setDesignerOperationJudger(l);t.setSquareOrLonger(C);t.setClosable(w);t.setSchemaLoader(function(G,S){J(g,e,G,S,E)});t.setSchemaSaver(function(G){N(g,e,G,E)});null!=r&&t.setSchemaReseter(function(G){r(e,G,E)});t.show(y,function(){E(null)})},J=function(g,y,w,e,z){y.uid?g.getLoadSchema()(function(l){l.model?(w.setJsonModelBook(l.model),e(!0)):e(!1)},function(l,B){z();l=l.toString();return"9"==l.substr(0,1)&&6==l.length?(q&&q.showError(b.get("failToLoadSchema","\u52a0\u8f7d\u65b9\u6848\u5931\u8d25\u3002")),
!0):!1}):e(!1)},N=function(g,y,w,e){var z=w.getJsonModelBook();g.getSaveSchema()(z,function(l){e(z)},function(l,B){if(909002==l)return l=Q.createFeedbackDialog(),l.setMessage(b.get("noSelectMapTemplate","\u8bf7\u9009\u62e9\u5730\u56fe\u6a21\u677f")),l.setMsgImageType(Q.MSG_WARNING),l.setOptionType(Q.OPTION_OK),l.setButtonText(Q.OPTION_OK,b.get("iknow","\u6211\u77e5\u9053\u4e86")),l.showDialog(),!0;e();l=l.toString();return"9"==l.substr(0,1)&&6==l.length?(q&&q.showError(b.get("failToTemporarySchema",
"\u6682\u5b58\u65b9\u6848\u5931\u8d25\u3002")),!0):!1})}}})();
//qingVersionTag: 20250807