(("undefined"!==typeof self?self:this)["webpackJsonpdouble_prevention_management_sm"]=("undefined"!==typeof self?self:this)["webpackJsonpdouble_prevention_management_sm"]||[]).push([[41],{"0cb2":function(e,t,n){"use strict";var r=n("e330"),a=n("7b0b"),i=Math.floor,c=r("".charAt),u=r("".replace),o=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,f){var v=n+e.length,h=r.length,p=l;return void 0!==d&&(d=a(d),p=s),u(f,p,(function(a,u){var s;switch(c(u,0)){case"$":return"$";case"&":return e;case"`":return o(t,0,n);case"'":return o(t,v);case"<":s=d[o(u,1,-1)];break;default:var l=+u;if(0===l)return a;if(l>h){var f=i(l/10);return 0===f?a:f<=h?void 0===r[f-1]?c(u,1):r[f-1]+c(u,1):a}s=r[l-1]}return void 0===s?"":s}))}},5319:function(e,t,n){"use strict";var r=n("2ba4"),a=n("c65b"),i=n("e330"),c=n("d784"),u=n("d039"),o=n("825a"),s=n("1626"),l=n("7234"),d=n("5926"),f=n("50c4"),v=n("577e"),h=n("1d80"),p=n("8aa5"),g=n("dc4a"),b=n("0cb2"),$=n("14c3"),x=n("b622"),m=x("replace"),w=Math.max,S=Math.min,_=i([].concat),k=i([].push),y=i("".indexOf),O=i("".slice),j=function(e){return void 0===e?e:String(e)},A=function(){return"$0"==="a".replace(/./,"$0")}(),q=function(){return!!/./[m]&&""===/./[m]("a","$0")}(),I=!u((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));c("replace",(function(e,t,n){var i=q?"$":"$0";return[function(e,n){var r=h(this),i=l(e)?void 0:g(e,m);return i?a(i,e,r,n):a(t,v(r),e,n)},function(e,a){var c=o(this),u=v(e);if("string"==typeof a&&-1===y(a,i)&&-1===y(a,"$<")){var l=n(t,c,u,a);if(l.done)return l.value}var h=s(a);h||(a=v(a));var g,x=c.global;x&&(g=c.unicode,c.lastIndex=0);var m,A=[];while(1){if(m=$(c,u),null===m)break;if(k(A,m),!x)break;var q=v(m[0]);""===q&&(c.lastIndex=p(u,f(c.lastIndex),g))}for(var I="",M=0,R=0;R<A.length;R++){m=A[R];for(var z,C=v(m[0]),D=w(S(d(m.index),u.length),0),J=[],V=1;V<m.length;V++)k(J,j(m[V]));var E=m.groups;if(h){var H=_([C],J,D,u);void 0!==E&&k(H,E),z=v(r(a,void 0,H))}else z=b(C,u,D,J,E,a);D>=M&&(I+=O(u,M,D)+z,M=D+C.length)}return I+O(u,M)}]}),!I||!A||q)},"81ad":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-card",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"h-full relative flex flex-col"})},a=[],i=n("c7eb"),c=n("3835"),u=n("1da1"),o=(n("ac1f"),n("5319"),n("323a")),s=new o["HiddenDangerRectificationChecklistApi"],l={name:"hidden-controls-center",data:function(){return{loading:!0}},created:function(){var e=this.$route.query.id;this.getStep(e)},methods:{getStep:function(e){var t=this;return Object(u["a"])(Object(i["a"])().mark((function n(){var r,a,u,o,l;return Object(i["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,s.get(e);case 2:r=n.sent,a=Object(c["a"])(r,2),a[0],u=a[1],console.log("res",u),o=t.findStep(u),l=t.$route.query,t.$router.replace({path:o,query:l});case 10:case"end":return n.stop()}}),n)})))()},findStep:function(e){return 1!==e.hazardVerificationStatus&&null!==e.hazardVerificationStatus?"hidden-verify":2!==e.hiddenDangerRectificationStatus?"hidden-Rectification":"hidden-Accept"}}},d=l,f=n("2877"),v=Object(f["a"])(d,r,a,!1,null,null,null);t["default"]=v.exports},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}}}]);