"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var y=require("vue");require("ant-design-vue");require("axios");const de={info:{startTime:0,endTime:0,endTimeDate:0,assessmentTime:"00:00:00",inspectInjury:void 0,escort:void 0,escortMode:void 0,userName:"",age:""},isAssessment:!1,isEndAssessmentState:!1};y.reactive({...de});const ee=localStorage.getItem("THEME"),ve=JSON.parse(ee||"{}"),ge=ee?ve.themeType:"dark";y.ref(ge);const A={CASE_CREATE:"case_create",CASE_EDIT:"case_edit",CASE_DELETE:"case_delete",CASE_VIEW:"case_view",LEFT_EYELID:"leftEyelid",RIGHT_EYELID:"rightEyelid",LEFT_EYE_COVERAGE:"lefteyeCoverage",RIGHT_EYE_COVERAGE:"righteyeCoverage",LEFT_PUPIL_OPENING:"leftpupil_opening",RIGHT_PUPIL_OPENING:"rightpupil_opening",LEFTPUPIL_DEVIATION:"leftpupil_deviation",RIGHTPUPIL_DEVIATION:"rightpupil_deviation",LEFT_EYE_STATE:"lefteye_state",RIGHT_EYE_STATE:"righteye_state",LEFT_EYE_LUMEN:"lefteye_lumen",RIGHT_EYE_LUMEN:"righteye_lumen",LEFT_EYE_FREQUENCY:"lefteye_frequency",RIGHT_EYE_FREQUENCY:"righteye_frequency",LEFT_EYE_SPEED:"lefteye_speed",RIGHT_EYE_SPEED:"righteye_speed",OBJECT_ORIENTATION:"object_orientation",EYE_ORIENTATION:"eye_orientation",LA_CONVULSION:"la_convulsion",RA_CONVULSION:"ra_convulsion",ORAL_CAVITY_CTRL:"oral_cavity_ctrl",GLOSSOPTOSIS:"glossoptosis",TRISMUS:"trismus",LARYNGEAL_EDEMA:"laryngeal_edema",STIFF_NECK:"stiff_neck",SIM_SIGNAL:"sim_signal",ESOPHAGEAL_INTUBATION:"esophageal_intubation",AIRWAY_INTUBATION:"airway_intubation",MANDIBULAR_ANGLE:"mandibular_angle",LTV:"ltv",LTV_FREQUENCY:"ltv_frequency",VENTILATION_FEEDBACK:"ventilation_feedback",LUNG_CTRL:"lung_ctrl",RESP_CTRL:"resp_ctrl",BREATH_DEPTH:"depth",BREATH_RESP:"resp",BREATH_IE_RATIO:"ie_ratio",SOUND_MUTE:"sound_mute",SOUND_TYPE:"sound_type",LEFT_PTX:"left_ptx",RIGHT_PTX:"right_ptx",LEFT_PTX_PUNCTURE:"left_ptx_puncture",RIGHT_PTX_PUNCTURE:"right_ptx_puncture",LEFT_HTX_PUNCTURE:"left_htx_puncture",RIGHT_HTX_PUNCTURE:"right_htx_puncture",HEART_RHYTHM:"state",OPEN_SOUND_MUTE:"open_sound_mute",HEART_RATE:"hr",PFRE:"pfre",BLOOD_PRESSURE:"blood_pressure",SBP:"sbp",DBP:"dbp",POWER:"power",PULSE_CONFIG:"pulse_config",SPO2:"spo2",LIP_CYANOSIS:"lip_cyanosis",EAR_CYANOSIS:"ear_cyanosis",FINGER_CYANOSIS:"finger_cyanosis",BOWELSOUND:"bowelsound",BOWELSOUND_TYPE:"bowelsound_type",ABDU_PALPATION:"abdu_palpation",BLADDER_PUNCTURE:"bladder_puncture",URC:"urc",TEMPERATURE:"temperature",SWEAT:"sweat",TEAR:"tear",NOSE_CEREBROSPINAL_FLUID:"nose_cerebrospinal_fluid",DROOL:"drool",FOAMING:"foaming",LOPS:"lops",ROPS:"rops",LSPS:"lsps",RSPS:"rsps",LF_PRESSURE:"lf_pressure",RF_PRESSURE:"rf_pressure",LH_RETRACT:"lh_retract",LH_GESTURE:"lh_gesture",RH_GESTURE:"rh_gesture",LEFTCHEEK_TRAUMA:"leftcheek_trauma",RIGHTCHEEK_TRAUMA:"rightcheek_trauma",HEADTOP_TRAUMA:"headtop_trauma",RIGHTMOUTH_TRAUMA:"rightmouth_trauma",NOSE_TRAUMA:"nose_trauma",LEFTNECK_TRAUMA:"leftneck_trauma",LEFTEAR_BLEEDING:"leftear_bleeding",RIGHTEAR_BLEEDING:"rightear_bleeding",RUA_TRAUMA:"rua_trauma",RFA_TRAUMA:"rfa_trauma",LFA_TRAUMA:"lfa_trauma",LF_HBC_BP:"lf_hbc_bp",LUA_TRAUMA:"lua_trauma",RT_TRAUMA:"rt_trauma",RC_TRAUMA:"rc_trauma",LT_TRAUMA:"lt_trauma",LC_TRAUMA:"lc_trauma",LC_HBC_BP:"lc_hbc_bp",ABDL_TRAUMA:"abdl_trauma",ABDL_GROIN_TRAUMA:"abdl_groin_trauma",ABDR_TRAUMA:"abdr_trauma",LR_TRAUMA:"lr_trauma",RR_TRAUMA:"rr_trauma",LH_TRAUMA:"lh_trauma",LFI_TRAUMA:"lfi_trauma",PRESSED_DEPTH:"pressed_depth",CHEST_PC:"pc",CHEST_PL:"pl",CHEST_PR:"pr",CHEST_PU:"pu",CHEST_PD:"pd",PRES_STA:"pres_sta",DRES:"dres",KEYS:"keys",CPLD:"cpld",EXID:"exid",GZER:"gzer",HTDL:"htdl",LH_POD:"lh_pod",RH_POD:"rh_pod",INJECTION_STATE:"injection_state",D_TYPE:"d_type",DW_TYPE:"dw_type",ET_STATE:"et_state",D_ENERGY:"d_energy"};var j=(r=>(r.SYSTEM_ADMIN="system_admin",r.WEARABLE="wearable",r))(j||{});A.ORAL_CAVITY_CTRL,A.VENTILATION_FEEDBACK,A.AIRWAY_INTUBATION,A.LTV,A.LTV_FREQUENCY,A.BLADDER_PUNCTURE,A.URC;const me={[j.SYSTEM_ADMIN]:Object.values(A),[j.WEARABLE]:[]};(()=>{const r={};return Object.values(A).forEach(e=>{r[e]=Object.entries(me).filter(([,t])=>t.includes(e)).map(([t])=>t)}),r})();function Te(r){if(r.__esModule)return r;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(r).forEach(function(t){var o=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,o.get?o:{enumerable:!0,get:function(){return r[t]}})}),e}var re=TypeError,Pe={},Re=Object.freeze(Object.defineProperty({__proto__:null,default:Pe},Symbol.toStringTag,{value:"Module"})),Se=Te(Re),te=typeof Map=="function"&&Map.prototype,D=Object.getOwnPropertyDescriptor&&te?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null;te&&D&&typeof D.get=="function"&&D.get;var oe=typeof Set=="function"&&Set.prototype,B=Object.getOwnPropertyDescriptor&&oe?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null;oe&&B&&typeof B.get=="function"&&B.get;var he=typeof WeakRef=="function"&&WeakRef.prototype;he&&WeakRef.prototype.deref;var x=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,be=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Oe=Se,Y=Oe.custom;Ie(Y);function Ie(r){if(be)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!x)return!1;try{return x.call(r),!0}catch{}return!1}var ae=Object,Ue=Error,Ne=EvalError,Le=RangeError,Me=ReferenceError,Ce=SyntaxError,Fe=URIError,De=Math.abs,Be=Math.floor,$e=Math.max,we=Math.min,Ge=Math.pow,je=Math.round,He=Number.isNaN||function(e){return e!==e},ke=He,xe=function(e){return ke(e)||e===0?e:e<0?-1:1},Ye=Object.getOwnPropertyDescriptor,U=Ye;if(U)try{U([],"length")}catch{U=null}var ne=U,N=Object.defineProperty||!1;if(N)try{N({},"a",{value:1})}catch{N=!1}var We=N,Ve=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),o=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var c=Object.getOwnPropertySymbols(e);if(c.length!==1||c[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var p=Object.getOwnPropertyDescriptor(e,t);if(p.value!==n||p.enumerable!==!0)return!1}return!0},W=typeof Symbol!="undefined"&&Symbol,ze=Ve,qe=function(){return typeof W!="function"||typeof Symbol!="function"||typeof W("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ze()},ie=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null,Je=ae,pe=Je.getPrototypeOf||null,Ke="Function.prototype.bind called on incompatible ",Xe=Object.prototype.toString,Qe=Math.max,Ze="[object Function]",V=function(e,t){for(var o=[],n=0;n<e.length;n+=1)o[n]=e[n];for(var i=0;i<t.length;i+=1)o[i+e.length]=t[i];return o},er=function(e,t){for(var o=[],n=t||0,i=0;n<e.length;n+=1,i+=1)o[i]=e[n];return o},rr=function(r,e){for(var t="",o=0;o<r.length;o+=1)t+=r[o],o+1<r.length&&(t+=e);return t},tr=function(e){var t=this;if(typeof t!="function"||Xe.apply(t)!==Ze)throw new TypeError(Ke+t);for(var o=er(arguments,1),n,i=function(){if(this instanceof n){var u=t.apply(this,V(o,arguments));return Object(u)===u?u:this}return t.apply(e,V(o,arguments))},c=Qe(0,t.length-o.length),p=[],f=0;f<c;f++)p[f]="$"+f;if(n=Function("binder","return function ("+rr(p,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var s=function(){};s.prototype=t.prototype,n.prototype=new s,s.prototype=null}return n},or=tr,C=Function.prototype.bind||or,H=Function.prototype.call,ye=Function.prototype.apply,ar=typeof Reflect!="undefined"&&Reflect&&Reflect.apply,nr=C,ir=ye,pr=H,yr=ar,lr=yr||nr.call(pr,ir),cr=C,sr=re,ur=H,fr=lr,le=function(e){if(e.length<1||typeof e[0]!="function")throw new sr("a function is required");return fr(cr,ur,e)},_r=le,z=ne,ce;try{ce=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var $=!!ce&&z&&z(Object.prototype,"__proto__"),se=Object,q=se.getPrototypeOf,Er=$&&typeof $.get=="function"?_r([$.get]):typeof q=="function"?function(e){return q(e==null?e:se(e))}:!1,J=ie,K=pe,X=Er,Ar=J?function(e){return J(e)}:K?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return K(e)}:X?function(e){return X(e)}:null,dr=Function.prototype.call,vr=Object.prototype.hasOwnProperty,gr=C,mr=gr.call(dr,vr),a,Tr=ae,Pr=Ue,Rr=Ne,Sr=Le,hr=Me,T=Ce,m=re,br=Fe,Or=De,Ir=Be,Ur=$e,Nr=we,Lr=Ge,Mr=je,Cr=xe,ue=Function,w=function(r){try{return ue('"use strict"; return ('+r+").constructor;")()}catch{}},P=ne,Fr=We,G=function(){throw new m},Dr=P?function(){try{return arguments.callee,G}catch{try{return P(arguments,"callee").get}catch{return G}}}():G,v=qe(),l=Ar,Br=pe,$r=ie,fe=ye,R=H,g={},wr=typeof Uint8Array=="undefined"||!l?a:l(Uint8Array),d={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?a:ArrayBuffer,"%ArrayIteratorPrototype%":v&&l?l([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":g,"%AsyncGenerator%":g,"%AsyncGeneratorFunction%":g,"%AsyncIteratorPrototype%":g,"%Atomics%":typeof Atomics=="undefined"?a:Atomics,"%BigInt%":typeof BigInt=="undefined"?a:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?a:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?a:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Pr,"%eval%":eval,"%EvalError%":Rr,"%Float16Array%":typeof Float16Array=="undefined"?a:Float16Array,"%Float32Array%":typeof Float32Array=="undefined"?a:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?a:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?a:FinalizationRegistry,"%Function%":ue,"%GeneratorFunction%":g,"%Int8Array%":typeof Int8Array=="undefined"?a:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?a:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&l?l(l([][Symbol.iterator]())):a,"%JSON%":typeof JSON=="object"?JSON:a,"%Map%":typeof Map=="undefined"?a:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!v||!l?a:l(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Tr,"%Object.getOwnPropertyDescriptor%":P,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?a:Promise,"%Proxy%":typeof Proxy=="undefined"?a:Proxy,"%RangeError%":Sr,"%ReferenceError%":hr,"%Reflect%":typeof Reflect=="undefined"?a:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?a:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!v||!l?a:l(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&l?l(""[Symbol.iterator]()):a,"%Symbol%":v?Symbol:a,"%SyntaxError%":T,"%ThrowTypeError%":Dr,"%TypedArray%":wr,"%TypeError%":m,"%Uint8Array%":typeof Uint8Array=="undefined"?a:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?a:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?a:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?a:Uint32Array,"%URIError%":br,"%WeakMap%":typeof WeakMap=="undefined"?a:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?a:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?a:WeakSet,"%Function.prototype.call%":R,"%Function.prototype.apply%":fe,"%Object.defineProperty%":Fr,"%Object.getPrototypeOf%":Br,"%Math.abs%":Or,"%Math.floor%":Ir,"%Math.max%":Ur,"%Math.min%":Nr,"%Math.pow%":Lr,"%Math.round%":Mr,"%Math.sign%":Cr,"%Reflect.getPrototypeOf%":$r};if(l)try{null.error}catch(r){var Gr=l(l(r));d["%Error.prototype%"]=Gr}var jr=function r(e){var t;if(e==="%AsyncFunction%")t=w("async function () {}");else if(e==="%GeneratorFunction%")t=w("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=w("async function* () {}");else if(e==="%AsyncGenerator%"){var o=r("%AsyncGeneratorFunction%");o&&(t=o.prototype)}else if(e==="%AsyncIteratorPrototype%"){var n=r("%AsyncGenerator%");n&&l&&(t=l(n.prototype))}return d[e]=t,t},Q={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=C,L=mr,Hr=S.call(R,Array.prototype.concat),kr=S.call(fe,Array.prototype.splice),Z=S.call(R,String.prototype.replace),M=S.call(R,String.prototype.slice),xr=S.call(R,RegExp.prototype.exec),Yr=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Wr=/\\(\\)?/g,Vr=function(e){var t=M(e,0,1),o=M(e,-1);if(t==="%"&&o!=="%")throw new T("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&t!=="%")throw new T("invalid intrinsic syntax, expected opening `%`");var n=[];return Z(e,Yr,function(i,c,p,f){n[n.length]=p?Z(f,Wr,"$1"):c||i}),n},zr=function(e,t){var o=e,n;if(L(Q,o)&&(n=Q[o],o="%"+n[0]+"%"),L(d,o)){var i=d[o];if(i===g&&(i=jr(o)),typeof i=="undefined"&&!t)throw new m("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new T("intrinsic "+e+" does not exist!")},k=function(e,t){if(typeof e!="string"||e.length===0)throw new m("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new m('"allowMissing" argument must be a boolean');if(xr(/^%?[^%]*%?$/,e)===null)throw new T("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=Vr(e),n=o.length>0?o[0]:"",i=zr("%"+n+"%",t),c=i.name,p=i.value,f=!1,s=i.alias;s&&(n=s[0],kr(o,Hr([0,1],s)));for(var u=1,_=!0;u<o.length;u+=1){var E=o[u],b=M(E,0,1),O=M(E,-1);if((b==='"'||b==="'"||b==="`"||O==='"'||O==="'"||O==="`")&&b!==O)throw new T("property names with quotes must have matching quotes");if((E==="constructor"||!_)&&(f=!0),n+="."+E,c="%"+n+"%",L(d,c))p=d[c];else if(p!=null){if(!(E in p)){if(!t)throw new m("base intrinsic for "+e+" exists, but the property is not available.");return}if(P&&u+1>=o.length){var I=P(p,E);_=!!I,_&&"get"in I&&!("originalValue"in I.get)?p=I.get:p=p[E]}else _=L(p,E),p=p[E];_&&!f&&(d[c]=p)}}return p},_e=k,Ee=le,qr=Ee([_e("%String.prototype.indexOf%")]),Ae=function(e,t){var o=_e(e,!!t);return typeof o=="function"&&qr(e,".prototype.")>-1?Ee([o]):o},Jr=k,h=Ae;Jr("%Map%",!0);h("Map.prototype.get",!0);h("Map.prototype.set",!0);h("Map.prototype.has",!0);h("Map.prototype.delete",!0);h("Map.prototype.size",!0);var Kr=k,F=Ae;Kr("%WeakMap%",!0);F("WeakMap.prototype.get",!0);F("WeakMap.prototype.set",!0);F("WeakMap.prototype.has",!0);F("WeakMap.prototype.delete",!0);(function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r})();const Xr=(r,e)=>(r.install=t=>{const o=r.name||r.displayName;!o||(t.component(o,r),e&&(t.config.globalProperties[e]=r))},r),Qr={theme:String,modeList:{type:Array,required:!0,default:()=>[]},active:{type:Number},onClick:{type:Function,default:null}};const Zr={class:"sim-training-mode"},et={class:"center"},rt=["onClick"],tt=["src"],ot={name:"SimTrainingMode"},at=y.defineComponent({...ot,props:Qr,emits:["change"],setup(r,{emit:e}){var f;const t=r,o=e,n="@/assets/images/home/cursor.png",i="@/assets/images/home/active.png",c=y.ref(t.active||((f=t.modeList[0])==null?void 0:f.id)||0),p=s=>{var u;c.value=s.id,(u=t==null?void 0:t.onClick)==null||u.call(t,s),o("change",s)};return(s,u)=>(y.openBlock(),y.createElementBlock("div",Zr,[y.createElementVNode("div",et,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(s.modeList,_=>(y.openBlock(),y.createElementBlock("div",{key:_.id,class:y.normalizeClass(["card",{active:c.value===_.id}]),onClick:E=>p(_)},[y.createElementVNode("img",{class:"cursor",src:n,alt:"Cursor indicator"}),y.createElementVNode("img",{src:_.imgUrl,class:y.normalizeClass({normalIcon:_.id===4}),alt:"Card content"},null,10,tt),y.createElementVNode("img",{src:i,class:"active",alt:"Active indicator"})],10,rt))),128))])]))}}),nt=Xr(at);exports.SimTrainingMode=nt;
