content
stringlengths 5
1.05M
|
|---|
return class("ShinanoPtPage", import(".TemplatePage.PtTemplatePage"))
|
function dec2any(...)
local arg={...}
local argnum=select('#',...)
local k
local len
local a
local v
if(argnum==1)
then
k=2
len=0
a=arg[1]
elseif(argnum==2)
then
len=0
a=arg[1]
k=arg[2]
elseif(argnum==3)
then
a=arg[1]
k=arg[2]
len=arg[3]
else
print("Incorrect number of input parameters")
return nil
end
if (a<0)
then
print('The first input argument must be a non-negative integer')
return nil
end
if (k<2)
then
print('The second input argument must be a non-negative integer')
return nil
end
if (len<0)
then
print('The third input argument must be a non-negative integer')
return nil
end
local l=math.ceil(log2(a+0.5)/log2(k))
v=torch.zeros(1,1)
if(a<k)
then
v[{{1},{1}}]=a
else
local i=0
v=torch.zeros(1,l)
while(a>=k)
do
t=a%k
a=math.floor(a/k)
v[{{1},{l-i}}]=t
i=i+1
end
v[{{1},{1}}]=a
end
if(len>0 and len>l)
then
local v1=torch.zeros(1,len)
v1[{{1},{(len-l+1),(len)}}]=v
v=v1
end
return v
end
|
local from_expr = require('related_files').pargen_from_expression
return {
pargens = {
-- When using a {namespace} the pargen_from_expression() function
-- expects some part between {parent} and {namespace} in order to know
-- when the namespace begins.
-- If this doesn't work for your usecase (e.g. the separator is part of
-- the namespace, or you want to use a git repository, or sentinel/root
-- file as namespace start), you need to write your own
-- parser/generator pair.
from_expr("source", "{parent}/002_basic_with_namespace/{namespace}/{name}.py"),
-- Note: "test" would also work without the test file being in a
-- seperate test directory.
from_expr("test", "{parent}/002_basic_with_namespace/test/{namespace}/test_{name}.py")
},
relations = {{"source", "test"}}
}
|
--[[lit-meta
name = "creationix/sha1"
version = "1.0.3"
homepage = "https://github.com/luvit/lit/blob/master/deps/sha1.lua"
description = "Pure Lua implementation of SHA1 using bitop"
authors = {
"Tim Caswell"
}
]]
-- http://csrc.nist.gov/groups/ST/toolkit/documents/Examples/SHA_All.pdf
local bit = require('bit')
local band = bit.band
local bor = bit.bor
local bxor = bit.bxor
local lshift = bit.lshift
local rshift = bit.rshift
local rol = bit.rol
local tobit = bit.tobit
local tohex = bit.tohex
local byte = string.byte
local concat = table.concat
local floor = table.floor
local hasFFi, ffi = pcall(require, "ffi")
local newBlock = hasFFi and function ()
return ffi.new("uint32_t[80]")
end or function ()
local t = {}
for i = 0, 79 do
t[i] = 0
end
return t
end
local shared = newBlock()
local function unsigned(n)
return n < 0 and (n + 0x100000000) or n
end
local function create(sync)
local h0 = 0x67452301
local h1 = 0xEFCDAB89
local h2 = 0x98BADCFE
local h3 = 0x10325476
local h4 = 0xC3D2E1F0
-- The first 64 bytes (16 words) is the data chunk
local W = sync and shared or newBlock()
local offset = 0
local shift = 24
local totalLength = 0
local update, write, processBlock, digest
-- The user gave us more data. Store it!
function update(chunk)
local length = #chunk
totalLength = totalLength + length * 8
for i = 1, length do
write(byte(chunk, i))
end
end
function write(data)
W[offset] = bor(W[offset], lshift(band(data, 0xff), shift))
if shift > 0 then
shift = shift - 8
else
offset = offset + 1
shift = 24
end
if offset == 16 then
return processBlock()
end
end
-- No more data will come, pad the block, process and return the result.
function digest()
-- Pad
write(0x80)
if offset > 14 or (offset == 14 and shift < 24) then
processBlock()
end
offset = 14
shift = 24
-- 64-bit length big-endian
write(0x00) -- numbers this big aren't accurate in lua anyway
write(0x00) -- ..So just hard-code to zero.
write(totalLength > 0xffffffffff and floor(totalLength / 0x10000000000) or 0x00)
write(totalLength > 0xffffffff and floor(totalLength / 0x100000000) or 0x00)
for s = 24, 0, -8 do
write(rshift(totalLength, s))
end
-- At this point one last processBlock() should trigger and we can pull out the result.
return concat {
tohex(h0),
tohex(h1),
tohex(h2),
tohex(h3),
tohex(h4)
}
end
-- We have a full block to process. Let's do it!
function processBlock()
-- Extend the sixteen 32-bit words into eighty 32-bit words:
for i = 16, 79, 1 do
W[i] =
rol(bxor(W[i - 3], W[i - 8], W[i - 14], W[i - 16]), 1)
end
-- print("Block Contents:")
-- for i = 0, 15 do
-- print(string.format(" W[%d] = %s", i, tohex(W[i])))
-- end
-- print()
-- Initialize hash value for this chunk:
local a = h0
local b = h1
local c = h2
local d = h3
local e = h4
local f, k
-- print(" A B C D E")
-- local format =
-- "t=%02d: %s %s %s %s %s"
-- Main loop:
for t = 0, 79 do
if t < 20 then
f = bxor(d, band(b, bxor(c, d)))
k = 0x5A827999
elseif t < 40 then
f = bxor(b, c, d)
k = 0x6ED9EBA1
elseif t < 60 then
f = bor(band(b, c), (band(d, bor(b, c))))
k = 0x8F1BBCDC
else
f = bxor(b, c, d)
k = 0xCA62C1D6
end
e, d, c, b, a =
d,
c,
rol(b, 30),
a,
tobit(
unsigned(rol(a, 5)) +
unsigned(f) +
unsigned(e) +
unsigned(k) +
W[t]
)
-- print(string.format(format, t, tohex(a), tohex(b), tohex(c), tohex(d), tohex(e)))
end
-- Add this chunk's hash to result so far:
h0 = tobit(unsigned(h0) + a)
h1 = tobit(unsigned(h1) + b)
h2 = tobit(unsigned(h2) + c)
h3 = tobit(unsigned(h3) + d)
h4 = tobit(unsigned(h4) + e)
-- The block is now reusable.
offset = 0
for i = 0, 15 do
W[i] = 0
end
end
return {
update = update,
digest = digest
}
end
return function (buffer)
-- Pass in false or nil to get a streaming interface.
if not buffer then
return create(false)
end
local shasum = create(true)
shasum.update(buffer)
return shasum.digest()
end
|
local ffi = require 'ffi'
local cdef = [[
typedef ${PixelType} PixelType;
typedef struct itkImage${Suffix} ImageType${Suffix};
ImageType${Suffix}* ${Suffix}();
void DeleteImage${Suffix}(ImageType${Suffix}* image);
unsigned int GetImageDimension${Suffix}(ImageType${Suffix}* image);
void GetSpacing${Suffix}(ImageType${Suffix}* image, double* spacing);
void SetSpacing${Suffix}(ImageType${Suffix}* image, double* spacing);
void GetOrigin${Suffix}(ImageType${Suffix}* image, double* origin);
void SetOrigin${Suffix}(ImageType${Suffix}* image, double* origin);
void GetDirection${Suffix}(ImageType${Suffix}* image, double* direction);
void SetDirection${Suffix}(ImageType${Suffix}* image, double* direction);
void GetBufferedRegionSize${Suffix}(ImageType${Suffix}* image, int* bufferedRegionSize);
void SetBufferedRegionSize${Suffix}(ImageType${Suffix}* image, int* bufferedRegionSize);
void GetSize${Suffix}(ImageType${Suffix}* image, int* regionSize);
void SetSize${Suffix}(ImageType${Suffix}* image, int* size);
int GetBufferSize${Suffix}(ImageType${Suffix}* image);
PixelType* GetData${Suffix}(ImageType${Suffix}* image);
void SetData${Suffix}(ImageType${Suffix}* image, int* shape, PixelType* data);
void ReadImage${Suffix}(ImageType${Suffix}* image, const char* filename);
void WriteImage${Suffix}(ImageType${Suffix}* image, const char* filename);
void Allocate${Suffix}(ImageType${Suffix}* image);
]]
local function q(input, suffix)
return string.gsub(input..'${Suffix}','${Suffix}',suffix)
end
local tensortypes = {
float = torch.FloatTensor,
double = torch.DoubleTensor,
char = torch.CharTensor,
short = torch.ShortTensor,
long = torch.LongTensor
}
local typesizes = {
float = 4,
double = 8,
char = 1,
short = 2,
long = 4
}
local function wrap(itk, pixel_type, suffix)
local cdef = string.gsub(cdef,'${Suffix}',suffix)
local cdef = string.gsub(cdef,'${PixelType}',pixel_type)
ffi.cdef(cdef)
local getarr = function(im, fn, typ, size)
local arr = ffi.new(typ .. "[?]", size)
fn(im, arr)
local out = {}
for i=1,size do
out[i] = arr[i-1]
end
return out
end
local setarr = function(im, fn, t, typ, size)
local arr = ffi.new(typ .. "[?]", size)
for i=1,size do
arr[i-1] = t[i]
end
fn(im, arr)
end
local reverse = function(tbl)
local out = {}
for i=1,#tbl do
out[i] = tbl[#tbl+1-i]
end
return out
end
local revbf = function(bf,size)
for i=1,#st do
end
for i=1,#st do
outst[i] = st[#st+1-i]
end
return outst
end
return {
createanother = function(im)
return itk[q('',suffix)]()
end,
pixeltype = function(im)
return pixel_type
end,
delete = function(im)
itk[q('DeleteImage',suffix)](im)
end,
dim = function(im)
return itk[q('GetImageDimension',suffix)](im)
end,
spacing = function(im, spacing)
if not spacing then
return getarr(im, itk[q('GetSpacing',suffix)], 'double', im:dim())
end
setarr(im, itk[q('SetSpacing',suffix)], spacing, 'double', im:dim())
end,
origin = function(im, origin)
if not origin then
return getarr(im, itk[q('GetOrigin',suffix)], 'double', im:dim())
end
setarr(im, itk[q('SetOrigin',suffix)], origin, 'double', im:dim())
end,
direction = function(im, direction)
if not direction then
return getarr(im, itk[q('GetDirection',suffix)], 'double', im:dim()^2)
end
setarr(im, itk[q('SetDirection',suffix)], direction, 'double', im:dim()^2)
end,
bufferedsize = function(im, size)
if not size then
return getarr(im, itk[q('GetBufferedRegionSize',suffix)], 'int', im:dim())
end
setarr(im, itk[q('SetBufferedRegionSize',suffix)], size, 'int', im:dim())
end,
size = function(im, size)
if not size then
return getarr(im, itk[q('GetSize',suffix)], 'int', im:dim())
end
setarr(im, itk[q('SetSize',suffix)], size, 'int', im:dim())
end,
allocate = function(im)
itk[q('Allocate',suffix)](im)
end,
read = function(im, filename)
itk[q('ReadImage',suffix)](im, filename)
end,
write = function(im, filename)
itk[q('WriteImage',suffix)](im, filename)
end,
tensor = function(im, t)
local pt = im:pixeltype()
local len = itk[q('GetBufferSize',suffix)](im) * typesizes[pt]
local sz = reverse(im:size())
if not t then
local t = tensortypes[pt](torch.LongStorage(sz))
ffi.copy(t:data(), itk[q('GetData',suffix)](im), len)
return t
end
t:resize(torch.LongStorage(sz))
ffi.copy(t:data(), itk[q('GetData',suffix)](im), len)
end,
fromtensor = function(im, t)
local pt = im:pixeltype()
local sz = reverse(t:size())
setarr(im, itk[q('SetSize',suffix)], sz, 'int', im:dim())
setarr(im, itk[q('SetBufferedRegionSize',suffix)], sz, 'int', im:dim())
itk[q('Allocate',suffix)](im)
local len = itk[q('GetBufferSize',suffix)](im) * typesizes[pt]
-- TODO: fail graciously if types don't match
ffi.copy(itk[q('GetData',suffix)](im), t:contiguous():data(), len)
end
}
end
return {q = q,
wrap = wrap}
|
package.path = "../../depends/proto4z/?.lua;" .. package.path
--require
require("proto4z")
require("TestProto")
print=summer.logd
local lastTime = os.time()
local echoCount = 0
-- 收到消息
local function whenWebMessage(sID, cmd, head, body)
Proto4z.dump(cmd)
Proto4z.dump(head)
Proto4z.dump(body)
Proto4z.dump(body)
summer.webResponse(sID, 200, {aaa="bbb"}, body)
end
summer.whenWebMessage(whenWebMessage)
-- 连接成功事件
local function whenLinked(sID, remoteIP, remotePort)
print("session is on connected. sID=" .. sID .. ", remoteIP=" .. remoteIP .. ", remotePort=" .. remotePort)
end
summer.whenLinked(whenLinked)
-- 连接断开事件
local function whenClosed(sID, remoteIP, remotePort)
print("session is on disconnect. sID=" .. sID .. ", remoteIP=" .. remoteIP .. ", remotePort=" .. remotePort)
end
summer.whenClosed(whenClosed)
--启动网络
summer.start()
--服务器监听
local id = summer.addListen("0.0.0.0",8881,"", nil, nil, 1)
if id == nil then
summer.logw("id == nil when addListen")
end
print("new accept id=" .. id)
local startTick = summer.now()
--进入循环
--summer.run()
--如果嵌入其他程序 例如cocos2dx, 可以吧runOnce设置true然后放入update中.
--while summer.runOnce(true) do
while summer.runOnce() and summer.now() - startTick < 10*1000 do
end
|
--
-- Fiio X1
--
FIIOX1 = {}
-- 0 is PF3, 1 is PE1
function FIIOX1.get_backlight_type()
return FIIOX1.bl_type
end
-- 0 is V2, 1 is V1
function FIIOX1.get_hw_type()
return FIIOX1.hw_type
end
function FIIOX1.hw_detect()
-- PA12 is used to detect hardware version
JZ.gpio.pin(0, 12).std_gpio_out(1)
FIIOX1.hw_type = JZ.gpio.pin(0, 12).read()
-- PA13 is used to detect backlight type
JZ.gpio.pin(0, 13).std_gpio_out(1)
FIIOX1.bl_type = JZ.gpio.pin(0, 13).read()
if FIIOX1.hw_type == 1 then
print("Fiio X1: hardware version: V01")
else
print("Fiio X1: hardware version: V02")
end
print(string.format("Fiio X1: backlight type: %s", FIIOX1.bl_type))
end
function FIIOX1.get_backlight_pin()
if FIIOX1.get_backlight_type() == 0 then
-- PF3
return JZ.gpio.pin(5, 3)
else
-- PE1
return JZ.gpio.pin(4, 1)
end
end
function FIIOX1.init_backligt()
-- setup as output, high level to make no change
FIIOX1.get_backlight_pin().std_gpio_out(1)
end
function FIIOX1.enable_backlight(en)
local pin = FIIOX1.get_backlight_pin()
pin.clr()
hwstub.mdelay(1)
if en then
pin.set()
end
end
function FIIOX1.test_backlight()
print("backlight test")
print("enable backlight")
FIIOX1.enable_backlight(true)
print("sleep for 1 sec")
hwstub.mdelay(1000)
print("disable backlight")
FIIOX1.enable_backlight(false)
print("sleep for 1 sec")
hwstub.mdelay(1000)
print("enable backlight")
FIIOX1.enable_backlight(true)
end
function FIIOX1.setup_fiio_lcd_pins()
-- PE4: reset pin
JZ.gpio.pin(4, 4).std_gpio_out(1)
-- PC9: unknown
JZ.gpio.pin(2, 9).std_gpio_out(0)
-- PC2: unknown
JZ.gpio.pin(2, 2).std_gpio_out(1)
-- PF0: unknown
JZ.gpio.pin(5, 0).std_gpio_out(1)
end
function FIIOX1.lcd_reset()
local pin = JZ.gpio.pin(4, 4)
pin.set()
hwstub.mdelay(50)
pin.clr()
hwstub.mdelay(50)
pin.set()
hwstub.mdelay(150)
end
function FIIOX1.init_lcd()
-- setup Fiio X1 specific pins
FIIOX1.setup_fiio_lcd_pins()
-- reset lcd
FIIOX1.lcd_reset()
end
-- call with nil to get automatic name
function FIIOX1.dump_ipl(file)
FIIOX1.hw_detect()
if file == nil then
file = "fiiox1_ipl_hw_v" .. FIIOX1.hw_type .. ".bin"
end
print("Dumping IPL to " .. file .." ...")
JZ.nand.rom.init()
JZ.nand.rom.read_flags()
local ipl = JZ.nand.rom.read_bootloader()
JZ.nand.rom.write_to_file(file, ipl)
end
-- call with nil to get automatic name
function FIIOX1.dump_spl(file)
FIIOX1.hw_detect()
if file == nil then
file = "fiiox1_spl_hw_v" .. FIIOX1.hw_type .. ".bin"
end
print("Dumping SPL to " .. file .." ...")
-- hardcoded parameters are specific to the Fiio X1
local nand_params = {
bus_width = 16,
row_cycle = 2,
col_cycle = 2,
page_size = 2048,
page_per_block = 64,
oob_size = 64,
badblock_pos = 0,
badblock_page = 0,
ecc_pos = 4,
ecc_size = 13,
ecc_level = 8,
addr_setup_time = 4,
addr_hold_time = 4,
write_strobe_time = 4,
read_strobe_time = 4,
recovery_time = 13,
}
local spl = JZ.nand.rom.read_spl(nand_params, 0x400, 0x200)
JZ.nand.rom.write_to_file(file, spl)
end
function FIIOX1.init()
FIIOX1.hw_detect()
FIIOX1.init_backligt()
FIIOX1.test_backlight()
FIIOX1.init_lcd()
end
|
--[[--------------------------------------------------------------------------
luavenster - object oriented GUI on winapi for Lua
Copyright (C) 2011 Klaus Oberhofer. See copyright notice in
LICENSE file
demonstrates tree view control
--]]--------------------------------------------------------------------------
local venster = require("venster")
local winapi = require("luawinapi")
local bit = require("bit32")
local bnot = bit.bnot
local band, bor, bxor = bit.band, bit.bor, bit.bxor
--==============================================================
-- create main window
local mainWindow = venster.Window{
label = _T("Main window"),
style = bor(WS_VISIBLE, WS_SYSMENU),
OnClose = function(self)
winapi.PostQuitMessage(0)
return true
end,
children = {
venster.TreeView{
id = "treeView",
label = _T"Tree",
style = bor(WS_CHILD + WS_VISIBLE + TVS_HASLINES + TVS_LINESATROOT + TVS_HASBUTTONS),
pos = { x=0, y=0, w=100, h=100 }
}
},
layout = venster.FillLayout{
dir = "horizontal",
"treeView"
},
OnCreate = function(self)
local tv = self.children.treeView
local root = tv:AddItem(0, 0, { text = _T("root") } )
local subitem = tv:AddItem(root, 0, { text = _T("subitem") } )
tv:AddItems(subitem, TVI_LAST,
{
{ _T("child1") },
{ _T("child2") },
{ _T("child3") },
{ _T("child4") }
}
)
tv:ExpandAll(root)
end,
[WM_NOTIFY] = {
[NM_RCLICK] = function(self, nmh)
-- select item on right click
local htree = self.children.treeView
local tvh = htree:Hittest()
if (tvh) then
htree:SelectItem(tvh.hItem)
end
-- don't suppress default handling
return nil
end
}
}
--==============================================================
local app = venster.Application(mainWindow)
app:run()
|
local sBannerPath = THEME:GetPathG("Common", "fallback jacket");
local sJacketPath = THEME:GetPathG("Common", "fallback jacket");
local bAllowJackets = true
local song;
local group;
local getOn = 0;
local getOff = 0;
centerObjectProxy = nil;
--main backing
local t = Def.ActorFrame {
--[[SetCommand=function(self,params)
local song = params.Song
local index = params.DrawIndex
if song then
if getOn == 0 then
if index == 8 then
self:zoom(0):decelerate(0.2):zoom(1)
elseif index < 8 then
self:addx(-SCREEN_WIDTH):decelerate(0.2):addx(SCREEN_WIDTH)
elseif index > 8 then
self:addx(SCREEN_WIDTH):decelerate(0.2):addx(-SCREEN_WIDTH)
end;
end;
end;
self:queuecommand("SetOn");
end;
SetOnCommand=function(self)
getOn = 1;
end;]]--
Def.Sprite {
OnCommand=function(self)
self:diffusealpha(1):setsize(174,210)
self:y(-2)
end;
SetMessageCommand=function(self,params)
group = string.gsub(params.Text,"^%d%d? ?%- ?", "");
local so = GAMESTATE:GetSortOrder();
if group then
if group_name[group] then
self:Load(THEME:GetPathG("","_jackets/backing/full/"..group_name[group][2]..".png"))
self:diffusealpha(1):setsize(174,210):diffuse(color("#FFFFFF"))
self:y(-2)
else
self:Load(THEME:GetPathG("","MusicWheelItem Song NormalPart/Backing.png"));
local so = GAMESTATE:GetSortOrder();
if so == "SortOrder_Title" or so == "SortOrder_Artist" then
self:diffuse(color("#fff582"));
elseif so == "SortOrder_AllDifficultyMeter" then
self:diffuse(color("#0167ae"));
elseif so == "SortOrder_BPM" then
self:diffuse(color("#69ebca"));
elseif so == "SortOrder_Popularity" then
self:diffuse(color("#b679fd"));
elseif so == "SortOrder_TopGrades" then
self:diffuse(color("#7dff44"));
elseif so == "SortOrder_Genre" then
self:diffuse(color("#ffffff"));
else
--self:diffuse(color(color_grp))
self:diffuse(color("White"));
self:diffusealpha(1)
end;
self:y(-2):setsize(174,210)
self:diffusealpha(1);
end;
end;
end;
};
--border default
LoadActor("title")..{
InitCommand=function(self)
self:y(-20)
end;
};
Def.Sprite{
InitCommand=cmd(scaletoclipped,140,140);
SetMessageCommand=function(self,params)
local song = params.Song;
local pssp1 = STATSMAN:GetCurStageStats(params.Song):GetPlayerStageStats("PlayerNumber_P1")
local staw1 = STATSMAN:GetCurStageStats(params.Song):GetPlayerStageStats("PlayerNumber_P1"):GetStageAward();
local pssp2 = STATSMAN:GetCurStageStats(params.Song):GetPlayerStageStats("PlayerNumber_P2")
if song then
if not PROFILEMAN:IsSongNew(params.Song) then
self:Load(THEME:GetPathG("MusicWheelItem Song","NormalPart/Borders/cleared.png"));
self:diffusealpha(1);
self:draworder(1);
else
self:diffusealpha(0);
end;
end;
end;
};
--title part
Def.BitmapText{
Font="_@dfgW7 36px";
InitCommand=cmd(zoom,0.7;maxwidth,140/0.7;wrapwidthpixels,2^24);
SetMessageCommand=function(self, param)
local Song = param.Song;
local Course = param.Course;
if Song then
self:y(86)
self:settext(Song:GetDisplayMainTitle());
self:diffuse(color("#FFFFFF"));
end
end;
};
Def.Quad {
InitCommand=cmd(setsize,130,130;diffuse,color("#000000"));
};
--banner
Def.Sprite {
Name="Banner";
InitCommand=cmd(scaletoclipped,128,128);
--[[BannerCommand=cmd(scaletoclipped,128,128);
JacketCommand=cmd(scaletoclipped,128,128);]]
SetMessageCommand=function(self,params)
local Song = params.Song;
local Course = params.Course;
if Song then
if params.HasFocus then
centerObjectProxy = self;
end;
if ( Song:GetJacketPath() ~= nil ) and ( bAllowJackets ) then
self:Load( Song:GetJacketPath() );
--self:playcommand("Jacket");
elseif ( Song:GetBackgroundPath() ~= nil ) and ( bAllowJackets ) then
self:Load( Song:GetBackgroundPath() );
--self:playcommand("Jacket");
elseif ( Song:GetBannerPath() ~= nil ) then
self:Load( Song:GetBannerPath() );
--self:playcommand("Banner");
else
self:Load( bAllowJackets and sBannerPath or sJacketPath );
--self:playcommand( bAllowJackets and "Jacket" or "Banner" );
end;
elseif Course then
if ( Course:GetBackgroundPath() ~= nil ) and ( bAllowJackets ) then
self:Load( Course:GetBackgroundPath() );
--self:playcommand("Jacket");
elseif ( Course:GetBannerPath() ~= nil ) then
self:Load( Course:GetBannerPath() );
--self:playcommand("Banner");
else
self:Load( sJacketPath );
--self:playcommand( bAllowJackets and "Jacket" or "Banner" );
end
else
self:Load( bAllowJackets and sJacketPath or sBannerPath );
--self:playcommand( bAllowJackets and "Jacket" or "Banner" );
end;
end;
};
--new song
LoadActor("NEW") .. {
InitCommand=cmd(y,-84;finishtweening;draworder,1;zoom,1;bob;effectmagnitude,0,5,0);
SetCommand=function(self,param)
if param.Song then
if PROFILEMAN:IsSongNew(param.Song) then
self:visible(true);
else
self:visible(false);
end
else
self:visible(false);
end
end;
};
};
if GAMESTATE:IsPlayerEnabled(PLAYER_1) then
t[#t+1] = LoadActor("diff.lua",PLAYER_1)..{
InitCommand=cmd(xy,-61,-85);
}
end;
if GAMESTATE:IsPlayerEnabled(PLAYER_2) then
t[#t+1] = LoadActor("diff.lua",PLAYER_2)..{
InitCommand=cmd(xy,61,-85);
}
end;
return t;
|
local bankrupt_pin_map = require("qnFiles/qnPlist/hall/bankrupt_pin");
local brokeAllowanceComponent=
{
name="brokeAllowanceComponent",type=0,typeName="View",time=0,x=0,y=0,width=438,height=450,visible=1,nodeAlign=kAlignTopLeft,fillParentWidth=0,fillParentHeight=0,
{
name="Image_frame",type=0,typeName="Image",time=110635612,x=0,y=30,width=360,height=330,nodeAlign=kAlignCenter,visible=1,fillParentWidth=0,fillParentHeight=0,file=bankrupt_pin_map['broke_frame.png'],gridLeft=20,gridRight=20,gridTop=20,gridBottom=20,
{
name="Image_iconMatch",type=0,typeName="Image",time=110635649,x=0,y=-20,width=170,height=165,nodeAlign=kAlignCenter,visible=0,fillParentWidth=0,fillParentHeight=0,file=bankrupt_pin_map['broke_match.png']
},
{
name="Button_go",type=0,typeName="Button",time=110635662,x=0,y=24,width=220,height=76,nodeAlign=kAlignBottom,visible=1,fillParentWidth=0,fillParentHeight=0,file="hall/common/btns/btn_green_164x89_l25_r25_t25_b25.png",gridLeft=25,gridRight=25,gridTop=25,gridBottom=25,
{
name="Text_button",type=0,typeName="Text",time=110635670,x=0,y=0,width=112,height=64,nodeAlign=kAlignCenter,visible=1,fillParentWidth=0,fillParentHeight=0,string=[[去比赛场]],fontSize=28,textAlign=kAlignCenter,colorRed=255,colorGreen=235,colorBlue=186
}
},
{
name="Text_tittleRight",type=0,typeName="Text",time=110635601,x=10,y=360,width=100,height=50,nodeAlign=kAlignBottomRight,visible=0,fillParentWidth=0,fillParentHeight=0,string=[[00:00]],fontSize=40,textAlign=kAlignCenter,colorRed=235,colorGreen=73,colorBlue=41,colorA=1
},
{
name="Text_tittleLeft",type=0,typeName="Text",time=110635599,x=10,y=360,width=224,height=50,nodeAlign=kAlignBottomLeft,visible=0,fillParentWidth=0,fillParentHeight=0,string=[[免费救济倒计时:]],fontSize=28,textAlign=kAlignCenter,colorRed=143,colorGreen=92,colorBlue=31,colorA=1
},
{
name="Text_tittleMiddle",type=0,typeName="Text",time=110636471,x=0,y=330,width=308,height=64,nodeAlign=kAlignBottom,visible=0,fillParentWidth=0,fillParentHeight=0,string=[[现金不足,请取钱后再战]],fontSize=28,textAlign=kAlignCenter,colorRed=143,colorGreen=92,colorBlue=31,colorA=1
},
{
name="View_money_count",type=0,typeName="View",time=0,x=0,y=335,width=340,height=30,visible=0,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignBottom,
{
name="Text_tittleLeft17",type=0,typeName="Text",time=110635599,x=0,y=0,width=132,height=30,nodeAlign=kAlignLeft,visible=1,fillParentWidth=0,fillParentHeight=0,string=[[当前救济金:]],fontSize=22,textAlign=kAlignCenter,colorRed=143,colorGreen=92,colorBlue=31,colorA=1
},
{
name="Image18",type=1,typeName="Image",time=0,x=132,y=0,width=40,height=40,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignLeft,file="isolater/gold.png"
},
{
name="Text_money_count",type=4,typeName="Text",time=0,x=172,y=0,width=48,height=30,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignLeft,fontSize=24,textAlign=kAlignLeft,colorRed=203,colorGreen=115,colorBlue=1,string=[[8000]],colorA=1
}
},
{
name="Image_iconGold",type=0,typeName="Image",time=110645747,x=0,y=-40,width=195,height=140,nodeAlign=kAlignCenter,visible=0,fillParentWidth=0,fillParentHeight=0,file=bankrupt_pin_map['broke_gold.png']
},
{
name="Image_iconShare",type=0,typeName="Image",time=110645751,x=0,y=-20,width=137,height=138,nodeAlign=kAlignCenter,visible=0,fillParentWidth=0,fillParentHeight=0,file=bankrupt_pin_map['broke_share.png']
},
{
name="Image_iconSafeBox",type=0,typeName="Image",time=110645753,x=0,y=-20,width=171,height=162,nodeAlign=kAlignCenter,visible=0,fillParentWidth=0,fillParentHeight=0,file=bankrupt_pin_map['broke_case.png']
},
{
name="Image_cut_cd",type=0,typeName="Image",time=110645747,x=0,y=-40,width=187,height=169,nodeAlign=kAlignCenter,visible=0,fillParentWidth=0,fillParentHeight=0,file=bankrupt_pin_map['broke_cut_cd.png']
},
{
name="View_upTip",type=0,typeName="View",time=110646233,x=0,y=0,width=360,height=50,nodeAlign=kAlignTop,visible=0,fillParentWidth=0,fillParentHeight=0,
{
name="Text_tips",type=0,typeName="Text",time=110635643,x=0,y=0,width=286,height=50,nodeAlign=kAlignTop,visible=1,fillParentWidth=0,fillParentHeight=0,string=[[参加免费比赛,赢银币拿大奖]],fontSize=22,textAlign=kAlignCenter,colorRed=143,colorGreen=92,colorBlue=31,colorA=1
}
},
{
name="View_downTip",type=0,typeName="View",time=110646400,x=0,y=190,width=360,height=50,nodeAlign=kAlignTop,visible=0,fillParentWidth=0,fillParentHeight=0
}
}
}
return brokeAllowanceComponent;
|
local events_table = require("gui/events_table")
local time_filter = require("scripts/filter-time")
local rocket_log = require("scripts/rocket_log")
-- Navigate recursively to find the star system this zone is in
--local get_star_name(zone)
-- local star_name = nil
-- for i=1,8 do
-- if not zone then
-- break
-- end
-- if zone.type == "star" then
-- star_name = zone.name
-- break
-- end
-- zone = zone.parent
-- end
-- return star_name
--end
local function update_filters(gui_id)
-- Update the dropdown list options
local rocket_log_gui = global.guis[gui_id]
local filter_guis = rocket_log_gui.gui.filter
local force_index = rocket_log_gui.player.force.index
-- Make list of surfaces to allow in selection boxes
local origins = {{name={"rocket-log.filter-zone-select-none"}, index=-1}}
local targets = {{name={"rocket-log.filter-zone-select-none"}, index=-1}}
local origin_list = {}
local target_list = {}
--local origin_system_list = {}
--local target_system_list = {}
for _, record in pairs(global.history) do
if record.force_index == force_index then
if not origin_list[record.origin_zone_id] then
origin_list[record.origin_zone_id] = true
table.insert(origins, {name="[img="..record.origin_zone_icon.."] "..record.origin_zone_name, index=record.origin_zone_id})
--local parent = remote.call("space-exploration", "get_zone_from_zone_index", {zone_index = record.origin_zone_id}).parent
--if parent then
-- if parent.parent then
-- origin_system_list[parent.parent.index] = true
-- else
-- origin_system_list[parent.index] = true
-- end
--end
end
if not target_list[record.target_zone_id] then
target_list[record.target_zone_id] = true
table.insert(targets, {name="[img="..record.target_zone_icon.."] "..record.target_zone_name, index=record.target_zone_id})
--local zone = remote.call("space-exploration", "get_zone_from_zone_index", {zone_index = record.target_zone_id})
--local system = get_star_name(zone)
--if parent then
-- if parent.parent then
-- target_system_list[parent.parent.index] = parent.parent.name
-- else
-- target_system_list[parent.index] = parent.name
-- end
--end
end
end
end
--for i,p in pairs(target_system_list) do
-- table.insert(origins, {name="[img=se-map-gui-system] "..p.." System", index=i-0.5})
--end
--for i,p in pairs(origin_system_list) do
-- table.insert(targets, {name="[img=se-map-gui-system] "..p.." System", index=i-0.5})
--end
table.sort(origins, function(a, b) return a.index < b.index end)
table.sort(targets, function(a, b) return a.index < b.index end)
local old_origin = filter_guis.origin_list.get_item(filter_guis.origin_list.selected_index)
local old_target = filter_guis.target_list.get_item(filter_guis.target_list.selected_index)
local new_origin_index = 1
local new_target_index = 1
local new_origin_items = {}
local new_target_items = {}
for i,x in pairs(origins) do
if old_origin == x.name then
new_origin_index = i
end
table.insert(new_origin_items, x.name)
end
for i,x in pairs(targets) do
if old_target == x.name then
new_target_index = i
end
table.insert(new_target_items, x.name)
end
filter_guis.origin_list.items=new_origin_items
filter_guis.target_list.items=new_target_items
filter_guis.origin_list.selected_index=new_origin_index
filter_guis.target_list.selected_index=new_target_index
end
local function refresh(gui_id)
local filter_guis = global.guis[gui_id].gui.filter
filter_guis.item.tooltip = (filter_guis.item.elem_value and game.item_prototypes[filter_guis.item.elem_value] and
game.item_prototypes[filter_guis.item.elem_value].localised_name) or ""
update_filters(gui_id)
events_table.create_events_table(gui_id)
end
local function handle_action(action, event)
local gui_id = action.gui_id
local filter_guis = global.guis[gui_id].gui.filter
if action.action == "clear-older" then
local older_than = game.tick - time_filter.ticks(filter_guis.time_period.selected_index)
local player = game.players[event.player_index]
local force = player.force
rocket_log.clear_older(event.player_index, older_than)
force.print { "rocket-log.player-cleared-history", player.name }
refresh(gui_id)
elseif action.action == "filter" then
if action.filter == "item" and game.item_prototypes[action.value] then
filter_guis.item.elem_value = action.value
refresh(gui_id)
elseif action.filter == "origin" then
for i,x in pairs(filter_guis.origin_list.items) do
if i > 1 then -- skip the "none" entry
if action.value == string.gsub(x, "^(%[.*%] )", "") then
filter_guis.origin_list.selected_index = i
break
end
end
end
refresh(gui_id)
elseif action.filter == "target" then
for i,x in pairs(filter_guis.target_list.items) do
if i > 1 then -- skip the "none" entry
if action.value == string.gsub(x, "^(%[.*%] )", "") then
filter_guis.target_list.selected_index = i
break
end
end
end
refresh(gui_id)
end
elseif action.action == "clear-filter" then
filter_guis.origin_list.selected_index = 1
filter_guis.target_list.selected_index = 1
filter_guis.item.elem_value = nil
refresh(gui_id)
elseif action.action == "refresh" then
refresh(gui_id)
end
end
local function create_toolbar(gui_id)
return {
type = "flow",
direction = "vertical",
children = {
{
type = "flow",
direction = "horizontal",
children = {
{
type = "sprite",
sprite = "rocket-log-clock-white",
},
{
type = "drop-down",
items = time_filter.time_period_items,
selected_index = time_filter.default_index,
tooltip = { "rocket-log.filter-time-period-label" },
ref = { "filter", "time_period" },
actions = {
on_selection_state_changed = { type = "toolbar", action = "refresh", gui_id = gui_id }
}
},
{
type = "sprite-button",
sprite = "utility/refresh",
style = "item_and_count_select_confirm",
tooltip = { "rocket-log.refresh" },
actions = {
on_click = { type = "toolbar", action = "refresh", gui_id = gui_id }
}
},
{
type = "button",
style = "red_button",
caption = { "rocket-log.clear-older" },
actions = {
on_click = { type = "toolbar", action = "clear-older", gui_id = gui_id }
}
},
}
},
{
type = "flow",
direction = "horizontal",
children = {
{
type = "sprite",
sprite = "entity/se-rocket-launch-pad",
tooltip = { "rocket-log.filter-origin-label" },
},
{
type = "drop-down",
ref = { "filter", "origin_list" },
items = {{"rocket-log.filter-zone-select-none"}},
selected_index = 1,
actions = {
on_selection_state_changed = { type = "toolbar", action = "refresh", gui_id = gui_id }
}
},
{
type = "sprite",
sprite = "entity/se-rocket-landing-pad",
tooltip = { "rocket-log.filter-target-label" },
},
{
type = "drop-down",
ref = { "filter", "target_list" },
items = {{"rocket-log.filter-zone-select-none"}},
selected_index = 1,
actions = {
on_selection_state_changed = { type = "toolbar", action = "refresh", gui_id = gui_id }
}
},
{
type = "sprite",
sprite = "entity/se-cargo-rocket-cargo-pod",
tooltip = { "rocket-log.filter-item-label" },
},
{
type = "choose-elem-button",
elem_type = "item",
ref = { "filter", "item" },
actions = {
on_elem_changed = {
type = "toolbar", action = "refresh", gui_id = gui_id
}
}
},
{
type = "sprite-button",
sprite = "se-search-close-white",
hovered_sprite = "se-search-close-black",
clicked_sprite="se-search-close-black",
tooltip = { "rocket-log.filter-clear" },
actions = {
on_click = { type = "toolbar", action = "clear-filter", gui_id = gui_id }
}
},
}
}
}
}
end
return {
handle_action = handle_action,
create_toolbar = create_toolbar,
refresh = refresh
}
|
local _, ns = ...
local default = {
ADDON_NAME = "HandyNotes - Timeless Treasures",
NAME = "Timeless Treasures",
-- chests
["Moss-Covered Chest"] = "Moss-Covered Chest",
["Sturdy Chest"] = "Sturdy Chest",
["Smoldering Chest"] = "Smoldering Chest",
["Skull-Covered Chest"] = "Skull-Covered Chest",
["Blazing Chest"] = "Blazing Chest",
-- notes
["On a treestump"] = "On a treestump",
["In the shipwreck of Cpt. Zvezdan"] = "In the shipwreck of Cpt. Zvezdan",
["On the top of the cliff. Use the Highwind Albatross"] = "On the top of the cliff. Use the Highwind Albatross",
["Inside the Mysterious Den. Use one of objects from Legends of the Past"] = "Inside the Mysterious Den. Use one of objects from \"Legends of the Past\" to enter.",
["Inside Cavern of Lost Spirits (entrance at 43.2, 41.3)"] = "Inside Cavern of Lost Spirits (entrance at 43.2, 41.3)",
-- tooltip
["Completed"] = "Completed",
-- buttons
["Create waypoint"] = "Create waypoint",
-- options
["Timeless Treasures locations."] = "Locations of the chests for \"Treasure, Treasure Everywhere\".",
["These settings control the visibility of the icons."] = "These settings control the visibility of the icons.\n\n",
["Show completed"] = "Show completed",
["Show icons for treasures you have already got."] = "Show icons for chests you have already opened.",
["Show Moss-Covered Chests"] = "Show Moss-Covered Chests",
["Show not completed Moss-Covered Chests"] = "Show not completed Moss-Covered Chests",
["Remove Icon Border"] = "Remove Icon Border",
["Icon Scale"] = "Icon Scale",
["Change the size of the icons."] = "Change the size of the icons.",
["Icon Alpha"] = "Icon Alpha",
["Change the transparency of the icons."] = "Change the transparency of the icons.",
["These settings control the look of the icons."] = "\n\nThese settings control the look of the icons.\n\n",
["Change Icon"] = "Enter the full texture path \ni.e. |cffFFFF00Interface\\ICONS\\inv_box_01|r",
}
local localization = {}
localization.deDE = {
-- chests
["Moss-Covered Chest"] = "Moosüberwucherte Truhe",
["Sturdy Chest"] = "Robuste Truhe",
["Smoldering Chest"] = "Schwelende Truhe",
["Skull-Covered Chest"] = "Totenkopftruhe",
["Blazing Chest"] = "Lodernde Truhe",
-- notes
["On a treestump"] = "Auf dem Baumstrunk",
["In the shipwreck of Cpt. Zvezdan"] = "Im Wrack von Kpt. Zvezdan's Schiff",
["On the top of the cliff. Use the Highwind Albatross"] = "Auf der Klippenspitze. Benutze den Böenalbatros.",
["Inside the Mysterious Den. Use one of objects from Legends of the Past"] = "In der Geheimnisvolle Höhle. Benutze einen der Gegenstände für \"Legende vergangener Zeiten\" um reinzukommen.",
["Inside Cavern of Lost Spirits (entrance at 43.2, 41.3)"] = "in der Höhle der Verlorenen Geister (Eingang am 43.2, 41.3)",
-- tooltip
["Completed"] = "Abgeschlossen",
-- buttons
["Create waypoint"] = "Wegpunkt erstellen",
-- options
["Timeless Treasures locations."] = "Orte der Truhen für \"Meine Schätze!\".",
["These settings control the visibility of the icons."] = "Diese Einstellungen bestimmen die Sichtbarkeit der Symbole.\n\n",
["Show completed"] = "Abgeschlossene anzeigen",
["Show icons for treasures you have already got."] = "Zeigt die Truhen an, die bereits aufgemacht worden sind.",
["Show Moss-Covered Chests"] = "Mossüberwucherte Truhen anzeigen",
["Show not completed Moss-Covered Chests"] = "Zeigt noch nicht gefundene mossüberwucherte Truhen an",
["Remove Icon Border"] = "Symbolumrahmung entfernen",
["Icon Scale"] = "Symbolgröße",
["Change the size of the icons."] = "Ändert die Symbolgröße.",
["Icon Alpha"] = "Symboltransparenz",
["Change the transparency of the icons."] = "Ändert die Symboltransparenz.",
["These settings control the look of the icons."] = "\n\nDiese Einstellungen bestimmen das Aussehen der Symbole.\n\n",
["Change Icon"] = "Gebt den vollständigen Pfad für die Textur an \nz.B. |cffFFFF00Interface\\ICONS\\inv_box_01|r",
}
localization.esES = {
ADDON_NAME = "HandyNotes - Tesoros intemporales",
NAME = "Tesoros intemporales",
-- chests
["Moss-Covered Chest"] = "Cofre cubierto de musgo",
["Sturdy Chest"] = "Cofre robusto",
["Smoldering Chest"] = "Cofre humeante",
["Skull-Covered Chest"] = "Cofre adornado de calaveras",
["Blazing Chest"] = "Cofre llameante",
-- notes
["On a treestump"] = "En el tocón ",
["In the shipwreck of Cpt. Zvezdan"] = "En el naufragio del Capitán Zvezdan",
["On the top of the cliff. Use the Highwind Albatross"] = "En la cima de la montaña. Usa el Albatros Vientofuerte",
["Inside the Mysterious Den. Use one of objects from Legends of the Past"] = "Dentro de Guarida Misteriosa. Utiliza uno de los objetos de \"Leyendas del pasado\" para entrar.", -- Needs review
["Inside Cavern of Lost Spirits (entrance at 43.2, 41.3)"] = "Dentro de la Caverna de los Espíritus Perdidos (entrada en 43.2, 41.3)",
-- tooltip
["Completed"] = "Completado",
-- buttons
["Create waypoint"] = "Crear waypoint",
-- options
["Timeless Treasures locations."] = "Ubicación de los tesoros intemporales",
["These settings control the visibility of the icons."] = "Estos ajustes controlan la visibilidad de los iconos.\n\n",
["Show completed"] = "Mostrar completados",
["Show icons for treasures you have already got."] = "Mostrar los iconos de los tesoros ya conseguidos",
["Show Moss-Covered Chests"] = "Mostrar Cofres cubiertos de musgo",
["Show not completed Moss-Covered Chests"] = "Mostrar Cofres cubiertos de musgo sin abrir",
["Remove Icon Border"] = "Eliminar bordes del icono",
["Icon Scale"] = "Escala de icono",
["Change the size of the icons."] = "Cambiar el tamaño de los iconos.",
["Icon Alpha"] = "Icono Alpha",
["Change the transparency of the icons."] = "Cambiar la transparencia de los iconos",
["These settings control the look of the icons."] = "\n\nEstos ajustes controlan el aspecto de los iconos.\n\n",
["Change Icon"] = "Introduzca la ruta completa de la textura\nejem. |cffFFFF00Interface\\ICONS\\inv_box_01|r",
}
localization.esMX = localization.esES
do
for _, tbl in pairs(localization) do
setmetatable(tbl, {__index = default})
end
end
ns.L = localization[GetLocale()] or default
|
local prometheus = require "kong.plugins.prometheus.exporter"
local basic_serializer = require "kong.plugins.log-serializers.basic"
prometheus.init()
local PrometheusHandler = {
PRIORITY = 13,
VERSION = "0.9.0",
}
function PrometheusHandler.init_worker()
prometheus.init_worker()
end
function PrometheusHandler.log()
local message = basic_serializer.serialize(ngx)
prometheus.log(message)
end
return PrometheusHandler
|
push = require 'push'
Class = require 'class'
require 'Bird'
require 'Pipe'
require 'PipePair'
require 'Badge'
require 'StateMachine'
require 'states/BaseState'
require 'states/PlayState'
require 'states/ScoreState'
require 'states/CountdownState'
require 'states/PauseState'
require 'states/TitleScreenState'
WWIDTH = 1280
WHEIGHT = 720
VWIDTH = 512
VHEIGHT = 288
local bg = love.graphics.newImage('sprites/background.png')
local bgScroll = 0
local ground = love.graphics.newImage('sprites/ground.png')
local groundScroll = 0
local BG_SCROLL_SPEED = 30
local GROUND_SCROLL_SPEED = 60
local BG_LOOPING_POINT = 413
local GROUND_LOOPING_POINT = 514
local scrolling = true
local playState = PlayState()
function love.load()
love.graphics.setDefaultFilter('nearest', 'nearest')
love.window.setTitle('Moon Bird')
smallFont = love.graphics.newFont('fonts/font.ttf', 8)
mediumFont = love.graphics.newFont('fonts/flappy.ttf', 14)
flappyFont = love.graphics.newFont('fonts/flappy.ttf', 28)
hugeFont = love.graphics.newFont('fonts/flappy.ttf', 56)
love.graphics.setFont(flappyFont)
sounds = {
['jump'] = love.audio.newSource('sfx/jump.wav', 'static'),
['badge'] = love.audio.newSource('sfx/badge.wav', 'static'),
['explosion'] = love.audio.newSource('sfx/explosion.wav', 'static'),
['death'] = love.audio.newSource('sfx/death.wav', 'static'),
['score'] = love.audio.newSource('sfx/score.wav', 'static'),
}
push:setupScreen(VWIDTH, VHEIGHT, WWIDTH, WHEIGHT, {
vsync = true,
fullscreen = false,
resizable = true
})
gStateMachine = StateMachine {
['title'] = function() return TitleScreenState() end,
['pause'] = function() return PauseState() end,
['countdown'] = function() return CountdownState() end,
['play'] = function() return playState end,
['score'] = function() return ScoreState() end,
}
gStateMachine:change('title')
love.keyboard.keysPressed = {}
end
function love.update(dt)
if love.keyboard.wasPressed('p') then
if scrolling then
scrolling = false
gStateMachine:change('pause')
end
end
if love.keyboard.wasPressed('s') then
if not scrolling then
scrolling = true
gStateMachine:change('play')
end
end
if not scrolling then
gStateMachine:update(dt)
return
end
bgScroll = (bgScroll + BG_SCROLL_SPEED * dt) % BG_LOOPING_POINT
groundScroll = (groundScroll + GROUND_SCROLL_SPEED * dt) % VWIDTH
gStateMachine:update(dt)
love.keyboard.keysPressed = {}
end
function love.resize(w, h)
push:resize(w,h)
end
function love.keypressed(key)
love.keyboard.keysPressed[key] = true
if key == 'escape' then
love.event.quit()
end
end
function love.keyboard.wasPressed(key)
return love.keyboard.keysPressed[key]
end
function love.draw()
push:start()
love.graphics.draw(bg, -bgScroll, 0)
gStateMachine:render()
love.graphics.draw(ground, -groundScroll, VHEIGHT - 16)
push:finish()
end
|
-------------------------------------------------------------------------------
-- Module Declaration
--
local mod, CL = BigWigs:NewBoss("Novos the Summoner", 600, 589)
if not mod then return end
mod:RegisterEnableMob(26631)
mod.engageId = 1976
mod.respawnTime = 30
-------------------------------------------------------------------------------
-- Locals
--
local crystalHandlersSpawned = 1 -- to decide whether CDBar needs to be displayed
local crystalHandlersLeft = 4 -- to display CL.mob_remaining messages
-------------------------------------------------------------------------------
-- Localization
--
local L = mod:GetLocale()
if L then
L.adds = -6378 -- Crystal Handler
L.adds_desc = -6375 -- The description of the first stage that mentions that 4 of those need to be killed.
end
-------------------------------------------------------------------------------
-- Initialization
--
function mod:GetOptions()
return {
"stages",
"adds", -- Crystal Handler
47346, -- Arcane Field
49034, -- Blizzard
50089, -- Wrath of Misery
59910, -- Summon Minions
}, {
["stages"] = "general",
["adds"] = CL.stage:format(1),
[49034] = CL.stage:format(2),
}
end
function mod:OnBossEnable()
-- Arcane Field, normal/heroic Blizzard
self:Log("SPELL_AURA_APPLIED", "GroundDamage", 47346, 49034, 59854)
self:Log("SPELL_PERIODIC_DAMAGE", "GroundDamage", 47346)
self:Log("SPELL_PERIODIC_MISSED", "GroundDamage", 47346)
-- Stage 1
self:RegisterEvent("CHAT_MSG_RAID_BOSS_EMOTE")
self:Death("AddDied", 26627)
-- Stage 2
self:RegisterUnitEvent("UNIT_TARGETABLE_CHANGED", nil, "boss1")
self:Log("SPELL_AURA_APPLIED", "WrathOfMisery", 50089, 59856) -- normal, heroic
self:Log("SPELL_AURA_REMOVED", "WrathOfMiseryRemoved", 50089, 59856)
self:Log("SPELL_CAST_SUCCESS", "WrathOfMiseryCastSuccess", 50089, 59856)
self:Log("SPELL_CAST_SUCCESS", "SummonMinions", 59910)
end
function mod:OnEngage()
crystalHandlersSpawned = 1
crystalHandlersLeft = 4
self:Message("stages", "cyan", nil, CL.stage:format(1), false)
self:CDBar("adds", 15.5, CL.count:format(self:SpellName(-6378), crystalHandlersSpawned), "spell_shadow_raisedead")
end
-------------------------------------------------------------------------------
-- Event Handlers
--
-- Arcane Field, normal/heroic Blizzard
do
local prev = 0
function mod:GroundDamage(args)
if self:Me(args.destGUID) then
local t = GetTime()
if t - prev > 1.5 then
prev = t
self:Message(args.spellId == 59854 and 49034 or args.spellId, "blue", "Alert", CL.you:format(args.spellName))
end
end
end
end
-- Stage 1
function mod:CHAT_MSG_RAID_BOSS_EMOTE(_, _, source, _, _, target) -- Crystal Handler spawned
if source == self.displayName then -- cross-module safety, this is the only BOSS_EMOTE present in this encounter.
crystalHandlersSpawned = crystalHandlersSpawned + 1
self:Message("adds", "yellow", "Alarm", CL.spawned:format(target), false)
if crystalHandlersSpawned <= 4 then
self:CDBar("adds", 15.8, CL.count:format(target, crystalHandlersSpawned), "spell_shadow_raisedead")
end
end
end
function mod:AddDied(args)
crystalHandlersLeft = crystalHandlersLeft - 1
self:Message("stages", "cyan", nil, CL.mob_remaining:format(args.destName, crystalHandlersLeft), false)
if crystalHandlersLeft == 0 then
self:Bar("stages", 6.5, CL.stage:format(2), "inv_trinket_naxxramas06") -- icon that's used in the "Defeat Kel'thuzad" achievement
end
end
-- Stage 2
function mod:UNIT_TARGETABLE_CHANGED(_, unit)
if UnitCanAttack("player", unit) then
self:Message("stages", "cyan", nil, CL.stage:format(2), false)
self:CDBar(50089, 6) -- Wrath of Misery
if not self:Normal() then
self:CDBar(59910, 1.5) -- Summon Minions
end
end
end
function mod:WrathOfMisery(args)
if self:Me(args.destGUID) or self:Healer() or self:Dispeller("curse") then
self:TargetMessage(50089, args.destName, "orange")
self:TargetBar(50089, 8, args.destName)
end
end
function mod:WrathOfMiseryRemoved(args)
self:StopBar(args.spellName, args.destName)
end
function mod:WrathOfMiseryCastSuccess()
self:CDBar(50089, 8.5) -- 8.5 - 15.8s
end
function mod:SummonMinions(args)
self:Message(args.spellId, "yellow", nil, CL.spawned:format(CL.adds))
self:CDBar(args.spellId, 39.8) -- time until the next SPELL_CAST_START, 39.8 - 42.3s
end
|
CSEnemyDie = { mName = "cs_die" }
CSEnemyDie.__index = CSEnemyDie
function CSEnemyDie:Create(character, context)
local this =
{
mCharacter = character,
mCombatScene = context,
mSprite = character.mEntity.mSprite,
mTween = nil,
mFadeColour = Vector.Create(1,1,1,1)
}
setmetatable(this, self)
return this
end
function CSEnemyDie:Enter()
self.mTween = Tween:Create(1, 0, 1)
end
function CSEnemyDie:Exit()
end
function CSEnemyDie:Update(dt)
self.mTween:Update(dt)
local alpha = self.mTween:Value()
self.mFadeColour:SetW(alpha)
self.mSprite:SetColor(self.mFadeColour)
end
function CSEnemyDie:Render(renderer)
end
function CSEnemyDie:IsFinished()
return self.mTween:IsFinished()
end
|
--[[checkboxData = {
type = "checkbox",
name = "My Checkbox",
tooltip = "Checkbox's tooltip text.",
getFunc = function() return db.var end,
setFunc = function(value) db.var = value doStuff() end,
width = "full", --or "half" (optional)
disabled = function() return db.someBooleanSetting end, --or boolean (optional)
warning = "Will need to reload the UI.", --(optional)
default = defaults.var, --(optional)
reference = "MyAddonCheckbox" --(optional) unique global reference to control
} ]]
local widgetVersion = 9
local LAM = LibStub("LibAddonMenu-2.0")
if not LAM:RegisterWidget("checkbox", widgetVersion) then return end
local wm = WINDOW_MANAGER
local cm = CALLBACK_MANAGER
local tinsert = table.insert
--label
local enabledColor = ZO_DEFAULT_ENABLED_COLOR
local enabledHLcolor = ZO_HIGHLIGHT_TEXT
local disabledColor = ZO_DEFAULT_DISABLED_COLOR
local disabledHLcolor = ZO_DEFAULT_DISABLED_MOUSEOVER_COLOR
--checkbox
local checkboxColor = ZO_NORMAL_TEXT
local checkboxHLcolor = ZO_HIGHLIGHT_TEXT
local function UpdateDisabled(control)
local disable
if type(control.data.disabled) == "function" then
disable = control.data.disabled()
else
disable = control.data.disabled
end
control.label:SetColor((disable and ZO_DEFAULT_DISABLED_COLOR or control.value and ZO_DEFAULT_ENABLED_COLOR or ZO_DEFAULT_DISABLED_COLOR):UnpackRGBA())
control.checkbox:SetColor((disable and ZO_DEFAULT_DISABLED_COLOR or ZO_NORMAL_TEXT):UnpackRGBA())
--control:SetMouseEnabled(not disable)
--control:SetMouseEnabled(true)
control.isDisabled = disable
end
local function ToggleCheckbox(control)
if control.value then
control.label:SetColor(ZO_DEFAULT_ENABLED_COLOR:UnpackRGBA())
control.checkbox:SetText(control.checkedText)
else
control.label:SetColor(ZO_DEFAULT_DISABLED_COLOR:UnpackRGBA())
control.checkbox:SetText(control.uncheckedText)
end
end
local function UpdateValue(control, forceDefault, value)
if forceDefault then --if we are forcing defaults
value = control.data.default
control.data.setFunc(value)
elseif value ~= nil then --our value could be false
control.data.setFunc(value)
--after setting this value, let's refresh the others to see if any should be disabled or have their settings changed
if control.panel.data.registerForRefresh then
cm:FireCallbacks("LAM-RefreshPanel", control)
end
else
value = control.data.getFunc()
end
control.value = value
ToggleCheckbox(control)
end
local function OnMouseEnter(control)
ZO_Options_OnMouseEnter(control)
if control.isDisabled then return end
local label = control.label
if control.value then
label:SetColor(ZO_HIGHLIGHT_TEXT:UnpackRGBA())
else
label:SetColor(ZO_DEFAULT_DISABLED_MOUSEOVER_COLOR:UnpackRGBA())
end
control.checkbox:SetColor(ZO_HIGHLIGHT_TEXT:UnpackRGBA())
end
local function OnMouseExit(control)
ZO_Options_OnMouseExit(control)
if control.isDisabled then return end
local label = control.label
if control.value then
label:SetColor(ZO_DEFAULT_ENABLED_COLOR:UnpackRGBA())
else
label:SetColor(ZO_DEFAULT_DISABLED_COLOR:UnpackRGBA())
end
control.checkbox:SetColor(ZO_NORMAL_TEXT:UnpackRGBA())
end
--controlName is optional
function LAMCreateControl.checkbox(parent, checkboxData, controlName)
local control = LAM.util.CreateLabelAndContainerControl(parent, checkboxData, controlName)
control:SetHandler("OnMouseEnter", OnMouseEnter)
control:SetHandler("OnMouseExit", OnMouseExit)
control:SetHandler("OnMouseUp", function(control)
if control.isDisabled then return end
PlaySound(SOUNDS.DEFAULT_CLICK)
control.value = not control.value
control:UpdateValue(false, control.value)
end)
control.checkbox = wm:CreateControl(nil, control.container, CT_LABEL)
local checkbox = control.checkbox
checkbox:SetAnchor(LEFT, control.container, LEFT, 0, 0)
checkbox:SetFont("ZoFontGameBold")
checkbox:SetColor(ZO_NORMAL_TEXT:UnpackRGBA())
control.checkedText = GetString(SI_CHECK_BUTTON_ON):upper()
control.uncheckedText = GetString(SI_CHECK_BUTTON_OFF):upper()
if checkboxData.warning then
control.warning = wm:CreateControlFromVirtual(nil, control, "ZO_Options_WarningIcon")
control.warning:SetAnchor(RIGHT, checkbox, LEFT, -5, 0)
control.warning.data = {tooltipText = checkboxData.warning}
end
control.data.tooltipText = LAM.util.GetTooltipText(checkboxData.tooltip)
if checkboxData.disabled then
control.UpdateDisabled = UpdateDisabled
control:UpdateDisabled()
end
control.UpdateValue = UpdateValue
control:UpdateValue()
if control.panel.data.registerForRefresh or control.panel.data.registerForDefaults then --if our parent window wants to refresh controls, then add this to the list
tinsert(control.panel.controlsToRefresh, control)
end
return control
end
|
local ZeroGrad, parent = torch.class("nn.ZeroGrad", "nn.Module")
local function recursiveZero(t1,t2)
if torch.type(t2) == 'table' then
t1 = (torch.type(t1) == 'table') and t1 or {t1}
for key,_ in pairs(t2) do
t1[key], t2[key] = recursiveZero(t1[key], t2[key])
end
elseif torch.isTensor(t2) then
t1 = t1 or t2.new()
t1:resizeAs(t2):zero()
else
error("expecting nested tensors or tables. Got "..
torch.type(t1).." and "..torch.type(t2).." instead")
end
return t1, t2
end
function ZeroGrad:updateOutput(input)
self.output:set(input)
return self.output
end
-- the gradient is simply zeroed.
-- useful when you don't want to backpropgate through certain paths.
function ZeroGrad:updateGradInput(input, gradOutput)
self.gradInput = recursiveZero(self.gradInput, gradOutput)
end
|
PLUGIN.name = "인식 (Recognition)"
PLUGIN.author = "Chessnut / 번역자 : Tensa"
PLUGIN.desc = "인식 시스템을 추가합니다."
PLUGIN.base = true;
PLUGIN:IncludeDir("language");
function PLUGIN:SetRecognized(client, other)
local id = client.character:GetVar("id");
local recognized = other.character:GetData("recog", {});
recognized[id] = true;
other.character:SetData("recog", recognized);
end
nut.util.Include("sh_commands.lua")
nut.util.Include("cl_plugin.lua");
PLUGIN:IncludeDir("derma");
|
local libertineproperty = function(x)
local property = x:gsub("I","italic")
property = property:gsub("B", "bold")
return string.lower(property)
end
local fontfixes = {
["Lin Libertine"] = function(x)
return "Linux Libertine O", libertineproperty(x)
end,
["Lin Biolinum"] = function(x)
return "Linux Biolinum O", libertineproperty(x) .. "sans"
end
}
for rec in io.lines() do
local filename = rec:match("([^%/]+).tfm$")
local propertystring = filename:lower()
local fontname = filename:match("([^%-]+)")
local t = {}
fontname:gsub("([A-Z]*[a-z]+)", function(x) t[#t+1] = x end)
fontname = table.concat(t," ")
local fontfunc = fontfixes[fontname]
if fontfunc then
fontname, propertystring = fontfunc(filename)
propertystring = string.lower(propertystring)
end
local bold = propertystring:match("bold") and "font-weight: bold;"
local slanted = propertystring:match("slanted") and "font-style: oblique;"
local italic = propertystring:match("italic") and "font-style: italic;"
local smallcaps = (propertystring:match("sc") or propertystring:match("smallcaps")) and "font-variant: small-caps;"
local sans = propertystring:match("sans") and "sans-serif"
local mono = propertystring:match("mono") and "monospace"
local cssfontname = string.format("font-name: '%s', %s", fontname,(mono or sans) or "serif")
local t = {}
table.insert(t,bold)
table.insert(t,slanted)
table.insert(t,italic)
table.insert(t,smallcaps)
table.insert(t,cssfontname)
local css = table.concat(t, " ")
print(string.format('\\<%s\\><<<', filename))
print(".lm-ec")
print("htfcss: ".. filename .." " ..css)
print(">>>")
print(string.format("\n\\AddFont{%s}{alias/t1fonts/%s}{}\n", filename, filename))
end
|
EditorPrePlanning = EditorPrePlanning or class(MissionScriptEditor)
function EditorPrePlanning:create_element()
self.super.create_element(self)
self._element.class = "ElementPrePlanning"
self._element.values.allowed_types = {}
self._element.values.disables_types = {}
self._element.values.location_group = tweak_data.preplanning.location_groups[1]
self._element.values.upgrade_lock = "none"
self._element.values.dlc_lock = "none"
end
function EditorPrePlanning:_data_updated(value_type, value)
self._element.values[value_type] = value
end
function EditorPrePlanning:_build_panel()
self:_create_panel()
self:ComboCtrl("upgrade_lock", tweak_data.preplanning.upgrade_locks, {help = "Select a upgrade lock from the combobox"})
self:ComboCtrl("dlc_lock", tweak_data.preplanning.dlc_locks, {help = "Select a DLC lock from the combobox"})
self:ComboCtrl("location_group", tweak_data.preplanning.location_groups, {help = "Select a location group from the combobox"})
local types = managers.preplanning:types()
self._class_group:button("SelectAllowedTypes", function()
BeardLibEditor.SelectDialog:Show({
selected_list = self._element.values.allowed_types,
list = types,
callback = ClassClbk(self, "_data_updated", "allowed_types")
})
end)
self._class_group:button("SelectDisablesTypes", function()
BeardLibEditor.SelectDialog:Show({
selected_list = self._element.values.disables_types,
list = types,
callback = ClassClbk(self, "_data_updated", "disables_types")
})
end)
end
EditorPrePlanningExecuteGroup = EditorPrePlanningExecuteGroup or class(MissionScriptEditor)
function EditorPrePlanningExecuteGroup:create_element()
EditorPrePlanning.super.create_element(self)
self._element.class = "ElementPrePlanningExecuteGroup"
self._element.values.location_groups = {}
end
function EditorPrePlanningExecuteGroup:_build_panel()
self:_create_panel()
self._class_group:button("SelectLocationGroups", function()
BeardLibEditor.SelectDialog:Show({
selected_list = self._element.values.location_groups,
list = tweak_data.preplanning.location_groups,
callback = SimpleClbk(EditorPrePlanning._data_updated, self, "disables_types")
})
end, {text = "Location Groups To Activate (Spawn)"})
end
|
--luacheck: no global
--luacheck: no unused args
require "miniz"
package.loaded["larpr"] = nil
local info = require("path.info")
if info.platform == "windows" then package.cpath = package.cpath .. ";./builds/?.dll" end
if info.platform == "linux" then package.cpath = package.cpath .. ";./builds/?.so" end
local M = require "larpr"
M.ppath = M.ppath .. ";./spec/?.lar"
describe("larpr Testing", function()
it("checks simple require", function()
assert.are.equal(require("testcases.big").PI, 3.14)
end)
it("checks deeep require", function()
assert.are.equal(require("testcases.foo"), 3.14 + 2017 + 1)
end)
it("checks folder deep require", function()
assert.are.equal(require("testcases.deps.lucky"), "lucky~!")
end)
it("checks initializing require", function()
assert.are.equal(require("testcases"), 3.14)
end)
end)
|
local HC = dtrequire("lib.HC")
local lume = dtrequire("lib.lume")
local Agent, _ = dtrequire("agent").common()
local ecs = dtrequire("ecs")
local prototype = dtrequire("prototype")
if not _keikaku_interactable_G then
local globals = {}
globals.Properties = prototype.newInterface({
updateProperties = function(self, editor) end,
})
local Interaction = ecs.System:subtype()
globals.Interaction = Interaction
do
Interaction.active = false
function Interaction:init(editor)
ecs.System.init(self)
self.editor = editor
end
function Interaction:draw(pipeline) end
end
local Tool = Agent:subtype()
globals.Tool = Tool
do
function Tool:overrideGUI()
return self:getState() ~= "init"
end
function Tool:overrideNonToolInteractions()
return false
end
function Tool:overrideContextMenu()
return false
end
function Tool:getName()
return self:getShortPrototypeName()
end
function Tool:getDisplayName()
return self:getName()
end
function Tool:saveConfig()
return {}
end
function Tool:loadConfig() end
end
globals.registry = {}
local systems = dtrequire("systems")
local InteractorSystem = systems.render.MultistageRenderer:subtype()
globals.InteractorSystem = InteractorSystem
do
InteractorSystem.active = false
function InteractorSystem:init(editor)
local children = {}
for _, itr in pairs(globals.registry) do
local sys = itr:new(editor)
table.insert(children, sys)
end
systems.render.MultistageRenderer.init(self, children)
self.editor = editor
end
function InteractorSystem:update(dt)
for _, child in ipairs(self.children) do
if child.update then
child:update(dt)
end
end
end
function InteractorSystem:draw(pipeline)
self:setup(pipeline)
for _, child in ipairs(self.children) do
child:draw(pipeline)
end
self.editor.tool:message("draw", pipeline)
self:teardown(pipeline)
end
end
_keikaku_interactable_G = globals
end
local Properties = _keikaku_interactable_G.Properties
local Interaction = _keikaku_interactable_G.Interaction
local Tool = _keikaku_interactable_G.Tool
local interactable = {
Interaction = Interaction,
Properties = Properties,
Tool = Tool,
}
function interactable.registerInteraction(name, interaction)
_keikaku_interactable_G.registry[name] = interaction
end
function interactable.deinit(editor)
editor.world:removeSystem(editor.interaction)
end
function interactable.init(editor)
for k, v in pairs(_keikaku_interactable_G) do
interactable[k] = v
end
editor.interactable = interactable
editor.hc = HC.new()
editor.hovered = {}
editor.interaction = interactable.InteractorSystem:new(editor)
editor.world:addSystem(editor.interaction)
editor.world:refresh()
end
function interactable.update(dt, editor)
if editor.interactable ~= interactable then
if editor.interactable then
interactable.deinit(editor)
end
interactable.init(editor)
end
if editor.overlay_enabled then
editor.interaction:update(dt)
end
local hovered = editor.hovered
if editor.Slab.IsVoidHovered() then
if editor.overlay_enabled and not (editor.tool and editor.tool:overrideNonToolInteractions()) then
local shapes = editor.hc:shapesAt(editor.mousestate:getMousePosition())
for i = #hovered, 1, -1 do
local hovshape = hovered[i]
if not shapes[hovshape] then
table.remove(hovered, i)
else
shapes[hovshape] = nil
end
end
for shape in pairs(shapes) do
table.insert(hovered, shape)
end
else
lume.clear(hovered)
end
if #hovered == 0 then
table.insert(hovered, {agent = editor.tool})
end
else
lume.clear(hovered)
end
end
function interactable.draw(editor)
editor.world:refresh()
editor.interaction:draw(editor.world:getPipeline())
love.graphics.setLineWidth(2)
local hc = editor.hc
local shapes = hc:hash():shapes()
local hovered = hc:shapesAt(love.mouse.getPosition())
for shape in pairs(shapes) do
local kind
if hovered[shape] or shape.agent:getState() ~= "init" then
kind = "fill"
else
kind = "line"
end
if editor.selected[shape.agent.entity] then
love.graphics.setColor(0, 0.7, 0, 0.8)
else
love.graphics.setColor(0, 0, 1, 0.8)
end
shape:draw(kind)
end
end
return interactable
|
-- ================================================================================ --
-- EMA - ( Ebony's MultiBoxing Assistant ) --
-- Current Author: Jennifer Cally (Ebony) --
-- --
-- License: All Rights Reserved 2018-2020 Jennifer Cally --
-- --
-- Some Code Used from "Jamba" that is --
-- Released under the MIT License --
-- "Jamba" Copyright 2008-2015 Michael "Jafula" Miller --
-- --
-- ================================================================================ --
-- Create the addon using AceAddon-3.0 and embed some libraries.
local EMA = LibStub( "AceAddon-3.0" ):NewAddon(
"Quest",
"Module-1.0",
"AceConsole-3.0",
"AceEvent-3.0",
"AceHook-3.0",
"AceTimer-3.0"
)
-- Load libraries.
local EMAUtilities = LibStub:GetLibrary( "EbonyUtilities-1.0" )
local EMAHelperSettings = LibStub:GetLibrary( "EMAHelperSettings-1.0" )
local AceGUI = LibStub( "AceGUI-3.0" )
EMA.SharedMedia = LibStub( "LibSharedMedia-3.0" )
-- Constants and Locale for this module.
EMA.moduleName = "Quest"
EMA.settingsDatabaseName = "QuestProfileDB"
EMA.chatCommand = "ema-quest"
local L = LibStub( "AceLocale-3.0" ):GetLocale( "Core" )
EMA.parentDisplayName = L["QUEST"]
EMA.moduleDisplayName = L["QUEST"]
-- Icon
EMA.moduleIcon = "Interface\\Addons\\EMA-Classic\\Media\\QuestIcon.tga"
EMA.moduleCompletionIcon = "Interface\\Addons\\EMA-Classic\\Media\\QuestCompletionIcon.tga"
-- order
EMA.moduleOrder = 50
EMA.moduleCompletionOrder = 1
-- Settings - the values to store and their defaults for the settings database.
EMA.settings = {
profile = {
mirrorMasterQuestSelectionAndDeclining = true,
acceptQuests = true,
slaveMirrorMasterAccept = true,
allAutoSelectQuests = false,
doNotAutoAccept = true,
allAcceptAnyQuest = false,
onlyAcceptQuestsFrom = false,
hideStaticPopup = false,
acceptFromTeam = false,
acceptFromNpc = false,
acceptFromFriends = false,
acceptFromParty = false,
acceptFromRaid = false,
acceptFromGuild = false,
masterAutoShareQuestOnAccept = false,
slaveAutoAcceptEscortQuest = true,
showEMAQuestLogWithWoWQuestLog = true,
enableAutoQuestCompletion = true,
noChoiceAllDoNothing = false,
noChoiceSlaveCompleteQuestWithMaster = true,
noChoiceAllAutoCompleteQuest = false,
hasChoiceSlaveDoNothing = false,
hasChoiceSlaveCompleteQuestWithMaster = true,
hasChoiceSlaveChooseSameRewardAsMaster = false,
hasChoiceSlaveMustChooseOwnReward = true,
hasChoiceSlaveRewardChoiceModifierConditional = false,
hasChoiceCtrlKeyModifier = false,
hasChoiceShiftKeyModifier = false,
hasChoiceAltKeyModifier = false,
hasChoiceOverrideUseSlaveRewardSelected = true,
messageArea = EMAApi.DefaultMessageArea(),
warningArea = EMAApi.DefaultWarningArea(),
framePoint = "CENTER",
frameRelativePoint = "CENTER",
frameXOffset = 0,
frameYOffset = 0,
overrideQuestAutoSelectAndComplete = false,
},
}
-- Configuration.
function EMA:GetConfiguration()
local configuration = {
name = EMA.moduleDisplayName,
handler = EMA,
type = "group",
get = "EMAConfigurationGetSetting",
set = "EMAConfigurationSetSetting",
args = {
config = {
type = "input",
name = L["OPEN_CONFIG"],
desc = L["OPEN_CONFIG_HELP"],
usage = "/ema-quest config",
get = false,
set = "",
},
push = {
type = "input",
name = L["PUSH_SETTINGS"],
desc = L["PUSH_SETTINGS_INFO"],
usage = "/ema-quest push",
get = false,
set = "EMASendSettings",
},
},
}
return configuration
end
-------------------------------------------------------------------------------------------------------------
-- Command this module sends.
-------------------------------------------------------------------------------------------------------------
EMA.COMMAND_SELECT_GOSSIP_OPTION = "EMASelectGossipOption"
EMA.COMMAND_SELECT_GOSSIP_ACTIVE_QUEST = "EMASelectGossipActiveQuest"
EMA.COMMAND_SELECT_GOSSIP_AVAILABLE_QUEST = "EMASelectGossipAvailableQuest"
EMA.COMMAND_SELECT_ACTIVE_QUEST = "EMASelectActiveQuest"
EMA.COMMAND_SELECT_AVAILABLE_QUEST = "EMASelectAvailableQuest"
EMA.COMMAND_ACCEPT_QUEST = "EMAAcceptQuest"
EMA.COMMAND_COMPLETE_QUEST = "EMACompleteQuest"
EMA.COMMAND_CHOOSE_QUEST_REWARD = "EMAChooseQuestReward"
EMA.COMMAND_DECLINE_QUEST = "EMADeclineQuest"
EMA.COMMAND_SELECT_QUEST_LOG_ENTRY = "EMASelectQuestLogEntry"
EMA.COMMAND_QUEST_TRACK = "EMAQuestTrack"
EMA.COMMAND_ABANDON_QUEST = "EMAAbandonQuest"
EMA.COMMAND_ABANDON_ALL_QUESTS = "EMAAbandonAllQuests"
EMA.COMMAND_TRACK_ALL_QUESTS = "EMATrackAllQuests"
EMA.COMMAND_UNTRACK_ALL_QUESTS = "EMAUnTrackAllQuests"
EMA.COMMAND_SHARE_ALL_QUESTS = "EMAShareAllQuests"
EMA.COMMAND_TOGGLE_AUTO_SELECT = "EMAToggleAutoSelect"
EMA.COMMAND_LOG_COMPLETE_QUEST = "EMALogCompleteQuest"
EMA.COMMAND_ACCEPT_QUEST_FAKE = "EMAAcceptQuestFake"
-------------------------------------------------------------------------------------------------------------
-- Messages module sends.
-------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------
-- Popup Dialogs.
-------------------------------------------------------------------------------------------------------------
-- Initialize Popup Dialogs.
local function InitializePopupDialogs()
-- Asks If you like to Abandon on all toons
StaticPopupDialogs["EMAQUEST_ABANDON_ALL_TOONS"] = {
text = L["ABANDON_QUESTS_TEAM"],
button1 = YES,
button2 = NO,
timeout = 0,
whileDead = 1,
hideOnEscape = 1,
OnAccept = function( self, data )
-- EMA:Print("button1", data.questID, data.title )
EMA:EMASendCommandToTeam( EMA.COMMAND_ABANDON_QUEST, data.questID, data.title)
end,
OnCancel = function( self )
end,
}
-- Asks If you like to Track on all toons
StaticPopupDialogs["EMA_QUEST_TRACK_ALL_TOONS"] = {
text = L["TRACK_QUEST_ON_TEAM"],
button1 = YES,
button2 = NO,
timeout = 0,
whileDead = 1,
hideOnEscape = 1,
OnAccept = function( self, data )
EMA:EMASendCommandToTeam( EMA.COMMAND_QUEST_TRACK, data.questID, data.title, true )
end,
OnCancel = function( self )
end,
}
StaticPopupDialogs["EMA_QUEST_UNTRACK_ALL_TOONS"] = {
text = L["UNTRACK_QUEST_ON_TEAM"],
button1 = YES,
button2 = NO,
timeout = 0,
whileDead = 1,
hideOnEscape = 1,
OnAccept = function( self, data )
EMA:EMASendCommandToTeam( EMA.COMMAND_QUEST_TRACK, data.questID, data.title, false )
end,
OnCancel = function( self )
end,
}
StaticPopupDialogs["EMA_ABANDON_ALL_TOON_QUEST"] = {
text = L["ABANDON_ALL_QUESTS"],
button1 = L["YES_IAM_SURE"],
button2 = NO,
timeout = 0,
showAlert = 1,
whileDead = true,
hideOnEscape = true,
OnAccept = function()
EMA:DoAbandonAllQuestsFromAllToons()
end,
}
end
-------------------------------------------------------------------------------------------------------------
-- Addon initialization, enabling and disabling.
-------------------------------------------------------------------------------------------------------------
function EMA:DebugMessage( ... )
--EMA:Print( ... )
end
-- Initialise the module.
function EMA:OnInitialize()
-- Create the settings control.
EMA:SettingsCreate()
-- Initialise the EMAModule part of this module.
EMA:EMAModuleInitialize( EMA.settingsControl.widgetSettings.frame )
-- Populate the settings.
EMA:SettingsRefresh()
-- Initialise the popup dialogs.
InitializePopupDialogs()
-- Create the EMA Quest Log frame.
EMA:CreateEMAMiniQuestLogFrame()
-- An empty table to hold the available and active quests at an npc.
EMA.gossipQuests = {}
end
-- Called when the addon is enabled.
function EMA:OnEnable()
-- No internal commands active.
EMA.isInternalCommand = false
EMA:RegisterMessage( EMAApi.MESSAGE_MESSAGE_AREAS_CHANGED, "OnMessageAreasChanged" )
-- Quest events.
EMA:RegisterEvent( "QUEST_ACCEPTED" )
EMA:RegisterEvent( "QUEST_DETAIL" )
EMA:RegisterEvent( "QUEST_COMPLETE" )
EMA:RegisterEvent( "QUEST_ACCEPT_CONFIRM" )
EMA:RegisterEvent( "GOSSIP_SHOW" )
EMA:RegisterEvent( "QUEST_GREETING" )
EMA:RegisterEvent( "QUEST_PROGRESS" )
EMA:RegisterEvent( "CHAT_MSG_SYSTEM", "QUEST_FAIL" )
-- Quest post hooks.
EMA:SecureHook( "SelectGossipOption" )
EMA:SecureHook( "SelectGossipActiveQuest" )
EMA:SecureHook( "SelectGossipAvailableQuest" )
EMA:SecureHook( "SelectActiveQuest" )
EMA:SecureHook( "SelectAvailableQuest" )
EMA:SecureHook( "AcceptQuest" )
EMA:SecureHook( "CompleteQuest" )
EMA:SecureHook( "GetQuestReward" )
EMA:SecureHook( "ToggleFrame" )
EMA:SecureHook( "ToggleQuestLog" )
EMA:SecureHook( "ShowQuestComplete" )
EMA:SecureHook( "AbandonQuest" )
-- EMA:SecureHook( "QuestWatch_Update" )
-- EMA:SecureHook( "QuestMapQuestOptions_TrackQuest" )
-- EMA:SecureHook( "QuestLog" )
end
-- Called when the addon is disabled.
function EMA:OnDisable()
-- AceHook-3.0 will tidy up the hooks for us.
end
-------------------------------------------------------------------------------------------------------------
-- Settings Dialogs.
-------------------------------------------------------------------------------------------------------------
function EMA:SettingsCreate()
EMA.settingsControl = {}
EMA.settingsControlCompletion = {}
-- Create the settings panels.
EMAHelperSettings:CreateSettings(
EMA.settingsControl,
EMA.moduleDisplayName,
EMA.parentDisplayName,
EMA.SettingsPushSettingsClick,
EMA.moduleIcon,
EMA.moduleOrder
)
EMAHelperSettings:CreateSettings(
EMA.settingsControlCompletion,
L["COMPLETION"],
EMA.parentDisplayName,
EMA.SettingsPushSettingsClick,
EMA.moduleCompletionIcon,
EMA.moduleCompletionOrder
)
-- Create the quest controls.
local bottomOfQuestOptions = EMA:SettingsCreateQuestControl( EMAHelperSettings:TopOfSettings() )
EMA.settingsControl.widgetSettings.content:SetHeight( -bottomOfQuestOptions )
local bottomOfQuestCompletionOptions = EMA:SettingsCreateQuestCompletionControl( EMAHelperSettings:TopOfSettings() )
EMA.settingsControlCompletion.widgetSettings.content:SetHeight( -bottomOfQuestCompletionOptions )
-- Help
local helpTable = {}
EMAHelperSettings:CreateHelp( EMA.settingsControl, helpTable, EMA:GetConfiguration() )
end
function EMA:SettingsCreateQuestControl( top )
-- Get positions and dimensions.
local checkBoxHeight = EMAHelperSettings:GetCheckBoxHeight()
local radioBoxHeight = EMAHelperSettings:GetRadioBoxHeight()
local labelHeight = EMAHelperSettings:GetLabelHeight()
local labelContinueHeight = EMAHelperSettings:GetContinueLabelHeight()
local dropdownHeight = EMAHelperSettings:GetDropdownHeight()
local left = EMAHelperSettings:LeftOfSettings()
local headingHeight = EMAHelperSettings:HeadingHeight()
local headingWidth = EMAHelperSettings:HeadingWidth( false )
local horizontalSpacing = EMAHelperSettings:GetHorizontalSpacing()
local verticalSpacing = EMAHelperSettings:GetVerticalSpacing()
local indent = horizontalSpacing * 10
local indentContinueLabel = horizontalSpacing * 22
local checkBoxThirdWidth = (headingWidth - indentContinueLabel) / 3
local halfWidth = (headingWidth - horizontalSpacing) / 2
local middle = left + halfWidth
local column1Left = left
local column1LeftIndent = left + indentContinueLabel
local column2LeftIndent = column1LeftIndent + checkBoxThirdWidth + horizontalSpacing
local column3LeftIndent = column2LeftIndent + checkBoxThirdWidth + horizontalSpacing
local movingTop = top
-- A blank to get layout to show right?
EMAHelperSettings:CreateHeading( EMA.settingsControl, "", movingTop, false )
movingTop = movingTop - headingHeight
-- Create a heading for information.
EMAHelperSettings:CreateHeading( EMA.settingsControl, EMA.moduleDisplayName..L[" "]..L["INFORMATION"], movingTop, false )
movingTop = movingTop - headingHeight
-- Information line 1.
EMA.settingsControl.labelQuestInformation1 = EMAHelperSettings:CreateContinueLabel(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["QUESTINFORMATIONONE"]
)
movingTop = movingTop - labelContinueHeight
-- Information line 2.
EMA.settingsControl.labelQuestInformation2 = EMAHelperSettings:CreateContinueLabel(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["QUESTINFORMATIONTWO"]
)
movingTop = movingTop - labelContinueHeight
-- Information line 3.
EMA.settingsControl.labelQuestInformation3 = EMAHelperSettings:CreateContinueLabel(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["QUESTINFORMATIONTHREE"]
)
movingTop = movingTop - labelContinueHeight
-- Create a heading for quest selection.
EMAHelperSettings:CreateHeading( EMA.settingsControl, L["QUEST_HEADER"], movingTop, false )
movingTop = movingTop - headingHeight
-- Radio box: Minion select, accept and decline quest with master.
EMA.settingsControl.checkBoxMirrorMasterQuestSelectionAndDeclining = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["MIRROR_QUEST"],
EMA.SettingsToggleMirrorMasterQuestSelectionAndDeclining,
L["MIRROR_QUEST_HELP"]
)
EMA.settingsControl.checkBoxMirrorMasterQuestSelectionAndDeclining:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Radio box: All auto select quests.
EMA.settingsControl.checkBoxAllAutoSelectQuests = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["AUTO_SELECT_QUESTS"],
EMA.SettingsToggleAllAutoSelectQuests,
L["AUTO_SELECT_QUESTS_HELP"]
)
EMA.settingsControl.checkBoxAllAutoSelectQuests:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Check box: Accept quests.
EMA.settingsControl.checkBoxAcceptQuests = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["ACCEPT_QUESTS"],
EMA.SettingsToggleAcceptQuests,
L["ACCEPT_QUESTS_HELP"]
)
movingTop = movingTop - checkBoxHeight
-- Radio box: Minion accept quest with master.
EMA.settingsControl.checkBoxMinionMirrorMasterAccept = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left + indent,
movingTop,
L["ACCEPT_QUEST_WITH_TEAM"],
EMA.SettingsToggleMinionMirrorMasterAccept,
L["ACCEPT_QUEST_WITH_TEAM_HELP"]
)
movingTop = movingTop - checkBoxHeight
-- Information line 3.
EMA.settingsControl.labelQuestInformationAuto = EMAHelperSettings:CreateContinueLabel(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["QUEST_INFORMATION_AUTO"]
)
movingTop = movingTop - labelContinueHeight
-- Radio box: All auto accept any quest.
EMA.settingsControl.checkBoxDoNotAutoAccept = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left + indent,
movingTop,
L["DONOT_AUTO_ACCEPT_QUESTS"],
EMA.SettingsToggleDoNotAutoAccept
)
EMA.settingsControl.checkBoxDoNotAutoAccept:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Radio box: All auto accept any quest.
EMA.settingsControl.checkBoxAllAcceptAnyQuest = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left + indent,
movingTop,
L["AUTO_ACCEPT_QUESTS"],
EMA.SettingsToggleAllAcceptAnyQuest,
L["AUTO_ACCEPT_QUESTS_HELP"]
)
EMA.settingsControl.checkBoxAllAcceptAnyQuest:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Radio box: Choose who to auto accept quests from.
EMA.settingsControl.checkBoxOnlyAcceptQuestsFrom = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left + indent,
movingTop,
L["AUTO_ACCEPT_QUESTS_LIST"],
EMA.SettingsToggleOnlyAcceptQuestsFrom,
L["AUTO_ACCEPT_QUESTS_LIST_HELP"]
)
EMA.settingsControl.checkBoxOnlyAcceptQuestsFrom:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Check box: Team.
EMA.settingsControl.checkBoxAcceptFromTeam = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
checkBoxThirdWidth,
column1LeftIndent,
movingTop,
L["TEAM"],
EMA.SettingsToggleAcceptFromTeam,
L["TEAM_QUEST_HELP"]
)
-- Check box: NPC.
EMA.settingsControl.checkBoxAcceptFromNpc = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
checkBoxThirdWidth,
column2LeftIndent,
movingTop,
L["NPC"],
EMA.SettingsToggleAcceptFromNpc,
L["NPC_HELP"]
)
-- Check box: Friends.
EMA.settingsControl.checkBoxAcceptFromFriends = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
checkBoxThirdWidth,
column3LeftIndent,
movingTop,
L["FRIENDS"],
EMA.SettingsToggleAcceptFromFriends,
L["FRIENDS_HELP"]
)
movingTop = movingTop - checkBoxHeight
-- Check box: Party.
EMA.settingsControl.checkBoxAcceptFromParty = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
checkBoxThirdWidth,
column1LeftIndent,
movingTop,
L["PARTY"],
EMA.SettingsToggleAcceptFromParty,
L["QUEST_GROUP_HELP"]
)
-- Check box: Guild.
--movingTop = movingTop - checkBoxHeight
EMA.settingsControl.checkBoxAcceptFromGuild = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
checkBoxThirdWidth,
column2LeftIndent,
movingTop,
L["GUILD"],
EMA.SettingsToggleAcceptFromGuild,
L["GUILD_HELP"]
)
-- TODO Change To Community's
-- Check box: Raid.
EMA.settingsControl.checkBoxAcceptFromRaid = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
checkBoxThirdWidth,
column3LeftIndent,
movingTop,
L["PH_RAID"],
EMA.SettingsToggleAcceptFromRaid,
L["PH_RAID_HELP"]
)
-- Check box: Master auto share quest on accept.
movingTop = movingTop - checkBoxHeight
EMA.settingsControl.checkBoxMasterAutoShareQuestOnAccept = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["MASTER_SHARE_QUESTS"],
EMA.SettingsToggleMasterAutoShareQuestOnAccept,
L["MASTER_SHARE_QUESTS_HELP"]
)
movingTop = movingTop - checkBoxHeight
-- Check box: Minion auto accept escort quest from master.
EMA.settingsControl.checkBoxMinionAutoAcceptEscortQuest = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["ACCEPT_ESCORT_QUEST"],
EMA.SettingsToggleMinionAutoAcceptEscortQuest,
L["ACCEPT_ESCORT_QUEST_HELP"]
)
movingTop = movingTop - checkBoxHeight
-- Create a heading for other options.
EMAHelperSettings:CreateHeading( EMA.settingsControl, L["OTHER"]..L[" "]..L["OPTIONS"], movingTop, false )
movingTop = movingTop - headingHeight
-- Check box: Override quest auto select and auto complete.
EMA.settingsControl.checkBoxOverrideQuestAutoSelectAndComplete = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["HOLD_SHIFT_TO_OVERRIDE"],
EMA.SettingsToggleOverrideQuestAutoSelectAndComplete,
L["HOLD_SHIFT_TO_OVERRIDE_HELP"]
)
movingTop = movingTop - checkBoxHeight
-- Check box: Show EMA quest log with WoW quest log.
EMA.settingsControl.checkBoxShowEMAQuestLogWithWoWQuestLog = EMAHelperSettings:CreateCheckBox(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["SHOW_PANEL_UNDER_QUESTLOG"],
EMA.SettingsToggleShowEMAQuestLogWithWoWQuestLog,
L["SHOW_PANEL_UNDER_QUESTLOG_HELP"]
)
movingTop = movingTop - checkBoxHeight
-- Message area.
EMA.settingsControl.dropdownMessageArea = EMAHelperSettings:CreateDropdown(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["MESSAGE_AREA"]
)
EMA.settingsControl.dropdownMessageArea:SetList( EMAApi.MessageAreaList() )
EMA.settingsControl.dropdownMessageArea:SetCallback( "OnValueChanged", EMA.SettingsSetMessageArea )
movingTop = movingTop - dropdownHeight
-- Warning area.
EMA.settingsControl.dropdownWarningArea = EMAHelperSettings:CreateDropdown(
EMA.settingsControl,
headingWidth,
column1Left,
movingTop,
L["SEND_WARNING_AREA"]
)
EMA.settingsControl.dropdownWarningArea:SetList( EMAApi.MessageAreaList() )
EMA.settingsControl.dropdownWarningArea:SetCallback( "OnValueChanged", EMA.SettingsSetWarningArea )
movingTop = movingTop - dropdownHeight
return movingTop
end
function EMA:OnMessageAreasChanged( message )
EMA.settingsControl.dropdownMessageArea:SetList( EMAApi.MessageAreaList() )
EMA.settingsControl.dropdownWarningArea:SetList( EMAApi.MessageAreaList() )
end
function EMA:SettingsCreateQuestCompletionControl( top )
-- Get positions and dimensions.
local checkBoxHeight = EMAHelperSettings:GetCheckBoxHeight()
local radioBoxHeight = EMAHelperSettings:GetRadioBoxHeight()
local labelHeight = EMAHelperSettings:GetLabelHeight()
local labelContinueHeight = EMAHelperSettings:GetContinueLabelHeight()
local left = EMAHelperSettings:LeftOfSettings()
local headingHeight = EMAHelperSettings:HeadingHeight()
local headingWidth = EMAHelperSettings:HeadingWidth( false )
local horizontalSpacing = EMAHelperSettings:GetHorizontalSpacing()
local verticalSpacing = EMAHelperSettings:GetVerticalSpacing()
local indent = horizontalSpacing * 10
local indentContinueLabel = horizontalSpacing * 18
local indentSpecial = indentContinueLabel + 9
local checkBoxThirdWidth = (headingWidth - indentContinueLabel) / 3
local column1Left = left
local column1LeftIndent = left + indentContinueLabel
local column2LeftIndent = column1LeftIndent + checkBoxThirdWidth + horizontalSpacing
local column3LeftIndent = column2LeftIndent + checkBoxThirdWidth + horizontalSpacing
local movingTop = top
-- A blank to get layout to show right?
EMAHelperSettings:CreateHeading( EMA.settingsControlCompletion, "", movingTop, false )
movingTop = movingTop - headingHeight
-- Create a heading for quest completion.
EMAHelperSettings:CreateHeading( EMA.settingsControlCompletion, L["QUEST_COMPLETION"], movingTop, false )
movingTop = movingTop - headingHeight
-- Check box: Enable auto quest completion.
EMA.settingsControlCompletion.checkBoxEnableAutoQuestCompletion = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left,
movingTop,
L["ENABLE_QUEST_COMPLETION"],
EMA.SettingsToggleEnableAutoQuestCompletion,
L["ENABLE_QUEST_COMPLETION_HELP"]
)
movingTop = movingTop - checkBoxHeight
EMAHelperSettings:CreateHeading( EMA.settingsControlCompletion, L["NOREWARDS_OR_ONEREWARD"], movingTop, false )
movingTop = movingTop - headingHeight
-- Radio box: No choice, minion do nothing.
EMA.settingsControlCompletion.checkBoxNoChoiceAllDoNothing = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left,
movingTop,
L["QUEST_DO_NOTHING"],
EMA.SettingsToggleNoChoiceAllDoNothing,
L["QUEST_DO_NOTHING_HELP"]
)
EMA.settingsControlCompletion.checkBoxNoChoiceAllDoNothing:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Radio box: No choice, minion complete quest with master.
EMA.settingsControlCompletion.checkBoxNoChoiceMinionCompleteQuestWithMaster = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left,
movingTop,
L["COMPLETE_QUEST_WITH_TEAM"],
EMA.SettingsToggleNoChoiceMinionCompleteQuestWithMaster,
L["COMPLETE_QUEST_WITH_TEAM_HELP"]
)
EMA.settingsControlCompletion.checkBoxNoChoiceMinionCompleteQuestWithMaster:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Radio box: No Choice, all automatically complete quest.
EMA.settingsControlCompletion.checkBoxNoChoiceAllAutoCompleteQuest = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left,
movingTop,
L["AUTO_COMPLETE_QUEST"],
EMA.SettingsToggleNoChoiceAllAutoCompleteQuest,
L["AUTO_COMPLETE_QUEST_HELP"]
)
EMA.settingsControlCompletion.checkBoxNoChoiceAllAutoCompleteQuest:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
EMAHelperSettings:CreateHeading( EMA.settingsControlCompletion, L["MORE_THEN_ONE_REWARD"], movingTop, false )
movingTop = movingTop - headingHeight
-- Radio box: Has choice, minion do nothing.
EMA.settingsControlCompletion.checkBoxHasChoiceMinionDoNothing = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left,
movingTop,
L["QUEST_DO_NOTHING"] ,
EMA.SettingsToggleHasChoiceMinionDoNothing,
L["QUEST_DO_NOTHING_HELP"]
)
EMA.settingsControlCompletion.checkBoxHasChoiceMinionDoNothing:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Radio box: Has choice, minion complete quest with master.
EMA.settingsControlCompletion.checkBoxHasChoiceMinionCompleteQuestWithMaster = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left,
movingTop,
L["COMPLETE_QUEST_WITH_TEAM"],
EMA.SettingsToggleHasChoiceMinionCompleteQuestWithMaster,
L["COMPLETE_QUEST_WITH_TEAM_HELP"]
)
EMA.settingsControlCompletion.checkBoxHasChoiceMinionCompleteQuestWithMaster:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Radio box: Has choice, minion must choose own reward.
EMA.settingsControlCompletion.checkBoxHasChoiceMinionMustChooseOwnReward = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left + indent,
movingTop,
L["MUST_CHOOSE_OWN_REWARD"],
EMA.SettingsToggleHasChoiceMinionMustChooseOwnReward,
L["MUST_CHOOSE_OWN_REWARD_HELP"]
)
EMA.settingsControlCompletion.checkBoxHasChoiceMinionMustChooseOwnReward:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Radio box: Has choice, minion choose same reward as master.
EMA.settingsControlCompletion.checkBoxHasChoiceMinionChooseSameRewardAsMaster = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left + indent,
movingTop,
L["CHOOSE_SAME_REWARD"],
EMA.SettingsToggleHasChoiceMinionChooseSameRewardAsMaster,
L["CHOOSE_SAME_REWARD_HELP"]
)
EMA.settingsControlCompletion.checkBoxHasChoiceMinionChooseSameRewardAsMaster:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Radio box: Has choice, minion reward choice depends on modifier key pressed down.
EMA.settingsControlCompletion.checkBoxHasChoiceMinionRewardChoiceModifierConditional = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left + indent,
movingTop,
L["MODIFIER_CHOOSE_SAME_REWARD"],
EMA.SettingsToggleHasChoiceMinionRewardChoiceModifierConditional,
L["MODIFIER_CHOOSE_SAME_REWARD_HELP"]
)
EMA.settingsControlCompletion.checkBoxHasChoiceMinionRewardChoiceModifierConditional:SetType( "radio" )
movingTop = movingTop - radioBoxHeight
-- Check box: Ctrl modifier key.
EMA.settingsControlCompletion.checkBoxHasChoiceCtrlKeyModifier = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
checkBoxThirdWidth,
column1LeftIndent,
movingTop,
L["CTRL"],
EMA.SettingsToggleHasChoiceCtrlKeyModifier
)
-- Check box: Shift modifier key.
EMA.settingsControlCompletion.checkBoxHasChoiceShiftKeyModifier = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
checkBoxThirdWidth,
column2LeftIndent,
movingTop,
L["SHIFT"],
EMA.SettingsToggleHasChoiceShiftKeyModifier
)
-- Check box: Alt modifier key.
EMA.settingsControlCompletion.checkBoxHasChoiceAltKeyModifier = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
checkBoxThirdWidth,
column3LeftIndent,
movingTop,
L["ALT"],
EMA.SettingsToggleHasChoiceAltKeyModifier
)
movingTop = movingTop - checkBoxHeight
-- Check box: Has choice, override, if minion already has reward selected, choose that reward.
EMA.settingsControlCompletion.checkBoxHasChoiceOverrideUseMinionRewardSelected = EMAHelperSettings:CreateCheckBox(
EMA.settingsControlCompletion,
headingWidth,
column1Left + indent,
movingTop,
L["OVERRIDE_REWARD_SELECTED"],
EMA.SettingsToggleHasChoiceOverrideUseMinionRewardSelected,
L["OVERRIDE_REWARD_SELECTED_HELP"]
)
movingTop = movingTop - checkBoxHeight
return movingTop
end
-------------------------------------------------------------------------------------------------------------
-- Settings functionality.
-------------------------------------------------------------------------------------------------------------
-- Settings received.
function EMA:EMAOnSettingsReceived( characterName, settings )
if characterName ~= EMA.characterName then
-- Update the settings.
EMA.db.mirrorMasterQuestSelectionAndDeclining = settings.mirrorMasterQuestSelectionAndDeclining
EMA.db.allAutoSelectQuests = settings.allAutoSelectQuests
EMA.db.acceptQuests = settings.acceptQuests
EMA.db.slaveMirrorMasterAccept = settings.slaveMirrorMasterAccept
EMA.db.doNotAutoAccept = settings.doNotAutoAccept
EMA.db.allAcceptAnyQuest = settings.allAcceptAnyQuest
EMA.db.onlyAcceptQuestsFrom = settings.onlyAcceptQuestsFrom
EMA.db.acceptFromTeam = settings.acceptFromTeam
EMA.db.acceptFromNpc = settings.acceptFromNpc
EMA.db.acceptFromFriends = settings.acceptFromFriends
EMA.db.acceptFromParty = settings.acceptFromParty
EMA.db.acceptFromRaid = settings.acceptFromRaid
EMA.db.acceptFromGuild = settings.acceptFromGuild
EMA.db.masterAutoShareQuestOnAccept = settings.masterAutoShareQuestOnAccept
EMA.db.slaveAutoAcceptEscortQuest = settings.slaveAutoAcceptEscortQuest
EMA.db.showEMAQuestLogWithWoWQuestLog = settings.showEMAQuestLogWithWoWQuestLog
EMA.db.enableAutoQuestCompletion = settings.enableAutoQuestCompletion
EMA.db.noChoiceAllDoNothing = settings.noChoiceAllDoNothing
EMA.db.noChoiceSlaveCompleteQuestWithMaster = settings.noChoiceSlaveCompleteQuestWithMaster
EMA.db.noChoiceAllAutoCompleteQuest = settings.noChoiceAllAutoCompleteQuest
EMA.db.hasChoiceSlaveDoNothing = settings.hasChoiceSlaveDoNothing
EMA.db.hasChoiceSlaveCompleteQuestWithMaster = settings.hasChoiceSlaveCompleteQuestWithMaster
EMA.db.hasChoiceSlaveChooseSameRewardAsMaster = settings.hasChoiceSlaveChooseSameRewardAsMaster
EMA.db.hasChoiceSlaveMustChooseOwnReward = settings.hasChoiceSlaveMustChooseOwnReward
EMA.db.hasChoiceSlaveRewardChoiceModifierConditional = settings.hasChoiceSlaveRewardChoiceModifierConditional
EMA.db.hasChoiceCtrlKeyModifier = settings.hasChoiceCtrlKeyModifier
EMA.db.hasChoiceShiftKeyModifier = settings.hasChoiceShiftKeyModifier
EMA.db.hasChoiceAltKeyModifier = settings.hasChoiceAltKeyModifier
EMA.db.hasChoiceOverrideUseSlaveRewardSelected = settings.hasChoiceOverrideUseSlaveRewardSelected
EMA.db.messageArea = settings.messageArea
EMA.db.warningArea = settings.warningArea
EMA.db.overrideQuestAutoSelectAndComplete = settings.overrideQuestAutoSelectAndComplete
-- Refresh the settings.
EMA:SettingsRefresh()
-- Tell the player.
EMA:Print( L["SETTINGS_RECEIVED_FROM_A"]( characterName ) )
end
end
-------------------------------------------------------------------------------------------------------------
-- Settings Populate.
-------------------------------------------------------------------------------------------------------------
function EMA:BeforeEMAProfileChanged()
end
function EMA:OnEMAProfileChanged()
EMA:SettingsRefresh()
end
function EMA:SettingsRefresh()
-- Quest general and acceptance options.
EMA.settingsControl.checkBoxMirrorMasterQuestSelectionAndDeclining:SetValue( EMA.db.mirrorMasterQuestSelectionAndDeclining )
EMA.settingsControl.checkBoxAllAutoSelectQuests:SetValue( EMA.db.allAutoSelectQuests )
EMA.settingsControl.checkBoxAcceptQuests:SetValue( EMA.db.acceptQuests )
EMA.settingsControl.checkBoxMinionMirrorMasterAccept:SetValue( EMA.db.slaveMirrorMasterAccept )
EMA.settingsControl.checkBoxDoNotAutoAccept:SetValue( EMA.db.doNotAutoAccept )
EMA.settingsControl.checkBoxAllAcceptAnyQuest:SetValue( EMA.db.allAcceptAnyQuest )
EMA.settingsControl.checkBoxOnlyAcceptQuestsFrom:SetValue( EMA.db.onlyAcceptQuestsFrom )
EMA.settingsControl.checkBoxAcceptFromTeam:SetValue( EMA.db.acceptFromTeam )
EMA.settingsControl.checkBoxAcceptFromNpc:SetValue( EMA.db.acceptFromNpc )
EMA.settingsControl.checkBoxAcceptFromFriends:SetValue( EMA.db.acceptFromFriends )
EMA.settingsControl.checkBoxAcceptFromParty:SetValue( EMA.db.acceptFromParty )
EMA.settingsControl.checkBoxAcceptFromRaid:SetValue( EMA.db.acceptFromRaid )
EMA.settingsControl.checkBoxAcceptFromGuild:SetValue( EMA.db.acceptFromGuild )
EMA.settingsControl.checkBoxMasterAutoShareQuestOnAccept:SetValue( EMA.db.masterAutoShareQuestOnAccept )
EMA.settingsControl.checkBoxMinionAutoAcceptEscortQuest:SetValue( EMA.db.slaveAutoAcceptEscortQuest )
EMA.settingsControl.checkBoxShowEMAQuestLogWithWoWQuestLog:SetValue( EMA.db.showEMAQuestLogWithWoWQuestLog )
EMA.settingsControl.checkBoxOverrideQuestAutoSelectAndComplete:SetValue( EMA.db.overrideQuestAutoSelectAndComplete )
EMA.settingsControl.dropdownMessageArea:SetValue( EMA.db.messageArea )
EMA.settingsControl.dropdownWarningArea:SetValue( EMA.db.warningArea )
-- Quest completion options.
EMA.settingsControlCompletion.checkBoxEnableAutoQuestCompletion:SetValue( EMA.db.enableAutoQuestCompletion )
EMA.settingsControlCompletion.checkBoxNoChoiceAllDoNothing:SetValue( EMA.db.noChoiceAllDoNothing )
EMA.settingsControlCompletion.checkBoxNoChoiceMinionCompleteQuestWithMaster:SetValue( EMA.db.noChoiceSlaveCompleteQuestWithMaster )
EMA.settingsControlCompletion.checkBoxNoChoiceAllAutoCompleteQuest:SetValue( EMA.db.noChoiceAllAutoCompleteQuest )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionDoNothing:SetValue( EMA.db.hasChoiceSlaveDoNothing )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionCompleteQuestWithMaster:SetValue( EMA.db.hasChoiceSlaveCompleteQuestWithMaster )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionChooseSameRewardAsMaster:SetValue( EMA.db.hasChoiceSlaveChooseSameRewardAsMaster )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionMustChooseOwnReward:SetValue( EMA.db.hasChoiceSlaveMustChooseOwnReward )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionRewardChoiceModifierConditional:SetValue( EMA.db.hasChoiceSlaveRewardChoiceModifierConditional )
EMA.settingsControlCompletion.checkBoxHasChoiceCtrlKeyModifier:SetValue( EMA.db.hasChoiceCtrlKeyModifier )
EMA.settingsControlCompletion.checkBoxHasChoiceShiftKeyModifier:SetValue( EMA.db.hasChoiceShiftKeyModifier )
EMA.settingsControlCompletion.checkBoxHasChoiceAltKeyModifier:SetValue( EMA.db.hasChoiceAltKeyModifier )
EMA.settingsControlCompletion.checkBoxHasChoiceOverrideUseMinionRewardSelected:SetValue( EMA.db.hasChoiceOverrideUseSlaveRewardSelected )
-- Ensure correct state (general and acceptance options).
EMA.settingsControl.checkBoxMinionMirrorMasterAccept:SetDisabled( not EMA.db.acceptQuests )
EMA.settingsControl.checkBoxDoNotAutoAccept:SetDisabled( not EMA.db.acceptQuests )
EMA.settingsControl.checkBoxAllAcceptAnyQuest:SetDisabled( not EMA.db.acceptQuests )
EMA.settingsControl.checkBoxOnlyAcceptQuestsFrom:SetDisabled( not EMA.db.acceptQuests )
EMA.settingsControl.checkBoxAcceptFromTeam:SetDisabled( not EMA.db.acceptQuests or not EMA.db.onlyAcceptQuestsFrom )
EMA.settingsControl.checkBoxAcceptFromNpc:SetDisabled( not EMA.db.acceptQuests or not EMA.db.onlyAcceptQuestsFrom )
EMA.settingsControl.checkBoxAcceptFromFriends:SetDisabled( not EMA.db.acceptQuests or not EMA.db.onlyAcceptQuestsFrom )
EMA.settingsControl.checkBoxAcceptFromParty:SetDisabled( not EMA.db.acceptQuests or not EMA.db.onlyAcceptQuestsFrom )
EMA.settingsControl.checkBoxAcceptFromRaid:SetDisabled( not EMA.db.acceptQuests or not EMA.db.onlyAcceptQuestsFrom )
EMA.settingsControl.checkBoxAcceptFromGuild:SetDisabled( not EMA.db.acceptQuests or not EMA.db.onlyAcceptQuestsFrom )
-- Ensure correct state (completion options).
EMA.settingsControlCompletion.checkBoxNoChoiceAllDoNothing:SetDisabled( not EMA.db.enableAutoQuestCompletion )
EMA.settingsControlCompletion.checkBoxNoChoiceMinionCompleteQuestWithMaster:SetDisabled( not EMA.db.enableAutoQuestCompletion )
EMA.settingsControlCompletion.checkBoxNoChoiceAllAutoCompleteQuest:SetDisabled( not EMA.db.enableAutoQuestCompletion )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionDoNothing:SetDisabled( not EMA.db.enableAutoQuestCompletion )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionCompleteQuestWithMaster:SetDisabled( not EMA.db.enableAutoQuestCompletion )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionChooseSameRewardAsMaster:SetDisabled( not EMA.db.enableAutoQuestCompletion or not EMA.db.hasChoiceSlaveCompleteQuestWithMaster )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionMustChooseOwnReward:SetDisabled( not EMA.db.enableAutoQuestCompletion or not EMA.db.hasChoiceSlaveCompleteQuestWithMaster )
EMA.settingsControlCompletion.checkBoxHasChoiceMinionRewardChoiceModifierConditional:SetDisabled( not EMA.db.enableAutoQuestCompletion or not EMA.db.hasChoiceSlaveCompleteQuestWithMaster )
EMA.settingsControlCompletion.checkBoxHasChoiceCtrlKeyModifier:SetDisabled( not EMA.db.enableAutoQuestCompletion or not EMA.db.hasChoiceSlaveCompleteQuestWithMaster or not EMA.db.hasChoiceSlaveRewardChoiceModifierConditional )
EMA.settingsControlCompletion.checkBoxHasChoiceShiftKeyModifier:SetDisabled( not EMA.db.enableAutoQuestCompletion or not EMA.db.hasChoiceSlaveCompleteQuestWithMaster or not EMA.db.hasChoiceSlaveRewardChoiceModifierConditional )
EMA.settingsControlCompletion.checkBoxHasChoiceAltKeyModifier:SetDisabled( not EMA.db.enableAutoQuestCompletion or not EMA.db.hasChoiceSlaveCompleteQuestWithMaster or not EMA.db.hasChoiceSlaveRewardChoiceModifierConditional )
EMA.settingsControlCompletion.checkBoxHasChoiceOverrideUseMinionRewardSelected:SetDisabled( not EMA.db.enableAutoQuestCompletion or not EMA.db.hasChoiceSlaveCompleteQuestWithMaster )
end
function EMA:SettingsPushSettingsClick( event )
EMA:EMASendSettings()
end
function EMA:SettingsToggleMirrorMasterQuestSelectionAndDeclining( event, checked )
EMA.db.mirrorMasterQuestSelectionAndDeclining = checked
EMA.db.allAutoSelectQuests = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleAllAutoSelectQuests( event, checked )
EMA.db.allAutoSelectQuests = checked
EMA.db.mirrorMasterQuestSelectionAndDeclining = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleAcceptQuests( event, checked )
EMA.db.acceptQuests = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleMinionMirrorMasterAccept( event, checked )
EMA.db.slaveMirrorMasterAccept = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleOverrideQuestAutoSelectAndComplete( event, checked )
EMA.db.overrideQuestAutoSelectAndComplete = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleDoNotAutoAccept( event, checked )
EMA.db.doNotAutoAccept = checked
EMA.db.allAcceptAnyQuest = not checked
EMA.db.onlyAcceptQuestsFrom = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleAllAcceptAnyQuest( event, checked )
EMA.db.allAcceptAnyQuest = checked
EMA.db.onlyAcceptQuestsFrom = not checked
EMA.db.doNotAutoAccept = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleOnlyAcceptQuestsFrom( event, checked )
EMA.db.onlyAcceptQuestsFrom = checked
EMA.db.allAcceptAnyQuest = not checked
EMA.db.doNotAutoAccept = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleAcceptFromTeam( event, checked )
EMA.db.acceptFromTeam = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleAcceptFromNpc( event, checked )
EMA.db.acceptFromNpc = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleAcceptFromFriends( event, checked )
EMA.db.acceptFromFriends = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleAcceptFromParty( event, checked )
EMA.db.acceptFromParty = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleAcceptFromRaid( event, checked )
EMA.db.acceptFromRaid = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleAcceptFromGuild( event, checked )
EMA.db.acceptFromGuild = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleMasterAutoShareQuestOnAccept( event, checked )
EMA.db.masterAutoShareQuestOnAccept = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleMinionAutoAcceptEscortQuest( event, checked )
EMA.db.slaveAutoAcceptEscortQuest = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleShowEMAQuestLogWithWoWQuestLog( event, checked )
EMA.db.showEMAQuestLogWithWoWQuestLog = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleEnableAutoQuestCompletion( event, checked )
EMA.db.enableAutoQuestCompletion = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleNoChoiceAllDoNothing( event, checked )
EMA.db.noChoiceAllDoNothing = checked
EMA.db.noChoiceSlaveCompleteQuestWithMaster = not checked
EMA.db.noChoiceAllAutoCompleteQuest = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleNoChoiceMinionCompleteQuestWithMaster( event, checked )
EMA.db.noChoiceSlaveCompleteQuestWithMaster = checked
EMA.db.noChoiceAllDoNothing = not checked
EMA.db.noChoiceAllAutoCompleteQuest = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleNoChoiceAllAutoCompleteQuest( event, checked )
EMA.db.noChoiceAllAutoCompleteQuest = checked
EMA.db.noChoiceAllDoNothing = not checked
EMA.db.noChoiceSlaveCompleteQuestWithMaster = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceMinionDoNothing( event, checked )
EMA.db.hasChoiceSlaveDoNothing = checked
EMA.db.hasChoiceAquireBestQuestRewardForCharacter = not checked
EMA.db.hasChoiceSlaveCompleteQuestWithMaster = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceMinionCompleteQuestWithMaster( event, checked )
EMA.db.hasChoiceSlaveCompleteQuestWithMaster = checked
EMA.db.hasChoiceAquireBestQuestRewardForCharacter = not checked
EMA.db.hasChoiceSlaveDoNothing = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceAquireBestQuestRewardForCharacter( event, checked )
EMA.db.hasChoiceAquireBestQuestRewardForCharacter = checked
EMA.db.hasChoiceSlaveCompleteQuestWithMaster = not checked
EMA.db.hasChoiceSlaveDoNothing = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceMinionChooseSameRewardAsMaster( event, checked )
EMA.db.hasChoiceSlaveChooseSameRewardAsMaster = checked
EMA.db.hasChoiceSlaveMustChooseOwnReward = not checked
EMA.db.hasChoiceSlaveRewardChoiceModifierConditional = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceMinionMustChooseOwnReward( event, checked )
EMA.db.hasChoiceSlaveMustChooseOwnReward = checked
EMA.db.hasChoiceSlaveChooseSameRewardAsMaster = not checked
EMA.db.hasChoiceSlaveRewardChoiceModifierConditional = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceMinionRewardChoiceModifierConditional( event, checked )
EMA.db.hasChoiceSlaveRewardChoiceModifierConditional = checked
EMA.db.hasChoiceSlaveChooseSameRewardAsMaster = not checked
EMA.db.hasChoiceSlaveMustChooseOwnReward = not checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceCtrlKeyModifier( event, checked )
EMA.db.hasChoiceCtrlKeyModifier = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceShiftKeyModifier( event, checked )
EMA.db.hasChoiceShiftKeyModifier = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceAltKeyModifier( event, checked )
EMA.db.hasChoiceAltKeyModifier = checked
EMA:SettingsRefresh()
end
function EMA:SettingsToggleHasChoiceOverrideUseMinionRewardSelected( event, checked )
EMA.db.hasChoiceOverrideUseSlaveRewardSelected = checked
EMA:SettingsRefresh()
end
function EMA:SettingsSetMessageArea( event, messageAreaValue )
EMA:DebugMessage( event, messageAreaValue )
EMA.db.messageArea = messageAreaValue
EMA:SettingsRefresh()
end
function EMA:SettingsSetWarningArea( event, messageAreaValue )
EMA.db.warningArea = messageAreaValue
EMA:SettingsRefresh()
end
-------------------------------------------------------------------------------------------------------------
-- NPC QUEST PROCESSING - SELECTING AND DECLINING
-------------------------------------------------------------------------------------------------------------
function EMA:ChurnNpcGossip()
EMA:DebugMessage( "ChurnNpcGossip" )
-- GetGossipAvailableQuests and GetGossipActiveQuests are returning nil in some cases, so do this as well.
-- GetGossipAvailableQuests() now returns 6 elements per quest and GetGossipActiveQuests() returns 4. title, level, isTrivial, isDaily, ...
-- Patch 5.0.4 added isLegendary.
-- title1, level1, isLowLevel1, isDaily1, isRepeatable1, isLegendary1, title2, level2, isLowLevel2, isDaily2, isRepeatable2, isLegendary2 = GetGossipAvailableQuests()
-- title1, level1, isLowLevel1, isComplete1, isLegendary1, title2, level2, isLowLevel2, isComplete2, isLegendary2 = GetGossipActiveQuests()
local numberAvailableQuestInfo = 6
local numberActiveQuestInfo = 5
local index
EMA:DebugMessage( "GetNumAvailableQuests", GetNumAvailableQuests() )
EMA:DebugMessage( "GetNumActiveQuests", GetNumActiveQuests() )
EMA:DebugMessage( "GetGossipAvailableQuests", GetGossipAvailableQuests() )
EMA:DebugMessage( "GetGossipActiveQuests", GetGossipActiveQuests() )
for index = 0, GetNumAvailableQuests() do
SelectAvailableQuest( index )
end
for index = 0, GetNumActiveQuests() do
SelectActiveQuest( index )
end
EMAUtilities:ClearTable( EMA.gossipQuests )
local availableQuestsData = { GetGossipAvailableQuests() }
local iterateQuests = 1
local questIndex = 1
while( availableQuestsData[iterateQuests] ) do
local questInformation = {}
questInformation.type = "available"
questInformation.index = questIndex
questInformation.name = availableQuestsData[iterateQuests]
questInformation.level = availableQuestsData[iterateQuests + 1]
table.insert( EMA.gossipQuests, questInformation )
iterateQuests = iterateQuests + numberAvailableQuestInfo
questIndex = questIndex + 1
end
local activeQuestsData = { GetGossipActiveQuests() }
iterateQuests = 1
while( activeQuestsData[iterateQuests] ) do
local questInformation = {}
questInformation.type = "active"
questInformation.index = questIndex
questInformation.name = activeQuestsData[iterateQuests]
questInformation.level = activeQuestsData[iterateQuests + 1]
questInformation.isComplete = activeQuestsData[iterateQuests + 3]
table.insert( EMA.gossipQuests, questInformation )
iterateQuests = iterateQuests + numberActiveQuestInfo
questIndex = questIndex + 1
end
for index, questInformation in ipairs( EMA.gossipQuests ) do
if questInformation.type == "available" then
SelectGossipAvailableQuest( questInformation.index )
end
-- If this is an active quest...
if questInformation.type == "active" then
-- If this quest has been completed...
if questInformation.isComplete then
-- Complete it.
SelectGossipActiveQuest( questInformation.index )
end
end
end
end
function EMA:CanAutomateAutoSelectAndComplete()
if EMA.db.overrideQuestAutoSelectAndComplete == true then
if IsShiftKeyDown() then
return false
else
return true
end
end
return true
end
function EMA:GOSSIP_SHOW()
if EMA.db.allAutoSelectQuests == true and EMA:CanAutomateAutoSelectAndComplete() == true then
EMA:ChurnNpcGossip()
end
end
function EMA:QUEST_GREETING()
if EMA.db.allAutoSelectQuests == true and EMA:CanAutomateAutoSelectAndComplete() == true then
EMA:ChurnNpcGossip()
end
end
function EMA:QUEST_PROGRESS()
if EMA.db.allAutoSelectQuests == true and EMA:CanAutomateAutoSelectAndComplete() == true then
if IsQuestCompletable() then
if QuestFrame:IsShown() == true then
EMA.isInternalCommand = true
CompleteQuest()
EMA.isInternalCommand = false
else
EMA:Print( "NO QUEST PAGE CAN NOT HAND IN" )
end
end
end
end
function EMA:SelectGossipOption( gossipIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
if EMA.isInternalCommand == false then
EMA:DebugMessage( "SelectGossipOption" )
EMA:EMASendCommandToTeam( EMA.COMMAND_SELECT_GOSSIP_OPTION, gossipIndex )
end
end
end
function EMA:DoSelectGossipOption( sender, gossipIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
EMA.isInternalCommand = true
EMA:DebugMessage( "DoSelectGossipOption" )
SelectGossipOption( gossipIndex )
EMA.isInternalCommand = false
end
end
function EMA:SelectGossipActiveQuest( gossipIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
if EMA.isInternalCommand == false then
EMA:DebugMessage( "SelectGossipActiveQuest" )
EMA:EMASendCommandToTeam( EMA.COMMAND_SELECT_GOSSIP_ACTIVE_QUEST, gossipIndex )
end
end
end
function EMA:DoSelectGossipActiveQuest( sender, gossipIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
EMA.isInternalCommand = true
EMA:DebugMessage( "DoSelectGossipActiveQuest" )
SelectGossipActiveQuest( gossipIndex )
EMA.isInternalCommand = false
end
end
function EMA:SelectGossipAvailableQuest( gossipIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
if EMA.isInternalCommand == false then
EMA:DebugMessage( "SelectGossipAvailableQuest" )
EMA:EMASendCommandToTeam( EMA.COMMAND_SELECT_GOSSIP_AVAILABLE_QUEST, gossipIndex )
end
end
end
function EMA:DoSelectGossipAvailableQuest( sender, gossipIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
EMA.isInternalCommand = true
EMA:DebugMessage( "DoSelectGossipAvailableQuest" )
SelectGossipAvailableQuest( gossipIndex )
EMA.isInternalCommand = false
end
end
function EMA:SelectActiveQuest( questIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
if EMA.isInternalCommand == false then
EMA:DebugMessage( "SelectActiveQuest" )
EMA:EMASendCommandToTeam( EMA.COMMAND_SELECT_ACTIVE_QUEST, questIndex )
end
end
end
function EMA:DoSelectActiveQuest( sender, questIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
EMA.isInternalCommand = true
EMA:DebugMessage( "DoSelectActiveQuest" )
SelectActiveQuest( questIndex )
EMA.isInternalCommand = false
end
end
function EMA:SelectAvailableQuest( questIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
if EMA.isInternalCommand == false then
EMA:DebugMessage( "SelectAvailableQuest" )
EMA:EMASendCommandToTeam( EMA.COMMAND_SELECT_AVAILABLE_QUEST, questIndex )
end
end
end
function EMA:DoSelectAvailableQuest( sender, questIndex )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
EMA.isInternalCommand = true
EMA:DebugMessage( "DoSelectAvailableQuest" )
SelectAvailableQuest( questIndex )
EMA.isInternalCommand = false
end
end
function EMA:QUEST_FINISHED(...)
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
if EMA.isInternalCommand == false then
--EMA:Print( "DeclineQuest" )
EMA:DebugMessage( "DeclineQuest" )
EMA:ScheduleTimer("EMASendCommandToTeam", 0.5, EMA.COMMAND_DECLINE_QUEST )
end
end
end
function EMA:DoDeclineQuest( sender )
if EMA.db.mirrorMasterQuestSelectionAndDeclining == true then
--EMA:Print("DoDeclineQuest", sender )
EMA.isInternalCommand = true
EMA:DebugMessage( "DoDeclineQuest" )
HideUIPanel(QuestFrame)
EMA.isInternalCommand = false
end
end
-------------------------------------------------------------------------------------------------------------
-- NPC QUEST PROCESSING - COMPLETING
-------------------------------------------------------------------------------------------------------------
function EMA:CompleteQuest()
if EMA.db.enableAutoQuestCompletion == true then
if EMA.isInternalCommand == false then
EMA:DebugMessage( "CompleteQuest" )
EMA:EMASendCommandToTeam( EMA.COMMAND_COMPLETE_QUEST )
end
end
end
function EMA:DoCompleteQuest( sender )
if EMA.db.enableAutoQuestCompletion == true then
EMA.isInternalCommand = true
EMA:DebugMessage( "DoCompleteQuest" )
CompleteQuest()
EMA.isInternalCommand = false
end
end
function EMA:QUEST_COMPLETE()
EMA:DebugMessage( "QUEST_COMPLETE" )
if EMA.db.enableAutoQuestCompletion == true then
if (EMA.db.hasChoiceAquireBestQuestRewardForCharacter == true) and (GetNumQuestChoices() > 1) then
local bestQuestItemIndex = nil
if bestQuestItemIndex ~= nil and bestQuestItemIndex > 0 then
local questItemChoice = _G["QuestInfoItem"..bestQuestItemIndex]
QuestInfoItem_OnClick( questItemChoice )
QuestInfoFrame.itemChoice = bestQuestItemIndex
if EMA.db.hasChoiceAquireBestQuestRewardForCharacterAndGet == true then
GetQuestReward( bestQuestItemIndex )
end
end
elseif (EMA.db.noChoiceAllAutoCompleteQuest == true) and (GetNumQuestChoices() <= 1) then
GetQuestReward( GetNumQuestChoices() )
end
end
end
function EMA:QUEST_FAIL( event, message, ... )
--EMA:Print("QUEST_FAIL", message )
local questName = GetTitleText()
if questName ~= nil then
local questInvFull = string.format( ERR_QUEST_FAILED_BAG_FULL_S, questName )
--EMA:Print("A", questInvFull )
if message == questInvFull then
--EMA:Print("test")
EMA:EMASendMessageToTeam( EMA.db.warningArea, L["INVENTORY_IS_FULL_CAN_NOT_HAND_IN_QUEST"]( questName ), false )
end
end
end
-------------------------------------------------------------------------------------------------------------
-- IN THE FIELD QUEST PROCESSING - COMPLETING
-------------------------------------------------------------------------------------------------------------
function EMA:ShowQuestComplete( questIndex )
EMA:DebugMessage( "ShowQuestComplete" )
if EMA.db.enableAutoQuestCompletion == false then
return
end
if EMA.isInternalCommand == true then
return
end
local questName = select( 1, GetQuestLogTitle( questIndex ) )
EMA:EMASendCommandToTeam( EMA.COMMAND_LOG_COMPLETE_QUEST, questName )
end
function EMA:DoShowQuestComplete( sender, questName )
EMA:DebugMessage( "DoShowQuestComplete" )
if EMA.db.enableAutoQuestCompletion == false then
return
end
EMA.isInternalCommand = true
local questIndex = EMA:GetQuestLogIndexByName( questName )
if questIndex ~= 0 then
ShowQuestComplete( questIndex )
end
EMA.isInternalCommand = false
end
-------------------------------------------------------------------------------------------------------------
-- NPC QUEST PROCESSING - REWARDS
-------------------------------------------------------------------------------------------------------------
function EMA:CheckForOverrideAndChooseQuestReward( questIndex )
-- Yes, override if minion has reward selected?
if (EMA.db.hasChoiceOverrideUseSlaveRewardSelected == true) and (QuestInfoFrame.itemChoice > 0) then
-- Yes, choose minions reward.
GetQuestReward( QuestInfoFrame.itemChoice )
else
-- No, choose masters reward.
GetQuestReward( questIndex )
end
end
function EMA:CheckForOverrideAndDoNotChooseQuestReward( questIndex )
-- Yes, override if minion has reward selected?
if QuestInfoFrame.itemChoice ~= nil then
if (EMA.db.hasChoiceOverrideUseSlaveRewardSelected == true) and (QuestInfoFrame.itemChoice > 0) then
-- Yes, choose minions reward.
GetQuestReward( QuestInfoFrame.itemChoice )
end
end
end
function EMA:AreCorrectConditionalKeysPressed()
local failTest = false
if EMA.db.hasChoiceCtrlKeyModifier == true and not IsControlKeyDown() then
failTest = true
end
if EMA.db.hasChoiceShiftKeyModifier == true and not IsShiftKeyDown() then
failTest = true
end
if EMA.db.hasChoiceAltKeyModifier == true and not IsAltKeyDown() then
failTest = true
end
return not failTest
end
function EMA:GetQuestReward( questIndex )
if EMA.db.enableAutoQuestCompletion == true then
if (EMA.db.noChoiceSlaveCompleteQuestWithMaster == true) or (EMA.db.hasChoiceSlaveCompleteQuestWithMaster == true) or (EMA.db.hasChoiceAquireBestQuestRewardForCharacter == true) then
if EMA.isInternalCommand == false then
EMA:DebugMessage( "GetQuestReward" )
EMA:EMASendCommandToTeam( EMA.COMMAND_CHOOSE_QUEST_REWARD, questIndex, EMA:AreCorrectConditionalKeysPressed(), EMA.db.hasChoiceAquireBestQuestRewardForCharacter )
end
end
end
end
function EMA:DoChooseQuestReward( sender, questIndex, modifierKeysPressed, rewardPickedAlready )
local numberOfQuestRewards = GetNumQuestChoices()
if EMA.db.enableAutoQuestCompletion == true then
if (EMA.db.noChoiceSlaveCompleteQuestWithMaster == true) or (EMA.db.hasChoiceSlaveCompleteQuestWithMaster == true) or (EMA.db.hasChoiceAquireBestQuestRewardForCharacter == true) then
EMA.isInternalCommand = true
EMA:DebugMessage( "DoChooseQuestReward" )
EMA:DebugMessage( "Quest has ", numberOfQuestRewards, " reward choices." )
-- How many reward choices does this quest have?
if numberOfQuestRewards <= 1 then
-- One or less.
if EMA.db.noChoiceSlaveCompleteQuestWithMaster == true then
QuestInfoFrame.itemChoice = 1
--GetQuestReward( 1 )
GetQuestReward( QuestInfoFrame.itemChoice )
end
else
-- More than one.
if EMA.db.hasChoiceSlaveCompleteQuestWithMaster == true then
-- Choose same as master?
if EMA.db.hasChoiceSlaveChooseSameRewardAsMaster == true then
EMA:CheckForOverrideAndChooseQuestReward( questIndex )
-- Choose same as master, conditional keys?
elseif EMA.db.hasChoiceSlaveRewardChoiceModifierConditional == true then
if modifierKeysPressed == true then
EMA:CheckForOverrideAndChooseQuestReward( questIndex )
else
EMA:CheckForOverrideAndDoNotChooseQuestReward( questIndex )
end
end
end
if (EMA.db.hasChoiceAquireBestQuestRewardForCharacter == true) and (rewardPickedAlready == true) then
if QuestInfoFrame.itemChoice > 0 then
-- Yes, choose minions reward.
GetQuestReward( QuestInfoFrame.itemChoice )
end
end
end
EMA.isInternalCommand = false
end
end
end
-------------------------------------------------------------------------------------------------------------
-- NPC QUEST PROCESSING - ACCEPTING
-------------------------------------------------------------------------------------------------------------
function EMA:QUEST_ACCEPTED( ... )
local event, questIndex = ...
if EMA.db.acceptQuests == true then
if EMA.db.masterAutoShareQuestOnAccept == true then
if EMAApi.IsCharacterTheMaster( EMA.characterName ) == true then
if EMA.isInternalCommand == false then
SelectQuestLogEntry( questIndex )
if GetQuestLogPushable() and GetNumSubgroupMembers() > 0 then
EMA:EMASendMessageToTeam( EMA.db.messageArea, "Pushing newly accepted quest.", false )
QuestLogPushQuest()
end
end
end
end
end
end
function EMA:AcceptQuest()
if EMA.db.acceptQuests == true then
if EMA.db.slaveMirrorMasterAccept == true then
if EMA.isInternalCommand == false then
EMA:DebugMessage( "AcceptQuest" )
EMA:EMASendCommandToTeam( EMA.COMMAND_ACCEPT_QUEST )
end
end
end
end
function EMA:DoAcceptQuest( sender )
if EMA.db.acceptQuests == true and EMA.db.slaveMirrorMasterAccept == true then
local questName = GetTitleText()
local questIndex = EMA:GetQuestLogIndexByName( questName )
--Only works if the quest frame is open. Stops sending a blank quest. Tell the team a char not got the quest window open???? <<<<<< TODO
if QuestFrame:IsShown() == true then
--EMA:Print( "DoAcceptQuest", questName, questIndex, sender)
EMA.isInternalCommand = true
EMA:DebugMessage( "DoAcceptQuest" )
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["ACCEPTED_QUEST_QN"]( questName ), false )
AcceptQuest()
HideUIPanel( QuestFrame )
AcceptQuest()
EMA.isInternalCommand = false
end
end
end
-- Auto quest magic!
function EMA:AcknowledgeAutoAcceptQuest()
if EMA.db.acceptQuests == true then
if EMA.db.slaveMirrorMasterAccept == true then
if EMA.isInternalCommand == false then
EMA:DebugMessage( "MagicAutoAcceptQuestGrrrr", QuestGetAutoAccept() )
EMA:EMASendCommandToTeam( EMA.COMMAND_ACCEPT_QUEST_FAKE )
end
end
end
end
function EMA:DoMagicAutoAcceptQuestGrrrr()
if EMA.db.acceptQuests == true and EMA.db.slaveMirrorMasterAccept == true and QuestFrame:IsVisible() then
local questIndex = EMA:GetQuestLogIndexByName( questName )
EMA.isInternalCommand = true
EMA:DebugMessage( "DoMagicAutoAcceptQuestGrrrr" )
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["AUTO_ACCEPTED_PICKUPQUEST_QN"]( GetTitleText() ), false )
-- AcknowledgeAutoAcceptQuest()
HideUIPanel( QuestFrame )
EMA.isInternalCommand = false
end
end
-------------------------------------------------------------------------------------------------------------
-- QUEST PROCESSING - AUTO ACCEPTING
-------------------------------------------------------------------------------------------------------------
--TODO: this could do with some work with Friends.
function EMA:CanAutoAcceptSharedQuestFromPlayer()
local canAccept = false
if EMA.db.allAcceptAnyQuest == true then
canAccept = true
elseif EMA.db.onlyAcceptQuestsFrom == true then
local questSourceName, questSourceRealm = UnitName( "npc" )
local character = EMAUtilities:AddRealmToNameIfNotNil( questSourceName, questSourceRealm )
if EMA.db.acceptFromTeam == true then
if EMAApi.IsCharacterInTeam( character ) == true then
canAccept = true
end
end
if EMA.db.acceptFromFriends == true then
for friendIndex = 1, GetNumFriends() do
local friendName = GetFriendInfo( friendIndex )
if questSourceName == friendName then
canAccept = true
break
end
end
end
if EMA.db.acceptFromParty == true then
if UnitInParty( "npc" ) then
EMA:DebugMessage( "test" )
canAccept = true
end
end
if EMA.db.acceptFromRaid == true then
if UnitInRaid( "npc" ) then
canAccept = true
end
end
if EMA.db.acceptFromGuild == true then
if UnitIsInMyGuild( "npc" ) then
canAccept = true
end
end
end
return canAccept
end
function EMA:QUEST_DETAIL()
EMA:DebugMessage( "QUEST_DETAIL" )
if EMA.db.acceptQuests == true then
-- Who is this quest from.
if UnitIsPlayer( "npc" ) then
-- Quest is shared from a player.
if EMA:CanAutoAcceptSharedQuestFromPlayer() == true then
EMA.isInternalCommand = true
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["AUTOMATICALLY_ACCEPTED_QUEST"]( GetTitleText() ), false )
AcceptQuest()
EMA.isInternalCommand = false
end
else
-- Quest is from an NPC.
if (EMA.db.allAcceptAnyQuest == true) or ((EMA.db.onlyAcceptQuestsFrom == true) and (EMA.db.acceptFromNpc == true)) then
EMA.isInternalCommand = true
--EMA:DebugMessage( "QUEST_DETAIL - auto accept is: ", QuestGetAutoAccept() )
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["AUTOMATICALLY_ACCEPTED_QUEST"]( GetTitleText() ), false )
AcceptQuest()
HideUIPanel( QuestFrame )
EMA.isInternalCommand = false
end
end
end
end
-------------------------------------------------------------------------------------------------------------
-- EMA QUEST CONTEXT MENU
-------------------------------------------------------------------------------------------------------------
function EMA:QuestWatch_Update()
local lastQuestIndex = GetQuestLogSelection()
local title, _, _, _, _, _, _, questID = GetQuestLogTitle(lastQuestIndex)
EMA:Print("test", questID )
if ( IsQuestWatched(lastQuestIndex) ) then
--EMA:Print("TrackingQuest")
EMA:EMASendCommandToTeam( EMA.COMMAND_QUEST_TRACK, questID, title, true )
else
--EMA:Print("UnTrackQuest")
EMA:EMASendCommandToTeam( EMA.COMMAND_QUEST_TRACK, questID, title, false )
end
end
local function EMAApiAbandonQuests(questID, questText)
--EMA:Print(questID, questText)
title = questText
local data = {}
data.questID = questID
data.title = questText
StaticPopup_Hide( "ABANDON_QUEST" )
StaticPopup_Hide( "ABANDON_QUEST_WITH_ITEMS" )
StaticPopup_Show( "EMAQUEST_ABANDON_ALL_TOONS", title, nil, data )
end
local function EMAApiUnTrackQuests(questID, questText)
--EMA:Print("test", questID, questText)
EMA:EMASendCommandToTeam( EMA.COMMAND_QUEST_TRACK, questID, questText, false )
end
local function EMAApiTrackAllQuests()
EMA:DoTrackAllQuestsFromThisToon()
EMA:ScheduleTimer("EMASendCommandToTeam", 1, EMA.COMMAND_TRACK_ALL_QUESTS)
end
function EMA:AbandonQuest ()
if EMAApi.GetTeamListMaximumOrderOnline() > 1 then
local lastQuestIndex = GetQuestLogSelection()
local _, _, _, _, _, _, _, questID = GetQuestLogTitle(lastQuestIndex)
--EMA:Print("SetAbandonQuest", lastQuestIndex, questID)
title = GetAbandonQuestName()
local data = {}
data.questID = questID
data.title = title
StaticPopup_Show( "EMAQUEST_ABANDON_ALL_TOONS", title, nil, data )
end
end
function EMA:QuestObjectiveTracker_UntrackQuest(dropDownButton, questID)
--EMA:Print("test", questID)
EMA:QuestMapQuestOptions_TrackQuest(questID)
end
function EMA:QuestMapQuestOptions_TrackQuest(questID)
if EMAApi.GetTeamListMaximumOrderOnline() > 1 then
--EMA:Print("test", questID)
local questLogIndex = GetQuestLogIndexByID(questID)
local title = GetQuestLogTitle( questLogIndex )
local data = {}
data.questID = questID
data.title = title
if ( IsQuestWatched(questLogIndex) ) then
--EMA:Print("TrackingQuest")
StaticPopup_Show( "EMA_QUEST_TRACK_ALL_TOONS", title, nil, data )
else
--EMA:Print("UnTrackQuest")
StaticPopup_Show( "EMA_QUEST_UNTRACK_ALL_TOONS", title, nil, data )
end
end
end
function EMA:QuestMapQuestOptions_EMA_DoQuestTrack( sender, questID, title, track )
--EMA:Print("test1.5", sender, questID, title, track)
local questLogIndex = GetQuestLogIndexByID( questID )
if questLogIndex ~= 0 then
if track then
isInternalCommand = true
EMA:EMADoQuest_TrackQuest( questID, questLogIndex )
else
isInternalCommand = true
EMA:EMADoQuest_UnTrackQuest( questID, questLogIndex )
end
else
-- EMA:EMASendMessageToTeam( EMA.db.messageArea, L["QUESTLOG_DO_NOT_HAVE_QUEST"]( title ), false )
end
end
function EMA:EMADoQuest_TrackQuest(questID, questLogIndex)
--EMA:Print("test", questID, questLogIndex )
if EMA.isInternalCommand == false then
if ( not IsQuestWatched(questID) ) then
AddQuestWatch(questLogIndex, true)
AutoQuestWatch_Insert(questLogIndex, QUEST_WATCH_NO_EXPIRE)
QuestWatch_Update()
end
QuestLog_SetSelection(questLogIndex)
QuestLog_Update()
end
end
function EMA:EMADoQuest_UnTrackQuest(questID, questLogIndex)
--EMA:Print("test2", questID, questLogIndex )
if ( IsQuestWatched(questLogIndex) ) then
RemoveQuestWatch(questLogIndex)
QuestWatch_Update()
end
QuestLog_SetSelection(questLogIndex)
QuestLog_Update()
end
function EMA:QuestMapQuestOptions_EMA_DoAbandonQuest( sender, questID, title )
local questLogIndex = GetQuestLogIndexByID( questID )
if questLogIndex ~= 0 then
EMA:Unhook( "AbandonQuest" )
local lastQuestIndex = GetQuestLogSelection();
SelectQuestLogEntry(GetQuestLogIndexByID(questID));
SetAbandonQuest();
AbandonQuest();
SelectQuestLogEntry(lastQuestIndex);
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["QUESTLOG_HAVE_ABANDONED_QUEST"]( title ), false )
EMA:SecureHook( "AbandonQuest" )
end
end
-- EMA ALL menu at the bottom of quest WorldMap Quest Log
function EMA:CreateEMAMiniQuestLogFrame()
EMAMiniQuestLogFrame = CreateFrame( "Frame", "EMAMiniQuestLogFrame", QuestLogFrame )
local frame = EMAMiniQuestLogFrame
frame:SetWidth( 270 )
frame:SetHeight( 80 )
frame:SetFrameStrata( "HIGH" )
frame:SetToplevel( true )
frame:SetClampedToScreen( true )
frame:EnableMouse( true )
frame:SetMovable( true )
frame:ClearAllPoints()
if IsAddOnLoaded("ElvUI" ) == true then
frame:SetPoint("BOTTOMLEFT", QuestLogFrame, "BOTTOMLEFT", 40, -80)
else
frame:SetPoint("BOTTOMLEFT", QuestLogFrame, "BOTTOMLEFT", 40, -30)
end
frame:SetBackdrop( {
bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background",
edgeFile = "Interface\\DialogFrame\\UI-DialogBox-Border",
tile = true, tileSize = 15, edgeSize = 15,
insets = { left = 5, right = 5, top = 5, bottom = 5 }
} )
table.insert( UISpecialFrames, "EMAQuestLogWindowFrame" )
-- Single Track Button
local singleTrackButton = CreateFrame( "Button", "singleTrackButton", frame, "UIPanelButtonTemplate" )
singleTrackButton:SetScript( "OnClick", function() local lastQuestIndex = GetQuestLogSelection() local title, _, _, _, _, _, _, questID = GetQuestLogTitle(lastQuestIndex) EMA:EMASendCommandToTeam( EMA.COMMAND_QUEST_TRACK, questID, title, true ) end )
singleTrackButton:SetPoint( "TOPLEFT", frame, "TOPLEFT", 30 , -10)
singleTrackButton:SetHeight( 20 )
singleTrackButton:SetWidth( 100 )
singleTrackButton:SetText( L["TRACK_SINGLE_QUEST"] )
singleTrackButton:SetScript("OnEnter", function(self) EMA:ShowTooltip(trackButton, true, L["TRACK_SINGLE_QUEST_TOOLTIP"]) end)
singleTrackButton:SetScript("OnLeave", function(self) GameTooltip:Hide() end)
singleTrackQuestLogWindowAbandonFrameButton = singleTrackButton
-- Single unTrack Button
local singleUnTrackButton = CreateFrame( "Button", "singleUnTrackButton", frame, "UIPanelButtonTemplate" )
singleUnTrackButton:SetScript( "OnClick", function() local lastQuestIndex = GetQuestLogSelection() local title, _, _, _, _, _, _, questID = GetQuestLogTitle(lastQuestIndex) EMA:EMASendCommandToTeam( EMA.COMMAND_QUEST_TRACK, questID, title, false ) end )
singleUnTrackButton:SetPoint( "TOPLEFT", frame, "TOPLEFT", 140 , -10)
singleUnTrackButton:SetHeight( 20 )
singleUnTrackButton:SetWidth( 120 )
singleUnTrackButton:SetText( L["UNTRACK_SINGLE_QUEST"] )
singleUnTrackButton:SetScript("OnEnter", function(self) EMA:ShowTooltip(trackButton, true, L["UNTRACK_SINGLE_QUEST_TOOLTIP"]) end)
singleUnTrackButton:SetScript("OnLeave", function(self) GameTooltip:Hide() end)
singleUnTrackQuestLogWindowAbandonFrameButton = singleUnTrackButton
-- abandon ALL button
local abandonButton = CreateFrame( "Button", "abandonButton", frame, "UIPanelButtonTemplate" )
abandonButton:SetScript( "OnClick", function() StaticPopup_Show("EMA_ABANDON_ALL_TOON_QUEST") end )
abandonButton:SetPoint( "TOPLEFT", frame, "TOPLEFT", 10 , -30)
abandonButton:SetHeight( 20 )
abandonButton:SetWidth( 150 )
abandonButton:SetText( L["ABANDON_ALL"] )
abandonButton:SetScript("OnEnter", function(self) EMA:ShowTooltip(trackButton, true, L["ABANDON_ALL_TOOLTIP"]) end)
abandonButton:SetScript("OnLeave", function(self) GameTooltip:Hide() end)
abandonQuestLogWindowAbandonFrameButton = abandonButton
-- Share All Button
local shareButton = CreateFrame( "Button", "shareButton", frame, "UIPanelButtonTemplate" )
shareButton:SetScript( "OnClick", function() EMA:DoShareAllQuestsFromAllToons() end )
shareButton:SetPoint( "TOPLEFT", frame, "TOPLEFT", 160, -30)
shareButton:SetHeight( 20 )
shareButton:SetWidth( 100 )
shareButton:SetText( L["SHARE_ALL"] )
shareButton:SetScript("OnEnter", function(self) EMA:ShowTooltip(shareButton, true, L["SHARE_ALL_TOOLTIP"]) end)
shareButton:SetScript("OnLeave", function(self) GameTooltip:Hide() end)
shareQuestLogWindowFrameShareButton = shareButton
--Track All Button
local trackButton = CreateFrame( "Button", "trackButton", frame, "UIPanelButtonTemplate" )
trackButton:SetScript( "OnClick", function() EMA:DoTrackAllQuestsFromAllToons() end )
trackButton:SetPoint( "TOPLEFT", frame, "TOPLEFT", 35, -50)
trackButton:SetHeight( 20 )
trackButton:SetWidth( 100 )
trackButton:SetText( L["TRACK_ALL"] )
trackButton:SetScript("OnEnter", function(self) EMA:ShowTooltip(trackButton, true, L["TRACK_ALL_TOOLTIP"]) end)
trackButton:SetScript("OnLeave", function(self) GameTooltip:Hide() end)
EMAQuestLogWindowFrameTrackButton = trackButton
-- Untrack All
local unTrackButton = CreateFrame( "Button", "unTrackButton", frame, "UIPanelButtonTemplate" )
unTrackButton:SetScript( "OnClick", function() EMA:DoUnTrackAllQuestsFromAllToons() end )
unTrackButton:SetPoint( "TOPLEFT", frame, "TOPLEFT", 160, -50)
unTrackButton:SetHeight( 20 )
unTrackButton:SetWidth( 100 )
unTrackButton:SetText( L["UNTRACK_ALL"] )
unTrackButton:SetScript("OnEnter", function(self) EMA:ShowTooltip(trackButton, true, L["UNTRACK_ALL_TOOLTIP"]) end)
unTrackButton:SetScript("OnLeave", function(self) GameTooltip:Hide() end)
EMAQuestLogWindowFrameUnTrackButton = unTrackButton
end
function EMA:ShowTooltip(frame, show, text)
if show then
GameTooltip:SetOwner(frame, "ANCHOR_TOP")
GameTooltip:SetPoint("TOPLEFT", frame, "TOPRIGHT", 16, 0)
GameTooltip:ClearLines()
GameTooltip:AddLine( text , 1, 0.82, 0, 1)
GameTooltip:Show()
else
GameTooltip:Hide()
end
end
function EMA:DoAbandonAllQuestsFromAllToons()
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["ABANDONING_ALLQUEST"], false )
EMA:DoAbandonAllQuestsFromThisToon()
EMA:ScheduleTimer("EMASendCommandToTeam" , 2, EMA.COMMAND_ABANDON_ALL_QUESTS)
end
function EMA:DoAbandonAllQuestsFromThisToon()
EMA.iterateQuests = 0
EMA:IterateQuests("AbandonNextQuest", 0.5)
end
function EMA.AbandonNextQuest()
local title, isHeader, questID = EMA:GetRelevantQuestInfo(EMA.iterateQuests)
if isHeader == false and questID ~= 0 then
local canAbandon = CanAbandonQuest(questID)
if canAbandon then
EMA:EMASendCommandToTeam( EMA.COMMAND_ABANDON_QUEST, questID, title)
if (EMA.iterateQuests ~= GetNumQuestLogEntries()) then
-- decrement quest count as we have removed one if not last quest
EMA.iterateQuests = EMA.iterateQuests - 1
end
end
end
EMA:IterateQuests("AbandonNextQuest", 0.5)
end
function EMA.DoShareAllQuestsFromAllToons()
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["SHARING_QUEST_TO_ALLMINIONS"], false )
EMA:DoShareAllQuestsFromThisToon()
EMA:ScheduleTimer("EMASendCommandToTeam" , 2, EMA.COMMAND_SHARE_ALL_QUESTS)
end
function EMA.DoShareAllQuestsFromThisToon()
EMA.iterateQuests = 0
EMA:IterateQuests("ShareNextQuest", 1)
end
function EMA.ShareNextQuest()
local title, isHeader, questID = EMA:GetRelevantQuestInfo(EMA.iterateQuests)
if GetQuestLogPushable() then
if isHeader == false and questID ~= 0 then
EMA:Print("test", questID )
QuestLogPushQuest()
end
end
EMA:IterateQuests("ShareNextQuest", 1)
end
function EMA:DoTrackAllQuestsFromAllToons()
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["TRACKING_QUEST_TO_ALLMINIONS"], false )
EMA:DoTrackAllQuestsFromThisToon()
EMA:ScheduleTimer("EMASendCommandToTeam", 1, EMA.COMMAND_TRACK_ALL_QUESTS)
end
function EMA:DoTrackAllQuestsFromThisToon()
EMA.iterateQuests = 0
EMA:IterateQuests("TrackNextQuest", 0.5)
end
function EMA.TrackNextQuest()
local title, isHeader, questID = EMA:GetRelevantQuestInfo(EMA.iterateQuests)
if isHeader == false and questID ~= 0 then
EMA:EMASendCommandToTeam( EMA.COMMAND_QUEST_TRACK, questID, title, true )
end
EMA:IterateQuests("TrackNextQuest", 0.5)
end
function EMA:DoUnTrackAllQuestsFromAllToons()
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["UNTRACKING_QUESTS_ALLMINIONS"], false )
EMA:DoUnTrackAllQuestsFromThisToon()
EMA:ScheduleTimer("EMASendCommandToTeam", 1, EMA.COMMAND_UNTRACK_ALL_QUESTS)
end
function EMA:DoUnTrackAllQuestsFromThisToon()
EMA.iterateQuests = 0
EMA:IterateQuests("UnTrackNextQuest", 0.5)
end
function EMA.UnTrackNextQuest()
local title, isHeader, questID = EMA:GetRelevantQuestInfo(EMA.iterateQuests)
if isHeader == false and questID ~= 0 then
EMA:EMASendCommandToTeam( EMA.COMMAND_QUEST_TRACK, questID, title, false )
end
EMA:IterateQuests("UnTrackNextQuest", 0.5)
end
function EMA:IterateQuests(methodToCall, timer)
EMA.iterateQuests = EMA.iterateQuests + 1
if EMA.iterateQuests <= GetNumQuestLogEntries() then
EMA:ScheduleTimer( methodToCall, timer )
end
end
function EMA:GetRelevantQuestInfo(questLogIndex)
local title, level, suggestedGroup, isHeader, isCollapsed, isComplete, frequency, questID, startEvent, displayQuestID, isOnMap, hasLocalPOI, isTask, isStory = GetQuestLogTitle( questLogIndex )
return title, isHeader, questID
end
function EMA:ToggleFrame( frame )
if frame == QuestLogFrame then
EMA:ToggleQuestLog()
end
end
function EMA:ToggleQuestLog()
-- This sorts out hooking on L or marcioMenu button
if EMA.db.showEMAQuestLogWithWoWQuestLog == true then
if QuestLogFrame:IsVisible() then
EMA:ToggleShowQuestCommandWindow( true )
else
EMA:ToggleShowQuestCommandWindow( false )
end
end
end
function EMA:QuestLogFrameHide()
if EMA.db.showEMAQuestLogWithWoWQuestLog == true then
EMA:ToggleShowQuestCommandWindow( false )
end
end
function EMA:ToggleShowQuestCommandWindow( show )
if show == true then
EMAMiniQuestLogFrame:Show()
else
EMAMiniQuestLogFrame:Hide()
end
end
-------------------------------------------------------------------------------------------------------------
-- ESCORT QUEST
-------------------------------------------------------------------------------------------------------------
function EMA:QUEST_ACCEPT_CONFIRM( event, senderName, questName )
EMA:DebugMessage( "QUEST_ACCEPT_CONFIRM" )
if EMA.db.acceptQuests == true then
if EMA.db.slaveAutoAcceptEscortQuest == true then
EMA:EMASendMessageToTeam( EMA.db.messageArea, L["AUTOMATICALLY_ACCEPTED_ESCORT_QUEST"]( questName ), false )
EMA.isInternalCommand = true
ConfirmAcceptQuest()
EMA.isInternalCommand = false
StaticPopup_Hide( "QUEST_ACCEPT" )
end
end
end
function EMA:GetQuestLogIndexByName( questName )
for iterateQuests = 1, GetNumQuestLogEntries() do
local title, level, suggestedGroup, isHeader, isCollapsed, isComplete, frequency, questID, startEvent, displayQuestID, isOnMap, hasLocalPOI, isTask, isStory = GetQuestLogTitle( iterateQuests )
if not isHeader then
if title == questName then
return iterateQuests
end
end
end
return 0
end
function EMA:AutoSelectToggleCommand( info, parameters )
local toggle, tag = strsplit( " ", parameters )
if tag ~= nil and tag:trim() ~= "" then
EMA:EMASendCommandToTeam( EMA.COMMAND_TOGGLE_AUTO_SELECT, toggle, tag )
else
EMA:AutoSelectToggle( toggle )
end
end
function EMA:DoAutoSelectToggle( sender, toggle, tag )
if EMAApi.DoesCharacterHaveTag( EMA.characterName, tag ) == true then
EMA:AutoSelectToggle( toggle )
end
end
function EMA:AutoSelectToggle( toggle )
if toggle == L["TOGGLE"] then
if EMA.db.allAutoSelectQuests == true then
toggle = L["OFF"]
else
toggle = L["ON"]
end
end
if toggle == L["ON"] then
EMA.db.mirrorMasterQuestSelectionAndDeclining = false
EMA.db.allAutoSelectQuests = true
elseif toggle == L["OFF"] then
EMA.db.mirrorMasterQuestSelectionAndDeclining = true
EMA.db.allAutoSelectQuests = false
end
EMA:SettingsRefresh()
end
-------------------------------------------------------------------------------------------------------------
-- COMMAND MANAGEMENT
-------------------------------------------------------------------------------------------------------------
-- A EMA command has been recieved.
function EMA:EMAOnCommandReceived( characterName, commandName, ... )
EMA:DebugMessage( 'got a command', characterName, commandName, ... )
if commandName == EMA.COMMAND_TOGGLE_AUTO_SELECT then
EMA:DoAutoSelectToggle( characterName, ... )
end
-- Want to action track and abandon command on the same character tat sent the command.
if commandName == EMA.COMMAND_QUEST_TRACK then
EMA:QuestMapQuestOptions_EMA_DoQuestTrack( characterName, ... )
end
if commandName == EMA.COMMAND_ABANDON_QUEST then
EMA:QuestMapQuestOptions_EMA_DoAbandonQuest( characterName, ... )
end
-- If this character sent this command, don't action it.
if characterName == EMA.characterName then
return
end
if commandName == EMA.COMMAND_UNTRACK_ALL_QUESTS then
EMA:DoUnTrackAllQuestsFromThisToon()
end
if commandName == EMA.COMMAND_ABANDON_ALL_QUESTS then
EMA:DoAbandonAllQuestsFromThisToon()
end
if commandName == EMA.COMMAND_TRACK_ALL_QUESTS then
EMA:DoTrackAllQuestsFromThisToon()
end
if commandName == EMA.COMMAND_SHARE_ALL_QUESTS then
EMA:DoShareAllQuestsFromThisToon()
end
if commandName == EMA.COMMAND_ACCEPT_QUEST then
EMA:DoAcceptQuest( characterName, ... )
end
if commandName == EMA.COMMAND_SELECT_GOSSIP_OPTION then
EMA:DoSelectGossipOption( characterName, ... )
end
if commandName == EMA.COMMAND_SELECT_GOSSIP_ACTIVE_QUEST then
EMA:DoSelectGossipActiveQuest( characterName, ... )
end
if commandName == EMA.COMMAND_SELECT_GOSSIP_AVAILABLE_QUEST then
EMA:DoSelectGossipAvailableQuest( characterName, ... )
end
if commandName == EMA.COMMAND_SELECT_ACTIVE_QUEST then
EMA:DoSelectActiveQuest( characterName, ... )
end
if commandName == EMA.COMMAND_SELECT_AVAILABLE_QUEST then
EMA:DoSelectAvailableQuest( characterName, ... )
end
if commandName == EMA.COMMAND_DECLINE_QUEST then
EMA:ScheduleTimer("DoDeclineQuest" , 1, characterName, ... )
end
if commandName == EMA.COMMAND_COMPLETE_QUEST then
EMA:DoCompleteQuest( characterName, ... )
end
if commandName == EMA.COMMAND_CHOOSE_QUEST_REWARD then
EMA:DoChooseQuestReward( characterName, ... )
end
if commandName == EMA.COMMAND_LOG_COMPLETE_QUEST then
EMA:DoShowQuestComplete( characterName, ... )
end
if commandName == EMA.COMMAND_ACCEPT_QUEST_FAKE then
EMA:DoMagicAutoAcceptQuestGrrrr( characterName, ... )
end
end
EMAApi.EMAApiAbandonQuest = EMAApiAbandonQuests
EMAApi.EMAApiUnTrackQuest = EMAApiUnTrackQuests
EMAApi.EMAApiTrackAllQuests = EMAApiTrackAllQuests
|
object_tangible_loot_npc_loot_spice_kliknik_boost_generic = object_tangible_loot_npc_loot_shared_spice_kliknik_boost_generic:new {
}
ObjectTemplates:addTemplate(object_tangible_loot_npc_loot_spice_kliknik_boost_generic, "object/tangible/loot/npc/loot/spice_kliknik_boost_generic.iff")
|
-- Class of first and third wave of npcs
require 'game.objects.dynamic_entity'
local anim8 = require 'lib.anim8'
NPC = DynamicEntity:extend()
function NPC:new(x, y, width, height, image, world, maxVelX, maxVelY, speed)
NPC.super.new(self, x, y, width, height, image, world, maxVelX, maxVelY, "ent_npc")
self.origX = x
self.origY = y
self.speed = speed
self.sprite = 'game/assets/images/sprites/sprite'..tostring(image)..'.png'
self.image = love.graphics.newImage(self.sprite)
self.world = world
self.origMaxVel = maxVelX
self.width = width
self.height = height
self.virusImage = love.graphics.newImage('game/assets/images/sprites/cvirus.png')
---------------------
-- ANIMATIONS --
---------------------
local g = anim8.newGrid(64, 64, self.image:getWidth(), self.image:getHeight())
self.animationRight = anim8.newAnimation(g('1-9',10), {0, ['2-9']=0.08}):flipH()
self.animationLeft = anim8.newAnimation(g('1-9', 10), {0, ['2-9']=0.08})
self.animationDown = anim8.newAnimation(g('1-9',11), {0, ['2-9']=0.05})
self.animationUp = anim8.newAnimation(g('1-9', 9), {0, ['2-9']=0.05})
self.direction = 1
self.going = 'right'
self.random_move = love.math.random(1, 4)
if love.math.random(1,20) == 1 then
self.infected = true
else
self.infected = false
end
end
---------------------
-- NPC MOVEMENT --
---------------------
function NPC:moveRight(dt)
self.xVel = self.xVel + self.speed
self.direction = 1
self.going = 'right'
self.animationRight:update(dt)
if self.xVel > self.maxVelX then self.xVel = self.maxVelX end
if self.xVel < 0 then self.xVel = 0 end
if self.direction == -1 then self.xVel = 0 end
end
function NPC:moveLeft(dt)
self.xVel = self.xVel + self.speed
self.direction = -1
self.going = 'left'
self.animationLeft:update(dt)
if self.direction == 1 then
self.xVel = 0
end
if self.xVel > self.maxVelX then self.xVel = self.maxVelX end
if self.xVel < 0 then self.xVel = 0 end
end
function NPC:moveDown(dt)
self.yVel = self.yVel + self.speed
self.direction = 1
self.going = 'down'
self.animationDown:update(dt)
if self.direction == -1 then
self.yVel = 0
end
if self.yVel > self.maxVelY then self.yVel = self.maxVelY end
if self.yVel < 0 then self.yVel = 0 end
end
function NPC:moveUp(dt)
self.yVel = self.yVel + self.speed
self.direction = -1
self.going = 'up'
self.animationUp:update(dt)
if self.direction == 1 then
self.yVel = 0
end
if self.yVel > self.maxVelY then self.yVel = self.maxVelY end
if self.yVel < 0 then self.yVel = 0 end
end
function NPC:update(dt, cols, entity)
for i,v in ipairs (cols) do
--Change direction if collision
if cols[i] then
self.random_move = love.math.random(1, 4)
end
end
if self.random_move == 1 then
self:moveRight(dt)
elseif self.random_move == 2 then
self:moveLeft(dt)
elseif self.random_move == 3 then
self:moveUp(dt)
elseif self.random_move == 4 then
self:moveDown(dt)
end
end
function NPC:draw()
if self.going == 'right' then
self.animationRight:draw(self.image, self.x, self.y, 0, 0.9, 0.9, 17, 17)
elseif self.going == 'left' then
self.animationLeft:draw(self.image, self.x, self.y, 0, 0.9, 0.9, 17, 17)
elseif self.going == 'down' then
self.animationDown:draw(self.image, self.x, self.y, 0, 0.9, 0.9, 17, 17)
elseif self.going == 'up' then
self.animationUp:draw(self.image, self.x, self.y, 0, 0.9, 0.9, 17, 17)
end
if self.infected == true then
love.graphics.draw(self.virusImage, self.x+6, self.y -22)
end
end
|
--
function settlements.convert_mts_to_lua()
local building = schem_path.."townhall.mts"
local str = minetest.serialize_schematic(building, "lua", {lua_use_comments = true, lua_num_indent_spaces = 0}).." return(schematic)"
local schematic = loadstring(str)()
local file = io.open(schem_path.."church"..".lua", "w")
file:write(dump(schematic))
file:close()
print(dump(schematic))
end
function settlements.mts_save()
local f = assert(io.open(schem_path.."hut.lua", "r"))
local content = f:read("*all").." return(schematic2)"
f:close()
local schematic2 = loadstring("schematic2 = "..content)()
local seb = minetest.serialize_schematic(schematic2, "mts", {})
local filename = schem_path .. "hut2" .. ".mts"
filename = filename:gsub("\"", "\\\""):gsub("\\", "\\\\")
local file, err = io.open(filename, "wb")
if err == nil and seb then
file:write(seb)
file:flush()
file:close()
end
print("Wrote: " .. filename)
end
|
local M = {}
local sym_item = {
line = 0,
col = 0,
text = "",
kind = "",
}
function sym_item:tips()
return string.format("%-4d %-12s", self.line, self.kind)
end
function sym_item:searched_str()
return self.text
end
function sym_item:do_item()
return true, function()
vim.api.nvim_win_set_cursor(0, {self.line + 1, self.col})
end
end
function sym_item:new(sym)
setmetatable(sym, {__index = self})
return sym
end
function M.search()
local symbols = require'ts_ext'.get_all_context()
if not symbols then
nvim.util.echo({"no symbols finded", "Error"})
return
end
local items = {}
for _, sym in ipairs(symbols) do
table.insert(items, sym_item:new(sym))
end
if vim.tbl_isempty(items) then
return
end
require("easy_search.ui").new(items)
end
return M
|
--[================================[
@Language.ko-KR
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.UnitsDat
@param.Index.TrgUnit
@param.Value.Number
@param.Modifier.TrgModifier
@Language.en-US
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.UnitsDat
@param.Index.TrgUnit
@param.Value.Number
@param.Modifier.TrgModifier
]================================]
function SetUnitsDat(DatType, Index, Value, Modifier) --DatFile/UnitsDat,TrgUnit,Number,TrgModifier/[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
Unit = ParseUnit(Index)
Modifier = ParseModifier(Modifier)
str = SetDatFile("units", DatType, Unit, Value, Modifier)
echo(str)
end
--[================================[
@Language.ko-KR
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.WeaponsDat
@param.Index.Weapon
@param.Value.Number
@param.Modifier.TrgModifier
@Language.en-US
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.WeaponsDat
@param.Index.Weapon
@param.Value.Number
@param.Modifier.TrgModifier
]================================]
function SetWeaponsDat(DatType, Index, Value, Modifier) --DatFile/WeaponsDat,Weapon,Number,TrgModifier/[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
Weapon = ParseWeapon(Index)
Modifier = ParseModifier(Modifier)
str = SetDatFile("weapons", DatType, Weapon, Value, Modifier)
echo(str)
end
--[================================[
@Language.ko-KR
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.FlingyDat
@param.Index.Flingy
@param.Value.Number
@param.Modifier.TrgModifier
@Language.en-US
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.FlingyDat
@param.Index.Flingy
@param.Value.Number
@param.Modifier.TrgModifier
]================================]
function SetFlingyDat(DatType, Index, Value, Modifier) --DatFile/FlingyDat,Flingy,Number,TrgModifier/[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
Flingy = ParseFlingy(Index)
Modifier = ParseModifier(Modifier)
str = SetDatFile("flingy", DatType, Flingy, Value, Modifier)
echo(str)
end
--[================================[
@Language.ko-KR
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.SpritesDat
@param.Index.Sprite
@param.Value.Number
@param.Modifier.TrgModifier
@Language.en-US
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.SpritesDat
@param.Index.Sprite
@param.Value.Number
@param.Modifier.TrgModifier
]================================]
function SetSpritesDat(DatType, Index, Value, Modifier) --DatFile/SpritesDat,Sprite,Number,TrgModifier/[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
Sprite = ParseSprites(Index)
Modifier = ParseModifier(Modifier)
str = SetDatFile("sprites", DatType, Sprite, Value, Modifier)
echo(str)
end
--[================================[
@Language.ko-KR
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.ImagesDat
@param.Index.Image
@param.Value.Number
@param.Modifier.TrgModifier
@Language.en-US
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.ImagesDat
@param.Index.Image
@param.Value.Number
@param.Modifier.TrgModifier
]================================]
function SetImagesDat(DatType, Index, Value, Modifier) --DatFile/ImagesDat,Image,Number,TrgModifier/[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
Image = ParseImages(Index)
Modifier = ParseModifier(Modifier)
str = SetDatFile("images", DatType, Image, Value, Modifier)
echo(str)
end
--[================================[
@Language.ko-KR
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.UpgradesDat
@param.Index.Upgrade
@param.Value.Number
@param.Modifier.TrgModifier
@Language.en-US
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.UpgradesDat
@param.Index.Upgrade
@param.Value.Number
@param.Modifier.TrgModifier
]================================]
function SetUpgradesDat(DatType, Index, Value, Modifier) --DatFile/UpgradesDat,Upgrade,Number,TrgModifier/[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
Upgrade = ParseUpgrades(Index)
Modifier = ParseModifier(Modifier)
str = SetDatFile("upgrades", DatType, Upgrade, Value, Modifier)
echo(str)
end
--[================================[
@Language.ko-KR
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.TechdataDat
@param.Index.Tech
@param.Value.Number
@param.Modifier.TrgModifier
@Language.en-US
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.TechdataDat
@param.Index.Tech
@param.Value.Number
@param.Modifier.TrgModifier
]================================]
function SetTechdataDat(DatType, Index, Value, Modifier) --DatFile/TechdataDat,Tech,Number,TrgModifier/[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
Tech = ParseTech(Index)
Modifier = ParseModifier(Modifier)
str = SetDatFile("techdata", DatType, Tech, Value, Modifier)
echo(str)
end
--[================================[
@Language.ko-KR
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.OrdersDat
@param.Index.Order
@param.Value.Number
@param.Modifier.TrgModifier
@Language.en-US
@Summary
[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
@Group
DatFile
@param.DatType.OrdersDat
@param.Index.Order
@param.Value.Number
@param.Modifier.TrgModifier
]================================]
function SetOrdersDat(DatType, Index, Value, Modifier) --DatFile/OrdersDat,Order,Number,TrgModifier/[Index]의 [DatType]의 값을 [Value]로 [Modifier]합니다.
Order = ParseOrder(Index)
Modifier = ParseModifier(Modifier)
str = SetDatFile("orders", DatType, Order, Value, Modifier)
echo(str)
end
|
DefaultUnit = {}
DefaultUnit.name = nil
DefaultUnit.path = nil
DefaultUnit.targetname = nil
DefaultUnit.settings = {}
function NewUnit(name, path)
local unit = TableDeepCopy(DefaultUnit)
unit.name = name
unit.path = path
unit.targetname = PathBase(PathFilename(path))
return unit
end
|
return { repos = {} }
|
----------------------------------------------------------------------------------------
-- Learns a network using a single set of parameters. Typically this run against the
-- full set of training data after reasonable parameters have been found using the
-- grid search.
--
-- Authors:
-- Peter Abeles
--
----------------------------------------------------------------------
require 'pl'
require 'trepl'
require 'torch' -- torch
require 'image' -- to visualize the dataset
require 'nn' -- provides all sorts of trainable modules/layers
require 'posix.sys.stat' -- luarocks install luaposix
----------------------------------------------------------------------
print(sys.COLORS.red .. '==> processing options')
opt = lapp[[
-r,--learningRate (default 1e-3) learning rate
--sgdLearningRateDecay (default 1e-7) learning rate decay (in # samples)
--sgdWeightDecay (default 1e-5) L2 penalty on the weights
--sgdMomentum (default 0.1) momentum
--adamBeta1 (default 0.9) adam beta1 parameter
--adamBeta2 (default 0.999) adam beta2 parameter
-l,--model (default version001) which model to load
-b,--batchSize (default 128) batch size
-t,--threads (default 1) number of threads
-p,--type (default float) float or cuda
-i,--devid (default 1) device ID (if using CUDA)
-s,--size (default small) dataset: small or full or extra
-o,--save (default results) save directory
--maxNoImprovement (default 0) How long it will run since it last improved. 0 to distable
--patches (default all) percentage of samples to use for testing'
--visualize (default false) visualize dataset
--search (default sgd) optimization algorithm (sgd,adam)
]]
-- nb of threads and fixed seed (for repeatable experiments)
torch.setnumthreads(opt.threads)
torch.manualSeed(1)
torch.setdefaulttensortype('torch.FloatTensor')
print("model " .. opt.model)
print("A random number " .. torch.random(10000))
print("data type " .. opt.type)
print("search " .. opt.search)
-- type:
if opt.type == 'cuda' then
print(sys.COLORS.red .. '==> switching to CUDA')
require 'cunn'
cutorch.setDevice(opt.devid)
print(sys.COLORS.red .. '==> using GPU #' .. cutorch.getDevice())
end
package.path = package.path .. ";models/" .. opt.model .. '.lua'
----------------------------------------------------------------------
print(sys.COLORS.red .. '==> load modules')
local data = require 'data'
local ttrain = require 'train'
local ttest = require 'test'
local train = ttrain.train
local reset_train = ttrain.reset
local test = ttest.test
local reset_test = ttest.reset
----------------------------------------------------------------------
print(sys.COLORS.red .. '==> training!')
reset_train()
reset_test()
local best_test = 0
local epoc = 0
local last_best = 0
-- save all command line arguments to disk
torch.save(paths.concat(opt.save, 'arguments.t7'), opt, 'ascii')
while true do
local results_train,model_train = train(data.trainData)
local results_test = test(data.testData)
-- If the model is better then save it
if best_test < results_test then
best_test = results_test
last_best = epoc
print("Saving model. score = "..best_test)
local model_file_name = paths.concat(opt.save, 'model.net')
local model1 = model_train:clone()
torch.save(model_file_name, model1:clearState())
end
-- If performance hasn't improved in a long time stop
if opt.maxNoImprovement > 0 and epoc - last_best >= opt.maxNoImprovement then
break
else
print("Epocs since improvement "..(epoc - last_best).." max allowed "..opt.maxNoImprovement)
end
epoc = epoc + 1
end
print("Finished!")
|
--====================================================================--
-- dmc_widget/widget_theme_mix.lua
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Copyright (C) 2015 David McCuskey. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--]]
--====================================================================--
--== DMC Corona Widgets : Widget Theme Mixin
--====================================================================--
-- Semantic Versioning Specification: http://semver.org/
local VERSION = "0.1.0"
--====================================================================--
--== Imports
local Utils = require 'dmc_utils'
-- local Widgets = require 'dmc_utils'
--====================================================================--
--== Support Functions
function _patch( obj )
obj = obj or {}
-- add properties
Theme.__init__( obj )
-- add methods
obj.resetTheme = Theme.resetTheme
obj.setTheme = Theme.setTheme
obj.setDebug = Theme.setDebug
return obj
end
--====================================================================--
--== Theme Mixin
--====================================================================--
local Theme = {}
Theme.NAME = "Theme Mixin"
Theme.__getters = {}
Theme.__setters = {}
--======================================================--
-- START: Mixin Setup for DMC Objects
function Theme.__init__( self, params )
-- print( 'Theme.__init__x', params )
params = params or {}
--==--
Theme.resetTheme( self, params )
Theme._createDefaultStyle( self )
end
function Theme.__undoInit__( self )
-- print( "Theme.__undoInit__" )
Theme._destroyDefaultStyle( self )
Theme.resetTheme( self )
end
-- END: Mixin Setup for DMC Objects
--======================================================--
--====================================================================--
--== Public Methods
function Theme.resetTheme( self, params )
params = params or {}
if params.debug_on==nil then params.debug_on=false end
--==--
if self.__debug_on then
print( outStr( "resetTheme: resetting popover" ) )
end
self.__collection_name = nil -- 'navbar-home'
self.__curr_style_collection = nil -- <style collection obj>
self.__curr_style = nil -- <style obj>
self.__default_style = nil
self.__curr_style_f = nil
self.__styles = {}
self.__debug_on = params.debug_on
self:setActiveStyle( nil )
end
function Theme.stylePropertyChangeHandler( self, event )
-- print( "Theme.stylePropertyChangeHandler", event )
error("class must have event method: stylePropertyChangeHandler")
end
-- TODO
function Theme.resetStyles( self )
self.__styles = {}
end
-- TODO
function Theme.addTheme( self )
end
-- TODO
function Theme.removeTheme( self )
end
function Theme.setDebug( self, value )
self.__debug_on = value
end
--== Style Getters/Setters ==--
function Theme.__getters:style()
-- print( 'Theme.__getters:style' )
return self.curr_style
end
function Theme.__setters:style( value )
-- print( 'Theme.__setters:style', value )
self:setActiveStyle( value )
end
function Theme.setActiveStyle( self, data, params )
-- print( "Theme.setActiveStyle", style )
params = params or {}
if params.widget==nil then params.widget=self end
if params.copy==nil then params.copy=true end
-- name
assert( data==nil or type(data)=='table' )
--==--
local StyleClass = self.STYLE_CLASS
local style = self.__curr_style
local o = self.__curr_style
if style then
style.widget = nil
self:_destroyStyle( style )
self.__curr_style = nil
self.curr_style = nil
end
if data==nil then
-- use our default style
style=self.__default_style
elseif not params.copy then
-- use style handed to us
assert( data.isa and data:isa(StyleClass) )
style = data
else
style = self:_createStyle( StyleClass, data )
end
-- set before call to resetProperties()
self.__curr_style = style
self.curr_style = style
if style then
style.widget = params.widget
style:resetProperties()
end
end
--[[
override these getters/setters/methods if necesary
--]]
--== debugOn
function Theme.__getters:debugOn()
return self.curr_style.debugOn
end
function Theme.__setters:debugOn( value )
-- print( 'Theme.__setters:debugOn', value )
self.curr_style.debugOn = value
end
--== width
function Theme.__getters:width()
return self.curr_style.width
end
function Theme.__setters:width( value )
-- print( 'Theme.__setters:width', value )
self.curr_style.width = value
end
--== height
function Theme.__getters:height()
return self.curr_style.height
end
function Theme.__setters:height( value )
-- print( 'Theme.__setters:height', value )
self.curr_style.height = value
end
--== align
function Theme.__getters:align()
return self.curr_style.align
end
function Theme.__setters:align( value )
-- print( 'Theme.__setters:align', value )
self.curr_style.align = value
end
--== anchorX
function Theme.__getters:anchorX()
return self.curr_style.anchorX
end
function Theme.__setters:anchorX( value )
-- print( 'Theme.__setters:anchorX', value )
self.curr_style.anchorX = value
end
--== anchorY
function Theme.__getters:anchorY()
return self.curr_style.anchorY
end
function Theme.__setters:anchorY( value )
-- print( 'Theme.__setters:anchorY', value )
self.curr_style.anchorY = value
end
--== font
function Theme.__getters:font()
return self.curr_style.font
end
function Theme.__setters:font( value )
-- print( 'Theme.__setters:font', value )
self.curr_style.font = value
end
--== fontSize
function Theme.__getters:fontSize()
return self.curr_style.fontSize
end
function Theme.__setters:fontSize( value )
-- print( 'Theme.__setters:fontSize', value )
self.curr_style.fontSize = value
end
--== marginX
function Theme.__getters:marginX()
return self.curr_style.marginX
end
function Theme.__setters:marginX( value )
-- print( 'Theme.__setters:marginX', value )
self.curr_style.marginX = value
end
--== marginY
function Theme.__getters:marginY()
return self.curr_style.marginY
end
function Theme.__setters:marginY( value )
-- print( 'Theme.__setters:marginY', value )
self.curr_style.marginY = value
end
--== strokeWidth
function Theme.__getters:strokeWidth()
return self.curr_style.strokeWidth
end
function Theme.__setters:strokeWidth( value )
-- print( 'Theme.__setters:strokeWidth', value )
self.curr_style.strokeWidth = value
end
--== Style Methods ==--
--== setAnchor
function Theme:setAnchor( ... )
-- print( 'Theme:setAnchor' )
local args = {...}
if type( args[1] ) == 'table' then
self.anchorX, self.anchorY = unpack( args[1] )
end
if type( args[1] ) == 'number' then
self.anchorX = args[1]
end
if type( args[2] ) == 'number' then
self.anchorY = args[2]
end
end
--== setFillColor
function Theme:setFillColor( ... )
-- print( 'Theme:setFillColor' )
self.curr_style.fillColor = {...}
end
--== setStrokeColor
function Theme:setStrokeColor( ... )
-- print( 'Theme:setStrokeColor' )
self.curr_style.strokeColor = {...}
end
--== setTextColor
function Theme:setTextColor( ... )
-- print( 'Theme:setTextColor' )
self.curr_style.textColor = {...}
end
--====================================================================--
--== Private Methods
function Theme._createStyle( self, StyleClass, data )
-- create copied style
local name = string.format( "copied-style-%s", tostring( self ) )
local style = StyleClass:createStyleFrom{
data=data,
name=name
}
-- tag style, to remove later
style.__active_create=true
return style
end
function Theme._destroyStyle( self, style )
if style.__active_create==true then
-- remove it if we created it
style:removeSelf()
end
return nil
end
function Theme._createDefaultStyle( self )
local StyleClass = self.STYLE_CLASS
assert( StyleClass, "[ERROR] Widget is missing property 'STYLE_CLASS'" )
local name = string.format( "default-style-%s", tostring( self ) )
local o = StyleClass:createStyleFrom{
name=name,
data=nil,
}
assert( o, "[ERROR] Creating default style class" )
self.__default_style = o
end
function Theme._destroyDefaultStyle( self )
local o = self.__default_style
if not o then return end
o:removeSelf()
self.__default_style = nil
return nil
end
--====================================================================--
--== Theme Facade
--====================================================================--
return {
ThemeMix=Theme,
patch=_patch,
}
|
P = function(v)
print(vim.inspect(v))
return v
end
-- Reload nvim
function _G.ReloadConfig()
for name, _ in pairs(package.loaded) do
if name:match("^foshizzle") then
package.loaded[name] = nil
end
end
dofile(vim.env.MYVIMRC)
end
vim.cmd("command! ReloadConfig lua ReloadConfig()")
require("foshizzle.packer")
require("foshizzle.settings")
require("foshizzle.mappings")
require("foshizzle.lsp")
require("foshizzle.lualine")
require("foshizzle.nerdtree")
require("foshizzle.telescope")
require("foshizzle.cmp")
require("foshizzle.treesitter")
require("foshizzle.null-ls")
require("foshizzle.autopairs")
-- Common initializing
require("colorizer").setup()
require("gitsigns").setup()
|
return {
{
Index= 9,
PointerLocation= 161407,
OldPointer= 448726,
Label= "L1571"
},
{
Index= 10,
PointerLocation= 161485,
OldPointer= 448580,
Label= "L1572"
},
{
Index= 14,
PointerLocation= 162530,
OldPointer= 245304,
Label= "L1573"
},
{
Index= 21,
PointerLocation= 164504,
OldPointer= 448596,
Label= "L1575"
},
{
Index= 22,
PointerLocation= 164522,
OldPointer= 393985,
Label= "L1576"
},
{
Index= 25,
PointerLocation= 164818,
OldPointer= 449096,
Label= "L1577"
},
{
Index= 26,
PointerLocation= 165012,
OldPointer= 452153,
Label= "L1578"
},
{
Index= 32,
PointerLocation= 166338,
OldPointer= 483997,
Label= "L1580"
},
{
Index= 34,
PointerLocation= 166930,
OldPointer= 459901,
Label= "L1581"
},
{
Index= 41,
PointerLocation= 167517,
OldPointer= 460638,
Label= "L1582"
},
{
Index= 43,
PointerLocation= 168109,
OldPointer= 459363,
Label= "L1583"
},
{
Index= 52,
PointerLocation= 170133,
OldPointer= 459437,
Label= "L1584"
},
{
Index= 54,
PointerLocation= 170911,
OldPointer= 461883,
Label= "L1585"
},
{
Index= 56,
PointerLocation= 171076,
OldPointer= 462008,
Label= "L1586"
},
{
Index= 57,
PointerLocation= 171158,
OldPointer= 462028,
Label= "L1587"
},
{
Index= 58,
PointerLocation= 171216,
OldPointer= 462052,
Label= "L1588"
},
{
Index= 59,
PointerLocation= 171444,
OldPointer= 458439,
Label= "L1589"
},
{
Index= 60,
PointerLocation= 171914,
OldPointer= 458439,
Label= "L1589"
},
{
Index= 61,
PointerLocation= 171957,
OldPointer= 458473,
Label= "L1590"
},
{
Index= 62,
PointerLocation= 172314,
OldPointer= 454606,
Label= "L1591"
},
{
Index= 63,
PointerLocation= 172568,
OldPointer= 455129,
Label= "L1592"
},
{
Index= 64,
PointerLocation= 172628,
OldPointer= 455153,
Label= "L1593"
},
{
Index= 65,
PointerLocation= 172644,
OldPointer= 455189,
Label= "L1594"
},
{
Index= 66,
PointerLocation= 172693,
OldPointer= 455442,
Label= "L1595"
},
{
Index= 67,
PointerLocation= 172906,
OldPointer= 455378,
Label= "L1596"
},
{
Index= 70,
PointerLocation= 173436,
OldPointer= 455962,
Label= "L1597"
},
{
Index= 74,
PointerLocation= 173968,
OldPointer= 458745,
Label= "L1598"
},
{
Index= 76,
PointerLocation= 174395,
OldPointer= 286941,
Label= "L1599"
},
{
Index= 77,
PointerLocation= 174529,
OldPointer= 462389,
Label= "L1600"
},
{
Index= 78,
PointerLocation= 174925,
OldPointer= 466091,
Label= "L1601"
},
{
Index= 80,
PointerLocation= 176050,
OldPointer= 462076,
Label= "L1602"
},
{
Index= 83,
PointerLocation= 176376,
OldPointer= 458607,
Label= "L1603"
},
{
Index= 84,
PointerLocation= 176477,
OldPointer= 455213,
Label= "L1604"
},
{
Index= 86,
PointerLocation= 176601,
OldPointer= 456910,
Label= "L1605"
},
{
Index= 87,
PointerLocation= 176703,
OldPointer= 455660,
Label= "L1606"
},
{
Index= 88,
PointerLocation= 176837,
OldPointer= 455914,
Label= "L1607"
},
{
Index= 89,
PointerLocation= 176882,
OldPointer= 455938,
Label= "L1608"
},
{
Index= 90,
PointerLocation= 176980,
OldPointer= 456680,
Label= "L1609"
},
{
Index= 91,
PointerLocation= 177039,
OldPointer= 456934,
Label= "L1610"
},
{
Index= 92,
PointerLocation= 177084,
OldPointer= 456954,
Label= "L1611"
},
{
Index= 93,
PointerLocation= 177141,
OldPointer= 466548,
Label= "L1612"
},
{
Index= 94,
PointerLocation= 177151,
OldPointer= 456974,
Label= "L1613"
},
{
Index= 95,
PointerLocation= 177484,
OldPointer= 471694,
Label= "L1614"
},
{
Index= 96,
PointerLocation= 177529,
OldPointer= 471714,
Label= "L1615"
},
{
Index= 97,
PointerLocation= 177574,
OldPointer= 471734,
Label= "L1616"
},
{
Index= 98,
PointerLocation= 177685,
OldPointer= 471754,
Label= "L1617"
},
{
Index= 100,
PointerLocation= 178851,
OldPointer= 463391,
Label= "L1618"
},
{
Index= 112,
PointerLocation= 181088,
OldPointer= 464927,
Label= "L1619"
},
{
Index= 115,
PointerLocation= 181399,
OldPointer= 465045,
Label= "L1620"
},
{
Index= 116,
PointerLocation= 181415,
OldPointer= 465145,
Label= "L1621"
},
{
Index= 123,
PointerLocation= 183246,
OldPointer= 465045,
Label= "L1620"
},
{
Index= 124,
PointerLocation= 183262,
OldPointer= 473168,
Label= "L1622"
},
{
Index= 126,
PointerLocation= 183622,
OldPointer= 466515,
Label= "L1623"
},
{
Index= 127,
PointerLocation= 183818,
OldPointer= 490638,
Label= "L1624"
},
{
Index= 128,
PointerLocation= 183913,
OldPointer= 491354,
Label= "L1625"
},
{
Index= 134,
PointerLocation= 185876,
OldPointer= 308379,
Label= "L1626"
},
{
Index= 135,
PointerLocation= 186027,
OldPointer= 466568,
Label= "L1627"
},
{
Index= 136,
PointerLocation= 186193,
OldPointer= 457143,
Label= "L1628"
},
{
Index= 137,
PointerLocation= 186238,
OldPointer= 457163,
Label= "L1629"
},
{
Index= 138,
PointerLocation= 186283,
OldPointer= 457183,
Label= "L1630"
},
{
Index= 139,
PointerLocation= 186328,
OldPointer= 457203,
Label= "L1631"
},
{
Index= 140,
PointerLocation= 186431,
OldPointer= 456476,
Label= "L1632"
},
{
Index= 141,
PointerLocation= 186680,
OldPointer= 457849,
Label= "L1633"
},
{
Index= 142,
PointerLocation= 186783,
OldPointer= 456187,
Label= "L1634"
},
{
Index= 143,
PointerLocation= 186902,
OldPointer= 468438,
Label= "L1635"
},
{
Index= 144,
PointerLocation= 187235,
OldPointer= 471614,
Label= "L1636"
},
{
Index= 145,
PointerLocation= 187280,
OldPointer= 471634,
Label= "L1637"
},
{
Index= 146,
PointerLocation= 187325,
OldPointer= 471654,
Label= "L1638"
},
{
Index= 147,
PointerLocation= 187370,
OldPointer= 471674,
Label= "L1639"
},
{
Index= 149,
PointerLocation= 188554,
OldPointer= 319336,
Label= "L1640"
},
{
Index= 155,
PointerLocation= 189104,
OldPointer= 457223,
Label= "L1641"
},
{
Index= 157,
PointerLocation= 189257,
OldPointer= 457395,
Label= "L1642"
},
{
Index= 158,
PointerLocation= 189412,
OldPointer= 467855,
Label= "L1643"
},
{
Index= 164,
PointerLocation= 192192,
OldPointer= 468125,
Label= "L1644"
},
{
Index= 166,
PointerLocation= 192707,
OldPointer= 469090,
Label= "L1645"
},
{
Index= 179,
PointerLocation= 195821,
OldPointer= 470747,
Label= "L1646"
},
{
Index= 181,
PointerLocation= 196239,
OldPointer= 486599,
Label= "L1647"
},
{
Index= 183,
PointerLocation= 197166,
OldPointer= 471594,
Label= "L1648"
},
{
Index= 184,
PointerLocation= 197655,
OldPointer= 466842,
Label= "L1649"
},
{
Index= 186,
PointerLocation= 199362,
OldPointer= 466968,
Label= "L1650"
},
{
Index= 189,
PointerLocation= 200214,
OldPointer= 448283,
Label= "L1651"
},
{
Index= 198,
PointerLocation= 201808,
OldPointer= 447865,
Label= "L1652"
},
{
Index= 204,
PointerLocation= 203956,
OldPointer= 478800,
Label= "L822"
},
{
Index= 211,
PointerLocation= 204680,
OldPointer= 485279,
Label= "L1653"
},
{
Index= 212,
PointerLocation= 204924,
OldPointer= 447979,
Label= "L1654"
},
{
Index= 213,
PointerLocation= 205087,
OldPointer= 494652,
Label= "L1655"
},
{
Index= 216,
PointerLocation= 205558,
OldPointer= 484798,
Label= "L1656"
},
{
Index= 223,
PointerLocation= 205946,
OldPointer= 484910,
Label= "L1657"
},
{
Index= 225,
PointerLocation= 206046,
OldPointer= 485026,
Label= "L1658"
},
{
Index= 262,
PointerLocation= 211827,
OldPointer= 439360,
Label= "L1659"
},
{
Index= 263,
PointerLocation= 211887,
OldPointer= 439380,
Label= "L1660"
},
{
Index= 264,
PointerLocation= 211947,
OldPointer= 439400,
Label= "L1661"
},
{
Index= 265,
PointerLocation= 212007,
OldPointer= 439420,
Label= "L1662"
},
{
Index= 266,
PointerLocation= 212067,
OldPointer= 439440,
Label= "L1663"
},
{
Index= 267,
PointerLocation= 212127,
OldPointer= 439460,
Label= "L1664"
},
{
Index= 268,
PointerLocation= 212187,
OldPointer= 439480,
Label= "L1665"
},
{
Index= 269,
PointerLocation= 212247,
OldPointer= 439500,
Label= "L1666"
},
{
Index= 270,
PointerLocation= 212307,
OldPointer= 439516,
Label= "L1667"
},
{
Index= 271,
PointerLocation= 212367,
OldPointer= 439536,
Label= "L1668"
},
{
Index= 272,
PointerLocation= 212427,
OldPointer= 439556,
Label= "L1669"
},
{
Index= 273,
PointerLocation= 212487,
OldPointer= 439576,
Label= "L1670"
},
{
Index= 274,
PointerLocation= 212547,
OldPointer= 439596,
Label= "L1671"
},
{
Index= 275,
PointerLocation= 212607,
OldPointer= 439612,
Label= "L1672"
},
{
Index= 276,
PointerLocation= 212667,
OldPointer= 439632,
Label= "L1673"
},
{
Index= 277,
PointerLocation= 212727,
OldPointer= 439652,
Label= "L1674"
},
{
Index= 278,
PointerLocation= 212787,
OldPointer= 439672,
Label= "L1675"
},
{
Index= 279,
PointerLocation= 212847,
OldPointer= 439692,
Label= "L1676"
},
{
Index= 280,
PointerLocation= 212907,
OldPointer= 439712,
Label= "L1677"
},
{
Index= 281,
PointerLocation= 212967,
OldPointer= 439732,
Label= "L1678"
},
{
Index= 282,
PointerLocation= 213027,
OldPointer= 439752,
Label= "L1679"
},
{
Index= 283,
PointerLocation= 213087,
OldPointer= 439772,
Label= "L1680"
},
{
Index= 284,
PointerLocation= 213147,
OldPointer= 439792,
Label= "L1681"
},
{
Index= 285,
PointerLocation= 213207,
OldPointer= 439812,
Label= "L1682"
},
{
Index= 286,
PointerLocation= 213267,
OldPointer= 439832,
Label= "L1683"
},
{
Index= 287,
PointerLocation= 213327,
OldPointer= 439852,
Label= "L1684"
},
{
Index= 288,
PointerLocation= 213387,
OldPointer= 439872,
Label= "L1685"
},
{
Index= 289,
PointerLocation= 213447,
OldPointer= 439892,
Label= "L1686"
},
{
Index= 290,
PointerLocation= 213507,
OldPointer= 439912,
Label= "L1687"
},
{
Index= 291,
PointerLocation= 213567,
OldPointer= 439932,
Label= "L1688"
},
{
Index= 292,
PointerLocation= 213627,
OldPointer= 439952,
Label= "L1689"
},
{
Index= 293,
PointerLocation= 213687,
OldPointer= 439972,
Label= "L1690"
},
}
|
local function foo(ls)
local sum = 0
for i, v in ipairs(ls) do
sum = sum + v*v
end
return sum
end
print(foo {1, 3, 7, 12})
|
return {
id = "shaggy",
name = "Shaggy",
description = "Like, Zoinks! We're in the wrong franchise!",
type = "hat",
rarity = 1,
hidden = false,
}
|
-- Swap compact passenger module with fuel compression
function OnMsg.ClassesPostprocess()
local engineering = Presets.TechPreset.Engineering
engineering.CompactPassengerModule.position = range(1, 5)
engineering.FuelCompression.position = range(6, 12)
end
|
CMD.name = 'SetGroup'
CMD.description = 'command.setgroup.description'
CMD.syntax = 'command.setgroup.syntax'
CMD.permission = 'administrator'
CMD.category = 'permission.categories.player_management'
CMD.arguments = 2
CMD.immunity = true
CMD.aliases = { 'plysetgroup', 'setusergroup', 'plysetusergroup' }
function CMD:get_description()
local groups = {}
for k, v in pairs(Bolt:get_roles()) do
table.insert(groups, k)
end
return t(self.description, { groups = table.concat(groups, ', ') })
end
function CMD:on_run(player, targets, role)
if Bolt:group_exists(role) then
for k, v in ipairs(targets) do
v:notify('notification.setgroup', {
group = role
})
v:SetUserGroup(role)
end
self:notify_staff('command.setgroup.message', {
player = get_player_name(player),
target = util.player_list_to_string(targets),
group = role
})
else
player:notify('error.group_not_valid', { group = role })
end
end
|
--[[
Command: wget https://raw.githubusercontent.com/ZiBuDo/minecraft_turtle/main/startup.lua startup
startup
Installer <call this startup>
On boot
1) Self Update
- Install Utils
- Update directive
2) Run Home
3) Resume
Install things based on config file "<file>" and run after home
If no config then dont run aynthing
]]--
local url = "https://raw.githubusercontent.com/ZiBuDo/minecraft_turtle/main/"
local ext = ".lua"
function buildUrl(name)
return url .. name .. ext
end
local utils = { "loot", "minerals", "metadata", "directions", "inventory", "home", "sys", "set", "reset", "directive" }
local directives = { "miner", "dungeon" }
local programName, newProgramName = "startup", "startup_new"
local running = shell.getRunningProgram()
print("Running " .. running)
if running ~= newProgramName then
print("Updating Startup Script")
shell.run("wget", buildUrl(programName), newProgramName)
shell.execute(newProgramName)
else
-- actually run script since in new
-- Clear Old Startup
if fs.exists("/" .. programName) then
print("Removing old startup")
fs.delete("/" .. programName)
end
-- copy new to startup
fs.move("/" .. newProgramName, "/" .. programName)
print("Installing Utils")
for key, value in pairs(utils) do
print("Installing Util " .. value)
if fs.exists("/" .. value) then
print("Removing old " .. value)
fs.delete("/" .. value)
end
shell.run("wget", buildUrl(value), value)
end
-- configuration file read
local directive
if fs.exists("/config") then
local configFile = fs.open("/config", "r")
directive = configFile.readLine()
configFile.close()
end
if directive then
-- Install Directive
print("Installing Directive " .. directive)
if fs.exists("/" .. directive) then
print("Removing old " .. directive)
fs.delete("/" .. directive)
end
shell.run("wget", buildUrl(directive), directive)
end
if fs.exists("/debug") then
print("Debug mode ending, rm debug to go home and resume")
return
end
-- Run Home
print("Ensuring turtle is home")
shell.execute("home")
-- Run config
print("Resuming Directive")
if directive ~= nil then
shell.execute(directive)
else
print("No directive found in config file")
end
end
|
data:extend({
{
type = "string-setting",
name = "storage-tank-sizes",
setting_type = "startup",
order = "A",
default_value = "2;4;6",
},
})
|
-- Solution configuration file.
workspace "Workspace"
system "Windows"
architecture "x86_64"
flags {
"MultiProcessorCompile"
}
configurations {
"Debug",
"Release"
}
-- Set the startup project.
startproject "Game"
targetname "Homehearth"
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
-- Subprojects.
include "Game"
include "NetServer"
include "Engine"
-- Clean.
newaction {
trigger = "clean",
description = "Remove all binaries and intermediate binaries, and vs files.",
execute = function()
print("Removing binaries")
os.rmdir("Engine/build/bin")
os.rmdir("Game/build/bin")
os.rmdir("NetServer/build/bin")
print("Removing intermediate binaries")
os.rmdir("Engine/build/bin-int")
os.rmdir("Game/build/bin-int")
os.rmdir("NetServer/build/bin-int")
print("Removing project files")
os.rmdir("./.vs")
os.remove("**.sln")
os.remove("**.vcxproj")
os.remove("**.vcxproj.filters")
os.remove("**.vcxproj.user")
print("Done")
end
}
|
object_tangible_quest_corellia_corellia_droid_factory_terminal_3 = object_tangible_quest_corellia_shared_corellia_droid_factory_terminal_3:new {
}
ObjectTemplates:addTemplate(object_tangible_quest_corellia_corellia_droid_factory_terminal_3, "object/tangible/quest/corellia/corellia_droid_factory_terminal_3.iff")
|
local K, C, L = unpack(select(2, ...))
-- Wow API
local hooksecurefunc = hooksecurefunc
-- Global variables that we don't cache, list them here for mikk's FindGlobals script
-- GLOBALS: LossOfControlFrame
local LossControl = CreateFrame("Frame", nil, UIParent)
function LossControl:Update()
self.Icon:ClearAllPoints()
self.Icon:SetPoint("CENTER", self, "CENTER", 0, 0)
self.AbilityName:ClearAllPoints()
self.AbilityName:SetPoint("BOTTOM", self, 0, -28)
self.AbilityName.scrollTime = nil
self.AbilityName:SetFont(C.Media.Font, 18, "OUTLINE")
self.AbilityName:SetShadowOffset(0, 0)
self.TimeLeft.NumberText:ClearAllPoints()
self.TimeLeft.NumberText:SetPoint("BOTTOM", self, 4, -58)
self.TimeLeft.NumberText.scrollTime = nil
self.TimeLeft.NumberText:SetFont(C.Media.Font, 18, "OUTLINE")
self.TimeLeft.NumberText:SetShadowOffset(0, 0)
self.TimeLeft.SecondsText:ClearAllPoints()
self.TimeLeft.SecondsText:SetPoint("BOTTOM", self, 0, -80)
self.TimeLeft.SecondsText.scrollTime = nil
self.TimeLeft.SecondsText:SetFont(C.Media.Font, 18, "OUTLINE")
self.TimeLeft.SecondsText:SetShadowOffset(0, 0)
if self.Anim:IsPlaying() then
self.Anim:Stop()
end
end
function LossControl:AddHooks()
hooksecurefunc("LossOfControlFrame_SetUpDisplay", self.Update)
end
function LossControl:Enable()
LossOfControlFrame:StripTextures()
LossOfControlFrame:CreateBackdrop()
LossOfControlFrame.Icon:SetTexCoord(.1, .9, .1, .9)
LossOfControlFrame.AbilityName:ClearAllPoints()
LossOfControlFrame.backdrop:SetOutside(LossOfControlFrame.Icon, 4, 4)
LossOfControlFrame.Cooldown:SetDrawSwipe(false)
LossOfControlFrame.Cooldown:SetDrawEdge(false)
LossOfControlFrame.Cooldown:SetAlpha(0)
self:AddHooks()
end
local Loading = CreateFrame("Frame")
function Loading:OnEvent(event, addon)
if (event == "PLAYER_LOGIN") then
LossControl:Enable()
end
end
Loading:RegisterEvent("PLAYER_LOGIN")
Loading:SetScript("OnEvent", Loading.OnEvent)
|
function make_placeholder_doc(meta, reference)
local tmpmeta = {
['references'] = {reference},
['nocite'] = {pandoc.Cite({}, {pandoc.Citation('*', "NormalCitation")})},
['csl'] = meta.csl,
['citation-abbreviations'] = meta['citation-abbreviations'],
['lang'] = meta['lang'],
['notes-after-punctuation'] = meta['notes-after-punctuation'],
}
return pandoc.Pandoc({}, tmpmeta)
end
local function make_unstructured_citation(meta, reference)
local resource_path = table.concat(
PANDOC_STATE.resource_path,
pandoc.path.search_path_separator
)
local tmpdoc = pandoc.utils.run_json_filter(
make_placeholder_doc(meta, reference),
'pandoc',
{'--from=json', '--citeproc', '--to=json',
'--resource-path=' .. resource_path}
)
return pandoc.utils.stringify(tmpdoc.blocks)
end
function Meta (meta)
for i, ref in ipairs(meta.references) do
for k, v in pairs(ref) do
if pandoc.utils.type(v) == 'Inlines' then
ref[k] = pandoc.utils.stringify(v)
end
end
if ref.type == 'book' then
ref.isbook = true
end
ref.unstructured_citation = make_unstructured_citation(meta, ref)
end
return meta
end
|
object_building_poi_blank_larger_area = object_building_poi_shared_blank_larger_area:new {
}
ObjectTemplates:addTemplate(object_building_poi_blank_larger_area, "object/building/poi/blank_larger_area.iff")
|
module 'mock'
local min, max = math.min, math.max
function alignEntitiesLeft( entities )
local bx0 = false
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
bx0 = bx0 and min( bx0, x0 ) or x0
end
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
local x, y, z = entity:getWorldLoc()
local dx = x - x0
entity:setWorldLoc( bx0 + dx, y, z )
end
end
function alignEntitiesRight( entities )
local bx1 = false
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
bx1 = bx1 and max( bx1, x1 ) or x1
end
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
local x, y, z = entity:getWorldLoc()
local dx = x - x1
entity:setWorldLoc( bx1 + dx, y, z )
end
end
function alignEntitiesHCenter( entities )
local bx0, bx1 = false, false
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
bx0 = bx0 and min( bx0, x0 ) or x0
bx1 = bx1 and max( bx1, x1 ) or x1
end
local cx = ( bx0 + bx1 ) / 2
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
local x, y, z = entity:getWorldLoc()
local dx = x - ( x0 + x1 ) / 2
entity:setWorldLoc( cx + dx, y, z )
end
end
function alignEntitiesTop( entities )
local by1 = false
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
by1 = by1 and max( by1, y1 ) or y1
end
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
local x, y, z = entity:getWorldLoc()
local dy = y - y1
entity:setWorldLoc( x, by1 + dy, z )
end
end
function alignEntitiesBottom( entities )
local by0 = false
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
by0 = by0 and min( by0, y0 ) or y0
end
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
local x, y, z = entity:getWorldLoc()
local dy = y - y0
entity:setWorldLoc( x, by0 + dy, z )
end
end
function alignEntitiesVCenter( entities )
local by0, by1 = false, false
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
by0 = by0 and min( by0, y0 ) or y0
by1 = by1 and max( by1, y1 ) or y1
end
local cy = ( by0 + by1 ) / 2
for i, entity in ipairs( entities ) do
local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds()
local x, y, z = entity:getWorldLoc()
local dy = y - ( y0 + y1 ) / 2
entity:setWorldLoc( x, cy + dy, z )
end
end
function pushEntityTogetherLeft( entities )
--sort entities in bound x
--TODO
end
function pushEntityTogetherRight( entities )
--sort entities in bound x
--TODO
end
function pushEntityTogetherTop( entities )
--sort entities in bound y
--TODO
end
function pushEntityTogetherBottom( entities )
--sort entities in bound y
--TODO
end
function alignEntities( entities, mode )
if mode == 'align_left' then
return alignEntitiesLeft( entities )
elseif mode == 'align_right' then
return alignEntitiesLeft( entities )
elseif mode == 'align_hcenter' then
return alignEntitiesHCenter( entities )
end
end
|
-- *******************************************************************
xCircle = Core.class(Sprite)
function xCircle:init(radius, steps, color)
color = color or 0xff0000
local sin, cos, d2r = math.sin, math.cos, math.pi / 180
local c = Shape.new()
c:setFillStyle(Shape.SOLID, color)
c:setLineStyle(0)
c:beginPath()
c:moveTo(radius * sin(0 * d2r), radius * cos(0 * d2r))
for i = 0, 360, 360 / steps do
c:lineTo(radius * sin(i * d2r), radius * cos(i * d2r))
end
c:endPath()
self:addChild(c)
end
-- *******************************************************************
|
-- This file is automatically generated by make-normalization-table.php
local normal = {
-- Characters that might change depending on the following combiner
-- (minus any that are themselves combiners, those are added later)
check = {
[0x000374] = 1,
[0x00037e] = 1,
[0x000387] = 1,
[0x000958] = 1,
[0x000959] = 1,
[0x00095a] = 1,
[0x00095b] = 1,
[0x00095c] = 1,
[0x00095d] = 1,
[0x00095e] = 1,
[0x00095f] = 1,
[0x0009dc] = 1,
[0x0009dd] = 1,
[0x0009df] = 1,
[0x000a33] = 1,
[0x000a36] = 1,
[0x000a59] = 1,
[0x000a5a] = 1,
[0x000a5b] = 1,
[0x000a5e] = 1,
[0x000b5c] = 1,
[0x000b5d] = 1,
[0x000f43] = 1,
[0x000f4d] = 1,
[0x000f52] = 1,
[0x000f57] = 1,
[0x000f5c] = 1,
[0x000f69] = 1,
[0x000f73] = 1,
[0x000f75] = 1,
[0x000f76] = 1,
[0x000f78] = 1,
[0x000f81] = 1,
[0x000f93] = 1,
[0x000f9d] = 1,
[0x000fa2] = 1,
[0x000fa7] = 1,
[0x000fac] = 1,
[0x000fb9] = 1,
[0x001f71] = 1,
[0x001f73] = 1,
[0x001f75] = 1,
[0x001f77] = 1,
[0x001f79] = 1,
[0x001f7b] = 1,
[0x001f7d] = 1,
[0x001fbb] = 1,
[0x001fbe] = 1,
[0x001fc9] = 1,
[0x001fcb] = 1,
[0x001fd3] = 1,
[0x001fdb] = 1,
[0x001fe3] = 1,
[0x001feb] = 1,
[0x001fee] = 1,
[0x001fef] = 1,
[0x001ff9] = 1,
[0x001ffb] = 1,
[0x001ffd] = 1,
[0x002000] = 1,
[0x002001] = 1,
[0x002126] = 1,
[0x00212a] = 1,
[0x00212b] = 1,
[0x002329] = 1,
[0x00232a] = 1,
[0x002adc] = 1,
[0x00f900] = 1,
[0x00f901] = 1,
[0x00f902] = 1,
[0x00f903] = 1,
[0x00f904] = 1,
[0x00f905] = 1,
[0x00f906] = 1,
[0x00f907] = 1,
[0x00f908] = 1,
[0x00f909] = 1,
[0x00f90a] = 1,
[0x00f90b] = 1,
[0x00f90c] = 1,
[0x00f90d] = 1,
[0x00f90e] = 1,
[0x00f90f] = 1,
[0x00f910] = 1,
[0x00f911] = 1,
[0x00f912] = 1,
[0x00f913] = 1,
[0x00f914] = 1,
[0x00f915] = 1,
[0x00f916] = 1,
[0x00f917] = 1,
[0x00f918] = 1,
[0x00f919] = 1,
[0x00f91a] = 1,
[0x00f91b] = 1,
[0x00f91c] = 1,
[0x00f91d] = 1,
[0x00f91e] = 1,
[0x00f91f] = 1,
[0x00f920] = 1,
[0x00f921] = 1,
[0x00f922] = 1,
[0x00f923] = 1,
[0x00f924] = 1,
[0x00f925] = 1,
[0x00f926] = 1,
[0x00f927] = 1,
[0x00f928] = 1,
[0x00f929] = 1,
[0x00f92a] = 1,
[0x00f92b] = 1,
[0x00f92c] = 1,
[0x00f92d] = 1,
[0x00f92e] = 1,
[0x00f92f] = 1,
[0x00f930] = 1,
[0x00f931] = 1,
[0x00f932] = 1,
[0x00f933] = 1,
[0x00f934] = 1,
[0x00f935] = 1,
[0x00f936] = 1,
[0x00f937] = 1,
[0x00f938] = 1,
[0x00f939] = 1,
[0x00f93a] = 1,
[0x00f93b] = 1,
[0x00f93c] = 1,
[0x00f93d] = 1,
[0x00f93e] = 1,
[0x00f93f] = 1,
[0x00f940] = 1,
[0x00f941] = 1,
[0x00f942] = 1,
[0x00f943] = 1,
[0x00f944] = 1,
[0x00f945] = 1,
[0x00f946] = 1,
[0x00f947] = 1,
[0x00f948] = 1,
[0x00f949] = 1,
[0x00f94a] = 1,
[0x00f94b] = 1,
[0x00f94c] = 1,
[0x00f94d] = 1,
[0x00f94e] = 1,
[0x00f94f] = 1,
[0x00f950] = 1,
[0x00f951] = 1,
[0x00f952] = 1,
[0x00f953] = 1,
[0x00f954] = 1,
[0x00f955] = 1,
[0x00f956] = 1,
[0x00f957] = 1,
[0x00f958] = 1,
[0x00f959] = 1,
[0x00f95a] = 1,
[0x00f95b] = 1,
[0x00f95c] = 1,
[0x00f95d] = 1,
[0x00f95e] = 1,
[0x00f95f] = 1,
[0x00f960] = 1,
[0x00f961] = 1,
[0x00f962] = 1,
[0x00f963] = 1,
[0x00f964] = 1,
[0x00f965] = 1,
[0x00f966] = 1,
[0x00f967] = 1,
[0x00f968] = 1,
[0x00f969] = 1,
[0x00f96a] = 1,
[0x00f96b] = 1,
[0x00f96c] = 1,
[0x00f96d] = 1,
[0x00f96e] = 1,
[0x00f96f] = 1,
[0x00f970] = 1,
[0x00f971] = 1,
[0x00f972] = 1,
[0x00f973] = 1,
[0x00f974] = 1,
[0x00f975] = 1,
[0x00f976] = 1,
[0x00f977] = 1,
[0x00f978] = 1,
[0x00f979] = 1,
[0x00f97a] = 1,
[0x00f97b] = 1,
[0x00f97c] = 1,
[0x00f97d] = 1,
[0x00f97e] = 1,
[0x00f97f] = 1,
[0x00f980] = 1,
[0x00f981] = 1,
[0x00f982] = 1,
[0x00f983] = 1,
[0x00f984] = 1,
[0x00f985] = 1,
[0x00f986] = 1,
[0x00f987] = 1,
[0x00f988] = 1,
[0x00f989] = 1,
[0x00f98a] = 1,
[0x00f98b] = 1,
[0x00f98c] = 1,
[0x00f98d] = 1,
[0x00f98e] = 1,
[0x00f98f] = 1,
[0x00f990] = 1,
[0x00f991] = 1,
[0x00f992] = 1,
[0x00f993] = 1,
[0x00f994] = 1,
[0x00f995] = 1,
[0x00f996] = 1,
[0x00f997] = 1,
[0x00f998] = 1,
[0x00f999] = 1,
[0x00f99a] = 1,
[0x00f99b] = 1,
[0x00f99c] = 1,
[0x00f99d] = 1,
[0x00f99e] = 1,
[0x00f99f] = 1,
[0x00f9a0] = 1,
[0x00f9a1] = 1,
[0x00f9a2] = 1,
[0x00f9a3] = 1,
[0x00f9a4] = 1,
[0x00f9a5] = 1,
[0x00f9a6] = 1,
[0x00f9a7] = 1,
[0x00f9a8] = 1,
[0x00f9a9] = 1,
[0x00f9aa] = 1,
[0x00f9ab] = 1,
[0x00f9ac] = 1,
[0x00f9ad] = 1,
[0x00f9ae] = 1,
[0x00f9af] = 1,
[0x00f9b0] = 1,
[0x00f9b1] = 1,
[0x00f9b2] = 1,
[0x00f9b3] = 1,
[0x00f9b4] = 1,
[0x00f9b5] = 1,
[0x00f9b6] = 1,
[0x00f9b7] = 1,
[0x00f9b8] = 1,
[0x00f9b9] = 1,
[0x00f9ba] = 1,
[0x00f9bb] = 1,
[0x00f9bc] = 1,
[0x00f9bd] = 1,
[0x00f9be] = 1,
[0x00f9bf] = 1,
[0x00f9c0] = 1,
[0x00f9c1] = 1,
[0x00f9c2] = 1,
[0x00f9c3] = 1,
[0x00f9c4] = 1,
[0x00f9c5] = 1,
[0x00f9c6] = 1,
[0x00f9c7] = 1,
[0x00f9c8] = 1,
[0x00f9c9] = 1,
[0x00f9ca] = 1,
[0x00f9cb] = 1,
[0x00f9cc] = 1,
[0x00f9cd] = 1,
[0x00f9ce] = 1,
[0x00f9cf] = 1,
[0x00f9d0] = 1,
[0x00f9d1] = 1,
[0x00f9d2] = 1,
[0x00f9d3] = 1,
[0x00f9d4] = 1,
[0x00f9d5] = 1,
[0x00f9d6] = 1,
[0x00f9d7] = 1,
[0x00f9d8] = 1,
[0x00f9d9] = 1,
[0x00f9da] = 1,
[0x00f9db] = 1,
[0x00f9dc] = 1,
[0x00f9dd] = 1,
[0x00f9de] = 1,
[0x00f9df] = 1,
[0x00f9e0] = 1,
[0x00f9e1] = 1,
[0x00f9e2] = 1,
[0x00f9e3] = 1,
[0x00f9e4] = 1,
[0x00f9e5] = 1,
[0x00f9e6] = 1,
[0x00f9e7] = 1,
[0x00f9e8] = 1,
[0x00f9e9] = 1,
[0x00f9ea] = 1,
[0x00f9eb] = 1,
[0x00f9ec] = 1,
[0x00f9ed] = 1,
[0x00f9ee] = 1,
[0x00f9ef] = 1,
[0x00f9f0] = 1,
[0x00f9f1] = 1,
[0x00f9f2] = 1,
[0x00f9f3] = 1,
[0x00f9f4] = 1,
[0x00f9f5] = 1,
[0x00f9f6] = 1,
[0x00f9f7] = 1,
[0x00f9f8] = 1,
[0x00f9f9] = 1,
[0x00f9fa] = 1,
[0x00f9fb] = 1,
[0x00f9fc] = 1,
[0x00f9fd] = 1,
[0x00f9fe] = 1,
[0x00f9ff] = 1,
[0x00fa00] = 1,
[0x00fa01] = 1,
[0x00fa02] = 1,
[0x00fa03] = 1,
[0x00fa04] = 1,
[0x00fa05] = 1,
[0x00fa06] = 1,
[0x00fa07] = 1,
[0x00fa08] = 1,
[0x00fa09] = 1,
[0x00fa0a] = 1,
[0x00fa0b] = 1,
[0x00fa0c] = 1,
[0x00fa0d] = 1,
[0x00fa10] = 1,
[0x00fa12] = 1,
[0x00fa15] = 1,
[0x00fa16] = 1,
[0x00fa17] = 1,
[0x00fa18] = 1,
[0x00fa19] = 1,
[0x00fa1a] = 1,
[0x00fa1b] = 1,
[0x00fa1c] = 1,
[0x00fa1d] = 1,
[0x00fa1e] = 1,
[0x00fa20] = 1,
[0x00fa22] = 1,
[0x00fa25] = 1,
[0x00fa26] = 1,
[0x00fa2a] = 1,
[0x00fa2b] = 1,
[0x00fa2c] = 1,
[0x00fa2d] = 1,
[0x00fa2e] = 1,
[0x00fa2f] = 1,
[0x00fa30] = 1,
[0x00fa31] = 1,
[0x00fa32] = 1,
[0x00fa33] = 1,
[0x00fa34] = 1,
[0x00fa35] = 1,
[0x00fa36] = 1,
[0x00fa37] = 1,
[0x00fa38] = 1,
[0x00fa39] = 1,
[0x00fa3a] = 1,
[0x00fa3b] = 1,
[0x00fa3c] = 1,
[0x00fa3d] = 1,
[0x00fa3e] = 1,
[0x00fa3f] = 1,
[0x00fa40] = 1,
[0x00fa41] = 1,
[0x00fa42] = 1,
[0x00fa43] = 1,
[0x00fa44] = 1,
[0x00fa45] = 1,
[0x00fa46] = 1,
[0x00fa47] = 1,
[0x00fa48] = 1,
[0x00fa49] = 1,
[0x00fa4a] = 1,
[0x00fa4b] = 1,
[0x00fa4c] = 1,
[0x00fa4d] = 1,
[0x00fa4e] = 1,
[0x00fa4f] = 1,
[0x00fa50] = 1,
[0x00fa51] = 1,
[0x00fa52] = 1,
[0x00fa53] = 1,
[0x00fa54] = 1,
[0x00fa55] = 1,
[0x00fa56] = 1,
[0x00fa57] = 1,
[0x00fa58] = 1,
[0x00fa59] = 1,
[0x00fa5a] = 1,
[0x00fa5b] = 1,
[0x00fa5c] = 1,
[0x00fa5d] = 1,
[0x00fa5e] = 1,
[0x00fa5f] = 1,
[0x00fa60] = 1,
[0x00fa61] = 1,
[0x00fa62] = 1,
[0x00fa63] = 1,
[0x00fa64] = 1,
[0x00fa65] = 1,
[0x00fa66] = 1,
[0x00fa67] = 1,
[0x00fa68] = 1,
[0x00fa69] = 1,
[0x00fa6a] = 1,
[0x00fa6b] = 1,
[0x00fa6c] = 1,
[0x00fa6d] = 1,
[0x00fa70] = 1,
[0x00fa71] = 1,
[0x00fa72] = 1,
[0x00fa73] = 1,
[0x00fa74] = 1,
[0x00fa75] = 1,
[0x00fa76] = 1,
[0x00fa77] = 1,
[0x00fa78] = 1,
[0x00fa79] = 1,
[0x00fa7a] = 1,
[0x00fa7b] = 1,
[0x00fa7c] = 1,
[0x00fa7d] = 1,
[0x00fa7e] = 1,
[0x00fa7f] = 1,
[0x00fa80] = 1,
[0x00fa81] = 1,
[0x00fa82] = 1,
[0x00fa83] = 1,
[0x00fa84] = 1,
[0x00fa85] = 1,
[0x00fa86] = 1,
[0x00fa87] = 1,
[0x00fa88] = 1,
[0x00fa89] = 1,
[0x00fa8a] = 1,
[0x00fa8b] = 1,
[0x00fa8c] = 1,
[0x00fa8d] = 1,
[0x00fa8e] = 1,
[0x00fa8f] = 1,
[0x00fa90] = 1,
[0x00fa91] = 1,
[0x00fa92] = 1,
[0x00fa93] = 1,
[0x00fa94] = 1,
[0x00fa95] = 1,
[0x00fa96] = 1,
[0x00fa97] = 1,
[0x00fa98] = 1,
[0x00fa99] = 1,
[0x00fa9a] = 1,
[0x00fa9b] = 1,
[0x00fa9c] = 1,
[0x00fa9d] = 1,
[0x00fa9e] = 1,
[0x00fa9f] = 1,
[0x00faa0] = 1,
[0x00faa1] = 1,
[0x00faa2] = 1,
[0x00faa3] = 1,
[0x00faa4] = 1,
[0x00faa5] = 1,
[0x00faa6] = 1,
[0x00faa7] = 1,
[0x00faa8] = 1,
[0x00faa9] = 1,
[0x00faaa] = 1,
[0x00faab] = 1,
[0x00faac] = 1,
[0x00faad] = 1,
[0x00faae] = 1,
[0x00faaf] = 1,
[0x00fab0] = 1,
[0x00fab1] = 1,
[0x00fab2] = 1,
[0x00fab3] = 1,
[0x00fab4] = 1,
[0x00fab5] = 1,
[0x00fab6] = 1,
[0x00fab7] = 1,
[0x00fab8] = 1,
[0x00fab9] = 1,
[0x00faba] = 1,
[0x00fabb] = 1,
[0x00fabc] = 1,
[0x00fabd] = 1,
[0x00fabe] = 1,
[0x00fabf] = 1,
[0x00fac0] = 1,
[0x00fac1] = 1,
[0x00fac2] = 1,
[0x00fac3] = 1,
[0x00fac4] = 1,
[0x00fac5] = 1,
[0x00fac6] = 1,
[0x00fac7] = 1,
[0x00fac8] = 1,
[0x00fac9] = 1,
[0x00faca] = 1,
[0x00facb] = 1,
[0x00facc] = 1,
[0x00facd] = 1,
[0x00face] = 1,
[0x00facf] = 1,
[0x00fad0] = 1,
[0x00fad1] = 1,
[0x00fad2] = 1,
[0x00fad3] = 1,
[0x00fad4] = 1,
[0x00fad5] = 1,
[0x00fad6] = 1,
[0x00fad7] = 1,
[0x00fad8] = 1,
[0x00fad9] = 1,
[0x00fb1d] = 1,
[0x00fb1f] = 1,
[0x00fb2a] = 1,
[0x00fb2b] = 1,
[0x00fb2c] = 1,
[0x00fb2d] = 1,
[0x00fb2e] = 1,
[0x00fb2f] = 1,
[0x00fb30] = 1,
[0x00fb31] = 1,
[0x00fb32] = 1,
[0x00fb33] = 1,
[0x00fb34] = 1,
[0x00fb35] = 1,
[0x00fb36] = 1,
[0x00fb38] = 1,
[0x00fb39] = 1,
[0x00fb3a] = 1,
[0x00fb3b] = 1,
[0x00fb3c] = 1,
[0x00fb3e] = 1,
[0x00fb40] = 1,
[0x00fb41] = 1,
[0x00fb43] = 1,
[0x00fb44] = 1,
[0x00fb46] = 1,
[0x00fb47] = 1,
[0x00fb48] = 1,
[0x00fb49] = 1,
[0x00fb4a] = 1,
[0x00fb4b] = 1,
[0x00fb4c] = 1,
[0x00fb4d] = 1,
[0x00fb4e] = 1,
[0x01d15e] = 1,
[0x01d15f] = 1,
[0x01d160] = 1,
[0x01d161] = 1,
[0x01d162] = 1,
[0x01d163] = 1,
[0x01d164] = 1,
[0x01d1bb] = 1,
[0x01d1bc] = 1,
[0x01d1bd] = 1,
[0x01d1be] = 1,
[0x01d1bf] = 1,
[0x01d1c0] = 1,
[0x02f800] = 1,
[0x02f801] = 1,
[0x02f802] = 1,
[0x02f803] = 1,
[0x02f804] = 1,
[0x02f805] = 1,
[0x02f806] = 1,
[0x02f807] = 1,
[0x02f808] = 1,
[0x02f809] = 1,
[0x02f80a] = 1,
[0x02f80b] = 1,
[0x02f80c] = 1,
[0x02f80d] = 1,
[0x02f80e] = 1,
[0x02f80f] = 1,
[0x02f810] = 1,
[0x02f811] = 1,
[0x02f812] = 1,
[0x02f813] = 1,
[0x02f814] = 1,
[0x02f815] = 1,
[0x02f816] = 1,
[0x02f817] = 1,
[0x02f818] = 1,
[0x02f819] = 1,
[0x02f81a] = 1,
[0x02f81b] = 1,
[0x02f81c] = 1,
[0x02f81d] = 1,
[0x02f81e] = 1,
[0x02f81f] = 1,
[0x02f820] = 1,
[0x02f821] = 1,
[0x02f822] = 1,
[0x02f823] = 1,
[0x02f824] = 1,
[0x02f825] = 1,
[0x02f826] = 1,
[0x02f827] = 1,
[0x02f828] = 1,
[0x02f829] = 1,
[0x02f82a] = 1,
[0x02f82b] = 1,
[0x02f82c] = 1,
[0x02f82d] = 1,
[0x02f82e] = 1,
[0x02f82f] = 1,
[0x02f830] = 1,
[0x02f831] = 1,
[0x02f832] = 1,
[0x02f833] = 1,
[0x02f834] = 1,
[0x02f835] = 1,
[0x02f836] = 1,
[0x02f837] = 1,
[0x02f838] = 1,
[0x02f839] = 1,
[0x02f83a] = 1,
[0x02f83b] = 1,
[0x02f83c] = 1,
[0x02f83d] = 1,
[0x02f83e] = 1,
[0x02f83f] = 1,
[0x02f840] = 1,
[0x02f841] = 1,
[0x02f842] = 1,
[0x02f843] = 1,
[0x02f844] = 1,
[0x02f845] = 1,
[0x02f846] = 1,
[0x02f847] = 1,
[0x02f848] = 1,
[0x02f849] = 1,
[0x02f84a] = 1,
[0x02f84b] = 1,
[0x02f84c] = 1,
[0x02f84d] = 1,
[0x02f84e] = 1,
[0x02f84f] = 1,
[0x02f850] = 1,
[0x02f851] = 1,
[0x02f852] = 1,
[0x02f853] = 1,
[0x02f854] = 1,
[0x02f855] = 1,
[0x02f856] = 1,
[0x02f857] = 1,
[0x02f858] = 1,
[0x02f859] = 1,
[0x02f85a] = 1,
[0x02f85b] = 1,
[0x02f85c] = 1,
[0x02f85d] = 1,
[0x02f85e] = 1,
[0x02f85f] = 1,
[0x02f860] = 1,
[0x02f861] = 1,
[0x02f862] = 1,
[0x02f863] = 1,
[0x02f864] = 1,
[0x02f865] = 1,
[0x02f866] = 1,
[0x02f867] = 1,
[0x02f868] = 1,
[0x02f869] = 1,
[0x02f86a] = 1,
[0x02f86b] = 1,
[0x02f86c] = 1,
[0x02f86d] = 1,
[0x02f86e] = 1,
[0x02f86f] = 1,
[0x02f870] = 1,
[0x02f871] = 1,
[0x02f872] = 1,
[0x02f873] = 1,
[0x02f874] = 1,
[0x02f875] = 1,
[0x02f876] = 1,
[0x02f877] = 1,
[0x02f878] = 1,
[0x02f879] = 1,
[0x02f87a] = 1,
[0x02f87b] = 1,
[0x02f87c] = 1,
[0x02f87d] = 1,
[0x02f87e] = 1,
[0x02f87f] = 1,
[0x02f880] = 1,
[0x02f881] = 1,
[0x02f882] = 1,
[0x02f883] = 1,
[0x02f884] = 1,
[0x02f885] = 1,
[0x02f886] = 1,
[0x02f887] = 1,
[0x02f888] = 1,
[0x02f889] = 1,
[0x02f88a] = 1,
[0x02f88b] = 1,
[0x02f88c] = 1,
[0x02f88d] = 1,
[0x02f88e] = 1,
[0x02f88f] = 1,
[0x02f890] = 1,
[0x02f891] = 1,
[0x02f892] = 1,
[0x02f893] = 1,
[0x02f894] = 1,
[0x02f895] = 1,
[0x02f896] = 1,
[0x02f897] = 1,
[0x02f898] = 1,
[0x02f899] = 1,
[0x02f89a] = 1,
[0x02f89b] = 1,
[0x02f89c] = 1,
[0x02f89d] = 1,
[0x02f89e] = 1,
[0x02f89f] = 1,
[0x02f8a0] = 1,
[0x02f8a1] = 1,
[0x02f8a2] = 1,
[0x02f8a3] = 1,
[0x02f8a4] = 1,
[0x02f8a5] = 1,
[0x02f8a6] = 1,
[0x02f8a7] = 1,
[0x02f8a8] = 1,
[0x02f8a9] = 1,
[0x02f8aa] = 1,
[0x02f8ab] = 1,
[0x02f8ac] = 1,
[0x02f8ad] = 1,
[0x02f8ae] = 1,
[0x02f8af] = 1,
[0x02f8b0] = 1,
[0x02f8b1] = 1,
[0x02f8b2] = 1,
[0x02f8b3] = 1,
[0x02f8b4] = 1,
[0x02f8b5] = 1,
[0x02f8b6] = 1,
[0x02f8b7] = 1,
[0x02f8b8] = 1,
[0x02f8b9] = 1,
[0x02f8ba] = 1,
[0x02f8bb] = 1,
[0x02f8bc] = 1,
[0x02f8bd] = 1,
[0x02f8be] = 1,
[0x02f8bf] = 1,
[0x02f8c0] = 1,
[0x02f8c1] = 1,
[0x02f8c2] = 1,
[0x02f8c3] = 1,
[0x02f8c4] = 1,
[0x02f8c5] = 1,
[0x02f8c6] = 1,
[0x02f8c7] = 1,
[0x02f8c8] = 1,
[0x02f8c9] = 1,
[0x02f8ca] = 1,
[0x02f8cb] = 1,
[0x02f8cc] = 1,
[0x02f8cd] = 1,
[0x02f8ce] = 1,
[0x02f8cf] = 1,
[0x02f8d0] = 1,
[0x02f8d1] = 1,
[0x02f8d2] = 1,
[0x02f8d3] = 1,
[0x02f8d4] = 1,
[0x02f8d5] = 1,
[0x02f8d6] = 1,
[0x02f8d7] = 1,
[0x02f8d8] = 1,
[0x02f8d9] = 1,
[0x02f8da] = 1,
[0x02f8db] = 1,
[0x02f8dc] = 1,
[0x02f8dd] = 1,
[0x02f8de] = 1,
[0x02f8df] = 1,
[0x02f8e0] = 1,
[0x02f8e1] = 1,
[0x02f8e2] = 1,
[0x02f8e3] = 1,
[0x02f8e4] = 1,
[0x02f8e5] = 1,
[0x02f8e6] = 1,
[0x02f8e7] = 1,
[0x02f8e8] = 1,
[0x02f8e9] = 1,
[0x02f8ea] = 1,
[0x02f8eb] = 1,
[0x02f8ec] = 1,
[0x02f8ed] = 1,
[0x02f8ee] = 1,
[0x02f8ef] = 1,
[0x02f8f0] = 1,
[0x02f8f1] = 1,
[0x02f8f2] = 1,
[0x02f8f3] = 1,
[0x02f8f4] = 1,
[0x02f8f5] = 1,
[0x02f8f6] = 1,
[0x02f8f7] = 1,
[0x02f8f8] = 1,
[0x02f8f9] = 1,
[0x02f8fa] = 1,
[0x02f8fb] = 1,
[0x02f8fc] = 1,
[0x02f8fd] = 1,
[0x02f8fe] = 1,
[0x02f8ff] = 1,
[0x02f900] = 1,
[0x02f901] = 1,
[0x02f902] = 1,
[0x02f903] = 1,
[0x02f904] = 1,
[0x02f905] = 1,
[0x02f906] = 1,
[0x02f907] = 1,
[0x02f908] = 1,
[0x02f909] = 1,
[0x02f90a] = 1,
[0x02f90b] = 1,
[0x02f90c] = 1,
[0x02f90d] = 1,
[0x02f90e] = 1,
[0x02f90f] = 1,
[0x02f910] = 1,
[0x02f911] = 1,
[0x02f912] = 1,
[0x02f913] = 1,
[0x02f914] = 1,
[0x02f915] = 1,
[0x02f916] = 1,
[0x02f917] = 1,
[0x02f918] = 1,
[0x02f919] = 1,
[0x02f91a] = 1,
[0x02f91b] = 1,
[0x02f91c] = 1,
[0x02f91d] = 1,
[0x02f91e] = 1,
[0x02f91f] = 1,
[0x02f920] = 1,
[0x02f921] = 1,
[0x02f922] = 1,
[0x02f923] = 1,
[0x02f924] = 1,
[0x02f925] = 1,
[0x02f926] = 1,
[0x02f927] = 1,
[0x02f928] = 1,
[0x02f929] = 1,
[0x02f92a] = 1,
[0x02f92b] = 1,
[0x02f92c] = 1,
[0x02f92d] = 1,
[0x02f92e] = 1,
[0x02f92f] = 1,
[0x02f930] = 1,
[0x02f931] = 1,
[0x02f932] = 1,
[0x02f933] = 1,
[0x02f934] = 1,
[0x02f935] = 1,
[0x02f936] = 1,
[0x02f937] = 1,
[0x02f938] = 1,
[0x02f939] = 1,
[0x02f93a] = 1,
[0x02f93b] = 1,
[0x02f93c] = 1,
[0x02f93d] = 1,
[0x02f93e] = 1,
[0x02f93f] = 1,
[0x02f940] = 1,
[0x02f941] = 1,
[0x02f942] = 1,
[0x02f943] = 1,
[0x02f944] = 1,
[0x02f945] = 1,
[0x02f946] = 1,
[0x02f947] = 1,
[0x02f948] = 1,
[0x02f949] = 1,
[0x02f94a] = 1,
[0x02f94b] = 1,
[0x02f94c] = 1,
[0x02f94d] = 1,
[0x02f94e] = 1,
[0x02f94f] = 1,
[0x02f950] = 1,
[0x02f951] = 1,
[0x02f952] = 1,
[0x02f953] = 1,
[0x02f954] = 1,
[0x02f955] = 1,
[0x02f956] = 1,
[0x02f957] = 1,
[0x02f958] = 1,
[0x02f959] = 1,
[0x02f95a] = 1,
[0x02f95b] = 1,
[0x02f95c] = 1,
[0x02f95d] = 1,
[0x02f95e] = 1,
[0x02f95f] = 1,
[0x02f960] = 1,
[0x02f961] = 1,
[0x02f962] = 1,
[0x02f963] = 1,
[0x02f964] = 1,
[0x02f965] = 1,
[0x02f966] = 1,
[0x02f967] = 1,
[0x02f968] = 1,
[0x02f969] = 1,
[0x02f96a] = 1,
[0x02f96b] = 1,
[0x02f96c] = 1,
[0x02f96d] = 1,
[0x02f96e] = 1,
[0x02f96f] = 1,
[0x02f970] = 1,
[0x02f971] = 1,
[0x02f972] = 1,
[0x02f973] = 1,
[0x02f974] = 1,
[0x02f975] = 1,
[0x02f976] = 1,
[0x02f977] = 1,
[0x02f978] = 1,
[0x02f979] = 1,
[0x02f97a] = 1,
[0x02f97b] = 1,
[0x02f97c] = 1,
[0x02f97d] = 1,
[0x02f97e] = 1,
[0x02f97f] = 1,
[0x02f980] = 1,
[0x02f981] = 1,
[0x02f982] = 1,
[0x02f983] = 1,
[0x02f984] = 1,
[0x02f985] = 1,
[0x02f986] = 1,
[0x02f987] = 1,
[0x02f988] = 1,
[0x02f989] = 1,
[0x02f98a] = 1,
[0x02f98b] = 1,
[0x02f98c] = 1,
[0x02f98d] = 1,
[0x02f98e] = 1,
[0x02f98f] = 1,
[0x02f990] = 1,
[0x02f991] = 1,
[0x02f992] = 1,
[0x02f993] = 1,
[0x02f994] = 1,
[0x02f995] = 1,
[0x02f996] = 1,
[0x02f997] = 1,
[0x02f998] = 1,
[0x02f999] = 1,
[0x02f99a] = 1,
[0x02f99b] = 1,
[0x02f99c] = 1,
[0x02f99d] = 1,
[0x02f99e] = 1,
[0x02f99f] = 1,
[0x02f9a0] = 1,
[0x02f9a1] = 1,
[0x02f9a2] = 1,
[0x02f9a3] = 1,
[0x02f9a4] = 1,
[0x02f9a5] = 1,
[0x02f9a6] = 1,
[0x02f9a7] = 1,
[0x02f9a8] = 1,
[0x02f9a9] = 1,
[0x02f9aa] = 1,
[0x02f9ab] = 1,
[0x02f9ac] = 1,
[0x02f9ad] = 1,
[0x02f9ae] = 1,
[0x02f9af] = 1,
[0x02f9b0] = 1,
[0x02f9b1] = 1,
[0x02f9b2] = 1,
[0x02f9b3] = 1,
[0x02f9b4] = 1,
[0x02f9b5] = 1,
[0x02f9b6] = 1,
[0x02f9b7] = 1,
[0x02f9b8] = 1,
[0x02f9b9] = 1,
[0x02f9ba] = 1,
[0x02f9bb] = 1,
[0x02f9bc] = 1,
[0x02f9bd] = 1,
[0x02f9be] = 1,
[0x02f9bf] = 1,
[0x02f9c0] = 1,
[0x02f9c1] = 1,
[0x02f9c2] = 1,
[0x02f9c3] = 1,
[0x02f9c4] = 1,
[0x02f9c5] = 1,
[0x02f9c6] = 1,
[0x02f9c7] = 1,
[0x02f9c8] = 1,
[0x02f9c9] = 1,
[0x02f9ca] = 1,
[0x02f9cb] = 1,
[0x02f9cc] = 1,
[0x02f9cd] = 1,
[0x02f9ce] = 1,
[0x02f9cf] = 1,
[0x02f9d0] = 1,
[0x02f9d1] = 1,
[0x02f9d2] = 1,
[0x02f9d3] = 1,
[0x02f9d4] = 1,
[0x02f9d5] = 1,
[0x02f9d6] = 1,
[0x02f9d7] = 1,
[0x02f9d8] = 1,
[0x02f9d9] = 1,
[0x02f9da] = 1,
[0x02f9db] = 1,
[0x02f9dc] = 1,
[0x02f9dd] = 1,
[0x02f9de] = 1,
[0x02f9df] = 1,
[0x02f9e0] = 1,
[0x02f9e1] = 1,
[0x02f9e2] = 1,
[0x02f9e3] = 1,
[0x02f9e4] = 1,
[0x02f9e5] = 1,
[0x02f9e6] = 1,
[0x02f9e7] = 1,
[0x02f9e8] = 1,
[0x02f9e9] = 1,
[0x02f9ea] = 1,
[0x02f9eb] = 1,
[0x02f9ec] = 1,
[0x02f9ed] = 1,
[0x02f9ee] = 1,
[0x02f9ef] = 1,
[0x02f9f0] = 1,
[0x02f9f1] = 1,
[0x02f9f2] = 1,
[0x02f9f3] = 1,
[0x02f9f4] = 1,
[0x02f9f5] = 1,
[0x02f9f6] = 1,
[0x02f9f7] = 1,
[0x02f9f8] = 1,
[0x02f9f9] = 1,
[0x02f9fa] = 1,
[0x02f9fb] = 1,
[0x02f9fc] = 1,
[0x02f9fd] = 1,
[0x02f9fe] = 1,
[0x02f9ff] = 1,
[0x02fa00] = 1,
[0x02fa01] = 1,
[0x02fa02] = 1,
[0x02fa03] = 1,
[0x02fa04] = 1,
[0x02fa05] = 1,
[0x02fa06] = 1,
[0x02fa07] = 1,
[0x02fa08] = 1,
[0x02fa09] = 1,
[0x02fa0a] = 1,
[0x02fa0b] = 1,
[0x02fa0c] = 1,
[0x02fa0d] = 1,
[0x02fa0e] = 1,
[0x02fa0f] = 1,
[0x02fa10] = 1,
[0x02fa11] = 1,
[0x02fa12] = 1,
[0x02fa13] = 1,
[0x02fa14] = 1,
[0x02fa15] = 1,
[0x02fa16] = 1,
[0x02fa17] = 1,
[0x02fa18] = 1,
[0x02fa19] = 1,
[0x02fa1a] = 1,
[0x02fa1b] = 1,
[0x02fa1c] = 1,
[0x02fa1d] = 1,
[0x0009be] = 1,
[0x0009d7] = 1,
[0x000b3e] = 1,
[0x000b56] = 1,
[0x000b57] = 1,
[0x000bbe] = 1,
[0x000bd7] = 1,
[0x000cc2] = 1,
[0x000cd5] = 1,
[0x000cd6] = 1,
[0x000d3e] = 1,
[0x000d57] = 1,
[0x000dcf] = 1,
[0x000ddf] = 1,
[0x00102e] = 1,
[0x001161] = 1,
[0x001162] = 1,
[0x001163] = 1,
[0x001164] = 1,
[0x001165] = 1,
[0x001166] = 1,
[0x001167] = 1,
[0x001168] = 1,
[0x001169] = 1,
[0x00116a] = 1,
[0x00116b] = 1,
[0x00116c] = 1,
[0x00116d] = 1,
[0x00116e] = 1,
[0x00116f] = 1,
[0x001170] = 1,
[0x001171] = 1,
[0x001172] = 1,
[0x001173] = 1,
[0x001174] = 1,
[0x001175] = 1,
[0x0011a8] = 1,
[0x0011a9] = 1,
[0x0011aa] = 1,
[0x0011ab] = 1,
[0x0011ac] = 1,
[0x0011ad] = 1,
[0x0011ae] = 1,
[0x0011af] = 1,
[0x0011b0] = 1,
[0x0011b1] = 1,
[0x0011b2] = 1,
[0x0011b3] = 1,
[0x0011b4] = 1,
[0x0011b5] = 1,
[0x0011b6] = 1,
[0x0011b7] = 1,
[0x0011b8] = 1,
[0x0011b9] = 1,
[0x0011ba] = 1,
[0x0011bb] = 1,
[0x0011bc] = 1,
[0x0011bd] = 1,
[0x0011be] = 1,
[0x0011bf] = 1,
[0x0011c0] = 1,
[0x0011c1] = 1,
[0x0011c2] = 1,
[0x001b35] = 1,
[0x011127] = 1,
},
-- Combining characters, mapped to combining class
combclass = {
[0x000300] = 230,
[0x000301] = 230,
[0x000302] = 230,
[0x000303] = 230,
[0x000304] = 230,
[0x000305] = 230,
[0x000306] = 230,
[0x000307] = 230,
[0x000308] = 230,
[0x000309] = 230,
[0x00030a] = 230,
[0x00030b] = 230,
[0x00030c] = 230,
[0x00030d] = 230,
[0x00030e] = 230,
[0x00030f] = 230,
[0x000310] = 230,
[0x000311] = 230,
[0x000312] = 230,
[0x000313] = 230,
[0x000314] = 230,
[0x000315] = 232,
[0x000316] = 220,
[0x000317] = 220,
[0x000318] = 220,
[0x000319] = 220,
[0x00031a] = 232,
[0x00031b] = 216,
[0x00031c] = 220,
[0x00031d] = 220,
[0x00031e] = 220,
[0x00031f] = 220,
[0x000320] = 220,
[0x000321] = 202,
[0x000322] = 202,
[0x000323] = 220,
[0x000324] = 220,
[0x000325] = 220,
[0x000326] = 220,
[0x000327] = 202,
[0x000328] = 202,
[0x000329] = 220,
[0x00032a] = 220,
[0x00032b] = 220,
[0x00032c] = 220,
[0x00032d] = 220,
[0x00032e] = 220,
[0x00032f] = 220,
[0x000330] = 220,
[0x000331] = 220,
[0x000332] = 220,
[0x000333] = 220,
[0x000334] = 1,
[0x000335] = 1,
[0x000336] = 1,
[0x000337] = 1,
[0x000338] = 1,
[0x000339] = 220,
[0x00033a] = 220,
[0x00033b] = 220,
[0x00033c] = 220,
[0x00033d] = 230,
[0x00033e] = 230,
[0x00033f] = 230,
[0x000340] = 230,
[0x000341] = 230,
[0x000342] = 230,
[0x000343] = 230,
[0x000344] = 230,
[0x000345] = 240,
[0x000346] = 230,
[0x000347] = 220,
[0x000348] = 220,
[0x000349] = 220,
[0x00034a] = 230,
[0x00034b] = 230,
[0x00034c] = 230,
[0x00034d] = 220,
[0x00034e] = 220,
[0x000350] = 230,
[0x000351] = 230,
[0x000352] = 230,
[0x000353] = 220,
[0x000354] = 220,
[0x000355] = 220,
[0x000356] = 220,
[0x000357] = 230,
[0x000358] = 232,
[0x000359] = 220,
[0x00035a] = 220,
[0x00035b] = 230,
[0x00035c] = 233,
[0x00035d] = 234,
[0x00035e] = 234,
[0x00035f] = 233,
[0x000360] = 234,
[0x000361] = 234,
[0x000362] = 233,
[0x000363] = 230,
[0x000364] = 230,
[0x000365] = 230,
[0x000366] = 230,
[0x000367] = 230,
[0x000368] = 230,
[0x000369] = 230,
[0x00036a] = 230,
[0x00036b] = 230,
[0x00036c] = 230,
[0x00036d] = 230,
[0x00036e] = 230,
[0x00036f] = 230,
[0x000483] = 230,
[0x000484] = 230,
[0x000485] = 230,
[0x000486] = 230,
[0x000487] = 230,
[0x000591] = 220,
[0x000592] = 230,
[0x000593] = 230,
[0x000594] = 230,
[0x000595] = 230,
[0x000596] = 220,
[0x000597] = 230,
[0x000598] = 230,
[0x000599] = 230,
[0x00059a] = 222,
[0x00059b] = 220,
[0x00059c] = 230,
[0x00059d] = 230,
[0x00059e] = 230,
[0x00059f] = 230,
[0x0005a0] = 230,
[0x0005a1] = 230,
[0x0005a2] = 220,
[0x0005a3] = 220,
[0x0005a4] = 220,
[0x0005a5] = 220,
[0x0005a6] = 220,
[0x0005a7] = 220,
[0x0005a8] = 230,
[0x0005a9] = 230,
[0x0005aa] = 220,
[0x0005ab] = 230,
[0x0005ac] = 230,
[0x0005ad] = 222,
[0x0005ae] = 228,
[0x0005af] = 230,
[0x0005b0] = 10,
[0x0005b1] = 11,
[0x0005b2] = 12,
[0x0005b3] = 13,
[0x0005b4] = 14,
[0x0005b5] = 15,
[0x0005b6] = 16,
[0x0005b7] = 17,
[0x0005b8] = 18,
[0x0005b9] = 19,
[0x0005ba] = 19,
[0x0005bb] = 20,
[0x0005bc] = 21,
[0x0005bd] = 22,
[0x0005bf] = 23,
[0x0005c1] = 24,
[0x0005c2] = 25,
[0x0005c4] = 230,
[0x0005c5] = 220,
[0x0005c7] = 18,
[0x000610] = 230,
[0x000611] = 230,
[0x000612] = 230,
[0x000613] = 230,
[0x000614] = 230,
[0x000615] = 230,
[0x000616] = 230,
[0x000617] = 230,
[0x000618] = 30,
[0x000619] = 31,
[0x00061a] = 32,
[0x00064b] = 27,
[0x00064c] = 28,
[0x00064d] = 29,
[0x00064e] = 30,
[0x00064f] = 31,
[0x000650] = 32,
[0x000651] = 33,
[0x000652] = 34,
[0x000653] = 230,
[0x000654] = 230,
[0x000655] = 220,
[0x000656] = 220,
[0x000657] = 230,
[0x000658] = 230,
[0x000659] = 230,
[0x00065a] = 230,
[0x00065b] = 230,
[0x00065c] = 220,
[0x00065d] = 230,
[0x00065e] = 230,
[0x00065f] = 220,
[0x000670] = 35,
[0x0006d6] = 230,
[0x0006d7] = 230,
[0x0006d8] = 230,
[0x0006d9] = 230,
[0x0006da] = 230,
[0x0006db] = 230,
[0x0006dc] = 230,
[0x0006df] = 230,
[0x0006e0] = 230,
[0x0006e1] = 230,
[0x0006e2] = 230,
[0x0006e3] = 220,
[0x0006e4] = 230,
[0x0006e7] = 230,
[0x0006e8] = 230,
[0x0006ea] = 220,
[0x0006eb] = 230,
[0x0006ec] = 230,
[0x0006ed] = 220,
[0x000711] = 36,
[0x000730] = 230,
[0x000731] = 220,
[0x000732] = 230,
[0x000733] = 230,
[0x000734] = 220,
[0x000735] = 230,
[0x000736] = 230,
[0x000737] = 220,
[0x000738] = 220,
[0x000739] = 220,
[0x00073a] = 230,
[0x00073b] = 220,
[0x00073c] = 220,
[0x00073d] = 230,
[0x00073e] = 220,
[0x00073f] = 230,
[0x000740] = 230,
[0x000741] = 230,
[0x000742] = 220,
[0x000743] = 230,
[0x000744] = 220,
[0x000745] = 230,
[0x000746] = 220,
[0x000747] = 230,
[0x000748] = 220,
[0x000749] = 230,
[0x00074a] = 230,
[0x0007eb] = 230,
[0x0007ec] = 230,
[0x0007ed] = 230,
[0x0007ee] = 230,
[0x0007ef] = 230,
[0x0007f0] = 230,
[0x0007f1] = 230,
[0x0007f2] = 220,
[0x0007f3] = 230,
[0x000816] = 230,
[0x000817] = 230,
[0x000818] = 230,
[0x000819] = 230,
[0x00081b] = 230,
[0x00081c] = 230,
[0x00081d] = 230,
[0x00081e] = 230,
[0x00081f] = 230,
[0x000820] = 230,
[0x000821] = 230,
[0x000822] = 230,
[0x000823] = 230,
[0x000825] = 230,
[0x000826] = 230,
[0x000827] = 230,
[0x000829] = 230,
[0x00082a] = 230,
[0x00082b] = 230,
[0x00082c] = 230,
[0x00082d] = 230,
[0x000859] = 220,
[0x00085a] = 220,
[0x00085b] = 220,
[0x0008e4] = 230,
[0x0008e5] = 230,
[0x0008e6] = 220,
[0x0008e7] = 230,
[0x0008e8] = 230,
[0x0008e9] = 220,
[0x0008ea] = 230,
[0x0008eb] = 230,
[0x0008ec] = 230,
[0x0008ed] = 220,
[0x0008ee] = 220,
[0x0008ef] = 220,
[0x0008f0] = 27,
[0x0008f1] = 28,
[0x0008f2] = 29,
[0x0008f3] = 230,
[0x0008f4] = 230,
[0x0008f5] = 230,
[0x0008f6] = 220,
[0x0008f7] = 230,
[0x0008f8] = 230,
[0x0008f9] = 220,
[0x0008fa] = 220,
[0x0008fb] = 230,
[0x0008fc] = 230,
[0x0008fd] = 230,
[0x0008fe] = 230,
[0x00093c] = 7,
[0x00094d] = 9,
[0x000951] = 230,
[0x000952] = 220,
[0x000953] = 230,
[0x000954] = 230,
[0x0009bc] = 7,
[0x0009cd] = 9,
[0x000a3c] = 7,
[0x000a4d] = 9,
[0x000abc] = 7,
[0x000acd] = 9,
[0x000b3c] = 7,
[0x000b4d] = 9,
[0x000bcd] = 9,
[0x000c4d] = 9,
[0x000c55] = 84,
[0x000c56] = 91,
[0x000cbc] = 7,
[0x000ccd] = 9,
[0x000d4d] = 9,
[0x000dca] = 9,
[0x000e38] = 103,
[0x000e39] = 103,
[0x000e3a] = 9,
[0x000e48] = 107,
[0x000e49] = 107,
[0x000e4a] = 107,
[0x000e4b] = 107,
[0x000eb8] = 118,
[0x000eb9] = 118,
[0x000ec8] = 122,
[0x000ec9] = 122,
[0x000eca] = 122,
[0x000ecb] = 122,
[0x000f18] = 220,
[0x000f19] = 220,
[0x000f35] = 220,
[0x000f37] = 220,
[0x000f39] = 216,
[0x000f71] = 129,
[0x000f72] = 130,
[0x000f74] = 132,
[0x000f7a] = 130,
[0x000f7b] = 130,
[0x000f7c] = 130,
[0x000f7d] = 130,
[0x000f80] = 130,
[0x000f82] = 230,
[0x000f83] = 230,
[0x000f84] = 9,
[0x000f86] = 230,
[0x000f87] = 230,
[0x000fc6] = 220,
[0x001037] = 7,
[0x001039] = 9,
[0x00103a] = 9,
[0x00108d] = 220,
[0x00135d] = 230,
[0x00135e] = 230,
[0x00135f] = 230,
[0x001714] = 9,
[0x001734] = 9,
[0x0017d2] = 9,
[0x0017dd] = 230,
[0x0018a9] = 228,
[0x001939] = 222,
[0x00193a] = 230,
[0x00193b] = 220,
[0x001a17] = 230,
[0x001a18] = 220,
[0x001a60] = 9,
[0x001a75] = 230,
[0x001a76] = 230,
[0x001a77] = 230,
[0x001a78] = 230,
[0x001a79] = 230,
[0x001a7a] = 230,
[0x001a7b] = 230,
[0x001a7c] = 230,
[0x001a7f] = 220,
[0x001b34] = 7,
[0x001b44] = 9,
[0x001b6b] = 230,
[0x001b6c] = 220,
[0x001b6d] = 230,
[0x001b6e] = 230,
[0x001b6f] = 230,
[0x001b70] = 230,
[0x001b71] = 230,
[0x001b72] = 230,
[0x001b73] = 230,
[0x001baa] = 9,
[0x001bab] = 9,
[0x001be6] = 7,
[0x001bf2] = 9,
[0x001bf3] = 9,
[0x001c37] = 7,
[0x001cd0] = 230,
[0x001cd1] = 230,
[0x001cd2] = 230,
[0x001cd4] = 1,
[0x001cd5] = 220,
[0x001cd6] = 220,
[0x001cd7] = 220,
[0x001cd8] = 220,
[0x001cd9] = 220,
[0x001cda] = 230,
[0x001cdb] = 230,
[0x001cdc] = 220,
[0x001cdd] = 220,
[0x001cde] = 220,
[0x001cdf] = 220,
[0x001ce0] = 230,
[0x001ce2] = 1,
[0x001ce3] = 1,
[0x001ce4] = 1,
[0x001ce5] = 1,
[0x001ce6] = 1,
[0x001ce7] = 1,
[0x001ce8] = 1,
[0x001ced] = 220,
[0x001cf4] = 230,
[0x001dc0] = 230,
[0x001dc1] = 230,
[0x001dc2] = 220,
[0x001dc3] = 230,
[0x001dc4] = 230,
[0x001dc5] = 230,
[0x001dc6] = 230,
[0x001dc7] = 230,
[0x001dc8] = 230,
[0x001dc9] = 230,
[0x001dca] = 220,
[0x001dcb] = 230,
[0x001dcc] = 230,
[0x001dcd] = 234,
[0x001dce] = 214,
[0x001dcf] = 220,
[0x001dd0] = 202,
[0x001dd1] = 230,
[0x001dd2] = 230,
[0x001dd3] = 230,
[0x001dd4] = 230,
[0x001dd5] = 230,
[0x001dd6] = 230,
[0x001dd7] = 230,
[0x001dd8] = 230,
[0x001dd9] = 230,
[0x001dda] = 230,
[0x001ddb] = 230,
[0x001ddc] = 230,
[0x001ddd] = 230,
[0x001dde] = 230,
[0x001ddf] = 230,
[0x001de0] = 230,
[0x001de1] = 230,
[0x001de2] = 230,
[0x001de3] = 230,
[0x001de4] = 230,
[0x001de5] = 230,
[0x001de6] = 230,
[0x001dfc] = 233,
[0x001dfd] = 220,
[0x001dfe] = 230,
[0x001dff] = 220,
[0x0020d0] = 230,
[0x0020d1] = 230,
[0x0020d2] = 1,
[0x0020d3] = 1,
[0x0020d4] = 230,
[0x0020d5] = 230,
[0x0020d6] = 230,
[0x0020d7] = 230,
[0x0020d8] = 1,
[0x0020d9] = 1,
[0x0020da] = 1,
[0x0020db] = 230,
[0x0020dc] = 230,
[0x0020e1] = 230,
[0x0020e5] = 1,
[0x0020e6] = 1,
[0x0020e7] = 230,
[0x0020e8] = 220,
[0x0020e9] = 230,
[0x0020ea] = 1,
[0x0020eb] = 1,
[0x0020ec] = 220,
[0x0020ed] = 220,
[0x0020ee] = 220,
[0x0020ef] = 220,
[0x0020f0] = 230,
[0x002cef] = 230,
[0x002cf0] = 230,
[0x002cf1] = 230,
[0x002d7f] = 9,
[0x002de0] = 230,
[0x002de1] = 230,
[0x002de2] = 230,
[0x002de3] = 230,
[0x002de4] = 230,
[0x002de5] = 230,
[0x002de6] = 230,
[0x002de7] = 230,
[0x002de8] = 230,
[0x002de9] = 230,
[0x002dea] = 230,
[0x002deb] = 230,
[0x002dec] = 230,
[0x002ded] = 230,
[0x002dee] = 230,
[0x002def] = 230,
[0x002df0] = 230,
[0x002df1] = 230,
[0x002df2] = 230,
[0x002df3] = 230,
[0x002df4] = 230,
[0x002df5] = 230,
[0x002df6] = 230,
[0x002df7] = 230,
[0x002df8] = 230,
[0x002df9] = 230,
[0x002dfa] = 230,
[0x002dfb] = 230,
[0x002dfc] = 230,
[0x002dfd] = 230,
[0x002dfe] = 230,
[0x002dff] = 230,
[0x00302a] = 218,
[0x00302b] = 228,
[0x00302c] = 232,
[0x00302d] = 222,
[0x00302e] = 224,
[0x00302f] = 224,
[0x003099] = 8,
[0x00309a] = 8,
[0x00a66f] = 230,
[0x00a674] = 230,
[0x00a675] = 230,
[0x00a676] = 230,
[0x00a677] = 230,
[0x00a678] = 230,
[0x00a679] = 230,
[0x00a67a] = 230,
[0x00a67b] = 230,
[0x00a67c] = 230,
[0x00a67d] = 230,
[0x00a69f] = 230,
[0x00a6f0] = 230,
[0x00a6f1] = 230,
[0x00a806] = 9,
[0x00a8c4] = 9,
[0x00a8e0] = 230,
[0x00a8e1] = 230,
[0x00a8e2] = 230,
[0x00a8e3] = 230,
[0x00a8e4] = 230,
[0x00a8e5] = 230,
[0x00a8e6] = 230,
[0x00a8e7] = 230,
[0x00a8e8] = 230,
[0x00a8e9] = 230,
[0x00a8ea] = 230,
[0x00a8eb] = 230,
[0x00a8ec] = 230,
[0x00a8ed] = 230,
[0x00a8ee] = 230,
[0x00a8ef] = 230,
[0x00a8f0] = 230,
[0x00a8f1] = 230,
[0x00a92b] = 220,
[0x00a92c] = 220,
[0x00a92d] = 220,
[0x00a953] = 9,
[0x00a9b3] = 7,
[0x00a9c0] = 9,
[0x00aab0] = 230,
[0x00aab2] = 230,
[0x00aab3] = 230,
[0x00aab4] = 220,
[0x00aab7] = 230,
[0x00aab8] = 230,
[0x00aabe] = 230,
[0x00aabf] = 230,
[0x00aac1] = 230,
[0x00aaf6] = 9,
[0x00abed] = 9,
[0x00fb1e] = 26,
[0x00fe20] = 230,
[0x00fe21] = 230,
[0x00fe22] = 230,
[0x00fe23] = 230,
[0x00fe24] = 230,
[0x00fe25] = 230,
[0x00fe26] = 230,
[0x0101fd] = 220,
[0x010a0d] = 220,
[0x010a0f] = 230,
[0x010a38] = 230,
[0x010a39] = 1,
[0x010a3a] = 220,
[0x010a3f] = 9,
[0x011046] = 9,
[0x0110b9] = 9,
[0x0110ba] = 7,
[0x011100] = 230,
[0x011101] = 230,
[0x011102] = 230,
[0x011133] = 9,
[0x011134] = 9,
[0x0111c0] = 9,
[0x0116b6] = 9,
[0x0116b7] = 7,
[0x01d165] = 216,
[0x01d166] = 216,
[0x01d167] = 1,
[0x01d168] = 1,
[0x01d169] = 1,
[0x01d16d] = 226,
[0x01d16e] = 216,
[0x01d16f] = 216,
[0x01d170] = 216,
[0x01d171] = 216,
[0x01d172] = 216,
[0x01d17b] = 220,
[0x01d17c] = 220,
[0x01d17d] = 220,
[0x01d17e] = 220,
[0x01d17f] = 220,
[0x01d180] = 220,
[0x01d181] = 220,
[0x01d182] = 220,
[0x01d185] = 230,
[0x01d186] = 230,
[0x01d187] = 230,
[0x01d188] = 230,
[0x01d189] = 230,
[0x01d18a] = 220,
[0x01d18b] = 220,
[0x01d1aa] = 230,
[0x01d1ab] = 230,
[0x01d1ac] = 230,
[0x01d1ad] = 230,
[0x01d242] = 230,
[0x01d243] = 230,
[0x01d244] = 230,
},
-- Characters mapped to what they decompose to
-- Note Hangul to Jamo is done separately below
decomp = {
[0x0000c0] = { 0x000041, 0x000300 },
[0x0000c1] = { 0x000041, 0x000301 },
[0x0000c2] = { 0x000041, 0x000302 },
[0x0000c3] = { 0x000041, 0x000303 },
[0x0000c4] = { 0x000041, 0x000308 },
[0x0000c5] = { 0x000041, 0x00030a },
[0x0000c7] = { 0x000043, 0x000327 },
[0x0000c8] = { 0x000045, 0x000300 },
[0x0000c9] = { 0x000045, 0x000301 },
[0x0000ca] = { 0x000045, 0x000302 },
[0x0000cb] = { 0x000045, 0x000308 },
[0x0000cc] = { 0x000049, 0x000300 },
[0x0000cd] = { 0x000049, 0x000301 },
[0x0000ce] = { 0x000049, 0x000302 },
[0x0000cf] = { 0x000049, 0x000308 },
[0x0000d1] = { 0x00004e, 0x000303 },
[0x0000d2] = { 0x00004f, 0x000300 },
[0x0000d3] = { 0x00004f, 0x000301 },
[0x0000d4] = { 0x00004f, 0x000302 },
[0x0000d5] = { 0x00004f, 0x000303 },
[0x0000d6] = { 0x00004f, 0x000308 },
[0x0000d9] = { 0x000055, 0x000300 },
[0x0000da] = { 0x000055, 0x000301 },
[0x0000db] = { 0x000055, 0x000302 },
[0x0000dc] = { 0x000055, 0x000308 },
[0x0000dd] = { 0x000059, 0x000301 },
[0x0000e0] = { 0x000061, 0x000300 },
[0x0000e1] = { 0x000061, 0x000301 },
[0x0000e2] = { 0x000061, 0x000302 },
[0x0000e3] = { 0x000061, 0x000303 },
[0x0000e4] = { 0x000061, 0x000308 },
[0x0000e5] = { 0x000061, 0x00030a },
[0x0000e7] = { 0x000063, 0x000327 },
[0x0000e8] = { 0x000065, 0x000300 },
[0x0000e9] = { 0x000065, 0x000301 },
[0x0000ea] = { 0x000065, 0x000302 },
[0x0000eb] = { 0x000065, 0x000308 },
[0x0000ec] = { 0x000069, 0x000300 },
[0x0000ed] = { 0x000069, 0x000301 },
[0x0000ee] = { 0x000069, 0x000302 },
[0x0000ef] = { 0x000069, 0x000308 },
[0x0000f1] = { 0x00006e, 0x000303 },
[0x0000f2] = { 0x00006f, 0x000300 },
[0x0000f3] = { 0x00006f, 0x000301 },
[0x0000f4] = { 0x00006f, 0x000302 },
[0x0000f5] = { 0x00006f, 0x000303 },
[0x0000f6] = { 0x00006f, 0x000308 },
[0x0000f9] = { 0x000075, 0x000300 },
[0x0000fa] = { 0x000075, 0x000301 },
[0x0000fb] = { 0x000075, 0x000302 },
[0x0000fc] = { 0x000075, 0x000308 },
[0x0000fd] = { 0x000079, 0x000301 },
[0x0000ff] = { 0x000079, 0x000308 },
[0x000100] = { 0x000041, 0x000304 },
[0x000101] = { 0x000061, 0x000304 },
[0x000102] = { 0x000041, 0x000306 },
[0x000103] = { 0x000061, 0x000306 },
[0x000104] = { 0x000041, 0x000328 },
[0x000105] = { 0x000061, 0x000328 },
[0x000106] = { 0x000043, 0x000301 },
[0x000107] = { 0x000063, 0x000301 },
[0x000108] = { 0x000043, 0x000302 },
[0x000109] = { 0x000063, 0x000302 },
[0x00010a] = { 0x000043, 0x000307 },
[0x00010b] = { 0x000063, 0x000307 },
[0x00010c] = { 0x000043, 0x00030c },
[0x00010d] = { 0x000063, 0x00030c },
[0x00010e] = { 0x000044, 0x00030c },
[0x00010f] = { 0x000064, 0x00030c },
[0x000112] = { 0x000045, 0x000304 },
[0x000113] = { 0x000065, 0x000304 },
[0x000114] = { 0x000045, 0x000306 },
[0x000115] = { 0x000065, 0x000306 },
[0x000116] = { 0x000045, 0x000307 },
[0x000117] = { 0x000065, 0x000307 },
[0x000118] = { 0x000045, 0x000328 },
[0x000119] = { 0x000065, 0x000328 },
[0x00011a] = { 0x000045, 0x00030c },
[0x00011b] = { 0x000065, 0x00030c },
[0x00011c] = { 0x000047, 0x000302 },
[0x00011d] = { 0x000067, 0x000302 },
[0x00011e] = { 0x000047, 0x000306 },
[0x00011f] = { 0x000067, 0x000306 },
[0x000120] = { 0x000047, 0x000307 },
[0x000121] = { 0x000067, 0x000307 },
[0x000122] = { 0x000047, 0x000327 },
[0x000123] = { 0x000067, 0x000327 },
[0x000124] = { 0x000048, 0x000302 },
[0x000125] = { 0x000068, 0x000302 },
[0x000128] = { 0x000049, 0x000303 },
[0x000129] = { 0x000069, 0x000303 },
[0x00012a] = { 0x000049, 0x000304 },
[0x00012b] = { 0x000069, 0x000304 },
[0x00012c] = { 0x000049, 0x000306 },
[0x00012d] = { 0x000069, 0x000306 },
[0x00012e] = { 0x000049, 0x000328 },
[0x00012f] = { 0x000069, 0x000328 },
[0x000130] = { 0x000049, 0x000307 },
[0x000134] = { 0x00004a, 0x000302 },
[0x000135] = { 0x00006a, 0x000302 },
[0x000136] = { 0x00004b, 0x000327 },
[0x000137] = { 0x00006b, 0x000327 },
[0x000139] = { 0x00004c, 0x000301 },
[0x00013a] = { 0x00006c, 0x000301 },
[0x00013b] = { 0x00004c, 0x000327 },
[0x00013c] = { 0x00006c, 0x000327 },
[0x00013d] = { 0x00004c, 0x00030c },
[0x00013e] = { 0x00006c, 0x00030c },
[0x000143] = { 0x00004e, 0x000301 },
[0x000144] = { 0x00006e, 0x000301 },
[0x000145] = { 0x00004e, 0x000327 },
[0x000146] = { 0x00006e, 0x000327 },
[0x000147] = { 0x00004e, 0x00030c },
[0x000148] = { 0x00006e, 0x00030c },
[0x00014c] = { 0x00004f, 0x000304 },
[0x00014d] = { 0x00006f, 0x000304 },
[0x00014e] = { 0x00004f, 0x000306 },
[0x00014f] = { 0x00006f, 0x000306 },
[0x000150] = { 0x00004f, 0x00030b },
[0x000151] = { 0x00006f, 0x00030b },
[0x000154] = { 0x000052, 0x000301 },
[0x000155] = { 0x000072, 0x000301 },
[0x000156] = { 0x000052, 0x000327 },
[0x000157] = { 0x000072, 0x000327 },
[0x000158] = { 0x000052, 0x00030c },
[0x000159] = { 0x000072, 0x00030c },
[0x00015a] = { 0x000053, 0x000301 },
[0x00015b] = { 0x000073, 0x000301 },
[0x00015c] = { 0x000053, 0x000302 },
[0x00015d] = { 0x000073, 0x000302 },
[0x00015e] = { 0x000053, 0x000327 },
[0x00015f] = { 0x000073, 0x000327 },
[0x000160] = { 0x000053, 0x00030c },
[0x000161] = { 0x000073, 0x00030c },
[0x000162] = { 0x000054, 0x000327 },
[0x000163] = { 0x000074, 0x000327 },
[0x000164] = { 0x000054, 0x00030c },
[0x000165] = { 0x000074, 0x00030c },
[0x000168] = { 0x000055, 0x000303 },
[0x000169] = { 0x000075, 0x000303 },
[0x00016a] = { 0x000055, 0x000304 },
[0x00016b] = { 0x000075, 0x000304 },
[0x00016c] = { 0x000055, 0x000306 },
[0x00016d] = { 0x000075, 0x000306 },
[0x00016e] = { 0x000055, 0x00030a },
[0x00016f] = { 0x000075, 0x00030a },
[0x000170] = { 0x000055, 0x00030b },
[0x000171] = { 0x000075, 0x00030b },
[0x000172] = { 0x000055, 0x000328 },
[0x000173] = { 0x000075, 0x000328 },
[0x000174] = { 0x000057, 0x000302 },
[0x000175] = { 0x000077, 0x000302 },
[0x000176] = { 0x000059, 0x000302 },
[0x000177] = { 0x000079, 0x000302 },
[0x000178] = { 0x000059, 0x000308 },
[0x000179] = { 0x00005a, 0x000301 },
[0x00017a] = { 0x00007a, 0x000301 },
[0x00017b] = { 0x00005a, 0x000307 },
[0x00017c] = { 0x00007a, 0x000307 },
[0x00017d] = { 0x00005a, 0x00030c },
[0x00017e] = { 0x00007a, 0x00030c },
[0x0001a0] = { 0x00004f, 0x00031b },
[0x0001a1] = { 0x00006f, 0x00031b },
[0x0001af] = { 0x000055, 0x00031b },
[0x0001b0] = { 0x000075, 0x00031b },
[0x0001cd] = { 0x000041, 0x00030c },
[0x0001ce] = { 0x000061, 0x00030c },
[0x0001cf] = { 0x000049, 0x00030c },
[0x0001d0] = { 0x000069, 0x00030c },
[0x0001d1] = { 0x00004f, 0x00030c },
[0x0001d2] = { 0x00006f, 0x00030c },
[0x0001d3] = { 0x000055, 0x00030c },
[0x0001d4] = { 0x000075, 0x00030c },
[0x0001d5] = { 0x000055, 0x000308, 0x000304 },
[0x0001d6] = { 0x000075, 0x000308, 0x000304 },
[0x0001d7] = { 0x000055, 0x000308, 0x000301 },
[0x0001d8] = { 0x000075, 0x000308, 0x000301 },
[0x0001d9] = { 0x000055, 0x000308, 0x00030c },
[0x0001da] = { 0x000075, 0x000308, 0x00030c },
[0x0001db] = { 0x000055, 0x000308, 0x000300 },
[0x0001dc] = { 0x000075, 0x000308, 0x000300 },
[0x0001de] = { 0x000041, 0x000308, 0x000304 },
[0x0001df] = { 0x000061, 0x000308, 0x000304 },
[0x0001e0] = { 0x000041, 0x000307, 0x000304 },
[0x0001e1] = { 0x000061, 0x000307, 0x000304 },
[0x0001e2] = { 0x0000c6, 0x000304 },
[0x0001e3] = { 0x0000e6, 0x000304 },
[0x0001e6] = { 0x000047, 0x00030c },
[0x0001e7] = { 0x000067, 0x00030c },
[0x0001e8] = { 0x00004b, 0x00030c },
[0x0001e9] = { 0x00006b, 0x00030c },
[0x0001ea] = { 0x00004f, 0x000328 },
[0x0001eb] = { 0x00006f, 0x000328 },
[0x0001ec] = { 0x00004f, 0x000328, 0x000304 },
[0x0001ed] = { 0x00006f, 0x000328, 0x000304 },
[0x0001ee] = { 0x0001b7, 0x00030c },
[0x0001ef] = { 0x000292, 0x00030c },
[0x0001f0] = { 0x00006a, 0x00030c },
[0x0001f4] = { 0x000047, 0x000301 },
[0x0001f5] = { 0x000067, 0x000301 },
[0x0001f8] = { 0x00004e, 0x000300 },
[0x0001f9] = { 0x00006e, 0x000300 },
[0x0001fa] = { 0x000041, 0x00030a, 0x000301 },
[0x0001fb] = { 0x000061, 0x00030a, 0x000301 },
[0x0001fc] = { 0x0000c6, 0x000301 },
[0x0001fd] = { 0x0000e6, 0x000301 },
[0x0001fe] = { 0x0000d8, 0x000301 },
[0x0001ff] = { 0x0000f8, 0x000301 },
[0x000200] = { 0x000041, 0x00030f },
[0x000201] = { 0x000061, 0x00030f },
[0x000202] = { 0x000041, 0x000311 },
[0x000203] = { 0x000061, 0x000311 },
[0x000204] = { 0x000045, 0x00030f },
[0x000205] = { 0x000065, 0x00030f },
[0x000206] = { 0x000045, 0x000311 },
[0x000207] = { 0x000065, 0x000311 },
[0x000208] = { 0x000049, 0x00030f },
[0x000209] = { 0x000069, 0x00030f },
[0x00020a] = { 0x000049, 0x000311 },
[0x00020b] = { 0x000069, 0x000311 },
[0x00020c] = { 0x00004f, 0x00030f },
[0x00020d] = { 0x00006f, 0x00030f },
[0x00020e] = { 0x00004f, 0x000311 },
[0x00020f] = { 0x00006f, 0x000311 },
[0x000210] = { 0x000052, 0x00030f },
[0x000211] = { 0x000072, 0x00030f },
[0x000212] = { 0x000052, 0x000311 },
[0x000213] = { 0x000072, 0x000311 },
[0x000214] = { 0x000055, 0x00030f },
[0x000215] = { 0x000075, 0x00030f },
[0x000216] = { 0x000055, 0x000311 },
[0x000217] = { 0x000075, 0x000311 },
[0x000218] = { 0x000053, 0x000326 },
[0x000219] = { 0x000073, 0x000326 },
[0x00021a] = { 0x000054, 0x000326 },
[0x00021b] = { 0x000074, 0x000326 },
[0x00021e] = { 0x000048, 0x00030c },
[0x00021f] = { 0x000068, 0x00030c },
[0x000226] = { 0x000041, 0x000307 },
[0x000227] = { 0x000061, 0x000307 },
[0x000228] = { 0x000045, 0x000327 },
[0x000229] = { 0x000065, 0x000327 },
[0x00022a] = { 0x00004f, 0x000308, 0x000304 },
[0x00022b] = { 0x00006f, 0x000308, 0x000304 },
[0x00022c] = { 0x00004f, 0x000303, 0x000304 },
[0x00022d] = { 0x00006f, 0x000303, 0x000304 },
[0x00022e] = { 0x00004f, 0x000307 },
[0x00022f] = { 0x00006f, 0x000307 },
[0x000230] = { 0x00004f, 0x000307, 0x000304 },
[0x000231] = { 0x00006f, 0x000307, 0x000304 },
[0x000232] = { 0x000059, 0x000304 },
[0x000233] = { 0x000079, 0x000304 },
[0x000340] = { 0x000300 },
[0x000341] = { 0x000301 },
[0x000343] = { 0x000313 },
[0x000344] = { 0x000308, 0x000301 },
[0x000374] = { 0x0002b9 },
[0x00037e] = { 0x00003b },
[0x000385] = { 0x0000a8, 0x000301 },
[0x000386] = { 0x000391, 0x000301 },
[0x000387] = { 0x0000b7 },
[0x000388] = { 0x000395, 0x000301 },
[0x000389] = { 0x000397, 0x000301 },
[0x00038a] = { 0x000399, 0x000301 },
[0x00038c] = { 0x00039f, 0x000301 },
[0x00038e] = { 0x0003a5, 0x000301 },
[0x00038f] = { 0x0003a9, 0x000301 },
[0x000390] = { 0x0003b9, 0x000308, 0x000301 },
[0x0003aa] = { 0x000399, 0x000308 },
[0x0003ab] = { 0x0003a5, 0x000308 },
[0x0003ac] = { 0x0003b1, 0x000301 },
[0x0003ad] = { 0x0003b5, 0x000301 },
[0x0003ae] = { 0x0003b7, 0x000301 },
[0x0003af] = { 0x0003b9, 0x000301 },
[0x0003b0] = { 0x0003c5, 0x000308, 0x000301 },
[0x0003ca] = { 0x0003b9, 0x000308 },
[0x0003cb] = { 0x0003c5, 0x000308 },
[0x0003cc] = { 0x0003bf, 0x000301 },
[0x0003cd] = { 0x0003c5, 0x000301 },
[0x0003ce] = { 0x0003c9, 0x000301 },
[0x0003d3] = { 0x0003d2, 0x000301 },
[0x0003d4] = { 0x0003d2, 0x000308 },
[0x000400] = { 0x000415, 0x000300 },
[0x000401] = { 0x000415, 0x000308 },
[0x000403] = { 0x000413, 0x000301 },
[0x000407] = { 0x000406, 0x000308 },
[0x00040c] = { 0x00041a, 0x000301 },
[0x00040d] = { 0x000418, 0x000300 },
[0x00040e] = { 0x000423, 0x000306 },
[0x000419] = { 0x000418, 0x000306 },
[0x000439] = { 0x000438, 0x000306 },
[0x000450] = { 0x000435, 0x000300 },
[0x000451] = { 0x000435, 0x000308 },
[0x000453] = { 0x000433, 0x000301 },
[0x000457] = { 0x000456, 0x000308 },
[0x00045c] = { 0x00043a, 0x000301 },
[0x00045d] = { 0x000438, 0x000300 },
[0x00045e] = { 0x000443, 0x000306 },
[0x000476] = { 0x000474, 0x00030f },
[0x000477] = { 0x000475, 0x00030f },
[0x0004c1] = { 0x000416, 0x000306 },
[0x0004c2] = { 0x000436, 0x000306 },
[0x0004d0] = { 0x000410, 0x000306 },
[0x0004d1] = { 0x000430, 0x000306 },
[0x0004d2] = { 0x000410, 0x000308 },
[0x0004d3] = { 0x000430, 0x000308 },
[0x0004d6] = { 0x000415, 0x000306 },
[0x0004d7] = { 0x000435, 0x000306 },
[0x0004da] = { 0x0004d8, 0x000308 },
[0x0004db] = { 0x0004d9, 0x000308 },
[0x0004dc] = { 0x000416, 0x000308 },
[0x0004dd] = { 0x000436, 0x000308 },
[0x0004de] = { 0x000417, 0x000308 },
[0x0004df] = { 0x000437, 0x000308 },
[0x0004e2] = { 0x000418, 0x000304 },
[0x0004e3] = { 0x000438, 0x000304 },
[0x0004e4] = { 0x000418, 0x000308 },
[0x0004e5] = { 0x000438, 0x000308 },
[0x0004e6] = { 0x00041e, 0x000308 },
[0x0004e7] = { 0x00043e, 0x000308 },
[0x0004ea] = { 0x0004e8, 0x000308 },
[0x0004eb] = { 0x0004e9, 0x000308 },
[0x0004ec] = { 0x00042d, 0x000308 },
[0x0004ed] = { 0x00044d, 0x000308 },
[0x0004ee] = { 0x000423, 0x000304 },
[0x0004ef] = { 0x000443, 0x000304 },
[0x0004f0] = { 0x000423, 0x000308 },
[0x0004f1] = { 0x000443, 0x000308 },
[0x0004f2] = { 0x000423, 0x00030b },
[0x0004f3] = { 0x000443, 0x00030b },
[0x0004f4] = { 0x000427, 0x000308 },
[0x0004f5] = { 0x000447, 0x000308 },
[0x0004f8] = { 0x00042b, 0x000308 },
[0x0004f9] = { 0x00044b, 0x000308 },
[0x000622] = { 0x000627, 0x000653 },
[0x000623] = { 0x000627, 0x000654 },
[0x000624] = { 0x000648, 0x000654 },
[0x000625] = { 0x000627, 0x000655 },
[0x000626] = { 0x00064a, 0x000654 },
[0x0006c0] = { 0x0006d5, 0x000654 },
[0x0006c2] = { 0x0006c1, 0x000654 },
[0x0006d3] = { 0x0006d2, 0x000654 },
[0x000929] = { 0x000928, 0x00093c },
[0x000931] = { 0x000930, 0x00093c },
[0x000934] = { 0x000933, 0x00093c },
[0x000958] = { 0x000915, 0x00093c },
[0x000959] = { 0x000916, 0x00093c },
[0x00095a] = { 0x000917, 0x00093c },
[0x00095b] = { 0x00091c, 0x00093c },
[0x00095c] = { 0x000921, 0x00093c },
[0x00095d] = { 0x000922, 0x00093c },
[0x00095e] = { 0x00092b, 0x00093c },
[0x00095f] = { 0x00092f, 0x00093c },
[0x0009cb] = { 0x0009c7, 0x0009be },
[0x0009cc] = { 0x0009c7, 0x0009d7 },
[0x0009dc] = { 0x0009a1, 0x0009bc },
[0x0009dd] = { 0x0009a2, 0x0009bc },
[0x0009df] = { 0x0009af, 0x0009bc },
[0x000a33] = { 0x000a32, 0x000a3c },
[0x000a36] = { 0x000a38, 0x000a3c },
[0x000a59] = { 0x000a16, 0x000a3c },
[0x000a5a] = { 0x000a17, 0x000a3c },
[0x000a5b] = { 0x000a1c, 0x000a3c },
[0x000a5e] = { 0x000a2b, 0x000a3c },
[0x000b48] = { 0x000b47, 0x000b56 },
[0x000b4b] = { 0x000b47, 0x000b3e },
[0x000b4c] = { 0x000b47, 0x000b57 },
[0x000b5c] = { 0x000b21, 0x000b3c },
[0x000b5d] = { 0x000b22, 0x000b3c },
[0x000b94] = { 0x000b92, 0x000bd7 },
[0x000bca] = { 0x000bc6, 0x000bbe },
[0x000bcb] = { 0x000bc7, 0x000bbe },
[0x000bcc] = { 0x000bc6, 0x000bd7 },
[0x000c48] = { 0x000c46, 0x000c56 },
[0x000cc0] = { 0x000cbf, 0x000cd5 },
[0x000cc7] = { 0x000cc6, 0x000cd5 },
[0x000cc8] = { 0x000cc6, 0x000cd6 },
[0x000cca] = { 0x000cc6, 0x000cc2 },
[0x000ccb] = { 0x000cc6, 0x000cc2, 0x000cd5 },
[0x000d4a] = { 0x000d46, 0x000d3e },
[0x000d4b] = { 0x000d47, 0x000d3e },
[0x000d4c] = { 0x000d46, 0x000d57 },
[0x000dda] = { 0x000dd9, 0x000dca },
[0x000ddc] = { 0x000dd9, 0x000dcf },
[0x000ddd] = { 0x000dd9, 0x000dcf, 0x000dca },
[0x000dde] = { 0x000dd9, 0x000ddf },
[0x000f43] = { 0x000f42, 0x000fb7 },
[0x000f4d] = { 0x000f4c, 0x000fb7 },
[0x000f52] = { 0x000f51, 0x000fb7 },
[0x000f57] = { 0x000f56, 0x000fb7 },
[0x000f5c] = { 0x000f5b, 0x000fb7 },
[0x000f69] = { 0x000f40, 0x000fb5 },
[0x000f73] = { 0x000f71, 0x000f72 },
[0x000f75] = { 0x000f71, 0x000f74 },
[0x000f76] = { 0x000fb2, 0x000f80 },
[0x000f78] = { 0x000fb3, 0x000f80 },
[0x000f81] = { 0x000f71, 0x000f80 },
[0x000f93] = { 0x000f92, 0x000fb7 },
[0x000f9d] = { 0x000f9c, 0x000fb7 },
[0x000fa2] = { 0x000fa1, 0x000fb7 },
[0x000fa7] = { 0x000fa6, 0x000fb7 },
[0x000fac] = { 0x000fab, 0x000fb7 },
[0x000fb9] = { 0x000f90, 0x000fb5 },
[0x001026] = { 0x001025, 0x00102e },
[0x001b06] = { 0x001b05, 0x001b35 },
[0x001b08] = { 0x001b07, 0x001b35 },
[0x001b0a] = { 0x001b09, 0x001b35 },
[0x001b0c] = { 0x001b0b, 0x001b35 },
[0x001b0e] = { 0x001b0d, 0x001b35 },
[0x001b12] = { 0x001b11, 0x001b35 },
[0x001b3b] = { 0x001b3a, 0x001b35 },
[0x001b3d] = { 0x001b3c, 0x001b35 },
[0x001b40] = { 0x001b3e, 0x001b35 },
[0x001b41] = { 0x001b3f, 0x001b35 },
[0x001b43] = { 0x001b42, 0x001b35 },
[0x001e00] = { 0x000041, 0x000325 },
[0x001e01] = { 0x000061, 0x000325 },
[0x001e02] = { 0x000042, 0x000307 },
[0x001e03] = { 0x000062, 0x000307 },
[0x001e04] = { 0x000042, 0x000323 },
[0x001e05] = { 0x000062, 0x000323 },
[0x001e06] = { 0x000042, 0x000331 },
[0x001e07] = { 0x000062, 0x000331 },
[0x001e08] = { 0x000043, 0x000327, 0x000301 },
[0x001e09] = { 0x000063, 0x000327, 0x000301 },
[0x001e0a] = { 0x000044, 0x000307 },
[0x001e0b] = { 0x000064, 0x000307 },
[0x001e0c] = { 0x000044, 0x000323 },
[0x001e0d] = { 0x000064, 0x000323 },
[0x001e0e] = { 0x000044, 0x000331 },
[0x001e0f] = { 0x000064, 0x000331 },
[0x001e10] = { 0x000044, 0x000327 },
[0x001e11] = { 0x000064, 0x000327 },
[0x001e12] = { 0x000044, 0x00032d },
[0x001e13] = { 0x000064, 0x00032d },
[0x001e14] = { 0x000045, 0x000304, 0x000300 },
[0x001e15] = { 0x000065, 0x000304, 0x000300 },
[0x001e16] = { 0x000045, 0x000304, 0x000301 },
[0x001e17] = { 0x000065, 0x000304, 0x000301 },
[0x001e18] = { 0x000045, 0x00032d },
[0x001e19] = { 0x000065, 0x00032d },
[0x001e1a] = { 0x000045, 0x000330 },
[0x001e1b] = { 0x000065, 0x000330 },
[0x001e1c] = { 0x000045, 0x000327, 0x000306 },
[0x001e1d] = { 0x000065, 0x000327, 0x000306 },
[0x001e1e] = { 0x000046, 0x000307 },
[0x001e1f] = { 0x000066, 0x000307 },
[0x001e20] = { 0x000047, 0x000304 },
[0x001e21] = { 0x000067, 0x000304 },
[0x001e22] = { 0x000048, 0x000307 },
[0x001e23] = { 0x000068, 0x000307 },
[0x001e24] = { 0x000048, 0x000323 },
[0x001e25] = { 0x000068, 0x000323 },
[0x001e26] = { 0x000048, 0x000308 },
[0x001e27] = { 0x000068, 0x000308 },
[0x001e28] = { 0x000048, 0x000327 },
[0x001e29] = { 0x000068, 0x000327 },
[0x001e2a] = { 0x000048, 0x00032e },
[0x001e2b] = { 0x000068, 0x00032e },
[0x001e2c] = { 0x000049, 0x000330 },
[0x001e2d] = { 0x000069, 0x000330 },
[0x001e2e] = { 0x000049, 0x000308, 0x000301 },
[0x001e2f] = { 0x000069, 0x000308, 0x000301 },
[0x001e30] = { 0x00004b, 0x000301 },
[0x001e31] = { 0x00006b, 0x000301 },
[0x001e32] = { 0x00004b, 0x000323 },
[0x001e33] = { 0x00006b, 0x000323 },
[0x001e34] = { 0x00004b, 0x000331 },
[0x001e35] = { 0x00006b, 0x000331 },
[0x001e36] = { 0x00004c, 0x000323 },
[0x001e37] = { 0x00006c, 0x000323 },
[0x001e38] = { 0x00004c, 0x000323, 0x000304 },
[0x001e39] = { 0x00006c, 0x000323, 0x000304 },
[0x001e3a] = { 0x00004c, 0x000331 },
[0x001e3b] = { 0x00006c, 0x000331 },
[0x001e3c] = { 0x00004c, 0x00032d },
[0x001e3d] = { 0x00006c, 0x00032d },
[0x001e3e] = { 0x00004d, 0x000301 },
[0x001e3f] = { 0x00006d, 0x000301 },
[0x001e40] = { 0x00004d, 0x000307 },
[0x001e41] = { 0x00006d, 0x000307 },
[0x001e42] = { 0x00004d, 0x000323 },
[0x001e43] = { 0x00006d, 0x000323 },
[0x001e44] = { 0x00004e, 0x000307 },
[0x001e45] = { 0x00006e, 0x000307 },
[0x001e46] = { 0x00004e, 0x000323 },
[0x001e47] = { 0x00006e, 0x000323 },
[0x001e48] = { 0x00004e, 0x000331 },
[0x001e49] = { 0x00006e, 0x000331 },
[0x001e4a] = { 0x00004e, 0x00032d },
[0x001e4b] = { 0x00006e, 0x00032d },
[0x001e4c] = { 0x00004f, 0x000303, 0x000301 },
[0x001e4d] = { 0x00006f, 0x000303, 0x000301 },
[0x001e4e] = { 0x00004f, 0x000303, 0x000308 },
[0x001e4f] = { 0x00006f, 0x000303, 0x000308 },
[0x001e50] = { 0x00004f, 0x000304, 0x000300 },
[0x001e51] = { 0x00006f, 0x000304, 0x000300 },
[0x001e52] = { 0x00004f, 0x000304, 0x000301 },
[0x001e53] = { 0x00006f, 0x000304, 0x000301 },
[0x001e54] = { 0x000050, 0x000301 },
[0x001e55] = { 0x000070, 0x000301 },
[0x001e56] = { 0x000050, 0x000307 },
[0x001e57] = { 0x000070, 0x000307 },
[0x001e58] = { 0x000052, 0x000307 },
[0x001e59] = { 0x000072, 0x000307 },
[0x001e5a] = { 0x000052, 0x000323 },
[0x001e5b] = { 0x000072, 0x000323 },
[0x001e5c] = { 0x000052, 0x000323, 0x000304 },
[0x001e5d] = { 0x000072, 0x000323, 0x000304 },
[0x001e5e] = { 0x000052, 0x000331 },
[0x001e5f] = { 0x000072, 0x000331 },
[0x001e60] = { 0x000053, 0x000307 },
[0x001e61] = { 0x000073, 0x000307 },
[0x001e62] = { 0x000053, 0x000323 },
[0x001e63] = { 0x000073, 0x000323 },
[0x001e64] = { 0x000053, 0x000301, 0x000307 },
[0x001e65] = { 0x000073, 0x000301, 0x000307 },
[0x001e66] = { 0x000053, 0x00030c, 0x000307 },
[0x001e67] = { 0x000073, 0x00030c, 0x000307 },
[0x001e68] = { 0x000053, 0x000323, 0x000307 },
[0x001e69] = { 0x000073, 0x000323, 0x000307 },
[0x001e6a] = { 0x000054, 0x000307 },
[0x001e6b] = { 0x000074, 0x000307 },
[0x001e6c] = { 0x000054, 0x000323 },
[0x001e6d] = { 0x000074, 0x000323 },
[0x001e6e] = { 0x000054, 0x000331 },
[0x001e6f] = { 0x000074, 0x000331 },
[0x001e70] = { 0x000054, 0x00032d },
[0x001e71] = { 0x000074, 0x00032d },
[0x001e72] = { 0x000055, 0x000324 },
[0x001e73] = { 0x000075, 0x000324 },
[0x001e74] = { 0x000055, 0x000330 },
[0x001e75] = { 0x000075, 0x000330 },
[0x001e76] = { 0x000055, 0x00032d },
[0x001e77] = { 0x000075, 0x00032d },
[0x001e78] = { 0x000055, 0x000303, 0x000301 },
[0x001e79] = { 0x000075, 0x000303, 0x000301 },
[0x001e7a] = { 0x000055, 0x000304, 0x000308 },
[0x001e7b] = { 0x000075, 0x000304, 0x000308 },
[0x001e7c] = { 0x000056, 0x000303 },
[0x001e7d] = { 0x000076, 0x000303 },
[0x001e7e] = { 0x000056, 0x000323 },
[0x001e7f] = { 0x000076, 0x000323 },
[0x001e80] = { 0x000057, 0x000300 },
[0x001e81] = { 0x000077, 0x000300 },
[0x001e82] = { 0x000057, 0x000301 },
[0x001e83] = { 0x000077, 0x000301 },
[0x001e84] = { 0x000057, 0x000308 },
[0x001e85] = { 0x000077, 0x000308 },
[0x001e86] = { 0x000057, 0x000307 },
[0x001e87] = { 0x000077, 0x000307 },
[0x001e88] = { 0x000057, 0x000323 },
[0x001e89] = { 0x000077, 0x000323 },
[0x001e8a] = { 0x000058, 0x000307 },
[0x001e8b] = { 0x000078, 0x000307 },
[0x001e8c] = { 0x000058, 0x000308 },
[0x001e8d] = { 0x000078, 0x000308 },
[0x001e8e] = { 0x000059, 0x000307 },
[0x001e8f] = { 0x000079, 0x000307 },
[0x001e90] = { 0x00005a, 0x000302 },
[0x001e91] = { 0x00007a, 0x000302 },
[0x001e92] = { 0x00005a, 0x000323 },
[0x001e93] = { 0x00007a, 0x000323 },
[0x001e94] = { 0x00005a, 0x000331 },
[0x001e95] = { 0x00007a, 0x000331 },
[0x001e96] = { 0x000068, 0x000331 },
[0x001e97] = { 0x000074, 0x000308 },
[0x001e98] = { 0x000077, 0x00030a },
[0x001e99] = { 0x000079, 0x00030a },
[0x001e9b] = { 0x00017f, 0x000307 },
[0x001ea0] = { 0x000041, 0x000323 },
[0x001ea1] = { 0x000061, 0x000323 },
[0x001ea2] = { 0x000041, 0x000309 },
[0x001ea3] = { 0x000061, 0x000309 },
[0x001ea4] = { 0x000041, 0x000302, 0x000301 },
[0x001ea5] = { 0x000061, 0x000302, 0x000301 },
[0x001ea6] = { 0x000041, 0x000302, 0x000300 },
[0x001ea7] = { 0x000061, 0x000302, 0x000300 },
[0x001ea8] = { 0x000041, 0x000302, 0x000309 },
[0x001ea9] = { 0x000061, 0x000302, 0x000309 },
[0x001eaa] = { 0x000041, 0x000302, 0x000303 },
[0x001eab] = { 0x000061, 0x000302, 0x000303 },
[0x001eac] = { 0x000041, 0x000323, 0x000302 },
[0x001ead] = { 0x000061, 0x000323, 0x000302 },
[0x001eae] = { 0x000041, 0x000306, 0x000301 },
[0x001eaf] = { 0x000061, 0x000306, 0x000301 },
[0x001eb0] = { 0x000041, 0x000306, 0x000300 },
[0x001eb1] = { 0x000061, 0x000306, 0x000300 },
[0x001eb2] = { 0x000041, 0x000306, 0x000309 },
[0x001eb3] = { 0x000061, 0x000306, 0x000309 },
[0x001eb4] = { 0x000041, 0x000306, 0x000303 },
[0x001eb5] = { 0x000061, 0x000306, 0x000303 },
[0x001eb6] = { 0x000041, 0x000323, 0x000306 },
[0x001eb7] = { 0x000061, 0x000323, 0x000306 },
[0x001eb8] = { 0x000045, 0x000323 },
[0x001eb9] = { 0x000065, 0x000323 },
[0x001eba] = { 0x000045, 0x000309 },
[0x001ebb] = { 0x000065, 0x000309 },
[0x001ebc] = { 0x000045, 0x000303 },
[0x001ebd] = { 0x000065, 0x000303 },
[0x001ebe] = { 0x000045, 0x000302, 0x000301 },
[0x001ebf] = { 0x000065, 0x000302, 0x000301 },
[0x001ec0] = { 0x000045, 0x000302, 0x000300 },
[0x001ec1] = { 0x000065, 0x000302, 0x000300 },
[0x001ec2] = { 0x000045, 0x000302, 0x000309 },
[0x001ec3] = { 0x000065, 0x000302, 0x000309 },
[0x001ec4] = { 0x000045, 0x000302, 0x000303 },
[0x001ec5] = { 0x000065, 0x000302, 0x000303 },
[0x001ec6] = { 0x000045, 0x000323, 0x000302 },
[0x001ec7] = { 0x000065, 0x000323, 0x000302 },
[0x001ec8] = { 0x000049, 0x000309 },
[0x001ec9] = { 0x000069, 0x000309 },
[0x001eca] = { 0x000049, 0x000323 },
[0x001ecb] = { 0x000069, 0x000323 },
[0x001ecc] = { 0x00004f, 0x000323 },
[0x001ecd] = { 0x00006f, 0x000323 },
[0x001ece] = { 0x00004f, 0x000309 },
[0x001ecf] = { 0x00006f, 0x000309 },
[0x001ed0] = { 0x00004f, 0x000302, 0x000301 },
[0x001ed1] = { 0x00006f, 0x000302, 0x000301 },
[0x001ed2] = { 0x00004f, 0x000302, 0x000300 },
[0x001ed3] = { 0x00006f, 0x000302, 0x000300 },
[0x001ed4] = { 0x00004f, 0x000302, 0x000309 },
[0x001ed5] = { 0x00006f, 0x000302, 0x000309 },
[0x001ed6] = { 0x00004f, 0x000302, 0x000303 },
[0x001ed7] = { 0x00006f, 0x000302, 0x000303 },
[0x001ed8] = { 0x00004f, 0x000323, 0x000302 },
[0x001ed9] = { 0x00006f, 0x000323, 0x000302 },
[0x001eda] = { 0x00004f, 0x00031b, 0x000301 },
[0x001edb] = { 0x00006f, 0x00031b, 0x000301 },
[0x001edc] = { 0x00004f, 0x00031b, 0x000300 },
[0x001edd] = { 0x00006f, 0x00031b, 0x000300 },
[0x001ede] = { 0x00004f, 0x00031b, 0x000309 },
[0x001edf] = { 0x00006f, 0x00031b, 0x000309 },
[0x001ee0] = { 0x00004f, 0x00031b, 0x000303 },
[0x001ee1] = { 0x00006f, 0x00031b, 0x000303 },
[0x001ee2] = { 0x00004f, 0x00031b, 0x000323 },
[0x001ee3] = { 0x00006f, 0x00031b, 0x000323 },
[0x001ee4] = { 0x000055, 0x000323 },
[0x001ee5] = { 0x000075, 0x000323 },
[0x001ee6] = { 0x000055, 0x000309 },
[0x001ee7] = { 0x000075, 0x000309 },
[0x001ee8] = { 0x000055, 0x00031b, 0x000301 },
[0x001ee9] = { 0x000075, 0x00031b, 0x000301 },
[0x001eea] = { 0x000055, 0x00031b, 0x000300 },
[0x001eeb] = { 0x000075, 0x00031b, 0x000300 },
[0x001eec] = { 0x000055, 0x00031b, 0x000309 },
[0x001eed] = { 0x000075, 0x00031b, 0x000309 },
[0x001eee] = { 0x000055, 0x00031b, 0x000303 },
[0x001eef] = { 0x000075, 0x00031b, 0x000303 },
[0x001ef0] = { 0x000055, 0x00031b, 0x000323 },
[0x001ef1] = { 0x000075, 0x00031b, 0x000323 },
[0x001ef2] = { 0x000059, 0x000300 },
[0x001ef3] = { 0x000079, 0x000300 },
[0x001ef4] = { 0x000059, 0x000323 },
[0x001ef5] = { 0x000079, 0x000323 },
[0x001ef6] = { 0x000059, 0x000309 },
[0x001ef7] = { 0x000079, 0x000309 },
[0x001ef8] = { 0x000059, 0x000303 },
[0x001ef9] = { 0x000079, 0x000303 },
[0x001f00] = { 0x0003b1, 0x000313 },
[0x001f01] = { 0x0003b1, 0x000314 },
[0x001f02] = { 0x0003b1, 0x000313, 0x000300 },
[0x001f03] = { 0x0003b1, 0x000314, 0x000300 },
[0x001f04] = { 0x0003b1, 0x000313, 0x000301 },
[0x001f05] = { 0x0003b1, 0x000314, 0x000301 },
[0x001f06] = { 0x0003b1, 0x000313, 0x000342 },
[0x001f07] = { 0x0003b1, 0x000314, 0x000342 },
[0x001f08] = { 0x000391, 0x000313 },
[0x001f09] = { 0x000391, 0x000314 },
[0x001f0a] = { 0x000391, 0x000313, 0x000300 },
[0x001f0b] = { 0x000391, 0x000314, 0x000300 },
[0x001f0c] = { 0x000391, 0x000313, 0x000301 },
[0x001f0d] = { 0x000391, 0x000314, 0x000301 },
[0x001f0e] = { 0x000391, 0x000313, 0x000342 },
[0x001f0f] = { 0x000391, 0x000314, 0x000342 },
[0x001f10] = { 0x0003b5, 0x000313 },
[0x001f11] = { 0x0003b5, 0x000314 },
[0x001f12] = { 0x0003b5, 0x000313, 0x000300 },
[0x001f13] = { 0x0003b5, 0x000314, 0x000300 },
[0x001f14] = { 0x0003b5, 0x000313, 0x000301 },
[0x001f15] = { 0x0003b5, 0x000314, 0x000301 },
[0x001f18] = { 0x000395, 0x000313 },
[0x001f19] = { 0x000395, 0x000314 },
[0x001f1a] = { 0x000395, 0x000313, 0x000300 },
[0x001f1b] = { 0x000395, 0x000314, 0x000300 },
[0x001f1c] = { 0x000395, 0x000313, 0x000301 },
[0x001f1d] = { 0x000395, 0x000314, 0x000301 },
[0x001f20] = { 0x0003b7, 0x000313 },
[0x001f21] = { 0x0003b7, 0x000314 },
[0x001f22] = { 0x0003b7, 0x000313, 0x000300 },
[0x001f23] = { 0x0003b7, 0x000314, 0x000300 },
[0x001f24] = { 0x0003b7, 0x000313, 0x000301 },
[0x001f25] = { 0x0003b7, 0x000314, 0x000301 },
[0x001f26] = { 0x0003b7, 0x000313, 0x000342 },
[0x001f27] = { 0x0003b7, 0x000314, 0x000342 },
[0x001f28] = { 0x000397, 0x000313 },
[0x001f29] = { 0x000397, 0x000314 },
[0x001f2a] = { 0x000397, 0x000313, 0x000300 },
[0x001f2b] = { 0x000397, 0x000314, 0x000300 },
[0x001f2c] = { 0x000397, 0x000313, 0x000301 },
[0x001f2d] = { 0x000397, 0x000314, 0x000301 },
[0x001f2e] = { 0x000397, 0x000313, 0x000342 },
[0x001f2f] = { 0x000397, 0x000314, 0x000342 },
[0x001f30] = { 0x0003b9, 0x000313 },
[0x001f31] = { 0x0003b9, 0x000314 },
[0x001f32] = { 0x0003b9, 0x000313, 0x000300 },
[0x001f33] = { 0x0003b9, 0x000314, 0x000300 },
[0x001f34] = { 0x0003b9, 0x000313, 0x000301 },
[0x001f35] = { 0x0003b9, 0x000314, 0x000301 },
[0x001f36] = { 0x0003b9, 0x000313, 0x000342 },
[0x001f37] = { 0x0003b9, 0x000314, 0x000342 },
[0x001f38] = { 0x000399, 0x000313 },
[0x001f39] = { 0x000399, 0x000314 },
[0x001f3a] = { 0x000399, 0x000313, 0x000300 },
[0x001f3b] = { 0x000399, 0x000314, 0x000300 },
[0x001f3c] = { 0x000399, 0x000313, 0x000301 },
[0x001f3d] = { 0x000399, 0x000314, 0x000301 },
[0x001f3e] = { 0x000399, 0x000313, 0x000342 },
[0x001f3f] = { 0x000399, 0x000314, 0x000342 },
[0x001f40] = { 0x0003bf, 0x000313 },
[0x001f41] = { 0x0003bf, 0x000314 },
[0x001f42] = { 0x0003bf, 0x000313, 0x000300 },
[0x001f43] = { 0x0003bf, 0x000314, 0x000300 },
[0x001f44] = { 0x0003bf, 0x000313, 0x000301 },
[0x001f45] = { 0x0003bf, 0x000314, 0x000301 },
[0x001f48] = { 0x00039f, 0x000313 },
[0x001f49] = { 0x00039f, 0x000314 },
[0x001f4a] = { 0x00039f, 0x000313, 0x000300 },
[0x001f4b] = { 0x00039f, 0x000314, 0x000300 },
[0x001f4c] = { 0x00039f, 0x000313, 0x000301 },
[0x001f4d] = { 0x00039f, 0x000314, 0x000301 },
[0x001f50] = { 0x0003c5, 0x000313 },
[0x001f51] = { 0x0003c5, 0x000314 },
[0x001f52] = { 0x0003c5, 0x000313, 0x000300 },
[0x001f53] = { 0x0003c5, 0x000314, 0x000300 },
[0x001f54] = { 0x0003c5, 0x000313, 0x000301 },
[0x001f55] = { 0x0003c5, 0x000314, 0x000301 },
[0x001f56] = { 0x0003c5, 0x000313, 0x000342 },
[0x001f57] = { 0x0003c5, 0x000314, 0x000342 },
[0x001f59] = { 0x0003a5, 0x000314 },
[0x001f5b] = { 0x0003a5, 0x000314, 0x000300 },
[0x001f5d] = { 0x0003a5, 0x000314, 0x000301 },
[0x001f5f] = { 0x0003a5, 0x000314, 0x000342 },
[0x001f60] = { 0x0003c9, 0x000313 },
[0x001f61] = { 0x0003c9, 0x000314 },
[0x001f62] = { 0x0003c9, 0x000313, 0x000300 },
[0x001f63] = { 0x0003c9, 0x000314, 0x000300 },
[0x001f64] = { 0x0003c9, 0x000313, 0x000301 },
[0x001f65] = { 0x0003c9, 0x000314, 0x000301 },
[0x001f66] = { 0x0003c9, 0x000313, 0x000342 },
[0x001f67] = { 0x0003c9, 0x000314, 0x000342 },
[0x001f68] = { 0x0003a9, 0x000313 },
[0x001f69] = { 0x0003a9, 0x000314 },
[0x001f6a] = { 0x0003a9, 0x000313, 0x000300 },
[0x001f6b] = { 0x0003a9, 0x000314, 0x000300 },
[0x001f6c] = { 0x0003a9, 0x000313, 0x000301 },
[0x001f6d] = { 0x0003a9, 0x000314, 0x000301 },
[0x001f6e] = { 0x0003a9, 0x000313, 0x000342 },
[0x001f6f] = { 0x0003a9, 0x000314, 0x000342 },
[0x001f70] = { 0x0003b1, 0x000300 },
[0x001f71] = { 0x0003b1, 0x000301 },
[0x001f72] = { 0x0003b5, 0x000300 },
[0x001f73] = { 0x0003b5, 0x000301 },
[0x001f74] = { 0x0003b7, 0x000300 },
[0x001f75] = { 0x0003b7, 0x000301 },
[0x001f76] = { 0x0003b9, 0x000300 },
[0x001f77] = { 0x0003b9, 0x000301 },
[0x001f78] = { 0x0003bf, 0x000300 },
[0x001f79] = { 0x0003bf, 0x000301 },
[0x001f7a] = { 0x0003c5, 0x000300 },
[0x001f7b] = { 0x0003c5, 0x000301 },
[0x001f7c] = { 0x0003c9, 0x000300 },
[0x001f7d] = { 0x0003c9, 0x000301 },
[0x001f80] = { 0x0003b1, 0x000313, 0x000345 },
[0x001f81] = { 0x0003b1, 0x000314, 0x000345 },
[0x001f82] = { 0x0003b1, 0x000313, 0x000300, 0x000345 },
[0x001f83] = { 0x0003b1, 0x000314, 0x000300, 0x000345 },
[0x001f84] = { 0x0003b1, 0x000313, 0x000301, 0x000345 },
[0x001f85] = { 0x0003b1, 0x000314, 0x000301, 0x000345 },
[0x001f86] = { 0x0003b1, 0x000313, 0x000342, 0x000345 },
[0x001f87] = { 0x0003b1, 0x000314, 0x000342, 0x000345 },
[0x001f88] = { 0x000391, 0x000313, 0x000345 },
[0x001f89] = { 0x000391, 0x000314, 0x000345 },
[0x001f8a] = { 0x000391, 0x000313, 0x000300, 0x000345 },
[0x001f8b] = { 0x000391, 0x000314, 0x000300, 0x000345 },
[0x001f8c] = { 0x000391, 0x000313, 0x000301, 0x000345 },
[0x001f8d] = { 0x000391, 0x000314, 0x000301, 0x000345 },
[0x001f8e] = { 0x000391, 0x000313, 0x000342, 0x000345 },
[0x001f8f] = { 0x000391, 0x000314, 0x000342, 0x000345 },
[0x001f90] = { 0x0003b7, 0x000313, 0x000345 },
[0x001f91] = { 0x0003b7, 0x000314, 0x000345 },
[0x001f92] = { 0x0003b7, 0x000313, 0x000300, 0x000345 },
[0x001f93] = { 0x0003b7, 0x000314, 0x000300, 0x000345 },
[0x001f94] = { 0x0003b7, 0x000313, 0x000301, 0x000345 },
[0x001f95] = { 0x0003b7, 0x000314, 0x000301, 0x000345 },
[0x001f96] = { 0x0003b7, 0x000313, 0x000342, 0x000345 },
[0x001f97] = { 0x0003b7, 0x000314, 0x000342, 0x000345 },
[0x001f98] = { 0x000397, 0x000313, 0x000345 },
[0x001f99] = { 0x000397, 0x000314, 0x000345 },
[0x001f9a] = { 0x000397, 0x000313, 0x000300, 0x000345 },
[0x001f9b] = { 0x000397, 0x000314, 0x000300, 0x000345 },
[0x001f9c] = { 0x000397, 0x000313, 0x000301, 0x000345 },
[0x001f9d] = { 0x000397, 0x000314, 0x000301, 0x000345 },
[0x001f9e] = { 0x000397, 0x000313, 0x000342, 0x000345 },
[0x001f9f] = { 0x000397, 0x000314, 0x000342, 0x000345 },
[0x001fa0] = { 0x0003c9, 0x000313, 0x000345 },
[0x001fa1] = { 0x0003c9, 0x000314, 0x000345 },
[0x001fa2] = { 0x0003c9, 0x000313, 0x000300, 0x000345 },
[0x001fa3] = { 0x0003c9, 0x000314, 0x000300, 0x000345 },
[0x001fa4] = { 0x0003c9, 0x000313, 0x000301, 0x000345 },
[0x001fa5] = { 0x0003c9, 0x000314, 0x000301, 0x000345 },
[0x001fa6] = { 0x0003c9, 0x000313, 0x000342, 0x000345 },
[0x001fa7] = { 0x0003c9, 0x000314, 0x000342, 0x000345 },
[0x001fa8] = { 0x0003a9, 0x000313, 0x000345 },
[0x001fa9] = { 0x0003a9, 0x000314, 0x000345 },
[0x001faa] = { 0x0003a9, 0x000313, 0x000300, 0x000345 },
[0x001fab] = { 0x0003a9, 0x000314, 0x000300, 0x000345 },
[0x001fac] = { 0x0003a9, 0x000313, 0x000301, 0x000345 },
[0x001fad] = { 0x0003a9, 0x000314, 0x000301, 0x000345 },
[0x001fae] = { 0x0003a9, 0x000313, 0x000342, 0x000345 },
[0x001faf] = { 0x0003a9, 0x000314, 0x000342, 0x000345 },
[0x001fb0] = { 0x0003b1, 0x000306 },
[0x001fb1] = { 0x0003b1, 0x000304 },
[0x001fb2] = { 0x0003b1, 0x000300, 0x000345 },
[0x001fb3] = { 0x0003b1, 0x000345 },
[0x001fb4] = { 0x0003b1, 0x000301, 0x000345 },
[0x001fb6] = { 0x0003b1, 0x000342 },
[0x001fb7] = { 0x0003b1, 0x000342, 0x000345 },
[0x001fb8] = { 0x000391, 0x000306 },
[0x001fb9] = { 0x000391, 0x000304 },
[0x001fba] = { 0x000391, 0x000300 },
[0x001fbb] = { 0x000391, 0x000301 },
[0x001fbc] = { 0x000391, 0x000345 },
[0x001fbe] = { 0x0003b9 },
[0x001fc1] = { 0x0000a8, 0x000342 },
[0x001fc2] = { 0x0003b7, 0x000300, 0x000345 },
[0x001fc3] = { 0x0003b7, 0x000345 },
[0x001fc4] = { 0x0003b7, 0x000301, 0x000345 },
[0x001fc6] = { 0x0003b7, 0x000342 },
[0x001fc7] = { 0x0003b7, 0x000342, 0x000345 },
[0x001fc8] = { 0x000395, 0x000300 },
[0x001fc9] = { 0x000395, 0x000301 },
[0x001fca] = { 0x000397, 0x000300 },
[0x001fcb] = { 0x000397, 0x000301 },
[0x001fcc] = { 0x000397, 0x000345 },
[0x001fcd] = { 0x001fbf, 0x000300 },
[0x001fce] = { 0x001fbf, 0x000301 },
[0x001fcf] = { 0x001fbf, 0x000342 },
[0x001fd0] = { 0x0003b9, 0x000306 },
[0x001fd1] = { 0x0003b9, 0x000304 },
[0x001fd2] = { 0x0003b9, 0x000308, 0x000300 },
[0x001fd3] = { 0x0003b9, 0x000308, 0x000301 },
[0x001fd6] = { 0x0003b9, 0x000342 },
[0x001fd7] = { 0x0003b9, 0x000308, 0x000342 },
[0x001fd8] = { 0x000399, 0x000306 },
[0x001fd9] = { 0x000399, 0x000304 },
[0x001fda] = { 0x000399, 0x000300 },
[0x001fdb] = { 0x000399, 0x000301 },
[0x001fdd] = { 0x001ffe, 0x000300 },
[0x001fde] = { 0x001ffe, 0x000301 },
[0x001fdf] = { 0x001ffe, 0x000342 },
[0x001fe0] = { 0x0003c5, 0x000306 },
[0x001fe1] = { 0x0003c5, 0x000304 },
[0x001fe2] = { 0x0003c5, 0x000308, 0x000300 },
[0x001fe3] = { 0x0003c5, 0x000308, 0x000301 },
[0x001fe4] = { 0x0003c1, 0x000313 },
[0x001fe5] = { 0x0003c1, 0x000314 },
[0x001fe6] = { 0x0003c5, 0x000342 },
[0x001fe7] = { 0x0003c5, 0x000308, 0x000342 },
[0x001fe8] = { 0x0003a5, 0x000306 },
[0x001fe9] = { 0x0003a5, 0x000304 },
[0x001fea] = { 0x0003a5, 0x000300 },
[0x001feb] = { 0x0003a5, 0x000301 },
[0x001fec] = { 0x0003a1, 0x000314 },
[0x001fed] = { 0x0000a8, 0x000300 },
[0x001fee] = { 0x0000a8, 0x000301 },
[0x001fef] = { 0x000060 },
[0x001ff2] = { 0x0003c9, 0x000300, 0x000345 },
[0x001ff3] = { 0x0003c9, 0x000345 },
[0x001ff4] = { 0x0003c9, 0x000301, 0x000345 },
[0x001ff6] = { 0x0003c9, 0x000342 },
[0x001ff7] = { 0x0003c9, 0x000342, 0x000345 },
[0x001ff8] = { 0x00039f, 0x000300 },
[0x001ff9] = { 0x00039f, 0x000301 },
[0x001ffa] = { 0x0003a9, 0x000300 },
[0x001ffb] = { 0x0003a9, 0x000301 },
[0x001ffc] = { 0x0003a9, 0x000345 },
[0x001ffd] = { 0x0000b4 },
[0x002000] = { 0x002002 },
[0x002001] = { 0x002003 },
[0x002126] = { 0x0003a9 },
[0x00212a] = { 0x00004b },
[0x00212b] = { 0x000041, 0x00030a },
[0x00219a] = { 0x002190, 0x000338 },
[0x00219b] = { 0x002192, 0x000338 },
[0x0021ae] = { 0x002194, 0x000338 },
[0x0021cd] = { 0x0021d0, 0x000338 },
[0x0021ce] = { 0x0021d4, 0x000338 },
[0x0021cf] = { 0x0021d2, 0x000338 },
[0x002204] = { 0x002203, 0x000338 },
[0x002209] = { 0x002208, 0x000338 },
[0x00220c] = { 0x00220b, 0x000338 },
[0x002224] = { 0x002223, 0x000338 },
[0x002226] = { 0x002225, 0x000338 },
[0x002241] = { 0x00223c, 0x000338 },
[0x002244] = { 0x002243, 0x000338 },
[0x002247] = { 0x002245, 0x000338 },
[0x002249] = { 0x002248, 0x000338 },
[0x002260] = { 0x00003d, 0x000338 },
[0x002262] = { 0x002261, 0x000338 },
[0x00226d] = { 0x00224d, 0x000338 },
[0x00226e] = { 0x00003c, 0x000338 },
[0x00226f] = { 0x00003e, 0x000338 },
[0x002270] = { 0x002264, 0x000338 },
[0x002271] = { 0x002265, 0x000338 },
[0x002274] = { 0x002272, 0x000338 },
[0x002275] = { 0x002273, 0x000338 },
[0x002278] = { 0x002276, 0x000338 },
[0x002279] = { 0x002277, 0x000338 },
[0x002280] = { 0x00227a, 0x000338 },
[0x002281] = { 0x00227b, 0x000338 },
[0x002284] = { 0x002282, 0x000338 },
[0x002285] = { 0x002283, 0x000338 },
[0x002288] = { 0x002286, 0x000338 },
[0x002289] = { 0x002287, 0x000338 },
[0x0022ac] = { 0x0022a2, 0x000338 },
[0x0022ad] = { 0x0022a8, 0x000338 },
[0x0022ae] = { 0x0022a9, 0x000338 },
[0x0022af] = { 0x0022ab, 0x000338 },
[0x0022e0] = { 0x00227c, 0x000338 },
[0x0022e1] = { 0x00227d, 0x000338 },
[0x0022e2] = { 0x002291, 0x000338 },
[0x0022e3] = { 0x002292, 0x000338 },
[0x0022ea] = { 0x0022b2, 0x000338 },
[0x0022eb] = { 0x0022b3, 0x000338 },
[0x0022ec] = { 0x0022b4, 0x000338 },
[0x0022ed] = { 0x0022b5, 0x000338 },
[0x002329] = { 0x003008 },
[0x00232a] = { 0x003009 },
[0x002adc] = { 0x002add, 0x000338 },
[0x00304c] = { 0x00304b, 0x003099 },
[0x00304e] = { 0x00304d, 0x003099 },
[0x003050] = { 0x00304f, 0x003099 },
[0x003052] = { 0x003051, 0x003099 },
[0x003054] = { 0x003053, 0x003099 },
[0x003056] = { 0x003055, 0x003099 },
[0x003058] = { 0x003057, 0x003099 },
[0x00305a] = { 0x003059, 0x003099 },
[0x00305c] = { 0x00305b, 0x003099 },
[0x00305e] = { 0x00305d, 0x003099 },
[0x003060] = { 0x00305f, 0x003099 },
[0x003062] = { 0x003061, 0x003099 },
[0x003065] = { 0x003064, 0x003099 },
[0x003067] = { 0x003066, 0x003099 },
[0x003069] = { 0x003068, 0x003099 },
[0x003070] = { 0x00306f, 0x003099 },
[0x003071] = { 0x00306f, 0x00309a },
[0x003073] = { 0x003072, 0x003099 },
[0x003074] = { 0x003072, 0x00309a },
[0x003076] = { 0x003075, 0x003099 },
[0x003077] = { 0x003075, 0x00309a },
[0x003079] = { 0x003078, 0x003099 },
[0x00307a] = { 0x003078, 0x00309a },
[0x00307c] = { 0x00307b, 0x003099 },
[0x00307d] = { 0x00307b, 0x00309a },
[0x003094] = { 0x003046, 0x003099 },
[0x00309e] = { 0x00309d, 0x003099 },
[0x0030ac] = { 0x0030ab, 0x003099 },
[0x0030ae] = { 0x0030ad, 0x003099 },
[0x0030b0] = { 0x0030af, 0x003099 },
[0x0030b2] = { 0x0030b1, 0x003099 },
[0x0030b4] = { 0x0030b3, 0x003099 },
[0x0030b6] = { 0x0030b5, 0x003099 },
[0x0030b8] = { 0x0030b7, 0x003099 },
[0x0030ba] = { 0x0030b9, 0x003099 },
[0x0030bc] = { 0x0030bb, 0x003099 },
[0x0030be] = { 0x0030bd, 0x003099 },
[0x0030c0] = { 0x0030bf, 0x003099 },
[0x0030c2] = { 0x0030c1, 0x003099 },
[0x0030c5] = { 0x0030c4, 0x003099 },
[0x0030c7] = { 0x0030c6, 0x003099 },
[0x0030c9] = { 0x0030c8, 0x003099 },
[0x0030d0] = { 0x0030cf, 0x003099 },
[0x0030d1] = { 0x0030cf, 0x00309a },
[0x0030d3] = { 0x0030d2, 0x003099 },
[0x0030d4] = { 0x0030d2, 0x00309a },
[0x0030d6] = { 0x0030d5, 0x003099 },
[0x0030d7] = { 0x0030d5, 0x00309a },
[0x0030d9] = { 0x0030d8, 0x003099 },
[0x0030da] = { 0x0030d8, 0x00309a },
[0x0030dc] = { 0x0030db, 0x003099 },
[0x0030dd] = { 0x0030db, 0x00309a },
[0x0030f4] = { 0x0030a6, 0x003099 },
[0x0030f7] = { 0x0030ef, 0x003099 },
[0x0030f8] = { 0x0030f0, 0x003099 },
[0x0030f9] = { 0x0030f1, 0x003099 },
[0x0030fa] = { 0x0030f2, 0x003099 },
[0x0030fe] = { 0x0030fd, 0x003099 },
[0x00f900] = { 0x008c48 },
[0x00f901] = { 0x0066f4 },
[0x00f902] = { 0x008eca },
[0x00f903] = { 0x008cc8 },
[0x00f904] = { 0x006ed1 },
[0x00f905] = { 0x004e32 },
[0x00f906] = { 0x0053e5 },
[0x00f907] = { 0x009f9c },
[0x00f908] = { 0x009f9c },
[0x00f909] = { 0x005951 },
[0x00f90a] = { 0x0091d1 },
[0x00f90b] = { 0x005587 },
[0x00f90c] = { 0x005948 },
[0x00f90d] = { 0x0061f6 },
[0x00f90e] = { 0x007669 },
[0x00f90f] = { 0x007f85 },
[0x00f910] = { 0x00863f },
[0x00f911] = { 0x0087ba },
[0x00f912] = { 0x0088f8 },
[0x00f913] = { 0x00908f },
[0x00f914] = { 0x006a02 },
[0x00f915] = { 0x006d1b },
[0x00f916] = { 0x0070d9 },
[0x00f917] = { 0x0073de },
[0x00f918] = { 0x00843d },
[0x00f919] = { 0x00916a },
[0x00f91a] = { 0x0099f1 },
[0x00f91b] = { 0x004e82 },
[0x00f91c] = { 0x005375 },
[0x00f91d] = { 0x006b04 },
[0x00f91e] = { 0x00721b },
[0x00f91f] = { 0x00862d },
[0x00f920] = { 0x009e1e },
[0x00f921] = { 0x005d50 },
[0x00f922] = { 0x006feb },
[0x00f923] = { 0x0085cd },
[0x00f924] = { 0x008964 },
[0x00f925] = { 0x0062c9 },
[0x00f926] = { 0x0081d8 },
[0x00f927] = { 0x00881f },
[0x00f928] = { 0x005eca },
[0x00f929] = { 0x006717 },
[0x00f92a] = { 0x006d6a },
[0x00f92b] = { 0x0072fc },
[0x00f92c] = { 0x0090ce },
[0x00f92d] = { 0x004f86 },
[0x00f92e] = { 0x0051b7 },
[0x00f92f] = { 0x0052de },
[0x00f930] = { 0x0064c4 },
[0x00f931] = { 0x006ad3 },
[0x00f932] = { 0x007210 },
[0x00f933] = { 0x0076e7 },
[0x00f934] = { 0x008001 },
[0x00f935] = { 0x008606 },
[0x00f936] = { 0x00865c },
[0x00f937] = { 0x008def },
[0x00f938] = { 0x009732 },
[0x00f939] = { 0x009b6f },
[0x00f93a] = { 0x009dfa },
[0x00f93b] = { 0x00788c },
[0x00f93c] = { 0x00797f },
[0x00f93d] = { 0x007da0 },
[0x00f93e] = { 0x0083c9 },
[0x00f93f] = { 0x009304 },
[0x00f940] = { 0x009e7f },
[0x00f941] = { 0x008ad6 },
[0x00f942] = { 0x0058df },
[0x00f943] = { 0x005f04 },
[0x00f944] = { 0x007c60 },
[0x00f945] = { 0x00807e },
[0x00f946] = { 0x007262 },
[0x00f947] = { 0x0078ca },
[0x00f948] = { 0x008cc2 },
[0x00f949] = { 0x0096f7 },
[0x00f94a] = { 0x0058d8 },
[0x00f94b] = { 0x005c62 },
[0x00f94c] = { 0x006a13 },
[0x00f94d] = { 0x006dda },
[0x00f94e] = { 0x006f0f },
[0x00f94f] = { 0x007d2f },
[0x00f950] = { 0x007e37 },
[0x00f951] = { 0x00964b },
[0x00f952] = { 0x0052d2 },
[0x00f953] = { 0x00808b },
[0x00f954] = { 0x0051dc },
[0x00f955] = { 0x0051cc },
[0x00f956] = { 0x007a1c },
[0x00f957] = { 0x007dbe },
[0x00f958] = { 0x0083f1 },
[0x00f959] = { 0x009675 },
[0x00f95a] = { 0x008b80 },
[0x00f95b] = { 0x0062cf },
[0x00f95c] = { 0x006a02 },
[0x00f95d] = { 0x008afe },
[0x00f95e] = { 0x004e39 },
[0x00f95f] = { 0x005be7 },
[0x00f960] = { 0x006012 },
[0x00f961] = { 0x007387 },
[0x00f962] = { 0x007570 },
[0x00f963] = { 0x005317 },
[0x00f964] = { 0x0078fb },
[0x00f965] = { 0x004fbf },
[0x00f966] = { 0x005fa9 },
[0x00f967] = { 0x004e0d },
[0x00f968] = { 0x006ccc },
[0x00f969] = { 0x006578 },
[0x00f96a] = { 0x007d22 },
[0x00f96b] = { 0x0053c3 },
[0x00f96c] = { 0x00585e },
[0x00f96d] = { 0x007701 },
[0x00f96e] = { 0x008449 },
[0x00f96f] = { 0x008aaa },
[0x00f970] = { 0x006bba },
[0x00f971] = { 0x008fb0 },
[0x00f972] = { 0x006c88 },
[0x00f973] = { 0x0062fe },
[0x00f974] = { 0x0082e5 },
[0x00f975] = { 0x0063a0 },
[0x00f976] = { 0x007565 },
[0x00f977] = { 0x004eae },
[0x00f978] = { 0x005169 },
[0x00f979] = { 0x0051c9 },
[0x00f97a] = { 0x006881 },
[0x00f97b] = { 0x007ce7 },
[0x00f97c] = { 0x00826f },
[0x00f97d] = { 0x008ad2 },
[0x00f97e] = { 0x0091cf },
[0x00f97f] = { 0x0052f5 },
[0x00f980] = { 0x005442 },
[0x00f981] = { 0x005973 },
[0x00f982] = { 0x005eec },
[0x00f983] = { 0x0065c5 },
[0x00f984] = { 0x006ffe },
[0x00f985] = { 0x00792a },
[0x00f986] = { 0x0095ad },
[0x00f987] = { 0x009a6a },
[0x00f988] = { 0x009e97 },
[0x00f989] = { 0x009ece },
[0x00f98a] = { 0x00529b },
[0x00f98b] = { 0x0066c6 },
[0x00f98c] = { 0x006b77 },
[0x00f98d] = { 0x008f62 },
[0x00f98e] = { 0x005e74 },
[0x00f98f] = { 0x006190 },
[0x00f990] = { 0x006200 },
[0x00f991] = { 0x00649a },
[0x00f992] = { 0x006f23 },
[0x00f993] = { 0x007149 },
[0x00f994] = { 0x007489 },
[0x00f995] = { 0x0079ca },
[0x00f996] = { 0x007df4 },
[0x00f997] = { 0x00806f },
[0x00f998] = { 0x008f26 },
[0x00f999] = { 0x0084ee },
[0x00f99a] = { 0x009023 },
[0x00f99b] = { 0x00934a },
[0x00f99c] = { 0x005217 },
[0x00f99d] = { 0x0052a3 },
[0x00f99e] = { 0x0054bd },
[0x00f99f] = { 0x0070c8 },
[0x00f9a0] = { 0x0088c2 },
[0x00f9a1] = { 0x008aaa },
[0x00f9a2] = { 0x005ec9 },
[0x00f9a3] = { 0x005ff5 },
[0x00f9a4] = { 0x00637b },
[0x00f9a5] = { 0x006bae },
[0x00f9a6] = { 0x007c3e },
[0x00f9a7] = { 0x007375 },
[0x00f9a8] = { 0x004ee4 },
[0x00f9a9] = { 0x0056f9 },
[0x00f9aa] = { 0x005be7 },
[0x00f9ab] = { 0x005dba },
[0x00f9ac] = { 0x00601c },
[0x00f9ad] = { 0x0073b2 },
[0x00f9ae] = { 0x007469 },
[0x00f9af] = { 0x007f9a },
[0x00f9b0] = { 0x008046 },
[0x00f9b1] = { 0x009234 },
[0x00f9b2] = { 0x0096f6 },
[0x00f9b3] = { 0x009748 },
[0x00f9b4] = { 0x009818 },
[0x00f9b5] = { 0x004f8b },
[0x00f9b6] = { 0x0079ae },
[0x00f9b7] = { 0x0091b4 },
[0x00f9b8] = { 0x0096b8 },
[0x00f9b9] = { 0x0060e1 },
[0x00f9ba] = { 0x004e86 },
[0x00f9bb] = { 0x0050da },
[0x00f9bc] = { 0x005bee },
[0x00f9bd] = { 0x005c3f },
[0x00f9be] = { 0x006599 },
[0x00f9bf] = { 0x006a02 },
[0x00f9c0] = { 0x0071ce },
[0x00f9c1] = { 0x007642 },
[0x00f9c2] = { 0x0084fc },
[0x00f9c3] = { 0x00907c },
[0x00f9c4] = { 0x009f8d },
[0x00f9c5] = { 0x006688 },
[0x00f9c6] = { 0x00962e },
[0x00f9c7] = { 0x005289 },
[0x00f9c8] = { 0x00677b },
[0x00f9c9] = { 0x0067f3 },
[0x00f9ca] = { 0x006d41 },
[0x00f9cb] = { 0x006e9c },
[0x00f9cc] = { 0x007409 },
[0x00f9cd] = { 0x007559 },
[0x00f9ce] = { 0x00786b },
[0x00f9cf] = { 0x007d10 },
[0x00f9d0] = { 0x00985e },
[0x00f9d1] = { 0x00516d },
[0x00f9d2] = { 0x00622e },
[0x00f9d3] = { 0x009678 },
[0x00f9d4] = { 0x00502b },
[0x00f9d5] = { 0x005d19 },
[0x00f9d6] = { 0x006dea },
[0x00f9d7] = { 0x008f2a },
[0x00f9d8] = { 0x005f8b },
[0x00f9d9] = { 0x006144 },
[0x00f9da] = { 0x006817 },
[0x00f9db] = { 0x007387 },
[0x00f9dc] = { 0x009686 },
[0x00f9dd] = { 0x005229 },
[0x00f9de] = { 0x00540f },
[0x00f9df] = { 0x005c65 },
[0x00f9e0] = { 0x006613 },
[0x00f9e1] = { 0x00674e },
[0x00f9e2] = { 0x0068a8 },
[0x00f9e3] = { 0x006ce5 },
[0x00f9e4] = { 0x007406 },
[0x00f9e5] = { 0x0075e2 },
[0x00f9e6] = { 0x007f79 },
[0x00f9e7] = { 0x0088cf },
[0x00f9e8] = { 0x0088e1 },
[0x00f9e9] = { 0x0091cc },
[0x00f9ea] = { 0x0096e2 },
[0x00f9eb] = { 0x00533f },
[0x00f9ec] = { 0x006eba },
[0x00f9ed] = { 0x00541d },
[0x00f9ee] = { 0x0071d0 },
[0x00f9ef] = { 0x007498 },
[0x00f9f0] = { 0x0085fa },
[0x00f9f1] = { 0x0096a3 },
[0x00f9f2] = { 0x009c57 },
[0x00f9f3] = { 0x009e9f },
[0x00f9f4] = { 0x006797 },
[0x00f9f5] = { 0x006dcb },
[0x00f9f6] = { 0x0081e8 },
[0x00f9f7] = { 0x007acb },
[0x00f9f8] = { 0x007b20 },
[0x00f9f9] = { 0x007c92 },
[0x00f9fa] = { 0x0072c0 },
[0x00f9fb] = { 0x007099 },
[0x00f9fc] = { 0x008b58 },
[0x00f9fd] = { 0x004ec0 },
[0x00f9fe] = { 0x008336 },
[0x00f9ff] = { 0x00523a },
[0x00fa00] = { 0x005207 },
[0x00fa01] = { 0x005ea6 },
[0x00fa02] = { 0x0062d3 },
[0x00fa03] = { 0x007cd6 },
[0x00fa04] = { 0x005b85 },
[0x00fa05] = { 0x006d1e },
[0x00fa06] = { 0x0066b4 },
[0x00fa07] = { 0x008f3b },
[0x00fa08] = { 0x00884c },
[0x00fa09] = { 0x00964d },
[0x00fa0a] = { 0x00898b },
[0x00fa0b] = { 0x005ed3 },
[0x00fa0c] = { 0x005140 },
[0x00fa0d] = { 0x0055c0 },
[0x00fa10] = { 0x00585a },
[0x00fa12] = { 0x006674 },
[0x00fa15] = { 0x0051de },
[0x00fa16] = { 0x00732a },
[0x00fa17] = { 0x0076ca },
[0x00fa18] = { 0x00793c },
[0x00fa19] = { 0x00795e },
[0x00fa1a] = { 0x007965 },
[0x00fa1b] = { 0x00798f },
[0x00fa1c] = { 0x009756 },
[0x00fa1d] = { 0x007cbe },
[0x00fa1e] = { 0x007fbd },
[0x00fa20] = { 0x008612 },
[0x00fa22] = { 0x008af8 },
[0x00fa25] = { 0x009038 },
[0x00fa26] = { 0x0090fd },
[0x00fa2a] = { 0x0098ef },
[0x00fa2b] = { 0x0098fc },
[0x00fa2c] = { 0x009928 },
[0x00fa2d] = { 0x009db4 },
[0x00fa2e] = { 0x0090de },
[0x00fa2f] = { 0x0096b7 },
[0x00fa30] = { 0x004fae },
[0x00fa31] = { 0x0050e7 },
[0x00fa32] = { 0x00514d },
[0x00fa33] = { 0x0052c9 },
[0x00fa34] = { 0x0052e4 },
[0x00fa35] = { 0x005351 },
[0x00fa36] = { 0x00559d },
[0x00fa37] = { 0x005606 },
[0x00fa38] = { 0x005668 },
[0x00fa39] = { 0x005840 },
[0x00fa3a] = { 0x0058a8 },
[0x00fa3b] = { 0x005c64 },
[0x00fa3c] = { 0x005c6e },
[0x00fa3d] = { 0x006094 },
[0x00fa3e] = { 0x006168 },
[0x00fa3f] = { 0x00618e },
[0x00fa40] = { 0x0061f2 },
[0x00fa41] = { 0x00654f },
[0x00fa42] = { 0x0065e2 },
[0x00fa43] = { 0x006691 },
[0x00fa44] = { 0x006885 },
[0x00fa45] = { 0x006d77 },
[0x00fa46] = { 0x006e1a },
[0x00fa47] = { 0x006f22 },
[0x00fa48] = { 0x00716e },
[0x00fa49] = { 0x00722b },
[0x00fa4a] = { 0x007422 },
[0x00fa4b] = { 0x007891 },
[0x00fa4c] = { 0x00793e },
[0x00fa4d] = { 0x007949 },
[0x00fa4e] = { 0x007948 },
[0x00fa4f] = { 0x007950 },
[0x00fa50] = { 0x007956 },
[0x00fa51] = { 0x00795d },
[0x00fa52] = { 0x00798d },
[0x00fa53] = { 0x00798e },
[0x00fa54] = { 0x007a40 },
[0x00fa55] = { 0x007a81 },
[0x00fa56] = { 0x007bc0 },
[0x00fa57] = { 0x007df4 },
[0x00fa58] = { 0x007e09 },
[0x00fa59] = { 0x007e41 },
[0x00fa5a] = { 0x007f72 },
[0x00fa5b] = { 0x008005 },
[0x00fa5c] = { 0x0081ed },
[0x00fa5d] = { 0x008279 },
[0x00fa5e] = { 0x008279 },
[0x00fa5f] = { 0x008457 },
[0x00fa60] = { 0x008910 },
[0x00fa61] = { 0x008996 },
[0x00fa62] = { 0x008b01 },
[0x00fa63] = { 0x008b39 },
[0x00fa64] = { 0x008cd3 },
[0x00fa65] = { 0x008d08 },
[0x00fa66] = { 0x008fb6 },
[0x00fa67] = { 0x009038 },
[0x00fa68] = { 0x0096e3 },
[0x00fa69] = { 0x0097ff },
[0x00fa6a] = { 0x00983b },
[0x00fa6b] = { 0x006075 },
[0x00fa6c] = { 0x0242ee },
[0x00fa6d] = { 0x008218 },
[0x00fa70] = { 0x004e26 },
[0x00fa71] = { 0x0051b5 },
[0x00fa72] = { 0x005168 },
[0x00fa73] = { 0x004f80 },
[0x00fa74] = { 0x005145 },
[0x00fa75] = { 0x005180 },
[0x00fa76] = { 0x0052c7 },
[0x00fa77] = { 0x0052fa },
[0x00fa78] = { 0x00559d },
[0x00fa79] = { 0x005555 },
[0x00fa7a] = { 0x005599 },
[0x00fa7b] = { 0x0055e2 },
[0x00fa7c] = { 0x00585a },
[0x00fa7d] = { 0x0058b3 },
[0x00fa7e] = { 0x005944 },
[0x00fa7f] = { 0x005954 },
[0x00fa80] = { 0x005a62 },
[0x00fa81] = { 0x005b28 },
[0x00fa82] = { 0x005ed2 },
[0x00fa83] = { 0x005ed9 },
[0x00fa84] = { 0x005f69 },
[0x00fa85] = { 0x005fad },
[0x00fa86] = { 0x0060d8 },
[0x00fa87] = { 0x00614e },
[0x00fa88] = { 0x006108 },
[0x00fa89] = { 0x00618e },
[0x00fa8a] = { 0x006160 },
[0x00fa8b] = { 0x0061f2 },
[0x00fa8c] = { 0x006234 },
[0x00fa8d] = { 0x0063c4 },
[0x00fa8e] = { 0x00641c },
[0x00fa8f] = { 0x006452 },
[0x00fa90] = { 0x006556 },
[0x00fa91] = { 0x006674 },
[0x00fa92] = { 0x006717 },
[0x00fa93] = { 0x00671b },
[0x00fa94] = { 0x006756 },
[0x00fa95] = { 0x006b79 },
[0x00fa96] = { 0x006bba },
[0x00fa97] = { 0x006d41 },
[0x00fa98] = { 0x006edb },
[0x00fa99] = { 0x006ecb },
[0x00fa9a] = { 0x006f22 },
[0x00fa9b] = { 0x00701e },
[0x00fa9c] = { 0x00716e },
[0x00fa9d] = { 0x0077a7 },
[0x00fa9e] = { 0x007235 },
[0x00fa9f] = { 0x0072af },
[0x00faa0] = { 0x00732a },
[0x00faa1] = { 0x007471 },
[0x00faa2] = { 0x007506 },
[0x00faa3] = { 0x00753b },
[0x00faa4] = { 0x00761d },
[0x00faa5] = { 0x00761f },
[0x00faa6] = { 0x0076ca },
[0x00faa7] = { 0x0076db },
[0x00faa8] = { 0x0076f4 },
[0x00faa9] = { 0x00774a },
[0x00faaa] = { 0x007740 },
[0x00faab] = { 0x0078cc },
[0x00faac] = { 0x007ab1 },
[0x00faad] = { 0x007bc0 },
[0x00faae] = { 0x007c7b },
[0x00faaf] = { 0x007d5b },
[0x00fab0] = { 0x007df4 },
[0x00fab1] = { 0x007f3e },
[0x00fab2] = { 0x008005 },
[0x00fab3] = { 0x008352 },
[0x00fab4] = { 0x0083ef },
[0x00fab5] = { 0x008779 },
[0x00fab6] = { 0x008941 },
[0x00fab7] = { 0x008986 },
[0x00fab8] = { 0x008996 },
[0x00fab9] = { 0x008abf },
[0x00faba] = { 0x008af8 },
[0x00fabb] = { 0x008acb },
[0x00fabc] = { 0x008b01 },
[0x00fabd] = { 0x008afe },
[0x00fabe] = { 0x008aed },
[0x00fabf] = { 0x008b39 },
[0x00fac0] = { 0x008b8a },
[0x00fac1] = { 0x008d08 },
[0x00fac2] = { 0x008f38 },
[0x00fac3] = { 0x009072 },
[0x00fac4] = { 0x009199 },
[0x00fac5] = { 0x009276 },
[0x00fac6] = { 0x00967c },
[0x00fac7] = { 0x0096e3 },
[0x00fac8] = { 0x009756 },
[0x00fac9] = { 0x0097db },
[0x00faca] = { 0x0097ff },
[0x00facb] = { 0x00980b },
[0x00facc] = { 0x00983b },
[0x00facd] = { 0x009b12 },
[0x00face] = { 0x009f9c },
[0x00facf] = { 0x02284a },
[0x00fad0] = { 0x022844 },
[0x00fad1] = { 0x0233d5 },
[0x00fad2] = { 0x003b9d },
[0x00fad3] = { 0x004018 },
[0x00fad4] = { 0x004039 },
[0x00fad5] = { 0x025249 },
[0x00fad6] = { 0x025cd0 },
[0x00fad7] = { 0x027ed3 },
[0x00fad8] = { 0x009f43 },
[0x00fad9] = { 0x009f8e },
[0x00fb1d] = { 0x0005d9, 0x0005b4 },
[0x00fb1f] = { 0x0005f2, 0x0005b7 },
[0x00fb2a] = { 0x0005e9, 0x0005c1 },
[0x00fb2b] = { 0x0005e9, 0x0005c2 },
[0x00fb2c] = { 0x0005e9, 0x0005bc, 0x0005c1 },
[0x00fb2d] = { 0x0005e9, 0x0005bc, 0x0005c2 },
[0x00fb2e] = { 0x0005d0, 0x0005b7 },
[0x00fb2f] = { 0x0005d0, 0x0005b8 },
[0x00fb30] = { 0x0005d0, 0x0005bc },
[0x00fb31] = { 0x0005d1, 0x0005bc },
[0x00fb32] = { 0x0005d2, 0x0005bc },
[0x00fb33] = { 0x0005d3, 0x0005bc },
[0x00fb34] = { 0x0005d4, 0x0005bc },
[0x00fb35] = { 0x0005d5, 0x0005bc },
[0x00fb36] = { 0x0005d6, 0x0005bc },
[0x00fb38] = { 0x0005d8, 0x0005bc },
[0x00fb39] = { 0x0005d9, 0x0005bc },
[0x00fb3a] = { 0x0005da, 0x0005bc },
[0x00fb3b] = { 0x0005db, 0x0005bc },
[0x00fb3c] = { 0x0005dc, 0x0005bc },
[0x00fb3e] = { 0x0005de, 0x0005bc },
[0x00fb40] = { 0x0005e0, 0x0005bc },
[0x00fb41] = { 0x0005e1, 0x0005bc },
[0x00fb43] = { 0x0005e3, 0x0005bc },
[0x00fb44] = { 0x0005e4, 0x0005bc },
[0x00fb46] = { 0x0005e6, 0x0005bc },
[0x00fb47] = { 0x0005e7, 0x0005bc },
[0x00fb48] = { 0x0005e8, 0x0005bc },
[0x00fb49] = { 0x0005e9, 0x0005bc },
[0x00fb4a] = { 0x0005ea, 0x0005bc },
[0x00fb4b] = { 0x0005d5, 0x0005b9 },
[0x00fb4c] = { 0x0005d1, 0x0005bf },
[0x00fb4d] = { 0x0005db, 0x0005bf },
[0x00fb4e] = { 0x0005e4, 0x0005bf },
[0x01109a] = { 0x011099, 0x0110ba },
[0x01109c] = { 0x01109b, 0x0110ba },
[0x0110ab] = { 0x0110a5, 0x0110ba },
[0x01112e] = { 0x011131, 0x011127 },
[0x01112f] = { 0x011132, 0x011127 },
[0x01d15e] = { 0x01d157, 0x01d165 },
[0x01d15f] = { 0x01d158, 0x01d165 },
[0x01d160] = { 0x01d158, 0x01d165, 0x01d16e },
[0x01d161] = { 0x01d158, 0x01d165, 0x01d16f },
[0x01d162] = { 0x01d158, 0x01d165, 0x01d170 },
[0x01d163] = { 0x01d158, 0x01d165, 0x01d171 },
[0x01d164] = { 0x01d158, 0x01d165, 0x01d172 },
[0x01d1bb] = { 0x01d1b9, 0x01d165 },
[0x01d1bc] = { 0x01d1ba, 0x01d165 },
[0x01d1bd] = { 0x01d1b9, 0x01d165, 0x01d16e },
[0x01d1be] = { 0x01d1ba, 0x01d165, 0x01d16e },
[0x01d1bf] = { 0x01d1b9, 0x01d165, 0x01d16f },
[0x01d1c0] = { 0x01d1ba, 0x01d165, 0x01d16f },
[0x02f800] = { 0x004e3d },
[0x02f801] = { 0x004e38 },
[0x02f802] = { 0x004e41 },
[0x02f803] = { 0x020122 },
[0x02f804] = { 0x004f60 },
[0x02f805] = { 0x004fae },
[0x02f806] = { 0x004fbb },
[0x02f807] = { 0x005002 },
[0x02f808] = { 0x00507a },
[0x02f809] = { 0x005099 },
[0x02f80a] = { 0x0050e7 },
[0x02f80b] = { 0x0050cf },
[0x02f80c] = { 0x00349e },
[0x02f80d] = { 0x02063a },
[0x02f80e] = { 0x00514d },
[0x02f80f] = { 0x005154 },
[0x02f810] = { 0x005164 },
[0x02f811] = { 0x005177 },
[0x02f812] = { 0x02051c },
[0x02f813] = { 0x0034b9 },
[0x02f814] = { 0x005167 },
[0x02f815] = { 0x00518d },
[0x02f816] = { 0x02054b },
[0x02f817] = { 0x005197 },
[0x02f818] = { 0x0051a4 },
[0x02f819] = { 0x004ecc },
[0x02f81a] = { 0x0051ac },
[0x02f81b] = { 0x0051b5 },
[0x02f81c] = { 0x0291df },
[0x02f81d] = { 0x0051f5 },
[0x02f81e] = { 0x005203 },
[0x02f81f] = { 0x0034df },
[0x02f820] = { 0x00523b },
[0x02f821] = { 0x005246 },
[0x02f822] = { 0x005272 },
[0x02f823] = { 0x005277 },
[0x02f824] = { 0x003515 },
[0x02f825] = { 0x0052c7 },
[0x02f826] = { 0x0052c9 },
[0x02f827] = { 0x0052e4 },
[0x02f828] = { 0x0052fa },
[0x02f829] = { 0x005305 },
[0x02f82a] = { 0x005306 },
[0x02f82b] = { 0x005317 },
[0x02f82c] = { 0x005349 },
[0x02f82d] = { 0x005351 },
[0x02f82e] = { 0x00535a },
[0x02f82f] = { 0x005373 },
[0x02f830] = { 0x00537d },
[0x02f831] = { 0x00537f },
[0x02f832] = { 0x00537f },
[0x02f833] = { 0x00537f },
[0x02f834] = { 0x020a2c },
[0x02f835] = { 0x007070 },
[0x02f836] = { 0x0053ca },
[0x02f837] = { 0x0053df },
[0x02f838] = { 0x020b63 },
[0x02f839] = { 0x0053eb },
[0x02f83a] = { 0x0053f1 },
[0x02f83b] = { 0x005406 },
[0x02f83c] = { 0x00549e },
[0x02f83d] = { 0x005438 },
[0x02f83e] = { 0x005448 },
[0x02f83f] = { 0x005468 },
[0x02f840] = { 0x0054a2 },
[0x02f841] = { 0x0054f6 },
[0x02f842] = { 0x005510 },
[0x02f843] = { 0x005553 },
[0x02f844] = { 0x005563 },
[0x02f845] = { 0x005584 },
[0x02f846] = { 0x005584 },
[0x02f847] = { 0x005599 },
[0x02f848] = { 0x0055ab },
[0x02f849] = { 0x0055b3 },
[0x02f84a] = { 0x0055c2 },
[0x02f84b] = { 0x005716 },
[0x02f84c] = { 0x005606 },
[0x02f84d] = { 0x005717 },
[0x02f84e] = { 0x005651 },
[0x02f84f] = { 0x005674 },
[0x02f850] = { 0x005207 },
[0x02f851] = { 0x0058ee },
[0x02f852] = { 0x0057ce },
[0x02f853] = { 0x0057f4 },
[0x02f854] = { 0x00580d },
[0x02f855] = { 0x00578b },
[0x02f856] = { 0x005832 },
[0x02f857] = { 0x005831 },
[0x02f858] = { 0x0058ac },
[0x02f859] = { 0x0214e4 },
[0x02f85a] = { 0x0058f2 },
[0x02f85b] = { 0x0058f7 },
[0x02f85c] = { 0x005906 },
[0x02f85d] = { 0x00591a },
[0x02f85e] = { 0x005922 },
[0x02f85f] = { 0x005962 },
[0x02f860] = { 0x0216a8 },
[0x02f861] = { 0x0216ea },
[0x02f862] = { 0x0059ec },
[0x02f863] = { 0x005a1b },
[0x02f864] = { 0x005a27 },
[0x02f865] = { 0x0059d8 },
[0x02f866] = { 0x005a66 },
[0x02f867] = { 0x0036ee },
[0x02f868] = { 0x0036fc },
[0x02f869] = { 0x005b08 },
[0x02f86a] = { 0x005b3e },
[0x02f86b] = { 0x005b3e },
[0x02f86c] = { 0x0219c8 },
[0x02f86d] = { 0x005bc3 },
[0x02f86e] = { 0x005bd8 },
[0x02f86f] = { 0x005be7 },
[0x02f870] = { 0x005bf3 },
[0x02f871] = { 0x021b18 },
[0x02f872] = { 0x005bff },
[0x02f873] = { 0x005c06 },
[0x02f874] = { 0x005f53 },
[0x02f875] = { 0x005c22 },
[0x02f876] = { 0x003781 },
[0x02f877] = { 0x005c60 },
[0x02f878] = { 0x005c6e },
[0x02f879] = { 0x005cc0 },
[0x02f87a] = { 0x005c8d },
[0x02f87b] = { 0x021de4 },
[0x02f87c] = { 0x005d43 },
[0x02f87d] = { 0x021de6 },
[0x02f87e] = { 0x005d6e },
[0x02f87f] = { 0x005d6b },
[0x02f880] = { 0x005d7c },
[0x02f881] = { 0x005de1 },
[0x02f882] = { 0x005de2 },
[0x02f883] = { 0x00382f },
[0x02f884] = { 0x005dfd },
[0x02f885] = { 0x005e28 },
[0x02f886] = { 0x005e3d },
[0x02f887] = { 0x005e69 },
[0x02f888] = { 0x003862 },
[0x02f889] = { 0x022183 },
[0x02f88a] = { 0x00387c },
[0x02f88b] = { 0x005eb0 },
[0x02f88c] = { 0x005eb3 },
[0x02f88d] = { 0x005eb6 },
[0x02f88e] = { 0x005eca },
[0x02f88f] = { 0x02a392 },
[0x02f890] = { 0x005efe },
[0x02f891] = { 0x022331 },
[0x02f892] = { 0x022331 },
[0x02f893] = { 0x008201 },
[0x02f894] = { 0x005f22 },
[0x02f895] = { 0x005f22 },
[0x02f896] = { 0x0038c7 },
[0x02f897] = { 0x0232b8 },
[0x02f898] = { 0x0261da },
[0x02f899] = { 0x005f62 },
[0x02f89a] = { 0x005f6b },
[0x02f89b] = { 0x0038e3 },
[0x02f89c] = { 0x005f9a },
[0x02f89d] = { 0x005fcd },
[0x02f89e] = { 0x005fd7 },
[0x02f89f] = { 0x005ff9 },
[0x02f8a0] = { 0x006081 },
[0x02f8a1] = { 0x00393a },
[0x02f8a2] = { 0x00391c },
[0x02f8a3] = { 0x006094 },
[0x02f8a4] = { 0x0226d4 },
[0x02f8a5] = { 0x0060c7 },
[0x02f8a6] = { 0x006148 },
[0x02f8a7] = { 0x00614c },
[0x02f8a8] = { 0x00614e },
[0x02f8a9] = { 0x00614c },
[0x02f8aa] = { 0x00617a },
[0x02f8ab] = { 0x00618e },
[0x02f8ac] = { 0x0061b2 },
[0x02f8ad] = { 0x0061a4 },
[0x02f8ae] = { 0x0061af },
[0x02f8af] = { 0x0061de },
[0x02f8b0] = { 0x0061f2 },
[0x02f8b1] = { 0x0061f6 },
[0x02f8b2] = { 0x006210 },
[0x02f8b3] = { 0x00621b },
[0x02f8b4] = { 0x00625d },
[0x02f8b5] = { 0x0062b1 },
[0x02f8b6] = { 0x0062d4 },
[0x02f8b7] = { 0x006350 },
[0x02f8b8] = { 0x022b0c },
[0x02f8b9] = { 0x00633d },
[0x02f8ba] = { 0x0062fc },
[0x02f8bb] = { 0x006368 },
[0x02f8bc] = { 0x006383 },
[0x02f8bd] = { 0x0063e4 },
[0x02f8be] = { 0x022bf1 },
[0x02f8bf] = { 0x006422 },
[0x02f8c0] = { 0x0063c5 },
[0x02f8c1] = { 0x0063a9 },
[0x02f8c2] = { 0x003a2e },
[0x02f8c3] = { 0x006469 },
[0x02f8c4] = { 0x00647e },
[0x02f8c5] = { 0x00649d },
[0x02f8c6] = { 0x006477 },
[0x02f8c7] = { 0x003a6c },
[0x02f8c8] = { 0x00654f },
[0x02f8c9] = { 0x00656c },
[0x02f8ca] = { 0x02300a },
[0x02f8cb] = { 0x0065e3 },
[0x02f8cc] = { 0x0066f8 },
[0x02f8cd] = { 0x006649 },
[0x02f8ce] = { 0x003b19 },
[0x02f8cf] = { 0x006691 },
[0x02f8d0] = { 0x003b08 },
[0x02f8d1] = { 0x003ae4 },
[0x02f8d2] = { 0x005192 },
[0x02f8d3] = { 0x005195 },
[0x02f8d4] = { 0x006700 },
[0x02f8d5] = { 0x00669c },
[0x02f8d6] = { 0x0080ad },
[0x02f8d7] = { 0x0043d9 },
[0x02f8d8] = { 0x006717 },
[0x02f8d9] = { 0x00671b },
[0x02f8da] = { 0x006721 },
[0x02f8db] = { 0x00675e },
[0x02f8dc] = { 0x006753 },
[0x02f8dd] = { 0x0233c3 },
[0x02f8de] = { 0x003b49 },
[0x02f8df] = { 0x0067fa },
[0x02f8e0] = { 0x006785 },
[0x02f8e1] = { 0x006852 },
[0x02f8e2] = { 0x006885 },
[0x02f8e3] = { 0x02346d },
[0x02f8e4] = { 0x00688e },
[0x02f8e5] = { 0x00681f },
[0x02f8e6] = { 0x006914 },
[0x02f8e7] = { 0x003b9d },
[0x02f8e8] = { 0x006942 },
[0x02f8e9] = { 0x0069a3 },
[0x02f8ea] = { 0x0069ea },
[0x02f8eb] = { 0x006aa8 },
[0x02f8ec] = { 0x0236a3 },
[0x02f8ed] = { 0x006adb },
[0x02f8ee] = { 0x003c18 },
[0x02f8ef] = { 0x006b21 },
[0x02f8f0] = { 0x0238a7 },
[0x02f8f1] = { 0x006b54 },
[0x02f8f2] = { 0x003c4e },
[0x02f8f3] = { 0x006b72 },
[0x02f8f4] = { 0x006b9f },
[0x02f8f5] = { 0x006bba },
[0x02f8f6] = { 0x006bbb },
[0x02f8f7] = { 0x023a8d },
[0x02f8f8] = { 0x021d0b },
[0x02f8f9] = { 0x023afa },
[0x02f8fa] = { 0x006c4e },
[0x02f8fb] = { 0x023cbc },
[0x02f8fc] = { 0x006cbf },
[0x02f8fd] = { 0x006ccd },
[0x02f8fe] = { 0x006c67 },
[0x02f8ff] = { 0x006d16 },
[0x02f900] = { 0x006d3e },
[0x02f901] = { 0x006d77 },
[0x02f902] = { 0x006d41 },
[0x02f903] = { 0x006d69 },
[0x02f904] = { 0x006d78 },
[0x02f905] = { 0x006d85 },
[0x02f906] = { 0x023d1e },
[0x02f907] = { 0x006d34 },
[0x02f908] = { 0x006e2f },
[0x02f909] = { 0x006e6e },
[0x02f90a] = { 0x003d33 },
[0x02f90b] = { 0x006ecb },
[0x02f90c] = { 0x006ec7 },
[0x02f90d] = { 0x023ed1 },
[0x02f90e] = { 0x006df9 },
[0x02f90f] = { 0x006f6e },
[0x02f910] = { 0x023f5e },
[0x02f911] = { 0x023f8e },
[0x02f912] = { 0x006fc6 },
[0x02f913] = { 0x007039 },
[0x02f914] = { 0x00701e },
[0x02f915] = { 0x00701b },
[0x02f916] = { 0x003d96 },
[0x02f917] = { 0x00704a },
[0x02f918] = { 0x00707d },
[0x02f919] = { 0x007077 },
[0x02f91a] = { 0x0070ad },
[0x02f91b] = { 0x020525 },
[0x02f91c] = { 0x007145 },
[0x02f91d] = { 0x024263 },
[0x02f91e] = { 0x00719c },
[0x02f91f] = { 0x0243ab },
[0x02f920] = { 0x007228 },
[0x02f921] = { 0x007235 },
[0x02f922] = { 0x007250 },
[0x02f923] = { 0x024608 },
[0x02f924] = { 0x007280 },
[0x02f925] = { 0x007295 },
[0x02f926] = { 0x024735 },
[0x02f927] = { 0x024814 },
[0x02f928] = { 0x00737a },
[0x02f929] = { 0x00738b },
[0x02f92a] = { 0x003eac },
[0x02f92b] = { 0x0073a5 },
[0x02f92c] = { 0x003eb8 },
[0x02f92d] = { 0x003eb8 },
[0x02f92e] = { 0x007447 },
[0x02f92f] = { 0x00745c },
[0x02f930] = { 0x007471 },
[0x02f931] = { 0x007485 },
[0x02f932] = { 0x0074ca },
[0x02f933] = { 0x003f1b },
[0x02f934] = { 0x007524 },
[0x02f935] = { 0x024c36 },
[0x02f936] = { 0x00753e },
[0x02f937] = { 0x024c92 },
[0x02f938] = { 0x007570 },
[0x02f939] = { 0x02219f },
[0x02f93a] = { 0x007610 },
[0x02f93b] = { 0x024fa1 },
[0x02f93c] = { 0x024fb8 },
[0x02f93d] = { 0x025044 },
[0x02f93e] = { 0x003ffc },
[0x02f93f] = { 0x004008 },
[0x02f940] = { 0x0076f4 },
[0x02f941] = { 0x0250f3 },
[0x02f942] = { 0x0250f2 },
[0x02f943] = { 0x025119 },
[0x02f944] = { 0x025133 },
[0x02f945] = { 0x00771e },
[0x02f946] = { 0x00771f },
[0x02f947] = { 0x00771f },
[0x02f948] = { 0x00774a },
[0x02f949] = { 0x004039 },
[0x02f94a] = { 0x00778b },
[0x02f94b] = { 0x004046 },
[0x02f94c] = { 0x004096 },
[0x02f94d] = { 0x02541d },
[0x02f94e] = { 0x00784e },
[0x02f94f] = { 0x00788c },
[0x02f950] = { 0x0078cc },
[0x02f951] = { 0x0040e3 },
[0x02f952] = { 0x025626 },
[0x02f953] = { 0x007956 },
[0x02f954] = { 0x02569a },
[0x02f955] = { 0x0256c5 },
[0x02f956] = { 0x00798f },
[0x02f957] = { 0x0079eb },
[0x02f958] = { 0x00412f },
[0x02f959] = { 0x007a40 },
[0x02f95a] = { 0x007a4a },
[0x02f95b] = { 0x007a4f },
[0x02f95c] = { 0x02597c },
[0x02f95d] = { 0x025aa7 },
[0x02f95e] = { 0x025aa7 },
[0x02f95f] = { 0x007aee },
[0x02f960] = { 0x004202 },
[0x02f961] = { 0x025bab },
[0x02f962] = { 0x007bc6 },
[0x02f963] = { 0x007bc9 },
[0x02f964] = { 0x004227 },
[0x02f965] = { 0x025c80 },
[0x02f966] = { 0x007cd2 },
[0x02f967] = { 0x0042a0 },
[0x02f968] = { 0x007ce8 },
[0x02f969] = { 0x007ce3 },
[0x02f96a] = { 0x007d00 },
[0x02f96b] = { 0x025f86 },
[0x02f96c] = { 0x007d63 },
[0x02f96d] = { 0x004301 },
[0x02f96e] = { 0x007dc7 },
[0x02f96f] = { 0x007e02 },
[0x02f970] = { 0x007e45 },
[0x02f971] = { 0x004334 },
[0x02f972] = { 0x026228 },
[0x02f973] = { 0x026247 },
[0x02f974] = { 0x004359 },
[0x02f975] = { 0x0262d9 },
[0x02f976] = { 0x007f7a },
[0x02f977] = { 0x02633e },
[0x02f978] = { 0x007f95 },
[0x02f979] = { 0x007ffa },
[0x02f97a] = { 0x008005 },
[0x02f97b] = { 0x0264da },
[0x02f97c] = { 0x026523 },
[0x02f97d] = { 0x008060 },
[0x02f97e] = { 0x0265a8 },
[0x02f97f] = { 0x008070 },
[0x02f980] = { 0x02335f },
[0x02f981] = { 0x0043d5 },
[0x02f982] = { 0x0080b2 },
[0x02f983] = { 0x008103 },
[0x02f984] = { 0x00440b },
[0x02f985] = { 0x00813e },
[0x02f986] = { 0x005ab5 },
[0x02f987] = { 0x0267a7 },
[0x02f988] = { 0x0267b5 },
[0x02f989] = { 0x023393 },
[0x02f98a] = { 0x02339c },
[0x02f98b] = { 0x008201 },
[0x02f98c] = { 0x008204 },
[0x02f98d] = { 0x008f9e },
[0x02f98e] = { 0x00446b },
[0x02f98f] = { 0x008291 },
[0x02f990] = { 0x00828b },
[0x02f991] = { 0x00829d },
[0x02f992] = { 0x0052b3 },
[0x02f993] = { 0x0082b1 },
[0x02f994] = { 0x0082b3 },
[0x02f995] = { 0x0082bd },
[0x02f996] = { 0x0082e6 },
[0x02f997] = { 0x026b3c },
[0x02f998] = { 0x0082e5 },
[0x02f999] = { 0x00831d },
[0x02f99a] = { 0x008363 },
[0x02f99b] = { 0x0083ad },
[0x02f99c] = { 0x008323 },
[0x02f99d] = { 0x0083bd },
[0x02f99e] = { 0x0083e7 },
[0x02f99f] = { 0x008457 },
[0x02f9a0] = { 0x008353 },
[0x02f9a1] = { 0x0083ca },
[0x02f9a2] = { 0x0083cc },
[0x02f9a3] = { 0x0083dc },
[0x02f9a4] = { 0x026c36 },
[0x02f9a5] = { 0x026d6b },
[0x02f9a6] = { 0x026cd5 },
[0x02f9a7] = { 0x00452b },
[0x02f9a8] = { 0x0084f1 },
[0x02f9a9] = { 0x0084f3 },
[0x02f9aa] = { 0x008516 },
[0x02f9ab] = { 0x0273ca },
[0x02f9ac] = { 0x008564 },
[0x02f9ad] = { 0x026f2c },
[0x02f9ae] = { 0x00455d },
[0x02f9af] = { 0x004561 },
[0x02f9b0] = { 0x026fb1 },
[0x02f9b1] = { 0x0270d2 },
[0x02f9b2] = { 0x00456b },
[0x02f9b3] = { 0x008650 },
[0x02f9b4] = { 0x00865c },
[0x02f9b5] = { 0x008667 },
[0x02f9b6] = { 0x008669 },
[0x02f9b7] = { 0x0086a9 },
[0x02f9b8] = { 0x008688 },
[0x02f9b9] = { 0x00870e },
[0x02f9ba] = { 0x0086e2 },
[0x02f9bb] = { 0x008779 },
[0x02f9bc] = { 0x008728 },
[0x02f9bd] = { 0x00876b },
[0x02f9be] = { 0x008786 },
[0x02f9bf] = { 0x0045d7 },
[0x02f9c0] = { 0x0087e1 },
[0x02f9c1] = { 0x008801 },
[0x02f9c2] = { 0x0045f9 },
[0x02f9c3] = { 0x008860 },
[0x02f9c4] = { 0x008863 },
[0x02f9c5] = { 0x027667 },
[0x02f9c6] = { 0x0088d7 },
[0x02f9c7] = { 0x0088de },
[0x02f9c8] = { 0x004635 },
[0x02f9c9] = { 0x0088fa },
[0x02f9ca] = { 0x0034bb },
[0x02f9cb] = { 0x0278ae },
[0x02f9cc] = { 0x027966 },
[0x02f9cd] = { 0x0046be },
[0x02f9ce] = { 0x0046c7 },
[0x02f9cf] = { 0x008aa0 },
[0x02f9d0] = { 0x008aed },
[0x02f9d1] = { 0x008b8a },
[0x02f9d2] = { 0x008c55 },
[0x02f9d3] = { 0x027ca8 },
[0x02f9d4] = { 0x008cab },
[0x02f9d5] = { 0x008cc1 },
[0x02f9d6] = { 0x008d1b },
[0x02f9d7] = { 0x008d77 },
[0x02f9d8] = { 0x027f2f },
[0x02f9d9] = { 0x020804 },
[0x02f9da] = { 0x008dcb },
[0x02f9db] = { 0x008dbc },
[0x02f9dc] = { 0x008df0 },
[0x02f9dd] = { 0x0208de },
[0x02f9de] = { 0x008ed4 },
[0x02f9df] = { 0x008f38 },
[0x02f9e0] = { 0x0285d2 },
[0x02f9e1] = { 0x0285ed },
[0x02f9e2] = { 0x009094 },
[0x02f9e3] = { 0x0090f1 },
[0x02f9e4] = { 0x009111 },
[0x02f9e5] = { 0x02872e },
[0x02f9e6] = { 0x00911b },
[0x02f9e7] = { 0x009238 },
[0x02f9e8] = { 0x0092d7 },
[0x02f9e9] = { 0x0092d8 },
[0x02f9ea] = { 0x00927c },
[0x02f9eb] = { 0x0093f9 },
[0x02f9ec] = { 0x009415 },
[0x02f9ed] = { 0x028bfa },
[0x02f9ee] = { 0x00958b },
[0x02f9ef] = { 0x004995 },
[0x02f9f0] = { 0x0095b7 },
[0x02f9f1] = { 0x028d77 },
[0x02f9f2] = { 0x0049e6 },
[0x02f9f3] = { 0x0096c3 },
[0x02f9f4] = { 0x005db2 },
[0x02f9f5] = { 0x009723 },
[0x02f9f6] = { 0x029145 },
[0x02f9f7] = { 0x02921a },
[0x02f9f8] = { 0x004a6e },
[0x02f9f9] = { 0x004a76 },
[0x02f9fa] = { 0x0097e0 },
[0x02f9fb] = { 0x02940a },
[0x02f9fc] = { 0x004ab2 },
[0x02f9fd] = { 0x029496 },
[0x02f9fe] = { 0x00980b },
[0x02f9ff] = { 0x00980b },
[0x02fa00] = { 0x009829 },
[0x02fa01] = { 0x0295b6 },
[0x02fa02] = { 0x0098e2 },
[0x02fa03] = { 0x004b33 },
[0x02fa04] = { 0x009929 },
[0x02fa05] = { 0x0099a7 },
[0x02fa06] = { 0x0099c2 },
[0x02fa07] = { 0x0099fe },
[0x02fa08] = { 0x004bce },
[0x02fa09] = { 0x029b30 },
[0x02fa0a] = { 0x009b12 },
[0x02fa0b] = { 0x009c40 },
[0x02fa0c] = { 0x009cfd },
[0x02fa0d] = { 0x004cce },
[0x02fa0e] = { 0x004ced },
[0x02fa0f] = { 0x009d67 },
[0x02fa10] = { 0x02a0ce },
[0x02fa11] = { 0x004cf8 },
[0x02fa12] = { 0x02a105 },
[0x02fa13] = { 0x02a20e },
[0x02fa14] = { 0x02a291 },
[0x02fa15] = { 0x009ebb },
[0x02fa16] = { 0x004d56 },
[0x02fa17] = { 0x009ef9 },
[0x02fa18] = { 0x009efe },
[0x02fa19] = { 0x009f05 },
[0x02fa1a] = { 0x009f0f },
[0x02fa1b] = { 0x009f16 },
[0x02fa1c] = { 0x009f3b },
[0x02fa1d] = { 0x02a600 },
},
decompK = {
[0x0000a0] = { 0x000020 },
[0x0000a8] = { 0x000020, 0x000308 },
[0x0000aa] = { 0x000061 },
[0x0000af] = { 0x000020, 0x000304 },
[0x0000b2] = { 0x000032 },
[0x0000b3] = { 0x000033 },
[0x0000b4] = { 0x000020, 0x000301 },
[0x0000b5] = { 0x0003bc },
[0x0000b8] = { 0x000020, 0x000327 },
[0x0000b9] = { 0x000031 },
[0x0000ba] = { 0x00006f },
[0x0000bc] = { 0x000031, 0x002044, 0x000034 },
[0x0000bd] = { 0x000031, 0x002044, 0x000032 },
[0x0000be] = { 0x000033, 0x002044, 0x000034 },
[0x000132] = { 0x000049, 0x00004a },
[0x000133] = { 0x000069, 0x00006a },
[0x00013f] = { 0x00004c, 0x0000b7 },
[0x000140] = { 0x00006c, 0x0000b7 },
[0x000149] = { 0x0002bc, 0x00006e },
[0x00017f] = { 0x000073 },
[0x0001c4] = { 0x000044, 0x00005a, 0x00030c },
[0x0001c5] = { 0x000044, 0x00007a, 0x00030c },
[0x0001c6] = { 0x000064, 0x00007a, 0x00030c },
[0x0001c7] = { 0x00004c, 0x00004a },
[0x0001c8] = { 0x00004c, 0x00006a },
[0x0001c9] = { 0x00006c, 0x00006a },
[0x0001ca] = { 0x00004e, 0x00004a },
[0x0001cb] = { 0x00004e, 0x00006a },
[0x0001cc] = { 0x00006e, 0x00006a },
[0x0001f1] = { 0x000044, 0x00005a },
[0x0001f2] = { 0x000044, 0x00007a },
[0x0001f3] = { 0x000064, 0x00007a },
[0x0002b0] = { 0x000068 },
[0x0002b1] = { 0x000266 },
[0x0002b2] = { 0x00006a },
[0x0002b3] = { 0x000072 },
[0x0002b4] = { 0x000279 },
[0x0002b5] = { 0x00027b },
[0x0002b6] = { 0x000281 },
[0x0002b7] = { 0x000077 },
[0x0002b8] = { 0x000079 },
[0x0002d8] = { 0x000020, 0x000306 },
[0x0002d9] = { 0x000020, 0x000307 },
[0x0002da] = { 0x000020, 0x00030a },
[0x0002db] = { 0x000020, 0x000328 },
[0x0002dc] = { 0x000020, 0x000303 },
[0x0002dd] = { 0x000020, 0x00030b },
[0x0002e0] = { 0x000263 },
[0x0002e1] = { 0x00006c },
[0x0002e2] = { 0x000073 },
[0x0002e3] = { 0x000078 },
[0x0002e4] = { 0x000295 },
[0x00037a] = { 0x000020, 0x000345 },
[0x000384] = { 0x000020, 0x000301 },
[0x000385] = { 0x000020, 0x000308, 0x000301 },
[0x0003d0] = { 0x0003b2 },
[0x0003d1] = { 0x0003b8 },
[0x0003d2] = { 0x0003a5 },
[0x0003d3] = { 0x0003a5, 0x000301 },
[0x0003d4] = { 0x0003a5, 0x000308 },
[0x0003d5] = { 0x0003c6 },
[0x0003d6] = { 0x0003c0 },
[0x0003f0] = { 0x0003ba },
[0x0003f1] = { 0x0003c1 },
[0x0003f2] = { 0x0003c2 },
[0x0003f4] = { 0x000398 },
[0x0003f5] = { 0x0003b5 },
[0x0003f9] = { 0x0003a3 },
[0x000587] = { 0x000565, 0x000582 },
[0x000675] = { 0x000627, 0x000674 },
[0x000676] = { 0x000648, 0x000674 },
[0x000677] = { 0x0006c7, 0x000674 },
[0x000678] = { 0x00064a, 0x000674 },
[0x000e33] = { 0x000e4d, 0x000e32 },
[0x000eb3] = { 0x000ecd, 0x000eb2 },
[0x000edc] = { 0x000eab, 0x000e99 },
[0x000edd] = { 0x000eab, 0x000ea1 },
[0x000f0c] = { 0x000f0b },
[0x000f77] = { 0x000fb2, 0x000f71, 0x000f80 },
[0x000f79] = { 0x000fb3, 0x000f71, 0x000f80 },
[0x0010fc] = { 0x0010dc },
[0x001d2c] = { 0x000041 },
[0x001d2d] = { 0x0000c6 },
[0x001d2e] = { 0x000042 },
[0x001d30] = { 0x000044 },
[0x001d31] = { 0x000045 },
[0x001d32] = { 0x00018e },
[0x001d33] = { 0x000047 },
[0x001d34] = { 0x000048 },
[0x001d35] = { 0x000049 },
[0x001d36] = { 0x00004a },
[0x001d37] = { 0x00004b },
[0x001d38] = { 0x00004c },
[0x001d39] = { 0x00004d },
[0x001d3a] = { 0x00004e },
[0x001d3c] = { 0x00004f },
[0x001d3d] = { 0x000222 },
[0x001d3e] = { 0x000050 },
[0x001d3f] = { 0x000052 },
[0x001d40] = { 0x000054 },
[0x001d41] = { 0x000055 },
[0x001d42] = { 0x000057 },
[0x001d43] = { 0x000061 },
[0x001d44] = { 0x000250 },
[0x001d45] = { 0x000251 },
[0x001d46] = { 0x001d02 },
[0x001d47] = { 0x000062 },
[0x001d48] = { 0x000064 },
[0x001d49] = { 0x000065 },
[0x001d4a] = { 0x000259 },
[0x001d4b] = { 0x00025b },
[0x001d4c] = { 0x00025c },
[0x001d4d] = { 0x000067 },
[0x001d4f] = { 0x00006b },
[0x001d50] = { 0x00006d },
[0x001d51] = { 0x00014b },
[0x001d52] = { 0x00006f },
[0x001d53] = { 0x000254 },
[0x001d54] = { 0x001d16 },
[0x001d55] = { 0x001d17 },
[0x001d56] = { 0x000070 },
[0x001d57] = { 0x000074 },
[0x001d58] = { 0x000075 },
[0x001d59] = { 0x001d1d },
[0x001d5a] = { 0x00026f },
[0x001d5b] = { 0x000076 },
[0x001d5c] = { 0x001d25 },
[0x001d5d] = { 0x0003b2 },
[0x001d5e] = { 0x0003b3 },
[0x001d5f] = { 0x0003b4 },
[0x001d60] = { 0x0003c6 },
[0x001d61] = { 0x0003c7 },
[0x001d62] = { 0x000069 },
[0x001d63] = { 0x000072 },
[0x001d64] = { 0x000075 },
[0x001d65] = { 0x000076 },
[0x001d66] = { 0x0003b2 },
[0x001d67] = { 0x0003b3 },
[0x001d68] = { 0x0003c1 },
[0x001d69] = { 0x0003c6 },
[0x001d6a] = { 0x0003c7 },
[0x001d78] = { 0x00043d },
[0x001d9b] = { 0x000252 },
[0x001d9c] = { 0x000063 },
[0x001d9d] = { 0x000255 },
[0x001d9e] = { 0x0000f0 },
[0x001d9f] = { 0x00025c },
[0x001da0] = { 0x000066 },
[0x001da1] = { 0x00025f },
[0x001da2] = { 0x000261 },
[0x001da3] = { 0x000265 },
[0x001da4] = { 0x000268 },
[0x001da5] = { 0x000269 },
[0x001da6] = { 0x00026a },
[0x001da7] = { 0x001d7b },
[0x001da8] = { 0x00029d },
[0x001da9] = { 0x00026d },
[0x001daa] = { 0x001d85 },
[0x001dab] = { 0x00029f },
[0x001dac] = { 0x000271 },
[0x001dad] = { 0x000270 },
[0x001dae] = { 0x000272 },
[0x001daf] = { 0x000273 },
[0x001db0] = { 0x000274 },
[0x001db1] = { 0x000275 },
[0x001db2] = { 0x000278 },
[0x001db3] = { 0x000282 },
[0x001db4] = { 0x000283 },
[0x001db5] = { 0x0001ab },
[0x001db6] = { 0x000289 },
[0x001db7] = { 0x00028a },
[0x001db8] = { 0x001d1c },
[0x001db9] = { 0x00028b },
[0x001dba] = { 0x00028c },
[0x001dbb] = { 0x00007a },
[0x001dbc] = { 0x000290 },
[0x001dbd] = { 0x000291 },
[0x001dbe] = { 0x000292 },
[0x001dbf] = { 0x0003b8 },
[0x001e9a] = { 0x000061, 0x0002be },
[0x001e9b] = { 0x000073, 0x000307 },
[0x001fbd] = { 0x000020, 0x000313 },
[0x001fbf] = { 0x000020, 0x000313 },
[0x001fc0] = { 0x000020, 0x000342 },
[0x001fc1] = { 0x000020, 0x000308, 0x000342 },
[0x001fcd] = { 0x000020, 0x000313, 0x000300 },
[0x001fce] = { 0x000020, 0x000313, 0x000301 },
[0x001fcf] = { 0x000020, 0x000313, 0x000342 },
[0x001fdd] = { 0x000020, 0x000314, 0x000300 },
[0x001fde] = { 0x000020, 0x000314, 0x000301 },
[0x001fdf] = { 0x000020, 0x000314, 0x000342 },
[0x001fed] = { 0x000020, 0x000308, 0x000300 },
[0x001fee] = { 0x000020, 0x000308, 0x000301 },
[0x001ffd] = { 0x000020, 0x000301 },
[0x001ffe] = { 0x000020, 0x000314 },
[0x002000] = { 0x000020 },
[0x002001] = { 0x000020 },
[0x002002] = { 0x000020 },
[0x002003] = { 0x000020 },
[0x002004] = { 0x000020 },
[0x002005] = { 0x000020 },
[0x002006] = { 0x000020 },
[0x002007] = { 0x000020 },
[0x002008] = { 0x000020 },
[0x002009] = { 0x000020 },
[0x00200a] = { 0x000020 },
[0x002011] = { 0x002010 },
[0x002017] = { 0x000020, 0x000333 },
[0x002024] = { 0x00002e },
[0x002025] = { 0x00002e, 0x00002e },
[0x002026] = { 0x00002e, 0x00002e, 0x00002e },
[0x00202f] = { 0x000020 },
[0x002033] = { 0x002032, 0x002032 },
[0x002034] = { 0x002032, 0x002032, 0x002032 },
[0x002036] = { 0x002035, 0x002035 },
[0x002037] = { 0x002035, 0x002035, 0x002035 },
[0x00203c] = { 0x000021, 0x000021 },
[0x00203e] = { 0x000020, 0x000305 },
[0x002047] = { 0x00003f, 0x00003f },
[0x002048] = { 0x00003f, 0x000021 },
[0x002049] = { 0x000021, 0x00003f },
[0x002057] = { 0x002032, 0x002032, 0x002032, 0x002032 },
[0x00205f] = { 0x000020 },
[0x002070] = { 0x000030 },
[0x002071] = { 0x000069 },
[0x002074] = { 0x000034 },
[0x002075] = { 0x000035 },
[0x002076] = { 0x000036 },
[0x002077] = { 0x000037 },
[0x002078] = { 0x000038 },
[0x002079] = { 0x000039 },
[0x00207a] = { 0x00002b },
[0x00207b] = { 0x002212 },
[0x00207c] = { 0x00003d },
[0x00207d] = { 0x000028 },
[0x00207e] = { 0x000029 },
[0x00207f] = { 0x00006e },
[0x002080] = { 0x000030 },
[0x002081] = { 0x000031 },
[0x002082] = { 0x000032 },
[0x002083] = { 0x000033 },
[0x002084] = { 0x000034 },
[0x002085] = { 0x000035 },
[0x002086] = { 0x000036 },
[0x002087] = { 0x000037 },
[0x002088] = { 0x000038 },
[0x002089] = { 0x000039 },
[0x00208a] = { 0x00002b },
[0x00208b] = { 0x002212 },
[0x00208c] = { 0x00003d },
[0x00208d] = { 0x000028 },
[0x00208e] = { 0x000029 },
[0x002090] = { 0x000061 },
[0x002091] = { 0x000065 },
[0x002092] = { 0x00006f },
[0x002093] = { 0x000078 },
[0x002094] = { 0x000259 },
[0x002095] = { 0x000068 },
[0x002096] = { 0x00006b },
[0x002097] = { 0x00006c },
[0x002098] = { 0x00006d },
[0x002099] = { 0x00006e },
[0x00209a] = { 0x000070 },
[0x00209b] = { 0x000073 },
[0x00209c] = { 0x000074 },
[0x0020a8] = { 0x000052, 0x000073 },
[0x002100] = { 0x000061, 0x00002f, 0x000063 },
[0x002101] = { 0x000061, 0x00002f, 0x000073 },
[0x002102] = { 0x000043 },
[0x002103] = { 0x0000b0, 0x000043 },
[0x002105] = { 0x000063, 0x00002f, 0x00006f },
[0x002106] = { 0x000063, 0x00002f, 0x000075 },
[0x002107] = { 0x000190 },
[0x002109] = { 0x0000b0, 0x000046 },
[0x00210a] = { 0x000067 },
[0x00210b] = { 0x000048 },
[0x00210c] = { 0x000048 },
[0x00210d] = { 0x000048 },
[0x00210e] = { 0x000068 },
[0x00210f] = { 0x000127 },
[0x002110] = { 0x000049 },
[0x002111] = { 0x000049 },
[0x002112] = { 0x00004c },
[0x002113] = { 0x00006c },
[0x002115] = { 0x00004e },
[0x002116] = { 0x00004e, 0x00006f },
[0x002119] = { 0x000050 },
[0x00211a] = { 0x000051 },
[0x00211b] = { 0x000052 },
[0x00211c] = { 0x000052 },
[0x00211d] = { 0x000052 },
[0x002120] = { 0x000053, 0x00004d },
[0x002121] = { 0x000054, 0x000045, 0x00004c },
[0x002122] = { 0x000054, 0x00004d },
[0x002124] = { 0x00005a },
[0x002128] = { 0x00005a },
[0x00212c] = { 0x000042 },
[0x00212d] = { 0x000043 },
[0x00212f] = { 0x000065 },
[0x002130] = { 0x000045 },
[0x002131] = { 0x000046 },
[0x002133] = { 0x00004d },
[0x002134] = { 0x00006f },
[0x002135] = { 0x0005d0 },
[0x002136] = { 0x0005d1 },
[0x002137] = { 0x0005d2 },
[0x002138] = { 0x0005d3 },
[0x002139] = { 0x000069 },
[0x00213b] = { 0x000046, 0x000041, 0x000058 },
[0x00213c] = { 0x0003c0 },
[0x00213d] = { 0x0003b3 },
[0x00213e] = { 0x000393 },
[0x00213f] = { 0x0003a0 },
[0x002140] = { 0x002211 },
[0x002145] = { 0x000044 },
[0x002146] = { 0x000064 },
[0x002147] = { 0x000065 },
[0x002148] = { 0x000069 },
[0x002149] = { 0x00006a },
[0x002150] = { 0x000031, 0x002044, 0x000037 },
[0x002151] = { 0x000031, 0x002044, 0x000039 },
[0x002152] = { 0x000031, 0x002044, 0x000031, 0x000030 },
[0x002153] = { 0x000031, 0x002044, 0x000033 },
[0x002154] = { 0x000032, 0x002044, 0x000033 },
[0x002155] = { 0x000031, 0x002044, 0x000035 },
[0x002156] = { 0x000032, 0x002044, 0x000035 },
[0x002157] = { 0x000033, 0x002044, 0x000035 },
[0x002158] = { 0x000034, 0x002044, 0x000035 },
[0x002159] = { 0x000031, 0x002044, 0x000036 },
[0x00215a] = { 0x000035, 0x002044, 0x000036 },
[0x00215b] = { 0x000031, 0x002044, 0x000038 },
[0x00215c] = { 0x000033, 0x002044, 0x000038 },
[0x00215d] = { 0x000035, 0x002044, 0x000038 },
[0x00215e] = { 0x000037, 0x002044, 0x000038 },
[0x00215f] = { 0x000031, 0x002044 },
[0x002160] = { 0x000049 },
[0x002161] = { 0x000049, 0x000049 },
[0x002162] = { 0x000049, 0x000049, 0x000049 },
[0x002163] = { 0x000049, 0x000056 },
[0x002164] = { 0x000056 },
[0x002165] = { 0x000056, 0x000049 },
[0x002166] = { 0x000056, 0x000049, 0x000049 },
[0x002167] = { 0x000056, 0x000049, 0x000049, 0x000049 },
[0x002168] = { 0x000049, 0x000058 },
[0x002169] = { 0x000058 },
[0x00216a] = { 0x000058, 0x000049 },
[0x00216b] = { 0x000058, 0x000049, 0x000049 },
[0x00216c] = { 0x00004c },
[0x00216d] = { 0x000043 },
[0x00216e] = { 0x000044 },
[0x00216f] = { 0x00004d },
[0x002170] = { 0x000069 },
[0x002171] = { 0x000069, 0x000069 },
[0x002172] = { 0x000069, 0x000069, 0x000069 },
[0x002173] = { 0x000069, 0x000076 },
[0x002174] = { 0x000076 },
[0x002175] = { 0x000076, 0x000069 },
[0x002176] = { 0x000076, 0x000069, 0x000069 },
[0x002177] = { 0x000076, 0x000069, 0x000069, 0x000069 },
[0x002178] = { 0x000069, 0x000078 },
[0x002179] = { 0x000078 },
[0x00217a] = { 0x000078, 0x000069 },
[0x00217b] = { 0x000078, 0x000069, 0x000069 },
[0x00217c] = { 0x00006c },
[0x00217d] = { 0x000063 },
[0x00217e] = { 0x000064 },
[0x00217f] = { 0x00006d },
[0x002189] = { 0x000030, 0x002044, 0x000033 },
[0x00222c] = { 0x00222b, 0x00222b },
[0x00222d] = { 0x00222b, 0x00222b, 0x00222b },
[0x00222f] = { 0x00222e, 0x00222e },
[0x002230] = { 0x00222e, 0x00222e, 0x00222e },
[0x002460] = { 0x000031 },
[0x002461] = { 0x000032 },
[0x002462] = { 0x000033 },
[0x002463] = { 0x000034 },
[0x002464] = { 0x000035 },
[0x002465] = { 0x000036 },
[0x002466] = { 0x000037 },
[0x002467] = { 0x000038 },
[0x002468] = { 0x000039 },
[0x002469] = { 0x000031, 0x000030 },
[0x00246a] = { 0x000031, 0x000031 },
[0x00246b] = { 0x000031, 0x000032 },
[0x00246c] = { 0x000031, 0x000033 },
[0x00246d] = { 0x000031, 0x000034 },
[0x00246e] = { 0x000031, 0x000035 },
[0x00246f] = { 0x000031, 0x000036 },
[0x002470] = { 0x000031, 0x000037 },
[0x002471] = { 0x000031, 0x000038 },
[0x002472] = { 0x000031, 0x000039 },
[0x002473] = { 0x000032, 0x000030 },
[0x002474] = { 0x000028, 0x000031, 0x000029 },
[0x002475] = { 0x000028, 0x000032, 0x000029 },
[0x002476] = { 0x000028, 0x000033, 0x000029 },
[0x002477] = { 0x000028, 0x000034, 0x000029 },
[0x002478] = { 0x000028, 0x000035, 0x000029 },
[0x002479] = { 0x000028, 0x000036, 0x000029 },
[0x00247a] = { 0x000028, 0x000037, 0x000029 },
[0x00247b] = { 0x000028, 0x000038, 0x000029 },
[0x00247c] = { 0x000028, 0x000039, 0x000029 },
[0x00247d] = { 0x000028, 0x000031, 0x000030, 0x000029 },
[0x00247e] = { 0x000028, 0x000031, 0x000031, 0x000029 },
[0x00247f] = { 0x000028, 0x000031, 0x000032, 0x000029 },
[0x002480] = { 0x000028, 0x000031, 0x000033, 0x000029 },
[0x002481] = { 0x000028, 0x000031, 0x000034, 0x000029 },
[0x002482] = { 0x000028, 0x000031, 0x000035, 0x000029 },
[0x002483] = { 0x000028, 0x000031, 0x000036, 0x000029 },
[0x002484] = { 0x000028, 0x000031, 0x000037, 0x000029 },
[0x002485] = { 0x000028, 0x000031, 0x000038, 0x000029 },
[0x002486] = { 0x000028, 0x000031, 0x000039, 0x000029 },
[0x002487] = { 0x000028, 0x000032, 0x000030, 0x000029 },
[0x002488] = { 0x000031, 0x00002e },
[0x002489] = { 0x000032, 0x00002e },
[0x00248a] = { 0x000033, 0x00002e },
[0x00248b] = { 0x000034, 0x00002e },
[0x00248c] = { 0x000035, 0x00002e },
[0x00248d] = { 0x000036, 0x00002e },
[0x00248e] = { 0x000037, 0x00002e },
[0x00248f] = { 0x000038, 0x00002e },
[0x002490] = { 0x000039, 0x00002e },
[0x002491] = { 0x000031, 0x000030, 0x00002e },
[0x002492] = { 0x000031, 0x000031, 0x00002e },
[0x002493] = { 0x000031, 0x000032, 0x00002e },
[0x002494] = { 0x000031, 0x000033, 0x00002e },
[0x002495] = { 0x000031, 0x000034, 0x00002e },
[0x002496] = { 0x000031, 0x000035, 0x00002e },
[0x002497] = { 0x000031, 0x000036, 0x00002e },
[0x002498] = { 0x000031, 0x000037, 0x00002e },
[0x002499] = { 0x000031, 0x000038, 0x00002e },
[0x00249a] = { 0x000031, 0x000039, 0x00002e },
[0x00249b] = { 0x000032, 0x000030, 0x00002e },
[0x00249c] = { 0x000028, 0x000061, 0x000029 },
[0x00249d] = { 0x000028, 0x000062, 0x000029 },
[0x00249e] = { 0x000028, 0x000063, 0x000029 },
[0x00249f] = { 0x000028, 0x000064, 0x000029 },
[0x0024a0] = { 0x000028, 0x000065, 0x000029 },
[0x0024a1] = { 0x000028, 0x000066, 0x000029 },
[0x0024a2] = { 0x000028, 0x000067, 0x000029 },
[0x0024a3] = { 0x000028, 0x000068, 0x000029 },
[0x0024a4] = { 0x000028, 0x000069, 0x000029 },
[0x0024a5] = { 0x000028, 0x00006a, 0x000029 },
[0x0024a6] = { 0x000028, 0x00006b, 0x000029 },
[0x0024a7] = { 0x000028, 0x00006c, 0x000029 },
[0x0024a8] = { 0x000028, 0x00006d, 0x000029 },
[0x0024a9] = { 0x000028, 0x00006e, 0x000029 },
[0x0024aa] = { 0x000028, 0x00006f, 0x000029 },
[0x0024ab] = { 0x000028, 0x000070, 0x000029 },
[0x0024ac] = { 0x000028, 0x000071, 0x000029 },
[0x0024ad] = { 0x000028, 0x000072, 0x000029 },
[0x0024ae] = { 0x000028, 0x000073, 0x000029 },
[0x0024af] = { 0x000028, 0x000074, 0x000029 },
[0x0024b0] = { 0x000028, 0x000075, 0x000029 },
[0x0024b1] = { 0x000028, 0x000076, 0x000029 },
[0x0024b2] = { 0x000028, 0x000077, 0x000029 },
[0x0024b3] = { 0x000028, 0x000078, 0x000029 },
[0x0024b4] = { 0x000028, 0x000079, 0x000029 },
[0x0024b5] = { 0x000028, 0x00007a, 0x000029 },
[0x0024b6] = { 0x000041 },
[0x0024b7] = { 0x000042 },
[0x0024b8] = { 0x000043 },
[0x0024b9] = { 0x000044 },
[0x0024ba] = { 0x000045 },
[0x0024bb] = { 0x000046 },
[0x0024bc] = { 0x000047 },
[0x0024bd] = { 0x000048 },
[0x0024be] = { 0x000049 },
[0x0024bf] = { 0x00004a },
[0x0024c0] = { 0x00004b },
[0x0024c1] = { 0x00004c },
[0x0024c2] = { 0x00004d },
[0x0024c3] = { 0x00004e },
[0x0024c4] = { 0x00004f },
[0x0024c5] = { 0x000050 },
[0x0024c6] = { 0x000051 },
[0x0024c7] = { 0x000052 },
[0x0024c8] = { 0x000053 },
[0x0024c9] = { 0x000054 },
[0x0024ca] = { 0x000055 },
[0x0024cb] = { 0x000056 },
[0x0024cc] = { 0x000057 },
[0x0024cd] = { 0x000058 },
[0x0024ce] = { 0x000059 },
[0x0024cf] = { 0x00005a },
[0x0024d0] = { 0x000061 },
[0x0024d1] = { 0x000062 },
[0x0024d2] = { 0x000063 },
[0x0024d3] = { 0x000064 },
[0x0024d4] = { 0x000065 },
[0x0024d5] = { 0x000066 },
[0x0024d6] = { 0x000067 },
[0x0024d7] = { 0x000068 },
[0x0024d8] = { 0x000069 },
[0x0024d9] = { 0x00006a },
[0x0024da] = { 0x00006b },
[0x0024db] = { 0x00006c },
[0x0024dc] = { 0x00006d },
[0x0024dd] = { 0x00006e },
[0x0024de] = { 0x00006f },
[0x0024df] = { 0x000070 },
[0x0024e0] = { 0x000071 },
[0x0024e1] = { 0x000072 },
[0x0024e2] = { 0x000073 },
[0x0024e3] = { 0x000074 },
[0x0024e4] = { 0x000075 },
[0x0024e5] = { 0x000076 },
[0x0024e6] = { 0x000077 },
[0x0024e7] = { 0x000078 },
[0x0024e8] = { 0x000079 },
[0x0024e9] = { 0x00007a },
[0x0024ea] = { 0x000030 },
[0x002a0c] = { 0x00222b, 0x00222b, 0x00222b, 0x00222b },
[0x002a74] = { 0x00003a, 0x00003a, 0x00003d },
[0x002a75] = { 0x00003d, 0x00003d },
[0x002a76] = { 0x00003d, 0x00003d, 0x00003d },
[0x002c7c] = { 0x00006a },
[0x002c7d] = { 0x000056 },
[0x002d6f] = { 0x002d61 },
[0x002e9f] = { 0x006bcd },
[0x002ef3] = { 0x009f9f },
[0x002f00] = { 0x004e00 },
[0x002f01] = { 0x004e28 },
[0x002f02] = { 0x004e36 },
[0x002f03] = { 0x004e3f },
[0x002f04] = { 0x004e59 },
[0x002f05] = { 0x004e85 },
[0x002f06] = { 0x004e8c },
[0x002f07] = { 0x004ea0 },
[0x002f08] = { 0x004eba },
[0x002f09] = { 0x00513f },
[0x002f0a] = { 0x005165 },
[0x002f0b] = { 0x00516b },
[0x002f0c] = { 0x005182 },
[0x002f0d] = { 0x005196 },
[0x002f0e] = { 0x0051ab },
[0x002f0f] = { 0x0051e0 },
[0x002f10] = { 0x0051f5 },
[0x002f11] = { 0x005200 },
[0x002f12] = { 0x00529b },
[0x002f13] = { 0x0052f9 },
[0x002f14] = { 0x005315 },
[0x002f15] = { 0x00531a },
[0x002f16] = { 0x005338 },
[0x002f17] = { 0x005341 },
[0x002f18] = { 0x00535c },
[0x002f19] = { 0x005369 },
[0x002f1a] = { 0x005382 },
[0x002f1b] = { 0x0053b6 },
[0x002f1c] = { 0x0053c8 },
[0x002f1d] = { 0x0053e3 },
[0x002f1e] = { 0x0056d7 },
[0x002f1f] = { 0x00571f },
[0x002f20] = { 0x0058eb },
[0x002f21] = { 0x005902 },
[0x002f22] = { 0x00590a },
[0x002f23] = { 0x005915 },
[0x002f24] = { 0x005927 },
[0x002f25] = { 0x005973 },
[0x002f26] = { 0x005b50 },
[0x002f27] = { 0x005b80 },
[0x002f28] = { 0x005bf8 },
[0x002f29] = { 0x005c0f },
[0x002f2a] = { 0x005c22 },
[0x002f2b] = { 0x005c38 },
[0x002f2c] = { 0x005c6e },
[0x002f2d] = { 0x005c71 },
[0x002f2e] = { 0x005ddb },
[0x002f2f] = { 0x005de5 },
[0x002f30] = { 0x005df1 },
[0x002f31] = { 0x005dfe },
[0x002f32] = { 0x005e72 },
[0x002f33] = { 0x005e7a },
[0x002f34] = { 0x005e7f },
[0x002f35] = { 0x005ef4 },
[0x002f36] = { 0x005efe },
[0x002f37] = { 0x005f0b },
[0x002f38] = { 0x005f13 },
[0x002f39] = { 0x005f50 },
[0x002f3a] = { 0x005f61 },
[0x002f3b] = { 0x005f73 },
[0x002f3c] = { 0x005fc3 },
[0x002f3d] = { 0x006208 },
[0x002f3e] = { 0x006236 },
[0x002f3f] = { 0x00624b },
[0x002f40] = { 0x00652f },
[0x002f41] = { 0x006534 },
[0x002f42] = { 0x006587 },
[0x002f43] = { 0x006597 },
[0x002f44] = { 0x0065a4 },
[0x002f45] = { 0x0065b9 },
[0x002f46] = { 0x0065e0 },
[0x002f47] = { 0x0065e5 },
[0x002f48] = { 0x0066f0 },
[0x002f49] = { 0x006708 },
[0x002f4a] = { 0x006728 },
[0x002f4b] = { 0x006b20 },
[0x002f4c] = { 0x006b62 },
[0x002f4d] = { 0x006b79 },
[0x002f4e] = { 0x006bb3 },
[0x002f4f] = { 0x006bcb },
[0x002f50] = { 0x006bd4 },
[0x002f51] = { 0x006bdb },
[0x002f52] = { 0x006c0f },
[0x002f53] = { 0x006c14 },
[0x002f54] = { 0x006c34 },
[0x002f55] = { 0x00706b },
[0x002f56] = { 0x00722a },
[0x002f57] = { 0x007236 },
[0x002f58] = { 0x00723b },
[0x002f59] = { 0x00723f },
[0x002f5a] = { 0x007247 },
[0x002f5b] = { 0x007259 },
[0x002f5c] = { 0x00725b },
[0x002f5d] = { 0x0072ac },
[0x002f5e] = { 0x007384 },
[0x002f5f] = { 0x007389 },
[0x002f60] = { 0x0074dc },
[0x002f61] = { 0x0074e6 },
[0x002f62] = { 0x007518 },
[0x002f63] = { 0x00751f },
[0x002f64] = { 0x007528 },
[0x002f65] = { 0x007530 },
[0x002f66] = { 0x00758b },
[0x002f67] = { 0x007592 },
[0x002f68] = { 0x007676 },
[0x002f69] = { 0x00767d },
[0x002f6a] = { 0x0076ae },
[0x002f6b] = { 0x0076bf },
[0x002f6c] = { 0x0076ee },
[0x002f6d] = { 0x0077db },
[0x002f6e] = { 0x0077e2 },
[0x002f6f] = { 0x0077f3 },
[0x002f70] = { 0x00793a },
[0x002f71] = { 0x0079b8 },
[0x002f72] = { 0x0079be },
[0x002f73] = { 0x007a74 },
[0x002f74] = { 0x007acb },
[0x002f75] = { 0x007af9 },
[0x002f76] = { 0x007c73 },
[0x002f77] = { 0x007cf8 },
[0x002f78] = { 0x007f36 },
[0x002f79] = { 0x007f51 },
[0x002f7a] = { 0x007f8a },
[0x002f7b] = { 0x007fbd },
[0x002f7c] = { 0x008001 },
[0x002f7d] = { 0x00800c },
[0x002f7e] = { 0x008012 },
[0x002f7f] = { 0x008033 },
[0x002f80] = { 0x00807f },
[0x002f81] = { 0x008089 },
[0x002f82] = { 0x0081e3 },
[0x002f83] = { 0x0081ea },
[0x002f84] = { 0x0081f3 },
[0x002f85] = { 0x0081fc },
[0x002f86] = { 0x00820c },
[0x002f87] = { 0x00821b },
[0x002f88] = { 0x00821f },
[0x002f89] = { 0x00826e },
[0x002f8a] = { 0x008272 },
[0x002f8b] = { 0x008278 },
[0x002f8c] = { 0x00864d },
[0x002f8d] = { 0x00866b },
[0x002f8e] = { 0x008840 },
[0x002f8f] = { 0x00884c },
[0x002f90] = { 0x008863 },
[0x002f91] = { 0x00897e },
[0x002f92] = { 0x00898b },
[0x002f93] = { 0x0089d2 },
[0x002f94] = { 0x008a00 },
[0x002f95] = { 0x008c37 },
[0x002f96] = { 0x008c46 },
[0x002f97] = { 0x008c55 },
[0x002f98] = { 0x008c78 },
[0x002f99] = { 0x008c9d },
[0x002f9a] = { 0x008d64 },
[0x002f9b] = { 0x008d70 },
[0x002f9c] = { 0x008db3 },
[0x002f9d] = { 0x008eab },
[0x002f9e] = { 0x008eca },
[0x002f9f] = { 0x008f9b },
[0x002fa0] = { 0x008fb0 },
[0x002fa1] = { 0x008fb5 },
[0x002fa2] = { 0x009091 },
[0x002fa3] = { 0x009149 },
[0x002fa4] = { 0x0091c6 },
[0x002fa5] = { 0x0091cc },
[0x002fa6] = { 0x0091d1 },
[0x002fa7] = { 0x009577 },
[0x002fa8] = { 0x009580 },
[0x002fa9] = { 0x00961c },
[0x002faa] = { 0x0096b6 },
[0x002fab] = { 0x0096b9 },
[0x002fac] = { 0x0096e8 },
[0x002fad] = { 0x009751 },
[0x002fae] = { 0x00975e },
[0x002faf] = { 0x009762 },
[0x002fb0] = { 0x009769 },
[0x002fb1] = { 0x0097cb },
[0x002fb2] = { 0x0097ed },
[0x002fb3] = { 0x0097f3 },
[0x002fb4] = { 0x009801 },
[0x002fb5] = { 0x0098a8 },
[0x002fb6] = { 0x0098db },
[0x002fb7] = { 0x0098df },
[0x002fb8] = { 0x009996 },
[0x002fb9] = { 0x009999 },
[0x002fba] = { 0x0099ac },
[0x002fbb] = { 0x009aa8 },
[0x002fbc] = { 0x009ad8 },
[0x002fbd] = { 0x009adf },
[0x002fbe] = { 0x009b25 },
[0x002fbf] = { 0x009b2f },
[0x002fc0] = { 0x009b32 },
[0x002fc1] = { 0x009b3c },
[0x002fc2] = { 0x009b5a },
[0x002fc3] = { 0x009ce5 },
[0x002fc4] = { 0x009e75 },
[0x002fc5] = { 0x009e7f },
[0x002fc6] = { 0x009ea5 },
[0x002fc7] = { 0x009ebb },
[0x002fc8] = { 0x009ec3 },
[0x002fc9] = { 0x009ecd },
[0x002fca] = { 0x009ed1 },
[0x002fcb] = { 0x009ef9 },
[0x002fcc] = { 0x009efd },
[0x002fcd] = { 0x009f0e },
[0x002fce] = { 0x009f13 },
[0x002fcf] = { 0x009f20 },
[0x002fd0] = { 0x009f3b },
[0x002fd1] = { 0x009f4a },
[0x002fd2] = { 0x009f52 },
[0x002fd3] = { 0x009f8d },
[0x002fd4] = { 0x009f9c },
[0x002fd5] = { 0x009fa0 },
[0x003000] = { 0x000020 },
[0x003036] = { 0x003012 },
[0x003038] = { 0x005341 },
[0x003039] = { 0x005344 },
[0x00303a] = { 0x005345 },
[0x00309b] = { 0x000020, 0x003099 },
[0x00309c] = { 0x000020, 0x00309a },
[0x00309f] = { 0x003088, 0x00308a },
[0x0030ff] = { 0x0030b3, 0x0030c8 },
[0x003131] = { 0x001100 },
[0x003132] = { 0x001101 },
[0x003133] = { 0x0011aa },
[0x003134] = { 0x001102 },
[0x003135] = { 0x0011ac },
[0x003136] = { 0x0011ad },
[0x003137] = { 0x001103 },
[0x003138] = { 0x001104 },
[0x003139] = { 0x001105 },
[0x00313a] = { 0x0011b0 },
[0x00313b] = { 0x0011b1 },
[0x00313c] = { 0x0011b2 },
[0x00313d] = { 0x0011b3 },
[0x00313e] = { 0x0011b4 },
[0x00313f] = { 0x0011b5 },
[0x003140] = { 0x00111a },
[0x003141] = { 0x001106 },
[0x003142] = { 0x001107 },
[0x003143] = { 0x001108 },
[0x003144] = { 0x001121 },
[0x003145] = { 0x001109 },
[0x003146] = { 0x00110a },
[0x003147] = { 0x00110b },
[0x003148] = { 0x00110c },
[0x003149] = { 0x00110d },
[0x00314a] = { 0x00110e },
[0x00314b] = { 0x00110f },
[0x00314c] = { 0x001110 },
[0x00314d] = { 0x001111 },
[0x00314e] = { 0x001112 },
[0x00314f] = { 0x001161 },
[0x003150] = { 0x001162 },
[0x003151] = { 0x001163 },
[0x003152] = { 0x001164 },
[0x003153] = { 0x001165 },
[0x003154] = { 0x001166 },
[0x003155] = { 0x001167 },
[0x003156] = { 0x001168 },
[0x003157] = { 0x001169 },
[0x003158] = { 0x00116a },
[0x003159] = { 0x00116b },
[0x00315a] = { 0x00116c },
[0x00315b] = { 0x00116d },
[0x00315c] = { 0x00116e },
[0x00315d] = { 0x00116f },
[0x00315e] = { 0x001170 },
[0x00315f] = { 0x001171 },
[0x003160] = { 0x001172 },
[0x003161] = { 0x001173 },
[0x003162] = { 0x001174 },
[0x003163] = { 0x001175 },
[0x003164] = { 0x001160 },
[0x003165] = { 0x001114 },
[0x003166] = { 0x001115 },
[0x003167] = { 0x0011c7 },
[0x003168] = { 0x0011c8 },
[0x003169] = { 0x0011cc },
[0x00316a] = { 0x0011ce },
[0x00316b] = { 0x0011d3 },
[0x00316c] = { 0x0011d7 },
[0x00316d] = { 0x0011d9 },
[0x00316e] = { 0x00111c },
[0x00316f] = { 0x0011dd },
[0x003170] = { 0x0011df },
[0x003171] = { 0x00111d },
[0x003172] = { 0x00111e },
[0x003173] = { 0x001120 },
[0x003174] = { 0x001122 },
[0x003175] = { 0x001123 },
[0x003176] = { 0x001127 },
[0x003177] = { 0x001129 },
[0x003178] = { 0x00112b },
[0x003179] = { 0x00112c },
[0x00317a] = { 0x00112d },
[0x00317b] = { 0x00112e },
[0x00317c] = { 0x00112f },
[0x00317d] = { 0x001132 },
[0x00317e] = { 0x001136 },
[0x00317f] = { 0x001140 },
[0x003180] = { 0x001147 },
[0x003181] = { 0x00114c },
[0x003182] = { 0x0011f1 },
[0x003183] = { 0x0011f2 },
[0x003184] = { 0x001157 },
[0x003185] = { 0x001158 },
[0x003186] = { 0x001159 },
[0x003187] = { 0x001184 },
[0x003188] = { 0x001185 },
[0x003189] = { 0x001188 },
[0x00318a] = { 0x001191 },
[0x00318b] = { 0x001192 },
[0x00318c] = { 0x001194 },
[0x00318d] = { 0x00119e },
[0x00318e] = { 0x0011a1 },
[0x003192] = { 0x004e00 },
[0x003193] = { 0x004e8c },
[0x003194] = { 0x004e09 },
[0x003195] = { 0x0056db },
[0x003196] = { 0x004e0a },
[0x003197] = { 0x004e2d },
[0x003198] = { 0x004e0b },
[0x003199] = { 0x007532 },
[0x00319a] = { 0x004e59 },
[0x00319b] = { 0x004e19 },
[0x00319c] = { 0x004e01 },
[0x00319d] = { 0x005929 },
[0x00319e] = { 0x005730 },
[0x00319f] = { 0x004eba },
[0x003200] = { 0x000028, 0x001100, 0x000029 },
[0x003201] = { 0x000028, 0x001102, 0x000029 },
[0x003202] = { 0x000028, 0x001103, 0x000029 },
[0x003203] = { 0x000028, 0x001105, 0x000029 },
[0x003204] = { 0x000028, 0x001106, 0x000029 },
[0x003205] = { 0x000028, 0x001107, 0x000029 },
[0x003206] = { 0x000028, 0x001109, 0x000029 },
[0x003207] = { 0x000028, 0x00110b, 0x000029 },
[0x003208] = { 0x000028, 0x00110c, 0x000029 },
[0x003209] = { 0x000028, 0x00110e, 0x000029 },
[0x00320a] = { 0x000028, 0x00110f, 0x000029 },
[0x00320b] = { 0x000028, 0x001110, 0x000029 },
[0x00320c] = { 0x000028, 0x001111, 0x000029 },
[0x00320d] = { 0x000028, 0x001112, 0x000029 },
[0x00320e] = { 0x000028, 0x001100, 0x001161, 0x000029 },
[0x00320f] = { 0x000028, 0x001102, 0x001161, 0x000029 },
[0x003210] = { 0x000028, 0x001103, 0x001161, 0x000029 },
[0x003211] = { 0x000028, 0x001105, 0x001161, 0x000029 },
[0x003212] = { 0x000028, 0x001106, 0x001161, 0x000029 },
[0x003213] = { 0x000028, 0x001107, 0x001161, 0x000029 },
[0x003214] = { 0x000028, 0x001109, 0x001161, 0x000029 },
[0x003215] = { 0x000028, 0x00110b, 0x001161, 0x000029 },
[0x003216] = { 0x000028, 0x00110c, 0x001161, 0x000029 },
[0x003217] = { 0x000028, 0x00110e, 0x001161, 0x000029 },
[0x003218] = { 0x000028, 0x00110f, 0x001161, 0x000029 },
[0x003219] = { 0x000028, 0x001110, 0x001161, 0x000029 },
[0x00321a] = { 0x000028, 0x001111, 0x001161, 0x000029 },
[0x00321b] = { 0x000028, 0x001112, 0x001161, 0x000029 },
[0x00321c] = { 0x000028, 0x00110c, 0x00116e, 0x000029 },
[0x00321d] = { 0x000028, 0x00110b, 0x001169, 0x00110c, 0x001165, 0x0011ab, 0x000029 },
[0x00321e] = { 0x000028, 0x00110b, 0x001169, 0x001112, 0x00116e, 0x000029 },
[0x003220] = { 0x000028, 0x004e00, 0x000029 },
[0x003221] = { 0x000028, 0x004e8c, 0x000029 },
[0x003222] = { 0x000028, 0x004e09, 0x000029 },
[0x003223] = { 0x000028, 0x0056db, 0x000029 },
[0x003224] = { 0x000028, 0x004e94, 0x000029 },
[0x003225] = { 0x000028, 0x00516d, 0x000029 },
[0x003226] = { 0x000028, 0x004e03, 0x000029 },
[0x003227] = { 0x000028, 0x00516b, 0x000029 },
[0x003228] = { 0x000028, 0x004e5d, 0x000029 },
[0x003229] = { 0x000028, 0x005341, 0x000029 },
[0x00322a] = { 0x000028, 0x006708, 0x000029 },
[0x00322b] = { 0x000028, 0x00706b, 0x000029 },
[0x00322c] = { 0x000028, 0x006c34, 0x000029 },
[0x00322d] = { 0x000028, 0x006728, 0x000029 },
[0x00322e] = { 0x000028, 0x0091d1, 0x000029 },
[0x00322f] = { 0x000028, 0x00571f, 0x000029 },
[0x003230] = { 0x000028, 0x0065e5, 0x000029 },
[0x003231] = { 0x000028, 0x00682a, 0x000029 },
[0x003232] = { 0x000028, 0x006709, 0x000029 },
[0x003233] = { 0x000028, 0x00793e, 0x000029 },
[0x003234] = { 0x000028, 0x00540d, 0x000029 },
[0x003235] = { 0x000028, 0x007279, 0x000029 },
[0x003236] = { 0x000028, 0x008ca1, 0x000029 },
[0x003237] = { 0x000028, 0x00795d, 0x000029 },
[0x003238] = { 0x000028, 0x0052b4, 0x000029 },
[0x003239] = { 0x000028, 0x004ee3, 0x000029 },
[0x00323a] = { 0x000028, 0x00547c, 0x000029 },
[0x00323b] = { 0x000028, 0x005b66, 0x000029 },
[0x00323c] = { 0x000028, 0x0076e3, 0x000029 },
[0x00323d] = { 0x000028, 0x004f01, 0x000029 },
[0x00323e] = { 0x000028, 0x008cc7, 0x000029 },
[0x00323f] = { 0x000028, 0x005354, 0x000029 },
[0x003240] = { 0x000028, 0x00796d, 0x000029 },
[0x003241] = { 0x000028, 0x004f11, 0x000029 },
[0x003242] = { 0x000028, 0x0081ea, 0x000029 },
[0x003243] = { 0x000028, 0x0081f3, 0x000029 },
[0x003244] = { 0x00554f },
[0x003245] = { 0x005e7c },
[0x003246] = { 0x006587 },
[0x003247] = { 0x007b8f },
[0x003250] = { 0x000050, 0x000054, 0x000045 },
[0x003251] = { 0x000032, 0x000031 },
[0x003252] = { 0x000032, 0x000032 },
[0x003253] = { 0x000032, 0x000033 },
[0x003254] = { 0x000032, 0x000034 },
[0x003255] = { 0x000032, 0x000035 },
[0x003256] = { 0x000032, 0x000036 },
[0x003257] = { 0x000032, 0x000037 },
[0x003258] = { 0x000032, 0x000038 },
[0x003259] = { 0x000032, 0x000039 },
[0x00325a] = { 0x000033, 0x000030 },
[0x00325b] = { 0x000033, 0x000031 },
[0x00325c] = { 0x000033, 0x000032 },
[0x00325d] = { 0x000033, 0x000033 },
[0x00325e] = { 0x000033, 0x000034 },
[0x00325f] = { 0x000033, 0x000035 },
[0x003260] = { 0x001100 },
[0x003261] = { 0x001102 },
[0x003262] = { 0x001103 },
[0x003263] = { 0x001105 },
[0x003264] = { 0x001106 },
[0x003265] = { 0x001107 },
[0x003266] = { 0x001109 },
[0x003267] = { 0x00110b },
[0x003268] = { 0x00110c },
[0x003269] = { 0x00110e },
[0x00326a] = { 0x00110f },
[0x00326b] = { 0x001110 },
[0x00326c] = { 0x001111 },
[0x00326d] = { 0x001112 },
[0x00326e] = { 0x001100, 0x001161 },
[0x00326f] = { 0x001102, 0x001161 },
[0x003270] = { 0x001103, 0x001161 },
[0x003271] = { 0x001105, 0x001161 },
[0x003272] = { 0x001106, 0x001161 },
[0x003273] = { 0x001107, 0x001161 },
[0x003274] = { 0x001109, 0x001161 },
[0x003275] = { 0x00110b, 0x001161 },
[0x003276] = { 0x00110c, 0x001161 },
[0x003277] = { 0x00110e, 0x001161 },
[0x003278] = { 0x00110f, 0x001161 },
[0x003279] = { 0x001110, 0x001161 },
[0x00327a] = { 0x001111, 0x001161 },
[0x00327b] = { 0x001112, 0x001161 },
[0x00327c] = { 0x00110e, 0x001161, 0x0011b7, 0x001100, 0x001169 },
[0x00327d] = { 0x00110c, 0x00116e, 0x00110b, 0x001174 },
[0x00327e] = { 0x00110b, 0x00116e },
[0x003280] = { 0x004e00 },
[0x003281] = { 0x004e8c },
[0x003282] = { 0x004e09 },
[0x003283] = { 0x0056db },
[0x003284] = { 0x004e94 },
[0x003285] = { 0x00516d },
[0x003286] = { 0x004e03 },
[0x003287] = { 0x00516b },
[0x003288] = { 0x004e5d },
[0x003289] = { 0x005341 },
[0x00328a] = { 0x006708 },
[0x00328b] = { 0x00706b },
[0x00328c] = { 0x006c34 },
[0x00328d] = { 0x006728 },
[0x00328e] = { 0x0091d1 },
[0x00328f] = { 0x00571f },
[0x003290] = { 0x0065e5 },
[0x003291] = { 0x00682a },
[0x003292] = { 0x006709 },
[0x003293] = { 0x00793e },
[0x003294] = { 0x00540d },
[0x003295] = { 0x007279 },
[0x003296] = { 0x008ca1 },
[0x003297] = { 0x00795d },
[0x003298] = { 0x0052b4 },
[0x003299] = { 0x0079d8 },
[0x00329a] = { 0x007537 },
[0x00329b] = { 0x005973 },
[0x00329c] = { 0x009069 },
[0x00329d] = { 0x00512a },
[0x00329e] = { 0x005370 },
[0x00329f] = { 0x006ce8 },
[0x0032a0] = { 0x009805 },
[0x0032a1] = { 0x004f11 },
[0x0032a2] = { 0x005199 },
[0x0032a3] = { 0x006b63 },
[0x0032a4] = { 0x004e0a },
[0x0032a5] = { 0x004e2d },
[0x0032a6] = { 0x004e0b },
[0x0032a7] = { 0x005de6 },
[0x0032a8] = { 0x0053f3 },
[0x0032a9] = { 0x00533b },
[0x0032aa] = { 0x005b97 },
[0x0032ab] = { 0x005b66 },
[0x0032ac] = { 0x0076e3 },
[0x0032ad] = { 0x004f01 },
[0x0032ae] = { 0x008cc7 },
[0x0032af] = { 0x005354 },
[0x0032b0] = { 0x00591c },
[0x0032b1] = { 0x000033, 0x000036 },
[0x0032b2] = { 0x000033, 0x000037 },
[0x0032b3] = { 0x000033, 0x000038 },
[0x0032b4] = { 0x000033, 0x000039 },
[0x0032b5] = { 0x000034, 0x000030 },
[0x0032b6] = { 0x000034, 0x000031 },
[0x0032b7] = { 0x000034, 0x000032 },
[0x0032b8] = { 0x000034, 0x000033 },
[0x0032b9] = { 0x000034, 0x000034 },
[0x0032ba] = { 0x000034, 0x000035 },
[0x0032bb] = { 0x000034, 0x000036 },
[0x0032bc] = { 0x000034, 0x000037 },
[0x0032bd] = { 0x000034, 0x000038 },
[0x0032be] = { 0x000034, 0x000039 },
[0x0032bf] = { 0x000035, 0x000030 },
[0x0032c0] = { 0x000031, 0x006708 },
[0x0032c1] = { 0x000032, 0x006708 },
[0x0032c2] = { 0x000033, 0x006708 },
[0x0032c3] = { 0x000034, 0x006708 },
[0x0032c4] = { 0x000035, 0x006708 },
[0x0032c5] = { 0x000036, 0x006708 },
[0x0032c6] = { 0x000037, 0x006708 },
[0x0032c7] = { 0x000038, 0x006708 },
[0x0032c8] = { 0x000039, 0x006708 },
[0x0032c9] = { 0x000031, 0x000030, 0x006708 },
[0x0032ca] = { 0x000031, 0x000031, 0x006708 },
[0x0032cb] = { 0x000031, 0x000032, 0x006708 },
[0x0032cc] = { 0x000048, 0x000067 },
[0x0032cd] = { 0x000065, 0x000072, 0x000067 },
[0x0032ce] = { 0x000065, 0x000056 },
[0x0032cf] = { 0x00004c, 0x000054, 0x000044 },
[0x0032d0] = { 0x0030a2 },
[0x0032d1] = { 0x0030a4 },
[0x0032d2] = { 0x0030a6 },
[0x0032d3] = { 0x0030a8 },
[0x0032d4] = { 0x0030aa },
[0x0032d5] = { 0x0030ab },
[0x0032d6] = { 0x0030ad },
[0x0032d7] = { 0x0030af },
[0x0032d8] = { 0x0030b1 },
[0x0032d9] = { 0x0030b3 },
[0x0032da] = { 0x0030b5 },
[0x0032db] = { 0x0030b7 },
[0x0032dc] = { 0x0030b9 },
[0x0032dd] = { 0x0030bb },
[0x0032de] = { 0x0030bd },
[0x0032df] = { 0x0030bf },
[0x0032e0] = { 0x0030c1 },
[0x0032e1] = { 0x0030c4 },
[0x0032e2] = { 0x0030c6 },
[0x0032e3] = { 0x0030c8 },
[0x0032e4] = { 0x0030ca },
[0x0032e5] = { 0x0030cb },
[0x0032e6] = { 0x0030cc },
[0x0032e7] = { 0x0030cd },
[0x0032e8] = { 0x0030ce },
[0x0032e9] = { 0x0030cf },
[0x0032ea] = { 0x0030d2 },
[0x0032eb] = { 0x0030d5 },
[0x0032ec] = { 0x0030d8 },
[0x0032ed] = { 0x0030db },
[0x0032ee] = { 0x0030de },
[0x0032ef] = { 0x0030df },
[0x0032f0] = { 0x0030e0 },
[0x0032f1] = { 0x0030e1 },
[0x0032f2] = { 0x0030e2 },
[0x0032f3] = { 0x0030e4 },
[0x0032f4] = { 0x0030e6 },
[0x0032f5] = { 0x0030e8 },
[0x0032f6] = { 0x0030e9 },
[0x0032f7] = { 0x0030ea },
[0x0032f8] = { 0x0030eb },
[0x0032f9] = { 0x0030ec },
[0x0032fa] = { 0x0030ed },
[0x0032fb] = { 0x0030ef },
[0x0032fc] = { 0x0030f0 },
[0x0032fd] = { 0x0030f1 },
[0x0032fe] = { 0x0030f2 },
[0x003300] = { 0x0030a2, 0x0030cf, 0x00309a, 0x0030fc, 0x0030c8 },
[0x003301] = { 0x0030a2, 0x0030eb, 0x0030d5, 0x0030a1 },
[0x003302] = { 0x0030a2, 0x0030f3, 0x0030d8, 0x00309a, 0x0030a2 },
[0x003303] = { 0x0030a2, 0x0030fc, 0x0030eb },
[0x003304] = { 0x0030a4, 0x0030cb, 0x0030f3, 0x0030af, 0x003099 },
[0x003305] = { 0x0030a4, 0x0030f3, 0x0030c1 },
[0x003306] = { 0x0030a6, 0x0030a9, 0x0030f3 },
[0x003307] = { 0x0030a8, 0x0030b9, 0x0030af, 0x0030fc, 0x0030c8, 0x003099 },
[0x003308] = { 0x0030a8, 0x0030fc, 0x0030ab, 0x0030fc },
[0x003309] = { 0x0030aa, 0x0030f3, 0x0030b9 },
[0x00330a] = { 0x0030aa, 0x0030fc, 0x0030e0 },
[0x00330b] = { 0x0030ab, 0x0030a4, 0x0030ea },
[0x00330c] = { 0x0030ab, 0x0030e9, 0x0030c3, 0x0030c8 },
[0x00330d] = { 0x0030ab, 0x0030ed, 0x0030ea, 0x0030fc },
[0x00330e] = { 0x0030ab, 0x003099, 0x0030ed, 0x0030f3 },
[0x00330f] = { 0x0030ab, 0x003099, 0x0030f3, 0x0030de },
[0x003310] = { 0x0030ad, 0x003099, 0x0030ab, 0x003099 },
[0x003311] = { 0x0030ad, 0x003099, 0x0030cb, 0x0030fc },
[0x003312] = { 0x0030ad, 0x0030e5, 0x0030ea, 0x0030fc },
[0x003313] = { 0x0030ad, 0x003099, 0x0030eb, 0x0030bf, 0x003099, 0x0030fc },
[0x003314] = { 0x0030ad, 0x0030ed },
[0x003315] = { 0x0030ad, 0x0030ed, 0x0030af, 0x003099, 0x0030e9, 0x0030e0 },
[0x003316] = { 0x0030ad, 0x0030ed, 0x0030e1, 0x0030fc, 0x0030c8, 0x0030eb },
[0x003317] = { 0x0030ad, 0x0030ed, 0x0030ef, 0x0030c3, 0x0030c8 },
[0x003318] = { 0x0030af, 0x003099, 0x0030e9, 0x0030e0 },
[0x003319] = { 0x0030af, 0x003099, 0x0030e9, 0x0030e0, 0x0030c8, 0x0030f3 },
[0x00331a] = { 0x0030af, 0x0030eb, 0x0030bb, 0x003099, 0x0030a4, 0x0030ed },
[0x00331b] = { 0x0030af, 0x0030ed, 0x0030fc, 0x0030cd },
[0x00331c] = { 0x0030b1, 0x0030fc, 0x0030b9 },
[0x00331d] = { 0x0030b3, 0x0030eb, 0x0030ca },
[0x00331e] = { 0x0030b3, 0x0030fc, 0x0030db, 0x00309a },
[0x00331f] = { 0x0030b5, 0x0030a4, 0x0030af, 0x0030eb },
[0x003320] = { 0x0030b5, 0x0030f3, 0x0030c1, 0x0030fc, 0x0030e0 },
[0x003321] = { 0x0030b7, 0x0030ea, 0x0030f3, 0x0030af, 0x003099 },
[0x003322] = { 0x0030bb, 0x0030f3, 0x0030c1 },
[0x003323] = { 0x0030bb, 0x0030f3, 0x0030c8 },
[0x003324] = { 0x0030bf, 0x003099, 0x0030fc, 0x0030b9 },
[0x003325] = { 0x0030c6, 0x003099, 0x0030b7 },
[0x003326] = { 0x0030c8, 0x003099, 0x0030eb },
[0x003327] = { 0x0030c8, 0x0030f3 },
[0x003328] = { 0x0030ca, 0x0030ce },
[0x003329] = { 0x0030ce, 0x0030c3, 0x0030c8 },
[0x00332a] = { 0x0030cf, 0x0030a4, 0x0030c4 },
[0x00332b] = { 0x0030cf, 0x00309a, 0x0030fc, 0x0030bb, 0x0030f3, 0x0030c8 },
[0x00332c] = { 0x0030cf, 0x00309a, 0x0030fc, 0x0030c4 },
[0x00332d] = { 0x0030cf, 0x003099, 0x0030fc, 0x0030ec, 0x0030eb },
[0x00332e] = { 0x0030d2, 0x00309a, 0x0030a2, 0x0030b9, 0x0030c8, 0x0030eb },
[0x00332f] = { 0x0030d2, 0x00309a, 0x0030af, 0x0030eb },
[0x003330] = { 0x0030d2, 0x00309a, 0x0030b3 },
[0x003331] = { 0x0030d2, 0x003099, 0x0030eb },
[0x003332] = { 0x0030d5, 0x0030a1, 0x0030e9, 0x0030c3, 0x0030c8, 0x003099 },
[0x003333] = { 0x0030d5, 0x0030a3, 0x0030fc, 0x0030c8 },
[0x003334] = { 0x0030d5, 0x003099, 0x0030c3, 0x0030b7, 0x0030a7, 0x0030eb },
[0x003335] = { 0x0030d5, 0x0030e9, 0x0030f3 },
[0x003336] = { 0x0030d8, 0x0030af, 0x0030bf, 0x0030fc, 0x0030eb },
[0x003337] = { 0x0030d8, 0x00309a, 0x0030bd },
[0x003338] = { 0x0030d8, 0x00309a, 0x0030cb, 0x0030d2 },
[0x003339] = { 0x0030d8, 0x0030eb, 0x0030c4 },
[0x00333a] = { 0x0030d8, 0x00309a, 0x0030f3, 0x0030b9 },
[0x00333b] = { 0x0030d8, 0x00309a, 0x0030fc, 0x0030b7, 0x003099 },
[0x00333c] = { 0x0030d8, 0x003099, 0x0030fc, 0x0030bf },
[0x00333d] = { 0x0030db, 0x00309a, 0x0030a4, 0x0030f3, 0x0030c8 },
[0x00333e] = { 0x0030db, 0x003099, 0x0030eb, 0x0030c8 },
[0x00333f] = { 0x0030db, 0x0030f3 },
[0x003340] = { 0x0030db, 0x00309a, 0x0030f3, 0x0030c8, 0x003099 },
[0x003341] = { 0x0030db, 0x0030fc, 0x0030eb },
[0x003342] = { 0x0030db, 0x0030fc, 0x0030f3 },
[0x003343] = { 0x0030de, 0x0030a4, 0x0030af, 0x0030ed },
[0x003344] = { 0x0030de, 0x0030a4, 0x0030eb },
[0x003345] = { 0x0030de, 0x0030c3, 0x0030cf },
[0x003346] = { 0x0030de, 0x0030eb, 0x0030af },
[0x003347] = { 0x0030de, 0x0030f3, 0x0030b7, 0x0030e7, 0x0030f3 },
[0x003348] = { 0x0030df, 0x0030af, 0x0030ed, 0x0030f3 },
[0x003349] = { 0x0030df, 0x0030ea },
[0x00334a] = { 0x0030df, 0x0030ea, 0x0030cf, 0x003099, 0x0030fc, 0x0030eb },
[0x00334b] = { 0x0030e1, 0x0030ab, 0x003099 },
[0x00334c] = { 0x0030e1, 0x0030ab, 0x003099, 0x0030c8, 0x0030f3 },
[0x00334d] = { 0x0030e1, 0x0030fc, 0x0030c8, 0x0030eb },
[0x00334e] = { 0x0030e4, 0x0030fc, 0x0030c8, 0x003099 },
[0x00334f] = { 0x0030e4, 0x0030fc, 0x0030eb },
[0x003350] = { 0x0030e6, 0x0030a2, 0x0030f3 },
[0x003351] = { 0x0030ea, 0x0030c3, 0x0030c8, 0x0030eb },
[0x003352] = { 0x0030ea, 0x0030e9 },
[0x003353] = { 0x0030eb, 0x0030d2, 0x00309a, 0x0030fc },
[0x003354] = { 0x0030eb, 0x0030fc, 0x0030d5, 0x003099, 0x0030eb },
[0x003355] = { 0x0030ec, 0x0030e0 },
[0x003356] = { 0x0030ec, 0x0030f3, 0x0030c8, 0x0030b1, 0x003099, 0x0030f3 },
[0x003357] = { 0x0030ef, 0x0030c3, 0x0030c8 },
[0x003358] = { 0x000030, 0x0070b9 },
[0x003359] = { 0x000031, 0x0070b9 },
[0x00335a] = { 0x000032, 0x0070b9 },
[0x00335b] = { 0x000033, 0x0070b9 },
[0x00335c] = { 0x000034, 0x0070b9 },
[0x00335d] = { 0x000035, 0x0070b9 },
[0x00335e] = { 0x000036, 0x0070b9 },
[0x00335f] = { 0x000037, 0x0070b9 },
[0x003360] = { 0x000038, 0x0070b9 },
[0x003361] = { 0x000039, 0x0070b9 },
[0x003362] = { 0x000031, 0x000030, 0x0070b9 },
[0x003363] = { 0x000031, 0x000031, 0x0070b9 },
[0x003364] = { 0x000031, 0x000032, 0x0070b9 },
[0x003365] = { 0x000031, 0x000033, 0x0070b9 },
[0x003366] = { 0x000031, 0x000034, 0x0070b9 },
[0x003367] = { 0x000031, 0x000035, 0x0070b9 },
[0x003368] = { 0x000031, 0x000036, 0x0070b9 },
[0x003369] = { 0x000031, 0x000037, 0x0070b9 },
[0x00336a] = { 0x000031, 0x000038, 0x0070b9 },
[0x00336b] = { 0x000031, 0x000039, 0x0070b9 },
[0x00336c] = { 0x000032, 0x000030, 0x0070b9 },
[0x00336d] = { 0x000032, 0x000031, 0x0070b9 },
[0x00336e] = { 0x000032, 0x000032, 0x0070b9 },
[0x00336f] = { 0x000032, 0x000033, 0x0070b9 },
[0x003370] = { 0x000032, 0x000034, 0x0070b9 },
[0x003371] = { 0x000068, 0x000050, 0x000061 },
[0x003372] = { 0x000064, 0x000061 },
[0x003373] = { 0x000041, 0x000055 },
[0x003374] = { 0x000062, 0x000061, 0x000072 },
[0x003375] = { 0x00006f, 0x000056 },
[0x003376] = { 0x000070, 0x000063 },
[0x003377] = { 0x000064, 0x00006d },
[0x003378] = { 0x000064, 0x00006d, 0x000032 },
[0x003379] = { 0x000064, 0x00006d, 0x000033 },
[0x00337a] = { 0x000049, 0x000055 },
[0x00337b] = { 0x005e73, 0x006210 },
[0x00337c] = { 0x00662d, 0x00548c },
[0x00337d] = { 0x005927, 0x006b63 },
[0x00337e] = { 0x00660e, 0x006cbb },
[0x00337f] = { 0x00682a, 0x005f0f, 0x004f1a, 0x00793e },
[0x003380] = { 0x000070, 0x000041 },
[0x003381] = { 0x00006e, 0x000041 },
[0x003382] = { 0x0003bc, 0x000041 },
[0x003383] = { 0x00006d, 0x000041 },
[0x003384] = { 0x00006b, 0x000041 },
[0x003385] = { 0x00004b, 0x000042 },
[0x003386] = { 0x00004d, 0x000042 },
[0x003387] = { 0x000047, 0x000042 },
[0x003388] = { 0x000063, 0x000061, 0x00006c },
[0x003389] = { 0x00006b, 0x000063, 0x000061, 0x00006c },
[0x00338a] = { 0x000070, 0x000046 },
[0x00338b] = { 0x00006e, 0x000046 },
[0x00338c] = { 0x0003bc, 0x000046 },
[0x00338d] = { 0x0003bc, 0x000067 },
[0x00338e] = { 0x00006d, 0x000067 },
[0x00338f] = { 0x00006b, 0x000067 },
[0x003390] = { 0x000048, 0x00007a },
[0x003391] = { 0x00006b, 0x000048, 0x00007a },
[0x003392] = { 0x00004d, 0x000048, 0x00007a },
[0x003393] = { 0x000047, 0x000048, 0x00007a },
[0x003394] = { 0x000054, 0x000048, 0x00007a },
[0x003395] = { 0x0003bc, 0x00006c },
[0x003396] = { 0x00006d, 0x00006c },
[0x003397] = { 0x000064, 0x00006c },
[0x003398] = { 0x00006b, 0x00006c },
[0x003399] = { 0x000066, 0x00006d },
[0x00339a] = { 0x00006e, 0x00006d },
[0x00339b] = { 0x0003bc, 0x00006d },
[0x00339c] = { 0x00006d, 0x00006d },
[0x00339d] = { 0x000063, 0x00006d },
[0x00339e] = { 0x00006b, 0x00006d },
[0x00339f] = { 0x00006d, 0x00006d, 0x000032 },
[0x0033a0] = { 0x000063, 0x00006d, 0x000032 },
[0x0033a1] = { 0x00006d, 0x000032 },
[0x0033a2] = { 0x00006b, 0x00006d, 0x000032 },
[0x0033a3] = { 0x00006d, 0x00006d, 0x000033 },
[0x0033a4] = { 0x000063, 0x00006d, 0x000033 },
[0x0033a5] = { 0x00006d, 0x000033 },
[0x0033a6] = { 0x00006b, 0x00006d, 0x000033 },
[0x0033a7] = { 0x00006d, 0x002215, 0x000073 },
[0x0033a8] = { 0x00006d, 0x002215, 0x000073, 0x000032 },
[0x0033a9] = { 0x000050, 0x000061 },
[0x0033aa] = { 0x00006b, 0x000050, 0x000061 },
[0x0033ab] = { 0x00004d, 0x000050, 0x000061 },
[0x0033ac] = { 0x000047, 0x000050, 0x000061 },
[0x0033ad] = { 0x000072, 0x000061, 0x000064 },
[0x0033ae] = { 0x000072, 0x000061, 0x000064, 0x002215, 0x000073 },
[0x0033af] = { 0x000072, 0x000061, 0x000064, 0x002215, 0x000073, 0x000032 },
[0x0033b0] = { 0x000070, 0x000073 },
[0x0033b1] = { 0x00006e, 0x000073 },
[0x0033b2] = { 0x0003bc, 0x000073 },
[0x0033b3] = { 0x00006d, 0x000073 },
[0x0033b4] = { 0x000070, 0x000056 },
[0x0033b5] = { 0x00006e, 0x000056 },
[0x0033b6] = { 0x0003bc, 0x000056 },
[0x0033b7] = { 0x00006d, 0x000056 },
[0x0033b8] = { 0x00006b, 0x000056 },
[0x0033b9] = { 0x00004d, 0x000056 },
[0x0033ba] = { 0x000070, 0x000057 },
[0x0033bb] = { 0x00006e, 0x000057 },
[0x0033bc] = { 0x0003bc, 0x000057 },
[0x0033bd] = { 0x00006d, 0x000057 },
[0x0033be] = { 0x00006b, 0x000057 },
[0x0033bf] = { 0x00004d, 0x000057 },
[0x0033c0] = { 0x00006b, 0x0003a9 },
[0x0033c1] = { 0x00004d, 0x0003a9 },
[0x0033c2] = { 0x000061, 0x00002e, 0x00006d, 0x00002e },
[0x0033c3] = { 0x000042, 0x000071 },
[0x0033c4] = { 0x000063, 0x000063 },
[0x0033c5] = { 0x000063, 0x000064 },
[0x0033c6] = { 0x000043, 0x002215, 0x00006b, 0x000067 },
[0x0033c7] = { 0x000043, 0x00006f, 0x00002e },
[0x0033c8] = { 0x000064, 0x000042 },
[0x0033c9] = { 0x000047, 0x000079 },
[0x0033ca] = { 0x000068, 0x000061 },
[0x0033cb] = { 0x000048, 0x000050 },
[0x0033cc] = { 0x000069, 0x00006e },
[0x0033cd] = { 0x00004b, 0x00004b },
[0x0033ce] = { 0x00004b, 0x00004d },
[0x0033cf] = { 0x00006b, 0x000074 },
[0x0033d0] = { 0x00006c, 0x00006d },
[0x0033d1] = { 0x00006c, 0x00006e },
[0x0033d2] = { 0x00006c, 0x00006f, 0x000067 },
[0x0033d3] = { 0x00006c, 0x000078 },
[0x0033d4] = { 0x00006d, 0x000062 },
[0x0033d5] = { 0x00006d, 0x000069, 0x00006c },
[0x0033d6] = { 0x00006d, 0x00006f, 0x00006c },
[0x0033d7] = { 0x000050, 0x000048 },
[0x0033d8] = { 0x000070, 0x00002e, 0x00006d, 0x00002e },
[0x0033d9] = { 0x000050, 0x000050, 0x00004d },
[0x0033da] = { 0x000050, 0x000052 },
[0x0033db] = { 0x000073, 0x000072 },
[0x0033dc] = { 0x000053, 0x000076 },
[0x0033dd] = { 0x000057, 0x000062 },
[0x0033de] = { 0x000056, 0x002215, 0x00006d },
[0x0033df] = { 0x000041, 0x002215, 0x00006d },
[0x0033e0] = { 0x000031, 0x0065e5 },
[0x0033e1] = { 0x000032, 0x0065e5 },
[0x0033e2] = { 0x000033, 0x0065e5 },
[0x0033e3] = { 0x000034, 0x0065e5 },
[0x0033e4] = { 0x000035, 0x0065e5 },
[0x0033e5] = { 0x000036, 0x0065e5 },
[0x0033e6] = { 0x000037, 0x0065e5 },
[0x0033e7] = { 0x000038, 0x0065e5 },
[0x0033e8] = { 0x000039, 0x0065e5 },
[0x0033e9] = { 0x000031, 0x000030, 0x0065e5 },
[0x0033ea] = { 0x000031, 0x000031, 0x0065e5 },
[0x0033eb] = { 0x000031, 0x000032, 0x0065e5 },
[0x0033ec] = { 0x000031, 0x000033, 0x0065e5 },
[0x0033ed] = { 0x000031, 0x000034, 0x0065e5 },
[0x0033ee] = { 0x000031, 0x000035, 0x0065e5 },
[0x0033ef] = { 0x000031, 0x000036, 0x0065e5 },
[0x0033f0] = { 0x000031, 0x000037, 0x0065e5 },
[0x0033f1] = { 0x000031, 0x000038, 0x0065e5 },
[0x0033f2] = { 0x000031, 0x000039, 0x0065e5 },
[0x0033f3] = { 0x000032, 0x000030, 0x0065e5 },
[0x0033f4] = { 0x000032, 0x000031, 0x0065e5 },
[0x0033f5] = { 0x000032, 0x000032, 0x0065e5 },
[0x0033f6] = { 0x000032, 0x000033, 0x0065e5 },
[0x0033f7] = { 0x000032, 0x000034, 0x0065e5 },
[0x0033f8] = { 0x000032, 0x000035, 0x0065e5 },
[0x0033f9] = { 0x000032, 0x000036, 0x0065e5 },
[0x0033fa] = { 0x000032, 0x000037, 0x0065e5 },
[0x0033fb] = { 0x000032, 0x000038, 0x0065e5 },
[0x0033fc] = { 0x000032, 0x000039, 0x0065e5 },
[0x0033fd] = { 0x000033, 0x000030, 0x0065e5 },
[0x0033fe] = { 0x000033, 0x000031, 0x0065e5 },
[0x0033ff] = { 0x000067, 0x000061, 0x00006c },
[0x00a770] = { 0x00a76f },
[0x00a7f8] = { 0x000126 },
[0x00a7f9] = { 0x000153 },
[0x00fb00] = { 0x000066, 0x000066 },
[0x00fb01] = { 0x000066, 0x000069 },
[0x00fb02] = { 0x000066, 0x00006c },
[0x00fb03] = { 0x000066, 0x000066, 0x000069 },
[0x00fb04] = { 0x000066, 0x000066, 0x00006c },
[0x00fb05] = { 0x000073, 0x000074 },
[0x00fb06] = { 0x000073, 0x000074 },
[0x00fb13] = { 0x000574, 0x000576 },
[0x00fb14] = { 0x000574, 0x000565 },
[0x00fb15] = { 0x000574, 0x00056b },
[0x00fb16] = { 0x00057e, 0x000576 },
[0x00fb17] = { 0x000574, 0x00056d },
[0x00fb20] = { 0x0005e2 },
[0x00fb21] = { 0x0005d0 },
[0x00fb22] = { 0x0005d3 },
[0x00fb23] = { 0x0005d4 },
[0x00fb24] = { 0x0005db },
[0x00fb25] = { 0x0005dc },
[0x00fb26] = { 0x0005dd },
[0x00fb27] = { 0x0005e8 },
[0x00fb28] = { 0x0005ea },
[0x00fb29] = { 0x00002b },
[0x00fb4f] = { 0x0005d0, 0x0005dc },
[0x00fb50] = { 0x000671 },
[0x00fb51] = { 0x000671 },
[0x00fb52] = { 0x00067b },
[0x00fb53] = { 0x00067b },
[0x00fb54] = { 0x00067b },
[0x00fb55] = { 0x00067b },
[0x00fb56] = { 0x00067e },
[0x00fb57] = { 0x00067e },
[0x00fb58] = { 0x00067e },
[0x00fb59] = { 0x00067e },
[0x00fb5a] = { 0x000680 },
[0x00fb5b] = { 0x000680 },
[0x00fb5c] = { 0x000680 },
[0x00fb5d] = { 0x000680 },
[0x00fb5e] = { 0x00067a },
[0x00fb5f] = { 0x00067a },
[0x00fb60] = { 0x00067a },
[0x00fb61] = { 0x00067a },
[0x00fb62] = { 0x00067f },
[0x00fb63] = { 0x00067f },
[0x00fb64] = { 0x00067f },
[0x00fb65] = { 0x00067f },
[0x00fb66] = { 0x000679 },
[0x00fb67] = { 0x000679 },
[0x00fb68] = { 0x000679 },
[0x00fb69] = { 0x000679 },
[0x00fb6a] = { 0x0006a4 },
[0x00fb6b] = { 0x0006a4 },
[0x00fb6c] = { 0x0006a4 },
[0x00fb6d] = { 0x0006a4 },
[0x00fb6e] = { 0x0006a6 },
[0x00fb6f] = { 0x0006a6 },
[0x00fb70] = { 0x0006a6 },
[0x00fb71] = { 0x0006a6 },
[0x00fb72] = { 0x000684 },
[0x00fb73] = { 0x000684 },
[0x00fb74] = { 0x000684 },
[0x00fb75] = { 0x000684 },
[0x00fb76] = { 0x000683 },
[0x00fb77] = { 0x000683 },
[0x00fb78] = { 0x000683 },
[0x00fb79] = { 0x000683 },
[0x00fb7a] = { 0x000686 },
[0x00fb7b] = { 0x000686 },
[0x00fb7c] = { 0x000686 },
[0x00fb7d] = { 0x000686 },
[0x00fb7e] = { 0x000687 },
[0x00fb7f] = { 0x000687 },
[0x00fb80] = { 0x000687 },
[0x00fb81] = { 0x000687 },
[0x00fb82] = { 0x00068d },
[0x00fb83] = { 0x00068d },
[0x00fb84] = { 0x00068c },
[0x00fb85] = { 0x00068c },
[0x00fb86] = { 0x00068e },
[0x00fb87] = { 0x00068e },
[0x00fb88] = { 0x000688 },
[0x00fb89] = { 0x000688 },
[0x00fb8a] = { 0x000698 },
[0x00fb8b] = { 0x000698 },
[0x00fb8c] = { 0x000691 },
[0x00fb8d] = { 0x000691 },
[0x00fb8e] = { 0x0006a9 },
[0x00fb8f] = { 0x0006a9 },
[0x00fb90] = { 0x0006a9 },
[0x00fb91] = { 0x0006a9 },
[0x00fb92] = { 0x0006af },
[0x00fb93] = { 0x0006af },
[0x00fb94] = { 0x0006af },
[0x00fb95] = { 0x0006af },
[0x00fb96] = { 0x0006b3 },
[0x00fb97] = { 0x0006b3 },
[0x00fb98] = { 0x0006b3 },
[0x00fb99] = { 0x0006b3 },
[0x00fb9a] = { 0x0006b1 },
[0x00fb9b] = { 0x0006b1 },
[0x00fb9c] = { 0x0006b1 },
[0x00fb9d] = { 0x0006b1 },
[0x00fb9e] = { 0x0006ba },
[0x00fb9f] = { 0x0006ba },
[0x00fba0] = { 0x0006bb },
[0x00fba1] = { 0x0006bb },
[0x00fba2] = { 0x0006bb },
[0x00fba3] = { 0x0006bb },
[0x00fba4] = { 0x0006d5, 0x000654 },
[0x00fba5] = { 0x0006d5, 0x000654 },
[0x00fba6] = { 0x0006c1 },
[0x00fba7] = { 0x0006c1 },
[0x00fba8] = { 0x0006c1 },
[0x00fba9] = { 0x0006c1 },
[0x00fbaa] = { 0x0006be },
[0x00fbab] = { 0x0006be },
[0x00fbac] = { 0x0006be },
[0x00fbad] = { 0x0006be },
[0x00fbae] = { 0x0006d2 },
[0x00fbaf] = { 0x0006d2 },
[0x00fbb0] = { 0x0006d2, 0x000654 },
[0x00fbb1] = { 0x0006d2, 0x000654 },
[0x00fbd3] = { 0x0006ad },
[0x00fbd4] = { 0x0006ad },
[0x00fbd5] = { 0x0006ad },
[0x00fbd6] = { 0x0006ad },
[0x00fbd7] = { 0x0006c7 },
[0x00fbd8] = { 0x0006c7 },
[0x00fbd9] = { 0x0006c6 },
[0x00fbda] = { 0x0006c6 },
[0x00fbdb] = { 0x0006c8 },
[0x00fbdc] = { 0x0006c8 },
[0x00fbdd] = { 0x0006c7, 0x000674 },
[0x00fbde] = { 0x0006cb },
[0x00fbdf] = { 0x0006cb },
[0x00fbe0] = { 0x0006c5 },
[0x00fbe1] = { 0x0006c5 },
[0x00fbe2] = { 0x0006c9 },
[0x00fbe3] = { 0x0006c9 },
[0x00fbe4] = { 0x0006d0 },
[0x00fbe5] = { 0x0006d0 },
[0x00fbe6] = { 0x0006d0 },
[0x00fbe7] = { 0x0006d0 },
[0x00fbe8] = { 0x000649 },
[0x00fbe9] = { 0x000649 },
[0x00fbea] = { 0x00064a, 0x000654, 0x000627 },
[0x00fbeb] = { 0x00064a, 0x000654, 0x000627 },
[0x00fbec] = { 0x00064a, 0x000654, 0x0006d5 },
[0x00fbed] = { 0x00064a, 0x000654, 0x0006d5 },
[0x00fbee] = { 0x00064a, 0x000654, 0x000648 },
[0x00fbef] = { 0x00064a, 0x000654, 0x000648 },
[0x00fbf0] = { 0x00064a, 0x000654, 0x0006c7 },
[0x00fbf1] = { 0x00064a, 0x000654, 0x0006c7 },
[0x00fbf2] = { 0x00064a, 0x000654, 0x0006c6 },
[0x00fbf3] = { 0x00064a, 0x000654, 0x0006c6 },
[0x00fbf4] = { 0x00064a, 0x000654, 0x0006c8 },
[0x00fbf5] = { 0x00064a, 0x000654, 0x0006c8 },
[0x00fbf6] = { 0x00064a, 0x000654, 0x0006d0 },
[0x00fbf7] = { 0x00064a, 0x000654, 0x0006d0 },
[0x00fbf8] = { 0x00064a, 0x000654, 0x0006d0 },
[0x00fbf9] = { 0x00064a, 0x000654, 0x000649 },
[0x00fbfa] = { 0x00064a, 0x000654, 0x000649 },
[0x00fbfb] = { 0x00064a, 0x000654, 0x000649 },
[0x00fbfc] = { 0x0006cc },
[0x00fbfd] = { 0x0006cc },
[0x00fbfe] = { 0x0006cc },
[0x00fbff] = { 0x0006cc },
[0x00fc00] = { 0x00064a, 0x000654, 0x00062c },
[0x00fc01] = { 0x00064a, 0x000654, 0x00062d },
[0x00fc02] = { 0x00064a, 0x000654, 0x000645 },
[0x00fc03] = { 0x00064a, 0x000654, 0x000649 },
[0x00fc04] = { 0x00064a, 0x000654, 0x00064a },
[0x00fc05] = { 0x000628, 0x00062c },
[0x00fc06] = { 0x000628, 0x00062d },
[0x00fc07] = { 0x000628, 0x00062e },
[0x00fc08] = { 0x000628, 0x000645 },
[0x00fc09] = { 0x000628, 0x000649 },
[0x00fc0a] = { 0x000628, 0x00064a },
[0x00fc0b] = { 0x00062a, 0x00062c },
[0x00fc0c] = { 0x00062a, 0x00062d },
[0x00fc0d] = { 0x00062a, 0x00062e },
[0x00fc0e] = { 0x00062a, 0x000645 },
[0x00fc0f] = { 0x00062a, 0x000649 },
[0x00fc10] = { 0x00062a, 0x00064a },
[0x00fc11] = { 0x00062b, 0x00062c },
[0x00fc12] = { 0x00062b, 0x000645 },
[0x00fc13] = { 0x00062b, 0x000649 },
[0x00fc14] = { 0x00062b, 0x00064a },
[0x00fc15] = { 0x00062c, 0x00062d },
[0x00fc16] = { 0x00062c, 0x000645 },
[0x00fc17] = { 0x00062d, 0x00062c },
[0x00fc18] = { 0x00062d, 0x000645 },
[0x00fc19] = { 0x00062e, 0x00062c },
[0x00fc1a] = { 0x00062e, 0x00062d },
[0x00fc1b] = { 0x00062e, 0x000645 },
[0x00fc1c] = { 0x000633, 0x00062c },
[0x00fc1d] = { 0x000633, 0x00062d },
[0x00fc1e] = { 0x000633, 0x00062e },
[0x00fc1f] = { 0x000633, 0x000645 },
[0x00fc20] = { 0x000635, 0x00062d },
[0x00fc21] = { 0x000635, 0x000645 },
[0x00fc22] = { 0x000636, 0x00062c },
[0x00fc23] = { 0x000636, 0x00062d },
[0x00fc24] = { 0x000636, 0x00062e },
[0x00fc25] = { 0x000636, 0x000645 },
[0x00fc26] = { 0x000637, 0x00062d },
[0x00fc27] = { 0x000637, 0x000645 },
[0x00fc28] = { 0x000638, 0x000645 },
[0x00fc29] = { 0x000639, 0x00062c },
[0x00fc2a] = { 0x000639, 0x000645 },
[0x00fc2b] = { 0x00063a, 0x00062c },
[0x00fc2c] = { 0x00063a, 0x000645 },
[0x00fc2d] = { 0x000641, 0x00062c },
[0x00fc2e] = { 0x000641, 0x00062d },
[0x00fc2f] = { 0x000641, 0x00062e },
[0x00fc30] = { 0x000641, 0x000645 },
[0x00fc31] = { 0x000641, 0x000649 },
[0x00fc32] = { 0x000641, 0x00064a },
[0x00fc33] = { 0x000642, 0x00062d },
[0x00fc34] = { 0x000642, 0x000645 },
[0x00fc35] = { 0x000642, 0x000649 },
[0x00fc36] = { 0x000642, 0x00064a },
[0x00fc37] = { 0x000643, 0x000627 },
[0x00fc38] = { 0x000643, 0x00062c },
[0x00fc39] = { 0x000643, 0x00062d },
[0x00fc3a] = { 0x000643, 0x00062e },
[0x00fc3b] = { 0x000643, 0x000644 },
[0x00fc3c] = { 0x000643, 0x000645 },
[0x00fc3d] = { 0x000643, 0x000649 },
[0x00fc3e] = { 0x000643, 0x00064a },
[0x00fc3f] = { 0x000644, 0x00062c },
[0x00fc40] = { 0x000644, 0x00062d },
[0x00fc41] = { 0x000644, 0x00062e },
[0x00fc42] = { 0x000644, 0x000645 },
[0x00fc43] = { 0x000644, 0x000649 },
[0x00fc44] = { 0x000644, 0x00064a },
[0x00fc45] = { 0x000645, 0x00062c },
[0x00fc46] = { 0x000645, 0x00062d },
[0x00fc47] = { 0x000645, 0x00062e },
[0x00fc48] = { 0x000645, 0x000645 },
[0x00fc49] = { 0x000645, 0x000649 },
[0x00fc4a] = { 0x000645, 0x00064a },
[0x00fc4b] = { 0x000646, 0x00062c },
[0x00fc4c] = { 0x000646, 0x00062d },
[0x00fc4d] = { 0x000646, 0x00062e },
[0x00fc4e] = { 0x000646, 0x000645 },
[0x00fc4f] = { 0x000646, 0x000649 },
[0x00fc50] = { 0x000646, 0x00064a },
[0x00fc51] = { 0x000647, 0x00062c },
[0x00fc52] = { 0x000647, 0x000645 },
[0x00fc53] = { 0x000647, 0x000649 },
[0x00fc54] = { 0x000647, 0x00064a },
[0x00fc55] = { 0x00064a, 0x00062c },
[0x00fc56] = { 0x00064a, 0x00062d },
[0x00fc57] = { 0x00064a, 0x00062e },
[0x00fc58] = { 0x00064a, 0x000645 },
[0x00fc59] = { 0x00064a, 0x000649 },
[0x00fc5a] = { 0x00064a, 0x00064a },
[0x00fc5b] = { 0x000630, 0x000670 },
[0x00fc5c] = { 0x000631, 0x000670 },
[0x00fc5d] = { 0x000649, 0x000670 },
[0x00fc5e] = { 0x000020, 0x00064c, 0x000651 },
[0x00fc5f] = { 0x000020, 0x00064d, 0x000651 },
[0x00fc60] = { 0x000020, 0x00064e, 0x000651 },
[0x00fc61] = { 0x000020, 0x00064f, 0x000651 },
[0x00fc62] = { 0x000020, 0x000650, 0x000651 },
[0x00fc63] = { 0x000020, 0x000651, 0x000670 },
[0x00fc64] = { 0x00064a, 0x000654, 0x000631 },
[0x00fc65] = { 0x00064a, 0x000654, 0x000632 },
[0x00fc66] = { 0x00064a, 0x000654, 0x000645 },
[0x00fc67] = { 0x00064a, 0x000654, 0x000646 },
[0x00fc68] = { 0x00064a, 0x000654, 0x000649 },
[0x00fc69] = { 0x00064a, 0x000654, 0x00064a },
[0x00fc6a] = { 0x000628, 0x000631 },
[0x00fc6b] = { 0x000628, 0x000632 },
[0x00fc6c] = { 0x000628, 0x000645 },
[0x00fc6d] = { 0x000628, 0x000646 },
[0x00fc6e] = { 0x000628, 0x000649 },
[0x00fc6f] = { 0x000628, 0x00064a },
[0x00fc70] = { 0x00062a, 0x000631 },
[0x00fc71] = { 0x00062a, 0x000632 },
[0x00fc72] = { 0x00062a, 0x000645 },
[0x00fc73] = { 0x00062a, 0x000646 },
[0x00fc74] = { 0x00062a, 0x000649 },
[0x00fc75] = { 0x00062a, 0x00064a },
[0x00fc76] = { 0x00062b, 0x000631 },
[0x00fc77] = { 0x00062b, 0x000632 },
[0x00fc78] = { 0x00062b, 0x000645 },
[0x00fc79] = { 0x00062b, 0x000646 },
[0x00fc7a] = { 0x00062b, 0x000649 },
[0x00fc7b] = { 0x00062b, 0x00064a },
[0x00fc7c] = { 0x000641, 0x000649 },
[0x00fc7d] = { 0x000641, 0x00064a },
[0x00fc7e] = { 0x000642, 0x000649 },
[0x00fc7f] = { 0x000642, 0x00064a },
[0x00fc80] = { 0x000643, 0x000627 },
[0x00fc81] = { 0x000643, 0x000644 },
[0x00fc82] = { 0x000643, 0x000645 },
[0x00fc83] = { 0x000643, 0x000649 },
[0x00fc84] = { 0x000643, 0x00064a },
[0x00fc85] = { 0x000644, 0x000645 },
[0x00fc86] = { 0x000644, 0x000649 },
[0x00fc87] = { 0x000644, 0x00064a },
[0x00fc88] = { 0x000645, 0x000627 },
[0x00fc89] = { 0x000645, 0x000645 },
[0x00fc8a] = { 0x000646, 0x000631 },
[0x00fc8b] = { 0x000646, 0x000632 },
[0x00fc8c] = { 0x000646, 0x000645 },
[0x00fc8d] = { 0x000646, 0x000646 },
[0x00fc8e] = { 0x000646, 0x000649 },
[0x00fc8f] = { 0x000646, 0x00064a },
[0x00fc90] = { 0x000649, 0x000670 },
[0x00fc91] = { 0x00064a, 0x000631 },
[0x00fc92] = { 0x00064a, 0x000632 },
[0x00fc93] = { 0x00064a, 0x000645 },
[0x00fc94] = { 0x00064a, 0x000646 },
[0x00fc95] = { 0x00064a, 0x000649 },
[0x00fc96] = { 0x00064a, 0x00064a },
[0x00fc97] = { 0x00064a, 0x000654, 0x00062c },
[0x00fc98] = { 0x00064a, 0x000654, 0x00062d },
[0x00fc99] = { 0x00064a, 0x000654, 0x00062e },
[0x00fc9a] = { 0x00064a, 0x000654, 0x000645 },
[0x00fc9b] = { 0x00064a, 0x000654, 0x000647 },
[0x00fc9c] = { 0x000628, 0x00062c },
[0x00fc9d] = { 0x000628, 0x00062d },
[0x00fc9e] = { 0x000628, 0x00062e },
[0x00fc9f] = { 0x000628, 0x000645 },
[0x00fca0] = { 0x000628, 0x000647 },
[0x00fca1] = { 0x00062a, 0x00062c },
[0x00fca2] = { 0x00062a, 0x00062d },
[0x00fca3] = { 0x00062a, 0x00062e },
[0x00fca4] = { 0x00062a, 0x000645 },
[0x00fca5] = { 0x00062a, 0x000647 },
[0x00fca6] = { 0x00062b, 0x000645 },
[0x00fca7] = { 0x00062c, 0x00062d },
[0x00fca8] = { 0x00062c, 0x000645 },
[0x00fca9] = { 0x00062d, 0x00062c },
[0x00fcaa] = { 0x00062d, 0x000645 },
[0x00fcab] = { 0x00062e, 0x00062c },
[0x00fcac] = { 0x00062e, 0x000645 },
[0x00fcad] = { 0x000633, 0x00062c },
[0x00fcae] = { 0x000633, 0x00062d },
[0x00fcaf] = { 0x000633, 0x00062e },
[0x00fcb0] = { 0x000633, 0x000645 },
[0x00fcb1] = { 0x000635, 0x00062d },
[0x00fcb2] = { 0x000635, 0x00062e },
[0x00fcb3] = { 0x000635, 0x000645 },
[0x00fcb4] = { 0x000636, 0x00062c },
[0x00fcb5] = { 0x000636, 0x00062d },
[0x00fcb6] = { 0x000636, 0x00062e },
[0x00fcb7] = { 0x000636, 0x000645 },
[0x00fcb8] = { 0x000637, 0x00062d },
[0x00fcb9] = { 0x000638, 0x000645 },
[0x00fcba] = { 0x000639, 0x00062c },
[0x00fcbb] = { 0x000639, 0x000645 },
[0x00fcbc] = { 0x00063a, 0x00062c },
[0x00fcbd] = { 0x00063a, 0x000645 },
[0x00fcbe] = { 0x000641, 0x00062c },
[0x00fcbf] = { 0x000641, 0x00062d },
[0x00fcc0] = { 0x000641, 0x00062e },
[0x00fcc1] = { 0x000641, 0x000645 },
[0x00fcc2] = { 0x000642, 0x00062d },
[0x00fcc3] = { 0x000642, 0x000645 },
[0x00fcc4] = { 0x000643, 0x00062c },
[0x00fcc5] = { 0x000643, 0x00062d },
[0x00fcc6] = { 0x000643, 0x00062e },
[0x00fcc7] = { 0x000643, 0x000644 },
[0x00fcc8] = { 0x000643, 0x000645 },
[0x00fcc9] = { 0x000644, 0x00062c },
[0x00fcca] = { 0x000644, 0x00062d },
[0x00fccb] = { 0x000644, 0x00062e },
[0x00fccc] = { 0x000644, 0x000645 },
[0x00fccd] = { 0x000644, 0x000647 },
[0x00fcce] = { 0x000645, 0x00062c },
[0x00fccf] = { 0x000645, 0x00062d },
[0x00fcd0] = { 0x000645, 0x00062e },
[0x00fcd1] = { 0x000645, 0x000645 },
[0x00fcd2] = { 0x000646, 0x00062c },
[0x00fcd3] = { 0x000646, 0x00062d },
[0x00fcd4] = { 0x000646, 0x00062e },
[0x00fcd5] = { 0x000646, 0x000645 },
[0x00fcd6] = { 0x000646, 0x000647 },
[0x00fcd7] = { 0x000647, 0x00062c },
[0x00fcd8] = { 0x000647, 0x000645 },
[0x00fcd9] = { 0x000647, 0x000670 },
[0x00fcda] = { 0x00064a, 0x00062c },
[0x00fcdb] = { 0x00064a, 0x00062d },
[0x00fcdc] = { 0x00064a, 0x00062e },
[0x00fcdd] = { 0x00064a, 0x000645 },
[0x00fcde] = { 0x00064a, 0x000647 },
[0x00fcdf] = { 0x00064a, 0x000654, 0x000645 },
[0x00fce0] = { 0x00064a, 0x000654, 0x000647 },
[0x00fce1] = { 0x000628, 0x000645 },
[0x00fce2] = { 0x000628, 0x000647 },
[0x00fce3] = { 0x00062a, 0x000645 },
[0x00fce4] = { 0x00062a, 0x000647 },
[0x00fce5] = { 0x00062b, 0x000645 },
[0x00fce6] = { 0x00062b, 0x000647 },
[0x00fce7] = { 0x000633, 0x000645 },
[0x00fce8] = { 0x000633, 0x000647 },
[0x00fce9] = { 0x000634, 0x000645 },
[0x00fcea] = { 0x000634, 0x000647 },
[0x00fceb] = { 0x000643, 0x000644 },
[0x00fcec] = { 0x000643, 0x000645 },
[0x00fced] = { 0x000644, 0x000645 },
[0x00fcee] = { 0x000646, 0x000645 },
[0x00fcef] = { 0x000646, 0x000647 },
[0x00fcf0] = { 0x00064a, 0x000645 },
[0x00fcf1] = { 0x00064a, 0x000647 },
[0x00fcf2] = { 0x000640, 0x00064e, 0x000651 },
[0x00fcf3] = { 0x000640, 0x00064f, 0x000651 },
[0x00fcf4] = { 0x000640, 0x000650, 0x000651 },
[0x00fcf5] = { 0x000637, 0x000649 },
[0x00fcf6] = { 0x000637, 0x00064a },
[0x00fcf7] = { 0x000639, 0x000649 },
[0x00fcf8] = { 0x000639, 0x00064a },
[0x00fcf9] = { 0x00063a, 0x000649 },
[0x00fcfa] = { 0x00063a, 0x00064a },
[0x00fcfb] = { 0x000633, 0x000649 },
[0x00fcfc] = { 0x000633, 0x00064a },
[0x00fcfd] = { 0x000634, 0x000649 },
[0x00fcfe] = { 0x000634, 0x00064a },
[0x00fcff] = { 0x00062d, 0x000649 },
[0x00fd00] = { 0x00062d, 0x00064a },
[0x00fd01] = { 0x00062c, 0x000649 },
[0x00fd02] = { 0x00062c, 0x00064a },
[0x00fd03] = { 0x00062e, 0x000649 },
[0x00fd04] = { 0x00062e, 0x00064a },
[0x00fd05] = { 0x000635, 0x000649 },
[0x00fd06] = { 0x000635, 0x00064a },
[0x00fd07] = { 0x000636, 0x000649 },
[0x00fd08] = { 0x000636, 0x00064a },
[0x00fd09] = { 0x000634, 0x00062c },
[0x00fd0a] = { 0x000634, 0x00062d },
[0x00fd0b] = { 0x000634, 0x00062e },
[0x00fd0c] = { 0x000634, 0x000645 },
[0x00fd0d] = { 0x000634, 0x000631 },
[0x00fd0e] = { 0x000633, 0x000631 },
[0x00fd0f] = { 0x000635, 0x000631 },
[0x00fd10] = { 0x000636, 0x000631 },
[0x00fd11] = { 0x000637, 0x000649 },
[0x00fd12] = { 0x000637, 0x00064a },
[0x00fd13] = { 0x000639, 0x000649 },
[0x00fd14] = { 0x000639, 0x00064a },
[0x00fd15] = { 0x00063a, 0x000649 },
[0x00fd16] = { 0x00063a, 0x00064a },
[0x00fd17] = { 0x000633, 0x000649 },
[0x00fd18] = { 0x000633, 0x00064a },
[0x00fd19] = { 0x000634, 0x000649 },
[0x00fd1a] = { 0x000634, 0x00064a },
[0x00fd1b] = { 0x00062d, 0x000649 },
[0x00fd1c] = { 0x00062d, 0x00064a },
[0x00fd1d] = { 0x00062c, 0x000649 },
[0x00fd1e] = { 0x00062c, 0x00064a },
[0x00fd1f] = { 0x00062e, 0x000649 },
[0x00fd20] = { 0x00062e, 0x00064a },
[0x00fd21] = { 0x000635, 0x000649 },
[0x00fd22] = { 0x000635, 0x00064a },
[0x00fd23] = { 0x000636, 0x000649 },
[0x00fd24] = { 0x000636, 0x00064a },
[0x00fd25] = { 0x000634, 0x00062c },
[0x00fd26] = { 0x000634, 0x00062d },
[0x00fd27] = { 0x000634, 0x00062e },
[0x00fd28] = { 0x000634, 0x000645 },
[0x00fd29] = { 0x000634, 0x000631 },
[0x00fd2a] = { 0x000633, 0x000631 },
[0x00fd2b] = { 0x000635, 0x000631 },
[0x00fd2c] = { 0x000636, 0x000631 },
[0x00fd2d] = { 0x000634, 0x00062c },
[0x00fd2e] = { 0x000634, 0x00062d },
[0x00fd2f] = { 0x000634, 0x00062e },
[0x00fd30] = { 0x000634, 0x000645 },
[0x00fd31] = { 0x000633, 0x000647 },
[0x00fd32] = { 0x000634, 0x000647 },
[0x00fd33] = { 0x000637, 0x000645 },
[0x00fd34] = { 0x000633, 0x00062c },
[0x00fd35] = { 0x000633, 0x00062d },
[0x00fd36] = { 0x000633, 0x00062e },
[0x00fd37] = { 0x000634, 0x00062c },
[0x00fd38] = { 0x000634, 0x00062d },
[0x00fd39] = { 0x000634, 0x00062e },
[0x00fd3a] = { 0x000637, 0x000645 },
[0x00fd3b] = { 0x000638, 0x000645 },
[0x00fd3c] = { 0x000627, 0x00064b },
[0x00fd3d] = { 0x000627, 0x00064b },
[0x00fd50] = { 0x00062a, 0x00062c, 0x000645 },
[0x00fd51] = { 0x00062a, 0x00062d, 0x00062c },
[0x00fd52] = { 0x00062a, 0x00062d, 0x00062c },
[0x00fd53] = { 0x00062a, 0x00062d, 0x000645 },
[0x00fd54] = { 0x00062a, 0x00062e, 0x000645 },
[0x00fd55] = { 0x00062a, 0x000645, 0x00062c },
[0x00fd56] = { 0x00062a, 0x000645, 0x00062d },
[0x00fd57] = { 0x00062a, 0x000645, 0x00062e },
[0x00fd58] = { 0x00062c, 0x000645, 0x00062d },
[0x00fd59] = { 0x00062c, 0x000645, 0x00062d },
[0x00fd5a] = { 0x00062d, 0x000645, 0x00064a },
[0x00fd5b] = { 0x00062d, 0x000645, 0x000649 },
[0x00fd5c] = { 0x000633, 0x00062d, 0x00062c },
[0x00fd5d] = { 0x000633, 0x00062c, 0x00062d },
[0x00fd5e] = { 0x000633, 0x00062c, 0x000649 },
[0x00fd5f] = { 0x000633, 0x000645, 0x00062d },
[0x00fd60] = { 0x000633, 0x000645, 0x00062d },
[0x00fd61] = { 0x000633, 0x000645, 0x00062c },
[0x00fd62] = { 0x000633, 0x000645, 0x000645 },
[0x00fd63] = { 0x000633, 0x000645, 0x000645 },
[0x00fd64] = { 0x000635, 0x00062d, 0x00062d },
[0x00fd65] = { 0x000635, 0x00062d, 0x00062d },
[0x00fd66] = { 0x000635, 0x000645, 0x000645 },
[0x00fd67] = { 0x000634, 0x00062d, 0x000645 },
[0x00fd68] = { 0x000634, 0x00062d, 0x000645 },
[0x00fd69] = { 0x000634, 0x00062c, 0x00064a },
[0x00fd6a] = { 0x000634, 0x000645, 0x00062e },
[0x00fd6b] = { 0x000634, 0x000645, 0x00062e },
[0x00fd6c] = { 0x000634, 0x000645, 0x000645 },
[0x00fd6d] = { 0x000634, 0x000645, 0x000645 },
[0x00fd6e] = { 0x000636, 0x00062d, 0x000649 },
[0x00fd6f] = { 0x000636, 0x00062e, 0x000645 },
[0x00fd70] = { 0x000636, 0x00062e, 0x000645 },
[0x00fd71] = { 0x000637, 0x000645, 0x00062d },
[0x00fd72] = { 0x000637, 0x000645, 0x00062d },
[0x00fd73] = { 0x000637, 0x000645, 0x000645 },
[0x00fd74] = { 0x000637, 0x000645, 0x00064a },
[0x00fd75] = { 0x000639, 0x00062c, 0x000645 },
[0x00fd76] = { 0x000639, 0x000645, 0x000645 },
[0x00fd77] = { 0x000639, 0x000645, 0x000645 },
[0x00fd78] = { 0x000639, 0x000645, 0x000649 },
[0x00fd79] = { 0x00063a, 0x000645, 0x000645 },
[0x00fd7a] = { 0x00063a, 0x000645, 0x00064a },
[0x00fd7b] = { 0x00063a, 0x000645, 0x000649 },
[0x00fd7c] = { 0x000641, 0x00062e, 0x000645 },
[0x00fd7d] = { 0x000641, 0x00062e, 0x000645 },
[0x00fd7e] = { 0x000642, 0x000645, 0x00062d },
[0x00fd7f] = { 0x000642, 0x000645, 0x000645 },
[0x00fd80] = { 0x000644, 0x00062d, 0x000645 },
[0x00fd81] = { 0x000644, 0x00062d, 0x00064a },
[0x00fd82] = { 0x000644, 0x00062d, 0x000649 },
[0x00fd83] = { 0x000644, 0x00062c, 0x00062c },
[0x00fd84] = { 0x000644, 0x00062c, 0x00062c },
[0x00fd85] = { 0x000644, 0x00062e, 0x000645 },
[0x00fd86] = { 0x000644, 0x00062e, 0x000645 },
[0x00fd87] = { 0x000644, 0x000645, 0x00062d },
[0x00fd88] = { 0x000644, 0x000645, 0x00062d },
[0x00fd89] = { 0x000645, 0x00062d, 0x00062c },
[0x00fd8a] = { 0x000645, 0x00062d, 0x000645 },
[0x00fd8b] = { 0x000645, 0x00062d, 0x00064a },
[0x00fd8c] = { 0x000645, 0x00062c, 0x00062d },
[0x00fd8d] = { 0x000645, 0x00062c, 0x000645 },
[0x00fd8e] = { 0x000645, 0x00062e, 0x00062c },
[0x00fd8f] = { 0x000645, 0x00062e, 0x000645 },
[0x00fd92] = { 0x000645, 0x00062c, 0x00062e },
[0x00fd93] = { 0x000647, 0x000645, 0x00062c },
[0x00fd94] = { 0x000647, 0x000645, 0x000645 },
[0x00fd95] = { 0x000646, 0x00062d, 0x000645 },
[0x00fd96] = { 0x000646, 0x00062d, 0x000649 },
[0x00fd97] = { 0x000646, 0x00062c, 0x000645 },
[0x00fd98] = { 0x000646, 0x00062c, 0x000645 },
[0x00fd99] = { 0x000646, 0x00062c, 0x000649 },
[0x00fd9a] = { 0x000646, 0x000645, 0x00064a },
[0x00fd9b] = { 0x000646, 0x000645, 0x000649 },
[0x00fd9c] = { 0x00064a, 0x000645, 0x000645 },
[0x00fd9d] = { 0x00064a, 0x000645, 0x000645 },
[0x00fd9e] = { 0x000628, 0x00062e, 0x00064a },
[0x00fd9f] = { 0x00062a, 0x00062c, 0x00064a },
[0x00fda0] = { 0x00062a, 0x00062c, 0x000649 },
[0x00fda1] = { 0x00062a, 0x00062e, 0x00064a },
[0x00fda2] = { 0x00062a, 0x00062e, 0x000649 },
[0x00fda3] = { 0x00062a, 0x000645, 0x00064a },
[0x00fda4] = { 0x00062a, 0x000645, 0x000649 },
[0x00fda5] = { 0x00062c, 0x000645, 0x00064a },
[0x00fda6] = { 0x00062c, 0x00062d, 0x000649 },
[0x00fda7] = { 0x00062c, 0x000645, 0x000649 },
[0x00fda8] = { 0x000633, 0x00062e, 0x000649 },
[0x00fda9] = { 0x000635, 0x00062d, 0x00064a },
[0x00fdaa] = { 0x000634, 0x00062d, 0x00064a },
[0x00fdab] = { 0x000636, 0x00062d, 0x00064a },
[0x00fdac] = { 0x000644, 0x00062c, 0x00064a },
[0x00fdad] = { 0x000644, 0x000645, 0x00064a },
[0x00fdae] = { 0x00064a, 0x00062d, 0x00064a },
[0x00fdaf] = { 0x00064a, 0x00062c, 0x00064a },
[0x00fdb0] = { 0x00064a, 0x000645, 0x00064a },
[0x00fdb1] = { 0x000645, 0x000645, 0x00064a },
[0x00fdb2] = { 0x000642, 0x000645, 0x00064a },
[0x00fdb3] = { 0x000646, 0x00062d, 0x00064a },
[0x00fdb4] = { 0x000642, 0x000645, 0x00062d },
[0x00fdb5] = { 0x000644, 0x00062d, 0x000645 },
[0x00fdb6] = { 0x000639, 0x000645, 0x00064a },
[0x00fdb7] = { 0x000643, 0x000645, 0x00064a },
[0x00fdb8] = { 0x000646, 0x00062c, 0x00062d },
[0x00fdb9] = { 0x000645, 0x00062e, 0x00064a },
[0x00fdba] = { 0x000644, 0x00062c, 0x000645 },
[0x00fdbb] = { 0x000643, 0x000645, 0x000645 },
[0x00fdbc] = { 0x000644, 0x00062c, 0x000645 },
[0x00fdbd] = { 0x000646, 0x00062c, 0x00062d },
[0x00fdbe] = { 0x00062c, 0x00062d, 0x00064a },
[0x00fdbf] = { 0x00062d, 0x00062c, 0x00064a },
[0x00fdc0] = { 0x000645, 0x00062c, 0x00064a },
[0x00fdc1] = { 0x000641, 0x000645, 0x00064a },
[0x00fdc2] = { 0x000628, 0x00062d, 0x00064a },
[0x00fdc3] = { 0x000643, 0x000645, 0x000645 },
[0x00fdc4] = { 0x000639, 0x00062c, 0x000645 },
[0x00fdc5] = { 0x000635, 0x000645, 0x000645 },
[0x00fdc6] = { 0x000633, 0x00062e, 0x00064a },
[0x00fdc7] = { 0x000646, 0x00062c, 0x00064a },
[0x00fdf0] = { 0x000635, 0x000644, 0x0006d2 },
[0x00fdf1] = { 0x000642, 0x000644, 0x0006d2 },
[0x00fdf2] = { 0x000627, 0x000644, 0x000644, 0x000647 },
[0x00fdf3] = { 0x000627, 0x000643, 0x000628, 0x000631 },
[0x00fdf4] = { 0x000645, 0x00062d, 0x000645, 0x00062f },
[0x00fdf5] = { 0x000635, 0x000644, 0x000639, 0x000645 },
[0x00fdf6] = { 0x000631, 0x000633, 0x000648, 0x000644 },
[0x00fdf7] = { 0x000639, 0x000644, 0x00064a, 0x000647 },
[0x00fdf8] = { 0x000648, 0x000633, 0x000644, 0x000645 },
[0x00fdf9] = { 0x000635, 0x000644, 0x000649 },
[0x00fdfa] = { 0x000635, 0x000644, 0x000649, 0x000020, 0x000627, 0x000644, 0x000644, 0x000647, 0x000020, 0x000639, 0x000644, 0x00064a, 0x000647, 0x000020, 0x000648, 0x000633, 0x000644, 0x000645 },
[0x00fdfb] = { 0x00062c, 0x000644, 0x000020, 0x00062c, 0x000644, 0x000627, 0x000644, 0x000647 },
[0x00fdfc] = { 0x000631, 0x0006cc, 0x000627, 0x000644 },
[0x00fe10] = { 0x00002c },
[0x00fe11] = { 0x003001 },
[0x00fe12] = { 0x003002 },
[0x00fe13] = { 0x00003a },
[0x00fe14] = { 0x00003b },
[0x00fe15] = { 0x000021 },
[0x00fe16] = { 0x00003f },
[0x00fe17] = { 0x003016 },
[0x00fe18] = { 0x003017 },
[0x00fe19] = { 0x00002e, 0x00002e, 0x00002e },
[0x00fe30] = { 0x00002e, 0x00002e },
[0x00fe31] = { 0x002014 },
[0x00fe32] = { 0x002013 },
[0x00fe33] = { 0x00005f },
[0x00fe34] = { 0x00005f },
[0x00fe35] = { 0x000028 },
[0x00fe36] = { 0x000029 },
[0x00fe37] = { 0x00007b },
[0x00fe38] = { 0x00007d },
[0x00fe39] = { 0x003014 },
[0x00fe3a] = { 0x003015 },
[0x00fe3b] = { 0x003010 },
[0x00fe3c] = { 0x003011 },
[0x00fe3d] = { 0x00300a },
[0x00fe3e] = { 0x00300b },
[0x00fe3f] = { 0x003008 },
[0x00fe40] = { 0x003009 },
[0x00fe41] = { 0x00300c },
[0x00fe42] = { 0x00300d },
[0x00fe43] = { 0x00300e },
[0x00fe44] = { 0x00300f },
[0x00fe47] = { 0x00005b },
[0x00fe48] = { 0x00005d },
[0x00fe49] = { 0x000020, 0x000305 },
[0x00fe4a] = { 0x000020, 0x000305 },
[0x00fe4b] = { 0x000020, 0x000305 },
[0x00fe4c] = { 0x000020, 0x000305 },
[0x00fe4d] = { 0x00005f },
[0x00fe4e] = { 0x00005f },
[0x00fe4f] = { 0x00005f },
[0x00fe50] = { 0x00002c },
[0x00fe51] = { 0x003001 },
[0x00fe52] = { 0x00002e },
[0x00fe54] = { 0x00003b },
[0x00fe55] = { 0x00003a },
[0x00fe56] = { 0x00003f },
[0x00fe57] = { 0x000021 },
[0x00fe58] = { 0x002014 },
[0x00fe59] = { 0x000028 },
[0x00fe5a] = { 0x000029 },
[0x00fe5b] = { 0x00007b },
[0x00fe5c] = { 0x00007d },
[0x00fe5d] = { 0x003014 },
[0x00fe5e] = { 0x003015 },
[0x00fe5f] = { 0x000023 },
[0x00fe60] = { 0x000026 },
[0x00fe61] = { 0x00002a },
[0x00fe62] = { 0x00002b },
[0x00fe63] = { 0x00002d },
[0x00fe64] = { 0x00003c },
[0x00fe65] = { 0x00003e },
[0x00fe66] = { 0x00003d },
[0x00fe68] = { 0x00005c },
[0x00fe69] = { 0x000024 },
[0x00fe6a] = { 0x000025 },
[0x00fe6b] = { 0x000040 },
[0x00fe70] = { 0x000020, 0x00064b },
[0x00fe71] = { 0x000640, 0x00064b },
[0x00fe72] = { 0x000020, 0x00064c },
[0x00fe74] = { 0x000020, 0x00064d },
[0x00fe76] = { 0x000020, 0x00064e },
[0x00fe77] = { 0x000640, 0x00064e },
[0x00fe78] = { 0x000020, 0x00064f },
[0x00fe79] = { 0x000640, 0x00064f },
[0x00fe7a] = { 0x000020, 0x000650 },
[0x00fe7b] = { 0x000640, 0x000650 },
[0x00fe7c] = { 0x000020, 0x000651 },
[0x00fe7d] = { 0x000640, 0x000651 },
[0x00fe7e] = { 0x000020, 0x000652 },
[0x00fe7f] = { 0x000640, 0x000652 },
[0x00fe80] = { 0x000621 },
[0x00fe81] = { 0x000627, 0x000653 },
[0x00fe82] = { 0x000627, 0x000653 },
[0x00fe83] = { 0x000627, 0x000654 },
[0x00fe84] = { 0x000627, 0x000654 },
[0x00fe85] = { 0x000648, 0x000654 },
[0x00fe86] = { 0x000648, 0x000654 },
[0x00fe87] = { 0x000627, 0x000655 },
[0x00fe88] = { 0x000627, 0x000655 },
[0x00fe89] = { 0x00064a, 0x000654 },
[0x00fe8a] = { 0x00064a, 0x000654 },
[0x00fe8b] = { 0x00064a, 0x000654 },
[0x00fe8c] = { 0x00064a, 0x000654 },
[0x00fe8d] = { 0x000627 },
[0x00fe8e] = { 0x000627 },
[0x00fe8f] = { 0x000628 },
[0x00fe90] = { 0x000628 },
[0x00fe91] = { 0x000628 },
[0x00fe92] = { 0x000628 },
[0x00fe93] = { 0x000629 },
[0x00fe94] = { 0x000629 },
[0x00fe95] = { 0x00062a },
[0x00fe96] = { 0x00062a },
[0x00fe97] = { 0x00062a },
[0x00fe98] = { 0x00062a },
[0x00fe99] = { 0x00062b },
[0x00fe9a] = { 0x00062b },
[0x00fe9b] = { 0x00062b },
[0x00fe9c] = { 0x00062b },
[0x00fe9d] = { 0x00062c },
[0x00fe9e] = { 0x00062c },
[0x00fe9f] = { 0x00062c },
[0x00fea0] = { 0x00062c },
[0x00fea1] = { 0x00062d },
[0x00fea2] = { 0x00062d },
[0x00fea3] = { 0x00062d },
[0x00fea4] = { 0x00062d },
[0x00fea5] = { 0x00062e },
[0x00fea6] = { 0x00062e },
[0x00fea7] = { 0x00062e },
[0x00fea8] = { 0x00062e },
[0x00fea9] = { 0x00062f },
[0x00feaa] = { 0x00062f },
[0x00feab] = { 0x000630 },
[0x00feac] = { 0x000630 },
[0x00fead] = { 0x000631 },
[0x00feae] = { 0x000631 },
[0x00feaf] = { 0x000632 },
[0x00feb0] = { 0x000632 },
[0x00feb1] = { 0x000633 },
[0x00feb2] = { 0x000633 },
[0x00feb3] = { 0x000633 },
[0x00feb4] = { 0x000633 },
[0x00feb5] = { 0x000634 },
[0x00feb6] = { 0x000634 },
[0x00feb7] = { 0x000634 },
[0x00feb8] = { 0x000634 },
[0x00feb9] = { 0x000635 },
[0x00feba] = { 0x000635 },
[0x00febb] = { 0x000635 },
[0x00febc] = { 0x000635 },
[0x00febd] = { 0x000636 },
[0x00febe] = { 0x000636 },
[0x00febf] = { 0x000636 },
[0x00fec0] = { 0x000636 },
[0x00fec1] = { 0x000637 },
[0x00fec2] = { 0x000637 },
[0x00fec3] = { 0x000637 },
[0x00fec4] = { 0x000637 },
[0x00fec5] = { 0x000638 },
[0x00fec6] = { 0x000638 },
[0x00fec7] = { 0x000638 },
[0x00fec8] = { 0x000638 },
[0x00fec9] = { 0x000639 },
[0x00feca] = { 0x000639 },
[0x00fecb] = { 0x000639 },
[0x00fecc] = { 0x000639 },
[0x00fecd] = { 0x00063a },
[0x00fece] = { 0x00063a },
[0x00fecf] = { 0x00063a },
[0x00fed0] = { 0x00063a },
[0x00fed1] = { 0x000641 },
[0x00fed2] = { 0x000641 },
[0x00fed3] = { 0x000641 },
[0x00fed4] = { 0x000641 },
[0x00fed5] = { 0x000642 },
[0x00fed6] = { 0x000642 },
[0x00fed7] = { 0x000642 },
[0x00fed8] = { 0x000642 },
[0x00fed9] = { 0x000643 },
[0x00feda] = { 0x000643 },
[0x00fedb] = { 0x000643 },
[0x00fedc] = { 0x000643 },
[0x00fedd] = { 0x000644 },
[0x00fede] = { 0x000644 },
[0x00fedf] = { 0x000644 },
[0x00fee0] = { 0x000644 },
[0x00fee1] = { 0x000645 },
[0x00fee2] = { 0x000645 },
[0x00fee3] = { 0x000645 },
[0x00fee4] = { 0x000645 },
[0x00fee5] = { 0x000646 },
[0x00fee6] = { 0x000646 },
[0x00fee7] = { 0x000646 },
[0x00fee8] = { 0x000646 },
[0x00fee9] = { 0x000647 },
[0x00feea] = { 0x000647 },
[0x00feeb] = { 0x000647 },
[0x00feec] = { 0x000647 },
[0x00feed] = { 0x000648 },
[0x00feee] = { 0x000648 },
[0x00feef] = { 0x000649 },
[0x00fef0] = { 0x000649 },
[0x00fef1] = { 0x00064a },
[0x00fef2] = { 0x00064a },
[0x00fef3] = { 0x00064a },
[0x00fef4] = { 0x00064a },
[0x00fef5] = { 0x000644, 0x000627, 0x000653 },
[0x00fef6] = { 0x000644, 0x000627, 0x000653 },
[0x00fef7] = { 0x000644, 0x000627, 0x000654 },
[0x00fef8] = { 0x000644, 0x000627, 0x000654 },
[0x00fef9] = { 0x000644, 0x000627, 0x000655 },
[0x00fefa] = { 0x000644, 0x000627, 0x000655 },
[0x00fefb] = { 0x000644, 0x000627 },
[0x00fefc] = { 0x000644, 0x000627 },
[0x00ff01] = { 0x000021 },
[0x00ff02] = { 0x000022 },
[0x00ff03] = { 0x000023 },
[0x00ff04] = { 0x000024 },
[0x00ff05] = { 0x000025 },
[0x00ff06] = { 0x000026 },
[0x00ff07] = { 0x000027 },
[0x00ff08] = { 0x000028 },
[0x00ff09] = { 0x000029 },
[0x00ff0a] = { 0x00002a },
[0x00ff0b] = { 0x00002b },
[0x00ff0c] = { 0x00002c },
[0x00ff0d] = { 0x00002d },
[0x00ff0e] = { 0x00002e },
[0x00ff0f] = { 0x00002f },
[0x00ff10] = { 0x000030 },
[0x00ff11] = { 0x000031 },
[0x00ff12] = { 0x000032 },
[0x00ff13] = { 0x000033 },
[0x00ff14] = { 0x000034 },
[0x00ff15] = { 0x000035 },
[0x00ff16] = { 0x000036 },
[0x00ff17] = { 0x000037 },
[0x00ff18] = { 0x000038 },
[0x00ff19] = { 0x000039 },
[0x00ff1a] = { 0x00003a },
[0x00ff1b] = { 0x00003b },
[0x00ff1c] = { 0x00003c },
[0x00ff1d] = { 0x00003d },
[0x00ff1e] = { 0x00003e },
[0x00ff1f] = { 0x00003f },
[0x00ff20] = { 0x000040 },
[0x00ff21] = { 0x000041 },
[0x00ff22] = { 0x000042 },
[0x00ff23] = { 0x000043 },
[0x00ff24] = { 0x000044 },
[0x00ff25] = { 0x000045 },
[0x00ff26] = { 0x000046 },
[0x00ff27] = { 0x000047 },
[0x00ff28] = { 0x000048 },
[0x00ff29] = { 0x000049 },
[0x00ff2a] = { 0x00004a },
[0x00ff2b] = { 0x00004b },
[0x00ff2c] = { 0x00004c },
[0x00ff2d] = { 0x00004d },
[0x00ff2e] = { 0x00004e },
[0x00ff2f] = { 0x00004f },
[0x00ff30] = { 0x000050 },
[0x00ff31] = { 0x000051 },
[0x00ff32] = { 0x000052 },
[0x00ff33] = { 0x000053 },
[0x00ff34] = { 0x000054 },
[0x00ff35] = { 0x000055 },
[0x00ff36] = { 0x000056 },
[0x00ff37] = { 0x000057 },
[0x00ff38] = { 0x000058 },
[0x00ff39] = { 0x000059 },
[0x00ff3a] = { 0x00005a },
[0x00ff3b] = { 0x00005b },
[0x00ff3c] = { 0x00005c },
[0x00ff3d] = { 0x00005d },
[0x00ff3e] = { 0x00005e },
[0x00ff3f] = { 0x00005f },
[0x00ff40] = { 0x000060 },
[0x00ff41] = { 0x000061 },
[0x00ff42] = { 0x000062 },
[0x00ff43] = { 0x000063 },
[0x00ff44] = { 0x000064 },
[0x00ff45] = { 0x000065 },
[0x00ff46] = { 0x000066 },
[0x00ff47] = { 0x000067 },
[0x00ff48] = { 0x000068 },
[0x00ff49] = { 0x000069 },
[0x00ff4a] = { 0x00006a },
[0x00ff4b] = { 0x00006b },
[0x00ff4c] = { 0x00006c },
[0x00ff4d] = { 0x00006d },
[0x00ff4e] = { 0x00006e },
[0x00ff4f] = { 0x00006f },
[0x00ff50] = { 0x000070 },
[0x00ff51] = { 0x000071 },
[0x00ff52] = { 0x000072 },
[0x00ff53] = { 0x000073 },
[0x00ff54] = { 0x000074 },
[0x00ff55] = { 0x000075 },
[0x00ff56] = { 0x000076 },
[0x00ff57] = { 0x000077 },
[0x00ff58] = { 0x000078 },
[0x00ff59] = { 0x000079 },
[0x00ff5a] = { 0x00007a },
[0x00ff5b] = { 0x00007b },
[0x00ff5c] = { 0x00007c },
[0x00ff5d] = { 0x00007d },
[0x00ff5e] = { 0x00007e },
[0x00ff5f] = { 0x002985 },
[0x00ff60] = { 0x002986 },
[0x00ff61] = { 0x003002 },
[0x00ff62] = { 0x00300c },
[0x00ff63] = { 0x00300d },
[0x00ff64] = { 0x003001 },
[0x00ff65] = { 0x0030fb },
[0x00ff66] = { 0x0030f2 },
[0x00ff67] = { 0x0030a1 },
[0x00ff68] = { 0x0030a3 },
[0x00ff69] = { 0x0030a5 },
[0x00ff6a] = { 0x0030a7 },
[0x00ff6b] = { 0x0030a9 },
[0x00ff6c] = { 0x0030e3 },
[0x00ff6d] = { 0x0030e5 },
[0x00ff6e] = { 0x0030e7 },
[0x00ff6f] = { 0x0030c3 },
[0x00ff70] = { 0x0030fc },
[0x00ff71] = { 0x0030a2 },
[0x00ff72] = { 0x0030a4 },
[0x00ff73] = { 0x0030a6 },
[0x00ff74] = { 0x0030a8 },
[0x00ff75] = { 0x0030aa },
[0x00ff76] = { 0x0030ab },
[0x00ff77] = { 0x0030ad },
[0x00ff78] = { 0x0030af },
[0x00ff79] = { 0x0030b1 },
[0x00ff7a] = { 0x0030b3 },
[0x00ff7b] = { 0x0030b5 },
[0x00ff7c] = { 0x0030b7 },
[0x00ff7d] = { 0x0030b9 },
[0x00ff7e] = { 0x0030bb },
[0x00ff7f] = { 0x0030bd },
[0x00ff80] = { 0x0030bf },
[0x00ff81] = { 0x0030c1 },
[0x00ff82] = { 0x0030c4 },
[0x00ff83] = { 0x0030c6 },
[0x00ff84] = { 0x0030c8 },
[0x00ff85] = { 0x0030ca },
[0x00ff86] = { 0x0030cb },
[0x00ff87] = { 0x0030cc },
[0x00ff88] = { 0x0030cd },
[0x00ff89] = { 0x0030ce },
[0x00ff8a] = { 0x0030cf },
[0x00ff8b] = { 0x0030d2 },
[0x00ff8c] = { 0x0030d5 },
[0x00ff8d] = { 0x0030d8 },
[0x00ff8e] = { 0x0030db },
[0x00ff8f] = { 0x0030de },
[0x00ff90] = { 0x0030df },
[0x00ff91] = { 0x0030e0 },
[0x00ff92] = { 0x0030e1 },
[0x00ff93] = { 0x0030e2 },
[0x00ff94] = { 0x0030e4 },
[0x00ff95] = { 0x0030e6 },
[0x00ff96] = { 0x0030e8 },
[0x00ff97] = { 0x0030e9 },
[0x00ff98] = { 0x0030ea },
[0x00ff99] = { 0x0030eb },
[0x00ff9a] = { 0x0030ec },
[0x00ff9b] = { 0x0030ed },
[0x00ff9c] = { 0x0030ef },
[0x00ff9d] = { 0x0030f3 },
[0x00ff9e] = { 0x003099 },
[0x00ff9f] = { 0x00309a },
[0x00ffa0] = { 0x001160 },
[0x00ffa1] = { 0x001100 },
[0x00ffa2] = { 0x001101 },
[0x00ffa3] = { 0x0011aa },
[0x00ffa4] = { 0x001102 },
[0x00ffa5] = { 0x0011ac },
[0x00ffa6] = { 0x0011ad },
[0x00ffa7] = { 0x001103 },
[0x00ffa8] = { 0x001104 },
[0x00ffa9] = { 0x001105 },
[0x00ffaa] = { 0x0011b0 },
[0x00ffab] = { 0x0011b1 },
[0x00ffac] = { 0x0011b2 },
[0x00ffad] = { 0x0011b3 },
[0x00ffae] = { 0x0011b4 },
[0x00ffaf] = { 0x0011b5 },
[0x00ffb0] = { 0x00111a },
[0x00ffb1] = { 0x001106 },
[0x00ffb2] = { 0x001107 },
[0x00ffb3] = { 0x001108 },
[0x00ffb4] = { 0x001121 },
[0x00ffb5] = { 0x001109 },
[0x00ffb6] = { 0x00110a },
[0x00ffb7] = { 0x00110b },
[0x00ffb8] = { 0x00110c },
[0x00ffb9] = { 0x00110d },
[0x00ffba] = { 0x00110e },
[0x00ffbb] = { 0x00110f },
[0x00ffbc] = { 0x001110 },
[0x00ffbd] = { 0x001111 },
[0x00ffbe] = { 0x001112 },
[0x00ffc2] = { 0x001161 },
[0x00ffc3] = { 0x001162 },
[0x00ffc4] = { 0x001163 },
[0x00ffc5] = { 0x001164 },
[0x00ffc6] = { 0x001165 },
[0x00ffc7] = { 0x001166 },
[0x00ffca] = { 0x001167 },
[0x00ffcb] = { 0x001168 },
[0x00ffcc] = { 0x001169 },
[0x00ffcd] = { 0x00116a },
[0x00ffce] = { 0x00116b },
[0x00ffcf] = { 0x00116c },
[0x00ffd2] = { 0x00116d },
[0x00ffd3] = { 0x00116e },
[0x00ffd4] = { 0x00116f },
[0x00ffd5] = { 0x001170 },
[0x00ffd6] = { 0x001171 },
[0x00ffd7] = { 0x001172 },
[0x00ffda] = { 0x001173 },
[0x00ffdb] = { 0x001174 },
[0x00ffdc] = { 0x001175 },
[0x00ffe0] = { 0x0000a2 },
[0x00ffe1] = { 0x0000a3 },
[0x00ffe2] = { 0x0000ac },
[0x00ffe3] = { 0x000020, 0x000304 },
[0x00ffe4] = { 0x0000a6 },
[0x00ffe5] = { 0x0000a5 },
[0x00ffe6] = { 0x0020a9 },
[0x00ffe8] = { 0x002502 },
[0x00ffe9] = { 0x002190 },
[0x00ffea] = { 0x002191 },
[0x00ffeb] = { 0x002192 },
[0x00ffec] = { 0x002193 },
[0x00ffed] = { 0x0025a0 },
[0x00ffee] = { 0x0025cb },
[0x01d400] = { 0x000041 },
[0x01d401] = { 0x000042 },
[0x01d402] = { 0x000043 },
[0x01d403] = { 0x000044 },
[0x01d404] = { 0x000045 },
[0x01d405] = { 0x000046 },
[0x01d406] = { 0x000047 },
[0x01d407] = { 0x000048 },
[0x01d408] = { 0x000049 },
[0x01d409] = { 0x00004a },
[0x01d40a] = { 0x00004b },
[0x01d40b] = { 0x00004c },
[0x01d40c] = { 0x00004d },
[0x01d40d] = { 0x00004e },
[0x01d40e] = { 0x00004f },
[0x01d40f] = { 0x000050 },
[0x01d410] = { 0x000051 },
[0x01d411] = { 0x000052 },
[0x01d412] = { 0x000053 },
[0x01d413] = { 0x000054 },
[0x01d414] = { 0x000055 },
[0x01d415] = { 0x000056 },
[0x01d416] = { 0x000057 },
[0x01d417] = { 0x000058 },
[0x01d418] = { 0x000059 },
[0x01d419] = { 0x00005a },
[0x01d41a] = { 0x000061 },
[0x01d41b] = { 0x000062 },
[0x01d41c] = { 0x000063 },
[0x01d41d] = { 0x000064 },
[0x01d41e] = { 0x000065 },
[0x01d41f] = { 0x000066 },
[0x01d420] = { 0x000067 },
[0x01d421] = { 0x000068 },
[0x01d422] = { 0x000069 },
[0x01d423] = { 0x00006a },
[0x01d424] = { 0x00006b },
[0x01d425] = { 0x00006c },
[0x01d426] = { 0x00006d },
[0x01d427] = { 0x00006e },
[0x01d428] = { 0x00006f },
[0x01d429] = { 0x000070 },
[0x01d42a] = { 0x000071 },
[0x01d42b] = { 0x000072 },
[0x01d42c] = { 0x000073 },
[0x01d42d] = { 0x000074 },
[0x01d42e] = { 0x000075 },
[0x01d42f] = { 0x000076 },
[0x01d430] = { 0x000077 },
[0x01d431] = { 0x000078 },
[0x01d432] = { 0x000079 },
[0x01d433] = { 0x00007a },
[0x01d434] = { 0x000041 },
[0x01d435] = { 0x000042 },
[0x01d436] = { 0x000043 },
[0x01d437] = { 0x000044 },
[0x01d438] = { 0x000045 },
[0x01d439] = { 0x000046 },
[0x01d43a] = { 0x000047 },
[0x01d43b] = { 0x000048 },
[0x01d43c] = { 0x000049 },
[0x01d43d] = { 0x00004a },
[0x01d43e] = { 0x00004b },
[0x01d43f] = { 0x00004c },
[0x01d440] = { 0x00004d },
[0x01d441] = { 0x00004e },
[0x01d442] = { 0x00004f },
[0x01d443] = { 0x000050 },
[0x01d444] = { 0x000051 },
[0x01d445] = { 0x000052 },
[0x01d446] = { 0x000053 },
[0x01d447] = { 0x000054 },
[0x01d448] = { 0x000055 },
[0x01d449] = { 0x000056 },
[0x01d44a] = { 0x000057 },
[0x01d44b] = { 0x000058 },
[0x01d44c] = { 0x000059 },
[0x01d44d] = { 0x00005a },
[0x01d44e] = { 0x000061 },
[0x01d44f] = { 0x000062 },
[0x01d450] = { 0x000063 },
[0x01d451] = { 0x000064 },
[0x01d452] = { 0x000065 },
[0x01d453] = { 0x000066 },
[0x01d454] = { 0x000067 },
[0x01d456] = { 0x000069 },
[0x01d457] = { 0x00006a },
[0x01d458] = { 0x00006b },
[0x01d459] = { 0x00006c },
[0x01d45a] = { 0x00006d },
[0x01d45b] = { 0x00006e },
[0x01d45c] = { 0x00006f },
[0x01d45d] = { 0x000070 },
[0x01d45e] = { 0x000071 },
[0x01d45f] = { 0x000072 },
[0x01d460] = { 0x000073 },
[0x01d461] = { 0x000074 },
[0x01d462] = { 0x000075 },
[0x01d463] = { 0x000076 },
[0x01d464] = { 0x000077 },
[0x01d465] = { 0x000078 },
[0x01d466] = { 0x000079 },
[0x01d467] = { 0x00007a },
[0x01d468] = { 0x000041 },
[0x01d469] = { 0x000042 },
[0x01d46a] = { 0x000043 },
[0x01d46b] = { 0x000044 },
[0x01d46c] = { 0x000045 },
[0x01d46d] = { 0x000046 },
[0x01d46e] = { 0x000047 },
[0x01d46f] = { 0x000048 },
[0x01d470] = { 0x000049 },
[0x01d471] = { 0x00004a },
[0x01d472] = { 0x00004b },
[0x01d473] = { 0x00004c },
[0x01d474] = { 0x00004d },
[0x01d475] = { 0x00004e },
[0x01d476] = { 0x00004f },
[0x01d477] = { 0x000050 },
[0x01d478] = { 0x000051 },
[0x01d479] = { 0x000052 },
[0x01d47a] = { 0x000053 },
[0x01d47b] = { 0x000054 },
[0x01d47c] = { 0x000055 },
[0x01d47d] = { 0x000056 },
[0x01d47e] = { 0x000057 },
[0x01d47f] = { 0x000058 },
[0x01d480] = { 0x000059 },
[0x01d481] = { 0x00005a },
[0x01d482] = { 0x000061 },
[0x01d483] = { 0x000062 },
[0x01d484] = { 0x000063 },
[0x01d485] = { 0x000064 },
[0x01d486] = { 0x000065 },
[0x01d487] = { 0x000066 },
[0x01d488] = { 0x000067 },
[0x01d489] = { 0x000068 },
[0x01d48a] = { 0x000069 },
[0x01d48b] = { 0x00006a },
[0x01d48c] = { 0x00006b },
[0x01d48d] = { 0x00006c },
[0x01d48e] = { 0x00006d },
[0x01d48f] = { 0x00006e },
[0x01d490] = { 0x00006f },
[0x01d491] = { 0x000070 },
[0x01d492] = { 0x000071 },
[0x01d493] = { 0x000072 },
[0x01d494] = { 0x000073 },
[0x01d495] = { 0x000074 },
[0x01d496] = { 0x000075 },
[0x01d497] = { 0x000076 },
[0x01d498] = { 0x000077 },
[0x01d499] = { 0x000078 },
[0x01d49a] = { 0x000079 },
[0x01d49b] = { 0x00007a },
[0x01d49c] = { 0x000041 },
[0x01d49e] = { 0x000043 },
[0x01d49f] = { 0x000044 },
[0x01d4a2] = { 0x000047 },
[0x01d4a5] = { 0x00004a },
[0x01d4a6] = { 0x00004b },
[0x01d4a9] = { 0x00004e },
[0x01d4aa] = { 0x00004f },
[0x01d4ab] = { 0x000050 },
[0x01d4ac] = { 0x000051 },
[0x01d4ae] = { 0x000053 },
[0x01d4af] = { 0x000054 },
[0x01d4b0] = { 0x000055 },
[0x01d4b1] = { 0x000056 },
[0x01d4b2] = { 0x000057 },
[0x01d4b3] = { 0x000058 },
[0x01d4b4] = { 0x000059 },
[0x01d4b5] = { 0x00005a },
[0x01d4b6] = { 0x000061 },
[0x01d4b7] = { 0x000062 },
[0x01d4b8] = { 0x000063 },
[0x01d4b9] = { 0x000064 },
[0x01d4bb] = { 0x000066 },
[0x01d4bd] = { 0x000068 },
[0x01d4be] = { 0x000069 },
[0x01d4bf] = { 0x00006a },
[0x01d4c0] = { 0x00006b },
[0x01d4c1] = { 0x00006c },
[0x01d4c2] = { 0x00006d },
[0x01d4c3] = { 0x00006e },
[0x01d4c5] = { 0x000070 },
[0x01d4c6] = { 0x000071 },
[0x01d4c7] = { 0x000072 },
[0x01d4c8] = { 0x000073 },
[0x01d4c9] = { 0x000074 },
[0x01d4ca] = { 0x000075 },
[0x01d4cb] = { 0x000076 },
[0x01d4cc] = { 0x000077 },
[0x01d4cd] = { 0x000078 },
[0x01d4ce] = { 0x000079 },
[0x01d4cf] = { 0x00007a },
[0x01d4d0] = { 0x000041 },
[0x01d4d1] = { 0x000042 },
[0x01d4d2] = { 0x000043 },
[0x01d4d3] = { 0x000044 },
[0x01d4d4] = { 0x000045 },
[0x01d4d5] = { 0x000046 },
[0x01d4d6] = { 0x000047 },
[0x01d4d7] = { 0x000048 },
[0x01d4d8] = { 0x000049 },
[0x01d4d9] = { 0x00004a },
[0x01d4da] = { 0x00004b },
[0x01d4db] = { 0x00004c },
[0x01d4dc] = { 0x00004d },
[0x01d4dd] = { 0x00004e },
[0x01d4de] = { 0x00004f },
[0x01d4df] = { 0x000050 },
[0x01d4e0] = { 0x000051 },
[0x01d4e1] = { 0x000052 },
[0x01d4e2] = { 0x000053 },
[0x01d4e3] = { 0x000054 },
[0x01d4e4] = { 0x000055 },
[0x01d4e5] = { 0x000056 },
[0x01d4e6] = { 0x000057 },
[0x01d4e7] = { 0x000058 },
[0x01d4e8] = { 0x000059 },
[0x01d4e9] = { 0x00005a },
[0x01d4ea] = { 0x000061 },
[0x01d4eb] = { 0x000062 },
[0x01d4ec] = { 0x000063 },
[0x01d4ed] = { 0x000064 },
[0x01d4ee] = { 0x000065 },
[0x01d4ef] = { 0x000066 },
[0x01d4f0] = { 0x000067 },
[0x01d4f1] = { 0x000068 },
[0x01d4f2] = { 0x000069 },
[0x01d4f3] = { 0x00006a },
[0x01d4f4] = { 0x00006b },
[0x01d4f5] = { 0x00006c },
[0x01d4f6] = { 0x00006d },
[0x01d4f7] = { 0x00006e },
[0x01d4f8] = { 0x00006f },
[0x01d4f9] = { 0x000070 },
[0x01d4fa] = { 0x000071 },
[0x01d4fb] = { 0x000072 },
[0x01d4fc] = { 0x000073 },
[0x01d4fd] = { 0x000074 },
[0x01d4fe] = { 0x000075 },
[0x01d4ff] = { 0x000076 },
[0x01d500] = { 0x000077 },
[0x01d501] = { 0x000078 },
[0x01d502] = { 0x000079 },
[0x01d503] = { 0x00007a },
[0x01d504] = { 0x000041 },
[0x01d505] = { 0x000042 },
[0x01d507] = { 0x000044 },
[0x01d508] = { 0x000045 },
[0x01d509] = { 0x000046 },
[0x01d50a] = { 0x000047 },
[0x01d50d] = { 0x00004a },
[0x01d50e] = { 0x00004b },
[0x01d50f] = { 0x00004c },
[0x01d510] = { 0x00004d },
[0x01d511] = { 0x00004e },
[0x01d512] = { 0x00004f },
[0x01d513] = { 0x000050 },
[0x01d514] = { 0x000051 },
[0x01d516] = { 0x000053 },
[0x01d517] = { 0x000054 },
[0x01d518] = { 0x000055 },
[0x01d519] = { 0x000056 },
[0x01d51a] = { 0x000057 },
[0x01d51b] = { 0x000058 },
[0x01d51c] = { 0x000059 },
[0x01d51e] = { 0x000061 },
[0x01d51f] = { 0x000062 },
[0x01d520] = { 0x000063 },
[0x01d521] = { 0x000064 },
[0x01d522] = { 0x000065 },
[0x01d523] = { 0x000066 },
[0x01d524] = { 0x000067 },
[0x01d525] = { 0x000068 },
[0x01d526] = { 0x000069 },
[0x01d527] = { 0x00006a },
[0x01d528] = { 0x00006b },
[0x01d529] = { 0x00006c },
[0x01d52a] = { 0x00006d },
[0x01d52b] = { 0x00006e },
[0x01d52c] = { 0x00006f },
[0x01d52d] = { 0x000070 },
[0x01d52e] = { 0x000071 },
[0x01d52f] = { 0x000072 },
[0x01d530] = { 0x000073 },
[0x01d531] = { 0x000074 },
[0x01d532] = { 0x000075 },
[0x01d533] = { 0x000076 },
[0x01d534] = { 0x000077 },
[0x01d535] = { 0x000078 },
[0x01d536] = { 0x000079 },
[0x01d537] = { 0x00007a },
[0x01d538] = { 0x000041 },
[0x01d539] = { 0x000042 },
[0x01d53b] = { 0x000044 },
[0x01d53c] = { 0x000045 },
[0x01d53d] = { 0x000046 },
[0x01d53e] = { 0x000047 },
[0x01d540] = { 0x000049 },
[0x01d541] = { 0x00004a },
[0x01d542] = { 0x00004b },
[0x01d543] = { 0x00004c },
[0x01d544] = { 0x00004d },
[0x01d546] = { 0x00004f },
[0x01d54a] = { 0x000053 },
[0x01d54b] = { 0x000054 },
[0x01d54c] = { 0x000055 },
[0x01d54d] = { 0x000056 },
[0x01d54e] = { 0x000057 },
[0x01d54f] = { 0x000058 },
[0x01d550] = { 0x000059 },
[0x01d552] = { 0x000061 },
[0x01d553] = { 0x000062 },
[0x01d554] = { 0x000063 },
[0x01d555] = { 0x000064 },
[0x01d556] = { 0x000065 },
[0x01d557] = { 0x000066 },
[0x01d558] = { 0x000067 },
[0x01d559] = { 0x000068 },
[0x01d55a] = { 0x000069 },
[0x01d55b] = { 0x00006a },
[0x01d55c] = { 0x00006b },
[0x01d55d] = { 0x00006c },
[0x01d55e] = { 0x00006d },
[0x01d55f] = { 0x00006e },
[0x01d560] = { 0x00006f },
[0x01d561] = { 0x000070 },
[0x01d562] = { 0x000071 },
[0x01d563] = { 0x000072 },
[0x01d564] = { 0x000073 },
[0x01d565] = { 0x000074 },
[0x01d566] = { 0x000075 },
[0x01d567] = { 0x000076 },
[0x01d568] = { 0x000077 },
[0x01d569] = { 0x000078 },
[0x01d56a] = { 0x000079 },
[0x01d56b] = { 0x00007a },
[0x01d56c] = { 0x000041 },
[0x01d56d] = { 0x000042 },
[0x01d56e] = { 0x000043 },
[0x01d56f] = { 0x000044 },
[0x01d570] = { 0x000045 },
[0x01d571] = { 0x000046 },
[0x01d572] = { 0x000047 },
[0x01d573] = { 0x000048 },
[0x01d574] = { 0x000049 },
[0x01d575] = { 0x00004a },
[0x01d576] = { 0x00004b },
[0x01d577] = { 0x00004c },
[0x01d578] = { 0x00004d },
[0x01d579] = { 0x00004e },
[0x01d57a] = { 0x00004f },
[0x01d57b] = { 0x000050 },
[0x01d57c] = { 0x000051 },
[0x01d57d] = { 0x000052 },
[0x01d57e] = { 0x000053 },
[0x01d57f] = { 0x000054 },
[0x01d580] = { 0x000055 },
[0x01d581] = { 0x000056 },
[0x01d582] = { 0x000057 },
[0x01d583] = { 0x000058 },
[0x01d584] = { 0x000059 },
[0x01d585] = { 0x00005a },
[0x01d586] = { 0x000061 },
[0x01d587] = { 0x000062 },
[0x01d588] = { 0x000063 },
[0x01d589] = { 0x000064 },
[0x01d58a] = { 0x000065 },
[0x01d58b] = { 0x000066 },
[0x01d58c] = { 0x000067 },
[0x01d58d] = { 0x000068 },
[0x01d58e] = { 0x000069 },
[0x01d58f] = { 0x00006a },
[0x01d590] = { 0x00006b },
[0x01d591] = { 0x00006c },
[0x01d592] = { 0x00006d },
[0x01d593] = { 0x00006e },
[0x01d594] = { 0x00006f },
[0x01d595] = { 0x000070 },
[0x01d596] = { 0x000071 },
[0x01d597] = { 0x000072 },
[0x01d598] = { 0x000073 },
[0x01d599] = { 0x000074 },
[0x01d59a] = { 0x000075 },
[0x01d59b] = { 0x000076 },
[0x01d59c] = { 0x000077 },
[0x01d59d] = { 0x000078 },
[0x01d59e] = { 0x000079 },
[0x01d59f] = { 0x00007a },
[0x01d5a0] = { 0x000041 },
[0x01d5a1] = { 0x000042 },
[0x01d5a2] = { 0x000043 },
[0x01d5a3] = { 0x000044 },
[0x01d5a4] = { 0x000045 },
[0x01d5a5] = { 0x000046 },
[0x01d5a6] = { 0x000047 },
[0x01d5a7] = { 0x000048 },
[0x01d5a8] = { 0x000049 },
[0x01d5a9] = { 0x00004a },
[0x01d5aa] = { 0x00004b },
[0x01d5ab] = { 0x00004c },
[0x01d5ac] = { 0x00004d },
[0x01d5ad] = { 0x00004e },
[0x01d5ae] = { 0x00004f },
[0x01d5af] = { 0x000050 },
[0x01d5b0] = { 0x000051 },
[0x01d5b1] = { 0x000052 },
[0x01d5b2] = { 0x000053 },
[0x01d5b3] = { 0x000054 },
[0x01d5b4] = { 0x000055 },
[0x01d5b5] = { 0x000056 },
[0x01d5b6] = { 0x000057 },
[0x01d5b7] = { 0x000058 },
[0x01d5b8] = { 0x000059 },
[0x01d5b9] = { 0x00005a },
[0x01d5ba] = { 0x000061 },
[0x01d5bb] = { 0x000062 },
[0x01d5bc] = { 0x000063 },
[0x01d5bd] = { 0x000064 },
[0x01d5be] = { 0x000065 },
[0x01d5bf] = { 0x000066 },
[0x01d5c0] = { 0x000067 },
[0x01d5c1] = { 0x000068 },
[0x01d5c2] = { 0x000069 },
[0x01d5c3] = { 0x00006a },
[0x01d5c4] = { 0x00006b },
[0x01d5c5] = { 0x00006c },
[0x01d5c6] = { 0x00006d },
[0x01d5c7] = { 0x00006e },
[0x01d5c8] = { 0x00006f },
[0x01d5c9] = { 0x000070 },
[0x01d5ca] = { 0x000071 },
[0x01d5cb] = { 0x000072 },
[0x01d5cc] = { 0x000073 },
[0x01d5cd] = { 0x000074 },
[0x01d5ce] = { 0x000075 },
[0x01d5cf] = { 0x000076 },
[0x01d5d0] = { 0x000077 },
[0x01d5d1] = { 0x000078 },
[0x01d5d2] = { 0x000079 },
[0x01d5d3] = { 0x00007a },
[0x01d5d4] = { 0x000041 },
[0x01d5d5] = { 0x000042 },
[0x01d5d6] = { 0x000043 },
[0x01d5d7] = { 0x000044 },
[0x01d5d8] = { 0x000045 },
[0x01d5d9] = { 0x000046 },
[0x01d5da] = { 0x000047 },
[0x01d5db] = { 0x000048 },
[0x01d5dc] = { 0x000049 },
[0x01d5dd] = { 0x00004a },
[0x01d5de] = { 0x00004b },
[0x01d5df] = { 0x00004c },
[0x01d5e0] = { 0x00004d },
[0x01d5e1] = { 0x00004e },
[0x01d5e2] = { 0x00004f },
[0x01d5e3] = { 0x000050 },
[0x01d5e4] = { 0x000051 },
[0x01d5e5] = { 0x000052 },
[0x01d5e6] = { 0x000053 },
[0x01d5e7] = { 0x000054 },
[0x01d5e8] = { 0x000055 },
[0x01d5e9] = { 0x000056 },
[0x01d5ea] = { 0x000057 },
[0x01d5eb] = { 0x000058 },
[0x01d5ec] = { 0x000059 },
[0x01d5ed] = { 0x00005a },
[0x01d5ee] = { 0x000061 },
[0x01d5ef] = { 0x000062 },
[0x01d5f0] = { 0x000063 },
[0x01d5f1] = { 0x000064 },
[0x01d5f2] = { 0x000065 },
[0x01d5f3] = { 0x000066 },
[0x01d5f4] = { 0x000067 },
[0x01d5f5] = { 0x000068 },
[0x01d5f6] = { 0x000069 },
[0x01d5f7] = { 0x00006a },
[0x01d5f8] = { 0x00006b },
[0x01d5f9] = { 0x00006c },
[0x01d5fa] = { 0x00006d },
[0x01d5fb] = { 0x00006e },
[0x01d5fc] = { 0x00006f },
[0x01d5fd] = { 0x000070 },
[0x01d5fe] = { 0x000071 },
[0x01d5ff] = { 0x000072 },
[0x01d600] = { 0x000073 },
[0x01d601] = { 0x000074 },
[0x01d602] = { 0x000075 },
[0x01d603] = { 0x000076 },
[0x01d604] = { 0x000077 },
[0x01d605] = { 0x000078 },
[0x01d606] = { 0x000079 },
[0x01d607] = { 0x00007a },
[0x01d608] = { 0x000041 },
[0x01d609] = { 0x000042 },
[0x01d60a] = { 0x000043 },
[0x01d60b] = { 0x000044 },
[0x01d60c] = { 0x000045 },
[0x01d60d] = { 0x000046 },
[0x01d60e] = { 0x000047 },
[0x01d60f] = { 0x000048 },
[0x01d610] = { 0x000049 },
[0x01d611] = { 0x00004a },
[0x01d612] = { 0x00004b },
[0x01d613] = { 0x00004c },
[0x01d614] = { 0x00004d },
[0x01d615] = { 0x00004e },
[0x01d616] = { 0x00004f },
[0x01d617] = { 0x000050 },
[0x01d618] = { 0x000051 },
[0x01d619] = { 0x000052 },
[0x01d61a] = { 0x000053 },
[0x01d61b] = { 0x000054 },
[0x01d61c] = { 0x000055 },
[0x01d61d] = { 0x000056 },
[0x01d61e] = { 0x000057 },
[0x01d61f] = { 0x000058 },
[0x01d620] = { 0x000059 },
[0x01d621] = { 0x00005a },
[0x01d622] = { 0x000061 },
[0x01d623] = { 0x000062 },
[0x01d624] = { 0x000063 },
[0x01d625] = { 0x000064 },
[0x01d626] = { 0x000065 },
[0x01d627] = { 0x000066 },
[0x01d628] = { 0x000067 },
[0x01d629] = { 0x000068 },
[0x01d62a] = { 0x000069 },
[0x01d62b] = { 0x00006a },
[0x01d62c] = { 0x00006b },
[0x01d62d] = { 0x00006c },
[0x01d62e] = { 0x00006d },
[0x01d62f] = { 0x00006e },
[0x01d630] = { 0x00006f },
[0x01d631] = { 0x000070 },
[0x01d632] = { 0x000071 },
[0x01d633] = { 0x000072 },
[0x01d634] = { 0x000073 },
[0x01d635] = { 0x000074 },
[0x01d636] = { 0x000075 },
[0x01d637] = { 0x000076 },
[0x01d638] = { 0x000077 },
[0x01d639] = { 0x000078 },
[0x01d63a] = { 0x000079 },
[0x01d63b] = { 0x00007a },
[0x01d63c] = { 0x000041 },
[0x01d63d] = { 0x000042 },
[0x01d63e] = { 0x000043 },
[0x01d63f] = { 0x000044 },
[0x01d640] = { 0x000045 },
[0x01d641] = { 0x000046 },
[0x01d642] = { 0x000047 },
[0x01d643] = { 0x000048 },
[0x01d644] = { 0x000049 },
[0x01d645] = { 0x00004a },
[0x01d646] = { 0x00004b },
[0x01d647] = { 0x00004c },
[0x01d648] = { 0x00004d },
[0x01d649] = { 0x00004e },
[0x01d64a] = { 0x00004f },
[0x01d64b] = { 0x000050 },
[0x01d64c] = { 0x000051 },
[0x01d64d] = { 0x000052 },
[0x01d64e] = { 0x000053 },
[0x01d64f] = { 0x000054 },
[0x01d650] = { 0x000055 },
[0x01d651] = { 0x000056 },
[0x01d652] = { 0x000057 },
[0x01d653] = { 0x000058 },
[0x01d654] = { 0x000059 },
[0x01d655] = { 0x00005a },
[0x01d656] = { 0x000061 },
[0x01d657] = { 0x000062 },
[0x01d658] = { 0x000063 },
[0x01d659] = { 0x000064 },
[0x01d65a] = { 0x000065 },
[0x01d65b] = { 0x000066 },
[0x01d65c] = { 0x000067 },
[0x01d65d] = { 0x000068 },
[0x01d65e] = { 0x000069 },
[0x01d65f] = { 0x00006a },
[0x01d660] = { 0x00006b },
[0x01d661] = { 0x00006c },
[0x01d662] = { 0x00006d },
[0x01d663] = { 0x00006e },
[0x01d664] = { 0x00006f },
[0x01d665] = { 0x000070 },
[0x01d666] = { 0x000071 },
[0x01d667] = { 0x000072 },
[0x01d668] = { 0x000073 },
[0x01d669] = { 0x000074 },
[0x01d66a] = { 0x000075 },
[0x01d66b] = { 0x000076 },
[0x01d66c] = { 0x000077 },
[0x01d66d] = { 0x000078 },
[0x01d66e] = { 0x000079 },
[0x01d66f] = { 0x00007a },
[0x01d670] = { 0x000041 },
[0x01d671] = { 0x000042 },
[0x01d672] = { 0x000043 },
[0x01d673] = { 0x000044 },
[0x01d674] = { 0x000045 },
[0x01d675] = { 0x000046 },
[0x01d676] = { 0x000047 },
[0x01d677] = { 0x000048 },
[0x01d678] = { 0x000049 },
[0x01d679] = { 0x00004a },
[0x01d67a] = { 0x00004b },
[0x01d67b] = { 0x00004c },
[0x01d67c] = { 0x00004d },
[0x01d67d] = { 0x00004e },
[0x01d67e] = { 0x00004f },
[0x01d67f] = { 0x000050 },
[0x01d680] = { 0x000051 },
[0x01d681] = { 0x000052 },
[0x01d682] = { 0x000053 },
[0x01d683] = { 0x000054 },
[0x01d684] = { 0x000055 },
[0x01d685] = { 0x000056 },
[0x01d686] = { 0x000057 },
[0x01d687] = { 0x000058 },
[0x01d688] = { 0x000059 },
[0x01d689] = { 0x00005a },
[0x01d68a] = { 0x000061 },
[0x01d68b] = { 0x000062 },
[0x01d68c] = { 0x000063 },
[0x01d68d] = { 0x000064 },
[0x01d68e] = { 0x000065 },
[0x01d68f] = { 0x000066 },
[0x01d690] = { 0x000067 },
[0x01d691] = { 0x000068 },
[0x01d692] = { 0x000069 },
[0x01d693] = { 0x00006a },
[0x01d694] = { 0x00006b },
[0x01d695] = { 0x00006c },
[0x01d696] = { 0x00006d },
[0x01d697] = { 0x00006e },
[0x01d698] = { 0x00006f },
[0x01d699] = { 0x000070 },
[0x01d69a] = { 0x000071 },
[0x01d69b] = { 0x000072 },
[0x01d69c] = { 0x000073 },
[0x01d69d] = { 0x000074 },
[0x01d69e] = { 0x000075 },
[0x01d69f] = { 0x000076 },
[0x01d6a0] = { 0x000077 },
[0x01d6a1] = { 0x000078 },
[0x01d6a2] = { 0x000079 },
[0x01d6a3] = { 0x00007a },
[0x01d6a4] = { 0x000131 },
[0x01d6a5] = { 0x000237 },
[0x01d6a8] = { 0x000391 },
[0x01d6a9] = { 0x000392 },
[0x01d6aa] = { 0x000393 },
[0x01d6ab] = { 0x000394 },
[0x01d6ac] = { 0x000395 },
[0x01d6ad] = { 0x000396 },
[0x01d6ae] = { 0x000397 },
[0x01d6af] = { 0x000398 },
[0x01d6b0] = { 0x000399 },
[0x01d6b1] = { 0x00039a },
[0x01d6b2] = { 0x00039b },
[0x01d6b3] = { 0x00039c },
[0x01d6b4] = { 0x00039d },
[0x01d6b5] = { 0x00039e },
[0x01d6b6] = { 0x00039f },
[0x01d6b7] = { 0x0003a0 },
[0x01d6b8] = { 0x0003a1 },
[0x01d6b9] = { 0x000398 },
[0x01d6ba] = { 0x0003a3 },
[0x01d6bb] = { 0x0003a4 },
[0x01d6bc] = { 0x0003a5 },
[0x01d6bd] = { 0x0003a6 },
[0x01d6be] = { 0x0003a7 },
[0x01d6bf] = { 0x0003a8 },
[0x01d6c0] = { 0x0003a9 },
[0x01d6c1] = { 0x002207 },
[0x01d6c2] = { 0x0003b1 },
[0x01d6c3] = { 0x0003b2 },
[0x01d6c4] = { 0x0003b3 },
[0x01d6c5] = { 0x0003b4 },
[0x01d6c6] = { 0x0003b5 },
[0x01d6c7] = { 0x0003b6 },
[0x01d6c8] = { 0x0003b7 },
[0x01d6c9] = { 0x0003b8 },
[0x01d6ca] = { 0x0003b9 },
[0x01d6cb] = { 0x0003ba },
[0x01d6cc] = { 0x0003bb },
[0x01d6cd] = { 0x0003bc },
[0x01d6ce] = { 0x0003bd },
[0x01d6cf] = { 0x0003be },
[0x01d6d0] = { 0x0003bf },
[0x01d6d1] = { 0x0003c0 },
[0x01d6d2] = { 0x0003c1 },
[0x01d6d3] = { 0x0003c2 },
[0x01d6d4] = { 0x0003c3 },
[0x01d6d5] = { 0x0003c4 },
[0x01d6d6] = { 0x0003c5 },
[0x01d6d7] = { 0x0003c6 },
[0x01d6d8] = { 0x0003c7 },
[0x01d6d9] = { 0x0003c8 },
[0x01d6da] = { 0x0003c9 },
[0x01d6db] = { 0x002202 },
[0x01d6dc] = { 0x0003b5 },
[0x01d6dd] = { 0x0003b8 },
[0x01d6de] = { 0x0003ba },
[0x01d6df] = { 0x0003c6 },
[0x01d6e0] = { 0x0003c1 },
[0x01d6e1] = { 0x0003c0 },
[0x01d6e2] = { 0x000391 },
[0x01d6e3] = { 0x000392 },
[0x01d6e4] = { 0x000393 },
[0x01d6e5] = { 0x000394 },
[0x01d6e6] = { 0x000395 },
[0x01d6e7] = { 0x000396 },
[0x01d6e8] = { 0x000397 },
[0x01d6e9] = { 0x000398 },
[0x01d6ea] = { 0x000399 },
[0x01d6eb] = { 0x00039a },
[0x01d6ec] = { 0x00039b },
[0x01d6ed] = { 0x00039c },
[0x01d6ee] = { 0x00039d },
[0x01d6ef] = { 0x00039e },
[0x01d6f0] = { 0x00039f },
[0x01d6f1] = { 0x0003a0 },
[0x01d6f2] = { 0x0003a1 },
[0x01d6f3] = { 0x000398 },
[0x01d6f4] = { 0x0003a3 },
[0x01d6f5] = { 0x0003a4 },
[0x01d6f6] = { 0x0003a5 },
[0x01d6f7] = { 0x0003a6 },
[0x01d6f8] = { 0x0003a7 },
[0x01d6f9] = { 0x0003a8 },
[0x01d6fa] = { 0x0003a9 },
[0x01d6fb] = { 0x002207 },
[0x01d6fc] = { 0x0003b1 },
[0x01d6fd] = { 0x0003b2 },
[0x01d6fe] = { 0x0003b3 },
[0x01d6ff] = { 0x0003b4 },
[0x01d700] = { 0x0003b5 },
[0x01d701] = { 0x0003b6 },
[0x01d702] = { 0x0003b7 },
[0x01d703] = { 0x0003b8 },
[0x01d704] = { 0x0003b9 },
[0x01d705] = { 0x0003ba },
[0x01d706] = { 0x0003bb },
[0x01d707] = { 0x0003bc },
[0x01d708] = { 0x0003bd },
[0x01d709] = { 0x0003be },
[0x01d70a] = { 0x0003bf },
[0x01d70b] = { 0x0003c0 },
[0x01d70c] = { 0x0003c1 },
[0x01d70d] = { 0x0003c2 },
[0x01d70e] = { 0x0003c3 },
[0x01d70f] = { 0x0003c4 },
[0x01d710] = { 0x0003c5 },
[0x01d711] = { 0x0003c6 },
[0x01d712] = { 0x0003c7 },
[0x01d713] = { 0x0003c8 },
[0x01d714] = { 0x0003c9 },
[0x01d715] = { 0x002202 },
[0x01d716] = { 0x0003b5 },
[0x01d717] = { 0x0003b8 },
[0x01d718] = { 0x0003ba },
[0x01d719] = { 0x0003c6 },
[0x01d71a] = { 0x0003c1 },
[0x01d71b] = { 0x0003c0 },
[0x01d71c] = { 0x000391 },
[0x01d71d] = { 0x000392 },
[0x01d71e] = { 0x000393 },
[0x01d71f] = { 0x000394 },
[0x01d720] = { 0x000395 },
[0x01d721] = { 0x000396 },
[0x01d722] = { 0x000397 },
[0x01d723] = { 0x000398 },
[0x01d724] = { 0x000399 },
[0x01d725] = { 0x00039a },
[0x01d726] = { 0x00039b },
[0x01d727] = { 0x00039c },
[0x01d728] = { 0x00039d },
[0x01d729] = { 0x00039e },
[0x01d72a] = { 0x00039f },
[0x01d72b] = { 0x0003a0 },
[0x01d72c] = { 0x0003a1 },
[0x01d72d] = { 0x000398 },
[0x01d72e] = { 0x0003a3 },
[0x01d72f] = { 0x0003a4 },
[0x01d730] = { 0x0003a5 },
[0x01d731] = { 0x0003a6 },
[0x01d732] = { 0x0003a7 },
[0x01d733] = { 0x0003a8 },
[0x01d734] = { 0x0003a9 },
[0x01d735] = { 0x002207 },
[0x01d736] = { 0x0003b1 },
[0x01d737] = { 0x0003b2 },
[0x01d738] = { 0x0003b3 },
[0x01d739] = { 0x0003b4 },
[0x01d73a] = { 0x0003b5 },
[0x01d73b] = { 0x0003b6 },
[0x01d73c] = { 0x0003b7 },
[0x01d73d] = { 0x0003b8 },
[0x01d73e] = { 0x0003b9 },
[0x01d73f] = { 0x0003ba },
[0x01d740] = { 0x0003bb },
[0x01d741] = { 0x0003bc },
[0x01d742] = { 0x0003bd },
[0x01d743] = { 0x0003be },
[0x01d744] = { 0x0003bf },
[0x01d745] = { 0x0003c0 },
[0x01d746] = { 0x0003c1 },
[0x01d747] = { 0x0003c2 },
[0x01d748] = { 0x0003c3 },
[0x01d749] = { 0x0003c4 },
[0x01d74a] = { 0x0003c5 },
[0x01d74b] = { 0x0003c6 },
[0x01d74c] = { 0x0003c7 },
[0x01d74d] = { 0x0003c8 },
[0x01d74e] = { 0x0003c9 },
[0x01d74f] = { 0x002202 },
[0x01d750] = { 0x0003b5 },
[0x01d751] = { 0x0003b8 },
[0x01d752] = { 0x0003ba },
[0x01d753] = { 0x0003c6 },
[0x01d754] = { 0x0003c1 },
[0x01d755] = { 0x0003c0 },
[0x01d756] = { 0x000391 },
[0x01d757] = { 0x000392 },
[0x01d758] = { 0x000393 },
[0x01d759] = { 0x000394 },
[0x01d75a] = { 0x000395 },
[0x01d75b] = { 0x000396 },
[0x01d75c] = { 0x000397 },
[0x01d75d] = { 0x000398 },
[0x01d75e] = { 0x000399 },
[0x01d75f] = { 0x00039a },
[0x01d760] = { 0x00039b },
[0x01d761] = { 0x00039c },
[0x01d762] = { 0x00039d },
[0x01d763] = { 0x00039e },
[0x01d764] = { 0x00039f },
[0x01d765] = { 0x0003a0 },
[0x01d766] = { 0x0003a1 },
[0x01d767] = { 0x000398 },
[0x01d768] = { 0x0003a3 },
[0x01d769] = { 0x0003a4 },
[0x01d76a] = { 0x0003a5 },
[0x01d76b] = { 0x0003a6 },
[0x01d76c] = { 0x0003a7 },
[0x01d76d] = { 0x0003a8 },
[0x01d76e] = { 0x0003a9 },
[0x01d76f] = { 0x002207 },
[0x01d770] = { 0x0003b1 },
[0x01d771] = { 0x0003b2 },
[0x01d772] = { 0x0003b3 },
[0x01d773] = { 0x0003b4 },
[0x01d774] = { 0x0003b5 },
[0x01d775] = { 0x0003b6 },
[0x01d776] = { 0x0003b7 },
[0x01d777] = { 0x0003b8 },
[0x01d778] = { 0x0003b9 },
[0x01d779] = { 0x0003ba },
[0x01d77a] = { 0x0003bb },
[0x01d77b] = { 0x0003bc },
[0x01d77c] = { 0x0003bd },
[0x01d77d] = { 0x0003be },
[0x01d77e] = { 0x0003bf },
[0x01d77f] = { 0x0003c0 },
[0x01d780] = { 0x0003c1 },
[0x01d781] = { 0x0003c2 },
[0x01d782] = { 0x0003c3 },
[0x01d783] = { 0x0003c4 },
[0x01d784] = { 0x0003c5 },
[0x01d785] = { 0x0003c6 },
[0x01d786] = { 0x0003c7 },
[0x01d787] = { 0x0003c8 },
[0x01d788] = { 0x0003c9 },
[0x01d789] = { 0x002202 },
[0x01d78a] = { 0x0003b5 },
[0x01d78b] = { 0x0003b8 },
[0x01d78c] = { 0x0003ba },
[0x01d78d] = { 0x0003c6 },
[0x01d78e] = { 0x0003c1 },
[0x01d78f] = { 0x0003c0 },
[0x01d790] = { 0x000391 },
[0x01d791] = { 0x000392 },
[0x01d792] = { 0x000393 },
[0x01d793] = { 0x000394 },
[0x01d794] = { 0x000395 },
[0x01d795] = { 0x000396 },
[0x01d796] = { 0x000397 },
[0x01d797] = { 0x000398 },
[0x01d798] = { 0x000399 },
[0x01d799] = { 0x00039a },
[0x01d79a] = { 0x00039b },
[0x01d79b] = { 0x00039c },
[0x01d79c] = { 0x00039d },
[0x01d79d] = { 0x00039e },
[0x01d79e] = { 0x00039f },
[0x01d79f] = { 0x0003a0 },
[0x01d7a0] = { 0x0003a1 },
[0x01d7a1] = { 0x000398 },
[0x01d7a2] = { 0x0003a3 },
[0x01d7a3] = { 0x0003a4 },
[0x01d7a4] = { 0x0003a5 },
[0x01d7a5] = { 0x0003a6 },
[0x01d7a6] = { 0x0003a7 },
[0x01d7a7] = { 0x0003a8 },
[0x01d7a8] = { 0x0003a9 },
[0x01d7a9] = { 0x002207 },
[0x01d7aa] = { 0x0003b1 },
[0x01d7ab] = { 0x0003b2 },
[0x01d7ac] = { 0x0003b3 },
[0x01d7ad] = { 0x0003b4 },
[0x01d7ae] = { 0x0003b5 },
[0x01d7af] = { 0x0003b6 },
[0x01d7b0] = { 0x0003b7 },
[0x01d7b1] = { 0x0003b8 },
[0x01d7b2] = { 0x0003b9 },
[0x01d7b3] = { 0x0003ba },
[0x01d7b4] = { 0x0003bb },
[0x01d7b5] = { 0x0003bc },
[0x01d7b6] = { 0x0003bd },
[0x01d7b7] = { 0x0003be },
[0x01d7b8] = { 0x0003bf },
[0x01d7b9] = { 0x0003c0 },
[0x01d7ba] = { 0x0003c1 },
[0x01d7bb] = { 0x0003c2 },
[0x01d7bc] = { 0x0003c3 },
[0x01d7bd] = { 0x0003c4 },
[0x01d7be] = { 0x0003c5 },
[0x01d7bf] = { 0x0003c6 },
[0x01d7c0] = { 0x0003c7 },
[0x01d7c1] = { 0x0003c8 },
[0x01d7c2] = { 0x0003c9 },
[0x01d7c3] = { 0x002202 },
[0x01d7c4] = { 0x0003b5 },
[0x01d7c5] = { 0x0003b8 },
[0x01d7c6] = { 0x0003ba },
[0x01d7c7] = { 0x0003c6 },
[0x01d7c8] = { 0x0003c1 },
[0x01d7c9] = { 0x0003c0 },
[0x01d7ca] = { 0x0003dc },
[0x01d7cb] = { 0x0003dd },
[0x01d7ce] = { 0x000030 },
[0x01d7cf] = { 0x000031 },
[0x01d7d0] = { 0x000032 },
[0x01d7d1] = { 0x000033 },
[0x01d7d2] = { 0x000034 },
[0x01d7d3] = { 0x000035 },
[0x01d7d4] = { 0x000036 },
[0x01d7d5] = { 0x000037 },
[0x01d7d6] = { 0x000038 },
[0x01d7d7] = { 0x000039 },
[0x01d7d8] = { 0x000030 },
[0x01d7d9] = { 0x000031 },
[0x01d7da] = { 0x000032 },
[0x01d7db] = { 0x000033 },
[0x01d7dc] = { 0x000034 },
[0x01d7dd] = { 0x000035 },
[0x01d7de] = { 0x000036 },
[0x01d7df] = { 0x000037 },
[0x01d7e0] = { 0x000038 },
[0x01d7e1] = { 0x000039 },
[0x01d7e2] = { 0x000030 },
[0x01d7e3] = { 0x000031 },
[0x01d7e4] = { 0x000032 },
[0x01d7e5] = { 0x000033 },
[0x01d7e6] = { 0x000034 },
[0x01d7e7] = { 0x000035 },
[0x01d7e8] = { 0x000036 },
[0x01d7e9] = { 0x000037 },
[0x01d7ea] = { 0x000038 },
[0x01d7eb] = { 0x000039 },
[0x01d7ec] = { 0x000030 },
[0x01d7ed] = { 0x000031 },
[0x01d7ee] = { 0x000032 },
[0x01d7ef] = { 0x000033 },
[0x01d7f0] = { 0x000034 },
[0x01d7f1] = { 0x000035 },
[0x01d7f2] = { 0x000036 },
[0x01d7f3] = { 0x000037 },
[0x01d7f4] = { 0x000038 },
[0x01d7f5] = { 0x000039 },
[0x01d7f6] = { 0x000030 },
[0x01d7f7] = { 0x000031 },
[0x01d7f8] = { 0x000032 },
[0x01d7f9] = { 0x000033 },
[0x01d7fa] = { 0x000034 },
[0x01d7fb] = { 0x000035 },
[0x01d7fc] = { 0x000036 },
[0x01d7fd] = { 0x000037 },
[0x01d7fe] = { 0x000038 },
[0x01d7ff] = { 0x000039 },
[0x01ee00] = { 0x000627 },
[0x01ee01] = { 0x000628 },
[0x01ee02] = { 0x00062c },
[0x01ee03] = { 0x00062f },
[0x01ee05] = { 0x000648 },
[0x01ee06] = { 0x000632 },
[0x01ee07] = { 0x00062d },
[0x01ee08] = { 0x000637 },
[0x01ee09] = { 0x00064a },
[0x01ee0a] = { 0x000643 },
[0x01ee0b] = { 0x000644 },
[0x01ee0c] = { 0x000645 },
[0x01ee0d] = { 0x000646 },
[0x01ee0e] = { 0x000633 },
[0x01ee0f] = { 0x000639 },
[0x01ee10] = { 0x000641 },
[0x01ee11] = { 0x000635 },
[0x01ee12] = { 0x000642 },
[0x01ee13] = { 0x000631 },
[0x01ee14] = { 0x000634 },
[0x01ee15] = { 0x00062a },
[0x01ee16] = { 0x00062b },
[0x01ee17] = { 0x00062e },
[0x01ee18] = { 0x000630 },
[0x01ee19] = { 0x000636 },
[0x01ee1a] = { 0x000638 },
[0x01ee1b] = { 0x00063a },
[0x01ee1c] = { 0x00066e },
[0x01ee1d] = { 0x0006ba },
[0x01ee1e] = { 0x0006a1 },
[0x01ee1f] = { 0x00066f },
[0x01ee21] = { 0x000628 },
[0x01ee22] = { 0x00062c },
[0x01ee24] = { 0x000647 },
[0x01ee27] = { 0x00062d },
[0x01ee29] = { 0x00064a },
[0x01ee2a] = { 0x000643 },
[0x01ee2b] = { 0x000644 },
[0x01ee2c] = { 0x000645 },
[0x01ee2d] = { 0x000646 },
[0x01ee2e] = { 0x000633 },
[0x01ee2f] = { 0x000639 },
[0x01ee30] = { 0x000641 },
[0x01ee31] = { 0x000635 },
[0x01ee32] = { 0x000642 },
[0x01ee34] = { 0x000634 },
[0x01ee35] = { 0x00062a },
[0x01ee36] = { 0x00062b },
[0x01ee37] = { 0x00062e },
[0x01ee39] = { 0x000636 },
[0x01ee3b] = { 0x00063a },
[0x01ee42] = { 0x00062c },
[0x01ee47] = { 0x00062d },
[0x01ee49] = { 0x00064a },
[0x01ee4b] = { 0x000644 },
[0x01ee4d] = { 0x000646 },
[0x01ee4e] = { 0x000633 },
[0x01ee4f] = { 0x000639 },
[0x01ee51] = { 0x000635 },
[0x01ee52] = { 0x000642 },
[0x01ee54] = { 0x000634 },
[0x01ee57] = { 0x00062e },
[0x01ee59] = { 0x000636 },
[0x01ee5b] = { 0x00063a },
[0x01ee5d] = { 0x0006ba },
[0x01ee5f] = { 0x00066f },
[0x01ee61] = { 0x000628 },
[0x01ee62] = { 0x00062c },
[0x01ee64] = { 0x000647 },
[0x01ee67] = { 0x00062d },
[0x01ee68] = { 0x000637 },
[0x01ee69] = { 0x00064a },
[0x01ee6a] = { 0x000643 },
[0x01ee6c] = { 0x000645 },
[0x01ee6d] = { 0x000646 },
[0x01ee6e] = { 0x000633 },
[0x01ee6f] = { 0x000639 },
[0x01ee70] = { 0x000641 },
[0x01ee71] = { 0x000635 },
[0x01ee72] = { 0x000642 },
[0x01ee74] = { 0x000634 },
[0x01ee75] = { 0x00062a },
[0x01ee76] = { 0x00062b },
[0x01ee77] = { 0x00062e },
[0x01ee79] = { 0x000636 },
[0x01ee7a] = { 0x000638 },
[0x01ee7b] = { 0x00063a },
[0x01ee7c] = { 0x00066e },
[0x01ee7e] = { 0x0006a1 },
[0x01ee80] = { 0x000627 },
[0x01ee81] = { 0x000628 },
[0x01ee82] = { 0x00062c },
[0x01ee83] = { 0x00062f },
[0x01ee84] = { 0x000647 },
[0x01ee85] = { 0x000648 },
[0x01ee86] = { 0x000632 },
[0x01ee87] = { 0x00062d },
[0x01ee88] = { 0x000637 },
[0x01ee89] = { 0x00064a },
[0x01ee8b] = { 0x000644 },
[0x01ee8c] = { 0x000645 },
[0x01ee8d] = { 0x000646 },
[0x01ee8e] = { 0x000633 },
[0x01ee8f] = { 0x000639 },
[0x01ee90] = { 0x000641 },
[0x01ee91] = { 0x000635 },
[0x01ee92] = { 0x000642 },
[0x01ee93] = { 0x000631 },
[0x01ee94] = { 0x000634 },
[0x01ee95] = { 0x00062a },
[0x01ee96] = { 0x00062b },
[0x01ee97] = { 0x00062e },
[0x01ee98] = { 0x000630 },
[0x01ee99] = { 0x000636 },
[0x01ee9a] = { 0x000638 },
[0x01ee9b] = { 0x00063a },
[0x01eea1] = { 0x000628 },
[0x01eea2] = { 0x00062c },
[0x01eea3] = { 0x00062f },
[0x01eea5] = { 0x000648 },
[0x01eea6] = { 0x000632 },
[0x01eea7] = { 0x00062d },
[0x01eea8] = { 0x000637 },
[0x01eea9] = { 0x00064a },
[0x01eeab] = { 0x000644 },
[0x01eeac] = { 0x000645 },
[0x01eead] = { 0x000646 },
[0x01eeae] = { 0x000633 },
[0x01eeaf] = { 0x000639 },
[0x01eeb0] = { 0x000641 },
[0x01eeb1] = { 0x000635 },
[0x01eeb2] = { 0x000642 },
[0x01eeb3] = { 0x000631 },
[0x01eeb4] = { 0x000634 },
[0x01eeb5] = { 0x00062a },
[0x01eeb6] = { 0x00062b },
[0x01eeb7] = { 0x00062e },
[0x01eeb8] = { 0x000630 },
[0x01eeb9] = { 0x000636 },
[0x01eeba] = { 0x000638 },
[0x01eebb] = { 0x00063a },
[0x01f100] = { 0x000030, 0x00002e },
[0x01f101] = { 0x000030, 0x00002c },
[0x01f102] = { 0x000031, 0x00002c },
[0x01f103] = { 0x000032, 0x00002c },
[0x01f104] = { 0x000033, 0x00002c },
[0x01f105] = { 0x000034, 0x00002c },
[0x01f106] = { 0x000035, 0x00002c },
[0x01f107] = { 0x000036, 0x00002c },
[0x01f108] = { 0x000037, 0x00002c },
[0x01f109] = { 0x000038, 0x00002c },
[0x01f10a] = { 0x000039, 0x00002c },
[0x01f110] = { 0x000028, 0x000041, 0x000029 },
[0x01f111] = { 0x000028, 0x000042, 0x000029 },
[0x01f112] = { 0x000028, 0x000043, 0x000029 },
[0x01f113] = { 0x000028, 0x000044, 0x000029 },
[0x01f114] = { 0x000028, 0x000045, 0x000029 },
[0x01f115] = { 0x000028, 0x000046, 0x000029 },
[0x01f116] = { 0x000028, 0x000047, 0x000029 },
[0x01f117] = { 0x000028, 0x000048, 0x000029 },
[0x01f118] = { 0x000028, 0x000049, 0x000029 },
[0x01f119] = { 0x000028, 0x00004a, 0x000029 },
[0x01f11a] = { 0x000028, 0x00004b, 0x000029 },
[0x01f11b] = { 0x000028, 0x00004c, 0x000029 },
[0x01f11c] = { 0x000028, 0x00004d, 0x000029 },
[0x01f11d] = { 0x000028, 0x00004e, 0x000029 },
[0x01f11e] = { 0x000028, 0x00004f, 0x000029 },
[0x01f11f] = { 0x000028, 0x000050, 0x000029 },
[0x01f120] = { 0x000028, 0x000051, 0x000029 },
[0x01f121] = { 0x000028, 0x000052, 0x000029 },
[0x01f122] = { 0x000028, 0x000053, 0x000029 },
[0x01f123] = { 0x000028, 0x000054, 0x000029 },
[0x01f124] = { 0x000028, 0x000055, 0x000029 },
[0x01f125] = { 0x000028, 0x000056, 0x000029 },
[0x01f126] = { 0x000028, 0x000057, 0x000029 },
[0x01f127] = { 0x000028, 0x000058, 0x000029 },
[0x01f128] = { 0x000028, 0x000059, 0x000029 },
[0x01f129] = { 0x000028, 0x00005a, 0x000029 },
[0x01f12a] = { 0x003014, 0x000053, 0x003015 },
[0x01f12b] = { 0x000043 },
[0x01f12c] = { 0x000052 },
[0x01f12d] = { 0x000043, 0x000044 },
[0x01f12e] = { 0x000057, 0x00005a },
[0x01f130] = { 0x000041 },
[0x01f131] = { 0x000042 },
[0x01f132] = { 0x000043 },
[0x01f133] = { 0x000044 },
[0x01f134] = { 0x000045 },
[0x01f135] = { 0x000046 },
[0x01f136] = { 0x000047 },
[0x01f137] = { 0x000048 },
[0x01f138] = { 0x000049 },
[0x01f139] = { 0x00004a },
[0x01f13a] = { 0x00004b },
[0x01f13b] = { 0x00004c },
[0x01f13c] = { 0x00004d },
[0x01f13d] = { 0x00004e },
[0x01f13e] = { 0x00004f },
[0x01f13f] = { 0x000050 },
[0x01f140] = { 0x000051 },
[0x01f141] = { 0x000052 },
[0x01f142] = { 0x000053 },
[0x01f143] = { 0x000054 },
[0x01f144] = { 0x000055 },
[0x01f145] = { 0x000056 },
[0x01f146] = { 0x000057 },
[0x01f147] = { 0x000058 },
[0x01f148] = { 0x000059 },
[0x01f149] = { 0x00005a },
[0x01f14a] = { 0x000048, 0x000056 },
[0x01f14b] = { 0x00004d, 0x000056 },
[0x01f14c] = { 0x000053, 0x000044 },
[0x01f14d] = { 0x000053, 0x000053 },
[0x01f14e] = { 0x000050, 0x000050, 0x000056 },
[0x01f14f] = { 0x000057, 0x000043 },
[0x01f16a] = { 0x00004d, 0x000043 },
[0x01f16b] = { 0x00004d, 0x000044 },
[0x01f190] = { 0x000044, 0x00004a },
[0x01f200] = { 0x00307b, 0x00304b },
[0x01f201] = { 0x0030b3, 0x0030b3 },
[0x01f202] = { 0x0030b5 },
[0x01f210] = { 0x00624b },
[0x01f211] = { 0x005b57 },
[0x01f212] = { 0x0053cc },
[0x01f213] = { 0x0030c6, 0x003099 },
[0x01f214] = { 0x004e8c },
[0x01f215] = { 0x00591a },
[0x01f216] = { 0x0089e3 },
[0x01f217] = { 0x005929 },
[0x01f218] = { 0x004ea4 },
[0x01f219] = { 0x006620 },
[0x01f21a] = { 0x007121 },
[0x01f21b] = { 0x006599 },
[0x01f21c] = { 0x00524d },
[0x01f21d] = { 0x005f8c },
[0x01f21e] = { 0x00518d },
[0x01f21f] = { 0x0065b0 },
[0x01f220] = { 0x00521d },
[0x01f221] = { 0x007d42 },
[0x01f222] = { 0x00751f },
[0x01f223] = { 0x008ca9 },
[0x01f224] = { 0x0058f0 },
[0x01f225] = { 0x005439 },
[0x01f226] = { 0x006f14 },
[0x01f227] = { 0x006295 },
[0x01f228] = { 0x006355 },
[0x01f229] = { 0x004e00 },
[0x01f22a] = { 0x004e09 },
[0x01f22b] = { 0x00904a },
[0x01f22c] = { 0x005de6 },
[0x01f22d] = { 0x004e2d },
[0x01f22e] = { 0x0053f3 },
[0x01f22f] = { 0x006307 },
[0x01f230] = { 0x008d70 },
[0x01f231] = { 0x006253 },
[0x01f232] = { 0x007981 },
[0x01f233] = { 0x007a7a },
[0x01f234] = { 0x005408 },
[0x01f235] = { 0x006e80 },
[0x01f236] = { 0x006709 },
[0x01f237] = { 0x006708 },
[0x01f238] = { 0x007533 },
[0x01f239] = { 0x005272 },
[0x01f23a] = { 0x0055b6 },
[0x01f240] = { 0x003014, 0x00672c, 0x003015 },
[0x01f241] = { 0x003014, 0x004e09, 0x003015 },
[0x01f242] = { 0x003014, 0x004e8c, 0x003015 },
[0x01f243] = { 0x003014, 0x005b89, 0x003015 },
[0x01f244] = { 0x003014, 0x0070b9, 0x003015 },
[0x01f245] = { 0x003014, 0x006253, 0x003015 },
[0x01f246] = { 0x003014, 0x0076d7, 0x003015 },
[0x01f247] = { 0x003014, 0x0052dd, 0x003015 },
[0x01f248] = { 0x003014, 0x006557, 0x003015 },
[0x01f250] = { 0x005f97 },
[0x01f251] = { 0x0053ef },
},
-- Character-pairs mapped to what they compose to
-- Note Jamo to Hangul is done separately below
comp = {
[0x00003c] = {
[0x000338] = 0x00226e,
},
[0x00003d] = {
[0x000338] = 0x002260,
},
[0x00003e] = {
[0x000338] = 0x00226f,
},
[0x000041] = {
[0x000300] = 0x0000c0,
[0x000301] = 0x0000c1,
[0x000302] = 0x0000c2,
[0x000303] = 0x0000c3,
[0x000304] = 0x000100,
[0x000306] = 0x000102,
[0x000307] = 0x000226,
[0x000308] = 0x0000c4,
[0x000309] = 0x001ea2,
[0x00030a] = 0x0000c5,
[0x00030c] = 0x0001cd,
[0x00030f] = 0x000200,
[0x000311] = 0x000202,
[0x000323] = 0x001ea0,
[0x000325] = 0x001e00,
[0x000328] = 0x000104,
},
[0x000042] = {
[0x000307] = 0x001e02,
[0x000323] = 0x001e04,
[0x000331] = 0x001e06,
},
[0x000043] = {
[0x000301] = 0x000106,
[0x000302] = 0x000108,
[0x000307] = 0x00010a,
[0x00030c] = 0x00010c,
[0x000327] = 0x0000c7,
},
[0x000044] = {
[0x000307] = 0x001e0a,
[0x00030c] = 0x00010e,
[0x000323] = 0x001e0c,
[0x000327] = 0x001e10,
[0x00032d] = 0x001e12,
[0x000331] = 0x001e0e,
},
[0x000045] = {
[0x000300] = 0x0000c8,
[0x000301] = 0x0000c9,
[0x000302] = 0x0000ca,
[0x000303] = 0x001ebc,
[0x000304] = 0x000112,
[0x000306] = 0x000114,
[0x000307] = 0x000116,
[0x000308] = 0x0000cb,
[0x000309] = 0x001eba,
[0x00030c] = 0x00011a,
[0x00030f] = 0x000204,
[0x000311] = 0x000206,
[0x000323] = 0x001eb8,
[0x000327] = 0x000228,
[0x000328] = 0x000118,
[0x00032d] = 0x001e18,
[0x000330] = 0x001e1a,
},
[0x000046] = {
[0x000307] = 0x001e1e,
},
[0x000047] = {
[0x000301] = 0x0001f4,
[0x000302] = 0x00011c,
[0x000304] = 0x001e20,
[0x000306] = 0x00011e,
[0x000307] = 0x000120,
[0x00030c] = 0x0001e6,
[0x000327] = 0x000122,
},
[0x000048] = {
[0x000302] = 0x000124,
[0x000307] = 0x001e22,
[0x000308] = 0x001e26,
[0x00030c] = 0x00021e,
[0x000323] = 0x001e24,
[0x000327] = 0x001e28,
[0x00032e] = 0x001e2a,
},
[0x000049] = {
[0x000300] = 0x0000cc,
[0x000301] = 0x0000cd,
[0x000302] = 0x0000ce,
[0x000303] = 0x000128,
[0x000304] = 0x00012a,
[0x000306] = 0x00012c,
[0x000307] = 0x000130,
[0x000308] = 0x0000cf,
[0x000309] = 0x001ec8,
[0x00030c] = 0x0001cf,
[0x00030f] = 0x000208,
[0x000311] = 0x00020a,
[0x000323] = 0x001eca,
[0x000328] = 0x00012e,
[0x000330] = 0x001e2c,
},
[0x00004a] = {
[0x000302] = 0x000134,
},
[0x00004b] = {
[0x000301] = 0x001e30,
[0x00030c] = 0x0001e8,
[0x000323] = 0x001e32,
[0x000327] = 0x000136,
[0x000331] = 0x001e34,
},
[0x00004c] = {
[0x000301] = 0x000139,
[0x00030c] = 0x00013d,
[0x000323] = 0x001e36,
[0x000327] = 0x00013b,
[0x00032d] = 0x001e3c,
[0x000331] = 0x001e3a,
},
[0x00004d] = {
[0x000301] = 0x001e3e,
[0x000307] = 0x001e40,
[0x000323] = 0x001e42,
},
[0x00004e] = {
[0x000300] = 0x0001f8,
[0x000301] = 0x000143,
[0x000303] = 0x0000d1,
[0x000307] = 0x001e44,
[0x00030c] = 0x000147,
[0x000323] = 0x001e46,
[0x000327] = 0x000145,
[0x00032d] = 0x001e4a,
[0x000331] = 0x001e48,
},
[0x00004f] = {
[0x000300] = 0x0000d2,
[0x000301] = 0x0000d3,
[0x000302] = 0x0000d4,
[0x000303] = 0x0000d5,
[0x000304] = 0x00014c,
[0x000306] = 0x00014e,
[0x000307] = 0x00022e,
[0x000308] = 0x0000d6,
[0x000309] = 0x001ece,
[0x00030b] = 0x000150,
[0x00030c] = 0x0001d1,
[0x00030f] = 0x00020c,
[0x000311] = 0x00020e,
[0x00031b] = 0x0001a0,
[0x000323] = 0x001ecc,
[0x000328] = 0x0001ea,
},
[0x000050] = {
[0x000301] = 0x001e54,
[0x000307] = 0x001e56,
},
[0x000052] = {
[0x000301] = 0x000154,
[0x000307] = 0x001e58,
[0x00030c] = 0x000158,
[0x00030f] = 0x000210,
[0x000311] = 0x000212,
[0x000323] = 0x001e5a,
[0x000327] = 0x000156,
[0x000331] = 0x001e5e,
},
[0x000053] = {
[0x000301] = 0x00015a,
[0x000302] = 0x00015c,
[0x000307] = 0x001e60,
[0x00030c] = 0x000160,
[0x000323] = 0x001e62,
[0x000326] = 0x000218,
[0x000327] = 0x00015e,
},
[0x000054] = {
[0x000307] = 0x001e6a,
[0x00030c] = 0x000164,
[0x000323] = 0x001e6c,
[0x000326] = 0x00021a,
[0x000327] = 0x000162,
[0x00032d] = 0x001e70,
[0x000331] = 0x001e6e,
},
[0x000055] = {
[0x000300] = 0x0000d9,
[0x000301] = 0x0000da,
[0x000302] = 0x0000db,
[0x000303] = 0x000168,
[0x000304] = 0x00016a,
[0x000306] = 0x00016c,
[0x000308] = 0x0000dc,
[0x000309] = 0x001ee6,
[0x00030a] = 0x00016e,
[0x00030b] = 0x000170,
[0x00030c] = 0x0001d3,
[0x00030f] = 0x000214,
[0x000311] = 0x000216,
[0x00031b] = 0x0001af,
[0x000323] = 0x001ee4,
[0x000324] = 0x001e72,
[0x000328] = 0x000172,
[0x00032d] = 0x001e76,
[0x000330] = 0x001e74,
},
[0x000056] = {
[0x000303] = 0x001e7c,
[0x000323] = 0x001e7e,
},
[0x000057] = {
[0x000300] = 0x001e80,
[0x000301] = 0x001e82,
[0x000302] = 0x000174,
[0x000307] = 0x001e86,
[0x000308] = 0x001e84,
[0x000323] = 0x001e88,
},
[0x000058] = {
[0x000307] = 0x001e8a,
[0x000308] = 0x001e8c,
},
[0x000059] = {
[0x000300] = 0x001ef2,
[0x000301] = 0x0000dd,
[0x000302] = 0x000176,
[0x000303] = 0x001ef8,
[0x000304] = 0x000232,
[0x000307] = 0x001e8e,
[0x000308] = 0x000178,
[0x000309] = 0x001ef6,
[0x000323] = 0x001ef4,
},
[0x00005a] = {
[0x000301] = 0x000179,
[0x000302] = 0x001e90,
[0x000307] = 0x00017b,
[0x00030c] = 0x00017d,
[0x000323] = 0x001e92,
[0x000331] = 0x001e94,
},
[0x000061] = {
[0x000300] = 0x0000e0,
[0x000301] = 0x0000e1,
[0x000302] = 0x0000e2,
[0x000303] = 0x0000e3,
[0x000304] = 0x000101,
[0x000306] = 0x000103,
[0x000307] = 0x000227,
[0x000308] = 0x0000e4,
[0x000309] = 0x001ea3,
[0x00030a] = 0x0000e5,
[0x00030c] = 0x0001ce,
[0x00030f] = 0x000201,
[0x000311] = 0x000203,
[0x000323] = 0x001ea1,
[0x000325] = 0x001e01,
[0x000328] = 0x000105,
},
[0x000062] = {
[0x000307] = 0x001e03,
[0x000323] = 0x001e05,
[0x000331] = 0x001e07,
},
[0x000063] = {
[0x000301] = 0x000107,
[0x000302] = 0x000109,
[0x000307] = 0x00010b,
[0x00030c] = 0x00010d,
[0x000327] = 0x0000e7,
},
[0x000064] = {
[0x000307] = 0x001e0b,
[0x00030c] = 0x00010f,
[0x000323] = 0x001e0d,
[0x000327] = 0x001e11,
[0x00032d] = 0x001e13,
[0x000331] = 0x001e0f,
},
[0x000065] = {
[0x000300] = 0x0000e8,
[0x000301] = 0x0000e9,
[0x000302] = 0x0000ea,
[0x000303] = 0x001ebd,
[0x000304] = 0x000113,
[0x000306] = 0x000115,
[0x000307] = 0x000117,
[0x000308] = 0x0000eb,
[0x000309] = 0x001ebb,
[0x00030c] = 0x00011b,
[0x00030f] = 0x000205,
[0x000311] = 0x000207,
[0x000323] = 0x001eb9,
[0x000327] = 0x000229,
[0x000328] = 0x000119,
[0x00032d] = 0x001e19,
[0x000330] = 0x001e1b,
},
[0x000066] = {
[0x000307] = 0x001e1f,
},
[0x000067] = {
[0x000301] = 0x0001f5,
[0x000302] = 0x00011d,
[0x000304] = 0x001e21,
[0x000306] = 0x00011f,
[0x000307] = 0x000121,
[0x00030c] = 0x0001e7,
[0x000327] = 0x000123,
},
[0x000068] = {
[0x000302] = 0x000125,
[0x000307] = 0x001e23,
[0x000308] = 0x001e27,
[0x00030c] = 0x00021f,
[0x000323] = 0x001e25,
[0x000327] = 0x001e29,
[0x00032e] = 0x001e2b,
[0x000331] = 0x001e96,
},
[0x000069] = {
[0x000300] = 0x0000ec,
[0x000301] = 0x0000ed,
[0x000302] = 0x0000ee,
[0x000303] = 0x000129,
[0x000304] = 0x00012b,
[0x000306] = 0x00012d,
[0x000308] = 0x0000ef,
[0x000309] = 0x001ec9,
[0x00030c] = 0x0001d0,
[0x00030f] = 0x000209,
[0x000311] = 0x00020b,
[0x000323] = 0x001ecb,
[0x000328] = 0x00012f,
[0x000330] = 0x001e2d,
},
[0x00006a] = {
[0x000302] = 0x000135,
[0x00030c] = 0x0001f0,
},
[0x00006b] = {
[0x000301] = 0x001e31,
[0x00030c] = 0x0001e9,
[0x000323] = 0x001e33,
[0x000327] = 0x000137,
[0x000331] = 0x001e35,
},
[0x00006c] = {
[0x000301] = 0x00013a,
[0x00030c] = 0x00013e,
[0x000323] = 0x001e37,
[0x000327] = 0x00013c,
[0x00032d] = 0x001e3d,
[0x000331] = 0x001e3b,
},
[0x00006d] = {
[0x000301] = 0x001e3f,
[0x000307] = 0x001e41,
[0x000323] = 0x001e43,
},
[0x00006e] = {
[0x000300] = 0x0001f9,
[0x000301] = 0x000144,
[0x000303] = 0x0000f1,
[0x000307] = 0x001e45,
[0x00030c] = 0x000148,
[0x000323] = 0x001e47,
[0x000327] = 0x000146,
[0x00032d] = 0x001e4b,
[0x000331] = 0x001e49,
},
[0x00006f] = {
[0x000300] = 0x0000f2,
[0x000301] = 0x0000f3,
[0x000302] = 0x0000f4,
[0x000303] = 0x0000f5,
[0x000304] = 0x00014d,
[0x000306] = 0x00014f,
[0x000307] = 0x00022f,
[0x000308] = 0x0000f6,
[0x000309] = 0x001ecf,
[0x00030b] = 0x000151,
[0x00030c] = 0x0001d2,
[0x00030f] = 0x00020d,
[0x000311] = 0x00020f,
[0x00031b] = 0x0001a1,
[0x000323] = 0x001ecd,
[0x000328] = 0x0001eb,
},
[0x000070] = {
[0x000301] = 0x001e55,
[0x000307] = 0x001e57,
},
[0x000072] = {
[0x000301] = 0x000155,
[0x000307] = 0x001e59,
[0x00030c] = 0x000159,
[0x00030f] = 0x000211,
[0x000311] = 0x000213,
[0x000323] = 0x001e5b,
[0x000327] = 0x000157,
[0x000331] = 0x001e5f,
},
[0x000073] = {
[0x000301] = 0x00015b,
[0x000302] = 0x00015d,
[0x000307] = 0x001e61,
[0x00030c] = 0x000161,
[0x000323] = 0x001e63,
[0x000326] = 0x000219,
[0x000327] = 0x00015f,
},
[0x000074] = {
[0x000307] = 0x001e6b,
[0x000308] = 0x001e97,
[0x00030c] = 0x000165,
[0x000323] = 0x001e6d,
[0x000326] = 0x00021b,
[0x000327] = 0x000163,
[0x00032d] = 0x001e71,
[0x000331] = 0x001e6f,
},
[0x000075] = {
[0x000300] = 0x0000f9,
[0x000301] = 0x0000fa,
[0x000302] = 0x0000fb,
[0x000303] = 0x000169,
[0x000304] = 0x00016b,
[0x000306] = 0x00016d,
[0x000308] = 0x0000fc,
[0x000309] = 0x001ee7,
[0x00030a] = 0x00016f,
[0x00030b] = 0x000171,
[0x00030c] = 0x0001d4,
[0x00030f] = 0x000215,
[0x000311] = 0x000217,
[0x00031b] = 0x0001b0,
[0x000323] = 0x001ee5,
[0x000324] = 0x001e73,
[0x000328] = 0x000173,
[0x00032d] = 0x001e77,
[0x000330] = 0x001e75,
},
[0x000076] = {
[0x000303] = 0x001e7d,
[0x000323] = 0x001e7f,
},
[0x000077] = {
[0x000300] = 0x001e81,
[0x000301] = 0x001e83,
[0x000302] = 0x000175,
[0x000307] = 0x001e87,
[0x000308] = 0x001e85,
[0x00030a] = 0x001e98,
[0x000323] = 0x001e89,
},
[0x000078] = {
[0x000307] = 0x001e8b,
[0x000308] = 0x001e8d,
},
[0x000079] = {
[0x000300] = 0x001ef3,
[0x000301] = 0x0000fd,
[0x000302] = 0x000177,
[0x000303] = 0x001ef9,
[0x000304] = 0x000233,
[0x000307] = 0x001e8f,
[0x000308] = 0x0000ff,
[0x000309] = 0x001ef7,
[0x00030a] = 0x001e99,
[0x000323] = 0x001ef5,
},
[0x00007a] = {
[0x000301] = 0x00017a,
[0x000302] = 0x001e91,
[0x000307] = 0x00017c,
[0x00030c] = 0x00017e,
[0x000323] = 0x001e93,
[0x000331] = 0x001e95,
},
[0x0000a8] = {
[0x000300] = 0x001fed,
[0x000301] = 0x000385,
[0x000342] = 0x001fc1,
},
[0x0000c2] = {
[0x000300] = 0x001ea6,
[0x000301] = 0x001ea4,
[0x000303] = 0x001eaa,
[0x000309] = 0x001ea8,
},
[0x0000c4] = {
[0x000304] = 0x0001de,
},
[0x0000c5] = {
[0x000301] = 0x0001fa,
},
[0x0000c6] = {
[0x000301] = 0x0001fc,
[0x000304] = 0x0001e2,
},
[0x0000c7] = {
[0x000301] = 0x001e08,
},
[0x0000ca] = {
[0x000300] = 0x001ec0,
[0x000301] = 0x001ebe,
[0x000303] = 0x001ec4,
[0x000309] = 0x001ec2,
},
[0x0000cf] = {
[0x000301] = 0x001e2e,
},
[0x0000d4] = {
[0x000300] = 0x001ed2,
[0x000301] = 0x001ed0,
[0x000303] = 0x001ed6,
[0x000309] = 0x001ed4,
},
[0x0000d5] = {
[0x000301] = 0x001e4c,
[0x000304] = 0x00022c,
[0x000308] = 0x001e4e,
},
[0x0000d6] = {
[0x000304] = 0x00022a,
},
[0x0000d8] = {
[0x000301] = 0x0001fe,
},
[0x0000dc] = {
[0x000300] = 0x0001db,
[0x000301] = 0x0001d7,
[0x000304] = 0x0001d5,
[0x00030c] = 0x0001d9,
},
[0x0000e2] = {
[0x000300] = 0x001ea7,
[0x000301] = 0x001ea5,
[0x000303] = 0x001eab,
[0x000309] = 0x001ea9,
},
[0x0000e4] = {
[0x000304] = 0x0001df,
},
[0x0000e5] = {
[0x000301] = 0x0001fb,
},
[0x0000e6] = {
[0x000301] = 0x0001fd,
[0x000304] = 0x0001e3,
},
[0x0000e7] = {
[0x000301] = 0x001e09,
},
[0x0000ea] = {
[0x000300] = 0x001ec1,
[0x000301] = 0x001ebf,
[0x000303] = 0x001ec5,
[0x000309] = 0x001ec3,
},
[0x0000ef] = {
[0x000301] = 0x001e2f,
},
[0x0000f4] = {
[0x000300] = 0x001ed3,
[0x000301] = 0x001ed1,
[0x000303] = 0x001ed7,
[0x000309] = 0x001ed5,
},
[0x0000f5] = {
[0x000301] = 0x001e4d,
[0x000304] = 0x00022d,
[0x000308] = 0x001e4f,
},
[0x0000f6] = {
[0x000304] = 0x00022b,
},
[0x0000f8] = {
[0x000301] = 0x0001ff,
},
[0x0000fc] = {
[0x000300] = 0x0001dc,
[0x000301] = 0x0001d8,
[0x000304] = 0x0001d6,
[0x00030c] = 0x0001da,
},
[0x000102] = {
[0x000300] = 0x001eb0,
[0x000301] = 0x001eae,
[0x000303] = 0x001eb4,
[0x000309] = 0x001eb2,
},
[0x000103] = {
[0x000300] = 0x001eb1,
[0x000301] = 0x001eaf,
[0x000303] = 0x001eb5,
[0x000309] = 0x001eb3,
},
[0x000112] = {
[0x000300] = 0x001e14,
[0x000301] = 0x001e16,
},
[0x000113] = {
[0x000300] = 0x001e15,
[0x000301] = 0x001e17,
},
[0x00014c] = {
[0x000300] = 0x001e50,
[0x000301] = 0x001e52,
},
[0x00014d] = {
[0x000300] = 0x001e51,
[0x000301] = 0x001e53,
},
[0x00015a] = {
[0x000307] = 0x001e64,
},
[0x00015b] = {
[0x000307] = 0x001e65,
},
[0x000160] = {
[0x000307] = 0x001e66,
},
[0x000161] = {
[0x000307] = 0x001e67,
},
[0x000168] = {
[0x000301] = 0x001e78,
},
[0x000169] = {
[0x000301] = 0x001e79,
},
[0x00016a] = {
[0x000308] = 0x001e7a,
},
[0x00016b] = {
[0x000308] = 0x001e7b,
},
[0x00017f] = {
[0x000307] = 0x001e9b,
},
[0x0001a0] = {
[0x000300] = 0x001edc,
[0x000301] = 0x001eda,
[0x000303] = 0x001ee0,
[0x000309] = 0x001ede,
[0x000323] = 0x001ee2,
},
[0x0001a1] = {
[0x000300] = 0x001edd,
[0x000301] = 0x001edb,
[0x000303] = 0x001ee1,
[0x000309] = 0x001edf,
[0x000323] = 0x001ee3,
},
[0x0001af] = {
[0x000300] = 0x001eea,
[0x000301] = 0x001ee8,
[0x000303] = 0x001eee,
[0x000309] = 0x001eec,
[0x000323] = 0x001ef0,
},
[0x0001b0] = {
[0x000300] = 0x001eeb,
[0x000301] = 0x001ee9,
[0x000303] = 0x001eef,
[0x000309] = 0x001eed,
[0x000323] = 0x001ef1,
},
[0x0001b7] = {
[0x00030c] = 0x0001ee,
},
[0x0001ea] = {
[0x000304] = 0x0001ec,
},
[0x0001eb] = {
[0x000304] = 0x0001ed,
},
[0x000226] = {
[0x000304] = 0x0001e0,
},
[0x000227] = {
[0x000304] = 0x0001e1,
},
[0x000228] = {
[0x000306] = 0x001e1c,
},
[0x000229] = {
[0x000306] = 0x001e1d,
},
[0x00022e] = {
[0x000304] = 0x000230,
},
[0x00022f] = {
[0x000304] = 0x000231,
},
[0x000292] = {
[0x00030c] = 0x0001ef,
},
[0x000391] = {
[0x000300] = 0x001fba,
[0x000301] = 0x000386,
[0x000304] = 0x001fb9,
[0x000306] = 0x001fb8,
[0x000313] = 0x001f08,
[0x000314] = 0x001f09,
[0x000345] = 0x001fbc,
},
[0x000395] = {
[0x000300] = 0x001fc8,
[0x000301] = 0x000388,
[0x000313] = 0x001f18,
[0x000314] = 0x001f19,
},
[0x000397] = {
[0x000300] = 0x001fca,
[0x000301] = 0x000389,
[0x000313] = 0x001f28,
[0x000314] = 0x001f29,
[0x000345] = 0x001fcc,
},
[0x000399] = {
[0x000300] = 0x001fda,
[0x000301] = 0x00038a,
[0x000304] = 0x001fd9,
[0x000306] = 0x001fd8,
[0x000308] = 0x0003aa,
[0x000313] = 0x001f38,
[0x000314] = 0x001f39,
},
[0x00039f] = {
[0x000300] = 0x001ff8,
[0x000301] = 0x00038c,
[0x000313] = 0x001f48,
[0x000314] = 0x001f49,
},
[0x0003a1] = {
[0x000314] = 0x001fec,
},
[0x0003a5] = {
[0x000300] = 0x001fea,
[0x000301] = 0x00038e,
[0x000304] = 0x001fe9,
[0x000306] = 0x001fe8,
[0x000308] = 0x0003ab,
[0x000314] = 0x001f59,
},
[0x0003a9] = {
[0x000300] = 0x001ffa,
[0x000301] = 0x00038f,
[0x000313] = 0x001f68,
[0x000314] = 0x001f69,
[0x000345] = 0x001ffc,
},
[0x0003ac] = {
[0x000345] = 0x001fb4,
},
[0x0003ae] = {
[0x000345] = 0x001fc4,
},
[0x0003b1] = {
[0x000300] = 0x001f70,
[0x000301] = 0x0003ac,
[0x000304] = 0x001fb1,
[0x000306] = 0x001fb0,
[0x000313] = 0x001f00,
[0x000314] = 0x001f01,
[0x000342] = 0x001fb6,
[0x000345] = 0x001fb3,
},
[0x0003b5] = {
[0x000300] = 0x001f72,
[0x000301] = 0x0003ad,
[0x000313] = 0x001f10,
[0x000314] = 0x001f11,
},
[0x0003b7] = {
[0x000300] = 0x001f74,
[0x000301] = 0x0003ae,
[0x000313] = 0x001f20,
[0x000314] = 0x001f21,
[0x000342] = 0x001fc6,
[0x000345] = 0x001fc3,
},
[0x0003b9] = {
[0x000300] = 0x001f76,
[0x000301] = 0x0003af,
[0x000304] = 0x001fd1,
[0x000306] = 0x001fd0,
[0x000308] = 0x0003ca,
[0x000313] = 0x001f30,
[0x000314] = 0x001f31,
[0x000342] = 0x001fd6,
},
[0x0003bf] = {
[0x000300] = 0x001f78,
[0x000301] = 0x0003cc,
[0x000313] = 0x001f40,
[0x000314] = 0x001f41,
},
[0x0003c1] = {
[0x000313] = 0x001fe4,
[0x000314] = 0x001fe5,
},
[0x0003c5] = {
[0x000300] = 0x001f7a,
[0x000301] = 0x0003cd,
[0x000304] = 0x001fe1,
[0x000306] = 0x001fe0,
[0x000308] = 0x0003cb,
[0x000313] = 0x001f50,
[0x000314] = 0x001f51,
[0x000342] = 0x001fe6,
},
[0x0003c9] = {
[0x000300] = 0x001f7c,
[0x000301] = 0x0003ce,
[0x000313] = 0x001f60,
[0x000314] = 0x001f61,
[0x000342] = 0x001ff6,
[0x000345] = 0x001ff3,
},
[0x0003ca] = {
[0x000300] = 0x001fd2,
[0x000301] = 0x000390,
[0x000342] = 0x001fd7,
},
[0x0003cb] = {
[0x000300] = 0x001fe2,
[0x000301] = 0x0003b0,
[0x000342] = 0x001fe7,
},
[0x0003ce] = {
[0x000345] = 0x001ff4,
},
[0x0003d2] = {
[0x000301] = 0x0003d3,
[0x000308] = 0x0003d4,
},
[0x000406] = {
[0x000308] = 0x000407,
},
[0x000410] = {
[0x000306] = 0x0004d0,
[0x000308] = 0x0004d2,
},
[0x000413] = {
[0x000301] = 0x000403,
},
[0x000415] = {
[0x000300] = 0x000400,
[0x000306] = 0x0004d6,
[0x000308] = 0x000401,
},
[0x000416] = {
[0x000306] = 0x0004c1,
[0x000308] = 0x0004dc,
},
[0x000417] = {
[0x000308] = 0x0004de,
},
[0x000418] = {
[0x000300] = 0x00040d,
[0x000304] = 0x0004e2,
[0x000306] = 0x000419,
[0x000308] = 0x0004e4,
},
[0x00041a] = {
[0x000301] = 0x00040c,
},
[0x00041e] = {
[0x000308] = 0x0004e6,
},
[0x000423] = {
[0x000304] = 0x0004ee,
[0x000306] = 0x00040e,
[0x000308] = 0x0004f0,
[0x00030b] = 0x0004f2,
},
[0x000427] = {
[0x000308] = 0x0004f4,
},
[0x00042b] = {
[0x000308] = 0x0004f8,
},
[0x00042d] = {
[0x000308] = 0x0004ec,
},
[0x000430] = {
[0x000306] = 0x0004d1,
[0x000308] = 0x0004d3,
},
[0x000433] = {
[0x000301] = 0x000453,
},
[0x000435] = {
[0x000300] = 0x000450,
[0x000306] = 0x0004d7,
[0x000308] = 0x000451,
},
[0x000436] = {
[0x000306] = 0x0004c2,
[0x000308] = 0x0004dd,
},
[0x000437] = {
[0x000308] = 0x0004df,
},
[0x000438] = {
[0x000300] = 0x00045d,
[0x000304] = 0x0004e3,
[0x000306] = 0x000439,
[0x000308] = 0x0004e5,
},
[0x00043a] = {
[0x000301] = 0x00045c,
},
[0x00043e] = {
[0x000308] = 0x0004e7,
},
[0x000443] = {
[0x000304] = 0x0004ef,
[0x000306] = 0x00045e,
[0x000308] = 0x0004f1,
[0x00030b] = 0x0004f3,
},
[0x000447] = {
[0x000308] = 0x0004f5,
},
[0x00044b] = {
[0x000308] = 0x0004f9,
},
[0x00044d] = {
[0x000308] = 0x0004ed,
},
[0x000456] = {
[0x000308] = 0x000457,
},
[0x000474] = {
[0x00030f] = 0x000476,
},
[0x000475] = {
[0x00030f] = 0x000477,
},
[0x0004d8] = {
[0x000308] = 0x0004da,
},
[0x0004d9] = {
[0x000308] = 0x0004db,
},
[0x0004e8] = {
[0x000308] = 0x0004ea,
},
[0x0004e9] = {
[0x000308] = 0x0004eb,
},
[0x000627] = {
[0x000653] = 0x000622,
[0x000654] = 0x000623,
[0x000655] = 0x000625,
},
[0x000648] = {
[0x000654] = 0x000624,
},
[0x00064a] = {
[0x000654] = 0x000626,
},
[0x0006c1] = {
[0x000654] = 0x0006c2,
},
[0x0006d2] = {
[0x000654] = 0x0006d3,
},
[0x0006d5] = {
[0x000654] = 0x0006c0,
},
[0x000928] = {
[0x00093c] = 0x000929,
},
[0x000930] = {
[0x00093c] = 0x000931,
},
[0x000933] = {
[0x00093c] = 0x000934,
},
[0x0009c7] = {
[0x0009be] = 0x0009cb,
[0x0009d7] = 0x0009cc,
},
[0x000b47] = {
[0x000b3e] = 0x000b4b,
[0x000b56] = 0x000b48,
[0x000b57] = 0x000b4c,
},
[0x000b92] = {
[0x000bd7] = 0x000b94,
},
[0x000bc6] = {
[0x000bbe] = 0x000bca,
[0x000bd7] = 0x000bcc,
},
[0x000bc7] = {
[0x000bbe] = 0x000bcb,
},
[0x000c46] = {
[0x000c56] = 0x000c48,
},
[0x000cbf] = {
[0x000cd5] = 0x000cc0,
},
[0x000cc6] = {
[0x000cc2] = 0x000cca,
[0x000cd5] = 0x000cc7,
[0x000cd6] = 0x000cc8,
},
[0x000cca] = {
[0x000cd5] = 0x000ccb,
},
[0x000d46] = {
[0x000d3e] = 0x000d4a,
[0x000d57] = 0x000d4c,
},
[0x000d47] = {
[0x000d3e] = 0x000d4b,
},
[0x000dd9] = {
[0x000dca] = 0x000dda,
[0x000dcf] = 0x000ddc,
[0x000ddf] = 0x000dde,
},
[0x000ddc] = {
[0x000dca] = 0x000ddd,
},
[0x001025] = {
[0x00102e] = 0x001026,
},
[0x001b05] = {
[0x001b35] = 0x001b06,
},
[0x001b07] = {
[0x001b35] = 0x001b08,
},
[0x001b09] = {
[0x001b35] = 0x001b0a,
},
[0x001b0b] = {
[0x001b35] = 0x001b0c,
},
[0x001b0d] = {
[0x001b35] = 0x001b0e,
},
[0x001b11] = {
[0x001b35] = 0x001b12,
},
[0x001b3a] = {
[0x001b35] = 0x001b3b,
},
[0x001b3c] = {
[0x001b35] = 0x001b3d,
},
[0x001b3e] = {
[0x001b35] = 0x001b40,
},
[0x001b3f] = {
[0x001b35] = 0x001b41,
},
[0x001b42] = {
[0x001b35] = 0x001b43,
},
[0x001e36] = {
[0x000304] = 0x001e38,
},
[0x001e37] = {
[0x000304] = 0x001e39,
},
[0x001e5a] = {
[0x000304] = 0x001e5c,
},
[0x001e5b] = {
[0x000304] = 0x001e5d,
},
[0x001e62] = {
[0x000307] = 0x001e68,
},
[0x001e63] = {
[0x000307] = 0x001e69,
},
[0x001ea0] = {
[0x000302] = 0x001eac,
[0x000306] = 0x001eb6,
},
[0x001ea1] = {
[0x000302] = 0x001ead,
[0x000306] = 0x001eb7,
},
[0x001eb8] = {
[0x000302] = 0x001ec6,
},
[0x001eb9] = {
[0x000302] = 0x001ec7,
},
[0x001ecc] = {
[0x000302] = 0x001ed8,
},
[0x001ecd] = {
[0x000302] = 0x001ed9,
},
[0x001f00] = {
[0x000300] = 0x001f02,
[0x000301] = 0x001f04,
[0x000342] = 0x001f06,
[0x000345] = 0x001f80,
},
[0x001f01] = {
[0x000300] = 0x001f03,
[0x000301] = 0x001f05,
[0x000342] = 0x001f07,
[0x000345] = 0x001f81,
},
[0x001f02] = {
[0x000345] = 0x001f82,
},
[0x001f03] = {
[0x000345] = 0x001f83,
},
[0x001f04] = {
[0x000345] = 0x001f84,
},
[0x001f05] = {
[0x000345] = 0x001f85,
},
[0x001f06] = {
[0x000345] = 0x001f86,
},
[0x001f07] = {
[0x000345] = 0x001f87,
},
[0x001f08] = {
[0x000300] = 0x001f0a,
[0x000301] = 0x001f0c,
[0x000342] = 0x001f0e,
[0x000345] = 0x001f88,
},
[0x001f09] = {
[0x000300] = 0x001f0b,
[0x000301] = 0x001f0d,
[0x000342] = 0x001f0f,
[0x000345] = 0x001f89,
},
[0x001f0a] = {
[0x000345] = 0x001f8a,
},
[0x001f0b] = {
[0x000345] = 0x001f8b,
},
[0x001f0c] = {
[0x000345] = 0x001f8c,
},
[0x001f0d] = {
[0x000345] = 0x001f8d,
},
[0x001f0e] = {
[0x000345] = 0x001f8e,
},
[0x001f0f] = {
[0x000345] = 0x001f8f,
},
[0x001f10] = {
[0x000300] = 0x001f12,
[0x000301] = 0x001f14,
},
[0x001f11] = {
[0x000300] = 0x001f13,
[0x000301] = 0x001f15,
},
[0x001f18] = {
[0x000300] = 0x001f1a,
[0x000301] = 0x001f1c,
},
[0x001f19] = {
[0x000300] = 0x001f1b,
[0x000301] = 0x001f1d,
},
[0x001f20] = {
[0x000300] = 0x001f22,
[0x000301] = 0x001f24,
[0x000342] = 0x001f26,
[0x000345] = 0x001f90,
},
[0x001f21] = {
[0x000300] = 0x001f23,
[0x000301] = 0x001f25,
[0x000342] = 0x001f27,
[0x000345] = 0x001f91,
},
[0x001f22] = {
[0x000345] = 0x001f92,
},
[0x001f23] = {
[0x000345] = 0x001f93,
},
[0x001f24] = {
[0x000345] = 0x001f94,
},
[0x001f25] = {
[0x000345] = 0x001f95,
},
[0x001f26] = {
[0x000345] = 0x001f96,
},
[0x001f27] = {
[0x000345] = 0x001f97,
},
[0x001f28] = {
[0x000300] = 0x001f2a,
[0x000301] = 0x001f2c,
[0x000342] = 0x001f2e,
[0x000345] = 0x001f98,
},
[0x001f29] = {
[0x000300] = 0x001f2b,
[0x000301] = 0x001f2d,
[0x000342] = 0x001f2f,
[0x000345] = 0x001f99,
},
[0x001f2a] = {
[0x000345] = 0x001f9a,
},
[0x001f2b] = {
[0x000345] = 0x001f9b,
},
[0x001f2c] = {
[0x000345] = 0x001f9c,
},
[0x001f2d] = {
[0x000345] = 0x001f9d,
},
[0x001f2e] = {
[0x000345] = 0x001f9e,
},
[0x001f2f] = {
[0x000345] = 0x001f9f,
},
[0x001f30] = {
[0x000300] = 0x001f32,
[0x000301] = 0x001f34,
[0x000342] = 0x001f36,
},
[0x001f31] = {
[0x000300] = 0x001f33,
[0x000301] = 0x001f35,
[0x000342] = 0x001f37,
},
[0x001f38] = {
[0x000300] = 0x001f3a,
[0x000301] = 0x001f3c,
[0x000342] = 0x001f3e,
},
[0x001f39] = {
[0x000300] = 0x001f3b,
[0x000301] = 0x001f3d,
[0x000342] = 0x001f3f,
},
[0x001f40] = {
[0x000300] = 0x001f42,
[0x000301] = 0x001f44,
},
[0x001f41] = {
[0x000300] = 0x001f43,
[0x000301] = 0x001f45,
},
[0x001f48] = {
[0x000300] = 0x001f4a,
[0x000301] = 0x001f4c,
},
[0x001f49] = {
[0x000300] = 0x001f4b,
[0x000301] = 0x001f4d,
},
[0x001f50] = {
[0x000300] = 0x001f52,
[0x000301] = 0x001f54,
[0x000342] = 0x001f56,
},
[0x001f51] = {
[0x000300] = 0x001f53,
[0x000301] = 0x001f55,
[0x000342] = 0x001f57,
},
[0x001f59] = {
[0x000300] = 0x001f5b,
[0x000301] = 0x001f5d,
[0x000342] = 0x001f5f,
},
[0x001f60] = {
[0x000300] = 0x001f62,
[0x000301] = 0x001f64,
[0x000342] = 0x001f66,
[0x000345] = 0x001fa0,
},
[0x001f61] = {
[0x000300] = 0x001f63,
[0x000301] = 0x001f65,
[0x000342] = 0x001f67,
[0x000345] = 0x001fa1,
},
[0x001f62] = {
[0x000345] = 0x001fa2,
},
[0x001f63] = {
[0x000345] = 0x001fa3,
},
[0x001f64] = {
[0x000345] = 0x001fa4,
},
[0x001f65] = {
[0x000345] = 0x001fa5,
},
[0x001f66] = {
[0x000345] = 0x001fa6,
},
[0x001f67] = {
[0x000345] = 0x001fa7,
},
[0x001f68] = {
[0x000300] = 0x001f6a,
[0x000301] = 0x001f6c,
[0x000342] = 0x001f6e,
[0x000345] = 0x001fa8,
},
[0x001f69] = {
[0x000300] = 0x001f6b,
[0x000301] = 0x001f6d,
[0x000342] = 0x001f6f,
[0x000345] = 0x001fa9,
},
[0x001f6a] = {
[0x000345] = 0x001faa,
},
[0x001f6b] = {
[0x000345] = 0x001fab,
},
[0x001f6c] = {
[0x000345] = 0x001fac,
},
[0x001f6d] = {
[0x000345] = 0x001fad,
},
[0x001f6e] = {
[0x000345] = 0x001fae,
},
[0x001f6f] = {
[0x000345] = 0x001faf,
},
[0x001f70] = {
[0x000345] = 0x001fb2,
},
[0x001f74] = {
[0x000345] = 0x001fc2,
},
[0x001f7c] = {
[0x000345] = 0x001ff2,
},
[0x001fb6] = {
[0x000345] = 0x001fb7,
},
[0x001fbf] = {
[0x000300] = 0x001fcd,
[0x000301] = 0x001fce,
[0x000342] = 0x001fcf,
},
[0x001fc6] = {
[0x000345] = 0x001fc7,
},
[0x001ff6] = {
[0x000345] = 0x001ff7,
},
[0x001ffe] = {
[0x000300] = 0x001fdd,
[0x000301] = 0x001fde,
[0x000342] = 0x001fdf,
},
[0x002190] = {
[0x000338] = 0x00219a,
},
[0x002192] = {
[0x000338] = 0x00219b,
},
[0x002194] = {
[0x000338] = 0x0021ae,
},
[0x0021d0] = {
[0x000338] = 0x0021cd,
},
[0x0021d2] = {
[0x000338] = 0x0021cf,
},
[0x0021d4] = {
[0x000338] = 0x0021ce,
},
[0x002203] = {
[0x000338] = 0x002204,
},
[0x002208] = {
[0x000338] = 0x002209,
},
[0x00220b] = {
[0x000338] = 0x00220c,
},
[0x002223] = {
[0x000338] = 0x002224,
},
[0x002225] = {
[0x000338] = 0x002226,
},
[0x00223c] = {
[0x000338] = 0x002241,
},
[0x002243] = {
[0x000338] = 0x002244,
},
[0x002245] = {
[0x000338] = 0x002247,
},
[0x002248] = {
[0x000338] = 0x002249,
},
[0x00224d] = {
[0x000338] = 0x00226d,
},
[0x002261] = {
[0x000338] = 0x002262,
},
[0x002264] = {
[0x000338] = 0x002270,
},
[0x002265] = {
[0x000338] = 0x002271,
},
[0x002272] = {
[0x000338] = 0x002274,
},
[0x002273] = {
[0x000338] = 0x002275,
},
[0x002276] = {
[0x000338] = 0x002278,
},
[0x002277] = {
[0x000338] = 0x002279,
},
[0x00227a] = {
[0x000338] = 0x002280,
},
[0x00227b] = {
[0x000338] = 0x002281,
},
[0x00227c] = {
[0x000338] = 0x0022e0,
},
[0x00227d] = {
[0x000338] = 0x0022e1,
},
[0x002282] = {
[0x000338] = 0x002284,
},
[0x002283] = {
[0x000338] = 0x002285,
},
[0x002286] = {
[0x000338] = 0x002288,
},
[0x002287] = {
[0x000338] = 0x002289,
},
[0x002291] = {
[0x000338] = 0x0022e2,
},
[0x002292] = {
[0x000338] = 0x0022e3,
},
[0x0022a2] = {
[0x000338] = 0x0022ac,
},
[0x0022a8] = {
[0x000338] = 0x0022ad,
},
[0x0022a9] = {
[0x000338] = 0x0022ae,
},
[0x0022ab] = {
[0x000338] = 0x0022af,
},
[0x0022b2] = {
[0x000338] = 0x0022ea,
},
[0x0022b3] = {
[0x000338] = 0x0022eb,
},
[0x0022b4] = {
[0x000338] = 0x0022ec,
},
[0x0022b5] = {
[0x000338] = 0x0022ed,
},
[0x003046] = {
[0x003099] = 0x003094,
},
[0x00304b] = {
[0x003099] = 0x00304c,
},
[0x00304d] = {
[0x003099] = 0x00304e,
},
[0x00304f] = {
[0x003099] = 0x003050,
},
[0x003051] = {
[0x003099] = 0x003052,
},
[0x003053] = {
[0x003099] = 0x003054,
},
[0x003055] = {
[0x003099] = 0x003056,
},
[0x003057] = {
[0x003099] = 0x003058,
},
[0x003059] = {
[0x003099] = 0x00305a,
},
[0x00305b] = {
[0x003099] = 0x00305c,
},
[0x00305d] = {
[0x003099] = 0x00305e,
},
[0x00305f] = {
[0x003099] = 0x003060,
},
[0x003061] = {
[0x003099] = 0x003062,
},
[0x003064] = {
[0x003099] = 0x003065,
},
[0x003066] = {
[0x003099] = 0x003067,
},
[0x003068] = {
[0x003099] = 0x003069,
},
[0x00306f] = {
[0x003099] = 0x003070,
[0x00309a] = 0x003071,
},
[0x003072] = {
[0x003099] = 0x003073,
[0x00309a] = 0x003074,
},
[0x003075] = {
[0x003099] = 0x003076,
[0x00309a] = 0x003077,
},
[0x003078] = {
[0x003099] = 0x003079,
[0x00309a] = 0x00307a,
},
[0x00307b] = {
[0x003099] = 0x00307c,
[0x00309a] = 0x00307d,
},
[0x00309d] = {
[0x003099] = 0x00309e,
},
[0x0030a6] = {
[0x003099] = 0x0030f4,
},
[0x0030ab] = {
[0x003099] = 0x0030ac,
},
[0x0030ad] = {
[0x003099] = 0x0030ae,
},
[0x0030af] = {
[0x003099] = 0x0030b0,
},
[0x0030b1] = {
[0x003099] = 0x0030b2,
},
[0x0030b3] = {
[0x003099] = 0x0030b4,
},
[0x0030b5] = {
[0x003099] = 0x0030b6,
},
[0x0030b7] = {
[0x003099] = 0x0030b8,
},
[0x0030b9] = {
[0x003099] = 0x0030ba,
},
[0x0030bb] = {
[0x003099] = 0x0030bc,
},
[0x0030bd] = {
[0x003099] = 0x0030be,
},
[0x0030bf] = {
[0x003099] = 0x0030c0,
},
[0x0030c1] = {
[0x003099] = 0x0030c2,
},
[0x0030c4] = {
[0x003099] = 0x0030c5,
},
[0x0030c6] = {
[0x003099] = 0x0030c7,
},
[0x0030c8] = {
[0x003099] = 0x0030c9,
},
[0x0030cf] = {
[0x003099] = 0x0030d0,
[0x00309a] = 0x0030d1,
},
[0x0030d2] = {
[0x003099] = 0x0030d3,
[0x00309a] = 0x0030d4,
},
[0x0030d5] = {
[0x003099] = 0x0030d6,
[0x00309a] = 0x0030d7,
},
[0x0030d8] = {
[0x003099] = 0x0030d9,
[0x00309a] = 0x0030da,
},
[0x0030db] = {
[0x003099] = 0x0030dc,
[0x00309a] = 0x0030dd,
},
[0x0030ef] = {
[0x003099] = 0x0030f7,
},
[0x0030f0] = {
[0x003099] = 0x0030f8,
},
[0x0030f1] = {
[0x003099] = 0x0030f9,
},
[0x0030f2] = {
[0x003099] = 0x0030fa,
},
[0x0030fd] = {
[0x003099] = 0x0030fe,
},
[0x011099] = {
[0x0110ba] = 0x01109a,
},
[0x01109b] = {
[0x0110ba] = 0x01109c,
},
[0x0110a5] = {
[0x0110ba] = 0x0110ab,
},
[0x011131] = {
[0x011127] = 0x01112e,
},
[0x011132] = {
[0x011127] = 0x01112f,
},
},
}
-- All combining characters need to be checked, so just do that
setmetatable( normal.check, { __index = normal.combclass } )
-- Handle Hangul to Jamo decomposition
setmetatable( normal.decomp, { __index = function ( _, k )
if k >= 0xac00 and k <= 0xd7a3 then
-- Decompose a Hangul syllable into Jamo
k = k - 0xac00
local ret = {
0x1100 + math.floor( k / 588 ),
0x1161 + math.floor( ( k % 588 ) / 28 )
}
if k % 28 ~= 0 then
ret[3] = 0x11a7 + ( k % 28 )
end
return ret
end
return nil
end } )
-- Handle Jamo to Hangul composition
local jamo_l_v_mt = { __index = function ( t, k )
if k >= 0x1161 and k <= 0x1175 then
-- Jamo leading + Jamo vowel
return t.base + 28 * ( k - 0x1161 )
end
return nil
end }
local hangul_jamo_mt = { __index = function ( t, k )
if k >= 0x11a7 and k <= 0x11c2 then
-- Hangul + jamo final
return t.base + k - 0x11a7
end
return nil
end }
setmetatable( normal.comp, { __index = function ( t, k )
if k >= 0x1100 and k <= 0x1112 then
-- Jamo leading, return a second table that combines with a Jamo vowel
local t2 = { base = 0xac00 + 588 * ( k - 0x1100 ) }
setmetatable( t2, jamo_l_v_mt )
t[k] = t2 -- cache it
return t2
elseif k >= 0xac00 and k <= 0xd7a3 and k % 28 == 16 then
-- Hangul. "k % 28 == 16" picks out just the ones that are
-- Jamo leading + vowel, no final. Return a second table that combines
-- with a Jamo final.
local t2 = { base = k }
setmetatable( t2, hangul_jamo_mt )
t[k] = t2 -- cache it
return t2
end
return nil
end } )
-- Compatibility decomposition falls back to the normal decomposition
setmetatable( normal.decompK, { __index = normal.decomp } )
return normal
|
-- manga.lua
-- ユーザーの設定を読み込む
require "settingloader"
-- "プロジェクトは開始できません: 理由: setting.lua がありません"
setting = loadSetting("setting.lua")
local function getext(setting)
for k, v in pairs(setting) do
if k:match("_template$") then
local ext = setting[k]:match("%.([%a%d]+)$")
if ext then return ext end
end
end
end
-- projectinfo.lua があるかを探す
local f = io.open("projectinfo.lua", "r")
if f ~= nil then
io.close(f)
info = dofile "projectinfo.lua"
if info.template_ext ~= getext(setting) then
error("テンプレートの拡張子はプロジェクト作成後に変更しないでください: 理由: 拡張子を揃えないで済む方法を開発中のため: 解決法: 元の拡張子に直してください")
end
else
-- 初期設定をする
info = { releasepages = {}, droppages = {}, template_ext = nil}
-- 拡張子を取得する
local ext = getext(setting)
if ext == nil then error("テンプレートには拡張子をつけてください: 理由: 拡張子を持たないテンプレートに対応させる方法を開発中のため") end
--[[
if ext1 ~= ext2 then error("テンプレートの拡張子は揃えてください: 理由: 拡張子を揃えないで済む方法を開発中のため") end
]]--
info.template_ext = ext
end
-- モジュールの読み込み
require "addpage"
require "drop"
-- require "insert"
require "info"
-- require "move"
require "tableutil"
-- require "userinterface"
-- コマンドを変換する
local givens = {table.unpack(arg)}
local command = {name = givens[1], args = {}}
table.remove(givens, 1)
for i, v in ipairs(givens) do
local a = tonumber(v) or v
table.insert(command.args, a)
end
function shouldnumber(g)
return type(g) == "number" and g
end
-- コマンドを解釈する
if command.name == "append" then
local newpagenum = (table.tail(info.releasepages) or 0) + 1
local template_name = command.args[1]
addpage(newpagenum, nil, template_name)
elseif command.name == "insert" then
local inum = shouldnumber(command.args[1])
if inum then error("insert needs page number") end
addpage(inum, insert)
elseif command.name == "drop" then
if type(command.args[1]) == "number" then
drop(command.args[1])
elseif command.args[1] == "list" then
showinfo("drop")
elseif command.args[1] == "show" then
show(command.args[2], "drop")
end
elseif command.name == "restore" then
restore(command.args[1], function(n)
selection(drop, insert)(n)
end)
elseif command.name == "mv" then
move(command.args[1], command.args[2], function(n)
selection(drop, insert)(n)
end)
elseif command.name == "open" then
open(command.args[1])
elseif command.name == "release" then
release()
elseif command.name == "list" then
showinfo(nil)
end
-- 状態を書き出す
require "tabletostr"
local infostr = "return " .. tabletostr(info)
local fh = assert(io.open("projectinfo.lua", "w"))
fh:write(infostr)
fh:close()
|
--[[Author: Pizzalol
Date: 14.04.2015.
Applies a slow on the caster depending on the Wex level]]
function GhostWalkSelfSlow( keys )
local caster = keys.caster
local ability = keys.ability
local wex_level = caster:FindAbilityByName("invoker_wex_datadriven"):GetLevel() - 1 -- Self slow depends on wex level
-- Ability variables
local self_slow = ability:GetLevelSpecialValueFor("self_slow", wex_level)
local slow_modifier = keys.slow_modifier
local boost_modifier = keys.boost_modifier
-- If the self slow is less than 0 then apply the slowing modifier
-- if its greater than 0 then apply the movement speed increasing modifier
if self_slow < 0 then
self_slow = self_slow * -1 -- Turn it into a positive number because we cant apply negative stacks
ability:ApplyDataDrivenModifier(caster, caster, slow_modifier, {})
caster:SetModifierStackCount(slow_modifier, ability, self_slow)
elseif self_slow > 0 then
ability:ApplyDataDrivenModifier(caster, caster, boost_modifier, {})
caster:SetModifierStackCount(boost_modifier, ability, self_slow)
end
end
--[[Author: Pizzalol
Date: 14.04.2015.
Applies a slow on the target depending on the level of Quas]]
function GhostWalkEnemySlow( keys )
local caster = keys.caster
local target = keys.target
local ability = keys.ability
local quas_level = caster:FindAbilityByName("invoker_quas_datadriven"):GetLevel() - 1
-- Ability variables
local enemy_slow = ability:GetLevelSpecialValueFor("enemy_slow", quas_level)
local slow_modifier = keys.slow_modifier
-- If the slow number is a negative then turn it into a positive number
-- because we cannot apply negative stacks
if enemy_slow < 0 then enemy_slow = enemy_slow * -1 end
ability:ApplyDataDrivenModifier(caster, target, slow_modifier, {})
target:SetModifierStackCount(slow_modifier, ability, enemy_slow)
end
|
function update_ewfighter(CustomGroup, playerID, shipID)
for i=0,Universe_PlayerCount()-1 do
if (Player_IsAlive(i)==1)and(playerID~=i) then
if (AreAllied(playerID, i)==0) then
SobGroup_Clear("UnitCharacteristicTempGroup")
if Player_FillProximitySobGroup("UnitCharacteristicTempGroup", i, CustomGroup, 6000) then
SobGroup_Clear("UnitCharacteristicTempGroup2")
if SobGroup_FilterInclude("UnitCharacteristicTempGroup2", "UnitCharacteristicTempGroup", "CurrentCommand", "COMMAND_Repair")>0 then
SobGroup_Stop(i, "UnitCharacteristicTempGroup2")
SobGroup_Clear("UnitCharacteristicTempGroup2")
end
if SobGroup_FilterInclude("UnitCharacteristicTempGroup2", "UnitCharacteristicTempGroup", "CurrentCommand", "COMMAND_LayMines")>0 then
SobGroup_Stop(i, "UnitCharacteristicTempGroup2")
SobGroup_Clear("UnitCharacteristicTempGroup2")
end
if SobGroup_FilterInclude("UnitCharacteristicTempGroup2", "UnitCharacteristicTempGroup", "CurrentCommand", "COMMAND_Capture")>0 then
SobGroup_Stop(i, "UnitCharacteristicTempGroup2")
SobGroup_Clear("UnitCharacteristicTempGroup2")
end
end
end
end
end
end
|
local mal = require "libmal"
local Actor, Message, Handler, Service, class = mal.Actor, mal.Message, mal.Handler, mal.Service, mal.class
local ProviderPubsubHandler, ConsumerPubsubHandler = mal.ProviderPubsubHandler, mal.ConsumerPubsubHandler
local MAL_IP_TYPES, MAL_IP_STAGES = mal.MAL_IP_TYPES, mal.MAL_IP_STAGES
local Area = {
AREA = 100,
AREA_VERSION = 1,
PACKET_SERVICE = 1,
MONITOR_PACKET_OPERATION = 1,
DECOMMUTED_PACKET_SERVICE = 2,
MONITOR_DECOMMUTED_PACKET_OPERATION = 2
}
-- PACKET SERVICE
local ConsumerMonitorPacketHandler = class('ConsumerMonitorPacketHandler', ConsumerPubsubHandler)
function ConsumerMonitorPacketHandler:initialize(actor)
ConsumerPubsubHandler.initialize(self, Area.AREA, Area.AREA_VERSION, Area.PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, actor)
end
function ConsumerMonitorPacketHandler:register(broker_uri)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_REGISTER)
self.actor:init_operation(message, broker_uri)
end
function ConsumerMonitorPacketHandler:deregister(broker_uri)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_DEREGISTER)
self.actor:init_operation(message, broker_uri)
end
local ProviderMonitorPacketHandler = class('ProviderMonitorPacketHandler', ProviderPubsubHandler)
function ProviderMonitorPacketHandler:initialize(actor)
ProviderPubsubHandler.initialize(self, Area.AREA, Area.AREA_VERSION, Area.PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, actor)
end
function ProviderMonitorPacketHandler:publish_register(broker_uri)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_PUBLISH_REGISTER)
self.actor:init_operation(message, broker_uri)
end
function ProviderMonitorPacketHandler:publish_deregister(broker_uri)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_PUBLISH_DEREGISTER)
self.actor:init_operation(message, broker_uri)
end
function ProviderMonitorPacketHandler:publish(broker_uri, content)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_PUBLISH)
message.body = content
self.actor:init_operation(message, broker_uri)
end
Area.ConsumerMonitorPacketHandler = ConsumerMonitorPacketHandler
Area.ProviderMonitorPacketHandler = ProviderMonitorPacketHandler
-- DECOMMUTED PACKET SERVICE
local ConsumerMonitorDecommutedPacketHandler = class('ConsumerMonitorDecommutedPacketHandler', ConsumerPubsubHandler)
function ConsumerMonitorDecommutedPacketHandler:initialize(actor)
ConsumerPubsubHandler.initialize(self, Area.AREA, Area.AREA_VERSION, Area.DECOMMUTED_PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, actor)
end
function ConsumerMonitorDecommutedPacketHandler:register(broker_uri)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.DECOMMUTED_PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_REGISTER)
self.actor:init_operation(message, broker_uri)
end
function ConsumerMonitorDecommutedPacketHandler:deregister(broker_uri)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.DECOMMUTED_PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_DEREGISTER)
self.actor:init_operation(message, broker_uri)
end
local ProviderMonitorDecommutedPacketHandler = class('ProviderMonitorDecommutedPacketHandler', ProviderPubsubHandler)
function ProviderMonitorDecommutedPacketHandler:initialize(actor)
ProviderPubsubHandler.initialize(self, Area.AREA, Area.AREA_VERSION, Area.DECOMMUTED_PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, actor)
end
function ProviderMonitorDecommutedPacketHandler:publish_register(broker_uri)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.DECOMMUTED_PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_PUBLISH_REGISTER)
self.actor:init_operation(message, broker_uri)
end
function ProviderMonitorDecommutedPacketHandler:publish_deregister(broker_uri)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.DECOMMUTED_PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_PUBLISH_DEREGISTER)
self.actor:init_operation(message, broker_uri)
end
function ProviderMonitorDecommutedPacketHandler:publish(broker_uri, content)
local message = Message()
message:init(Area.AREA, Area.AREA_VERSION, Area.DECOMMUTED_PACKET_SERVICE, Area.MONITOR_PACKET_OPERATION, MAL_IP_TYPES.PUBSUB, MAL_IP_STAGES.PUBSUB_PUBLISH)
message.body = content
self.actor:init_operation(message, broker_uri)
end
Area.ConsumerMonitorDecommutedPacketHandler = ConsumerMonitorDecommutedPacketHandler
Area.ProviderMonitorDecommutedPacketHandler = ProviderMonitorDecommutedPacketHandler
return Area
|
--[[
TheNexusAvenger
Performs a local pull from the file system.
--]]
local NexusGit = require(script.Parent.Parent.Parent):GetContext(script)
local InstanceSerializier = NexusGit:GetResource("Serialization.InstanceSerializier")
local MultiHttpRequest = NexusGit:GetResource("SplitHttp.MultiHttpRequest")
local PartitionsRequest = NexusGit:GetResource("NexusGitRequest.GetRequest.GetPartitionsRequest")
local HttpService = game:GetService("HttpService")
local LocalPullRequest = MultiHttpRequest:Extend()
LocalPullRequest:SetClassName("LocalPullRequest")
--[[
Creates a get partition request.
--]]
function LocalPullRequest:__new(BaseURL)
self:InitializeSuper("GET",BaseURL.."/LocalPull")
self.BaseURL = BaseURL
end
--[[
Returns a map containing the partition names to the DataModel location.
--]]
function LocalPullRequest:PerformLocalPull()
local MissingParentLocations = {}
--Get the response.
local Response = self:SendRequest():GetResponse()
local ParsedResponse = HttpService:JSONDecode(Response)
--Get the target partitions.
local PartitionDataJSON = PartitionsRequest.new(self.BaseURL):SendRequest()
local PartitionData = HttpService:JSONDecode(PartitionDataJSON:GetResponse())
--Return the response if it is only 1 line.
if #ParsedResponse == 1 then
return ParsedResponse[1]
end
--Get and update the partitions.
for InstanceLocation,StoredInstanceData in pairs(ParsedResponse.Instances) do
--Get the parent location.
local SplitParentDirectory = string.split(InstanceLocation,".")
table.remove(SplitParentDirectory,#SplitParentDirectory)
local ParentDirectory = table.concat(SplitParentDirectory,".")
local ParentLocation = PartitionsRequest:GetInstancePath(ParentDirectory)
--Update the partition.
if ParentLocation then
InstanceSerializier:Deserialize(StoredInstanceData,ParentLocation)
else
MissingParentLocations[InstanceLocation] = ParentDirectory
end
end
--Return the missing references.
return MissingParentLocations
end
return LocalPullRequest
|
--https://github.com/Mokiros/roblox-FE-compatibility
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
local Player,game,owner = owner,game
local RealPlayer = Player
do
print("FE Compatibility code V2 by Mokiros")
local RealPlayer = RealPlayer
script.Parent = RealPlayer.Character
--Fake event to make stuff like Mouse.KeyDown work
local Disconnect_Function = function(this)
this[1].Functions[this[2]] = nil
end
local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
local FakeEvent_Metatable = {__index={
Connect = function(this,f)
local i = tostring(math.random(0,10000))
while this.Functions[i] do
i = tostring(math.random(0,10000))
end
this.Functions[i] = f
return setmetatable({this,i},Disconnect_Metatable)
end
}}
FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
local function fakeEvent()
return setmetatable({Functions={}},FakeEvent_Metatable)
end
--Creating fake input objects with fake variables
local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
FakeMouse.keyUp = FakeMouse.KeyUp
FakeMouse.keyDown = FakeMouse.KeyDown
local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
end}
--Merged 2 functions into one by checking amount of arguments
CAS.UnbindAction = CAS.BindAction
--This function will trigger the events that have been :Connect()'ed
local function TriggerEvent(self,ev,...)
for _,f in pairs(self[ev].Functions) do
f(...)
end
end
FakeMouse.TriggerEvent = TriggerEvent
UIS.TriggerEvent = TriggerEvent
--Client communication
local Event = Instance.new("RemoteEvent")
Event.Name = "UserInput_Event"
Event.OnServerEvent:Connect(function(plr,io)
if plr~=RealPlayer then return end
FakeMouse.Target = io.Target
FakeMouse.Hit = io.Hit
if not io.isMouse then
local b = io.UserInputState == Enum.UserInputState.Begin
if io.UserInputType == Enum.UserInputType.MouseButton1 then
return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
end
if io.UserInputType == Enum.UserInputType.MouseButton2 then
return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
end
for _,t in pairs(CAS.Actions) do
for _,k in pairs(t.Keys) do
if k==io.KeyCode then
t.Function(t.Name,io.UserInputState,io)
end
end
end
FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
end
end)
Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
local Mouse = owner:GetMouse()
local UIS = game:GetService("UserInputService")
local input = function(io,RobloxHandled)
if RobloxHandled then return end
--Since InputObject is a client-side instance, we create and pass table instead
Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
end
UIS.InputBegan:Connect(input)
UIS.InputEnded:Connect(input)
local h,t
--Give the server mouse data every second frame, but only if the values changed
--If player is not moving their mouse, client won't fire events
local HB = game:GetService("RunService").Heartbeat
while true do
if h~=Mouse.Hit or t~=Mouse.Target then
h,t=Mouse.Hit,Mouse.Target
Event:FireServer({isMouse=true,Target=t,Hit=h})
end
--Wait 2 frames
for i=1,2 do
HB:Wait()
end
end]==],script)
----Sandboxed game object that allows the usage of client-side methods and services
--Real game object
local RealGame = game
--Metatable for fake service
local FakeService_Metatable = {
__index = function(self,k)
local s = rawget(self,"_RealService")
if s then
return typeof(s[k])=="function"
and function(_,...)return s[k](s,...)end or s[k]
end
end,
__newindex = function(self,k,v)
local s = rawget(self,"_RealService")
if s then s[k]=v end
end
}
local function FakeService(t,RealService)
t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
return setmetatable(t,FakeService_Metatable)
end
--Fake game object
local FakeGame = {
GetService = function(self,s)
return rawget(self,s) or RealGame:GetService(s)
end,
Players = FakeService({
LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
},"Players"),
UserInputService = FakeService(UIS,"UserInputService"),
ContextActionService = FakeService(CAS,"ContextActionService"),
RunService = FakeService({
_btrs = {},
RenderStepped = RealGame:GetService("RunService").Heartbeat,
BindToRenderStep = function(self,name,_,fun)
self._btrs[name] = self.Heartbeat:Connect(fun)
end,
UnbindFromRenderStep = function(self,name)
self._btrs[name]:Disconnect()
end,
},"RunService")
}
rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
FakeGame.service = FakeGame.GetService
FakeService(FakeGame,game)
--Changing owner to fake player object to support owner:GetMouse()
game,owner = FakeGame,FakeGame.Players.LocalPlayer
end
|
WoolamanderTempleScreenPlay = ScreenPlay:new {
numberOfActs = 1,
screenplayName = "WoolamanderTempleScreenPlay",
lootContainers = {
568340,
468343,
468334,
468338
},
lootLevel = 26,
lootGroups = {
{
groups = {
{group = "color_crystals", chance = 100000},
{group = "junk", chance = 8600000},
{group = "melee_weapons", chance = 1000000},
{group = "clothing_attachments", chance = 100000},
{group = "armor_attachments", chance = 200000}
},
lootChance = 8000000
}
},
lootContainerRespawn = 1800 -- 30 minutes
}
registerScreenPlay("WoolamanderTempleScreenPlay", true)
function WoolamanderTempleScreenPlay:start()
if (isZoneEnabled("yavin4")) then
self:spawnMobiles()
self:initializeLootContainers()
end
end
function WoolamanderTempleScreenPlay:spawnMobiles()
spawnMobile("yavin4", "woolamander_gatherer",300,-19,2,1.4,79,3705355)
spawnMobile("yavin4", "woolamander_gatherer",300,-13.5,2,-4.7,30,3705355)
spawnMobile("yavin4", "woolamander_gatherer",300,-8.2,2,-9.2,91,3705355)
spawnMobile("yavin4", "woolamander_gatherer",300,8.2,2,-9.4,-98,3705355)
spawnMobile("yavin4", "woolamander_gatherer",300,13.5,2,-4.7,-34,3705355)
spawnMobile("yavin4", "woolamander_gatherer",300,18.5,2,1,-91,3705355)
spawnMobile("yavin4", "woolamander_gatherer",300,62.4,2,18.5,137,3705362)
spawnMobile("yavin4", "woolamander_gatherer",300,62.4,2,-7.6,43,3705362)
spawnMobile("yavin4", "woolamander_harrower",900,-83.6,2,22.5,-179,3705359)
spawnMobile("yavin4", "woolamander_harrower",900,-83.6,2,-12.5,-2,3705359)
spawnMobile("yavin4", "woolamander_harvester",480,-73,2,-12,0,3705359)
spawnMobile("yavin4", "woolamander_harvester",480,-73,2,22.1,178,3705359)
spawnMobile("yavin4", "woolamander_harvester",480,-60.5,2,22,178,3705359)
spawnMobile("yavin4", "woolamander_harvester",480,-60.5,2,-12,0,3705359)
spawnMobile("yavin4", "woolamander_harvester",480,-46,2,-13.4,-3,3705359)
spawnMobile("yavin4", "woolamander_harvester",480,-46,2,23.2,175,3705359)
spawnMobile("yavin4", "woolamander_harvester",480,76.2,2,-9,0,3705362)
spawnMobile("yavin4", "woolamander_harvester",480,76.2,2,17.3,179,3705362)
spawnMobile("yavin4", "woolamander_gatherer",300,431.4,81.0,-684.6,143,0)
spawnMobile("yavin4", "woolamander_gatherer",300,435.1,81.0,-693.3,48,0)
spawnMobile("yavin4", "woolamander_gatherer",300,438.0,81.0,-688.6,-69,0)
spawnMobile("yavin4", "woolamander_gatherer",300,484.0,81.0,-607.5,-108,0)
spawnMobile("yavin4", "woolamander_gatherer",300,487.8,81.0,-624.7,131,0)
spawnMobile("yavin4", "woolamander_gatherer",300,534.2,81.0,-660.7,-143,0)
spawnMobile("yavin4", "woolamander_gatherer",300,540.0,81.0,-665.9,-173,0)
spawnMobile("yavin4", "woolamander_harvester",300,537.6,81.0,-680.1,135,0)
spawnMobile("yavin4", "woolamander_harvester",300,545.2,81.0,-686.9,-45,0)
end
|
object_tangible_tcg_series3_house_sign_tcg_s01 = object_tangible_tcg_series3_shared_house_sign_tcg_s01:new {
}
ObjectTemplates:addTemplate(object_tangible_tcg_series3_house_sign_tcg_s01, "object/tangible/tcg/series3/house_sign_tcg_s01.iff")
|
slot2 = "FishingJoyMovePoint"
FishingJoyMovePoint = class(slot1)
slot0 = math.min
slot1 = math.abs
FishingJoyMovePoint.ctor = function (slot0)
slot3 = slot0
slot6 = "component.transform.FishingJoyMoveBase"
ClassUtil.extends(slot2, FishingJoyRequireLua(slot5))
slot0.moveFinish = false
slot0.goneLen = 0
slot0.lastGoneLen = 0
end
FishingJoyMovePoint.onUpdate = function (slot0, slot1)
slot2 = slot1
if slot0.executor == nil then
return
end
if slot0.moveFinish == true then
slot5 = slot0.executor
slot0.executor.entityFinishMove(slot4)
return
end
slot5 = slot0.executor
slot6 = slot0.executor.getEntityAppendBuffs(pairs) or {}
for slot7, slot8 in slot4(slot5) do
slot11 = slot8
if slot8.getBuffType(slot10) == FISHINGJOY_BUFF_TYPE.CHANGESPEED then
slot11 = slot8
slot2 = slot2 * slot8.getBuffParam(slot10)
end
end
if slot0.moveDelay > 0 then
slot0.moveDelay = slot0.moveDelay - slot2
if slot0.moveDelay >= 0 then
slot8 = -500
slot0.executor.setEntityPosition(slot5, slot0.executor, -500)
return
else
slot6 = slot0.moveDelay
slot2 = slot0(slot5)
end
end
if slot0.moveBegin == false and slot0.goneLen > 0 then
slot0.moveBegin = true
end
slot7 = slot0
slot0.goneLen = slot0.goneLen + slot2 * slot0.getMoveSpeed(slot6)
if slot0.lastGoneLen == slot0.goneLen then
return
end
slot0.lastGoneLen = slot0.goneLen
if slot0.movePathData.pathDuration <= slot0.goneLen then
slot0.moveFinish = true
end
slot8 = slot4 / slot0.movePathData.pathDuration
slot5 = slot1(slot6, 1)
slot6 = 0
slot7 = 0
slot8 = 0
if slot0.movePathData.Type == FISHINGJOY_PATH_TYPE.LINE then
slot14 = slot5
slot6, slot7, slot8 = slot0.calPathLine(slot10, slot0, slot0.movePathData.xPos, slot0.movePathData.yPos)
elseif slot0.movePathData.Type == FISHINGJOY_PATH_TYPE.BEZIER then
slot15 = slot5
slot6, slot7, slot8 = slot0.calPathBezier(slot10, slot0, slot0.movePathData.xPos, slot0.movePathData.yPos, slot0.movePathData.nPointCount)
elseif slot0.movePathData.Type == FISHINGJOY_PATH_TYPE.STAY then
slot6 = slot0.movePathData.xPos[0]
slot7 = slot0.movePathData.yPos[0]
end
slot14 = slot7 + slot0.getMoveOffset(slot10).y
slot0.executor.setEntityPosition(slot0, slot0.executor, slot6 + slot0.getMoveOffset(slot10).x)
slot13 = slot8
slot0.executor.setComponentDirection(slot0, slot0.executor)
end
return FishingJoyMovePoint
|
-----------------------------------
-- Area: Qufim Island (126)
-- NPC: Undulating Confluence
-- !pos -204.531 -20.027 75.318 126
-----------------------------------
local ID = require("scripts/zones/Qufim_Island/IDs")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
-----------------------------------
function onTrade(player, npc, trade)
end
function onTrigger(player, npc)
if player:getCurrentMission(ROV) == tpz.mission.id.rov.AT_THE_HEAVENS_DOOR then
player:startEvent(63)
elseif player:getCurrentMission(ROV) == tpz.mission.id.rov.THE_LIONS_ROAR then
npcUtil.popFromQM(player, npc, ID.mob.OPHIOTAURUS, { look=true, hide=0 })
elseif player:getCurrentMission(ROV) == tpz.mission.id.rov.EDDIES_OF_DESPAIR_I then
player:startEvent(64)
elseif player:getCurrentMission(ROV) >= tpz.mission.id.rov.SET_FREE then
player:startEvent(65)
end
end
function onEventUpdate(player, csid, option)
end
function onEventFinish(player, csid, option)
if csid == 63 then
player:completeMission(ROV, tpz.mission.id.rov.AT_THE_HEAVENS_DOOR)
player:addMission(ROV, tpz.mission.id.rov.THE_LIONS_ROAR)
elseif csid == 64 then
player:setPos(-338, 6, -225, 172, 288)
elseif csid == 65 and option == 1 then
player:setPos(-338, 6, -225, 172, 288)
end
end
|
------------------------
-- #region もぐらデバッグクラス
------------------------
MogDebug = {}
------------------------
-- #region コンストラクタ
-- idx :※注意 MogAxesのキー値
------------------------
MogDebug.new = function(idx)
-- メンバ変数
local obj = {}
-- もぐら表示位置クラスのキー値をキー値としてセットする
obj.idx = idx
-- デバッグ用パラメータ保持テーブル
obj.param = {}
-- メタテーブルセット
setmetatable(obj, {__index = MogDebug})
return obj
end
-- #endregion
------------------------
------------------------
-- #region もぐらデバッグパラメータクラス
------------------------
MogDebugParam = {}
------------------------
-- #region コンストラクタ
-- idx :※注意 Mogのキー値
-- str :表示文字
-- font_size:フォントサイズ
-- x :表示基準x座標
-- y :表示基準y座標
-- z :表示基準z位置
-- y_offset :表示yオフセット値
------------------------
MogDebugParam.new = function(idx, str, font_size, x, y, z, y_offset)
-- メンバ変数
local obj = {}
-- もぐらクラスのキー値をキー値としてセットする
obj.idx = idx
-- 文字
obj.str = str
-- フォントサイズ
obj.size = font_size
-- 座標x,y,z
obj.x = x
obj.y = y
obj.z = z
-- y方向オフセット値
obj.y_offset = y_offset or math.floor(obj.size * 0.5)
return obj
end
-- #endregion
------------------------
------------------------
-- #region 文字表示y位置の取得
-- mogIdx : Mogのキー値
------------------------
function MogDebug:get_y_offset(mogIdx)
local y_offset = 0
for key, value in pairs(self.param) do
y_offset = y_offset + self.param[key].size + self.param[key].y_offset
end
return y_offset
end
-- #endregion
-- #endregion
------------------------
|
--require("compat-5.1")
luanet.load_assembly("System")
WebClient=luanet.import_type("System.Net.WebClient")
StreamReader=luanet.import_type("System.IO.StreamReader")
Math=luanet.import_type("System.Math")
print(Math:Pow(2,3))
myWebClient = WebClient()
myStream = myWebClient:OpenRead(arg[1])
sr = StreamReader(myStream)
line=sr:ReadLine()
repeat
print(line)
line=sr:ReadLine()
until not line
myStream:Close()
|
--===================================================================--
-- dmc_touch.lua
--
-- by David McCuskey
-- Documentation: http://docs.davidmccuskey.com/display/docs/dmc_touch.lua
--===================================================================--
--[[
Copyright (C) 2012 David McCuskey. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--]]
-- Semantic Versioning Specification: http://semver.org/
local VERSION = "0.3.0"
--===================================================================--
-- Imports
--===================================================================--
local TouchMgr = require( "scripts.dmc.dmc_touchmanager" )
--local Utils = require( "scripts.dmc.dmc_utils" )
--===================================================================--
-- Setup, Constants
--===================================================================--
local SWIPE_EVENT = "swipe_event"
--===================================================================--
-- Support Functions
--===================================================================--
function checkBounds( value, bounds )
local v = value
if bounds[1] ~= nil and v < bounds[1] then
v = bounds[1]
elseif bounds[2] ~= nil and v > bounds[2] then
v = bounds[2]
end
return v
end
function angle_given_x_y( x, y )
return math.deg( math.atan2( y, x ) )
end
function vector_given_x_y( x, y )
return math.floor( math.sqrt( math.pow( x, 2 ) + math.pow( y, 2 ) ) )
end
function direction_given_angle( angle, limit )
--print( "direction_given_angle" .. angle .. ":" .. limit )
local angle_abs = math.abs( angle )
local angle_sign = ( angle < 0 ) and -1 or 1
local dir
-- 0 degrees
if angle_abs >= 0 and angle_abs < (0 + limit) then
dir = "right"
-- 90 degrees, negative
elseif angle_sign == -1 and angle_abs > (90-limit) and angle_abs < (90+limit) then
dir = "up"
-- 90 degrees, positive
elseif angle_sign == 1 and angle_abs > (90-limit) and angle_abs < (90+limit) then
dir = "down"
-- 180 degrees
elseif angle_abs > (180-limit) and angle_abs <= 180 then
dir = "left"
-- default
else
dir = nil
end
return dir
end
function swipeTouchHandler( event )
--print( "swipeTouchHandler", event )
local obj = event.target
local dmc = obj.__dmc.gesture
local et, xDelta, yDelta, vector, angle
-- create our event to dispatch
local e = {
name = SWIPE_EVENT,
phase = event.phase,
target = obj,
direction = nil,
touch = {}
}
--== Start processing the Corona touch event ==--
if event.phase == 'began' then
TouchMgr:setFocus( event.target, event.id )
-- fill in event and dispatch
et = e.touch
et.xStart = event.xStart
et.yStart = event.yStart
et.x = event.x
et.y = event.y
if obj.dispatchEvent ~= nil then
obj:dispatchEvent( e )
end
return true
elseif event.phase == 'moved' then
if event.isFocused then
xDelta = event.x - event.xStart
yDelta = event.y - event.yStart
vector = vector_given_x_y( xDelta, yDelta )
angle = angle_given_x_y( xDelta, yDelta )
e.swipe = {
angle = angle,
length = vector
}
-- fill in rest of event and dispatch
et = e.touch
et.xStart = event.xStart
et.yStart = event.yStart
et.x = event.x
et.y = event.y
if obj.dispatchEvent ~= nil then
obj:dispatchEvent( e )
end
return true
end
elseif ( event.phase == 'ended' or event.phase == 'canceled' ) then
if event.isFocused then
TouchMgr:unsetFocus( event.target, event.id )
if dmc == nil or obj == nil or obj.dispatchEvent == nil then
return true
end
if dmc.useStrictBounds then
local bounds = obj.contentBounds
xDelta = checkBounds( event.x, { bounds.xMin, bounds.xMax } ) - event.xStart
yDelta = checkBounds( event.y, { bounds.yMin, bounds.yMax } ) - event.yStart
else
xDelta = event.x - event.xStart
yDelta = event.y - event.yStart
end
vector = vector_given_x_y( xDelta, yDelta )
angle = angle_given_x_y( xDelta, yDelta )
e.swipe = {
angle = angle,
length = vector
}
if vector >= dmc.swipeLength then
e.direction = direction_given_angle( angle, dmc.limitAngle )
end
-- fill in rest of event and dispatch
et = e.touch
et.xStart = event.xStart
et.yStart = event.yStart
et.x = event.x
et.y = event.y
if obj.dispatchEvent ~= nil then
obj:dispatchEvent( e )
end
return true
end
end
end
--===================================================================--
-- Touch Object
--===================================================================--
local Gesture = {}
--== Constants ==--
local MAX_LIMIT_ANGLE = 45
local MIN_SWIPE_LENGTH = 10
Gesture.DEFAULT_LIMIT_ANGLE = 20
Gesture.DEFAULT_SWIPE_LENGTH = 150
Gesture.SWIPE_EVENT = SWIPE_EVENT
--== Functions ==--
-- swipe()
--
-- blesses an object to have swipe properties
--
-- @param obj a Corona-type object
-- @param params a Lua table with modifiers
-- @return the object which has been blessed (original), or nil on error
--
Gesture.activate = function( obj, params )
params = params or {}
-- sanity check
if obj.__dmc and obj.__dmc.gesture then
print( "WARNING: only initialize Gesture once !" )
return nil
end
-- create our fancy callback and set event listener
TouchMgr:register( obj, swipeTouchHandler )
--== Setup special dmc_touch variables ==--
if obj.__dmc == nil then obj.__dmc = {} end
local dmc = {
-- these will be initialized below
limitAngle = nil,
swipeLength = nil,
useStrictBounds = nil
}
-- process the limit angle
if params.limitAngle == nil then
dmc.limitAngle = Gesture.DEFAULT_LIMIT_ANGLE
elseif math.abs( params.limitAngle ) > MAX_LIMIT_ANGLE then
dmc.limitAngle = MAX_LIMIT_ANGLE
else
dmc.limitAngle = math.abs( params.limitAngle )
end
-- process the swipe length
if params.swipeLength == nil or params.swipeLength < MIN_SWIPE_LENGTH then
dmc.swipeLength = Gesture.DEFAULT_SWIPE_LENGTH
else
dmc.swipeLength = params.swipeLength
end
-- process use of strict bounds
if params.useStrictBounds == nil then
dmc.useStrictBounds = false
else
dmc.useStrictBounds = params.useStrictBounds
end
obj.__dmc.gesture = dmc
return obj
end
Gesture.deactivate = function( obj )
local dmc = obj.__dmc.gesture
obj.__dmc.gesture = nil
TouchMgr:unregister( obj, swipeTouchHandler )
end
return Gesture
|
local Name2Id= GetFileConfig("server/setting/wakeup_cfg.lua")
return function (Data)
assert(Name2Id[Data],Data.."没有该觉醒模板")
return Data
end
|
if not is_mod_active("Krastorio2") then
return function() end -- mod not enabled, do nothing
end
local recipe_infos = {
{
recipe_name = "kr-sentinel",
entity_type = "radar",
subgroup = "space-recycling",
technology_name = "kr-sentinel",
no_percentage_test = function() return false end,
}
}
if data.raw.recipe["kr-medium-container"] then
local function is_base_container(type, name)
return type == "item" and (name == "kr-medium-container" or name == "kr-big-container")
end
local logistic_variants = {
["storage"] = "kr-logistic-containers-1",
["passive-provider"] = "kr-logistic-containers-1",
["requester"] = "kr-logistic-containers-2",
["active-provider"] = "kr-logistic-containers-2",
["buffer"] = "kr-logistic-containers-2",
}
for name, tech_name in pairs(logistic_variants) do
for _, size in pairs({"kr-medium-", "kr-big-"}) do
table.insert(recipe_infos, {
recipe_name = size .. name .. "-container",
entity_type = "logistic-container",
technology_name = tech_name,
no_percentage_test = is_base_container,
})
end
end
end
return function(processor_function)
for _, recipe_info in pairs(recipe_infos) do
processor_function(recipe_info)
end
end
|
local thresholds = {}
thresholds.values ={
27, -- temp =
200000, -- pressure =
200, -- altitude =
60, -- humidity =
10000, -- light =
5000, -- red =
5000, -- green =
5000, -- blue =
"Quiet" -- noise =
}
return thresholds
|
-- // Variables
local LibaryManager = { }
LibaryManager.Children = script:GetChildren()
LibaryManager.Libaries0 = { }
LibaryManager.Libaries1 = { }
-- // Methods
function LibaryManager:DeployLibaries()
for _, Value in ipairs(self.Libaries0) do self.Infinity[Value.Name] = Value end
for _, Value in ipairs(self.Libaries1) do
local CompiledModule = Value(self.Infinity)
if CompiledModule then
self.Infinity[CompiledModule.Name] = CompiledModule
end
end
end
-- // Initialization
function LibaryManager:Init(Infinity)
self.Infinity = Infinity
for _, Value in ipairs(self.Children) do
if Value.ClassName ~= "ModuleScript" then return warn(("Invalid Lib-Module: Expected ModuleScript, Got %s [%s]"):format(Value.ClassName, Value:GetFullName())) end
local Module = require(Value)
if type(Module) == "function" then
table.insert(self.Libaries1, Module)
else
table.insert(self.Libaries0, Module)
end
end
return LibaryManager
end
return LibaryManager
|
local term = require("term")
local path = require("path")
local invoke = component.invoke
local binPath = _OSENV.config.path
local fs = computer.getBootAddress()
local function split(str)
local parts = {}
for part in str:gmatch("%S+") do
table.insert(parts, part)
end
return parts
end
while true do
term.write(path.stringify(_OSENV.cwd) .. ' > ')
local line = term.read():gsub("^%s+", "")
if #line > 0 then
local parts = split(line)
local program = table.remove(parts, 1)
local found = false
if program == "exit" then
return
end
for _, searchPath in pairs(binPath) do
local programPath = path.resolve(searchPath):gsub("?", program)
if invoke(fs, "exists", programPath) then
found = true
local module, reason = loadfile(fs, programPath)
if not module then
term.error(reason)
break
end
local ok, err = pcall(module, table.unpack(parts))
if not ok then
term.error(err)
end
break
end
end
if not found then
term.print(program .. ": command not found")
end
end
end
|
local Array = require("./jspower.lua").Array
-- Notice that indecies in Lua start from 1, not 0.
local a = Array.new({1, 2, 3, 4, 5})
print(a) -- 1,2,3,4,5
print(a:pop()) -- 5
print(a:pop()) -- 4
print(a) -- 1,2,3
print(a:push(666)) -- 4 (new length of the array)
print(a) -- 1,2,3,666
print(a:reverse()) -- 666,3,2,1
print(a:unshift(777)) -- 5 (new length of the array)
print(a:shift()) -- 777
print(a:shift()) -- 666
print(a) -- 3,2,1
local a = Array.new({1, 2, 3, 4, 5, 6, 7, 8})
print(a) -- 1,2,3,4,5,6,7,8
print(a:slice(4,7)) -- 4,5,6
print(a) -- 1,2,3,4,5,6,7,8
print(a:splice(4,3)) -- 4,5,6
print(a) -- 1,2,3,7,8
print(a:reduce(function(acc, val) return acc + val end)) -- 21
local a = Array.new({"banana", "cat", "apple"})
print(a:sort()) -- apple,banana,cat
print(a:includes("banana")) -- true
print(a:includes("coconut")) -- false
print(a:indexOf("banana")) -- 2
print(a:indexOf("coconut")) -- -1
local a = Array.new({1, 2, 3, 4, 5, 6, 7, 8})
print(a:filter(function(v, i) return i % 2 == 0 end)) -- 2,4,6,8
-- and many more...
|
local mock = require "deftest.mock"
local request_headers = require "aws-sdk.core.request_headers"
local strut = require "aws-sdk.utils.strut"
return function()
local request_signer
local credentials
describe("request_signer", function()
before(function()
request_signer = require "aws-sdk.core.request_signer"
credentials = require "aws-sdk.core.credentials"
mock.mock(request_signer)
mock.mock(credentials)
end)
after(function()
mock.unmock(request_signer)
mock.unmock(credentials)
package.loaded["aws-sdk.core.request_signer"] = nil
package.loaded["aws-sdk.core.credentials"] = nil
end)
-- http://docs.aws.amazon.com/general/latest/gr/signature-v4-examples.html#signature-v4-examples-other
it("should create a valid signature key", function()
local key = "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY"
local date_stamp = "20120215"
local region_name = "us-east-1"
local service_name = "iam"
local kSigning, kService, kRegion, kDate = request_signer.get_signature_key(key, date_stamp, region_name, service_name)
assert(kSigning == "f4780e2d9f65fa895f9c67b32ce1baf0b0d8a43505a000a1a9e090d414db404d")
assert(kService == "f72cfd46f26bc4643f06a11eabb6c0ba18780c19a8da0c31ace671265e3c87fa")
assert(kRegion == "69daa0209cd9c5ff5c8ced464a696fd4252e981430b10e3d3fd8e2f197d7a70c")
assert(kDate == "969fbb94feb542b71ede6f87fe4d5fa29c789342b0f407474670f0c2489e0a0d")
end)
local function run_test(path, name)
local request = io.open(path .. "/" .. name .. "/" .. name .. ".req", "rb"):read("*a")
local expected_authorization = io.open(path .. "/" .. name .. "/" .. name .. ".authz", "rb"):read("*a")
credentials.get.replace(function()
return "AKIDEXAMPLE", "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY"
end)
local lines = {}
if request:sub(-1) ~= "\n" then request = request .. "\n" end
for line in request:gmatch("(.-)\n") do
table.insert(lines, line)
end
local method, uri, version = table.remove(lines, 1):match("(.*) (.*) (.*)")
assert(method and uri and version, "Unable to split request header")
local headers = {}
while true do
local line = table.remove(lines, 1)
if not line or line == "" then
break
else
local key, value = line:match("(.*):(.*)")
key = strut.trim(key)
value = strut.trim(value)
if not headers[key] then
headers[key] = value
else
headers[key] = headers[key] .. "," .. value
end
end
end
local post_data = table.concat(lines, "\n")
local authorization = request_signer.sign_request_v4(method, uri, post_data, headers, "service", "us-east-1")
return authorization == expected_authorization,
("%s:\nExpected %s\nActual: %s"):format(name, expected_authorization, authorization)
end
it("should sign POST requests properly", function()
assert(run_test("tests/aws-sig-v4-test-suite", "post-header-key-case"))
assert(run_test("tests/aws-sig-v4-test-suite", "post-header-key-sort"))
assert(run_test("tests/aws-sig-v4-test-suite", "post-header-value-case"))
assert(run_test("tests/aws-sig-v4-test-suite/post-sts-token", "post-sts-header-after"))
assert(run_test("tests/aws-sig-v4-test-suite/post-sts-token", "post-sts-header-before"))
assert(run_test("tests/aws-sig-v4-test-suite", "post-vanilla"))
assert(run_test("tests/aws-sig-v4-test-suite", "post-vanilla-empty-query-value"))
assert(run_test("tests/aws-sig-v4-test-suite", "post-vanilla-query"))
assert(run_test("tests/aws-sig-v4-test-suite", "post-x-www-form-urlencoded"))
assert(run_test("tests/aws-sig-v4-test-suite", "post-x-www-form-urlencoded-parameters"))
end)
it("should sign GET requests properly", function()
assert(run_test("tests/aws-sig-v4-test-suite", "get-header-key-duplicate"))
--assert(run_test("tests/aws-sig-v4-test-suite", "get-header-value-multiline"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-header-value-order"))
--assert(run_test("tests/aws-sig-v4-test-suite", "get-header-value-trim"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-unreserved"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-utf8"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-vanilla"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-vanilla-empty-query-key"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-vanilla-query"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-vanilla-query-order-key"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-vanilla-query-order-key-case"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-vanilla-query-order-value"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-vanilla-query-unreserved"))
assert(run_test("tests/aws-sig-v4-test-suite", "get-vanilla-utf8-query"))
end)
end)
end
|
return {
summary = 'Convert a vector from world space to local space.',
description = [[
Converts a direction vector from world space to local space.
]],
arguments = {
{
name = 'wx',
type = 'number',
description = 'The x component of the world vector.'
},
{
name = 'wy',
type = 'number',
description = 'The y component of the world vector.'
},
{
name = 'wz',
type = 'number',
description = 'The z component of the world vector.'
}
},
returns = {
{
name = 'x',
type = 'number',
description = 'The x coordinate of the local vector.'
},
{
name = 'y',
type = 'number',
description = 'The y coordinate of the local vector.'
},
{
name = 'z',
type = 'number',
description = 'The z coordinate of the local vector.'
}
},
related = {
'Collider:getWorldVector',
'Collider:getLocalPoint',
'Collider:getWorldPoint'
}
}
|
local urlApi = 'https://jira.zaouter.com/rest/api/2/search?jql=project%20=%20income%20AND%20assignee%20=%20minchao%20AND%20status%20in%20(OPEN,OPENED,ASSIGNED,SUBMITTED,POSTPONED)%20ORDER%20BY%20%22Start%20date%20(WBSGantt)%22%20DESC'
local menubar = hs.menubar.new()
local menuData = {}
local emoji = {
Open = '🔛',
Opened = '🔛',
Assigned = '🔜',
Submitted = '🔜',
Postponed = '🔙'
}
function updateMenubar()
menubar:setTooltip("Jira Info")
menubar:setMenu(menuData)
end
function getJira()
headers = {}
headers["Authorization"] = "Basic bWluY2hhbzpXb2t1YWk3NCE"
headers["Content-Type"] = "application/json; charset=utf-8"
hs.http.doAsyncRequest(urlApi, "GET", nil, headers, function(code, content, htable)
if code ~= 200 then
print('get jira error:'..code)
return
end
rawjson = hs.json.decode(content)
menuData = {}
for k, v in pairs(rawjson.issues) do
key = v.key
-- fixVersions = v.fields.fixVersions[0].name
-- labels = v.fields.labels[0]
status = v.fields.status.name
summary = v.fields.summary
-- titlestr = string.format("[%s] {%s} (%s) <%s> %s", key, status, lables, fixVersions, summary)
titlestr = string.format("%s [%s] {%s} %s", emoji[status], key, status, summary)
item = { title = titlestr }
table.insert(menuData, item)
end
updateMenubar()
end)
end
menubar:setTitle('❗️')
getJira()
updateMenubar()
hs.timer.doEvery(3600, getJira)
|
-- Update Music info using mpd/mpc
-- Depends mpd, mpc
local gears = require('gears')
local awful = require('awful')
local HOME = os.getenv('HOME')
local PATH_TO_ICONS = HOME .. '/.config/awesome/widget/music/icons/'
local prog_bar = require('widget.music.content.progress-bar')
local track_time = require('widget.music.content.track-time')
local song_info = require('widget.music.content.song-info')
local mpd_updater = {}
local apps = require('configuration.apps')
-- Update progress bar script
local update_progressbar = "echo $(mpc status " .. " | " .. " awk 'NR==2 { split($4, a); " .. " print a[1]}') " .. " | " .. " tr -d '[\\%\\(\\)]'"
-- Update track_time
local check_music_progress = "echo $(mpc status " .. " | " ..
" awk 'NR==2 { split($3, a," .. ' "/"' .. "); " ..
" print a[1]}') " ..
" | " .. " tr -d '[\\%\\(\\)]'"
-- Check time duration
local check_music_duration = "mpc --format %time% current"
-- Check repeat status
local check_repeat_mode = "mpc status | sed -n '/random/p' | cut -c23-24 | sed 's/^[ \\t]*//'"
-- Check random status
local check_random_mode = " mpc status | sed -n '/random/p' | cut -c37-38 | sed 's/^[ \\t]*//'"
-- Get the progress percentage of music
update_progress_bar = function()
awful.spawn.easy_async_with_shell(update_progressbar, function( stdout )
if stdout ~= nil then
prog_bar.music_bar:set_value(tonumber(stdout))
else
prog_bar.music_bar:set_value(0)
end
end)
end
update_time_progress = function()
-- Update time progress every 5 seconds
awful.spawn.easy_async_with_shell(check_music_progress, function( stdout )
if stdout ~= nil then
track_time.time_status.text = tostring(stdout)
else
track_time.time_status.text = tostring("00:00")
end
end)
end
update_time_duration = function()
-- Update time duration on song change
awful.spawn.easy_async_with_shell(check_music_duration, function( stdout )
if stdout ~= nil then
track_time.time_duration.text = tostring(stdout)
else
track_time.time_duration.text = tostring("99:59")
end
end)
end
update_artist = function()
-- Save the output of "mpc -f %file% current" into a variable after new lines removal
-- Update file
awful.spawn.easy_async_with_shell('mpc -f %artist% current', function( stdout )
-- Remove new lines
artist = stdout:gsub('%\n','')
end)
-- Return the variable
return artist
end
update_file = function()
-- Save the output of "mpc -f %file% current" into a variable after new lines removal
-- Update file
awful.spawn.easy_async_with_shell('mpc -f %file% current', function( stdout )
-- Remove new lines
file = stdout:gsub('%\n','')
end)
-- Return the variable
return file
end
update_title = function()
-- Update title
awful.spawn.easy_async_with_shell('mpc -f %title% current', function( stdout )
-- Remove new lines
local title = stdout:gsub('%\n','')
-- Check if there's alphanumeric characters
if (stdout:match("%W")) then
-- Truncate string
if(title:len() > 1) then
-- Trim file to 26 characters
title = title:sub(1,26) .. ''
-- Set title and artist
song_info.music_title.title:set_text(title)
song_info.music_artist.artist:set_text(update_artist())
else
-- Define file into a variable
local file = update_file()
local titleLen = file:len()
-- Cut the .mp3 ending and trim to 26 characters
if (titleLen < 30) then
file = file:sub(1, titleLen - 4)
else
file = file:sub(1, 26)
end
-- Set title and artist
song_info.music_title.title:set_text(file)
song_info.music_artist.artist:set_text(" ")
end
else
-- Set title and artist
song_info.music_title.title:set_text(" ")
song_info.music_artist.artist:set_text(" ")
end
end)
end
update_all_content = function()
-- Update progress bar
update_progress_bar()
-- Update time progress
update_time_progress()
-- Update time duration
update_time_duration()
-- Update title
update_title()
end
-- Media Buttons
-- Change Play/Pause Button
-- Check if the song is playing or paused
check_if_playing = function()
awful.spawn.easy_async_with_shell("mpc status | awk 'NR==2' | grep -o playing", function( stdout )
if (stdout:match("%W")) then
require('widget.music.content.media-buttons').play_button_image.play:set_image(gears.surface.load_uncached(PATH_TO_ICONS .. 'pause.svg'))
else
require('widget.music.content.media-buttons').play_button_image.play:set_image(gears.surface.load_uncached(PATH_TO_ICONS .. 'play.svg'))
end
end)
end
check_repeat_status = function()
-- Update repeat status if it was changed outside the widget
awful.spawn.easy_async_with_shell(check_repeat_mode, function( stdout )
if stdout:match("on") then
require('widget.music.content.media-buttons').repeat_button_image.rep:set_image(gears.surface.load_uncached(PATH_TO_ICONS .. 'repeat-on.svg'))
else
require('widget.music.content.media-buttons').repeat_button_image.rep:set_image(gears.surface.load_uncached(PATH_TO_ICONS .. 'repeat-off.svg'))
end
end)
end
check_random_status = function()
-- Update repeat status if it was changed outside the widget
awful.spawn.easy_async_with_shell(check_random_mode, function( stdout )
if stdout:match("on") then
require('widget.music.content.media-buttons').random_button_image.rand:set_image(gears.surface.load_uncached(PATH_TO_ICONS .. 'random-on.svg'))
else
require('widget.music.content.media-buttons').random_button_image.rand:set_image(gears.surface.load_uncached(PATH_TO_ICONS .. 'random-off.svg'))
end
end)
end
music_play_pause = function()
awful.spawn('mpc toggle', false)
check_if_playing()
end
music_next = function()
awful.spawn('mpc next', false)
end
music_prev = function()
awful.spawn('mpc prev', false)
end
music_rep = function()
awful.spawn('mpc repeat', false)
check_repeat_status()
end
music_rand = function()
awful.spawn('mpc random', false)
check_random_status()
end
-- Update time progress every 1 second
local update_music_info = gears.timer {
timeout = 1.0,
autostart = true,
call_now = true,
callback = function()
-- Update progress bar
update_progress_bar()
-- Update time progress
update_time_progress()
-- Update time duration
update_time_duration()
-- Update title
update_title()
-- Check if playing or paused
check_if_playing()
-- Check repeat status
check_repeat_status()
-- Check random status
check_random_status()
collectgarbage('collect')
end
}
mpd_updater.music_play_pause = music_play_pause
mpd_updater.music_next = music_next
mpd_updater.music_prev = music_prev
mpd_updater.music_rep = music_rep
mpd_updater.music_rand = music_rand
mpd_updater.update_all_content = update_all_content
return mpd_updater
|
local utest = {}
local function tbl_contains_value(t, val)
for _, v in pairs(t) do
if v == val then
return true
end
end
return false
end
local function tbl_filter(t, callable)
local r = {}
for k, v in pairs(t) do
if callable(k, v) then
table.insert(r, v)
end
end
return r
end
local function test_report(description, result, errors)
return {
description = description,
result = result,
errors = errors
}
end
local function test_summary_report()
return {
total = 0,
passed = 0,
failed = 0
}
end
local function group_test_report(description)
return {
description = description,
summary = test_summary_report(),
details = {}
}
end
local function full_test_report()
return {
summary = test_summary_report(),
group_reports = {}
}
end
utest._current = {
groups = {},
tests = {} -- support for tests outside of groups
}
function utest:group(description, fn, tags)
assert(type(fn) == 'function')
local child = {
description = description,
fn = fn,
parent = self._current,
before_eaches = {},
befores = {},
tests = {},
after_eaches = {},
afters = {},
tags = tags or {},
}
table.insert(self._current.groups, child)
self._current = child
local result, message = pcall(fn)
self._current = child.parent
end
function utest:test(description, fn)
assert(type(fn) == 'function')
local test = {
description = description,
fn = fn
}
table.insert(self._current.tests, test)
end
function utest:before(fn)
assert(type(fn) == 'function')
table.insert(self._current.befores, fn)
end
function utest:after(fn)
assert(type(fn) == 'function')
table.insert(self._current.afters, fn)
end
function utest:before_each(fn)
assert(type(fn) == 'function')
table.insert(self._current.before_eaches, fn)
end
function utest:after_each(fn)
assert(type(fn) == 'function')
table.insert(self._current.after_eaches, fn)
end
local function group_has_any_matching_tags(group_tags, tags)
for _, t in pairs(tags) do
if tbl_contains_value(group_tags, t) then
return true
end
end
return false
end
local function group_has_no_matching_tags(group_tags, tags)
for _, t in pairs(tags) do
if tbl_contains_value(group_tags, t) then
return false
end
end
return true
end
function utest:run(include_tags, exclude_tags)
local report = full_test_report()
local sa_group = group_test_report('standalone tests ->')
for _i, t in pairs(self._current.tests) do
local result, errors = pcall(t.fn)
report.summary.total = report.summary.total + 1
sa_group.summary.total = sa_group.summary.total + 1
table.insert(sa_group.details, test_report(t.description, result, errors))
if result then
report.summary.passed = report.summary.passed + 1
sa_group.summary.passed = sa_group.summary.passed + 1
else
report.summary.failed = report.summary.failed + 1
sa_group.summary.failed = sa_group.summary.failed + 1
end
end
table.insert(report.group_reports, sa_group)
local groups = self._current.groups
if include_tags then
groups = tbl_filter(groups, function(_, g)
return group_has_any_matching_tags(g.tags, include_tags)
end)
end
if exclude_tags then
groups = tbl_filter(groups, function(_, g)
return group_has_no_matching_tags(g.tags, exclude_tags)
end)
end
for _i, v in pairs(groups) do
local group_report = group_test_report(v.description)
for _j, b in pairs(v.befores) do
local result, message = pcall(b)
end
for _j, t in pairs(v.tests) do
for _k, be in pairs(v.before_eaches) do
local result, message = pcall(be)
end
report.summary.total = report.summary.total + 1
group_report.summary.total = group_report.summary.total + 1
local result, errors = pcall(t.fn)
table.insert(group_report.details, test_report(t.description, result, errors))
if result then
report.summary.passed = report.summary.passed + 1
group_report.summary.passed = group_report.summary.passed + 1
else
report.summary.failed = report.summary.failed + 1
group_report.summary.failed = group_report.summary.failed + 1
end
for _k, ae in pairs(v.after_eaches) do
local result, message = pcall(ae)
end
end
table.insert(report.group_reports, group_report)
for _j, a in pairs(v.afters) do
local result, message = pcall(a)
end
end
return report
end
return utest
|
local utils = require 'utils'
local function solve_part_1(input)
local fuel_usage = {}
for i, x in ipairs(input) do
local sum = 0
for _, y in ipairs(input) do
sum = sum + math.abs(x - y)
end
fuel_usage[i] = sum
end
return fuel_usage
end
local function solve_part_2(input)
local result = {}
for x = 1, input[#input] do
local sum = 0
for _, y in ipairs(input) do
local dist = math.abs(x - y)
sum = sum + math.floor(dist * (dist + 1) / 2)
end
table.insert(result, sum)
end
return result
end
local function get_cheapest(input)
local cheapest = nil
for _, usage in ipairs(input) do
if cheapest == nil or usage < cheapest then
cheapest = usage
end
end
return cheapest
end
local numbers = utils.split_string(utils.read_file("day_7.txt"), ",")
table.sort(numbers)
print("Part 1: " .. get_cheapest(solve_part_1(numbers)))
print("Part 2: " .. get_cheapest(solve_part_2(numbers)))
|
--- **AceConsole-3.0** provides registration facilities for slash commands.
-- You can register slash commands to your custom functions and use the `GetArgs` function to parse them
-- to your addons individual needs.
--
-- **AceConsole-3.0** can be embeded into your addon, either explicitly by calling AceConsole:Embed(MyAddon) or by
-- specifying it as an embeded library in your AceAddon. All functions will be available on your addon object
-- and can be accessed directly, without having to explicitly call AceConsole itself.\\
-- It is recommended to embed AceConsole, otherwise you'll have to specify a custom `self` on all calls you
-- make into AceConsole.
-- @class file
-- @name AceConsole-3.0
-- @release $Id: AceConsole-3.0.lua 1202 2019-05-15 23:11:22Z nevcairiel $
local MAJOR,MINOR = "AceConsole-3.0", 7
local AceConsole, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
if not AceConsole then return end -- No upgrade needed
AceConsole.embeds = AceConsole.embeds or {} -- table containing objects AceConsole is embedded in.
AceConsole.commands = AceConsole.commands or {} -- table containing commands registered
AceConsole.weakcommands = AceConsole.weakcommands or {} -- table containing self, command => func references for weak commands that don't persist through enable/disable
-- Lua APIs
local tconcat, tostring, select = table.concat, tostring, select
local type, pairs, error = type, pairs, error
local format, strfind, strsub = string.format, string.find, string.sub
local max = math.max
-- WoW APIs
local _G = _G
-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded
-- List them here for Mikk's FindGlobals script
-- GLOBALS: DEFAULT_CHAT_FRAME, SlashCmdList, hash_SlashCmdList
local tmp={}
local function Print(self,frame,...)
local n=0
if self ~= AceConsole then
n=n+1
tmp[n] = "|cff33ff99"..tostring( self ).."|r:"
end
for i=1, select("#", ...) do
n=n+1
tmp[n] = tostring(select(i, ...))
end
frame:AddMessage( tconcat(tmp," ",1,n) )
end
--- Print to DEFAULT_CHAT_FRAME or given ChatFrame (anything with an .AddMessage function)
-- @paramsig [chatframe ,] ...
-- @param chatframe Custom ChatFrame to print to (or any frame with an .AddMessage function)
-- @param ... List of any values to be printed
function AceConsole:Print(...)
local frame = ...
if type(frame) == "table" and frame.AddMessage then -- Is first argument something with an .AddMessage member?
return Print(self, frame, select(2,...))
else
return Print(self, DEFAULT_CHAT_FRAME, ...)
end
end
--- Formatted (using format()) print to DEFAULT_CHAT_FRAME or given ChatFrame (anything with an .AddMessage function)
-- @paramsig [chatframe ,] "format"[, ...]
-- @param chatframe Custom ChatFrame to print to (or any frame with an .AddMessage function)
-- @param format Format string - same syntax as standard Lua format()
-- @param ... Arguments to the format string
function AceConsole:Printf(...)
local frame = ...
if type(frame) == "table" and frame.AddMessage then -- Is first argument something with an .AddMessage member?
return Print(self, frame, format(select(2,...)))
else
return Print(self, DEFAULT_CHAT_FRAME, format(...))
end
end
--- Register a simple chat command
-- @param command Chat command to be registered WITHOUT leading "/"
-- @param func Function to call when the slash command is being used (funcref or methodname)
-- @param persist if false, the command will be soft disabled/enabled when aceconsole is used as a mixin (default: true)
function AceConsole:RegisterChatCommand( command, func, persist )
if type(command)~="string" then error([[Usage: AceConsole:RegisterChatCommand( "command", func[, persist ]): 'command' - expected a string]], 2) end
if persist==nil then persist=true end -- I'd rather have my addon's "/addon enable" around if the author screws up. Having some extra slash regged when it shouldnt be isn't as destructive. True is a better default. /Mikk
local name = "ACECONSOLE_"..command:upper()
if type( func ) == "string" then
SlashCmdList[name] = function(input, editBox)
self[func](self, input, editBox)
end
else
SlashCmdList[name] = func
end
_G["SLASH_"..name.."1"] = "/"..command:lower()
AceConsole.commands[command] = name
-- non-persisting commands are registered for enabling disabling
if not persist then
if not AceConsole.weakcommands[self] then AceConsole.weakcommands[self] = {} end
AceConsole.weakcommands[self][command] = func
end
return true
end
--- Unregister a chatcommand
-- @param command Chat command to be unregistered WITHOUT leading "/"
function AceConsole:UnregisterChatCommand( command )
local name = AceConsole.commands[command]
if name then
SlashCmdList[name] = nil
_G["SLASH_" .. name .. "1"] = nil
hash_SlashCmdList["/" .. command:upper()] = nil
AceConsole.commands[command] = nil
end
end
--- Get an iterator over all Chat Commands registered with AceConsole
-- @return Iterator (pairs) over all commands
function AceConsole:IterateChatCommands() return pairs(AceConsole.commands) end
local function nils(n, ...)
if n>1 then
return nil, nils(n-1, ...)
elseif n==1 then
return nil, ...
else
return ...
end
end
--- Retreive one or more space-separated arguments from a string.
-- Treats quoted strings and itemlinks as non-spaced.
-- @param str The raw argument string
-- @param numargs How many arguments to get (default 1)
-- @param startpos Where in the string to start scanning (default 1)
-- @return Returns arg1, arg2, ..., nextposition\\
-- Missing arguments will be returned as nils. 'nextposition' is returned as 1e9 at the end of the string.
function AceConsole:GetArgs(str, numargs, startpos)
numargs = numargs or 1
startpos = max(startpos or 1, 1)
local pos=startpos
-- find start of new arg
pos = strfind(str, "[^ ]", pos)
if not pos then -- whoops, end of string
return nils(numargs, 1e9)
end
if numargs<1 then
return pos
end
-- quoted or space separated? find out which pattern to use
local delim_or_pipe
local ch = strsub(str, pos, pos)
if ch=='"' then
pos = pos + 1
delim_or_pipe='([|"])'
elseif ch=="'" then
pos = pos + 1
delim_or_pipe="([|'])"
else
delim_or_pipe="([| ])"
end
startpos = pos
while true do
-- find delimiter or hyperlink
local ch,_
pos,_,ch = strfind(str, delim_or_pipe, pos)
if not pos then break end
if ch=="|" then
-- some kind of escape
if strsub(str,pos,pos+1)=="|H" then
-- It's a |H....|hhyper link!|h
pos=strfind(str, "|h", pos+2) -- first |h
if not pos then break end
pos=strfind(str, "|h", pos+2) -- second |h
if not pos then break end
elseif strsub(str,pos, pos+1) == "|T" then
-- It's a |T....|t texture
pos=strfind(str, "|t", pos+2)
if not pos then break end
end
pos=pos+2 -- skip past this escape (last |h if it was a hyperlink)
else
-- found delimiter, done with this arg
return strsub(str, startpos, pos-1), AceConsole:GetArgs(str, numargs-1, pos+1)
end
end
-- search aborted, we hit end of string. return it all as one argument. (yes, even if it's an unterminated quote or hyperlink)
return strsub(str, startpos), nils(numargs-1, 1e9)
end
--- embedding and embed handling
local mixins = {
"Print",
"Printf",
"RegisterChatCommand",
"UnregisterChatCommand",
"GetArgs",
}
-- Embeds AceConsole into the target object making the functions from the mixins list available on target:..
-- @param target target object to embed AceBucket in
function AceConsole:Embed( target )
for k, v in pairs( mixins ) do
target[v] = self[v]
end
self.embeds[target] = true
return target
end
function AceConsole:OnEmbedEnable( target )
if AceConsole.weakcommands[target] then
for command, func in pairs( AceConsole.weakcommands[target] ) do
target:RegisterChatCommand( command, func, false, true ) -- nonpersisting and silent registry
end
end
end
function AceConsole:OnEmbedDisable( target )
if AceConsole.weakcommands[target] then
for command, func in pairs( AceConsole.weakcommands[target] ) do
target:UnregisterChatCommand( command ) -- TODO: this could potentially unregister a command from another application in case of command conflicts. Do we care?
end
end
end
for addon in pairs(AceConsole.embeds) do
AceConsole:Embed(addon)
end
|
ITEM.name = "Red Line Recruit Uniform"
ITEM.desc = "A set of clothing that is worn by recruits in the Red Line"
ITEM.price = 100
ITEM.model = "models/devcon/mrp/act/redline_soldier.mdl"
ITEM.width = 2
ITEM.height = 2
ITEM.iconCam = {
pos = Vector(-200, 0.77698647975922, 48.242790222168),
ang = Angle(0, -0, 0),
fov = 11.789551553782,
}
ITEM.replacements = {
{"models/ninja/signalvariance/act_middle_revolyucioner2_a3.mdl", "models/ninja/signalvariance/act_digger_a3.mdl"},
{"models/ninja/signalvariance/act_middle_revolyucioner2_artyom.mdl", "models/ninja/signalvariance/act_digger_artyom.mdl"},
{"models/ninja/signalvariance/act_middle_revolyucioner2_bf4.mdl", "models/ninja/signalvariance/act_digger_bf4.mdl"},
{"models/ninja/signalvariance/act_middle_revolyucioner2_hunter.mdl", "models/ninja/signalvariance/act_digger_hunter.mdl"},
}
-- If the player has a model that is none of the above then change model to models/devcon/mrp/act/redline_soldier.mdl
ITEM.Category = "clothing"
function ITEM:onGetDropModel(item) return "models/props_c17/SuitCase_Passenger_Physics.mdl" end
|
module(...,package.seeall)
local ffi = require("ffi")
local C = ffi.C
function can_open(filename, mode)
mode = mode or 'r'
local f = io.open(filename, mode)
if f == nil then return false end
f:close()
return true
end
function can_read(filename)
return can_open(filename, 'r')
end
function can_write(filename)
return can_open(filename, 'w')
end
--- Return `command` in the Unix shell and read `what` from the result.
function readcmd (command, what)
local f = io.popen(command)
local value = f:read(what)
f:close()
return value
end
function readfile (filename, what)
local f = io.open(filename, "r")
if f == nil then error("Unable to open file: " .. filename) end
local value = f:read(what)
f:close()
return value
end
function writefile (filename, value)
local f = io.open(filename, "w")
if f == nil then error("Unable to open file: " .. filename) end
local result = f:write(value)
f:close()
return result
end
function readlink (path)
local buf = ffi.new("char[?]", 512)
local len = C.readlink(path, buf, 512)
if len < 0 then return nil, ffi.errno() end
return ffi.string(buf, len)
end
function dirname(path)
if not path then return path end
local buf = ffi.new("char[?]", #path+1)
ffi.copy(buf, path)
local ptr = C.dirname(buf)
return ffi.string(ptr)
end
function basename(path)
if not path then return path end
local buf = ffi.new("char[?]", #path+1)
ffi.copy(buf, path)
local ptr = C.basename(buf)
return ffi.string(ptr)
end
-- Return the name of the first file in `dir`.
function firstfile (dir)
return readcmd("ls -1 "..dir.." 2>/dev/null", "*l")
end
function firstline (filename) return readfile(filename, "*l") end
function files_in_directory (dir)
local files = {}
for line in io.popen('ls -1 "'..dir..'" 2>/dev/null'):lines() do
table.insert(files, line)
end
return files
end
-- Return a bitmask using the values of `bitset' as indexes.
-- The keys of bitset are ignored (and can be used as comments).
-- Example: bits({RESET=0,ENABLE=4}, 123) => 1<<0 | 1<<4 | 123
function bits (bitset, basevalue)
local sum = basevalue or 0
for _,n in pairs(bitset) do
sum = bit.bor(sum, bit.lshift(1, n))
end
return sum
end
-- Return true if bit number 'n' of 'value' is set.
function bitset (value, n)
return bit.band(value, bit.lshift(1, n)) ~= 0
end
function comma_value(n) -- credit http://richard.warburton.it
local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$')
return left..(num:reverse():gsub('(%d%d%d)','%1,'):reverse())..right
end
-- Return a table for bounds-checked array access.
function bounds_checked (type, base, offset, size)
type = ffi.typeof(type)
local tptr = ffi.typeof("$ *", type)
local wrap = ffi.metatype(ffi.typeof("struct { $ _ptr; }", tptr), {
__index = function(w, idx)
assert(idx < size)
return w._ptr[idx]
end,
__newindex = function(w, idx, val)
assert(idx < size)
w._ptr[idx] = val
end,
})
return wrap(ffi.cast(tptr, ffi.cast("uint8_t *", base) + offset))
end
-- Return a function that will return false until NS nanoseconds have elapsed.
function timer (ns)
local deadline = C.get_time_ns() + ns
return function () return C.get_time_ns() >= deadline end
end
-- Loop until the function `condition` returns true.
function waitfor (condition)
while not condition() do C.usleep(100) end
end
function yesno (flag)
if flag then return 'yes' else return 'no' end
end
-- Increase value to be a multiple of size (if it is not already).
function align (value, size)
if value % size == 0 then
return value
else
return value + size - (value % size)
end
end
function waitfor2(name, test, attempts, interval)
io.write("Waiting for "..name..".")
for count = 1,attempts do
if test() then
print(" ok")
return
end
C.usleep(interval)
io.write(".")
io.flush()
end
print("")
error("timeout waiting for " .. name)
end
-- Return "the IP checksum" of ptr:len.
--
-- NOTE: Checksums should seldom be computed in software. Packets
-- carried over hardware ethernet (e.g. 82599) should be checksummed
-- in hardware, and packets carried over software ethernet (e.g.
-- virtio) should be flagged as not requiring checksum verification.
-- So consider it a "code smell" to call this function.
function csum (ptr, len)
return finish_csum(update_csum(ptr, len))
end
function update_csum (ptr, len, csum0)
ptr = ffi.cast("uint8_t*", ptr)
local sum = csum0 or 0LL
for i = 0, len-2, 2 do
sum = sum + bit.lshift(ptr[i], 8) + ptr[i+1]
end
if len % 2 == 1 then sum = sum + bit.lshift(ptr[len-1]) end
return sum
end
function finish_csum (sum)
while bit.band(sum, 0xffff) ~= sum do
sum = bit.band(sum + bit.rshift(sum, 16), 0xffff)
end
return bit.band(bit.bnot(sum), 0xffff)
end
function selftest ()
print("selftest: lib")
local data = "\x45\x00\x00\x73\x00\x00\x40\x00\x40\x11\xc0\xa8\x00\x01\xc0\xa8\x00\xc7"
local cs = csum(data, string.len(data))
assert(cs == 0xb861, "bad checksum: " .. bit.tohex(cs, 4))
-- assert(readlink('/etc/rc2.d/S99rc.local') == '../init.d/rc.local', "bad readlink")
-- assert(dirname('/etc/rc2.d/S99rc.local') == '/etc/rc2.d', "wrong dirname")
-- assert(basename('/etc/rc2.d/S99rc.local') == 'S99rc.local', "wrong basename")
end
|
-- Copyright (c) 2018 Hans-Werner Hilse <hwhilse@gmail.com>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy of
-- this software and associated documentation files (the "Software"), to deal in
-- the Software without restriction, including without limitation the rights to
-- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-- of the Software, and to permit persons to whom the Software is furnished to do
-- so, subject to the following conditions:
--
-- The above copyright notice and this permission notice shall be included in all
-- copies or substantial portions of the Software.
--
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-- SOFTWARE.
local ffi=require"ffi"
local bit=require"bit"
ffi.cdef[[
static const int MOSQ_LOG_NONE = 0x00;
static const int MOSQ_LOG_INFO = 0x01;
static const int MOSQ_LOG_NOTICE = 0x02;
static const int MOSQ_LOG_WARNING = 0x04;
static const int MOSQ_LOG_ERR = 0x08;
static const int MOSQ_LOG_DEBUG = 0x10;
static const int MOSQ_LOG_SUBSCRIBE = 0x20;
static const int MOSQ_LOG_UNSUBSCRIBE = 0x40;
static const int MOSQ_LOG_WEBSOCKETS = 0x80;
static const int MOSQ_LOG_ALL = 0xFFFF;
static const int MOSQ_MQTT_ID_MAX_LENGTH = 23;
static const int MQTT_PROTOCOL_V31 = 3;
static const int MQTT_PROTOCOL_V311 = 4;
enum mosq_err_t {
MOSQ_ERR_CONN_PENDING = -1,
MOSQ_ERR_SUCCESS = 0,
MOSQ_ERR_NOMEM = 1,
MOSQ_ERR_PROTOCOL = 2,
MOSQ_ERR_INVAL = 3,
MOSQ_ERR_NO_CONN = 4,
MOSQ_ERR_CONN_REFUSED = 5,
MOSQ_ERR_NOT_FOUND = 6,
MOSQ_ERR_CONN_LOST = 7,
MOSQ_ERR_TLS = 8,
MOSQ_ERR_PAYLOAD_SIZE = 9,
MOSQ_ERR_NOT_SUPPORTED = 10,
MOSQ_ERR_AUTH = 11,
MOSQ_ERR_ACL_DENIED = 12,
MOSQ_ERR_UNKNOWN = 13,
MOSQ_ERR_ERRNO = 14,
MOSQ_ERR_EAI = 15,
MOSQ_ERR_PROXY = 16,
MOSQ_ERR_PLUGIN_DEFER = 17,
MOSQ_ERR_MALFORMED_UTF8 = 18
};
enum mosq_opt_t {
MOSQ_OPT_PROTOCOL_VERSION = 1,
MOSQ_OPT_SSL_CTX = 2,
MOSQ_OPT_SSL_CTX_WITH_DEFAULTS = 3,
};
struct mosquitto_message{
int mid;
char *topic;
void *payload;
int payloadlen;
int qos;
bool retain;
};
struct mosquitto;
int mosquitto_lib_version(int *major, int *minor, int *revision);
int mosquitto_lib_init(void);
int mosquitto_lib_cleanup(void);
struct mosquitto *mosquitto_new(const char *id, bool clean_session, void *obj);
void mosquitto_destroy(struct mosquitto *mosq);
int mosquitto_reinitialise(struct mosquitto *mosq, const char *id, bool clean_session, void *obj);
int mosquitto_will_set(struct mosquitto *mosq, const char *topic, int payloadlen, const void *payload, int qos, bool retain);
int mosquitto_will_clear(struct mosquitto *mosq);
int mosquitto_username_pw_set(struct mosquitto *mosq, const char *username, const char *password);
int mosquitto_connect(struct mosquitto *mosq, const char *host, int port, int keepalive);
int mosquitto_connect_bind(struct mosquitto *mosq, const char *host, int port, int keepalive, const char *bind_address);
int mosquitto_connect_async(struct mosquitto *mosq, const char *host, int port, int keepalive);
int mosquitto_connect_bind_async(struct mosquitto *mosq, const char *host, int port, int keepalive, const char *bind_address);
int mosquitto_connect_srv(struct mosquitto *mosq, const char *host, int keepalive, const char *bind_address);
int mosquitto_reconnect(struct mosquitto *mosq);
int mosquitto_reconnect_async(struct mosquitto *mosq);
int mosquitto_disconnect(struct mosquitto *mosq);
int mosquitto_publish(struct mosquitto *mosq, int *mid, const char *topic, int payloadlen, const void *payload, int qos, bool retain);
int mosquitto_subscribe(struct mosquitto *mosq, int *mid, const char *sub, int qos);
int mosquitto_unsubscribe(struct mosquitto *mosq, int *mid, const char *sub);
int mosquitto_message_copy(struct mosquitto_message *dst, const struct mosquitto_message *src);
void mosquitto_message_free(struct mosquitto_message **message);
void mosquitto_message_free_contents(struct mosquitto_message *message);
int mosquitto_loop(struct mosquitto *mosq, int timeout, int max_packets);
int mosquitto_loop_forever(struct mosquitto *mosq, int timeout, int max_packets);
int mosquitto_loop_start(struct mosquitto *mosq);
int mosquitto_loop_stop(struct mosquitto *mosq, bool force);
int mosquitto_socket(struct mosquitto *mosq);
int mosquitto_loop_read(struct mosquitto *mosq, int max_packets);
int mosquitto_loop_write(struct mosquitto *mosq, int max_packets);
int mosquitto_loop_misc(struct mosquitto *mosq);
bool mosquitto_want_write(struct mosquitto *mosq);
int mosquitto_threaded_set(struct mosquitto *mosq, bool threaded);
int mosquitto_opts_set(struct mosquitto *mosq, enum mosq_opt_t option, void *value);
int mosquitto_tls_set(struct mosquitto *mosq,
const char *cafile, const char *capath,
const char *certfile, const char *keyfile,
int (*pw_callback)(char *buf, int size, int rwflag, void *userdata));
int mosquitto_tls_insecure_set(struct mosquitto *mosq, bool value);
int mosquitto_tls_opts_set(struct mosquitto *mosq, int cert_reqs, const char *tls_version, const char *ciphers);
int mosquitto_tls_psk_set(struct mosquitto *mosq, const char *psk, const char *identity, const char *ciphers);
void mosquitto_connect_callback_set(struct mosquitto *mosq, void (*on_connect)(struct mosquitto *, void *, int));
void mosquitto_connect_with_flags_callback_set(struct mosquitto *mosq, void (*on_connect)(struct mosquitto *, void *, int, int));
void mosquitto_disconnect_callback_set(struct mosquitto *mosq, void (*on_disconnect)(struct mosquitto *, void *, int));
void mosquitto_publish_callback_set(struct mosquitto *mosq, void (*on_publish)(struct mosquitto *, void *, int));
void mosquitto_message_callback_set(struct mosquitto *mosq, void (*on_message)(struct mosquitto *, void *, const struct mosquitto_message *));
void mosquitto_subscribe_callback_set(struct mosquitto *mosq, void (*on_subscribe)(struct mosquitto *, void *, int, int, const int *));
void mosquitto_unsubscribe_callback_set(struct mosquitto *mosq, void (*on_unsubscribe)(struct mosquitto *, void *, int));
void mosquitto_log_callback_set(struct mosquitto *mosq, void (*on_log)(struct mosquitto *, void *, int, const char *));
int mosquitto_reconnect_delay_set(struct mosquitto *mosq, unsigned int reconnect_delay, unsigned int reconnect_delay_max, bool reconnect_exponential_backoff);
int mosquitto_max_inflight_messages_set(struct mosquitto *mosq, unsigned int max_inflight_messages);
void mosquitto_message_retry_set(struct mosquitto *mosq, unsigned int message_retry);
void mosquitto_user_data_set(struct mosquitto *mosq, void *obj);
int mosquitto_socks5_set(struct mosquitto *mosq, const char *host, int port, const char *username, const char *password);
const char *mosquitto_strerror(int mosq_errno);
const char *mosquitto_connack_string(int connack_code);
int mosquitto_sub_topic_tokenise(const char *subtopic, char ***topics, int *count);
int mosquitto_sub_topic_tokens_free(char ***topics, int count);
int mosquitto_topic_matches_sub(const char *sub, const char *topic, bool *result);
int mosquitto_topic_matches_sub2(const char *sub, size_t sublen, const char *topic, size_t topiclen, bool *result);
int mosquitto_pub_topic_check(const char *topic);
int mosquitto_pub_topic_check2(const char *topic, size_t topiclen);
int mosquitto_sub_topic_check(const char *topic);
int mosquitto_sub_topic_check2(const char *topic, size_t topiclen);
struct libmosquitto_will {
char *topic;
void *payload;
int payloadlen;
int qos;
bool retain;
};
struct libmosquitto_auth {
char *username;
char *password;
};
struct libmosquitto_tls {
char *cafile;
char *capath;
char *certfile;
char *keyfile;
char *ciphers;
char *tls_version;
int (*pw_callback)(char *buf, int size, int rwflag, void *userdata);
int cert_reqs;
};
int mosquitto_subscribe_simple(
struct mosquitto_message **messages,
int msg_count,
bool want_retained,
const char *topic,
int qos,
const char *host,
int port,
const char *client_id,
int keepalive,
bool clean_session,
const char *username,
const char *password,
const struct libmosquitto_will *will,
const struct libmosquitto_tls *tls);
int mosquitto_subscribe_callback(
int (*callback)(struct mosquitto *, void *, const struct mosquitto_message *),
void *userdata,
const char *topic,
int qos,
const char *host,
int port,
const char *client_id,
int keepalive,
bool clean_session,
const char *username,
const char *password,
const struct libmosquitto_will *will,
const struct libmosquitto_tls *tls);
int mosquitto_validate_utf8(const char *str, int len);
void *mosquitto_userdata(struct mosquitto *mosq);
]]
local L = ffi.load("mosquitto")
-- constants are available in the returned object
local lib = {
LOG_NONE = L.MOSQ_LOG_NONE,
LOG_INFO = L.MOSQ_LOG_INFO,
LOG_NOTICE = L.MOSQ_LOG_NOTICE,
LOG_WARNING = L.MOSQ_LOG_WARNING,
LOG_ERR = L.MOSQ_LOG_ERR,
LOG_DEBUG = L.MOSQ_LOG_DEBUG,
LOG_SUBSCRIBE = L.MOSQ_LOG_SUBSCRIBE,
LOG_UNSUBSCRIBE = L.MOSQ_LOG_UNSUBSCRIBE,
LOG_WEBSOCKETS = L.MOSQ_LOG_WEBSOCKETS,
LOG_ALL = L.MOSQ_LOG_ALL,
MQTT_ID_MAX_LENGTH = L.MOSQ_MQTT_ID_MAX_LENGTH,
MQTT_PROTOCOL_V31 = L.MQTT_PROTOCOL_V31,
MQTT_PROTOCOL_V311 = L.MQTT_PROTOCOL_V311,
ERR_CONN_PENDING = L.MOSQ_ERR_CONN_PENDING,
ERR_SUCCESS = L.MOSQ_ERR_SUCCESS,
ERR_NOMEM = L.MOSQ_ERR_NOMEM,
ERR_PROTOCOL = L.MOSQ_ERR_PROTOCOL,
ERR_INVAL = L.MOSQ_ERR_INVAL,
ERR_NO_CONN = L.MOSQ_ERR_NO_CONN,
ERR_CONN_REFUSED = L.MOSQ_ERR_CONN_REFUSED,
ERR_NOT_FOUND = L.MOSQ_ERR_NOT_FOUND,
ERR_CONN_LOST = L.MOSQ_ERR_CONN_LOST,
ERR_TLS = L.MOSQ_ERR_TLS,
ERR_PAYLOAD_SIZE = L.MOSQ_ERR_PAYLOAD_SIZE,
ERR_NOT_SUPPORTED = L.MOSQ_ERR_NOT_SUPPORTED,
ERR_AUTH = L.MOSQ_ERR_AUTH,
ERR_ACL_DENIED = L.MOSQ_ERR_ACL_DENIED,
ERR_UNKNOWN = L.MOSQ_ERR_UNKNOWN,
ERR_ERRNO = L.MOSQ_ERR_ERRNO,
ERR_EAI = L.MOSQ_ERR_EAI,
ERR_PROXY = L.MOSQ_ERR_PROXY,
ERR_PLUGIN_DEFER = L.MOSQ_ERR_PLUGIN_DEFER,
ERR_MALFORMED_UTF8 = L.MOSQ_ERR_MALFORMED_UTF8,
OPT_PROTOCOL_VERSION = L.MOSQ_OPT_PROTOCOL_VERSION,
OPT_SSL_CTX = L.MOSQ_OPT_SSL_CTX,
OPT_SSL_CTX_WITH_DEFAULTS = L.MOSQ_OPT_SSL_CTX_WITH_DEFAULTS
}
-- internal helper, checks results for errors
local function check(result)
if result ~= L.MOSQ_ERR_SUCCESS then
error(ffi.string(L.mosquitto_strerror(result)), result)
end
return result
end
-- metatable for client struct
local M = {__index={}, state={}}
function M:__gc()
M.state[self] = nil
L.mosquitto_destroy(self)
end
function M.__index:state()
local state = M.state[self]
if not state then
state = {}
M.state[self] = state
end
return state
end
-- see C API documentation for all the following functions
-- (hint: see the mosquitto.h header file)
--
-- In general, they are corresponding, with the notable exception that the
-- pointer to the client struct is set automatically.
-- We do some very basic error checking here and are also setting defaults
-- where sensible, mostly following the defaults that libmosquitto uses
-- anyway.
-- Binary blob parameter tuples (pointer plus length) are consolidated to
-- a single string parameter as Lua strings have an explicit length.
-- Where there are return values for which pointers have to be given
-- as an argument in the C API, this is not the case here. Instead, you
-- do not need to provide anything and the function will just return
-- the values.
-- Freeing memory is done automatically by proper setup of callbacks
-- for the garbage collector or simply copying the values.
function M.__index:reinitialize(id, clean_session)
return check(L.mosquitto_reinitialize(self, id, clean_session or true, nil))
end
function M.__index:will_set(topic, payload, qos, retain)
assert(topic)
payload = payload or "1"
return check(L.mosquitto_will_set(self, topic, string.len(payload), payload, qos or 0, retain or false))
end
function M.__index:will_clear()
return check(L.mosquitto_will_clear(self))
end
function M.__index:username_pw_set(username, password)
assert(username)
assert(password)
return check(L.mosquitto_username_pw_set(self, username, password))
end
function M.__index:connect(host, port, keepalive)
return check(L.mosquitto_connect(self, host or "localhost", port or 1883, keepalive or 59))
end
function M.__index:connect_bind(host, port, keepalive, bind_address)
assert(bind_address)
return check(L.mosquitto_connect_bind(self, host or "localhost", port or 1883, keepalive or 59), bind_address)
end
function M.__index:connect_async(host, port, keepalive)
return check(L.mosquitto_connect_async(self, host or "localhost", port or 1883, keepalive or 59))
end
function M.__index:connect_bind_async(host, port, keepalive, bind_address)
assert(bind_address)
return check(L.mosquitto_connect_bind_async(self, host or "localhost", port or 1883, keepalive or 59), bind_address)
end
function M.__index:connect_srv(host, port, keepalive, bind_address)
assert(bind_address)
return check(L.mosquitto_connect_srv(self, host or "localhost", port or 1883, keepalive or 59), bind_address)
end
function M.__index:reconnect()
return check(L.mosquitto_reconnect(self))
end
function M.__index:reconnect_async()
return check(L.mosquitto_reconnect_async(self))
end
function M.__index:disconnect()
return check(L.mosquitto_disconnect(self))
end
function M.__index:publish(topic, payload, qos, retain)
assert(topic)
payload = payload or "1"
local p_mid = ffi.new("int[1]")
local res = check(L.mosquitto_publish(self, p_mid, topic, string.len(payload), payload, qos or 0, retain or false))
return p_mid[0], res
end
function M.__index:subscribe(sub, qos)
assert(sub)
local p_mid = ffi.new("int[1]")
local res = check(L.mosquitto_subscribe(self, p_mid, sub, qos or 0))
return p_mid[0], res
end
function M.__index:unsubscribe(sub)
assert(sub)
local p_mid = ffi.new("int[1]")
local res = check(L.mosquitto_unsubscribe(self, p_mid, sub))
return p_mid[0], res
end
function M.__index:loop(timeout, max_packets)
return check(L.mosquitto_loop(self, timeout or -1, max_packets or 1))
end
function M.__index:loop_forever(timeout, max_packets)
return check(L.mosquitto_loop_forever(self, timeout or -1, max_packets or 1))
end
function M.__index:loop_start()
return check(L.mosquitto_loop_start(self))
end
function M.__index:loop_stop(force)
return check(L.mosquitto_loop_stop(self, force or true))
end
function M.__index:socket()
return L.mosquitto_socket(self)
end
function M.__index:loop_read(max_packets)
return L.mosquitto_loop_read(self, max_packets or 1)
end
function M.__index:loop_write(max_packets)
return L.mosquitto_loop_write(self, max_packets or 1)
end
function M.__index:loop_misc()
return L.mosquitto_loop_misc(self)
end
function M.__index:want_write()
return L.mosquitto_want_write(self)
end
function M.__index:threaded_set(threaded)
return L.mosquitto_threaded_set(self, threaded or false)
end
function M.__index:opts_set(option, value)
assert(option)
return L.mosquitto_opts_set(self, option, value)
end
function M.__index:tls_set(cafile, capath, certfile, keyfile, pwcallback)
assert(cafile or capath)
assert((certfile and keyfile) or (not certfile and not keyfile))
return check(L.mosquitto_tls_set(self, cafile, capath, certfile, keyfile, pwcallback))
end
function M.__index:tls_insecure_set(value)
return check(L.mosquitto_tls_insecure_set(self, value or false))
end
function M.__index:tls_opts_set(cert_reqs, tls_version, ciphers)
return check(L.mosquitto_tls_opts_set(self, cert_reqs or 1, tls_version, ciphers))
end
function M.__index:tls_psk_set(psk, identity, ciphers)
assert(psk)
assert(identity)
return check(L.mosquitto_tls_psk_set(self, psk, identity, ciphers))
end
function M.__index:connect_callback_set(on_connect)
return L.mosquitto_connect_callback_set(self, on_connect)
end
function M.__index:disconnect_callback_set(on_disconnect)
return L.mosquitto_disconnect_callback_set(self, on_disconnect)
end
function M.__index:publish_callback_set(on_publish)
return L.mosquitto_publish_callback_set(self, on_publish)
end
function M.__index:message_callback_set(on_message)
return L.mosquitto_message_callback_set(self, on_message)
end
function M.__index:subscribe_callback_set(on_subscribe)
return L.mosquitto_subscribe_callback_set(self, on_subscribe)
end
function M.__index:unsubscribe_callback_set(on_unsubscribe)
return L.mosquitto_unsubscribe_callback_set(self, on_unsubscribe)
end
function M.__index:log_callback_set(on_log)
return L.mosquitto_log_callback_set(self, on_log)
end
function M.__index:reconnect_delay_set(reconnect_delay, reconnect_delay_max, reconnect_exponential_backoff)
return check(L.mosquitto_reconnect_delay_set(self, reconnect_delay or 1, reconnect_delay_max or reconnect_delay or 1, reconnect_exponential_backoff or false))
end
function M.__index:max_inflight_messages_set(max_inflight_messages)
return check(L.mosquitto_max_inflight_messages_set(self, max_inflight_messages or 20))
end
function M.__index:message_retry_set(message_retry)
-- no-op in libmosquitto
return L.mosquitto_message_retry_set(self, message_retry)
end
--[[ unsupported/not needed, use upvalues in Lua
function M.__index:user_data_set(user_data)
return L.mosquitto_user_data_set(self, user_data)
end
]]
function M.__index:socks5_set(host, port, username, password)
assert(host)
assert(port)
return L.mosquitto_socks5_set(self, host, port, username, password)
end
--[[ the following methods are not part of the C API ]]--
function M.__index:connect_callback_set_wrapper(on_connect)
return self:connect_callback_set(function(_, _, rc) on_connect(rc) end)
end
function M.__index:disconnect_callback_set_wrapper(on_disconnect)
return self:disconnect_callback_set(function(_, _, rc) on_disconnect(rc) end)
end
function M.__index:publish_callback_set_wrapper(on_publish)
return self:publish_callback_set(function(_, _, mid) on_publish(mid) end)
end
function M.__index:message_callback_set_wrapper(on_message)
return self:message_callback_set(function(_, _, message) on_message(message:copy()) end)
end
function M.__index:subscribe_callback_set_wrapper(on_subscribe)
return self:subscribe_callback_set(function(_, _, mid, qos_count, granted_qos) on_subscribe(mid, qos_count, granted_qos) end)
end
function M.__index:unsubscribe_callback_set_wrapper(on_unsubscribe)
return self:unsubscribe_callback_set(function(_, _, mid) on_unsubscribe(mid) end)
end
function M.__index:log_callback_set_wrapper(on_log)
return self:log_callback_set(function(_, _, level, str) on_log(level, ffi.string(str)) end)
end
-- even higher level wrappers
function M.__index:subscribe_callback(sub, qos, on_subscribe)
local state = self:state().on_subscribe
if not state then
state = {}
self:subscribe_callback_set(function(_, _, mid, qos_count, granted_qos)
local func = state[mid]
if func then func(qos_count, granted_qos) end
state[mid] = nil
end)
self:state().on_subscribe = state
end
local mid = self:subscribe(sub, qos)
state[mid] = on_subscribe
end
function M.__index:subscribe_message_callback(sub, qos, on_message)
local state = self:state().on_message
if not state then
-- set up client specific wrapper function
state = {}
self:message_callback_set(function(_, _, message)
for _, subscription in ipairs(state) do
if lib.topic_matches_sub(subscription[1], message.topic) then
if not subscription[2](message) then break end
end
end
end)
self:state().on_message = state
end
self:subscribe_callback(sub, qos, function(qos_count, granted_qos)
table.insert(state, {sub, on_message})
end)
end
ffi.metatype("struct mosquitto", M)
local Msg = { __index={} }
-- explicit free, no garbage collection hook since libmosquitto frees
-- the messages it hands to callbacks itself and this would probably
-- result in a double-free in those cases.
function Msg.__index:free()
return L.mosquitto_message_free(self)
end
function Msg.__index:free_contents()
return L.mosquitto_message_free_contents(self)
end
-- create a copy of a message
-- the copy will be left alone (i.e. not freed) by libmosquitto.
-- A hook for the garbage collector is set up, though, so you do
-- not need to free it explicitly. If you do, however, you need
-- to disable the garbage collector hook by calling
-- ffi.gc(<copy>, nil) before freeing explicitly.
function Msg.__index:copy()
local copy = ffi.new("struct mosquitto_message [1]")
check(L.mosquitto_message_copy(copy, self))
return ffi.gc(copy[0], self.free)
end
-- convenience helper
function Msg:__tostring()
return string.format(
"[mid: %x, topic: <%s>, payload: <%s>, qos: %d, retain: %s]",
self.mid,
ffi.string(self.topic),
ffi.string(self.payload, self.payloadlen),
self.qos,
self.retain and "true" or "false"
)
end
ffi.metatype("struct mosquitto_message", Msg)
-- setup and teardown of the library
L.mosquitto_lib_init()
setmetatable(lib, {__gc = function() L.mosquitto_lib_cleanup() end })
function lib.lib_version()
local p_v1 = ffi.new("int[1]")
local p_v2 = ffi.new("int[1]")
local p_v3 = ffi.new("int[1]")
L.mosquitto_lib_version(p_v1, p_v2, p_v3)
return p_v1[0], p_v2[0], p_v3[0]
end
function lib.new(id, clean_session)
local client = L.mosquitto_new(id, clean_session or true, nil)
if client == nil then
error("error creating mosquitto client")
end
return client
end
function lib.strerror(mosq_errno)
return L.mosquitto_strerror(mosq_errno)
end
function lib.connack_string(connack_code)
return L.mosquitto_connack_string(connack_code)
end
function lib.sub_topic_tokenise(subtopic)
assert(subtopic)
local p_topics = ffi.new("char**[1]")
local p_count = ffi.new("int[1]")
check(L.mosquitto_sub_topic_tokenise(subtopic, p_topics, p_count))
local topics = {}
for i=0,(p_count[0]-1) do
table.insert(topics, ffi.string(p_topics[0][i]))
end
L.mosquitto_sub_topic_tokens_free(p_topics, p_count[0])
return topics
end
function lib.topic_matches_sub(sub, topic)
assert(sub)
assert(topic)
local p_result = ffi.new("bool[1]")
check(L.mosquitto_topic_matches_sub(sub, topic, p_result))
return p_result[0]
end
function lib.pub_topic_check(topic)
-- no error generation here
local ret = L.mosquitto_pub_topic_check(topic)
return (ret == L.MOSQ_ERR_SUCCESS), ret
end
function lib.sub_topic_check(topic)
-- no error generation here
local ret = L.mosquitto_sub_topic_check(topic)
return (ret == L.MOSQ_ERR_SUCCESS), ret
end
-- TODO: no wrapper yet for the functions
-- mosquitto_subscribe_simple
-- mosquitto_subscribe_callback
function lib.validate_utf8(str)
-- no error generation here
local ret = L.mosquitto_validate_utf8(str, string.len(str))
return (ret == L.MOSQ_ERR_SUCCESS), ret
end
return lib
|
--!A cross-platform build utility based on Lua
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-- Copyright (C) 2015-present, TBOOX Open Source Group.
--
-- @author ruki
-- @file xmake.lua
--
-- define toolchain
toolchain("zig")
-- set homepage
set_homepage("https://ziglang.org/")
set_description("Zig Programming Language Compiler")
-- on check
on_check(function (toolchain)
import("lib.detect.find_tool")
local paths = {}
for _, package in ipairs(toolchain:packages()) do
local envs = package:get("envs")
if envs then
table.join2(paths, envs.PATH)
end
end
local zig = get_config("zc")
if not zig then
zig = find_tool("zig", {force = true, paths = paths})
if zig and zig.program then
zig = zig.program
end
end
if zig then
toolchain:config_set("zig", zig)
toolchain:configs_save()
return true
end
end)
-- on load
on_load(function (toolchain)
-- set toolset
-- we patch target to `zig cc` to fix has_flags. see https://github.com/xmake-io/xmake/issues/955#issuecomment-766929692
local zig = toolchain:config("zig") or "zig"
toolchain:set("toolset", "cc", zig .. " cc")
toolchain:set("toolset", "cxx", zig .. " c++")
toolchain:set("toolset", "ld", zig .. " c++")
toolchain:set("toolset", "sh", zig .. " c++")
toolchain:set("toolset", "ar", "$(env ZC)", zig)
toolchain:set("toolset", "zc", "$(env ZC)", zig)
toolchain:set("toolset", "zcar", "$(env ZC)", zig)
toolchain:set("toolset", "zcld", "$(env ZC)", zig)
toolchain:set("toolset", "zcsh", "$(env ZC)", zig)
-- init arch
if toolchain:is_arch("arm64", "arm64-v8a") then
arch = "aarch64"
elseif toolchain:is_arch("arm", "armv7") then
arch = "arm"
elseif toolchain:is_arch("i386", "x86") then
arch = "i386"
elseif toolchain:is_arch("riscv64") then
arch = "riscv64"
elseif toolchain:is_arch("mips.*") then
arch = toolchain:arch()
elseif toolchain:is_arch("ppc64") then
arch = "powerpc64"
elseif toolchain:is_arch("ppc") then
arch = "powerpc"
elseif toolchain:is_arch("s390x") then
arch = "s390x"
else
arch = "x86_64"
end
-- init target
local target
if toolchain:is_plat("cross") then
-- xmake f -p cross --toolchain=zig --cross=mips64el-linux-gnuabi64
target = toolchain:cross()
elseif toolchain:is_plat("macosx") then
target = arch .. "-macos-gnu"
elseif toolchain:is_plat("linux") then
if arch == "arm" then
target = "arm-linux-gnueabi"
elseif arch == "mips64" or arch == "mips64el" then
target = arch .. "-linux-gnuabi64"
else
target = arch .. "-linux-gnu"
end
elseif toolchain:is_plat("windows") then
target = arch .. "-windows-msvc"
elseif toolchain:is_plat("mingw") then
target = arch .. "-windows-gnu"
end
if target then
toolchain:add("zig_cc.cxflags", "-target", target)
toolchain:add("zig_cc.shflags", "-target", target)
toolchain:add("zig_cc.ldflags", "-target", target)
toolchain:add("zig_cxx.cxflags", "-target", target)
toolchain:add("zig_cxx.shflags", "-target", target)
toolchain:add("zig_cxx.ldflags", "-target", target)
toolchain:add("zcflags", "-target", target)
toolchain:add("zcldflags", "-target", target)
toolchain:add("zcshflags", "-target", target)
end
-- @see https://github.com/ziglang/zig/issues/5825
if toolchain:is_plat("windows") then
toolchain:add("zcldflags", "--subsystem console")
toolchain:add("syslinks", "kernel32", "ntdll")
end
end)
|
local fs = require 'luarocks.fs'
local stringio = require('pl.stringio')
local stringx = require('pl.stringx')
local List = require('pl.List')
local dkjson = require('dkjson')
local http = require('socket.http')
local ltn12 = require('ltn12')
local function sanitize(str)
return string.sub(str, 2, string.len(str) - 1)
end
local function for_loglines(path, entry_parser)
entry_parser = entry_parser or function() end
for filepath in fs.dir(path) do
local file = io.open(path .. '/' .. filepath, 'r')
for line in file:lines() do entry_parser(line) end
file:close()
end
end
local function parse_user_and_timestamp(M, D, Y, h, m, s, name, id, steam_id, team, callback)
return function(event, data)
local user = {
steam_id = steam_id,
nick = name,
team = team
}
local timestamp = os.time{
year = Y,
month = M,
day = D,
hour = h,
minute = m,
second = s
}
callback(timestamp, user, event, data)
end
end
local function match_actions(str, cb)
local event, value = string.match(str, '^(%w+) (.+)$')
if event and value then
if event == 'purchased' or event == 'say' then
value = sanitize(value)
elseif event == 'threw' then
local gtype, x, y, z = string.match(value, '^(%g+) %[(.+) (.+) (.+)%]$')
cb('onThrow', {
type = gtype,
x = x,
y = y,
z = z,
})
elseif event == 'assisted' then
value = string.match(value, '.*<(STEAM%g+%d)>.*')
end
cb(event, value)
return true
end
end
local function match_attack(str, f)
fx, fy, fz, target_id, tx, ty, tz, gun, damage, damage_armor, health, armor, hitgroup
= string.match(str, '^%[(.+) (.+) (.*)%] attacked .*<(STEAM%g+%d)>.* %[(.+) (.+) (.*%d)%] with "(%g+)" %(damage "(%d+)"%) %(damage_armor "(%d+)"%) %(health "(%d+)"%) %(armor "(%d+)"%) %(hitgroup "(.+)"%)')
if (fx) then
f({
fx = fx,
fy = fy,
fz = fz,
target_id = target_id,
tx = tx,
ty = ty,
tz = tz,
gun = gun,
damage = damage,
damage_armor = damage_armor,
health = health,
armor = armor,
hitgroup = hitgroup
})
return true
end
end
local function match_kill(str, f)
fx, fy, fz, target_id, tx, ty, tz, gun, headshot
= string.match(str, '^%[(.+) (.+) (.*)%] killed .*<(STEAM%g+%d)>.* %[(.+) (.+) (.*%d)%] with "(%g+)"(.*)')
if (fx) then
f({
fx = fx,
fy = fy,
fz = fz,
target_id = target_id,
tx = tx,
ty = ty,
tz = tz,
weapon = gun,
is_headshot = headshot ~= ''
})
return true
end
end
function walk_csgo_logs(path, callback)
for_loglines(path, function(line)
local M, D, Y, h, m, s, msg = string.match(string.sub(line, 3), '(%d%d)/(%d%d)/(%d%d%d%d) %- (%d%d):(%d%d):(%d%d): (.+)')
local first_data, rest = string.match(msg or '', '(%g+) (.+)$')
local name, id, steam_id, team = string.match(first_data or '', '"(.+)<(.+)><(.*)><(.*)>"')
local cb = parse_user_and_timestamp(M, D, Y, h, m, s, name, id, steam_id, team, callback)
if name and tonumber(id) > 0 and steam_id and steam_id ~= 'BOT' then
if match_actions(rest, cb) then
elseif match_kill(rest, function(data) cb('kill', data) end) then
elseif match_attack(rest, function(data) cb('hit', data) end) then
end
elseif first_data == 'Team' then
elseif first_data == 'World' then
elseif tonumber(id) == 0 then
elseif steam_id == nil then
else -- BOT stuff goes here (we are not interested)
end
end)
end
function post_data(url, data)
local body = dkjson.encode(data)
local headers = {
["content-length"] = body:len(),
["Content-Type"] = "application/json"
}
local response = {}
local r, c, h = http.request{
url= url,
method = "POST",
headers = headers,
source = ltn12.source.string(body),
sink = ltn12.sink.table(response)
}
return response
end
return {
walk_logs = walk_csgo_logs,
post_to_web = post_data
}
|
local log = require "nvim-lsp-installer.log"
local platform = require "nvim-lsp-installer.platform"
local Result = require "nvim-lsp-installer.core.result"
local spawn = require "nvim-lsp-installer.core.spawn"
local powershell = require "nvim-lsp-installer.core.managers.powershell"
local USER_AGENT = "nvim-lsp-installer (+https://github.com/williamboman/nvim-lsp-installer)"
local HEADERS = {
wget = { "--header", ("User-Agent: %s"):format(USER_AGENT) },
curl = { "-H", ("User-Agent: %s"):format(USER_AGENT) },
iwr = ("-Headers @{'User-Agent' = '%s'}"):format(USER_AGENT),
}
---@alias FetchOpts {out_file:string}
---@async
---@param url string @The url to fetch.
---@param opts FetchOpts
local function fetch(url, opts)
opts = opts or {}
log.fmt_debug("Fetching URL %s", url)
local platform_specific = Result.failure()
if platform.is_win then
if opts.out_file then
platform_specific = powershell.command(
([[iwr %s -UseBasicParsing -Uri %q -OutFile %q;]]):format(HEADERS.iwr, url, opts.out_file)
)
else
platform_specific = powershell.command(
([[Write-Output (iwr %s -UseBasicParsing -Uri %q).Content;]]):format(HEADERS.iwr, url)
)
end
end
return platform_specific
:recover_catching(function()
return spawn.wget({ HEADERS.wget, "-nv", "-O", opts.out_file or "-", url }):get_or_throw()
end)
:recover_catching(function()
return spawn.curl({ HEADERS.curl, "-fsSL", opts.out_file and { "-o", opts.out_file } or vim.NIL, url }):get_or_throw()
end)
:map(function(result)
if opts.out_file then
return result
else
return result.stdout
end
end)
end
return fetch
|
local Ffi = require("ffi")
local System = {
systems = {}
}
function System.new(filter)
local mask = 0
local entities = Ffi.new("int[?]", 1000000)
local count = 0
for _, component in ipairs(filter) do
mask = mask + component.mask
end
local system = {
mask = mask,
entities = entities,
count = count,
added = Ffi.new("int[?]", 1000000),
addN = 0,
removed = Ffi.new("bool[?]", 1000000),
removeN = 0,
add = function(self, id)
local i = self.addN - 1
for j = self.addN, 0, -1 do
if i < 0 or id > self.added[i] then
self.added[j] = id
break
end
self.added[j] = self.added[i]
i = i - 1
end
self.addN = self.addN + 1
end,
remove = function(self, id)
self.removed[id] = true
self.removeN = self.removeN + 1
end,
flush = function(self)
if self.removeN > 0 then
local len = self.count
local left = len
local j = 0
for i = 0, len - 1 do
local e = self.entities[i]
if self.removed[e] then
self.removed[e] = false
left = left - 1
else
self.entities[j] = self.entities[i]
j = j + 1
end
end
--[[
for i = left + 1, len do
self.entities[i] = 0
end
]]
end
self.count = self.count - self.removeN
if self.addN > 0 then
local eI = self.count - 1
local aI = self.addN - 1
for i = self.count + self.addN - 1, 0, -1 do
local id = self.entities[eI]
local aId = self.added[aI]
if eI < 0 or aId > id then
self.entities[i] = aId
self.added[aI] = 0
aI = aI - 1
else
self.entities[i] = id
eI = eI - 1
end
end
end
self.count = self.count + self.addN
self.addN = 0
self.removeN = 0
end,
get = function(self, i)
return self.entities[i]
end,
}
table.insert(System.systems, system)
return system
end
return setmetatable(System, {
__call = function(_, ...) return System.new(...) end,
})
|
local addon, tbl = ...
tbl.Print = function(id, itemLink, count, source, location, lootDate, class, level)
if class and level then
print(id .. ": " ..
itemLink .. ", " ..
count .. ", " ..
source .. ", " ..
location .. ", " ..
lootDate .. ", [" ..
class .. ", " .. level .. "]"
)
else
print(id .. ": " ..
itemLink .. ", " ..
count .. ", " ..
source .. ", " ..
location .. ", " ..
lootDate
)
end
end
|
return {
require "jesse.lsp.languages.java",
require "jesse.lsp.languages.json",
require "jesse.lsp.languages.lua",
require "jesse.lsp.languages.nix",
require "jesse.lsp.languages.php",
require "jesse.lsp.languages.rust",
require "jesse.lsp.languages.tailwind",
require "jesse.lsp.languages.typescript",
require "jesse.lsp.languages.yaml",
}
|
--- Tracks a player's character's humanoid
-- @classmod HumanoidTracker
local require = require(script.Parent.loader).load(script)
local Maid = require("Maid")
local Signal = require("Signal")
local ValueObject = require("ValueObject")
local Promise = require("Promise")
local HumanoidTracker = {}
HumanoidTracker.ClassName = "HumanoidTracker"
HumanoidTracker.__index = HumanoidTracker
function HumanoidTracker.new(player)
local self = setmetatable({}, HumanoidTracker)
self._player = player or error("No player")
self._maid = Maid.new()
--- Tracks the current character humanoid, may be nil
self.Humanoid = ValueObject.new()
self._maid:GiveTask(self.Humanoid)
--- Tracks the alive humanoid, may be nil
self.AliveHumanoid = ValueObject.new()
self._maid:GiveTask(self.AliveHumanoid)
self._maid:GiveTask(self.Humanoid.Changed:Connect(function(newHumanoid, oldHumanoid, maid)
if not self.Destroy then
return
end
self:_handleHumanoidChanged(newHumanoid, oldHumanoid, maid)
end))
self._maid:GiveTask(self._player:GetPropertyChangedSignal("Character"):Connect(function()
if not self.Destroy then
return
end
self:_onCharacterChanged()
end))
self.HumanoidDied = Signal.new()
self._maid:GiveTask(self.HumanoidDied)
self:_onCharacterChanged()
return self
end
function HumanoidTracker:PromiseNextHumanoid()
if self.Humanoid.Value then
return Promise.resolved(self.Humanoid.Value)
end
if self._maid._nextHumanoidPromise then
return self._maid._nextHumanoidPromise
end
local promise = Promise.new()
local conn = self.Humanoid.Changed:Connect(function(newValue)
if newValue then
promise:Resolve(newValue)
end
end)
promise:Finally(function()
conn:Disconnect()
end)
self._maid._nextHumanoidPromise = promise
return promise
end
function HumanoidTracker:_onCharacterChanged()
local maid = Maid.new()
self._maid._characterMaid = maid
local character = self._player.Character
if not character then
self.Humanoid.Value = nil
return
end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
self.Humanoid.Value = humanoid -- TODO: Track if this humanoid goes away
return
end
self.Humanoid.Value = nil
-- Listen for changes
maid._childAdded = character.ChildAdded:Connect(function(child)
if child:IsA("Humanoid") then
maid._childAdded = nil
self.Humanoid.Value = child -- TODO: Track if this humanoid goes away
end
end)
end
function HumanoidTracker:_handleHumanoidChanged(newHumanoid, _, maid)
if not newHumanoid then
self.AliveHumanoid.Value = nil
return
end
if newHumanoid.Health <= 0 then
self.AliveHumanoid.Value = nil
return
end
self.AliveHumanoid.Value = newHumanoid
local alive = true
maid:GiveTask(function()
alive = false
end)
maid:GiveTask(newHumanoid.Died:Connect(function()
if not alive then
return
end
self.AliveHumanoid.Value = nil
-- AliveHumanoid changing may proc .Destroy method
if self.Destroy then
self.HumanoidDied:Fire(newHumanoid)
end
end))
end
function HumanoidTracker:Destroy()
self._maid:DoCleaning()
setmetatable(self, nil)
end
return HumanoidTracker
|
-- Created by LuaView.
-- Copyright (c) 2017, Alibaba Group. All rights reserved.
--
-- This source code is licensed under the MIT.
-- For the full copyright and license information,please view the LICENSE file in the root directory of this source tree.
function createButton(text, x, y, w, h, callback)
local button = Button();
button.frame(x, y, w, h);
button.text(text);
button.backgroundColor(0xfa0000);
button.callback(function()
if (callback) then
callback();
end
end);
button.adjustSize()
return button;
end
button1 = createButton("123456中文", 10, 10, 1000, 60);
button2 = Image();
button2.frame(10, 100 + 80, 100, 100);
button2.image("http://g.alicdn.com/ju/lua/2.0.25/doc/icon.png");
button2.callback(function()
print("我是图片按钮");
button2.adjustSize();
end);
obj = {};
function obj.test(a)
print(self, a);
end
obj.test "good";
button3 = Button()
button3.frame(150, 180, 100, 100)
button3.image("animate2", "http://online.sccnn.com/icon/517/actionIcons_006.png")
button3.callback(function()
print("button3 clicked")
end)
|
local plugin_name = vim.split((...):gsub("%.", "/"), "/", true)[1]
local M = require("vusted.helper")
M.root = M.find_plugin_root(plugin_name)
local prompt_name = "test_prompt"
local prompt = ("[%s]"):format(prompt_name)
vim.o.shell = "bash"
vim.env.PS1 = prompt
function M.before_each()
vim.env.HISTFILE = ""
M.test_data_path = "spec/test_data/" .. math.random(1, 2 ^ 30) .. "/"
M.test_data_dir = M.root .. "/" .. M.test_data_path
M.new_directory("")
vim.cmd("filetype on")
vim.cmd("syntax enable")
end
function M.after_each()
vim.cmd("tabedit")
vim.cmd("tabonly!")
vim.cmd("silent! %bwipeout!")
vim.cmd("filetype off")
vim.cmd("syntax off")
vim.fn.delete(M.root .. "/spec/test_data", "rf")
M.cleanup_loaded_modules(plugin_name)
print(" ")
end
function M.input(texts)
vim.api.nvim_put(texts, "c", true, true)
end
function M.buffer_log()
local lines = vim.fn.getbufline("%", 1, "$")
for _, line in ipairs(lines) do
print(line)
end
end
function M.new_file(path, ...)
local f = io.open(M.test_data_dir .. path, "w")
for _, line in ipairs({...}) do
f:write(line .. "\n")
end
f:close()
end
function M.new_directory(path)
vim.fn.mkdir(M.test_data_dir .. path, "p")
end
function M.delete(path)
vim.fn.delete(M.test_data_dir .. path, "rf")
end
function M.wait_terminal(_)
-- HACK: How to wait terminal drawing?
vim.cmd("sleep 300ms")
end
function M.open_terminal_sync()
local channel_id = vim.fn.termopen({"bash", "--noprofile", "--norc", "-eo", "pipefail"}, {
on_stdout = function(_, data, _)
local msg = "[stdout] " .. table.concat(data, "\n")
vim.api.nvim_out_write(msg .. "\n")
end,
on_stderr = function(_, data, _)
local msg = "[stderr] " .. table.concat(data, "\n")
vim.api.nvim_out_write(msg .. "\n")
end,
on_exit = function(_, exit_code, _)
local msg = "[exit] " .. exit_code
vim.api.nvim_out_write(msg .. "\n")
end,
})
M.wait_terminal(channel_id)
return channel_id
end
function M._search_last_prompt()
vim.cmd("normal! G")
local result = vim.fn.search(prompt_name, "bW")
if result == 0 then
local msg = ("not found prompt: %s"):format(prompt_name)
assert(false, msg)
end
return result
end
function M.emit_text_changed()
vim.cmd(("doautocmd flompt:%s TextChanged"):format(vim.fn.bufnr("%")))
end
local asserts = require("vusted.assert").asserts
asserts.create("window_count"):register_eq(function()
return vim.fn.tabpagewinnr(vim.fn.tabpagenr(), "$")
end)
asserts.create("prompt"):register_eq(function()
M._search_last_prompt()
return vim.fn.getline("."):sub(#prompt + 1)
end)
asserts.create("command_result_line"):register_eq(function()
M._search_last_prompt()
vim.cmd("normal! k")
return vim.fn.getline(".")
end)
asserts.create("line_number"):register_eq(function()
return vim.fn.line(".")
end)
asserts.create("exists_pattern"):register(function(self)
return function(_, args)
local pattern = args[1]
pattern = pattern:gsub("\n", "\\n")
local result = vim.fn.search(pattern, "n")
self:set_positive(("`%s` not found"):format(pattern))
self:set_negative(("`%s` found"):format(pattern))
return result ~= 0
end
end)
return M
|
--[[
A library providing advanced queue support and better optimizations for queue-based operations.
]]
_libs = _libs or {}
require('tables')
local table = _libs.tables
local queue = {}
_libs.queues = queue
_raw = _raw or {}
_raw.table = _raw.table or {}
_meta = _meta or {}
_meta.Q = {}
_meta.Q.__index = function(q, k)
if type(k) == 'number' then
if k < 0 then
return rawget(q.data, q.back - k + 1)
else
return rawget(q.data, q.front + k - 1)
end
end
return rawget(queue, k) or rawget(table, k)
end
_meta.Q.__newindex = function(q, k, v)
error('Cannot assign queue value:', k)
end
_meta.Q.__class = 'Queue'
function Q(t)
if class(t) == 'Set' then
local q = Q{}
for el in pairs(t) do
q:push(el)
end
return q
end
local q = {}
q.data = setmetatable(t, nil)
q.front = 1
if class(t) == 'List' then
q.back = t.n + 1
else
q.back = #t + 1
end
return setmetatable(q, _meta.Q)
end
function queue.empty(q)
return q.front == q.back
end
function queue.length(q)
return q.back - q.front
end
function queue.push(q, el)
rawset(q.data, q.back, el)
q.back = q.back + 1
return q
end
function queue.pop(q)
if q:empty() then
return nil
end
local res = rawget(q.data, q.front)
rawset(q.data, q.front, nil)
q.front = q.front + 1
return res
end
function queue.insert(q, i, el)
q.back = q.back + 1
table.insert(q.data, q.front + i - 1, el)
return q
end
function queue.remove(q, i)
q.back = q.back - 1
table.remove(q.data, q.front + i - 1)
return q
end
function queue.it(q)
local key = q.front - 1
return function()
key = key + 1
return rawget(q.data, key), key
end
end
function queue.clear(q)
q.data = {}
q.front = q.back
return q
end
function queue.copy(q)
local res = {}
for key = q.front, q.back do
rawset(res, key, rawget(q.data, key))
end
res.front = q.front
res.back = q.back
return setmetatable(res, _meta.Q)
end
function queue.reassign(q, qn)
q:clear()
for key = qn.front, qn.back do
rawset(q, key, rawget(qn.data, key))
end
q.front = qn.front
q.back = qn.back
return q
end
function queue.sort(q, ...)
_raw.table.sort(q.data, ...)
return q
end
function queue.tostring(q)
local str = '|'
for key = q.front, q.back - 1 do
if key > q.front then
str = str .. ' < '
end
str = str .. tostring(rawget(q.data, key))
end
return str .. '|'
end
_meta.Q.__tostring = queue.tostring
--[[
Copyright © 2013, Windower
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Windower nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Windower BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]
|
---@class CS.FairyEditor.FlipConst
---@field public NONE string
---@field public HZ string
---@field public VT string
---@field public BOTH string
---@type CS.FairyEditor.FlipConst
CS.FairyEditor.FlipConst = { }
---@return number
---@param str string
function CS.FairyEditor.FlipConst.Parse(str) end
return CS.FairyEditor.FlipConst
|
object_mobile_uller = object_mobile_shared_uller:new {
}
ObjectTemplates:addTemplate(object_mobile_uller, "object/mobile/uller.iff")
|
local skynet = require "skynet"
local logger = require "common.utils.logger"
local sproto_helper = require "sproto_helper"
local config_system = require "config_system"
local config_gate = config_system.gate
local AGENT_MGR = import("lualib/game/agentmgr.lua")
local logind = ...
local gate
local CMD = {}
local SOCKET = {}
function SOCKET.open(fd, addr)
skynet.error("New client from : " .. addr)
end
function SOCKET.close(fd)
print("socket close",fd)
close_agent(fd)
end
function SOCKET.error(fd, msg)
print("socket error",fd, msg)
close_agent(fd)
end
function SOCKET.warning(fd, size)
-- size K bytes havn't send out in fd
print("socket warning", fd, size)
end
local function do_auth(fd, msg, sz)
local type_, name, args, response = sproto_helper:dispatch (msg, sz)
assert(type_ == "REQUEST")
assert(name == "login")
assert(args.sessionid and args.htoken)
local sessionid = args.sessionid
local htoken = args.htoken
local accountid = skynet.call (logind, "lua", "verify", sessionid, htoken)
return accountid
end
local function do_login(fd, accountid)
AGENT_MGR.login_account(fd, accountid)
end
function SOCKET.data(fd, msg)
local ok, accountid = xpcall(do_auth, __G_TRACE_BACK__, fd, msg)
if ok then
xpcall(do_login, __G_TRACE_BACK__, fd, accountid)
else
skynet.call(gate, "lua", "kick", fd)
end
end
function CMD.start()
skynet.call(gate, "lua", "open" , conf)
end
function CMD.close(fd)
AGENT_MGR.close_agent(fd)
end
skynet.start(function()
sproto_helper.load(1)
skynet.dispatch("lua", function(session, source, cmd, subcmd, ...)
if cmd == "socket" then
local f = SOCKET[subcmd]
f(...)
-- socket api don't need return
else
local f = assert(CMD[cmd])
skynet.ret(skynet.pack(f(subcmd, ...)))
end
end)
gate = skynet.newservice("gate")
AGENT_MGR.gate = gate
end)
|
local class = require 'me.strangepan.libs.util.v1.class'
local story = class.build()
function story:_init(content)
self.content = content
self.current = self.content['Story Page 1']
end
function story:current_text()
return self.current.text
end
function story:current_options()
return self.current.options
end
function story:resolve_option(n)
assert(n >= 1 and n <= table.getn(self:current_options()))
self.current = self.content[self.current.options[n].dest]
end
return story
|
local Debug = require "datanet.debug";
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- CLASS DECLARATION --------------------------------------------------------
local _S = {};
_S.__index = _S;
--[[ NOTE: none of the module's functions has a SELF reference
this is not a module more like a named global method container ]]--
_S.TableNamespace = "DATANET"; -- NOTE: OVERRIDE-ABLE
function _S.GetTableName(tname)
return _S.TableNamespace .. "_" .. tname;
end
function _S.GetDictionaryName(tname)
return ngx.shared[_S.GetTableName(tname)];
end
function _S.SetKey(tname, pk, sval)
if (Debug.SHM) then
LD('SetKey: T: ' .. tname .. ' PK: ' .. pk .. ' sval: ' .. tostring(sval));
end
local dmem = _S.GetDictionaryName(tname);
local s, err, f = dmem:set(pk, sval);
return 1;
end
function _S.GetKey(tname, pk)
if (Debug.SHM) then LD('GetKey: T: ' .. tname .. ' PK: ' .. pk); end
local dmem = _S.GetDictionaryName(tname);
local sval, err = dmem:get(pk);
if (Debug.SHM and sval ~= nil) then
LD('GetKey: sval: ' .. tostring(sval));
end
return sval;
end
function _S.AddKey(tname, pk)
if (Debug.SHM) then LD('AddKey: T: ' .. tname .. ' PK: ' .. pk); end
local dmem = _S.GetDictionaryName(tname);
local s, err, f = dmem:add(pk, 1);
if (s) then return 1;
else return 0;
end
end
function _S.DeleteKey(tname, pk)
if (Debug.SHM) then LD('DeleteKey: T: ' .. tname .. ' PK: ' .. pk); end
local dmem = _S.GetDictionaryName(tname);
dmem:delete(pk); -- NO RETURN VALUE
return 1;
end
function _S.DeleteTable(tname)
if (Debug.SHM) then LD('DeleteTable: T: ' .. tname); end
local dmem = _S.GetDictionaryName(tname);
dmem:flush_all();
return 1;
end
local function __get_table(tname, serialized)
local dmem = _S.GetDictionaryName(tname);
local keys = dmem:get_keys(0);
local res = {};
if (keys == nil) then return res; end
for i, k in ipairs(keys) do
local sval, err = dmem:get(k);
if (err) then return nil; end
if (serialized) then
res[k] = sval;
else
if (type(sval) == "string") then
res[k] = cjson.decode(sval);
else
res[k] = sval;
end
end
end
return res;
end
-- NOTE: returns K-V table where V is serialized JSON
-- -> simplifies passing data from Lua to C (AKA: lazy coding)
function _S.GetTableSemiSerialized(tname)
if (Debug.SHM) then LD('GetTableSemiSerialized: T: ' .. tname); end
return __get_table(tname, true);
end
function _S.GetTable(tname)
if (Debug.SHM) then LD('GetTable: T: ' .. tname); end
return __get_table(tname, false);
end
function _S.SetTable(tname, data)
if (Debug.SHM) then LD('SetTable: T: ' .. tname); end
local dmem = _S.GetDictionaryName(tname);
for k, v in pairs(data) do
local sval = cjson.encode(v);
if (sval == nil) then return -1; end
local s, err, f = dmem:set(k, sval);
if (not s) then return -1; end
if (Debug.SHM) then
LD('SetTable: SET: T: ' .. tname .. ' K: ' .. k ..
' V: ' .. tostring(sval));
end
end
return 1;
end
return _S;
|
local module = {}
-- 写入文件
function module.Writefile(path, content, mode)
mode = mode or "w+b"
local file = io.open(path, mode)
if file then
if file:write(content) == nil then return false end
io.close(file)
return true
else
return false
end
end
return module
|
--------------------------------------------------------------------------------------------------------
--- @class VoxelAsset : Asset
--------------------------------------------------------------------------------------------------------
local VoxelAsset = {}
return VoxelAsset
|
--
-- cast2string.lua
-- Converts C AST to C code string.
--
-- (c) 2008 David Manura. Licensed in the same terms as Lua (MIT license).
-- See included LICENSE file for full licensing details.
local M = {}
local _G = _G
local assert = _G.assert
local ipairs = _G.ipairs
local math = _G.math
local string = _G.string
local table = _G.table
local tostring = _G.tostring
local type = _G.type
local unpack = _G.unpack
-- Indents lines of code.
local function indentcode(code)
local indent = ' '
code = code:gsub('\n', '\n' .. indent)
code = code:gsub(indent .. '$', '')
if code ~= "" then code = indent .. code end
return code
end
-- Makes C comment of string s.
local function ccomment(s)
s = s:gsub('%*%/', '* /')
s = s:gsub('%/%*', '/ *')
s = '/* ' .. s:gsub('\n', '\n' .. ' * ') .. ' */'
return s
end
-- Tests whether C AST node of given type should not have semicolon
-- appended.
local no_semicolon = {
['If'] = true,
['While'] = true,
['Functiondef'] = true,
['C'] = true
}
-- Converts C AST to C code string.
local function cast_to_string(cast)
-- DEBUG(type(cast) == 'table' and cast.tag or cast)
if type(cast) ~= 'table' then
if type(cast) =='number' then -- convenience function
local s =
(cast ~= cast) and '(0.0/0.0)' or
(cast == math.huge) and 'HUGE_VAL' or
(cast == -math.huge) and '-HUGE_VAL' or
tostring(cast)
--note: HUGE_VAL/-HUGE_VAL defined in math.h
--IMPROVE: avoid 'warning: integer constant is too large for
-- "long" type', at least in gcc. Make distinction between
-- doubles and integers?
--if not s:find('[Ee%.]') then
-- s = s .. '.0'
--end
return s
elseif type(cast) == 'string' then -- convenience function
return string.format("%q", cast):gsub('\\\n', '\\n')
else
assert(false, type(cast))
end
elseif cast.tag == 'C' or cast.tag == 'Id' then
local ccode = cast[1]
assert(type(ccode) == 'string', tostring(ccode))
return ccode
elseif cast.tag == 'Op' then
local opid, a_cast, b_cast = cast[1], cast[2], cast[3]
local pa,pz = '(', ')' -- improve: sometimes can be avoided
return pa .. cast_to_string(a_cast) ..
' ' .. opid .. ' ' .. cast_to_string(b_cast) .. pz
elseif cast.tag == 'Include' then
local name = cast[1]
return '#include ' .. name
elseif cast.tag == 'Let' then
local id, val_cast = cast[1], cast[2]
return "const int " .. id .. " = " .. cast_to_string(val_cast)
elseif cast.tag == 'LetDouble' then
local id, val_cast = cast[1], cast[2]
return "const double " .. id .. " = " .. cast_to_string(val_cast)
elseif cast.tag == 'LetMutableDouble' then
local id, val_cast = cast[1], cast[2]
return "double " .. id .. " = " .. cast_to_string(val_cast)
elseif cast.tag == 'LetInt' then
local id, val_cast = cast[1], cast[2]
return "const int " .. id .. " = " .. cast_to_string(val_cast)
elseif cast.tag == 'Enum' then
local id, val_cast = cast[1], cast[2]
return "enum { " .. id .. " = " .. tostring(val_cast) .. " }"
elseif cast.tag == 'Not' then
local a_ast = cast[1]
local pa,pz = '(', ')' -- improve: sometimes can be avoided
return '!' .. pa .. cast_to_string(a_ast) .. pz
elseif cast.tag == 'Return' then
local a_ast = cast[1]
return 'return' .. (a_ast and ' ' .. cast_to_string(a_ast) or '')
elseif cast.tag == 'Break' then
return 'break'
elseif cast.tag == 'Call' then
local args = {tag='C'}
for i=2,#cast do
args[#args+1] = cast_to_string(cast[i])
end
return cast[1] .. '(' .. table.concat(args, ',') .. ')'
elseif cast.tag == 'CallL' then
local args = {tag='C', 'L'}
for i=2,#cast do
args[#args+1] = cast_to_string(cast[i])
end
return cast[1] .. '(' .. table.concat(args, ',') .. ')'
elseif cast.tag == 'Def' then
local ts = {}
for i,stat_cast in ipairs(cast) do
ts[i] = cast_to_string(stat_cast) .. '\n\n'
end
local ccode = table.concat(ts)
return ccode
elseif cast.tag == nil then -- block
local ts = {}
if cast.comment then
ts[#ts+1] = '\n' .. ccomment(cast.comment) .. '\n'
end
for i,stat_cast in ipairs(cast) do
local comment = ''
if stat_cast.comment then
comment = '\n' .. ccomment(stat_cast.comment) .. '\n'
end
local postcomment = ''
if stat_cast.postcomment then
postcomment = ccomment(stat_cast.postcomment) .. '\n'
end
local semi = no_semicolon[stat_cast.tag] and '' or ';'
ts[#ts+1] = comment .. cast_to_string(stat_cast) .. semi .. '\n' ..
postcomment
end
if cast.postcomment then
ts[#ts+1] = '\n' .. ccomment(cast.postcomment) .. '\n'
end
local ccode = indentcode(table.concat(ts))
return ccode
elseif cast.tag == 'If' then
local ccode = ''
for i=2,#cast,2 do
if i ~= 2 then ccode = ccode .. 'else ' end
ccode = ccode .. 'if (' .. cast_to_string(cast[i-1]) .. ') {\n' ..
cast_to_string(cast[i]) .. '}'
end
if #cast % 2 == 1 then
ccode = ccode .. '\nelse {\n' .. cast_to_string(cast[#cast]) .. '}'
end
return ccode
elseif cast.tag == 'While' then
local expr_cast, block_cast = cast[1], cast[2]
local ccode = 'while (' .. cast_to_string(expr_cast) .. ') {\n' ..
cast_to_string(block_cast) .. '}'
return ccode
elseif cast.tag == 'Functiondef' then
local id, body_cast = cast[1], cast[2]
local comment = ''
if cast.comment then
comment = ccomment(cast.comment) .. '\n'
end
local postcomment = ''
if cast.postcomment then
postcomment = ccomment(cast.postcomment) .. '\n'
end
local ccode =
comment ..
'static int ' .. id .. ' (lua_State * L) {\n' ..
cast_to_string(body_cast) .. '}\n' .. postcomment
return ccode
elseif cast.tag:find'lua_' == 1 then -- convenience function
return cast_to_string{tag='CallL', cast.tag, unpack(cast)}
else
assert(false, cast.tag)
end
end
M.cast_to_string = cast_to_string
return M
|
function Crusaderofold_OnCombat(Unit, Event)
Unit:SendChatMessage(14, 0, "Halt! Who dares tread through the halls of old?")
Unit:RegisterEvent("AvengerShield", 8000, 3)
Unit:RegisterEvent("Cleave", 10000, 0)
Unit:RegisterEvent("ShieldBash", 12000, 0)
end
function AvengerShield(Unit, Event)
Unit:FullCastSpellOnTarget(69927, Unit:GetRandomPlayer(0))
end
function Cleave(Unit, Event)
Unit:FullCastSpellOnTarget(52835, Unit:GetClosestPlayer(0))
end
function ShieldBash(Unit, Event)
Unit:FullCastSpellOnTarget(70964, Unit:GetClosestPlayer(0))
end
function Crusaderofold_OnLeaveCombat(Unit, Event)
Unit:RemoveEvents()
end
function Crusaderofold_OnKilledTarget(Unit, Event)
Unit:SendChatMessage(14, 0, "Die, filth!")
end
function Crusaderofold_OnDied(Unit, Event)
Unit:RemoveEvents()
end
RegisterUnitEvent(700006,1,"Crusaderofold_OnCombat")
RegisterUnitEvent(700006,2,"Crusaderofold_OnLeaveCombat")
RegisterUnitEvent(700006,3,"Crusaderofold_OnKilledTarget")
RegisterUnitEvent(700006,4,"Crusaderofold_OnDied")
|
--[[
This module implements a class for performing
lattice optimizations based on scaling the atomic
coordinates and the cell-vectors.
--]]
local m = require "math"
local mc = require "flos.middleclass.middleclass"
local num = require "flos.num"
local optim = require "flos.optima.base"
-- Create the LBFGS class (inheriting the Optimizer construct)
local Lattice = mc.class("Lattice", optim.Optimizer)
function Lattice:initialize(cell, delta, N)
-- Create the Lattice class which requires
-- these arguments:
-- 1. cell, the lattice vectors in a 3x3 matrix that are
-- the initial position.
-- 2. the displacement per itteration.
-- This may be one of:
-- a) value, length increase for all cell-directions
-- b) Array1D, length increase for each cell-direction
-- c) Array2D, addition to the cell
-- It defaults to 0.01 Ang
-- 3. N, number of steps that should be taken before
-- the lattice-optimization ends.
-- This value defaults to -5.
-- If this is positive it is the number of displacements
-- that are performed.
-- If this is negative it is the number of points
-- that will be calculated _after_ a minimum
-- has been found.
-- Current cell coordinates
self.cell = cell:copy()
self:update_reciprocal()
-- The displacement
self.delta = delta or 0.01
-- The number of steps to take, and current iteration
self.N = N or -5
self.itt = 1
-- Placeholder for the displacement values and
-- energies you want to minimize
self.E = num.Array.empty(1)
end
-- Update the internal reciprocal lattice (without 2Pi)
function Lattice:update_reciprocal()
self.rcell = num.Array.empty(3, 3)
local c = self.cell
self.rcell[1][1] = c[2][2]*c[3][3] - c[2][3]*c[3][2]
self.rcell[1][2] = c[2][3]*c[3][1] - c[2][1]*c[3][3]
self.rcell[1][3] = c[2][1]*c[3][2] - c[2][2]*c[3][1]
self.rcell[2][1] = c[3][2]*c[1][3] - c[3][3]*c[1][2]
self.rcell[2][2] = c[3][3]*c[1][1] - c[3][1]*c[1][3]
self.rcell[2][3] = c[3][1]*c[1][2] - c[3][2]*c[1][1]
self.rcell[3][1] = c[1][2]*c[2][3] - c[1][3]*c[2][2]
self.rcell[3][2] = c[1][3]*c[2][1] - c[1][1]*c[2][3]
self.rcell[3][3] = c[1][1]*c[2][2] - c[1][2]*c[2][1]
for i = 1, 3 do
self.rcell[i] = self.rcell[i] / c[i]:dot(self.rcell[i])
end
end
-- After having calculated the energy it should
-- be added to the lattice-optimization routine
-- to collect a table.
function Lattice:add_energy(E)
if #self.E < self.itt then
self.E.shape[1] = self.E.shape[1] + 1
end
self.E[self.itt] = E
end
-- Return the fractional coordinates
function Lattice:fractional(xa)
return xa:dot(self.rcell ^ "T")
end
function Lattice:next()
-- Calculate the following lattice
local cell = self.cell:copy()
if not num.isArray(self.delta) then
-- Length addition same
local ncell = cell:norm()
for i = 1 , 3 do
for j = 1 , 3 do
cell[i][j] = cell[i][j] + cell[i][j] / ncell[i] * self.delta
end
end
elseif #self.delta.shape == 1 then
-- Length addition individual
local ncell = cell:norm()
for i = 1 , 3 do
for j = 1, 3 do
cell[i][j] = cell[i][j] + cell[i][j] / ncell[i] * self.delta[i]
end
end
elseif #self.delta.shape == 2 then
-- simple addition
cell = cell + self.delta
end
-- Update the internal cell
self.cell = cell:copy()
self.itt = self.itt + 1
return cell
end
return Lattice
|
--
local pairs = pairs
local ipairs = ipairs
--- 返回通过将函数应用于每个元素而生成的元素平均值
function table.average_by(t, fn)
local sum
for _, v in pairs(t) do
if sum then
sum = sum + fn(v)
else
sum = fn(v)
end
end
return sum
end
--- 将给定函数应用于列表的每个元素。
--- 返回由各元素(该函数返回了非nil/false)的结果组成的列表
---@param t table
---@param fn fun(v:any):any
function table.choose(t, fn)
local ret = {}
for k, v in pairs(t) do
local u = fn(v)
if u then
ret[k] = u
end
end
return ret
end
--- 对列表的每个元素应用给定函数。连接所有结果并返回组合列表。
---@param t table
---@param fn fun(v:any):table
function table.collect(t, fn)
local ret = {}
for _, v in pairs(t) do
for _, u in ipairs(fn(v)) do
table.insert(ret, u)
end
end
return ret
end
function table.exists(t, fn)
for _, v in pairs(t) do
if fn(v) then
return true
end
end
return false
end
function table.exists2(t1, t2, fn)
for k, v in pairs(t1) do
if fn(v, t2[k]) then
return true
end
end
return false
end
--- 返回一个新集合,其中仅包含给定谓词为其返回 true 的集合的元素
---@param t table
---@param fn fun(v:any):boolean
function table.filter(t, fn)
local ret = {}
for k, v in pairs(t) do
if fn(v) then
ret[k] = v
end
end
return ret
end
--- 返回给定函数为其返回 true 的第一个元素
function table.ffind(t, fn)
for _, v in pairs(t) do
if fn(v) then
return v
end
end
end
--- 返回满足给定谓词的列表中第一个元素的索引
function table.ffindkey(t, fn)
for k, v in pairs(t) do
if fn(v) then
return k
end
end
end
--- 测试集合的所有元素是否满足给定谓词
function table.forall(t,fn)
for _, v in pairs(t) do
if not fn(v) then
return false
end
end
return true
end
--- 创建一个新集合,其元素是将给定函数应用于集合的每个元素的结果
function table.map(t, fn)
local ret = {}
for k, v in pairs(t) do
ret[k] = fn(v)
end
return ret
end
|
return [[
#Base text for English language
[en]
lang = English #Full language name
AuthorText = Translation Author: Pollitto #Author text
#Workshop errors
Workshop.Title = Content manager
Workshop.FilesMissing = Missing some addon files or addon is corrupted.\nIf addons has installed from Workshop, try to delete a file:\nGarrysMod/garrysmod/%s.
Workshop.FilesMissingLocaly = Missing some addon files or addon is corrupted.
Workshop.InstalledLocaly = Installed (local)
Workshop.NotInstalledE = Not installed.\nSubscribe to the addon and check it in the "Addons" menu.
Workshop.NotInstalled = Not installed.
Workshop.Disabled = Disabled.\nEnable it in the "Addons" menu.
Workshop.Installed = Installed
Workshop.Open = Workshop
Workshop.ErrorGithub = Detected GitHub version of the Metrostroi. Current Metrostroi version is not compatible and cannot work with GitHub version of Metrostroi.
Workshop.ErrorLegacy = Detected Legacy version of the Metrostroi. Current Metrostroi version is not compatible and cannot work with Legacy version of Metrostroi.
Workshop.ErrorEnhancers = This addon contains a graphic enhancers that may interfere with the game experience.
Workshop.Error1 = This addon contain an old script code of the Metrostroi that conflicts with current. May be "Scripts errors" and unstable work of the addon.
Workshop.ErrorOld = Old models detected (81-702 and 81-717 old models). Check and remove old metrostroi content files, remove "cache", "download" and "downloads" folders from "garrysmod" folder.
#Station list GUI
StationList.Title = Station list
StationList.Name = Name
StationList.NamePos = Position
StationList.Select = Select station
StationList.Teleport = Teleport
StationList.NoConfig = This map is not configured
#Client settings
Panel.Admin = Admin
Panel.RequireThirdRail = Require third rail
Panel.Client = Client
Panel.Language = Select language
Panel.DrawCams = Render cameras
Panel.DisableHUD = Disable HUD in the driver seat
Panel.DisableCamAccel = Disable camera acceleration
Panel.DisableHoverText = Disable tooltips
Panel.DisableHoverTextP = Disable additional information\nin tooltips #NEW #FIXME
Panel.ScreenshotMode = Screenshot mode (LOW FPS)
Panel.ShadowsHeadlight = Enable headlight shadows
Panel.RedLights = Enable dynamic light\nof red lights
Panel.ShadowsOther = Enable shadows from other\nlight sources
Panel.PanelSprites = Enable sprites from control\npanel lamps
Panel.MinimizedShow = Don't unload an elements\nwhen minimized
Panel.PanelLights = Enable dynamic lights\nfrom control panel lamps #NEW
Panel.RouteNumber = Route number #NEW
Panel.FOV = FOV
Panel.Z = Camera height #NEW
Panel.RenderDistance = Render distance
Panel.ReloadClient = Reload client side
Panel.ClientAdvanced = Client (advanced)
Panel.DrawDebugInfo = Draw debug information
Panel.DrawSignalDebugInfo = Signalling debug info
Panel.CheckAddons = Scan addons
Panel.ReloadLang = Reload languages
Panel.SoftDraw = Train elements loading time
Panel.SoftReloadLang = Don't reload a spawnmenu
#Common train
#Cameras
Train.Common.Camera0 = Driver's seat
Train.Common.RouteNumber = Route number
Train.Common.LastStation = Last station
Train.Common.HelpersPanel = Helper's panel
Train.Common.UAVA = UAVA
Train.Common.PneumoPanels = Pneumatic valves
Train.Common.Voltmeters = Voltmeters and amperemeters
Train.Common.CouplerCamera = Coupler
Common.ARM.Monitor1 = Monitor 1 ARM
Train.Buttons.Sealed = Sealed
Train.Buttons.Active = Active #NEW
Train.Buttons.Auto = Auto #NEW
Train.Buttons.On = On #NEW
Train.Buttons.Off = Off #NEW
Train.Buttons.Closed = Closed #NEW
Train.Buttons.Opened = Opened #NEW
Train.Buttons.Disconnected = Disconnected #NEW
Train.Buttons.Connected = Connected #NEW
Train.Buttons.UAVAOff = Control circuits is open #NEW (OFF)
Train.Buttons.UAVAOn = Control circuits is closed #NEW (ON)
Train.Buttons.Freq1/5 = 1/5 autoblocking #NEW
Train.Buttons.Freq2/6 = 2/6 ALS-ARS #NEW
Train.Buttons.Left = Left #NEW
Train.Buttons.Right = Right #NEW
Train.Buttons.Low = Low #NEW
Train.Buttons.High = High #NEW #FIXME
Train.Buttons.LFar = Bright #NEW #FIXME (headlights)
Train.Buttons.LNear = Dim #NEW #FIXME (headlights)
Train.Buttons.0 = 0 #NEW
Train.Buttons.1 = 1 #NEW
Train.Buttons.2 = 2 #NEW
Train.Buttons.3 = 3 #NEW
Train.Buttons.4 = 4 #NEW
Train.Buttons.Forward = Forward #NEW
Train.Buttons.Back = Backward #NEW
Train.Buttons.VentHalf = 1/2 of speed #NEW (of ventilation)
Train.Buttons.VentFull = Full speed #NEW (of ventilation)
Train.Buttons.VTRF = Forward oriented wagons #NEW
Train.Buttons.VTRB = Back oriented wagons #NEW
Train.Buttons.VTR1 = Even wagons #NEW
Train.Buttons.VTR2 = Odd wagons #NEW
Train.Buttons.VTRH1 = First half of train #NEW
Train.Buttons.VTRH2 = Second half of train #NEW
Train.Buttons.VTRAll = All wagons #NEW
Train.Buttons.BatteryVoltage = %d V #NEW
Train.Buttons.HighVoltage = %d V #NEW
Train.Buttons.BatteryCurrent = %d A #NEW
Train.Buttons.EnginesCurrent = %d A #NEW
Train.Buttons.Speed = %d km/h #NEW
Train.Buttons.SpeedAll = %d km/h\nSpeed limit: %s km/h #NEW #FIXME
Train.Buttons.SpeedLimit = %s km/h #NEW
Train.Buttons.SpeedLimitNext = %s km/h #NEW
Train.Buttons.Acceleration = % 4.2f m/s #NEW
Train.Buttons.04 = NF #NEW (no frequency)
Train.Buttons.BCPressure = %.1f bar
Train.Buttons.BLTLPressure = TL: %.1f\nBL: %.1f bar #NEW (TL: Train line, BL: Brake line acronyms)
Train.Buttons.Locked = Locked #NEW
Train.Buttons.Unlocked = Unlocked #NEW
#Train entities
Entities.gmod_subway_base.Name = Subway base
Entities.gmod_subway_81-502.Name = 81-502 (Ema-502 head)
Entities.gmod_subway_81-501.Name = 81-501 (Em-501 intermediate)
Entities.gmod_subway_81-702.Name = 81-702 (D head)
Entities.gmod_subway_81-702_int.Name = 81-702 (D intermediate)
Entities.gmod_subway_81-703.Name = 81-703 (E head)
Entities.gmod_subway_81-703_int.Name = 81-703 (E intermediate)
Entities.gmod_subway_ezh.Name = 81-707 (Ezh head)
Entities.gmod_subway_ezh1.Name = 81-708 (Ezh1 intermediate)
Entities.gmod_subway_ezh3.Name = 81-710 (Ezh3 head)
Entities.gmod_subway_em508t.Name = 81-508T (Em-508T intermediate)
Entities.gmod_subway_81-717_mvm.Name = 81-717 (Moscow head)
Entities.gmod_subway_81-717_mvm_custom.Name = 81-717 (Moscow custom)
Entities.gmod_subway_81-714_mvm.Name = 81-714 (Moscow intermediate)
Entities.gmod_subway_81-717_lvz.Name = 81-717 (St. Petersburg head)
Entities.gmod_subway_81-714_lvz.Name = 81-714 (St. Petersburg intermediate)
Entities.gmod_subway_81-718.Name = 81-718 (TISU head)
Entities.gmod_subway_81-719.Name = 81-719 (TISU intermediate)
Entities.gmod_subway_81-720.Name = 81-720 (Yauza head)
Entities.gmod_subway_81-721.Name = 81-721 (Yauza intermediate)
Entities.gmod_subway_81-722.Name = 81-722 (Yubileyniy head)
Entities.gmod_subway_81-723.Name = 81-723 (Yubileyniy intermediate motor)
Entities.gmod_subway_81-724.Name = 81-724 (Yubileyniy intermediate trailer)
Entities.gmod_subway_81-7036.Name = 81-7036 (doesn't work)
Entities.gmod_subway_81-7037.Name = 81-7037 (doesn't work)
Entities.gmod_subway_tatra_t3.Name = Tatra T3
#Train util entities
Entities.gmod_train_bogey.Name = Bogey
Entities.gmod_train_couple.Name = Coupler
#Other entities
Entities.gmod_track_pui.Name = PUI
Entities.gmod_track_mus_elektronika7.Name = "Electronika" clock
Entities.gmod_mus_clock_analog.Name = Analog clock
Entities.gmod_track_clock_time.Name = Big interval clock (time)
Entities.gmod_track_clock_small.Name = Small interval clock
Entities.gmod_track_clock_interval.Name = Big interval clock (interval)
Entities.gmod_track_switch.Name = Track switch
Entities.gmod_track_powermeter.Name = Power meter
Entities.gmod_track_arm.Name = ARM DSCP
Entities.gmod_track_udochka.Name = Power connector
Entities.gmod_train_spawner.Name = Train spawner
Entities.gmod_train_special_box.Name = Special delivery
#Weapons
Weapons.button_presser.Name = Button presser
Weapons.button_presser.Purpose = Used to press buttons on the maps.
Weapons.button_presser.Instructions = Aim to a button and click "Attack" button.
Weapons.train_key.Name = Administrator key
Weapons.train_key.Purpose = Used to activate the administrators buttons.
Weapons.train_key.Instructions = Aim to the administrator button and press "Attack" button.
Weapons.train_kv_wrench.Name = Reverser wrench
Weapons.train_kv_wrench.Purpose = Used in metro train and for pressing buttons in them.
Weapons.train_kv_wrench.Instructions = Aim to a button in the train and press "Attack" button.
Weapons.train_kv_wrench_gold.Name = The golden reverser wrench
Weapons.train_kv_wrench_gold.Purpose = @[Weapons.train_kv_wrench.Purpose]
Weapons.train_kv_wrench_gold.Instructions = @[Weapons.train_kv_wrench.Instructions]
#Spawner common
Spawner.Title = Train spawner
Spawner.Spawn = Spawn
Spawner.Close = Close
Spawner.Trains1 = Wags. allowed
Spawner.Trains2 = Per player
Spawner.WagNum = Wagons amount
Common.Spawner.Texture = Body skin
Common.Spawner.PassTexture = Interior skin
Common.Spawner.CabTexture = Driver's cab skin
Common.Spawner.Announcer = Announcer type
Common.Spawner.Type1 = Type 1
Common.Spawner.Type2 = Type 2
Common.Spawner.Type3 = Type 3
Common.Spawner.Type4 = Type 4
Common.Spawner.SpawnMode = Train state
Common.Spawner.SpawnMode.Deadlock = Dead-end
Common.Spawner.SpawnMode.Full = Fully started
Common.Spawner.SpawnMode.NightDeadlock = Dead-end after night
Common.Spawner.SpawnMode.Depot = Cold and dark
Spawner.Common.EType = Electric circuits type #FIXME
Common.Spawner.Scheme = Line schemes
Common.Spawner.Random = Random
Common.Spawner.Old = Old
Common.Spawner.New = New
Common.Spawner.Type = Type
Common.Spawner.SchemeInvert = Invert line schemes
#Coupler common
Common.Couple.Title = Coupler menu
Common.Couple.CoupleState = Coupler state
Common.Couple.Coupled = Coupled
Common.Couple.Uncoupled = Not coupled
Common.Couple.Uncouple = Uncouple
Common.Couple.IsolState = Isolation valves state
Common.Couple.Isolated = Closed
Common.Couple.Opened = Opened
Common.Couple.Open = Open
Common.Couple.Isolate = Close
Common.Couple.EKKState = EKK state (electrical box connection)
Common.Couple.Disconnected = Disconnected
Common.Couple.Connected = Connected
Common.Couple.Connect = Connect
Common.Couple.Disconnect = Disconnect
#Bogey common
Common.Bogey.Title = Bogie menu
Common.Bogey.ContactState = Current collectors state
Common.Bogey.CReleased = Released
Common.Bogey.CPressed = Pressed
Common.Bogey.CPress = Press
Common.Bogey.CRelease = Release
Common.Bogey.ParkingBrakeState = Parking brake state
Common.Bogey.PBDisabled = Manually disabled
Common.Bogey.PBEnabled = Enabled
Common.Bogey.PBEnable = Enable
Common.Bogey.PBDisable = Manual disable
#Trains common
Common.ALL.Unsused1 = Unused
Common.ALL.Unsused2 = (unused)
Common.ALL.Up = (up)
Common.ALL.Down = (down)
Common.ALL.Left = (left)
Common.ALL.Right = (right)
Common.ALL.CW = (clockwise)
Common.ALL.CCW = (counter-clockwise)
Common.ALL.VB = VB: Battery on/off
Common.ALL.VSOSD = SOSD: Station doors opening lamp
Common.ALL.VKF = VKF: Battery power for red lights
Common.ALL.VB2 = (Low voltage circuits)
Common.ALL.VPR = VPR: Train radiostation
Common.ALL.VASNP = ASNP power
Common.ALL.UOS = RC-UOS: Speed Limitation Device (driving w/o EPV/EPK)
Common.ALL.VAH = VAH: Emergency driving mode (failure of RPB relay)
Common.ALL.KAH = KAH: Emergency drive button for driving w/o ARS
Common.ALL.KAHK = KAH button cover
Common.ALL.VAD = VAD: Emergency door close override (failure of KD relay)
Common.ALL.OVT = OVT: Disable pneumatic valves brake
Common.ALL.VOVT = VOVT: Turn off pneumatic valve brakes disabler
Common.ALL.EmergencyBrakeValve = Emergency brake
Common.ALL.ParkingBrake = Parking brake
Common.ALL.VU = VU: Train control switch
Common.ALL.KDP = KDP: Open right doors
Common.ALL.KDPL = Right doors side is selected
Common.ALL.KDPK = Right doors button cover
Common.ALL.KDL = KDL: Open left doors
Common.ALL.KDLL = Left doors side is selected
Common.ALL.KDLK = Left doors button cover
Common.ALL.KDLPK = Door buttons cover
Common.ALL.KRZD = KRZD: Emergency door closing
Common.ALL.VSD = Doors side selector
Common.ALL.Ring = Ring
Common.ALL.VUD = VUD: Door control toggle (close doors)
Common.ALL.KDPH = Open right doors of the last car
Common.ALL.VUD2 = VUD2: Close doors from the helper's side
Common.ALL.Program1 = Program I
Common.ALL.Program2 = Program II
Common.ALL.VRP = VRP: Reset overload relay
Common.ALL.VRPBV = VRP: Reset overload relay, enable BV
Common.ALL.KSN = KSN: Malfunction signalling
Common.ALL.VMK = VMK: Compressor
Common.ALL.MK = Compressor # (without acronym)
Common.ALL.VF1 = 1st headlight group
Common.ALL.VF2 = 2nd headlight group
Common.ALL.VF = Headlights switch
Common.ALL.VUS = VUS: Head lights bright/dim
Common.ALL.GaugeLights = Gauges lighting
Common.ALL.CabLights = Driver's cab lighting
Common.ALL.PassLights = Passenger compartment lighting
Common.ALL.PanelLights = Control panel lighting
Common.ALL.RMK = RMK: Emergency compressor
Common.ALL.KRP = KRP: Emergency start button
Common.ALL.VZP = VZP: Disable drive delay
Common.ALL.VZD = VZD: Disable doors delay
Common.ALL.VAV = VAV: Autodrive switch
Common.ALL.RouteNumber1+ = Increase first digit of the route number
Common.ALL.RouteNumber1- = Decrease first digit of the route number
Common.ALL.RouteNumber2+ = Increase second digit of the route number
Common.ALL.RouteNumber2- = Decrease first digit of the route number
Common.ALL.RouteNumber3+ = Increase third digit of the route number
Common.ALL.RouteNumber3- = Decrease first digit of the route number
Common.ALL.LastStation+ = Next last station
Common.ALL.LastStation- = Previous last station
Common.ALL.RRP = RP: Red overload relay lamp (power circuits failed to assemble)
Common.ALL.GRP = RP: Green overload relay lamp (prevents overcurrent of engines)
Common.ALL.RP = RP: Red overload relay lamp (power circuits failed to assemble or RP activated)
Common.ALL.SN = LSN: Failure indicator light (power circuits failed to assemble)
Common.ALL.PU = Reduced power mode indicator
Common.ALL.BrT = Train pneumobrakes are engaged
Common.ALL.BrW = Wagon pneumobrakes are engaged
Common.ALL.ARS = ARS: Automatic speed regulation
Common.ALL.ARSR = ARS-R: Automatic speed regulation in ARS-R mode
Common.ALL.ALS = ALS: Automatic locomotive signalling
Common.ALL.RCARS = RC-ARS: ARS circuits disconnect # (same as RC-1)
Common.ALL.RC1 = RC-1: ARS circuits disconnect
Common.ALL.EPK = ARS electropneumatic valve (EPK)
Common.ALL.EPV = ARS electropneumatic valve (EPV)
Common.ARS.LN = LN: Direction signal
Common.ARS.KT = KT: Braking control lamp
Common.ARS.VD = VD: Drive mode has turned off by ARS
Common.ARS.Freq = ALS decoder switch
Common.ARS.FreqD = (up 1/5, down 2/6)
Common.ARS.FreqU = (up 2/6, down 1/5)
Common.ARS.VP = "Auxiliary train" mode #FIXME
Common.ARS.RS = RS: Speed equality light (next segment speed limit equal or greater to current)
Common.ARS.AB = Autoblocking ARS mode
Common.ARS.ABButton = Autoblocking ARS mode button
Common.ARS.ABDriver = (driver's)
Common.ARS.ABHelper = (helper's)
Common.ARS.AV = Main ARS-MP unit malfunction
Common.ARS.AV1 = Spare ARS-MP unit malfunction
Common.ARS.AB2 = Autoblocking ARS mode button
Common.ARS.ARS = ARS mode
Common.ARS.LRD = LRD: Move permission (when 0 on ALS)
Common.ARS.VRD = VRD: Allow movement(when 0 on ALS)
Common.ARS.KB = KB: Attention button
Common.ARS.KVT = KVT: Brake perception button
Common.ARS.KVTR = KVT: ARS-R brake perception button
Common.ARS.AO = AO: Absolute stop signal
Common.ARS.04 = OCh: No ARS frequency
Common.ARS.N4 = NCh: No ARS frequency # (same as OCh but NCh)
Common.ARS.0 = 0: ARS stop signal
Common.ARS.40 = Speed limit 40 km/h
Common.ARS.60 = Speed limit 60 km/h
Common.ARS.70 = Speed limit 70 km/h
Common.ARS.80 = Speed limit 80 km/h
Common.ALL.RCBPS = RC-BPS: Anti-Rollback unit
Common.BPS.On = Anti-Rollback unit operation
Common.BPS.Err = Anti-Rollback unit error
Common.BPS.Fail = Anti-Rollback unit malfunction
Commom.NMnUAVA.NMPressureLow = Low train line pressure lamp
Commom.NMnUAVA.UAVATriggered = UAVA contacts are open
Common.ALL.LSD = Train doors state light (doors are closed)
Common.ALL.L1w = 1st wire lamp (drive mode engaged)
Common.ALL.L2w = 2nd wire lamp (rheostat controller motion)
Common.ALL.L6w = 6th wire lamp (brake mode engaged)
Common.ALL.Horn = Horn
Common.ALL.DriverValveBLDisconnect = Brake line disconnect valve
Common.ALL.DriverValveTLDisconnect = Train line disconnect valve
Common.ALL.DriverValveDisconnect = Driver's valve disconnect valve
Common.ALL.KRMH = KRMSH: Driver's valve emergency enable #FIXME
Common.ALL.RVTB = RVTB: Reserved valve of safety brake #FIXME
Common.ALL.FrontBrakeLineIsolationToggle = Brake line isolation valve
Common.ALL.FrontTrainLineIsolationToggle = Train line isolation valve
Common.ALL.RearTrainLineIsolationToggle = Train line isolation valve
Common.ALL.RearBrakeLineIsolationToggle = Brake line isolation valve
Common.ALL.UAVA = UAVA: Enable automatic autostop disabler\n(may be enabled after brake line pressure drop)
Common.ALL.UAVA2 = UAVA: Enable automatic autostop disabler
Common.ALL.UAVAContact = UAVA contacts reset
Common.ALL.OAVU = OAVU: Disable AVU
Common.ALL.LAVU = AVU is activated
Common.ALL.GV = Main switch
Common.ALL.AirDistributor = VRN: Air distributor disabler
Common.ALL.CabinDoor = Door to the driver's cab
Common.ALL.PassDoor = Door to the passenger compartment
Common.ALL.FrontDoor = Front door
Common.ALL.RearDoor = Rear door
Common.ALL.OtsekDoor1 = 1st equipment cupboard handle
Common.ALL.OtsekDoor2 = 2nd equipment cupboard handle
Common.ALL.CouchCap = Pull out the seat
Common.ALL.UNCh = UNCh: Low frequency amplifier
Common.ALL.ES = ES: Emergency communication control
Common.ALL.GCab = Loudspeaker: Sound in the driver's cab
Common.ALL.UPO = UPO: Announcer
Common.ALL.R_Radio = Announcer
Common.ALL.AnnPlay = Announcer playback lamp
#RRI
Train.Common.RRI = RRI: Radio-relay announcer
Common.RRI.RRIUp = RRI: Setup up
Common.RRI.RRIDown = RRI: Setup down
Common.RRI.RRILeft = RRI: Setup left
Common.RRI.RRIRight = RRI: Setup right
Common.RRI.RRIEnableToggle = RRI: Power
Common.RRI.RRIRewindSet2 = RRI: Fast forward
Common.RRI.RRIRewindSet0 = RRI: Rewind
Common.RRI.RRIAmplifierToggle = RRI: Amplifier
Common.RRI.RRIOn = RRI operation lamp
#ASNP
Train.Common.ASNP = ASNP
Common.ASNP.ASNPMenu = ASNP: Menu
Common.ASNP.ASNPUp = ASNP: Up
Common.ASNP.ASNPDown = ASNP: Down
Common.ASNP.ASNPOn = ASNP: Power
#PVK
Common.CabVent.PVK- = Decrease driver's cab ventilation power
Common.CabVent.PVK+ = Increase driver's cab ventilation power
#IGLA
Train.Common.IGLA = IGLA
Common.IGLA.Button1Up = IGLA: First button up
Common.IGLA.Button1 = IGLA: First button
Common.IGLA.Button1Down = IGLA: First button down
Common.IGLA.Button2Up = IGLA: Second button up
Common.IGLA.Button2 = IGLA: Second button
Common.IGLA.Button2Down = IGLA: Second button down
Common.IGLA.Button23 = IGLA: Second and third buttons
Common.IGLA.Button3 = IGLA: Third button
Common.IGLA.Button4 = IGLA: Fourth button
Common.IGLA.IGLASR = IGLA: Power
Common.IGLA.IGLARX = IGLA: No connection
Common.IGLA.IGLAErr = IGLA: Error
Common.IGLA.IGLAOSP = IGLA: Fire-extinguishing system is activated
Common.IGLA.IGLAPI = IGLA: Fire
Common.IGLA.IGLAOff = IGLA: HV circuits off
#BZOS
Common.BZOS.On = Security alarm switch
Common.BZOS.VH1 = Security alarm is enabled
Common.BZOS.VH2 = Security alarm is triggered
Common.BZOS.Engaged = Security alarm is triggered
#Train helpers common
Common.ALL.SpeedCurr = Actual speed #FIXME
Common.ALL.SpeedAccept = Allowed speed
Common.ALL.SpeedAttent = Allowed speed on the next block
Common.ALL.Speedometer = Speedometer
Common.ALL.BLTLPressure = Pressure in pneumatic lines (red: brake line, black: train line)
Common.ALL.BCPressure = Brake cylinder pressure
Common.ALL.EnginesCurrent = Engines current (A)
Common.ALL.EnginesCurrent1 = 1st traction motors current (A)
Common.ALL.EnginesCurrent2 = 2nd traction motors current (A)
Common.ALL.EnginesVoltage = Engines voltage (kV)
Common.ALL.BatteryVoltage = Battery voltage (V)
Common.ALL.BatteryCurrent = Battery current (A)
Common.ALL.HighVoltage = High voltage (kV)
]]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.