local assets = {
  parclose = {
    id = 20,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\")\"",
    name = "parclose",
  },
  four = {
    id = 4,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"4\"",
    name = "four",
  },
  nine = {
    id = 9,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"9\"",
    name = "nine",
  },
  backspace = {
    id = 11,
    content = "local s = shapescape.getSlide()\
s.var.a = string.sub(s.var.a, 1, -2)",
    name = "backspace",
  },
  two = {
    id = 2,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"2\"",
    name = "two",
  },
  one = {
    id = 1,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"1\"",
    name = "one",
  },
  paropen = {
    id = 19,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"(\"",
    name = "paropen",
  },
  minus = {
    id = 13,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"-\"",
    name = "minus",
  },
  mult = {
    id = 15,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"*\"",
    name = "mult",
  },
  zero = {
    id = 10,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"0\"",
    name = "zero",
  },
  dot = {
    id = 17,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\".\"",
    name = "dot",
  },
  updateA = {
    id = 0,
    content = "local s = shapescape.getSlide()\
if not s.var then \
    s.var = {}\
end\
if not s.var.a then\
    s.var.a = \"\"\
end\
self.txt = tostring(s.var.a)",
    name = "updateA",
  },
  div = {
    id = 16,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"/\"",
    name = "div",
  },
  eight = {
    id = 8,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"8\"",
    name = "eight",
  },
  clear = {
    id = 18,
    content = "local s = shapescape.getSlide()\
s.var.a = \"\"",
    name = "clear",
  },
  six = {
    id = 6,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"6\"",
    name = "six",
  },
  mod = {
    id = 21,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"%\"",
    name = "mod",
  },
  plus = {
    id = 14,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"+\"",
    name = "plus",
  },
  equal = {
    id = 23,
    content = "local s = shapescape.getSlide()\
    s.var.a = tostring(s.var.a)\
if s.var.a:match(\"%d\") then\
    local f = loadstring(\"return \"..s.var.a)\
    if f then\
        local ok, res = pcall(f)\
        if ok then\
            s.var.a = tonumber(res)\
        else\
            s.var.a = \"ERROR\"\
        end\
    else\
        s.var.a = \"ERROR\"\
    end\
else\
    s.var.a = \"ERROR\"\
end",
    name = "equal",
  },
  pow = {
    id = 22,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"^\"",
    name = "pow",
  },
  seven = {
    id = 7,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"7\"",
    name = "seven",
  },
  five = {
    id = 5,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"5\"",
    name = "five",
  },
  three = {
    id = 3,
    content = "local s = shapescape.getSlide()\
s.var.a = s.var.a..\"3\"",
    name = "three",
  },
}

local nAssets = {}
for key,value in pairs(assets) do nAssets[key] = value nAssets[assets[key].id] = assets[key] end
assets = nAssets
nAssets = nil

