!function(){function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function i(e,o,u,a){var i=o&&o.prototype instanceof c?o:c,f=Object.create(i.prototype);return t(f,"_invoke",function(e,t,o){var u,a,i,c=0,f=o||[],s=!1,p={p:0,n:0,v:n,a:v,f:v.bind(n,4),d:function(e,t){return u=e,a=0,i=n,p.n=t,l}};function v(e,t){for(a=e,i=t,r=0;!s&&c&&!o&&r<f.length;r++){var o,u=f[r],v=p.p,y=u[2];e>3?(o=y===t)&&(i=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=n):u[0]<=v&&((o=e<2&&v<u[1])?(a=0,p.v=t,p.n=u[1]):v<y&&(o=e<3||u[0]>t||t>y)&&(u[4]=e,u[5]=t,p.n=y,a=0))}if(o||e>1)return l;throw s=!0,t}return function(o,f,y){if(c>1)throw TypeError("Generator is already running");for(s&&1===f&&v(f,y),a=f,i=y;(r=a<2?n:i)||!s;){u||(a?a<3?(a>1&&(p.n=-1),v(a,i)):p.n=i:p.v=i);try{if(c=2,u){if(a||(o="next"),r=u[o]){if(!(r=r.call(u,i)))throw TypeError("iterator result is not an object");if(!r.done)return r;i=r.value,a<2&&(a=0)}else 1===a&&(r=u.return)&&r.call(u),a<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=n}else if((r=(s=p.n<0)?i:e.call(t,p))!==l)break}catch(r){u=n,a=1,i=r}finally{c=1}}return{value:r,done:s}}}(e,u,a),!0),f}var l={};function c(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),v=s.prototype=c.prototype=Object.create(p);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,t(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e}return f.prototype=s,t(v,"constructor",s),t(s,"constructor",f),f.displayName="GeneratorFunction",t(s,a,"GeneratorFunction"),t(v),t(v,a,"Generator"),t(v,u,function(){return this}),t(v,"toString",function(){return"[object Generator]"}),(e=function(){return{w:i,m:y}})()}function t(e,n,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(e){u=0}t=function(e,n,r,o){function a(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?u?u(e,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[n]=r:(a("next",0),a("throw",1),a("return",2))},t(e,n,r,o)}function n(e,t,n,r,o,u,a){try{var i=e[u](a),l=i.value}catch(e){return void n(e)}i.done?t(l):Promise.resolve(l).then(r,o)}System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./useController-legacy3.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159"],function(t,r){"use strict";var o,u,a,i,l,c,f,s,p,v,y,d,m,b;return{setters:[function(e){o=e.c,u=e.o,a=e.r,i=e.v,l=e.x,c=e.z,f=e.e,s=e.B,p=e.y,v=e.ab,y=e.a9},function(e){d=e.P,m=e.ag},function(e){b=e.T},null,null,null,null],execute:function(){var r={class:"p-[2rem]"};t("default",o({__name:"index",setup:function(t,o){var g=o.expose,h=u({timeValue:"5分钟"}),j=a(!1),_=a(),w=function(){var t,r=(t=e().m(function t(n){var r,o,u;return e().w(function(e){for(;;)switch(e.n){case 0:return r=h.timeValue.replaceAll("分钟",""),o=Math.floor(Date.now()/1e3),u=o+60*parseInt(r),e.n=1,_.value.validate();case 1:return e.n=2,d({loading:j,request:b({time:u}),message:!0});case 2:n();case 3:return e.a(2)}},t)}),function(){var e=this,r=arguments;return new Promise(function(o,u){var a=t.apply(e,r);function i(e){n(a,o,u,i,l,"next",e)}function l(e){n(a,o,u,i,l,"throw",e)}i(void 0)})});return function(e){return r.apply(this,arguments)}}();return g({onConfirm:w}),function(e,t){var n=m,o=v,u=y;return i(),l("div",r,[t[1]||(t[1]=c("span",null,"检测到当前已启用【系统加固】，如需要继续操作，请选择临时关闭时间",-1)),f(u,{model:p(h),ref_key:"sysFixedForm",ref:_,disabled:p(j),class:"mt-[2rem]"},{default:s(function(){return[f(o,{label:"临时放行："},{default:s(function(){return[f(n,{type:"button",modelValue:p(h).timeValue,"onUpdate:modelValue":t[0]||(t[0]=function(e){return p(h).timeValue=e}),options:[{label:"5分钟",value:"5分钟"},{label:"10分钟",value:"10分钟"},{label:"30分钟",value:"30分钟"},{label:"60分钟",value:"60分钟"}]},null,8,["modelValue"])]}),_:1})]}),_:1},8,["model","disabled"])])}}}))}}})}();
