企微助手 ,仓库名 短剧

radar.0b2c8a755587eae1.1711446198136.js 11KB

1
  1. "use strict";(self["webpackChunkqwh5"]=self["webpackChunkqwh5"]||[]).push([[765],{5275:function(e,r,t){function n(e){const r=window.location.href,t={};if(-1!=r.indexOf("?")){let e="",n=[];r.split("?").forEach(((r,o)=>{if(0!=o){e=r,n=e.split("&");for(let e=0;e<n.length;e++)t[n[e].split("=")[0]]=decodeURIComponent(n[e].split("=")[1])}}))}return e?t[e]?t[e]:"":t}function o(e){if("string"!=typeof e)return!1;try{let r=JSON.parse(e);return!("object"!=typeof r||!r)}catch(r){return!1}}t.d(r,{W:function(){return n},p:function(){return o}})},2733:function(e,r,t){t.r(r),t.d(r,{default:function(){return pe}});var n=t(6810),o=(t(7914),t(2229)),a=(t(8228),t(3396)),i=t(9242);const s=e=>((0,a.dD)("data-v-72996912"),e=e(),(0,a.Cn)(),e),u={class:"about"},c=s((()=>(0,a._)("h3",null,null,-1))),l={key:0,style:{"overflow-scrolling":"touch",overflow:"auto",height:"1200px",width:"100%"}},d=["src"],f=["src"],v=["src"],p={class:"overBox"};function h(e,r,t,s,h,g){const y=o.g,m=n.a;return(0,a.wg)(),(0,a.iD)("div",u,[c,2==s.detialType?((0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("iframe",{src:s.detialURL[0],frameborder:"0",style:{width:"100%",height:"100%"}},null,8,d)])):(0,a.kq)("",!0),(0,a.wy)((0,a._)("div",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.detialURL,(e=>((0,a.wg)(),(0,a.iD)("img",{style:{width:"100%",height:"auto",margin:"10px"},src:e,alt:"",key:e},null,8,f)))),128))],512),[[i.F8,3==s.detialType]]),(0,a.wy)((0,a._)("video",{src:s.detialURL[0],controls:"controls",style:{width:"100%",height:"500px"}},null,8,v),[[i.F8,4==s.detialType]]),(0,a.Wm)(m,{show:s.overshow},{default:(0,a.w5)((()=>[(0,a._)("div",p,[(0,a.Wm)(y,{type:"spinner",color:"#00b38a"})])])),_:1},8,["show"])])}var g,y=t(4870),m=t(678),w=(t(1703),t(8675),t(3462),new Uint8Array(16));function _(){if(!g&&(g="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!g))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return g(w)}var b=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function I(e){return"string"===typeof e&&b.test(e)}for(var U=I,C=[],R=0;R<256;++R)C.push((R+256).toString(16).substr(1));function A(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=(C[e[r+0]]+C[e[r+1]]+C[e[r+2]]+C[e[r+3]]+"-"+C[e[r+4]]+C[e[r+5]]+"-"+C[e[r+6]]+C[e[r+7]]+"-"+C[e[r+8]]+C[e[r+9]]+"-"+C[e[r+10]]+C[e[r+11]]+C[e[r+12]]+C[e[r+13]]+C[e[r+14]]+C[e[r+15]]).toLowerCase();if(!U(t))throw TypeError("Stringified UUID is invalid");return t}var k,x,q=A,D=0,N=0;function S(e,r,t){var n=r&&t||0,o=r||new Array(16);e=e||{};var a=e.node||k,i=void 0!==e.clockseq?e.clockseq:x;if(null==a||null==i){var s=e.random||(e.rng||_)();null==a&&(a=k=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==i&&(i=x=16383&(s[6]<<8|s[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:N+1,l=u-D+(c-N)/1e4;if(l<0&&void 0===e.clockseq&&(i=i+1&16383),(l<0||u>D)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");D=u,N=c,x=i,u+=122192928e5;var d=(1e4*(268435455&u)+c)%4294967296;o[n++]=d>>>24&255,o[n++]=d>>>16&255,o[n++]=d>>>8&255,o[n++]=255&d;var f=u/4294967296*1e4&268435455;o[n++]=f>>>8&255,o[n++]=255&f,o[n++]=f>>>24&15|16,o[n++]=f>>>16&255,o[n++]=i>>>8|128,o[n++]=255&i;for(var v=0;v<6;++v)o[n+v]=a[v];return r||q(o)}var E=S;function T(e){if(!U(e))throw TypeError("Invalid UUID");var r,t=new Uint8Array(16);return t[0]=(r=parseInt(e.slice(0,8),16))>>>24,t[1]=r>>>16&255,t[2]=r>>>8&255,t[3]=255&r,t[4]=(r=parseInt(e.slice(9,13),16))>>>8,t[5]=255&r,t[6]=(r=parseInt(e.slice(14,18),16))>>>8,t[7]=255&r,t[8]=(r=parseInt(e.slice(19,23),16))>>>8,t[9]=255&r,t[10]=(r=parseInt(e.slice(24,36),16))/1099511627776&255,t[11]=r/4294967296&255,t[12]=r>>>24&255,t[13]=r>>>16&255,t[14]=r>>>8&255,t[15]=255&r,t}var L=T;function F(e){e=unescape(encodeURIComponent(e));for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t));return r}var H="6ba7b810-9dad-11d1-80b4-00c04fd430c8",M="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function V(e,r,t){function n(e,n,o,a){if("string"===typeof e&&(e=F(e)),"string"===typeof n&&(n=L(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+e.length);if(i.set(n),i.set(e,n.length),i=t(i),i[6]=15&i[6]|r,i[8]=63&i[8]|128,o){a=a||0;for(var s=0;s<16;++s)o[a+s]=i[s];return o}return q(i)}try{n.name=e}catch(o){}return n.DNS=H,n.URL=M,n}function W(e){if("string"===typeof e){var r=unescape(encodeURIComponent(e));e=new Uint8Array(r.length);for(var t=0;t<r.length;++t)e[t]=r.charCodeAt(t)}return $(O(J(e),8*e.length))}function $(e){for(var r=[],t=32*e.length,n="0123456789abcdef",o=0;o<t;o+=8){var a=e[o>>5]>>>o%32&255,i=parseInt(n.charAt(a>>>4&15)+n.charAt(15&a),16);r.push(i)}return r}function j(e){return 14+(e+64>>>9<<4)+1}function O(e,r){e[r>>5]|=128<<r%32,e[j(r)-1]=r;for(var t=1732584193,n=-271733879,o=-1732584194,a=271733878,i=0;i<e.length;i+=16){var s=t,u=n,c=o,l=a;t=Y(t,n,o,a,e[i],7,-680876936),a=Y(a,t,n,o,e[i+1],12,-389564586),o=Y(o,a,t,n,e[i+2],17,606105819),n=Y(n,o,a,t,e[i+3],22,-1044525330),t=Y(t,n,o,a,e[i+4],7,-176418897),a=Y(a,t,n,o,e[i+5],12,1200080426),o=Y(o,a,t,n,e[i+6],17,-1473231341),n=Y(n,o,a,t,e[i+7],22,-45705983),t=Y(t,n,o,a,e[i+8],7,1770035416),a=Y(a,t,n,o,e[i+9],12,-1958414417),o=Y(o,a,t,n,e[i+10],17,-42063),n=Y(n,o,a,t,e[i+11],22,-1990404162),t=Y(t,n,o,a,e[i+12],7,1804603682),a=Y(a,t,n,o,e[i+13],12,-40341101),o=Y(o,a,t,n,e[i+14],17,-1502002290),n=Y(n,o,a,t,e[i+15],22,1236535329),t=Z(t,n,o,a,e[i+1],5,-165796510),a=Z(a,t,n,o,e[i+6],9,-1069501632),o=Z(o,a,t,n,e[i+11],14,643717713),n=Z(n,o,a,t,e[i],20,-373897302),t=Z(t,n,o,a,e[i+5],5,-701558691),a=Z(a,t,n,o,e[i+10],9,38016083),o=Z(o,a,t,n,e[i+15],14,-660478335),n=Z(n,o,a,t,e[i+4],20,-405537848),t=Z(t,n,o,a,e[i+9],5,568446438),a=Z(a,t,n,o,e[i+14],9,-1019803690),o=Z(o,a,t,n,e[i+3],14,-187363961),n=Z(n,o,a,t,e[i+8],20,1163531501),t=Z(t,n,o,a,e[i+13],5,-1444681467),a=Z(a,t,n,o,e[i+2],9,-51403784),o=Z(o,a,t,n,e[i+7],14,1735328473),n=Z(n,o,a,t,e[i+12],20,-1926607734),t=z(t,n,o,a,e[i+5],4,-378558),a=z(a,t,n,o,e[i+8],11,-2022574463),o=z(o,a,t,n,e[i+11],16,1839030562),n=z(n,o,a,t,e[i+14],23,-35309556),t=z(t,n,o,a,e[i+1],4,-1530992060),a=z(a,t,n,o,e[i+4],11,1272893353),o=z(o,a,t,n,e[i+7],16,-155497632),n=z(n,o,a,t,e[i+10],23,-1094730640),t=z(t,n,o,a,e[i+13],4,681279174),a=z(a,t,n,o,e[i],11,-358537222),o=z(o,a,t,n,e[i+3],16,-722521979),n=z(n,o,a,t,e[i+6],23,76029189),t=z(t,n,o,a,e[i+9],4,-640364487),a=z(a,t,n,o,e[i+12],11,-421815835),o=z(o,a,t,n,e[i+15],16,530742520),n=z(n,o,a,t,e[i+2],23,-995338651),t=G(t,n,o,a,e[i],6,-198630844),a=G(a,t,n,o,e[i+7],10,1126891415),o=G(o,a,t,n,e[i+14],15,-1416354905),n=G(n,o,a,t,e[i+5],21,-57434055),t=G(t,n,o,a,e[i+12],6,1700485571),a=G(a,t,n,o,e[i+3],10,-1894986606),o=G(o,a,t,n,e[i+10],15,-1051523),n=G(n,o,a,t,e[i+1],21,-2054922799),t=G(t,n,o,a,e[i+8],6,1873313359),a=G(a,t,n,o,e[i+15],10,-30611744),o=G(o,a,t,n,e[i+6],15,-1560198380),n=G(n,o,a,t,e[i+13],21,1309151649),t=G(t,n,o,a,e[i+4],6,-145523070),a=G(a,t,n,o,e[i+11],10,-1120210379),o=G(o,a,t,n,e[i+2],15,718787259),n=G(n,o,a,t,e[i+9],21,-343485551),t=P(t,s),n=P(n,u),o=P(o,c),a=P(a,l)}return[t,n,o,a]}function J(e){if(0===e.length)return[];for(var r=8*e.length,t=new Uint32Array(j(r)),n=0;n<r;n+=8)t[n>>5]|=(255&e[n/8])<<n%32;return t}function P(e,r){var t=(65535&e)+(65535&r),n=(e>>16)+(r>>16)+(t>>16);return n<<16|65535&t}function B(e,r){return e<<r|e>>>32-r}function K(e,r,t,n,o,a){return P(B(P(P(r,e),P(n,a)),o),t)}function Y(e,r,t,n,o,a,i){return K(r&t|~r&n,e,r,o,a,i)}function Z(e,r,t,n,o,a,i){return K(r&n|t&~n,e,r,o,a,i)}function z(e,r,t,n,o,a,i){return K(r^t^n,e,r,o,a,i)}function G(e,r,t,n,o,a,i){return K(t^(r|~n),e,r,o,a,i)}var Q=W,X=V("v3",48,Q),ee=X;function re(e,r,t){e=e||{};var n=e.random||(e.rng||_)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,r){t=t||0;for(var o=0;o<16;++o)r[t+o]=n[o];return r}return q(n)}var te=re;function ne(e,r,t,n){switch(e){case 0:return r&t^~r&n;case 1:return r^t^n;case 2:return r&t^r&n^t&n;case 3:return r^t^n}}function oe(e,r){return e<<r|e>>>32-r}function ae(e){var r=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var o=0;o<n.length;++o)e.push(n.charCodeAt(o))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var a=e.length/4+2,i=Math.ceil(a/16),s=new Array(i),u=0;u<i;++u){for(var c=new Uint32Array(16),l=0;l<16;++l)c[l]=e[64*u+4*l]<<24|e[64*u+4*l+1]<<16|e[64*u+4*l+2]<<8|e[64*u+4*l+3];s[u]=c}s[i-1][14]=8*(e.length-1)/Math.pow(2,32),s[i-1][14]=Math.floor(s[i-1][14]),s[i-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<i;++d){for(var f=new Uint32Array(80),v=0;v<16;++v)f[v]=s[d][v];for(var p=16;p<80;++p)f[p]=oe(f[p-3]^f[p-8]^f[p-14]^f[p-16],1);for(var h=t[0],g=t[1],y=t[2],m=t[3],w=t[4],_=0;_<80;++_){var b=Math.floor(_/20),I=oe(h,5)+ne(b,g,y,m)+w+r[b]+f[_]>>>0;w=m,m=y,y=oe(g,30)>>>0,g=h,h=I}t[0]=t[0]+h>>>0,t[1]=t[1]+g>>>0,t[2]=t[2]+y>>>0,t[3]=t[3]+m>>>0,t[4]=t[4]+w>>>0}return[t[0]>>24&255,t[0]>>16&255,t[0]>>8&255,255&t[0],t[1]>>24&255,t[1]>>16&255,t[1]>>8&255,255&t[1],t[2]>>24&255,t[2]>>16&255,t[2]>>8&255,255&t[2],t[3]>>24&255,t[3]>>16&255,t[3]>>8&255,255&t[3],t[4]>>24&255,t[4]>>16&255,t[4]>>8&255,255&t[4]]}var ie=ae,se=V("v5",80,ie),ue=se,ce={v1:E,v3:ee,v4:te,v5:ue};var le=t(5275),de={components:{[n.a.name]:n.a},setup(){const{proxy:e}=(0,a.FN)(),r=(0,y.iH)(!1),t=(0,y.iH)(ce.v1()),n=(0,y.iH)(),o=(0,y.iH)([]);let i=null;const s=(0,m.tv)(),u=s.currentRoute.value.query,c=(0,y.qj)({external_userid:"",openid:"",device_id:""}),l=(e,r)=>{sessionStorage.setItem(e,r)};(0,a.wF)((()=>{r.value=!0,f()})),(0,a.bv)((()=>{let e=sessionStorage.getItem("isReload"),r=sessionStorage.getItem("request_id");e?r?(clearInterval(Number(i)),i=setInterval((()=>{v(2,r)}),1e4)):clearInterval(Number(i)):(l("isReload",!0),d())})),(0,a.wF)((()=>{clearInterval(Number(i))}));const d=()=>{e.$axios.get("/api/oauth2/userInfo",{corpid:u.corpid,code:(0,le.W)("code"),state:(0,le.W)("state")},!1).then((e=>{e.rst&&(c.external_userid=e.rst.external_userid,c.openid=e.rst.openid,c.device_id=e.rst.device_id,v(1,t.value))})).catch((e=>{console.log(e)}))},f=()=>{e.$axios.get("/api/radarPage/detail",{corpid:u.corpid,radar_id:u.radar_id,user_id:u.user_id,token:u.token,timestamp:u.timestamp},!1).then((e=>{n.value=e.rst.type;const t=JSON.parse(e.rst.url_list);if(o.value=t,r.value=!1,1==n.value){let e=document.createElement("a");e.href=t[0],document.body.appendChild(e),e.click(),document.body.removeChild(e)}})).catch((e=>{console.log(e)}))},v=(r,t)=>{e.$axios.get("/api/radarPage/report",{corpid:u.corpid,radar_id:u.radar_id,user_id:u.user_id,token:u.token,timestamp:u.timestamp,rule_id:u.rule_id,channel:u.channel,state:u.state,external_userid:c.external_userid,openid:c.openid,device_id:c.device_id,request_id:t,type:r},!1).then((e=>{l("request_id",t),clearInterval(Number(i)),i=setInterval((()=>{v(2,t)}),1e4)})).catch((e=>{console.log(e)}))};return{router:s,detialType:n,detialURL:o,UUID:t,overshow:r,behaviorReport:v}}},fe=t(89);const ve=(0,fe.Z)(de,[["render",h],["__scopeId","data-v-72996912"]]);var pe=ve},8228:function(e,r,t){t(1958),t(2939)},7914:function(e,r,t){t(1958),t(6196)}}]);