!function(){function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function a(n,o,u,i){var a=o&&o.prototype instanceof f?o:f,l=Object.create(a.prototype);return t(l,"_invoke",function(n,t,o){var u,i,a,f=0,l=o||[],s=!1,p={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(n,t){return u=n,i=0,a=e,p.n=t,c}};function v(n,t){for(i=n,a=t,r=0;!s&&f&&!o&&r<l.length;r++){var o,u=l[r],v=p.p,y=u[2];n>3?(o=y===t)&&(a=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=e):u[0]<=v&&((o=n<2&&v<u[1])?(i=0,p.v=t,p.n=u[1]):v<y&&(o=n<3||u[0]>t||t>y)&&(u[4]=n,u[5]=t,p.n=y,i=0))}if(o||n>1)return c;throw s=!0,t}return function(o,l,y){if(f>1)throw TypeError("Generator is already running");for(s&&1===l&&v(l,y),i=l,a=y;(r=i<2?e:a)||!s;){u||(i?i<3?(i>1&&(p.n=-1),v(i,a)):p.n=a:p.v=a);try{if(f=2,u){if(i||(o="next"),r=u[o]){if(!(r=r.call(u,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,i<2&&(i=0)}else 1===i&&(r=u.return)&&r.call(u),i<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=e}else if((r=(s=p.n<0)?a:n.call(t,p))!==c)break}catch(r){u=e,i=1,a=r}finally{f=1}}return{value:r,done:s}}}(n,u,i),!0),l}var c={};function f(){}function l(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),v=s.prototype=f.prototype=Object.create(p);function y(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,s):(n.__proto__=s,t(n,i,"GeneratorFunction")),n.prototype=Object.create(v),n}return l.prototype=s,t(v,"constructor",s),t(s,"constructor",l),l.displayName="GeneratorFunction",t(s,i,"GeneratorFunction"),t(v),t(v,i,"Generator"),t(v,u,function(){return this}),t(v,"toString",function(){return"[object Generator]"}),(n=function(){return{w:a,m:y}})()}function t(n,e,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(n){u=0}t=function(n,e,r,o){function i(e,r){t(n,e,function(n){return this._invoke(e,r,n)})}e?u?u(n,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):n[e]=r:(i("next",0),i("throw",1),i("return",2))},t(n,e,r,o)}function e(n,t,e,r,o,u,i){try{var a=n[u](i),c=a.value}catch(n){return void e(n)}a.done?t(c):Promise.resolve(c).then(r,o)}function r(n){return function(){var t=this,r=arguments;return new Promise(function(o,u){var i=n.apply(t,r);function a(n){e(i,o,u,a,c,"next",n)}function c(n){e(i,o,u,a,c,"throw",n)}a(void 0)})}}System.register(["./index-legacy119.js?v=1761009159","./site-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159"],function(t,e){"use strict";var o,u,i,a,c,f,l,s,p,v,y,d,m,h,b,g;return{setters:[function(n){o=n._},function(n){u=n.killScan},function(n){i=n.bk,a=n.M,c=n.p,f=n.P},function(n){l=n.c,s=n.aA,p=n.r,v=n.w,y=n.q,d=n.aF,m=n.v,h=n.x,b=n.e,g=n.y},null],execute:function(){var e={class:"flex-wrap h-full"};t("default",l({__name:"scan-details",props:{compData:{default:function(){return{}}}},setup:function(t,l){var w=l.expose,j=s("popupSetFooter"),_=t,O=p("获取中..."),x=p(!0),S=p(),T=_.compData.path_info,k=function(){var t=r(n().m(function t(){var e,r,o;return n().w(function(n){for(;;)switch(n.p=n.n){case 0:return n.p=0,O.value="获取中...",n.n=1,i({num:20,filename:T});case 1:if(o=n.v,O.value=o.msg||"扫描中...",-1===(null===(e=o.msg)||void 0===e?void 0:e.indexOf("扫描结束"))){n.n=2;break}return x.value=!1,a.success("扫描已结束"),j(!1),P(),n.a(2);case 2:-1===(null===(r=o.msg)||void 0===r?void 0:r.indexOf("扫描结束"))&&x.value&&(S.value=setTimeout(function(){k()},1500)),o.status||(a.request(o),x.value=!1),n.n=4;break;case 3:n.p=3,n.v,P();case 4:return n.a(2)}},t,null,[[0,3]])}));return function(){return t.apply(this,arguments)}}(),P=function(){S.value&&clearTimeout(S.value)},G=function(){var t=r(n().m(function t(e){return n().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,c({icon:"warning-filled",title:"停止检测网站",width:"40rem",content:"当前正在进行检测网站，确定停止检测网站吗？"});case 1:return n.n=2,f({loading:"正在停止检测，请稍后...",request:u({id:_.compData.id}),message:!0});case 2:x.value=!1,P(),e();case 3:return n.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}();return v(function(){return _.compData},function(n){x.value=!0,k()}),y(function(){return k()}),d(function(){return P()}),w({onConfirm:G,onCancel:P}),function(n,t){var r=o;return m(),h("div",e,[b(r,{class:"h-full",title:"全屏查看",content:g(O)},null,8,["content"])])}}}))}}})}();
