|
- import{_ as Ni,d as xi,a as _i,r as U,b as Oe,o as Bi,c as te,e as Li,f as Mi,g as _,n as De,w as ie,v as re,u as ae,t as Ne,h as q,i as Z,j as Fi,k as ji,l as Ie,m as Wi,p as Hi,q as Vi}from"./index.de29349e.js";import{s as ke,g as zi}from"./auth.bfe2dff2.js";function E(){return E=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},E.apply(null,arguments)}function xe(e,n,i,r,t,c,s){try{var a=e[c](s),l=a.value}catch(d){return void i(d)}a.done?n(l):Promise.resolve(l).then(r,t)}function ee(e){return function(){var n=this,i=arguments;return new Promise(function(r,t){var c=e.apply(n,i);function s(l){xe(c,r,t,s,a,"next",l)}function a(l){xe(c,r,t,s,a,"throw",l)}s(void 0)})}}var Sn={exports:{}},Cn={exports:{}};(function(e){function n(i){return e.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,n(i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Cn);(function(e){var n=Cn.exports.default;function i(){e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var r,t={},c=Object.prototype,s=c.hasOwnProperty,a=Object.defineProperty||function(h,f,m){h[f]=m.value},l=typeof Symbol=="function"?Symbol:{},d=l.iterator||"@@iterator",u=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function v(h,f,m){return Object.defineProperty(h,f,{value:m,enumerable:!0,configurable:!0,writable:!0}),h[f]}try{v({},"")}catch{v=function(m,I,b){return m[I]=b}}function k(h,f,m,I){var b=f&&f.prototype instanceof M?f:M,A=Object.create(b.prototype),C=new ve(I||[]);return a(A,"_invoke",{value:Oi(h,m,C)}),A}function S(h,f,m){try{return{type:"normal",arg:h.call(f,m)}}catch(I){return{type:"throw",arg:I}}}t.wrap=k;var D="suspendedStart",H="suspendedYield",y="executing",P="completed",R={};function M(){}function $(){}function F(){}var B={};v(B,d,function(){return this});var ge=Object.getPrototypeOf,ne=ge&&ge(ge(he([])));ne&&ne!==c&&s.call(ne,d)&&(B=ne);var Q=F.prototype=M.prototype=Object.create(B);function Ee(h){["next","throw","return"].forEach(function(f){v(h,f,function(m){return this._invoke(f,m)})})}function oe(h,f){function m(b,A,C,N){var x=S(h[b],h,A);if(x.type!=="throw"){var V=x.arg,j=V.value;return j&&n(j)=="object"&&s.call(j,"__await")?f.resolve(j.__await).then(function(z){m("next",z,C,N)},function(z){m("throw",z,C,N)}):f.resolve(j).then(function(z){V.value=z,C(V)},function(z){return m("throw",z,C,N)})}N(x.arg)}var I;a(this,"_invoke",{value:function(A,C){function N(){return new f(function(x,V){m(A,C,x,V)})}return I=I?I.then(N,N):N()}})}function Oi(h,f,m){var I=D;return function(b,A){if(I===y)throw Error("Generator is already running");if(I===P){if(b==="throw")throw A;return{value:r,done:!0}}for(m.method=b,m.arg=A;;){var C=m.delegate;if(C){var N=Re(C,m);if(N){if(N===R)continue;return N}}if(m.method==="next")m.sent=m._sent=m.arg;else if(m.method==="throw"){if(I===D)throw I=P,m.arg;m.dispatchException(m.arg)}else m.method==="return"&&m.abrupt("return",m.arg);I=y;var x=S(h,f,m);if(x.type==="normal"){if(I=m.done?P:H,x.arg===R)continue;return{value:x.arg,done:m.done}}x.type==="throw"&&(I=P,m.method="throw",m.arg=x.arg)}}}function Re(h,f){var m=f.method,I=h.iterator[m];if(I===r)return f.delegate=null,m==="throw"&&h.iterator.return&&(f.method="return",f.arg=r,Re(h,f),f.method==="throw")||m!=="return"&&(f.method="throw",f.arg=new TypeError("The iterator does not provide a '"+m+"' method")),R;var b=S(I,h.iterator,f.arg);if(b.type==="throw")return f.method="throw",f.arg=b.arg,f.delegate=null,R;var A=b.arg;return A?A.done?(f[h.resultName]=A.value,f.next=h.nextLoc,f.method!=="return"&&(f.method="next",f.arg=r),f.delegate=null,R):A:(f.method="throw",f.arg=new TypeError("iterator result is not an object"),f.delegate=null,R)}function Di(h){var f={tryLoc:h[0]};1 in h&&(f.catchLoc=h[1]),2 in h&&(f.finallyLoc=h[2],f.afterLoc=h[3]),this.tryEntries.push(f)}function me(h){var f=h.completion||{};f.type="normal",delete f.arg,h.completion=f}function ve(h){this.tryEntries=[{tryLoc:"root"}],h.forEach(Di,this),this.reset(!0)}function he(h){if(h||h===""){var f=h[d];if(f)return f.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var m=-1,I=function b(){for(;++m<h.length;)if(s.call(h,m))return b.value=h[m],b.done=!1,b;return b.value=r,b.done=!0,b};return I.next=I}}throw new TypeError(n(h)+" is not iterable")}return $.prototype=F,a(Q,"constructor",{value:F,configurable:!0}),a(F,"constructor",{value:$,configurable:!0}),$.displayName=v(F,p,"GeneratorFunction"),t.isGeneratorFunction=function(h){var f=typeof h=="function"&&h.constructor;return!!f&&(f===$||(f.displayName||f.name)==="GeneratorFunction")},t.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,F):(h.__proto__=F,v(h,p,"GeneratorFunction")),h.prototype=Object.create(Q),h},t.awrap=function(h){return{__await:h}},Ee(oe.prototype),v(oe.prototype,u,function(){return this}),t.AsyncIterator=oe,t.async=function(h,f,m,I,b){b===void 0&&(b=Promise);var A=new oe(k(h,f,m,I),b);return t.isGeneratorFunction(f)?A:A.next().then(function(C){return C.done?C.value:A.next()})},Ee(Q),v(Q,p,"Generator"),v(Q,d,function(){return this}),v(Q,"toString",function(){return"[object Generator]"}),t.keys=function(h){var f=Object(h),m=[];for(var I in f)m.push(I);return m.reverse(),function b(){for(;m.length;){var A=m.pop();if(A in f)return b.value=A,b.done=!1,b}return b.done=!0,b}},t.values=he,ve.prototype={constructor:ve,reset:function(f){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(me),!f)for(var m in this)m.charAt(0)==="t"&&s.call(this,m)&&!isNaN(+m.slice(1))&&(this[m]=r)},stop:function(){this.done=!0;var f=this.tryEntries[0].completion;if(f.type==="throw")throw f.arg;return this.rval},dispatchException:function(f){if(this.done)throw f;var m=this;function I(V,j){return C.type="throw",C.arg=f,m.next=V,j&&(m.method="next",m.arg=r),!!j}for(var b=this.tryEntries.length-1;b>=0;--b){var A=this.tryEntries[b],C=A.completion;if(A.tryLoc==="root")return I("end");if(A.tryLoc<=this.prev){var N=s.call(A,"catchLoc"),x=s.call(A,"finallyLoc");if(N&&x){if(this.prev<A.catchLoc)return I(A.catchLoc,!0);if(this.prev<A.finallyLoc)return I(A.finallyLoc)}else if(N){if(this.prev<A.catchLoc)return I(A.catchLoc,!0)}else{if(!x)throw Error("try statement without catch or finally");if(this.prev<A.finallyLoc)return I(A.finallyLoc)}}}},abrupt:function(f,m){for(var I=this.tryEntries.length-1;I>=0;--I){var b=this.tryEntries[I];if(b.tryLoc<=this.prev&&s.call(b,"finallyLoc")&&this.prev<b.finallyLoc){var A=b;break}}A&&(f==="break"||f==="continue")&&A.tryLoc<=m&&m<=A.finallyLoc&&(A=null);var C=A?A.completion:{};return C.type=f,C.arg=m,A?(this.method="next",this.next=A.finallyLoc,R):this.complete(C)},complete:function(f,m){if(f.type==="throw")throw f.arg;return f.type==="break"||f.type==="continue"?this.next=f.arg:f.type==="return"?(this.rval=this.arg=f.arg,this.method="return",this.next="end"):f.type==="normal"&&m&&(this.next=m),R},finish:function(f){for(var m=this.tryEntries.length-1;m>=0;--m){var I=this.tryEntries[m];if(I.finallyLoc===f)return this.complete(I.completion,I.afterLoc),me(I),R}},catch:function(f){for(var m=this.tryEntries.length-1;m>=0;--m){var I=this.tryEntries[m];if(I.tryLoc===f){var b=I.completion;if(b.type==="throw"){var A=b.arg;me(I)}return A}}throw Error("illegal catch attempt")},delegateYield:function(f,m,I){return this.delegate={iterator:he(f),resultName:m,nextLoc:I},this.method==="next"&&(this.arg=r),R}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports})(Sn);var ce=Sn.exports(),L=ce;try{regeneratorRuntime=ce}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=ce:Function("r","regeneratorRuntime = r")(ce)}function le(e){return e==="undefined"}function ye(){return!le(typeof my)&&my!==null&&!le(typeof my.alert)}var O;(function(e){e.CANCEL="-1",e.SUCCESS="0",e.API_UNDEFINED="1",e.INVALID_PARAMS="2",e.UNKNOWN_ERROR="3",e.UNAUTHORIZED_CALL="4",e.WRONG_CORP_ID="5",e.CREATE_CHAT_FAILED="6",e.UNAUTHORIZED_API="7",e.INVALID_CORP_ID="8",e.SERVER_RESPONSE_ERROR="9",e.WRONG_DEVICE_INFO="10",e.UPLOAD_FAIL="11",e.PROCESS_FAIL="12",e.DUPLICATED_CALL="13",e.TOO_LARGE_PIC="14",e.REQUEST_REJECT_OR_INSECURE_REQUEST="15",e.PC_NOT_ALLOWED_TO_OPEN_SIDE_PANE_OR_MODAL="21",e.PC_CLOSE_SIDE_PANE_OR_MODAL="22",e.UNAUTHORIZED_PARAMS="23",e.GESTURE_PASSWORD_DOES_NOT_EXIST="24",e.NETWORK_ERROR="25"})(O||(O={}));var w;(function(e){e.MOBILE="mobile",e.PC="pc",e.MINI_APP="mini",e.UNKNOWN="unknown"})(w||(w={}));var g;(function(e){e.ANDROID="android",e.IOS="ios",e.UNKNOW="unknow"})(g||(g={}));var X;(function(e){e.UPDATE_NETWORK_STATUS="DINGGOV_ON_NETWORK_TYPE_CHANGED",e.UPDATE_LOCATION="DINGGOV_GEO_LOCATION_UPDATE",e.UPDATE_TRACE="DINGGOV_TRACE_UPDATE",e.ON_SHAKE="onShake"})(X||(X={}));var T;(function(e){e.isDingTalk="DingTalk",e.isMpaas="mPaaS",e.isUnknow="unknow"})(T||(T={}));var G=navigator&&(navigator.swuserAgent||navigator.userAgent)||"",Tn=function(){function e(){this.readyFnStack=[],this.generalEventCallbackStack={},this.apiList={},this.continuousCallbackStack={},this.isH5Mobile=null,this.appType=null,this.platformType=null,this.aliBridge=window&&window.navigator&&window.AlipayJSBridge,this.isReady=!1,this.init(),console.warn("\u8BF7\u5C06 gdt-jsapi \u7248\u672C\u8BF7\u5347\u7EA7\u5230 1.9.24 \u7248\u672C\u4EE5\u4E0A\u7684\u6700\u65B0\u7248\u672C\uFF0C\u8C22\u8C22")}var n=e.prototype;return n.h5AndroidbridgeInit=function(){var i=this;this.h5BridgeReadyPromise=new Promise(function(r,t){var c=function(){try{window.WebViewJavascriptBridgeAndroid=window.nuva&&window.nuva.require(),i.execReadyFn()}catch{}};window.nuva&&(window.nuva.isReady===void 0||window.nuva.isReady)?c():(document.addEventListener("runtimeready",function(){c()},!1),document.addEventListener("runtimefailed",function(s){var a=s&&s.detail||{errorCode:O.INVALID_PARAMS,errorMessage:"unknown nuvajs bootstrap error"};i.handleBridgeResponse(a,r,t)},!1))})},n.h5IosBridgeInit=function(){var i=this;this.h5BridgeReadyPromise=new Promise(function(r,t){if(typeof WebViewJavascriptBridge<"u")try{WebViewJavascriptBridge.init(function(c,s){}),i.execReadyFn()}catch{}else document.addEventListener("WebViewJavascriptBridgeReady",function(){try{WebViewJavascriptBridge&&WebViewJavascriptBridge.init(function(c,s){}),i.execReadyFn()}catch{}},!1)})},n.init=function(){var i=this,r=this.getAppType(),t=this.getContainerType();if(r===w.PC&&window.dingtalk&&!window.dingtalk.isRegister&&(window.dingtalk.isRegister=!0,window.dingtalk.callbackStack={},window.dingtalk.event.register(function(s,a){if(i.continuousCallbackStack[s])i.continuousCallbackStack[s](a);else if(a){var l=""+a.msgId;s==="openapi.event.emit"?(console.log("dingtalk receive event:",a,"identifer is",l),window.dingtalk.callbackStack[l]&&(window.dingtalk.callbackStack[l](a),delete window.dingtalk.callbackStack[l])):s==="im.fileTask.addNewTask"||s==="im.fileTask.updateTask"?(a.msgId||a.taskId)&&typeof i.continuousCallbackStack[a.msgId||a.taskId]=="function"&&i.continuousCallbackStack[a.msgId||a.taskId](s,a):i.generalEventCallbackStack[s]&&i.generalEventCallbackStack[s].forEach(function(d){d.call(i,a)})}})),r===w.MOBILE){if(t===T.isDingTalk)this.platformType===g.ANDROID?!this.h5BridgeReadyPromise&&this.h5AndroidbridgeInit():this.platformType===g.IOS&&!this.h5BridgeReadyPromise&&this.h5IosBridgeInit();else if(t===T.isMpaas&&r===w.MOBILE)if(window.AlipayJSBridge)this.execReadyFn();else{var c=setTimeout(function(){console.warn("window.AlipayJSBridge \u672A\u521D\u59CB\u5316\u5B8C\u6BD5\uFF0C\u8D70\u5230\u515C\u5E95\u903B\u8F91",i.isReady,window.AlipayJSBridge),i.isReady||i.execReadyFn.call(i)},5200);document.addEventListener("AlipayJSBridgeReady",function(){i.isReady||(clearTimeout(c),i.execReadyFn.call(i))},!1)}}else setTimeout(function(){i.execReadyFn()})},n.execReadyFn=function(){this.isReady=!0;for(var i=this.readyFnStack.shift();i;)i&&i(this),i=this.readyFnStack.shift()},n.onReady=function(i){this.isReady?i&&i(this):this.readyFnStack.push(i)},n.setCurrentInvoker=function(i){this.currentInvoker=i},n.getCurrentInvoker=function(){return this.currentInvoker},n.getBridge=function(){return this.aliBridge},n.getContainerType=function(){return/TaurusApp/g.test(G)?/DingTalk/g.test(G)?T.isDingTalk:T.isMpaas:/DingTalk/g.test(G)?T.isDingTalk:/mPaaSClient/g.test(G)||/Nebula/g.test(G)?T.isMpaas:T.isUnknow},n.getAppType=function(){return this.appType||(this.isMobile()?this.appType=w.MOBILE:window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("dingtalk-win")>=0&&window.navigator.userAgent.indexOf("TaurusApp")>=0?this.appType=w.PC:ye()?this.appType=w.MINI_APP:(console.warn("\u68C0\u6D4B\u5230\u9875\u9762\u5728\u975E\u4E13\u6709\u9489\u9489\u5BA2\u6237\u7AEF\u4E2D\u6253\u5F00\uFF0CJSAPI \u8C03\u7528\u53EF\u80FD\u4E0D\u4F1A\u751F\u6548\uFF01"),this.appType=w.UNKNOWN)),this.appType},n.isMobile=function(){var i=/iPhone|iPad|iPod|iOS/i.test(G),r=/Android/i.test(G),t=window&&window.navigator&&window.navigator.userAgent||"";return this.isH5Mobile!==null?this.isH5Mobile:t&&t.indexOf("dingtalk-win")>=0?(this.isH5Mobile=!1,!1):!(!t||!(t.includes("mPaaSClient")||t.includes("Nebula")||t.includes("DingTalk")))&&(this.isH5Mobile=!0,this.platformType=i?g.IOS:r?g.ANDROID:g.UNKNOW,!0)},n.registerEvent=function(i,r){var t=this;if(typeof r=="function")return this.getAppType()===w.PC?(this.generalEventCallbackStack[i]||(this.generalEventCallbackStack[i]=[]),this.generalEventCallbackStack[i].push(r),function(){var c=t.generalEventCallbackStack[i].findIndex(function(s){return s===r});t.generalEventCallbackStack[i].splice(c,1)}):this.getAppType()===w.MOBILE?(document.addEventListener(i,r,!1),function(){document.removeEventListener(i,r)}):void 0;console.error("callback \u53C2\u6570\u5E94\u8BE5\u4E3A\u51FD\u6570")},n.registerClientAPI=function(i,r){this.apiList[i]=r},n.registerAPI=function(i,r){if(this.isMobile(),typeof r=="object"){var t=r,c=this.getAppType();this.registerClientAPI(i,t[c])}else this.registerClientAPI(i,r)},n.invokeMiniApp=function(){var i=ee(L.mark(function r(t,c){var s=this;return L.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return c===void 0&&(c={}),a.abrupt("return",new Promise(function(l,d){c=E({_apiName:t},c);var u=s.apiList[t],p=s.getContainerType();if(!u)return console.warn("API: "+t+"\uFF0C\u672A\u6CE8\u518C"),d("API: "+t+"\uFF0C\u672A\u6CE8\u518C");if(p===T.isMpaas){if(typeof u=="function")return void u.call(null,c,{context:my,resolve:l,reject:d,methodName:t});my.call(t,c,function(v){s.handleBridgeResponse(v,l,d)})}else if(p===T.isDingTalk){if(typeof u=="function")return void u.call(null,c,{context:dd.dtBridge,resolve:l,reject:d,methodName:t,containerType:p,appType:w.MINI_APP});dd.dtBridge({m:"taurus.common."+t,args:c,onSuccess:function(v){s.handleBridgeResponse(v,l,d)},onFail:function(v){s.handleBridgeResponse(v,l,d)}})}}));case 2:case"end":return a.stop()}},r)}));return function(r,t){return i.apply(this,arguments)}}(),n.invokeMobile=function(){var i=ee(L.mark(function r(t,c,s){var a=this;return L.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return c===void 0&&(c={}),l.abrupt("return",new Promise(function(d,u){c=E({_apiName:t},c);var p=a.apiList[t],v=a.getContainerType();if(!p)return console.warn("API: "+t+"\uFF0C\u672A\u6CE8\u518C"),u("API: "+t+"\uFF0C\u672A\u6CE8\u518C");if(v===T.isDingTalk){if(a.platformType===g.IOS){var k=Object.assign({},c);if(k.watch===!0&&typeof WebViewJavascriptBridge<"u"&&WebViewJavascriptBridge.registerHandler(s!=null&&s.dingTalkAPIName?s==null?void 0:s.dingTalkAPIName:"taurus.common."+t,function(y,P){typeof c.onSuccess=="function"&&c.onSuccess.call(null,y),P&&P({errorCode:"0",errorMessage:"success"})}),typeof p=="function")return void p.call(null,c,{context:window.WebViewJavascriptBridge,resolve:d,reject:u,methodName:t,containerType:v,appType:w.MOBILE,platformType:g.IOS,watch:k.watch});window.WebViewJavascriptBridge!==void 0&&window.WebViewJavascriptBridge.callHandler("taurus.common."+t,Object.assign({},k),function(y){!k.watch&&a.handleBridgeResponse(y||{},d,u)})}else if(a.platformType===g.ANDROID){var S=t.split("."),D=S.pop()||"",H=S.join(".")||"taurus.common";if(typeof p=="function")return void p.call(null,c,{context:window.WebViewJavascriptBridgeAndroid,resolve:d,reject:u,methodName:t,containerType:v,appType:w.MOBILE,platformType:g.ANDROID});typeof window.WebViewJavascriptBridgeAndroid=="function"&&window.WebViewJavascriptBridgeAndroid(function(y){a.handleBridgeResponse(y,d,u)},function(y){a.handleBridgeResponse(y,d,u)},H,D,c)}}else if(v===T.isMpaas){if(typeof p=="function")return void p.call(null,c,{context:AlipayJSBridge,resolve:d,reject:u,methodName:t});AlipayJSBridge.call(t,c,function(y){a.handleBridgeResponse(y,d,u)})}}));case 2:case"end":return l.stop()}},r)}));return function(r,t,c){return i.apply(this,arguments)}}(),n.findFitMsgId=function(i){var r,t;return(r=window.dingtalk)!==null&&r!==void 0&&(t=r.callbackStack)!==null&&t!==void 0&&t[i]?this.findFitMsgId(i+1):i},n.invokePC=function(){var i=ee(L.mark(function r(t,c,s){var a=this;return L.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return c===void 0&&(c={}),s===void 0&&(s={msgId:1}),l.abrupt("return",new Promise(function(d,u){try{c=E({_apiName:t},c);var p=a.findFitMsgId(Date.now()),v=s.pcClientAPIName||t;if(s.msgId=p,!window.dingtalk)return Promise.reject(new Error("\u8BF7\u5728\u9489\u9489\u5BB9\u5668\u5185\u4F7F\u7528 JSAPI"));a.apiList[t]?a.apiList[t].call(null,c,s):(console.info("invoke bridge api:",v,p,c),window.dingtalk.platform.invokeAPI(p,v,c)),window.dingtalk&&window.dingtalk.isRegister&&!window.dingtalk.callbackStack&&(window.dingtalk.callbackStack={}),window.dingtalk.callbackStack[""+p]=function(k){var S=k;return S.body?d(S.body):d(S)}}catch(k){u(k)}}));case 3:case"end":return l.stop()}},r)}));return function(r,t,c){return i.apply(this,arguments)}}(),n.handleBridgeResponse=function(i,r,t){i&&i.errorCode?i.errorCode===O.SUCCESS?r(i.result):(console.warn("API \u8C03\u7528\u5931\u8D25",i),t(i)):i&&i.success==="false"?t(i):r(i)},n.invoke=function(){var i=ee(L.mark(function r(t,c,s){var a;return L.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(c===void 0&&(c={}),(a=this.getAppType())!==w.MOBILE){l.next=8;break}if(this.isReady){l.next=5;break}return l.abrupt("return",Promise.reject("\u9519\u8BEF\uFF1A\u8BF7\u5728 dd.ready() \u56DE\u8C03\u4E2D\u4F7F\u7528 JSAPI\uFF0C\u5F53\u524D\u8C03\u7528\u51FD\u6570\uFF1A"+t));case 5:return l.abrupt("return",this.invokeMobile(t,c,s));case 8:if(a!==w.PC){l.next=12;break}return l.abrupt("return",this.invokePC(t,c,s));case 12:if(a!==w.MINI_APP){l.next=16;break}return l.abrupt("return",this.invokeMiniApp(t,c));case 16:return l.abrupt("return",Promise.reject("\u9519\u8BEF\uFF1A\u672A\u5728\u9489\u9489\u8FD0\u884C\u73AF\u5883\u4E0B\u8C03\u7528\u8BE5 API\uFF0C\u65E0\u6548\uFF0C\u8BF7\u68C0\u67E5\u8FD0\u884C\u73AF\u5883"));case 17:case"end":return l.stop()}},r,this)}));return function(r,t,c){return i.apply(this,arguments)}}(),n.existEventListener=function(i){return!!this.continuousCallbackStack[i]},n.registerContinuesEvent=function(i,r){this.continuousCallbackStack[i]=r},n.removeContinuesEvent=function(i){this.existEventListener(i)&&(this.continuousCallbackStack[i](),delete this.continuousCallbackStack[i])},e}();ye()||(window._invoker=window._invoker||new Tn);const o=ye()?new Tn:window._invoker;function Ui(e,n){if(e)return function(i){return typeof i=="function"||n.includes("Sync")||n.startsWith("create")?e(i):new Promise(function(r,t){e(E({},i,{success:function(c){r(c)},fail:function(c){t(c)}}))})}}function _e(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"taurus.common.alert",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"taurus.common","alert",e):a===g.IOS&&t.callHandler("taurus.common.alert",Object.assign({},e),function(u){i(u)})}else t&&t.call("alert",e,function(){i()})}o.registerAPI("alert",{mini:_e,mobile:_e}),En.version={android:"1.3.2",ios:"1.3.2"};function En(e){return o.invoke("alert",e)}o.registerAPI("authConfig",{mini:!0,mobile:!0}),Rn.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"};function Rn(e){return o.invoke("authConfig",e)}function Be(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"taurus.common.bizContactDepartmentsPickerExternal",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"taurus.common","bizContactDepartmentsPickerExternal",e):a===g.IOS&&t.callHandler("taurus.common.bizContactDepartmentsPickerExternal",Object.assign({},e),function(u){o.handleBridgeResponse(u,i,r)})}else t&&t.call("bizContactDepartmentsPickerExternal",e,function(u){o.handleBridgeResponse(u,i,r)})}o.registerAPI("bizContactDepartmentsPickerExternal",{mini:Be,mobile:Be,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.departmentsPickerEx",e)}}),On.version={android:"3.0.3",ios:"3.0.3",pc:"3.0.3"};function On(e){return o.invoke("bizContactDepartmentsPickerExternal",e)}function Le(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"taurus.common.bizCustomContactChooseExternal",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"taurus.common","bizCustomContactChooseExternal",e):a===g.IOS&&t.callHandler("taurus.common.bizCustomContactChooseExternal",Object.assign({},e),function(u){o.handleBridgeResponse(u,i,r)})}else t&&t.call("bizCustomContactChooseExternal",e,function(u){o.handleBridgeResponse(u,i,r)})}o.registerAPI("bizCustomContactChooseExternal",{mini:Le,mobile:Le,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.customContact.chooseEx",e)}}),Dn.version={android:"3.0.3",ios:"3.0.3",pc:"3.0.3"};function Dn(e){return o.invoke("bizCustomContactChooseExternal",e)}function Me(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"taurus.common.bizCustomContactMultipleChooseExternal",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"taurus.common","bizCustomContactMultipleChooseExternal",e):a===g.IOS&&t.callHandler("taurus.common.bizCustomContactMultipleChooseExternal",Object.assign({},e),function(u){o.handleBridgeResponse(u,i,r)})}else t&&t.call("bizCustomContactMultipleChooseExternal",e,function(u){o.handleBridgeResponse(u,i,r)})}o.registerAPI("bizCustomContactMultipleChooseExternal",{mini:Me,mobile:Me,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.customContact.multipleChooseEx",e)}}),Nn.version={android:"3.0.3",ios:"3.0.3",pc:"3.0.3"};function Nn(e){return o.invoke("bizCustomContactMultipleChooseExternal",e)}o.registerAPI("callPhone",{mini:!0,mobile:!0}),xn.version={android:"1.1.0",ios:"1.1.0"};function xn(e){return o.invoke("callPhone",e)}o.registerAPI("version",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"version",{})}});function pe(){return o.invoke("version")}var Gi=1,Ji=-1,_n=0;function Ki(e,n){return typeof e!="number"&&(e=0),typeof n!="number"&&(n=0),e>n?Gi:e<n?Ji:_n}function Se(e,n){e===void 0&&(e=""),n===void 0&&(n="");var i=/^\d+(\.\d+){2,3}$/;if(!i.test(e)||!i.test(n))throw new Error("\u8BF7\u4F20\u5165\u6B63\u786E\u7684\u7248\u672C\u53F7\u683C\u5F0F");for(var r=(""+e).split(".").map(function(l){return parseInt(l,10)}),t=(""+n).split(".").map(function(l){return parseInt(l,10)}),c=Math.max(r.length,t.length),s=0,a=0;a<c&&(s=Ki(r[a],t[a]))===_n;a++);return s}var we=navigator&&navigator.userAgent||"",$i=function(){return we.indexOf("Android")>-1||we.indexOf("Adr")>-1},Qi=function(){return!!we.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},qi=function(){return/(windows)/i.test(navigator.userAgent)};function Yi(e){return Bn.apply(this,arguments)}function Bn(){return(Bn=ee(L.mark(function e(n){var i,r,t,c;return L.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(de[n]){s.next=2;break}return s.abrupt("return",!1);case 2:return s.next=4,pe();case 4:return i=s.sent,r=i.version,t=de[n].version,c=$i()?"android":Qi()?"ios":qi()?"pc":"unknown",s.abrupt("return",!(!t||!t[c])&&Se(r,t[c])>0);case 9:case"end":return s.stop()}},e)}))).apply(this,arguments)}o.registerAPI("checkVPNAppInstalled",{mini:!0,mobile:!0}),Ln.version={android:"1.6.0",ios:"1.6.0"};function Ln(){return o.invoke("checkVPNAppInstalled")}o.registerAPI("checkVPNAppOnline",{mini:!0,mobile:!0}),Mn.version={android:"1.6.0",ios:"1.6.0"};function Mn(){return o.invoke("checkVPNAppOnline")}var Fe;(function(e){e[e.DEFAULT=1]="DEFAULT",e[e.NEW=2]="NEW"})(Fe||(Fe={}));var je;(function(e){e[e.GLOBAL_ORG=1]="GLOBAL_ORG",e[e.FRIEND=2]="FRIEND",e[e.GROUP=4]="GROUP",e[e.RECOMMEND=5]="RECOMMEND",e[e.SPECIAL_ATTENTION=7]="SPECIAL_ATTENTION",e[e.LOAD_GROUP_PERSON=8]="LOAD_GROUP_PERSON",e[e.ORG=9]="ORG"})(je||(je={}));var We;(function(e){e.PHONE_HIDE="PHONE_HIDE",e.CHAT_INVALID="CHAT_INVALID",e.GROUP_CHAT_PULL_INVALID="GROUP_CHAT_PULL_INVALID",e.APP_DING_INVALID="APP_DING_INVALID",e.PHONE_DING_INVALID="PHONE_DING_INVALID",e.SMS_DING_INVALID="SMS_DING_INVALID",e.AUDIO_VIDEO_HIDE="AUDIO_VIDEO_HIDE"})(We||(We={})),o.registerAPI("chooseContact",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.choose",e)}}),Fn.version={pc:"1.1.0"};function Fn(e){return o.invoke("chooseContact",e)}function He(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"taurus.common.chooseContactWithComplexPicker",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"taurus.common","chooseContactWithComplexPicker",e):a===g.IOS&&t.callHandler("taurus.common.chooseContactWithComplexPicker",Object.assign({},e),function(u){o.handleBridgeResponse(u,i,r)})}else t&&t.call("chooseContactWithComplexPicker",e,function(u){u.error&&u.error.toString()===O.API_UNDEFINED?t.call("complexPicker",e,function(p){o.handleBridgeResponse(p,i,r)}):o.handleBridgeResponse(u,i,r)})}o.registerAPI("chooseContactWithComplexPicker",{mini:He,mobile:He,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.complexPicker",e)}}),jn.version={android:"1.1.0",ios:"1.1.0",pc:"1.6.2"};function jn(e){return o.invoke("chooseContactWithComplexPicker",e)}o.registerAPI("chooseDateRangeWithCalendar",{mini:!0,mobile:!0}),Wn.version={android:"1.3.10",ios:"1.3.10"};function Wn(e){return o.invoke("chooseDateRangeWithCalendar",e)}o.registerAPI("chooseDayWithCalendar",{mini:!0,mobile:!0}),Hn.version={android:"1.3.10",ios:"1.3.10"};function Hn(e){return o.invoke("chooseDayWithCalendar",e)}o.registerAPI("chooseDepartments",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.departmentsPicker",e)}}),Vn.version={android:"1.1.0",ios:"1.1.0",pc:"1.6.2"};function Vn(e){return o.invoke("chooseDepartments",e)}o.registerAPI("chooseFile",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.chooseFile",e)}}),zn.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.6"};function zn(e){return o.invoke("chooseFile",e)}o.registerAPI("chooseHalfDayWithCalendar",{mini:!0,mobile:!0}),Un.version={android:"1.3.10",ios:"1.3.10"};function Un(e){return o.invoke("chooseHalfDayWithCalendar",e)}var Ve;(function(e){e[e.image=0]="image",e[e.video=1]="video"})(Ve||(Ve={})),o.registerAPI("dgChooseImage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.dgChooseImage",e)}}),Gn.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.6"};function Gn(e){return o.invoke("dgChooseImage",E({},e,{_apiName:"chooseImage"}))}o.registerAPI("chooseInterconnectionChat",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"chooseInterconnectionChat",e)}}),Jn.version={pc:"2.9.0",ios:"2.9.0",android:"2.9.0"};function Jn(e){return o.invoke("chooseInterconnectionChat",e)}o.registerAPI("chooseImage",{mini:!0}),Kn.version={android:"1.6.2",ios:"1.6.2"};function Kn(e){return new Promise(function(n,i){my.chooseImage(E({},e,{success:function(r){n(r)},fail:function(r){i(r)}}))})}o.registerAPI("chooseSpaceDir",{mini:!0,mobile:!0,pc:function(e,n){e===void 0&&(e={}),window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.chooseSpaceDir",e)}}),$n.version={android:"1.6.0",ios:"1.6.0",pc:"2.6.0"};function $n(){return o.invoke("chooseSpaceDir")}o.registerAPI("chooseTimeWithCalendar",{mini:!0,mobile:!0}),Qn.version={android:"1.3.10",ios:"1.3.10"};function Qn(e){return o.invoke("chooseTimeWithCalendar",e)}o.registerAPI("chooseVideo",{mini:!0,mobile:!0}),qn.version={android:"1.6.2",ios:"1.6.2"};function qn(e){return o.invoke("chooseVideo",e)}function ze(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"biz.navigation.close",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"biz.navigation","close",e):a===g.IOS&&t.callHandler("biz.navigation.close",Object.assign({},e),function(u){o.handleBridgeResponse(u,i,r)})}else t&&t.call("popWindow",e,function(u){o.handleBridgeResponse(u,i,r)})}o.registerAPI("closePage",{mini:ze,mobile:ze,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.navigation.quit",e)}}),Yn.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"};function Yn(e){return o.invoke("closePage",E({},e,{_apiName:"closePage"}))}var Ue;(function(e){e.CODE="code",e.ACCOUNTID="accountId"})(Ue||(Ue={}));var Ge;(function(e){e.CODE="code",e.id="id"})(Ge||(Ge={})),o.registerAPI("complexPickerAdmin",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.complexPickerAdmin",e)}}),Xn.version={pc:"2.8.0"};function Xn(e){return o.invoke("complexPickerAdmin",e)}o.registerAPI("confirm",{mini:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s={message:e.message,title:e.title,okButton:e.buttonLabels[0],cancelButton:e.buttonLabels[1]};c===T.isDingTalk?t({m:"taurus.common.confirm",args:s,onSuccess:function(a){var l={errorCode:O.SUCCESS,result:{buttonIndex:a.ok?0:1}};o.handleBridgeResponse(l,i,r)},onFail:function(a){o.handleBridgeResponse(a,i,r)}}):t&&t.call("confirm",s,function(a){var l={errorCode:O.SUCCESS,result:{buttonIndex:a.ok?0:1}};o.handleBridgeResponse(l,i,r)})},mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType,a={message:e.message,title:e.title,okButton:e.buttonLabels[0],cancelButton:e.buttonLabels[1]};c?s===g.ANDROID?t&&t(function(l){var d={errorCode:O.SUCCESS,result:{buttonIndex:l.ok?0:1}};o.handleBridgeResponse(d,i,r)},function(l){o.handleBridgeResponse(l,i,r)},"taurus.common","confirm",a):s===g.IOS&&t.callHandler("taurus.common.confirm",Object.assign({},a),function(l){o.handleBridgeResponse(l,i,r)}):t&&t.call("confirm",a,function(l){var d={errorCode:O.SUCCESS,result:{buttonIndex:l.ok?0:1}};o.handleBridgeResponse(d,i,r)})},pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"device.notification.confirm",e)}}),Zn.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.2"};function Zn(e){return o.invoke("confirm",e)}o.registerAPI("copyToClipboard",{mini:!0,mobile:!0}),eo.version={android:"1.3.2",ios:"1.3.2"};function eo(e){return o.invoke("copyToClipboard",e)}o.registerAPI("createChatGroup",{mini:!0,mobile:!0}),no.version={android:"1.3.0",ios:"1.3.0",pc:"1.3.0"};function no(e){return o.invoke("createChatGroup",e)}o.registerAPI("createDing",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.ding.create",e)}}),oo.version={android:"1.3.9",ios:"1.3.9",pc:"1.3.9"};function oo(e){return o.invoke("createDing",e)}o.registerAPI("createDingV2",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.ding.createV2",e)}}),to.version={android:"2.7.0",ios:"2.7.0",pc:"2.7.0"};function to(e){return o.invoke("createDingV2",e)}function Je(e,n){e===void 0&&(e={});var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"biz.conference.createVideoConf",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"biz.conference","createVideoConf",e):a===g.IOS&&t.callHandler("biz.conference.createVideoConf",Object.assign({},e),function(u){o.handleBridgeResponse(u,i,r)})}else t&&t.call("createVideoConf",e,function(){i()})}o.registerAPI("createVideoConf",{mini:Je,mobile:Je,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.conference.createVideoConf",E({},e))}}),io.version={android:"3.7.5",ios:"3.7.5",pc:"3.7.5"};function io(e){return o.invoke("createVideoConf",e)}o.registerAPI("createVideoMeeting",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.meeting.create",E({isVideoConference:!0},e))}}),ro.version={android:"1.3.1.1",ios:"1.3.1.1",pc:"1.9.4"};function ro(e){return o.invoke("createVideoMeeting",e)}o.registerAPI("dealWithBackAction",{mobile:!0}),ao.version={android:"1.2.0.10"};function ao(e){return o.invoke("dealWithBackAction",e)}o.registerAPI("disableClosePage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.disableClosePage",{})}}),so.version={pc:"3.4.0"};function so(){return o.invoke("disableClosePage")}o.registerAPI("disablePullToRefresh",{mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType;c?s===g.ANDROID?t&&t(function(){i()},function(){r()},"ui.pullToRefresh","disable",{}):s===g.IOS&&t.callHandler("ui.pullToRefresh.disable",Object.assign({},{}),function(a){i(a)}):t&&t.call("pullRefresh",{pullRefresh:!1},function(){i()})}}),co.version={android:"1.3.0",ios:"1.3.0"};function co(){return o.invoke("disablePullToRefresh",{_apiName:"disablePullToRefresh"})}o.registerAPI("disableWebviewBounce",{mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType;c?s===g.ANDROID?t&&t(function(){i()},function(){r()},"ui.webViewBounce","disable",{}):s===g.IOS&&t.callHandler("ui.webViewBounce.disable",Object.assign({},{}),function(a){i(a)}):t&&t.call("bounce",{enable:!1},function(a){i(a)})}}),lo.version={ios:"1.3.0"};function lo(){return o.invoke("disableWebviewBounce",{_apiName:"disableWebviewBounce"})}o.registerAPI("downloadAudio",{mini:!0,mobile:!0}),uo.version={android:"1.3.0",ios:"1.3.0"};function uo(e){return o.invoke("downloadAudio",e)}var Xi=1;function po(e){return o.invoke("downloadFile",e)}o.registerAPI("downloadFile",{mini:function(e,n){var i=n.resolve,r=n.reject,t=n.containerType,c=n.context;t===T.isDingTalk?c&&c({m:"taurus.common.downloadFile",args:e,onSuccess:function(s){o.handleBridgeResponse(s,i,r)},onFail:function(s){o.handleBridgeResponse(s,i,r)}}):c&&c.call("downloadFile",e,function(s){s.error?r(s):i(s)})},pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.downloadFile",e),o.registerContinuesEvent(n.msgId,function(i,r){i==="im.fileTask.addNewTask"&&(o.removeContinuesEvent(n.msgId),o.registerContinuesEvent(r.taskId,function(t,c){if(t==="im.fileTask.updateTask"){var s=c.doneSize,a=c.fileName,l=c.filePath,d=c.fileSize,u=c.speed;e.onProgress({doneSize:s,fileName:a,filePath:l,fileSize:d,speed:u}),c.status===Xi&&o.removeContinuesEvent(c.taskId)}}))})}}),po.version={pc:"1.3.5"};o.registerAPI("enablePullToRefresh",{mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType;c?s===g.ANDROID?t&&t(function(){i()},function(){r()},"ui.pullToRefresh","enable",{}):s===g.IOS&&t.callHandler("ui.pullToRefresh.enable",Object.assign({},{}),function(){i()}):t&&t.call("pullRefresh",{pullRefresh:!0},function(){i()})}}),fo.version={android:"1.3.0",ios:"1.3.0"};function fo(){return o.invoke("enablePullToRefresh",{_apiName:"enablePullToRefresh"})}o.registerAPI("enableVpn",{mini:!0,mobile:!0}),go.version={android:"1.1.0",ios:"1.1.0"};function go(){return o.invoke("enableVpn")}o.registerAPI("enableWebviewBounce",{mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType;c?s===g.ANDROID?t&&t(function(){i()},function(){r()},"taurus.common","bounce",{enable:!0}):s===g.IOS&&t.callHandler("taurus.common.bounce",Object.assign({},{enable:!0}),function(a){i(a)}):t&&t.call("bounce",{enable:!0},function(a){i(a)})}}),mo.version={ios:"1.3.0"};function mo(){return o.invoke("enableWebviewBounce",{_apiName:"enableWebviewBounce"})}o.registerAPI("exclusiveInvoke",{mini:!0,mobile:!0}),vo.version={ios:"1.9.5",android:"1.9.5"};function vo(e){return o.invoke("exclusiveInvoke",e)}o.registerAPI("faceComparison",{mobile:!0,mini:!0}),ho.version={android:"2.4.0",ios:"2.4.0"};function ho(e){return o.invoke("faceComparison",e)}var Ke;(function(e){e.PNG="png",e.JPG="jpg"})(Ke||(Ke={})),o.registerAPI("faceRecognition",{mobile:!0,mini:!0}),Io.version={android:"2.4.0",ios:"2.4.0"};function Io(e){return o.invoke("faceRecognition",e)}o.registerAPI("getAppInstallStatus",{mini:!0,mobile:!0}),ko.version={android:"2.1.10",ios:"2.1.10"};function ko(e){return o.invoke("getAppInstallStatus",e)}o.registerAPI("getAuthCode",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"runtime.permission.requestAuthCode",e)},mobile:!0,mini:!0}),Ao.version={android:"1.0.0",ios:"1.0.0",pc:"1.0.0"};function Ao(e){return o.invoke("getAuthCode",e)}o.registerAPI("getConfig",{mobile:!0,mini:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getConfig",e)}}),wo.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.2"};function wo(){return o.invoke("getConfig",{})}function Ce(){return o.getContainerType()}o.registerAPI("getDeviceId",{mobile:!0,mini:!0}),bo.version={android:"2.5.0",ios:"2.5.0"};function bo(){return o.invoke("getDeviceId",{})}o.registerAPI("getFromClipboard",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"util.clipboardData.getData",e)}}),Po.version={android:"2.3.1",ios:"2.3.1",pc:"2.6.10"};function Po(){return o.invoke("getFromClipboard")}o.registerAPI("getGeolocation",{mini:!0,mobile:!0}),yo.version={android:"1.2.0",ios:"1.2.0"};function yo(e){return o.invoke("getGeolocation",e)}o.registerAPI("getGeolocationStatus",{mobile:!0,mini:!0}),So.version={android:"1.6.2",ios:"1.6.2"};function So(e){return o.invoke("getGeolocationStatus",e)}o.registerAPI("getHotspotInfo",{mobile:!0,mini:!0}),Co.version={android:"1.3.5",ios:"1.3.5"};function Co(){return o.invoke("getHotspotInfo")}o.registerAPI("getLanguageSetting",{mobile:!0,mini:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getLanguageSetting",e)}}),To.version={android:"1.4.0",ios:"1.4.0",pc:"1.4.0"};function To(){return o.invoke("getLanguageSetting")}o.registerAPI("getLoginUser",{mobile:!0,mini:!0}),Eo.version={android:"1.1.0",ios:"1.1.0"};function Eo(){return o.invoke("getLoginUser")}o.registerAPI("getNetworkType",{mobile:!0,mini:!0}),Ro.version={android:"1.3.0",ios:"1.3.0"};function Ro(){return o.invoke("getNetworkType")}o.registerAPI("getPhoneInfo",{mini:!0,mobile:!0}),Oo.version={android:"1.3.5",ios:"1.3.5"};function Oo(){return o.invoke("getPhoneInfo")}var $e;(function(e){e.SOCKS5="SOCKS5",e.HTTP="HTTP"})($e||($e={})),o.registerAPI("getProxyInfo",{pc:function(e,n){e===void 0&&(e={}),window.dingtalk.platform.invokeAPI(n.msgId,"net.util.getProxyInfo",e)}}),Do.version={pc:"2.10.0"};function Do(){return o.invoke("getProxyInfo",{})}o.registerAPI("getStorageItem",{mobile:!0,mini:!0}),No.version={android:"1.3.1.1",ios:"1.3.1.1"};function No(e){return o.invoke("getStorageItem",e)}o.registerAPI("getTraceStatus",{mobile:!0}),xo.version={android:"1.3.4",ios:"1.3.4"};function xo(e){return o.invoke("getTraceStatus",e)}o.registerAPI("getUUID",{mobile:!0,mini:!0}),_o.version={android:"1.3.5",ios:"1.3.5"};function _o(){return o.invoke("getUUID")}var Zi=/TaurusApp\((\S*)\/(\S*)\)/;function er(){if(window&&window.navigator){var e=window.navigator.userAgent;if(e){var n=e.match(Zi);return Promise.resolve({group:"TaurusApp",name:n[1],version:n[2]})}return Promise.reject("\u8C03\u7528\u9519\u8BEF\uFF1A\u65E0\u6CD5\u68C0\u6D4B\u5230\u5F53\u4E0B\u73AF\u5883\u7684 userAgent\uFF0C\u8BF7\u786E\u4FDD\u5728\u653F\u52A1\u9489\u9489\u5BA2\u6237\u7AEF H5 \u5BB9\u5668\u4E0B\u8C03\u7528\u3002")}}o.registerAPI("getUserAgent",{mobile:!0,mini:!0,pc:!0}),Bo.version={android:"1.6.2",ios:"1.6.2",pc:"1.6.2"};function Bo(){var e=o.getAppType();return e===w.PC||e===w.MOBILE?er():e===w.MINI_APP?o.invoke("getUserAgent",{}):void 0}var Qe,qe,Ye;(function(e){e.off="0",e.on="1"})(Qe||(Qe={})),function(e){e[e.off=0]="off",e[e.on=1]="on"}(qe||(qe={})),function(e){e[e.name=1]="name",e[e.id=2]="id",e[e.custom=3]="custom"}(Ye||(Ye={})),o.registerAPI("getWaterMarkConfig",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getWaterMarkConfig",e)},mini:!0,mobile:!0});function be(e){return o.invoke("getWaterMarkConfig",e)}var fe,Lo="h5Page",nr="meetingDetail",or="docPreview",tr=[Lo,nr,or],W=!le(typeof my)&&my!==null&&!le(typeof my.alert);W&&(fe=my.getSystemInfoSync());var Xe=W?fe.platform:navigator.userAgent,ir=W?fe.screenWidth:window.screen.width,se=(W?fe.pixelRatio:window.devicePixelRatio)||2,Ae=W?Promise.resolve(""):"",rr=function(){function e(i){i===void 0&&(i={}),this.options=E({texts:[""],width:50,height:50,textRotate:-10,textColor:"#000000",textFont:"PingFangSC-Regular,system-ui,sans-serif",fontStyle:"normal",opacity:90,canvas:[],fontSize:14},i),this.options.width*=this.options.fontSize/12,this.options.height*=this.options.fontSize/12,this.options.deg=this.options.textRotate*Math.PI/180,this.options.cosDeg=Math.cos(this.options.deg),this.options.absSinDeg=Math.abs(Math.sin(this.options.deg))}var n=e.prototype;return n.init=function(){var i=this,r=null,t=null;W?t=my.createCanvasContext("canvasBg"):(r=this.createCanvas(),t=r.getContext("2d")),this.calcTextSize();var c=this.options,s=c.allItemsWidth,a=c.drawItems,l=c.height,d=c.containerComp,u=Math.ceil(ir/s),p=new Array(u).fill(a).reduce(function(S,D){return S.concat(D)},[]),v=function(){i.setCanvasStyle(t),i.drawText(t,p),t.translate(0,l),i.drawText(t,p.reverse(),!0)};if(W)return new Promise(function(S){d.setState({width:s*u,height:2*l},function(){setTimeout(function(){v(),t.draw(),S(t.toDataURL("image/png"))},0)})});r.width=s*u,r.height=2*l,r.style.display="none",v();var k=r.toDataURL("image/png");return this.destroy(),k},n.calcTextSize=function(){var i=0,r=0,t=this.options;t.drawItems=[].map.call(t.texts,function(s){var a,l,d,u;if(W){for(var p=0,v=0;v<s.length;v+=1)p+=/[\uff00-\uffff]/.test(s[v])?1:.5;a=1.1*t.fontSize*p,l=1.2*t.fontSize}else{var k=(d='<span style="font:'+t.fontSize+"px "+t.textFont+';visibility:hidden;">'+s+"</span>",(u=document.createElement("div")).innerHTML=d.trim(),u.firstChild);document.body.appendChild(k),a=k.offsetWidth,l=k.offsetHeight,document.body.removeChild(k)}return i=Math.max(i,a),t.fontHeight||(t.fontHeight=l),r+=Math.ceil(t.cosDeg*(t.width<a?a:t.width)),{txt:s,width:a,height:l}}),i>t.width&&(t.width=i);var c=i*t.absSinDeg+t.fontHeight*t.cosDeg;c>t.height&&(t.height=c),t.maxItemWidth=i,t.allItemsWidth=r},n.setCanvasStyle=function(i){var r=this.options,t=r.deg,c=r.absSinDeg,s=r.height,a=r.fontHeight,l=r.fontStyle,d=r.fontSize,u=r.textFont,p=r.textColor,v=r.opacity;i.rotate(t);var k=c*(s-a);i.translate(-k,0),i.font=l+" "+d+"px "+u,i.fillStyle=p,i.textAlign="left",i.textBaseline="bottom",i.globalAlpha=v},n.drawText=function(i,r,t){t===void 0&&(t=!1);var c=this.options,s=c.maxItemWidth,a=c.width,l=c.height,d=c.deg,u=c.cosDeg,p=c.absSinDeg;r.forEach(function(v,k){var S=u*(s-v.width)/2,D=a*u*k,H=Math.abs(D*Math.tan(d))+l;i.fillText(v.txt,D+(t?u*(a-v.width)/2:S),H+(t?p*(a-v.width)/2:0))})},n.createCanvas=function(){var i=document.createElement("canvas");return this.options.canvas.push(i),i},n.destroy=function(){this.options.canvas.forEach(function(i){i.remove(),i=null})},e}();function ar(e,n){var i=JSON.parse(e),r=i.watermark||i;if(!r||String(r.watermarkStatus)==="0"||!Array.isArray(r.targetPages)||!r.targetPages.some(function(p){return p.name===n&&String(p.value)==="1"}))return Ae;var t=[];if(Array.isArray(r.contentType)){var c="";r.contentType.includes(1)&&(c+=r.userName+" "),r.contentType.includes(2)&&(c+=(r.account||"").slice(-4)),c&&t.push(c),r.contentType.includes(0)&&r.contentCustom&&t.push(r.contentCustom)}if(!t.length)return Ae;var s,a,l=/Android|Adr|SymbianOS|Windows\s*Phone|Mobile/.test(Xe),d=/iPhone|iPad|iPod|Mac\s*OS.*Mobile|iOS/.test(Xe),u=String(r.watermarkShowDensity)==="0";return d?u?(s=114,a=66):(s=86,a=45):l?u?(s=47*se,a=40*se):(s=25*se,a=25*se):u?(s=300,a=126):(s=194,a=106),new rr({containerComp:this,texts:t,width:s,height:a,textRotate:-10,textColor:{0:"#FF0000",1:"#000000",2:"#0000FF"}[r.fontColor]||"#000000",textFont:"PingFangSC-Regular,system-ui,sans-serif",fontStyle:String(r.fontStyle)==="0"?"normal":"bold",opacity:(120-parseInt(r.fontDiaphaneity,10))/100,fontSize:{0:12,1:16,2:28}[r.fontSize]||16}).init()}function Pe(e,n){if(e===void 0&&(e={}),n===void 0&&(n=Lo),!tr.includes(n))throw new Error("\u7B2C\u4E8C\u4E2A\u53EF\u9009\u53C2\u6570\uFF0C\u4EC5\u80FD\u4E3A\u201Ch5Page\u201D\u6216\u201CmeetingDetail\u201D");try{return ar.call(this,JSON.stringify(e),n)}catch(i){throw i}}Mo.version={android:"1.1.0",ios:"1.1.0",pc:"1.1.0"};function Mo(e,n){return e===void 0&&(e=""),new Promise(function(i,r){be({pageInfo:e}).then(function(t){try{var c=Pe(t,n);i(c)}catch(s){r(s)}})})}var Ze;(function(e){e[e.ENABLE=1]="ENABLE",e[e.DISABLE=0]="DISABLE"})(Ze||(Ze={})),o.registerAPI("getWaterMarkConfigV2",{mobile:!0,mini:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getWaterMarkConfigV2",e)}}),Te.version={android:"2.8.0",ios:"2.8.0",pc:"2.8.0"};function Te(e){return o.invoke("getWaterMarkConfigV2",e)}var J;(function(e){e[e.DISABLE=0]="DISABLE",e[e.ENABLE=1]="ENABLE"})(J||(J={}));var ue;(function(e){e.IMSESSIONLIST="imSessionList",e.DOCPREVIEW="docPreview",e.H5PAGEOTHER="h5PageOther",e.MEETINGDETAIL="meetingDetail",e.H5PAGEBASIC="h5PageBasic",e.SELECTIONCOMPONENT="selectionComponent",e.CONTACTLIST="contactList",e.CONTACTDETAIL="contactDetail",e.CHAT="chat",e.SECRETCHAT="secretChat",e.CAMERA="camera"})(ue||(ue={}));var en,nn="",sr={1:"normal",2:"bold",3:"italic"};(function(e){e[e.LOOSE=0]="LOOSE",e[e.NORMAL=1]="NORMAL",e[e.DENSE=2]="DENSE"})(en||(en={}));var K;(function(e){e[e.RIGHT=0]="RIGHT",e[e.LEFT=1]="LEFT"})(K||(K={}));var cr=749,lr=326,ur=200,dr=16,on=1.3,pr=function(){function e(i){this.options=Object.assign({texts:"",width:50,height:50,tiltAngle:-15,fontColor:"#171A1D",textFont:"PingFangSC-Regular,system-ui,sans-serif",transparency:90,canvas:[],fontSize:13,tWidth:0,tHeight:0,deg:-15},i,{width:i.leftAndRightSpacing,height:i.upAndDownSpacing}),this.options.deg=this.options.tiltAngle*Math.PI/180}var n=e.prototype;return n.init=function(){var i,r,t,c,s,a,l,d,u,p=null;return u=(p=this.createCanvas()).getContext("2d"),p.width=((i=window)===null||i===void 0||(r=i.screen)===null||r===void 0?void 0:r.width)||((t=document)===null||t===void 0||(c=t.documentElement)===null||c===void 0?void 0:c.clientWidth)||cr,p.height=((s=window)===null||s===void 0||(a=s.screen)===null||a===void 0?void 0:a.height)||((l=document)===null||l===void 0||(d=l.documentElement)===null||d===void 0?void 0:d.clientHeight)||lr,this.calcTextSize(),this.setCanvasStyle(u),this.drawText(u),p.toDataURL("image/png")},n.calcTextSize=function(){var i,r,t=this.options,c="exclusiveDingTalkWaterMarkCustomClass"+100*Math.random(),s=(i='<span id="'+c+'" style="font:'+t.fontSize+"px "+t.textFont+';visibility:hidden;display:inline-block;">'+t.texts+"</span>",(r=document.createElement("div")).innerHTML=i.trim(),r.firstChild);document.body.appendChild(s);var a=document.getElementById(c),l=Math.max(a.clientWidth,t.texts.length*t.fontSize*on)||ur,d=Math.min(a.clientHeight,t.fontSize*on)||dr;t.tWidth=l,t.tHeight=d,document.body.removeChild(s)},n.setCanvasStyle=function(i){var r=this.options,t=r.deg,c=r.fontStyle,s=r.fontSize,a=r.textFont,l=r.fontColor,d=r.transparency;i.rotate(t),i.font=c+" "+s+"px "+a,i.fillStyle=l,i.textAlign="left",i.textBaseline="bottom",i.globalAlpha=(100-d)/100},n.fillContent=function(i,r){for(var t=this.options,c=t.width,s=t.height,a=t.texts,l=t.tWidth,d=t.tHeight,u=0;u<40;u++)for(var p=u*s+d,v=0;v<40;v++){var k=void 0;k=u%2==0?i===K.RIGHT?(l+c)*v:(l+c)*v+l+c:i===K.RIGHT?(l+c)*v+c:(l+c)*v+l,r.fillText(a,i===K.RIGHT?k:-k,p)}},n.drawText=function(i){this.fillContent(K.RIGHT,i),this.fillContent(K.LEFT,i)},n.createCanvas=function(){var i=document.createElement("canvas");return this.options.canvas.push(i),i},e}();function fr(e,n){var i,r,t,c,s,a,l,d;n===void 0&&(n=ue.H5PAGEOTHER);var u=null;try{u=JSON.parse(e)}catch{u={}}var p=(i=u)===null||i===void 0||(r=i.watermark)===null||r===void 0?void 0:r.ruleContent,v=(t=u)===null||t===void 0?void 0:t.userInfo;if((p==null?void 0:p.enable)===J.DISABLE||(p==null?void 0:p.enable)===J.ENABLE&&(p==null||(c=p.effectPage)===null||c===void 0?void 0:c[n])!==J.ENABLE)return nn;var k,S="";return(p==null||(s=p.watermarkContent)===null||s===void 0?void 0:s.enableUsername)===J.ENABLE&&(S+=v==null?void 0:v.userName),(p==null||(a=p.watermarkContent)===null||a===void 0?void 0:a.enablePhoneNumber)===J.ENABLE&&(S+=" "+(v==null?void 0:v.lastFourPhoneNo)),p!=null&&(l=p.watermarkContent)!==null&&l!==void 0&&l.customCopy&&(S+=" "+(p==null||(k=p.watermarkContent)===null||k===void 0?void 0:k.customCopy)),S.length?new pr(Object.assign({texts:S,textFont:"PingFangSC-Regular,system-ui,sans-serif"},p==null?void 0:p.watermarkStyle,{fontStyle:sr[p==null||(d=p.watermarkStyle)===null||d===void 0?void 0:d.fontStyle]})).init():nn}function gr(e,n){n===void 0&&(n=ue.H5PAGEOTHER);try{return fr.call(null,JSON.stringify(e),n)}catch{return""}}function mr(e){return new Promise(function(n,i){pe().then(function(r){var t=r.version;Se(t,"2.8.0")!==-1?Te({pageInfo:e}).then(function(c){try{var s=gr(c,e);n(s)}catch(a){i(a)}}):be({pageInfo:e}).then(function(c){try{var s=Pe(c,e);n(s)}catch(a){i(a)}})}).catch(function(){be({pageInfo:e}).then(function(r){try{var t=Pe(r,e);n(t)}catch(c){i(c)}})})})}o.registerAPI("getWifiStatus",{mobile:!0,mini:!0}),Fo.version={android:"1.3.5",ios:"1.3.5"};function Fo(){return o.invoke("getWifiStatus")}o.registerAPI("getWorkbenchContext",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"getWorkbenchContext",e)}}),jo.version={android:"2.1.10",ios:"2.1.10"};function jo(){return o.invoke("getWorkbenchContext")}o.registerAPI("h5PageBack",{mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType;c?s===g.ANDROID?t&&t(function(a){o.handleBridgeResponse(a,i,r)},function(a){o.handleBridgeResponse(a,i,r)},"biz.navigation","goBack",e):s===g.IOS&&t.callHandler("biz.navigation.goBack",Object.assign({},e),function(a){i(a)}):t&&t.call("h5PageBack",{_apiName:"goBack"},function(){i()})}}),Wo.version={android:"1.3.0",ios:"1.3.9"};function Wo(){return o.invoke("h5PageBack",{_apiName:"goBack"})}function tn(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"device.notification.hidePreloader",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"device.notification","hidePreloader",e):a===g.IOS&&t.callHandler("device.notification.hidePreloader",Object.assign({},e),function(u){i(u)})}else t&&t.call("hideLoading",e,function(){i()})}o.registerAPI("hideLoading",{mini:tn,mobile:tn}),Ho.version={android:"1.3.2",ios:"1.3.2"};function Ho(){return o.invoke("hideLoading")}function vr(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=(n.appType,n.platformType);if(c){var a={show:!1,control:!0,text:""};s===g.ANDROID?t&&t(function(l){o.handleBridgeResponse(l,i,r)},function(l){o.handleBridgeResponse(l,i,r)},"biz.navigation","setRight",a):s===g.IOS&&t.callHandler("biz.navigation.setRight",Object.assign({},a),function(l){i(l)})}else t&&t.call("hideOptionMenu",e,function(){i()})}o.registerAPI("hideOptionMenu",{mobile:vr}),Vo.version={android:"1.1.0",ios:"1.1.0"};function Vo(){return o.invoke("hideOptionMenu")}function rn(e,n){var i=n.resolve,r=n.reject,t=n.containerType,c=n.platformType,s=n.appType,a=n.context,l=Object.assign(e,{hidden:!0});if(t){var d=function(){e.onSuccess&&e.onSuccess(),i()},u=function(){e.onFail&&e.onFail(),r()};s===w.MINI_APP?a&&a({m:"biz.navigation.hideBar",args:l,onSuccess:d,onFail:u}):c===g.ANDROID?a&&a(d,u,"biz.navigation","hideBar",l):c===g.IOS&&a.callHandler("biz.navigation.hideBar",Object.assign({},l),function(){i()})}else a&&a.call("hideTitlebar",l,function(){i()})}o.registerAPI("hideTitlebar",{mini:rn,mobile:rn}),zo.version={android:"2.1.0",ios:"2.1.0"};function zo(){return o.invoke("hideTitlebar")}o.registerAPI("isDownloadFileExist",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.isLocalFileExist",e)}}),Uo.version={pc:"1.3.5"};function Uo(e){return o.invoke("isDownloadFileExist",e)}function an(e,n){e===void 0&&(e={});var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"biz.conference.joinScheduleConf",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"biz.conference","joinScheduleConf",e):a===g.IOS&&t.callHandler("biz.conference.joinScheduleConf",Object.assign({},e),function(u){o.handleBridgeResponse(u,i,r)})}else t&&t.call("joinScheduleConf",e,function(){i()})}o.registerAPI("joinScheduleConf",{mini:an,mobile:an,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.conference.joinScheduleConf",E({},e))}}),Go.version={android:"3.7.5",ios:"3.7.5",pc:"3.7.5"};function Go(e){return o.invoke("joinScheduleConf",e)}function sn(e,n){e===void 0&&(e={});var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"biz.conference.joinVideoConf",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"biz.conference","joinVideoConf",e):a===g.IOS&&t.callHandler("biz.conference.joinVideoConf",Object.assign({},e),function(u){o.handleBridgeResponse(u,i,r)})}else t&&t.call("joinVideoConf",e,function(){i()})}o.registerAPI("joinVideoConf",{mini:sn,mobile:sn,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.conference.joinVideoConf",E({},e))}}),Jo.version={android:"3.7.5",ios:"3.7.5",pc:"3.7.5"};function Jo(e){return o.invoke("joinVideoConf",e)}o.registerAPI("joinVideoMeeting",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.conference.joinVideoMeeting",E({},e))}}),Ko.version={android:"3.9.0",ios:"3.9.0",pc:"3.9.0"};function Ko(e){return o.invoke("joinVideoMeeting",e)}o.registerAPI("locateOnMap",{mobile:!0,mini:!0}),$o.version={android:"1.3.0",ios:"1.3.0"};function $o(e){return o.invoke("locateOnMap",e)}function hr(e,n){return o.registerEvent(e,n)}o.registerAPI("onAudioPlayEnd",{mini:!0,mobile:!0}),Qo.version={android:"1.6.2",ios:"1.6.2"};function Qo(){return o.invoke("onAudioPlayEnd")}o.registerAPI("onRecordAudioEnd",{mini:!0,mobile:!0}),qo.version={android:"1.3.0",ios:"1.3.0"};function qo(e){return o.invoke("onRecordAudioEnd",e)}o.registerAPI("openApiInvoker",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"openApiInvoker",e)}}),Yo.version={ios:"3.0.1",android:"3.0.1",pc:"3.0.1"};function Yo(e){return o.invoke("openApiInvoker",e)}o.registerAPI("openApp",{mini:!0,mobile:!0}),Xo.version={android:"1.3.2",ios:"1.3.2"};function Xo(e){return o.invoke("openApp",e)}o.registerAPI("openBrowser",{mini:!0,mobile:!0}),Zo.version={android:"1.2.3"};function Zo(e){return o.invoke("openBrowser",e)}o.registerAPI("openChat",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"internal.chat.toConversation",{cid:e.chatId})}}),et.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"};function et(e){return o.invoke("openChat",e)}o.registerAPI("openDownloadFile",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.openLocalFile",e)}}),nt.version={pc:"1.3.5"};function nt(e){return o.invoke("openDownloadFile",e)}function cn(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;pe().then(function(l){var d=l.version,u=Se(d,"1.6.2")!==-1;if(c){var p=function(k){o.handleBridgeResponse(k,i,r)},v=function(k){o.handleBridgeResponse(k,i,r)};s===w.MINI_APP?t&&t({m:u?"taurus.common.openLink":"taurus.common.pushWindow",args:e,onSuccess:p,onFail:v}):a===g.ANDROID?t&&t(p,v,"taurus.common",u?"openLink":"pushWindow",e):a===g.IOS&&t.callHandler(u?"taurus.common.openLink":"taurus.common.pushWindow",Object.assign({},e),function(k){o.handleBridgeResponse(k,i,r)})}else t&&t.call(u?"openLink":"pushWindow",e,function(k){o.handleBridgeResponse(k,i,r)})})}o.registerAPI("openLink",{mini:cn,mobile:cn,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.openLink",e)}}),ot.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"};function ot(e){return o.invoke("openLink",e)}o.registerAPI("openPage",{mini:!0,mobile:!0}),tt.version={android:"1.1.0",ios:"1.1.0"};function tt(e){return o.invoke("openPage",e)}o.registerAPI("dgOpenApp",{mobile:!0,mini:!0}),it.version={android:"1.3.1.1",ios:"1.3.1.1"};function it(e){return o.invoke("dgOpenApp",E({},e,{_apiName:"openSchemeUrl"}))}o.registerAPI("openSlidePanel",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.openSlidePanel",e)}}),rt.version={pc:"1.3.5"};function rt(e){return o.invoke("openSlidePanel",e)}o.registerAPI("openWatermarkCamera",{mobile:!0,mini:!0}),at.version={android:"1.3.7",ios:"1.3.7"};function at(){return o.invoke("openWatermarkCamera")}o.registerAPI("pauseAudio",{mini:!0,mobile:!0}),st.version={android:"1.3.0",ios:"1.3.0"};function st(e){return o.invoke("pauseAudio",e)}o.registerAPI("pickChat",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.chat.pickConversation",e)}}),ct.version={android:"1.2.0",ios:"1.2.0",pc:"2.9.0"};function ct(e){return o.invoke("pickChat",e)}o.registerAPI("pickChatByCorpId",{mini:!0,mobile:!0});function Ir(e){return o.invoke("pickChatByCorpId",e)}o.registerAPI("pickGroupChat",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.contact.pickGroupChat",e)}}),lt.version={pc:"2.10.30"};function lt(e){return o.invoke("pickGroupChat",e)}function ln(e,n){e===void 0&&(e={});var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:a===g.ANDROID?"taurus.common.pickGroupConversation":"internal.chat.pickGroupConversation",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"taurus.common","pickGroupConversation",e):a===g.IOS&&t.callHandler("internal.chat.pickGroupConversation",Object.assign({},e),function(u){i(u)})}else t&&t.call("pickGroupConversation",e,function(){i()})}o.registerAPI("pickGroupConversation",{mini:ln,mobile:ln}),ut.version={android:"2.8.0",ios:"2.8.0"};function ut(e){return e===void 0&&(e={owner:!1}),o.invoke("pickGroupConversation",e)}o.registerAPI("playAudio",{mini:!0,mobile:!0}),dt.version={android:"1.3.0",ios:"1.3.0"};function dt(e){return o.invoke("playAudio",e)}o.registerAPI("previewDoc",{mini:!0,mobile:!0}),pt.version={android:"1.1.0",ios:"1.1.0"};function pt(e){return o.invoke("previewDoc",e)}o.registerAPI("previewImage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.previewImage",e)}}),ft.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"};function ft(e){return o.invoke("previewImage",e)}o.registerAPI("printFile",{mini:!0,mobile:!0}),gt.version={android:"2.2.10"};function gt(e){return o.invoke("printFile",e)}o.registerAPI("printNativeLog",{mini:!0,mobile:!0}),mt.version={android:"1.9.4",ios:"1.9.4"};function mt(e){return o.invoke("printNativeLog",e)}function un(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType,l={message:e.message,title:e.title,okButton:e.buttonLabels[0],cancelButton:e.buttonLabels[1]};if(c){var d=function(p){o.handleBridgeResponse(p,i,r)},u=function(p){o.handleBridgeResponse(p,i,r)};s===w.MINI_APP?t&&t({m:"taurus.common.prompt",args:l,onSuccess:d,onFail:u}):a===g.ANDROID?t&&t(d,u,"taurus.common","prompt",l):a===g.IOS&&t.callHandler("taurus.common.prompt",Object.assign({},l),function(p){o.handleBridgeResponse(p,i,r)})}else t&&t.call("prompt",l,function(p){var v={errorCode:O.SUCCESS,result:{buttonIndex:p.ok?0:1,value:p.inputValue}};o.handleBridgeResponse(v,i,r)})}o.registerAPI("prompt",{mini:un,mobile:un,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"device.notification.prompt",e)}}),vt.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.2"};function vt(e){return o.invoke("prompt",e)}o.registerAPI("pushWindow",{mini:!0,mobile:!0}),ht.version={android:"2.9.7",ios:"2.9.7"};function ht(e){return o.invoke("pushWindow",e)}o.registerAPI("readImageToBase64",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"readImageToBase64",e)}}),It.version={ios:"2.1.0",android:"2.1.0",pc:"2.1.0"};function It(e){return o.invoke("readImageToBase64",e)}function kr(e){typeof e=="function"?o.onReady(e):console.error("dd.ready's param must be function! ")}var dn;(function(e){e[e.ADJUST_BY_NET=0]="ADJUST_BY_NET",e[e.LOW_QUALITY=1]="LOW_QUALITY",e[e.MID_QUALITY=2]="MID_QUALITY",e[e.HIGH_QUALITY=3]="HIGH_QUALITY",e[e.NOT_COMPRESSED=4]="NOT_COMPRESSED",e[e.CUSTOM=5]="CUSTOM"})(dn||(dn={})),o.registerAPI("reduceImageSize",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"reduceImageSize",e)}}),kt.version={ios:"2.1.0",android:"2.1.0",pc:"2.1.0"};function kt(e){return o.invoke("reduceImageSize",e)}o.registerAPI("removeStorageItem",{mobile:!0,mini:!0}),At.version={android:"1.3.1.1",ios:"1.3.1.1"};function At(e){return o.invoke("removeStorageItem",e)}function pn(e,n){var i=n.resolve,r=n.reject,t=n.containerType,c=n.platformType,s=n.appType,a=n.context;if(t){var l=function(){e.onSuccess&&e.onSuccess(),i()},d=function(){e.onFail&&e.onFail(),r()};s===w.MINI_APP?a&&a({m:"biz.navigation.replace",args:e,onSuccess:l,onFail:d}):c===g.ANDROID?a&&a(l,d,"biz.navigation","replace",e):c===g.IOS&&a.callHandler("taurus.common.replacePage",Object.assign({},e),function(){i()})}else a&&a.call("replacePage",e,function(){i()})}o.registerAPI("replacePage",{mini:pn,mobile:pn}),wt.version={android:"1.3.2",ios:"1.3.2"};function wt(e){return o.invoke("replacePage",e)}o.registerAPI("resetView",{mini:!0,mobile:!0}),bt.version={android:"1.3.0",ios:"1.3.0"};function bt(){return o.invoke("resetView")}o.registerAPI("resumeAudio",{mini:!0,mobile:!0}),Pt.version={android:"1.3.0",ios:"1.3.0"};function Pt(e){return o.invoke("resumeAudio",e)}o.registerAPI("rotateView",{mini:!0,mobile:!0}),yt.version={android:"1.3.0",ios:"1.3.0"};function yt(e){return o.invoke("rotateView",e)}o.registerAPI("scan",{mini:!0,mobile:!0}),St.version={android:"1.3.2",ios:"1.3.2"};function St(e){return o.invoke("scan",e)}o.registerAPI("searchOnMap",{mini:!0,mobile:!0}),Ct.version={android:"1.3.2",ios:"1.3.2"};function Ct(e){return o.invoke("searchOnMap",e)}function Ar(e){return E({},e,{actionId:"",actionType:"0"})}function fn(e,n){var i=n.resolve,r=n.context;r&&r.call("sendOutData",Ar(e),function(){i()})}o.registerAPI("cardSendOutData",{mini:fn,mobile:fn}),Tt.version={android:"2.5.0",ios:"2.5.0"};function Tt(e){return o.invoke("cardSendOutData",e)}var gn;(function(e){e.DEFAULT="0",e.DISABLEALL="1",e.ENABLEALL="2"})(gn||(gn={})),o.registerAPI("setLocalScreenShotPolicy",{mini:!0,mobile:!0}),Et.version={android:"2.12.12",ios:"2.12.12"};function Et(e){return o.invoke("setLocalScreenShotPolicy",e)}function wr(e,n){var i=n.resolve,r=n.reject,t=n.containerType,c=n.platformType,s=n.context;t?c===g.ANDROID?s&&s(function(a){e.onSuccess&&e.onSuccess(),i()},function(a){r()},"biz.navigation","setIcon",e):c===g.IOS&&s.callHandler("biz.navigation.setIcon",Object.assign({},e),function(a){i()}):s&&s.call("setNavIcon",e,function(a){i()})}o.registerAPI("setNavIcon",{mobile:wr}),Rt.version={android:"1.3.0",ios:"1.3.0"};function Rt(e){return o.invoke("setNavIcon",e)}function mn(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType,l=n.watch;if(c){var d=function(p){e.onSuccess&&e.onSuccess(),o.handleBridgeResponse(p,i,r)},u=function(p){o.handleBridgeResponse(p,i,r)};s===w.MINI_APP?t&&t({m:"biz.navigation.setLeft",args:e,onSuccess:d,onFail:u}):a===g.ANDROID?t&&t(d,u,"biz.navigation","setLeft",e):a===g.IOS&&t.callHandler("biz.navigation.setLeft",Object.assign({},e),function(p){!l&&i(p)})}else t&&t.call("setNavLeftText",e,function(){i()})}o.registerAPI("setNavLeftText",{mini:mn,mobile:mn,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.navigation.setLeft",e)}}),Ot.version={ios:"1.2.0",pc:"1.2.0"};function Ot(e){var n=Ce();return o.invoke("setNavLeftText",n===T.isDingTalk?Object.assign({watch:!0,show:!0,control:!1,showIcon:!0,text:""},e):e,{dingTalkAPIName:n===T.isDingTalk?"biz.navigation.setLeft":null})}o.registerAPI("setOptionMenu",{mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType;if(c){var a,l,d={text:e.title,show:e.show===void 0||e.show,control:e.control===void 0||e.control};if(s===g.ANDROID)t&&t(function(v){e.onSuccess&&e.onSuccess(v),i(v)},function v(k){e.onFail&&e.onFail(k),r(v)},"biz.navigation",(e==null||(a=e.menus)===null||a===void 0?void 0:a.length)>1?"setMenu":"setRight",(e==null||(l=e.menus)===null||l===void 0?void 0:l.length)>1?e:d);else if(s===g.IOS){var u,p;t.callHandler((e==null||(u=e.menus)===null||u===void 0?void 0:u.length)>1?"biz.navigation.setMenu":"biz.navigation.setRight",Object.assign({},(e==null||(p=e.menus)===null||p===void 0?void 0:p.length)>1?e:d),function(){i()})}}else t&&t.call("setOptionMenu",e,function(){i()})}}),Dt.version={android:"1.1.0",ios:"1.1.0"};function Dt(e){var n=Ce();return o.invoke("setOptionMenu",n===T.isDingTalk?Object.assign({watch:!0,show:!0,control:!1,showIcon:!0,text:""},e):e,n===T.isDingTalk?{dingTalkAPIName:"biz.navigation.setRight"}:null)}o.registerAPI("setProxyInfo",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"net.util.setProxyInfo",e)}}),Nt.version={pc:"2.10.0"};function Nt(e){return o.invoke("setProxyInfo",e)}o.registerAPI("setStorageItem",{mobile:!0,mini:!0}),xt.version={android:"1.3.1.1",ios:"1.3.1.1"};function xt(e){return o.invoke("setStorageItem",e)}var vn;function hn(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"biz.navigation.setTitle",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"biz.navigation","setTitle",e):a===g.IOS&&t.callHandler("biz.navigation.setTitle",Object.assign({},e),function(u){o.handleBridgeResponse(u,i,r)})}else t&&t.call("setTitle",e,function(){i()})}(function(e){e.TRUE="true",e.FALSE="false"})(vn||(vn={})),o.registerAPI("setTitle",{mini:hn,mobile:hn,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.navigation.setTitle",e)}}),_t.version={android:"1.2.0",ios:"1.2.0",pc:"1.2.0"};function _t(e){return o.invoke("setTitle",e)}o.registerAPI("shareFileToMessage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"shareFileToMessage",e)}}),Bt.version={android:"1.8.2",ios:"1.8.2",pc:"1.8.2"};function Bt(e){return o.invoke("shareFileToMessage",e)}o.registerAPI("shareImageToMessage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"shareImageToMessage",e)}}),Lt.version={android:"1.8.2",ios:"1.8.2",pc:"1.8.2"};function Lt(e){return o.invoke("shareImageToMessage",e)}o.registerAPI("shareToMessage",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.share",e)}}),Mt.version={android:"1.3.5",ios:"1.3.5",pc:"1.3.5"};function Mt(e){return o.invoke("shareToMessage",e)}o.registerAPI("shootVideo",{mini:!0,mobile:!0}),Ft.version={android:"1.3.5",ios:"1.3.5"};function Ft(){return o.invoke("shootVideo")}o.registerAPI("showActionSheet",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"device.notification.actionSheet",e)}}),jt.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.2"};function jt(e){return o.invoke("showActionSheet",e)}o.registerAPI("showCallMenu",{mini:!0,mobile:!0}),Wt.version={android:"1.3.9",ios:"1.3.9"};function Wt(e){return o.invoke("showCallMenu",e)}o.registerAPI("showDatePicker",{mobile:!0,mini:!0}),Ht.version={android:"1.3.0",ios:"1.3.0"};function Ht(e){return o.invoke("showDatePicker",e)}o.registerAPI("showDateTimePicker",{mini:!0,mobile:!0}),Vt.version={android:"1.3.10",ios:"1.3.10"};function Vt(e){return o.invoke("showDateTimePicker",e)}o.registerAPI("showExtendModal",{mini:!0,mobile:!0}),zt.version={android:"1.3.5",ios:"1.3.5"};function zt(e){return o.invoke("showExtendModal",e)}o.registerAPI("showHomeBottomTab",{mobile:!0}),Ut.version={android:"1.3.0",ios:"1.3.0"};function Ut(e){return o.invoke("showHomeBottomTab",e)}function In(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType;if(c){var l=function(u){o.handleBridgeResponse(u,i,r)},d=function(u){o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?t&&t({m:"device.notification.showPreloader",args:e,onSuccess:l,onFail:d}):a===g.ANDROID?t&&t(l,d,"device.notification","showPreloader",e):a===g.IOS&&t.callHandler("device.notification.showPreloader",Object.assign({},e),function(u){i(u)})}else t&&t.call("showLoading",e,function(){i()})}o.registerAPI("showLoading",{mini:In,mobile:In}),Gt.version={android:"1.3.2",ios:"1.3.2"};function Gt(e){return o.invoke("showLoading",e)}o.registerAPI("showModal",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.openModal",e)}}),Jt.version={android:"1.3.5",ios:"1.3.5",pc:"1.3.5"};function Jt(e){return o.invoke("showModal",e)}o.registerAPI("showMultiSelect",{mini:!0,mobile:!0}),Kt.version={android:"1.3.10",ios:"1.3.10"};function Kt(e){return o.invoke("showMultiSelect",e)}o.registerAPI("showOnMap",{mini:!0,mobile:!0}),$t.version={android:"1.3.2",ios:"1.3.2"};function $t(e){return o.invoke("showOnMap",e)}o.registerAPI("showOptionMenu",{mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.platformType;n.containerType?c===g.ANDROID?t&&t(function(){i()},function(){r()},"taurus.common","showOptionMenu",e):c===g.IOS&&t.callHandler("taurus.common.showOptionMenu",Object.assign({},e),function(){i()}):t&&t.call("showOptionMenu",e,function(){i()})}}),Qt.version={android:"1.1.0",ios:"1.1.0"};function Qt(){return o.invoke("showOptionMenu")}o.registerAPI("showPlainInputUponKeyboard",{mobile:!0,mini:!0}),qt.version={android:"1.3.0",ios:"1.3.0"};function qt(e){return o.invoke("showPlainInputUponKeyboard",e)}o.registerAPI("showQuickCallMenu",{mini:!0,mobile:!0}),Yt.version={android:"1.6.2",ios:"1.6.2"};function Yt(e){return o.invoke("showQuickCallMenu",e)}o.registerAPI("showSelect",{mini:!0,mobile:!0}),Xt.version={android:"1.3.2",ios:"1.3.2"};function Xt(e){return o.invoke("showSelect",e)}o.registerAPI("showSignature",{mobile:!0}),Zt.version={android:"1.3.4"};function Zt(e){return o.invoke("showSignature",e)}o.registerAPI("showSocialShare",{mini:!0,mobile:!0}),ei.version={android:"1.2.0.10",ios:"1.2.0.10"};function ei(e){return o.invoke("showSocialShare",e)}o.registerAPI("showTimePicker",{mobile:!0,mini:!0}),ni.version={android:"1.3.0",ios:"1.3.0"};function ni(e){return o.invoke("showTimePicker",e)}function kn(e,n){var i=n.resolve,r=n.reject,t=n.containerType,c=n.platformType,s=n.appType,a=n.context,l=Object.assign(e,{hidden:!1});if(t){var d=function(){e.onSuccess&&e.onSuccess(),i()},u=function(){e.onFail&&e.onFail(),r()};s===w.MINI_APP?a&&a({m:"biz.navigation.hideBar",args:l,onSuccess:d,onFail:u}):c===g.ANDROID?a&&a(d,u,"biz.navigation","hideBar",l):c===g.IOS&&a.callHandler("biz.navigation.hideBar",Object.assign({},l),function(){i()})}else a&&a.call("showTitlebar",l,function(){i()})}o.registerAPI("showTitlebar",{mini:kn,mobile:kn}),oi.version={android:"2.1.0",ios:"2.1.0"};function oi(){return o.invoke("showTitlebar")}o.registerAPI("startFaceRecognition",{mini:!0,mobile:!0}),ti.version={android:"1.8.2",ios:"1.8.2"};function ti(e){return o.invoke("startFaceRecognition",e)}function An(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.platformType,s=n.containerType,a=n.appType,l=o.registerEvent(X.UPDATE_LOCATION,function(p){var v=p.data;v.errorCode!==O.SUCCESS?e.onFail&&e.onFail(v):e.onSuccess&&e.onSuccess(v.result)});if(s){var d=function(p){o.registerContinuesEvent(e.sceneId,l),o.handleBridgeResponse(p,i,r)},u=function(p){o.registerContinuesEvent(e.sceneId,l),o.handleBridgeResponse(p,i,r)};a===w.MINI_APP?(console.log("taurus.common.startGeolocation",e),t&&t({m:"taurus.common.startGeolocation",args:e,onSuccess:d,onFail:u})):c===g.ANDROID?t&&t(d,u,"taurus.common","startGeolocation",e):c===g.IOS&&t.callHandler("taurus.common.startGeolocation",Object.assign({},e),function(p){o.registerContinuesEvent(e.sceneId,l),o.handleBridgeResponse(p,i,r)})}else t&&t.call("startGeolocation",e,function(p){o.registerContinuesEvent(e.sceneId,l),o.handleBridgeResponse(p,i,r)})}o.registerAPI("startGeolocation",{mobile:An,mini:An}),ii.version={android:"1.3.2",ios:"1.3.2"};function ii(e){return o.invoke("startGeolocation",e)}function wn(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.appType,a=n.platformType,l=o.registerEvent(X.UPDATE_NETWORK_STATUS,function(p){var v=p.data;v.errorCode!==O.SUCCESS?e.onFail&&e.onFail(v):e.onSuccess&&e.onSuccess(v.result)});if(c){var d=function(p){o.registerContinuesEvent(p.result.requestId,l),o.handleBridgeResponse(p,i,r)},u=function(p){o.registerContinuesEvent(p.result.requestId,l),o.handleBridgeResponse(p,i,r)};s===w.MINI_APP?t&&t({m:"taurus.common.startListenNetworkStatus",args:e,onSuccess:d,onFail:u}):a===g.ANDROID?t&&t(d,u,"taurus.common","startListenNetworkStatus",e):a===g.IOS&&t.callHandler("taurus.common.startListenNetworkStatus",Object.assign({},e),function(p){o.registerContinuesEvent(p.result.requestId,l),o.handleBridgeResponse(p,i,r)})}else t&&t.call("startListenNetworkStatus",e,function(p){o.registerContinuesEvent(p.result.requestId,l),o.handleBridgeResponse(p,i,r)})}o.registerAPI("startListenNetworkStatus",{mobile:wn,mini:wn}),ri.version={android:"1.3.1.1",ios:"1.3.1.1"};function ri(e){return o.invoke("startListenNetworkStatus",e)}o.registerAPI("startRecordAudio",{mini:!0,mobile:!0}),ai.version={android:"1.3.0",ios:"1.3.0"};function ai(e){return o.invoke("startRecordAudio",e)}function br(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType,a=n.appType,l=o.registerEvent(X.UPDATE_TRACE,function(p){var v=p.data;v.errorCode&&v.errorCode!==O.SUCCESS?e.onFail&&e.onFail(v):e.onSuccess&&e.onSuccess(v.result||v)});if(c){var d=function(p){o.registerContinuesEvent(e.traceId,l),o.handleBridgeResponse(p,i,r)},u=function(p){o.registerContinuesEvent(e.traceId,l),o.handleBridgeResponse(p,i,r)};a===w.MINI_APP?t&&t({m:"taurus.common.startTraceReport",args:e,onSuccess:d,onFail:u}):s===g.ANDROID?t&&t(d,u,"taurus.common","startTraceReport",e):s===g.IOS&&t.callHandler("taurus.common.startTraceReport",Object.assign({},e),function(p){o.registerContinuesEvent(e.traceId,l),o.handleBridgeResponse(p,i,r)})}else t&&t.call("startTraceReport",e,function(p){o.registerContinuesEvent(e.traceId,l),o.handleBridgeResponse(p,i,r)})}o.registerAPI("startTraceReport",{mobile:br,mini:!0}),si.version={android:"1.3.4",ios:"1.3.4"};function si(e){return o.invoke("startTraceReport",e)}o.registerAPI("startVPNApp",{mini:!0,mobile:!0}),ci.version={android:"1.6.0",ios:"1.6.0"};function ci(e){return o.invoke("startVPNApp",e)}function Pr(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType,a=o.registerEvent(X.ON_SHAKE,function(){e.onSuccess&&e.onSuccess()});c?s===g.ANDROID?t&&t(function(l){e.onSuccess&&e.onSuccess(),i()},function(l){r()},"taurus.common","startWatchShake",e):s===g.IOS&&t.callHandler("taurus.common.startWatchShake",Object.assign({},e),function(l){i()}):t&&t.call("startWatchShake",e,function(l){o.registerContinuesEvent("shake",a),o.handleBridgeResponse(l,i,r)})}o.registerAPI("startWatchShake",{mobile:Pr}),li.version={android:"1.6.2",ios:"1.6.2"};function li(e){return o.invoke("startWatchShake",e)}o.registerAPI("stopAudio",{mini:!0,mobile:!0}),ui.version={android:"1.3.0",ios:"1.3.0"};function ui(e){return o.invoke("stopAudio",e)}function bn(e,n){var i=n.resolve,r=n.reject,t=n.containerType,c=n.platformType,s=n.appType,a=n.context;if(t){var l=function(u){o.removeContinuesEvent(e.sceneId),o.handleBridgeResponse(u,i,r)},d=function(u){o.removeContinuesEvent(e.sceneId),o.handleBridgeResponse(u,i,r)};s===w.MINI_APP?a&&a({m:"taurus.common.stopGeolocation",args:e,onSuccess:l,onFail:d}):c===g.ANDROID?a&&a(l,d,"taurus.common","stopGeolocation",e):c===g.IOS&&a.callHandler("taurus.common.stopGeolocation",Object.assign({},e),function(u){o.removeContinuesEvent(e.sceneId),o.handleBridgeResponse(u,i,r)})}else a&&a.call("stopGeolocation",e,function(u){o.removeContinuesEvent(e.sceneId),o.handleBridgeResponse(u,i,r)})}o.registerAPI("stopGeolocation",{mobile:bn,mini:bn}),di.version={android:"1.3.2",ios:"1.3.2"};function di(e){return o.invoke("stopGeolocation",e)}function Pn(e,n){var i=n.resolve,r=n.reject,t=n.containerType,c=n.appType,s=n.platformType,a=n.context;if(t){var l=function(u){o.removeContinuesEvent(e.requestId),o.handleBridgeResponse(u,i,r)},d=function(u){o.removeContinuesEvent(e.requestId),o.handleBridgeResponse(u,i,r)};c===w.MINI_APP?a&&a({m:"taurus.common.stopListenNetworkStatus",args:e,onSuccess:l,onFail:d}):s===g.ANDROID?a&&a(l,d,"taurus.common","stopListenNetworkStatus",e):s===g.IOS&&a.callHandler("taurus.common.stopListenNetworkStatus",Object.assign({},e),function(u){o.removeContinuesEvent(e.requestId),o.handleBridgeResponse(u,i,r)})}else a&&a.call("stopListenNetworkStatus",e,function(u){o.removeContinuesEvent(e.requestId),o.handleBridgeResponse(u,i,r)})}o.registerAPI("stopListenNetworkStatus",{mini:Pn,mobile:Pn}),pi.version={android:"1.3.1.1",ios:"1.3.1.1"};function pi(e){return o.invoke("stopListenNetworkStatus",e)}o.registerAPI("stopPullToRefresh",{mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType;c?s===g.ANDROID?t&&t(function(){i()},function(){r()},"ui.pullToRefresh","stop",e):s===g.IOS&&t.callHandler("ui.pullToRefresh.stop",Object.assign({},e),function(){i()}):t&&t.call("restorePullToRefresh",e,function(){i()})}}),fi.version={android:"1.3.0",ios:"1.3.0"};function fi(){return o.invoke("stopPullToRefresh",{_apiName:"stopPullToRefresh"})}o.registerAPI("stopRecordAudio",{mini:!0,mobile:!0}),gi.version={android:"1.3.0",ios:"1.3.0"};function gi(e){return o.invoke("stopRecordAudio",e)}function yr(e,n){var i=n.resolve,r=n.reject,t=n.containerType,c=n.platformType,s=n.context;t?c===g.ANDROID?s&&s(function(a){o.removeContinuesEvent(e.traceId),o.handleBridgeResponse(a,i,r)},function(a){o.removeContinuesEvent(e.traceId),o.handleBridgeResponse(a,i,r)},"taurus.common","stopTraceReport",e):c===g.IOS&&s.callHandler("taurus.common.stopTraceReport",Object.assign({},e),function(a){o.removeContinuesEvent(e.traceId),o.handleBridgeResponse(a,i,r)}):s&&s.call("stopTraceReport",e,function(a){o.removeContinuesEvent(e.traceId),o.handleBridgeResponse(a,i,r)})}o.registerAPI("stopTraceReport",{mobile:yr}),mi.version={android:"1.3.4",ios:"1.3.4"};function mi(e){return o.invoke("stopTraceReport",e)}o.registerAPI("stopVPNApp",{mini:!0,mobile:!0}),vi.version={android:"1.6.0",ios:"1.6.0"};function vi(e){return o.invoke("stopVPNApp",e)}function Sr(e,n){var i=n.resolve,r=n.reject,t=n.containerType,c=n.platformType,s=n.context;t?c===g.ANDROID?s&&s(function(a){e.onSuccess&&e.onSuccess(),i()},function(a){r()},"taurus.common","stopWatchShake",e):c===g.IOS&&s.callHandler("taurus.common.stopWatchShake",Object.assign({},e),function(a){i()}):s&&s.call("stopWatchShake",e,function(a){o.removeContinuesEvent("shake"),o.handleBridgeResponse(a,i,r)})}o.registerAPI("stopWatchShake",{mobile:Sr}),hi.version={android:"1.6.2",ios:"1.6.2"};function hi(){return o.invoke("stopWatchShake")}o.registerAPI("subscribe",{mobile:function(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType,a=!1;c?s===g.ANDROID?t&&t(function(l){a?(e.onSuccess||e.onFail)&&(l.errorCode!=="0"?e.onFail&&e.onFail(l):e.onSuccess&&e.onSuccess(l.result)):(a=!0,o.handleBridgeResponse(l,i,r))},function(l){a?e.onFail&&e.onFail(l):(a=!0,o.handleBridgeResponse(l,i,r))},"taurus.common","subscribe",e):s===g.IOS&&t.callHandler("taurus.common.subscribe",Object.assign({},e),function(l){a?(e.onSuccess||e.onFail)&&(l.errorCode!=="0"?e.onFail&&e.onFail(l):e.onSuccess&&e.onSuccess(l.result)):(a=!0,o.handleBridgeResponse(l,i,r))}):t&&t.call("subscribe",e,function(l){a?(e.onSuccess||e.onFail)&&(l.errorCode!=="0"?e.onFail&&e.onFail(l):e.onSuccess&&e.onSuccess(l.result)):(a=!0,o.handleBridgeResponse(l,i,r))})}}),Ii.version={android:"1.6.0",ios:"1.6.0"};function Ii(e){return o.invoke("subscribe",e)}o.registerAPI("takePhoto",{mini:!0,mobile:!0}),ki.version={android:"1.3.5",ios:"1.3.5"};function ki(){return o.invoke("takePhoto")}o.registerAPI("testProxy",{pc:function(e,n){e===void 0&&(e={}),window.dingtalk.platform.invokeAPI(n.msgId,"net.util.testProxy",e)}}),Ai.version={pc:"2.10.0"};function Ai(){return o.invoke("testProxy",{})}function yn(e,n){var i=n.resolve,r=n.reject,t=n.context,c=n.containerType,s=n.platformType,a=n.appType,l={type:e.icon==="error"?"fail":e.icon==="success"?"success":"none",content:e.text,duration:1e3*e.duration,taurusToastStyle:e.taurusToastStyle};if(c){var d=function(){o.handleBridgeResponse({errorCode:O.SUCCESS,result:{}},i,r)},u=function(p){o.handleBridgeResponse(p,i,r)};a===w.MINI_APP?t&&t({m:"taurus.common.toast",args:l,onSuccess:d,onFail:u}):s===g.ANDROID?t&&t(d,u,"taurus.common","toast",l):s===g.IOS&&t.callHandler("taurus.common.toast",Object.assign({},l),function(){o.handleBridgeResponse({errorCode:O.SUCCESS,result:{}},i,r)})}else t&&t.call("toast",l,function(){o.handleBridgeResponse({errorCode:O.SUCCESS,result:{}},i,r)})}o.registerAPI("toast",{mobile:yn,mini:yn,pc:function(e,n){var i=e.icon,r=e.text,t=e.duration,c=e.delay;window.dingtalk.platform.invokeAPI(n.msgId,"device.notification.toast",{type:i,text:r,duration:t,delay:c})}}),wi.version={android:"1.3.2",ios:"1.3.2"};function wi(e){return o.invoke("toast",e)}o.registerAPI("unlockWithSecurityVerification",{mini:!0,mobile:!0}),bi.version={android:"1.3.1.1",ios:"1.3.1.1"};function bi(){return o.invoke("unlockWithSecurityVerification")}o.registerAPI("unsubscribe",{mobile:!0}),Pi.version={android:"1.6.0",ios:"1.6.0"};function Pi(e){return o.invoke("unsubscribe",e)}o.registerAPI("dgUploadFile",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.dgUploadFile",e)}}),yi.version={android:"1.3.2",ios:"1.3.2",pc:"1.3.6"};function yi(e){return o.invoke("dgUploadFile",E({},e,{_apiName:"uploadFile"}))}o.registerAPI("uploadFileByType",{mini:!0,mobile:!0}),Si.version={android:"1.3.0",ios:"1.3.0"};function Si(e){return o.invoke("uploadFileByType",e)}o.registerAPI("uploadFile",{mini:!0}),Ci.version={android:"1.6.2",ios:"1.6.2"};function Ci(e){return new Promise(function(n,i){my.uploadFile(E({},e,{success:function(r){n(r)},fail:function(r){i(r)}}))})}o.registerAPI("uploadRemoteFileToDisk",{mini:!0,mobile:!0,pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.uploadRemoteFileToDisk",e)}}),Ti.version={android:"1.6.0",ios:"1.6.0",pc:"2.6.0"};function Ti(e){return o.invoke("uploadRemoteFileToDisk",e)}o.registerAPI("ut",{pc:function(e,n){window.dingtalk.platform.invokeAPI(n.msgId,"biz.util.ut",e)}}),Ei.version={pc:"1.3.10"};function Ei(e){return o.invoke("ut",e)}o.registerAPI("vibrate",{mini:!0,mobile:!0}),Ri.version={android:"1.3.1",ios:"1.3.1"};function Ri(e){return o.invoke("vibrate",e)}var Y={alert:En,authConfig:Rn,bizContactDepartmentsPickerExternal:On,bizCustomContactChooseExternal:Dn,bizCustomContactMultipleChooseExternal:Nn,callPhone:xn,canIUse:Yi,checkVPNAppInstalled:Ln,checkVPNAppOnline:Mn,chooseContact:Fn,chooseContactWithComplexPicker:jn,chooseDateRangeWithCalendar:Wn,chooseDayWithCalendar:Hn,chooseDepartments:Vn,chooseFile:zn,chooseHalfDayWithCalendar:Un,chooseImage:Gn,chooseInterconnectionChat:Jn,chooseLocalImage:Kn,chooseSpaceDir:$n,chooseTimeWithCalendar:Qn,chooseVideo:qn,closePage:Yn,complexPickerAdmin:Xn,confirm:Zn,copyToClipboard:eo,createChatGroup:no,createDing:oo,createDingV2:to,createVideoConf:io,createVideoMeeting:ro,dealWithBackAction:ao,disableClosePage:so,disablePullToRefresh:co,disableWebviewBounce:lo,downloadAudio:uo,downloadFile:po,enablePullToRefresh:fo,enableVpn:go,enableWebviewBounce:mo,exclusiveInvoke:vo,faceComparison:ho,faceRecognition:Io,getAppInstallStatus:ko,getAuthCode:Ao,getConfig:wo,getContainerType:Ce,getDeviceId:bo,getFromClipboard:Po,getGeolocation:yo,getGeolocationStatus:So,getHotspotInfo:Co,getLanguageSetting:To,getLoginUser:Eo,getNetworkType:Ro,getPhoneInfo:Oo,getProxyInfo:Do,getStorageItem:No,getTraceStatus:xo,getUUID:_o,getUserAgent:Bo,getWaterMark:Mo,getWaterMarkConfigV2:Te,getWaterMarkV2:mr,getWifiStatus:Fo,getWorkbenchContext:jo,goBack:Wo,hideLoading:Ho,hideOptionMenu:Vo,hideTitleBar:zo,isDownloadFileExist:Uo,joinScheduleConf:Go,joinVideoConf:Jo,joinVideoMeeting:Ko,locateOnMap:$o,on:hr,onAudioPlayEnd:Qo,onRecordAudioEnd:qo,openApiInvoker:Yo,openApp:Xo,openBrowser:Zo,openChat:et,openDownloadFile:nt,openLink:ot,openPage:tt,openSchemeUrl:it,openSlidePanel:rt,openWatermarkCamera:at,pauseAudio:st,pickChat:ct,pickChatByCorpId:Ir,pickGroupChat:lt,pickGroupConversation:ut,playAudio:dt,previewDoc:pt,previewImage:ft,printFile:gt,printNativeLog:mt,prompt:vt,pushWindow:ht,readImageToBase64:It,ready:kr,reduceImageSize:kt,removeStorageItem:At,replacePage:wt,resetView:bt,resumeAudio:Pt,rotateView:yt,scan:St,searchOnMap:Ct,sendOutData:Tt,setLocalScreenShotPolicy:Et,setNavIcon:Rt,setNavLeftText:Ot,setOptionMenu:Dt,setProxyInfo:Nt,setStorageItem:xt,setTitle:_t,shareFileToMessage:Bt,shareImageToMessage:Lt,shareToMessage:Mt,shootVideo:Ft,showActionSheet:jt,showCallMenu:Wt,showDatePicker:Ht,showDateTimePicker:Vt,showExtendModal:zt,showHomeBottomTab:Ut,showLoading:Gt,showModal:Jt,showMultiSelect:Kt,showOnMap:$t,showOptionMenu:Qt,showPlainInputUponKeyboard:qt,showQuickCallMenu:Yt,showSelect:Xt,showSignature:Zt,showSocialShare:ei,showTimePicker:ni,showTitleBar:oi,startFaceRecognition:ti,startGeolocation:ii,startListenNetworkStatus:ri,startRecordAudio:ai,startTraceReport:si,startVPNApp:ci,startWatchShake:li,stopAudio:ui,stopGeolocation:di,stopListenNetworkStatus:pi,stopPullToRefresh:fi,stopRecordAudio:gi,stopTraceReport:mi,stopVPNApp:vi,stopWatchShake:hi,subscribe:Ii,takePhoto:ki,testProxy:Ai,toast:wi,unlockWithSecurityVerification:bi,unsubscribe:Pi,uploadFile:yi,uploadFileByType:Si,uploadLocalFile:Ci,uploadRemoteFileToDisk:Ti,ut:Ei,version:pe,vibrate:Ri};if(o.getAppType()===w.MINI_APP)Y=new Proxy(Y,{get:function(e,n,i){return n in Y?Reflect.get(e,n,i):Ui(Reflect.get(my,n,i),n)}});else{window.dd&&console.warn("\u5DF2\u7ECF\u5B58\u5728 window.dd \u53D8\u91CF\uFF0C\u5F15\u5165 gdt-jsapi \u4F1A\u4FEE\u6539 window.dd \u7684\u503C\u3002");try{Object.defineProperty(window,"dd",{value:Y,writable:!0})}catch(e){console.error(e)}window.gdt&&console.warn("\u5DF2\u7ECF\u5B58\u5728 window.gdt \u53D8\u91CF\uFF0C\u5F15\u5165 gdt-jsapi \u4F1A\u4FEE\u6539 window.gdt \u7684\u503C\u3002");try{Object.defineProperty(window,"gdt",{value:Y,writable:!0})}catch(e){console.error(e)}}const de=Y;const Cr={key:0,class:"mainBox"},Tr={class:"loginBox"},Er={class:"loginTab"},Rr={class:"mt-50 flex justify-center"},Or={class:"qrcodeBox"},Dr={class:"qrcode"},Nr=["src"],xr={class:"bottom"},_r={class:"verificationCode"},Br=xi({beforeRouteEnter(e,n,i){_i.get("token")?i("/home"):i()}}),Lr=Object.assign(Br,{__name:"index",setup(e){const{proxy:n}=Vi(),i="\u6D59\u653F\u9489",r="https://login-pro.ding.zj.gov.cn/oauth2/auth.htm?response_type=code&client_id=ls_project_managment_dingoa&redirect_uri=http://60.188.225.145/&scope=get_user_info&authType=QRCODE&embedMode=true",t=U(!0),c=y=>{t.value=y},s=Oe({}),a=U(),l=Oe({phoneNum:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",trigger:"blur"}],verifyCode:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",trigger:"blur"}]}),d=async y=>{!y||await y.validate((P,R)=>{P?ke({credential:s.verifyCode,identifier:s.phoneNum,loginType:"PHONE_VERIFICATION_CODE_LOGIN"}).then(M=>{M.code===200?(u.value=!0,Ie.replace("/")):n.$message.error(M.respMsg)}):console.log("error submit!",R)})},u=U(!1),p=U(!0),v=()=>{de?de.getAuthCode({}).then(y=>{y&&(y.code||y.auth_code)&&ke({credential:y.code||y.auth_code,identifier:"",loginType:"DING_MD_LOGIN"}).then(P=>{P.code===200?(u.value=!0,Ie.replace("/")):n.$message.error(P.respMsg)})}).catch(()=>{p.value=!1,(()=>{window.addEventListener("message",function(P){!u.value&&P.data.code&&ke({credential:P.data.code,identifier:"",loginType:"DING_QR_LOGIN"}).then(R=>{R.code===200?(u.value=!0,Ie.replace("/")):n.$message.error(R.respMsg)})})})()}):console.log("\u672A\u627E\u5230ddApi")},k=U(""),S=U(null),D=U(!0),H=async()=>{if((await zi({mobile:s.phoneNum,verificationType:"LOGIN"})).code===200){n.$message.success("\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001");const P=60;S.value||(k.value=P,D.value=!1,S.value=setInterval(()=>{k.value>0&&k.value<=P?k.value--:(D.value=!0,clearInterval(this.timer),S.value=null)},1e3))}};return Bi(()=>{var y=navigator.userAgent.toLowerCase();/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/.test(y)?window.location.href="http://60.188.225.145:8090/":v()}),(y,P)=>{const R=te("el-input"),M=te("el-form-item"),$=te("el-form"),F=te("el-button");return p.value?ji("",!0):(Li(),Mi("div",Cr,[_("div",Tr,[P[6]||(P[6]=_("div",{class:"text"},null,-1)),_("div",Er,[_("div",Rr,[_("span",{class:De(["tabItem mr-20",{itemBlue:t.value}]),onClick:P[0]||(P[0]=B=>c(!0))},"\u626B\u7801\u767B\u5F55",2),_("span",{class:De(["tabItem",{itemBlue:t.value===!1}]),onClick:P[1]||(P[1]=B=>c(!1))},"\u9A8C\u8BC1\u7801\u767B\u5F55",2)]),ie(_("div",Or,[_("div",Dr,[_("iframe",{width:"200",height:"430",src:ae(r),frameborder:"0"},null,8,Nr)]),_("p",xr,"\u8BF7\u4F7F\u7528"+Ne(ae(i))+"\u626B\u63CF\u4E8C\u7EF4\u7801\u767B\u9646",1)],512),[[re,t.value]]),ie(_("div",_r,[q($,{ref_key:"ruleFormRef",ref:a,model:s,rules:l,"label-width":"atuo",class:"demo-ruleForm","status-icon":""},{default:Z(()=>[q(M,{label:"",prop:"phoneNum"},{default:Z(()=>[q(R,{modelValue:s.phoneNum,"onUpdate:modelValue":P[2]||(P[2]=B=>s.phoneNum=B),"prefix-icon":ae(Wi),placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"},null,8,["modelValue","prefix-icon"])]),_:1}),q(M,{label:"",prop:"verifyCode"},{default:Z(()=>[q(R,{modelValue:s.verifyCode,"onUpdate:modelValue":P[3]||(P[3]=B=>s.verifyCode=B),"prefix-icon":ae(Hi),placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"},{suffix:Z(()=>[ie(_("span",{class:"itemBlue",onClick:H}," \u83B7\u53D6\u9A8C\u8BC1\u7801",512),[[re,D.value]]),ie(_("span",{class:"itemBlue"},Ne(k.value),513),[[re,!D.value]])]),_:1},8,["modelValue","prefix-icon"])]),_:1})]),_:1},8,["model","rules"]),q(F,{class:"w-full mt-50",type:"primary",onClick:P[4]||(P[4]=B=>d(a.value))},{default:Z(()=>P[5]||(P[5]=[Fi(" \u767B\u5F55 ")])),_:1})],512),[[re,!t.value]])])])]))}}}),jr=Ni(Lr,[["__scopeId","data-v-ae520cdf"]]);export{jr as default};
|