mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-19 17:16:08 +08:00
2 lines
202 KiB
JavaScript
2 lines
202 KiB
JavaScript
var ve=Object.defineProperty;var ye=(e,t,o)=>t in e?ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var de=(e,t,o)=>(ye(e,typeof t!="symbol"?t+"":t,o),o);var ge=(e,t,o)=>(t=e[Symbol.asyncIterator],o=(a,n)=>(n=e[a])&&(t[a]=s=>new Promise((i,r,d)=>(s=n.call(e,s),d=s.done,Promise.resolve(s.value).then(c=>i({value:c,done:d}),r)))),t?t.call(e):(e=e[Symbol.iterator](),t={},o("next"),o("return"),t));import{l as lodash,R,S,C as Chart,r as registerables,a as C,j,O,Y}from"./common.97bd0112.js";import{m as message,r as ref,d as defineComponent,o as onMounted,a as onUpdated,b as createElementBlock,u as unref,e as onUnmounted,f as openBlock,g as createBaseVNode,t as toDisplayString,h as createVNode,F as Fragment,i as renderList,n as normalizeStyle,j as createTextVNode,_ as __unplugin_components_0,k as renderSlot,w as withCtx,l as createBlock,p as resolveDynamicComponent,q as pushScopeId,s as popScopeId,v as computed,x as watch,y as __unplugin_components_0$1,z as reactive,A as withModifiers,T as Transition,B as createCommentVNode,L as LeftOutlined,R as RightOutlined,C as __unplugin_components_1,S as SortAscendingOutlined,D as SortDescendingOutlined,E as SelectOption,G as __unplugin_components_0$2,H as DoubleLeftOutlined,I as DoubleRightOutlined,J as shallowReactive,K as markRaw,M as DragOutlined,N as SoundOutlined,O as TransitionGroup,P as nextTick,Q as createApp}from"./antdv.10579f22.js";function __vite_legacy_guard(){import("data:text/javascript,")}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function o(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerpolicy&&(s.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?s.credentials="include":n.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(n){if(n.ep)return;n.ep=!0;const s=o(n);fetch(n.href,s)}})();let pop=[],time=0;function init$e(){return main.replayChecking||core.registerAnimationFrame("pop",!0,popValue),{addPop,pop}}function popValue(e){if(e-time<15)return;let t=core.getContextByName("pop");t||(t=core.createCanvas("pop",0,0,core._PX_,core._PY_,90)),core.clearMap(t);let o=0;pop.forEach(function(a){const n=6-a.frame*.2,s=1;a.py-=n,a.px+=s,a.frame++,a.frame>=60?core.setAlpha(t,3-a.frame/30):core.setAlpha(t,1),core.fillBoldText(t,a.value,a.px,a.py,"#f22","#000","24px normal"),a.frame>=90&&o++}),o>0&&pop.splice(0,o),time=e}function addPop(e,t,o){var a={px:e,py:t,value:o,frame:0};pop.push(a)}const _default="",index$5="";var KeyCode=(e=>(e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.Semicolon=80]="Semicolon",e[e.Equal=81]="Equal",e[e.Comma=82]="Comma",e[e.Minus=83]="Minus",e[e.Period=84]="Period",e[e.Slash=85]="Slash",e[e.Backquote=86]="Backquote",e[e.BracketLeft=87]="BracketLeft",e[e.Backslash=88]="Backslash",e[e.BracketRight=89]="BracketRight",e[e.Quote=90]="Quote",e[e.OEM_8=91]="OEM_8",e[e.IntlBackslash=92]="IntlBackslash",e[e.Numpad0=93]="Numpad0",e[e.Numpad1=94]="Numpad1",e[e.Numpad2=95]="Numpad2",e[e.Numpad3=96]="Numpad3",e[e.Numpad4=97]="Numpad4",e[e.Numpad5=98]="Numpad5",e[e.Numpad6=99]="Numpad6",e[e.Numpad7=100]="Numpad7",e[e.Numpad8=101]="Numpad8",e[e.Numpad9=102]="Numpad9",e[e.NumpadMultiply=103]="NumpadMultiply",e[e.NumpadAdd=104]="NumpadAdd",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=106]="NumpadSubtract",e[e.NumpadDecimal=107]="NumpadDecimal",e[e.NumpadDivide=108]="NumpadDivide",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.AudioVolumeMute=112]="AudioVolumeMute",e[e.AudioVolumeUp=113]="AudioVolumeUp",e[e.AudioVolumeDown=114]="AudioVolumeDown",e[e.BrowserSearch=115]="BrowserSearch",e[e.BrowserHome=116]="BrowserHome",e[e.BrowserBack=117]="BrowserBack",e[e.BrowserForward=118]="BrowserForward",e[e.MediaTrackNext=119]="MediaTrackNext",e[e.MediaTrackPrevious=120]="MediaTrackPrevious",e[e.MediaStop=121]="MediaStop",e[e.MediaPlayPause=122]="MediaPlayPause",e[e.LaunchMediaPlayer=123]="LaunchMediaPlayer",e[e.LaunchMail=124]="LaunchMail",e[e.LaunchApp2=125]="LaunchApp2",e[e.Clear=126]="Clear",e[e.MAX_VALUE=127]="MAX_VALUE",e))(KeyCode||{});class KeyCodeStrMap{constructor(){de(this,"_keyCodeToStr");de(this,"_strToKeyCode");this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,o){this._keyCodeToStr[t]=o,this._strToKeyCode[o.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const uiMap=new KeyCodeStrMap,userSettingsUSMap=new KeyCodeStrMap,userSettingsGeneralMap=new KeyCodeStrMap,EVENT_KEY_CODE_MAP=new Array(230),scanCodeStrToInt=Object.create(null),scanCodeLowerCaseStrToInt=Object.create(null);(function(){const e="",t=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",0,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],o=[],a=[];for(const n of t){const[s,i,r,d,c,_,u,l,p,f]=n;if(a[r]||(a[r]=!0,scanCodeStrToInt[d]=r,scanCodeLowerCaseStrToInt[d.toLowerCase()]=r),!o[c]){if(o[c]=!0,!_)throw new Error(`String representation missing for key code ${c} around scan code ${d}`);uiMap.define(c,_),userSettingsUSMap.define(c,p||_),userSettingsGeneralMap.define(c,f||p||_)}u&&(EVENT_KEY_CODE_MAP[u]=c)}})();var KeyCodeUtils;(e=>{function t(r){return uiMap.keyCodeToStr(r)}e.toString=t;function o(r){return uiMap.strToKeyCode(r)}e.fromString=o;function a(r){return userSettingsUSMap.keyCodeToStr(r)}e.toUserSettingsUS=a;function n(r){return userSettingsGeneralMap.keyCodeToStr(r)}e.toUserSettingsGeneral=n;function s(r){return userSettingsUSMap.strToKeyCode(r)||userSettingsGeneralMap.strToKeyCode(r)}e.fromUserSettings=s;function i(r){if(r>=93&&r<=108)return null;switch(r){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return uiMap.keyCodeToStr(r)}e.toElectronAccelerator=i})(KeyCodeUtils||(KeyCodeUtils={}));function init$d(){return{has,getDamageColor,parseCss,tip:tip$1}}function has(e){return!lodash.exports.isNil(e)}function getDamageColor(e){return typeof e!="number"?"#f00":e===0?"#2f2":e<0?"#7f7":e<core.status.hero.hp/3?"#fff":e<core.status.hero.hp*2/3?"#ff4":e<core.status.hero.hp?"#f93":"#f22"}function setCanvasSize(e,t,o){e.width=t,e.height=o,e.style.width=`${t}px`,e.style.height=`${o}px`}function keycode(e){return EVENT_KEY_CODE_MAP[e]}function parseCss(e){const o=e.replace(/[\n\s\t]*/g,"").replace(/;*/g,";").split(";"),a={};for(const n of o){const[s,i]=n.split(":"),r=s.replace(/\-([a-z])/g,(d,c)=>c.toUpperCase());a[r]=i}return a}function type(str,time=1e3,timing=e=>e,avr=!1){const toShow=eval("`"+str+"`");if(typeof toShow!="string")throw new TypeError("Error str type in typing!");if(toShow.startsWith("!!html"))return ref(toShow);avr&&(time*=toShow.length);const ani=new R,content=ref(""),all=toShow.length,fn=e=>{if(!has(e))return;const t=ani.x;content.value=toShow.slice(0,Math.floor(t)),Math.floor(t)===all&&(ani.ticker.destroy(),content.value=toShow)};return ani.ticker.add(fn),ani.mode(timing).time(time).move(all,0),setTimeout(()=>ani.ticker.destroy(),time+100),content}function tip$1(e,t){message[e]({content:t,class:"antdv-message"})}function splitText(e){return e.map((t,o,a)=>/^\d+\./.test(t)?`${" ".repeat(12)}${t}`:has(a[o-1])&&t!=="<br>"&&a[o-1]==="<br>"||o===0?`${" ".repeat(8)}${t}`:t).join("")}function downloadCanvasImage(e,t){const o=e.toDataURL("image/png");download(o,t)}function download(e,t){const o=document.createElement("a");o.download=`${t}.png`,o.href=e,document.body.appendChild(o),o.click(),document.body.removeChild(o)}async function doByInterval(e,t,o=!1){try{for(var a=ge(e),n,s,i;n=!(s=await a.next()).done;n=!1){const r=s.value;o&&await S(t),r(),o||await S(t)}}catch(s){i=[s]}finally{try{n&&(s=a.return)&&await s.call(a)}finally{if(i)throw i[0]}}}const animation=[];let animateTime=0;function init$c(){return core.registerAnimationFrame("animateController",!0,e=>{if(!(e-animateTime<=core.values.animateSpeed)){for(const t of animation)t(e);animateTime=core.animateFrame.animateTime}}),{addAnimate,removeAnimate}}function addAnimate(e){animation.push(e)}function removeAnimate(e){const t=animation.findIndex(o=>o===e);t!==-1&&animation.splice(t,1)}const _hoisted_1$q=["width","height","id"],_sfc_main$q=defineComponent({__name:"boxAnimate",props:{id:null,noborder:{type:Boolean},width:null,height:null},setup(e){const t=e,o=(Math.random()*1e8).toFixed(0);let a,n,s;function i(){var l,p;if(o==="none")return;has(s)&&removeAnimate(s);const r=core.getClsFromId(t.id),d=core.getAnimateFrames(r),c=(l=t.width)!=null?l:32,_=(p=t.height)!=null?p:32;t.noborder||(a.style.border="1.5px solid #ddd",a.style.backgroundColor="#222");const u=window.devicePixelRatio;if(a.style.width=`${c}px`,a.style.height=`${_}px`,a.width=u*c,a.height=u*_,n.scale(u,u),t.id!=="none")if(t.id==="hero"){const f=core.material.images.hero;n.drawImage(f,0,0,f.width/4,f.height/4,0,0,c,_)}else d===1?core.drawIcon(n,t.id,0,0,t.width,t.height):(s=()=>{core.clearMap(n);const f=core.status.globalAnimateStatus%d;core.drawIcon(n,t.id,0,0,c,_,f)},s(),addAnimate(s),onUnmounted(()=>{removeAnimate(s)}))}return onMounted(()=>{a=document.getElementById(`box-animate-${o}`),n=a.getContext("2d"),i()}),onUpdated(()=>{i()}),(r,d)=>{var c,_;return openBlock(),createElementBlock("canvas",{width:(c=e.width)!=null?c:32,height:(_=e.height)!=null?_:32,id:`box-animate-${unref(o)}`},null,8,_hoisted_1$q)}}});function init$b(){return{useDrag,useWheel,useUp,isMobile}}const dragFnMap=new Map,isMobile=matchMedia("(max-width: 600px)").matches;function useDrag(e,t,o,a,n=!1){let s=!1;const i=p=>{s=!0,o&&o(p.clientX,p.clientY,p)},r=p=>{s=!0,o&&o(p.touches[0].clientX,p.touches[0].clientY,p)};e instanceof Array?e.forEach(p=>{p.addEventListener("mousedown",i),p.addEventListener("touchstart",r)}):(e.addEventListener("mousedown",i),e.addEventListener("touchstart",r));const d=n?document:e,c=p=>{!s||t(p.clientX,p.clientY,p)},_=p=>{!s||t(p.touches[0].clientX,p.touches[0].clientY,p)},u=p=>{!s||(a&&a(p),s=!1)},l=p=>{!s||(a&&a(p),s=!1)};d instanceof Array?d.forEach(p=>{p.addEventListener("mouseup",u),p.addEventListener("touchend",l),p.addEventListener("mousemove",c),p.addEventListener("touchmove",_)}):(d.addEventListener("mouseup",u),d.addEventListener("touchend",l),d.addEventListener("mousemove",c),d.addEventListener("touchmove",_)),dragFnMap.set(t,[c,_,u,l])}function cancelGlobalDrag(e){const t=dragFnMap.get(e);dragFnMap.delete(e),t&&(document.removeEventListener("mousemove",t[0]),document.removeEventListener("touchmove",t[1]),document.removeEventListener("mouseup",t[0]),document.removeEventListener("touchend",t[1]))}function useWheel(e,t){e.addEventListener("wheel",o=>{t(o.deltaX,o.deltaY,o.deltaZ,o)})}function useUp(e,t){e.addEventListener("mouseup",o=>{t(o.clientX,o.clientY,o)}),e.addEventListener("touchend",o=>{t(o.touches[0].clientX,o.touches[0].clientY,o)})}const _hoisted_1$p=["selected"],_hoisted_2$m={class:"info"},_hoisted_3$m={class:"leftbar"},_hoisted_4$j={class:"name"},_hoisted_5$g={key:0,class:"special-text"},_hoisted_6$e={key:1,class:"special-text"},_hoisted_7$c={class:"rightbar"},_hoisted_8$b={class:"detail"},_hoisted_9$b={class:"detail-info"},_hoisted_10$9={style:{color:"lightgreen"}},_hoisted_11$9={class:"detail-info"},_hoisted_12$6={style:{color:"lightcoral"}},_hoisted_13$6={class:"detail-info"},_hoisted_14$6={style:{color:"lightblue"}},_hoisted_15$5={class:"detail-info"},_hoisted_16$5={style:{color:"lightyellow"}},_hoisted_17$4={class:"detail-info"},_hoisted_18$4={style:{color:"lawngreen"}},_hoisted_19$4={class:"detail-info"},_hoisted_20$4={class:"detail-info"},_hoisted_21$4={style:{color:"lightsalmon"}},_hoisted_22$3={class:"detail-info"},_hoisted_23$3={style:{color:"lightpink"}},_hoisted_24$3={style:{"font-family":"'Fira Code'"}},_hoisted_25$2={class:"detail-info"},_hoisted_26$2={style:{color:"cyan"}},_sfc_main$p=defineComponent({__name:"enemyOne",props:{enemy:null,selected:{type:Boolean}},emits:["select","hover"],setup(e,{emit:t}){const o=window.core,a=window.innerWidth*.032;function n(i){t("select")}function s(){t("hover")}return(i,r)=>{const d=__unplugin_components_0;return openBlock(),createElementBlock("div",{class:"enemy-container",onClick:n,onMouseenter:s,selected:e.selected},[createBaseVNode("div",_hoisted_2$m,[createBaseVNode("div",_hoisted_3$m,[createBaseVNode("span",_hoisted_4$j,toDisplayString(e.enemy.name),1),createVNode(_sfc_main$q,{id:e.enemy.id,width:unref(isMobile)?32:a,height:unref(isMobile)?32:a,style:{margin:"5%"}},null,8,["id","width","height"]),unref(has)(e.enemy.special)&&e.enemy.special.length>0?(openBlock(),createElementBlock("div",_hoisted_5$g,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.enemy.toShowSpecial,(c,_)=>(openBlock(),createElementBlock("span",{style:normalizeStyle({color:e.enemy.toShowColor[_]})},"\xA0"+toDisplayString(c)+"\xA0",5))),256))])):(openBlock(),createElementBlock("div",_hoisted_6$e,"\u65E0\u5C5E\u6027"))]),createVNode(d,{type:"vertical",dashed:"",style:{height:"100%",margin:"0 3% 0 1%","border-color":"#ddd4"}}),createBaseVNode("div",_hoisted_7$c,[createBaseVNode("div",_hoisted_8$b,[createBaseVNode("div",_hoisted_9$b,[createBaseVNode("span",_hoisted_10$9,"\u751F\u547D\xA0\xA0\xA0\xA0"+toDisplayString(unref(o).formatBigNumber(e.enemy.hp)),1)]),createBaseVNode("div",_hoisted_11$9,[createBaseVNode("span",_hoisted_12$6,"\u653B\u51FB\xA0\xA0\xA0\xA0"+toDisplayString(unref(o).formatBigNumber(e.enemy.atk)),1)]),createBaseVNode("div",_hoisted_13$6,[createBaseVNode("span",_hoisted_14$6,"\u9632\u5FA1\xA0\xA0\xA0\xA0"+toDisplayString(unref(o).formatBigNumber(e.enemy.def)),1)]),createBaseVNode("div",_hoisted_15$5,[createBaseVNode("span",_hoisted_16$5,"\u91D1\u5E01\xA0\xA0\xA0\xA0"+toDisplayString(unref(o).formatBigNumber(e.enemy.money)),1)]),createBaseVNode("div",_hoisted_17$4,[createBaseVNode("span",_hoisted_18$4,"\u7ECF\u9A8C\xA0\xA0\xA0\xA0"+toDisplayString(unref(o).formatBigNumber(e.enemy.exp)),1)]),createBaseVNode("div",_hoisted_19$4,[createBaseVNode("span",{style:normalizeStyle({color:e.enemy.damageColor})},"\u4F24\u5BB3\xA0\xA0\xA0\xA0"+toDisplayString(unref(o).formatBigNumber(e.enemy.damage)),5)]),createBaseVNode("div",_hoisted_20$4,[createBaseVNode("span",_hoisted_21$4,"\u4E34\u754C\xA0\xA0\xA0\xA0"+toDisplayString(unref(o).formatBigNumber(e.enemy.critical)),1)]),createBaseVNode("div",_hoisted_22$3,[createBaseVNode("span",_hoisted_23$3,[createTextVNode("\u51CF\u4F24\xA0\xA0\xA0\xA0"),createBaseVNode("span",{style:normalizeStyle({color:e.enemy.criticalDamage<0&&!unref(has)(e.enemy.damage)?"gold":"lightpink"})},[createBaseVNode("span",_hoisted_24$3,toDisplayString(e.enemy.criticalDamage<0&&!unref(has)(e.enemy.damage)?unref(isMobile)?"-":"=>":""),1),createTextVNode(toDisplayString(unref(o).formatBigNumber(e.enemy.criticalDamage<0?-e.enemy.criticalDamage:e.enemy.criticalDamage)),1)],4)])]),createBaseVNode("div",_hoisted_25$2,[createBaseVNode("span",_hoisted_26$2,toDisplayString(unref(o).formatBigNumber(unref(o).status.thisMap.ratio))+"\u9632\xA0\xA0\xA0\xA0"+toDisplayString(unref(o).formatBigNumber(e.enemy.defDamage)),1)])])])])],40,_hoisted_1$p)}}}),enemyOne_vue_vue_type_style_index_0_scoped_03a35715_lang="",_export_sfc=(e,t)=>{const o=e.__vccOpts||e;for(const[a,n]of t)o[a]=n;return o},EnemyOne=_export_sfc(_sfc_main$p,[["__scopeId","data-v-03a35715"]]),_hoisted_1$o=["id"],_hoisted_2$l={class:"main-div"},_hoisted_3$l=["id"],_hoisted_4$i=["id"],_sfc_main$o=defineComponent({__name:"scroll",props:{now:null,type:null,drag:{type:Boolean},width:null,update:{type:Boolean},noScroll:{type:Boolean}},emits:["update:now","update:drag","update:update"],setup(e,{emit:t}){var E;const o=e;let a,n=0,s=0;const i=(1e8*Math.random()).toFixed(0),r=window.devicePixelRatio,d=(E=o.width)!=null?E:20,c=o.type==="horizontal"?"left":"top",_=o.type==="horizontal"?"width":"height";let u,l,p=!1;const f=async()=>{await h(),m()};function m(){if(s===0||(s<u.canvas[_]/r?n=0:n>s-u.canvas[_]/r?n=s-u.canvas[_]/r:n<0&&(n=0),o.noScroll))return;const w=u.canvas.width,x=u.canvas.height;t("update:now",n);const L=Math.min(u.canvas[_]/s/r,1)*u.canvas[_],T=n/s*u.canvas[_];u.clearRect(0,0,u.canvas.width,u.canvas.height),u.beginPath(),o.type==="horizontal"?(u.moveTo(Math.max(T+5,5),x/2),u.lineTo(Math.min(T+L-5,u.canvas.width-5),x/2)):(u.moveTo(w/2,Math.max(T+5,5)),u.lineTo(w/2,Math.min(T+L-5,u.canvas.height-5))),u.lineCap="round",u.lineWidth=6,u.strokeStyle="#fff",u.stroke()}async function h(){await S(20);const w=u.canvas,x=getComputedStyle(w);w.style.width=`${d}px`,w.width=d*r,w.height=parseFloat(x.height)*r,o.noScroll&&(w.style.width="0px"),o.type==="horizontal"&&(a.style.flexDirection="column",w.style.height=`${d}px`,w.style.width="98%",w.style.margin="0 1% 0 1%",w.width=parseFloat(x.width)*r,w.height=d*r,o.noScroll&&(w.style.height="0px")),await new Promise(L=>{requestAnimationFrame(()=>{const T=getComputedStyle(l);s=parseFloat(T[_]),L("")})})}function g(){m(),l.style[c]=`${-n}px`}onUpdated(async()=>{var w;p||(n=(w=o.now)!=null?w:n,l.style.transition=`${c} 0.2s ease-out`,await h(),g())});let y,$;function D(w,x){t("update:drag",!0);const L=o.type==="horizontal"?w:x,T=L-y;y=L,u.canvas[_]<s*r&&(n+=T*s/u.canvas[_]*r),g()}function b(w,x){t("update:drag",!0);const L=o.type==="horizontal"?w:x,T=L-$;$=L,u.canvas[_]<s*r&&(n-=T),g()}return onMounted(async()=>{a=document.getElementById(`scroll-div-${i}`),l=document.getElementById(`content-${i}`);const x=document.getElementById(`scroll-${i}`);u=x.getContext("2d"),o.noScroll||useDrag(x,D,(L,T)=>{p=!0,y=o.type==="horizontal"?L:T,l.style.transition=""},()=>{setTimeout(()=>t("update:drag",!1)),p=!1},!0),useDrag(l,b,(L,T)=>{p=!0,$=o.type==="horizontal"?L:T,l.style.transition=""},()=>{setTimeout(()=>t("update:drag",!1)),p=!1},!0),useWheel(l,(L,T)=>{p=!0;const M=L!==0?L:T;Math.abs(M)>30?l.style.transition=`${c} 0.2s ease-out`:l.style.transition="",n+=M,g(),p=!1}),window.addEventListener("resize",f),await h(),m()}),onUnmounted(()=>{window.removeEventListener("resize",f),cancelGlobalDrag(D),cancelGlobalDrag(b)}),(w,x)=>(openBlock(),createElementBlock("div",{id:`scroll-div-${unref(i)}`,class:"scroll-main"},[createBaseVNode("div",_hoisted_2$l,[createBaseVNode("div",{id:`content-${unref(i)}`,class:"content"},[renderSlot(w.$slots,"default",{},void 0,!0)],8,_hoisted_3$l)]),createBaseVNode("canvas",{id:`scroll-${unref(i)}`,class:"scroll"},null,8,_hoisted_4$i)],8,_hoisted_1$o))}}),scroll_vue_vue_type_style_index_0_scoped_1626479d_lang="",Scroll=_export_sfc(_sfc_main$o,[["__scopeId","data-v-1626479d"]]);function getSpecialHint(e){const t=core.getSpecials().filter(n=>e.special.includes(n[0])).sort((n,s)=>n[0]-s[0]),o=t.map(n=>{const s=n[2];return s instanceof Function?s(e):s}),a=t.map(n=>{const s=n[1];return s instanceof Function?s(e):s});return createVNode("div",null,[t.map((n,s)=>createVNode("div",{class:"special"},[createVNode("span",{style:{color:core.arrayToRGBA(n[3])}},[createTextVNode("\xA0\xA0\xA0\xA0"),a[s],createTextVNode("\uFF1A")]),createVNode("span",{innerHTML:o[s]},null)]))])}function getDefDamage(e,t=0,o=0,a,n,s){var _;const i=core.status.thisMap.ratio,r=[];let d;const c=100-Math.floor(t/i);for(let u=0;u<=c;u++){const l=core.getDamageInfo(e.id,{def:core.getStatus("def")+i*u+t,atk:core.getStatus("atk")+o},a,n,s);if(r.length===0){d=l==null?void 0:l.damage,has(d)&&r.push([t+u*i,d]);continue}!has(l)||l.damage!==((_=r.at(-1))==null?void 0:_[1])&&(l.damage,r.push([i*u+t,l.damage]))}return r}function getCriticalDamage(e,t=0,o=0,a,n,s){var _;const i=core.status.thisMap.ratio,r=[];let d;const c=100-Math.floor(t/i);for(let u=0;u<=c;u++){const l=core.getDamageInfo(e.id,{atk:core.getStatus("atk")+i*u+t,def:core.getStatus("def")+o},a,n,s);if(r.length===0){d=l==null?void 0:l.damage,has(d)&&r.push([t+u*i,d]);continue}!has(l)||l.damage!==((_=r.at(-1))==null?void 0:_[1])&&(l.damage,r.push([i*u+t,l.damage]))}return r}const _withScopeId$b=e=>(pushScopeId("data-v-723dadcb"),e=e(),popScopeId(),e),_hoisted_1$n={id:"special-main"},_hoisted_2$k={id:"special"},_hoisted_3$k={id:"critical"},_hoisted_4$h=_withScopeId$b(()=>createBaseVNode("div",{style:{"font-size":"2.5vh",width:"100%","text-align":"center"}}," \u4E34\u754C\u8868 ",-1)),_hoisted_5$f={id:"critical-main"},_hoisted_6$d=_withScopeId$b(()=>createBaseVNode("div",{id:"critical-des"},[createBaseVNode("span",null,"\u52A0\u653B"),createBaseVNode("span",null,"\u51CF\u4F24")],-1)),_hoisted_7$b={class:"critical"},_hoisted_8$a={class:"critical-atk"},_hoisted_9$a={style:{"font-family":"'Fira Code'"}},_sfc_main$n=defineComponent({__name:"enemySpecial",props:{fromBook:{type:Boolean}},setup(e){const t=e,[o,a]=t.fromBook?[void 0,void 0]:flags.mouseLoc,n=has(o)?Math.round(o+core.bigmap.offsetX/32):void 0,s=has(a)?Math.round(a+core.bigmap.offsetY/32):void 0,i=core.plugin.bookDetailEnemy,r=getSpecialHint(i),d=core.nextCriticals(i,isMobile?4:8,n,s),c=core.formatBigNumber;return(_,u)=>{const l=Scroll,p=__unplugin_components_0;return openBlock(),createElementBlock("div",_hoisted_1$n,[createVNode(l,{id:"special-scroll"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$k,[(openBlock(),createBlock(resolveDynamicComponent(unref(r))))])]),_:1}),createVNode(p,{dashed:"",style:{margin:"2vh 0 2vh 0","border-color":"#ddd4"}}),createBaseVNode("div",_hoisted_3$k,[_hoisted_4$h,createBaseVNode("div",_hoisted_5$f,[_hoisted_6$d,(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(d),([f,m])=>(openBlock(),createElementBlock("div",_hoisted_7$b,[createBaseVNode("span",_hoisted_8$a,toDisplayString(unref(c)(f)),1),createBaseVNode("span",null,[createBaseVNode("span",_hoisted_9$a,toDisplayString(m<0?"=>":""),1),createTextVNode(toDisplayString(m<0?`${unref(c)(-m)}`:unref(c)(m)),1)])]))),256))])])])}}}),enemySpecial_vue_vue_type_style_index_0_scoped_723dadcb_lang="",EnemySpecial=_export_sfc(_sfc_main$n,[["__scopeId","data-v-723dadcb"]]),index$4="",index$3="";Chart.register(...registerables);const _withScopeId$a=e=>(pushScopeId("data-v-10edff82"),e=e(),popScopeId(),e),_hoisted_1$m={id:"critical-main"},_hoisted_2$j={id:"critical"},_hoisted_3$j=_withScopeId$a(()=>createBaseVNode("div",{class:"des"},"\u52A0\u653B\u4F24\u5BB3",-1)),_hoisted_4$g={class:"slider-div"},_hoisted_5$e={id:"def"},_hoisted_6$c=_withScopeId$a(()=>createBaseVNode("div",{class:"des"},"\u52A0\u9632\u4F24\u5BB3",-1)),_hoisted_7$a={class:"slider-div"},_hoisted_8$9={id:"now-damage"},_hoisted_9$9={style:{"font-family":"'Fira Code'"}},_sfc_main$m=defineComponent({__name:"enemyCritical",props:{fromBook:{type:Boolean}},setup(e){const t=e,o=ref(),a=ref(),n=core.plugin.bookDetailEnemy,s=Math.ceil,i=ref(t.fromBook?void 0:flags.mouseLoc[0]),r=ref(t.fromBook?void 0:flags.mouseLoc[1]);i.value=has(i.value)?Math.round(i.value+core.bigmap.offsetX/32):void 0,r.value=has(r.value)?Math.round(r.value+core.bigmap.offsetY/32):void 0;let d=getCriticalDamage(n,0,0,i.value,r.value),c=getDefDamage(n,0,0,i.value,r.value);const _=ref(d),u=ref(c),l=ref(0),p=ref(0),f=core.getDamageInfo(n.id,void 0,i.value,r.value),m=core.formatBigNumber,h=core.status.thisMap.ratio,g=computed(()=>{const b=core.getDamageInfo(n.id,{atk:core.getStatus("atk")+l.value*h,def:core.getStatus("def")+p.value*h},i.value,r.value);return has(b)?has(f)?[f.damage-b.damage,b.damage]:[-b.damage,b.damage]:["???","???"]});function y(b,E){Chart.defaults.color="#aaa";const w={type:"line",data:$(E),options:{elements:{point:{radius:5,hoverRadius:7},line:{borderJoinStyle:"round"}},scales:{y:{grid:{color:"#ddd3"}}},plugins:{legend:{display:!1}}}};return new Chart(b,w)}function $(b){return{datasets:[{data:b.map(E=>E[1]),label:"\u602A\u7269\u4F24\u5BB3"}],labels:b.map(E=>Math.round(E[0]/h))}}const D=lodash.exports.debounce((b,E)=>{_.value=getCriticalDamage(n,l.value*h,p.value*h,i.value,r.value),u.value=getDefDamage(n,p.value*h,l.value*h,i.value,r.value),_.value.length>d.length&&(d=_.value),u.value.length>c.length&&(c=u.value),b.data=$(_.value),E.data=$(u.value),b.update("resize"),E.update("resize")},200);return onMounted(()=>{const b=document.getElementById("critical-main"),E=getComputedStyle(b),w=parseFloat(E.width),x=window.innerHeight/5,L=o.value,T=a.value;setCanvasSize(L,w,x),setCanvasSize(T,w,x);const M=y(L,_.value),U=y(T,u.value);watch(l,N=>{D(M,U)}),watch(p,N=>{D(M,U)})}),(b,E)=>{var L,T,M,U,N,q,H,W;const w=__unplugin_components_0$1,x=__unplugin_components_0;return openBlock(),createElementBlock("div",_hoisted_1$m,[createBaseVNode("div",_hoisted_2$j,[_hoisted_3$j,createBaseVNode("canvas",{ref_key:"critical",ref:o,class:"chart"},null,512),createBaseVNode("div",_hoisted_4$g,[createBaseVNode("span",null,"\u52A0\u653B\u6B21\u6570\xA0\xA0\xA0\xA0"+toDisplayString(l.value),1),createVNode(w,{class:"slider",value:l.value,"onUpdate:value":E[0]||(E[0]=Q=>l.value=Q),max:unref(s)(((T=(L=unref(d).at(-1))==null?void 0:L[0])!=null?T:2)/unref(h))-1},null,8,["value","max"]),createBaseVNode("span",null,"\u6700\u5927\u503C\xA0\xA0\xA0\xA0"+toDisplayString(unref(s)(((U=(M=unref(d).at(-1))==null?void 0:M[0])!=null?U:2)/unref(h))-1),1)])]),createVNode(x,{dashed:"",style:{width:"100%","border-color":"#ddd4",margin:"1vh 0 1vh 0"}}),createBaseVNode("div",_hoisted_5$e,[_hoisted_6$c,createBaseVNode("canvas",{ref_key:"def",ref:a,class:"chart"},null,512),createBaseVNode("div",_hoisted_7$a,[createBaseVNode("span",null,"\u52A0\u9632\u6B21\u6570\xA0\xA0\xA0\xA0"+toDisplayString(p.value),1),createVNode(w,{class:"slider",value:p.value,"onUpdate:value":E[1]||(E[1]=Q=>p.value=Q),max:unref(s)(((q=(N=unref(c).at(-1))==null?void 0:N[0])!=null?q:2)/unref(h))-1},null,8,["value","max"]),createBaseVNode("span",null,"\u6700\u5927\u503C\xA0\xA0\xA0\xA0"+toDisplayString(unref(s)(((W=(H=unref(c).at(-1))==null?void 0:H[0])!=null?W:2)/unref(h))-1),1)])]),createBaseVNode("div",_hoisted_8$9,[createBaseVNode("div",null,[createBaseVNode("span",null,"\u5F53\u524D\u52A0\u653B"+toDisplayString(unref(isMobile)?"":"\xA0\xA0\xA0\xA0"),1),createBaseVNode("span",null,toDisplayString(unref(m)(l.value*unref(h))),1)]),createBaseVNode("div",null,[createBaseVNode("span",null,"\u5F53\u524D\u52A0\u9632"+toDisplayString(unref(isMobile)?"":"\xA0\xA0\xA0\xA0"),1),createBaseVNode("span",null,toDisplayString(unref(m)(p.value*unref(h))),1)]),createBaseVNode("div",null,[createBaseVNode("span",null,"\u5F53\u524D\u51CF\u4F24"+toDisplayString(unref(isMobile)?"":"\xA0\xA0\xA0\xA0"),1),createBaseVNode("span",null,[createBaseVNode("span",_hoisted_9$9,toDisplayString(unref(g)[0]<0&&!unref(has)(unref(n).damage)?"=>":""),1),createTextVNode(toDisplayString(unref(g)[0]<0&&!unref(has)(unref(n).damage)?unref(m)(-unref(g)[0]):unref(m)(unref(g)[0])),1)])]),createBaseVNode("div",null,[createBaseVNode("span",null,"\u5F53\u524D\u4F24\u5BB3"+toDisplayString(unref(isMobile)?"":"\xA0\xA0\xA0\xA0"),1),createBaseVNode("span",null,toDisplayString(unref(m)(unref(g)[1])),1)])])])}}}),enemyCritical_vue_vue_type_style_index_0_scoped_10edff82_lang="",EnemyCritical=_export_sfc(_sfc_main$m,[["__scopeId","data-v-10edff82"]]),showMarkedEnemy=ref(!1),markedEnemy=reactive([]),markInfo={},criticalReached={},enemyDamageInfo={};function markEnemy$1(e){var t,o;hasMarkedEnemy(e)||(markedEnemy.push(e),markInfo[e]={nextCritical:(o=(t=core.nextCriticals(e,1)[0])==null?void 0:t[0])!=null?o:0+core.status.hero.atk},criticalReached[e]={0:!0},enemyDamageInfo[e]={1:!1,2:!1,3:!1},getMarkInfo(e,!0),checkMarkedEnemy(!0))}function hasMarkedEnemy(e){return markedEnemy.includes(e)}function unmarkEnemy(e){const t=markedEnemy.indexOf(e);t!==-1&&(markedEnemy.splice(t,1),checkMarkedEnemy())}function unmarkAll(){markedEnemy.splice(0),checkMarkedEnemy()}function getMarkedEnemy(){return markedEnemy}function getMarkInfo(e,t=!1){var n;const o=criticalReached[e],a=markInfo[e];if(core.status.hero.atk>=a.nextCritical){!o[a.nextCritical]&&!t&&tip$1("success",`\u8E29\u5230\u4E86${core.material.enemys[e].name}\u7684\u4E34\u754C\uFF01`),o[a.nextCritical]=!0;const s=(n=core.nextCriticals(e,1,void 0,void 0,"empty")[0])==null?void 0:n[0],i=(s!=null?s:0)+core.status.hero.atk;a.nextCritical=i}}function checkMarkedEnemy(e=!1){checkMarkedStatus.value=!checkMarkedStatus.value;const t=core.status.hero.hp;getMarkedEnemy().forEach(o=>{var r,d;getMarkInfo(o);const a=(d=(r=core.getDamageInfo(o,void 0,void 0,void 0,"empty"))==null?void 0:r.damage)!=null?d:-1;if(a===-1)return;const n=enemyDamageInfo[o],s=core.material.enemys[o].name;let i=0;a<=0?e||tip$1("success",`${s}\u5DF2\u7ECF\u96F6\u4F24\u4E86\uFF01`):a<t/3?(!n[3]&&!e&&tip$1("success",`${s}\u7684\u4F24\u5BB3\u5DF2\u964D\u81F3\u52C7\u58EB\u751F\u547D\u503C\u76841/3\uFF01`),i=7):a<t/3*2?(!n[2]&&!e&&tip$1("success",`${s}\u7684\u4F24\u5BB3\u5DF2\u964D\u81F3\u52C7\u58EB\u751F\u547D\u503C\u76842/3\uFF01`),i=6):a<t&&(!n[1]&&!e&&tip$1("success",`\u4F60\u5DF2\u7ECF\u80FD\u6253\u8FC7${s}\u4E86\uFF01`),i=4),n[1]=n[2]=n[3]=!1,i&4&&(n[1]=!0),i&2&&(n[2]=!0),i&1&&(n[3]=!0)})}const checkMarkedStatus=ref(!1);function init$a(){return core.registerAction("onmove","mark",(e,t)=>(core.isPlaying()&&(flags.mouseLoc=[e,t]),!1),150),{checkMarkedEnemy,checkStatus:checkMarkedStatus,markEnemy:markEnemy$1,hasMarkedEnemy,unmarkEnemy,showMarkedEnemy,unmarkAll}}const _withScopeId$9=e=>(pushScopeId("data-v-90e08ea9"),e=e(),popScopeId(),e),_hoisted_1$l={id:"enemy-target"},_hoisted_2$i={id:"enemy-desc"},_hoisted_3$i=_withScopeId$9(()=>createBaseVNode("span",null,"\u602A\u7269\u63CF\u8FF0",-1)),_hoisted_4$f={id:"mark-target"},_hoisted_5$d=["onClick"],_sfc_main$l=defineComponent({__name:"enemyTarget",setup(e){const t=core.plugin.bookDetailEnemy,o=ref(hasMarkedEnemy(t.id));function a(){o.value&&unmarkEnemy(t.id),o.value||markEnemy$1(t.id),o.value=!o.value}return(n,s)=>{const i=__unplugin_components_0;return openBlock(),createElementBlock("div",_hoisted_1$l,[createBaseVNode("div",_hoisted_2$i,[_hoisted_3$i,createVNode(Scroll,{id:"enemy-desc-scroll"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(unref(t).description),1)]),_:1})]),createVNode(i,{dashed:"",style:{"border-color":"#ddd4"}}),createBaseVNode("div",null,[createBaseVNode("div",_hoisted_4$f,[createBaseVNode("span",{id:"mark-info",style:normalizeStyle({color:o.value?"lightgreen":"lightcoral"})},toDisplayString(o.value?"\u5DF2\u6807\u8BB0\u8BE5\u602A\u7269":"\u672A\u6807\u8BB0\u8BE5\u602A\u7269"),5),createBaseVNode("span",{class:"button-text",onClick:withModifiers(a,["stop"])},toDisplayString(o.value?"\u53D6\u6D88\u6807\u8BB0\u8BE5\u602A\u7269":"\u6807\u8BB0\u8BE5\u602A\u7269\u4E3A\u76EE\u6807"),9,_hoisted_5$d)])])])}}}),enemyTarget_vue_vue_type_style_index_0_scoped_90e08ea9_lang="",EnemyTarget=_export_sfc(_sfc_main$l,[["__scopeId","data-v-90e08ea9"]]),_withScopeId$8=e=>(pushScopeId("data-v-c8f01fef"),e=e(),popScopeId(),e),_hoisted_1$k={id:"detail"},_hoisted_2$h={id:"detail-more"},_hoisted_3$h={key:0,id:"special-more",class:"detial-more"},_hoisted_4$e={key:1,id:"special-more",class:"detial-more"},_hoisted_5$c={key:2,id:"special-more",class:"detial-more"},_hoisted_6$b=_withScopeId$8(()=>createBaseVNode("span",null,null,-1)),_sfc_main$k=defineComponent({__name:"bookDetail",props:{fromBook:{type:Boolean},defaultPanel:null},emits:["close"],setup(e,{emit:t}){var _;const o=e,a=core.plugin.bookDetailEnemy,n=ref(core.plugin.bookDetailPos),s=ref((_=o.defaultPanel)!=null?_:"special");let i;function r(u,l){u.stopPropagation(),s.value=l}function d(){n.value=core.plugin.bookDetailPos,i.style.opacity="0",t("close")}function c(u){const l=keycode(u.keyCode);(l===KeyCode.Enter||l===KeyCode.Space||l===KeyCode.KeyC)&&d(),o.fromBook||(l===KeyCode.KeyX||l===KeyCode.Escape)&&d()}return onMounted(async()=>{n.value=0,i=document.getElementById("detail"),i.style.opacity="1";const u=getComputedStyle(i);let l=!1,p=[0,0];await S(600),useDrag(i,(f,m)=>{(f-p[0])**2+(m-p[1])**2>=100&&(l=!0)},(f,m)=>{p=[f,m],m>parseFloat(u.height)*4/5&&(l=!0)},()=>{l===!1&&s.value!=="critical"&&d(),l=!1}),document.addEventListener("keyup",c)}),onUnmounted(()=>{document.removeEventListener("keyup",c)}),(u,l)=>{const p=__unplugin_components_0;return openBlock(),createElementBlock("div",_hoisted_1$k,[createBaseVNode("div",{id:"info",style:normalizeStyle({top:`${n.value}px`})},[createVNode(EnemyOne,{enemy:unref(a)},null,8,["enemy"]),createVNode(p,{dashed:"",style:{margin:"2vh 0 2vh 0","border-color":"#ddd4",width:"100%"}})],4),createVNode(Transition,{name:"detail"},{default:withCtx(()=>[s.value==="special"?(openBlock(),createBlock(EnemySpecial,{key:0,"from-book":e.fromBook},null,8,["from-book"])):s.value==="critical"?(openBlock(),createBlock(EnemyCritical,{key:1,"from-book":e.fromBook},null,8,["from-book"])):s.value==="target"?(openBlock(),createBlock(EnemyTarget,{key:2})):createCommentVNode("",!0)]),_:1}),createBaseVNode("div",_hoisted_2$h,[createVNode(Transition,{name:"detail"},{default:withCtx(()=>[s.value==="special"?(openBlock(),createElementBlock("div",_hoisted_3$h,[createBaseVNode("span",{id:"enemy-target",class:"button-text more",onClick:l[0]||(l[0]=f=>r(f,"target"))},[createVNode(unref(LeftOutlined)),createTextVNode(" \u602A\u7269\u66F4\u591A\u4FE1\u606F")]),createBaseVNode("span",{id:"critical-more",class:"button-text more",onClick:l[1]||(l[1]=f=>r(f,"critical"))},[createTextVNode("\u8BE6\u7EC6\u4E34\u754C\u4FE1\u606F "),createVNode(unref(RightOutlined))])])):s.value==="critical"?(openBlock(),createElementBlock("div",_hoisted_4$e,[createBaseVNode("span",{id:"enemy-pos",class:"button-text more",onClick:l[2]||(l[2]=f=>r(f,"special"))},[createVNode(unref(LeftOutlined)),createTextVNode(" \u602A\u7269\u7279\u6B8A\u5C5E\u6027")])])):s.value==="target"?(openBlock(),createElementBlock("div",_hoisted_5$c,[_hoisted_6$b,createBaseVNode("span",{id:"enemy-pos",class:"button-text more",onClick:l[3]||(l[3]=f=>r(f,"special"))},[createTextVNode("\u602A\u7269\u7279\u6B8A\u5C5E\u6027 "),createVNode(unref(RightOutlined))])])):createCommentVNode("",!0)]),_:1})])])}}}),bookDetail_vue_vue_type_style_index_0_scoped_c8f01fef_lang="",BookDetail=_export_sfc(_sfc_main$k,[["__scopeId","data-v-c8f01fef"]]),_withScopeId$7=e=>(pushScopeId("data-v-fb4b88e2"),e=e(),popScopeId(),e),_hoisted_1$j={id:"book"},_hoisted_2$g={id:"tools"},_hoisted_3$g={key:0,id:"none"},_hoisted_4$d=_withScopeId$7(()=>createBaseVNode("div",null,"\u672C\u5C42\u65E0\u602A\u7269",-1)),_hoisted_5$b=[_hoisted_4$d],_hoisted_6$a={class:"enemy"},_sfc_main$j=defineComponent({__name:"book",setup(e){var m,h,g;const t=(g=core.floorIds[(h=(m=core.status.event)==null?void 0:m.ui)==null?void 0:h.index])!=null?g:core.status.floorId;t!==core.status.floorId&&core.status.checkBlock&&(core.status.checkBlock.cache={});const o=core.getCurrentEnemys(t),a=ref(0),n=ref(!1),s=ref(!1),i=ref(0);o.forEach(y=>{const $=y.specialText.length;y.toShowSpecial=lodash.exports.cloneDeep(y.specialText),y.toShowColor=lodash.exports.cloneDeep(y.specialColor),$>=3&&(y.toShowSpecial=y.specialText.slice(0,2).concat(["..."]),y.toShowColor=y.specialColor.slice(0,2).concat(["#fff"])),y.toShowColor=y.toShowColor.map(D=>typeof D=="string"?D:core.arrayToRGBA(D)),y.damageColor=getDamageColor(y.damage)});function r(y,$){if(n.value)return;const D=window.innerHeight,b=$*D*.2-a.value;core.plugin.bookDetailEnemy=y,core.plugin.bookDetailPos=b,s.value=!0,d()}async function d(){const y=document.getElementById("book");y.style.opacity="0",await S(600),y.style.display="none"}async function c(){_(),await S(600),s.value=!1}async function _(){const y=document.getElementById("book");y.style.display="flex",await S(50),y.style.opacity="1"}async function u(){noClosePanel.value=!0,core.plugin.bookOpened.value=!1,core.plugin.transition.value?await S(650):await S(100),!core.events.recoverEvents(core.status.event.interval)&&(has(core.status.event.ui)?(core.status.boxAnimateObjs=[],core.ui._drawViewMaps(core.status.event.ui)):core.ui.closePanel())}function l(){const y=window.innerHeight,$=i.value*y*.2-a.value;$<0&&(a.value+=$-20),$>y*.655&&(a.value+=$-y*.655+20)}function p(y){const $=keycode(y.keyCode);($===KeyCode.KeyX||$===KeyCode.Escape)&&u(),$===KeyCode.Enter&&!s.value&&r(o[i.value],i.value)}function f(y){const $=keycode(y.keyCode);s.value||($===KeyCode.DownArrow&&(i.value<o.length-1&&i.value++,l()),$===KeyCode.UpArrow&&(i.value>0&&i.value--,l()),($===KeyCode.LeftArrow||$===KeyCode.PageUp)&&(i.value<=4?i.value=0:i.value-=5,l()),($===KeyCode.RightArrow||$===KeyCode.PageDown)&&(i.value>=o.length-5?i.value=o.length-1:i.value+=5,l()))}return onMounted(async()=>{core.plugin.transition.value?await S(600):await S(50),document.addEventListener("keyup",p),document.addEventListener("keydown",f)}),onUnmounted(async()=>{document.removeEventListener("keyup",p),document.removeEventListener("keydown",f)}),(y,$)=>{const D=__unplugin_components_0;return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",_hoisted_1$j,[createBaseVNode("div",_hoisted_2$g,[createBaseVNode("span",{id:"back",class:"button-text tools",onClick:u},[createVNode(unref(LeftOutlined)),createTextVNode("\u8FD4\u56DE\u6E38\u620F")])]),unref(o).length===0?(openBlock(),createElementBlock("div",_hoisted_3$g,_hoisted_5$b)):(openBlock(),createBlock(Scroll,{key:1,style:{width:"100%",height:"94%","font-family":"normal"},now:a.value,"onUpdate:now":$[0]||($[0]=b=>a.value=b),drag:n.value,"onUpdate:drag":$[1]||($[1]=b=>n.value=b)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(o),(b,E)=>(openBlock(),createElementBlock("div",_hoisted_6$a,[(openBlock(),createBlock(EnemyOne,{selected:E===i.value,enemy:b,key:E,onSelect:w=>r(b,E),onHover:w=>i.value=E},null,8,["selected","enemy","onSelect","onHover"])),createVNode(D,{dashed:"",style:{width:"100%","border-color":"#ddd4"}})]))),256))]),_:1},8,["now","drag"]))]),s.value?(openBlock(),createBlock(BookDetail,{key:0,"from-book":!0,onClose:$[2]||($[2]=b=>c())})):createCommentVNode("",!0)],64)}}}),book_vue_vue_type_style_index_0_scoped_fb4b88e2_lang="",Book=_export_sfc(_sfc_main$j,[["__scopeId","data-v-fb4b88e2"]]),clsMap={tools:"\u6D88\u8017\u9053\u5177",constants:"\u6C38\u4E45\u9053\u5177",all:"\u5168\u90E8\u9053\u5177"};function getClsName(e){return clsMap[e]}function getItems(e){const t=core.status.hero.items,o=["book"];if(e==="all")return{tools:Object.entries(t.tools).filter(s=>!o.includes(s[0])),constants:Object.entries(t.constants).filter(s=>!o.includes(s[0]))};const a=t[e];return Object.entries(a)}const _withScopeId$6=e=>(pushScopeId("data-v-5e7b8682"),e=e(),popScopeId(),e),_hoisted_1$i={id:"toolbox"},_hoisted_2$f={id:"tools"},_hoisted_3$f={id:"toolbox-main"},_hoisted_4$c={class:"item-main"},_hoisted_5$a={class:"item-info"},_hoisted_6$9={key:0,class:"item-type"},_hoisted_7$9={key:1,id:"item-type-mobile"},_hoisted_8$8=["selected"],_hoisted_9$8=["selected"],_hoisted_10$8=["selected","onClick"],_hoisted_11$8={class:"item-icon"},_hoisted_12$5={class:"item-name"},_hoisted_13$5={id:"detail"},_hoisted_14$5={id:"info"},_hoisted_15$4={id:"basic-info"},_hoisted_16$4={style:{"border-bottom":"1px solid #ddd4"}},_hoisted_17$3=_withScopeId$6(()=>createBaseVNode("span",{style:{"margin-top":"2vh"}},"\u70B9\u51FB\u8BE5\u7269\u54C1\u4EE5\u4F7F\u7528",-1)),_hoisted_18$3={id:"desc"},_hoisted_19$3=_withScopeId$6(()=>createBaseVNode("span",null,"\u9053\u5177\u63CF\u8FF0",-1)),_hoisted_20$3={key:0},_hoisted_21$3=["innerHTML"],_sfc_main$i=defineComponent({__name:"toolbox",setup(e){var f,m;const t=ref("tools"),o=getItems("all"),a=computed(()=>isMobile?[t.value]:["tools","constants"]),n=core.material.items,s=ref((m=(f=o[a.value[0]][0])==null?void 0:f[0])!=null?m:"none"),i=ref(0);watch(i,h=>{d(o[t.value][h][0],!0)}),watch(t,h=>{if(!has(o[h][i.value])){s.value="none";return}d(o[h][i.value][0],!0)});const r=computed(()=>{const h=s.value;return h==="none"?ref("\u6CA1\u6709\u9009\u62E9\u9053\u5177"):type(n[h].text,25,C("sin","out"),!0)});async function d(h,g=!1){s.value===h&&!g&&_(h),i.value=o[t.value].findIndex(y=>y[0]===h),s.value=h}function c(){core.plugin.toolOpened.value=!1}async function _(h){if(h!=="none")if(core.canUseItem(h)){const g=core.plugin.transition.value;core.plugin.transition.value=!1,c(),await S(50),core.useItem(h),core.plugin.transition.value=g}else message.warn({content:"\u5F53\u524D\u65E0\u6CD5\u4F7F\u7528\u8BE5\u9053\u5177\uFF01",class:"antdv-message"})}async function u(){const h=core.plugin.transition.value;core.plugin.transition.value=!1,c(),await S(50),core.plugin.equipOpened.value=!0,core.plugin.transition.value=h}function l(h){const g=keycode(h.keyCode);(g===KeyCode.Escape||g===KeyCode.KeyX||g===KeyCode.KeyT)&&c(),(g===KeyCode.Enter||g===KeyCode.KeyC)&&_(s.value)}function p(h){const g=keycode(h.keyCode),y=o[t.value].length;if(g===KeyCode.DownArrow&&i.value<y-1&&i.value++,g===KeyCode.UpArrow&&i.value>0&&i.value--,g===KeyCode.RightArrow){const $=o.constants.length;t.value==="tools"&&(i.value>=$&&(i.value=$-1),t.value="constants")}if(g===KeyCode.LeftArrow){const $=o.tools.length;t.value==="constants"&&(i.value>=$&&(i.value=$-1),t.value="tools")}}return onMounted(async()=>{core.plugin.transition.value?await S(600):await S(50),document.addEventListener("keyup",l),document.addEventListener("keydown",p)}),onUnmounted(()=>{document.removeEventListener("keyup",l),document.removeEventListener("keydown",p)}),(h,g)=>{var $;const y=__unplugin_components_0;return openBlock(),createElementBlock("div",_hoisted_1$i,[createBaseVNode("div",_hoisted_2$f,[createBaseVNode("span",{class:"button-text tools",onClick:c},[createVNode(unref(LeftOutlined)),createTextVNode(" \u8FD4\u56DE\u6E38\u620F")]),createBaseVNode("span",{class:"button-text tools",onClick:u},[createTextVNode("\u88C5\u5907\u680F "),createVNode(unref(RightOutlined))])]),createBaseVNode("div",_hoisted_3$f,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(a),D=>(openBlock(),createElementBlock("div",_hoisted_4$c,[createBaseVNode("div",_hoisted_5$a,[unref(isMobile)?(openBlock(),createElementBlock("div",_hoisted_7$9,[createBaseVNode("span",{class:"button-text",onClick:g[0]||(g[0]=b=>t.value="tools"),selected:t.value==="tools"},"\u6D88\u8017\u9053\u5177",8,_hoisted_8$8),createVNode(y,{dashed:"",style:{"border-color":"#ddd4",height:"100%"},type:"vertical"}),createBaseVNode("span",{class:"button-text",onClick:g[1]||(g[1]=b=>t.value="constants"),selected:t.value==="constants"},"\u6C38\u4E45\u9053\u5177",8,_hoisted_9$8)])):(openBlock(),createElementBlock("div",_hoisted_6$9,toDisplayString(unref(getClsName)(D)),1)),createVNode(y,{dashed:"",style:{margin:"1vh 0 1vh 0","border-color":"#ddd4"}}),createVNode(Scroll,{class:"item-list"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(o)[D],([b,E])=>(openBlock(),createElementBlock("div",{class:"item selectable",selected:s.value===b,onClick:w=>{t.value=D,d(b)}},[createBaseVNode("div",_hoisted_11$8,[createVNode(_sfc_main$q,{id:b,width:32,height:32,noborder:!0},null,8,["id"]),createBaseVNode("span",_hoisted_12$5,toDisplayString(unref(n)[b].name),1)]),createBaseVNode("span",null,"\xD7\xA0"+toDisplayString(E),1)],8,_hoisted_10$8))),256))]),_:2},1024)]),createVNode(y,{dashed:"",type:unref(isMobile)?"horizontal":"vertical",class:"divider",style:{"border-color":"#ddd4",margin:"1%"}},null,8,["type"])]))),256)),createBaseVNode("div",_hoisted_13$5,[createBaseVNode("div",_hoisted_14$5,[createVNode(_sfc_main$q,{id:s.value,width:32,height:32},null,8,["id"]),createBaseVNode("div",_hoisted_15$4,[createBaseVNode("span",_hoisted_16$4,toDisplayString(s.value==="none"?"\u6CA1\u6709\u9053\u5177":unref(n)[s.value].name),1),createBaseVNode("span",null,toDisplayString(s.value==="none"?"\u6C38\u4E45\u9053\u5177":($=unref(getClsName)(unref(n)[s.value].cls))!=null?$:"\u6C38\u4E45\u9053\u5177"),1)])]),_hoisted_17$3,createVNode(y,{dashed:"",style:{"border-color":"#ddd4"}}),createBaseVNode("div",_hoisted_18$3,[_hoisted_19$3,createVNode(Scroll,{id:"desc-text"},{default:withCtx(()=>[unref(r).value.startsWith("!!html")?(openBlock(),createElementBlock("div",{key:1,innerHTML:unref(r).value.slice(6)},null,8,_hoisted_21$3)):(openBlock(),createElementBlock("div",_hoisted_20$3,toDisplayString(unref(r).value),1))]),_:1})])])])])}}}),toolbox_vue_vue_type_style_index_0_scoped_5e7b8682_lang="",Toolbox=_export_sfc(_sfc_main$i,[["__scopeId","data-v-5e7b8682"]]),index$2="",index$1="";function getEquips(){return Object.entries(core.status.hero.items.equips)}function getAddStatus(e){const t=Object.assign({},e.value,e.percentage),o=Object.keys(t);return createVNode("div",{class:"equip-add-detail"},[o.map(a=>{var s,i;const n=Math.floor(((s=e.value[a])!=null?s:0)*core.getBuff(a)+core.status.hero[a]*((i=e.percentage[a])!=null?i:0)/100);return createVNode("span",{style:"display: flex"},[createVNode("span",{style:"flex-basis: 50%"},[core.getStatusLabel(a)]),createTextVNode("\xA0\xA0\xA0\xA0"),createVNode("span",{style:{color:n>0?"lightgreen":"lightsalmon"}},[n>0?`+${n}`:n])])})])}function getNowStatus(e,t=!1){return createVNode("div",{id:"hero-status"},[["hp","lv","atk","def","mdef","mana","hpmax","money"].map(a=>{var i,r,d;let n;a==="lv"?n=(i=core.getLvName())!=null?i:"":n=(r=core.getRealStatus(a))==null?void 0:r.toString();let s=0;if(has(e)){s+=Math.floor(((d=e.value[a])!=null?d:0)*core.getBuff(a));const c=Math.floor(e.percentage[a]*core.getStatus(a)/100);s+=isNaN(c)?0:c}return t&&(s=-s),createVNode("div",{class:"hero-status-one"},[createVNode("span",{class:"hero-status-label"},[core.getStatusLabel(a)]),createVNode("div",{class:"hero-status-value"},[createVNode("span",{style:"margin-right: 20%"},[n]),s!==0&&createVNode("span",{style:{color:s>0?"lightgreen":"lightsalmon"}},[s>0?"+"+s:"-"+-s])])])})])}const _hoisted_1$h={id:"equipbox"},_hoisted_2$e={id:"tools"},_hoisted_3$e={id:"equipbox-main"},_hoisted_4$b={id:"equip-list"},_hoisted_5$9={id:"filter"},_hoisted_6$8={key:0},_hoisted_7$8={key:1},_hoisted_8$7=["selected","onMousedown","onTouchstart","onClick"],_hoisted_9$7={class:"equip-icon"},_hoisted_10$7={class:"equip-name"},_hoisted_11$7={id:"equip-status"},_hoisted_12$4={id:"equip-status-main"},_hoisted_13$4={id:"equip-now"},_hoisted_14$4={id:"equip-now-div"},_hoisted_15$3=["draged","access","selected","onMouseenter","onClick"],_hoisted_16$3={key:0,id:"equip-hero"},_hoisted_17$2={id:"hero-icon"},_hoisted_18$2={id:"hero-status"},_hoisted_19$2={id:"equip-desc"},_hoisted_20$2={id:"equip-icon"},_hoisted_21$2={id:"equip-type"},_hoisted_22$2={id:"equip-add"},_hoisted_23$2={id:"equip-desc-text"},_hoisted_24$2={key:0},_hoisted_25$1=["innerHTML"],_hoisted_26$1={id:"icon-drag"},_sfc_main$h=defineComponent({__name:"equipbox",setup(e){const t=ref(getEquips()),o=ref("all"),a=core.material.items,n=ref(0),s=ref(!1),i=core.status.globalAttribute.equipName,r=ref(core.status.hero.equipment),d=ref(!1),c=ref(!1),_=ref(-1),u=ref("down"),l=ref("none"),p=ref("value"),f=["none","atk","def","hpmax","mana"],m=core.getStatusLabel;watch(u,I=>{n.value=D.value.length-n.value-1}),watch(l,I=>{n.value=0}),watch(p,I=>{n.value=0});const h=computed(()=>{const I=D.value[n.value],F={name:"\u6CA1\u6709\u9009\u62E9\u88C5\u5907",cls:"equip",text:"\u6CA1\u6709\u9009\u62E9\u88C5\u5907",equip:{type:"\u65E0",value:{},percentage:{},animate:""}};if(s.value){const z=r.value[n.value],X=core.material.items[z];return has(X)?X:F}return has(I)?a[I[0]]:F}),g=computed(()=>getAddStatus(h.value.equip,s.value)),y=computed(()=>h.value.text.startsWith("!!html")?ref(h.value.text):type(h.value.text,25,C("sin","out"),!0)),$=computed(()=>getNowStatus(h.value.equip,s.value)),D=computed(()=>{const I=u.value,F=l.value,z=p.value,X=t.value.filter(J=>{const ee=a[J[0]].equip,G=ee.type;return F!=="none"&&!has(ee[z][F])?!1:o.value==="all"?!0:typeof G=="string"?G===o.value:core.status.globalAttribute.equipName[G]===o.value});return F==="none"?X:I==="down"?X.sort((J,ee)=>{const G=a[J[0]].equip,oe=a[ee[0]].equip;return G[z][F]-oe[z][F]}):X.sort((J,ee)=>{const G=a[J[0]].equip;return a[ee[0]].equip[z][F]-G[z][F]})});function b(){u.value==="down"?u.value="up":u.value="down"}function E(){core.plugin.equipOpened.value=!1}function w(I){var F;if(I===n.value&&d.value){const z=(F=D.value[n.value])==null?void 0:F[0];if(!core.canEquip(z)){tip$1("warn","\u65E0\u6CD5\u88C5\u5907\uFF01");return}core.loadEquip(z),M(),d.value=!1}d.value=!0}function x(I,F=!1){I!==n.value&&!F&&(d.value=!1),F&&(d.value=!1),F&&s.value===F&&n.value===I&&(core.unloadEquip(I),M()),s.value=F,n.value=I}function L(I){var z,X;if(I<0)return!1;const F=(z=h.value.equip)==null?void 0:z.type;return!core.canEquip((X=D.value[n.value])==null?void 0:X[0])||!has(F)?!1:typeof F=="number"?I===F:i[I]===F}function T(){var X;const I=_.value;if(I<0)return;if(!L(I)){tip$1("warn","\u65E0\u6CD5\u88C5\u5907\uFF01");return}const F=r.value[I],z=(X=D.value[n.value])==null?void 0:X[0];core.items._realLoadEquip(I,z,F),M()}function M(){r.value=core.status.hero.equipment,t.value=getEquips()}function U(){const I=Array.from(document.querySelectorAll(".equip"));useDrag(I,H,(F,z)=>{N=F,q=z},()=>{c.value&&(c.value=!1,T())},!0)}let[N,q]=[0,0];function H(I,F,z){if((I-N)**2+(F-q)**2>10**2&&!c.value&&(c.value=!0),c.value){const X=document.getElementById("icon-drag");X.style.left=`${I-24}px`,X.style.top=`${F-24}px`}}function W(I,F){I.stopPropagation(),_.value=F}function Q(I){I.stopPropagation(),_.value=-1}async function te(){const I=core.plugin.transition.value;core.plugin.transition.value=!1,E(),await S(50),core.plugin.toolOpened.value=!0,core.plugin.transition.value=I}function ae(I){const F=keycode(I.keyCode);(F===KeyCode.KeyQ||F===KeyCode.KeyX||F===KeyCode.Escape)&&E()}return watch(D,I=>{U()}),onMounted(async()=>{U(),core.plugin.transition.value?await S(600):await S(50),document.addEventListener("keyup",ae)}),onUnmounted(()=>{cancelGlobalDrag(H),document.removeEventListener("keyup",ae)}),(I,F)=>{var ee,G,oe,ce,ue,se;const z=SelectOption,X=__unplugin_components_1,J=__unplugin_components_0;return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",_hoisted_1$h,[createBaseVNode("div",_hoisted_2$e,[createBaseVNode("span",{class:"button-text tools",onClick:E},[createVNode(unref(LeftOutlined)),createTextVNode(" \u8FD4\u56DE\u6E38\u620F")]),createBaseVNode("span",{class:"button-text tools",onClick:te},[createTextVNode("\u9053\u5177\u680F "),createVNode(unref(RightOutlined))])]),createBaseVNode("div",_hoisted_3$e,[createBaseVNode("div",_hoisted_4$b,[createBaseVNode("div",_hoisted_5$9,[createVNode(X,{value:l.value,"onUpdate:value":F[0]||(F[0]=Z=>l.value=Z),class:"select"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(f,Z=>createVNode(z,{value:Z},{default:withCtx(()=>[createTextVNode(toDisplayString(Z==="none"?"\u6240\u6709":unref(m)(Z)),1)]),_:2},1032,["value"])),64))]),_:1},8,["value"]),createVNode(J,{type:"vertical",class:"divider"}),createVNode(X,{value:p.value,"onUpdate:value":F[1]||(F[1]=Z=>p.value=Z),class:"select"},{default:withCtx(()=>[createVNode(z,{value:"value"},{default:withCtx(()=>[createTextVNode("\u6570\u503C")]),_:1}),createVNode(z,{value:"percentage"},{default:withCtx(()=>[createTextVNode("\u767E\u5206\u6BD4")]),_:1})]),_:1},8,["value"]),createVNode(J,{type:"vertical",class:"divider"}),createBaseVNode("span",{onClick:F[2]||(F[2]=Z=>b()),class:"button-text",id:"sort-type"},[u.value==="down"?(openBlock(),createElementBlock("span",_hoisted_6$8,[createVNode(unref(SortAscendingOutlined))])):(openBlock(),createElementBlock("span",_hoisted_7$8,[createVNode(unref(SortDescendingOutlined))]))])]),createVNode(J,{dashed:"",style:{"border-color":"#ddd4",margin:"1vh 0 1vh 0"}}),createVNode(Scroll,{id:"equip-scroll"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(D),([Z,ie],re)=>(openBlock(),createElementBlock("div",{class:"equip selectable",selected:n.value===re&&!s.value,onMousedown:pe=>x(re),onTouchstart:pe=>x(re),onClick:pe=>w(re)},[createBaseVNode("div",_hoisted_9$7,[createVNode(_sfc_main$q,{id:Z!=null?Z:"none",width:32,height:32,noborder:!0},null,8,["id"]),createBaseVNode("span",_hoisted_10$7,toDisplayString(unref(a)[Z].name),1)]),createBaseVNode("span",null,"\xD7\xA0"+toDisplayString(ie),1)],40,_hoisted_8$7))),256))]),_:1})]),createBaseVNode("div",_hoisted_11$7,[createVNode(J,{class:"divider",type:unref(isMobile)?"horizontal":"vertical",dashed:"",style:{"border-color":"#ddd4"}},null,8,["type"]),createBaseVNode("div",_hoisted_12$4,[createBaseVNode("div",_hoisted_13$4,[createVNode(Scroll,{style:normalizeStyle({height:unref(isMobile)?"10vh":"30vh"})},{default:withCtx(()=>[createBaseVNode("div",_hoisted_14$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(i),(Z,ie)=>{var re;return openBlock(),createElementBlock("div",{class:"equip-now-one draginable selectable",draged:c.value,access:L(ie),selected:s.value&&n.value===ie,onMouseenter:pe=>W(pe,ie),onMouseleave:Q,onClick:pe=>x(ie,!0)},[createVNode(_sfc_main$q,{id:(re=r.value[ie])!=null?re:"none"},null,8,["id"]),createBaseVNode("span",null,toDisplayString(Z),1)],40,_hoisted_15$3)}),256))])]),_:1},8,["style"])]),createVNode(J,{dashed:"",style:{"border-color":"#ddd4",margin:"1vh 0 1vh 0"}}),unref(isMobile)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_16$3,[createBaseVNode("div",_hoisted_17$2,[createVNode(_sfc_main$q,{id:"hero",width:48,height:64,noborder:""})]),createBaseVNode("div",_hoisted_18$2,[(openBlock(),createBlock(resolveDynamicComponent(unref($))))])]))]),unref(isMobile)?createCommentVNode("",!0):(openBlock(),createBlock(J,{key:0,class:"divider",type:"vertical",dashed:"",style:{"border-color":"#ddd4"}}))]),createBaseVNode("div",_hoisted_19$2,[createBaseVNode("div",_hoisted_20$2,[createVNode(_sfc_main$q,{id:s.value?(ee=r.value[n.value])!=null?ee:"none":(oe=(G=unref(D)[n.value])==null?void 0:G[0])!=null?oe:"none"},null,8,["id"]),createBaseVNode("span",null,toDisplayString(unref(h).name),1)]),createBaseVNode("div",_hoisted_21$2,[createBaseVNode("span",null,"\u88C5\u5907\u5B54\uFF1A"+toDisplayString((ce=unref(h).equip)==null?void 0:ce.type),1)]),createVNode(J,{dashed:"",style:{"border-color":"#ddd4",margin:"1vh 0 1vh 0"}}),createBaseVNode("div",_hoisted_22$2,[createBaseVNode("span",{style:normalizeStyle({"font-size":unref(isMobile)?"3.8vw":"3vh"}),id:"title"},"\u589E\u51CF\u5C5E\u6027",4),createVNode(Scroll,{style:{width:"100%",height:"100%"}},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(g))))]),_:1})]),createVNode(J,{dashed:"",style:{"border-color":"#ddd4",margin:"1vh 0 1vh 0"}}),createBaseVNode("div",_hoisted_23$2,[createBaseVNode("span",{style:normalizeStyle({"font-size":unref(isMobile)?"3.8vw":"3vh"}),id:"title"},"\u88C5\u5907\u4ECB\u7ECD",4),createVNode(Scroll,{id:"desc-text",style:{height:"100%",width:"100%"}},{default:withCtx(()=>[unref(y).value.startsWith("!!html")?(openBlock(),createElementBlock("div",{key:1,innerHTML:unref(y).value.slice(6)},null,8,_hoisted_25$1)):(openBlock(),createElementBlock("div",_hoisted_24$2,toDisplayString(unref(y).value),1))]),_:1})])])])]),createBaseVNode("div",_hoisted_26$1,[c.value?(openBlock(),createBlock(_sfc_main$q,{key:0,class:"drag-icon",id:(se=(ue=unref(D)[n.value])==null?void 0:ue[0])!=null?se:"none",width:48,height:48,noborder:""},null,8,["id"])):createCommentVNode("",!0)])],64)}}}),equipbox_vue_vue_type_style_index_0_scoped_4fac9519_lang="",Equipbox=_export_sfc(_sfc_main$h,[["__scopeId","data-v-4fac9519"]]),transition$2=ref(!1),itemDetail$1=ref(!0),autoSkill$1=ref(!0),autoScale$1=ref(!0),showHalo$1=ref(!0),showStudied$1=ref(!0),useFixed$1=ref(!0),autoLocate$1=ref(!0),antiAliasing$1=ref(!0);watch(transition$2,e=>{core.plugin.transition.value=e,core.setLocalStorage("transition",e)});watch(itemDetail$1,e=>{flags.itemDetail=e,core.updateStatusBar()});watch(autoSkill$1,e=>{flags.autoSkill=e,core.updateStatusBar(),core.status.route.push(`set:autoSkill:${e}`)});watch(autoScale$1,e=>{core.setLocalStorage("autoScale",e)});watch(showStudied$1,e=>{core.setLocalStorage("showStudied",e)});watch(showHalo$1,e=>{core.setLocalStorage("showHalo",e)});watch(useFixed$1,e=>{core.setLocalStorage("useFixed",e)});watch(autoSkill$1,e=>{flags.autoLocate=e,core.updateStatusBar(),core.status.route.push(`set:autoLocate:${e}`)});watch(antiAliasing$1,e=>{core.setLocalStorage("antiAliasing",e);for(const t of core.dom.gameCanvas)core.domStyle.hdCanvas.includes(t.id)||(e?t.classList.remove("no-anti-aliasing"):t.classList.add("no-anti-aliasing"))});function reset(){const e=core.getLocalStorage("transition",!1);transition$2.value=e,core.plugin.transition.value=transition$2.value,autoScale$1.value=core.getLocalStorage("autoScale",!0),showStudied$1.value=core.getLocalStorage("showStudied",!0),showHalo$1.value=core.getLocalStorage("showHalo",!0),antiAliasing$1.value=core.getLocalStorage("antiAliasing",!1)}function resetFlag(){var e,t,o;(e=flags.autoSkill)!=null||(flags.autoSkill=!0),(t=flags.itemDetail)!=null||(flags.itemDetail=!0),(o=flags.autoLocate)!=null||(flags.autoLocate=!0),itemDetail$1.value=!!flags.itemDetail,autoSkill$1.value=!!flags.autoSkill,autoLocate$1.value=!!flags.autoLocate}function init$9(){return{resetSettings:reset,resetFlagSettings:resetFlag}}const transition$1={text:"\u754C\u9762\u52A8\u753B",desc:["\u662F\u5426\u5C55\u793A\u5F53\u4E00\u4E2Aui\u754C\u9762\uFF0C\u5982\u602A\u7269\u624B\u518C\u7B49\u7684\u6253\u5F00\u4E0E\u5173\u95ED\u65F6\u7684\u52A8\u753B\u3002\u5F53\u6B64\u9879\u5F00\u542F\u65F6\uFF0C","\u6240\u6709\u754C\u9762\u88AB\u6253\u5F00\u6216\u5173\u95ED\u65F6\u90FD\u4F1A\u5C55\u793A\u52A8\u753B\uFF0C\u5426\u5219\u4F1A\u76F4\u63A5\u5C55\u793A\u51FA\u6765"]},itemDetail={text:"\u5B9D\u77F3\u8840\u74F6\u663E\u4F24",desc:["\u662F\u5426\u5728\u5730\u56FE\u4E0A\u663E\u793A\u5B9D\u77F3\u8840\u74F6\u88C5\u5907\u7B49\u589E\u52A0\u7684\u5C5E\u6027\u503C"]},autoSkill={text:"\u81EA\u52A8\u5207\u6362\u6280\u80FD",desc:["\u5F00\u542F\u540E\uFF0C\u6253\u602A\u7269\u7684\u65F6\u5019\u4F1A\u81EA\u52A8\u9009\u62E9\u4F24\u5BB3\u6700\u4F4E\u7684\u6280\u80FD\u3002\u540C\u65F6\u663E\u4F24\u4E5F\u4F1A\u663E\u793A\u6B64\u72B6\u6001\u4E0B\u7684\u4F24\u5BB3\uFF0C","\u4E34\u754C\u4E5F\u4F1A\u8003\u8651\u6280\u80FD\u5728\u5185"]},autoScale={text:"\u81EA\u52A8\u653E\u7F29",desc:["\u5F00\u542F\u540E\uFF0C\u6BCF\u6B21\u8FDB\u5165\u6E38\u620F\u65F6\u4F1A\u81EA\u52A8\u7F29\u653E\u6E38\u620F\u753B\u9762\u81F3\u5408\u9002\u503C\u3002\u8BE5\u9879\u53EA\u5BF9\u7535\u8111\u7AEF\u6709\u6548\u3002","<br>","<br>","\u7F29\u653E\u539F\u5219\u5982\u4E0B\uFF1A","<br>","1. \u9996\u5148\u5C1D\u8BD5\u7F29\u653E\u81F3\u6700\u5927\u7F29\u653E\u6BD4\u4F8B","<br>","2. \u5982\u679C\u7F29\u653E\u540E\u6E38\u620F\u753B\u9762\u9AD8\u5EA6\u9AD8\u4E8E\u9875\u9762\u9AD8\u5EA6\u768495%\uFF0C\u90A3\u4E48\u7F29\u5C0F\u4E00\u4E2A\u7F29\u653E\u6BD4\u4F8B\uFF0C\u5426\u5219\u4FDD\u6301\u6700\u5927\u6BD4\u4F8B"]},showHalo={text:"\u5C55\u793A\u8303\u56F4\u5149\u73AF",desc:["\u5F00\u542F\u540E\uFF0C\u4F1A\u5728\u5730\u56FE\u4E0A\u663E\u793A\u8303\u56F4\u5149\u73AF\u3002"]},useFixed={text:"\u79FB\u52A8\u9F20\u6807\u663E\u793A\u602A\u7269\u4FE1\u606F",desc:["\u5F00\u542F\u540E\uFF0C\u5F53\u9F20\u6807\u79FB\u52A8\u5230\u602A\u7269\u4E0A\u65F6\uFF0C\u4F1A\u4EE5\u76D2\u5B50\u7684\u5F62\u5F0F\u5C55\u793A\u8BE5\u70B9\u7684\u602A\u7269\u4FE1\u606F\u3002\u624B\u673A\u7AEF\u6B64\u529F\u80FD\u65E0\u6548\u3002","<br>","<br>","\u6CE8\uFF1A\u5F53\u9F20\u6807\u79FB\u52A8\u5230\u602A\u7269\u4E0A\u65F6\uFF0C\u7ECF\u8FC7200\u6BEB\u79D2\u624D\u4F1A\u663E\u793A\u4FE1\u606F\uFF0C\u9632\u6B62\u8BEF\u64CD\u4F5C\u3002"]},autoLocate={text:"\u81EA\u52A8\u52C7\u58EB\u5B9A\u4F4D",desc:["\u6B64\u9879\u4F1A\u5728\u8FDB\u5165\u7B2C\u4E8C\u7AE0\u540E\u4F1A\u8D77\u4F5C\u7528\u3002\u5F00\u542F\u540E\uFF0C\u5F53\u52C7\u58EB\u5904\u4E8E\u4E0D\u540C\u4F4D\u7F6E\u6253\u540C\u4E00\u4E2A\u602A\u7269\u4F24\u5BB3\u4E0D\u540C\u65F6\uFF0C\u5728\u5730\u56FE\u4E0A\u4F7F\u7528\u7EFF\u8272\u7BAD\u5934\u6807\u51FA\u4F24\u5BB3\u6700\u4F4E\u7684\u4F4D\u7F6E\uFF0C","\u5176\u4F59\u65B9\u5411\uFF0C\u4F24\u5BB3\u8D8A\u9AD8\uFF0C\u7BAD\u5934\u989C\u8272\u8D8A\u7EA2\uFF0C\u540C\u65F6\u5728\u81EA\u52A8\u5BFB\u8DEF\u4E2D\u9009\u62E9\u53EF\u4EE5\u5230\u8FBE\u7684\u4F24\u5BB3\u6700\u4F4E\u7684\u4F4D\u7F6E\u3002","<br>","<br>","\u6CE8\uFF1A\u5982\u679C\u51FA\u73B0\u660E\u663E\u5361\u987F\u73B0\u8C61\u53EF\u4EE5\u8003\u8651\u5173\u95ED\u672C\u8BBE\u7F6E\u6216\u81EA\u52A8\u5207\u6362\u6280\u80FD\u8BBE\u7F6E\u3002"]},antiAliasing={text:"\u6297\u952F\u9F7F",desc:["\u662F\u5426\u5F00\u542F\u6297\u952F\u9F7F\u3002\u5F00\u542F\u540E\uFF0C\u753B\u9762\u4F1A\u53D8\u5F97\u4E0D\u90A3\u4E48\u9510\u5229\uFF0C\u89C2\u611F\u66F4\u52A0\u8212\u9002\uFF1B\u5173\u95ED\u540E\uFF0C\u53EF\u4EE5\u66F4\u597D\u5730\u5C55\u73B0\u51FA\u50CF\u7D20\u611F\uFF0C\u540C\u65F6\u90E8\u5206\u50CF\u7D20\u9519\u8BEF\u4E5F\u4E0D\u4F1A\u51FA\u73B0\u3002"]},showStudied={text:"\u5C55\u793A\u5DF2\u5B66\u4E60\u6280\u80FD",desc:["\u5F00\u542F\u540E\uFF0C\u4F1A\u5728\u753B\u9762\u5185\u4EE5\u7C7B\u4F3C\u72B6\u6001\u680F\u7684\u76D2\u5B50\u7684\u5F62\u5F0F\u663E\u793A\u5F53\u524D\u5DF2\u5B66\u4E60\u7684\u602A\u7269\u6280\u80FD\u3002"]},settingInfo={transition:transition$1,itemDetail,autoSkill,autoScale,showHalo,useFixed,autoLocate,antiAliasing,showStudied},_hoisted_1$g={class:"colomn"},_hoisted_2$d={class:"tools"},_hoisted_3$d=["id"],_sfc_main$g=defineComponent({__name:"colomn",props:{width:null,height:null,left:null,right:null},emits:["close"],setup(e,{emit:t}){const o=e,a=(1e8*Math.random()).toFixed(0);let n,s,i;function r(){n=document.getElementById(`column-${a}`),s=document.getElementById(`column-left-${a}`),i=document.getElementById(`column-right-${a}`),has(o.width)&&!isMobile&&(n.style.width=`${o.width}%`),has(o.height)&&(n.style.height=`${o.height}%`),has(o.left)&&(s.style.flexBasis=`${o.left}%`),has(o.right)&&(i.style.flexBasis=`${o.right}%`)}function d(c){const _=keycode(c.keyCode);(_===KeyCode.Escape||_===KeyCode.KeyX)&&t("close")}return onMounted(async()=>{r(),await S(50),core.plugin.transition.value&&await S(600),document.addEventListener("keyup",d)}),onUpdated(r),onUnmounted(()=>{document.removeEventListener("keyup",d)}),(c,_)=>{const u=__unplugin_components_0;return openBlock(),createElementBlock("div",_hoisted_1$g,[createBaseVNode("div",_hoisted_2$d,[createBaseVNode("span",{class:"button-text",onClick:_[0]||(_[0]=l=>t("close"))},[createVNode(unref(LeftOutlined)),createTextVNode(" \u8FD4\u56DE\u6E38\u620F")])]),createBaseVNode("div",{class:"column-main",id:`column-${unref(a)}`},[createVNode(Scroll,{class:"column-left",id:`column-left-${unref(a)}`},{default:withCtx(()=>[renderSlot(c.$slots,"left",{},void 0,!0)]),_:3},8,["id"]),createVNode(u,{class:"divider",dashed:"",style:{"border-color":"#ddd4"},type:unref(isMobile)?"horizontal":"vertical"},null,8,["type"]),createVNode(Scroll,{class:"column-right",id:`column-right-${unref(a)}`},{default:withCtx(()=>[renderSlot(c.$slots,"right",{},void 0,!0)]),_:3},8,["id"])],8,_hoisted_3$d)])}}}),colomn_vue_vue_type_style_index_0_scoped_682173f1_lang="",Column=_export_sfc(_sfc_main$g,[["__scopeId","data-v-682173f1"]]),_hoisted_1$f={id:"setting-list"},_hoisted_2$c=["selected"],_hoisted_3$c=["selected"],_hoisted_4$a=["selected"],_hoisted_5$8=["selected"],_hoisted_6$7=["selected"],_hoisted_7$7=["selected"],_hoisted_8$6=["selected"],_hoisted_9$6=["selected"],_hoisted_10$6=["selected"],_hoisted_11$6=["innerHTML"],_sfc_main$f=defineComponent({__name:"settings",setup(e){const t=window.core,o=ref("transition"),a=computed(()=>splitText(settingInfo[o.value].desc)),n={transition:transition$2,itemDetail:itemDetail$1,autoSkill:autoSkill$1,autoScale:autoScale$1,showHalo:showHalo$1,showStudied:showStudied$1,useFixed:useFixed$1,autoLocate:autoLocate$1,antiAliasing:antiAliasing$1};function s(){t.plugin.settingsOpened.value=!1}function i(r){if(o.value!==r){o.value=r;return}n[r].value=!n[r].value}return(r,d)=>(openBlock(),createBlock(Column,{width:60,height:60,onClose:s},{left:withCtx(()=>[createBaseVNode("div",_hoisted_1$f,[createBaseVNode("span",{class:"selectable",selected:o.value==="transition",onClick:d[0]||(d[0]=c=>i("transition"))},"\u754C\u9762\u52A8\u753B:\xA0\xA0\xA0"+toDisplayString(unref(transition$2)?"ON":"OFF"),9,_hoisted_2$c),createBaseVNode("span",{class:"selectable",selected:o.value==="itemDetail",onClick:d[1]||(d[1]=c=>i("itemDetail"))},"\u5B9D\u77F3\u8840\u74F6\u663E\u4F24:\xA0\xA0\xA0"+toDisplayString(unref(itemDetail$1)?"ON":"OFF"),9,_hoisted_3$c),createBaseVNode("span",{class:"selectable",selected:o.value==="autoSkill",onClick:d[2]||(d[2]=c=>i("autoSkill"))},"\u81EA\u52A8\u5207\u6362\u6280\u80FD:\xA0\xA0\xA0"+toDisplayString(unref(autoSkill$1)?"ON":"OFF"),9,_hoisted_4$a),createBaseVNode("span",{class:"selectable",selected:o.value==="autoScale",onClick:d[3]||(d[3]=c=>i("autoScale"))},"\u81EA\u52A8\u653E\u7F29:\xA0\xA0\xA0"+toDisplayString(unref(autoScale$1)?"ON":"OFF"),9,_hoisted_5$8),createBaseVNode("span",{class:"selectable",selected:o.value==="showHalo",onClick:d[4]||(d[4]=c=>i("showHalo"))},"\u5C55\u793A\u8303\u56F4\u5149\u73AF:\xA0\xA0\xA0"+toDisplayString(unref(showHalo$1)?"ON":"OFF"),9,_hoisted_6$7),createBaseVNode("span",{class:"selectable",selected:o.value==="useFixed",onClick:d[5]||(d[5]=c=>i("useFixed"))},"\u79FB\u52A8\u9F20\u6807\u663E\u793A\u602A\u7269\u4FE1\u606F:\xA0\xA0\xA0"+toDisplayString(unref(useFixed$1)?"ON":"OFF"),9,_hoisted_7$7),createBaseVNode("span",{class:"selectable",selected:o.value==="autoLocate",onClick:d[6]||(d[6]=c=>i("autoLocate"))},"\u52C7\u58EB\u81EA\u52A8\u5B9A\u4F4D:\xA0\xA0\xA0"+toDisplayString(unref(autoLocate$1)?"ON":"OFF"),9,_hoisted_8$6),createBaseVNode("span",{class:"selectable",selected:o.value==="antiAliasing",onClick:d[7]||(d[7]=c=>i("antiAliasing"))},"\u6297\u952F\u9F7F:\xA0\xA0\xA0"+toDisplayString(unref(antiAliasing$1)?"ON":"OFF"),9,_hoisted_9$6),unref(t).getSkillLevel(11)>0?(openBlock(),createElementBlock("span",{key:0,class:"selectable",selected:o.value==="showStudied",onClick:d[8]||(d[8]=c=>i("showStudied"))},"\u5C55\u793A\u5DF2\u5B66\u4E60\u6280\u80FD:\xA0\xA0\xA0"+toDisplayString(unref(showStudied$1)?"ON":"OFF"),9,_hoisted_10$6)):createCommentVNode("",!0)])]),right:withCtx(()=>[createBaseVNode("span",{innerHTML:unref(a)},null,8,_hoisted_11$6)]),_:1}))}}),settings_vue_vue_type_style_index_0_scoped_98d9836e_lang="",Settings=_export_sfc(_sfc_main$f,[["__scopeId","data-v-98d9836e"]]),tip={text:"\u6CE8\u610F\u4E8B\u9879",condition:"true",desc:["\u8FD9\u91CC\u663E\u793A\u672C\u5854\u4E2D\u9700\u8981\u6CE8\u610F\u7684\u4E8B\u9879\u3002","<br>","<br>",'1. <span style="color: yellow; font-weight: 700">',"\u672C\u767E\u79D1\u5168\u4E66\u5B57\u6570\u5F88\u591A\uFF0C\u53EF\u4EE5\u9009\u62E9\u6027\u5730\u9605\u8BFB\u3002</span>\u4E0D\u8FC7\u672C\u6761\u76EE\u6700\u597D\u53EF\u4EE5\u5168\u90E8\u9605\u8BFB\u4E00\u904D\u3002","<br>","<br>",'2. \u672C\u767E\u79D1\u5168\u4E66\u7684\u5185\u5BB9\u4F1A<span style="color: gold">\u968F\u7740\u6E38\u620F\u7684\u63A8\u8FDB\u800C\u589E\u52A0\u65B0\u5185\u5BB9</span>\uFF0C',"\u540C\u65F6\u6BCF\u6B21\u589E\u52A0\u65B0\u5185\u5BB9\u65F6\u90FD\u4F1A\u6709\u63D0\u793A\u3002","<br>","<br>","3. \u80CC\u5305\u4E2D\u7684\u7CFB\u7EDF\u8BBE\u7F6E\u540C\u6837\u975E\u5E38\u91CD\u8981\uFF0C\u6709\u4E9B\u95EE\u9898\u53EF\u4EE5\u5728\u90A3\u91CC\u627E\u5230\u539F\u56E0\u3002\u4F8B\u5982\u5F53\u4F60\u83B7\u5F97\u6280\u80FD\u65F6\u53EF\u80FD\u4F1A\u53D1\u73B0\u5F00\u542F\u4E0D\u4E86\u6280\u80FD\uFF0C","\u5C31\u662F\u56E0\u4E3A\u4F60\u6253\u5F00\u4E86\u81EA\u52A8\u5207\u6362\u6280\u80FD\u7684\u529F\u80FD\uFF0C\u5728\u7CFB\u7EDF\u8BBE\u7F6E\u91CC\u9762\u6709\u8BF4\u3002","<br>","<br>",'4. \u672C\u5854\u4E2D<span style="color: gold">\u51E0\u4E4E\u6240\u6709 ui </span>\u90FD\u53EF\u4EE5\u7EB5\u5411\u6EDA\u52A8\uFF0C\u5982\u679C\u53D1\u73B0\u663E\u793A\u4E0D\u5168\uFF0C',"\u53EF\u4EE5\u5C1D\u8BD5\u4E0A\u4E0B\u62D6\u52A8\uFF0C\u5C31\u50CF\u6D4F\u89C8\u7F51\u9875\u4E00\u6837\u3002\u7535\u8111\u7AEF\u8FD8\u53EF\u4EE5\u4F7F\u7528\u6EDA\u8F6E\u4E0A\u4E0B\u6EDA\u52A8\u3002","\u5927\u90E8\u5206\u53EF\u4EE5\u7EB5\u5411\u6EDA\u52A8\u7684 ui \u90FD\u4F1A\u5728\u53F3\u65B9\u6709\u4E00\u4E2A\u6EDA\u52A8\u6761\uFF0C\u4E5F\u53EF\u4EE5\u62D6\u52A8\u5B83\u8FDB\u884C\u6EDA\u52A8\uFF0C\u4F8B\u5982\u672C\u767E\u79D1\u5168\u4E66\u7684\u6761\u76EE\u5217\u8868\u548C","\u6761\u76EE\u8BF4\u660E\u90FD\u662F\u53EF\u4EE5\u901A\u8FC7\u4E0A\u8FF0\u65B9\u5F0F\u6EDA\u52A8\u7684\u3002","<br>","<br>","5. \u672C\u5854\u4E3B\u8981\u9762\u5411\u7535\u8111\u7AEF\u8BBE\u8BA1\uFF0C",'<span style="color: gold">\u5EFA\u8BAE\u4F7F\u7528\u7535\u8111\u6E38\u73A9\u4EE5\u83B7\u5F97\u66F4\u597D\u7684\u6E38\u620F\u4F53\u9A8C\uFF0C\u540C\u65F6\u4F7F\u7528\u7EA616:9\u7684\u6BD4\u4F8B\u6E38\u73A9\u66F4\u52A0\u5408\u9002',"</span>\u3002\u4F46\u662F\u624B\u673A\u4F9D\u7136\u53EF\u4EE5\u6E38\u73A9\u672C\u5854\uFF0C","\u4F46\u90E8\u5206\u64CD\u4F5C\u53EF\u80FD\u4E0D\u662F\u5F88\u65B9\u4FBF\uFF0Cui \u4E5F\u53EF\u80FD\u4E0D\u662F\u5F88\u7F8E\u89C2\uFF0C\u4E0D\u8FC7\u4F9D\u7136\u53EF\u4EE5\u5B8C\u6574\u4F53\u9A8C\u672C\u6E38\u620F\u3002","<br>","<br>",'6. \u5BF9\u4E8E\u624B\u673A\u7AEF\uFF0C\u53EF\u4EE5\u70B9\u51FB<span style="color: gold">\u53F3\u4E0B\u89D2\u7684\u96BE\u5EA6\u6587\u5B57</span>\u6765\u5207\u6362\u5DE5\u5177\u680F\u81F3\u6570\u5B57\u952E\u3002',"\u8FD9\u6837\uFF0C\u4F60\u53EF\u4EE5\u66F4\u52A0\u65B9\u4FBF\u5730\u8FDB\u884C\u4F7F\u7528\u6280\u80FD\u7B49\u64CD\u4F5C\u3002","<br>","<br>","6. \u672C\u5854\u4E2D\u51E0\u4E4E\u6240\u6709 ui \u5728\u6253\u5F00\u65F6\u90FD\u4F1A\u6709\u4E00\u4E2A0.6s\u7684\u52A8\u753B\uFF0C\u5982\u679C\u4E0D\u60F3\u8981\uFF0C\u53EF\u4EE5\u5728\u5F00\u5934\u6361\u7684\u7CFB\u7EDF\u8BBE\u7F6E\u91CC\u9762\u5173\u95ED\uFF08\u9ED8\u8BA4\u5173\u95ED\uFF09\u3002","\u540C\u65F6\uFF0C\u51E0\u4E4E\u6240\u6709 ui \u7684\u9000\u51FA\u6309\u94AE\u90FD\u5728\u5DE6\u4E0A\u89D2\u3002","<br>","<br>",'7. \u5730\u56FE\u4E0A\u663E\u793A\u7684\u602A\u7269\u4E34\u754C\u6709\u53EF\u80FD\u4E0D\u51C6\uFF0C\u5F53\u5176\u4E0E\u6298\u7EBF\u56FE\u6709\u5DEE\u5F02\u65F6\uFF0C<span style="color: gold">\u8BF7\u4EE5\u6298\u7EBF\u56FE\u4E3A\u51C6</span>\u3002']},about={text:"\u5173\u4E8E\u6E38\u620F",condition:"true",desc:["\u4F7F\u7528\u6837\u677F\uFF1AVite \u9B54\u5854\u6837\u677F","<br>","\u6837\u677F\u7248\u672C\uFF1AV2.10.0","<br>",'\u6E38\u620F\u5F00\u6E90\u5730\u5740\uFF1A<a href="https://github.com/unanmed/HumanBreak" target="_blank">',"https://github.com/unanmed/HumanBreak</a>","<br>","\u6E38\u620F\u4F5C\u8005\uFF1A\u53E4\u7960","<br>",'\u672C\u5854\u9075\u5FAAMIT\u5F00\u6E90\u534F\u8BAE\u3002<a href="LICENSE" target="_blank">\u67E5\u770B\u5F00\u6E90\u534F\u8BAE</a>',"<br>","BGM\u6765\u6E90\uFF1A\u7F51\u6613\u4E91\u97F3\u4E50\u7B49","<br>","\u7D20\u6750\u6765\u6E90\uFF1A\u5927\u7D20\u6750\u5E93\u3001\u7231\u7ED9\u7F51\u3001\u7F51\u7AD9\u7D20\u6750\u5E93\u7B49","<br>","\u7279\u522B\u9E23\u8C22\uFF1A\u65E0\u540D\u7532\u70F7\u83CC\uFF08\u63D0\u4F9B\u90E8\u5206\u7279\u6B8A\u5C5E\u6027\u4E0E\u673A\u5236\u60F3\u6CD5\uFF09","<br>","\u6D4B\u8BD5\uFF1A"]},tutorial={text:"\u65B0\u624B\u6559\u7A0B",condition:"true",desc:["\u672C\u6761\u76EE\u662F\u9B54\u5854\u6E38\u620F\u7684\u65B0\u624B\u6559\u7A0B\uFF0C\u5982\u679C\u5BF9\u9B54\u5854\u6709\u4E00\u5B9A\u7684\u4E86\u89E3\uFF0C\u53EF\u4EE5\u76F4\u63A5\u5FFD\u7565\u3002","<br>","<br>",'\u9B54\u5854\u662F\u4E00\u79CD\u56FA\u5B9A\u6570\u503Crpg\u6E38\u620F\uFF0C\u5728\u6253\u602A\u7684\u65F6\u5019\uFF0C\u9075\u5FAA<span style="color: gold">\u6211\u6253\u4F60\u4E00\u4E0B\uFF0C\u4F60\u6253\u6211\u4E00\u4E0B</span>',"\u7684\u539F\u5219\uFF0C\u9020\u6210\u7684\u4F24\u5BB3\u662F\u5DF1\u65B9\u653B\u51FB\u51CF\u53BB\u5BF9\u65B9\u9632\u5FA1\uFF0C\u6700\u540E\u602A\u7269\u7684\u4F24\u5BB3\u4FBF\u662F\u4F60\u5728\u6218\u6597\u4E2D\u5931\u53BB\u7684\u751F\u547D\u503C\u3002\u5F53\u7136\uFF0C\u4E3A\u4E86\u6E38\u620F\u4F53\u9A8C\uFF0C","\u6218\u6597\u8FC7\u7A0B\u4F1A\u88AB\u7701\u7565\u3002","<br>","<br>","\u5B9D\u77F3\u53EF\u4EE5\u589E\u52A0\u4F60\u7684\u5C5E\u6027\uFF0C\u5728\u5927\u90E8\u5206\u9B54\u5854\u4E2D\uFF0C\u7EA2\u5B9D\u77F3\u589E\u52A0\u653B\u51FB\uFF0C\u84DD\u5B9D\u77F3\u589E\u52A0\u9632\u5FA1\uFF0C\u672C\u5854\u4E5F\u4E0D\u4F8B\u5916\u3002\u8840\u74F6\u53EF\u4EE5\u589E\u52A0\u4F60\u7684\u751F\u547D\u503C\u3002",'\u4E00\u822C\u60C5\u51B5\u4E0B\uFF0C\u62FE\u53D6\u5B9D\u7269\u7684\u4F18\u5148\u7EA7\u662F<span style="color: gold">\u7EA2\u5B9D\u77F3 > \u84DD\u5B9D\u77F3 > \u8840\u74F6</span>\uFF0C',"\u4F46\u90E8\u5206\u60C5\u51B5\u53EF\u80FD\u4E0D\u662F\u8FD9\u6837\uFF0C\u8FD9\u9700\u8981\u4F60\u81EA\u5DF1\u7684\u6E38\u73A9\u7ECF\u9A8C\u7B49\u3002","<br>","<br>","\u672C\u5854\u8FD8\u62E5\u6709\u5347\u7EA7\u673A\u5236\uFF0C\u5347\u7EA7\u65F6\u80FD\u591F\u7ED9\u4F60\u589E\u52A0\u5927\u91CF\u7684\u5C5E\u6027\uFF0C\u56E0\u6B64\uFF0C\u4E00\u822C\u60C5\u51B5\u4E0B\u5F53\u4F60\u63A5\u8FD1\u5347\u7EA7\u65F6\uFF0C\u9700\u8981\u5C3D\u5FEB\u6253\u602A\u5347\u7EA7\u3002","<br>","<br>","\u7136\u540E\u662F\u95E8\u3002\u5728\u9B54\u5854\u4E2D\uFF0C\u5F88\u591A\u95E8\u90FD\u4E0D\u662F\u5FC5\u5F00\u7684\u95E8\uFF0C\u5B83\u4EEC\u7684\u4F5C\u7528\u4E00\u822C\u662F\u53EF\u4EE5\u8EB2\u5F00\u602A\u7269\u62FF\u5B9D\u77F3\uFF0C\u6216\u8005\u95E8\u91CC\u9762\u6709\u8840\u74F6\u7B49\u3002","\u5F53\u4F60\u8840\u91CF\u8DB3\u591F\u65F6\uFF0C\u8FD9\u4E9B\u95E8\u53EF\u4EE5\u4E0D\u7528\u5F00\uFF0C\u4E0D\u7136\u53EF\u80FD\u4F1A\u6709\u5FC5\u5F00\u7684\u95E8\u65E0\u6CD5\u5F00\u542F\u5BFC\u81F4\u5361\u5173\u3002\u5BF9\u4E8E\u94A5\u5319\uFF0C\u6BCF\u79CD\u989C\u8272\u7684\u94A5\u5319\u5F00\u5BF9\u5E94\u989C\u8272\u7684\u95E8\uFF0C",'\u4EF7\u503C\u662F<span style="color: gold">\u7EA2 > \u84DD > \u9EC4</span>\u3002',"<br>","<br>","\u4E3A\u4E86\u66F4\u52A0\u65B9\u4FBF\uFF0C\u672C\u5854\u589E\u52A0\u4E86\u5B9D\u77F3\u8840\u74F6\u663E\u793A\u6570\u636E\u7684\u529F\u80FD\uFF0C\u8FD9\u6837\u4F60\u53EF\u4EE5\u6E05\u6670\u5730\u77E5\u9053\u6BCF\u4E2A\u5B9D\u77F3\u589E\u52A0\u4E86\u591A\u5C11\u5C5E\u6027\u3002","<br>","<br>","\u4E0B\u9762\u662F\u52C7\u58EB\u57FA\u7840\u5C5E\u6027\u7684\u8BF4\u660E:","<br>",'<span style="color: lightgreen">1. \u751F\u547D\u503C</span>\uFF1A',"\u52C7\u58EB\u7684\u8840\u91CF\uFF0C\u5F53\u5B83\u5F52\u96F6\u65F6\uFF0C\u6E38\u620F\u7ED3\u675F","<br>",'<span style="color: lightcoral">2. \u653B\u51FB</span>\uFF1A',"\u52C7\u58EB\u7684\u653B\u51FB\uFF0C\u653B\u51FB\u8D8A\u9AD8\uFF0C\u6BCF\u56DE\u5408\u5BF9\u602A\u7269\u9020\u6210\u7684\u4F24\u5BB3\u8D8A\u9AD8","<br>",'<span style="color: lightblue">3. \u9632\u5FA1</span>\uFF1A',"\u52C7\u58EB\u7684\u9632\u5FA1\uFF0C\u9632\u5FA1\u8D8A\u9AD8\uFF0C\u602A\u7269\u6BCF\u56DE\u5408\u5BF9\u4F60\u9020\u6210\u7684\u4F24\u5BB3\u8D8A\u4F4E","<br>",'<span style="color: green">4. \u7ECF\u9A8C</span>\uFF1A',"\u52C7\u58EB\u7684\u7ECF\u9A8C\uFF0C\u5230\u8FBE\u4E00\u5B9A\u503C\u540E\u4F1A\u5347\u7EA7\u3002\u672C\u5854\u5728\u72B6\u6001\u680F\u4E2D\u663E\u793A\u4E3A\u8DDD\u79BB\u5347\u7EA7\u5269\u4F59\u7684\u7ECF\u9A8C","<br>",'<span style="color: gold">5. \u91D1\u5E01</span>\uFF1A',"\u52C7\u58EB\u7684\u91D1\u5E01\uFF0C\u53EF\u4EE5\u7528\u4E8E\u8D2D\u4E70\u7269\u54C1\u3002\u672C\u5854\u4E2D\u5728\u8FDB\u5165\u7B2C\u4E8C\u7AE0\u540E\u4F1A\u6709\u7528","<br>",'<span style="color: lightgreen">6. \u62A4\u76FE</span>\uFF1A',"\u52C7\u58EB\u7684\u62A4\u76FE\uFF0C\u7528\u5904\u662F\u80FD\u591F\u5728\u6218\u540E\u51CF\u5C11\u540C\u7B49\u6570\u503C\u7684\u4F24\u5BB3\uFF0C\u5728\u672C\u5854\u4E2D\u53EF\u4EE5\u4F7F\u4F24\u5BB3\u53D8\u4E3A\u8D1F\u503C\u3002\u672C\u5854\u4E2D\uFF0C\u5728\u70B9\u5F00\u65E0\u4E0A\u4E4B\u76FE\u6280\u80FD\u540E\uFF0C","\u667A\u6167\u4F1A\u5145\u5F53\u62A4\u76FE\u3002\u66F4\u591A\u4FE1\u606F\u53EF\u4EE5\u67E5\u770B\u201C\u52C7\u58EB\u5C5E\u6027\u201D\u6761\u76EE\u3002"]},noun={text:"\u540D\u8BCD\u89E3\u91CA",condition:"true",desc:["\u672C\u6761\u76EE\u4F1A\u89E3\u91CA\u8BF8\u5982\u4E34\u754C\u7B49\u9B54\u5854\u672F\u8BED\uFF0C\u5BF9\u9B54\u5854\u6709\u4E00\u5B9A\u4E86\u89E3\u7684\u53EF\u4EE5\u76F4\u63A5\u5FFD\u7565\u3002","<br>","<br>",'<span style="color: lightcoral">1. \u4E34\u754C</span>\uFF1A',"\u5728\u9B54\u5854\u4E2D\uFF0C\u4E34\u754C\u662F\u4E00\u4E2A\u975E\u5E38\u91CD\u8981\u7684\u4E1C\u897F\u3002\u9996\u5148\uFF0C\u6211\u4EEC\u5F88\u5BB9\u6613\u53EF\u4EE5\u5F97\u5230\uFF0C\u5403\u653B\u51FB\u65F6\u53EA\u6709\u5F53\u51CF\u5C11\u4E86\u6218\u6597\u56DE\u5408\u6570\u65F6\u602A\u7269\u7684\u4F24\u5BB3\u4F1A\u51CF\u5C11\uFF0C",'\u90A3\u4E48\uFF0C\u5403\u653B\u51FB\u65F6\u602A\u7269\u7684\u51CF\u4F24\u662F\u4E0D\u8FDE\u7EED\u7684\u3002\u800C<span style="color: gold">\u8DDD\u79BB\u4E0B\u4E00\u6B21\u51CF\u5C11\u602A\u7269\u7684\u4F24\u5BB3\u9700\u8981\u52A0\u7684\u653B\u51FB\u7684\u91CF</span>',"\u4FBF\u662F\u4E34\u754C\u3002\u5F53\u6211\u4EEC\u5403\u4E00\u4E2A\u653B\u51FB\u6070\u597D\u4F7F\u602A\u7269\u4F24\u5BB3\u51CF\u5C11\u65F6\uFF0C\u79F0\u4E3A\u201C\u8E29\u4E34\u754C\u201D\u3002\u4E00\u822C\u60C5\u51B5\u4E0B\uFF0C\u8E29\u4E34\u754C\u7684\u51CF\u4F24\u8981\u6BD4\u5403\u9632\u5FA1\u8981\u9AD8\uFF0C","\u56E0\u6B64\uFF0C\u5F53\u80FD\u8E29\u5230\u4E34\u754C\u65F6\uFF0C\u6211\u4EEC\u5E94\u5F53\u5148\u8E29\u4E34\u754C\uFF0C\u518D\u5403\u9632\u5FA1\u3002","<br>","<br>",'<span style="color: lightblue">2. \u52A0\u9632</span>\uFF1A',"\u52A0\u9632\u6307\u7684\u662F\u52A0\u9632\u5BF9\u602A\u7269\u7684\u51CF\u4F24\u3002\u5728\u672C\u5854\u4E2D\uFF0C\u4F1A\u4EE5\u201Cn\u9632\u201D\u7684\u5F62\u5F0F\u663E\u793A\u5728\u602A\u7269\u624B\u518C\u6216\u5176\u4ED6\u5730\u65B9\u3002\u5728\u672C\u5854\u4E2D\uFF0C\u4E00\u822C\u4F60\u4E0D\u9700\u8981\u523B\u610F\u8BA1\u7B97",'\u4E34\u754C\u4E0E\u52A0\u9632\u51CF\u4F24\uFF0C\u4F60\u53EF\u4EE5\u5728\u602A\u7269\u624B\u518C\u4E2D<span style="color: gold">\u67E5\u770B\u51CF\u4F24\u6298\u7EBF\u56FE</span>\uFF0C',"\u66F4\u591A\u4FE1\u606F\u8BF7\u67E5\u770B\u201C\u602A\u7269\u624B\u518C\u201D\u6761\u76EE\u3002","<br>","<br>",'<span style="color: gold">3. \u54B8\u9C7C</span>\uFF1A',"\u4E00\u822C\u6765\u8BB2\uFF0C\u5F00\u4E0D\u5FC5\u5F00\u7684\u95E8\uFF0C\u6216\u8005\u4F7F\u7528\u4E0D\u5FC5\u4F7F\u7528\u7684\u9053\u5177\u88AB\u79F0\u4E3A\u54B8\u9C7C\uFF0C\u6216\u8005\u662F\u54B8\u95E8\uFF0C\u54B8\u9053\u5177\u3002\u4E00\u822C\u60C5\u51B5\u4E0B\uFF0C\u8BF4\u201C\u54B8\u201D\u4FBF\u662F\u6307\u54B8\u9C7C\u3002","\u4E00\u822C\u60C5\u51B5\u4E0B\uFF0C\u95E8\u540E\u9762\u6709\u5B9D\u77F3\u4E14\u65E0\u6CD5\u901A\u8FC7\u5176\u4ED6\u65B9\u5F0F\u8FDB\u5165\u7684\u90FD\u662F\u5FC5\u5F00\u95E8\uFF0C\u800C\u53EA\u6709\u8840\u74F6\u7684\u90FD\u662F\u54B8\u9C7C\u95E8\u3002"]},shortcut={text:"\u5FEB\u6377\u952E",condition:"true",desc:["\u8FD9\u91CC\u5305\u542B\u672C\u5854\u4E2D\u6240\u6709\u7684\u5FEB\u6377\u952E\u3002\u5BF9\u4E8E\u624B\u673A\u7AEF\uFF0C\u53EF\u4EE5\u70B9\u51FB\u5DE5\u5177\u680F\u7684\u96BE\u5EA6\u7684\u4F4D\u7F6E\u5207\u6362\u5DE5\u5177\u680F\u81F3\u6570\u5B57\u952E\u3002","\u4E0B\u9762\u4F1A\u5206\u4E3A\u6837\u677F\u5FEB\u6377\u952E\u548C\u672C\u5854\u5FEB\u6377\u952E\u4E24\u7C7B\u5206\u522B\u8BF4\u660E\u3002\u53EF\u4EE5ctrl+F\u8FDB\u884C\u641C\u7D22\u5FEB\u6377\u952E\u7684\u529F\u80FD\u3002","<br>","<br>","\u4E0B\u9762\u662F\u6837\u677F\u4E2D\u7684\u6240\u6709\u5FEB\u6377\u952E\uFF1A","<br>",'<span style="color: gold">X</span>\uFF1A\u6253\u5F00\u602A\u7269\u624B\u518C',"<br>",'<span style="color: gold">S</span>\uFF1A\u6253\u5F00\u5B58\u6863\u754C\u9762',"<br>",'<span style="color: gold">D</span>\uFF1A\u6253\u5F00\u8BFB\u6863\u754C\u9762',"<br>",'<span style="color: gold">A\u62165</span>\uFF1A\u8BFB\u53D6\u81EA\u52A8\u5B58\u6863',"<br>",'<span style="color: gold">W\u62166</span>\uFF1A\u64A4\u9500\u8BFB\u53D6\u7684\u81EA\u52A8\u5B58\u6863',"<br>",'<span style="color: gold">Q</span>\uFF1A\u6253\u5F00\u88C5\u5907\u680F',"<br>",'<span style="color: gold">T</span>\uFF1A\u6253\u5F00\u9053\u5177\u680F',"<br>",'<span style="color: gold">G</span>\uFF1A\u6253\u5F00\u697C\u5C42\u4F20\u9001\u5668',"<br>",'<span style="color: gold">Z\u6216\u5355\u51FB\u52C7\u58EB</span>\uFF1A\u52C7\u58EB\u8F6C\u5411',"<br>",'<span style="color: gold">\u7A7A\u683C\u6216\u53CC\u51FB\u52C7\u58EB\u62167</span>\uFF1A\u8F7B\u6309\uFF08\u62FE\u53D6\u52C7\u58EB\u5468\u56F4\u7684\u5B9D\u7269\u4F46\u4E0D\u79FB\u52A8\u52C7\u58EB\uFF09',"<br>",'<span style="color: gold">Esc</span>\uFF1A\u6253\u5F00\u6E38\u620F\u83DC\u5355',"<br>",'<span style="color: gold">R</span>\uFF1A\u6253\u5F00\u5F55\u50CF\u56DE\u653E\u83DC\u5355',"<br>",'<span style="color: gold">N</span>\uFF1A\u8BE2\u95EE\u662F\u5426\u8FD4\u56DE\u6E38\u620F\u4E3B\u83DC\u5355',"<br>",'<span style="color: gold">V</span>\uFF1A\u6253\u5F00\u5FEB\u6377\u5546\u5E97',"<br>",'<span style="color: gold">B</span>\uFF1A\u6253\u5F00\u6570\u636E\u7EDF\u8BA1\u754C\u9762',"<br>",'<span style="color: gold">Alt + \u6570\u5B57\u952E</span>\uFF1A\u5FEB\u901F\u6362\u88C5',"<br>",'<span style="color: gold">PgUp\u6216PgDn</span>\uFF1A\u6D4F\u89C8\u5730\u56FE',"<br>",'<span style="color: gold">P</span>\uFF1A\u6253\u5F00\u8BC4\u8BBA\u533A',"<br>","<br>","\u4E0B\u9762\u662F\u672C\u5854\u4E2D\u65B0\u589E\u7684\u5FEB\u6377\u952E\uFF08\u4E0D\u5305\u62EC\u6280\u80FD\uFF0C\u6280\u80FD\u5FEB\u6377\u952E\u8BF7\u5728\u67E5\u770B\u6280\u80FD\u754C\u9762\u4E2D\u67E5\u770B\uFF09\uFF1A","<br>",'<span style="color: gold">M</span>\uFF1A\u5FEB\u901F\u6807\u8BB0\u602A\u7269',"<br>",'<span style="color: gold">J</span>\uFF1A\u6253\u5F00\u6280\u80FD\u6811',"<br>",'<span style="color: gold">H</span>\uFF1A\u6253\u5F00\u767E\u79D1\u5168\u4E66',"<br>",'<span style="color: gold">E</span>\uFF1A\u67E5\u770B\u9F20\u6807\u4F4D\u7F6E\u602A\u7269\u7684\u7279\u6B8A\u5C5E\u6027\u4FE1\u606F',"<br>",'<span style="color: gold">C</span>\uFF1A\u67E5\u770B\u9F20\u6807\u4F4D\u7F6E\u602A\u7269\u7684\u8BE6\u7EC6\u4E34\u754C\u4FE1\u606F']},extraAttr={text:"\u52C7\u58EB\u5C5E\u6027",condition:"true",desc:["\u8FD9\u91CC\u53EA\u5BF9\u672C\u5854\u4E2D\u65B0\u589E\u7684\u52C7\u58EB\u5C5E\u6027\u8FDB\u884C\u8BF4\u660E\u3002","<br>","<br>",'<span style="color: lightblue">1. \u667A\u6167</span>\uFF1A',"\u667A\u6167\u662F\u8BE5\u5854\u7684\u6838\u5FC3\u5C5E\u6027\u4E4B\u4E00\u3002\u667A\u6167\u53EF\u7528\u4E8E\u667A\u6167\u52A0\u70B9\uFF0C\u8BE5\u529F\u80FD\u4F1A\u5728\u8FDB\u5165\u7B2C\u4E00\u7AE0\u540E\u5F00\u542F\u3002\u4F7F\u7528\u667A\u6167\u53EF\u4EE5\u70B9\u6280\u80FD\u6811\u3002","\u9664\u6B64\u4E4B\u5916\uFF0C\u667A\u6167\u4E5F\u6709\u5176\u5B83\u529F\u80FD\u3002\u4F8B\u5982\u70B9\u5F00\u65E0\u4E0A\u4E4B\u76FE\u6280\u80FD\u540E\u667A\u6167\u8FD8\u53EF\u4EE5\u5145\u5F53\u62A4\u76FE\uFF0C\u7B2C\u4E8C\u7AE0\u70B9\u5F00\u5B66\u4E60\u6280\u80FD\u540E\u53EF\u4EE5\u4F7F\u7528\u667A\u6167\u5B66\u4E60\u602A\u7269\u6280\u80FD\u7B49\u3002","<br>","<br>",'<span style="color: lightgreen">2. \u751F\u547D\u56DE\u590D</span>\uFF1A',"\u751F\u547D\u56DE\u590D\u6307\u7684\u662F\u52C7\u58EB\u6BCF\u56DE\u5408\u56DE\u590D\u7684\u751F\u547D\u503C\u3002\u5F53\u4E0E\u602A\u7269\u6218\u6597\u65F6\uFF0C\u52C7\u58EB\u6BCF\u56DE\u5408\u90FD\u4F1A\u56DE\u590D\u5BF9\u5E94\u91CF\u7684\u751F\u547D\u503C\u3002\u56E0\u6B64\uFF0C\u5F53\u5403\u653B\u51FB\u65F6\uFF0C","\u4E0E\u602A\u7269\u6218\u6597\u7684\u56DE\u5408\u6570\u53EF\u80FD\u4F1A\u51CF\u5C11\uFF0C\u5BFC\u81F4\u751F\u547D\u56DE\u590D\u7684\u603B\u56DE\u590D\u91CF\u51CF\u5C11\u3002\u4E0D\u8FC7\u5927\u90E8\u5206\u60C5\u51B5\u4E0B\u4E0D\u9700\u8981\u5728\u610F\u8FD9\u4E00\u70B9\uFF0C","\u51CF\u5C11\u4E00\u56DE\u5408\u5E76\u4E0D\u4F1A\u5BF9\u5438\u7684\u8840\u9020\u6210\u5F88\u5927\u7684\u5F71\u54CD\uFF0C\u9664\u4E86\u4E00\u4E9B\u7279\u6B8A\u60C5\u51B5\u3002","\u8BE5\u9879\u4F1A\u663E\u793A\u5728\u72B6\u6001\u680F\u7684\u751F\u547D\u503C\u53F3\u65B9\u504F\u4E0B\u7684\u4F4D\u7F6E\u3002","<br>","<br>",'<span style="color: lightcoral">3. \u989D\u5916\u653B\u51FB</span>\uFF1A',"\u989D\u5916\u653B\u51FB\u6307\u7684\u662F\u52C7\u58EB\u6BCF\u56DE\u5408\u7684\u989D\u5916\u9020\u6210\u7684\u4F24\u5BB3\u3002\u4E00\u822C\u60C5\u51B5\u4E0B\uFF0C\u5F53\u52C7\u58EB\u7834\u4E86\u602A\u7269\u7684\u9632\u5FA1\u65F6\uFF0C\u8BE5\u9879\u4FBF\u4F1A\u8D77\u4F5C\u7528\u3002","\u989D\u5916\u653B\u51FB\u76F8\u5F53\u4E8E\u9B54\u653B\uFF0C\u65E0\u6CD5\u901A\u8FC7\u4E00\u822C\u65B9\u5F0F\u51CF\u514D\u3002\u5F53\u52C7\u58EB\u653B\u51FB\u602A\u7269\u65F6\uFF0C\u6BCF\u56DE\u5408\u90FD\u4F1A\u9644\u52A0\u5BF9\u5E94\u91CF\u7684\u4F24\u5BB3\uFF0C\u5BF9\u575A\u56FA\u602A\u540C\u6837\u6709\u6548\u3002","\u989D\u5916\u653B\u51FB\u4F1A\u663E\u793A\u5728\u72B6\u6001\u680F\u7684\u653B\u51FB\u53F3\u65B9\u504F\u4E0B\u7684\u4F4D\u7F6E\u3002"]},statusBar={text:"\u72B6\u6001\u680F",condition:"true",desc:["\u5728\u672C\u5854\u4E2D\uFF0C\u72B6\u6001\u680F\u4E0E\u6E38\u620F\u753B\u9762\u662F\u5206\u5F00\u7684\u3002\u4F60\u53EF\u4EE5\u81EA\u7531\u62D6\u52A8\u72B6\u6001\u680F\uFF0C\u4E5F\u53EF\u4EE5\u4FEE\u6539\u5176\u5927\u5C0F\u3002","\u5177\u4F53\u65B9\u6CD5\u5982\u4E0B\uFF1A\u70B9\u51FB\u4E00\u4E0B\u72B6\u6001\u680F\u4E4B\u540E\uFF0C\u5DE6\u4E0A\u89D2\u7684\u62D6\u62FD\u56FE\u6807\u4F1A\u653E\u5927\uFF0C\u6B64\u65F6\u4F60\u53EF\u4EE5\u6309\u4F4F\u5B83\u62D6\u52A8\u72B6\u6001\u680F\u3002","\u4F60\u53EF\u4EE5\u76F4\u63A5\u5C06\u9F20\u6807\u653E\u5230\u72B6\u6001\u680F\u7684\u8FB9\u6846\u4E0A\uFF0C\u7136\u540E\u76F4\u63A5\u62D6\u52A8\u4EE5\u6539\u53D8\u72B6\u6001\u680F\u7684\u5927\u5C0F\u3002\u624B\u673A\u7AEF\u53EF\u4EE5\u5148\u70B9\u51FB\u4E00\u4E0B\u72B6\u6001\u680F\u4F7F\u8FB9\u6846","\u53D8\u5BBD\uFF0C\u7136\u540E\u62D6\u52A8\u3002\u7535\u8111\u7AEF\u70B9\u51FB\u72B6\u6001\u680F\u4E5F\u53EF\u4EE5\u4F7F\u8FB9\u6846\u53D8\u5BBD\u3002\u5982\u679C\u4F60\u60F3\u6298\u53E0\u72B6\u6001\u680F\uFF0C\u5B8C\u5168\u53EF\u4EE5\u62D6\u52A8\u72B6\u6001\u680F\u7684\u4E0B\u8FB9\u6846\uFF0C","\u7136\u540E\u76F4\u63A5\u62D6\u52A8\u81F3\u4E0A\u65B9\uFF0C\u8FD9\u65F6\u72B6\u6001\u680F\u4FBF\u4F1A\u53D8\u6210\u4E00\u6761\u7EBF\uFF0C\u76F8\u5F53\u4E8E\u6298\u53E0\u4E86\u72B6\u6001\u680F","<br>","<br>","\u72B6\u6001\u680F\u53EF\u4EE5\u7EB5\u5411\u6EDA\u52A8\uFF0C\u5982\u679C\u4F60\u53D1\u73B0\u72B6\u6001\u680F\u663E\u793A\u4E0D\u5168\uFF0C\u53EF\u4EE5\u5C1D\u8BD5\u62C9\u5927\u72B6\u6001\u680F\uFF0C\u6216\u8005\u7EB5\u5411\u62D6\u52A8\u72B6\u6001\u680F\uFF0C\u5C31\u50CF\u7F51\u9875\u4E0A\u4E0B\u6EDA\u52A8\u4E00\u6837\u3002","\u7535\u8111\u7AEF\u8FD8\u53EF\u4EE5\u4F7F\u7528\u6EDA\u8F6E\u4E0A\u4E0B\u6EDA\u52A8\u3002","<br>","<br>","\u5982\u679C\u4F60\u89C9\u5F97\u72B6\u6001\u680F\u6709\u4E9B\u788D\u4E8B\uFF0C\u4F60\u5B8C\u5168\u53EF\u4EE5\u5C06\u5176\u7F29\u5C0F\uFF0C\u6216\u8005\u628A\u5B83\u653E\u5230\u4E0D\u788D\u4E8B\u7684\u5730\u65B9\u3002","<br>","<br>","\u72B6\u6001\u680F\u4E0A\u9762\u53EF\u80FD\u4F1A\u6709\u6309\u94AE\uFF0C\u4F60\u53EF\u4EE5\u76F4\u63A5\u70B9\u51FB\u3002","<br>","<br>","\u5BF9\u72B6\u6001\u680F\u5E03\u5C40\u7684\u8BF4\u660E\u3002","<br>","\u672C\u5854\u7684\u72B6\u6001\u680F\u7684\u5E03\u5C40\u8F83\u4E3A\u7075\u6D3B\u3002\u5B83\u662F\u6A2A\u5411\u7684\u5E03\u5C40\uFF0C\u5728\u72B6\u6001\u680F\u8F83\u5BBD\u65F6\u53EF\u4EE5\u770B\u5230\uFF0C\u5C5E\u6027\u4F1A\u6A2A\u5411\u4F9D\u6B21\u663E\u793A\u3002\u6309\u7167\u663E\u793A\u987A\u5E8F\uFF0C","\u72B6\u6001\u680F\u663E\u793A\u9879\u4F9D\u6B21\u4E3A\uFF1A","<br>","<br>","1. \u697C\u5C42\u540D\uFF0C\u70B9\u51FB\u540E\u8FDB\u5165\u6D4F\u89C8\u5730\u56FE\u754C\u9762","<br>","2. \u52C7\u58EB\u7B49\u7EA7","<br>","3. \u5F53\u524D\u5F00\u542F\u7684\u6280\u80FD","<br>","4. \u5F53\u524D\u52C7\u58EB\u751F\u547D\u503C\uFF0C\u53F3\u65B9\u504F\u4E0B\u4E3A\u6BCF\u56DE\u5408\u56DE\u590D\u7684\u751F\u547D\u503C\uFF0C\u5F53\u70B9\u5F00\u6CBB\u6108\u4E4B\u6CC9\u6280\u80FD\u65F6\uFF0C\u53F3\u65B9\u504F\u4E0A\u4F1A\u663E\u793A\u8DDD\u79BB\u589E\u52A0\u751F\u547D\u56DE\u590D\u5269\u4F59\u8840\u74F6\u6570","<br>","5. \u5F53\u524D\u52C7\u58EB\u7684\u653B\u51FB\uFF0C\u53F3\u65B9\u504F\u4E0B\u4E3A\u52C7\u58EB\u7684\u989D\u5916\u653B\u51FB","<br>","6. \u5F53\u524D\u52C7\u58EB\u7684\u9632\u5FA1","<br>","7. \u5F53\u524D\u52C7\u58EB\u7684\u667A\u6167\uFF0C\u53EF\u4EE5\u7528\u4E8E\u667A\u6167\u52A0\u70B9\u7B49","<br>","8. \u5F53\u524D\u52C7\u58EB\u7684\u91D1\u5E01","<br>","9. \u5F53\u524D\u52C7\u58EB\u8DDD\u79BB\u5347\u7EA7\u5269\u4F59\u7ECF\u9A8C\u6570","<br>","10. \u4E09\u8272\u94A5\u5319","<br>","11. \u6253\u5F00\u6280\u80FD\u6811\uFF08\u8FDB\u5165\u7B2C\u4E00\u7AE0\u540E\u5F00\u542F\uFF09","<br>","12. \u67E5\u770B\u52C7\u58EB\u7684\u6280\u80FD\uFF08\u8FDB\u5165\u7B2C\u4E00\u7AE0\u540E\u5F00\u542F\uFF09"]},markEnemy={text:"\u6807\u8BB0\u602A\u7269",condition:"true",desc:["\u6807\u8BB0\u602A\u7269\u53EF\u4EE5\u4F7F\u4F60\u80FD\u591F\u66F4\u52A0\u65B9\u4FBF\u5730\u4E86\u89E3\u4E00\u4E2A\u602A\u7269\u7684\u60C5\u51B5\u3002","<br>","\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B\u4E24\u79CD\u65B9\u5F0F\u6807\u8BB0\u602A\u7269\uFF1A","<br>","1. \u6253\u5F00\u602A\u7269\u624B\u518C\uFF0C\u9009\u4E2D\u602A\u7269\uFF0C\u8FDB\u5165\u602A\u7269\u66F4\u591A\u4FE1\u606F\u680F\uFF0C\u70B9\u51FB\u6807\u8BB0\u602A\u7269\u3002","<br>",'2. \u5C06\u9F20\u6807\u79FB\u52A8\u5230\u4F60\u60F3\u8981\u6807\u8BB0\u7684\u602A\u7269\u4E0A\u9762\uFF0C<span style="color: gold">',"\u6309\u4E0BM\u952E</span>\uFF0C\u5373\u53EF\u6807\u8BB0\u602A\u7269\uFF0C\u6CE8\u610F\u6D4F\u89C8\u5730\u56FE\u4E2D\u4E0D\u80FD\u7528\u8BE5\u65B9\u5F0F\u6807\u8BB0\u3002","\u624B\u673A\u7AEF\u6682\u65F6\u6CA1\u6709\u5FEB\u901F\u6807\u8BB0\u602A\u7269\u7684\u65B9\u5F0F\u3002","<br>","<br>","\u5F53\u4E00\u4E2A\u602A\u7269\u88AB\u6807\u8BB0\u540E\uFF0C\u602A\u7269\u4F1A\u6709\u4EE5\u4E0B\u884C\u4E3A\uFF1A","<br>","1. \u5F53\u52C7\u58EB\u6070\u597D\u80FD\u6253\u8D25\u602A\u7269\u65F6\uFF0C\u4F1A\u8FDB\u884C\u63D0\u793A","<br>","2. \u5F53\u602A\u7269\u7684\u4F24\u5BB3\u6070\u597D\u4F4E\u4E8E\u52C7\u58EB\u751F\u547D\u503C\u76842/3\u62161/3\u65F6\uFF0C\u4F1A\u8FDB\u884C\u63D0\u793A","<br>","3. \u5F53\u52C7\u58EB\u6070\u597D\u8E29\u5230\u602A\u7269\u7684\u4E34\u754C\u65F6\uFF0C\u4F1A\u8FDB\u884C\u63D0\u793A","<br>","4. \u5F53\u602A\u7269\u96F6\u4F24\u65F6\uFF0C\u4F1A\u8FDB\u884C\u63D0\u793A","<br>","5. \u88AB\u6807\u8BB0\u7684\u602A\u7269\u4F1A\u51FA\u73B0\u7C7B\u4F3C\u4E8E\u72B6\u6001\u680F\u7684\u76D2\u5B50\uFF0C\u53EF\u4EE5\u968F\u610F\u62D6\u52A8\u548C\u6539\u53D8\u5927\u5C0F\u3002\u4F60\u4E5F\u53EF\u4EE5\u9009\u62E9\u5173\u95ED\u8FD9\u4E2A\u76D2\u5B50\uFF0C","\u88AB\u5173\u95ED\u540E\u53EF\u4EE5\u901A\u8FC7\u91CD\u65B0\u6807\u8BB0\u6765\u6253\u5F00\u3002\u8FD9\u4E2A\u76D2\u5B50\u4F1A\u663E\u793A\u6807\u8BB0\u7684\u602A\u7269\u7684\u4E34\u754C\u4E0E\u4F24\u5BB3\u4FE1\u606F\u7B49\uFF0C\u4E0E\u72B6\u6001\u680F\u4E00\u6837\uFF0C\u53EF\u4EE5\u7EB5\u5411\u6EDA\u52A8\u3002","<br>","<br>","\u8FD9\u4E2A\u529F\u80FD\u53EF\u4EE5\u7528\u4E8E\u6807\u8BB0boss\u6216\u8005\u8F83\u5F3A\u7684\u6321\u8DEF\u602A\uFF0C\u5F53\u8FD9\u4E9B\u602A\u80FD\u591F\u653B\u51FB\u65F6\u4F60\u53EF\u4EE5\u76F4\u63A5\u6536\u5230\u4FE1\u606F\uFF0C\u4E0D\u9700\u8981\u518D\u65F6\u523B\u8D39\u5FC3\u6CE8\u610F\u602A\u7269\u7684\u4F24\u5BB3\u3002","<br>","<br>","\u6CE8\u610F\uFF0C\u6807\u8BB0\u7684\u602A\u7269\u662F\u4E0D\u8BA1\u5165\u5B58\u6863\u7684\uFF0C\u540C\u65F6\u6807\u8BB0\u7684\u602A\u7269\u53EA\u5728\u672C\u6B21\u6E38\u620F\u4E2D\u6709\u6548\uFF0C\u5237\u65B0\u9875\u9762\u540E\u4FBF\u4F1A\u6D88\u5931\u3002"]},book={text:"\u602A\u7269\u624B\u518C",condition:"true",desc:["\u672C\u5854\u7684\u602A\u7269\u624B\u518C\u529F\u80FD\u5F88\u591A\uFF0C\u4E0B\u9762\u4E00\u4E00\u4ECB\u7ECD\u3002","<br>","<br>","\u9996\u5148\uFF0C\u4F60\u53EF\u4EE5\u6309X\u6253\u5F00\u602A\u7269\u624B\u518C\u3002\u9664\u6B64\u4E4B\u5916\uFF0C\u5C06\u9F20\u6807\u79FB\u52A8\u5230\u602A\u7269\u4E0A\u4E5F\u53EF\u4EE5\u5B9A\u70B9\u67E5\u770B\u602A\u7269\u7684\u7C97\u7565\u4FE1\u606F\u3002",'\u5C06\u9F20\u6807\u79FB\u52A8\u5230\u4E00\u4E2A\u602A\u7269\u4E0A\uFF0C\u6309\u4E0B<span style="color: gold">','E\u952E</span>\uFF0C\u53EF\u4EE5\u67E5\u770B\u8BE5\u602A\u7269\u7684\u7279\u6B8A\u5C5E\u6027\u4FE1\u606F\u3002\u6309\u4E0B<span style="color: gold">',"C\u952E</span>\uFF0C\u53EF\u4EE5\u67E5\u770B\u8BE5\u602A\u7269\u7684\u8BE6\u7EC6\u4E34\u754C\u4FE1\u606F\u3002","<br>","<br>","\u602A\u7269\u624B\u518C\u6253\u5F00\u7684\u65F6\u5019\u6709\u4E00\u4E2A0.6\u79D2\u7684\u52A8\u753B\uFF0C\u5982\u679C\u4E0D\u60F3\u8981\u53EF\u4EE5\u5728\u5F00\u5934\u6361\u7684\u7CFB\u7EDF\u8BBE\u7F6E\u91CC\u9762\u5173\u95ED\uFF08\u9ED8\u8BA4\u5173\u95ED\uFF09\u3002","<br>","<br>","\u6253\u5F00\u602A\u7269\u624B\u518C\u540E\uFF0C\u602A\u7269\u624B\u518C\u7684\u5E03\u5C40\u4E0E\u6837\u677F\u81EA\u5E26\u7684\u7C7B\u4F3C\u3002\u4E0E\u6837\u677F\u4E0D\u540C\u7684\u662F\uFF0C\u8FD9\u91CC\u7684\u602A\u7269\u624B\u518C\u4E0D\u518D\u662F\u7FFB\u9875\u5F0F\u7ED3\u6784\u3002","\u8FD9\u91CC\u7684\u602A\u7269\u624B\u518C\u662F\u6EDA\u52A8\u5F0F\u7ED3\u6784\uFF0C\u4F60\u53EF\u4EE5\u50CF\u6D4F\u89C8\u7F51\u9875\u4E00\u6837\uFF0C\u7528\u624B\u6307\u6216\u9F20\u6807\u4E0A\u4E0B\u6EDA\u52A8\u6216\u8005\u62D6\u52A8\u53F3\u8FB9\u7684\u6EDA\u52A8\u6761\uFF0C\u7535\u8111\u7AEF\u8FD8\u53EF\u4EE5\u4F7F\u7528\u6EDA\u8F6E\u3002","\u5BF9\u4E8E\u7535\u8111\u7AEF\uFF0C\u8FD8\u53EF\u4EE5\u4F7F\u7528\u952E\u76D8\u64CD\u4F5C\u3002\u4E0A\u548C\u4E0B\u53EF\u4EE5\u4E0A\u4E0B\u9009\u62E9\u602A\u7269\uFF0C\u5DE6\u548C\u53F3\u53EF\u4EE5\u5411\u4E0A\u6216\u5411\u4E0B\u79FB\u52A85\u4E2A\u602A\u7269\u3002\u8FD9\u4E9B\u64CD\u4F5C\u4E0E\u6837\u677F\u90FD\u7C7B\u4F3C\u3002","<br>","<br>","\u70B9\u51FB\u4E00\u4E2A\u602A\u7269\u6216\u8005\u6309\u4E0B\u56DE\u8F66\u7A7A\u683C\u540E\uFF0C\u5C06\u8FDB\u5165\u602A\u7269\u8BE6\u7EC6\u4FE1\u606F\u754C\u9762\u3002\u8FD9\u4E2A\u754C\u9762\u5206\u4E3A\u591A\u4E2A\u680F\uFF0C\u5206\u522B\u662F\u7279\u6B8A\u5C5E\u6027\u680F\uFF0C\u8BE6\u7EC6\u4E34\u754C\u680F\uFF0C\u66F4\u591A\u4FE1\u606F\u680F\u3002","\u8FDB\u5165\u602A\u7269\u8BE6\u7EC6\u4FE1\u606F\u540E\u9ED8\u8BA4\u5728\u7279\u6B8A\u5C5E\u6027\u680F\uFF0C\u8BE5\u680F\u53EF\u4EE5\u67E5\u770B\u602A\u7269\u7684\u7279\u6B8A\u5C5E\u6027\u3002","\u6CE8\u610F\u7279\u6B8A\u5C5E\u6027\u4F9D\u7136\u53EF\u4EE5\u7EB5\u5411\u6EDA\u52A8\u3002\u5728\u7279\u6B8A\u5C5E\u6027\u4E0B\u65B9\uFF0C","\u662F\u602A\u7269\u7684\u4E34\u754C\u8868\uFF0C\u53EF\u4EE5\u7C97\u7565\u5730\u67E5\u770B\u602A\u7269\u7684\u4E34\u754C\u4FE1\u606F\u3002\u5728\u4E0B\u65B9\uFF0C\u4F60\u53EF\u4EE5\u70B9\u51FB\u8BE6\u7EC6\u4E34\u754C\u4FE1\u606F\u8FDB\u5165\u8BE6\u7EC6\u4E34\u754C\u680F\u3002","<br>","<br>","\u5728\u8BE6\u7EC6\u4E34\u754C\u680F\u4E2D\uFF0C\u602A\u7269\u7684\u4F24\u5BB3\u4F1A\u4EE5\u53EF\u89C6\u5316\u6298\u7EBF\u56FE\u7684\u65B9\u5F0F\u663E\u793A\u51FA\u6765\uFF0C\u4ECE\u800C\u4F60\u53EF\u4EE5\u66F4\u4E3A\u6E05\u6670\u5730\u770B\u51FA\u602A\u7269\u51CF\u4F24\u8D8B\u52BF\u3002","\u9664\u4E86\u67E5\u770B\u602A\u7269\u4F24\u5BB3\u66F2\u7EBF\uFF0C\u4F60\u8FD8\u53EF\u4EE5\u89C4\u5212\u5B9D\u77F3\u3002\u6BCF\u4E2A\u6298\u7EBF\u56FE\u4E0B\u65B9\u90FD\u6709\u4E00\u4E2A\u6ED1\u52A8\u6761\uFF0C\u4F60\u53EF\u4EE5\u62D6\u52A8\u6765\u6A21\u62DF\u5403\u5B9D\u77F3\u3002","\u6CE8\u610F\uFF0C\u62D6\u52A8\u65F6\uFF0C\u6ED1\u52A8\u6761\u5DE6\u8FB9\u4F1A\u663E\u793A\u5F53\u524D\u7684\u52A0\u653B\u6216\u52A0\u9632\u6B21\u6570\uFF0C\u8FD9\u4E2A\u6570\u503C\u6307\u7684\u662F\u5728\u52C7\u58EB\u6240\u5728\u5730\u56FE\u4E2D\u9700\u8981\u5403\u7684\u6700\u5F31\u7684\u5B9D\u77F3\u6570\u91CF\u3002","\u4F8B\u5982\uFF0C\u5F53\u524D\u52C7\u58EB\u6240\u5728\u5730\u56FE\u4E2D\u6700\u5F31\u7684\u5B9D\u77F3\u52A02\u70B9\u653B\u51FB\uFF0C\u52A0\u653B\u6B21\u6570\u4E3A3\uFF0C\u90A3\u4E48\u52C7\u58EB\u7684\u653B\u51FB\u589E\u52A0\u91CF\u5C31\u4E3A6\u3002","\u52C7\u58EB\u589E\u52A0\u7684\u653B\u51FB\u6570\u503C\u4E5F\u4F1A\u5728\u4E0B\u65B9\u663E\u793A\u3002\u5F53\u52A0\u653B\u6B21\u6570\u548C\u52A0\u9632\u6B21\u6570\u6539\u53D8\u65F6\uFF0C\u6298\u7EBF\u56FE\u4E5F\u4F1A\u53D8\u5316\u3002",'\u5F53\u524D\u72B6\u6001\u4E0B\u602A\u7269\u7684\u4F24\u5BB3\u4EE5\u53CA\u51CF\u4F24\u603B\u91CF\u4E5F\u4F1A\u5728\u4E0B\u65B9\u663E\u793A\u3002<span style="color: gold">',"\u6CE8\u610F\u5728\u6B64\u680F\u4E2D\u65E0\u6CD5\u901A\u8FC7\u70B9\u51FB\u5C4F\u5E55\u56DE\u5230\u602A\u7269\u624B\u518C\u754C\u9762\uFF0C\u66F4\u591A\u4FE1\u606F\u8BF7\u67E5\u770B\u6700\u540E\u4E00\u6BB5</span>\u3002","<br>","<br>","\u5728\u7279\u6B8A\u5C5E\u6027\u680F\uFF0C\u70B9\u51FB\u4E0B\u65B9\u7684\u602A\u7269\u66F4\u591A\u4FE1\u606F\u53EF\u4EE5\u8FDB\u5165\u66F4\u591A\u4FE1\u606F\u680F\u3002\u6B64\u680F\u4E2D\uFF0C\u4F60\u53EF\u4EE5\u67E5\u770B\u602A\u7269\u63CF\u8FF0\u3002\u4F46\u8FD9\u4E0D\u662F\u8FD9\u4E00\u680F\u7684\u6838\u5FC3\u529F\u80FD\u3002","\u8FD9\u4E00\u680F\u7684\u6838\u5FC3\u529F\u80FD\u662F\u6807\u8BB0\u602A\u7269\u3002\u88AB\u6807\u8BB0\u7684\u602A\u7269\u4F1A\u6709\u4E00\u4E9B\u975E\u5E38\u65B9\u4FBF\u7684\u884C\u4E3A\uFF0C\u8FD9\u4E9B\u884C\u4E3A\u53EF\u4EE5\u5728\u201C\u6807\u8BB0\u602A\u7269\u201D\u6761\u76EE\u4E2D\u67E5\u770B\u3002","<br>","<br>","\u6CE8\u610F\uFF0C\u5728\u602A\u7269\u8BE6\u7EC6\u4FE1\u606F\u4E2D\uFF0C\u9664\u8BE6\u7EC6\u4E34\u754C\u680F\u5916\u5747\u53EF\u4EE5\u901A\u8FC7\u70B9\u51FB\u5C4F\u5E55\u8FD4\u56DE\u5230\u602A\u7269\u624B\u518C\u754C\u9762\u3002",'\u5982\u679C\u4F60\u662F\u7535\u8111\u7AEF\uFF0C\u5728\u4EFB\u610F\u680F\u76EE\u4E2D<span style="color: gold">\u6309\u4E0BX\u952E</span>\u4F1A\u9000\u51FA\u602A\u7269\u624B\u518C\uFF0C\u8FD4\u56DE\u6E38\u620F\uFF0C','<span style="color: gold">\u6309\u4E0B\u56DE\u8F66\uFF08Enter\uFF09\u952E</span>\u4F1A\u56DE\u5230\u602A\u7269\u624B\u518C\u754C\u9762\u3002']},fly={text:"\u697C\u5C42\u4F20\u9001\u5668",condition:"true",desc:["\u697C\u4F20\u754C\u9762\u6253\u5F00\u65F6\u4F1A\u6709\u4E00\u4E2A0.6\u79D2\u7684\u52A8\u753B\uFF0C\u5982\u679C\u4E0D\u60F3\u8981\u53EF\u4EE5\u5728\u5F00\u5934\u6361\u7684\u7CFB\u7EDF\u8BBE\u7F6E\u91CC\u9762\u5173\u95ED\u3002\uFF08\u9ED8\u8BA4\u5173\u95ED\uFF09","<br>","<br>",'\u672C\u5854\u7684\u697C\u5C42\u4F20\u9001\u5668\u662F\u4E00\u4E2A\u96C6<span style="color: gold">\u5206\u533A\u3001\u5C0F\u5730\u56FE\u3001\u697C\u5C42\u4F20\u9001\u3001\u6D4F\u89C8\u5730\u56FE</span>\u4E8E\u4E00\u4F53\u7684\u591A\u529F\u80FD\u697C\u4F20\u3002','<a href="maps/index.html" target="_blank">\u4F60\u4E5F\u53EF\u4EE5\u70B9\u51FB\u8FD9\u91CC</a>\u67E5\u770B\u6240\u6709\u533A\u57DF\u7684\u7F29\u7565\u56FE\u3002',"\u4E0B\u9762\u662F\u697C\u4F20\u7684\u5177\u4F53\u8BF4\u660E\uFF1A","<br>","<br>","\u9996\u5148\uFF0C\u5BF9\u4E8E\u7535\u8111\u7AEF\uFF0C\u6700\u5DE6\u4FA7\u663E\u793A\u533A\u57DF\u4FE1\u606F\uFF0C\u624B\u673A\u7AEF\u5219\u5728\u4E0A\u65B9\u7684\u5DE6\u4FA7\u3002","<br>","<br>","\u7136\u540E\uFF0C\u533A\u57DF\u7684\u53F3\u4FA7\u662F\u5C0F\u5730\u56FE\u680F\uFF0C\u8FD9\u4E00\u680F\u4F1A\u663E\u793A\u697C\u5C42\u7684\u5E73\u9762\u7ED3\u6784\u3002\u4F60\u53EF\u4EE5\u62D6\u52A8\uFF0C\u4E5F\u53EF\u4EE5\u4F7F\u7528\u6EDA\u8F6E\u6216\u8005\u53CC\u6307\u653E\u7F29\uFF0C\u5F53\u653E\u7F29\u5230\u4E00\u5B9A\u5927\u5C0F\u65F6\uFF0C","\u4F1A\u663E\u793A\u5730\u56FE\u7684\u7F29\u7565\u56FE\u3002\u76F4\u63A5\u70B9\u51FB\u5730\u56FE\u4E5F\u53EF\u4EE5\u9009\u4E2D\u5730\u56FE\uFF0C\u518D\u6B21\u70B9\u51FB\u4F1A\u4F20\u9001\u81F3\u76EE\u6807\u5730\u56FE\u3002","<br>","<br>","\u5BF9\u4E8E\u7535\u8111\u7AEF\uFF0C\u6700\u53F3\u4FA7\u662F\u5F53\u524D\u9009\u4E2D\u7684\u5730\u56FE\u7684\u7F29\u7565\u56FE\uFF0C\u624B\u673A\u5219\u5728\u4E0B\u65B9\uFF0C\u70B9\u51FB\u7F29\u7565\u56FE\u4E5F\u53EF\u4EE5\u4F20\u9001\u3002\u7F29\u7565\u56FE\u7684\u4E0B\u65B9\u662F\u5F53\u524D\u9009\u4E2D\u7684\u5730\u56FE\u540D\uFF0C","\u5DE6\u53F3\u5404\u6709\u4E24\u4E2A\u6309\u94AE\uFF0C\u8868\u793A\u540E\u900010\u5C42\u3001\u540E\u90001\u5C42\u3001\u524D\u8FDB1\u5C42\u3001\u524D\u8FDB10\u5C42\uFF0C\u4E0E\u6837\u677F\u7684\u697C\u4F20\u7684\u6309\u94AE\u529F\u80FD\u7C7B\u4F3C\uFF0C\u5BF9\u4E8E\u5C0F\u5730\u56FE\u65E0\u6CD5\u663E\u793A\u7684\u5355\u5C42\uFF0C","\u53EF\u4EE5\u4F7F\u7528\u8BE5\u529F\u80FD\u5230\u8FBE\u3002","<br>","<br>","\u6700\u4E0B\u65B9\u662F\u8BBE\u7F6E\u6309\u94AE\uFF0C\u53EF\u4EE5\u5207\u6362\u65E0\u8FB9\u6846\u6A21\u5F0F\uFF0C\u7535\u8111\u7AEF\u8FD8\u53EF\u4EE5\u5207\u6362\u4F20\u7EDF\u6309\u952E\u6A21\u5F0F\uFF0C\u4F20\u7EDF\u6309\u952E\u6A21\u5F0F\u4E0B\u6309\u952E\u9075\u5FAA\u6837\u677F\u7684\u697C\u4F20\u6309\u952E\u65B9\u5F0F\u3002",'\u5BF9\u4E8E\u975E\u4F20\u7EDF\u6A21\u5F0F\uFF0C<span style="color: gold">\u4E0A\u4E0B\u5DE6\u53F3</span>\u53EF\u4EE5\u79FB\u52A8\u5730\u56FE\uFF0C','<span style="color: gold">PageUp\u548CPageDown</span>\u53EF\u4EE5\u524D\u8FDB1\u5C42\u6216\u540E\u90001\u5C42\u3002']},tools={text:"\u9053\u5177\u680F\u4E0E\u88C5\u5907\u680F",condition:"true",desc:["\u9053\u5177\u680F\u4E0E\u88C5\u5907\u680F\u6253\u5F00\u65F6\u4F1A\u6709\u4E00\u4E2A0.6\u79D2\u7684\u52A8\u753B\uFF0C\u5982\u679C\u4E0D\u60F3\u8981\u53EF\u4EE5\u5728\u5F00\u5934\u6361\u7684\u7CFB\u7EDF\u8BBE\u7F6E\u91CC\u9762\u5173\u95ED\u3002\uFF08\u9ED8\u8BA4\u5173\u95ED\uFF09","<br>","<br>","\u672C\u5854\u7684\u9053\u5177\u680F\u6CA1\u6709\u7279\u522B\u4E4B\u5904\uFF0C\u8FD9\u91CC\u4E0D\u9700\u8981\u8BF4\u660E\u3002\u4E3B\u8981\u662F\u88C5\u5907\u680F\u3002","<br>","<br>","\u672C\u5854\u7684\u88C5\u5907\u680F\u624B\u673A\u548C\u7535\u8111\u7AEF\u4E0D\u540C\uFF0C\u7535\u8111\u7AEF\u6BD4\u624B\u673A\u7AEF\u591A\u4E86\u4E00\u4E2A\u52C7\u58EB\u5C5E\u6027\u7684\u663E\u793A\u3002\u5728\u88C5\u5907\u680F\u7684\u88C5\u5907\u5217\u8868\u680F\uFF0C","\u4E0A\u65B9\u6709\u4E24\u4E2A\u9009\u62E9\u6846\u4E0E\u4E00\u4E2A\u6392\u5E8F\u65B9\u5F0F\u7684\u9009\u9879\u3002\u8FD9\u4E09\u4E2A\u53EF\u4EE5\u7B5B\u9009\u4F60\u62E5\u6709\u7684\u88C5\u5907\u5E76\u8FDB\u884C\u6392\u5E8F\uFF0C\u4ECE\u800C\u8BA9\u4F60\u80FD\u591F\u66F4\u6E05\u695A\u5730\u77E5\u9053\u54EA\u4E2A\u88C5\u5907\u66F4\u5F3A\u3002","\u7B2C\u4E00\u4E2A\u9009\u62E9\u6846\u53EF\u4EE5\u7B5B\u9009\u88C5\u5907\u589E\u52A0\u7684\u5C5E\u6027\uFF0C\u5982\u679C\u88C5\u5907\u4E0D\u589E\u52A0\u9009\u62E9\u7684\u5C5E\u6027\uFF0C\u90A3\u4E48\u4F1A\u4E0D\u663E\u793A\u3002\u7B2C\u4E8C\u4E2A\u9009\u62E9\u6846\u53EF\u4EE5\u7B5B\u9009\u589E\u52A0\u7684\u5C5E\u6027\u7684\u65B9\u5F0F\uFF0C","\u6709\u6570\u503C\u589E\u52A0\u548C\u767E\u5206\u6BD4\u589E\u52A0\u4E24\u79CD\u3002\u5728\u8FD9\u4E2A\u9009\u62E9\u6846\u53F3\u8FB9\u6709\u4E00\u4E2A\u56FE\u6807\uFF0C\u8FD9\u4E2A\u56FE\u6807\u53EF\u4EE5\u6539\u53D8\u6B66\u5668\u7684\u6392\u5E8F\u65B9\u5F0F\uFF0C\u6709\u5347\u5E8F\u548C\u964D\u5E8F\u4E24\u79CD\uFF0C\u9ED8\u8BA4\u4E3A\u5347\u5E8F\u3002","\u4F8B\u5982\uFF0C\u4F60\u62E5\u6709\u4E24\u4E2A\u88C5\u5907\uFF0C\u5206\u522B\u589E\u52A010\u653B\u51FB\u548C20\u653B\u51FB\uFF0C\u4E09\u8005\u4F60\u5206\u522B\u9009\u62E9\u4E86\u653B\u51FB\uFF0C\u6570\u503C\uFF0C\u5347\u5E8F\uFF0C\u90A3\u4E48\u589E\u52A010\u653B\u51FB\u7684\u88C5\u5907\u4F1A\u6392\u5728\u4E0A\u9762\uFF0C","\u800C\u589E\u52A020\u653B\u51FB\u7684\u88C5\u5907\u4F1A\u6392\u5728\u4E0B\u9762\u3002","<br>","<br>","\u5BF9\u4E8E\u7535\u8111\u7AEF\uFF0C\u5982\u679C\u4F60\u60F3\u88C5\u88C5\u5907\uFF0C\u53EF\u4EE5\u76F4\u63A5\u62D6\u52A8\u88C5\u5907\u81F3\u88C5\u5907\u5B54\uFF0C\u4E5F\u53EF\u4EE5\u9009\u4E2D\u88C5\u5907\u540E\u518D\u6B21\u70B9\u51FB\u3002\u624B\u673A\u7AEF\u6682\u65F6\u65E0\u6CD5\u62D6\u52A8\u88C5\u5907\u3002\u5F53\u9009\u4E2D\u4E00\u4E2A\u88C5\u5907\u540E\uFF0C","\u7535\u8111\u7AEF\u548C\u624B\u673A\u7AEF\u5747\u4F1A\u663E\u793A\u88C5\u5907\u589E\u52A0\u6216\u51CF\u5C11\u7684\u5C5E\u6027\uFF0C\u6CE8\u610F\u6709\u7684\u88C5\u5907\u53EF\u80FD\u4E0D\u589E\u52A0\u5C5E\u6027\u4F46\u662F\u6709\u7279\u6B8A\u529F\u80FD\u3002\u5BF9\u4E8E\u7535\u8111\u7AEF\uFF0C","\u8FD8\u4F1A\u76F4\u63A5\u5728\u52C7\u58EB\u5C5E\u6027\u680F\u663E\u793A\u589E\u52A0\u6216\u51CF\u5C11\u7684\u5C5E\u6027\u3002"]},skillTree={text:"\u6280\u80FD\u6811",condition:"flags.chapter > 0",desc:['\u6253\u5F00\u6280\u80FD\u6811\u53EF\u4EE5\u70B9\u51FB\u72B6\u6001\u680F\u7684<span style="color: gold">',"\u6280\u80FD\u6811\u6309\u94AE</span>\uFF08\u5982\u679C\u53D1\u73B0\u6CA1\u6709\u663E\u793A\u53EF\u4EE5\u5C1D\u8BD5\u4E0A\u4E0B\u6EDA\u52A8\u72B6\u6001\u680F\uFF09\uFF0C\u8FD8\u53EF\u4EE5\u6309",'<span style="color: gold">\u5FEB\u6377\u952EJ</span>\u6253\u5F00\u3002',"<br>","<br>","\u6280\u80FD\u6811\u662F\u672C\u5854\u7684\u4E3B\u8981\u73A9\u6CD5\u4E4B\u4E00\u3002\u5B83\u53EF\u4EE5\u8BA9\u4F60\u4F7F\u7528\u667A\u6167\u6765\u5B66\u4E60\u6280\u80FD\uFF0C\u589E\u52A0\u5C5E\u6027\u7B49\u3002\u667A\u6167\u5728\u72B6\u6001\u680F\u663E\u793A\u5728\u9632\u5FA1\u7684\u4E0B\u4E00\u9879\uFF0C","\u7EFF\u5B9D\u77F3\u53EF\u4EE5\u589E\u52A0\u52C7\u58EB\u7684\u667A\u6167\u3002","<br>","<br>","\u6253\u5F00\u6280\u80FD\u6811\u9875\u9762\u540E\uFF0C\u4F60\u53EF\u4EE5\u5728\u4E0A\u65B9\u770B\u5230\u6280\u80FD\u7684\u540D\u79F0\u4E0E\u63CF\u8FF0\uFF0C\u4E0B\u65B9\u4F1A\u663E\u793A\u6280\u80FD\u6811\uFF0C\u4EE5\u53CA\u5347\u7EA7\u8981\u6C42\u7B49\u3002\u70B9\u51FB\u4E00\u4E2A\u6280\u80FD\u53EF\u4EE5\u9009\u4E2D\u6280\u80FD\uFF0C","\u518D\u6B21\u70B9\u51FB\u53EF\u4EE5\u5347\u7EA7\u6280\u80FD\u3002\u6CE8\u610F\uFF0C\u524D\u7F6E\u6280\u80FD\u680F\u53EF\u4EE5\u4E0A\u4E0B\u6EDA\u52A8\uFF0C\u56E0\u6B64\u5982\u679C\u53D1\u73B0\u663E\u793A\u4E0D\u5168\uFF0C\u53EF\u4EE5\u5C1D\u8BD5\u4E0A\u4E0B\u6EDA\u52A8\u524D\u7F6E\u6280\u80FD\u680F","<br>","<br>","\u6CE8\u610F\uFF0C\u6280\u80FD\u5728\u70B9\u5F00\u4E4B\u540E\u662F\u65E0\u6CD5\u53D6\u6D88\u7684\uFF0C\u56E0\u6B64\uFF0C\u52A0\u70B9\u65F6\u8BF7\u614E\u91CD\u52A0\u70B9\u3002\u6CE8\u610F\uFF0C\u90E8\u5206\u6280\u80FD\u662F\u5FC5\u70B9\u6280\u80FD\uFF0C\u8FD9\u4E9B\u6280\u80FD\u4F1A\u5728\u6280\u80FD\u8BF4\u660E\u4E2D\u660E\u786E\u6307\u51FA\uFF0C","\u8FD9\u4E9B\u6280\u80FD\u4E00\u822C\u9700\u8981\u5C3D\u65E9\u70B9\u51FA\u3002"]},study={text:"\u5B66\u4E60",condition:"core.getSkillLevel(11) > 0",desc:["\u672C\u6761\u76EE\u4F1A\u8BE6\u7EC6\u8BF4\u660E\u5B66\u4E60\u7684\u673A\u5236\u4E0E\u6240\u6709\u53EF\u4EE5\u88AB\u5B66\u4E60\u7684\u6280\u80FD\u88AB\u5B66\u4E60\u540E\u7684\u6548\u679C\u3002\u5F53\u524D\u5DF2\u7ECF\u5B66\u4E60\u7684\u6280\u80FD\u4F1A\u4EE5\u4E0E\u72B6\u6001\u680F\u7C7B\u4F3C\u7684\u76D2\u5B50\u5C55\u793A\u51FA\u6765\u3002","<br>","<br>","\u9996\u5148\uFF0C\u5B66\u4E60\u6280\u80FD\u6D88\u8017\u7684\u667A\u6167\u70B9\u4F1A\u8D8A\u6765\u8D8A\u591A\uFF0C\u521D\u59CB\u6D88\u8017\u7684\u667A\u6167\u70B9\u4E3A500\uFF0C\u6BCF\u5B66\u4E60\u4E00\u6B21\u589E\u52A0250\u3002","\u5B66\u4E60\u7684\u6280\u80FD\u53EF\u4EE5\u6301\u7EED5\u573A\u6218\u6597\uFF0C\u5728\u6280\u80FD\u6811\u754C\u9762\u6BCF\u5347\u7EA7\u4E00\u6B21\u589E\u52A03\u573A\uFF0C",'<span style="color: gold">\u5F53\u524D\u4E3A${core.getSkillLevel(11) * 3 + 2}\u573A</span>\u3002',"\u5B66\u4E60\u540E\u5BF9\u5E94\u5C5E\u6027\u7684\u503C\uFF0C\u4F8B\u5982\u62B1\u56E2\u602A\u589E\u52A0\u7684\u5C5E\u6027\u767E\u5206\u6BD4\uFF0C\u4F1A\u4E0E\u88AB\u5B66\u4E60\u7684\u602A\u7269\u76F8\u540C\u3002\u5B66\u4E60\u754C\u9762\u53EF\u4EE5\u4F7F\u7528\u80CC\u5305\u4E2D\u7684\u9053\u5177\u6216\u70B9\u51FB\u72B6\u6001\u680F\u6253\u5F00\u3002","<br>","<br>","\u4E0B\u9762\u4F1A\u8BE6\u7EC6\u8BF4\u660E\u6BCF\u4E00\u79CD\u53EF\u4EE5\u88AB\u5B66\u4E60\u7684\u6280\u80FD\u88AB\u5B66\u4E60\u540E\u7684\u6548\u679C\uFF0C\u6CA1\u6709\u5217\u51FA\u7684\u5747\u4E0D\u53EF\u5B66\u4E60\u3002","<br>","<br>",'<span style="color: #fc3">1. \u81F4\u547D\u4E00\u51FB</span>\uFF1A\u52C7\u58EB\u6BCF5\u56DE\u5408\u5BF9\u602A\u7269\u9020\u6210\u4E00\u6B21\u5F3A\u529B\u653B\u51FB\u3002',"<br>",'<span style="color: #bbb0ff">2. \u6076\u6BD2</span>\uFF1A\u52C7\u58EB\u653B\u51FB\u65E0\u89C6\u602A\u7269\u7684\u9632\u5FA1\u3002',"<br>",'<span style="color: #c0b088">3. \u575A\u56FA</span>\uFF1A\u52C7\u58EB\u9632\u5FA1\u4E0D\u4F4E\u4E8E\u602A\u7269\u7684\u653B\u51FB-1\u3002',"<br>",'<span style="color: #fe7">4. n\u8FDE\u51FB</span>\uFF1A\u52C7\u58EB\u6BCF\u56DE\u5408\u653B\u51FBn\u6B21',"<br>",'<span style="color: #b30000">5. \u9965\u6E34</span>\uFF1A\u52C7\u58EB\u5728\u6218\u524D\u5438\u53D6\u602A\u7269\u4E00\u5B9A\u91CF\u7684\u653B\u51FB\u52A0\u8F7D\u81EA\u5DF1\u8EAB\u4E0A\uFF0C',"\u540C\u65F6\u51CF\u5C11\u602A\u7269\u76F8\u5E94\u91CF\u7684\u653B\u51FB\uFF0C\u4F18\u5148\u4E8E\u602A\u7269\u3002","<br>",'<span style="color: #fa4">6. \u62B1\u56E2</span>\uFF1A\u52C7\u58EB\u5468\u56F4\u6BCF\u6709\u4E00\u4E2A\u62E5\u6709\u62B1\u56E2\u5C5E\u6027\u7684\u602A\u7269\uFF0C\u52C7\u58EB\u7684\u5C5E\u6027\u4FBF\u589E\u52A0\u4E00\u5B9A\u503C\u3002',"\u76F8\u5E94\u5730\uFF0C\u62E5\u6709\u62B1\u56E2\u5C5E\u6027\u7684\u602A\u7269\u4E5F\u4F1A\u53D7\u5230\u52C7\u58EB\u7684\u52A0\u6210\u3002","<br>",'<span style="color: #b0c0dd">7. \u52C7\u6C14\u4E4B\u5203</span>\uFF1A\u52C7\u58EB\u7B2C\u4E00\u56DE\u5408\u9020\u6210\u4E00\u5B9A\u91CF\u7684\u4F24\u5BB3\uFF0C\u4E4B\u540E\u6B63\u5E38\u3002',"<br>",'<span style="color: #ff00d2">8. \u52C7\u6C14\u51B2\u950B</span>\uFF1A\u52C7\u58EB\u9996\u5148\u53D1\u52A8\u51B2\u950B\uFF0C\u9020\u6210\u4E00\u5B9A\u91CF\u7684\u4F24\u5BB3\uFF0C\u7729\u6655\u602A\u72695\u56DE\u5408\u3002',"\u5B66\u4E60\u8BE5\u6280\u80FD\u540E\uFF0C\u52C7\u58EB\u65E0\u6761\u4EF6\u5148\u624B\u3002","<br>",'<span style="color: #bbb0ff">9. \u9B54\u653B</span>\uFF1A\u52C7\u58EB\u653B\u51FB\u65E0\u89C6\u602A\u7269\u7684\u9632\u5FA1\u3002',"<br>",'<span style="color: #b0b666">10. \u5148\u653B</span>\uFF1A\u52C7\u58EB\u65E0\u6761\u4EF6\u5148\u624B\u3002']},special1={text:"\u7B2C\u4E00\u7AE0\u602A\u7269\u7279\u6280",condition:"flags.chapter > 0",desc:["\u8FD9\u91CC\u4F1A\u5C55\u793A\u7B2C\u4E00\u7AE0\u7684\u602A\u7269\u4E2D\u9700\u8981\u7279\u522B\u8BF4\u660E\u7684\u602A\u7269\u7279\u6280\u3002","<br>","<br>",'<span style="color: #c0b088">1. \u575A\u56FA</span>\uFF1A',"\u5728\u672C\u5854\u4E2D\uFF0C\u989D\u5916\u653B\u51FB\u53EF\u4EE5\u5BF9\u575A\u56FA\u602A\u9020\u6210\u989D\u5916\u4F24\u5BB3\u3002","<br>","<br>",'<span style="color: #80eed6">2. \u7EDD\u5BF9\u9632\u5FA1</span>\uFF1A',"\u8BE5\u602A\u7269\u4E00\u822C\u53EF\u4EE5\u7528\u4E8E\u5237\u8840\u3002\u8BE5\u602A\u7269\u53EF\u4EE5\u4F7F\u4F60\u6BCF\u56DE\u5408\u5BF9\u602A\u7269\u9020\u6210\u7684\u4F24\u5BB3\u6070\u597D\u4E3A1\uFF0C\u5BFC\u81F4\u6218\u6597\u56DE\u5408\u6570\u5F88\u9AD8\uFF0C\u56E0\u6B64\u53EF\u4EE5\u5237\u8840\u3002","<br>","<br>",'<span style="color: #fc3">3. \u81F4\u547D\u4E00\u51FB\u3001\u52C7\u6C14\u4E4B\u5203\u3001\u52C7\u6C14\u51B2\u950B</span>\uFF1A',"\u9020\u6210\u7684\u4F24\u5BB3\u4E3A\u602A\u7269\u6BCF\u56DE\u5408\u5BF9\u52C7\u58EB\u7684\u4F24\u5BB3\u7684\u4E00\u5B9A\u500D\u6570\uFF0C\u800C\u975E\u653B\u51FB\u63D0\u9AD8\u4E00\u5B9A\u500D\u6570\u3002"]},special2={text:"\u7B2C\u4E8C\u7AE0\u602A\u7269\u7279\u6280",condition:"flags.chapter > 1",desc:["\u8FD9\u91CC\u4F1A\u5C55\u793A\u7B2C\u4E8C\u7AE0\u7684\u602A\u7269\u4E2D\u9700\u8981\u7279\u522B\u8BF4\u660E\u7684\u602A\u7269\u7279\u6280\u3002","<br>","<br>",'<span style="color: #f66">1. \u7535\u6447\u5632\u8BBD</span>\uFF1A',"\u8BE5\u7279\u6280\u4F1A\u649E\u788E\u8DEF\u4E0A\u7684\u6240\u6709\u5730\u5F62\u548C\u95E8\uFF0C\u4E0D\u9700\u8981\u6D88\u8017\u94A5\u5319\uFF0C\u62FE\u53D6\u8DEF\u4E0A\u7684\u6240\u6709\u9053\u5177\uFF0C\u4E0E\u8DEF\u4E0A\u7684\u602A\u7269\u6218\u6597\uFF0C\u6700\u540E\u4E0E\u8BE5\u602A\u7269\u6218\u6597\u3002","\u5982\u679C\u602A\u7269\u6240\u5728\u4F4D\u7F6E\u53EF\u4EE5\u88AB\u5632\u8BBD\uFF0C\u90A3\u4E48\u52C7\u58EB\u4F1A\u88AB\u7EE7\u7EED\u5632\u8BBD\u3002\u5982\u679C\u5728\u88AB\u5632\u8BBD\u7684\u8DEF\u4E0A\u53EF\u4EE5\u88AB\u5176\u4ED6\u602A\u7269\u5632\u8BBD\uFF0C\u5219\u4E0D\u4F1A\u89E6\u53D1\u3002","\u5982\u679C\u4E00\u4E2A\u70B9\u53EF\u4EE5\u88AB\u591A\u4E2A\u602A\u7269\u5632\u8BBD\uFF0C\u90A3\u4E48\u4F1A\u4F18\u5148\u9009\u62E9\u6700\u9760\u5DE6\u4E0A\u89D2\u7684\u602A\u7269\u3002",'<span style="color: gold">\u5728\u88AB\u5632\u8BBD\u4E4B\u524D\u4F1A\u81EA\u52A8\u5B58\u6863\u3002</span>',"<br>","<br>",'<span style="color: #d8a">2. \u6C38\u591C</span>\u3001<span style="color: #ffd">\u6781\u663C</span>\uFF1A',"\u6218\u6597\u540E\u4F1A\u5728\u672C\u697C\u5C42\u4E2D\u52A0\u51CF\u602A\u7269\u4E0E\u52C7\u58EB\u7684\u653B\u9632\uFF0C\u6BCF\u4E2A\u697C\u5C42\u4F1A\u5355\u72EC\u5B58\u50A8\u3002\u4F8B\u5982\u4F60\u57281\u697C\u5C42\u589E\u52A0\u4E86100\u70B9\u653B\u51FB\uFF0C2\u697C\u5C42\u51CF\u5C11\u4E86100\u70B9\u653B\u51FB\uFF0C","\u90A3\u4E48\u5F53\u4F60\u4ECE2\u697C\u5C42\u52301\u697C\u5C42\u65F6\uFF0C\u653B\u51FB\u4F1A\u589E\u52A0200\u70B9\uFF0C\u53CD\u4E4B\u4EA6\u7136\u3002\u6CE8\u610F\u8FD9\u91CC\u6CA1\u6709\u8BA1\u7B97buff\u3002"]},desc={tip,about,tutorial,noun,shortcut,extraAttr,statusBar,markEnemy,book,fly,tools,skillTree,study,special1,special2},_hoisted_1$e={id:"desc-list"},_hoisted_2$b=["selected","show","onClick"],_hoisted_3$b={key:0},_hoisted_4$9=["innerHTML"],_sfc_main$e=defineComponent({__name:"desc",setup(__props){const selected=ref(Object.keys(desc)[0]);function exit(){core.plugin.descOpened.value=!1}const content=computed(()=>eval("`"+splitText(desc[selected.value].desc)+"`"));function click(key){!eval(desc[key].condition)||(selected.value=key)}function show(condition){return eval(condition)}return(e,t)=>(openBlock(),createBlock(Column,{onClose:exit,width:80,height:80,left:30,right:70},{left:withCtx(()=>[createBaseVNode("div",_hoisted_1$e,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(desc),(o,a)=>(openBlock(),createElementBlock("div",{class:"selectable desc-item",selected:selected.value===a,show:show(o.condition),onClick:n=>click(a)},[show(o.condition)?(openBlock(),createElementBlock("span",_hoisted_3$b,toDisplayString(o.text),1)):createCommentVNode("",!0)],8,_hoisted_2$b))),256))])]),right:withCtx(()=>[createBaseVNode("span",{innerHTML:unref(content)},null,8,_hoisted_4$9)]),_:1}))}}),desc_vue_vue_type_style_index_0_scoped_bcbf0734_lang="",Desc=_export_sfc(_sfc_main$e,[["__scopeId","data-v-bcbf0734"]]),none={text:"\u65E0",opened:"true",desc:["\u5F53\u524D\u672A\u9009\u62E9\u6280\u80FD"]},blade={text:"1\uFF1A\u65AD\u706D\u4E4B\u5203",opened:"core.getSkillLevel(2) > 0",desc:['<span style="color: gold">\u5FEB\u6377\u952E1</span>\uFF0C\u5F00\u542F\u540E\u52C7\u58EB\u653B\u51FB\u589E\u52A0${level:2 * 10}%\uFF0C',"\u540C\u65F6\u9632\u5FA1\u51CF\u5C11${level:2 * 10}%\u3002","<br>","<br>","\u5F53\u524D\u7B49\u7EA7\uFF1A${level:2}"]},jump={text:"2\uFF1A\u8DF3\u8DC3",opened:"flags.skill2 === true",desc:['<span style="color: gold">\u5FEB\u6377\u952E2</span>\uFF0C\u6D88\u8017200\u70B9\u751F\u547D\u503C\uFF0C\u56F0\u96BE\u6D88\u8017400\u70B9\uFF0C\u4E00\u4E2A\u5730\u56FE\u53EA\u80FD\u4F7F\u75283\u6B21\uFF0C',"\u5982\u679C\u524D\u65B9\u4E3A\u53EF\u901A\u884C\u7684\u5730\u9762\uFF0C\u5219\u4E0D\u80FD\u4F7F\u7528\u8BE5\u6280\u80FD\uFF0C\u5982\u679C\u524D\u65B9\u4E3A\u602A\u7269\uFF0C\u5219\u5C06\u602A\u7269\u79FB\u81F3\u52C7\u58EB\u89C6\u7EBF\u4E0A\u7B2C\u4E00\u4E2A\u4E0D\u80FD\u901A\u884C\u7684\u65B9\u5757\u540E","\u5982\u679C\u524D\u65B9\u4E3A\u969C\u788D\u7269\uFF0C\u5219\u76F4\u63A5\u8DF3\u5230\u8BE5\u969C\u788D\u7269\u7684\u540E\u65B9\u3002","<br>","<br>","\u8FDB\u5165\u7B2C\u4E8C\u7AE0\u540E\u4E0D\u518D\u6D88\u8017\u751F\u547D\u503C\u3002"]},shield={text:"3\uFF1A\u94F8\u5251\u4E3A\u76FE",opened:"core.getSkillLevel(10) > 0",desc:['<span style="color: gold">\u5FEB\u6377\u952E3</span>\uFF0C\u5F00\u542F\u540E\u52C7\u58EB\u9632\u5FA1\u589E\u52A0${level:10 * 10}%\uFF0C',"\u540C\u65F6\u653B\u51FB\u51CF\u5C11${level:10 * 10}%\u3002","<br>","<br>","\u5F53\u524D\u7B49\u7EA7\uFF1A${level:10}"]},skills={none,blade,jump,shield},_hoisted_1$d={id:"skill-list"},_hoisted_2$a=["selected","selectable","onClick"],_hoisted_3$a=["innerHTML"],_sfc_main$d=defineComponent({__name:"skill",setup(__props){const selected=ref("none");function skillOpened(skill){return eval(skills[skill].opened)}function select(e){!skillOpened(e)||(selected.value=e)}const content=computed(()=>eval("`"+skills[selected.value].desc.map((e,t,o)=>/^\d+\./.test(e)?`${" ".repeat(12)}${e}`:has(o[t-1])&&e!=="<br>"&&o[t-1]==="<br>"||t===0?`${" ".repeat(8)}${e}`:e).join("").replace(/level:(\d+)/g,"core.getSkillLevel($1)")+"`"));function exit(){core.plugin.skillOpened.value=!1}return(e,t)=>(openBlock(),createBlock(Column,{onClose:exit,width:70,height:70},{left:withCtx(()=>[createBaseVNode("div",_hoisted_1$d,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(skills),(o,a)=>(openBlock(),createElementBlock("span",{class:"selectable skill-item",selected:a===selected.value,selectable:skillOpened(a),onClick:n=>select(a)},toDisplayString(o.text),9,_hoisted_2$a))),256))])]),right:withCtx(()=>[createBaseVNode("span",{innerHTML:unref(content)},null,8,_hoisted_3$a)]),_:1}))}}),skill_vue_vue_type_style_index_0_scoped_9f619ff1_lang="",Skill=_export_sfc(_sfc_main$d,[["__scopeId","data-v-9f619ff1"]]),_withScopeId$5=e=>(pushScopeId("data-v-b1be4e88"),e=e(),popScopeId(),e),_hoisted_1$c={id:"skill-tree"},_hoisted_2$9={id:"tools"},_hoisted_3$9={id:"skill-title"},_hoisted_4$8={id:"skill-info"},_hoisted_5$7=["innerHTML"],_hoisted_6$6={id:"skill-effect"},_hoisted_7$6=["innerHTML"],_hoisted_8$5=["innerHTML"],_hoisted_9$5={id:"skill-bottom"},_hoisted_10$5=_withScopeId$5(()=>createBaseVNode("canvas",{id:"skill-canvas"},null,-1)),_hoisted_11$5={id:"skill-upgrade-info"},_hoisted_12$3={id:"skill-level"},_hoisted_13$3={key:1,id:"skill-consume",style:{color:"gold"}},_hoisted_14$3={id:"skill-front"},_hoisted_15$2=_withScopeId$5(()=>createBaseVNode("span",null,"\u524D\u7F6E\u6280\u80FD",-1)),_hoisted_16$2={id:"skill-chapter"},_sfc_main$c=defineComponent({__name:"skillTree",setup(__props){var e;let canvas,ctx;const selected=ref(0),chapter=ref("chapter1"),update=ref(!1),chapterDict={chapter1:"\u7B2C\u4E00\u7AE0",chapter2:"\u7B2C\u4E8C\u7AE0"};(e=flags.skillTree)!=null||(flags.skillTree=0);const chapterList=Object.keys(core.plugin.skills);selected.value=core.plugin.skills[chapterList[flags.skillTree]][0].index,chapter.value=chapterList[flags.skillTree],watch(selected,draw),watch(update,()=>mdef.value=core.status.hero.mdef);const mdef=ref(core.status.hero.mdef),skill=computed(()=>(update.value,core.getSkillFromIndex(selected.value))),skills=computed(()=>core.plugin.skills[chapter.value]),desc=computed(()=>eval("`"+splitText(skill.value.desc).replace(/level(:\d+)?/g,(t,o)=>o?`core.getSkillLevel(${o})`:`core.getSkillLevel(${skill.value.index})`)+"`")),effect=computed(()=>[0,1].map(v=>eval(`\`${v===0?"\u5F53\u524D\u6548\u679C\uFF1A":"\u4E0B\u4E00\u7EA7\u6548\u679C\uFF1A"}`+skill.value.effect.join("").replace(/level(:\d+)?/g,(t,o)=>o?`(core.getSkillLevel(${o}) + ${v})`:`(core.getSkillLevel(${skill.value.index}) + ${v})`)+"`"))),dict=computed(()=>{const t={};return skills.value.forEach((a,n)=>{t[a.index]=n}),t}),front=computed(()=>skill.value.front.map(t=>`${core.getSkillLevel(t[0])>=t[1]?"a":"b"}${t[1]}\u7EA7 ${skills.value[dict.value[t[0]]].title}`)),consume=computed(()=>(update.value,core.getSkillConsume(selected.value))),level=computed(()=>(update.value,core.getSkillLevel(selected.value)));function exit(){core.plugin.skillTreeOpened.value=!1}function resize(){const t=getComputedStyle(canvas);canvas.width=parseFloat(t.width)*devicePixelRatio,canvas.height=parseFloat(t.height)*devicePixelRatio}function draw(){const t=dict.value,a=canvas.width/11;ctx.clearRect(0,0,canvas.width,canvas.height),skills.value.forEach(n=>{const[s,i]=n.loc.map(r=>r*2-1);n.front.forEach(([r],d)=>{const c=skills.value[t[r]];ctx.beginPath(),ctx.moveTo(s*a+a/2,i*a+a/2),ctx.lineTo(...c.loc.map(_=>(_*2-1)*a+a/2)),core.getSkillLevel(c.index)<n.front[d][1]?ctx.strokeStyle="#aaa":core.getSkillLevel(c.index)===c.max?ctx.strokeStyle="#ff0":ctx.strokeStyle="#0f8",ctx.lineWidth=devicePixelRatio,ctx.stroke()})}),skills.value.forEach(n=>{const[s,i]=n.loc.map(c=>c*2-1),r=core.getSkillLevel(n.index);ctx.save(),ctx.lineWidth=a*.06,selected.value===n.index?(ctx.strokeStyle="#ff0",ctx.lineWidth*=2):r===0?ctx.strokeStyle="#888":r===n.max?ctx.strokeStyle="#F7FF68":ctx.strokeStyle="#00FF69",ctx.strokeRect(s*a,i*a,a,a);const d=core.material.images.images[`skill${n.index}.png`];ctx.drawImage(d,s*a,i*a,a,a),selected.value===n.index&&(ctx.fillStyle="#ff04",ctx.fillRect(s*a,i*a,a,a)),ctx.restore()})}function click(t){const o=t.offsetX,a=t.offsetY,s=canvas.width/devicePixelRatio/11,i=Math.floor(o/s),r=Math.floor(a/s);if(i%2!==1||r%2!==1)return;const d=Math.floor(i/2)+1,c=Math.floor(r/2)+1,_=skills.value.find(u=>u.loc[0]===d&&u.loc[1]===c);!_||(selected.value!==_.index?selected.value=_.index:upgrade(_.index))}function upgrade(t){core.upgradeSkill(t)?(tip$1("success","\u5347\u7EA7\u6210\u529F\uFF01"),update.value=!update.value,core.status.route.push(`skill:${selected.value}`)):tip$1("error","\u5347\u7EA7\u5931\u8D25\uFF01")}function key(t){const o=keycode(t.keyCode);(o===KeyCode.Escape||o===KeyCode.KeyX||o===KeyCode.KeyJ)&&exit(),(o===KeyCode.Space||o===KeyCode.Enter||o===KeyCode.KeyC)&&upgrade(selected.value)}onMounted(async()=>{canvas=document.getElementById("skill-canvas"),ctx=canvas.getContext("2d"),resize(),draw(),await S(50),core.plugin.transition.value&&await S(600),canvas.addEventListener("click",click),document.addEventListener("keyup",key)}),onUnmounted(()=>{document.removeEventListener("keyup",key)});function selectChapter(t){const a=chapterList.indexOf(chapter.value)+t;has(chapterList[a])&&flags.chapter>a&&(selected.value=core.plugin.skills[chapterList[a]][0].index,chapter.value=chapterList[a],update.value=!update.value,flags.skillTree=a,draw())}return(t,o)=>{const a=__unplugin_components_0;return openBlock(),createElementBlock("div",_hoisted_1$c,[createBaseVNode("div",_hoisted_2$9,[createBaseVNode("span",{id:"back",class:"button-text tools",onClick:exit},[createVNode(unref(LeftOutlined)),createTextVNode("\u8FD4\u56DE\u6E38\u620F")])]),createBaseVNode("span",_hoisted_3$9,toDisplayString(unref(skill).title),1),createVNode(a,{dashed:"",style:{"border-color":"#ddd4"},id:"divider"}),createBaseVNode("div",_hoisted_4$8,[createVNode(Scroll,{id:"skill-desc","no-scroll":!0},{default:withCtx(()=>[createBaseVNode("span",{innerHTML:unref(desc)},null,8,_hoisted_5$7)]),_:1}),createBaseVNode("div",_hoisted_6$6,[unref(level)>0?(openBlock(),createElementBlock("span",{key:0,innerHTML:unref(effect)[0]},null,8,_hoisted_7$6)):createCommentVNode("",!0),unref(level)<unref(skill).max?(openBlock(),createElementBlock("span",{key:1,innerHTML:unref(effect)[1]},null,8,_hoisted_8$5)):createCommentVNode("",!0)])]),createVNode(a,{dashed:"",style:{"border-color":"#ddd4"},id:"divider-split"}),createBaseVNode("div",_hoisted_9$5,[_hoisted_10$5,createVNode(a,{dashed:"",style:{"border-color":"#ddd4"},type:unref(isMobile)?"horizontal":"vertical",id:"divider-vertical"},null,8,["type"]),createBaseVNode("div",_hoisted_11$5,[createBaseVNode("span",_hoisted_12$3,"\u5F53\u524D\u7B49\u7EA7\uFF1A"+toDisplayString(unref(level))+" / "+toDisplayString(unref(skill).max),1),createVNode(a,{dashed:"",class:"upgrade-divider"}),unref(level)<unref(skill).max?(openBlock(),createElementBlock("span",{key:0,id:"skill-consume",style:normalizeStyle({color:unref(consume)<=mdef.value?"#fff":"#f44"})},"\u5347\u7EA7\u82B1\u8D39\uFF1A"+toDisplayString(unref(consume)),5)):(openBlock(),createElementBlock("span",_hoisted_13$3,"\u5DF2\u6EE1\u7EA7")),createVNode(a,{dashed:"",class:"upgrade-divider"}),createVNode(Scroll,{id:"front-scroll","no-scroll":!0},{default:withCtx(()=>[createBaseVNode("div",_hoisted_14$3,[_hoisted_15$2,(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(front),n=>(openBlock(),createElementBlock("span",{style:normalizeStyle({color:n.startsWith("a")?"#fff":"#f44"})},toDisplayString(n.slice(1)),5))),256))])]),_:1}),createVNode(a,{dashed:"",class:"upgrade-divider"}),createBaseVNode("div",_hoisted_16$2,[createBaseVNode("span",{class:"button-text",onClick:o[0]||(o[0]=n=>selectChapter(-1))},[createVNode(unref(LeftOutlined))]),createTextVNode(" \xA0\xA0 "),createBaseVNode("span",null,toDisplayString(chapterDict[chapter.value]),1),createTextVNode(" \xA0\xA0 "),createBaseVNode("span",{class:"button-text",onClick:o[1]||(o[1]=n=>selectChapter(1))},[createVNode(unref(RightOutlined))])])])])])}}}),skillTree_vue_vue_type_style_index_0_scoped_b1be4e88_lang="",SkillTree=_export_sfc(_sfc_main$c,[["__scopeId","data-v-b1be4e88"]]),index="";function init$8(){return{splitArea,getMapDrawData}}let area={};const bfsCache={},drawCache={},arrow={leftPortal:"left",rightPortal:"right",upPortal:"up",downPortal:"down"};function splitArea(){area={};const e=[];for(const t of core.floorIds){if(e.includes(t)||core.status.maps[t].deleted)continue;const o=getMapData(t,!0);if(e.push(...o.maps),o.maps.length>1){const a=core.status.maps[t].title;area[a]=o.maps}}}function getArea(){return area}function getMapDrawData(e,t=5,o=1,a=!1){var m;const n=`${e},${t},${o}`;if(drawCache[n]&&!a)return drawCache[n];const{link:s,maps:i}=getMapData(e,a),r={},d=[],c=core.status.maps[e];let _=-c.width/2,u=c.width/2,l=-c.height/2,p=c.height/2;for(const[h,g]of Object.entries(s)){const[y,$,D,b]=h.split(","),[E,w,x]=g.split(","),L=core.status.maps[y],T=core.status.maps[E],M=parseInt($),U=parseInt(D),N=parseInt(w),q=parseInt(x),H=L.width,W=L.height,Q=T.width,te=T.height;(m=r[y])!=null||(r[y]=[0,0]);const[ae,I]=r[y];if(!r[E]){const oe=core.utils.scan[b].x,ce=core.utils.scan[b].y,ue=ae+(M-H/2)-(N-Q/2)+(o*2+t)*oe,se=I+(U-W/2)-(q-te/2)+(o*2+t)*ce;r[E]=[ue,se]}const[F,z]=r[E];d.push([ae+(M-H/2+.5),I+(U-W/2+.5),F+(N-Q/2+.5),z+(q-te/2+.5)]);const X=F-Q/2,J=F+Q/2,ee=z-te/2,G=z+te/2;X<_&&(_=X),J>u&&(u=J),ee<l&&(l=ee),G>p&&(p=G)}Object.values(r).forEach(h=>{h[0]-=_,h[1]-=l}),d.forEach(h=>{h[0]-=_,h[2]-=_,h[1]-=l,h[3]-=l}),_-=5,u+=5,l-=5,p+=5;const f={locs:r,line:d,width:u-_,height:p-l};return drawCache[n]=f}function getMapData(e,t=!1){if(has(bfsCache[e])&&!t)return bfsCache[e];const o=[e],a={[e]:!0},n=[e],s={};for(;o.length>0;){const r=o.shift(),d=core.floors[r].changeFloor,c=core.getMapBlocksObj(r,t);for(const[_,u]of Object.entries(d)){const l=u.floorId;if(l.startsWith(":"))continue;const f=c[_].event.id;if(f in arrow&&!a[l]){const m=`${r},${_},${arrow[f]}`,h=`${l},${u.loc[0]},${u.loc[1]}`;s[m]=h,o.push(l),n.push(l)}}a[r]=!0}const i={maps:n,link:s};return bfsCache[e]=i}const _withScopeId$4=e=>(pushScopeId("data-v-daeed431"),e=e(),popScopeId(),e),_hoisted_1$b={id:"fly"},_hoisted_2$8={id:"tools"},_hoisted_3$8={id:"fly-settings"},_hoisted_4$7={id:"fly-border"},_hoisted_5$6=_withScopeId$4(()=>createBaseVNode("span",null,"\u65E0\u8FB9\u6846\u6A21\u5F0F",-1)),_hoisted_6$5={key:0,id:"fly-tradition"},_hoisted_7$5=_withScopeId$4(()=>createBaseVNode("span",null,"\u4F20\u7EDF\u6309\u952E\u6A21\u5F0F",-1)),_hoisted_8$4={id:"fly-main"},_hoisted_9$4={id:"fly-left"},_hoisted_10$4={id:"area-list"},_hoisted_11$4=["selected","onClick"],_hoisted_12$2={id:"fly-right"},_hoisted_13$2={id:"fly-tools"},_hoisted_14$2={id:"fly-now"},_sfc_main$b=defineComponent({__name:"fly",setup(e){var he;const t=getArea(),o=ref((he=Object.keys(t).find(k=>t[k].includes(core.status.floorId)))!=null?he:""),a=ref(core.status.floorId),n=ref(!0),s=ref(!1);let i=isMobile?1.5:3,r=0,d=0,c={},_={};n.value=core.getLocalStorage("noBorder",!0),s.value=core.getLocalStorage("flyTradition",!1);const u=computed(()=>core.status.maps[a.value]);watch(a,U),watch(o,k=>{var B;r=0,d=0,i=3,H=3,t[k]&&!t[k].includes(a.value)&&(a.value=(B=t[k].find(A=>A===core.status.floorId))!=null?B:t[k][0])}),watch(n,k=>{core.setLocalStorage("noBorder",k),c={},b()}),watch(s,k=>{core.setLocalStorage("flyTradition",k)});const l=document.createElement("canvas"),p=l.getContext("2d");let f,m,h,g,y=!1;function $(){core.plugin.flyOpened.value=!1}const D=computed(()=>core.status.maps[a.value].title);function b(k=!1){const B=n.value?.5:1,A=getMapDrawData(a.value,n.value?0:5,B,k),P=p,V=i*devicePixelRatio;l.width=A.width*V,l.height=A.height*V,P.lineWidth=B*devicePixelRatio/2,P.strokeStyle="#fff",P.scale(V,V),P.translate(5,5),n.value||A.line.forEach(([K,le,ne,fe])=>{P.beginPath(),P.moveTo(K,le),P.lineTo(ne,fe),P.stroke()});for(const[K,[le,ne]]of Object.entries(A.locs))n.value||E(K,le,ne),L(K,le,ne);w()}function E(k,B,A){const P=n.value?.5:1,V=p;V.lineWidth=P*devicePixelRatio;const K=core.status.maps[k];core.hasVisitedFloor(k)?V.fillStyle="#000":V.fillStyle="#d0d",k===a.value?V.strokeStyle="gold":V.strokeStyle="#fff",V.strokeRect(B-K.width/2,A-K.height/2,K.width,K.height),V.fillRect(B-K.width/2,A-K.height/2,K.width,K.height),k===a.value&&(V.fillStyle="#ff04",V.fillRect(B-K.width/2,A-K.height/2,K.width,K.height))}function w(k=1){m.clearRect(0,0,f.width,f.height),m.drawImage(l,0,0,l.width,l.height,r*devicePixelRatio+(f.width-l.width)/2,d*devicePixelRatio+(f.height-l.height)/2,l.width,l.height)}function x(k,B,A){const P=core.status.maps[k],V=i*devicePixelRatio,K=r*devicePixelRatio+(f.width-l.width)/2+5*V,le=d*devicePixelRatio+(f.height-l.height)/2+5*V,ne=K+(B-P.width/2)*V,fe=le+(A-P.height/2)*V,_e=ne+P.width*V,me=fe+P.height*V;return _[k]=[ne,fe,_e,me],!(c[k]||!n.value&&i<=4||_e<0||me<0||ne>f.width||fe>f.height)}function L(k,B,A,P=!1){if(!y&&!P&&!x(k,B,A))return;const V=core.status.maps[k];c[k]=!0;const K=p;core.drawThumbnail(k,void 0,{all:!0,inFlyMap:!0,x:B-V.width/2,y:A-V.height/2,w:V.width,h:V.height,ctx:K,damage:i>7}),y||(core.hasVisitedFloor(k)||(K.fillStyle="#d0d6",K.fillRect(B-V.width/2,A-V.height/2,V.width,V.height),K.fillStyle="#000"),a.value===k&&(K.fillStyle="#ff04",K.fillRect(B-V.width/2,A-V.height/2,V.width,V.height),K.fillStyle="#000"))}function T(){const k=n.value?.5:1,B=getMapDrawData(a.value,n.value?0:5,k);for(const[A,[P,V]]of Object.entries(B.locs))x(A,P,V)&&L(A,P,V,!0)}function M(){let k=h.width,B=h.height,A=0,P=0;const V=u.value.width/u.value.height;V>1&&(B=k/V,P=h.height/2-B/2),V<1&&(k=B*V,A=h.width/2-k/2),g.fillStyle="#000",g.fillRect(0,0,h.width,h.height),core.drawThumbnail(a.value,void 0,{ctx:g,all:!0,damage:!0,inFlyMap:!0,x:A,y:P,w:k,h:B})}function U(){c={},_={},b(),M()}function N(){if(o.value===""){tip$1("error","\u5F53\u524D\u5730\u56FE\u4E0D\u5728\u4EFB\u610F\u4E00\u4E2A\u533A\u57DF\u5185\uFF01");return}y=!0;const k=i;i=32,b(),downloadCanvasImage(l,o.value),i=k,y=!1,U(),tip$1("success","\u56FE\u7247\u4E0B\u8F7D\u6210\u529F\uFF01")}function q(){core.flyTo(a.value)?$():tip$1("error",`\u65E0\u6CD5\u98DE\u5F80${u.value.title}`)}let H=i;const W=lodash.exports.debounce(k=>{f.style.transform="",c={},b(),H=k},200);function Q(k){r*=k,d*=k,i=k*i,W(i),f.style.transform=`scale(${i/H})`,_={}}let te=0,ae=0,I=!1,F=0,z=0;function X(k,B){if(se)return;const A=k-te,P=B-ae;r+=A,d+=P,te=k,ae=B,T(),w(),(Math.abs(k-F)>10||Math.abs(B-z)>10)&&(I=!0)}function J(k){if(I)return;const B=k.offsetX*devicePixelRatio,A=k.offsetY*devicePixelRatio;for(const[P,[V,K,le,ne]]of Object.entries(_))B>=V&&B<=le&&A>=K&&A<=ne&&(P===a.value?q():a.value=P)}function ee(k){o.value=Object.keys(t).find(B=>t[B].includes(k))}function G(k){const B=core.floorIds.indexOf(a.value);let A=B+k;A<0&&(A=0),A>=core.floorIds.length&&(A=core.floorIds.length-1);const P=core.status.maps[core.floorIds[A]];if(P.deleted||P.forceDelete)for(;A!==B;){A+=Math.sign(k);const V=core.status.maps[core.floorIds[A]];if(!V.cannotViewMap&&(!V.deleted&&!V.forceDelete||A<0||A>=core.floorIds.length))break}a.value=core.floorIds[A],ee(a.value),ce(a.value)}function oe(k){const B=getMapData(a.value);for(const[A,P]of Object.entries(B.link)){if(!A.startsWith(a.value))continue;if(A.split(",")[3]===k){const K=P.split(",")[0];ce(K),a.value=K;return}}}function ce(k){const B=getMapDrawData(k,n.value?0:5,n.value?.5:1);if(!B.locs[k])return;const[A,P]=B.locs[k];r=(-A+B.width/2-5)*i,d=(-P+B.height/2-5)*i}function ue(k){const B=keycode(k.keyCode);(B===KeyCode.Enter||B===KeyCode.Space||B===KeyCode.KeyC)&&q(),(B===KeyCode.Escape||B===KeyCode.KeyX||B===KeyCode.KeyG)&&$(),s.value?(B===KeyCode.UpArrow&&G(1),B===KeyCode.DownArrow&&G(-1),B===KeyCode.LeftArrow&&G(-10),B===KeyCode.RightArrow&&G(10),B===KeyCode.PageUp&&G(10),B===KeyCode.PageDown&&G(-10)):(B===KeyCode.LeftArrow&&oe("left"),B===KeyCode.RightArrow&&oe("right"),B===KeyCode.UpArrow&&oe("up"),B===KeyCode.DownArrow&&oe("down"),B===KeyCode.PageUp&&G(1),B===KeyCode.PageDown&&G(-1))}let se=!1,Z=0;function ie(k){k.touches.length>=2&&(se=!0,Z=Math.sqrt((k.touches[0].clientX-k.touches[1].clientX)**2+(k.touches[0].clientY-k.touches[1].clientY)**2))}function re(k){k.touches.length<2&&(se=!1)}function pe(k){if(!se)return;const B=Math.sqrt((k.touches[0].clientX-k.touches[1].clientX)**2+(k.touches[0].clientY-k.touches[1].clientY)**2);Q(B/Z),Z=B}return onMounted(async()=>{f=document.getElementById("fly-map"),m=f.getContext("2d"),h=document.getElementById("fly-thumbnail"),g=h.getContext("2d");const k=getComputedStyle(f),B=getComputedStyle(h);f.width=parseFloat(k.width)*devicePixelRatio,f.height=parseFloat(k.height)*devicePixelRatio,h.width=parseFloat(B.width)*devicePixelRatio,h.height=parseFloat(B.width)*devicePixelRatio,Array.from(document.getElementsByClassName("fly-settings")).forEach(A=>{A.addEventListener("click",P=>A.blur())}),ce(a.value),U(),useDrag(f,X,(A,P)=>{te=A,ae=P,F=A,z=P},()=>{setTimeout(()=>{I=!1},50)},!0),useWheel(f,(A,P)=>{const V=-Math.sign(P)*.1+1;Q(V)}),await S(50),core.plugin.transition.value&&await S(600),document.addEventListener("keyup",ue),f.addEventListener("touchstart",ie),f.addEventListener("touchend",re),f.addEventListener("touchend",pe)}),onUnmounted(()=>{cancelGlobalDrag(X),document.removeEventListener("keyup",ue)}),(k,B)=>{const A=__unplugin_components_0$2,P=__unplugin_components_0;return openBlock(),createElementBlock("div",_hoisted_1$b,[createBaseVNode("div",_hoisted_2$8,[createBaseVNode("span",{class:"button-text",onClick:$},[createVNode(unref(LeftOutlined)),createTextVNode(" \u8FD4\u56DE\u6E38\u620F")])]),createBaseVNode("div",_hoisted_3$8,[createBaseVNode("div",_hoisted_4$7,[_hoisted_5$6,createVNode(A,{class:"fly-settings",checked:n.value,"onUpdate:checked":B[0]||(B[0]=V=>n.value=V),"checked-children":"ON","un-checked-children":"OFF"},null,8,["checked"])]),unref(isMobile)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_6$5,[_hoisted_7$5,createVNode(A,{class:"fly-settings",checked:s.value,"onUpdate:checked":B[1]||(B[1]=V=>s.value=V),"checked-children":"ON","un-checked-children":"OFF"},null,8,["checked"])])),unref(isMobile)?createCommentVNode("",!0):(openBlock(),createElementBlock("span",{key:1,class:"button-text",id:"fly-download",onClick:N},"\u4E0B\u8F7D\u5730\u56FE\u56FE\u7247"))]),createBaseVNode("div",_hoisted_8$4,[createBaseVNode("div",_hoisted_9$4,[createVNode(Scroll,{id:"fly-area"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_10$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(t),(V,K)=>(openBlock(),createElementBlock("span",{selected:o.value===K,class:"selectable",onClick:le=>o.value=K},toDisplayString(K),9,_hoisted_11$4))),256))])]),_:1}),createVNode(P,{type:"vertical",dashed:"",id:"divider-left"}),createBaseVNode("div",{id:"fly-map-div"},[createBaseVNode("canvas",{id:"fly-map",onClick:J})])]),createVNode(P,{id:"divider-right",dashed:"",type:unref(isMobile)?"horizontal":"vertical"},null,8,["type"]),createBaseVNode("div",_hoisted_12$2,[createBaseVNode("canvas",{id:"fly-thumbnail",onClick:q}),createBaseVNode("div",_hoisted_13$2,[createVNode(unref(DoubleLeftOutlined),{onClick:B[2]||(B[2]=V=>G(-10)),class:"button-text"}),createVNode(unref(LeftOutlined),{onClick:B[3]||(B[3]=V=>G(-1)),class:"button-text"}),createBaseVNode("span",_hoisted_14$2,toDisplayString(unref(D)),1),createVNode(unref(RightOutlined),{onClick:B[4]||(B[4]=V=>G(1)),class:"button-text"}),createVNode(unref(DoubleRightOutlined),{onClick:B[5]||(B[5]=V=>G(10)),class:"button-text"})])])])])}}}),fly_vue_vue_type_style_index_0_scoped_daeed431_lang="",Fly=_export_sfc(_sfc_main$b,[["__scopeId","data-v-daeed431"]]),showFixed=ref(!1);let lastId;const show=lodash.exports.debounce(e=>{var i;if(!window.flags||!flags.mouseLoc)return;flags.clientLoc=[e.clientX,e.clientY];const[t,o]=getLocFromMouseLoc(...flags.mouseLoc),a=core.getBlockId(t,o);if(a!==lastId&&(showFixed.value=!1),!a||!((i=core.getClsFromId(a))!=null&&i.startsWith("enemy")))return;lastId=a;const n=core.material.enemys[a],s=getDetailedEnemy(n,t,o);core.plugin.bookDetailEnemy=s,showFixed.value=!0},200);function init$7(){const e=core.canvas.data.canvas;return e.addEventListener("mousemove",t=>{if(!core.isPlaying()||core.status.lockControl)return;const[o,a]=getLocFromMouseLoc(...flags.mouseLoc),n=core.getBlockId(o,a);n!==lastId&&(showFixed.value=!1),n&&show(t)}),e.addEventListener("mousedown",t=>{showFixed.value=!1}),{showFixed}}function getLocFromMouseLoc(e,t){const o=Math.round(e+core.bigmap.offsetX/32),a=Math.round(t+core.bigmap.offsetY/32);return[o,a]}function getDetailedEnemy(e,t,o,a=core.status.floorId){var f,m,h,g,y;const n=core.status.maps[a].ratio,s=Object.assign({},e,core.getEnemyInfo(e,void 0,t,o,a),(f=core.getDamageInfo(e,void 0,t,o,a))!=null?f:{}),i=core.nextCriticals(e,1,t,o,a),r=core.getDefDamage(e,n,t,o,a),d=core.getSpecialText(s);let c=lodash.exports.cloneDeep(d);c.length>2&&(c=c.slice(0,2).concat(["..."]));const _=core.getSpecialColor(s);let u=lodash.exports.cloneDeep(_);u.length>2&&(u=u.slice(0,2).concat(["#fff"])),c.length===0&&(c=["\u65E0\u5C5E\u6027"],u=["#fff"]);const l=getDamageColor(s.damage);return Object.assign(s,{critical:(h=(m=i[0])==null?void 0:m[0])!=null?h:"???",criticalDamage:(y=(g=i[0])==null?void 0:g[1])!=null?y:"???",defDamage:r,specialColor:_,specialText:d,toShowColor:u,toShowSpecial:c,damageColor:l})}const _hoisted_1$a={id:"fixed-detail"},_sfc_main$a=defineComponent({__name:"fixedDetail",setup(e){var d,c;const t=(d=core.plugin.fixedDetailPanel)!=null?d:"special";core.plugin.bookDetailPos=0;const[o,a]=flags.mouseLoc,n=Math.round(o+core.bigmap.offsetX/32),s=Math.round(a+core.bigmap.offsetY/32),i=core.getBlockId(n,s);if(i&&((c=core.getClsFromId(i))==null?void 0:c.startsWith("enemy"))){const _=core.material.enemys[i],u=getDetailedEnemy(_,n,s);core.plugin.bookDetailEnemy=u}else r();function r(){core.plugin.fixedDetailOpened.value=!1}return(_,u)=>(openBlock(),createElementBlock("div",_hoisted_1$a,[createVNode(BookDetail,{"from-book":!1,"default-panel":unref(t),onClose:r},null,8,["default-panel"])]))}}),fixedDetail_vue_vue_type_style_index_0_scoped_95b38cb5_lang="",FixedDetail=_export_sfc(_sfc_main$a,[["__scopeId","data-v-95b38cb5"]]),_withScopeId$3=e=>(pushScopeId("data-v-a9359e67"),e=e(),popScopeId(),e),_hoisted_1$9={id:"shop"},_hoisted_2$7={id:"tools"},_hoisted_3$7={id:"item-name"},_hoisted_4$6={id:"item-info"},_hoisted_5$5=["innerHTML"],_hoisted_6$4={id:"shop-bottom"},_hoisted_7$4={id:"item-list"},_hoisted_8$3=["selected","onClick"],_hoisted_9$3={class:"item-icon"},_hoisted_10$3={id:"item-sell-info"},_hoisted_11$3={id:"shop-mode"},_hoisted_12$1=["active"],_hoisted_13$1=["active"],_hoisted_14$1=_withScopeId$3(()=>createBaseVNode("span",null,"\u4E70\u4EF7",-1)),_hoisted_15$1=_withScopeId$3(()=>createBaseVNode("span",null,"\u5356\u4EF7",-1)),_hoisted_16$1={class:"item-sell-info"},_hoisted_17$1=_withScopeId$3(()=>createBaseVNode("span",null,"\u5B58\u8D27",-1)),_hoisted_18$1={class:"item-sell-info"},_hoisted_19$1=_withScopeId$3(()=>createBaseVNode("span",null,"\u62E5\u6709",-1)),_hoisted_20$1={id:"sell-count"},_hoisted_21$1={id:"sell-count-select"},_hoisted_22$1={id:"fly-now"},_hoisted_23$1={id:"sell-confirm"},_hoisted_24$1=["danger"],_sfc_main$9=defineComponent({__name:"shop",setup(e){var E;const t=core.plugin.openedShopId,o=core.status.shops[core.plugin.openedShopId];if(!o.item)throw new TypeError("Wrong global shop type delivered in opening item shop.");(E=flags.itemShop)!=null||(flags.itemShop={});const a=flags,n=o.choices,s=ref(0),i=ref("buy"),r=core.material.items,d=core.itemCount,c=ref(0),_=ref(core.status.hero.money),u=ref(!1);let l=!1;watch(c,w=>{if(w<0&&(w=0),i.value==="buy")w>f.value&&(w=f.value);else{const x=d(p.value.id);w>x&&(w=x)}c.value=w});const p=computed(()=>n[s.value]),f=computed(()=>{var w,x;return u.value,p.value.number-((x=(w=flags.itemShop[t])==null?void 0:w[p.value.id])!=null?x:0)}),m=computed(()=>core.material.items[p.value.id]),h=computed(()=>{const w=m.value.text;return splitText([w.startsWith("!!html")?w.slice(6):w])}),g=computed(()=>c.value*parseInt(i.value==="buy"?p.value.money:p.value.sell));watch(f,w=>{w<c.value&&(c.value=w)});function y(){var x,L,T,M,U,N,q,H,W,Q;if(c.value===0)return;const w=core.status.hero.money;l=!0,core.status.route.push(`openShop:${t}`),i.value==="buy"?g.value<=w?(core.getItem(p.value.id,c.value),core.status.hero.money-=g.value,_.value-=g.value,(L=(x=flags.itemShop)[t])!=null||(x[t]={}),(U=(T=flags.itemShop[t])[M=p.value.id])!=null||(T[M]=0),flags.itemShop[t][p.value.id]+=c.value,tip$1("success",`\u6210\u529F\u8D2D\u4E70${c.value}\u4E2A${m.value.name}\uFF01`),core.status.route.push(`buy:${p.value.id}:${c.value}`)):tip$1("error","\u4F60\u7684\u91D1\u5E01\u4E0D\u591F\uFF01"):(core.addItem(p.value.id,-c.value),core.status.hero.money+=g.value,_.value+=g.value,(q=(N=flags.itemShop)[t])!=null||(N[t]={}),(Q=(H=flags.itemShop[t])[W=p.value.id])!=null||(H[W]=0),flags.itemShop[t][p.value.id]-=c.value,tip$1("success",`\u6210\u529F\u5356\u51FA${c.value}\u4E2A${m.value.name}\uFF01`),core.status.route.push(`sell:${p.value.id}:${c.value}`)),c.value=0,u.value=!u.value}function $(w){const x=keycode(w.keyCode);(x===KeyCode.KeyX||x===KeyCode.Escape||x===KeyCode.KeyV)&&b(),x===KeyCode.UpArrow&&s.value>=1&&s.value--,x===KeyCode.DownArrow&&s.value<=n.length-2&&s.value++,(x===KeyCode.KeyC||x===KeyCode.Space||x===KeyCode.Enter)&&y()}function D(w){const x=keycode(w.keyCode);x===KeyCode.LeftArrow&&c.value--,x===KeyCode.RightArrow&&c.value++}function b(){l&&core.status.route.push("closeShop"),core.plugin.shopOpened.value=!1}return onMounted(async()=>{await S(50),core.plugin.transition.value&&await S(600),document.addEventListener("keyup",$),document.addEventListener("keydown",D)}),onUnmounted(()=>{document.removeEventListener("keyup",$),document.removeEventListener("keydown",D)}),(w,x)=>{const L=__unplugin_components_0;return openBlock(),createElementBlock("div",_hoisted_1$9,[createBaseVNode("div",_hoisted_2$7,[createBaseVNode("span",{class:"button-text",onClick:b},[createVNode(unref(LeftOutlined)),createTextVNode(" \u8FD4\u56DE\u6E38\u620F")])]),createBaseVNode("span",_hoisted_3$7,toDisplayString(unref(m).name),1),createVNode(L,{dashed:"",style:{"border-color":"#ddd4"},id:"divider"}),createBaseVNode("div",_hoisted_4$6,[createVNode(Scroll,{id:"item-desc","no-scroll":!0},{default:withCtx(()=>[createBaseVNode("span",{innerHTML:unref(h)},null,8,_hoisted_5$5)]),_:1})]),createVNode(L,{dashed:"",style:{"border-color":"#ddd4"},id:"divider-split"}),createBaseVNode("div",_hoisted_6$4,[createBaseVNode("div",_hoisted_7$4,[createVNode(Scroll,{style:{width:"100%",height:"100%"}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(n),(T,M)=>{var U,N;return openBlock(),createElementBlock("div",{class:"selectable item-one",selected:M===s.value,onClick:q=>s.value=M},[createBaseVNode("div",_hoisted_9$3,[createVNode(_sfc_main$q,{id:T.id,noborder:!0},null,8,["id"]),createBaseVNode("span",null,toDisplayString(unref(r)[T.id].name),1)]),createBaseVNode("span",null,"\xD7\xA0"+toDisplayString((i.value==="buy"?T.number-((N=(U=unref(a).itemShop[unref(t)])==null?void 0:U[T.id])!=null?N:0):unref(d)(T.id))+(u.value,0)),1)],8,_hoisted_8$3)}),256))]),_:1})]),createVNode(L,{dashed:"",style:{"border-color":"#ddd4"},type:unref(isMobile)?"horizontal":"vertical",id:"divider-vertical"},null,8,["type"]),createBaseVNode("div",_hoisted_10$3,[createBaseVNode("div",_hoisted_11$3,[createBaseVNode("span",{class:"button-text mode-button",active:i.value==="buy",onClick:x[0]||(x[0]=T=>i.value="buy")},"\u8D2D\u4E70",8,_hoisted_12$1),createVNode(L,{dashed:"",type:"vertical",id:"divider-vertical",style:{"border-color":"#ddd4"}}),createBaseVNode("span",{class:"button-text mode-button",active:i.value==="sell",danger:"true",onClick:x[1]||(x[1]=T=>i.value="sell")},"\u552E\u51FA",8,_hoisted_13$1)]),createVNode(L,{dashed:"",style:{"border-color":"#ddd4"},id:"divider-mode"}),createBaseVNode("div",{class:"item-sell-info",style:normalizeStyle({color:i.value==="buy"?"lightgreen":"white"})},[_hoisted_14$1,createBaseVNode("span",null,toDisplayString(unref(p).money),1)],4),createBaseVNode("div",{class:"item-sell-info",style:normalizeStyle({color:i.value==="sell"?"lightcoral":"white"})},[_hoisted_15$1,createBaseVNode("span",null,toDisplayString(unref(p).sell),1)],4),createBaseVNode("div",_hoisted_16$1,[_hoisted_17$1,createBaseVNode("span",null,toDisplayString(unref(f)),1)]),createBaseVNode("div",_hoisted_18$1,[_hoisted_19$1,createBaseVNode("span",null,toDisplayString(unref(d)(unref(p).id)),1)]),createVNode(L,{dashed:"",style:{"border-color":"#ddd4"},id:"divider-mode"}),createBaseVNode("div",_hoisted_20$1,[createBaseVNode("span",null,toDisplayString(i.value==="buy"?"\u8D2D\u4E70":"\u552E\u51FA")+"\u6570\u91CF",1),createBaseVNode("div",_hoisted_21$1,[createVNode(unref(DoubleLeftOutlined),{class:"button-text",onClick:x[2]||(x[2]=T=>c.value-=10)}),createVNode(unref(LeftOutlined),{class:"button-text",onClick:x[3]||(x[3]=T=>c.value--)}),createBaseVNode("span",_hoisted_22$1,toDisplayString(c.value),1),createVNode(unref(RightOutlined),{class:"button-text",onClick:x[4]||(x[4]=T=>c.value++)}),createVNode(unref(DoubleRightOutlined),{class:"button-text",onClick:x[5]||(x[5]=T=>c.value+=10)})])]),createVNode(L,{dashed:"",style:{"border-color":"#ddd4",margin:"2vh 0 2vh 0"}}),createBaseVNode("div",_hoisted_23$1,[createBaseVNode("span",{id:"sell-total",style:normalizeStyle({color:i.value==="buy"&&_.value>unref(g)?"lightgreen":"lightcoral"})},"\u603B\u4EF7\uFF1A"+toDisplayString(c.value*parseInt(i.value==="buy"?unref(p).money:unref(p).sell)),5),createBaseVNode("span",{id:"sell-button",class:"button-text",danger:i.value==="sell","danger-display":"true",active:"true",onClick:y},"\u786E\u8BA4"+toDisplayString(i.value==="buy"?"\u8D2D\u4E70":"\u552E\u51FA"),9,_hoisted_24$1)])])])])}}}),shop_vue_vue_type_style_index_0_scoped_a9359e67_lang="",Shop=_export_sfc(_sfc_main$9,[["__scopeId","data-v-a9359e67"]]),bookOpened=ref(!1),toolOpened=ref(!1),equipOpened=ref(!1),showStatusBar=ref(!1),settingsOpened=ref(!1),descOpened=ref(!1),skillOpened=ref(!1),skillTreeOpened=ref(!1),flyOpened=ref(!1),showStudiedSkill=ref(!1),fixedDetailOpened=ref(!1),shopOpened=ref(!1),startOpened=ref(!1),transition=ref(!0),noClosePanel=ref(!1),loaded=ref(!1),startAnimationEnded=ref(!1);watch(loaded,e=>{e&&startAnimationEnded.value&&(startOpened.value=!0)});watch(startAnimationEnded,e=>{e&&loaded.value&&(startOpened.value=!0)});let app;const UI_LIST=[[bookOpened,Book],[toolOpened,Toolbox],[equipOpened,Equipbox],[settingsOpened,Settings],[descOpened,Desc],[skillOpened,Skill],[skillTreeOpened,SkillTree],[flyOpened,Fly],[fixedDetailOpened,FixedDetail],[shopOpened,Shop]],uiStack=shallowReactive([]);function init$6(){return app=document.getElementById("root"),UI_LIST.forEach(([e,t])=>{watch(e,o=>{if(o===!0)uiStack.push(markRaw(t)),showApp();else{const a=uiStack.findIndex(n=>n===t);if(a===-1)return;uiStack.length===1?hideApp(a):uiStack.splice(a,1)}})}),{uiStack,transition,bookOpened,toolOpened,equipOpened,showStatusBar,settingsOpened,descOpened,skillOpened,skillTreeOpened,flyOpened,showStudiedSkill,fixedDetailOpened,shopOpened,startOpened,startAnimationEnded,loaded}}async function showApp(){core.lockControl(),transition.value?app.style.transition="all 0.6s linear":app.style.transition="none",app.style.display="flex",await S(50),app.style.opacity="1"}async function hideApp(e){transition.value?(app.style.transition="all 0.6s linear",app.style.opacity="0",await S(600)):(app.style.transition="",app.style.opacity="0"),uiStack.splice(e,1),app.style.display="none",noClosePanel.value||core.closePanel(),noClosePanel.value=!1}const status=ref(!1);function init$5(){return{statusBarStatus:status}}const chapterShowed=ref(!1),chapterContent=ref("");function init$4(){return{chapterShowed,chapterContent}}const ani=new R;ani.register("rect",0);const path1={MT16:[[23,23],[0,23]],MT15:[[63,4],[61,4],[61,5],[58,5],[58,8],[54,8],[54,11],[51,11],[51,8],[45,8],[45,4],[47,4],[47,6],[51,6],[51,5],[52,5],[52,3],[50,3],[50,5],[48,5],[48,3],[35,3],[35,5],[31,5],[31,7],[34,7],[34,9],[31,9],[31,11],[12,11],[12,8],[1,8],[1,7],[0,7]],MT14:[[127,7],[126,7],[126,8],[124,8],[124,7],[115.2,7],[115.2,9.2],[110.2,9.2],[110.2,11],[109.8,11],[109.8,8.8],[111.8,8.8],[111.8,7],[104,7],[104,3],[100,3],[100,4],[98,4],[98,3],[96,3],[96,6],[95,6],[95,7],[88,7],[88,6],[85,6],[85,8],[83,8],[83,9],[81,9],[81,11],[72,11],[72,5],[68,5],[68,8],[67,8],[67,10],[65,10],[65,11],[62,11],[62,9],[60,9],[60,11],[57,11],[57,9],[54,9]]},camera1=[["MT16",0,10,0,1600,C("sin","in")],["MT15",45,0,0,2324,C("sin","in")],["MT15",40,0,2324,1992,C("sin","out")],["MT15",41,0,5312,498,C("sin","in-out")],["MT15",37,0,5810,1660,C("sin","in")],["MT15",29,0,7470,830,C("sin","out")],["MT15",25,0,11454,996,C("sin","in")],["MT15",12,0,12450,996,j()],["MT15",0,0,13446,1470,C("sin","out")],["MT14",109,0,0,1328,C("sin","in")],["MT14",104,0,1328,332,C("sin","out")],["MT14",92,0,5478,2822,C("sin","in")],["MT14",84,0,8300,1992,j()],["MT14",74,0,10292,2988,j()],["MT14",65,0,13280,2988,j()],["MT14",58,0,16268,1992,j()],["MT14",47,0,18260,3320,j()],["MT14",36,0,21580,3320,j()],["MT14",0,0,24900,9960,j()]];function init1(){const e=["MT13","MT14","MT15"],t=[];e.forEach(o=>{core.status.maps[o].cannotMoveDirectly=!0,core.extractBlocks(o),core.status.maps[o].blocks.forEach(a=>{["animates","items"].includes(a.event.cls)&&!a.event.id.endsWith("Portal")&&t.push([a.x,a.y,o])})}),t.forEach(o=>{core.removeBlock(...o)})}function chaseShake(e){e.ani.mode(shake2(2/32,O(1,1,1,1,1,1,1,1,1,1,1,1)),!0).time(5e4).shake(1,0)}async function wolfMove(e){core.moveBlock(23,17,Array(6).fill("down"),80),await S(550),core.setBlock(508,23,23)}function judgeFail1(e){e.ani.ticker.add(()=>{core.status.hero.loc.x>core.bigmap.offsetX/32+17&&(e.end(),ani.time(750).apply("rect",0),core.lose("\u9003\u8DD1\u5931\u8D25"))})}function drawBack(e){e.on("MT15",0,()=>{ani.mode(C("sin","out")).time(1500).absolute().apply("rect",64);const t=core.createCanvas("chaseBack",0,0,480,480,120);t.fillStyle="#000";const o=()=>{t||ani.ticker.remove(o),core.clearMap(t),t.fillRect(0,0,480,ani.value.rect),t.fillRect(0,480,480,-ani.value.rect)};ani.ticker.add(o)})}function para1(e){e.on("MT15",830,()=>{for(let t=53;t<58;t++)for(let o=3;o<8;o++)core.setBlock(336,t,o);core.drawAnimate("explosion3",55,5),core.drawAnimate("stone",55,5)}),e.on("MT15",1080,()=>{core.setBlock(336,58,9),core.setBlock(336,59,9),core.drawAnimate("explosion1",58,9),core.drawAnimate("explosion1",59,9)}),e.on("MT15",1190,()=>{core.setBlock(336,53,8),core.setBlock(336,52,8),core.drawAnimate("explosion1",53,8),core.drawAnimate("explosion1",52,8)}),e.on("MT15",1580,()=>{core.setBlock(336,51,7),core.drawAnimate("explosion1",51,7)}),e.on("MT15",1830,()=>{core.setBlock(336,47,7),core.setBlock(336,49,9),core.drawAnimate("explosion1",49,9),core.drawAnimate("explosion1",47,7)})}function para2(e){e.onHeroLoc("MT15",()=>{core.setBlock(336,45,9),core.drawAnimate("explosion1",45,9)},45,8),e.onHeroLoc("MT15",()=>{core.setBlock(336,44,6),core.drawAnimate("explosion1",44,6)},45,6),e.onHeroLoc("MT15",()=>{core.setBlock(336,44,4),core.drawAnimate("explosion1",44,4),core.drawAnimate("explosion1",48,6),core.removeBlock(48,6)},45,4),e.onHeroLoc("MT15",()=>{core.setBlock(336,41,4),core.setBlock(336,32,6),core.drawAnimate("explosion1",41,4),core.drawAnimate("explosion1",32,6)},41,3),e.onHeroLoc("MT15",()=>{core.drawAnimate("explosion3",37,7),core.vibrate("vertical",1e3,25,10);for(let t=36;t<42;t++)for(let o=4;o<11;o++)core.setBlock(336,t,o)},35,3),e.onHeroLoc("MT15",()=>{core.vibrate("vertical",1e4,25,1),core.removeBlock(34,8),core.removeBlock(33,8),core.drawAnimate("explosion1",34,8),core.drawAnimate("explosion1",33,8)},31,5),e.onHeroLoc("MT15",()=>{core.setBlock(336,32,9),core.drawAnimate("explosion1",32,9)},33,7),e.onHeroLoc("MT15",()=>{core.removeBlock(32,9),core.drawAnimate("explosion1",32,9)},[33,34,34],9);for(let t=19;t<31;t++){const o=t;e.onHeroLoc("MT15",()=>{core.setBlock(336,o+1,11),core.drawAnimate("explosion1",o+1,11)},o,11)}}function para3(e){e.onHeroLoc("MT14",()=>{core.setBlock(336,126,6),core.setBlock(336,124,6),core.setBlock(336,124,9),core.setBlock(336,126,9),core.drawAnimate("explosion1",126,6),core.drawAnimate("explosion1",124,6),core.drawAnimate("explosion1",124,9),core.drawAnimate("explosion1",126,9)},126,7),e.onHeroLoc("MT14",()=>{core.setBlock(508,127,7),core.jumpBlock(127,7,112,7,500,!0),setTimeout(()=>{core.setBlock(509,112,7)},520),core.drawHeroAnimate("amazed"),core.setBlock(336,121,6),core.setBlock(336,122,6),core.setBlock(336,120,8),core.setBlock(336,121,8),core.setBlock(336,122,8),core.drawAnimate("explosion1",121,6),core.drawAnimate("explosion1",122,6),core.drawAnimate("explosion1",120,8),core.drawAnimate("explosion1",121,8),core.drawAnimate("explosion1",122,8)},123,7),e.onHeroLoc("MT14",()=>{core.setBlock(336,109,11),core.removeBlock(112,8),core.drawAnimate("explosion1",109,11),core.drawAnimate("explosion1",112,8),core.insertAction([{type:"moveHero",time:400,steps:["backward:1"]}]),e.onHeroLoc("MT14",()=>{core.jumpBlock(112,7,110,4,500,!0),core.drawHeroAnimate("amazed"),setTimeout(()=>{core.setBlock(506,110,4)},540)},112,8)},110,10),e.onHeroLoc("MT14",()=>{core.setBlock(336,117,6),core.setBlock(336,116,6),core.setBlock(336,115,6),core.setBlock(336,114,6),core.setBlock(336,117,8),core.setBlock(336,116,8),core.drawAnimate("explosion1",117,6),core.drawAnimate("explosion1",116,6),core.drawAnimate("explosion1",115,6),core.drawAnimate("explosion1",114,6),core.drawAnimate("explosion1",116,8),core.drawAnimate("explosion1",117,8)},118,7),e.onHeroLoc("MT14",()=>{core.setBlock(336,112,8),core.setBlock(336,113,7),core.drawAnimate("explosion1",112,8),core.drawAnimate("explosion1",113,7)},112,7),e.onHeroLoc("MT14",()=>{for(let t=111;t<=115;t++)core.setBlock(336,t,10),core.drawAnimate("explosion1",t,10);core.setBlock(336,112,8),core.drawAnimate("explosion1",112,8)},115,7),e.onHeroLoc("MT14",()=>{core.jumpBlock(97,4,120,-3,2e3);for(let t=109;t<=120;t++)for(let o=3;o<=11;o++)o!=7&&core.setBlock(336,t,o);core.drawAnimate("explosion2",119,7),core.removeBlock(105,7),core.drawAnimate("explosion1",105,7)},110,7),e.onHeroLoc("MT14",()=>{core.setBlock(336,95,3),core.setBlock(336,93,6),core.drawAnimate("explosion1",95,3),core.drawAnimate("explosion1",93,6)},97,3),e.onHeroLoc("MT14",()=>{core.setBlock(336,87,4),core.setBlock(336,88,5),core.drawAnimate("explosion1",87,4),core.drawAnimate("explosion1",88,5)},88,6),e.onHeroLoc("MT14",()=>{core.setBlock(336,84,6),core.setBlock(336,85,5),core.setBlock(336,86,8),core.drawAnimate("explosion1",84,6),core.drawAnimate("explosion1",85,5),core.drawAnimate("explosion1",86,8)},86,6),e.onHeroLoc("MT14",()=>{core.setBlock(336,81,8),core.setBlock(336,82,11),core.drawAnimate("explosion1",81,8),core.drawAnimate("explosion1",82,11)},81,9),e.onHeroLoc("MT14",()=>{core.setBlock(336,73,8),core.setBlock(336,72,4),core.drawAnimate("explosion1",73,8),core.drawAnimate("explosion1",72,4)},72,11),e.onHeroLoc("MT14",()=>{for(let t=74;t<86;t++)for(let o=3;o<12;o++)core.setBlock(336,t,o);core.drawAnimate("explosion2",79,7),core.vibrate("vertical",4e3,25,15)},71,7),e.onHeroLoc("MT14",()=>{core.setBlock(336,68,4),core.setBlock(336,67,6),core.drawAnimate("explosion1",68,4),core.drawAnimate("explosion1",67,6)},68,5),e.onHeroLoc("MT14",()=>{for(let t=65;t<=72;t++)for(let o=3;o<=9;o++)core.setBlock(336,t,o);core.setBlock(336,72,10),core.setBlock(336,72,11),core.drawAnimate("explosion3",69,5)},67,10),e.onHeroLoc("MT14",()=>{core.setBlock(336,63,9),core.setBlock(336,60,8),core.setBlock(336,56,11),core.drawAnimate("explosion1",63,9),core.drawAnimate("explosion1",60,8),core.drawAnimate("explosion1",56,11)},64,11),e.onHeroLoc("MT14",()=>{for(let t=58;t<=64;t++)for(let o=3;o<=11;o++)core.setBlock(336,t,o);core.drawAnimate("explosion2",61,7)},57,9);for(let t=21;t<49;t++)e.onHeroLoc("MT14",()=>{for(let o=3;o<=11;o++)core.setBlock(336,t+4,o),core.drawAnimate("explosion1",t+4,o)},t);e.onHeroLoc("MT14",async()=>{flags.finishChase1=!0,core.autoFixRouteBoss(),core.showStatusBar(),ani.time(750).apply("rect",0),e.end(),await S(750),ani.ticker.destroy(),core.deleteCanvas("chaseBack")},21)}function getChaseDataByIndex(e){if(e===1)return init1(),{camera:camera1,fns:[para1,para2,para3,chaseShake,wolfMove,drawBack,judgeFail1],path:path1};throw new ReferenceError("Deliver wrong chase index.")}function init$3(){return{startChase}}function shake2(e,t){let o=0;return a=>(o+=Math.PI/2,Math.sin(o)*e*t(a))}class Chase{constructor(t,o,a,n=!1){de(this,"ani",new R);de(this,"path");de(this,"showPath",!1);this.path=t,flags.__lockViewport__=!0,flags.onChase=!0,flags.chaseTime={[core.status.floorId]:Date.now()},this.ani.absolute().time(0).move(core.bigmap.offsetX/32,core.bigmap.offsetY/32),o.forEach(r=>r(this));const s=[],i=core.createCanvas("chasePath",0,0,0,0,35);for(const[r,d,c,_,u,l,p]of a)s.includes(r)||(this.on(r,0,()=>{flags.__lockViewport__=!1,core.drawHero(),flags.__lockViewport__=!0,this.ani.time(0).move(core.bigmap.offsetX/32,core.bigmap.offsetY/32)},!0),s.push(r)),has(p)?this.on(r,_,()=>{this.ani.time(u).mode(l).moveAs(p)}):this.on(r,_,()=>{this.ani.time(u).mode(l).move(d,c)});if(this.ani.ticker.add(()=>{flags.floorChanging||(core.setViewport(this.ani.x*32,this.ani.y*32),core.relocateCanvas(i,-this.ani.x*32,-this.ani.y*32))}),n)for(const[r,d]of Object.entries(t))this.on(r,0,()=>{const c=core.status.maps[r];core.resizeCanvas(i,c.width*32,c.height*32),i.beginPath(),i.moveTo(d[0][0]*32+16,d[1][1]*32+24),i.lineJoin="round",i.lineWidth=4,i.strokeStyle="cyan",i.globalAlpha=.3,d.forEach((_,u,l)=>{if(u===0)return;const[p,f]=_;i.lineTo(p*32+16,f*32+24)}),i.stroke()})}on(t,o,a,n=!1){const s=()=>{var i,r,d;!((i=flags.chaseTime)!=null&&i[t])||Date.now()-((d=(r=flags.chaseTime)==null?void 0:r[t])!=null?d:0)>=o&&(a(this),this.ani.ticker.remove(s))};this.ani.ticker.add(s,n)}onHeroLoc(t,o,a,n,s=0){if(s===1){typeof a=="number"&&(a=[a]),typeof n=="number"&&(n=[n]),a.forEach(d=>{n.forEach(c=>{this.onHeroLoc(t,o,d,c)})});return}const i=()=>{if(core.status.floorId!==t)return!1;if(has(a)){if(typeof a=="number"){if(core.status.hero.loc.x!==a)return!1}else if(!a.includes(core.status.hero.loc.x))return!1}if(has(n)){if(typeof n=="number"){if(core.status.hero.loc.y!==n)return!1}else if(!n.includes(core.status.hero.loc.y))return!1}return!0},r=()=>{if(i()){o(this);try{this.ani.ticker.remove(r)}catch(d){}}};this.ani.ticker.add(r)}setPathShowStatus(t){this.showPath=t}end(){this.ani.ticker.destroy(),delete flags.onChase,delete flags.chase,delete flags.chaseTime,delete flags.chaseHard,delete flags.chaseIndex,flags.__lockViewport__=!1,core.deleteCanvas("chasePath")}}async function startChase(e){const t=getChaseDataByIndex(e);flags.chaseIndex=e,flags.onChase=!0,await S(20),flags.chase=new Chase(t.path,t.fns,t.camera,flags.chaseHard===0)}function init$2(){return{isWebGLSupported}}const isWebGLSupported=function(){return!!document.createElement("canvas").getContext("webgl")}();class Polygon{constructor(t){de(this,"nodes");de(this,"cache",{});if(t.length<3)throw new Error("Nodes number delivered is less than 3!");this.nodes=t.map(o=>[o[0]+32,o[1]+32])}static from(...t){return t.map(o=>new Polygon(o))}shadowArea(t,o,a){var l,p;const n=`${t},${o}`;if(this.cache[n])return this.cache[n];const s=[],i=((l=core._PX_)!=null?l:core.__PIXELS__)+64,r=((p=core._PY_)!=null?p:core.__PIXELS__)+64,d=r/i,c=(f,m)=>{const h=(m-o)/(f-t);if(h>d||h<-d)if(m<o){const g=t+o/h;return[2*t-g,0]}else return[t+(r-o)/h,r];else if(f<t){const g=o+h*t;return[0,2*o-g]}else{const g=o+h*(i-t);return[i,g]}},_=this.nodes.length;let u=c(...this.nodes[0]);for(let f=0;f<_;f++){const m=(f+1)%_,h=c(...this.nodes[m]),g=[this.nodes[f],u],y=[h,this.nodes[m]];let $;u[0]===0&&h[1]===0||u[1]===0&&h[0]===0?$=[...g,[0,0],...y]:u[0]===0&&h[1]===r||u[1]===r&&h[0]===0?$=[...g,[0,r],...y]:u[0]===i&&h[1]===0||u[1]===0&&h[0]===i?$=[...g,[i,0],...y]:u[0]===i&&h[1]===r||u[1]===r&&h[0]===i?$=[...g,[i,r],...y]:$=[...g,...y],s.push($),u=h}return this.cache[n]=s,s}}function init$1(){return core.registerAnimationFrame("shadow",!0,()=>{!needRefresh||drawShadow()}),{initShadowCanvas,drawShadow,addLight,removeLight,setLight,setShadowNodes,setBackground,animateLight,transitionLight,moveLightAs,getAllLights}}let canvas,ctx,lights=[],needRefresh=!1,shadowNodes=[],background,blur=3;const temp1=document.createElement("canvas"),temp2=document.createElement("canvas"),temp3=document.createElement("canvas"),ct1=temp1.getContext("2d"),ct2=temp2.getContext("2d"),ct3=temp3.getContext("2d"),animationList={},transitionList={};function initShadowCanvas(){var a,n;const e=(a=core._PX_)!=null?a:core.__PIXELS__,t=(n=core._PY_)!=null?n:core.__PIXELS__;ctx=core.createCanvas("shadow",-32,-32,e+64,t+64,55),canvas=ctx.canvas;const o=core.domStyle.scale*devicePixelRatio;temp1.width=(e+64)*o,temp1.height=(t+64)*o,temp2.width=(e+64)*o,temp2.height=(t+64)*o,temp3.width=(e+64)*o,temp3.height=(t+64)*o,ct1.scale(o,o),ct2.scale(o,o),ct3.scale(o,o),canvas.style.filter=`blur(${blur}px)`}function addLight(e){lights.push(e),needRefresh=!0}function removeLight(e){const t=lights.findIndex(o=>o.id===e);if(t===-1)throw new ReferenceError("You are going to remove nonexistent light!");lights.splice(t,1),needRefresh=!0}function setLight(e,t){has(t.id)&&delete t.id;const o=lights.find(a=>a.id===e);if(!o)throw new ReferenceError("You are going to set nonexistent light!");for(const[a,n]of Object.entries(t))o[a]=n;needRefresh=!0}function setLightList(e){lights=e,needRefresh=!0}function removeAllLights(){lights=[],needRefresh=!0}function getLight(e){return lights.find(t=>t.id===e)}function getAllLights(){return lights}function setBackground(e){background=e,needRefresh=!0}function animateLight(e,t,o,a=1e3,n=j(),s=!1){var _,u;const i=getLight(e);if(!has(i))throw new ReferenceError("You are going to animate nonexistent light");typeof o!="number"&&(i[t]=o);const r=(_=animationList[e])!=null?_:animationList[e]=new R;typeof r.value[t]!="number"?r.register(t,i[t]):r.time(0).mode(j()).absolute().apply(t,i[t]),r.time(a).mode(n)[s?"relative":"absolute"]().apply(t,o);const d=Date.now(),c=()=>{Date.now()-d>a+50&&(r.ticker.remove(c),i._animating[t]=!1),needRefresh=!0,i[t]=r.value[t]};r.ticker.add(c),(u=i._animating)!=null||(i._animating={}),i._animating[t]=!0}function transitionLight(e,t,o=1e3,a=j()){var r,d;const n=lights.findIndex(c=>c.id===e);if(n===-1)throw new ReferenceError("You are going to transite nonexistent light");const s=lights[n];if(typeof s[t]!="number")return;(r=s._transition)!=null||(s._transition={}),s._transition[t]={time:o,mode:a};const i=(d=transitionList[e])!=null?d:transitionList[e]=new Y;if(i.value[t]=s[t],!s._isProxy){const c={set(_,u,l){var h;if(typeof u=="symbol")return!1;const p=Date.now();if(!s._transition[u]||((h=s._animating)==null?void 0:h[t])||typeof l!="number")return _[u]=l,!0;_[u]=s[u];const f=s._transition[u];i.mode(f.mode).time(f.time);const m=()=>{Date.now()-p>f.time+50&&i.ticker.remove(m),needRefresh=!0,_[u]=i.value[t]};return i.ticker.add(m),i.transition(u,l),!0}};lights[n]=new Proxy(s,c)}}function moveLightAs(e,t,o,a=j(),n=!0){var c,_;const s=getLight(e);if(!has(s))throw new ReferenceError("You are going to animate nonexistent light");const i=(c=animationList[e])!=null?c:animationList[e]=new R;i.mode(j()).time(0).move(s.x,s.y),i.time(t).mode(a)[n?"relative":"absolute"]().moveAs(o);const r=Date.now(),d=()=>{Date.now()-r>t+50&&(i.ticker.remove(d),s._animating.x=!1,s._animating.y=!1),needRefresh=!0,s.x=i.x,s.y=i.y};i.ticker.add(d),(_=s._animating)!=null||(s._animating={}),s._animating.x=!0,s._animating.y=!0}function setShadowNodes(e){e.length===0&&(shadowNodes=[],needRefresh=!0),e[0]instanceof Polygon?shadowNodes=e:shadowNodes=Polygon.from(...e),needRefresh=!0}function setBlur(e){blur=e,canvas.style.filter=`blur(${e}px)`}function drawShadow(){var a,n;const e=((a=core._PX_)!=null?a:core.__PIXELS__)+64,t=((n=core._PY_)!=null?n:core.__PIXELS__)+64;needRefresh=!1,ctx.clearRect(0,0,e,t),ct1.clearRect(0,0,e,t),ct2.clearRect(0,0,e,t),ct3.clearRect(0,0,e,t);const o=core.arrayToRGBA(background);ctx.globalCompositeOperation="source-over",ct3.globalCompositeOperation="source-over";for(let s=0;s<lights.length;s++){const{x:i,y:r,r:d,decay:c,color:_,noShelter:u}=lights[s];if(ct1.clearRect(0,0,e,t),ct2.clearRect(0,0,e,t),!u)for(const f of shadowNodes)f.shadowArea(i+32,r+32,d).forEach(h=>{ct1.beginPath(),ct1.moveTo(h[0][0],h[0][1]);for(let g=1;g<h.length;g++)ct1.lineTo(h[g][0],h[g][1]);ct1.closePath(),ct1.fillStyle="#000",ct1.globalCompositeOperation="source-over",ct1.fill()});ct2.globalCompositeOperation="source-over",ct2.drawImage(temp1,0,0,e,t),ct2.globalCompositeOperation="source-out";const l=ct2.createRadialGradient(i,r,c,i,r,d);l.addColorStop(0,core.arrayToRGBA(_)),l.addColorStop(1,"transparent"),ct2.fillStyle=l,ct2.beginPath(),ct2.arc(i,r,d,0,Math.PI*2),ct2.fill(),ctx.drawImage(temp2,0,0,e,t),ct1.globalCompositeOperation="source-out";const p=ct1.createRadialGradient(i,r,c,i,r,d);p.addColorStop(0,"#fff"),p.addColorStop(1,"#fff0"),ct1.beginPath(),ct1.arc(i,r,d,0,Math.PI*2),ct1.fillStyle=p,ct1.fill(),ct3.drawImage(temp1,0,0,e,t)}ct3.globalCompositeOperation="source-out",ct3.fillStyle=o,ct3.fillRect(0,0,e,t),ctx.globalCompositeOperation="destination-over",ctx.drawImage(temp3,0,0,e,t)}function init(){return{updateShadow,clearShadowCache,setCalShadow}}const shadowInfo={MT43:[{id:"mt42_1",x:280,y:220,decay:100,r:300,color:"#0000"}]},backgroundInfo={MT43:"#0008"},blurInfo={MT43:4},immersionInfo={MT43:8},shadowCache={};let calMapShadow=!0;function updateShadow(e=!1){var i;const t=core.status.floorId;if(!shadowInfo[t]||!backgroundInfo[t]){removeAllLights(),setShadowNodes([]),setBackground("#0000");return}const o=core.status.thisMap,a=o.width,n=o.height,s=[];if(calMapShadow)if(shadowCache[t]&&!e)setShadowNodes(shadowCache[t]);else{core.extractBlocks();const r=core.getMapBlocksObj();core.status.maps[t].blocks.forEach(d=>{var c;if(!!["terrains","autotile","tileset","animates"].includes(d.event.cls)&&d.event.noPass){const _=(c=immersionInfo[t])!=null?c:4,u=d.x,l=d.y;let p=u*32+_,f=l*32+_,m=p+32-_*2,h=f+32-_*2;const g=`${u-1},${l}`,y=`${u+1},${l}`,$=`${u},${l-1}`,D=`${u},${l+1}`;(u===0||r[g]&&r[g].event.noPass)&&(p-=_),(u+1===a||r[y]&&r[y].event.noPass)&&(m+=_),(l===0||r[$]&&r[$].event.noPass)&&(f-=_),(l+1===n||r[D]&&r[D].event.noPass)&&(h+=_),s.push(new Polygon([[p,f],[m,f],[m,h],[p,h]]));return}}),shadowCache[t]=s,setShadowNodes(s)}else setShadowNodes([]),setBlur(0);setLightList(shadowInfo[t]),setBackground(backgroundInfo[t]),setBlur((i=blurInfo[t])!=null?i:3)}function clearShadowCache(e){delete shadowCache[e]}function setCalShadow(e){calMapShadow=e,updateShadow()}function forward(){const e=[init$e(),init$6(),init$b(),init$c(),init$d(),init$5(),init$a(),init$9(),init$4(),init$8(),init$3(),init$7(),init$2(),init$1(),init()];(async function(){for(const t of e)for(const o in t){const a=t[o];o in core.plugin||(core.plugin[o]=a),a instanceof Function&&(o in core||o.startsWith("_")||(core[o]=a))}console.log("\u63D2\u4EF6\u8F6C\u53D1\u5B8C\u6210\uFF01")})()}main.forward=forward;const _hoisted_1$8={id:"ui"},_sfc_main$8=defineComponent({__name:"App",setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1$8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(uiStack),a=>(openBlock(),createBlock(resolveDynamicComponent(a)))),256))]))}}),App_vue_vue_type_style_index_0_scoped_9668aeb3_lang="",App=_export_sfc(_sfc_main$8,[["__scopeId","data-v-9668aeb3"]]),_hoisted_1$7=["id"],_hoisted_2$6=["id"],_hoisted_3$6=["id","selected"],_hoisted_4$5=["id","selected","selectable"],_hoisted_5$4=["id","selected","selectable"],_hoisted_6$3=["id","selected","selectable"],_hoisted_7$3=["id","selected","selectable"],_sfc_main$7=defineComponent({__name:"box",props:{dragable:{type:Boolean},resizable:{type:Boolean},left:null,top:null,width:null,height:null},emits:["update:left","update:top","update:width","update:height"],setup(e,{emit:t}){const o=e,a=(1e8*Math.random()).toFixed(0),n=ref(!1);let s=0,i,r,d,c,_,u;const l=ref(isMobile?window.innerWidth-100:window.innerWidth*.175),p=ref(isMobile?250:window.innerHeight-100),f=ref(50),m=ref(50);watch(f,M=>t("update:left",M)),watch(m,M=>t("update:top",M)),watch(l,M=>t("update:width",M)),watch(p,M=>t("update:height",M));async function h(){n.value=!0,s=window.setTimeout(()=>{n.value=!1},4e3)}let g=0,y=0;function $(M,U){const N=getComputedStyle(i),q=parseFloat(N.left),H=parseFloat(N.top);f.value=q+M-g,m.value=H+U-y,i.style.left=`${f.value}px`,i.style.top=`${m.value}px`,n.value=!0,clearTimeout(s),g=M,y=U}let D=f.value+l.value;function b(M,U){i.style.left=`${M}px`,l.value=D-M,f.value=M,i.style.width=`${l.value}px`}let E=m.value+p.value;function w(M,U){i.style.top=`${U}px`,p.value=E-U,m.value=U,i.style.height=`${p.value}px`}function x(M,U){const N=getComputedStyle(i);l.value=M-parseFloat(N.left),i.style.width=`${l.value}px`}function L(M,U){const N=getComputedStyle(i);p.value=U-parseFloat(N.top),i.style.height=`${p.value}px`}function T(){i=document.getElementById(`box-${a}`),document.getElementById(`box-move-${a}`),r=document.getElementById(`border-left-${a}`),c=document.getElementById(`border-top-${a}`),d=document.getElementById(`border-right-${a}`),_=document.getElementById(`border-bottom-${a}`),u=document.getElementById(`box-drag-${a}`),i&&(has(o.left)&&(f.value=o.left),has(o.top)&&(m.value=o.top),has(o.width)&&(l.value=o.width),has(o.height)&&(p.value=o.height),i.style.left=`${f.value}px`,i.style.top=`${m.value}px`,i.style.width=`${l.value}px`,i.style.height=`${p.value}px`)}return onUpdated(T),onMounted(async()=>{await S(50),T(),i&&(o.dragable&&useDrag(u,$,(M,U)=>{g=M,y=U},()=>{n.value=!1},!0),o.resizable&&(useDrag(r,b,(M,U)=>{D=f.value+l.value},void 0,!0),useDrag(c,w,(M,U)=>{E=m.value+p.value},void 0,!0),useDrag(d,x,void 0,void 0,!0),useDrag(_,L,void 0,void 0,!0)))}),onUnmounted(()=>{o.dragable&&cancelGlobalDrag($),o.resizable&&(cancelGlobalDrag(b),cancelGlobalDrag(w),cancelGlobalDrag(x),cancelGlobalDrag(L))}),(M,U)=>(openBlock(),createElementBlock("div",{id:`box-${unref(a)}`,class:"box"},[createBaseVNode("div",{id:`box-main-${unref(a)}`,class:"box-main",onClick:h},[renderSlot(M.$slots,"default",{},void 0,!0)],8,_hoisted_2$6),e.dragable?(openBlock(),createElementBlock("div",{key:0,id:`box-move-${unref(a)}`,class:"box-move",selected:n.value},[createVNode(unref(DragOutlined),{id:`box-drag-${unref(a)}`,class:"box-drag",style:{right:"0",bottom:"0",position:"absolute"}},null,8,["id"])],8,_hoisted_3$6)):createCommentVNode("",!0),createBaseVNode("div",{class:"border border-vertical border-left",id:`border-left-${unref(a)}`,selected:n.value&&e.resizable,selectable:e.resizable},null,8,_hoisted_4$5),createBaseVNode("div",{class:"border border-horizontal border-top",id:`border-top-${unref(a)}`,selected:n.value&&e.resizable,selectable:e.resizable},null,8,_hoisted_5$4),createBaseVNode("div",{class:"border border-vertical border-right",id:`border-right-${unref(a)}`,selected:n.value&&e.resizable,selectable:e.resizable},null,8,_hoisted_6$3),createBaseVNode("div",{class:"border border-horizontal border-bottom",id:`border-bottom-${unref(a)}`,selected:n.value&&e.resizable,selectable:e.resizable},null,8,_hoisted_7$3)],8,_hoisted_1$7))}}),box_vue_vue_type_style_index_0_scoped_fc84168a_lang="",Box=_export_sfc(_sfc_main$7,[["__scopeId","data-v-fc84168a"]]),_hoisted_1$6={id:"marked-enemy"},_hoisted_2$5={class:"marked-main"},_hoisted_3$5={class:"marked-info"},_hoisted_4$4={class:"marked-name marked-item"},_hoisted_5$3={class:"marked-damage marked-item"},_hoisted_6$2={class:"marked-critical marked-item"},_hoisted_7$2={class:"marked-critical-damage marked-item"},_hoisted_8$2={class:"marked-def marked-item"},_hoisted_9$2={class:"marked-button"},_hoisted_10$2=["onClick"],_hoisted_11$2=["onClick"],_sfc_main$6=defineComponent({__name:"markedEnemy",setup(e){var _,u;const t=(u=(_=core.status.thisMap)==null?void 0:_.ratio)!=null?u:1;let o=getMarkedEnemy();watch(checkMarkedStatus,n);const a=reactive({});function n(){o.push(...o.splice(0,o.length));for(const l in a)o.includes(l)||delete a[l]}function s(l){return has(a[l])||(a[l]={left:window.innerWidth-300,top:100,width:200,height:150,hidden:!1}),a[l]}function i(l){return core.material.enemys[l].name}function r(l){var p,f;return(f=core.formatBigNumber((p=core.getDamageInfo(l,void 0,void 0,void 0,"empty"))==null?void 0:p.damage))!=null?f:"???"}function d(l){var p,f;return(f=(p=core.nextCriticals(l,1,void 0,void 0,"empty")[0])==null?void 0:p.map(m=>core.formatBigNumber(m)))!=null?f:[0,0]}function c(l){return core.formatBigNumber(core.getDefDamage(l,t,void 0,void 0,"empty"))}return(l,p)=>(openBlock(),createElementBlock("div",_hoisted_1$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(o),f=>(openBlock(),createElementBlock("div",null,[s(f).hidden?createCommentVNode("",!0):(openBlock(),createBlock(Box,{key:f,left:s(f).left,"onUpdate:left":m=>s(f).left=m,top:s(f).top,"onUpdate:top":m=>s(f).top=m,width:s(f).width,"onUpdate:width":m=>s(f).width=m,height:s(f).height,"onUpdate:height":m=>s(f).height=m,resizable:!0,dragable:!0},{default:withCtx(()=>[createVNode(Scroll,{class:"box-scroll","no-scroll":!0},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$5,[createBaseVNode("div",_hoisted_3$5,[createVNode(_sfc_main$q,{id:f,width:24,height:24},null,8,["id"]),createBaseVNode("span",_hoisted_4$4,toDisplayString(i(f)),1)]),createBaseVNode("span",_hoisted_5$3,"\u4F24\u5BB3\uFF1A"+toDisplayString(r(f)),1),createBaseVNode("span",_hoisted_6$2,"\u4E34\u754C\uFF1A"+toDisplayString(d(f)[0]),1),createBaseVNode("span",_hoisted_7$2,"\u51CF\u4F24\uFF1A"+toDisplayString(d(f)[1]),1),createBaseVNode("span",_hoisted_8$2,toDisplayString(unref(t))+"\u9632\uFF1A"+toDisplayString(c(f)),1),createBaseVNode("div",_hoisted_9$2,[createBaseVNode("span",{class:"marked-hide button-text",onClick:withModifiers(m=>s(f).hidden=!0,["stop"])},"\u9690\u85CF\u76D2\u5B50",8,_hoisted_10$2),createBaseVNode("span",{class:"marked-cancel button-text",onClick:withModifiers(m=>unref(unmarkEnemy)(f),["stop"])},"\u53D6\u6D88\u6807\u8BB0",8,_hoisted_11$2)])])]),_:2},1024)]),_:2},1032,["left","onUpdate:left","top","onUpdate:top","width","onUpdate:width","height","onUpdate:height"]))]))),256))]))}}),markedEnemy_vue_vue_type_style_index_0_scoped_b674387d_lang="",MarkedEnemy=_export_sfc(_sfc_main$6,[["__scopeId","data-v-b674387d"]]),_imports_0$1="/HumanBreak/project/images/skill.png",_imports_1="/HumanBreak/project/images/hp.png",_imports_2="/HumanBreak/project/images/atk.png",_imports_3="/HumanBreak/project/images/def.png",_imports_4="/HumanBreak/project/images/IQ.png",_imports_5="/HumanBreak/project/images/money.png",_imports_6="/HumanBreak/project/images/exp.png",_withScopeId$2=e=>(pushScopeId("data-v-f0e92f32"),e=e(),popScopeId(),e),_hoisted_1$5={id:"status-bar"},_hoisted_2$4={id:"status-div"},_hoisted_3$4=["onClick"],_hoisted_4$3={id:"status-lv"},_hoisted_5$2={id:"status-skill",class:"status-item"},_hoisted_6$1=_withScopeId$2(()=>createBaseVNode("img",{src:_imports_0$1,class:"status-icon"},null,-1)),_hoisted_7$1={id:"status-hp",class:"status-item"},_hoisted_8$1=_withScopeId$2(()=>createBaseVNode("img",{src:_imports_1,class:"status-icon"},null,-1)),_hoisted_9$1={class:"status-item-bold"},_hoisted_10$1={id:"status-hpmax",class:"status-extra status-item-bold"},_hoisted_11$1={key:0,id:"status-spring",class:"status-extra"},_hoisted_12={id:"status-atk",class:"status-item"},_hoisted_13=_withScopeId$2(()=>createBaseVNode("img",{src:_imports_2,class:"status-icon"},null,-1)),_hoisted_14={class:"status-item-bold"},_hoisted_15={id:"status-mana",class:"status-extra status-item-bold"},_hoisted_16={id:"status-def",class:"status-item status-item-bold"},_hoisted_17=_withScopeId$2(()=>createBaseVNode("img",{src:_imports_3,class:"status-icon"},null,-1)),_hoisted_18={id:"status-mdef",class:"status-item status-item-bold"},_hoisted_19=_withScopeId$2(()=>createBaseVNode("img",{src:_imports_4,class:"status-icon"},null,-1)),_hoisted_20={id:"status-money",class:"status-item status-item-bold"},_hoisted_21=_withScopeId$2(()=>createBaseVNode("img",{src:_imports_5,class:"status-icon"},null,-1)),_hoisted_22={id:"status-exp",class:"status-item status-item-bold"},_hoisted_23=_withScopeId$2(()=>createBaseVNode("img",{src:_imports_6,class:"status-icon"},null,-1)),_hoisted_24={id:"status-key",class:"status-item status-item-bold"},_hoisted_25={style:{color:"#fca","padding-left":"10%"}},_hoisted_26={style:{color:"#aad"}},_hoisted_27={style:{color:"#f88","padding-right":"10%"}},_hoisted_28={key:0,class:"status-item"},_hoisted_29=["onClick"],_hoisted_30={key:1,class:"status-item"},_hoisted_31=["onClick"],_hoisted_32={key:2,class:"status-item"},_hoisted_33=["onClick"],_sfc_main$5=defineComponent({__name:"statusBar",setup(e){const t=ref(isMobile?window.innerWidth-100:window.innerWidth*.175),o=ref(isMobile?250:window.innerHeight-100),a=ref(!1),n=core.formatBigNumber;watch(t,D=>a.value=!a.value),watch(o,D=>a.value=!a.value);const s=shallowReactive({}),i=shallowReactive([]),r=ref(),d=ref(),c=ref("\u65E0"),_=ref(0),u=ref(),l=ref(core.getFlag("chapter",0)>0),p=ref(core.getSkillLevel(11)>0),f=["hp","atk","def","mdef","hpmax","mana","money","exp","lv"];watch(status,m);function m(){var D,b;f.forEach(E=>{s[E]=core.getRealStatus(E)}),i[0]=core.itemCount("yellowKey"),i[1]=core.itemCount("blueKey"),i[2]=core.itemCount("redKey"),r.value=(D=core.status.thisMap)==null?void 0:D.title,d.value=core.getLvName(s.lv),flags.blade&&flags.bladeOn?c.value="\u65AD\u706D\u4E4B\u5203":flags.shield&&flags.shieldOn?c.value="\u94F8\u5251\u4E3A\u76FE":c.value="\u65E0",_.value=(b=core.getNextLvUpNeed())!=null?b:0,core.hasFlag("spring")&&(u.value=50-flags.springCount),l.value=core.getFlag("chapter",0)>0,p.value=core.getSkillLevel(11)>0}function h(){core.useItem("skill1")}function g(){core.useItem("cross")}function y(){core.ui._drawViewMaps()}function $(){}return(D,b)=>(openBlock(),createElementBlock("div",_hoisted_1$5,[createVNode(Box,{resizable:!0,dragable:!0,width:t.value,"onUpdate:width":b[1]||(b[1]=E=>t.value=E),height:o.value,"onUpdate:height":b[2]||(b[2]=E=>o.value=E)},{default:withCtx(()=>[createVNode(Scroll,{id:"status-main",update:a.value,"onUpdate:update":b[0]||(b[0]=E=>a.value=E),"no-scroll":!0},{default:withCtx(()=>{var E,w,x;return[createBaseVNode("div",_hoisted_2$4,[createBaseVNode("span",{id:"status-floor",onClick:withModifiers(y,["stop"]),class:"button-text"},toDisplayString(r.value),9,_hoisted_3$4),createBaseVNode("span",_hoisted_4$3,toDisplayString(d.value),1),createBaseVNode("div",_hoisted_5$2,[_hoisted_6$1,createBaseVNode("span",null,toDisplayString(c.value),1)]),createBaseVNode("div",_hoisted_7$1,[_hoisted_8$1,createBaseVNode("span",_hoisted_9$1,toDisplayString(unref(n)(unref(s).hp)),1),createBaseVNode("span",_hoisted_10$1,"+"+toDisplayString(unref(n)(unref(s).hpmax))+"/t",1),unref(has)(u.value)?(openBlock(),createElementBlock("span",_hoisted_11$1,"\u5269\u4F59"+toDisplayString(u.value),1)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_12,[_hoisted_13,createBaseVNode("span",_hoisted_14,toDisplayString(unref(n)(unref(s).atk)),1),createBaseVNode("span",_hoisted_15,"+"+toDisplayString(unref(n)(unref(s).mana)),1)]),createBaseVNode("div",_hoisted_16,[_hoisted_17,createBaseVNode("span",null,toDisplayString(unref(n)(unref(s).def)),1)]),createBaseVNode("div",_hoisted_18,[_hoisted_19,createBaseVNode("span",null,toDisplayString(unref(n)(unref(s).mdef)),1)]),createBaseVNode("div",_hoisted_20,[_hoisted_21,createBaseVNode("span",null,toDisplayString(unref(n)(unref(s).money)),1)]),createBaseVNode("div",_hoisted_22,[_hoisted_23,createBaseVNode("span",null,toDisplayString(unref(n)(_.value)),1)]),createBaseVNode("div",_hoisted_24,[createBaseVNode("span",_hoisted_25,toDisplayString((E=unref(i)[0])==null?void 0:E.toString().padStart(2,"0")),1),createBaseVNode("span",_hoisted_26,toDisplayString((w=unref(i)[1])==null?void 0:w.toString().padStart(2,"0")),1),createBaseVNode("span",_hoisted_27,toDisplayString((x=unref(i)[2])==null?void 0:x.toString().padStart(2,"0")),1)]),l.value?(openBlock(),createElementBlock("div",_hoisted_28,[createBaseVNode("span",{id:"skill-tree",class:"button-text",onClick:withModifiers(h,["stop"])},"\u6280\u80FD\u6811",8,_hoisted_29)])):createCommentVNode("",!0),l.value?(openBlock(),createElementBlock("div",_hoisted_30,[createBaseVNode("span",{id:"status-skill",class:"button-text",onClick:withModifiers(g,["stop"])},"\u67E5\u770B\u6280\u80FD",8,_hoisted_31)])):createCommentVNode("",!0),p.value?(openBlock(),createElementBlock("div",_hoisted_32,[createBaseVNode("span",{id:"status-study",class:"button-text",onClick:withModifiers($,["stop"])},"\u5B66\u4E60",8,_hoisted_33)])):createCommentVNode("",!0)])]}),_:1},8,["update"])]),_:1},8,["width","height"])]))}}),statusBar_vue_vue_type_style_index_0_scoped_f0e92f32_lang="",StatusBar=_export_sfc(_sfc_main$5,[["__scopeId","data-v-f0e92f32"]]),_withScopeId$1=e=>(pushScopeId("data-v-feaaf373"),e=e(),popScopeId(),e),_hoisted_1$4={id:"chapter"},_hoisted_2$3=_withScopeId$1(()=>createBaseVNode("canvas",{id:"chapter-back"},null,-1)),_hoisted_3$3={id:"chapter-text"},_sfc_main$4=defineComponent({__name:"chapter",props:{chapter:null},setup(e){const t=e;let o,a,n;return onMounted(async()=>{o=document.getElementById("chapter-back"),a=o.getContext("2d"),n=document.getElementById("chapter-text");const s=new R,i=window.innerWidth*devicePixelRatio,r=window.innerHeight*devicePixelRatio;a.font="5vh scroll";const d=a.measureText(t.chapter).width,c=r*.05;s.register("rect",0),s.register("line",-10),s.register("lineOpacity",1),s.register("rect2",r/2),s.register("text",window.innerWidth+10+d),o.width=i,o.height=r,o.style.width=`${window.innerWidth}px`,o.style.height=`${window.innerHeight}px`,n.style.left=`${i+10}px`,n.style.top=`${window.innerHeight/2-r*.025}px`,n.style.height=`${r*.05}px`,n.style.width=`${d}px`;let _=!1,u=!1;s.ticker.add(l=>{if(!(!has(l)||isNaN(l))){if(!u){u=!0;return}l>=4050&&(chapterShowed.value=!1,s.ticker.destroy()),!_&&l>=1500&&(_=!0,core.playSound("chapter.mp3")),a.restore(),a.save(),n.style.left=`${s.value.text}px`,a.fillStyle="#000",a.clearRect(0,0,i,r),l<=2e3?(a.fillRect(0,r/2,i,-s.value.rect),a.fillRect(0,r/2,i,s.value.rect)):l>=2e3&&l<=3050&&(a.fillRect(0,0,i,s.value.rect2),a.fillRect(0,r,i,-s.value.rect2)),a.shadowColor="#fff",a.shadowBlur=3,a.shadowOffsetX=0,a.shadowOffsetY=0,a.lineWidth=3,a.strokeStyle="#fff",a.fillStyle="#fff",a.globalAlpha=s.value.lineOpacity,a.beginPath(),a.moveTo(0,r/2-c),a.lineTo(s.value.line,r/2-c),a.stroke(),a.beginPath(),a.moveTo(i,r/2+c),a.lineTo(i-s.value.line,r/2+c),a.stroke(),a.shadowBlur=0,a.filter="blur(5px)",a.beginPath(),a.arc(s.value.line,r/2-c,10,0,Math.PI*2),a.fill(),a.beginPath(),a.arc(i-s.value.line,r/2+c,10,0,Math.PI*2),a.fill()}}),s.mode(C("tan","center")).time(3e3).absolute().apply("line",i+10).mode(C("sin","out")).time(1e3).apply("rect",r/2).mode(C("tan","center")).time(3e3).apply("text",-d*2-10),await S(2e3),s.mode(C("sin","in")).time(1e3).apply("rect2",0),await S(1e3),s.mode(C("sin","out")).time(1e3).apply("lineOpacity",0)}),(s,i)=>(openBlock(),createElementBlock("div",_hoisted_1$4,[_hoisted_2$3,createBaseVNode("span",_hoisted_3$3,toDisplayString(e.chapter),1)]))}}),chapter_vue_vue_type_style_index_0_scoped_feaaf373_lang="",Chapter=_export_sfc(_sfc_main$4,[["__scopeId","data-v-feaaf373"]]),_hoisted_1$3={id:"studied"},_hoisted_2$2={id:"studied-main"},_hoisted_3$2={id:"studied-rough"},_hoisted_4$2={key:0,id:"studied-detail"},_sfc_main$3=defineComponent({__name:"studied",setup(e){watch(status,l=>{});let t;const o=ref(200),a=ref(0),n=ref(window.innerWidth-300),s=ref(window.innerHeight-300),i=reactive([]),r=computed(()=>{var l,p;return status.value,(p=(l=core.status.hero.special)==null?void 0:l.num)!=null?p:[]}),d=computed(()=>{var l,p;return status.value,(p=(l=core.status.hero.special)==null?void 0:l.last)!=null?p:[]}),c=computed(()=>{const l=core.getSpecials();return r.value.map(p=>{const f=l[p-1][1];return f instanceof Function?f(core.status.hero.special):f})});function _(l){const f=core.getSpecials()[l-1][2];return f instanceof Function?f(core.status.hero.special):f}async function u(){await new Promise(l=>{requestAnimationFrame(()=>{const p=getComputedStyle(t);a.value=parseFloat(p.height),l()})})}return onUpdated(()=>{u()}),onMounted(()=>{t=document.getElementById("studied-main"),u()}),(l,p)=>(openBlock(),createElementBlock("div",_hoisted_1$3,[createVNode(Box,{resizable:!0,dragable:!0,width:o.value,"onUpdate:width":p[0]||(p[0]=f=>o.value=f),height:a.value,"onUpdate:height":p[1]||(p[1]=f=>a.value=f),left:n.value,"onUpdate:left":p[2]||(p[2]=f=>n.value=f),top:s.value,"onUpdate:top":p[3]||(p[3]=f=>s.value=f)},{default:withCtx(()=>[createVNode(Scroll,{"no-scroll":!0,style:{height:"100%"}},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r),(f,m)=>(openBlock(),createElementBlock("div",{key:m},[createBaseVNode("div",_hoisted_3$2,[createVNode(unref(RightOutlined),{folded:!!i[m],onClick:h=>i[m]=!i[m],id:"studied-fold"},null,8,["folded","onClick"]),createBaseVNode("span",null,toDisplayString(m)+". "+toDisplayString(unref(c)[m])+"\uFF0C\u5269\u4F59"+toDisplayString(unref(d)[m])+"\u573A\u6218\u6597",1)]),i[m]?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_4$2,toDisplayString(_(f)),1))]))),128))])]),_:1})]),_:1},8,["width","height","left","top"])]))}}),studied_vue_vue_type_style_index_0_scoped_bd83c8c3_lang="",Studied=_export_sfc(_sfc_main$3,[["__scopeId","data-v-bd83c8c3"]]),_hoisted_1$2={id:"fixed"},_hoisted_2$1={id:"enemy-fixed"},_hoisted_3$1={id:"enemy-name"},_hoisted_4$1={id:"enemy-special"},_hoisted_5$1={class:"enemy-attr"},_sfc_main$2=defineComponent({__name:"fixed",setup(e){watch(showFixed,f=>{f&&l()});let t;const o=core.formatBigNumber,a=["hp","atk","def","money","exp","critical","criticalDamage","defDamage"],n=["lightgreen","lightcoral","lightblue","lightyellow","lawngreen","lightsalmon","lightpink","cyan"],s=ref(core.plugin.bookDetailEnemy),i=ref(0),r=ref(0),d=ref(300),c=ref(400);let _=window.innerHeight,u=window.innerWidth;async function l(){if(s.value=core.plugin.bookDetailEnemy,_=window.innerHeight,u=window.innerWidth,d.value=_*.28,await new Promise(y=>requestAnimationFrame(y)),core.plugin.fixedDetailOpened.value&&(showFixed.value=!1),t=document.getElementById("enemy-fixed"),!t)return;const f=getComputedStyle(t),m=parseFloat(f.height),[h,g]=flags.clientLoc;g+m+10>_-10?r.value=_-m-10:r.value=g+10,h+d.value+10>u-10?i.value=u-d.value-10:i.value=h+10,c.value=m}function p(f){var m,h,g;return f==="critical"?"\u4E34\u754C":f==="criticalDamage"?"\u4E34\u754C\u51CF\u4F24":f==="defDamage"?`${(g=(h=(m=core.status)==null?void 0:m.thisMap)==null?void 0:h.ratio)!=null?g:1}\u9632`:core.getStatusLabel(f)}return onUpdated(l),onMounted(()=>{t=document.getElementById("enemy-fixed"),l()}),(f,m)=>(openBlock(),createElementBlock("div",_hoisted_1$2,[createVNode(Transition,null,{default:withCtx(()=>[unref(showFixed)?(openBlock(),createBlock(Box,{key:0,height:c.value,"onUpdate:height":m[0]||(m[0]=h=>c.value=h),left:i.value,"onUpdate:left":m[1]||(m[1]=h=>i.value=h),top:r.value,"onUpdate:top":m[2]||(m[2]=h=>r.value=h),width:d.value,"onUpdate:width":m[3]||(m[3]=h=>d.value=h)},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createBaseVNode("span",_hoisted_3$1,toDisplayString(s.value.name),1),createBaseVNode("div",_hoisted_4$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(s.value.toShowSpecial,(h,g)=>(openBlock(),createElementBlock("span",{style:normalizeStyle({color:s.value.toShowColor[g]})},toDisplayString(h),5))),256))]),(openBlock(),createElementBlock(Fragment,null,renderList(a,(h,g)=>createBaseVNode("div",_hoisted_5$1,[createBaseVNode("span",{class:"attr-name",style:normalizeStyle({color:n[g]})},toDisplayString(p(h)),5),createBaseVNode("span",{class:"attr-value",style:normalizeStyle({color:n[g]})},toDisplayString(unref(o)(s.value[h])),5)])),64))])]),_:1},8,["height","left","top","width"])):createCommentVNode("",!0)]),_:1})]))}}),fixed_vue_vue_type_style_index_0_scoped_d7e97953_lang="",Fixed=_export_sfc(_sfc_main$2,[["__scopeId","data-v-d7e97953"]]),_imports_0="/HumanBreak/project/images/bg.jpg";class Matrix extends Array{constructor(...t){var o;if(t.length!==((o=t[0])==null?void 0:o.length))throw new TypeError("The array delivered to Matrix must has the same length of its item and itself.");super(...t)}add(t){if(t.length!==this.length)throw new TypeError("To add a martrix, the be-added-matrix's size must equal to the to-add-matrix's.");const o=t.length;for(let a=0;a<o;a++)for(let n=0;n<o;n++)this[a][n]+=t[a][n];return this}multipy(t){if(t.length!==this.length)throw new TypeError("To multipy a martrix, the be-multipied-matrix's size must equal to the to-multipy-matrix's.");const o=this.length,a=Array.from(this).map(n=>n.slice());for(let n=0;n<o;n++)for(let s=0;s<o;s++){this[n][s]=0;for(let i=0;i<o;i++)this[n][s]+=a[n][i]*t[i][s]}return this}}class Matrix4 extends Matrix{constructor(...t){if(t.length===0&&(t=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]),t.length!==4)throw new TypeError("The length of delivered array must be 4.");super(...t)}translate(t,o,a){this.multipy([[1,0,0,t],[0,1,0,o],[0,0,1,a],[0,0,0,1]])}scale(t,o,a){this.multipy([[t,0,0,0],[0,o,0,0],[0,0,a,0],[0,0,0,1]])}rotate(t,o,a){if(has(t)&&t!==0){const n=Math.sin(t),s=Math.cos(t);this.multipy([[1,0,0,0],[0,s,n,0],[0,-n,s,0],[0,0,0,1]])}if(has(o)&&o!==0){const n=Math.sin(o),s=Math.cos(o);this.multipy([[s,0,-n,0],[0,1,0,0],[n,0,s,0],[0,0,0,1]])}if(has(a)&&a!==0){const n=Math.sin(a),s=Math.cos(a);this.multipy([[s,n,0,0],[-n,s,0,0],[0,0,1,0],[0,0,0,1]])}return this}transpose(t="new"){const o=t==="this"?this:new Matrix4,a=Array.from(this).map(n=>n.slice());for(let n=0;n<4;n++)for(let s=0;s<4;s++)o[n][s]=a[s][n];return o}toWebGLFloat32Array(){return new Float32Array(Array.from(this.transpose()).flat())}}const _withScopeId=e=>(pushScopeId("data-v-8003696f"),e=e(),popScopeId(),e),_hoisted_1$1={id:"start"},_hoisted_2={id:"start-div"},_hoisted_3=_withScopeId(()=>createBaseVNode("img",{id:"background",src:_imports_0},null,-1)),_hoisted_4={id:"start-main"},_hoisted_5=_withScopeId(()=>createBaseVNode("div",{id:"title"},"\u4EBA\u7C7B\uFF1A\u5F00\u5929\u8F9F\u5730",-1)),_hoisted_6={id:"settings"},_hoisted_7=["checked"],_hoisted_8={key:0,id:"sound-del"},_hoisted_9=_withScopeId(()=>createBaseVNode("div",{id:"background-gradient"},null,-1)),_hoisted_10={id:"buttons"},_hoisted_11=["id","selected","showed","index","length","onClick","onMouseenter"],_sfc_main$1=defineComponent({__name:"start",setup(e){let t,o,a,n,s,i=[],r;const d=ref(!1),c=ref(!1),_=["\u5F00\u59CB\u6E38\u620F","\u8BFB\u53D6\u5B58\u6863","\u5F55\u50CF\u56DE\u653E","\u67E5\u770B\u6210\u5C31"].reverse(),u=["\u8F6E\u56DE","\u5206\u652F","\u89C2\u6D4B","\u56DE\u5FC6"].reverse(),l=["start-game","load-game","replay","achievement"].reverse(),p=["easy","hard-hard","back"].reverse(),f=ref(_),m=["\u7B80\u5355","\u56F0\u96BE","\u8FD4\u56DE"].reverse(),h=reactive([]),g=ref("start-game");function y(){const N=core.domStyle.scale,H=core._PY_*N,W=H*1.5;t.style.width=`${W}px`,t.style.height=`${H}px`,a.style.fontSize=`${N*16}px`}function $(){n.style.opacity="1",D(i[0],0)}function D(N,q){const H=getComputedStyle(N);n.style.top=`${parseFloat(H.height)*(q+.5)-parseFloat(H.marginBottom)*(1-q)}px`,n.style.left=`${parseFloat(H.left)-30}px`}async function b(N){core.checkBgm(),N==="start-game"&&M(),N==="back"&&U(),(N==="easy"||N==="hard-hard")&&(o.style.opacity="0",await S(600),core.startGame(N)),N==="load-game"&&(core.dom.gameGroup.style.display="block",o.style.top="100vh",core.load()),N==="replay"&&core.chooseReplayFile()}function E(N){const{offsetX:q,offsetY:H}=N,W=N.target,Q=getComputedStyle(W),te=parseFloat(Q.width),ae=parseFloat(Q.height),I=te/2,F=ae/2,z=(q-I)/I,X=(H-F)/F,J=new Matrix4;J.scale(1.2,1.2,1),J.rotate(X*10*Math.PI/180,-(z*10*Math.PI)/180);const ee=Array.from(J.transpose()).flat().join(",");s.style.transform=`perspective(${1e3*core.domStyle.scale}px)matrix3d(${ee})`}function w(N,q){D(N,q),g.value=N.id}function x(N){const q=keycode(N.keyCode),H=h.indexOf(g.value);if(q===KeyCode.DownArrow){const W=h[H-1];if(!W)return;g.value=W,D(i[h.length-H],h.length-H)}if(q===KeyCode.UpArrow){const W=h[H+1];if(!W)return;g.value=W,D(i[h.length-H-2],h.length-H-2)}}function L(N){const q=keycode(N.keyCode);(q===KeyCode.Enter||q===KeyCode.Space||q===KeyCode.KeyC)&&b(g.value)}function T(){core.triggerBgm(),d.value=!d.value}async function M(){n.style.transition="left 0.4s ease-out, top 0.4s ease-out, opacity 0.4s linear",n.style.opacity="0",i.forEach(N=>N.style.transition=""),await doByInterval(Array(4).fill(()=>l.unshift(h.pop())),150),await S(250),f.value=m,await doByInterval(Array(3).fill(()=>h.push(p.shift())),150),g.value="easy",nextTick(()=>{i=h.map(N=>document.getElementById(N)).reverse(),n.style.opacity="1",D(i[0],0)}),await S(600),i.forEach(N=>N.style.transition="all 0.3s ease-out")}async function U(){h.length>0&&(n.style.transition="left 0.4s ease-out, top 0.4s ease-out, opacity 0.4s linear",n.style.opacity="0",i.forEach(N=>N.style.transition=""),await doByInterval(Array(3).fill(()=>p.unshift(h.pop())),150)),f.value=_,r&&(f.value=u),await S(250),await doByInterval(Array(4).fill(()=>h.push(l.shift())),150),g.value="start-game",nextTick(()=>{i=h.map(N=>document.getElementById(N)).reverse(),n.style.opacity="1",D(i[0],0),i.forEach((N,q)=>{})}),c.value?await S(600):await S(1200),i.forEach(N=>N.style.transition="all 0.3s ease-out")}return onMounted(async()=>{n=document.getElementById("cursor"),r=core.getLocalStorage("oneweek1",!1),t=document.getElementById("start-div"),a=document.getElementById("start-main"),o=document.getElementById("start"),s=document.getElementById("background"),core.registerResize("start",y),document.addEventListener("keydown",x),document.addEventListener("keyup",L),y(),d.value=core.musicStatus.bgmStatus,await S(50),o.style.opacity="1",r&&(f.value=u,m.splice(1,0,"\u6311\u6218")),U().then(()=>c.value=!0),await S(1e3),$(),await S(1200),core.dom.startPanel.style.display="none"}),onUnmounted(()=>{core.unregisterResize("start"),document.removeEventListener("keydown",x),document.removeEventListener("keyup",L)}),(N,q)=>(openBlock(),createElementBlock("div",_hoisted_1$1,[createBaseVNode("div",_hoisted_2,[_hoisted_3,createBaseVNode("div",_hoisted_4,[_hoisted_5,createBaseVNode("div",_hoisted_6,[createBaseVNode("div",{id:"sound",class:"setting-buttons",checked:d.value,onClick:T},[createVNode(unref(SoundOutlined)),d.value?createCommentVNode("",!0):(openBlock(),createElementBlock("span",_hoisted_8))],8,_hoisted_7)]),_hoisted_9,createBaseVNode("div",_hoisted_10,[createVNode(unref(RightOutlined),{id:"cursor"}),createVNode(TransitionGroup,{name:"start"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(h,(H,W)=>(openBlock(),createElementBlock("span",{class:"start-button",id:H,key:H,selected:g.value===H,showed:c.value,index:W,length:f.value[W].length,onClick:Q=>b(H),onMouseenter:Q=>w(Q.target,h.length-W-1)},toDisplayString(f.value[W]),41,_hoisted_11))),128))]),_:1})])]),createBaseVNode("div",{id:"listen",onMousemove:E},null,32)])]))}}),start_vue_vue_type_style_index_0_scoped_8003696f_lang="",Start=_export_sfc(_sfc_main$1,[["__scopeId","data-v-8003696f"]]),_hoisted_1={id:"non-ui"},_sfc_main=defineComponent({__name:"App2",setup(e){return(t,o)=>(openBlock(),createElementBlock("div",_hoisted_1,[unref(startOpened)?(openBlock(),createBlock(Start,{key:0})):createCommentVNode("",!0),unref(showStatusBar)?(openBlock(),createBlock(StatusBar,{key:1})):createCommentVNode("",!0),unref(showMarkedEnemy)&&unref(showStatusBar)?(openBlock(),createBlock(MarkedEnemy,{key:2})):createCommentVNode("",!0),unref(showStudiedSkill)&&unref(showStatusBar)&&unref(showStudied$1)?(openBlock(),createBlock(Studied,{key:3})):createCommentVNode("",!0),unref(showStatusBar)&&unref(useFixed$1)?(openBlock(),createBlock(Fixed,{key:4})):createCommentVNode("",!0),unref(chapterShowed)?(openBlock(),createBlock(Chapter,{key:5,chapter:unref(chapterContent)},null,8,["chapter"])):createCommentVNode("",!0)]))}}),App2_vue_vue_type_style_index_0_scoped_a698c61f_lang="",App2=_export_sfc(_sfc_main,[["__scopeId","data-v-a698c61f"]]),styles="",antd_dark="";createApp(App).mount("#root");createApp(App2).mount("#root2");export{__vite_legacy_guard};
|