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,k){if(h==Array.prototype||h==Object.prototype)return h;h[n]=k.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 k=h[n];if(k&&k.Math==Math)return k}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 k=$jscomp.propertyToPolyfillSymbol[n];if(null==k)return h[n];k=h[k];return void 0!==k?k:h[n]};$jscomp.polyfill=function(h,n,k,e){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(h,n,k,e):$jscomp.polyfillUnisolated(h,n,k,e))};
$jscomp.polyfillUnisolated=function(h,n,k,e){k=$jscomp.global;h=h.split(".");for(e=0;e<h.length-1;e++){var p=h[e];if(!(p in k))return;k=k[p]}h=h[h.length-1];e=k[h];n=n(e);n!=e&&null!=n&&$jscomp.defineProperty(k,h,{configurable:!0,writable:!0,value:n})};
$jscomp.polyfillIsolated=function(h,n,k,e){var p=h.split(".");h=1===p.length;e=p[0];e=!h&&e in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var z=0;z<p.length-1;z++){var u=p[z];if(!(u in e))return;e=e[u]}p=p[p.length-1];k=$jscomp.IS_SYMBOL_NATIVE&&"es6"===k?e[p]:null;n=n(k);null!=n&&(h?$jscomp.defineProperty($jscomp.polyfills,p,{configurable:!0,writable:!0,value:n}):n!==k&&(void 0===$jscomp.propertyToPolyfillSymbol[p]&&(k=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[p]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(p):$jscomp.POLYFILL_PREFIX+k+"$"+p),$jscomp.defineProperty(e,$jscomp.propertyToPolyfillSymbol[p],{configurable:!0,writable:!0,value:n})))};
$jscomp.polyfill("String.prototype.replaceAll",function(h){return h?h:function(n,k){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,k):this.replace(new RegExp(String(n).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),k)}},"es_2021","es3");
(function(){function h(){var p,z,u,w,d=!1,x=!1;this.isFinshed=function(){return d};this.isMetaChanged=function(){return x};this.fromJsonObject=function(A){p=A.totalEntity;z=A.currentEntity;u=A.totalRows;w=A.dealRows;d=A.isFinished;x=A.metaChanged};this.toText=function(){if(d)return e.get("extractDataFinished","\u51c6\u5907\u6570\u636e\u5b8c\u6bd5\uff0c\u6b63\u5728\u521d\u59cb\u5316\u754c\u9762")+"...";if(!p||-1==p)return e.get("extractData","\u6b63\u5728\u51c6\u5907\u6570\u636e")+"...";var A=e.get("progressText",
"\u5171\u9700\u5904\u7406 #1 \u5f20\u6570\u636e\u8868\uff0c\u6b63\u5728\u5904\u7406\u7b2c #2 \u5f20\u3002").replace("#1",p).replace("#2",z);0<w&&0>=u?A=e.get("progressTextWithDeal","\u5171\u9700\u5904\u7406 #1 \u5f20\u6570\u636e\u8868\uff0c\u6b63\u5728\u5904\u7406\u7b2c #2 \u5f20\uff0c\u5df2\u5b8c\u6210 #3 \u884c\u3002").replace("#1",p).replace("#2",z).replace("#3",w):0<w&&0<u&&(A=e.get("progressTextWithTotal","\u5171\u9700\u5904\u7406 #1 \u5f20\u6570\u636e\u8868\uff0c\u6b63\u5728\u5904\u7406\u7b2c #2 \u5f20\uff0c\u5df2\u5b8c\u6210 #3 \u884c\uff0c\u5171 #4 \u884c\u3002").replace("#1",
p).replace("#2",z).replace("#3",w).replace("#4",u));return A}}"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.prepare&&(com.kingdee.bos.qing.prepare={});"undefined"==typeof com.kingdee.bos.qing.prepare.model&&(com.kingdee.bos.qing.prepare.model={});var n=com.kingdee.bos.qing.prepare.model;n.ProgressModel=
h;var k={};n.SceneType=k;k.LONGER="longer";k.SQUARE="square";var e=com.kingdee.bos.qing.framework.common.MultilanguageManager.createPackageAccessor(com.kingdee.bos.qing.prepare);h.ShowDataModelActionType="ShowDataModel";h.ShowErrorDetailActionType="ShowErrorDetail";h.ShowPermissionDetailActionType="ShowPermissionDetail";h.ShowSupportQingActionType="ShowSupportQingAnalysis"})();(function(){function h(){this.setCancelFun=function(a){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.finished=function(){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.showProgress=function(a){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.showExceptionInfo=function(a,c,l,q,g){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");}}function n(){var a=this;this.getJqUi=
function(){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.showProgress=function(c){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.show=function(){var c=a.getJqUi();c&&c.show()};this.hide=function(){var c=a.getJqUi();c&&c.hide()}}function k(){var a=this;this.getJqUi=function(){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.show=function(){var c=a.getJqUi();c&&c.show()};this.hide=function(){var c=
a.getJqUi();c&&c.hide()};this.setFunExtractAgain=function(c){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.setFunEditDataModel=function(c){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.updateMessage=function(c,l,q,g,C){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");}}function e(){n.call(this);var a,c,l;this.getJqUi=function(){a||q();return a};var q=function(){var g=d.get("loading","\u6570\u636e\u51c6\u5907\u4e2d");
a=$("<div>");a.addClass("sa-common-loading-modallayer");u.layoutCtrl(a,0,0,"100%","100%");var C=$("<div>");C.addClass("sa-common-loading-panel");C.css({"margin-left":"-100px","margin-top":"-40px"});C.appendTo(a);u.layoutCtrl(C,"50%","50%",200,80);var B=$("<div>");B.addClass("sa-common-loading-icon");B.css("background-image",w.getIconUrl("common","loading.gif"));B.css({"margin-left":"-20px","margin-top":"-30px"});B.appendTo(C);u.layoutCtrl(B,"50%","50%",40,40);B=$("<div>");B.addClass("sa-common-loading-text");
c=$("<span>");c.text("string"==typeof g?g:d.get("loading","\u6570\u636e\u51c6\u5907\u4e2d"));c.appendTo(B);B.css({"margin-left":"-150px","margin-top":"15px",color:"#999"});B.appendTo(C);u.layoutCtrl(B,null,"50%",500,20);var F=$("<span>");F.text("  "+d.get("loadingToCancel","\u70b9\u51fb\u8fd9\u91cc\u53d6\u6d88"));F.css({display:"none","white-space":"pre-wrap",cursor:"pointer",color:"#88c"});F.appendTo(B);F.on("click",function(){l&&l()});setTimeout(function(){F.show()},3E3)};this.setCancelFun=function(g){l=
g};this.showProgress=function(g){g=g.toText();c&&c.text(g)};this.cancel=function(){l&&l()}}"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.prepare&&(com.kingdee.bos.qing.prepare={});"undefined"==typeof com.kingdee.bos.qing.prepare.ui&&(com.kingdee.bos.qing.prepare.ui={});var p=com.kingdee.bos.qing.prepare.ui;
p.PCProgressErrorPage=function(){k.call(this);var a,c,l,q,g=$(document.body),C=$("<div class='sa-ctrl-common-modallayer'>"),B,F,I,G,N,P,T,U,Q,K,R=r.getIconUrl("prepare","no-data-new.png");this.setFunExtractAgain=function(m){N=m};this.setFunEditDataModel=function(m){P=m};this.getJqUi=function(){a||M();return a};var M=function(){a=$("<div>");a.addClass("qing-welcome-sub-container");a.hide();q=$("<img>");q.addClass("qing-welcome-big-img");q.prop("src",r.getIconUrl("prepare","errorBackground.png"));c=
$("<span>");c.addClass("qing-welcome-error-text");a.append(q);a.append(c);G=$("<div>");G.addClass("qing-welcome-error-btn");G.text(d.get("extractAgain","\u91cd\u65b0\u62bd\u53d6"));G.on("click",function(m){N&&N()});a.append(G);l=$("<div>");l.addClass("qing-welcome-error-btn");l.on("click",V);a.append(l)},S=function(){C.detach();B.detach()},V=function(){if(y.ShowDataModelActionType==K)P&&P();else if(y.ShowErrorDetailActionType==K){if(!B){B=$("<div>");B.addClass("qing-welcome-error-logdetail-container");
var m=$("<div>");m.addClass("qing-welcome-error-logdetail-title-container");var f=$("<div>");f.addClass("qing-welcome-error-logdetail-titiletag");var v=$("<div>");v.addClass("qing-welcome-error-logdetail-title-lable");v.text(d.get("errorLog","\u9519\u8bef\u65e5\u5fd7"));var E=$("<div>");E.addClass("qing-welcome-error-logdetail-close");z||(z=com.kingdee.bos.qing.prepare.MyIcons);z.background(E,"errorClose");E.on("click",S);m.append(f);m.append(v);m.append(E);f=$("<div>");f.addClass("qing-welcome-error-logdetail-content-container");
F=$("<div>");F.css("padding","10px");I=$("<pre>");I.css("padding-left","10px");f.append(F);f.append(I);B.append(m);B.append(f)}I.text(Q);F.text(d.get("errorCode","\u9519\u8bef\u7801\uff1a")+T);C.appendTo(g);B.appendTo(g)}else y.ShowPermissionDetailActionType==K?(m=new b($(document.body)),m.setSize(440,330),m.setTitle(d.get("permissionTitle","\u6743\u9650\u63d0\u793a")),m.showDialog(t("\u5c1a\u672a\u83b7\u5f97\u4ee5\u4e0b\u5b9e\u4f53\u6570\u636e\u8868\u7684\u67e5\u770b\u6743\u9650\uff1a"),!0)):y.ShowSupportQingActionType==
K&&(m=new b($(document.body)),m.setSize(440,330),m.setTitle(d.get("DetailInfo","\u8be6\u7ec6\u4fe1\u606f")),m.showDialog(t(d.get("notSupportQingAnalysis","\u4ee5\u4e0b\u4e1a\u52a1\u5b9e\u4f53\u5c1a\u672a\u5f00\u542f\u201c\u652f\u6301\u8f7b\u5206\u6790\u201d\u8bbe\u7f6e\u9879\uff1a")),!0))},b=function(m){var f=$("<div class='sa-ctrl-common-modallayer'>"),v=new x(f),E=0,L=0,W=320,X=240,Y=m?m:$(document.body),aa,ba;this.setTitle=function(H){ba=H};this.setClosingListener=function(H){aa=H};this.setSize=
function(H,J){W=H;X=J};this.showDialog=function(H,J){f.appendTo(Y);if(!E){var O=Y.prop("clientWidth"),ca=Y.prop("clientHeight");E=O-W>>1;L=(ca-X)/3}v.setBounds(E,L,W,X);v.setToolbarVisible(!1);v.setContent(H,J);v.setTitle(ba);v.addClosingListener(function(Z,da){if(da)aa(da);else return Z.destroy(),f.remove(),!0});v.addClosedListener(function(Z){Z.destroy();f.remove()});v.showFooterPane(this.createFooter);v.show()};this.setContent=function(H,J){v.setContent(H,J)};this.destroy=function(){v.destroy();
f.remove()};this.createFooter=function(H){var J=new A(d.get("iknow","\u6211\u77e5\u9053\u4e86"));J.setHighlight(!0);var O=J.getJqUi();u.layoutCtrlWithLRTB(O,"50%",0,100,null,13,28);O.addClass("dialog-footer-close");O.css("margin-left","-50px");O.appendTo(H);J.addActionListener(function(ca){v.destroy();f.remove()})}},t=function(m){var f=$("<div>");f.addClass("qing-welcome-viewdetail-content");var v=$("<p>");v.addClass("qing-welcome-viewdetail-contenxt-texttitle");v.text(m);m=$("<p>");m.addClass("qing-welcome-viewdetail-contenxt-text");
m.html(U.replace(/,/g,d.get("semicolon","\uff1b")+"<br>"));f.append(v);f.append(m);return f};this.updateMessage=function(m,f,v,E,L){console.log("updateMessage:sTip:",E);K=L;T=m;Q=v;U=f;c.text(E);y.ShowDataModelActionType==L?(G.hide(),l.show(),l.text(d.get("setDataModel","\u6570\u636e\u51c6\u5907"))):y.ShowErrorDetailActionType==L?(G.show(),l.show(),l.text(d.get("showErrorLog","\u663e\u793a\u9519\u8bef\u65e5\u5fd7"))):y.ShowPermissionDetailActionType==L?(G.show(),l.show(),l.text(d.get("viewDetails",
"\u67e5\u770b\u8be6\u60c5")),q.prop("src",R)):y.ShowSupportQingActionType==L?(a.css("width","700px"),G.show(),l.show(),l.text(d.get("viewDetails","\u67e5\u770b\u8be6\u60c5")),q.prop("src",R),m=D.getSupportQingAnalysisUrl(),m=$("<a onclick='javascript:window.open(\""+m+"\");' href='#'>"),m.css("cursor","pointer"),m.css("color","#5582f3"),m.text(d.get("viewDocument","\u67e5\u770b\u5e2e\u52a9\u6587\u6863")),c.append(m)):(G.show(),l.hide())}};p.IProgressHandler=h;p.CustomProgressHandler=function(){h.call(this);
var a,c,l,q,g;this.setCancelFun=function(C){};this.init=function(C,B,F,I){a=C;c=B;l=F;g=I;q=g.getJqUi();a.append(q)};this.finished=function(){a&&(a.hide(),g.hide(),c.show(),l.text(d.get("extractData","\u6b63\u5728\u51c6\u5907\u6570\u636e")))};this.showProgress=function(C){a.show();g.hide();c.show();l.text(C.toText())};this.showExceptionInfo=function(C,B,F,I,G){a.show();g.show();c.hide();g.updateMessage(C,B,F,I,G)}};p.BlockingProgressHandler=function(){h.call(this);var a=new e,c=a.getJqUi();c.appendTo($(document.body));
this.setCancelFun=function(l){a.setCancelFun(function(){c.remove();l&&l()})};this.finished=function(){c.remove()};this.showProgress=function(l){a.showProgress(l)};this.showExceptionInfo=function(l,q,g,C,B){a.cancel();l=com.kingdee.bos.qing.ui.component.MessageDialog;q=new l;q.setOptionType(l.OPTION_OK);q.setMessage(C);g&&q.setDetail(g);q.showDialog()}};p.IProgressErrorUI=k;p.IProgressingUI=n;var z,u,w,d,x,A,y,D,r;(function(){var a=com.kingdee.bos.qing.common;u=a.DomUtil;a=com.kingdee.bos.qing.framework.common;
d=a.MultilanguageManager.createPackageAccessor(com.kingdee.bos.qing.prepare);w=a.Resource;D=a.OfficialArticleUtil;a=com.kingdee.bos.qing.prepare.model;y=a.ProgressModel;a=com.kingdee.bos.qing.ui.component;x=a.Dialog;A=a.Button;a=com.kingdee.bos.qing;r=a.CodeLoader;w.bindLoader(r)})()})();(function(){"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.prepare&&(com.kingdee.bos.qing.prepare={});"undefined"==typeof com.kingdee.bos.qing.prepare.datainfo&&(com.kingdee.bos.qing.prepare.datainfo={});var h=com.kingdee.bos.qing.prepare.datainfo,n,k;(function(){var e=com.kingdee.bos.qing.framework.common;
n=e.MultilanguageManager.createPackageAccessor(com.kingdee.bos.qing.prepare);e=com.kingdee.bos.qing.ui.component;k=e.HelpIcon})();h.DataSourceInfo=function(){var e,p,z,u;this.getExtractDataTime=function(){return e};this.getOriginalCreatorName=function(){return p};this.hasDirectModeTable=function(){return z};this.getNoAuthOperValueMap=function(){return u};this.fromJson=function(w){e=w.extractDataTime;p=w.originalCreatorName;z=w.hasDirectModeTable;u=w.noAuthOperValueMap}};h.DataInfoIconTipsUI=function(e){var p,
z,u;this.setModel=function(w){u=w;w=com.kingdee.bos.qing.CodeLoader;w.setCallback(function(){a:{if(u){z||(z=new k,z.setIconType(k.ICON_TYPE_INFO),p=z.getJqUi(),p.addClass("sa-qing-datainfo"),p.appendTo(e));var d="",x=u.getOriginalCreatorName();x&&(d+="<b>"+n.get("originalCreatorName","\u53d1\u5e03\u4eba\uff1a")+"</b>"+x+"</br>");if((x=u.getNoAuthOperValueMap())&&JSON.stringify(x)!=JSON.stringify({})){d+="</br><b>"+n.get("noAuthOperName","\u672a\u6388\u6743\u7684\u64cd\u4f5c\u6743\u9650\uff1a")+"</b>";
for(var A in x){var y=x[A],D=new com.kingdee.bos.qing.publish.model.OperCodeMap,r;for(r in D.getOperCodeMap()[A])if(1!=r&&0!=(r&y)){var a=D.getOperCodeMap()[A][r];d+=n.get(a,D.getOperNameMap()[a]);d+="\u3001"}d=d.slice(0,d.length-1)}d+="</br>"}if(A=u.getExtractDataTime())d&&(d+="</br>"),d+="<b>"+n.get("extractDataTime","\u6570\u636e\u66f4\u65b0\u65f6\u95f4\uff1a")+"</b>"+A+"</br>";z.setTipsHtml(d);if(d){p.show();break a}}p&&p.hide()}});w.setRootPath(".");w.loadI18n("publish","publish");w.loadJs("biz-common/qing-biz-common.js");
w.loadJs("schema-manage/schema-manage-initialize.js");w.loadJs("schema-manage/schema-manage-ui.js");w.loadJs("publish/qing-publish.js")}}})();(function(){function h(r,a,c,l){z.call(this,r,a,c,l);var q=this.protectedMethod;q.setShowBlocking(!1);this.getServerTimeStamp=function(){q.remote("getServerTimeStamp",{})};this.loadDataInfo=function(g){q.remote("loadDataInfo",g)};this.subjectStartExtractData=function(g){return q.remote("subjectStartExtractData",g)};this.billStartExtractData=function(g){return q.remote("billStartExtractData",g)};this.publishedStartExtractData=function(g){return q.remote("publishedStartExtractData",g)};this.publishedDsdRefAnalysisStartExtractData=
function(g){return q.remote("publishedDsdRefAnalysisStartExtractData",g)};this.nocodeCardStartExtractData=function(g){return q.remote("nocodeCardStartExtractData",g)};this.startAIHomePageSubjectExtractData=function(g){return q.remote("startAIHomePageSubjectExtractData",g)};this.designTimeNocodeCardStartExtractData=function(g){return q.remote("designTimeNocodeCardStartExtractData",g)};this.editTimedPushStartExtractData=function(g){return q.remote("editTimedPushStartExtractData",g)};this.workbenchWidgetStartExtractData=
function(g){return q.remote("workbenchWidgetStartExtractData",g)};this.metricStartExtractData=function(g){return q.remote("metricStartExtractData",g)};this.loadSubjectDataInfo=function(g){q.remote("loadSubjectDataInfo",g)};this.loadPublishedDataInfo=function(g){q.remote("loadPublishedDataInfo",g)};this.loadPublishedDsdRefAnalysisDataInfo=function(g){q.remote("loadPublishedDsdRefAnalysisDataInfo",g)};this.loadEditTimedPushDataInfo=function(g){q.remote("loadEditTimedPushDataInfo",g)};this.tryAddResourceLock=
function(g,C){q.remote("tryAddResourceLock",{groupId:g,resourceId:C})}}function n(){u.call(this);var r,a;this.getRemoteUrl=function(c){c.tag=a;return r};this.setRemoteUrl=function(c){r=c};this.setTag=function(c){a=c}}"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.prepare&&(com.kingdee.bos.qing.prepare=
{});var k=com.kingdee.bos.qing.prepare;k.RemoteImpl=n;var e,p,z,u;k.AbstractDataExtractor=function(){var r=this,a=null,c,l=!1,q=!1,g=null,C=!1;var B=w.decodeParamFromUrl(location.search,"tag");var F=w.decodeParamFromUrl(location.search,"path");this.setTag=function(b){B=b};this.protectedStart=function(b){c&&c.finished();q=l=!1;g&&(g(),g=null);c=b;document.body.style.height=document.documentElement.clientHeight+"px";P()};this.restart=function(){var b=new x;r.protectedStart(b)};this.getIsEditScene=function(){return C};
this.setIsEditScene=function(b){C=b};this.getJqUi=function(b){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.setExtractDataFinishedSuccessCallback=function(b){a=b;M()};this.getParamPathPrefix=function(){return F};this.appendExtraParamsToRemoteUrl=function(b){return b};var I=function(){var b=(F?F:"/ierp")+"/qing/prepare.do";b=r.appendExtraParamsToRemoteUrl(b);var t=new n;t.setRemoteUrl(b);t.setTag(B);return t},G=function(b,t,m){return new h(I(),b,function(f,v,E){return t&&
t(f,v,E)?!0:!1},m)},N,P=function(){var b=new d;c.showProgress(b);G(function(t){N=t;T(t)},function(t,m,f){R(t,m,f);return!0}).getServerTimeStamp()},T=function(b){U(b);var t={};t.timeStamp=b;var m=G(function(f){Q(b);if(f&&N==f.timeStamp){l=!0;var v=new d;v.fromJsonObject(f);q=v.isMetaChanged();c.showProgress(v);r.protectedNeedLoadDataInfo()?V():l&&M()}},function(f,v,E){Q(b);if(-1==f)return!0;q=l=!1;R(f,v,E);r.protectedNeedLoadDataInfo()?V():l&&M();return!0});m.setCancelable(!0);t.isEditScene=C;g=r.protectedInvokeExtractDataMethod(m,
t);c.setCancelFun(g)};this.protectedInvokeExtractDataMethod=function(b,t){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};var U=function(b){p.subscribeChannel("ExtractData"+b,K);r.protectedSubscribeCustomChannel(b)},Q=function(b){p.unsubscribeChannel("ExtractData"+b,K);r.protectedUnsubscribeCustomChannel(b)};this.protectedSubscribeCustomChannel=function(b){};this.protectedUnsubscribeCustomChannel=function(b){};this.protectedRejectExtractDataChanelMessage=function(b){return!1};
var K=function(b){if(!r.protectedRejectExtractDataChanelMessage(b)){b=JSON.parse(b);var t=new d;t.fromJsonObject(b);c.showProgress(t)}},R=function(b,t,m){if(2101001==b)var f=e.get("analysisNoFound","\u8be5\u6570\u636e\u5206\u6790\u4e0d\u5b58\u5728\u6216\u5df2\u88ab\u5220\u9664");else if(2101002==b||2101004==b){f=e.get("setDataModelBeforeAnalysis","\u8be5\u6570\u636e\u5206\u6790\u6ca1\u6709\u5b9a\u4e49\u6570\u636e\uff0c\u8bf7\u5148\u8fdb\u884c\u6570\u636e\u51c6\u5907");var v=d.ShowDataModelActionType}else if(2101003==
b||2101005==b)f=e.get("setDataModelBeforeAnalysis","\u8be5\u6570\u636e\u5206\u6790\u6ca1\u6709\u5b9a\u4e49\u6570\u636e\uff0c\u8bf7\u5148\u8fdb\u884c\u6570\u636e\u51c6\u5907");else if(2103001==b||2103002==b)f=e.get("publishedHasNotFound","\u8be5\u53d1\u5e03\u8bb0\u5f55\u4e0d\u5b58\u5728\u6216\u5df2\u88ab\u5220\u9664");else if(2101006==b){f=e.get("lackDataEntityAuthority","\u5c1a\u672a\u83b7\u5f97\u5b9e\u4f53\u6570\u636e\u8868\u7684\u67e5\u770b\u6743\u9650");v=d.ShowPermissionDetailActionType;var E=
t.match(/(\(|\uff08)([^(\)|\uff09)]+)(\)|\uff09)/);E&&(t=E[2])}else if(2101018==b)D.getSupportQingAnalysisUrl(),f=e.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  "),(E=/(?:\u3010\s)(.+)(?=\s\u3011)/.exec(t))?t=E[1]:E=/(?:\u3010\s)(.+)/.exec(t),E&&(t=E[1]),v=d.ShowSupportQingActionType;else if(21000008==b)f=
e.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(2101016==b)f=e.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==b)f=e.get("subjectDataSourceError",
"\u6570\u636e\u6e90\u53d1\u751f\u5f02\u5e38"),v=d.ShowErrorDetailActionType;else if(2101010==b)f=e.get("qingStorageFileSizeLimit","\u8f7b\u5b58\u50a8\u7a7a\u95f4\u4e0d\u8db3");else if(2100001==b)f=e.get("qingStorageNoSpace","\u78c1\u76d8\u7a7a\u95f4\u4e0d\u8db3\uff0c\u8bf7\u8054\u7cfb\u8fd0\u7ef4\u4eba\u5458\u6dfb\u52a0\u78c1\u76d8");else if(2101011==b)f=e.get("subjectDBDataSourceError","\u6570\u636e\u6e90\u5bf9\u5e94\u7684\u6570\u636e\u5e93\u8fde\u63a5\u5f02\u5e38"),v=d.ShowErrorDetailActionType;
else if(2101012==b)f=e.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==b)f=e.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(2215011==b)f=e.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(2101013==b)f=e.get("entityDestroyed","\u5bf9\u5e94\u4e3b\u9898\u7684\u6570\u636e\u8868\u88ab\u635f\u574f");else if(2101014==b)f=e.get("entityDestroyedOwner","\u5bf9\u5e94\u4e3b\u9898\u7684\u6570\u636e\u8868\u88ab\u635f\u574f\uff0c\u8bf7\u91cd\u65b0\u8fdb\u884c\u6570\u636e\u51c6\u5907"),v=d.ShowDataModelActionType;else if(2101015==b)f=e.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",
t);else if(2215012==b)f=e.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",t);else if(2101019==b)f=e.get("noModelerPermission","\u5c1a\u672a\u83b7\u5f97\u6570\u636e\u8868\u6a21\u578b\u7684\u6570\u636e\u6743\u9650");else if(2101020==b)f=e.get("noModelerOwnerPermission","\u53d1\u5e03\u4eba\u201c#1\u201d\u6ca1\u6709\u8f7b\u5efa\u6a21\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",
t);else if(2101021==b)f=e.get("notExistTable","\u65e0\u6cd5\u5728\u6a21\u5f0f\u201c#1\u201d\u4e2d\u627e\u5230\u8be5\u5b9e\u4f53\u6570\u636e\u8868").replaceAll("#1",t),v=d.ShowDataModelActionType;else if(2101022==b)f=e.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",t);else if(2101024==b)f=e.get("ownerNotExistTable","\u6570\u636e\u6e90\u5f02\u5e38\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6570\u636e\u6e90"),
v=d.ShowDataModelActionType;else if(2101025==b)f=e.get("prepareDataReject2","\u5f53\u524d\u4e1a\u52a1\u4e3b\u9898\u56e0\u5b58\u5728\u6162\u67e5\u8be2\uff0c\u5df2\u88ab\u4e34\u65f6\u7981\u7528\u3002\u8bf7\u4f18\u5316\u6267\u884c\u7f13\u6162\u7684\u6570\u636e\u8868\u540e\uff0c\u63d0\u4ea4\u5de5\u5355\u8054\u7cfb\u8fd0\u7ef4\u56e2\u961f\u5904\u7406\u3002").replace("#1",t);else if(2215020==b)f=e.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",
t);else if(2102004==b)f=e.get("emptyFormMetaInfo","\u4e1a\u52a1\u5355\u636e\u6ca1\u6709\u53ef\u5206\u6790\u7684\u5143\u6570\u636e");else if(2301001==b)f=e.get("publishedHasNotFound","\u8be5\u53d1\u5e03\u8bb0\u5f55\u4e0d\u5b58\u5728\u6216\u5df2\u88ab\u5220\u9664");else{if(1030001==b)return r.protectedShowNavTitle(),com.kingdee.bos.qing.framework.common.RemoteFramework.openErrorPage(b,com.kingdee.bos.qing.common.Base64Util.encode(encodeURIComponent(t))),!0;f=e.get("extractDataError","\u51fa\u9519\u4e86\uff0c\u51c6\u5907\u6570\u636e\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u9519\u8bef");
v=d.ShowErrorDetailActionType}r.protectedShowExceptionInfo(b,t,m,f,v)};this.protectedShowExceptionInfo=function(b,t,m,f,v){c.showExceptionInfo(b,t,m,f,v)};var M=function(){l&&a&&(c.finished(),a(q),l=!1,a=null)};this.protectedShowNavTitle=function(){};this.protectedNeedLoadDataInfo=function(){return!0};this.protectedInvokeLoadDataInfoMethod=function(b,t){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};var S,V=function(){S||(S=new y($(document.body)));var b=G(function(t){if(t){com.kingdee.bos.qing.framework.common.WebPageInitializer.init();
var m=new A;m.fromJson(t);S.setModel(m);k.DataSourceInfoContext.setCurrentDataSourceInfo(m);t.warning&&(m=new com.kingdee.bos.qing.ui.component.MessageCurtain,m.getJqUi().appendTo($(document.body)),m.showPrompt(t.warning,-1));M()}},function(t,m,f){window.console&&console.info("loadDataInfo error:"+t+" | "+m+" | "+f);M();return!0});r.protectedInvokeLoadDataInfoMethod(b,{})};this.protectedMethod={createFacade:G}};var w,d,x,A,y,D;(function(){var r=com.kingdee.bos.qing.framework.common;e=r.MultilanguageManager.createPackageAccessor(k);
p=r.RemoteFramework;z=r.AbstractFacade;u=r.AbstractRemoteCall;D=r.OfficialArticleUtil;r=com.kingdee.bos.qing.common;w=r.Util;r=com.kingdee.bos.qing.prepare.model;d=r.ProgressModel;r=com.kingdee.bos.qing.prepare.ui;x=r.BlockingProgressHandler;r=com.kingdee.bos.qing.prepare.datainfo;A=r.DataSourceInfo;y=r.DataInfoIconTipsUI})();k.DataSourceInfoContext=new function(){var r;this.setCurrentDataSourceInfo=function(a){r=a};this.getCurrentDataSourceInfo=function(){return r}}})();(function(){function h(){u.call(this);var d,x,A=!0,y,D;this.getJqUi=function(){if(!d){var a=k.get("loading","\u6570\u636e\u51c6\u5907\u4e2d");d=$("<div>");d.addClass("card-prepare-loading-modallayer");w.layoutCtrl(d,0,0,"100%","100%");x=$("<div>");x.addClass("card-prepare-loading-panel");x.appendTo(d);w.layoutCtrl(x,0,0,"100%","100%");var c=$("<div>");c.addClass("card-prepare-loading-icon");p||(p=com.kingdee.bos.qing.prepare.MyIcons);p.background(c,"loading");c.css("background-position","center");
c.css({"margin-left":"-20px","margin-top":"-30px","background-position":"center"});c.appendTo(x);w.layoutCtrl(c,"50%","50%",40,40);c=$("<div>");c.addClass("card-prepare-loading-text");c.text(a);c.css({"margin-left":"-100px","margin-top":"15px",color:"#999"});c.appendTo(x);w.layoutCtrl(c,"50%","50%",200,20);if((a=e.decodeParamFromUrl(location.search,"cardName"))&&A){a=com.kingdee.bos.qing.common.Base64Util.decode(a);c=$("<div>");var l=$("<div class='card-prepare-loading-title'>");l.text(a);l.attr(a);
w.layoutCtrlWithLRTB(c,0,0,null,0,null,30);c.appendTo(x);l.appendTo(c)}}return d};this.setCancelFun=function(a){};this.finished=function(){d.hide()};this.setNeedCreateHead=function(a){A=a};this.setErrorDetailCssProvider=function(a){_funErrorDetailCssProvider=a};this.setErrorHandler=function(a){y=a};this.setJqErrorContent=function(a){D=a};this.showProgress=function(a){a.isFinshed()?d.hide():d.show();x.attr("title",a.toText())};this.showExceptionInfo=function(a,c,l,q,g){y?y(a,c,l):(d.show(),d.empty(),
q=new com.kingdee.bos.qing.scene.common.square.exhibition.CardErrorUi(d),q.setShowErrorDetailListener(r),q.setShowDetail(!0),q.show(a,c,l))};var r=function(a,c,l){c=$("<div>");c.css({position:"absolute",width:"100%",top:"26px",bottom:"0px","background-color":"white"});var q=$("<div>");q.text(k.get("errorCode","\u9519\u8bef\u7801\uff1a")+a);a=$("<div>");a.css({position:"absolute",width:"100%",top:"15px",bottom:"0px",overflow:"auto"});a.text(l);q.appendTo(c);a.appendTo(c);l=$(document.body);D&&(l=D);
c.appendTo(l)}}"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.prepare&&(com.kingdee.bos.qing.prepare={});var n=com.kingdee.bos.qing.prepare;n.CardProgressHandler=h;var k,e,p,z,u,w;(function(){var d=com.kingdee.bos.qing.framework.common;k=d.MultilanguageManager.createPackageAccessor(n);d=com.kingdee.bos.qing.common;
e=d.Util;w=d.DomUtil;d=com.kingdee.bos.qing.prepare;z=d.AbstractDataExtractor;d=com.kingdee.bos.qing.prepare.ui;u=d.IProgressHandler})();n.DataExtractor=new function(){z.call(this);var d=this,x,A=e.decodeParamFromUrl(location.search,"publishId");this.getJqUi=function(){x||(x=new h);return x.getJqUi()};this.start=function(){x.finished();var y=e.decodeParamFromUrl(location.search,"errorCode");y?x.showExceptionInfo(y):d.protectedStart(x)};this.appendExtraParamsToRemoteUrl=function(y){var D=e.decodeParamFromUrl(location.search,
"access_token");D&&(y=e.appendParamToUrl(y,"access_token",encodeURIComponent(D)));return y};this.protectedNeedLoadDataInfo=function(){return!1};this.protectedInvokeExtractDataMethod=function(y,D){D.dealProgresss=!0;D.publishId=A;return y.publishedStartExtractData(D)}}})();(function(){"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.prepare&&(com.kingdee.bos.qing.prepare={});var h=com.kingdee.bos.qing.prepare,n,k,e,p,z;(function(){var u=com.kingdee.bos.qing.prepare;n=u.AbstractDataExtractor;u=com.kingdee.bos.qing.common;k=u.Util;u=com.kingdee.bos.qing.prepare.ui;e=u.CustomProgressHandler;
p=u.PCProgressErrorPage;u=com.kingdee.bos.qing.framework.common;z=u.MultilanguageManager.createPackageAccessor(h)})();h.MetricSquareExtractor=new function(){n.call(this);var u=this,w=k.decodeParamFromUrl(location.search,"metricLibId");this.start=function(d,x,A){var y=new e,D=$("#qing-error");D.hide();$("#close-tab").text(z.get("closeTab","\u9000\u51fa"));D.on("click",com.kingdee.bos.qing.framework.common.TabbedUiUtil.closeCurrentTab);var r=new p;r.setFunExtractAgain(function(){D.hide();u.protectedStart(y)});
y.init(d,x,A,r);u.protectedStart(y)};this.protectedInvokeExtractDataMethod=function(d,x){x.metricLibId=w;x.tag=k.decodeParamFromUrl(location.search,"tag");return d.metricStartExtractData(x)};this.protectedNeedLoadDataInfo=function(){return!1}}})();
//qingVersionTag: 20250807