local slides = {
  {
    y = 17,
    x = 29,
    h = 19,
    w = 51,
    objs = {
      {
        txt = "2",
        type = "text",
        color = 128,
        y2 = 13,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 2,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 24,
        y1 = 13,
        x2 = 24,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "3",
        type = "text",
        color = 128,
        y2 = 13,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 3,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 25,
        y1 = 13,
        x2 = 25,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "4",
        type = "text",
        color = 128,
        y2 = 12,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 4,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 23,
        y1 = 12,
        x2 = 23,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "5",
        type = "text",
        color = 128,
        y2 = 12,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 5,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 24,
        y1 = 12,
        x2 = 24,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        color = 128,
        y2 = 12,
        border = {
          color = 0,
          type = 1,
        },
        x1 = 25,
        txt = "6",
        type = "text",
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 6,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        txtcolor = 1,
        input = false,
        x2 = 25,
        snap = {
          Top = "Snap top",
          Right = "Snap left",
          Left = "Snap left",
          Bottom = "Snap top",
        },
        y1 = 12,
      },
      {
        txt = "+",
        type = "text",
        color = 128,
        y2 = 11,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 14,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 27,
        y1 = 11,
        x2 = 27,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "-",
        type = "text",
        color = 128,
        y2 = 12,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 13,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 27,
        y1 = 12,
        x2 = 27,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "*",
        type = "text",
        color = 128,
        y2 = 13,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 15,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 27,
        y1 = 13,
        x2 = 27,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "/",
        type = "text",
        color = 128,
        y2 = 14,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 16,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 27,
        y1 = 14,
        x2 = 27,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "7",
        type = "text",
        color = 128,
        y2 = 13,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 7,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 20,
        y1 = 13,
        x2 = 19,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "9",
        type = "text",
        color = 128,
        y2 = 11,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 9,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 25,
        y1 = 11,
        x2 = 25,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        type = "rect",
        x2 = 7,
        y2 = 19,
        border = {
          color = 0,
          type = 1,
        },
        x1 = 1,
        y1 = 1,
        color = 128,
        snap = {
          Top = "Snap top",
          Right = "Snap left",
          Left = "Snap left",
          Bottom = "Snap top",
        },
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
      },
      {
        type = "rect",
        color = 128,
        y2 = 19,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 44,
        border = {
          color = 0,
          type = 1,
        },
        y1 = 9,
        x2 = 51,
      },
      {
        type = "rect",
        color = 128,
        y2 = 8,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 8,
        border = {
          color = 0,
          type = 1,
        },
        y1 = 1,
        x2 = 51,
      },
      {
        type = "rect",
        color = 128,
        y2 = 19,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 8,
        border = {
          color = 0,
          type = 1,
        },
        y1 = 10,
        x2 = 22,
      },
      {
        type = "rect",
        color = 128,
        y2 = 20,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 5,
        border = {
          color = 0,
          type = 1,
        },
        y1 = 16,
        x2 = 6,
      },
      {
        type = "rect",
        color = 128,
        y2 = 10,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 23,
        border = {
          color = 0,
          type = 1,
        },
        y1 = 10,
        x2 = 43,
      },
      {
        type = "rect",
        color = 128,
        y2 = 19,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 33,
        border = {
          color = 0,
          type = 1,
        },
        y1 = 11,
        x2 = 43,
      },
      {
        type = "rect",
        color = 128,
        y2 = 15,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 26,
        border = {
          color = 0,
          type = 1,
        },
        y1 = 11,
        x2 = 26,
      },
      {
        x2 = 43,
        y2 = 9,
        y1 = 9,
        x1 = 8,
        txt = "",
        type = "text",
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = 0,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        txtcolor = 1,
        input = false,
        color = 256,
        snap = {
          Top = "Snap top",
          Right = "Snap left",
          Left = "Snap left",
          Bottom = "Snap top",
        },
        border = {
          color = 0,
          type = 1,
        },
      },
      {
        txt = "0",
        type = "text",
        color = 128,
        y2 = 14,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 10,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 23,
        y1 = 14,
        x2 = 23,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = ".",
        type = "text",
        color = 128,
        y2 = 14,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 25,
        y1 = 14,
        x2 = 25,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        x2 = 25,
        y2 = 15,
        y1 = 15,
        x1 = 25,
        txt = "X",
        type = "text",
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 11,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        txtcolor = 1,
        input = false,
        color = 128,
        snap = {
          Top = "Snap top",
          Right = "Snap left",
          Left = "Snap left",
          Bottom = "Snap top",
        },
        border = {
          color = 0,
          type = 1,
        },
      },
      {
        txt = "=",
        type = "text",
        color = 128,
        y2 = 15,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 23,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 27,
        y1 = 15,
        x2 = 27,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "C",
        type = "text",
        color = 128,
        y2 = 15,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 18,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 23,
        y1 = 15,
        x2 = 23,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        type = "rect",
        color = 128,
        y2 = 15,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 24,
        y1 = 14,
        x2 = 24,
        border = {
          color = 0,
          type = 1,
        },
      },
      {
        txt = "7",
        type = "text",
        color = 128,
        y2 = 11,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 7,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 23,
        y1 = 11,
        x2 = 23,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "8",
        type = "text",
        color = 128,
        y2 = 11,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 8,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 24,
        y1 = 11,
        x2 = 24,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        x2 = 23,
        y2 = 13,
        y1 = 13,
        x1 = 23,
        txt = "1",
        type = "text",
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        txtcolor = 1,
        input = false,
        color = 128,
        snap = {
          Top = "Snap top",
          Right = "Snap left",
          Left = "Snap left",
          Bottom = "Snap top",
        },
        border = {
          color = 0,
          type = 1,
        },
      },
      {
        txt = "(",
        type = "text",
        color = 128,
        y2 = 11,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 19,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 28,
        y1 = 11,
        x2 = 28,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = ")",
        type = "text",
        color = 128,
        y2 = 11,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 20,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 29,
        y1 = 11,
        x2 = 29,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "^",
        type = "text",
        color = 128,
        y2 = 12,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 22,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 28,
        y1 = 12,
        x2 = 28,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        txt = "%",
        type = "text",
        color = 128,
        y2 = 13,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = 21,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 28,
        y1 = 13,
        x2 = 28,
        border = {
          color = 0,
          type = 1,
        },
        input = false,
        txtcolor = 1,
      },
      {
        type = "rect",
        color = 128,
        y2 = 19,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 23,
        y1 = 16,
        x2 = 32,
        border = {
          color = 0,
          type = 1,
        },
      },
      {
        type = "rect",
        color = 128,
        y2 = 15,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 30,
        y1 = 11,
        x2 = 32,
        border = {
          color = 0,
          type = 1,
        },
      },
      {
        type = "rect",
        color = 128,
        y2 = 15,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 29,
        y1 = 12,
        x2 = 29,
        border = {
          color = 0,
          type = 1,
        },
      },
      {
        type = "rect",
        color = 128,
        y2 = 15,
        event = {
          mouse_up = {
            [ 2 ] = -1,
          },
          mouse_click = {
            [ 2 ] = -1,
          },
          Initialize = {
            [ 2 ] = -1,
          },
          selected = {
            [ 2 ] = -1,
          },
          update = {
            [ 2 ] = -1,
          },
          Coroutine = {
            [ 2 ] = -1,
          },
        },
        x1 = 28,
        y1 = 14,
        x2 = 28,
        border = {
          color = 0,
          type = 1,
        },
      },
    },
    c = 1,
  },
}

for s=1,#slides do
		local slide = slides[s]
		for o=1,#slide.objs do
			local obj = slide.objs[o]
			for key,value in pairs(obj.event) do
				if assets[ value[2] ] then
					lUtils.shapescape.addScript(obj,value[2],key,assets,LevelOS,slides)
				else
					obj.event[key] = {function() end,-1}
				end
			end
		end
	end

		local tArgs = {...}
	if tArgs[1] and tArgs[1] == "load" then
		return {assets=assets,slides=slides}
	end

	
	lUtils.shapescape.run(slides)