var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.checkStringArgs=function(e,n,d){if(null==e)throw new TypeError("The 'this' value for String.prototype."+d+" must not be null or undefined");if(n instanceof RegExp)throw new TypeError("First argument to String.prototype."+d+" must not be a regular expression");return e+""};$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(e,n,d){if(e==Array.prototype||e==Object.prototype)return e;e[n]=d.value;return e};
$jscomp.getGlobal=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<e.length;++n){var d=e[n];if(d&&d.Math==Math)return d}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(e,n){var d=$jscomp.propertyToPolyfillSymbol[n];if(null==d)return e[n];d=e[d];return void 0!==d?d:e[n]};$jscomp.polyfill=function(e,n,d,h){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(e,n,d,h):$jscomp.polyfillUnisolated(e,n,d,h))};
$jscomp.polyfillUnisolated=function(e,n,d,h){d=$jscomp.global;e=e.split(".");for(h=0;h<e.length-1;h++){var l=e[h];if(!(l in d))return;d=d[l]}e=e[e.length-1];h=d[e];n=n(h);n!=h&&null!=n&&$jscomp.defineProperty(d,e,{configurable:!0,writable:!0,value:n})};
$jscomp.polyfillIsolated=function(e,n,d,h){var l=e.split(".");e=1===l.length;h=l[0];h=!e&&h in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var q=0;q<l.length-1;q++){var t=l[q];if(!(t in h))return;h=h[t]}l=l[l.length-1];d=$jscomp.IS_SYMBOL_NATIVE&&"es6"===d?h[l]:null;n=n(d);null!=n&&(e?$jscomp.defineProperty($jscomp.polyfills,l,{configurable:!0,writable:!0,value:n}):n!==d&&(void 0===$jscomp.propertyToPolyfillSymbol[l]&&(d=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[l]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(l):$jscomp.POLYFILL_PREFIX+d+"$"+l),$jscomp.defineProperty(h,$jscomp.propertyToPolyfillSymbol[l],{configurable:!0,writable:!0,value:n})))};$jscomp.polyfill("String.prototype.startsWith",function(e){return e?e:function(n,d){var h=$jscomp.checkStringArgs(this,n,"startsWith");n+="";var l=h.length,q=n.length;d=Math.max(0,Math.min(d|0,h.length));for(var t=0;t<q&&d<l;)if(h[d++]!=n[t++])return!1;return t>=q}},"es6","es3");
(function(){function e(r){var g=this;this.getAppType=function(){return r};this.protectedUserAgreementAndDeactivateShown=function(){return!1};this.getJSBridgeUrl=function(){return k.RemoteFrameworkUtil.getResourcePrefix()+g.protectedGetJSBridgeUrl()};this.protectedGetJSBridgeUrl=function(){throw Error("Override");};this.protectedOpen=function(a){throw Error("Override");};this.protectedHideNavTitle=function(){throw Error("Override");};this.protectedCloseWebView=function(){throw Error("Override");};
this.protectedRotateUI=function(a){throw Error("Override");};this.protectedInit=function(a){throw Error("Override");};this.protectedNeedCachePage=function(){throw Error("Override");};this.protectedRedirectToLogin=function(){};this.protectedLoadUserInfo=function(a){};this.protectedCreateIframeUrl=function(a){return a};this.protectedSSORedirect=function(){}}function n(r){e.call(this,r);var g=this,a=!1,b;this.protectedGetJSBridgeUrl=function(){return"third-app/yunzhijia/qingjs.js"};this.protectedOpen=
function(c){a||(a=!0,XuntongJSBridge.call("gotoLightApp",{appId:com.kingdee.bos.qing.lapp.integration.APP_ID,appName:"",urlParam:c}));clearTimeout(b);b=setTimeout(function(){a=!1},1E3)};this.protectedHideNavTitle=function(){XuntongJSBridge.call("setWebViewTitleBar",{isShow:"false"})};this.protectedCloseWebView=function(){XuntongJSBridge.call("closeWebView")};this.protectedRotateUI=function(c){XuntongJSBridge.call("rotateUI",{orientation:c?"landscape":"portrait"},{})};this.protectedInit=function(c){var f=
document.createElement("script"),u=g.getJSBridgeUrl();f.onload=function(){g.protectedHideNavTitle();c&&c()};f.src=u;document.head.appendChild(f)};this.protectedNeedCachePage=function(){return!1};this.protectedLoadUserInfo=function(c){XuntongJSBridge.call("getPersonInfo",{},function(f){f.success?(f=f.data,c(f.openId,f.name,f.photoUrl,f.eid)):$(document.body).html("\u62b1\u6b49\uff0c\u83b7\u53d6\u60a8\u7684\u4fe1\u606f\u5931\u8d25(T_T)")})};this.protectedCreateIframeUrl=function(c){var f=p.getUrlParamValue("ticket");
return c+"&ticket="+f}}function d(r){e.call(this,r);var g=this;this.protectedGetJSBridgeUrl=function(){return"third-app/dingding/dingtalk.open.js"};this.protectedOpen=function(b){dd.biz.util.openLink({url:b,onFail:function(c){alert("dingding open url err! "+c)}})};this.protectedHideNavTitle=function(){dd.biz.navigation.hideBar({hidden:!0,onFail:function(b){alert("dingding hide nav title fail! "+b)}})};this.protectedCloseWebView=function(){dd.biz.navigation.close({onFail:function(b){alert("dingding close web view fail! "+
b)}})};this.protectedRotateUI=function(b){};this.protectedInit=function(b){a(b)};this.protectedNeedCachePage=function(){return!1};var a=function(b){var c=document.createElement("script"),f=g.getJSBridgeUrl();c.onload=function(){var u=p.getUrlParamValue("code");if(u)g.protectedHideNavTitle(),b&&b();else{var m=p.getUrlParamValue("corpid");dd.ready(function(){dd.runtime.permission.requestAuthCode({corpId:m,onSuccess:function(v){u=v.code;v=location.href;v+="&code="+u;location.href=v},onFail:function(v){alert("dingding get code err! "+
v)}})})}};c.src=f;document.head.appendChild(c)}}function h(r){e.call(this,r);var g=this,a=!1,b;this.protectedGetJSBridgeUrl=function(){return"third-app/dingding/dingtalk.open.js"};this.protectedOpen=function(c){k.EnvUtil.isMobile()?(a||(a=!0,dd.biz.util.openLink({url:c,onFail:function(f){alert("dingding open url err! "+f)}})),clearTimeout(b),b=setTimeout(function(){a=!1},1500)):location.href=c};this.protectedHideNavTitle=function(){dd.biz.navigation.hideBar({hidden:!0,onFail:function(c){alert("dingding hide nav title fail! "+
c)}})};this.protectedCloseWebView=function(){dd.biz.navigation.close({onFail:function(c){alert("dingding close web view fail! "+c)}})};this.protectedRotateUI=function(c){};this.protectedInit=function(c){var f=document.createElement("script"),u=g.getJSBridgeUrl();f.onload=function(){g.protectedHideNavTitle();c&&c()};f.src=u;document.head.appendChild(f)};this.protectedNeedCachePage=function(){return k.EnvUtil.isMobile()?!1:!0}}function l(r){e.call(this,r);var g=this;this.protectedGetJSBridgeUrl=function(){return"third-app/wxqyh/jweixin-1.2.0.js"};
this.protectedOpen=function(b){location.href=b};this.protectedHideNavTitle=function(){};this.protectedCloseWebView=function(){wx.closeWindow()};this.protectedRotateUI=function(b){};this.protectedInit=function(b){a()};this.protectedNeedCachePage=function(){return!0};var a=function(){var b=g.getJSBridgeUrl(),c=p.getUrlParamValue("corpid"),f=p.getUrlParamValue("agentid"),u=window.location.href,m=document.createElement("script");m.src=b;document.head.appendChild(m);$.ajax({url:k.SERVER_HOST_URL+"tools/getWxqyhJsapiInfos",
type:"get",data:{corpid:c,agentid:f,url:u},dataType:"json",success:function(v){v=v.data;wx.config({beta:!0,debug:!1,appId:c,timestamp:v.timestamp,nonceStr:v.nonceStr,signature:v.signature,jsApiList:["hideAllNonBaseMenuItem","closeWindow"]});wx.ready(function(){wx.hideAllNonBaseMenuItem()});wx.error(function(y){console.error("wx ready error")})},error:function(){console.error("getWxqyhJsapiInfos fail")}})}}function q(r){e.call(this,r);var g=this;this.protectedGetJSBridgeUrl=function(){return"Android"==
com.kingdee.bos.qing.lapp.integration.EnvUtil.getOS()?"third-app/missioncloud/android/cordova.js":"third-app/missioncloud/ios/cordova.js"};this.protectedOpen=function(a){cordova.exec({},{},"MideaCommon","openUrl",[a,{}])};this.protectedHideNavTitle=function(){cordova.exec({},{},"MideaCommon","hideNav",[])};this.protectedCloseWebView=function(){cordova.exec({},{},"MideaCommon","exit",[])};this.protectedRotateUI=function(a){cordova.exec({},{},"MideaCommon","orientation",[a?1:0])};this.protectedInit=
function(a){var b=document.createElement("script"),c=g.getJSBridgeUrl();document.addEventListener("deviceready",function(){g.protectedHideNavTitle();a&&a()});b.src=c;document.head.appendChild(b)};this.protectedNeedCachePage=function(){return!1}}function t(r){e.call(this,r);var g=this;this.protectedGetJSBridgeUrl=function(){return"third-app/welink/hwh5-cloudonline.js"};this.protectedOpen=function(a){window.open(a)};this.protectedHideNavTitle=function(){};this.protectedCloseWebView=function(){HWH5.close()};
this.protectedRotateUI=function(a){};this.protectedInit=function(a){var b=document.createElement("script"),c=g.getJSBridgeUrl();b.onload=function(){g.protectedHideNavTitle();a&&a()};b.src=c;document.head.appendChild(b)};this.protectedNeedCachePage=function(){return!0};this.protectedSSORedirect=function(){var a=document.createElement("script"),b=g.getJSBridgeUrl();a.onload=function(){var c=p.getUrlParamValue("redirectTo"),f=p.getUrlParamValue("clientId");HWH5.getAuthCode({clientId:f}).then(function(u){c=
c+"&code="+u.code;location.replace(c)})};a.src=b;document.head.appendChild(a)}}function z(r){e.call(this,r);var g=this,a=!1,b;this.protectedUserAgreementAndDeactivateShown=function(){return!0};this.protectedGetJSBridgeUrl=function(){return"third-app/wxxcx/jweixin-1.3.2.js"};this.protectedOpen=function(c){a||(a=!0,c=encodeURIComponent(c),wx.miniProgram.navigateTo({url:"../product/product?url="+c}));clearTimeout(b);b=setTimeout(function(){a=!1},1E3)};this.protectedHideNavTitle=function(){};this.protectedCloseWebView=
function(){window.close()};this.protectedRotateUI=function(c){};this.protectedInit=function(c){var f=document.createElement("script"),u=g.getJSBridgeUrl();f.onload=function(){g.protectedHideNavTitle();c&&c()};f.src=u;document.head.appendChild(f)};this.protectedNeedCachePage=function(){return!1};this.protectedRedirectToLogin=function(){wx.miniProgram.redirectTo({url:"../login/login?clearStorage=clearStorage"})}}function x(r){e.call(this,r);this.protectedGetJSBridgeUrl=function(){};this.protectedOpen=
function(g){location.href=g};this.protectedHideNavTitle=function(){};this.protectedCloseWebView=function(){window.close()};this.protectedRotateUI=function(g){};this.protectedInit=function(g){g&&g()};this.protectedNeedCachePage=function(){return!0}}function w(r){e.call(this,r);var g=this;this.protectedGetJSBridgeUrl=function(){return navigator.userAgent.startsWith("kdcloud/")?"third-app/jdy/kdcloud.min.js":"third-app/jdy/qingjs.js"};this.protectedOpen=function(b){a(function(c){var f=b.indexOf("/qing/lappEntrance.do");
if(-1==f)location.href=b;else{var u=c["app-token"];u?location.href=b+"&app-token="+u:(f=b.substring(0,f),$.ajax({headers:{Authorization:"bearer "+c.v7_access_token,accountId:c.accountId,groupName:c.groupName,appUserId:c.userId},url:f+"/qing/auth.do",xhrFields:{withCredentials:!0},type:"get",success:function(m){location.href=b},error:function(m){location.href=b}}))}})};this.protectedHideNavTitle=function(){};this.protectedCloseWebView=function(){XuntongJSBridge.call("closeWebView")};this.protectedRotateUI=
function(b){};this.protectedInit=function(b){var c=document.createElement("script"),f=g.getJSBridgeUrl();c.onload=function(){b&&b()};c.src=f;document.head.appendChild(c)};this.protectedNeedCachePage=function(){return!0};this.protectedSSORedirect=function(){var b=document.createElement("script"),c=g.getJSBridgeUrl();b.onload=function(){var f=p.getUrlParamValue("redirectTo"),u=p.getUrlParamValue("code");a(function(m){var v=m.v7_access_token,y=f+"?code="+u;y=y+"&userId="+m.userId+"&accountId="+m.accountId;
y=y+"&token="+v+"&appType="+g.getAppType();location.replace(y)})};b.src=c;document.head.appendChild(b)};var a=function(b){var c=function(f){f.success?b(f.data):alert("\u8c03\u7528APP\u6865\u5931\u8d25\uff01"+JSON.stringify(f))};navigator.userAgent.startsWith("kdcloud/")?kdcloud.call("getQingLoginParams",function(f){c(f)}):XuntongJSBridge.call("getLoginParams",{},function(f){c(f)})}}"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.lapp&&(com.kingdee.bos.qing.lapp={});"undefined"==typeof com.kingdee.bos.qing.lapp.integration&&(com.kingdee.bos.qing.lapp.integration={});var k=com.kingdee.bos.qing.lapp.integration;k.SERVER_HOST_URL="https://qtest.kingdee.com/qing-lightapp/";k.APP_ID="10954";k.AppType={};k.AppType.YZJ="yzj";k.AppType.DINGDING="dingding";k.AppType.DINGDING_OFFLINE="dingdingoffline";k.AppType.WXQYH=
"wxqyh";k.AppType.MISSIONCLOUD="missioncloud";k.AppType.WELINK="welink";k.AppType.WXXCX="wxxcx";k.AppType.THIRDPARTY="THIRDPARTY";k.AppType.JDY="jdy";var p=com.kingdee.bos.qing.Seer;k.EnvUtil=new function(){var r=this;this.getAppType=function(){return g.getAppType()};this.isYzjApp=function(){return navigator.userAgent.match(/Qing\/.*;/)?!0:!1};this.isYzjDesktop=function(){return navigator.userAgent.match(/cloudhub/)?!0:!1};this.getOS=function(){return navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?
"iOS":navigator.userAgent.match(/Android/i)?"Android":"others"};this.isMobile=function(){var a=r.getOS();return"iOS"==a||"Android"==a};this.isUserAgreementAndDeactivateShown=function(){return g.protectedUserAgreementAndDeactivateShown()};this.open=function(a){p.getUrlParamValue("dev")?location.href=a:g.protectedOpen(a)};this.hideNavTitle=function(){g.protectedHideNavTitle()};this.closeWebView=function(){g.protectedCloseWebView()};this.rotateUI=function(a){g.protectedRotateUI(a)};this.init=function(a){g.protectedInit(a)};
this.needCachePage=function(){return g.protectedNeedCachePage()};this.redirectToLogin=function(){g.protectedRedirectToLogin()};this.loadUserInfo=function(a){p.getUrlParamValue("dev")||g.protectedLoadUserInfo(a)};this.createIframeUrl=function(a){return p.getUrlParamValue("dev")?a:g.protectedCreateIframeUrl(a)};this.startSSORedirect=function(){g.protectedSSORedirect()};this.setEnv=function(a,b){a&&(k.SERVER_HOST_URL=a);b&&(k.APP_ID=b)};-1==location.href.indexOf("https")&&(k.SERVER_HOST_URL=k.SERVER_HOST_URL.replace("https",
"http"));var g=function(){var a=p.getUrlParamValue("appType"),b=com.kingdee.bos.qing.lapp.integration.AppType;if(null==a)return new n(b.YZJ);if("dingding"==a)return new d(b.DINGDING);if("dingdingoffline"==a)return new h(b.DINGDING_OFFLINE);if("wxqyh"==a)return new l(b.WXQYH);if("missioncloud"==a)return new q(b.MISSIONCLOUD);if("welink"==a)return new t(b.WELINK);if("wxxcx"==a)return new z(b.WXXCX);if("thirdparty"==a)return new x(b.THIRDPARTY);if("jdy"==a)return new w(b.JDY);throw Error("Unknown app type.");
}()};k.RemoteFrameworkUtil=new function(){var r,g,a,b,c,f,u="";this.setRemoteUrlCreator=function(m){r=m};this.setImageUrlCreator=function(m){g=m};this.setDownloadImageUrlCreator=function(m){a=m};this.setSharedDownloadImageUrlCreator=function(m){b=m};this.setShareWebpageUrlCreator=function(m){c=m};this.setShareCallbackUrlCreator=function(m){f=m};this.createRemoteUrl=function(m,v,y){return r?r(m,v):k.SERVER_HOST_URL+m+"/"+v+(y?"":".do")};this.createImageUrl=function(m){return g?g(m):k.SERVER_HOST_URL+
m};this.createDownloadImageUrl=function(m){return a?a(m):k.SERVER_HOST_URL+"image/downloadImage?path="+m};this.createSharedDownloadImageUrl=function(m){return b?b(m):k.SERVER_HOST_URL+"image/downloadImage?path="+m};this.createShareWebpageUrl=function(m){return c?c():m?k.SERVER_HOST_URL+"sharing/getShareUrlById.do":k.SERVER_HOST_URL+"share.html"};this.createShareCallbackUrl=function(m){return f?f():m?k.SERVER_HOST_URL+"sharing/add":k.SERVER_HOST_URL+"sharing/addShare"};this.setResourcePrefix=function(m){u=
m};this.getResourcePrefix=function(){return u}}})();(function(){var e=new function(){this.initEnv=function(){var l=com.kingdee.bos.qing.Seer,q=l.getUrlParamValue("path");q=q?q:"/ierp";var t=q+"/qing/lappPrivateInfo.do";t=d(t);var z=q+"/qing/lappEntrance.do";z=d(z);var x=q+"/qing/loadImg.do";x=d(x);var w=q+"/auth/qing/loadLappImg.do";w=d(w);var k=com.kingdee.bos.qing.lapp.integration.RemoteFrameworkUtil;k.setResourcePrefix("lightapp-private/");k.setRemoteUrlCreator(function(p,r){p=n.encode("/"+p+"/"+r);p=h(t,"serviceType",p);(r=l.getUrlParamValue("appType"))||
(r="yzj");return p=h(p,"appType",r)});k.setImageUrlCreator(function(p){return q+"/qinganalysis/lightapp-private/"+p});k.setDownloadImageUrlCreator(function(p){p=h(x,"fileName",p);return p=h(p,"fileType","lapp-thumbnail")});k.setSharedDownloadImageUrlCreator(function(p){p=h(w,"fileName",p);return p=h(p,"fileType","lapp-thumbnail")});k.setShareWebpageUrlCreator(function(){return h(z,"qingLightAppShare","true")});k.setShareCallbackUrlCreator(function(){var p=n.encode("/sharing/add"),r=l.getUrlParamValue("access_token");
p=h(t,"serviceType",p);return p=h(p,"access_token",r)})};var d=function(l){var q=com.kingdee.bos.qing.Seer.getUrlParamValue("kdcdc");q&&(l=h(l,"kdcdc",q));return l},h=function(l,q,t){l+=0>l.indexOf("?")?"?":"&";return l=l+q+"="+window.encodeURIComponent(t)}},n=new function(){this.encode=function(d){if(void 0==d||""==d)return"";d=d.replace("/\r\ng","\n");for(var h="",l=0;l<d.length;l++){var q=d.charCodeAt(l);128>q?h+=String.fromCharCode(q):(127<q&&2048>q?h+=String.fromCharCode(q>>6|192):(h+=String.fromCharCode(q>>
12|224),h+=String.fromCharCode(q>>6&63|128)),h+=String.fromCharCode(q&63|128))}d=h;h="";for(var t,z,x,w,k=0;k<d.length;)t=d.charCodeAt(k++),l=d.charCodeAt(k++),q=d.charCodeAt(k++),z=t>>2,t=(t&3)<<4|l>>4,x=(l&15)<<2|q>>6,w=q&63,isNaN(l)?x=w=64:isNaN(q)&&(w=64),h=h+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(z)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(t)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(x)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(w);
return h}};e.initEnv()})();
//qingVersionTag: 20250415